:root{--brand:#c9a84c;--brand-deep:#8b6f1f;--brand-soft:#faf7ec;--brand-mid:#d4b45c;--brand-light:#efe4bc;--bg:#f7f5ef;--bg-accent:#f1eee4;--surface:#fff;--ink:#2a2416;--muted:#6f664f;--line:#e8e0cc;--amber:#b45309;--amber-soft:#fff4e5;--rose:#be123c;--rose-soft:#ffe8ee;--sky:#a8892a;--sky-soft:var(--brand-soft);--shadow:0 12px 28px rgba(var(--brand-deep-rgb), .09);--radius:8px;--font-ar:"Cairo", Tahoma, sans-serif;--font-en:"Roboto", Arial, sans-serif;--font:var(--font-ar);--display:var(--font-ar);--surface-rgb:255, 255, 255;--brand-rgb:201, 168, 76;--brand-deep-rgb:139, 111, 31;--rose-rgb:190, 18, 60;--success:#15803d;--success-rgb:21, 128, 61;--success-soft:#e8f8ef;--brand-ink:#6f5816;--brand-line:#c9b87a;--cream:#f7f3e8;--cream-bright:#fffef9;--cream-line:#d9cfaa;--paper:#faf8f2;--paper-bright:#fffefb;--surface-cool:#f8fbfc;--surface-mist:#f3f8fa;--surface-cloud:#fbfcfd;--surface-ice:#f4f9fa;--surface-pale:#f7fafb;--line-strong:#ebe4d4;--line-soft:#f0ebe0;--line-cool:#e2ecef;--line-mist:#e4eef1;--line-ice:#d7e8ec;--line-aqua:#d7e4e8;--line-slate:#dde8ed;--line-sand:#e4dcc8;--line-taupe:#e6dfcf;--line-pearl:#e6decc;--line-gold:#e2d9c0;--rose-deep:#9f1239;--rose-hot:#e11d48;--rose-bright:#f43f5e;--danger-soft:#fff1f2;--danger-softer:#fff5f5;--amber-deep:#c2410c;--amber-hot:#ea580c;--amber-bright:#f59e0b;--slate:#64748b}html[lang=en],html[dir=ltr]{--font:var(--font-en);--display:var(--font-en)}html[lang=ar],html[dir=rtl]{--font:var(--font-ar);--display:var(--font-ar)}*{box-sizing:border-box;margin:0;padding:0}html,body,#root{width:100%;max-width:100%;min-height:100%}html{scrollbar-gutter:auto;overflow-x:clip}body{font-family:var(--font);color:var(--ink);background:var(--bg);margin:0;overflow-x:clip}*{scrollbar-width:thin;scrollbar-color:rgba(var(--brand-rgb), .45) transparent}::-webkit-scrollbar{width:7px;height:7px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background-color:rgba(var(--brand-rgb), .32);background-clip:padding-box;border:2px solid #0000;border-radius:8px}::-webkit-scrollbar-thumb:hover{background-color:rgba(var(--brand-rgb), .52)}::-webkit-scrollbar-thumb:active{background-color:#0a5466a6}::-webkit-scrollbar-corner{background:0 0}.modal-body,.auto-textarea,.notes-modal-list,.table-wrap,.users-table-wrap{scrollbar-color:rgba(var(--brand-rgb), .5) rgba(var(--brand-deep-rgb), .06)}.modal-body::-webkit-scrollbar-thumb{background-color:rgba(var(--brand-rgb), .38)}.auto-textarea::-webkit-scrollbar-thumb{background-color:rgba(var(--brand-rgb), .38)}.notes-modal-list::-webkit-scrollbar-thumb{background-color:rgba(var(--brand-rgb), .38)}.table-wrap::-webkit-scrollbar-thumb{background-color:rgba(var(--brand-rgb), .38)}.users-table-wrap::-webkit-scrollbar-thumb{background-color:rgba(var(--brand-rgb), .38)}button,input,select,textarea{font:inherit}button{cursor:pointer}.lang-toggle{border:1px solid var(--line);background:var(--brand-soft);width:84px;color:var(--muted);border-radius:999px;grid-template-columns:1fr 1fr;place-items:center;padding:3px;display:grid;position:relative}.lang-toggle span{z-index:1;place-items:center;width:100%;height:100%;font-size:.72rem;font-weight:700;line-height:1;display:grid;position:relative}.lang-toggle.is-ar span:first-of-type,.lang-toggle.is-en span:last-of-type{color:var(--surface)}.lang-toggle i{background:var(--brand-deep);width:calc(50% - 3px);box-shadow:0 1px 4px rgba(var(--brand-rgb), .22);border-radius:999px;transition:inset-inline-start .18s;position:absolute;top:3px;bottom:3px}.lang-toggle.is-ar i{inset-inline-start:3px}.lang-toggle.is-en i{inset-inline-start:50%}.brand{min-width:0;height:var(--topbar-h);justify-self:start;align-items:center;gap:10px;display:flex}.brand-logo,.empty-logo,.modal-logo{object-fit:contain;display:block}.brand-logo{object-fit:contain;flex:none;width:40px;height:40px}.page-nav{min-width:0;height:var(--topbar-h);background:0 0;border:0;justify-self:center;align-items:center;gap:6px;padding:0;display:flex}.page-link{color:#5d757d;white-space:nowrap;background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;gap:8px;height:100%;padding:0 12px;font-size:.92rem;font-weight:600;transition:color .16s;display:inline-flex;position:relative}.page-link em{min-width:22px;height:20px;color:var(--brand-deep);background:#eef4f6;border-radius:999px;place-items:center;padding:0 6px;font-size:.72rem;font-style:normal;font-weight:700;display:inline-grid}.page-link.is-active{color:var(--brand-deep);font-weight:700}.page-link.is-active:after{content:"";inset-inline:10px;background:var(--brand);border-radius:999px;height:2px;position:absolute;bottom:1px}.page-link.is-active em{background:var(--brand-soft);color:var(--brand)}.page-link:hover:not(.is-active){color:var(--brand-deep)}.lang-switch{height:var(--topbar-h);border:1px solid var(--line);box-sizing:border-box;background:#f3f7f9;border-radius:10px;flex:none;align-items:center;gap:2px;padding:3px;display:inline-flex}.lang-btn{color:var(--muted);background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;min-width:42px;height:100%;padding:0 11px;font-size:.78rem;font-weight:700;display:inline-flex}.lang-btn.is-active{background:var(--brand);color:var(--surface)}html[dir=ltr] .data-table th,html[dir=ltr] .data-table td{text-align:center}html[dir=ltr] .ui-select-trigger,html[dir=ltr] .ui-select-option,html[dir=ltr] .field label{text-align:left}.btn{border:0;border-radius:8px;padding:10px 14px;transition:transform .16s,background .16s,box-shadow .16s}.btn:hover{transform:translateY(-1px)}.btn-primary{background:var(--brand-deep);color:var(--surface)}.btn-primary:hover{background:var(--brand-ink)}.btn-secondary{background:var(--surface);color:var(--ink);border:1px solid var(--line)}.btn-danger{background:var(--rose-soft);color:var(--rose)}.btn-ghost{color:var(--muted);background:0 0}.projects-panel.panel{padding:20px 20px 18px;box-shadow:0 1px 3px #1827300a}.projects-panel.panel:before{height:2px}.projects-panel .projects-panel-hero{box-shadow:none;border:none;border-bottom:1px solid var(--line);background:0 0;border-radius:0;margin:0 0 8px;padding:0 0 16px;overflow:visible}.projects-panel .projects-panel-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px 16px;min-width:0;margin-bottom:14px;display:flex}.projects-panel .projects-panel-head h1{letter-spacing:-.01em;color:var(--brand-deep);white-space:normal;margin:0;font-size:clamp(1.2rem,1.9vw,1.42rem);font-weight:700;line-height:1.3}.modal.matter-update-modal{box-sizing:border-box;border-radius:16px;flex-direction:column;place-self:center;width:min(680px,100%);min-width:0;height:auto;max-height:calc(100dvh - 24px);display:flex;overflow:hidden}.matter-update-head{border-bottom:1px solid #f1e8d2;flex:none;justify-content:space-between;align-items:flex-start;gap:16px;padding:18px 20px 16px;display:flex}.matter-update-heading{text-align:start;gap:4px;min-width:0;display:grid}.modal.matter-update-modal .matter-update-heading h2{color:#1a2332;margin:0;font-size:1.45rem;font-weight:800;line-height:1.25}.matter-update-sub{color:var(--muted);margin:0;font-size:.88rem;font-weight:600;line-height:1.5}.matter-update-close{background:var(--surface);color:#3a3224;cursor:pointer;border:1px solid #e6decc;border-radius:8px;flex:none;place-items:center;width:36px;height:36px;margin:0;padding:0;display:grid}.matter-update-close svg{width:16px;height:16px}.matter-update-close:hover{border-color:var(--brand-line);background:var(--cream)}.matter-update-close:focus-visible{border-color:var(--brand);box-shadow:0 0 0 3px rgba(var(--brand-rgb), .2);outline:none}.matter-update-body{flex:auto;align-content:start;gap:8px;min-width:0;min-height:0;padding:18px 20px 8px;display:grid;overflow:hidden auto}.matter-update-owner{box-sizing:border-box;background:#fbfaf6;border:1px solid #eadfc4;border-radius:12px;justify-content:flex-start;align-items:center;gap:12px;width:100%;max-width:100%;min-height:40px;margin:0;padding:8px 14px;display:flex}.matter-update-owner span{color:#6f664f;font-size:.82rem;font-weight:700;line-height:1.2}.matter-update-owner strong{color:#1c1914;font-size:.95rem;font-weight:800;line-height:1.2}.matter-update-label{color:#6f664f;text-align:start;font-size:.82rem;font-weight:700;line-height:1.4}.matter-update-details{background:var(--surface);color:#1c1914;width:100%;height:auto;min-height:96px;font:inherit;resize:none;box-sizing:border-box;border:1px solid #d7c48a;border-radius:12px;margin:0 0 8px;padding:14px 16px;font-size:.92rem;font-weight:600;line-height:1.7;overflow:hidden}.matter-update-details::placeholder{color:#b3aa96;font-weight:600}.matter-update-details:focus{border-color:var(--brand);box-shadow:0 0 0 3px rgba(var(--brand-rgb), .16);outline:none}.matter-update-recipient{background:var(--surface);color:#1c1914;width:100%;font:inherit;box-sizing:border-box;border:1px solid #d7c48a;border-radius:12px;margin:6px 0 0;padding:12px 14px;font-size:.92rem;font-weight:600}.matter-update-recipient:focus{border-color:var(--brand);box-shadow:0 0 0 3px rgba(var(--brand-rgb), .16);outline:none}.matter-recipient{gap:6px;display:grid}.matter-recipient-trigger{background:var(--surface);color:#1c1914;width:100%;min-height:52px;font:inherit;text-align:start;cursor:pointer;box-sizing:border-box;border:1px solid #d7c48a;border-radius:12px;align-items:center;gap:10px;margin:0;padding:8px 12px;display:flex}.matter-recipient.is-open .matter-recipient-trigger,.matter-recipient-trigger:focus-visible{border-color:var(--brand);box-shadow:0 0 0 3px rgba(var(--brand-rgb), .16);outline:none}.matter-recipient-placeholder{color:#8d846e;flex:auto;min-width:0;font-size:.92rem;font-weight:600}.matter-recipient-chevron{color:#8a7d62;flex:none;margin-inline-start:auto;display:inline-flex}.matter-recipient-chevron svg,.matter-recipient-check svg{width:18px;height:18px;display:block}.matter-recipient.is-open .matter-recipient-chevron{transform:rotate(180deg)}.matter-recipient-menu{z-index:200;overscroll-behavior:contain;scrollbar-gutter:stable;box-sizing:border-box;background:#fffdf8;border:1px solid #e6d7b0;border-radius:14px;align-content:start;gap:2px;margin:0;padding:6px;display:grid;position:fixed;overflow:hidden auto;box-shadow:0 16px 40px #1c191429}.matter-recipient-menu::-webkit-scrollbar{width:8px}.matter-recipient-menu::-webkit-scrollbar-thumb{background:#d4c39a;border:2px solid #fffdf8;border-radius:99px}.matter-recipient-group p,.matter-recipient-empty{z-index:1;color:#8a7d62;background:#fffdf8;margin:0;padding:8px 10px 6px;font-size:.75rem;font-weight:800;position:sticky;top:0}.matter-recipient-group button{color:#1c1914;width:100%;min-height:48px;font:inherit;text-align:start;cursor:pointer;background:0 0;border:0;border-radius:10px;align-items:center;gap:10px;margin:0;padding:7px 8px;display:flex}.matter-recipient-group button:hover,.matter-recipient-group button.is-selected{background:#f6f0e2}.matter-recipient-avatar{color:#fff;background:#9a7b32;border-radius:50%;flex:none;place-items:center;width:32px;height:32px;font-size:.82rem;font-weight:800;display:inline-grid}.matter-recipient-avatar.is-admin{background:#1d4ed8}.matter-recipient-copy{flex:auto;gap:1px;min-width:0;display:grid}.matter-recipient-copy strong,.matter-recipient-copy em{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.matter-recipient-copy strong{font-size:.92rem;font-weight:800}.matter-recipient-copy em{color:#6f664f;font-size:.78rem;font-style:normal;font-weight:700}.matter-recipient-check{color:var(--brand-deep,#1d4ed8);flex:none;display:inline-flex}.matter-update-attach{gap:10px;margin-bottom:8px;display:grid}.matter-update-attach-row{justify-content:space-between;align-items:center;gap:12px;min-height:40px;display:flex}.matter-update-attach .matter-update-label{white-space:nowrap;flex:none}.matter-update-file{background:var(--surface);color:#1c1914;cursor:pointer;border:1px solid #e4dcc8;border-radius:10px;flex:0 auto;justify-content:center;align-items:center;gap:8px;min-width:0;max-width:100%;min-height:40px;padding:0 14px;font-size:.88rem;font-weight:700;display:inline-flex;position:relative}.matter-update-file input{opacity:0;cursor:pointer;width:100%;height:100%;margin:0;font-size:0;position:absolute;inset:0}.matter-update-file svg{flex:none;width:16px;height:16px}.matter-update-file span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.matter-update-file:hover{border-color:var(--brand-line);background:var(--cream)}.matter-update-files{flex-wrap:wrap;align-items:flex-start;gap:8px;min-width:0;margin:0;padding:0;list-style:none;display:flex}.matter-update-file-item{background:var(--cream-bright);box-sizing:border-box;border:1px solid #e6decc;border-radius:12px;align-items:center;gap:6px;min-width:0;max-width:100%;height:40px;margin:0;padding-block:4px;padding-inline:6px 4px;display:inline-flex;position:relative}.matter-update-file-item.is-image{width:72px;height:72px;padding:0;overflow:hidden}.matter-update-file-item.is-file{flex-direction:column;justify-content:flex-end;align-items:center;gap:4px;width:84px;height:84px;padding:22px 6px 8px}.matter-update-file-preview{object-fit:cover;background:#f7f1dc;width:100%;height:100%;display:block}.matter-update-file-doc{width:28px;height:28px;color:var(--brand-deep);background:#f7f1dc;border-radius:8px;flex:none;place-items:center;display:grid}.matter-update-file-doc svg{width:16px;height:16px}.matter-update-file-name{color:#1c1914;text-align:center;white-space:nowrap;flex:none;max-width:100%;font-size:.72rem;font-weight:800;line-height:1.2;overflow:hidden}.matter-update-file-remove{color:#6f664f;cursor:pointer;background:0 0;border:0;border-radius:8px;flex:none;place-items:center;width:24px;height:24px;margin:0;padding:0;display:grid}.matter-update-file-item.is-image .matter-update-file-remove,.matter-update-file-item.is-file .matter-update-file-remove{color:#fff;background:#1c1914b8;border-radius:999px;width:20px;height:20px;position:absolute;inset-block-start:4px;inset-inline-end:4px}.matter-update-file-remove svg{width:12px;height:12px}.matter-update-file-remove:hover{color:#c43b55;background:#fff1f3}.matter-update-file-item.is-image .matter-update-file-remove:hover,.matter-update-file-item.is-file .matter-update-file-remove:hover{color:#fff;background:#c43b55}.matter-update-select{margin-bottom:8px;position:relative}.matter-assignee{width:100%}.matter-assignee-trigger{background:var(--surface);color:#1c1914;width:100%;height:48px;font:inherit;text-align:start;cursor:pointer;box-sizing:border-box;border:1px solid #e6decc;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;padding-inline:16px 14px;font-size:.95rem;font-weight:800;display:flex}.matter-assignee-trigger span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.matter-assignee-chevron{width:18px;height:18px;color:var(--brand-deep);flex:none;transition:transform .16s}.matter-assignee.is-open .matter-assignee-chevron{transform:rotate(180deg)}.matter-assignee-trigger:hover,.matter-assignee.is-open .matter-assignee-trigger{border-color:var(--brand-line);background:var(--cream-bright)}.matter-assignee-trigger:focus-visible{border-color:var(--brand);box-shadow:0 0 0 3px rgba(var(--brand-rgb), .16);outline:none}.matter-assignee-menu{background:var(--surface);box-shadow:0 16px 36px rgba(var(--brand-deep-rgb), .14);box-sizing:border-box;border:1px solid #e6decc;border-radius:12px;gap:4px;margin:0;padding:6px;list-style:none;display:grid}.matter-assignee-option{color:#1c1914;width:100%;min-height:42px;font:inherit;text-align:start;cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:10px;padding:0 10px;font-size:.92rem;font-weight:700;display:flex}.matter-assignee-option:hover{background:var(--cream)}.matter-assignee-option.is-active{background:var(--brand-soft);color:var(--brand-ink)}.matter-assignee-name{flex:auto;min-width:0}.matter-assignee-check{width:16px;height:16px;color:var(--brand-deep);flex:none}.matter-update-actions{border-top:1px solid #f1e8d2;flex-wrap:wrap;flex:none;justify-content:flex-end;align-items:center;gap:8px;margin-top:auto;padding:14px 20px 18px;display:flex}.matter-update-action{background:var(--surface);color:#1c1914;min-height:40px;font:inherit;white-space:nowrap;cursor:pointer;border:1px solid #e4dcc8;border-radius:10px;justify-content:center;align-items:center;padding:0 14px;font-size:.84rem;font-weight:700;line-height:1;display:inline-flex}.matter-update-action.is-close-case{color:#c43b55;background:#fff6f7;border-color:#f0c4cc}.matter-update-action.is-save{color:var(--surface);background:#1b2430;border-color:#1b2430}.matter-update-action:hover{border-color:var(--brand-line);background:var(--cream)}.matter-update-action.is-close-case:hover{background:#fff1f3;border-color:#e7a8b4}.matter-update-action.is-save:hover{background:#121820;border-color:#121820}.matter-update-action:focus-visible,.matter-update-file:focus-within{border-color:var(--brand);box-shadow:0 0 0 3px rgba(var(--brand-rgb), .2);outline:none}@media (width<=640px){.modal-backdrop:has(.matter-update-modal){padding:10px;overflow:hidden}.modal.matter-update-modal{border-radius:14px;width:100%;max-height:calc(100dvh - 20px)}.matter-update-head{gap:10px;padding:14px 14px 12px}.modal.matter-update-modal .matter-update-heading h2{font-size:1.12rem}.matter-update-sub{font-size:.78rem;line-height:1.45}.matter-update-body{gap:6px;padding:14px 14px 4px}.matter-update-owner{gap:10px;min-height:36px;padding:6px 12px}.matter-update-owner span{font-size:.78rem}.matter-update-owner strong{font-size:.88rem}.matter-update-details,.matter-update-label{font-size:.82rem}.matter-update-details{padding:12px;line-height:1.55}.matter-update-attach-row{gap:8px}.matter-update-file{flex:auto;min-width:0;max-width:100%;min-height:40px;padding-inline:10px;font-size:.78rem}.matter-update-file span{text-overflow:ellipsis;overflow:hidden}.matter-assignee-trigger{height:44px;font-size:.86rem}.matter-update-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:12px 12px 14px;display:grid}.matter-update-action{width:100%;height:40px;min-height:40px;padding-inline:4px;font-size:.7rem}}.projects-sector-settings{border:1px solid var(--cream-line);background:linear-gradient(180deg, var(--cream-bright) 0%, var(--cream) 100%);height:40px;min-height:40px;color:var(--brand-deep);letter-spacing:.01em;cursor:pointer;box-shadow:0 1px 2px rgba(var(--brand-deep-rgb), .06);border-radius:8px;flex:none;justify-content:center;align-items:center;gap:8px;margin:0;padding:0 16px;font-size:.88rem;font-weight:700;line-height:1;transition:color .18s,border-color .18s,background .18s,box-shadow .18s,transform .18s;display:inline-flex}.projects-sector-settings-icon{opacity:.9;flex:none;display:block}.projects-sector-settings:hover{color:var(--brand-ink);border-color:var(--brand-line);background:linear-gradient(180deg, var(--surface) 0%, #f3ecda 100%);box-shadow:0 4px 12px rgba(var(--brand-deep-rgb), .12)}.projects-sector-settings:active{box-shadow:0 1px 3px rgba(var(--brand-deep-rgb), .1);transform:translateY(1px)}.projects-sector-settings:focus-visible{border-color:var(--brand);box-shadow:0 0 0 3px rgba(var(--brand-rgb), .22);outline:none}@media (width<=760px){.projects-sector-settings{width:100%;height:44px;min-height:44px}}.projects-panel .projects-panel-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 14px;min-width:0;display:flex}.projects-panel .projects-panel-tools{flex-wrap:wrap;flex:auto;align-items:center;gap:8px;min-width:0;display:flex}.projects-panel .projects-panel-tools .search-input{background:var(--surface);border:1px solid var(--line);box-sizing:border-box;border-radius:6px;flex:180px;width:clamp(180px,22vw,260px);min-width:0;height:40px;min-height:40px;margin:0;padding:0 12px;font-size:.88rem}.projects-panel .projects-panel-tools .search-input:focus{border-color:var(--brand-line);box-shadow:0 0 0 3px rgba(var(--brand-rgb), .12);outline:none}.projects-panel .projects-panel-tools .panel-filter-select{flex:none;width:auto;min-width:0;display:block}.projects-panel .projects-panel-tools .panel-filter-select.ui-select,.projects-panel .projects-panel-tools .panel-filter-select .ui-select{width:auto;max-width:max-content}.projects-panel .projects-panel-tools .panel-filter-select .ui-select-trigger{white-space:nowrap;box-sizing:border-box;border-radius:6px;gap:8px;width:auto;min-width:max-content;max-width:240px;height:40px;min-height:40px;max-height:40px;padding:0 12px;font-size:.86rem}.projects-panel .projects-panel-tools .panel-filter-select .ui-select-trigger>span:first-child{text-overflow:ellipsis;white-space:nowrap;flex:0 auto;overflow:hidden}.projects-panel-create{flex:none;align-items:center;gap:12px;min-width:0;display:flex}@media (width<=1024px){.projects-panel-create{flex-wrap:wrap;justify-content:flex-end;width:100%}}.projects-panel .projects-panel-toolbar>.panel-action-btn,.projects-panel .projects-panel-create>.panel-action-btn{white-space:nowrap;box-sizing:border-box;border-radius:6px;flex:none;justify-content:center;align-items:center;width:auto;min-width:max-content;height:40px;min-height:40px;max-height:40px;padding:0 16px;font-size:.86rem;font-weight:700;display:inline-flex}.projects-panel .projects-empty{gap:12px;padding:56px 20px 48px}.projects-panel .projects-empty p{max-width:28rem;color:var(--muted);font-size:.94rem;line-height:1.55}.projects-panel .projects-empty .btn-primary{border-radius:6px;height:42px;min-height:42px;margin-top:6px;padding:0 18px;font-weight:700}.projects-panel .projects-empty .empty-state-mark{opacity:.72;margin-bottom:0}.projects-panel .projects-empty .empty-state-mark svg{width:48px;height:48px}.projects-panel .projects-panel-filters.status-tabs-chips{display:none}.projects-panel .projects-panel-filters .status-tab{box-sizing:border-box;background:var(--surface);border-color:var(--line-cool);min-height:38px;box-shadow:0 1px 3px rgba(var(--brand-deep-rgb), .04);padding:8px 12px;font-size:.86rem;font-weight:600;line-height:1.2;transition:background .18s,border-color .18s,color .18s,box-shadow .18s,transform .18s}.projects-panel .projects-panel-filters .status-tab em{min-width:22px;height:22px;padding:0 7px;font-size:.78rem}.projects-panel .projects-panel-filters .status-tab:hover{background:var(--brand-soft);color:var(--brand-deep);box-shadow:0 3px 10px rgba(var(--brand-deep-rgb), .08);border-color:#b7d4dc}.projects-panel .projects-panel-filters .status-tab.is-active{background:linear-gradient(145deg, var(--brand-mid) 0%, var(--brand-deep) 100%);border-color:var(--brand-deep);color:var(--surface);box-shadow:0 2px 8px rgba(var(--brand-deep-rgb), .2)}.projects-panel .projects-panel-filters .status-tab.is-active em{background:rgba(var(--surface-rgb), .22);color:var(--surface)}.projects-panel .projects-panel-filters .status-tab.is-active:hover{color:var(--surface);border-color:var(--brand-ink);box-shadow:0 3px 10px rgba(var(--brand-deep-rgb), .24)}.projects-panel .projects-panel-filters .status-tab.is-late-tab.is-active{background:linear-gradient(145deg, var(--amber-hot) 0%, var(--amber-deep) 100%);border-color:var(--amber-deep);box-shadow:0 2px 8px #c2410c38}.projects-panel .projects-panel-filters .status-tab.is-active-tab.is-active{background:linear-gradient(145deg, #16a34a 0%, var(--success) 100%);border-color:var(--success);box-shadow:0 2px 8px rgba(var(--success-rgb), .22)}.projects-panel .projects-panel-filters .status-tab.is-inactive-tab.is-active{background:linear-gradient(145deg, var(--rose-hot) 0%, var(--rose) 100%);border-color:var(--rose);box-shadow:0 2px 8px rgba(var(--rose-rgb), .22)}.projects-panel .table-wrap{border:1px solid var(--line-cool);width:100%;box-shadow:0 8px 20px rgba(var(--brand-deep-rgb), .04);border-radius:8px;overflow:auto}.projects-panel .data-table{width:100%;min-width:900px}.completion-auto-preview{background:var(--surface-pale);border:1px solid var(--line-mist);border-radius:8px;flex-direction:column;align-items:flex-start;gap:8px;padding:12px 14px;display:flex}.completion-auto-preview .progress-inline{background:var(--surface);margin-inline:0}.completion-auto-preview .field-hint{color:var(--muted);font-size:.78rem;font-weight:600}.tasks-progress-ring{--pct:0;background:conic-gradient(var(--brand) calc(var(--pct) * 1%), #dce8ec 0);width:52px;height:52px;box-shadow:0 4px 12px rgba(var(--brand-deep-rgb), .1), inset 0 0 0 1px rgba(var(--brand-rgb), .06);border-radius:50%;place-items:center;margin-inline:auto;display:grid}.tasks-progress-ring-inner{background:var(--surface);text-align:center;border-radius:50%;place-items:center;width:40px;height:40px;display:grid}.tasks-progress-ring-inner strong{color:var(--brand-deep);font-variant-numeric:tabular-nums;align-items:baseline;gap:1px;font-size:.72rem;font-weight:800;line-height:1;display:inline-flex}.tasks-progress-ring-inner strong span{color:#94a3b8;margin-inline:1px;font-weight:700}.tasks-progress-sep{color:var(--brand);opacity:.9;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.tasks-progress-sep svg{stroke-width:2.4px;width:16px;height:16px}html[dir=rtl] .tasks-progress-sep svg{transform:scaleX(-1)}.projects-panel .data-table td{vertical-align:middle;padding-block:16px}.icon-btn{border-radius:8px;place-items:center;width:36px;height:36px;padding:0;display:inline-grid}.btn:disabled{opacity:.6;cursor:not-allowed;transform:none}.panel{background:var(--surface);border:1px solid var(--line);width:100%;max-width:none;box-shadow:var(--shadow);box-sizing:border-box;border-radius:8px;padding:18px;animation:.6s both rise;position:relative;overflow:hidden}.panel:before{content:"";inset-inline:0;background:var(--brand);border-radius:8px 8px 0 0;height:3px;position:absolute;top:0}.panel-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.panel-head h1{color:var(--brand-deep);margin:0;font-size:clamp(1.1rem,2vw,1.35rem)}.panel-sub{color:var(--muted);margin:4px 0 0;font-size:.88rem}.panel-head-actions{flex-wrap:wrap;align-items:center;gap:10px;margin-inline-start:auto;display:flex}.panel-filter-select{min-width:0;display:none}.panel-scope-filter{flex:0 0 172px;min-width:158px;max-width:220px;display:block;position:relative}.panel-scope-filter.ui-select,.panel-scope-filter .ui-select{width:100%}.panel-scope-filter .ui-select-trigger{box-sizing:border-box;border:1px solid var(--line-taupe);background:linear-gradient(180deg, var(--surface) 0%, #fcfaf4 100%);width:100%;max-width:100%;height:38px;min-height:38px;color:var(--brand-deep);letter-spacing:.01em;box-shadow:0 1px 2px rgba(var(--brand-deep-rgb), .04);border-radius:12px;gap:10px;padding:0 14px;font-size:.86rem;font-weight:700;transition:border-color .16s,box-shadow .16s,background .16s,color .16s}.panel-scope-filter .ui-select-trigger>span:first-child{text-overflow:ellipsis;white-space:nowrap;text-align:start;flex:auto;min-width:0;overflow:hidden}.panel-scope-filter .ui-select-trigger .is-placeholder{color:var(--brand-deep);opacity:.88;font-weight:700}.panel-scope-filter .ui-select-chevron{width:16px;height:16px;color:var(--brand-deep);opacity:.72}.panel-scope-filter .ui-select-trigger:hover{background:var(--surface);box-shadow:0 2px 8px rgba(var(--brand-deep-rgb), .08);border-color:#d4c7a4}.panel-scope-filter.ui-select.is-open .ui-select-trigger,.panel-scope-filter .ui-select-trigger:focus-visible{border-color:var(--brand);background:var(--surface);box-shadow:0 0 0 3px rgba(var(--brand-rgb), .16), 0 6px 16px rgba(var(--brand-deep-rgb), .1)}.panel-scope-filter.ui-select.is-open .ui-select-chevron{opacity:1;color:var(--brand)}.panel-scope-filter.ui-select.is-disabled .ui-select-trigger{opacity:1;cursor:not-allowed;color:#a89b7a;border-color:var(--line-strong);box-shadow:none;background:#f7f4ea}.panel-scope-filter.ui-select.is-disabled .ui-select-chevron{opacity:.45}.panel-filter-select .ui-select-trigger{width:100%;max-width:100%;min-height:40px}.panel-filter-select .ui-select-trigger>span:first-child{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.search-input{border:1px solid var(--line);background:var(--surface);width:min(320px,70vw);color:var(--ink);border-radius:8px;outline:none;padding:11px 12px;transition:border-color .15s,box-shadow .15s}.search-input:focus{border-color:var(--brand);box-shadow:0 0 0 3px rgba(var(--brand-deep-rgb), .14)}.status-tabs{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:16px;display:flex}.status-tabs-divider{background:var(--line);width:1px;height:24px;margin-inline:4px}.status-tab.is-active-tab.is-active{background:var(--success);border-color:var(--success);color:var(--surface)}.status-tab.is-active-tab.is-active em{background:rgba(var(--surface-rgb), .22);color:var(--surface)}.status-tab.is-inactive-tab.is-active{background:var(--rose);border-color:var(--rose);color:var(--surface)}.status-tab.is-inactive-tab.is-active em{background:rgba(var(--surface-rgb), .22);color:var(--surface)}.status-tab.is-late-tab.is-active{background:var(--amber-deep);border-color:var(--amber-deep);color:var(--surface)}.status-tab.is-late-tab.is-active em{background:rgba(var(--surface-rgb), .22);color:var(--surface)}.status-stack{justify-items:center;gap:6px;display:grid}.badge-late{color:var(--amber-deep);background:#ffedd5}.badge-due-soon{color:var(--amber);background:#fef3c7}.date-range{color:#5a717c;text-align:center;font-variant-numeric:tabular-nums;flex-direction:column;align-items:center;gap:3px;font-size:.82rem;line-height:1.4;display:flex}.date-range span{color:#3d5560;font-weight:600}.date-range small{color:#94a3b8;font-size:.7rem;font-weight:600}.date-range.is-late span:last-of-type{color:var(--amber-deep);font-weight:700}.date-range.is-due-soon span:last-of-type{color:var(--amber);font-weight:700}.working-days-meta{color:var(--brand-deep);margin-top:4px;font-size:.75rem;font-style:normal;font-weight:700}.working-days-cell{color:var(--brand-deep);white-space:nowrap;font-size:.88rem;font-weight:800}.row-late{box-shadow:inset 3px 0 0 var(--amber-hot);background:#fff4e8}html[dir=rtl] .row-late{box-shadow:inset -3px 0 0 var(--amber-hot)}.row-late td,.row-late .cell-title{color:#9a3412}.row-late:hover,.data-table tbody tr.row-late:hover{background:#ffedd5}.row-late .row-actions{opacity:1}.row-due-soon{box-shadow:inset 3px 0 0 var(--amber-bright);background:#fffbeb}html[dir=rtl] .row-due-soon{box-shadow:inset -3px 0 0 var(--amber-bright)}.row-due-soon td,.row-due-soon .cell-title{color:#92400e}.row-due-soon:hover,.data-table tbody tr.row-due-soon:hover{background:#fef3c7}.row-due-soon .row-actions{opacity:1}.status-tab{box-sizing:border-box;border:1px solid var(--line);background:var(--surface);min-height:38px;color:var(--muted);border-radius:8px;align-items:center;gap:8px;padding:8px 12px;font-size:.86rem;font-weight:600;line-height:1.2;display:inline-flex}.status-tab em{background:var(--brand-soft);min-width:22px;height:22px;color:var(--brand-deep);border-radius:8px;place-items:center;padding:0 7px;font-size:.78rem;font-style:normal;font-weight:700;display:inline-grid}.status-tab.is-active{background:linear-gradient(145deg, var(--brand-mid) 0%, var(--brand-deep) 100%);border-color:var(--brand-deep);color:var(--surface);box-shadow:0 4px 12px rgba(var(--brand-deep-rgb), .2)}.status-tab.is-active em{background:rgba(var(--surface-rgb), .22);color:var(--surface)}.status-tab:hover{border-color:var(--brand);color:var(--brand-deep)}.status-tab.is-active:hover{color:var(--surface);border-color:var(--brand-ink)}.toolbar{z-index:5;grid-template-columns:minmax(0,1.5fr) minmax(180px,.8fr);align-items:start;gap:10px;margin-bottom:14px;display:grid;position:relative;overflow:visible}.toolbar input,.field input,.field textarea,.auto-textarea{border:1px solid var(--line);background:var(--surface);width:100%;color:var(--ink);border-radius:8px;outline:none;padding:11px 12px;transition:border-color .15s,box-shadow .15s}.field input:focus,.field textarea:focus,.toolbar input:focus,.auto-textarea:focus{border-color:var(--brand);box-shadow:0 0 0 3px rgba(var(--brand-deep-rgb), .14)}.auto-textarea,.field textarea{resize:none;field-sizing:content;min-height:2.75rem;line-height:1.5;overflow-y:hidden}.ui-select.is-open .ui-select-trigger,.ui-select-trigger:hover{border-color:var(--brand);box-shadow:0 0 0 3px rgba(var(--brand-deep-rgb), .12)}.ui-select.is-open .ui-select-trigger{background:var(--surface);border-color:var(--brand);box-shadow:0 0 0 3px rgba(var(--brand-deep-rgb), .14), 0 8px 18px rgba(var(--brand-deep-rgb), .08)}.ui-select{width:100%;position:relative}.ui-select-trigger{border:1px solid var(--line);background:linear-gradient(180deg, var(--surface) 0%, var(--surface-cool) 100%);width:100%;color:var(--brand-deep);text-align:start;cursor:pointer;border-radius:10px;outline:none;justify-content:space-between;align-items:center;gap:10px;min-height:44px;padding:11px 12px;font-size:.92rem;font-weight:700;transition:border-color .16s,box-shadow .16s,background .16s,color .16s;display:flex}.ui-select-trigger:focus-visible{border-color:var(--brand);box-shadow:0 0 0 3px rgba(var(--brand-deep-rgb), .16)}.ui-select.is-disabled .ui-select-trigger{opacity:.6;cursor:not-allowed;background:#f4f7f9}.ui-select-trigger .is-placeholder{color:var(--muted);font-weight:600}.ui-select-chevron{width:18px;height:18px;color:var(--brand);opacity:.9;flex-shrink:0;transition:transform .18s,opacity .16s}.ui-select.is-open .ui-select-chevron{opacity:1;transform:rotate(180deg)}.ui-select-menu{background:var(--surface);box-shadow:0 18px 40px rgba(var(--brand-deep-rgb), .14), 0 2px 6px rgba(var(--brand-deep-rgb), .06);border:1px solid #dce8ec;border-radius:12px;flex-direction:column;gap:4px;margin:0;padding:8px;list-style:none;animation:.16s both rise;display:flex;overflow:auto}.ui-select-menu-portal{z-index:2000}.ui-select-option>span{text-overflow:ellipsis;min-width:0;overflow:hidden}.ui-select-option{width:100%;color:var(--ink);text-align:start;white-space:nowrap;cursor:pointer;background:0 0;border:0;border-radius:9px;outline:none;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;font-size:.9rem;font-weight:600;transition:background .12s,color .12s;display:flex}.ui-select-option:hover{background:var(--surface-mist);color:var(--brand-deep)}.ui-select-option.is-active{background:var(--brand-soft);color:var(--brand-deep);font-weight:800}.ui-select-option.is-active:hover{background:#dceef3}.ui-select-scope-value{flex:1;align-items:center;gap:8px;min-width:0;display:inline-flex}.ui-select-scope-value>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.ui-select-scope-value .app-image,.ui-select-option-scope .app-image{object-fit:contain;background:0 0;border:0;border-radius:0;flex:0 0 22px;width:22px;height:22px}.ui-select-option-scope{justify-content:flex-start;gap:10px;min-height:42px}.ui-select-menu-scope{box-shadow:0 16px 36px rgba(var(--brand-deep-rgb), .16), 0 2px 8px rgba(var(--brand-deep-rgb), .06);border-color:#e6dcc4;padding:6px}.ui-select-menu-scope .ui-select-option>span{text-overflow:unset;white-space:normal;flex:1;line-height:1.35;overflow:visible}.ui-select-check{width:16px;height:16px;color:var(--brand);background:0 0;border:0;border-radius:0;flex:0 0 16px;margin-inline-start:auto}.ui-select-trigger-person{min-height:52px;padding:8px 12px}.ui-select-person-value{flex:1;align-items:center;gap:10px;min-width:0;display:inline-flex}.ui-select-person-copy{text-align:start;gap:1px;min-width:0;display:grid}.ui-select-person-copy strong{color:var(--brand-deep);text-overflow:ellipsis;white-space:nowrap;font-size:.92rem;font-weight:700;line-height:1.25;overflow:hidden}.ui-select-person-copy small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.76rem;font-weight:600;overflow:hidden}.ui-select-menu-person{gap:4px;padding:8px}.ui-select-option-person{text-align:start;justify-content:flex-start;gap:10px;padding:9px 10px}.ui-select-option-person .ui-assignee-chip-avatar{flex-shrink:0;width:32px;height:32px;font-size:.72rem}.ui-select-option-person .ui-select-person-copy{flex:1}.ui-select-option-person .ui-select-check{margin-inline-start:auto}.ui-select-trigger-person .ui-assignee-chip-avatar{flex-shrink:0;width:34px;height:34px;font-size:.74rem}.ui-multiselect-menu{gap:4px;padding:8px;display:grid}.ui-multiselect-trigger{cursor:pointer;align-items:flex-start;gap:10px;min-height:48px}.ui-multiselect-chips{flex-wrap:wrap;flex:auto;gap:6px;min-width:0;display:flex}.ui-assignee-chip{background:var(--bg-accent);max-width:100%;color:var(--brand-deep);border:1px solid #d5e8ed;border-radius:999px;align-items:center;gap:6px;padding:3px 8px 3px 3px;font-size:.78rem;font-weight:700;line-height:1.2;display:inline-flex}html[dir=ltr] .ui-assignee-chip{padding:3px 3px 3px 8px}.ui-assignee-chip-avatar{width:24px;height:24px;color:var(--surface);background:linear-gradient(145deg, var(--brand-mid) 0%, var(--brand-deep) 100%);border-radius:50%;flex-shrink:0;place-items:center;font-size:.62rem;font-style:normal;font-weight:800;display:inline-grid;overflow:hidden}.ui-assignee-chip-avatar.has-image{background:var(--surface);border:1px solid var(--line);color:#0000;box-sizing:border-box;padding:2px}.ui-assignee-chip-avatar.has-image img{object-fit:contain;border-radius:50%;width:100%;height:100%;display:block}.ui-assignee-chip-avatar.tone-0,.ui-assignee-chip.tone-0 .ui-assignee-chip-avatar{background:linear-gradient(145deg, var(--brand-mid) 0%, var(--brand-deep) 100%)}.ui-assignee-chip-avatar.tone-1,.ui-assignee-chip.tone-1 .ui-assignee-chip-avatar{background:linear-gradient(145deg, #e0cc7a 0%, var(--sky) 100%)}.ui-assignee-chip-avatar.tone-2,.ui-assignee-chip.tone-2 .ui-assignee-chip-avatar{background:linear-gradient(145deg,#8b5cf6 0%,#6d28d9 100%)}.ui-assignee-chip-avatar.tone-3,.ui-assignee-chip.tone-3 .ui-assignee-chip-avatar{background:linear-gradient(145deg, var(--amber-bright) 0%, #d97706 100%)}.ui-assignee-chip-avatar.tone-4,.ui-assignee-chip.tone-4 .ui-assignee-chip-avatar{background:linear-gradient(145deg, var(--rose-bright) 0%, var(--rose) 100%)}.ui-assignee-chip-avatar.tone-5,.ui-assignee-chip.tone-5 .ui-assignee-chip-avatar{background:linear-gradient(145deg,#10b981 0%,#047857 100%)}.ui-assignee-chip-avatar.has-image,.ui-assignee-chip-avatar.has-image.tone-0,.ui-assignee-chip-avatar.has-image.tone-1,.ui-assignee-chip-avatar.has-image.tone-2,.ui-assignee-chip-avatar.has-image.tone-3,.ui-assignee-chip-avatar.has-image.tone-4,.ui-assignee-chip-avatar.has-image.tone-5,.ui-assignee-chip.tone-0 .ui-assignee-chip-avatar.has-image,.ui-assignee-chip.tone-1 .ui-assignee-chip-avatar.has-image,.ui-assignee-chip.tone-2 .ui-assignee-chip-avatar.has-image,.ui-assignee-chip.tone-3 .ui-assignee-chip-avatar.has-image,.ui-assignee-chip.tone-4 .ui-assignee-chip-avatar.has-image,.ui-assignee-chip.tone-5 .ui-assignee-chip-avatar.has-image{background:var(--surface);border:1px solid var(--line)}.ui-assignee-chip-label{text-overflow:ellipsis;white-space:nowrap;max-width:140px;overflow:hidden}.ui-assignee-chip-remove{width:18px;height:18px;color:var(--slate);cursor:pointer;border-radius:50%;flex-shrink:0;place-items:center;font-size:.95rem;line-height:1;display:inline-grid}.ui-assignee-chip-remove:hover{background:rgba(var(--brand-deep-rgb), .1);color:var(--brand-deep)}.ui-multiselect-meta{flex-shrink:0;align-items:center;gap:6px;margin-top:2px;display:inline-flex}.ui-multiselect-count{background:var(--brand-soft);min-width:22px;height:22px;color:var(--brand-deep);border-radius:8px;place-items:center;padding:0 6px;font-size:.72rem;font-style:normal;font-weight:800;display:inline-grid}.ui-multi-option{cursor:pointer;text-align:start;width:100%;color:var(--ink);background:0 0;border:0;border-radius:8px;align-items:center;gap:10px;padding:8px 10px;display:flex}.ui-multi-option:hover,.ui-multi-option.is-active{background:var(--brand-soft)}.ui-multi-option .ui-assignee-chip-avatar{width:32px;height:32px;font-size:.7rem}.ui-multi-copy{flex:auto;gap:2px;min-width:0;display:grid}.ui-multi-copy strong{color:var(--brand-deep);font-size:.88rem;font-weight:700}.ui-multi-copy small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.76rem;overflow:hidden}.ui-multi-check{border:1px solid var(--line);color:#0000;border-radius:50%;flex-shrink:0;place-items:center;width:20px;height:20px;font-size:.72rem;font-weight:800;display:inline-grid}.ui-multi-check.is-on{background:var(--brand);border-color:var(--brand);color:var(--surface)}.ui-select-empty{color:var(--muted);text-align:center;padding:14px 12px;font-size:.9rem}.form-inline-status{border:1px solid var(--line-cool);background:linear-gradient(180deg, var(--surface) 0%, var(--brand-soft) 100%);min-height:44px;box-shadow:inset 0 1px 0 rgba(var(--surface-rgb), .85);border-radius:10px;justify-content:space-between;align-items:center;gap:12px;padding:8px 12px;transition:border-color .15s,box-shadow .15s;display:flex}.form-inline-status:hover{border-color:#c9dde3}.form-inline-status.is-panel{padding:12px 14px}.form-inline-status-badge{letter-spacing:.01em;border-radius:999px;align-items:center;gap:6px;min-height:28px;padding:0 11px;font-size:.78rem;font-weight:800;display:inline-flex}.form-inline-status-badge:before{content:"";opacity:.85;background:currentColor;border-radius:999px;flex-shrink:0;width:7px;height:7px}.form-inline-status-badge.is-active{background:var(--success-soft);color:var(--success);box-shadow:inset 0 0 0 1px rgba(var(--success-rgb), .14)}.form-inline-status-badge.is-inactive{color:var(--slate);background:#f1f5f9;box-shadow:inset 0 0 0 1px #64748b24}.completion-auto-preview.is-field{background:0 0;border:0;align-items:center;min-height:44px;padding:0;display:flex}.completion-auto-preview.is-field .progress-inline{border:1px solid var(--line);background:var(--surface);border-radius:8px;justify-content:flex-start;gap:12px;width:100%;min-height:44px;margin-inline:0;padding:8px 12px}.completion-auto-preview.is-field .progress-bar{flex:auto;min-width:0}.form-inline-status.is-field{border:1px solid var(--line);background:linear-gradient(180deg, var(--surface) 0%, var(--surface-cool) 100%);border-radius:10px;justify-content:space-between;align-items:center;gap:12px;min-height:44px;padding:8px 12px;display:flex}.form-inline-status.is-field:focus-within{border-color:var(--brand);box-shadow:0 0 0 3px rgba(var(--brand-deep-rgb), .12)}.app-form .form-section{background:linear-gradient(180deg, var(--surface-cloud) 0%, var(--surface-pale) 100%);box-shadow:0 1px 2px rgba(var(--brand-deep-rgb), .03)}.assignees-multiselect .ui-multiselect-trigger{background:var(--surface)}.table-wrap{border:1px solid var(--line);background:var(--surface);-webkit-overflow-scrolling:touch;isolation:isolate;width:100%;box-shadow:0 6px 18px rgba(var(--brand-deep-rgb), .05);border-radius:8px;overflow:auto}.data-table{border-collapse:separate;border-spacing:0;width:100%;min-width:860px}.data-table th,.data-table td{text-align:center;vertical-align:middle;border-bottom:0;padding:15px 12px}.data-table td>*,.data-table .tasks-progress-ring{margin-inline:auto}.data-table .date-range{text-align:center;align-items:center;width:fit-content;margin-inline:auto}.data-table .status-stack{justify-items:center;width:fit-content;margin-inline:auto}.data-table .progress-inline,.data-table .row-actions{justify-content:center;margin-inline:auto}.data-table .task-card-head{flex-wrap:wrap;justify-content:center}.data-table .cell-task-assignees{vertical-align:middle;max-width:200px}.data-table td.cell-muted{color:#4d6570;max-width:220px;font-size:.86rem;font-weight:600;line-height:1.45}.assignees-cell{justify-content:center;align-items:center;width:fit-content;max-width:100%;margin-inline:auto;display:flex}.assignees-stack{justify-content:center;align-items:center;padding-inline-end:4px;display:inline-flex}.assignee-avatar{border:2px solid var(--surface);letter-spacing:.01em;width:30px;height:30px;color:var(--surface);box-shadow:0 2px 6px rgba(var(--brand-deep-rgb), .12);border-radius:50%;place-items:center;margin-inline-end:-8px;font-size:.68rem;font-weight:800;line-height:1;display:inline-grid}.assignee-avatar.tone-0{background:linear-gradient(145deg, var(--brand-mid) 0%, var(--brand-deep) 100%)}.assignee-avatar.tone-1{background:linear-gradient(145deg, #e0cc7a 0%, var(--sky) 100%)}.assignee-avatar.tone-2{background:linear-gradient(145deg,#8b5cf6 0%,#6d28d9 100%)}.assignee-avatar.tone-3{background:linear-gradient(145deg, var(--amber-bright) 0%, #d97706 100%)}.assignee-avatar.tone-4{background:linear-gradient(145deg, var(--rose-bright) 0%, var(--rose) 100%)}.assignee-avatar.tone-5{background:linear-gradient(145deg,#10b981 0%,#047857 100%)}.assignee-avatar.is-more{background:var(--brand-soft);color:var(--brand-deep);font-size:.68rem}.assignees-empty{color:#94a3b8;font-weight:700}.data-table th{color:#f2fbfd;letter-spacing:.02em;background:linear-gradient(180deg, var(--brand) 0%, var(--brand-deep) 100%);white-space:nowrap;z-index:1;border-bottom:0;padding-block:15px;font-size:.8rem;font-weight:800;position:sticky;top:0}.data-table thead tr:first-child th:first-child{border-start-start-radius:8px}.data-table thead tr:first-child th:last-child{border-start-end-radius:8px}.data-table tbody tr{transition:background .14s}.data-table tbody tr:nth-child(odd):not(.row-late):not(.row-due-soon):not(.row-inactive){background:var(--surface)}.data-table tbody tr:nth-child(2n):not(.row-late):not(.row-due-soon):not(.row-inactive){background:#eef5f7}.data-table tbody tr:hover:not(.row-late):not(.row-due-soon):not(.row-inactive){background:#dceef3}.project-workspace .data-table tbody tr:nth-child(odd):not(.row-late):not(.row-due-soon):not(.row-inactive),.projects-panel .data-table tbody tr:nth-child(odd):not(.row-late):not(.row-due-soon):not(.row-inactive),.users-table tbody tr:nth-child(odd):not(.row-late):not(.row-due-soon):not(.row-inactive){background:var(--surface)}.project-workspace .data-table tbody tr:nth-child(2n):not(.row-late):not(.row-due-soon):not(.row-inactive),.projects-panel .data-table tbody tr:nth-child(2n):not(.row-late):not(.row-due-soon):not(.row-inactive),.users-table tbody tr:nth-child(2n):not(.row-late):not(.row-due-soon):not(.row-inactive){background:#eef5f7}.project-workspace .data-table tbody tr:hover:not(.row-late):not(.row-due-soon):not(.row-inactive),.projects-panel .data-table tbody tr:hover:not(.row-late):not(.row-due-soon):not(.row-inactive),.users-table tbody tr:hover:not(.row-late):not(.row-due-soon):not(.row-inactive){background:#dceef3}.data-table tbody tr:last-child td{border-bottom:0}.data-table .cell-title{color:var(--brand-deep);font-size:.94rem;font-weight:700;line-height:1.45}.data-table .working-days-cell{background:var(--bg-accent);min-width:42px;color:var(--brand-deep);font-variant-numeric:tabular-nums;border:1px solid #d7e6eb;border-radius:8px;justify-content:center;align-items:center;padding:6px 10px;font-size:.9rem;font-weight:800;display:inline-flex}.cell-title{font-size:.95rem;line-height:1.45;display:inline-block}.cell-muted,.muted{color:var(--muted);font-size:.86rem;line-height:1.5}.badge{white-space:nowrap;letter-spacing:.01em;border-radius:8px;justify-content:center;align-items:center;width:fit-content;margin-inline:auto;padding:6px 11px;font-size:.76rem;font-weight:800;display:inline-flex}.badge.status-discussion_planning{color:#4338ca;background:#eef2ff}.badge.status-pending{background:var(--amber-soft);color:var(--amber)}.badge.status-under_review{background:var(--sky-soft);color:var(--sky)}.badge.status-in_progress{background:var(--brand-soft);color:var(--brand-deep)}.badge.status-in_testing{color:#7e22ce;background:#f3e8ff}.badge.status-completed{background:var(--success-soft);color:var(--success)}.badge.status-cancelled{color:var(--slate);background:#f1f5f9}.row-inactive{background:var(--danger-soft);box-shadow:inset 3px 0 0 var(--rose-bright)}html[dir=rtl] .row-inactive{box-shadow:inset -3px 0 0 var(--rose-bright)}.row-inactive td{color:var(--rose-deep)}.row-inactive .cell-title{color:#881337;font-weight:600}.row-inactive .cell-muted{color:var(--rose)}.row-inactive:hover,.data-table tbody tr.row-inactive:hover{background:#ffe4e6}.row-inactive .row-actions{opacity:1}.confirm-delete-backdrop{z-index:120;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);overscroll-behavior:none;background:#071c287a;place-items:center;padding:18px;animation:.2s both fade;display:grid;position:fixed;inset:0}.confirm-delete-backdrop.is-nested{z-index:130}.confirm-delete-dialog{background:var(--surface);border:1px solid rgba(var(--rose-rgb), .12);border-radius:8px;width:min(100%,420px);animation:.26s both rise;position:relative;overflow:hidden;box-shadow:0 8px 20px #071c2814,0 28px 56px #071c282e}.confirm-delete-accent{background:linear-gradient(270deg, var(--rose-hot), #fb7185);height:4px}.confirm-delete-close{top:12px;z-index:1;position:absolute;inset-inline-end:12px}.confirm-delete-body{text-align:center;padding:22px 22px 8px}.confirm-delete-icon{background:linear-gradient(145deg, var(--danger-soft), var(--rose-soft));width:52px;height:52px;color:var(--rose);box-shadow:inset 0 0 0 1px rgba(var(--rose-rgb), .12);border-radius:8px;place-items:center;margin:0 auto 14px;display:grid}.confirm-delete-icon svg{width:22px;height:22px}.confirm-delete-title{color:var(--brand-deep);margin:0 0 10px;font-size:1.12rem;font-weight:800;line-height:1.35}.confirm-delete-lead{color:var(--ink);margin:0 0 10px;font-size:.92rem;line-height:1.55}.confirm-delete-target{background:var(--surface-cool);max-width:100%;color:var(--brand-deep);word-break:break-word;text-align:center;border:1px solid #e3ecef;border-radius:8px;margin:0 auto 10px;padding:10px 14px;font-size:.9rem;font-weight:700;line-height:1.45}.confirm-delete-warn{color:var(--rose);margin:0;font-size:.8rem;line-height:1.5}.confirm-delete-message{color:var(--ink);text-align:start;margin:0;font-size:.92rem;line-height:1.65}.confirm-delete-actions{background:var(--surface-cloud);border-top:1px solid #eef2f4;flex-wrap:wrap;justify-content:flex-end;gap:8px;padding:14px 18px 18px;display:flex}.confirm-delete-submit{border:1px solid rgba(var(--rose-rgb), .18);align-items:center;gap:8px;min-height:40px;padding-inline:14px;font-weight:700;display:inline-flex}.confirm-delete-submit svg{width:16px;height:16px}.btn-danger:hover:not(:disabled){border-color:rgba(var(--rose-rgb), .28);background:#ffe4e6}.note-item.is-unread{box-shadow:0 4px 14px rgba(var(--brand-deep-rgb), .06), inset 3px 0 0 var(--brand);border-color:#cfe3e8}html[dir=rtl] .note-item.is-unread{box-shadow:0 4px 14px rgba(var(--brand-deep-rgb), .06), inset -3px 0 0 var(--brand)}.note-item-main{flex:1;gap:8px;min-width:0;display:grid}.note-read-badge{border-radius:999px;align-items:center;width:fit-content;min-height:22px;padding:0 9px;font-size:.72rem;font-weight:800;display:inline-flex}.note-read-badge.is-unread{background:var(--amber-soft);color:var(--amber);box-shadow:inset 0 0 0 1px #b4530929}.note-read-badge.is-read{background:var(--success-soft);color:var(--success);box-shadow:inset 0 0 0 1px rgba(var(--success-rgb), .14)}.note-author{background:var(--brand-soft);min-height:28px;color:var(--brand-deep);border-radius:999px;align-items:center;margin:0;padding:0 10px;font-size:.75rem;font-weight:800;display:inline-flex}.note-readers{flex-wrap:wrap;align-items:center;gap:6px;min-width:0;margin:0;display:flex}.note-readers.is-empty{color:#8aa0a8;font-size:.75rem;font-weight:700}.note-readers-label{color:#6b8490;font-size:.74rem;font-weight:800}.note-reader-list{flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none;display:flex}.note-reader-chip{background:var(--surface-pale);border:1px solid var(--line-cool);color:#355863;border-radius:999px;align-items:center;min-height:28px;padding:0 10px;font-size:.75rem;font-weight:700;line-height:1.2;display:inline-flex}.note-mention{background:var(--brand-soft);color:var(--brand-deep);border-radius:6px;padding:0 4px;font-weight:800;display:inline}.note-composer-field{position:relative}.note-mention-menu{background:var(--surface);box-shadow:0 18px 40px rgba(var(--brand-deep-rgb), .16), 0 2px 6px rgba(var(--brand-deep-rgb), .06);border:1px solid #d5e4e9;border-radius:14px;flex-direction:column;gap:0;animation:.14s both rise;display:flex;overflow:hidden}.note-mention-menu-portal{z-index:2200}.note-mention-menu-head{background:linear-gradient(180deg, var(--surface-cool) 0%, var(--surface) 100%);border-bottom:1px solid #e8f0f3;flex-shrink:0;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;display:flex}.note-mention-menu-title{color:var(--brand-deep);align-items:center;gap:8px;font-size:.82rem;font-weight:800;display:inline-flex}.note-mention-menu-title em{background:var(--brand-soft);width:22px;height:22px;color:var(--brand);border:1px solid var(--line-ice);border-radius:7px;place-items:center;font-size:.78rem;font-style:normal;font-weight:900;display:inline-grid}.note-mention-menu-count{background:var(--brand-soft);border:1px solid var(--line-ice);min-height:22px;color:var(--brand-deep);border-radius:999px;align-items:center;padding:0 8px;font-size:.72rem;font-weight:800;display:inline-flex}.note-mention-query{flex-shrink:0;padding:8px 12px 0}.note-mention-query span{background:var(--brand-soft);min-height:24px;color:var(--brand-deep);border:1px solid #d2e6eb;border-radius:999px;align-items:center;padding:0 9px;font-size:.76rem;font-weight:700;display:inline-flex}.note-mention-list{flex:auto;gap:4px;min-height:0;padding:8px;display:grid;overflow:auto}.note-mention-option{background:var(--surface-cloud);text-align:start;cursor:pointer;border:1px solid #0000;border-radius:11px;align-items:center;gap:12px;width:100%;padding:9px 10px;transition:background .12s,border-color .12s,box-shadow .12s;display:flex}.note-mention-option:hover,.note-mention-option:focus-visible{background:var(--brand-soft);box-shadow:0 0 0 2px rgba(var(--brand-deep-rgb), .08);border-color:#cfe3e8;outline:none}.note-mention-avatar{background:var(--brand);width:36px;height:36px;color:var(--surface);box-shadow:inset 0 0 0 1px rgba(var(--surface-rgb), .18);border-radius:999px;flex-shrink:0;place-items:center;font-size:.72rem;font-style:normal;font-weight:800;display:inline-grid}.note-mention-avatar.tone-0{background:var(--brand)}.note-mention-avatar.tone-1,.note-mention-avatar.tone-2{background:var(--sky)}.note-mention-avatar.tone-3{background:#4338ca}.note-mention-avatar.tone-4{background:var(--amber)}.note-mention-avatar.tone-5{background:var(--rose)}.note-mention-copy{flex:1;gap:2px;min-width:0;display:grid}.note-mention-copy strong{color:var(--brand-deep);text-overflow:ellipsis;white-space:nowrap;font-size:.9rem;font-weight:800;overflow:hidden}.note-mention-copy small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;align-items:center;gap:5px;font-size:.74rem;font-weight:600;display:inline-flex;overflow:hidden}.note-mention-mail{opacity:.7;font-size:.7rem}.note-mention-tag{background:var(--surface);border:1px solid var(--line-ice);width:26px;height:26px;color:var(--brand);border-radius:8px;flex-shrink:0;place-items:center;font-size:.85rem;font-weight:900;display:inline-grid}.note-mention-option:hover .note-mention-tag{background:var(--brand);border-color:var(--brand);color:var(--surface)}.note-mention-empty{text-align:center;color:var(--muted);padding:18px 14px;font-size:.84rem;font-weight:600}.note-action-btn.is-mention{background:var(--surface);color:var(--brand-deep);border:1px solid #d7e3e8;min-width:0}.note-action-btn.is-mention:hover:not(:disabled){background:var(--surface-ice);border-color:#b8d4dc}.note-item-action-btn.is-mark-read{color:var(--amber)}.note-item-action-btn.is-mark-read:hover:not(:disabled){background:var(--amber-soft);color:var(--amber)}.note-item{background:var(--surface);box-shadow:0 1px 2px rgba(var(--brand-deep-rgb), .04);border:1px solid #e3ecef;border-radius:14px;flex-direction:column;align-items:stretch;gap:0;padding:14px 16px;display:flex}.note-item-layout{align-items:flex-start;gap:16px;display:flex}.note-item-copy{flex:1;gap:10px;min-width:0;display:grid}.note-item-body p{color:var(--ink);overflow-wrap:anywhere;margin:0;font-size:.98rem;font-weight:600;line-height:1.65}.note-item-meta{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.note-item-meta .note-item-actions{margin-inline-start:auto}.note-item--media{padding:14px 14px 12px}.note-item-toolbar{justify-content:space-between;align-items:flex-start;gap:12px;width:100%;min-width:0;display:flex}.note-item-toolbar-spacer,.note-item-toolbar .note-text-row{flex:1;min-width:0}.note-text-row{align-items:flex-start;gap:8px;display:flex}.note-text-row p{color:var(--ink);flex:1;min-width:0;margin:0;line-height:1.5}.note-last-modified{color:var(--muted);align-items:center;gap:8px;min-width:0;margin:0;font-size:.78rem;line-height:1.45;display:inline-flex}.note-last-modified-icon{background:var(--brand-soft);width:26px;height:26px;color:var(--brand-deep);border-radius:8px;flex-shrink:0;place-items:center;display:grid}.note-last-modified-text{min-width:0}.note-date-only{margin:0}.note-item-footer-date{border:0;flex-shrink:0;width:auto;margin:0;padding:0}.note-item-actions{background:var(--bg);border:1px solid #e8eef0;border-radius:10px;flex-direction:row;flex-shrink:0;align-items:center;gap:4px;margin-inline-start:auto;padding:3px;display:inline-flex}.note-item-action-btn{width:32px;height:32px;color:var(--brand-deep);background:0 0;border:0;border-radius:8px}.note-item-action-btn:hover:not(:disabled){background:var(--brand-soft);color:var(--brand-deep)}.note-item-action-btn.is-danger{color:var(--rose)}.note-item-action-btn.is-danger:hover:not(:disabled){background:var(--rose-soft);color:var(--rose)}.note-item--editing{background:var(--surface);padding:14px;display:block}.note-edit-panel{gap:8px;width:100%;display:grid}.note-edit-toolbar{border-top:1px solid #e8eef0;flex-wrap:wrap;align-items:center;gap:8px;margin-top:2px;padding-top:10px;display:flex}.note-edit-toolbar-spacer{flex:1;min-width:8px}.note-edit-toolbar .note-action-btn{min-height:40px;padding:0 14px;font-size:.84rem}.note-media-card{border:1px solid var(--line);background:var(--surface-cool);border-radius:8px;overflow:hidden}.note-media-card.is-embedded{background:var(--surface-ice);border-color:#e3ecef}.note-media-card.is-draft{background:var(--surface-ice)}.note-media-head{border-bottom:1px solid var(--line);background:rgba(var(--surface-rgb), .65);justify-content:space-between;align-items:center;gap:10px;padding:8px 12px;display:flex}.note-media-head-main{flex-wrap:wrap;flex:1;align-items:baseline;gap:4px 10px;min-width:0;display:flex}.note-media-head-title{color:var(--brand-deep);letter-spacing:.01em;white-space:nowrap;font-size:.78rem;font-weight:700}.note-media-head-date{font-size:.72rem;font-weight:500}.note-media-head-date .note-last-modified-icon{border-radius:8px;width:22px;height:22px}.note-media-head-date .note-last-modified-icon svg{width:13px;height:13px}.note-media-badge{background:var(--brand-soft);min-width:22px;height:22px;color:var(--brand-deep);text-align:center;border-radius:8px;padding:0 7px;font-size:.72rem;font-weight:800;line-height:22px}.note-media-grid{grid-template-columns:repeat(auto-fill,minmax(80px,1fr));gap:10px;padding:12px;display:grid}.note-media-tile{aspect-ratio:1;width:100%;max-width:96px;position:relative}.note-media-thumb,.note-media-doc{border:1px solid var(--line);border-radius:8px;width:100%;height:100%;text-decoration:none;display:block;overflow:hidden}.note-media-tile:after{content:"";opacity:0;pointer-events:none;background:linear-gradient(#0000 35%,#071c286b 100%);border-radius:8px;transition:opacity .18s;position:absolute;inset:0}@media (hover:hover){.note-media-tile:hover:after{opacity:1}.note-media-tile .note-media-action{transition:opacity .18s,transform .18s,background .15s}.note-media-tile:not(:hover) .note-media-action{opacity:0;pointer-events:none;transform:translate(-50%,6px)}.note-media-tile:hover .note-media-action{opacity:1;pointer-events:auto;transform:translate(-50%)}}.note-media-thumb{background:linear-gradient(145deg, var(--brand-soft), var(--bg))}.note-media-thumb,.note-media-doc{transition:transform .18s}@media (hover:hover){.note-media-tile:hover .note-media-thumb,.note-media-tile:hover .note-media-doc{transform:scale(1.02)}}.note-media-thumb img{object-fit:cover;width:100%;height:100%;display:block}.note-media-doc{background:linear-gradient(160deg, var(--bg-accent), var(--surface));color:var(--brand-deep);place-items:center;display:grid}.note-media-doc span{letter-spacing:.04em;font-size:.68rem;font-weight:800}.note-media-action{z-index:1;cursor:pointer;border:0;border-radius:8px;place-items:center;width:28px;height:28px;padding:0;display:grid;position:absolute;bottom:6px;left:50%;transform:translate(-50%);box-shadow:0 4px 10px #071c2826}.note-media-action.is-download{background:rgba(var(--surface-rgb), .95);color:var(--brand-deep)}.note-media-action.is-remove{background:rgba(var(--surface-rgb), .95);color:var(--rose);font-size:.72rem;line-height:1}.note-media-action:hover{background:var(--brand-soft)}.note-media-action.is-remove:hover{background:var(--rose-soft)}.note-composer{gap:10px;padding-top:0;display:grid}.note-composer-field .auto-textarea,.note-composer textarea{background:var(--surface);min-height:72px;box-shadow:inset 0 1px 0 rgba(var(--surface-rgb), .8);border:1px solid #d7e3e8;border-radius:10px;padding:12px 14px;transition:border-color .15s,box-shadow .15s}.note-composer-field .auto-textarea:focus,.note-composer textarea:focus{border-color:var(--brand);box-shadow:0 0 0 3px rgba(var(--brand-deep-rgb), .14);outline:none}.note-composer-actions{border-top:1px solid #e8eef0;flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:10px;margin-top:2px;padding-top:12px;display:flex}.note-composer-actions-spacer{flex:auto;min-width:8px}.note-action-btn{border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:0 16px;font-size:.86rem;font-weight:700;line-height:1.2;display:inline-flex}.note-action-btn svg{flex-shrink:0}.note-action-btn.is-attach{background:var(--surface);color:var(--brand-deep);box-shadow:0 2px 6px rgba(var(--brand-deep-rgb), .04);border:1px solid #d7e3e8}.note-action-btn.is-attach:hover:not(:disabled){background:var(--surface-ice);border-color:#b8d4dc}.note-action-btn.is-submit{min-width:148px;box-shadow:0 6px 16px rgba(var(--brand-rgb), .22)}.note-action-btn.is-submit:hover:not(:disabled){box-shadow:0 8px 20px rgba(var(--brand-rgb), .28)}.note-action-spinner{border:2px solid rgba(var(--surface-rgb), .35);border-top-color:var(--surface);border-radius:50%;width:16px;height:16px;animation:.7s linear infinite note-action-spin}.note-action-btn.is-attach .note-action-spinner{border-color:rgba(var(--brand-deep-rgb), .15);border-top-color:var(--brand-deep)}@keyframes note-action-spin{to{transform:rotate(360deg)}}.attachments-hint{color:var(--muted);margin:0;font-size:.78rem;line-height:1.45}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.user-status-row.compact{min-height:48px;padding:10px 12px}.badge.level-weak{color:var(--slate);background:#f1f5f9}.badge.level-medium{background:var(--amber-soft);color:var(--amber)}.badge.level-high{background:var(--rose-soft);color:var(--rose)}.progress{gap:6px;min-width:90px;display:grid}.progress-inline{background:var(--surface-pale);border:1px solid var(--line-mist);border-radius:8px;justify-content:center;align-items:center;gap:10px;min-width:128px;margin-inline:auto;padding:6px 8px;display:inline-flex}.progress-bar{background:var(--line-cool);border-radius:8px;flex-shrink:0;width:88px;height:8px;overflow:hidden}.progress-bar>span{background:linear-gradient(90deg, var(--brand), var(--brand-mid));border-radius:inherit;height:100%;display:block}.progress-pct{color:var(--brand-deep);font-variant-numeric:tabular-nums;min-width:40px;font-size:.84rem;font-weight:800}.row-actions{flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;display:flex}.row-actions .btn,.row-actions .icon-action{border:1px solid var(--line-aqua);background:var(--surface);width:34px;height:34px;color:var(--brand-deep);box-shadow:0 1px 2px rgba(var(--brand-deep-rgb), .04);border-radius:8px;place-items:center;padding:0;transition:background .14s,border-color .14s,transform .14s;display:inline-grid}.row-actions .btn:hover,.row-actions .icon-action:hover{border-color:var(--brand);background:#eef7fa;transform:translateY(-1px)}.row-actions .btn-danger,.row-actions .icon-action.btn-danger{color:var(--rose);background:#fff7f9;border-color:#f4c4d0}.icon-action{border-radius:8px;place-items:center;width:36px;height:36px;padding:0;display:inline-grid}.icon-action[data-disabled=true],.icon-action[aria-disabled=true]{opacity:.45;cursor:not-allowed;box-shadow:none}.btn-active-on{background:var(--success-soft);color:var(--success);border:1px solid #bbf7d0}.btn-active-off{color:var(--slate);border:1px solid var(--line);background:#f1f5f9}.btn-notes{background:var(--brand-soft);color:var(--brand-deep);border:1px solid #b6e4ef;position:relative}.row-actions .btn-view-project{color:var(--brand);background:#f3fafc;border-color:#b7dce6}.row-actions .btn-view-project:hover{color:var(--surface);background:linear-gradient(145deg, var(--brand-mid) 0%, var(--brand-deep) 100%);border-color:var(--brand-deep)}.action-count{top:-5px;background:var(--brand);min-width:16px;height:16px;color:var(--surface);border-radius:8px;place-items:center;padding:0 4px;font-size:.65rem;font-style:normal;font-weight:700;line-height:1;display:inline-grid;position:absolute;inset-inline-end:-5px}.action-count.is-unread{background:var(--amber)}.form-grid{gap:12px;display:grid}.form-grid-2{grid-template-columns:1fr 1fr}.form-span-2{grid-column:1/-1}.schedule-fields{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:14px;display:grid}@media (width<=700px){.schedule-fields{grid-template-columns:1fr}}.field{gap:6px;display:grid}.schedule-field{grid-template-rows:auto 44px;align-items:stretch;gap:8px;min-width:0;display:grid}.schedule-label{flex-wrap:wrap;align-items:center;gap:6px;min-height:1.35rem;margin:0;line-height:1.3;display:flex}.schedule-field .schedule-control,.schedule-field .date-field-wrap,.schedule-field .date-field-shell,.schedule-field .react-datepicker__input-container{box-sizing:border-box;width:100%;height:44px;min-height:44px;max-height:44px}.schedule-field .schedule-control{appearance:textfield;margin:0;padding:0 12px;line-height:1.2}.schedule-field .schedule-control::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.schedule-field .schedule-control::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.label-optional{color:var(--muted);font-size:.78rem;font-weight:500}.field label{color:var(--brand-deep);font-size:.9rem;font-weight:700}.modal-backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:80;overscroll-behavior:none;background:#071c2885;place-items:center;padding:16px;animation:.2s both fade;display:grid;position:fixed;inset:0}.modal{background:var(--surface);border-radius:8px;flex-direction:column;width:min(560px,100%);max-height:92vh;padding:0;animation:.28s both rise;display:flex;position:relative;overflow:hidden;box-shadow:0 24px 56px #071c2838}.modal-lg{width:min(760px,100%)}.modal-sm{width:min(440px,100%)}.task-form{flex-direction:column;gap:14px;min-height:0;display:flex}.form-section{border:1px solid var(--line);background:var(--surface-cloud);border-radius:8px;gap:12px;padding:14px;display:grid}.form-section-head{gap:4px;display:grid}.form-section-head h3{color:var(--brand-deep);margin:0;font-size:.95rem;font-weight:700}.form-section-head p{color:var(--muted);margin:0;font-size:.8rem;line-height:1.5}.modal-accent{background:var(--brand);height:3px}.modal-head{justify-content:space-between;align-items:flex-start;gap:12px;padding:16px 18px 10px;display:flex}.modal-head-actions{flex-wrap:wrap;flex-shrink:0;justify-content:flex-end;align-items:center;gap:8px;max-width:100%;display:flex}.modal.has-head-actions .modal-head{align-items:center}.modal-head-btn{white-space:nowrap;border-radius:8px;justify-content:center;align-items:center;gap:6px;min-height:36px;padding:0 14px;font-size:.84rem;font-weight:700;display:inline-flex}.modal-head-btn.is-cancel{background:var(--surface);color:var(--brand-deep);border:1px solid #d7e3e8}.modal-head-btn.is-cancel:hover:not(:disabled){background:var(--surface-ice)}.modal-head-btn.is-save{min-width:96px;box-shadow:0 4px 12px rgba(var(--brand-rgb), .2)}.modal-head-btn.is-save svg{flex-shrink:0;width:16px;height:16px}.modal-head-btn .note-action-spinner{width:14px;height:14px}.modal-close-btn{flex-shrink:0}.modal-brand{align-items:flex-start;gap:12px;min-width:0;display:flex}.modal-mark{width:40px;height:40px;color:var(--brand-deep);background:color-mix(in srgb, var(--brand,#c4a15a) 14%, var(--surface));border:1px solid color-mix(in srgb, var(--brand,#c4a15a) 32%, var(--surface));border-radius:12px;flex-shrink:0;place-items:center;margin-top:1px;display:grid}.modal-mark svg{display:block}.modal h2{color:var(--brand-deep);margin:0;font-size:1.2rem}.modal-desc{color:var(--muted);margin:6px 0 0;font-size:.9rem}.modal-body{overscroll-behavior:contain;max-height:calc(92vh - 90px);padding:8px 18px 18px;overflow:auto}.modal-lg .modal-body{padding:10px 20px 20px}.modal-lg .task-form{gap:16px}.modal-lg .task-form .form-section:last-of-type{margin-bottom:4px}.modal-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:8px;display:flex}.user-form{gap:12px;padding-bottom:2px;display:grid}.user-form-panel{box-shadow:inset 0 1px 0 rgba(var(--surface-rgb), .8);background:#fafcfd;border:1px solid #dbe7ec;border-radius:12px;gap:14px;padding:14px 16px 16px;display:grid}.user-form-panel-head{border-bottom:1px solid rgba(var(--brand-rgb), .08);gap:3px;margin-bottom:2px;padding-bottom:10px;display:grid}.user-form-panel-title{color:var(--brand-deep);letter-spacing:.01em;flex-wrap:wrap;align-items:baseline;gap:6px;margin:0;font-size:.9rem;font-weight:800;line-height:1.3;display:flex}.user-form-panel-sub{color:var(--muted);margin:0;font-size:.78rem;line-height:1.4}.renewal-pill{background:var(--success-soft);min-height:22px;color:var(--success);border-radius:999px;align-items:center;padding:0 8px;font-size:.72rem;font-weight:700;display:inline-flex}.renewal-pill.is-soon{background:var(--amber-soft);color:var(--amber)}.renewal-pill.is-overdue{color:#b42318;background:#fde8e8}.renewal-summary,.user-form-note{color:var(--brand-deep);grid-column:1/-1;margin:0;font-size:.8rem;line-height:1.5}.user-form .date-field-wrap,.user-form .ui-select{width:100%}.user-form-grid,.user-form-passwords{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:12px;min-width:0;display:grid}.user-form-field{align-self:start;gap:6px;min-width:0;display:grid}.user-form-field.is-wide{grid-column:1/-1}.user-form-field label{color:var(--brand-deep);align-items:baseline;gap:6px;margin:0;font-size:.8rem;font-weight:700;line-height:1.2;display:flex}.user-form .field input,.user-form .field input.input-email,.user-form .field input.input-phone{background:var(--surface);box-sizing:border-box;border:1px solid #d5e2e7;border-radius:9px;align-self:start;width:100%;height:42px;min-height:42px;max-height:42px;padding:0 12px;font-size:.9rem;line-height:1.25;transition:border-color .15s,box-shadow .15s}.user-form .field input:hover{border-color:#b8d4dc}.user-form .field input:focus{border-color:var(--brand);box-shadow:0 0 0 3px rgba(var(--brand-deep-rgb), .12);outline:none}.user-form .input-email,.user-form .input-phone{text-align:left;direction:ltr}.user-password-shell{background:var(--surface);box-sizing:border-box;border:1px solid #d5e2e7;border-radius:9px;flex-direction:row;align-items:center;height:42px;min-height:42px;padding-inline-end:3px;transition:border-color .15s,box-shadow .15s;display:flex}.user-password-shell:hover{border-color:#b8d4dc}.user-password-shell:focus-within{border-color:var(--brand);box-shadow:0 0 0 3px rgba(var(--brand-deep-rgb), .12)}.user-form-field-password .user-password-shell input,.user-form .user-password-shell input{text-align:start;letter-spacing:normal;background:0 0;border-radius:0;flex:1;min-width:0;height:40px;min-height:40px;max-height:40px;margin:0;padding:0 12px;font-size:.9rem;box-shadow:none!important;border:none!important}.user-form .user-password-shell input.is-ltr-value{text-align:left;unicode-bidi:plaintext}.user-form .user-password-shell input.is-locale-value{text-align:start}.user-form .user-password-shell.has-value input{letter-spacing:.08em}.user-form .user-password-shell.is-revealed.has-value input{letter-spacing:normal}.user-form .user-password-shell input::placeholder{letter-spacing:normal;opacity:.72;text-align:start}.user-form .user-password-shell input:focus{box-shadow:none;border:none;outline:none}.user-password-toggle{width:36px;height:36px;color:var(--muted);background:0 0;border:none;border-radius:8px;flex:none;place-items:center;transition:color .15s,background .15s;display:grid}.user-password-toggle:hover,.user-password-toggle[aria-pressed=true]{color:var(--brand-deep);background:var(--brand-soft)}.user-form-security{background:var(--surface-pale)}.user-status-panel{box-sizing:border-box;background:linear-gradient(#f5fbf7 0%,#eef8f2 100%);border:1px solid #d4e8da;border-radius:12px;justify-content:space-between;align-items:center;gap:14px;min-height:56px;padding:12px 14px;display:flex}.user-status-panel.is-inactive{background:linear-gradient(#fff8f9 0%,#fff1f3 100%);border-color:#edd5da}.user-status-copy{flex-wrap:wrap;flex:1;align-items:center;gap:6px 8px;min-width:0;display:flex}.user-status-copy .user-status-label{color:var(--brand-deep);font-size:.84rem;font-weight:800;line-height:1.2}.user-status-copy .user-status-line{color:var(--muted);flex-basis:100%;margin:0;font-size:.76rem;line-height:1.35}.modal-sm .modal-body{padding:10px 18px 18px}.modal-md{border-radius:12px;width:min(560px,100%)}.modal-md .modal-body{padding:10px 16px 16px}.modal-md .user-form{max-width:100%}.modal.is-notice{width:min(420px,100%)}.modal.is-notice .modal-head{justify-content:space-between}.modal.is-notice .modal-brand{align-items:center}.modal.is-notice .modal-body{padding:6px 22px 26px}.soon-notice{text-align:center;border:1px solid var(--line);background:radial-gradient(circle at top, rgba(var(--brand-rgb), .18), transparent 58%), var(--brand-soft);border-radius:16px;justify-items:center;gap:12px;padding:18px 12px 4px;display:grid}.soon-notice-icon{width:64px;height:64px;color:var(--brand-deep);background:var(--surface);border:1px solid var(--brand-light);box-shadow:0 8px 18px rgba(var(--brand-deep-rgb), .08);border-radius:18px;place-items:center;margin-top:-2px;display:grid}.soon-notice-badge{background:var(--surface);min-height:26px;color:var(--brand-deep);border:1px solid var(--brand-light);letter-spacing:.01em;border-radius:999px;align-items:center;padding:0 10px;font-size:.75rem;font-weight:800;display:inline-flex}.soon-notice p{max-width:28ch;color:var(--ink);margin:0 0 8px;font-size:1.02rem;font-weight:700;line-height:1.75}.modal-md .modal-mark{border-radius:10px;width:36px;height:36px}.modal-md .modal h2{font-size:1.12rem;line-height:1.25}.modal-md .modal-head{gap:12px;padding:14px 16px 12px}@media (width<=640px){.user-form-grid,.user-form-passwords{grid-template-columns:1fr;gap:10px}.user-form-panel{gap:12px;padding:12px}.user-status-panel{align-items:center;padding:12px}}.user-email-link,.user-phone-link{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;direction:ltr;unicode-bidi:isolate;max-width:100%;font-size:.86rem;text-decoration:none;display:inline-block;overflow:hidden}.user-email-link:hover,.user-phone-link:hover{color:var(--brand-deep);text-decoration:underline}.user-status-cell{justify-content:center;display:flex}.users-filter-tabs{margin-bottom:12px}.empty .empty-state-mark{margin-bottom:10px}.officials-panel .users-panel-filters{gap:6px}.empty-filtered{padding:28px 16px}.user-status-row{background:var(--surface);border:1px solid #e3ecef;border-radius:8px;justify-content:space-between;align-items:center;gap:16px;padding:14px 16px;display:flex}.user-status-line{color:var(--muted);font-size:.78rem;line-height:1.4}.user-status-label{color:var(--brand-deep);font-size:.82rem;font-weight:700}.ui-switch.is-compact{border-radius:8px;flex-shrink:0;margin:-4px;padding:4px}.ui-switch.is-compact:focus-visible .ui-switch-track{outline:2px solid var(--brand-soft);outline-offset:2px}.user-status-badge{border-radius:8px;align-items:center;padding:4px 10px;font-size:.76rem;font-weight:800;line-height:1.2;display:inline-flex}.user-status-badge.is-active{background:var(--success-soft);color:var(--success);box-shadow:inset 0 0 0 1px rgba(var(--success-rgb), .14)}.user-status-badge.is-inactive{background:var(--danger-soft);color:var(--rose);box-shadow:inset 0 0 0 1px rgba(var(--rose-rgb), .12)}.field-hint{color:var(--muted);margin:0;font-size:.84rem}.field-label-with-hint{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:10px;display:flex}.field-hint-inline{color:var(--muted);font-size:.78rem;font-weight:600;line-height:1.35}.ui-switch{color:var(--ink);cursor:pointer;background:0 0;border:0;outline:none;align-items:center;gap:10px;padding:0;display:inline-flex}.ui-switch-track{background:#c5d3da;border-radius:999px;flex-shrink:0;width:48px;height:28px;transition:background .2s,box-shadow .2s;position:relative;box-shadow:inset 0 1px 3px #17303a24}.ui-switch-thumb{top:3px;background:var(--surface);width:22px;height:22px;box-shadow:0 2px 6px #071c2838, 0 0 0 1px rgba(var(--brand-deep-rgb), .06);border-radius:50%;transition:inset-inline-start .2s,box-shadow .2s,transform .2s;position:absolute;inset-inline-start:3px}.ui-switch.is-on .ui-switch-track{background:linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);box-shadow:inset 0 1px 2px rgba(var(--surface-rgb), .18), 0 0 0 3px rgba(var(--brand-deep-rgb), .12)}.ui-switch.is-on .ui-switch-thumb{box-shadow:0 3px 8px #071c2838, 0 0 0 1px rgba(var(--brand-deep-rgb), .08);inset-inline-start:23px}.ui-switch-label{color:var(--muted);white-space:nowrap;font-size:.86rem;font-weight:600}.ui-switch.is-on .ui-switch-label{color:var(--brand-deep)}.ui-switch.is-disabled{opacity:.55;cursor:not-allowed}.ui-switch:hover:not(.is-disabled) .ui-switch-track{filter:brightness(.97)}.ui-switch:hover:not(.is-disabled):not(.is-on) .ui-switch-track{background:#b7c8d0}.ui-switch:active:not(.is-disabled) .ui-switch-thumb{transform:scale(.94)}.ui-switch:focus-visible .ui-switch-track{box-shadow:0 0 0 3px rgba(var(--brand-deep-rgb), .18);outline:none}.ui-switch.is-on:focus-visible .ui-switch-track{box-shadow:inset 0 1px 2px rgba(var(--surface-rgb), .18), 0 0 0 3px rgba(var(--brand-deep-rgb), .22)}.empty{text-align:center;color:var(--muted);justify-items:center;gap:10px;padding:46px 16px;display:grid}.empty p{max-width:36rem;margin:0}.no-role-state strong{color:var(--text);font-size:1.15rem}.empty-logo{opacity:.85;width:56px}.empty-state-mark{color:var(--brand-deep);opacity:.88;place-items:center;display:grid}.empty-state-mark svg{width:52px;height:52px;display:block}.company-mark{border:1px solid var(--line);background:var(--surface);width:84px;height:84px;box-shadow:0 8px 18px rgba(var(--brand-deep-rgb), .08);border-radius:20px;place-items:center;display:grid;overflow:hidden}.company-mark img{object-fit:contain;width:100%;height:100%;padding:10px}.company-mark-fallback{background:var(--brand-soft);color:var(--brand-deep);font-size:1.6rem;font-weight:800}@keyframes boot-spin{to{transform:rotate(360deg)}}@keyframes boot-dot{0%,80%,to{opacity:.28;transform:translateY(0)scale(.9)}40%{opacity:1;transform:translateY(-3px)scale(1.08)}}.spinner{border:3px solid var(--line);border-top-color:var(--brand-mid);border-radius:50%;width:28px;height:28px;animation:.8s linear infinite spin}@keyframes boot-in{0%{opacity:0;transform:translateY(10px)scale(.97)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes rise{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes fade{0%{opacity:0}to{opacity:1}}@keyframes spin{to{transform:rotate(360deg)}}.task-card-head{display:contents}.task-activity-pill,.task-card-pills{display:none}@media (width<=1024px){.app-main,.app-shell.is-project-focus .app-main{padding:16px 14px 32px}.app-shell:not(.is-sidebar-open) .app-header{padding-inline:14px;padding-top:max(8px, env(safe-area-inset-top,0px))}.app-header{gap:10px;min-height:60px}.app-header-actions{gap:6px;padding:4px}.app-shell:not(.is-sidebar-open) .app-main{padding-inline-start:14px}.app-sidebar{z-index:80;border-inline-end:1px solid var(--line);width:min(300px,88vw);height:100dvh;box-shadow:0 18px 48px rgba(var(--brand-deep-rgb), .2);flex:none;transition:transform .24s;position:fixed;inset-block:0;inset-inline-start:0}.sidebar-panel{width:100%}html[dir=rtl] .app-sidebar:not(.is-open){pointer-events:none;width:min(300px,88vw);transform:translate(105%)}html[dir=ltr] .app-sidebar:not(.is-open){pointer-events:none;width:min(300px,88vw);transform:translate(-105%)}.app-sidebar.is-open{overflow:visible;transform:translate(0)}.app-sidebar.is-open .sidebar-panel{overflow:visible}.topbar{--topbar-h:40px;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"brand meta""nav nav";align-items:center;gap:10px 12px;padding:12px;display:grid}.brand{grid-area:brand;min-width:0}.brand-logo{width:36px;height:36px}.page-nav{grid-area:nav;justify-content:flex-start;gap:4px;width:100%;height:42px;display:flex;overflow-x:auto}.topbar-meta{grid-area:meta;gap:8px;height:auto}.topbar-session{height:var(--topbar-h)}.topbar-controls{flex-wrap:nowrap;justify-content:flex-end;gap:8px}.topbar-divider{display:none}.topbar-user{max-width:120px}.page-link{flex:none;padding:0 10px;font-size:.9rem}.panel{padding:14px}.panel-head{flex-direction:column;align-items:stretch;gap:14px}.project-workspace{padding:14px}.project-workspace-hero{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"copy meter""filters filters";align-items:center;gap:10px 16px;margin:0 0 14px;padding:14px 14px 0}.project-workspace-copy{text-align:start;padding:0 0 14px}.project-workspace-copy h1{font-size:clamp(1.28rem,2.8vw,1.65rem)}.project-workspace-meter{justify-self:end;padding:8px 2px 14px}.project-workspace-title-row,.project-workspace-chips,.project-workspace-schedule{justify-content:flex-start}.project-workspace-desc{max-width:42ch;margin-inline:0;font-size:.9rem}.project-workspace-schedule{flex-wrap:wrap;gap:8px}.project-ring{width:96px;height:96px}.project-ring-inner{width:74px;height:74px}.project-workspace-toolbar{gap:0;margin:0 -14px;padding:14px}.project-workspace-actions{flex-direction:column;align-items:stretch;gap:10px;width:100%;display:flex}.project-workspace-action-filters,.project-workspace-action-btns{grid-template-columns:1fr 1fr;gap:10px;width:100%;display:grid}.project-workspace-actions .panel-filter-select{width:100%;min-width:0;max-width:none;display:block}.project-workspace-actions .panel-filter-select.ui-select{width:100%;max-width:none}.project-workspace-actions .panel-filter-select .ui-select-trigger{width:100%;min-width:0;max-width:none;height:44px;min-height:44px;max-height:44px}.project-workspace-actions .panel-action-btn{white-space:nowrap;justify-content:center;width:100%;height:44px;min-height:44px;max-height:44px}.project-workspace-search{width:100%;max-width:none;margin-inline-start:0}.project-workspace .status-tabs,.project-workspace-filters{flex-wrap:nowrap}.projects-panel .projects-panel-head{margin-bottom:12px}.projects-panel .projects-panel-head h1{white-space:normal;font-size:1.28rem}.projects-panel .projects-panel-toolbar{flex-direction:column;align-items:stretch;gap:10px}.projects-panel .projects-panel-tools{grid-template-columns:1fr 1fr;gap:10px;width:100%;display:grid}.projects-panel .projects-panel-tools .search-input{box-sizing:border-box;flex:none;grid-column:1/-1;width:100%;max-width:none;height:44px;min-height:44px;max-height:44px;padding:10px 12px;font-size:.9rem;line-height:1.2}.projects-panel .projects-panel-tools .panel-filter-select{width:100%;min-width:0;max-width:none;display:block}.projects-panel .projects-panel-tools .panel-filter-select.ui-select,.projects-panel .projects-panel-tools .panel-filter-select .ui-select{width:100%;max-width:none}.projects-panel .projects-panel-tools .panel-filter-select .ui-select-trigger{box-sizing:border-box;width:100%;min-width:0;max-width:none;height:44px;min-height:44px;max-height:44px;padding:8px 12px;font-size:.88rem}.projects-panel .projects-panel-toolbar>.panel-action-btn{white-space:nowrap;box-sizing:border-box;border-radius:6px;justify-content:center;align-items:center;width:100%;height:44px;min-height:44px;max-height:44px;padding:0 14px;font-size:.9rem;font-weight:700;display:inline-flex}.projects-panel .projects-panel-filters{display:none}.modal-backdrop{padding:14px}.modal.has-head-actions .modal-head{align-items:flex-start;gap:14px}.modal-brand{flex:auto;min-width:0}.modal-desc{max-width:42ch;line-height:1.55}.modal-head-actions{flex-shrink:0}.form-grid-2{grid-template-columns:1fr 1fr;gap:12px 14px}.form-span-2{grid-column:1/-1}.panel-head-actions{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr) auto auto;align-items:stretch;gap:10px;width:100%;margin-inline-start:0;display:grid}.panel-head-actions .search-input{grid-column:1/-1;width:100%}.panel-filter-select{width:100%;display:block}.panel-head-actions .panel-action-btn{white-space:nowrap;justify-content:center;width:auto;min-width:max-content;min-height:44px;padding-inline:14px}.users-panel .panel-head-actions{grid-template-columns:minmax(0,1.4fr) auto}.users-panel .users-panel-top{flex-wrap:wrap;gap:12px;padding:14px}.officials-panel .officials-panel-top{flex-wrap:wrap;align-items:center;padding:10px 12px}.officials-panel .officials-panel-actions{flex-wrap:wrap}.officials-panel .officials-panel-actions .search-input{width:100%;min-width:0}.users-panel .users-panel-actions{flex:auto;grid-template-columns:minmax(0,1.4fr) auto;gap:10px;width:100%;margin-inline-start:0;display:grid}.users-panel .users-panel-actions .search-input{width:100%;min-height:44px}.users-panel .users-panel-actions .panel-action-btn{justify-content:center;width:auto;min-width:max-content;min-height:44px}.users-panel .users-panel-actions .panel-filter-select,.users-panel .users-panel-actions .panel-scope-filter,.officials-panel .officials-panel-actions .panel-scope-filter{grid-column:1/-1;width:100%;display:block}.status-tabs-chips{display:none}.users-panel .panel-filter-activity{display:block}.data-table,.users-table,.project-workspace .data-table,.project-workspace .tasks-table{min-width:0}.data-table thead,.users-table thead{display:none}.data-table,.data-table tbody,.data-table tr,.data-table td,.users-table,.users-table tbody,.users-table tr,.users-table td{width:100%;display:block}.users-table .user-person,.users-table .user-record{justify-items:start;width:100%;max-width:none;margin-inline:0}.users-table .user-record-meta{justify-content:flex-start}.users-table .cell-title{text-align:start}.table-wrap,.users-table-wrap,.project-workspace .table-wrap{box-shadow:none;background:0 0;border:0;overflow:visible}.data-table tbody,.users-table tbody{gap:14px;display:grid}.data-table tr,.users-table tr{background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:14px 16px;box-shadow:0 8px 20px #0a4d6b0f}.data-table tbody tr:hover,.users-table tbody tr:hover{background:var(--surface)}.data-table tbody tr.row-inactive:hover{background:#fff5f6}.project-workspace .table-wrap{box-shadow:none;background:0 0;border:0;overflow:visible}.project-workspace .data-table,.project-workspace .data-table.tasks-table,.project-workspace .tasks-table{width:100%;min-width:0!important}.tasks-table tbody{gap:14px;display:grid}.tasks-table tbody tr{background:var(--surface);border:1px solid var(--line);box-sizing:border-box;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"name name""dates working""progress assignees""actions actions";align-items:stretch;gap:10px 0;width:100%;min-width:0;max-width:100%;padding:14px 16px;display:grid;overflow:visible;box-shadow:0 8px 20px #0a4d6b0f}.tasks-table td{text-align:start;border-bottom:0;align-items:center;width:auto;min-width:0;max-width:none;padding:0;display:flex}.tasks-table td:before{display:none}.tasks-table td>*{margin-inline:0}.tasks-table .cell-task-name{grid-area:name;min-width:0;display:block}.tasks-table .cell-task-level,.tasks-table .cell-task-status{display:none}.tasks-table .cell-task-dates{grid-area:dates;min-width:0}.tasks-table .cell-task-working-days{grid-area:working}.tasks-table .cell-task-progress{grid-area:progress;min-width:0}.tasks-table .cell-task-assignees{grid-area:assignees}.tasks-table .cell-task-actions{border-top:1px solid #e8eef1;grid-area:actions;margin-top:2px;padding-top:8px;display:block}.tasks-table .task-card-head{flex-direction:column;align-items:flex-start;gap:8px;width:100%;display:flex}.tasks-table .task-activity-pill-inline{display:none}.tasks-table .task-card-pills{flex-wrap:wrap;align-items:center;gap:6px;width:100%;display:flex}.tasks-table .task-card-pills .badge,.tasks-table .task-card-pills .task-activity-pill{border-radius:8px;flex-shrink:0;align-items:center;margin:0;padding:5px 10px;font-size:.74rem;font-weight:800;line-height:1.2;display:inline-flex}.tasks-table .cell-title{width:100%;color:var(--brand-deep);text-align:start;margin:0;font-size:1.14rem;font-weight:800;line-height:1.3;display:block}.tasks-table .task-activity-pill.is-active{background:var(--success-soft);color:var(--success)}.tasks-table .task-activity-pill.is-inactive{background:var(--danger-soft);color:var(--rose)}.tasks-table .badge{margin-inline:0}.tasks-table .status-stack{flex-flow:wrap;justify-content:flex-end;align-items:center;gap:6px;margin:0;display:inline-flex}.tasks-table .cell-task-dates,.tasks-table .cell-task-working-days{background:var(--surface-mist);border:1px solid var(--line-slate);box-sizing:border-box;height:48px;min-height:48px}.tasks-table .cell-task-dates{border-inline-end:0;border-start-start-radius:8px;border-start-end-radius:0;border-end-end-radius:0;border-end-start-radius:8px;padding-inline:14px}.tasks-table .cell-task-working-days{border-inline-start:0;border-start-start-radius:0;border-start-end-radius:8px;border-end-end-radius:8px;border-end-start-radius:0;justify-content:center;justify-self:stretch;min-width:64px;padding-inline:12px}.tasks-table .cell-task-progress,.tasks-table .cell-task-assignees{background:var(--surface-mist);border:1px solid var(--line-slate);box-sizing:border-box;width:auto;height:48px;min-height:48px}.tasks-table .cell-task-progress{border-inline-end:0;border-start-start-radius:8px;border-start-end-radius:0;border-end-end-radius:0;border-end-start-radius:8px;padding-inline:14px}.tasks-table .cell-task-assignees{border-inline-start:0;border-start-start-radius:0;border-start-end-radius:8px;border-end-end-radius:8px;border-end-start-radius:0;justify-content:center;justify-self:stretch;min-width:72px;padding-inline:12px}.tasks-table .cell-task-assignees:before{display:none}.tasks-table .date-range{width:100%;color:var(--ink);white-space:nowrap;background:0 0;border:0;border-radius:0;flex-flow:row;align-items:center;gap:6px 8px;margin:0;padding:0;font-size:.84rem;line-height:1.2;display:flex}.tasks-table .date-range span{font-weight:700}.tasks-table .date-range small{color:var(--muted);font-size:.76rem}.tasks-table .working-days-cell{background:#e5f2f6;border:1px solid #cfe3ea;border-radius:8px;justify-content:center;align-items:center;min-width:34px;height:30px;margin:0;padding:0 8px;font-size:.88rem;display:inline-flex}.tasks-table .progress-inline{background:0 0;border:0;border-radius:0;align-items:center;gap:10px;width:100%;min-width:0;margin:0;padding:0;display:flex}.tasks-table .progress-bar{flex:auto;width:auto;min-width:48px;max-width:none;height:8px}.tasks-table .progress-pct{color:var(--brand-deep);flex-shrink:0;font-size:.88rem;font-weight:800}.tasks-table .assignees-cell{justify-content:center;margin:0}.tasks-table .row-actions,.data-table td .row-actions{flex-wrap:nowrap;justify-content:flex-start;gap:8px;width:100%;margin:0;padding-top:0;overflow:visible}.tasks-table .row-actions .btn,.tasks-table .row-actions .icon-action{flex:none;width:40px;min-width:40px;height:40px}.projects-panel .table-wrap{box-shadow:none;background:0 0;border:0;overflow:visible}.projects-panel .data-table.projects-table{min-width:0}.projects-table tbody{gap:14px;display:grid}.projects-table tbody tr.project-row{background:var(--surface);border:1px solid var(--line);border-radius:8px;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"name status""dates working""progress tasks""actions actions";align-items:center;gap:10px 0;padding:16px;display:grid;box-shadow:0 8px 22px #0a4d6b0f}.projects-panel .projects-table td{text-align:start;vertical-align:middle;border-bottom:0;align-items:center;width:auto;max-width:100%;padding:0;display:flex}.projects-panel .projects-table td:before{display:none}.projects-panel .projects-table td>*{margin-inline:0}.projects-table .cell-project-name{flex-direction:column;grid-area:name;justify-content:center;align-self:center;align-items:flex-start;gap:4px;min-width:0;padding-inline-end:8px;display:flex}.projects-table .cell-project-status{grid-area:status;place-self:center end}.projects-table .cell-project-dates{grid-area:dates;min-width:0}.projects-table .cell-project-working-days{grid-area:working;justify-self:stretch}.projects-table .cell-project-progress{grid-area:progress;min-width:0}.projects-table .cell-project-tasks{grid-area:tasks;justify-self:stretch}.projects-table .cell-project-actions{border-top:1px solid #e8eef1;grid-area:actions;margin-top:2px;padding-top:6px;display:block}.projects-table .cell-title,.projects-table .cell-muted,.projects-table .project-desc{text-align:start;width:100%;margin-inline:0;display:block}.projects-table .cell-title{color:var(--brand-deep);font-size:1.14rem;font-weight:800;line-height:1.35}.projects-table .project-desc{max-width:none;color:var(--muted);-webkit-line-clamp:2;margin-top:4px;font-size:.86rem;line-height:1.5}.projects-table .status-stack{flex-flow:wrap;justify-content:flex-end;align-items:center;gap:6px;width:fit-content;margin-inline:0;display:inline-flex}.projects-table .badge{margin-inline:0}.projects-panel .projects-table .cell-project-dates,.projects-panel .projects-table .cell-project-working-days{background:var(--surface-mist);border:1px solid var(--line-slate);box-sizing:border-box;height:48px;min-height:48px}.projects-panel .projects-table .cell-project-dates{border-inline-end:0;border-start-start-radius:8px;border-start-end-radius:0;border-end-end-radius:0;border-end-start-radius:8px;padding-block:0;padding-inline:16px}.projects-panel .projects-table .cell-project-working-days{border-inline-start:0;border-start-start-radius:0;border-start-end-radius:8px;border-end-end-radius:8px;border-end-start-radius:0;justify-content:center;padding-block:0;padding-inline:14px}.projects-panel .projects-table .cell-project-progress,.projects-panel .projects-table .cell-project-tasks{background:var(--surface-mist);border:1px solid var(--line-slate);box-sizing:border-box;height:52px;min-height:52px}.projects-panel .projects-table .cell-project-progress{border-inline-end:0;border-start-start-radius:8px;border-start-end-radius:0;border-end-end-radius:0;border-end-start-radius:8px;padding-block:0;padding-inline:16px}.projects-panel .projects-table .cell-project-tasks{border-inline-start:0;border-start-start-radius:0;border-start-end-radius:8px;border-end-end-radius:8px;border-end-start-radius:0;justify-content:center;padding-block:0;padding-inline:14px}.projects-table .date-range{width:100%;color:var(--ink);white-space:nowrap;background:0 0;border:0;border-radius:0;flex-flow:row;justify-content:flex-start;align-items:center;gap:6px 8px;margin:0;padding:0;font-size:.86rem;line-height:1.2;display:flex}.projects-table .date-range span{font-variant-numeric:tabular-nums;font-weight:700}.projects-table .date-range small{color:var(--muted);font-size:.78rem;font-weight:600}.projects-table .working-days-cell{min-width:36px;height:32px;color:var(--brand-deep);background:#e5f2f6;border:1px solid #cfe3ea;border-radius:8px;justify-content:center;align-items:center;margin:0;padding:0 10px;font-size:.9rem;font-weight:800;line-height:1;display:inline-flex}.projects-table .progress-inline{background:0 0;border:0;border-radius:0;align-items:center;gap:12px;width:100%;min-width:0;height:auto;margin:0;padding:0;display:flex}.projects-table .progress-bar{border-radius:999px;flex:auto;width:auto;min-width:64px;max-width:none;height:9px}.projects-table .progress-pct{color:var(--brand-deep);font-variant-numeric:tabular-nums;flex-shrink:0;justify-content:center;align-items:center;margin:0;font-size:.92rem;font-weight:800;line-height:1;display:inline-flex}.projects-table .tasks-progress-ring{width:42px;height:42px;box-shadow:none;flex-shrink:0;place-items:center;margin:0;display:grid}.projects-table .tasks-progress-ring-inner{width:32px;height:32px}.projects-table .tasks-progress-ring-inner strong{font-size:.68rem;line-height:1}.projects-table .row-actions{-webkit-overflow-scrolling:touch;flex-wrap:nowrap;justify-content:flex-start;gap:8px;width:100%;margin:0;padding-top:8px;display:flex;overflow-x:auto}.projects-table .row-actions .btn,.projects-table .row-actions .icon-action{flex:none;width:40px;min-width:40px;height:40px}.users-table td{text-align:start;border-bottom:1px dashed #e5edf3;grid-template-columns:minmax(84px,32%) minmax(0,1fr);align-items:center;gap:8px 12px;padding:11px 2px;display:grid}.users-table td .row-actions{justify-content:flex-start;margin-inline:0}.users-table td:last-child{border-bottom:0;grid-template-columns:1fr;gap:8px;padding-top:12px}.users-table td:before{content:attr(data-label);color:var(--muted);font-size:.78rem;font-weight:700;line-height:1.3}.users-table .row-actions{flex-wrap:nowrap;justify-content:flex-start;gap:8px;width:100%;overflow-x:auto}.users-table .row-actions .btn,.users-table .row-actions .icon-action{flex:none;width:40px;min-width:40px;height:40px}}@media (width<=900px){.projects-panel .projects-panel-tools{width:100%}.projects-panel .projects-panel-tools .search-input{flex:100%;width:100%;max-width:none}}@media (width<=640px){.app-main,.app-shell.is-project-focus .app-main{padding:12px 10px 24px}.app-shell:not(.is-sidebar-open) .app-header{padding-inline:10px;padding-top:max(6px, env(safe-area-inset-top,0px))}.app-header{min-height:56px}.app-header-logout{justify-content:center;width:36px;padding:0}.app-header-id small,.app-header-logout span,.app-header-rule{display:none}.app-shell:not(.is-sidebar-open) .app-main{padding-inline-start:10px}.topbar{--topbar-h:40px;grid-template-columns:auto minmax(0,1fr);grid-template-areas:"brand meta""nav nav";align-items:center;gap:10px;padding:10px;display:grid}.brand{height:var(--topbar-h);gap:10px}.brand-logo{width:34px;height:34px}.topbar-meta{width:auto;height:var(--topbar-h);justify-content:flex-end;justify-self:end;gap:8px}.topbar-controls{flex-flow:row;align-items:center;gap:8px;width:auto}.topbar-session{flex:0 auto;min-width:0}.topbar-user{flex:0 auto;max-width:none;padding-inline:6px 8px}.page-nav{justify-content:flex-start;gap:2px;width:100%;height:42px;display:flex;overflow-x:auto}.page-link{flex:none;justify-content:center;padding:0 8px}.lang-switch{height:var(--topbar-h);flex:none}.lang-btn{min-width:38px;padding:0 8px}.panel{border-radius:8px;padding:12px}.panel-head h1{font-size:1.15rem}.panel-sub{font-size:.8rem}.panel-head-actions,.users-panel .panel-head-actions,.users-panel .users-panel-actions{grid-template-columns:1fr;gap:8px}.panel-head-actions .search-input,.users-panel .users-panel-actions .search-input{grid-column:auto;min-height:44px}.panel-head-actions .panel-action-btn,.users-panel .users-panel-actions .panel-action-btn,.panel-filter-select{width:100%}.projects-panel .projects-panel-head{margin-bottom:10px}.projects-panel .projects-panel-head h1{font-size:1.18rem}.projects-panel .projects-panel-hero{margin-bottom:4px;padding-bottom:12px}.projects-panel .projects-panel-toolbar{gap:8px}.projects-panel .projects-panel-tools{grid-template-columns:1fr;gap:8px}.projects-panel .projects-panel-tools .search-input,.projects-panel .projects-panel-tools .panel-filter-select,.projects-panel .projects-panel-toolbar>.panel-action-btn{box-sizing:border-box;width:100%;height:44px;min-height:44px;max-height:44px}.projects-panel .projects-panel-tools .search-input{padding:10px 12px;font-size:.9rem;line-height:1.2}.projects-panel .projects-panel-tools .panel-filter-select .ui-select-trigger{height:44px;min-height:44px;padding:8px 12px;font-size:.88rem}.projects-panel .projects-panel-toolbar>.panel-action-btn{border-radius:6px;justify-content:center;align-items:center;padding:0 14px;font-size:.9rem;font-weight:700;display:inline-flex}.projects-table tbody tr.project-row{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"name name""status status""dates working""progress tasks""actions actions";align-items:stretch;gap:8px 0;padding:14px}.projects-panel .projects-table .cell-project-name{padding-bottom:2px;padding-inline-end:0}.projects-panel .projects-table .cell-project-status{place-self:start;padding-top:0;padding-bottom:2px}.projects-table .cell-title{font-size:1.08rem}.projects-table .project-desc{margin-top:4px;font-size:.82rem}.projects-panel .projects-table .cell-project-dates,.projects-panel .projects-table .cell-project-working-days,.projects-panel .projects-table .cell-project-progress,.projects-panel .projects-table .cell-project-tasks{background:var(--surface-mist);border:1px solid var(--line-slate);box-sizing:border-box;height:auto;min-height:44px;padding-block:0}.projects-panel .projects-table .cell-project-dates{border-inline-end:0;border-start-start-radius:8px;border-start-end-radius:0;border-end-end-radius:0;border-end-start-radius:8px;padding-inline:12px}.projects-panel .projects-table .cell-project-working-days{border-inline-start:0;border-start-start-radius:0;border-start-end-radius:8px;border-end-end-radius:8px;border-end-start-radius:0;justify-content:center;justify-self:stretch;padding-inline:10px}.projects-panel .projects-table .cell-project-progress{border-inline-end:0;border-start-start-radius:8px;border-start-end-radius:0;border-end-end-radius:0;border-end-start-radius:8px;padding-inline:12px}.projects-panel .projects-table .cell-project-tasks{border-inline-start:0;border-start-start-radius:0;border-start-end-radius:8px;border-end-end-radius:8px;border-end-start-radius:0;justify-content:center;justify-self:stretch;padding-inline:10px}.projects-table .date-range{white-space:normal;flex-wrap:wrap;font-size:.8rem}.projects-table .progress-inline{gap:8px;width:100%}.projects-panel .projects-table .cell-project-actions{margin-top:4px;padding-top:10px}.projects-table .row-actions{justify-content:flex-start;width:100%}.project-workspace{padding:10px}.project-workspace-hero{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"copy copy""meter meter""filters filters";align-items:stretch;gap:10px;margin:0 0 10px;padding:10px 10px 0}.project-workspace-copy{text-align:start;padding:0}.project-workspace-copy h1{font-size:1.22rem;line-height:1.3}.project-workspace-desc{max-width:none;margin-top:4px;font-size:.82rem;line-height:1.45}.project-workspace-schedule{flex-direction:column;align-items:flex-start;gap:8px;margin-top:10px}.project-workspace-dates{gap:5px;font-size:.8rem;line-height:1.35}.project-workspace-schedule .working-days-meta,.project-workspace-schedule .badge{margin-inline-start:0;padding:4px 9px;font-size:.74rem}.project-workspace-meter{place-self:center;gap:6px;padding:4px 0 12px}.project-ring{width:84px;height:84px}.project-ring-inner{width:64px;height:64px}.project-ring-inner strong{font-size:1.1rem}.project-ring-label{max-width:7rem;font-size:.7rem;line-height:1.25}.project-workspace-toolbar{margin:0 -10px;padding:12px 10px 14px}.project-workspace-actions{gap:8px}.project-workspace-action-filters,.project-workspace-action-btns{grid-template-columns:1fr;gap:8px}.project-workspace-actions .panel-filter-select,.project-workspace-actions .panel-action-btn{width:100%;min-height:44px}.project-workspace-actions .panel-action-btn{padding-inline:14px;font-size:.9rem}.projects-panel .projects-panel-filters{display:none}.project-workspace .tasks-table tbody{gap:10px}.project-workspace .tasks-table tbody tr{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"name name""dates working""progress assignees""actions actions";align-items:stretch;gap:6px 0;padding:10px;display:grid}.project-workspace .tasks-table td{align-items:center;width:auto;min-width:0;max-width:none;display:flex}.project-workspace .tasks-table .cell-task-name{grid-area:name;padding-bottom:0;display:block}.project-workspace .tasks-table .cell-task-level,.project-workspace .tasks-table .cell-task-status{display:none}.project-workspace .tasks-table .cell-task-dates{grid-area:dates}.project-workspace .tasks-table .cell-task-working-days{grid-area:working}.project-workspace .tasks-table .cell-task-progress{grid-area:progress}.project-workspace .tasks-table .cell-task-assignees{grid-area:assignees}.project-workspace .tasks-table .cell-task-actions{grid-area:actions}.project-workspace .tasks-table .task-card-head{flex-direction:column;align-items:flex-start;gap:6px;width:100%;display:flex}.project-workspace .tasks-table .task-activity-pill-inline{display:none}.project-workspace .tasks-table .task-card-pills{flex-wrap:wrap;align-items:center;gap:5px;width:100%;display:flex}.project-workspace .tasks-table .task-card-pills .badge,.project-workspace .tasks-table .task-card-pills .task-activity-pill{padding:3px 8px;font-size:.68rem;line-height:1.2;display:inline-flex}.project-workspace .tasks-table .cell-title{width:100%;font-size:1rem;line-height:1.25}.tasks-table tbody tr{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"name name""dates working""progress assignees""actions actions";align-items:stretch;gap:6px 0;padding:10px}.tasks-table .cell-task-name{padding-bottom:0}.tasks-table .cell-task-level,.tasks-table .cell-task-status{display:none}.tasks-table .task-card-head{flex-direction:column;align-items:flex-start;gap:6px}.tasks-table .task-activity-pill-inline{display:none}.tasks-table .task-card-pills{flex-wrap:wrap;align-items:center;gap:5px;width:100%;display:flex}.tasks-table .cell-title{width:100%;font-size:1rem;line-height:1.25}.tasks-table .cell-task-dates,.tasks-table .cell-task-working-days{background:var(--surface-mist);border:1px solid var(--line-slate);box-sizing:border-box;height:36px;min-height:36px;padding-block:0}.tasks-table .cell-task-dates{border-inline-end:0;border-start-start-radius:8px;border-start-end-radius:0;border-end-end-radius:0;border-end-start-radius:8px;padding-inline:10px}.tasks-table .cell-task-working-days{border-inline-start:0;border-start-start-radius:0;border-start-end-radius:8px;border-end-end-radius:8px;border-end-start-radius:0;justify-content:center;justify-self:stretch;min-width:44px;padding-inline:8px}.tasks-table .cell-task-progress,.tasks-table .cell-task-assignees{background:var(--surface-mist);border:1px solid var(--line-slate);box-sizing:border-box;border-radius:0;width:auto;height:40px;min-height:40px;padding-block:0}.tasks-table .cell-task-progress{border-inline-end:0;border-start-start-radius:8px;border-start-end-radius:0;border-end-end-radius:0;border-end-start-radius:8px;padding-inline:10px}.tasks-table .cell-task-assignees{border-inline-start:0;border-start-start-radius:0;border-start-end-radius:8px;border-end-end-radius:8px;border-end-start-radius:0;justify-content:center;justify-self:stretch;min-width:52px;padding-inline:8px}.tasks-table .cell-task-assignees:before{display:none}.tasks-table .date-range{white-space:nowrap;flex-wrap:nowrap;gap:4px;font-size:.74rem}.tasks-table .working-days-cell{min-width:26px;height:24px;padding:0 7px;font-size:.78rem}.tasks-table .progress-inline{background:0 0;border:0;align-items:center;gap:8px;width:100%;margin:0;padding:0;display:flex}.tasks-table .progress-bar{flex:auto;min-width:0;max-width:none;height:7px}.tasks-table .progress-pct{color:var(--brand-deep);font-variant-numeric:tabular-nums;flex-shrink:0;font-size:.8rem;font-weight:800;display:inline-block}.tasks-table .assignees-cell{margin:0}.tasks-table .cell-task-actions{border-top:1px solid #e8eef1;margin-top:2px;padding-top:8px}.tasks-table .row-actions{flex-wrap:nowrap;justify-content:space-between;gap:4px;width:100%;padding-top:0;overflow:visible}.tasks-table .row-actions .btn,.tasks-table .row-actions .icon-action{flex:1 1 0;width:auto;min-width:0;max-width:40px;height:36px;min-height:36px}.projects-table .progress-inline{gap:8px}.projects-table .progress-bar{min-width:36px;height:8px}.projects-table .progress-pct{font-size:.84rem}.projects-table .working-days-cell{min-width:0;height:auto;min-height:28px;padding:0;font-size:.84rem}.projects-table .tasks-progress-ring{width:36px;height:36px}.projects-table .tasks-progress-ring-inner{width:26px;height:26px}.projects-table .tasks-progress-ring-inner strong{font-size:.62rem}.projects-table .row-actions{gap:6px;padding-top:0}.projects-table .row-actions .btn,.projects-table .row-actions .icon-action{width:38px;min-width:38px;height:38px}.users-table tr{border-radius:8px;padding:10px 12px}.users-table td{grid-template-columns:minmax(72px,30%) minmax(0,1fr);padding:10px 0}.users-table td:last-child{grid-template-columns:1fr}.tasks-table tbody tr{border-radius:8px}.tasks-table .cell-title{font-size:1rem}.tasks-table .progress-inline{width:100%;min-width:0}.modal-backdrop{place-items:end center;padding:8px}.modal,.modal-lg,.modal-sm,.modal-md{border-radius:8px;width:100%;max-height:min(94vh,100%)}.modal-head{flex-direction:column;align-items:stretch;gap:12px;padding:14px 14px 10px}.modal.has-head-actions .modal-head{align-items:stretch}.modal-brand{gap:10px;width:100%}.modal-mark{width:36px;height:36px}.modal h2{font-size:1.08rem}.modal-desc{margin-top:4px;font-size:.82rem;line-height:1.55}.modal-head-actions{grid-template-columns:1fr 1fr;gap:8px;width:100%;max-width:none;display:grid}.modal-head-btn,.modal-head-actions .btn{width:100%;min-height:42px}.modal-close-btn{grid-column:1/-1;justify-self:end}.modal-body,.modal-lg .modal-body,.modal-sm .modal-body{max-height:calc(94vh - 120px);padding:6px 14px 16px}.task-form{gap:12px}.form-section{border-radius:8px;gap:10px;padding:12px}.form-grid-2{grid-template-columns:1fr}.form-span-2{grid-column:auto}.form-grid{gap:10px}.user-form-grid,.user-form-passwords{grid-template-columns:1fr}.confirm-delete-dialog{width:min(100%,420px);margin:0 4px 8px}.confirm-delete-actions{grid-template-columns:1fr 1fr;gap:8px;display:grid}.confirm-delete-actions .btn{width:100%}.modal-actions{grid-template-columns:1fr 1fr;gap:8px;display:grid}.modal-actions .btn{width:100%}}@media (width<=420px){.users-table td{grid-template-columns:1fr;gap:4px}.users-table td:last-child{gap:8px}.tasks-table .row-actions{flex-wrap:nowrap}.projects-table tbody tr.project-row{gap:0}.projects-table .row-actions{flex-wrap:wrap}.modal-actions,.confirm-delete-actions,.panel-head-actions{grid-template-columns:1fr}}.date-field-wrap{width:100%;display:block}.date-field-wrap .react-datepicker__input-container{width:100%;height:100%;display:block;position:relative}.date-field-shell{width:100%;height:44px;display:block;position:relative}.date-field-input{border:1px solid var(--line);background:var(--surface);width:100%;height:44px;color:var(--ink);font:inherit;border-radius:8px;outline:none;padding-block:0;padding-inline:12px 42px;line-height:1.2;transition:border-color .15s,box-shadow .15s}.date-field-input:focus{border-color:var(--brand);box-shadow:0 0 0 3px rgba(var(--brand-deep-rgb), .14)}.date-field-affix{width:40px;color:var(--brand);cursor:pointer;z-index:1;background:0 0;border:0;place-items:center;padding:0;display:grid;position:absolute;inset-block:0;inset-inline-end:0}.date-field-affix:hover{color:var(--brand-deep)}.date-field-wrap .react-datepicker__close-icon{z-index:2;top:0;left:auto;right:auto;place-items:center;width:28px;height:100%;padding:0;display:grid;position:absolute;inset-inline-end:40px}html[dir=rtl] .date-field-wrap .react-datepicker__close-icon{left:40px;right:auto}html[dir=ltr] .date-field-wrap .react-datepicker__close-icon{left:auto;right:40px}.date-field-wrap .react-datepicker__close-icon:after{background-color:var(--muted);box-sizing:border-box;width:16px;height:16px;padding:0;font-size:13px;line-height:14px}.date-field-wrap:has(.react-datepicker__close-icon) .date-field-input{padding-inline-end:78px}.app-datepicker-popper{z-index:3000!important}.app-datepicker-popper .react-datepicker__triangle{display:none!important}.app-datepicker.react-datepicker{font-family:var(--font);box-shadow:0 18px 40px rgba(var(--brand-deep-rgb), .12);background:var(--surface);color:var(--ink);border:1px solid #e4ecef;border-radius:8px;padding:8px 10px 12px;overflow:hidden}.app-datepicker .react-datepicker__month-container{float:none}.app-datepicker .react-datepicker__header{background:var(--surface);border-bottom:1px solid #e8eef1;border-radius:8px;padding:6px 4px 10px}.app-datepicker .react-datepicker__header__dropdown{display:none}.app-datepicker-header{grid-template-columns:36px 1fr 36px;align-items:center;gap:8px;margin-bottom:4px;padding:2px 2px 8px;display:grid}.app-datepicker-month{text-align:center;color:var(--brand-deep);letter-spacing:.01em;font-size:1.05rem;font-weight:800;line-height:1.3}.app-datepicker-nav{width:36px;height:36px;color:var(--brand);cursor:pointer;background:0 0;border:0;border-radius:8px;place-items:center;padding:0;transition:background .15s,color .15s;display:grid}.app-datepicker-nav:hover:not(:disabled){background:var(--brand-soft);color:var(--brand-deep)}.app-datepicker-nav:disabled{opacity:.35;cursor:not-allowed}.app-datepicker-chevron.is-next{transform:scaleX(-1)}.app-datepicker .react-datepicker__navigation,.app-datepicker .react-datepicker__current-month{display:none}.app-datepicker .react-datepicker__day-names{justify-content:space-between;margin:8px 0 2px;padding:0 2px;display:flex}.app-datepicker .react-datepicker__day-name{color:#8a9aa3;text-align:center;width:2.55rem;margin:0;font-size:.78rem;font-weight:600;line-height:2rem}.app-datepicker .react-datepicker__month{margin:4px 0 0}.app-datepicker .react-datepicker__week{justify-content:space-between;display:flex}.app-datepicker .react-datepicker__day{color:#1f2f36;text-align:center;border-radius:8px;width:2.55rem;height:2.55rem;margin:.18rem 0;font-size:.95rem;font-weight:600;line-height:2.55rem;transition:background .15s,color .15s,transform .12s}.app-datepicker .react-datepicker__day:not([aria-disabled=true]):hover{background:var(--brand-soft);color:var(--brand-deep)}.app-datepicker .react-datepicker__day--selected,.app-datepicker .react-datepicker__day--keyboard-selected{box-shadow:0 8px 16px rgba(var(--brand-rgb), .22);font-weight:800;background:var(--brand-deep)!important;color:var(--surface)!important}.app-datepicker .react-datepicker__day--today:not(.react-datepicker__day--selected){border:1.5px solid rgba(var(--brand-rgb), .35);color:var(--brand-deep);font-weight:800}.app-datepicker .react-datepicker__day--outside-month{color:#b7c4cb;font-weight:500}.app-datepicker .react-datepicker__day--disabled{cursor:not-allowed;color:#d5dee3!important}.app-datepicker .react-datepicker__triangle{display:none}.toast-viewport{z-index:4000;pointer-events:none;direction:ltr;flex-direction:column;align-items:stretch;gap:8px;width:min(380px,100vw - 28px);display:flex;position:fixed;top:18px;left:auto;right:18px}.toast-item{pointer-events:auto;background:var(--surface);border:1px solid #0f172a14;border-radius:8px;grid-template-rows:auto;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:14px 14px 16px;animation:.32s cubic-bezier(.22,1,.36,1) both toast-in;display:grid;position:relative;overflow:hidden;box-shadow:0 4px 6px #071c280a,0 18px 40px #071c281f}.toast-accent{background:var(--toast-accent,var(--brand));border-radius:8px;width:3px;position:absolute;inset:10px 0 10px auto}.toast-icon{border-radius:8px;flex-shrink:0;place-items:center;width:36px;height:36px;margin-inline-start:4px;display:grid}.toast-message{color:var(--ink);text-align:start;letter-spacing:.01em;margin:0;font-size:.875rem;font-weight:500;line-height:1.5}.toast-close{color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:8px;flex-shrink:0;place-items:center;width:28px;height:28px;padding:0;line-height:1;transition:background .15s,color .15s;display:grid}.toast-close:hover{color:var(--ink);background:#0f172a0f}.toast-progress-track{isolation:isolate;direction:rtl;unicode-bidi:isolate;background:#0f172a0f;height:3px;position:absolute;bottom:0;left:0;right:0}.toast-progress{width:100%;height:100%;margin:0;animation-name:toast-progress-rtl;animation-timing-function:linear;animation-fill-mode:forwards;position:absolute;top:0;left:auto;right:0;transform:none}.toast-success{--toast-accent:var(--success);background:linear-gradient(135deg, var(--surface) 42%, #ecfdf3 100%);border-color:rgba(var(--success-rgb), .22)}.toast-success .toast-icon{color:var(--success);box-shadow:inset 0 0 0 1px rgba(var(--success-rgb), .12);background:linear-gradient(145deg,#ecfdf3,#dcfce7)}.toast-success .toast-message{color:#14532d}.toast-success .toast-progress{background:linear-gradient(270deg, #16a34a, var(--success))}.toast-danger{--toast-accent:var(--rose);background:linear-gradient(135deg, var(--surface) 38%, #ffe4e6 100%);border-color:rgba(var(--rose-rgb), .26)}.toast-danger .toast-icon{background:linear-gradient(145deg, var(--danger-soft), #fecdd3);color:var(--rose);box-shadow:inset 0 0 0 1px rgba(var(--rose-rgb), .16)}.toast-danger .toast-message{color:#881337}.toast-danger .toast-progress{background:linear-gradient(270deg, var(--rose-bright), var(--rose))}.toast-error{--toast-accent:var(--rose-deep);background:linear-gradient(135deg, var(--surface) 35%, #ffe4e6 100%);border-color:#9f123952}.toast-error .toast-icon{background:linear-gradient(145deg, var(--danger-soft), var(--rose-soft));color:var(--rose-deep);box-shadow:inset 0 0 0 1px #9f12392e}.toast-error .toast-message{color:var(--rose-deep);font-weight:600}.toast-error .toast-progress{background:linear-gradient(270deg, var(--rose-hot), var(--rose-deep))}.toast-warning{--toast-accent:var(--amber);background:linear-gradient(135deg, var(--surface) 42%, #fffbeb 100%);border-color:#b453093d}.toast-warning .toast-icon{background:linear-gradient(145deg, #fffbeb, var(--amber-soft));color:var(--amber);box-shadow:inset 0 0 0 1px #b4530924}.toast-warning .toast-message{color:#92400e}.toast-warning .toast-progress{background:linear-gradient(270deg, var(--amber-bright), var(--amber))}.toast-info{--toast-accent:var(--brand);background:linear-gradient(135deg, var(--surface) 42%, var(--brand-soft) 100%);border-color:rgba(var(--brand-rgb), .22)}.toast-info .toast-icon{background:linear-gradient(145deg, #f0f9fb, var(--brand-soft));color:var(--brand-deep);box-shadow:inset 0 0 0 1px rgba(var(--brand-rgb), .12)}.toast-info .toast-message{color:var(--brand-deep)}.toast-info .toast-progress{background:linear-gradient(270deg, var(--brand), var(--brand-deep))}.toast-item.toast-event-approval{--toast-accent:var(--brand-deep);border-color:rgba(var(--brand-rgb), .38);background:linear-gradient(135deg,#fffdf8 36%,#f8efd0 100%)}.toast-item.toast-event-approval .toast-icon{color:var(--brand-deep);box-shadow:inset 0 0 0 1px rgba(var(--brand-rgb), .28);background:linear-gradient(145deg,#fbf6e6,#f0e0b0)}.toast-item.toast-event-approval .toast-message{color:#6f5816}.toast-item.toast-event-approval .toast-progress{background:linear-gradient(270deg, #e6c56d, var(--brand-deep))}.toast-item.toast-event-close{--toast-accent:#c43b55;background:linear-gradient(135deg,#fffdfd 36%,#fff1f3 100%);border-color:#c43b554d}.toast-item.toast-event-close .toast-icon{color:#c43b55;background:linear-gradient(145deg,#fff6f7,#ffdfe4);box-shadow:inset 0 0 0 1px #c43b552e}.toast-item.toast-event-close .toast-message{color:#9f2940}.toast-item.toast-event-close .toast-progress{background:linear-gradient(270deg,#e7a8b4,#c43b55)}@keyframes toast-in{0%{opacity:0;transform:translate(16px,-6px)scale(.98)}to{opacity:1;transform:translate(0,0)scale(1)}}@keyframes toast-progress-rtl{0%{width:100%}to{width:0%}}@media (width<=640px){.toast-viewport{width:auto;inset:auto 14px 16px}.toast-item{border-radius:8px;padding:13px 13px 15px}}.field-optional{color:var(--muted);font-size:.78rem;font-weight:500}@media (width<=768px){.login-top{padding:14px 16px}.login-main{place-items:center stretch;padding:12px 14px 20px}.login-panel{border-radius:12px;width:100%;max-width:100%;margin-inline:0;padding:20px 18px 24px}.login-panel-logo{width:68px}.login-brand-title{font-size:1rem;line-height:1.4}.topbar-user-name{display:none}.topbar-user{max-width:none;padding-inline:2px}}@media (width<=1024px){.app-main,.app-shell.is-project-focus .app-main{padding-inline:max(14px, env(safe-area-inset-inline-start,0px)) max(14px, env(safe-area-inset-inline-end,0px));padding-bottom:max(28px, env(safe-area-inset-bottom,0px))}.app-shell:not(.is-sidebar-open) .app-header{padding-inline:max(14px, env(safe-area-inset-inline-end,0px)) max(14px, env(safe-area-inset-inline-start,0px));padding-top:max(8px, env(safe-area-inset-top,0px))}.app-shell:not(.is-sidebar-open) .app-main{padding-inline-start:max(14px, env(safe-area-inset-inline-start,0px))}.topbar{top:env(safe-area-inset-top,0px);margin-bottom:14px}.panel,.project-workspace,.projects-panel .projects-panel-hero,.users-panel .users-panel-hero{max-width:100%}.project-workspace-hero,.projects-panel .projects-panel-head,.projects-panel .projects-panel-toolbar,.users-panel .users-panel-top{min-width:0}.project-workspace-copy h1,.projects-panel .projects-panel-head h1,.users-panel .users-panel-top h1{overflow-wrap:anywhere;word-break:break-word}.project-workspace-desc,.projects-table .project-desc{overflow-wrap:anywhere}.date-range{white-space:normal;flex-wrap:wrap}.tasks-table .date-range,.projects-table .date-range{white-space:normal;flex-wrap:wrap;row-gap:2px}.row-actions{max-width:100%}.modal{width:min(100%,720px);max-height:min(94vh,920px)}.modal-lg{width:min(100%,860px)}.modal-md{width:min(100%,520px)}}@media (width<=768px){.app-shell,.app-shell.is-project-focus{padding:12px max(10px, env(safe-area-inset-inline-start,0px)) max(24px, env(safe-area-inset-bottom,0px)) max(10px, env(safe-area-inset-inline-end,0px))}.topbar{--topbar-h:40px;border-radius:10px;grid-template-columns:auto minmax(0,1fr);grid-template-areas:"brand meta""nav nav";gap:10px 12px;padding:10px 12px;display:grid}.brand{grid-area:brand}.page-nav{grid-area:nav;justify-content:flex-start;gap:4px;width:100%;height:42px;display:flex;overflow-x:auto}.topbar-meta{height:var(--topbar-h);grid-area:meta;justify-content:flex-end}.topbar-controls{flex-wrap:nowrap;gap:8px}.topbar-user-name{display:none}.topbar-user{max-width:none;padding-inline:4px 6px}.topbar-session .topbar-logout{padding-inline:12px;font-size:.78rem}.panel{border-radius:8px;padding:12px}.project-workspace{padding:12px}.project-workspace-hero{grid-template-columns:minmax(0,1fr);grid-template-areas:"copy""meter""filters";align-items:stretch;gap:10px 0;margin:0 0 12px;padding:12px 12px 0}.project-workspace-copy{padding:0}.project-workspace-copy h1{font-size:clamp(1.15rem,4.2vw,1.4rem)}.project-workspace-meter{justify-self:center;padding:4px 0 12px}.project-workspace-toolbar{margin:0 -12px;padding:12px}.project-workspace-actions{gap:10px}.project-workspace-action-filters,.project-workspace-action-btns{grid-template-columns:1fr 1fr;gap:8px}.projects-panel .projects-panel-head,.users-panel .users-panel-top{gap:10px}.projects-panel .projects-panel-tools{grid-template-columns:1fr 1fr;gap:8px}.projects-panel .projects-panel-tools .search-input{grid-column:1/-1}.users-panel .users-panel-actions{grid-template-columns:minmax(0,1fr) auto;gap:8px}.form-grid-2{grid-template-columns:1fr;gap:12px}.form-span-2{grid-column:auto}.user-form-grid,.user-form-passwords{grid-template-columns:1fr;gap:10px}.modal-backdrop{align-items:flex-end;padding:10px}.modal,.modal-lg,.modal-md,.modal-sm{border-radius:14px 14px 10px 10px;width:100%;max-width:100%;max-height:min(92vh,100%);margin:0}.modal.has-head-actions .modal-head{flex-wrap:wrap;gap:10px}.modal-head-actions{grid-template-columns:1fr 1fr;gap:8px;width:100%;display:grid}.modal-head-btn{width:100%;min-height:42px}.tasks-table tbody tr,.projects-table tbody tr.project-row{row-gap:8px;padding:12px}.tasks-table .cell-title,.projects-table .cell-title{font-size:1.05rem}.tasks-table .cell-task-dates,.tasks-table .cell-task-working-days,.tasks-table .cell-task-progress,.tasks-table .cell-task-assignees,.projects-panel .projects-table .cell-project-dates,.projects-panel .projects-table .cell-project-working-days,.projects-panel .projects-table .cell-project-progress,.projects-panel .projects-table .cell-project-tasks{height:auto;min-height:44px}}@media (width<=480px){.app-shell,.app-shell.is-project-focus{padding:10px max(8px, env(safe-area-inset-inline-start,0px)) max(20px, env(safe-area-inset-bottom,0px)) max(8px, env(safe-area-inset-inline-end,0px))}.topbar{border-radius:10px;gap:8px;margin-bottom:10px;padding:8px}.brand-logo{width:32px;height:32px}.page-nav{height:40px}.page-link{gap:5px;padding:0 8px;font-size:.82rem}.page-link em{min-width:18px;height:18px;font-size:.7rem}.panel,.project-workspace{border-radius:8px;padding:10px}.project-workspace-hero{margin-bottom:10px;padding:10px 10px 0}.project-workspace-toolbar{margin:0 -10px;padding:10px}.project-workspace-action-filters,.project-workspace-action-btns,.projects-panel .projects-panel-tools{grid-template-columns:1fr;gap:8px}.projects-panel .projects-panel-tools .search-input,.projects-panel .projects-panel-tools .panel-filter-select,.projects-panel .projects-panel-toolbar>.panel-action-btn,.project-workspace-actions .panel-filter-select,.project-workspace-actions .panel-action-btn,.users-panel .users-panel-actions .search-input,.users-panel .users-panel-actions .panel-action-btn,.users-panel .users-panel-actions .panel-filter-select{width:100%;min-height:44px}.users-panel .users-panel-actions,.panel-head-actions,.users-panel .panel-head-actions{grid-template-columns:1fr}.tasks-table tbody,.projects-table tbody,.users-table tbody{gap:10px}.tasks-table tbody tr,.projects-table tbody tr.project-row,.users-table tbody tr{border-radius:8px;padding:10px}.tasks-table .cell-title,.projects-table .cell-title{font-size:.98rem}.tasks-table .row-actions .btn,.tasks-table .row-actions .icon-action,.projects-table .row-actions .btn,.projects-table .row-actions .icon-action,.users-table .row-actions .btn,.users-table .row-actions .icon-action{width:40px;min-width:40px;height:40px}.modal-backdrop{align-items:stretch;padding:0}.modal,.modal-lg,.modal-md,.modal-sm{border-radius:0;min-height:100%;max-height:100%}.modal-body,.modal-lg .modal-body,.modal-sm .modal-body,.modal-md .modal-body{flex:1;max-height:none}.modal-head-actions,.modal-actions,.confirm-delete-actions{grid-template-columns:1fr}.users-table td{grid-template-columns:1fr;gap:4px}}.permissions-panel{padding:0;overflow:hidden}.permissions-panel-hero{background:radial-gradient(90% 120% at 100% 0%, rgba(var(--brand-rgb), .08), transparent 55%), linear-gradient(145deg, var(--brand-soft) 0%, var(--bg-accent) 45%, var(--surface) 100%);border-bottom:1px solid var(--line);border-radius:8px 8px 0 0;margin:0;padding:0}.permissions-panel-top{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;padding:14px 16px;display:flex}.permissions-panel-copy h1{color:var(--brand-deep);margin:0;font-size:clamp(1.18rem,2vw,1.35rem)}.permissions-panel-copy p{color:var(--muted);margin:4px 0 0;font-size:.88rem}.permissions-panel-top .search-input{flex:220px;max-width:320px;min-height:44px}.permissions-layout{grid-template-columns:minmax(240px,300px) minmax(0,1fr);min-height:min(68vh,720px);display:grid}.permissions-users{border-inline-end:1px solid var(--line);background:var(--surface-cool);max-height:min(68vh,720px);overflow:auto}.permissions-users-empty{color:var(--muted);text-align:center;padding:24px 16px;font-size:.9rem}.permissions-user-list{gap:6px;margin:0;padding:10px;list-style:none;display:grid}.permissions-user-btn{text-align:start;width:100%;color:inherit;font:inherit;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:10px;align-items:center;gap:10px;padding:10px;transition:background .15s,border-color .15s,box-shadow .15s;display:flex}.permissions-user-btn:hover{background:var(--surface);border-color:#d7e4e9}.permissions-user-btn.is-active{background:var(--surface);border-color:rgba(var(--brand-rgb), .28);box-shadow:0 8px 18px rgba(var(--brand-deep-rgb), .08)}.permissions-user-btn.is-inactive{opacity:.72}.permissions-user-avatar{background:var(--brand-soft);width:38px;height:38px;color:var(--brand-deep);border:1px solid rgba(var(--brand-rgb), .14);border-radius:10px;flex:none;place-items:center;font-size:.78rem;font-weight:800;display:grid}.permissions-user-avatar.is-lg{border-radius:12px;width:48px;height:48px;font-size:.92rem}.permissions-user-meta{gap:2px;min-width:0;display:grid}.permissions-user-meta strong{color:var(--brand-deep);font-size:.92rem;line-height:1.25}.permissions-you{color:var(--brand);margin-inline-start:4px;font-size:.72rem;font-style:normal;font-weight:700}.permissions-user-meta small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.78rem;overflow:hidden}.permissions-user-count{color:#4d6a76;font-size:.74rem;font-weight:700}.permissions-editor{flex-direction:column;gap:16px;min-width:0;max-height:min(68vh,720px);padding:16px;display:flex;overflow:auto}.permissions-editor-empty{color:var(--muted);text-align:center;flex:1;place-items:center;padding:40px 20px;display:grid}.permissions-editor-head{border-bottom:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;padding-bottom:14px;display:flex}.permissions-editor-identity{align-items:center;gap:12px;min-width:0;display:flex}.permissions-editor-identity h2{color:var(--brand-deep);margin:0;font-size:1.15rem}.permissions-editor-identity p{color:var(--muted);margin:2px 0 0;font-size:.84rem}.permissions-editor-tools{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.permissions-editor-tools .btn{min-height:40px}.permissions-groups{gap:14px;display:grid}.permissions-group{border:1px solid var(--line);background:var(--surface);box-shadow:0 6px 16px rgba(var(--brand-deep-rgb), .04);border-radius:10px;overflow:hidden}.permissions-group-head{background:var(--surface-ice);border-bottom:1px solid var(--line-mist);justify-content:space-between;align-items:center;gap:10px;padding:12px 14px;display:flex}.permissions-group-head h3{color:var(--brand-deep);margin:0;font-size:.95rem}.permissions-group-toggle{color:var(--brand);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:6px;padding:4px 8px;font-size:.8rem;font-weight:700}.permissions-group-toggle:hover{background:rgba(var(--brand-rgb), .08)}.permissions-checks{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px;margin:0;padding:10px;list-style:none;display:grid}.permissions-check{border:1px solid var(--line-cool);background:var(--surface-cloud);cursor:pointer;border-radius:8px;align-items:center;gap:10px;padding:10px 12px;transition:border-color .15s,background .15s;display:flex}.permissions-check input{opacity:0;pointer-events:none;position:absolute}.permissions-check-box{background:var(--surface);width:20px;height:20px;color:var(--surface);border:1.5px solid #b7cdd5;border-radius:6px;flex:none;place-items:center;display:grid}.permissions-check.is-checked{border-color:rgba(var(--brand-rgb), .35);background:var(--brand-soft)}.permissions-check.is-checked .permissions-check-box{background:var(--brand-deep);border-color:var(--brand-deep)}.permissions-check-text{color:var(--ink);font-size:.88rem;font-weight:600;line-height:1.3}@media (width<=900px){.permissions-layout{grid-template-columns:1fr;min-height:0}.permissions-users{border-inline-end:0;border-bottom:1px solid var(--line);max-height:220px}.permissions-editor{max-height:none}}@media (width<=640px){.permissions-panel-top{padding:12px}.permissions-panel-top .search-input{flex-basis:100%;width:100%;max-width:none}.permissions-editor{padding:12px}.permissions-editor-tools{width:100%}.permissions-editor-tools .btn{flex:auto}.permissions-checks{grid-template-columns:1fr}}.role-card{border:1px solid var(--line);background:var(--surface);text-align:start;width:100%;height:100%;color:inherit;box-shadow:0 8px 18px rgba(var(--brand-deep-rgb), .04);border-radius:14px;flex-direction:column;gap:12px;padding:14px;display:flex}.role-card-top{justify-content:space-between;align-items:center;gap:10px;width:100%;min-width:0;display:flex}.role-card-name{min-width:0;color:var(--brand-deep);white-space:nowrap;text-overflow:ellipsis;margin:0;font-size:1.02rem;font-weight:800;line-height:1.3;overflow:hidden}.role-card-desc{width:100%;min-height:1.4em;color:var(--muted);white-space:normal;margin:0;font-size:.84rem;line-height:1.45;overflow:visible}.role-card-stats{grid-template-columns:1fr 1fr;gap:8px;margin-top:auto;display:grid}.role-card-stats.is-single{grid-template-columns:1fr}.role-card-stats span{background:var(--surface-ice);color:#3e5c68;white-space:nowrap;border-radius:8px;justify-content:center;align-items:center;min-height:34px;padding:6px 8px;font-size:.75rem;font-weight:800;display:flex}.role-card-actions{flex:none;align-items:center;gap:6px;display:flex}.role-card-icon-wrap{display:inline-flex}.role-card-icon{border:1px solid var(--line-aqua);background:var(--surface);width:34px;height:34px;color:var(--brand-deep);cursor:pointer;border-radius:8px;place-items:center;padding:0;display:inline-grid}.role-card-icon:hover{border-color:var(--brand);color:var(--brand);background:#eef7fa}.role-card-icon.is-danger{color:var(--rose);background:#fff7f9;border-color:#f4c4d0}.role-card-icon.is-danger:hover{background:var(--rose-soft);border-color:var(--rose);color:var(--rose)}.role-card-icon:disabled,.role-card-icon.is-blocked{opacity:.4;cursor:not-allowed}.role-card-icon:disabled:hover,.role-card-icon.is-blocked:hover{background:var(--surface);border-color:var(--line-aqua);color:var(--brand-deep);transform:none}.role-card-icon.is-danger:disabled,.role-card-icon.is-danger.is-blocked,.role-card-icon.is-danger:disabled:hover,.role-card-icon.is-danger.is-blocked:hover{color:var(--rose);background:#fff7f9;border-color:#f4c4d0}.role-editor{box-sizing:border-box;gap:18px;width:100%;max-width:none;margin:0;padding:18px;display:grid}.role-editor-hero{border:1px solid var(--line-strong);background:linear-gradient(180deg, #fffdf8 0%, var(--surface) 72%);border-radius:16px;padding:14px 16px;display:block}.role-editor-back{border:1px solid var(--cream-line);background:linear-gradient(180deg, var(--cream-bright) 0%, var(--cream) 100%);width:fit-content;height:40px;min-height:40px;color:var(--brand-deep);cursor:pointer;box-shadow:0 1px 2px rgba(var(--brand-deep-rgb), .06);border-radius:10px;justify-content:center;align-items:center;gap:8px;margin:0;padding:0 14px 0 12px;font-size:.88rem;font-weight:700;line-height:1;transition:color .18s,border-color .18s,background .18s,box-shadow .18s,transform .18s;display:inline-flex}.role-editor-back-icon{flex:none;display:block}html[dir=ltr] .role-editor-back-icon{transform:scaleX(-1)}.role-editor-back:hover:not(:disabled){color:var(--brand-ink);border-color:var(--brand-line);background:linear-gradient(180deg, var(--surface) 0%, #f3ecda 100%);box-shadow:0 4px 12px rgba(var(--brand-deep-rgb), .12)}.role-editor-back:active:not(:disabled){box-shadow:0 1px 3px rgba(var(--brand-deep-rgb), .1);transform:translateY(1px)}.role-editor-back:focus-visible{border-color:var(--brand);box-shadow:0 0 0 3px rgba(var(--brand-rgb), .22);outline:none}.role-editor-back:disabled{opacity:.65;cursor:not-allowed}.role-editor-hero-main{border-top:0;flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:14px 18px;padding-top:0;display:flex}.role-editor-title-wrap{flex:220px;min-width:0;padding-top:0}.role-editor-title-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.role-editor-title-wrap h1{color:var(--brand-deep);margin:0;font-size:1.28rem;font-weight:800;line-height:1.3}.role-editor-title-wrap p{color:var(--muted);margin:6px 0 0;font-size:.88rem;line-height:1.55}.role-editor-actions{flex-wrap:wrap;align-items:center;gap:8px;margin-inline-start:auto;padding-top:0;display:flex}.role-editor-actions .btn{min-width:108px;min-height:42px}.role-editor-card{border:1px solid var(--line-strong);background:var(--surface);border-radius:16px;gap:16px;padding:18px 18px 20px;display:grid}.role-editor-card-head{gap:6px;min-width:0;padding-inline:2px;display:grid}.role-editor-card-head h2,.role-editor-card>h2{color:var(--brand-deep);margin:0;font-size:1.05rem;font-weight:800}.role-editor-card-head p{color:var(--muted);margin:0;font-size:.86rem;line-height:1.6}.role-editor-fields{grid-template-columns:minmax(0,1.15fr) minmax(0,1.15fr) minmax(220px,.9fr);align-items:start;gap:14px 16px;display:grid}.role-editor-fields .field{gap:8px;min-width:0;display:grid}.role-editor-fields .field>span{color:var(--brand-deep);font-size:.84rem;font-weight:800}.role-editor-fields .ui-select,.role-editor-fields .ui-select-trigger{width:100%}.role-editor-fields .ui-select-trigger{box-sizing:border-box;min-height:46px}.role-editor-fields .ui-select-trigger>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:.92rem;font-weight:650;overflow:hidden}.role-editor-fields .field small{color:var(--muted);margin:0;font-size:.76rem;font-weight:600;line-height:1.45}.role-editor-fields .field input,.role-editor-fields .field textarea,.role-editor-fields .auto-textarea{box-sizing:border-box;border:1px solid var(--line-sand);background:var(--surface);width:100%;min-width:0;height:auto;min-height:0;color:var(--ink);font:inherit;border-radius:12px;padding:10px 14px;font-weight:600;line-height:1.45}.role-editor-fields .field textarea,.role-editor-fields .auto-textarea{resize:none;field-sizing:content;overflow-y:hidden}.role-editor-fields .field input:focus,.role-editor-fields .field textarea:focus,.role-editor-fields .auto-textarea:focus{border-color:var(--brand);box-shadow:0 0 0 3px rgba(var(--brand-rgb), .16);background:var(--surface);outline:none}.role-editor-perms-head{border-bottom:1px solid var(--line-soft);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px 18px;padding:0 0 14px;display:flex}.role-editor-perms-intro{flex:280px;gap:8px;min-width:min(100%,280px);display:grid}.role-editor-perms-title-row{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.role-editor-perms-title-row h2{color:var(--brand-deep);letter-spacing:.01em;margin:0;font-size:1.08rem;font-weight:800;line-height:1.2}.role-editor-perms-lead{color:var(--muted);max-width:58ch;margin:0;font-size:.86rem;line-height:1.65}.role-editor-bulk{border:1px solid var(--line-pearl);background:var(--paper);box-shadow:inset 0 1px 0 rgba(var(--surface-rgb), .7);border-radius:12px;flex:none;align-items:center;gap:0;padding:3px;display:inline-flex}.role-editor-bulk-btn{appearance:none;color:#6f6554;min-height:36px;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:9px;margin:0;padding:0 14px;font-size:.82rem;font-weight:700;line-height:1;transition:color .16s,background .16s,box-shadow .16s}.role-editor-bulk-btn:hover{color:var(--brand-deep);background:var(--surface);box-shadow:0 1px 3px rgba(var(--brand-deep-rgb), .08)}.role-editor-bulk-btn:focus-visible{color:var(--brand-deep);background:var(--surface);outline:none;box-shadow:0 0 0 3px #c4a35a33}.adjust-permissions-page .role-editor-perms{padding:22px 24px 28px}.adjust-permissions-topbar{flex-wrap:wrap;align-items:center;gap:14px 18px;display:flex}.adjust-permissions-topbar .role-editor-back{flex:none}.adjust-person-identity{align-items:center;gap:14px;min-width:0;display:flex}.adjust-person-photo{flex:0 0 52px;width:52px;height:52px}.grant-window-fields{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px 14px;margin:0 0 16px;display:grid}.grant-window-fields input,.grant-window-fields select{width:100%}.adjust-permissions-hint{min-width:0;color:var(--muted);flex:220px;max-width:64ch;margin:0;font-size:.84rem;line-height:1.55}.adjust-status-note{border:1px solid var(--line);color:#7a6a45;white-space:nowrap;background:#f7f3ea;border-radius:999px;margin:0;padding:5px 11px;font-size:.78rem;font-weight:700;line-height:1.2}.scope-sector-logo em{color:var(--brand-deep,var(--brand-deep));font-size:.72rem;font-style:normal;font-weight:800}.scope-sector-logos{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.role-editor-other-groups{gap:14px;margin-top:8px;display:grid}.role-editor-other-title{color:var(--brand-deep);margin:12px 0 0;padding-inline:2px;font-size:.95rem;font-weight:800}.client-emails{border:1px solid var(--line);background:var(--surface);border-radius:10px;flex-wrap:wrap;align-items:center;gap:6px;min-height:46px;padding:6px;display:flex}.client-emails:focus-within{border-color:var(--brand);box-shadow:0 0 0 3px rgba(var(--brand-deep-rgb), .14)}.client-email-chip{background:var(--bg-accent);max-width:100%;color:var(--brand-deep);border-radius:999px;align-items:center;gap:4px;padding:4px 4px 4px 10px;font-size:.82rem;font-weight:700;line-height:1.3;display:inline-flex}.client-email-chip span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.client-email-chip button{color:#5d7680;cursor:pointer;background:0 0;border:0;border-radius:999px;width:20px;height:20px;padding:0;font-size:.95rem;line-height:1}.client-email-chip button:hover{color:var(--brand-deep);background:#dcebee}.companies-hero{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;margin:0 0 18px;padding-bottom:16px;display:flex}.companies-hero-copy{flex:0 auto;min-width:0}.companies-hero h1{color:var(--brand-deep);margin:0;font-size:1.45rem}.companies-hero p{max-width:42ch;color:var(--muted);margin:6px 0 0;line-height:1.7}.companies-toolbar{flex:0 420px;justify-content:flex-end;align-items:center;gap:10px;width:min(100%,420px);margin-inline-start:auto;display:flex}.companies-toolbar .search-input{flex:180px;width:auto;min-width:0;max-width:280px}.companies-empty{text-align:center;color:var(--muted);border:1px dashed var(--line);background:var(--surface-cool);border-radius:14px;margin:8px 0 0;padding:48px 16px}.companies-empty strong{color:var(--brand-deep);margin-bottom:6px;font-size:1.05rem;display:block}.companies-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:18px;margin:0;padding:0;list-style:none;display:grid}.companies-grid>li{min-width:0;display:flex}.companies-grid>li:only-child{grid-column:1/-1;justify-self:start;max-width:560px}.company-card{border:1px solid var(--line);background:var(--surface);width:100%;min-width:0;height:100%;box-shadow:0 10px 28px rgba(var(--brand-deep-rgb), .06);border-radius:16px;flex-direction:column;padding:0;display:flex;overflow:hidden}.company-card-open{background:linear-gradient(180deg, var(--surface-cool) 0%, var(--surface) 72%);width:100%;color:inherit;font:inherit;text-align:start;cursor:pointer;border:0;border-bottom:1px solid #e7eef1;align-items:center;gap:14px;padding:16px 16px 14px;display:flex}.company-logo{border:1px solid var(--line);background:var(--brand-soft);border-radius:14px;flex:0 0 64px;place-items:center;width:64px;height:64px;display:grid;overflow:hidden}.company-logo img{object-fit:contain;width:100%;height:100%;padding:6px}.company-logo span{color:var(--brand);font-size:1.4rem;font-weight:800}.company-logo.is-large{border-radius:18px;flex-basis:84px;width:84px;height:84px}.company-card-copy{justify-items:start;gap:4px;min-width:0;display:grid}.company-card-copy strong{color:var(--ink);font-size:1.12rem;line-height:1.35}.company-name-en{color:var(--brand);max-width:100%;font-size:.84rem;font-weight:700;line-height:1.4}.company-card-copy .company-name-en{width:max-content}.company-card-copy em{color:var(--muted);-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:.86rem;font-style:normal;line-height:1.55;display:-webkit-box;overflow:hidden}.company-card-copy .company-specialty-en{color:var(--brand);font-size:.8rem}.company-card-body{flex-direction:column;flex:auto;gap:14px;min-width:0;padding:14px 16px 16px;display:flex}.company-pair,.company-contact-fields{grid-template-columns:1fr 1fr;gap:12px;display:grid}.company-meta{grid-template-columns:1fr 1fr;gap:8px;margin:0;display:grid}.company-meta div{background:var(--brand-soft);text-align:start;border-radius:12px;justify-items:start;gap:2px;min-width:0;padding:10px 12px;display:grid}.company-meta div:only-child{grid-column:1/-1}.company-meta dt{color:var(--muted);font-size:.72rem;font-weight:800}.company-meta dd{max-width:100%;color:var(--ink);text-align:start;overflow-wrap:anywhere;word-break:break-word;margin:0;font-size:.84rem;font-weight:700;line-height:1.45}.company-card-branches{gap:8px;margin-top:auto;display:grid}.company-card-branches-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.company-card-branches-head span{color:var(--brand-deep);font-size:.78rem;font-weight:800}.company-card-branches-head em{color:var(--brand);font-size:.75rem;font-style:normal;font-weight:800}.company-branches-empty{color:var(--muted);margin:0;font-size:.82rem}.company-chips{flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none;display:flex}.company-chips li{background:var(--brand-soft);width:max-content;max-width:100%;color:var(--brand-deep);text-align:start;border-radius:12px;flex:0 auto;justify-items:start;gap:1px;padding:8px 12px;display:grid}.company-chips li b,.company-chips li small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.company-chips li b{font-size:.8rem}.company-chips li small{color:var(--brand);font-size:.72rem;font-weight:700}.company-chips li.is-more{flex:none;place-items:center;min-width:42px;font-weight:800;display:grid}.company-card-actions{background:var(--surface-cool);border-top:1px solid #e7eef1;justify-content:flex-end;gap:8px;margin-top:auto;padding:10px 16px;display:flex}.company-action{border:1px solid var(--line-aqua);background:var(--surface);min-height:34px;color:var(--brand-deep);font:inherit;cursor:pointer;border-radius:8px;padding:0 12px;font-size:.82rem;font-weight:700}.company-card-actions .company-action:not(.is-danger){border-color:var(--brand);background:var(--brand);color:var(--surface)}.company-action:hover{border-color:var(--brand);color:var(--brand);background:#eef7fa}.company-card-actions .company-action:not(.is-danger):hover{background:var(--brand-deep);color:var(--surface)}.company-action.is-danger{color:var(--rose);background:#fff7f9;border-color:#f4c4d0}.company-action.is-danger:hover{background:var(--rose-soft);border-color:var(--rose)}.modal.company-modal{width:min(840px,100%)}.company-modal .modal-body{flex:auto;min-height:0;max-height:none}.company-form,.company-view{gap:14px;display:grid}.company-form .field span{color:var(--brand-deep);font-size:.86rem;font-weight:800}.company-logo-field,.company-view-head{align-items:center;gap:14px;display:flex}.company-logo-field strong,.company-view-head h3,.company-view>h3{color:var(--brand-deep);margin:0}.company-view-head p{color:var(--ink);white-space:pre-wrap;margin:6px 0 0;line-height:1.7}.company-view-head .company-name-en{margin:2px 0 0}.company-logo-actions{flex-wrap:wrap;gap:8px;margin-top:8px;display:flex}.company-logo-actions .btn{cursor:pointer;min-height:36px}.company-branches-editor{gap:10px;padding-top:4px;display:grid}.company-branches-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.company-branches-head strong{color:var(--brand-deep)}.company-branches-empty{color:var(--muted);margin:0}.company-branches-editor ul,.company-branch-list{gap:10px;margin:0;padding:0;list-style:none;display:grid}.company-branch-card{border:1px solid var(--line-mist);background:var(--surface-cool);border-radius:14px;gap:10px;padding:12px;display:grid}.company-branch-card-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.company-branch-card-head strong{color:var(--brand-deep);font-size:.86rem}.company-branch-list li{border:1px solid var(--line-mist);background:var(--surface-cool);border-radius:12px;gap:3px;padding:12px 14px;display:grid}.company-branch-list strong,.company-branch-list em{color:var(--ink)}.company-branch-list em{color:var(--brand);font-size:.84rem;font-style:normal;font-weight:700}.company-branch-list span{color:var(--muted);line-height:1.5}.company-modal-foot{border-top:1px solid var(--line-mist);background:var(--surface);justify-content:flex-end;align-items:center;gap:8px;padding:12px 18px;display:flex}.company-modal-foot-end{align-items:center;gap:8px;display:flex}@media (width<=860px){.companies-hero,.companies-toolbar,.company-branches-head,.company-modal-foot,.company-branch-card-head{flex-direction:column;align-items:stretch}.companies-toolbar{flex:auto;width:100%;max-width:none}.companies-toolbar .btn,.companies-toolbar .search-input{width:100%;max-width:none}.company-pair,.company-contact-fields{grid-template-columns:1fr}}@media (width<=1024px){.companies-grid{gap:14px}.company-card-open{gap:12px;padding:14px 14px 12px}.company-card .company-logo{flex-basis:58px;width:58px;height:58px}.company-card-body{padding:12px 14px 14px}}@media (width<=768px){.companies-hero{flex-direction:column;align-items:stretch}.companies-toolbar{justify-content:stretch;width:100%}.companies-grid{gap:12px}.company-card-copy strong{font-size:1.02rem}.company-meta div{padding:8px}}@media (width<=640px){.companies-grid{grid-template-columns:1fr;gap:12px}.companies-grid>li:only-child{max-width:none}.company-card-actions .company-action{flex:1 1 0}}@media (width<=420px){.company-meta,.company-chips{grid-template-columns:1fr}.company-chips{display:grid}.company-card-open{align-items:flex-start}}.scope-lock{border:1px solid var(--line-strong);min-height:52px;color:var(--brand-deep);background:#faf7ef;border-radius:14px;align-items:center;gap:12px;padding:10px 12px;display:flex}.scope-lock-logo{border:1px solid var(--line);background:var(--surface);box-sizing:border-box;border-radius:50%;flex:0 0 36px;place-items:center;width:36px;height:36px;padding:3px;display:grid;overflow:hidden}.scope-lock-logo img{object-fit:contain;width:100%;height:100%}.scope-lock-copy{gap:2px;min-width:0;display:grid}.scope-lock strong{font-size:.92rem;line-height:1.35}.scope-lock small,.scope-lock em{color:var(--muted);font-size:.75rem;font-style:normal;font-weight:700;line-height:1.4}.users-table .official-company-pills{flex-wrap:wrap;justify-content:center;gap:6px;margin:0;padding:0;list-style:none;display:flex}.users-table .official-company-pills li{background:var(--brand-soft);width:max-content;max-width:180px;color:var(--brand-deep);text-align:center;border-radius:10px;justify-items:center;gap:1px;padding:6px 10px;display:grid}.users-table .official-company-pills b,.users-table .official-company-pills small{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:.78rem;overflow:hidden}.users-table .official-company-pills small{color:var(--brand);font-size:.72rem;font-weight:700}@media (width<=700px){.officials-table .official-photo-cell{width:auto}.officials-table .official-photo-cell .official-photo{margin-inline:0}.users-table .official-company-pills{justify-content:flex-start}.users-table .official-company-pills li{text-align:start;justify-items:start}.official-form-grid{grid-template-columns:1fr}.official-photo-row{align-items:flex-start}}@media (width<=1024px){.officials-grid{gap:14px}.roles-view-switch{flex-wrap:wrap}}.app-error{box-sizing:border-box;place-items:center;width:100%;min-height:240px;padding:24px 16px;display:grid}.app-error-card{text-align:center;background:#fff;border:1px solid #eadfc4;border-radius:16px;justify-items:center;gap:10px;width:min(440px,100%);margin:0;padding:28px 22px;display:grid}.app-error-card strong{color:#1c1914;font-size:1.05rem;font-weight:800}.app-error-card p{color:#6f664f;margin:0;font-size:.9rem;font-weight:600;line-height:1.6}.app-error-card .btn{margin-top:6px}.app-image{object-fit:cover;object-position:center;width:100%;max-width:100%;height:100%;display:block}.app-image.is-contain{object-fit:contain}html.is-login-route,html.is-login-route body,body.is-login-route{scrollbar-gutter:auto;height:100%;overflow:hidden}.login-page{background:radial-gradient(1200px 600px at var(--login-glow-x,10%) -10%, rgba(var(--brand-rgb), .18), transparent 55%), radial-gradient(900px 500px at var(--login-glow-x-2,100%) 0%, #0a546624, transparent 50%), linear-gradient(165deg, #e8f1f4 0%, #f3f6f8 42%, #eef4f6 100%);flex-direction:column;height:100dvh;min-height:100dvh;max-height:100dvh;display:flex;position:relative;overflow:hidden}html[dir=rtl] .login-page{--login-glow-x:10%;--login-glow-x-2:100%}html[dir=ltr] .login-page{--login-glow-x:90%;--login-glow-x-2:0%}.login-ambient{background:linear-gradient(125deg, transparent 40%, rgba(var(--surface-rgb), .35) 50%, transparent 60%);pointer-events:none;animation:10s ease-in-out infinite login-shine;position:absolute;inset:0}html[dir=ltr] .login-ambient{animation-name:login-shine-ltr}.login-grid{background-image:linear-gradient(rgba(var(--brand-rgb), .045) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--brand-rgb), .045) 1px, transparent 1px);pointer-events:none;opacity:.7;background-size:48px 48px;position:absolute;inset:0;-webkit-mask-image:radial-gradient(70% 60% at 50% 40%,#000 20%,#0000 75%);mask-image:radial-gradient(70% 60% at 50% 40%,#000 20%,#0000 75%)}.login-top{z-index:2;flex:none;justify-content:space-between;align-items:center;gap:16px;padding:18px clamp(18px,4vw,40px);display:flex;position:relative}.login-brand-mark{align-items:center;gap:12px;min-width:0;display:flex}.login-brand-title{color:var(--brand-deep);font-family:var(--display);letter-spacing:-.02em;margin:0;font-size:clamp(1.05rem,2.4vw,1.28rem);font-weight:800;line-height:1.35}.login-main{z-index:2;scrollbar-width:none;flex:1;place-items:center;min-height:0;padding:8px clamp(16px,4vw,36px) 28px;display:grid;position:relative;overflow:auto}.login-main::-webkit-scrollbar{width:0;height:0;display:none}.login-panel{background:rgba(var(--surface-rgb), .94);width:min(100%,420px);box-shadow:0 24px 48px rgba(var(--brand-deep-rgb), .12), 0 2px 0 rgba(var(--surface-rgb), .8) inset;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid #d7e2e8f2;border-radius:14px;padding:clamp(22px,3.5vw,32px);animation:.55s cubic-bezier(.22,1,.36,1) both login-rise}.login-panel-head{text-align:center;margin-bottom:24px}.login-panel-logo{object-fit:contain;width:clamp(64px,9vw,80px);height:auto;margin:0 auto 14px;animation:.7s both login-logo-in;display:block}.login-panel-head h1{font-family:var(--display);color:var(--brand-deep);letter-spacing:-.02em;margin:0 0 8px;font-size:clamp(1.45rem,3.5vw,1.75rem);font-weight:800}.login-panel-sub{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;margin:0;font-size:.92rem;line-height:1.45;overflow:hidden}.login-form{flex-direction:column;gap:18px;display:flex}.login-field label{color:var(--ink);align-items:baseline;gap:6px;margin-bottom:8px;font-size:.88rem;font-weight:700;display:flex}.login-input-shell{border:1px solid var(--line);background:var(--surface);border-radius:12px;flex-direction:row;align-items:center;gap:0;min-height:50px;padding-inline:12px 6px;transition:border-color .18s,box-shadow .18s,background .18s;display:flex}.login-input-shell:focus-within{border-color:var(--brand);box-shadow:0 0 0 3px rgba(var(--brand-deep-rgb), .14);background:var(--surface)}.login-input-icon{width:28px;color:var(--muted);flex:none;place-items:center;transition:color .15s;display:grid}.login-input-shell:focus-within .login-input-icon{color:var(--brand-deep)}.login-input-shell input{min-width:0;height:48px;color:var(--ink);text-align:start;background:0 0;border-radius:0;outline:none;flex:1;margin:0;padding:0 10px;box-shadow:none!important;border:none!important}.login-input-shell input.is-ltr-value{text-align:left;unicode-bidi:plaintext}.login-input-shell input.is-locale-value{text-align:start}.login-input-shell input:focus{box-shadow:none;border:none;outline:none}.login-input-shell input::placeholder{letter-spacing:normal;opacity:.72;text-align:start;font-size:.92rem}.login-password-shell{padding-inline-end:4px}.login-password-shell.has-value input{letter-spacing:.1em;font-size:1.05rem}.login-password-shell.is-revealed.has-value input{letter-spacing:normal;font-size:.95rem}.login-field-hint{color:var(--muted);margin-top:7px;font-size:.78rem;line-height:1.4;display:block}.login-password-wrap{align-items:center;display:flex;position:relative}.login-password-wrap input{padding-inline-end:48px}.login-password-toggle{width:40px;height:40px;color:var(--muted);background:0 0;border:none;border-radius:10px;flex:none;place-items:center;transition:color .15s,background .15s;display:grid}.login-password-toggle:hover:not(:disabled),.login-password-toggle[aria-pressed=true]{color:var(--brand-deep);background:var(--brand-soft)}.login-remember{cursor:pointer;-webkit-user-select:none;user-select:none;color:var(--ink);font:inherit;background:0 0;border:0;flex-direction:row;align-self:flex-start;align-items:center;gap:10px;margin-top:-2px;padding:0;font-size:.9rem;font-weight:600;display:inline-flex;position:relative}.login-remember-input{opacity:0;cursor:pointer;width:100%;height:100%;margin:0;position:absolute;inset:0}.login-remember:disabled{opacity:.6;cursor:not-allowed}.login-remember-box{border:1.5px solid var(--line);background:var(--surface);color:#0000;border-radius:6px;flex:none;place-items:center;width:20px;height:20px;transition:border-color .15s,background .15s,box-shadow .15s,color .15s;display:grid;position:relative}.login-remember-box svg{opacity:0;transition:opacity .15s,transform .15s;display:block;transform:scale(.7)}.login-remember.is-checked .login-remember-box{border-color:var(--brand);background:var(--brand);color:var(--surface);box-shadow:0 0 0 3px rgba(var(--brand-deep-rgb), .12)}.login-remember.is-checked .login-remember-box svg{opacity:1;transform:scale(1)}.login-remember:focus-visible .login-remember-box{box-shadow:0 0 0 3px rgba(var(--brand-deep-rgb), .2)}.login-remember-text{line-height:1.3}.login-submit{border-radius:12px;justify-content:center;align-items:center;gap:10px;width:100%;height:50px;margin-top:6px;font-size:1rem;font-weight:700;display:inline-flex}@keyframes login-rise{0%{opacity:0;transform:translateY(18px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes login-logo-in{0%{opacity:0;transform:translateY(-8px)scale(.92)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes login-shine{0%,to{opacity:.35;transform:translate(-4%)}50%{opacity:.7;transform:translate(4%)}}@keyframes login-shine-ltr{0%,to{opacity:.35;transform:translate(4%)}50%{opacity:.7;transform:translate(-4%)}}@media (width<=1024px){.login-page{background:radial-gradient(800px 420px at var(--login-glow-x,10%) 0%, rgba(var(--brand-rgb), .16), transparent 55%), linear-gradient(180deg, #eaf3f5 0%, #f3f6f8 100%)}.login-panel{width:min(100%,400px)}}@media (width<=480px){.login-input-shell{min-height:48px}.login-submit{height:46px}.login-panel-sub{font-size:.86rem}}.app-shell{align-items:stretch;width:100%;max-width:none;min-height:100dvh;margin:0;padding:0;display:flex}.app-shell.is-project-focus{width:100%;max-width:none;margin:0;padding:0}.app-main{flex:auto;min-width:0;padding:16px 20px 32px}.workspace{flex-direction:column;flex:auto;min-width:0;min-height:100dvh;display:flex}.app-header{z-index:40;border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-sizing:border-box;background:#fffcf5f0;justify-content:flex-end;align-items:center;gap:12px;height:68px;min-height:68px;padding:0 22px;display:flex;position:sticky;top:0}.app-header-menu{width:40px;height:40px;box-shadow:none;margin-inline-end:auto;position:static}.app-header-user{align-items:center;gap:12px;min-width:0;display:flex}.legal-alerts{flex:none;align-items:center;gap:10px;display:flex;position:relative}.legal-alerts-bell{border:1px solid var(--line);background:var(--surface);width:40px;height:40px;color:var(--brand-deep);cursor:pointer;border-radius:999px;place-items:center;display:grid;position:relative}.legal-alerts-bell svg{width:20px;height:20px}.legal-alerts-bell.has-unread,.legal-alerts-bell.is-open{background:#fffaf0;border-color:#e4d3a8}.legal-alerts-bell em{top:-4px;color:#fff;background:#8d1d2c;border-radius:999px;place-items:center;min-width:18px;height:18px;padding:0 4px;font-size:.68rem;font-style:normal;font-weight:800;line-height:1;display:grid;position:absolute;inset-inline-end:-4px}.legal-alerts-panel{z-index:80;top:calc(100% + 10px);background:#fff;border:1px solid #eadfc4;border-radius:16px;flex-direction:column;width:min(380px,100vw - 32px);max-height:min(520px,70vh);display:flex;position:absolute;inset-inline-end:0;overflow:hidden;box-shadow:0 18px 48px #1c191429}.legal-alerts-panel.is-fixed{z-index:2400;position:fixed;inset-inline-end:auto}.legal-alerts-head{border-bottom:1px solid #f3ecdf;align-items:center;gap:10px;padding:14px 14px 12px;display:flex}.legal-alerts-head h2{color:var(--brand-deep);margin:0;font-size:1rem;font-weight:800}.legal-alerts-count{color:#fff;background:#8d1d2c;border-radius:999px;padding:3px 8px;font-size:.72rem;font-weight:800}.legal-alerts-count.is-quiet{color:#8d8374;background:#f6efe2}.legal-alerts-close{width:32px;height:32px;color:var(--brand-deep);cursor:pointer;background:#f7f1e6;border:0;border-radius:999px;margin-inline-start:auto;font-size:1.2rem;line-height:1}.legal-alerts-tools{justify-content:flex-end;padding:8px 12px 0;display:flex}.legal-alerts-tools button{height:30px;color:var(--brand-deep);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:999px;padding:0 10px;font-size:.75rem;font-weight:800}.legal-alerts-tools button:hover{background:#fffaf0}.legal-alerts-list{margin:0;padding:8px;list-style:none;overflow:auto}.legal-alerts-item{text-align:start;cursor:pointer;background:0 0;border:0;border-radius:12px;align-items:flex-start;gap:10px;width:100%;padding:12px;display:flex}.legal-alerts-item+.legal-alerts-item{margin-top:2px}.legal-alerts-item:hover,.legal-alerts-item.is-unread{background:#fffaf0}.legal-alerts-mark{background:#eadfc4;border-radius:999px;flex:none;width:8px;height:8px;margin-top:6px}.legal-alerts-item.is-unread .legal-alerts-mark{background:#c4a35a}.legal-alerts-copy{gap:3px;min-width:0;display:grid}.legal-alerts-copy strong,.legal-alerts-copy small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.legal-alerts-copy strong{color:#1c1914;font-size:.9rem;font-weight:800}.legal-alerts-copy small,.legal-alerts-copy time{color:#8d8374;font-size:.78rem;font-weight:600}.legal-alerts-empty{text-align:center;justify-items:center;gap:6px;padding:36px 24px 40px;display:grid}.legal-alerts-empty span{width:52px;height:52px;color:var(--brand-deep);background:#f7f1e6;border-radius:999px;place-items:center;margin-bottom:4px;display:grid}.legal-alerts-empty svg{width:24px;height:24px}.legal-alerts-empty strong{color:#1c1914;font-size:.95rem;font-weight:800}.legal-alerts-empty p{color:#8d8374;max-width:28ch;margin:0;font-size:.82rem;font-weight:600;line-height:1.6}.app-header-avatar{background:var(--brand-soft);width:36px;height:36px;color:var(--brand-deep);border:1px solid var(--brand-light);cursor:pointer;border-radius:999px;flex:none;place-items:center;padding:0;display:grid;overflow:hidden}.app-header-avatar.is-active{box-shadow:0 0 0 2px var(--brand)}.app-header-avatar img{object-fit:cover;width:100%;height:100%}.app-header-id{gap:1px;min-width:0;display:grid}.app-header-id strong,.app-header-id small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.app-header-id strong{color:var(--ink);font-size:.95rem;font-weight:800;line-height:1.25}.app-header-id small{color:var(--muted);font-size:.75rem;line-height:1.3}.app-header-actions{border:1px solid var(--line);background:var(--surface);max-width:100%;box-shadow:0 8px 20px rgba(var(--brand-deep-rgb), .06);border-radius:999px;flex:none;align-items:center;gap:10px;margin-inline-start:auto;padding:6px 8px 6px 6px;display:flex}.app-header-rule{background:var(--line);width:1px;height:22px}.app-header-logout{height:36px;color:var(--rose);font:inherit;background:0 0;border:0;border-radius:999px;align-items:center;gap:6px;padding:0 12px;font-size:.82rem;font-weight:700;display:inline-flex}.app-header-logout:hover{background:var(--rose-soft)}.app-shell:not(.is-sidebar-open) .app-header{padding-inline-start:22px}.app-shell:not(.is-sidebar-open) .app-main{padding-inline-start:20px}.app-shell.is-project-focus .app-main{padding:12px 16px 28px}.sidebar-launcher{z-index:60;top:max(14px, env(safe-area-inset-top,0px));border:1px solid var(--line);background:var(--surface);width:42px;height:42px;color:var(--brand-deep);box-shadow:0 8px 20px rgba(var(--brand-deep-rgb), .12);border-radius:12px;place-items:center;display:grid;position:fixed;inset-inline-start:max(12px, env(safe-area-inset-inline-start,0px))}.sidebar-launcher.is-hidden{display:none}.app-header .sidebar-launcher{top:auto;z-index:1;width:40px;height:40px;box-shadow:none;margin-inline-end:auto;position:static;inset-inline-start:auto}.sidebar-backdrop{z-index:70;background:#10283073;border:0;padding:0;position:fixed;inset:0}.app-sidebar{background:var(--surface);border-inline-end:1px solid var(--line);flex:0 0 272px;width:272px;height:100dvh;transition:flex-basis .22s,width .22s;position:sticky;top:0;overflow:hidden}.app-sidebar.is-open,.app-sidebar.is-open .sidebar-panel{overflow:visible}.app-sidebar:not(.is-open){pointer-events:none;border-inline-end-color:#0000;flex-basis:0;width:0}@media (width>=1025px){html.is-scroll-locked .app-shell.is-sidebar-open:before{content:"";flex:0 0 272px;width:272px}html.is-scroll-locked .app-sidebar.is-open{z-index:70;height:100dvh;position:fixed;inset-block:0;inset-inline-start:0}}.sidebar-panel{flex-direction:column;width:272px;height:100%;min-height:0;display:flex}.sidebar-head{border-bottom:1px solid var(--line);background:linear-gradient(180deg, #fffcf5 0%, var(--surface) 100%);box-sizing:border-box;align-items:center;height:68px;min-height:68px;padding:0 12px;display:flex;position:relative}.sidebar-brand{pointer-events:none;justify-content:center;align-items:center;min-width:0;display:flex;position:absolute;inset:0}.sidebar-brand-group{justify-content:flex-start;padding-inline-end:8px}.sidebar-brand-name{display:none}.sidebar-brand-title{min-width:0;color:var(--brand-deep);letter-spacing:.01em;margin:0;font-size:.92rem;font-weight:800;line-height:1.35;display:block}.sidebar-logo-frame{pointer-events:auto;flex:none;place-items:center;width:auto;max-width:150px;height:46px;display:grid}.sidebar-logo-frame img,.sidebar-logo-frame .app-image{object-fit:contain;object-position:center;width:auto;max-width:150px;height:46px;padding:0;display:block}.sidebar-logo-fallback{background:var(--brand-soft);width:44px;height:44px;color:var(--brand-deep);border-radius:12px;font-size:1.15rem;font-weight:800}.sidebar-head-tools{z-index:3;top:50%;align-items:center;margin:0;display:flex;position:absolute;inset-inline-end:10px;transform:translateY(-50%)}html[dir=ltr] .sidebar-head{gap:10px;height:auto;min-height:68px;padding:12px}html[dir=ltr] .sidebar-brand,html[dir=ltr] .sidebar-brand.sidebar-brand-group{flex:auto;justify-content:flex-start;min-width:0;padding:0;position:relative;inset:auto}html[dir=ltr] .sidebar-brand-title{text-align:start;white-space:normal;font-size:.84rem;line-height:1.3}html[dir=ltr] .sidebar-head-tools{align-self:auto;margin:0}html[dir=rtl] .sidebar-head{gap:10px;height:auto;min-height:68px;padding:12px}html[dir=rtl] .sidebar-brand,html[dir=rtl] .sidebar-brand.sidebar-brand-group{flex:auto;justify-content:flex-start;min-width:0;padding:0;position:relative;inset:auto}html[dir=rtl] .sidebar-brand-title{text-align:start;white-space:normal;line-height:1.35}html[dir=rtl] .sidebar-head-tools{align-self:auto;margin:0;transform:translateY(-50%)}html[dir=rtl] .sidebar-hide svg{transform:scaleX(-1)}html[dir=ltr] .sidebar-brand:not(.sidebar-brand-group),html[dir=rtl] .sidebar-brand:not(.sidebar-brand-group){flex:none;justify-content:center;padding:0;position:absolute;inset:0}.sidebar-hide{width:28px;height:28px;color:var(--brand-deep);cursor:pointer;background:#fff;border:1px solid #eadfc4;border-radius:999px;place-items:center;display:grid;box-shadow:0 6px 16px #1c191424}.sidebar-hide:hover{background:#fffaf0;border-color:#c4a35a}.sidebar-companies{border-bottom:1px solid var(--line);gap:4px;min-height:0;margin:0;padding:14px 12px 10px;display:grid}.sidebar-companies.is-single{border-bottom:0;padding-top:10px}.sidebar-companies-label,.sidebar-nav-label{color:var(--muted);letter-spacing:.02em;margin:0;padding:0 10px 6px;font-size:.72rem;font-weight:800}.sidebar-companies ul{gap:2px;max-height:240px;margin:0;padding:0;list-style:none;display:grid;overflow:auto}.sidebar-company{width:100%;min-width:0;color:inherit;font:inherit;text-align:start;cursor:pointer;background:0 0;border:0;border-radius:10px;justify-content:flex-start;align-items:center;gap:10px;padding:9px 10px;transition:background .15s,color .15s;display:flex}.sidebar-company:hover{background:var(--brand-soft)}.sidebar-company.is-active{background:var(--brand-soft);box-shadow:inset 3px 0 0 var(--brand)}html[dir=rtl] .sidebar-company.is-active{box-shadow:inset -3px 0 0 var(--brand)}.sidebar-company-copy{gap:2px;min-width:0;display:grid}.sidebar-company-copy strong{color:var(--ink);white-space:nowrap;text-overflow:ellipsis;font-size:.9rem;font-weight:700;line-height:1.3;overflow:hidden}.sidebar-company.is-active .sidebar-company-copy strong{color:var(--brand-deep)}.sidebar-company-copy small{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:.74rem;line-height:1.3;overflow:hidden}.sidebar-company-logo{flex:none;place-items:center;width:32px;height:32px;display:grid}.sidebar-company-logo img{object-fit:contain;width:100%;height:100%}.sidebar-nav{flex-direction:column;flex:auto;gap:2px;padding:12px 12px 10px;display:flex;overflow:auto}.sidebar-link{color:#4a4334;text-align:start;cursor:pointer;background:0 0;border:0;border-radius:10px;align-items:center;gap:10px;width:100%;min-height:44px;padding:8px 10px;font-size:.92rem;font-weight:600;transition:background .15s,color .15s;display:flex}.sidebar-link svg{color:var(--muted);flex:none}.sidebar-link span{min-width:0}.sidebar-link.is-company{align-items:flex-start}.sidebar-link.is-company .sidebar-company-copy{width:100%}.sidebar-link.is-active .sidebar-company-copy strong{color:var(--brand-deep)}.sidebar-link em{min-width:24px;height:22px;color:var(--brand-deep);background:#f3eee0;border-radius:999px;place-items:center;margin-inline-start:auto;padding:0 7px;font-size:.72rem;font-style:normal;font-weight:700;display:inline-grid}.sidebar-link.is-active{background:var(--brand-soft);color:var(--brand-deep)}.sidebar-link.is-active svg{color:var(--brand-deep)}.sidebar-link.is-active em{background:var(--surface);color:var(--brand-deep);box-shadow:0 0 0 1px rgba(var(--brand-rgb), .22)}.sidebar-link:hover:not(.is-active){background:var(--brand-soft)}.sidebar-foot{border-top:1px solid var(--line);background:linear-gradient(180deg, var(--surface) 0%, #fffcf5 100%);justify-content:space-between;align-items:center;gap:10px;min-height:64px;margin-top:auto;padding:12px 14px;display:flex}.sidebar-user,.sidebar-tools{display:contents}.sidebar-user-mark,.sidebar-tool,.lang-toggle{box-sizing:border-box;height:36px}.sidebar-user-mark,.sidebar-tool{border-radius:12px;place-items:center;width:36px;min-width:36px;display:grid}.sidebar-user-mark{background:var(--brand-soft);color:var(--brand-deep);cursor:pointer;border:1px solid #0000;padding:0;overflow:hidden}.sidebar-user-mark img{object-fit:cover;width:100%;height:100%}.sidebar-user-mark.is-active{box-shadow:0 0 0 2px var(--brand)}.sidebar-tool{border:1px solid var(--line);background:var(--surface);color:var(--brand-deep);padding:0}.sidebar-tool.is-logout{color:var(--rose);border-color:#f3d0d8}.sidebar-tool.is-logout:hover{background:var(--rose-soft)}.project-workspace{background:linear-gradient(180deg, #f8fbfcf5, var(--surface) 100px), var(--surface);border:1px solid var(--line-cool);width:100%;box-shadow:0 10px 28px rgba(var(--brand-deep-rgb), .06);border-radius:8px;padding:16px 18px 20px;overflow:visible}.project-workspace.panel:before{display:none}.topbar{--topbar-h:40px;z-index:50;background:rgba(var(--surface-rgb), .96);border:1px solid var(--line);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:12px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px 18px;margin-bottom:20px;padding:10px 14px;animation:.45s both rise;display:grid;position:sticky;top:0}.topbar-meta{min-width:0;height:var(--topbar-h);justify-content:flex-end;justify-self:end;align-items:center;gap:8px;display:flex}.topbar-controls{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.topbar-divider{background:var(--line);flex-shrink:0;width:1px;height:22px}.project-workspace-hero{background:radial-gradient(70% 90% at 0% 10%, rgba(var(--brand-rgb), .07), transparent 48%), linear-gradient(165deg, var(--surface-ice) 0%, #eef5f7 36%, var(--surface) 100%);border:1px solid var(--line);box-shadow:0 10px 28px rgba(var(--brand-deep-rgb), .06);border-radius:12px;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"copy meter""filters filters";align-items:center;gap:0 28px;margin:0 0 16px;padding:16px 18px 0;display:grid;position:relative;overflow:hidden}.project-workspace-copy{text-align:start;grid-area:copy;justify-items:start;gap:10px;min-width:0;padding:0 0 16px;display:grid}.project-workspace-copy h1{margin:0}.project-workspace-meter{flex-direction:column;grid-area:meter;justify-content:center;justify-self:end;align-items:center;gap:8px;margin:0;padding:18px 4px 16px;display:flex}.project-ring{--pct:0;background:conic-gradient(var(--brand) calc(var(--pct) * 1%), #dce8ec 0);width:92px;height:92px;box-shadow:0 10px 22px rgba(var(--brand-deep-rgb), .1), inset 0 0 0 1px rgba(var(--brand-rgb), .06);border-radius:50%;place-items:center;display:grid}.project-ring-inner{background:var(--surface);text-align:center;border-radius:50%;justify-content:center;align-items:center;width:70px;height:70px;display:flex}.project-ring-inner strong{color:var(--brand-deep);font-variant-numeric:tabular-nums;font-size:1.28rem;line-height:1}.project-ring-inner span{display:none}.project-ring-label{color:var(--muted);text-align:center;max-width:7.5rem;font-size:.72rem;font-weight:700;line-height:1.2}.project-workspace-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 12px;width:100%;margin:0;display:flex}.project-workspace-action-filters,.project-workspace-action-btns{flex-wrap:wrap;align-items:center;gap:8px;min-width:0;display:flex}.project-workspace-actions .panel-filter-select{flex:none;width:auto;min-width:0;display:block}.project-workspace-actions .panel-filter-select.ui-select{width:auto;max-width:max-content}.project-workspace-actions .panel-filter-select .ui-select-trigger{white-space:nowrap;box-sizing:border-box;gap:8px;width:auto;min-width:max-content;max-width:260px;height:40px;min-height:40px;max-height:40px;padding:0 12px;font-size:.86rem}.project-workspace-actions .panel-filter-select .ui-select-trigger>span:first-child{text-overflow:ellipsis;white-space:nowrap;flex:0 auto;overflow:hidden}.project-workspace-actions .panel-action-btn{box-sizing:border-box;white-space:nowrap;flex:none;justify-content:center;align-items:center;width:auto;min-width:max-content;height:40px;min-height:40px;max-height:40px;padding:0 14px;font-size:.86rem;line-height:1.2;display:inline-flex}.project-workspace-toolbar{border:0;border-top:1px solid rgba(var(--brand-rgb), .1);background:rgba(var(--surface-rgb), .72);border-radius:0;flex-direction:column;grid-area:filters;align-items:stretch;gap:10px;margin:0 -18px;padding:12px 16px 14px;display:flex;overflow:visible}.project-workspace-filters.status-tabs-chips{display:none}.project-workspace-filters{-webkit-overflow-scrolling:touch;scrollbar-width:thin;flex-wrap:nowrap;flex:none;align-items:center;gap:6px;width:100%;min-width:0;max-width:100%;margin:0;display:flex;overflow:auto hidden}.project-workspace .status-tabs.project-workspace-filters{background:0 0;border:0;flex-wrap:nowrap;gap:8px;width:max-content;min-width:100%;max-width:none;margin-bottom:0;padding:0}.project-workspace .status-tab{box-sizing:border-box;background:var(--surface);border-color:var(--line-cool);white-space:nowrap;min-height:38px;box-shadow:0 1px 3px rgba(var(--brand-deep-rgb), .04);flex:none;gap:8px;padding:8px 12px;font-size:.86rem;font-weight:600;line-height:1.2;transition:background .18s,border-color .18s,color .18s,box-shadow .18s}.project-workspace .status-tab.is-active{background:linear-gradient(145deg, var(--brand-mid) 0%, var(--brand-deep) 100%);border-color:var(--brand-deep);color:var(--surface);box-shadow:0 2px 8px rgba(var(--brand-deep-rgb), .2)}.project-workspace .status-tab.is-active em{background:rgba(var(--surface-rgb), .22);color:var(--surface)}.project-workspace .status-tab.is-active:hover{color:var(--surface)}.project-workspace .status-tab.is-late-tab.is-active{background:linear-gradient(145deg, var(--amber-hot) 0%, var(--amber-deep) 100%);border-color:var(--amber-deep)}.project-workspace .status-tab.is-active-tab.is-active{background:linear-gradient(145deg, #16a34a 0%, var(--success) 100%);border-color:var(--success)}.project-workspace .status-tab.is-inactive-tab.is-active{background:linear-gradient(145deg, var(--rose-hot) 0%, var(--rose) 100%);border-color:var(--rose)}.project-workspace .status-tab em{min-width:22px;height:22px;padding:0 7px;font-size:.78rem}.project-workspace-filters .status-tabs-divider{flex:none;height:22px;margin-inline:6px}.project-workspace-title-row{flex-wrap:wrap;align-items:center;gap:10px 12px;display:flex}.project-workspace-copy h1{color:var(--brand-deep);letter-spacing:-.01em;margin:0;font-size:clamp(1.3rem,2.2vw,1.7rem);line-height:1.25}.project-workspace-desc{color:#46606a;max-width:min(58ch,100%);margin:6px 0 0;font-size:.92rem;line-height:1.6}.project-workspace-desc.is-muted{color:var(--muted)}.project-workspace-chips{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.project-stat-chip{background:var(--brand-soft);color:var(--brand-deep);border:1px solid #d3e6ec;border-radius:8px;align-items:center;gap:4px;padding:6px 12px;font-size:.8rem;font-weight:700;line-height:1.2;display:inline-flex}.project-workspace-schedule{color:#46606a;flex-wrap:wrap;align-items:center;gap:6px 8px;margin-top:12px;font-size:.86rem;font-weight:600;display:flex}.project-workspace-dates{flex-wrap:wrap;align-items:center;gap:6px;min-width:0;display:inline-flex}.project-workspace-schedule small{color:#94a3b8;font-size:.75rem;font-weight:600}.project-workspace-schedule .working-days-meta{margin-top:0;background:rgba(var(--brand-rgb), .08);border-radius:8px;margin-inline-start:4px;padding:4px 10px}.project-workspace-schedule.is-late{color:var(--amber-deep)}.project-workspace-schedule.is-late small{color:var(--amber-hot)}.project-workspace-schedule.is-due-soon{color:var(--amber)}.project-workspace-schedule.is-due-soon small{color:#d97706}.project-workspace-schedule .badge{margin-inline-start:4px}.project-workspace .table-wrap{border:1px solid var(--line);background:var(--surface);width:100%;box-shadow:0 8px 22px rgba(var(--brand-deep-rgb), .06);isolation:isolate;border-radius:8px;overflow:auto}.project-workspace .data-table{width:100%;min-width:1040px;margin:0}.project-workspace .data-table th{letter-spacing:.02em;padding-block:15px}.project-workspace .data-table td{vertical-align:middle;padding-block:16px}.project-workspace .data-table tbody tr{transition:background .14s}.project-workspace .empty{border:1px dashed var(--line-aqua);background:#f9fcfd;border-radius:8px;margin-top:8px}.cases-home{width:100%;min-width:0;container:cases/inline-size}.cases-queues{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:16px 0 0;display:grid}.cases-queue{background:#fff;border:1px solid #efe4cc;border-radius:18px;min-width:0;padding:18px 16px 8px}.cases-queue header{gap:4px;margin-bottom:14px;display:grid}.cases-queue h2{color:var(--brand-deep);margin:0;font-size:1.05rem;font-weight:800}.cases-queue header p,.cases-queue-empty{color:#9a907f;margin:0;font-size:.82rem;font-weight:600}.cases-queue-empty{padding:8px 2px 14px}.cases-queue ul{gap:10px;margin:0;padding:0 0 8px;list-style:none;display:grid}.cases-queue-row{width:100%;color:inherit;font:inherit;text-align:start;cursor:pointer;background:#fff;border:1px solid #f0e6d2;border-radius:14px;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;display:flex}.cases-queue-row:hover{background:#fffcf7;border-color:#e4d3a4}.cases-queue-row span{gap:3px;min-width:0;display:grid}.cases-queue-row strong,.cases-queue-row small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.cases-queue-row strong{color:#1c1914;font-size:.92rem;font-weight:800}.cases-queue-row small{color:#9a907f;font-size:.78rem;font-weight:600}.cases-queue-row em,.cases-queue-row b{flex:none}.cases-queue-row em{border-radius:999px;align-items:center;min-height:26px;padding:0 10px;font-size:.75rem;font-style:normal;font-weight:800;display:inline-flex}.cases-queue-row em.is-high{color:#c45c6a;background:#fdecee}.cases-queue-row em.is-medium,.cases-queue-row em.is-low{color:#a6843d;background:#fbf6ea}.cases-queue-row em.is-low{color:#3d8b5f;background:#eef6f1}.cases-queue-row b,.cases-queue-row>button{color:#3f3a32;min-height:34px;font:inherit;cursor:pointer;background:#fff;border:1px solid #eadfc4;border-radius:10px;align-items:center;padding:0 14px;font-size:.82rem;font-weight:800;display:inline-flex}.cases-queue-row>button:hover{background:#fffcf7;border-color:#c4a35a}.cases-queue-actions{flex:none;gap:8px;display:flex}.cases-queue-actions button{color:#3f3a32;min-height:34px;font:inherit;cursor:pointer;background:#fff;border:1px solid #eadfc4;border-radius:10px;align-items:center;padding:0 14px;font-size:.82rem;font-weight:800;display:inline-flex}.cases-queue-actions button.is-approve{color:#fff;background:#1c1914;border:0}.cases-queue-actions button:disabled{cursor:default;opacity:.6}.modal.cases-quick-detail{background:#fffdf8;border:1px solid #efe4cc;border-radius:18px;align-content:start;gap:14px;width:min(560px,100%);height:auto;max-height:none;margin:0;padding:18px;display:grid;box-shadow:0 18px 44px #1c191429}.cases-quick-detail-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.cases-quick-detail-head h2,.cases-quick-detail-head p,.cases-quick-detail-need{text-align:start;margin:0}.cases-quick-detail-head h2{color:#1c1914;font-size:1.25rem;font-weight:800;line-height:1.3}.cases-quick-detail-head p,.cases-quick-detail-need span,.cases-quick-detail-reason span{color:#7a705c;font-size:.82rem;font-weight:700}.cases-quick-detail-head p{margin-top:4px}.cases-quick-detail-close{color:#1c1914;width:34px;height:34px;font:inherit;cursor:pointer;background:#fff;border:1px solid #eadfc4;border-radius:10px;flex:none;place-items:center;font-size:1.15rem;line-height:1;display:grid}.cases-quick-detail-need{background:#f7f1e4;border-radius:14px;gap:4px;padding:12px 14px;display:grid}.cases-quick-detail-need strong{color:#1c1914;font-size:1rem;font-weight:800}.cases-quick-detail-choices{grid-template-columns:1fr 1fr;gap:10px;display:grid}.cases-quick-choice{color:#1c1914;min-height:52px;font:inherit;cursor:pointer;background:#fff;border:1px solid #e6dcc6;border-radius:14px;justify-content:center;align-items:center;padding:0 12px;font-size:.95rem;font-weight:800;display:flex}.cases-quick-choice.is-approve{color:#157a45;background:#f3faf6;border-color:#1f8a4c}.cases-quick-choice.is-approve.is-selected{color:#fff;background:#157a45;border-color:#157a45}.cases-quick-detail-table-wrap{background:#fff;border:1px solid #efe4cc;border-radius:14px;overflow:hidden}.cases-quick-detail-table{border-collapse:collapse;table-layout:fixed;width:100%}.cases-quick-detail-table th,.cases-quick-detail-table td{text-align:start;vertical-align:middle;border-bottom:1px solid #f3ead8;padding:12px 14px}.cases-quick-detail-table thead th{color:#6f664f;background:#f7f1e4;font-size:.78rem;font-weight:800}.cases-quick-detail-table tbody th{color:#7a705c;width:34%;font-size:.84rem;font-weight:800}.cases-quick-detail-table td{color:#1c1914;overflow-wrap:anywhere;font-size:.95rem;font-weight:800;line-height:1.45}.cases-quick-detail-table tbody tr:last-child th,.cases-quick-detail-table tbody tr:last-child td{border-bottom:0}.cases-quick-detail-table tbody tr:nth-child(2n){background:#fbf8f2}.cases-quick-choice.is-reject.is-selected{color:#9a3412;background:#fdf2f0;border-color:#b4534a}.cases-quick-detail-reason{gap:8px;display:grid}.cases-quick-detail-reason textarea{color:#1c1914;width:100%;height:auto;min-height:0;max-height:120px;font:inherit;field-sizing:content;resize:none;box-sizing:border-box;background:#fff;border:1px solid #e4d3a4;border-radius:12px;margin:0;padding:10px 12px;font-size:.92rem;line-height:1.5;display:block;overflow:hidden}.cases-quick-detail-reason textarea:focus{border-color:#b4534a;outline:none;box-shadow:0 0 0 3px #b4534a24}.cases-quick-detail-save{color:#fff;min-height:42px;font:inherit;cursor:pointer;background:#1c1914;border:0;border-radius:12px;font-size:.95rem;font-weight:800}.cases-quick-detail-save:disabled{color:#8d846e;cursor:default;background:#e7e1d4}.approval-drawer-backdrop{z-index:60;background:#16120c8c;position:fixed}.approval-drawer{background:#fff;border-inline-start:1px solid #efe4cc;flex-direction:column;width:min(420px,100%);height:100%;display:flex;position:absolute;inset-block:0;inset-inline-end:0;box-shadow:0 0 40px #16120c33}.approval-drawer-head,.approval-drawer-actions{background:#fff;flex:none;justify-content:space-between;align-items:center;gap:12px;padding:16px 20px;display:flex}.approval-drawer-head{border-bottom:1px solid #f3ecdf}.approval-drawer-head h2{color:#1c1914;margin:0;font-size:1.02rem;font-weight:800}.approval-drawer-close{color:#3f3a32;cursor:pointer;background:#fff;border:1px solid #eadfc4;border-radius:10px;place-items:center;width:36px;height:36px;font-size:1.25rem;line-height:1;display:grid}.approval-drawer-body{flex:1;min-height:0;padding:20px 20px 28px;overflow:auto}.approval-drawer-hero{flex-direction:column;align-items:flex-start;gap:6px;display:flex}.approval-drawer-chip{color:#8a6230;background:#f7f1dc;border-radius:999px;align-items:center;min-height:28px;padding:0 12px;font-size:.75rem;font-weight:800;display:inline-flex}.approval-drawer-hero h3{color:#1b2a4a;margin:6px 0 0;font-size:1.45rem;font-weight:800;line-height:1.35}.approval-drawer-client,.approval-drawer-wait{color:#8d8476;margin:0;font-size:.9rem;font-weight:650;line-height:1.5}.approval-drawer-facts{grid-template-columns:1fr 1fr;gap:10px;margin-top:18px;display:grid}.approval-drawer-facts div:last-child{grid-column:1/-1}.approval-drawer-facts div{text-align:center;background:#fffcf7;border:1px solid #eadfc4;border-radius:14px;align-content:center;gap:6px;min-height:76px;padding:12px 14px;display:grid}.approval-drawer-facts span{color:#9a907f;font-size:.74rem;font-weight:700}.approval-drawer-facts strong{color:#1c1914;font-size:.95rem;font-weight:800;line-height:1.4}.approval-drawer-section{margin-top:22px}.approval-drawer-section h4{color:#1c1914;margin:0 0 10px;font-size:.95rem;font-weight:800}.approval-drawer-request{color:#3f3a32;text-align:start;unicode-bidi:plaintext;background:#fff;border:1px solid #eadfc4;border-radius:14px;margin:0;padding:16px;font-size:.95rem;font-weight:650;line-height:1.8}.approval-drawer-log{gap:8px;margin:0;padding:0;list-style:none;display:grid}.approval-drawer-log li{background:#fff;border:1px solid #eadfc4;border-radius:14px;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px;display:grid}.approval-drawer-log em{color:#8a6230;background:#f7f1dc;border-radius:999px;place-items:center;width:28px;height:28px;font-size:.75rem;font-style:normal;font-weight:800;display:grid}.approval-drawer-log li div{gap:2px;min-width:0;display:grid}.approval-drawer-log strong,.approval-drawer-log small,.approval-drawer-log time{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.approval-drawer-log strong{color:#1c1914;font-size:.9rem;font-weight:800}.approval-drawer-log small,.approval-drawer-log time{color:#9a907f;font-size:.78rem;font-weight:700}.approval-drawer-actions{border-top:1px solid #f3ecdf;box-shadow:0 -8px 18px #1c19140a}.approval-drawer-actions button{min-height:40px;font:inherit;cursor:pointer;border-radius:12px;padding:0 18px;font-size:.9rem;font-weight:800}.approval-drawer-actions .is-reject{color:#3f3a32;background:#fff;border:1px solid #eadfc4}.approval-drawer-actions .is-approve{color:#fff;background:#1c1914;border:0}.approval-drawer-actions button:disabled{opacity:.6;cursor:default}.cases-board.panel{box-shadow:none}.cases-board.panel:before{display:none}.legal-matter-copy{gap:4px;min-width:0;display:grid}button.legal-inbox-card{color:inherit;text-align:start}.cases-page-header .projects-panel-copy,.projects-panel .projects-panel-copy{flex:auto;gap:4px;min-width:0;display:grid}.cases-page-header .projects-panel-lead,.projects-panel .projects-panel-lead{color:var(--muted);margin:0;font-size:.9rem;font-weight:600;line-height:1.5}.cases-page-header{background:var(--surface);border:1px solid var(--line);box-sizing:border-box;border-radius:8px;justify-content:space-between;align-items:center;gap:16px 24px;min-width:0;margin:0 0 16px;padding:16px 20px;display:flex}.cases-page-header .projects-panel-copy{flex:0 auto;min-width:min(100%,18rem)}.cases-page-tools{flex-wrap:nowrap;flex:auto;justify-content:flex-end;align-items:center;gap:8px;min-width:0;display:flex}.cases-page-tools .search-input{background:var(--surface);border:1px solid var(--line);box-sizing:border-box;border-radius:8px;flex:160px;width:220px;min-width:140px;max-width:280px;height:44px;min-height:44px;margin:0;padding:0 12px;font-size:.86rem}.cases-page-header .projects-sector-settings,.cases-page-header .legal-new-btn{flex:none;height:44px;min-height:44px}.cases-page-header .legal-inbox-card{border-radius:10px;flex:none;gap:8px;height:44px;min-height:44px;padding-inline:14px 10px}.cases-page-header .legal-inbox-icon,.cases-page-header .legal-inbox-icon svg{width:22px;height:22px}.cases-page-header .legal-inbox-copy{gap:8px}.cases-page-header .legal-inbox-copy strong{font-size:.95rem}.cases-page-header .legal-inbox-copy em{min-width:26px;height:26px;font-size:.86rem}.cases-page-tools .search-input:focus{border-color:var(--brand-line);box-shadow:0 0 0 3px rgba(var(--brand-rgb), .12);outline:none}.legal-new-btn{white-space:nowrap;flex-direction:row;justify-content:center;align-items:center;gap:8px;padding-inline:16px;font-size:.86rem;font-weight:800;line-height:1;display:inline-flex}.legal-new-icon{flex:none;width:16px;height:16px;display:block}.cases-page-header .projects-panel-create>.panel-action-btn{white-space:nowrap;box-sizing:border-box;border-radius:6px;flex:none;justify-content:center;align-items:center;width:auto;min-width:max-content;height:40px;min-height:40px;max-height:40px;padding:0 16px;font-size:.86rem;font-weight:700;display:inline-flex}.cases-page-header h1{color:var(--brand-deep);white-space:nowrap;margin:0;font-size:clamp(1.2rem,1.35vw,1.45rem);font-weight:800;line-height:1.35}.cases-board-head{justify-content:space-between;align-items:center;gap:12px;min-width:0;margin:0 0 14px;display:flex}.cases-board-title{align-items:center;gap:8px;min-width:0;display:flex}.cases-board-head h2{color:var(--brand-deep);margin:0;font-size:1.12rem;font-weight:800;line-height:1.3}.cases-status-filters{background:#fbf8f2;border:1px solid #efe6d4;border-radius:14px;flex:none;align-items:center;gap:8px;margin-inline-start:auto;padding:4px;display:flex}.cases-status-filter{color:#5f584c;height:36px;font:inherit;white-space:nowrap;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:10px;align-items:center;gap:8px;padding-inline:12px 8px;font-size:.84rem;font-weight:800;line-height:1;display:inline-flex}.cases-status-filter i{background:#c8bfae;border-radius:999px;width:8px;height:8px}.cases-status-filter.is-active i{background:#2d8a54}.cases-status-filter.is-hold i{background:#c4a35a}.cases-status-filter.is-closed i{background:#b46a62}.cases-status-filter em{color:#8a6230;background:#fff;border-radius:999px;place-items:center;min-width:22px;height:22px;padding:0 6px;font-size:.75rem;font-style:normal;font-weight:800;display:inline-grid}.cases-status-filter:hover{background:#fff}.cases-status-filter.is-active.is-on{color:#1f7a45;background:#e7f6ee;border-color:#b7e0c8}.cases-status-filter.is-active.is-on em{color:#1f7a45;background:#fff}.cases-status-filter.is-hold.is-on{color:#8a6230;background:#fff;border-color:#ead7a2}.cases-status-filter.is-closed.is-on{color:#8d4d45;background:#f8f1f0;border-color:#e4d3d0}.cases-status-filter.is-closed.is-on em{color:#8d4d45;background:#fff}.cases-directory-head,.cases-directory-row{text-align:center;grid-template-columns:minmax(180px,1.6fr) minmax(72px,.65fr) minmax(110px,.9fr) minmax(72px,.65fr) auto auto;place-items:center;gap:8px 16px;display:grid}.cases-directory-head{color:#9a907f;border-bottom:1px solid #f3ecdf;padding:2px 8px 10px;font-size:.72rem;font-weight:800}.cases-directory-row{border-bottom:1px solid #f6f1e6;min-width:0;padding:11px 8px}.cases-directory-row:last-child{border-bottom:0}.cases-directory-row:hover{background:#fbf8f1}.cases-directory-main{width:100%;min-width:0;color:inherit;font:inherit;text-align:center;cursor:pointer;background:0 0;border:0;justify-items:center;gap:2px;margin:0;padding:0;display:grid}.cases-directory-main strong,.cases-directory-row>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.cases-directory-main strong{color:#1c1914;font-size:.94rem;font-weight:800}.cases-directory-main span{color:#8a8170;text-overflow:ellipsis;white-space:nowrap;font-size:.78rem;font-weight:700;overflow:hidden}.cases-directory-row>span:not(.legal-matter-status){color:#1c1914;font-size:.84rem;font-weight:700}.cases-view-all{height:32px;min-height:32px;color:var(--brand-deep);font:inherit;white-space:nowrap;cursor:pointer;background:#fbf8f1;border:1px solid #e4d8be;border-radius:8px;flex:none;justify-content:center;align-items:center;gap:6px;padding-inline:12px 10px;font-size:.8rem;font-weight:700;line-height:1;transition:border-color .16s,background .16s,color .16s;display:inline-flex}.cases-view-all-icon{flex:none;width:14px;height:14px;display:block}[dir=rtl] .cases-view-all-icon{transform:scaleX(-1)}[dir=rtl] .cases-view-all.is-back .cases-view-all-icon{transform:none}.cases-view-all:hover{border-color:var(--brand-line);background:var(--cream);color:var(--brand-ink)}.cases-view-all:focus-visible{border-color:var(--brand);box-shadow:0 0 0 3px rgba(var(--brand-rgb), .2);outline:none}.legal-matter-list{gap:14px;min-width:0;margin:16px 0 0;padding:0;display:grid}.legal-matter-card{background:var(--surface);box-sizing:border-box;box-shadow:0 1px 2px rgba(var(--brand-deep-rgb), .04);border:1px solid #eadfc4;border-radius:12px;flex-direction:column;gap:14px;margin:0;padding:16px 18px 14px;display:flex}.legal-matter-top{cursor:pointer;justify-content:space-between;align-items:flex-start;gap:16px;min-width:0;display:flex}.legal-matter-body{text-align:start;gap:6px;min-width:0;display:grid}.legal-matter-top h3{color:#b08d32;flex:auto;min-width:0;margin:0;font-size:1.05rem;font-weight:800;line-height:1.4}.legal-matter-client{color:#1c1914;margin:0;font-size:1rem;font-weight:700;line-height:1.5}.legal-matter-meta{color:var(--muted);flex-wrap:wrap;align-items:center;margin:0;font-size:.9rem;font-weight:600;line-height:1.6;display:flex}.legal-matter-field{white-space:nowrap;align-items:baseline;gap:4px;display:inline-flex}.legal-matter-field:not(:last-child):after{content:"|";color:#d5ccb6;margin-inline:8px;font-weight:500}.legal-matter-label:after{content:":"}.legal-matter-status{white-space:nowrap;border-radius:7px;flex:none;justify-content:center;align-items:center;min-height:26px;padding:0 10px;font-size:.78rem;font-weight:700;line-height:1;display:inline-flex}.legal-matter-status.is-closed{color:#a07c28;background:#f7f1dc}.legal-matter-status.is-active{color:#2d8a54;background:#e7f6ee}.legal-matter-status.is-hold{color:#8a6230;background:#fbf6ea}.legal-matter-foot{border-top:1px solid #f1e8d2;flex-wrap:wrap;justify-content:flex-start;gap:8px;margin-top:2px;padding-top:12px;display:flex}.legal-matter-decide{height:32px;min-height:32px;font:inherit;cursor:pointer;border-radius:8px;justify-content:center;align-items:center;padding:0 14px;font-size:.8rem;font-weight:800;line-height:1;display:inline-flex}.legal-matter-decide.is-reject{color:#3f3a32;background:#fff;border:1px solid #eadfc4}.legal-matter-decide.is-approve{color:#fff;background:#1c1914;border:0}.legal-matter-decide:hover:not(:disabled){border-color:var(--brand-line)}.legal-matter-decide.is-approve:hover:not(:disabled){background:#322c24}.legal-matter-decide:disabled{opacity:.6;cursor:default}.legal-matter-decide:focus-visible{box-shadow:0 0 0 3px rgba(var(--brand-rgb), .2);outline:none}.legal-matter-list.is-directory{gap:0;margin-top:4px}.legal-matter-list.is-directory .legal-matter-card{box-shadow:none;background:0 0;border:0;border-bottom:1px solid #f3ecdf;border-radius:0;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px 18px;padding:12px 8px;display:grid}.legal-matter-list.is-directory .legal-matter-card:last-child{border-bottom:0}.legal-matter-list.is-directory .legal-matter-card:hover{background:#fbf8f1}.legal-matter-list.is-directory .legal-matter-top{grid-template-columns:minmax(160px,1.15fr) minmax(0,1.5fr) auto;align-items:center;gap:12px 20px;display:grid}.legal-matter-list.is-directory .legal-matter-body{display:contents}.legal-matter-list.is-directory .legal-matter-copy{min-width:0}.legal-matter-list.is-directory .legal-matter-top h3{color:#1c1914;text-overflow:ellipsis;white-space:nowrap;font-size:.95rem;overflow:hidden}.legal-matter-list.is-directory .legal-matter-client{color:#8a8170;text-overflow:ellipsis;white-space:nowrap;font-size:.8rem;font-weight:700;overflow:hidden}.legal-matter-list.is-directory .legal-matter-meta{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 16px;display:grid}.legal-matter-list.is-directory .legal-matter-field{white-space:normal;gap:2px;min-width:0;display:grid}.legal-matter-list.is-directory .legal-matter-field:after,.legal-matter-list.is-directory .legal-matter-label:after{content:none}.legal-matter-list.is-directory .legal-matter-label{color:#9a907f;font-size:.7rem;font-weight:700}.legal-matter-list.is-directory .legal-matter-value{color:#1c1914;text-overflow:ellipsis;white-space:nowrap;font-size:.84rem;font-weight:750;overflow:hidden}.legal-matter-list.is-directory .legal-matter-foot{border:0;margin:0;padding:0}.legal-matter-update{color:#3a3224;height:32px;min-height:32px;font:inherit;cursor:pointer;background:#fbf8f1;border:1px solid #e4d8be;border-radius:8px;justify-content:center;align-items:center;gap:6px;padding:0 14px;font-size:.8rem;font-weight:700;line-height:1;transition:border-color .16s,background .16s,color .16s;display:inline-flex}.legal-matter-update-icon{flex:none;width:14px;height:14px;display:block}.legal-matter-update:hover{border-color:var(--brand-line);background:var(--cream);color:var(--brand-deep)}.legal-matter-update:focus-visible{border-color:var(--brand);box-shadow:0 0 0 3px rgba(var(--brand-rgb), .2);outline:none}@container cases (width<=1180px){.cases-page-header{grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px 8px;padding:14px 16px;display:grid}.cases-page-tools{display:contents}.cases-page-header .projects-panel-copy{flex:none;grid-area:1/1/auto/3;width:auto;min-width:0}.cases-page-header h1{white-space:nowrap}.cases-page-header .projects-sector-settings{white-space:nowrap;grid-area:1/3;justify-self:end;width:max-content;height:44px;min-height:44px}.cases-page-tools .search-input{grid-area:2/1;width:100%;min-width:0;max-width:none;height:44px}.cases-page-tools .legal-inbox-card{white-space:nowrap;grid-area:2/2;width:max-content}.cases-page-header .legal-new-btn{white-space:nowrap;grid-area:2/3;justify-self:end;width:max-content}}@container cases (width<=680px){.cases-page-header{flex-direction:column;align-items:center;gap:8px;margin-bottom:8px;padding:8px;display:flex}.cases-page-header .projects-panel-copy{text-align:center;justify-items:center;width:100%}.cases-page-header h1,.cases-page-header .projects-panel-lead{text-align:center;white-space:nowrap;width:100%}.cases-page-header h1{font-size:clamp(.95rem,4.8vw,1.2rem);font-weight:800;line-height:1.25}.cases-page-header .projects-panel-lead{font-size:clamp(.62rem,3.05vw,.84rem)}.cases-page-tools{grid-template-columns:minmax(0,1fr);gap:6px;width:100%;display:grid}.cases-page-header .projects-panel-copy,.cases-page-header .projects-sector-settings,.cases-page-tools .search-input,.cases-page-tools .legal-inbox-card,.cases-page-header .legal-new-btn{box-sizing:border-box;border-radius:8px;grid-area:auto/1;justify-self:stretch;width:100%;min-width:0;max-width:100%;height:36px;min-height:36px;font-size:.78rem}.cases-page-header .projects-panel-copy{height:auto;min-height:0}.cases-page-header .legal-new-btn,.cases-page-header .projects-sector-settings,.cases-page-tools .legal-inbox-card{justify-content:center}.cases-page-header .legal-inbox-card{gap:6px;padding-inline:10px}.cases-page-header .legal-inbox-icon,.cases-page-header .legal-inbox-icon svg{width:18px;height:18px}.cases-page-header .legal-inbox-copy{gap:6px}.cases-page-header .legal-inbox-copy strong,.cases-page-header .projects-sector-settings,.cases-page-header .legal-new-btn{font-size:.78rem;font-weight:700}.cases-page-header .legal-inbox-copy em{min-width:20px;height:20px;padding:0 5px;font-size:.72rem}.cases-page-header .legal-new-icon,.cases-page-header .projects-sector-settings-icon{width:14px;height:14px}.cases-queues{grid-template-columns:1fr;gap:10px}.cases-board.panel{padding:10px}.cases-board-head{gap:8px;margin:0}.cases-board-head h2{white-space:nowrap;font-size:1rem}.cases-view-all{height:28px;min-height:28px;padding-inline:10px;font-size:.74rem}.legal-matter-list{gap:8px;margin-top:8px}.cases-directory-head{display:none}.cases-directory-row{grid-template-columns:minmax(0,1fr) auto;align-items:start}.cases-directory-row>span:not(.legal-matter-status){grid-column:1}.legal-matter-card{border-radius:10px;gap:8px;padding:10px}.legal-matter-top{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:8px 10px;display:grid}.legal-matter-body{display:contents}.legal-matter-copy{grid-area:1/1}.legal-matter-status{grid-area:1/2;align-self:start;min-height:24px;padding-inline:8px;font-size:.72rem}.legal-matter-meta{background:var(--paper);border-radius:8px;grid-area:2/1/auto/-1;gap:0;width:100%;margin-top:0;padding:0 8px;font-size:.76rem;line-height:1.3;display:grid}.legal-matter-top h3{font-size:.9rem}.legal-matter-client{font-size:.82rem}.legal-matter-field{white-space:normal;justify-content:space-between;align-items:center;gap:8px;min-height:26px;display:flex}.legal-matter-field+.legal-matter-field{border-top:1px solid #f1e8d2}.legal-matter-field:not(:last-child):after{content:none;margin:0}.legal-matter-label{color:var(--muted);font-weight:600}.legal-matter-value{color:#1c1914;text-align:end;font-weight:700}.legal-matter-foot{padding-top:8px}.legal-matter-update{width:100%;height:32px;min-height:32px;padding-inline:10px;font-size:.78rem}}.legal-inbox-card{border:1px solid var(--cream-line);background:var(--cream);height:64px;min-height:64px;box-shadow:0 1px 2px rgba(var(--brand-deep-rgb), .06);box-sizing:border-box;border-radius:8px;align-items:center;gap:10px;padding-inline:16px 12px;display:inline-flex}.legal-inbox-icon{width:40px;height:40px;color:var(--brand-deep);box-shadow:none;border-radius:8px;flex:none;place-items:center;display:grid}.legal-inbox-icon svg{width:22px;height:22px}.legal-inbox-copy{align-items:center;gap:10px;min-width:0;display:inline-flex}.legal-inbox-copy strong{color:var(--brand-deep);letter-spacing:-.01em;white-space:nowrap;font-size:1.02rem;font-weight:800}.legal-inbox-copy em{background:var(--surface);min-width:32px;height:32px;color:var(--brand-deep);box-shadow:0 2px 6px rgba(var(--brand-deep-rgb), .1);border:1px solid #e4d3a2;border-radius:999px;place-items:center;padding:0 8px;font-size:.95rem;font-style:normal;font-weight:800;line-height:1;display:inline-grid}@media (width<=640px){.projects-panel-create{flex-direction:column;align-items:stretch}.legal-inbox-card,.projects-panel .projects-panel-create>.panel-action-btn{width:100%;height:auto;min-height:56px;max-height:none}.legal-inbox-card{height:56px}}.projects-table tbody tr.project-row.is-clickable{cursor:pointer}.projects-table tbody tr.project-row.is-clickable:hover .cell-title{color:var(--brand)}.projects-table tbody tr.project-row.is-clickable:focus-visible{outline:2px solid rgba(var(--brand-deep-rgb), .35);outline-offset:-2px}.projects-table .project-desc{-webkit-line-clamp:2;margin-top:4px;text-align:center;-webkit-box-orient:vertical;max-width:360px;margin-inline:auto;line-height:1.45;display:-webkit-box;overflow:hidden}.project-name-btn{color:inherit;text-align:inherit;cursor:pointer;background:0 0;border:0;flex-direction:column;align-items:flex-start;gap:4px;padding:0;display:flex}.project-name-btn:hover .cell-title{color:var(--brand)}.project-desc{-webkit-line-clamp:2;-webkit-box-orient:vertical;max-width:360px;line-height:1.45;display:-webkit-box;overflow:hidden}.data-table .cell-title,.data-table .cell-muted,.data-table .project-desc{text-align:center;margin-inline:auto;display:block}.notes-cell-icon{background:var(--brand-soft);width:28px;height:28px;color:var(--brand-deep);border-radius:8px;flex-shrink:0;place-items:center;display:inline-grid}.notes-box{border:1px solid var(--line);background:#f5f9fb;border-radius:12px;gap:14px;padding:14px;display:grid}.form-section .notes-box{border:1px solid var(--line-cool);background:var(--surface-pale);padding:14px}.notes-inline-box{gap:14px}.notes-workspace{gap:14px;margin-bottom:4px;display:grid}.notes-workspace-feed,.notes-workspace-composer{border:1px solid var(--line-cool);background:var(--surface);box-shadow:0 1px 2px rgba(var(--brand-deep-rgb), .04);border-radius:12px}.notes-workspace-feed{background:linear-gradient(180deg, var(--surface-cool) 0%, var(--surface) 48%);gap:12px;min-height:160px;max-height:min(42vh,360px);padding:14px;display:grid;overflow:hidden}.notes-feed-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.notes-feed-title{color:var(--brand-deep);font-size:.86rem;font-weight:800}.notes-feed-count{background:var(--brand-soft);border:1px solid var(--line-ice);min-height:26px;color:var(--brand-deep);border-radius:999px;align-items:center;padding:0 10px;font-size:.75rem;font-weight:700;display:inline-flex}.notes-empty-state{text-align:center;background:var(--surface-cloud);border:1.5px dashed #d5e4e9;border-radius:12px;flex:1;align-content:center;justify-items:center;gap:8px;min-height:120px;padding:28px 16px;display:grid}.notes-empty-state.is-compact{min-height:96px;padding:18px 14px}.notes-empty-icon{background:var(--brand-soft);width:44px;height:44px;color:var(--brand-deep);border:1px solid var(--line-ice);border-radius:12px;place-items:center;display:inline-grid}.notes-empty-state strong{color:var(--brand-deep);font-size:.95rem;font-weight:800}.notes-empty-state p{max-width:280px;color:var(--muted);margin:0;font-size:.82rem;line-height:1.5}.notes-workspace-composer{background:linear-gradient(180deg, var(--surface) 0%, var(--brand-soft) 100%);padding:14px}.notes-workspace-composer.is-inline{box-shadow:none;background:0 0;border:0;padding:0}.notes-feed-meta{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:inline-flex}.notes-unread-pill{background:var(--amber-soft);min-height:26px;color:var(--amber);border:1px solid #b453092e;border-radius:999px;align-items:center;padding:0 10px;font-size:.74rem;font-weight:800;display:inline-flex}.notes-composer-head{color:var(--brand-deep);justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:10px;font-size:.86rem;font-weight:800;display:flex}.notes-composer-head small{color:var(--muted);font-size:.76rem;font-weight:600}.notes-modal-list{gap:12px;max-height:min(34vh,280px);margin-bottom:0;padding-inline-end:2px;display:grid;overflow:auto}.notes-modal-box{margin-bottom:16px}.notes-workspace-feed .notes-modal-list{padding-bottom:2px;scrollbar-width:thin;max-height:min(46vh,420px);padding-inline-start:4px;overflow:auto}.notes-inline-box .notes-modal-list{max-height:220px}.app-main-boot{box-sizing:border-box;place-items:center;min-height:min(70vh,640px);padding:28px 24px;display:grid}.app-shell.is-booting .app-main{align-items:center;display:grid}@media (width<=760px){.tasks-table tbody tr{column-gap:0}.tasks-table .progress-bar{max-width:none}.projects-table tbody tr.project-row{gap:10px 0;padding:14px}}@media (width<=320px){.projects-table tbody tr.project-row{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"name name""status status""dates working""progress tasks""actions actions"}.projects-panel .projects-table .cell-project-name{padding-bottom:2px;padding-inline-end:0}.projects-panel .projects-table .cell-project-status{place-self:start;padding-top:0;padding-bottom:2px}.projects-table .status-stack{justify-content:flex-start}.projects-table .cell-title{font-size:1.02rem}.tasks-table tbody tr{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"name name""dates working""progress assignees""actions actions"}.tasks-table .cell-task-level,.tasks-table .cell-task-status{display:none}}.topbar-session{min-width:0;height:var(--topbar-h,40px);background:var(--surface);border:1px solid var(--line);box-sizing:border-box;box-shadow:0 1px 2px rgba(var(--brand-deep-rgb), .04);border-radius:10px;align-items:stretch;gap:0;padding:0;display:flex;overflow:hidden}.topbar-user{align-items:center;gap:8px;min-width:0;max-width:190px;height:auto;padding-inline:8px 12px;display:flex}.topbar-user-name{color:var(--brand-deep);text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:.82rem;font-weight:700;line-height:1.2;overflow:hidden}.topbar-session-sep{background:var(--line);flex:none;width:1px;margin-block:7px}.topbar-session .topbar-logout{height:auto;min-height:0;font:inherit;color:var(--muted);cursor:pointer;box-shadow:none;background:0 0;border:0;border-radius:0;flex:none;align-self:stretch;margin:0;padding-inline:14px;font-size:.8rem;font-weight:700;transition:background .15s,color .15s}.topbar-session .topbar-logout:hover{background:var(--brand-soft);color:var(--brand-deep);box-shadow:none}.topbar-session .topbar-logout:focus-visible{outline:2px solid rgba(var(--brand-deep-rgb), .35);outline-offset:-2px}@media (width<=760px){.app-shell,.app-shell.is-project-focus{padding:0}.app-main,.app-shell.is-project-focus .app-main,.app-shell:not(.is-sidebar-open) .app-main{padding:8px 8px max(12px, env(safe-area-inset-bottom,0px))}.app-header,.app-shell:not(.is-sidebar-open) .app-header{padding-inline:8px;padding-bottom:6px;padding-top:max(6px, env(safe-area-inset-top,0px))}}.legal-create.panel{box-shadow:none;background:0 0;border:0;border-radius:0;gap:18px;padding:0;display:grid;overflow:visible;container:legal-create/inline-size}.legal-create.panel:before{content:none}.legal-create-hero{background:#fff;border:1px solid #eadfc4;border-radius:14px;justify-content:flex-start;align-items:center;gap:20px;min-width:0;min-height:78px;padding:14px 18px;display:flex;box-shadow:0 1px 2px #1c19140a}.legal-create-back{height:40px;color:var(--brand-deep);font:inherit;white-space:nowrap;cursor:pointer;background:#fbf8f1;border:1px solid #e4d8be;border-radius:10px;flex:none;justify-content:center;align-items:center;gap:6px;margin:0;padding-inline:14px 12px;font-size:.84rem;font-weight:800;line-height:1;transition:border-color .16s,background .16s;display:inline-flex}.legal-create-back svg{width:16px;height:16px}html[dir=ltr] .legal-create-back svg{transform:scaleX(-1)}.legal-create-back:hover{border-color:var(--brand-line);background:#f7f1dc}.legal-create-back:focus-visible{border-color:var(--brand);box-shadow:0 0 0 3px rgba(var(--brand-rgb), .2);outline:none}.legal-create-heading{text-align:start;gap:2px;min-width:0;display:grid}.legal-create-heading h1{color:var(--brand-deep);letter-spacing:-.01em;margin:0;font-size:1.28rem;font-weight:800;line-height:1.25}.legal-create-heading p{color:var(--muted);margin:0;font-size:.9rem;font-weight:600;line-height:1.5}.legal-create-form{gap:16px;min-width:0;display:grid}.legal-create-section{background:#fffdf8;border:1px solid #eadfc4;border-radius:14px;gap:14px;min-width:0;padding:16px;display:grid}.legal-create-sheet{background:#fff;border:1px solid #eadfc4;border-radius:14px;gap:0;min-width:0;padding:18px 18px 8px;display:grid}.legal-create-sheet-head h2{color:#1c1914;margin:0;font-size:1.05rem;font-weight:800;line-height:1.3}.legal-create-block{border-top:1px solid #efe6d4;gap:14px;min-width:0;padding:16px 0;display:grid}.legal-create-sheet>.legal-create-block:first-of-type{border-top:0}.legal-create-section-head{align-items:flex-start;gap:10px;min-width:0;display:flex}.legal-create-section-head em{background:var(--brand);color:#1c1914;border-radius:999px;flex:none;place-items:center;width:28px;height:28px;margin:0;font-size:.82rem;font-style:normal;font-weight:800;display:grid}.legal-create-section-head h2{color:#1c1914;margin:0;font-size:1rem;font-weight:800;line-height:1.3}.legal-create-section-head p{color:var(--muted);margin:2px 0 0;font-size:.82rem;font-weight:600;line-height:1.45}.legal-create-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 16px;min-width:0;display:grid}.legal-create-span{grid-column:1/-1}.legal-create-field{align-content:start;align-self:start;gap:6px;min-width:0;display:grid}.legal-create-field>label,.legal-create-field-label,.legal-create-field-label>span{color:#6f664f;font-size:.82rem;font-weight:700}.legal-create-field-label{justify-content:flex-start;align-items:baseline;gap:8px;min-width:0;display:flex}.legal-create-field-label>span{min-width:0}.legal-create-req{color:#c43b55;margin-inline-end:4px;font-style:normal}.legal-create-field input,.legal-create-field textarea,.legal-create .ui-select-trigger{background:var(--surface);box-sizing:border-box;color:#1c1914;width:100%;height:auto;min-height:44px;font:inherit;border:1px solid #e6decc;border-radius:12px;font-size:.9rem;font-weight:600}.legal-create .ui-select-trigger{color:#b08d32;font-weight:700}.legal-create-field input{padding:0 14px}.legal-create-field input::placeholder,.legal-create-field textarea::placeholder,.legal-create .ui-select-trigger .is-placeholder{color:#b3aa96;font-weight:600}.legal-create-field input:focus,.legal-create-field textarea:focus,.legal-create .ui-select.is-open .ui-select-trigger{border-color:var(--brand);box-shadow:0 0 0 3px rgba(var(--brand-rgb), .16);outline:none}.legal-create .legal-create-field textarea{resize:none;field-sizing:fixed;min-height:44px;padding:10px 14px;line-height:1.5;display:block;overflow:hidden}.legal-create-field.is-invalid input,.legal-create-field.is-invalid .ui-select-trigger{border-color:#e7a8b4;box-shadow:0 0 0 3px #c43b551f}.legal-create-error{color:#9f2940;white-space:nowrap;flex:none;font-size:.75rem;font-weight:700}.legal-create-client{background:var(--cream-bright);border:1px solid #eadfc4;border-radius:12px;gap:12px;padding:14px;display:grid}.legal-create-client header h3{color:#1c1914;margin:0;font-size:.95rem;font-weight:800}.legal-create-client header p{color:#6f664f;margin:4px 0 0;font-size:.8rem;font-weight:600;line-height:1.5}.legal-create-privacy{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.legal-create-privacy button{background:var(--surface);color:#6f664f;height:auto;min-height:44px;font:inherit;cursor:pointer;border:1px solid #e6decc;border-radius:12px;margin:0;padding:8px 10px;font-size:.86rem;font-weight:800}.legal-create-privacy button.is-on{border-color:var(--brand);color:var(--brand-deep);background:#fbf6e6}.legal-create-privacy button.is-secret.is-on{color:#c43b55;background:#fff6f7;border-color:#e7a8b4}.legal-create .date-field-wrap,.legal-create .date-field-shell,.legal-create .react-datepicker__input-container{width:100%;height:44px;min-height:44px}.legal-create .date-field-input{background:var(--surface);border-color:#e6decc;border-radius:12px;height:44px;min-height:44px}.legal-create-field.is-invalid .date-field-input{border-color:#e7a8b4;box-shadow:0 0 0 3px #c43b551f}.legal-create-notes{gap:12px;min-width:0;display:grid}.legal-create-upload{justify-items:end;gap:10px;display:grid}.legal-create-upload-btn{background:var(--surface);color:#1c1914;cursor:pointer;border:1px solid #e4dcc8;border-radius:10px;justify-content:center;align-items:center;gap:8px;min-height:40px;margin:0;padding:0 14px;font-size:.86rem;font-weight:800;display:inline-flex;position:relative}.legal-create-upload-btn input{opacity:0;cursor:pointer;width:100%;height:100%;margin:0;font-size:0;position:absolute;inset:0}.legal-create-upload-btn svg{flex:none;width:16px;height:16px}.legal-create-upload-btn:hover{border-color:var(--brand-line);background:var(--cream)}.legal-create-files{flex-wrap:wrap;gap:10px;width:100%;margin:0;padding:0;list-style:none;display:flex}.legal-file{background:#fff;border:1px solid #eadfc4;border-radius:14px;grid-template-rows:auto;gap:6px;width:118px;max-width:100%;margin:0;padding:8px;display:grid;position:relative;box-shadow:0 1px 2px #1c19140a}.legal-file img,.legal-file-mark{border-radius:10px;width:100%;height:84px}.legal-file img{object-fit:cover;background:#f7f1dc;display:block}.legal-file-mark{color:var(--brand-deep);background:#f7f1dc;place-items:center;display:grid;position:relative}.legal-file.is-pdf .legal-file-mark{color:#c43b55;background:#fff1f3}.legal-file.is-doc .legal-file-mark{color:#2b5f93;background:#eef4fb}.legal-file.is-sheet .legal-file-mark{color:#1f7a45;background:#eef8f1}.legal-file-mark svg{width:34px;height:34px}.legal-file-mark em{color:inherit;letter-spacing:.04em;background:#fff;border-radius:5px;margin:0;padding:1px 5px;font-size:.62rem;font-style:normal;font-weight:800;line-height:1.4;position:absolute;inset-block-end:10px}.legal-file-name{color:#1c1914;text-align:center;text-overflow:ellipsis;white-space:nowrap;font-size:.72rem;font-weight:700;line-height:1.35;overflow:hidden}.legal-file.is-busy{opacity:.7}.legal-file-open{width:100%;color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;grid-template-rows:84px auto;gap:6px;margin:0;padding:0;display:grid}.legal-file-actions{justify-content:center;gap:4px;display:flex}.legal-file-actions button{height:24px;color:var(--brand-deep);font:inherit;cursor:pointer;background:#fff;border:1px solid #eadfc4;border-radius:999px;padding:0 6px;font-size:.66rem;font-weight:800}.legal-file-actions button.is-delete{color:#8d2f2f;border-color:#e7c8c2}.legal-file-actions button.is-delete:hover:not(:disabled){background:#fdf4f2;border-color:#8d2f2f}.legal-file-actions button:disabled{cursor:wait}.legal-doc-notes-list{gap:10px;width:100%;display:grid}.legal-doc-notes{background:#fffdf8;border:1px solid #eadfc4;border-radius:12px;gap:8px;padding:10px;display:grid}.legal-doc-notes h3,.legal-doc-notes-label{margin:0}.legal-doc-notes h3{color:#1c1914;font-size:.84rem;font-weight:800}.legal-doc-notes-label,.legal-doc-notes-empty{color:#8a8170;font-size:.74rem;font-weight:700}.legal-doc-notes ul{gap:8px;margin:0;padding:0;list-style:none;display:grid}.legal-doc-notes li{gap:2px;display:grid}.legal-doc-notes li strong{color:#1c1914;font-size:.78rem}.legal-doc-notes li p{color:#1c1914;white-space:pre-wrap;margin:0;font-size:.84rem;line-height:1.5}.legal-file-remove{z-index:1;color:#fff;cursor:pointer;background:#1c1914b8;border:0;border-radius:999px;place-items:center;width:20px;height:20px;margin:0;padding:0;display:grid;position:absolute;inset-block-start:12px;inset-inline-end:12px}.legal-file-remove svg{width:11px;height:11px}.legal-file-remove:hover{background:#c43b55}.legal-create-actions{justify-content:flex-end;gap:8px;padding-top:4px;display:flex}.legal-create-cancel,.legal-create-save{height:42px;font:inherit;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;margin:0;padding:0 16px;font-size:.88rem;font-weight:800;display:inline-flex}.legal-create-cancel{background:var(--surface);color:#1c1914;border:1px solid #e6decc}.legal-create-save{color:var(--surface);background:#1b2430;border:1px solid #1b2430}.legal-create-save:hover{background:#121820}@container legal-create (width<=900px){.legal-create-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@container legal-create (width<=680px){.legal-create.panel{gap:12px}.legal-create-hero{flex-direction:column;align-items:stretch;gap:10px;padding:12px}.legal-create-heading{text-align:center;justify-items:center}.legal-create-heading h1{white-space:nowrap;font-size:clamp(.98rem,4.6vw,1.12rem)}.legal-create-heading p,.legal-create-section-head p{font-size:.78rem}.legal-create-back{width:100%}.legal-create-section{gap:12px;padding:12px}.legal-create-sheet{padding:14px 12px 4px}.legal-create-block{gap:12px;padding:14px 0}.legal-create-grid{grid-template-columns:1fr;gap:12px}.legal-create-actions{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.legal-create-cancel,.legal-create-save,.legal-create-upload-btn{width:100%;padding-inline:8px}}.matter-detail{text-align:start;gap:14px;min-width:0;display:grid;container:matter-detail/inline-size}.matter-detail-time{white-space:nowrap;unicode-bidi:isolate;display:inline-block}.matter-detail-hero{background:#fff;border:1px solid #eadfc4;border-radius:14px;justify-content:space-between;align-items:center;gap:20px;min-width:0;min-height:78px;padding:14px 18px;display:flex;box-shadow:0 1px 2px #1c19140a}.matter-detail-hero-main{align-items:center;gap:20px;min-width:0;display:flex}.matter-detail-actions{flex:none;align-items:center;gap:8px;display:flex}.matter-detail-actions .legal-matter-decide{border-radius:10px;height:40px;min-height:40px;padding-inline:16px;font-size:.84rem}.matter-detail-update{border-radius:10px;flex:none;height:40px;padding-inline:16px;font-size:.84rem;font-weight:800}.matter-detail-layout{grid-template-columns:minmax(0,1fr) minmax(280px,340px);align-items:start;gap:14px;min-width:0;display:grid}.matter-detail-main,.matter-detail-side{gap:14px;min-width:0;display:grid}.matter-detail-card{background:#fff;border:1px solid #eadfc4;border-radius:16px;gap:18px;min-width:0;padding:18px 20px;display:grid}.case-work-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.case-work-head h2{margin:0}.case-work-head>button,.case-work-row-actions button,.case-work-actions button{height:34px;color:var(--brand-deep);font:inherit;cursor:pointer;background:#fff;border:1px solid #eadfc4;border-radius:999px;padding:0 12px;font-size:.78rem;font-weight:800}.case-work-head>button,.case-work-actions .is-primary{background:var(--brand-deep);color:#fff;border-color:#0000}.case-work-form{background:#fffdf8;border:1px solid #f3ecdf;border-radius:14px;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 14px;padding:14px;display:grid}.case-work-form>label{gap:6px;min-width:0;display:grid}.case-work-form>label.is-wide,.case-work-actions{grid-column:1/-1}.case-work-form>label span{color:#8d8374;font-size:.75rem;font-weight:800}.case-work-form input,.case-work-form select,.case-work-form textarea{color:#1c1914;width:100%;min-height:40px;font:inherit;background:#fff;border:1px solid #eadfc4;border-radius:10px;padding:8px 12px;font-size:.88rem}.case-work-form textarea{resize:vertical;min-height:72px}.case-work-form input:focus,.case-work-form select:focus,.case-work-form textarea:focus{border-color:#c4a35a;outline:none;box-shadow:0 0 0 3px #c4a35a29}.case-work-actions,.case-work-row-actions{justify-content:flex-start;gap:8px;display:flex}.case-work-list{gap:8px;margin:14px 0 0;padding:0;list-style:none;display:grid}.case-work-list li{background:#fffdf8;border:1px solid #f3ecdf;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;padding:12px;display:flex}.case-work-list li.is-done{opacity:.72}.case-work-list li.is-overdue{background:#fff8f8;border-color:#f0d0d0}.case-work-list strong,.case-work-list span,.case-work-list time{display:block}.case-work-list strong{color:#1c1914;font-size:.92rem;font-weight:800}.case-work-list span,.case-work-list time{color:#8d8374;margin-top:3px;font-size:.78rem;font-weight:700}.case-work-list time{min-width:132px;color:var(--brand-deep);flex:none}.case-work-list li.is-overdue strong{color:#9b3a3a}.work-people{position:relative}.work-people-box{cursor:pointer;background:#fff;border:1px solid #eadfc4;border-radius:10px;justify-content:space-between;align-items:center;gap:8px;min-height:40px;padding:6px 10px;display:flex}.work-people.is-open .work-people-box,.work-people-box:focus-visible{border-color:#c4a35a;outline:none;box-shadow:0 0 0 3px #c4a35a29}.work-people-box>svg{width:16px;height:16px;color:var(--brand-deep);flex:none}.work-people-placeholder{color:#8d8374;font-size:.88rem;font-weight:700}.work-people-chips{flex-wrap:wrap;gap:6px;min-width:0;display:flex}.work-people-chip{color:#1c1914;background:#f6efe2;border-radius:999px;align-items:center;gap:6px;max-width:100%;height:28px;padding:0 4px 0 2px;display:inline-flex}.work-people-chip em,.work-people-panel button em{width:22px;height:22px;color:var(--brand-deep);background:#fff;border-radius:999px;flex:none;place-items:center;font-size:.62rem;font-style:normal;font-weight:800;display:grid}.work-people-chip span{text-overflow:ellipsis;white-space:nowrap;font-size:.75rem;font-weight:800;overflow:hidden}.work-people-chip button{color:#8d8374;width:18px;height:18px;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:999px;padding:0;font-size:.9rem;line-height:1}.work-people-chip button:hover{color:#1c1914;background:#eadfc4}.work-people-panel{z-index:8;top:calc(100% + 6px);background:#fff;border:1px solid #eadfc4;border-radius:14px;width:min(420px,100%);padding:8px;position:absolute;inset-inline-start:0;box-shadow:0 18px 40px #1c191424}.work-people-panel input{background:#fffdf8;border-radius:10px;min-height:36px;margin-bottom:6px}.work-people-panel ul{max-height:240px;margin:0;padding:0;list-style:none;overflow:auto}.work-people-panel li button{color:#1c1914;width:100%;min-height:40px;font:inherit;text-align:start;cursor:pointer;background:0 0;border:0;border-radius:10px;align-items:center;gap:8px;padding:6px 8px;font-size:.86rem;font-weight:800;display:flex}.work-people-panel li button span{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.work-people-panel li button i{background:#fff;border:1.5px solid #eadfc4;border-radius:4px;flex:none;width:16px;height:16px}.work-people-panel li button.is-on,.work-people-panel li button:hover{background:#f7f1e6}.work-people-panel li button.is-on i{border-color:var(--brand-deep);background-color:var(--brand-deep);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.2 6.4 11l6.1-6.2' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:12px}.work-people-panel button em{background:#f6efe2;width:28px;height:28px;font-size:.68rem}.work-people-empty{color:#8d8374;text-align:center;padding:12px 8px;font-size:.82rem;font-weight:700}.work-select,.work-when{position:relative}.work-select.is-open,.work-when.is-open{z-index:30}.work-select>button,.work-when>button{color:#1c1914;width:100%;min-height:40px;font:inherit;cursor:pointer;background:#fff;border:1px solid #eadfc4;border-radius:10px;justify-content:space-between;align-items:center;gap:8px;padding:8px 12px;font-size:.88rem;font-weight:700;display:flex}.work-select>button svg,.work-when>button svg{width:16px;height:16px;color:var(--brand-deep);flex:none}.work-select.is-open>button,.work-when.is-open>button,.work-select>button:focus-visible,.work-when>button:focus-visible{border-color:#c4a35a;outline:none;box-shadow:0 0 0 3px #c4a35a29}.work-when>button .is-empty{color:#8d8374;font-weight:700}.work-select ul,.work-when-panel{z-index:30;top:calc(100% + 6px);background:#fff;border:1px solid #eadfc4;border-radius:12px;width:100%;margin:0;padding:6px;list-style:none;position:absolute;inset-inline-start:0;box-shadow:0 16px 36px #1c19141f}.work-select ul{max-height:240px;overflow:auto}.work-select li button{color:#1c1914;width:100%;min-height:36px;font:inherit;text-align:start;cursor:pointer;background:0 0;border:0;border-radius:8px;padding:8px 10px;font-size:.86rem;font-weight:800}.work-select li button.is-active,.work-select li button:hover{color:var(--brand-deep);background:#f7f1e6}.work-when-panel{border-radius:16px;width:min(300px,100vw - 32px);padding:14px 14px 12px;box-shadow:0 18px 40px #1c191429}.work-when-nav,.work-when-foot,.work-when-time{justify-content:space-between;align-items:center;gap:8px;display:flex}.work-when-nav strong{color:var(--brand-deep);font-size:.86rem}.work-when-nav button,.work-when-foot button{height:30px;color:var(--brand-deep);font:inherit;cursor:pointer;background:#f7f1e6;border:0;border-radius:999px;padding:0 10px;font-size:.78rem;font-weight:800}.work-when-week,.work-when-days{grid-template-columns:repeat(7,1fr);gap:2px;margin-top:8px;display:grid}.work-when-week span,.work-when-days button,.work-when-days>span{place-items:center;height:30px;font-size:.75rem;font-weight:800;display:grid}.work-when-week span{color:#8d8374}.work-when-days button{color:#1c1914;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:8px}.work-when-days button.is-today{color:var(--brand-deep);box-shadow:inset 0 0 0 1.5px #c4a35a}.work-when-days button.is-active{background:var(--brand-deep);box-shadow:none;color:#fff}.work-when-time{border-top:1px solid #f0e6d2;justify-content:center;align-items:flex-end;gap:8px;margin-top:12px;padding-top:12px}.work-when-time label{justify-items:center;gap:4px;display:grid}.work-when-time label span{color:#8d8374;letter-spacing:.01em;font-size:.68rem;font-weight:800}.work-when-time input{color:#1c1914;width:64px;min-height:40px;font:inherit;text-align:center;background:#fffdf8;border:1px solid #eadfc4;border-radius:12px;padding:0;font-size:1.05rem;font-weight:800}.work-when-time input:focus{border-color:#c4a35a;outline:none;box-shadow:0 0 0 3px #c4a35a2e}.work-when-time em{color:var(--brand-deep);align-self:center;margin-bottom:6px;font-size:1.1rem;font-style:normal;font-weight:800}.work-when-period{background:#fffdf8;border:1px solid #eadfc4;border-radius:12px;align-self:end;display:grid;overflow:hidden}.work-when-period button{color:#8d8374;min-width:42px;height:20px;font:inherit;cursor:pointer;background:0 0;border:0;padding:0 8px;font-size:.68rem;font-weight:800}.work-when-period button.is-on{background:var(--brand-deep);color:#fff}.work-when-foot{margin-top:10px}.case-work-empty{color:#8d8374;text-align:center;margin:0;padding:8px 0 2px;font-size:.86rem;font-weight:700}@media (width<=720px){.case-work-form{grid-template-columns:1fr}}.matter-detail-card h2{color:var(--brand-deep);margin:0;font-size:1.02rem;font-weight:800}.matter-detail-group{gap:2px;display:grid}.matter-detail-group+.matter-detail-group{border-top:1px solid #f3ecdf;padding-top:14px}.matter-detail-group h3{color:#8a7350;margin:0 0 6px;font-size:.75rem;font-weight:800}.matter-detail-facts{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:36px;display:grid}.matter-detail-facts div,.matter-detail-meta div{background:0 0;border-bottom:1px solid #f6f1e6;grid-template-columns:108px minmax(0,1fr);align-items:center;gap:12px;min-width:0;min-height:42px;padding:6px 0;display:grid}.matter-detail-facts span,.matter-detail-meta span,.matter-detail-docs span,.matter-detail-assigns span,.matter-detail-notes span{color:#9a907f;font-size:.72rem;font-weight:700}.matter-detail-facts strong,.matter-detail-meta strong{color:#1c1914;overflow-wrap:anywhere;font-size:.9rem;font-weight:750;line-height:1.45}.matter-detail-chip{border-radius:999px;justify-self:start;width:fit-content;max-width:100%;padding:2px 8px;font-size:.78rem;font-weight:800}.matter-detail-chip.is-active{color:#2f6b3a;background:#eef6ea}.matter-detail-chip.is-hold,.matter-detail-chip.is-mid{color:#8a6230;background:#f8f1df}.matter-detail-chip.is-closed,.matter-detail-chip.is-low{color:#6d675f;background:#f3f1ee}.matter-detail-chip.is-high{color:#9a3d3d;background:#fdeeee}.matter-detail-notes{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:36px;display:grid}.matter-detail-notes div{background:0 0;border-bottom:1px solid #f6f1e6;align-content:start;gap:4px;min-width:0;padding:10px 0 12px;display:grid}.matter-detail-notes div:nth-child(n+3){grid-column:1/-1}.matter-detail-notes p{color:#2c2822;margin:0;font-size:.92rem;font-weight:650;line-height:1.85}.matter-timeline{margin:0;padding:0;list-style:none;display:grid}.matter-timeline li{grid-template-columns:18px minmax(0,1fr);column-gap:12px;display:grid}.matter-timeline li>i{background:#fff;border:2px solid #c4a35a;border-radius:50%;justify-self:center;width:11px;height:11px;margin-top:5px;position:relative}.matter-timeline li>i:after{content:"";background:#eadfc4;width:1px;position:absolute;top:13px;bottom:-18px;left:50%;transform:translate(-50%)}.matter-timeline li:last-child>i:after{display:none}.matter-timeline li.is-opened>i{background:#2f6b3a;border-color:#2f6b3a}.matter-timeline li.is-status>i{background:#8a6230;border-color:#8a6230}.matter-timeline li.is-uploaded>i,.matter-timeline li.is-comment>i{border-color:#6d7c90}.matter-timeline-body{gap:4px;min-width:0;padding-bottom:18px;display:grid}.matter-timeline-top{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.matter-timeline-top strong{color:#1c1914;font-size:.92rem;font-weight:800}.matter-timeline time,.matter-timeline-body>span{color:#8a8170;font-size:.78rem;font-weight:700}.matter-timeline time{flex:none}.matter-timeline p{color:#3f3a32;flex-wrap:wrap;align-items:center;gap:6px;margin:0;font-size:.86rem;font-weight:650;line-height:1.6;display:flex}.matter-timeline-files{flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none;display:flex}.matter-timeline-files li{color:#6f664f;overflow-wrap:anywhere;background:#fbf6ea;border-radius:999px;max-width:100%;padding:4px 10px;font-size:.78rem;font-weight:700}.matter-timeline p em{color:#c4a35a;font-style:normal;font-weight:800}.matter-timeline-empty{color:#8a8170;margin:0;font-size:.88rem;font-weight:700}.matter-detail-docs,.matter-detail-assigns{gap:12px;margin:0;padding:0;list-style:none;display:grid}.matter-doc-card{background:#fff;border:1px solid #eadfc4;border-radius:16px;min-width:0;display:grid}.matter-doc-card.is-busy{opacity:.72}.matter-detail-doc{background:#fff;grid-template-columns:minmax(0,1fr);align-items:stretch;gap:10px;width:100%;min-width:0;margin:0;padding:12px;display:grid}.matter-detail-doc-open{min-width:0;color:inherit;font:inherit;text-align:start;cursor:pointer;background:0 0;border:0;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:12px;margin:0;padding:2px;display:grid}.matter-detail-doc-open:disabled,.matter-detail-doc-actions button:disabled{cursor:wait}.matter-doc-card:hover{border-color:#d7c394}.matter-detail-doc-open em{color:#8a8170;text-overflow:ellipsis;white-space:nowrap;font-size:.72rem;font-style:normal;font-weight:700;overflow:hidden}.matter-detail-doc-actions{flex-flow:wrap;gap:6px;display:flex}.matter-detail-doc-actions button{min-width:0;height:32px;color:var(--brand-deep);font:inherit;cursor:pointer;background:#fff;border:1px solid #eadfc4;border-radius:999px;flex:96px;padding:0 12px;font-size:.74rem;font-weight:800}.matter-detail-doc-actions button:hover:not(:disabled){background:#f7f1e6;border-color:#c4a35a}.matter-detail-doc-actions button.is-delete{color:#8d2f2f;border-color:#e7c8c2}.matter-detail-doc-actions button.is-delete:hover:not(:disabled){background:#fdf4f2;border-color:#8d2f2f}.matter-detail-doc-notes{background:#fbf8f1;border-top:1px solid #f0e6d2;gap:10px;margin:0;padding:12px;display:grid}.matter-detail-doc-notes header{justify-content:space-between;align-items:center;gap:8px;display:flex}.matter-detail-doc-notes h3{color:#6f664f;margin:0;font-size:.78rem;font-weight:800}.matter-detail-doc-notes header span{color:#8a6230;text-align:center;background:#fff;border-radius:999px;min-width:22px;height:22px;padding:0 6px;font-size:.72rem;font-weight:800;line-height:22px}.matter-detail-doc-notes ul{gap:8px;margin:0;padding:0;list-style:none;display:grid}.matter-detail-doc-notes li{background:#fff;border-radius:12px;gap:4px;min-width:0;padding:8px 10px;display:grid}.matter-detail-docs .matter-detail-doc-notes li div{justify-items:start;gap:2px;min-width:0;display:grid}.matter-detail-doc-notes strong{color:#1c1914;white-space:normal;text-overflow:unset;font-size:.78rem;overflow:visible}.matter-detail-doc-notes time,.matter-detail-doc-notes-empty{color:#8a8170;max-width:100%;font-size:.72rem;font-weight:700}.matter-detail-doc-notes p,.matter-detail-doc-notes-empty{margin:0}.matter-detail-doc-notes p{color:#1c1914;white-space:pre-wrap;overflow-wrap:anywhere;min-width:0;font-size:.84rem;font-weight:650;line-height:1.5}.matter-detail-doc-notes form,.legal-doc-notes form{grid-template-columns:minmax(0,1fr);justify-items:start;gap:8px;display:grid}.matter-detail-doc-notes textarea,.legal-doc-notes textarea{color:#1c1914;width:100%;min-width:0;min-height:44px;max-height:180px;font:inherit;field-sizing:content;resize:none;background:#fff;border:1px solid #eadfc4;border-radius:10px;padding:10px 12px;font-size:.82rem;line-height:1.5;overflow:auto}.matter-detail-doc-notes textarea:focus,.legal-doc-notes textarea:focus{border-color:#c4a35a;outline:none;box-shadow:0 0 0 3px #c4a35a33}.matter-detail-doc-notes button,.legal-doc-notes button{color:#fff;height:36px;font:inherit;cursor:pointer;background:#1b2430;border:1px solid #1b2430;border-radius:10px;padding:0 14px;font-size:.78rem;font-weight:800}.matter-detail-doc-notes button:disabled,.legal-doc-notes button:disabled{cursor:default;opacity:.55}.matter-detail-docs li .matter-detail-doc-open>span,.matter-detail-doc-open>span{gap:2px;min-width:0;display:grid}.matter-detail-docs strong,.matter-detail-assigns strong{color:#1c1914;text-overflow:ellipsis;white-space:nowrap;font-size:.86rem;font-weight:800;line-height:1.45;display:block;overflow:hidden}.matter-detail-docs i{width:42px;height:42px;color:var(--brand-deep);background:#f7f1dc;border-radius:10px;flex:none;place-items:center;display:grid;overflow:hidden}.matter-detail-docs i b{color:#8a6230;letter-spacing:.02em;font-size:.62rem;font-weight:800}.matter-detail-docs i img{object-fit:cover;width:100%;height:100%}.matter-file-preview{z-index:2400;background:#101820b8;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.matter-file-preview-panel{background:#fff;border-radius:16px;flex-direction:column;width:min(980px,100%);height:min(92vh,920px);max-height:calc(100vh - 40px);display:flex;overflow:hidden;box-shadow:0 24px 60px #00000047}.matter-file-preview-head{background:#fff;border-bottom:1px solid #e7dfd0;flex:none;justify-content:space-between;align-items:center;gap:12px;min-height:56px;padding-block:10px;padding-inline:16px 12px;display:flex}.matter-file-preview-head p{color:#1c1914;text-overflow:ellipsis;white-space:nowrap;min-width:0;margin:0;font-size:.95rem;font-weight:800;overflow:hidden}.matter-file-preview-close{color:#1c1914;cursor:pointer;background:#f4efe4;border:0;border-radius:10px;flex:none;place-items:center;width:36px;height:36px;margin:0;font-size:1.35rem;line-height:1;display:grid}.matter-file-preview-close:hover{background:#eadfc8}.matter-file-preview-stage{background:#ece7dc;flex:1;justify-content:center;align-items:center;min-height:0;padding:16px;display:flex}.matter-file-preview-stage iframe{background:#fff;border:0;border-radius:8px;width:100%;height:100%}.matter-file-preview-stage img{object-fit:contain;background:#fff;border-radius:8px;max-width:100%;max-height:100%}.matter-file-preview-foot{background:#fff;border-top:1px solid #e7dfd0;flex:none;justify-content:center;padding:12px 16px 16px;display:flex}.matter-file-preview-download{color:#1c1914;min-height:40px;font:inherit;cursor:pointer;background:#c4a35a;border:0;border-radius:999px;padding:0 18px;font-size:.84rem;font-weight:800}.matter-file-preview-download:hover{background:#b8954e}.matter-detail-docs svg,.matter-detail-upload svg{width:16px;height:16px}.matter-detail-upload{color:#1c1914;cursor:pointer;background:#fff;border:1px solid #e4dcc8;border-radius:10px;justify-content:center;justify-self:center;align-items:center;gap:8px;min-height:40px;margin:0;padding:0 14px;font-size:.84rem;font-weight:800;display:inline-flex;position:relative}.matter-detail-upload:hover{cursor:pointer;background:#fbf8f1;border-color:#c4a35a}.matter-detail-upload input{clip:rect(0, 0, 0, 0);pointer-events:none;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.matter-detail-assigns li{border:1px solid #eadfc4;background:#fff;border-inline-start:3px solid #c4a35a;border-radius:12px;gap:6px;padding:12px 14px;display:grid}.matter-detail-assigns p{color:#1c1914;flex-wrap:wrap;gap:6px;margin:0;font-size:.82rem;font-weight:800;display:flex}@container matter-detail (width<=980px){.matter-detail-layout{grid-template-columns:1fr}.matter-detail-facts,.matter-detail-notes{grid-template-columns:1fr;column-gap:0}.matter-detail-notes div:nth-child(n+3){grid-column:auto}}@container matter-detail (width<=680px){.matter-detail-facts,.matter-detail-meta{grid-template-columns:1fr}.matter-detail-hero,.matter-detail-hero-main{flex-direction:column;align-items:stretch;gap:10px}.matter-detail-hero{padding:12px}.matter-detail-update{justify-content:center;width:100%}.matter-detail-actions{flex-direction:column;align-items:stretch}.legal-create-back{width:100%}.matter-detail-card{padding:12px}}.users-panel .users-table{table-layout:fixed;width:100%;min-width:0}.users-panel .users-table-wrap{width:100%;overflow:visible}.users-table .user-person{justify-items:center;gap:2px;min-width:0;display:grid}.users-table .user-person-role{color:var(--muted);font-size:.72rem;font-weight:600;line-height:1.3}.users-table .user-company-mark{justify-items:center;gap:0;min-width:0;display:grid}.users-table .user-company-logo{place-items:center;width:36px;height:36px;display:grid}.users-table .user-company-logo img{object-fit:contain;width:100%;height:100%}.users-table .user-record{border:1px solid var(--line-mist);background:var(--surface-cool);border-radius:12px;justify-items:center;gap:6px;width:max-content;max-width:220px;margin-inline:auto;padding:8px 12px;display:grid}.users-table .user-record-value{letter-spacing:.03em;color:var(--brand-deep);font-size:.86rem;font-weight:700;line-height:1.3}.users-table .user-record-meta{flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;display:flex}.users-table .user-record-date{color:var(--muted);font-size:.75rem;font-weight:600;line-height:1.3}.users-panel .users-panel-hero{background:radial-gradient(90% 120% at 100% 0%, rgba(var(--brand-rgb), .08), transparent 55%), linear-gradient(145deg, var(--brand-soft) 0%, var(--bg-accent) 45%, var(--surface) 100%);border:1px solid var(--line);box-shadow:0 8px 22px rgba(var(--brand-deep-rgb), .05);border-radius:8px;margin:0 0 16px;padding:0;overflow:visible}.users-panel .users-panel-top{flex-wrap:wrap;align-items:center;gap:14px;padding:12px 16px;display:flex}.users-panel .users-panel-top h1{color:var(--brand-deep);white-space:nowrap;flex:none;margin:0;font-size:clamp(1.15rem,2vw,1.4rem);line-height:1.2}.users-panel .users-panel-filters{flex-wrap:nowrap;flex:none;align-items:center;gap:8px;min-width:0;margin:0;display:flex}.users-panel .users-panel-filters .status-tab{box-sizing:border-box;background:var(--surface);border-color:var(--line-cool);min-height:38px;box-shadow:0 1px 3px rgba(var(--brand-deep-rgb), .04);flex:none}.users-panel .users-panel-filters .status-tab.is-active{background:linear-gradient(145deg, var(--brand-mid) 0%, var(--brand-deep) 100%);border-color:var(--brand-deep);color:var(--surface);box-shadow:0 2px 8px rgba(var(--brand-deep-rgb), .2)}.users-panel .users-panel-filters .status-tab.is-active em{background:rgba(var(--surface-rgb), .22);color:var(--surface)}.users-panel .users-panel-filters .status-tab.is-active-tab.is-active{background:linear-gradient(145deg, #16a34a 0%, var(--success) 100%);border-color:var(--success)}.users-panel .users-panel-filters .status-tab.is-inactive-tab.is-active{background:linear-gradient(145deg, var(--rose-hot) 0%, var(--rose) 100%);border-color:var(--rose)}.users-panel .users-panel-actions{flex-wrap:wrap;flex:auto;justify-content:flex-end;align-items:center;gap:10px;margin-inline-start:auto;display:flex}.users-panel .users-panel-actions .panel-filter-select{flex:0 0 160px;min-width:148px;max-width:200px;display:block}.users-panel .users-panel-actions .panel-scope-filter{flex:0 240px;min-width:196px;max-width:280px;display:block}.users-panel .users-panel-actions .panel-scope-filter .ui-select-trigger{border-radius:12px;height:38px;min-height:38px}.users-panel .users-panel-actions .panel-filter-select.ui-select,.users-panel .users-panel-actions .panel-filter-select .ui-select{width:100%}.users-panel .users-panel-actions .panel-filter-select .ui-select-trigger{box-sizing:border-box;min-height:38px}.users-panel .users-panel-actions .search-input{background:var(--surface);box-sizing:border-box;border:1px solid var(--line-taupe);width:min(280px,36vw);min-width:180px;height:38px;min-height:38px;box-shadow:0 1px 2px rgba(var(--brand-deep-rgb), .04);border-radius:12px;margin:0;padding:0 14px}.users-panel .users-panel-actions .panel-action-btn{box-sizing:border-box;white-space:nowrap;min-height:38px;padding:8px 12px;font-size:.86rem;line-height:1.2}.users-panel .panel-filter-activity{display:none}.users-table-wrap{border-radius:14px}.users-panel .users-table th,.users-panel .users-table td{text-align:center;vertical-align:middle;padding:10px 8px}.users-panel:not(.customers-panel) .users-table thead th{color:var(--brand-deep);letter-spacing:0;border-bottom:1px solid var(--line);background:linear-gradient(#fbf8f1 0%,#f3efe3 100%);font-size:.78rem;font-weight:800}.users-panel .users-table th:first-child,.users-panel .users-table td:first-child{width:18%}.users-panel .users-table th:nth-child(2),.users-panel .users-table td:nth-child(2){width:26%}.users-panel .users-table th:nth-child(3),.users-panel .users-table td:nth-child(3){width:16%}.users-panel .users-table th:nth-child(4),.users-panel .users-table td:nth-child(4){width:12%}.users-panel .users-table th:nth-child(5),.users-panel .users-table td:nth-child(5){width:16%}.users-panel .users-table th:nth-child(6),.users-panel .users-table td:nth-child(6){width:12%}.users-panel .users-table .cell-title,.users-panel .users-table .user-person-role,.users-panel .users-table .user-email-link,.users-panel .users-table .user-phone-link{text-overflow:ellipsis;white-space:nowrap;max-width:100%;display:block;overflow:hidden}.users-table tbody tr{transition:background-color .15s}.users-table .user-email-link,.users-table .user-phone-link{margin-inline:auto}.users-table .user-status-cell{justify-content:center;display:flex}.users-table .row-actions{justify-content:center}@media (width<=960px){.users-panel .users-table-wrap{box-shadow:none;background:0 0;border:0;overflow:visible}.users-panel .users-table,.users-panel .users-table tbody{gap:10px;width:100%;min-width:0;display:grid}.users-panel .users-table thead{display:none}.users-panel .users-table tr{border:1px solid var(--line);background:var(--surface);box-shadow:0 8px 20px rgba(var(--brand-deep-rgb), .05);border-radius:14px;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"logo person actions""logo mail status""logo phone status";align-items:center;gap:6px 12px;padding:12px 14px;display:grid}.users-panel .users-table td,.users-panel .users-table td:nth-child(n){text-align:start;border:0;width:auto;min-width:0;max-width:none;padding:0;display:block}.users-panel .users-table td:before{content:none}.users-panel .users-table td:first-child{grid-area:person}.users-panel .users-table td:nth-child(2){grid-area:mail}.users-panel .users-table td:nth-child(3){grid-area:phone}.users-panel .users-table td:nth-child(4){grid-area:logo}.users-panel .users-table td:nth-child(5){grid-area:status;justify-self:end}.users-panel .users-table td:nth-child(6){grid-area:actions;justify-self:end}.users-panel .users-table .user-person,.users-panel .users-table .user-company-mark,.users-panel .users-table .user-status-cell,.users-panel .users-table .row-actions{justify-content:flex-start;justify-items:start;margin-inline:0}.users-panel .users-table .cell-title,.users-panel .users-table .user-person-role,.users-panel .users-table .user-email-link,.users-panel .users-table .user-phone-link{white-space:normal;text-overflow:unset;overflow-wrap:anywhere;text-align:start;margin-inline:0;overflow:visible}}@media (width<=640px){.users-panel .users-table tr{grid-template-columns:auto minmax(0,1fr);grid-template-areas:"logo person""mail mail""phone phone""status actions";align-items:center}.users-panel .users-table td:nth-child(5){justify-self:start}.users-panel .users-table td:nth-child(6){justify-self:end}}.user-editor{box-sizing:border-box;gap:18px;width:100%;max-width:none;margin:0;padding:18px;display:grid}.user-editor-hero{border:1px solid var(--line-strong);background:linear-gradient(180deg, #fffdf8 0%, var(--surface) 78%);border-radius:14px;flex-wrap:wrap;align-items:center;gap:12px 16px;padding:12px 14px;display:flex}.user-editor-hero .role-editor-back{flex:none}.user-editor-title-wrap{flex:220px;gap:2px;min-width:0;display:grid}.user-editor-title-wrap h1{color:var(--brand-deep);margin:0;font-size:1.18rem;font-weight:800;line-height:1.25}.user-editor-title-wrap p{color:var(--muted);max-width:48ch;margin:0;font-size:.8rem;line-height:1.4}.user-editor-actions{flex:none;align-items:center;gap:8px;margin-inline-start:auto;display:inline-flex}.user-editor-actions .btn{border-radius:10px;justify-content:center;align-items:center;gap:8px;min-width:92px;min-height:38px;display:inline-flex}.user-editor-form{gap:14px;display:grid}.user-editor-section{border:1px solid var(--line-strong);background:var(--surface);border-radius:14px;gap:14px;padding:16px 18px 18px;display:grid;box-shadow:0 4px 14px #1c242a06}.user-editor-section-head{border-bottom:1px solid var(--line-soft);flex-wrap:wrap;align-items:center;gap:12px;padding-bottom:10px;display:flex}.user-editor-step{border:1px solid var(--line);width:28px;height:28px;color:var(--brand-deep);background:#f7f3ea;border-radius:8px;flex:0 0 28px;place-items:center;margin:0;font-size:.78rem;font-style:normal;font-weight:800;line-height:1;display:grid}.user-editor-section-heading,.user-editor-section-head>div:not(.user-editor-head-meta):not(.user-editor-section-heading){flex:auto;gap:2px;min-width:0;display:grid}.user-editor-head-meta{flex-wrap:wrap;align-items:center;gap:8px;margin-inline-start:auto;display:flex}.user-editor-meta-chip{border:1px solid var(--line);background:var(--paper);min-width:0;box-shadow:0 1px 2px rgba(var(--brand-deep-rgb), .04);border-radius:10px;flex-direction:column;align-items:flex-start;gap:2px;padding:6px 12px;display:inline-flex}.user-editor-meta-chip small{color:var(--muted);font-size:.7rem;font-weight:700;line-height:1.2}.user-editor-meta-chip strong{color:var(--brand-deep);white-space:nowrap;font-size:.84rem;font-weight:800;line-height:1.25}.user-editor-meta-chip.is-renewal{background:#f4faf6;border-color:#d7e8dc}.user-editor-meta-chip.is-soon{background:#fff8e8;border-color:#edd9a0}.user-editor-meta-chip.is-soon strong{color:#9a6b12}.user-editor-meta-chip.is-overdue{background:var(--danger-soft);border-color:#f0c4cb}.user-editor-meta-chip.is-overdue strong{color:var(--rose)}.user-editor-docs-block{border:1px solid var(--line-soft);background:#fcfbf8;border-radius:12px;gap:12px;padding:14px;display:grid}.user-editor-docs-block+.user-editor-docs-block{margin-top:2px}.user-editor-docs-block-head{flex-wrap:wrap;align-items:center;gap:10px 14px;display:flex}.user-editor-docs-block-head h3{color:var(--brand-deep);flex:auto;margin:0;font-size:.92rem;font-weight:800;line-height:1.25}.user-editor-renewal-alert{color:#7a5610;background:#fff8e8;border:1px solid #edd9a0;border-radius:10px;margin:0;padding:10px 12px;font-size:.8rem;font-weight:700;line-height:1.45}.user-editor-renewal-alert.is-overdue{background:var(--danger-soft);color:var(--rose-deep);border-color:#f0c4cb}.user-editor-field .date-field-shell,.user-editor-field .date-field-input{border-color:var(--line-sand);box-sizing:border-box;border-radius:11px;height:42px;min-height:42px}.user-editor-field .date-field-input{font-weight:600}.user-editor-field .ui-select-trigger{border-color:var(--line-sand);box-sizing:border-box;border-radius:11px;height:42px;min-height:42px}.user-editor-section-head h2{color:var(--brand-deep);margin:0;font-size:1rem;font-weight:800;line-height:1.25}.user-editor-section-head p{color:var(--muted);margin:0;font-size:.8rem;line-height:1.4}.user-editor-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px;display:grid}.user-editor-basics-body{gap:16px;display:grid}.user-editor-grid.user-editor-org-grid{border:1px solid var(--line-soft);background:#fcfbf8;border-radius:12px;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;padding:14px}.user-editor-grid.user-editor-contract-grid{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr) minmax(0,1fr);align-items:start}.user-editor-field{gap:8px;min-width:0;display:grid}.user-editor-field.is-wide{grid-column:1/-1}.user-editor-field label{color:var(--brand-deep);font-size:.82rem;font-weight:800}.user-editor-field input{box-sizing:border-box;border:1px solid var(--line-sand);background:var(--surface);width:100%;min-height:42px;color:var(--ink);font:inherit;border-radius:11px;padding:10px 14px;font-weight:600}.user-editor-field input:focus{border-color:var(--brand);box-shadow:0 0 0 3px rgba(var(--brand-rgb), .16);outline:none}.user-editor-summary{background:var(--paper);color:var(--muted);border-radius:10px;grid-column:1/-1;margin:0;padding:10px 12px;font-size:.82rem;line-height:1.55}.user-editor-access-body{gap:16px;display:grid}.user-editor-passwords{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px;display:grid}.user-editor-field-password{gap:8px}.user-editor .user-password-shell{border:1px solid var(--line-sand);background:var(--surface);box-sizing:border-box;width:100%;height:42px;min-height:42px;box-shadow:none;border-radius:11px;flex-direction:row;align-items:stretch;padding:0;transition:border-color .15s,box-shadow .15s;display:flex;overflow:hidden}.user-editor .user-password-shell:hover{border-color:#d4c7a8}.user-editor .user-password-shell:focus-within{border-color:var(--brand);box-shadow:0 0 0 3px rgba(var(--brand-rgb), .16)}.user-editor .user-password-shell input,.user-editor .user-editor-field-password .user-password-shell input,.user-editor .user-editor-field .user-password-shell input{width:auto;min-width:0;height:100%;min-height:0;max-height:none;color:var(--ink);font:inherit;text-align:start;letter-spacing:normal;flex:auto;margin:0;padding:0 14px;font-size:.92rem;font-weight:600;line-height:1.2;box-shadow:none!important;background:0 0!important;border:none!important;border-radius:0!important}.user-editor .user-password-shell input.is-ltr-value{text-align:left;unicode-bidi:plaintext}.user-editor .user-password-shell input.is-locale-value{text-align:start}.user-editor .user-password-shell.has-value:not(.is-revealed) input{letter-spacing:.14em}.user-editor .user-password-shell.is-revealed.has-value input{letter-spacing:normal}.user-editor .user-password-shell input::placeholder{letter-spacing:normal;opacity:.65;color:var(--muted);font-weight:500}.user-editor .user-password-shell input:focus{outline:none;box-shadow:none!important;border:none!important}.user-editor .user-password-toggle{color:#9aa3a8;cursor:pointer;background:0 0;border:none;border-radius:0;flex:0 0 42px;align-self:stretch;place-items:center;width:42px;height:auto;margin:0;padding:0;transition:color .15s,background .15s;display:grid}.user-editor .user-password-toggle:hover{color:var(--brand-deep);background:rgba(var(--brand-rgb), .1)}.user-editor .user-password-toggle[aria-pressed=true]{color:var(--brand-deep);background:rgba(var(--brand-rgb), .12)}.user-editor .user-password-toggle svg{display:block}.user-editor-status{border:1px solid var(--line-strong);background:linear-gradient(180deg, #fffdf8 0%, var(--paper) 100%);border-radius:12px;justify-content:space-between;align-items:center;gap:16px;padding:14px 16px;display:flex}.user-editor-section-access .user-editor-status{margin:0}.user-editor-status.is-active{background:linear-gradient(#f7fcf8 0%,#f4faf6 100%);border-color:#d7e8dc}.user-editor-status.is-inactive{background:linear-gradient(#fff8f8 0%,#fbf6f6 100%);border-color:#eadfdf}.user-editor-status-copy{flex-wrap:wrap;align-items:center;gap:6px 10px;min-width:0;display:flex}.user-editor-status-label{color:var(--brand-deep);font-size:.82rem;font-weight:800}.user-editor-status-copy p{color:var(--muted);flex:100%;margin:0;font-size:.8rem;line-height:1.4}.user-editor .scope-lock{border:1px solid var(--line-pearl);background:var(--paper);border-radius:11px;align-items:center;gap:10px;min-height:42px;padding:8px 12px;display:flex}.user-editor .scope-lock-logo{border:1px solid var(--line);background:var(--surface);border-radius:8px;flex:0 0 28px;place-items:center;width:28px;height:28px;padding:2px;display:grid;overflow:hidden}.user-editor .scope-lock-logo img{object-fit:contain;width:100%;height:100%}.user-editor .scope-lock-copy{gap:2px;min-width:0;display:grid}.user-editor .scope-lock-copy strong{color:var(--brand-deep);font-size:.9rem}.user-editor .scope-lock-copy em{color:var(--muted);font-size:.75rem;font-style:normal}@media (width<=860px){.user-editor{padding:14px}.user-editor-grid,.user-editor-passwords,.user-editor-grid.user-editor-contract-grid,.user-editor-grid.user-editor-org-grid{grid-template-columns:1fr}.user-editor-head-meta{width:100%;margin-inline-start:0}.user-editor-meta-chip{flex:auto}.user-editor-hero{align-items:stretch}.user-editor-hero .role-editor-back,.user-editor-title-wrap,.user-editor-actions{width:100%}.user-editor-actions{flex-direction:column;align-items:stretch;margin-inline-start:0}.user-editor-status{flex-direction:column;align-items:stretch}.user-editor-actions .btn{width:100%}.users-table .user-company-mark{justify-items:start}}.officials-panel{width:100%;max-width:none;margin:0}.officials-panel .officials-panel-hero{margin-bottom:14px}.officials-panel .officials-panel-top{align-items:center;gap:16px;min-height:0;padding:12px 16px}.officials-panel .officials-panel-top>h1{white-space:nowrap;align-self:center;margin:0;line-height:1.15}.officials-panel .officials-panel-actions{flex-wrap:wrap;flex:0 auto;justify-content:flex-end;align-items:center;gap:10px}.officials-panel .officials-panel-actions .search-input{border-color:var(--line-taupe);width:320px;min-width:min(220px,100%);max-width:100%;height:40px;min-height:40px;box-shadow:0 1px 2px rgba(var(--brand-deep-rgb), .04);box-sizing:border-box;border-radius:12px;flex:0 320px;padding:0 14px}.officials-panel .users-panel-filters{flex-wrap:wrap;gap:6px}.officials-panel .users-panel-filters .status-tab{border-radius:10px;min-width:0;min-height:40px;padding:6px 10px}.officials-panel .officials-panel-actions .panel-action-btn{min-height:40px;box-shadow:0 3px 10px rgba(var(--brand-deep-rgb), .16);border-radius:10px;padding-inline:16px;font-weight:800}.officials-panel .officials-panel-actions .panel-filter-select{flex:0 0 160px;min-width:148px;max-width:200px;display:block}.officials-panel .officials-panel-actions .panel-scope-filter{flex:0 0 172px;min-width:158px;max-width:220px;display:block}.officials-panel .officials-panel-actions .panel-scope-filter .ui-select-trigger{border-radius:11px;height:36px;min-height:36px;padding:0 12px;font-size:.84rem}.officials-panel .officials-panel-actions .panel-filter-select.ui-select,.officials-panel .officials-panel-actions .panel-filter-select .ui-select{width:100%}.officials-panel .officials-panel-actions .panel-filter-select .ui-select-trigger{box-sizing:border-box;min-height:36px}.officials-table-wrap{border:1px solid var(--line);background:var(--surface);width:100%;box-shadow:0 10px 28px rgba(var(--brand-deep-rgb), .05);border-radius:16px;overflow:visible}.officials-panel .officials-table{table-layout:fixed;width:100%;min-width:0}.officials-panel .officials-table th:first-child,.officials-panel .officials-table td:first-child{width:92px}.officials-panel .officials-table th:nth-child(2),.officials-panel .officials-table td:nth-child(2),.officials-panel .officials-table th:nth-child(3),.officials-panel .officials-table td:nth-child(3){width:22%}.officials-panel .officials-table th:nth-child(4),.officials-panel .officials-table td:nth-child(4){width:20%}.officials-panel .officials-table th:nth-child(5),.officials-panel .officials-table td:nth-child(5){width:16%}.officials-panel .officials-table th:nth-child(6),.officials-panel .officials-table td:nth-child(6){width:12%}.officials-panel .officials-table thead th{color:var(--brand-deep);letter-spacing:0;border-bottom:1px solid var(--line);white-space:nowrap;text-align:center;background:linear-gradient(#fbf8f1 0%,#f3efe3 100%);padding:12px 16px;font-size:.78rem;font-weight:800}.officials-panel .officials-table tbody td{vertical-align:middle;text-align:center;padding:14px 16px}.officials-panel .officials-table td>*{margin-inline:0}.officials-panel .officials-table tbody tr:hover{background:#fbfaf5}.officials-panel .officials-table tbody tr.row-inactive{background:#faf8f6}.officials-panel .officials-table tbody tr.row-inactive:hover{background:#f5f1eb}.official-person{justify-content:center;align-items:center;gap:12px;min-width:0;display:flex}.official-person .official-photo{border-radius:12px;flex-basis:48px;width:48px;height:48px}.official-person-copy{text-align:center;justify-items:center;gap:4px;min-width:0;display:grid}.official-person-copy strong{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-size:.98rem;font-weight:800;line-height:1.3;overflow:hidden}.official-role-pill{width:fit-content;max-width:100%;min-height:22px;color:var(--brand-deep);text-overflow:ellipsis;white-space:nowrap;background:#f6f1e4;border-radius:999px;align-items:center;padding:1px 8px;font-size:.74rem;font-style:normal;font-weight:800;line-height:1.4;display:inline-flex;overflow:hidden}.official-contact{text-align:center;justify-items:center;gap:3px;min-width:0;display:grid}.official-contact a,.official-contact .cell-muted{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:.86rem;overflow:hidden}.official-sector-list{flex-wrap:wrap;justify-content:center;gap:6px;margin:0;padding:0;list-style:none;display:flex}.official-sector-chip,.official-sector-all{box-sizing:border-box;background:#fffdf8;border:1px solid #efe6d4;border-radius:12px;align-items:center;gap:8px;max-width:240px;min-height:40px;padding:4px 10px;display:inline-flex}.official-sector-all{color:var(--brand-deep);font-size:.8rem;font-weight:800}.official-sector-chip.is-logo{gap:0;max-width:none;padding:4px}.official-sector-logo{border:1px solid var(--line);background:var(--surface);border-radius:8px;flex:none;place-items:center;width:28px;height:28px;display:grid;overflow:hidden}.official-sector-logo img{object-fit:contain;width:100%;height:100%}.official-sector-copy{min-width:0;display:grid}.official-sector-copy strong,.official-sector-copy small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.official-sector-copy strong{color:var(--ink);font-size:.78rem;font-weight:800;line-height:1.25}.official-sector-copy small{color:var(--muted);font-size:.68rem;font-weight:650;line-height:1.2}.officials-panel .officials-table .user-status-cell{justify-content:center}.officials-panel .officials-table .row-actions{justify-content:center;gap:8px}.official-assign-avatar{border-color:var(--line);width:44px;height:44px;box-shadow:none;flex-basis:44px}.officials-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:18px;margin:0;padding:0;list-style:none;display:grid}.officials-grid>li{min-width:0;display:flex}.official-card{border:1px solid var(--line);background:var(--surface);width:100%;min-width:0;box-shadow:0 10px 28px rgba(var(--brand-deep-rgb), .06);border-radius:16px;flex-direction:column;display:flex;overflow:hidden}.official-card-head{background:linear-gradient(180deg, var(--surface-cool) 0%, var(--surface) 72%);border-bottom:1px solid #e7eef1;align-items:center;gap:14px;min-width:0;padding:16px;display:flex}.official-card-copy{gap:3px;min-width:0;display:grid}.official-card-copy strong{color:var(--ink);font-size:1.08rem;line-height:1.35}.official-card-copy small{color:var(--muted);overflow-wrap:anywhere;font-size:.82rem}.official-photo{border:1px solid var(--line);background:var(--surface);width:64px;height:64px;color:var(--brand-deep);box-sizing:border-box;border-radius:8px;flex:0 0 64px;place-items:center;padding:0;font-size:1.2rem;font-weight:800;display:grid;overflow:hidden}.official-photo img{object-fit:cover;object-position:center;width:100%;height:100%;display:block}.official-photo svg{width:58%;height:58%}.official-photo.is-large{flex-basis:88px;width:88px;height:88px;padding:0;font-size:1.6rem}.official-card-body{flex-direction:column;flex:1;gap:10px;padding:14px 16px 16px;display:flex}.official-companies{gap:8px;max-height:240px;padding:4px;display:grid;overflow:auto}.official-company-option{border:1px solid var(--line-mist);background:var(--surface);min-width:0;color:var(--ink);cursor:pointer;border-radius:12px;align-items:center;gap:10px;padding:10px 12px;display:flex}.official-company-option.is-on{background:var(--brand-soft);border-color:#b7d5de}.official-company-option span{overflow-wrap:anywhere;min-width:0;font-weight:700}.official-companies-empty,.official-field-hint{color:var(--muted);margin:0;line-height:1.6}.official-field-label{color:var(--brand-deep);margin-bottom:4px;font-weight:800;display:block}.modal.official-modal{width:min(580px,100vw - 28px);max-height:min(920px,100vh - 32px);box-shadow:0 28px 60px #1c242a29, 0 2px 8px rgba(var(--brand-deep-rgb), .08);border-radius:22px}.official-modal-head{border-bottom:1px solid #efe6d4;flex-shrink:0;align-items:center;padding:16px 18px}.official-modal-title{flex:1;align-items:center;gap:10px;min-width:0}.official-modal-head h2{color:var(--brand-deep);margin:0;font-size:1.2rem;font-weight:800;line-height:1.3}.official-modal-head .icon-btn{border-radius:10px;flex-shrink:0;width:36px;height:36px}.official-form{flex-direction:column;flex:1;min-height:0;display:flex}.official-form>.modal-body.official-form-body{background:#f7f4ee;flex:auto;gap:14px;min-height:0;max-height:none;padding:16px 18px;display:grid}.official-section{background:var(--surface);border:1px solid #efe6d4;border-radius:18px;gap:14px;padding:16px;display:grid}.official-section-head{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.official-section-head h3{color:var(--brand-deep);margin:0;font-size:.98rem;font-weight:800;line-height:1.3}.official-section-head p{color:#8a8172;text-align:end;margin:0;font-size:.78rem;line-height:1.4}.official-span{grid-column:1/-1}.official-form .field>span{color:var(--brand-deep);margin-bottom:6px;font-size:.92rem;font-weight:800;display:block}.official-photo-row{background:#fbf8f1;border:1px solid #efe6d4;border-radius:16px;align-items:center;gap:14px;padding:12px;display:flex}.official-photo-row .official-photo{background:var(--surface);width:64px;height:64px;box-shadow:0 1px 3px rgba(var(--brand-deep-rgb), .08);border-radius:16px;flex-basis:64px}.official-photo-copy{gap:2px;min-width:0;display:grid}.official-photo-row strong{color:var(--brand-deep);font-size:.95rem}.official-photo-actions{align-items:center;gap:14px;margin-inline-start:auto;display:flex}.official-photo-change{background:var(--surface);cursor:pointer;border-radius:12px;min-height:40px;padding:8px 14px}.official-photo-remove{color:#6f6554;font:inherit;cursor:pointer;background:0 0;border:0;font-size:.92rem;font-weight:700}.official-form-grid{grid-template-columns:1fr 1fr;align-items:start;gap:14px 16px;display:grid}.official-password-shell{border-color:var(--line);border-radius:12px;flex-direction:row;width:100%;height:46px;min-height:46px}.official-form .official-password-shell input{width:auto;min-width:0;height:42px;min-height:42px;box-shadow:none;text-align:start;background:0 0;border:0;border-radius:0;flex:1;margin:0;padding:0 12px}.official-form .official-password-shell input:focus{box-shadow:none;border:0}.official-form .official-password-shell.has-value:not(.is-revealed) input{letter-spacing:.08em}.official-password-field .official-field-hint,.official-companies-field .official-field-hint{color:#8a8172;font-size:.8rem;line-height:1.45;display:block}.official-password-field .official-field-hint{margin:6px 0 0}.official-companies-field .official-field-hint{margin:0 0 8px}.official-form .field input,.official-form .ui-select-trigger{border-radius:12px;min-height:46px}.official-modal .official-modal-foot{background:var(--surface);border-top:1px solid #efe6d4;flex-direction:row;flex-shrink:0;justify-content:flex-end;align-items:center;gap:10px;padding:14px 18px}.official-modal .official-modal-foot .btn{border-radius:12px;min-width:96px;min-height:42px}.official-companies-field .ui-multiselect-trigger{border-radius:12px;align-items:center;min-height:48px}.official-companies-field .ui-assignee-chip{background:var(--surface);border-color:var(--line-sand);box-shadow:0 1px 2px rgba(var(--brand-deep-rgb), .06)}.official-companies-field .ui-assignee-chip-avatar{width:26px;height:26px}.official-companies-field .ui-multi-option .ui-assignee-chip-avatar{width:28px;height:28px}.officials-table .official-photo-col,.officials-table .official-photo-cell{text-align:center;vertical-align:middle;width:96px}.officials-table .official-photo-cell .official-photo{width:52px;height:52px;box-shadow:0 1px 3px rgba(var(--brand-deep-rgb), .08);background:#fbf8f1;border-color:#eadfc4;border-radius:14px;flex-basis:52px;margin-inline:auto;padding:0}@media (width<=1100px){.officials-panel .officials-panel-top{align-items:stretch}.officials-panel .officials-panel-actions{flex:auto;grid-template-columns:minmax(0,1fr) auto;justify-content:stretch;width:100%;display:grid}.officials-panel .officials-panel-actions .search-input{grid-column:1/-1;width:100%;min-width:0;max-width:none}.officials-panel .status-tabs-chips{grid-column:1;width:auto;display:flex}.officials-panel .officials-table-wrap{box-shadow:none;background:0 0;border:0;border-radius:0;overflow:visible}.officials-panel .officials-table,.officials-panel .officials-table tbody{gap:12px;min-width:0;display:grid}.officials-panel .officials-table thead{display:none}.officials-panel .officials-table tr{border:1px solid var(--line);background:var(--surface);box-shadow:0 8px 22px rgba(var(--brand-deep-rgb), .05);border-radius:16px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px 14px;padding:14px;display:grid}.officials-panel .officials-table tbody tr:hover,.officials-panel .officials-table tbody tr.row-inactive,.officials-panel .officials-table tbody tr.row-inactive:hover{background:var(--surface)}.officials-panel .officials-table tbody tr.row-inactive{background:#faf8f6}.officials-panel .officials-table td{text-align:start;border:0;width:auto;min-width:0;padding:0;display:block}.officials-panel .officials-table td:before{content:none}.officials-panel .official-photo-cell{grid-area:1/1;width:auto}.officials-panel .official-person-cell{text-align:start;grid-area:1/2}.officials-panel .official-person-cell .official-person-copy{text-align:start;justify-items:start}.officials-panel .official-actions-cell{grid-area:1/3;justify-self:end}.officials-panel .official-contact-cell,.officials-panel .official-sectors-cell,.officials-panel .official-status-cell{grid-column:1/-1}.officials-panel .officials-table .row-actions{width:auto;overflow:visible}}@media (width<=640px){.officials-panel .officials-panel-top>h1{white-space:normal}.officials-panel .officials-panel-actions{grid-template-columns:1fr}.officials-panel .status-tabs-chips,.officials-panel .officials-panel-actions .panel-action-btn{grid-column:1;width:100%}.officials-panel .officials-panel-actions .panel-action-btn{justify-content:center}.officials-panel .officials-table tr{grid-template-columns:minmax(0,1fr)}.officials-panel .official-photo-cell,.officials-panel .official-person-cell,.officials-panel .official-actions-cell{grid-area:auto/1}.officials-panel .official-actions-cell{justify-self:stretch}.officials-panel .officials-table .row-actions{width:100%}.official-sector-chip,.official-sector-all{max-width:100%}}@media (width<=860px){.official-modal .official-modal-foot{flex-direction:row;align-items:center}.official-modal .official-modal-foot .btn{width:auto}}@media (width<=640px){.officials-grid,.official-form-grid{grid-template-columns:1fr}.official-section-head{flex-direction:column;align-items:flex-start}.official-section-head p{text-align:start}.official-photo-row{flex-wrap:wrap}.official-photo-actions{justify-content:flex-start;width:100%;margin-inline-start:0}}.boot-screen{background:radial-gradient(ellipse 70% 45% at 50% 42%, rgba(var(--brand-rgb), .08), transparent 58%), linear-gradient(180deg, var(--brand-soft) 0%, var(--bg) 52%, var(--bg-accent) 100%);place-items:center;min-height:100vh;padding:28px 24px;display:grid}.boot-content{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:22px;width:min(100%,220px);animation:.5s cubic-bezier(.22,1,.36,1) both boot-in;display:flex}.boot-loader{place-items:center;width:72px;height:72px;display:grid;position:relative}.boot-ring{background:conic-gradient(from 0deg, rgba(var(--brand-rgb), .08) 0deg, rgba(var(--brand-rgb), .08) 260deg, var(--brand) 300deg, #e0cc7a 340deg, transparent 360deg);border-radius:50%;animation:1s linear infinite boot-spin;position:absolute;inset:0;-webkit-mask:radial-gradient(farthest-side,#0000 calc(100% - 4px),#000 calc(100% - 3.5px));mask:radial-gradient(farthest-side,#0000 calc(100% - 4px),#000 calc(100% - 3.5px))}.boot-ring-orbit{border:1.5px solid rgba(var(--brand-rgb), .1);background:radial-gradient(circle at 50% 50%, rgba(var(--surface-rgb), .9), #e8f3f68c);box-shadow:inset 0 0 0 1px rgba(var(--surface-rgb), .65);border-radius:50%;position:absolute;inset:10px}.boot-dots{z-index:1;justify-content:center;align-items:center;gap:6px;display:flex;position:relative}.boot-dots i{background:var(--brand);opacity:.35;border-radius:50%;width:7px;height:7px;animation:1.05s ease-in-out infinite boot-dot;display:block}.boot-dots i:first-child{animation-delay:0s}.boot-dots i:nth-child(2){background:#e0cc7a;animation-delay:.15s}.boot-dots i:nth-child(3){animation-delay:.3s}.boot-message{color:var(--muted);letter-spacing:.01em;margin:0;font-size:.92rem;font-weight:600;line-height:1.5}.roles-panel{width:100%;max-width:none;margin:0;padding:0}.roles-panel-hero{background:radial-gradient(80% 140% at 100% 0%, rgba(var(--brand-rgb), .1), transparent 58%), linear-gradient(160deg, #f4fafb 0%, var(--surface) 72%);border-bottom:1px solid var(--line);border-radius:8px 8px 0 0;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px 24px;margin:0;padding:18px 20px;display:flex}.roles-panel-copy{flex:280px;min-width:0}.roles-panel-copy h1{color:var(--brand-deep);margin:0;font-size:clamp(1.15rem,1.6vw,1.4rem)}.roles-panel-copy p{color:var(--muted);white-space:nowrap;margin:6px 0 0;font-size:.86rem;line-height:1.45}.perm-topics{gap:14px;display:grid}.role-editor .perm-topics{grid-template-columns:minmax(196px,240px) minmax(0,1fr);align-items:start;gap:16px}.perm-topic-switch{flex-wrap:wrap;gap:8px;display:flex}.role-editor .perm-topic-switch{border:1px solid var(--line-soft);background:var(--paper,#faf8f4);border-radius:14px;flex-flow:column;gap:4px;padding:6px}.perm-topic-btn{border:1px solid var(--line);background:var(--surface);min-height:40px;color:var(--brand-deep);font:inherit;cursor:pointer;border-radius:999px;justify-content:space-between;align-items:center;gap:8px;padding:8px 12px;font-size:.84rem;font-weight:800;display:inline-flex}.perm-topic-btn small{color:var(--muted);font-size:.72rem;font-weight:800}.role-editor .perm-topic-btn{text-align:start;background:0 0;border-color:#0000;border-radius:10px;width:100%}.perm-topic-btn:hover{border-color:var(--brand);background:rgba(var(--brand-rgb), .06)}.role-editor .perm-topic-btn:hover{background:var(--surface);border-color:#0000}.perm-topic-btn.is-active{background:var(--brand);border-color:var(--brand);color:var(--surface)}.perm-topic-btn.is-active small{color:inherit;opacity:.88}@media (width<=720px){.perm-topic-btn{flex:calc(50% - 8px)}}.roles-view-switch{background:var(--surface);border:1px solid var(--line);border-radius:12px;flex:none;gap:4px;padding:4px;display:inline-flex}.roles-view-btn{color:#4d6a76;font:inherit;cursor:pointer;white-space:nowrap;background:0 0;border:0;border-radius:9px;min-height:42px;padding:10px 16px;font-size:.86rem;font-weight:700}.roles-view-btn:hover{color:var(--brand-deep);background:rgba(var(--brand-rgb), .06)}.roles-view-btn.is-active{background:var(--brand);color:var(--surface)}.roles-board,.roles-assign{flex-direction:column;gap:14px;padding:16px;display:flex}.roles-board-toolbar,.roles-assign-toolbar{flex-wrap:nowrap;justify-content:space-between;align-items:center;gap:12px;width:100%;display:flex}.roles-board-toolbar .search-input,.roles-assign-toolbar .search-input{border-radius:12px;flex:1 1 0;width:100%;min-width:0;max-width:none;min-height:44px;margin:0}.roles-assign-toolbar .panel-scope-filter{flex:0 0 210px;min-width:180px;max-width:240px}.roles-board-toolbar .btn,.roles-assign-toolbar .btn{min-height:42px}.roles-board-empty,.roles-assign-empty{text-align:center;color:var(--muted);padding:48px 16px}.roles-card-grid{grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch;gap:14px;margin:0;padding:0;list-style:none;display:grid}.roles-card-grid>li{min-width:0;display:flex}.roles-system-badge{background:rgba(var(--brand-rgb), .1);color:var(--brand);border-radius:999px;padding:2px 7px;font-size:.66rem;font-style:normal;font-weight:800}.roles-perm-count.is-lg{border:1px solid var(--line);min-width:58px;height:auto;min-height:28px;color:var(--brand-deep);font-variant-numeric:tabular-nums;background:#f7f3ea;border-radius:999px;align-items:baseline;gap:3px;padding:5px 11px;font-size:.84rem;font-weight:700;line-height:1;display:inline-flex}.roles-perm-count.is-lg b{font-weight:800}.roles-perm-count.is-lg span{opacity:.45;font-weight:600}.roles-perm-count.is-lg em{opacity:.75;font-style:normal;font-weight:600}.roles-perm-count.is-lg.is-full{color:#2f6b7a;background:#eef6f8;border-color:#d5e6ea}.roles-perm-count.is-lg.is-empty{color:#8a8478;background:#f5f5f5;border-color:#e6e6e6}.roles-assign-table-wrap{border:1px solid var(--line-strong);background:var(--surface);border-radius:16px;margin-top:4px;overflow:auto;box-shadow:0 6px 18px #1c242a09}.roles-assign-saving{color:var(--muted);white-space:nowrap;font-size:.84rem;font-weight:600}.roles-assign-table{border-collapse:separate;border-spacing:0;width:100%;min-width:680px;margin:0}.roles-assign-table thead th{z-index:1;background:var(--paper);color:#6f6554;letter-spacing:.02em;border-bottom:1px solid var(--line-strong);white-space:nowrap;text-align:center;padding:13px 16px;font-size:.78rem;font-weight:700;position:sticky;top:0}.roles-assign-table tbody td{vertical-align:middle;background:var(--surface);text-align:center;border-bottom:1px solid #f1ece2;padding:14px 16px}.roles-assign-table tbody tr:last-child td{border-bottom:none}.roles-assign-table tbody tr:hover td{background:#fcfbf8}.roles-assign-table tbody tr.is-changed td{background:#fffdf7}.roles-assign-table tbody tr.is-changed td:first-child{box-shadow:inset 3px 0 0 var(--brand,#c4a35a)}html[dir=ltr] .roles-assign-table tbody tr.is-changed td:first-child{box-shadow:inset -3px 0 0 var(--brand,#c4a35a)}.roles-assign-table .roles-assign-meta{text-align:center;justify-items:center;gap:3px;min-width:0;display:grid}.roles-assign-table .roles-assign-meta strong{color:var(--brand-deep,var(--brand-deep));font-size:.95rem;line-height:1.35}.roles-assign-table .roles-assign-meta small{color:var(--muted);text-overflow:ellipsis;font-size:.78rem;overflow:hidden}.roles-scope-sectors{min-width:0;max-width:280px}.roles-scope-sectors-select.ui-multiselect.is-logos-only .ui-multiselect-trigger{border-color:var(--line-pearl);background:var(--surface);border-radius:10px;gap:8px;min-height:44px;padding:6px 10px}.roles-scope-sectors-select.ui-multiselect.is-logos-only .ui-multiselect-chips{flex-wrap:wrap;gap:6px}.roles-scope-sectors-select.ui-multiselect.is-logos-only .ui-assignee-chip.is-logo-chip{box-shadow:none;background:0 0;border:none;margin:0;padding:0}.roles-scope-sectors-select.ui-multiselect.is-logos-only .ui-assignee-chip-avatar,.scope-sector-logo{border:1px solid var(--line);background:var(--surface);box-sizing:border-box;border-radius:8px;place-items:center;width:34px;height:34px;padding:3px;display:inline-grid;overflow:hidden}.roles-scope-sectors-select.ui-multiselect.is-logos-only .ui-assignee-chip-avatar.has-image,.roles-scope-sectors-select.ui-multiselect.is-logos-only .ui-assignee-chip-avatar.has-image.tone-0,.roles-scope-sectors-select.ui-multiselect.is-logos-only .ui-assignee-chip-avatar.has-image.tone-1,.roles-scope-sectors-select.ui-multiselect.is-logos-only .ui-assignee-chip-avatar.has-image.tone-2,.roles-scope-sectors-select.ui-multiselect.is-logos-only .ui-assignee-chip-avatar.has-image.tone-3,.roles-scope-sectors-select.ui-multiselect.is-logos-only .ui-assignee-chip-avatar.has-image.tone-4,.roles-scope-sectors-select.ui-multiselect.is-logos-only .ui-assignee-chip-avatar.has-image.tone-5{background:var(--surface);border-radius:8px}.roles-scope-sectors-select.ui-multiselect.is-logos-only .ui-assignee-chip-avatar img,.scope-sector-logo img{object-fit:contain;object-position:center;border-radius:8px;width:100%;height:100%}.roles-assign-ratio{color:#3d5a80;font-variant-numeric:tabular-nums;background:#f4f7fb;border-radius:10px;align-items:baseline;gap:4px;min-width:64px;padding:7px 12px;font-size:.9rem;font-weight:700;line-height:1;display:inline-flex}.roles-assign-ratio b{font-weight:800}.roles-assign-ratio span{opacity:.55;font-weight:600}.roles-assign-ratio em{opacity:.8;font-style:normal;font-weight:600}.roles-assign-ratio.is-full{color:#2f6b7a;background:#eef6f8}.roles-assign-ratio.is-reduced{color:#2f7a4a;background:#eef8f1}.roles-assign-ratio.is-added{color:#b56a2b;background:#fff6ee}.roles-assign-ratio.is-mixed{color:#8a6d2f;background:#f8f3ea}.roles-assign-ratio.is-empty{color:var(--muted);background:0 0;padding-inline:0}.roles-assign-table .roles-assign-adjust{border:1px solid var(--line-pearl);background:var(--surface);min-height:38px;color:inherit;font:inherit;cursor:pointer;white-space:nowrap;border-radius:10px;align-items:center;gap:6px;padding:7px 12px;font-size:.84rem;font-weight:600;display:inline-flex}.roles-assign-table .roles-assign-adjust svg{flex:none;width:15px;height:15px}.roles-assign-table td .ui-select,.roles-assign-table td .ui-multiselect{width:min(100%,220px);margin-inline:auto}.roles-assign-table .roles-assign-adjust{margin-inline:auto}.roles-assign-table.is-scope{min-width:920px}.roles-assign-table .roles-assign-adjust:hover:not(:disabled){border-color:var(--brand,#c4a35a);background:#faf7f0}.roles-assign-table .roles-assign-adjust:disabled{opacity:.45;cursor:not-allowed}@media (width<=1100px){.roles-assign-table-wrap{box-shadow:none;background:0 0;border:none;border-radius:0;overflow:visible}.roles-assign-table,.roles-assign-table.is-scope{min-width:0}.roles-assign-table thead{display:none}.roles-assign-table,.roles-assign-table tbody,.roles-assign-table tr,.roles-assign-table td{width:100%;display:block}.roles-assign-table tbody{gap:12px;display:grid}.roles-assign-table tbody tr{border:1px solid var(--line-strong);background:var(--surface);border-radius:16px;padding:4px 0;overflow:hidden}.roles-assign-table tbody td{border-bottom:1px solid #f3eee4;grid-template-columns:minmax(96px,34%) minmax(0,1fr);align-items:center;gap:10px;padding:12px 14px;display:grid}.roles-assign-table tbody tr td:last-child{border-bottom:none}.roles-assign-table tbody td:before{content:attr(data-label);color:#6f6554;font-size:.75rem;font-weight:700}.roles-scope-sectors{width:100%;max-width:none}.roles-assign-table tbody td.roles-assign-name{grid-template-columns:1fr}.roles-assign-table tbody td.roles-assign-name:before{content:none}.roles-assign-table td .ui-select,.roles-assign-table td .ui-multiselect{width:100%}.roles-assign-toolbar .search-input{width:100%;max-width:none;margin-inline-start:0}}.role-editor-other-groups .roles-modal-group{border:1px solid var(--line-soft);background:var(--paper);border-radius:14px;padding:16px}.role-editor .role-editor-fallback-group{background:0 0;border:0;border-radius:0;padding:0}.role-editor .roles-perm-checks{grid-template-columns:1fr;gap:8px;padding:4px 0 0}@media (width>=1280px){.role-editor .roles-perm-checks{grid-template-columns:repeat(2,minmax(0,1fr))}}.role-editor .roles-perm-check{min-height:44px;padding:10px 12px}.modal.roles-modal{flex-direction:column;place-self:center;width:min(840px,100vw - 32px);height:min(740px,100dvh - 40px);min-height:0;max-height:min(740px,100dvh - 40px);display:flex;overflow:hidden}.modal.roles-modal>.modal-accent,.modal.roles-modal>.roles-modal-head,.modal.roles-modal>.roles-modal-foot{flex:none}.modal.roles-modal>.modal-body.roles-modal-body{flex:1 1 0;min-height:0;max-height:none;padding:14px 16px 16px;overflow:hidden}.roles-modal-head{background:linear-gradient(180deg, var(--brand-soft) 0%, var(--surface) 100%);border-bottom:1px solid var(--line-mist);align-items:center;padding:16px 18px}.roles-modal-identity{align-items:center;gap:12px;min-width:0;display:flex}.roles-modal-mark{background:var(--brand);width:46px;height:46px;color:var(--surface);border-radius:14px;flex:none;place-items:center;font-size:.92rem;font-weight:800;display:grid}.roles-modal-identity-copy{min-width:0}.roles-modal-title-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.roles-modal-title-row h2{margin:0}.roles-modal .modal-desc{margin:2px 0 0}.roles-modal-body{flex-direction:column;gap:12px;display:flex}.roles-modal-fields{border:1px solid var(--line);background:var(--surface-cloud);border-radius:12px;flex:none;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 14px;padding:14px;display:grid}.roles-modal-fields .field{min-width:0;margin:0}.roles-modal-fields .field span{color:#4d6a76;text-align:start;margin-bottom:6px;font-size:.78rem;font-weight:800;display:block}.roles-modal-fields .field input{background:var(--surface)}.roles-modal-fields .field input[dir=ltr]{text-align:left}.roles-modal-fields .field input:disabled{opacity:1;color:var(--brand-deep);cursor:not-allowed;background:#f3f7f9}.roles-modal-sheet{border:1px solid var(--line);background:var(--surface);border-radius:12px;flex-direction:column;flex:1 1 0;min-height:0;display:flex;overflow:hidden}.roles-modal-sheet-scroll{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-gutter:stable;flex:1 1 0;min-height:0;overflow:hidden auto}.roles-modal-sheet-head,.roles-modal-group-head{background:var(--surface-ice);border-bottom:1px solid var(--line-mist);flex-wrap:wrap;align-items:center;gap:8px 10px;padding:10px 14px;display:flex}.roles-modal-sheet-head{z-index:auto;flex:none;position:static}.roles-modal-sheet-title,.roles-modal-group-head{z-index:auto;min-width:0;position:static;top:auto}.roles-modal-sheet-title{flex:auto;align-items:center;gap:8px;display:flex}.roles-modal-sheet-title h3,.roles-modal-group-head h3{color:var(--brand-deep);margin:0;font-size:.92rem}.roles-modal-bulk{flex-wrap:wrap;gap:8px;margin-inline-start:auto;display:flex}.roles-modal-bulk .btn,.roles-group-toggle{min-height:34px}.roles-modal-group+.roles-modal-group{border-top:1px solid var(--line-mist)}.roles-perm-count{background:var(--surface);border:1px solid var(--line);min-width:42px;height:22px;color:var(--brand-deep);border-radius:999px;place-items:center;padding:0 8px;font-size:.72rem;font-weight:800;display:inline-grid}.roles-group-toggle{border:1px solid var(--line);background:var(--surface);color:var(--brand);font:inherit;cursor:pointer;border-radius:8px;margin-inline-start:auto;padding:0 10px;font-size:.78rem;font-weight:800}.roles-group-toggle:hover{background:var(--brand-soft)}.roles-perm-checks{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0;padding:10px;list-style:none;display:grid}.roles-perm-check{border:1px solid var(--line-cool);background:var(--surface);cursor:pointer;border-radius:10px;justify-content:flex-start;align-items:center;gap:10px;min-height:42px;padding:8px 12px;display:flex;position:relative}.roles-perm-check input{opacity:0;pointer-events:none;width:100%;height:100%;margin:0;position:absolute;inset:0}.roles-perm-label{min-width:0;color:var(--ink);text-align:start;font-size:.86rem;font-weight:700;line-height:1.35}.roles-perm-box{background:var(--surface);width:20px;height:20px;color:var(--surface);border:1.5px solid #b7cdd5;border-radius:6px;flex:none;place-items:center;display:grid}.roles-perm-check.is-checked{border-color:rgba(var(--brand-rgb), .4);background:var(--brand-soft)}.roles-perm-check.is-checked .roles-perm-box{background:var(--brand);border-color:var(--brand)}.roles-perm-check.is-checked .roles-perm-label{color:var(--brand-deep)}.roles-modal-foot{border-top:1px solid var(--line);background:var(--surface-cool);box-shadow:0 -8px 16px rgba(var(--brand-deep-rgb), .04);justify-content:space-between;align-items:center;gap:12px;padding:12px 18px;display:flex}.roles-modal-foot-note{color:var(--brand-deep);margin:0;font-size:.82rem;font-weight:800}.roles-modal-foot-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.roles-modal-foot .btn{min-width:108px;min-height:42px}.roles-modal-person-photo{border-color:var(--line);flex:0 0 48px;width:48px;height:48px}.roles-modal-head .roles-modal-identity{gap:12px}.roles-assign-meta{gap:2px;min-width:0;display:grid}.roles-assign-meta strong{color:var(--brand-deep);flex-wrap:wrap;align-items:center;gap:6px;font-size:.94rem;display:flex}.roles-assign-meta small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.78rem;overflow:hidden}.roles-assign-adjust:focus,.roles-assign-adjust:focus-visible{outline:none}.roles-assign-adjust{border:1px solid var(--line-aqua);background:var(--surface);height:40px;color:var(--brand-deep);font:inherit;cursor:pointer;border-radius:10px;flex:none;justify-content:center;align-items:center;gap:6px;padding:0 12px;font-size:.84rem;font-weight:800;display:inline-flex}.roles-assign-adjust:hover:not(:disabled){border-color:var(--brand);color:var(--brand);background:#eef7fa}.roles-assign-adjust:disabled{cursor:not-allowed;opacity:.55}.roles-modal-fields .field input:focus{border-color:var(--brand);box-shadow:0 0 0 3px rgba(var(--brand-deep-rgb), .14)}.roles-perm-check.is-locked{cursor:not-allowed;opacity:.72}@media (width<=1024px){.roles-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=860px){.roles-panel-hero{align-items:stretch;padding:14px}.roles-panel-copy p{white-space:normal}.roles-view-switch{flex-wrap:wrap;width:100%}.roles-view-btn{text-align:center;flex:1}.role-editor{gap:16px;padding:14px}.role-editor-fields,.role-editor .perm-topics{grid-template-columns:1fr}.role-editor .perm-topic-switch{flex-flow:row;overflow-x:auto}.role-editor .perm-topic-btn{border-color:var(--line);background:var(--surface);border-radius:999px;flex:none;width:auto}.role-editor-hero-main,.role-editor-actions{width:100%}.role-editor-actions .btn{flex:1}.roles-modal-fields,.roles-perm-checks{grid-template-columns:1fr}.roles-assign-adjust{justify-content:center;width:100%}.modal.roles-modal{width:min(840px,100vw - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px)}}@media (width<=640px){.roles-board,.roles-assign{padding:12px}.roles-board-toolbar{flex-wrap:wrap}.roles-board-toolbar .search-input,.roles-board-toolbar .btn,.roles-assign-toolbar .search-input,.roles-assign-toolbar .btn,.roles-modal-bulk,.roles-modal-bulk .btn,.roles-modal-foot-actions,.roles-modal-foot .btn{width:100%}.roles-modal-sheet-head,.roles-modal-foot{align-items:stretch}.roles-modal-foot{flex-direction:column}.roles-modal-bulk{margin-inline-start:0}.roles-card-grid,.roles-perm-checks{grid-template-columns:1fr}}.roles-assign-meta strong{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.role-perm-board{gap:18px;display:grid}.role-perm-companies{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:14px;display:grid}.role-perm-companies:has(>:only-child){grid-template-columns:minmax(0,1fr)}.role-perm-other-list{gap:14px;display:grid}.role-perm-other{gap:12px;display:grid}.role-perm-other>h3{color:var(--brand-deep);text-align:start;margin:4px 0 0;font-size:1.02rem;font-weight:800}.role-perm-card{border:1px solid var(--line-soft);background:#fbfaf6;border-radius:16px;gap:12px;padding:14px;display:grid}.role-perm-card-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.role-perm-card-id{align-items:center;gap:10px;min-width:0;display:flex}.role-perm-card-id strong{color:var(--brand-deep);font-size:.95rem;display:block}.role-perm-card-id small{color:var(--muted);margin-top:2px;font-size:.76rem;display:block}.role-perm-card-logo{border:1px solid var(--line);background:var(--surface);border-radius:12px;flex:none;width:42px;height:42px;overflow:hidden}.role-perm-card-tools{flex:none;align-items:center;gap:8px;display:flex}.role-perm-section h4{color:#8a7d66;text-align:start;margin:0 0 8px;font-size:.78rem;font-weight:700}.role-perm-board .roles-perm-checks{background:0 0;padding:0}.role-perm-board .roles-perm-check{background:var(--surface);justify-content:space-between}html[dir=rtl] .role-perm-board .roles-perm-check{flex-direction:row-reverse}@media (width<=980px){.role-perm-companies{grid-template-columns:1fr}}.profile-page{gap:16px;width:100%;max-width:none;margin:0;display:grid}.profile-kind{color:var(--muted);font-size:.82rem;font-weight:700}.profile-section-photo .profile-photo-actions{justify-content:center}.profile-toolbar{border:1px solid var(--line-strong);background:var(--surface);border-radius:14px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;display:flex}.profile-toolbar-copy{gap:2px;min-width:0;display:grid}.profile-toolbar h1{color:var(--brand-deep);letter-spacing:-.01em;align-items:center;gap:10px;margin:0;font-size:1.12rem;font-weight:800;display:inline-flex}.profile-toolbar-copy p{color:var(--muted);margin:0;font-size:.8rem;font-weight:600;line-height:1.35}.profile-toolbar-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.profile-toolbar-actions .btn{min-width:92px;min-height:38px}.profile-identity{text-align:start;background:0 0;border:none;flex-direction:row;justify-content:center;align-items:center;gap:12px;width:fit-content;max-width:100%;margin:0 auto;padding:0;display:flex}.profile-photo-frame{background:var(--surface);border:1px solid var(--line);box-sizing:border-box;width:120px;height:120px;box-shadow:0 4px 14px rgba(var(--brand-deep-rgb), .1);border-radius:14px;flex:none;padding:3px;position:relative;overflow:hidden}.profile-photo-overlay{pointer-events:none;border-radius:0;justify-content:center;align-items:center;gap:8px;display:flex;position:absolute;inset-inline:3px}.profile-photo-overlay.is-top{background:linear-gradient(#141c1a8c 0%,#0000 100%);border-radius:11px 11px 0 0;padding:6px 6px 18px;top:3px}.profile-photo-overlay.is-bottom{background:linear-gradient(#0000 0%,#141c1a8c 100%);border-radius:0 0 11px 11px;padding:18px 6px 6px;bottom:3px}.profile-photo-overlay>*{pointer-events:auto}.profile-photo-corner-btn{top:7px;z-index:2;border:1px solid rgba(var(--surface-rgb), .7);background:rgba(var(--surface-rgb), .96);width:30px;height:30px;color:var(--brand-deep);cursor:pointer;border-radius:9px;place-items:center;padding:0;transition:background .15s,border-color .15s,transform .1s,box-shadow .15s;display:grid;position:absolute;inset-inline-start:7px;box-shadow:0 2px 8px #141c1a33}.profile-photo-corner-btn:hover{background:var(--surface);border-color:var(--brand-mid);box-shadow:0 4px 12px rgba(var(--brand-deep-rgb), .22);transform:translateY(-1px)}.profile-photo-corner-btn svg{width:15px;height:15px}.profile-photo-icon-btn{border:1px solid rgba(var(--surface-rgb), .75);background:rgba(var(--surface-rgb), .96);width:32px;height:32px;color:var(--brand-deep);cursor:pointer;border-radius:9px;place-items:center;padding:0;transition:background .15s,color .15s,border-color .15s,transform .1s,box-shadow .15s;display:grid;box-shadow:0 2px 8px #141c1a33}.profile-photo-icon-btn:hover{background:var(--surface);transform:translateY(-1px);box-shadow:0 4px 10px #141c1a3d}.profile-photo-icon-btn:disabled{opacity:.65;cursor:not-allowed;transform:none}.profile-photo-icon-btn.is-save{border-color:var(--success);background:linear-gradient(145deg, #22c55e 0%, var(--success) 100%);color:var(--surface)}.profile-photo-icon-btn.is-save:hover{color:var(--surface);background:linear-gradient(145deg,#34d36a 0%,#166534 100%);border-color:#166534}.profile-photo-icon-btn.is-cancel{background:rgba(var(--surface-rgb), .96);color:var(--rose);border-color:#f0c4c4}.profile-photo-icon-btn.is-cancel:hover{background:var(--danger-softer);color:var(--rose-deep);border-color:#e8a8a8}.profile-photo-icon-btn.is-danger{color:var(--rose-deep)}.profile-photo-icon-btn.is-danger:hover{background:var(--danger-softer);border-color:#f0c4c4}.profile-photo-icon-btn svg{width:16px;height:16px}.profile-photo-icon-btn input{display:none}.profile-photo{object-fit:cover;object-position:center;background:var(--surface);border-radius:11px;width:100%;height:100%;display:block}.profile-photo.is-empty{background:var(--paper);color:var(--brand-deep);place-items:center;font-size:2rem;font-weight:800;display:grid}.profile-photo-row{border:1px solid var(--line-strong);background:var(--paper);border-radius:14px;align-items:center;gap:14px;padding:12px 14px;display:flex}.profile-photo-copy{gap:8px;min-width:0;display:grid}.profile-photo-copy strong{color:var(--brand-deep);font-size:.9rem}.profile-photo-copy p{color:var(--ink);margin:0;font-size:.95rem;font-weight:700;line-height:1.4}.profile-photo-actions{flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:8px;width:auto;max-width:min(100%,320px);margin-top:0;display:flex}.profile-photo-btn,.profile-photo-remove{border:1px solid var(--line);background:var(--surface);min-height:34px;color:var(--brand-deep);cursor:pointer;border-radius:10px;align-items:center;padding:0 12px;font-size:.78rem;font-weight:700;display:inline-flex}.profile-photo-btn:hover,.profile-photo-remove:hover{background:var(--brand-soft)}.profile-photo-remove{background:var(--surface);color:var(--rose-deep);border-color:#f0d4d4}.profile-photo-remove:hover{background:var(--danger-softer)}.profile-photo-btn input{display:none}.profile-companies{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0;padding:0;list-style:none;display:grid}.profile-companies li{border:1px solid var(--line-strong);background:var(--paper);text-align:start;border-radius:12px;flex-direction:row;justify-content:flex-start;align-items:center;gap:10px;min-width:0;min-height:0;padding:12px 14px;display:flex}.profile-company-logo{border:1px solid var(--line);background:var(--surface);box-sizing:border-box;border-radius:8px;flex:none;place-items:center;width:48px;height:48px;padding:4px;display:grid;overflow:hidden}.profile-company-logo img{object-fit:contain;width:100%;height:100%}.profile-company-logo em{color:var(--brand-deep);font-style:normal;font-weight:800}.profile-company-copy{flex:1;justify-items:start;gap:2px;min-width:0;display:grid}.profile-company-copy strong{color:var(--brand-deep);font-size:.92rem;line-height:1.35}.profile-company-copy small{color:var(--muted);font-size:.78rem;font-weight:600}.profile-companies-empty{background:var(--paper);color:var(--muted);border-radius:12px;margin:0;padding:14px;font-size:.9rem}.profile-form{gap:12px;display:grid}.profile-section{background:0 0;border:none;border-radius:0;gap:12px;padding:0;display:grid}.profile-section h2{color:var(--brand-deep);letter-spacing:.01em;margin:0;padding-bottom:2px;font-size:.88rem;font-weight:800}.profile-section-photo{box-shadow:none;background:0 0;border:none;border-radius:0;flex-direction:column;align-items:center;gap:10px;padding:0;display:flex}.profile-section-title-row{background:linear-gradient(90deg, rgba(var(--brand-rgb), .08) 0%, transparent 42%), linear-gradient(180deg, var(--paper-bright) 0%, #f7f4ec 100%);box-shadow:inset 0 1px 0 rgba(var(--surface-rgb), .9);border:1px solid #ece6d8;border-radius:12px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:10px 14px;display:flex}.profile-section-title-row h2{flex:auto;align-items:center;gap:8px;min-width:0;padding-bottom:0;display:inline-flex}.profile-docs-head h3{flex:0 auto;align-items:center;gap:8px;min-width:0;display:inline-flex}.profile-title-icon{background:linear-gradient(180deg, var(--cream-bright) 0%, #f4efe3 100%);width:28px;height:28px;color:var(--brand);box-shadow:inset 0 1px 0 rgba(var(--surface-rgb), .9);border:1px solid #e8dfc8;border-radius:8px;flex:none;place-items:center;display:inline-grid}.profile-title-icon svg{display:block}.profile-docs-head-main{flex-wrap:wrap;flex:auto;justify-content:space-between;align-items:center;gap:10px;min-width:0;display:flex}.profile-docs-head-main h3{margin:0}.profile-section-edit{background:linear-gradient(180deg, var(--cream-bright) 0%, #f7f2e6 100%);min-height:38px;color:var(--brand-deep);white-space:nowrap;cursor:pointer;box-shadow:0 1px 2px rgba(var(--brand-deep-rgb), .06), inset 0 1px 0 rgba(var(--surface-rgb), .85);border:1px solid #e5dcc4;border-radius:10px;justify-content:center;align-items:center;gap:6px;padding:8px 16px;font-family:inherit;font-size:.82rem;font-weight:700;line-height:1.25;transition:background .15s,border-color .15s,box-shadow .15s,transform .1s;display:inline-flex}.profile-section-edit:hover{border-color:var(--brand-mid);background:linear-gradient(180deg, var(--surface) 0%, #faf3dc 100%);box-shadow:0 3px 10px rgba(var(--brand-deep-rgb), .12)}.profile-section-edit:active{transform:translateY(1px)}.profile-section-edit:focus-visible{outline:2px solid rgba(var(--brand-rgb), .45);outline-offset:2px}.profile-section-edit.is-icon-only{width:38px;min-width:38px;height:38px;padding:0}.profile-section-edit.is-file{position:relative}.profile-section-edit.is-file input{display:none}.profile-section-edit.is-danger{background:linear-gradient(180deg, var(--surface) 0%, var(--danger-softer) 100%);color:var(--rose-deep);border-color:#f0d4d4}.profile-section-edit.is-danger:hover{background:var(--danger-softer);border-color:#e8a8a8;box-shadow:0 2px 8px #9f12391a}.profile-section-actions{flex-wrap:wrap;flex:none;justify-content:flex-start;align-items:center;gap:8px;margin:0;display:inline-flex}.profile-section-title-row .profile-section-actions{margin-inline-start:auto}.profile-section-edit.is-save{border-color:var(--success);background:linear-gradient(145deg, #22c55e 0%, var(--success) 100%);color:var(--surface);box-shadow:0 2px 8px rgba(var(--success-rgb), .22)}.profile-section-edit.is-save:hover{color:var(--surface);box-shadow:0 4px 12px rgba(var(--success-rgb), .28);background:linear-gradient(145deg,#34d36a 0%,#166534 100%);border-color:#166534}.profile-section-edit.is-save:disabled{opacity:.65;cursor:not-allowed;transform:none}.profile-section-edit.is-cancel{background:linear-gradient(180deg, var(--surface) 0%, var(--danger-softer) 100%);color:var(--rose);box-shadow:0 1px 3px rgba(var(--rose-rgb), .08);border-color:#f0c4c4}.profile-section-edit.is-cancel:hover{background:var(--danger-softer);color:var(--rose-deep);box-shadow:0 2px 8px rgba(var(--rose-rgb), .14);border-color:#e8a8a8}.profile-section-edit.is-cancel:disabled{opacity:.65;cursor:not-allowed;transform:none}.profile-password-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-password-shell{border:1px solid var(--line-sand);background:var(--surface);min-height:40px;box-shadow:inset 0 1px 2px rgba(var(--brand-deep-rgb), .04);border-radius:10px;align-items:center;display:flex}.profile-password-shell:focus-within{border-color:var(--brand);box-shadow:0 0 0 3px rgba(var(--brand-rgb), .2)}.profile-grid .profile-password-shell input{min-width:0;box-shadow:none;background:0 0;border:none;flex:1}.profile-grid .profile-password-shell input:focus{box-shadow:none;border:none}.profile-password-toggle{width:36px;height:36px;color:var(--brand-deep);cursor:pointer;background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;margin-inline-end:2px;display:inline-flex}.profile-password-toggle:hover{background:rgba(var(--brand-rgb), .08)}.profile-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.profile-grid label,.profile-form label{min-width:0;color:var(--brand-deep);gap:5px;font-size:.82rem;font-weight:700;display:grid}.profile-grid input,.profile-form input,.profile-form textarea{box-sizing:border-box;border:1px solid var(--line-sand);background:var(--surface);width:100%;min-width:0;max-width:100%;min-height:40px;color:var(--ink);box-shadow:inset 0 1px 2px rgba(var(--brand-deep-rgb), .04);border-radius:10px;padding:9px 12px;font-weight:600;transition:border-color .15s,box-shadow .15s}.profile-grid input:focus,.profile-form input:focus,.profile-form textarea:focus{border-color:var(--brand);box-shadow:0 0 0 3px rgba(var(--brand-rgb), .2);outline:none}.profile-grid .is-wide{grid-column:1/-1}.profile-view-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.profile-grid.is-official,.profile-view-grid.is-official{grid-template-columns:repeat(3,minmax(0,1fr))}.profile-page .profile-view-item{border:1px solid var(--line);background:var(--paper-bright);min-width:0;box-shadow:inset 0 1px 0 rgba(var(--surface-rgb), .9);border-radius:12px;flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:4px 6px;padding:12px 14px;display:flex}.profile-view-item.is-wide{grid-column:1/-1}.profile-view-item.is-tone-warn{background:#fff8eb;border-color:#f0e0b8}.profile-view-item.is-tone-danger{background:var(--danger-softer);border-color:#f0d4d4}.profile-section-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.profile-section-head h2{flex:auto;min-width:0}.profile-renewal-chips{flex-wrap:wrap;gap:8px;display:flex}.profile-renewal-chip{background:#f5efd8;border:1px solid #ebe0b8;border-radius:12px;gap:2px;min-width:132px;padding:8px 12px;display:grid}.profile-renewal-chip small{color:inherit;opacity:.78;font-size:.68rem;font-weight:700}.profile-renewal-chip strong{color:inherit;font-size:.84rem;font-weight:800;line-height:1.3}.profile-renewal-chip.is-ok{color:#1f6b3a;background:#edf7f0;border-color:#c8e6d0}.profile-renewal-chip.is-soon{color:#8a5a00;background:#fff3d6;border-color:#f0d9a0}.profile-renewal-chip.is-overdue{color:var(--rose-deep);background:#fde8e8;border-color:#f0c4c4}.profile-docs-block{gap:8px;padding-top:4px;display:grid}.profile-docs-block+.profile-docs-block{border-top:1px solid var(--line-soft);margin-top:4px;padding-top:12px}.profile-docs-block h3,.profile-docs-title{color:var(--brand-deep);margin:0;font-size:.78rem;font-weight:800}.profile-docs-head{background:linear-gradient(90deg, rgba(var(--brand-rgb), .06) 0%, transparent 50%), linear-gradient(180deg, #fffcf7 0%, #f8f5ee 100%);border:1px solid #eee8dc;border-radius:10px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;min-width:0;padding:9px 12px;display:flex}.profile-docs-head .profile-remaining-line{flex:0 auto;min-width:0;margin:0}.profile-docs-readonly-hint{color:var(--muted);margin:0;font-size:.8rem;font-weight:600;line-height:1.4}.profile-remaining-line{white-space:nowrap;text-overflow:ellipsis;color:#7a6418;flex-wrap:nowrap;align-items:baseline;gap:6px;margin:2px 0 0;padding:0;font-size:.84rem;font-weight:700;line-height:1.35;display:flex;overflow:hidden}.profile-remaining-line span{color:inherit;opacity:.9;font-weight:700}.profile-remaining-line strong{color:inherit;font-weight:800}.profile-remaining-line.is-ok{color:#1f6b3a}.profile-remaining-line.is-soon{color:#8a5a00}.profile-remaining-line.is-overdue{color:var(--rose-deep)}.profile-docs-grid{grid-template-columns:1fr 1fr}.profile-docs-grid-single{grid-template-columns:1fr}.profile-contract-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.profile-contract-line{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:10px;display:grid}.profile-contract-line label,.profile-residence-line label{min-width:0}.profile-residence-line{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:10px;display:grid}.profile-record{gap:8px;display:grid}.profile-record+.profile-record{border-top:1px solid var(--line-mist);padding-top:14px}.profile-record h3{color:var(--brand-deep);margin:0;font-size:.82rem;font-weight:800}.profile-view-item span{min-width:0;color:var(--muted);letter-spacing:.01em;white-space:nowrap;flex:none;font-size:.78rem;font-weight:700}.profile-view-item span:after{content:":"}.profile-view-item strong{min-width:0;color:var(--ink);text-align:start;overflow-wrap:anywhere;flex:0 auto;font-size:.9rem;font-weight:700;line-height:1.35}.profile-form label.profile-view-item-edit,.profile-view-item.profile-view-item-edit{cursor:text;color:inherit;font-size:inherit;font-weight:inherit;background:0 0;border-color:#0000;flex-wrap:nowrap;align-items:center;gap:8px;margin:0;display:flex}.profile-form label.profile-view-item-edit input,.profile-form .profile-view-item-edit input,.profile-view-item-edit input{box-sizing:border-box;background:var(--cream-bright);width:300px;min-width:300px;max-width:300px;min-height:34px;color:var(--ink);font:inherit;text-align:start;box-shadow:inset 0 1px 2px rgba(var(--brand-deep-rgb), .04);border:1px solid #e0d8c4;border-radius:8px;flex:none;margin:0;padding:6px 10px;font-size:.9rem;font-weight:700;line-height:1.35;transition:border-color .15s,box-shadow .15s,background .15s}.profile-form label.profile-view-item-edit input:focus,.profile-form .profile-view-item-edit input:focus,.profile-view-item-edit input:focus{border-color:var(--brand);background:var(--surface);box-shadow:0 0 0 3px rgba(var(--brand-rgb), .18), inset 0 1px 2px rgba(var(--brand-deep-rgb), .04);outline:none}.profile-national-id-row{flex-wrap:nowrap;align-items:center;gap:8px}.profile-national-id-row .profile-section-actions,.profile-national-id-row .profile-section-edit{flex:none;margin-inline-start:2px}.profile-national-id-row .profile-section-edit.is-icon-only{width:32px;min-width:32px;height:32px}.profile-renewal{color:#7a6418;letter-spacing:0;background:#f5efd8;border-radius:999px;align-items:center;width:fit-content;max-width:100%;margin-top:1px;padding:3px 9px;font-size:.8rem;font-weight:800;line-height:1.3;display:inline-flex}.profile-renewal.is-ok{color:#1f6b3a;background:#edf7f0}.profile-renewal.is-soon{color:#8a5a00;background:#fff3d6}.profile-renewal.is-overdue{color:var(--rose-deep);background:#fde8e8}@media (width<=1100px){.profile-grid,.profile-view-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=760px){.profile-toolbar{align-items:flex-start}.profile-toolbar-actions{width:100%}.profile-toolbar-actions .btn{flex:1}.profile-identity{align-items:center}.profile-companies{grid-template-columns:1fr}.profile-section-head{flex-direction:column;align-items:stretch}.profile-renewal-chips{width:100%}.profile-renewal-chip{flex:calc(50% - 4px);min-width:0}.profile-grid,.profile-view-grid,.profile-contract-line,.profile-residence-line,.profile-docs-grid,.profile-contract-grid{grid-template-columns:1fr}}.sector-modal.modal{width:min(760px,100%)}.sector-modal .modal-head{border-bottom:1px solid var(--line-soft);align-items:flex-start;gap:12px;padding:16px 18px 14px}.sector-modal .modal-head h2{color:var(--brand-deep);margin:0;font-size:1.15rem;line-height:1.35}.sector-modal .modal-desc{color:var(--muted);max-width:36rem;margin:6px 0 0;font-size:.86rem;line-height:1.5}.sector-modal-body{gap:14px;padding:16px 18px;display:grid}.sector-modal-form{gap:16px;display:grid}.sector-modal-form .field span{color:var(--brand-deep);font-size:.86rem;font-weight:800}.sector-logo-panel{box-shadow:none;background:0 0;border:0;border-radius:0;justify-content:center;align-items:center;padding:4px 0 8px;display:flex}.sector-logo-stage{justify-items:center;gap:0;display:grid}.sector-logo-preview{border:1px solid var(--line-gold);background:var(--surface);width:112px;height:112px;color:var(--brand-deep);box-shadow:0 4px 14px rgba(var(--brand-deep-rgb), .08);border-radius:16px;flex:none;place-items:center;font-size:1.8rem;font-weight:800;display:grid;position:relative;overflow:hidden}.sector-logo-preview img{object-fit:contain;box-sizing:border-box;width:100%;height:100%;padding:10px}.sector-logo-preview span{place-items:center;display:grid}.sector-logo-overlay{opacity:0;background:linear-gradient(#0000 35%,#141c1a73 100%);justify-content:center;align-items:flex-end;gap:8px;padding:10px;transition:opacity .16s;display:flex;position:absolute;inset:0}.sector-logo-preview:hover .sector-logo-overlay,.sector-logo-preview:focus-within .sector-logo-overlay{opacity:1}.sector-logo-icon-btn{border:1px solid rgba(var(--surface-rgb), .75);background:rgba(var(--surface-rgb), .96);width:34px;height:34px;color:var(--brand-deep);cursor:pointer;border-radius:10px;place-items:center;margin:0;padding:0;transition:background .15s,color .15s,border-color .15s,transform .15s;display:inline-grid;box-shadow:0 2px 8px #141c1a2e}.sector-logo-icon-btn:hover{background:var(--surface);border-color:var(--surface);color:var(--brand-ink);transform:translateY(-1px)}.sector-logo-icon-btn.is-danger{color:var(--rose)}.sector-logo-icon-btn.is-danger:hover{color:var(--rose-deep);background:#fff1f3}.sector-logo-icon-btn svg{display:block}.sector-logo-icon-btn input,.sector-logo-caption,.sector-logo-meta,.sector-logo-copy,.sector-logo-actions,.sector-logo-upload,.sector-logo-remove{display:none}.sector-modal-foot{background:var(--paper-bright);border-top:1px solid #ebe3cf;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;padding:12px 18px;display:flex}.sector-modal-foot .btn{border-radius:6px;height:40px;min-height:40px;padding:0 16px;font-weight:700}@media (width<=760px){.sector-modal-foot{flex-direction:column;align-items:stretch}.sector-modal-foot .btn{width:100%;height:44px;min-height:44px}.sector-logo-panel{text-align:center;justify-content:center}.sector-logo-preview{margin-inline:auto}.sector-logo-overlay{opacity:1}.sector-modal-form .company-pair,.sector-modal-form .company-contact-fields{grid-template-columns:1fr}}.sector-page.panel{box-shadow:0 8px 24px rgba(var(--brand-deep-rgb), .06);background:radial-gradient(90% 60% at 100% 0%, rgba(var(--brand-rgb), .05), transparent 55%), var(--surface);padding:20px 22px 24px}.sector-page.panel:before{height:3px}.sector-page-hero{border-bottom:1px solid var(--line);align-items:center;margin:0 0 20px;padding:0 0 16px;display:flex}.sector-page-back{border:1px solid var(--cream-line);background:linear-gradient(180deg, var(--cream-bright) 0%, var(--cream) 100%);width:fit-content;height:40px;min-height:40px;color:var(--brand-deep);cursor:pointer;box-shadow:0 1px 2px rgba(var(--brand-deep-rgb), .06);border-radius:8px;justify-content:center;align-items:center;gap:8px;margin:0;padding:0 14px 0 12px;font-size:.88rem;font-weight:700;line-height:1;transition:color .18s,border-color .18s,background .18s,box-shadow .18s,transform .18s;display:inline-flex}.sector-page-back-icon{flex:none;display:block}html[dir=ltr] .sector-page-back-icon{transform:scaleX(-1)}.sector-page-back:hover{color:var(--brand-ink);border-color:var(--brand-line);background:linear-gradient(180deg, var(--surface) 0%, #f3ecda 100%);box-shadow:0 4px 12px rgba(var(--brand-deep-rgb), .12)}.sector-page-back:active{box-shadow:0 1px 3px rgba(var(--brand-deep-rgb), .1);transform:translateY(1px)}.sector-page-back:focus-visible{border-color:var(--brand);box-shadow:0 0 0 3px rgba(var(--brand-rgb), .22);outline:none}.sector-page-actions{display:none}.sector-page-sections{gap:18px;display:grid}.sector-section{border:1px solid var(--line);background:var(--surface);box-shadow:0 4px 16px rgba(var(--brand-deep-rgb), .04);border-radius:12px;gap:18px;padding:18px 20px 20px;display:grid}.sector-section.sector-branches-section,.sector-section#sector-basics{box-shadow:none;background:0 0;border:0;border-radius:0;padding:4px 0 0}.sector-section.is-editing{border-color:var(--line-gold);box-shadow:0 6px 18px rgba(var(--brand-deep-rgb), .07)}.sector-section-head{border-bottom:0;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px 16px;margin:0;padding:0;display:flex}.sector-section-copy{border-inline-start:0;flex:220px;min-width:0;padding-inline-start:0}.sector-section-head h2{color:var(--brand-deep);letter-spacing:.01em;margin:0;font-size:1.08rem;font-weight:800;line-height:1.35}.sector-section-head p{color:var(--muted);max-width:40rem;margin:5px 0 0;font-size:.84rem;line-height:1.5}.sector-section-head-actions{flex-wrap:wrap;gap:8px;display:flex}.sector-section-head .btn,.sector-section-head-actions .btn,.sector-section-action{border-radius:8px;flex:none;height:40px;min-height:40px;padding:0 14px;font-size:.86rem;font-weight:700}.sector-icon-btn{border:1px solid var(--line-gold);background:linear-gradient(180deg, var(--paper-bright) 0%, var(--brand-soft) 100%);width:40px;height:40px;color:var(--brand-deep);cursor:pointer;box-shadow:0 1px 3px rgba(var(--brand-deep-rgb), .06);border-radius:10px;flex:none;place-items:center;margin:0;padding:0;transition:color .16s,border-color .16s,background .16s,box-shadow .16s,transform .16s;display:inline-grid}.sector-icon-btn:hover{color:var(--brand-ink);border-color:var(--brand-line);background:var(--surface);box-shadow:0 4px 12px rgba(var(--brand-deep-rgb), .12)}.sector-icon-btn:active{transform:translateY(1px)}.sector-icon-btn:focus-visible{border-color:var(--brand);box-shadow:0 0 0 3px rgba(var(--brand-rgb), .22);outline:none}.sector-icon-btn:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}.sector-icon-btn svg{display:block}.sector-basics-banner{display:none}.sector-basics-identity{background:linear-gradient(135deg, rgba(var(--brand-rgb), .08) 0%, transparent 42%), linear-gradient(180deg, var(--paper-bright) 0%, var(--brand-soft) 100%);border:1px solid #efe7d4;border-radius:10px;align-items:center;gap:16px;min-width:0;padding:14px 16px;display:flex}.sector-basics-logo{object-fit:contain;box-sizing:border-box;border:1px solid var(--line-gold);background:var(--surface);width:76px;height:76px;box-shadow:0 2px 8px rgba(var(--brand-deep-rgb), .08);border-radius:14px;flex:none;padding:7px;display:block}.sector-basics-logo.is-fallback{color:var(--brand-deep);background:linear-gradient(180deg, var(--surface) 0%, var(--cream) 100%);place-items:center;padding:0;font-size:1.5rem;font-weight:800;line-height:1;display:grid}.sector-basics-identity-copy{gap:6px;min-width:0;display:grid}.sector-basics-name-ar{color:var(--ink);min-width:0;margin:0;font-size:1.12rem;font-weight:700;line-height:1.3}.sector-basics-name-en{color:var(--muted);min-width:0;margin:0;margin-inline-start:auto;font-size:.92rem;font-weight:500;line-height:1.3}.sector-basics-name{color:var(--ink);overflow-wrap:anywhere;min-width:0;margin:0;font-size:clamp(1.18rem,2vw,1.4rem);font-weight:800;line-height:1.35}.sector-basics-specialty{color:var(--muted);overflow-wrap:anywhere;margin:0;font-size:.9rem;font-weight:500;line-height:1.5}.sector-basics-table-wrap{box-shadow:0 2px 10px rgba(var(--brand-deep-rgb), .04);background:var(--surface);border:1px solid #ebe4d2;border-radius:12px;overflow:hidden}.sector-page .sector-basics-table{border-collapse:separate;border-spacing:0;width:100%;min-width:640px}.sector-page .sector-basics-table th,.sector-page .sector-basics-table td{text-align:center;vertical-align:middle;padding:14px 16px}.sector-page .sector-basics-table thead th{background:linear-gradient(180deg, var(--brand-soft) 0%, #f3efe3 100%);color:var(--brand-deep);letter-spacing:.02em;border-bottom:1px solid var(--line-taupe);white-space:nowrap;font-size:.76rem;font-weight:800}.sector-page .sector-basics-table thead th:first-child{border-start-start-radius:11px}.sector-page .sector-basics-table thead th:last-child{border-start-end-radius:11px}.sector-page .sector-basics-table tbody td{background:var(--surface);border-bottom:0}.sector-page .sector-basics-table tbody tr:hover td{background:#faf6eb}.sector-page .sector-basics-table .cell-title,.sector-page .sector-basics-table .cell-muted{text-align:center;overflow-wrap:anywhere;word-break:break-word;margin-inline:auto;display:block}.sector-page .sector-basics-table .cell-title{color:var(--ink);font-size:.92rem;font-weight:800;line-height:1.4}.sector-page .sector-basics-table .cell-muted{color:#6b6558;font-size:.88rem;font-weight:600;line-height:1.45}.sector-page .sector-basics-table .cell-muted.is-link{color:var(--brand-deep);width:fit-content;max-width:100%;text-decoration:none;transition:color .15s}.sector-page .sector-basics-table .cell-muted.is-link:hover{color:var(--brand);text-decoration:underline}.sector-basics-table-logo{object-fit:contain;box-sizing:border-box;border:1px solid var(--line-taupe);background:var(--surface);width:48px;height:48px;box-shadow:0 1px 4px rgba(var(--brand-deep-rgb), .06);border-radius:10px;flex:none;margin-inline:auto;padding:4px;display:block}.sector-basics-table-logo .app-image{width:100%;height:100%}.sector-basics-table-logo.is-fallback{color:var(--brand-deep);background:linear-gradient(180deg, var(--surface) 0%, var(--cream) 100%);place-items:center;padding:0;font-size:1rem;font-weight:800;line-height:1;display:grid}.sector-page .sector-basics-logo-cell,.sector-page .sector-basics-actions-cell{white-space:nowrap;width:1%}.sector-page .sector-basics-actions-cell .sector-icon-btn{width:36px;height:36px;margin-inline:auto}.sector-basics-form,.sector-branches-editor{gap:14px;display:grid}.sector-section-actions{border-top:1px solid var(--line-soft);flex-wrap:wrap;justify-content:flex-end;gap:8px;padding-top:8px;display:flex}.sector-section-actions .btn{border-radius:8px;height:40px;min-height:40px;padding:0 16px;font-weight:700}.sector-branches-empty-state{text-align:center;border:1px dashed var(--cream-line);background:radial-gradient(60% 80% at 50% 0%, rgba(var(--brand-rgb), .06), transparent 70%), #fcfbf7;border-radius:10px;justify-items:center;gap:14px;padding:40px 20px;display:grid}.sector-branches-empty-state p{color:var(--muted);max-width:22rem;margin:0;font-size:.92rem;line-height:1.5}.sector-branches-table-wrap{box-shadow:0 2px 10px rgba(var(--brand-deep-rgb), .04);background:var(--surface);border:1px solid #ebe4d2;border-radius:12px;overflow:hidden}.sector-page .branches-table{border-collapse:separate;border-spacing:0;width:100%;min-width:640px}.sector-page .branches-table th,.sector-page .branches-table td{text-align:center;vertical-align:middle;padding:14px 18px}.sector-page .branches-table thead th{background:linear-gradient(180deg, var(--brand-soft) 0%, #f3efe3 100%);color:var(--brand-deep);letter-spacing:.03em;border-bottom:1px solid var(--line-taupe);white-space:nowrap;text-align:center;font-size:.76rem;font-weight:800}.sector-page .branches-table thead th:first-child{border-start-start-radius:11px}.sector-page .branches-table thead th:last-child{border-start-end-radius:11px}.sector-page .branches-table tbody td{background:var(--surface);text-align:center;border-bottom:1px solid #f1ece1}.sector-page .branches-table tbody tr:nth-child(2n) td{background:#fcfbf8}.sector-page .branches-table tbody tr:last-child td{border-bottom:0}.sector-page .branches-table tbody tr:last-child td:first-child{border-end-start-radius:11px}.sector-page .branches-table tbody tr:last-child td:last-child{border-end-end-radius:11px}.sector-page .branches-table tbody tr:hover td{background:#faf6eb}.sector-page .branches-table tbody tr.is-editing td{background:#f7f2e4}.sector-page .branches-table td>*{margin-inline:auto}.sector-page .branches-table .cell-title,.sector-page .branches-table .cell-muted{text-align:center;overflow-wrap:anywhere;margin-inline:auto;display:block}.sector-page .branches-table .cell-title{color:var(--ink);font-size:.94rem;font-weight:800;line-height:1.4}.sector-page .branches-table .cell-muted{color:#6b6558;font-size:.88rem;font-weight:500;line-height:1.45}.sector-page .branch-cell-input{border:1px solid var(--line-gold);background:var(--surface);width:100%;min-width:0;max-width:260px;height:38px;min-height:38px;font:inherit;color:var(--ink);text-align:center;box-sizing:border-box;border-radius:8px;margin-inline:auto;padding:0 10px;font-size:.88rem}.sector-page .branch-cell-input:focus{border-color:var(--brand-line);box-shadow:0 0 0 3px rgba(var(--brand-rgb), .12);outline:none}.sector-page .branch-actions-cell{white-space:nowrap;text-align:center;width:1%}.sector-page .branch-row-actions{flex-wrap:nowrap;justify-content:center;align-items:center;gap:8px;margin-inline:auto;display:inline-flex}.sector-page .branch-row-actions .sector-icon-btn{border-radius:9px;width:34px;height:34px}.sector-icon-btn.is-danger{color:var(--rose);background:linear-gradient(180deg, var(--surface) 0%, #fff5f6 100%);border-color:#f0d4d8}.sector-icon-btn.is-danger:hover{color:var(--rose-deep);box-shadow:0 4px 12px rgba(var(--rose-rgb), .12);background:#fff1f3;border-color:#f0b8c0}.sector-icon-btn.is-danger:focus-visible{border-color:var(--rose-hot);box-shadow:0 0 0 3px #e11d4829}@media (width<=1100px){.sector-page.panel{padding:18px}}@media (width<=1024px){.sector-page-hero{gap:12px;margin-bottom:16px;padding-bottom:14px}.sector-section{gap:16px;padding:16px}.sector-section.sector-branches-section,.sector-section#sector-basics{box-shadow:none;background:0 0;border:0;padding:0}.sector-page .sector-branches-table-wrap,.sector-page .sector-basics-table-wrap{box-shadow:none;background:0 0;border:0;overflow:visible}.sector-page .branches-table,.sector-page .sector-basics-table{width:100%;min-width:0}.sector-page .branches-table thead{display:none}.sector-page .branches-table tbody{gap:12px;display:grid}.sector-page .branches-table tbody tr.branch-row{background:var(--surface);box-shadow:0 2px 8px rgba(var(--brand-deep-rgb), .04);border:1px solid #ebe3cf;border-radius:10px;gap:12px;padding:14px 16px;display:grid}.sector-page .branches-table tbody tr.branch-row:hover td,.sector-page .branches-table tbody tr.is-editing td{background:0 0}.sector-page .branches-table tbody td{text-align:start;background:0 0;border:0;grid-template-columns:minmax(5.5rem,34%) minmax(0,1fr);align-items:center;gap:8px;padding:0;display:grid}.sector-page .branches-table tbody td:before{content:attr(data-label);color:var(--muted);text-align:start;font-size:.74rem;font-weight:700}.sector-page .branches-table td>*{justify-self:stretch;margin-inline:0}.sector-page .branches-table .cell-title,.sector-page .branches-table .cell-muted{text-align:start;margin-inline:0}.sector-page .branch-cell-input{text-align:start;width:100%;max-width:none;height:40px;min-height:40px}.sector-page .branches-table tbody td.branch-actions-cell{white-space:normal;border-top:1px solid var(--line-soft);grid-template-columns:1fr;width:auto;padding-top:10px}.sector-page .branches-table tbody td.branch-actions-cell:before{display:none}.sector-page .branch-row-actions{grid-template-columns:none;justify-content:center;gap:8px;width:auto;display:inline-flex}.sector-page .branch-row-actions .sector-icon-btn{width:40px;height:40px}}@media (width<=760px){.sector-page.panel{padding:14px}.sector-page-hero,.sector-section-head,.sector-section-actions{flex-direction:column;align-items:stretch}.sector-page-back{justify-content:center;width:100%;height:44px;min-height:44px}.sector-section-head .btn,.sector-section-actions .btn,.sector-section-action{flex:none;width:100%;height:44px;min-height:44px}.sector-icon-btn{width:44px;height:44px}.sector-section-copy{border-inline-start:0;padding-inline-start:0}.sector-basics-identity{align-items:flex-start;gap:12px;padding:12px}.sector-basics-logo{width:64px;height:64px}.sector-page .sector-basics-table thead{display:none}.sector-page .sector-basics-table tbody,.sector-page .sector-basics-table tbody tr{gap:10px;display:grid}.sector-page .sector-basics-table tbody td{background:var(--surface);text-align:start;border:1px solid #ebe4d2;border-radius:10px;grid-template-columns:minmax(7rem,38%) 1fr;align-items:center;gap:8px;padding:12px 14px;display:grid}.sector-page .sector-basics-table tbody td:before{content:attr(data-label);color:var(--brand-deep);font-size:.74rem;font-weight:800}.sector-page .sector-basics-table .cell-title,.sector-page .sector-basics-table .cell-muted{text-align:start;margin-inline:0}.sector-page .sector-basics-logo-cell .sector-basics-table-logo{margin-inline:0}.sector-page .sector-basics-table tbody td.sector-basics-actions-cell{grid-template-columns:1fr;justify-items:center}.sector-page .sector-basics-table tbody td.sector-basics-actions-cell:before{display:none}.sector-section-head{margin-bottom:0;padding-bottom:12px}.sector-page .branches-table tbody td{grid-template-columns:1fr;align-items:start;gap:4px}.sector-page .company-pair,.sector-page .company-contact-fields{grid-template-columns:1fr}}@media (width<=480px){.sector-page.panel{padding:12px}.sector-section{border-radius:10px;padding:14px}.sector-page .branches-table tbody tr.branch-row{padding:12px}.sector-page .branch-row-actions{grid-template-columns:1fr}}.customers-panel{flex-direction:column;gap:16px;display:flex}.customers-panel .users-panel-hero{margin:0}.customers-panel .users-panel-filters.status-tabs-chips{display:flex}.customers-panel .users-panel-actions .customers-type-filter{flex:0 168px;min-width:148px;max-width:180px}.customers-stats{background:#fff;border:1px solid #ebe4d6;border-radius:16px;flex-wrap:wrap;align-items:center;gap:4px;width:fit-content;max-width:100%;margin:0;padding:6px;display:inline-flex}.customers-stat{min-height:38px;box-shadow:none;color:inherit;font:inherit;white-space:nowrap;cursor:pointer;background:0 0;border:0;border-radius:11px;align-items:center;gap:8px;margin:0;padding:0 12px;display:inline-flex}.customers-stat.is-on{background:#f8f4ea}.customers-stat.is-on.is-active{background:#eef8f2}.customers-stat.is-on.is-inactive{background:#fdf3f2}.customers-stat.is-static{cursor:default}.customers-stat:focus-visible{outline:2px solid var(--brand);outline-offset:2px}.customers-stat span{color:#6f664f;font-size:.84rem;font-weight:800;line-height:1}.customers-stat strong{color:#1c1914;font-variant-numeric:tabular-nums;background:#fff;border:1px solid #e4d3a4;border-radius:8px;place-items:center;min-width:28px;height:26px;padding:0 7px;font-size:.92rem;line-height:1;display:inline-grid;box-shadow:0 1px 2px #1c19140f}.customers-stat.is-on.is-active strong{color:#fff;background:#157a45;border-color:#157a45}.customers-stat.is-on.is-inactive strong{color:#fff;background:#b42318;border-color:#b42318}.customers-board{min-width:0}.customers-panel .customers-table-scroll{border-radius:14px}.customers-panel .customers-table{table-layout:fixed;min-width:720px}.customers-panel .customers-table thead th{color:var(--brand-deep);letter-spacing:0;border-bottom:1px solid var(--line);text-align:center;background:linear-gradient(#fbf8f1 0%,#f3efe3 100%);padding:12px 16px;font-size:.78rem;font-weight:800}.customers-panel .customers-table tbody td{text-align:center;vertical-align:middle;padding:14px 16px}.customers-panel .customers-table tbody tr:nth-child(odd):not(.row-inactive){background:var(--surface)}.customers-panel .customers-table tbody tr:nth-child(2n):not(.row-inactive){background:#eef5f7}.customers-panel .customers-table tbody tr:hover:not(.row-inactive){background:#fbfaf5}.customers-panel .customers-table tbody tr.row-inactive,.customers-panel .customers-table tbody tr.row-inactive td{color:inherit;box-shadow:none;background:#faf8f6}.customers-panel .customers-table tbody tr.row-inactive:hover,.customers-panel .customers-table tbody tr.row-inactive:hover td{background:#f5f1eb}.customers-panel .customers-table th:first-child,.customers-panel .customers-table td:first-child{width:24%}.customers-panel .customers-table th:nth-child(2),.customers-panel .customers-table td:nth-child(2){width:13%}.customers-panel .customers-table th:nth-child(3),.customers-panel .customers-table td:nth-child(3){width:30%}.customers-panel .customers-table th:nth-child(4),.customers-panel .customers-table td:nth-child(4){width:10%}.customers-panel .customers-table th:nth-child(5),.customers-panel .customers-table td:nth-child(5){width:11%}.customers-panel .customers-table th:nth-child(6),.customers-panel .customers-table td:nth-child(6){width:12%}.customers-panel .customers-table td.customers-name>*,.customers-panel .customers-table td.customers-contact-cell>*{margin-inline:auto}.customers-identity{flex-direction:column;align-items:center;gap:3px;min-width:0;margin-inline:auto;display:flex}.customers-identity strong,.customers-identity small,.customers-contact strong,.customers-contact a,.customers-contact bdi{text-overflow:ellipsis;white-space:nowrap;max-width:100%;display:block;overflow:hidden}.customers-identity strong,.customers-contact strong{color:var(--ink);font-size:.95rem;line-height:1.35}.customers-identity small,.customers-contact bdi,.customers-contact a{color:var(--muted);font-size:.82rem;line-height:1.4}.customers-contact{flex-direction:column;align-items:center;gap:2px;min-width:0;margin-inline:auto;display:flex}.customers-contact a{color:var(--brand-deep);text-decoration:none}.customers-contact a:hover{text-decoration:underline}.customers-type{color:#6d5720;white-space:nowrap;background:#f6f1e4;border-radius:999px;justify-content:center;align-items:center;max-width:100%;min-height:28px;padding:0 10px;font-size:.8rem;font-style:normal;font-weight:700;display:inline-flex}.customers-type.is-individual{color:#245066;background:#eef4f8}.customers-type.is-government{color:#5a3d78;background:#f3eef8}.customers-type.is-other{color:#5c584e;background:#f4f4f1}.customers-cases{background:var(--brand-soft);min-width:34px;height:34px;color:var(--brand-deep);font-variant-numeric:tabular-nums;border-radius:10px;justify-content:center;align-items:center;padding:0 8px;font-weight:800;display:inline-flex}.customers-cases i{display:none}.customers-actions{justify-content:center;align-items:center;gap:6px;margin-inline:auto;display:inline-flex}.customers-panel .customers-actions .icon-action:disabled{opacity:.4;cursor:not-allowed;color:#b7b0a2;border-color:var(--line);box-shadow:none;background:#f4f1ea;transform:none}.customers-cards{margin:0;padding:0;list-style:none;display:none}.modal:has(.customer-editor){border-radius:22px;width:min(680px,100vw - 28px)}.modal:has(.customer-editor) .modal-head{border-bottom:1px solid #efe6d4;align-items:center;padding:16px 18px}.modal:has(.customer-editor) .modal-brand{align-items:center}.modal:has(.customer-editor) .modal-desc{text-align:start;margin:4px 0 0}.modal:has(.customer-editor) .modal-body{background:#f7f4ee;padding:16px 18px 18px;display:block}.customer-editor{gap:12px;display:grid}.customer-editor-section{background:var(--surface);border:1px solid #efe6d4;border-radius:18px;gap:14px;padding:16px;display:grid}.customer-editor-section-head h3{color:var(--brand-deep);margin:0;font-size:.98rem;font-weight:800;line-height:1.3}.customer-editor-grid{grid-template-columns:1fr 1fr;align-items:start;gap:14px 16px;display:grid}.customer-editor-span{grid-column:1/-1}.customer-editor .field>span{color:var(--brand-deep);text-align:start;margin:0;font-size:.9rem;font-weight:800;display:block}.customer-editor .field input,.customer-editor .field .ui-select-trigger{text-align:start;border-radius:12px;width:100%;min-height:46px}.customer-editor .field small{color:#9b3b32;text-align:start}.customer-editor .field.is-invalid input,.customer-editor .field.is-invalid .ui-select-trigger{border-color:#c45b52}.customer-editor-status{background:var(--surface);border:1px solid #efe6d4;border-radius:16px;justify-content:space-between;align-items:center;gap:12px;min-height:58px;padding:12px 16px;display:flex}.customer-editor-status>span{color:var(--brand-deep);font-size:.95rem;font-weight:800}.customer-editor-actions{background:var(--surface);border-top:1px solid #efe6d4;justify-content:flex-end;gap:10px;margin:4px -18px -18px;padding:14px 18px;display:flex}.customer-editor-actions .btn{border-radius:12px;min-width:104px;min-height:42px}@media (width<=1180px){.customers-stats{width:100%}}@media (width<=1024px){.customers-panel .customers-table th,.customers-panel .customers-table td{padding:12px 10px}}@media (width<=800px){.customers-panel .customers-table-scroll{display:none}.customers-cards{gap:12px;display:grid}.customers-cards li{background:#fff;border:1px solid #e7e0d2;border-radius:16px;gap:12px;padding:16px;display:grid;box-shadow:0 1px 2px #1c19140a}.customers-cards .customers-identity,.customers-cards .customers-contact{text-align:start;align-items:flex-start}.customers-cards li.is-inactive{background:var(--danger-soft)}.customers-card-top,.customers-card-foot{justify-content:space-between;align-items:center;gap:10px;min-width:0;display:flex}.customers-card-top .customers-identity{flex:auto}.customers-card-foot{border-top:1px solid var(--line);flex-wrap:wrap;padding-top:10px}.customers-cards .customers-cases{background:0 0;gap:6px;width:auto;min-width:0;height:auto;padding:0}.customers-cards .customers-cases i{color:var(--muted);font-size:.78rem;font-style:normal;font-weight:600;display:inline}.customers-cards .customers-contact a,.customers-cards .customers-contact bdi,.customers-cards .customers-identity small,.customers-cards .customers-identity strong{white-space:normal}}@media (width<=640px){.customers-stat{flex:calc(50% - 4px);justify-content:space-between}.customer-editor-grid{grid-template-columns:1fr}.customer-editor-actions{flex-direction:column-reverse}.customer-editor-actions .btn{width:100%}}.customers-open{width:100%;color:inherit;font:inherit;text-align:start;cursor:pointer;background:0 0;border:0;margin:0;padding:0;display:flex}.customers-open:focus-visible,.customers-card-open:focus-visible,.customers-cases-link:focus-visible,.customer-case-card:focus-visible{outline:2px solid var(--brand);outline-offset:2px}.customers-cases-link{color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:6px;margin:0;padding:0;font-weight:800;display:inline-flex}.customers-card-open{width:100%;color:inherit;font:inherit;text-align:start;cursor:pointer;background:0 0;border:0;gap:10px;margin:0;padding:0;display:grid}.customer-detail-head{flex-wrap:wrap;align-items:center;gap:12px 16px;display:flex}.customer-detail-back{flex:none}.customer-detail-title{flex:220px;min-width:0}.customer-detail-title h1{margin:0}.customer-detail-title p{color:var(--muted);margin:4px 0 0;font-weight:700}.customer-detail-state{color:#0f7a43;background:#e7f6ee;border-radius:999px;align-items:center;min-height:28px;padding:0 10px;font-size:.78rem;font-weight:800;display:inline-flex}.customer-detail-state.is-inactive{color:#7a6a4a;background:#f4efe6}.customer-detail-facts{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.customer-detail-facts article{border:1px solid var(--line);background:var(--surface);border-radius:14px;gap:6px;min-width:0;padding:14px 16px;display:grid}.customer-detail-facts span{color:var(--muted);font-size:.78rem;font-weight:800}.customer-detail-facts strong{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-size:.95rem;overflow:hidden}.customer-detail-facts a{color:inherit}.customer-detail-cases{gap:12px;display:grid}.customer-detail-cases header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.customer-detail-cases h2{margin:0;font-size:1.05rem}.customer-detail-cases .search-input{width:min(320px,100%)}.customer-case-list{gap:10px;margin:0;padding:0;list-style:none;display:grid}.customer-case-card{border:1px solid var(--line);background:var(--surface);width:100%;min-height:72px;color:inherit;font:inherit;text-align:start;cursor:pointer;border-radius:14px;justify-content:space-between;align-items:center;gap:16px;padding:14px 16px;display:flex}.customer-case-card:hover{border-color:var(--brand-line,#d7c48a)}.customer-case-copy{gap:4px;min-width:0;display:grid}.customer-case-copy strong,.customer-case-copy em{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.customer-case-copy em{color:var(--muted);font-size:.82rem;font-style:normal;font-weight:700}@media (width<=900px){.customer-detail-facts{grid-template-columns:1fr 1fr}}@media (width<=640px){.customer-detail-facts,.customer-case-card{grid-template-columns:1fr}.customer-case-card{flex-direction:column;align-items:flex-start}}
