:root{--navy:#0f2744;--navy2:#14345f;--navy3:#0a1f38;--gold:#c8a040;--gold-l:#e8c060;--gold-d:#8a6a1f;
--ink:#1a2635;--muted:#5a6b80;--bg:#f4f6fa;--card:#fff;--hair:#e3e8ef;--hair2:#eef1f5;
--ok:#0d6e3f;--ok-bg:#e8f5ee;--warn:#8a5a00;--warn-bg:#fdf3dc;--bad:#a3271f;--bad-bg:#fdecea;
--up:#a3271f;--down:#0d6e3f;
--f:'Cairo',Tahoma,system-ui,sans-serif;--shadow:0 8px 26px -18px rgba(15,39,68,.4);
--t-bronze:#b0703a;--t-silver:#8a97a8;--t-gold:#c8a040;--t-platinum:#4f7fa8;--t-member:#cfd7e2}
*{box-sizing:border-box}
html,body{margin:0}
body{font-family:var(--f);color:var(--ink);background:var(--bg);line-height:1.8;-webkit-font-smoothing:antialiased;min-height:100vh;display:flex;flex-direction:column}
a{color:var(--navy2)}
img{max-width:100%}
.ltr{direction:ltr;unicode-bidi:isolate}
.num{font-variant-numeric:tabular-nums;white-space:nowrap;direction:ltr;unicode-bidi:isolate}
.wrap{width:100%;max-width:1120px;margin:0 auto;padding:0 16px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.muted{color:var(--muted)}
.small{font-size:13px}

/* ---------- header ---------- */
.top{background:var(--navy3);color:#fff;position:relative;z-index:5}
.top .wrap{display:flex;align-items:center;gap:14px;min-height:64px;flex-wrap:wrap;padding-top:6px;padding-bottom:6px}
.brand{display:flex;align-items:center;gap:10px;color:#fff;text-decoration:none;font-weight:800;font-size:20px;line-height:1.2}
.brand svg{width:30px;height:38px;flex:none}
.brand small{display:block;font-size:11px;font-weight:700;color:var(--gold-l)}
.mainnav{display:flex;gap:2px;flex-wrap:wrap;align-items:center;flex:1}
.mainnav a{color:#d9e2ee;text-decoration:none;font:700 14px var(--f);padding:7px 11px;border-radius:9px}
.mainnav a:hover{background:rgba(255,255,255,.08);color:#fff}
.mainnav a.on{background:rgba(232,192,96,.16);color:#f3d68a}
.usernav{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.usernav form{margin:0}
.usernav .lnk{color:#d9e2ee;text-decoration:none;font:700 14px var(--f);background:none;border:0;cursor:pointer;padding:7px 10px;border-radius:9px}
.usernav .lnk:hover{background:rgba(255,255,255,.08);color:#fff}
.subnav{background:#fff;border-bottom:1px solid var(--hair)}
.subnav .wrap{display:flex;gap:4px;overflow-x:auto;min-height:50px;align-items:center}
.subnav>.wrap>a{flex:none;color:var(--muted);text-decoration:none;font:700 14px var(--f);padding:8px 13px;border-radius:9px;display:flex;align-items:center;gap:7px}
.subnav>.wrap>a:hover{color:var(--navy);background:var(--bg)}
.subnav>.wrap>a.on{color:var(--navy);background:#fbf3df}
.subnav>.wrap svg{width:17px;height:17px}

main{flex:1;padding:26px 0 48px}
h1{font-size:26px;color:var(--navy);margin:0 0 4px;line-height:1.4}
h2{font-size:18px;color:var(--navy);margin:0 0 12px}
.sub{color:var(--muted);margin:0 0 20px}
.pagehead{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:18px}
.pagehead .sub{margin:0}

/* ---------- surfaces ---------- */
.card{background:var(--card);border:1px solid var(--hair);border-radius:14px;padding:18px 20px;box-shadow:var(--shadow);margin-bottom:16px}
.card.flat{box-shadow:none}
.card h2{font-size:17px}
.cardhead{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;flex-wrap:wrap}
.cardhead h2{margin:0}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px}
.cols{display:flex;flex-wrap:wrap;gap:16px;align-items:flex-start}
.cols>.main{flex:999 1 560px;min-width:0}
.cols>.side{flex:1 1 300px;min-width:0}
.stat{border:1px solid var(--hair);border-radius:12px;padding:12px 14px;background:#fbfcfe}
.stat .k{color:var(--muted);font-size:13px;font-weight:700}
.stat .v{font-size:22px;font-weight:800;color:var(--navy);margin-top:2px;overflow-wrap:anywhere;line-height:1.4}
.stat .d{font-size:13px;font-weight:700}
.empty{color:var(--muted);text-align:center;padding:22px 10px}
.note{color:var(--muted);font-size:13px;margin-top:10px}
.demo{background:var(--warn-bg);color:var(--warn);border:1px solid #f0d9a6;border-radius:10px;padding:8px 14px;font-weight:700;font-size:14px;margin-bottom:16px}

.pill{display:inline-block;border-radius:999px;padding:1px 11px;font-size:13px;font-weight:800;white-space:nowrap}
.p-ok{background:var(--ok-bg);color:var(--ok)}
.p-warn{background:var(--warn-bg);color:var(--warn)}
.p-muted{background:var(--hair2);color:#3d4b5c}
.days{font-size:13px;font-weight:700;margin-top:2px}
.days.low{color:var(--warn)} .days.gone{color:var(--bad)} 
.up{color:var(--up)} .down{color:var(--down)} .flat{color:var(--muted)}
/* v1.33 B0: change marker (arrow + sign + colour), used by the dirham items */
.chg{display:inline-flex;align-items:baseline;gap:4px;font-weight:800;white-space:nowrap}
.chg i{font-style:normal;font-size:.72em;line-height:1}
.chg.up{color:var(--up)}.chg.down{color:var(--down)}.chg.flat{color:var(--muted)}

table{width:100%;border-collapse:collapse;font-size:15px}
th,td{padding:9px 10px;border-bottom:1px solid var(--hair2);text-align:right;vertical-align:middle}
th{color:var(--muted);font-size:13px;font-weight:800}
tr:last-child td{border-bottom:0}
.tw{overflow-x:auto}
.list{list-style:none;margin:0;padding:0}
.list li{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:9px 0;border-bottom:1px solid var(--hair2)}
.list li:last-child{border-bottom:0}

/* ---------- buttons & forms ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;font:800 15px var(--f);border-radius:11px;padding:10px 20px;border:0;cursor:pointer;text-decoration:none;min-height:44px;line-height:1.3}
.btn svg{width:18px;height:18px}
.btn-gold{background:var(--gold);color:var(--navy3)}
.btn-gold:hover{background:#d4ad4f}
.btn-navy{background:var(--navy);color:#fff}
.btn-line{background:#fff;border:1.5px solid var(--hair);color:var(--navy)}
.btn-line:hover{border-color:#c5cfdb}
.btn-sm{padding:6px 12px;min-height:38px;font-size:14px;border-radius:9px}
.btn-block{width:100%}
.field{margin-bottom:14px}
.field label{display:block;font-weight:800;font-size:14px;margin-bottom:5px;color:var(--navy)}
.field input[type=text],.field input[type=email],.field input[type=password],.field input[type=number],
.field input[type=date],.field input[type=datetime-local],.field input[type=url],.field input[type=search],
.field select,.field textarea{width:100%;font:600 15px var(--f);padding:10px 12px;border:1.5px solid var(--hair);border-radius:10px;background:#fff;color:var(--ink);min-height:44px}
.field textarea{min-height:110px;line-height:1.8}
.field input:focus,.field select:focus,.field textarea:focus{outline:2px solid var(--gold);outline-offset:1px;border-color:var(--gold)}
.field input[dir=ltr]{text-align:left}
.check{display:flex;align-items:center;gap:8px;font-weight:700;font-size:14px;margin-bottom:12px}
.check input{width:20px;height:20px;accent-color:var(--navy)}
.err{background:var(--bad-bg);color:var(--bad);border-radius:10px;padding:10px 14px;font-weight:700;margin-bottom:14px}
.ok{background:var(--ok-bg);color:var(--ok);border-radius:10px;padding:10px 14px;font-weight:700;margin-bottom:14px}
.errlist{list-style:none;padding:0;margin:4px 0 0;color:var(--bad);font-size:13px;font-weight:700}

.auth{max-width:430px;margin:24px auto}
.auth .card{padding:26px}
.auth h1{text-align:center}
.auth .sub{text-align:center}

/* ---------- avatars & badges ---------- */
.av{position:relative;flex:none;width:46px;height:46px}
.av .img,.av .ini{width:100%;height:100%;border-radius:50%;display:block;object-fit:cover;border:3px solid var(--t-member);background:var(--navy2);color:var(--gold-l);font-weight:800;display:flex;align-items:center;justify-content:center;font-size:18px}
.av.lg{width:96px;height:96px}
.av.lg .ini{font-size:36px}
.av.sm{width:34px;height:34px}
.av.sm .ini{font-size:14px;border-width:2px}
.av.t-bronze .img,.av.t-bronze .ini{border-color:var(--t-bronze)}
.av.t-silver .img,.av.t-silver .ini{border-color:var(--t-silver)}
.av.t-gold .img,.av.t-gold .ini{border-color:var(--t-gold)}
.av.t-platinum .img,.av.t-platinum .ini{border-color:var(--t-platinum)}
.av .vf{position:absolute;bottom:-2px;left:-2px;width:19px;height:19px;border-radius:50%;background:#1d6fd6;border:2px solid #fff;display:flex;align-items:center;justify-content:center}
.av.lg .vf{width:28px;height:28px;bottom:2px;left:2px}
.av .vf svg{width:11px;height:11px}
.av.lg .vf svg{width:16px;height:16px}
.who{display:flex;align-items:center;gap:10px;min-width:0}
.who .n{font-weight:800;color:var(--navy);text-decoration:none;line-height:1.3;overflow-wrap:anywhere}
.who .m{font-size:12.5px;color:var(--muted);line-height:1.4}
.tier{display:inline-block;font-size:11.5px;font-weight:800;border-radius:999px;padding:0 8px;color:#fff;vertical-align:middle}
.badges{display:flex;flex-wrap:wrap;gap:6px}
.bdg{display:inline-flex;align-items:center;gap:5px;background:#fbf3df;color:#6b4e12;border-radius:999px;padding:2px 10px;font-size:12.5px;font-weight:800}
.bdg svg{width:14px;height:14px}
.bdg.b-verified{background:#e5effc;color:#174f9c}
.bdg.b-star{background:#0f2744;color:#f3d68a}
.bdg.b-founder{background:#efe6fb;color:#5b3a8f}

/* ---------- community ---------- */
.chips{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:14px}
.chip{font:700 14px var(--f);text-decoration:none;border:1.5px solid var(--hair);background:#fff;color:var(--navy);border-radius:999px;padding:5px 14px}
.chip.on{background:var(--navy);border-color:var(--navy);color:#fff}
.comments{margin-top:12px;border-top:1px solid var(--hair2);padding-top:10px}
details.more summary{cursor:pointer;color:var(--muted);font-size:13px;font-weight:700;list-style:none;padding:4px 6px;border-radius:8px}
details.more summary::-webkit-details-marker{display:none}
.officecards{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:14px}
.officecard{background:#fff;border:1px solid var(--hair);border-radius:14px;padding:18px;text-align:center;text-decoration:none;color:inherit;box-shadow:var(--shadow);display:flex;flex-direction:column;align-items:center;gap:6px}
.officecard .badges{justify-content:center}

/* ---------- academy ---------- */
.cap{display:block;text-decoration:none;color:inherit;background:var(--card);border:1px solid var(--hair);border-radius:14px;overflow:hidden;box-shadow:var(--shadow);transition:transform .15s}
.cap:hover{transform:translateY(-2px)}
.cap .body{padding:12px 14px}
.cap h3{margin:0 0 4px;font-size:16px;color:var(--navy);line-height:1.5}
.cap p{margin:0 0 8px;color:var(--muted);font-size:14px}
.wm{position:absolute;z-index:2;pointer-events:none;user-select:none;color:rgba(255,255,255,.55);font:700 13px/1.45 var(--f);text-shadow:0 0 3px rgba(0,0,0,.7);transition:top 1.6s,left 1.6s;white-space:nowrap;display:flex;flex-direction:column;align-items:flex-start;gap:0}
.wm b{font-size:14px}
.wm span{font-size:11.5px;font-weight:700}

/* ---------- portal ---------- */
.hero{background:var(--navy3);color:#fff;padding:34px 0 30px}
.hero h1{color:#fff;font-size:30px}
.hero p{color:#c9d4e2;max-width:640px}
.hero .grid{margin-top:18px}
.hero .stat{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.12)}
.hero .stat .k{color:#c9d4e2}.hero .stat .v{color:#fff}
.ticker{display:grid;grid-template-columns:repeat(auto-fill,minmax(165px,1fr));gap:10px}
.tick{background:#fff;border:1px solid var(--hair);border-radius:12px;padding:10px 12px;text-decoration:none;color:inherit}
.tick .c{font-weight:800;color:var(--navy);display:flex;justify-content:space-between;gap:6px}
.tick .r{font-size:20px;font-weight:800;color:var(--ink)}
.tick svg{width:100%;height:32px;display:block}
.chart{width:100%;height:auto;display:block}
.chart .ax{stroke:var(--hair);stroke-width:1}
.chart .gl{stroke:var(--hair2);stroke-width:1}
.chart .ln{fill:none;stroke:var(--navy2);stroke-width:2.2;stroke-linejoin:round}
.chart .ar{fill:rgba(20,52,95,.07)}
.chart .ref{stroke:var(--gold);stroke-width:1.5;stroke-dasharray:5 4}
.chart text{font:600 12px var(--f);fill:var(--muted)}
.chart .dot{fill:var(--gold);stroke:#fff;stroke-width:2}
/* v1.33 B1 (proposal): dirham charts - value axis on the right with the latest-value tag, round steps,
   month ticks, hover columns with a title; a phone-width drawing below 640px */
.fchart{margin:0}
.fchart figcaption{color:var(--muted);font-size:12px;margin-top:6px;line-height:1.6}
.fc .gl{stroke:#edf0f4;stroke-width:1}
.fc .ax{stroke:#c9d2de;stroke-width:1}
.fc .tk{stroke:#c9d2de;stroke-width:1}
.fc .ln{fill:none;stroke:var(--navy2);stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
.fc .ar{fill:rgba(20,52,95,.06)}
.fc .ref{stroke:var(--gold);stroke-width:1.3;stroke-dasharray:4 4}
.fc .lastl{stroke:var(--navy2);stroke-width:1;stroke-dasharray:2 3;opacity:.55}
.fc text{font:600 12px var(--f);fill:#566679;font-variant-numeric:tabular-nums}
.fc .dot{fill:var(--navy2);stroke:#fff;stroke-width:2}
.fc .tag rect{fill:var(--navy2)}
.fc .tag text{fill:#fff;font-weight:800}
.fc .hv rect{fill:transparent}
.fc .hv rect:hover{fill:rgba(200,160,64,.16)}
.fchart .m{display:none}
@media (max-width:640px){.fchart.has-m .d{display:none}.fchart.has-m .m{display:block}}
.fc .yr{font-size:11px;font-weight:700;fill:#8593a6}
.big{font-size:34px;font-weight:900;color:var(--navy);line-height:1.2}
.periods{display:flex;gap:6px}
/* v1.33 B5 (proposal): /dirham/ index cards - figure, change with arrow and sign, since when; period as one control */
.ixhead{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 14px;margin-bottom:2px}
.ixhead .big{font-size:36px;letter-spacing:.3px}
.ixchg{display:inline-flex;align-items:baseline;gap:8px;font-size:15px}
.ixchg .per{color:var(--muted);font-size:13px;font-weight:600}
.periods.segm{background:#e9eef5;border-radius:11px;padding:3px;gap:2px}
.periods.segm .chip{border:0;background:transparent;border-radius:9px;padding:5px 14px;color:#3d4b5c;min-height:36px;display:inline-flex;align-items:center}
.periods.segm .chip.on{background:#fff;color:var(--navy);box-shadow:0 1px 3px rgba(15,39,68,.18)}
.periods.segm .chip:focus-visible{outline:2px solid var(--gold);outline-offset:1px}
@media (max-width:640px){.ixhead .big{font-size:30px}}
.articles{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px}
.art{background:#fff;border:1px solid var(--hair);border-radius:14px;overflow:hidden;text-decoration:none;color:inherit;box-shadow:var(--shadow);display:flex;flex-direction:column}
.art .cv{height:150px;background:var(--navy2) center/cover no-repeat}
.art .bd{padding:14px 16px}
.art h3{margin:0 0 6px;font-size:16.5px;color:var(--navy);line-height:1.55}
.art p{margin:0;color:var(--muted);font-size:14px}
.prose{font-size:16.5px;line-height:2}
.prose p{margin:0 0 14px}
.cta{background:var(--navy);color:#fff;border-radius:16px;padding:24px;display:flex;flex-wrap:wrap;gap:16px;align-items:center;justify-content:space-between}
.cta h2{color:#fff;margin:0 0 4px}
.cta p{margin:0;color:#c9d4e2}
.bar{display:grid;grid-template-columns:52px 1fr 70px;gap:8px;align-items:center;font-size:14px}
.bar .tr{height:14px;background:var(--hair2);border-radius:4px;position:relative}
.bar .tr span{position:absolute;top:0;bottom:0;border-radius:4px}
.bar .tr .mid{position:absolute;top:-3px;bottom:-3px;right:50%;width:1px;background:#b9c3cf}
/* v1.33 B6 (proposal): dirham against each currency - code and name, bar from the centre, change with arrow and sign */
.mv{display:flex;flex-direction:column}
.mv-key,.mv-row{display:grid;grid-template-columns:minmax(0,150px) minmax(0,1fr) 92px;gap:10px;align-items:center}
.mv-keys{display:grid;grid-template-columns:1fr 1fr;font-size:12px;font-weight:800;padding:0 0 6px}
.mv-keys>span:first-child{text-align:left;padding-left:10px}.mv-keys>span:last-child{text-align:right;padding-right:10px}
.mv-row{padding:5px 0;border-top:1px solid var(--hair2)}
.mv-row:hover{background:#f7f9fc}
.mv-c{display:flex;align-items:baseline;gap:8px;min-width:0}
.mv-c b{color:var(--navy);font-size:14px}
.mv-c .nm{font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mv-t{position:relative;height:12px}
.mv-t .mid{position:absolute;top:-6px;bottom:-6px;right:50%;width:1px;background:#b9c3cf}
.mv-t .b{position:absolute;top:1px;bottom:1px}
.mv-t .pos{background:var(--down);border-radius:0 3px 3px 0}
.mv-t .neg{background:var(--up);border-radius:3px 0 0 3px}
.mv-v{text-align:left;font-size:13.5px}
@media (max-width:640px){.mv-key,.mv-row{grid-template-columns:44px minmax(0,1fr) 78px;gap:8px}.mv-c .nm{display:none}.mv-keys{font-size:11px;white-space:nowrap}.mv-keys>span:first-child{padding-left:5px}.mv-keys>span:last-child{padding-right:5px}}
.notes{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}
.notes figure{margin:0;background:#fff;border:1px solid var(--hair);border-radius:12px;padding:10px}
.notes figcaption{font-size:13px;color:var(--muted);margin-top:6px}

footer{background:var(--navy3);color:#9fb0c4;font-size:13px;padding:22px 0}
footer .wrap{display:flex;flex-wrap:wrap;gap:12px 24px;justify-content:space-between}
footer a{color:#d9e2ee;text-decoration:none}

@media (max-width:640px){
  h1{font-size:22px}
  .hero h1{font-size:24px}
  .mainnav{order:3;flex-basis:100%;overflow-x:auto;flex-wrap:nowrap}
  .mainnav a{flex:none}
  .card{padding:14px}
  .big{font-size:28px}
}
@media (prefers-reduced-motion:reduce){.cap,.wm{transition:none}}
.soon{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:10px;margin-bottom:24px}
.conv-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1.4fr) auto minmax(0,1.4fr);gap:12px;align-items:end}
.conv-grid .field{margin:0}
.conv .swap{min-height:44px;font-size:20px;line-height:1;padding:0 14px}
.conv-out{margin-top:16px;padding:16px 18px;border-radius:14px;background:var(--hair2);border:1px solid var(--hair)}
.conv-out .res{font-size:30px;font-weight:900;color:var(--navy);line-height:1.3}
@media (max-width:720px){.conv-grid{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}.conv-grid .field:first-child{grid-column:1/-1}}
.faq h2{margin-bottom:6px}
.faq details{border-top:1px solid var(--hair2);padding:4px 0}
.faq details:first-of-type{border-top:0}
.faq summary{cursor:pointer;font-weight:800;color:var(--navy);padding:8px 0;list-style-position:inside}
.faq details p{margin:0 0 10px;color:var(--ink)}
.av .onl{position:absolute;top:0;right:0;width:12px;height:12px;border-radius:50%;background:#1fae5b;border:2px solid #fff;box-shadow:0 0 0 1px rgba(0,0,0,.08)}
.av.lg .onl{width:20px;height:20px;top:4px;right:4px}
.av.sm .onl{width:10px;height:10px}
/* v1.5.0: search in the community feed (last item of the chips row) */
/* v1.5.0: the hidden attribute always wins over display rules such as .btn */
[hidden]{display:none!important}
/* v1.6.0: office rating (automatic) */
.officecard{position:relative}
.officecard .rate{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--muted);font-weight:700}
/* v1.7.0: technical indicators of the dirham */
.market{display:flex;align-items:center;gap:12px;border-radius:14px;padding:12px 16px;margin-bottom:14px;border:1px solid var(--hair);background:#fff}
.market b{color:var(--navy)}
.mk-dot{width:14px;height:14px;border-radius:50%;flex:0 0 14px;background:#7f8ea3;box-shadow:0 0 0 4px rgba(127,142,163,.18)}
.market.m-calm .mk-dot{background:#1fae5b;box-shadow:0 0 0 4px rgba(31,174,91,.18)}
.market.m-normal .mk-dot{background:var(--gold);box-shadow:0 0 0 4px rgba(200,160,64,.2)}
.market.m-agitated .mk-dot{background:#d0453a;box-shadow:0 0 0 4px rgba(208,69,58,.18)}
.tcards{display:grid;grid-template-columns:repeat(auto-fill,minmax(205px,1fr));gap:12px}
.tcard{display:block;background:#fff;border:1px solid var(--hair);border-radius:14px;padding:12px 14px;text-decoration:none;color:inherit;box-shadow:var(--shadow);min-width:0}
.tcard:hover{border-color:var(--gold)}
.tc-head{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap}
.tc-head b{color:var(--navy);font-size:16px}
.tc-trend{margin-inline-start:auto;font-size:12px;font-weight:800;border-radius:999px;padding:1px 9px;background:#eef1f5;color:#56657a}
.tc-trend.t-up{background:#fdecea;color:#b3392f}
.tc-trend.t-down{background:#e7f6ee;color:#17824a}
.tc-price{font-size:22px;font-weight:900;color:var(--navy);margin:4px 0 6px}
/* v1.33 B10 (proposal): indicator cards use the same change marker (arrow + sign + colour) */
.tc-price .chg{font-size:13px;vertical-align:middle}
@media (max-width:640px){.tc-price>.small{display:block;line-height:1.5}}
.tc-row{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;font-size:12.5px;color:var(--muted);font-weight:700;padding:4px 0}
.tc-row>span:first-child{flex:1 1 auto}
.tc-row b{color:var(--navy);font-size:13px}
.tc-row .gauge{flex:1 1 100%;order:3;margin:3px 0 2px}
.gauge{position:relative;height:6px;border-radius:999px;background:linear-gradient(to left,#e7f6ee 0 30%,#eef1f5 30% 70%,#fdecea 70% 100%)}
.gauge.range{background:#eef1f5}
.gauge i{position:absolute;top:-3px;width:12px;height:12px;border-radius:50%;background:var(--navy);border:2px solid #fff;box-shadow:0 0 0 1px var(--navy);margin-right:-6px}
.vs{font-size:12px;font-weight:800;border-radius:999px;padding:1px 9px;justify-self:start;background:#fbf3df;color:var(--gold-d)}
.vs.v-calm{background:#e7f6ee;color:#17824a}.vs.v-agitated{background:#fdecea;color:#b3392f}
.tchart .band{fill:rgba(200,160,64,.13);stroke:none}
.tchart .s20{fill:none;stroke:var(--gold);stroke-width:1.8}
.tchart .s50{fill:none;stroke:#8a9bb3;stroke-width:1.8;stroke-dasharray:6 4}
.legend{display:flex;flex-wrap:wrap;gap:14px;font-size:12.5px;color:var(--muted);font-weight:700;margin-top:8px}
.legend i{display:inline-block;width:18px;height:3px;border-radius:2px;vertical-align:middle;margin-inline-end:6px}
/* v1.33 B9 (proposal): /muashirat/ charts drawn at phone width too; volatility chart in the dirham-page style; source line */
.tchart-wrap .tchart.m{display:none}
@media (max-width:640px){.tchart-wrap.has-m .tchart:not(.m){display:none}.tchart-wrap.has-m .tchart.m{display:block}}
.tc-src{color:var(--muted);font-size:12px;margin:6px 0 0}
.lg-p{background:var(--navy2)}.lg-20{background:var(--gold)}.lg-50{background:#8a9bb3}.lg-b{background:rgba(200,160,64,.35);height:9px!important}
.reading li{gap:10px}
.reading li b{text-align:left}
/* v1.7.0: home as a public economic page */
.hero-stats{max-width:1000px;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}
.hero .stat .d.up{color:#ff9b91}.hero .stat .d.down{color:#7fe0a8}.hero .stat .d.flat{color:#c9d4e2}
/* v1.33 B2 (proposal): home quote board - figure, 90-day line, change with arrow and sign, period; source line */
.hero .stat.q{padding:13px 16px 12px;border-radius:12px;display:flex;flex-direction:column;gap:2px}
.hero .stat.q .k{color:#aebcd0;font-size:13px}
.hero .stat.q .qv{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:40px}
.hero .stat.q .v{font-size:26px;font-weight:800;margin:0;line-height:1.3;font-variant-numeric:tabular-nums}
.hero .qs{width:84px;height:30px;flex:0 1 84px;min-width:40px}
.hero .qs path{fill:none;stroke:var(--gold-l);stroke-width:1.6;vector-effect:non-scaling-stroke;stroke-linejoin:round}
.hero .stat.q .d{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 8px;font-size:13px}
.hero .chg.up{color:#ff9b91}.hero .chg.down{color:#7fe0a8}.hero .chg.flat{color:#c9d4e2}
.hero .per{color:#9fb0c4;font-weight:600;font-size:12.5px}
.hero .mst{display:inline-flex;align-items:center;gap:9px}
.hero .mst i{width:10px;height:10px;border-radius:50%;background:var(--gold);box-shadow:0 0 0 4px rgba(200,160,64,.18)}
.hero .mst.m-calm i{background:#3fc27a;box-shadow:0 0 0 4px rgba(63,194,122,.18)}
.hero .mst.m-agitated i{background:#ff7a6e;box-shadow:0 0 0 4px rgba(255,122,110,.18)}
.hero-src{color:#9fb0c4;font-size:12.5px;margin:10px 0 0}
@media (max-width:640px){.hero .stat.q .v{font-size:21px}.hero .qs{display:none}.hero .stat.q{padding:10px 12px}.hero .stat.q.dup{display:none}}
.notechips{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-bottom:10px}
.notechips a{display:flex;gap:6px;align-items:baseline;text-decoration:none;border:1px solid var(--hair);border-radius:10px;padding:6px 9px;color:inherit;min-width:0}
.notechips a:hover{border-color:var(--gold)}
.notechips b{color:var(--navy);font-size:13px}
.notechips span{font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tools a{display:flex;align-items:center;gap:8px;text-decoration:none;font-weight:700}
.tools a svg{width:18px;height:18px;color:var(--gold-d)}
/* v1.7.0: reminders in the bell */
@media (max-width:640px){.hero-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-stats .stat{padding:10px 12px}.hero-stats .stat .v{font-size:19px}}
.headlines .hl{list-style:none;margin:0;padding:0}
.headlines .hl li{display:flex;flex-direction:column;gap:2px;padding:9px 0;border-bottom:1px solid var(--hair2)}
.headlines .hl li:last-child{border-bottom:0}
.headlines .hl a{font-weight:700;text-decoration:none;color:var(--navy);overflow-wrap:anywhere}
.headlines .hl a:hover{text-decoration:underline}
/* v1.8.0: shareable rate cards */
.cardmaker{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:16px;align-items:start}
@media (max-width:860px){.cardmaker{grid-template-columns:1fr}}
.cm-preview{padding:12px;background:#e9eef5}
.cm-canvas{display:block;width:100%;max-width:560px;height:auto;margin:0 auto;border-radius:12px;box-shadow:0 8px 24px rgba(10,31,56,.25)}
.seg{display:flex;flex-wrap:wrap;gap:8px}
.seg label{display:flex;align-items:center;gap:6px;border:1.5px solid var(--hair);border-radius:10px;padding:7px 12px;font-weight:700;cursor:pointer}
.seg label:has(input:checked){border-color:var(--gold);background:#fbf3df}
/* v1.8.0: share bar */
.sharebar{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:18px 0}
.sh{font:700 13.5px var(--f);border:1.5px solid var(--hair);background:#fff;color:var(--navy);border-radius:999px;padding:5px 13px;text-decoration:none;cursor:pointer}
.sh:hover{border-color:var(--gold)}
.mkt-summary{margin:14px 0 0;max-width:900px;color:#dbe3ee;font-weight:600;line-height:1.9}
/* v1.10.0: printable rate board for the office window (A4) */
@media print{
  @page{size:A4 portrait;margin:12mm}
  
  
  
  .b-head{text-align:center;border-bottom:3px solid #c8a040;padding-bottom:6mm;margin-bottom:6mm}
  .b-logo{width:28mm;height:28mm;border-radius:50%;object-fit:cover;display:block;margin:0 auto 3mm}
  .b-office{font-size:30pt;font-weight:900}
  .b-sub{font-size:15pt;color:#555}
  .b-title{font-size:20pt;font-weight:800;text-align:center;margin-bottom:5mm}
  .b-date{font-weight:600;color:#555;font-size:15pt}
  
  
  
  
  
  
  .b-foot{text-align:center;margin-top:8mm;font-size:14pt;color:#333}
}
footer .social{margin-top:8px;font-size:13.5px;color:#c9d4e2;display:flex;gap:12px;flex-wrap:wrap}
.art-search{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:-4px 0 16px}
.art-search input{flex:1 1 220px;max-width:380px;box-sizing:border-box;font:700 15px var(--f);border:1.5px solid var(--hair);border-radius:10px;padding:8px 12px}
/* ===== v1.11.0: community redesign (post card, reactions, comments, modal windows) ===== */

/* modal windows */
/* v1.11.0: chat */

/* v1.11.0: password field */
.pw-wrap{position:relative}
.pw-wrap input{width:100%;box-sizing:border-box;padding-left:84px}
/* v1.28.0: the show/hide button sits on the right, away from where the password starts (left, typed left to right) */
.pw-wrap input[type],.field .pw-wrap input[type]{padding-left:12px;padding-right:86px}
.pw-eye{position:absolute;right:6px;top:50%;transform:translateY(-50%);background:var(--bg);border:0;border-radius:8px;padding:5px 10px;font:700 12.5px var(--f);color:var(--navy2);cursor:pointer;min-height:34px}
.pw-meter{height:6px;border-radius:999px;background:var(--hair2);margin-top:8px;overflow:hidden}
.pw-meter span{display:block;height:100%;width:0;transition:width .2s,background .2s}

.pw-label{margin-top:4px;color:var(--muted);font-weight:700}
/* v1.12.0: polls */
/* v1.12.0: advertising slots (visitors only; space reserved so the page never jumps) */
.adslot{position:relative;display:block;margin:16px auto;text-align:center;overflow:hidden;clear:both}
.adslot .ad-label{position:absolute;top:2px;inset-inline-start:8px;font-size:10.5px;font-weight:700;color:#9aa7b8;letter-spacing:.3px;z-index:1}
.ad-wide{min-height:100px;max-width:970px}
.ad-box{min-height:280px;max-width:336px}
.ad-tall{min-height:600px;max-width:300px}
.ad-fluid{min-height:200px;max-width:720px}
.ad-on-mob{display:none}
@media (max-width:860px){.ad-on-desk{display:none}.ad-on-mob{display:block}.ad-wide{min-height:100px}}
.side .ad-tall{position:sticky;top:16px}
.ad-ph{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:2px dashed #c8b47c;border-radius:12px;background:repeating-linear-gradient(45deg,#fbf7ec,#fbf7ec 10px,#f6efdc 10px,#f6efdc 20px);color:#8a6a1f;font-size:13px}
.ad-ph b{font-family:monospace;font-size:13px;direction:ltr}
/* v1.12.0: menu on phones */
.navtoggle{display:none}
@media (max-width:640px){
  .navtoggle{display:inline-flex;align-items:center;gap:8px;order:2;margin-inline-start:auto;background:rgba(255,255,255,.08);color:#e9eef5;border:1px solid rgba(255,255,255,.14);border-radius:10px;padding:7px 12px;font:700 14px var(--f);cursor:pointer}
  .nt-bars{display:inline-flex;flex-direction:column;gap:3px}
  .nt-bars i{display:block;width:16px;height:2px;border-radius:2px;background:currentColor;transition:transform .2s,opacity .2s}
  .nav-open .nt-bars i:nth-child(1){transform:translateY(5px) rotate(45deg)}
  .nav-open .nt-bars i:nth-child(2){opacity:0}
  .nav-open .nt-bars i:nth-child(3){transform:translateY(-5px) rotate(-45deg)}
  .usernav{order:3}
  .js .mainnav{order:4;display:none;flex-direction:column;align-items:stretch;flex-basis:100%;overflow:visible;padding:6px 0 4px;border-top:1px solid rgba(255,255,255,.1);margin-top:4px}
  .js.nav-open .mainnav{display:flex}
  .js .mainnav a{padding:11px 12px;font-size:15px}
}
/* v1.12.0: footer */
footer.sitefoot{padding:34px 0 18px;font-size:14px}
footer.sitefoot .wrap{display:block}
.fcols{display:grid;grid-template-columns:1.6fr repeat(3,1fr);gap:24px}
.fcol{display:flex;flex-direction:column;gap:8px;min-width:0}
.fcol h3{margin:0 0 4px;color:#f3d68a;font-size:14.5px}
.fcol a:hover{color:#fff;text-decoration:underline}
.fbrand{display:flex;align-items:center;gap:8px;color:#fff;font-size:20px}
.fbrand svg{width:30px;height:auto}
.fabout p{margin:4px 0 0;color:#9fb0c4;line-height:1.9}
.fbottom{margin-top:26px;padding-top:14px;border-top:1px solid rgba(255,255,255,.08);color:#7f90a6;font-size:12.5px}
@media (max-width:860px){.fcols{grid-template-columns:1fr 1fr}.fabout{grid-column:1/-1}}
@media (max-width:420px){.fcols{grid-template-columns:1fr 1fr;gap:18px}}
/* v1.12.0: phone header on one row, two price tiles per row */
@media (max-width:640px){
  .brand small{display:none}
  .ticker{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .tick{padding:8px 10px}
  .tick .r{font-size:18px}
}
/* v1.33 B4 (proposal): "dirham today" tiles - three per row, code and name, figure, change, 3-month line */
.ticker:has(.t2){grid-template-columns:repeat(3,minmax(0,1fr))}
.tick.t2{display:flex;flex-direction:column;gap:2px;padding:11px 13px 9px;border-color:#e3e8ef;transition:border-color .15s}
.tick.t2:hover{border-color:var(--gold)}
.tick.t2 .c{justify-content:flex-start;align-items:baseline;gap:8px;line-height:1.4}
.tick.t2 .c b{font-size:15px;color:var(--navy)}
.tick.t2 .nm{font-size:12px;font-weight:600;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.tick.t2 .r{font-size:22px;font-weight:800;color:var(--navy);line-height:1.35}
.tick.t2 .tb{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px}
.tick.t2 svg{width:64px;height:24px;flex:0 1 64px}
.tick.t2 svg path{fill:none;stroke:var(--navy2);stroke-width:1.5;vector-effect:non-scaling-stroke;stroke-linejoin:round}
.t2-note{line-height:1.8}
.t2-note .up,.t2-note .down{font-weight:700}
@media (max-width:640px){.ticker:has(.t2){grid-template-columns:repeat(2,minmax(0,1fr))}.tick.t2 .r{font-size:19px}.tick.t2 svg{width:52px}}
@media (prefers-reduced-motion:reduce){.tick.t2{transition:none}}
@media (max-width:360px){.navtoggle{font-size:0;gap:0;padding:9px 10px}}
/* v1.33 B3 (proposal, moves blocks on phones): the euro and the dollar open the phone market band;
   the "dirham today" tiles below then skip them (no figure twice on the same screen) */
@media (max-width:640px){
  .hero .hero-stats .stat.q.dup{display:flex}
  .ticker .tick[href$="/EUR/"],.ticker .tick[href$="/USD/"]{display:none}
}
/* v1.12.1: own ads keep their proportions and never exceed the place width */
.adcustom{min-height:0}
.adcustom a{display:block;max-width:var(--adw-d,728px);margin:0 auto}
.adcustom img{display:block;width:100%;height:auto;border-radius:6px}
@media (max-width:860px){.adcustom a{max-width:min(100%,var(--adw-m,320px))}}
/* v1.15.0: simpler look on phones (owner OK 2026-10-23 22:19, proposals 1-9). Admin pages (body.bo) untouched. */
/* 1 calmer surfaces on every screen */
.m-only{display:none}
body:not(.bo) .card,body:not(.bo) .art,body:not(.bo) .tcard,body:not(.bo) .cap,body:not(.bo) .officecard{box-shadow:none}
body:not(.bo) .card,body:not(.bo) .art,body:not(.bo) .tcard{border-color:#e8ecf2;border-radius:12px}
body:not(.bo) .stat{background:#fff}
.who .tier.t-member{display:none}
@media (max-width:640px){
  /* 3 short footer: same links, one flowing list */
  footer.sitefoot{padding:20px 0 14px;font-size:13.5px}
  .fcols{display:flex;flex-wrap:wrap;gap:8px 16px}
  .fabout{flex:1 0 100%}
  .fabout p,.fcol h3{display:none}
  .fcol{display:contents}
  .fbrand{font-size:17px}
  .fbrand svg{width:24px}
  .fbottom{margin-top:14px;padding-top:10px;font-size:12px}
  /* 2 home: prices once, secondary blocks reachable from Tools */
  .hero{padding:22px 0 20px}
  .hero-stats .stat.dup{display:none}
  .m-hide{display:none!important}
  /* 4 currency list: one row per currency */
  .curlist{display:block;border:1px solid #e8ecf2;border-radius:12px;background:#fff;overflow:hidden}
  .curlist .art{border:0;border-radius:0;border-bottom:1px solid var(--hair2)}
  .curlist .art:last-child{border-bottom:0}
  .curlist .bd{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:0 10px;padding:10px 14px}
  .curlist .bd>div:first-child{display:contents!important}
  .curlist .bd>div:first-child h3{grid-column:1;grid-row:1;font-size:15px}
  .curlist .bd>div:first-child .small{grid-column:2;grid-row:2;text-align:left;font-size:12px}
  .curlist .bd>p{grid-column:1;grid-row:2;font-size:12.5px}
  .curlist .bd>div.num{grid-column:2;grid-row:1;font-size:17px!important;text-align:left;white-space:nowrap}
  .curlist .bd>div.num .small{font-size:11.5px}
  .curlist .pill{display:none}
  /* 5 figures two per row */
  body:not(.bo) .grid:has(>.stat){grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  body:not(.bo) .stat{padding:9px 11px}
  body:not(.bo) .stat .v{font-size:18px}
  /* 6 dirham table: currency, rate, day, year */
  .dtbl th:nth-child(4),.dtbl td:nth-child(4),.dtbl th:nth-child(5),.dtbl td:nth-child(5),.dtbl th:nth-child(7),.dtbl td:nth-child(7){display:none}
  .dtbl{font-size:14px}
  .dtbl td,.dtbl th{padding:8px 6px}
  /* 7 indicator cards: two per row, price and direction */
  .tcard .tc-row{display:none}
  .tcards{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .tcard{padding:10px 12px}
  .tc-head{flex-wrap:wrap}
  /* 8 community post: no zero counters, comment box on demand, one comment preview */
  
  
  
  
  .m-only{display:inline}
  /* 9 account figures as plain rows inside their card */
  body:not(.bo) .card .grid:has(>.stat){grid-template-columns:1fr;gap:0}
  body:not(.bo) .card .grid>.stat{border:0;background:none;padding:4px 0;border-bottom:1px solid var(--hair2);border-radius:0}
}
/* v1.16.0: news front page and news story */
.nhead{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:6px 18px;border-bottom:3px solid var(--navy);padding-bottom:10px;margin-bottom:12px}
.nhead h1{margin:2px 0 0;font-size:30px}
.nhead .sub{margin:2px 0 0}
.nsearch{margin:0;flex:0 1 360px}
.nkicker{display:inline-flex;align-items:center;gap:6px;color:var(--gold-d);font-weight:800;font-size:13px;letter-spacing:.2px}
.nkicker svg{width:16px;height:16px}
.nticker{display:flex;gap:18px;align-items:center;overflow-x:auto;white-space:nowrap;background:#fff;border:1px solid #e8ecf2;border-radius:10px;padding:8px 14px;margin-bottom:16px;font-size:14px;scrollbar-width:none}
.nticker b{color:var(--navy);font-size:13px}
.nticker a{text-decoration:none;color:var(--ink);font-weight:700}
.nticker .ltr{color:var(--navy);font-weight:800}
.ncols{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start}
.nmain{min-width:0}
.nlead{background:#fff;border:1px solid #e8ecf2;border-radius:14px;overflow:hidden;margin-bottom:8px}
.nlead-link{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);text-decoration:none;color:inherit}
.nlead-img{display:block;min-height:240px;background:var(--navy2) center/cover no-repeat}
.nlead-noimg{display:grid;place-items:center;color:#f3d68a;background:linear-gradient(150deg,#0f2744,#14345f)}
.nlead-noimg svg{width:56px;height:56px;opacity:.8}
.nlead-body{display:flex;flex-direction:column;gap:8px;padding:18px 20px 6px}
.nlead-title{font-size:24px;font-weight:800;color:var(--navy);line-height:1.5}
.nlead-sum{color:var(--muted);font-size:15.5px;line-height:1.9}
.nlead-link:hover .nlead-title{text-decoration:underline;text-decoration-thickness:1px}
.nlead .nmeta,.nlead .shr{padding:0 20px}
.nlead .shr{padding-bottom:16px}
.nmeta{display:flex;flex-wrap:wrap;align-items:center;gap:4px 14px;font-size:12.5px;color:var(--muted);font-weight:700;margin:8px 0}
.nmeta>span+span::before{content:'';display:inline-block;width:4px;height:4px;border-radius:50%;background:#b8c3d1;margin-inline-end:10px;vertical-align:middle}
.nday{font-size:15px;color:var(--navy);margin:22px 0 4px;padding-bottom:6px;border-bottom:1px solid var(--hair)}
.nlist{display:flex;flex-direction:column}
.nrow{padding:14px 0;border-bottom:1px solid var(--hair2)}
.nrow:last-child{border-bottom:0}
.nrow-link{display:flex;gap:14px;text-decoration:none;color:inherit;align-items:flex-start}
.nrow-img{flex:0 0 132px;height:88px;border-radius:10px;background:var(--navy2) center/cover no-repeat}
.nrow-txt{display:flex;flex-direction:column;gap:4px;min-width:0}
.nrow-title{font-size:17px;font-weight:800;color:var(--navy);line-height:1.55}
.nrow-link:hover .nrow-title{text-decoration:underline;text-decoration-thickness:1px}
.nrow-sum{color:var(--muted);font-size:14px;line-height:1.8;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.nrow .nmeta{margin:8px 0 0}
.nrow .shr-compact{margin-inline-start:auto}
.shr{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.shr-list{display:flex;flex-wrap:wrap;gap:6px}
.shr-list[hidden]{display:none}
.shr-compact{position:relative}
.shr-compact .shr-list{position:absolute;inset-inline-end:0;top:calc(100% + 6px);z-index:5;background:#fff;border:1px solid var(--hair);border-radius:12px;padding:8px;box-shadow:0 10px 24px rgba(15,39,68,.14);width:max-content;max-width:min(320px,80vw)}
.shr-open{display:inline-flex;align-items:center;gap:5px;font:800 12.5px var(--f);color:var(--navy2);background:#f2f5f9;border:0;border-radius:999px;padding:4px 11px;cursor:pointer}
.shr-open svg{width:15px;height:15px}
.shr-b{font:800 13px var(--f);border:0;border-radius:999px;padding:6px 13px;text-decoration:none;cursor:pointer;color:#fff;background:#5a6b80;white-space:nowrap}
.shr-wa{background:#1f8f4e}.shr-fb{background:#1b5fbf}.shr-x{background:#111}.shr-tg{background:#1c84c9}
.shr-copy{background:#eef2f7;color:var(--navy)}
.shr-b:hover{filter:brightness(1.08)}
.shr-b:focus-visible,.shr-open:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
.npager{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:18px 0 0;padding-top:12px;border-top:1px solid var(--hair)}
.nside .card h2{font-size:16px}
.nfollow-links{display:flex;flex-wrap:wrap;gap:6px}
.nfollow-links .shr-b:last-child{background:#eef2f7;color:var(--navy)}
.nart{max-width:760px;margin:0 auto}
.ncrumb{display:flex;gap:8px;font-size:13px;color:var(--muted);margin:0 0 10px}
.ncrumb a{color:var(--muted)}
.nart-title{font-size:32px;line-height:1.5;margin:6px 0 8px}
.nart-dek{font-size:18.5px;font-weight:700;color:var(--ink);line-height:1.85;margin:0 0 6px;border-inline-start:4px solid var(--gold);padding-inline-start:12px}
.nart-meta{border-top:1px solid var(--hair);border-bottom:1px solid var(--hair);padding:8px 0;margin:12px 0 10px}
.nart-fig{margin:16px 0 18px}
.nart-fig img{display:block;width:100%;border-radius:12px}
.nart-fig figcaption{font-size:12.5px;color:var(--muted);margin-top:6px}
.nart-body{font-size:17.5px;line-height:2.05}
.nart-end{display:flex;flex-direction:column;gap:10px;background:#fff;border:1px solid #e8ecf2;border-radius:12px;padding:14px 16px;margin:22px 0}
.nart-end b{color:var(--navy)}
.nmore{margin-top:26px}
@media (max-width:860px){.ncols{grid-template-columns:1fr}.nlead-link{grid-template-columns:1fr}.nlead-img{min-height:0;aspect-ratio:16/9}}
@media (max-width:640px){
  .nhead h1{font-size:24px}
  .nsearch{flex:1 1 100%}
  .nlead-body{padding:14px 14px 4px}
  .nlead .nmeta,.nlead .shr{padding-inline:14px}
  .nlead-title{font-size:20px}
  .nrow-img{flex-basis:96px;height:72px}
  .nrow-title{font-size:15.5px}
  .nrow-sum{display:none}
  .shr-open span{display:none}
  .shr-open{padding:5px 8px}
  .shr-b{padding:5px 10px;font-size:12.5px}
  .shr{gap:5px}
  .shr-list{gap:5px}
  .nart-title{font-size:24px}
  .nart-dek{font-size:16.5px}
  .nart-body{font-size:17px}
}
/* v1.17.0: community feed — composer, cards, filters, older posts, new posts, toasts */
.chiprow{display:flex;gap:6px;flex-wrap:wrap}
.chiprow .chip{white-space:nowrap}





@media (max-width:640px){
  
  .chiprow{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding-bottom:2px;margin-bottom:8px;max-width:100%}
  .chiprow .chip{flex:none}
  
  
  
  
  
}
.yi{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* ---------- v1.18.0 academy: course page, lesson page, light watermark ---------- */
.eyebrow{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:800;color:var(--gold-l)}
.eyebrow .yi{width:16px;height:16px}

/* ---------- v1.19.0 academy: lesson pictures, certificate ---------- */
.cert-check{text-align:center;max-width:620px;margin:10px auto}
.cert-check h1{margin:6px 0}
.cc-ic{display:inline-grid;place-items:center;width:52px;height:52px;border-radius:50%;background:#fbf3df;color:var(--gold-d)}
.cc-ic .yi{width:26px;height:26px}
.cc-ic.ok{background:var(--ok-bg);color:var(--ok)}
.cc-ic.bad{background:var(--bad-bg);color:var(--bad)}
/* v1.19.0 audit: the market band keeps its dark cards (the v1.15.0 white card rule must not reach it) */
body:not(.bo) .hero .stat{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.12)}
.tw:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
/* v1.33 B7 (proposal): /dirham/ currency table - figures on one edge, code and name, year range marker */
.dt2 th{font-size:12.5px;white-space:nowrap;border-bottom:1px solid var(--hair)}
.dt2 th.n,.dt2 td.num{text-align:left}
.dt2 tbody tr:hover td{background:#f7f9fc}
.dt2 .cc{display:inline-flex;align-items:baseline;gap:8px;text-decoration:none}
.dt2 .cc b{color:var(--navy)}
.dt2 .cc span{color:var(--muted);font-size:13px}
.dt2 .cc:hover b{text-decoration:underline}
.dt2 td.rg{min-width:140px;direction:ltr}
.rgt{position:relative;height:6px;border-radius:999px;background:#e6ebf1;margin:6px 6px 4px}
.rgt i{position:absolute;top:50%;width:11px;height:11px;margin:-5.5px 0 0 -5.5px;border-radius:50%;background:var(--navy2);border:2px solid #fff;box-shadow:0 0 0 1px var(--navy2)}
.rgl{display:flex;justify-content:space-between;font-size:12px;color:var(--muted)}
@media (max-width:640px){.dt2 .cc{display:flex;flex-direction:column;align-items:flex-start;gap:0;line-height:1.35}.dt2 .cc span{font-size:11.5px;white-space:nowrap}}
/* v1.19.0 members' bulletin page: latest first, rates right after, archive by day */

/* ---------- v1.20.0 bell dropdown ---------- */
.subnav{position:relative;z-index:20}

/* ---------- v1.20.0 certificate: ornaments that print without background graphics, one A4 page ---------- */
@media print{
  html{background:#fff!important;min-height:0!important;height:auto!important;display:block!important}
  
  
  
  
  
}

/* ---------- v1.33.0 certificate: Yaqdha and the supervising association side by side (owner 2026-10-25 22:11) ---------- */

/* ---------- v1.20.0 account page ---------- */

/* ---------- v1.20.0 messages: conversation list beside the chat ---------- */

/* ---------- v1.20.0 members' menu: gold frame (members only) ---------- */
.subnav{background:var(--bg);border-bottom:0;padding-block:10px 2px}
.subnav>.wrap{background:linear-gradient(180deg,#fffdf7,#fff);border:1.5px solid #d9bf73;border-radius:14px;box-shadow:0 0 0 3px #fff,0 0 0 4px #efe0b4,0 10px 24px -20px rgba(138,106,31,.6);min-height:54px;padding-block:3px}
.subnav>.wrap>a.on{background:#fbf3df;box-shadow:inset 0 0 0 1px #e3cb85;color:var(--navy)}
@media (max-width:640px){
  .subnav{padding-block:8px 0}
  .subnav>.wrap{width:auto;border-radius:12px;margin-inline:8px;padding-inline:6px}
}

/* ---------- v1.21.0 tiers: metal medal in a framed plaque + metallic tier pills ---------- */
.t-member{--s1:#16345c;--s2:#0a1f38;--sb:#c8a040;--sl:#c8a040;--m4:#ffffff;--m1:#e4e9f0;--m2:#b6c1cf;--m3:#6f7c8e;--mi:#3a4657;--me:#c3ccd8}
.t-bronze{--s1:#b0703a;--s2:#5a2e0e;--sb:#5a2e0e;--sl:#f6d2a8;--m4:#fff0de;--m1:#f0c08c;--m2:#c27f45;--m3:#7a4219;--mi:#5a2e0e;--me:#d49a63}
.t-silver{--s1:#8f9bad;--s2:#3c4656;--sb:#3c4656;--sl:#ffffff;--m4:#ffffff;--m1:#e8edf3;--m2:#aab6c4;--m3:#5d6a7b;--mi:#2f3a48;--me:#b9c4d1}
.t-gold{--s1:#d9ad35;--s2:#6e500a;--sb:#5e4408;--sl:#fff1b8;--m4:#fffbe6;--m1:#f6dc86;--m2:#d4a62a;--m3:#80600f;--mi:#4f3a05;--me:#dcb550}
.t-platinum{--s1:#7aa3c4;--s2:#1f4563;--sb:#163a57;--sl:#e6f1f8;--m4:#ffffff;--m1:#dcebf5;--m2:#93b6cf;--m3:#3d6788;--mi:#163a57;--me:#a8c6dc}
.tbox{position:relative;overflow:hidden;border:2px solid transparent;border-radius:16px;padding:12px 14px 12px;background:linear-gradient(160deg,#fff 0%,#fff 55%,var(--m4) 100%) padding-box,linear-gradient(135deg,var(--m1),var(--m3) 38%,var(--m4) 52%,var(--m2) 70%,var(--m3)) border-box;box-shadow:0 10px 26px -20px var(--m3)}
.tbox::before{content:"";position:absolute;inset:4px;border:1px solid var(--me);border-radius:11px;opacity:.55;pointer-events:none}
.tbox::after{content:"";position:absolute;top:-40%;bottom:-40%;width:38%;left:-60%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.75),transparent);transform:skewX(-18deg);animation:tm-shine 1.6s .5s ease-out 1 both;pointer-events:none}
@keyframes tm-shine{to{left:130%}}
.tmedal{position:relative;display:flex;align-items:center;gap:12px}
.tm-em{flex:none;width:78px;height:78px;filter:drop-shadow(0 3px 4px rgba(0,0,0,.14))}
.tm-t{display:grid;min-width:0;line-height:1.3}
.tm-k{font-size:11.5px;font-weight:800;color:var(--m3);letter-spacing:.3px}
.tm-n{font-size:27px;font-weight:800;color:var(--mi);letter-spacing:.3px;text-shadow:0 1px 0 #fff}
.tm-p{font-size:14px;font-weight:700;color:var(--mi);font-variant-numeric:tabular-nums}
.tm-p b{color:var(--mi);font-size:15px}
.tm-meter{position:relative;height:8px;border-radius:999px;background:rgba(0,0,0,.06);box-shadow:inset 0 1px 2px rgba(0,0,0,.08);overflow:hidden;margin:10px 2px 4px}
.tm-meter span{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,var(--m3),var(--m2) 60%,var(--m1))}
.tm-next{position:relative;font-size:13px;color:var(--muted)}
.tm-next b{color:var(--mi)}
.tier{display:inline-flex;align-items:center;gap:4px;font-size:11.5px;font-weight:800;line-height:1.7;border-radius:999px;padding:0 9px 0 8px;vertical-align:middle;color:var(--mi);background:linear-gradient(135deg,var(--m4),var(--m1) 40%,var(--m2));border:1px solid var(--me);box-shadow:inset 0 1px 0 rgba(255,255,255,.8),0 1px 2px -1px var(--m3)}
.tier::before{content:"";flex:none;width:9px;height:9px;background:var(--m3);clip-path:polygon(50% 0,61% 22%,85% 15%,78% 39%,100% 50%,78% 61%,85% 85%,61% 78%,50% 100%,39% 78%,15% 85%,22% 61%,0 50%,22% 39%,15% 15%,39% 22%)}
@media (prefers-reduced-motion:reduce){.tbox::after{animation:none;display:none}}
/* v1.26.0: contact page */
.contact-page{max-width:560px;margin:10px auto 30px}
.contact-card{display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.contact-phone{font-size:20px;letter-spacing:.5px}
/* v1.27.0: "Yaqdha on your phone" - bottom bar, install page, notifications switch */
.appbar{position:fixed;left:0;right:0;bottom:0;z-index:60;display:flex;align-items:center;gap:10px;background:var(--navy3);color:#fff;
  padding:10px max(12px,env(safe-area-inset-right,0px)) calc(10px + env(safe-area-inset-bottom,0px)) max(12px,env(safe-area-inset-left,0px));
  box-shadow:0 -8px 24px rgba(10,31,56,.25)}
.appbar[hidden]{display:none}
.appbar img{border-radius:10px;flex:none}
.appbar-t{display:flex;flex-direction:column;min-width:0;flex:1;line-height:1.4}
.appbar-t b{font-size:14.5px}
.appbar-t small{font-size:12.5px;color:#c9d4e2}
.appbar .btn{flex:none;min-height:40px}
.appbar-x{flex:none;background:none;border:0;color:#c9d4e2;font-size:26px;line-height:1;width:40px;height:40px;cursor:pointer;border-radius:8px}
.appbar-x:focus-visible{outline:2px solid var(--gold-l)}
body.has-appbar{padding-bottom:76px}
.inst{max-width:880px;margin:6px auto 30px}
.inst-done{display:inline-flex;align-items:center;gap:8px;background:var(--ok-bg);color:var(--ok);font-weight:800;border-radius:10px;padding:8px 14px}
.inst-done svg{width:18px;height:18px}
.inst-video{margin:14px auto 18px;max-width:340px}
.inst-video video{width:100%;height:auto;border-radius:18px;background:#0a1f38;display:block;aspect-ratio:9/16}
.inst-video figcaption{text-align:center;margin-top:6px}
.inst-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px}
.inst-grid.ios-first #iphone{order:-1}
.inst-os{margin:0}
.inst-os h2{font-size:19px}
.inst-steps{margin:10px 0 0;padding-inline-start:22px;display:grid;gap:8px;font-size:16px;line-height:1.8}
.inst-steps li::marker{font-weight:900;color:var(--gold-d)}
.inst-key{display:inline-grid;place-items:center;min-width:28px;height:28px;border:1.5px solid var(--hair);border-radius:8px;font-weight:900;vertical-align:middle;padding:0 4px}
.inst-key svg{width:18px;height:18px}
.inst-why{margin-top:16px}
.inst-list{margin:8px 0 0;padding-inline-start:20px;display:grid;gap:6px}
.inst-old{display:block;margin-top:2px}
/* v1.30.0: calm account pages (being prepared, paused, ended), recovery, first password */
.state{max-width:560px;margin:28px auto}
.state .card{text-align:center;padding:34px 28px 26px}
.state h1{font-size:23px;margin:0 0 10px}
.state-ic{width:66px;height:66px;margin:0 auto 14px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:linear-gradient(160deg,#fbf5e6,#f3e6c2);color:var(--gold-d);box-shadow:inset 0 0 0 1px #ecdcae}
.state-ic .yi{width:30px;height:30px}
.state-ic.sm{width:52px;height:52px;margin-bottom:10px}
.state-ic.sm .yi{width:24px;height:24px}
.state-lead{font-size:16.5px;font-weight:700;color:var(--ink);margin:0 0 6px}
.state .sub{margin-bottom:6px}
.state-steps{list-style:none;display:flex;justify-content:center;gap:0;padding:0;margin:20px auto 4px;max-width:420px;counter-reset:none}
.state-steps li{flex:1 1 0;min-width:0;position:relative;font-size:13px;font-weight:700;color:var(--muted);padding-top:26px;line-height:1.5}
.state-steps li::before{content:"";position:absolute;top:8px;inset-inline-start:50%;width:100%;height:2px;background:var(--hair)}
.state-steps li:last-child::before{display:none}
.state-steps li.done::before{background:var(--gold)}
.state-steps .dot{position:absolute;top:2px;inset-inline-start:calc(50% - 7px);width:14px;height:14px;border-radius:50%;background:#fff;border:2px solid var(--hair);box-sizing:border-box;z-index:1}
.state-steps li.done .dot{background:var(--gold);border-color:var(--gold)}
.state-steps li.now{color:var(--navy)}
.state-steps li.now .dot{border-color:var(--gold);box-shadow:0 0 0 4px rgba(200,160,64,.18);animation:statepulse 2.4s ease-in-out infinite}
@keyframes statepulse{50%{box-shadow:0 0 0 7px rgba(200,160,64,.06)}}
@media (prefers-reduced-motion:reduce){.state-steps li.now .dot{animation:none}}
.state-acts{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:20px}
.state-acts .btn{min-width:170px}
.state-foot{margin:22px 0 0;padding-top:14px;border-top:1px solid var(--hair2);color:var(--muted);font-size:13px}
.login-hint{margin:-6px 0 14px;color:var(--muted);font-size:13px;line-height:1.7;text-align:center}
.login-forgot{text-align:center;margin-top:4px}
.login-forgot a{font-weight:700}
@media (max-width:480px){.state{margin:14px auto}.state .card{padding:26px 18px 20px}.state h1{font-size:20px}.state-acts .btn{flex:1 1 100%;min-width:0}}
/* v1.33 B8 (proposal): no rate yet / not enough days yet - calm placeholders that say when the figures come */
.hero .ghost{display:inline-block;width:110px;max-width:100%;height:14px;border-radius:7px;background:rgba(255,255,255,.1);vertical-align:middle}
.hero-wait{display:flex;align-items:flex-start;gap:10px;margin:12px 0 0;padding:10px 14px;border-radius:10px;background:rgba(232,192,96,.08);border:1px solid rgba(232,192,96,.22);color:#e9dcb8;font-size:14px;font-weight:600;line-height:1.8;max-width:760px}
.hero-wait .yi{width:20px;height:20px;flex:none;margin-top:3px;color:var(--gold-l)}
.wait-box{display:flex;align-items:flex-start;gap:12px;padding:16px 18px;border:1px dashed #d8c58f;border-radius:12px;background:#fdfaf1;color:var(--ink);grid-column:1/-1}
.wait-box.wide{margin-bottom:16px}
.wait-box .yi{width:22px;height:22px;flex:none;color:var(--gold-d);margin-top:3px}
.wait-box b{display:block;color:var(--navy);font-size:15px}
.wait-box span{display:block;color:var(--muted);font-size:14px;line-height:1.8}
.fc-wait{padding:6px 0 2px}
.fc-wait svg{display:block;width:100%;height:96px}
.fc-wait line{stroke:#edf0f4;stroke-width:1;vector-effect:non-scaling-stroke}
.fc-wait line.b{stroke:#c9d2de}
.fc-wait p{margin:8px 0 0;color:var(--muted);font-size:13.5px;text-align:center}
.empty.calm{font-size:14px;padding:18px 10px}
/* v1.34.0: office pages (being prepared / ended / paused) and the login history */
.state-acct{display:block;margin-top:8px;font-weight:700;color:var(--navy);overflow-wrap:anywhere}
.state-date{display:block;margin-top:4px;color:var(--navy)}

/* ---------- v1.35.0 banknote guide (G1-G10, owner approval 2026-10-26; from the proposal bn.css) ---------- */
.bn-crumb{margin:0 0 8px;font-size:14px}
.bn-lead{max-width:760px;color:var(--muted);margin:0}
.bn-verified{display:inline-flex;gap:6px;align-items:center;font-size:12.5px;font-weight:700;color:var(--ok);background:var(--ok-bg);border-radius:999px;padding:2px 10px}
/* alerts */
.bn-alerts{display:flex;flex-direction:column;padding:0;overflow:hidden}
.bn-alerts .cardhead{padding:14px 18px 0}
.bn-al{display:grid;grid-template-columns:auto 1fr auto;gap:4px 12px;align-items:start;padding:11px 18px;border-top:1px solid var(--hair2)}
.bn-alerts .cardhead+.bn-al{border-top:0}
.bn-al .k{font-size:12px;font-weight:800;border-radius:7px;padding:1px 9px;white-space:nowrap;margin-top:3px}
.bn-al .k.new{background:#e7f0fb;color:#1f5fa8}
.bn-al .k.dead{background:var(--bad-bg);color:var(--bad)}
.bn-al .k.chg{background:var(--warn-bg);color:var(--warn)}
.bn-al .k.end{background:var(--hair2);color:var(--muted)}
.bn-al .t{font-weight:700;color:var(--ink);line-height:1.7;min-width:0;overflow-wrap:anywhere}
.bn-al .t b{color:var(--navy)}
.bn-al .t span{font-weight:600;color:var(--muted)}
.bn-al .m{font-size:12.5px;color:var(--muted);text-align:left;white-space:nowrap}
.bn-al .m a{font-weight:700}
/* currency tiles */
.bn-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px;margin-bottom:16px}
.bn-cur{display:flex;flex-direction:column;gap:8px;background:var(--card);border:1px solid var(--hair);border-radius:14px;padding:14px 16px;text-decoration:none;color:inherit;transition:border-color .15s,transform .15s;min-width:0}
a.bn-cur:hover{border-color:var(--gold);transform:translateY(-1px)}
.bn-cur .hd{display:flex;align-items:center;gap:12px}
.bn-sym{flex:none;width:46px;height:46px;border-radius:12px;display:grid;place-items:center;background:var(--navy3);color:var(--gold-l);font:800 22px/1 var(--f)}
.bn-sym.sm{font-size:15px}
.bn-cur .nm{font-weight:800;color:var(--navy);font-size:16.5px;line-height:1.35}
.bn-cur .nm .ltr{color:var(--muted);font-size:13px;font-weight:700}
.bn-cur .is{font-size:12.5px;color:var(--muted);line-height:1.5}
.bn-cur .den{display:flex;flex-wrap:wrap;gap:4px}
.bn-cur .den span{font:700 12px/1 var(--f);border:1px solid var(--hair);border-radius:6px;padding:4px 6px;direction:ltr;unicode-bidi:isolate}
.bn-cur.extra{background:var(--bg);border-style:dashed}
.bn-cur .ft{display:flex;flex-wrap:wrap;gap:6px;margin-top:auto;padding-top:6px;border-top:1px dashed var(--hair);font-size:12.5px}
.bn-cur form{display:flex;gap:6px;flex-wrap:wrap;margin-top:auto}
.bn-cur select{flex:1 1 120px;min-width:0;font:600 14px var(--f);padding:6px 8px;border:1px solid var(--hair);border-radius:9px;background:#fff;color:var(--ink)}
.bn-cur .btn{min-height:38px;padding:6px 14px;font-size:14px}
/* status chips */
.bn-st{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:800;border-radius:999px;padding:1px 10px;white-space:nowrap}
.bn-st::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}
.bn-st.ok{background:var(--ok-bg);color:var(--ok)}
.bn-st.phase{background:#eef4e4;color:#4d6b14}
.bn-st.ex{background:var(--warn-bg);color:var(--warn)}
.bn-st.dl{background:var(--bad-bg);color:var(--bad)}
.bn-st.no{background:var(--hair2);color:var(--muted)}
.bn-st.img{background:#e7f0fb;color:#1f5fa8}
/* validity checker */
.bn-check .row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:10px;align-items:end}
.bn-check label{display:block;font-size:13px;font-weight:700;color:var(--muted);margin-bottom:3px}
.bn-check select{width:100%;font:600 15px var(--f);padding:9px 10px;border:1px solid var(--hair);border-radius:10px;background:#fff;color:var(--ink)}
.bn-check select:disabled{background:var(--bg);color:var(--muted)}
.bn-check .step{margin:10px 0 0;font-size:13.5px;color:var(--muted)}
.bn-verdict{margin-top:14px;border-radius:12px;padding:14px 16px;display:grid;grid-template-columns:auto 1fr;gap:4px 14px;align-items:start}
.bn-verdict>div{min-width:0;overflow-wrap:anywhere}
.bn-verdict .ic{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;font:800 20px/1 var(--f);grid-row:span 3;color:#fff}
.bn-verdict.ok{background:var(--ok-bg)}.bn-verdict.ok .ic{background:var(--ok)}
.bn-verdict.phase{background:#eef4e4}.bn-verdict.phase .ic{background:#4d6b14}
.bn-verdict.ex{background:var(--warn-bg)}.bn-verdict.ex .ic{background:var(--warn)}
.bn-verdict.no{background:var(--hair2)}.bn-verdict.no .ic{background:var(--muted)}
.bn-verdict .h{font-weight:800;color:var(--ink);font-size:16.5px}
.bn-verdict .b{color:var(--ink)}
.bn-verdict .b p{margin:0 0 4px}
.bn-verdict .b ul{margin:2px 0 6px;padding-inline-start:18px}
.bn-verdict .s{font-size:12.5px;color:var(--muted)}
.bn-verdict .per{border-top:1px solid rgba(0,0,0,.06);padding-top:6px;margin-top:6px}
.bn-verdict .per:first-child{border-top:0;padding-top:0;margin-top:0}
/* currency hero */
.bn-hero{display:grid;grid-template-columns:auto 1fr auto;gap:18px;align-items:center;background:linear-gradient(135deg,var(--navy3),var(--navy2));color:#fff;border-radius:16px;padding:20px 22px;margin-bottom:16px;border-bottom:3px solid var(--gold)}
.bn-hero>div{min-width:0}
.bn-hero .bn-sym{width:74px;height:74px;font-size:40px;border-radius:18px;background:rgba(255,255,255,.08);border:1px solid rgba(232,192,96,.45)}
.bn-hero .bn-sym.sm{font-size:24px}
.bn-hero h1{color:#fff;margin:0;font-size:25px}
.bn-hero p{margin:2px 0 0;color:#cfdbea;font-size:14px}
.bn-hero .kv{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.bn-hero .kv span{font-size:12.5px;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.16);border-radius:999px;padding:2px 11px}
.bn-hero .side{text-align:left;font-size:13px;color:#cfdbea}
.bn-hero .side .big{font:800 26px/1.2 var(--f);color:#fff}
.bn-hero .side a{color:var(--gold-l)}
.bn-toc{display:flex;gap:6px;overflow-x:auto;margin:0 0 16px;padding-bottom:2px}
.bn-toc a{flex:none;text-decoration:none;font:700 13.5px var(--f);color:var(--navy);border:1px solid var(--hair);background:var(--card);border-radius:999px;padding:5px 14px}
.bn-toc a:hover{border-color:var(--gold)}
.bn-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px;margin:12px 0 0}
.bn-facts div{border:1px solid var(--hair);border-radius:12px;padding:10px 13px;background:#fbfcfe;min-width:0}
.bn-facts dt{font-size:12.5px;color:var(--muted);font-weight:700}
.bn-facts dd{margin:2px 0 0;font-weight:800;color:var(--navy);line-height:1.5;overflow-wrap:anywhere}
.bn-facts dd small{display:block;font-weight:600;color:var(--muted);font-size:12px}
.bn-prose{max-width:760px}
.bn-prose p{margin:0 0 10px}
/* denominations */
.bn-den{display:grid;grid-template-columns:86px 1fr;gap:14px;padding:14px 0;border-top:1px solid var(--hair2)}
.bn-den:first-of-type{border-top:0;padding-top:4px}
.bn-den .v{font:800 24px/1.15 var(--f);color:var(--navy);text-align:right;overflow-wrap:anywhere}
.bn-den .v a{text-decoration:none;color:inherit}
.bn-den .v small{display:block;font-size:12px;color:var(--muted);font-weight:700}
.bn-issues{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px;min-width:0}
.bn-issue{border:1px solid var(--hair);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:8px;background:#fff;min-width:0}
.bn-issue .meta{display:flex;flex-wrap:wrap;gap:4px 10px;align-items:center;font-size:12.5px;color:var(--muted)}
.bn-issue .meta b{color:var(--ink);font-size:13.5px}
.bn-issue .lk{font-size:12.5px;font-weight:700;display:flex;gap:10px;flex-wrap:wrap}
/* the note: the official picture when the issuer allows it, the descriptive plate (G8) otherwise */
.bn-note{container-type:inline-size;position:relative;display:block;width:100%;aspect-ratio:var(--ar,1.9);border-radius:7px;overflow:hidden;background:#eef1f5;box-shadow:inset 0 0 0 1px rgba(0,0,0,.1);max-width:100%;text-decoration:none}
.bn-note.img{cursor:zoom-in}
.bn-note.img img{display:block;width:100%;height:100%;object-fit:contain}
.bn-note.plate{background:repeating-linear-gradient(135deg,var(--c1,#7a8796) 0 10px,var(--c1b,#879aa8) 10px 20px);background-color:var(--c1,#7a8796)}
.bn-note.plate .n{position:absolute;inset-inline-start:7%;top:10%;font:800 19cqw/1 var(--f);color:rgba(255,255,255,.95);text-shadow:0 1px 3px rgba(0,0,0,.35);direction:ltr;unicode-bidi:isolate}
.bn-note.plate .lbl{position:absolute;inset:auto 0 0 0;background:rgba(10,31,56,.8);color:#fff;font-size:11.5px;font-weight:700;padding:4px 8px;text-align:center;line-height:1.5}
a.bn-note.plate:hover .lbl{background:rgba(10,31,56,.92);text-decoration:underline}
.bn-sides{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.bn-sides.one{grid-template-columns:1fr}
.bn-sides figure{margin:0;min-width:0}
.bn-sides figcaption{font-size:11.5px;color:var(--muted);text-align:center}
.bn-credit{font-size:12px;color:var(--muted);margin:10px 0 0}
/* withdrawn */
.bn-wd{width:100%;border-collapse:collapse;font-size:14px}
.bn-wd th{font-size:12.5px;color:var(--muted);text-align:right;font-weight:700;padding:6px 10px;border-bottom:1px solid var(--hair)}
.bn-wd td{padding:10px;border-bottom:1px solid var(--hair2);vertical-align:top}
.bn-wd td b{color:var(--navy)}
.bn-wd .bn-note{width:110px}
.bn-tw{overflow-x:auto}
.bn-where{background:var(--bg);border-radius:12px;padding:12px 14px;margin-top:12px;font-size:14px}
.bn-where h3{margin:0 0 6px;font-size:14.5px;color:var(--navy)}
.bn-where ul{margin:0;padding-inline-start:18px}
/* timeline */
.bn-tl{position:relative;display:grid;grid-template-columns:repeat(var(--n),minmax(0,1fr));margin:8px 0 2px;padding:26px 0 0;list-style:none}
.bn-tl::before{content:"";position:absolute;inset-inline:0;top:33px;height:3px;background:var(--hair);border-radius:3px}
.bn-tl .p{position:relative;text-align:center;font-size:12px;color:var(--muted);padding:0 4px;overflow-wrap:anywhere}
.bn-tl .p::before{content:"";display:block;width:13px;height:13px;border-radius:50%;margin:0 auto 6px;background:var(--card);border:3px solid var(--gold)}
.bn-tl .p b{display:block;color:var(--navy);font-size:13px}
.bn-tl .p.now::before{background:var(--gold)}
.bn-tl .p .y{position:absolute;top:-24px;left:0;right:0;font-weight:800;color:var(--ink)}
.bn-up{margin:14px 0 0;padding:0;list-style:none}
.bn-up li{border-top:1px solid var(--hair2);padding:8px 0}
.bn-up li b{color:var(--navy)}
/* office box */
.bn-office{border:1px solid #e9d9a8;background:#fffaf0;border-radius:14px;padding:14px 18px;margin-bottom:16px}
.bn-office h2{color:var(--gold-d)}
.bn-office ul{margin:0;padding-inline-start:18px}
.bn-office li{margin-bottom:4px}
/* sources */
.bn-src ol{margin:0;padding-inline-start:20px;font-size:13.5px}
.bn-src li{margin-bottom:4px;overflow-wrap:anywhere}
.bn-econ{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px}
.bn-econ .stat .v{font-size:19px}
.bn-econ .stat .d{color:var(--muted);font-weight:600;font-size:12px}
/* viewer (G4) */
.bn-view{position:fixed;inset:0;z-index:60;background:#06101e;display:flex;flex-direction:column;color:#fff;padding:max(10px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(14px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))}
.bn-view[hidden]{display:none}
.bn-view .bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-height:48px}
.bn-view .bar .t{font-weight:800;font-size:16px;flex:1;min-width:0}
.bn-view .bar .t small{display:block;font-weight:600;color:#a9b9cf;font-size:12.5px}
.bn-view .seg{display:inline-flex;border:1px solid rgba(255,255,255,.25);border-radius:10px;overflow:hidden}
.bn-view .seg button{font:700 13.5px var(--f);color:#dce6f3;background:none;border:0;padding:6px 14px;cursor:pointer;min-height:36px}
.bn-view .seg button.on{background:var(--gold);color:var(--navy3)}
.bn-view .seg button:disabled{opacity:.4;cursor:default}
.bn-view .x{font:700 22px/1 var(--f);color:#fff;background:rgba(255,255,255,.1);border:0;border-radius:10px;width:40px;height:40px;cursor:pointer}
.bn-view .stage{flex:1;min-height:0;overflow:auto;display:flex;padding:10px 0;touch-action:pan-x pan-y}
.bn-view .stage img{margin:auto;display:block;max-width:100%;max-height:100%;object-fit:contain;background:#fff;border-radius:4px}
.bn-view .stage.zoomed img{max-width:none;max-height:none}
.bn-view .nav{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.bn-view .nav button{font:700 14px var(--f);color:#fff;background:rgba(255,255,255,.1);border:0;border-radius:10px;padding:8px 14px;cursor:pointer;min-height:40px}
.bn-view .nav button:disabled{visibility:hidden}
.bn-view .bn-cap{font-size:12.5px;color:#a9b9cf;text-align:center;flex:1}
.bn-view :focus-visible{outline:2px solid var(--gold-l);outline-offset:2px}
html.bn-noscroll,html.bn-noscroll body{overflow:hidden}
/* compare (G3) */
.bn-cmp{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.bn-cmp>div{min-width:0}
.bn-cmp table,.bn-kv{width:100%;border-collapse:collapse;font-size:13.5px;margin-top:8px}
.bn-cmp td,.bn-kv td{padding:6px 4px;border-bottom:1px solid var(--hair2);vertical-align:top;overflow-wrap:anywhere}
.bn-cmp td:first-child,.bn-kv td:first-child{color:var(--muted);font-weight:700;width:38%}
.bn-pairs{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
.bn-pairs a{display:inline-block;border:1px solid var(--hair);border-radius:999px;padding:4px 12px;font-weight:700;font-size:13.5px;text-decoration:none;background:var(--card)}
.bn-pn{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:6px 0 16px;font-weight:700}
/* home block (G7) */
.bn-home{margin-top:16px}
@media (max-width:700px){
  .bn-view .bar .t{flex-basis:100%;order:-1;padding-inline-end:48px}
  .bn-view .bar .x{position:absolute;top:max(10px,env(safe-area-inset-top));left:max(16px,env(safe-area-inset-left))}
  .bn-view .bn-cap{order:-1;flex-basis:100%}
  .bn-check .row{grid-template-columns:1fr 1fr}
  .bn-check .row>div:first-child{grid-column:1/-1}
  .bn-check .row .go{grid-column:1/-1}
  .bn-check .row .go .btn{width:100%}
  .bn-hero{grid-template-columns:auto 1fr;padding:16px}
  .bn-hero .bn-sym{width:56px;height:56px;font-size:30px}
  .bn-hero .bn-sym.sm{font-size:19px}
  .bn-hero h1{font-size:21px}
  .bn-hero .side{grid-column:1/-1;text-align:right}
  .bn-den{grid-template-columns:1fr;gap:6px}
  .bn-al{grid-template-columns:auto 1fr}
  .bn-al .m{grid-column:2;text-align:right;white-space:normal}
  .bn-cmp{grid-template-columns:1fr}
  .bn-tl{grid-template-columns:1fr;padding:0;gap:0}
  .bn-tl::before{top:6px;bottom:6px;inset-inline:auto;inset-inline-start:5px;width:3px;height:auto}
  .bn-tl .p{text-align:right;padding:0 26px 10px 0}
  .bn-tl .p::before{position:absolute;inset-inline-start:0;top:4px;margin:0}
  .bn-tl .p .y{position:static;display:inline}
  .bn-tl .p .y::after{content:" \00b7 "}
  .bn-tl .p b{display:inline}
  .bn-tl .p b+span::before{content:" \00b7 "}
}
/* counter sheet (G6, A4, text only) */
body.bn-sheet-page{background:#d9dee6;display:block;padding:16px 0}
.bn-sheet-bar{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;width:210mm;max-width:calc(100% - 32px);margin:0 auto 12px}
.bn-sheet{background:#fff;color:#111;width:210mm;max-width:calc(100% - 32px);margin:0 auto;padding:12mm 12mm 10mm;box-shadow:0 2px 18px rgba(0,0,0,.12);font-size:12.5px;line-height:1.6}
.bn-sheet .bn-sh-head{display:flex;justify-content:space-between;align-items:center;gap:10px;border-bottom:2px solid var(--navy);padding-bottom:6px;margin-bottom:8px}
.bn-sheet h1{font-size:19px;margin:0}
.bn-sheet .tw{overflow-x:auto}
.bn-sheet table{width:100%;border-collapse:collapse;margin-bottom:8px}
.bn-sheet th,.bn-sheet td{border:1px solid #c9d1dc;padding:4px 6px;text-align:right;vertical-align:top}
.bn-sheet th{background:#eef2f7;font-size:12px}
.bn-sheet .cc{font-weight:800;white-space:nowrap}
.bn-sheet p{margin:0 0 8px}
.bn-sheet .bn-sh-foot{display:flex;justify-content:space-between;align-items:flex-end;gap:10px;font-size:11px;color:#555;border-top:1px solid #c9d1dc;padding-top:6px}
.bn-sheet .qr{flex:none;width:24mm;text-align:center;font-size:9px}
.bn-sheet .qr svg{width:24mm;height:24mm;display:block}
@media (max-width:700px){.bn-sheet{padding:16px 12px;font-size:12px}.bn-sheet .bn-sh-head{flex-wrap:wrap}}
@media print{
  @page{size:A4 portrait;margin:10mm}
  body.bn-sheet-page{background:#fff;padding:0}
  .bn-sheet-bar{display:none!important}
  .bn-sheet{width:auto;max-width:none;box-shadow:none;margin:0;padding:0}
  .bn-sheet th{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}
/* admin (G10) */
.bn-alerts>.bn-al:first-child{border-top:0}

/* ======================================================================================
   v1.36.0 DESIGN TRACK (D01-D24, T07-T09, T14). Appended block, nothing above is edited.
   Part C = type scale and radii (D09), generated from the rules above (same selectors, same order);
   it comes first so the hand-written parts below win. Part A = public pages (core).
   Part B = members' pages (community, tab bar).
   ====================================================================================== */

/* ---------- Part C: D09 type scale 13/14/15/17/20/26/34 (Arabic never under 13px, figure-only labels 12px)
   and radii 8/12/16/999. Same selectors as above, in the same order and media; charts, print and
   the banknote sheet keep their sizes. Font weights: only 400 and 700 files exist; nothing to change on screen. ---------- */
.brand small{font-size:13px}
.mainnav a{font-size:14px;border-radius:8px}
.usernav .lnk{font-size:14px;border-radius:8px}
.subnav>.wrap>a{font-size:14px;border-radius:8px}
h1{font-size:26px}
h2{font-size:17px}
.card{border-radius:12px}
.stat .v{font-size:20px}
.demo{font-size:14px;border-radius:12px}
.btn{font-size:15px;border-radius:12px}
.btn-sm{font-size:14px;border-radius:8px}
.err{border-radius:12px}
.ok{border-radius:12px}
.av .img,.av .ini{font-size:17px;border-radius:50%}
.av.lg .ini{font-size:34px}
.who .m{font-size:13px}
.tier{font-size:13px;border-radius:999px}
.bdg{font-size:13px;border-radius:999px}
.officecard{border-radius:12px}
.cap{border-radius:12px}
.cap h3{font-size:15px}
.hero h1{font-size:26px}
.tick .r{font-size:20px}
.fchart figcaption{font-size:13px}
.big{font-size:34px}
.ixhead .big{font-size:34px}
.periods.segm{border-radius:12px}
.periods.segm .chip{border-radius:8px}
@media (max-width:640px){.ixhead .big{font-size:26px}}
.art{border-radius:12px}
.art h3{font-size:17px}
.prose{font-size:17px}
.mv-keys{font-size:13px}
.mv-c .nm{font-size:13px}
.mv-v{font-size:13px}
@media (max-width:640px){.mv-keys{font-size:13px}}
@media (max-width:640px){h1{font-size:20px}}
@media (max-width:640px){.hero h1{font-size:26px}}
@media (max-width:640px){.big{font-size:26px}}
.conv-out{border-radius:12px}
.conv-out .res{font-size:26px}
.market{border-radius:12px}
.tcard{border-radius:12px}
.tc-head b{font-size:15px}
.tc-trend{font-size:13px;border-radius:999px}
.tc-price{font-size:20px}
.tc-row{font-size:13px}
.vs{font-size:13px;border-radius:999px}
.legend{font-size:13px}
.tc-src{font-size:13px}
.hero .stat.q .v{font-size:26px}
.hero .per{font-size:13px}
.hero-src{font-size:13px}
@media (max-width:640px){.hero .stat.q .v{font-size:20px}}
.notechips a{border-radius:12px}
.notechips span{font-size:13px}
@media (max-width:640px){.hero-stats .stat .v{font-size:20px}}
.seg label{border-radius:12px}
.sh{font-size:13px;border-radius:999px}
footer .social{font-size:13px}
.art-search input{font-size:15px;border-radius:12px}
.pw-eye{font-size:13px;border-radius:8px}
.adslot .ad-label{font-size:13px}
@media (max-width:640px){.navtoggle{font-size:14px;border-radius:12px}}
footer.sitefoot{font-size:14px}
.fcol h3{font-size:14px}
.fbottom{font-size:13px}
@media (max-width:640px){.tick .r{font-size:17px}}
.tick.t2 .nm{font-size:13px}
.tick.t2 .r{font-size:20px}
@media (max-width:640px){.tick.t2 .r{font-size:20px}}
.adcustom img{border-radius:8px}
@media (max-width:640px){footer.sitefoot{font-size:13px}}
@media (max-width:640px){.fbottom{font-size:13px}}
@media (max-width:640px){.curlist .bd>div:first-child .small{font-size:13px}}
@media (max-width:640px){.curlist .bd>p{font-size:13px}}
@media (max-width:640px){.curlist .bd>div.num .small{font-size:13px}}
@media (max-width:640px){body:not(.bo) .stat .v{font-size:17px}}
.nhead h1{font-size:26px}
.nticker{font-size:14px;border-radius:12px}
.nlead{border-radius:12px}
.nlead-title{font-size:26px}
.nlead-sum{font-size:15px}
.nmeta{font-size:13px}
.nrow-img{border-radius:12px}
.nrow-title{font-size:17px}
.shr-open{font-size:13px;border-radius:999px}
.shr-b{font-size:13px;border-radius:999px}
.nside .card h2{font-size:15px}
.nart-title{font-size:34px}
.nart-dek{font-size:17px}
.nart-fig figcaption{font-size:13px}
.nart-body{font-size:17px}
@media (max-width:640px){.nhead h1{font-size:26px}}
@media (max-width:640px){.nlead-title{font-size:20px}}
@media (max-width:640px){.nrow-title{font-size:15px}}
@media (max-width:640px){.shr-b{font-size:13px}}
@media (max-width:640px){.nart-title{font-size:26px}}
@media (max-width:640px){.nart-dek{font-size:17px}}
@media (max-width:640px){.nart-body{font-size:17px}}
.eyebrow{font-size:13px}
.dt2 th{font-size:13px}
.dt2 .cc span{font-size:13px}
@media (max-width:640px){.dt2 .cc span{font-size:13px}}
.subnav>.wrap{border-radius:12px}
@media (max-width:640px){.subnav>.wrap{border-radius:12px}}
.tbox::before{border-radius:12px}
.tm-k{font-size:13px}
.tm-n{font-size:26px}
.tier{font-size:13px;border-radius:999px}
.appbar img{border-radius:12px}
.appbar-t b{font-size:14px}
.appbar-t small{font-size:13px}
.inst-done{border-radius:12px}
.inst-video video{border-radius:16px}
.inst-os h2{font-size:20px}
.inst-steps{font-size:15px}
.state h1{font-size:20px}
.state-lead{font-size:17px}
@media (max-width:480px){.state h1{font-size:20px}}
.hero .ghost{border-radius:8px}
.hero-wait{font-size:14px;border-radius:12px}
.bn-verified{font-size:13px;border-radius:999px}
.bn-al .k{font-size:13px;border-radius:8px}
.bn-al .m{font-size:13px}
.bn-cur{border-radius:12px}
.bn-sym{font-size:20px;border-radius:12px}
.bn-cur .nm{font-size:17px}
.bn-cur .is{font-size:13px}
.bn-cur .den span{font-size:13px;border-radius:8px}
.bn-cur .ft{font-size:13px}
.bn-cur select{font-size:14px;border-radius:8px}
.bn-st{font-size:13px;border-radius:999px}
.bn-check select{font-size:15px;border-radius:12px}
.bn-check .step{font-size:13px}
.bn-verdict .h{font-size:17px}
.bn-verdict .s{font-size:13px}
.bn-hero .bn-sym{font-size:34px;border-radius:16px}
.bn-hero .bn-sym.sm{font-size:26px}
.bn-hero h1{font-size:26px}
.bn-hero .kv span{font-size:13px;border-radius:999px}
.bn-toc a{font-size:13px;border-radius:999px}
.bn-facts dt{font-size:13px}
.bn-facts dd small{font-size:13px}
.bn-den .v{font-size:26px}
.bn-den .v small{font-size:13px}
.bn-issue .meta{font-size:13px}
.bn-issue .meta b{font-size:13px}
.bn-issue .lk{font-size:13px}
.bn-note{border-radius:8px}
.bn-note.plate .lbl{font-size:13px}
.bn-sides figcaption{font-size:13px}
.bn-credit{font-size:13px}
.bn-wd th{font-size:13px}
.bn-where h3{font-size:14px}
.bn-tl .p{font-size:13px}
.bn-office{border-radius:12px}
.bn-src ol{font-size:13px}
.bn-econ .stat .v{font-size:20px}
.bn-econ .stat .d{font-size:13px}
.bn-view .bar .t{font-size:15px}
.bn-view .bar .t small{font-size:13px}
.bn-view .seg{border-radius:12px}
.bn-view .seg button{font-size:13px}
.bn-view .x{font-size:20px;border-radius:12px}
.bn-view .nav button{font-size:14px;border-radius:12px}
.bn-view .bn-cap{font-size:13px}
.bn-cmp table,.bn-kv{font-size:13px}
.bn-pairs a{font-size:13px;border-radius:999px}
@media (max-width:700px){.bn-hero .bn-sym{font-size:26px}}
@media (max-width:700px){.bn-hero .bn-sym.sm{font-size:20px}}
@media (max-width:700px){.bn-hero h1{font-size:20px}}

/* ---------- Part A: public pages ---------- */

/* T09: the hero and the members' sub-menu now open <main>; main keeps its spacing on its content */
main{padding-top:0}
main>.wrap{padding-top:26px}

/* D01: tables fit a phone; every figure complete; edge shadow when a table still scrolls */
.tfit{min-width:420px}
@media (max-width:600px){
  .tfit{min-width:0;table-layout:auto}
  .tfit th,.tfit td{padding:10px 6px}
  .tfit th:first-child,.tfit td:first-child{padding-right:14px!important}
  .tfit td:first-child .small{display:block;font-size:13px;line-height:1.5}
  .tfit td.num{font-size:14px}
  .tfit td.num b{font-size:15px}
  .tfit-conv th:nth-child(4),.tfit-conv td:nth-child(4){display:none}
  .dtbl td,.dtbl th{padding:8px 4px}
  .dtbl .chg{gap:2px}
  .dtbl .chg i{font-size:.6em}
  .tw{background:linear-gradient(to left,#fff 30%,rgba(255,255,255,0)) left/24px 100% no-repeat local,
     radial-gradient(farthest-side at 0 50%,rgba(15,39,68,.18),transparent) left/10px 100% no-repeat scroll}
}

/* D02: currency page chart (same component as the dirham page) */
.yr-range{display:flex;flex-direction:column;gap:0;line-height:1.5;overflow-wrap:anywhere}
.yr-range .sep{display:none}
.yr-range>span{white-space:nowrap}
.yr-range .num{font-weight:800}
.stat .v .chg{font-size:inherit}

/* D03: hero trust block */
.hero-src{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin:14px 0 0;padding:10px 12px;border:1px solid rgba(232,192,96,.35);
  border-radius:12px;background:rgba(255,255,255,.04);color:#dfe6ef;font-size:14px;line-height:1.7;max-width:1000px}
.hero p.hero-src{max-width:1000px;color:#dfe6ef}
.hero-src .yi{width:17px;height:17px;color:var(--gold-l);vertical-align:-3px;margin-inline-end:6px}
.hero-src b{color:#fff;font-weight:700}
.hero-src .ts{color:#b4c2d3;font-size:13px;flex-basis:100%}
.hero-src .lg{flex-basis:100%;font-size:13px;color:#c9d4e2}
.hero-src .lg .u{color:#ff9a8f;font-weight:700}.hero-src .lg .d{color:#7fe0a8;font-weight:700}
.hero .mkt-summary{font-weight:400;font-size:15px;color:#dbe3ee;line-height:1.9}

/* D04: an ad place that comes back empty takes no room; readable label */
.adslot:has(ins[data-ad-status="unfilled"]){display:none}
.adslot .ad-label{color:var(--muted);font-size:12px}

/* D05: change with arrow, colour and period; cards without a rate say why */
.chgwrap{display:inline-flex;flex-direction:column;align-items:flex-end;line-height:1.35;font-weight:700}
.chgwrap .per{font-size:12px;font-weight:700;color:var(--muted)}
.curlist .nodata{display:block;font-size:13px;color:var(--muted);margin-top:6px;line-height:1.7}
.cap-who{display:inline-block;vertical-align:middle;margin-inline-start:6px;font-size:12px;font-weight:700;color:var(--muted);background:var(--hair2);border-radius:999px;padding:0 9px}
@media (max-width:640px){
  .curlist .bd>div:first-child .chgwrap{grid-column:2;grid-row:2;align-items:flex-end;text-align:left;font-size:13px}
  .curlist .bd>.nodata{grid-column:1 / -1}
  .curlist .chgwrap .per{font-size:12px}
}

/* D07: participating offices - compact rows on phones, city chips */
.citychips{margin:-6px 0 16px}
.citychips .chip{display:inline-flex;align-items:center;gap:6px;min-height:36px}
.citychips .chip .num{font-size:12px;opacity:.75}
@media (max-width:600px){
  .citychips{gap:6px}
  .officecards{grid-template-columns:1fr;gap:10px}
  .officecard{display:grid;grid-template-columns:64px minmax(0,1fr);grid-auto-rows:auto;column-gap:14px;row-gap:2px;
    text-align:start;align-items:center;justify-items:start;padding:14px 16px}
  .officecard .av.lg{width:60px;height:60px;grid-row:1 / span 3;grid-column:1}
  .officecard>:not(.av){grid-column:2}
  .officecard .av.lg .vf{width:20px;height:20px;bottom:-2px;left:-2px}
  .officecard .av.lg .vf svg{width:11px;height:11px}
  .officecard .av.lg .ini{font-size:22px}
  .officecard>b{font-size:16px!important;line-height:1.5;overflow-wrap:anywhere}
  .officecard .badges{justify-content:flex-start;gap:4px}
  .officecard .bdg{font-size:12px;padding:1px 8px}
}

/* D08: footer - column titles on phones in two columns; disclaimer and publisher lines */
.fbottom .f-pub,.fbottom .f-disc{margin:6px 0 0;line-height:1.8}
.fbottom .f-pub a{color:#c9d4e2}
.fbottom .f-disc{color:#9fb0c4}
@media (max-width:640px){
  .fcols{display:grid;grid-template-columns:1fr 1fr;gap:16px 18px}
  .fabout{grid-column:1 / -1}
  .fcol{display:flex;flex-direction:column;gap:2px;min-width:0}
  .fcol h3{display:block;font-size:14px;margin:0 0 2px}
  .fcol a{padding:5px 0;line-height:1.5}
  .fcol:last-child{grid-column:1 / -1}
}

/* D10: one figure style (the year range, percents) */
.num .chg .num{direction:ltr}

/* D11: phone menu - tools group at the end */
.nav-tools{display:none}
@media (max-width:640px){
  .js.nav-open .nav-tools{display:flex;flex-direction:column;order:5;flex-basis:100%;padding:8px 0 4px;border-top:1px solid rgba(255,255,255,.1)}
  .nav-tools-h{color:#f3d68a;font-size:13px;font-weight:700;padding:2px 12px}
  .js .nav-tools a{display:flex;align-items:center;gap:10px;color:#d9e2ee;text-decoration:none;font:700 15px var(--f);padding:11px 12px;border-radius:9px}
  .nav-tools .yi{width:18px;height:18px;color:var(--gold-l);flex:none}
}

/* D12: even article cards - one 16:9 cover, a slim band when there is none, home news as rows on phones */
.art .cv{height:auto;aspect-ratio:16 / 9}
.art .cv.cv-band{aspect-ratio:auto;height:56px;display:flex;align-items:center;justify-content:center;background:var(--navy3)}
.art .cv-band .yi{width:24px;height:24px;color:var(--gold-l)}
.articles{align-items:stretch}
@media (max-width:640px){
  .home-news{grid-template-columns:1fr;gap:0;border:1px solid #e8ecf2;border-radius:12px;background:#fff;overflow:hidden}
  .home-news .art{flex-direction:row;align-items:center;gap:12px;border:0;border-radius:0;border-bottom:1px solid var(--hair2);padding:10px 12px}
  .home-news .art:last-child{border-bottom:0}
  .home-news .art .cv{flex:0 0 92px;width:92px;height:auto;aspect-ratio:1;border-radius:10px}
  .home-news .art .cv.cv-band{height:auto}
  .home-news .art .bd{padding:0;min-width:0}
  .home-news .art h3{font-size:15px;margin:0 0 2px;line-height:1.5}
  .home-news .art p{display:none}
}

/* D13: "?" after technical terms; one line reserved for the trend pill */
.qm{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;margin-inline-start:5px;border-radius:50%;border:1px solid #c9d2de;
  background:#fff;color:var(--navy2);font:700 12px/1 var(--f);cursor:help;vertical-align:1px;padding:0}
button.qm{cursor:pointer;position:relative}
button.qm::after{content:"";position:absolute;inset:-4px}
button.qm:focus-visible{outline:2px solid var(--gold);outline-offset:1px}
.qm-pop{max-width:min(320px,90vw);margin:auto;padding:12px 14px;border:1px solid var(--hair);border-radius:12px;background:#fff;color:var(--ink);
  font:400 14px/1.8 var(--f);box-shadow:0 16px 40px -12px rgba(15,39,68,.35)}
.qm-pop::backdrop{background:rgba(10,31,56,.25)}
.qm-pop:not(:popover-open){display:none}
.tc-head{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:baseline;column-gap:6px}
.tc-head .small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.tc-head .tc-trend{grid-column:1 / -1;justify-self:start;margin:2px 0 0}

/* D14: calm share buttons - one outline style in the site palette */
.sh,.shr-b,.shr-wa,.shr-fb,.shr-x,.shr-tg,.shr-copy,.nfollow-links .shr-b:last-child{background:#fff;color:var(--navy);border:1.5px solid var(--hair);font-weight:700}
.shr-b{padding:5px 13px}
.sh:hover,.shr-b:hover{border-color:var(--gold);filter:none}
.shr-b::before,.sh[href*="wa.me"]::before,.sh[href*="facebook"]::before,.sh[href*="twitter"]::before,.sh[href*="t.me"]::before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;margin-inline-end:7px;vertical-align:1px;background:var(--muted)}
.shr-wa::before,.sh[href*="wa.me"]::before{background:#1f8f4e}
.shr-fb::before,.sh[href*="facebook"]::before{background:#1b5fbf}
.shr-x::before,.sh[href*="twitter"]::before{background:#111}
.shr-tg::before,.sh[href*="t.me"]::before{background:#1c84c9}
.shr-copy::before{display:none}

/* D15: contact card */
.contact-wa{gap:8px}
.contact-who{margin:0;font-size:14px;color:var(--ink)}
.contact-join{margin:4px 0 0;padding-top:10px;border-top:1px solid var(--hair2);font-size:14px;width:100%}

/* D17: the install bar comes after the first screen (appbar.js) - nothing to style */

/* D19: calm academy tile and readable level card */
.tbox.t-member{--mi:var(--ink);--m3:var(--muted)}

/* D21: 404 links and empty search */
.err-links{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 16px;margin-top:18px;padding-top:14px;border-top:1px solid var(--hair2);font-weight:700}
.err-links a{padding:4px 2px}
.err-search{justify-content:center;margin:12px 0 0}
.suggest{margin-top:10px;text-align:start;color:var(--ink)}
.suggest p{margin:0 0 6px;color:var(--muted)}
.suggest ul{margin:0;padding-inline-start:20px;line-height:1.9}

/* D22: palette discipline - navy tick with a gold ring, badges from the tokens */
.av .vf{background:var(--navy);border-color:var(--gold-l)}
.bdg.b-verified{background:#e8edf4;color:var(--navy)}
.bdg.b-founder{background:var(--navy);color:var(--gold-l)}
.bdg.b-present{background:var(--hair2);color:#3d4b5c}
input[type=radio],input[type=checkbox]{accent-color:var(--navy)}

/* D24: the login button shows it is the open page */
.usernav .btn.is-here{background:transparent;color:var(--gold-l);box-shadow:inset 0 0 0 1.5px var(--gold)}

/* T14: no layout shift - converter result keeps its filled height */
.conv-out{min-height:102px}
.cm-canvas{aspect-ratio:1 / 1}
.cm-canvas[height="1920"]{aspect-ratio:9 / 16}

/* ---------- Part B: members' pages ---------- */

/* D06: bottom tab bar on phones (members) */
.mtab{display:none}
@media (max-width:760px){
  body:has(.mtab){padding-bottom:calc(68px + env(safe-area-inset-bottom))}
  .mtab{position:fixed;inset-inline:0;bottom:0;z-index:59;display:grid;grid-template-columns:repeat(5,1fr);
    background:#0a1f38;border-top:1px solid rgba(232,192,96,.35);padding:6px 4px calc(6px + env(safe-area-inset-bottom));
    box-shadow:0 -8px 24px -12px rgba(10,31,56,.5)}
  .mtab a{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#c9d4e2;text-decoration:none;
    font-size:12px;font-weight:700;padding:6px 0;border-radius:10px;min-height:48px;line-height:1.2;text-align:center}
  .mtab a .yi{width:22px;height:22px}
  .mtab a.on{color:#e8c060;background:rgba(255,255,255,.06)}
  .mtab .nb{position:absolute;top:2px;inset-inline-start:calc(50% + 4px);background:#c0392b;color:#fff;font-size:11px;line-height:1;
    min-width:18px;height:18px;border-radius:9px;display:grid;place-items:center;padding:0 4px;border:2px solid #0a1f38}
  .mtab .nb[hidden]{display:none}
  body:has(.mtab) .appbar{bottom:calc(68px + env(safe-area-inset-bottom))}
  body:has(.mtab).has-appbar{padding-bottom:calc(144px + env(safe-area-inset-bottom))}
}

/* D20: reaction bar on phones - small labels under the icons */

/* T08: touch targets of at least 24 x 24 px, balanced by negative margins (no visible move) */
details.more summary{min-width:24px;min-height:24px}

/* ===== v1.36.0 technical track (T01, TECH 16-25): new rules only, kept together at the end ===== */
/* T01: covers are <img> (lazy, small copies) inside the same boxes: same size, crop and position as the old backgrounds */
.art .cv,.nrow-img,.nlead-img{position:relative;overflow:hidden}
.art .cv>img,.nrow-img>img,.nlead-img>img{position:absolute;top:0;left:0;display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.nart-fig img{height:auto}
/* TECH 16: "skip to the content", visible only when reached with the keyboard */
.skip{position:absolute;top:-80px;right:8px;z-index:1000;background:#fff;color:var(--navy);padding:8px 14px;border-radius:10px;font-weight:800;text-decoration:none;box-shadow:0 6px 18px rgba(10,31,56,.25)}
.skip:focus{top:8px}
/* TECH 18: a very long name without spaces wraps instead of widening the page (normal names unchanged) */
h1,.officecard>b{overflow-wrap:anywhere}
/* TECH 21c: field focus ring in dark gold (5:1 on white instead of 2.45:1) */
.field input:focus,.field select:focus,.field textarea:focus{outline-color:var(--gold-d)}
/* TECH 21e: no endless or decorative motion for visitors who asked for less */
/* TECH 25c: a very long converted amount wraps inside its box */
.conv-out .res{overflow-wrap:anywhere}
/* TECH 25a: printing a public page prints its content only (rate board and certificate keep their own rules) */
@media print{
  header.top,footer.sitefoot,.skip,.subnav,.appbar,.adslot,.sharebar,.shr,.navtoggle{display:none!important}
  body{background:#fff}
}

/* v1.39.0: official holidays - card at the end of the home side column, line in the top band, year page */
.hol-next{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--hair);border-radius:12px;background:#fbf8ef}
.hol-ic{width:38px;height:38px;flex:0 0 38px;border-radius:10px;background:var(--navy);color:var(--gold-l);display:flex;align-items:center;justify-content:center}
.hol-ic .yi{width:20px;height:20px}
.hol-t{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.hol-t b{color:var(--navy);font-size:15px;line-height:1.5}
.hol-t span{font-size:13px;color:var(--muted)}
.hol-t .k{font-size:12px;font-weight:800;color:var(--gold-d)}
.hol-in{flex:none;font-weight:800;font-size:13px;color:var(--navy);background:#fff;border:1px solid var(--hair);border-radius:999px;padding:3px 10px;white-space:nowrap}
.hol-est{font-style:normal;font-size:12px;font-weight:700;color:var(--gold-d)}
.hol-list{list-style:none;margin:10px 0 0;padding:0}
.hol-list li{display:flex;justify-content:space-between;gap:10px;padding:7px 2px;border-bottom:1px solid var(--hair2);font-size:14px}
.hol-list li:last-child{border-bottom:0}
.hol-list .n{min-width:0}
.hol-list .d{flex:none;color:var(--muted);white-space:nowrap}
.hol-note{margin:10px 0 0}
.hol-next.big{padding:14px 16px;margin-bottom:16px}
.hol-next.big .hol-t b{font-size:18px}
.hol-table tr.past td{color:var(--muted)}
.hol-table tr.past b{color:var(--muted)}
.hol-table tr.now td{background:#fbf8ef}
.hero-hol{display:flex;align-items:flex-start;gap:10px;margin:12px 0 0;padding:10px 14px;border-radius:10px;background:rgba(232,192,96,.12);border:1px solid rgba(232,192,96,.3);color:#f3e7c4;font-size:14px;line-height:1.8;max-width:760px}
.hero-hol .yi{width:20px;height:20px;flex:none;margin-top:3px;color:var(--gold-l)}
.hero-hol b{color:#fff}

/* v1.40.0: holidays - calendar tile, type marks, long weekend, the year by month */
.dtile{display:inline-flex;flex-direction:column;align-items:stretch;width:46px;flex:0 0 46px;border:1px solid var(--hair);border-radius:10px;overflow:hidden;background:#fff;text-align:center;line-height:1.25;box-shadow:0 1px 2px rgba(15,39,68,.06)}
.dtile .m{background:var(--navy);color:#fff;font-size:10.5px;font-weight:700;padding:2px 0}
.dtile .d{font-size:19px;font-weight:800;color:var(--navy);padding-top:2px}
.dtile .w{font-size:10px;color:var(--muted);padding-bottom:3px}
.dtile.rel .m{background:#1f6f4a}
.dtile.big{width:58px;flex-basis:58px}
.dtile.big .m{font-size:12px;padding:3px 0}
.dtile.big .d{font-size:25px}
.dtile.big .w{font-size:11px}
.dtile.past{opacity:.55}
.hol-next .dtile{background:#fff}
.hol-in.soon{display:inline-block;background:var(--gold);border-color:var(--gold);color:#fff}
.hol-long,.hol-wk{display:inline-block;align-self:flex-start;margin-top:4px;font-size:12px;font-weight:800;border-radius:999px;padding:1px 9px}
.hol-long{background:#e6f4ec;color:#1f6f4a}
.hol-wk{background:var(--hair2);color:var(--muted)}
.hol-long-s{font-style:normal;font-size:11.5px;font-weight:800;color:#1f6f4a;background:#e6f4ec;border-radius:999px;padding:0 7px;margin-inline-start:4px;white-space:nowrap}
.hol-list li{align-items:center}
.hol-list .mk{flex:0 0 22px;width:22px;height:22px;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;background:#eef2f8;color:var(--navy)}
.hol-list .mk.rel{background:#e6f4ec;color:#1f6f4a}
.hol-list .mk .yi{width:13px;height:13px}
.hol-list .n{flex:1}
.hol-note{display:flex;gap:8px;align-items:flex-start;margin:10px 0 0;padding:8px 10px;border-radius:10px;background:var(--bg);font-size:13px;color:var(--muted);line-height:1.7}
.hol-note .yi{width:16px;height:16px;flex:none;margin-top:3px;color:var(--gold-d)}
.hol-bar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;margin:0 0 14px}
.hol-bar .btn .yi{width:16px;height:16px;margin-inline-end:6px;vertical-align:-3px}
.hol-kpi{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 14px}
.hol-kpi div{background:#fff;border:1px solid var(--hair);border-radius:12px;padding:10px 12px;display:flex;flex-direction:column;gap:2px;flex:1 1 0;min-width:0}
.hol-kpi b{font-size:22px;color:var(--navy);line-height:1.2}
.hol-kpi span{font-size:12.5px;color:var(--muted)}
.hol-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(360px,1fr));gap:14px;align-items:start;margin-bottom:16px}
.hol-grid .hol-m{margin:0;padding:14px 16px}
.hol-mh{font-size:15px;color:var(--gold-d);margin:0 0 6px;padding-bottom:6px;border-bottom:1px solid var(--hair2)}
.hol-mh .num{color:var(--muted);font-weight:600;font-size:13px}
.hol-items{list-style:none;margin:0;padding:0}
.hol-items li{display:flex;gap:12px;align-items:center;padding:9px 4px;border-radius:10px}
.hol-items li+li{border-top:1px dashed var(--hair2)}
.hol-items li.now{background:#fbf8ef}
.hol-items li.past .hi-b b{color:var(--muted)}
.hi-b{flex:1;min-width:0}
.hi-b b{color:var(--navy);font-size:15px}
.hi-tags{display:flex;flex-wrap:wrap;gap:5px;margin-top:4px}
.hi-tags .tg{display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:700;border-radius:999px;padding:1px 8px;background:var(--hair2);color:#3d4b5c}
.hi-tags .tg .yi{width:12px;height:12px}
.hi-tags .tg.nat{background:#eef2f8;color:var(--navy)}
.hi-tags .tg.rel{background:#e6f4ec;color:#1f6f4a}
.hi-tags .tg.est{background:var(--warn-bg);color:var(--warn)}
.hi-tags .tg.lng{background:#e6f4ec;color:#1f6f4a}
.hi-tags .tg.hj{font-weight:600}
.hi-s{flex:none;font-size:13px;font-weight:700;color:var(--navy);white-space:nowrap}
.hi-s .done{display:inline-flex;align-items:center;gap:4px;color:var(--muted);font-weight:600}
.hi-s .done .yi{width:14px;height:14px}
@media (max-width:640px){
  .hol-grid{grid-template-columns:1fr;gap:10px}
  .hol-kpi div{flex:1 1 calc(50% - 5px)}
  .hol-items li{align-items:flex-start}
  .hi-s{font-size:12px;margin-top:4px}
}
/* v1.40.0: home card in the narrow side column, countdown under the text */
.hol-card .hol-next{display:grid;grid-template-columns:auto 1fr;column-gap:12px;row-gap:6px;align-items:start}
.hol-card .hol-next>.dtile{grid-row:1 / span 2}
.hol-card .hol-next>.hol-in{grid-column:2;justify-self:start;align-self:start}
.hol-long,.hol-wk{white-space:nowrap}

/* v1.42.0: "Central banks and the dirham" (home side column, end) */
.cb-card .cardhead{margin-bottom:6px}
.cb-rows{list-style:none;margin:0;padding:0;display:grid;gap:2px}
.cb-rows li{display:grid;grid-template-columns:auto minmax(0,1fr) auto;column-gap:10px;row-gap:4px;align-items:center;padding:10px 0;border-bottom:1px solid var(--hair2)}
.cb-rows li:last-child{border-bottom:0}
.cb-mk{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:var(--navy);color:var(--gold-l);font:800 11.5px var(--f);letter-spacing:.5px;direction:ltr}
.cb-ecb .cb-mk{background:#1f3f8a;color:#f3d68a}
.cb-fed .cb-mk{background:#0d3b2e;color:#d9f2e6}
.cb-t{display:flex;flex-direction:column;min-width:0;line-height:1.5}
.cb-t b{color:var(--navy);font-size:14px}
.cb-t span{font-size:12px;color:var(--muted)}
.cb-rate b{font-size:19px;color:var(--navy);font-weight:800}
.cb-next{grid-column:2 / -1;display:flex;align-items:center;gap:6px;font-size:12.5px;color:var(--muted)}
.cb-next .yi{width:14px;height:14px;color:var(--gold-d)}
.cb-next i{font-style:normal;font-weight:800;color:var(--gold-d);margin-inline-start:auto;white-space:nowrap}
.cb-gap{margin:8px 0 0;padding:9px 12px;border-radius:10px;background:#f6f8fb;border:1px solid var(--hair2);font-size:13.5px;color:var(--ink)}
.cb-gap b{color:var(--navy)}
.cb-note{display:flex;gap:9px;align-items:flex-start;margin:10px 0 0;font-size:13px;line-height:1.85;color:var(--muted)}
.cb-note .yi{flex:none;width:17px;height:17px;color:var(--gold-d);margin-top:3px}
.cb-src{margin:8px 0 0;font-size:12px;color:var(--muted)}
.cb-src a{color:var(--navy2)}
