:root{--pe-dur-micro:90ms;--pe-dur-fast:.13s;--pe-dur-normal:.16s;--pe-dur-enter:.18s;--pe-dur-page:.16s;--pe-ease-out:cubic-bezier(.16, 1, .3, 1);--pe-ease-spring:cubic-bezier(.175, .885, .32, 1.1);--pe-ease-in-out:cubic-bezier(.4, 0, .2, 1);--pe-skeleton-bg:#0000000d;--pe-skeleton-highlight:#ffffffa6}[data-theme=dark]{--pe-skeleton-bg:#ffffff0f;--pe-skeleton-highlight:#ffffff24}@keyframes peFadeIn{0%{opacity:0}to{opacity:1}}@keyframes pePageEnter{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@keyframes peFadeSlideUp{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@keyframes peScaleIn{0%{opacity:0;transform:scale(.97)}to{opacity:1;transform:scale(1)}}@keyframes peDropdownIn{0%{opacity:0;transform:translateY(-5px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes peShimmer{0%{transform:translate(-100%)}to{transform:translate(100%)}}.page-content-wrapper{animation:pePageEnter var(--pe-dur-page) var(--pe-ease-out) both;will-change:opacity, transform;min-height:calc(100vh - var(--topbar-height) - 40px)}.page{will-change:opacity, transform}.pe-stagger>:first-child,.stat-grid>:first-child,.stats-grid>:first-child{animation:peFadeSlideUp var(--pe-dur-normal) var(--pe-ease-out) 0s both;will-change:transform, opacity}.pe-stagger>:nth-child(2),.stat-grid>:nth-child(2),.stats-grid>:nth-child(2){animation:peFadeSlideUp var(--pe-dur-normal) var(--pe-ease-out) 14ms both;will-change:transform, opacity}.pe-stagger>:nth-child(3),.stat-grid>:nth-child(3),.stats-grid>:nth-child(3){animation:peFadeSlideUp var(--pe-dur-normal) var(--pe-ease-out) 28ms both;will-change:transform, opacity}.pe-stagger>:nth-child(4),.stat-grid>:nth-child(4),.stats-grid>:nth-child(4){animation:peFadeSlideUp var(--pe-dur-normal) var(--pe-ease-out) 42ms both;will-change:transform, opacity}.pe-stagger>:nth-child(5),.stat-grid>:nth-child(5),.stats-grid>:nth-child(5){animation:peFadeSlideUp var(--pe-dur-normal) var(--pe-ease-out) 56ms both;will-change:transform, opacity}.pe-stagger>:nth-child(6),.stat-grid>:nth-child(6),.stats-grid>:nth-child(6){animation:peFadeSlideUp var(--pe-dur-normal) var(--pe-ease-out) 70ms both;will-change:transform, opacity}.pe-stagger>:nth-child(7),.stat-grid>:nth-child(7),.stats-grid>:nth-child(7){animation:peFadeSlideUp var(--pe-dur-normal) var(--pe-ease-out) 84ms both;will-change:transform, opacity}.pe-stagger>:nth-child(8),.stat-grid>:nth-child(8),.stats-grid>:nth-child(8){animation:peFadeSlideUp var(--pe-dur-normal) var(--pe-ease-out) 98ms both;will-change:transform, opacity}.pe-stagger>:nth-child(9),.stat-grid>:nth-child(9),.stats-grid>:nth-child(9){animation:peFadeSlideUp var(--pe-dur-normal) var(--pe-ease-out) .112s both;will-change:transform, opacity}.pe-stagger>:nth-child(10),.stat-grid>:nth-child(10),.stats-grid>:nth-child(10){animation:peFadeSlideUp var(--pe-dur-normal) var(--pe-ease-out) .126s both;will-change:transform, opacity}.pe-stagger>:nth-child(11),.stat-grid>:nth-child(11),.stats-grid>:nth-child(11){animation:peFadeSlideUp var(--pe-dur-normal) var(--pe-ease-out) .14s both;will-change:transform, opacity}.pe-stagger>:nth-child(12),.stat-grid>:nth-child(12),.stats-grid>:nth-child(12){animation:peFadeSlideUp var(--pe-dur-normal) var(--pe-ease-out) .154s both;will-change:transform, opacity}.cards-grid>*,.grid>*,.page>.card,.col>.card{animation:peFadeSlideUp var(--pe-dur-normal) var(--pe-ease-out) both;will-change:transform, opacity}.cards-grid>:first-child,.page>.card:first-child,.col>.card:first-child{animation-delay:0s}.cards-grid>:nth-child(2),.page>.card:nth-child(2),.col>.card:nth-child(2){animation-delay:18ms}.cards-grid>:nth-child(3),.page>.card:nth-child(3),.col>.card:nth-child(3){animation-delay:36ms}.cards-grid>:nth-child(4),.page>.card:nth-child(4),.col>.card:nth-child(4){animation-delay:54ms}.cards-grid>:nth-child(5),.page>.card:nth-child(5),.col>.card:nth-child(5){animation-delay:72ms}.table-wrap,.table-responsive,.table tbody tr:nth-child(-n+8){animation:peFadeSlideUp var(--pe-dur-normal) var(--pe-ease-out) both;will-change:transform, opacity}.table tbody tr:first-child{animation-delay:0s}.table tbody tr:nth-child(2){animation-delay:12ms}.table tbody tr:nth-child(3){animation-delay:24ms}.table tbody tr:nth-child(4){animation-delay:36ms}.table tbody tr:nth-child(5){animation-delay:48ms}.table tbody tr:nth-child(6){animation-delay:60ms}.table tbody tr:nth-child(7){animation-delay:72ms}.table tbody tr:nth-child(8){animation-delay:84ms}.tabs,.tab-wrap,.tab-nav{animation:peFadeIn var(--pe-dur-fast) var(--pe-ease-out) both}.tab-pane,[role=tabpanel],.tab-content{animation:peFadeSlideUp var(--pe-dur-normal) var(--pe-ease-out) both}.btn{will-change:transform;transition:background-color var(--pe-dur-fast) ease, border-color var(--pe-dur-fast) ease, color var(--pe-dur-fast) ease, box-shadow var(--pe-dur-fast) ease, transform var(--pe-dur-micro) var(--pe-ease-spring)!important}.stat{will-change:transform, box-shadow;transition:background-color var(--pe-dur-fast) ease, border-color var(--pe-dur-fast) ease, box-shadow var(--pe-dur-normal) var(--pe-ease-out), transform var(--pe-dur-fast) var(--pe-ease-out)!important}button.stat:hover{box-shadow:var(--shadow-sm);transform:translateY(-3px)}button.stat:active{transform:scale(.98)!important}.nav-link{transition:background-color var(--pe-dur-fast) ease, color var(--pe-dur-fast) ease, transform var(--pe-dur-micro) var(--pe-ease-spring)!important}.nav-link:active{transform:scale(.985)}.card{transition:box-shadow var(--pe-dur-normal) var(--pe-ease-out), border-color var(--pe-dur-fast) ease}.card-interactive,.task-card,.task-series-card{transition:box-shadow var(--pe-dur-normal) var(--pe-ease-out), border-color var(--pe-dur-fast) ease, transform var(--pe-dur-fast) var(--pe-ease-out);will-change:transform, box-shadow}.card-interactive:hover,.task-card:hover,.task-series-card:hover{box-shadow:var(--shadow-md);transform:translateY(-3px)}.dropdown{animation:peDropdownIn var(--pe-dur-fast) var(--pe-ease-out) both;transform-origin:top;will-change:transform, opacity}.modal-backdrop{animation:peFadeIn var(--pe-dur-fast) var(--pe-ease-out) both}.modal-dialog{animation:peScaleIn var(--pe-dur-normal) var(--pe-ease-spring) both;will-change:transform, opacity}.pe-skeleton{background-color:var(--pe-skeleton-bg);border-radius:var(--radius-sm);pointer-events:none;display:inline-block;position:relative;overflow:hidden}.pe-skeleton:after{content:"";background:linear-gradient(90deg, transparent 0%, var(--pe-skeleton-highlight) 50%, transparent 100%);animation:1.1s ease-in-out infinite peShimmer;position:absolute;inset:0;transform:translate(-100%)}.pe-skeleton-text{border-radius:4px;width:100%;height:14px;margin:4px 0}.pe-skeleton-title{border-radius:6px;width:60%;height:22px;margin:6px 0}.pe-skeleton-card{border-radius:var(--radius-md);width:100%;height:110px;margin-bottom:12px}.pe-skeleton-row{border-radius:var(--radius-sm);width:100%;height:38px;margin-bottom:8px}.pe-skeleton-circle{border-radius:50%}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.001ms!important;animation-duration:.001ms!important;animation-iteration-count:1!important}.pe-skeleton:after{display:none!important}.btn:active:not(:disabled),button.stat:active,.nav-link:active,.card-interactive:hover,button.stat:hover{transform:none!important}}*,:before,:after{box-sizing:border-box}:root{--primary:#1d6fd6;--primary-strong:#1558b0;--primary-soft:#e7f1ff;--accent:#65a30d;--accent-soft:#f1fbe4;--danger:#b42318;--danger-soft:#fef3f2;--warning:#b54708;--warning-soft:#fffaeb;--success:#067647;--success-soft:#ecfdf3;--info:#175cd3;--info-soft:#eff8ff;--bg:#f5f6f7;--surface:#fff;--surface-2:#f9fafb;--surface-3:#f0f2f4;--border:#e4e7ec;--border-strong:#d0d5dd;--text:#101828;--text-2:#344054;--muted:#667085;--muted-2:#98a2b3;--shadow-sm:0 1px 2px #1018280f;--shadow-md:0 4px 16px #10182814;--shadow-lg:0 16px 40px #10182824;--radius-sm:6px;--radius-md:10px;--radius-lg:16px;--font:"Segoe UI", Tahoma, system-ui, -apple-system, sans-serif;--sidebar-width:264px;--topbar-height:64px;--sidebar-bg:var(--surface);--sidebar-text:var(--text);--sidebar-link:var(--text-2);--sidebar-muted:var(--muted);--sidebar-border:var(--border);--sidebar-hover:var(--surface-2);--sidebar-active-bg:var(--primary-soft);--sidebar-active-text:var(--primary-strong);--topbar-bg:var(--surface);--bg-image:none;--brand-icon-bg-1:#0a2a5e;--brand-icon-bg-2:#041226;--brand-icon-check:#45c6ff;--brand-icon-check-2:#9be3ff;--brand-icon-arrow:#a3e635;--brand-icon-arrow-2:#d3ff72;--brand-icon-glow:#45c6ff57;--auth-glow-primary:#45c6ff52;--auth-glow-accent:#a3e63533;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}[data-theme=dark]{--primary-soft:#45c6ff2e;--primary-strong:#8bdcff;--accent-soft:#a3e63529;--danger-soft:#b423182e;--warning-soft:#b5470833;--success-soft:#06764733;--info-soft:#175cd333;--bg:#061226;--surface:#0c1d36;--surface-2:#112643;--surface-3:#17304f;--border:#203a58;--border-strong:#2d4c6e;--text:#edf6ff;--text-2:#c8ddf1;--muted:#91a9c0;--muted-2:#647f99;--shadow-sm:0 1px 2px #0006;--shadow-md:0 4px 16px #00000059;--shadow-lg:0 16px 40px #00000080;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}html,body{max-width:100%;min-height:100%;margin:0;padding:0;overflow-x:hidden}body{font-family:var(--font);background-color:var(--bg);background-image:var(--bg-image,none);color:var(--text);-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;background-attachment:fixed;font-size:15px;line-height:1.6}#root{min-height:100vh}h1,h2,h3,h4,p{margin:0}a{color:var(--primary-strong);text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit;color:inherit}:focus-visible{outline:2px solid var(--primary);outline-offset:2px}::selection{background:var(--primary-soft)}.row{align-items:center;gap:10px;display:flex}.row.wrap{flex-wrap:wrap}.col{flex-direction:column;gap:10px;display:flex}.grow{flex:1;min-width:0}.spread{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.muted{color:var(--muted)}.small{font-size:13px}.tiny{font-size:12px}.strong{font-weight:600}.mono{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px}.center{text-align:center}.danger-text{color:var(--danger)}.success-text{color:var(--success)}.warning-text{color:var(--warning)}.nowrap{white-space:nowrap}.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}.page{animation:peFadeSlideUp var(--pe-dur-enter) var(--pe-ease-out) both;flex-direction:column;gap:20px;display:flex}@keyframes page-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.page-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.page-header h1{letter-spacing:-.01em;font-size:24px;font-weight:700}.page-header .subtitle{color:var(--muted);margin-top:4px;font-size:14px}.page-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.btn{border-radius:var(--radius-sm);background:var(--surface);min-height:40px;color:var(--text);cursor:pointer;-webkit-user-select:none;user-select:none;border:1px solid #0000;justify-content:center;align-items:center;gap:8px;padding:8px 16px;font-size:14px;font-weight:600;transition:background .12s,border-color .12s,transform 80ms,opacity .12s;display:inline-flex}.btn:active:not(:disabled){transform:translateY(1px)}.btn:disabled{opacity:.55;cursor:not-allowed}.btn-primary{background:var(--primary);color:var(--primary-contrast,#fff);border-color:var(--primary)}.btn-primary:hover:not(:disabled){background:var(--primary-strong);border-color:var(--primary-strong)}[data-theme=dark] .btn-primary{color:var(--primary-contrast,#06211f)}[data-theme=dark] .btn-primary:hover:not(:disabled){background:var(--primary-strong)}.btn-outline{border-color:var(--border-strong);color:var(--text);background:0 0}.btn-outline:hover:not(:disabled){background:var(--surface-2)}.btn-ghost{color:var(--text-2);background:0 0}.btn-ghost:hover:not(:disabled){background:var(--surface-3)}.btn-danger{background:var(--danger);color:#fff;border-color:var(--danger)}.btn-danger:hover:not(:disabled){filter:brightness(.92)}.btn-soft{background:var(--primary-soft);color:var(--primary-strong);border-color:#0000}.btn-sm{gap:6px;min-height:32px;padding:4px 10px;font-size:13px}.btn-icon{width:38px;min-height:38px;color:var(--text-2);background:0 0;border-radius:50%;padding:0}.btn-icon:hover:not(:disabled){background:var(--surface-3)}.btn-block{width:100%}.field{flex-direction:column;gap:6px;display:flex}.label{color:var(--text-2);font-size:13px;font-weight:600}.label .req{color:var(--danger);margin-inline-start:2px}.input,.select,.textarea{background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-sm);width:100%;min-height:42px;color:var(--text);padding:9px 12px;transition:border-color .12s,box-shadow .12s}.input::placeholder,.textarea::placeholder{color:var(--muted-2)}.input:focus,.select:focus,.textarea:focus{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-soft);outline:none}.input:disabled,.select:disabled,.textarea:disabled{background:var(--surface-2);color:var(--muted)}.textarea{resize:vertical;min-height:110px}.hint{color:var(--muted);font-size:12px}.error-text{color:var(--danger);font-size:12px;font-weight:500}.input.has-error,.select.has-error,.textarea.has-error{border-color:var(--danger)}.check{cursor:pointer;align-items:flex-start;gap:8px;font-size:14px;display:flex}.check input{width:18px;height:18px;accent-color:var(--primary);margin-top:3px}.switch-wrap{align-items:center;gap:8px;display:inline-flex}.switch{border:1px solid var(--border-strong);background:var(--surface-3);width:48px;height:26px;color:var(--muted);cursor:pointer;border-radius:999px;flex:none;align-items:center;padding:0;transition:background .18s,border-color .18s,color .18s;display:inline-flex;position:relative}.switch .switch-thumb{background:var(--text-2);border-radius:50%;width:18px;height:18px;transition:inset-inline-start .18s,background .18s;position:absolute;inset-inline-start:3px;box-shadow:0 1px 3px #10182847}.switch.on{background:var(--primary);border-color:var(--primary);color:var(--primary-contrast,#fff)}.switch.on .switch-thumb{background:var(--primary-contrast,#fff);inset-inline-start:calc(100% - 21px)}.switch .switch-text{letter-spacing:.04em;color:var(--muted);font-size:8px;font-weight:700;position:absolute;inset-inline-end:7px}.switch.on .switch-text{color:var(--primary-contrast,#fff);inset-inline:7px auto}.switch-field{justify-content:space-between;align-items:flex-start;gap:16px;padding:2px 0;display:flex}.switch-field-text{min-width:0}.switch-field-label{color:var(--text);font-size:14px;font-weight:500}.switch-field .hint{margin-top:2px}.switch:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.switch:disabled{opacity:.5;cursor:not-allowed}.nav-pref-row{border-bottom:1px solid var(--border);border-radius:var(--radius-sm);align-items:center;gap:8px;padding:5px 8px;transition:background .15s,box-shadow .15s;display:flex}.nav-pref-row.dragging{opacity:.45}.nav-pref-row.drag-over{background:var(--primary-soft);box-shadow:inset 0 0 0 1px var(--primary)}.nav-drag-handle{border-radius:var(--radius-sm);width:26px;height:26px;color:var(--muted);cursor:grab;flex:none;justify-content:center;align-items:center;display:inline-flex}.nav-drag-handle:hover,.nav-drag-handle:focus-visible{background:var(--surface-2);color:var(--text)}.nav-drag-handle:focus-visible{outline:2px solid var(--primary);outline-offset:1px}.nav-drag-handle:active{cursor:grabbing}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.form-grid .full{grid-column:1/-1}@media (max-width:720px){.form-grid{grid-template-columns:1fr}}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:var(--shadow-sm);overflow:hidden}.card-header{border-bottom:1px solid var(--border);background:var(--surface);justify-content:space-between;align-items:center;gap:12px;padding:16px 18px;display:flex}.card-header h2,.card-header h3{font-size:16px;font-weight:700}.card-body{padding:18px}.card-footer{border-top:1px solid var(--border);background:var(--surface-2);padding:14px 18px}.card.clickable{cursor:pointer;transition:border-color .12s,box-shadow .12s,transform .12s}.card.clickable:hover{border-color:var(--border-strong);box-shadow:var(--shadow-md);transform:translateY(-1px)}.badge{white-space:nowrap;background:var(--surface-3);color:var(--text-2);border-radius:999px;align-items:center;gap:4px;padding:2px 8px;font-size:12px;font-weight:600;line-height:1.5;display:inline-flex}.badge-primary{background:var(--primary-soft);color:var(--primary-strong)}.badge-success{background:var(--success-soft);color:var(--success)}.badge-danger{background:var(--danger-soft);color:var(--danger)}.badge-warning{background:var(--warning-soft);color:var(--warning)}.badge-info{background:var(--info-soft);color:var(--info)}.badge-muted{background:var(--surface-3);color:var(--muted)}.dot{background:currentColor;border-radius:50%;width:7px;height:7px}.table-wrap{width:100%;overflow-x:auto}table.table{border-collapse:collapse;width:100%;font-size:14px}.table th{text-align:start;color:var(--muted);letter-spacing:.02em;background:var(--surface-2);border-bottom:1px solid var(--border);white-space:nowrap;padding:10px 14px;font-size:12px;font-weight:600}.table td{border-bottom:1px solid var(--border);vertical-align:middle;padding:12px 14px}.table tbody tr:last-child td{border-bottom:none}.table tbody tr:hover{background:var(--surface-2)}.table .actions{justify-content:flex-end;gap:6px;display:flex}.stat-grid{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:14px;display:grid}.role-card-actions{align-items:stretch;gap:8px}.role-card-actions>.btn,.role-card-actions>.role-card-protected{white-space:nowrap;flex:124px;min-width:0;max-width:100%}.role-card-actions>.btn{padding-inline:8px}.role-card-protected{box-sizing:border-box;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-2);min-height:32px;color:var(--text-2);justify-content:center;align-items:center;gap:6px;padding:4px 10px;font-size:13px;display:inline-flex}.stat{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:var(--shadow-sm);flex-direction:column;gap:6px;padding:16px;display:flex}.stat .stat-label{color:var(--muted);font-size:13px}.stat .stat-value{letter-spacing:-.02em;font-size:28px;font-weight:700}.stat .stat-icon{background:var(--primary-soft);width:38px;height:38px;color:var(--primary-strong);border-radius:10px;place-items:center;display:grid}.tabs{border-bottom:1px solid var(--border);scrollbar-width:none;gap:4px;display:flex;overflow-x:auto}.tabs::-webkit-scrollbar{display:none}.tab{color:var(--muted);cursor:pointer;white-space:nowrap;background:0 0;border:none;border-bottom:2px solid #0000;padding:10px 14px;font-size:14px;font-weight:600}.tab:hover{color:var(--text)}.tab.active{color:var(--primary-strong);border-bottom-color:var(--primary)}.spinner{border:2px solid var(--border-strong);border-top-color:var(--primary);border-radius:50%;width:20px;height:20px;animation:.7s linear infinite spin;display:inline-block}.spinner.lg{border-width:3px;width:34px;height:34px}@keyframes spin{to{transform:rotate(360deg)}}.loading-block{color:var(--muted);justify-content:center;align-items:center;gap:10px;padding:48px 16px;display:flex}.empty{text-align:center;color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:10px;padding:48px 20px;display:flex}.empty .empty-icon{background:var(--surface-3);width:54px;height:54px;color:var(--muted);border-radius:50%;place-items:center;display:grid}.empty h3{color:var(--text);font-size:16px}.modal-backdrop{z-index:100;background:#1018288c;justify-content:center;align-items:center;width:100%;max-width:100vw;padding:16px;animation:.12s ease-out fade-in;display:flex;position:fixed;inset:0;overflow:hidden auto}.modal{background:var(--surface);border-radius:var(--radius-lg);width:min(620px,100vw - 32px);min-width:0;max-height:calc(100vh - 32px);box-shadow:var(--shadow-lg);border:1px solid var(--border);margin:0 auto;overflow:auto}.modal.wide{width:min(900px,100%)}.modal-header{border-bottom:1px solid var(--border);background:var(--surface);z-index:1;justify-content:space-between;align-items:center;gap:12px;padding:16px 20px;display:flex;position:sticky;top:0}.modal-header h2{font-size:18px;font-weight:700}.modal-body{flex-direction:column;gap:16px;padding:20px;display:flex}.modal-footer{border-top:1px solid var(--border);background:var(--surface-2);justify-content:flex-end;gap:8px;padding:14px 20px;display:flex;position:sticky;bottom:0}@keyframes fade-in{0%{opacity:0}to{opacity:1}}.toast-stack{inset-inline-start:20px;z-index:200;flex-direction:column;gap:10px;max-width:min(400px,100vw - 40px);display:flex;position:fixed;bottom:20px}.toast{border-radius:var(--radius-md);background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-lg);align-items:flex-start;gap:10px;padding:12px 14px;animation:.16s ease-out toast-in;display:flex}.toast.success{border-inline-start:4px solid var(--success)}.toast.error{border-inline-start:4px solid var(--danger)}.toast.info{border-inline-start:4px solid var(--info)}.toast-close{color:var(--muted);cursor:pointer;background:0 0;border:none;margin-inline-start:auto;padding:0 2px}@keyframes toast-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.app-shell{min-height:100vh;display:flex}.sidebar{width:var(--sidebar-width);flex:0 0 var(--sidebar-width);background-color:var(--sidebar-bg,var(--surface));background-image:var(--sidebar-image,none);border-inline-end:1px solid var(--sidebar-border,var(--border));color:var(--sidebar-text,var(--text));z-index:30;flex-direction:column;height:100vh;transition:width .18s,flex-basis .18s;display:flex;position:sticky;top:0;overflow:hidden}.sidebar.collapsed{border:0;flex-basis:0;width:0;overflow:hidden}.sidebar-brand{min-height:var(--topbar-height);border-bottom:1px solid var(--sidebar-border,var(--border));flex-shrink:0;align-items:center;gap:11px;padding:0 12px 0 16px;display:flex}.sidebar-brand-copy{flex-direction:column;justify-content:center;gap:1px;min-width:0;display:flex}.brand-mark{background:var(--primary);width:38px;height:38px;color:var(--primary-contrast,#fff);box-shadow:0 4px 12px color-mix(in srgb, var(--primary) 28%, transparent);border-radius:11px;flex:0 0 38px;place-items:center;font-size:17px;font-weight:800;display:grid}.brand-mark.has-logo{background:#fff;overflow:hidden}.brand-mark.has-brand-icon{background:0 0;overflow:visible}.brand-icon{filter:drop-shadow(0 5px 12px #020a1838);flex:none;line-height:0;display:inline-block}.brand-icon svg{width:100%;height:100%;display:block}.brand-icon img{object-fit:cover;border-radius:22%;width:100%;height:100%;display:block}.brand-logo{object-fit:contain;width:100%;height:100%;display:block}.auth-logo{object-fit:contain;border-radius:8px;width:100%;height:100%;display:block}.sidebar-brand .brand-name{text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:700;line-height:1.25;overflow:hidden}.sidebar-brand .brand-sub{color:var(--sidebar-muted,var(--muted));text-overflow:ellipsis;white-space:nowrap;font-size:11.5px;font-weight:500;line-height:1.25;overflow:hidden}.nav{scrollbar-width:thin;scrollbar-color:color-mix(in srgb, var(--sidebar-muted,var(--muted)) 28%, transparent) transparent;flex-direction:column;flex:1;gap:2px;padding:10px 10px 14px;display:flex;overflow:hidden auto}.nav::-webkit-scrollbar{width:4px}.nav::-webkit-scrollbar-track{background:0 0}.nav::-webkit-scrollbar-thumb{background:color-mix(in srgb, var(--sidebar-muted,var(--muted)) 26%, transparent);border-radius:999px}.nav:hover::-webkit-scrollbar-thumb{background:color-mix(in srgb, var(--sidebar-muted,var(--muted)) 48%, transparent)}.nav-group-label{color:var(--sidebar-muted,var(--muted-2));letter-spacing:.05em;padding:12px 10px 4px;font-size:11px;font-weight:700}.nav-link{border-radius:var(--radius-sm);color:var(--sidebar-link,var(--text-2));align-items:center;gap:10px;padding:9px 10px;font-size:14px;font-weight:500;text-decoration:none;transition:background .12s,color .12s;display:flex}.nav-link:hover{background:var(--sidebar-hover,var(--surface-2));color:var(--sidebar-text,var(--text));text-decoration:none}.nav-link.active{background:var(--sidebar-active-bg,var(--primary-soft));color:var(--sidebar-active-text,var(--primary-strong));font-weight:700}.nav-link .nav-badge{background:var(--danger);color:#fff;text-align:center;border-radius:999px;min-width:18px;margin-inline-start:auto;padding:0 6px;font-size:11px}.sidebar-footer{border-top:1px solid var(--sidebar-border,var(--border));flex-direction:column;gap:6px;padding:12px;display:flex}.sidebar .muted,.sidebar .tiny.muted{color:var(--sidebar-muted,var(--muted))}.main{flex-direction:column;flex:1;min-width:0;display:flex}.topbar{height:var(--topbar-height);background:var(--topbar-bg,var(--surface));-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-bottom:1px solid var(--border);z-index:20;align-items:center;gap:12px;padding:0 24px;display:flex;position:sticky;top:0}.content{width:100%;max-width:1480px;margin:0 auto;padding:24px}.menu-toggle{background:0 0;border:0;border-radius:0;flex:0 0 40px;width:40px;height:40px;padding:0;display:none}.menu-toggle-label{display:none}.btn-icon.menu-toggle:hover:not(:disabled){background:0 0}.app-shell.sidebar-is-collapsed .menu-toggle{display:inline-flex}.sidebar-collapse-toggle{width:34px;height:34px;min-height:34px;color:var(--sidebar-muted,var(--muted));background:0 0;border:1px solid #0000;border-radius:8px;flex:0 0 34px;justify-content:center;align-items:center;margin-inline-start:auto;padding:0;transition:background .14s,color .14s,border-color .14s;display:inline-flex}.btn-icon.sidebar-collapse-toggle:hover:not(:disabled){background:var(--sidebar-hover,var(--surface-2));border-color:var(--sidebar-border,var(--border));color:var(--sidebar-text,var(--text))}.topbar-context{align-items:center;gap:8px;min-width:0;display:flex}.topbar-collapsed-brand{background:var(--surface-2);border:1px solid var(--border);color:var(--text);white-space:nowrap;border-radius:999px;align-items:center;gap:6px;padding:4px 10px;font-size:12.5px;font-weight:700;display:inline-flex}.topbar-context-sep{color:var(--muted-2);-webkit-user-select:none;user-select:none;font-size:13px}.topbar-breadcrumb{align-items:center;gap:7px;min-width:0;font-size:13.5px;display:inline-flex}.topbar-breadcrumb-icon{background:var(--primary-soft);width:28px;height:28px;color:var(--primary-strong);border-radius:8px;flex:0 0 28px;place-items:center;display:inline-grid}.topbar-breadcrumb-section{color:var(--muted);white-space:nowrap;font-weight:500}.topbar-breadcrumb-current{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-weight:700;overflow:hidden}.dashboard-greeting{align-items:baseline;gap:4px;display:inline-flex}.user-menu{position:relative}.avatar{background:var(--primary-soft);width:34px;height:34px;color:var(--primary-strong);border-radius:50%;flex:0 0 34px;place-items:center;font-size:13px;font-weight:700;display:grid;overflow:hidden}.avatar-img{object-fit:cover;border-radius:inherit;width:100%;height:100%;display:block}.avatar.lg{flex-basis:52px;width:52px;height:52px;font-size:18px}.dropdown{inset-inline-start:0;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);min-width:200px;max-width:min(320px,100vw - 32px);box-shadow:var(--shadow-lg);z-index:40;padding:6px;position:absolute;top:calc(100% + 8px)}.dropdown-account{inset-inline:auto 0}.dropdown-item{border-radius:var(--radius-sm);cursor:pointer;width:100%;color:var(--text-2);text-align:start;background:0 0;border:none;align-items:center;gap:8px;padding:9px 10px;font-size:14px;display:flex}.dropdown-item:hover{background:var(--surface-2);color:var(--text)}.dropdown-sep{background:var(--border);height:1px;margin:6px 4px}.context-switcher{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);cursor:pointer;align-items:center;gap:8px;max-width:260px;padding:6px 10px;display:flex}.context-switcher:hover{background:var(--surface-2)}.context-switcher .name{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:600;overflow:hidden}.offline-pill{background:var(--warning-soft);color:var(--warning);border-radius:999px;align-items:center;gap:6px;padding:4px 10px;font-size:12px;font-weight:600;display:inline-flex}.auth-shell{grid-template-columns:minmax(320px,1fr) minmax(460px,640px);min-height:100vh;display:grid}.auth-aside{background:radial-gradient(900px 620px at 82% 8%, var(--auth-glow-primary,#45c6ff52), transparent 62%), radial-gradient(720px 520px at 2% 102%, var(--auth-glow-accent,#a3e63533), transparent 58%), linear-gradient(145deg, #061226 0%, #081b33 48%, #071f2b 100%);color:#fff;flex-direction:column;justify-content:space-between;gap:32px;padding:clamp(32px,4.5vw,64px);display:flex;position:relative;overflow:hidden}.auth-aside:before{content:"";pointer-events:none;background-image:linear-gradient(#ffffff09 1px,#0000 1px),linear-gradient(90deg,#ffffff09 1px,#0000 1px);background-size:44px 44px;position:absolute;inset:0;-webkit-mask-image:linear-gradient(#0000008c,#0000 74%);mask-image:linear-gradient(#0000008c,#0000 74%)}.auth-aside>*{z-index:1;position:relative}.auth-aside-orbit{z-index:0;inset-inline-end:-150px;pointer-events:none;border:1px solid #ffffff17;border-radius:50%;width:440px;height:440px;position:absolute;top:-170px;box-shadow:0 0 0 58px #ffffff06,0 0 0 118px #ffffff04}.auth-brand{align-items:center;gap:18px;min-width:0;display:flex}.auth-brand-icon{filter:drop-shadow(0 18px 40px #00000073)}.auth-brand-custom-logo{background:#ffffff14;border:1px solid #ffffff1f;border-radius:18px;flex:0 0 72px;place-items:center;width:72px;height:72px;padding:8px;display:grid;overflow:hidden}.auth-brand-custom-logo img{object-fit:contain;max-width:100%;max-height:100%}.auth-brand-copy{min-width:0}.auth-brand-name{color:#fff;letter-spacing:-.025em;text-shadow:0 10px 30px #00000047;font-size:clamp(34px,3.6vw,50px);font-weight:800;line-height:1.05}.auth-brand-eyebrow{color:#ffffffb8;margin-top:8px;font-size:14px;line-height:1.55}.auth-hero h2{letter-spacing:-.015em;max-width:560px;font-size:clamp(34px,3.2vw,46px);line-height:1.3}.auth-aside p{color:#ffffffd1;max-width:500px;font-size:15px}.auth-mobile-brand{align-items:center;gap:12px;padding:2px 0;display:none}.auth-mobile-name{letter-spacing:-.02em;font-size:clamp(22px,6vw,30px);font-weight:800;line-height:1.08}.auth-mobile-eyebrow{color:var(--muted);margin-top:4px;font-size:12px;line-height:1.45}.auth-mobile-logo{background:var(--surface-2);border-radius:12px;flex:0 0 46px;place-items:center;width:46px;height:46px;padding:4px;display:grid;overflow:hidden}.auth-mobile-logo img{object-fit:contain;max-width:100%;max-height:100%}.auth-points{color:#ffffffe6;flex-direction:column;gap:12px;font-size:14px;display:flex}.auth-points .point{align-items:flex-start;gap:8px;display:flex}.auth-feature-card{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#ffffff0d;border:1px solid #ffffff1a;border-radius:12px;align-items:flex-start;gap:12px;padding:12px 14px;transition:all .2s;display:flex}.auth-feature-card:hover{background:#ffffff17;border-color:#fff3;transform:translateY(-1px)}.auth-feature-icon{border-radius:10px;flex:0 0 36px;place-items:center;width:36px;height:36px;display:grid;box-shadow:0 4px 12px #00000026}.auth-feature-title{color:#fff;margin-bottom:2px;font-size:14px;font-weight:700}.auth-feature-desc{color:#ffffffc2;font-size:12px;line-height:1.5}.auth-stats-strip{border-top:1px solid #ffffff1a;grid-template-columns:repeat(3,1fr);gap:10px;padding-top:14px;display:grid}.auth-stat-item{text-align:center;background:#ffffff0d;border:1px solid #ffffff14;border-radius:10px;padding:8px 10px}.auth-stat-val{color:#fff;justify-content:center;align-items:center;gap:4px;font-size:13px;font-weight:800;display:flex}.auth-stat-lbl{color:#ffffffa6;margin-top:2px;font-size:11px}.password-input-wrapper{align-items:center;width:100%;display:flex;position:relative}.password-input-wrapper .input{width:100%;padding-inline-end:42px!important}.password-toggle-btn{cursor:pointer;color:var(--muted);background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;padding:6px;transition:color .15s;display:flex;position:absolute;inset-inline-end:6px}.password-toggle-btn:hover{color:var(--foreground)}.auth-mobile-features-badge{background:var(--surface-2,#00000008);border:1px solid var(--border);border-radius:12px;flex-direction:column;gap:8px;margin-bottom:6px;padding:12px 14px;display:flex}.auth-mobile-features-title{color:var(--primary);align-items:center;gap:6px;font-size:12px;font-weight:700;display:flex}.auth-mobile-features-list{flex-wrap:wrap;gap:6px;display:flex}.auth-mobile-pill{background:var(--card);border:1px solid var(--border);color:var(--foreground);border-radius:6px;align-items:center;gap:4px;padding:4px 8px;font-size:11px;display:flex;box-shadow:0 1px 2px #0000000a}.auth-main{background-color:var(--bg);background-image:var(--bg-image,none);background-attachment:fixed;justify-content:center;align-items:center;padding:32px;display:flex}.auth-card{flex-direction:column;gap:20px;width:100%;max-width:420px;display:flex}.auth-card h1{font-size:26px;font-weight:700}.auth-card .lead{color:var(--muted);font-size:14px}.auth-card .card-body{padding:22px}.auth-footer{text-align:center;color:var(--muted);font-size:13px}.developer-credit{color:var(--muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:3px;font-size:12px;line-height:1.5;display:flex}.developer-credit-main{direction:ltr;flex-direction:column;justify-content:center;align-items:center;gap:2px;display:flex}.developer-credit strong{color:var(--text,inherit);font-weight:700}.developer-credit-rights{opacity:.82;direction:ltr;font-size:11px}.developer-credit-app{border-top:1px solid var(--border);width:100%;margin-top:28px;padding-top:14px}.developer-credit-sidebar{width:100%;padding-top:10px;font-size:11px}.developer-credit-sidebar .developer-credit-rights{font-size:10px}.sidebar-unpinned-footer{border-top:1px solid var(--sidebar-border,var(--border));flex-direction:column;align-items:center;gap:10px;margin-top:auto;padding:24px 8px 16px;display:flex}.sidebar-status-meta{text-align:center;flex-direction:column;align-items:center;gap:4px;display:flex}.developer-credit-auth{margin-top:-8px}.auth-mobile-cta{display:none}@media (max-width:960px){.auth-shell{flex-direction:column;grid-template-columns:1fr;min-height:100vh;display:flex}.auth-aside{flex-direction:column;gap:22px;padding:clamp(24px,5vw,40px) clamp(16px,4.5vw,28px);display:flex}.auth-aside-orbit{opacity:.4;inset-inline-end:-220px}.auth-brand{gap:14px}.auth-brand-name{font-size:clamp(26px,6.5vw,36px)}.auth-brand-eyebrow{margin-top:4px;font-size:13px;line-height:1.45}.auth-hero h2{font-size:clamp(20px,5vw,26px)!important;line-height:1.35!important}.auth-hero p{margin-top:8px;font-size:13.5px;line-height:1.55}.auth-points{gap:10px}.auth-feature-card{gap:12px;padding:11px 13px}.auth-feature-icon{flex:0 0 34px;width:34px;height:34px}.auth-feature-title{font-size:13.5px}.auth-feature-desc{font-size:12px;line-height:1.45}.auth-stats-strip{grid-template-columns:repeat(3,1fr);gap:8px;padding-top:12px}.auth-stat-item{padding:8px 4px}.auth-stat-val{font-size:12px}.auth-stat-lbl{font-size:10px}.auth-mobile-cta{justify-content:center;margin-top:2px;display:flex}.auth-mobile-jump-btn{color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#ffffff1a;border:1px solid #fff3;border-radius:10px;justify-content:center;align-items:center;gap:8px;width:100%;padding:11px 16px;font-size:13.5px;font-weight:700;transition:background .15s,transform .15s;display:inline-flex}.auth-mobile-jump-btn:hover,.auth-mobile-jump-btn:active{background:#ffffff2e;transform:translateY(1px)}.auth-mobile-brand,.auth-mobile-features-badge{display:none!important}.auth-main{justify-content:center;align-items:center;padding:clamp(24px,5vw,40px) clamp(16px,4vw,24px) 48px;display:flex}.auth-card{width:100%;max-width:440px}}.board{grid-template-columns:repeat(4,minmax(240px,1fr));align-items:start;gap:14px;padding-bottom:8px;display:grid;overflow-x:auto}.board-column{background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius-md);flex-direction:column;min-height:220px;display:flex}.board-column-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:12px 14px;font-size:14px;font-weight:700;display:flex}.board-column-body{scrollbar-width:thin;scrollbar-color:color-mix(in srgb, var(--muted) 35%, transparent) transparent;flex-direction:column;flex:1;gap:10px;max-height:620px;padding:10px;display:flex;overflow-y:auto}.board-column-body::-webkit-scrollbar{width:5px}.board-column-body::-webkit-scrollbar-thumb{background:color-mix(in srgb, var(--muted) 35%, transparent);border-radius:999px}.task-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);cursor:pointer;color:inherit;flex-direction:column;gap:8px;padding:12px;text-decoration:none;transition:border-color .12s,box-shadow .12s;display:flex}.task-card:hover{border-color:var(--primary);box-shadow:var(--shadow-sm);text-decoration:none}.task-card .task-title{font-size:14px;font-weight:600;line-height:1.45}.task-card .task-meta{color:var(--muted);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;font-size:12px;display:flex}.task-card.overdue{border-inline-start:3px solid var(--danger)}.task-series-card{cursor:default;border-color:color-mix(in srgb, var(--primary) 26%, var(--border));background:linear-gradient(180deg, color-mix(in srgb, var(--primary-soft) 28%, var(--surface)) 0%, var(--surface) 100%);gap:10px}.task-series-title-link{color:inherit;text-decoration:none}.task-series-title-link:hover .task-title{color:var(--primary)}.series-pill{background:var(--primary-soft);color:var(--primary-strong);border:1px solid color-mix(in srgb, var(--primary) 24%, transparent);border-radius:999px;align-items:center;gap:4px;padding:2px 8px;font-size:11px;font-weight:700;display:inline-flex}.series-spotlight{border-radius:var(--radius-sm);background:var(--surface-2);border:1px solid color-mix(in srgb, var(--primary) 28%, var(--border));color:inherit;flex-direction:column;gap:4px;padding:8px 10px;text-decoration:none;transition:background .12s,border-color .12s;display:flex}.series-spotlight:hover{border-color:var(--primary);background:color-mix(in srgb, var(--primary-soft) 45%, var(--surface-2));text-decoration:none}.series-spotlight.is-overdue{border-color:color-mix(in srgb, var(--danger) 40%, var(--border))}.series-spotlight-main{justify-content:space-between;align-items:center;gap:8px;display:flex}.series-spotlight-label{color:var(--primary-strong);align-items:center;gap:5px;font-size:11.5px;font-weight:700;display:inline-flex}.series-spotlight-time{background:var(--primary);color:var(--primary-contrast,#fff);border-radius:6px;padding:1px 7px;font-size:13px;font-weight:800}.series-spotlight-sub{color:var(--muted);justify-content:space-between;align-items:center;gap:8px;font-size:11px;display:flex}.series-open-link{color:var(--primary-strong);white-space:nowrap;font-weight:700}.series-slots-section{flex-direction:column;gap:6px;padding-top:2px;display:flex}.series-slots-header{justify-content:space-between;align-items:center;gap:6px;display:flex}.series-slots-grid{flex-wrap:wrap;align-items:center;gap:5px;display:flex}.series-slot-chip{background:var(--surface-2);border:1px solid var(--border);color:var(--text-2);border-radius:7px;align-items:center;gap:5px;padding:3px 8px;font-size:11.5px;font-weight:600;text-decoration:none;transition:border-color .12s,background .12s,transform .1s;display:inline-flex}.series-slot-chip:hover{border-color:var(--primary);color:var(--text);text-decoration:none;transform:translateY(-1px)}.series-slot-dot{background:var(--muted);border-radius:50%;flex-shrink:0;width:6px;height:6px}.series-slot-chip.is-current{background:var(--primary-soft);border-color:var(--primary);color:var(--primary-strong);font-weight:700}.series-slot-chip.is-current .series-slot-dot{background:var(--primary);box-shadow:0 0 0 2px color-mix(in srgb, var(--primary) 30%, transparent)}.series-slot-chip.is-done{background:var(--success-soft);border-color:color-mix(in srgb, var(--success) 35%, var(--border));color:var(--success)}.series-slot-chip.is-done .series-slot-dot{background:var(--success)}.series-slot-chip.is-overdue:not(.is-done){border-color:color-mix(in srgb, var(--danger) 40%, var(--border))}.series-slot-chip.is-overdue:not(.is-done) .series-slot-dot{background:var(--danger)}.series-days-expanded{border-radius:var(--radius-sm);background:color-mix(in srgb, var(--surface-2) 65%, transparent);border:1px solid var(--border);scrollbar-width:thin;flex-direction:column;gap:8px;max-height:220px;padding:6px;display:flex;overflow-y:auto}.series-day-group{flex-direction:column;gap:5px;display:flex}.series-day-title{color:var(--text-2);justify-content:space-between;align-items:center;font-size:11px;font-weight:700;display:flex}.series-expand-btn{border:1px dashed var(--border-strong);width:100%;color:var(--text-2);cursor:pointer;background:0 0;border-radius:7px;justify-content:center;align-items:center;gap:5px;margin-top:2px;padding:5px 8px;font-size:11.5px;font-weight:600;transition:background .12s,color .12s,border-color .12s;display:inline-flex}.series-expand-btn:hover{background:var(--surface-2);color:var(--primary-strong);border-color:var(--primary)}.series-inline-toggle{border:1px dashed var(--border-strong);color:var(--primary-strong);cursor:pointer;background:0 0;border-radius:7px;align-items:center;gap:4px;padding:3px 8px;font-size:11.5px;font-weight:600;display:inline-flex}.series-inline-toggle:hover{background:var(--primary-soft);border-color:var(--primary)}.series-table-row{background:color-mix(in srgb, var(--primary-soft) 12%, transparent)}.series-sub-row{background:color-mix(in srgb, var(--surface-2) 55%, transparent)}.card-mini-btn{border:1px solid var(--border);background:var(--surface-2);color:var(--text-2);cursor:pointer;border-radius:6px;align-items:center;gap:4px;padding:2px 7px;font-size:11px;font-weight:600;transition:background .12s,color .12s,border-color .12s;display:inline-flex}.card-mini-btn:hover{border-color:var(--primary);color:var(--primary-strong);background:var(--primary-soft)}.card-mini-btn.is-danger:hover{border-color:var(--danger);color:var(--danger);background:var(--danger-soft,#ef44441f)}.branch-checklist{scrollbar-width:thin;flex-direction:column;gap:8px;max-height:240px;padding:2px;display:flex;overflow-y:auto}.choice-card{border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface-2);cursor:pointer;align-items:flex-start;gap:10px;padding:10px 12px;transition:border-color .12s,background .12s;display:flex}.choice-card:hover{border-color:var(--primary)}.choice-card.is-selected{border-color:var(--primary);background:color-mix(in srgb, var(--primary-soft) 45%, var(--surface-2))}.choice-card input[type=checkbox],.choice-card input[type=radio]{accent-color:var(--primary);margin-top:3px}.detail-grid{grid-template-columns:minmax(0,1fr) 340px;align-items:start;gap:18px;display:grid}@media (max-width:1000px){.detail-grid{grid-template-columns:1fr}}.meta-list{flex-direction:column;gap:12px;display:flex}.meta-row{justify-content:space-between;align-items:flex-start;gap:16px;font-size:14px;display:flex}.meta-row .meta-label{color:var(--muted);flex:none}.meta-row .meta-value{text-align:end;word-break:break-word;font-weight:500}.timeline{flex-direction:column;gap:0;display:flex;position:relative}.timeline-item{gap:12px;padding-bottom:16px;display:flex;position:relative}.timeline-item:before{content:"";inset-inline-start:7px;background:var(--border);width:1px;position:absolute;top:18px;bottom:0}.timeline-item:last-child:before{display:none}.timeline-dot{border:3px solid var(--surface);background:var(--primary);width:15px;height:15px;box-shadow:0 0 0 1px var(--border);z-index:1;border-radius:50%;flex:0 0 15px;margin-top:4px}.timeline-content{color:var(--text-2);font-size:13px}.attachment-list{flex-direction:column;gap:8px;display:flex}.attachment-item{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-2);align-items:center;gap:10px;padding:10px;display:flex}.attachment-item .file-icon{background:var(--info-soft);width:34px;height:34px;color:var(--info);border-radius:8px;flex:0 0 34px;place-items:center;display:grid}.attachment-item .file-name{word-break:break-all;font-size:13px;font-weight:600}.attachment-preview{background:#000;border-radius:8px;max-width:100%;max-height:65vh;margin:0 auto;display:block}.attachment-frame{border:1px solid var(--border);background:var(--surface);border-radius:8px;width:100%;height:65vh}.theme-grid{grid-template-columns:repeat(auto-fill,minmax(152px,1fr));gap:10px;display:grid}.theme-card{border:1.5px solid var(--border);border-radius:var(--radius-md);background:var(--surface);color:var(--text);cursor:pointer;text-align:start;flex-direction:column;gap:7px;padding:8px;transition:border-color .12s,box-shadow .12s,transform .12s;display:flex}.theme-card:hover{border-color:var(--border-strong);box-shadow:var(--shadow-md);transform:translateY(-1px)}.theme-card.active{border-color:var(--primary);box-shadow:0 0 0 2px var(--primary-soft)}.theme-preview{border-radius:calc(var(--radius-sm) + 1px);border:1px solid;flex:none;width:100%;height:58px;display:flex;overflow:hidden}.theme-preview-side{border-inline-end:1px solid;flex-direction:column;gap:3px;width:34%;padding:6px 5px;display:flex}.theme-preview-side i{opacity:.75;border-radius:999px;height:3px;display:block}.theme-preview-side i:first-child{opacity:1;width:85%;height:4px}.theme-preview-side i:nth-child(2){width:62%}.theme-preview-side i:nth-child(3){border-radius:2px;width:80%;height:7px}.theme-preview-side i:nth-child(4){width:55%}.theme-preview-main{flex:1;align-items:center;min-width:0;padding:6px;display:flex}.theme-preview-card{border:1px solid;border-radius:4px;flex-direction:column;gap:3px;width:100%;padding:5px 6px;display:flex}.theme-preview-card i{border-radius:999px;height:3px;display:block}.theme-preview-card i:first-child{width:70%}.theme-preview-card i:nth-child(2){opacity:.45;width:90%}.theme-preview-card em{border-radius:3px;width:34%;height:9px;margin-top:2px;display:block}.theme-card-name{flex-direction:column;gap:1px;padding:0 2px 2px;line-height:1.25;display:flex}.platform-preview{border-radius:var(--radius-md);border:1px solid;flex:none;width:100%;min-height:230px;display:flex;overflow:hidden}.platform-preview-side{border-inline-end:1px solid;flex-direction:column;flex:none;gap:6px;width:37%;min-width:0;padding:10px 8px;display:flex}.platform-preview-brand{align-items:center;gap:7px;min-width:0;margin-bottom:4px;display:flex}.platform-preview-brand strong{white-space:nowrap;text-overflow:ellipsis;font-size:10px;line-height:1.25;display:block;overflow:hidden}.platform-preview-brand small{white-space:nowrap;text-overflow:ellipsis;font-size:8px;line-height:1.3;display:block;overflow:hidden}.platform-preview-logo{border-radius:6px;flex:none;place-items:center;width:24px;height:24px;font-size:10px;font-weight:800;display:grid;overflow:hidden}.platform-preview-logo img{object-fit:contain;width:100%;height:100%}.platform-preview-nav{white-space:nowrap;text-overflow:ellipsis;border-radius:4px;padding:5px 6px;font-size:9px;line-height:1.3;display:block;overflow:hidden}.platform-preview-nav.active{font-weight:700}.platform-preview-main{flex-direction:column;flex:1;min-width:0;display:flex}.platform-preview-top{border-bottom:1px solid;justify-content:space-between;align-items:center;gap:8px;padding:8px 9px;font-size:10px;font-weight:700;display:flex}.platform-preview-dot{border-radius:999px;flex:none;width:8px;height:8px;display:block}.platform-preview-body{flex:1;padding:10px}.platform-preview-card{border:1px solid;border-radius:7px;flex-direction:column;gap:3px;padding:10px;font-size:9px;line-height:1.45;display:flex}.platform-preview-card strong{font-size:11px}.platform-preview-button{border-radius:4px;justify-content:center;align-items:center;padding:4px 8px;font-size:8px;font-weight:700;display:inline-flex}.platform-preview-button.ghost{background:0 0;border:1px solid}.steps{flex-direction:column;gap:6px;display:flex}.step{align-items:flex-start;gap:8px;padding:6px 0;display:flex}.step.done .step-title{color:var(--muted);text-decoration:line-through}.file-drop{border:1.5px dashed var(--border-strong);border-radius:var(--radius-md);text-align:center;color:var(--muted);cursor:pointer;padding:20px;transition:border-color .12s,background .12s}.file-drop:hover,.file-drop.dragging{border-color:var(--primary);background:var(--primary-soft)}.file-drop input{display:none}.filters{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));align-items:end;gap:12px 10px;width:100%;display:grid}.filters .field{width:100%;min-width:0}.filters .field .label{color:var(--text-2);margin-bottom:4px;font-size:13px;font-weight:600}.filters .field .select,.filters .field .input{width:100%;height:42px;min-height:42px;font-size:13.5px}@media (max-width:680px){.filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 10px}.filters .field.filter-span-2{grid-column:span 2}.filters .field .label{color:var(--text-2);white-space:nowrap;text-overflow:ellipsis;margin-bottom:3px;font-size:12.5px;font-weight:600;overflow:hidden}.filters .field .select,.filters .field .input{height:42px;min-height:42px;padding-inline:10px;font-size:13px}}.date-input-box{background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-sm);width:100%;height:42px;min-height:42px;color:var(--text);cursor:pointer;box-sizing:border-box;align-items:center;gap:8px;padding:0 12px;transition:border-color .12s,box-shadow .12s;display:flex;position:relative}.date-input-box:hover,.date-input-box:focus-within{border-color:var(--primary)}.date-input-box.has-error{border-color:var(--danger)}.date-input-icon{color:var(--muted);pointer-events:none;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.date-input-text{color:var(--text);white-space:nowrap;text-overflow:ellipsis;pointer-events:none;text-align:right;-webkit-user-select:none;user-select:none;direction:ltr;flex:1;font-size:13.5px;overflow:hidden}.date-input-text.is-placeholder{color:var(--muted);opacity:.75;text-align:right;direction:rtl;font-size:13px}.date-input-clear{z-index:3;background:var(--surface-2);width:22px;height:22px;color:var(--muted);cursor:pointer;border:none;border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;padding:0;transition:all .12s;display:inline-flex;position:relative}.date-input-clear:hover{background:var(--danger-soft);color:var(--danger)}.date-input-native{opacity:0;cursor:pointer;z-index:2;color:#0000;appearance:none;background:0 0;border:none;width:100%;height:100%;font-size:16px;position:absolute;inset:0}.search-box{flex:1;min-width:220px;position:relative}.search-box .input{padding-inline-start:38px}.search-box .search-icon{inset-inline-start:12px;color:var(--muted);pointer-events:none;position:absolute;top:50%;transform:translateY(-50%)}.pagination{border-top:1px solid var(--border);color:var(--muted);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;font-size:13px;display:flex}.notification-item{border-bottom:1px solid var(--border);background:var(--surface);cursor:pointer;text-align:start;border-inline:none;width:100%;color:inherit;border-top:none;align-items:flex-start;gap:12px;padding:14px 16px;display:flex}.notification-item:hover{background:var(--surface-2)}.notification-item.unread{background:var(--primary-soft)}.notification-item .notif-icon{background:var(--surface-3);width:36px;height:36px;color:var(--primary-strong);border-radius:50%;flex:0 0 36px;place-items:center;display:grid}.notification-item .notif-title{font-size:14px;font-weight:600}.notification-item .notif-body{color:var(--muted);margin-top:2px;font-size:13px}.bar-chart{flex-direction:column;gap:10px;display:flex}.bar-row{grid-template-columns:120px 1fr 50px;align-items:center;gap:10px;font-size:13px;display:grid}.bar-track{background:var(--surface-3);border-radius:999px;height:10px;overflow:hidden}.bar-fill{background:var(--primary);border-radius:999px;height:100%;transition:width .3s}.mobile-backdrop{display:none}@media (max-width:1024px){.board{grid-template-columns:repeat(4,minmax(220px,260px))}}@media (max-width:860px){.app-shell{width:100%;min-height:100dvh;overflow-x:clip}.sidebar{width:min(86vw,320px);max-width:100vw;height:100dvh;box-shadow:var(--shadow-lg);visibility:hidden;pointer-events:none;transition:transform .2s;position:fixed;inset:0 auto 0 0;transform:translate(-105%)}.sidebar.collapsed{border:0;flex-basis:auto;width:min(86vw,320px)}[dir=rtl] .sidebar{left:auto;right:0;transform:translate(105%)}.sidebar.open{visibility:visible;pointer-events:auto;transform:translate(0,0)}.mobile-backdrop{z-index:25;background:#10182866;display:block;position:fixed;inset:0}.menu-toggle{z-index:31;flex:0 0 40px;width:40px;display:inline-flex;position:relative}.sidebar-collapse-toggle{display:none}.topbar{width:100%;min-height:var(--topbar-height);height:auto;padding:env(safe-area-inset-top) 14px 0;min-height:calc(var(--topbar-height) + env(safe-area-inset-top))}.main{width:100%;min-width:0;overflow-x:clip}.content{box-sizing:border-box;padding:16px 16px calc(20px + env(safe-area-inset-bottom));max-width:100%;overflow-x:clip}.page-header{flex-direction:column;align-items:stretch;gap:12px;width:100%;min-width:0}.page-header>:first-child,.page-actions{width:100%;min-width:0}.page-actions{justify-content:flex-start}.detail-grid{grid-template-columns:1fr}.page-header h1{font-size:21px}.stat .stat-value{font-size:23px}.board{grid-template-columns:1fr;overflow-x:visible}.board-column{scroll-snap-align:none}.auth-main{justify-content:center;align-items:center;padding:24px 16px 48px}}@media (pointer:coarse) and (max-width:860px){.menu-toggle,.topbar .btn-icon,.topbar .context-switcher,.nav-link,.dropdown-item,.btn{min-height:44px}.nav-link{padding-block:11px}input,select,textarea{min-height:44px}}@media (max-width:860px) and (orientation:landscape){.sidebar{width:min(72vw,320px)}.topbar{min-height:54px;padding-top:env(safe-area-inset-top)}.content{padding-block:12px}}@media (max-width:520px){.form-grid{gap:12px}.modal{border-radius:var(--radius-md)}.toast-stack{inset-inline:12px;max-width:none;bottom:12px}.topbar .hide-sm{display:none}.table th,.table td{padding:10px}.search-box{min-width:100%}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.001ms!important;animation-duration:.001ms!important;animation-iteration-count:1!important}}@media print{.sidebar,.topbar,.page-actions,.btn{display:none!important}.content{padding:0}body{color:#000;background:#fff}}.boot-screen{background:var(--bg);min-height:100vh;color:var(--text);justify-content:center;align-items:center;padding:24px;display:flex}.boot-intro{text-align:center;flex-direction:column;align-items:center;min-width:min(280px,100%);animation:.52s cubic-bezier(.22,1,.36,1) both boot-intro-in;display:flex}.boot-logo-wrap{background:color-mix(in srgb, var(--primary) 14%, transparent);width:92px;height:92px;box-shadow:0 18px 42px color-mix(in srgb, var(--primary) 20%, transparent);border-radius:28px;place-items:center;margin-bottom:10px;animation:.68s cubic-bezier(.22,1,.36,1) both boot-logo-in;display:grid;position:relative}.boot-logo-wrap:after{content:"";border:1px solid color-mix(in srgb, var(--primary) 32%, transparent);opacity:0;border-radius:34px;animation:1.2s ease-out .16s both boot-ring;position:absolute;inset:-8px}.boot-logo{filter:drop-shadow(0 8px 16px #020a1847)}.boot-wordmark{letter-spacing:-.02em;font-size:22px;font-weight:800;line-height:1.2;animation:.46s ease-out .12s both boot-text-in}.boot-tagline{color:var(--muted);margin-top:4px;font-size:12px;animation:.46s ease-out .18s both boot-text-in}.boot-loading{color:var(--muted);align-items:center;gap:9px;margin-top:28px;font-size:13px;animation:.46s ease-out .26s both boot-text-in;display:inline-flex}.boot-spinner{border:2px solid color-mix(in srgb, var(--primary) 24%, transparent);border-top-color:var(--primary);border-radius:50%;width:16px;height:16px;animation:.76s linear infinite spin}@keyframes boot-intro-in{0%{opacity:0;transform:scale(.985)}to{opacity:1;transform:scale(1)}}@keyframes boot-logo-in{0%{opacity:0;transform:translateY(8px)scale(.88)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes boot-ring{0%{opacity:0;transform:scale(.82)}35%{opacity:.8}to{opacity:0;transform:scale(1.08)}}@keyframes boot-text-in{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion:reduce){.boot-intro,.boot-logo-wrap,.boot-logo-wrap:after,.boot-wordmark,.boot-tagline,.boot-loading,.boot-spinner{animation:none}}.pwa-banner{inset-inline:16px;z-index:60;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);width:calc(100% - 32px);max-width:560px;color:var(--text);box-shadow:var(--shadow-lg);align-items:center;gap:12px;margin-inline:auto;padding:12px 14px;display:flex;position:fixed;bottom:16px}.pwa-banner-icon{background:var(--primary-soft);width:34px;height:34px;color:var(--primary-strong);border-radius:999px;flex:none;justify-content:center;align-items:center;display:inline-flex}.code-block{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-3);color:var(--text-2);text-align:start;white-space:pre-wrap;word-break:break-word;max-height:260px;margin:0;padding:12px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;line-height:1.6;overflow:auto}.support-mode-banner{z-index:30;color:#352900;background:#fff4cc;border-bottom:1px solid #d4a933;flex-wrap:wrap;align-items:center;gap:12px;padding:10px 16px;display:flex;position:sticky;top:0}.support-mode-banner .grow{flex:280px}.supervision-picker{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-2);flex-direction:column;gap:9px;min-width:0;padding:12px;display:flex}.supervision-picker-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.supervision-picker-count{color:var(--muted);white-space:nowrap;font-size:12px;font-weight:600}.supervision-picker-tags{flex-wrap:wrap;gap:7px;max-height:116px;padding:2px;display:flex;overflow:auto}.supervision-picker-empty{border:1px dashed var(--border-strong);border-radius:var(--radius-sm);color:var(--muted);padding:8px 10px;font-size:12px}.supervision-person-tag{border:1px solid color-mix(in srgb, var(--primary) 30%, var(--border));background:var(--primary-soft);max-width:100%;color:var(--primary-strong);border-radius:999px;align-items:center;gap:4px;padding:3px 5px 3px 9px;font-size:12px;font-weight:600;display:inline-flex}.supervision-person-tag-copy{flex-direction:column;min-width:0;line-height:1.25;display:flex}.supervision-person-tag-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.supervision-person-tag-subtitle{max-width:180px;color:var(--text-2);text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:500;overflow:hidden}.supervision-person-tag-remove,.supervision-picker-clear{width:23px;height:23px;color:inherit;cursor:pointer;font:inherit;background:0 0;border:0;border-radius:50%;flex:0 0 23px;place-items:center;font-size:17px;line-height:1;display:inline-grid}.supervision-person-tag-remove:hover,.supervision-picker-clear:hover{background:color-mix(in srgb, var(--primary) 14%, transparent)}.supervision-picker-search{align-items:center;display:flex;position:relative}.supervision-picker-search .input{background:var(--surface);min-height:40px;padding-inline:36px}.supervision-picker-search-icon{z-index:1;color:var(--muted);pointer-events:none;font-size:21px;line-height:1;position:absolute;inset-inline-start:12px}.supervision-picker-clear{color:var(--muted);position:absolute;inset-inline-end:8px}.supervision-picker-results{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);scrollbar-width:thin;max-height:210px;overflow-y:auto}.supervision-picker-option{border:0;border-bottom:1px solid var(--border);width:100%;min-height:52px;color:var(--text);text-align:start;cursor:pointer;background:0 0;align-items:center;gap:9px;padding:7px 10px;transition:background .12s;display:flex}.supervision-picker-option:last-child{border-bottom:0}.supervision-picker-option:hover,.supervision-picker-option:focus-visible{background:var(--primary-soft);outline:none}.supervision-picker-avatar{border:1px solid var(--border);background:var(--surface-2);width:34px;height:34px;color:var(--primary-strong);border-radius:50%;flex:0 0 34px;place-items:center;font-size:14px;font-weight:700;display:grid}.supervision-picker-person{flex-direction:column;flex:auto;gap:2px;min-width:0;display:flex}.supervision-picker-name,.supervision-picker-details{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.supervision-picker-name{font-size:13px;font-weight:650}.supervision-picker-details{color:var(--muted);font-size:11px}.supervision-picker-role-tags{flex-wrap:wrap;flex:0 auto;justify-content:flex-end;gap:4px;max-width:42%;display:flex}.supervision-role-tag{border:1px solid var(--border);background:var(--surface-2);color:var(--text-2);white-space:nowrap;border-radius:999px;padding:2px 7px;font-size:10px}.supervision-picker-add{color:var(--primary-strong);flex:none;font-size:18px}.supervision-picker-no-results{color:var(--muted);text-align:center;padding:16px 12px;font-size:12px}.supervision-picker-hint{margin:0}@media (max-width:520px){.supervision-picker{padding:10px}.supervision-picker-role-tags{display:none}}.chat-layout-grid{grid-template-columns:minmax(290px,350px) minmax(0,1fr);align-items:stretch;gap:16px;min-height:calc(100vh - 210px);display:grid}.chat-sidebar-card,.chat-conversation-card{flex-direction:column;min-width:0;display:flex;overflow:hidden}.chat-sidebar-body{box-sizing:border-box;flex-direction:column;gap:12px;height:100%;max-height:75vh;padding:14px;display:flex;overflow-y:auto}.chat-conversation-body{box-sizing:border-box;flex-direction:column;gap:12px;height:75vh;padding:14px;display:flex}.chat-tabs-nav{background:var(--surface-2);border-radius:var(--radius-sm);gap:4px;padding:4px;display:flex}.chat-tab-btn{color:var(--muted);border-radius:var(--radius-sm);cursor:pointer;white-space:nowrap;background:0 0;border:none;flex:1;justify-content:center;align-items:center;gap:6px;padding:6px 8px;font-size:12px;font-weight:600;transition:all .12s;display:flex}.chat-tab-btn.active{background:var(--surface);color:var(--text);box-shadow:var(--shadow-sm)}.chat-channel-item{border-radius:var(--radius-sm);cursor:pointer;text-align:start;width:100%;color:var(--text);background:0 0;border:1px solid #0000;align-items:center;gap:10px;padding:10px 12px;transition:all .12s;display:flex}.chat-channel-item:hover{background:var(--surface-2)}.chat-channel-item.active{background:var(--primary-soft);border-color:var(--primary-soft-border,var(--primary));color:var(--primary-strong,var(--primary))}.chat-msg-bubble{border:1px solid var(--border);word-break:break-word;border-radius:14px;min-width:200px;max-width:82%;padding:10px 14px}.chat-msg-bubble.is-mine{background:var(--primary-soft,#1d6fd61f);border-start-start-radius:4px;align-self:flex-start}.chat-msg-bubble.is-other{background:var(--surface-2,#94a3b81f);border-start-end-radius:4px;align-self:flex-end}.chat-mobile-back-btn{display:none}@media (max-width:768px){.chat-layout-grid{flex-direction:column;gap:0;min-height:auto;display:flex}.chat-layout-grid.pane-list .chat-conversation-card,.chat-layout-grid.pane-chat .chat-sidebar-card{display:none!important}.chat-sidebar-body{padding:12px;max-height:calc(100dvh - 190px)!important}.chat-conversation-body{padding:10px;height:calc(100dvh - 190px)!important;max-height:calc(100dvh - 190px)!important}.chat-mobile-back-btn{cursor:pointer;flex-shrink:0;align-items:center;gap:6px;padding:6px 12px;font-size:12px;font-weight:700;display:inline-flex!important}.chat-msg-bubble{min-width:140px!important;max-width:92%!important;padding:8px 12px!important}.chat-input-bar{gap:6px!important}.chat-input-bar .btn{padding-inline:8px!important}}.route-loading-bar{z-index:999999;pointer-events:none;background:linear-gradient(90deg,#38bdf8,#818cf8,#a855f7);height:3px;animation:1s cubic-bezier(.4,0,.2,1) infinite route-loading-anim;position:fixed;top:0;left:0;right:0}@keyframes route-loading-anim{0%{transform:scaleX(.15)translate(-100%)}50%{transform:scaleX(.65)translate(0%)}to{transform:scaleX(.15)translate(100%)}}
