@font-face {
    font-family: Inter;
    src: url("fonts/inter-latin.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}
:root {
    color-scheme: light;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 100%;
    --rail: 232px;
    --canvas: #f6f8f5;
    --sidebar: #edf1ec;
    --paper: #ffffff;
    --subtle: #f0f3ef;
    --hover: #e8eee7;
    --lane: #eef2ed;
    --ink: #1a2921;
    --body: #34453a;
    --muted: #516457;
    --quiet: #647468;
    --line: #d9e1d8;
    --line-strong: #b8c8b9;
    --accent: #236447;
    --on-accent: #ffffff;
    --accent-hover: #194e36;
    --active: #d9e9dc;
    --active-text: #254f36;
    --brand: #28744c;
    --focus: #287a93;
    --shadow: #243c2b0c;
    --overlay: #0c191f50;
    --total: #244232;
    --total-ink: #f2f8ec;
    --total-meta: #c2dbc2;
    --todo-bg: #e8ecf7;
    --todo-ink: #545a85;
    --doing-bg: #fcf0cd;
    --doing-ink: #825a0c;
    --done-bg: #e1f2e8;
    --done-ink: #286648;
    --high-bg: #fae8de;
    --high-ink: #924325;
    --danger: #9a402d;
    --danger-bg: #fff1e9;
    --av0bg: #dfe8fb;
    --av0fg: #415b83;
    --av1bg: #dcebd7;
    --av1fg: #3c6140;
    --av2bg: #eae1f4;
    --av2fg: #654b78;
    --av3bg: #f5e4cc;
    --av3fg: #795329;
    --av4bg: #f1dfe4;
    --av4fg: #83495b;
    --av5bg: #dbecee;
    --av5fg: #39626b;
}
:root[data-theme="dark"] {
    color-scheme: dark;
    --canvas: #111614;
    --sidebar: #131a16;
    --paper: #1b221e;
    --subtle: #202923;
    --hover: #29362e;
    --lane: #161d19;
    --ink: #eff4ee;
    --body: #d3dfd4;
    --muted: #a4b5a7;
    --quiet: #92a196;
    --line: #303c33;
    --line-strong: #4e6052;
    --accent: #b9e9a2;
    --on-accent: #142217;
    --accent-hover: #a4da8d;
    --active: #2a3c30;
    --active-text: #c4e8bc;
    --brand: #a9e49c;
    --focus: #91d7df;
    --shadow: #00000027;
    --overlay: #05090796;
    --total: #2b4433;
    --total-ink: #f1f7ea;
    --total-meta: #c5dfc3;
    --todo-bg: #2c3247;
    --todo-ink: #c3c8ee;
    --doing-bg: #3e3522;
    --doing-ink: #f1d58f;
    --done-bg: #223f32;
    --done-ink: #a5d9b9;
    --high-bg: #432f25;
    --high-ink: #f2bc9d;
    --danger: #f1a890;
    --danger-bg: #382922;
    --av0bg: #2d3a50;
    --av0fg: #c6d9ff;
    --av1bg: #314330;
    --av1fg: #c3e2be;
    --av2bg: #403548;
    --av2fg: #e2c9ee;
    --av3bg: #473c2b;
    --av3fg: #ecd4a9;
    --av4bg: #49323b;
    --av4fg: #efc1d1;
    --av5bg: #2d4144;
    --av5fg: #b8dde4;
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme]) {
        color-scheme: dark;
        --canvas: #111614;
        --sidebar: #131a16;
        --paper: #1b221e;
        --subtle: #202923;
        --hover: #29362e;
        --lane: #161d19;
        --ink: #eff4ee;
        --body: #d3dfd4;
        --muted: #a4b5a7;
        --quiet: #92a196;
        --line: #303c33;
        --line-strong: #4e6052;
        --accent: #b9e9a2;
        --on-accent: #142217;
        --accent-hover: #a4da8d;
        --active: #2a3c30;
        --active-text: #c4e8bc;
        --brand: #a9e49c;
        --focus: #91d7df;
        --shadow: #00000027;
        --overlay: #05090796;
        --total: #2b4433;
        --total-ink: #f1f7ea;
        --total-meta: #c5dfc3;
        --todo-bg: #2c3247;
        --todo-ink: #c3c8ee;
        --doing-bg: #3e3522;
        --doing-ink: #f1d58f;
        --done-bg: #223f32;
        --done-ink: #a5d9b9;
        --high-bg: #432f25;
        --high-ink: #f2bc9d;
        --danger: #f1a890;
        --danger-bg: #382922;
        --av0bg: #2d3a50;
        --av0fg: #c6d9ff;
        --av1bg: #314330;
        --av1fg: #c3e2be;
        --av2bg: #403548;
        --av2fg: #e2c9ee;
        --av3bg: #473c2b;
        --av3fg: #ecd4a9;
        --av4bg: #49323b;
        --av4fg: #efc1d1;
        --av5bg: #2d4144;
        --av5fg: #b8dde4;
    }
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: var(--canvas); color: var(--ink); line-height: 1.5; -webkit-font-smoothing: antialiased; }
button,input,select,textarea { font: inherit; }
button,summary,select,input[type=radio],input[type=checkbox] { cursor: pointer; }
a,button { -webkit-tap-highlight-color: transparent; }
a { color: var(--accent); text-decoration: none; }
button { border: 0; }
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
h1,h2,h3,h4,p { margin: 0; }
h1 { font-weight: 620; font-size: clamp(2rem,3vw,2.75rem); letter-spacing: -.06em; line-height: 1.13; overflow-wrap: anywhere; }
h2 { font-weight: 630; font-size: 1.24rem; letter-spacing: -.035em; line-height: 1.35; }
h3,h4 { line-height: 1.4; font-weight: 610; }
svg { display: inline-block; flex-shrink: 0; vertical-align: middle; }
[hidden] { display: none !important; }
.sr,.skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 80; background: var(--paper); color: var(--ink); border-radius: 7px; padding: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 730; font-size: 1.62rem; line-height: 1; letter-spacing: -.072em; color: var(--ink); white-space: nowrap; }
.brand-mark { width: 33px; height: 33px; color: var(--brand); }
.brand-dot { color: var(--brand); }.brand-work { font-weight: 450; }
.sidebar { width: var(--rail); position: fixed; inset: 0 auto 0 0; z-index: 8; display: flex; flex-direction: column; background: var(--sidebar); padding: 26px 15px 15px; border-right: 1px solid var(--line); overflow-y: auto; }
.side-brand { display: block; padding: 2px 12px 30px; }
.nav-label { padding: 0 12px; margin: 21px 0 8px; color: var(--muted); font-size: .79rem; font-weight: 580; }
.nav-label.after { margin-top: 30px; }
.nav-links { display: grid; gap: 3px; }
.nav-links a,.nav-links button { display: flex; align-items: center; gap: 11px; color: var(--body); background: transparent; border-radius: 7px; padding: 10px 12px; font-size: .91rem; font-weight: 490; text-align: start; line-height: 1.45; }
.nav-links button { width: 100%; }.nav-links a svg,.nav-links button svg { color: var(--muted); }
.nav-links a:hover,.nav-links button:hover { background: var(--hover); }
.nav-links a[aria-current=page] { background: var(--active); color: var(--active-text); font-weight: 630; }
.nav-links a[aria-current=page] svg { color: var(--active-text); }
.side-foot { margin-top: auto; padding: 15px 2px 1px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 6px; }
.profile-link,.inline-user,.account-person,.member-main { display: flex; align-items: center; gap: 9px; min-width: 0; }
.profile-link { color: var(--ink); flex: 1; }.clip { min-width: 0; }
.profile-link b,.profile-link small { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.profile-link b { font-size: .86rem; font-weight: 600; }.profile-link small { font-size: .76rem; color: var(--muted); }
.avatar { width: 36px; height: 36px; display: inline-grid; place-items: center; flex-shrink: 0; border-radius: 11px; font-size: .78rem; font-weight: 620; letter-spacing: -.02em; }
.avatar.small { width: 26px; height: 26px; border-radius: 8px; font-size: .69rem; }
.av-0 { background: var(--av0bg); color: var(--av0fg); }.av-1 { background: var(--av1bg); color: var(--av1fg); }.av-2 { background: var(--av2bg); color: var(--av2fg); }
.av-3 { background: var(--av3bg); color: var(--av3fg); }.av-4 { background: var(--av4bg); color: var(--av4fg); }.av-5 { background: var(--av5bg); color: var(--av5fg); }
.work-main { min-width: 0; margin-left: var(--rail); min-height: 100vh; }
.topbar { min-height: 64px; padding: 0 clamp(20px,3.1vw,54px); display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); }
.crumb,.today,.top-tools,.theme-menu summary,.mobile-menu summary { display: inline-flex; align-items: center; }
.crumb,.today { color: var(--muted); gap: 9px; font-size: .85rem; }
.crumb svg { margin-right: 2px; }.crumb-divider { color: var(--quiet); }.crumb strong { font-weight: 550; color: var(--body); }
.top-tools { gap: 12px; }.today { gap: 7px; padding-right: 12px; border-right: 1px solid var(--line); }
.mobile-brand,.mobile-menu,.theme-menu { display: none; }.themed .theme-menu { display: block; }
.popup { position: relative; }.popup summary { list-style: none; }.popup summary::-webkit-details-marker { display: none; }
.theme-menu summary,.mobile-menu summary,.icon-btn { min-height: 34px; justify-content: center; color: var(--muted); background: transparent; border-radius: 7px; }
.theme-menu summary { gap: 6px; padding: 4px 7px; font-size: .85rem; font-weight: 550; }
.popup summary:hover,.popup[open]>summary,.icon-btn:hover { color: var(--ink); background: var(--hover); }
.icon-btn { display: inline-grid; place-items: center; width: 34px; height: 34px; padding: 0; }
.theme-symbol { display: none; }
[data-preference=system] .symbol-system,[data-preference=light] .symbol-light,[data-preference=dark] .symbol-dark { display: inline-flex; }
.popup-body { position: absolute; right: 0; top: calc(100% + 7px); padding: 6px; min-width: 155px; z-index: 15; border-radius: 10px; border: 1px solid var(--line); box-shadow: 0 9px 25px var(--shadow), 0 2px 6px var(--shadow); background: var(--paper); }
.theme-options button { width: 100%; display: flex; align-items: center; gap: 9px; padding: 9px 10px; border-radius: 6px; background: transparent; color: var(--body); font-size: .875rem; text-align: left; }
.theme-options button:hover { background: var(--subtle); }.theme-options button[aria-pressed=true] { color: var(--active-text); background: var(--active); }
.theme-tick { display: none; margin-left: auto; }.theme-options [aria-pressed=true] .theme-tick { display: inline-flex; }
.page-content { max-width: 1560px; margin: 0 auto; padding: clamp(25px,3.2vw,49px) clamp(20px,3.1vw,54px) 54px; }
.page-head,.flow-head,.heading-count,.view-switch,.surface-title,.detail-badges,.actions,.tags,.card-top,.card-foot,.lane-head { display: flex; align-items: center; }
.page-head { justify-content: space-between; gap: 18px; margin-bottom: 25px; }.page-head>.btn { flex-shrink: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 9px 15px; min-height: 41px; font-size: .9rem; font-weight: 580; line-height: 1.4; text-align: center; border: 1px solid transparent; border-radius: 8px; }
.btn.primary { background: var(--accent); color: var(--on-accent); }.btn.primary:hover { background: var(--accent-hover); }
.btn.secondary { background: var(--paper); color: var(--body); border-color: var(--line-strong); }.btn.secondary:hover { background: var(--subtle); border-color: var(--muted); }
.btn.danger,.btn.danger-soft { background: var(--danger-bg); color: var(--danger); border-color: var(--danger); }.wide { width: 100%; }
.text-link,.clear-filter,.pager a,.delete-link { font-weight: 550; font-size: .875rem; }
.text-link:hover,.clear-filter:hover,.pager a:hover,.delete-link:hover { text-decoration: underline; }
.summary-strip { display: grid; grid-template-columns: 1.18fr repeat(3,minmax(0,1fr)); gap: 1px; border: 1px solid var(--line); border-radius: 15px; background: var(--line); overflow: hidden; margin-bottom: 33px; }
.summary-item { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 9px; min-height: 100px; background: var(--paper); color: var(--ink); padding: 15px clamp(12px,1.65vw,24px) 13px; }
.summary-item:hover { background: var(--subtle); }.summary-item:focus-visible { outline-offset: -4px; }
.summary-item[aria-current=true]::after { content: ""; position: absolute; inset: auto 15px 0; height: 3px; background: var(--accent); border-radius: 3px 3px 0 0; }
.sum-all[aria-current=true]::after { display: none; }
.summary-label { display: flex; align-items: center; gap: 7px; font-size: .875rem; font-weight: 515; color: var(--muted); }
.summary-item strong { color: var(--ink); font-size: clamp(1.75rem,2.3vw,2.2rem); font-weight: 580; letter-spacing: -.065em; line-height: 1; font-variant-numeric: tabular-nums; }
.sum-all,.sum-all:hover { background: var(--total); }.sum-all strong { color: var(--total-ink); }.sum-all .summary-label { color: var(--total-meta); }
.sum-todo .summary-label svg { color: var(--todo-ink); }.sum-doing .summary-label svg { color: var(--doing-ink); }.sum-done .summary-label svg { color: var(--done-ink); }
.completion { position: absolute; right: 15px; bottom: 14px; display: inline-flex; align-items: center; gap: 3px; color: var(--total-meta); font-size: .74rem; font-variant-numeric: tabular-nums; }
.completion svg { fill: none; stroke-width: 3.6; transform: rotate(-90deg); }.ring-track { stroke: #ffffff40; }.ring-value { stroke: #b9eda9; }
.flow-head { justify-content: space-between; gap: 12px; margin-bottom: 13px; }.heading-count { gap: 8px; }
.heading-count>span,.lane-count { background: var(--subtle); color: var(--muted); font-size: .76rem; font-weight: 580; min-width: 23px; border-radius: 6px; padding: 1px 6px; text-align: center; font-variant-numeric: tabular-nums; }
.view-switch { gap: 3px; background: var(--subtle); border-radius: 8px; border: 1px solid var(--line); padding: 3px; }
.view-switch a { display: inline-flex; align-items: center; gap: 6px; border: 1px solid transparent; border-radius: 5px; font-size: .85rem; font-weight: 530; color: var(--muted); padding: 4px 9px; }
.view-switch [aria-current=page] { background: var(--paper); color: var(--ink); border-color: var(--line); box-shadow: 0 1px 2px var(--shadow); }
label { display: block; color: var(--body); font-size: .91rem; font-weight: 550; }
:where(input:not([type=checkbox]):not([type=radio]):not([type=hidden])),select,textarea { display: block; width: 100%; min-width: 0; min-height: 43px; color: var(--ink); background-color: var(--paper); border: 1px solid var(--line-strong); border-radius: 8px; padding: 9px 11px; font-size: .94rem; font-weight: 445; line-height: 1.45; }
input::placeholder,textarea::placeholder { color: var(--quiet); opacity: 1; }
select { appearance: none; padding-right: 30px; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m4.25 6 3.75 3.75L11.75 6' fill='none' stroke='%237c8e80' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-size: 15px; background-position: right 9px center; background-repeat: no-repeat; text-overflow: ellipsis; }
select option { background: var(--paper); color: var(--ink); }
textarea { min-height: 114px; resize: vertical; }
.toolbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 17px; }
.search-control,.filter-select { position: relative; }
.search-control { flex: 1 1 220px; min-width: 170px; }
.search-control>svg,.filter-select>svg { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search-control input { padding-left: 35px; padding-right: 30px; }.search-control kbd { display: none; position: absolute; right: 10px; top: 50%; transform: translateY(-50%); border: 1px solid var(--line); border-radius: 4px; color: var(--quiet); background: var(--subtle); padding: 0 5px; font: 500 .73rem/17px Inter,sans-serif; }
.live-board .search-control:has(input:placeholder-shown):not(:focus-within) kbd { display: block; }
.toolbar-selects { display: flex; gap: 8px; min-width: 0; }.filter-select { min-width: 135px; max-width: 220px; }
.filter-select select { width: 100%; padding-left: 32px; padding-right: 27px; }
.toolbar input,.toolbar select,.toolbar .btn { min-height: 39px; padding-top: 7px; padding-bottom: 7px; font-size: .875rem; border-color: var(--line); }
.live-board .manual-apply { display: none; }.live-board.manual-filters .manual-apply { display: inline-flex; }.clear-filter { padding: 5px; }
.kanban { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; align-items: start; }
.kanban.single-column { grid-template-columns: minmax(0,1fr); }.single-column .lane { max-width: 720px; }
.lane { min-width: 0; min-height: 242px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--lane); }
.lane-head { gap: 7px; margin: 0 2px 12px; }.lane-head h3 { font-size: .94rem; letter-spacing: -.02em; }
.lane-count { margin-left: auto; background: var(--paper); border: 1px solid var(--line); min-width: 23px; }
.lane-mark { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 7px; }.lane-todo .lane-mark,.status-todo { color: var(--todo-ink); background: var(--todo-bg); }.lane-doing .lane-mark,.status-doing { color: var(--doing-ink); background: var(--doing-bg); }.lane-done .lane-mark,.status-done { color: var(--done-ink); background: var(--done-bg); }
.lane-stack { display: grid; gap: 9px; }
.task-card { position: relative; isolation: isolate; min-width: 0; overflow-wrap: anywhere; padding: 14px 14px 11px; background: var(--paper); border: 1px solid var(--line); border-radius: 9px; box-shadow: 0 2px 4px var(--shadow); }
.task-card:hover,.task-card:focus-within { border-color: var(--line-strong); box-shadow: 0 3px 10px var(--shadow); }
.card-top,.card-foot { justify-content: space-between; gap: 8px; }.card-top { color: var(--muted); margin-bottom: 9px; }
.card-company,.visibility-mark,.task-date,.priority,.status,.row-sub { display: inline-flex; align-items: center; gap: 5px; }
.card-company { min-width: 0; font-size: .79rem; font-weight: 520; }.card-company span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.visibility-mark { color: var(--quiet); }.task-card h4 { font-size: 1.02rem; letter-spacing: -.025em; }
.task-card h4 a,.row-title { color: var(--ink); }.task-card h4 a::after { content: ""; position: absolute; inset: 0; border-radius: 9px; }.task-card h4 a:focus-visible { outline: 0; }.task-card:has(h4 a:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.tags { flex-wrap: wrap; gap: 8px; margin-top: 12px; }.priority,.status { padding: 2px 7px; border-radius: 5px; font-size: .83rem; font-weight: 530; line-height: 1.5; white-space: nowrap; }
.pri-normal,.pri-low { background: var(--subtle); color: var(--muted); }.pri-high { background: var(--high-bg); color: var(--high-ink); }
.task-date { font-size: .82rem; color: var(--muted); }.task-date.overdue { color: var(--danger); }
.card-foot { border-top: 1px solid var(--line); padding-top: 9px; margin-top: 12px; }
.inline-user { gap: 7px; color: var(--body); font-size: .83rem; }
.drag-grip { display: none; position: relative; z-index: 1; align-items: center; justify-content: center; width: 28px; height: 25px; margin: -2px -5px -2px 0; border-radius: 5px; color: var(--quiet); cursor: grab; user-select: none; }
.task-card[draggable=true] .drag-grip { display: inline-flex; }.drag-grip:hover { background: var(--subtle); color: var(--body); }.drag-grip:active { cursor: grabbing; }.drag-grip svg { pointer-events: none; }
.dragging { opacity: .48; }.lane.drop-target { border-color: var(--accent); outline: 1px solid var(--accent); background: var(--active); }
.lane-empty,.empty-board { display: flex; align-items: center; justify-content: center; color: var(--muted); border: 1px dashed var(--line-strong); border-radius: 9px; }
.lane-empty { gap: 6px; min-height: 98px; padding: 12px; text-align: center; font-size: .85rem; }
.empty-board { min-height: 255px; padding: 24px; flex-direction: column; gap: 11px; background: var(--paper); }
.empty-symbol { width: 43px; height: 43px; display: grid; place-items: center; background: var(--active); color: var(--active-text); border-radius: 12px; }
.empty-board h3 { font-size: 1.08rem; color: var(--body); }
.table-wrap { overflow-x: auto; background: var(--paper); border: 1px solid var(--line); border-radius: 11px; }
.tasks-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th,td { text-align: left; vertical-align: middle; padding: 12px 14px; }
th { background: var(--lane); font-size: .82rem; font-weight: 550; color: var(--muted); white-space: nowrap; }td { border-top: 1px solid var(--line); }
td:first-child { min-width: 175px; max-width: 400px; overflow-wrap: anywhere; }td:last-child { white-space: nowrap; }.row-title { font-weight: 580; }.row-title:hover { text-decoration: underline; }
.row-sub { display: flex; color: var(--muted); font-size: .77rem; margin-top: 4px; }
.pager { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: .83rem; color: var(--muted); margin-top: 13px; }
.surface { min-width: 0; padding: clamp(18px,2vw,27px); background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.surface-title { gap: 8px; margin-bottom: 19px; }.surface-title>svg { color: var(--accent); }.surface-title h2,.detail-section { font-size: 1.08rem; }
.stack { display: grid; gap: 16px; }
.stack label>input,.stack label>textarea,.stack label>select,.stack label>.password-wrap,.fields-pair label>input,.fields-pair label>select { margin-top: 6px; }
label small:not(.optional) { display: block; margin-top: 5px; font-size: .8rem; font-weight: 430; color: var(--muted); }
.optional { color: var(--muted); font-size: .76rem; margin-left: 4px; font-weight: 440; }
.task-form,.detail-grid,.team-grid { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(290px,1fr); gap: 16px; align-items: start; }
.form-side { gap: 12px; }.fields-pair { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 10px; }
.visibility-picks { min-width: 0; display: grid; gap: 8px; border: 0; padding: 0; margin: 0; }.visibility-picks legend { padding: 0; margin: 0 0 6px; color: var(--body); font-size: .91rem; font-weight: 550; }
label.pick { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 8px; border: 1px solid var(--line); cursor: pointer; }
.pick>svg { color: var(--muted); }.pick span { min-width: 0; flex: 1; }.pick b { font-weight: 590; }.pick span small { margin: 0; }
.pick:has(:checked) { background: var(--active); border-color: var(--accent); }.stack .pick input { margin: 0; width: 17px; height: 17px; flex-shrink: 0; accent-color: var(--accent); }
.detail-head { align-items: flex-start; }.detail-head h1 { font-size: clamp(1.75rem,2.45vw,2.3rem); }
.detail-badges { gap: 7px; flex-wrap: wrap; margin-bottom: 20px; }.detail-section { margin-bottom: 8px; }
.description { color: var(--body); white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.7; font-size: .98rem; }.muted { color: var(--muted); }
.state-controls { display: flex; align-items: stretch; flex-wrap: wrap; gap: 7px; }
.state-choice { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 36px; padding: 6px 9px; background: var(--paper); color: var(--muted); border: 1px solid var(--line-strong); border-radius: 7px; font-size: .85rem; font-weight: 540; }
.state-choice:hover:not(:disabled) { background: var(--hover); color: var(--ink); }.state-choice[aria-pressed=true] { opacity: 1; cursor: default; border-color: currentColor; }
.state-todo[aria-pressed=true] { color: var(--todo-ink); background: var(--todo-bg); }.state-doing[aria-pressed=true] { color: var(--doing-ink); background: var(--doing-bg); }.state-done[aria-pressed=true] { color: var(--done-ink); background: var(--done-bg); }
.details-list,.time-record { display: grid; grid-template-columns: minmax(85px,.72fr) minmax(0,1.35fr); gap: 12px 9px; align-items: center; margin: 0; }
.details-list dt,.time-record span { color: var(--muted); font-size: .85rem; }.details-list dd { display: flex; align-items: center; gap: 7px; overflow-wrap: anywhere; font-size: .89rem; font-weight: 515; margin: 0; }.details-list dd svg { color: var(--muted); }
.time-record { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 13px; gap: 6px 9px; color: var(--muted); }.time-record span,.time-record time { font-size: .78rem; }
.delete-link { display: inline-flex; align-items: center; gap: 5px; color: var(--danger); margin-top: 18px; }
.narrow { max-width: 535px; }.actions { gap: 8px; flex-wrap: wrap; }
.checkbox { display: flex; gap: 7px; align-items: center; }.stack .checkbox input { width: 17px; height: 17px; margin: 0; accent-color: var(--accent); }
.member { padding: 15px 0; border-top: 1px solid var(--line); }.member:first-child { padding-top: 0; border-top: 0; }.member:last-child { padding-bottom: 0; }
.member-copy,.account-person>div { min-width: 0; }.member-copy b,.account-person b { display: block; font-size: .94rem; font-weight: 590; overflow-wrap: anywhere; }
.member-copy small,.account-person small { display: block; font-size: .82rem; color: var(--muted); overflow-wrap: anywhere; }
.member-state { margin-left: auto; padding: 3px 8px; border-radius: 6px; color: var(--muted); background: var(--subtle); font-size: .77rem; font-weight: 550; }
.member-state.enabled { color: var(--done-ink); background: var(--done-bg); }.member-role,.member-actions summary { margin-left: 45px; margin-top: 4px; font-size: .8rem; }.member-role { color: var(--muted); }.member-actions summary { color: var(--accent); font-weight: 540; }
.member-tools { margin-top: 13px; padding: 15px; border: 1px solid var(--line); border-radius: 8px; background: var(--subtle); display: grid; gap: 12px; }.member-tools .btn { min-height: 35px; font-size: .85rem; justify-self: start; }.compact-stack { gap: 9px; }
.account-person { padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }.form-gap { margin-top: 17px; }
.alert { display: flex; align-items: flex-start; gap: 8px; border-radius: 8px; padding: 11px 14px; margin: 0 0 16px; font-size: .88rem; overflow-wrap: anywhere; }.alert svg { margin-top: 2px; }
.alert.success { background: var(--done-bg); color: var(--done-ink); }.alert.error { background: var(--danger-bg); color: var(--danger); }
.drawer { position: fixed; inset: 0 0 0 auto; width: min(535px,100%); height: 100vh; height: 100dvh; max-height: 100%; max-width: 100%; padding: 0; margin: 0; color: var(--ink); background: var(--canvas); border: 0; border-left: 1px solid var(--line); box-shadow: -6px 0 35px var(--shadow); }
.drawer:not([open]) { display: none; }.drawer[open] { display: flex; flex-direction: column; animation: drawer-in .16s ease-out; }.drawer::backdrop { background: var(--overlay); }body:has(.drawer[open]) { overflow: hidden; }
.drawer-head { min-height: 58px; flex: 0 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 7px 18px; background: var(--paper); border-bottom: 1px solid var(--line); }
.drawer-head>span,.drawer-head>div { display: inline-flex; align-items: center; gap: 8px; }.drawer-head>span { font-size: .89rem; color: var(--muted); font-weight: 530; }.drawer-head>div { gap: 4px; }
.drawer-body { overflow-y: auto; padding: 24px 18px max(24px,env(safe-area-inset-bottom)); flex: 1; overscroll-behavior: contain; }
.drawer .detail-grid { grid-template-columns: minmax(0,1fr); gap: 13px; }.drawer .detail-grid>.stack { gap: 13px; }.drawer .detail-head { gap: 10px; align-items: flex-start; margin-bottom: 17px; }.drawer .detail-head h1 { font-size: 1.7rem; }.drawer .detail-head .btn { min-height: 33px; font-size: .8rem; padding: 6px 9px; }
.drawer .surface { padding: 17px; }.drawer .surface-title { margin-bottom: 13px; }.drawer-notice { flex: 0 0 auto; padding: 8px 17px; background: var(--done-bg); color: var(--done-ink); font-size: .85rem; }.drawer-notice:empty { display: none; }.drawer-notice.is-error { background: var(--danger-bg); color: var(--danger); }.drawer-hint { color: var(--muted); font-size: .94rem; }
.board-notice { position: fixed; bottom: max(19px,env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); z-index: 20; width: max-content; max-width: calc(100vw - 30px); padding: 9px 15px; border-radius: 8px; background: var(--total); color: var(--total-ink); box-shadow: 0 4px 18px var(--shadow); font-size: .88rem; pointer-events: none; }
.board-notice:empty { display: none; }.board-notice.is-error { background: var(--danger-bg); color: var(--danger); border: 1px solid var(--danger); }
.is-loading #board-results { animation: wait-dim .18s .14s both; }.is-saving .state-controls,.is-saving .drag-grip { opacity: .65; pointer-events: none; }
@keyframes wait-dim { to { opacity: .62; } }
@keyframes drawer-in { from { opacity: .85; transform: translateX(14px); } }
.auth-shell { max-width: 1440px; margin: auto; min-height: 100svh; display: flex; flex-direction: column; }
.auth-top { padding: 22px clamp(20px,4.5vw,72px); display: flex; align-items: center; justify-content: space-between; }
.auth-main { flex: 1; display: grid; align-items: center; justify-items: center; padding: 26px 22px clamp(40px,8vh,96px); min-width: 0; }
.auth-card { display: grid; grid-template-columns: minmax(0,1.18fr) minmax(0,.96fr); width: min(100%,830px); border-radius: 19px; border: 1px solid var(--line); background: var(--paper); box-shadow: 0 10px 45px var(--shadow); overflow: hidden; }
.auth-form { min-width: 0; padding: clamp(25px,4vw,54px); align-self: center; }.auth h1 { font-size: clamp(1.9rem,3vw,2.5rem); }
.auth-icon,.empty-symbol { display: grid; place-items: center; width: 42px; height: 42px; background: var(--active); color: var(--active-text); border-radius: 12px; }
.auth-icon { margin-bottom: 17px; }.intro { margin: 8px 0 22px; color: var(--muted); font-size: .94rem; line-height: 1.6; }.auth .wide { margin-top: 4px; min-height: 44px; }
.quiet-note { margin-top: 21px; padding-top: 15px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.password-wrap { position: relative; display: block; }.password-wrap input { padding-right: 42px; }.reveal { position: absolute; top: 2px; right: 3px; bottom: 2px; width: 35px; color: var(--muted); background: transparent; border-radius: 6px; }
.auth-visual { min-height: 290px; position: relative; overflow: hidden; isolation: isolate; background: #233c2f; }
.art-grid { position: absolute; inset: 0; background: radial-gradient(circle,#b7e6b052 .9px,transparent 1px); background-size: 20px 20px; }
.art-rings { width: 94%; aspect-ratio: 1; border-radius: 50%; border: 1px solid #a6d7a142; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.art-rings::before,.art-rings::after { content: ""; border: 1px solid #a6d7a142; border-radius: 50%; position: absolute; }.art-rings::before { inset: 13%; }.art-rings::after { inset: -14%; }
.art-tile,.art-status { position: absolute; display: grid; place-items: center; transform: translate(-50%,-50%); border: 1px solid #8dbb8f6b; }
.art-tile { width: 28%; aspect-ratio: 1; border-radius: 23%; left: 50%; top: 50%; background: #315840; box-shadow: 0 13px 28px #13251a3b; }.art-tile .brand-mark { width: 62%; height: 62%; color: #c3efad; margin-left: 5%; }
.art-status { width: 38px; height: 38px; border-radius: 10px; color: #c7e9b9; background: #2c4837; }.art-todo { left: 15%; top: 39%; }.art-doing { left: 74%; top: 72%; }.art-done { left: 83%; top: 27%; }
.setup-list { margin: 0 0 18px; padding-left: 20px; color: var(--body); display: grid; gap: 9px; font-size: .9rem; }.setup-list code { overflow-wrap: anywhere; font-size: .84rem; background: var(--subtle); padding: 0 3px; border-radius: 3px; }
@media (min-width: 1600px) { :root { --rail: 252px; }.sidebar { padding-left: 20px; padding-right: 20px; }.lane { padding: 15px; }.task-card { padding: 16px 17px 12px; } }
@media (max-width: 1120px) {
    :root { --rail: 204px; }.sidebar { padding-left: 11px; padding-right: 11px; }.topbar,.page-content { padding-left: 22px; padding-right: 22px; }.kanban { gap: 9px; }.lane { padding: 9px; }.task-card { padding: 11px; }.task-form,.detail-grid,.team-grid { grid-template-columns: minmax(0,1.22fr) minmax(275px,1fr); }
}
@media (max-width: 910px) {
    .sidebar { display: none; }.work-main { margin-left: 0; }.topbar { min-height: 55px; }.mobile-menu,.mobile-brand { display: block; }.mobile-brand .brand { font-size: 1.34rem; gap: 7px; }.mobile-brand .brand-mark { width: 25px; height: 25px; }.crumb { display: none; }
    .mobile-menu summary { width: 36px; height: 36px; }.mobile-menu .popup-body { width: min(265px,85vw); max-height: 76vh; overflow: auto; padding: 9px; }.mobile-menu .nav-label { margin: 5px 0 5px; }.mobile-menu .nav-label.after { margin-top: 12px; }
}
@media (max-width: 720px) {
    .page-content { padding: 25px 16px 36px; }.topbar { padding: 0 16px; }.page-head { margin-bottom: 18px; }
    .summary-strip { margin-bottom: 23px; }.summary-item { min-height: 87px; padding: 12px 10px; }.summary-label { gap: 5px; font-size: .83rem; }.summary-label svg { width: 14px; }.completion { right: 8px; bottom: 11px; }.completion svg { width: 17px; height: 17px; }
    .kanban,.task-form,.detail-grid,.team-grid { grid-template-columns: minmax(0,1fr); }.lane { min-height: auto; padding: 11px; }.single-column .lane { max-width: none; }.lane-empty { min-height: 63px; }.task-card { padding: 13px; }.card-foot { margin-top: 10px; }
    .auth-card { grid-template-columns: minmax(0,1fr); max-width: 455px; }.auth-visual { display: none; }.auth-top { padding: 17px 20px; }
}
@media (max-width: 560px) {
    .today { display: none; }.top-tools { gap: 5px; }.theme-caption { display: none; }.theme-menu summary { min-height: 36px; }
    .summary-strip { grid-template-columns: repeat(2,minmax(0,1fr)); border-radius: 11px; }.summary-item { padding: 12px 14px; gap: 8px; min-height: 80px; }.summary-item strong { font-size: 1.66rem; }.summary-label { font-size: .84rem; }
    .page-head h1 { font-size: 1.85rem; }.page-head .btn { padding: 8px 11px; min-height: 37px; }.page-head { gap: 9px; }
    .heading-count { gap: 7px; }.view-switch a { padding: 4px 8px; }.toolbar { display: grid; grid-template-columns: 1fr; gap: 7px; }.search-control { min-width: 0; }.toolbar-selects { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }.filter-select { min-width: 0; max-width: none; }.clear-filter { justify-self: start; }.manual-apply { justify-self: start; }
    .surface { padding: 17px; }.auth-main { padding: 12px 16px 55px; }.auth-form { padding: 23px 20px; }
    .drawer { inset: auto 0 0; width: 100%; height: 92vh; height: 92dvh; border-radius: 15px 15px 0 0; border: 1px solid var(--line); border-bottom: 0; }.drawer-body { padding: 17px 12px max(16px,env(safe-area-inset-bottom)); }.drawer-head { min-height: 51px; padding: 5px 12px; }.drawer .detail-head h1 { font-size: 1.45rem; }
    .tasks-table,.tasks-table tbody { display: block; }.tasks-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
    .tasks-table tr { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 11px; padding: 12px; border-top: 1px solid var(--line); }.tasks-table tr:first-child { border-top: 0; }
    .tasks-table td { display: block; border: 0; padding: 0; font-size: .83rem; }.tasks-table td:first-child { flex: 1 1 100%; max-width: none; min-width: 0; }.tasks-table td:nth-child(2) { flex: 1 1 45%; }.tasks-table td:nth-child(3) { margin-left: auto; }.tasks-table td:last-child { color: var(--muted); }.row-title { font-size: .98rem; }
}
@media (max-width: 350px) { .page-head { flex-wrap: wrap; }.fields-pair { grid-template-columns: 1fr; }.state-choice { font-size: .8rem; } }
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
