/* CDOTS — soft light, clear type, a blue shared workspace. */
:root,:root[data-theme="light"]{
 --ink:#191f28;--ink-soft:#4e5968;--ink-faint:#748094;--paper:#f7f9fc;--surface:#fff;--surface-2:#f0f4f9;--line:#e5ebf2;
 --accent:#2878f5;--accent-soft:#eaf3ff;--accent-2:#278ca5;--accent-2-soft:#e9f7fb;--green:#2878f5;--soft:#eaf3ff;--muted:#69788c;
 --good:#16856a;--good-soft:#e7f7f0;--warn:#a56c12;--warn-soft:#fff4d6;--bad:#d04a59;--bad-soft:#ffedf0;--todo:#77869a;--todo-soft:#eff3f8;
 --mine:#2878f5;--mine-hover:#1764dc;--mine-ink:#fff;--shadow:0 3px 14px #24528a0b;
 --font-body:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI','Apple SD Gothic Neo','Malgun Gothic',sans-serif;
 --font-display:var(--font-body);--font-mono:var(--font-body);--font-sans:var(--font-body);
 font-family:var(--font-body);color:var(--ink);background:var(--paper);font-synthesis:none;
}
body{font-family:var(--font-body);letter-spacing:-.025em;-webkit-font-smoothing:antialiased}
button,input,textarea,select{font-family:var(--font-body)}
button{transition:background .16s,border-color .16s,box-shadow .16s}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid #2878f5;outline-offset:3px}
::selection{background:#d7eaff;color:#163a6c}
::-webkit-scrollbar{width:7px;height:7px}::-webkit-scrollbar-thumb{background:#c9d4e1;border-radius:9px}::-webkit-scrollbar-track{background:transparent}
.app-header{background:#fff;border-color:#edf1f6;padding:0 22px;gap:20px}
.brand{font-size:23px;font-weight:750;letter-spacing:-1.05px;color:#191f28}.brand svg{width:34px;height:34px}.brand svg rect{fill:#2878f5;rx:11px}
.header-context{color:#7e8a9b;font-size:13px;border-color:#e7edf4}.account-name{color:#526176}
.sidebar{background:linear-gradient(170deg,#f3f8ff 0%,#f7fafc 60%,#f6faed 100%);border-color:#e8eef6;padding:24px 14px 16px}
.sidebar-heading .text-button{color:#34435a}.sidebar-empty,.sidebar-bottom p{color:#768498}
.room-nav{color:#617087;border-radius:13px;gap:11px;padding:12px 10px}.room-nav:hover{background:#eaf2fd}.room-nav[aria-current=page]{color:#246bdd;background:#e3efff;font-weight:650}
.room-dot{color:#2878f5;border-radius:9px;background:white;width:29px;height:29px}.icon-button{color:#718099;border-radius:9px}.icon-button:hover{background:#eaf2ff}
.primary,.outline,.quiet{border-radius:11px;font-weight:650;padding:10px 15px}.primary{background:#2878f5}.primary:hover{background:#1764dc}.outline{background:white;color:#44546b;border-color:#e0e7f0}.outline:hover{background:#f0f6ff;border-color:#b9d3fa}.quiet{color:#64738a}.quiet:hover{background:#edf4ff}
.home{background:radial-gradient(ellipse at 75% 0%,#bcddff88,transparent 50%),radial-gradient(ellipse at 8% 90%,#fff8bf88,transparent 45%),#fafcfe}
.home-heading h1{font-size:32px;font-weight:750;letter-spacing:-1.3px}.eyebrow{color:#5a88c9;font-weight:700;letter-spacing:.1em}.home-heading p.muted{color:#768397}
.empty-workspace h2{font-weight:700;color:#28374d}.empty-workspace p{color:#718098}.connection-mark rect{stroke:#bfd8fb;fill:#eef6ff}.connection-mark path{stroke:#9ac5fc}.connection-mark circle{fill:#2878f5}
.room-card{border:1px solid #fff;border-radius:22px;padding:25px;background:linear-gradient(135deg,#fff 35%,#e8f4ff);box-shadow:0 5px 24px #24528a07}.room-card:nth-child(3n+2){background:linear-gradient(135deg,#fff 35%,#e4f7f3)}.room-card:nth-child(3n+3){background:linear-gradient(135deg,#fff 35%,#fff7d4)}.room-card:hover{border-color:#afcffb;box-shadow:0 8px 28px #24528a10}.room-card h2{font-weight:700;color:#28374d}.room-card p,.room-card-footer{color:#758499}.room-card-footer{border-color:#e6edf5}
.room-topbar{background:#fff;border-color:#edf1f6}.room-symbol{background:#e8f2ff;color:#2878f5;border-radius:12px}.room-heading h1{font-size:20px;font-weight:750;letter-spacing:-.7px}.room-heading p,.sync-label{color:#7c8a9d}
.room-tools .outline{background:#edf5ff;border-color:#edf5ff;color:#246ddd}.room-tools .outline:hover{background:#dcecff}
dialog,#flowDialog{background:#fff;border-color:#e7edf5;border-radius:22px;color:#253349;box-shadow:0 24px 90px #20457226;padding:28px}
dialog::backdrop,#flowDialog::backdrop{background:#20324d40;backdrop-filter:blur(5px)}.dialog-heading h2{font-weight:750;font-size:24px}.dialog-desc,.dialog-footer,.inline-note,.field small{color:#748296}
.field>span{color:#4d5d73;font-weight:600}.field input,.field textarea,.field select{background:#f7f9fc;border-color:#e6ebf2;border-radius:11px;color:#27374e}.field input::placeholder,.field textarea::placeholder{color:#929fb0}.link-button{color:#2878f5}
.room-preview{background:#f0f7ff;border-color:#e1edfd;border-radius:14px}.room-preview p{color:#75859b}.invite-code{background:linear-gradient(120deg,#e8f4ff,#eaf8f8);border-color:#e5f0fc;border-radius:14px;color:#226edb;font-weight:700}.member-list li{border-color:#edf1f6}.member-list span{color:#75859b}.toast{background:#263952;border-radius:12px}
/* Board: retain the working space, replace the decorative frame. */
main.split{background:#f7f9fc;padding:12px 12px 12px 8px;gap:0}
.pane-left,.board{background:transparent}.board{padding:0 0 6px}.pane-right{background:#fff;border:1px solid #e7edf5;border-radius:20px;box-shadow:0 3px 20px #24528a04;overflow:hidden}
.board>.lane,.board>.lane:last-child{border:1px solid #e6eef8;border-radius:20px;margin:0;padding:12px 10px 8px;background:#fff;box-shadow:0 3px 20px #24528a04}
.lane-head{background:#ffffffdf;border:1px solid #ffffffa8;border-radius:13px;padding:9px 12px;margin:0 0 8px;gap:9px}.lane-name{font-family:var(--font-body);font-size:18px;font-weight:750;letter-spacing:-.7px}.lane-key{display:none}.lane-count{color:#718198;font-size:12px}.lane-meter{height:4px;background:#e3eaf3;border-radius:9px}.lane-meter i{background:#2878f5!important}
.lane-bg-button,.section-zoom button,.section-zoom-value,[data-zoom]{background:#fff;color:#61748e;border-color:#e0e8f2;border-radius:8px;font-family:var(--font-body)}
.lane-bg-button:hover,[data-zoom]:hover{background:#edf5ff;border-color:#bcd5f7}.section-zoom-value{font-variant-numeric:tabular-nums}
.axis{background:#aebfd5}.axis i{background:#8baaca!important}.leaders path{stroke:#9bb4d0!important;opacity:.7!important}.leaders circle{stroke:#7a9fc8!important;fill:#fff!important}.today{border-color:#75a4e7}.today span{color:#407cc9}.month{color:#637c99;font-size:12px;font-weight:600}
.pin-card{border:1px solid #dce6f2;border-left-width:3px;border-radius:13px;background:#fffffffa;box-shadow:0 4px 13px #24528a0b;padding:10px 11px;gap:5px}.pin-title{font-family:var(--font-body);color:#24334a;font-weight:700;letter-spacing:-.35px;font-size:14px;line-height:1.4}.pin-bar{height:3px;background:#edf2f7}.pin.sel .pin-card{border-color:#6ba7fa;box-shadow:0 0 0 3px #2878f518,0 5px 16px #24528a0c}.pin.dragging .pin-card{box-shadow:0 10px 28px #24528a20!important;border-color:#78aef7}
.pin-card{padding:8px 10px}.pin-badge,.pin-dday{border-radius:5px;font-weight:600}.pin-date{color:#5b708c}.pin-age{color:#7b8b9e;font-size:12px}.pin-dday.over{background:#fff0f2;color:#c94f62}.pin-dday.soon{background:#fff2e3;color:#a26b1c}.drag-tip{background:#2878f5;color:#fff;border:0;border-radius:7px;font-weight:650;padding:4px 8px;box-shadow:0 2px 8px #2878f522}
.chat-head{background:#fff;padding:17px 18px 10px;border-color:#eef2f7}.view-tabs{gap:6px;background:#f3f6fa;border-radius:11px;padding:4px}.view-tabs button{font-size:13px;padding:7px 11px;border:0;border-radius:8px;color:#7b889b}.view-tabs button.on{background:#fff;color:#256de0;box-shadow:0 2px 5px #24528a09;border:0}.scope-count{color:#7e8da2;font-size:12px}
.feed,.notes-pane{background:#fff;padding:18px}.msg .bubble{border-radius:17px;padding:12px 15px;font-size:15px;line-height:1.65;box-shadow:none}.msg.me .bubble{background:#2878f5;color:#fff;border-bottom-right-radius:5px}.msg.other .bubble{background:#f1f5fa;color:#33455e;border-bottom-left-radius:5px}.msg .who,.msg .time{color:#8290a3;font-size:12px}.qref,.reply-strip{background:#eef5ff;border-color:#c1d9fb;color:#486385;border-radius:10px}.composer{background:#fff;border-color:#edf1f6;padding:13px}.composer textarea{background:#f4f7fb;border:1px solid #e7edf4;border-radius:13px;font-size:14px;color:#33455e}.composer textarea::placeholder{color:#929fb0}.composer button{border-radius:12px;background:#2878f5;font-weight:650}
.board-actions{background:#ffffffdc;padding:5px;border:1px solid #e5edf7;border-radius:14px;box-shadow:0 4px 18px #24528a0c;gap:5px}.board-actions>button{border-radius:10px;height:36px}.btn-primary,#addBtn{background:#2878f5;color:#fff;border-color:transparent}.btn-primary:hover,#addBtn:hover{background:#1764dc}.stk-fab{background:#f0f5fb;color:#58708f;border:0;box-shadow:none}.stk-panel{background:#fff;border-color:#e4edf7;border-radius:16px;box-shadow:0 10px 28px #24528a14}.stk-item{border-radius:9px}
.detail-head,.drawer,.hstep-card,.desc-box,.desc-view{background:#fff;border-color:#e4ecf6;border-radius:16px}.detail-head{padding:20px}.detail-title{font-family:var(--font-body);font-weight:750;color:#26374f}.detail-crumb,.metric{color:#75869b}.detail-meter{background:#eaf1f8}.detail-ctrls{border-color:#edf1f6}.seg,.seg button{border-color:#e0e9f4}.seg button.active{background:#e9f3ff;color:#2878f5}.hstep-card{box-shadow:0 3px 12px #24528a09}.hstep-title{font-family:var(--font-body);color:#33455e}.ctx-menu,.context-menu,#ctx,.modal{background:#fff;border-color:#e3ebf5;border-radius:16px;box-shadow:0 14px 45px #2442681c;color:#33455e}.overlay{background:#20324d40;backdrop-filter:blur(4px)}
.modal input,.modal select,.modal textarea,.detail-head input[type=date],.step-add input{background:#f5f8fc;border-color:#e1e9f3;border-radius:9px;color:#3e526d}.modal h2{font-family:var(--font-body)}
.cd-dialog{background:#fff;border-color:#e3ebf5;border-radius:20px;color:#33455e}.cd-dialog h2{font-weight:750}.cd-dialog p,.cd-dialog label{color:#73839a}.cd-dialog button{border-color:#dfe8f3;color:#4e6889;border-radius:9px}.cd-dialog .cd-save{background:#2878f5;border-color:#2878f5;color:#fff}.cd-dialog input[type=range]{accent-color:#2878f5}.cd-preview{border-color:#dfebf8;border-radius:12px}.cd-preview span{background:#fff;border-color:#dce8f7;border-radius:9px;color:#33455e}
body .task-files{background:#edf5ff;color:#2878f5;border-color:#d7e8ff;border-radius:7px}body .task-files:hover{background:#dfeeff;outline-color:#8cb9f7}body .file-dialog{background:#fff;border-color:#e0e9f4;border-radius:20px;color:#33455e}body .file-row{background:#f5f9fe;border-color:#e3edf8;border-radius:11px;color:#3e5778}body .file-context,body .file-status{color:#798ba3}body .file-action,body .file-dialog .file-add{background:#eaf3ff;border-color:#dceafa;color:#2878f5;border-radius:8px}body .file-toast{background:#263952;border-radius:11px}
@media(max-width:650px){.sidebar{padding:7px 10px}.brand{font-size:19px}.home-heading h1{font-size:25px}.room-topbar{padding:9px 12px}.room-heading h1{font-size:17px}.room-nav{padding:5px 8px}.room-dot{width:24px;height:24px}.room-card{border-radius:17px}}
@media(max-width:700px){main.split{padding:6px;gap:7px}.board>.lane,.pane-right{border-radius:15px}.lane-head{padding:7px}.lane-name{font-size:16px}.chat-head{padding:10px 12px}.feed{padding:12px}.composer{padding:9px}}
@media(prefers-reduced-motion:reduce){button,.room-card{transition:none!important}}
main.split.chat-collapsed{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr)!important}main.split.chat-collapsed>.pane-right,main.split.chat-collapsed>.divider{display:none!important}main.split.chat-collapsed>.pane-left{width:100%;min-width:0}.chat-toggle{display:inline-flex;align-items:center;justify-content:center;padding:9px!important;min-width:40px;min-height:40px}.chat-toggle.is-collapsed .chat-toggle-arrow{transform:rotate(180deg);transform-origin:10.5px 12px}.inline-thread{background:#fff;border:1px solid #e4ecf6;border-radius:16px;padding:18px;margin-top:18px}.it-head{font-size:15px;font-weight:700}.it-list{max-height:340px;overflow:auto;padding:8px 0}.it-input input{background:#f5f8fc;border-color:#e1eaf5;border-radius:10px;font-size:14px}.it-input button{background:#2878f5;color:white;border-radius:10px}.it-msg{font-size:14px;padding:7px 0}.it-target{color:#77889d;background:#f1f6fc;border-radius:7px}
.unscheduled-shelf{flex:none;padding:10px 12px 12px;margin-bottom:8px;background:#ffffffa8;border:1px solid #e4edf8;border-radius:14px;min-width:0}.unscheduled-heading{font-size:13px;font-weight:700;color:#61758e;margin-bottom:6px}.unscheduled-heading span{margin-left:6px;color:#2878f5}.unscheduled-list{display:flex;gap:12px;overflow:auto;padding:12px 2px 4px;max-height:150px}.pin.unscheduled-card{position:relative;left:auto;top:auto;flex:0 0 232px;height:108px}.unscheduled-card .pin-card{cursor:pointer}.schedule-task{border:0;border-radius:7px;background:#eaf3ff;color:#2878f5;padding:5px 8px;margin-left:auto;font-size:12px;cursor:pointer}.unscheduled-only .unscheduled-shelf{flex:1;min-height:0;display:flex;flex-direction:column}.unscheduled-only .unscheduled-list{flex-wrap:wrap;align-content:flex-start;max-height:none}.unscheduled-only .unscheduled-heading{flex:none}.unscheduled-only .pin.unscheduled-card{flex-grow:0}
.work-overview{width:min(920px,calc(100vw - 28px));max-height:90dvh;padding:26px}.overview-header{display:flex;justify-content:space-between;align-items:flex-start}.overview-header h2{font-size:23px;margin:0;letter-spacing:-.7px}.overview-header p{font-size:13px;color:#7b8da4;margin:7px 0 20px}.overview-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap;background:#f5f8fc;padding:12px;border-radius:13px}.overview-controls>label{font-size:12px;color:#687d97}.overview-controls select{display:block;margin-top:5px;border:1px solid #dce7f5;border-radius:8px;background:#fff;color:#334d6f;padding:8px;max-width:230px;font:inherit;font-size:13px}.overview-check{display:flex;align-items:center;gap:3px}.overview-count{font-size:12px;color:#74869e;margin:17px 0 7px}.overview-list{max-height:46dvh;overflow:auto}.overview-task{width:100%;display:flex;align-items:center;gap:14px;text-align:left;border:0;border-bottom:1px solid #edf1f7;background:white;padding:16px 9px;color:#33465f;cursor:pointer}.overview-task:hover{background:#f3f8ff}.overview-task-title{flex:1;min-width:0;font-size:14px;line-height:1.8;overflow-wrap:anywhere}.overview-task-title strong{font-weight:600}.overview-room{color:#6282aa;font-size:13px}.overview-separator{color:#bdcadb}.overview-sticker{display:inline-block;margin-left:9px;padding:1px 7px;border-radius:6px;background:#fff2dc;color:#96661d;font-size:12px;vertical-align:middle;font-weight:700}.overview-date{flex:none;min-width:94px;text-align:right}.overview-date b{font-size:13px;color:#2878f5;font-weight:650}.overview-date b.overdue{color:#ca5963}.overview-date small{display:block;color:#8b9aad;font-size:11px;margin-top:4px}.overview-arrow{color:#9badc3;font-size:22px}.overview-empty{padding:40px 10px;text-align:center;color:#8191a6;font-size:14px}.overview-checks{border-top:1px solid #e6edf6;margin-top:18px;padding-top:15px;font-size:14px}.overview-checks summary{cursor:pointer;font-weight:650;color:#455f81}.overview-checks summary span{margin-left:8px;font-size:12px;color:#8696aa;font-weight:400}.overview-check-row{display:flex;gap:9px;align-items:center;padding:10px 3px;font-size:13px}.overview-check-row small{color:#7a91ac}.overview-check-row input:checked+span{color:#96a4b6;text-decoration:line-through}.overview-check-add{display:flex;gap:8px;margin-top:12px}.overview-check-add input{flex:1;min-width:0;border:1px solid #e1e9f4;background:#f8fafd;border-radius:9px;padding:10px;color:#4f6786}.overview-error{font-size:13px;color:#be5262}.overview-global{margin-bottom:15px;font-size:13px;padding:9px}.overview-controls input{accent-color:#2878f5}@media(max-width:650px){.overview-global{width:auto;margin:0;padding:6px;white-space:nowrap;font-size:11px}.work-overview{padding:18px}.overview-task{gap:7px;padding:12px 3px}.overview-task-title{font-size:13px}.overview-date{min-width:74px}.overview-controls{gap:9px}.overview-controls select{max-width:150px}.room-tools{gap:5px;flex-wrap:wrap}.room-topbar{height:auto;min-height:62px}.sidebar{overflow:auto}}
.detail-ctrls.compact-status{border-top:0;margin-top:7px;padding-top:0;gap:10px}.compact-status .detail-date-note,.compact-status .detail-age-note{font-size:12px;color:#7c8ea6}.compact-status .detail-age-note{margin-left:auto}.compact-status .seg{flex:none}@media(max-width:700px){.compact-status .detail-age-note{margin-left:0;width:100%}}
/* Keep the overview anchored while room/filter result counts change. */
.work-overview{height:min(820px,90dvh);max-height:90dvh;box-sizing:border-box;overflow:hidden}
.work-overview[open]{display:flex;flex-direction:column}
.work-overview>.overview-header,.work-overview>.overview-controls,.work-overview>.overview-count{flex:none}
.work-overview .overview-header>div{min-width:0}
.work-overview .overview-header h2{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.work-overview .overview-header [data-close]{flex:none}
.work-overview>.overview-list{flex:1 1 0;min-height:0;max-height:none;overflow-y:auto;scrollbar-gutter:stable;overscroll-behavior:contain}
.work-overview>.overview-checks{flex:none;max-height:25%;overflow-y:auto;scrollbar-gutter:stable}
.work-overview>.overview-error{flex:none;max-height:60px;overflow:auto}
.work-overview>.overview-error:empty{display:none}
.work-overview>.overview-retry{flex:none;align-self:flex-start}
@media(min-width:651px){.sidebar{width:220px;flex-shrink:0;padding-top:0}.sidebar-heading{height:var(--room-heading-height,80px);min-height:var(--room-heading-height,80px);box-sizing:border-box;padding:0;gap:5px;justify-content:flex-start}.sidebar-heading #roomsHome{font-size:13px;white-space:nowrap;padding:0}.sidebar-heading .overview-global{width:auto;margin:0;padding:7px 6px;font-size:11px;white-space:nowrap}.sidebar-heading>.icon-button{flex:none;width:23px;padding:0;font-size:17px}.sidebar-heading #roomListToggle{font-size:11px}}
#roomList[hidden]{display:none!important}
@media(max-width:650px){.sidebar-heading .overview-global{margin:0 5px;width:auto;font-size:11px}.sidebar-heading #roomListToggle{display:inline-flex;font-size:11px;align-items:center;justify-content:center;width:22px;padding:0}}
.deletion-dialog [data-delete-action=delete_solo]{background:#bd4657;border-color:#bd4657;color:white}
.sidebar[hidden]{display:none!important}.rooms-sidebar-collapsed .main{width:100%;min-width:0;flex:1}.rooms-sidebar-collapsed .app-header>#roomListToggle{position:absolute;left:12px;top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;width:28px;height:30px;padding:0;background:#edf4ff;color:#2878f5;border-radius:8px;font-size:12px}
.app-body{position:relative}.app-body>#roomListToggle{position:absolute;z-index:40;left:calc(var(--sidebar-edge,220px) - 14px);top:calc(var(--room-heading-height,80px)/2 - 14px);width:28px;height:28px;padding:0;display:flex;align-items:center;justify-content:center;border:1px solid #dce6f2;border-radius:50%;background:white;color:#5277a4;box-shadow:0 2px 7px #24395112;font-size:11px}.app-body>#roomListToggle:hover{background:#edf5ff;color:#2878f5}.app-body>#roomListToggle:focus-visible{outline:2px solid #2878f5;outline-offset:3px}.rooms-sidebar-collapsed .app-body>#roomListToggle{left:5px}.rooms-sidebar-collapsed .room-topbar{padding-left:44px}@media(max-width:650px){.app-body>#roomListToggle{left:5px;top:calc(55px + var(--room-heading-height,62px)/2 - 14px)}.rooms-sidebar-collapsed .app-body>#roomListToggle{top:calc(var(--room-heading-height,62px)/2 - 14px)}.room-topbar{padding-left:44px}}
/* The drawer header stays in the room-title row; the canvas reclaims its body. */
@media(min-width:651px){.sidebar{width:220px}.sidebar-heading{border-bottom:1px solid #e1e9f3;position:relative;flex-shrink:0;margin:0 -14px;padding:0 12px;width:220px;background:#f8fbff}.sidebar-heading #roomListToggle{margin-left:auto}.rooms-drawer-closed .sidebar{position:absolute;left:0;top:0;width:220px;height:var(--room-heading-height,80px);min-height:0;z-index:5;padding-bottom:0;overflow:hidden;border-right:1px solid #e1e9f3}.rooms-drawer-closed .sidebar>:not(.sidebar-heading){display:none!important}.rooms-drawer-closed .main{width:100%;min-width:0}.rooms-drawer-closed .room-topbar{padding-left:244px}.rooms-drawer-closed .home{padding-top:calc(var(--room-heading-height,80px) + 20px)}}
@media(max-width:650px){.sidebar-heading{border-bottom:1px solid #e1e9f3}.rooms-drawer-closed .sidebar{height:55px;flex-shrink:0}.rooms-drawer-closed .sidebar>:not(.sidebar-heading){display:none!important}.rooms-drawer-closed .room-topbar{padding-left:12px}}
.pane-left .stk-dock{position:fixed;left:var(--tools-center,50vw);right:auto;bottom:16px;transform:translateX(-50%);align-items:center;width:max-content;max-width:calc(100vw - 20px);z-index:60}.stk-dock .board-actions{flex-wrap:nowrap}.stk-dock .stk-panel{max-width:calc(100vw - 24px)}
.pin-card .task-creator{display:block;flex:none;text-align:center;align-self:stretch;margin:auto 0;color:#8797ab;font:500 11px var(--font-body,sans-serif);line-height:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none}

/* Shared cdots product branding: revenue / process. */
.app-header{background:linear-gradient(110deg,#c3d9ff 0%,#d4e6fb 60%,#f2efd4 100%)}
.brand{gap:16px;letter-spacing:-1px;flex-shrink:0}
.brand svg{width:36px;height:36px;flex:none;overflow:visible}
.brand-copy{display:flex;flex-direction:column;gap:3px}
.brand-wordmark{font-size:29px;font-weight:450;line-height:1.05;color:#151c28}
.brand-wordmark strong{font-weight:750}
.brand-caption{font-size:12px;line-height:1.3;font-weight:400;letter-spacing:-.2px;color:#47617e}
@media(max-width:650px){.brand{gap:9px}.brand svg{width:28px;height:28px}.brand-wordmark{font-size:22px}.brand-caption{font-size:10px}}
/* Compact room navigation while preserving the fixed header alignment. */
@media(min-width:651px){
 .sidebar-heading{padding-left:8px;padding-right:8px;gap:3px}
 .sidebar-heading #roomsHome{font-size:12px;flex:none}
 .sidebar-heading #roomsHome span{margin-left:4px}
 .sidebar-heading .overview-global{font-size:10px;padding:7px 3px;min-width:0}
 .sidebar-heading>.icon-button{width:21px;min-width:21px}
 .room-nav{min-width:0}
 .room-nav .room-dot{flex-shrink:0}
 .room-nav span:last-child{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
}
.pin-card .task-stage{display:block;flex:none;text-align:center;align-self:stretch;margin:auto 0;color:#5279a8;font:500 11px var(--font-body,sans-serif);line-height:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.detail-creator{font-size:12px;color:#7c8ea6;margin:6px 0 8px}

/* A single clear starting point for visitors without rooms. */
.empty-home .sidebar{display:none!important}
.empty-home .home-heading,.empty-home #roomGrid{display:none}
.empty-home .main{width:100%;min-width:0}
.empty-home #homeView{display:flex;align-items:center;justify-content:center;min-height:100%;padding:32px 20px;background:radial-gradient(ellipse at 75% 15%,#eaf3ff,transparent 65%),#f8fafc}
.empty-home .empty-workspace{width:min(600px,100%);min-height:0;margin:0;padding:48px 36px;display:flex;flex-direction:column;align-items:center;gap:0;background:#ffffffed;border:1px solid #e8eef7;border-radius:28px;box-shadow:0 16px 60px #426ea00b;text-align:center}
.empty-home .connection-mark{width:144px;height:64px;margin:0 0 24px}
.empty-home .empty-workspace h2{font-size:27px;letter-spacing:-1px;line-height:1.4;margin:0 0 14px;word-break:keep-all}
.empty-home .empty-workspace p{font-size:15px;line-height:1.8;color:#72849a;margin:0 0 28px}
.empty-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;width:100%}
.empty-actions button{min-height:46px;padding:12px 20px;border-radius:12px;font-size:14px}
.empty-home .empty-workspace .small{font-size:12px;line-height:1.8;max-width:330px;margin-top:22px;word-break:keep-all}
@media(max-width:650px){.empty-home #homeView{padding:24px 16px}.empty-home .empty-workspace{padding:32px 20px}.empty-home .empty-workspace h2{font-size:23px}.empty-actions{flex-direction:column}}

/* Compact phone header and horizontally scrolling room navigation. */
@media(max-width:650px){
 .app-header{height:52px;min-height:52px;padding:0 10px;gap:8px}
 .app-header .brand{gap:7px}
 .app-header .brand svg{width:23px;height:23px}
 .app-header .brand-wordmark{font-size:19px;letter-spacing:-.7px}
 .app-header .brand-caption{display:none}
 .account-actions{gap:3px;min-width:0}
 .account-actions .account-name{max-width:70px;font-size:11px}
 .account-actions button{min-height:36px;padding:6px!important;font-size:11px}
 .app-body{height:calc(100dvh - 52px)}
 .sidebar{height:auto;min-height:48px;max-height:96px;flex:none;padding:0 8px;gap:7px;overflow:hidden;flex-wrap:wrap;align-content:center}
 .sidebar-heading{height:44px;min-height:44px;padding:0;border:0;gap:4px;flex:none}
 .sidebar-heading #roomsHome{font-size:12px;white-space:nowrap}
 .sidebar-heading #roomsHome span{margin-left:4px}
 .sidebar-heading #roomListToggle{width:36px;height:40px}
 #roomList{flex:1;min-width:90px;gap:4px;overflow-x:auto;overscroll-behavior-x:contain}
 .room-nav{min-height:40px;padding:4px 7px;gap:5px;flex:none}
 .room-nav span:last-child{max-width:120px;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .room-nav .room-dot{width:22px;height:22px;flex:none}
 .sidebar-bottom{flex:none;margin-left:auto}.sidebar-bottom button{min-height:36px;font-size:10px;padding:5px}
 .rooms-drawer-closed .sidebar{height:44px;min-height:44px}
 .room-topbar{padding:7px 10px;min-height:58px;gap:6px}
 .room-heading{min-width:0;gap:7px}
 .room-heading h1{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:42vw}
 .room-heading p{font-size:10px}
 .room-symbol{width:30px;height:30px;flex:none}
}

.mobile-view-tabs{display:none}
@media(max-width:700px){
 html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
 body:has(.app-header){height:var(--phone-height,100dvh);overflow:hidden}
 .app-header{height:42px!important;min-height:42px!important;padding:0 10px!important}
 .app-header .brand{gap:6px!important}
 .app-header .brand svg{width:18px!important;height:18px!important}
 .app-header .brand-wordmark{font-size:17px!important}
 .app-header .brand-caption{display:none!important}
 .account-actions button{min-height:32px!important;padding:4px 6px!important;font-size:10px!important}
 .account-actions .account-name{max-width:64px!important}
 .app-body{height:calc(var(--phone-height,100dvh) - 42px)!important;min-height:0}
 .main,.room-view{min-height:0;overflow:hidden}
 .sidebar,.rooms-drawer-closed .sidebar{min-height:36px!important;height:auto!important;padding:0 8px!important}
 .sidebar-heading{height:36px!important;min-height:36px!important;margin:0!important;border:0!important}
 .sidebar-heading #roomsHome{font-size:12px!important}
 .room-topbar{min-height:48px!important;height:auto!important;padding:5px 8px!important;flex-wrap:nowrap}
 .room-heading{flex:1;min-width:0}.room-heading>div{min-width:0}
 .room-heading h1{font-size:15px!important;max-width:44vw}
 .room-heading p{display:none}
 .room-heading .room-symbol{display:none}
 /* While the room list is pulled open, the selected room's name already shows in that list —
    showing it again in the topbar just below reads as a duplicate. Hide the repeat until the
    list is tapped closed again. */
 body.mobile-room-open:not(.rooms-drawer-closed) .room-topbar .room-heading{display:none!important}
 body.mobile-room-open:not(.rooms-drawer-closed) .room-topbar{justify-content:flex-end}
 .room-tools{flex-wrap:nowrap!important;gap:4px!important}
 .room-tools .sync-label{display:none!important}
 /* On phones the mobile-view-tabs row below the topbar (업무 보드/대화) already
    switches between board and chat, so the icon copy in the board toolbar
    would just be a second, redundant control. */
 .lane-head .chat-toggle,.board-actions .chat-toggle{display:none!important}
 .room-tools button{font-size:10px!important;padding:5px 6px!important;min-height:32px}
 .mobile-view-tabs{display:flex;flex:none;padding:3px 8px 6px;gap:6px;background:white;border-bottom:1px solid #e7edf5}
 .mobile-view-tabs button{flex:1;border:0;border-radius:9px;background:#f1f5fa;color:#6e8098;min-height:34px;font-size:13px;font-weight:650}
 .mobile-view-tabs button[aria-pressed=true]{background:#e6f0ff;color:#246ee6}
 main.split,main.split.chat-collapsed{display:flex!important;flex-direction:column!important;padding:4px!important;height:100%;min-height:0;gap:0!important}
 main.split>.divider{display:none!important}
 main.split:not(.chat-collapsed)>.pane-left{display:none!important}
 main.split.chat-collapsed>.pane-right{display:none!important}
 main.split>.pane{flex:1!important;width:100%!important;min-height:0!important;height:100%!important;margin:0!important}
 main.split>.pane-left{display:flex!important;flex-direction:column!important}
 main.split:not(.chat-collapsed)>.pane-left{display:none!important}
 .pane-left .board{flex:1;min-height:0;padding-bottom:64px!important}
 .board>.lane{padding:6px!important;border-radius:14px!important}
 .lane-head{padding:6px!important;gap:4px!important;border-radius:10px!important}
 .lane-head .lane-name,.lane-head .lane-count{display:none!important}
 .lane-head .section-zoom{margin:0!important;flex-wrap:nowrap!important}
 .lane-head .section-zoom button{min-height:32px!important;min-width:32px;font-size:12px!important}
 .lane-bg-button{font-size:10px!important;padding:5px!important}
 .pane-left .stk-dock{display:flex!important;bottom:max(6px,env(safe-area-inset-bottom))!important;max-width:calc(100vw - 12px)!important}
 .stk-dock .board-actions{gap:3px!important;padding:4px!important}
 .stk-dock .board-actions>button{min-width:40px!important;height:40px!important;padding:0 9px!important;font-size:12px!important}
 .pane-right{border-radius:12px!important;display:flex;flex-direction:column}
 .chat-head{padding:6px 10px!important;flex:none}
 .feed,.notes-pane{flex:1;min-height:0;overflow:auto;padding:12px!important;overscroll-behavior:contain}
 .composer{flex:none;padding:8px!important;padding-bottom:max(8px,env(safe-area-inset-bottom))!important;gap:8px}
 .composer textarea{font-size:16px!important;min-height:44px;max-height:100px}
 .composer button{min-width:54px;min-height:44px;font-size:14px}
 .reply-strip{flex:none;margin:4px 8px;max-height:64px;overflow:auto;font-size:12px}
 .msg .bubble{font-size:14px!important;padding:9px 12px!important}
 dialog,.cd-dialog,.work-overview{max-width:calc(100vw - 20px)!important;max-height:88dvh!important;padding:18px!important}
 input,textarea,select{font-size:16px}
}
@media(min-width:651px) and (max-width:700px){.app-body{flex-direction:column}.sidebar,.rooms-drawer-closed .sidebar{position:static!important;width:100%!important;flex-direction:row;align-items:center;gap:8px;flex:none}.sidebar-heading{width:auto!important}.sidebar #roomList{flex-direction:row;overflow:auto;flex:1}.sidebar-empty,.sidebar-bottom p{display:none}.sidebar-bottom{margin:0}.room-nav{width:auto;white-space:nowrap}.sidebar-heading #roomListToggle{width:32px}.rooms-drawer-closed .room-topbar{padding-left:10px!important}}
/* Desktop: the room header row is gone. The room actions live in the board frame
   (room-header.js) so the top of the screen reads as three columns: 내 방 | board | actions.
   Phones keep the classic header row with the room name. */
@media(min-width:701px){.room-topbar{display:none!important}}
.rooms-back,.room-search{display:none}
@media(min-width:701px){
 /* Room list folds sideways; the ▲ toggle is replaced by ◀ in the board header. */
 #roomListToggle{display:none!important}
 .rooms-drawer-closed .sidebar{display:none!important}
 .sidebar-heading #roomsHome{display:none!important}
 .sidebar-heading{gap:6px!important}
 .rooms-back{display:inline-grid!important;font-size:11px!important;width:26px!important;min-width:26px}
 .app-body:has(#roomView[hidden]) .rooms-back{visibility:hidden}
 .room-search{display:block;flex:1;min-width:0;height:30px;box-sizing:border-box;border:1px solid #e1e9f3;border-radius:9px;background:#fff;padding:0 10px;font:13px var(--font-body);color:#33455e;outline:none}
 .room-search:focus{border-color:#8db8f4;box-shadow:0 0 0 3px #2878f510}
 .room-search::-webkit-search-cancel-button{cursor:pointer}
}
