/* Merchant handbook: warm paper, ink, forest green; 4px spacing rhythm.
   Shared tokens keep the library, articles and practice tools consistent. */
@font-face{font-family:Handbook Bengali;src:url('../NotoSansBengali-Regular.ttf') format('truetype');font-weight:400;font-display:swap}
:root{--paper:#fcfcf9;--surface:#fff;--subtle:#f3f4ef;--ink:#202d27;--muted:#627168;--line:#dfe4dd;--green:#245c43;--green-soft:#edf4ec;--warm:#f6f1e6;--warm-line:#e5dcc7;--focus:#267556;--radius:10px;--sidebar:252px;--header:76px;color-scheme:light;font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
:root[data-theme=dark]{--paper:#151d19;--surface:#1b2520;--subtle:#222e27;--ink:#e5ede7;--muted:#a9b9ad;--line:#35483c;--green:#a2d6b4;--green-soft:#22392b;--warm:#2d2c21;--warm-line:#494a36;--focus:#b0dfbc;color-scheme:dark}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;background:var(--paper);color:var(--ink);font-size:15px;line-height:1.65}html[lang=bn] body{font-family:'Handbook Bengali','Noto Sans Bengali',sans-serif;line-height:1.85}html[lang=bn] .lang-en,html[lang=en] .lang-bn,[hidden]{display:none!important}a{color:inherit;text-decoration:none}button,input{font:inherit}button,a,input,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:default;opacity:.55}button{background:none;border:0}button,input,a,summary{touch-action:manipulation}button:focus-visible,input:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid var(--focus);outline-offset:4px}input[type=checkbox],input[type=radio]{accent-color:var(--green);width:18px;height:18px;flex:none;cursor:pointer}input[type=number]{width:100%;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--ink);padding:10px}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.3;letter-spacing:-.025em;font-weight:650}html[lang=bn] h1,html[lang=bn] h2,html[lang=bn] h3{letter-spacing:0;line-height:1.5}h1{font-size:44px}h2{font-size:25px}h3{font-size:17px}p{color:var(--muted)}small,.small{font-size:12px;line-height:1.7}.muted{color:var(--muted)}.icon{width:21px;height:21px;flex-shrink:0;vertical-align:middle}.eyebrow,.page-kicker,.section-label{font-size:10px;letter-spacing:.13em;font-weight:650;color:var(--muted)}html[lang=bn] .eyebrow,html[lang=bn] .page-kicker,html[lang=bn] .section-label{font-size:12px;letter-spacing:.02em}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip-link{position:fixed;top:-100px;left:16px;padding:12px 20px;background:var(--surface);z-index:100;border:2px solid var(--green);border-radius:6px}.skip-link:focus{top:10px}.topbar{height:var(--header);position:sticky;top:0;z-index:30;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 32px;background:var(--surface);border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;white-space:nowrap}.brand strong{font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:19px;letter-spacing:-.7px}.brand-mark{height:34px;width:34px;border-radius:8px;background:#245c43;color:#fff;display:grid;place-items:center}.brand-mark .icon{width:22px}.brand-divider{height:23px;width:1px;background:var(--line);margin:0 4px}.brand-sub{font-size:12px;color:var(--muted)}.top-actions{display:flex;align-items:center;gap:15px}.search-launch{display:flex;align-items:center;gap:10px;background:var(--subtle);border:1px solid var(--line);height:40px;padding:0 12px;border-radius:7px;color:var(--muted);font-size:12px;min-width:255px}.search-launch .icon{width:17px}.search-launch kbd{font-family:inherit;font-size:10px;line-height:1.4;background:var(--surface);border:1px solid var(--line);border-radius:4px;padding:2px 5px;margin-left:auto}.languages{display:flex;align-items:center;border:1px solid var(--line);border-radius:7px;padding:3px;gap:2px}.languages button{font-size:11px;padding:5px 8px;border-radius:4px;min-height:30px}.languages button[aria-pressed=true]{background:var(--green-soft);color:var(--green)}.icon-button{display:grid;place-items:center;width:40px;height:40px;border-radius:6px}.icon-button:hover{background:var(--subtle)}.mobile-menu{display:none}.page-shell{display:grid;grid-template-columns:var(--sidebar) minmax(0,1fr);max-width:1720px;margin:auto}.sidebar{height:calc(100dvh - var(--header));position:sticky;top:var(--header);overflow-y:auto;padding:28px 18px;border-right:1px solid var(--line);background:var(--paper);scrollbar-width:thin}.nav-home,.nav-link{display:flex;align-items:center;gap:11px;border-radius:6px;padding:10px 12px;font-size:12px;color:var(--muted);line-height:1.5;min-height:41px}.nav-home{font-weight:600;margin-bottom:28px}.nav-link .icon,.nav-home .icon{width:17px;height:17px}.nav-link:hover,.nav-home:hover{background:var(--subtle);color:var(--ink)}.nav-link.active,.nav-home.active{color:var(--green);background:var(--green-soft);font-weight:650}.nav-group{margin-bottom:24px}.nav-group h2{font-size:10px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);padding:0 12px;margin-bottom:9px}.nav-done{margin-left:auto;color:var(--green)}.nav-done .icon{width:13px}.sidebar-progress{margin:28px 12px 8px;padding-top:22px;border-top:1px solid var(--line)}.sidebar-progress p{font-size:12px;margin:6px 0 8px}.sidebar-progress strong{color:var(--ink)}.sidebar-progress small{display:block;color:var(--muted);margin-top:9px;font-size:10px}progress{appearance:none;width:100%;height:4px;border:0;border-radius:8px;display:block;background:var(--line)}progress::-webkit-progress-bar{background:var(--line);border-radius:8px}progress::-webkit-progress-value{background:var(--green);border-radius:8px}progress::-moz-progress-bar{background:var(--green);border-radius:8px}main{min-width:0}main:focus{outline:none}.home-wrap{max-width:1240px;padding:37px 54px 36px;margin:0 auto}.page-kicker{display:flex;align-items:center;gap:9px}.status-dot{height:6px;width:6px;border-radius:50%;background:var(--green)}.edition{margin-left:auto;font-weight:400;letter-spacing:.05em}.home-hero{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(260px,.85fr);gap:50px;align-items:center;padding:38px 0 42px}.home-hero h1{font-size:clamp(34px,3.2vw,49px);letter-spacing:-1.8px;line-height:1.14}.hero-description{font-size:15px;max-width:470px;margin-top:24px;line-height:1.8}.hero-actions{display:flex;align-items:center;gap:22px;flex-wrap:wrap;margin-top:26px}.button{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:44px;padding:10px 16px;font-size:12px;font-weight:600;border-radius:6px;border:1px solid transparent;line-height:1.65}.button .icon{width:17px;height:17px}.button.primary{background:var(--green);color:var(--surface)}:root[data-theme=dark] .button.primary{color:#15231a}.button.primary:hover:not(:disabled){filter:brightness(1.1)}.button.secondary{border-color:var(--line);background:var(--surface)}.button.secondary:hover{background:var(--subtle)}.text-link{font-size:12px;text-decoration:underline;text-underline-offset:5px;text-decoration-color:var(--line)}.text-link:hover{color:var(--green);text-decoration-color:var(--green)}.hero-footnote{display:flex;align-items:center;gap:7px;margin-top:18px;font-size:10px}.hero-footnote .icon{height:14px;width:14px;color:var(--green)}.field-note{border:1px solid var(--warm-line);border-radius:3px;background:var(--warm);padding:24px 25px 0;transform:rotate(-1.5deg);box-shadow:5px 7px 0 var(--subtle);position:relative}.field-note:before{content:'';position:absolute;top:-7px;left:43%;width:44px;height:14px;background:var(--paper);border:1px solid var(--warm-line);opacity:.85}.note-top{display:flex;align-items:center;gap:10px;font-size:9px;letter-spacing:.1em;color:var(--muted)}.note-top .icon{width:19px}.field-note h2{font-size:21px;line-height:1.45;margin:20px 0 22px}.note-row{display:flex;align-items:center;gap:11px;font-size:11px;margin:13px 0}.note-row .icon{width:16px;height:16px;color:var(--green);padding:2px;box-sizing:content-box;border:1px solid var(--warm-line);border-radius:50%}.note-bottom{margin:23px -25px 0;padding:13px 20px;border-top:1px solid var(--warm-line);display:flex;align-items:center;justify-content:space-between;font-size:8px;letter-spacing:.08em;color:var(--muted)}.note-bottom .icon{width:16px}.updates-strip{display:flex;align-items:center;gap:24px;flex-wrap:wrap;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:17px 0;font-size:11px}.updates-strip a{display:flex;align-items:center;gap:8px}.updates-strip a:hover{color:var(--green)}.updates-strip .icon{width:14px}.pill{border-radius:4px;background:var(--green-soft);color:var(--green);padding:3px 8px;font-size:10px;white-space:nowrap}.launch-section{padding:39px 0 43px;display:grid;grid-template-columns:1fr 1.15fr;gap:40px;align-items:center}.section-intro h2{font-size:23px;margin:8px 0 12px;max-width:290px}.section-intro p{font-size:12px;max-width:280px}.launch-steps{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);overflow:hidden}.launch-step{display:flex;align-items:center;gap:15px;padding:13px 17px;font-size:12px}.launch-step+.launch-step{border-top:1px solid var(--line)}.launch-step .icon{margin-left:auto;width:16px;color:var(--muted)}.launch-step:hover{background:var(--green-soft);color:var(--green)}.step-number{font-family:ui-monospace,monospace;font-size:10px;color:var(--muted)}#browse{scroll-margin-top:100px}.browse-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding-top:14px;border-top:1px solid var(--line)}.browse-heading h2{margin-top:7px}.browse-heading>.muted{font-size:11px;white-space:nowrap}.filters{display:flex;gap:8px;flex-wrap:wrap;margin:23px 0}.filters button{font-size:11px;padding:8px 13px;border:1px solid var(--line);border-radius:6px;min-height:36px}.filters button[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:var(--surface)}.filters button:hover:not([aria-pressed=true]){background:var(--subtle)}.guide-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.guide-card{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:var(--radius);padding:20px;background:var(--surface);transition:border-color .15s,box-shadow .15s}.guide-card:hover{border-color:var(--green);box-shadow:0 3px 12px #243c2910}.card-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px}.topic-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:8px;background:var(--green-soft);color:var(--green);flex:none}.topic-icon .icon{width:20px;height:20px}.guide-meta{font-size:10px;color:var(--muted)}.guide-card h3{font-size:15px;margin-bottom:8px;line-height:1.5}.guide-card p{font-size:12px;line-height:1.8;margin-bottom:19px}.card-bottom{margin-top:auto;padding-top:13px;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;font-size:11px;color:var(--green)}.card-bottom .icon{width:15px;height:15px}.help-strip{display:flex;align-items:center;gap:20px;border:1px solid var(--line);border-radius:var(--radius);padding:24px;margin-top:35px;background:var(--subtle)}.help-strip>.icon{height:28px;width:28px;color:var(--green)}.help-strip h2{font-size:16px;margin-bottom:5px}.help-strip p{font-size:11px;max-width:560px}.help-strip .button{margin-left:auto;white-space:nowrap}.footer{display:flex;justify-content:space-between;gap:20px;max-width:1132px;margin:0 auto;padding:22px 0 26px;border-top:1px solid var(--line);font-size:10px;color:var(--muted);width:calc(100% - 108px)}
/* Reading layout */
.article-wrap{padding:32px 48px 40px;max-width:1280px;margin:auto}.breadcrumbs{display:flex;flex-wrap:wrap;align-items:center;gap:12px;color:var(--muted);font-size:11px;margin-bottom:28px}.breadcrumbs a:hover{color:var(--green)}.article-layout{display:grid;grid-template-columns:minmax(0,740px) 200px;gap:54px}.article-header{padding-bottom:28px}.article-meta{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:11px;margin-bottom:20px}.article-header h1{font-size:36px;line-height:1.25}.lead{font-size:16px;line-height:1.9;margin-top:16px}.admin-path{display:flex;flex-direction:column;gap:5px;border-left:2px solid var(--green);padding:3px 0 3px 14px;margin-top:25px}.admin-path>span{font-size:9px;letter-spacing:.1em;color:var(--muted)}.admin-path strong{font-size:12px;font-weight:550;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}.before-start{display:flex;gap:14px;border:1px solid var(--warm-line);background:var(--warm);padding:20px 22px;border-radius:8px;margin-bottom:8px}.before-start>.icon{color:var(--muted);margin-top:3px}.before-start h2{font-size:14px;margin-bottom:6px}.before-start p{font-size:13px;line-height:1.9}.before-start .small{font-size:11px;margin-top:7px}.guide-section{padding:34px 0 30px;border-bottom:1px solid var(--line);position:relative;scroll-margin-top:98px}.section-label{color:var(--green);margin-bottom:9px}.guide-section h2{font-size:23px;margin-bottom:15px}.prose{font-size:15px;line-height:1.95;color:var(--muted);overflow-wrap:anywhere}.prose strong{color:var(--ink);font-weight:650}.prose a{color:var(--green);text-decoration:underline;text-underline-offset:3px}.prose code{font-family:ui-monospace,monospace;font-size:12px;background:var(--subtle);color:var(--ink);padding:2px 5px;border:1px solid var(--line);border-radius:4px}.step-check{display:flex;align-items:center;gap:10px;margin-top:20px;padding:9px 0;font-size:12px;color:var(--muted);cursor:pointer}.step-check:has(input:checked){color:var(--green)}.anchor-alias{position:absolute;top:0;scroll-margin-top:98px}.verify-section{display:flex;align-items:flex-start;gap:15px;padding:23px;margin:28px 0;background:var(--green-soft);border-radius:8px}.verify-section h2{font-size:16px;margin-bottom:5px}.verify-section p{font-size:13px}.verify-section .topic-icon{background:var(--surface)}.practice-section{padding:20px 0 32px;border-bottom:1px solid var(--line)}.practice-section h2{margin:8px 0 10px;font-size:23px}.practice-section>p{font-size:13px;line-height:1.8}.quiz{border:1px solid var(--line);border-radius:8px;background:var(--surface);padding:24px;margin-top:20px}.quiz fieldset{border:0;margin:0 0 18px;padding:0;min-width:0}.quiz legend{font-size:15px;font-weight:600;margin-bottom:15px;padding:0}.quiz-option{display:flex;align-items:flex-start;gap:11px;padding:12px 13px;border:1px solid var(--line);border-radius:6px;margin-top:9px;font-size:13px;cursor:pointer}.quiz-option input{margin-top:4px}.quiz-option:has(input:checked){background:var(--green-soft);border-color:var(--green)}.quiz-feedback{padding:15px 16px;margin-top:18px;background:var(--warm);border-radius:6px;font-size:13px}.quiz-feedback[data-correct=true]{background:var(--green-soft)}.quiz-feedback p{margin-top:6px}.simulation{border:1px solid var(--line);border-radius:8px;background:var(--surface);padding:22px;margin-top:20px}.simulation h3{font-size:16px;margin-bottom:8px}.simulation p{font-size:12px}.demo-inputs{display:flex;gap:15px;margin:18px 0}.demo-inputs label{font-size:12px;flex:1}.demo-inputs input{display:block;margin-top:5px}output{display:block;font-size:12px;color:var(--green);padding:14px;background:var(--green-soft);border-radius:6px;line-height:2}.check-label{display:flex;align-items:center;gap:10px;font-size:13px;cursor:pointer;margin-top:15px}.layout-preview{border:1px solid var(--line);margin:18px 0;border-radius:7px;overflow:hidden}.layout-preview>div{padding:12px;text-align:center;font-size:12px;background:var(--green-soft);border-bottom:1px solid var(--line)}.layout-preview .page-block{padding:35px 12px;background:var(--paper)}.layout-preview>div:last-child{border-bottom:0}.troubleshooting{padding:32px 0;scroll-margin-top:98px}.troubleshooting h2{font-size:23px;margin-bottom:16px}details{border:1px solid var(--line);border-radius:7px;margin-top:10px;background:var(--surface)}summary{cursor:pointer;padding:16px 18px;font-size:13px;font-weight:550;line-height:1.8}details p{font-size:13px;margin:0 18px 18px;line-height:1.9}.completion{background:var(--green-soft);border:1px solid var(--line);border-radius:8px;padding:26px}.completion h2{font-size:21px}.completion p{font-size:13px;margin:10px 0 18px}.completion .small{font-size:11px;margin:12px 0 0}.article-pagination{display:flex;justify-content:space-between;gap:20px;padding-top:30px}.article-pagination a{font-size:12px;max-width:48%;color:var(--green)}.article-pagination a:last-child{text-align:right}.article-pagination small{display:block;font-size:9px;letter-spacing:.07em;color:var(--muted);margin-bottom:6px}.article-pagination .icon{width:16px;margin-left:8px}.toc{position:sticky;top:110px;align-self:start}.toc>.eyebrow{margin-bottom:15px}.toc>a,.mobile-toc>a{display:flex;align-items:baseline;gap:10px;font-size:11px;color:var(--muted);line-height:1.7;padding:10px 0}.toc>a>span:first-child:not(.lang-en):not(.lang-bn){font-size:9px;opacity:.8;min-width:14px}.toc>a .icon{width:14px;height:14px}.toc>a:hover,.toc>a[aria-current]{color:var(--green);font-weight:650}.toc-note{border-top:1px solid var(--line);padding-top:22px;margin-top:20px;font-size:11px;font-weight:600}.toc-note p{font-weight:400;margin-top:7px;line-height:1.8}.mobile-toc{display:none}
/* Search is a native dialog: keyboard focus stays inside until dismissed. */
dialog{padding:0;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--ink);width:min(640px,calc(100vw - 32px));max-height:calc(100dvh - 64px);box-shadow:0 24px 100px #0003}dialog::backdrop{background:#15221a85;backdrop-filter:blur(3px)}.dialog-top{display:flex;align-items:center;justify-content:space-between;padding:18px 20px 12px}.dialog-top h2{font-size:19px}.search-field{display:flex;align-items:center;gap:10px;margin:0 20px;padding:0 13px;border:1px solid var(--line);background:var(--paper);border-radius:7px}.search-field:focus-within{outline:2px solid var(--green)}.search-field input{width:100%;min-width:0;border:0;background:none;outline:none;padding:13px 0;color:var(--ink);font-size:14px}.search-field input:focus-visible{outline:none}.search-status{padding:13px 21px;font-size:11px}#search-results{max-height:50dvh;overflow:auto;padding:0 10px 10px}.search-result{display:flex;flex-direction:column;gap:4px;border-radius:6px;padding:13px 12px}.search-result:hover,.search-result:focus-visible{background:var(--green-soft)}.search-result strong{font-size:14px;font-weight:600}.search-result span{font-size:11px;color:var(--muted)}.empty-search{font-size:13px;padding:18px 12px}.dialog-foot{border-top:1px solid var(--line);padding:12px 22px;color:var(--muted);font-size:10px}.toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);background:var(--ink);color:var(--surface);padding:12px 20px;border-radius:8px;max-width:calc(100vw - 32px);font-size:13px;z-index:80}.noscript{padding:16px;background:var(--warm);font-size:13px;text-align:center}
@media(min-width:1500px){.home-wrap{padding-left:64px;padding-right:64px}.home-hero{gap:80px}.home-hero h1{font-size:52px}.guide-card{padding:24px}.guide-card h3{font-size:17px}.guide-card p{font-size:13px}}
@media(max-width:1200px){:root{--sidebar:224px}.topbar{padding:0 22px}.brand-sub{display:none}.home-wrap{padding:30px 34px}.home-hero{gap:30px;grid-template-columns:1.25fr 1fr}.home-hero h1{font-size:38px}.hero-actions{gap:16px}.field-note{padding:20px 18px 0}.note-bottom{margin-left:-18px;margin-right:-18px}.field-note h2{font-size:20px}.updates-strip{gap:17px}.guide-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.article-wrap{padding:28px 32px}.article-layout{grid-template-columns:minmax(0,1fr)}.toc{display:none}.mobile-toc{display:block;margin:20px 0 0}.mobile-toc>a{padding:8px 18px}.footer{width:calc(100% - 68px)}.help-strip{gap:14px;padding:20px}}
@media(max-width:900px){:root{--sidebar:200px;--header:68px}.sidebar{padding:22px 10px}.nav-link{font-size:11px;gap:8px;padding:9px}.nav-group h2{font-size:9px;padding:0 9px}.nav-home{font-size:11px;padding:9px}.search-launch{min-width:190px}.top-actions{gap:8px}.topbar{padding:0 18px}.home-hero{grid-template-columns:1fr;padding:30px 0}.field-note{display:none}.home-hero h1{font-size:40px}.edition{display:none}.launch-section{grid-template-columns:1fr;gap:20px;padding:29px 0}.section-intro h2,.section-intro p{max-width:none}.guide-grid{gap:12px}.guide-card{padding:16px}.help-strip{flex-wrap:wrap}.help-strip>div{flex:1}.help-strip .button{margin-left:42px}.article-header h1{font-size:31px}.footer{flex-direction:column;gap:5px}.article-wrap{padding:25px}}
@media(max-width:700px){:root{--header:64px}.topbar{padding:0 15px;gap:8px}.brand{gap:8px}.brand strong{font-size:17px}.brand-divider{display:none}.brand-mark{height:30px;width:30px}.top-actions{gap:2px}.search-launch{min-width:0;border:0;background:none;width:36px;height:40px;padding:9px}.search-launch span,.search-launch kbd{display:none}.languages{padding:2px}.languages button{padding:4px 6px;font-size:10px}.icon-button{width:34px;height:40px}.mobile-menu{display:grid}.page-shell{display:block}.sidebar{display:none;position:fixed;top:var(--header);left:0;z-index:25;width:285px;height:calc(100dvh - var(--header));box-shadow:8px 8px 30px #0002;padding:20px 16px;background:var(--surface)}.sidebar.is-open{display:block}.nav-link{font-size:13px;min-height:44px}.nav-group h2{font-size:11px}.nav-home{font-size:13px}.home-wrap{padding:24px 22px}.page-kicker{font-size:9px}.home-hero{padding:26px 0 30px}.home-hero h1{font-size:38px;letter-spacing:-1.3px}.hero-description{font-size:14px;margin-top:18px}.hero-actions{gap:18px;margin-top:23px}.hero-footnote{font-size:10px;margin-top:16px}.updates-strip{gap:12px 20px;padding:16px 0}.updates-strip .pill{width:fit-content}.updates-strip a{font-size:11px}.launch-section{padding:28px 0}.section-intro h2{font-size:23px}.browse-heading{gap:10px}.browse-heading h2{font-size:24px}.browse-heading>.muted{font-size:10px}.filters{gap:7px;margin:18px 0}.filters button{font-size:10px;padding:8px 10px}.guide-card h3{font-size:14px}.guide-card p{font-size:11px}.guide-meta{font-size:9px}.guide-card{padding:16px}.topic-icon{width:32px;height:32px}.help-strip{margin-top:25px}.help-strip>div{min-width:180px}.help-strip .button{margin-left:0}.footer{width:calc(100% - 44px);padding-top:18px;font-size:9px}.article-wrap{padding:24px 22px 30px}.article-header h1{font-size:30px}.lead{font-size:15px}.before-start{padding:17px;gap:11px}.before-start>.icon{width:18px}.guide-section{padding:28px 0}.guide-section h2{font-size:22px}.prose{font-size:14px}.quiz{padding:18px}.quiz legend{font-size:14px}.quiz-option{font-size:12px;padding:11px}.practice-section h2,.troubleshooting h2{font-size:22px}.completion{padding:22px}.demo-inputs{gap:9px}.simulation{padding:18px}.article-pagination a{font-size:11px}.breadcrumbs{margin-bottom:22px}.admin-path strong{font-size:11px}}
@media(max-width:380px){.brand strong{font-size:15px}.brand-mark{width:27px;height:27px}.topbar{padding:0 10px}.home-wrap,.article-wrap{padding-left:18px;padding-right:18px}.guide-grid{grid-template-columns:1fr}.home-hero h1{font-size:34px}.browse-heading{align-items:start;flex-direction:column;gap:7px}.guide-card h3{font-size:17px}.guide-card p{font-size:13px}.card-top{margin-bottom:13px}.hero-actions .button{width:100%;font-size:11px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}
@media print{.topbar,.sidebar,.toc,.mobile-toc,.practice-section,.step-check,.completion,.article-pagination,.skip-link,dialog,.toast,.filters{display:none!important}:root{--paper:#fff;--surface:#fff;--ink:#000;--muted:#333;--line:#ccc;color-scheme:light}.page-shell,.article-layout{display:block}.article-wrap,.home-wrap{padding:0;max-width:none}.guide-section{break-inside:avoid}.footer{width:100%}details{display:block}details>*{display:block}.guide-grid{grid-template-columns:repeat(2,1fr)}.home-hero{grid-template-columns:1fr}.field-note{display:none}body{font-size:12pt}.guide-card{break-inside:avoid}}
/* Comfortable reading sizes, including the denser Bengali letterforms. */
.nav-link,.nav-home{font-size:13px}.nav-group h2{font-size:11px}.guide-card h3{font-size:17px}.guide-card p{font-size:14px}.guide-meta,.card-bottom,.guide-status{font-size:12px}.button,.text-link{font-size:13px}.hero-footnote,.updates-strip,.launch-step,.section-intro p,.filters button{font-size:13px}.hero-description{font-size:16px}.help-strip p{font-size:13px}.sidebar-progress small{font-size:11px}.toc>a{font-size:12px}.before-start p,.step-check,.quiz-option,.troubleshooting details p{font-size:14px}
html[lang=bn] .nav-link,html[lang=bn] .nav-home{font-size:14px}html[lang=bn] .guide-card p{font-size:15px}html[lang=bn] .guide-card h3{font-size:18px}html[lang=bn] .button{font-size:14px}html[lang=bn] .prose{font-size:16px}
@media(max-width:1100px){.updates-strip{gap:14px}.nav-link,.nav-home{font-size:12px}.hero-actions{gap:15px}.hero-description{font-size:15px}}
@media(max-width:700px){.guide-grid{grid-template-columns:1fr}.guide-card{padding:22px}.card-top{margin-bottom:13px}.guide-card h3{font-size:18px}.guide-card p{font-size:14px;margin-bottom:16px}.guide-meta{font-size:11px}.guide-card .topic-icon{width:36px;height:36px}.updates-strip a{font-size:12px}.hero-footnote{font-size:12px}.nav-link,.nav-home{font-size:14px}.filters button{font-size:12px}.button{font-size:13px}.launch-step{font-size:14px}.help-strip p{font-size:13px}.prose{font-size:16px}.toc>a,.mobile-toc>a{font-size:13px}.footer{font-size:11px}}

/* Provider references and private learning notes use the same reading rhythm. */
.prose h3 { margin: 24px 0 10px; font-size: 18px; }
.prose > .lang-en > p, .prose > .lang-bn > p { margin: 12px 0; }
.provider-reference { margin-top: 12px; }
.provider-reference summary { color: var(--ink); font-size: 15px; }
.provider-reference ul { margin: 0 18px 16px; padding-left: 24px; font-size: 14px; }
.provider-reference p { font-size: 14px; }
.guide-feedback { margin-top: 32px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.guide-feedback h2 { font-size: 22px; }
.guide-feedback > p { margin: 12px 0 18px; font-size: 13px; }
.guide-feedback label { display: block; margin: 16px 0; font-size: 14px; }
.guide-feedback select, .guide-feedback textarea { display: block; width: 100%; margin-top: 7px; border: 1px solid var(--line); border-radius: 6px; padding: 11px; background: var(--paper); color: var(--ink); font: inherit; }
.guide-feedback textarea { resize: vertical; min-height: 100px; }
.guide-feedback select:focus-visible, .guide-feedback textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.feedback-actions { display: flex; flex-wrap: wrap; gap: 10px; }
#feedback-status { margin-top: 12px; }
@media (max-width: 700px) { .guide-feedback { padding: 18px; } }
@media print { .guide-feedback { display: none; } }
.admin-capture { margin: 24px 0; }
.admin-capture img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 8px; }
.admin-capture figcaption { margin-top: 9px; color: var(--muted); font-size: 12px; }

/* Bebsai: white reading surfaces, ink text and one green action colour. */
@font-face{font-family:Handbook Bengali;src:url('../NotoSansBengali-Bold.ttf') format('truetype');font-weight:700;font-display:swap}
:root{--paper:#fff;--surface:#fff;--subtle:#f3f6f5;--ink:#14231e;--muted:#46564e;--line:#d6dfda;--green:#14633d;--green-soft:#edf7f1;--warm:#f3f6f5;--warm-line:#d6dfda;--focus:#08783e}
:root[data-theme=dark]{--paper:#111916;--surface:#18231e;--subtle:#213129;--ink:#f3f7f4;--muted:#c0cec5;--line:#41564a;--green:#9fe1ba;--green-soft:#233c2d;--warm:#213129;--warm-line:#41564a;--focus:#b4f3cc}
body{font-size:16px;line-height:1.75}html[lang=bn] body{font-size:17px;line-height:1.95}h1,h2,h3,strong{font-weight:700}.prose{font-size:17px;line-height:1.85}.prose p,.prose li{color:var(--ink)}html[lang=bn] .prose{font-size:18px;line-height:2}.lead,.hero-description{color:var(--muted)}.small,small{font-size:13px}.guide-card p{font-size:15px}.nav-link{font-size:14px}.field-note{background:var(--subtle);box-shadow:none;transform:none}.brand-logo{width:124px;height:auto;max-height:42px;object-fit:contain}.logo-dark{display:none}:root[data-theme=dark] .logo-light{display:none}:root[data-theme=dark] .logo-dark{display:block}.languages a{display:inline-flex;align-items:center;justify-content:center;padding:6px 9px;min-height:38px;border-radius:5px;font-size:13px}.languages a[aria-current=page]{background:var(--surface);color:var(--ink);box-shadow:0 1px 3px #0002}.updates-strip{flex-wrap:wrap}.tips-launch{position:fixed;bottom:22px;right:24px;z-index:35;box-shadow:0 4px 16px #0002;border:1px solid var(--line);min-height:48px}.tip-content{padding:24px;display:grid;gap:18px}.tip-content h3{font-size:24px}.tip-content p{color:var(--ink)}#tips-dialog{width:min(580px,calc(100% - 32px));max-height:80dvh;overflow:auto;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--ink);padding:0}#tips-dialog::backdrop{background:#0b1719a6}.footer{padding-bottom:100px}.toast{bottom:90px}.before-start p,.verify-section p{color:var(--ink)}.guide-section:first-of-type .prose{color:var(--ink)}
@media(max-width:700px){.brand-logo{width:105px;max-height:36px}.topbar{gap:8px}.top-actions{gap:6px}.tips-launch{right:16px;bottom:16px;padding:10px 15px;font-size:14px}.brand-sub,.brand-divider{display:none}.prose{font-size:16px}html[lang=bn] .prose{font-size:17px}.tip-content{padding:20px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}
@media(max-width:380px){.brand-logo{width:80px}.top-actions{gap:2px}.languages a{font-size:12px;padding:4px 6px}.topbar{gap:4px}}
@media print{.tips-launch{display:none!important}}

/* Tactile surfaces: shallow elevation, a consistent light source, short motion.
   Reading copy stays flat; depth is reserved for actions and learning tools. */
:root {
  --depth-edge: #c5d6cc;
  --depth-shadow: #163c2512;
  --depth-highlight: #ffffffcc;
  --action-edge: #0b4028;
  --ease-out: cubic-bezier(.2,.7,.2,1);
}
:root[data-theme=dark] {
  --depth-edge: #354f40;
  --depth-shadow: #00000038;
  --depth-highlight: #ffffff12;
  --action-edge: #508467;
}
.guide-card {
  box-shadow: 0 3px 0 var(--depth-edge), 0 7px 18px var(--depth-shadow);
  transition: transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out), border-color 180ms ease;
}
.topic-icon {
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 var(--depth-highlight), 0 2px 0 var(--depth-edge);
  transition: transform 180ms var(--ease-out), box-shadow 180ms ease;
}
.card-bottom .icon, .launch-step > .icon, .button > .icon {
  transition: transform 180ms var(--ease-out);
}
.button {
  transition: transform 140ms var(--ease-out), box-shadow 140ms var(--ease-out), background-color 140ms ease;
}
.button.primary:not(:disabled) {
  box-shadow: inset 0 1px 0 var(--depth-highlight), 0 3px 0 var(--action-edge), 0 6px 12px var(--depth-shadow);
}
.button.secondary {
  box-shadow: inset 0 1px 0 var(--depth-highlight), 0 2px 0 var(--depth-edge);
}
.button.primary:hover:not(:disabled) { filter: none; }
.button:active:not(:disabled) {
  transform: translateY(2px);
  box-shadow: inset 0 1px 2px var(--depth-shadow), 0 1px 0 var(--depth-edge);
}
.button.primary:active:not(:disabled) {
  box-shadow: inset 0 1px 2px var(--depth-shadow), 0 1px 0 var(--action-edge);
}
.button:disabled { box-shadow: none; }
.field-note {
  border-radius: var(--radius);
  box-shadow: 0 5px 0 -1px var(--surface), 0 5px 0 var(--depth-edge), 0 10px 0 -1px var(--surface), 0 10px 0 var(--line), 0 18px 26px var(--depth-shadow);
}
.field-note:before { display: none; }
.launch-steps, .quiz, .simulation {
  box-shadow: inset 0 1px 0 var(--depth-highlight), 0 3px 0 var(--depth-edge), 0 8px 18px var(--depth-shadow);
}
.launch-step { transition: background-color 160ms ease; }
.quiz-option {
  box-shadow: 0 2px 0 var(--line);
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
.quiz-option:has(input:checked) {
  box-shadow: inset 3px 0 0 var(--green), inset 0 1px 3px var(--depth-shadow);
}
.quiz-option:focus-within, .step-check:focus-within { outline: 2px solid var(--focus); outline-offset: 4px; }
.step-check {
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 6px;
  transition: background-color 160ms ease, border-color 160ms ease;
}
.step-check:has(input:checked) { background: var(--green-soft); border-color: var(--line); }
.quiz-feedback[data-correct=true] { border-left: 3px solid var(--green); }
.tips-launch { border-color: transparent; }
.tips-launch .icon {
  border: 1px solid currentColor;
  border-radius: 50%;
  padding: 3px;
  width: 25px;
  height: 25px;
}
@keyframes surface-arrive {
  from { opacity: 0; transform: perspective(900px) translateY(12px) rotateX(-3deg) scale(.98); }
  to { opacity: 1; transform: perspective(900px) translateY(0) rotateX(0) scale(1); }
}
@media (prefers-reduced-motion:no-preference) {
  dialog[open] { animation: surface-arrive 200ms var(--ease-out) both; }
  .quiz-feedback:not([hidden]) { animation: surface-arrive 180ms var(--ease-out) both; }
}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  .guide-card:hover {
    transform: perspective(1000px) translateY(-4px) rotateX(1deg);
    box-shadow: 0 4px 0 var(--depth-edge), 0 12px 24px var(--depth-shadow);
  }
  .guide-card:hover .topic-icon { transform: translateY(-2px) rotate(-4deg); }
  .guide-card:hover .card-bottom .icon, .launch-step:hover > .icon { transform: translateX(4px); }
  .button:hover:not(:disabled) { transform: translateY(-1px); }
  .button:active:not(:disabled) { transform: translateY(2px); }
  .tips-launch:hover .icon { transform: rotate(-8deg); }
}
.guide-card:focus-visible {
  border-color: var(--green);
  box-shadow: 0 3px 0 var(--depth-edge), 0 9px 20px var(--depth-shadow);
}
@media (prefers-reduced-motion:reduce) {
  .guide-card, .button, .topic-icon, .card-bottom .icon, .launch-step > .icon, .button > .icon { transform: none!important; }
}
@media print {
  .guide-card, .topic-icon, .field-note, .launch-steps, .quiz, .simulation, .button { box-shadow: none!important; transform: none!important; }
}
