@font-face{font-family:Vazirmatn;src:url('/fonts/Vazirmatn-Regular.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:Vazirmatn;src:url('/fonts/Vazirmatn-Medium.woff2') format('woff2');font-weight:500;font-display:swap}
@font-face{font-family:Vazirmatn;src:url('/fonts/Vazirmatn-SemiBold.woff2') format('woff2');font-weight:600 900;font-display:swap}
:root{--accent:#00a7ad;--accent-hover:#008e95;--ink:#454545;--muted:#929292;--line:#e5e5e5;--surface:#fff;--canvas:#fafafa;--sidebar:250px;--font:Vazirmatn,Tahoma,sans-serif}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--canvas);color:var(--ink);font:400 16px/1.9 var(--font);-webkit-font-smoothing:antialiased}
button,input,select{font:inherit}
button,a,input,select{touch-action:manipulation}
button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:9px 16px;border:1px solid transparent;border-radius:7px;background:var(--accent);color:#fff;cursor:pointer;transition:background .15s}
button:hover{background:var(--accent-hover)}
button:disabled{opacity:.5;cursor:wait}
button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
input,select{width:100%;min-height:40px;padding:9px 12px;border:1px solid #d5d5d5;border-radius:6px;background:#fff;color:#555;outline:none}
input:focus,select:focus{border-color:var(--accent);box-shadow:0 0 0 2px #00a7ad0b}
input[type=checkbox]{width:15px;min-height:auto;accent-color:var(--accent)}
label{display:block;line-height:2.4}
a{color:var(--accent);text-decoration:none}
h1,h2,p{margin:0}
h1{font-size:23px;font-weight:500;line-height:1.8}
h2{font-size:17px;font-weight:500;line-height:1.9}
p{color:#8c8c8c;line-height:2}
small{font-size:14px}
strong,b{font-weight:500}
.icon{width:19px;height:19px;flex-shrink:0;vertical-align:middle}
.muted{color:var(--muted);font-size:15px;line-height:2}
.block{display:block}
.eyebrow{font:13px var(--font);letter-spacing:0;color:#999;direction:ltr;text-align:right}
.badge{display:inline-flex;align-items:center;gap:5px;padding:3px 8px;border-radius:4px;color:var(--accent);background:#eaf9fa;font-size:14px;white-space:nowrap}
.badge.neutral{color:#888;background:#f3f3f3}
.brand{direction:ltr;text-align:right;color:#505050;font:600 25px var(--font);letter-spacing:1px}
.brand span{color:var(--accent)}
.brand-link{display:flex;align-items:center;min-height:56px;padding:0 21px;border-bottom:1px solid var(--line)}
.aside-sub{font-size:13px;color:#a2a2a2;margin:4px 15px 0 0}
.brand small{display:block;font-size:12px;letter-spacing:1.3px;color:#aaa}
aside{position:fixed;right:0;top:0;bottom:0;z-index:5;display:flex;flex-direction:column;width:var(--sidebar);background:#fff;border-left:1px solid var(--line)}
.nav-caption{display:flex;align-items:center;gap:10px;margin:24px 16px 8px;color:#aaa;font-size:14px}
.nav-caption:after{content:'';height:1px;flex:1;background:#eee}
nav{padding:0 10px}
nav button{display:flex;justify-content:flex-start;width:100%;gap:12px;margin:2px 0;padding:10px 12px;background:transparent;color:#626262;border-radius:5px;text-align:right;font-size:16px}
nav button:hover{color:var(--accent);background:#f8fbfb}
nav button.active{color:var(--accent);background:#effafb}
nav button .icon{color:#686868;width:18px;height:18px}
nav button.active .icon{color:var(--accent)}
nav button b{margin-right:auto;color:var(--accent);font-size:15px}
.sidebar-foot{margin-top:auto;padding:22px 20px 16px}
.workspace-status{display:flex;align-items:center;gap:7px;font-size:14px;color:#999}
.workspace-status i,.hero-label i{display:inline-block;width:6px;height:6px;background:var(--accent);border-radius:50%}
.sidebar-foot p{font:12px/2 var(--font);letter-spacing:.5px;margin:12px 0;color:#bbb}
.account-link{padding:7px 0;border:0;background:transparent;color:#777;font-size:15px}
.account-link:hover{color:var(--accent);background:transparent}
.sidebar-user{display:flex;justify-content:flex-start;gap:10px;background:#fff;border:0;border-top:1px solid var(--line);border-radius:0;color:#555;padding:14px 20px;font-size:15px;text-align:right}
.sidebar-user:hover{background:#fafafa}
.sidebar-user small{display:block;color:#999;font-size:13px}
.avatar{display:grid;place-items:center;width:31px;height:31px;border:1px solid #ddd;border-radius:6px;background:#f7f7f7;color:#888;font-size:17px}
main{max-width:2000px;margin-right:var(--sidebar);padding:0 32px}
header{display:flex;align-items:center;justify-content:space-between;min-height:86px;padding:16px 32px;margin:0 -32px 24px;border-top:2px solid #e8e2de;border-bottom:1px solid var(--line);background:#fff}
header .eyebrow{display:none}
header h1{font-size:21px;margin:0 0 2px}
header .muted{font-size:14px;color:#999}
.header-actions{display:flex;align-items:center;gap:9px}
.today{font-size:14px;color:#999;margin-left:12px}
.icon-btn{display:grid;place-items:center;width:33px;height:33px;padding:6px;background:#fff;border-color:var(--line);color:#777;font-size:23px}
.icon-btn:hover{background:#f5f5f5}
.icon-btn .icon{width:16px;height:16px}
.icon-btn{line-height:1}.icon-btn .icon{display:block;margin:auto}
.toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}
.select-group{display:flex;align-items:center;gap:12px;min-width:0}
.select-group label{color:#999;font-size:15px}
.select-group select{max-width:300px;min-height:38px;font-size:15px}
.select-group select:nth-of-type(2){max-width:200px}
.toolbar button{font-size:15px;background:#505050}
.toolbar button:hover{background:#333}
.read-only{display:flex;align-items:center;gap:6px;font-size:14px;color:#999}
.read-only .icon{width:14px;height:14px}
.hero{display:flex;align-items:center;justify-content:space-between;gap:25px;background:#fff;border:1px solid var(--line);border-radius:8px;margin-bottom:20px;padding:24px 28px;position:relative;overflow:hidden}
.hero-label{display:flex;align-items:center;gap:8px;font-size:13px;letter-spacing:.7px;color:#aaa;margin-bottom:12px}
.hero h2{font-size:24px;font-weight:500;color:#505050}
.hero h2 span{margin:0 7px;color:#d4d4d4}
.project-title{font:15px/1.9 var(--font);text-align:right;color:#999;margin-top:7px}
.hero-bottom{display:flex;gap:20px;margin-top:19px;color:#999;font-size:14px}
.hero-bottom span{display:flex;align-items:center;gap:6px}
.hero-bottom .icon{width:14px;height:14px}
.hero-metric{display:flex;flex-direction:column;align-items:center;min-width:220px;border-right:1px solid var(--line);padding:3px 32px 3px 0}
.hero-metric small{font-size:15px;color:#888}
.hero-metric strong{font:500 46px/1.8 var(--font);color:var(--accent)}
.hero-metric span{font-size:14px;color:#aaa}
.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:20px}
.card,.panel{background:#fff;border:1px solid #ededed;border-radius:8px;padding:22px}
.card-head{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#777;font-size:15px}
.tile-icon{display:inline-flex;align-items:center;justify-content:center;width:31px;height:31px;border-radius:6px;color:var(--accent);background:#f0fafb}
.tile-icon .icon{width:17px;height:17px}
.blue{color:#5599b1;background:#eff7fa}
.green{color:var(--accent);background:#edf9fa}
.amber{color:#b8a04e;background:#faf8ed}
.rose{color:#bd7e88;background:#fbf0f2}
.card .value{font:500 33px/1.6 var(--font);color:#555;margin:10px 0 3px}
.card small{font-size:13px;color:#aaa}
.grid,.lower-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.panel{margin-bottom:20px;padding:0 24px 24px}
.panel>h2{padding-top:23px;margin-bottom:20px}
.panel-top{display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:71px;border-bottom:1px solid var(--line);margin:0 -24px 22px;padding:17px 24px}
.panel-top p{font-size:14px;color:#aaa;margin-top:3px}
.panel-top .badge{color:#888;background:#f5f5f5}
.discipline-list{padding:5px 0}
.discipline-row{display:grid;grid-template-columns:120px 1fr 48px 65px;align-items:center;gap:12px;margin:25px 0}
.discipline-row>div{display:flex;align-items:center;gap:12px}
.discipline-row strong{font-size:15px;min-width:23px;color:#666}
.discipline-row span{font-size:15px;color:#999}
.discipline-row b{font-size:15px;color:#777}
.discipline-row small{font-size:13px;color:#aaa;direction:ltr;text-align:left}
progress{appearance:none;-webkit-appearance:none;border:0;border-radius:8px;overflow:hidden;width:100%;height:5px;background:#ededed;display:block;direction:ltr}
progress::-webkit-progress-bar{background:#ededed;border-radius:8px}
progress::-webkit-progress-value{background:var(--accent);border-radius:8px}
progress::-moz-progress-bar{background:var(--accent);border-radius:8px}
.donut-wrap{position:relative;width:240px;height:240px;margin:3px auto 20px}
.donut-wrap canvas{width:240px;height:240px}
.donut-label{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;pointer-events:none}
.donut-label strong{font:400 32px/1.8 var(--font);color:#666}
.donut-label small{font-size:15px;color:#999}
.donut-legend{display:flex;justify-content:center;gap:28px;font-size:15px;color:#999}
.donut-legend span{display:flex;align-items:center;gap:7px}
.donut-legend b{color:#777;font-size:15px;margin-right:8px}
.dot{display:inline-block;width:7px;height:7px;border-radius:50%}
.green-dot{background:var(--accent)}
.gray-dot{background:#d0d0d0}
.lower-grid .panel{min-height:300px}
#trend{width:100%;height:auto;max-height:230px}
.single-history{display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:225px;background:repeating-linear-gradient(0deg,transparent 0 48px,#f1f1f1 49px 50px);border-radius:0}
.trend-point{font-size:32px;color:#aaa}
.single-history p{font-size:15px;background:#fff;margin:10px 0;padding:5px 15px}
.single-history small{font-size:14px;color:#aaa}
.phase-row{display:flex;align-items:center;gap:12px;padding:4px 0;margin-bottom:14px}
.phase-number{display:grid;place-items:center;flex-shrink:0;width:27px;height:27px;border:1px solid var(--line);border-radius:5px;color:#aaa;font-size:14px}
.phase-row div{flex:1}
.phase-row strong{font-size:15px;color:#777}
.phase-row small{display:block;font-size:13px;color:#aaa;margin-top:3px}
.phase-row b{font-size:16px;color:#777}
.mh-note{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:13px 15px;background:#fafafa;border:1px solid #eee;border-radius:6px;font-size:14px;color:#888}
.mh-note strong{color:var(--accent);font-size:21px}
.mh-note small{width:100%;color:#aaa;font-size:13px;line-height:1.9}
.warning-box{border:1px solid #ece5d8;border-radius:6px;background:#fffefb;color:#a08e64;padding:11px 15px;margin-bottom:20px;font-size:14px;line-height:2}
.warning-box summary{display:flex;align-items:center;gap:9px;list-style:none;cursor:pointer}
.warning-box summary .icon{width:15px;height:15px}
.warning-box summary span{margin-right:auto;color:#aa9a7c;font-size:13px;text-decoration:underline}
.warning-box ul{padding-right:20px;margin-bottom:6px}
.warning-box p{font-size:13px;color:#ad9d82}
.table-wrap{width:100%;overflow:auto}
table{width:100%;border-collapse:collapse;text-align:right;white-space:nowrap}
th{padding:13px;background:#fafafa;color:#999;font-size:15px;font-weight:400}
td{padding:16px 13px;border-bottom:1px solid #eee;color:#777;font-size:15px}
tbody tr:last-child td{border-bottom:0}
tbody tr:hover td{background:#fcfefe}
.activity-cell{min-width:220px;max-width:360px;white-space:normal;text-align:right;color:#666;font:15px/1.9 var(--font)}
.discipline-tag{display:inline-block;padding:3px 8px;border-radius:4px;background:#f5f5f5;color:#888;font-size:14px}
.progress-text{display:inline-block;color:#888;font-size:14px;margin-bottom:5px}
td progress{height:3px;min-width:65px}
.punch-badge{padding:3px 8px;border-radius:4px;background:#fff1f3;color:#b47e88;font-size:14px}
.sort-btn{padding:0;border:0;background:none;color:inherit;font-size:15px}
.sort-btn:hover{color:var(--accent);background:none}
.text-btn{padding:0;border:0;background:none;color:var(--accent);font-size:15px}
.text-btn:hover{background:none;color:var(--accent-hover)}
.text-btn .icon{width:14px;height:14px}
.filters{display:flex;gap:12px;margin-bottom:22px}
.filters select{max-width:180px;font-size:15px}
.search-box{position:relative;flex:1}
.search-box .icon{position:absolute;top:12px;right:12px;width:17px;height:17px;color:#aaa}
.search-box input{padding-right:39px;font-size:15px;background:#fff}
.source-panel{padding-top:22px}
.source-panel summary{cursor:pointer;font-size:16px;color:#666}
.source-panel summary span{margin-right:15px;font-size:14px}
.source-scroll{max-height:650px;overflow:auto;margin-top:20px;border:1px solid var(--line);border-radius:5px}
.source-table{font:15px var(--font);text-align:center}
.source-table td{min-width:65px;max-width:340px;padding:12px 9px;white-space:pre-line;border:1px solid #eee;color:#777;font-size:15px;line-height:1.8}
.source-table .row-index{position:sticky;left:0;min-width:30px;font-size:13px;background:#fafafa}
.source-table .source-head td{background:#f5f8f8;color:#666;font-weight:500}
.source-table .source-total td{background:#fafafa;color:#666;font-weight:500}
.source-table .cell-error{background:#fff1f1!important;color:#bb6c6c}
.check-label{display:flex;align-items:center;gap:8px;font-size:14px;color:#999}
.notice{padding:14px 18px;border:1px solid #e4f1f2;border-radius:6px;background:#f6fcfc;color:#7a9697;font-size:15px;line-height:2.2;margin-bottom:22px}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}
.form-grid label{color:#888;font-size:15px}
.form-grid button{align-self:end;justify-self:start}
.inline-form{display:flex;align-items:center;gap:8px}
.inline-form input{max-width:200px;font-size:14px}
.inline-form select{max-width:140px;font-size:14px}
.inline-form button{font-size:14px}
.secondary{background:#fff;color:#888;border-color:var(--line)}
.secondary:hover{background:#fafafa;color:#666}
.small-btn{font-size:14px;padding:6px 12px}
.download-link{display:inline-block;margin-right:10px;font-size:14px}
.upload-layout{display:grid;grid-template-columns:1.6fr 1fr;gap:20px}
.upload-layout form>label{font-size:15px;color:#888}
.dropzone{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;min-height:220px;margin:22px 0;padding:32px 15px;border:1px dashed #c8dfe0;border-radius:7px;background:#fbfefe;cursor:pointer;line-height:1.9}
.dropzone>.icon{width:31px;height:31px;color:var(--accent)}
.dropzone strong{font-size:16px}
.dropzone span{font-size:14px;color:#aaa}
.dropzone input{max-width:330px;background:#fff;direction:ltr;cursor:pointer;font-size:14px}
#file-name{color:var(--accent)}
.guide-panel{padding:27px}
.guide-panel h2{margin:16px 0 24px;padding:0}
.guide-step{display:flex;gap:13px;margin:24px 0}
.guide-step>b{display:grid;place-items:center;flex-shrink:0;width:26px;height:26px;border:1px solid var(--line);border-radius:50%;color:#aaa;font-size:15px}
.guide-step strong{font-size:15px;color:#777}
.guide-step p{font-size:14px;margin-top:8px}
.project-line{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:20px 0;border-bottom:1px solid #eee;font-size:16px}
.project-line:last-child{border:0}
.account-panel{max-width:550px;padding-top:22px}
.account-panel>h2{padding:0}
.account-panel label{font-size:15px;margin:18px 0}
.account-panel p{margin-top:15px}
.empty{text-align:center;padding:55px 20px;color:#aaa}
.empty h2{font-size:19px;margin:20px 0 12px;padding:0}
.empty-icon{color:#bbb}
.empty-icon .icon{width:40px;height:40px}
footer{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:4px 0 24px;color:#bbb;font-size:12px;letter-spacing:.5px}
footer span:nth-child(2){letter-spacing:0;font-size:13px}
#toast{position:fixed;left:25px;bottom:25px;z-index:100;visibility:hidden;opacity:0;max-width:500px;padding:14px 22px;border:1px solid #ddd;border-radius:7px;background:#fff;color:#666;box-shadow:0 3px 18px #0000000d;font-size:16px;line-height:2;transition:opacity .15s}
#toast.visible{opacity:1;visibility:visible}
.auth-layout{display:grid;grid-template-columns:1fr 1fr;min-height:100vh;border-top:2px solid #e8e2de}
.auth-story{display:flex;flex-direction:column;justify-content:space-between;padding:55px 65px;border-left:1px solid var(--line);background:#fff;color:#555;position:relative;overflow:hidden}
.auth-story:after{content:'';position:absolute;left:-240px;bottom:-370px;width:700px;height:700px;border:1px solid #eef3f3;border-radius:50%;box-shadow:0 0 0 70px #fafcfc,0 0 0 140px #fdfefe;pointer-events:none;z-index:0}
.auth-story>div,.auth-story>small{position:relative;z-index:1}
.auth-story .brand{font-size:32px;color:#555}
.auth-story .brand span{color:var(--accent)}
.auth-story .eyebrow{font-size:14px;letter-spacing:1px;color:#aaa;margin-bottom:22px}
.auth-story h1{font-size:39px;line-height:1.9;font-weight:400;color:#555;margin-bottom:22px}
.auth-story p{max-width:410px;font-size:16px;color:#999}
.auth-story>small{font-size:13px;color:#bbb;direction:ltr}
.auth-lines{display:flex;gap:30px;margin-top:35px;color:var(--accent);font-size:15px}
.auth-lines b{display:block;margin-top:7px;font-size:15px;color:#888}
.auth-wrap{display:flex;align-items:center;justify-content:center;padding:45px}
.auth{width:100%;max-width:380px}
.auth h1{font-size:27px;font-weight:400}
.auth p{font-size:15px;line-height:2.2;margin:13px 0 25px}
.auth p.eyebrow{font-size:13px;margin:23px 0 8px;letter-spacing:1px}
.auth-mark{display:grid;place-items:center;width:42px;height:42px;background:#fff;border:1px solid var(--line);border-radius:7px;color:var(--accent)}
.auth label{color:#888;font-size:15px;margin:16px 0}
.auth input{padding:12px;background:#fff}
.auth button{width:100%;margin-top:21px;padding:12px;background:#505050}
.auth button:hover{background:#333}
.auth-note{display:flex;align-items:center;gap:8px;border-top:1px solid var(--line);margin-top:30px;padding-top:22px;font-size:13px;color:#aaa}
.auth-note .icon{width:13px;height:13px}
@media(min-width:1700px){main{padding:0 50px}header{margin-right:-50px;margin-left:-50px;padding-right:50px;padding-left:50px}.hero{padding:28px 32px}.cards{gap:20px}.card{padding:24px}.card .value{font-size:36px}}
@media(max-width:1200px){:root{--sidebar:220px}main{padding:0 24px}header{padding:16px 24px;margin-right:-24px;margin-left:-24px}.brand-link{padding:0 16px}.aside-sub{font-size:12px;margin-right:10px}.discipline-row{grid-template-columns:100px 1fr 43px;gap:10px}.discipline-row small{display:none}.discipline-row span{font-size:14px}.cards{gap:12px}.card{padding:18px}.card-head{font-size:14px}.select-group select{max-width:240px}.hero{padding:24px}.hero-metric{min-width:185px;padding-right:24px}.hero h2{font-size:22px}.hero-bottom{gap:12px}.today{display:none}}
@media(max-width:950px){.cards{grid-template-columns:repeat(2,1fr)}.grid,.lower-grid{grid-template-columns:1fr}.upload-layout{grid-template-columns:1fr}.select-group{flex-wrap:wrap}.select-group label{display:none}.toolbar{align-items:flex-start}.hero-metric{min-width:155px;padding-right:20px}.hero-metric strong{font-size:38px}.hero-bottom{flex-wrap:wrap}.hero h2{font-size:21px}.discipline-row{grid-template-columns:120px 1fr 48px 65px}.discipline-row small{display:block}.form-grid{grid-template-columns:1fr}.auth-story{padding:35px}.auth-story h1{font-size:32px}.auth-wrap{padding:30px}.auth-lines{gap:22px}.auth-lines b{font-size:14px}}
@media(max-width:650px){aside{position:static;width:100%;border-left:0;border-bottom:1px solid var(--line)}.brand-link{min-height:56px;padding:0 18px}.brand{font-size:24px}.aside-sub{font-size:13px}.nav-caption,.sidebar-foot,.sidebar-user{display:none}nav{display:flex;gap:4px;overflow:auto;padding:8px 10px}nav button{width:auto;flex-shrink:0;white-space:nowrap;font-size:15px;padding:9px 10px;margin:0}nav button .icon{width:16px;height:16px}nav button b{display:none}main{margin:0;padding:0 16px}header{margin:0 -16px 18px;padding:15px 16px;min-height:78px;border-top:0}header h1{font-size:21px}header .muted{font-size:13px}.header-actions{gap:6px}.icon-btn{width:30px;height:30px;padding:6px}.toolbar{gap:10px;margin-bottom:18px}.toolbar button{font-size:13px;padding:9px 11px;white-space:nowrap}.toolbar button .icon{width:15px;height:15px}.select-group{gap:8px}.select-group select{max-width:210px;font-size:14px;padding:8px;min-height:36px}.hero{flex-direction:column;align-items:stretch;padding:21px;gap:18px}.hero-label{font-size:12px}.hero h2{font-size:22px}.project-title{font-size:14px}.hero-bottom{margin-top:16px;font-size:13px;gap:12px}.hero-metric{position:relative;align-items:flex-start;border:0;border-top:1px solid var(--line);padding:15px 0 0;min-height:75px}.hero-metric strong{position:absolute;left:0;top:10px;font-size:40px}.hero-metric small{margin:4px 0 9px;font-size:14px}.hero-metric span{max-width:65%;font-size:13px}.cards{gap:10px;margin-bottom:18px}.card{padding:16px}.card-head{font-size:14px}.card .value{font-size:30px}.card small{font-size:12px}.tile-icon{width:26px;height:26px}.tile-icon .icon{width:15px;height:15px}.grid{gap:0}.panel{padding:0 18px 18px;margin-bottom:18px}.panel-top{padding:16px 18px;margin:0 -18px 18px;gap:10px}.panel-top h2{font-size:16px}.panel-top .badge{font-size:13px}.discipline-row{grid-template-columns:110px 1fr 43px;gap:10px}.discipline-row small{display:none}.discipline-row span{font-size:14px}.warning-box{font-size:13px}.warning-box summary{gap:6px}.warning-box summary span{font-size:12px}.warning-box summary .icon{width:14px;height:14px}.filters{flex-wrap:wrap}.search-box{flex-basis:100%}.filters select{max-width:calc(50% - 6px);font-size:14px}.source-panel{padding-top:18px}.source-panel summary{font-size:15px}.source-panel summary span{display:block;margin:7px 0}.check-label{font-size:13px}.source-scroll{max-height:550px}.guide-panel{padding:23px}.account-panel{padding-top:20px}.empty{padding:40px 20px}.inline-form{min-width:390px}.read-only{font-size:13px;white-space:nowrap}footer{font-size:11px;padding-bottom:18px}footer span:nth-child(2){font-size:12px}.auth-layout{grid-template-columns:1fr}.auth-story{padding:25px;min-height:175px;border-left:0;border-bottom:1px solid var(--line)}.auth-story .brand{font-size:27px}.auth-story>div:nth-child(2){margin-top:15px}.auth-story h1{font-size:26px;margin:0}.auth-story h1 br{display:none}.auth-story .eyebrow,.auth-story p,.auth-lines,.auth-story>small{display:none}.auth-story .brand small{font-size:11px}.auth-wrap{padding:30px 25px}.auth-mark{display:none}.auth h1{font-size:25px}.auth p.eyebrow{margin-top:0}.auth p{margin:10px 0 20px}.auth label{margin:12px 0}.auth-note{margin-top:23px}#toast{bottom:15px;left:15px;right:15px;max-width:none}}

/* Readability: allow larger labels to wrap without clipping. */
.card-head{line-height:1.9}.card-head>span:first-child{min-width:0}.discipline-row{grid-template-columns:145px 1fr 65px 85px;gap:12px}.discipline-row strong{min-width:27px}.discipline-row>div{gap:9px}.hero-bottom{flex-wrap:wrap}.toolbar{flex-wrap:wrap}.select-group{flex-wrap:wrap}.select-group select{max-width:350px}.select-group select:nth-of-type(2){max-width:240px}.hero-metric{min-width:250px}.sidebar-user{line-height:1.9}.sidebar-user small{line-height:1.8}.activity-cell{min-width:250px;max-width:400px}.discipline-row span{line-height:1.8}.panel-top{flex-wrap:wrap}.source-panel summary span{line-height:2}.donut-legend{flex-wrap:wrap;gap:14px 24px}
@media(max-width:1200px){.discipline-row{grid-template-columns:130px 1fr 60px}.discipline-row small{display:none}.hero-metric{min-width:210px}.select-group select{max-width:300px}}
@media(max-width:950px){.discipline-row{grid-template-columns:145px 1fr 65px 85px}.discipline-row small{display:block}.hero-metric{min-width:190px}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.discipline-row{grid-template-columns:125px 1fr 55px;gap:8px}.discipline-row small{display:none}.hero-metric{min-width:0}.select-group select{max-width:100%}.hero-metric strong{font-size:36px}.hero-metric span{max-width:70%}.hero-bottom{gap:9px}.toolbar button{white-space:normal}.card-head{align-items:flex-start}.tile-icon{flex-shrink:0}.warning-box summary{flex-wrap:wrap}.warning-box summary span{margin-right:22px}.auth-story h1{font-size:25px}.auth-note{line-height:2}.card .value{font-size:30px}}

/* Dashboard drill-down targets remain native keyboard-accessible buttons. */
.drill-control{text-align:right;color:inherit;cursor:pointer;transition:background .15s,border-color .15s,box-shadow .15s}
button.card{display:block;width:100%;background:#fff;border:1px solid #ededed;position:relative}
button.card:hover,button.card:active,button.card:focus{background:#fff;border-color:#ededed;box-shadow:none}
.drill-hint{display:flex;align-items:center;gap:5px;font-size:12px;color:var(--accent);margin-top:12px}
.drill-hint .icon{width:13px;height:13px}
button.discipline-row{display:grid;width:100%;padding:9px 0;margin:14px 0;background:transparent;border:1px solid transparent;border-radius:6px}
button.discipline-row:hover,button.phase-row:hover{background:transparent;border-color:transparent}
button.phase-row{display:flex;width:100%;padding:8px 4px;background:transparent;border:1px solid transparent;justify-content:flex-start}
button.hero-metric{background:#fff;border:0;border-right:1px solid var(--line);border-radius:0}
button.hero-metric:hover{background:#fff}
button.mh-note{width:100%;text-align:right}
button.mh-note:hover{background:#fafafa;border-color:#eee}
.hero-link{background:transparent;color:#888;border:0;border-radius:4px;padding:0;font-size:inherit;display:inline-flex;align-items:center;gap:5px}
.hero-link:hover{background:transparent;color:var(--accent)}
.hero-link .icon{width:13px;height:13px}
.donut-legend button{background:transparent;color:#888;padding:5px 8px;font-size:14px;gap:7px}
.donut-legend button:hover{background:transparent;color:#888}
#donut,#trend{cursor:pointer}
.activity-link{display:inline-flex;align-items:center;gap:8px;background:transparent;color:#507b7d;padding:0;border:0;text-align:right;font-size:inherit;line-height:inherit}
.activity-link:hover{background:transparent;color:var(--accent);text-decoration:underline}
.activity-link .icon{width:13px;height:13px}
.drill-context{padding:18px 20px;margin-bottom:20px;background:white;border:1px solid #dfeded;border-radius:8px}
.drill-breadcrumb{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.drill-breadcrumb strong{font-size:15px}.drill-breadcrumb .secondary{font-size:13px;padding:5px 9px}
.drill-totals{display:flex;gap:14px 25px;flex-wrap:wrap;margin:18px 0 8px;font-size:14px;color:#888}
.drill-totals b{color:#555}.drill-context p{font-size:13px;line-height:2}
.details-panel{scroll-margin-top:18px}.detail-description{min-width:230px;max-width:430px;white-space:normal;line-height:1.9;text-align:right}
.detail-pagination{display:flex;gap:14px;align-items:center;justify-content:center;margin-top:22px;flex-wrap:wrap;font-size:13px}
.detail-pagination button{font-size:13px}.history-picks,.quick-drills{display:flex;gap:8px;flex-wrap:wrap}
.history-picks{margin-top:17px}.history-picks button{font-size:12px;padding:5px 10px}.quick-drills{margin:-5px 0 20px}.quick-drills button{background:white;border:1px solid #e2e9e9;color:#749091;font-size:13px;padding:6px 12px}.quick-drills button:hover{color:var(--accent);border-color:#a0d8db}
@media(max-width:650px){button.hero-metric{border:0;border-top:1px solid var(--line)}.drill-context{padding:15px}.drill-totals{gap:10px 15px}.drill-breadcrumb strong{font-size:14px}.donut-legend button{font-size:13px}.quick-drills button{font-size:12px}}

/* Focused navigation opens directly at the relevant report, without dashboard context. */
.focused-report{padding-top:24px}.focused-report>header,.focused-report>.toolbar{display:none}.report-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.report-tools .secondary{padding:5px 12px;font-size:13px}.report-results{scroll-margin-top:20px}
@media(max-width:650px){.focused-report{padding-top:18px}.report-tools{gap:7px}}

.source-table td.source-activity{text-align:right}
.overall-frozen thead{position:sticky;top:0;z-index:3;background:#f5f8f8;box-shadow:0 1px 0 #dce4e4}
.overall-frozen thead .row-index{z-index:4;background:#f5f8f8}

.report-date-control{position:relative;display:inline-flex;align-items:center;gap:5px;flex-shrink:0}
.report-date-control #report-date{width:134px;min-height:38px;border:0;border-radius:0;box-shadow:none;background:transparent;padding:7px 3px;color:#555;font-size:15px;text-align:center}
.report-date-control #report-date:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.report-date-control .calendar-toggle{display:grid;place-items:center;width:34px;height:34px;padding:6px;border:0;background:transparent;color:#7d8c8e}
.report-date-control .calendar-toggle:hover{background:#edf7f7;color:var(--accent)}
.report-date-control .calendar-toggle .icon{width:20px;height:20px;display:block}
.jalali-calendar[hidden]{display:none}
.jalali-calendar{position:absolute;top:calc(100% + 10px);right:0;z-index:25;width:320px;max-width:calc(100vw - 40px);padding:14px;background:white;border:1px solid #e1e8e8;border-radius:10px;box-shadow:0 8px 32px #253b3d1a;direction:rtl}
.calendar-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;font-size:14px;color:#666}
.jalali-calendar button{background:transparent;color:#666;padding:4px;border:0;min-height:34px;box-shadow:none;font-size:14px}
.jalali-calendar button:hover{background:#eff9f9;color:var(--accent)}
.calendar-heading button{width:28px;font-size:22px;line-height:1}
.calendar-month{display:flex;gap:6px;align-items:center;justify-content:space-between;margin-bottom:12px}
.calendar-month select{width:auto;max-width:115px;min-height:34px;padding:3px 6px;border:0;font-size:14px;background:#fafafa}
.calendar-month button{width:29px;font-size:25px;line-height:1}
.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
.calendar-grid .weekday{text-align:center;font-size:12px;color:#aaa;padding:3px 0 8px}
.calendar-grid button{border-radius:6px;font-size:14px;color:#008d94;font-weight:500;background:#f0fafa}
.calendar-grid button:disabled{background:transparent;color:#bbb;opacity:1;cursor:default;font-weight:400}
.calendar-grid button.selected-day{background:#00a7ad;color:#fff}
.calendar-grid button:not(:disabled):hover{background:#dcf2f3;color:#007e85}
.calendar-footer{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:12px;padding-top:10px;border-top:1px solid #eee}
.calendar-footer small{font-size:11px;color:#aaa}
.calendar-footer button{color:var(--accent);font-size:12px;white-space:nowrap}

/* Project and report selectors blend into the page; retain the native menu arrow. */
.select-group #project-select,.select-group #report-select{border:0;background-color:transparent;box-shadow:none;border-radius:0;cursor:pointer;appearance:auto;-webkit-appearance:auto}
.select-group #project-select:hover,.select-group #report-select:hover{background-color:transparent}
.select-group #project-select:focus,.select-group #report-select:focus{border:0;box-shadow:none;outline:none}
.select-group #project-select:focus-visible,.select-group #report-select:focus-visible{outline:2px solid var(--accent);outline-offset:2px}

/* Keep the complete project label visible; the native select still controls selection. */
.toolbar .select-group{flex:1;min-width:0}
.project-selector{position:relative;display:inline-grid;grid-template-columns:minmax(0,1fr) 18px;align-items:center;gap:10px;max-width:100%;width:max-content;min-width:0;padding:8px 0;flex:0 1 auto}
.project-selected-name{white-space:normal;overflow-wrap:anywhere;line-height:1.9;text-align:right;color:#555;font-size:15px}
.project-selector-arrow{width:16px;height:16px;color:#777;pointer-events:none}
.select-group .project-selector #project-select{position:absolute;inset:0;z-index:1;width:100%;max-width:none;height:100%;min-height:0;opacity:0;padding:0;margin:0;cursor:pointer}
.project-selector:has(select:focus-visible){outline:2px solid var(--accent);outline-offset:3px;border-radius:3px}
@media(max-width:650px){.project-selector{width:100%}.project-selected-name{font-size:14px}}
.brand-link .sidebar-company-logo{display:block;width:110px;height:110px;object-fit:contain;margin:0 auto 12px}.brand-link:has(.sidebar-company-logo){display:block;text-align:center}
.brand-link .sidebar-company-logo{width:76px;height:76px;margin:10px auto 12px}
.brand-link:has(.sidebar-company-logo){display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:initial}.brand-link .sidebar-company-logo{width:42px;height:42px;flex:0 0 42px;margin:0;object-fit:contain}.brand-link:has(.sidebar-company-logo) .brand{margin:0;line-height:1}
.brand-link:has(.sidebar-company-logo){min-height:88px;justify-content:center;gap:14px;padding:10px 16px}.brand-link .sidebar-company-logo{width:64px;height:64px;flex:0 0 64px;clip-path:inset(8% round 4px);border:0;box-shadow:none}.brand-link:has(.sidebar-company-logo) .brand{font-size:32px;line-height:1;letter-spacing:1px}
