/* Rivetpath · Petrol, porcelain and the working day. MIT. */
@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/SpaceGrotesk-Variable.ttf') format('truetype');
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Sans';
  src: url('../fonts/IBMPlexSans-Variable.ttf') format('truetype');
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
}

/* 01 — Semantic surfaces. Both themes use the same material hierarchy. */
:root {
  color-scheme: light;
  --canvas: #f5f3ed;
  --surface: #fffefa;
  --surface-related: #eef1eb;
  --surface-footer: #e8eeea;
  --ink: #1c3033;
  --muted: #52696a;
  --line: #d8deda;
  --line-strong: #b7c8c1;
  --accent: #28776f;
  --accent-ink: #22675f;
  --accent-hover: #205f5a;
  --accent-soft: #e1ece6;
  --accent-wash: #f0f5ef;
  --on-accent: #fffefa;
  --copper: #ac6847;
  --copper-ink: #8c4f32;
  --copper-soft: #f3e6d9;
  --chrome: #173b40;
  --chrome-deep: #133237;
  --chrome-text: #f5f3ed;
  --chrome-muted: #bfd2ce;
  --danger: #9e4037;
  --danger-soft: #faeae5;
  --shadow-sm: 0 1px 2px #163c4007, 0 3px 8px #163c4004;
  --shadow-card: 0 2px 3px #173b4004, 0 6px 18px #173b4005;
  --shadow-hover: 0 4px 8px #173b4008, 0 12px 22px #173b4010;
  --shadow-dialog: 0 12px 36px #112e3426, 0 40px 100px #112e3433;
  --heading-font: 'Space Grotesk', sans-serif;
  --body-font: 'IBM Plex Sans', sans-serif;
  --sidebar-width: 236px;
  --radius: 12px;
  --ease: cubic-bezier(0.2, 0.7, 0.25, 1);
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --canvas: #12272c;
  --surface: #1c353a;
  --surface-related: #223e42;
  --surface-footer: #29464a;
  --ink: #eef1eb;
  --muted: #b7c8c5;
  --line: #3f595b;
  --line-strong: #5e7b7a;
  --accent: #83c3b6;
  --accent-ink: #98d0c2;
  --accent-hover: #a1d6cb;
  --accent-soft: #234c49;
  --accent-wash: #203f40;
  --on-accent: #102e30;
  --copper: #e3ab85;
  --copper-ink: #efbb99;
  --copper-soft: #4a3e35;
  --chrome: #112b30;
  --chrome-deep: #0e252a;
  --chrome-muted: #bfd2ce;
  --danger: #f0afa5;
  --danger-soft: #503a38;
  --shadow-sm: 0 1px 3px #07191d28;
  --shadow-card: 0 2px 4px #07191d18, 0 7px 18px #07191d18;
  --shadow-hover: 0 4px 10px #07191d30, 0 16px 25px #07191d26;
  --shadow-dialog: 0 12px 36px #05161960, 0 40px 100px #05161980;
}

/* 02 — Readable type, native controls and shared action states. */
html {
  scroll-padding-top: 90px;
  scrollbar-color: var(--line-strong) transparent;
}
body {
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
::selection {
  background: var(--accent-soft);
  color: var(--ink);
}
h1,
h2,
h3,
h4 {
  font-weight: 600;
  text-wrap: balance;
}
h1 {
  font-size: clamp(26px, 2.15vw, 32px);
  letter-spacing: -0.045em;
  line-height: 1.18;
}
h2 {
  font-size: 20px;
  letter-spacing: -0.035em;
}
h3 {
  font-size: 17px;
  letter-spacing: -0.025em;
}
h4 {
  letter-spacing: -0.02em;
}
p {
  margin-bottom: 16px;
}
small {
  line-height: 1.5;
}
button,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a,
summary {
  outline-offset: 4px;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
input,
select,
textarea {
  border-color: var(--line-strong);
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
  box-shadow: inset 0 1px 2px #173b4003;
  transition:
    border-color 150ms var(--ease),
    box-shadow 150ms var(--ease),
    background 150ms var(--ease);
}
input:hover,
select:hover,
textarea:hover {
  border-color: var(--accent);
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
}
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px var(--accent-soft);
}
input::placeholder,
textarea::placeholder {
  color: var(--muted);
  opacity: 1;
}
input[readonly] {
  background: var(--surface-related);
}
input[aria-invalid='true'],
textarea[aria-invalid='true'],
select[aria-invalid='true'] {
  border-color: var(--danger);
}
input[type='checkbox'],
input[type='radio'] {
  width: 18px;
  height: 18px;
  min-height: 18px;
  flex: none;
  box-shadow: none;
}
input[type='file'] {
  width: 100%;
  font-size: 14px;
  padding: 7px;
}
input::file-selector-button {
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  padding: 7px 12px;
  margin-right: 12px;
  font: inherit;
  cursor: pointer;
}
select {
  cursor: pointer;
  padding-right: 30px;
}
textarea {
  min-height: 114px;
}
button:disabled,
.btn:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  transform: none;
  box-shadow: none;
}
button[aria-busy='true'] {
  cursor: progress;
}
.btn,
.icon-btn {
  min-height: 40px;
  font-size: 14px;
  font-weight: 500;
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
  transition:
    transform 160ms var(--ease),
    background 160ms var(--ease),
    border-color 160ms var(--ease),
    box-shadow 160ms var(--ease);
}
.btn {
  padding: 9px 14px;
}
.btn.primary,
[data-theme='dark'] .btn.primary {
  color: var(--on-accent);
  background: linear-gradient(160deg, var(--accent), var(--accent-hover));
  border-color: var(--accent);
  box-shadow:
    inset 0 1px 0 #ffffff15,
    0 2px 4px #173b4014;
}
.btn.active,
.btn[aria-pressed='true'],
.btn[aria-selected='true'] {
  color: var(--accent-ink);
  background: var(--accent-soft);
  border-color: var(--line-strong);
  box-shadow: inset 0 1px 2px #173b4008;
}
.btn.danger {
  color: var(--danger);
}
.btn.warning {
  color: var(--copper-ink);
  background: var(--copper-soft);
}
.btn.small {
  min-height: 34px;
  font-size: 12px;
  font-weight: 500;
}
.icon-btn {
  width: 40px;
  flex: none;
}
.btn .icon {
  width: 17px;
  height: 17px;
}
.btn:active,
.icon-btn:active {
  transform: translateY(1px);
  box-shadow: none;
}
.btn:focus-visible,
.icon-btn:focus-visible {
  box-shadow: 0 0 0 5px var(--accent-soft);
}
.text-link,
.issue-link,
.person-link {
  text-decoration-color: transparent;
  transition:
    color 150ms,
    text-decoration-color 150ms;
}
.text-link {
  font-weight: 500;
}
.text-link:focus-visible,
.issue-link:focus-visible,
.person-link:focus-visible {
  text-decoration-color: currentColor;
}
.issue-key {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.025em;
  font-variant-numeric: tabular-nums;
}
.issue-link .issue-key {
  margin-right: 6px;
  white-space: nowrap;
}
.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.09em;
  line-height: 1.5;
}
.badge,
.tag {
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  border-radius: 5px;
}
.badge.teal,
.badge.good {
  color: var(--accent-ink);
  background: var(--accent-soft);
  border-color: color-mix(in srgb, var(--accent) 14%, transparent);
}
.badge.copper,
.badge.warm {
  color: var(--copper-ink);
  background: var(--copper-soft);
  border-color: color-mix(in srgb, var(--copper) 15%, transparent);
}
.tag {
  background: var(--surface-related);
  border-color: var(--line);
}
.avatar {
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, var(--accent-soft), var(--surface-related));
  border: 1px solid var(--line);
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 600;
  font-family: var(--heading-font);
  box-shadow: inset 0 1px 0 #ffffff30;
}
.profile-link {
  display: inline-flex;
  border-radius: 50%;
  transition: box-shadow 150ms;
}
.profile-link .avatar {
  border: 2px solid var(--surface);
  box-shadow: 0 0 0 1px var(--line);
}
.skip-link {
  border: 1px solid var(--accent);
  border-radius: 8px;
  box-shadow: var(--shadow-card);
}

/* 03 — Fixed project chrome, compact header and task navigation. */
.sidebar {
  width: var(--sidebar-width);
  padding: 25px 14px 16px;
  background: linear-gradient(167deg, var(--chrome), var(--chrome-deep));
  border-right: 1px solid #ffffff0b;
  scrollbar-width: thin;
  scrollbar-color: #ffffff35 transparent;
  transition:
    transform 220ms var(--ease),
    visibility 220ms;
}
.brand {
  margin: 0 9px 26px;
  gap: 8px;
  font-size: 25px;
  letter-spacing: -0.06em;
  color: var(--chrome-text);
}
.brand-mark {
  width: 29px;
  height: 33px;
  color: #b6d8cb;
}
.brand small {
  font-size: 10px;
  letter-spacing: 0.19em;
  color: var(--chrome-muted);
  margin-top: 2px;
  font-weight: 400;
}
.project-switch {
  padding: 12px;
  gap: 4px;
  background: linear-gradient(135deg, #ffffff09, #ffffff04);
  border-color: #ffffff24;
  border-radius: 9px;
  box-shadow:
    inset 0 1px 0 #ffffff06,
    0 3px 10px #092c3014;
}
.project-switch > span {
  font-size: 12px;
  color: var(--chrome-muted);
}
.project-switch select {
  min-height: 35px;
  padding: 4px 24px 4px 0;
  background: transparent;
  box-shadow: none;
  border: 0;
  font-weight: 500;
  font-size: 15px;
  color: var(--chrome-text);
}
.project-switch small {
  font-size: 12px;
  color: var(--chrome-muted);
}
.project-switch select:focus-visible {
  outline-color: #b6d8cb;
  box-shadow: none;
}
.sidebar-search {
  min-height: 38px;
  margin: 15px 0 12px;
  padding: 8px 10px;
  font-size: 12px;
  color: var(--chrome-muted);
  border-color: #ffffff1f;
  transition:
    background 160ms,
    border-color 160ms;
}
.sidebar-search .icon {
  width: 16px;
  height: 16px;
}
.sidebar-search kbd {
  font-family: inherit;
  color: #d8e3dd;
  font-size: 12px;
  border: 1px solid #ffffff25;
  border-radius: 4px;
  padding: 0 4px;
}
.sidebar nav {
  min-height: 120px;
}
.nav-section {
  margin: 15px 0 17px;
}
.nav-label {
  padding: 0 11px 8px;
  color: var(--chrome-muted);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.nav-item {
  min-height: 37px;
  padding: 8px 11px;
  gap: 11px;
  font-size: 13px;
  color: #d8e3df;
  margin-bottom: 2px;
  border-radius: 6px;
  transition:
    background 150ms,
    color 150ms,
    box-shadow 150ms;
}
.nav-item .icon {
  width: 17px;
  height: 17px;
  opacity: 0.8;
}
.nav-item.active {
  color: #f6faf3;
  background: linear-gradient(100deg, #b7d9ca24, #b7d9ca10);
  box-shadow:
    inset 2px 0 #b7d9ca,
    inset 0 0 0 1px #b7d9ca16,
    0 2px 5px #08242815;
}
.nav-item.active .icon {
  color: #b7d9ca;
  opacity: 1;
}
.sidebar :focus-visible {
  outline-color: #b6d8cb;
}
.secondary-nav {
  border-top: 1px solid #ffffff14;
  padding-top: 3px;
}
.secondary-nav summary {
  min-height: 38px;
  font-size: 12px;
  padding: 10px 11px;
  color: var(--chrome-muted);
}
.secondary-nav[open] {
  padding-bottom: 6px;
}
.sidebar-bottom {
  padding-top: 16px;
}
.sidebar-bottom > .nav-item {
  font-size: 12px;
  min-height: 33px;
  padding-top: 7px;
  padding-bottom: 7px;
}
.local-badge {
  border-top: 1px solid #ffffff16;
  margin-top: 11px;
  padding: 14px 5px 0;
  font-size: 11px;
  color: var(--chrome-muted);
}
.workspace {
  margin-left: var(--sidebar-width);
  background: radial-gradient(ellipse at 70% 0, var(--accent-wash), transparent 500px), var(--canvas);
  min-height: 100dvh;
}
.topbar {
  min-height: 68px;
  padding: 13px 28px;
  background: var(--surface);
  gap: 14px;
}
.topbar-actions {
  gap: 8px;
  flex: none;
}
.topbar-actions > .icon-btn {
  border-color: transparent;
  box-shadow: none;
  background: transparent;
}
.topbar-actions .quick-create {
  margin: 0 6px;
}
.breadcrumb {
  gap: 9px;
  font-size: 12px;
  line-height: 1.6;
}
.breadcrumb strong {
  font-weight: 500;
}
main {
  max-width: 1800px;
  padding: 28px;
}
.page-heading {
  align-items: center;
  margin-bottom: 23px;
  gap: 24px;
}
.page-heading .eyebrow {
  margin-bottom: 7px;
  font-size: 10px;
  letter-spacing: 0.11em;
}
.page-heading h1 {
  margin-bottom: 9px;
}
.page-description {
  font-size: 14px;
  line-height: 1.55;
  max-width: 760px;
}
.heading-actions {
  flex: none;
}
.footer {
  line-height: 1.6;
  font-size: 12px;
}
.footer a {
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
}
.demo-note {
  font-size: 12px;
  margin: 26px 0 15px;
  line-height: 1.6;
}

/* 04 — Layered panels, dossiers and useful card families. */
.panel,
.issue-detail,
.project-card,
.report-card,
.help-card,
.document-card,
.saved-view-card {
  border-color: var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}
.panel {
  padding: 22px;
  margin-bottom: 20px;
}
.panel-heading {
  margin-bottom: 19px;
}
.panel-heading h2 {
  font-size: 18px;
  letter-spacing: -0.03em;
}
.panel > p:last-child {
  margin-bottom: 0;
}
.split-layout,
.desk-layout,
.inbox-layout {
  gap: 22px;
}
.split-layout {
  grid-template-columns: minmax(0, 1fr) 286px;
}
.split-layout > *,
.desk-layout > *,
.review-split > *,
.card-grid > *,
.calendar-layout > *,
.inbox-layout > * {
  min-width: 0;
}
.project-grid,
.card-grid,
.review-split,
.integration-grid {
  gap: 20px;
}
.project-grid,
.integration-grid,
.report-grid {
  margin-bottom: 20px;
}
.project-grid > .panel,
.integration-grid > .panel {
  margin-bottom: 0;
}
.project-card {
  display: block;
  overflow: hidden;
}
.project-card > img {
  aspect-ratio: 2.6 / 1;
  width: 100%;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}
.card-content {
  padding: 23px;
}
.card-content h2 {
  font-size: 25px;
  margin: 8px 0 12px;
}
.card-content .eyebrow {
  font-size: 11px;
  color: var(--muted);
}
.card-content > p {
  max-width: 500px;
  color: var(--muted);
  font-size: 14px;
}
.project-mini {
  box-shadow: var(--shadow-card);
}
.project-mini > span {
  padding: 15px 16px;
}
.project-mini strong {
  font-family: var(--heading-font);
  letter-spacing: -0.025em;
  font-size: 16px;
  font-weight: 600;
}
.project-mini small {
  margin-top: 3px;
  font-size: 12px;
}
.project-mini small .icon {
  width: 15px;
  height: 15px;
  margin-left: 8px;
}
.project-mini img {
  aspect-ratio: 2 / 1;
  object-fit: cover;
}
.project-card img,
.project-mini img,
.document-card .icon {
  transition:
    transform 230ms var(--ease),
    filter 230ms var(--ease);
}
.photo-note {
  grid-template-columns: minmax(170px, 32%) minmax(0, 1fr);
  gap: 22px;
}
.photo-note img {
  height: 188px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
}
.photo-note h3 {
  font-size: 21px;
  margin: 10px 0;
}
.photo-note p {
  color: var(--muted);
  font-size: 14px;
}
.dossier-photo {
  height: 220px;
  border: 1px solid var(--line);
}
.report-card,
.help-card,
.document-card,
.saved-view-card {
  padding: 22px;
}
.report-card {
  position: relative;
  background: linear-gradient(150deg, var(--surface), var(--accent-wash));
}
.report-number {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--copper-ink);
  background: var(--copper-soft);
  border: 1px solid color-mix(in srgb, var(--copper) 15%, transparent);
  border-radius: 8px;
  font:
    500 12px ui-monospace,
    monospace;
  margin-bottom: 18px;
}
.report-card h2 {
  font-size: 19px;
  margin-bottom: 10px;
}
.report-card p,
.help-card p,
.document-card p,
.saved-view-card p {
  font-size: 14px;
  color: var(--muted);
}
.report-card > .text-link {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  font-size: 13px;
}
.document-card {
  position: relative;
  min-height: 180px;
  padding-bottom: 48px;
}
.document-card .eyebrow {
  display: block;
  margin-bottom: 18px;
  font-size: 10px;
}
.document-card p {
  margin-bottom: 8px;
}
.document-card > .icon {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 18px;
  height: 18px;
  color: var(--accent);
}
.saved-views {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 25px;
}
.saved-view-card h3 {
  font-size: 20px;
  margin: 12px 0;
}
.label-card {
  background: linear-gradient(150deg, var(--surface), var(--accent-wash));
  transition:
    transform 170ms var(--ease),
    border-color 170ms,
    box-shadow 170ms;
}
.label-card .tag {
  width: max-content;
  max-width: 100%;
  white-space: normal;
}
.owner-line {
  font-size: 13px;
  gap: 10px;
}
.owner-line h3,
.owner-line p {
  margin: 0;
}
.owner-line small {
  font-size: 12px;
}
.inline-stats {
  gap: 20px;
  padding: 17px 0;
  margin: 20px 0;
  border-block: 1px solid var(--line);
}
.inline-stats dd {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}
.inline-stats dt {
  font-size: 12px;
}
.detail-list > div {
  grid-template-columns: minmax(110px, 36%) minmax(0, 1fr);
  padding-bottom: 12px;
  gap: 15px;
  font-size: 14px;
}
aside .detail-list > div {
  grid-template-columns: 1fr;
  gap: 4px;
}
.detail-list dd {
  overflow-wrap: anywhere;
}
.people-list {
  gap: 15px;
}
.people-list a {
  font-size: 14px;
}
.people-list small {
  font-size: 12px;
  margin-top: 2px;
}
.identity .avatar {
  width: 52px;
  height: 52px;
  font-size: 19px;
}
.identity h3 {
  margin-bottom: 5px;
  font-size: 20px;
}
.identity p {
  margin-bottom: 0;
  font-size: 14px;
  color: var(--muted);
}
.gate-row {
  align-items: flex-start;
}
.gate-row > input {
  margin-top: 4px;
}
.gate-row small {
  font-size: 12px;
  margin-top: 5px;
}
.gate-row .text-link {
  font:
    12px ui-monospace,
    monospace;
  margin-top: 4px;
}

/* 05 — The delivery desk: active work, exact issues and release decisions. */
.sprint-strip {
  grid-template-columns: minmax(0, 1fr) 300px;
  border-color: var(--line-strong);
  background: linear-gradient(115deg, var(--accent-soft), var(--accent-wash));
  border-radius: 12px;
  box-shadow:
    inset 0 1px 0 #ffffff30,
    var(--shadow-card);
  margin-bottom: 24px;
}
.sprint-goal {
  padding: 22px 24px 23px;
  position: relative;
}
.sprint-goal::before {
  content: '';
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 0;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--accent);
}
.sprint-goal > .eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 11px;
  letter-spacing: 0.025em;
}
.sprint-goal .badge {
  text-transform: none;
  font-size: 11px;
  background: var(--surface);
}
.sprint-goal h2 {
  margin-bottom: 6px;
  font-size: clamp(21px, 1.8vw, 27px);
  letter-spacing: -0.04em;
}
.sprint-goal > p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 19px;
}
.sprint-progress {
  gap: 12px;
  font-size: 12px;
}
.sprint-progress progress {
  height: 6px;
  width: 120px;
  flex: none;
}
progress {
  display: inline-block;
  border: 0;
  border-radius: 6px;
  overflow: hidden;
  background: var(--line);
  appearance: none;
}
progress::-webkit-progress-bar {
  background: var(--line);
  border-radius: 6px;
}
progress::-webkit-progress-value {
  background: var(--accent);
  border-radius: 6px;
}
progress::-moz-progress-bar {
  background: var(--accent);
  border-radius: 6px;
}
.sprint-checkpoint {
  padding: 23px 24px;
  background: linear-gradient(140deg, var(--surface-related), var(--surface-footer));
  border-left-color: var(--line-strong);
}
.sprint-checkpoint .eyebrow {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--copper-ink);
}
.sprint-checkpoint h3 {
  font-size: 16px;
  margin: 9px 0 5px;
}
.sprint-checkpoint p {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
}
.sprint-checkpoint .text-link {
  font-size: 12px;
}
.sprint-checkpoint .icon {
  width: 16px;
  height: 16px;
  margin-left: 6px;
}
.capacity-note {
  border-top: 1px solid var(--line-strong);
  margin-top: 15px;
  padding-top: 12px;
  font-size: 12px;
}
.desk-layout {
  grid-template-columns: minmax(0, 1fr) 246px;
  gap: 22px;
  align-items: start;
}
.desk-rail .panel {
  padding: 18px;
  margin-bottom: 16px;
}
.desk-rail .panel-heading h2 {
  font-size: 16px;
}
.desk-rail .panel-heading {
  margin-bottom: 15px;
}
.desk-rail p {
  font-size: 13px;
  line-height: 1.6;
}
.desk-rail .blocker-card h3 {
  font-size: 16px;
  line-height: 1.45;
  margin: 12px 0 8px;
}
.blocker-card .text-link {
  font-size: 13px;
}
.blocker-card h3 .text-link {
  font-size: inherit;
  color: var(--ink);
  font-weight: 600;
}
.blocker-card > .badge {
  font-size: 11px;
}
.blocker-card .owner-line {
  border-block: 1px solid var(--line);
  margin: 15px 0;
  padding: 12px 0;
}
.blocker-card > .text-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.blocker-card .icon {
  width: 15px;
  height: 15px;
}
.release-mini > .eyebrow {
  color: var(--copper-ink);
  font-size: 10px;
}
.release-mini > h3 {
  font-size: 17px;
  margin: 9px 0 16px;
}
.checklist {
  font-size: 12px;
  line-height: 1.5;
  gap: 11px;
  margin: 0 0 18px;
}
.checklist li {
  display: flex;
  gap: 9px;
  align-items: baseline;
}
.check-ring {
  margin: 0;
  flex: none;
  width: 11px;
  height: 11px;
}
.release-mini > .btn {
  width: 100%;
  font-size: 12px;
}
.board-toolbar {
  gap: 12px;
  margin-bottom: 16px;
  align-items: center;
}
.board-toolbar h2 {
  font-size: 18px;
  letter-spacing: -0.04em;
}
.board-toolbar h2 .subtle {
  font-weight: 400;
}
.board-toolbar p {
  font-size: 12px;
}
.board-toolbar .actions {
  gap: 6px;
}
.board-toolbar select {
  min-height: 36px;
  font-size: 12px;
  padding: 7px 26px 7px 10px;
  max-width: 175px;
}
.board-toolbar .btn {
  min-height: 36px;
  font-size: 12px;
  padding: 8px 11px;
}
.kanban-board {
  align-items: start;
  gap: 12px;
}
.kanban-lane {
  padding: 12px 10px;
  border-color: color-mix(in srgb, var(--line) 75%, transparent);
  background: linear-gradient(
    180deg,
    var(--surface-related),
    color-mix(in srgb, var(--surface-related) 40%, var(--canvas))
  );
  border-radius: 9px;
  min-height: 210px;
}
.lane-heading {
  gap: 6px;
  padding: 1px 2px 11px;
  margin-bottom: 0;
  border-bottom: 1px solid var(--line);
}
.lane-heading h3 {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}
.lane-heading > [data-lane-count] {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 11px;
  color: var(--muted);
}
.lane-points {
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.status-dot {
  width: 6px;
  height: 6px;
}
.status-dot.ready {
  background: var(--muted);
}
.status-dot.in-progress {
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.status-dot.in-review {
  background: var(--copper);
}
.status-dot.done {
  border: 1px solid var(--accent);
  background: transparent;
  width: 7px;
  height: 7px;
}
.lane-cards {
  padding-top: 12px;
  gap: 10px;
  min-height: 90px;
}
.issue-card {
  padding: 13px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 7px;
  box-shadow:
    0 1px 2px #173b4009,
    0 4px 7px #173b4003;
  transition:
    transform 170ms var(--ease),
    box-shadow 170ms var(--ease),
    border-color 170ms var(--ease),
    background 170ms;
}
.issue-card:has(.badge.warm) {
  border-top: 2px solid color-mix(in srgb, var(--copper) 70%, var(--line));
}
.issue-card-top {
  gap: 5px;
  margin-bottom: 11px;
}
.issue-card-top > .issue-key {
  font-size: 11px;
  margin-right: auto;
}
.issue-card .badge {
  font-size: 10px;
  padding: 2px 5px;
  letter-spacing: 0.01em;
}
.issue-title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  margin-bottom: 12px;
  overflow-wrap: break-word;
}
.issue-title:focus-visible {
  border-radius: 2px;
}
.issue-card > p {
  font-size: 12px;
  line-height: 1.4;
  margin-bottom: 15px;
}
.issue-card-meta {
  gap: 6px;
}
.issue-card-meta .avatar {
  width: 25px;
  height: 25px;
  font-size: 10px;
}
.priority {
  font-size: 11px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.priority::before {
  content: '';
  width: 4px;
  height: 9px;
  border-radius: 1px;
  background: var(--line-strong);
}
.priority-high {
  color: var(--copper-ink);
}
.priority-high::before {
  background: var(--copper);
  height: 11px;
}
.priority-critical {
  color: var(--danger);
}
.priority-critical::before {
  background: var(--danger);
  height: 13px;
}
.points {
  font-size: 11px;
  font-family: var(--heading-font);
  min-width: 22px;
  text-align: center;
  border: 1px solid var(--line);
}
.issue-move {
  margin-top: 12px;
  padding-top: 9px;
  font-size: 12px;
}
.issue-move summary {
  padding: 2px 0;
  font-size: 11px;
  line-height: 1.5;
}
.issue-move[open] summary {
  margin-bottom: 9px;
  color: var(--accent);
}
.issue-move select {
  min-height: 36px;
  padding: 7px 22px 7px 8px;
}
.issue-move .btn {
  width: 100%;
  margin-top: 3px;
}
.issue-card.dragging {
  opacity: 0.55;
  transform: rotate(-1deg);
  box-shadow: var(--shadow-hover);
}
.kanban-lane.dragover,
.kanban-lane[data-drag-over='true'],
.lane-cards.dragover {
  border-color: var(--accent);
  background: var(--accent-soft);
  outline: 2px dashed var(--accent);
  outline-offset: 3px;
}
.board-workspace > .help-text {
  font-size: 12px;
  margin: 13px 2px 0;
}
.board-bottom {
  background: linear-gradient(120deg, var(--surface), var(--accent-wash));
  padding: 17px 20px;
  box-shadow: var(--shadow-card);
}
.board-bottom .btn {
  font-size: 13px;
}
.mobile-status-switch select {
  max-width: 100%;
}
.work-row {
  padding: 17px 0;
  gap: 12px;
}
.work-row .issue-link {
  font-weight: 500;
  font-size: 14px;
}
.work-row .btn {
  font-size: 12px;
}
.work-row > div {
  min-width: 0;
}
.issue-detail {
  padding: 25px;
}
.entity-header {
  align-items: center;
}
.entity-header h2 {
  margin: 12px 0 8px;
  font-size: 25px;
}
.entity-header > div > p {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 0;
}
.entity-header .actions {
  justify-content: flex-end;
}
.entity-header .actions .btn {
  font-size: 12px;
}
.comment-list li {
  font-size: 14px;
}
.comment-list .avatar {
  vertical-align: middle;
  margin-right: 8px;
}
.comment-list time {
  display: inline-block;
}
.activity-list li {
  position: relative;
  padding: 0 0 18px 20px;
  margin-left: 3px;
  border-left: 1px solid var(--line);
  font-size: 14px;
}
.activity-list li::before {
  content: '';
  position: absolute;
  top: 5px;
  left: -4px;
  width: 7px;
  height: 7px;
  background: var(--accent);
  border: 2px solid var(--surface);
  outline: 1px solid var(--line-strong);
  border-radius: 50%;
}
.activity-list {
  gap: 0;
  margin-top: 0;
}
.activity-list time {
  margin-bottom: 10px;
}

/* 06 — Registers: comfortable scanning and contained horizontal detail. */
.data-panel {
  padding-bottom: 18px;
}
.register-summary {
  padding: 0 0 17px;
  margin-bottom: 17px;
  border-bottom: 1px solid var(--line);
  gap: 8px 18px;
  font-size: 12px;
}
.register-summary span {
  padding: 0;
}
.register-summary strong {
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.table-toolbar {
  gap: 9px;
  padding-bottom: 18px;
}
.table-toolbar > label:not(.search-field) {
  display: grid;
  gap: 5px;
  font-size: 12px;
}
.table-toolbar > select {
  min-height: 40px;
  font-size: 13px;
  padding: 8px 28px 8px 11px;
}
.table-toolbar label > select {
  min-height: 40px;
  font-size: 13px;
}
.table-toolbar .actions {
  gap: 7px;
}
.table-toolbar .btn {
  font-size: 12px;
  min-height: 40px;
  padding: 9px 11px;
}
.table-toolbar > .btn {
  align-self: end;
}
.search-field {
  position: relative;
  gap: 9px;
  min-width: 190px;
}
.table-toolbar .search-field .icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  color: var(--muted);
  pointer-events: none;
}
.table-toolbar .search-field:has(.icon) input {
  padding-left: 38px;
}
.search-field input {
  min-height: 40px;
  font-size: 13px;
  background: var(--canvas);
}
.column-menu {
  padding: 0;
  border-color: var(--line);
  min-height: 40px;
  background: var(--surface);
  z-index: 3;
}
.column-menu > summary {
  min-height: 38px;
  padding: 9px 11px;
  font-weight: 500;
  font-size: 12px;
}
.column-menu[open] {
  box-shadow: var(--shadow-hover);
}
.column-menu > label {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  min-height: 38px;
  font-size: 13px;
}
.column-menu > label:last-child {
  border-radius: 0 0 7px 7px;
}
.simple-table {
  font-size: 13px;
  line-height: 1.5;
}
.simple-table th {
  padding: 12px 12px;
  background: var(--surface-related);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--muted);
  border-block: 1px solid var(--line);
}
.simple-table td {
  padding: 14px 12px;
  border-bottom-color: var(--line);
}
.simple-table th:first-child {
  border-radius: 6px 0 0 0;
}
.simple-table th:last-child {
  border-radius: 0 6px 0 0;
}
.simple-table tbody tr {
  transition: background 150ms;
}
.simple-table tbody tr:focus-within,
.simple-table tbody tr:has(input[type='checkbox']:checked) {
  background: var(--accent-wash);
}
.simple-table tr:last-child td {
  border-bottom-color: transparent;
}
.simple-table td .issue-link {
  display: inline-block;
  max-width: 360px;
  line-height: 1.6;
}
.simple-table .issue-key {
  font-size: 11px;
}
.simple-table td > .avatar {
  vertical-align: middle;
  margin-right: 7px;
}
.simple-table .person-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
}
.simple-table .check-cell,
.simple-table td:has(> input[type='checkbox']) {
  min-width: 36px;
  padding-left: 8px;
  padding-right: 8px;
}
.issue-table td:nth-child(2) {
  min-width: 270px;
}
.issue-table td:nth-child(4),
.issue-table td:nth-child(5) {
  white-space: nowrap;
}
.sort-button {
  min-height: 20px;
  text-align: left;
}
.sort-button span {
  color: var(--muted);
  font-size: 12px;
}
.sort-button:focus-visible {
  outline-offset: 5px;
}
.sort-button[aria-sort],
th[aria-sort]:not([aria-sort='none']) {
  color: var(--accent);
}
.table-scroll {
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) var(--surface-related);
}
.table-pagination {
  padding-top: 15px;
  margin-top: 8px;
  border-top: 1px solid var(--line);
  gap: 10px;
  font-size: 12px;
}
.table-pagination select {
  margin-left: 6px;
  min-height: 34px;
  font-size: 12px;
  padding: 5px 23px 5px 9px;
}
.table-pagination .btn {
  min-height: 34px;
  padding: 7px 11px;
  font-size: 12px;
}
.table-pagination [data-page-label],
.table-pagination [data-issues-page] {
  font-variant-numeric: tabular-nums;
}
.bulk-bar {
  margin-bottom: 15px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  font-size: 13px;
  flex-wrap: wrap;
}
.bulk-bar .btn {
  background: var(--surface);
  font-size: 12px;
}
[data-saved-presets],
[data-saved-views] {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.empty-inline {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  padding: 14px 0;
}

/* 07 — Intake, planning and editors: a clear path to a concrete outcome. */
.field,
.stack-form > label,
[data-runtime-form] > label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 19px;
}
.field > input,
.field > select,
.field > textarea {
  width: 100%;
  min-width: 0;
  font-weight: 400;
}
.field small,
.field .field-error {
  font-weight: 400;
  font-size: 12px;
  line-height: 1.5;
}
.field > span:first-child {
  color: var(--ink);
}
.field-error {
  color: var(--danger);
}
.field-error:empty {
  display: none;
}
.form-grid {
  gap: 0 20px;
}
.form-footer {
  margin-top: 25px;
  padding-top: 20px;
  border-top-color: var(--line);
  flex-wrap: wrap;
}
.form-footer > [data-step-count] {
  margin-right: auto;
  color: var(--muted);
  font-size: 12px;
}
.form-result,
[data-form-result]:not([hidden]),
[data-issue-save-result]:not([hidden]),
[data-gate-result]:not([hidden]),
[data-reply-result]:not([hidden]),
[data-compose-result]:not([hidden]),
[data-invitation-result]:not([hidden]) {
  background: var(--accent-soft);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--accent);
  border-radius: 7px;
  padding: 13px 15px;
  font-size: 14px;
  line-height: 1.6;
  margin-top: 18px;
}
.form-result.bad,
[data-form-result].bad {
  background: var(--danger-soft);
  color: var(--danger);
  border-left-color: var(--danger);
}
.check-label {
  align-items: start;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  gap: 10px;
}
.check-label input {
  margin: 2px 0 0;
}
fieldset {
  min-width: 0;
  min-inline-size: 0;
  margin: 18px 0 22px;
  padding: 20px;
  border-color: var(--line);
  background: linear-gradient(145deg, var(--surface), var(--accent-wash));
}
fieldset > label:not(.field):not(.check-label) {
  margin-right: 20px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
}
legend {
  color: var(--ink);
  font-size: 14px;
  padding: 0 8px;
}
.capacity-summary {
  margin: 20px 0;
  padding: 17px 19px;
  background: linear-gradient(120deg, var(--accent-soft), var(--accent-wash));
  border-color: var(--line-strong);
  border-radius: 8px;
  font-size: 14px;
}
.capacity-summary strong {
  font-family: var(--heading-font);
  font-size: 21px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.wizard-steps {
  gap: 8px;
  counter-reset: step;
  padding-bottom: 18px;
  margin: 0 0 25px;
}
.wizard-steps li {
  font-size: 13px;
  color: var(--muted);
  flex: 1;
  padding: 10px;
  background: var(--surface-related);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.wizard-steps li.active {
  color: var(--accent-ink);
  background: var(--accent-soft);
  border-color: var(--line-strong);
}
.process-list {
  font-size: 14px;
  padding-left: 19px;
}
.process-list li {
  margin-bottom: 19px;
  padding-left: 4px;
}
.process-list li::marker {
  color: var(--copper-ink);
  font-size: 12px;
  font-weight: 600;
}
.process-list p {
  font-size: 13px;
  line-height: 1.6;
  margin-top: 5px;
}
.inline-process {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style-position: inside;
  padding: 0;
  border-bottom: 1px solid var(--line);
  margin: 0 0 22px;
}
.inline-process li {
  font-size: 12px;
  padding: 0;
  margin-bottom: 16px;
}
.upload-zone {
  padding: 26px;
  border-color: var(--line-strong);
  background: linear-gradient(140deg, var(--surface-related), var(--accent-wash));
  transition:
    border-color 170ms,
    background 170ms;
}
.upload-zone h3 {
  font-size: 20px;
}
.upload-zone p {
  font-size: 14px;
  color: var(--muted);
}
.upload-zone .field {
  margin-bottom: 0;
}
.upload-zone.dragover {
  border-color: var(--accent);
  background: var(--accent-soft);
  outline: 2px dashed var(--accent);
  outline-offset: 4px;
}
.staged-files {
  margin: 15px 0;
}
.staged-files > article {
  font-size: 14px;
}
.staged-files p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.staged-files .btn {
  font-size: 12px;
}
.conditional-fields,
[data-data-loss-fields] {
  padding: 18px;
  margin: 15px 0;
  background: var(--accent-wash);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.tabs {
  gap: 5px;
  margin: 23px 0;
  border-color: var(--line);
  padding-bottom: 10px;
}
.tabs .btn {
  background: transparent;
  color: var(--muted);
  border: 1px solid transparent;
  box-shadow: none;
  font-size: 13px;
  min-height: 36px;
  padding: 8px 13px;
}
.tabs .btn.active,
.tabs .btn[aria-selected='true'] {
  background: var(--accent-soft);
  color: var(--accent-ink);
  border-color: var(--line);
}
[data-tab-panel] {
  animation: panel-in 180ms var(--ease) both;
}

/* 08 — Delivery calendar, roadmap and the team inbox. */
.calendar-toolbar {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}
.calendar-toolbar .btn {
  font-size: 12px;
  min-height: 36px;
  padding: 8px 12px;
}
.calendar-toolbar h2 {
  font-size: 22px;
  letter-spacing: -0.04em;
}
.calendar-toolbar > label {
  font-size: 12px;
}
.calendar-toolbar select {
  min-height: 36px;
  font-size: 13px;
  padding: 7px 26px 7px 10px;
  margin-left: 5px;
}
.calendar-layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 30px;
}
.month-grid {
  gap: 6px;
  align-content: start;
}
.month-grid > strong {
  padding: 7px 0;
  font-size: 12px;
  font-weight: 400;
}
.calendar-day {
  min-height: 49px;
  font-size: 14px;
  border-color: var(--line);
  background: var(--surface);
  transition:
    background 150ms,
    border-color 150ms,
    box-shadow 150ms;
}
.calendar-day.selected,
.calendar-day[aria-pressed='true'],
.calendar-day[aria-selected='true'] {
  color: var(--on-accent);
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 2px 6px #173b4014;
}
.calendar-day.selected .event-dot,
.calendar-day[aria-pressed='true'] .event-dot {
  background: var(--on-accent);
}
.calendar-day.outside {
  background: var(--accent-wash);
  opacity: 0.5;
}
.agenda {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}
.agenda > h3 {
  font-size: 17px;
  padding: 8px 0;
}
.agenda-event {
  gap: 17px;
  padding: 17px 0;
}
.agenda-event time {
  font-size: 15px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
}
.agenda-event .eyebrow {
  font-size: 10px;
  margin-bottom: 7px;
  display: block;
}
.agenda-event h4 {
  font-size: 16px;
}
.agenda-event p {
  color: var(--muted);
  font-size: 13px;
}
.agenda-event .text-link {
  font-size: 12px;
}
.roadmap-axis {
  padding: 10px 0;
  margin-top: 10px;
  font-variant-numeric: tabular-nums;
}
.roadmap-row {
  gap: 24px;
  padding: 21px 0;
}
.roadmap-row h3 {
  margin: 8px 0 7px;
}
.timeline-track {
  background: repeating-linear-gradient(
    90deg,
    var(--surface-related) 0,
    var(--surface-related) calc(16.66% - 1px),
    var(--line) calc(16.66% - 1px),
    var(--line) 16.66%
  );
  height: 44px;
  border-radius: 6px;
}
.timeline-bar {
  background: linear-gradient(100deg, var(--accent-soft), var(--surface-footer));
  min-height: 44px;
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--accent);
  color: var(--accent-ink);
  box-shadow: var(--shadow-sm);
  font-size: 12px;
  white-space: nowrap;
  justify-content: center;
  transition:
    filter 160ms,
    box-shadow 160ms;
}
.timeline-bar.optic {
  color: var(--copper-ink);
  background: var(--copper-soft);
  border-color: color-mix(in srgb, var(--copper) 25%, var(--line));
  border-left-color: var(--copper);
}
.inbox-layout {
  grid-template-columns: minmax(0, 1fr) 260px;
}
.message-row {
  padding: 19px 12px;
  margin: 0 -12px;
  border-radius: 6px;
  transition: background 150ms;
}
.message-row.unread h2 {
  font-weight: 600;
}
.message-row:not(.unread) h2 {
  font-weight: 500;
}
.message-row p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.65;
  font-size: 13px;
}
.message-heading strong {
  font-weight: 500;
}
.message-row .avatar {
  width: 34px;
  height: 34px;
  margin-top: 3px;
}
.message-row small {
  font-size: 12px;
}
.message-sender {
  gap: 13px;
  font-size: 14px;
}
.message-sender .avatar {
  width: 38px;
  height: 38px;
  font-size: 13px;
}
.message-sender time {
  font-size: 12px;
  color: var(--muted);
}
.message-body {
  font-size: 16px;
  max-width: 820px;
  line-height: 1.85;
}
.linked-issue {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 15px;
  background: var(--accent-wash);
  font-size: 14px;
}

/* 09 — Evidence-led reports and their readable numeric counterparts. */
.chart-figure {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--accent-wash), var(--surface));
  margin: 22px 0;
  min-width: 0;
}
.data-chart {
  display: block;
}
.chart-grid {
  stroke: var(--line);
  stroke-dasharray: 2 4;
}
.chart-line {
  stroke-width: 2.5;
}
.chart-area {
  fill: var(--accent-soft);
  opacity: 0.8;
}
.chart-point {
  stroke-width: 2.5;
}
.chart-label {
  fill: var(--muted);
  font-size: 12px;
}
figcaption {
  margin-top: 15px;
  line-height: 1.6;
  font-size: 12px;
}
.bar-chart {
  gap: 15px;
}
.bar-row {
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 16px;
}
.bar-row > strong {
  font-size: 13px;
  font-weight: 500;
}
.bar-tracks {
  gap: 5px;
}
.bar,
[data-theme='dark'] .bar {
  min-height: 26px;
  background: var(--accent);
  color: var(--on-accent);
  font: 500 12px/1.6 var(--heading-font);
  padding: 3px 9px;
  box-shadow: inset 0 1px 0 #ffffff16;
  border-radius: 4px;
}
.bar.secondary,
[data-theme='dark'] .bar.secondary {
  background: var(--copper-ink);
  color: #fffefa;
}
[data-theme='dark'] .bar.secondary {
  color: #28291f;
}
.legend-key {
  margin-right: 4px;
}
.reconciliation {
  gap: 26px;
  padding: 29px 20px;
  margin: 5px 0 22px;
  background: linear-gradient(120deg, var(--accent-wash), var(--surface-related));
  border: 1px solid var(--line);
  border-radius: 9px;
}
.reconciliation > div {
  gap: 6px;
  min-width: 0;
}
.reconciliation > div > span {
  font-size: 13px;
  color: var(--muted);
}
.reconciliation strong {
  font-size: 48px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.06em;
  font-variant-numeric: tabular-nums;
}
.reconciliation [data-report-complete] {
  color: var(--accent);
}
.reconciliation [data-report-remaining] {
  color: var(--copper-ink);
}
.reconciliation small {
  font-size: 12px;
}
.math-symbol {
  font-size: 24px;
  font-weight: 300;
}
.state-composition {
  gap: 6px;
  align-items: stretch;
}
.state-segment {
  min-width: 80px;
  padding: 16px 13px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, var(--accent-soft), var(--accent-wash));
}
.state-segment strong {
  font: 500 28px/1.25 var(--heading-font);
  letter-spacing: -0.05em;
}
.state-segment span {
  margin-top: 7px;
  font-size: 12px;
  color: var(--muted);
}
.state-in-review {
  background: var(--copper-soft);
}
.state-done {
  border-bottom: 3px solid var(--accent);
}
.activity-matrix > div {
  gap: 9px;
}
.activity-matrix h3 {
  font-size: 17px;
}
.heat-cell {
  min-width: 85px;
  padding: 14px;
  border: 1px solid var(--line);
}
.heat-cell strong {
  font-family: var(--heading-font);
  font-size: 26px;
  font-weight: 500;
}
.heat-cell time {
  color: var(--muted);
  margin-bottom: 6px;
}
.heat-cell.filled {
  border-color: var(--line-strong);
}

/* 10 — Documents, local estimates and service states. */
.document-sheet {
  max-width: 1100px;
  margin-inline: auto;
  padding: 30px;
}
.document-header {
  padding-bottom: 25px;
  border-bottom: 1px solid var(--line);
  gap: 24px;
}
.document-header h2 {
  margin-bottom: 10px;
  letter-spacing: -0.04em;
}
.document-header p {
  color: var(--muted);
  font-size: 14px;
}
.document-parties {
  gap: 25px;
  font-size: 14px;
}
.document-parties h3 {
  font-size: 14px;
  margin-bottom: 12px;
}
.document-parties p,
.document-parties dt {
  color: var(--muted);
}
.document-parties dl {
  font-size: 13px;
}
.document-total {
  gap: 30px;
  padding: 20px 0;
  margin: 12px 0;
  font-size: 19px;
}
.document-total strong {
  font-family: var(--heading-font);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.035em;
}
.estimate-table {
  table-layout: auto;
}
.estimate-table th,
.estimate-table td {
  padding: 13px 14px;
}
.estimate-table td:first-child {
  min-width: 220px;
}
.estimate-table input {
  width: 104px;
  min-width: 90px;
  padding: 9px 11px;
  font-size: 14px;
}
.estimate-table td:first-child input {
  min-width: 160px;
  width: 100%;
}
.estimate-table td:first-child .btn {
  margin-top: 10px;
}
.estimate-table [data-line-total] {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.estimate-totals {
  max-width: 300px;
  width: 100%;
  font-size: 14px;
  margin-top: 22px;
}
.estimate-totals > div:last-child {
  background: var(--accent-soft);
  border-radius: 5px;
  color: var(--accent-ink);
  font-weight: 500;
}
.estimate-totals dd {
  font-variant-numeric: tabular-nums;
}
.ai-result {
  background: var(--accent-wash);
  font-size: 14px;
  line-height: 1.75;
  border-color: var(--line-strong);
  border-left: 3px solid var(--accent);
  padding: 17px 18px;
}
.ai-result:has(.ai-error),
.ai-result.error,
.ai-result[data-state='error'] {
  background: var(--danger-soft);
  border-left-color: var(--danger);
}
.ai-result a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ai-result .btn {
  margin-top: 10px;
}
.ai-result pre {
  font-size: 12px;
  margin: 10px 0 0;
  padding: 12px;
  white-space: pre-wrap;
}
.ai-error {
  color: var(--danger);
}
.service-note {
  font-size: 12px;
  line-height: 1.7;
  border-top: 1px solid var(--line);
  padding-top: 15px;
}
.service-note a {
  color: var(--accent);
  text-underline-offset: 3px;
}
[data-ai-result][aria-busy='true'],
[data-ai-state='loading'] {
  border-color: var(--accent);
  background: var(--accent-wash);
}
.plan-heading {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.display-number {
  font: 500 50px/1.3 var(--heading-font);
  letter-spacing: -0.06em;
}

/* 11 — Search, directory, studio pages and the secondary component library. */
.directory-intro {
  background: linear-gradient(120deg, var(--surface), var(--accent-wash));
}
.directory-intro h2 {
  font-size: 22px;
}
.directory-intro p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 0;
}
.directory-intro .search-field {
  min-width: 270px;
}
.directory-intro input {
  min-height: 44px;
}
.directory-links {
  gap: 11px;
}
.directory-links a {
  padding: 17px;
  background: var(--accent-wash);
  border-color: var(--line);
  transition:
    background 150ms,
    border-color 150ms,
    transform 150ms;
}
.directory-links strong {
  font-size: 14px;
  font-weight: 500;
}
.directory-links span {
  font-size: 12px;
  line-height: 1.6;
}
.directory-group h2 {
  font-size: 19px;
}
.notice {
  padding: 18px 20px;
  background: linear-gradient(130deg, var(--surface-related), var(--accent-wash));
  border-radius: 8px;
  line-height: 1.65;
  font-size: 14px;
}
.notice h3 {
  font-size: 16px;
  margin-bottom: 7px;
}
.notice.warm {
  background: linear-gradient(130deg, var(--copper-soft), var(--surface));
  border-left-color: var(--copper);
}
.notice a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.notice > .btn {
  text-decoration: none;
}
.auth-layout {
  max-width: 1040px;
  gap: 22px;
  grid-template-columns: 1fr 0.85fr;
  align-items: stretch;
}
.auth-card {
  padding: 32px;
  margin-bottom: 0;
}
.auth-card h2 {
  font-size: 25px;
  margin-top: 22px;
  margin-bottom: 12px;
}
.auth-card > p {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 24px;
}
.auth-photo {
  min-width: 0;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
.auth-photo img {
  width: 100%;
  border-radius: 0;
  object-position: 40% center;
}
.auth-photo p {
  font-family: var(--heading-font);
  font-size: 16px;
  left: 18px;
  right: 18px;
  bottom: 2px;
  padding: 15px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
.password-wrap {
  width: 100%;
}
.password-wrap input {
  width: 0;
}
.reading-panel {
  padding: 32px 36px;
  font-size: 15px;
  line-height: 1.85;
}
.reading-panel > h2 {
  font-size: 26px;
  line-height: 1.3;
}
.reading-panel h3 {
  font-size: 19px;
  margin-top: 27px;
}
.reading-panel p {
  color: var(--muted);
}
.reading-panel .lead {
  color: var(--ink);
  font-size: 18px;
}
.reading-panel details {
  padding: 18px;
  background: var(--surface-related);
  border: 1px solid var(--line);
  border-radius: 7px;
}
.reading-panel details p {
  margin: 14px 0 0;
  font-size: 14px;
}
.error-layout {
  padding: 35px 20px;
  max-width: 760px;
  margin-inline: auto;
}
.error-code {
  font-size: clamp(42px, 5vw, 72px);
  letter-spacing: -0.065em;
  line-height: 1.15;
}
.error-layout .lead {
  font-size: 18px;
  color: var(--muted);
}
.help-search {
  background: linear-gradient(125deg, var(--accent-soft), var(--accent-wash));
  border-color: var(--line-strong);
}
.help-search h2 {
  font-size: 25px;
}
.help-search p {
  font-size: 14px;
  color: var(--muted);
}
.search-kinds {
  gap: 6px;
  margin: 18px 0 15px;
}
.search-kinds .btn {
  font-size: 12px;
}
[data-search-count] {
  font-size: 13px;
  color: var(--muted);
}
.search-result,
.command-results > a {
  border-color: var(--line);
  background: var(--surface);
  border-radius: 7px;
  font-size: 14px;
  transition:
    background 140ms,
    border-color 140ms;
}
.search-result small,
.command-results small {
  font-size: 12px;
  color: var(--muted);
}
.search-results {
  gap: 9px;
}
.search-results > p {
  padding: 20px 0;
}
.component-demo h3 {
  margin-top: 26px;
  margin-bottom: 15px;
  font-size: 16px;
}
.component-demo h3:first-child {
  margin-top: 0;
}
.component-demo > p {
  margin: 23px 0 0;
  font-size: 14px;
  color: var(--muted);
}
.type-specimen h2 {
  font-size: 34px;
  max-width: 650px;
  margin: 12px 0 18px;
}
.type-specimen > .eyebrow {
  margin: 24px 0 12px;
}
.type-specimen > .eyebrow:first-child {
  margin-top: 0;
}
.type-specimen .detail-list {
  margin-top: 26px;
}
.color-swatch {
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
  padding: 14px;
  transition:
    box-shadow 150ms,
    transform 150ms,
    border-color 150ms;
}
.color-swatch > span {
  height: 95px;
  margin-bottom: 5px;
  border: 1px solid var(--line);
}
.color-swatch strong {
  font-weight: 500;
  font-size: 14px;
}
.color-swatch code {
  font-size: 12px;
  color: var(--muted);
}
.color-swatch small {
  font-size: 12px;
}
.disclosure {
  padding: 17px 0;
  font-size: 14px;
}
.disclosure summary {
  padding: 4px 0;
}
.disclosure p {
  color: var(--muted);
  line-height: 1.75;
}
.disclosure[open] summary {
  color: var(--accent);
}
.empty-state {
  padding: 34px 20px;
}
.empty-state h3 {
  font-size: 19px;
}
.empty-state p {
  font-size: 14px;
  color: var(--muted);
}
.empty-symbol {
  font: 500 34px var(--heading-font);
}
.loading-line {
  background: linear-gradient(100deg, var(--surface-related), var(--accent-soft));
  height: 13px;
}
.loading-example p {
  margin-top: 22px;
  font-size: 14px;
  color: var(--muted);
}
.horizontal-nav {
  padding: 8px;
  background: var(--surface-related);
  border: 1px solid var(--line);
  border-radius: 9px;
  gap: 5px;
}
.horizontal-nav .btn {
  font-size: 13px;
  box-shadow: none;
  border-color: transparent;
  background: transparent;
}
.horizontal-nav .btn.active {
  background: var(--surface);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

/* 12 — Native overlays: three related surfaces, bounded scrolling and focus. */
dialog {
  width: 660px;
  padding: 0;
  max-width: calc(100vw - 40px);
  max-height: calc(100dvh - 40px);
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  box-shadow: var(--shadow-dialog);
  overflow: hidden;
  overscroll-behavior: contain;
}
dialog[open] {
  display: flex;
  flex-direction: column;
  animation: dialog-in 200ms var(--ease) both;
}
dialog::backdrop {
  background: #0b272f80;
  backdrop-filter: blur(3px);
  animation: backdrop-in 180ms var(--ease) both;
}
[data-theme='dark'] dialog::backdrop {
  background: #061b227e;
}
.modal-header {
  flex: none;
  background: linear-gradient(125deg, var(--surface-related), var(--accent-soft));
  border-bottom: 1px solid var(--line-strong);
  padding: 21px 24px;
  min-height: 80px;
  gap: 18px;
  align-items: flex-start;
}
.modal-header > div {
  min-width: 0;
}
.modal-header h2 {
  font-size: 23px;
  line-height: 1.3;
  letter-spacing: -0.04em;
  margin: 0;
}
.modal-header .eyebrow {
  font-size: 10px;
  margin-bottom: 6px;
}
.modal-header .issue-key {
  margin-bottom: 8px;
  color: var(--accent-ink);
}
.modal-header .icon-btn {
  box-shadow: none;
  background: color-mix(in srgb, var(--surface) 65%, transparent);
  border-color: var(--line);
  min-height: 36px;
  width: 36px;
  min-width: 36px;
  padding: 8px;
}
.modal-header .icon-btn .icon {
  width: 17px;
  height: 17px;
}
.modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 24px;
  background: var(--surface);
}
.modal-body > p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}
.modal-body > p:last-child,
.modal-body .prose > p:last-child {
  margin-bottom: 0;
}
.modal-body .stack-form > label {
  display: grid;
  gap: 7px;
  margin-bottom: 18px;
  font-weight: 500;
  font-size: 13px;
}
.modal-body .stack-form > label input,
.modal-body .stack-form > label select,
.modal-body .stack-form > label textarea {
  display: block;
  width: 100%;
  min-width: 0;
  font-weight: 400;
}
.modal-body form > p.muted {
  font-size: 12px;
  line-height: 1.7;
}
.modal-footer {
  flex: none;
  margin: 0;
  padding: 17px 24px;
  background: linear-gradient(120deg, var(--surface-footer), var(--surface-related));
  border-top: 1px solid var(--line-strong);
  gap: 9px;
  min-height: 74px;
  font-size: 12px;
}
.modal-footer > .btn {
  font-size: 13px;
}
.modal-body .modal-footer {
  position: sticky;
  bottom: -24px;
  z-index: 2;
  margin: 23px -24px -24px;
}
.modal-body .modal-footer > .btn {
  min-height: 40px;
}
.modal-body .prose {
  font-size: 15px;
}
.modal-body .prose p {
  line-height: 1.75;
}
.app-dialog.drawer,
.issue-drawer {
  width: 700px;
  margin: 16px 16px 16px auto;
  max-height: calc(100dvh - 32px);
}
.app-dialog.drawer[open],
.issue-drawer[open] {
  animation-name: drawer-in;
}
.copilot-dialog {
  width: 720px;
}
.copilot-dialog details {
  padding: 13px 15px;
  border: 1px solid var(--line);
  background: var(--accent-wash);
  border-radius: 7px;
  margin: 17px 0 23px;
}
.copilot-dialog summary {
  font-size: 13px;
  font-weight: 500;
}
.copilot-dialog pre {
  margin: 14px 0 0;
  max-height: 195px;
  overflow: auto;
  background: var(--surface-related);
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 12px;
}
.copilot-dialog .service-note {
  margin-bottom: 0;
}
.command-dialog {
  width: 710px;
}
.command-dialog .modal-header {
  align-items: center;
  min-height: 65px;
  padding: 15px 20px;
}
.command-dialog .modal-header label {
  font-family: var(--heading-font);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.command-input {
  padding: 18px 20px;
  flex: none;
}
.command-input input {
  min-height: 45px;
  font-size: 15px;
  background: var(--canvas);
}
.command-results {
  padding: 0 20px 20px;
  max-height: 52dvh;
  min-height: 0;
  flex: 1 1 auto;
  overscroll-behavior: contain;
}
.command-results > a {
  padding: 13px 15px;
}
.command-results > a.active {
  background: var(--accent-soft);
  border-color: var(--line-strong);
}
.command-dialog .modal-footer {
  min-height: 54px;
  padding: 14px 20px;
  font-size: 12px;
  flex-wrap: wrap;
  justify-content: space-between;
}
pre {
  border-radius: 6px;
  font-size: 12px;
  line-height: 1.75;
}
.toast-region {
  bottom: 22px;
  right: 22px;
  gap: 9px;
  max-width: min(450px, calc(100vw - 32px));
}
.toast {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--accent);
  box-shadow: var(--shadow-hover);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.6;
  animation: toast-in 200ms var(--ease) both;
}
.toast > span {
  flex: 1;
}
.toast .icon-btn {
  width: 32px;
  min-width: 32px;
  min-height: 32px;
  padding: 5px;
  background: transparent;
  box-shadow: none;
}
.toast.bad {
  border-left-color: var(--danger);
}
.toast.warning {
  border-left-color: var(--copper);
}
.noscript {
  position: relative;
  margin: 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

/* 13 — Purposeful feedback; no dependency on a reveal script. */
[data-premium-card] {
  transition:
    transform 180ms var(--ease),
    box-shadow 180ms var(--ease),
    border-color 180ms var(--ease),
    background 180ms var(--ease);
}
[data-premium-card]:focus-within {
  border-color: var(--accent);
  box-shadow: var(--shadow-hover);
}
[data-reveal] {
  animation: work-in 440ms var(--ease) both;
  transition:
    box-shadow 180ms var(--ease),
    border-color 180ms var(--ease);
}
@keyframes work-in {
  from {
    opacity: 0.75;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes panel-in {
  from {
    opacity: 0.8;
    transform: translateY(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(7px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes drawer-in {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes backdrop-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (hover: hover) {
  .btn:hover:not(:disabled),
  .icon-btn:hover:not(:disabled) {
    border-color: var(--line-strong);
    background: var(--surface-related);
    box-shadow: var(--shadow-sm);
  }
  .btn.primary:hover:not(:disabled) {
    color: var(--on-accent);
    border-color: var(--accent-hover);
    background: var(--accent-hover);
    box-shadow: 0 3px 9px #173b401b;
  }
  .btn.active:hover:not(:disabled),
  .btn[aria-selected='true']:hover {
    color: var(--accent-ink);
    background: var(--accent-soft);
    border-color: var(--accent);
  }
  .btn.danger:hover:not(:disabled) {
    color: var(--danger);
    border-color: var(--danger);
    background: var(--danger-soft);
  }
  .text-link:hover,
  .issue-link:hover,
  .person-link:hover {
    text-decoration-color: currentColor;
  }
  .nav-item:hover {
    color: #fffefa;
    background: #dceee615;
  }
  .nav-item.active:hover {
    background: #dceee626;
  }
  .sidebar-search:hover {
    border-color: #ffffff45;
    background: #ffffff08;
  }
  .brand:hover .brand-mark {
    color: #e4bc98;
  }
  .profile-link:hover {
    box-shadow: 0 0 0 3px var(--accent-soft);
  }
  [data-premium-card]:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: var(--line-strong);
  }
  .issue-card:hover {
    border-color: var(--line-strong);
  }
  .issue-title:hover {
    color: var(--accent);
  }
  .project-mini:hover img,
  .project-card:hover > img {
    transform: scale(1.018);
  }
  .document-card:hover > .icon {
    transform: translateX(3px);
  }
  .label-card:hover,
  .color-swatch:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
  }
  .directory-links a:hover,
  .search-result:hover,
  .command-results > a:hover {
    background: var(--accent-soft);
    border-color: var(--line-strong);
  }
  .simple-table tbody tr:hover,
  .message-row:hover {
    background: var(--accent-wash);
  }
  .column-menu > label:hover {
    background: var(--accent-wash);
  }
  .sort-button:hover,
  .issue-move summary:hover {
    color: var(--accent);
  }
  .calendar-day:hover {
    border-color: var(--accent);
    background: var(--accent-soft);
    color: var(--accent-ink);
  }
  .calendar-day.selected:hover {
    background: var(--accent-hover);
    color: var(--on-accent);
  }
  .timeline-bar:hover {
    filter: brightness(0.97);
    box-shadow: var(--shadow-hover);
  }
  .footer a:hover {
    color: var(--accent);
    text-decoration-color: currentColor;
  }
}

/* 14 — Responsive composition: keep the work readable at every width. */
@media (min-width: 1600px) {
  .desk-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 24px;
  }
  .kanban-board {
    gap: 16px;
  }
  .kanban-lane {
    padding: 13px;
  }
  .issue-card {
    padding: 16px 14px;
  }
  main {
    padding: 32px;
  }
}
@media (min-width: 1024px) and (max-height: 1020px) {
  .sidebar {
    padding-top: 20px;
    overflow: hidden;
  }
  .brand {
    margin-bottom: 21px;
  }
  .sidebar nav {
    flex: 1 1 auto;
    min-height: 120px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    padding: 0 3px 0 0;
    margin-right: -4px;
  }
  .brand,
  .project-switch,
  .sidebar-search,
  .sidebar-bottom {
    flex-shrink: 0;
  }
  .sidebar-bottom {
    padding-top: 12px;
    background: linear-gradient(180deg, transparent, var(--chrome-deep) 15%);
  }
  .sidebar-bottom > .nav-item {
    min-height: 30px;
    padding-top: 5px;
    padding-bottom: 5px;
  }
  .local-badge {
    margin-top: 7px;
    padding-top: 10px;
  }
}
@media (max-width: 1379px) {
  .desk-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .desk-rail {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
  }
  .desk-rail .panel {
    margin: 0;
  }
  .desk-rail .project-mini img {
    aspect-ratio: 1.65 / 1;
  }
  .board-toolbar .actions {
    flex-wrap: wrap;
  }
  .topbar {
    padding-inline: 24px;
  }
  main {
    padding: 25px 24px;
  }
  .breadcrumb {
    column-gap: 7px;
  }
  .breadcrumb > span:first-child {
    display: none;
  }
  .reconciliation {
    gap: 20px;
  }
  .state-composition {
    flex-wrap: wrap;
  }
}
@media (min-width: 1024px) and (max-width: 1179px) {
  .kanban-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .split-layout,
  .inbox-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .split-layout > aside {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    align-content: start;
  }
  .split-layout > aside > .panel {
    margin-bottom: 0;
  }
  .breadcrumb {
    display: none;
  }
  .table-toolbar .actions {
    flex-wrap: wrap;
  }
  .report-grid,
  .help-grid,
  .label-grid,
  .document-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .directory-intro {
    display: block;
  }
  .directory-intro .search-field {
    margin-top: 18px;
  }
}
@media (max-width: 1023px) {
  html {
    scroll-padding-top: 22px;
  }
  .workspace {
    margin-left: 0;
  }
  .sidebar {
    width: 278px;
    max-width: calc(100vw - 58px);
    z-index: 50;
    visibility: hidden;
    padding: 22px 16px 20px;
    overscroll-behavior: contain;
  }
  .nav-open {
    overflow: hidden;
  }
  .nav-open .sidebar {
    visibility: visible;
    transform: translateX(0);
  }
  .nav-open .nav-backdrop {
    z-index: 49;
    background: #102c3580;
    backdrop-filter: blur(2px);
    animation: backdrop-in 180ms var(--ease);
  }
  .sidebar nav {
    flex: none;
    overflow: visible;
    min-height: auto;
  }
  .sidebar .nav-item {
    min-height: 43px;
    font-size: 14px;
    padding: 10px 12px;
  }
  .sidebar .nav-label,
  .brand small,
  .sidebar-search,
  .local-badge {
    font-size: 12px;
  }
  .brand small {
    letter-spacing: 0.11em;
  }
  .sidebar .nav-label {
    letter-spacing: 0.035em;
    text-transform: none;
  }
  .sidebar-search {
    min-height: 42px;
  }
  .sidebar .secondary-nav summary {
    font-size: 14px;
    min-height: 43px;
  }
  .sidebar-bottom {
    padding-top: 18px;
    margin-top: 10px;
  }
  .topbar {
    min-height: 67px;
    padding: 12px 22px;
  }
  .topbar-title {
    flex: 1;
  }
  .topbar-actions {
    gap: 6px;
  }
  .topbar-actions > [data-action='theme'] {
    color: var(--ink);
    background: transparent;
    width: 40px;
    min-width: 40px;
    min-height: 40px;
    margin: 0;
    padding: 9px;
    font-size: 14px;
  }
  .topbar-actions > [data-action='theme'] > span {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }
  .topbar-actions > [data-action='theme'] .icon {
    opacity: 1;
    width: 20px;
    height: 20px;
  }
  .topbar-actions > [data-action='theme']:focus-visible {
    outline-color: var(--accent);
  }
  .page-heading .eyebrow,
  .card-content .eyebrow,
  .report-number,
  .document-card .eyebrow,
  .sprint-goal .eyebrow,
  .sprint-goal .badge,
  .sprint-checkpoint .eyebrow,
  .release-mini > .eyebrow,
  .blocker-card > .badge,
  .lane-heading > [data-lane-count],
  .lane-points,
  .issue-card .badge,
  .issue-card-top > .issue-key,
  .issue-card-meta .avatar,
  .priority,
  .points,
  .issue-move summary,
  .simple-table th,
  .simple-table .issue-key,
  .agenda-event .eyebrow,
  .modal-header .eyebrow {
    font-size: 12px;
  }
  .issue-card-meta .avatar {
    width: 28px;
    height: 28px;
  }
  .kanban-lane {
    padding: 12px;
  }
  .lane-heading {
    gap: 6px;
  }
  .lane-points {
    flex-basis: 100%;
    margin-left: 13px;
  }
  .issue-title {
    font-size: 15px;
  }
  .report-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .directory-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 761px) and (max-width: 899px) {
  .kanban-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .split-layout {
    grid-template-columns: minmax(0, 1fr) 250px;
  }
  .split-layout .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .desk-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .desk-rail .project-mini {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 180px 1fr;
    align-items: center;
  }
  .desk-rail .project-mini img {
    height: 130px;
    width: 100%;
    aspect-ratio: auto;
  }
  .label-grid,
  .document-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .calendar-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .agenda {
    padding: 20px 0 0;
    border: 0;
    border-top: 1px solid var(--line);
  }
  .photo-note {
    grid-template-columns: 1fr;
  }
  .photo-note img {
    height: 180px;
  }
  .table-toolbar > .actions {
    flex-basis: 100%;
  }
  .breadcrumb {
    display: none;
  }
}
@media (max-width: 760px) {
  main {
    padding: 22px 16px;
  }
  .topbar {
    padding: 10px 12px;
    min-height: 61px;
    gap: 8px;
  }
  .topbar-actions {
    gap: 3px;
  }
  .topbar-actions > [data-copilot-open] {
    display: inline-flex;
  }
  .topbar-actions .quick-create {
    margin: 0 3px;
    width: 40px;
    min-width: 40px;
    padding: 10px;
    position: relative;
  }
  .quick-create > span {
    display: inline;
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }
  .topbar-actions .profile-link .avatar {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }
  .breadcrumb {
    display: none;
  }
  .page-heading {
    align-items: stretch;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 22px;
  }
  .page-heading .eyebrow {
    margin-bottom: 8px;
    letter-spacing: 0.045em;
  }
  h1 {
    font-size: 28px;
    letter-spacing: -0.045em;
  }
  .page-description {
    font-size: 14px;
    line-height: 1.65;
  }
  .heading-actions:empty {
    display: none;
  }
  .heading-actions .btn {
    min-height: 42px;
  }
  .panel {
    padding: 18px;
    border-radius: 10px;
  }
  .panel-heading {
    margin-bottom: 18px;
  }
  .panel-heading h2 {
    font-size: 18px;
  }
  .split-layout,
  .desk-layout,
  .inbox-layout,
  .project-grid,
  .review-split,
  .integration-grid,
  .auth-layout,
  .report-grid,
  .help-grid,
  .document-grid,
  .label-grid,
  .saved-views {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .card-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .split-layout > aside {
    display: block;
  }
  .split-layout > aside > .panel {
    margin-bottom: 18px;
  }
  .sprint-strip {
    grid-template-columns: minmax(0, 1fr);
    margin-bottom: 23px;
    border-radius: 10px;
  }
  .sprint-goal {
    padding: 18px 20px 19px;
  }
  .sprint-goal > .eyebrow {
    gap: 8px;
    margin-bottom: 9px;
  }
  .sprint-goal h2 {
    font-size: 23px;
    max-width: 450px;
  }
  .sprint-goal > p {
    font-size: 14px;
    margin-bottom: 14px;
  }
  .sprint-progress {
    gap: 10px;
    font-size: 12px;
    flex-wrap: wrap;
  }
  .sprint-progress progress {
    width: 95px;
  }
  .sprint-checkpoint {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 10px;
    align-items: baseline;
    padding: 16px 20px;
    border-left: 0;
    border-top: 1px solid var(--line-strong);
  }
  .sprint-checkpoint > .eyebrow,
  .sprint-checkpoint h3,
  .sprint-checkpoint > .capacity-note {
    grid-column: 1 / -1;
  }
  .sprint-checkpoint h3 {
    font-size: 17px;
    margin: 0;
  }
  .sprint-checkpoint p {
    font-size: 12px;
    margin: 0;
  }
  .sprint-checkpoint > .text-link {
    font-size: 12px;
    white-space: nowrap;
  }
  .capacity-note {
    margin-top: 4px;
    padding-top: 9px;
  }
  .board-toolbar {
    align-items: flex-start;
    gap: 14px;
  }
  .board-toolbar > div,
  .board-toolbar .actions {
    width: 100%;
  }
  .board-toolbar h2 {
    font-size: 20px;
  }
  .board-toolbar h2 .subtle {
    display: inline;
    margin-top: 0;
    font-size: 15px;
  }
  .board-toolbar p {
    margin-top: 7px;
    line-height: 1.6;
  }
  .board-toolbar select {
    flex: 1;
    min-width: 0;
    max-width: none;
    min-height: 42px;
    font-size: 14px;
  }
  .board-toolbar .btn {
    min-height: 42px;
    font-size: 13px;
  }
  .mobile-status-switch {
    display: block;
    margin: 15px 0 18px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
  }
  .mobile-status-switch label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
  }
  .mobile-status-switch select {
    width: 0;
    flex: 1;
    min-width: 0;
    font-size: 14px;
  }
  .kanban-board {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .kanban-lane {
    padding: 14px;
    min-height: 140px;
  }
  .lane-heading {
    padding: 0 2px 13px;
    gap: 8px;
  }
  .lane-heading h3 {
    font-size: 14px;
  }
  .lane-points {
    flex-basis: auto;
    margin-left: auto;
  }
  .issue-card {
    padding: 16px;
  }
  .issue-card-top {
    margin-bottom: 12px;
    gap: 7px;
  }
  .issue-card .badge {
    font-size: 12px;
    padding: 3px 6px;
  }
  .issue-title {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 11px;
  }
  .issue-card > p {
    font-size: 13px;
    margin-bottom: 17px;
  }
  .issue-card-meta {
    gap: 9px;
  }
  .issue-card-meta .avatar {
    width: 30px;
    height: 30px;
  }
  .points {
    min-width: 25px;
    padding: 2px 6px;
  }
  .issue-move {
    margin-top: 13px;
    padding-top: 10px;
  }
  .issue-move summary {
    min-height: 30px;
    font-size: 12px;
    padding-top: 5px;
  }
  .issue-move select,
  .issue-move .btn {
    min-height: 42px;
    font-size: 14px;
  }
  .desk-rail {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .desk-rail .project-mini {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    align-items: stretch;
  }
  .desk-rail .project-mini img {
    width: 100%;
    height: 100%;
    min-height: 110px;
    aspect-ratio: auto;
  }
  .desk-rail .project-mini > span {
    align-self: center;
    padding: 17px;
  }
  .board-bottom {
    padding: 18px;
  }
  .board-bottom p {
    font-size: 14px;
  }
  .board-bottom .btn {
    width: 100%;
  }
  .blocker-card > .badge,
  .release-mini > .eyebrow {
    font-size: 12px;
  }
  .checklist {
    font-size: 13px;
  }
  .release-mini > .btn {
    font-size: 14px;
  }
  .table-toolbar {
    gap: 10px;
    align-items: stretch;
  }
  .table-toolbar > .search-field {
    flex-basis: 100%;
    min-width: 0;
  }
  .table-toolbar > select {
    flex: 1 1 42%;
    width: 0;
    min-width: 120px;
    font-size: 14px;
    min-height: 42px;
  }
  .table-toolbar > label:not(.search-field) {
    flex: 1 1 120px;
    min-width: 0;
  }
  .table-toolbar > label > select {
    width: 100%;
    font-size: 14px;
  }
  .table-toolbar .actions {
    width: 100%;
    gap: 8px;
  }
  .table-toolbar .btn {
    min-height: 42px;
    font-size: 12px;
    padding-inline: 12px;
    flex: 1 1 auto;
  }
  .search-field input {
    min-height: 43px;
    font-size: 14px;
  }
  .column-menu > summary {
    min-height: 40px;
    font-size: 13px;
  }
  .register-summary {
    flex-wrap: wrap;
    gap: 8px 15px;
    line-height: 1.7;
  }
  .simple-table {
    font-size: 13px;
  }
  .simple-table td,
  .simple-table th {
    padding: 13px 10px;
  }
  .simple-table th {
    font-size: 12px;
  }
  .simple-table .issue-key {
    font-size: 12px;
  }
  .table-pagination {
    gap: 10px;
    padding-top: 17px;
    flex-wrap: wrap;
  }
  .table-pagination > span:first-child {
    flex-basis: 100%;
  }
  .table-pagination label {
    margin-left: 0;
    margin-right: auto;
  }
  .table-pagination .btn {
    min-height: 39px;
    padding: 8px 9px;
  }
  .table-pagination select {
    min-height: 39px;
  }
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .field,
  .stack-form > label,
  [data-runtime-form] > label {
    font-size: 14px;
  }
  .field input,
  .field select,
  .field textarea,
  .stack-form > label input,
  .stack-form > label select,
  .stack-form > label textarea {
    font-size: 16px;
    min-height: 44px;
  }
  .field input[type='checkbox'],
  .field input[type='radio'] {
    min-height: 18px;
  }
  .field input[type='file'] {
    font-size: 14px;
  }
  .field textarea,
  .stack-form > label textarea {
    min-height: 128px;
  }
  fieldset {
    padding: 15px;
  }
  .form-footer {
    gap: 9px;
    margin-top: 23px;
  }
  .form-footer .btn {
    min-height: 43px;
    font-size: 13px;
  }
  .capacity-summary {
    font-size: 14px;
    line-height: 1.8;
    padding: 15px;
  }
  .capacity-summary strong {
    font-size: 20px;
  }
  .wizard-steps {
    gap: 5px;
  }
  .wizard-steps li {
    font-size: 12px;
    padding: 10px 7px;
  }
  .upload-zone {
    padding: 20px 16px;
  }
  .upload-zone h3 {
    font-size: 20px;
  }
  .entity-header {
    flex-direction: column;
    align-items: stretch;
  }
  .entity-header h2 {
    font-size: 24px;
  }
  .entity-header .actions {
    justify-content: flex-start;
  }
  .entity-header .actions .btn {
    min-height: 40px;
  }
  .issue-detail {
    padding: 18px;
  }
  .tabs {
    gap: 4px;
    overflow: auto;
    white-space: nowrap;
    overscroll-behavior-x: contain;
  }
  .tabs .btn {
    min-height: 40px;
    font-size: 13px;
    flex: none;
    padding-inline: 12px;
  }
  .work-row > div {
    flex-basis: 68%;
  }
  .work-row > .badge {
    white-space: normal;
  }
  .inline-stats {
    gap: 18px;
  }
  .inline-stats dd {
    font-size: 17px;
  }
  .detail-list > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .photo-note {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .photo-note img {
    height: 195px;
  }
  .project-card > img {
    aspect-ratio: 1.9 / 1;
  }
  .card-content {
    padding: 20px;
  }
  .card-content h2 {
    font-size: 25px;
  }
  .dossier-photo {
    height: 200px;
  }
  .calendar-toolbar {
    gap: 12px;
  }
  .calendar-toolbar > h2 {
    order: -1;
    width: 100%;
    font-size: 22px;
  }
  .calendar-toolbar > .actions {
    gap: 6px;
    width: 100%;
  }
  .calendar-toolbar .btn {
    flex: 1;
    min-height: 41px;
    font-size: 12px;
    padding-inline: 8px;
  }
  .calendar-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .month-grid {
    gap: 4px;
  }
  .calendar-day {
    min-height: 42px;
  }
  .month-grid > strong {
    font-size: 12px;
  }
  .agenda {
    padding: 18px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
    margin: 0;
  }
  .agenda > h3 {
    font-size: 18px;
  }
  .agenda-event {
    gap: 17px;
  }
  .agenda-event .eyebrow {
    font-size: 12px;
  }
  .agenda-event h4 {
    font-size: 17px;
  }
  .agenda-event p {
    font-size: 14px;
  }
  .roadmap-axis {
    margin-left: 0;
    font-size: 12px;
    gap: 10px;
  }
  .roadmap-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .roadmap-row h3 {
    font-size: 17px;
  }
  .timeline-bar {
    min-width: 170px;
    font-size: 12px;
  }
  .message-row {
    padding-inline: 0;
    margin: 0;
    gap: 10px;
  }
  .message-row .avatar {
    width: 30px;
    height: 30px;
  }
  .message-heading {
    flex-wrap: wrap;
    gap: 3px 12px;
  }
  .message-row h2 {
    font-size: 16px;
  }
  .message-row p {
    font-size: 14px;
  }
  .message-body {
    font-size: 15px;
  }
  .linked-issue {
    gap: 10px;
    font-size: 14px;
  }
  .chart-figure {
    padding: 14px;
    overflow-x: auto;
    scrollbar-width: thin;
  }
  .chart-figure > .data-chart {
    min-width: 800px;
    max-height: none;
  }
  .chart-figure > figcaption {
    min-width: 0;
  }
  .bar-row {
    grid-template-columns: 105px minmax(0, 1fr);
    gap: 10px;
  }
  .bar-row > strong {
    font-size: 12px;
  }
  .scatter-chart .chart-label {
    font-size: 32px;
  }
  .reconciliation {
    padding: 19px 12px;
    gap: 7px;
    justify-content: space-between;
    margin-bottom: 18px;
  }
  .reconciliation > div > span {
    font-size: 12px;
  }
  .reconciliation strong {
    font-size: 35px;
  }
  .reconciliation small {
    font-size: 12px;
    line-height: 1.4;
  }
  .math-symbol {
    font-size: 17px;
  }
  .state-composition {
    flex-direction: column;
    gap: 8px;
  }
  .state-segment {
    flex-basis: auto;
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 13px 16px;
  }
  .state-segment strong {
    font-size: 25px;
  }
  .state-segment span {
    margin-top: 0;
    font-size: 14px;
  }
  .activity-matrix h3 {
    width: 100%;
  }
  .heat-cell {
    flex: 1 1 27%;
    min-width: 78px;
  }
  .document-sheet {
    padding: 20px 18px;
  }
  .document-header,
  .document-parties {
    flex-direction: column;
    gap: 20px;
  }
  .document-header {
    margin-bottom: 23px;
    padding-bottom: 18px;
  }
  .document-header h2 {
    font-size: 28px;
  }
  .document-header p {
    font-size: 14px;
  }
  .document-total {
    font-size: 16px;
    justify-content: space-between;
    gap: 12px;
  }
  .document-total strong {
    font-size: 22px;
  }
  .estimate-table td,
  .estimate-table th {
    padding: 13px 12px;
  }
  .estimate-totals {
    max-width: 100%;
  }
  .document-card {
    min-height: 170px;
  }
  .saved-view-card {
    margin-bottom: 0;
  }
  .directory-intro {
    display: block;
  }
  .directory-intro h2 {
    font-size: 23px;
  }
  .directory-intro .search-field {
    margin-top: 20px;
    min-width: 0;
  }
  .directory-links {
    grid-template-columns: minmax(0, 1fr);
  }
  .directory-links a {
    padding: 16px;
  }
  .directory-links strong {
    font-size: 15px;
  }
  .directory-links span {
    font-size: 13px;
  }
  .auth-layout {
    display: block;
  }
  .auth-card {
    padding: 23px;
  }
  .auth-photo {
    display: none;
  }
  .reading-panel {
    padding: 23px;
  }
  .reading-panel > h2 {
    font-size: 25px;
  }
  .reading-panel .lead {
    font-size: 17px;
  }
  .notice {
    padding: 17px;
  }
  .type-specimen h2 {
    font-size: 28px;
  }
  .swatch-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .color-swatch {
    padding: 11px;
  }
  .color-swatch > span {
    height: 75px;
  }
  .error-layout {
    padding: 20px 0;
  }
  .error-layout .lead {
    font-size: 16px;
  }
  .error-code {
    font-size: 43px;
  }
  .footer {
    gap: 10px;
    padding-top: 18px;
    font-size: 12px;
  }
  .footer > span {
    line-height: 1.85;
  }
  .demo-note {
    margin-top: 23px;
    font-size: 12px;
  }
  dialog,
  .app-dialog,
  .app-dialog.drawer,
  .issue-drawer {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    max-height: calc(100dvh - 24px);
    margin: auto;
    border-radius: 12px;
  }
  .modal-header {
    padding: 18px;
    min-height: 78px;
    gap: 12px;
  }
  .modal-header h2 {
    font-size: 21px;
  }
  .modal-header .eyebrow {
    font-size: 12px;
    letter-spacing: 0.03em;
  }
  .modal-body {
    padding: 18px;
  }
  .modal-body .stack-form > label {
    font-size: 14px;
  }
  .modal-body .stack-form > label input,
  .modal-body .stack-form > label select,
  .modal-body .stack-form > label textarea {
    font-size: 16px;
  }
  .modal-footer {
    padding: 15px 18px;
    min-height: 73px;
    flex-wrap: wrap;
  }
  .modal-footer > .btn {
    min-height: 42px;
    font-size: 13px;
  }
  .modal-body .modal-footer {
    margin: 20px -18px -18px;
    bottom: -18px;
  }
  .modal-footer > span:first-child {
    flex-basis: 100%;
    margin-right: 0;
  }
  .issue-drawer > .modal-footer > a {
    flex-basis: 100%;
  }
  .copilot-dialog details {
    padding: 12px;
  }
  .copilot-dialog summary {
    font-size: 13px;
  }
  .copilot-dialog pre {
    padding: 12px;
    max-height: 170px;
  }
  .command-dialog .modal-header {
    padding: 14px 18px;
  }
  .command-input {
    padding: 16px 18px;
  }
  .command-input input {
    font-size: 16px;
  }
  .command-results {
    padding: 0 18px 18px;
    max-height: 48dvh;
  }
  .command-dialog .modal-footer {
    padding: 13px 18px;
  }
  .toast-region {
    right: 16px;
    bottom: 16px;
  }
  .toast {
    font-size: 14px;
    padding: 12px;
  }
}
@media (max-width: 389px) {
  .topbar-actions {
    gap: 1px;
  }
  .topbar-actions .quick-create {
    margin-inline: 1px;
  }
  .topbar-actions .profile-link {
    margin-left: 2px;
  }
  .sprint-progress {
    align-items: center;
  }
  .reconciliation {
    padding: 17px 8px;
    gap: 5px;
  }
  .reconciliation strong {
    font-size: 32px;
  }
  .reconciliation small {
    max-width: 70px;
  }
  .table-pagination {
    gap: 7px;
  }
  .table-pagination > label {
    margin-right: 3px;
  }
  .table-pagination .btn {
    padding-inline: 7px;
  }
}

/* 15 — Respect motion preferences and printable project documents. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal],
  [data-tab-panel],
  dialog[open],
  .toast {
    transform: none;
  }
}
@media print {
  :root,
  :root[data-theme='dark'] {
    color-scheme: light;
    --canvas: white;
    --surface: white;
    --surface-related: #f3f5f1;
    --surface-footer: #edf2ec;
    --ink: #1c3033;
    --muted: #526563;
    --line: #c8d1cb;
    --accent: #28776f;
    --accent-soft: #e1ece6;
    --copper-ink: #8c4f32;
  }
  .sidebar,
  .topbar,
  .footer,
  .demo-note,
  .page-heading,
  .nav-backdrop,
  .toast-region,
  .form-footer,
  .skip-link {
    display: none !important;
  }
  .workspace {
    margin: 0;
    background: white;
  }
  main {
    padding: 0;
    max-width: none;
  }
  .panel,
  .issue-detail,
  .project-card {
    box-shadow: none;
    border-color: #c8d1cb;
    break-inside: avoid;
  }
  .document-sheet {
    border: 0;
    padding: 0;
  }
  .table-scroll {
    overflow: visible;
  }
  .simple-table {
    font-size: 11pt;
  }
  .simple-table th {
    color: #526563;
    font-size: 9pt;
  }
  [data-reveal] {
    animation: none;
  }
}
