:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#202b39;background:#f6f7f9;font-synthesis:none;--green:#bcea83;--muted:#7b8593;--line:#e8ebef;--dark:#161f2b}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #88ad53;outline-offset:3px}button{transition:background .15s,transform .15s}button:hover{filter:brightness(.97)}a{color:inherit;text-decoration:none}[hidden]{display:none!important}.shell{display:flex;min-height:100vh}.sidebar{width:246px;position:fixed;inset:0 auto 0 0;background:var(--dark);color:#cad1da;display:flex;flex-direction:column;padding:30px 20px;z-index:3}.brand{display:flex;align-items:center;gap:11px;color:white;font-weight:650;font-size:20px;letter-spacing:-.6px}.brand small{display:block;font-size:10px;color:#929eac;letter-spacing:.5px;font-weight:400;margin-top:5px}.logo{display:grid;place-items:center;background:var(--green);color:#263626;width:36px;height:39px;border-radius:11px;font-size:26px}.workspace{display:flex;align-items:center;gap:10px;padding:16px 10px;margin:39px 0 33px;border:1px solid #34404d;border-radius:10px;font-size:12px;color:#f0f2f5}.workspace small{display:block;font-size:10px;color:#8793a2;margin-top:4px}.workspace-icon{background:#3b4654;padding:8px 11px;border-radius:8px}.online{width:6px;height:6px;background:var(--green);border-radius:50%;margin-left:auto}.nav-label{font-size:9px;letter-spacing:1.5px;color:#7f8a99;margin:0 11px 14px}.nav{display:flex;width:100%;align-items:center;gap:12px;border:0;border-radius:8px;padding:13px;background:none;color:#a6b0bd;text-align:left;margin-bottom:5px;font-size:13px}.nav>span{font-size:21px;width:22px;line-height:1}.nav.active{background:#2c3937;color:#d1f3a5}.nav b{margin-left:auto;background:#44533e;border-radius:5px;font-size:10px;padding:3px 7px}.sidebar-foot{margin-top:auto;padding-top:50px;font-size:11px;color:#909baa}.signal{display:inline-block;width:6px;height:6px;background:#acd87d;border-radius:50%;margin:0 7px 1px}.profile{border-top:1px solid #323d49;margin-top:22px;padding-top:22px;display:flex;align-items:center;gap:10px;color:#e1e6eb;font-size:12px}.avatar{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:30px;height:30px;border-radius:50%;background:#e9edf4;color:#647185;font-size:10px;font-weight:650}.you{margin-left:auto;color:#81909e;font-size:10px}main{margin-left:246px;flex:1;min-width:0;padding:0 42px}header{height:86px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:12px}.breadcrumb{font-size:12px;color:#929ba7}.breadcrumb span{margin:0 14px;color:#c6cbd1}.breadcrumb b{font-weight:500;color:#4d5968}.header-date{color:#87929e;font-size:11px}.demo-banner{font-size:11px;line-height:1.6;background:#eef3e7;color:#607642;padding:9px 13px;border-radius:7px;margin-top:17px}.connection{padding:15px;background:#fff0eb;color:#a34e3d;border-radius:8px;margin-top:15px}.page-head{display:flex;align-items:center;justify-content:space-between;margin:32px 0 25px;gap:15px}h1{font-size:30px;letter-spacing:-1.1px;font-weight:650;margin:0 0 8px}.subtitle{color:var(--muted);font-size:12px;margin:0;line-height:1.6}.primary{border:0;background:var(--green);color:#263922;padding:13px 19px;border-radius:8px;font-weight:600;font-size:12px;white-space:nowrap}.primary .plus{font-size:18px;margin-right:7px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:30px}.stat{background:white;border:1px solid var(--line);border-radius:11px;padding:19px 20px}.stat-top{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#808a96}.stat-icon{display:grid;place-items:center;width:27px;height:27px;background:#f3f5f8;border-radius:7px;color:#7c8b9e;font-size:15px}.stat strong{display:block;font-size:29px;font-weight:600;letter-spacing:-1px;margin:7px 0}.stat small{font-size:10px;color:#929ba6}.stat.danger strong,.stat.danger .stat-icon{color:#d07864}.stat.success strong,.stat.success .stat-icon{color:#6a9250}.board{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}.toolbar{padding:17px 20px;display:flex;align-items:center;gap:20px;justify-content:space-between;border-bottom:1px solid var(--line)}.tabs{display:flex;gap:4px;flex-wrap:wrap}.tab{border:0;background:transparent;border-radius:6px;padding:8px 12px;color:#8a94a0;font-size:11px;white-space:nowrap}.tab.active{background:#edf2e7;color:#5d7749;font-weight:600}.search{position:relative;max-width:230px}.search input{padding:9px 12px;font-size:11px;background:#f8f9fb;border:1px solid #eceff2;border-radius:7px;width:100%;outline:0}.filter-row{display:flex;gap:10px;padding:13px 20px;align-items:center;border-bottom:1px solid var(--line)}.filter-row select{font-size:11px;border:1px solid #e6e9ef;border-radius:6px;padding:7px 25px 7px 10px;color:#738092;background:white;max-width:180px}.result-count{margin-left:auto;font-size:10px;color:#99a1ab}.task-head,.task-row{display:grid;grid-template-columns:minmax(200px,2.1fr) minmax(100px,.95fr) minmax(110px,1fr) minmax(115px,1fr) 30px;align-items:center;gap:14px}.task-head{padding:13px 22px;background:#fbfcfd;color:#98a1ae;font-size:9px;text-transform:uppercase;letter-spacing:.6px}.task-row{border:0;border-top:1px solid #f0f2f5;padding:22px;width:100%;background:white;text-align:left;color:inherit}.task-row:hover{background:#fafcf8}.task-name{display:flex;gap:13px;align-items:flex-start;min-width:0}.check{width:18px;height:18px;flex-shrink:0;border:1.5px solid #dce2e8;border-radius:6px;margin-top:2px;display:grid;place-items:center;font-size:10px}.check.done{background:#eaf3e1;border-color:#c5dfac;color:#6c9451}.task-title{font-size:12px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}.task-meta{display:flex;gap:8px;align-items:center;margin-top:7px;font-size:9px;color:#a0a8b1}.priority{display:inline-flex;align-items:center;gap:4px}.priority:before{content:'';width:5px;height:5px;border-radius:50%;background:#a8b3c0}.priority.high{color:#bd775e}.priority.high:before{background:#d19472}.priority.normal:before{background:#80a2c6}.assignee{display:flex;gap:8px;align-items:center;min-width:0;font-size:10px}.assignee .person-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.badge{display:inline-flex;align-items:center;width:fit-content;gap:5px;padding:6px 8px;border-radius:5px;font-size:9px;white-space:nowrap;background:#f0f2f5;color:#8693a4}.badge.in_progress{color:#6687b7;background:#edf3fc}.badge.review{color:#aa925c;background:#faf5e6}.badge.done{color:#75974e;background:#edf5e5}.badge.cancelled{color:#969da7}.deadline{font-size:10px;color:#8994a1}.countdown{display:block;font-size:11px;font-variant-numeric:tabular-nums;margin-bottom:6px;color:#66788f}.countdown.late{color:#cb7a66}.arrow{color:#afb8c2;font-size:18px}.board-foot{padding:17px 22px;border-top:1px solid var(--line);display:flex;gap:8px;align-items:center;color:#929ca8;font-size:10px}.board-foot span:first-child{color:#9aba77}.empty{padding:50px 20px;text-align:center;color:#82909f;line-height:1.7;font-size:13px}.empty strong{display:block;color:#485567;font-size:17px;margin-bottom:8px}.bottom-note{display:flex;justify-content:space-between;gap:20px;margin:22px 2px;font-size:10px;line-height:1.6;color:#9aa3af}.bottom-note b{color:#7f8d9b;font-weight:500}footer{padding:34px 0 25px;display:flex;justify-content:space-between;gap:12px;font-size:10px;color:#a9b0b9}.member-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.member-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:25px}.member-card .avatar{width:44px;height:44px;font-size:14px}.member-card h3{font-size:14px;margin-bottom:6px}.member-card p{color:#8a96a5;font-size:11px}.member-card .member-stats{border-top:1px solid var(--line);padding-top:15px;margin-top:20px;font-size:11px;color:#6c7b8d}.notice{padding:20px;border-bottom:1px solid var(--line);font-size:12px;white-space:pre-wrap;line-height:1.7}.notice small{display:block;color:#96a0ad;font-size:10px;margin-top:8px}.notice button{background:none;border:0;color:#739b50;padding:8px 0 0;font-size:11px}.loading{padding:100px 0;text-align:center;color:#81909f}dialog{border:1px solid #e8ebee;border-radius:17px;box-shadow:0 30px 100px #14213233;width:min(540px,calc(100% - 24px));padding:28px;max-height:90dvh;overflow-y:auto;color:#263442}dialog::backdrop{background:#101d3266;backdrop-filter:blur(4px)}.dialog-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:23px}.dialog-heading h2{font-size:22px;letter-spacing:-.7px;margin:7px 0 0;overflow-wrap:anywhere}.eyebrow{font-size:9px;letter-spacing:1.8px;color:#9aa6b2}.icon-button{border:0;background:#f3f5f7;border-radius:8px;width:30px;height:30px;font-size:23px;color:#8a96a3;flex-shrink:0}label{display:block;font-size:11px;font-weight:550;color:#647283;margin-bottom:16px}label input,label textarea,label select{display:block;width:100%;margin-top:8px;padding:12px;border-radius:8px;border:1px solid #dfe5eb;outline:none;color:#344356;background:white;font-size:12px}input:focus,textarea:focus,select:focus{border-color:#90b46a!important;box-shadow:0 0 0 3px #c0ed8222}textarea{resize:vertical}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-hint{font-size:10px;color:#97a0aa;line-height:1.6}.reminder-hint{display:flex;gap:12px;background:#f3f7ee;border-radius:8px;padding:14px;color:#728a5e;margin:20px 0}.reminder-hint>span{font-size:24px}.reminder-hint b{font-size:11px;font-weight:500}.reminder-hint small{display:block;font-size:10px;margin-top:5px;line-height:1.5}.wide{width:100%}.error{font-size:12px;color:#bb6356;line-height:1.5}.detail-meta{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:22px}.detail-description{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;color:#738092;line-height:1.8;margin:20px 0}.detail-info{background:#f7f9fa;border-radius:10px;padding:16px;font-size:11px;line-height:2;color:#7e8b9a}.detail-info b{font-weight:500;color:#445366}.detail-info .countdown{font-size:16px;margin-top:8px}.actions{display:flex;flex-wrap:wrap;gap:8px;margin:22px 0}.secondary{border:1px solid #e0e6ec;background:#fff;padding:10px 13px;border-radius:7px;font-size:11px;color:#65758a}.secondary.danger{color:#b77566}.section-title{font-size:12px;font-weight:600;border-top:1px solid var(--line);padding-top:21px}.event{font-size:11px;border-left:2px solid #e9edf1;padding:0 0 17px 13px;line-height:1.7;color:#8993a0;overflow-wrap:anywhere}.event b{color:#5e6f80;font-weight:550}.event time{float:right;color:#a6afb9;font-size:9px}.event.comment .event-text{background:#f6f8fa;padding:9px;border-radius:6px;white-space:pre-wrap;color:#5d6f82;margin-top:5px}#comment-form{display:flex;gap:8px;margin-top:8px}#comment-form input{flex:1;min-width:0;padding:12px;border:1px solid #e1e7ed;border-radius:7px;font-size:12px}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);z-index:20;background:#253c2c;color:#e5f4da;padding:14px 23px;border-radius:10px;font-size:12px;box-shadow:0 8px 30px #0002;max-width:90%;text-align:center}
@media(min-width:1500px){main{padding-left:65px;padding-right:65px}}@media(max-width:1100px){.sidebar{width:205px;padding:28px 15px}.brand{font-size:17px}main{margin-left:205px;padding:0 25px}.task-head,.task-row{grid-template-columns:minmax(175px,1.8fr) 100px 100px 110px;gap:10px}.arrow{display:none}.toolbar{gap:8px}.tab{padding:8px}.stat{padding:15px}.stat-top{font-size:10px}}@media(max-width:850px){.sidebar{width:75px;padding:24px 14px;align-items:center}.brand>span:last-child,.workspace,.nav-label,.sidebar-foot,.nav b{display:none}.sidebar nav{margin-top:35px}.nav{font-size:0;width:46px;padding:13px;gap:0}.nav>span{font-size:23px}main{margin-left:75px;padding:0 22px}.stats{gap:9px}.task-head{display:none}.task-row{grid-template-columns:1fr 110px;gap:13px;padding:20px}.task-name{grid-column:1}.assignee{grid-row:2;grid-column:1;padding-left:30px}.task-row>.badge{grid-row:1;grid-column:2;justify-self:end}.deadline{grid-row:2;grid-column:2;text-align:right}.member-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.sidebar{inset:auto 0 0;width:100%;height:63px;padding:0 12px;background:#17212d;flex-direction:row;justify-content:center;border-top:1px solid #354253;padding-bottom:env(safe-area-inset-bottom)}.sidebar .brand{display:none}.sidebar nav{display:flex;justify-content:space-around;width:100%;margin:0}.nav{font-size:10px;width:auto;gap:6px;padding:12px;margin:0}.nav>span{font-size:18px;width:18px}main{margin:0;padding:0 17px 65px}header{height:62px}.breadcrumb{font-size:10px}.breadcrumb span{margin:0 8px}.header-date{font-size:9px}.page-head{margin:26px 0 20px}h1{font-size:25px}.subtitle{font-size:10px;max-width:205px}.primary{padding:12px 13px;font-size:11px}.stats{grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:23px}.stat{padding:13px 15px}.stat strong{font-size:25px}.stat small{font-size:9px}.stat-top{font-size:11px}.stat-icon{width:23px;height:23px}.toolbar{flex-direction:column;align-items:stretch;padding:13px}.tabs{justify-content:space-between;gap:2px}.tab{font-size:10px;padding:8px}.search{max-width:none}.filter-row{padding:12px;gap:7px}.filter-row select{font-size:10px;max-width:140px;padding:7px}.result-count{font-size:9px}.task-row{padding:17px 13px;grid-template-columns:1fr 100px;gap:12px}.task-title{font-size:11px}.task-name{gap:10px}.assignee{padding-left:28px}.task-meta{font-size:9px}.task-row .avatar{width:24px;height:24px;font-size:8px}.task-row .badge{font-size:8px;padding:5px 7px}.deadline,.countdown{font-size:9px}.board-foot{padding:14px;font-size:9px;line-height:1.6}.bottom-note{flex-direction:column;gap:8px;font-size:9px}footer{font-size:9px;padding-top:20px}footer span{max-width:170px;text-align:right}.demo-banner{font-size:9px}.member-grid{grid-template-columns:1fr}.member-card{padding:20px}dialog{padding:21px;max-height:88dvh}.form-grid{gap:10px}.dialog-heading h2{font-size:20px}#toast{bottom:80px}.event time{float:none;display:block}.task-title{line-height:1.6}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
.progress-section input[type=range]{width:100%;max-width:none;height:44px;margin:4px 0 0;padding:0;border:0;box-shadow:none;background:transparent;accent-color:#8fbb5d;cursor:pointer}.progress-section input[type=range]:focus-visible{outline:2px solid #8fbb5d;outline-offset:3px;border-radius:6px}
.task-progress{display:flex;align-items:center;gap:8px;margin-top:10px;font-size:11px;color:#71845e}.task-progress progress{appearance:none;width:90px;height:5px;border:0;border-radius:8px;overflow:hidden;background:#edf1e8}.task-progress progress::-webkit-progress-bar{background:#edf1e8}.task-progress progress::-webkit-progress-value{background:#a4cd72;border-radius:8px}.task-progress progress::-moz-progress-bar{background:#a4cd72}.reason-flag{display:block;font-size:10px;color:#b17955;margin-top:7px;line-height:1.5}.progress-section{margin:22px 0;padding:18px;background:#f7f9f4;border:1px solid #e5ebdf;border-radius:10px}.progress-section h3{display:flex;justify-content:space-between;font-size:13px;margin:0}.progress-section h3 span{color:#709749}.progress-section>.task-progress progress{width:100%;height:7px}.progress-section>.task-progress>span,.progress-section>.reason-flag{display:none}.progress-section form{margin-top:20px}.progress-section input[type=number]{max-width:110px}.reason-details{font-size:12px;margin-top:18px;color:#7a8794}.reason-details b{font-weight:500}.reason-details p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}.event.progress .event-text{white-space:pre-wrap}
.nav svg{display:block;width:20px;height:20px}.search{margin-bottom:0;font-weight:400}.search input{margin-top:0}.detail-meta .priority{font-size:11px}
@media(max-width:560px){.nav svg{width:18px;height:18px}.task-title{font-size:13px}.task-meta{font-size:10px}.task-row .badge{font-size:10px}.deadline,.countdown{font-size:10px}.assignee{font-size:11px}.tab{font-size:11px}.filter-row select{font-size:11px}.stat small{font-size:10px}.stat-top{font-size:12px}.form-hint{font-size:11px}.form-grid{grid-template-columns:1fr}.dialog-heading{margin-bottom:18px}label{font-size:12px}label input,label textarea,label select{font-size:16px}.event{font-size:12px}.detail-info{font-size:12px}.nav{font-size:11px}.sidebar{height:calc(63px + env(safe-area-inset-bottom))}main{padding-bottom:calc(65px + env(safe-area-inset-bottom))}}

/* Indigo palette: colors only; layout and sizing are unchanged. */
:root{--green:#6254d9;--dark:#19213e;--muted:#6e7691;--line:#e3e5f0;color:#242b46;background:#f3f4fa}
.sidebar{background:#19213e;color:#cbd0e5;border-color:#343d60}.logo,.primary{background:#6254d9;color:#fff}.workspace{border-color:#354061;color:#edf0ff}.workspace-icon{background:#303b62;color:#dce1ff}.brand small,.workspace small,.sidebar-foot{color:#a0aacd}.nav-label{color:#939dc0}.nav{color:#b2bbd8}.nav.active{background:#33345f;color:#e1ddff}.nav b{background:#514883;color:#eeeaff}.online,.signal{background:#a99cff}.profile{border-color:#354061;color:#eef0ff}.you{color:#a0aacd}
.demo-banner{background:#eae7fb;color:#574a94}.tab.active{background:#ece9ff;color:#5645b0}.tab{color:#737c94}.avatar{background:#ebe9f8;color:#645d91}.breadcrumb,.header-date{color:#778099}.breadcrumb b{color:#515c7b}.stat-top,.stat small{color:#737c93}.stat-icon{background:#f0effa;color:#8075b2}.stat.danger strong,.stat.danger .stat-icon{color:#c55876}.stat.danger .stat-icon{background:#fcebf0}.stat.success strong,.stat.success .stat-icon{color:#328c91}.stat.success .stat-icon{background:#e8f5f4}
.search input,.task-head{background:#f8f8fd;border-color:#e4e5f0}.task-head,.result-count{color:#7c849d}.filter-row select{border-color:#e1e3ef;color:#626d89}.task-row{border-color:#edeef6}.task-row:hover{background:#f7f5ff}.check{border-color:#d9dbea}.check.done{background:#e4f2f1;border-color:#b7dad7;color:#328c91}.task-meta{color:#8189a0}.priority.high,.reason-flag{color:#ac647c}.priority.high:before{background:#ca7593}.priority.normal:before{background:#8880d2}.badge{background:#eff0f7;color:#747f9b}.badge.in_progress{background:#eeeaff;color:#6a51b8}.badge.review{background:#fff1dd;color:#a4722b}.badge.done{background:#e5f3f1;color:#358882}.badge.cancelled{color:#858ba1}.countdown{color:#657198}.countdown.late{color:#c05a76}.deadline{color:#7b849d}.board-foot{color:#78819b}.board-foot span:first-child{color:#8b77d4}.bottom-note,.bottom-note b,footer{color:#7d869e}
button:focus-visible,a:focus-visible{outline-color:#8d7ce5}input:focus,textarea:focus,select:focus{border-color:#9282df!important;box-shadow:0 0 0 3px #6254d91c}dialog{color:#29324f;border-color:#e3e2f0;box-shadow:0 30px 100px #1c184033}dialog::backdrop{background:#16193166}.icon-button{background:#f0eff8;color:#82779f}.detail-info{background:#f3f3fa;color:#76809a}.detail-info b{color:#4e597b}.detail-description,label{color:#69738f}.secondary{border-color:#dcd9ed;color:#6857a4;background:#fff}.notice button{color:#6e57ba}.reminder-hint{background:#efebfb;color:#72609e}.form-hint{color:#7c8399}.event{border-color:#e5e2f1}.event.comment .event-text{background:#f3f1fa;color:#69617f}.error,.secondary.danger{color:#bd5474}#toast{background:#393064;color:#f1edff}
.progress-section{background:#f3f0fc;border-color:#e0d9f2}.progress-section h3 span,.task-progress{color:#7861be}.task-progress progress,.task-progress progress::-webkit-progress-bar{background:#e6e0f1}.task-progress progress::-webkit-progress-value{background:#9178ce}.task-progress progress::-moz-progress-bar{background:#9178ce}.progress-section input[type=range]{accent-color:#9178ce}.progress-section input[type=range]:focus-visible{outline-color:#9b85d4}

/* Dark theme: preserve all existing layout and dimensions. */
:root{color-scheme:dark;--dark:#111525;--line:#303449;--muted:#a1a8c3;background:#181c2c;color:#eef0fa}
.sidebar{background:#111525;border-color:#2c3047;color:#bdc4e0}.workspace{background:#191e32;border-color:#30364f}.workspace-icon{background:#303754;color:#dce1ff}.nav.active{background:#363057;color:#e9e2ff}.nav b{background:#57477e;color:#f1eaff}.profile{border-color:#30344a}.primary,.logo{background:#8570e8;color:#fff}.online,.signal{background:#b6a3ff}
.stat,.board,.member-card,.task-row,dialog{background:#222739;color:#edf0fb;border-color:#34394f}.task-row{border-top-color:#30354b}.task-row:hover{background:#2b2d47}.stat-icon{background:#30334e;color:#b7a6f2}.stat-top,.stat small,.subtitle{color:#abb2ca}.stat.danger strong,.stat.danger .stat-icon{color:#f29aaf}.stat.danger .stat-icon{background:#493044}.stat.success strong,.stat.success .stat-icon{color:#79ccc4}.stat.success .stat-icon{background:#253f45}
.demo-banner{background:#302c4b;color:#c5b8f1}.breadcrumb,.header-date{color:#a3aac5}.breadcrumb b{color:#d2d7eb}.breadcrumb span{color:#727b9b}.tab{color:#a8afc9}.tab.active{background:#3b315e;color:#ded2ff}.task-head{background:#1d2234;color:#a6afcb}.search input,.filter-row select{background:#1b2032;border-color:#3b415b;color:#dce1f3}.search input::placeholder{color:#929bb8}.result-count,.task-meta,.deadline{color:#a0aac7}.avatar{background:#3a3354;color:#d8c9ff}.check{border-color:#57607b}.check.done{background:#254944;border-color:#41756c;color:#90d8c7}.priority.high,.reason-flag{color:#efa2bd}.priority.high:before{background:#e996b0}.priority.normal:before{background:#b2a2e9}.priority:before{background:#9ba6c5}
.badge{background:#343b51;color:#c5cee6}.badge.in_progress{background:#403258;color:#d5b9ff}.badge.review{background:#493e30;color:#edc389}.badge.done{background:#28453f;color:#97d7c4}.badge.cancelled{background:#32364a;color:#afb5cc}.countdown{color:#b9c4ed}.countdown.late{color:#f29aae}.arrow{color:#99a2c1}.board-foot,.bottom-note,.bottom-note b,footer{color:#a3acc7}.board-foot span:first-child{color:#ba9eed}.empty{color:#aeb8d2}.empty strong{color:#dfe5f9}.member-card p,.member-card .member-stats,.notice small{color:#a8b3ce}.notice button{color:#c5acff}
 dialog{box-shadow:0 30px 100px #0009}dialog::backdrop{background:#080b17b3}.icon-button{background:#343950;color:#ccd2e8}.eyebrow{color:#a5aec9}.detail-info{background:#1a2031;color:#b0bad4}.detail-info b{color:#dde4f9}.detail-description,label,.reason-details{color:#b9c2dc}.secondary{background:#302c49;border-color:#51466f;color:#dfd0ff}.secondary.danger,.error{color:#f29fb6}label input,label textarea,label select,#comment-form input{background:#191f30;color:#e8ecfa;border-color:#434b67}input::placeholder,textarea::placeholder{color:#9ba5c1}input:focus,textarea:focus,select:focus{border-color:#aa8ee7!important;box-shadow:0 0 0 3px #ad8cef22}.form-hint{color:#a5afca}.reminder-hint{background:#302b46;color:#c5b4e5}.event{border-color:#45405c;color:#aeb8d1}.event b{color:#d4dcf3}.event time{color:#9da8c5}.event.comment .event-text{background:#2d2b43;color:#d4cbe7}
.progress-section{background:#2c283f;border-color:#48405c}.progress-section h3 span,.task-progress{color:#c6a9f3}.task-progress progress,.task-progress progress::-webkit-progress-bar{background:#474059}.task-progress progress::-webkit-progress-value{background:#b18ade}.task-progress progress::-moz-progress-bar{background:#b18ade}.progress-section input[type=range]{background:transparent;accent-color:#b18ade}.progress-section input[type=range]:focus-visible{outline-color:#b18ade}.connection{background:#4b2e3d;color:#ffc4d0}#toast{background:#554171;color:#f8f0ff}

/* Shared dropdown surface, including menus inside modal dialogs. */
.dropdown{display:block;position:relative;min-width:0;margin-top:8px;font-weight:400}.dropdown-trigger{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:42px;padding:12px;border:1px solid #434b67;border-radius:8px;background:#191f30;color:#e8ecfa;text-align:left;font-size:12px;line-height:1.4}.dropdown-trigger:hover{background:#24283e;border-color:#776396;filter:none}.dropdown-trigger:focus-visible,.dropdown-trigger[aria-expanded=true]{outline:none;border-color:#aa8ee7;box-shadow:0 0 0 3px #ad8cef22}.dropdown-value{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dropdown-chevron{width:7px;height:7px;border-right:1.5px solid #bba8db;border-bottom:1.5px solid #bba8db;transform:rotate(45deg);margin-right:3px;margin-top:-4px;flex-shrink:0}.dropdown-trigger[aria-expanded=true] .dropdown-chevron{transform:rotate(225deg);margin-top:4px}.dropdown-menu{position:fixed;inset:auto;margin:0;padding:5px;border:1px solid #514665;border-radius:10px;background:#242236;color:#e8e3f3;box-shadow:0 12px 32px #09071280;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#655379 #242236;font-size:12px;line-height:1.5}.dropdown-menu::backdrop{background:transparent}.dropdown-option{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:38px;padding:9px 11px;border-radius:6px;cursor:pointer;color:#d7cfe5;overflow-wrap:anywhere}.dropdown-option[aria-selected=true]{background:#3b2f50;color:#e8d7ff}.dropdown-option.is-active{background:#514064;color:#fff0ff}.dropdown-option[aria-disabled=true]{opacity:.4;cursor:default}.dropdown-check{color:#d0aff3;flex-shrink:0}.filter-row>.dropdown{margin-top:0;max-width:180px;min-width:0}.filter-row .dropdown-trigger{min-height:30px;padding:7px 10px;font-size:11px;gap:12px;border-radius:6px}.dropdown-menu:focus{outline:none}
@media(max-width:560px){.dropdown-trigger{font-size:16px;min-height:44px}.dropdown-menu{font-size:14px}.dropdown-option{min-height:44px}.filter-row>.dropdown{max-width:140px}.filter-row .dropdown-trigger{font-size:11px}}

.badge.blocked{background:#4c303f;color:#f3b2ca}.feature-section{margin:14px 0;border:1px solid #3d3a54;border-radius:10px;background:#242538;overflow:visible}.feature-section summary{cursor:pointer;padding:16px;font-size:12px;font-weight:600;color:#e0dcee;display:flex;align-items:center;gap:12px;list-style:none}.feature-section summary::-webkit-details-marker{display:none}.feature-section summary:before{content:'›';font-size:19px;color:#b9a0dd;line-height:1}.feature-section[open] summary:before{transform:rotate(90deg)}.feature-section summary>span{margin-left:auto;text-align:right;color:#b19bcf;font-size:10px;font-weight:400}.feature-body{border-top:1px solid #3d3a54;padding:16px}.feature-body p{font-size:12px;line-height:1.7;color:#b5bad2}.feature-body form+form{margin-top:20px}.feature-gap{margin-top:15px}.preserve{white-space:pre-wrap;overflow-wrap:anywhere}.inline-form{display:flex;gap:8px;margin-top:14px}.inline-form input,.inbox-toolbar>input{min-width:0;flex:1;background:#191f30;color:#e8ecfa;border:1px solid #434b67;padding:10px;border-radius:7px;font-size:12px}.checklist-item{display:flex;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid #34354a}.checklist-item label,.check-label{display:flex;align-items:center;gap:10px;margin:0;font-size:12px;font-weight:400;line-height:1.6}.checklist-item label{flex:1;overflow-wrap:anywhere;min-width:0}.checklist-item input[type=checkbox],.check-label input[type=checkbox]{width:17px;height:17px;padding:0;margin:0;accent-color:#b18ade;flex-shrink:0}.checklist-item input:checked+span{color:#a79eba;text-decoration:line-through}.text-button{border:0;background:none;color:#b5a4ca;font-size:20px;padding:0 5px}.deadline-request{font-size:12px}.request-history{border-top:1px solid #3e3c51;padding-top:12px}.result-link{display:inline-block;color:#c6a9ef;font-size:12px;padding:8px 0}.attachment-list{display:grid;gap:8px;margin:18px 0}.attachment{display:flex;justify-content:space-between;gap:12px;background:#302c43;color:#dacfec;border:1px solid #4b4160;border-radius:7px;padding:12px;text-align:left;font-size:12px}.attachment span{overflow-wrap:anywhere;min-width:0}.attachment small{color:#a69cb9;white-space:nowrap}input[type=file]{font-size:12px;max-width:100%}input::file-selector-button{background:#49395f;color:#e6d5fb;border:0;border-radius:5px;padding:8px;margin-right:8px;cursor:pointer}.inbox-toolbar{display:flex;align-items:center;gap:15px;padding:17px;flex-wrap:wrap;border-bottom:1px solid #34394f}.inbox-toolbar>input{flex:1 1 230px}.inbox-toolbar>span{font-size:10px;color:#aaa1bd}.notice{white-space:normal}.notice.unread{background:#2b2940;box-shadow:inset 3px 0 #a789d6}.notice-actions{display:flex;align-items:center;justify-content:space-between;gap:14px}.inbox-more{margin:15px}.event .event-text{white-space:pre-wrap}.progress-section input:disabled{opacity:.55;cursor:default}.feature-section .dropdown{width:100%}
@media(max-width:560px){.feature-section summary{padding:14px;font-size:13px}.feature-body{padding:14px}.inline-form{flex-wrap:wrap}.inline-form input{flex-basis:180px}.checklist-item label{font-size:13px}.inbox-toolbar{gap:12px}.notice-actions{align-items:flex-start;flex-direction:column;gap:0}.feature-section summary>span{max-width:45%}.attachment{font-size:12px}}

/* Center close icons independently of the font's multiplication-glyph baseline. */
.icon-button{display:inline-flex;align-items:center;justify-content:center;position:relative;padding:0;font-size:0;line-height:1}
.icon-button::before,.icon-button::after{content:'';position:absolute;top:50%;left:50%;width:12px;height:1.5px;border-radius:1px;background:currentColor;transform:translate(-50%,-50%) rotate(45deg)}
.icon-button::after{transform:translate(-50%,-50%) rotate(-45deg)}

.avatar{overflow:hidden}.avatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}.telegram-handle{display:block;font-size:10px;color:#bda4ea;font-weight:400;margin-top:4px;line-height:1.4}.member-card a.telegram-handle{font-size:12px}.member-card a.telegram-handle:hover{color:#e4d4ff;text-decoration:underline}.profile #my-name{min-width:0;overflow-wrap:anywhere}.person-name .telegram-handle{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.deadline-picker{padding:18px;border:1px solid #3b4058;border-radius:14px;background:#1b2032;margin:6px 0 20px}.deadline-heading{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;font-weight:650;color:#eef0fc;margin-bottom:14px}.deadline-heading span{font-size:11px;font-weight:400;color:#a9aec7}.deadline-tabs{display:flex;padding:4px;gap:4px;background:#131727;border-radius:10px}.deadline-tabs button{flex:1;border:0;border-radius:7px;padding:10px 8px;background:transparent;color:#aeb4cf;font:inherit;font-size:12px;cursor:pointer}.deadline-tabs button[aria-pressed=true]{background:#7360cc;color:white}.deadline-help{font-size:12px;line-height:1.6;color:#aeb4cf;margin:14px 0}.duration-presets{display:flex;gap:7px;margin-bottom:14px;flex-wrap:wrap}.duration-presets button{border:1px solid #414761;border-radius:8px;padding:8px 13px;background:#252b41;color:#dce0f3;cursor:pointer}.duration-presets button[aria-pressed=true]{background:#3a315d;border-color:#a48cf0;color:#e9dfff}.duration-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}.deadline-preview{padding:12px;border-radius:8px;background:#29243f;color:#d6c9ff;font-size:12px;line-height:1.6;margin-top:4px}.deadline-picker [hidden]{display:none!important}.deadline-picker input{min-width:0;width:100%;box-sizing:border-box}.deadline-tabs button:focus-visible,.duration-presets button:focus-visible{outline:2px solid #c5afff;outline-offset:2px}
/* Scrollbars follow the same dark palette in dialogs, menus and text fields. */
*{scrollbar-width:thin;scrollbar-color:#686080 transparent}
@supports selector(::-webkit-scrollbar){
  *{scrollbar-width:auto;scrollbar-color:auto}
  ::-webkit-scrollbar{width:8px;height:8px}
  ::-webkit-scrollbar-track{background:transparent;margin-block:12px}
  ::-webkit-scrollbar-thumb{background:#686080;border:2px solid transparent;background-clip:padding-box;border-radius:999px;min-height:36px}
  ::-webkit-scrollbar-thumb:hover{background-color:#9585b7}
  ::-webkit-scrollbar-thumb:active{background-color:#b49bdb}
  ::-webkit-scrollbar-button{display:none;width:0;height:0}
  ::-webkit-scrollbar-corner{background:transparent}
}
@media(forced-colors:active){*{scrollbar-color:auto;scrollbar-width:auto}}
.day-group+.day-group{border-top:1px solid #3b3f58}.day-group-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:19px 24px;background:#1c2133;border-bottom:1px solid #32394e}.day-group-heading>div{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}.day-group-heading h2{margin:0;font-size:14px;font-weight:650;color:#ded7f7;text-transform:capitalize}.day-group-heading span{font-size:11px;color:#929bb8}.day-group-heading>b{min-width:26px;padding:4px 8px;text-align:center;border-radius:8px;background:#34304d;color:#cec0f2;font-size:11px}.day-group.late .day-group-heading{background:#2b2233}.day-group.late h2{color:#efb1be}.day-group.closed .day-group-heading h2{color:#aeb6c9}.day-group .task-row:last-child{border-bottom:0}@media(max-width:560px){.day-group-heading{padding:16px}.day-group-heading>div{display:block}.day-group-heading h2{margin-bottom:5px}}
.day-switcher{display:grid;grid-template-columns:repeat(7,minmax(95px,1fr));gap:8px;padding:20px 20px 12px;overflow-x:auto}.day-switcher button{display:flex;flex-direction:column;align-items:flex-start;gap:7px;padding:14px 12px;border:1px solid #383f57;border-radius:12px;background:#1b2031;color:#acb4cf;text-align:left}.day-switcher button span{font-size:12px;text-transform:capitalize}.day-switcher button strong{font-size:16px;color:#e5e7f4}.day-switcher button small{font-size:10px;color:#929cb8}.day-switcher button[aria-pressed=true]{background:#393054;border-color:#a88ce3;box-shadow:inset 0 2px #b79aea}.day-switcher button[aria-pressed=true] small,.day-switcher button[aria-pressed=true] span{color:#d6c5f4}.day-shortcuts{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:0 20px 18px;border-bottom:1px solid #343a51}.day-shortcuts>button{background:transparent;border:1px solid #3a4059;border-radius:8px;padding:8px 10px;color:#adb6d0;font-size:11px}.day-shortcuts>button b{margin-left:5px;font-weight:500;color:#dacbf4}.day-shortcuts>button[aria-pressed=true]{background:#3b3155;color:#ede1ff;border-color:#9b82c9}.pick-day{display:flex;gap:8px;align-items:center;margin:0 0 0 auto;font-size:11px;color:#aab2ca}.pick-day input{width:140px;margin:0;padding:7px 8px;background:#191f30;border:1px solid #434b67;border-radius:7px;color:#dce1f4;font-size:11px}.day-switcher button:focus-visible,.day-shortcuts button:focus-visible{outline:2px solid #c3a4f4;outline-offset:2px}@media(max-width:560px){.day-switcher{padding:14px 12px 12px;grid-template-columns:repeat(7,100px)}.day-shortcuts{padding:0 12px 14px}.pick-day{margin-left:0;width:100%;justify-content:space-between}}
/* Comfortable desktop typography; phone layouts retain their existing sizes. */
@media (min-width:1024px){
  .nav{font-size:15px}.workspace,.profile,.breadcrumb{font-size:14px}
  .brand small,.workspace small,.nav-label,.sidebar-foot,.you,.header-date{font-size:12px}
  .subtitle,.primary,.secondary,.tab,.search input,.filter-row .dropdown-trigger{font-size:14px}
  .stat-top{font-size:14px}.stat small,.result-count,.task-head{font-size:12px}
  .task-title{font-size:16px}.task-meta,.task-row .badge,.deadline,.assignee,.telegram-handle{font-size:13px}
  .countdown,.task-progress{font-size:14px}.reason-flag{font-size:12px}
  .notice{font-size:16px;line-height:1.75}.notice small{font-size:12px}.notice button{font-size:13px}
  .feature-section summary{font-size:15px}.feature-section summary>span{font-size:12px}
  .feature-body p,.checklist-item label,.check-label,.inline-form input,.inbox-toolbar>input{font-size:14px}
  .inbox-toolbar>span{font-size:12px}
  label{font-size:14px}label input,label textarea,label select,.dropdown-trigger,.dropdown-menu{font-size:15px}
  .form-hint,.reminder-hint small,.event time{font-size:12px}.reminder-hint b{font-size:14px}
  .detail-description{font-size:15px}.detail-info,.event,.section-title,.reason-details{font-size:14px}
  .member-card h3{font-size:17px}.member-card p,.member-card .member-stats{font-size:14px}
  .day-switcher button span,.day-shortcuts>button,.pick-day,.pick-day input{font-size:13px}
  .day-switcher button small,.deadline-heading span{font-size:12px}
  .deadline-tabs button,.deadline-help,.deadline-preview,.attachment,.result-link{font-size:14px}
  .board-foot,.bottom-note,footer{font-size:12px}
}
