/* ==========================================================================
   Cashoutcharge — main stylesheet
   Mobile-first. System fonts (Bangla falls back to the phone's Noto Sans
   Bengali / Hind Siliguri). No web fonts, no frameworks.
   ========================================================================== */

:root {
	/* Wallet accent (light tint only, no logos). Overridden per wallet page below. */
	--w: #0f5f58;
	--w-ink: #0b4a44;
	--w-wash: #f4f6f5;
	--bg: #f4f6f5;
	--surface: #ffffff;
	--ink: #13201e;
	--ink-2: #3d4b49;
	--muted: #5f6d6b;
	--line: #dde4e2;
	--brand: #0f5f58;
	--brand-2: #0b4a44;
	--brand-soft: #e3f1ee;
	--accent: #f5b942;
	--accent-soft: #fff5dc;
	--warn: #8a4b00;
	--warn-soft: #fff3e0;
	--good: #11663a;
	--good-soft: #e5f6ec;
	--radius: 14px;
	--radius-sm: 10px;
	--shadow: 0 1px 2px rgba(16, 40, 36, .06), 0 6px 20px rgba(16, 40, 36, .06);
	--tap: 48px;
	--font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Bengali", "Hind Siliguri", Arial, sans-serif;
	--font-bn: "Noto Sans Bengali", "Hind Siliguri", "Kalpurush", "SolaimanLipi", system-ui, sans-serif;
	--mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
	margin: 0;
	font: 400 17px/1.6 var(--font);
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
}
html[lang^="bn"] body { font-family: var(--font-bn); line-height: 1.75; }
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--brand); text-underline-offset: 2px; }
a:hover { color: var(--brand-2); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; margin: 0; z-index: 1000;
	top: 8px; left: 8px; padding: 10px 14px; background: #fff; border-radius: 8px;
}
.js .no-js-only { display: none !important; }
html:not(.js) .js-only { display: none !important; }

.wrap { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 16px; }
.wrap--text { max-width: 720px; }

/* --- Staging bar --------------------------------------------------------- */
.staging-bar {
	background: #2b2f2e; color: #ffe8b0; font-size: 13px; text-align: center; padding: 4px 12px;
}

/* --- Header -------------------------------------------------------------- */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); font-size: 19px; letter-spacing: -.01em; }
.brand__text b { color: var(--brand); font-weight: 800; }
.brand__icon { flex: none; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; font-size: 14px; text-decoration: none; color: var(--ink-2); }
.lang a[aria-current="true"] { background: var(--brand); color: #fff; font-weight: 600; }

.nav { border-top: 1px solid var(--line); }
.nav__list {
	list-style: none; margin: 0; padding: 6px 0; display: flex; gap: 6px; overflow-x: auto;
	scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity;
}
.nav__list::-webkit-scrollbar { display: none; }
.nav__list li { flex: none; scroll-snap-align: start; }
.nav__list a {
	display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 999px;
	text-decoration: none; color: var(--ink-2); font-size: 15px; background: var(--bg); white-space: nowrap;
}
.nav__list .current-menu-item > a, .nav__list a[aria-current="page"] { background: var(--brand-soft); color: var(--brand-2); font-weight: 600; }

/* --- Page head ----------------------------------------------------------- */
.page-head { padding-top: 20px; padding-bottom: 8px; }
.page-title { font-size: clamp(1.55rem, 5.5vw, 2.1rem); line-height: 1.2; margin: 0 0 6px; letter-spacing: -.015em; }
html[lang^="bn"] .page-title { line-height: 1.35; letter-spacing: 0; }
.page-intro { margin: 0; color: var(--ink-2); font-size: 1.02rem; }
.page-meta { color: var(--muted); margin: 0; }

/* --- Calculator card ----------------------------------------------------- */
.calc {
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
	box-shadow: var(--shadow); padding: 16px; margin: 12px 0 20px;
}
.calc__title { font-size: 1.15rem; margin: 0 0 10px; }
.calc__form { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
.calc__form > *, .calc > * { min-width: 0; }
.calc__label { font-weight: 600; font-size: .95rem; color: var(--ink-2); margin: 4px 0 -4px; padding: 0; }

.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; border: 0; margin: 0 0 4px; padding: 4px; background: var(--bg); border-radius: 12px; }
.seg__opt { position: relative; }
.seg__opt input { position: absolute; opacity: 0; inset: 0; }
.seg__opt span {
	display: flex; align-items: center; justify-content: center; text-align: center; min-height: 42px;
	padding: 4px 8px; border-radius: 9px; font-size: .92rem; color: var(--ink-2); cursor: pointer; line-height: 1.25;
}
.seg__opt input:checked + span { background: var(--surface); color: var(--brand-2); font-weight: 700; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.seg__opt input:focus-visible + span { outline: 3px solid var(--accent); }

.amount { display: flex; align-items: center; border: 2px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .15s; }
.amount:focus-within { border-color: var(--brand); }
.amount__cur { padding: 0 2px 0 14px; font-size: 1.5rem; color: var(--muted); }
.amount__input {
	flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 700 1.75rem/1 var(--font);
	color: var(--ink); padding: 12px 14px 12px 8px; height: 60px; font-variant-numeric: tabular-nums;
}
.amount--sm .amount__input { font-size: 1.25rem; height: 50px; }

.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
	flex: none; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line);
	background: var(--surface); color: var(--ink-2); font: 600 .95rem var(--font); cursor: pointer; font-variant-numeric: tabular-nums;
}
.chip:hover, .chip.is-active { border-color: var(--brand); color: var(--brand-2); background: var(--brand-soft); }

.methods { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.methods legend { margin-bottom: 8px; }
.method { position: relative; display: block; cursor: pointer; }
.method input { position: absolute; opacity: 0; inset: 0; }
.method__body {
	display: flex; flex-direction: column; gap: 2px; min-height: var(--tap); padding: 10px 14px 10px 44px;
	border: 2px solid var(--line); border-radius: 12px; background: #fff; position: relative;
}
.method__body::before {
	content: ""; position: absolute; left: 14px; top: 50%; width: 20px; height: 20px; margin-top: -10px;
	border: 2px solid #a9b6b3; border-radius: 50%; background: #fff;
}
.method input:checked + .method__body { border-color: var(--brand); background: var(--brand-soft); }
.method input:checked + .method__body::before { border-color: var(--brand); box-shadow: inset 0 0 0 4px #fff; background: var(--brand); }
.method input:focus-visible + .method__body { outline: 3px solid var(--accent); }
.method__name { font-weight: 600; line-height: 1.3; }
.method__rate { font-size: .88rem; color: var(--muted); }
.method-single { margin: 0; color: var(--ink-2); }

.toggle { display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; }
.toggle input { width: 22px; height: 22px; accent-color: var(--brand); flex: none; }

.btn {
	display: inline-flex; align-items: center; justify-content: center; min-height: var(--tap); padding: 0 20px;
	border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
	font: 700 1rem var(--font); cursor: pointer; text-decoration: none;
}
.btn--primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-2); color: #fff; }

/* --- Result -------------------------------------------------------------- */
.result {
	margin-top: 14px; border-radius: 12px; background: linear-gradient(180deg, #f2faf8, #eaf5f2);
	border: 1px solid #cfe5df; padding: 14px;
}
.result__main { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.result__label { font-weight: 600; color: var(--ink-2); }
.result__fee { font-size: clamp(2rem, 9vw, 2.6rem); line-height: 1.1; color: var(--brand-2); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.result__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0 0; }
.result__grid > div { background: rgba(255,255,255,.75); border-radius: 10px; padding: 8px 10px; }
.result__grid dt { font-size: .82rem; color: var(--muted); line-height: 1.3; }
.result__grid dd { margin: 2px 0 0; font-weight: 700; font-size: 1.12rem; font-variant-numeric: tabular-nums; }
.result__vat { grid-column: 1 / -1; }
.result__formula { margin: 10px 0 0; font: .86rem/1.4 var(--mono); color: var(--ink-2); word-break: break-word; }
.result__hint { margin: 6px 0 0; font-size: .92rem; color: var(--ink-2); }
.result.is-empty .result__fee { color: var(--muted); }
/* The result card sits inside the form, between the amount and the method list. */
.calc__form > .result { margin: 4px 0 6px; }

.breakdown { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: .95rem; }
.breakdown th, .breakdown td { padding: 8px 4px; border-top: 1px solid #cfe5df; text-align: left; vertical-align: top; }
.breakdown tfoot th, .breakdown tfoot td { border-top: 2px solid #b5d6ce; }

/* --- Rate meta + tables ---------------------------------------------------- */
.ratemeta { margin-top: 14px; font-size: .86rem; color: var(--muted); }
.ratemeta p { margin: 6px 0; }
.ratemeta__note { background: var(--brand-soft); color: var(--brand-2); border-radius: 10px; padding: 8px 10px; }
.ratemeta__note.is-warn { background: var(--warn-soft); color: var(--warn); border-left: 4px solid #e39a2d; }
/* Page whose rates are all hidden while being re-checked */
.calc--rechecking .notice--rechecking { margin: 0 0 8px; background: var(--warn-soft); color: var(--warn); border-left: 4px solid #e39a2d; border-radius: 10px; padding: 12px 14px; font-weight: 600; }
.calc--rechecking .notice__link { margin: 0 0 6px; }
.calc--rechecking .notice__link a { font-weight: 600; }
.ratemeta__line { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.ratemeta__line a { word-break: break-word; }
.ratemeta__small { font-size: .8rem; }

.ratetable { margin: 0 0 24px; }
.ratetable__h, .compare__h { font-size: 1.15rem; margin: 18px 0 8px; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 480px; }
.table-wrap th, .table-wrap td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table-wrap thead th { background: #f7faf9; font-size: .8rem; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); }
html[lang^="bn"] .table-wrap thead th { text-transform: none; letter-spacing: 0; font-size: .88rem; }
.table-wrap tbody tr:last-child > * { border-bottom: 0; }
.table-wrap th[scope="row"] { font-weight: 600; }
.table-wrap small { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; }
.num { text-align: right !important; font-variant-numeric: tabular-nums; white-space: nowrap; }
.compare tr.is-best { background: var(--good-soft); }
.table-wrap table.compare { min-width: 0; }
.compare th[scope="row"] { width: 56%; }
.compare small.compare__rate-m { color: var(--ink-2); font-weight: 600; }
.compare .num { font-weight: 600; }
@media (max-width: 559px) {
	.compare .compare__rate { display: none; }
	.compare th, .compare td { padding: 9px 8px; }
}
@media (min-width: 560px) { .compare small.compare__rate-m { display: none; } }
.badge { display: inline-block; font-size: .72rem; font-weight: 600; padding: 1px 7px; border-radius: 999px; background: #eef1f0; color: var(--muted); vertical-align: 1px; margin-left: 4px; }
.badge--best { background: var(--good); color: #fff; }

/* --- Home ---------------------------------------------------------------- */
.page-head--home { padding-top: 26px; }
.quick { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.quick__link {
	display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; min-height: 60px;
	padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); background: #fff;
}
.quick__link:hover { border-color: var(--brand); }
.quick__name { font-weight: 700; line-height: 1.25; }
.quick__name small { display: block; font-weight: 400; color: var(--muted); font-size: .82rem; }
.quick__fee { text-align: right; font-variant-numeric: tabular-nums; }
.quick__fee small { color: var(--muted); }
.quick__fee strong { font-size: 1.15rem; color: var(--brand-2); }
.mark {
	display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 11px;
	background: var(--brand-soft); color: var(--brand-2); font: 800 .95rem/1 var(--font); letter-spacing: -.02em; flex: none;
}
.cards h2 { font-size: 1.2rem; margin: 22px 0 10px; }
.cards__grid { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.card {
	display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 14px; border-radius: var(--radius);
	background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); box-shadow: var(--shadow);
}
.card:hover { border-color: var(--brand); }
.card__name { font-weight: 700; font-size: 1.05rem; }
.card__sub { font-size: .85rem; color: var(--muted); line-height: 1.35; }

/* --- Article ------------------------------------------------------------- */
.entry { padding-bottom: 16px; }
.entry > * { margin-top: 0; margin-bottom: 1rem; }
.entry h2 { font-size: 1.35rem; line-height: 1.3; margin: 2rem 0 .6rem; letter-spacing: -.01em; }
.entry h3 { font-size: 1.1rem; margin: 1.4rem 0 .4rem; }
.entry ul, .entry ol { padding-left: 1.3rem; }
.entry li { margin-bottom: .35rem; }
.entry figure { margin: 1.2rem 0; }
.entry img { border-radius: 12px; border: 1px solid var(--line); }
.entry figcaption { font-size: .85rem; color: var(--muted); text-align: center; margin-top: 6px; }
.entry .wp-block-table { overflow-x: auto; }
.entry table { width: 100%; border-collapse: collapse; font-size: .93rem; background: var(--surface); }
.entry th, .entry td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.entry thead th { background: #f7faf9; }
.entry code { font-family: var(--mono); font-size: .9em; background: #eef2f1; padding: 1px 5px; border-radius: 5px; }
.coc-draft-note, .coc-shot {
	border: 2px dashed #c9b27a; background: var(--accent-soft); border-radius: 12px; padding: 12px 14px; color: #6b5114; font-size: .95rem;
}
.coc-shot { border-color: #9fb9b3; background: #f1f7f5; color: var(--ink-2); text-align: center; padding: 22px 14px; }
.featured { margin: 0 auto 16px; }
.featured img { border-radius: var(--radius); }

/* --- Footer -------------------------------------------------------------- */
.site-footer { background: #10201e; color: #c9d6d3; padding: 26px 0 34px; margin-top: 24px; font-size: .9rem; }
.site-footer a { color: #fff; }
.footer__list { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 6px; }
.footer__list a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 10px; border-radius: 8px; text-decoration: none; background: rgba(255,255,255,.06); }
.footer__aff { font-weight: 600; color: #fff; }
.disclaimer, .footer__copy { color: #9fb2ae; }
.footer__copy a { color: #c9d6d3; text-decoration: underline; text-decoration-color: rgba(201,214,211,.4); text-underline-offset: 2px; }
.footer__copy a:hover { color: #fff; }
.footer__credit, .footer__contact { white-space: nowrap; }

/* --- Misc pages ---------------------------------------------------------- */
.post-list { list-style: none; padding: 0; }
.post-list li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.notfound__list { list-style: none; padding: 0; display: grid; gap: 6px; }
.notfound__list a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; text-decoration: none; }
.search-form { display: flex; gap: 8px; margin: 16px 0; }
.search-form input { flex: 1; min-height: var(--tap); border: 2px solid var(--line); border-radius: 12px; padding: 0 12px; font: inherit; }

/* --- Larger screens ------------------------------------------------------ */
@media (min-width: 640px) {
	.calc { padding: 22px; }
	.methods { grid-template-columns: 1fr 1fr; }
	.result__grid { grid-template-columns: repeat(3, 1fr); }
	.result__vat { grid-column: auto; }
	.cards__grid { grid-template-columns: repeat(3, 1fr); }
	.calc__form--inline { grid-template-columns: 1fr; }
}
@media (min-width: 900px) {
	.wrap { max-width: 820px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* --- Method groups (cash out / to bank / add money) ---------------------- */
.methods--grouped { grid-template-columns: 1fr !important; gap: 12px; }
.mgroup { display: grid; gap: 8px; }
.mgroup__h {
	margin: 2px 0 0; font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted);
	display: flex; align-items: center; gap: 8px;
}
.mgroup__h::after { content: ""; flex: 1; height: 1px; background: var(--line); }
html[lang^="bn"] .mgroup__h { text-transform: none; letter-spacing: 0; font-size: .88rem; }
@media (min-width: 640px) {
	.mgroup { grid-template-columns: 1fr 1fr; }
	.mgroup__h { grid-column: 1 / -1; }
}
.badge--cap { background: #fff1d6; color: #7a4a00; border: 1px solid #f1d39a; margin-left: 6px; }
.method__body .badge--cap { align-self: flex-start; margin: 2px 0 0; }
.seg[disabled] { opacity: .55; }
.seg[disabled] .seg__opt span { cursor: not-allowed; }
.seg__na { margin: -2px 0 2px; font-size: .82rem; color: var(--muted); }
.result__cap { margin: 8px 0 0; font-size: .88rem; color: #7a4a00; background: #fff6e3; border-radius: 8px; padding: 6px 10px; }
.result__actions { display: flex; align-items: center; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.result__actions .btn { gap: 6px; }
.result__copied { font-size: .88rem; color: var(--good); font-weight: 600; }
.result__tip { margin: 6px 0 0; font-size: .8rem; color: var(--muted); }
.btn--ghost { background: #fff; border-color: var(--line); color: var(--brand-2); }
.btn--ghost:hover { border-color: var(--brand); }
.btn--sm { min-height: 40px; padding: 0 14px; font-size: .92rem; }
.print-only { display: none; }

/* --- Light wallet accents (colour only; no logos or wordmarks) ----------- */
.brand-bkash  { --w: #e2136e; --w-ink: #a50e51; --w-wash: #fdf2f7; }
.brand-nagad  { --w: #f47321; --w-ink: #a84a0c; --w-wash: #fff6ee; }
.brand-rocket { --w: #8c3494; --w-ink: #6e2875; --w-wash: #f7f0f9; }
.brand-upay   { --w: #00a19a; --w-ink: #00706b; --w-wash: #f0faf7; }
.brand-pathao { --w: #e23744; --w-ink: #b01e2a; --w-wash: #fdf3f3; }
.has-brand .site-header { border-bottom: 3px solid var(--w); }
.has-brand .page-head { background: linear-gradient(180deg, var(--w-wash), rgba(255,255,255,0)); border-radius: 0 0 var(--radius) var(--radius); }
.has-brand .eyebrow {
	display: inline-flex; align-items: center; gap: 6px; margin: 0 0 6px; font-size: .82rem; font-weight: 700; color: var(--w-ink);
	background: #fff; border: 1px solid var(--w); border-radius: 999px; padding: 2px 10px 2px 8px;
}
.has-brand .eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--w); }
.has-brand .calc { border-top: 4px solid var(--w); }
.has-brand .method input:checked + .method__body { border-color: var(--w); background: var(--w-wash); }
.has-brand .method input:checked + .method__body::before { border-color: var(--w); background: var(--w); }
.has-brand .result { background: linear-gradient(180deg, #fff, var(--w-wash)); border-color: color-mix(in srgb, var(--w) 25%, #fff); }
.has-brand .result__fee { color: var(--w-ink); }
.has-brand .chip.is-active { border-color: var(--w); color: var(--w-ink); background: var(--w-wash); }
.has-brand .amount:focus-within { border-color: var(--w); }
.has-brand .seg__opt input:checked + span { color: var(--w-ink); }

/* --- Print: a one-page charge sheet for the current calculation ------- */
@media print {
	@page { size: A4; margin: 16mm 16mm 14mm; }
	html, body { background: #fff !important; font-size: 11pt; color: #000; }
	.staging-bar, .site-header, .nav, .site-footer, .skip-link, .chips, .no-js-only, .js-only,
	.calc__form, .entry, .page-head, .featured, .cards, .coc-draft-note, .compare__h, .compare-wrap { display: none !important; }
	.print-only { display: block !important; }
	.calc { box-shadow: none !important; border: 0 !important; padding: 0 !important; margin: 0 !important; background: #fff !important; }
	/* Calculator pages: print only the charge sheet. */
	.calc[data-coc="cashout"] { display: block !important; }
	.calc[data-coc="cashout"] > :not(.psheet), .calc[data-coc="cashout"] ~ .ratetable { display: none !important; }
	.wrap { max-width: none !important; padding: 0 !important; }
	a { color: #000 !important; text-decoration: none; }
	.table-wrap { overflow: visible !important; }

	.psheet { max-width: 172mm; margin: 0 auto; line-height: 1.45; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
	.psheet__head { border-bottom: 3pt solid var(--w); padding-bottom: 8pt; margin-bottom: 14pt; }
	.psheet__site { margin: 0; font-size: 11pt; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--w-ink); }
	.psheet__title { margin: 2pt 0 2pt; font-size: 21pt; line-height: 1.2; }
	.psheet__date { margin: 0; font-size: 10pt; color: #333; }
	.psheet__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8pt 18pt; margin: 0 0 14pt; }
	.psheet__facts div { break-inside: avoid; }
	.psheet__facts dt { font-size: 8.5pt; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #555; }
	html[lang^="bn"] .psheet__facts dt { text-transform: none; letter-spacing: 0; font-size: 9.5pt; }
	.psheet__facts dd { margin: 1pt 0 0; font-size: 12pt; }
	.psheet__rate { display: block; font-size: 9.5pt; color: #444; }
	.psheet__in dd { font-size: 15pt; font-weight: 800; font-variant-numeric: tabular-nums; }
	.psheet__amounts { width: 100%; border-collapse: collapse; border: 1pt solid #888; margin: 0 0 10pt; break-inside: avoid; }
	.psheet__amounts th, .psheet__amounts td { padding: 8pt 12pt; border-bottom: .75pt solid #ccc; text-align: left; font-size: 11.5pt; }
	.psheet__amounts td { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
	.psheet__l--fee td { font-size: 16pt; color: var(--w-ink); }
	.psheet__l--vat th, .psheet__l--vat td { padding-left: 26pt; font-size: 10pt; font-weight: 400; color: #333; }
	.psheet__l--total th, .psheet__l--total td { background: var(--w-wash); border-top: 1.5pt solid #000; border-bottom: 0; font-size: 13pt; font-weight: 800; }
	.psheet__formula { margin: 0 0 8pt; font: 9.5pt var(--mono); color: #333; }
	.psheet__cap, .psheet__note { margin: 0 0 6pt; padding: 3pt 0 3pt 9pt; border-left: 3pt solid var(--w); font-size: 10pt; }
	.psheet__foot { margin-top: 14pt; padding-top: 8pt; border-top: 1pt solid #999; font-size: 9pt; color: #222; break-inside: avoid; }
	.psheet__foot p { margin: 2pt 0; }
	.psheet__foot a::after { content: " (" attr(href) ")"; font-size: 8pt; word-break: break-all; }
	.psheet__foot a[data-out="p-src"]::after { content: none; }
	.psheet__disc { margin-top: 8pt !important; padding-top: 6pt; border-top: .75pt solid #bbb; font-weight: 700; }
}
