/* BarbadosNews Crypto Calculators UI v3.7.0. Scoped: no site-wide or Academy layout overrides. */
.bn-tools-page {
  --bnt-bg:#171e29;
  --bnt-panel:#222c3a;
  --bnt-panel-2:#19232f;
  --bnt-outline:rgba(176,196,222,.20);
  --bnt-gold:#ffcf6b;
  --bnt-cyan:#87e4dc;
  --bnt-green:#81e4bc;
  --bnt-muted:#b7c3d1;
  color:#f8fafc;
}
.bn-tools-page h1,.bn-tools-page h2,.bn-tools-page strong {text-shadow:none;}
.bn-tools-page a {text-decoration:none;}
.bn-tools-hero {
  display:grid;grid-template-columns:minmax(0,1fr) 214px;gap:28px;align-items:center;
  padding:clamp(26px,4vw,44px);border:1px solid var(--bnt-outline);border-radius:22px;
  background:radial-gradient(circle at 91% 25%,rgba(242,180,71,.11),transparent 40%),
    linear-gradient(118deg,#233044 0%,#1d2837 45%,#171f2a 100%);
  box-shadow:0 20px 48px rgba(0,0,0,.12);
  margin:18px 0 34px;position:relative;overflow:hidden;
}
.bn-tools-hero::before{content:"";position:absolute;left:0;top:16%;bottom:16%;width:3px;border-radius:0 10px 10px 0;background:linear-gradient(#ffe49b,#f1a741);}
.bn-tools-hero-content{min-width:0;position:relative;z-index:1}
.bn-tools-page .bn-academy-micro{display:flex;align-items:center;gap:8px;color:#f9cc78;letter-spacing:.13em;font-size:11px;font-weight:800;text-transform:uppercase;line-height:1.4}
.bn-tools-micro-dot{height:6px;width:6px;border-radius:50%;background:var(--bnt-gold);box-shadow:0 0 0 3px rgba(255,207,107,.11);flex-shrink:0;}
.bn-tools-hero h1{font-weight:800;color:#fff;font-size:clamp(30px,3.5vw,43px);line-height:1.13;margin:13px 0 15px;letter-spacing:-.038em;max-width:870px;text-wrap:balance;}
.bn-tools-hero p{color:#d4deeb;max-width:730px;line-height:1.65;font-size:15.5px;margin:0 0 18px;}
.bn-tools-hero-features{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 6px;}
.bn-tools-hero-features span{border:1px solid rgba(178,199,225,.20);background:rgba(255,255,255,.04);color:#e6edf6;border-radius:50px;padding:7px 11px;font-size:11px;font-weight:680;}
.bn-tools-back{display:inline-flex;align-items:center;color:var(--bnt-gold)!important;font-size:13px;font-weight:750;margin-top:18px;transition:color .15s ease;}
.bn-tools-back:hover,.bn-tools-back:focus-visible{color:#fff!important;}
.bn-tools-hero-visual{min-height:160px;display:flex;flex-direction:column;justify-content:space-between;align-items:center;gap:14px;border:1px solid rgba(185,200,221,.16);border-radius:21px;padding:20px;background:radial-gradient(circle at 50% 10%,rgba(242,187,91,.17),transparent 75%),rgba(11,20,32,.32);box-shadow:inset 0 1px rgba(255,255,255,.05);}
.bn-tools-vis-label{font-size:10px;letter-spacing:.14em;color:#abb9c9;font-weight:750;white-space:nowrap;}
.bn-tools-vis-icons{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;width:100%;}
.bn-tools-vis-icons span{border-radius:10px;aspect-ratio:1;background:rgba(249,191,89,.10);border:1px solid rgba(255,206,122,.25);display:grid;place-items:center;color:var(--bnt-gold);}
.bn-tools-vis-icons .bn-tools-svg{width:20px;height:20px;}
.bn-tools-vis-bars{height:34px;width:100%;display:flex;gap:6px;align-items:flex-end;}
.bn-tools-vis-bars i{flex:1;max-height:100%;height:var(--h,48%);border-radius:4px 4px 0 0;background:linear-gradient(0deg,rgba(120,209,200,.28),rgba(120,209,200,.87));}
.bn-tools-vis-bars i:nth-child(2){--h:68%}.bn-tools-vis-bars i:nth-child(3){--h:40%}.bn-tools-vis-bars i:nth-child(4){--h:83%}.bn-tools-vis-bars i:nth-child(5){--h:58%}.bn-tools-vis-bars i:nth-child(6){--h:100%}.bn-tools-vis-bars i:nth-child(7){--h:71%}.bn-tools-vis-bars i:nth-child(8){--h:89%}.bn-tools-vis-bars i:nth-child(9){--h:64%}
.bn-tools-hero-single-icon{width:104px;height:104px;display:grid;place-items:center;border-radius:28px;border:1px solid rgba(255,211,138,.24);background:linear-gradient(140deg,rgba(255,207,107,.15),rgba(255,207,107,.03));color:var(--bnt-gold);box-shadow:0 12px 40px rgba(0,0,0,.19);}
.bn-tools-hero-single-icon .bn-tools-svg{width:58px;height:58px;stroke-width:1.35px;}
.bn-tools-svg{display:block;width:26px;height:26px;flex:none;stroke:currentColor;}
.bn-tools-list h2,.bn-tools-related h2,.bn-tools-info h2{font-weight:790;letter-spacing:-.025em;font-size:clamp(22px,2.8vw,29px);color:#fff;margin:0 0 19px;line-height:1.26;}
.bn-tools-section-intro{display:flex;align-items:end;justify-content:space-between;gap:24px;margin:0 0 18px;}
.bn-tools-section-intro h2{margin:6px 0 0;}
.bn-tools-section-intro>p{max-width:365px;margin:0 0 3px;color:var(--bnt-muted);line-height:1.55;font-size:13px;}
.bn-tools-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0 0 29px;}
.bn-tools-card{display:flex;flex-direction:column;align-items:stretch;gap:0;position:relative;min-width:0;min-height:248px;
 padding:23px 23px 21px;border-radius:18px;border:1px solid var(--bnt-outline);
 background:linear-gradient(160deg,#293445 0%,#212b3a 72%,#1e2734 100%);color:#d6deea!important;
 text-decoration:none!important;overflow:hidden;isolation:isolate;
 transition:border-color .2s,transform .2s,box-shadow .2s;}
.bn-tools-card::after{content:"";height:78px;width:78px;border-radius:50%;position:absolute;right:-39px;top:-41px;background:rgba(245,191,85,.05);pointer-events:none;}
.bn-tools-card:hover,.bn-tools-card:focus-visible{border-color:rgba(255,207,107,.68);transform:translateY(-4px);box-shadow:0 16px 36px rgba(0,0,0,.18);outline:none;}
.bn-tools-card-top{display:flex;justify-content:space-between;align-items:flex-start;gap:9px;margin:0 0 17px;}
.bn-tools-icon{width:51px;height:51px;display:grid;place-items:center;border-radius:14px;background:linear-gradient(145deg,rgba(255,207,107,.19),rgba(255,207,107,.07));border:1px solid rgba(255,207,107,.22);color:var(--bnt-gold);}
.bn-tools-card-tag{background:rgba(135,228,220,.09);border:1px solid rgba(135,228,220,.16);border-radius:20px;padding:5px 9px;font-size:9px;letter-spacing:.075em;white-space:nowrap;color:#b2e8df;font-weight:750;}
.bn-tools-card-eyebrow{font-size:11px;line-height:1.4;text-transform:uppercase;letter-spacing:.075em;color:var(--bnt-gold);font-weight:740;margin:0 0 8px;}
.bn-tools-card strong{font-size:18px;line-height:1.32;color:#f8fafc!important;font-weight:780;margin:0 0 10px;text-wrap:pretty;}
.bn-tools-card-desc{font-size:13px;line-height:1.58;color:#c7d2e1!important;flex:1;}
.bn-tools-card-link{display:flex;justify-content:space-between;align-items:center;gap:6px;padding-top:18px;margin-top:auto;color:var(--bnt-gold);font-size:12px;font-weight:780;}
.bn-tools-card-arrow{border-radius:50%;width:30px;height:30px;display:grid;place-items:center;background:rgba(255,206,114,.13);border:1px solid rgba(255,206,114,.22);font-size:18px;transition:transform .2s;}
.bn-tools-card:hover .bn-tools-card-arrow{transform:translateX(3px);}
.bn-tools-app{background:linear-gradient(155deg,#253141,#222c3a);border:1px solid var(--bnt-outline);border-radius:20px;padding:clamp(20px,3.4vw,32px);margin:0 0 29px;box-shadow:0 15px 34px rgba(0,0,0,.10);}
.bn-tools-app-heading{display:flex;gap:20px;align-items:flex-start;justify-content:space-between;margin:0 0 25px;}
.bn-tools-app-heading h2{font-size:clamp(23px,2.8vw,29px);color:#fff;font-weight:780;letter-spacing:-.022em;margin:8px 0 7px;}
.bn-tools-app-intro{font-size:13px;margin:0;color:var(--bnt-muted);line-height:1.45;}
.bn-tools-free{color:#b6edda;font-size:11px;white-space:nowrap;border:1px solid rgba(105,206,164,.28);background:rgba(73,178,134,.10);padding:8px 11px;border-radius:50px;font-weight:700;}
.bn-tools-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 18px;}
.bn-tools-field{display:flex;flex-direction:column;gap:9px;font-size:13px;font-weight:650;color:#e5ecf5;min-width:0;}
.bn-tools-field-name,.bn-tools-field>span:first-child{font-size:12.5px;color:#e7edf6;font-weight:750;}
.bn-tools-input-wrap{display:flex;position:relative;align-items:center;}
.bn-tools-field input,.bn-tools-field select{width:100%;min-width:0;border:1px solid #576579;border-radius:11px;background:#151e2a;color:#f8fafc;padding:13px 14px;font-size:17px;line-height:1.3;height:53px;box-shadow:inset 0 1px 2px rgba(0,0,0,.08);transition:border-color .15s ease,box-shadow .15s ease;}
.bn-tools-field .bn-tools-input-wrap input{padding-right:78px;}
.bn-tools-field select{appearance:auto;padding-right:20px;}
.bn-tools-field input:focus,.bn-tools-field select:focus{border-color:#ffca69;outline:none;box-shadow:0 0 0 3px rgba(255,207,107,.17);}
.bn-tools-field input::placeholder{color:#8d9caf;font-size:13px;}
.bn-tools-field-unit{position:absolute;right:13px;color:#a3b1c4;background:rgba(100,130,160,.10);border-radius:6px;padding:4px 7px;font-size:11px;font-weight:800;pointer-events:none;white-space:nowrap;}
.bn-tools-field-unit:empty{display:none}
.bn-tools-actions{display:flex;gap:18px;align-items:center;flex-wrap:wrap;margin-top:21px;}
.bn-tools-submit{border:0!important;border-radius:11px;background:linear-gradient(135deg,#ffdc88,#ffbf57);color:#192231!important;font-weight:800;font-size:14px;padding:15px 22px;min-height:49px;cursor:pointer;box-shadow:0 7px 18px rgba(241,175,70,.13);transition:filter .16s,transform .16s;}
.bn-tools-submit:hover,.bn-tools-submit:focus-visible{filter:brightness(1.05);transform:translateY(-1px);outline:2px solid rgba(255,207,107,.3);outline-offset:2px;}
.bn-tools-live{display:inline-flex;align-items:center;gap:8px;color:#aebdca;font-size:11.5px;}
.bn-tools-live-dot{width:7px;height:7px;background:#81e4bc;box-shadow:0 0 0 3px rgba(129,228,188,.09);border-radius:50%;}
.bn-tools-output{margin-top:25px;border:1px solid rgba(132,168,196,.26);border-radius:16px;padding:clamp(19px,2.6vw,26px);background:radial-gradient(circle at 95% -40%,rgba(89,171,165,.12),transparent 42%),#17232e;position:relative;overflow:hidden;}
.bn-tools-output[data-status="error"]{border-color:#b66d6d;background:#302228;}
.bn-tools-output>p:first-child{margin:0;color:var(--bnt-muted);}
.bn-tools-result-caption{font-size:10px;text-transform:uppercase;letter-spacing:.14em;color:#c4d4df;font-weight:750;margin:0 0 9px;}
.bn-tools-result-main{display:block;font-size:clamp(27px,3.5vw,43px);font-weight:800;letter-spacing:-.03em;line-height:1.2;color:#89e9c7;overflow-wrap:anywhere;margin:0 0 15px;}
.bn-tools-output.bn-tools-negative .bn-tools-result-main{color:#ffa1a1;}
.bn-tools-result-row{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:11px 0;border-top:1px solid rgba(151,174,196,.18);font-size:13px;line-height:1.4;}
.bn-tools-result-row span{color:#b6c6d8;}.bn-tools-result-row strong{color:#fafcff;text-align:right;overflow-wrap:anywhere;font-weight:760;}
.bn-tools-result-note{margin:17px 0 0;font-size:11.5px;line-height:1.6;color:#bdccd9;background:rgba(161,187,208,.06);padding:11px 13px;border-left:2px solid #f9c568;border-radius:0 7px 7px 0;}
.bn-tools-error{color:#ffc2c2;font-weight:750;margin:0;}
.bn-tools-mini-bars{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin:2px 0 21px;}
.bn-tools-mini-bars>div{min-width:0;}
.bn-tools-mini-label{font-size:11px;color:#bed0df;display:flex;justify-content:space-between;margin-bottom:6px;gap:6px;}
.bn-tools-mini-track{height:9px;border-radius:20px;background:rgba(255,255,255,.09);overflow:hidden;}
.bn-tools-mini-track i{display:block;height:100%;width:var(--pct,50%);border-radius:20px;background:linear-gradient(90deg,#ffce72,#ffe6a9);}
.bn-tools-mini-bars>div:nth-child(2) .bn-tools-mini-track i{background:linear-gradient(90deg,#72c9c0,#9ff0cf)}
.bn-tools-info{background:linear-gradient(150deg,#202a37,#1b2430);border:1px solid var(--bnt-outline);border-radius:18px;padding:clamp(21px,3vw,30px);margin:28px 0;}
.bn-tools-info p{font-size:14px;line-height:1.8;color:#d1dcea;margin:0 0 15px;}
.bn-tools-info strong{color:#fff;}.bn-tools-info a{color:var(--bnt-gold)!important;}
.bn-tools-related{margin:35px 0;}.bn-tools-grid-compact .bn-tools-card{padding:20px;min-height:220px;}
.bn-tools-in-academy{padding:24px;background:#1b2632;border:1px solid var(--bnt-outline);border-radius:16px;}
.bn-tools-in-academy .bn-academy-section-head{display:flex;gap:18px;justify-content:space-between;align-items:center;}
.bn-tools-in-academy .bn-tools-grid{margin-top:18px;}
.bn-tools-more{display:inline-block;color:var(--bnt-gold)!important;font-size:14px;font-weight:700;text-decoration:none!important;}
.bn-tools-in-academy .bn-tools-grid-compact .bn-tools-card strong{font-size:17px;}
@media(max-width:900px){.bn-tools-hero{grid-template-columns:minmax(0,1fr) 160px;gap:14px;}.bn-tools-hero-visual{min-height:146px;padding:14px;}.bn-tools-card{padding:19px;}.bn-tools-card-tag{display:none;}}
@media(max-width:780px){.bn-tools-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.bn-tools-hero-visual{display:none;}.bn-tools-hero{grid-template-columns:1fr;}.bn-tools-section-intro{align-items:flex-start;flex-direction:column;gap:8px;}.bn-tools-section-intro>p{max-width:none;}.bn-tools-app-heading{flex-direction:column;gap:12px;}}
@media(max-width:570px){.bn-tools-grid,.bn-tools-field-grid{grid-template-columns:1fr;}.bn-tools-hero{padding:25px 19px;}.bn-tools-hero h1{font-size:32px;}.bn-tools-card{min-height:215px;}.bn-tools-field input,.bn-tools-field select{font-size:16px;}.bn-tools-result-row{flex-wrap:wrap;gap:5px;}.bn-tools-result-row strong{text-align:left;width:100%;}.bn-tools-mini-bars{grid-template-columns:1fr;}.bn-tools-free{white-space:normal;}.bn-tools-submit{width:100%;}.bn-tools-in-academy .bn-academy-section-head{align-items:flex-start;flex-direction:column;}}
@media(prefers-reduced-motion:reduce){.bn-tools-card,.bn-tools-card-arrow,.bn-tools-submit{transition:none!important}.bn-tools-card:hover,.bn-tools-submit:hover{transform:none}.bn-tools-card:hover .bn-tools-card-arrow{transform:none}}

.bn-tools-copy{display:inline-flex;align-items:center;justify-content:center;margin-top:17px;background:rgba(118,174,177,.10)!important;color:#c9f4e9!important;border:1px solid rgba(142,214,195,.34)!important;border-radius:9px;padding:10px 14px;font-size:12px;font-weight:750;cursor:pointer;}
.bn-tools-copy:hover,.bn-tools-copy:focus-visible{border-color:#b5ebd9!important;background:rgba(118,174,177,.18)!important;}
/* Keep the tool immediately accessible: calculator detail hero is shorter than catalog hero. */
.bn-tools-hero-detail{padding:clamp(22px,2.6vw,31px);margin-bottom:25px;}
.bn-tools-hero-detail .bn-tools-hero-visual{min-height:140px;}
.bn-tools-hero-detail .bn-tools-hero-single-icon{width:92px;height:92px;border-radius:23px;}
.bn-tools-hero-detail .bn-tools-hero-single-icon .bn-tools-svg{width:53px;height:53px;}
@media(max-width:570px){
 .bn-tools-hero-detail{padding:20px 18px;margin-bottom:22px;}
 .bn-tools-hero-detail h1{font-size:29px;line-height:1.11;margin:11px 0 12px;}
 .bn-tools-hero-detail p{font-size:14px;line-height:1.52;margin-bottom:13px;}
 .bn-tools-hero-detail .bn-tools-hero-features span:last-child{display:none;}
 .bn-tools-hero-detail .bn-tools-back{margin-top:12px;}
}

/* SEO guide modules 3.8.0: editorial guidance below the tool, no layout changes elsewhere. */
.bn-tools-page .bn-tools-seo-nav{display:flex;gap:10px 17px;flex-wrap:wrap;align-items:center;padding:16px 19px;margin:25px 0 17px;border:1px solid rgba(184,206,230,.20);border-radius:14px;background:#1d2a38;color:#d4e0ee;font-size:13px;line-height:1.55}
.bn-tools-page .bn-tools-seo-nav strong{color:#fff;margin-right:3px;font-weight:770}
.bn-tools-page .bn-tools-seo-nav a{color:#f9cf81!important;text-decoration:underline;text-underline-offset:4px;text-decoration-color:rgba(249,207,129,.40)}
.bn-tools-page .bn-tools-seo{display:grid;gap:18px;margin:25px 0 33px}
.bn-tools-page .bn-tools-seo>section,.bn-tools-page .bn-tools-seo>.bn-seo-intro{min-width:0;padding:clamp(21px,2.7vw,31px);border:1px solid rgba(174,200,225,.20);border-radius:17px;background:linear-gradient(155deg,#222d3a,#1a2532)}
.bn-tools-page .bn-tools-seo>.bn-seo-intro{background:radial-gradient(circle at 100% 0%,rgba(255,208,122,.10),transparent 40%),#233040}
.bn-tools-page .bn-tools-seo h2{font-size:clamp(20px,2.4vw,26px);line-height:1.3;color:#fff;margin:0 0 17px;letter-spacing:-.02em;font-weight:790}
.bn-tools-page .bn-tools-seo h3{font-size:16px;line-height:1.45;color:#f7fafc;margin:23px 0 7px;font-weight:720}
.bn-tools-page .bn-tools-seo p,.bn-tools-page .bn-tools-seo li{color:#d4e0ed;font-size:14.5px;line-height:1.83}
.bn-tools-page .bn-tools-seo p{margin:0 0 15px}.bn-tools-page .bn-tools-seo p:last-child{margin-bottom:0}
.bn-tools-page .bn-tools-seo strong{color:#fff}
.bn-tools-page .bn-tools-seo em{color:#e4e8ed}
.bn-tools-page .bn-tools-seo ol,.bn-tools-page .bn-tools-seo ul{margin:5px 0 14px 0;padding-left:23px}
.bn-tools-page .bn-tools-seo li{margin:0 0 9px;padding-left:4px}
.bn-tools-page .bn-tools-seo a{color:#ffd58e!important;text-decoration:underline;text-underline-offset:3px;text-decoration-color:rgba(255,213,142,.4);font-weight:620}
.bn-tools-page .bn-tools-seo a:hover,.bn-tools-page .bn-tools-seo a:focus-visible{color:#fff!important;text-decoration-color:#fff}
.bn-tools-page .bn-seo-equation{overflow-wrap:anywhere;background:#151e29;border:1px solid rgba(153,187,221,.24);border-left:3px solid #f0bc60;border-radius:7px;padding:14px 16px;margin:13px 0;color:#dff3f3;font-weight:700;font-size:14px;line-height:1.65;font-variant-numeric:tabular-nums}
.bn-tools-page .bn-seo-table-wrap{max-width:100%;overflow-x:auto;margin:14px 0 21px;border:1px solid rgba(168,191,214,.22);border-radius:11px}
.bn-tools-page .bn-seo-table-wrap table{border:0;margin:0;width:100%;min-width:500px;border-collapse:collapse;background:#172330;color:#e9f0f8;font-size:13px;line-height:1.5}
.bn-tools-page .bn-seo-table-wrap caption{caption-side:top;text-align:left;background:#293747;padding:12px 15px;color:#fff;font-weight:700}
.bn-tools-page .bn-seo-table-wrap th,.bn-tools-page .bn-seo-table-wrap td{border:0;border-bottom:1px solid rgba(168,191,214,.17);padding:11px 13px;text-align:left;vertical-align:top}
.bn-tools-page .bn-seo-table-wrap th{color:#ffe0a0;font-size:12px;background:#263344}
.bn-tools-page .bn-seo-table-wrap tr:last-child td{border-bottom:0}
.bn-tools-page .bn-seo-table-wrap tbody tr:nth-child(even){background:rgba(255,255,255,.025)}
.bn-tools-page .bn-seo-faq h3:first-child{margin-top:0}
.bn-tools-page .bn-seo-faq h3{padding-top:16px;border-top:1px solid rgba(160,183,210,.17)}
.bn-tools-page .bn-seo-faq h3:first-child{padding-top:0;border-top:0}
.bn-tools-page .bn-seo-sources{border-left:3px solid #7dd6c0!important}
@media(max-width:570px){.bn-tools-page .bn-tools-seo-nav{padding:14px;gap:9px 14px}.bn-tools-page .bn-tools-seo>section,.bn-tools-page .bn-tools-seo>.bn-seo-intro{padding:19px 16px}.bn-tools-page .bn-tools-seo p,.bn-tools-page .bn-tools-seo li{font-size:14px}.bn-tools-page .bn-tools-seo h2{font-size:21px}.bn-tools-page .bn-seo-table-wrap table{min-width:430px;font-size:12px}}


/* BarbadosNews Fintech editorial layout v3.9.0 — section-scoped, preserves calculations and SEO HTML. */
@media (min-width: 981px) {
 .bn-tools-page .bn-academy-shell {max-width:1200px;}
}
.bn-tools-page{--bnt-gold:#f4c76b;--bnt-cyan:#8cded7;--bnt-muted:#aeb9c7;--bnt-panel:#1e2937;}
.bn-tools-page .bn-academy-breadcrumb{font-size:12px;margin:0 0 6px;opacity:.86}
.bn-tools-page .bn-tools-hero{background:none;border:0;border-bottom:1px solid rgba(160,185,217,.19);border-radius:0;box-shadow:none;padding:14px 0 25px;margin:0 0 24px;gap:0;display:block;overflow:visible}
.bn-tools-page .bn-tools-hero::before{display:none}
.bn-tools-page .bn-tools-hero h1{font-size:clamp(31px,3.8vw,50px);letter-spacing:-.045em;line-height:1.11;margin:12px 0 12px;max-width:940px}
.bn-tools-page .bn-tools-hero p{font-size:clamp(14px,1.4vw,17px);line-height:1.62;color:#aebed0;margin:0;max-width:750px}
.bn-tools-page .bn-tools-hero-features{margin:13px 0 0;gap:13px 20px}
.bn-tools-page .bn-tools-hero-features span{background:transparent;border:0;padding:0;color:#9fafbd;font-size:12px;font-weight:600;position:relative}
.bn-tools-page .bn-tools-hero-features span::before{content:'✓';color:#85dbbe;margin-right:7px}
.bn-tools-page .bn-tools-hero-visual{display:none}
.bn-tools-page .bn-tools-app{position:relative;overflow:visible;background:#1c2735;border:1px solid rgba(186,205,231,.16);box-shadow:0 20px 48px rgba(0,0,0,.12);padding:0;border-radius:19px;margin:0 0 34px}
.bn-tools-page .bn-tools-app-heading{margin:0;padding:21px 27px 19px;border-bottom:1px solid rgba(169,194,220,.13);align-items:center;gap:13px}
.bn-tools-page .bn-tools-app-heading h2{font-size:clamp(20px,2vw,25px);margin:5px 0 4px}
.bn-tools-page .bn-tools-app-heading .bn-academy-micro{font-size:10px;color:#ffcd73}
.bn-tools-page .bn-tools-free{background:rgba(126,207,177,.08);border-color:rgba(130,211,185,.23);font-size:11px;padding:7px 11px}
.bn-tools-page .bn-tools-form,
.bnct-page .bnct-app{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(300px,.83fr);grid-template-areas:'fields output' 'actions output' 'source output';align-items:start;gap:0 26px;padding:27px}
.bn-tools-page .bn-tools-field-grid{grid-area:fields;grid-template-columns:repeat(2,minmax(0,1fr));gap:21px 16px;align-content:start}
.bn-tools-page .bn-tools-field-name,.bn-tools-page .bn-tools-field>span:first-child{color:#c9d5e3;font-size:12px;font-weight:660}
.bn-tools-page .bn-tools-field input,.bn-tools-page .bn-tools-field select{background:#121b28;border:1px solid #46566b;border-radius:10px;color:#fff;min-height:54px;font-size:17px;box-shadow:none}
.bn-tools-page .bn-tools-field input:hover,.bn-tools-page .bn-tools-field select:hover{border-color:#7892ad}
.bn-tools-page .bn-tools-actions{grid-area:actions;margin-top:23px;gap:10px;flex-direction:column;align-items:start}
.bn-tools-page .bn-tools-submit{box-shadow:none;min-height:48px;background:#f7cc74!important;color:#1a2431!important;border-radius:10px;font-size:14px}
.bn-tools-page .bn-tools-submit:hover{background:#ffde98!important}
.bn-tools-page .bn-tools-live{font-size:11px;color:#8698ae}
.bn-tools-page .bn-tools-output{grid-area:output;align-self:stretch;min-width:0;margin:0;background:linear-gradient(165deg,#13222e,#10202b);border:1px solid rgba(124,200,187,.25);border-radius:15px;padding:clamp(20px,2.7vw,30px);box-shadow:inset 0 1px rgba(255,255,255,.025)}
.bn-tools-page .bn-tools-result-main{font-size:clamp(28px,3.4vw,44px);line-height:1.1;margin-bottom:23px;color:#93ebce}
.bn-tools-page .bn-tools-result-row{padding:12px 0;border-color:rgba(168,194,218,.13);font-size:12.5px}
.bn-tools-page .bn-tools-mini-bars{gap:15px;margin-bottom:24px;grid-template-columns:1fr}
.bn-tools-page .bn-tools-mini-label{font-size:11px}
.bn-tools-page .bn-tools-mini-track{height:6px}
.bn-tools-page .bn-tools-result-note{background:transparent;border-left:2px solid #e7bf6e;padding:5px 0 5px 12px;color:#acbecb;font-size:11.5px}
.bn-tools-page .bn-tools-copy{background:transparent!important;border:1px solid rgba(143,208,201,.34)!important;color:#b8e6dc!important}
/* Documentation reads like a real editorial article, not 7 repeated cards. */
.bn-tools-page .bn-tools-learning-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:40px;align-items:start;margin:25px 0 42px}
.bn-tools-page .bn-tools-seo-nav{position:sticky;top:28px;display:flex;flex-direction:column;align-items:stretch;gap:2px;border:0;background:transparent;border-left:1px solid rgba(174,199,224,.25);border-radius:0;padding:0 0 0 17px;margin:0;box-shadow:none;min-width:0}
.bn-tools-page .bn-tools-seo-nav strong{color:#f5f7fc;font-size:12px;text-transform:uppercase;letter-spacing:.08em;margin-bottom:10px}
.bn-tools-page .bn-tools-seo-nav a{padding:10px 6px;border-radius:6px;color:#b6c5d7!important;text-decoration:none!important;font-size:12.5px;line-height:1.4;transition:background .2s,color .2s}
.bn-tools-page .bn-tools-seo-nav a:hover,.bn-tools-page .bn-tools-seo-nav a:focus-visible{background:rgba(245,199,107,.09);color:#ffd78c!important;outline-offset:2px}
.bn-tools-page .bn-tools-seo{display:block;margin:0;min-width:0;max-width:790px}
.bn-tools-page .bn-tools-seo>section,.bn-tools-page .bn-tools-seo>.bn-seo-intro{min-width:0;margin:0;padding:30px 0 32px;border:0;border-bottom:1px solid rgba(177,200,224,.16);border-radius:0;background:transparent!important;box-shadow:none}
.bn-tools-page .bn-tools-seo>.bn-seo-intro{margin:0 0 7px;padding:26px 28px;background:linear-gradient(130deg,#222d3c,#1b2937)!important;border:1px solid rgba(180,206,227,.19);border-left:3px solid #f2c86f;border-radius:14px}
.bn-tools-page .bn-tools-seo>section.bn-seo-sources{border:0;border-left:0!important;padding:24px 0 0}
.bn-tools-page .bn-tools-seo h2{font-size:clamp(23px,2.2vw,30px);font-weight:770;letter-spacing:-.035em;line-height:1.23;margin:0 0 18px}
.bn-tools-page .bn-tools-seo h3{font-size:16px;margin:23px 0 7px}
.bn-tools-page .bn-tools-seo p,.bn-tools-page .bn-tools-seo li{color:#b7c5d4;font-size:15px;line-height:1.83}
.bn-tools-page .bn-tools-seo strong{color:#ecf2fa}
.bn-tools-page .bn-tools-seo p{margin:0 0 15px}
.bn-tools-page .bn-tools-seo a{color:#f8ce80!important;text-underline-offset:4px}
.bn-tools-page .bn-seo-equation{border:0;border-left:3px solid #e5b957;border-radius:0 10px 10px 0;padding:17px 22px;background:#1b2b3b;margin:12px 0;font-size:14px;font-family:ui-monospace,SFMono-Regular,Consolas,'Liberation Mono',monospace;font-weight:600;line-height:1.6}
.bn-tools-page .bn-seo-table-wrap{border-color:rgba(185,208,231,.19);border-radius:10px;margin:15px 0 20px}
.bn-tools-page .bn-seo-table-wrap table{background:#1b2938}
.bn-tools-page .bn-seo-table-wrap caption{background:#27394a}
.bn-tools-page .bn-seo-table-wrap th{background:#293c4b;color:#f8d48a}
.bn-tools-page .bn-seo-faq h3{padding-top:18px;margin:21px 0 8px;border-top:1px solid rgba(150,177,200,.15)}
.bn-tools-page .bn-seo-faq h3:first-child{margin-top:0;padding-top:0}
.bn-tools-page .bn-tools-related{margin:10px 0 32px}
.bn-tools-page .bn-tools-related h2{font-size:24px;margin-bottom:18px}
.bn-tools-page .bn-tools-grid-compact{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 32px}
.bn-tools-page .bn-tools-grid-compact .bn-tools-card{min-height:auto;display:grid;grid-template-columns:42px 1fr;grid-template-areas:'i t' 'i d' '. a';gap:4px 15px;padding:18px;border-radius:13px;background:#1d2936}
.bn-tools-page .bn-tools-grid-compact .bn-tools-card-top{grid-area:i;margin:0}
.bn-tools-page .bn-tools-grid-compact .bn-tools-icon{width:42px;height:42px;border-radius:10px}
.bn-tools-page .bn-tools-grid-compact .bn-tools-icon .bn-tools-svg{width:21px;height:21px}
.bn-tools-page .bn-tools-grid-compact .bn-tools-card-tag,.bn-tools-page .bn-tools-grid-compact .bn-tools-card-eyebrow{display:none}
.bn-tools-page .bn-tools-grid-compact .bn-tools-card strong{grid-area:t;font-size:15px;margin:0 0 4px}
.bn-tools-page .bn-tools-grid-compact .bn-tools-card-desc{grid-area:d;font-size:12px;line-height:1.5}
.bn-tools-page .bn-tools-grid-compact .bn-tools-card-link{grid-area:a;padding:8px 0 0;margin:0;font-size:11px}
.bn-tools-page .bn-tools-grid-compact .bn-tools-card-arrow{width:23px;height:23px;font-size:14px}
.bn-tools-page .bn-academy-about{margin:28px 0 12px}
/* Enhanced catalog: featured grid, not a long stack of lookalike tiles. */
.bn-tools-page .bn-tools-hero-catalog{margin-bottom:26px}
.bn-tools-page .bn-tools-list .bn-tools-grid{gap:16px}
.bn-tools-page .bn-tools-list .bn-tools-card{border-radius:15px;min-height:225px;background:linear-gradient(150deg,#243244,#1a2634)}
.bn-tools-page .bn-tools-list .bn-tools-card:nth-child(1){background:linear-gradient(135deg,#303a47,#202938);border-color:rgba(240,195,110,.33)}
.bn-tools-page .bn-tools-list .bn-tools-card:nth-child(1) .bn-tools-icon{background:rgba(241,189,99,.19)}
/* Extension page uses the same layout, while preserving the existing API widgets. */
.bnct-page .bnct-app{grid-template-areas:'fields output' 'actions output' 'source output';}
.bnct-page .bnct-actions{grid-area:actions;margin-top:22px;display:flex;align-items:flex-start;gap:10px}
.bnct-page .bnct-actions .bn-tools-submit{max-width:100%;white-space:normal;text-align:center}
.bnct-page .bnct-source{grid-area:source;align-self:start;margin:14px 0 0;padding:11px 12px;border-radius:8px;font-size:11.5px;line-height:1.55}
.bnct-page .bn-tools-output{grid-area:output;}
.bnct-page .bnct-neighbours{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.bnct-page .bnct-related{min-height:65px;padding:16px;border-radius:12px;font-size:13px}
/* Sidebar never overlaps the document and mobile keeps inputs usable. */
@media(max-width:1000px){
 .bn-tools-page .bn-tools-form,.bnct-page .bnct-app{grid-template-columns:1fr;grid-template-areas:'fields' 'actions' 'source' 'output';padding:24px;gap:0}
 .bn-tools-page .bn-tools-output{margin-top:20px}
 .bn-tools-page .bn-tools-learning-layout{grid-template-columns:165px minmax(0,1fr);gap:23px}
}
@media(max-width:690px){
 .bn-tools-page .bn-tools-hero{padding:12px 0 20px;margin-bottom:18px}
 .bn-tools-page .bn-tools-hero h1{font-size:clamp(29px,7.1vw,36px)}
 .bn-tools-page .bn-tools-hero-features{gap:8px 13px}
 .bn-tools-page .bn-tools-app-heading{padding:18px 17px;flex-direction:column;align-items:flex-start}
 .bn-tools-page .bn-tools-form,.bnct-page .bnct-app{padding:18px 16px}
 .bn-tools-page .bn-tools-field-grid{grid-template-columns:1fr;gap:15px}
 .bn-tools-page .bn-tools-submit{width:100%}
 .bn-tools-page .bn-tools-actions{width:100%}
 .bn-tools-page .bn-tools-learning-layout{display:block;margin:25px 0}
 .bn-tools-page .bn-tools-seo-nav{position:static;display:flex;flex-direction:row;align-items:center;gap:8px;overflow-x:auto;white-space:nowrap;margin:0 0 17px;padding:10px 0;border:0;border-top:1px solid rgba(168,191,214,.16);border-bottom:1px solid rgba(168,191,214,.16);scrollbar-width:thin}
 .bn-tools-page .bn-tools-seo-nav strong{margin:0 8px 0 0;flex:none;font-size:11px}
 .bn-tools-page .bn-tools-seo-nav a{white-space:nowrap;font-size:12px;background:#202b39;padding:8px 10px;flex:none}
 .bn-tools-page .bn-tools-seo>.bn-seo-intro{padding:21px 19px}
 .bn-tools-page .bn-tools-seo>section{padding:23px 0 25px}
 .bn-tools-page .bn-tools-seo h2{font-size:23px}
 .bn-tools-page .bn-tools-grid-compact{grid-template-columns:1fr}
 .bnct-page .bnct-neighbours{grid-template-columns:1fr}
 .bn-tools-page .bn-tools-result-row strong{text-align:right;width:auto}
 .bn-tools-page .bn-tools-list .bn-tools-grid{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){.bn-tools-page *{scroll-behavior:auto!important}}

.bn-tools-page .bn-tools-all-link{margin:0 0 34px;font-size:13px;font-weight:700}.bn-tools-page .bn-tools-all-link a{color:#ffd18a!important;text-decoration:none!important}.bn-tools-page .bn-tools-all-link a:hover{text-decoration:underline!important}

/* Accessible native FAQ disclosures: answers remain server-rendered and keyboard-accessible. */
.bn-tools-page .bn-seo-qa{border-top:1px solid rgba(162,188,208,.17);margin:0}
.bn-tools-page .bn-seo-qa:first-child{border-top:0}
.bn-tools-page .bn-seo-qa summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 2px;cursor:pointer;color:#e7edf6;font-size:15px;font-weight:700;line-height:1.5}
.bn-tools-page .bn-seo-qa summary::-webkit-details-marker{display:none}
.bn-tools-page .bn-seo-qa summary::after{content:'+';display:grid;place-items:center;flex-shrink:0;width:27px;height:27px;border-radius:50%;border:1px solid rgba(248,207,135,.30);color:#ffd285;font-size:20px;font-weight:400;line-height:1}
.bn-tools-page .bn-seo-qa[open] summary::after{content:'−'}
.bn-tools-page .bn-seo-qa summary:hover{color:#ffd285}
.bn-tools-page .bn-seo-qa summary:focus-visible{outline:2px solid #ffe3a0;outline-offset:3px}
.bn-tools-page .bn-seo-qa-answer{padding:0 45px 17px 2px}
.bn-tools-page .bn-seo-qa-answer p{margin:0}
