:root{--ink:#282d37;--blue:#ea580c;--brand:#ea580c;--line:#f0e2d5;--bg:#fff8f0}
body{font-family:Vazirmatn,Tahoma,Arial,sans-serif;background:radial-gradient(circle at 92% 2%,#ffe8cd,transparent 30%),radial-gradient(circle at 0 48%,#fff0dd,transparent 32%),var(--bg);color:var(--ink)}
.panel{background:#fffefa;border-color:var(--line);border-radius:20px;box-shadow:0 12px 35px #7b3d1310,0 2px 7px #7b3d1307}
.control{border-color:#e8dace;border-radius:11px;min-height:39px;transition:border-color .2s,box-shadow .2s}
.control:focus{border-color:var(--brand);box-shadow:0 0 0 3px #f9731627}
.primary{background:linear-gradient(135deg,#fb923c,#ea580c);border-radius:12px;box-shadow:0 8px 20px #ea580c35;transition:transform .2s,box-shadow .2s}
.primary:hover{transform:translateY(-2px);box-shadow:0 12px 25px #ea580c45}
.secondary,.clear{background:#fff1e4;color:#a84911}.clear:hover{background:#ffe3c9}
:focus-visible{outline:3px solid #fb923c;outline-offset:2px}
.hero{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:150px;padding:24px 30px;background:linear-gradient(108deg,#fffefa 20%,#fff4e6 65%,#ffe7cb);border:1px solid #f3dec5;border-radius:26px;box-shadow:0 14px 40px #9e511518}
.hero:before,.hero:after{content:"";position:absolute;border:1px solid #f5b87977;border-radius:50%;width:260px;height:260px;left:-105px;top:-120px;pointer-events:none}.hero:after{width:170px;height:170px;left:-55px;top:-76px}
.hero-copy{position:relative;z-index:1}.eyebrow{color:#a84911;font-size:11px;font-weight:800;letter-spacing:.09em}.brand-name{font-size:clamp(29px,3vw,42px);font-weight:900;line-height:1.3;letter-spacing:-.05em}.brand-name span{color:var(--brand)}
.hero-art{position:relative;flex:none;width:112px;height:106px;display:grid;place-items:center;animation:koo-float 4s ease-in-out infinite}.hero-art:before{content:"";position:absolute;width:95px;height:95px;background:#ffdfb6;border-radius:35px;transform:rotate(-12deg);box-shadow:0 14px 22px #e8772528}.hero-art:after{content:"";position:absolute;width:12px;height:12px;background:#ea580c;border-radius:50%;right:-8px;top:8px;box-shadow:-105px 62px 0 -3px #f5a357}
.koo-face{position:relative;width:76px;height:69px;background:linear-gradient(160deg,#fb923c,#ea580c);border-radius:32px 32px 29px 29px;box-shadow:inset 0 -5px 0 #b944082c}.koo-face:before,.koo-face:after{content:"";position:absolute;top:-8px;border-bottom:22px solid #f97316}.koo-face:before{right:1px;border-left:21px solid transparent}.koo-face:after{left:1px;border-right:21px solid transparent}.koo-eyes{position:absolute;top:22px;right:14px;display:flex;gap:13px}.koo-eyes i{width:14px;height:16px;background:#fff;border-radius:50%;position:relative}.koo-eyes i:after{content:"";position:absolute;width:5px;height:6px;background:#40200c;border-radius:50%;top:6px;right:4px}.koo-beak{position:absolute;top:40px;right:34px;border-left:5px solid transparent;border-right:5px solid transparent;border-top:8px solid #ffdd7a}
.section-tag{display:inline-flex;align-items:center;gap:6px;color:#a84911;font-weight:800;font-size:11px}.section-tag:before{content:"";display:block;width:6px;height:6px;background:#fb923c;border-radius:50%}
.upload-card{background:linear-gradient(115deg,#fffefa,#fff9f1)}.upload-tile{background:#fff;border:1px solid var(--line);border-radius:15px;padding:13px}.upload-tile.latest{border-color:#fed7aa;background:#fff7ed}
.chart-panel{transition:box-shadow .25s,transform .25s}.chart-panel:hover{box-shadow:0 18px 40px #9e511520;transform:translateY(-2px)}
.metric-card{border-right:3px solid #f59e42!important;transition:transform .2s}.metric-card:hover{transform:translateX(-2px)}
@keyframes koo-float{50%{transform:translateY(-7px) rotate(3deg)}}@keyframes panel-enter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
.dashboard{animation:panel-enter .45s ease-out both}
.tool-filter>summary{border-color:var(--line);border-radius:10px}.tool-filter[open]>summary{border-color:#fdba74;background:#fff7ed}.tool-menu{border-color:var(--line);border-radius:14px;box-shadow:0 15px 35px #7c421c24}
.facet-option:hover{background:#fff4e8}.facet-option input{accent-color:var(--brand)}
.chart-item{border-radius:12px;padding:8px 10px;transition:background .2s,border-color .2s,transform .2s}.chart-item:hover,.chart-item.active{background:#fff4e7;border-color:#fdc994}.chart-item:hover{transform:translateX(-2px)}
.chart-check{color:var(--brand);border-color:#c8b9a9}.chart-item.active .chart-check{background:var(--brand);border-color:var(--brand)}
.track{background:#f5ece3}.bar{transition:width .35s ease}.oldbar{background:#aab4c3}.newbar{background:linear-gradient(90deg,#fb923c,#ea580c)}
.scroll::-webkit-scrollbar-thumb{background:#ddcbb8}.status-new{background:#fff1e4;color:#a84911}.status-removed{background:#f5eae4;color:#8b5544}
.source-table th,.source-table td{border-bottom-color:#f2e8df}.source-table thead th{background:#fff1e3;color:#884b2c}.source-table tbody tr.group-row:hover,.group-row.open{background:#fff7ed}.accordion-content{background:#fff9f2;animation:panel-enter .25s ease-out}.code-card{border-radius:13px}
@media(max-width:640px){.hero{min-height:120px;padding:18px}.hero-art{scale:.78;margin-left:-10px;width:82px}.chart-search{width:100%}.tool-menu{right:auto;left:0}.summary-side{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

/* Page framing and compact brand header */
html{scroll-behavior:smooth}
body{min-height:100vh;background:radial-gradient(circle at 92% -4%,#ffdcbb 0,transparent 28%),radial-gradient(circle at 4% 35%,#fff0dc 0,transparent 30%),radial-gradient(circle at 95% 90%,#ffe8d0 0,transparent 26%),linear-gradient(135deg,#fffaf4,#fff6ec 60%,#fffaf4);background-attachment:fixed}
.hero{min-height:158px;padding:20px 26px;gap:20px;background:linear-gradient(115deg,#fffefa,#fff7ed 58%,#ffe8d1);border-color:#f3dec5}
.hero:before{width:320px;height:320px;right:-150px;left:auto;top:-200px}.hero:after{width:220px;height:220px;right:-105px;left:auto;top:-155px}
.hero-brand{display:flex;align-items:center;gap:20px;min-width:0;position:relative;z-index:1}.hero-brand .hero-art{width:108px;height:108px;flex:none}.hero-copy{min-width:0}
.hero .eyebrow{font-size:11px;letter-spacing:0;color:#a64a16}.hero .brand-name{display:flex;align-items:baseline;flex-wrap:wrap;gap:11px;font-size:clamp(29px,3vw,40px);letter-spacing:0;line-height:1.5;color:#292c36}
.hero .brand-latin{font:800 clamp(17px,1.8vw,23px)/1.4 Vazirmatn,Tahoma,sans-serif;letter-spacing:-.04em;color:#b94d0f;background:#fff5e9;border:1px solid #f5d7b9;border-radius:11px;padding:1px 10px}
.hero-description{font-size:13px;color:#6d6470;line-height:1.8;max-width:550px;margin-top:2px}
.hero-tools{position:relative;z-index:1;display:flex;align-items:center;gap:18px;flex:none}.hero-note{display:flex;align-items:center;gap:10px;padding:11px 14px;background:#ffffffba;border:1px solid #f4dfca;border-radius:15px}.hero-note strong,.hero-note small{display:block}.hero-note strong{font-size:11px;color:#78411f}.hero-note small{font-size:10px;color:#8b786a;margin-top:1px}.hero-note-dot{width:8px;height:8px;background:#f97316;border-radius:50%;box-shadow:0 0 0 5px #ffedd9}
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;background:#fff;border:1px solid #edcfb5;color:#7d421d;font-size:12px;font-weight:800;border-radius:13px;min-height:42px;padding:8px 13px;transition:transform .2s,background .2s,box-shadow .2s}.theme-toggle:hover{background:#fff1e2;transform:translateY(-2px);box-shadow:0 5px 16px #9e51151f}.theme-toggle span:first-child{font-size:19px;line-height:1}

/* The filter context remains visible while reading the table. */
.analysis-bar{position:sticky;top:10px;z-index:40;background:#fffefaef;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);transition:box-shadow .2s,border-color .2s}
.analysis-bar.is-stuck{box-shadow:0 15px 35px #73451f35;border-color:#f4cda7}
.analysis-bar>.flex{row-gap:8px}.analysis-bar #chips{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#dcbd9f transparent;padding-bottom:2px}.analysis-bar #chips .chip{flex:none;max-width:min(300px,70vw);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.analysis-bar .tool-menu{z-index:60}

/* End matter and navigation */
.site-footer{display:flex;align-items:center;gap:14px;max-width:1880px;margin:24px auto 0;padding:25px clamp(18px,3vw,36px) 30px;border-top:1px solid #ead9c8;color:#715947}.site-footer strong{font-size:13px;color:#9b4311}.site-footer p{font-size:11px;line-height:1.9;margin:4px 0 0}.footer-mark{display:grid;place-items:center;flex:none;width:39px;height:39px;border-radius:12px;background:#ffedd9;color:#d8580b;font-size:23px}.footer-sign{margin-inline-start:auto;font-size:12px;font-weight:900;color:#d55b15;white-space:nowrap}
.back-to-top{position:fixed;bottom:22px;left:22px;z-index:70;display:inline-flex;align-items:center;gap:8px;background:#e75c0d;color:#fff;border:1px solid #faaf6c;border-radius:14px;padding:10px 13px;font-size:12px;font-weight:800;box-shadow:0 10px 28px #ad4a193d;opacity:0;visibility:hidden;transform:translateY(12px);transition:opacity .2s,transform .2s,visibility .2s}.back-to-top.visible{opacity:1;visibility:visible;transform:translateY(0)}.back-to-top:hover{background:#c84b09}.back-to-top span:first-child{font-size:20px;line-height:1}

/* Night palette for the same data and interaction states. */
html[data-theme="dark"]{color-scheme:dark;--ink:#e9edf4;--line:#34414e;--bg:#151c24;--brand:#fb923c;--blue:#fb923c}
html[data-theme="dark"] body{color:#e9edf4;background:radial-gradient(circle at 86% -4%,#5e3823 0,transparent 28%),radial-gradient(circle at 5% 65%,#27384a 0,transparent 34%),linear-gradient(135deg,#151c24,#1b2530 63%,#151d27);background-attachment:fixed}
html[data-theme="dark"] .panel,html[data-theme="dark"] .code-card{background:#222d38;border-color:#354454;box-shadow:0 10px 28px #05080d35}
html[data-theme="dark"] .hero{background:linear-gradient(115deg,#202b36,#27333e 60%,#443021);border-color:#67462b}
html[data-theme="dark"] .hero:before,html[data-theme="dark"] .hero:after{border-color:#a85e344f}
html[data-theme="dark"] .hero .brand-name{color:#f1f4f7}html[data-theme="dark"] .hero .brand-latin{background:#473122;border-color:#83502e;color:#ffaf6b}
html[data-theme="dark"] .hero .eyebrow,html[data-theme="dark"] .section-tag{color:#ffad6b}html[data-theme="dark"] .hero-description{color:#cad2da}
html[data-theme="dark"] .hero-note{background:#25313ccf;border-color:#5d4637}html[data-theme="dark"] .hero-note strong{color:#ffd1ae}html[data-theme="dark"] .hero-note small{color:#b9c5d1}
html[data-theme="dark"] .theme-toggle{background:#33404b;border-color:#76533a;color:#ffcea6}html[data-theme="dark"] .theme-toggle:hover{background:#493a30}
html[data-theme="dark"] .analysis-bar{background:#202b36f2;border-color:#48515d}html[data-theme="dark"] .analysis-bar.is-stuck{box-shadow:0 16px 40px #05080d9c;border-color:#af6736}
html[data-theme="dark"] .upload-card{background:linear-gradient(115deg,#202b36,#2c3138)}html[data-theme="dark"] .upload-tile,html[data-theme="dark"] .upload-tile.latest{background:#283440;border-color:#4a4d51}
html[data-theme="dark"] .control,html[data-theme="dark"] .tool-filter>summary,html[data-theme="dark"] .tool-menu{background:#1c2732;color:#e7edf3;border-color:#52606d}
html[data-theme="dark"] .control::placeholder{color:#aeb8c3}html[data-theme="dark"] .control:focus{border-color:#ff9b4f;box-shadow:0 0 0 3px #fb923c37}
html[data-theme="dark"] .tool-filter[open]>summary{background:#3a332e;border-color:#a66b3e}html[data-theme="dark"] .facet-option:hover{background:#334150}
html[data-theme="dark"] .clear,html[data-theme="dark"] .secondary,html[data-theme="dark"] .chip{background:#3e3028;color:#ffbf91}html[data-theme="dark"] .clear:hover,html[data-theme="dark"] .secondary:hover{background:#563824}
html[data-theme="dark"] .chart-item:hover,html[data-theme="dark"] .chart-item.active{background:#3d342d;border-color:#99603c}html[data-theme="dark"] .chart-check{background:#25303a;border-color:#8d715e;color:#ffad68}html[data-theme="dark"] .chart-item.active .chart-check{background:#e97120;border-color:#e97120;color:#fff}
html[data-theme="dark"] .track{background:#39434f}html[data-theme="dark"] .oldbar{background:#9aaabd}html[data-theme="dark"] .source-table th,html[data-theme="dark"] .source-table td{border-bottom-color:#384858}html[data-theme="dark"] .source-table thead th{background:#39404a;color:#ffd2ad}html[data-theme="dark"] .source-table tbody tr.group-row:hover,html[data-theme="dark"] .group-row.open{background:#343b42}
html[data-theme="dark"] .accordion-content{background:#1a2733;border-color:#3a4956}html[data-theme="dark"] .code-card dt{color:#afbeca}
html[data-theme="dark"] .status-new,html[data-theme="dark"] .status-removed{background:#49382a;color:#ffcb9d}html[data-theme="dark"] .status-decrease{background:#512d3a;color:#ffb6ca}html[data-theme="dark"] .status-increase{background:#244a3d;color:#9ce9bb}html[data-theme="dark"] .status-flat{background:#384756;color:#d7e1ed}html[data-theme="dark"] .status-unknown{background:#524625;color:#ffe2a0}
html[data-theme="dark"] .text-slate-500,html[data-theme="dark"] .text-stone-500{color:#b3bfcc}html[data-theme="dark"] .text-slate-700,html[data-theme="dark"] .text-stone-600{color:#d4dce5}html[data-theme="dark"] .text-orange-600,html[data-theme="dark"] .text-orange-700{color:#ffac6b}html[data-theme="dark"] .text-emerald-700{color:#78e5b3}html[data-theme="dark"] .text-rose-700{color:#ff9db5}html[data-theme="dark"] .text-amber-700{color:#ffcf87}
html[data-theme="dark"] .bg-orange-50{background:#3e3028}html[data-theme="dark"] .bg-amber-50{background:#4c4028}html[data-theme="dark"] .border-amber-200{border-color:#8b723c}html[data-theme="dark"] .text-amber-900{color:#ffe1a4}html[data-theme="dark"] .bg-rose-50{background:#4e2a35}
html[data-theme="dark"] .site-footer{border-color:#354454;color:#b9c5d0}html[data-theme="dark"] .site-footer strong{color:#ffb67b}html[data-theme="dark"] .footer-mark{background:#483426;color:#ffb174}html[data-theme="dark"] .footer-sign{color:#ffad6c}

@media(max-width:950px){.hero-note{display:none}.hero{min-height:136px}}
@media(max-width:640px){.hero{align-items:flex-start;padding:17px;gap:8px}.hero-brand{gap:8px}.hero-brand .hero-art{width:72px;height:82px;scale:.75;margin-inline:-12px}.hero .brand-name{font-size:27px;gap:6px}.hero .brand-latin{font-size:15px;padding:0 6px}.hero-description{font-size:11px}.hero-tools{align-self:flex-start}.theme-toggle{padding:7px;min-height:34px}.theme-toggle #themeLabel{display:none}.analysis-bar{top:0;border-radius:0 0 16px 16px;margin-inline:-12px!important;padding:9px 12px}.analysis-bar .tool-menu{max-height:65vh;overflow:auto}.analysis-bar #query{width:135px!important}.site-footer{align-items:flex-start;padding:18px 15px;gap:9px}.footer-sign{display:none}.back-to-top{left:12px;bottom:12px;padding:9px}.back-to-top span:last-child{display:none}}
@media(max-width:390px){.hero .eyebrow{display:none}.hero-description{display:none}.hero .brand-name{font-size:23px}.hero-brand .hero-art{width:58px}.analysis-bar #query{width:112px!important}}
@media(print){.analysis-bar{position:static}.theme-toggle,.back-to-top{display:none}}
.analysis-bar #chips .chip{max-width:none;overflow:visible;text-overflow:clip}
.account-chip,.account-link{white-space:nowrap;font-size:11px;font-weight:800;border-radius:10px;padding:8px 10px}.account-chip{color:#85502c;background:#fff7ed;border:1px solid #efdec8}.account-link{color:#ad5219;background:#fff;border:1px solid #ecd2bb;text-decoration:none}.account-link:hover{background:#fff0de}.selection-form label{color:#615b55}.selection-form .control{display:block}.selection-form select{min-width:0}html[data-theme="dark"] .account-chip,html[data-theme="dark"] .account-link{color:#ffc99e;background:#3a352f;border-color:#74543d}html[data-theme="dark"] .selection-form label{color:#d2dbe5}
@media(max-width:950px){.hero-tools .account-chip{display:none}}@media(max-width:640px){.hero-tools .account-link{padding:6px;font-size:10px}.hero-tools a.account-link{display:none}}

/* === UniKoo Unified Brand System === */
.brand-unikoo{display:inline-flex;align-items:baseline;direction:ltr;unicode-bidi:isolate;font-weight:900;letter-spacing:-.03em}
.brand-uni{color:#1e293b;transition:color .2s}
.brand-koo{color:#ea580c;background:linear-gradient(135deg,#f97316 0%,#ea580c 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;filter:drop-shadow(0 1px 2px rgba(234,88,12,.25))}
html[data-theme="dark"] .brand-uni{color:#f8fafc}
html[data-theme="dark"] .brand-koo{background:linear-gradient(135deg,#fdba74 0%,#fb923c 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;filter:drop-shadow(0 1px 4px rgba(251,146,60,.4))}

/* === Owl Symbol Badge === */
.owl-badge{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:12px;background:linear-gradient(135deg,#fff7ed 0%,#ffedd5 100%);border:1px solid #fed7aa;box-shadow:0 3px 10px rgba(234,88,12,.12);flex-shrink:0;transition:transform .25s cubic-bezier(.34,1.56,.64,1),box-shadow .2s ease}
.owl-badge:hover{transform:rotate(-5deg) scale(1.08);box-shadow:0 6px 16px rgba(234,88,12,.25)}
.owl-badge .owl-svg{width:26px;height:26px;display:block}
html[data-theme="dark"] .owl-badge{background:linear-gradient(135deg,#3a2a1e 0%,#261b13 100%);border-color:#7b421a;box-shadow:0 3px 12px rgba(0,0,0,.45)}

/* === Unified Button System (All buttons with icons) === */
.app-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:12px;padding:8px 14px;font-size:12px;font-weight:800;line-height:1.4;white-space:nowrap;border:1px solid transparent;cursor:pointer;transition:all .2s cubic-bezier(.16,1,.3,1);text-decoration:none}
.app-btn:hover{transform:translateY(-1px)}
.app-btn:active{transform:translateY(0)}
.app-btn .btn-svg{width:16px;height:16px;flex-shrink:0}
.app-btn-primary{background:linear-gradient(135deg,#fb923c,#ea580c);color:#fff!important;border-color:#ea580c;box-shadow:0 4px 14px rgba(234,88,12,.28)}
.app-btn-primary:hover{box-shadow:0 8px 22px rgba(234,88,12,.42);filter:brightness(1.05)}
.app-btn-secondary{background:#fff;border-color:#e8d5c4;color:#a84911;box-shadow:0 2px 6px rgba(120,60,20,.05)}
.app-btn-secondary:hover{background:#fff5eb;border-color:#fdba74;color:#ea580c}
.app-btn-outline{background:transparent;border-color:#e5cdb7;color:#92400e}
.app-btn-outline:hover{background:#fff7ed;border-color:#f97316;color:#ea580c}
.app-btn-theme{background:#fff;border:1px solid #e8d5c4;color:#874618}
.app-btn-theme:hover{background:#fff2e4}
.app-btn-clear{background:#fff1e4;color:#a84911;border:1px solid #ffd8b3;padding:6px 12px;font-size:11px}
.app-btn-clear:hover{background:#ffe3c9;border-color:#f97316}
html[data-theme="dark"] .app-btn-secondary,html[data-theme="dark"] .app-btn-theme{background:#283440;border-color:#554436;color:#ffc293}
html[data-theme="dark"] .app-btn-secondary:hover,html[data-theme="dark"] .app-btn-theme:hover{background:#394653;border-color:#ea580c;color:#ffd8ba}
html[data-theme="dark"] .app-btn-outline{border-color:#5d4637;color:#ffbf8a}
html[data-theme="dark"] .app-btn-outline:hover{background:#3a2c20;border-color:#f97316}
html[data-theme="dark"] .app-btn-clear{background:#3f3127;border-color:#7a5035;color:#ffcca3}

/* === Revised Two-Corner Footer === */
.site-footer-revised{width:100%;max-width:1880px;margin:36px auto 0;padding:24px clamp(16px,3vw,40px);border-top:1px solid #ead9c8;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:20px 32px}
.footer-start-box{display:flex;align-items:center;gap:14px;min-width:280px}
.footer-text-group{display:flex;flex-direction:column;gap:3px}
.footer-heading-row{display:flex;align-items:baseline;gap:8px;font-size:14px;font-weight:800;color:#292d36}
.footer-sub-text{font-size:11px;line-height:1.8;color:#796556;margin:0}
.footer-end-box{display:flex;align-items:flex-end;flex-direction:column;gap:6px}
.footer-tags{display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:11px;color:#8c7768}
.footer-badge-pill{display:inline-flex;align-items:center;gap:5px;background:#fff2e3;border:1px solid #fed7aa;color:#c2410c;padding:3px 9px;border-radius:999px;font-size:10px;font-weight:800}
.footer-badge-pill i{width:6px;height:6px;border-radius:50%;background:#ea580c;display:inline-block}
.footer-latin-sig{font-size:11px;font-weight:800;color:#b45309}
html[data-theme="dark"] .site-footer-revised{border-color:#354454}
html[data-theme="dark"] .footer-heading-row{color:#f1f5f9}
html[data-theme="dark"] .footer-sub-text,html[data-theme="dark"] .footer-tags{color:#b0beca}
html[data-theme="dark"] .footer-badge-pill{background:#3e2e22;border-color:#784521;color:#ffbf8a}
html[data-theme="dark"] .footer-badge-pill i{background:#f97316}
html[data-theme="dark"] .footer-latin-sig{color:#ffad6c}
@media(max-width:768px){.site-footer-revised{flex-direction:column;align-items:flex-start;gap:16px;padding:20px 16px}.footer-end-box{align-items:flex-start;width:100%}}

/* Quota status and narrow-screen result cards */
.quota-strip{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;background:#fff7ed;border:1px solid #fed7aa;border-radius:14px;padding:10px 14px;color:#7c3e14;font-size:12px}
.quota-strip strong{font-size:13px}.quota-strip small{flex-basis:100%;font-size:11px;color:#805d42}
.quota-plans-link{margin-inline-start:auto;padding:6px 12px;border-radius:9px;background:#ea580c;color:#fff;font-weight:800;text-decoration:none}
.detail-paging{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:16px}.detail-paging span{margin-inline-end:auto;font-size:12px}
@media(max-width:640px){.quota-strip{padding:12px}.table-wide .overflow-auto{max-height:none}.table-wide .source-table{min-width:760px}.detail-paging .app-btn{min-height:38px}.chart-panel{min-width:0}}
@media(max-width:640px){
 .table-wide .source-table{min-width:0;width:100%;display:block}
 .source-table thead{display:none}
 .source-table tbody{display:block;width:100%}
 .source-table tbody tr.group-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 12px;background:var(--portal-card,#fff);border:1px solid #ead9c8;border-radius:13px;padding:12px;margin-bottom:8px}
 .source-table tbody tr.group-row td{display:block;max-width:none;min-width:0;white-space:normal;overflow-wrap:anywhere;border:0;padding:3px;font-size:12px}
 .source-table tbody tr.group-row td:before{display:block;font-weight:700;color:#947157;font-size:10px;margin-bottom:2px}
 .source-table tbody tr.group-row td:nth-child(1):before{content:'استان'}
 .source-table tbody tr.group-row td:nth-child(2):before{content:'دانشگاه'}
 .source-table tbody tr.group-row td:nth-child(3):before{content:'رشته'}
 .source-table tbody tr.group-row td:nth-child(4):before{content:'دوره / پذیرش'}
 .source-table tbody tr.group-row td:nth-child(5):before{content:'ظرفیت مبنا'}
 .source-table tbody tr.group-row td:nth-child(6):before{content:'ظرفیت جدید'}
 .source-table tbody tr.group-row td:nth-child(7):before{content:'تغییر'}
 .source-table tbody tr.group-row td:nth-child(8):before{content:'وضعیت'}
 .source-table tbody tr.group-row td:nth-child(9):before{content:'کدرشته‌ها'}
 .source-table tbody tr.group-row td:nth-child(3),.source-table tbody tr.group-row td:nth-child(9),.source-table tbody tr.group-row td:nth-child(10){grid-column:1/-1}
 .source-table tbody tr.group-row td:nth-child(10) button{width:100%;text-align:center;padding:9px;background:#fff1e3;border-radius:9px}
 .source-table tbody tr:not(.group-row){display:block;width:100%}
 .source-table tbody tr:not(.group-row)>td{display:block;max-width:none;width:100%;white-space:normal}
 .source-table .accordion-content{padding:10px}
}
