:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:#202124;background:#f7f8fa;font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}
.hidden{display:none!important}.login-shell{min-height:100vh;display:grid;place-items:center;padding:24px;background:#f8f9fb}
.login-card{width:min(100%,420px);background:#fff;border:1px solid #e8eaed;border-radius:18px;padding:38px;box-shadow:0 12px 40px #2021240b}
.brand{display:flex;align-items:center;gap:10px;font-weight:750;font-size:19px;letter-spacing:-.4px;margin-bottom:38px}.brand-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#1a73e8;color:#fff}
h1{font-size:28px;letter-spacing:-.8px;margin:0 0 8px}.muted,.eyebrow{color:#73777f}.muted{margin:0 0 28px;font-size:14px}
label{display:block;font-size:13px;font-weight:600;margin:16px 0;color:#3c4043}input,textarea,select{display:block;width:100%;margin-top:8px;padding:12px 13px;border:1px solid #dadce0;border-radius:9px;background:#fff;outline:none}input:focus,textarea:focus,select:focus{border-color:#1a73e8;box-shadow:0 0 0 3px #1a73e81a}
.primary{background:#1a73e8;color:white;border:0;border-radius:9px;padding:12px 18px;font-weight:650}.primary:hover{background:#1765cc}.full{width:100%;margin-top:12px}.error{color:#c5221f;font-size:13px;min-height:18px}
#dashboard-view{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:240px;background:#fff;border-right:1px solid #e8eaed;padding:24px 16px;display:flex;flex-direction:column}.sidebar .brand{margin:2px 8px 42px}.sidebar nav{display:grid;gap:6px}.nav-link{border:0;background:transparent;text-align:left;padding:12px 14px;border-radius:9px;color:#5f6368;font-weight:550}.nav-link:hover,.nav-link.active{background:#e8f0fe;color:#174ea6}.logout{margin-top:auto}
.main-content{margin-left:240px;padding:34px clamp(20px,4vw,56px);max-width:1600px}.topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px}.eyebrow{font-size:10px;font-weight:750;letter-spacing:1.5px;margin:0 0 8px}.topbar h1{font-size:27px}.user-chip{background:#fff;border:1px solid #e8eaed;padding:9px 13px;border-radius:30px;font-size:13px}
.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:15px;margin-bottom:24px}.stat,.panel,.task-card{background:#fff;border:1px solid #e8eaed;border-radius:13px;padding:20px}.stat span{display:block;color:#73777f;font-size:13px}.stat strong{display:block;font-size:27px;margin-top:10px;letter-spacing:-1px}.panel h2{font-size:16px;margin:0 0 16px}.panel-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:16px}.list-row{padding:12px 0;border-top:1px solid #f0f1f3;font-size:13px;display:flex;justify-content:space-between;gap:16px}.muted-small{color:#777;font-size:12px}.toolbar{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:16px}.toolbar input{max-width:320px;margin:0}.task-list{display:grid;gap:12px}.task-card h3{margin:0 0 7px;font-size:16px}.task-meta{display:flex;gap:8px;flex-wrap:wrap;color:#777;font-size:12px;margin-top:14px}.pill{background:#f1f3f4;border-radius:30px;padding:5px 9px}.pill.blue{background:#e8f0fe;color:#174ea6}.pill.red{background:#fce8e6;color:#b3261e}.table-wrap{overflow:auto;background:white;border:1px solid #e8eaed;border-radius:12px}table{width:100%;border-collapse:collapse;min-width:600px}th,td{text-align:left;padding:13px 16px;border-bottom:1px solid #f0f1f3;font-size:13px}th{color:#777;font-weight:600;background:#fafafa}.empty{padding:35px;text-align:center;color:#777}
@media(max-width:760px){.sidebar{position:static;width:auto;height:auto;padding:12px;display:block;border-right:0;border-bottom:1px solid #e8eaed}.sidebar .brand{margin:0 8px 12px}.sidebar nav{display:flex;overflow:auto}.nav-link{white-space:nowrap;padding:9px 11px}.logout{margin-top:8px}.main-content{margin:0;padding:24px 16px}.panel-grid{grid-template-columns:1fr}.login-card{padding:28px 22px}.topbar{align-items:flex-start;gap:12px}}

.topbar-actions{display:flex;align-items:center;gap:10px}.theme-toggle,.secondary,.icon-button{border:1px solid #dadce0;background:#fff;color:#202124;border-radius:9px;padding:9px 13px;font-weight:600}.theme-toggle:hover,.secondary:hover,.icon-button:hover{background:#f1f3f4}.assign-button{margin-top:14px}.assigned-to{margin-top:14px;color:#5f6368;font-size:13px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.field-hint{display:block;color:#73777f;font-size:12px;font-weight:400;margin-top:4px}.app-dialog{border:0;padding:0;background:transparent;width:min(560px,calc(100% - 32px));max-width:none;max-height:calc(100% - 32px);overflow:visible}.app-dialog::backdrop{background:#10111480;backdrop-filter:blur(3px)}.dialog-card{background:#fff;color:#202124;border:1px solid #e8eaed;border-radius:16px;padding:24px;box-shadow:0 24px 80px #10111433;max-height:calc(100vh - 32px);overflow:auto}.dialog-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:12px}.dialog-header h2{margin:0;font-size:20px;letter-spacing:-.3px}.dialog-header .muted{margin:6px 0 0;font-size:13px}.icon-button{font-size:20px;line-height:1;padding:6px 10px}.dialog-card label{margin:14px 0}.dialog-card select[multiple]{min-height:88px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.dialog-actions button:disabled{opacity:.6;cursor:wait}.toast{position:fixed;right:24px;bottom:24px;z-index:10;max-width:min(400px,calc(100vw - 32px));padding:13px 17px;border-radius:10px;background:#202124;color:#fff;box-shadow:0 8px 28px #0003;font-size:14px;opacity:0;transform:translateY(8px);pointer-events:none;transition:opacity .18s ease,transform .18s ease}.toast.visible{opacity:1;transform:translateY(0)}.toast.toast-error{background:#b3261e}

html[data-theme="dark"]{color-scheme:dark;background:#101010;color:#f5f5f5}html[data-theme="dark"] body,html[data-theme="dark"] .login-shell{background:#101010;color:#f5f5f5}html[data-theme="dark"] .login-card,html[data-theme="dark"] .sidebar,html[data-theme="dark"] .stat,html[data-theme="dark"] .panel,html[data-theme="dark"] .task-card,html[data-theme="dark"] .user-chip,html[data-theme="dark"] .table-wrap,html[data-theme="dark"] .dialog-card{background:#191919;color:#f5f5f5;border-color:#353535}html[data-theme="dark"] .brand-mark,html[data-theme="dark"] .primary{background:#f5f5f5;color:#111}html[data-theme="dark"] .primary:hover{background:#ddd}html[data-theme="dark"] .theme-toggle,html[data-theme="dark"] .secondary,html[data-theme="dark"] .icon-button{background:#202020;color:#f5f5f5;border-color:#444}html[data-theme="dark"] .theme-toggle:hover,html[data-theme="dark"] .secondary:hover,html[data-theme="dark"] .icon-button:hover{background:#303030}html[data-theme="dark"] .nav-link{color:#c4c4c4}html[data-theme="dark"] .nav-link:hover,html[data-theme="dark"] .nav-link.active{background:#303030;color:#fff}html[data-theme="dark"] .muted,html[data-theme="dark"] .eyebrow,html[data-theme="dark"] .muted-small,html[data-theme="dark"] .field-hint,html[data-theme="dark"] .assigned-to,html[data-theme="dark"] .stat span{color:#aaa}html[data-theme="dark"] input,html[data-theme="dark"] textarea,html[data-theme="dark"] select{background:#111;color:#f5f5f5;border-color:#444}html[data-theme="dark"] input:focus,html[data-theme="dark"] textarea:focus,html[data-theme="dark"] select:focus{border-color:#aaa;box-shadow:0 0 0 3px #ffffff18}html[data-theme="dark"] .list-row,html[data-theme="dark"] th,html[data-theme="dark"] td{border-color:#303030}html[data-theme="dark"] th{background:#202020;color:#aaa}html[data-theme="dark"] .pill,html[data-theme="dark"] .pill.blue,html[data-theme="dark"] .pill.red{background:#303030;color:#f5f5f5}html[data-theme="dark"] .empty{color:#aaa}html[data-theme="dark"] .toast{background:#f5f5f5;color:#111}html[data-theme="dark"] .toast.toast-error{background:#b3261e;color:#fff}
@media(max-width:760px){.topbar-actions{align-items:flex-end;flex-direction:column;gap:7px}.form-row{grid-template-columns:1fr}}
.card-actions,.table-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.card-actions{margin-top:14px}.card-actions .secondary,.table-actions .secondary{padding:8px 11px;font-size:12px}.danger{color:#b3261e!important;background:#fce8e6!important;border-color:#f1c4c0!important}.danger:hover{background:#f7d8d5!important}
html[data-theme="dark"] .danger{color:#ffb4ab!important;background:#3a1c1a!important;border-color:#69312d!important}html[data-theme="dark"] .danger:hover{background:#522420!important}
.notification-link{display:flex;align-items:center;justify-content:space-between;gap:12px}.notification-count{display:inline-flex;align-items:center;justify-content:center;min-width:21px;height:21px;padding:0 6px;border-radius:20px;background:#1a73e8;color:#fff;font-size:11px;font-weight:700}.filter-panel{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;background:#fff;border:1px solid #e8eaed;border-radius:12px;padding:14px;margin-bottom:16px}.filter-panel label{flex:1 1 150px;margin:0;font-size:12px}.filter-panel input,.filter-panel select{margin-top:5px;padding:9px 10px}.filter-panel button{padding:10px 14px}.notification-row,.activity-row{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:14px 0;border-top:1px solid #f0f1f3;font-size:13px}.notification-row small,.activity-row small,.activity-row span,.activity-by time{display:block;color:#777;font-size:12px;margin-top:5px}.notification-row.is-read{opacity:.72}.activity-row>div:first-child{min-width:0}.activity-row small{overflow-wrap:anywhere}.activity-by{text-align:right;white-space:nowrap}.activity-by span{margin-top:0}
html[data-theme="dark"] .filter-panel{background:#191919;border-color:#353535}html[data-theme="dark"] .notification-row,html[data-theme="dark"] .activity-row{border-color:#303030}html[data-theme="dark"] .notification-row small,html[data-theme="dark"] .activity-row small,html[data-theme="dark"] .activity-row span,html[data-theme="dark"] .activity-by time{color:#aaa}
@media(max-width:760px){.filter-panel{align-items:stretch}.filter-panel label{flex-basis:100%}.notification-row,.activity-row{gap:10px}.activity-by{white-space:normal}}
.member-picker{margin-top:8px;padding:12px;border:1px solid #dadce0;border-radius:12px;background:#fafbfc}.member-picker-toolbar{display:flex;align-items:center;gap:12px;margin-bottom:10px}.member-picker-toolbar input{margin:0;padding:9px 11px}.member-picker-toolbar span{flex:none;color:#73777f;font-size:12px}.member-picker-list{display:grid;gap:7px;max-height:230px;overflow:auto}.member-option{display:flex;align-items:center;gap:10px;margin:0;padding:10px;border:1px solid transparent;border-radius:9px;background:#fff;cursor:pointer;transition:background .15s,border-color .15s}.member-option:hover{background:#f1f3f4}.member-option.selected{background:#eef4ff;border-color:#c5d7fa}.member-option input[type="checkbox"]{width:16px;height:16px;flex:none;margin:0;accent-color:#1a73e8}.member-option-avatar{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:50%;background:#e8f0fe;color:#174ea6;font-size:13px;font-weight:700}.member-option-details{display:grid;min-width:0;gap:3px}.member-option-details strong{font-size:13px}.member-option-details small{overflow:hidden;color:#73777f;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.member-option-check{margin-left:auto;color:#1a73e8;font-weight:800;opacity:0}.member-option.selected .member-option-check{opacity:1}.member-picker-empty{padding:14px;text-align:center;color:#73777f;font-size:12px}.member-status-update{display:flex;align-items:flex-end;gap:10px;margin-top:8px}.member-status-update label{flex:1;margin:8px 0 0}.status-actions{display:flex;gap:8px}.status-actions button{margin-bottom:0}.notification-content p{margin:7px 0;color:#5f6368;font-size:13px;line-height:1.55}.notification-content small{display:block;color:#73777f;font-size:11px;margin-top:8px}.notification-row{align-items:center}.notification-row.is-read .notification-content{opacity:.7}
html[data-theme="dark"] .member-picker{background:#141414;border-color:#444}html[data-theme="dark"] .member-option{background:#1b1b1b;color:#f5f5f5}html[data-theme="dark"] .member-option:hover{background:#292929}html[data-theme="dark"] .member-option.selected{background:#252b36;border-color:#4b5e7d}html[data-theme="dark"] .member-option-avatar{background:#303030;color:#fff}html[data-theme="dark"] .member-option-details small,html[data-theme="dark"] .member-picker-toolbar span,html[data-theme="dark"] .member-picker-empty,html[data-theme="dark"] .notification-content p,html[data-theme="dark"] .notification-content small{color:#aaa}
@media(max-width:560px){.member-picker-toolbar{align-items:stretch;flex-direction:column}.member-status-update{align-items:stretch;flex-direction:column}.status-actions button{flex:1}.notification-row{align-items:flex-start}}
