:root{color:#0f172a;font-synthesis:none;background:#f5f7fb;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{color:#fff;cursor:pointer;background:#1d4ed8;border:0;border-radius:9px;padding:10px 14px;font-weight:650}button:hover{filter:brightness(.96)}button:disabled{opacity:.6}.secondary{color:#0f172a;background:#e2e8f0}.danger{color:#b91c1c;background:#fee2e2}.small{padding:7px 10px;font-size:13px}.link-button{color:#2563eb;text-align:left;background:0 0;padding:4px 0}.icon-button{color:#475569;background:0 0;padding:0 6px;font-size:27px}.app-shell{grid-template-columns:230px 1fr;min-height:100vh;display:grid}.sidebar{color:#fff;background:#0f172a;flex-direction:column;height:100vh;padding:24px 16px;display:flex;position:sticky;top:0}.brand{padding:0 10px 26px;font-size:20px;font-weight:800}.sidebar nav{gap:6px;display:grid}.sidebar a{color:#cbd5e1;border-radius:9px;padding:10px 12px;text-decoration:none}.sidebar a:hover,.sidebar a.active{color:#fff;background:#1e293b}.sidebar-footer{border-top:1px solid #334155;gap:5px;margin-top:auto;padding:14px 10px 0;display:grid}.sidebar-footer small{color:#94a3b8}.main-content{min-width:0;padding:28px}.page-header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px;display:flex}.page-header h1{margin:0;font-size:28px}.page-header p{color:#64748b;margin:5px 0 0}.panel{background:#fff;border:1px solid #e2e8f0;border-radius:14px;margin-bottom:20px;padding:20px;box-shadow:0 2px 7px #0f172a08}.panel h2{margin:0 0 16px;font-size:18px}.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:20px;display:grid}.stat-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:20px}.stat-card span{color:#64748b;display:block}.stat-card strong{margin-top:8px;font-size:32px;display:block}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:14px}th,td{text-align:left;vertical-align:top;border-bottom:1px solid #e2e8f0;padding:12px 10px}th{color:#475569;text-transform:uppercase;letter-spacing:.04em;font-size:12px}.muted{color:#64748b}.ellipsis{white-space:nowrap;text-overflow:ellipsis;max-width:340px;margin-top:4px;overflow:hidden}.empty{text-align:center;color:#64748b;padding:30px}.row-actions,.form-actions{align-items:center;gap:8px;display:flex}.form-grid{grid-template-columns:1fr 1fr;gap:15px;display:grid}.span-2{grid-column:span 2}.stack{gap:14px;display:grid}label{color:#334155;gap:6px;font-size:13px;font-weight:650;display:grid}input,select,textarea{color:#0f172a;background:#fff;border:1px solid #cbd5e1;border-radius:9px;outline:none;width:100%;padding:10px 11px}input:focus,select:focus,textarea:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}textarea{resize:vertical}.checkbox{grid-template-columns:auto 1fr;align-items:center;display:flex}.checkbox input{width:auto}.error,.success{border-radius:9px;padding:10px 12px;font-size:14px}.error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca}.success{color:#166534;background:#f0fdf4;border:1px solid #bbf7d0;margin-bottom:14px}.modal-backdrop{z-index:20;background:#0f172a80;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.modal-card{background:#fff;border-radius:16px;width:min(700px,100%);max-height:90vh;padding:22px;overflow:auto}.modal-header{justify-content:space-between;align-items:center;margin-bottom:15px;display:flex}.modal-header h2{margin:0}.auth-page{background:linear-gradient(135deg,#eff6ff,#f8fafc);place-items:center;min-height:100vh;padding:20px;display:grid}.auth-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;width:min(420px,100%);padding:30px;box-shadow:0 20px 50px #0f172a14}.auth-card h1{margin:0}.center-screen{place-items:center;min-height:100vh;display:grid}.two-column{grid-template-columns:minmax(300px,.8fr) minmax(0,1.4fr);gap:20px;display:grid}.note-card{border:1px solid #e2e8f0;border-radius:12px;margin-bottom:12px;padding:15px}.note-card h3{margin:0 0 4px}.note-card p{white-space:pre-wrap}.calendar-nav{align-items:center;gap:12px;display:flex}.calendar-nav button{padding:6px 12px;font-size:20px}.calendar-panel{overflow:auto}.calendar-weekdays,.calendar-grid{grid-template-columns:repeat(7,1fr);min-width:760px;display:grid}.calendar-weekdays div{text-align:center;color:#64748b;padding:9px;font-weight:700}.calendar-cell{background:#fff;border-top:1px solid #e2e8f0;border-left:1px solid #e2e8f0;min-height:125px;padding:8px}.calendar-cell:nth-child(7n){border-right:1px solid #e2e8f0}.calendar-cell.blank{background:#f8fafc}.day-number{margin-bottom:6px;font-weight:700;display:block}.calendar-task{text-align:left;color:#1e3a8a;background:#dbeafe;width:100%;margin:5px 0;padding:6px 7px;font-size:12px;display:block}.tabs{gap:12px;margin-bottom:16px;display:flex}.tabs button.active{outline:2px solid #1d4ed8}.setting-row{border-bottom:1px solid #e2e8f0;grid-template-columns:minmax(180px,1fr) minmax(220px,1fr) auto;align-items:center;gap:14px;padding:12px 0;display:grid}.setting-row small{color:#64748b;margin-top:4px;display:block}@media print{.sidebar,.no-print,.page-header button{display:none!important}.app-shell{display:block}.main-content{padding:0}.panel{box-shadow:none;border:0;padding:0}.panel+.panel{page-break-before:always}body{background:#fff}}.required{color:#b91c1c}.field-error{color:#b91c1c;margin-top:2px;font-size:12px;font-weight:500;display:block}.invalid{border-color:#dc2626!important;box-shadow:0 0 0 3px #dc262614!important}.reminder-status{color:#d1fae5;background:#0b3a2c;border-radius:8px;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px;padding:9px;font-size:12px;display:flex}.reminder-status.warning{color:#fef3c7;background:#3b2f0b}.reminder-status button{padding:5px 8px;font-size:11px}.priority-badge{border:1px solid #0000;border-radius:999px;align-items:center;width:max-content;padding:4px 9px;font-size:12px;font-weight:800;line-height:1.2;display:inline-flex}.priority-urgent{color:#fff!important;background:#dc2626!important;border-color:#b91c1c!important}.priority-high{color:#422006!important;background:#facc15!important;border-color:#eab308!important}.priority-medium{color:#fff!important;background:#16a34a!important;border-color:#15803d!important}.priority-low{color:#fff!important;background:#2563eb!important;border-color:#1d4ed8!important}.priority-default{color:#334155!important;background:#e2e8f0!important;border-color:#cbd5e1!important}.calendar-task.priority-urgent,.calendar-task.priority-high,.calendar-task.priority-medium,.calendar-task.priority-low{border-left:5px solid;font-weight:650}.calendar-task.priority-high{color:#422006!important}.calendar-priority{text-transform:uppercase;letter-spacing:.04em;opacity:.9;margin-top:3px;font-size:10px;font-weight:800;display:block}.page-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.import-card{width:min(820px,100%)}.import-help{background:#eff6ff;border:1px solid #bfdbfe;border-radius:10px;gap:5px;margin-bottom:16px;padding:13px 14px;display:grid}.import-help small{color:#475569}.template-link{color:#1d4ed8;width:max-content;font-weight:700}.file-chip{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;margin:10px 0;padding:9px 11px;font-size:13px}.import-result{border:1px solid;border-radius:10px;margin-top:14px;padding:13px}.success-result{color:#166534;background:#f0fdf4;border-color:#bbf7d0}.warning-result{color:#78350f;background:#fffbeb;border-color:#fde68a}.import-summary-grid{grid-template-columns:repeat(5,minmax(90px,1fr));gap:9px;margin-top:12px;display:grid}.import-summary-grid>div{background:#ffffffbf;border:1px solid #94a3b847;border-radius:9px;padding:10px}.import-summary-grid span{text-transform:uppercase;letter-spacing:.04em;opacity:.75;font-size:11px;display:block}.import-summary-grid strong{margin-top:3px;font-size:21px;display:block}.import-errors{color:#7f1d1d;margin-top:15px}.import-errors h3{margin:0 0 8px;font-size:14px}.import-errors table{background:#fff}.import-errors td div+div{margin-top:4px}.import-actions{justify-content:flex-end;margin-top:18px}@media (width<=700px){.import-summary-grid{grid-template-columns:repeat(2,1fr)}.page-actions{width:100%}.page-actions button{flex:1}}.sort-header{color:#475569;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap;background:0 0;border-radius:0;align-items:center;gap:6px;padding:0;font-size:12px;font-weight:800;display:inline-flex}.sort-header:hover{color:#1d4ed8;filter:none}.sort-header.active{color:#1d4ed8}.sort-indicator{opacity:.75;font-size:10px}.report-filter-header,.report-title-row{justify-content:space-between;align-items:center;gap:16px;display:flex}.report-filter-header h2,.report-title-row h2{margin-bottom:4px}.report-filter-header p,.report-title-row p{margin:0}.report-filter-grid{grid-template-columns:repeat(4,minmax(160px,1fr));gap:14px;display:grid}.report-stats{margin-top:0}@media (width<=1000px){.report-filter-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=600px){.report-filter-grid{grid-template-columns:1fr}.report-filter-header,.report-title-row{flex-direction:column;align-items:flex-start}}@media print{.sort-header{color:#475569!important}.sort-indicator{display:none}.task-print-panel{padding:0}.task-print-panel table{font-size:11px}.task-print-panel th,.task-print-panel td{padding:7px 5px}.report-filter-grid{display:none}}.brand{padding:0 10px 22px}.brand-logo{background:#fff;border-radius:8px;width:100%;max-width:190px;height:auto;display:block}.auth-logo{width:min(320px,100%);height:auto;margin:0 auto 10px;display:block}.auth-subtitle{text-align:center;margin-top:4px;margin-bottom:18px}@media (width<=900px){.brand-logo{max-width:210px}.brand{justify-content:center;display:flex}}@media print{.brand-logo,.auth-logo{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.print-only{display:none}.pagination-bar{border-top:1px solid #e2e8f0;grid-template-columns:auto 1fr auto;align-items:center;gap:16px;margin-top:16px;padding-top:14px;display:grid}.pagination-summary{color:#64748b;white-space:nowrap;font-size:13px}.pagination-trail{flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;display:flex}.pager-button{color:#334155;background:#fff;border:1px solid #cbd5e1;border-radius:8px;min-width:36px;padding:7px 10px;font-size:13px}.pager-button:hover:not(:disabled){color:#1d4ed8;filter:none;background:#eff6ff;border-color:#93c5fd}.pager-button.active{color:#fff;background:#1d4ed8;border-color:#1d4ed8}.pager-button:disabled{opacity:.45;cursor:not-allowed}.pager-ellipsis{color:#94a3b8;padding:0 3px}.page-size-control{white-space:nowrap;grid-template-columns:auto 76px;align-items:center;gap:8px;font-size:13px;display:flex}.page-size-control select{padding:7px 9px}.site-status-panel{border-width:2px;justify-content:space-between;align-items:center;gap:24px;display:flex}.site-status-panel.online{background:linear-gradient(135deg,#f0fdf4,#fff);border-color:#bbf7d0}.site-status-panel.offline{background:linear-gradient(135deg,#fff7ed,#fff);border-color:#fed7aa}.site-status-copy{max-width:720px}.site-status-copy h2{margin:5px 0 8px;font-size:24px}.site-status-copy p{color:#64748b;margin:0;line-height:1.55}.site-status-label{text-transform:uppercase;letter-spacing:.08em;color:#64748b;font-size:11px;font-weight:800;display:inline-flex}.site-toggle{cursor:pointer;flex-shrink:0;grid-template-columns:none;align-items:center;gap:9px;display:flex}.site-toggle input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.site-toggle-track{background:#94a3b8;border-radius:999px;align-items:center;width:64px;height:34px;padding:3px;transition:all .2s;display:flex;box-shadow:inset 0 1px 3px #0f172a26}.site-toggle-thumb{background:#fff;border-radius:50%;width:28px;height:28px;transition:all .2s;box-shadow:0 2px 5px #0f172a40}.site-toggle input:checked+.site-toggle-track{background:#16a34a}.site-toggle input:checked+.site-toggle-track .site-toggle-thumb{transform:translate(30px)}.site-toggle input:focus-visible+.site-toggle-track{outline-offset:2px;outline:3px solid #2563eb40}.site-toggle strong{color:#334155;min-width:32px}.maintenance-setting textarea{margin:8px 0 12px}.maintenance-setting .form-actions{justify-content:flex-end}.maintenance-page{background:radial-gradient(circle at 0 0,#eff6ff 0,#f8fafc 42%,#fff7ed 100%);place-items:center;min-height:100vh;padding:28px;display:grid}.maintenance-card{background:#fff;border:1px solid #dbeafe;border-radius:24px;grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);width:min(1100px,100%);display:grid;overflow:hidden;box-shadow:0 28px 70px #0f172a24}.maintenance-image{object-fit:cover;width:100%;height:100%;min-height:430px;display:block}.maintenance-copy{flex-direction:column;justify-content:center;padding:44px;display:flex}.maintenance-kicker{text-transform:uppercase;letter-spacing:.1em;color:#ea580c;font-size:12px;font-weight:850}.maintenance-copy h1{color:#0f3b78;margin:10px 0 16px;font-size:34px;line-height:1.12}.maintenance-copy p{color:#475569;margin:0 0 22px;font-size:17px;line-height:1.7}.maintenance-status{color:#1e3a8a;background:#eff6ff;border:1px solid #bfdbfe;border-radius:10px;align-items:center;gap:9px;width:max-content;max-width:100%;padding:11px 13px;font-weight:750;display:flex}.status-dot{background:#f97316;border-radius:50%;width:10px;height:10px;box-shadow:0 0 0 5px #f9731621}.maintenance-actions{flex-wrap:wrap;align-items:center;gap:14px;margin-top:28px;display:flex}.maintenance-actions button{background:#ea580c}.admin-access-link{color:#64748b;width:max-content;font-size:12px;text-decoration:none}.admin-access-link:hover{color:#1d4ed8;text-decoration:underline}.back-maintenance-link{color:#64748b;text-align:center;margin-top:18px;font-size:13px;text-decoration:none;display:block}.back-maintenance-link:hover{color:#1d4ed8}.not-found-page{background:linear-gradient(145deg,#eff6ff,#fff 55%,#fff7ed);place-items:center;min-height:100vh;padding:24px;display:grid}.not-found-card{text-align:center;background:#fff;border:1px solid #dbeafe;border-radius:22px;width:min(620px,100%);padding:40px;box-shadow:0 24px 64px #0f172a1a}.not-found-logo{width:min(300px,80%);height:auto;margin-bottom:10px}.not-found-code{letter-spacing:-.06em;color:#1d4ed8;text-shadow:4px 4px #fed7aa;font-size:92px;font-weight:900;line-height:1}.not-found-card h1{margin:12px 0 10px;font-size:28px}.not-found-card>p{color:#64748b;max-width:500px;margin:0 auto 24px;line-height:1.6}.not-found-actions{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}.button-link{color:#fff;background:#1d4ed8;border-radius:9px;justify-content:center;align-items:center;padding:10px 14px;font-weight:650;text-decoration:none;display:inline-flex}.not-found-help{color:#64748b;border-top:1px solid #e2e8f0;margin-top:24px;padding-top:18px;font-size:13px}.not-found-help a{color:#1d4ed8;text-decoration:none}.not-found-help a:hover{text-decoration:underline}@media (width<=900px){.pagination-bar{grid-template-columns:1fr;justify-items:center}.pagination-summary{order:1}.pagination-trail{order:2}.page-size-control{order:3}.maintenance-card{grid-template-columns:1fr}.maintenance-image{min-height:300px;max-height:420px}.maintenance-copy{padding:30px}.site-status-panel{flex-direction:column;align-items:flex-start}}@media (width<=600px){.maintenance-page{padding:14px}.maintenance-card{border-radius:16px}.maintenance-image{min-height:230px}.maintenance-copy{padding:24px}.maintenance-copy h1{font-size:28px}.not-found-card{padding:28px 20px}.not-found-code{font-size:72px}.pager-button{padding:6px 8px}.pagination-trail{gap:4px}.site-toggle-track{width:58px;height:32px}.site-toggle-thumb{width:26px;height:26px}.site-toggle input:checked+.site-toggle-track .site-toggle-thumb{transform:translate(26px)}}@media print{.print-only{display:block!important}.no-print{display:none!important}.print-only table{font-size:11px}.print-only th,.print-only td{padding:7px 5px}.print-only .priority-badge{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.info-banner{color:#1e3a8a;background:#eff6ff;border:1px solid #bfdbfe;border-radius:10px;margin-bottom:14px;padding:12px 14px;font-size:14px;line-height:1.5}.approval-badge{letter-spacing:.03em;text-transform:capitalize;white-space:nowrap;border:1px solid #0000;border-radius:999px;align-items:center;padding:4px 9px;font-size:11px;font-weight:850;display:inline-flex}.approval-approved{color:#166534;background:#dcfce7;border-color:#bbf7d0}.approval-pending{color:#92400e;background:#fef3c7;border-color:#fde68a}.approval-rejected{color:#991b1b;background:#fee2e2;border-color:#fecaca}.calendar-task-readonly{cursor:default!important;opacity:1!important}.calendar-task-readonly:hover{filter:none!important}.role-code{margin-top:4px;font-size:11px}@media print{.approval-badge{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.field-help{color:#64748b;margin-top:5px;font-size:12px;font-weight:500;line-height:1.35;display:block}.mobile-topbar,.sidebar-mobile-header,.sidebar-overlay,.mobile-task-list,.mobile-sort-controls,.mobile-calendar-agenda{display:none}@media (width<=900px){body.mobile-menu-open{overflow:hidden}.app-shell{min-height:100vh;display:block}.mobile-topbar{z-index:17;height:68px;padding:8px max(12px,env(safe-area-inset-right)) 8px max(12px,env(safe-area-inset-left));background:#0f172a;border-bottom:1px solid #1e293b;align-items:center;gap:12px;display:flex;position:sticky;top:0;box-shadow:0 5px 18px #0f172a29}.mobile-menu-button{background:#1e293b;border:1px solid #334155;flex:none;place-items:center;width:46px;height:46px;padding:0;font-size:23px;line-height:1;display:grid}.mobile-brand-logo{object-fit:contain;background:#fff;border-radius:7px;width:auto;max-width:min(230px,52vw);height:46px;display:block}.mobile-role-chip{text-overflow:ellipsis;white-space:nowrap;color:#cbd5e1;text-align:right;max-width:120px;margin-left:auto;font-size:11px;font-weight:750;overflow:hidden}.sidebar{z-index:25;overscroll-behavior:contain;width:min(82vw,320px);height:100dvh;padding:16px;transition:transform .22s;position:fixed;inset:0 auto 0 0;overflow-y:auto;transform:translate(-105%);box-shadow:12px 0 36px #0f172a47}.sidebar.open{transform:translate(0)}.sidebar-overlay{z-index:24;cursor:default;background:#0f172a8c;border-radius:0;width:100%;height:100%;padding:0;display:block;position:fixed;inset:0}.sidebar-mobile-header{color:#cbd5e1;border-bottom:1px solid #334155;justify-content:space-between;align-items:center;margin-bottom:14px;padding:0 4px 10px;font-weight:750;display:flex}.sidebar-close{color:#fff;min-width:44px;min-height:44px;font-size:30px}.sidebar .brand{justify-content:flex-start;padding:0 6px 18px}.sidebar .brand-logo{max-width:210px}.sidebar nav{grid-template-columns:1fr;gap:7px;display:grid}.sidebar a{align-items:center;min-height:46px;padding:11px 13px;font-size:15px;display:flex}.sidebar-footer{padding:16px 8px max(14px,env(safe-area-inset-bottom));margin-top:24px}.sidebar-footer .link-button{min-height:42px}.main-content{padding:20px max(16px,env(safe-area-inset-right)) 28px max(16px,env(safe-area-inset-left));min-width:0}.page-header{flex-wrap:wrap;gap:14px}.page-header h1{font-size:26px}.page-header>div:last-child:not(:first-child){max-width:100%}.page-actions,.page-header .form-actions{flex-wrap:wrap}.panel{border-radius:12px;padding:18px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.stat-card{padding:16px}.stat-card strong{font-size:28px}.two-column{grid-template-columns:1fr}.tabs{overscroll-behavior-inline:contain;scroll-snap-type:x proximity;margin-right:-16px;padding-bottom:5px;padding-right:16px;overflow-x:auto}.tabs button{white-space:nowrap;scroll-snap-align:start;flex:none;min-height:44px}.report-filter-header,.report-title-row{flex-wrap:wrap}.report-filter-header>label{min-width:180px;max-width:100%}.setting-row{grid-template-columns:1fr;gap:9px}.setting-row button{justify-self:start}.table-wrap{-webkit-overflow-scrolling:touch;overscroll-behavior-inline:contain;border-radius:10px;max-width:100%}.table-wrap>table{min-width:700px}th,td{padding:11px 9px}}@media (width<=700px){button,.button-link{min-height:44px}input,select,textarea{min-height:44px;font-size:16px}textarea{min-height:auto}.main-content{padding:16px 12px 24px}.mobile-topbar{height:64px;padding-left:10px;padding-right:10px}.mobile-brand-logo{max-width:53vw;height:42px}.mobile-role-chip{display:none}.page-header{flex-direction:column;align-items:stretch;margin-bottom:16px}.page-header h1{font-size:24px}.page-header p{font-size:14px;line-height:1.45}.page-actions,.page-header .form-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;display:grid}.page-actions button,.page-header .form-actions button{width:100%}.panel{margin-bottom:14px;padding:14px}.panel h2{font-size:17px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:14px}.stat-card{min-width:0;padding:14px}.stat-card span{font-size:12px}.stat-card strong{margin-top:5px;font-size:25px}.info-banner,.error,.success{font-size:13px;line-height:1.5}.task-table-desktop{display:none}.mobile-task-list{gap:12px;display:grid}.mobile-task-card{background:#fff;border:1px solid #dbe3ef;border-radius:14px;padding:14px;overflow:hidden;box-shadow:0 2px 8px #0f172a0a}.mobile-task-card-head{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.mobile-task-card-head>div{gap:3px;min-width:0;display:grid}.mobile-task-card h3{overflow-wrap:anywhere;margin:12px 0 5px;font-size:17px;line-height:1.3}.mobile-task-description{color:#64748b;white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 12px;font-size:13px;line-height:1.5}.mobile-card-label{text-transform:uppercase;letter-spacing:.055em;color:#64748b;margin-bottom:3px;font-size:10px;font-weight:800;line-height:1.2;display:block}.mobile-task-meta{border-top:1px solid #eef2f7;grid-template-columns:1fr 1fr;gap:11px 12px;padding-top:11px;display:grid}.mobile-task-meta>div{overflow-wrap:anywhere;min-width:0;font-size:13px}.mobile-task-remark{white-space:pre-wrap;overflow-wrap:anywhere;background:#f8fafc;border-radius:9px;margin-top:11px;padding:10px 11px;font-size:13px;line-height:1.45}.mobile-card-actions{grid-template-columns:1fr 1fr;gap:8px;margin-top:13px;display:grid}.mobile-card-actions button{width:100%}.mobile-empty{background:#f8fafc;border:1px dashed #cbd5e1;border-radius:12px}.mobile-sort-controls{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px;margin-bottom:12px;display:grid}.mobile-sort-controls label{min-width:0}.mobile-sort-controls button{white-space:nowrap;padding-inline:11px}.desktop-calendar{display:none}.mobile-calendar-agenda{display:block}.calendar-nav{text-align:center;grid-template-columns:48px 1fr 48px;gap:8px;width:100%;display:grid}.calendar-nav button{width:48px}.calendar-nav strong{place-items:center;font-size:15px;display:grid}.mobile-calendar-day{padding:13px}.mobile-calendar-day h2{color:#334155;margin-bottom:10px;font-size:15px}.mobile-calendar-task{text-align:left;color:#1e3a8a;background:#eff6ff;border-left:5px solid;border-radius:10px;justify-content:space-between;align-items:center;gap:12px;width:100%;min-height:48px;margin:7px 0;padding:11px 12px;display:flex}.mobile-calendar-task>span:first-child{overflow-wrap:anywhere;min-width:0}.mobile-calendar-task .calendar-priority{flex:none;margin:0}.form-grid{grid-template-columns:1fr;gap:13px}.span-2{grid-column:span 1}.form-actions{flex-wrap:wrap}.form-actions>button{flex:140px}.modal-backdrop{place-items:end center;padding:0}.modal-card{width:100%;max-width:none;max-height:94dvh;padding:18px 14px calc(18px + env(safe-area-inset-bottom));border-radius:18px 18px 0 0;box-shadow:0 -15px 50px #0f172a38}.modal-header{z-index:2;background:#fff;border-bottom:1px solid #e2e8f0;margin-bottom:10px;padding:13px 0 10px;position:sticky;top:-18px}.modal-header h2{font-size:20px}.modal-header .icon-button{min-width:44px;min-height:44px}.import-actions{grid-template-columns:1fr;gap:8px;display:grid}.import-actions button{width:100%}.import-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.report-filter-grid{grid-template-columns:1fr;gap:10px}.report-filter-header,.report-title-row{flex-direction:column;align-items:stretch}.report-filter-header button{width:100%}.report-filter-header>label{width:100%;min-width:0}.pagination-bar{gap:10px;margin-top:12px}.pagination-summary{text-align:center;white-space:normal;font-size:12px}.pagination-trail{gap:5px;width:100%}.pager-button{min-width:40px;min-height:40px;padding:6px 9px}.page-size-control{grid-template-columns:auto 82px;justify-content:center;width:100%}.note-card{padding:13px}.note-card .form-actions{grid-template-columns:1fr 1fr;display:grid}.note-card .form-actions button{width:100%}.site-status-panel{gap:16px}.site-status-copy h2{font-size:21px}.site-toggle{justify-content:flex-start;width:100%}.maintenance-copy p{font-size:15px}.maintenance-actions{grid-template-columns:1fr;width:100%;display:grid}.maintenance-actions button,.maintenance-actions .button-link{width:100%}.not-found-actions{grid-template-columns:1fr;display:grid}.not-found-actions>*{width:100%}}@media (width<=420px){.stats-grid{grid-template-columns:1fr 1fr}.stat-card{padding:12px}.stat-card strong{font-size:23px}.page-actions,.page-header .form-actions,.mobile-task-meta,.mobile-sort-controls{grid-template-columns:1fr}.mobile-sort-controls button{width:100%}.pagination-trail .pager-button:first-child,.pagination-trail .pager-button:last-child{display:none}.maintenance-copy{padding:20px}.maintenance-copy h1{font-size:25px}.not-found-code{font-size:64px}}@media (pointer:coarse){.sidebar a,button,.button-link,.pager-button{touch-action:manipulation}.sort-header{min-height:38px}}@media print{.mobile-topbar,.sidebar-overlay,.mobile-task-list,.mobile-sort-controls,.mobile-calendar-agenda{display:none!important}.task-table-desktop,.desktop-calendar{display:block!important}}.time-12-control{grid-template-columns:minmax(68px,1fr) auto minmax(76px,1fr) minmax(78px,.9fr);align-items:center;gap:7px;display:grid}.time-12-control select{min-width:0}.time-colon{color:#475569;text-align:center;font-size:19px;font-weight:800}.time-12-control.invalid-group select{border-color:#dc2626}@media (width<=700px){.time-12-control{grid-template-columns:minmax(58px,1fr) auto minmax(66px,1fr) minmax(74px,.9fr);gap:5px}}.sticky-module-header{z-index:14;background:#f5f7fb;border-bottom:1px solid #cbd5e1b8;margin-top:-10px;padding:10px 0 12px;position:sticky;top:0;box-shadow:0 6px 12px -12px #0f172a73}@media (width>=901px){.dashboard-page .sticky-section-title{z-index:8;background:#fff;border-bottom:1px solid #e2e8f0;margin:-9px 0 8px;padding:9px 0 11px;position:sticky;top:86px}.report-table-panel{flex-direction:column;min-height:0;display:flex}.report-table-panel .report-title-row{flex:none;margin-bottom:12px}.report-table-panel .task-table-scroll-body{scrollbar-gutter:stable both-edges;border:1px solid #e2e8f0;border-radius:10px;max-height:58vh;overflow:auto}.report-table-panel .task-table-scroll-body table{min-width:900px}.report-table-panel .task-table-scroll-body thead th{z-index:7;background:#f8fafc;position:sticky;top:0;box-shadow:0 1px #cbd5e1}.report-table-panel .task-table-scroll-body tbody tr:hover{background:#f8fafc}}@media (width<=900px){.sticky-module-header{z-index:14;top:68px}}@media (width<=700px){.sticky-module-header{padding-top:8px;padding-bottom:10px;top:64px}}@media print{.sticky-module-header,.dashboard-page .sticky-section-title,.report-table-panel .task-table-scroll-body thead th{box-shadow:none!important;position:static!important}.report-table-panel .task-table-scroll-body{border:0!important;max-height:none!important;overflow:visible!important}}html,body,#root{background:#f5f7fb;min-height:100%}html[data-theme=dark],html[data-theme=dark] body,html[data-theme=dark] #root{color:#e5edf8;background:#0b1120}.theme-toggle{color:#f8fafc;background:#1e293b;border:1px solid #334155;border-radius:9px;justify-content:flex-start;align-items:center;gap:9px;min-height:38px;padding:8px 10px;font-size:12px;font-weight:750;line-height:1;display:inline-flex}.theme-toggle:hover{filter:none;background:#334155}.theme-toggle-icon{place-items:center;width:20px;height:20px;font-size:17px;line-height:1;display:grid}.theme-toggle.compact{border-radius:10px;justify-content:center;width:42px;height:42px;min-height:42px;padding:0}.mobile-theme-toggle{flex:none;display:none}.public-theme-toggle{z-index:40;color:#334155;background:#fff;border-color:#cbd5e1;position:fixed;top:18px;right:18px;box-shadow:0 7px 22px #0f172a1a}.public-theme-toggle:hover{background:#f8fafc}html[data-theme=dark] .main-content{color:#e5edf8;background:#0b1120}html[data-theme=dark] .panel,html[data-theme=dark] .stat-card,html[data-theme=dark] .note-card,html[data-theme=dark] .modal-card,html[data-theme=dark] .auth-card,html[data-theme=dark] .mobile-task-card,html[data-theme=dark] .not-found-card,html[data-theme=dark] .maintenance-card{color:#e5edf8;background:#111827;border-color:#334155;box-shadow:0 2px 9px #00000038}html[data-theme=dark] .page-header p,html[data-theme=dark] .muted,html[data-theme=dark] .empty,html[data-theme=dark] .stat-card span,html[data-theme=dark] .setting-row small,html[data-theme=dark] .pagination-summary,html[data-theme=dark] .field-help,html[data-theme=dark] .mobile-task-description,html[data-theme=dark] .mobile-card-label,html[data-theme=dark] .not-found-card>p,html[data-theme=dark] .not-found-help,html[data-theme=dark] .back-maintenance-link,html[data-theme=dark] .admin-access-link,html[data-theme=dark] .site-status-copy p,html[data-theme=dark] .site-status-label{color:#94a3b8}html[data-theme=dark] label,html[data-theme=dark] .site-toggle strong,html[data-theme=dark] .mobile-calendar-day h2{color:#cbd5e1}html[data-theme=dark] input,html[data-theme=dark] select,html[data-theme=dark] textarea{color:#f8fafc;background:#0f172a;border-color:#475569}html[data-theme=dark] input::placeholder,html[data-theme=dark] textarea::placeholder{color:#64748b}html[data-theme=dark] input:focus,html[data-theme=dark] select:focus,html[data-theme=dark] textarea:focus{border-color:#60a5fa;box-shadow:0 0 0 3px #60a5fa29}html[data-theme=dark] .secondary{color:#f8fafc;background:#334155}html[data-theme=dark] .secondary:hover{background:#475569}html[data-theme=dark] .icon-button{color:#cbd5e1}html[data-theme=dark] .link-button,html[data-theme=dark] .template-link,html[data-theme=dark] .not-found-help a{color:#60a5fa}html[data-theme=dark] th,html[data-theme=dark] td,html[data-theme=dark] .setting-row,html[data-theme=dark] .mobile-task-meta,html[data-theme=dark] .not-found-help{border-color:#334155}html[data-theme=dark] th,html[data-theme=dark] .sort-header,html[data-theme=dark] .time-colon{color:#cbd5e1}html[data-theme=dark] .sort-header:hover,html[data-theme=dark] .sort-header.active{color:#60a5fa}html[data-theme=dark] .pager-button{color:#cbd5e1;background:#0f172a;border-color:#475569}html[data-theme=dark] .pager-button:hover:not(:disabled){color:#93c5fd;background:#1e293b;border-color:#60a5fa}html[data-theme=dark] .pager-button.active{color:#fff;background:#2563eb;border-color:#3b82f6}html[data-theme=dark] .pager-ellipsis{color:#64748b}html[data-theme=dark] .file-chip,html[data-theme=dark] .mobile-task-remark,html[data-theme=dark] .mobile-empty{color:#cbd5e1;background:#0f172a;border-color:#334155}html[data-theme=dark] .calendar-cell{background:#111827;border-color:#334155}html[data-theme=dark] .calendar-cell.blank{background:#0f172a}html[data-theme=dark] .calendar-weekdays div{color:#94a3b8}html[data-theme=dark] .calendar-task,html[data-theme=dark] .mobile-calendar-task{color:#bfdbfe;background:#172554}html[data-theme=dark] .import-help,html[data-theme=dark] .info-banner{color:#bfdbfe;background:#172554;border-color:#1e40af}html[data-theme=dark] .import-help small{color:#cbd5e1}html[data-theme=dark] .import-summary-grid>div{background:#0f172abd;border-color:#475569}html[data-theme=dark] .import-errors table{background:#111827}html[data-theme=dark] .error{color:#fecaca;background:#3f161b;border-color:#7f1d1d}html[data-theme=dark] .success,html[data-theme=dark] .success-result{color:#bbf7d0;background:#123521;border-color:#166534}html[data-theme=dark] .warning-result{color:#fde68a;background:#3a2a08;border-color:#92400e}html[data-theme=dark] .danger{color:#fecaca;background:#4c1d1d}html[data-theme=dark] .priority-default{color:#e2e8f0!important;background:#334155!important;border-color:#475569!important}html[data-theme=dark] .approval-approved{color:#bbf7d0;background:#123521;border-color:#166534}html[data-theme=dark] .approval-pending{color:#fde68a;background:#3a2a08;border-color:#92400e}html[data-theme=dark] .approval-rejected{color:#fecaca;background:#3f161b;border-color:#7f1d1d}html[data-theme=dark] .site-status-panel.online{background:linear-gradient(135deg,#123521,#111827);border-color:#166534}html[data-theme=dark] .site-status-panel.offline{background:linear-gradient(135deg,#3b1f0c,#111827);border-color:#9a3412}html[data-theme=dark] .auth-page{background:linear-gradient(135deg,#0b1120,#111827)}html[data-theme=dark] .maintenance-page{background:radial-gradient(circle at 0 0,#172554 0,#0b1120 48%,#1c1208 100%)}html[data-theme=dark] .maintenance-copy h1{color:#93c5fd}html[data-theme=dark] .maintenance-copy p{color:#cbd5e1}html[data-theme=dark] .maintenance-status{color:#bfdbfe;background:#172554;border-color:#1e40af}html[data-theme=dark] .not-found-page{background:linear-gradient(145deg,#0b1120,#111827 55%,#1c1208)}html[data-theme=dark] .public-theme-toggle{color:#f8fafc;background:#111827;border-color:#475569;box-shadow:0 7px 22px #00000047}html[data-theme=dark] .public-theme-toggle:hover{background:#1e293b}html[data-theme=dark] .sticky-module-header{background:#0b1120;border-bottom-color:#334155;box-shadow:0 6px 12px -12px #000000e6}@media (width>=901px){html[data-theme=dark] .dashboard-page .sticky-section-title{background:#111827;border-color:#334155}html[data-theme=dark] .task-list-page .task-table-scroll-body,html[data-theme=dark] .report-table-panel .task-table-scroll-body{border-color:#334155}html[data-theme=dark] .task-list-page .task-table-scroll-body thead th,html[data-theme=dark] .report-table-panel .task-table-scroll-body thead th{background:#1e293b;box-shadow:0 1px #475569}html[data-theme=dark] .task-list-page .task-table-scroll-body tbody tr:hover,html[data-theme=dark] .report-table-panel .task-table-scroll-body tbody tr:hover{background:#172033}}@media (width<=900px){.mobile-theme-toggle{display:inline-flex}.mobile-role-chip{margin-left:auto}html[data-theme=dark] .modal-header{background:#111827;border-color:#334155}}@media (width<=700px){.public-theme-toggle{top:10px;right:10px}.public-theme-toggle span:last-child{display:none}.public-theme-toggle{justify-content:center;width:44px;height:44px;padding:0}}@media print{.theme-toggle,.public-theme-toggle{display:none!important}html[data-theme=dark],html[data-theme=dark] body,html[data-theme=dark] #root,html[data-theme=dark] .main-content,html[data-theme=dark] .panel{color:#000!important;background:#fff!important}}.task-table-desktop tbody tr.task-completed-row{background:#ecfdf3}.task-table-desktop tbody tr.task-overdue-row{background:#fef2f2}.mobile-task-card.task-completed-row{background:#ecfdf3;border-color:#bbf7d0}.mobile-task-card.task-overdue-row{background:#fef2f2;border-color:#fecaca}@media (width>=901px){.task-list-page .task-table-scroll-body tbody tr.task-completed-row:hover{background:#dcfce7}.task-list-page .task-table-scroll-body tbody tr.task-overdue-row:hover{background:#fee2e2}.report-table-panel .task-table-scroll-body tbody tr.task-completed-row:hover{background:#dcfce7}.report-table-panel .task-table-scroll-body tbody tr.task-overdue-row:hover{background:#fee2e2}}html[data-theme=dark] .task-table-desktop tbody tr.task-completed-row,html[data-theme=dark] .mobile-task-card.task-completed-row{background:#123521;border-color:#166534}html[data-theme=dark] .task-table-desktop tbody tr.task-overdue-row,html[data-theme=dark] .mobile-task-card.task-overdue-row{background:#3f161b;border-color:#7f1d1d}@media (width>=901px){html[data-theme=dark] .task-list-page .task-table-scroll-body tbody tr.task-completed-row:hover,html[data-theme=dark] .report-table-panel .task-table-scroll-body tbody tr.task-completed-row:hover{background:#17462b}html[data-theme=dark] .task-list-page .task-table-scroll-body tbody tr.task-overdue-row:hover,html[data-theme=dark] .report-table-panel .task-table-scroll-body tbody tr.task-overdue-row:hover{background:#542026}}@media print{.task-table-desktop tbody tr.task-completed-row{-webkit-print-color-adjust:exact;print-color-adjust:exact;background:#ecfdf3!important}.task-table-desktop tbody tr.task-overdue-row{-webkit-print-color-adjust:exact;print-color-adjust:exact;background:#fef2f2!important}}.date-picker-input{cursor:pointer;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}.date-picker-input::-webkit-calendar-picker-indicator{cursor:pointer;opacity:.85}html[data-theme=dark] .date-picker-input{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}html[data-theme=dark] .date-picker-input::-webkit-calendar-picker-indicator{filter:none;opacity:1}.task-list-header{grid-template-columns:auto minmax(180px,1fr) auto;align-items:center;gap:12px;margin-bottom:12px;display:grid}.task-list-header h1{white-space:nowrap;margin:0;font-size:28px}.task-header-search{min-width:0}.task-header-search input{width:100%;min-width:0}.task-list-header .page-actions{flex-wrap:nowrap;justify-content:flex-end}.task-filter-panel{margin-bottom:10px;padding:9px 10px}.task-filter-grid{grid-template-columns:repeat(auto-fit,minmax(108px,1fr));align-items:end;gap:9px;display:grid}.task-filter-grid label{min-width:0;font-size:12px}.task-filter-grid select{padding:7px 8px}.clear-task-filters{white-space:nowrap;align-self:end;min-height:36px}.completed-info-banner{margin-bottom:12px}.task-name-description-inline{white-space:normal;overflow-wrap:anywhere}.date-picker-control{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;display:grid}.date-picker-control.invalid-group .date-picker-button{border:1px solid #dc2626}.date-picker-button{min-width:86px;padding-inline:11px}.calendar-task-main{overflow-wrap:anywhere;min-width:0;display:block}.calendar-assignee{opacity:.82;overflow-wrap:anywhere;margin-top:3px;font-size:10px;font-weight:700;display:block}.mobile-calendar-task-main{text-align:left;gap:3px;min-width:0;display:grid}.mobile-calendar-task-main small{opacity:.82;font-size:11px;font-weight:700;line-height:1.25}.modal-backdrop{z-index:40}@media (width>=901px){.task-list-page{flex-direction:column;height:calc(100vh - 56px);min-height:520px;display:flex;overflow:hidden}.task-list-page>.task-list-header,.task-list-page>.info-banner,.task-list-page>.task-filter-panel,.task-list-page>.success,.task-list-page>.error{flex:none}.task-list-page .task-table-panel{flex-direction:column;flex:auto;min-height:0;margin-bottom:0;display:flex;overflow:hidden}.task-list-page .task-table-panel .task-table-scroll-body{scrollbar-gutter:stable both-edges;border:1px solid #e2e8f0;border-radius:10px;flex:auto;min-height:0;max-height:none;overflow:auto}.task-list-page .task-table-scroll-body table{min-width:900px}.task-list-page .task-table-scroll-body thead th{z-index:6;background:#f8fafc;position:sticky;top:0;box-shadow:0 1px #cbd5e1}.task-list-page .task-table-scroll-body tbody tr:hover{background:#f8fafc}.task-list-page .pagination-bar{flex:none;margin-top:10px}.task-list-page .task-table-scroll-body th[data-column=task_name]{min-width:270px}.task-list-page .task-table-scroll-body th[data-column=category],.task-list-page .task-table-scroll-body th[data-column=due_date]{min-width:105px}.task-list-page .task-table-scroll-body th[data-column=assigned_to]{min-width:110px}.task-list-page .task-table-scroll-body th[data-column=actions]{min-width:145px}}@media (width>=701px){.task-list-page .task-table-scroll-body tbody tr:not(.task-overdue-row):not(.task-completed-row){background:#fff}.task-list-page .task-table-scroll-body th[data-column=actions],.task-list-page .task-table-scroll-body td.action-cell{background:inherit;position:sticky;right:0}.task-list-page .task-table-scroll-body th[data-column=actions]{z-index:9;background:#f8fafc;box-shadow:-1px 0 #cbd5e1,0 1px #cbd5e1}.task-list-page .task-table-scroll-body td.action-cell{z-index:5;box-shadow:-1px 0 #e2e8f0}}@media (width>=701px) and (width<=900px){.task-list-page{flex-direction:column;height:calc(100dvh - 116px);min-height:430px;display:flex;overflow:hidden}.task-list-page>.task-list-header,.task-list-page>.info-banner,.task-list-page>.task-filter-panel,.task-list-page>.success,.task-list-page>.error{flex:none}.task-list-page .task-table-panel{flex-direction:column;flex:auto;min-height:0;margin-bottom:0;display:flex;overflow:hidden}.task-list-page .task-table-scroll-body{-webkit-overflow-scrolling:touch;overscroll-behavior:contain;border:1px solid #e2e8f0;border-radius:10px;flex:auto;min-height:0;max-height:none;overflow:auto}.task-list-page .task-table-scroll-body table{min-width:850px}.task-list-page .task-table-scroll-body thead th,.report-table-panel .task-table-scroll-body thead th{z-index:7;background:#f8fafc;position:sticky;top:0;box-shadow:0 1px #cbd5e1}.task-list-page .pagination-bar{flex:none;margin-top:9px}.report-table-panel .task-table-scroll-body{-webkit-overflow-scrolling:touch;overscroll-behavior:contain;border:1px solid #e2e8f0;border-radius:10px;max-height:52dvh;overflow:auto}.modal-backdrop{place-items:center;padding:12px;overflow:hidden}.modal-card{-webkit-overflow-scrolling:touch;overscroll-behavior:contain;width:min(760px,100%);max-height:calc(100dvh - 24px);overflow-y:auto}.modal-header{z-index:3;background:#fff;border-bottom:1px solid #e2e8f0;padding:12px 0 10px;position:sticky;top:-22px}}@media (width<=900px){.dashboard-page .sticky-section-title,.report-table-panel .report-title-row{z-index:8;background:#fff;border-bottom:1px solid #e2e8f0;padding:8px 0 10px;position:sticky;top:146px}}@media (width<=700px){.task-list-page{height:auto;min-height:0;display:block;overflow:visible}.task-list-header{z-index:16;background:#f5f7fb;border-bottom:1px solid #cbd5e1cc;grid-template-columns:auto minmax(0,1fr);gap:8px;margin-top:-8px;padding:8px 0 9px;position:sticky;top:64px;box-shadow:0 7px 13px -13px #0f172a99}.task-list-header h1{font-size:22px}.task-list-header .page-actions{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;display:grid}.task-list-header .page-actions button{width:100%;min-width:0}.task-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.clear-task-filters{width:100%;min-height:44px}.dashboard-page .sticky-section-title{top:138px}.report-table-panel .report-title-row{border-bottom:0;padding-top:0;position:static}.modal-backdrop{z-index:40}.modal-card{-webkit-overflow-scrolling:touch;overscroll-behavior:contain}}@media (width<=480px){.task-list-header{grid-template-columns:1fr}.task-list-header h1{font-size:21px}.task-header-search,.task-list-header .page-actions{grid-column:1}.task-filter-grid{grid-template-columns:1fr}.date-picker-control{grid-template-columns:minmax(0,1fr) auto}.date-picker-button{min-width:78px;padding-inline:9px}}@media (pointer:coarse){.task-list-header button,.task-filter-grid button,.date-picker-button,.calendar-nav button,.calendar-task,.mobile-calendar-task,.row-actions button,.modal-card button{touch-action:manipulation}.task-list-header button,.task-filter-grid button,.date-picker-control input,.date-picker-control button,.row-actions button,.modal-card input,.modal-card select,.modal-card button{min-height:44px}}html[data-theme=dark] .task-list-header{color:#e5edf8}html[data-theme=dark] .dashboard-page .sticky-section-title,html[data-theme=dark] .report-table-panel .report-title-row{background:#111827;border-color:#334155}@media (width>=701px){html[data-theme=dark] .task-list-page .task-table-scroll-body{border-color:#334155}html[data-theme=dark] .task-list-page .task-table-scroll-body thead th,html[data-theme=dark] .report-table-panel .task-table-scroll-body thead th{background:#1e293b;box-shadow:0 1px #475569}html[data-theme=dark] .task-list-page .task-table-scroll-body tbody tr:not(.task-overdue-row):not(.task-completed-row){background:#111827}html[data-theme=dark] .task-list-page .task-table-scroll-body th[data-column=actions]{background:#1e293b;box-shadow:-1px 0 #475569,0 1px #475569}html[data-theme=dark] .task-list-page .task-table-scroll-body td.action-cell{box-shadow:-1px 0 #334155}}@media (width<=700px){html[data-theme=dark] .task-list-header{background:#0b1120;border-bottom-color:#334155;box-shadow:0 7px 13px -13px #000000f2}}@media print{.task-list-page{height:auto!important;display:block!important;overflow:visible!important}.task-list-header,.dashboard-page .sticky-section-title,.report-table-panel .report-title-row{box-shadow:none!important;position:static!important}}.expense-page-heading{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px;display:flex}.expense-page-heading h1{margin:0}.expense-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:16px;display:grid}.summary-card{background:var(--surface,#fff);border:1px solid var(--border,#d9dee8);border-radius:12px;flex-direction:column;gap:6px;padding:16px;display:flex}.summary-card span{color:var(--muted,#667085);font-size:.86rem}.summary-card strong{font-size:1.35rem}.expense-tabs{flex-wrap:wrap;gap:8px;margin:0 0 14px;display:flex}.expense-tabs button{color:inherit;border:1px solid var(--border,#d9dee8);background:0 0}.expense-tabs button.active{background:var(--primary,#2857d6);color:#fff;border-color:#0000}.expense-filter-panel{padding:12px}.expense-filter-panel form{grid-template-columns:minmax(220px,1.5fr) repeat(2,minmax(145px,.7fr)) minmax(150px,.9fr) minmax(170px,1fr) minmax(145px,.8fr) minmax(150px,.9fr) auto auto;align-items:center;gap:8px;display:grid}.expense-filter-panel input,.expense-filter-panel select{min-width:0}.expense-clear-filter{white-space:nowrap}.expense-table-panel{padding:0;overflow:hidden}.expense-table-panel table td,.expense-table-panel table th{vertical-align:middle}.table-link{text-align:left;flex-direction:column;align-items:flex-start;display:flex;color:inherit!important;background:0 0!important;border:0!important;padding:0!important}.table-link small{color:var(--muted,#667085);margin-top:3px}.expense-status{white-space:nowrap;background:#64748b1f;border-radius:999px;align-items:center;padding:4px 9px;font-size:.78rem;font-weight:700;display:inline-flex}.status-approved,.status-reimbursed,.status-closed{background:#16a34a24}.status-submitted,.status-under_review,.status-reimbursement_pending{background:#2563eb21}.status-rejected,.status-voided{background:#dc262624}.status-returned{background:#d9770626}.modal.expense-modal{width:min(1080px,96vw);max-height:90vh;overflow:auto}.expense-form-grid{grid-template-columns:minmax(0,1.7fr) minmax(280px,.75fr);gap:20px;display:grid}.expense-form-fields{flex-direction:column;gap:12px;display:flex}.form-grid-2,.form-grid-3,.form-grid-4{gap:12px;display:grid}.form-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.form-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.expense-total-input{background:#0f172a0a;font-weight:800}.expense-currency-note{color:var(--muted,#667085);font-size:.88rem}.checkbox-row{flex-wrap:wrap;align-items:center;gap:8px;flex-direction:row!important;display:flex!important}.checkbox-row input{width:auto}.checkbox-row small{color:var(--muted,#667085)}.receipt-upload-panel{border-left:1px solid var(--border,#d9dee8);min-width:0;padding-left:18px}.receipt-upload-panel h3{margin-top:0}.receipt-dropzone{border:2px dashed var(--border,#cbd5e1);text-align:center;cursor:pointer;border-radius:12px;flex-direction:column;gap:8px;padding:26px 14px;display:flex!important}.receipt-dropzone input{width:100%}.receipt-dropzone span{color:var(--muted,#667085);font-size:.8rem}.file-list{gap:8px;margin:14px 0;padding:0;list-style:none;display:grid}.file-list li{border:1px solid var(--border,#d9dee8);overflow-wrap:anywhere;border-radius:8px;justify-content:space-between;gap:8px;padding:8px 10px;display:flex}.existing-receipts{gap:8px;margin-top:16px;display:grid}.existing-receipts h4{margin:0}.existing-receipt-row{border:1px solid var(--border,#d9dee8);border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:8px;display:grid}.existing-receipt-row>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.existing-receipt-row>div{gap:5px;display:flex}.expense-modal-actions{grid-column:1/-1}.modal.expense-detail-modal{width:min(940px,96vw);max-height:90vh;overflow:auto}.expense-detail-hero{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 18px;display:grid}.expense-detail-hero>div,.expense-detail-grid>div,.expense-amount-breakdown>div{border:1px solid var(--border,#d9dee8);border-radius:10px;flex-direction:column;gap:5px;padding:12px;display:flex}.expense-detail-hero span,.expense-detail-grid span,.expense-amount-breakdown span{color:var(--muted,#667085);font-size:.78rem}.expense-detail-hero strong{font-size:1.05rem}.expense-detail-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.expense-amount-breakdown{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.expense-amount-breakdown>div:last-child{border-width:2px}.expense-detail-section{margin-top:18px}.expense-detail-section h3{margin:0 0 8px}.receipt-list{flex-wrap:wrap;gap:8px;display:flex}.receipt-detail-item{align-items:center;gap:6px;max-width:100%;display:flex}.receipt-chip{overflow-wrap:anywhere;flex-direction:column;align-items:flex-start;max-width:360px;display:flex}.receipt-chip small{opacity:.75}.timeline-row{border-left:3px solid var(--border,#d9dee8);margin-bottom:8px;padding:0 0 12px 12px}.timeline-row span{color:var(--muted,#667085);font-size:.82rem;display:block}.timeline-row p{white-space:pre-wrap;margin:5px 0 0}.audit-row{border-left-color:#2563eb59}.expense-detail-actions{flex-wrap:wrap}.mobile-expense-list{display:none}.mobile-expense-card{border-bottom:1px solid var(--border,#d9dee8);cursor:pointer;padding:14px}.mobile-expense-card>div{justify-content:space-between;align-items:center;gap:10px;display:flex}.mobile-expense-card p{color:var(--muted,#667085);margin:7px 0}.field-error{color:#b42318}.expense-form-grid textarea{resize:vertical}@media (width<=1280px){.expense-filter-panel form{grid-template-columns:repeat(4,minmax(150px,1fr))}.expense-filter-panel form>input:first-child{grid-column:span 2}}@media (width<=900px){.expense-form-grid{grid-template-columns:1fr}.receipt-upload-panel{border-left:0;border-top:1px solid var(--border,#d9dee8);padding:16px 0 0}.expense-modal-actions{grid-column:auto}.form-grid-4,.expense-filter-panel form{grid-template-columns:repeat(2,minmax(0,1fr))}.expense-filter-panel form>input:first-child{grid-column:1/-1}}@media (width<=760px){.expense-page-heading{flex-direction:column}.expense-page-heading .page-actions{grid-template-columns:1fr 1fr;width:100%;display:grid}.expense-summary-grid,.expense-filter-panel form{grid-template-columns:1fr}.expense-filter-panel form>input:first-child{grid-column:auto}.expense-table-desktop{display:none}.mobile-expense-list{display:block}.form-grid-2,.form-grid-3,.form-grid-4{grid-template-columns:1fr}.expense-detail-hero{grid-template-columns:repeat(2,minmax(0,1fr))}.expense-detail-grid,.expense-amount-breakdown{grid-template-columns:1fr}.receipt-detail-item{flex-direction:column;align-items:stretch}.receipt-chip{max-width:100%}}.modal{background:#fff;border-radius:16px;width:min(760px,100%);padding:22px;box-shadow:0 20px 60px #0f172a33}html[data-theme=dark] .modal{color:#e5e7eb;background:#111827;border:1px solid #334155}html[data-theme=dark] .summary-card,html[data-theme=dark] .receipt-upload-panel,html[data-theme=dark] .expense-detail-hero>div,html[data-theme=dark] .expense-detail-grid>div,html[data-theme=dark] .expense-amount-breakdown>div,html[data-theme=dark] .existing-receipt-row{border-color:#334155}html[data-theme=dark] .expense-total-input{color:#e5e7eb;background:#0f172a}@media (width>=701px){.expense-table-desktop{overscroll-behavior:contain;max-height:58vh;overflow:auto}.expense-table-desktop thead th{z-index:3;background:#f8fafc;position:sticky;top:0;box-shadow:0 1px #d9dee8}.expense-table-desktop th:last-child,.expense-table-desktop td:last-child{z-index:2;background:inherit;position:sticky;right:0;box-shadow:-1px 0 #d9dee8}.expense-table-desktop thead th:last-child{z-index:4;background:#f8fafc}html[data-theme=dark] .expense-table-desktop thead th{background:#1e293b;box-shadow:0 1px #475569}html[data-theme=dark] .expense-table-desktop th:last-child,html[data-theme=dark] .expense-table-desktop td:last-child{box-shadow:-1px 0 #334155}}@media (width<=760px){.modal{width:100%;max-width:none;max-height:94dvh;padding:18px 14px calc(18px + env(safe-area-inset-bottom));border-radius:18px 18px 0 0;overflow:auto}.modal-backdrop{place-items:end center;padding:0}}.routine-summary{background:var(--panel,#fff);border:1px solid var(--border,#dbe3ec);border-radius:14px;align-items:center;gap:1rem;margin:0 0 1rem;padding:1rem 1.25rem;display:flex}.routine-summary strong{color:#1d4ed8;font-size:1.8rem}.routine-summary span:last-child{color:var(--muted,#64748b);margin-left:auto}.routine-list{gap:.75rem;display:grid}.routine-item{border:1px solid var(--border,#dbe3ec);background:var(--panel,#fff);border-radius:12px;grid-template-columns:6px minmax(0,1fr) auto;align-items:center;gap:1rem;display:grid;overflow:hidden}.routine-color{height:100%;min-height:90px}.routine-item-main{padding:.8rem 0}.routine-item-main>div{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.routine-item-main strong{font-size:1.05rem}.routine-item-main small{color:var(--muted,#64748b);width:100%;margin-left:4.2rem}.routine-item-main p{margin:.4rem 0 0}.routine-time{font-variant-numeric:tabular-nums;color:#1d4ed8;font-weight:700}.routine-actions{flex-wrap:wrap;justify-content:flex-end;gap:.45rem;padding:.75rem;display:flex}.status-completed{opacity:.78}.status-completed .routine-item-main strong{text-decoration:line-through}.status-skipped{background:color-mix(in srgb,var(--panel,#fff) 92%,#f59e0b)}.routine-form{grid-template-columns:repeat(3,minmax(150px,1fr));gap:1rem;display:grid}.routine-form label{gap:.35rem;display:grid}.routine-description,.routine-form .form-actions,.routine-form .weekday-picker{grid-column:1/-1}.weekday-picker{flex-wrap:wrap;gap:.4rem;display:flex}.weekday-picker button.selected{color:#fff;background:#1d4ed8}.routine-template-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1rem;display:grid}.routine-template-grid article{border:1px solid var(--border,#dbe3ec);border-radius:12px;flex-direction:column;justify-content:space-between;padding:1rem;display:flex}.routine-template-grid small{color:var(--muted,#64748b);margin:.35rem 0;display:block}.inline-form{gap:.6rem;max-width:520px;display:flex}.inline-form input{flex:1}.category-chips{flex-wrap:wrap;gap:.5rem;margin-top:1rem;display:flex}.category-chips span{border:1px solid var(--border,#dbe3ec);border-radius:999px;align-items:center;gap:.4rem;padding:.35rem .7rem;display:flex}.category-chips i{border-radius:50%;width:.7rem;height:.7rem}.routine-chart{justify-content:space-around;align-items:flex-end;gap:2rem;height:340px;padding:1.5rem 1rem 0;display:flex}.routine-bar-column{text-align:center;flex-direction:column;flex:1;align-items:center;max-width:190px;height:100%;display:flex}.routine-bar-track{background:color-mix(in srgb,var(--border,#dbe3ec) 65%,transparent);border-radius:10px 10px 0 0;flex:1;align-items:flex-end;width:72%;display:flex;overflow:hidden}.routine-bar{color:#fff;background:linear-gradient(#3b82f6,#1d4ed8);border-radius:10px 10px 0 0;justify-content:center;width:100%;min-height:24px;padding-top:.35rem;font-weight:700;display:flex}.routine-bar-column strong{margin-top:.65rem;font-size:.9rem}.routine-bar-column small{color:var(--muted,#64748b)}.routine-progress{border:1px solid var(--border,#dbe3ec);border-radius:10px;margin-top:.75rem;padding:.6rem .75rem}.routine-progress>div{justify-content:space-between;align-items:center;gap:1rem;display:flex}.routine-progress label{font-size:.82rem;font-weight:700}.routine-progress input{width:100%;accent-color:var(--progress-color)}.routine-progress.progress-red{--progress-color:#dc2626;background:color-mix(in srgb,var(--panel,#fff) 92%,#dc2626)}.routine-progress.progress-yellow{--progress-color:#ca8a04;background:color-mix(in srgb,var(--panel,#fff) 88%,#facc15)}.routine-progress.progress-green{--progress-color:#16a34a;background:color-mix(in srgb,var(--panel,#fff) 92%,#16a34a)}.routine-item.progress-red{border-left-color:#dc2626}.routine-item.progress-yellow{border-left-color:#eab308}.routine-item.progress-green{border-left-color:#16a34a}.routine-summary.progress-red strong{color:#dc2626}.routine-summary.progress-yellow strong{color:#ca8a04}.routine-summary.progress-green strong{color:#16a34a}.priority{border-radius:999px;padding:.2rem .45rem;font-size:.7rem;font-weight:800}.priority-high{color:#991b1b;background:#fee2e2}.priority-medium{color:#92400e;background:#fef3c7}.priority-low{color:#166534;background:#dcfce7}.routine-subtasks{border-top:1px solid var(--border,#dbe3ec);margin-top:.8rem;padding-top:.6rem}.routine-subtasks h4{margin:.2rem 0 .5rem}.routine-subtask{grid-template-columns:minmax(120px,1fr) minmax(220px,2fr);align-items:center;gap:.75rem;display:grid}.routine-subtask .routine-progress{margin:.3rem 0}.routine-subtask-editor{border:1px solid var(--border,#dbe3ec);border-radius:12px;grid-column:1/-1;padding:1rem}.routine-subtask-editor>div{align-items:center;gap:.6rem;margin:.5rem 0;display:flex}.routine-subtask-editor>div:first-child{justify-content:space-between}.routine-subtask-editor input{flex:1}.routine-finished{background:color-mix(in srgb,var(--panel,#fff) 96%,#16a34a)}.section-heading{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.memories-panel>textarea{resize:vertical;width:100%}.memory-rollup{border-top:1px solid var(--border,#dbe3ec);margin-top:1.25rem;padding-top:1rem}.memory-rollup>label{align-items:center;gap:.6rem;max-width:340px;display:flex}.memory-rollup article{background:color-mix(in srgb,var(--panel,#fff) 94%,#3b82f6);border-left:4px solid #3b82f6;border-radius:8px;margin:.75rem 0;padding:.8rem 1rem}.memory-rollup article p{white-space:pre-wrap;margin:.4rem 0 0}.routine-header-actions{align-items:end;gap:1rem;display:flex}.routine-header-actions label{gap:.35rem;display:grid}.routine-table-scroll{overscroll-behavior-inline:contain;width:100%;overflow-x:auto}.routine-table th{white-space:nowrap}.routine-table td{vertical-align:top}.routine-table td:nth-child(2){min-width:190px}.routine-table td small{color:var(--muted,#64748b);margin-top:.3rem;display:block}.routine-table tr.progress-red{box-shadow:inset 4px 0 #dc2626}.routine-table tr.progress-yellow{box-shadow:inset 4px 0 #eab308}.routine-table tr.progress-green{box-shadow:inset 4px 0 #16a34a}.category-dot{border-radius:50%;width:.65rem;height:.65rem;margin-right:.4rem;display:inline-block}.routine-table-pager{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;margin-top:1rem;display:flex}.routine-table-pager label,.routine-table-pager>div{align-items:center;gap:.6rem;display:flex}.routine-table-pager select{width:auto}.routine-modal-backdrop{z-index:1000}.routine-modal{width:min(1050px,94vw);max-height:92vh;overflow:auto}.routine-modal-header{background:var(--panel,#fff);z-index:2;justify-content:space-between;align-items:center;padding:.3rem 0 .8rem;display:flex;position:sticky;top:-18px}.routine-modal-header h2{margin:0}.progress-button{border:1px solid #0000;min-width:74px;padding:.45rem .7rem;font-weight:800}.progress-button.progress-red{color:#991b1b;background:#fee2e2;border-color:#fca5a5}.progress-button.progress-yellow{color:#92400e;background:#fef3c7;border-color:#facc15}.progress-button.progress-green{color:#166534;background:#dcfce7;border-color:#86efac}.progress-modal{width:min(650px,94vw)}.progress-modal-subtasks{gap:.8rem;margin:1rem 0;display:grid}.progress-modal-subtasks>div{border:1px solid var(--border,#dbe3ec);border-radius:10px;padding:.75rem}.routine-schedule-table th{white-space:nowrap}.routine-schedule-table td{vertical-align:top}.routine-schedule-table td:first-child,.routine-schedule-table td:nth-child(6){min-width:220px}.routine-schedule-table small{color:var(--muted,#64748b);margin-top:.3rem;display:block}.expandable-period-row{cursor:pointer}.expandable-period-row:hover{background:color-mix(in srgb,var(--panel,#fff) 88%,#3b82f6)}.period-expand-button{text-align:left;border:0;padding:.2rem;color:inherit!important;background:0 0!important}.period-detail-row>td{padding:0!important}.period-detail-scroll{background:color-mix(in srgb,var(--panel,#fff) 96%,#3b82f6);padding:1rem;overflow-x:auto}.period-detail-scroll table{min-width:1050px}.period-detail-scroll th{white-space:nowrap}.routine-report-summary>tbody>.period-detail-row:hover{background:0 0}.chart-panel-heading{justify-content:space-between;align-items:center;gap:1rem;display:flex}.chart-panel-heading h2{margin:0}.chart-tabs{gap:.5rem;display:flex}.chart-tabs button.active{color:#fff;background:#1d4ed8}.routine-line-chart{width:100%;padding-top:1rem;overflow-x:auto}.routine-line-chart svg{width:100%;min-width:620px;height:360px;display:block}.routine-line-chart text{fill:var(--text,#0f172a);font-size:12px}.routine-line-chart .chart-small{fill:var(--muted,#64748b);font-size:10px}.routine-line-chart .chart-rate{font-weight:800}.chart-axis{stroke:var(--text,#0f172a);stroke-width:2px}.chart-grid{stroke:var(--border,#dbe3ec);stroke-width:1px;stroke-dasharray:4 4}.chart-line{fill:none;stroke:#2563eb;stroke-width:5px;stroke-linejoin:round;stroke-linecap:round}.collapsible-card{padding:0;overflow:hidden}.collapsible-card-toggle{text-align:left;border:0;border-radius:0;justify-content:space-between;align-items:center;gap:1rem;width:100%;padding:1.1rem 1.25rem;display:flex;color:inherit!important;background:0 0!important}.collapsible-card-toggle span:first-child{gap:.2rem;display:grid}.collapsible-card-toggle h2{margin:0}.collapsible-card-toggle small{color:var(--muted,#64748b);font-weight:500}.collapsible-card-toggle>strong{background:color-mix(in srgb,var(--panel,#fff) 80%,#3b82f6);color:#1d4ed8;border-radius:50%;place-items:center;width:34px;height:34px;font-size:1.45rem;display:grid}.collapsible-card-content{border-top:1px solid var(--border,#dbe3ec);padding:0 1.25rem 1.25rem}.collapsible-card.is-collapsed{margin-bottom:1rem}.diary-card{background:linear-gradient(135deg,color-mix(in srgb,var(--panel,#fff) 97%,#f59e0b),var(--panel,#fff))}.diary-intro{justify-content:space-between;align-items:center;gap:1rem;padding:1.15rem 0;display:flex}.diary-intro p{color:var(--muted,#64748b);margin:.25rem 0 0}.diary-kicker{color:#9a5b13;letter-spacing:.04em;font-family:Georgia,Times New Roman,serif;font-style:italic;font-weight:700}.diary-intro>strong{white-space:nowrap;color:#7c4a10;background:#fff8e8;border:1px solid #d6b98b;border-radius:999px;padding:.45rem .75rem}.diary-day-tabs{grid-template-columns:repeat(7,minmax(120px,1fr));gap:.5rem;padding:.25rem 0 .75rem;display:grid;overflow-x:auto}.diary-day-tabs button{text-align:left;background:color-mix(in srgb,var(--panel,#fff) 96%,#f59e0b);min-width:120px;color:inherit;border:1px solid #dfc79f;border-radius:10px;gap:.18rem;padding:.75rem;display:grid}.diary-day-tabs button span,.diary-day-tabs button small{color:var(--muted,#64748b);font-size:.72rem}.diary-day-tabs button.active{color:#fff;background:#7c4a10;border-color:#7c4a10;box-shadow:0 4px 14px #7c4a1038}.diary-day-tabs button.active span,.diary-day-tabs button.active small{color:#fff4dc}.diary-day-tabs button.locked:not(.active){opacity:.76}.diary-day-tabs button.today:not(.active){border-color:#d97706;box-shadow:inset 0 0 0 1px #d97706}.diary-sheet{background:repeating-linear-gradient(#fffdf7 0 31px,#cbdcf4 32px);border:1px solid #d8c39e;border-radius:12px;margin-top:.35rem;padding:1.25rem 1.4rem 1rem 4rem;position:relative;box-shadow:0 8px 24px #5c3c1717}.diary-sheet:before{content:"";background:#ef9a9a;width:2px;position:absolute;top:0;bottom:0;left:2.8rem}.diary-sheet-heading{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:.6rem;display:flex}.diary-sheet-heading span:first-child{color:#9a5b13;font-family:Georgia,Times New Roman,serif;font-style:italic}.diary-sheet-heading h3{margin:.15rem 0 0;font-family:Georgia,Times New Roman,serif}.diary-status{border-radius:999px;padding:.35rem .65rem;font-size:.76rem;font-weight:800}.diary-status.open{color:#166534;background:#dcfce7}.diary-status.locked{color:#475569;background:#e2e8f0}.diary-sheet textarea{resize:vertical;color:#3f2d18;width:100%;min-height:280px;padding:0 .4rem;font-family:Georgia,Times New Roman,serif;font-size:1rem;line-height:32px;box-shadow:none!important;background:0 0!important;border:0!important}.diary-sheet textarea:disabled{opacity:.82;color:#554635}.diary-footer{justify-content:space-between;align-items:center;gap:1rem;margin-top:.75rem;display:flex}.diary-footer span{color:#705a3c;font-size:.8rem}.diary-report-card{background:linear-gradient(145deg,color-mix(in srgb,var(--panel,#fff) 96%,#f59e0b),var(--panel,#fff))}.diary-report-heading{justify-content:space-between;align-items:end;gap:1rem;display:flex}.diary-report-heading h2{margin:.15rem 0}.diary-report-heading p{color:var(--muted,#64748b);margin:0}.diary-bound-note{color:#6b4614;background:#fff8e8;border-left:4px solid #b7791f;padding:.7rem .9rem}.diary-archive{gap:.75rem;display:grid}.diary-week{background:var(--panel,#fff);border:1px solid #d8c39e;border-radius:12px;overflow:hidden}.diary-week-toggle{text-align:left;border:0;justify-content:space-between;align-items:center;gap:1rem;width:100%;padding:.9rem 1rem;display:flex;color:inherit!important;background:0 0!important}.diary-week-toggle span:first-child{gap:.2rem;display:grid}.diary-week-toggle small{color:#9a5b13;font-family:Georgia,Times New Roman,serif;font-style:italic}.diary-week-toggle span:last-child{white-space:nowrap;color:#7c4a10;font-weight:800}.diary-week-pages{background:color-mix(in srgb,var(--panel,#fff) 96%,#f59e0b);border-top:1px solid #d8c39e;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;padding:1rem;display:grid}.diary-archive-day{background:repeating-linear-gradient(#fffdf7 0 27px,#dbe7f5 28px);border:1px solid #e3d5b9;border-radius:8px;min-height:130px;padding:.85rem 1rem 1rem 2.2rem;position:relative}.diary-archive-day:before{content:"";background:#ef9a9a;width:1px;position:absolute;top:0;bottom:0;left:1.45rem}.diary-archive-day header{justify-content:space-between;gap:.5rem;display:flex}.diary-archive-day header strong{color:#6b4614;font-family:Georgia,Times New Roman,serif}.diary-archive-day header small{color:#166534}.diary-archive-day p{white-space:pre-wrap;margin:.4rem 0 0;font-family:Georgia,Times New Roman,serif;line-height:28px}.diary-archive-day.blank{opacity:.72}@media (width<=800px){.routine-form{grid-template-columns:1fr}.routine-item{grid-template-columns:5px 1fr}.routine-actions{grid-column:2;justify-content:flex-start;padding:.2rem 0 .9rem}.routine-summary{flex-wrap:wrap;align-items:flex-start}.routine-summary span:last-child{margin-left:0}.routine-chart{gap:.6rem;height:290px;padding-left:0;padding-right:0}.routine-bar-track{width:86%}.routine-bar-column strong,.routine-bar-column small{font-size:.7rem}.inline-form{flex-direction:column}.routine-subtask{grid-template-columns:1fr}.section-heading{flex-direction:column}.routine-subtask-editor>div{flex-direction:column;align-items:stretch}.routine-header-actions{flex-direction:column;align-items:stretch;width:100%}.routine-table-pager{flex-direction:column;align-items:flex-start}.routine-modal{width:100%;max-width:none}.chart-panel-heading{flex-direction:column;align-items:flex-start}.chart-tabs{width:100%}.chart-tabs button{flex:1}.diary-intro,.diary-report-heading,.diary-footer{flex-direction:column;align-items:flex-start}.diary-day-tabs{grid-template-columns:repeat(7,132px)}.diary-sheet{padding-left:2.6rem}.diary-sheet:before{left:1.8rem}.diary-week-pages{grid-template-columns:1fr}.collapsible-card-toggle{padding:1rem}.collapsible-card-content{padding:0 1rem 1rem}}.routine-table{min-width:1120px}.routine-schedule-table{min-width:1160px}.routine-table th,.routine-schedule-table th{text-align:center;vertical-align:middle;padding:8px 7px}.routine-table td,.routine-schedule-table td{vertical-align:middle;padding:7px 8px}.routine-table td:nth-child(5){min-width:190px;max-width:300px}.routine-table td:nth-child(6){min-width:96px;max-width:none}.routine-table td:nth-child(7){min-width:90px}.routine-table td:last-child,.routine-schedule-table td:nth-child(5){min-width:190px}.routine-schedule-table td:nth-child(6){min-width:auto}.routine-schedule-table td:last-child{min-width:145px}.routine-actions.compact{flex-wrap:nowrap;justify-content:center;gap:4px;padding:0}.routine-actions.compact button{white-space:nowrap;padding:5px 7px;font-size:12px;line-height:1.1}.sidebar-user{grid-template-columns:38px minmax(0,1fr);align-items:center;gap:10px;margin-bottom:5px;display:grid}.sidebar-user strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.sidebar-avatar{color:#fff;background:#334155;border-radius:50%;place-items:center;width:38px;height:38px;font-weight:800;display:grid;overflow:hidden}.sidebar-avatar img{object-fit:cover;width:100%;height:100%}.profile-grid{grid-template-columns:minmax(240px,320px) minmax(0,1fr);align-items:start;gap:20px;display:grid}.profile-identity{text-align:center}.profile-avatar{color:#fff;background:linear-gradient(135deg,#2563eb,#7c3aed);border-radius:50%;place-items:center;width:128px;height:128px;margin:0 auto 16px;font-size:38px;font-weight:850;display:grid;overflow:hidden;box-shadow:0 8px 24px #2563eb38}.profile-avatar img{object-fit:cover;width:100%;height:100%}.profile-identity h2{margin-bottom:4px}.profile-identity>p{color:var(--muted,#64748b);margin:0 0 10px}.profile-role{color:#1e40af;text-transform:capitalize;background:#dbeafe;border-radius:999px;padding:4px 9px;font-size:12px;font-weight:800;display:inline-block}.profile-photo-form{text-align:left;margin-top:22px}.profile-photo-form small{color:var(--muted,#64748b)}.auth-show-password{margin-top:-4px}.forgot-password-link,.auth-bottom-link,.development-reset-link{color:#2563eb;text-decoration:none;display:block}.forgot-password-link{width:max-content;margin-top:-5px;font-size:13px}.auth-mode-switch{margin:20px auto 0;display:block}.auth-bottom-link{text-align:center;margin-top:20px}.development-reset-link{text-align:center;background:#eff6ff;border:1px solid #93c5fd;border-radius:9px;margin-top:16px;padding:10px 12px;font-weight:700}html[data-theme=dark] .profile-role{color:#dbeafe;background:#1e3a8a}html[data-theme=dark] .development-reset-link{color:#bfdbfe;background:#172554;border-color:#1d4ed8}@media (width<=800px){.profile-grid{grid-template-columns:1fr}.routine-actions.compact{grid-column:auto;justify-content:center;padding:0}.routine-table td:last-child{min-width:190px}}.routine-table th,.routine-schedule-table th{text-align:left}.routine-actions.compact button{font-weight:800}.routine-page-heading{margin-bottom:10px}.routine-page-filters{border:1px solid var(--border,#e2e8f0);background:var(--panel,#fff);border-radius:12px;justify-content:center;align-items:end;gap:16px;width:min(600px,100%);margin:0 auto 20px;padding:12px 18px;display:flex}.routine-page-filters label{min-width:220px}.sidebar-profile-link{text-align:center;border:1px solid #334155;margin-top:5px;font-weight:750}.rich-text-editor{background:#fffdf7d1;border:1px solid #d8c39e;border-radius:9px;overflow:hidden}.rich-text-toolbar{background:#fff8e8;border-bottom:1px solid #d8c39e;flex-wrap:wrap;gap:5px;padding:7px;display:flex}.rich-text-toolbar button{min-width:38px;padding:6px 8px;font-size:12px;font-weight:800}.rich-text-toolbar button:nth-child(2){font-style:italic}.rich-text-toolbar button:nth-child(3){text-decoration:underline}.rich-text-input{color:#3f2d18;outline:0;min-height:280px;padding:10px 12px;font-family:Georgia,Times New Roman,serif;font-size:1rem;line-height:32px}.rich-text-input:focus{box-shadow:inset 0 0 0 2px #2563eb38}.rich-text-input:empty:before{content:attr(data-placeholder);color:#8a7965;pointer-events:none}.rich-text-editor.is-disabled{background:0 0}.rich-text-editor.is-disabled .rich-text-input{opacity:.85}.rich-text-content{white-space:normal;font-family:Georgia,Times New Roman,serif;line-height:1.65}.rich-text-content p{margin:.35rem 0}.rich-text-content blockquote{color:#6b4614;border-left:3px solid #b7791f;margin:.5rem 0;padding-left:.8rem}.rich-text-content ul,.rich-text-content ol{padding-left:1.4rem}html[data-theme=dark] .routine-page-filters{border-color:#334155}html[data-theme=dark] .rich-text-editor{background:#172033;border-color:#475569}html[data-theme=dark] .rich-text-toolbar{background:#1e293b;border-color:#475569}html[data-theme=dark] .rich-text-input{color:#e5e7eb}html[data-theme=dark] .rich-text-content blockquote{color:#fcd34d}@media (width<=800px){.routine-page-filters{flex-direction:column;align-items:stretch}.routine-page-filters label{min-width:0}.routine-page-heading{align-items:stretch}.routine-page-heading>button{width:100%}}.nav-group{gap:4px;display:grid}.nav-group-toggle{color:#cbd5e1;text-align:left;background:0 0;border-radius:9px;justify-content:space-between;align-items:center;width:100%;padding:10px 12px;display:flex}.nav-group-toggle:hover,.nav-group-toggle[aria-expanded=true]{color:#fff;background:#1e293b}.nav-subitems{border-left:1px solid #334155;gap:3px;margin:0 0 4px 10px;padding-left:8px;display:grid}.sidebar .nav-subitems a{padding:8px 10px;font-size:13px}.contacts-toolbar{justify-content:space-between;align-items:end;gap:20px;display:flex}.contacts-toolbar label{width:min(520px,100%)}.contact-grid{grid-template-columns:repeat(auto-fit,minmax(310px,1fr));gap:18px;display:grid}.business-contact-card{margin:0;overflow:hidden}.business-card-image{object-fit:contain;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;width:100%;height:190px}.business-contact-heading h2{margin:12px 0 2px}.business-contact-heading p{color:#64748b;margin:0}.business-contact-card dl{grid-template-columns:80px 1fr;gap:7px 10px;display:grid}.business-contact-card dt{color:#475569;font-weight:800}.business-contact-card dd{overflow-wrap:anywhere;margin:0}.contact-social-links{flex-wrap:wrap;gap:8px;margin:12px 0;display:flex}.contact-social-links a{color:#1d4ed8;background:#dbeafe;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:700;text-decoration:none}.business-contact-card .form-actions{flex-wrap:wrap}.business-contact-card .form-actions a,.button{border-radius:9px;justify-content:center;align-items:center;padding:10px 14px;font-weight:650;text-decoration:none;display:inline-flex}.business-contact-card .form-actions a.secondary,.button.secondary{color:#0f172a;background:#e2e8f0}.contact-modal{width:min(850px,94vw);max-height:92vh;overflow:auto}.contact-form{grid-template-columns:1fr 1fr;gap:14px;display:grid}.contact-form label:nth-child(3),.contact-form label:nth-child(4),.contact-form label:nth-child(8),.contact-form .form-actions{grid-column:1/-1}.memory-picture-section{border-top:1px solid #d8c39e;margin-top:18px;padding-top:16px}.memory-picture-section.editable{outline:none}.memory-picture-section.editable:focus{border-radius:10px;box-shadow:0 0 0 3px #2563eb1f}.memory-picture-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.memory-picture-heading h3{margin:0 0 4px}.memory-picture-heading p{margin:0}.memory-picture-grid{grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:12px;margin-top:12px;display:grid}.memory-picture-grid figure{background:#fff9;border:1px solid #d8c39e;border-radius:10px;margin:0;padding:8px}.memory-picture-grid img{object-fit:cover;border-radius:7px;width:100%;height:150px}.memory-picture-grid figcaption{text-align:center;padding:7px 2px 4px;font-weight:800}.memory-picture-grid button{width:100%;margin-top:4px}html[data-theme=dark] .business-card-image{background:#0f172a;border-color:#334155}html[data-theme=dark] .contact-social-links a{color:#dbeafe;background:#1e3a8a}html[data-theme=dark] .memory-picture-grid figure{background:#172033;border-color:#475569}@media (width<=800px){.contacts-toolbar,.memory-picture-heading{flex-direction:column;align-items:stretch}.contact-form{grid-template-columns:1fr}.contact-form label,.contact-form label:nth-child(3),.contact-form label:nth-child(4),.contact-form label:nth-child(8),.contact-form .form-actions{grid-column:1}.contact-grid{grid-template-columns:1fr}}.memory-picture-grid .image-placeholder{background:linear-gradient(110deg,#e2e8f0 8%,#f8fafc 18%,#e2e8f0 33%) 0 0/200% 100%;border-radius:7px;width:100%;height:150px;animation:1.2s linear infinite image-loading}.business-card-image.image-placeholder{display:block}@keyframes image-loading{to{background-position-x:-200%}}.user-menu-toggle{color:#fff;text-align:left;background:0 0;border:1px solid #0000;grid-template-columns:38px minmax(0,1fr) auto;width:100%;padding:7px}.user-menu-toggle:hover,.user-menu-toggle[aria-expanded=true]{background:#1e293b;border-color:#334155}.user-menu-toggle>span{min-width:0;display:grid}.user-menu-toggle small{color:#94a3b8}.user-dropdown{gap:4px;padding:6px 0 0;display:grid}.sidebar .user-dropdown .user-menu-item,.user-dropdown .user-menu-item{color:#e2e8f0;text-align:left;background:#1e293b;border:0;border-radius:8px;justify-content:flex-start;align-items:center;width:100%;min-height:40px;padding:9px 11px;font-size:13px;text-decoration:none;display:flex}.user-dropdown .user-menu-item:hover{color:#fff;background:#334155}.user-dropdown .theme-toggle-icon{margin-right:7px}.user-dropdown .sign-out-item{color:#fecaca}.user-menu-status{color:#94a3b8;padding:9px 11px;font-size:12px}@media (width>=701px) and (width<=1100px){.routine-page{min-width:0;visibility:visible!important;display:block!important}.routine-page .collapsible-card,.routine-page .collapsible-card-content{min-width:0;max-width:100%;display:block}.routine-page .routine-table-scroll{-webkit-overflow-scrolling:touch;width:100%;max-width:100%;display:block;overflow-x:auto}.routine-page .routine-table,.routine-page .routine-schedule-table{min-width:1120px;display:table}.routine-page .page-header{align-items:flex-start}.routine-page .page-actions{flex-wrap:wrap;display:flex}}.nav-group-toggle{border:1px solid #0000;transition:background .18s,border-color .18s,box-shadow .18s}.nav-group-toggle strong{color:#bfdbfe;background:#273449;border-radius:7px;place-items:center;min-width:24px;height:24px;font-size:13px;display:grid}.nav-group-toggle[aria-expanded=true]{background:linear-gradient(135deg,#1e3a5f,#1e293b);border-color:#3b82f6;box-shadow:inset 3px 0 #60a5fa}.nav-group-toggle[aria-expanded=true] strong{color:#fff;background:#2563eb}.nav-subitems{background:#1e293bb8;border-left:2px solid #3b82f6;border-radius:0 10px 10px 0;gap:4px;margin:2px 0 8px 12px;padding:7px 7px 7px 11px}.sidebar .nav-subitems a{color:#cbd5e1;border:1px solid #0000;border-radius:8px;padding:9px 10px 9px 28px;transition:all .16s;position:relative}.sidebar .nav-subitems a:before{content:"";border:2px solid #64748b;border-radius:50%;width:7px;height:7px;position:absolute;top:50%;left:11px;transform:translateY(-50%)}.sidebar .nav-subitems a:hover{color:#fff;background:#273449;border-color:#3c4b61;transform:translate(2px)}.sidebar .nav-subitems a.active{color:#fff;background:linear-gradient(90deg,#1d4ed8,#2563eb);border-color:#60a5fa;font-weight:800;box-shadow:0 5px 14px #2563eb40}.sidebar .nav-subitems a.active:before{background:#fff;border-color:#fff}.sidebar-footer{position:relative}.user-menu-toggle{background:linear-gradient(135deg,#172033,#1e293b);border-color:#334155;border-radius:12px;padding:9px;transition:border-color .18s,transform .18s;box-shadow:0 8px 22px #0003}.user-menu-toggle:hover,.user-menu-toggle[aria-expanded=true]{background:linear-gradient(135deg,#1e3a5f,#1e293b);border-color:#60a5fa;transform:translateY(-1px)}.user-menu-toggle>b{color:#93c5fd;background:#0f172a;border-radius:7px;place-items:center;width:25px;height:25px;display:grid}.user-dropdown{background:#0b1220;border:1px solid #334155;border-radius:12px;gap:3px;margin-top:7px;padding:8px;box-shadow:0 14px 30px #00000047}.sidebar .user-dropdown .user-menu-item,.user-dropdown .user-menu-item{background:0 0;border:1px solid #0000;border-radius:9px;min-height:42px;padding:9px 12px;font-weight:700}.user-dropdown .user-menu-item:hover{background:#1e3a5f;border-color:#3b82f6;transform:translate(2px)}.user-menu-icon,.user-dropdown .theme-toggle-icon{place-items:center;width:24px;margin-right:8px;font-size:16px;display:inline-grid}.user-dropdown .sign-out-item{color:#fecaca;border-top:1px solid #334155;margin-top:4px}.user-dropdown .sign-out-item:hover{background:#451a1a;border-color:#ef4444}.user-menu-status{color:#94a3b8;background:#111827;border-radius:9px;margin:2px 0;padding:10px 12px}.tooltip-title{align-items:center;gap:7px;display:flex}.help-tooltip{color:#fff;cursor:help;background:#2563eb;border-radius:50%;outline:none;place-items:center;width:21px;height:21px;font:800 13px/1 system-ui;display:inline-grid;position:relative}.help-tooltip:focus-visible{box-shadow:0 0 0 3px #2563eb4d}.help-tooltip-content{z-index:30;color:#f8fafc;text-align:left;opacity:0;visibility:hidden;background:#0f172a;border-radius:9px;width:min(330px,75vw);padding:11px 13px;font:500 13px/1.5 system-ui;transition:opacity .16s,transform .16s,visibility .16s;position:absolute;bottom:calc(100% + 10px);left:50%;transform:translate(-50%,5px);box-shadow:0 10px 30px #00000047}.help-tooltip:hover .help-tooltip-content,.help-tooltip:focus .help-tooltip-content,.help-tooltip:focus-within .help-tooltip-content{opacity:1;visibility:visible;transform:translate(-50%)}.contacts-table-panel{padding:0;overflow:visible}.contacts-table-scroll{-webkit-overflow-scrolling:touch;width:100%;overflow-x:auto}.contacts-table{border-collapse:separate;border-spacing:0;width:100%;min-width:1420px}.contacts-table th{z-index:2;color:#243b5a;text-align:left;white-space:nowrap;background:#eaf1fb;border-bottom:2px solid #93b4dd;padding:11px 10px;position:sticky;top:0}.contacts-table td{vertical-align:top;overflow-wrap:anywhere;border-bottom:1px solid #e2e8f0;max-width:260px;padding:9px 10px}.contacts-table tbody tr:nth-child(2n){background:#f8fafc}.contacts-table tbody tr:hover{background:#eff6ff}.contacts-table td:first-child{min-width:170px}.contacts-table td:nth-child(3),.contacts-table td:nth-child(4){min-width:210px}.contacts-table td:last-child{min-width:230px}.contact-table-actions{flex-wrap:wrap;align-items:center;gap:5px;display:flex}.contact-table-actions button,.contact-table-actions .button{min-height:32px;padding:6px 9px;font-size:12px;font-weight:800}.contacts-table-panel .pagination-bar{border-top:1px solid #e2e8f0;padding:12px 14px}.download-menu{position:relative}.download-options{z-index:25;background:#fff;border:1px solid #cbd5e1;border-radius:10px;min-width:145px;padding:6px;display:grid;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 12px 30px #0f172a2e}.download-options button{color:#0f172a;text-align:left;background:0 0;border-radius:7px;padding:9px 12px}.download-options button:hover{color:#1d4ed8;background:#eff6ff}.sidebar-avatar img,.profile-avatar img{object-position:center center;display:block;object-fit:cover!important;width:100%!important;max-width:none!important;height:100%!important;max-height:none!important}.sidebar-avatar,.profile-avatar{isolation:isolate;flex:none}.profile-avatar{aspect-ratio:1}.profile-identity{min-width:0;overflow:hidden}.profile-photo-form input[type=file]{width:100%;max-width:100%}html[data-theme=dark] .contacts-table th{color:#e2e8f0;background:#1e3a5f;border-color:#3b82f6}html[data-theme=dark] .contacts-table td{border-color:#334155}html[data-theme=dark] .contacts-table tbody tr:nth-child(2n){background:#172033}html[data-theme=dark] .contacts-table tbody tr:hover{background:#1e3a5f}html[data-theme=dark] .download-options{background:#111827;border-color:#475569}html[data-theme=dark] .download-options button{color:#e2e8f0}html[data-theme=dark] .download-options button:hover{color:#fff;background:#1e3a5f}@media (width<=700px){.contacts-page .page-header,.contacts-page .page-actions{align-items:stretch}.contacts-page .page-actions{grid-template-columns:1fr 1fr;width:100%;display:grid}.contacts-page .page-actions>button,.contacts-page .download-menu>button{width:100%}.contacts-table{min-width:1250px}.profile-avatar{width:112px;height:112px}}@media (width>=901px){.app-shell{grid-template-columns:260px 1fr}.sidebar{width:260px}}.sidebar nav{gap:5px}.nav-main-link,.nav-group-toggle{min-height:44px}.sidebar .nav-main-link{border:1px solid #0000;align-items:center;gap:11px;padding:10px 12px;display:flex}.sidebar .nav-main-link.active{background:linear-gradient(90deg,#1d4ed8,#2563eb);border-color:#60a5fa;box-shadow:inset 3px 0 #bfdbfe,0 5px 14px #2563eb33}.nav-icon{flex:0 0 20px;width:20px;height:20px}.nav-parent-label{align-items:center;gap:11px;min-width:0;display:flex}.nav-chevron{color:#bfdbfe;background:#273449;border-radius:7px;place-items:center;min-width:25px;height:25px;font-size:16px;line-height:1;display:grid}.nav-group-toggle[aria-expanded=true] .nav-chevron{color:#fff;background:#2563eb}.nav-subitems{margin-left:22px;padding-left:15px}.sidebar .nav-subitems a{min-height:38px;padding:8px 9px 8px 27px}.sidebar .nav-subitems a:after{content:"";border-top:1px solid #3b82f6;width:14px;position:absolute;top:50%;left:-16px}.sidebar :is(a,button):focus-visible{outline-offset:2px;outline:3px solid #93c5fd}.account-preferences{background:#111827;border:1px solid #334155;border-radius:12px;gap:8px;margin-bottom:10px;padding:10px;display:grid}.appearance-control{gap:7px;display:grid}.appearance-label{color:#cbd5e1;text-transform:uppercase;letter-spacing:.06em;font-size:11px;font-weight:800}.appearance-options{grid-template-columns:repeat(3,1fr);gap:4px;display:grid}.appearance-options button{color:#cbd5e1;background:#1e293b;border:1px solid #334155;border-radius:8px;place-items:center;gap:2px;min-width:0;padding:6px 2px;display:grid}.appearance-options button span{font-size:16px;line-height:1}.appearance-options button small{color:inherit;font-size:9px}.appearance-options button:hover,.appearance-options button.active{color:#fff;background:#1d4ed8;border-color:#60a5fa}.account-preferences>.user-menu-item{color:#e2e8f0;background:#1e293b;border:1px solid #334155;border-radius:8px;justify-content:center;align-items:center;width:100%;min-height:38px;padding:8px;font-size:12px;display:flex}.account-preferences>.user-menu-item:hover{background:#1e3a5f;border-color:#3b82f6}.account-preferences>.user-menu-status{text-align:center;margin:0}.account-identity{background:linear-gradient(135deg,#172033,#1e293b);border:1px solid #334155;border-radius:12px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px;padding:8px;display:grid;position:relative}.account-identity .sidebar-user{min-width:0;margin:0}.account-identity .sidebar-user>span{min-width:0;display:grid}.account-more-button{color:#cbd5e1;letter-spacing:1px;background:0 0;border:1px solid #0000;place-items:center;width:38px;height:38px;padding:0;font-size:18px;display:grid}.account-more-button:hover,.account-more-button[aria-expanded=true]{background:#273449;border-color:#475569}.account-popover{z-index:35;background:#111827;border:1px solid #475569;border-radius:11px;min-width:185px;padding:7px;display:grid;position:absolute;bottom:calc(100% + 8px);right:0;box-shadow:0 16px 35px #00000061}.sidebar .account-popover a,.account-popover button{color:#e2e8f0;text-align:left;background:0 0;border-radius:8px;align-items:center;gap:9px;width:100%;min-height:40px;padding:9px 11px;font-size:13px;font-weight:750;display:flex}.sidebar .account-popover a:hover,.account-popover button:hover{color:#fff;background:#1e3a5f}.account-popover button:last-child{color:#fecaca}.diary-footer button:disabled{cursor:not-allowed;color:#f8fafc;filter:none;background:#94a3b8}.diary-footer button:not(:disabled){box-shadow:0 0 0 3px #2563eb1f}@media (width<=900px){.sidebar .nav-main-link,.nav-group-toggle{min-height:48px}.nav-subitems{margin-left:23px}.account-preferences{margin-top:4px}.account-popover{width:min(284px,100vw - 36px);position:fixed;bottom:18px;left:18px;right:auto}}.account-identity{margin-bottom:10px}.account-preferences{margin-bottom:0}.appearance-options{grid-template-columns:repeat(2,minmax(0,1fr))}.compact-account-card{background:#111827;border:1px solid #334155;border-radius:14px;overflow:hidden;box-shadow:0 9px 24px #00000038}.compact-account-header{color:#fff;text-align:left;background:linear-gradient(135deg,#172033,#1e293b);border:0;border-radius:0;justify-content:space-between;align-items:center;gap:8px;width:100%;padding:9px 10px;display:flex}.compact-account-header:hover,.compact-account-header[aria-expanded=true]{background:linear-gradient(135deg,#1e3a5f,#1e293b)}.compact-account-header .sidebar-user{min-width:0;margin:0}.compact-account-header .sidebar-user>span:last-child{min-width:0;display:grid}.compact-account-header .sidebar-user strong,.compact-account-header .sidebar-user small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.compact-account-chevron{color:#bfdbfe;background:#273449;border-radius:8px;flex:0 0 27px;place-items:center;width:27px;height:27px;font-size:17px;font-weight:900;display:grid}.compact-account-header[aria-expanded=true] .compact-account-chevron{color:#fff;background:#2563eb}.compact-account-panel{background:#0b1220;border-top:1px solid #334155;padding:5px 8px 8px;display:grid}.sidebar .compact-account-row,.compact-account-row{color:#e2e8f0;text-align:left;background:0 0;border:0;border-bottom:1px solid #4755697a;border-radius:0;grid-template-columns:26px minmax(0,1fr) auto;align-items:center;gap:9px;width:100%;min-height:48px;padding:7px 5px;text-decoration:none;display:grid}.sidebar .compact-account-row:hover,.compact-account-row:hover{color:#fff;background:#172033}.compact-account-row:last-child{border-bottom:0}.compact-account-icon{color:#cbd5e1;place-items:center;width:26px;height:26px;font-size:18px;display:grid}.compact-account-copy{min-width:0;display:grid}.compact-account-copy strong{font-size:13px;line-height:1.2}.compact-account-copy small{color:#94a3b8;margin-top:2px;font-size:10px;line-height:1.25}.compact-account-value{color:#f8fafc;align-items:center;gap:4px;font-size:11px;font-weight:800;display:flex}.compact-account-arrow{color:#94a3b8;font-size:25px;line-height:1}.compact-switch{background:#334155;border-radius:999px;width:39px;height:22px;transition:background .18s;display:block;position:relative}.compact-switch span{background:#f8fafc;border-radius:50%;width:16px;height:16px;transition:transform .18s;position:absolute;top:3px;left:3px;box-shadow:0 1px 4px #0006}.compact-switch.is-on{background:#2563eb}.compact-switch.is-on span{transform:translate(17px)}.compact-account-row.is-disabled{opacity:.62;cursor:not-allowed}.compact-sign-out{color:#fca5a5}.compact-sign-out:hover{color:#fecaca!important;background:#451a1a!important}@media (width<=900px){.compact-account-row{min-height:52px}.compact-account-panel{padding-bottom:10px}}.sidebar .nav-subitems a{align-items:center;gap:10px;padding:9px 10px;display:flex}.sidebar .nav-subitems a:before{content:none}.sidebar .nav-subitems .nav-icon{color:#93c5fd;flex:0 0 17px;width:17px;height:17px}.sidebar .nav-subitems a.active .nav-icon{color:#fff}.task-name-description-inline .rich-text-content,.routine-schedule-description{color:#64748b;margin-top:4px;font-size:12px;line-height:1.4}.task-name-description-inline .rich-text-content p,.routine-schedule-description p{margin:.15rem 0}.attachment-modal{width:min(1120px,96vw);max-height:92vh;overflow:auto}.attachment-layout{grid-template-columns:minmax(260px,340px) minmax(0,1fr);gap:18px;display:grid}.attachment-sidebar{align-content:start;gap:12px;display:grid}.attachment-upload{background:#f8fafc;border:1px solid #cbd5e1;border-radius:10px;gap:8px;padding:12px;display:grid}.attachment-upload input{width:100%}.attachment-list{gap:7px;max-height:520px;display:grid;overflow:auto}.attachment-list article{background:#fff;border:1px solid #e2e8f0;border-radius:9px;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:9px;display:grid}.attachment-list article.active{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb1f}.attachment-open{color:#0f172a;text-align:left;overflow-wrap:anywhere;background:0 0;min-width:0;padding:0}.attachment-open small{color:#64748b;margin-top:3px;display:block}.attachment-list article>div{align-items:center;gap:5px;display:flex}.attachment-list article>div button{min-height:30px;padding:5px 8px;font-size:12px}.attachment-preview{background:#f8fafc;border:1px solid #cbd5e1;border-radius:10px;place-items:center;min-height:520px;display:grid;overflow:hidden}.attachment-preview img{object-fit:contain;max-width:100%;max-height:72vh;display:block}.attachment-preview iframe{background:#fff;border:0;width:100%;height:68vh}.attachment-preview pre{white-space:pre-wrap;color:#111827;background:#fff;width:100%;height:100%;min-height:500px;margin:0;padding:16px;overflow:auto}.attachment-preview-empty,.attachment-office-message{text-align:center;gap:10px;max-width:520px;padding:28px;display:grid}.attachment-preview-empty span{color:#64748b}html[data-theme=dark] .attachment-upload,html[data-theme=dark] .attachment-preview{background:#172033;border-color:#475569}html[data-theme=dark] .attachment-list article{background:#111827;border-color:#334155}html[data-theme=dark] .attachment-open{color:#e2e8f0}html[data-theme=dark] .attachment-open small{color:#94a3b8}@media (width<=800px){.attachment-layout{grid-template-columns:1fr}.attachment-preview{min-height:360px}.attachment-preview iframe{height:58vh}.attachment-list{max-height:300px}}
