@import"https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&display=swap";:root{color-scheme:light;--bg: #edf2fa;--warning:#a86a17;--info:#0f6f91;--shadow-sm:0 4px 12px -6px rgba(15,31,57,0.18);--shadow-lg:0 30px 60px -30px rgba(7,18,44,0.40);--radius-card:14px;--radius-input:11px;--radius-pill:999px;--transition-fast:0.15s ease-out;--transition-base:0.22s ease;--transition-panel:0.26s cubic-bezier(0,0,0.2,1);--z-sticky:5;--z-drawer:50;--z-modal:80;--z-toast:200;--bg-soft: #e8eef8;--surface: #ffffff;--surface-soft: #f5f8ff;--ink: #0b1b38;--muted: #566682;--line: #ccd6e8;--brand: #1f356a;--brand-bright: #355bd8;--brand-soft: #e8efff;--danger: #bb1f3f;--ok: #117b66;--radius: 16px;--shadow: 0 18px 34px -22px rgba(15, 31, 57, .35)}*{box-sizing:border-box}html,body,#root{margin:0;min-height:100%}body{font-family:IBM Plex Sans,sans-serif;color:var(--ink);background:radial-gradient(circle at 8% -10%,#dce6ff 0,transparent 36%),radial-gradient(circle at 90% 0%,#d8f0e8 0,transparent 34%),var(--bg)}input,select,button{font:inherit}input,select{width:100%;border:1px solid var(--line);border-radius:11px;padding:11px 12px;background:var(--surface);transition:border-color .2s ease,box-shadow .2s ease}input:focus,select:focus{border-color:var(--brand-bright);box-shadow:0 0 0 3px #355bd824;outline:0}input[type=checkbox]{width:16px;height:16px;padding:0;border-radius:4px;accent-color:var(--brand);border:1px solid var(--line);background:#fff;cursor:pointer}button{border:0;border-radius:11px;padding:11px 14px;background:linear-gradient(135deg,var(--brand) 0%,var(--brand-bright) 100%);color:#fff;font-weight:600;cursor:pointer;transition:transform .15s ease-out,box-shadow .15s ease-out}button:hover{transform:translateY(-1.5px);box-shadow:0 6px 16px -4px rgba(31,53,106,0.28)}button:active{transform:translateY(0.5px);box-shadow:0 2px 4px -1px rgba(31,53,106,0.18)}button:disabled{opacity:.65;cursor:not-allowed;transform:none}.ghost-btn{background:var(--surface);border:1px solid var(--line);color:var(--ink)}.loading-screen{min-height:100vh;display:grid;place-items:center;font-weight:600}.auth-page{position:relative;isolation:isolate;overflow:hidden;min-height:100vh;display:grid;place-items:center;padding:26px 18px;background:radial-gradient(70rem 34rem at -8% -12%,rgba(134,154,255,.34) 0%,transparent 62%),radial-gradient(48rem 28rem at 110% 100%,rgba(138,100,226,.35) 0%,transparent 66%),linear-gradient(110deg,#6a7de6,#686bd1 35%,#7158b5 68%,#744eae)}.auth-page:before,.auth-page:after{content:"";position:absolute;z-index:-1;border-radius:999px;filter:blur(2px)}.auth-page:before{width:420px;height:420px;right:-120px;bottom:-90px;background:radial-gradient(circle at 30% 30%,rgba(53,91,216,.3),rgba(53,91,216,.06) 68%,transparent 72%)}.auth-page:after{width:360px;height:360px;left:-120px;top:-90px;background:radial-gradient(circle at 70% 60%,rgba(15,111,145,.28),rgba(15,111,145,.05) 66%,transparent 72%)}.auth-card{width:min(480px,94vw);background:#f7f9fff5;border:1px solid rgba(209,218,242,.9);border-radius:28px;padding:30px 30px 28px;box-shadow:0 35px 60px -35px #101430ad;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.eyebrow{margin:0 0 2px;color:#5e73df;font-size:12px;letter-spacing:.12em;text-transform:uppercase;font-weight:700;text-align:center}.brand-block h1{margin:0;font-size:34px;line-height:1.14;letter-spacing:-.03em}.auth-brand-title{margin:12px 0 0;font-size:clamp(30px,4.3vw,50px);line-height:.98;font-weight:800;letter-spacing:-.03em;color:#5e61c8;text-transform:uppercase;text-align:center}.auth-firm-name{margin:14px 0 0;color:#62718d;font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;text-align:center}.auth-pill{margin:14px auto 0;width:fit-content;background:#dff5eb;color:#1f8064;border-radius:999px;padding:6px 14px;font-size:12px;font-weight:700}.auth-mark{margin:6px auto 0;width:64px;height:64px;border-radius:20px;display:grid;place-items:center;color:#fff;font-size:28px;font-weight:800;background:linear-gradient(145deg,#5a72e1,#724db5);box-shadow:0 16px 28px -18px #26246ecc}.form-grid{display:grid;gap:12px;margin-top:22px}.form-grid label{display:grid;gap:6px;font-weight:700;font-size:13px;color:#2b334a}.auth-submit{margin-top:8px;min-height:52px;border-radius:14px;text-transform:uppercase;letter-spacing:.06em;background:linear-gradient(90deg,#6073df,#7050b7)}.error-text{color:var(--danger);font-size:13px;margin-top:10px}.muted{color:var(--muted);margin:0}.inline-link{color:var(--brand);text-decoration:none;font-weight:600}.inline-link:hover{text-decoration:underline}.app-shell{min-height:100vh;display:grid;grid-template-columns:280px 1fr}.mobile-topbar,.mobile-nav-backdrop{display:none}.module-knowledge .panel{background:var(--surface-soft)}.knowledge-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px}.knowledge-card{border-radius:var(--radius-card);border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow-sm);transition:transform var(--transition-base),box-shadow var(--transition-base),border-color var(--transition-fast);cursor:pointer}.knowledge-card:hover{transform:translateY(-2.5px);box-shadow:var(--shadow);border-color:color-mix(in srgb,var(--brand) 25%,var(--line))}.knowledge-detail-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:12px}.knowledge-tabs-vertical{display:flex;flex-direction:column;gap:8px}.knowledge-detail-content{min-width:0}.badge-success{background:var(--brand-soft);color:var(--brand-bright);border:1px solid color-mix(in srgb,var(--brand-bright) 15%,transparent)}.badge-muted{background:var(--bg-soft);color:var(--muted);border:1px solid var(--line)}@media(max-width:900px){.knowledge-detail-layout{grid-template-columns:1fr}.knowledge-tabs-vertical{flex-direction:row;overflow-x:auto}}.sidebar{border-right:1px solid rgba(255,255,255,.1);background:linear-gradient(175deg,#0b1633,#132857);color:#d4e2ff;padding:24px 18px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh;box-shadow:14px 0 30px #050d1e38}.logo{font-size:25px;font-weight:800;margin-bottom:6px;letter-spacing:-.03em;color:#fff}.sidebar .muted{color:#9db4de}.sidebar-nav{display:grid;gap:8px;margin-top:24px;flex:1 1 auto;align-content:start;overflow:auto;padding-right:4px}.sidebar-nav a{text-decoration:none;color:#c8daf8;border:1px solid transparent;border-radius:12px;padding:11px 13px;font-weight:500;transition:all .2s ease}.sidebar-nav a:hover{background:#ffffff17;color:#fff}.sidebar-nav a.active{background:linear-gradient(90deg,rgba(53,91,216,0.72) 0%,rgba(53,91,216,0.28) 100%);border-color:#86a0f080;border-left:3px solid #7fa8ff;color:#fff;font-weight:700}.sidebar-group-toggle{margin-top:8px;background:transparent;border:1px solid rgba(173,195,238,.25);color:#d9e7ff;display:flex;justify-content:space-between;align-items:center;padding:10px 12px}.sidebar-group-toggle strong{font-size:16px;line-height:1}.sidebar-group-toggle.active{background:#4a6fcd2e}.sidebar-subnav{display:grid;gap:6px;margin:4px 0 8px 10px;padding-left:10px;border-left:1px solid rgba(173,195,238,.3)}.sidebar-subnav a{text-decoration:none;color:#bbcff2;border:1px solid transparent;border-radius:10px;padding:9px 10px;font-size:13px}.sidebar-subnav a.active{background:rgba(255,255,255,0.20);border-left:2px solid #7fa8ff;color:#fff;font-weight:700;border-color:rgba(173,195,238,0.45)}.sidebar-footer{margin-top:14px;border-top:1px solid rgba(173,195,238,.24);padding-top:12px}.sidebar-logout-btn{width:100%;background:#ffffff14;border:1px solid rgba(173,195,238,.32);color:#e7efff}.sidebar-logout-btn:hover{background:#ffffff21}.content-area{padding:24px;width:100%;max-width:none}.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:16px;margin-bottom:12px;box-shadow:var(--shadow)}.panel h2,.panel h3{margin:0 0 12px;letter-spacing:-.01em}.module-hero{display:flex;justify-content:space-between;align-items:center;gap:14px;background:linear-gradient(138deg,#f7faff,#f1f7f5)}.module-hero h2{margin-bottom:6px}.module-subtitle{margin-top:2px}.kpi-strip{display:flex;gap:8px;flex-wrap:wrap}.kpi-pill{border:1px solid var(--line);background:#fff;border-radius:10px;padding:7px 10px;min-width:90px}.kpi-pill span{display:block;color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.07em;font-weight:700}.kpi-pill strong{font-size:17px;letter-spacing:-.02em}.toolbar-row{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;flex-wrap:wrap}.master-toolbar{position:sticky;top:10px;z-index:5}.compact-toolbar-panel{padding:12px}.compact-toolbar-header{align-items:center;margin-bottom:8px}.compact-toolbar-header h2{margin:4px 0 0}.compact-toolbar-body{align-items:center}.compact-toolbar-body .toolbar-left{flex:1 1 auto;align-items:center}.compact-toolbar-body .toolbar-right{flex:0 0 auto}.master-page .toolbar-row{align-items:center}.toolbar-left,.toolbar-right{display:flex;gap:8px;flex-wrap:wrap}.toolbar-left{flex:1 1 560px}.toolbar-left>*{min-width:140px}.compact-toolbar-body .toolbar-left>*{min-width:130px}.toolbar-left button,.toolbar-right button{white-space:nowrap}.inline-grid{display:grid;gap:10px;grid-template-columns:repeat(4,minmax(0,1fr))}.kpi-grid{display:grid;gap:12px;grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:12px}.kpi-card{background:linear-gradient(170deg,var(--surface) 0%,var(--surface-soft) 100%);border:1px solid var(--line);border-radius:var(--radius);padding:14px;box-shadow:var(--shadow)}.kpi-card p{margin:0;color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.07em;font-weight:700}.kpi{margin:10px 0 0;font-size:32px;font-weight:800;letter-spacing:-.04em}.master-hero{display:flex;justify-content:space-between;align-items:center;gap:16px;background:linear-gradient(140deg,#f4f8ff,#eef7f4)}.master-total{min-width:220px;border:1px solid var(--line);border-radius:14px;padding:12px 14px;background:#ffffffd9}.master-total .kpi{margin-top:4px}.master-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}.master-card{background:linear-gradient(170deg,#fff,#f9fbff);border:1px solid var(--line);border-radius:14px;padding:16px;box-shadow:var(--shadow);display:grid;gap:8px}.master-card.clickable{cursor:pointer;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.master-card.clickable:hover{transform:translateY(-2px);border-color:#b9c8e8}.master-card h3{margin:0;font-size:18px;letter-spacing:-.01em}.master-count{margin:2px 0 8px;font-size:28px;font-weight:800;color:var(--brand)}.master-link{display:inline-block;width:fit-content;text-decoration:none;color:#fff;font-weight:700;font-size:13px;border-radius:10px;padding:9px 12px;background:linear-gradient(135deg,var(--brand) 0%,var(--brand-bright) 100%)}.master-workspace{display:grid;grid-template-columns:280px 1fr;gap:14px;align-items:start}.master-tabs{position:sticky;top:8px;display:grid;gap:8px}.master-tab{border:1px solid var(--line);background:var(--surface-soft);color:var(--ink);border-radius:12px;padding:12px;text-align:left;display:grid;gap:4px}.master-tab strong{font-size:14px}.master-tab span{font-size:12px;color:var(--muted)}.master-tab.active{background:var(--brand-soft);border-color:#a8bbe9;box-shadow:0 8px 18px -12px #21376d73}.master-module-area .panel{box-shadow:none}.drawer-backdrop{position:fixed;inset:0;background:#0c162d59;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:40}.drawer-panel{position:fixed;top:0;right:0;width:min(540px,92vw);height:100vh;background:#fff;border-left:1px solid var(--line);box-shadow:-24px 0 40px -24px #0e182c8c;z-index:50;padding:calc(18px + env(safe-area-inset-top, 0px)) 18px calc(18px + env(safe-area-inset-bottom, 0px));overflow:auto}.modal-backdrop{position:fixed;inset:0;background:#08112473;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:70}.modal-panel{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);width:min(760px,94vw);max-height:84vh;overflow:auto;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 30px 70px -35px #07122cb3;padding:16px;z-index:80}.modal-panel--task-create{width:min(1100px,96vw);max-height:90vh}.modal-panel--task-action{width:min(640px,94vw);max-height:82vh}.modal-panel--confirm-complete{width:min(560px,94vw);max-height:70vh}.complete-confirm-panel{background:radial-gradient(circle at top right,rgba(255,117,117,.16),transparent 48%),radial-gradient(circle at bottom left,rgba(64,173,255,.16),transparent 46%),var(--panel-bg);border:1px solid rgba(246,102,102,.35)}.complete-confirm-title{margin:0;font-size:1.02rem;font-weight:700;color:#0f2444}.complete-confirm-note{margin:6px 0 0;color:#3a5177}.btn-complete-confirm{background:linear-gradient(120deg,#0ca678,#20c997)!important;border-color:#0ca678!important;color:#fff!important}.btn-complete-confirm:hover{background:linear-gradient(120deg,#0b8f67,#1aa983)!important;border-color:#0b8f67!important}.drawer-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.drawer-head h3{margin:0}.segmented{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px;margin:8px 0 12px}.segmented button{background:var(--surface-soft);color:var(--ink);border:1px solid var(--line);padding:10px}.segmented button.active{background:var(--brand-soft);border-color:#9fb5e9;color:var(--brand)}.master-page .panel h3{margin-bottom:10px}.master-page{--module-accent: #355bd8;--module-tint: #eff4ff}.module-master-overview{--module-accent: #3159bf;--module-tint: #eef3ff}.module-clients{--module-accent: #0e7f78;--module-tint: #edf9f7}.module-access{--module-accent: #4a56b0;--module-tint: #f1f3ff}.module-financial-years{--module-accent: #a86a17;--module-tint: #fff7e9}.module-task-templates{--module-accent: #2c5cc5;--module-tint: #edf3ff}.module-notices{--module-accent: #0f6f91;--module-tint: #eef9fd}.notice-lite-strip{background:linear-gradient(135deg,#eef8ff,#f4f5ff 55%,#fdf3ff)}.notice-lite-title-row{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:10px}.notice-lite-title-row h3{margin:0}.notice-lite-cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.notice-lite-card{border:1px solid #c8d8ec;border-radius:12px;padding:8px 10px;background:#fff;display:grid;gap:4px}.notice-lite-card span{font-size:10px;text-transform:uppercase;letter-spacing:.08em;font-weight:700;color:#4c648d}.notice-lite-card strong{font-size:24px;line-height:1;letter-spacing:-.02em}.notice-lite-card.total{background:linear-gradient(170deg,#edf3ff,#e3ecff);border-color:#b9c9ea}.notice-lite-card.overdue{background:linear-gradient(170deg,#fff1e7,#ffdccc);border-color:#ebc0a7}.notice-lite-card.critical{background:linear-gradient(170deg,#ffeef4,#ffd8e6);border-color:#e6bed0}.notice-lite-card.awaiting{background:linear-gradient(170deg,#fff9e9,#f7edc7);border-color:#e2d095}.notice-lite-card.closed{background:linear-gradient(170deg,#edf8f2,#dff0e7);border-color:#b9dbc8}.module-notices .table-sticky thead th{background:linear-gradient(180deg,#dce8ff,#cfe0ff);color:#0b1b38;border-bottom-color:#ffffff24}.master-page .module-hero{background:linear-gradient(135deg,var(--module-tint) 0%,#ffffff 100%);box-shadow:inset 0 1px color-mix(in srgb,var(--module-accent) 16%,#ffffff)}.master-page .kpi-pill span{color:var(--module-accent)}.master-page .page-note{background:linear-gradient(135deg,var(--module-tint) 0%,#ffffff 100%);border-color:color-mix(in srgb,var(--module-accent) 24%,#d5deee)}.master-page .table-sticky thead th{background:linear-gradient(180deg,color-mix(in srgb,var(--module-tint) 80%,#ffffff),#f7faff)}.master-page .inline-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.master-page .inline-grid button{min-height:42px}.list-grid{display:grid;gap:12px;grid-template-columns:1fr 1fr}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:12px;background:#fff}.table-sticky{max-height:72vh}.table-sticky thead th{position:sticky;top:0;background:#f8fafe;z-index:1}table{width:100%;border-collapse:collapse}th,td{border-bottom:1px solid var(--line);padding:9px 10px;text-align:left;font-size:12px}th{color:var(--muted);font-weight:700;text-transform:uppercase;letter-spacing:.06em;font-size:10px}tbody tr:nth-child(even){background:var(--surface-soft)}tbody tr:hover{background:#f5f8ff}.row-selected{background:#e8efff}.tag{display:inline-block;border-radius:999px;padding:4px 10px;background:#edf3ff;font-size:12px;font-weight:600}.tag.pending{background:#f8f2df;color:#9c6700}.tag.pending_approval{background:#f6eefe;color:#6f3bb7}.tag.upcoming{background:#e9f2ff;color:#2959a8}.tag.pending_client{background:#fef5db;color:#a86c00}.tag.pending_department{background:#f2ecff;color:#5f3fb4}.tag.in_progress{background:#e8f1ff;color:#1f58a6}.tag.completed{background:#e6f7f2;color:var(--ok)}.tag.cancelled{background:#ffecef;color:var(--danger)}.tag.active{background:#e6f7f2;color:var(--ok)}.tag.inactive{background:#ffecef;color:var(--danger)}.flex-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.compact-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.compact-actions select{min-width:150px;width:auto}.compact-actions button{padding:8px 10px}.task-filter-shell{margin-top:8px;border:1px solid var(--line);border-radius:12px;padding:8px;background:linear-gradient(180deg,#fcfdff,#f7faff);display:grid;gap:8px}.task-filter-primary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.task-filter-primary--with-actions{grid-template-columns:1.1fr 1.1fr 1.1fr 1.3fr auto auto;align-items:center}.task-inline-filter-btn{white-space:nowrap;min-width:108px;height:42px}.task-fixed-filter{border:1px dashed var(--line);border-radius:10px;padding:11px 12px;color:var(--muted);font-weight:600;background:#fff}.task-filter-actions{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap}.task-quick-filter-row{display:flex;gap:8px;flex-wrap:wrap}.task-quick-filter-row button{padding:7px 10px}.task-filter-advanced{margin-top:8px;border:1px solid var(--line);border-radius:12px;padding:10px;background:#fff}.task-filter-advanced-grid{display:grid;gap:8px;grid-template-columns:repeat(4,minmax(0,1fr))}.task-create-form{display:grid;gap:12px}.task-stepper{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:10px}.task-step{border:1px solid var(--line);border-radius:10px;padding:8px 10px;font-size:12px;color:var(--muted);background:#fff;display:flex;align-items:center;gap:8px;font-weight:600}.task-step span{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:999px;border:1px solid var(--line);font-size:11px}.task-step.active{border-color:#9eb4ea;background:#edf3ff;color:var(--brand)}.task-step.done{border-color:#a4d8ca;background:#ecf8f3}.step-hidden{display:none}.task-form-section{border:1px solid var(--line);border-radius:12px;background:#fbfdff;padding:12px}.task-form-section h4{margin:0 0 10px;font-size:15px}.task-form-section h5{margin:0 0 8px;font-size:13px;color:var(--muted)}.task-form-grid{display:grid;gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}.task-field{display:grid;gap:6px;font-size:12px;color:var(--muted)}.task-field span{font-weight:600}.task-field textarea{width:100%;resize:vertical;min-height:88px;max-height:220px}.task-client-suggestions{max-height:220px;overflow:auto;border:1px solid var(--line);border-radius:10px;background:#fff;padding:6px;display:grid;gap:6px}.task-client-suggestions .ghost-btn{text-align:left;justify-content:flex-start}.task-inline-note{margin:10px 0 0;color:var(--muted);font-size:12px}.task-assignee-area{margin-top:10px}.assignee-picker{display:grid;gap:8px}.chip-row{display:flex;gap:6px;flex-wrap:wrap}.chip-btn{border:1px solid #b7c7e8;background:#eef3ff;color:#1c3777;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:600}.assignee-list{max-height:280px;overflow:auto;border:1px solid var(--line);border-radius:10px;padding:8px;display:grid;gap:6px;background:#fff}.assignee-list .checkbox-row{display:flex;align-items:center;gap:8px;padding:6px 8px;border-radius:8px}.assignee-list .checkbox-row:hover{background:#f5f8ff}.recurrence-grid-wrap{max-height:320px;margin-top:8px;overflow-x:hidden}.recurrence-grid-wrap table{table-layout:fixed}.recurrence-grid-wrap input,.period-tag-input{min-width:0;width:100%}.task-recurring-toggle{margin-bottom:10px}.task-create-footer{display:flex;justify-content:flex-end;gap:8px;position:sticky;bottom:0;background:#fff;padding:10px 0 4px;margin-top:8px;border-top:1px solid var(--line);z-index:2}.task-row-actions{min-width:260px}.task-row-actions>button:first-child{min-width:86px}.task-row-menu{position:relative}.task-row-menu-pop{position:absolute;right:0;top:calc(100% + 4px);z-index:5;width:min(320px,66vw);border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 18px 30px -20px #0d1e3899;padding:8px;display:grid;gap:6px}.task-row-menu-pop button,.task-row-menu-pop select{width:100%}.approval-date-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.approval-date-grid input{min-width:120px}.approval-inline-input{min-width:130px;width:100%;padding:8px 9px}.approval-actions{display:flex;gap:6px;flex-wrap:wrap}.task-detail-summary{background:linear-gradient(145deg,#f7fbff,#edf4ff)}.tasks-page.task-view-all .module-hero{box-shadow:inset 0 2px #2f61cd}.tasks-page.task-view-active .module-hero{box-shadow:inset 0 2px #1b8b70}.tasks-page.task-view-approval .module-hero{box-shadow:inset 0 2px #7a4bb6}.tasks-page.task-view-create .module-hero{box-shadow:inset 0 2px #1767ad}.tasks-page.task-view-cancelled .module-hero{box-shadow:inset 0 2px #b25566}.detail-summary-grid{display:grid;gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}.detail-summary-grid div{border:1px solid #cad7f1;border-radius:10px;padding:8px 10px;background:#fff}.detail-summary-grid span{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-weight:700}.detail-summary-grid strong{display:block;margin-top:3px;font-size:13px}.sticky-col{position:sticky;background:#fff;z-index:2}.sticky-col-title{left:0;min-width:180px;max-width:240px;box-shadow:1px 0 0 var(--line);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sticky-col-status{left:180px;min-width:130px;max-width:160px;box-shadow:1px 0 0 var(--line);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}thead .sticky-col{z-index:3;background:#f8fafe}.risk-chip-row{display:flex;flex-wrap:wrap;gap:4px}.risk-chip{display:inline-block;border-radius:999px;padding:3px 8px;font-size:10px;font-weight:700;letter-spacing:.02em;border:1px solid transparent}.risk-chip.internal-overdue{background:#fff1f1;border-color:#f0b9bf;color:#9e2038}.risk-chip.stat-overdue{background:#fff6e9;border-color:#ebce9b;color:#8c5a00}.risk-chip.upcoming{background:#edf3ff;border-color:#b8caef;color:#294f96}.page-note{padding:10px 12px;border-radius:10px;background:#f8fbff;border:1px solid var(--line);font-size:12px}.pagination-bar{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 6px 0}.pagination-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.pagination-actions button{padding:7px 10px}.pagination-label{font-size:12px;color:var(--muted);font-weight:600}.checkbox-row{display:inline-flex;align-items:center;gap:8px;color:var(--muted);font-size:14px}.dashboard-page{display:grid;gap:10px;background:radial-gradient(circle at 0% 0%,rgba(129,192,244,.15) 0%,transparent 28%),radial-gradient(circle at 100% 10%,rgba(120,222,178,.15) 0%,transparent 30%),transparent;border-radius:18px}.dashboard-hero{box-shadow:inset 0 2px #2d6bcc}.dashboard-hero-greeting{border:1px solid var(--line);background:#fff;border-radius:12px;padding:10px 12px;font-weight:700;color:#2a406f;white-space:nowrap}.dashboard-alert{border-width:2px}.danger-alert{border-color:#f1b1bd;background:linear-gradient(135deg,#fff4f6,#fff);color:#93243b}.dashboard-filters h3{margin-bottom:8px}.dashboard-filter-grid{display:grid;gap:8px;grid-template-columns:repeat(4,minmax(0,1fr))}.notice-filter-grid{gap:6px;grid-template-columns:repeat(5,minmax(130px,1fr))}.notice-filter-grid input,.notice-filter-grid select{padding:9px 10px}.activity-summary-cell{min-width:360px}.activity-change-list{display:grid;gap:5px}.activity-change-row{display:grid;grid-template-columns:minmax(140px,1fr) minmax(90px,1fr) auto minmax(90px,1fr);gap:8px;align-items:baseline;font-size:12px}.activity-key{color:var(--muted);font-weight:600}.activity-before,.activity-after{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;word-break:break-word}.activity-before{color:#7f3750}.activity-after{color:#1f5a47}.activity-arrow{color:var(--muted);font-size:11px}.dashboard-error-row{margin-top:8px;display:flex;align-items:center;gap:8px}.dashboard-kpi-grid{display:grid;gap:8px;grid-template-columns:repeat(7,minmax(0,1fr))}.kpi-card-btn{text-align:left;border:1px solid var(--line);background:linear-gradient(170deg,var(--surface) 0%,var(--surface-soft) 100%);color:var(--ink)}.kpi-card-btn:hover{transform:translateY(-1px);border-color:#b8c8eb}.dashboard-main-grid{align-items:start}.dashboard-page .panel{background:linear-gradient(160deg,#fff,#f8fbff)}.dashboard-section-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px}.dashboard-section-head h3{margin:0}.dept-workload-list{display:grid;gap:8px}.dept-workload-row{border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);padding:10px;text-align:left}.dept-workload-top{display:flex;justify-content:space-between;align-items:center;gap:8px}.dept-workload-top strong{font-size:13px}.dept-workload-top span{color:var(--muted);font-size:12px}.dept-workload-bar{margin-top:8px;width:100%;height:8px;border-radius:999px;background:#e8eefb;overflow:hidden}.dept-workload-bar span{display:block;height:100%;background:linear-gradient(90deg,#3f67d4,#3fa6d4);border-radius:999px}.dept-workload-meta{margin-top:8px;display:flex;gap:10px;flex-wrap:wrap}.dept-workload-meta small{color:var(--muted);font-size:11px}.aging-card-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.aging-card{border:1px solid #d7dfef;border-radius:14px;background:#f7f9ff;color:var(--ink);text-align:center;padding:11px 8px 9px;min-height:82px;box-shadow:0 9px 18px -14px #0d1e3859}.aging-card strong{display:block;font-size:34px;line-height:1;margin-bottom:5px;letter-spacing:-.03em}.aging-card span{display:block;font-size:12px;font-weight:800;color:#5f7397;text-transform:uppercase;letter-spacing:.02em}.aging-card-internal{border-color:#c8d6ef}.aging-card-statutory{border-color:#d7c8ec}.aging-bucket-0_7{background:linear-gradient(170deg,#edf8f2,#ddf0e4);border-color:#bbdec9}.aging-bucket-8_15{background:linear-gradient(170deg,#fff9e8,#f9efd0);border-color:#e8d7a4}.aging-bucket-16_30{background:linear-gradient(170deg,#fff1e7,#ffe0cb);border-color:#ecc6ae}.aging-bucket-30_plus{background:linear-gradient(170deg,#bf1548,#a40f3d);border-color:#8b0a32}.aging-card-internal strong{color:#11845e}.aging-card-statutory strong{color:#9a2a73}.aging-bucket-30_plus strong,.aging-bucket-30_plus span{color:#fff}.notice-aging-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.notice-aging-card{border:1px solid #d7dfef;border-radius:14px;padding:10px 8px 9px;text-align:center;background:#f7f9ff;min-height:82px}.notice-aging-card strong{display:block;font-size:32px;line-height:1;margin-bottom:5px;letter-spacing:-.02em}.notice-aging-card span{display:block;font-size:12px;font-weight:800;text-transform:uppercase;color:#5f7397}.notice-aging-0_5{background:linear-gradient(170deg,#edf8f2,#ddf0e4);border-color:#bbdec9}.notice-aging-6_10{background:linear-gradient(170deg,#fff9e8,#f9efd0);border-color:#e8d7a4}.notice-aging-11_20{background:linear-gradient(170deg,#fff1e7,#ffe0cb);border-color:#ecc6ae}.notice-aging-21_30{background:linear-gradient(170deg,#ffeef4,#ffd7e7);border-color:#e9bfd1}.notice-aging-30_plus{background:linear-gradient(170deg,#bf1548,#a40f3d);border-color:#8b0a32}.notice-aging-0_5 strong{color:#11845e}.notice-aging-6_10 strong{color:#946400}.notice-aging-11_20 strong{color:#b65a00}.notice-aging-21_30 strong{color:#b01250}.notice-aging-30_plus strong,.notice-aging-30_plus span{color:#fff}.matrix-wrap table th:first-child,.matrix-wrap table td:first-child{position:sticky;left:0;z-index:2;background:#f7fbff}.matrix-wrap table th{background:#e9f1ff}.matrix-count-btn,.matrix-total-btn{min-width:36px;padding:4px 8px;border-radius:8px;font-size:12px}.matrix-count-btn{background:linear-gradient(135deg,#254f9d,#3d78d9)}.matrix-total-btn{background:linear-gradient(135deg,#0f7a74,#22a896)}@media(max-width:1366px){.app-shell{grid-template-columns:250px 1fr}.content-area{padding:16px}}@media(max-width:1100px){.inline-grid,.kpi-grid,.master-page .inline-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.list-grid{grid-template-columns:1fr}.master-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.master-workspace{grid-template-columns:1fr}.master-tabs{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}.task-filter-primary,.task-filter-advanced-grid,.task-form-grid,.approval-date-grid,.dashboard-filter-grid,.dashboard-kpi-grid,.aging-card-row,.notice-aging-row,.task-filter-primary--with-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.notice-filter-grid,.notice-lite-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.task-stepper{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:820px){body{overflow-x:hidden}.app-shell{grid-template-columns:1fr;position:relative;overflow-x:clip}.mobile-topbar{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;position:sticky;top:0;z-index:62;padding:10px 12px;background:linear-gradient(160deg,#0f2044,#1d3b7a);border-bottom:1px solid rgba(157,182,237,.28);box-shadow:0 12px 22px -18px #081227bf;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.mobile-menu-btn,.mobile-topbar-signout{border-radius:10px;padding:8px 10px;font-size:12px;border:1px solid rgba(174,198,239,.34);background:#ffffff1a;color:#e7efff;transition:transform .16s ease,background .2s ease,border-color .2s ease}.mobile-menu-btn:hover,.mobile-topbar-signout:hover{transform:translateY(-1px);background:#ffffff29;border-color:#cdddf87a}.mobile-topbar-brand{text-align:center;color:#fff;font-weight:800;font-size:20px;letter-spacing:-.02em;text-shadow:0 6px 14px rgba(5,10,23,.35)}.mobile-topbar-spacer{width:52px;height:1px}.mobile-nav-backdrop{display:block;position:fixed;inset:0;z-index:58;border:0;padding:0;background:#08112273;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);animation:mobileFadeIn .2s ease}.sidebar{position:fixed;left:0;top:0;z-index:61;width:min(86vw,320px);height:100vh;border-right:1px solid rgba(255,255,255,.1);border-bottom:0;border-radius:0 18px 18px 0;transform:translate(-102%);transition:transform .24s ease;padding-top:18px;box-shadow:26px 0 36px -24px #050d1ea6;overflow:auto}.sidebar.mobile-open{transform:translate(0)}.content-area{padding:12px 10px 16px}.panel{border-radius:14px;padding:13px;margin-bottom:10px;box-shadow:0 18px 30px -24px #0a163080;animation:mobilePanelIn .28s ease both}.module-hero h2{font-size:24px;line-height:1.1}.module-subtitle{font-size:12px;line-height:1.4}.dashboard-page{gap:8px}.dashboard-hero{padding:12px}.dashboard-hero h2{font-size:20px;margin-bottom:4px}.dashboard-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.dashboard-kpi-grid .kpi-card{padding:10px;border-radius:12px}.dashboard-kpi-grid .kpi-card p{font-size:10px;letter-spacing:.06em}.dashboard-kpi-grid .kpi{margin-top:6px;font-size:26px}.dashboard-main-grid{gap:8px}.dashboard-section-head{margin-bottom:6px}.dashboard-section-head h3{font-size:18px}.aging-card-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.aging-card{min-height:68px;padding:8px 6px 7px}.aging-card strong{font-size:24px;margin-bottom:3px}.aging-card span{font-size:10px}.dashboard-hero-greeting{width:100%;text-align:center;white-space:normal}.table-wrap{border-radius:12px}table th,table td{padding:8px;font-size:11px;white-space:nowrap}table th{font-size:9px;letter-spacing:.07em}.task-row-actions{min-width:190px}.mobile-stack-table thead{display:none}.mobile-stack-table tbody,.mobile-stack-table tr,.mobile-stack-table td{display:block;width:100%}.mobile-stack-table tbody tr{border:1px solid #d3ddf1;border-radius:12px;padding:8px 9px;margin-bottom:8px;background:linear-gradient(160deg,#fff,#f7faff);box-shadow:0 12px 20px -18px #0a183299}.mobile-stack-table tbody td{border-bottom:0;display:flex;align-items:center;justify-content:space-between;gap:10px;white-space:normal;padding:5px 2px;font-size:12px;min-height:24px}.mobile-stack-table tbody td:before{content:attr(data-label);color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.06em;font-weight:700;flex:0 0 110px}.mobile-stack-table tbody td[data-label=Task]{font-weight:700;color:#1b315f;border-bottom:1px solid #e3e9f7;padding-bottom:8px;margin-bottom:4px}.mobile-stack-table tbody td[data-label=Task]:before{color:#4f6694}.mobile-stack-table tbody td[data-label=Actions]{border-top:1px solid #e3e9f7;margin-top:4px;padding-top:8px}.mobile-stack-table tbody td[data-label=Actions] .approval-actions{width:100%;justify-content:flex-end}.mobile-stack-table--dashboard tbody td[data-label="Main Task"]{font-weight:700;color:#1b315f;border-bottom:1px solid #e3e9f7;padding-bottom:7px;margin-bottom:3px}.mobile-stack-table--dashboard tbody td[data-label="Main Task"]:before{color:#4f6694}.mobile-stack-table--dashboard tbody td[data-label=Actions] button{width:100%}.mobile-stack-table .sticky-col{position:static;box-shadow:none}.modal-panel{width:min(96vw,96vw);max-height:86vh;border-radius:14px;padding:12px;animation:mobilePanelIn .22s ease both}.drawer-panel{width:96vw}.auth-page{padding:16px 10px}.auth-card{width:100%;border-radius:22px;padding:18px 14px 16px;box-shadow:0 36px 56px -44px #0c152ee6}.auth-brand-title{font-size:clamp(28px,10vw,38px);line-height:.95}.auth-submit{min-height:48px;letter-spacing:.08em}.kpi-pill{border-radius:12px;padding:8px 10px}.kpi-pill strong{font-size:15px}.aging-card,.notice-aging-card{border-radius:12px;min-height:74px;padding:9px 7px 8px}.aging-card strong,.notice-aging-card strong{font-size:28px}.aging-card span,.notice-aging-card span{font-size:11px}.master-page .panel,.dashboard-page .panel{box-shadow:0 16px 28px -22px #0918356b}.inline-grid,.kpi-grid{grid-template-columns:1fr}.master-hero{flex-direction:column;align-items:flex-start}.master-total{width:100%;min-width:0}.master-grid,.master-tabs{grid-template-columns:1fr}.module-hero{flex-direction:column;align-items:flex-start}.toolbar-left,.toolbar-right{width:100%}.toolbar-left>*,.toolbar-right>*{width:100%}.task-filter-primary,.task-filter-advanced-grid,.task-form-grid,.approval-date-grid,.detail-summary-grid,.dashboard-filter-grid,.notice-aging-row,.task-filter-primary--with-actions,.notice-filter-grid{grid-template-columns:1fr}.notice-lite-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.activity-summary-cell{min-width:280px}.activity-change-row{grid-template-columns:1fr;gap:2px}.dashboard-desktop-only{display:none}.task-stepper{grid-template-columns:1fr}.task-filter-actions{justify-content:stretch}.task-filter-actions button,.task-create-footer button{flex:1}.pagination-bar{flex-direction:column;align-items:stretch}.sticky-col{position:static;box-shadow:none}@keyframes mobileFadeIn{0%{opacity:0}to{opacity:1}}@keyframes mobilePanelIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}}

/* Premium Colorblind Tag Indicators via ::before */
.tag.pending::before { content: "⏳ "; font-size: 11px; margin-right: 3px; font-weight: bold; }
.tag.pending_approval::before { content: "⏳ "; font-size: 11px; margin-right: 3px; font-weight: bold; }
.tag.upcoming::before { content: "▶ "; font-size: 10px; margin-right: 3px; font-weight: bold; }
.tag.pending_client::before { content: "⏳ "; font-size: 11px; margin-right: 3px; font-weight: bold; }
.tag.pending_department::before { content: "⏳ "; font-size: 11px; margin-right: 3px; font-weight: bold; }
.tag.in_progress::before { content: "▶ "; font-size: 10px; margin-right: 3px; font-weight: bold; }
.tag.completed::before { content: "✓ "; font-size: 11px; margin-right: 3px; font-weight: bold; }
.tag.active::before { content: "✓ "; font-size: 11px; margin-right: 3px; font-weight: bold; }
.tag.cancelled::before { content: "✕ "; font-size: 10px; margin-right: 3px; font-weight: bold; }
.tag.inactive::before { content: "✕ "; font-size: 10px; margin-right: 3px; font-weight: bold; }

/* Toast Notification Styles */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: var(--z-toast, 200);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 320px;
  max-width: 420px;
  padding: 14px 18px;
  border-radius: var(--radius-card, 14px);
  background: var(--surface, #ffffff);
  border: 1px solid var(--line, #ccd6e8);
  box-shadow: var(--shadow-lg, 0 30px 60px -30px rgba(7,18,44,0.40));
  color: var(--ink, #0b1b38);
  transition: all var(--transition-base, 0.22s ease);
  animation: toastSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.dashboard-wide-section{display:block}.dashboard-wide-section .table-wrap{max-height:360px}.dashboard-page .dashboard-kpi-grid{grid-template-columns:repeat(5,minmax(150px,1fr))}.dashboard-page{overflow:hidden}.matrix-wrap{max-width:100%;overflow:auto}.matrix-wrap table{min-width:980px}.matrix-wrap table th:first-child,.matrix-wrap table td:first-child{min-width:150px}.matrix-wrap table th:nth-child(2),.matrix-wrap table td:nth-child(2){position:sticky;left:150px;z-index:2;background:#f7fbff;min-width:150px;box-shadow:1px 0 0 var(--line)}.matrix-wrap thead th:nth-child(2){z-index:3;background:#e9f1ff}@media(max-width:820px){.dashboard-page .dashboard-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-wide-section{display:none}}
.content-area,.dashboard-page,.dashboard-page section,.dashboard-page .panel{min-width:0;max-width:100%}.content-area{overflow-x:hidden}.dashboard-page .table-wrap{max-width:100%}
@media(max-width:820px){.mobile-stack-table tbody td{align-items:flex-start}.mobile-stack-table tbody td:before{padding-top:3px}.mobile-stack-table tbody td>*:not(:first-child){min-width:0}.mobile-stack-table .tag{white-space:normal;max-width:180px;text-align:center;line-height:1.2}.mobile-stack-table tbody td[data-label=Actions]{align-items:center}.mobile-stack-table tbody td[data-label=Actions]:before{padding-top:10px}.task-row-actions,.approval-actions{min-width:0;width:100%;justify-content:flex-end}.task-row-actions button,.approval-actions button{min-width:86px}.notice-filter-grid{overflow:hidden}.notice-filter-grid .task-quick-filter-row,.task-quick-filter-row{min-width:0}.task-quick-filter-row button{max-width:100%;white-space:normal}.mobile-topbar{grid-template-columns:auto minmax(0,1fr) 52px}.mobile-topbar-brand{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
@media(max-width:820px){.mobile-stack-table tbody td[data-label=Status] .tag{min-width:118px;max-width:150px;padding-left:8px;padding-right:8px}.mobile-stack-table tbody td[data-label=Status]{align-items:center}}
.modal-panel--task-create{padding:18px;background:linear-gradient(180deg,#ffffff,#f8fbff);border-color:#b8c8e8}.modal-panel--task-create .drawer-head{position:sticky;top:-18px;z-index:4;margin:-18px -18px 14px;padding:16px 18px 12px;background:#ffffffeb;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid #dce5f5}.modal-panel--task-create .drawer-head h3{font-size:22px;letter-spacing:-.02em}.modal-panel--task-create .drawer-head:after{content:"Guided task setup";display:block;position:absolute;left:18px;bottom:-22px;color:#647491;font-size:12px;font-weight:600}.task-stepper{position:sticky;top:52px;z-index:3;margin:22px 0 12px;padding:8px;border:1px solid #d8e2f3;border-radius:14px;background:#f7faffeb;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.task-step{position:relative;min-height:44px;border-color:#d2ddef;background:#fff;color:#556783}.task-step span{background:#f4f7ff;color:#32539b;border-color:#bdd0f4;font-weight:800}.task-step.active{background:linear-gradient(135deg,#eaf1ff,#ffffff);border-color:#87a7f2;box-shadow:0 8px 18px -14px #1d3b7a}.task-step.active:after{content:"Current";margin-left:auto;font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#3159bf}.task-step.done:after{content:"Done";margin-left:auto;font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#117b66}.task-form-section{border-color:#cad8ef;background:linear-gradient(180deg,#ffffff,#f8fbff);box-shadow:0 12px 24px -22px #0b1b38}.task-form-section h4{font-size:17px;letter-spacing:-.01em;display:flex;align-items:center;gap:8px}.task-form-section h4:before{content:"";display:inline-block;width:8px;height:22px;border-radius:999px;background:linear-gradient(180deg,#355bd8,#1f356a)}.task-field span{color:#425474}.task-field input,.task-field select,.task-field textarea{min-height:44px}.task-field input:required,.task-field select:required{background:linear-gradient(180deg,#fff,#fbfdff)}.task-field input:invalid,.task-field select:invalid{border-color:#d7a3ad;background:#fff8fa}.task-field input:invalid:focus,.task-field select:invalid:focus{box-shadow:0 0 0 3px #bb1f3f1f;border-color:#bb1f3f}.task-inline-note{border:1px solid #dbe6f6;border-radius:10px;padding:9px 10px;background:#f6f9ff;color:#536786}.task-inline-note:before{content:"Note: ";font-weight:800;color:#1f356a}.task-client-suggestions{box-shadow:0 18px 34px -26px #07122c;max-height:260px}.task-client-suggestions .ghost-btn{white-space:normal;line-height:1.25}.task-create-footer{margin-left:-18px;margin-right:-18px;margin-bottom:-18px;padding:12px 18px 14px;background:#ffffffee;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 -16px 26px -26px #07122c}.task-create-footer .ghost-btn{background:#fff}.task-create-footer button:last-child{min-width:120px}.recurrence-grid-wrap{border:1px solid #dce5f5;border-radius:12px;background:#fff;overflow:auto}.recurrence-grid-wrap table{min-width:760px}.recurrence-grid-wrap thead th{background:#edf4ff}.period-tag-input{font-weight:700;color:#1f356a}
@media(max-width:820px){.modal-panel--task-create{width:100vw;max-height:calc(100vh - 72px);top:72px;left:0;right:0;bottom:0;transform:none;border-radius:18px 18px 0 0;padding:12px}.modal-panel--task-create .drawer-head{top:-12px;margin:-12px -12px 12px;padding:14px 12px 12px}.modal-panel--task-create .drawer-head h3{font-size:20px}.modal-panel--task-create .drawer-head:after{display:none}.task-stepper{top:48px;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;overflow:hidden;padding:6px}.task-step{min-width:0;padding:7px 4px;font-size:10px;gap:4px;flex-direction:column;justify-content:center;text-align:center;line-height:1.1}.task-step span{width:20px;height:20px}.task-step.active:after,.task-step.done:after{display:none}.task-form-section{padding:11px}.task-form-section h4{font-size:16px}.task-create-footer{position:sticky;bottom:-12px;margin-left:-12px;margin-right:-12px;margin-bottom:-12px;padding:10px 12px calc(10px + env(safe-area-inset-bottom,0px));display:grid;grid-template-columns:1fr 1fr}.task-create-footer button{width:100%;min-height:46px}.recurrence-grid-wrap{max-height:280px}}
.toast-success {
  border-left: 4px solid var(--ok, #117b66);
}
.toast-success::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: var(--radius-pill, 999px);
  background: var(--brand-soft, #e8efff);
  color: var(--ok, #117b66);
  font-weight: bold;
  font-size: 12px;
}
.toast-error {
  border-left: 4px solid var(--danger, #bb1f3f);
}
.toast-error::before {
  content: "✕";
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: var(--radius-pill, 999px);
  background: #ffecef;
  color: var(--danger, #bb1f3f);
  font-weight: bold;
  font-size: 11px;
}
.toast-warning {
  border-left: 4px solid var(--warning, #a86a17);
}
.toast-warning::before {
  content: "⚠";
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: var(--radius-pill, 999px);
  background: #fff7e9;
  color: var(--warning, #a86a17);
  font-weight: bold;
  font-size: 11px;
}
.toast-info {
  border-left: 4px solid var(--info, #0f6f91);
}
.toast-info::before {
  content: "ℹ";
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: var(--radius-pill, 999px);
  background: #eef9fd;
  color: var(--info, #0f6f91);
  font-weight: bold;
  font-size: 11px;
}
@keyframes toastSlideIn {
  0% { transform: translateY(20px) scale(0.96); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

/* Empty State Styling */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  text-align: center;
  background: var(--surface-soft, #f5f8ff);
  border: 2px dashed var(--line, #ccd6e8);
  border-radius: var(--radius, 16px);
  margin: 16px 0;
}
.empty-state-icon {
  font-size: 42px;
  margin-bottom: 12px;
  opacity: 0.8;
  animation: emptyStateFloat 3s ease-in-out infinite;
}
.empty-state-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink, #0b1b38);
  margin: 0 0 6px 0;
}
.empty-state-desc {
  font-size: 13px;
  color: var(--muted, #566682);
  max-width: 320px;
  margin: 0;
}
@keyframes emptyStateFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* Shimmer Loading Animations */
.shimmer-row {
  position: relative;
  overflow: hidden;
}
.shimmer-cell {
  background: linear-gradient(90deg, var(--surface-soft, #f5f8ff) 25%, var(--bg-soft, #e8eef8) 37%, var(--surface-soft, #f5f8ff) 63%);
  background-size: 400% 100%;
  animation: shimmerAnimation 1.4s ease infinite;
}
.shimmer-item {
  height: 16px;
  border-radius: var(--radius-pill, 999px);
  background: linear-gradient(90deg, var(--surface-soft, #f5f8ff) 25%, var(--bg-soft, #e8eef8) 37%, var(--surface-soft, #f5f8ff) 63%);
  background-size: 400% 100%;
  animation: shimmerAnimation 1.4s ease infinite;
}
@keyframes shimmerAnimation {
  0% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Reduced Motion Override Block */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-delay: -1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    background-attachment: initial !important;
    scroll-behavior: auto !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }
}

/* Premium action hierarchy */
.action-save {
  border-color: #b8d9ce !important;
  background: #f0fbf6 !important;
  color: #116c58 !important;
  font-weight: 700 !important;
}
.action-warning {
  border-color: #e6c27d !important;
  background: #fff8e8 !important;
  color: #805100 !important;
  font-weight: 700 !important;
}
.action-danger {
  border-color: #efb6c1 !important;
  background: #fff1f4 !important;
  color: #9c1f3b !important;
  font-weight: 700 !important;
}
button.action-save:not(:disabled):hover,
.ghost-btn.action-save:not(:disabled):hover {
  background: #e7f8f1 !important;
  box-shadow: 0 10px 22px -16px rgba(17, 108, 88, 0.55);
}
button.action-warning:not(:disabled):hover,
.ghost-btn.action-warning:not(:disabled):hover {
  background: #fff0d1 !important;
  box-shadow: 0 10px 22px -16px rgba(168, 106, 23, 0.58);
}
button.action-danger:not(:disabled):hover,
.ghost-btn.action-danger:not(:disabled):hover {
  background: #ffe6ec !important;
  box-shadow: 0 10px 22px -16px rgba(187, 31, 63, 0.58);
}
.task-filter-actions {
  align-items: center;
  gap: 8px;
}
.task-filter-actions button {
  min-height: 38px;
  white-space: nowrap;
}
.task-filter-actions button:disabled,
button.action-save:disabled,
button.action-warning:disabled,
button.action-danger:disabled {
  border-color: #d8e1ee !important;
  background: #f3f6fb !important;
  color: #8a98ad !important;
  opacity: 1 !important;
  box-shadow: none !important;
  cursor: not-allowed;
}
.compact-actions .action-save,
.compact-actions .action-warning,
.compact-actions .action-danger {
  min-width: 98px;
  justify-content: center;
}
.inline-grid > button.action-warning {
  min-height: 42px;
}

@media (max-width: 720px) {
  .task-filter-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .task-filter-actions button {
    width: 100%;
    min-width: 0;
    white-space: normal;
  }
  .compact-actions .action-save,
  .compact-actions .action-warning,
  .compact-actions .action-danger {
    min-width: 0;
  }
}

/* Runtime confirmation and enterprise table polish */
.premium-confirm-backdrop {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(8, 17, 36, 0.56);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  animation: premiumConfirmFade 0.18s ease both;
}
.premium-confirm-modal {
  width: min(520px, 94vw);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(204, 214, 232, 0.95);
  border-radius: 18px;
  background: linear-gradient(160deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 34px 80px -38px rgba(7, 18, 44, 0.72);
  animation: premiumConfirmIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.premium-confirm-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-weight: 800;
  font-size: 18px;
}
.premium-confirm-danger .premium-confirm-icon {
  background: #fff1f4;
  color: #9c1f3b;
  border: 1px solid #efb6c1;
}
.premium-confirm-warning .premium-confirm-icon {
  background: #fff8e8;
  color: #805100;
  border: 1px solid #e6c27d;
}
.premium-confirm-copy {
  min-width: 0;
}
.premium-confirm-eyebrow {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.premium-confirm-copy h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.18;
  letter-spacing: 0;
  color: var(--ink);
}
.premium-confirm-copy p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.48;
  font-size: 13px;
}
.premium-confirm-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 4px;
}
.premium-confirm-actions button {
  min-height: 40px;
}
.premium-confirm-submit:focus-visible,
.premium-confirm-cancel:focus-visible {
  outline: 3px solid rgba(53, 91, 216, 0.24);
  outline-offset: 2px;
}
.table-wrap {
  scrollbar-width: thin;
  scrollbar-color: #aab9d6 #eef3fb;
}
.table-wrap::-webkit-scrollbar {
  height: 10px;
  width: 10px;
}
.table-wrap::-webkit-scrollbar-track {
  background: #eef3fb;
  border-radius: 999px;
}
.table-wrap::-webkit-scrollbar-thumb {
  background: #aab9d6;
  border-radius: 999px;
  border: 2px solid #eef3fb;
}
.table-wrap table {
  border-collapse: separate;
  border-spacing: 0;
}
.table-wrap tbody tr {
  transition: background var(--transition-fast), box-shadow var(--transition-fast);
}
.table-wrap tbody tr:hover {
  background: #f1f6ff;
  box-shadow: inset 3px 0 0 rgba(53, 91, 216, 0.35);
}
.table-wrap td[colspan].muted.premium-empty-cell {
  padding: 26px 18px;
  text-align: center;
  color: #5f6f8e;
  background: linear-gradient(160deg, #fbfdff, #f2f6ff);
  font-weight: 700;
}
.table-wrap td[colspan].muted.premium-empty-cell::before {
  content: "No matching records";
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 14px;
}
.pagination-bar {
  border-top: 1px solid rgba(204, 214, 232, 0.75);
  margin-top: 4px;
}
.pagination-actions button,
.task-quick-filter-row button,
.segmented button {
  transition: border-color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}
.notice-list-hero {
  margin-bottom: 10px;
  background: linear-gradient(135deg, #eef8ff 0%, #ffffff 100%);
  box-shadow: inset 0 2px #0f6f91, var(--shadow);
}
.notice-list-hero h2 {
  margin-bottom: 6px;
}
input:hover,
select:hover {
  border-color: #aebde0;
}
input:disabled,
select:disabled {
  background: #f3f6fb;
  color: #8a98ad;
  cursor: not-allowed;
}

@keyframes premiumConfirmFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes premiumConfirmIn {
  from { opacity: 0; transform: translateY(8px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 820px) {
  .premium-confirm-modal {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px;
    border-radius: 16px;
  }
  .premium-confirm-icon {
    width: 38px;
    height: 38px;
  }
  .premium-confirm-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .premium-confirm-actions button {
    width: 100%;
  }
  .mobile-stack-table tbody td[data-label="Actions"] {
    display: block;
  }
  .mobile-stack-table tbody td[data-label="Actions"]::before {
    display: block;
    margin-bottom: 8px;
  }
  .mobile-stack-table tbody td[data-label="Actions"] .compact-actions,
  .mobile-stack-table tbody td[data-label="Actions"] .approval-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
  }
  .mobile-stack-table tbody td[data-label="Actions"] button,
  .mobile-stack-table tbody td[data-label="Actions"] select {
    width: 100%;
  }
  .table-wrap td[colspan].muted.premium-empty-cell {
    display: table-cell;
    padding: 22px 14px;
  }
  .table-wrap td[colspan].muted.premium-empty-cell::before {
    font-size: 13px;
  }
}

/* Ultra premium interface layer */
:root {
  --bg: #f3f6fb;
  --bg-soft: #edf2f8;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --ink: #102033;
  --muted: #65748a;
  --line: #d7e0ec;
  --brand: #17345f;
  --brand-bright: #2f6fbd;
  --brand-soft: #eaf2ff;
  --accent-teal: #0f766e;
  --accent-amber: #b7791f;
  --accent-rose: #be3155;
  --radius: 12px;
  --radius-card: 12px;
  --radius-input: 10px;
  --shadow-sm: 0 8px 18px -16px rgba(16, 32, 51, 0.38);
  --shadow: 0 18px 38px -30px rgba(16, 32, 51, 0.45);
  --shadow-lg: 0 34px 80px -48px rgba(8, 20, 38, 0.58);
}

html {
  background: var(--bg);
}

body {
  background: linear-gradient(180deg, rgba(255,255,255,0.78), rgba(243,246,251,0.96) 42%, #f3f6fb 100%), var(--bg);
  font-feature-settings: "kern";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.content-area {
  padding: 28px;
}

.panel,
.kpi-card,
.master-card,
.notice-lite-card,
.dept-workload-row,
.aging-card,
.notice-aging-card,
.task-form-section,
.task-filter-shell,
.task-filter-advanced,
.table-wrap {
  border-color: rgba(184, 197, 216, 0.78);
  box-shadow: var(--shadow-sm);
}

.panel {
  border-radius: 13px;
  padding: 18px;
  background: rgba(255,255,255,0.96);
}

.panel h2,
.panel h3,
.module-hero h2,
.drawer-head h3 {
  color: #0d1b2f;
  letter-spacing: 0;
}

.muted,
.module-subtitle {
  color: var(--muted);
  line-height: 1.45;
}

.module-hero,
.master-hero {
  border: 1px solid rgba(194, 207, 226, 0.84);
  background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(246,249,253,0.95)), var(--surface);
  box-shadow: var(--shadow-sm);
}

.module-hero h2,
.dashboard-hero h2 {
  font-size: 28px;
  line-height: 1.1;
  font-weight: 750;
}

button,
.master-link {
  border-radius: 10px;
  letter-spacing: 0;
  box-shadow: none;
}

button:not(.ghost-btn):not(.action-save):not(.action-warning):not(.action-danger):not(.kpi-card-btn) {
  background: linear-gradient(135deg, #17345f, #2f6fbd);
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -18px rgba(23, 52, 95, 0.56);
}

.ghost-btn,
.segmented button,
.master-tab,
.task-quick-filter-row button {
  background: #ffffff;
  color: #203047;
  border: 1px solid rgba(184, 197, 216, 0.9);
}

.ghost-btn:hover,
.segmented button:hover,
.master-tab:hover,
.task-quick-filter-row button:hover {
  border-color: rgba(47, 111, 189, 0.44);
  background: #f7faff;
}

input,
select,
textarea {
  border-radius: 10px;
  border-color: #cfd9e7;
  background: #ffffff;
  color: #132235;
}

input:hover,
select:hover,
textarea:hover {
  border-color: #b9c8da;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #2f6fbd;
  box-shadow: 0 0 0 3px rgba(47, 111, 189, 0.14);
}

.sidebar {
  background: linear-gradient(180deg, #07172d 0%, #0e2544 48%, #102d51 100%);
  box-shadow: 18px 0 42px -34px rgba(7, 23, 45, 0.85);
}

.logo {
  font-size: 24px;
  letter-spacing: 0;
}

.sidebar-nav a,
.sidebar-group-toggle,
.sidebar-subnav a {
  border-radius: 10px;
}

.sidebar-nav a.active,
.sidebar-subnav a.active {
  background: rgba(255,255,255,0.14);
  border-color: rgba(155, 188, 236, 0.45);
  border-left-color: #7db7ff;
}

.dashboard-page .panel {
  background: rgba(255,255,255,0.97);
}

.dashboard-hero,
.dashboard-page > .panel:first-child {
  border-color: rgba(174, 190, 214, 0.82);
  background: linear-gradient(135deg, #ffffff 0%, #f7fbff 54%, #f4faf8 100%);
  box-shadow: var(--shadow);
}

.dashboard-kpi-grid {
  gap: 10px;
}

.dashboard-page .dashboard-kpi-grid {
  grid-template-columns: repeat(5, minmax(160px, 1fr));
}

.dashboard-kpi-grid .kpi-card,
.kpi-card-btn {
  min-height: 112px;
  border-radius: 13px;
  padding: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(247,250,253,0.98));
  border-color: rgba(198, 209, 225, 0.86);
}

.kpi-card p,
.kpi-pill span {
  color: #6a7890;
  letter-spacing: 0.04em;
}

.kpi {
  color: #0d1b2f;
  font-size: 34px;
  letter-spacing: 0;
}

.kpi-card-btn {
  position: relative;
  overflow: hidden;
}

.kpi-card-btn::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, #2f6fbd, #0f766e);
  opacity: 0.72;
}

.dashboard-section-head {
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(215, 224, 236, 0.82);
}

.dashboard-section-head h3 {
  font-size: 18px;
  font-weight: 750;
}

.aging-card,
.notice-aging-card {
  min-height: 88px;
  border-radius: 13px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.aging-card strong,
.notice-aging-card strong {
  font-size: 32px;
  letter-spacing: 0;
}

.aging-card span,
.notice-aging-card span {
  color: #65748a;
  letter-spacing: 0.035em;
}

.aging-bucket-30_plus,
.notice-aging-30_plus {
  background: linear-gradient(180deg, #a71942, #861737);
}

.table-wrap {
  border-radius: 13px;
  background: #ffffff;
}

.table-sticky {
  max-height: 74vh;
}

.table-wrap table {
  border-collapse: separate;
  border-spacing: 0;
}

th,
td {
  padding: 11px 12px;
  font-size: 12px;
}

th {
  background: #f4f7fb;
  color: #5f6f84;
  letter-spacing: 0.045em;
  border-bottom: 1px solid #dbe4ef;
}

tbody tr:nth-child(even) {
  background: #fbfcfe;
}

tbody tr:hover {
  background: #f2f7ff;
}

.tag {
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0;
  box-shadow: inset 0 0 0 1px rgba(16, 32, 51, 0.04);
}

.tag::before {
  content: "" !important;
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 999px;
  background: currentColor;
  vertical-align: 1px;
}

.tag.completed,
.tag.active {
  background: #e8f7f1;
  color: #0f766e;
}

.tag.in_progress,
.tag.upcoming {
  background: #eaf2ff;
  color: #245fa8;
}

.tag.pending,
.tag.pending_client,
.tag.pending_department,
.tag.pending_approval {
  background: #fff6e6;
  color: #9a5b12;
}

.tag.cancelled,
.tag.inactive {
  background: #fff0f4;
  color: #a72649;
}

.modal-backdrop,
.drawer-backdrop,
.premium-confirm-backdrop {
  background: rgba(8, 18, 34, 0.56);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}

.modal-panel,
.drawer-panel,
.premium-confirm-modal {
  border-radius: 14px;
  border-color: rgba(187, 201, 221, 0.9);
  box-shadow: var(--shadow-lg);
}

.modal-panel,
.drawer-panel {
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.drawer-head {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(215,224,236,0.88);
}

.modal-panel--task-create {
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #f7fafc);
}

.task-stepper {
  border-color: #d3deec;
  background: rgba(248, 250, 252, 0.9);
}

.task-step {
  border-radius: 10px;
  background: #ffffff;
}

.task-step.active {
  background: #eef5ff;
  color: #17345f;
}

.task-form-section h4::before {
  background: linear-gradient(180deg, #2f6fbd, #0f766e);
}

.notice-lite-card {
  min-height: 82px;
}

.notice-lite-card strong,
.kpi-pill strong {
  color: #102033;
}

.master-card {
  border-radius: 13px;
}

.master-card.clickable:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 111, 189, 0.42);
  box-shadow: var(--shadow);
}

.master-tab.active,
.segmented button.active {
  background: #eaf2ff;
  border-color: rgba(47, 111, 189, 0.42);
  color: #17345f;
}

.matrix-wrap table {
  min-width: 1040px;
}

.matrix-count-btn,
.matrix-total-btn {
  border-radius: 8px;
  min-height: 28px;
}

.matrix-count-btn {
  background: linear-gradient(135deg, #255ea8, #2f6fbd);
}

.matrix-total-btn {
  background: linear-gradient(135deg, #0f766e, #149184);
}

.empty-state {
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  border: 1px dashed #cbd8e7;
  border-radius: 13px;
}

.empty-state-icon {
  display: none;
}

.premium-empty-inline {
  display: grid;
  gap: 4px;
  place-items: center;
  padding: 12px 8px;
  color: #6a7890;
}

.premium-empty-inline strong {
  color: #172033;
  font-size: 13px;
  font-weight: 750;
}

.premium-empty-inline span {
  font-size: 12px;
}

.toast-success::before,
.toast-error::before,
.toast-warning::before,
.toast-info::before {
  content: "" !important;
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 999px;
  flex: 0 0 auto;
}

.toast-success::before {
  background: #16a34a;
}

.toast-error::before {
  background: #dc2626;
}

.toast-warning::before {
  background: #d97706;
}

.toast-info::before {
  background: #2563eb;
}

@media (max-width: 1366px) {
  .content-area {
    padding: 20px;
  }
}

@media (max-width: 820px) {
  .content-area {
    padding: 12px 10px 18px;
  }

  .panel {
    padding: 14px;
    border-radius: 13px;
  }

  .dashboard-page .dashboard-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-kpi-grid .kpi-card,
  .kpi-card-btn {
    min-height: 96px;
    padding: 12px;
  }

  .kpi {
    font-size: 28px;
  }

  .module-hero h2,
  .dashboard-hero h2 {
    font-size: 22px;
  }

  .mobile-stack-table tbody tr {
    border-color: #d4dfec;
    border-radius: 13px;
    padding: 10px;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
  }

  .mobile-stack-table tbody td {
    font-size: 12px;
    padding: 6px 2px;
  }

  .mobile-stack-table tbody td::before {
    color: #6a7890;
  }

  .modal-panel--task-create {
    border-radius: 18px 18px 0 0;
  }
}
