@font-face{font-family:Irancell;src:url(/public/fonts/light.otf)}@font-face{font-family:Irancell;src:url(/public/fonts/regular.ttf);font-weight:400}@font-face{font-family:Irancell;src:url(/public/fonts/medium.ttf);font-weight:500 700}@font-face{font-family:Irancell;src:url(/public/fonts/black.ttf);font-weight:800 950}
:root{color-scheme:light;--gold:#fc0;--soft:#fff5c8;--ink:#25241f;--muted:#64615a;--line:#e9e6dc;--surface:#fff;--bg:#f7f7f3;--green:#216649;--green-bg:#e7f5ec;--danger:#9f2923;--danger-bg:#fff1ee;--radius:18px;--focus:#805900;--shadow:0 8px 24px #3829000a}
*{box-sizing:border-box;scrollbar-color:#ccc4a7 transparent;scrollbar-width:thin}body{margin:0;font:14px/1.75 Irancell,Arial,sans-serif;background:var(--bg);color:var(--ink)}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.55}a{color:inherit;text-decoration:none}p,h1,h2,h3,h4{margin:0}ul{margin-block:7px}h1{font-size:clamp(23px,2.5vw,34px);line-height:1.35;font-weight:900}h2{font-size:19px}h3{font-size:15px}svg{flex:none;vertical-align:middle}img{max-width:100%}[hidden]{display:none!important}:focus-visible{outline:2px solid var(--focus);outline-offset:3px}.skip{position:absolute;top:-100px;z-index:20;background:var(--gold);padding:12px}.skip:focus{top:8px}
.app{display:grid;grid-template-columns:235px minmax(0,1fr);min-height:100dvh}.sidebar{position:sticky;top:0;max-height:100dvh;overflow:auto;display:flex;flex-direction:column;gap:5px;background:var(--surface);border-inline-end:1px solid var(--line);padding:23px 16px 14px;z-index:5}.brand{display:flex;align-items:center;gap:11px;margin:0 5px 21px}.brand-mark{width:40px;height:40px;border-radius:13px;background:var(--gold);display:grid;place-items:center}.brand-mark img{width:23px;height:23px}.brand b{display:block;font-size:20px;font-weight:900;line-height:1.2}.brand small{display:block;color:var(--muted);font-size:11px;margin-top:2px}.nav-label{margin:12px 9px 4px;font-size:11px;color:var(--muted)}.nav{display:flex;align-items:center;gap:11px;padding:8px 10px;border-radius:11px;font-weight:600;min-height:39px}.nav:hover,.icon-btn:hover{background:#f5f4ed}.nav[aria-current]{background:var(--soft);color:#4b3700}.side-bottom{margin-top:auto;padding-top:13px}.topbar{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;gap:14px;z-index:4;background:#fffffffa;border-bottom:1px solid var(--line);min-height:66px;padding:8px 25px}.top-end,.row,.toolbar{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.toolbar{justify-content:space-between}.top-end{flex-wrap:nowrap}.search{width:min(390px,42vw);display:flex;align-items:center;gap:9px;background:#f5f4ef;border:1px solid var(--line);padding:0 12px;height:40px;border-radius:11px;color:var(--muted);text-align:start}.key{margin-inline-start:auto;font-size:11px;border:1px solid var(--line);padding:0 5px;border-radius:5px}.avatar{width:35px;height:35px;flex:none;border-radius:50%;display:grid;place-items:center;background:#f5ebbd;color:#604c19;font-weight:800}.role-control{display:flex;align-items:center;gap:8px}.role-control select{width:150px}.mobile-menu{display:none!important}.layout{min-width:0}.wrap{width:min(1520px,100%);margin-inline:auto;padding:23px 26px 36px}.heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:19px}.heading p,.subtle,.muted{color:var(--muted)}.heading p{margin-top:5px}.eyebrow{font-size:11px;color:#6e5700;font-weight:700;margin-bottom:5px}.stack{display:grid;gap:12px}.grid2,.grid3,.grid4{display:grid;gap:14px;align-items:start}.grid2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid4{grid-template-columns:repeat(4,minmax(0,1fr))}.dashboard-grid{grid-template-columns:minmax(0,1.8fr) minmax(250px,1fr)}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:16px;min-width:0;box-shadow:var(--shadow)}.card>h2{margin-bottom:7px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.section-head p{font-size:12px;color:var(--muted)}.btn,.icon-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:39px;padding:6px 12px;border:1px solid var(--line);border-radius:10px;background:#fff;font-weight:700;text-align:center}.btn:hover{border-color:#c9ba7f}.primary{background:var(--gold);border-color:var(--gold);color:#2d2505}.primary:hover{background:#f4c300}.danger{color:var(--danger)}.icon-btn{min-width:39px;padding:5px}.ghost{border-color:transparent;background:transparent}.tag{display:inline-flex;align-items:center;border-radius:6px;padding:2px 7px;background:#f0eee8;color:#514f45;font-size:11px;line-height:1.65;font-weight:700}.tag.success{background:var(--green-bg);color:var(--green)}.tag.pending{background:var(--soft);color:#715900}.tag.error{background:var(--danger-bg);color:var(--danger)}.hero{position:relative;overflow:hidden;background:#ffdf4c;border-color:#eac43c;min-height:180px;padding:23px;margin-bottom:15px;isolation:isolate}.hero h1{font-size:clamp(24px,3vw,37px);margin-block:2px 7px}.hero p{max-width:68%;color:#52431b}.hero .row{margin-top:15px}.hero-mark{position:absolute;inset-inline-end:20px;top:-27px;width:235px;height:235px;opacity:.075;transform:rotate(-12deg);z-index:-1}.hero .btn{background:#2c260f;color:#fff;border-color:#2c260f}.metric{display:flex;align-items:flex-start;justify-content:space-between;gap:5px}.metric b{display:block;font-size:27px;line-height:1.28;margin-top:7px}.metric-icon{background:#fff4cb;border-radius:9px;padding:7px}.metric small,.item small{color:var(--muted)}.item{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid var(--line)}.item:last-child{border:0}.item strong{display:block}.item>div{min-width:0}.item p,.card p{overflow-wrap:anywhere}.item-icon{background:#f6f4ea;border-radius:10px;padding:7px;display:inline-flex}.calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px;direction:rtl}.day{background:#faf9f5;border:1px solid var(--line);border-radius:10px;min-height:77px;padding:6px;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;text-align:start}.day:hover{border-color:#bfa54a}.day.today{border-color:#a67d00;background:var(--soft)}.day small{font-size:10px}.day b{font-size:17px}.day-mode{font-size:10px;color:#63532d;overflow-wrap:anywhere}.month-day{min-height:67px}.weekday{text-align:center;color:var(--muted);font-size:11px}.dash-caption{color:var(--muted);font-size:12px;margin-bottom:9px}.empty{padding:21px;text-align:center;color:var(--muted);border:1px dashed var(--line);border-radius:11px}.notice{background:#fff8dd;border:1px solid #ead998;color:#654c00;border-radius:10px;padding:10px 12px}.inline-error{background:var(--danger-bg);color:var(--danger);padding:8px 12px;border-radius:9px}.table-wrap{max-width:100%;overflow:auto}table{width:100%;border-collapse:collapse;text-align:start}th,td{text-align:start;padding:10px;border-bottom:1px solid var(--line);vertical-align:middle}th{font-size:12px;color:var(--muted);white-space:nowrap}
.field{display:grid;gap:4px;color:var(--ink);min-width:0}.field>span,.field>label{font-weight:700}.field small{color:var(--muted)}input,select,textarea{max-width:100%;min-height:39px;background:#fff;border:1px solid #dcd7c8;border-radius:9px;padding:6px 9px}textarea{width:100%;min-height:82px;resize:vertical}select{appearance:none;padding-inline-end:29px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' stroke='%235b5241' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") no-repeat left 9px center}input[type=date],input[type=time]{direction:ltr;text-align:right}input[type=checkbox]{min-height:unset;accent-color:#8b6b00}dialog{max-width:min(610px,calc(100% - 24px));width:610px;max-height:90dvh;border:1px solid var(--line);border-radius:16px;padding:0;color:var(--ink);background:#fff;box-shadow:0 18px 80px #2218003b}dialog::backdrop{background:#28231666}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:9px;padding:12px 16px;border-bottom:1px solid var(--line);position:sticky;top:0;background:white;z-index:1}.dialog-body{padding:16px}.dialog-actions{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap}.search-results{max-height:50dvh;overflow:auto}.search-item{display:flex;padding:8px 6px;justify-content:space-between;border-bottom:1px solid var(--line);gap:8px}.search-item:hover{background:var(--soft)}#toast{position:fixed;bottom:20px;inset-inline-start:20px;z-index:12;display:grid;gap:6px;max-width:calc(100% - 40px);pointer-events:none}.toast{display:flex;align-items:center;gap:9px;padding:11px 13px;border-radius:10px;background:#242421;color:white;box-shadow:var(--shadow)}.toast.error{background:var(--danger)}.scrim{display:none}.timeline{border-inline-start:2px solid var(--line);padding-inline-start:13px}.timeline .card{margin-bottom:10px}.role-note{font-size:12px;color:var(--muted)}.pill-row{display:flex;gap:7px;flex-wrap:wrap}.pill-row a[aria-current]{background:var(--soft);border-color:#e1c973}.inline-link{color:#665000;text-decoration:underline;text-underline-offset:3px}.bars{display:flex;align-items:flex-end;gap:5%;height:126px;direction:rtl;border-bottom:1px solid var(--line);padding-inline:8px}.bars span{flex:1;background:#f2cf51;border-radius:6px 6px 0 0}.bars span:nth-child(even){background:#f7e9a8}
@media(max-width:1100px){.app{grid-template-columns:196px minmax(0,1fr)}.wrap{padding-inline:17px}.grid4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:860px){.app{display:block}.sidebar{position:fixed;right:0;top:0;bottom:0;width:min(270px,86vw);transform:translateX(105%);transition:transform .18s}.sidebar.open{transform:none}.scrim.open{display:block;position:fixed;inset:0;background:#27241961;z-index:4;border:0}.mobile-menu{display:inline-flex!important}.topbar{padding-inline:12px}.search{width:min(365px,48vw)}}
@media(max-width:580px){.wrap{padding:15px 10px 28px}.topbar{gap:5px;min-height:57px}.top-end{gap:4px}.role-control .avatar,.key{display:none}.role-control select{width:105px;font-size:11px;min-height:35px}.search{width:38vw;height:35px;font-size:11px;padding:0 7px}.icon-btn{min-height:35px;min-width:35px}.heading{align-items:flex-start;flex-direction:column;margin-bottom:13px}.card{padding:12px;border-radius:13px}.grid2,.grid3,.dashboard-grid{grid-template-columns:minmax(0,1fr)}.grid4{gap:8px}.calendar{gap:3px}.day{min-height:61px;padding:3px}.day b{font-size:14px}.day small,.day-mode{font-size:9px}.hero{padding:15px;min-height:162px}.hero p{max-width:90%}.hero-mark{width:150px;height:150px;top:1px}.item{gap:6px}.item .btn{font-size:11px;padding:4px 6px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.report-chart{display:grid;gap:8px}.report-bar{display:grid;grid-template-columns:minmax(85px,1fr) minmax(70px,2fr) 30px;align-items:center;gap:8px}.report-bar meter{width:100%;height:15px}.report-bar meter::-webkit-meter-optimum-value{background:var(--gold)}fieldset{min-inline-size:0}legend{padding-inline:6px}

.active-authority{margin-bottom:12px;padding:8px 10px;background:var(--soft);border:1px solid var(--line);border-radius:11px}.active-authority .btn{margin-inline-start:auto;min-height:30px}
.secondary-nav{margin-block:9px;padding-block:7px;border-block:1px solid var(--line)}
.secondary-nav summary,.request-options summary{cursor:pointer;padding:8px 10px;color:var(--muted);font-weight:700}
.secondary-nav .nav{margin-inline-start:8px}
.request-options{position:relative}
.request-options[open] .row{position:absolute;inset-inline-end:0;top:100%;min-width:190px;padding:8px;background:var(--surface);border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow);z-index:2}
.coverage-state{display:grid;gap:4px}
.coverage-state[data-coverage="enough"] strong{color:var(--green)}
.coverage-state[data-coverage="short"] strong{color:var(--danger)}
.plan-next{font-size:.9rem;margin-top:8px}
@media(max-width:580px){.request-options[open] .row{position:static;min-width:0}}
.output-context{min-inline-size:0;border:1px solid var(--line);border-radius:10px;padding:10px 12px}
.output-context legend{padding-inline:5px;font-weight:700}
.output-context[hidden]{display:none}
.org-chart h2{margin:0}
.org-branch{list-style:none;min-inline-size:0;margin:0;padding-inline-start:clamp(9px,2vw,20px);border-inline-start:1px solid var(--line)}
.org-roots{border:0;padding:0}
.org-branch>li{margin-block:8px;position:relative}
.org-branch:not(.org-roots)>li::before{content:"";position:absolute;inset-inline-start:calc(-1 * clamp(9px,2vw,20px));top:22px;width:clamp(9px,2vw,20px);border-top:1px solid var(--line)}
.org-node{display:flex;flex-wrap:wrap;align-items:center;gap:9px;border:1px solid var(--line);border-radius:12px;background:var(--surface);padding:8px 10px;overflow-wrap:anywhere}
.org-node strong,.org-node small{display:block}
.org-node small{color:var(--muted)}
.org-node-actions{display:flex;flex-wrap:wrap;gap:6px;margin-inline-start:auto}
.org-node-actions .btn{font-size:.8rem}
.org-grip{cursor:grab;user-select:none;padding:5px 8px;border-radius:7px;background:var(--soft);color:#594400}
.org-drop{outline:2px solid #a67d00;background:var(--soft)}
.org-chart .org-deep{padding-inline-start:0;border:0}
.org-chart .org-deep>li::before{display:none}
.org-toggle{min-width:39px}
@media(max-width:580px){.org-node-actions{width:100%;margin:0}.org-chart .org-branch{padding-inline-start:8px}.org-chart .org-roots{padding:0}}
#account-select{max-width:160px;font-size:.85rem}
@media(max-width:700px){.topbar{flex-wrap:wrap}.topbar>.row{flex:1}.top-end{flex-wrap:wrap;gap:5px}.role-control select{width:110px}#account-select{max-width:130px}.topbar .search{max-width:55vw}}

.report-export-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.report-export-options .btn{min-height:46px}.report-export-options .btn:last-child{grid-column:1/-1}

.report-source-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.report-source-shortcuts .btn{white-space:normal;min-height:50px;text-align:center}@media(max-width:900px){.report-source-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}}.pj-scope label{min-width:0}.pj-scope select{max-width:min(260px,100%)}
