:root {
  color-scheme: light;
  --bg: #f7f8fb;
  --panel: #ffffff;
  --panel-2: #eef2f7;
  --text: #18202f;
  --muted: #667085;
  --line: #d9e0ea;
  --accent: #0f766e;
  --danger: #b42318;
  --shadow: 0 14px 40px rgba(16, 24, 40, .08);
}

.warber-footer {
    width: min(1180px, calc(100% - 40px));
    margin: 64px auto 0;
    padding: 24px 0 36px;
    border-top: 1px solid var(--border);
}

.warber-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
}

.warber-footer a {
    color: var(--muted);
    font-size: 0.88rem;
}

.warber-legal-page {
    max-width: 900px;
}

.warber-legal-content {
    padding: 32px 0 48px;
}

.warber-legal-content h1 {
    max-width: 760px;
}

.warber-legal-content h2 {
    margin-top: 32px;
    font-size: 1.15rem;
}

.warber-legal-content p,
.warber-legal-content dd,
.warber-legal-content li {
    max-width: 760px;
    color: var(--muted);
    line-height: 1.65;
}

.warber-legal-content a:not(.warber-primary) {
    color: #72e8d8;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.warber-legal-lead {
    font-size: 1.08rem;
}

.warber-legal-version {
    margin: -8px 0 24px;
    font-size: .85rem;
}

.warber-legal-index {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    max-width: 760px;
    margin: 24px 0 36px;
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.warber-legal-index a {
    font-size: .9rem;
    font-weight: 650;
}

.warber-legal-content section {
    scroll-margin-top: 110px;
}

.warber-legal-content ul {
    display: grid;
    gap: 8px;
    max-width: 760px;
    padding-left: 22px;
}

.warber-legal-content code {
    color: #d9fff9;
}

.warber-legal-bases {
    display: grid;
    gap: 14px;
    max-width: 760px;
    margin: 0;
}

.warber-legal-bases div {
    display: grid;
    grid-template-columns: minmax(110px, 150px) minmax(0, 1fr);
    gap: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.warber-legal-bases dt {
    font-weight: 700;
}

.warber-legal-bases dd {
    margin: 0;
}

.warber-legal-details {
    display: grid;
    gap: 0;
    margin: 28px 0 0;
}

.warber-legal-details div {
    display: grid;
    grid-template-columns: minmax(130px, 180px) 1fr;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.warber-legal-details dt {
    font-weight: 700;
}

.warber-legal-details dd {
    margin: 0;
}

.warber-public-form {
    max-width: 560px;
    margin-top: 28px;
}
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #111318;
  --panel: #181b22;
  --panel-2: #222732;
  --text: #f2f4f7;
  --muted: #a5adba;
  --line: #303744;
  --accent: #2dd4bf;
  --danger: #fb7185;
  --shadow: 0 14px 40px rgba(0, 0, 0, .25);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 20px; }
textarea { resize: none; }
.icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.warber-body { min-height: 100vh; overflow-x: hidden; background: #0d1118; color: #f7f9fc; }
.warber-nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(1240px, calc(100vw - 40px)); margin: 0 auto; padding: 14px 0; background: color-mix(in srgb, #0d1118 91%, transparent); backdrop-filter: blur(16px); }
.warber-brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; }
.warber-brand img { width: 54px; height: 54px; object-fit: contain; object-position: left; }
.warber-nav nav { display: flex; align-items: center; justify-content: flex-end; gap: 22px; }
.warber-nav nav a { color: #b8c4d6; font-size: 14px; font-weight: 650; }
.warber-nav nav a:hover, .warber-text-link:hover { color: #f7f9fc; }
.warber-nav-cta { min-height: 38px; display: inline-flex; align-items: center; border-radius: 8px; padding: 8px 13px; background: rgba(45, 212, 191, .14); color: #eafffb !important; }
.warber-page { width: min(1240px, calc(100vw - 40px)); margin: 0 auto; padding: 28px 0 96px; }
.warber-hero { display: grid; align-content: start; min-height: calc(100vh - 82px); padding-top: 48px; text-align: center; }
.warber-hero-copy { position: relative; z-index: 1; width: min(900px, 100%); margin: 0 auto; }
.warber-kicker { margin: 0 0 12px; color: #2dd4bf; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.warber-hero h1, .warber-problem h2, .warber-story-section h2, .warber-context h2, .warber-difference h2, .warber-audience h2, .warber-pricing h2, .warber-faq h2, .warber-final-cta h2, .warber-signup-panel h1 { margin: 0; letter-spacing: 0; line-height: 1.04; }
.warber-hero h1 { font-size: 76px; }
.warber-lead { max-width: 780px; margin: 22px auto 0; color: #aeb9ca; font-size: 20px; line-height: 1.55; }
.warber-cta-row { display: flex; flex-wrap: wrap; justify-content: inherit; gap: 12px; margin-top: 28px; }
.warber-hero .warber-cta-row { justify-content: center; }
.warber-primary, .warber-secondary { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; padding: 12px 17px; font-weight: 700; }
.warber-primary { background: #2dd4bf; color: #071014; }
.warber-primary:hover { background: #5ee5d2; }
.warber-secondary { border: 1px solid #273244; background: #151b25; color: #edf4ff; }
.warber-secondary:hover { border-color: #536178; background: #1b2330; }
.warber-cta-note { margin: 14px 0 0; color: #7f8ba0; font-size: 13px; }
.warber-hero-product { width: min(1180px, 100%); margin: 4px auto -24px; }
.warber-hero-product img, .warber-story-media img, .warber-view-gallery img, .warber-product-pair img, .warber-context-gallery img { display: block; width: 100%; height: auto; border-radius: 50px; }
.warber-problem { display: grid; grid-template-columns: minmax(0, .9fr) minmax(320px, .7fr); gap: 72px; align-items: end; padding: 96px 0; border-top: 1px solid rgba(255, 255, 255, .09); }
.warber-problem .warber-kicker { grid-column: 1 / -1; margin-bottom: -48px; }
.warber-problem h2, .warber-story-section h2, .warber-context h2, .warber-difference h2, .warber-audience h2, .warber-faq h2, .warber-final-cta h2 { font-size: 52px; }
.warber-problem > p:last-child, .warber-story-copy > p, .warber-context-heading > p, .warber-audience > p, .warber-faq-heading > p, .warber-difference-list p, .warber-pricing p, .warber-final-cta > p:not(.warber-kicker) { margin: 0; color: #aeb9ca; font-size: 18px; line-height: 1.65; }
.warber-story-section { display: grid; grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr); gap: 58px; align-items: center; padding: 104px 0 54px; }
.warber-story-section-reverse { grid-template-columns: minmax(0, 1.28fr) minmax(300px, .72fr); }
.warber-story-section-reverse .warber-story-copy { grid-column: 2; grid-row: 1; }
.warber-story-section-reverse .warber-product-pair { grid-column: 1; grid-row: 1; }
.warber-story-copy > p { margin-top: 22px; }
.warber-text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; color: #77eadb; font-weight: 700; }
.warber-story-media, .warber-product-pair figure, .warber-view-gallery figure, .warber-context-gallery figure { margin: 0; }
.warber-view-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; padding-bottom: 92px; }
.warber-view-gallery figure { min-width: 0; }
.warber-view-gallery figcaption, .warber-context-gallery figcaption { margin-top: 8px; color: #8e9aaf; font-size: 14px; line-height: 1.5; }
.warber-view-gallery figcaption strong { color: #e7edf7; }
.warber-product-pair { display: grid; gap: 10px; }
.warber-product-pair figure:first-child { width: 92%; }
.warber-product-pair figure:last-child { width: 72%; margin-top: -25%; margin-left: auto; }
.warber-context { padding: 112px 0; border-top: 1px solid rgba(255, 255, 255, .09); }
.warber-context-heading { display: grid; grid-template-columns: minmax(0, .9fr) minmax(320px, .7fr); gap: 72px; align-items: end; }
.warber-context-heading .warber-kicker { grid-column: 1 / -1; margin-bottom: -48px; }
.warber-context-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 50px; }
.warber-context-main { grid-column: 1 / -1; }
.warber-difference { display: grid; grid-template-columns: minmax(280px, .75fr) minmax(0, 1.25fr); gap: 72px; padding: 112px 0; border-top: 1px solid rgba(255, 255, 255, .09); }
.warber-difference-list { display: grid; }
.warber-difference-list article { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 18px; padding: 24px 0; border-bottom: 1px solid rgba(255, 255, 255, .09); }
.warber-difference-list article:first-child { padding-top: 0; }
.warber-difference-list article > span { color: #2dd4bf; font-size: 13px; font-weight: 800; }
.warber-difference-list h3 { margin: 0 0 8px; font-size: 21px; }
.warber-audience { max-width: 980px; padding: 112px 0; }
.warber-audience > p { max-width: 780px; margin-top: 24px; }
.warber-pricing { display: grid; grid-template-columns: minmax(0, .9fr) minmax(300px, .7fr); gap: 72px; align-items: end; padding: 72px 0; border-top: 1px solid rgba(255, 255, 255, .09); border-bottom: 1px solid rgba(255, 255, 255, .09); }
.warber-pricing h2 { font-size: 70px; }
.warber-pricing h2 span { display: block; margin-top: 8px; color: #8e9aaf; font-size: 17px; font-weight: 600; }
.warber-pricing-details { display: grid; justify-items: start; gap: 16px; }
.warber-pricing-details .warber-primary, .warber-pricing-details .warber-text-link { margin-top: 0; }
.warber-faq { display: grid; grid-template-columns: minmax(280px, .7fr) minmax(0, 1.3fr); gap: 72px; padding: 112px 0; }
.warber-faq-heading { align-self: start; position: sticky; top: 110px; }
.warber-faq-heading > p { margin-top: 20px; }
.warber-faq-list { border-top: 1px solid rgba(255, 255, 255, .12); }
.warber-faq-list details { overflow: clip; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.warber-faq-list summary { position: relative; padding: 22px 44px 22px 0; cursor: pointer; list-style: none; color: #edf4ff; font-size: 18px; font-weight: 700; }
.warber-faq-list summary::-webkit-details-marker { display: none; }
.warber-faq-list summary::after { content: ""; position: absolute; top: 24px; right: 8px; width: 9px; height: 9px; border-right: 2px solid #2dd4bf; border-bottom: 2px solid #2dd4bf; transform: rotate(45deg); transition: transform .24s ease, top .24s ease; }
.warber-faq-list details[open] summary::after { top: 29px; transform: rotate(225deg); }
.warber-faq-answer { display: grid; grid-template-rows: 0fr; opacity: 0; transform: translateY(-6px); transition: grid-template-rows .28s ease, opacity .22s ease, transform .28s ease; }
.warber-faq-list details[open] .warber-faq-answer { grid-template-rows: 1fr; opacity: 1; transform: translateY(0); }
.warber-faq-list details p { max-width: 760px; min-height: 0; overflow: hidden; margin: -4px 0 22px; color: #aeb9ca; line-height: 1.65; }
@media (prefers-reduced-motion: reduce) {
  .warber-faq-list summary::after, .warber-faq-answer { transition: none; }
}
.warber-final-cta { padding: 96px 0 40px; border-top: 1px solid rgba(255, 255, 255, .09); text-align: center; }
.warber-final-cta h2 { max-width: 820px; margin: 0 auto; }
.warber-final-cta .warber-cta-row { justify-content: center; }
.warber-complete-action { margin-top: 18px; }
.warber-form-page { display: grid; place-items: start center; min-height: calc(100vh - 120px); }
.warber-signup-panel { width: min(640px, 100%); padding: 28px; }
.warber-signup-panel form { margin-top: 24px; }
.warber-signup-panel input { background: #0f141d; color: #f7f9fc; }
.platform-admin-panel { width: min(1100px, 100%); }
.platform-admin-heading, .panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.platform-admin-heading h1, .panel-heading h2 { margin-bottom: 6px; }
.platform-readiness-panel { margin-top: 22px; }
.platform-readiness-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.platform-tenant-search { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; margin-top: 18px; }
.platform-tenant-list { display: grid; gap: 10px; margin-top: 18px; }
.platform-tenant-row { padding: 0; overflow: hidden; }
.platform-tenant-summary { display: grid; grid-template-columns: minmax(180px, 1fr) auto auto auto; gap: 18px; align-items: center; padding: 16px; cursor: pointer; list-style: none; }
.platform-tenant-summary::-webkit-details-marker { display: none; }
.platform-tenant-summary > span:first-child { display: grid; gap: 3px; }
.platform-tenant-summary small, .platform-tenant-row span { color: #aeb9ca; }
.platform-summary-action { color: #2dd4bf !important; font-weight: 700; }
.platform-tenant-row[open] .platform-summary-action { visibility: hidden; }
.platform-tenant-detail-grid { display: grid; grid-template-columns: minmax(150px, .7fr) minmax(220px, 1fr) minmax(220px, 1fr) minmax(260px, 1.2fr); gap: 18px; border-top: 1px solid rgba(255, 255, 255, .08); padding: 16px; }
.platform-tenant-detail-grid > div { display: grid; align-content: start; gap: 6px; min-width: 0; }
.platform-tenant-actions form { display: grid; gap: 7px; margin-top: 10px; }
.platform-tenant-operations { display: grid; gap: 14px; }
.platform-actions-disclosure { border-top: 1px solid var(--line); padding-top: 10px; }
.platform-actions-disclosure > summary { color: var(--muted); cursor: pointer; font-weight: 600; }
.platform-actions-disclosure[open] > summary { margin-bottom: 10px; }
.platform-tenant-lifecycle strong { font-size: .84rem; }
.platform-pagination { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 18px; }
.platform-step-up-panel { max-width: 560px; }
.platform-step-up-heading { display: flex; align-items: center; gap: 14px; }
.platform-security-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 8px; background: rgba(45, 212, 191, .12); color: #2dd4bf; }
.platform-step-up-form, .platform-step-up-form label { display: grid; gap: 7px; }
.platform-step-up-actions { display: flex; justify-content: flex-end; gap: 8px; }
.eyebrow { margin: 0 0 4px; color: var(--accent); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.status-badge, .badge-success, .badge-danger { display: inline-flex; align-items: center; width: fit-content; min-height: 26px; border-radius: 999px; padding: 4px 9px; font-size: 12px; font-weight: 700; }
.notice-inline { border-left: 3px solid var(--accent); padding: 8px 10px; background: color-mix(in srgb, var(--accent) 7%, transparent); color: var(--muted); }
.admin-side-stack { display: grid; gap: 16px; min-width: 0; }
.billing-summary { display: grid; gap: 8px; margin: 16px 0; }
.billing-summary > div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.billing-summary dt { color: var(--muted); }
.billing-summary dd { margin: 0; font-weight: 700; text-align: right; }
.admin-billing-panel form + form { margin-top: 12px; }
.admin-billing-panel { overflow: hidden; }
.billing-plan-copy { display: flex; align-items: baseline; gap: 8px; margin: 12px 0 18px; font-size: 24px; font-weight: 800; }
.billing-plan-copy span { color: var(--muted); font-size: 13px; font-weight: 500; }
.seat-change-form { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.seat-member-selection { display: grid; gap: 8px; padding: 0; border: 0; }
.seat-member-selection legend { margin-bottom: 8px; font-weight: 700; }
.seat-member-selection label { display: flex; gap: 8px; align-items: center; }
.seat-member-selection label.is-protected { color: var(--muted); }
.seat-quote-output { min-height: 48px; margin: 0; padding: 12px; border-left: 3px solid var(--accent); background: var(--panel-2); color: var(--text); }
.billing-invoices { display: grid; gap: 0; }
.billing-invoices a { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.billing-invoices a:first-child { border-top: 0; }
.billing-invoices time { color: var(--muted); }
.demo-capability-notice { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.demo-capability-notice p { margin: 5px 0 0; color: var(--muted); }
@media (max-width: 860px) {
  .warber-nav { align-items: center; }
  .warber-nav nav { gap: 12px; }
  .warber-nav nav > a:not(.warber-nav-cta):not(:last-of-type) { display: none; }
  .warber-page { padding-top: 8px; }
  .warber-hero { min-height: auto; padding: 44px 0 56px; }
  .warber-hero h1 { font-size: 54px; }
  .warber-hero-product { margin-top: 12px; }
  .warber-problem,
  .warber-story-section,
  .warber-story-section-reverse,
  .warber-context-heading,
  .warber-difference,
  .warber-pricing,
  .warber-faq { grid-template-columns: 1fr; gap: 30px; }
  .warber-problem .warber-kicker,
  .warber-context-heading .warber-kicker { grid-column: auto; margin-bottom: -14px; }
  .warber-story-section-reverse .warber-story-copy,
  .warber-story-section-reverse .warber-product-pair { grid-column: auto; grid-row: auto; }
  .warber-story-section-reverse .warber-story-copy { order: -1; }
  .warber-problem,
  .warber-context,
  .warber-difference,
  .warber-audience,
  .warber-faq { padding: 80px 0; }
  .warber-story-section { padding-top: 80px; }
  .warber-faq-heading { position: static; }
  .platform-tenant-summary, .platform-tenant-detail-grid { grid-template-columns: 1fr; }
  .platform-tenant-search { grid-template-columns: 1fr auto; }
  .warber-legal-bases div { grid-template-columns: 1fr; gap: 5px; }
  .platform-tenant-search input { grid-column: 1 / -1; }
  .demo-capability-notice { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 580px) {
  .warber-nav, .warber-page { width: min(100% - 28px, 1240px); }
  .warber-brand span { display: none; }
  .warber-brand img { width: 46px; height: 46px; }
  .warber-nav nav > a:not(.warber-nav-cta) { display: none; }
  .warber-hero { padding-top: 30px; text-align: left; }
  .warber-hero h1 { font-size: 44px; }
  .warber-lead { font-size: 18px; }
  .warber-hero .warber-cta-row { justify-content: flex-start; }
  .warber-hero .warber-primary, .warber-hero .warber-secondary { width: 100%; }
  .warber-hero-product { width: calc(100% + 28px); margin-left: -14px; }
  .warber-problem h2, .warber-story-section h2, .warber-context h2, .warber-difference h2, .warber-audience h2, .warber-faq h2, .warber-final-cta h2 { font-size: 38px; }
  .warber-problem > p:last-child, .warber-story-copy > p, .warber-context-heading > p, .warber-audience > p, .warber-faq-heading > p, .warber-difference-list p, .warber-pricing p { font-size: 16px; }
  .warber-view-gallery, .warber-context-gallery { grid-template-columns: 1fr; gap: 32px; }
  .warber-context-main { grid-column: auto; }
  .warber-product-pair figure:first-child { width: 100%; }
  .warber-product-pair figure:last-child { width: 86%; margin-top: -18%; }
  .warber-difference-list article { grid-template-columns: 32px minmax(0, 1fr); }
  .warber-pricing h2 { font-size: 54px; }
  .warber-pricing-details .warber-primary { width: 100%; }
  .warber-final-cta { padding-top: 72px; }
  .warber-final-cta .warber-primary, .warber-final-cta .warber-secondary { width: 100%; }
}
.shell { min-height: 100vh; display: grid; grid-template-columns: 260px minmax(0, 1fr); transition: grid-template-columns .18s ease; }
[data-sidebar="collapsed"] .shell { grid-template-columns: 78px minmax(0, 1fr); }
.shell.sidebar-collapsed { grid-template-columns: 78px minmax(0, 1fr); }
.sidebar { background: var(--panel); padding: 18px; display: flex; flex-direction: column; gap: 18px; min-height: 100vh; }
.brand { min-height: 60px; display: flex; align-items: center; justify-content: center; }
.brand-logo { display: block; width: 60px; max-height: 60px; object-fit: contain; object-position: center; }
.nav { display: grid; gap: 6px; }
.nav-account-actions { display: grid; gap: 6px; margin-top: 50px; }
.nav-separator { width: 100%; border-top: 1px solid var(--line); }
.nav a, .nav .nav-action { display: flex; gap: 10px; align-items: center; width: 100%; text-align: left; }
.nav-inbox-link { position: relative; }
.nav-inbox-link.has-unread { color: var(--text); }
.nav-planner-link { margin-bottom: 25px; }
.nav-unread-dot { position: absolute; top: 7px; right: 7px; width: 8px; height: 8px; border-radius: 999px; background: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.nav a, .button, button { min-height: 40px; border-radius: 8px; border: 0; background: var(--panel-2); color: var(--text); padding: 9px 12px; cursor: pointer; }
.is-submitting { opacity: .88; }
button.is-loading { position: relative; pointer-events: none; }
button.is-loading::after { content: ""; display: inline-block; width: 12px; height: 12px; margin-left: 8px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 999px; animation: warber-spin .7s linear infinite; vertical-align: -2px; }
@keyframes warber-spin { to { transform: rotate(360deg); } }
.button, .button-like { display: inline-flex; align-items: center; gap: 8px; }
.button-like { min-height: 40px; border-radius: 8px; background: var(--panel-2); color: var(--text); padding: 9px 12px; }
.icon-button { display: inline-grid; place-items: center; width: 38px; min-width: 38px; padding: 0; }
.success-button { color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, var(--panel-2)); }
.nav a:hover, .button:hover, button:hover { border-color: var(--accent); }
.sidebar-menu-button { order: -2; }
[data-sidebar="collapsed"] .shell .sidebar,
.shell.sidebar-collapsed .sidebar { align-items: stretch; }
[data-sidebar="collapsed"] .shell .brand,
.shell.sidebar-collapsed .brand { justify-content: center; }
[data-sidebar="collapsed"] .shell .nav a,
[data-sidebar="collapsed"] .shell .nav .nav-action,
.shell.sidebar-collapsed .nav a,
.shell.sidebar-collapsed .nav .nav-action { display: grid; place-items: center; }
[data-sidebar="collapsed"] .shell .nav-account-actions,
.shell.sidebar-collapsed .nav-account-actions { display: grid; }
[data-sidebar="collapsed"] .shell .nav a span,
[data-sidebar="collapsed"] .shell .nav .nav-action span,
.shell.sidebar-collapsed .nav a span,
.shell.sidebar-collapsed .nav .nav-action span { display: none; }
.shell.sidebar-collapsed .sidebar button { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.main { padding: 24px 24px 280px; min-width: 0; }
.topbar { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 22px; }
.shell-identity { display: flex; align-items: center; gap: 10px; min-width: 0; }
.shell-identity-copy { display: grid; gap: 2px; min-width: 0; }
.shell-identity-copy strong, .shell-identity-copy .muted { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo-workspace-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 18px;
  border: 1px solid color-mix(in srgb, var(--accent) 26%, var(--line));
  border-radius: 8px;
  background: color-mix(in srgb, var(--accent) 9%, var(--panel));
  color: var(--text);
  padding: 10px 12px;
}
.demo-workspace-banner span { color: var(--muted); }
.demo-workspace-banner a { color: var(--accent); font-weight: 700; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.page-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin: 0 0 1.34em; }
.page-header h1, .page-header h2 { margin: 0; }
.section-head, .editable-heading, .chat-title-bar { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.section-head h2, .editable-heading h1, .chat-title-bar h1 { margin: 0; }
.accent-link { color: var(--accent); }
.task-status-chip { display: inline-flex; align-items: center; border-radius: 999px; padding: 4px 9px; background: var(--panel-2); font-size: 12px; font-weight: 600; line-height: 1; }
.task-state-line { display: inline-flex; align-items: center; gap: 8px; margin: 12px 0 2px; }
.task-state-label,
.edit-field > span:first-child { color: var(--muted); font-size: 12px; }
.project-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.project-title-row h1 { margin: 0; min-width: 0; }
.project-title-row .title-action-row { flex: 0 0 auto; }
.project-heading-main { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; min-width: 0; }
.title-action-row { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.overview-section-head { justify-content: flex-start; }
.overview-project-title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
.overview-create-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 5px 9px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  color: color-mix(in srgb, var(--accent) 72%, var(--text));
  font-size: 13px;
  font-weight: 600;
}
.overview-create-form { display: inline-flex; margin: 0; }
.overview-create-action .icon { width: 15px; height: 15px; stroke-width: 2.2; }
.overview-create-action:hover,
.overview-create-action:focus-visible {
  background: color-mix(in srgb, var(--accent) 14%, var(--panel-2));
}
.inline-edit-form { margin-top: 12px; }
.inline-edit-actions { gap: 8px; margin: 6px 0 18px; }
.editable-heading .inline-edit-title,
.chat-title-edit input,
.project-settings-title-input {
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  padding: 6px 8px;
  font-size: 2em;
  font-weight: 700;
  line-height: 1.2;
}
.editable-heading .inline-edit-title { flex: 1 1 auto; min-width: 0; max-width: none; }
.project-settings-heading { flex: 1 1 auto; min-width: 0; }
.project-settings-heading h1 { margin: 0 0 6px; }
.project-settings-title-input { display: block; background: var(--panel); margin: 0 0 8px; }
.project-edit-form input,
.project-edit-form textarea,
.project-edit-form .mention-overlay,
.project-settings-description-input { background: var(--panel); border-radius: 8px; }
.project-edit-form .mention-overlay { color: var(--text); }
.project-edit-form .mention-field:has(.project-settings-description-input) .mention-overlay,
.project-edit-form .project-settings-description-input { color: var(--muted); }
.project-edit-form .mention-field.has-mention-overlay textarea:focus,
.project-edit-form .mention-field.has-mention-overlay textarea:focus-visible,
.project-edit-form .mention-field.has-mention-overlay textarea:active { background: transparent; }
.project-edit-form .mention-field.has-mention-overlay textarea:placeholder-shown,
.project-edit-form .mention-field.has-mention-overlay:has(.mention-overlay[hidden]) textarea { background: var(--panel); }
.chat-title-bar .inline-edit-form { flex: 1 1 min(520px, 100%); margin-top: 0; }
.chat-title-edit { display: grid; gap: 8px; align-items: start; }
.chat-title-edit input { width: 100%; }
.document-main-panel > .identity-line { margin-bottom: 14px; }
.task-overview-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 14px; }
.document-edit-form { margin-top: 0; }
.document-edit-form select { width: 100%; max-width: none; }
.project-list { display: grid; grid-template-columns: 1fr; gap: 16px; }
.single-column-layout { display: grid; grid-template-columns: 1fr; }
.project-card { width: 100%; }
.card, .panel { background: var(--panel); border-radius: 8px; padding: 16px; box-shadow: var(--shadow); }
.panel { margin-bottom: 16px; }
.security-card { width: min(560px, 100%); margin-inline: auto; }
.security-panel { margin-top: 16px; }
.two-factor-setup { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: center; margin: 16px 0; }
.two-factor-qr { width: 220px; max-width: 100%; border-radius: 8px; background: #fff; padding: 10px; }
.two-factor-manual { display: grid; gap: 8px; min-width: 0; }
.two-factor-manual code, .recovery-code-list code { display: block; overflow-wrap: anywhere; border-radius: 8px; background: var(--bg); color: var(--text); padding: 10px; }
.recovery-code-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; margin: 16px 0; }
.muted { color: var(--muted); }
.flash-outlet { position: fixed; top: 20px; left: 50%; z-index: 1200; display: grid; gap: 8px; width: min(500px, calc(100vw - 32px)); transform: translateX(-50%); pointer-events: none; }
.flash { padding: 10px 12px; border-radius: 8px; margin-bottom: 10px; background: var(--panel-2); box-shadow: var(--shadow); pointer-events: auto; animation: flash-auto-dismiss 2s ease forwards; }
.flash-error { border-left: 4px solid var(--danger); }
.flash-success { border-left: 4px solid var(--accent); }
@keyframes flash-auto-dismiss {
  0%, 78% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-8px); visibility: hidden; }
}
.turbo-frame-fallback { margin: 0; }
.turbo-frame-fallback p { margin: 4px 0 0; color: var(--muted); }
[data-realtime-stale="true"] { outline: 1px dashed color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 3px; }
.form-grid { display: grid; gap: 10px; }
.form-grid input, .form-grid textarea, .form-grid select, .actions input { width: 100%; border: 0; border-radius: 8px; background: var(--bg); color: var(--text); padding: 10px; }
input:focus, textarea:focus, select:focus { outline: none; box-shadow: none; }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 14%, transparent); background: color-mix(in srgb, var(--bg) 88%, var(--panel)); }
.project-settings-title-input:focus,
.project-settings-title-input:focus-visible,
.project-settings-title-input:active {
  background: var(--panel);
}
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.edit-field { display: grid; gap: 6px; min-width: 0; }
.edit-field-wide { gap: 8px; }
.workspace-slug-status { min-height: 18px; color: var(--muted); font-size: 12px; }
.workspace-slug-status.is-available { color: color-mix(in srgb, var(--accent) 76%, var(--text)); }
.workspace-slug-status.is-unavailable { color: var(--danger); }
.option-strip { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.check-pill { position: relative; display: inline-flex; gap: 6px; align-items: center; border-radius: 999px; padding: 6px 10px; color: var(--muted); background: color-mix(in srgb, var(--badge-color, var(--panel-2)) 8%, var(--panel)); cursor: pointer; transition: background .16s ease, color .16s ease, border-color .16s ease, box-shadow .16s ease; user-select: none; -webkit-user-select: none; }
.check-pill input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.check-pill:has(input:checked) { color: color-mix(in srgb, var(--badge-color, var(--accent)) 82%, var(--text)); background: color-mix(in srgb, var(--badge-color, var(--accent)) 18%, var(--panel)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--badge-color, var(--accent)) 18%, transparent); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.identity-line { display: flex; gap: 10px; align-items: center; min-width: 0; }
.avatar { display: inline-block; width: 44px; height: 44px; border-radius: 999px; object-fit: cover; background: var(--panel-2); border: 1px solid var(--line); flex: 0 0 auto; }
.avatar-sm { width: 28px; height: 28px; }
.avatar-stack { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.task-contributor { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.task-contributor.is-assignee .avatar { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 35%, transparent); }
.task-contributor .badge { padding: 2px 6px; font-size: 11px; color: color-mix(in srgb, var(--accent) 72%, var(--text)); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); background: color-mix(in srgb, var(--accent) 10%, transparent); }
.member-row { display: flex; justify-content: space-between; gap: 12px; align-items: center; border-top: 1px solid var(--line); padding: 12px 0; }
.member-row:first-of-type { border-top: 0; }
.member-row select { min-width: 160px; border: 0; border-radius: 8px; background: var(--bg); color: var(--text); padding: 10px; }
.badge { display: inline-flex; align-items: center; border-radius: 999px; padding: 3px 8px; color: var(--muted); font-size: 12px; }
.task-color-badge { color: color-mix(in srgb, var(--badge-color, var(--muted)) 78%, var(--text)); background: color-mix(in srgb, var(--badge-color, var(--panel-2)) 14%, var(--panel)); }
.view-tabs { display: flex; gap: 8px; margin: 0 0 16px; }
.project-toolbar { align-items: center; justify-content: space-between; }
.view-tab-group { display: flex; flex-wrap: wrap; gap: 8px; }
.view-tabs a { border-radius: 8px; padding: 8px 12px; color: var(--muted); }
.view-tabs a.active { border: 1px solid var(--accent); color: var(--text); background: var(--panel); }
.toolbar-toggle-group { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; margin-left: auto; }
.toolbar-toggle-group .subtask-toggle { margin-left: 0; }
.subtask-toggle { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; min-width: 0; min-height: 44px; }
.subtask-toggle i { width: 42px; height: 24px; flex: 0 0 42px; border-radius: 999px; background: var(--panel-2); position: relative; border: 1px solid var(--line); }
.subtask-toggle i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 999px; background: var(--muted); transition: transform .16s ease, background .16s ease; }
.subtask-toggle.is-on i::after { transform: translateX(18px); background: var(--accent); }
.inline-form { display: inline-flex; margin-top: 12px; }
.kanban { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 14px; overflow-x: auto; overflow-anchor: none; padding-bottom: 10px; }
.kanban-column { background: var(--panel-2); border-radius: 8px; padding: 16px; min-height: 320px; }
.task-card { display: flex; flex-direction: column; gap: 10px; background: var(--panel); border-radius: 8px; padding: 12px; margin: 10px 0; cursor: grab; transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; border: 1px solid transparent; }
.task-card:active { cursor: grabbing; }
.task-card-head { display: flex; align-items: center; gap: 10px; }
.kanban-drag-handle { display: none; width: 44px; height: 44px; place-items: center; flex: 0 0 auto; color: var(--muted); cursor: grab; touch-action: none; }
.kanban-drag-handle .icon { width: 20px; height: 20px; }
.due-indicator { display: inline-flex; gap: 6px; align-items: center; color: var(--muted); }
.due-indicator .icon { width: 15px; height: 15px; }
.due-warning { color: #f59e0b; }
.due-danger { color: var(--danger); }
.task-card-updated { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); transition: box-shadow .2s ease, border-color .2s ease; }
.task-card-committing { cursor: progress; }
.task-list { display: grid; gap: 14px; }
.task-row { display: flex; justify-content: space-between; gap: 12px; align-items: center; border-top: 1px solid var(--line); padding: 12px 0; }
.task-row:first-of-type { border-top: 0; }
.task-badges { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.task-checklist { display: grid; gap: 14px; }
.task-checklist-head { align-items: start; }
.task-checklist-head h2 { margin-bottom: 2px; }
.task-checklist-create { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin: 0; }
.task-checklist-create input, .task-checklist-edit input { width: 100%; min-width: 0; border: 0; border-radius: 8px; background: var(--bg); color: var(--text); padding: 10px; }
.task-checklist-list { display: grid; }
.task-checklist-row { display: grid; grid-template-columns: 38px 34px minmax(0, 1fr) auto; gap: 8px; align-items: center; min-height: 64px; border-top: 1px solid var(--line); padding: 8px 0; }
.task-checklist-row:first-child { border-top: 0; }
.task-checklist-row form { margin: 0; }
.task-checklist-row > form { align-self: center; }
.task-checklist-drag-handle { display: grid; width: 38px; min-width: 38px; min-height: 38px; align-self: center; place-items: center; padding: 0; border: 0; background: transparent; touch-action: none; }
.task-checklist-drag-handle .icon { width: 18px; height: 18px; }
.task-checklist-toggle { display: block; width: 28px; min-width: 28px; min-height: 28px; padding: 0; border: 2px solid var(--accent); border-radius: 999px; background: transparent; }
.task-checklist-toggle.is-completed { background: var(--accent); box-shadow: inset 0 0 0 5px var(--panel); }
.task-checklist-copy { position: relative; display: flex; min-width: 0; min-height: 44px; padding-block: 1.2em; align-items: center; }
.task-checklist-lock-status { position: absolute; right: 0; bottom: 0; left: 0; display: block; min-width: 0; margin: 0; overflow: hidden; color: var(--muted); font-size: .85rem; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.task-checklist-display { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; align-items: center; width: 100%; min-width: 0; }
.task-checklist-display > span { min-width: 0; overflow-wrap: anywhere; word-break: break-word; }
.task-checklist-row.is-completed .task-checklist-display > span { color: var(--muted); text-decoration: line-through; }
.task-checklist-edit-trigger .icon { width: 17px; height: 17px; }
.task-checklist-edit { position: static; display: grid; grid-template-columns: minmax(170px, 1fr) 38px 38px; gap: 6px; align-items: center; width: 100%; }
.task-checklist-edit[hidden] { display: none; }
.task-checklist-actions { display: flex; gap: 4px; align-self: center; align-items: center; }
.task-checklist-actions .icon-button { width: 38px; min-width: 38px; min-height: 38px; }
.task-checklist-actions .icon { width: 17px; height: 17px; }
.task-checklist-empty { margin: 0; }
.inbox-actions { margin-bottom: 16px; }
.nudge-form { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(120px, 170px) auto; gap: 10px; align-items: center; }
.nudge-form input { width: 100%; border: 0; border-radius: 8px; background: var(--bg); color: var(--text); padding: 10px; }
.nudge-timeframe-field { display: grid; grid-template-columns: minmax(70px, 1fr) auto; align-items: center; gap: 8px; border-radius: 8px; background: var(--bg); padding-right: 10px; }
.nudge-timeframe-field input { background: transparent; padding-right: 0; }
.nudge-timeframe-field span:not(.sr-only) { color: var(--muted); font-size: 13px; }
.nudge-list { display: grid; gap: 10px; }
.nudge-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px; background: color-mix(in srgb, var(--panel) 92%, var(--panel-2)); scroll-margin-top: 96px; }
.nudge-row:target { animation: nudge-target-pulse 1.8s ease-out; }
.nudge-row form { margin: 0; }
.nudge-check { display: block; min-height: 22px; width: 22px; min-width: 22px; padding: 0; border: 2px solid var(--accent); border-radius: 999px; background: transparent; }
.nudge-check.is-done { background: var(--accent); box-shadow: inset 0 0 0 4px var(--panel); }
.nudge-body { display: grid; gap: 4px; min-width: 0; }
.nudge-body strong { overflow-wrap: anywhere; }
.nudge-warning .nudge-check { border-color: #f59e0b; }
.nudge-danger .nudge-check { border-color: var(--danger); }
.nudge-done { opacity: .68; }
.nudge-done .nudge-body strong { text-decoration: line-through; }
.planner-zones { display: grid; gap: 16px; }
.planner-zone-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 12px; }
.planner-zone-head h2 { margin: 0; }
.planner-list { display: grid; gap: 10px; }
.planner-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px; background: color-mix(in srgb, var(--panel) 92%, var(--panel-2)); }
.planner-row-nudge { grid-template-columns: minmax(0, 1fr); }
.planner-row form { margin: 0; }
.planner-row-main { display: grid; gap: 5px; min-width: 0; }
.planner-row-main strong { overflow-wrap: anywhere; }
.planner-row-kicker { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.planner-row-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: color-mix(in srgb, var(--muted) 84%, var(--text)); font-size: 13px; }
.planner-row-meta svg { width: 14px; height: 14px; vertical-align: -2px; }
.planner-list-more { min-height: 22px; color: var(--muted); font-size: 13px; text-align: center; background: linear-gradient(180deg, color-mix(in srgb, var(--panel) 80%, transparent), transparent); border-radius: 0 0 8px 8px; padding: 10px 8px 2px; }

@keyframes nudge-target-pulse {
  0% { background: color-mix(in srgb, var(--accent) 24%, var(--panel)); box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 42%, transparent); }
  100% { background: color-mix(in srgb, var(--panel) 92%, var(--panel-2)); box-shadow: none; }
}
.config-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 14px; align-items: start; }
.config-section { display: grid; gap: 12px; padding: 12px; border-radius: 8px; background: color-mix(in srgb, var(--panel-2) 52%, transparent); }
.config-section-head { display: flex; align-items: center; gap: 10px; }
.config-section h3 { margin: 0; }
.config-form { display: grid; grid-template-columns: minmax(120px, 1fr) 42px; gap: 8px; align-items: center; }
.config-form input { min-width: 0; border: 0; border-radius: 8px; background: var(--bg); color: var(--text); padding: 9px; }
.config-form input[type="color"] { padding: 4px; min-height: 38px; cursor: pointer; }
.config-form button { grid-column: 1 / -1; }
.config-row { display: grid; grid-template-columns: auto minmax(0, 1fr) max-content; gap: 10px; align-items: center; border: 0; border-radius: 8px; padding: 10px; background: color-mix(in srgb, var(--panel) 82%, transparent); }
.config-row + .config-row { margin-top: 8px; }
.config-row .config-form { min-width: 0; }
.config-row.archived { opacity: .62; }
.config-row-display { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 8px; align-items: center; min-width: 0; }
.config-row-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.config-row-display input[type="color"],
.config-row-edit-form .config-form input[type="color"] { appearance: none; -webkit-appearance: none; box-sizing: border-box; inline-size: 42px; min-inline-size: 42px; max-inline-size: 42px; block-size: 34px; min-block-size: 34px; max-block-size: 34px; width: 42px; min-width: 42px; max-width: 42px; height: 34px; min-height: 34px; max-height: 34px; border: 0; border-radius: 8px; padding: 4px; background: var(--bg); }
.config-row-display input[type="color"] { pointer-events: none; }
.config-row-display input[type="color"]::-webkit-color-swatch-wrapper,
.config-row-edit-form .config-form input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
.config-row-display input[type="color"]::-webkit-color-swatch,
.config-row-edit-form .config-form input[type="color"]::-webkit-color-swatch { border: 0; border-radius: 4px; }
.config-row-edit-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; align-items: start; min-width: 0; }
.config-row-edit-form .config-form { grid-template-columns: 42px minmax(0, 1fr); }
.config-row-edit-form .config-form input[name="name"] { font-weight: 600; line-height: 1.2; }
.config-row-edit-form[hidden] { display: none; }
.config-row-edit-form .inline-edit-actions { margin: 0; }
.config-row-edit-actions { justify-content: flex-start; padding-left: 50px; }
.config-row .inline-edit-actions { margin: 0; }
.config-row-actions { display: inline-flex; gap: 6px; align-items: center; justify-content: flex-end; min-width: max-content; }
.config-row-actions form { margin: 0; }
.drag-handle { color: var(--muted); cursor: grab; padding-inline: 3px; }
.config-state-toggle { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 32px; border-radius: 8px; padding: 6px 9px; color: color-mix(in srgb, var(--accent) 68%, var(--text)); background: color-mix(in srgb, var(--accent) 8%, transparent); cursor: pointer; transition: background .16s ease, color .16s ease, box-shadow .16s ease; user-select: none; -webkit-user-select: none; }
.config-state-toggle input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.config-state-toggle .icon { width: 15px; height: 15px; stroke-width: 2; }
.config-state-toggle-danger { color: color-mix(in srgb, var(--danger) 72%, var(--text)); background: color-mix(in srgb, var(--danger) 8%, transparent); }
.config-state-toggle-restore { color: color-mix(in srgb, var(--accent) 74%, var(--text)); }
.config-state-toggle:hover,
.config-state-toggle:focus-within { background: color-mix(in srgb, var(--accent) 14%, var(--panel-2)); }
.config-state-toggle-danger:hover,
.config-state-toggle-danger:focus-within,
.config-state-toggle-danger:has(input:checked) { background: color-mix(in srgb, var(--danger) 14%, var(--panel-2)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--danger) 20%, transparent); }
.config-state-toggle:has(input:checked):not(.config-state-toggle-danger) { background: color-mix(in srgb, var(--accent) 16%, var(--panel-2)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 22%, transparent); }
.config-row-actions .config-state-toggle { width: 38px; min-width: 38px; min-height: 38px; justify-content: center; padding: 0; background: transparent; }
.config-row-actions .config-state-toggle-danger,
.config-row-actions .config-state-toggle-danger:hover,
.config-row-actions .config-state-toggle-danger:focus-within,
.config-row-actions .config-state-toggle-danger:has(input:checked) { background: transparent; box-shadow: none; }
.config-row-actions .config-state-toggle-restore,
.config-row-actions .config-state-toggle-restore:hover,
.config-row-actions .config-state-toggle-restore:focus-within { background: transparent; box-shadow: none; }
.is-pointer-dragging, .is-pointer-dragging * { cursor: grabbing !important; user-select: none; }
.drag-floating { position: fixed; left: 0; top: 0; z-index: 1000; pointer-events: none; opacity: 1 !important; margin: 0 !important; transform-origin: top left; transition: none !important; will-change: transform; box-shadow: 0 28px 70px rgba(16, 24, 40, .32); border-color: color-mix(in srgb, var(--accent) 62%, var(--line)); filter: none; }
.drag-placeholder { transition: none !important; border: 1px dashed color-mix(in srgb, var(--accent) 58%, var(--line)); background: color-mix(in srgb, var(--accent) 10%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 18%, transparent); }
.task-card.drag-placeholder { cursor: grabbing; }
.config-row.drag-placeholder, .task-checklist-row.drag-placeholder { border-top: 0; border-radius: 8px; padding-top: 0; }
.message { border-left: 3px solid var(--accent); padding: 10px 12px; background: var(--panel-2); border-radius: 0 8px 8px 0; margin-bottom: 10px; }
.message-head { display: flex; gap: 8px; align-items: center; justify-content: space-between; }
.message-head-meta { display: flex; gap: 8px; align-items: center; }
.message-timestamps { position: relative; flex: 0 0 auto; }
.message-timestamps summary { list-style: none; }
.message-timestamps summary::-webkit-details-marker { display: none; }
.message-timestamps-trigger { display: inline-grid; width: 28px; min-width: 28px; height: 28px; place-items: center; border-radius: 50%; color: var(--muted); cursor: pointer; }
.message-timestamps-trigger:hover, .message-timestamps-trigger:focus-visible, .message-timestamps[open] .message-timestamps-trigger { color: var(--text); background: var(--panel); }
.message-timestamps-trigger .icon { width: 16px; height: 16px; }
.message-timestamps-popover { position: absolute; top: calc(100% + 6px); right: 0; z-index: 12; display: grid; grid-template-columns: auto max-content; gap: 4px 10px; width: max-content; max-width: min(280px, calc(100vw - 40px)); padding: 9px 11px; border: 0; border-radius: 8px; background: var(--panel); color: var(--text); box-shadow: var(--shadow); font-size: 12px; line-height: 1.4; }
.message-timestamps-popover span { color: var(--muted); }
.message-timestamps-popover time { font-variant-numeric: tabular-nums; white-space: nowrap; }
.message .inline-edit-form { margin: 4px 0 0; }
.message .inline-edit-form textarea { min-height: 54px; line-height: 1.45; }
.thread { margin-left: 24px; }
.mention-link { color: var(--accent); }
.mention-field { --mention-field-padding: 10px; --mention-field-line-height: 1.45; position: relative; display: grid; }
.mention-field.has-mention-overlay textarea { position: relative; z-index: 2; box-sizing: border-box; color: transparent; caret-color: var(--text); background: transparent; border-radius: 8px; border: 0; padding: var(--mention-field-padding); line-height: var(--mention-field-line-height); white-space: pre-wrap; overflow-wrap: break-word; }
.mention-field.has-mention-overlay textarea::placeholder { color: var(--muted); opacity: 1; }
.mention-field.has-mention-overlay textarea:placeholder-shown { color: var(--text); background: var(--bg); }
.mention-field.has-mention-overlay:has(.mention-overlay[hidden]) textarea { color: var(--text); background: var(--bg); }
.mention-overlay { position: absolute; inset: 0; z-index: 1; box-sizing: border-box; overflow: hidden; white-space: pre-wrap; overflow-wrap: break-word; pointer-events: none; border-radius: 8px; background: var(--bg); color: var(--text); padding: var(--mention-field-padding); font: inherit; letter-spacing: inherit; line-height: var(--mention-field-line-height); }
.mention-overlay[hidden], .mention-overlay:empty { display: none; }
.mention-token { color: var(--accent); }
.member-picker textarea { border: 0; border-radius: 8px; padding: 9px 12px; min-height: 40px; color: var(--text); background: var(--bg); }
.mention-menu { position: absolute; left: 0; right: 0; bottom: calc(100% + 6px); z-index: 30; display: grid; gap: 4px; max-height: 220px; overflow: auto; padding: 6px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); }
.mention-menu[hidden] { display: none; }
.mention-menu button { min-height: 32px; text-align: left; background: var(--bg); }
.chat-dock { position: fixed; right: 18px; bottom: 18px; z-index: 20; display: grid; gap: 10px; justify-items: end; pointer-events: none; }
.chat-dock * { pointer-events: auto; }
.chat-dock-content { display: grid; gap: 10px; justify-items: end; }
.chat-dock-toolbar { display: flex; width: 44px; min-height: 44px; justify-content: flex-end; }
.chat-dock-toolbar[hidden] { display: none; }
.chat-dock-collapse { width: 44px; min-width: 44px; height: 44px; box-shadow: var(--shadow); }
.chat-dock-collapse > span { display: inline-grid; width: 20px; height: 20px; place-items: center; }
.chat-dock-collapse > span[hidden] { display: none; }
.chat-dock[data-chat-dock-collapsed="true"] .chat-dock-content { display: none; }
.chat-dock-windows { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: flex-end; gap: 12px; max-width: min(1080px, calc(100vw - 36px)); overflow: visible; }
.chat-window { width: min(340px, calc(100vw - 36px)); max-height: min(420px, calc(100vh - 280px)); display: grid; grid-template-rows: auto minmax(120px, 1fr) auto; background: var(--panel); border-radius: 8px; box-shadow: var(--shadow); overflow: hidden; }
.chat-window[hidden] { display: none; }
.chat-window-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 12px; }
.chat-window-head .actions { flex-wrap: nowrap; }
.chat-window-head .button, .chat-window-head button { min-height: 32px; padding: 6px 9px; }
.chat-window-body { padding: 12px; overflow: auto; background: var(--panel); }
.chat-window-message { margin-bottom: 10px; padding: 9px 10px; border-radius: 8px; }
.chat-window-message p { margin: 4px 0 0; }
.chat-window-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding: 12px; background: var(--panel); }
.chat-window-form textarea { min-height: 42px; max-height: 96px; border: 0; border-radius: 8px; background: var(--bg); color: var(--text); padding: 10px; }
.chat-dock:not([data-chat-dock-ready]) { visibility: hidden; }
.chat-dock-launcher { display: grid; grid-template-columns: minmax(190px, 260px); justify-content: end; gap: 8px; max-width: min(260px, calc(100vw - 36px)); overflow: visible; }
.chat-dock-launcher-item { position: relative; min-width: 190px; max-width: 260px; }
.chat-dock-launcher button[data-chat-dock-open] { display: grid; gap: 2px; text-align: left; min-width: 0; width: 100%; max-width: none; padding-right: 46px; box-shadow: var(--shadow); }
.chat-dock-launcher button.active { outline: 2px solid var(--accent); }
.chat-dock-launcher button.unread { outline: 2px solid var(--accent); background: color-mix(in srgb, var(--accent) 16%, var(--panel-2)); }
.chat-dock-launcher-dismiss { position: absolute; top: 14px; right: 5px; z-index: 2; min-height: 30px; width: 30px; min-width: 30px; color: var(--danger); background: color-mix(in srgb, var(--danger) 10%, var(--panel-2)); }
.chat-dock-launcher-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; }
.chat-dock-launcher-title > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-dock-badge { display: inline-grid; min-width: 22px; height: 22px; place-items: center; border-radius: 999px; background: var(--accent); color: var(--bg); font-size: 12px; font-weight: 800; }
.chat-dock-launcher small { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-dock-more { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 190px; max-width: 260px; padding: 9px 10px; border-radius: 8px; background: color-mix(in srgb, var(--panel) 92%, transparent); box-shadow: 0 12px 28px color-mix(in srgb, #000 20%, transparent); color: var(--muted); font-size: 12px; }
.chat-dock-more .button { min-height: 30px; padding: 6px 9px; font-size: 12px; }
.chat-dock-more-actions { display: inline-flex; gap: 6px; align-items: center; }
.chat-meta { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 12px; }
.message-actions { align-items: flex-start; }
.message-actions-row { display: flex; gap: 10px; align-items: flex-start; }
.reply-form { display: grid; grid-template-columns: minmax(280px, 1fr) auto; width: min(620px, calc(100vw - 120px)); }
.reply-field { min-width: 220px; }
.chat-scroll-latest {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 19;
  transform: translateX(-50%);
  min-height: 38px;
  padding: 9px 14px;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.chat-scroll-latest[hidden] { display: none; }
.doc-body { line-height: 1.65; }
.markdown-editor { display: grid; gap: 8px; }
.markdown-toolbar { display: flex; flex-wrap: wrap; gap: 6px; }
.markdown-toolbar button { min-height: 32px; padding: 6px 9px; font-weight: 700; }
.markdown-preview { min-height: 96px; border: 1px solid var(--line); border-radius: 8px; padding: 10px; background: var(--bg); }
.markdown-preview[hidden] { display: none; }
.doc-list-row { margin: 20px 0; display: flex; align-items: center; gap: 10px; min-width: 0; }
.doc-depth-1 { padding-left: 18px; }
.doc-depth-2 { padding-left: 36px; }
.doc-depth-3 { padding-left: 54px; }
.doc-depth-4 { padding-left: 72px; }
.doc-depth-5 { padding-left: 90px; }
.doc-depth-6 { padding-left: 108px; }
.doc-depth-7 { padding-left: 126px; }
.doc-depth-8 { padding-left: 144px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 16px; align-items: start; }
.gantt-scale { position: relative; display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 12px; margin-bottom: 8px; padding-left: min(280px, 32%); }
.gantt-row { display: grid; grid-template-columns: minmax(180px, 280px) minmax(260px, 1fr); gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.gantt-row:first-of-type { border-top: 0; }
.gantt-task-summary { display: grid; gap: 6px; align-content: center; }
.gantt-row-badges { grid-column: 2; justify-content: flex-start; }
.gantt-track { position: relative; grid-column: 2; min-height: 38px; border-radius: 8px; background: var(--panel-2); padding: 5px; overflow: visible; }
.gantt-segment { position: absolute; top: 7px; height: 24px; border-radius: 6px; overflow: hidden; background: color-mix(in srgb, var(--accent) 82%, var(--panel)); color: var(--bg); min-width: 8px; }
.gantt-part { position: absolute; top: 0; bottom: 0; }
.gantt-part-work { left: 0; width: 100%; background: var(--accent); }
.gantt-part-overdue { background: var(--danger); }
.gantt-part-early { background: #16a34a; }
.gantt-label { position: relative; z-index: 2; display: inline-flex; align-items: center; height: 24px; padding: 0 8px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.gantt-today { position: absolute; top: -5px; bottom: -5px; width: 1px; z-index: 4; background: color-mix(in srgb, var(--text) 38%, transparent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--text) 8%, transparent); }
.gantt-marker { position: absolute; top: 3px; bottom: 3px; width: 10px; min-width: 10px; min-height: 0; padding: 0; border: 0; border-radius: 999px; background: transparent; transform: translateX(-5px); cursor: pointer; z-index: 5; }
.gantt-marker::before { content: ""; position: absolute; top: 0; bottom: 0; left: 4px; width: 2px; border-radius: 999px; background: #f59e0b; box-shadow: 0 0 0 3px color-mix(in srgb, #f59e0b 24%, transparent); }
.gantt-marker-popover { position: absolute; left: 50%; bottom: calc(100% + 8px); width: max-content; max-width: 260px; transform: translateX(-50%); padding: 7px 9px; border-radius: 8px; background: var(--panel); color: var(--text); box-shadow: var(--shadow); font-size: 12px; font-weight: 700; pointer-events: none; }
.sankey-panel { overflow: hidden; }
.task-flow-panel {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--panel) 92%, #07111f 8%), var(--panel));
}
.sankey-chart { display: block; width: 100%; max-width: 100%; height: auto; overflow: visible; }
.sankey-link { opacity: .18; transition: opacity .16s ease; outline: none; }
.sankey-link:hover, .sankey-link:focus-visible, .sankey-link.is-focused { opacity: .34; }
.sankey-chart.is-focusing-link .sankey-link { opacity: .06; }
.sankey-chart.is-focusing-link .sankey-link.is-focused { opacity: .36; }
.sankey-node rect { filter: drop-shadow(0 4px 10px color-mix(in srgb, #000 18%, transparent)); }
.sankey-node text {
  fill: var(--muted);
  font-size: 16px;
  pointer-events: none;
}
.sankey-label-title { font-weight: 700; }
.sankey-count { font-weight: 600; }
@media (max-width: 1120px) {
  .sankey-panel { overflow-x: auto; overflow-y: hidden; }
  .sankey-chart { width: 1080px; max-width: none; }
}
.setting-toggle { display: flex; gap: 10px; align-items: center; padding: 10px 0; color: var(--muted); }
.setting-toggle input { width: auto; }
.storage-unavailable { border: 1px dashed var(--line); border-radius: 8px; padding: 10px; background: var(--panel-2); color: var(--muted); }
.upload-form { gap: 8px; }
.upload-dropzone { position: relative; display: grid; gap: 6px; border: 1px dashed var(--line); border-radius: 8px; padding: 14px 14px 14px 54px; background: var(--panel-2); cursor: pointer; overflow: hidden; }
.upload-dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.upload-dropzone-icon { position: absolute; left: 14px; top: 50%; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 999px; color: var(--bg); background: var(--accent); opacity: 0; transform: translateY(calc(-50% + 3px)); transition: opacity .16s ease, transform .16s ease; }
.upload-dropzone:hover .upload-dropzone-icon, .upload-dropzone:focus-within .upload-dropzone-icon { opacity: 1; transform: translateY(-50%); }
.upload-progress { display: grid; gap: 4px; }
.upload-progress progress { width: 100%; height: 8px; border: 0; border-radius: 999px; overflow: hidden; }
.upload-progress progress::-webkit-progress-bar { background: var(--panel-2); }
.upload-progress progress::-webkit-progress-value { background: var(--accent); }
.upload-progress small { color: var(--muted); }
.avatar-upload.is-disabled { cursor: default; opacity: .72; }
.avatar-upload.is-disabled .avatar-upload-action { display: none; }
.avatar-upload-form { display: inline-grid; gap: 6px; justify-items: center; }
.account-profile-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.account-profile-head h1 { margin: 0; }
.profile-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px; border-top: 1px solid var(--line); padding-top: 18px; }
.profile-stat { display: grid; gap: 4px; min-width: 0; }
.profile-stat strong { font-size: 1.45rem; line-height: 1; }
.profile-stat span { font-size: 13px; }
.avatar-upload { position: relative; display: inline-grid; cursor: pointer; }
.avatar-upload .avatar { width: 72px; height: 72px; }
.avatar-upload input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.avatar-upload-action { position: absolute; right: -4px; bottom: -4px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 999px; background: var(--accent); color: var(--bg); opacity: 0; transform: translateY(3px); transition: opacity .16s ease, transform .16s ease; }
.avatar-upload:hover .avatar-upload-action, .avatar-upload:focus-within .avatar-upload-action { opacity: 1; transform: translateY(0); }
.danger-zone { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.danger-zone-panel .danger-zone { margin-top: 0; padding-top: 0; border-top: 0; }
.danger-button { border-color: var(--danger); color: var(--danger); }
.admin-test-actions { margin-top: 14px; }
.auth { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.auth .card { width: min(420px, 100%); }
.auth-brand { margin: 0 0 12px; }
.auth-brand-logo { display: block; width: min(190px, 78%); max-height: 120px; margin: 0 auto; object-fit: contain; }
.demo-login-panel { display: grid; gap: 12px; margin: 14px 0 16px; padding: 16px; border-radius: 8px; background: var(--panel-2); }
.demo-login-panel > div:first-child { display: grid; gap: 2px; }
.demo-login-panel .demo-login-title { color: var(--text); font-weight: 600; }
.demo-login-panel span { color: var(--muted); }
.demo-login-grid { display: grid; gap: 6px; }
.demo-login-row { display: grid; grid-template-columns: minmax(80px, 1fr) minmax(70px, .8fr) minmax(70px, .8fr); gap: 8px; align-items: center; }
.demo-login-header { color: var(--text); font-size: 12px; font-weight: 600; }
.demo-login-row code { border-radius: 8px; background: var(--panel); color: var(--text); padding: 6px 8px; text-align: center; }
@media (max-width: 820px) {
  html.mobile-nav-open, html.mobile-nav-open body { overflow: hidden; }
  .shell { min-height: 100dvh; grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); align-content: start; }
  [data-sidebar="collapsed"] .shell { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); }
  .shell.sidebar-collapsed { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); }
  .sidebar { position: fixed; inset: 0; z-index: 100; min-height: 100dvh; height: 100dvh; padding: 12px 16px 24px; display: grid; grid-template-columns: minmax(0, 1fr) 44px; grid-template-rows: 44px minmax(0, 1fr); gap: 12px; align-items: center; overflow: hidden; }
  .sidebar-menu-button { position: static; grid-column: 2; grid-row: 1; width: 44px; min-width: 44px; min-height: 44px; }
  .sidebar .brand { grid-column: 1; grid-row: 1; min-height: 44px; justify-content: flex-start; min-width: 0; }
  .sidebar .brand-logo { width: 60px; height: 44px; object-position: left center; }
  .shell.sidebar-collapsed .sidebar { position: sticky; inset: auto; grid-row: 1; min-height: auto; height: auto; grid-template-rows: 44px; align-self: start; align-items: center; padding: 12px 16px; overflow: visible; animation: none; }
  .shell.sidebar-collapsed .brand { justify-content: flex-start; }
  .shell.sidebar-collapsed .brand-logo { width: 60px; height: 44px; object-position: left center; }
  .shell.sidebar-collapsed .nav a, .shell.sidebar-collapsed .nav .nav-action { display: flex; padding: 9px 12px; }
  .shell.sidebar-collapsed .nav a span, .shell.sidebar-collapsed .nav .nav-action span { display: inline; }
  .nav { grid-column: 1 / -1; grid-row: 2; display: flex; width: 100%; height: 100%; max-height: 100%; min-height: 0; align-self: stretch; flex-direction: column; align-items: stretch; gap: 6px; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; -webkit-overflow-scrolling: touch; padding: 8px 0 max(8px, env(safe-area-inset-bottom)); animation: warber-mobile-nav-content-in .18s cubic-bezier(.2, .8, .2, 1); }
  .shell.sidebar-collapsed .nav { display: none; }
  .nav a, .nav .nav-action { min-width: 0; min-height: 48px; flex: 0 0 auto; padding: 11px 14px; }
  .nav a span, .nav .nav-action span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .nav-account-actions { display: flex; margin-top: 24px; flex-direction: column; gap: 6px; }
  .page-header, .project-toolbar { flex-wrap: wrap; }
  .toolbar-toggle-group { width: 100%; margin-left: 0; justify-content: flex-start; }
  .subtask-toggle { max-width: 100%; margin-left: 0; }
  .task-edit-form .form-row { grid-template-columns: minmax(0, 1fr); }
  .edit-field input[type="date"] { width: 100%; max-width: 100%; min-width: 0; }
  .split { grid-template-columns: 1fr; }
  .nudge-form { grid-template-columns: 1fr; }
  .config-form { grid-template-columns: 1fr 46px 70px; }
  .config-row-edit-form .config-form { grid-template-columns: 42px minmax(0, 1fr); }
  .config-row { align-items: stretch; flex-direction: column; }
  .member-row { align-items: stretch; flex-direction: column; }
  .task-card { touch-action: pan-y; cursor: default; }
  .kanban-drag-handle { display: grid; }
  .task-checklist-row { grid-template-columns: 44px 34px minmax(0, 1fr); }
  .task-checklist-create { grid-template-columns: minmax(0, 1fr); }
  .task-checklist-create button { width: 100%; }
  .task-checklist-drag-handle { width: 44px; min-width: 44px; min-height: 44px; }
  .task-checklist-actions { grid-column: 3; justify-content: flex-end; }
  .task-checklist-actions .icon-button, .task-checklist-edit-trigger { width: 44px; min-width: 44px; min-height: 44px; }
  .main { grid-row: 2; min-height: 0; padding: 16px 16px 240px; }
  .message, .message-actions, .message-actions-row, .task-comment-actions { min-width: 0; max-width: 100%; }
  .message-actions-row, .task-comment-actions { flex-wrap: wrap; }
  .reply-form, .chat-message-reply-form { grid-template-columns: minmax(0, 1fr); width: 100%; min-width: 0; }
  .reply-field { min-width: 0; }
  .chat-message-reply-form > button { width: 100%; }
  .chat-dock { right: calc(20px + env(safe-area-inset-right, 0px)); left: calc(20px + env(safe-area-inset-left, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); justify-items: stretch; }
  .chat-dock-toolbar { justify-self: end; }
  .chat-dock-windows { max-width: 100%; flex-wrap: nowrap; overflow-x: auto; }
  .chat-window { width: 100%; max-height: min(360px, calc(100vh - 240px)); }
  .chat-dock-launcher { grid-template-columns: 1fr; max-width: 100%; overflow: visible; }
  .chat-dock-more { min-width: 0; max-width: none; }
  .chat-dock-launcher button { min-width: 0; }
  .gantt-row { grid-template-columns: 1fr; }
  .gantt-row-badges, .gantt-track { grid-column: 1; }
}
@keyframes warber-mobile-nav-content-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .nav { animation: none; }
}
