:root{font-family:Inter,Segoe UI,Arial,sans-serif;color:#202b3e;background:#eef1f6;font-size:14px;--nav:#142133;--ink:#17263a;--muted:#758194;--line:#e4e9f0;--blue:#355c90}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #6c9cda;outline-offset:2px}button{border:0}button:disabled{opacity:.5;cursor:default}input,select,textarea{border:1px solid #dfe5ed;background:white;border-radius:8px;color:var(--ink);padding:10px 12px;min-width:0}textarea{resize:vertical;min-height:80px}h1,h2,h3,p{margin:0}small,.muted{color:var(--muted);font-size:12px}.shell{min-height:100vh;display:flex;max-width:100%;margin:auto;background:#f6f7fa}.sidebar{width:242px;flex-shrink:0;background:var(--nav);color:#e4eaf3;display:flex;flex-direction:column;position:sticky;top:0;height:100vh;padding:25px 17px;gap:6px}.brand{display:flex;align-items:center;gap:10px;margin-bottom:25px}.logo{font-size:25px;letter-spacing:-2px;font-weight:900;background:#e8eef8;color:#142133;border-radius:10px;width:47px;height:47px;display:grid;place-items:center;display:flex;justify-content:center}.logo span{color:#5d8ec8}.brand b{font-size:13px;letter-spacing:1.1px}.brand small{display:block;color:#9badc3;font-size:10px;letter-spacing:1.8px;margin-top:3px}.edition{color:#b6c8df;background:#21334c;border:1px solid #31445d;border-radius:8px;padding:10px;font-size:10px;letter-spacing:1.4px;font-weight:700;display:flex;align-items:center;gap:8px;margin-bottom:23px}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#76c6ad}.nav-label{color:#8093ad;font-size:10px;font-weight:700;letter-spacing:1px;margin:12px 8px 8px}.sidebar nav button,.side-link{display:flex;align-items:center;gap:12px;background:none;color:#b8c5d6;padding:11px 10px;width:100%;border-radius:8px;text-align:left;margin-bottom:3px}.sidebar nav button.active,.sidebar nav button:hover,.side-link:hover{background:#2b405e;color:white}.sidebar nav button span{font-size:18px;width:20px;text-align:center}.sidebottom{margin-top:auto}.local{border-top:1px solid #2e4058;padding:15px 3px 0;color:#91a5bd;font-size:11px;display:flex;gap:7px;align-items:center}.teamrow{display:flex;align-items:center;gap:9px;padding:9px 10px;color:#c6d1de;font-size:13px;background:none;width:100%;text-align:left;border-radius:8px}.teamrow:hover{background:#2b405e}.avatar{width:27px;height:27px;border-radius:9px;display:inline-grid;place-items:center;font-size:12px;font-weight:700;flex:none}.teamrow small{margin-left:auto;color:#9badc3}main{min-width:0;flex:1}.topbar{height:65px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 27px;gap:10px}.crumb{font-size:12px;color:#8290a1}.crumb span{padding:0 8px;color:#c0c8d1}.crumb b{color:#42516a}.topactions{display:flex;align-items:center;gap:10px}.iconbutton,.subtle{background:white;border:1px solid var(--line);color:#63728a;border-radius:8px;padding:9px 11px}.topactions select{font-size:12px;padding:8px}.workspace{padding:27px 28px 40px;max-width:1800px;margin:auto}.heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:22px}.eyebrow{font-size:10px;letter-spacing:1.5px;font-weight:700;color:#78869b}.heading h1{font-size:32px;letter-spacing:-1.6px;margin:7px 0}.heading h1 span{color:#5a80b8}.heading p{color:#738096;font-size:13px}.primary{background:#294b78;color:white;border:1px solid #294b78;border-radius:9px;padding:11px 16px;font-weight:650;white-space:nowrap;box-shadow:0 3px 8px #1e3d6618}.primary:hover{background:#203e65}.hero{background:linear-gradient(112deg,#17263e,#274363);border-radius:14px;padding:23px 25px;color:white;display:flex;align-items:center;gap:24px;position:relative;overflow:hidden;min-height:132px}.hero:after{content:'';position:absolute;border:1px solid #ffffff0f;border-radius:50%;width:320px;height:320px;right:-110px;top:-200px;box-shadow:0 0 0 28px #ffffff08,0 0 0 58px #ffffff05;pointer-events:none}.hero-main{flex:1;min-width:0}.light{color:#a7bddb;font-size:10px}.hero-title{font-size:29px;font-weight:750;letter-spacing:-1px;margin:10px 0 6px}.hero-sub{font-size:12px;color:#b9c9df}.milestones{display:flex;gap:24px;z-index:1}.milestone{border-left:1px solid #ffffff24;padding-left:17px;max-width:155px}.milestone small{color:#a9bdd7;display:block;line-height:1.4;font-size:11px}.milestone b{display:block;margin-top:7px;font-size:16px;white-space:nowrap}.hero-edit{align-self:flex-start;border:1px solid #ffffff26;color:white;border-radius:7px;background:#ffffff0a;padding:5px 9px;z-index:1}.stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:11px;margin:17px 0 27px}.stat{background:#fff;border:1px solid var(--line);border-radius:11px;padding:13px 15px;display:flex;flex-direction:column;gap:7px;text-align:left;min-width:0}.stat:hover{border-color:#9bb2ce}.stat span{font-size:11px;color:#748198}.stat b{font-size:27px;line-height:1;font-weight:750;color:#233751}.stat em{font-size:10px;color:#8490a2;font-style:normal}.stat .late{color:#b94a48}.boardhead{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:11px}.boardhead h2{font-size:20px;letter-spacing:-.4px;display:inline-block;margin-right:10px}.mode{display:flex;border:1px solid #dfe5ed;background:#e9edf3;padding:3px;border-radius:8px;gap:2px}.mode button{background:none;color:#69768a;border-radius:5px;padding:7px 10px;font-size:12px;white-space:nowrap}.mode button.active{background:white;color:#243b5a;box-shadow:0 1px 3px #253d5b14}.toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:15px}.search{display:flex;align-items:center;flex:1;min-width:185px;border:1px solid #dfe5ed;background:white;border-radius:8px;padding-left:12px;color:#8190a3}.search input{border:0;width:100%;background:transparent;padding:10px}.toolbar select{font-size:12px;max-width:200px}.subtle{font-size:12px}.board{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(223px,1fr);gap:10px;overflow-x:auto;align-items:start;padding:0 1px 13px;min-height:360px}.lane{background:#edf0f5;border:1px solid #e4e8ef;border-radius:11px;min-height:280px;padding:9px;min-width:0}.lane.dragover{outline:2px solid #7fa2d0;background:#e3eaf5}.lane-head{display:flex;align-items:center;gap:6px;padding:5px 3px 13px;font-size:12px;font-weight:700;color:#41516a}.lane-dot{width:8px;height:8px;border-radius:50%;background:var(--status)}.lane-head .num{margin-left:auto;font-size:11px;font-weight:600;background:#dde3ec;color:#63728a;border-radius:6px;padding:3px 6px}.task{width:100%;text-align:left;background:#fff;border:1px solid #dfe5ed;border-left:3px solid var(--owner);border-radius:8px;margin-bottom:8px;padding:11px 10px;box-shadow:0 2px 3px #233a5410;cursor:pointer;color:var(--ink)}.task:hover{border-color:#aabbd1;border-left-color:var(--owner);box-shadow:0 4px 12px #20354b13;transform:translateY(-1px)}.task-top,.task-foot,.task-meta{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.task-top{justify-content:space-between;margin-bottom:8px}.id{font-size:10px;color:#8190a4;font-weight:700;letter-spacing:.3px}.priority{font-weight:750;font-size:10px;padding:3px 6px;border-radius:4px;background:#edf1f6;color:#627187}.priority.P0{background:#fcebe9;color:#b84642}.priority.P1{background:#fff2dc;color:#9b6b22}.task h3{font-size:13px;line-height:1.4;letter-spacing:-.1px;margin:0 0 9px}.tag{font-size:10px;color:#65778d;background:#f0f3f7;padding:4px 6px;border-radius:4px}.task-foot{border-top:1px solid #edf0f3;margin-top:10px;padding-top:8px;font-size:10px;color:#6b798d;justify-content:space-between}.ownerlabel{display:flex;align-items:center;gap:5px}.owner-dot{width:7px;height:7px;border-radius:50%;background:var(--owner);flex:none}.overdue{color:#b94a48!important}.follow{color:#a36a18;font-size:10px;margin-top:7px}.lane-add{background:transparent;border:1px dashed #cbd4e1;color:#8190a4;border-radius:7px;padding:9px;width:100%;font-size:11px}.empty{font-size:12px;color:#8b98a9;text-align:center;padding:25px 8px}.statusbar{display:none}.board.list{display:block}.board.list .lane{min-height:0;margin-bottom:12px}.board.list .tasks{display:grid;grid-template-columns:repeat(auto-fill,minmax(245px,1fr));gap:8px}.board.list .task{margin:0}.board.list .lane-add{margin-top:8px}.overlay{position:fixed;inset:0;background:#101b2c72;z-index:20;display:flex;justify-content:flex-end}.overlay[hidden],.toast[hidden]{display:none}.drawer{background:#fff;box-shadow:-10px 0 40px #17263b38;width:min(590px,100%);height:100%;overflow:auto}.drawer-head{position:sticky;top:0;display:flex;justify-content:space-between;align-items:center;background:white;border-bottom:1px solid var(--line);padding:17px 23px;z-index:2}.drawer-body{padding:20px 24px 100px}.drawer h2{font-size:19px;letter-spacing:-.4px}.close{background:#eff2f6;border-radius:7px;padding:7px 12px;color:#53647b;font-size:18px}.field{display:flex;flex-direction:column;gap:6px;margin:0 0 14px;min-width:0}.field label{font-size:11px;font-weight:650;color:#65748b}.field input,.field select,.field textarea{width:100%}.fields{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.task-title-input{font-size:20px;font-weight:700;padding:12px!important}.section-title{font-size:14px;margin:18px 0 10px;border-top:1px solid var(--line);padding-top:16px}.source-note{background:#f2f5f9;border-radius:8px;padding:10px 12px;font-size:11px;color:#6d7b90;line-height:1.6;margin-bottom:15px}.checkrow,.linkrow{display:flex;align-items:center;gap:8px;margin-bottom:8px}.checkrow input[type=checkbox]{width:17px;height:17px;flex:none;accent-color:#416d9e}.checkrow input[type=text],.linkrow input{flex:1;min-width:0}.checkrow .checked{text-decoration:line-through;color:#8994a2}.remove{background:#f4f5f8;border-radius:6px;padding:7px 10px;color:#77859a}.comment{background:#f4f6f9;padding:11px;border-radius:8px;margin:7px 0;white-space:pre-wrap;overflow-wrap:anywhere}.comment small{display:block;margin-bottom:5px}.drawer-footer{position:sticky;bottom:0;background:#fff;border-top:1px solid var(--line);padding:13px 24px;display:flex;justify-content:space-between;gap:8px;z-index:3}.error{color:#b94a48;font-size:12px;margin:8px 0}.toast{position:fixed;right:20px;bottom:20px;z-index:40;color:white;background:#203650;border-radius:9px;padding:13px 18px;box-shadow:0 4px 18px #17263b44;max-width:85vw}.export-option{display:block;text-align:left;padding:15px;border:1px solid var(--line);border-radius:9px;width:100%;background:white;margin:10px 0;color:#26384f}.export-option b{display:block;margin-bottom:5px}.export-option:hover{border-color:#7899bf}#mobilemenu{display:none}.shell.phone{max-width:420px;min-height:100vh;box-shadow:0 0 0 7px #18283a,0 0 0 8px #4e5e70;margin:12px auto}.phone .sidebar{display:none}.phone .sidebar.open{display:flex;position:fixed;z-index:10;left:0;top:0;box-shadow:0 0 0 100vmax #14213355}.phone #mobilemenu{display:inline-block}.phone .crumb,.phone #preview span{display:none}.phone .topbar{padding:0 12px;height:54px}.phone .topactions{margin-left:auto}.phone .workspace{padding:16px 12px}.phone .heading{align-items:flex-start;flex-wrap:wrap;gap:10px}.phone .heading h1{font-size:26px}.phone .heading p{font-size:12px}.phone .hero{flex-wrap:wrap;padding:16px;gap:14px}.phone .hero-title{font-size:24px}.phone .milestones{width:100%;gap:12px;order:3}.phone .stats{grid-template-columns:repeat(2,1fr);gap:7px;margin:12px 0 20px}.phone .stat{padding:9px 12px}.phone .stat b{font-size:22px}.phone .mode{display:none}.phone .toolbar select{max-width:100%;flex:1}.phone .search{flex-basis:100%}.phone .statusbar{display:flex;gap:6px;overflow:auto;margin-bottom:10px;padding-bottom:5px}.statusbar button{white-space:nowrap;background:#e9eef4;color:#53647a;padding:8px;border-radius:7px;font-size:11px}.statusbar button.active{background:#294b78;color:white}.phone .board{display:block}.phone .lane{min-height:0}.phone .lane.mobile-hidden{display:none}.phone .board.list .tasks{display:block}.phone .task{margin-bottom:8px!important}.phone .boardhead{margin-top:8px}.phone .stat:last-child{grid-column:span 2}.phone .milestone b{font-size:14px}
@media(max-width:760px){.sidebar{display:none}.sidebar.open{display:flex;position:fixed;z-index:10;left:0;top:0;box-shadow:0 0 0 100vmax #14213355}#mobilemenu{display:inline-block}#preview,.crumb{display:none}.topbar{padding:0 12px;height:54px}.topactions{margin-left:auto}.workspace{padding:16px 12px}.heading{align-items:flex-start;flex-wrap:wrap;gap:10px}.heading h1{font-size:26px}.heading p{font-size:12px}.hero{flex-wrap:wrap;padding:16px;gap:14px}.hero-title{font-size:24px}.milestones{width:100%;gap:12px;order:3}.milestone b{font-size:14px}.stats{grid-template-columns:repeat(2,1fr);gap:7px;margin:12px 0 20px}.stat{padding:9px 12px}.stat b{font-size:22px}.stat:last-child{grid-column:span 2}.mode{display:none}.toolbar select{max-width:100%;flex:1}.search{flex-basis:100%}.statusbar{display:flex;gap:6px;overflow:auto;margin-bottom:10px;padding-bottom:5px}.board{display:block}.lane{min-height:0}.lane.mobile-hidden{display:none}.board.list .tasks{display:block}.task{margin-bottom:8px!important}.drawer-body{padding:16px 15px 80px}.drawer-head,.drawer-footer{padding:13px 15px}.task-title-input{font-size:18px}}
/* Keep the horizontal scrollbar and all column headers within reach. */
@media(min-width:761px){.shell:not(.phone) .board:not(.list){grid-auto-columns:minmax(185px,1fr);height:clamp(330px,calc(100vh - 575px),900px);align-items:stretch}.shell:not(.phone) .board:not(.list) .lane{display:flex;flex-direction:column;min-height:0}.shell:not(.phone) .board:not(.list) .tasks{overflow-y:auto;min-height:0;flex:1;scrollbar-width:thin}.shell:not(.phone) .board:not(.list) .lane-add{flex-shrink:0;margin-top:8px}.shell:not(.phone) .board:not(.list) .lane-head{flex-shrink:0}}

/* v0.2 */
#sidebarToggle{flex:none;font-size:19px;line-height:1;padding:9px 12px;color:#294b78}.crumb{flex:1}.shell.sidebar-collapsed:not(.phone) .sidebar{display:none}.topactions{gap:7px}#preview{background:#e8eff9;color:#294b78;font-weight:650;white-space:nowrap}#myColor{white-space:nowrap}.width-tools{display:flex;align-items:center;gap:10px;font-size:11px;color:#65748b;margin:0 0 10px;flex-wrap:wrap}.width-tools input{width:125px;padding:0;accent-color:#416d9e}.width-tools output{min-width:42px;font-variant-numeric:tabular-nums}.width-tools .subtle{padding:5px 8px}.lane{position:relative}.resize-handle{display:none}.task[data-assignee="sergey"],.task[data-assignee="katarina"],.task[data-assignee="nina"],.color-preview{background:color-mix(in srgb,var(--owner) 20%,white);border:1px solid color-mix(in srgb,var(--owner) 58%,white);border-left:6px solid var(--owner)}.task[data-assignee="all"]{background:#eef1f5;border-left:5px solid var(--owner)}.task[data-assignee="none"]{border-left:3px solid #c5cdd7}.task .tag{background:#ffffffa8;color:#47586e}.task .task-foot{border-top-color:#233a541b;color:#45546a}.task .ownerlabel{font-weight:650}.task .owner-dot{width:10px;height:10px}.task .id{color:#53647b}.card-markers{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 8px}.card-markers span{display:inline-grid;place-items:center;min-width:32px;height:32px;font-size:23px;background:#fff9;border:1px solid #233a541a;border-radius:7px;line-height:1}.marker-picker{display:grid;grid-template-columns:repeat(auto-fit,minmax(78px,1fr));gap:7px}.marker-choice{position:relative;cursor:pointer}.marker-choice input{position:absolute;width:1px;height:1px;opacity:0}.marker-choice span{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:76px;border:1px solid #dfe5ed;border-radius:9px;background:#f8f9fb;padding:8px 3px;text-align:center}.marker-choice b{font-size:25px;line-height:1.2}.marker-choice small{font-size:10px;color:#53647b;line-height:1.25}.marker-choice input:checked+span{border:2px solid #4679b8;background:#e6effc;padding:7px 2px}.marker-choice input:focus-visible+span{outline:2px solid #4679b8;outline-offset:2px}.color-preview{border-radius:10px;padding:17px;margin:17px 0;display:grid;gap:10px}.color-preview span{font-size:12px}.color-label{display:flex;align-items:center;gap:15px;margin:15px 0}.color-label input{width:65px;height:42px;padding:4px;cursor:pointer}.palette{display:flex;flex-wrap:wrap;gap:9px}.swatch{width:36px;height:36px;border-radius:9px;border:2px solid white;box-shadow:0 0 0 1px #cbd4e1}.swatch:hover{transform:scale(1.09)}.resizing,.resizing *{cursor:col-resize!important;user-select:none!important}
@media(min-width:761px){.shell:not(.phone) .board:not(.list){display:flex;gap:12px;align-items:stretch;height:clamp(330px,calc(100vh - 605px),900px)}.shell:not(.phone) .board:not(.list) .lane{flex:0 0 var(--lane-width,250px);width:var(--lane-width,250px)}.shell:not(.phone) .board:not(.list) .resize-handle{display:block;position:absolute;z-index:2;right:-7px;top:0;bottom:0;width:12px;cursor:col-resize;touch-action:none}.resize-handle:after{content:'';position:absolute;right:4px;top:12px;bottom:12px;width:3px;border-radius:3px;background:#aebbd0;opacity:.65}.resize-handle:hover:after,.resize-handle:focus:after,.resizing .resize-handle:after{background:#487ab5;opacity:1}.shell:has(.board.list) .width-tools{display:none}}
.shell.phone{width:min(390px,100%);max-width:390px;position:relative;display:block;margin:12px auto;min-height:calc(100vh - 24px)}.phone .sidebar.open{position:absolute;left:0;top:54px;width:min(280px,100%);height:calc(100vh - 54px);box-shadow:0 0 0 100vmax #14213355}.phone .topbar{position:sticky;top:0;z-index:5;gap:6px;padding:0 8px}.phone .topactions{width:100%;justify-content:space-between;gap:5px}.phone #preview span{display:inline}.phone #preview{font-size:11px;padding:7px}.phone #myColor span{display:none}.phone #myColor,.phone #mobilemenu{padding:7px}.phone #actor{max-width:110px;padding:7px 4px;font-size:11px}.phone #sidebarToggle,.phone .width-tools{display:none}.phone .task{padding:12px}.phone .toolbar select{min-width:0;max-width:100%;flex:1 1 43%}.phone .heading h1{font-size:25px}.phone .milestones{flex-wrap:wrap}.phone-preview .overlay{justify-content:center}.phone-preview .drawer{width:min(390px,100%);height:100%;box-shadow:0 0 0 7px #18283a}.phone-preview .drawer-body{padding:16px 13px 85px}.phone-preview .drawer-head,.phone-preview .drawer-footer{padding:12px 13px}.phone-preview .task-title-input{font-size:18px}.phone-preview .fields{gap:0 8px}.phone-preview .field input,.phone-preview .field select{padding:8px 5px}.phone-preview .marker-picker{grid-template-columns:repeat(4,minmax(0,1fr))}.phone-preview .toast{right:auto;left:50%;transform:translateX(-50%);width:max-content;max-width:360px}
@media(max-width:760px){#sidebarToggle,.width-tools{display:none}.topactions{gap:6px;width:100%;justify-content:space-between}.topbar{padding:0 9px}.topactions select{max-width:135px}.toolbar select{flex:1 1 43%;min-width:0}.marker-picker{grid-template-columns:repeat(4,minmax(0,1fr))}.field input,.field select{padding:8px 5px}.sidebar{overflow-y:auto}.shell.phone{margin:0 auto;box-shadow:none}.phone #preview{display:none}}
@media(max-width:760px){.shell.sidebar-collapsed:not(.phone) .sidebar.open{display:flex}}

/* v0.3 */
body{background:var(--app-bg);color:var(--ink);transition:background .25s ease,color .25s ease}
:root{--app-bg:#eef1f6;--panel:#ffffff;--panel-soft:#f6f7fa;--shadow-sm:0 3px 10px rgba(24,39,58,.06);--shadow-md:0 10px 30px rgba(24,39,58,.09);--shadow-lg:0 22px 48px rgba(13,26,42,.18)}
body.theme-dark{--app-bg:#0d1623;--panel:#142133;--panel-soft:#101b2b;--line:#23344a;--ink:#ebf1f8;--muted:#a4b2c5;--nav:#0d1623;--blue:#89aee9;background:#0d1623;color:#ebf1f8}
body.theme-dark .shell,body.theme-dark .workspace,body.theme-dark .topbar,body.theme-dark .drawer,body.theme-dark .stat,body.theme-dark .search,body.theme-dark input,body.theme-dark select,body.theme-dark textarea,body.theme-dark .lane,body.theme-dark .task,body.theme-dark .iconbutton,body.theme-dark .subtle,body.theme-dark .export-option{background:var(--panel);color:var(--ink);border-color:var(--line)}
body.theme-dark .workspace{background:var(--app-bg)}
body.theme-dark .shell{background:var(--app-bg)}
body.theme-dark .sidebar{background:#0f1a2a}
body.theme-dark .heading p,body.theme-dark small,body.theme-dark .muted,body.theme-dark .crumb,body.theme-dark .stat span,body.theme-dark .stat em,body.theme-dark .tag,body.theme-dark .source-note,body.theme-dark .comment small,body.theme-dark .field label{color:#a8b8cb}
body.theme-dark .task .tag{background:#19283b;color:#cbd7e5}
body.theme-dark .search input::placeholder,body.theme-dark textarea::placeholder{color:#95a3b6}
body.theme-dark .mode{background:#122034;border-color:var(--line)}
body.theme-dark .mode button.active{background:#1b2d45;color:#eef4fb}
body.theme-dark .close,body.theme-dark .remove,body.theme-dark .marker-choice span,body.theme-dark .color-preview,body.theme-dark .comment,body.theme-dark .source-note,body.theme-dark .mstat{background:#18263a;color:#eef4fb;border-color:#28405a}
body.theme-dark .lane-add{border-color:#35516f;color:#b5c6dd}
body.theme-dark .topbar{box-shadow:0 1px 0 rgba(255,255,255,.03)}
button,.task,.stat,.iconbutton,.subtle,.lane,.hero,.mstat,.mobile-bottom button,.marker-choice span,.swatch,.teamrow,.side-link,.sidebar nav button{transition:transform .18s ease, box-shadow .22s ease, background-color .22s ease, border-color .22s ease, color .22s ease, opacity .22s ease}
.stat,.task,.lane,.hero,.drawer,.topbar,.iconbutton,.subtle,.export-option{box-shadow:var(--shadow-sm)}
.iconbutton:hover,.subtle:hover,.stat:hover,.task:hover,.teamrow:hover,.side-link:hover,.sidebar nav button:hover,.mobile-bottom button:hover,.mstat:hover{transform:translateY(-1px);box-shadow:var(--shadow-md)}
.task{position:relative;overflow:hidden;padding-right:42px}
.card-marker-bg{position:absolute;right:10px;top:50%;transform:translateY(-50%);font-size:46px;line-height:1;opacity:.18;pointer-events:none;filter:saturate(.9)}
.phone .card-marker-bg{font-size:42px;right:9px}
.mobile-quick,.mobile-bottom{display:none}
.mstat{border:1px solid var(--line);border-radius:12px;padding:8px 10px;text-align:left;background:var(--panel);min-width:0}
.mstat span{display:block;font-size:11px;color:#738096;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mstat b{display:block;font-size:20px;line-height:1.1;color:#203650}
.mobile-bottom{position:sticky;bottom:0;z-index:6;padding:8px 10px calc(10px + env(safe-area-inset-bottom));background:linear-gradient(to top,rgba(246,247,250,.96),rgba(246,247,250,.84));backdrop-filter:blur(12px);gap:7px;border-top:1px solid rgba(206,216,227,.9)}
.theme-dark .mobile-bottom{background:linear-gradient(to top,rgba(13,22,35,.98),rgba(13,22,35,.9));border-top-color:#203146}
.mobile-bottom button{flex:1;min-width:0;border:1px solid var(--line);border-radius:12px;background:var(--panel);padding:7px 4px;color:#54657d;display:grid;gap:2px;justify-items:center}
.mobile-bottom button span{font-size:10px;line-height:1}.mobile-bottom button b{font-size:11px;line-height:1.1}.mobile-bottom button.active{background:#294b78;color:#fff;border-color:#294b78}
#themeToggle span,#scopeToggle span{white-space:nowrap}
.phone .hero,.phone .boardhead .mode,.phone .boardhead .muted,.phone .stats,.phone .width-tools,.phone .statusbar,.phone .heading p,.phone .heading .eyebrow{display:none!important}
.phone .workspace{padding:10px 10px 86px}
.phone .heading{margin-bottom:10px;display:flex;align-items:center;justify-content:space-between;gap:8px;position:sticky;top:56px;background:var(--app-bg);z-index:4;padding:8px 0 4px}
.phone .heading h1{font-size:28px;line-height:1.05;margin:0}.phone .heading .primary{padding:10px 12px;border-radius:12px;font-size:15px}
.phone .mobile-quick{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin:6px 0 14px}
.phone .mobile-bottom{display:flex}
.phone .topbar{height:56px;padding:0 8px;background:var(--panel);position:sticky;top:0;z-index:9}
.phone .topactions{display:grid;grid-template-columns:auto auto auto auto 1fr auto;align-items:center;gap:5px;width:100%}
.phone .crumb{display:none}.phone #preview,.phone #myColor,.phone #themeToggle,.phone #scopeToggle,.phone #mobilemenu,.phone #actor{padding:8px 9px;border-radius:12px;font-size:12px}
.phone #themeToggle span,.phone #scopeToggle span,.phone #preview span{display:none}
.phone #actor{max-width:115px;padding-inline:8px}.phone .boardhead{margin:0 0 8px}.phone .boardhead h2{font-size:22px}.phone .toolbar{gap:7px;margin-bottom:10px}.phone .search{min-width:0}.phone .search,.phone .toolbar select,.phone .subtle{border-radius:12px}.phone .board{display:block;min-height:0;padding-bottom:8px}.phone .lane{background:transparent;border:0;padding:0;box-shadow:none}.phone .lane-head{display:none}.phone .tasks{display:grid;gap:8px}.phone .lane-add{display:none}.phone .task{border-radius:16px;padding:12px 42px 12px 12px;box-shadow:0 8px 24px rgba(20,33,51,.09)}
.phone .task-top{margin-bottom:7px}.phone .task h3{font-size:13px;line-height:1.32;margin-bottom:7px;max-height:2.64em;overflow:hidden}.phone .task-meta{gap:5px}.phone .tag{padding:3px 6px;font-size:10px}.phone .task-foot{margin-top:8px;padding-top:7px}.phone .mstat,.phone .mstat b{color:inherit}.phone .mstat{padding:7px 8px;border-radius:13px;box-shadow:0 6px 18px rgba(20,33,51,.06)}
.phone .mstat span{font-size:10px}.phone .mstat b{font-size:18px}.phone .mstat.overdue{border-color:#efc8c8}.phone .mstat.done{grid-column:auto}.phone-preview .drawer,.phone .drawer{width:min(390px,100%);background:var(--panel)}
.phone-preview .drawer-head,.phone .drawer-head{padding:12px 14px}.phone-preview .drawer-head small,.phone .drawer-head small{font-size:11px}.phone-preview .drawer h2,.phone .drawer h2{font-size:18px}.phone-preview .drawer-body,.phone .drawer-body{padding:14px 14px 94px}.phone-preview .fields,.phone .fields{grid-template-columns:1fr 1fr;gap:0 8px}.phone-preview .field,.phone .field{margin-bottom:10px}.phone-preview .field label,.phone .field label{font-size:10px}.phone-preview .field input,.phone-preview .field select,.phone-preview .field textarea,.phone .field input,.phone .field select,.phone .field textarea{padding:9px 10px;border-radius:12px}.phone-preview .task-title-input,.phone .task-title-input{font-size:17px;padding:10px 11px!important}
.phone-preview .marker-picker,.phone .marker-picker{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.phone-preview .marker-choice span,.phone .marker-choice span{min-height:58px;padding:6px 2px;border-radius:12px;gap:4px}.phone-preview .marker-choice b,.phone .marker-choice b{font-size:21px}.phone-preview .marker-choice small,.phone .marker-choice small{font-size:9px;line-height:1.1}.phone-preview .section-title,.phone .section-title{font-size:13px;margin:12px 0 8px;padding-top:12px}
.phone-preview .drawer-footer,.phone .drawer-footer{padding:11px 14px;gap:6px}.phone-preview .drawer-footer .primary,.phone .drawer-footer .primary,.phone-preview .drawer-footer .subtle,.phone .drawer-footer .subtle{padding:10px 12px;border-radius:12px}
@media(max-width:760px){.hero,.stats,.boardhead .mode,.boardhead .muted,.width-tools,.statusbar,.heading p,.heading .eyebrow{display:none!important}.workspace{padding:10px 10px 86px}.heading{margin-bottom:10px;display:flex;align-items:center;justify-content:space-between;gap:8px;position:sticky;top:56px;background:var(--app-bg);z-index:4;padding:8px 0 4px}.heading h1{font-size:28px;line-height:1.05;margin:0}.heading .primary{padding:10px 12px;border-radius:12px;font-size:15px}.mobile-quick{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin:6px 0 14px}.mobile-bottom{display:flex}.topbar{height:56px;padding:0 8px;background:var(--panel);position:sticky;top:0;z-index:9}.topactions{display:grid;grid-template-columns:auto auto auto auto 1fr auto;align-items:center;gap:5px;width:100%}.crumb{display:none}#preview,#myColor,#themeToggle,#scopeToggle,#mobilemenu,#actor{padding:8px 9px;border-radius:12px;font-size:12px}#themeToggle span,#scopeToggle span,#preview span{display:none}#actor{max-width:115px;padding-inline:8px}.boardhead{margin:0 0 8px}.boardhead h2{font-size:22px}.toolbar{gap:7px;margin-bottom:10px}.search{min-width:0}.search,.toolbar select,.subtle{border-radius:12px}.board{display:block;min-height:0;padding-bottom:8px}.lane{background:transparent;border:0;padding:0;box-shadow:none}.lane-head{display:none}.tasks{display:grid;gap:8px}.lane-add{display:none}.task{border-radius:16px;padding:12px 42px 12px 12px;box-shadow:0 8px 24px rgba(20,33,51,.09)}.task-top{margin-bottom:7px}.task h3{font-size:13px;line-height:1.32;margin-bottom:7px;max-height:2.64em;overflow:hidden}.task-meta{gap:5px}.tag{padding:3px 6px;font-size:10px}.task-foot{margin-top:8px;padding-top:7px}.mstat,.mstat b{color:inherit}.mstat{padding:7px 8px;border-radius:13px;box-shadow:0 6px 18px rgba(20,33,51,.06)}.mstat span{font-size:10px}.mstat b{font-size:18px}.mstat.overdue{border-color:#efc8c8}.mstat.done{grid-column:auto}.drawer{width:min(390px,100%);background:var(--panel)}.drawer-head{padding:12px 14px}.drawer-head small{font-size:11px}.drawer h2{font-size:18px}.drawer-body{padding:14px 14px 94px}.fields{grid-template-columns:1fr 1fr;gap:0 8px}.field{margin-bottom:10px}.field label{font-size:10px}.field input,.field select,.field textarea{padding:9px 10px;border-radius:12px}.task-title-input{font-size:17px;padding:10px 11px!important}.marker-picker{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.marker-choice span{min-height:58px;padding:6px 2px;border-radius:12px;gap:4px}.marker-choice b{font-size:21px}.marker-choice small{font-size:9px;line-height:1.1}.section-title{font-size:13px;margin:12px 0 8px;padding-top:12px}.drawer-footer{padding:11px 14px;gap:6px}.drawer-footer .primary,.drawer-footer .subtle{padding:10px 12px;border-radius:12px}}

/* v0.4 — two fixed mobile bars, shared sliding controls */
.mobile-header,.mobile-tools{display:none}
.pill-switch{position:relative;display:inline-flex;align-items:center;justify-content:space-between;width:68px;height:36px;flex:0 0 68px;padding:3px!important;border:2px solid #ffffffdf;border-radius:999px!important;background:#e6edf0;color:#526c7c;box-shadow:inset 0 2px 6px #203b4b12,0 3px 12px #203b4b18;isolation:isolate;overflow:hidden;vertical-align:middle;transition:background .25s ease,box-shadow .25s ease}
.pill-switch .switch-slot,.pill-switch .switch-thumb,.pill-switch .thumb-left,.pill-switch .thumb-right{display:grid!important;place-items:center;position:relative;width:28px;height:28px;flex:none;line-height:1}
.pill-switch svg{width:17px;height:17px;display:block}
.pill-switch .switch-slot{opacity:.63;z-index:0}
.pill-switch .switch-thumb{position:absolute;left:2px;top:2px;border-radius:50%;background:#ffcf61;color:#785b18;box-shadow:0 2px 7px #3a415439;z-index:1;transition:transform .26s cubic-bezier(.22,.75,.22,1),background .25s ease,color .25s ease}
.pill-switch.is-on .switch-thumb{transform:translateX(32px)}
.pill-switch .thumb-left,.pill-switch .thumb-right{position:absolute;inset:0;transition:opacity .2s ease}
.pill-switch .thumb-right,.pill-switch.is-on .thumb-left{opacity:0}.pill-switch.is-on .thumb-right{opacity:1}
.scope-switch .switch-thumb{background:#d3e2ef;color:#294b78}.scope-switch.is-on .switch-thumb{background:#96b9e8;color:#19395f}
.theme-switch.is-on .switch-thumb{background:#a9bbee;color:#26375e}
.theme-dark .pill-switch{background:#20334a;border-color:#3b4e66;color:#bdcce1;box-shadow:inset 0 2px 6px #0004,0 3px 12px #0003}
.theme-dark .scope-switch .switch-thumb{background:#90abd3;color:#132840}.theme-dark .scope-switch.is-on .switch-thumb{background:#bbd5fb;color:#142d50}
.mobile-layout{--mobile-header-h:56px;--mobile-bottom-h:64px;--mobile-frame-width:100%;--mobile-safe-top:env(safe-area-inset-top,0px);--mobile-safe-bottom:env(safe-area-inset-bottom,0px)}
.mobile-layout.phone-preview{--mobile-frame-width:min(390px,100%);--mobile-safe-top:0px;--mobile-safe-bottom:0px}
.mobile-layout .mobile-header{position:fixed;top:0;left:50%;transform:translateX(-50%);width:var(--mobile-frame-width);z-index:12;display:flex;align-items:center;justify-content:space-between;gap:6px;padding:calc(7px + var(--mobile-safe-top)) 10px 7px;min-height:calc(var(--mobile-header-h) + var(--mobile-safe-top));background:var(--panel);border-bottom:1px solid var(--line);box-shadow:0 5px 18px #17263b12}
.mobile-layout #mobileHome{font-size:23px;letter-spacing:-1px;font-weight:800;line-height:1;background:transparent;color:var(--ink);padding:4px 0;white-space:nowrap;flex:none}
.mobile-layout #mobileHome span{color:#5a80b8}
.mobile-layout #mobileSwitches{display:flex;align-items:center;justify-content:center;gap:6px;flex:none}
.mobile-layout #mobileAdd{font-size:12px;padding:10px 9px;border-radius:11px;white-space:nowrap;flex:none}
.mobile-layout .topbar,.mobile-layout .heading{display:none!important}
.mobile-layout .shell{min-height:100dvh;margin-top:0;margin-bottom:0}
.mobile-layout .workspace{padding-top:calc(var(--mobile-header-h) + var(--mobile-safe-top) + 10px)!important;padding-bottom:calc(var(--mobile-bottom-h) + var(--mobile-safe-bottom) + 22px)!important}
.mobile-layout .mobile-quick{margin:0 0 9px;gap:5px}
.mobile-layout .mstat{padding:7px 5px;text-align:center;min-height:44px}.mobile-layout .mstat span{font-size:10px;overflow:visible;text-overflow:clip;white-space:nowrap}.mobile-layout .mstat b{font-size:19px}
.mobile-layout .mobile-tools{display:block;margin:0 0 10px;color:var(--muted);font-size:11px}.mobile-layout .mobile-tools summary{cursor:pointer;padding:5px 3px}.mobile-layout #mobileToolsBody{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:6px}.mobile-layout #mobileToolsBody #myColor span,.mobile-layout #mobileToolsBody #preview span{display:inline}.mobile-layout #mobileToolsBody #actor{max-width:125px}.mobile-layout #mobileToolsBody #preview{display:none}.mobile-layout.phone-preview #mobileToolsBody #preview{display:inline-flex}.mobile-layout #mobileToolsBody #myColor,.mobile-layout #mobileToolsBody #preview,.mobile-layout #mobileToolsBody #actor{padding:7px 9px;font-size:11px;border-radius:9px}
.mobile-layout .mobile-bottom{display:flex;position:fixed!important;bottom:0;left:50%;transform:translateX(-50%);width:var(--mobile-frame-width);z-index:11;margin:0;min-height:var(--mobile-bottom-h);padding:7px 8px calc(7px + var(--mobile-safe-bottom));gap:4px;background:var(--panel);border-top:1px solid var(--line);box-shadow:0 -5px 24px #17263b14;align-items:stretch}
.mobile-layout .mobile-bottom button{padding:5px 2px;border-radius:10px;align-content:center;gap:3px;box-shadow:none}.mobile-layout .mobile-bottom button span{font-size:10px;white-space:nowrap}.mobile-layout .mobile-bottom button b{font-size:13px}.mobile-layout .mobile-bottom button.active{background:#294b78;color:#fff;border-color:#294b78}
.theme-dark .mobile-bottom button:not(.active){color:#aebfd3}.theme-dark .mstat span{color:#b4c3d6}
.mobile-layout .sidebar.open{display:flex;position:fixed;z-index:15;top:calc(var(--mobile-header-h) + var(--mobile-safe-top));left:0;height:calc(100dvh - var(--mobile-header-h) - var(--mobile-safe-top));overflow:auto}.phone-preview .sidebar.open{left:calc(50% - min(195px,50%));max-width:var(--mobile-frame-width)}
.mobile-layout .toast{bottom:calc(var(--mobile-bottom-h) + var(--mobile-safe-bottom) + 10px)}
.mobile-layout .board{overflow:visible}.mobile-layout .task{padding-right:12px}.mobile-layout .task>*:not(.card-marker-bg){position:relative;z-index:1}.mobile-layout .task h3{max-height:none;overflow:visible}
/* Compact one-line marker picker; modal remains scrollable. */
.mobile-layout .marker-picker.marker-single{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:3px}.mobile-layout .marker-choice span{min-height:36px;padding:3px 0;gap:0}.mobile-layout .marker-choice b{font-size:19px}.mobile-layout .marker-choice small{display:none}.mobile-layout .marker-choice input:checked+span{padding:2px 0}
.mobile-layout .overlay{align-items:center;justify-content:center;padding:12px}.mobile-layout .drawer{width:min(366px,100%);height:auto;max-height:calc(100dvh - 24px);border-radius:18px;box-shadow:0 22px 65px #0c172e55;animation:arenaPopup .23s ease-out}.mobile-layout .drawer-body{padding-bottom:22px}.theme-dark .drawer-head,.theme-dark .drawer-footer{background:var(--panel);border-color:var(--line)}
.theme-dark .task[data-assignee="sergey"],.theme-dark .task[data-assignee="katarina"],.theme-dark .task[data-assignee="nina"],.theme-dark .color-preview{background:color-mix(in srgb,var(--owner) 24%,#142133);border-left-color:var(--owner)}.theme-dark .task .id,.theme-dark .task .task-foot{color:#c3d1e2}.theme-dark .lane-head,.theme-dark .stat b{color:#d8e6f5}.theme-dark .stat .late{color:#f18a86}.theme-dark .marker-choice input:checked+span{border-color:#95b9eb;background:#294b78}
@keyframes arenaPopup{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:350px){.mobile-layout .mobile-header{gap:4px;padding-inline:7px}.mobile-layout #mobileHome{font-size:20px}.mobile-layout #mobileAdd{font-size:11px;padding-inline:6px}.mobile-layout #mobileSwitches{gap:4px}.mobile-layout .pill-switch{width:56px;flex-basis:56px;height:32px}.mobile-layout .pill-switch .switch-slot,.mobile-layout .pill-switch .switch-thumb,.mobile-layout .pill-switch .thumb-left,.mobile-layout .pill-switch .thumb-right{width:24px;height:24px}.mobile-layout .pill-switch.is-on .switch-thumb{transform:translateX(24px)}.mobile-layout .pill-switch svg{width:15px;height:15px}.mobile-layout .mobile-bottom button span{font-size:9px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

.auth-page{min-height:100dvh;display:grid;place-items:center;padding:18px;background:radial-gradient(ellipse at 20% 5%,#dce7f5,#eef1f6 65%)}.auth-card{width:min(410px,100%);background:#fff;padding:28px;border:1px solid #dfe5ed;border-radius:22px;box-shadow:0 20px 60px #253b5b20;color:#17263a}.auth-card .logo{margin-bottom:20px}.auth-card h1{font-size:28px;letter-spacing:-1px;margin:8px 0}.auth-card form{display:grid;gap:14px;margin-top:24px}.auth-card form label{display:grid;gap:6px;font-weight:600}.auth-card form input:not([type=checkbox]){width:100%;font-size:16px}.auth-card .remember{display:flex;align-items:center;font-size:12px;font-weight:400}.auth-card .primary{padding:13px}.auth-card ul,.auth-card .helptext{font-size:12px;color:#65748b}.side-link{text-decoration:none}.topactions select:disabled{opacity:1}