@font-face{font-family:Vazirmatn;src:url('vazirmatn.woff2') format('woff2');font-weight:100 900;font-display:swap}
:root{color-scheme:light;--ink:#111a2a;--navy:#111f36;--muted:#505e73;--blue:#1450d6;--wash:#e4ecff;--line:#cbd6e8;--paper:#fff;--bg:#f2f5fa;--radius:14px;--sidebar:248px;font-family:Vazirmatn,Tahoma,sans-serif}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--ink);font-size:15px;line-height:1.75}
a{color:var(--blue);text-decoration:none}
a:hover{text-decoration:underline}
h1,h2,h3,p{margin:0}
h1{font-size:clamp(1.75rem,3vw,2.55rem);font-weight:850;line-height:1.25;letter-spacing:-.025em}
h2{font-size:1.35rem;font-weight:830;line-height:1.5}
h3{font-size:1.06rem;margin-top:1rem}
p+p{margin-top:.2rem}
button,input,select{font:inherit}
button,.button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:7px 15px;border:1px solid var(--line);border-radius:9px;color:var(--ink);background:#fff;font-weight:700;cursor:pointer;white-space:nowrap;text-decoration:none}
button:hover,.button:hover{border-color:#8196bb;text-decoration:none;background:#f4f7fc}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid #2366ed;outline-offset:3px}
.primary{background:var(--blue);border-color:var(--blue);color:#fff}
.primary:hover{background:#0a3cb0;border-color:#0a3cb0}
.plain{border-color:transparent;background:transparent;color:var(--blue)}
.danger{color:#a72831}
button:disabled{opacity:.55;cursor:default}
input:not([type=checkbox]),select{border:1px solid #aebcd1;background:white;color:var(--ink);padding:8px 11px;border-radius:8px;min-height:42px;width:100%;min-width:0}
input[type=checkbox]{accent-color:var(--blue);inline-size:17px;block-size:17px;margin:0}
label{font-weight:650;display:block}
label>input:not([type=checkbox]),label>select{display:block;margin-top:5px}
.icon{width:23px;height:23px;flex:none}
.sidebar{width:var(--sidebar);position:fixed;inset:0 0 0 auto;background:#fff;border-inline-end:1px solid #dce4ef;padding:26px 15px;display:flex;flex-direction:column;z-index:2}
.brand{display:flex;align-items:center;gap:11px;color:#101827;white-space:nowrap;font-size:1.42rem;font-weight:860;line-height:1.2}
.brand:hover{text-decoration:none}
.brand>span{color:#fff;border-radius:10px;background:var(--blue);display:grid;place-items:center;width:43px;height:43px}
.brand .icon{width:32px;height:32px}
.sidebar>.brand{padding:3px 7px 25px;border-bottom:1px solid var(--line);margin-bottom:19px}
.sidebar nav{display:grid;gap:5px}
.sidebar nav>a{color:var(--ink);font-weight:690;display:flex;align-items:center;gap:14px;padding:11px 13px;border-radius:9px;min-height:47px}
.sidebar nav>a:hover{background:#f1f5fc;text-decoration:none}
.sidebar nav>a[aria-current=page]{color:var(--blue);background:var(--wash);font-weight:780}
.signout{margin-top:auto}
.app main{margin-inline-start:var(--sidebar);padding:25px 20px 32px;max-width:1690px}
.page-head,.section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.page-head{margin-bottom:25px;min-height:50px}
.page-head>.primary{min-height:48px;padding-inline:24px}
.sync-band{position:relative;isolation:isolate;min-height:168px;padding:24px 27px;overflow:hidden;background:var(--navy);color:#f6f8ff;border-radius:15px;margin-bottom:20px;display:flex;flex-direction:column;gap:10px}
.sync-band h2{font-size:1.62rem}
.sync-band p{max-width:420px;font-size:1.02rem}
.sync-band:after{position:absolute;content:'';z-index:-1;inset:0 auto 0 0;width:min(38%,360px);background:radial-gradient(circle at 44% 71%,#2562c8 0 5px,transparent 6px 18px,#2354a3 19px,transparent 20px 52px,#2b61ac 53px,transparent 54px 91px,#214b8a 92px,transparent 93px 133px,#20467e 134px,transparent 135px 174px,#234274 175px,transparent 176px)}
.panel{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:17px 20px;margin-bottom:17px;min-width:0}
.panel h2:not(:last-child){margin-bottom:8px}
.kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:22px}
.kpi{margin:0;text-align:center;padding:14px 8px;min-height:115px;display:grid;place-items:center;align-content:center;gap:8px}
.kpi h2{font-size:1.02rem;margin:0!important}
.kpi strong{font-size:2rem;line-height:1.35;font-weight:850}
.dash-grid{display:grid;grid-template-columns:minmax(0,1.94fr) minmax(0,1fr);gap:13px}
.dash-grid>.panel{min-height:350px}
.plot{height:180px;margin:24px 40px 18px 0;border:1px solid #dbe4f0;border-radius:3px;background:repeating-linear-gradient(to bottom,transparent 0,transparent calc(20% - 1px),#dce5f0 calc(20% - 1px),#dce5f0 20%),repeating-linear-gradient(to right,#fafcff 0,#fafcff calc(12.5% - 1px),#e3ebf5 calc(12.5% - 1px),#e3ebf5 12.5%)}
.plot svg{width:100%;height:100%;direction:ltr}
.budget-strip{display:flex;align-items:center;gap:12px 22px;flex-wrap:wrap}
.live-progress{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,245px),1fr));gap:18px 24px}
.live-progress progress{width:100%;height:10px;margin-top:8px;accent-color:var(--blue)}
.empty{min-height:190px;display:grid;justify-items:center;align-content:center;text-align:center;gap:7px;color:var(--muted);padding:22px}
.empty .icon{width:56px;height:56px;stroke:#8798b1;stroke-width:1.25;border:1px solid #dbe5f2;border-radius:12px;padding:9px;margin-bottom:9px}
.activity>.empty{min-height:268px}
.empty strong{color:#344057;font-size:1.04rem}
.activity-list{list-style:none;padding:0;margin:8px 0}
.activity-list li{display:flex;gap:8px 10px;flex-wrap:wrap;align-items:center;padding:10px 0;border-bottom:1px solid #e8edf4}
.muted{color:var(--muted)}
.small{font-size:.87rem}
.center{text-align:center}
.block{display:block}
.spaced{margin-top:13px}
.inline{display:flex;gap:10px 14px;align-items:end;flex-wrap:wrap}
.grow{flex:1 1 250px}
.stack{display:grid;gap:10px}
.check{display:inline-flex;align-items:center;gap:9px}
.notice{border:1px solid #c5d7fa;border-radius:8px;background:#edf4ff;color:#16366d;padding:9px 12px;margin:10px 0}
.notice.error{border-color:#eec5c7;background:#fff0f1;color:#a22531}
.tag{display:inline-flex;align-items:center;min-height:25px;padding:2px 8px;border-radius:6px;background:#eef2f9;color:#3d526c;font-size:.83rem;font-weight:700;white-space:nowrap}
.tag.done{background:#e5f5eb;color:#196341}
.tag.failed{background:#fae8e9;color:#922a31}
.tag.running,.tag.queued{background:#e5efff;color:#1b4fb1}
.table-wrap{overflow-x:auto}
table{border-collapse:collapse;width:100%;text-align:right}
th,td{padding:10px;text-align:right;vertical-align:top;border-bottom:1px solid #e3eaf5}
thead{background:#f6f8fc;color:#384862}
td code{font-size:.82rem;overflow-wrap:anywhere}
.post-cell{display:flex;align-items:center;gap:10px;color:var(--ink);min-width:205px}
.post-cell small{display:block}
.post-cell img,.cover{width:48px;height:56px;object-fit:cover;border-radius:8px;background:#edf1fa;color:#607394;display:grid;place-items:center;flex:none}
.facts{display:flex;gap:12px 28px;flex-wrap:wrap;margin:16px 0}
.facts div{min-width:100px}
dt{color:var(--muted);font-size:.9rem}
dd{margin:0;overflow-wrap:anywhere}
.facts dd{font-weight:700}
.provider{padding:14px 0;border-bottom:1px solid #e6edf6}
.provider:last-child{border-bottom:0}
.provider h3,.section-head h2{margin:0}
.provider form{margin-top:8px}
.content-grid,.columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.caption{white-space:pre-wrap;overflow-wrap:anywhere;margin-bottom:8px}
video{width:100%;max-height:450px;display:block;background:#111e32;border-radius:9px}
.time{direction:ltr;font-variant-numeric:tabular-nums}
.transcript{list-style:none;padding:0}
.transcript li{display:flex;align-items:start;gap:12px;padding:6px 0}
.reasons{margin:6px 0 12px;font-size:.91rem}
.reasons div{margin:4px 0}
summary{color:#274a8a;cursor:pointer}
meter{width:64px;vertical-align:middle}
.guest main{min-height:100vh;display:grid;place-content:center;padding:22px}
.login{width:min(440px,calc(100vw - 38px));padding:24px}
.login .brand{margin-bottom:24px}
.login h1{font-size:1.55rem;margin-bottom:18px}
@media(max-width:1060px){:root{--sidebar:205px}.sidebar{padding-inline:11px}.app main{padding-inline:14px}.dash-grid{grid-template-columns:minmax(0,1.65fr) minmax(0,1fr)}}
@media(max-width:760px){.sidebar{position:static;width:auto;padding:12px 15px;border-inline-end:0;border-bottom:1px solid var(--line);display:grid;grid-template-columns:1fr auto;gap:11px}.sidebar>.brand{padding:0;margin:0;border:0}.sidebar nav{grid-column:1/-1;grid-row:2;display:flex;overflow:auto;gap:5px}.sidebar nav>a{font-size:.88rem;gap:5px;white-space:nowrap;padding:7px;min-height:35px}.sidebar nav .icon{width:16px;height:16px}.signout{grid-row:1;grid-column:2;margin:auto 0}.app main{margin:0;padding:14px}.page-head{margin-bottom:12px}.page-head>.primary{min-height:40px;padding-inline:12px}.sync-band{min-height:134px;padding:15px}.sync-band:after{opacity:.5}.sync-band p{max-width:80%}.kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.kpi{min-height:88px}.dash-grid,.content-grid,.columns{grid-template-columns:minmax(0,1fr)}.dash-grid>.panel{min-height:auto}.activity>.empty{min-height:160px}.plot{margin-inline-start:0}.panel{padding:13px}.inline button{white-space:normal}}
@media(max-width:540px){.sidebar nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible}.sidebar nav>a{white-space:normal;line-height:1.25;padding:6px}.sidebar nav .icon{width:15px;height:15px}}
@media print{body{background:white;font-size:10pt}.sidebar,.page-head,form,video,button,[data-print],a.button,script{display:none!important}.app main{margin:0;padding:0}.panel{border:0;padding:0;margin:0 0 10mm}.table-wrap{overflow:visible}tr{break-inside:avoid}.content-grid,.columns{display:block}.notice{border:0;background:white;padding:0}.time{display:inline!important;border:0;padding:0;min-height:0;color:#222}.caption{max-height:none}}

/* Shared visual treatment for the studio and the reviewer sign-in. */
:root {
  --ink: #241934;
  --navy: #201331;
  --muted: #625975;
  --blue: #6334ce;
  --wash: #f1eafe;
  --line: #e4ddef;
  --bg: #f7f5fb;
  --radius: 16px;
}
body { font-size: 15px; }
button, .button { gap: 8px; }
button .icon, .button .icon { width: 18px; height: 18px; }
button:hover, .button:hover { border-color: #a996c8; background: #f8f4fd; }
.primary { background: linear-gradient(130deg, #713bdd, #582abc); border-color: #5d2fc2; box-shadow: 0 4px 11px #4b259522; }
.primary:hover { background: #5323b5; border-color: #5323b5; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 2px solid #8b54e8;
}
input:not([type=checkbox]), select { border-color: #cec4de; }
.sidebar { background: linear-gradient(164deg, #241235, #17112a 85%); border: 0; }
.sidebar > .brand { color: #fff; border-color: #ffffff1c; }
.brand > span { background: linear-gradient(150deg, #9e5aed, #5d31cd); box-shadow: 0 4px 14px #1a0d3b30; }
.sidebar nav > a { color: #e1d6ee; }
.sidebar nav > a:hover { background: #ffffff12; color: #fff; }
.sidebar nav > a[aria-current=page] { color: #fff; background: #7553a963; }
.sidebar-foot {
  margin-top: auto;
  display: flex;
  border-top: 1px solid #ffffff1c;
  padding-top: 12px;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.sidebar-foot .plain { color: #eee5f7; min-height: 36px; }
.sidebar-foot .plain:hover { color: #fff; background: #ffffff17; border-color: transparent; }
.environment { color: #e5cbff; font-size: .83rem; padding-inline: 7px; }
.app main { padding: 30px clamp(16px, 3vw, 48px) 42px; }
.panel { box-shadow: 0 2px 10px #31195706; }
.sync-band {
  background: linear-gradient(108deg, #6a378e, #352075 55%, #211641);
  box-shadow: 0 10px 26px #4f288b20;
  min-height: 144px;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding: 22px 25px;
}
.sync-band h2 { margin-bottom: 4px; }
.sync-band p { color: #eee4f9; max-width: 49ch; }
.sync-band::after, .login-cover::after {
  background: radial-gradient(circle at 28% 78%, transparent 0 42px, #d7b3f447 43px, transparent 44px 83px,
    #d7b3f447 84px, transparent 85px 124px, #d7b3f447 125px, transparent 126px 166px,
    #d7b3f447 167px, transparent 168px 207px, #d7b3f447 208px, transparent 209px);
}
.hero-action { color: #fff; background: #ffffff18; border-color: #ffffff73; flex: none; }
.hero-action:hover { color: var(--ink); background: #fff; }
.kpi {
  min-height: 112px;
  padding: 14px 16px;
  text-align: start;
  grid-template-columns: 38px minmax(0, 1fr);
  place-items: center start;
  align-content: center;
  gap: 3px 10px;
}
.kpi strong { grid-column: 2; }
.tile-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 10px;
  color: var(--blue);
  background: var(--wash);
}
.tile-icon .icon { width: 20px; height: 20px; }
.dash-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
.dash-grid > .panel { min-height: 245px; }
.activity > .empty { min-height: 180px; }
.empty .icon { background: var(--wash); border-color: transparent; stroke: #8365b7; }
.plot { color: var(--blue); margin-inline: 0; }
.report-list { list-style: none; margin: 8px 0 0; padding: 0; }
.report-list li + li { border-top: 1px solid var(--line); }
.report-list a { display: flex; align-items: center; gap: 10px 14px; padding: 11px 0; color: var(--ink); }
.report-list a > span:nth-child(2) { overflow-wrap: anywhere; flex: 1; }
.report-list a > .icon { color: var(--blue); width: 18px; }
.report-list a:hover { color: var(--blue); text-decoration: none; }
.intake-grid .panel { padding: clamp(16px, 2.5vw, 28px); }
.intake-grid .tile-icon { margin-bottom: 12px; }
.file-field { display: grid; gap: 5px; padding: 15px; border: 1px dashed #a58acb; background: #faf7ff; border-radius: 12px; }
.file-field input { max-width: 100%; }
[data-upload-status] progress { width: 100%; height: 10px; accent-color: var(--blue); }
.guest { background: radial-gradient(ellipse at 80% 20%, #eaddfa, transparent 62%), var(--bg); }
.login-shell {
  width: min(880px, calc(100vw - 44px));
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 24px;
  background: #fff;
  border: 1px solid #ded3ed;
  overflow: hidden;
  box-shadow: 0 24px 65px #46206c20;
}
.login-cover {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(150deg, #221338, #482381 72%, #793da2);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 70px;
}
.login-cover::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .7; }
.login-cover .brand { color: #fff; }
.login-cover h2 { font-size: clamp(1.45rem, 2.85vw, 2rem); }
.login-cover p { color: #f1e6fa; margin-top: 10px; max-width: 30ch; }
.login-cover, .login-form { padding: clamp(22px, 4vw, 48px); }
.login-form h1 { font-size: clamp(1.35rem, 2.6vw, 1.9rem); margin-bottom: 8px; }
.login-form form { margin-top: 25px; gap: 8px; }
.login-form label { margin-top: 3px; }
.login-form button { margin-top: 12px; justify-content: space-between; min-height: 46px; }

@media (max-width: 1060px) {
  .kpi { grid-template-columns: 32px minmax(0, 1fr); gap: 3px 7px; padding: 10px; }
  .kpi .tile-icon { width: 32px; height: 32px; }
  .kpi h2 { font-size: .91rem; }
}
@media (max-width: 760px) {
  .app main { padding: 15px; }
  .sidebar-foot { grid-row: 1; grid-column: 2; border: 0; padding: 0; margin: 0; }
  .sync-band { gap: 14px; flex-wrap: wrap; min-height: auto; padding: 18px; }
  .sync-band p { max-width: none; }
  .dash-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .dash-grid > .panel { min-height: 0; }
}
@media (max-width: 540px) {
  .login-shell { grid-template-columns: minmax(0, 1fr); }
  .login-cover { gap: 24px; }
  .report-list a > bdi { display: none; }
}
