.case-list-row{cursor:pointer}.case-list-row:hover{background:#f1f7f4}.case-list-row .case-number{display:inline-block;font-weight:700;text-decoration:none}.case-list-row .case-number:hover{text-decoration:underline}.case-list-row .case-number:focus-visible{outline:2px solid #117e68;outline-offset:4px;border-radius:3px}.calendar-date-trigger{display:flex;align-items:center;justify-content:space-between;gap:.75rem;width:100%;min-height:44px;padding:.7rem .85rem;border:1px solid var(--border-strong, var(--border));border-radius:var(--radius, 10px);background:var(--surface);text-align:start;cursor:pointer;font-size:var(--text-md, .875rem)}.calendar-date-trigger:disabled{cursor:default;opacity:.7}.calendar-date-trigger[aria-invalid=true]{border-color:var(--danger)}.calendar-date-popover{z-index:100;box-sizing:border-box;width:320px;max-width:calc(100vw - 24px);padding:.75rem;border:1px solid var(--border);border-radius:var(--radius-lg, 14px);background:var(--surface);color:var(--deep);box-shadow:var(--shadow-lg, 0 12px 32px #123d3220)}.calendar-mode{display:flex;gap:.4rem;padding:.25rem;background:var(--surface-2, var(--background));border-radius:8px;margin-bottom:.5rem}.calendar-mode button{flex:1;border:0;background:transparent;border-radius:6px;padding:.4rem;cursor:pointer;font-size:.8rem}.calendar-mode button[aria-pressed=true]{background:var(--primary);color:#fff}.calendar-selectors{display:grid;grid-template-columns:1.2fr 1fr;gap:.6rem}.calendar-selectors .field{min-width:0}.calendar-selectors .field input,.calendar-selectors .select-trigger{width:100%;min-height:38px;font-size:.85rem;padding:.45rem}.calendar-month-navigation{display:flex;align-items:center;justify-content:space-between;margin-block:.45rem;font-size:.85rem}.calendar-month-navigation button{width:32px;height:32px;border:1px solid var(--border);background:var(--surface);border-radius:6px;cursor:pointer;font-size:1.2rem}.calendar-grid{table-layout:fixed;border-collapse:collapse;width:100%}.calendar-grid th,.calendar-grid td{padding:2px!important;text-align:center!important;border:0!important;background:transparent!important}.calendar-grid th{font-size:.7rem;color:var(--muted);font-weight:400}.calendar-grid button{width:100%;height:34px;border:0;background:transparent;border-radius:6px;cursor:pointer;font-size:.85rem}.calendar-grid button:hover{background:var(--primary-soft, var(--tint))}.calendar-grid button[aria-pressed=true]{background:var(--primary);color:#fff}.calendar-date-summary{display:flex;flex-wrap:wrap;gap:.25rem 1rem;font-size:.75rem;color:var(--muted)}.calendar-partial{font-size:.73rem;color:var(--muted)}.calendar-partial summary{cursor:pointer}.calendar-partial .field{margin-block-start:.5rem}.calendar-close{width:100%;margin-top:.5rem;padding:.4rem;border:0;border-radius:6px;background:var(--surface-2, var(--background));cursor:pointer;font-size:.75rem}.calendar-date-popover{max-height:calc(100dvh - 24px);overflow-y:auto;overscroll-behavior:contain}@media(max-height:540px){.calendar-date-popover{padding:.5rem}.calendar-mode{margin-bottom:.3rem}.calendar-month-navigation{margin-block:.25rem}.calendar-grid button{height:30px}}.ee-intake{margin-block:1rem;border:1px solid var(--border);border-radius:12px;padding:1.25rem;background:var(--surface)}.ee-intake h2{font-size:1.1rem;margin-block:1.25rem .65rem}.ee-intake p{line-height:1.9;font-size:.85rem}.intake-progress,.intake-navigation,.intake-save{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap}.ee-intake progress{width:100%;height:6px;accent-color:var(--primary);margin-block:1rem}.intake-fields{display:grid;gap:1.15rem;max-width:700px;margin-block:1rem 1.5rem}.intake-field .field input,.intake-field .select-trigger{font-size:.9rem;min-height:44px}.intake-hint{display:block;margin-block-start:.3rem;line-height:1.7;color:var(--muted);font-size:.73rem}.intake-error{color:var(--danger);margin:0;font-size:.8rem}.intake-checks{display:grid;gap:.7rem}.intake-checks label{display:flex;gap:.6rem;align-items:baseline;font-size:.85rem}.intake-field fieldset{border:1px solid var(--border);border-radius:8px;padding:1rem}.intake-field legend{font-size:.85rem}.intake-records{display:grid;gap:.6rem}.intake-record{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;padding:.8rem;background:var(--background);border-radius:8px}.intake-record span{flex:1;min-width:100px;font-size:.8rem;overflow-wrap:anywhere}.intake-save{margin-block-start:1.5rem;padding-block-start:1rem;border-top:1px solid var(--border);color:var(--muted)}.ee-intake dl{display:grid;gap:.75rem}.ee-intake dt{font-size:.8rem;color:var(--muted)}.ee-intake dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:.9rem}.intake-review details{padding:1rem;border:1px solid var(--border);border-radius:8px;margin-block:.75rem}.intake-review summary{cursor:pointer;font-size:.85rem;line-height:1.8}.intake-review li{font-size:.85rem;line-height:1.9}@media(max-width:640px){.ee-intake{padding:.8rem}.intake-field .field input{font-size:1rem}}.ee-intake>.notice{margin-block:0 .75rem;padding:.7rem .85rem;font-size:.78rem;line-height:1.8}.ee-intake h2{margin-block:.8rem .4rem}.intake-progress{font-size:.8rem}.intake-intro-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem}.ee-intake .intake-yes-no{border:0;margin:0;padding:0;min-inline-size:0}.intake-yes-no legend{font-size:.85rem;font-weight:600;margin-block-end:.65rem;padding:0}.intake-radio-options{display:flex;flex-wrap:wrap;gap:.75rem}.intake-radio-option{display:inline-flex;align-items:center;gap:.55rem;min-height:44px;min-width:88px;padding:.5rem 1rem;border:1px solid var(--border);border-radius:8px;cursor:pointer;font-size:.85rem}.intake-radio-option:has(input:checked){border-color:#117e68;background:#e8f3ee}.intake-radio-option:focus-within{outline:2px solid #117e68;outline-offset:2px}.ee-intake .intake-radio-option input{width:16px;height:16px;min-height:0;margin:0;padding:0;accent-color:#117e68}.intake-yes-no:disabled .intake-radio-option{cursor:default;opacity:.65}.ee-intake .intake-step-heading{scroll-margin-block-start:90px}.ee-intake .intake-step-heading:focus{outline:none}.intake-inline-records{display:grid;gap:.75rem;max-width:700px;margin-block:0 1rem}.ee-intake .intake-inline-records h4{margin:0;font-size:.9rem;line-height:1.6}.intake-inline-records .intake-record-fields{margin-block:0}@media(min-width:768px){.intake-fields{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;column-gap:1.25rem}.intake-fields>*{grid-column:1 / -1;min-width:0}.intake-fields>.intake-field-half{grid-column:auto}}.pdf-form .section-toolbar h2{margin:0}.pdf-form-field{display:grid;gap:.25rem;min-width:0}.pdf-form-field small{color:var(--subtle);font-size:var(--text-xs)}.pdf-form-field small.pdf-form-error{color:var(--danger)}.pdf-form-row{border-top:1px solid var(--border);padding:.8rem 0}.pdf-form-row summary{cursor:pointer;font-weight:600;margin-bottom:.8rem}.pdf-form-submit{position:sticky;bottom:0;justify-content:flex-end;padding:.8rem 0;background:var(--background)}.actions.pdf-history-actions,.actions.pdf-form-tabs{margin-top:0}.actions.pdf-history-actions{flex-wrap:nowrap}.pdf-form-title{display:flex;flex-wrap:wrap;align-items:baseline;gap:.25rem .75rem}@font-face{font-family:Vazirmatn;src:url(/Vazirmatn.woff2) format("woff2");font-display:swap}:root{--primary: #147d64;--primary-hover: #0f6650;--primary-soft: #e8f3ee;--primary-line: #cfe4da;--deep: #123d32;--text: #17322b;--muted: #5f7169;--subtle: #8a9a93;--gold: #c9a663;--gold-soft: #faf3e3;--gold-text: #82621f;--background: #f5f7f6;--surface: #fff;--surface-2: #f9fbfa;--border: #e3e9e6;--border-strong: #cfd9d4;--danger: #a22f35;--danger-soft: #fbecec;--tint: var(--primary-soft);--focus: 0 0 0 3px #c9a66366;--radius-sm: 6px;--radius: 10px;--radius-lg: 14px;--shadow-sm: 0 1px 2px #123d320d;--shadow: 0 1px 2px #123d320a, 0 4px 16px #123d320a;--shadow-lg: 0 24px 64px #0b241e33;--space-1: .25rem;--space-2: .5rem;--space-3: .75rem;--space-4: 1rem;--space-5: 1.5rem;--space-6: 2rem;--text-xs: .75rem;--text-sm: .8125rem;--text-md: .875rem;--text-lg: 1rem;--text-xl: 1.25rem;--text-2xl: 1.75rem;--sidebar-width: 248px;--topbar-height: 60px;font-family:Vazirmatn,Arial,sans-serif;font-size:16px;color:var(--text);background:var(--background);font-synthesis:none;-webkit-font-smoothing:antialiased}*,*:before,*:after{box-sizing:border-box}body{margin:0;background:var(--background);color:var(--text);font-size:var(--text-md);line-height:1.7}button,input,textarea,select{font:inherit;color:inherit}:where(button,a,input,textarea,select,[tabindex]):focus-visible{outline:none;box-shadow:var(--focus)}h1,h2,h3,p{margin-top:0}h1{font-size:var(--text-xl);font-weight:700;line-height:1.4;margin-bottom:0;color:var(--deep)}h2{font-size:var(--text-lg);font-weight:650;margin-bottom:var(--space-4);color:var(--deep)}h3{font-size:var(--text-md);font-weight:650;color:var(--deep)}p{line-height:1.9}small{display:block;color:var(--muted);font-size:var(--text-xs);line-height:1.6}a{color:var(--primary)}pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:var(--text-sm);line-height:1.9;margin:0}.muted{color:var(--muted);font-size:var(--text-sm)}.stack{display:grid;gap:var(--space-4)}.button{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-2);min-height:38px;padding:.45rem .95rem;border:1px solid transparent;border-radius:var(--radius);font-size:var(--text-sm);font-weight:600;line-height:1.5;cursor:pointer;transition:background .15s,border-color .15s,color .15s}.button-primary{color:#fff;background:var(--primary)}.button-primary:hover:not(:disabled){background:var(--primary-hover)}.button-secondary{color:var(--deep);border-color:var(--border-strong);background:var(--surface);font-weight:500}.button-secondary:hover:not(:disabled){background:var(--surface-2);border-color:var(--subtle)}.button-nav{justify-content:flex-start;background:transparent;color:var(--muted);font-weight:500;text-align:start}.button-nav:hover:not(:disabled){background:var(--surface-2);color:var(--deep)}.button-icon{width:40px;min-height:40px;padding:0;background:transparent;color:var(--deep)}.button-icon:hover{background:var(--surface-2)}.button:disabled{opacity:.5;cursor:default}.card{min-width:0;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:var(--space-5);box-shadow:var(--shadow-sm)}.card form+form{border-top:1px solid var(--border);padding-top:var(--space-4);margin-top:var(--space-5)}.badge{display:inline-block;padding:.15rem .6rem;border-radius:999px;background:var(--primary-soft);color:var(--primary);font-size:var(--text-xs);font-weight:500;white-space:nowrap}.status-changes_requested,.status-client_approval{background:var(--gold-soft);color:var(--gold-text)}.status-submitted,.status-approved{background:var(--primary-soft);color:var(--primary)}.badge-muted{background:#eef1f0;color:var(--muted)}.feedback{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-3);padding:var(--space-3) var(--space-4);border-radius:var(--radius);background:var(--danger-soft);color:var(--danger);font-size:var(--text-sm);line-height:1.8}[role=status]{color:var(--muted)}.empty{padding:var(--space-6);text-align:center;color:var(--muted)}.notice{margin:var(--space-4) 0 0;padding:var(--space-3) var(--space-4);border-inline-start:3px solid var(--gold);border-radius:var(--radius-sm);background:var(--gold-soft);font-size:var(--text-sm)}.empty-state{display:flex;flex-direction:column;align-items:center;gap:var(--space-3);padding:2.5rem var(--space-4);text-align:center;color:var(--muted)}.empty-state>svg{box-sizing:content-box;padding:14px;border-radius:16px;background:var(--primary-soft);color:var(--primary)}.empty-state h3{margin:var(--space-2) 0 0}.empty-state p{max-width:340px;margin:0;font-size:var(--text-sm)}form{display:grid;gap:var(--space-4)}.field{display:grid;gap:.375rem;min-width:0}.field label{font-size:var(--text-sm);font-weight:600;color:var(--deep)}.field input,.field textarea,.field select{width:100%;min-height:42px;padding:.55rem .75rem;border:1px solid var(--border-strong);border-radius:var(--radius);background:var(--surface);color:var(--text);font-size:var(--text-md);transition:border-color .15s}.field input:hover,.field textarea:hover{border-color:var(--subtle)}.field input:focus-visible,.field textarea:focus-visible,.field select:focus-visible{border-color:var(--primary)}.field input::placeholder,.field textarea::placeholder{color:var(--subtle);opacity:1}.field textarea{resize:vertical;line-height:1.8}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-4)}.form-hint{margin:0;color:var(--muted);font-size:var(--text-sm);line-height:1.9}.actions{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-2);margin-top:var(--space-5)}.check-row{display:flex;align-items:center;gap:var(--space-3);padding:var(--space-3);border:1px solid var(--border);border-radius:var(--radius);background:var(--surface-2);font-size:var(--text-sm);cursor:pointer}.check-row:has(input:checked){border-color:var(--primary-line);background:var(--primary-soft)}.check-row input{width:17px;height:17px;accent-color:var(--primary)}.check-row small{margin-top:.125rem}.auth{min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--space-5);padding:var(--space-6) var(--space-4);background:radial-gradient(ellipse at top right,#c9a66318,transparent 60%)}.auth>.card{width:min(100%,440px)}.auth-form{display:flex;flex-direction:column;align-items:center;gap:var(--space-5);width:100%}.auth-form>.card{width:min(100%,420px)}.auth-art{display:none}.language-switch{position:fixed;top:var(--space-3);inset-inline-end:var(--space-4);z-index:10}.topbar-actions .language-switch{position:static}.language-switch .button{min-height:34px;padding:.3rem .6rem;gap:.35rem;border-color:var(--border);background:var(--surface);color:var(--muted);font-size:var(--text-xs);font-weight:500}.language-switch .button:hover{color:var(--primary);background:var(--primary-soft)}.language-switch svg{width:15px;height:15px}@media(min-width:900px){.auth-split{display:grid;grid-template-columns:1fr 1fr;align-items:stretch;gap:0;padding:var(--space-5)}.auth-split .auth-form{justify-content:center;padding:3rem 2.5rem}.auth-split .auth-form>.card{border:0;box-shadow:none;padding:0;background:transparent}.auth-split .brand-logo{align-self:flex-start;margin-inline-start:max(0px,calc((100% - 420px)/2))}.auth-art{display:block;position:relative;min-height:calc(100dvh - 3rem);border-radius:24px;overflow:hidden;background:var(--deep)}.auth-art img{position:absolute;width:100%;height:100%;object-fit:cover}}.brand-logo{width:168px;max-width:100%}.brand-logo img{display:block;width:100%;height:auto}.workspace{display:grid;grid-template-columns:var(--sidebar-width) minmax(0,1fr);min-height:100dvh}.sidebar{position:sticky;top:0;height:100dvh;display:flex;flex-direction:column;gap:var(--space-4);padding:var(--space-5) var(--space-3) var(--space-4);background:var(--surface);border-inline-end:1px solid var(--border);overflow-y:auto}.sidebar-brand{padding:0 var(--space-3) var(--space-4);border-bottom:1px solid var(--border)}.sidebar-brand .brand-logo{width:128px}.workspace-label{display:block;margin-top:var(--space-1);color:var(--muted);font-size:var(--text-xs)}.sidebar nav{display:grid;gap:2px}.sidebar nav .button,.sidebar-footer .button{width:100%;min-height:42px;gap:var(--space-3);padding:.5rem var(--space-3);font-size:var(--text-md)}.sidebar nav .button>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar nav .button[aria-current=page]{position:relative;background:var(--primary-soft);color:var(--primary);font-weight:650}.sidebar nav .button[aria-current=page]:before{content:"";position:absolute;inset-block:9px;inset-inline-start:-.75rem;width:3px;border-radius:3px;background:var(--primary)}.sidebar-footer{display:grid;gap:var(--space-2);margin-top:auto;padding-top:var(--space-4);border-top:1px solid var(--border)}.account-info{display:flex;align-items:center;gap:var(--space-3);min-width:0;padding:0 var(--space-2)}.account-info>div{min-width:0}.account-info b{display:block;font-size:var(--text-sm);font-weight:650;color:var(--deep)}.account-info small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.avatar{display:inline-grid;place-items:center;flex-shrink:0;width:36px;height:36px;border-radius:50%;background:var(--primary-soft);color:var(--primary);font-size:var(--text-sm);font-weight:700}.avatar-large{width:52px;height:52px;font-size:var(--text-xl)}.sidebar-scrim{display:none}.workspace-main{display:flex;flex-direction:column;min-width:0}.workspace-topbar{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:var(--space-3);height:var(--topbar-height);padding:0 var(--space-6);background:color-mix(in srgb,var(--surface) 88%,transparent);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-bottom:1px solid var(--border)}.workspace-topbar h1{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--text-lg)}.topbar-actions{display:flex;align-items:center;gap:var(--space-2)}.menu-toggle{display:none}.content{width:100%;max-width:1400px;margin-inline:auto;padding:var(--space-5) var(--space-6) var(--space-6)}.workspace-footer{display:flex;justify-content:center;gap:var(--space-2);margin-top:auto;padding:var(--space-5);color:var(--subtle);font-size:var(--text-xs)}.section-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:var(--space-4)}.section-toolbar>.field{flex:1;max-width:360px}.section-toolbar p{margin:0}.section-toolbar .field label{color:var(--muted);font-size:var(--text-xs);font-weight:500}.filter-row{display:flex;flex:1;gap:var(--space-3)}.filter-row>.field{flex:1;min-width:170px;max-width:330px}.search-field{position:relative;flex:1;max-width:380px}.search-field>svg{display:none}.table-title{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);margin-bottom:var(--space-4)}.table-title h2{margin:0}.table-scroll{overflow-x:auto;margin-inline:calc(var(--space-5) * -1)}table{width:100%;border-collapse:collapse;font-size:var(--text-sm);white-space:nowrap}th{padding:.6rem var(--space-5);background:var(--surface-2);border-block:1px solid var(--border);color:var(--muted);font-size:var(--text-xs);font-weight:600;text-align:start}td{padding:.85rem var(--space-5);border-bottom:1px solid var(--border);vertical-align:middle}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:var(--surface-2)}.person-cell{display:flex;align-items:center;gap:var(--space-3)}.person-cell b{font-weight:600}.case-number{color:var(--primary);font-family:ui-monospace,monospace;font-size:var(--text-sm)}.user-email{text-align:left}[dir=rtl] .user-email{text-align:right}.pagination{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);margin-top:var(--space-4);padding-top:var(--space-4);border-top:1px solid var(--border);color:var(--muted);font-size:var(--text-xs)}.pagination>div{display:flex;align-items:center;gap:var(--space-3)}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--space-4)}.metric-top{display:flex;align-items:center;justify-content:space-between;gap:var(--space-2);color:var(--muted);font-size:var(--text-sm)}.metric-top svg{box-sizing:content-box;padding:7px;border-radius:var(--radius);background:var(--primary-soft);color:var(--primary)}.metric-value{display:block;margin-top:var(--space-2);color:var(--deep);font-size:var(--text-2xl);font-weight:700;line-height:1.4}.metric-caption{color:var(--subtle);font-size:var(--text-xs)}.overview-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:var(--space-4)}.status-list{display:grid;gap:var(--space-4)}.status-label{display:flex;justify-content:space-between;margin-bottom:var(--space-2);font-size:var(--text-sm)}.status-track{height:6px;overflow:hidden;border-radius:6px;background:#edf2ef}.status-track span{display:block;height:100%;border-radius:6px;background:var(--primary)}.activity-list{display:grid}.activity-list article{display:flex;gap:var(--space-3);padding:var(--space-3) 0;border-bottom:1px solid var(--border);font-size:var(--text-sm)}.activity-list article:last-child{border-bottom:0}.activity-list p{margin:.125rem 0;color:var(--muted)}.activity-dot{flex-shrink:0;width:8px;height:8px;margin-top:.5rem;border-radius:50%;background:var(--gold)}.profile-heading{display:flex;align-items:center;gap:var(--space-4);margin-bottom:var(--space-5)}.profile-heading h3{margin:0}.subheading{margin-top:var(--space-6)}.linked-row{display:flex;align-items:center;justify-content:space-between;gap:var(--space-4);padding:var(--space-3) 0;border-bottom:1px solid var(--border);font-size:var(--text-sm)}.linked-row .button{flex-shrink:0}.family-section{display:grid;gap:var(--space-4);margin-top:var(--space-6);padding-top:var(--space-5);border-top:1px solid var(--border)}.process-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:var(--space-4)}.process-grid .card{display:flex;flex-direction:column;gap:var(--space-4)}.process-grid h2{margin:0}.process-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:var(--radius);background:var(--primary-soft);color:var(--primary)}.process-facts{display:flex;justify-content:space-between;gap:var(--space-3);padding:var(--space-4) 0;border-block:1px solid var(--border)}.process-facts span{color:var(--muted);font-size:var(--text-xs)}.process-facts b{display:block;margin-top:var(--space-1);color:var(--deep);font-size:var(--text-lg)}.editor-tabs{display:flex;flex-wrap:wrap;gap:var(--space-2);margin-bottom:var(--space-5)}.supervisor-options{display:grid;gap:var(--space-2);max-height:320px;overflow:auto}.configuration-fields{display:grid;gap:var(--space-4);min-width:0;margin:0;padding:0;border:0}.configuration-fields:disabled{opacity:.8}.configuration-heading,.row-heading{display:flex;align-items:center;justify-content:space-between;gap:var(--space-2)}.configuration-heading{margin-top:var(--space-2)}.configuration-heading h3{margin:0}.configuration-row{display:grid;gap:var(--space-4);padding:var(--space-4);border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface-2)}.row-heading b{font-size:var(--text-sm)}.configuration-row .button{min-height:30px;padding:.25rem .6rem;font-size:var(--text-xs)}.detail-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--space-4)}.detail-heading h2{margin-bottom:var(--space-2)}.detail-heading p{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-2);margin:0;color:var(--muted)}.section-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-4);margin-top:var(--space-5)}.section-grid section{padding:var(--space-4);border:1px solid var(--border);border-radius:var(--radius);background:var(--surface-2)}.conversation{margin-block:var(--space-5);padding-block:var(--space-5);border-block:1px solid var(--border)}.conversation-heading h3{margin:0 0 var(--space-1)}.conversation-messages{display:flex;flex-direction:column;gap:var(--space-3);max-height:440px;overflow-y:auto;padding:var(--space-4) var(--space-1)}.conversation-message{align-self:flex-start;width:min(88%,620px);padding:var(--space-3) var(--space-4);border:1px solid var(--border);border-radius:var(--radius-lg);border-start-start-radius:var(--radius-sm);background:var(--surface-2)}.conversation-message.is-own{align-self:flex-end;border-color:var(--primary-line);border-start-start-radius:var(--radius-lg);border-start-end-radius:var(--radius-sm);background:var(--primary-soft)}.conversation-message header{display:flex;flex-wrap:wrap;align-items:baseline;gap:var(--space-1) var(--space-3);font-size:var(--text-sm)}.conversation-message header span,.conversation-message time{color:var(--muted);font-size:var(--text-xs)}.conversation-message p{margin:var(--space-2) 0 0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8}.conversation-compose{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3)}.dialog{width:min(720px,calc(100vw - 2rem));max-height:calc(100dvh - 3rem);padding:var(--space-5);border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);color:var(--text);box-shadow:var(--shadow-lg);font-family:inherit}.dialog::backdrop{background:#0b241e70;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.dialog>header{display:flex;align-items:center;justify-content:space-between;gap:var(--space-4);margin-bottom:var(--space-5);padding-bottom:var(--space-4);border-bottom:1px solid var(--border)}.dialog>header h2{margin:0;font-size:var(--text-lg)}.dialog>header .button{width:36px;min-height:36px;padding:0}.select-trigger{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);width:100%;min-height:42px;padding:.55rem .75rem;border:1px solid var(--border-strong);border-radius:var(--radius);background:var(--surface);color:var(--text);font-size:var(--text-md);text-align:start;cursor:pointer}.select-trigger[data-state=open]{border-color:var(--primary)}.select-trigger[data-placeholder]{color:var(--subtle)}.select-trigger:disabled{opacity:.55;cursor:default;background:var(--background)}.select-chevron,.select-check{display:flex;flex-shrink:0}.select-chevron{color:var(--muted)}.select-check{color:var(--primary)}.select-menu,.search-select-menu{z-index:100;max-width:calc(100vw - 20px);border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);color:var(--text);box-shadow:var(--shadow),0 8px 28px #123d321a;font-family:Vazirmatn,Arial,sans-serif;font-size:var(--text-sm)}.select-menu{width:var(--radix-select-trigger-width);max-height:min(300px,var(--radix-select-content-available-height));overflow:hidden}.select-viewport{padding:5px}.select-option{position:relative;display:flex;align-items:center;justify-content:space-between;gap:var(--space-4);min-height:36px;padding:var(--space-2) .65rem;border-radius:var(--radius-sm);line-height:1.65;cursor:pointer;-webkit-user-select:none;user-select:none;outline:none}.select-option[data-highlighted]{background:var(--surface-2);color:var(--primary)}.select-option[data-state=checked]{background:var(--primary-soft);color:var(--primary);font-weight:600}.select-option[data-disabled]{opacity:.4;cursor:default}.select-scroll{display:flex;align-items:center;justify-content:center;height:22px;background:var(--surface);color:var(--muted)}.search-select-menu{width:var(--radix-popover-trigger-width);max-height:var(--radix-popover-content-available-height);overflow:auto;padding:6px}.search-select-input{width:100%;margin-bottom:5px;padding:.55rem .65rem;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-2)}.search-select-results{max-height:220px;overflow:auto}.search-select-menu .feedback,.search-select-menu>p{margin:0;padding:var(--space-2);font-size:var(--text-xs)}.search-select-pagination{display:flex;justify-content:space-between;margin-top:5px;padding-top:5px;border-top:1px solid var(--border)}@media(max-width:1100px){.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.content,.workspace-topbar{padding-inline:var(--space-5)}}@media(max-width:900px){.workspace{display:block}.sidebar{position:fixed;inset-block:0;inset-inline-start:0;z-index:40;width:min(84vw,300px);height:100dvh;box-shadow:var(--shadow-lg);transform:translate(-105%);visibility:hidden;transition:transform .2s ease,visibility .2s}[dir=rtl] .sidebar{transform:translate(105%)}.menu-open .sidebar{transform:none;visibility:visible}.menu-open .sidebar-scrim{display:block;position:fixed;top:0;right:0;bottom:0;left:0;z-index:30;background:#0b241e59}.menu-toggle{display:inline-flex;margin-inline-start:calc(var(--space-2) * -1)}.workspace-topbar{padding-inline:var(--space-4)}.content{padding:var(--space-4)}.overview-grid,.section-grid,.form-grid{grid-template-columns:1fr}.section-toolbar{flex-direction:column;align-items:stretch}.section-toolbar>.field,.search-field{max-width:none}.filter-row{flex-wrap:wrap}.card{padding:var(--space-4)}.table-scroll{margin-inline:calc(var(--space-4) * -1)}th,td{padding-inline:var(--space-4)}.dialog{padding:var(--space-4)}}@media(max-width:560px){.metric-grid{gap:var(--space-3)}.metric-value{font-size:var(--text-xl)}.language-switch span{display:none}.field input,.field textarea,.select-trigger{font-size:1rem}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}
