:root{color-scheme:light dark;--ground: #f7f8f5;--surface: #ffffff;--sunk: #eceee9;--rule: #c9ced6;--rule-soft: #e0e3e0;--field-border: #868d99;--ink: #10233f;--muted: #55627a;--shell: #10233f;--shell-ink: #f7f8f5;--shell-muted: #b9c3d3;--shell-line: rgb(247 248 245 / .24);--shell-hover: rgb(247 248 245 / .1);--primary: #10233f;--primary-hover: #1b3558;--primary-ink: #ffffff;--done: #2e6b4f;--done-ink: #ffffff;--done-soft: #e4efe8;--oxide: #b4412a;--oxide-hover: #9c3622;--oxide-ink: #ffffff;--oxide-soft: #f9ebe6;--error: #a12a1b;--backdrop: rgb(16 35 63 / .5);--mine: #10233f;--mine-ink: #ffffff;--lift: 0 1px 2px rgb(16 35 63 / .08), 0 12px 32px rgb(16 35 63 / .14);--font-text: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;--font-head: "Barlow Semi Condensed", "Barlow", system-ui, sans-serif;--topbar-h: 60px;--rail-w: 400px;--r-sm: 6px;--r-md: 10px;--r-lg: 14px;--ease: cubic-bezier(.16, 1, .3, 1);accent-color:var(--primary)}@media(prefers-color-scheme:dark){:root{--ground: #0b1524;--surface: #121f33;--sunk: #1a2a43;--rule: #2c3d59;--rule-soft: #1f2e47;--field-border: #62738f;--ink: #eceff3;--muted: #a0adc0;--shell: #070f1c;--primary: #eceff3;--primary-hover: #ffffff;--primary-ink: #10233f;--done: #72c9a0;--done-ink: #06261a;--done-soft: #12301f;--oxide: #ef8a6f;--oxide-hover: #f59d85;--oxide-ink: #2b0e06;--oxide-soft: #38190f;--error: #ff9b8a;--mine: #24385a;--mine-ink: #eceff3;--backdrop: rgb(3 8 16 / .7);--lift: 0 1px 2px rgb(0 0 0 / .4), 0 12px 32px rgb(0 0 0 / .45)}}*,*:before,*:after{box-sizing:border-box}html{scrollbar-color:var(--rule) transparent;-webkit-text-size-adjust:100%}body{margin:0;background:var(--ground);color:var(--ink);font-family:var(--font-text);font-size:1rem;line-height:1.5;-webkit-font-smoothing:antialiased;caret-color:var(--oxide)}::selection{background:var(--ink);color:var(--ground)}h1,h2,h3,p,dl,dd,ol,ul{margin:0}ol,ul{padding:0;list-style:none}h1,h2{font-family:var(--font-head);font-weight:700;text-wrap:balance}a{color:inherit;text-underline-offset:.2em}.num{font-variant-numeric:tabular-nums;white-space:nowrap}.muted{color:var(--muted);font-size:.9375rem}.visually-hidden:where(:not(:focus-within,:active)){position:absolute!important;clip-path:inset(50%)!important;overflow:hidden!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;border:0!important;white-space:nowrap!important}:focus-visible{outline:2px solid var(--ink);outline-offset:2px}.icon{width:1.125rem;height:1.125rem;flex:none;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}button{font:inherit;color:inherit;cursor:pointer}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:8px 16px;border:1px solid var(--field-border);border-radius:var(--r-sm);background:var(--surface);color:var(--ink);font-weight:600;font-size:.9375rem;line-height:1.2;text-align:center;transition:background-color .16s var(--ease),border-color .16s var(--ease),transform .16s var(--ease)}.btn:hover:not(:disabled){background:var(--sunk)}.btn:active:not(:disabled){transform:translateY(1px)}.btn:disabled{opacity:.55;cursor:not-allowed}.btn-primary{background:var(--primary);border-color:var(--primary);color:var(--primary-ink)}.btn-primary:hover:not(:disabled){background:var(--primary-hover);border-color:var(--primary-hover)}.btn-pay{background:var(--oxide);border-color:var(--oxide);color:var(--oxide-ink)}.btn-pay:hover:not(:disabled){background:var(--oxide-hover);border-color:var(--oxide-hover)}.btn-quiet{border-color:transparent;background:transparent}.btn-sm{min-height:32px;padding:4px 12px;font-size:.875rem}.btn-block{width:100%}.btn-icon{width:40px;padding:0}.btn-shell{background:transparent;border-color:var(--shell-line);color:var(--shell-ink)}.btn-shell:hover:not(:disabled){background:var(--shell-hover)}.btn-shell[aria-pressed=true],.btn-shell[aria-pressed=true]:hover:not(:disabled){background:var(--shell-ink);border-color:var(--shell-ink);color:var(--shell)}.btn-shell[aria-pressed=true]:hover:not(:disabled){background:#fff}@media(pointer:coarse){.btn{min-height:44px}.btn-sm{min-height:40px}.btn-icon{width:44px}}.field{display:flex;flex-direction:column;gap:6px;min-width:0}.field label,.field legend{font-weight:600;font-size:.9375rem}.field-hint{font-size:.875rem;color:var(--muted);overflow-wrap:anywhere}code,.code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.8125rem}.code-block{margin:0;padding:14px 16px;border-radius:var(--r-sm);background:var(--sunk);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.8125rem;line-height:1.6;overflow-x:auto;scrollbar-width:thin}.input,.field input,.field textarea,.field select{width:100%;min-height:44px;padding:10px 12px;border:1px solid var(--field-border);border-radius:var(--r-sm);background:var(--surface);color:var(--ink);font:inherit;transition:border-color .16s var(--ease)}.field textarea{resize:vertical}.input::placeholder,.field input::placeholder,.field textarea::placeholder,.composer textarea::placeholder{color:var(--muted);opacity:1}.input:hover,.field input:hover,.field textarea:hover,.field select:hover{border-color:var(--ink)}.field input:user-invalid{border-color:var(--error)}.field-error{display:none;font-size:.875rem;color:var(--error)}.field input:user-invalid~.field-error{display:block}select{appearance:none;padding-right:36px!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2355627a' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 12px center!important}select{text-overflow:ellipsis}@media(prefers-color-scheme:dark){.field select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23a0adc0' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E")!important}}.input-row{display:flex;gap:8px}.input-row>input{flex:1;min-width:0}.notice{padding:12px 14px;border-radius:var(--r-sm);background:var(--done-soft);color:var(--ink);font-size:.9375rem;overflow-wrap:anywhere}.error-text{color:var(--error);font-size:.9375rem;font-weight:500}.auth{min-height:100dvh;display:grid;grid-template-columns:minmax(320px,5fr) 7fr}.auth-side{background:var(--shell);color:var(--shell-ink);padding:48px;display:flex;flex-direction:column;justify-content:space-between;gap:48px}.brand{font-family:var(--font-head);font-weight:700;font-size:1.375rem;letter-spacing:.01em}.auth-side p{font-family:var(--font-head);font-weight:600;font-size:2rem;line-height:1.15;max-width:16ch;text-wrap:balance}.auth-diagram{display:flex;flex-direction:column;gap:18px;max-width:320px}.auth-diagram span{display:flex;align-items:center;gap:14px}.auth-diagram span:before{content:"";width:18px;height:18px;border-radius:50%;background:#72c9a0;flex:none}.auth-diagram span:after{content:"";height:2px;flex:1;background:var(--shell-line)}.auth-diagram i{display:block;height:3px;margin-inline:-8px;background:#ef8a6f;border-radius:2px;transform-origin:left}.auth-main{display:grid;place-items:center;padding:48px 24px}.auth-panel{width:100%;max-width:400px;display:flex;flex-direction:column;gap:24px}.auth-panel h1{font-size:2.125rem;line-height:1.1}.auth-panel h1+p{margin-top:8px;color:var(--muted)}.seg{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:4px;padding:4px;border-radius:var(--r-md);background:var(--sunk)}.seg button{min-height:36px;padding:6px 12px;border:0;border-radius:var(--r-sm);background:transparent;color:var(--muted);font-weight:600;font-size:.9375rem;transition:background-color .16s var(--ease),color .16s var(--ease)}.seg button:hover{color:var(--ink)}.seg button[aria-selected=true],.seg button[aria-pressed=true]{background:var(--surface);color:var(--ink);box-shadow:0 1px 2px #10233f2e}.auth-form{display:flex;flex-direction:column;gap:16px}.otp-input{font-family:var(--font-head);font-size:1.75rem!important;font-weight:600;letter-spacing:.3em;font-variant-numeric:tabular-nums;text-align:center;min-height:60px!important}.center-state{min-height:60dvh;display:grid;place-items:center;align-content:center;gap:16px;padding:24px;text-align:center}.workspace{min-height:100dvh}.topbar{position:sticky;top:0;z-index:20;height:var(--topbar-h);display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 24px;background:var(--shell);color:var(--shell-ink)}.topbar :focus-visible{outline-color:var(--shell-ink)}.topbar-left,.topbar-right{display:flex;align-items:center;gap:12px;min-width:0}.topbar-left{gap:20px}.project-name{color:var(--shell-muted);font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-select{min-height:36px;max-width:44vw;padding:4px 12px;border:1px solid var(--shell-line);border-radius:var(--r-sm);background-color:transparent;color:var(--shell-ink);font:inherit;font-weight:500;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23b9c3d3' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E")!important}.project-select option{color:#10233f;background:#fff}.user-name{color:var(--shell-muted);font-size:.9375rem;white-space:nowrap}.shell{transition:padding-right .2s var(--ease)}.shell[data-chat=open]{padding-right:var(--rail-w)}.rail{position:fixed;top:var(--topbar-h);right:0;bottom:0;width:var(--rail-w);z-index:15;background:var(--surface);border-left:1px solid var(--rule)}.mobile-bar{display:none}.page{container-type:inline-size;width:100%;max-width:1120px;margin:0 auto;padding:48px 48px 96px}.page-head h1{font-size:2.875rem;line-height:1.05}.page-head .contract-title{margin-top:6px;font-weight:500;color:var(--muted)}.page-head .status-line{margin-top:16px;font-size:1.125rem;max-width:62ch}.board{margin-top:40px;display:grid;grid-template-columns:minmax(0,1fr) 264px;gap:0 56px;align-items:start}.totals{grid-column:2;grid-row:1;position:sticky;top:calc(var(--topbar-h) + 24px);display:flex;flex-direction:column;gap:20px;padding-top:22px;border-top:1px solid var(--rule)}.totals dl{display:flex;flex-direction:column;gap:20px}.totals dt{font-size:.9375rem;color:var(--muted)}.totals dd{font-family:var(--font-head);font-weight:700;font-size:1.875rem;line-height:1.15}.totals [data-tone=due] dd{color:var(--oxide)}.totals [data-tone=clear] dd{color:var(--done)}.gate-note{font-size:.9375rem;color:var(--muted)}.stages{grid-column:1;grid-row:1}.stage{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:4px 18px;padding:22px 0;border-top:1px solid var(--rule)}.stage:last-child{border-bottom:1px solid var(--rule)}.stage-no{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;font-family:var(--font-head);font-weight:700;font-size:1.25rem;border:2px solid var(--rule);color:var(--muted)}.stage[data-status=done] .stage-no{background:var(--done);border-color:var(--done);color:var(--done-ink)}.stage[data-status=in_progress] .stage-no{border-color:var(--ink);color:var(--ink)}.stage h3{font-size:1.1875rem;font-weight:600;line-height:1.3}.stage-body p{margin-top:2px;color:var(--muted);font-size:.9375rem;max-width:60ch}.stage-body .part-paid{margin-top:6px;color:var(--oxide);font-weight:500}.stage-value{text-align:right}.stage-value strong{display:block;font-family:var(--font-head);font-size:1.3125rem;font-weight:700;line-height:1.3}.stage-value small{display:block}.stage-value .awaiting{color:var(--oxide)!important}.stage-value small{font-size:.875rem;font-weight:600;color:var(--muted)}.stage[data-status=done] .stage-value small{color:var(--done)}.paid-line{position:relative;height:0;margin-inline:-12px;z-index:1}.paid-line:before{content:"";position:absolute;inset:-2px 0 auto;height:3px;border-radius:2px;background:var(--oxide);transform-origin:left}.paid-line span{position:absolute;right:0;top:-15px;padding:3px 12px;border-radius:4px;background:var(--oxide);color:var(--oxide-ink);font-weight:600;font-size:.9375rem;line-height:1.5}.paid-line[data-clear=true]:before,.paid-line[data-clear=true] span{background:var(--done);color:var(--done-ink)}.stages[data-line=top]{padding-top:18px}.stages[data-line=bottom]{padding-bottom:18px}@media(prefers-reduced-motion:no-preference){.paid-line:before,.auth-diagram i{animation:draw-line .8s var(--ease) .15s backwards}.paid-line span{animation:settle .4s var(--ease) .65s backwards}}@keyframes draw-line{0%{transform:scaleX(0)}}@keyframes settle{0%{opacity:0;transform:translateY(4px)}}.section{margin-top:64px}.section-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:12px}.section-head h2{font-size:1.625rem;line-height:1.2}.section-head span{color:var(--muted);font-size:.9375rem}.rows>li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 16px;align-items:baseline;padding:14px 0;border-top:1px solid var(--rule-soft)}.rows>li:first-child{border-top-color:var(--rule)}.form-section .rows>li:first-child{border-top:0;padding-top:0}.rows h3{font-size:1rem;font-weight:600}.rows p{color:var(--muted);font-size:.9375rem}.rows strong{font-family:var(--font-head);font-size:1.1875rem;font-weight:700}.row-actions{grid-column:1 / -1;display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}.notes-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:40px 56px;border-top:1px solid var(--rule);padding-top:20px}.notes-group h3{font-family:var(--font-head);font-size:1.1875rem;font-weight:700}.notes-group>p{color:var(--muted);font-size:.9375rem}.notes-group li{padding:12px 0;border-top:1px solid var(--rule-soft)}.notes-group ul{margin-top:12px}.notes-group li strong{display:block;font-weight:600}.notes-group li p{color:var(--muted);font-size:.9375rem}.scope-details{margin-top:48px;border-top:1px solid var(--rule);border-bottom:1px solid var(--rule)}.scope-details summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 0;font-weight:600;cursor:pointer;list-style:none}.scope-details summary::-webkit-details-marker{display:none}.scope-details summary .icon{transition:transform .2s var(--ease)}.scope-details[open] summary .icon{transform:rotate(180deg)}.scope-details p{padding-bottom:20px;max-width:70ch;color:var(--muted)}@container (max-width: 900px){.board{grid-template-columns:minmax(0,1fr) 232px;gap:0 36px}.totals dd{font-size:1.625rem}}@container (max-width: 640px){.notes-grid{grid-template-columns:minmax(0,1fr)}.board{grid-template-columns:minmax(0,1fr);gap:32px}.totals,.stages{grid-column:1;grid-row:auto}.totals{position:static}.totals dl{display:grid;grid-template-columns:1fr 1fr;gap:16px 24px}}@container (max-width: 520px){.stage{grid-template-columns:36px minmax(0,1fr);gap:4px 14px}.stage-no{width:36px;height:36px;font-size:1.0625rem}.stage-value{grid-column:2;text-align:left;display:flex;gap:12px;align-items:baseline;flex-wrap:wrap;margin-top:6px}.paid-line{margin-inline:-8px}}.skel{display:block;border-radius:var(--r-sm);background:var(--sunk)}@media(prefers-reduced-motion:no-preference){.skel{animation:skel 1.4s ease-in-out infinite alternate}}@keyframes skel{to{opacity:.45}}.chat{height:100%;min-height:0;display:flex;flex-direction:column;background:var(--surface)}.chat-head{flex:none;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:20px 20px 16px;border-bottom:1px solid var(--rule)}.chat-head h2{font-size:1.375rem;line-height:1.2}.chat-head p{margin-top:4px;color:var(--muted);font-size:.9375rem}.thread{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:20px;display:flex;flex-direction:column;gap:20px}.thread-empty{margin:auto 0;display:flex;flex-direction:column;gap:12px}.thread-empty p{color:var(--muted)}.starters{display:flex;flex-direction:column;align-items:flex-start;gap:8px}.msg{display:flex;flex-direction:column;align-items:flex-start;gap:6px}.msg[data-mine=true]{align-items:flex-end}.msg-meta{display:flex;gap:8px;align-items:baseline;font-size:.8125rem;color:var(--muted)}.msg-meta strong{color:var(--ink);font-weight:600}.bubble{max-width:92%;padding:10px 14px;border-radius:var(--r-lg);border-top-left-radius:4px;background:var(--sunk);white-space:pre-wrap;overflow-wrap:anywhere}.msg[data-mine=true] .bubble{border-radius:var(--r-lg);border-top-right-radius:4px;background:var(--mine);color:var(--mine-ink)}.msg>.slip{align-self:stretch}.thumbs{display:flex;flex-wrap:wrap;gap:8px}.thumbs a{display:block;border-radius:var(--r-sm);overflow:hidden;border:1px solid var(--rule)}.thumbs img{display:block;width:104px;height:78px;object-fit:cover}.slip{display:flex;flex-direction:column;gap:12px;padding:16px;border:1px solid var(--rule);border-radius:var(--r-md);background:var(--ground)}.slip[data-variant=gate]{border-color:var(--oxide);background:var(--oxide-soft)}.slip[data-variant=paid]{border-color:var(--done);background:var(--done-soft)}.slip .slip{padding:0;border:0;background:transparent}.slip-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.slip-head h3{font-size:1rem;font-weight:600;line-height:1.3}.slip-price{font-family:var(--font-head);font-size:1.25rem;font-weight:700}.slip p{font-size:.9375rem}.slip-list{display:flex;flex-direction:column;gap:6px;font-size:.9375rem}.slip-list li{display:flex;gap:8px;align-items:flex-start}.slip-list .icon{margin-top:3px;color:var(--done)}.slip-paid{display:flex;gap:8px;align-items:center;font-weight:600;color:var(--done)}.pay-box{display:flex;flex-direction:column;gap:8px;padding-top:12px;border-top:1px solid var(--rule)}.pay-box label{font-size:.875rem;font-weight:600}.choice-group{border:0;padding:0;margin:0;display:flex;flex-direction:column;gap:6px}.choice-group legend{padding:0;margin-bottom:6px;font-size:.9375rem;font-weight:600}.choice{display:flex;align-items:center;gap:10px;min-height:40px;padding:8px 12px;border:1px solid var(--rule);border-radius:var(--r-sm);background:var(--surface);font-size:.9375rem;cursor:pointer;transition:border-color .16s var(--ease)}.choice:hover{border-color:var(--field-border)}.choice:has(input:checked){border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}.choice input{width:16px;height:16px;margin:0}.option-tabs{display:flex;flex-direction:column;gap:6px}.option-tabs button{display:flex;justify-content:space-between;gap:12px;min-height:40px;padding:8px 12px;border:1px solid var(--rule);border-radius:var(--r-sm);background:var(--surface);font-size:.9375rem;font-weight:600;text-align:left}.option-tabs button[aria-pressed=true]{border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}.composer{flex:none;display:flex;flex-direction:column;gap:8px;padding:12px 16px 16px;border-top:1px solid var(--rule)}.composer-box{display:flex;align-items:flex-end;gap:4px;padding:4px;border:1px solid var(--field-border);border-radius:var(--r-md);background:var(--ground);transition:border-color .16s var(--ease)}.composer-box:focus-within{border-color:var(--ink);box-shadow:0 0 0 1px var(--ink)}.composer textarea{flex:1;min-width:0;min-height:40px;max-height:160px;padding:9px 8px;border:0;background:transparent;color:var(--ink);font:inherit;resize:none;field-sizing:content}.composer textarea:focus-visible{outline:none}.file-chips{display:flex;flex-wrap:wrap;gap:6px}.file-chips li{display:inline-flex;align-items:center;gap:4px;max-width:100%;padding:2px 4px 2px 10px;border-radius:999px;background:var(--sunk);font-size:.8125rem}.file-chips span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-chips button{display:grid;place-items:center;width:24px;height:24px;border:0;border-radius:50%;background:transparent}.file-chips button:hover{background:var(--rule)}.file-chips .icon{width:.875rem;height:.875rem}dialog.sheet{width:min(100vw,560px);height:min(100dvh,780px);max-width:100vw;max-height:100dvh;padding:0;border:0;border-radius:var(--r-lg);background:var(--surface);color:var(--ink);box-shadow:var(--lift);overflow:hidden}dialog.sheet:modal{overscroll-behavior:contain}dialog.sheet::backdrop{background:var(--backdrop)}.admin{width:100%;max-width:860px;margin:0 auto;padding:48px 32px 96px;display:flex;flex-direction:column;gap:24px}.admin-head{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:16px}.admin-head h1{font-size:2.125rem;line-height:1.1}.admin-head p{margin-top:6px;color:var(--muted);max-width:60ch}.tabs{display:flex;gap:4px;overflow-x:auto;scrollbar-width:none;border-bottom:1px solid var(--rule)}.tabs button{flex:none;min-height:44px;padding:8px 14px;border:0;background:transparent;color:var(--muted);font-weight:600;font-size:.9375rem;box-shadow:inset 0 -3px 0 transparent;transition:color .16s var(--ease),box-shadow .16s var(--ease)}.tabs button:hover{color:var(--ink)}.tabs button[aria-selected=true]{color:var(--ink);box-shadow:inset 0 -3px 0 var(--ink)}.tabs button:focus-visible{outline-offset:-2px}.admin-stack{display:flex;flex-direction:column;gap:56px}.form-section{display:flex;flex-direction:column;gap:18px}.form-section .section-head{margin-bottom:0;padding-bottom:12px;border-bottom:1px solid var(--rule);flex-wrap:wrap}.form-section .section-head+.section-head,.form-section .section-head:not(:first-child){margin-top:32px}.grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.form-actions{display:flex;flex-wrap:wrap;gap:10px;padding-top:6px}.preset-row{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}.status-tag{display:inline-block;padding:1px 8px;border-radius:4px;background:var(--sunk);color:var(--ink);font-size:.8125rem;font-weight:600}.status-tag[data-tone=done]{background:var(--done-soft)}.status-tag[data-tone=due]{background:var(--oxide-soft)}@media(max-width:980px){.shell[data-chat=open]{padding-right:0}.rail{display:none}.mobile-bar{position:fixed;inset:auto 0 0;z-index:15;display:flex;padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:var(--ground);border-top:1px solid var(--rule)}.page{padding:32px 20px 120px}.page-head h1{font-size:2.25rem}.section{margin-top:48px}.topbar{padding:0 16px}.topbar-left{gap:12px}.hide-sm{display:none!important}.admin{padding:32px 20px 64px}.grid-2,.grid-3{grid-template-columns:minmax(0,1fr)}.tabs{scroll-padding-inline:24px;mask-image:linear-gradient(to right,transparent 0,#000 20px,#000 calc(100% - 28px),transparent 100%)}dialog.sheet{width:100vw;height:100dvh;margin:0;border-radius:0}}@media(min-width:981px){.show-sm{display:none!important}}@media(max-width:760px){.auth{grid-template-columns:minmax(0,1fr);grid-template-rows:auto 1fr}.auth-side{padding:20px 20px 24px;gap:16px}.auth-side p{font-size:1.375rem;max-width:24ch}.auth-diagram{display:none}.auth-main{place-items:start center;padding:32px 20px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important}}
