/*
 * alavi-vojuhat 0.4.0 — visitor UI (and the staff cash form), from the owner-approved design board; the staff panel is av-panel.css (0.4.22)
 * (claude.ai artifact 6jYdg5miNCsyq3b1Btbtdf, 2026-11-18). Tokens = 11's shared
 * kit (REQ-20261118-1040/1110). Everything is scoped under .av so the theme is
 * never touched. Optical centring for the Abar font is MANDATORY (owner): text on
 * buttons, chips, tabs and badges is centred horizontally AND vertically, per
 * script (measured in Chromium).
 */
/* 0.4.27 (owner's visual identity board, 01 REQ-20261120-1331): one face, «ابر», from core 0.3.16 — this plugin ships
   no font. Core declares «AC Abar» (full cut, Latin digits) and «AC Abar FaNum» (Persian digits) with its kit on every
   vojuhat page; inside .ac-portal core sets the face itself. Persian pages: FaNum; Arabic / English pages and every
   left-to-right island (payment number, card, IBAN, phone, codes): the full cut. */
.av {
	--av-font: "AC Abar FaNum", "Abar Low FaNum", "AC Abar", "Abar Low", Tahoma, sans-serif;
	--av-font-ltr: "AC Abar", "Abar Low", Tahoma, sans-serif;
	--soft: #FAF6F0; --gold: #CC9952; --gold-ink: #8F6128; --gold-line: #DCBF94; --brown: #9C6B2E; --brown-h: #86592A;
	--ink: #2B2A28; --ink-2: #53524F; --muted: #6E685E; --line: #E6DBCB; --field: #D9CCB8;
	--err: #8C1D18; --err-bg: #FDF1F0; --ok: #1F5A2C; --ok-bg: #DFF0E2; --warn: #6B4A07; --warn-bg: #FBEBC8;
	--green: #2F6B45; --green-ink: #24543A;
	font-family: var(--av-font); color: var(--ink); direction: rtl; text-align: right; font-size: 15px; line-height: 1.9;
}
.av[dir=ltr], .av.en { direction: ltr; text-align: left; }
.av.ar, .av.en { --av-font: var(--av-font-ltr); }
.av *, .av *::before, .av *::after { box-sizing: border-box; }
.av [hidden] { display: none !important; }
.av button, .av input, .av textarea, .av select { font-family: inherit; }
.av-ltr { direction: ltr; unicode-bidi: isolate; font-variant-numeric: tabular-nums; }
.av :is(.av-ltr, .ac-ltr, bdi, [dir="ltr"]), .av :is(.av-ltr, .ac-ltr, bdi, [dir="ltr"]) * { font-family: var(--av-font-ltr); }
.av-wrap { max-width: 948px; margin: 0 auto; padding: 24px 16px 48px; display: flex; flex-direction: column; gap: 18px; }
.av-m .av-wrap { padding: 16px 12px 32px; gap: 14px; }
/* Owner 2026-11-19 (01 REQ-20261119-0215): on desktop the body is exactly as wide as the bar and the site header (996 px, core); no own inset. */
@media (min-width: 1025px) { .av .av-wrap { max-width: none; padding-inline: 0; } }
.av-h1 { font-size: 22px; font-weight: 700; margin: 0; color: var(--ink); text-align: center; line-height: 1.6; }
.av-h1 .av-ltr { white-space: nowrap; display: inline-block; } /* 0.4.13: the payment number never splits across lines. */
.av-lead { margin: 0; color: var(--ink-2); font-size: 14px; text-align: center; }
.av-head { display: flex; flex-direction: column; gap: 4px; }

/* step pills */
.av-steps { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; justify-content: center; font-size: 13px; color: var(--muted); margin: 0; padding: 0; list-style: none; }
.av-step { display: flex; align-items: center; gap: 6px; padding: 8px 10px 4px 12px; border-radius: 999px; border: 1px solid var(--line); line-height: 1.2; }
.av-step b { display: inline-flex; box-sizing: border-box; width: 22px; height: 22px; border-radius: 50%; align-items: center; justify-content: center; background: var(--soft); font-weight: 600; font-size: 12px; color: var(--ink-2); line-height: 1; padding-top: .42em; position: relative; top: -2px; flex: 0 0 auto; }
.av-step.on { border-color: var(--gold); color: var(--ink); background: #fff; }
.av-step.on b { background: var(--brown); color: #fff; }
.av-step.done b { background: var(--ok-bg); color: var(--ok); }
/* 0.4.34 review page: core 0.3.23 markup (.ac-rv, .ac-ck, .ac-warn, .ac-tel) styles it; only the layout here. */
.av-review { display: flex; flex-direction: column; gap: 16px; }
.av-help.center { text-align: center; }

/* cards, columns, fields */
.av-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 1px 2px rgba(60,40,10,.05), 0 8px 24px rgba(60,40,10,.05); }
.av-m .av-card { padding: 16px; }
.av-card h2 { font-size: 17px; font-weight: 700; margin: 0; line-height: 1.6; }
.av-card h3 { font-size: 15px; font-weight: 600; margin: 0; }
.av-cols { display: flex; gap: 18px; flex-wrap: wrap; align-items: flex-start; }
.av-main { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.av-side { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.av-field { display: flex; flex-direction: column; gap: 6px; }
.av-label { font-size: 13px; font-weight: 600; color: var(--ink-2); margin: 0; }
.av-label i { color: var(--gold-ink); font-style: normal; }
.av-input { height: 48px; border: 1px solid var(--field); border-radius: 12px; background: #fff; padding: 8px 12px; font-size: 15px; color: var(--ink); width: 100%; max-width: 100%; margin: 0; }
.av textarea.av-input { height: auto; min-height: 76px; line-height: 1.8; }
.av-input.big { height: 54px; font-size: 20px; font-weight: 600; }
.av-input.bad { border-color: var(--err); background: var(--err-bg); }
.av-input:focus { outline: 0; border-color: var(--brown); box-shadow: 0 0 0 3px rgba(204,153,82,.25); }
.av-help { font-size: 12.5px; color: var(--muted); margin: 0; }
.av-errt { font-size: 12.5px; color: var(--err); font-weight: 600; margin: 0; }
.av-words { background: var(--soft); border: 1px dashed var(--gold-line); border-radius: 12px; padding: 8px 12px; font-size: 14px; color: var(--ink-2); }
.av-words b { color: var(--ink); }
.av-words.left { text-align: left; }
.av-note { font-size: 12px; color: var(--muted); margin: 0; }

/* buttons, chips, badges — optical centring (owner rule) */
.av-btn, .av-chip, .av-badge, .av-pill { text-align: center; justify-content: center; align-items: center; }
.av-btn { display: inline-flex; gap: 8px; min-height: 46px; padding: .3em 20px 0; border-radius: 12px; font-size: 15px; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer; border: 1px solid transparent; margin: 0; }
/* 0.4.9: a button with no variant gets the kit's secondary look, never the theme's colours */
.av-btn { background: #fff; color: #7A5222; border-color: var(--gold-line); }
.av-btn:hover { background: #FBF3E6; }
.av-btn.p { background: var(--brown); color: #fff; border-color: var(--brown); }
.av-btn.p:hover { background: var(--brown-h); border-color: var(--brown-h); }
.av-btn.s { background: #fff; color: #7A5222; border-color: var(--gold); }
.av-btn.s:hover { background: #FBF3E6; }
.av-btn.g { background: transparent; color: #7A5222; border-color: transparent; }
.av-btn.danger { background: #FBEDEA; color: #A33A2B; border-color: #A33A2B; }
.av-btn[disabled], .av-btn[disabled]:hover { background: #EDE6DB; color: #9A948A; border-color: #EDE6DB; cursor: not-allowed; }
.av-btn.sm { min-height: 36px; padding: .3em 12px 0; font-size: 13px; }
.av-btn > .av-ico { position: relative; top: -.08em; }
.av-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: space-between; align-items: center; }
.av-actions.end { justify-content: flex-end; }
.av-m .av-actions .av-btn { flex: 1 1 100%; }
.av-m .av-actions .av-btn.p { order: -1; }
.av-chips { display: flex; gap: 8px; flex-wrap: wrap; width: 100%; }
.av-chips > .av-chip { flex: 1 1 0; min-width: max-content; }
.av-chips.wrap > .av-chip { min-width: 0; flex: 1 1 160px; }
.av-chip { display: inline-flex; gap: 6px; min-height: 44px; padding: .3em 16px 0; border-radius: 999px; border: 1px solid var(--field); background: #fff; font-size: 14px; line-height: 1.2; color: var(--ink); cursor: pointer; margin: 0; }
.av-chip.on { border-color: var(--gold); background: #FBF3E6; font-weight: 600; box-shadow: inset 0 0 0 1px var(--gold); }
.av-chip:focus-visible, .av-btn:focus-visible, .av-tile:focus-visible, .av-pill:focus-visible { outline: 2px solid var(--brown); outline-offset: 2px; }
.av-badge { display: inline-flex; gap: 6px; padding: calc(4px + .25em) 12px 4px; border-radius: 999px; font-size: 12.5px; font-weight: 600; white-space: nowrap; line-height: 1.2; }
.av-badge.wait { background: var(--warn-bg); color: var(--warn); }
.av-badge.ok { background: var(--ok-bg); color: var(--ok); }
.av-badge.err { background: var(--err-bg); color: var(--err); }
.av-badge.info { background: #FCE3D3; color: #8A3B0E; }
.av-badge.dark { background: var(--ink); color: #F4E3C3; }
.av-badge.green { background: var(--green); color: #fff; }
.av-ico { width: 20px; height: 20px; flex: 0 0 auto; }
/* Arabic / English optical centring (each script its own nudge; re-measured 2026-11-20 with core's «ابر»: ink within ±1px) */
.av.ar .av-btn { padding-top: 0; }
.av.ar .av-chip, .av.ar .av-pill { padding-top: .2em; }
.av.ar .av-badge { padding-top: calc(4px + .15em); }
.av.ar .av-btn > .av-ico { top: -.05em; }
.av.en .av-btn, .av.en .av-chip, .av.en .av-pill { padding-top: .3em; }
.av.en .av-badge { padding-top: calc(4px + .15em); }
.av.en .av-btn > .av-ico { top: -.15em; }

/* alerts, key/value, totals */
.av-alert { border-radius: 12px; padding: 12px 14px; font-size: 14px; display: flex; gap: 10px; align-items: flex-start; line-height: 1.8; border: 1px solid; margin: 0; }
.av-alert.info { background: #FBF4E8; border-color: #EAD3AE; color: #5E4416; }
.av-alert.ok { background: #EEF7EF; border-color: #BFDDC4; color: var(--ok); }
.av-alert.err { background: var(--err-bg); border-color: #F0C6C2; color: var(--err); }
.av-alert.warn { background: #FFF6E5; border-color: #F0D49A; color: var(--warn); }
.av-kv { display: flex; flex-direction: column; }
.av-kv > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid #EFE8DD; font-size: 14px; }
.av-kv > div:last-child { border-bottom: 0; }
.av-kv span { color: var(--muted); }
.av-kv b { font-weight: 600; text-align: left; }
.av.en .av-kv b { text-align: right; }
.av-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 10px; border-top: 2px solid var(--gold-line); }
.av-total b { font-size: 20px; }

/* waiting: the core kit's block (ac-wc) and dots (ac-wd), never our own copy (01 REQ-20261119-0230).
   .av-kit only resets the portal shell spacing that .ac-portal brings, so the kit can sit anywhere. */
.ac-portal.av-kit { max-width: none; margin: 0; padding: 24px 0; display: flex; justify-content: center; background: none; }
/* step and section motion (REQ-0410 #3): 220 ms ease-out, nothing for reduced motion */
@keyframes avEnter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
/* direction-aware page change (owner 2026-11-18): the old page fades out, the new one slides in
   from the side the visitor is going to (forward = toward the reading end; back = the other). */
@keyframes avFromEnd { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
@keyframes avFromStart { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes avLeave { from { opacity: 1; } to { opacity: 0; } }
.av-view { position: relative; }
.av-wrap.av-leave { position: absolute; inset: 0 0 auto 0; pointer-events: none; animation: avLeave .18s ease-in both; }
.av-wrap.av-fwd > *:not(.av-steps) { animation: avFromEnd .26s ease-out both; }
.av-wrap.av-bwd > *:not(.av-steps) { animation: avFromStart .26s ease-out both; }
.av[dir=ltr] .av-wrap.av-fwd > *:not(.av-steps), .av.en .av-wrap.av-fwd > *:not(.av-steps) { animation-name: avFromStart; }
.av[dir=ltr] .av-wrap.av-bwd > *:not(.av-steps), .av.en .av-wrap.av-bwd > *:not(.av-steps) { animation-name: avFromEnd; }
@keyframes avOpen { from { opacity: 0; transform: translateY(-6px); clip-path: inset(0 0 100% 0 round 12px); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round 12px); } }
.av-wrap.av-enter > *:not(.av-steps) { animation: avEnter .22s ease-out both; }
.av-subpanel.av-open-anim { animation: avOpen .2s ease-out both; }
.av-reveal { animation: avEnter .2s ease-out both; }
@media (prefers-reduced-motion: reduce) { .av-wrap.av-enter > *, .av-wrap.av-fwd > *, .av-wrap.av-bwd > *, .av-subpanel.av-open-anim, .av-reveal { animation: none !important; } .av-wrap.av-leave { display: none; } }

/* page 1: featured boxes, tiles, sub panel, charity */
.av-featrow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.av-featrow.one, .av-m .av-featrow { grid-template-columns: 1fr; }
.av-featbox { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-radius: 14px; padding: 12px 16px; }
.av-feat-gold { background: #FBF3E6; border: 2px solid var(--gold); }
.av-feat-green { background: #EEF5F0; border: 2px solid var(--green); }
.av-featl { display: flex; align-items: center; gap: 10px; min-width: 0; }
.av-featt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.av-featt b { font-size: 16px; font-weight: 700; line-height: 1.5; }
.av-featbox .av-badge, .av-featbox .av-btn { flex: 0 0 auto; }
.av .av-btn.s.av-btn-green { border-color: var(--green); color: var(--green-ink); }
.av .av-btn.s.av-btn-green:hover { background: var(--green); color: #fff; }
.av-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.av-m .av-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.av-tile { border: 1px solid var(--field); border-radius: 12px; background: #fff; padding: 12px; display: flex; flex-direction: column; gap: 2px; align-items: center; justify-content: center; text-align: center; color: var(--ink); min-height: 72px; cursor: pointer; margin: 0; }
.av-tile b { font-size: 15px; line-height: 1.6; }
.av-tile span { font-size: 12px; color: var(--muted); line-height: 1.6; }
.av-tile:hover { border-color: var(--gold); }
.av-tile.on { border-color: var(--gold); background: #FBF3E6; box-shadow: inset 0 0 0 1px var(--gold); }
.av-m .av-tile { padding: 12px 10px; }
.av-m .av-tile > b { font-size: 14px; letter-spacing: -.2px; }
.av-subpanel { grid-column: 1 / -1; position: relative; margin-top: 4px; display: flex; flex-direction: column; gap: 10px; background: var(--soft); border: 1px solid #E6D8C3; border-radius: 12px; padding: 14px; }
.av-subpanel .av-arrow { position: absolute; top: -8px; width: 14px; height: 14px; background: var(--soft); border-top: 1px solid #E6D8C3; border-inline-start: 1px solid #E6D8C3; transform: rotate(45deg); }
.av-good { background: #F1F6F1; border: 1px solid #CFE0D0; border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 90px; transition: box-shadow .6s; }
.av-m .av-good { padding: 16px; }
.av-good h2 { margin: 0; font-size: 17px; font-weight: 700; color: var(--green-ink); }
.av-good-lead { margin: -8px 0 0; font-size: 13px; color: #4F6B57; }
.av-good-grp { display: flex; flex-direction: column; gap: 8px; }
.av-good-gt { font-size: 13px; font-weight: 700; color: #2F5D3A; display: flex; align-items: center; gap: 8px; }
.av-good-gt::after { content: ''; flex: 1; height: 1px; background: #CFE0D0; }
.av-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.av-pill { flex: 1 1 auto; display: inline-flex; min-height: 44px; padding: .3em 14px 0; border-radius: 10px; border: 1px solid #BFD6C2; background: #fff; color: var(--green-ink); font-size: 14px; line-height: 1.2; cursor: pointer; margin: 0; }
.av-pill:hover { border-color: var(--green); }
.av:not(.av-m) .av-pills.four .av-pill { flex-basis: calc(25% - 8px); }
.av-feat-tag { display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; line-height: 1; padding: calc(3px + .25em) 7px 3px; border-radius: 999px; background: var(--green); color: #fff; margin-inline-start: 6px; }
.av.ar .av-feat-tag { padding-top: calc(3px + .15em); }
.av.en .av-feat-tag { padding-top: calc(3px + .4em); }
.av .av-glow { box-shadow: 0 0 0 3px var(--green), 0 0 0 10px rgba(47,107,69,.18); }

/* page 2: path bar, calc, pack */
/* path bar (board B1b, option D, owner 2026-11-18): grid icon at the start, divider, path */
.av-path { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid #E6D8C3; border-radius: 12px; padding: 6px 10px; font-size: 14px; }
.av-path .av-back { flex: 0 0 auto; width: 44px; height: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 10px; background: transparent; color: var(--gold-ink); cursor: pointer; }
.av-path .av-back:hover, .av-path .av-back:focus-visible { background: #F7EFE3; color: var(--gold-ink); }
.av-back svg { width: 20px; height: 20px; flex: 0 0 auto; }
.av-path-sep { flex: 0 0 auto; width: 1px; height: 26px; background: #E6D8C3; }
.av-path-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.av-stepper { display: flex; align-items: center; justify-content: center; gap: 6px; direction: ltr; }
.av-stepper .av-btn { width: 52px; height: 56px; min-height: 56px; padding: 0; font-size: 26px; line-height: 1; }
.av-stepper .av-input { width: 96px; text-align: center; height: 56px; font-size: 24px; font-weight: 700; }
.av-steplabel { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.av-calc { text-align: center; align-items: center; }
.av-calc > h2, .av-calc > .av-help.left { align-self: stretch; text-align: start; }
.av-band { width: 100%; background: var(--ink); color: #FBF8F3; border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 2px; text-align: center; }
.av-band span { font-size: 13px; color: #E9D9BF; }
.av-band b { font-size: 26px; color: #fff; }
.av-band.av-band-off { background: var(--warn-bg); color: var(--warn); border: 1px solid #EBCB85; }
.av-band.av-band-off span { color: var(--warn); }
.av-band.av-band-off b { font-size: 18px; color: var(--warn); }
.av-amount-wrap { position: relative; }
.av-amount-wrap .av-input { padding-inline-end: 72px; }
.av-amount-wrap .av-unit { position: absolute; inset-inline-end: 14px; top: 15px; color: #6B6964; font-size: 15px; }

/* page 3: payment list */
.av-items { display: flex; flex-direction: column; gap: 10px; }
.av-item { border: 1px solid #EFE8DD; border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; background: var(--soft); }
.av-item-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.av-item-top b { font-size: 15px; }
.av-item-top b:last-child { white-space: nowrap; }
.av-item-acts { display: flex; gap: 8px; justify-content: flex-end; }
.av-addmore { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; border: 2px dashed var(--gold); border-radius: 12px; background: transparent; color: #7A5222; font-size: 15px; font-weight: 600; padding-top: .3em; cursor: pointer; line-height: 1.2; }
.av-addmore:hover { background: #FBF3E6; }
.av-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.av-check input { width: 20px; height: 20px; margin-top: 4px; flex: 0 0 auto; accent-color: var(--brown); }

/* page 4: contact rows + OTP */
.av-crow { display: flex; gap: 8px; align-items: center; }
.av-crow .av-input { flex: 1 1 auto; min-width: 0; direction: ltr; text-align: left; }
.av-crow .av-btn, .av-crow .av-badge { flex: 0 0 auto; }
.av-otp { display: flex; gap: 8px; direction: ltr; justify-content: center; }
.av-otp input { width: 46px; height: 52px; text-align: center; font-size: 20px; font-weight: 600; border: 1px solid var(--field); border-radius: 12px; background: #fff; color: var(--ink); padding: 0; }
.av-m .av-otp input { width: 40px; }

/* page 5: method tiles, office account card, notice */
.av-methods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.av-m .av-methods { grid-template-columns: 1fr; }
.av-methods .av-tile { min-height: 76px; }
.av-m .av-methods .av-tile { min-height: 60px; }
.av-methods .av-tile[disabled] { opacity: .55; cursor: not-allowed; }
.av-acc-card { width: 100%; max-width: 520px; margin: 0 auto; background: linear-gradient(180deg, #F8F2E9 0%, #EFE5D6 100%); border: 1px solid #E2D3BC; border-radius: 18px; box-shadow: 0 8px 24px rgba(43,42,40,.08); overflow: hidden; }
.av-acc-logo { display: flex; align-items: center; justify-content: center; padding: 16px 18px 14px; border-bottom: 2px solid #E6D8C3; }
.av-acc-logo img { height: 48px; width: auto; max-width: 70%; display: block; }
.av-acc-body { padding: 6px 18px 0; container-type: inline-size; }
.av-cardrow { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 18px 0 16px; }
/* Numbers fit their own box (REQ-0410 #2): sized from the card width (container units,
   not the viewport, so theme paddings cannot push them out), never wrapped, isolated LTR;
   av-form.js fitNums() shrinks further if a font still overflows. */
.av-acc-num { direction: ltr; unicode-bidi: isolate; white-space: nowrap; word-spacing: .3em; min-width: 0; overflow: hidden; text-overflow: clip; font-variant-numeric: tabular-nums; }
.av-acc-num.av-num-wrap { white-space: normal; line-height: 1.45; overflow: visible; }
.av-cardrow .av-acc-num { font-size: clamp(16px, calc((100cqi - 64px) / 11), 32px); font-weight: 800; color: #262626; letter-spacing: .02em; line-height: 1; padding-top: .4em; }
.av-accrow { display: flex; align-items: center; justify-content: space-between; gap: 6px 10px; padding: 12px 0; border-top: 1px solid #E6D8C3; }
.av-accrow > span:first-child { color: #817D78; font-size: 14px; }
.av-accval { display: flex; align-items: center; gap: 6px; min-width: 0; }
.av-accval .av-acc-num { font-size: clamp(12px, calc((100cqi - 64px) / 17), 19px); font-weight: 700; color: #53524F; line-height: 1; padding-top: .4em; }
.av-copyb { width: 44px; height: 44px; border: 0; background: transparent; color: var(--gold); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex: 0 0 auto; padding: 0; }
.av-accrow .av-copyb { color: #817D78; }
.av-copyb.av-copied { color: var(--green); }
.av-acc-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-top: 1px solid #E6D8C3; }
.av-acc-foot b { font-size: 15px; color: #262626; }
.av-acc-foot span { color: #AEA9A1; font-size: 14px; }
.av-m .av-acc-body { padding: 6px 12px 0; }
.av-m .av-accrow { flex-wrap: wrap; }
.av-m .av-accrow > span:first-child { flex: 1 1 100%; text-align: start; } /* 0.4.24 owner mock f: label above, at the start. */
.av-m .av-accval { flex: 1 1 100%; justify-content: flex-start; direction: ltr; gap: 8px; }
.av-m .av-accval > button { order: -1; }
.av-m .av-cardrow { direction: ltr; justify-content: flex-start; }
.av-m .av-cardrow > button { order: -1; }
.av-m .av-cardrow .av-acc-num { flex: 1 1 auto; text-align: left; }
.av-m .av-aligned .av-cardrow, .av-m .av-aligned .av-accval { flex: 0 0 auto; margin-inline: auto; justify-content: flex-start; }
.av-m .av-aligned .av-cardrow .av-acc-num, .av-m .av-aligned .av-accval .av-acc-num { flex: 0 0 auto; color: #262626; }
.av-m .av-acc-foot { flex-direction: column; justify-content: center; text-align: center; gap: 4px; }
.av-monly { display: none; }
.av-m .av-monly { display: block; text-align: start; color: #817D78; font-size: 14px; padding-top: 14px; }
.av-copy-msg { display: block; font-size: 13px; color: var(--warn); text-align: center; padding-bottom: 8px; }
.av-notice { margin: 0 auto; max-width: 520px; width: 100%; background: #FBF4E8; border: 1px solid #EAD3AE; border-inline-start: 4px solid var(--gold); border-radius: 12px; padding: 10px 14px; }
.av-notice b { display: block; font-size: 14px; color: #5E4416; }
.av-notice ul { margin: 4px 0 0; padding-inline-start: 18px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--ink-2); line-height: 1.9; }

/* proof page (B5) */
.av-drop { position: relative; border: 2px dashed var(--gold-line); border-radius: 16px; background: var(--soft); padding: 22px; text-align: center; display: flex; flex-direction: column; gap: 8px; align-items: center; cursor: pointer; }
.av-drop.has { border-style: solid; border-color: var(--gold); }
.av-drop input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.av-row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.av-m .av-row2 { grid-template-columns: 1fr; }
.av-or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; }
.av-or::before, .av-or::after { content: ''; flex: 1; height: 1px; background: #EFE8DD; }

/* status timeline (B6) */
.av-timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.av-timeline li { display: flex; gap: 12px; align-items: flex-start; position: relative; padding-bottom: 14px; }
.av-timeline li:last-child { padding-bottom: 0; }
.av-timeline li::before { content: ''; width: 14px; height: 14px; border-radius: 50%; background: #E6DBCB; flex: 0 0 auto; margin-top: 7px; position: relative; z-index: 1; }
.av-timeline li::after { content: ''; position: absolute; inset-inline-start: 6px; top: 22px; bottom: 0; width: 2px; background: #EFE8DD; }
.av-timeline li:last-child::after { display: none; }
.av-timeline li.done::before { background: var(--green); }
.av-timeline li.on::before { background: var(--gold); box-shadow: 0 0 0 4px rgba(204,153,82,.25); }
.av-timeline small { display: block; color: var(--muted); font-size: 12.5px; }

/* receipt card (B6 receipt + B7 /v/) */
.av-rc-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.av-rc-head img { height: 46px; width: auto; display: block; }
.av-rc-head h2 { font-size: 20px; }

/* my payments (B8) */
.av-mine { display: flex; flex-direction: column; gap: 12px; }
/* list card (REQ-20261118-0935, same as core «پروندهٔ من»): number + status, subject, date + details; 5 px status edge on the LEFT */
.av-mine-row { position: relative; overflow: hidden; border: 1px solid #EFE8DD; border-radius: 14px; padding: 14px; padding-inline-start: 18px; display: flex; flex-direction: column; gap: 8px; background: #fff; }
/* REQ-0950-02: the status strip sits on the start edge (right in fa/ar, left in en). */
.av-mine-row::before { content: ''; position: absolute; top: 0; bottom: 0; inset-inline-start: 0; width: 5px; background: #E9C66F; }
.av-mine-row.av-edge-ok::before { background: #8CC596; }
.av-mine-row.av-edge-act::before { background: #EBA57D; }
.av-mine-row.av-edge-done::before { background: #D9D2C7; }
.av-mine-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "no chip" "sub sub" "date open"; align-items: center; gap: 8px 10px; }
.av-mine-no { grid-area: no; justify-self: start; font-size: 15px; font-weight: 700; white-space: nowrap; }
.av-mine-sub { grid-area: sub; font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.av-mine-date { grid-area: date; font-size: 12px; color: var(--muted); justify-self: start; white-space: nowrap; }
.av-mine-chip { grid-area: chip; justify-self: end; }
.av-mine-head .av-mine-open { grid-area: open; justify-self: end; }
@media (min-width: 720px) {
	/* Fixed outer columns so number, chip and button line up from row to row. */
	.av-mine-head { grid-template-columns: 10em minmax(0, 1fr) 10.5em auto; grid-template-areas: "no sub chip open" "no date chip open"; gap: 2px 16px; }
	.av-mine-no { font-size: 17px; }
	.av-mine-chip { justify-self: center; }
	.av-mine-no { align-self: center; }
	.av-mine-date { align-self: start; }
}
.av-mine-open { min-height: 40px; background: #fff; border: 1px solid var(--gold); }
.av-mine-more { display: flex; flex-direction: column; gap: 10px; border-top: 1px dashed #E6D8C3; padding-top: 10px; }
.av-mine-acts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
/* phone and email values left-aligned; Persian placeholders stay on the right (REQ-0935) */
.av input[type=tel], .av input[type=email], .av input[inputmode=tel], .av input[inputmode=email] { direction: ltr; text-align: left; }
.av input[type=tel]:placeholder-shown, .av input[type=email]:placeholder-shown { text-align: left; }

/* Jalali date picker of the proof page (no future days) */
.av-cal { position: absolute; top: 100%; inset-inline-start: 0; z-index: 30; margin-top: 6px; width: 300px; max-width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 8px 24px rgba(60,40,10,.14); padding: 10px; }
.av-cal-hd { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.av-cal-hd .av-btn { width: 36px; padding: 0; font-size: 20px; }
.av-cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; } /* 0.4.23.5: minmax(0,…) — theme button widths must not push the 7th (Friday) column out of the box at 360 px. */
.av-cal-w { font-size: 12px; color: var(--muted); }
.av-cal-d { height: 34px; border-radius: 8px; border: 1px solid transparent; background: var(--soft); cursor: pointer; font-size: 14px; padding-top: .25em; color: var(--ink); }
.av-cal-d:hover { border-color: var(--gold); }
.av-cal-d.today { border-color: var(--gold); font-weight: 700; }
.av-cal-d[disabled] { background: transparent; color: #C9C2B6; cursor: not-allowed; }

/* 0.4.9 — cash at the office: success screen (REQ-0410 #4) */
.av-cash-done { align-items: center; text-align: center; gap: 10px; }
.av-cash-ok { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.av-cash-ok .av-ico { width: 44px; height: 44px; padding: 9px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); }
.av-cash-label { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.av-cash-no { margin: 0; font-size: clamp(24px, 7vw, 34px); font-weight: 800; letter-spacing: .04em; line-height: 1.3; color: var(--ink); background: var(--soft); border: 1px dashed var(--gold-line); border-radius: 12px; padding: 10px 18px 4px; white-space: nowrap; }
.av-cash-hint { margin: 0; font-weight: 600; color: var(--gold-ink); }
.av-cash-done .av-total { align-self: stretch; align-items: flex-start; }
.av-amt { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: left; }
.av[dir=ltr] .av-amt, .av.en .av-amt { align-items: flex-start; text-align: right; }
.av-amt small { font-size: 13px; font-weight: 400; color: var(--muted); }
.av-cash-until { margin: 0; align-self: stretch; background: var(--soft); border-radius: 10px; padding: 8px 12px; font-size: 14px; }
.av-cash-until b { white-space: nowrap; }
.av-office { align-self: stretch; text-align: start; }
.av-office > div { flex-wrap: wrap; align-items: baseline; }
.av-office-phones { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.av-office-phones a { color: var(--ink); font-weight: 700; text-decoration: none; }
.av-cash-done-list { display: flex; flex-direction: column; gap: 14px; }
.av-cash-failed .av-kv .av-ltr { white-space: nowrap; flex: 0 0 auto; }
.av-cash-failed .av-kv b { font-weight: 600; text-align: end; }
@media print {
	body * { visibility: hidden !important; }
	#av-cash-done, #av-cash-done * { visibility: visible !important; }
	#av-cash-done { position: absolute; inset: 0 0 auto 0; display: block; }
	#av-cash-done .av-cash-done { box-shadow: none; border: 1px solid #ccc; break-inside: avoid; page-break-inside: avoid; margin: 0 0 12px; animation: none; }
	#av-cash-done .av-cash-done + .av-cash-done { break-before: page; page-break-before: always; }
}

/* نماز و روزهٔ استیجاری (board Istijari-Options): desktop two rows, mobile two stacked boxes */
.av-ist-main { display: flex; flex-direction: column; gap: 18px; width: 100%; }
.av-ist { gap: 16px; }
.av-ist-t { font-weight: 700; }
.av-ist-boxes { display: flex; flex-direction: column; gap: 12px; }
.av-ist-box { display: flex; align-items: center; gap: 18px; border: 1px solid var(--gold); background: #FBF3E6; border-radius: 14px; padding: 18px 22px; }
.av-ist-t { font-size: 20px; min-width: 64px; text-align: center; }
.av-ist-units { flex: 1 1 auto; display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
.av-ist-unit { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 140px; }
.av-ist-unit .av-stepper .av-btn { width: 44px; height: 44px; min-height: 44px; font-size: 22px; background: #fff; }
.av-ist-unit .av-stepper .av-input { width: 56px; height: 44px; text-align: center; font-size: 19px; font-weight: 700; padding: 0; }
.av-ist-sum { flex: 0 0 auto; min-width: 160px; display: flex; flex-direction: column; align-items: center; gap: 2px; border-inline-start: 1px dashed #DCBF94; padding-inline-start: 16px; }
.av-ist-sum b { font-size: 18px; white-space: nowrap; }
.av-ist-both { align-self: center; }
.av-center { text-align: center; margin: 0; }
.av-ist-info { background: #FBF8F3; border: 1px solid #E6D6BD; border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--ink-2); }
.av-ist-info b { color: var(--ink); font-weight: 700; }
.av-band .av-band-sub { font-size: 12px; color: #CFC3AF; }
.av-m .av-ist-box { flex-direction: column; padding: 16px 12px; gap: 14px; }
.av-m .av-ist-t { font-size: 18px; }
.av-m .av-ist-units { flex-direction: column; align-items: center; gap: 14px; }
.av-m .av-ist-sum { align-self: stretch; border-inline-start: 0; padding-inline-start: 0; border-top: 1px dashed #DCBF94; padding-top: 10px; }

.av-otp-box { display: flex; flex-direction: column; gap: 10px; }
.av-otp-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 14px; }
.av-otp-life { color: var(--ink-2); }
.av-otp-meta .av-ltr { font-variant-numeric: normal; letter-spacing: 0; }
.av-otp-again { background: none; border: 0; padding: 8px 0; min-height: 44px; color: var(--gold-ink); font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; }
.av-otp-again:disabled { color: var(--muted); text-decoration: none; cursor: default; }


/* 0.4.14 (owner 2026-11-18): «پرداخت‌های من» = exactly the «پروندهٔ من» list card of the core
   board (11, My.dc.html / MyM.dc.html): strip 5 px, number, title + date, the status chip right
   next to the buttons (fixed 16 px gap), the action button beside «مشاهدهٔ جزئیات». */
.av .av-mine { display: flex; flex-direction: column; gap: 12px; }
.av.av-m .av-mine { gap: 10px; }
.av .av-mine-row { display: block; position: relative; overflow: hidden; background: #fff; border: 1px solid #E6DBCB; border-radius: 16px; box-shadow: 0 1px 2px rgba(60, 40, 10, .05), 0 8px 24px rgba(60, 40, 10, .05); padding: 16px 20px; padding-inline-start: 25px; }
.av.av-m .av-mine-row { border-radius: 14px; padding: 14px 16px; padding-inline-start: 21px; }
.av .av-mine-row::before { width: 5px; }
.av .av-mine-head { display: grid; grid-template-columns: max-content minmax(0, 1fr) auto auto; grid-template-areas: "no title chip acts" "no date chip acts"; column-gap: 16px; row-gap: 0; align-items: center; }
.av .av-mine-top, .av .av-mine-mid { display: contents; }
/* Phones (owner 2026-11-18): number top-right · small chip top-left; title · date facing
   each other; buttons below — three rows that never overlap. */
.av.av-m .av-mine-head { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.av.av-m .av-mine-top, .av.av-m .av-mine-mid { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; }
.av.av-m .av-mine-no { font-size: 16px; min-width: 0; flex: 0 0 auto; }
.av.av-m .av-mine-chip { height: 24px; padding: 2px 10px 0; font-size: 12px; min-width: 0; max-width: 60%; overflow: hidden; text-overflow: ellipsis; display: inline-block; line-height: 22px; }
.av.av-m .av-mine-sub { flex: 1 1 auto; min-width: 0; }
.av.av-m .av-mine-date { flex: 0 0 auto; }
.av.av-m .av-mine-acts { width: 100%; }
.av.av-m .av-mine-acts .av-btn { flex: 1 1 0; }
.av .av-mine-no { grid-area: no; justify-self: start; font-size: 17px; font-weight: 700; color: #2B2A28; min-width: 64px; }
.av .av-mine-sub { grid-area: title; font-size: 14px; font-weight: 500; color: #2B2A28; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.av .av-mine-date { grid-area: date; font-size: 13px; color: #6E685E; justify-self: start; white-space: nowrap; direction: inherit; }
.av .av-mine-chip { grid-area: chip; justify-self: end; display: inline-flex; align-items: center; justify-content: center; height: 28px; padding: 2px 12px 0; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.av .av-mine-chip.c-rev { background: #FBEBC8; color: #6B4A07; }
.av .av-mine-chip.c-ans { background: #DFF0E2; color: #1F5A2C; }
.av .av-mine-chip.c-info { background: #FCE3D3; color: #8A3B0E; }
.av .av-mine-chip.c-off { background: #ECE8E2; color: #5E5850; }
.av .av-mine-chip.c-no { background: #F7E1DF; color: #8C1D18; }
.av .av-mine-acts { grid-area: acts; display: flex; gap: 8px; flex-wrap: nowrap; justify-content: flex-end; }
.av .av-mine-acts .av-btn { min-height: 40px; padding: .3em 16px 0; line-height: 1.2; font-size: 14px; border-radius: 12px; }
.av .av-mine-acts .av-btn.s { background: #fff; color: #7A5222; border: 1px solid #CC9952; }
.av .av-mine-acts .av-btn.p { background: #9C6B2E; color: #fff; border: 1px solid #9C6B2E; }

/* Status page as a timeline (owner 2026-11-18: like the istifta page; dots/line = core board Track.dc.html tokens). */
.av-tl-card { gap: 18px; }
.av-tl-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.av-tl-top h2 { margin: 0; }
.av-tl-top .av-badge { white-space: nowrap; }
.av-badge.act { background: #FCE6D8; color: #9A4A16; }
.av-tl-grid { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 28px; align-items: start; }
.av.av-m .av-tl-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
.av-tl { list-style: none; margin: 0; padding: 0; }
.av-tl li { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 14px; padding-bottom: 18px; }
.av-tl li:last-child { padding-bottom: 0; }
.av-tl li::before { content: ''; position: absolute; top: 28px; bottom: 0; inset-inline-start: 13px; width: 2px; background: #E6DBCB; }
.av-tl li.av-tl-done::before { background: #9C6B2E; }
.av-tl li:last-child::before { display: none; }
.av-tl-dot { width: 28px; height: 28px; box-sizing: border-box; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; padding-top: 2px; position: relative; z-index: 1; }
.av-tl-done .av-tl-dot { background: #9C6B2E; color: #fff; }
.av-tl-now .av-tl-dot { background: #fff; border: 2px solid #9C6B2E; color: #7A5222; }
.av-tl-next .av-tl-dot { background: #EFE8DD; color: #9A948A; }
.av-tl-stop .av-tl-dot { background: #fff; border: 2px solid #8C1D18; color: #8C1D18; }
.av-tl-t { font-weight: 700; font-size: 15px; padding-top: 4px; }
.av-tl-next .av-tl-t { color: #8C857B; font-weight: 600; }
.av-tl-d { font-size: 13px; color: #7A7268; margin-top: 3px; }
.av-tl-now .av-tl-d { color: #8A5A00; }
.av-tl-side { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.av-tl-kv { border-inline-start: 3px solid #E2D3BC; padding: 2px 14px; display: flex; flex-direction: column; gap: 8px; }
.av-tl-kv div { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.av-tl-kv b { white-space: nowrap; }
.av-tl-side .av-amt { margin: 0; font-size: 13px; color: var(--muted); text-align: left; }
.av-tl-note { background: #FBF6EC; border: 1px solid #EFE2C9; border-radius: 12px; padding: 10px 14px; font-size: 14px; line-height: 1.9; display: flex; flex-direction: column; gap: 4px; }
.av-tl-note.act { background: #FDF0E7; border-color: #F1CDB4; }
.av-tl-acts { justify-content: space-between; }
.av.av-m .av-tl-acts { flex-direction: column; }
.av.av-m .av-tl-acts .av-btn { width: 100%; }

/* Staff «متن‌ها»: one label + field per row (0.4.15). */

/* Visually hidden, still read by screen readers (step-1 heading, owner 2026-11-18). */
.av .av-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.av .av-head.av-head-lead .av-lead { margin-top: 0; }

/* ==== 0.4.24 status + combined transfer pages (owner mocks e/i/g/h, f1/f; 01 REQ-20261119-2120 B/C) ==== */
/* Inputs as round as the buttons, one shared value (owner via 01 REQ-20261120-0002; 11 REQ-0401):
   core's --ac-ctl-r, else the button radius. Inside .ac-portal the core's shared field style
   (0.3.14) owns every field (radius, border, height, select chevron, focus, aria-invalid), so
   vojuhat sets field radius only where no portal is around (the /r/ page in the site theme).
   Two classes there beat the theme's input[type=…] rules. */
.av { --av-ctrl-r: var(--ac-ctl-r, 12px); }
.av:not(.ac-portal .av) .av-input, .av:not(.ac-portal .av) .av-otp input { border-radius: var(--av-ctrl-r); }
.av .av-drop, .av .av-btn { border-radius: var(--av-ctrl-r); }
.av-st .av-st-cols { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; align-items: start; }
.av-st .av-st-side { position: sticky; top: var(--av-sticky-top, 16px); } /* 0.4.27: below the site's sticky header (measured in av-proof.js). */
.av-st .av-st-side.av-unstick { position: static; }
.av-m .av-st .av-st-cols, .av-st .av-st-cols { min-width: 0; }
.av-1col .av-st .av-st-cols { grid-template-columns: 1fr; }
.av-1col .av-st .av-st-cols.side-first .av-st-side { order: -1; position: static; }
.av-1col .av-st .av-st-cols:not(.side-first) .av-st-side { position: static; }
.av-st .av-card { padding: 26px 30px; }
.av-m .av-st .av-card { padding: 20px 16px; }
.av-st .av-st-sum { padding: 22px; }
.av-st .av-st-sum h2 { font-size: 17px; margin: 0 0 8px; }
.av-st .av-st-kv > div { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.av-st .av-st-kv b { color: var(--ink); font-weight: 700; }
.av-st .av-st-lines { list-style: none; margin: 6px 0 0; padding: 0; font-size: 13px; }
.av-st .av-st-lines li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; color: var(--ink-2); }
.av-st .av-st-tot { display: flex; justify-content: space-between; gap: 10px; background: var(--soft); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-top: 12px; font-weight: 700; }
/* status page */
.av-st .av-st-top { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.av-st .av-st-ic { width: 64px; height: 64px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.av-st .av-st-ic .av-ico { width: 30px; height: 30px; }
.av-st .av-st-top.warn .av-st-ic { background: #F8E7C9; color: #9C6B2E; }
.av-st .av-st-top.ok .av-st-ic { background: #E3F1E6; color: var(--green); }
.av-st .av-st-top.bad .av-st-ic { background: #F8DEDB; color: var(--err); }
.av-st .av-st-top.info .av-st-ic { background: var(--soft); color: var(--gold-ink); }
.av-st .av-st-chip { display: inline-block; border-radius: 999px; padding: .25em 14px 0; min-height: 30px; font-size: 13px; line-height: 1.9; }
.av-st .warn .av-st-chip { background: #F8E7C9; color: #6B4A07; }
.av-st .ok .av-st-chip { background: #E3F1E6; color: #2F7A45; }
.av-st .bad .av-st-chip { background: #F8DEDB; color: var(--err); }
.av-st .info .av-st-chip { background: var(--soft); color: var(--ink-2); }
.av-st .av-st-reason { background: var(--err-bg); border: 1px solid #F0C6C2; border-radius: 12px; padding: 12px 16px; margin: 16px 0 0; font-size: 14px; color: var(--ink-2); }
.av-st .av-st-reason b { color: var(--ink); font-weight: 700; }
.av-st .av-st-tl { list-style: none; margin: 22px 0; padding: 0; display: flex; flex-direction: column; gap: 16px; position: relative; }
.av-st .av-st-tl::before { content: ''; position: absolute; top: 14px; bottom: 14px; inset-inline-start: 13px; width: 3px; background: var(--line); }
.av-st .av-st-s { display: flex; gap: 14px; align-items: flex-start; position: relative; }
.av-st .av-st-d { display: block; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--line); border: 4px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.av-st .av-st-s.done .av-st-d { background: var(--green); }
.av-st .av-st-s.now .av-st-d { background: var(--gold); box-shadow: 0 0 0 5px #F4E3C8; }
.av-st .av-st-s b { display: block; font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.7; }
.av-st .av-st-s.now b { color: var(--brown); }
.av-st .av-st-s small { display: block; color: var(--muted); font-size: 13px; }
.av-st .av-st-info { background: #FBF4E8; border: 1px solid #EAD3AE; border-radius: 12px; padding: 12px 16px; font-size: 14px; color: #5E4416; }
.av-st .av-actions.center { justify-content: center; }
.av-st .av-actions.center .av-btn { min-width: 220px; }
.av-st .av-help.av-center { margin-top: 12px; font-size: 13px; }
/* combined page */
.av-st .av-st-h1 { text-align: start; }
.av-st .av-st-lead { margin: 6px 0 0; color: var(--ink-2); font-size: 14px; }
.av-st .av-st-sec { display: flex; align-items: center; gap: 10px; margin: 24px 0 14px; font-weight: 700; font-size: 17px; color: var(--ink); }
.av-st .av-st-sec:focus { outline: 0; }
.av-st .av-st-sec .n { width: 30px; height: 30px; border-radius: 50%; background: var(--brown); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; line-height: 1; padding-top: .18em; flex: none; }
.av-st .av-st-sec::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.av-st .av-st-acc { overflow: hidden; display: flex; flex-direction: column; gap: 14px; }
.av-st .av-st-acts { margin-top: 18px; }
.av-st .av-st-later { margin: 14px 0 0; font-size: 14px; color: var(--muted); text-align: start; }
.av-st .av-drop-plus { width: 34px; height: 34px; border-radius: 50%; background: #F3E7D3; color: var(--brown); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 20px; line-height: 1; }
.av-st .av-drop.over { border-color: var(--gold); background: #FBF4E8; }
.av-st .av-opt { color: var(--muted); font-weight: 400; font-size: .92em; }
.av:not(.av-1col) .av-st .av-st-pay .av-acc-card { max-width: 480px; margin-inline: auto; } /* Smaller card beside the summary (owner 2026-11-20). */
.av-m .av-st .av-st-h1 { font-size: 18px; white-space: nowrap; }
.av-m.en .av-st .av-st-h1 { white-space: normal; } /* The English title is longer: it wraps. */
.av-m .av-st .av-st-top .av-h1 { font-size: 20px; }

/* Verified contact card (owner-approved, 11 REQ-20261120-0120): same on desktop and phone. */
.av .av-vcard { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px 12px; border: 1px solid #9CCAA8; background: #F4FAF5; border-radius: 14px; padding: 14px 16px; }
.av .av-vcard-t { grid-column: 1; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); }
.av .av-vcard-t .av-ico { width: 18px; height: 18px; color: var(--gold-ink); }
.av .av-vcard-ok { grid-column: 2; justify-self: end; display: inline-flex; align-items: center; gap: 4px; background: #E3F1E6; color: #2F7A45; border-radius: 999px; padding: .2em 12px 0; font-size: 13px; }
.av .av-vcard-ok .av-ico { width: 14px; height: 14px; }
.av .av-vcard-v { grid-column: 1 / -1; justify-self: end; direction: ltr; unicode-bidi: isolate; font-weight: 700; overflow-wrap: anywhere; max-width: 100%; text-align: left; }
.av-m .av-st .av-st-pay { padding: 18px 10px; } /* Room for a full IBAN on one line on a phone. */
.av-m .av-st .av-st-pay .av-accval .av-acc-num { word-spacing: .08em; letter-spacing: 0; }
.av-m .av-st .av-st-pay .av-acc-body { padding-inline: 8px; }

/* The payment number (0.4.24.4, 01 REQ-20261120-0930 #2): one left-to-right code with Latin
   digits (the full «ابر» cut, 0.4.27), never split across lines. */
.av .av-no, .av.av bdi.av-no { direction: ltr; unicode-bidi: isolate; white-space: nowrap; display: inline-block; font-family: var(--av-font-ltr); font-variant-numeric: lining-nums tabular-nums; letter-spacing: 0; }

/* 0.4.27 (owner): line details open in place on the details page; print / PDF of the official receipt. */
.av-st .av-st-acc-lines { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.av-st .av-st-acc-lines li.av-st-line { display: block; padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.av.av .av-st .av-st-lh, .av.av .av-st .av-st-lh:where(:hover, :focus, :active) { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; cursor: pointer; font: inherit; font-size: 13px; color: var(--ink); background: #fff; }
.av.av .av-st .av-st-lh:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.av.av .av-st .av-st-lh:disabled { cursor: default; }
.av-st .av-st-lh .t { flex: 1; font-weight: 600; }
.av-st .av-st-lh .a { font-weight: 700; white-space: nowrap; }
.av-st .av-st-chev { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--soft); position: relative; }
.av-st .av-st-chev::after { content: ""; position: absolute; inset: 0; margin: auto; width: 7px; height: 7px; border-right: 2px solid var(--gold-ink); border-bottom: 2px solid var(--gold-ink); transform: translateY(-2px) rotate(45deg); transition: transform .2s; } /* Physical sides: points down in both directions. */
.av-st .av-st-lh[aria-expanded="true"] .av-st-chev::after { transform: translateY(1px) rotate(225deg); }
.av-st .av-st-lb { background: #FBF7F1; border-top: 1px solid var(--line); padding: 4px 12px 8px; font-size: 13px; }
.av-st .av-st-lb > div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dashed #E9DCC8; }
.av-st .av-st-lb > div:last-child { border-bottom: 0; }
.av-st .av-st-lb span { color: var(--muted); flex: none; }
.av-st .av-st-lb b { font-weight: 600; text-align: end; }
.av-st .av-st-all { width: 100%; margin-top: 12px; }
.av-st .av-st-info.ok { background: #E3F1E6; border-color: #C5E0CC; color: #1F5A2C; }
.av-st .av-st-rc { flex-direction: column; align-items: stretch; gap: 10px; }
.av-st .av-st-rc .av-btn { width: 100%; }

/* 0.4.27 (owner): verification page — the card is as wide as the page body (the menu bar above);
   the receipt keeps its reading width inside it. */
.av-receipt-public .av-rc-wrap { width: 100%; margin: 0; padding: 0; }
.av-receipt-public .av-rc-card { width: 100%; padding: 26px 18px; }
.av-receipt-public .av-rc-in { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.av-receipt-public .av-rc-words { text-align: start; margin: 0; }
.av-receipt-public .av-rc-foot { margin: 6px 0 0; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 12.5px; color: var(--muted); text-align: center; }

/* 0.4.27.1 (01 REQ-1720 #7): the payment lines keep the board face (a theme font on lists showed
   another «٬» glyph than the total). */
.av-st .av-st-acc-lines li.av-st-line { font-family: var(--av-font); }
/* 0.4.27.1 (01 REQ-1730): inside the portal only the core's bottom padding stays. */
.ac-portal .av .av-wrap { padding-bottom: 0; }

/* ==== theme guard (generated by tests/site/theme-guard.py — do not edit by hand) ==== */
.av.av .av-btn,
.av.av .av-btn:where(:hover, :focus, :active),
.av.av .av-chip,
.av.av .av-chip:where(:hover, :focus, :active),
.av.av .av-pill,
.av.av .av-pill:where(:hover, :focus, :active) { text-align: center; justify-content: center; align-items: center; }
.av.av .av-btn,
.av.av .av-btn:where(:hover, :focus, :active) { display: inline-flex; gap: 8px; min-height: 46px; padding: .3em 20px 0; border-radius: 12px; font-size: 15px; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer; border: 1px solid transparent; margin: 0; }
.av.av .av-btn,
.av.av .av-btn:where(:hover, :focus, :active) { background: #fff; color: #7A5222; border-color: var(--gold-line); }
.av.av .av-btn:hover { background: #FBF3E6; }
.av.av .av-btn.p,
.av.av .av-btn.p:where(:hover, :focus, :active) { background: var(--brown); color: #fff; border-color: var(--brown); }
.av.av .av-btn.p:hover { background: var(--brown-h); border-color: var(--brown-h); }
.av.av .av-btn.s,
.av.av .av-btn.s:where(:hover, :focus, :active) { background: #fff; color: #7A5222; border-color: var(--gold); }
.av.av .av-btn.s:hover { background: #FBF3E6; }
.av.av .av-btn.g,
.av.av .av-btn.g:where(:hover, :focus, :active) { background: transparent; color: #7A5222; border-color: transparent; }
.av.av .av-btn.danger,
.av.av .av-btn.danger:where(:hover, :focus, :active) { background: #FBEDEA; color: #A33A2B; border-color: #A33A2B; }
.av.av .av-btn[disabled],
.av.av .av-btn[disabled]:where(:hover, :focus, :active),
.av.av .av-btn[disabled]:hover { background: #EDE6DB; color: #9A948A; border-color: #EDE6DB; cursor: not-allowed; }
.av.av .av-btn.sm,
.av.av .av-btn.sm:where(:hover, :focus, :active) { min-height: 36px; padding: .3em 12px 0; font-size: 13px; }
.av.av.av-m .av-actions .av-btn,
.av.av.av-m .av-actions .av-btn:where(:hover, :focus, :active) { flex: 1 1 100%; }
.av.av.av-m .av-actions .av-btn.p,
.av.av.av-m .av-actions .av-btn.p:where(:hover, :focus, :active) { order: -1; }
.av.av .av-chips > .av-chip,
.av.av .av-chips > .av-chip:where(:hover, :focus, :active) { flex: 1 1 0; min-width: max-content; }
.av.av .av-chips.wrap > .av-chip,
.av.av .av-chips.wrap > .av-chip:where(:hover, :focus, :active) { min-width: 0; flex: 1 1 160px; }
.av.av .av-chip,
.av.av .av-chip:where(:hover, :focus, :active) { display: inline-flex; gap: 6px; min-height: 44px; padding: .3em 16px 0; border-radius: 999px; border: 1px solid var(--field); background: #fff; font-size: 14px; line-height: 1.2; color: var(--ink); cursor: pointer; margin: 0; }
.av.av .av-chip.on,
.av.av .av-chip.on:where(:hover, :focus, :active) { border-color: var(--gold); background: #FBF3E6; font-weight: 600; box-shadow: inset 0 0 0 1px var(--gold); }
.av.av .av-chip:focus-visible,
.av.av .av-btn:focus-visible,
.av.av .av-tile:focus-visible,
.av.av .av-pill:focus-visible { outline: 2px solid var(--brown); outline-offset: 2px; }
.av.av.av.ar .av-btn,
.av.av.av.ar .av-btn:where(:hover, :focus, :active) { padding-top: 0; }
.av.av.av.ar .av-chip,
.av.av.av.ar .av-chip:where(:hover, :focus, :active),
.av.av.av.ar .av-pill,
.av.av.av.ar .av-pill:where(:hover, :focus, :active) { padding-top: .2em; }
.av.av.av.en .av-btn,
.av.av.av.en .av-btn:where(:hover, :focus, :active),
.av.av.av.en .av-chip,
.av.av.av.en .av-chip:where(:hover, :focus, :active),
.av.av.av.en .av-pill,
.av.av.av.en .av-pill:where(:hover, :focus, :active) { padding-top: .3em; }
.av.av .av-featbox .av-btn,
.av.av .av-featbox .av-btn:where(:hover, :focus, :active) { flex: 0 0 auto; }
.av.av.av .av-btn.s.av-btn-green,
.av.av.av .av-btn.s.av-btn-green:where(:hover, :focus, :active) { border-color: var(--green); color: var(--green-ink); }
.av.av.av .av-btn.s.av-btn-green:hover { background: var(--green); color: #fff; }
.av.av .av-tile,
.av.av .av-tile:where(:hover, :focus, :active) { border: 1px solid var(--field); border-radius: 12px; background: #fff; padding: 12px; display: flex; flex-direction: column; gap: 2px; align-items: center; justify-content: center; text-align: center; color: var(--ink); min-height: 72px; cursor: pointer; margin: 0; }
.av.av .av-tile:hover { border-color: var(--gold); }
.av.av .av-tile.on,
.av.av .av-tile.on:where(:hover, :focus, :active) { border-color: var(--gold); background: #FBF3E6; box-shadow: inset 0 0 0 1px var(--gold); }
.av.av.av-m .av-tile,
.av.av.av-m .av-tile:where(:hover, :focus, :active) { padding: 12px 10px; }
.av.av .av-pill,
.av.av .av-pill:where(:hover, :focus, :active) { flex: 1 1 auto; display: inline-flex; min-height: 44px; padding: .3em 14px 0; border-radius: 10px; border: 1px solid #BFD6C2; background: #fff; color: var(--green-ink); font-size: 14px; line-height: 1.2; cursor: pointer; margin: 0; }
.av.av .av-pill:hover { border-color: var(--green); }
.av.av.av:not(.av-m) .av-pills.four .av-pill,
.av.av.av:not(.av-m) .av-pills.four .av-pill:where(:hover, :focus, :active) { flex-basis: calc(25% - 8px); }
.av.av .av-path .av-back,
.av.av .av-path .av-back:where(:hover, :focus, :active) { flex: 0 0 auto; width: 44px; height: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 10px; background: transparent; color: var(--gold-ink); cursor: pointer; }
.av.av .av-path .av-back:hover,
.av.av .av-path .av-back:focus-visible { background: #F7EFE3; color: var(--gold-ink); }
.av.av .av-stepper .av-btn,
.av.av .av-stepper .av-btn:where(:hover, :focus, :active) { width: 52px; height: 56px; min-height: 56px; padding: 0; font-size: 26px; line-height: 1; }
.av.av .av-addmore,
.av.av .av-addmore:where(:hover, :focus, :active) { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; border: 2px dashed var(--gold); border-radius: 12px; background: transparent; color: #7A5222; font-size: 15px; font-weight: 600; padding-top: .3em; cursor: pointer; line-height: 1.2; }
.av.av .av-addmore:hover { background: #FBF3E6; }
.av.av .av-crow .av-btn,
.av.av .av-crow .av-btn:where(:hover, :focus, :active) { flex: 0 0 auto; }
.av.av .av-methods .av-tile,
.av.av .av-methods .av-tile:where(:hover, :focus, :active) { min-height: 76px; }
.av.av.av-m .av-methods .av-tile,
.av.av.av-m .av-methods .av-tile:where(:hover, :focus, :active) { min-height: 60px; }
.av.av .av-methods .av-tile[disabled],
.av.av .av-methods .av-tile[disabled]:where(:hover, :focus, :active) { opacity: .55; cursor: not-allowed; }
.av.av .av-copyb,
.av.av .av-copyb:where(:hover, :focus, :active) { width: 44px; height: 44px; border: 0; background: transparent; color: var(--gold); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex: 0 0 auto; padding: 0; }
.av.av .av-accrow .av-copyb,
.av.av .av-accrow .av-copyb:where(:hover, :focus, :active) { color: #817D78; }
.av.av .av-copyb.av-copied,
.av.av .av-copyb.av-copied:where(:hover, :focus, :active) { color: var(--green); }
.av.av .av-cal-hd .av-btn,
.av.av .av-cal-hd .av-btn:where(:hover, :focus, :active) { width: 36px; padding: 0; font-size: 20px; }
.av.av .av-cal-d,
.av.av .av-cal-d:where(:hover, :focus, :active) { height: 34px; border-radius: 8px; border: 1px solid transparent; background: var(--soft); cursor: pointer; font-size: 14px; padding-top: .25em; color: var(--ink); }
.av.av .av-cal-d:hover { border-color: var(--gold); }
.av.av .av-cal-d.today,
.av.av .av-cal-d.today:where(:hover, :focus, :active) { border-color: var(--gold); font-weight: 700; }
.av.av .av-cal-d[disabled],
.av.av .av-cal-d[disabled]:where(:hover, :focus, :active) { background: transparent; color: #C9C2B6; cursor: not-allowed; }
.av.av .av-ist-unit .av-stepper .av-btn,
.av.av .av-ist-unit .av-stepper .av-btn:where(:hover, :focus, :active) { width: 44px; height: 44px; min-height: 44px; font-size: 22px; background: #fff; }
.av.av .av-otp-again,
.av.av .av-otp-again:where(:hover, :focus, :active) { background: none; border: 0; padding: 8px 0; min-height: 44px; color: var(--gold-ink); font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; }
.av.av .av-otp-again:disabled { color: var(--muted); text-decoration: none; cursor: default; }
.av.av.av.av-m .av-mine-acts .av-btn,
.av.av.av.av-m .av-mine-acts .av-btn:where(:hover, :focus, :active) { flex: 1 1 0; }
.av.av.av .av-mine-acts .av-btn,
.av.av.av .av-mine-acts .av-btn:where(:hover, :focus, :active) { min-height: 40px; padding: .3em 16px 0; line-height: 1.2; font-size: 14px; border-radius: 12px; }
.av.av.av .av-mine-acts .av-btn.s,
.av.av.av .av-mine-acts .av-btn.s:where(:hover, :focus, :active) { background: #fff; color: #7A5222; border: 1px solid #CC9952; }
.av.av.av .av-mine-acts .av-btn.p,
.av.av.av .av-mine-acts .av-btn.p:where(:hover, :focus, :active) { background: #9C6B2E; color: #fff; border: 1px solid #9C6B2E; }
.av.av.av.av-m .av-tl-acts .av-btn,
.av.av.av.av-m .av-tl-acts .av-btn:where(:hover, :focus, :active) { width: 100%; }
.av.av.av .av-btn,
.av.av.av .av-btn:where(:hover, :focus, :active) { border-radius: var(--av-ctrl-r); }
.av.av .av-st .av-actions.center .av-btn,
.av.av .av-st .av-actions.center .av-btn:where(:hover, :focus, :active) { min-width: 220px; }
.av.av .av-st .av-st-rc .av-btn,
.av.av .av-st .av-st-rc .av-btn:where(:hover, :focus, :active) { width: 100%; }
.av :is(button, a.av-btn, [role=radio], [role=tab]):focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
/* ==== end of theme guard ==== */
