@font-face {
  font-family: "Instrument Sans";
  src: url("./assets/fonts/instrument-sans.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("./assets/fonts/instrument-sans-italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-display: swap;
}
@font-face {
  font-family: "Crimson Pro";
  src: url("./assets/fonts/crimson-pro.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}
@font-face {
  font-family: "Crimson Pro";
  src: url("./assets/fonts/crimson-pro-italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #fbf8f4;
  --cream: #f1e7db;
  --ink: #0f0f0e;
  --muted: #544d45;
  --line: #d9ccbf;
  --coral: #f1481d;
  --coral-dark: #a03318;
  --green: #bbe6c1;
  --teal: #b8e5e7;
  --yellow-100: #faecc7;
  --yellow-300: #f3d47f;
  --yellow-700: #ca7900;
  --yellow-900: #633d03;
  --blue-100: #c2dcfa;
  --blue-700: #0c4e99;
  --sans: "Instrument Sans", Arial, sans-serif;
  --serif: "Crimson Pro", Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--sans); }
a { color: inherit; }
button, select { font: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 300; line-height: 1.08; }
a:focus-visible, button:focus-visible, select:focus-visible { outline: 3px solid var(--coral-dark); outline-offset: 5px; }
main:focus { outline: none; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: absolute; z-index: 2; top: 12px; left: 12px; background: var(--paper); padding: 10px; }
.frame { width: min(100% - 112px, 1240px); margin-inline: auto; }
#masthead { border-bottom: 1px solid var(--line); }
.site-header, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 96px; }
.wordmark { display: inline-flex; align-items: center; gap: 18px; text-decoration: none; white-space: nowrap; }
.wordmark img { width: 112px; height: auto; display: block; }
.wordmark span { border-left: 1px solid var(--line); padding-left: 18px; font: 300 32px/1 var(--serif); }
#site-nav, .header-actions { display: flex; gap: clamp(14px, 2vw, 28px); align-items: center; }
#site-nav a { text-decoration: none; font-size: 14px; white-space: nowrap; }
#site-nav a[href="#/intake"] { display: none; }
#site-nav a:hover, #site-nav a[aria-current] { text-decoration: underline; text-decoration-color: var(--coral); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.switcher select { color: var(--muted); border: 0; background: transparent; cursor: pointer; font-size: 12px; padding-block: 8px; }
.menu-toggle { display: none; }
.button, .text-link { display: inline-flex; align-items: center; justify-content: center; gap: 18px; font-weight: 400; text-decoration: none; width: fit-content; }
.button { color: var(--ink); background: var(--coral); border: 1px solid var(--coral); border-radius: 4px; padding: 12px 20px; font-size: 16px; min-height: 48px; }
.button:hover { background: #f46946; border-color: #f46946; }
.button.outline { background: transparent; border-color: var(--ink); }
.button.outline:hover { background: var(--ink); color: var(--paper); }
.header-cta { font-size: 14px; gap: 12px; white-space: nowrap; }
.text-link { gap: 12px; font-size: 15px; padding-block: 9px; }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.eyebrow { font: 400 13px/1.5 var(--sans); letter-spacing: .065em; text-transform: uppercase; }
.hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px; align-items: center; padding: 76px 52px 86px; margin: 26px -26px 0; background: var(--cream); border-radius: 8px 8px 28px 28px; }
.hero h1 { font: 300 clamp(72px, 7.5vw, 112px)/.96 var(--serif); letter-spacing: -.035em; margin-top: 24px; }
.hero-intro { max-width: 430px; padding-top: 45px; }
.hero-intro > p { font-size: 19px; line-height: 1.6; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.hero .actions { margin-top: 28px; }
.section { padding-block: 64px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }
.section-head h2 { font: 300 clamp(40px, 4.6vw, 64px)/1.05 var(--serif); letter-spacing: -.025em; }
.section-head .eyebrow { margin-bottom: 12px; }
.section-head p:not(.eyebrow) { margin-top: 12px; color: var(--muted); }
.service-list { border-top: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) auto; gap: 30px; align-items: center; min-height: 102px; padding: 22px 10px 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.service-row:hover { background: var(--cream); }
.service-row h3 { font: 300 clamp(27px, 2.9vw, 39px)/1.1 var(--serif); letter-spacing: -.015em; }
.service-row p { font-size: 15px; max-width: 45ch; color: var(--muted); }
.service-row > .arrow { margin-inline: 16px; }
.scope-band { background: var(--cream); padding: 36px 40px; border-radius: 8px; display: flex; justify-content: space-between; align-items: center; gap: 28px; }
.scope-band h2 { font: 300 clamp(32px, 3.5vw, 45px)/1.1 var(--serif); margin-bottom: 10px; }
.scope-band p { max-width: 57ch; }
.scope-band .button { flex-shrink: 0; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.team-grid article h3 { margin-top: 20px; font: 300 32px/1.1 var(--serif); }
.team-grid article p { margin-top: 8px; color: var(--muted); }
.initials { min-height: 156px; display: flex; align-items: end; padding: 20px 24px; border-radius: 6px; font: 300 78px/1 var(--serif); letter-spacing: -.035em; }
.cream { background: var(--cream); }
.green { background: var(--green); }
.teal { background: var(--teal); }
.sample-note { margin-top: 20px; color: var(--muted); font-size: 12px; }
.interior { min-height: 72vh; padding-block: 70px 88px; }
.page-heading { margin-bottom: 44px; }
.page-heading h1 { font: 300 clamp(50px, 6.8vw, 92px)/1.02 var(--serif); letter-spacing: -.03em; margin-block: 20px 24px; overflow-wrap: anywhere; }
.page-heading > p:not(.eyebrow) { max-width: 50ch; font-size: 19px; color: var(--muted); }
.notice { border-left: 3px solid var(--coral); padding: 30px; background: var(--cream); max-width: 740px; }
.notice h2 { font: 300 clamp(28px, 3vw, 40px)/1.1 var(--serif); margin-bottom: 14px; }
.page-actions { margin-top: 26px; }
#footer { border-top: 1px solid var(--line); }
.footer-inner p { color: var(--muted); font-size: 12px; }
.arrow { position: relative; display: inline-block; flex: 0 0 auto; width: 13px; height: 13px; }
.arrow::before { content: ""; position: absolute; top: 1px; right: 1px; width: 8px; height: 8px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; }
.arrow::after { content: ""; position: absolute; width: 12px; height: 1.5px; top: 6px; left: 0; background: currentColor; transform: rotate(-45deg); }
@media (max-width: 1120px) {
  .frame { width: calc(100% - 64px); }
  .site-header { flex-wrap: wrap; gap: 12px 24px; padding-block: 18px; }
  .header-actions { margin-left: auto; }
  .hero { margin-inline: -12px; padding-inline: 34px; gap: 36px; }
  .hero h1 { font-size: 86px; }
}
@media (max-width: 760px) {
  .frame { width: calc(100% - 40px); }
  .site-header { min-height: 76px; display: grid; grid-template-columns: auto 1fr; gap: 14px; }
  .wordmark { gap: 12px; }
  .wordmark img { width: 92px; }
  .wordmark span { padding-left: 12px; font-size: 29px; }
  .header-actions { justify-content: end; grid-column: 1 / -1; grid-row: 2; width: 100%; }
  .switcher { margin-right: auto; }
  .header-cta { min-height: 40px; padding: 7px 14px; }
  .menu-toggle { display: inline-block; justify-self: end; border: 1px solid var(--line); border-radius: 4px; background: transparent; color: var(--ink); font-size: 14px; padding: 8px 12px; }
  #site-nav { grid-column: 1 / -1; grid-row: 3; flex-wrap: wrap; display: none; padding-block: 4px; }
  #site-nav.open { display: flex; }
  #site-nav a[href="#/intake"] { display: inline; }
  .hero { grid-template-columns: 1fr; margin: 16px -8px 0; padding: 36px 24px 40px; gap: 22px; border-radius: 6px 6px 20px 20px; }
  .hero h1 { font-size: clamp(60px, 13vw, 90px); margin-top: 18px; }
  .hero-intro { padding-top: 0; max-width: 100%; }
  .hero-intro > p { font-size: 17px; }
  .hero .actions { margin-top: 22px; }
  .section { padding-block: 40px; }
  .section-head { align-items: start; flex-direction: column; gap: 16px; }
  .service-row { grid-template-columns: 1fr auto; gap: 10px; padding-block: 22px; }
  .service-row p { grid-column: 1; grid-row: 2; }
  .service-row > .arrow { grid-column: 2; grid-row: 1 / span 2; margin-inline: 8px; }
  .scope-band { flex-direction: column; align-items: start; padding: 28px 24px; gap: 22px; }
  .team-grid { gap: 16px; }
  .initials { min-height: 115px; padding: 14px; font-size: 54px; }
  .team-grid article h3 { font-size: 26px; }
  .team-grid article p { font-size: 14px; }
  .footer-inner { flex-wrap: wrap; gap: 14px; padding-block: 24px; }
  .footer-inner p { order: 3; width: 100%; }
  .interior { padding-block: 40px 56px; }
}
@media (max-width: 520px) {
  .team-grid { grid-template-columns: 1fr; gap: 30px; }
  .initials { min-height: 140px; }
}

/* Work 02: a shared functional layer using the existing brand foundation. */
input, textarea { font: inherit; color: var(--ink); }
input:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--coral-dark); outline-offset: 3px; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .55; }
[hidden] { display: none !important; }
.workspace { padding-block: 28px 80px; }
.work-nav { display: flex; gap: 8px 24px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 20px; margin-bottom: 28px; }
.work-nav a { font-size: 14px; text-decoration: none; padding-block: 8px; }
.work-nav a[aria-current] { text-decoration: underline; text-underline-offset: 8px; text-decoration-color: var(--coral); }
.work-heading { margin-block: 28px 36px; max-width: 850px; }
.work-heading h1 { font: 300 clamp(42px, 5vw, 68px)/1.05 var(--serif); letter-spacing: -.02em; margin-bottom: 18px; overflow-wrap: anywhere; }
.work-heading p, .muted, .help { color: var(--muted); }
.work-panel { border-top: 1px solid var(--line); padding-block: 28px; }
.work-panel h2 { font: 300 clamp(30px, 3vw, 42px)/1.15 var(--serif); margin-bottom: 20px; }
.work-panel h3 { font: 300 28px/1.2 var(--serif); margin-block: 20px 12px; }
.work-panel p { margin-bottom: 14px; }
.workspace form { max-width: 960px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-block: 18px; min-width: 0; }
.field > span { font-size: 14px; }
.field input, .field select, .field textarea, .list-toolbar input, textarea[readonly] { width: 100%; min-height: 46px; border: 1px solid #aa9e91; border-radius: 4px; background: #fffdfb; color: var(--ink); padding: 10px 12px; }
.field textarea { min-height: 100px; resize: vertical; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 24px; }
.form-actions, .list-toolbar { display: flex; gap: 12px 24px; align-items: center; flex-wrap: wrap; margin-block: 24px; }
.form-actions .button:not(:last-child) { background: transparent; border-color: var(--ink); }
.form-error { color: #8e2810; white-space: pre-wrap; }
#notice:not(:empty) { padding: 12px 16px; background: var(--green); margin-bottom: 24px; }
.steps { list-style-position: inside; display: flex; flex-wrap: wrap; gap: 10px 24px; padding: 0 0 20px; border-bottom: 1px solid var(--line); }
.steps li { color: var(--muted); }
.steps li[aria-current] { color: var(--ink); border-bottom: 2px solid var(--coral); }
.service-choices { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.service-choices label { padding: 20px; border: 1px solid var(--line); background: var(--cream); border-radius: 4px; }
input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--coral-dark); vertical-align: middle; }
.check { display: block; margin-block: 16px; }
.deliverable-fields { border: 1px solid var(--line); padding: 12px 24px 24px; margin-block: 28px; min-width: 0; border-radius: 4px; }
.deliverable-fields legend { font: 300 30px var(--serif); padding-inline: 10px; }
.workspace details { border: 1px solid var(--line); border-radius: 4px; padding: 18px 22px; margin-block: 12px; min-width: 0; }
.workspace summary { cursor: pointer; overflow-wrap: anywhere; }
.workspace details[open] > summary { margin-bottom: 20px; }
.facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px 30px; margin-block: 24px; }
.facts dt { color: var(--muted); font-size: 13px; margin-bottom: 4px; }
.facts dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.badge { display: inline-block; padding: 3px 10px; background: var(--cream); border-radius: 4px; font-size: 13px; text-transform: capitalize; }
.project-status { display: flex; gap: 20px; align-items: center; }
.table-wrap { width: 100%; overflow-x: auto; margin-block: 20px; }
table { border-collapse: collapse; width: 100%; min-width: 620px; text-align: left; }
th { font-weight: 400; font-size: 13px; color: var(--muted); }
th, td { padding: 16px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
td:first-child, th:first-child { padding-left: 0; }
td small, .metric-grid small { display: block; color: var(--muted); margin-top: 5px; }
.metric-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(160px,1fr)); gap: 16px; margin-bottom: 36px; }
.metric-grid > * { background: var(--cream); border-radius: 5px; padding: 20px; text-decoration: none; }
.metric-grid strong { display: block; font: 300 52px var(--serif); }
.comment { border-left: 3px solid var(--line); padding: 12px 18px; margin-block: 18px; }
.comment small, .activity small { color: var(--muted); }
.comment p { white-space: pre-wrap; overflow-wrap: anywhere; margin-top: 8px; }
.activity { padding-left: 24px; }
.activity li { margin-bottom: 16px; }
.workspace pre { white-space: pre-wrap; overflow-wrap: anywhere; font: 12px/1.6 var(--sans); background: var(--cream); padding: 16px; }
.link-list { padding-left: 22px; overflow-wrap: anywhere; }
textarea[readonly] { min-height: 240px; margin-bottom: 18px; }
.inline-edit { display: grid; grid-template-columns: repeat(3,minmax(140px,1fr)); gap: 0 12px; }
.inline-edit .field { margin-top: 0; }
.inline-edit .button { align-self: end; margin-bottom: 18px; }
.empty { padding-block: 20px; }
@media (max-width: 1150px) {
  .header-cta { display: none; }
  .site-header { gap: 18px; flex-wrap: wrap; padding-block: 18px; }
  #site-nav { gap: 16px; }
}
@media (max-width: 760px) {
  .work-heading { margin-top: 16px; }
  .work-nav { gap: 4px 18px; }
  .field-grid, .facts, .service-choices { grid-template-columns: minmax(0,1fr); }
  .deliverable-fields { padding-inline: 14px; }
  .workspace details { padding-inline: 14px; }
  .switcher select { max-width: 190px; }
  .steps { font-size: 13px; }
  .workspace .form-actions .button { flex: 1 1 auto; }
}

/* Application shell: task navigation stays stable; demo tools stay separate. */
:root { --action-coral: #d63c18; --sidebar-width: 216px; --header-height: 72px; }
body { padding: var(--header-height) 0 0 var(--sidebar-width); background: #f7f6f3; font-size: 14px; }
#masthead { position: fixed; inset: 0 0 auto; height: var(--header-height); z-index: 30; background: var(--paper); }
.site-header { min-height: 0; height: var(--header-height); display: flex; flex-wrap: nowrap; padding: 0 28px; gap: 24px; }
.wordmark { gap: 12px; }
.wordmark img { width: 90px; }
.wordmark span { font-size: 28px; padding-left: 12px; }
.header-context { border-left: 1px solid var(--line); padding-left: 24px; color: var(--muted); font-size: 13px; }
.header-actions { margin-left: auto; gap: 22px; width: auto; }
.header-cta { display: inline-flex; }
.button { color: #fff; background: var(--action-coral); border-color: var(--action-coral); min-height: 40px; padding: 8px 16px; font-size: 14px; gap: 0; border-radius: 6px; }
.button:hover { color: #fff; background: #bb3212; border-color: #bb3212; }
.button .arrow { display: none; }
.button.outline, .form-actions .button:not(:last-child) { color: var(--ink); background: transparent; border-color: #b4aba2; }
.button.outline:hover, .form-actions .button:not(:last-child):hover { background: var(--cream); color: var(--ink); }
.account-menu { position: relative; }
.account-menu summary { display: flex; align-items: center; gap: 10px; cursor: pointer; list-style: none; padding: 6px; border-radius: 6px; }
.account-menu summary::-webkit-details-marker, .demo-tools summary::-webkit-details-marker { display: none; }
.account-menu summary:hover { background: var(--cream); }
.account-avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: #1c4347; font-size: 12px; }
.account-name { font-size: 13px; }
.account-chevron { color: var(--muted); }
.account-popover { position: absolute; top: calc(100% + 12px); right: 0; width: 270px; padding: 20px; background: #fffdfb; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 40px #30271a17; }
.account-popover strong, .demo-title { font-weight: 500; }
.account-popover p { margin: 5px 0 12px; color: var(--muted); }
.account-popover p a { color: var(--ink); text-underline-offset: 3px; }
.account-popover small { display: block; line-height: 1.5; color: var(--muted); }
#site-nav.app-sidebar { display: flex; flex-direction: column; align-items: stretch; gap: 0; position: fixed; left: 0; top: var(--header-height); bottom: 0; width: var(--sidebar-width); border-right: 1px solid var(--line); background: var(--paper); padding: 22px 14px 18px; overflow-y: auto; }
.app-sidebar nav { display: flex; flex-direction: column; gap: 4px; }
.nav-label { color: #756b60; font-size: 10px; text-transform: uppercase; letter-spacing: .09em; padding: 10px 12px; }
#site-nav a { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 6px; font-size: 13px; text-decoration: none; white-space: normal; }
#site-nav a > span { display: grid; place-items: center; width: 18px; font: 16px/1 var(--sans); flex-shrink: 0; color: var(--muted); }
#site-nav a:hover { background: #eeeae4; text-decoration: none; }
#site-nav a[aria-current] { background: var(--cream); color: #8e2d15; text-decoration: none; box-shadow: inset 3px 0 var(--coral); }
#site-nav a[aria-current] > span { color: #8e2d15; }
.nav-group { margin-top: 20px; display: flex; flex-direction: column; gap: 4px; }
.sidebar-note { margin-top: auto; padding: 30px 12px 0; color: var(--muted); font-size: 11px; }
.frame { width: min(100% - 64px, 1160px); }
.workspace, .interior { padding-block: 32px 72px; min-height: calc(100vh - 145px); }
.work-heading { margin: 0 0 26px; max-width: 800px; }
.work-heading h1 { font: 300 clamp(34px,3.4vw,46px)/1.1 var(--serif); margin-bottom: 10px; }
.work-heading p { max-width: 78ch; font-size: 14px; }
.work-panel { background: #fffdfb; border: 1px solid #e3ddd5; border-radius: 8px; padding: 24px; margin: 20px 0; }
.work-panel h2 { font: 400 18px/1.35 var(--sans); margin-bottom: 18px; }
.work-panel h3 { font: 400 16px/1.4 var(--sans); }
.field { margin-block: 12px; gap: 6px; }
.field > span, .facts dt { font-size: 12px; }
.field input, .field select, .field textarea, .list-toolbar input { min-height: 40px; padding: 8px 11px; border-color: #beb7ad; }
.field textarea { min-height: 88px; }
.form-actions { margin-block: 20px 4px; }
.steps { background: #fffdfb; border: 1px solid #e3ddd5; border-radius: 8px; padding: 16px 20px; gap: 12px 22px; font-size: 12px; margin-bottom: 24px; }
.deliverable-fields legend { font: 400 17px var(--sans); }
.metric-grid { gap: 14px; margin-bottom: 24px; }
.metric-grid > * { background: #fffdfb; border: 1px solid #e3ddd5; padding: 18px; font-size: 12px; }
.metric-grid strong { font: 400 32px/1.3 var(--sans); margin-bottom: 8px; }
.table-wrap { margin-block: 12px; }
th, td { padding-block: 12px; font-size: 13px; }
th { font-size: 11px; }
.badge { font-size: 11px; padding: 3px 8px; }
.badge.status-review { background: var(--yellow-100); color: var(--yellow-900); border: 1px solid var(--yellow-300); }
.badge.status-blocked { background: #feede8; color: var(--coral-dark); border: 1px solid #f9ab97; }
.badge.status-active, .badge.status-accepted, .badge.status-scheduled, .badge.status-delivered, .badge.status-closed { background: #e8f5e8; color: #0d5417; }
.badge.status-submitted { background: #e5f6f6; color: #085255; }
.hero { margin: 28px 0 0; padding: 32px; gap: 32px; border-radius: 10px; }
.hero h1 { font-size: clamp(48px,5vw,68px); margin-top: 14px; }
.hero-intro { padding-top: 0; }
.hero-intro > p { font-size: 15px; }
.hero .actions { margin-top: 20px; gap: 10px 20px; }
.section { padding-block: 32px; }
.section-head { margin-bottom: 20px; }
.section-head h2 { font-size: 34px; }
.section-head p:not(.eyebrow) { font-size: 14px; margin-top: 8px; }
.eyebrow { font-size: 11px; }
.service-row { min-height: 74px; padding-block: 16px; }
.service-row h3 { font: 400 16px/1.3 var(--sans); }
.service-row p { font-size: 13px; }
.scope-band { padding: 24px; }
.scope-band h2 { font-size: 30px; }
.page-heading { margin-bottom: 28px; }
.page-heading h1 { font-size: clamp(38px,4vw,52px); margin-block: 12px 16px; }
.page-heading > p:not(.eyebrow) { font-size: 15px; max-width: 70ch; }
.team-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.team-grid article { background: #fffdfb; border: 1px solid #e3ddd5; border-radius: 8px; padding: 24px; }
.initials { width: 52px; height: 52px; min-height: 0; border-radius: 50%; padding: 0; display: grid; place-items: center; font: 400 17px/1 var(--sans); letter-spacing: 0; }
.team-grid article h3 { font: 400 17px/1.35 var(--sans); margin-top: 18px; overflow-wrap: anywhere; }
.team-grid article p { font-size: 13px; margin-top: 6px; }
.footer-inner { min-height: 60px; padding-block: 16px; gap: 12px; }
#footer { margin-bottom: 50px; }
.demo-tools { position: fixed; right: 24px; bottom: 20px; z-index: 50; }
.demo-tools summary { list-style: none; border: 1px solid #37332e; color: #fff; background: #272622; border-radius: 24px; padding: 10px 16px; display: flex; align-items: center; gap: 9px; cursor: pointer; font-size: 12px; box-shadow: 0 4px 16px #27262220; }
.demo-indicator { width: 6px; height: 6px; background: var(--green); border-radius: 50%; }
.demo-panel { position: absolute; right: 0; bottom: calc(100% + 12px); width: 300px; background: #fffdfb; border: 1px solid var(--line); border-radius: 12px; padding: 20px; box-shadow: 0 12px 40px #30271a26; }
.demo-title { font-size: 15px; margin-bottom: 8px; }
.demo-panel p:not(.demo-title), .demo-panel small { color: var(--muted); font-size: 12px; line-height: 1.5; }
.demo-panel label { display: block; margin: 18px 0 6px; font-size: 12px; }
.demo-panel select { width: 100%; padding: 10px; border: 1px solid #b4aba2; border-radius: 5px; background: #fff; color: var(--ink); font-size: 13px; }
.demo-panel small { display: block; margin-top: 12px; }
@media (max-width: 1100px) {
  .header-context { display: none; }
  .team-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hero { grid-template-columns: 1fr; gap: 22px; }
  .hero-intro { max-width: 600px; }
}
@media (max-width: 760px) {
  :root { --header-height: 64px; }
  body { padding-left: 0; }
  .site-header { display: flex; padding: 0 16px; gap: 12px; }
  .menu-toggle { display: inline-flex; padding: 7px 10px; font-size: 12px; }
  .wordmark img { width: 70px; }
  .wordmark { gap: 8px; }
  .wordmark span { font-size: 23px; padding-left: 8px; }
  .header-actions { width: auto; gap: 0; }
  .header-cta, .account-name, .account-chevron { display: none; }
  .account-menu summary { padding: 3px; }
  #site-nav.app-sidebar { display: none; width: min(280px,85vw); box-shadow: 12px 0 30px #27262218; }
  #site-nav.app-sidebar.open { display: flex; }
  .frame { width: calc(100% - 32px); }
  .workspace, .interior { padding-block: 24px 60px; }
  .work-panel { padding: 18px; }
  .team-grid { grid-template-columns: 1fr; gap: 12px; }
  .team-grid article { padding: 20px; }
  .hero { padding: 24px; margin-top: 20px; }
  .hero h1 { font-size: 52px; }
  .section-head { gap: 10px; }
  .footer-inner p { order: initial; width: auto; }
  .demo-tools { right: 16px; bottom: 16px; }
  .demo-panel { width: min(300px,calc(100vw - 32px)); }
}
.mobile-request { display: none; }
@media (max-width: 760px) {
  .mobile-request { display: block; margin: 0 10px 14px; }
  #site-nav .mobile-request a { display: flex; justify-content: center; color: #fff; background: var(--action-coral); padding: 10px 16px; }
  #site-nav .mobile-request a:hover { background: #bb3212; }
}

/* Public entry and signed-in workspace */
:root { --action-coral: #f1481d; }
body { padding-left: 0; }
body.app-view { padding-left: var(--sidebar-width); }
.site-header .menu-toggle[hidden] { display: none; }
.header-about { text-decoration: none; font-size: 13px; white-space: nowrap; padding: 8px 4px; }
.header-about:hover, .header-about[aria-current] { text-decoration: underline; text-decoration-color: var(--coral); text-underline-offset: 6px; }
.header-create-ticket { gap: 5px; }
.button:hover, #site-nav .mobile-request a:hover { color: var(--action-coral); background: transparent; border-color: var(--action-coral); }
.login-menu { position: relative; }
.login-menu > summary { list-style: none; cursor: pointer; border: 1px solid var(--line); padding: 8px 14px; border-radius: 6px; white-space: nowrap; }
.login-menu > summary::-webkit-details-marker { display: none; }
.login-menu > summary:hover { border-color: var(--ink); }
.login-popover { position: absolute; right: 0; top: calc(100% + 12px); width: 320px; max-height: min(560px,calc(100dvh - 90px)); overflow-y: auto; background: #fffdfb; padding: 18px; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 40px #30271a26; }
.login-popover > p { color: var(--muted); margin: 8px 0; font-size: 13px; }
.demo-login .field select { min-width: 0; font-family: inherit; }
.demo-login .demo-login-help { color: var(--muted); margin: 0 0 12px; font-size: 12px; }
.demo-login .form-error { color: #8e2810; margin-top: 8px; }
.demo-login .form-error:empty { margin: 0; }
.account-studio { display: block; padding: 10px 0; margin-bottom: 8px; border-block: 1px solid var(--line); text-decoration: none; }
.account-studio:hover { text-decoration: underline; }
.demo-signout { display: block; border: 0; padding: 12px 0 0; background: transparent; color: var(--muted); text-decoration: underline; cursor: pointer; }
.hero { display: block; width: 100%; margin: 0; border-radius: 0; padding: 0; }
.hero-inner { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: 72px; min-height: 600px; padding-block: 64px; }
.hero-copy { min-width: 0; }
.hero h1 { font-size: clamp(60px,5.7vw,84px); }
.hero-description { max-width: 54ch; margin-top: 30px; font-size: 16px; line-height: 1.65; }
.hero-copy .actions { margin-top: 30px; }
.hero-media { position: relative; width: 100%; aspect-ratio: 1.16; min-height: 350px; display: flex; align-items: end; padding: 22px; overflow: hidden; border-radius: 18px; background: #d9d0c3; color: #62594e; }
.hero-media::before { content: ''; position: absolute; inset: 9%; border: 1px dashed #a99e90; border-radius: 12px; }
.hero-media span { position: relative; z-index: 1; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.wordmark img { width: 106px; }
.home-content { padding-bottom: 56px; }
.sign-in-card { max-width: 520px; background: #fffdfb; border: 1px solid var(--line); border-radius: 10px; padding: 32px; }
.sign-in-card h1 { font: 300 44px/1.1 var(--serif); margin: 12px 0; }
.sign-in-card p { color: var(--muted); }
.sign-in-card .demo-login { margin-top: 20px; }
@media (max-width: 1100px) { .hero-inner { gap: 32px; } }
@media (max-width: 760px) {
  body.app-view { padding-left: 0; }
  .header-about { font-size: 12px; }
  .header-create-ticket { display: inline-flex; margin-right: 8px; min-height: 34px; padding: 5px 9px; font-size: 12px; }
  .site-header { gap: 10px; }
  .hero-inner { grid-template-columns: 1fr; min-height: 0; padding-block: 52px; }
  .hero h1 { font-size: clamp(58px,12vw,76px); }
  .hero-media { min-height: 260px; }
  .login-menu > summary { padding-inline: 10px; font-size: 12px; }
  .login-popover { width: min(320px,calc(100vw - 32px)); }
}
@media (max-width: 520px) {
  .header-actions { gap: 7px; }
  .header-about { max-width: 62px; white-space: normal; line-height: 1.15; }
  .wordmark img { width: 80px; }
  .site-header:has(.header-create-ticket) .wordmark img { width: 64px; }
  .site-header:has(.header-create-ticket) .wordmark span { font-size: 20px; }
  .site-header { padding-inline: 12px; }
}

/* Display-only Brand Concierge shell. Demo controls occupy the opposite corner. */
.demo-tools { left: 24px; right: auto; }
.demo-panel { left: 0; right: auto; }
.concierge { position: fixed; right: 24px; bottom: 20px; z-index: 60; }
.concierge-launcher { display: flex; align-items: center; gap: 9px; min-height: 42px; padding: 9px 15px; border: 1px solid #272622; border-radius: 24px; color: #fff; background: #272622; box-shadow: 0 4px 16px #27262220; font: 400 12px/1.2 var(--sans); cursor: pointer; }
.concierge-launcher:hover, .concierge-launcher[aria-expanded="true"] { background: #41403b; }
.concierge-launcher > span:first-child { color: var(--green); font-size: 16px; line-height: 0; }
.concierge-demo { padding-left: 9px; border-left: 1px solid #77726b; color: #d1cbc3; font-size: 10px; text-transform: uppercase; letter-spacing: .04em; }
.concierge-panel { position: absolute; right: 0; bottom: calc(100% + 12px); display: flex; flex-direction: column; width: min(370px,calc(100vw - 32px)); max-height: min(560px,calc(100dvh - 96px)); overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fffdfb; box-shadow: 0 18px 50px #30271a30; }
.concierge-panel[hidden] { display: none; }
.concierge-header { display: flex; align-items: start; justify-content: space-between; gap: 12px; padding: 21px 22px 20px; background: var(--ink); color: #fff; }
.concierge-kicker { color: var(--green); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.concierge-header h2 { margin-top: 5px; font: 300 27px/1.1 var(--serif); }
.concierge-close { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #fff; font: 24px/1 var(--sans); cursor: pointer; }
.concierge-close:hover { background: #ffffff22; }
.concierge-content { flex: 1; min-height: 0; overflow-y: auto; padding: 24px 22px; }
.concierge-message { padding: 16px 18px; border-radius: 12px 12px 12px 3px; background: var(--cream); font-size: 14px; line-height: 1.5; }
.concierge-prompt-label { margin: 26px 0 10px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.concierge-prompts { display: flex; flex-wrap: wrap; gap: 8px; }
.concierge-prompts span { padding: 8px 11px; border: 1px solid var(--line); border-radius: 18px; font-size: 12px; line-height: 1.3; }
.concierge-composer { padding: 15px 22px 18px; border-top: 1px solid var(--line); }
.concierge-composer label { display: block; margin-bottom: 7px; font-size: 11px; color: var(--muted); }
.concierge-composer > div { display: flex; gap: 7px; }
.concierge-composer input { min-width: 0; flex: 1; padding: 9px 10px; border: 1px solid var(--line); border-radius: 5px; background: #f5f1ed; font: 12px var(--sans); }
.concierge-composer button { padding: 9px 12px; border: 1px solid var(--line); border-radius: 5px; color: var(--muted); background: #eee8e1; font: 12px var(--sans); }
.concierge-composer small { display: block; margin-top: 9px; color: var(--muted); font-size: 10px; }
@media (max-width: 760px) {
  .demo-tools { left: 16px; right: auto; }
  .demo-panel { width: min(300px,calc(100vw - 32px)); }
  .concierge { right: 16px; bottom: 16px; }
}
@media (max-width: 360px) {
  .demo-tools summary { padding-inline: 11px; }
  .concierge-launcher { padding-inline: 10px; gap: 6px; }
  .concierge-demo { display: none; }
  .site-header { gap: 8px; }
  .wordmark img { width: 64px; }
  .wordmark span { font-size: 19px; padding-left: 8px; }
  body.app-view { --header-height: 96px; }
  .app-view .site-header { flex-wrap: wrap; align-content: center; row-gap: 0; }
  .app-view .header-actions { flex-basis: 100%; justify-content: space-between; }
}

/* Work 03: Brand work views of the existing project records. */
:root {
  --work-surface: #fffdfb;
  --work-shadow: 0 14px 44px #30271a1a;
}
.workspace-dashboard { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(260px, 1fr); gap: 16px; align-items: start; }
.personal-work { margin: -4px 0 16px; padding: 9px 13px; border-left: 3px solid var(--teal); background: var(--work-surface); color: var(--muted); font-size: 12px; }
.personal-work strong { color: var(--ink); }
.personal-work a { color: var(--ink); font-weight: 600; }
.workspace-dashboard > .work-panel { margin: 0; min-width: 0; }
.dashboard-side { display: grid; grid-column: 2; gap: 16px; align-content: start; min-width: 0; }
.dashboard-side > .snapshot-grid { grid-template-columns: repeat(2,minmax(0,1fr)); margin: 0; }
.dashboard-side > .work-panel { margin: 0; min-width: 0; }
.workspace-dashboard > .work-panel:last-child { grid-column: 1 / -1; }
.workspace-dashboard .work-panel h2 { margin-bottom: 15px; }
.workspace-dashboard .empty { color: var(--muted); }
.attention-list { list-style: none; margin: 0; padding: 0; }
.attention-item { display: flex; justify-content: space-between; align-items: start; gap: 14px; border-top: 1px solid var(--line); padding: 12px 0; min-width: 0; }
.attention-item:first-child { border-top: 0; padding-top: 0; }
.attention-item:last-child { padding-bottom: 0; }
.attention-item > div { min-width: 0; }
.attention-item h3 { margin: 3px 0 !important; font: 600 13px/1.35 var(--sans) !important; }
.attention-item p { margin: 2px 0 !important; color: var(--muted); font-size: 12px; line-height: 1.4; }
.attention-item > strong { flex: 0 0 auto; font-size: 12px; font-variant-numeric: tabular-nums; }
.attention-type { color: var(--muted); font-size: 10px !important; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.attention-item.status-blocked, .attention-item:has([data-next-action="blocked"]) { box-shadow: inset 3px 0 var(--coral); padding-left: 10px; }
.sample-tag { display: inline-block !important; width: fit-content; margin: 2px 0 0 8px !important; padding: 2px 6px; border: 1px solid var(--line); border-radius: 3px; color: var(--muted); background: var(--paper); font-size: 10px !important; font-weight: 400; line-height: 1.3; white-space: nowrap; }
.attention-type + .sample-tag { margin-left: 8px !important; }
.attention-item a { display: block; text-decoration: none; border-radius: 5px; padding: 8px 10px; margin: -8px -10px; }
.attention-item a:hover { background: var(--cream); }
.attention-item strong { display: block; font-weight: 600; font-size: 13px; overflow-wrap: anywhere; }
.attention-item small, .attention-item > div > .attention-type, .attention-item > span { display: block; color: var(--muted); font-size: 12px; line-height: 1.45; margin-top: 2px; }
.snapshot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 16px 0 22px; }
.snapshot-card { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; min-height: 94px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--work-surface); text-decoration: none; }
.snapshot-card:hover { border-color: var(--coral); box-shadow: 0 4px 14px #30271a12; }
.snapshot-card strong { font: 400 30px/1 var(--sans); font-variant-numeric: tabular-nums; }
.snapshot-card span { margin-top: 10px; font-size: 12px; line-height: 1.35; color: var(--muted); }
.snapshot-card:where(:first-child) { border-top: 3px solid var(--coral); }
.snapshot-card:where(:nth-child(2)) { border-top: 3px solid var(--green); }
.snapshot-card:where(:nth-child(3)) { border-top: 3px solid var(--teal); }
.snapshot-card:where(:nth-child(4)) { border-top: 3px solid var(--cream); }
.workspace-controls { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 16px; margin: 4px 0 18px; }
.workspace-controls .list-toolbar { margin: 0; }
.workspace-controls label { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.workspace-controls input[type="search"] { width: min(280px, 100%); min-height: 36px; padding: 7px 11px; border: 1px solid var(--line); border-radius: 6px; background: var(--work-surface); color: var(--ink); font: 13px var(--sans); }
.workspace-controls select { min-height: 36px; max-width: 180px; padding: 7px 11px; border: 1px solid var(--line); border-radius: 6px; background: var(--work-surface); color: var(--ink); font: 13px var(--sans); }
.view-switch { display: inline-flex; align-items: stretch; }
.view-toggle { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; margin: 0; border: 1px solid var(--line); background: var(--work-surface); color: var(--ink); font-size: 12px; }
.view-toggle:first-child { border-radius: 6px 0 0 6px; }
.view-toggle + .view-toggle { border-left: 0; border-radius: 0 6px 6px 0; }
.view-toggle[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.view-toggle:hover:not([aria-pressed="true"]) { background: var(--cream); }
.work-list { min-width: 900px; }
.work-list td:first-child { min-width: 180px; }
.work-list td { overflow-wrap: anywhere; }
.work-next-action { display: block; line-height: 1.45; overflow-wrap: anywhere; }
.work-next-action > span { display: block; }
.work-next-who, .work-next-scope { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }
.attention-item .work-next-action { margin-top: 4px; font-size: 12px; }
.meeting-mine { box-shadow: inset 3px 0 var(--teal); background: color-mix(in srgb, var(--teal) 8%, var(--work-surface)); }
.meeting-mine small { display: block; margin-top: 4px; color: var(--muted); }
.work-deliverables { margin: 5px 0 0; padding-left: 15px; font-size: 11px; line-height: 1.5; }
.work-deliverables li + li { margin-top: 3px; }
.work-deliverables small { display: block; color: var(--muted); }
.work-board { display: grid; grid-template-columns: repeat(4, minmax(205px, 1fr)); gap: 12px; align-items: start; margin: 16px 0 24px; max-width: 100%; overflow-x: auto; padding-bottom: 8px; }
.work-board[aria-label="Projects board"] { grid-template-columns: repeat(5,minmax(205px,1fr)); }
.board-column { min-width: 0; min-height: 175px; padding: 10px; border: 1px solid var(--line); border-top: 3px solid var(--stage-accent, var(--line)); border-radius: 8px; background: color-mix(in srgb, var(--stage-accent, var(--cream)) 16%, var(--work-surface)); }
.board-column-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; min-height: 40px; padding: 5px 5px 11px; font-size: 12px; font-weight: 600; line-height: 1.3; }
.board-column-heading small { font-size: 11px; color: var(--muted); font-weight: 400; }
.board-column-heading span { color: var(--muted); font-variant-numeric: tabular-nums; font-weight: 400; }
.board-column[data-stage="submitted"] { --stage-accent: var(--teal); }
.board-column[data-stage="review"] { --stage-accent: var(--yellow-300); }
.board-column[data-stage="clarification"], .board-column[data-stage="deferred"] { --stage-accent: var(--cream); }
.board-column[data-stage="accepted"], .board-column[data-stage="active"], .board-column[data-stage="closed"] { --stage-accent: var(--green); }
.board-column[data-stage="blocked"] { --stage-accent: var(--coral); }
.board-empty { margin: 12px 5px; color: var(--muted); font-size: 12px; }
.board-card { display: block; width: 100%; margin: 0 0 8px; padding: 11px; text-align: left; color: var(--ink); background: var(--work-surface); border: 1px solid var(--line); border-radius: 7px; box-shadow: 0 2px 5px #30271a0d; cursor: pointer; overflow-wrap: anywhere; }
.board-card:last-child { margin-bottom: 0; }
.board-card:hover { border-color: var(--stage-accent, var(--coral)); box-shadow: var(--work-shadow); transform: translateY(-1px); }
.board-card:focus-visible { outline: 3px solid var(--coral-dark); outline-offset: 2px; }
.board-card strong, .board-card .card-title, .board-card .board-card-title { display: block; font-size: 13px; font-weight: 600; line-height: 1.35; }
.board-card .board-card-title { display: -webkit-box; max-height: 2.7em; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.board-card small, .board-card .card-meta { display: block; margin-top: 7px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.board-card > .board-card-date, .board-card > .board-card-context { display: block; margin-top: 6px; font-size: 11px; line-height: 1.4; color: var(--muted); }
.board-card-top { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 5px; margin-top: 7px; }
.board-card .board-card-date { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.board-card .board-card-context { display: -webkit-box; max-height: 2.8em; overflow: hidden; color: var(--muted); line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.board-card .badge { margin-top: 9px; }
.board-card-top .badge { margin: 0; }
.assignee-avatars { display: inline-flex; align-items: center; min-height: 30px; padding-left: 6px; vertical-align: middle; }
.board-card > .assignee-avatars { display: inline-flex; margin-top: 9px; }
.attention-item .assignee-avatars { display: inline-flex; margin-top: 6px; }
.assignee-avatar { display: inline-grid; place-items: center; flex: 0 0 30px; width: 30px; height: 30px; overflow: hidden; border: 2px solid var(--work-surface); border-radius: 50%; background: var(--cream); color: var(--ink); font: 600 10px/1 var(--sans); letter-spacing: -.025em; white-space: nowrap; }
.attention-item .assignee-avatar { display: inline-grid; margin-top: 0; color: var(--ink); font-size: 10px; line-height: 1; }
.assignee-avatar + .assignee-avatar { margin-left: -7px; }
.board-card-people .assignee-avatars { min-height: 24px; }
.board-card-people .assignee-avatar { flex-basis: 24px; width: 24px; height: 24px; font-size: 9px; }
.assignee-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.assignee-avatar[data-avatar-tone="0"] { background: #fbccc0; color: #772915; }
.assignee-avatar[data-avatar-tone="1"] { background: var(--green); color: #0d5417; }
.assignee-avatar[data-avatar-tone="2"] { background: var(--teal); color: #085255; }
.assignee-avatar[data-avatar-tone="3"] { background: var(--blue-100); color: var(--blue-700); }
.avatar-empty { display: inline-flex; align-items: center; min-height: 28px; padding: 4px 9px; border: 1px dashed #ad9c85; border-radius: 16px; color: var(--muted); font-size: 11px; font-weight: 400; }
.workspace-demo-notice { display: flex; align-items: center; gap: 8px; margin: -6px 0 20px; padding: 9px 13px; border-left: 3px solid var(--teal); background: #e5f6f6; color: #085255; border-radius: 0 5px 5px 0; font-size: 12px; line-height: 1.4; }
.assignment-picker { min-width: 0; margin: 14px 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 7px; }
.assignment-picker legend { padding: 0 6px; font-size: 12px; font-weight: 600; }
.assignment-picker-options { display: flex; flex-wrap: wrap; gap: 4px; }
.assignment-picker label { display: inline-flex; align-items: center; gap: 7px; margin: 5px 12px 5px 0; padding: 5px 8px; border: 1px solid transparent; border-radius: 5px; background: var(--paper); font-size: 12px; cursor: pointer; }
.assignment-picker label:has(input:checked) { border-color: var(--teal); background: #e5f6f6; }
.assignment-picker input[type="checkbox"] { width: 15px; height: 15px; margin: 0; accent-color: #068389; }
.workspace .ticket-form { max-width: 780px; }
.ticket-fields { min-width: 0; margin: 0; padding: 0; border: 0; }
.ticket-fields .work-panel { margin: 0 0 14px; }
.ticket-fields .work-panel h2 { margin-bottom: 8px; }
.ticket-fields .ticket-creator { margin: 12px 0 0; color: var(--muted); font-size: 12px; }
.ticket-disclosure { padding: 8px 0 0; }
.ticket-form summary { cursor: pointer; font-size: 13px; }
.ticket-form .field textarea { min-height: 64px; }
.ticket-checkboxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(185px, 100%), 1fr));
  gap: 8px 12px;
  margin-top: 12px;
}
.ticket-checkboxes label { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 2px 8px; font-size: 13px; }
.ticket-checkboxes label[hidden] { display: none; }
.ticket-checkboxes small { grid-column: 2; color: var(--muted); }
.ticket-deliverable {
  min-width: 0;
  margin: 12px 0;
  padding: 6px 14px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
}
.ticket-deliverable legend { padding: 0 6px; color: var(--muted); font-size: 12px; }
.ticket-remove { margin-top: 10px; padding: 0; border: 0; background: transparent; color: var(--coral-dark); font-size: 12px; text-decoration: underline; }
.ticket-form .form-actions { justify-content: flex-end; margin-block: 12px; }
.ticket-form :disabled { cursor: not-allowed; }
.my-work-summary { margin: -5px 0 18px; padding: 11px 14px; border-left: 3px solid var(--teal); border-radius: 0 5px 5px 0; background: #e5f6f6; color: #085255; font-size: 12px; }
.my-work-summary a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
.my-work-list { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(280px,100%),1fr)); gap: 12px; margin: 16px 0 24px; }
.my-work-card { min-width: 0; padding: 18px; border: 1px solid var(--line); border-left: 3px solid var(--stage-accent,var(--teal)); border-radius: 7px; background: var(--work-surface); }
.my-work-card-head { display: flex; align-items: start; justify-content: space-between; gap: 10px; }
.my-work-card-head > div { min-width: 0; }
.my-work-card-head small { display: block; color: var(--muted); font-size: 11px; }
.my-work-card-head .badge { flex: 0 0 auto; }
.my-work-card h2, .my-work-card h3 { margin: 6px 0 8px; font: 600 14px/1.35 var(--sans); overflow-wrap: anywhere; }
.my-work-card p { margin: 8px 0; color: var(--muted); font-size: 12px; }
.my-work-card > p:last-child { margin: 13px 0 0; }
.my-work-card > p:last-child a { color: var(--ink); text-underline-offset: 3px; }
.my-work-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 12px; color: var(--muted); font-size: 11px; }
.my-work-meta .assignee-avatars { padding-left: 2px; }
.my-work-card .my-work-next { margin-top: 10px; padding: 8px 10px; border-radius: 5px; background: color-mix(in srgb, var(--stage-accent,var(--cream)) 16%, var(--work-surface)); color: var(--ink); font-size: 12px; }
.my-work-deliverables { list-style: none; margin: 12px 0 0; padding: 10px 0 0; border-top: 1px solid var(--line); }
.my-work-deliverables li { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 5px 10px; padding: 8px 0; font-size: 12px; }
.my-work-deliverables li + li { border-top: 1px solid var(--line); }
.my-work-deliverables strong { min-width: 0; line-height: 1.35; overflow-wrap: anywhere; }
.my-work-deliverables .badge { justify-self: end; }
.my-work-deliverables .assignee-avatars, .my-work-deliverables .avatar-empty { grid-column: 1; justify-self: start; }
.my-work-deliverables small { grid-column: 2; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.my-work-deliverables .work-next-action { grid-column: 1 / -1; }
.my-work-deliverables .work-next-action small { text-align: left; }
.board-column .empty { padding: 10px 5px; color: var(--muted); font-size: 12px; }
.status-submitted { --stage-accent: var(--teal); }
.status-review { --stage-accent: var(--yellow-700); }
.status-clarification, .status-deferred { --stage-accent: var(--cream); }
.status-accepted, .status-scheduled, .status-active, .status-closed, .status-delivered { --stage-accent: var(--green); }
.status-blocked, .status-declined, .status-escalated { --stage-accent: var(--coral); }
.board-card.status-blocked, .board-card.status-escalated { border-left: 3px solid var(--coral); }
.board-card.status-review { border-left: 3px solid var(--yellow-700); }
.board-card[draggable="true"] { cursor: grab; }
.board-card.is-dragging { opacity: .48; cursor: grabbing; box-shadow: none; transform: none; }
.board-column.can-drop { outline: 2px dashed var(--blue-700); outline-offset: -5px; }
.board-column.is-drop-target { outline: 3px solid var(--blue-700); outline-offset: -5px; background: color-mix(in srgb, var(--blue-100) 55%, var(--work-surface)); }
.board-column.is-drop-invalid { outline: 3px dashed var(--coral-dark); outline-offset: -5px; background: #feede8; }
.quick-review-trigger { display: inline-flex; padding: 0; border: 0; background: transparent; color: var(--ink); text-align: left; font-weight: 600; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.quick-review-trigger:hover { text-decoration-color: var(--coral); }
.quick-review-backdrop { position: fixed; inset: 0; z-index: 0; width: 100%; height: 100%; padding: 0; border: 0; background: #0f0f0e99; pointer-events: auto; }
.quick-review { position: fixed; inset: 0 0 0 auto; z-index: 80; width: min(580px, 100vw); pointer-events: none; }
.quick-review-panel { position: relative; z-index: 1; display: flex; flex-direction: column; width: 100%; height: 100dvh; min-height: 0; pointer-events: auto; background: var(--work-surface); border-left: 1px solid var(--line); box-shadow: -18px 0 48px #0f0f0e24; }
.quick-review-header { display: flex; align-items: start; justify-content: space-between; gap: 18px; flex-shrink: 0; padding: 22px 28px; border-bottom: 1px solid var(--line); background: var(--paper); }
.quick-review-header h2 { font: 300 30px/1.1 var(--serif); overflow-wrap: anywhere; }
.quick-review-header p { color: var(--muted); font-size: 12px; margin-top: 7px; }
.quick-review-close { flex: 0 0 auto; min-height: 34px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 18px; background: var(--work-surface); color: var(--ink); font-size: 12px; line-height: 1; }
.quick-review-close:hover { border-color: var(--coral); }
.quick-review-content { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 20px 28px 40px; }
.quick-review-attention { padding: 13px 15px; border-left: 3px solid var(--teal); border-radius: 0 6px 6px 0; background: var(--paper); font-size: 14px; overflow-wrap: anywhere; }
.quick-review-attention:has([data-next-action="blocked"]) { border-left-color: var(--coral); }
.quick-review-attention:has([data-next-action="review-pending"]) { border-left-color: var(--yellow-300); }
.quick-review-attention-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 5px 10px; }
.quick-review-attention-heading h3 { font: 600 13px/1.35 var(--sans); }
.quick-review-attention .work-next-action { margin-top: 6px; }
.quick-review-attention .work-next-who, .quick-review-attention .work-next-scope { font-size: 12px; }
.quick-review-attention > .muted { margin-top: 5px; }
.quick-review-readiness { margin-top: 8px; font-size: 12px; }
.quick-review-content h4 { margin: 10px 0 4px; font: 600 12px/1.4 var(--sans); }
.quick-review-content .quick-review-readiness ul { margin: 0; padding-left: 17px; }
.quick-review-content .quick-review-readiness li { margin-bottom: 2px; }
.quick-review-section, .quick-review-actions { padding-block: 15px; border-bottom: 1px solid var(--line); }
.quick-review-section h3, .quick-review-actions h3 { font: 600 14px/1.35 var(--sans); }
.quick-review-content .quick-review-section .facts { margin-block: 10px 0; font-size: 13px; }
.quick-review-section .facts dt { font-size: 12px; }
.quick-review-deliverable-name { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 8px; }
.quick-review-content .quick-deliverables { margin: 5px 0 0; padding: 0; list-style: none; font-size: 13px; }
.quick-review-content .quick-deliverables li { margin: 0; padding-block: 6px; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.quick-deliverables small { display: block; color: var(--muted); }
.quick-review-decision-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 9px; }
.quick-review-content .quick-review-decision-buttons .button { padding-inline: 11px; font-size: 13px; }
.quick-review-content .quick-review-decision-buttons .form-actions { margin: 0; }
.quick-review-decision { margin: 12px 0 0; }
.quick-review-decision .field { margin-block: 10px; }
.quick-review-decision .form-actions { margin-block: 10px; }
.quick-review-disclosure { padding-block: 12px; border-bottom: 1px solid var(--line); }
.quick-review-disclosure > summary { cursor: pointer; font-size: 13px; font-weight: 600; }
.quick-review-disclosure > summary:focus-visible { outline: 2px solid var(--coral-dark); outline-offset: 3px; }
.quick-review-disclosure[open] > summary { margin-bottom: 8px; }
.quick-review-content .work-panel { margin: 0; padding: 18px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; }
.quick-review-content .work-panel h2 { font-size: 15px; }
.quick-review-content .facts { margin: 14px 0; gap: 12px; }
.quick-review-content .field-grid { grid-template-columns: minmax(0,1fr); }
.quick-review-content form { max-width: none; }
.quick-review-content .button { max-width: 100%; white-space: normal; }
.quick-review-content .form-actions { display: flex; flex-wrap: wrap; }
.quick-review-content > h3 { margin: 18px 0 8px; font: 600 14px/1.3 var(--sans); }
.quick-review-content > p { margin: 12px 0; }
.quick-review-content > .quick-review-notice { margin-top: 0; font-size: 13px; color: var(--coral-dark); }
.quick-review-project-link { font-size: 13px; font-weight: 600; text-underline-offset: 3px; }
.quick-review-content ul { margin: 8px 0 16px; padding-left: 20px; }
.quick-review-content li { margin-bottom: 7px; }
@media (max-width: 1080px) {
  .workspace-dashboard { grid-template-columns: minmax(0,1fr); }
  .dashboard-side, .workspace-dashboard > .work-panel:last-child { grid-column: 1; }
  .dashboard-side > .snapshot-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .work-board { grid-template-columns: repeat(auto-fit, minmax(185px,1fr)); }
}
@media (max-width: 760px) {
  .snapshot-grid, .dashboard-side > .snapshot-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .workspace-controls { align-items: stretch; }
  .work-board { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
  .quick-review { width: 100vw; }
  .quick-review-header { padding: 18px 20px; }
  .quick-review-content { padding: 12px 20px 32px; }
}
@media (max-width: 560px) {
  .work-board { display: flex; overflow-x: auto; scroll-snap-type: x proximity; gap: 10px; padding-bottom: 12px; margin-inline: -16px; padding-inline: 16px; }
  .board-column { flex: 0 0 min(82vw, 290px); scroll-snap-align: start; }
  .snapshot-card { min-height: 86px; }
  .quick-review-header h2 { font-size: 26px; }
  .quick-review-section .facts { grid-template-columns: minmax(0,1fr); }
}
@media (prefers-reduced-motion: reduce) { .board-card:hover { transform: none; } }
