@font-face { font-family: system; src: local("Tahoma"); }
* { box-sizing: border-box; } body { margin:0; background:#edf3f8; color:#182230; font-family:Tahoma,system-ui,sans-serif; }
.page { max-width:1180px; margin:auto; padding:24px 20px 52px; }
.app-header { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-bottom:24px; padding:18px 22px; border-radius:18px; background:linear-gradient(110deg,#075985,#0f766e); color:#fff; box-shadow:0 12px 28px #0759852b; }
.app-brand { display:flex; align-items:center; gap:14px; }.brand-chip { display:grid; place-items:center; width:58px; height:58px; border:1px solid #ffffff70; border-radius:15px; background:#ffffff20; font-size:19px; font-weight:bold; }.app-header h1 { margin:0; font-size:27px; }.app-header p { color:#e0f2fe; margin:8px 0 0; }.day-selector label { color:#e0f2fe; }.day-selector select { border-color:#ffffff80; background:#fff; }
.header-actions{display:flex;align-items:end;gap:14px}.signed-in{font-size:13px;color:#e0f2fe;display:flex;align-items:center;gap:8px}.signed-in form{margin:0}.logout{padding:7px 10px;background:#ffffff20;border:1px solid #ffffff55}.account-section{margin-top:18px}.account-section>h2{margin:0 0 6px}.account-section>p{margin:0 0 12px;color:#64748b}.account-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.account-grid form{background:#fff;padding:18px;border-radius:16px;box-shadow:0 5px 18px #1e293b12;display:grid;gap:10px;border-top:4px solid #075985}.account-grid h3{margin:0;color:#0f3d66}.account-grid span{color:#64748b;font-size:12px}.account-grid button{background:#075985}.login-body{min-height:100vh;display:grid;place-items:center;padding:20px;background:linear-gradient(135deg,#075985,#0f766e)}.login-card{width:min(440px,100%);background:#fff;padding:30px;border-radius:20px;box-shadow:0 20px 50px #0003;display:grid;gap:14px}.login-card .brand-chip{background:#075985;color:#fff;border:0}.login-card h1{font-size:24px}.login-card h2{font-size:18px;margin:4px 0}.login-card p{color:#64748b;margin:0}.login-card form{display:grid;gap:12px}.login-card button{background:#075985}@media(max-width:800px){.header-actions{width:100%;align-items:stretch;flex-direction:column}.signed-in{justify-content:space-between}.account-grid{grid-template-columns:1fr}}
.password-change-card{border-top:6px solid #f59e0b}.password-change-card form+form{margin-top:-4px}.password-change-card button.secondary{background:#64748b}
h1 { margin:0; font-size:27px; } label { display:grid; gap:7px; color:#475569; font-size:14px; } select,input { border:1px solid #cbd5e1; border-radius:8px; padding:10px; min-width:185px; font-family:inherit; }
.status-card,.card,.actions,.events { background:white; border-radius:16px; box-shadow:0 5px 18px #1e293b12; } .status-card { padding:22px; display:flex; align-items:center; gap:18px; border-right:6px solid #22c55e; margin-bottom:18px; }.status-card.approved{border-color:#eab308}.status-card.closed{border-color:#64748b}.status-card h2{margin:0 0 7px}.status-card p{margin:7px 0 0;color:#64748b}.lock{font-size:42px}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.card{padding:20px}.card h3{margin:0 0 18px;color:#0f3d66}.card dl{margin:0}.card dl div{display:flex;justify-content:space-between;gap:8px;border-bottom:1px solid #eef2f7;padding:10px 0}.card dt{color:#64748b}.card dd{margin:0;font-weight:bold;white-space:nowrap}.difference dd{color:#a16207}.hint{font-size:12px;color:#64748b;margin:14px 0 0}
.dossier-link{display:inline-flex;margin-top:12px;padding:9px 13px;border-radius:9px;background:#075985;color:#fff;text-decoration:none;font-size:13px;font-weight:bold}
.actions,.events{margin-top:18px;padding:20px}.actions h2,.events h3{margin:0 0 16px}.actions form{display:flex;flex-wrap:wrap;align-items:end;gap:12px}button{border:0;border-radius:9px;padding:12px 17px;color:white;font-family:inherit;font-size:15px;cursor:pointer}.approve{background:#15803d}.close{background:#334155}.alert{padding:13px 16px;border-radius:10px;margin-bottom:16px}.alert.success{background:#dcfce7;color:#166534}.alert.error{background:#fee2e2;color:#991b1b}.events p{border-bottom:1px solid #eef2f7;padding:10px 0;margin:0}.events span{color:#64748b;font-size:13px}@media(max-width:800px){header{align-items:start;flex-direction:column}.grid{grid-template-columns:1fr}.actions form{align-items:stretch}.actions label{width:100%}input{width:100%}}
.entry-forms{margin-top:18px}.entry-forms>h2{margin:0 0 12px}.form-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.form-grid form{background:#fff;border-radius:16px;padding:20px;box-shadow:0 5px 18px #1e293b12;display:grid;gap:10px}.form-grid h3{margin:0 0 6px;color:#0f3d66}.form-grid input,.form-grid select{width:100%;min-width:0}.form-grid button{background:#0f766e;margin-top:7px}@media(max-width:900px){.form-grid{grid-template-columns:1fr}}
.form-grid .delivery-form{grid-column:span 3;display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.delivery-form h3,.delivery-form>button{grid-column:1/-1}.delivery-form fieldset{border:1px solid #bfdbfe;border-radius:10px;background:#f8fbff;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px}.delivery-form legend{color:#1d4ed8;padding:0 6px;font-weight:bold}.delivery-form fieldset label{min-width:0}@media(max-width:900px){.form-grid .delivery-form{grid-column:span 1;grid-template-columns:1fr}.delivery-form fieldset{grid-template-columns:1fr}}
.balance-entry{margin-top:18px}.balance-entry>h2{margin:0 0 6px}.balance-entry>p{margin:0 0 12px;color:#64748b}.balance-entry .form-grid{grid-template-columns:repeat(2,1fr)}.balance-entry .form-grid button{background:#1d4ed8}@media(max-width:900px){.balance-entry .form-grid{grid-template-columns:1fr}}
.expense-section{margin-top:18px}.expense-section>h2{margin:0 0 6px}.expense-section>p{margin:0 0 12px;color:#64748b}.expense-layout{display:grid;grid-template-columns:360px 1fr;gap:18px}.expense-layout>form,.expense-list{background:#fff;border-radius:16px;padding:20px;box-shadow:0 5px 18px #1e293b12}.expense-layout form{display:grid;gap:10px}.expense-layout h3{margin:0 0 12px;color:#0f3d66}.expense-layout input,.expense-layout select{width:100%;min-width:0}.expense-layout button{background:#7c3aed}.expense-list{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:13px}th,td{border-bottom:1px solid #e2e8f0;padding:10px;text-align:right;white-space:nowrap}.badge{padding:4px 8px;border-radius:99px;font-size:12px}.badge.pending{background:#fef3c7;color:#92400e}.badge.approved{background:#dcfce7;color:#166534}.badge.rejected{background:#fee2e2;color:#991b1b}.expense-list form{display:flex;gap:5px}.expense-list form input{width:110px;padding:6px}.expense-list .small{padding:7px 10px;font-size:12px}@media(max-width:900px){.expense-layout{grid-template-columns:1fr}}
.expense-totals{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:12px}.expense-totals span{background:#eef6ff;padding:10px 12px;border-radius:9px;color:#334155}.expense-totals b{color:#0f3d66}
.expense-list .reject{background:#b91c1c}
.monthly-expenses{margin-top:18px}.monthly-expenses>h2{margin:0 0 12px}.monthly-expenses>form{display:flex;flex-wrap:wrap;align-items:end;gap:12px;background:#fff;padding:16px;border-radius:16px;box-shadow:0 5px 18px #1e293b12}.monthly-expenses button{background:#0369a1}.monthly-expenses .expense-list{margin-top:12px}
.rate-section{margin-top:18px}.rate-section>h2{margin:0 0 6px}.rate-section>p{margin:0 0 12px;color:#64748b}.rate-layout{display:grid;grid-template-columns:360px 1fr;gap:18px}.rate-layout>form{background:#fff;border-radius:16px;padding:20px;box-shadow:0 5px 18px #1e293b12;display:grid;gap:10px}.rate-layout h3{margin:0 0 12px;color:#0f3d66}.rate-layout input,.rate-layout select{width:100%;min-width:0}.rate-layout button{background:#b45309}.rate-layout .close-rate{background:#64748b}@media(max-width:900px){.rate-layout{grid-template-columns:1fr}}
.delegation-section{margin-top:18px;background:#fff;border-radius:16px;padding:20px;box-shadow:0 5px 18px #1e293b12;border-top:4px solid #7c3aed}.delegation-section h2{margin:0 0 6px}.delegation-section p{margin:0 0 12px;color:#64748b}.delegation-section form{display:flex;flex-wrap:wrap;gap:12px;align-items:end}.delegation-section button{background:#7c3aed}.delegation-note{margin-top:16px;padding:12px;border-radius:10px;background:#f5f3ff;color:#4c1d95;display:grid;gap:6px;font-size:13px}

/* زبان بصری الهام‌گرفته از داشبورد GTS: نوار بالایی پررنگ، پنل‌های شفاف و جدول‌های خوانا. */
.form-grid form{border-top:4px solid #0f766e}.rate-layout>form{border-top:4px solid #b45309}.expense-layout>form{border-top:4px solid #7c3aed}.expense-list th{background:#e6f4f5;color:#0f3d66;font-weight:bold}.monthly-expenses>form{border-top:4px solid #0369a1}.actions{border-top:4px solid #075985}.status-card{background:linear-gradient(90deg,#fff,#f0fdfa)}
@media(max-width:800px){.app-header{align-items:flex-start;flex-direction:column}.day-selector{width:100%}.day-selector select{width:100%}}
.product-control{margin-top:18px}.product-control>h2{margin:0 0 6px}.product-control>p{margin:0 0 12px;color:#64748b}.product-form-grid,.control-tables{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.product-form-grid form{background:#fff;border-radius:16px;padding:20px;box-shadow:0 5px 18px #1e293b12;display:grid;gap:10px;border-top:4px solid #0f766e}.product-form-grid h3{margin:0;color:#0f3d66}.product-form-grid input,.product-form-grid select{width:100%;min-width:0}.product-form-grid button{background:#0f766e}.control-tables{margin-top:18px}.receipt-checks{margin-top:18px}.badge.auto_matched{background:#dcfce7;color:#166534}.badge.mismatch,.badge.unmatched{background:#fee2e2;color:#991b1b}.badge.confirmed{background:#dbeafe;color:#1d4ed8}@media(max-width:900px){.product-form-grid,.control-tables{grid-template-columns:1fr}}

/* کنترل‌های مستقل مالی روز: بانک، اسکناس فرسوده و تراکنش غیرسوختی پوز. */
.daily-controls{margin-top:18px;padding:20px;border-radius:18px;background:#f8fafc;border:1px solid #dbe6ef;box-shadow:0 5px 18px #1e293b10}.daily-controls-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.daily-controls-head h2{margin:0 0 6px;color:#153f58}.daily-controls-head p{margin:0;color:#64748b}.readiness,.status-chip{display:inline-flex;align-items:center;border-radius:99px;padding:6px 10px;font-size:12px;font-weight:bold;white-space:nowrap}.readiness.ready,.status-chip.final_approved,.status-chip.approved,.status-chip.matched{background:#dcfce7;color:#166534}.readiness.blocked,.status-chip.pending,.status-chip.awaiting_declaration,.status-chip.awaiting_bank,.status-chip.awaiting_pos_review,.status-chip.draft{background:#fef3c7;color:#92400e}.status-chip.discrepancy,.status-chip.rejected{background:#fee2e2;color:#991b1b}.status-chip.explained{background:#dbeafe;color:#1d4ed8}.control-blockers{margin-top:14px;padding:12px 14px;border-radius:11px;background:#fff7ed;color:#9a3412}.control-blockers ul{margin:7px 0 0;padding-right:20px}.control-blockers li{margin:4px 0}.daily-control-grid{display:grid;grid-template-columns:1.35fr 1fr;gap:16px;margin-top:16px}.daily-control-card{background:#fff;border-radius:16px;padding:18px;box-shadow:0 4px 14px #1e293b0d;border-top:4px solid #0284c7}.worn-control{border-top-color:#64748b}.nonfuel-control{border-top-color:#7c3aed;margin-top:16px}.control-title{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.control-title>div{display:flex;align-items:center;gap:9px}.control-title h3{margin:0;color:#163f58;font-size:17px}.control-number{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:#e0f2fe;color:#0369a1;font-weight:bold}.control-summary{margin:14px 0 0}.control-summary>div{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-top:1px solid #edf2f7}.control-summary dt{color:#64748b;font-size:13px}.control-summary dd{margin:0;font-weight:bold;color:#183b53;text-align:left}.formula{margin:12px 0 0;padding:9px 11px;border-radius:9px;background:#eff6ff;color:#1e40af;font-size:12px}.control-forms{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}.compact-form{display:grid;gap:9px;padding:12px;border-radius:11px;background:#f8fafc;border:1px solid #e2e8f0}.compact-form h4{margin:0;color:#334155}.compact-form input{width:100%;min-width:0}.compact-form button,.single-action button,.transaction-review button,.transaction-settlement button{background:#0f766e}.reviewer-form{border-color:#bae6fd}.final-form{grid-column:1/-1;border-color:#bbf7d0}.worn-form{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:14px}.worn-form button{grid-column:1/-1}.single-action{margin-top:10px}.single-action button{width:100%}.warning-note{padding:10px 12px;border-radius:10px;background:#f5f3ff;color:#5b21b6;font-size:13px}.nonfuel-entry{grid-template-columns:repeat(4,minmax(0,1fr));margin:13px 0}.nonfuel-entry button{grid-column:1/-1}.nonfuel-list{display:grid;gap:10px}.nonfuel-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:13px;border:1px solid #e2e8f0;border-radius:12px}.nonfuel-main{display:grid;gap:5px}.nonfuel-main span{font-size:12px;color:#64748b}.nonfuel-state{display:grid;justify-items:end;gap:6px}.nonfuel-state small{color:#7c2d12}.transaction-review,.transaction-settlement{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:7px}.transaction-review input,.transaction-settlement input{min-width:130px;flex:1}.transaction-review .reject{background:#b91c1c}.outstanding-total{margin:12px 0 0;text-align:left;color:#7c2d12}.actions button:disabled{cursor:not-allowed;opacity:.45;background:#64748b}.actions button:disabled:hover{transform:none}@media(max-width:950px){.daily-control-grid{grid-template-columns:1fr}.nonfuel-entry{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.daily-controls-head,.control-title{flex-direction:column}.control-forms,.worn-form,.nonfuel-entry{grid-template-columns:1fr}.final-form,.worn-form button,.nonfuel-entry button{grid-column:auto}.nonfuel-item{grid-template-columns:1fr}.nonfuel-state{justify-items:start}}

/* دفتر فیش بانکی: یک فیش برای هر تعداد روز و چند فیش برای یک روز. */
.cash-deposit-section{margin-top:18px;padding:20px;border-radius:18px;background:#f8fafc;border:1px solid #cfe2e8;box-shadow:0 5px 18px #1e293b10}.cash-heading{margin:0 0 12px}.cash-heading p{margin:7px 0 0;color:#64748b}.cash-total{padding:11px 14px;border-radius:12px;background:#fff7ed;color:#9a3412;text-align:center;white-space:nowrap}.cash-total b{display:inline-block;margin-top:5px;font-size:18px}.cash-rule{margin:0 0 15px;padding:11px 13px;border-radius:11px;background:#e0f2fe;color:#075985}.cash-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.cash-summary-grid article{display:grid;gap:8px;padding:14px;border-radius:13px;background:#fff;border-top:4px solid #0284c7;box-shadow:0 3px 12px #1e293b0c}.cash-summary-grid span{font-size:12px;color:#64748b}.cash-summary-grid b{color:#183b53}.cash-summary-grid .cash-due{border-top-color:#d97706}.cash-create,.cash-days,.cash-slip-list{margin-top:16px;padding:17px;border-radius:15px;background:#fff;box-shadow:0 4px 14px #1e293b0d}.cash-create{border-top:4px solid #0f766e}.cash-create h3,.cash-days h3,.cash-slip-list>h3{margin:0 0 13px;color:#163f58}.cash-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.cash-form-grid input{width:100%;min-width:0}.cash-form-grid .wide{grid-column:span 3}.cash-create>button{margin-top:12px;background:#0f766e}.table-scroll{overflow-x:auto}.cash-slip-list{display:grid;gap:12px}.cash-slip-list>h3{margin-bottom:0}.cash-slip{padding:15px;border:1px solid #dbe6ef;border-radius:13px;background:#fbfdff}.cash-slip-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.cash-slip-head>div{display:grid;gap:5px}.cash-slip-head span{font-size:12px;color:#64748b}.status-badge{display:inline-flex;padding:4px 8px;border-radius:99px;font-size:11px;font-weight:bold;white-space:nowrap}.status-badge.draft{background:#fef3c7;color:#92400e}.status-badge.approved{background:#dcfce7;color:#166534}.status-badge.closed{background:#e2e8f0;color:#334155}.slip-numbers,.allocation-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:11px}.slip-numbers span,.allocation-list span{padding:7px 9px;border-radius:8px;background:#eef6ff;color:#334155;font-size:12px}.allocation-list span{background:#f1f5f9}.allocation-form{display:grid;grid-template-columns:1.3fr 1fr 1.2fr auto;gap:9px;align-items:end;margin-top:12px;padding-top:12px;border-top:1px solid #e2e8f0}.allocation-form select,.allocation-form input{width:100%;min-width:0}.allocation-form button{background:#0369a1}.slip-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:11px}.slip-actions form{display:flex;gap:8px;align-items:end}.slip-actions .danger{background:#b91c1c}.slip-actions button:disabled{cursor:not-allowed;opacity:.45;background:#64748b}@media(max-width:900px){.cash-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cash-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cash-form-grid .wide{grid-column:span 2}.allocation-form{grid-template-columns:1fr 1fr}.allocation-form button{width:100%}}@media(max-width:620px){.cash-summary-grid,.cash-form-grid,.allocation-form{grid-template-columns:1fr}.cash-form-grid .wide{grid-column:auto}.cash-slip-head{flex-direction:column}.slip-actions,.slip-actions form{display:grid;width:100%}.slip-actions input,.slip-actions button{width:100%}}

/* صفحهٔ اصلی عملیاتی با الهام از چیدمان GTS، اما با اطلاعات داخلی جایگاه. */
.home-body{min-height:100vh;background-image:linear-gradient(180deg,#eaf3f6e8 0%,#f8fafce8 42%,#e9eff4ed 100%),url("station-hero-v1.png");background-size:cover;background-position:center bottom;background-attachment:fixed}.home-page{max-width:1300px;margin:auto;padding:26px 22px 56px}.home-header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 24px;border-radius:22px;background:linear-gradient(115deg,#0a2f45,#075985 45%,#0f766e);color:#fff;box-shadow:0 18px 38px #0f3d6633}.home-brand{display:flex;align-items:center;gap:15px}.fuel-mark{display:grid;place-items:center;width:62px;height:62px;border-radius:18px;border:1px solid #ffffff55;background:#ffffff1a;font-size:19px;font-weight:bold}.home-brand h1{margin:0;font-size:27px}.home-brand p{margin:7px 0 0;color:#dbeafe}.home-user{display:flex;align-items:center;gap:10px;background:#ffffff14;border:1px solid #ffffff33;border-radius:14px;padding:10px 12px;font-size:13px}.home-user span{color:#dbeafe}.home-user form{margin:0}.station-overview{margin-top:20px;padding:28px 30px;border-radius:22px;background:radial-gradient(circle at 82% 12%,#37c5bc55,transparent 24%),linear-gradient(125deg,#173b4c,#0d5664);color:#fff;display:flex;justify-content:space-between;align-items:center;gap:20px;box-shadow:0 12px 28px #0f3d6626}.eyebrow{font-size:12px;font-weight:bold;letter-spacing:.2px;color:#0f766e}.station-overview .eyebrow{color:#9df4d9}.station-copy h2{margin:7px 0;font-size:25px}.station-copy p{margin:0;color:#d9f5f1}.station-pulse{display:flex;align-items:center;gap:8px;white-space:nowrap;color:#c9ffed}.pulse-dot{width:10px;height:10px;border-radius:50%;background:#4ade80;box-shadow:0 0 0 7px #4ade8026}.backup-status-card{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:18px;margin-top:16px;padding:17px 20px;border-radius:18px;border:1px solid #86efac;background:#f0fdf4eF;box-shadow:0 7px 18px #1e293b10}.backup-status-card.warning{border-color:#fbbf24;background:#fffbebef}.backup-status-card.danger{border-color:#f87171;background:#fef2f2ef}.backup-status-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:#dcfce7;color:#15803d;font-size:24px;font-weight:bold}.backup-status-card.warning .backup-status-icon{background:#fef3c7;color:#b45309}.backup-status-card.danger .backup-status-icon{background:#fee2e2;color:#b91c1c}.backup-status-copy h2{margin:4px 0;color:#163f58;font-size:17px}.backup-status-copy p{margin:0;color:#526979;font-size:13px}.backup-status-card dl{margin:0;min-width:245px}.backup-status-card dl div{display:flex;justify-content:space-between;gap:14px;padding:4px 0}.backup-status-card dt{color:#64748b;font-size:12px}.backup-status-card dd{margin:0;color:#183b53;font-size:12px;font-weight:bold}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:16px;margin:28px 0 13px}.section-heading h2{margin:5px 0 0;color:#163f58;font-size:22px}.section-heading a{color:#075985;text-decoration:none;font-weight:bold}.role-note{font-size:12px;color:#587080;background:#e4eef5;padding:8px 11px;border-radius:9px}.tank-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.tank-card{background:#fffffff5;backdrop-filter:blur(3px);border-radius:20px;padding:20px;box-shadow:0 8px 24px #1e293b12;border-top:5px solid #0f766e}.tank-card.diesel{border-top-color:#476a86}.tank-top{display:flex;justify-content:space-between;align-items:center}.tank-top h3{margin:0;color:#163f58;font-size:18px}.tank-top span{font-size:12px;padding:5px 9px;border-radius:20px;color:#166534;background:#dcfce7}.tank-illustration{height:108px;width:126px;margin:15px auto;border:7px solid #7b99ad;border-bottom:0;border-radius:70px 70px 12px 12px;position:relative;overflow:hidden;background:#e6eef3}.fuel-level{position:absolute;inset:42% 0 0;background:linear-gradient(180deg,#52c0b8,#0f766e);opacity:.86}.diesel .fuel-level{background:linear-gradient(180deg,#7597b0,#36536e)}.tank-card dl{margin:0}.tank-card dl div{display:flex;justify-content:space-between;gap:8px;padding:9px 0;border-top:1px solid #edf2f7}.tank-card dt{font-size:13px;color:#64748b}.tank-card dd{margin:0;font-weight:bold;color:#183b53}.empty-tanks{grid-column:1/-1;border:1px dashed #94a3b8;border-radius:16px;padding:24px;text-align:center;color:#64748b;background:#fffffff0}.module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.module-card{display:flex;gap:15px;align-items:flex-start;text-decoration:none;color:#182230;background:#fffffff5;backdrop-filter:blur(3px);padding:19px;border-radius:18px;box-shadow:0 7px 18px #1e293b12;border-right:5px solid #0284c7;transition:transform .18s,box-shadow .18s}.module-card:hover{transform:translateY(-3px);box-shadow:0 14px 28px #1e293b20}.module-card.green{border-color:#0f766e}.module-card.purple{border-color:#7c3aed}.module-card.amber,.module-card.orange{border-color:#d97706}.module-card.slate{border-color:#475569}.module-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#e0f2fe;color:#0369a1;font-size:23px;font-weight:bold;flex:0 0 auto}.module-card.green .module-icon{background:#d1fae5;color:#047857}.module-card.purple .module-icon{background:#ede9fe;color:#6d28d9}.module-card.amber .module-icon,.module-card.orange .module-icon{background:#fef3c7;color:#b45309}.module-card.slate .module-icon{background:#e2e8f0;color:#334155}.module-card h3{margin:1px 0 6px;color:#163f58;font-size:17px}.module-card p{margin:0;color:#64748b;font-size:13px;line-height:1.8;min-height:46px}.module-card b{display:block;margin-top:12px;color:#075985;font-size:13px}@media(max-width:850px){.home-body{background-attachment:scroll}.home-header,.station-overview,.backup-status-card{align-items:flex-start;grid-template-columns:1fr;flex-direction:column}.home-user{width:100%;justify-content:space-between}.backup-status-card dl{width:100%;min-width:0}.tank-grid,.module-grid{grid-template-columns:1fr}.section-heading{align-items:flex-start;flex-direction:column}.station-pulse{white-space:normal}} 
.security-status-card{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:18px;margin-top:16px;padding:17px 20px;border-radius:18px;border:1px solid #86efac;background:#f0fdf4ef;box-shadow:0 7px 18px #1e293b10}.security-status-card.warning{border-color:#fbbf24;background:#fffbebef}.security-status-card.danger{border-color:#f87171;background:#fef2f2ef}.security-status-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:#dcfce7;color:#15803d;font-size:24px;font-weight:bold}.security-status-card.warning .security-status-icon{background:#fef3c7;color:#b45309}.security-status-card.danger .security-status-icon{background:#fee2e2;color:#b91c1c}.security-status-copy h2{margin:4px 0;color:#163f58;font-size:17px}.security-status-copy p{margin:0;color:#526979;font-size:13px}.security-status-copy details{margin-top:9px;color:#7c2d12;font-size:12px}.security-status-copy summary{cursor:pointer}.security-status-copy ul{margin:7px 0 0;padding-right:20px}.security-status-card dl{margin:0;min-width:245px}.security-status-card dl div{display:flex;justify-content:space-between;gap:14px;padding:4px 0}.security-status-card dt{color:#64748b;font-size:12px}.security-status-card dd{margin:0;color:#183b53;font-size:12px;font-weight:bold}@media(max-width:850px){.security-status-card{align-items:flex-start;grid-template-columns:1fr}.security-status-card dl{width:100%;min-width:0}}
.readiness-card{margin:22px 0;padding:24px;border-radius:24px;background:#fff;box-shadow:0 14px 34px rgba(15,44,66,.1);border:2px solid #d7e3eb}.readiness-card.ready{border-color:#7ed8b0}.readiness-card.blocked{border-color:#f0b6b6}.readiness-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}.readiness-heading h2{margin:0 0 6px}.readiness-heading p{margin:0;color:#63768a}.readiness-heading>strong{padding:10px 16px;border-radius:999px;background:#e9f8f1;color:#087a50;white-space:nowrap}.readiness-card.blocked .readiness-heading>strong{background:#fff0f0;color:#a62929}.readiness-checks{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:10px}.readiness-check{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;border-radius:14px;background:#f5f8fa}.readiness-check>span{display:grid;place-items:center;width:24px;height:24px;flex:0 0 24px;border-radius:50%;font-weight:900}.readiness-check.passed>span{background:#d8f6e7;color:#087a50}.readiness-check.failed>span{background:#ffe0e0;color:#a62929}.readiness-check.warning>span{background:#fff0c7;color:#8a6300}.readiness-check small{display:block;margin-top:4px;color:#63768a;line-height:1.6}.actions button:disabled{opacity:.5;cursor:not-allowed;filter:grayscale(.35)}@media(max-width:700px){.readiness-heading{align-items:flex-start;flex-direction:column}.readiness-checks{grid-template-columns:1fr}}

/* پیش‌نمایش تطبیق بانک؛ فقط در مرورگر محاسبه می‌شود و چیزی را ذخیره نمی‌کند. */
.electronic-preview{grid-column:1/-1;margin-top:12px;padding:14px;border:1px dashed #7dd3fc;border-radius:12px;background:#f0f9ff}.electronic-preview>div:first-child{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.electronic-preview h4{margin:0;color:#0c4a6e}.electronic-preview p{margin:6px 0 0;color:#526d82;font-size:12px;line-height:1.8}.electronic-preview>button{width:100%;margin-top:10px;background:#0369a1}.preview-result{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0 0}.preview-result>div{display:flex;justify-content:space-between;gap:10px;padding:9px 10px;border-radius:9px;background:#fff}.preview-result dt{color:#64748b;font-size:12px}.preview-result dd{margin:0;font-weight:bold;color:#183b53}.preview-checklist{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}.preview-checklist>div{display:flex;align-items:flex-start;gap:9px;padding:10px;border:1px solid #dbe6ed;border-radius:10px;background:#fff}.preview-checklist>div>span{display:grid;place-items:center;width:23px;height:23px;flex:0 0 23px;border-radius:50%;background:#e2e8f0;color:#475569;font-weight:bold}.preview-checklist b{display:block;color:#183b53;font-size:12px}.preview-checklist small{display:block;margin-top:3px;color:#64748b;line-height:1.5}.preview-checklist .passed{border-color:#86efac}.preview-checklist .passed>span{background:#dcfce7;color:#166534}.preview-checklist .failed{border-color:#fca5a5}.preview-checklist .failed>span{background:#fee2e2;color:#991b1b}.preview-checklist .not-needed>span{background:#e0f2fe;color:#075985}.preview-message{padding:9px 11px;border-radius:9px;background:#e0f2fe!important;color:#075985!important}.electronic-preview.balanced{border-color:#4ade80;background:#f0fdf4}.electronic-preview.balanced .preview-message{background:#dcfce7!important;color:#166534!important}.electronic-preview.discrepancy{border-color:#f87171;background:#fff7f7}.electronic-preview.discrepancy .preview-message{background:#fee2e2!important;color:#991b1b!important}.electronic-preview.incomplete .preview-message{background:#fef3c7!important;color:#92400e!important}@media(max-width:650px){.preview-result,.preview-checklist{grid-template-columns:1fr}}

/* سوخت اعتباری: نمای مستقل، بدون افزودن دوباره به جمع دریافتی‌ها. */
.credit-row{background:#f0fdfa}.credit-row dt,.credit-row dd{color:#0f766e!important}.credit-fuel-section{margin:22px 0;padding:22px;border-radius:20px;background:#f7fffc;border:1px solid #99e7ce;box-shadow:0 8px 24px #0f766e12}.credit-fuel-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.credit-fuel-heading h2{margin:5px 0 0;color:#134e4a}.credit-fuel-heading strong{padding:10px 15px;border-radius:99px;background:#d1fae5;color:#047857;white-space:nowrap}.credit-fuel-note{margin:12px 0;color:#526d68;font-size:13px}.credit-fuel-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.credit-fuel-summary article{display:grid;gap:7px;padding:15px;border-radius:13px;background:#fff;border-top:4px solid #0f766e;box-shadow:0 3px 12px #1e293b0c}.credit-fuel-summary span{font-size:12px;color:#64748b}.credit-fuel-summary b{color:#134e4a}.credit-fuel-table{margin-top:14px}.credit-fuel-form{border-top:5px solid #0f766e!important;background:linear-gradient(180deg,#f0fdfa,#fff)!important}.credit-fuel-form p{margin:-4px 0 7px;color:#526d68;font-size:12px}.credit-fuel-form button{background:#0f766e}@media(max-width:700px){.credit-fuel-heading{align-items:flex-start;flex-direction:column}.credit-fuel-summary{grid-template-columns:1fr}}

/* تطبیق ماهانه سوخت اعتباری بر اساس هر دو معیار لیتر و مبلغ ریالی. */
.monthly-credit-fuel-section{margin:22px 0;padding:22px;border-radius:20px;background:#f4fbf8;border:1px solid #86d9ae;box-shadow:0 8px 24px #0f766e12}.monthly-credit-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.monthly-credit-heading h2{margin:5px 0 6px;color:#134e4a}.monthly-credit-heading p{margin:0;color:#526d68}.monthly-credit-status{padding:8px 12px;border-radius:99px;background:#fef3c7;color:#92400e;font-size:12px;font-weight:bold;white-space:nowrap}.monthly-credit-status.approved{background:#dcfce7;color:#166534}.month-selector{display:flex;gap:9px;align-items:end;margin-top:14px;padding:12px;border-radius:12px;background:#fff}.month-selector input{min-width:170px}.month-selector button{background:#0f766e}.monthly-credit-comparison{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px}.monthly-credit-comparison article{display:grid;gap:7px;padding:15px;border-radius:13px;background:#fff;border-top:4px solid #0f766e}.monthly-credit-comparison article.matched{border-color:#16a34a;background:#f0fdf4}.monthly-credit-comparison article.mismatch{border-color:#dc2626;background:#fff7f7}.monthly-credit-comparison span,.monthly-credit-organizations span{font-size:12px;color:#64748b}.monthly-credit-comparison b,.monthly-credit-comparison strong{color:#134e4a}.monthly-credit-comparison .mismatch b,.monthly-credit-comparison .mismatch strong{color:#991b1b}.monthly-credit-organizations{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:11px}.monthly-credit-organizations article{display:grid;gap:5px;padding:12px;border-radius:11px;background:#e9f8f1}.monthly-credit-organizations b,.monthly-credit-organizations strong{color:#166534}.monthly-credit-missing,.monthly-credit-blockers{margin:13px 0 0;padding:11px 13px;border-radius:10px;background:#fff7ed;color:#9a3412;line-height:1.8}.monthly-credit-blockers ul{margin:7px 0 0;padding-right:20px}.monthly-system-report{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px;padding:15px;border-radius:14px;background:#fff;border-top:4px solid #0f766e}.monthly-system-report h3,.monthly-system-report button{grid-column:1/-1}.monthly-system-report h3{margin:0;color:#134e4a}.monthly-system-report input{width:100%;min-width:0}.monthly-system-report .wide{grid-column:1/-1}.monthly-system-report button,.monthly-credit-approve button{background:#0f766e}.monthly-credit-approve{margin-top:12px}.monthly-credit-approve button{width:100%}.monthly-credit-approved{display:flex;flex-wrap:wrap;gap:10px;margin-top:13px;padding:12px;border-radius:11px;background:#dcfce7;color:#166534}.monthly-credit-reopen{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;align-items:end;margin-top:11px}.monthly-credit-reopen input{width:100%}.monthly-credit-reopen button{background:#b45309}.monthly-credit-days{margin-top:14px;padding:12px;border-radius:12px;background:#fff}.monthly-credit-days summary{cursor:pointer;color:#0f766e;font-weight:bold}.monthly-credit-days .table-scroll{margin-top:11px}
@media(max-width:760px){.monthly-credit-heading{flex-direction:column}.monthly-credit-comparison,.monthly-credit-organizations,.monthly-system-report{grid-template-columns:1fr}.monthly-system-report h3,.monthly-system-report button,.monthly-system-report .wide{grid-column:auto}.month-selector,.monthly-credit-reopen{display:grid;grid-template-columns:1fr}.month-selector input{width:100%}}

/* دفتر گردش واقعی سه بانک؛ مستقل از فروش و فیش‌های نقدی. */
.bank-operations-section{margin-top:18px;padding:20px;border-radius:18px;background:#f7fbff;border:1px solid #bfd9e8;box-shadow:0 5px 18px #1e293b10}.bank-operations-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.bank-operations-heading h2{margin:5px 0 6px;color:#153f58}.bank-operations-heading p{margin:0;color:#64748b}.bank-draft-count{padding:7px 11px;border-radius:99px;background:#e2e8f0;color:#475569;font-size:12px;font-weight:bold;white-space:nowrap}.bank-draft-count.has-draft{background:#fef3c7;color:#92400e}.bank-operation-rule{margin-top:14px;padding:12px 14px;border-radius:11px;background:#e0f2fe;color:#075985;line-height:1.8}.bank-operation-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin-top:14px}.bank-operation-summary article{display:grid;gap:7px;padding:14px;border-radius:13px;background:#fff;border-top:4px solid #0284c7;box-shadow:0 3px 12px #1e293b0c}.bank-operation-summary article.incoming{border-top-color:#16a34a}.bank-operation-summary article.outgoing{border-top-color:#dc2626}.bank-operation-summary span{font-size:12px;color:#64748b}.bank-operation-summary b{color:#183b53}.bank-account-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px}.bank-account-card{padding:15px;border-radius:14px;background:#fff;box-shadow:0 4px 14px #1e293b0d;border-top:4px solid #0f766e}.bank-account-title{display:flex;justify-content:space-between;gap:10px;align-items:center}.bank-account-title h3{margin:0;color:#163f58}.bank-account-title span{font-size:11px;color:#64748b}.bank-account-card dl{margin:12px 0}.bank-account-card dl div{display:flex;justify-content:space-between;gap:9px;padding:7px 0;border-top:1px solid #edf2f7}.bank-account-card dt{font-size:12px;color:#64748b}.bank-account-card dd{margin:0;font-weight:bold;color:#183b53;text-align:left}.bank-account-card dd.positive{color:#15803d}.bank-account-card dd.negative{color:#b91c1c}.bank-balance-form{display:grid;gap:8px;padding-top:11px;border-top:1px solid #dbe6ef}.bank-balance-form input{width:100%;min-width:0}.bank-balance-form button{background:#0f766e}.bank-operation-entry,.bank-operation-list{margin-top:15px;padding:17px;border-radius:15px;background:#fff;box-shadow:0 4px 14px #1e293b0d}.bank-operation-entry{border-top:4px solid #0369a1}.bank-operation-entry h3,.bank-operation-list h3{margin:0 0 13px;color:#163f58}.bank-operation-entry form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.bank-operation-entry input,.bank-operation-entry select{width:100%;min-width:0}.bank-operation-entry .wide{grid-column:span 3}.bank-operation-help{grid-column:1/-1;margin:0;padding:9px 11px;border-radius:9px;background:#f0f9ff;color:#075985;font-size:12px}.bank-operation-entry button{grid-column:1/-1;background:#0369a1}.bank-operation-list table small{display:block;margin-top:4px;color:#64748b}.bank-operation-actions{display:grid;gap:6px;min-width:165px}.bank-operation-actions form{display:flex;gap:6px}.bank-operation-actions input{min-width:90px;width:100%}.bank-operation-actions button{background:#0f766e}.bank-operation-actions .danger{background:#b91c1c}.status-badge.cancelled{background:#e2e8f0;color:#475569}.cancelled-row{opacity:.65}.bank-readonly-note{margin:14px 0 0;padding:11px;border-radius:10px;background:#f1f5f9;color:#475569}.bank-receivable-high{background:#fee2e2!important;border-color:#ef4444!important;color:#991b1b!important}.bank-receivable-high dt,.bank-receivable-high dd{color:#991b1b!important}.bank-receivable-warning{padding:11px 13px;border:1px solid #f87171;border-radius:10px;background:#fee2e2;color:#991b1b;line-height:1.8}.electronic-preview .preview-difference.bank-receivable-high{box-shadow:0 0 0 1px #ef4444}.electronic-preview:has(.preview-difference.bank-receivable-high) .preview-message{background:#fee2e2!important;color:#991b1b!important}
.bank-review-chips{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.bank-final-review{display:grid;gap:11px;margin-top:14px;padding:15px;border-radius:14px;border:1px solid #f1d58b;background:#fffbeb}.bank-final-review.approved{border-color:#86d9ae;background:#f0fdf4}.bank-final-review h3{margin:0 0 5px;color:#163f58}.bank-final-review p{margin:0;color:#64748b}.bank-review-blockers{padding:10px 12px;border-radius:10px;background:#fff7ed;color:#9a3412}.bank-review-blockers ul{margin:7px 0 0;padding-right:20px}.bank-final-review-form,.bank-reopen-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;align-items:end}.bank-final-review-form input,.bank-reopen-form input{width:100%;min-width:0}.bank-final-review-form button{background:#0f766e}.bank-reopen-form .danger{background:#b91c1c}
@media(max-width:980px){.bank-operation-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.bank-account-grid{grid-template-columns:1fr}.bank-operation-entry form{grid-template-columns:repeat(2,minmax(0,1fr))}.bank-operation-entry .wide{grid-column:span 2}}
@media(max-width:620px){.bank-operations-heading{flex-direction:column}.bank-review-chips{justify-content:flex-start}.bank-operation-summary,.bank-operation-entry form,.bank-final-review-form,.bank-reopen-form{grid-template-columns:1fr}.bank-operation-entry .wide{grid-column:auto}}

/* گزارش مدیریتی ماهانه؛ نمای فقط‌خواندنی برای پیگیری روزهای ناقص. */
.monthly-report-body{min-height:100vh;background:linear-gradient(145deg,#eaf4f7,#eef2f7)}
.monthly-report-page{max-width:1380px;margin:auto;padding:28px 22px 55px}
.monthly-report-header{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;padding:25px;border-radius:22px;background:linear-gradient(115deg,#075985,#0f766e);color:#fff;box-shadow:0 14px 34px #07598530}
.monthly-report-header a{display:inline-block;margin-bottom:15px;color:#bae6fd;text-decoration:none}.monthly-report-header .eyebrow{display:block;color:#a7f3d0}.monthly-report-header h1{margin:6px 0}.monthly-report-header p{margin:8px 0 0;color:#dbeafe;line-height:1.8}.monthly-report-user{display:grid;gap:6px;min-width:170px;padding:13px 16px;border-radius:13px;background:#ffffff18}.monthly-report-user span{font-size:12px;color:#dbeafe}
.monthly-report-selector{display:flex;align-items:end;gap:12px;margin:18px 0;padding:16px;border-radius:16px;background:#fff;box-shadow:0 5px 18px #1e293b12}.monthly-report-selector button{background:#075985}
.monthly-report-selector .monthly-print-button{background:#0f766e}.monthly-print-count,.monthly-print-details{display:none}
.monthly-readiness{margin:18px 0;padding:20px;border:2px solid #f0b6b6;border-radius:18px;background:#fff;box-shadow:0 5px 18px #1e293b12}.monthly-readiness.ready{border-color:#7ed8b0}.monthly-readiness-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:15px}.monthly-readiness-heading h2{margin:5px 0 0;color:#163f58}.monthly-readiness-heading strong{padding:8px 12px;border-radius:99px;background:#fee2e2;color:#991b1b;white-space:nowrap}.monthly-readiness.ready .monthly-readiness-heading strong{background:#dcfce7;color:#166534}.monthly-readiness-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:15px}.monthly-readiness-checks article{display:flex;align-items:flex-start;gap:10px;padding:12px;border-radius:12px;background:#fff7f7}.monthly-readiness-checks article.passed{background:#f0fdf4}.monthly-readiness-checks article>span{display:grid;place-items:center;width:25px;height:25px;flex:0 0 25px;border-radius:50%;background:#fee2e2;color:#991b1b;font-weight:bold}.monthly-readiness-checks article.passed>span{background:#dcfce7;color:#166534}.monthly-readiness-checks b{display:block;color:#183b53;font-size:13px}.monthly-readiness-checks small{display:block;margin-top:4px;color:#64748b;line-height:1.6}.monthly-advisories{margin-top:13px;padding:12px 14px;border-radius:11px;background:#fffbeb;color:#92400e}.monthly-advisories ul{margin:7px 0 0;padding-right:20px;line-height:1.8}
.monthly-account-lock{margin:18px 0;padding:20px;border:1px solid #cbd5e1;border-top:5px solid #64748b;border-radius:18px;background:#fff;box-shadow:0 5px 18px #1e293b12}.monthly-account-lock.closed{border-color:#16a34a;background:#f7fff9}.monthly-account-lock-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:15px}.monthly-account-lock-heading h2{margin:5px 0 0;color:#163f58}.monthly-account-lock-heading>strong{padding:8px 12px;border-radius:99px;background:#e2e8f0;color:#475569}.monthly-account-lock.closed .monthly-account-lock-heading>strong{background:#dcfce7;color:#166534}.monthly-account-lock>p{color:#64748b;line-height:1.8}.monthly-snapshot-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:13px}.monthly-snapshot-grid article{display:grid;gap:6px;padding:12px;border-radius:11px;background:#fff;border:1px solid #dce9e2}.monthly-snapshot-grid span{font-size:12px;color:#64748b}.monthly-snapshot-grid b{color:#163f58}.monthly-snapshot-grid small{color:#64748b}.monthly-closed-meta{display:flex;flex-wrap:wrap;gap:9px;margin-top:12px}.monthly-closed-meta span{padding:8px 10px;border-radius:9px;background:#dcfce7;color:#166534;font-size:12px}.monthly-close-form,.monthly-reopen-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end;margin-top:14px}.monthly-close-form input,.monthly-reopen-form input{width:100%}.monthly-close-form button{background:#0f766e}.monthly-reopen-form button{background:#b45309}.monthly-account-events{margin-top:14px;color:#475569}.monthly-account-events summary{cursor:pointer;font-weight:bold}.monthly-account-events ul{margin:9px 0 0;padding-right:20px;line-height:1.8}.monthly-account-events small{color:#64748b}
.monthly-closed-person-balances{margin-top:14px;padding:12px;border-radius:12px;background:#fff;border:1px solid #bbf7d0}.monthly-closed-person-balances summary{cursor:pointer;color:#166534;font-weight:bold}.monthly-closed-person-balances .table-scroll{margin-top:10px}.monthly-closed-person-balances .debtor,.monthly-closed-person-balances .creditor,.monthly-closed-person-balances .settled{display:inline-block;padding:5px 8px;border-radius:99px;font-size:12px}.monthly-closed-person-balances .debtor{background:#fee2e2;color:#991b1b}.monthly-closed-person-balances .creditor{background:#dcfce7;color:#166534}.monthly-closed-person-balances .settled{background:#e2e8f0;color:#475569}
.monthly-status-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.monthly-status-grid article{display:grid;gap:7px;padding:17px;border-radius:15px;background:#fff;border-top:4px solid #0284c7;box-shadow:0 5px 18px #1e293b10}.monthly-status-grid article.ok{border-color:#16a34a;background:#f0fdf4}.monthly-status-grid article.attention{border-color:#dc2626;background:#fff7f7}.monthly-status-grid span{font-size:12px;color:#64748b}.monthly-status-grid b{font-size:20px;color:#163f58}.monthly-status-grid small{color:#64748b;line-height:1.6}
.monthly-bank-alert{padding:13px 15px;border:1px solid #ef4444;border-radius:12px;background:#fee2e2;color:#991b1b;line-height:1.8}
.monthly-financial-section{margin-top:18px;padding:20px;border-radius:18px;background:#fff;box-shadow:0 5px 18px #1e293b12}.monthly-financial-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.monthly-financial-cards.four{grid-template-columns:repeat(4,minmax(0,1fr))}.monthly-financial-cards article{display:grid;gap:6px;padding:14px;border-top:4px solid #64748b;border-radius:12px;background:#f8fafc}.monthly-financial-cards article.ok{border-color:#16a34a;background:#f0fdf4}.monthly-financial-cards article.attention{border-color:#d97706;background:#fffbeb}.monthly-financial-cards span{font-size:12px;color:#64748b}.monthly-financial-cards b{color:#163f58}.monthly-financial-cards small{color:#64748b;line-height:1.6}.monthly-expense-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:13px}.monthly-expense-details>article{padding:15px;border-radius:13px;background:#f8fafc}.monthly-expense-details h3{margin:0 0 9px;color:#163f58}.monthly-expense-details dl{margin:0}.monthly-expense-details dl div{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-top:1px solid #e2e8f0}.monthly-expense-details dt{color:#64748b}.monthly-expense-details dd{margin:0;color:#183b53;font-weight:bold;text-align:left}.monthly-bank-section{border-top:5px solid #0369a1}.monthly-bank-draft-alert{padding:11px 13px;border-radius:10px;background:#fef3c7;color:#92400e}.monthly-bank-account-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin-top:13px}.monthly-bank-account-grid>article{padding:15px;border-radius:13px;background:#f7fbff;border-top:4px solid #0f766e}.monthly-bank-account-grid>article>div:first-child{display:flex;justify-content:space-between;gap:8px}.monthly-bank-account-grid h3{margin:0;color:#163f58}.monthly-bank-account-grid small{color:#64748b}.monthly-bank-account-grid dl{margin:11px 0}.monthly-bank-account-grid dl div{display:flex;justify-content:space-between;gap:9px;padding:7px 0;border-top:1px solid #dbe6ef}.monthly-bank-account-grid dt{font-size:12px;color:#64748b}.monthly-bank-account-grid dd{margin:0;color:#183b53;font-weight:bold}.monthly-bank-account-grid dd.positive{color:#15803d}.monthly-bank-account-grid dd.negative{color:#b91c1c}.monthly-bank-operations{margin-top:14px}.monthly-bank-operations summary{cursor:pointer;color:#075985;font-weight:bold}.monthly-bank-operations .table-scroll{margin-top:10px}
.monthly-day-list{margin-top:18px;padding:20px;border-radius:18px;background:#fff;box-shadow:0 5px 18px #1e293b12}.monthly-section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:14px;margin-bottom:14px}.monthly-section-heading h2{margin:4px 0 0;color:#163f58}.monthly-section-heading small{color:#64748b}.monthly-row-incomplete{background:#fffaf0}.monthly-day-list td.negative{color:#b91c1c;font-weight:bold}.monthly-day-list details{min-width:150px}.monthly-day-list summary{cursor:pointer;color:#9a3412}.monthly-day-list ul{margin:8px 0 0;padding-right:18px;white-space:normal;min-width:240px;color:#7c2d12;line-height:1.7}.monthly-ready{display:inline-block;padding:5px 9px;border-radius:99px;background:#dcfce7;color:#166534}.monthly-empty{padding:30px;border-radius:18px;background:#fff;text-align:center;color:#64748b}
.monthly-person-ledger{border-top:5px solid #7c3aed}.monthly-ledger-blockers{margin-top:13px;padding:12px 14px;border-radius:11px;background:#fff7ed;color:#9a3412}.monthly-ledger-blockers ul{margin:7px 0 0;padding-right:20px}.monthly-person-create{display:grid;grid-template-columns:minmax(220px,1fr) auto;gap:10px;align-items:end;margin-top:14px;padding:14px;border-radius:13px;background:#f5f3ff}.monthly-person-create input{width:100%}.monthly-person-create button,.monthly-entry-form button,.monthly-opening-form button{background:#6d28d9}.monthly-person-grid{display:grid;gap:13px;margin-top:14px}.monthly-person-card{padding:16px;border:1px solid #ddd6fe;border-radius:15px;background:#fafafa}.monthly-person-card.participating{background:#fff}.monthly-person-card.inactive{border-style:dashed}.monthly-person-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.monthly-person-heading h3{margin:0 0 5px;color:#312e81}.monthly-person-heading small{color:#64748b}.monthly-person-heading>strong{padding:7px 10px;border-radius:99px;white-space:nowrap}.monthly-person-heading .debtor{background:#fee2e2;color:#991b1b}.monthly-person-heading .creditor{background:#dcfce7;color:#166534}.monthly-person-heading .settled{background:#e2e8f0;color:#475569}.monthly-person-balance{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:13px 0}.monthly-person-balance div{display:grid;gap:5px;padding:10px;border-radius:10px;background:#f5f3ff}.monthly-person-balance dt{font-size:12px;color:#64748b}.monthly-person-balance dd{margin:0;color:#312e81;font-weight:bold}.monthly-opening-form,.monthly-entry-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;align-items:end;margin-top:13px;padding:13px;border-radius:12px;background:#f8fafc}.monthly-opening-form h4,.monthly-entry-form h4{grid-column:1/-1;margin:0;color:#4c1d95}.monthly-opening-form input,.monthly-entry-form input,.monthly-entry-form select{width:100%;min-width:0}.monthly-opening-form .wide,.monthly-entry-form .wide{grid-column:1/-1}.monthly-person-entries{margin-top:13px}.monthly-person-entries summary{cursor:pointer;color:#5b21b6;font-weight:bold}.monthly-person-entries .table-scroll{margin-top:10px}.monthly-person-entries tr.cancelled{opacity:.62;text-decoration:line-through}.monthly-entry-cancel{display:grid;grid-template-columns:minmax(130px,1fr) auto;gap:6px}.monthly-entry-cancel input{min-width:130px}.monthly-entry-cancel button{background:#b91c1c;padding:7px 9px}.monthly-ledger-empty{padding:18px;border-radius:12px;background:#f5f3ff;color:#5b21b6;text-align:center}
@media(max-width:900px){.monthly-report-header,.monthly-section-heading,.monthly-readiness-heading,.monthly-account-lock-heading,.monthly-person-heading{flex-direction:column;align-items:flex-start}.monthly-report-user{width:100%}.monthly-status-grid,.monthly-readiness-checks,.monthly-snapshot-grid,.monthly-financial-cards,.monthly-financial-cards.four,.monthly-expense-details,.monthly-bank-account-grid,.monthly-person-balance,.monthly-opening-form,.monthly-entry-form{grid-template-columns:1fr}.monthly-report-selector{align-items:stretch;flex-direction:column}.monthly-report-selector select{width:100%}.monthly-close-form,.monthly-reopen-form,.monthly-person-create{grid-template-columns:1fr}.monthly-opening-form h4,.monthly-entry-form h4,.monthly-opening-form .wide,.monthly-entry-form .wide{grid-column:auto}}
@page{size:A4 landscape;margin:9mm}
@media print{
  .monthly-report-body{background:#fff}.monthly-report-page{max-width:none;padding:0}.monthly-report-header{padding:12px 14px;border-radius:0;box-shadow:none;background:#075985!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}.monthly-report-header a,.monthly-report-user,.monthly-report-selector,.monthly-section-heading small{display:none}.monthly-report-header h1{font-size:20px}.monthly-report-header p{font-size:10px;margin-top:4px}.monthly-status-grid{grid-template-columns:repeat(3,1fr);gap:6px;margin-top:8px}.monthly-status-grid article{padding:8px;border-radius:6px;box-shadow:none;-webkit-print-color-adjust:exact;print-color-adjust:exact}.monthly-status-grid b{font-size:13px}.monthly-status-grid small,.monthly-status-grid span{font-size:8px}.monthly-bank-alert{font-size:9px;padding:7px;margin:7px 0}.monthly-day-list{margin-top:8px;padding:8px;border-radius:0;box-shadow:none}.monthly-section-heading{margin-bottom:6px}.monthly-section-heading h2{font-size:14px}.monthly-day-list table{font-size:8px}.monthly-day-list th,.monthly-day-list td{padding:6px 4px;white-space:normal}.monthly-day-list .dossier-link,.monthly-day-list details{display:none}.monthly-print-count{display:block;font-size:8px;color:#9a3412}.monthly-row-incomplete{background:#fff7ed!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}.monthly-print-details{display:block;break-before:page;page-break-before:always;padding-top:5mm}.monthly-print-details h2{margin:0 0 4px;color:#075985;font-size:18px}.monthly-print-details>p{margin:0 0 12px;color:#64748b;font-size:10px}.monthly-print-details article{break-inside:avoid;margin-bottom:8px;padding:9px 12px;border-right:4px solid #d97706;border-radius:6px;background:#fff7ed;-webkit-print-color-adjust:exact;print-color-adjust:exact}.monthly-print-details h3{margin:0 0 5px;color:#7c2d12;font-size:11px}.monthly-print-details ul{display:grid;grid-template-columns:repeat(2,1fr);gap:3px 18px;margin:0;padding-right:18px;color:#7c2d12;font-size:9px;line-height:1.5}
}
@media print{
  .monthly-print-details{display:grid;grid-template-columns:repeat(2,1fr);gap:7px 10px}
  .monthly-print-details h2,.monthly-print-details>p{grid-column:1/-1}
  .monthly-print-details>p{margin-bottom:5px}
  .monthly-print-details article{margin:0;padding:8px 10px}
  .monthly-print-details h3{margin-bottom:4px;font-size:10px}
  .monthly-print-details ul{display:block;margin:0;padding-right:16px;font-size:8px;line-height:1.45}
}

/* صفحه سلامت فنی سامانه؛ فقط خواندنی و ویژه مدیر اصلی. */
.system-health-body{min-height:100vh;background:linear-gradient(145deg,#eaf4f7,#eef2f7)}
.system-health-page{max-width:1260px;margin:auto;padding:28px 22px 55px}
.system-health-header{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;padding:25px;border-radius:22px;background:linear-gradient(115deg,#0a2f45,#075985 48%,#0f766e);color:#fff;box-shadow:0 14px 34px #07598530}
.system-health-header a{display:inline-block;margin-bottom:14px;color:#bae6fd;text-decoration:none}.system-health-header .eyebrow{display:block;color:#a7f3d0}.system-health-header h1{margin:6px 0}.system-health-header p{margin:8px 0 0;color:#dbeafe}
.system-health-user{display:grid;gap:6px;min-width:170px;padding:13px 16px;border-radius:13px;background:#ffffff18}.system-health-user span{font-size:12px;color:#dbeafe}
.system-health-overall{display:flex;align-items:center;gap:14px;margin:18px 0;padding:18px 20px;border-radius:17px;border:1px solid #86efac;background:#f0fdf4}.system-health-overall.warning{border-color:#fbbf24;background:#fffbeb}.system-health-overall.danger{border-color:#f87171;background:#fef2f2}
.system-health-overall>span{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:#dcfce7;color:#15803d;font-size:23px;font-weight:bold}.system-health-overall.warning>span{background:#fef3c7;color:#b45309}.system-health-overall.danger>span{background:#fee2e2;color:#b91c1c}.system-health-overall small{color:#64748b}.system-health-overall h2{margin:3px 0 0;color:#163f58;font-size:19px}
.system-health-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.health-panel{padding:20px;border-radius:18px;border-top:5px solid #16a34a;background:#fff;box-shadow:0 7px 20px #1e293b12}.health-panel.warning{border-color:#d97706}.health-panel.danger{border-color:#dc2626}
.health-panel-title{display:flex;align-items:center;gap:10px}.health-panel-title>span{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#e0f2fe;color:#0369a1;font-weight:bold}.health-panel-title small{color:#64748b}.health-panel-title h2{margin:2px 0 0;color:#163f58;font-size:18px}
.health-panel h3{margin:15px 0 5px;color:#183b53;font-size:16px}.health-panel p{margin:0;color:#64748b;line-height:1.8}.health-panel dl{margin:13px 0 0}.health-panel dl div{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-top:1px solid #edf2f7}.health-panel dt{color:#64748b;font-size:13px}.health-panel dd{margin:0;color:#183b53;font-size:13px;font-weight:bold;text-align:left}.health-panel details{margin-top:12px;color:#7c2d12;font-size:13px}.health-panel summary{cursor:pointer}.health-panel ul{margin:8px 0 0;padding-right:20px}
.health-backup-action{margin-top:15px;padding:13px;border:1px solid #bae6fd;border-radius:12px;background:#f0f9ff}.health-backup-action.warning{border-color:#fcd34d;background:#fffbeb}.health-backup-action.danger{border-color:#fca5a5;background:#fef2f2}.health-backup-action h4{margin:0 0 5px;color:#183b53}.health-backup-action form{margin-top:10px}.health-backup-action button{width:100%;background:#075985}.health-backup-action button:disabled{cursor:not-allowed;opacity:.55;background:#64748b}
@media(max-width:820px){.system-health-header{flex-direction:column}.system-health-user{width:100%}.system-health-grid{grid-template-columns:1fr}}

/* بیلان محرمانه سود و زیان شرکا؛ مستقل از حساب عملیاتی ۷ تا ۷. */
.profit-report-body{min-height:100vh;background:linear-gradient(145deg,#fff7ed,#eef2f7);color:#183b53}.profit-report-page{max-width:1280px;margin:auto;padding:28px 22px 55px}.profit-report-header{display:flex;justify-content:space-between;gap:22px;padding:25px;border-radius:22px;background:linear-gradient(115deg,#7c2d12,#b45309 55%,#0f766e);color:#fff;box-shadow:0 14px 34px #9a341230}.profit-report-header a{color:#fed7aa;text-decoration:none}.profit-report-header span{display:block;margin-top:15px;color:#fde68a}.profit-report-header h1{margin:6px 0}.profit-report-header p{margin:8px 0 0;color:#ffedd5}.profit-report-header aside{display:grid;align-content:start;gap:7px;min-width:180px;padding:14px;border-radius:14px;background:#ffffff18}.profit-report-header aside strong{padding:6px 9px;border-radius:99px;background:#ffffff22;font-size:12px}.profit-month-selector{display:flex;align-items:end;gap:10px;margin:18px 0;padding:15px;border-radius:15px;background:#fff;box-shadow:0 5px 18px #1e293b12}.profit-month-selector input{min-width:170px}.profit-month-selector button{background:#b45309}.profit-source-note{padding:16px 18px;border:1px solid #fbbf24;border-right:6px solid #d97706;border-radius:15px;background:#fffbeb}.profit-source-note p{margin:7px 0 0;color:#92400e;line-height:1.9}.profit-workflow-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-top:17px}.profit-workflow-grid article{padding:17px;border-top:5px solid #0f766e;border-radius:15px;background:#fff;box-shadow:0 5px 18px #1e293b10}.profit-workflow-grid span{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#ccfbf1;color:#115e59;font-weight:bold}.profit-workflow-grid h2{margin:10px 0 5px;font-size:17px}.profit-workflow-grid p{margin:0;color:#64748b;line-height:1.8}.profit-empty-state{margin-top:17px;padding:25px;border:2px dashed #fdba74;border-radius:18px;background:#fff;text-align:center}.profit-empty-state h2{margin:0;color:#9a3412}.profit-empty-state p{max-width:820px;margin:10px auto;color:#64748b;line-height:1.9}.profit-empty-state span{display:inline-block;padding:8px 12px;border-radius:99px;background:#ecfdf5;color:#047857}.home-body .backup-status-card{margin-top:18px}@media(max-width:820px){.profit-report-header{flex-direction:column}.profit-report-header aside{width:100%}.profit-workflow-grid{grid-template-columns:1fr}.profit-month-selector{align-items:stretch;flex-direction:column}.profit-month-selector input{width:100%}}
.profit-manual-sales{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-top:17px;padding:20px;border-radius:18px;background:#fff;box-shadow:0 5px 18px #1e293b12}.profit-manual-sales>div{grid-column:1/-1}.profit-manual-sales h2{margin:3px 0}.profit-manual-sales p{margin:5px 0;color:#64748b}.profit-manual-sales label{display:grid;gap:6px;font-weight:700}.profit-manual-sales input{min-width:0}.profit-manual-sales button{align-self:end;background:#0f766e}.profit-sales-sources{margin-top:17px;padding:20px;border-radius:18px;background:#fff;box-shadow:0 5px 18px #1e293b12}.profit-section-heading{display:flex;justify-content:space-between;align-items:center;gap:15px}.profit-section-heading h2{margin:4px 0}.profit-section-heading a{color:#0f766e;font-weight:700}.profit-source-table{overflow:auto}.profit-source-table table{width:100%;margin-top:14px;border-collapse:collapse}.profit-source-table th,.profit-source-table td{padding:12px 10px;border-bottom:1px solid #e2e8f0;text-align:right;white-space:nowrap}.profit-source-table small{display:block;margin-top:5px;color:#64748b}.source-badge,.source-ready,.source-warning{display:inline-block;padding:5px 9px;border-radius:99px;font-size:12px}.source-badge.qr,.source-ready{background:#dcfce7;color:#166534}.source-badge.manual{background:#e0f2fe;color:#075985}.source-warning{background:#fef3c7;color:#92400e}.source-missing{color:#b91c1c}.profit-no-source{padding:18px;border:1px dashed #cbd5e1;border-radius:12px;text-align:center;color:#64748b}@media(max-width:820px){.profit-manual-sales{grid-template-columns:1fr}.profit-section-heading{align-items:flex-start;flex-direction:column}}
.profit-coverage-cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-top:16px}.profit-coverage-cards article{display:grid;gap:6px;padding:14px;border:1px solid #e2e8f0;border-radius:13px;background:#f8fafc}.profit-coverage-cards article.ok{border-color:#86efac;background:#f0fdf4}.profit-coverage-cards article.warning{border-color:#fcd34d;background:#fffbeb}.profit-coverage-cards article.danger{border-color:#fca5a5;background:#fef2f2}.profit-coverage-cards span,.profit-coverage-cards small{color:#64748b}.profit-coverage-cards b{color:#183b53;font-size:17px}@media(max-width:1050px){.profit-coverage-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.profit-coverage-cards{grid-template-columns:1fr}}
.profit-expense-ledger{margin-top:17px;padding:20px;border-radius:18px;background:#fff;box-shadow:0 5px 18px #1e293b12}.profit-expense-ledger .profit-section-heading small{color:#9a3412}.profit-expense-cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-top:16px}.profit-expense-cards article{display:grid;gap:5px;padding:14px;border:1px solid #e2e8f0;border-radius:13px;background:#f8fafc}.profit-expense-cards article.ok{border-color:#86efac;background:#f0fdf4}.profit-expense-cards article.warning{border-color:#fcd34d;background:#fffbeb}.profit-expense-cards span,.profit-expense-cards small{color:#64748b}.profit-expense-cards b{color:#183b53}.profit-expense-rule{padding:12px 14px;border-right:4px solid #0f766e;background:#f0fdfa;color:#115e59;line-height:1.9}.profit-expense-table{overflow:auto}.profit-expense-table table{width:100%;border-collapse:collapse}.profit-expense-table th,.profit-expense-table td{padding:11px 9px;border-bottom:1px solid #e2e8f0;text-align:right;vertical-align:top;white-space:nowrap}.profit-expense-table td>span,.profit-expense-table td>small{display:block;margin-top:5px;color:#64748b}.profit-expense-review{display:grid;grid-template-columns:repeat(2,minmax(145px,1fr));gap:7px;min-width:420px}.profit-expense-review input,.profit-expense-review select{min-width:0}.profit-expense-review button{grid-column:1/-1;background:#0f766e}@media(max-width:1050px){.profit-expense-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.profit-expense-cards{grid-template-columns:1fr}}
.profit-expense-completion{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:12px 0;padding:14px;border:1px solid #fcd34d;border-radius:13px;background:#fffbeb}.profit-expense-completion.ok{border-color:#86efac;background:#f0fdf4}.profit-expense-completion small{display:block;margin-top:5px;color:#64748b}.profit-expense-completion form{display:flex;align-items:end;gap:8px}.profit-expense-completion input{min-width:280px}.profit-expense-completion button{background:#0f766e}.profit-expense-completion button:disabled{cursor:not-allowed;opacity:.5}@media(max-width:820px){.profit-expense-completion,.profit-expense-completion form{align-items:stretch;flex-direction:column}.profit-expense-completion input{min-width:0;width:100%}}
.profit-result-section{margin-top:17px;padding:22px;border:1px solid #86efac;border-radius:18px;background:#fff;box-shadow:0 5px 18px #1e293b12}.profit-result-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:16px}.profit-result-cards article,.profit-partner-grid article{display:grid;gap:6px;padding:15px;border-radius:13px;background:#f0fdf4}.profit-result-cards span,.profit-partner-grid span,.profit-partner-grid small{color:#64748b}.profit-result-cards b,.profit-partner-grid b{color:#166534;font-size:17px}.profit-partner-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px}.profit-partner-grid article{background:#fff7ed}.profit-partner-grid b{color:#9a3412}.profit-preview-warning{padding:12px 14px;border-right:4px solid #d97706;background:#fffbeb;color:#92400e}.profit-empty-state ul{max-width:760px;margin:12px auto;text-align:right;line-height:2;color:#9a3412}@media(max-width:900px){.profit-result-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.profit-partner-grid{grid-template-columns:1fr}}@media(max-width:600px){.profit-result-cards{grid-template-columns:1fr}}
.profit-tier-control{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:14px}.profit-tier-control article{display:grid;gap:5px;padding:14px;border:1px solid #bae6fd;border-radius:13px;background:#f0f9ff}.profit-tier-control span,.profit-tier-control small{color:#64748b}.profit-tier-control b{color:#075985}.profit-tier-table{overflow:auto;margin-top:14px}.profit-tier-table table{width:100%;border-collapse:collapse}.profit-tier-table th,.profit-tier-table td{padding:11px 9px;border-bottom:1px solid #e2e8f0;text-align:right;white-space:nowrap}.profit-tier-table td small{display:block;margin-top:4px;color:#64748b}@media(max-width:900px){.profit-tier-control{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.profit-tier-control{grid-template-columns:1fr}}
.profit-final-banner{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:16px 0;padding:19px;border:1px solid #22c55e;border-right:7px solid #15803d;border-radius:16px;background:#f0fdf4}.profit-final-banner h2{margin:5px 0;color:#166534}.profit-final-banner p,.profit-final-banner small{display:block;margin:5px 0;color:#64748b}.profit-final-banner>div:last-child{display:grid;gap:5px;min-width:230px;padding:14px;border-radius:13px;background:#dcfce7;text-align:center}.profit-final-banner>div:last-child b{color:#166534;font-size:20px}.profit-finalize-form{display:grid;grid-template-columns:1.2fr 1fr 1fr auto;align-items:end;gap:10px;margin-top:14px;padding:16px;border:1px solid #fb923c;border-radius:14px;background:#fff7ed}.profit-finalize-form>div{align-self:center}.profit-finalize-form small{display:block;margin-top:5px;color:#9a3412}.profit-finalize-form label{display:grid;gap:5px;font-weight:700}.profit-finalize-form button{background:#9a3412}@media(max-width:950px){.profit-final-banner,.profit-finalize-form{align-items:stretch;grid-template-columns:1fr;flex-direction:column}.profit-final-banner>div:last-child{min-width:0}}

/* دفتر محرمانه تعدیل کارمزد و تهاتر نرخ آزاد. */
.adjustment-body{min-height:100vh;background:linear-gradient(145deg,#ecfeff,#f8fafc);color:#164e63}.adjustment-page{max-width:1280px;margin:auto;padding:28px 22px 60px}.adjustment-header{display:flex;justify-content:space-between;gap:22px;padding:25px;border-radius:22px;background:linear-gradient(115deg,#155e75,#0f766e 58%,#1d4ed8);color:#fff;box-shadow:0 14px 34px #155e7530}.adjustment-header a{color:#cffafe;text-decoration:none}.adjustment-header span{display:block;margin-top:14px;color:#a5f3fc}.adjustment-header h1{margin:6px 0}.adjustment-header p{margin:0;color:#e0f2fe}.adjustment-header aside{display:grid;align-content:start;gap:7px;min-width:180px;padding:14px;border-radius:14px;background:#ffffff18}.adjustment-header aside strong{padding:6px 9px;border-radius:99px;background:#ffffff22;font-size:12px}.adjustment-alert{margin-top:14px;padding:12px 16px;border-radius:12px}.adjustment-alert.success{background:#dcfce7;color:#166534}.adjustment-alert.error{background:#fee2e2;color:#991b1b}.adjustment-rule-note{margin-top:17px;padding:16px 18px;border:1px solid #67e8f9;border-right:6px solid #0891b2;border-radius:15px;background:#ecfeff}.adjustment-rule-note p{margin:7px 0 0;line-height:1.9;color:#155e75}.adjustment-form,.adjustment-offset-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-top:17px;padding:20px;border-radius:18px;background:#fff;box-shadow:0 5px 18px #1e293b12}.adjustment-form .form-heading,.adjustment-offset-form .form-heading{grid-column:1/-1}.adjustment-form h2,.adjustment-offset-form h4{margin:4px 0}.adjustment-form p{margin:0;color:#64748b}.adjustment-form label,.adjustment-offset-form label,.adjustment-inline-form label{display:grid;gap:6px;font-weight:700}.adjustment-form .wide{grid-column:span 2}.adjustment-form button,.adjustment-offset-form button,.adjustment-inline-form button{align-self:end;background:#0f766e}.adjustment-list{margin-top:18px}.adjustment-section-title{display:flex;justify-content:space-between;align-items:center}.adjustment-section-title h2{margin:4px 0}.adjustment-case{margin-top:14px;padding:20px;border:1px solid #cbd5e1;border-top:5px solid #f59e0b;border-radius:18px;background:#fff;box-shadow:0 5px 18px #1e293b10}.adjustment-case.approved{border-top-color:#10b981}.adjustment-case-head{display:flex;justify-content:space-between;gap:15px}.adjustment-case-head h3{margin:4px 0;font-size:25px}.adjustment-case-head p{margin:0;color:#64748b}.adjustment-case-head>b{height:max-content;padding:6px 10px;border-radius:99px;background:#fef3c7;color:#92400e}.adjustment-case.approved .adjustment-case-head>b{background:#dcfce7;color:#166534}.adjustment-meta{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin:16px 0}.adjustment-meta div,.adjustment-totals div{padding:11px;border-radius:11px;background:#f8fafc}.adjustment-meta dt,.adjustment-totals span{color:#64748b;font-size:12px}.adjustment-meta dd{margin:5px 0 0;font-weight:700}.adjustment-totals{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.adjustment-totals b{display:block;margin-top:5px}.adjustment-inline-form{display:flex;align-items:end;gap:10px;margin-top:14px;padding:14px;border-radius:12px;background:#fffbeb}.adjustment-inline-form label{flex:1}.adjustment-offset-form{box-shadow:none;border:1px solid #99f6e4;background:#f0fdfa}.adjustment-offsets,.adjustment-partners{margin-top:16px}.adjustment-offsets h4,.adjustment-partners h4{margin:0 0 9px}.adjustment-table{overflow:auto}.adjustment-table table{width:100%;border-collapse:collapse}.adjustment-table th,.adjustment-table td{padding:10px;border-bottom:1px solid #e2e8f0;text-align:right;white-space:nowrap}.adjustment-partners{padding:15px;border:1px solid #86efac;border-radius:13px;background:#f0fdf4}.adjustment-partners div{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid #bbf7d0}.adjustment-partners small{display:block;margin-top:10px;color:#64748b}.adjustment-empty{margin-top:14px;padding:28px;border:2px dashed #94a3b8;border-radius:16px;text-align:center;color:#64748b}@media(max-width:900px){.adjustment-header{flex-direction:column}.adjustment-header aside{width:100%}.adjustment-form,.adjustment-offset-form{grid-template-columns:1fr}.adjustment-form .wide{grid-column:auto}.adjustment-meta,.adjustment-totals{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.adjustment-meta,.adjustment-totals{grid-template-columns:1fr}.adjustment-inline-form,.adjustment-case-head{align-items:stretch;flex-direction:column}}

/* مدیریت سطح دسترسی؛ ماتریس از نقش‌های واقعی سامانه ساخته می‌شود. */
.access-body{min-height:100vh;margin:0;background:linear-gradient(145deg,#eef2ff,#f8fafc 55%,#ecfeff);color:#172554}.access-page{max-width:1320px;margin:auto;padding:28px 22px 60px}.access-header{display:flex;justify-content:space-between;gap:22px;padding:25px;border-radius:22px;background:linear-gradient(120deg,#1e1b4b,#3730a3 55%,#0f766e);color:#fff;box-shadow:0 14px 34px #312e8130}.access-header a{color:#c7d2fe;text-decoration:none}.access-header span{display:block;margin-top:14px;color:#99f6e4}.access-header h1{margin:6px 0}.access-header p{margin:0;color:#e0e7ff}.access-header aside{display:grid;align-content:start;gap:7px;min-width:190px;padding:14px;border-radius:14px;background:#ffffff18}.access-header aside small{color:#c7d2fe}.access-header aside strong{width:max-content;padding:6px 10px;border-radius:99px;background:#dcfce725;color:#bbf7d0;font-size:12px}.access-alert{margin-top:14px;padding:12px 16px;border-radius:12px}.access-alert.success{background:#dcfce7;color:#166534}.access-alert.error{background:#fee2e2;color:#991b1b}.access-guidance{margin-top:17px;padding:16px 18px;border:1px solid #a5b4fc;border-right:6px solid #4f46e5;border-radius:15px;background:#eef2ff}.access-guidance p{margin:7px 0 0;line-height:1.9;color:#3730a3}.access-layout{display:grid;grid-template-columns:330px minmax(0,1fr);gap:16px;margin-top:17px}.access-users,.access-matrix-panel{padding:20px;border-radius:18px;background:#fff;box-shadow:0 6px 20px #1e293b12}.access-section-title,.access-profile-head>div{display:flex;align-items:center;gap:10px}.access-section-title>span,.access-profile-head>div>span{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#e0e7ff;color:#3730a3;font-weight:800}.access-section-title small,.access-profile-head small{color:#64748b}.access-section-title h2,.access-profile-head h2{margin:2px 0 0}.access-users nav{display:grid;gap:9px;margin-top:15px}.access-users nav>a{display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:10px;padding:12px;border:1px solid #e2e8f0;border-radius:13px;color:#172554;text-decoration:none}.access-users nav>a:hover,.access-users nav>a.selected{border-color:#6366f1;background:#eef2ff}.access-users nav>a>span{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#312e81;color:#fff;font-weight:800}.access-users nav small{display:block;margin-top:4px;color:#64748b}.access-users nav em{padding:4px 7px;border-radius:99px;background:#dcfce7;color:#166534;font-size:11px;font-style:normal}.access-profile-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.access-profile-head>b{padding:6px 10px;border-radius:99px;background:#dcfce7;color:#166534;font-size:12px}.access-table-wrap{overflow:auto;margin-top:16px}.access-table{width:100%;border-collapse:collapse}.access-table th,.access-table td{padding:12px 10px;border-bottom:1px solid #e2e8f0;text-align:center;white-space:nowrap}.access-table th:first-child,.access-table td:first-child{text-align:right}.access-table td:first-child small{display:block;margin-top:4px;color:#64748b}.permission-state,.access-legend i{display:inline-grid;place-items:center;width:27px;height:27px;border-radius:7px;font-weight:900;font-style:normal}.permission-state.allowed,.access-legend .allowed{background:#dcfce7;color:#15803d}.permission-state.conditional,.access-legend .conditional{background:#fef3c7;color:#b45309}.permission-state.denied,.access-legend .denied{background:#f1f5f9;color:#94a3b8}.access-legend{display:flex;flex-wrap:wrap;gap:12px;margin-top:14px;color:#475569;font-size:12px}.access-legend span{display:flex;align-items:center;gap:6px}.access-credentials{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto;align-items:end;gap:12px;margin-top:20px;padding:17px;border:1px solid #99f6e4;border-radius:15px;background:#f0fdfa}.access-credentials>div{grid-column:1/-1}.access-credentials h2{margin:3px 0}.access-credentials p{margin:5px 0;color:#64748b}.access-credentials label{display:grid;gap:6px;font-weight:700}.access-credentials input{min-width:0}.access-credentials button{background:#0f766e;white-space:nowrap}@media(max-width:980px){.access-layout{grid-template-columns:1fr}.access-users nav{grid-template-columns:repeat(2,minmax(0,1fr))}.access-credentials{grid-template-columns:1fr 1fr}.access-credentials>div{grid-column:1/-1}}@media(max-width:650px){.access-header{flex-direction:column}.access-header aside{width:100%}.access-users nav,.access-credentials{grid-template-columns:1fr}.access-table th,.access-table td{padding:10px 7px}.access-credentials>div{grid-column:auto}}
.access-role-editor{margin-top:20px;padding:17px;border:1px solid #c4b5fd;border-radius:15px;background:#f5f3ff}.access-role-heading h2{margin:3px 0}.access-role-heading p{margin:5px 0;color:#64748b}.access-role-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:14px 0}.access-role-options label{display:flex;align-items:flex-start;gap:9px;padding:11px;border:1px solid #ddd6fe;border-radius:11px;background:#fff;cursor:pointer}.access-role-options label.selected{border-color:#6366f1;background:#eef2ff}.access-role-options input{margin-top:4px}.access-role-options small{display:block;margin-top:4px;color:#64748b}.access-role-editor>.access-change-reason{display:grid;gap:6px;font-weight:700}.access-role-editor>button{margin-top:12px;background:#4f46e5}.access-history{margin-top:17px;padding:20px;border-radius:18px;background:#fff;box-shadow:0 6px 20px #1e293b12}.access-history table{width:100%;border-collapse:collapse}.access-history th,.access-history td{padding:11px 9px;border-bottom:1px solid #e2e8f0;text-align:right;white-space:nowrap}.history-added,.history-removed{display:inline-block;padding:3px 7px;border-radius:99px;font-weight:800}.history-added{background:#dcfce7;color:#166534}.history-removed{background:#fee2e2;color:#991b1b}.access-no-history{margin:14px 0 0;padding:16px;border:1px dashed #cbd5e1;border-radius:12px;color:#64748b;text-align:center}@media(max-width:650px){.access-role-options{grid-template-columns:1fr}}
.access-status-editor{display:flex;justify-content:space-between;align-items:end;gap:15px;margin-top:16px;padding:16px;border:1px solid #bae6fd;border-radius:15px;background:#f0f9ff}.access-status-editor.inactive{border-color:#fdba74;background:#fff7ed}.access-status-editor.locked{border-color:#a7f3d0;background:#f0fdf4}.access-status-editor h2{margin:3px 0}.access-status-editor p{margin:5px 0 0;color:#64748b}.access-status-editor>strong{padding:8px 11px;border-radius:99px;background:#dcfce7;color:#166534;font-size:12px}.access-status-editor form{display:flex;align-items:end;gap:9px;min-width:620px}.access-status-editor label{display:grid;flex:1;gap:6px;font-weight:700}.access-status-editor button{white-space:nowrap}.access-status-editor button.danger{background:#b91c1c}.access-status-editor button.enable{background:#15803d}.history-status{display:inline-block;padding:4px 8px;border-radius:99px;font-weight:800}.history-status.enabled{background:#dcfce7;color:#166534}.history-status.disabled{background:#fee2e2;color:#991b1b}.history-status.credentials{background:#e0e7ff;color:#3730a3}@media(max-width:900px){.access-status-editor,.access-status-editor form{align-items:stretch;flex-direction:column}.access-status-editor form{min-width:0;width:100%}}
.access-change-preview{margin-top:14px;padding:17px;border:2px solid #f59e0b;border-radius:15px;background:#fffbeb}.access-change-preview h2{margin:3px 0;color:#92400e}.access-change-preview p{margin:5px 0;color:#78350f}.access-change-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:13px 0}.access-change-columns article{padding:12px;border-radius:11px;background:#fff}.access-change-columns h3{margin:0 0 7px;font-size:15px}.access-change-columns ul{margin:0;padding-right:18px}.access-change-columns span{color:#64748b}.access-change-preview>form{display:flex;align-items:end;gap:9px;margin-top:8px}.access-change-preview>form label{display:grid;flex:1;gap:6px;font-weight:700}.access-change-preview>form button{background:#b45309}.access-change-preview>form button.secondary{background:#64748b}@media(max-width:650px){.access-change-columns{grid-template-columns:1fr}.access-change-preview>form{align-items:stretch;flex-direction:column}}
.access-role-options em{display:block;margin-top:5px;color:#b45309;font-size:11px;font-style:normal;font-weight:800}.access-role-editor>.access-expiry-days{display:grid;gap:6px;margin-bottom:10px;font-weight:700}.access-role-editor>.access-expiry-days small{color:#64748b;font-weight:400}
.temporary-access-panel{margin-top:17px;padding:18px;border:1px solid #fcd34d;border-radius:16px;background:#fffbeb}.temporary-access-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:13px}.temporary-access-grid article{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px 12px;padding:12px;border-right:5px solid #0f766e;border-radius:11px;background:#fff}.temporary-access-grid article.expiring{border-color:#d97706}.temporary-access-grid article.expired{border-color:#dc2626;background:#fef2f2}.temporary-access-grid small{display:block;margin-top:4px;color:#64748b}.temporary-access-grid span{padding:4px 8px;border-radius:99px;background:#ccfbf1;color:#115e59;font-size:11px;font-weight:800}.temporary-access-grid .expiring span{background:#fef3c7;color:#92400e}.temporary-access-grid .expired span{background:#fee2e2;color:#991b1b}.temporary-access-grid time{grid-column:1/-1;color:#64748b;font-size:11px}@media(max-width:650px){.temporary-access-grid{grid-template-columns:1fr}}
.access-user-create{margin-top:17px;padding:17px;border:1px solid #7dd3fc;border-radius:16px;background:#f0f9ff}.access-user-create>summary{cursor:pointer;color:#075985;font-size:17px;font-weight:800}.access-user-create form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:end;gap:10px;margin-top:15px}.access-user-create form>div{grid-column:1/-1}.access-user-create h2{margin:3px 0}.access-user-create p{margin:5px 0;color:#64748b}.access-user-create label{display:grid;gap:6px;font-weight:700}.access-user-create input{min-width:0}.access-user-create button{background:#0369a1}@media(max-width:1050px){.access-user-create form{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.access-user-create form{grid-template-columns:1fr}}
.access-history-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.access-history-actions{display:flex;align-items:center;gap:8px}.access-history-actions>a{padding:10px 13px;border-radius:9px;background:#e0f2fe;color:#075985;font-weight:800;text-decoration:none}.access-print-button{background:#0f766e}.access-history-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto auto;align-items:end;gap:10px;margin-top:15px;padding:14px;border-radius:13px;background:#f8fafc}.access-history-filters label{display:grid;gap:6px;font-weight:700}.access-history-filters input,.access-history-filters select{min-width:0;width:100%}.access-history-filters button{background:#4f46e5;white-space:nowrap}.access-history-filters a{padding:11px 4px;color:#475569;text-decoration:none;white-space:nowrap}.access-history-summary{margin:12px 0 0;color:#64748b}@media(max-width:850px){.access-history-filters{grid-template-columns:1fr 1fr}.access-history-filters a{text-align:center}}@media(max-width:560px){.access-history-heading{align-items:flex-start;flex-direction:column}.access-history-actions{align-items:stretch;flex-direction:column;width:100%}.access-history-actions>*{text-align:center}.access-history-filters{grid-template-columns:1fr}}
@media print{.access-body{background:#fff}.access-page{max-width:none;padding:0}.access-header{padding:12px 16px;border-radius:0;box-shadow:none;background:#312e81!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}.access-header a,.access-header aside,.access-header span,.access-header p,.access-guidance,.access-alert,.access-user-create,.access-layout,.temporary-access-panel,.access-history-filters,.access-history-actions{display:none!important}.access-header h1{margin:0;font-size:20px}.access-history{margin:10px 0 0;padding:0;box-shadow:none}.access-history table{font-size:10px}.access-history th,.access-history td{padding:7px 5px;white-space:normal}.access-history-heading>div>span{background:#e0e7ff!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}.history-status,.history-added,.history-removed{-webkit-print-color-adjust:exact;print-color-adjust:exact}}
.profit-final-banner>div:last-child a{padding:8px 10px;border-radius:9px;background:#15803d;color:#fff;text-decoration:none;font-weight:700}
.profit-policy-ledger{margin-top:17px;padding:20px;border-radius:18px;background:#fff;box-shadow:0 5px 18px #1e293b12}.profit-policy-ledger .profit-section-heading small{color:#92400e}.profit-policy-table{overflow:auto;margin-top:14px}.profit-policy-table table{width:100%;border-collapse:collapse}.profit-policy-table th,.profit-policy-table td{padding:11px 9px;border-bottom:1px solid #e2e8f0;text-align:right;white-space:nowrap}.profit-policy-table td small{display:block;margin-top:5px;color:#64748b}.profit-policy-table tr.selected{background:#f0fdfa}.profit-policy-table tr.selected td:first-child{border-right:4px solid #0f766e}.profit-policy-form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:end;gap:10px;margin-top:16px;padding:16px;border:1px solid #fdba74;border-radius:14px;background:#fff7ed}.profit-policy-form>div{grid-column:1/-1}.profit-policy-form>div small{display:block;margin-top:5px;color:#92400e}.profit-policy-form label{display:grid;gap:6px;font-weight:700}.profit-policy-form input{min-width:0;width:100%}.profit-policy-form button{background:#b45309}@media(max-width:950px){.profit-policy-form{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.profit-policy-form{grid-template-columns:1fr}}
.annual-profit-body{min-height:100vh;background:linear-gradient(145deg,#f5f3ff,#f8fafc 55%,#ecfeff);color:#172554}.annual-profit-page{max-width:1340px;margin:auto;padding:28px 22px 60px}.annual-profit-header{display:flex;justify-content:space-between;gap:22px;padding:25px;border-radius:22px;background:linear-gradient(120deg,#312e81,#6d28d9 55%,#0f766e);color:#fff;box-shadow:0 14px 34px #4c1d9530}.annual-profit-header a{color:#ddd6fe;text-decoration:none}.annual-profit-header span{display:block;margin-top:14px;color:#99f6e4}.annual-profit-header h1{margin:6px 0}.annual-profit-header p{margin:0;color:#ede9fe}.annual-profit-header aside{display:grid;align-content:start;gap:7px;min-width:190px;padding:14px;border-radius:14px;background:#ffffff18}.annual-profit-header aside strong{padding:6px 9px;border-radius:99px;background:#ffffff22;font-size:12px}.annual-year-selector{display:flex;align-items:end;gap:10px;margin:17px 0;padding:15px;border-radius:15px;background:#fff;box-shadow:0 5px 18px #1e293b12}.annual-year-selector input{min-width:160px}.annual-year-selector button{background:#6d28d9}.annual-year-selector a{padding:11px 13px;color:#5b21b6;font-weight:700;text-decoration:none}.annual-completion{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 18px;border-radius:15px}.annual-completion.complete{border:1px solid #86efac;background:#f0fdf4}.annual-completion.incomplete{border:1px solid #fcd34d;background:#fffbeb}.annual-completion p{margin:5px 0 0;color:#64748b}.annual-completion>div:last-child{display:grid;gap:5px;text-align:left}.annual-completion>div:last-child span{color:#92400e;font-size:12px}.annual-total-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:16px}.annual-total-grid article{display:grid;gap:6px;padding:15px;border:1px solid #ddd6fe;border-radius:14px;background:#fff;box-shadow:0 4px 14px #1e293b0d}.annual-total-grid span{color:#64748b}.annual-total-grid b{color:#5b21b6;font-size:16px}.annual-panel{margin-top:16px;padding:19px;border-radius:18px;background:#fff;box-shadow:0 5px 18px #1e293b12}.annual-section-heading{display:flex;justify-content:space-between;align-items:center;gap:14px}.annual-section-heading span{color:#0f766e;font-size:12px}.annual-section-heading h2{margin:4px 0}.annual-section-heading small{color:#64748b}.annual-quarter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:14px}.annual-quarter-grid article{display:grid;gap:5px;padding:14px;border-radius:13px}.annual-quarter-grid article.ready{border:1px solid #86efac;background:#f0fdf4}.annual-quarter-grid article.waiting{border:1px solid #fcd34d;background:#fffbeb}.annual-quarter-grid span,.annual-quarter-grid small{color:#64748b}.annual-quarter-grid b{color:#183b53}.annual-table{overflow:auto;margin-top:13px}.annual-table table{width:100%;border-collapse:collapse}.annual-table th,.annual-table td{padding:11px 9px;border-bottom:1px solid #e2e8f0;text-align:right;white-space:nowrap}.annual-table td small{display:block;margin-top:4px;color:#64748b}.annual-ready,.annual-missing{display:inline-block;padding:5px 8px;border-radius:99px;font-size:11px}.annual-ready{background:#dcfce7;color:#166534}.annual-missing{background:#fef3c7;color:#92400e}.annual-hash{direction:ltr;font-family:Consolas,monospace}.annual-two-column{display:grid;grid-template-columns:1.35fr 1fr;gap:16px}.annual-partners{display:grid;gap:9px;margin-top:13px}.annual-partners>div{display:grid;grid-template-columns:1fr auto;gap:5px 10px;padding:13px;border:1px solid #ddd6fe;border-radius:12px;background:#faf5ff}.annual-partners b{color:#6b21a8}.annual-partners small{grid-column:1/-1;color:#64748b}.annual-rule-note{padding:13px 15px;border-right:5px solid #d97706;border-radius:11px;background:#fffbeb;color:#92400e;line-height:1.9}@media(max-width:950px){.annual-profit-header,.annual-completion{align-items:stretch;flex-direction:column}.annual-total-grid,.annual-quarter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.annual-two-column{grid-template-columns:1fr}}@media(max-width:600px){.annual-year-selector{align-items:stretch;flex-direction:column}.annual-total-grid,.annual-quarter-grid{grid-template-columns:1fr}.annual-section-heading{align-items:flex-start;flex-direction:column}}
.annual-year-selector .annual-pdf-button{border-radius:9px;background:#0f766e;color:#fff}
.annual-tax-editor{border-top:5px solid #475569}.annual-tax-policy-form{display:grid;gap:15px;margin-top:14px}.annual-tax-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.annual-tax-fields input,.annual-tax-policy-form input,.annual-tax-policy-form select,.annual-partner-edit-grid input,.annual-partner-edit-grid select{width:100%;min-width:0}.annual-tax-brackets{display:grid;gap:9px;padding:14px;border-radius:13px;background:#f8fafc;border:1px solid #e2e8f0}.annual-tax-brackets>p{margin:0;color:#64748b;font-size:12px}.annual-tax-brackets>div{display:grid;grid-template-columns:auto 1fr 1fr;align-items:end;gap:10px;padding-top:9px;border-top:1px solid #e2e8f0}.annual-tax-brackets>div>span{padding-bottom:11px;color:#475569;font-weight:bold}.annual-tax-policy-form>button,.annual-partner-edit-grid button{background:#475569}.annual-tax-password{max-width:420px}.annual-partner-edit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px}.annual-partner-edit-grid form{display:grid;gap:10px;padding:15px;border:1px solid #cbd5e1;border-radius:14px;background:#f8fafc}.annual-partner-edit-grid h3{margin:0;color:#334155}@media(max-width:850px){.annual-tax-fields,.annual-partner-edit-grid{grid-template-columns:1fr}.annual-tax-brackets>div{grid-template-columns:1fr}.annual-tax-brackets>div>span{padding-bottom:0}}
.annual-tax-locked{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:15px;padding:17px;border:1px solid #86efac;border-right:6px solid #16a34a;border-radius:15px;background:#f0fdf4}.annual-tax-locked div{display:grid;gap:5px}.annual-tax-locked span{color:#64748b;font-size:12px}.annual-tax-locked b{color:#166534}.annual-tax-locked p{grid-column:1/-1;margin:3px 0 0;padding-top:10px;border-top:1px solid #bbf7d0}.annual-tax-finalize{border:2px solid #dc2626;background:#fff7f7}.annual-tax-finalize form{display:grid;grid-template-columns:1.4fr 1fr auto;align-items:end;gap:12px;margin-top:14px}.annual-tax-finalize button{background:#b91c1c}.annual-tax-confirm{grid-column:1/-1;display:flex;align-items:center;gap:8px;padding:11px;border-radius:10px;background:#fee2e2;color:#991b1b}.annual-tax-confirm input{width:auto}@media(max-width:850px){.annual-tax-locked,.annual-tax-finalize form{grid-template-columns:1fr}}
.annual-audit-list{display:grid;gap:9px;margin-top:14px}.annual-audit-list article{display:flex;justify-content:space-between;gap:18px;padding:13px 15px;border-right:5px solid #64748b;border-radius:12px;background:#f8fafc}.annual-audit-list article.final{border-color:#16a34a;background:#f0fdf4}.annual-audit-list article>div{display:grid;gap:4px}.annual-audit-list article span{color:#475569}.annual-audit-list article p{margin:0;color:#64748b;line-height:1.7}.annual-audit-list aside{display:grid;align-content:start;gap:4px;min-width:180px;text-align:left}.annual-audit-list time{direction:ltr;color:#64748b;font-size:12px}@media(max-width:700px){.annual-audit-list article{flex-direction:column}.annual-audit-list aside{text-align:right}}
.annual-checklist-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-top:14px}.annual-checklist-summary>div{display:grid;gap:5px;padding:12px;border-radius:11px;background:#f8fafc;border:1px solid #e2e8f0}.annual-checklist-summary span{color:#64748b}.annual-checklist-summary b{color:#334155}.annual-checklist-summary .ready{border-color:#86efac;background:#f0fdf4}.annual-checklist-summary .waiting{border-color:#fcd34d;background:#fffbeb}.annual-document-list{display:grid;gap:11px;margin-top:13px}.annual-document-list article{padding:14px;border-right:5px solid #d97706;border-radius:13px;background:#fffbeb}.annual-document-list article.ready{border-color:#16a34a;background:#f0fdf4}.annual-document-list article.not_applicable{border-color:#64748b;background:#f8fafc}.annual-document-list header{display:flex;justify-content:space-between;gap:15px}.annual-document-list header>div{display:flex;gap:10px;align-items:center}.annual-document-list header span{padding:4px 8px;border-radius:99px;background:#fff;font-size:11px}.annual-document-list header small{color:#64748b}.annual-document-list form{display:grid;grid-template-columns:.8fr 1.3fr 1.3fr 1fr auto;align-items:end;gap:9px;margin-top:12px}.annual-document-list button,.annual-document-add button{background:#475569}.annual-document-list dl{display:grid;grid-template-columns:1fr 2fr;gap:8px;margin:10px 0 0}.annual-document-list dl div{display:flex;gap:8px}.annual-document-list dd{margin:0}.annual-document-add{display:grid;grid-template-columns:1.5fr 1fr auto;align-items:end;gap:10px;margin-top:14px;padding:13px;border:1px dashed #94a3b8;border-radius:12px}.annual-document-empty{padding:18px;border:1px dashed #94a3b8;border-radius:12px;text-align:center;color:#64748b}@media(max-width:900px){.annual-checklist-summary{grid-template-columns:repeat(2,1fr)}.annual-document-list form,.annual-document-add{grid-template-columns:1fr}.annual-document-list header{flex-direction:column}}@media(max-width:520px){.annual-checklist-summary{grid-template-columns:1fr}}
.annual-document-attachments{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:11px}.annual-document-attachments a{display:grid;gap:4px;padding:10px;border:1px solid #bae6fd;border-radius:10px;background:#f0f9ff;color:#0c4a6e;text-decoration:none}.annual-document-attachments span,.annual-document-attachments small{color:#64748b;font-size:11px}.annual-document-upload{grid-template-columns:1.5fr 1fr auto!important;padding:10px;border:1px dashed #38bdf8;border-radius:10px;background:#f0f9ff}.annual-document-upload button{background:#0369a1}.annual-document-upload input[type=file]{padding:7px;background:#fff}@media(max-width:900px){.annual-document-attachments{grid-template-columns:1fr}.annual-document-upload{grid-template-columns:1fr!important}}
