:root {
  color-scheme: light;
  /* Business controls use a monochrome palette; the top-left logo is independent. */
  --canvas-mist: #f5f5f5;
  --drawer-paper: #fefefe;
  --surface: #ffffff;
  --surface-muted: #f6f6f6;
  --ink-fiber: #1d1d1d;
  --ink: var(--ink-fiber);
  --ink-soft: #5b5b5b;
  --ink-faint: #686868;
  --line: #e2e2e2;
  --line-strong: #c0c0c0;
  --route-teal: #5f5f5f;
  --handoff-amber: #797979;
  --exception-red: #595959;
  --blue: var(--route-teal);
  --blue-deep: #4b4b4b;
  --blue-soft: #ededed;
  --green: #676767;
  --green-soft: #f0f0f0;
  --amber: var(--handoff-amber);
  --amber-soft: #f1f1f1;
  --red: var(--exception-red);
  --red-soft: #efefef;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei",
    sans-serif;
  --font-data: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --motion-ease: cubic-bezier(.32,.72,0,1);
  --motion-duration: 200ms;
  font-family: var(--font-body);
}
.execution-home-heading { padding:0 0 24px; }
.execution-home-heading h1 { margin:0 0 12px; font-size:clamp(28px,3vw,38px); letter-spacing:-.03em; font-weight:600; line-height:1.4; }
.execution-home-heading p { color:#6e6e6e; font-size:14px; margin:0; line-height:1.8; }
.manual-work-records { border-top:1px solid #e1e1e1; margin-top:26px; padding-top:8px; }
.manual-work-records > summary { color:#646464; font-size:14px; min-height:48px; padding:14px 0; cursor:pointer; }

.skip-link { position: fixed; top: 12px; left: 12px; z-index: 30; transform: translateY(-200%); background: white; color: var(--blue-deep); padding: 12px 20px; border-radius: 10px; }
.skip-link:focus { transform: none; }
.preview-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 24px; color: var(--ink-soft); font-size: 12px; }
.preview-strip nav { display: flex; flex-wrap: wrap; gap: 4px; }
.preview-strip a { display: inline-flex; align-items: center; min-height: 44px; color: var(--blue-deep); text-decoration: none; padding: 8px 12px; border-radius: 8px; }
.preview-strip a:hover { background: var(--blue-soft); }
.brand-lockup.workbench-wordmark { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; color: #3c3c3c; min-height: 64px; }
.workbench-wordmark span:first-child { font-size: 24px; font-weight: 700; letter-spacing: 0.035em; line-height: 1.2; }
.workbench-wordmark span:last-child { font-size: 14px; font-weight: 550; letter-spacing: 0.12em; }
.feedback-heading { border: 0; margin-bottom: 24px; padding-bottom: 0; align-items: center; }
.feedback-mode { margin: 12px 0 0; color: var(--ink-soft); font-size: 12px; }
.feedback-workspace { display: grid; grid-template-columns: minmax(270px, 0.8fr) minmax(0, 1.3fr); align-items: start; gap: 20px; }
.feedback-surface { min-width: 0; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.feedback-list-heading { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 16px 16px 8px; }
.feedback-list-heading h2 { margin: 0; font-size: 16px; font-weight: 600; }
.feedback-filters { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px 12px 12px; }
.feedback-filters button { display: flex; align-items: center; justify-content: center; gap: 6px; flex: 1 1 auto; min-height: 44px; border: 0; border-radius: 8px; background: transparent; color: var(--ink-soft); font-size: 13px; padding: 8px; }
.feedback-filters button[aria-pressed="true"] { background: var(--surface-muted); color: var(--ink); font-weight: 600; }
.feedback-filters button span { font-variant-numeric: tabular-nums; }
.feedback-list { list-style: none; margin: 0; padding: 0 8px 8px; }
.feedback-row { display: grid; width: 100%; gap: 10px; margin: 0; border: 1px solid transparent; border-radius: 10px; padding: 16px 12px; background: transparent; text-align: left; color: var(--ink); overflow-wrap: anywhere; }
.feedback-list li + li { border-top: 1px solid var(--line); }
.feedback-row:hover { background: var(--surface-muted); }
.feedback-row[aria-pressed="true"] { background: var(--blue-soft); border-color: #cdcdcd; }
.feedback-row strong { font-size: 14px; font-weight: 600; line-height: 1.65; }
.feedback-row-top, .feedback-detail-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.feedback-kind, .feedback-row-meta, .feedback-row-next { color: var(--ink-soft); font-size: 12px; }
.feedback-row-next { font-size: 13px; }
.feedback-status { display: inline-flex; align-items: center; min-height: 24px; border-radius: 6px; padding: 3px 7px; font-size: 12px; white-space: normal; color: var(--ink-soft); background: var(--surface-muted); }
.feedback-status-processing { background: var(--blue-soft); color: var(--blue-deep); }
.feedback-status-awaiting_confirmation { background: var(--amber-soft); color: #545454; }
.feedback-status-resolved { background: var(--green-soft); color: #4c4c4c; }
.feedback-list-footer { border-top: 1px solid var(--line); padding: 12px 16px 16px; }
.feedback-list-footer p, .feedback-subtext { margin: 8px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.65; }
.feedback-empty { padding: 40px 24px; text-align: center; color: var(--ink-soft); }
.feedback-empty h2, .feedback-empty h3 { margin: 12px 0; color: var(--ink); font-size: 18px; font-weight: 600; }
.feedback-empty p { max-width: 28rem; margin: 12px auto; font-size: 14px; }
.feedback-detail-placeholder { min-height: 24rem; display: flex; flex-direction: column; justify-content: center; }
.feedback-empty-symbol { margin: 0 auto; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: var(--surface-muted); font-size: 24px; }
.feedback-detail, .feedback-composer { padding: 24px; scroll-margin-top: 140px; }
.feedback-detail-top { margin: 12px 0 16px; }
.feedback-detail-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.feedback-detail h2, .feedback-composer h2 { margin: 0 0 20px; font-size: 20px; font-weight: 600; line-height: 1.55; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.feedback-detail p, .feedback-history p { white-space: pre-wrap; overflow-wrap: anywhere; }
.feedback-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; padding: 20px 0; margin: 0; border-top: 1px solid var(--line); }
.feedback-facts .feedback-next { grid-column: 1 / -1; }
.feedback-facts dt { font-size: 12px; color: var(--ink-soft); margin-bottom: 6px; }
.feedback-facts dd { margin: 0; font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
.feedback-reply, .feedback-reopen-note { padding: 16px; border-radius: 10px; background: var(--surface-muted); margin: 0 0 20px; }
.feedback-reopen-note { background: var(--amber-soft); }
.feedback-reply h3 { margin: 0; font-size: 14px; font-weight: 600; }
.feedback-reply p, .feedback-reopen-note p { margin: 10px 0; font-size: 14px; line-height: 1.75; }
.feedback-reply small, .feedback-reopen-note small { color: var(--ink-soft); font-size: 12px; line-height: 1.65; }
.feedback-disclosure { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 12px; }
.feedback-disclosure summary { cursor: pointer; min-height: 44px; padding: 12px 0; font-size: 13px; font-weight: 600; }
.feedback-disclosure summary:focus-visible { outline: 3px solid var(--route-teal); outline-offset: 2px; border-radius: 4px; }
.feedback-history { list-style: none; margin: 12px 0 0; padding: 0; }
.feedback-history li { padding: 12px 0; border-top: 1px solid var(--line); }
.feedback-history li > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.feedback-history strong { font-size: 13px; font-weight: 600; }
.feedback-history small { font-size: 12px; color: var(--ink-soft); }
.feedback-history p { margin: 8px 0 0; font-size: 13px; line-height: 1.65; }
.feedback-boundary { font-size: 12px; color: var(--ink-soft); margin: 20px 0 0; line-height: 1.65; }
.feedback-action-form { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.feedback-action-form h3 { margin: 0 0 16px; font-size: 16px; }
.feedback-action-form .form-field, .feedback-composer .form-field { margin-bottom: 18px; }
.feedback-composer { max-width: 42rem; margin: 0 auto; }
.feedback-composer form { margin-top: 24px; }
.capture-fields { min-width: 0; border: 0; padding: 0; margin: 0; }
.capture-original, .capture-target { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.65; }
.app-shell.simple-capture-shell { grid-template-columns: 1fr; }
.simple-capture-shell .side-rail { display: none; }
.simple-capture-shell .mobile-head { display: block; margin: 0 auto 24px; max-width: 42rem; padding: 20px 0; }
.simple-capture-shell .mobile-nav [data-nav] { display: none; }
.simple-capture-shell .content-column { max-width: 42rem; margin-inline: auto; }
.simple-capture-shell .feedback-composer { width: 100%; }
.feedback-composer .feedback-disclosure { margin: 8px 0 24px; }
.feedback-back { margin: -8px 0 8px -12px; }
.feedback-actions { margin-top: 24px; }
.feedback-message { gap: 12px; }
.feedback-message .message-title { margin: 0 0 6px; }
.feedback-message .row-detail { overflow-wrap: anywhere; }
.feedback-message-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.feedback-message-footer .action-row, .feedback-message-footer .message-meta { margin: 0; }
@media (max-width: 1100px) {
  .feedback-workspace { grid-template-columns: minmax(250px, 0.8fr) minmax(0, 1fr); gap: 16px; }
  .feedback-detail { padding: 20px; }
}
@media (max-width: 900px) {
  .feedback-workspace { display: block; }
  .feedback-workspace.is-detail .feedback-list-pane, .feedback-workspace:not(.is-detail) .feedback-detail-placeholder { display: none; }
  .feedback-heading { align-items: flex-start; }
  .feedback-heading .button { margin-top: 16px; }
}
@media (max-width: 430px) {
  .feedback-detail, .feedback-composer { padding: 20px 16px; }
  .feedback-facts { grid-template-columns: 1fr; }
  .feedback-surface { border-radius: 12px; }
  .feedback-detail h2 { font-size: 18px; }
}
@media (max-width: 800px) {
  .mobile-brand-row .brand-lockup.workbench-wordmark { min-height: 40px; flex-direction: row; align-items: center; gap: 12px; }
  .mobile-brand-row .workbench-wordmark span:first-child { font-size: 20px; }
  .mobile-brand-row .workbench-wordmark span:last-child { font-size: 12px; letter-spacing: 0.04em; }
}
@media (prefers-contrast: more) {
  .feedback-surface, .feedback-filters button, .feedback-status { border: 1px solid var(--ink); }
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  min-width: 320px;
  background: var(--canvas-mist);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible {
  outline: 3px solid var(--blue-deep);
  outline-offset: 2px;
}

.app-loading {
  display: grid;
  min-height: 100vh;
  place-items: center;
  color: var(--ink-soft);
}

.auth-shell {
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(360px, 47%) minmax(0, 1fr);
  background: #fafafa;
}

.auth-panel {
  display: flex;
  min-width: 0;
  min-height: 100vh;
  flex-direction: column;
  justify-content: space-between;
  background: #fafafa;
  padding: clamp(26px, 4vw, 56px);
}

.auth-panel-inner {
  width: min(100%, 440px);
  margin: auto;
  padding: 32px 0;
}

.auth-panel-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #858585;
  font-size: 11px;
}

.auth-story {
  position: relative;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background: #343434;
  color: #f8f8f8;
  padding: clamp(32px, 4vw, 60px);
}

.auth-story::after {
  position: absolute;
  right: -110px;
  bottom: -110px;
  width: min(40vw, 480px);
  aspect-ratio: 1;
  border: 1px solid rgba(223,223,223,0.14);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.auth-brand,
.auth-mobile-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-size: 18px;
  font-weight: 720;
  letter-spacing: 0.025em;
}

.auth-brand small {
  display: block;
  margin-top: 1px;
  color: #bfbfbf;
  font-family: var(--font-data);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.14em;
}

.auth-brand .brand-identity {
  flex: 0 0 auto;
  border-radius: 4px;
}

.auth-mobile-brand {
  display: none;
}

.auth-story-content {
  position: relative;
  z-index: 1;
  width: min(100%, 620px);
  margin: 80px 0 64px;
}

.auth-story-kicker {
  margin: 0 0 22px;
  color: #cfcfcf;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.12em;
}

.auth-story h2 {
  margin: 0;
  font-size: clamp(38px, 3.5vw, 64px);
  font-weight: 680;
  letter-spacing: -0.065em;
  line-height: 1.23;
}

.auth-story h2 span {
  color: #d9d9d9;
}

.auth-story-description {
  max-width: 380px;
  margin: 24px 0 0;
  color: #d7d7d7;
  font-size: 14px;
  line-height: 1.9;
}

.auth-fold {
  display: grid;
  width: min(100%, 520px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(50px, 10vh, 112px);
  border: 1px solid rgba(218,218,218,0.48);
  background: rgba(255, 255, 255, 0.025);
}

.auth-fold > div {
  position: relative;
  min-height: 104px;
  padding: 25px 17px 15px;
}

.auth-fold > div + div {
  border-left: 1px dashed rgba(218,218,218,0.55);
}

.auth-fold > div::before {
  position: absolute;
  top: -10px;
  left: 17px;
  width: 24px;
  height: 10px;
  border: 1px solid rgba(218,218,218,0.48);
  border-bottom: 0;
  border-radius: 3px 3px 0 0;
  content: "";
}

.auth-fold span,
.auth-fold small {
  display: block;
}

.auth-fold span {
  font-size: 14px;
  font-weight: 700;
}

.auth-fold small {
  margin-top: 8px;
  color: #c9c9c9;
  font-size: 11px;
}

.auth-story-footer {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #b7b7b7;
  font-size: 11px;
}

.auth-story-footer span:last-child {
  font-family: var(--font-data);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.auth-overline {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #5d5d5d;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.auth-overline-rule {
  width: 20px;
  height: 2px;
  background: #5d5d5d;
}

.auth-panel h1 {
  margin: 25px 0 12px;
  font-size: clamp(34px, 3vw, 45px);
  font-weight: 730;
  letter-spacing: -0.06em;
  line-height: 1.18;
}

.auth-panel .auth-intro {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.auth-panel form {
  display: grid;
  gap: 20px;
  margin-top: 38px;
}

.auth-panel .form-field {
  gap: 9px;
}

.auth-panel .form-field label {
  color: #434343;
  font-size: 13px;
}

.auth-panel .form-field input {
  min-height: 52px;
  border-color: #d4d4d4;
  border-radius: 8px;
  background: #fff;
  padding: 13px 15px;
  font-size: 15px;
}

.auth-panel .form-field input::placeholder {
  color: #9a9a9a;
}

.auth-submit {
  display: flex;
  width: 100%;
  min-height: 53px;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
  border-radius: 8px;
  padding: 12px 17px;
  font-size: 15px;
}

.auth-submit span {
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}

.auth-panel .auth-footnote {
  margin: 24px 0 0;
  color: #828282;
  font-size: 12px;
  line-height: 1.7;
}

.auth-register {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.auth-register a {
  color: var(--route-teal);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.auth-shell--simple {
  display: grid;
  place-items: center;
  padding: 20px;
}

.auth-shell--simple .auth-panel {
  width: min(100%, 440px);
  min-height: auto;
  border: 1px solid #d4d4d4;
  border-radius: 12px;
  background: #fff;
  padding: 36px;
}

.auth-shell--simple .brand-identity {
  margin-bottom: 18px;
}

.auth-shell--simple .auth-panel p {
  color: var(--ink-soft);
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field label,
.field-label {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 650;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  padding: 11px 12px;
}

.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover {
  border-color: #a1a1a1;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--route-teal);
  box-shadow: 0 0 0 3px rgba(95,95,95,0.12);
}

.form-field textarea {
  min-height: 104px;
  resize: vertical;
}

.field-help,
.small-note {
  color: var(--ink-faint);
  font-size: 12px;
}

.auth-step {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-faint);
  font-size: 13px;
}

.auth-step strong {
  display: inline-grid;
  min-width: 22px;
  min-height: 22px;
  place-items: center;
  border: 1px solid #b0b0b0;
  background: #f6f6f6;
  color: var(--ink-soft);
  font-family: var(--font-data);
  font-size: 11px;
  line-height: 1;
  padding: 3px 5px;
  white-space: nowrap;
}

.button-row,
.action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.button {
  max-width: 100%;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 9px 14px;
  font-weight: 600;
}

.button:active:not(:disabled) {
  transform: scale(0.98);
}

.button-primary {
  background: var(--route-teal);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.18);
  color: #fff;
}

.button-primary:hover:not(:disabled) {
  background: var(--blue-deep);
}

.button-secondary {
  border-color: var(--line-strong);
  background: #fefefe;
  color: var(--ink);
}

.button-secondary:hover:not(:disabled) {
  border-color: #a1a1a1;
  background: var(--surface-muted);
}

.button-quiet {
  background: transparent;
  color: var(--ink-soft);
}

.button-danger {
  border-color: #c0c0c0;
  background: var(--red-soft);
  color: var(--red);
}

.app-shell {
  display: grid;
  min-height: 100dvh;
  grid-template-columns: 216px minmax(0, 1fr);
}

.side-rail {
  position: sticky;
  top: 0;
  display: flex;
  height: 100dvh;
  flex-direction: column;
  border-right: 1px solid var(--line);
  background: #f5f5f5;
  padding: 24px 16px 20px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  min-height: 84px;
  padding: 0 7px;
}

.brand-identity {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 136px;
  height: 84px;
  overflow: hidden;
  background: #fff;
  box-shadow: none;
}

.brand-identity img {
  position: absolute;
  top: -26px;
  left: 0;
  display: block;
  width: 136px;
  height: 136px;
  max-width: none;
}

.rail-nav {
  display: grid;
  align-content: start;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #c4c4c4 transparent;
  gap: 7px;
  margin-top: 28px;
}

.nav-button {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: var(--ink-soft);
  padding: 10px 15px;
  text-align: left;
}

.nav-button:hover {
  border-color: rgba(158,158,158,0.18);
  background: rgba(243,243,243,0.72);
  color: var(--ink);
}

.nav-button[aria-current="page"] {
  border-color: transparent;
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-weight: 720;
  box-shadow: none;
}

.rail-footer {
  flex: 0 0 auto;
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding: 21px 13px 0;
}

.identity-name {
  overflow: hidden;
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.identity-role {
  margin-top: 2px;
  color: var(--ink-faint);
  font-size: 12px;
}

.logout-button {
  margin: 12px -4px -4px;
  padding: 7px 4px;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font-size: 13px;
}

.logout-button:hover {
  color: var(--red);
}

.workspace-main {
  position: relative;
  min-width: 0;
  padding: 24px clamp(24px, 3vw, 48px) 56px;
}

.content-column {
  width: min(100%, 1180px);
  min-width: 0;
  margin: 0 auto;
}

.mobile-head {
  display: none;
}

.mobile-assistant-button { display:none; }

.page-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(196,196,196,0.7);
  padding-bottom: 21px;
}

.page-heading > div { min-width: 0; }
.page-heading > .button-row { flex: 0 0 auto; }

.eyebrow {
  margin: 0 0 5px;
  color: #6d6d6d;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.page-heading h1 {
  margin: 0;
  font-size: clamp(26px, 2.5vw, 34px);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.page-heading .lede {
  max-width: 560px;
  margin: 8px 0 0;
  color: var(--ink-soft);
}

.notice {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 22px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fefefe;
  color: var(--ink-soft);
  padding: 12px 14px;
}

.notice-success {
  border-color: #d6d6d6;
  background: var(--green-soft);
  color: #4c4c4c;
}

.notice-warning {
  border-color: #d5d5d5;
  background: var(--amber-soft);
  color: #545454;
}

.notice-error {
  border-color: #c3c3c3;
  background: var(--red-soft);
  color: #3e3e3e;
}

.notice button {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 16px;
}

.section {
  border-top: 1px solid rgba(196,196,196,0.7);
  padding-top: 21px;
}

.section + .section {
  margin-top: 30px;
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 11px;
}

.section-heading h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 760;
  letter-spacing: 0;
}

.section-heading p {
  margin: 0;
  color: var(--ink-faint);
  font-size: 13px;
}

.work-list,
.case-list,
.message-list,
.management-list {
  display: grid;
  border-top: 1px solid var(--line);
  background: #fefefe;
}

.work-list {
  position: relative;
}

.work-list::before {
  position: absolute;
  z-index: 1;
  top: 20px;
  bottom: 20px;
  left: 11px;
  width: 1px;
  background: var(--line-strong);
  content: "";
}

.work-item,
.case-row,
.message-row,
.management-row {
  display: grid;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(254,254,254,0.95);
  color: inherit;
  padding: 17px 0;
  text-align: left;
}

.work-item {
  position: relative;
  padding-left: 32px;
}

.work-item::before {
  position: absolute;
  z-index: 2;
  top: 25px;
  left: 7px;
  width: 9px;
  height: 9px;
  border: 2px solid #fefefe;
  border-radius: 50%;
  background: var(--route-teal);
  box-shadow: 0 0 0 1px rgba(95,95,95,0.25);
  content: "";
}

/* 交接线只记录服务端返回的工作状态。 */
.work-item.status-pending::before {
  background: #8e8e8e;
  box-shadow: 0 0 0 1px rgba(90,90,90,0.24);
}

.work-item.status-awaiting_acceptance::before {
  background: var(--handoff-amber);
  box-shadow: 0 0 0 1px rgba(121,121,121,0.28);
}

.work-item.status-completed::before {
  background: #636363;
  box-shadow: 0 0 0 1px rgba(99,99,99,0.26);
}

.work-item--blocked::before {
  background: #686868;
  box-shadow: 0 0 0 1px rgba(104,104,104,0.3);
}

button.work-item,
button.case-row,
button.message-row {
  border-left: 2px solid transparent;
}

button.work-item:hover,
button.case-row:hover,
button.message-row:hover {
  border-left-color: rgba(95,95,95,0.72);
  background: #f9f9f9;
  padding-right: 9px;
}

button.work-item:hover {
  padding-left: 40px;
}

.work-item-top,
.case-row-top,
.message-row-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.work-item-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.work-title,
.case-title,
.message-title {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 720;
  letter-spacing: -0.008em;
  line-height: 1.35;
  word-break: normal;
  overflow-wrap: anywhere;
}

.work-title,
.case-title {
  font-weight: 760;
}

.work-case,
.row-detail {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.work-meta,
.case-meta,
.message-meta,
.data-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 10px;
  color: var(--ink-faint);
  font-size: 12px;
}

.work-blocker {
  margin-top: 10px;
  border-left: 3px solid var(--handoff-amber);
  color: #575757;
  padding-left: 9px;
  font-size: 13px;
}

.status-pill {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 24px;
  border: 1px solid rgba(126,126,126,0.2);
  border-radius: 2px;
  background: #f1f1f1;
  color: #5d5d5d;
  padding: 3px 9px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.015em;
  white-space: nowrap;
}

.status-pending {
  background: #f1f1f1;
  color: #646464;
}

.status-in_progress {
  background: var(--blue-soft);
  color: var(--blue-deep);
}

.status-awaiting_acceptance {
  background: var(--amber-soft);
  color: #5c5c5c;
}

.status-completed {
  background: var(--green-soft);
  color: #4c4c4c;
}

.empty-state {
  border: 1px solid var(--line-strong);
  border-left: 3px solid #a4a4a4;
  border-radius: 3px;
  background: #fefefe;
  padding: 24px 20px;
}

.empty-state h2,
.empty-state h3 {
  margin: 0;
  font-size: 16px;
}

.empty-state p {
  max-width: 580px;
  margin: 7px 0 0;
  color: var(--ink-soft);
}

.empty-state .button-row {
  margin-top: 15px;
}

.case-create {
  display: grid;
  gap: 18px;
  border: 1px solid var(--line);
  border-left: 3px solid rgba(95,95,95,0.72);
  border-radius: 3px;
  background: #fefefe;
  padding: 20px;
}

.case-create-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.case-create h2 {
  margin: 0;
  font-size: 18px;
}

.case-create p {
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.form-grid .span-two {
  grid-column: span 2;
}

.field-required::after {
  color: var(--red);
  content: " *";
}

.message-unread .message-title::before {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: 0 7px 2px 0;
  border-radius: 50%;
  background: var(--route-teal);
  content: "";
}

.detail-backdrop {
  position: fixed;
  z-index: 30;
  inset: 0;
  display: flex;
  justify-content: flex-end;
  background: rgba(41,41,41,0.24);
}

.detail-drawer {
  display: flex;
  width: min(100%, 664px);
  min-height: 100%;
  flex-direction: column;
  overflow: auto;
  border-left: 1px solid rgba(255, 255, 255, 0.78);
  background: var(--drawer-paper);
  box-shadow: -10px 0 26px rgba(43,43,43,0.16);
}

.drawer-head {
  position: sticky;
  z-index: 2;
  top: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  background: #fbfbfb;
  padding: 24px 25px 20px;
}

.drawer-head > div { min-width: 0; }

.drawer-head h2 {
  margin: 0;
  font-size: 23px;
  font-weight: 780;
  letter-spacing: -0.035em;
  line-height: 1.25;
}

.drawer-body {
  display: grid;
  gap: 25px;
  padding: 24px 25px 42px;
}

.icon-button {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: rgba(254,254,254,0.84);
  color: var(--ink-soft);
  font-size: 22px;
  line-height: 1;
}

.icon-button:hover {
  background: var(--surface-muted);
  color: var(--ink);
}

.handoff-rail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #f7f7f7;
}

.handoff-step {
  position: relative;
  min-width: 0;
  min-height: 76px;
  border-top: 3px solid #d4d4d4;
  background: #f7f7f7;
  padding: 14px 12px 12px;
}

.handoff-step + .handoff-step {
  border-left: 1px solid var(--line);
}

.handoff-step.current {
  border-top-color: var(--route-teal);
  background: var(--blue-soft);
  color: var(--blue-deep);
}

.handoff-step.done {
  border-top-color: var(--green);
  background: var(--green-soft);
  color: #4c4c4c;
}

.handoff-step-label {
  display: block;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.035em;
}

.handoff-step small {
  display: block;
  margin-top: 4px;
  color: inherit;
  font-size: 11px;
  line-height: 1.35;
  opacity: 0.84;
}

.detail-fields {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}

.detail-fields > div {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
}

.detail-fields dt {
  color: var(--ink-faint);
  font-size: 13px;
}

.detail-fields dd {
  min-width: 0;
  margin: 0;
  color: var(--ink);
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.detail-section {
  display: grid;
  gap: 11px;
}

.detail-section h3 {
  margin: 0;
  font-size: 15px;
}

.detail-section p {
  margin: 0;
  color: var(--ink-soft);
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.action-composer {
  display: grid;
  gap: 14px;
  border: 1px solid #d2d2d2;
  border-left: 3px solid var(--route-teal);
  border-radius: 3px;
  background: #f8f8f8;
  padding: 16px;
}

.action-composer h3 {
  margin: 0;
  font-size: 16px;
}

.action-composer p {
  margin: -6px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.action-composer .form-field {
  gap: 6px;
}

.events {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
  background: #fefefe;
}

.event-row {
  position: relative;
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding: 11px 0 11px 17px;
  color: var(--ink-soft);
  font-size: 13px;
}

.event-row::before {
  position: absolute;
  top: 18px;
  left: 4px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--handoff-amber);
  content: "";
}

.event-row time {
  color: var(--ink-faint);
}

.count-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.count-cell {
  min-height: 88px;
  border: 1px solid var(--line);
  border-top: 3px solid #d5d5d5;
  border-radius: 3px;
  background: #fefefe;
  padding: 14px;
}

.count-cell dt {
  color: var(--ink-faint);
  font-size: 12px;
}

.count-cell dd {
  margin: 5px 0 0;
  font-family: var(--font-data);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.plan-section {
  display: grid;
  gap: 13px;
}

.plan-section .section-heading {
  margin-bottom: 0;
}

.plan-section .empty-state {
  margin-top: 0;
}

.plan-proof {
  display: grid;
  gap: 18px;
  border: 1px solid var(--line);
  border-top: 2px solid var(--route-teal);
  background: var(--surface);
  padding: clamp(16px, 2.5vw, 26px);
}

.plan-proof-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.plan-proof-kicker,
.plan-proof-day {
  color: var(--route-teal);
  font-family: var(--font-data);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
}

.plan-proof-head h3 {
  margin: 5px 0 4px;
  font-size: clamp(18px, 2.3vw, 24px);
  font-weight: 650;
  letter-spacing: -.035em;
}

.plan-proof-head p,
.plan-proof-form p {
  max-width: 68ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.65;
}

.plan-proof-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  border-block: 1px solid var(--line);
  padding: 0;
  list-style: none;
  counter-reset: proof-step;
}

.plan-proof-steps li {
  position: relative;
  min-width: 0;
  padding: 12px 8px 12px 29px;
  color: var(--ink-soft);
  font-size: 12px;
  counter-increment: proof-step;
}

.plan-proof-steps li::before {
  position: absolute;
  left: 0;
  color: var(--route-teal);
  font: 700 11px var(--font-data);
  content: "0" counter(proof-step);
}

.plan-proof-form {
  display: grid;
  gap: 8px;
}

.plan-proof-form label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
}

.plan-proof-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 10px;
}

.plan-proof-entry textarea {
  width: 100%;
  min-height: 92px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: var(--surface);
  color: var(--ink);
  padding: 10px 12px;
  resize: vertical;
  font: 12px/1.6 var(--font-data);
}

.plan-proof-result {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.plan-proof-result > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 13px;
}

.plan-proof-result > div:first-child span {
  color: var(--handoff-amber);
}

.plan-proof-verified {
  margin: 0;
  border-top: 1px solid var(--line);
  padding: 0;
  list-style: none;
}

.plan-proof-verified li {
  display: flex;
  justify-content: space-between;
  gap: 8px 18px;
  border-bottom: 1px solid var(--line);
  padding: 11px 0;
}

.plan-proof-verified strong,
.plan-proof-verified small {
  display: block;
}

.plan-proof-verified strong {
  font-size: 13px;
}

.plan-proof-verified small,
.plan-proof-verified li > span {
  color: var(--ink-faint);
  font-size: 11px;
}

.plan-proof-verified li > span {
  align-self: center;
  text-align: right;
}

@media (max-width: 620px) {
  .plan-proof-head { display: block; }
  .plan-proof-day { display: block; margin-top: 8px; }
  .plan-proof-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-proof-entry { grid-template-columns: 1fr; }
  .plan-proof-entry .button { justify-self: start; }
  .plan-proof-verified li { display: block; }
  .plan-proof-verified li > span { display: block; margin-top: 5px; text-align: left; }
}

.plan-task-list {
  display: grid;
  border-top: 1px solid var(--line);
  background: #fefefe;
}

.plan-task-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 20px;
  border-bottom: 1px solid var(--line);
  border-left: 2px solid transparent;
  padding: 14px 0 14px 12px;
}

.plan-task-row strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
}

.plan-task-row p {
  margin: 3px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.plan-task-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 4px 10px;
  color: var(--ink-faint);
  font-size: 12px;
  text-align: right;
}

.plan-task-row .work-blocker {
  grid-column: 1 / -1;
  color: var(--red);
}

.plan-composer,
.plan-approval {
  display: grid;
  gap: 13px;
  border: 1px solid var(--line);
  border-left: 3px solid rgba(95,95,95,0.72);
  border-radius: 3px;
  background: #fefefe;
  padding: 16px;
}

.plan-composer fieldset {
  min-width: 0;
  margin: 0;
  border: 0;
  padding: 0;
}

.plan-composer legend {
  color: var(--ink);
  font-size: 15px;
  font-weight: 720;
}

.plan-composer .field-help {
  margin: 5px 0 10px;
}

.plan-task-options {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fefefe;
}

.plan-task-option {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: flex-start;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding: 12px;
  color: var(--ink);
  cursor: pointer;
}

.plan-task-option:last-child {
  border-bottom: 0;
}

.plan-task-option:hover {
  background: #f7f7f7;
}

.plan-task-option input {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: var(--route-teal);
}

.plan-task-option strong,
.plan-task-option small {
  display: block;
}

.plan-task-option strong {
  font-size: 14px;
  line-height: 1.35;
}

.plan-task-option small {
  margin-top: 3px;
  color: var(--ink-faint);
  font-size: 12px;
  line-height: 1.45;
}

.plan-approval {
  margin-top: 13px;
  border-color: #d2d2d2;
  background: #f8f8f8;
}

.plan-approval p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.plan-withdrawal {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--route-teal);
  border-radius: 3px;
  background: var(--surface);
  padding: 18px;
}

.plan-withdrawal-kicker {
  color: var(--route-teal);
  font-family: var(--font-data);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
}

.plan-withdrawal h3 {
  margin: 5px 0 6px;
  font-size: 17px;
  line-height: 1.3;
}

.plan-withdrawal p {
  max-width: 68ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.6;
}

.plan-withdrawal label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.plan-withdrawal label span {
  margin-left: 7px;
  color: var(--ink-faint);
  font-weight: 400;
}

.plan-withdrawal textarea {
  width: 100%;
  min-height: 96px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: #fefefe;
  color: var(--ink);
  padding: 11px 12px;
  resize: vertical;
}

.mono {
  font-family: var(--font-data);
  font-size: 0.9em;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* 首页以一张交接纸面为主视觉：数量来自真实工作单，不显示伪造的 AI 结果。 */
.today-hero {
  position: relative;
  display: grid;
  min-height: 425px;
  grid-template-columns: minmax(0, 58%) minmax(0, 42%);
  overflow: hidden;
  border: 1px solid rgba(147,147,147,0.19);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(251,251,251,0.92));
  box-shadow: 0 26px 72px rgba(60,60,60,0.075), 0 2px 8px rgba(60,60,60,0.035);
}

.today-hero-copy {
  position: relative;
  z-index: 1;
  padding: clamp(35px, 4.2vw, 58px) 42px 108px clamp(33px, 4.2vw, 58px);
}

.today-hero-copy::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(88,88,88,0.18), transparent);
  content: "";
}

.today-kicker {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 29px;
  color: #686868;
  font-family: var(--font-data);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.today-kicker-rule {
  width: 28px;
  height: 1px;
  background: #878787;
}

.today-hero h1 {
  max-width: 640px;
  margin: 0;
  color: #333333;
  font-family: "Segoe UI Variable Display", "PingFang SC", "Microsoft YaHei UI", sans-serif;
  font-size: clamp(34px, 3.45vw, 55px);
  font-weight: 670;
  letter-spacing: -0.065em;
  line-height: 1.22;
}

.today-hero h1 span {
  color: #575757;
}

.today-lede {
  max-width: 480px;
  margin: 23px 0 0;
  color: #6b6b6b;
  font-size: 14px;
  line-height: 1.85;
}

.today-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 19px;
  margin-top: 27px;
}

.today-hero-actions .button {
  min-height: 43px;
  border-color: rgba(87,87,87,0.2);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(73,73,73,0.065);
}

.today-refresh-note {
  color: #8e8e8e;
  font-size: 12px;
}

.today-hero-visual {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: #d6d6d6;
}

.today-hero-visual::before {
  position: absolute;
  inset: 0;
  background: url("./assets/workspace-scene-v1.png") center center / cover no-repeat;
  content: "";
  animation: today-scene-settle 900ms cubic-bezier(.2,.7,.2,1) both;
}

.today-hero-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(35,35,35,0.34));
  content: "";
}

.today-glass-note {
  position: absolute;
  z-index: 1;
  right: 21px;
  bottom: 21px;
  left: 21px;
  display: grid;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 15px;
  background: rgba(249,249,249,0.68);
  backdrop-filter: blur(22px) saturate(1.14);
  -webkit-backdrop-filter: blur(22px) saturate(1.14);
  box-shadow: 0 8px 30px rgba(39,39,39,0.1);
  color: #3d3d3d;
  padding: 16px 19px;
}

.today-glass-note small {
  font-family: var(--font-data);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.today-glass-note span {
  font-size: 15px;
  font-weight: 650;
}

.today-hero-index {
  position: absolute;
  z-index: 2;
  bottom: 31px;
  left: clamp(33px, 4.2vw, 58px);
  display: flex;
  align-items: baseline;
  gap: 13px;
  color: #494949;
}

.today-hero-index strong {
  font-family: var(--font-data);
  font-size: 43px;
  font-weight: 450;
  letter-spacing: -0.09em;
  line-height: 1;
}

.today-hero-index span {
  font-size: 13px;
}

.today-intelligence {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px 14px;
  margin: 17px 0 34px;
  border: 1px solid rgba(182,182,182,0.31);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #787878;
  padding: 15px 19px;
  font-size: 12px;
}

.today-intelligence strong {
  color: #4c4c4c;
  font-size: 12px;
  font-weight: 700;
}

.today-intelligence-signal {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8c8c8c;
  box-shadow: 0 0 0 4px rgba(140,140,140,0.13);
}

.relay-queue {
  border-top: 0;
  padding-top: 0;
}

.relay-queue .section-heading {
  margin: 0 0 17px;
}

.relay-queue .section-heading h2 {
  font-size: 20px;
  letter-spacing: -0.025em;
}

.relay-queue .work-list {
  overflow: hidden;
  border: 1px solid rgba(160,160,160,0.3);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 34px rgba(63,63,63,0.045);
}

.relay-queue .work-list::before {
  left: 30px;
}

.relay-queue .work-item {
  min-height: 94px;
  border-left: 0;
  background: transparent;
  padding: 21px 27px 20px 55px;
}

.relay-queue .work-item:last-child {
  border-bottom: 0;
}

.relay-queue .work-item::before {
  top: 30px;
  left: 26px;
}

.relay-queue .work-item:hover {
  border-left: 0;
  background: #f8f8f8;
  padding-right: 27px;
  padding-left: 55px;
}

@keyframes today-scene-settle {
  from { opacity: .7; transform: scale(1.035); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 1120px) {
  .today-hero { grid-template-columns: minmax(0, 60%) minmax(0, 40%); }
  .today-hero-copy { padding-right: 24px; }
  .today-hero h1 { font-size: clamp(32px, 3.7vw, 44px); }
}

@media (max-width: 800px) {
  .today-hero { display: block; min-height: 0; }
  .today-hero-copy { min-height: 330px; padding: 35px 30px 88px; }
  .today-hero-visual { height: 170px; min-height: 0; }
  .today-hero-index { top: 272px; bottom: auto; left: 30px; }
  .today-glass-note { right: 14px; bottom: 13px; left: auto; min-width: 210px; padding: 11px 14px; }
  .today-intelligence { margin-bottom: 27px; }
}

@media (max-width: 500px) {
  .today-hero { border-radius: 18px; }
  .today-hero-copy { min-height: 0; padding: 29px 23px 29px; }
  .today-kicker { margin-bottom: 23px; font-size: 10px; }
  .today-hero h1 { font-size: clamp(31px, 8vw, 39px); }
  .today-lede { margin-top: 17px; font-size: 13px; }
  .today-hero-actions { margin-top: 19px; }
  .today-hero-visual { display: block; height: 112px; min-height: 0; }
  .today-hero-visual::before { background-position: center 58%; }
  .today-hero-visual::after { background: linear-gradient(90deg, rgba(35,35,35,0.18), transparent 75%); }
  .today-glass-note { display: none; }
  .today-hero-index {
    top: auto;
    bottom: 13px;
    left: 23px;
    align-items: center;
    gap: 9px;
    min-height: 45px;
    padding: 5px 13px;
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 11px;
    background: rgba(254,254,254,0.86);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 6px 24px rgba(31,31,31,0.12);
  }
  .today-hero-index strong { font-size: 31px; }
  .today-intelligence { align-items: flex-start; padding: 13px 15px; }
  .today-intelligence > span:last-child { flex-basis: 100%; padding-left: 21px; }
  .relay-queue .work-item { padding-right: 17px; padding-left: 43px; }
  .relay-queue .work-item::before { left: 17px; }
  .relay-queue .work-list::before { left: 21px; }
  .relay-queue .work-item:hover { padding-right: 17px; padding-left: 43px; }
}

@media (max-width: 800px) {
  .app-shell {
    display: block;
  }

  .side-rail {
    display: none;
  }

  .workspace-main {
    padding: 0 16px 36px;
  }

  .mobile-head {
    position: sticky;
    z-index: 10;
    top: 0;
    display: grid;
    margin: 0 -16px 25px;
    border-bottom: 1px solid var(--line);
    background: #fbfbfb;
  }

  .mobile-brand-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 13px 16px 10px;
  }

  .mobile-brand-row .brand-lockup.workbench-wordmark { flex:0 0 auto; margin-right:auto; }
  .mobile-brand-row .logout-button { flex:0 0 auto; min-width:44px; min-height:44px; margin:0; padding:8px; }
  .mobile-assistant-button { display:inline-flex; flex:0 0 auto; align-items:center; justify-content:center; min-height:44px; padding:8px; border:1px solid #dedede; border-radius:10px; background:rgba(255,255,255,.86); color:#222; font:inherit; font-size:14px; line-height:20px; white-space:nowrap; cursor:pointer; }
  .mobile-assistant-button:hover { background:#f1f1f1; border-color:#bcbcbc; }
  .mobile-assistant-button:focus-visible { outline:2px solid #222; outline-offset:2px; }

  .mobile-brand-row .brand-lockup {
    min-height: 68px;
    padding: 0;
  }

  .mobile-brand-row .brand-identity {
    width: 110px;
    height: 68px;
  }

  .mobile-brand-row .brand-identity img {
    top: -21px;
    width: 110px;
    height: 110px;
  }

  .mobile-nav {
    display: flex;
    gap: 3px;
    overflow-x: auto;
    padding: 0 12px 9px;
    scrollbar-width: none;
  }

  .mobile-nav::-webkit-scrollbar {
    display: none;
  }

  .mobile-nav .nav-button {
    width: auto;
    flex: 0 0 auto;
    min-height: 44px;
    padding: 8px 9px;
    font-size: 13px;
  }

  .feedback-heading.is-expanded .lede { display: none; }
  .feedback-heading.is-expanded h1 { font-size: 22px; }
  .feedback-heading.is-expanded .feedback-mode { margin-top: 6px; }

  .page-heading {
    display: block;
    margin-bottom: 23px;
    padding-bottom: 17px;
  }

  .page-heading h1 {
    font-size: 28px;
  }

  .page-heading .button-row {
    margin-top: 15px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-grid .span-two {
    grid-column: auto;
  }

  .detail-drawer {
    width: 100%;
  }

  .drawer-head,
  .drawer-body {
    padding-right: 18px;
    padding-left: 18px;
  }

  .detail-fields > div,
  .event-row {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .handoff-step {
    min-height: 78px;
    padding: 11px 10px;
  }
}

@media (max-width: 900px) {
  .auth-shell {
    grid-template-columns: minmax(300px, 42%) minmax(0, 1fr);
  }

  .auth-story {
    padding: 32px;
  }

  .auth-story h2 {
    font-size: clamp(34px, 4.8vw, 46px);
  }

  .auth-fold > div {
    padding-right: 10px;
    padding-left: 10px;
  }

  .auth-fold > div::before {
    left: 10px;
  }
}

@media (max-width: 700px) {
  .auth-shell {
    grid-template-columns: 1fr;
  }

  .auth-story {
    display: none;
  }

  .auth-panel {
    min-height: 100vh;
    padding: 24px clamp(22px, 7vw, 48px);
  }

  .auth-panel-inner {
    margin: auto;
  }

  .auth-mobile-brand {
    display: inline-flex;
    margin-bottom: clamp(58px, 10vh, 104px);
    color: #545454;
  }

  .auth-mobile-brand .brand-identity {
    width: 150px;
    height: 92px;
  }

  .auth-mobile-brand .brand-identity img {
    top: -28px;
    width: 150px;
    height: 150px;
  }

  .auth-panel-footer {
    margin-top: 34px;
  }
}

@media (max-width: 430px) {
  .mobile-brand-row .brand-lockup.workbench-wordmark { flex-direction:column; align-items:flex-start; gap:2px; }
  .mobile-brand-row .workbench-wordmark span:first-child { font-size:18px; }
  .mobile-brand-row .workbench-wordmark span:last-child { font-size:10px; letter-spacing:.08em; }

  .auth-panel {
    padding: 23px 22px 26px;
  }

  .auth-mobile-brand {
    margin-bottom: 60px;
  }

  .auth-panel h1 {
    font-size: 37px;
  }

  .auth-panel form {
    margin-top: 33px;
  }

  .auth-panel-footer span:last-child {
    display: none;
  }

  .work-item-top,
  .case-row-top,
  .message-row-top {
    gap: 10px;
  }

  .status-pill {
    font-size: 11px;
  }

  .handoff-rail {
    grid-template-columns: 1fr;
  }

  .handoff-step + .handoff-step {
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .button:active:not(:disabled) {
    transform: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .button,
  .nav-button,
  .mobile-assistant-button,
  .icon-button,
  button.work-item,
  button.case-row,
  button.message-row {
    transition:
      background-color var(--motion-duration) var(--motion-ease),
      border-color var(--motion-duration) var(--motion-ease),
      color var(--motion-duration) var(--motion-ease),
      box-shadow var(--motion-duration) var(--motion-ease),
      transform var(--motion-duration) var(--motion-ease);
  }
  .mobile-assistant-button:active { transform:scale(.98); }
}

@media (prefers-contrast: more) {
  :root {
    --canvas-mist: #ffffff;
    --surface: #ffffff;
    --surface-muted: #ffffff;
    --line: #6c6c6c;
    --line-strong: #4f4f4f;
  }

  body {
    background: #ffffff;
  }

  .side-rail,
  .detail-drawer,
  .drawer-head,
  .mobile-head,
  .work-list,
  .case-list,
  .message-list,
  .management-list,
  .plan-task-list,
  .events {
    background: #ffffff;
  }

  .nav-button[aria-current="page"],
  .handoff-step.current,
  .status-in_progress {
    border-color: var(--route-teal);
    background: #ffffff;
  }

  .status-pill {
    border-color: currentColor;
  }
}
/* The V2 work-order keeps the paper form's hierarchy, one decision at a time. */
.packaging-sheet { border-top: 4px solid #3c3c3c; background: #fff; }
.packaging-wordmark { display: flex; flex-wrap: wrap; gap: 1.5rem; color: #3c3c3c; font-size: 1rem; font-weight: 650; margin-bottom: 1.5rem; }
.packaging-wordmark::after { content: ""; display: block; flex-basis: 100%; height: 3px; max-width: 3rem; background: #a7a7a7; margin-top: .4rem; }
.packaging-stepper, .packaging-stages { list-style: none; padding: 0; display: grid; gap: .7rem; }
.packaging-stepper { grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 1.5rem 0; }
.packaging-stepper li { color: #6b6b6b; border-bottom: 2px solid #e3e3e3; padding: .6rem .1rem; font-size: .85rem; }
.packaging-stepper span { display: block; font-size: .75rem; }
.packaging-stepper [aria-current] { border-color: #3c3c3c; color: #3c3c3c; font-weight: 650; }
.packaging-fields { border: 0; padding: 0; margin: 0; min-width: 0; }
.packaging-fields:disabled { opacity: .7; }
.packaging-panel { display: grid; gap: 1.2rem; padding: 1rem 0; animation: packaging-enter 180ms ease-out; }
.packaging-panel small, .packaging-choices legend { color: #5f5f5f; line-height: 1.6; }
.packaging-choices { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; border: 0; padding: .6rem 0; }
.packaging-choices label { min-height: 44px; display: inline-flex; gap: .5rem; align-items: center; cursor: pointer; }
.packaging-choices input { width: 1.2rem; height: 1.2rem; accent-color: #3c3c3c; }
.packaging-summary { margin: 1rem 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.packaging-summary > div { min-width: 0; }
.packaging-summary dt { color: #5f5f5f; font-size: .85rem; margin-bottom: .35rem; }
.packaging-summary dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.65; }
.packaging-stages { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.packaging-stages li { padding: .8rem; border: 1px solid #e3e3e3; border-radius: 8px; display: grid; gap: .4rem; }
.packaging-stages span, .packaging-stages small { font-size: .8rem; color: #5f5f5f; }
.packaging-stages .is-current { border-color: #3c3c3c; background: #f5f5f5; box-shadow: inset 3px 0 #3c3c3c; }
.packaging-reference { overflow-wrap: anywhere; }
.packaging-sheet summary { min-height: 44px; padding-block: .7rem; cursor: pointer; color: #3c3c3c; }
.packaging-sheet summary:focus-visible { outline: 3px solid #3c3c3c; outline-offset: 2px; }
.packaging-current { background: #f7f7f7; border-left: 4px solid #3c3c3c; padding: 1rem; margin: 1.2rem 0; }
.packaging-sheet form[data-form="packaging-next-stage"] { border-block: 1px solid #e3e3e3; padding-block: 1.5rem; margin-block: 1.5rem; display: grid; gap: 1rem; }
.packaging-sheet .button:active { transform: scale(.98); }
@keyframes packaging-enter { from { opacity: .3; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) {
  .packaging-stepper { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .packaging-summary { grid-template-columns: 1fr; }
  .packaging-stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { .packaging-panel { animation: none; } .packaging-sheet .button:active { transform: none; } }

/* Restrained frosted material; order content remains opaque and readable. */
body { background:radial-gradient(ellipse 52% 42% at 20% 18%,rgba(207,207,207,.2),transparent 78%),radial-gradient(ellipse 32% 45% at 90% 34%,rgba(230,230,230,.35),transparent 80%),#f8f8f8; }
.side-rail { background:rgba(250,250,250,.66); border-right-color:rgba(164,164,164,.17); }
.rail-nav { padding:8px; margin-inline:-8px; border:1px solid rgba(255,255,255,.84); border-radius:16px; background:rgba(255,255,255,.6); box-shadow:0 7px 24px rgba(64,64,64,.025),inset 0 1px 0 #fff; backdrop-filter:blur(12px) saturate(1.08); -webkit-backdrop-filter:blur(12px) saturate(1.08); }
.nav-button[aria-current="page"] { color:#3c3c3c; background:rgba(229,229,229,.62); box-shadow:inset 0 1px 0 rgba(255,255,255,.88); border-radius:9px; }
.mobile-nav { background:rgba(255,255,255,.72); border-radius:12px; padding:5px; border:1px solid rgba(255,255,255,.86); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px); }
@media(prefers-reduced-transparency:reduce) { .side-rail,.rail-nav,.mobile-nav { background:#fff; backdrop-filter:none; -webkit-backdrop-filter:none; box-shadow:none; border-color:#e2e2e2; } }

/* Quiet black and white office surfaces; brand colour stays at top left. */
:root {
  --brand-logo: #074c3b;
  --canvas-mist: #f5f5f5;
  --drawer-paper: #fff;
  --surface: #fff;
  --surface-muted: #f2f2f2;
  --ink-fiber: #222;
  --ink-soft: #626262;
  --ink-faint: #6b6b6b;
  --line: #e2e2e2;
  --line-strong: #bcbcbc;
  --route-teal: #222;
  --handoff-amber: #484848;
  --exception-red: #333;
  --blue-deep: #333;
  --blue-soft: #ececec;
  --green: #333;
  --green-soft: #ededed;
  --amber-soft: #f1f1f1;
  --red-soft: #ececec;
}
body { background:#f5f5f5; }
.side-rail {
  background: rgba(250,250,250,.68);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-right-color: rgba(0,0,0,.075);
}
.side-rail .brand-lockup.workbench-wordmark,
.mobile-brand-row .brand-lockup.workbench-wordmark { color: var(--brand-logo); }
.rail-nav {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  gap: 4px;
}
.nav-button[aria-current="page"] {
  color: #222;
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 2px 7px rgba(0,0,0,.025), inset 0 1px 0 #fff;
  font-weight: 620;
}
.nav-button:hover { background: rgba(255,255,255,.6); border-color: rgba(0,0,0,.065); }
.rail-more { margin-top: 6px; padding-top: 7px; border-top: 1px solid #ddd; }
.rail-more > summary { min-height: 44px; padding: 11px 15px; color: #666; font-size: 13px; cursor: pointer; }
.rail-more > summary:hover { color: #222; }
.rail-more > summary:focus-visible { outline: 2px solid #777; outline-offset: 2px; border-radius: 8px; }
.rail-more .nav-button { font-size: 13px; min-height: 42px; }
.mobile-nav,
.mobile-head,
.drawer-head {
  background: rgba(255,255,255,.76);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.execution-home-heading { padding-bottom: 18px; }
.execution-home-heading h1 { font-size: clamp(25px,2.7vw,32px); margin-bottom: 0; }
.page-heading { margin-bottom: 22px; padding-bottom: 16px; }
.page-heading h1 { font-size: clamp(24px,2.5vw,30px); line-height: 1.2; font-weight: 600; }
.feedback-detail-placeholder { min-height: 18rem; }
.feedback-surface,
.work-list,
.case-list,
.message-list { background: #fff; box-shadow: none; }
.button-primary { background: #222; }
.button-primary:hover:not(:disabled) { background: #444; }
.notice,
.notice[data-kind="error"],
.notice[data-kind="success"] { color: #333; background: #f1f1f1; border-color: #ccc; }
.status-pill,
.feedback-status { color: #444; background: #efefef; border-color: #ddd; }
.status-in_progress,
.status-awaiting_acceptance,
.status-completed,
.feedback-status-processing,
.feedback-status-awaiting_confirmation,
.feedback-status-resolved { color: #333; background: #ededed; }
.today-hero { min-height: 0; grid-template-columns: 1fr; border-radius: 16px; box-shadow: 0 5px 20px rgba(0,0,0,.035); }
.today-hero-copy { padding: 28px 28px 90px; }
.today-hero h1 { font-size: clamp(27px,3vw,36px); color: #222; }
.today-hero-visual,
.today-hero-visual::before,
.today-hero-visual::after { display: none; background: none; }
.today-hero-index { bottom: 24px; left: 28px; color: #333; }
.today-hero-index strong { font-size: 32px; }
.auth-story { background: #f1f1f1; color: #333; }
.auth-story h2 { font-size: clamp(30px,3.5vw,42px); }
.auth-story h2 span { color: #333; }
.auth-brand small,
.auth-story-kicker,
.auth-story-description,
.auth-fold small,
.auth-story-footer { color: #666; }
.auth-fold { border-color: #ccc; background: rgba(255,255,255,.65); border-radius: 12px; }
.auth-story::after,
.auth-fold > div::before { display: none; }
.auth-brand .brand-lockup.workbench-wordmark,
.auth-mobile-brand .brand-lockup.workbench-wordmark { color: var(--brand-logo); }
.auth-panel-footer,
.auth-panel .auth-footnote,
.today-refresh-note { color: #666; }
.auth-shell { position: relative; }
.auth-workbench-brand { position: absolute; z-index: 2; top: 24px; left: 32px; }
.auth-workbench-brand .brand-lockup.workbench-wordmark { color: var(--brand-logo); }
@media (max-width:700px) {
  .auth-workbench-brand { top: 20px; left: 22px; }
  .auth-shell > .auth-panel { padding-top: 100px; }
}
.packaging-sheet { border-top-width: 1px; border-top-color: #ddd; }
.packaging-wordmark { color: #555; }
.packaging-wordmark::after { display: none; }
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) {
  .side-rail,.mobile-nav,.mobile-head,.drawer-head { background: #fafafa; }
}
@media (prefers-reduced-transparency:reduce) {
  .side-rail,.rail-nav,.mobile-nav,.mobile-head,.drawer-head { background: #fff; backdrop-filter:none; -webkit-backdrop-filter:none; box-shadow:none; }
}
@media (prefers-contrast:more) {
  :root { --line:#999; --line-strong:#666; }
  body { background:#fff; }
  .side-rail,.mobile-nav,.mobile-head,.drawer-head { background:#fff; backdrop-filter:none; -webkit-backdrop-filter:none; }
}

/* Same reference shell as the employee workspace, with existing management routes. */
.app-shell { gap:16px; padding:16px; grid-template-columns:216px minmax(0,1fr); }
.side-rail { top:16px; height:calc(100dvh - 32px); padding:16px; border:1px solid rgba(255,255,255,.9); border-radius:24px; background:rgba(255,255,255,.68); box-shadow:inset 0 1px 0 #fff,0 8px 32px rgba(0,0,0,.025); backdrop-filter:blur(24px); -webkit-backdrop-filter:blur(24px); overflow:hidden; }
.side-rail .brand-lockup { flex:0 0 auto; min-height:72px; padding-inline:8px; }
.rail-nav { margin-block:16px; padding:2px; margin-inline:0; }
.workspace-main { padding:16px 24px 40px; }
.execution-home-heading { padding-bottom:16px; }
.execution-home-heading h1 { font-size:30px; line-height:36px; font-weight:600; }
.execution-home-heading p { font-size:14px; color:#666; }
@media(max-width:800px) {
  .app-shell { display:block; padding:0; }
  .workspace-main { padding:0 16px 32px; }
  .execution-home-heading h1 { font-size:24px; line-height:32px; }
  .mobile-head { margin-bottom:16px; }
}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) { .side-rail { background:#fafafa; } }
@media(prefers-reduced-transparency:reduce),(prefers-contrast:more) { .side-rail { background:#fff; backdrop-filter:none; -webkit-backdrop-filter:none; box-shadow:none; border-color:#aaa; } }

/* Keep notifications and every workspace drawer on the same paper/glass surface. */
body:has(.detail-backdrop) { overflow: hidden; }
.section.notification-panel { border: 0; padding: 0; max-height: 68dvh; overflow: auto; scrollbar-width: thin; scroll-padding-top: 80px; }
.notification-heading { position: sticky; top: 0; z-index: 2; margin: 0 0 12px; padding: 16px; border-radius: 16px; background: rgba(247,247,247,.86); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.notification-panel .message-list { display: grid; gap: 12px; border: 0; background: transparent; }
.message-list .message-row { gap: 16px; padding: 24px; border: 1px solid rgba(255,255,255,.9); border-radius: 16px; background: rgba(255,255,255,.86); }
.message-row-top > div,.message-row-top > span { display: grid; min-width: 0; gap: 8px; }
.message-row .message-title { display: block; font-size: 18px; line-height: 28px; font-weight: 600; }
.message-row .row-detail { display: block; margin: 0; max-width: 65ch; line-height: 1.6; overflow-wrap: anywhere; }
.message-original { color: var(--ink-soft); font-size: 14px; }
.message-original summary { cursor: pointer; padding: 8px 0; }
.message-original p { margin: 8px 0 0; overflow-wrap: anywhere; }
.message-list button.message-row:hover { padding: 24px; border-color: #d4d4d4; background: #fff; }
.detail-backdrop { padding: 24px; background: rgba(0,0,0,.16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.detail-drawer { width: min(100%, 800px); min-height: 0; max-height: 100%; overscroll-behavior: contain; scrollbar-width: thin; border: 1px solid rgba(255,255,255,.9); border-radius: 24px; background: #f5f5f5; box-shadow: 0 24px 64px rgba(0,0,0,.12); }
.detail-drawer .drawer-head { padding: 24px; border: 0; background: rgba(250,250,250,.84); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.detail-drawer .drawer-head h2 { font-size: 24px; line-height: 32px; font-weight: 600; word-break:normal; overflow-wrap: anywhere; }
.detail-drawer .icon-button { width: 44px; height: 44px; border-radius: 12px; }
.detail-drawer .drawer-body { gap: 16px; padding: 16px 24px 32px; min-width: 0; }
.detail-drawer .detail-section,.detail-drawer .action-composer { min-width: 0; padding: 24px; border: 0; border-radius: 16px; background: #fff; }
.detail-drawer .detail-fields { border: 0; gap: 16px; }
.detail-drawer .detail-fields > div { grid-template-columns: minmax(0,1fr); gap: 4px; padding: 0; border: 0; }
.detail-drawer .detail-fields dt { font-size: 14px; line-height: 20px; }
.detail-drawer .detail-fields dd { font-size: 16px; line-height: 24px; }
.detail-drawer .handoff-rail { gap: 8px; border: 0; border-radius: 0; background: transparent; margin-bottom: 16px; }
.detail-drawer .handoff-step { min-height: 0; padding: 12px; border: 0; border-radius: 12px; background: #f5f5f5; }
.detail-drawer .handoff-step.current { background: #272727; color: #fff; }
.detail-drawer .work-list,.detail-drawer .events { border: 0; background: transparent; }
.detail-drawer .work-list::before,.detail-drawer .work-item::before { display: none; }
.detail-drawer .work-item { margin-bottom: 8px; padding: 16px; border: 0; border-radius: 12px; background: #f5f5f5; }
.detail-drawer button.work-item:hover { padding: 16px; background: #ededed; }
.detail-drawer .event-row { gap: 8px; margin-bottom: 8px; padding: 12px 16px; border: 0; border-radius: 12px; background: #f5f5f5; }
.detail-drawer .detail-history { display: block; }
.detail-history > summary { cursor: pointer; font-weight: 600; }
.detail-history[open] > summary { margin-bottom: 16px; }
.feedback-detail { border-color: rgba(255,255,255,.9); border-radius: 24px; }
.feedback-detail-toolbar { position: sticky; top: 0; z-index: 2; padding: 8px; border-radius: 16px; background: rgba(250,250,250,.86); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
@media(max-width:800px) {
  .detail-backdrop { padding: 8px; }
  .detail-drawer { border-radius: 16px; }
  .detail-drawer .drawer-head,.detail-drawer .detail-section,.detail-drawer .action-composer { padding: 16px; }
  .detail-drawer .drawer-body { padding: 12px; }
  .message-list .message-row,.message-list button.message-row:hover { padding: 16px; }
  .feedback-message-footer { align-items: flex-start; flex-direction: column; gap: 12px; }
}
@media(prefers-reduced-transparency:reduce),(prefers-contrast:more),(forced-colors:active) {
  .detail-backdrop,.detail-drawer .drawer-head,.notification-heading,.feedback-detail-toolbar { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .detail-drawer .drawer-head,.notification-heading,.feedback-detail-toolbar,.message-list .message-row { background: #fff; }
}

/* The work-order list scrolls within one sheet; its glass title stays in view. */
.section.case-list-panel {
  max-block-size: min(58dvh, 640px);
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: #b7b7b7 transparent;
  scroll-behavior: smooth;
  scroll-padding-block-start: 68px;
  margin-top: 0;
  padding: 0;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 20px;
  background: rgba(255,255,255,.56);
  box-shadow: inset 0 1px 0 #fff, 0 8px 28px rgba(0,0,0,.035);
  -webkit-overflow-scrolling: touch;
}
.case-list-panel::-webkit-scrollbar { width: 9px; }
.case-list-panel::-webkit-scrollbar-thumb { border: 2px solid transparent; border-radius: 999px; background: #b7b7b7; background-clip: padding-box; }
.case-list-panel:focus-visible { outline: 2px solid #444; outline-offset: 3px; }
.case-list-panel .case-list-heading {
  position: sticky;
  z-index: 2;
  top: 0;
  align-items: center;
  min-height: 64px;
  margin: 0;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(0,0,0,.1);
  background: rgba(247,247,247,.78);
  box-shadow: 0 8px 20px rgba(0,0,0,.035);
  backdrop-filter: blur(20px) saturate(115%);
  -webkit-backdrop-filter: blur(20px) saturate(115%);
}
.case-list-panel .case-list { border: 0; background: transparent; }
.case-list-panel .case-row { padding: 18px 20px; background: rgba(255,255,255,.62); }
.case-list-panel .case-row-top > span { display: grid; min-width: 0; gap: 4px; }
.case-list-panel .case-title { overflow-wrap: anywhere; }
.case-list-panel .row-detail { display: block; }
.case-list-panel button.case-row:hover { padding-right: 20px; background: rgba(255,255,255,.88); }
@media(max-width:800px) {
  .section.case-list-panel { max-block-size: min(56dvh, 540px); border-radius: 18px; }
  .case-list-panel .case-list-heading { min-height: 58px; padding: 12px 16px; }
  .case-list-panel .case-row { padding: 16px; }
  .case-list-panel button.case-row:hover { padding-right: 16px; }
}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) {
  .case-list-panel .case-list-heading { background: #f7f7f7; }
}
@media(prefers-reduced-transparency:reduce),(prefers-contrast:more) {
  .section.case-list-panel,.case-list-panel .case-row { background: #fff; }
  .case-list-panel .case-list-heading { background: #f7f7f7; backdrop-filter: none; -webkit-backdrop-filter: none; }
}
/* Management overview uses the same monochrome paper and glass surfaces. */
.position-links { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.position-work-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 20px; }
.position-work-section { min-width: 0; border-radius: 22px; padding: 22px; background: rgba(255,255,255,.78); border: 1px solid rgba(255,255,255,.9); }
.position-work-section .work-item { border: 1px solid #e7e7e7; border-radius: 14px; margin-top: 12px; padding: 16px; font: inherit; }
.position-work-section .work-item::before, .position-work-section .work-item::after { display: none; }
.position-empty, .position-data-note { color: #626262; font-size: 14px; line-height: 1.7; }
.position-data-note { margin-top: 24px !important; }
@media (max-width: 800px) { .position-work-grid { grid-template-columns: 1fr; } .position-work-section { padding: 18px; } }
.management-source { margin: 0 0 22px; color: #595959; line-height: 1.7; font-size: 13px; }
.management-focus, .management-data-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.management-focus { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; }
.management-data-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.management-card { min-width: 0; padding: 22px; border: 1px solid rgba(255,255,255,.85); border-radius: 22px; background: rgba(255,255,255,.78); box-shadow: 0 8px 24px rgba(0,0,0,.035); }
.management-card h2, .management-card h3 { margin: 0 0 10px; font-size: 18px; color: #202020; }
.management-card h2 { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.management-card h2 span { font-size: 26px; font-variant-numeric: tabular-nums; }
.management-card p { margin: 10px 0; color: #626262; font-size: 14px; line-height: 1.65; }
.management-action-list { overflow: visible; }
.management-action-list .work-item { background: #fff; border: 1px solid #e7e7e7; border-radius: 14px; padding: 16px; margin-top: 12px; }
.management-action-list .work-item { font: inherit; }
.management-action-list .work-item::before, .management-action-list .work-item::after { display: none; }
.management-unavailable { display: inline-block; border-radius: 99px; padding: 4px 10px; background: #efefef; color: #555; font-size: 12px; }
.management-card summary, .management-all > summary { cursor: pointer; padding: 12px 0; color: #333; }
.management-all { margin-top: 20px; padding: 6px 22px; border-radius: 20px; background: rgba(255,255,255,.7); }
.management-card details p { overflow-wrap: anywhere; }
@media (max-width: 1100px) { .management-focus, .management-data-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 800px) { .management-focus, .management-data-grid { grid-template-columns: 1fr; } .management-card { padding: 18px; } }

/* Cockpit: a single full-width queue, never a list inside narrow metric cards. */
.cockpit-source { display:flex; flex-wrap:wrap; align-items:center; gap:8px 24px; margin:0 0 24px; color:var(--ink-soft); font-size:12px; }
.cockpit-source details { max-width:100%; }
.cockpit-source summary { cursor:pointer; }
.cockpit-source p { max-width:65ch; line-height:1.6; }
.cockpit-filters { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; margin-bottom:24px; padding:8px; border:1px solid #fff; border-radius:24px; background:rgba(255,255,255,.55); backdrop-filter:blur(16px); }
.cockpit-filter { appearance:none; min-width:0; display:flex; align-items:center; justify-content:space-between; gap:12px; border:1px solid transparent; border-radius:16px; padding:16px 24px; font:inherit; color:var(--ink-soft); background:transparent; cursor:pointer; text-align:left; }
.cockpit-filter strong { font-size:24px; line-height:32px; font-weight:600; font-variant-numeric:tabular-nums; color:var(--ink); }
.cockpit-filter[aria-pressed="true"] { color:var(--ink); background:#fff; border-color:var(--line); box-shadow:0 2px 8px rgba(0,0,0,.04); }
.cockpit-filter:hover { background:rgba(255,255,255,.8); }
.cockpit-filter:focus-visible { outline:2px solid var(--ink); outline-offset:2px; }
.cockpit-workspace { min-width:0; margin-bottom:24px; background:rgba(255,255,255,.85); border:1px solid #fff; border-radius:24px; overflow:clip; }
.cockpit-list-header { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:24px 32px; border-bottom:1px solid var(--line); }
.cockpit-list-header h2 { display:flex; flex-wrap:wrap; gap:12px; align-items:baseline; margin:0; font-size:20px; line-height:28px; font-weight:600; }
.cockpit-list-header h2 span { font-size:12px; font-weight:400; color:var(--ink-soft); }
.cockpit-list-header p { margin:8px 0 0; font-size:12px; color:var(--ink-soft); }
.cockpit-work-list { min-width:0; overflow:visible; }
.cockpit-work-list .work-item { display:block; width:100%; margin:0; padding:24px 32px; border:0; border-bottom:1px solid var(--line); border-radius:0; background:transparent; text-align:left; font:inherit; }
.cockpit-work-list .work-item:last-child { border-bottom:0; }
.cockpit-work-list .work-item:hover { padding:24px 32px; background:#f6f6f6; }
.cockpit-work-list .work-item::before,.cockpit-work-list .work-item::after { display:none; }
.cockpit-work-list .work-item-top { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:start; gap:16px; }
.cockpit-work-list .work-item-copy { min-width:0; width:auto; }
.cockpit-work-list .work-title { display:block; max-width:none; font-size:16px; line-height:24px; font-weight:600; word-break:normal; overflow-wrap:anywhere; }
.cockpit-work-list .work-meta { display:flex; flex-wrap:wrap; gap:8px 24px; margin-top:8px; font-size:12px; line-height:20px; }
.cockpit-empty { padding:40px 32px; color:var(--ink-soft); }
/* Optional assistant drawer: original work surface and forms keep their width. */
.work-assistant-launch { position:fixed; right:24px; bottom:24px; z-index:24; display:flex; gap:9px; align-items:center; min-height:48px; padding:12px 18px; border:1px solid #fff; border-radius:99px; color:#222; background:rgba(255,255,255,.88); backdrop-filter:blur(22px); box-shadow:0 6px 28px #0002; font:inherit; font-size:14px; cursor:pointer; }
.work-assistant-launch span { font-size:23px; }
@media(max-width:800px) { .work-assistant-launch { display:none; } }
.work-assistant { position:fixed; right:24px; bottom:24px; z-index:25; width:390px; max-width:calc(100vw - 32px); height:min(710px,calc(100dvh - 48px)); display:flex; flex-direction:column; border:1px solid #fff; border-radius:24px; background:rgba(250,250,250,.96); backdrop-filter:blur(24px); box-shadow:0 18px 70px #0003; overflow:hidden; color:var(--ink); }
.work-assistant > header { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:20px 20px 10px; }
.work-assistant h2 { margin:4px 0 0; font-size:20px; letter-spacing:-.025em; }
.work-assistant .eyebrow { margin:0; font-size:11px; }
.assistant-mode { margin:0 20px 12px; color:#666; font-size:12px; }
.assistant-conversation { min-height:0; flex:1; overflow-y:auto; overscroll-behavior:contain; padding:8px 20px 16px; scrollbar-width:thin; }
.assistant-welcome { font-size:16px; line-height:1.7; margin:0 0 16px; }
.assistant-context { padding:10px; background:#eee; border-radius:12px; font-size:12px; overflow-wrap:anywhere; }
.assistant-message { margin:12px 0; padding:14px; border:1px solid #e7e7e7; border-radius:16px; background:#fff; }
.assistant-message.is-user { margin-left:26px; background:#ededed; border-color:transparent; }
.assistant-speaker { font-size:11px; color:#6b6b6b; }
.assistant-message p { font-size:14px; line-height:1.65; margin:6px 0; white-space:pre-wrap; overflow-wrap:anywhere; }
.assistant-message small { display:block; color:#666; font-size:11px; line-height:1.6; margin-top:10px; }
.assistant-task { display:grid; width:100%; gap:6px; margin-top:8px; padding:12px; border:1px solid #e6e6e6; border-radius:12px; background:#fafafa; text-align:left; color:#222; cursor:pointer; }
.assistant-task strong { font-size:13px; font-weight:550; overflow-wrap:anywhere; }
.assistant-task span { font-size:11px; color:#666; }
.assistant-prompts { display:flex; flex-wrap:wrap; gap:8px; padding:12px 16px 0; }
.assistant-prompts button { border:1px solid #ddd; background:#fff; border-radius:99px; padding:8px 10px; min-height:36px; font-size:12px; cursor:pointer; }
.work-assistant form { display:flex; gap:8px; align-items:flex-end; margin:10px 16px 0; }
.work-assistant textarea { min-width:0; flex:1; resize:vertical; max-height:130px; min-height:68px; border:1px solid #d8d8d8; border-radius:14px; padding:12px; background:#fff; font:inherit; font-size:14px; color:#222; }
.work-assistant form .button { min-width:60px; padding:12px; border-radius:12px; }
.assistant-footnote { padding:10px 18px 14px; margin:0; font-size:10px; line-height:1.6; color:#666; }
.work-assistant button:focus-visible,.work-assistant-launch:focus-visible { outline:2px solid #222; outline-offset:2px; }
@media(prefers-reduced-motion:no-preference) { .work-assistant { animation:assistant-enter 220ms cubic-bezier(.23,1,.32,1); } @keyframes assistant-enter { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:none; } } }
@media(max-width:600px) { .work-assistant-launch { right:16px; bottom:16px; } .work-assistant { right:8px; bottom:8px; width:calc(100vw - 16px); max-width:none; height:min(720px,calc(100dvh - 16px)); border-radius:20px; } }
@media(prefers-reduced-transparency:reduce),(prefers-contrast:more) { .work-assistant,.work-assistant-launch { background:#fff; backdrop-filter:none; border-color:#777; } }

/* One floating glass control surface above a quiet, readable paper queue. */
.cockpit-filters {
  position:sticky; top:16px; z-index:5; isolation:isolate;
  padding:6px; border-radius:22px;
  background:linear-gradient(125deg,rgba(255,255,255,.78),rgba(244,244,244,.64));
  backdrop-filter:blur(24px); -webkit-backdrop-filter:blur(24px);
  box-shadow:inset 0 1px 0 #fff,0 8px 28px rgba(0,0,0,.045),0 1px 2px rgba(0,0,0,.04);
}
.cockpit-filter { position:relative; padding:16px 20px; min-height:88px; gap:12px; border:0; border-radius:16px; transition:background-color var(--motion-duration) var(--motion-ease),transform var(--motion-duration) var(--motion-ease); }
.cockpit-filter > span,.cockpit-filter > strong { position:relative; z-index:1; }
.cockpit-filter > span { font-size:14px; font-weight:550; white-space:nowrap; }
.cockpit-filter strong { flex:0 0 auto; font-size:32px; line-height:40px; letter-spacing:-.025em; font-weight:550; }
.cockpit-filter[aria-pressed="true"] { background:transparent; box-shadow:none; }
.cockpit-selection { position:absolute; inset:0; pointer-events:none; transform-origin:top left; border-radius:17px; background:linear-gradient(155deg,#fff,#fafafa); border:1px solid #fff; box-shadow:0 3px 12px rgba(0,0,0,.08),0 0 0 1px rgba(0,0,0,.045); }
.cockpit-filter:hover { background:rgba(255,255,255,.35); }
.cockpit-workspace { box-shadow:0 12px 36px rgba(0,0,0,.035),0 1px 2px rgba(0,0,0,.035); border-color:rgba(255,255,255,.9); background:#fdfdfd; }
.cockpit-list-header { padding:24px 32px; background:#fff; flex-wrap:wrap; }
.cockpit-list-header > div { min-width:0; flex:1 1 240px; }
.cockpit-list-header h2 { font-size:20px; line-height:28px; letter-spacing:-.015em; }
.cockpit-list-header h2 span { padding:3px 8px; border-radius:20px; background:#ededed; }
.cockpit-list-header .button { flex-shrink:0; border:1px solid #e7e7e7; border-radius:99px; background:#fff; font-size:12px; min-height:36px; padding:8px 14px; }
.cockpit-work-list { counter-reset:work-row; }
.cockpit-work-list .work-item { position:relative; padding:24px 56px 24px 72px; border-bottom-color:#ededed; counter-increment:work-row; transition:background-color var(--motion-duration) var(--motion-ease),transform var(--motion-duration) var(--motion-ease); }
.cockpit-work-list .work-item:hover { padding:24px 56px 24px 72px; background:#f5f5f5; }
.cockpit-work-list .work-item::before { display:block; content:counter(work-row,decimal-leading-zero); position:absolute; left:28px; top:24px; width:auto; height:auto; background:none; border:0; box-shadow:none; color:#888; font-size:12px; font-variant-numeric:tabular-nums; }
.cockpit-work-list .work-item::after { display:block; content:"›"; position:absolute; right:24px; top:25px; color:#888; font-size:24px; line-height:24px; background:none; border:0; width:auto; height:auto; transition:transform var(--motion-duration) var(--motion-ease); }
.cockpit-work-list .work-item:hover::after { transform:translateX(4px); color:#222; }
.cockpit-work-list .work-title { letter-spacing:-.015em; }
.cockpit-work-list .work-meta { margin-top:7px; }
@media (prefers-reduced-motion:no-preference) {
  .cockpit-filter:active { transform:scale(.98); }
  .cockpit-work-list .work-item:active { transform:scale(.997); }
}
@media (prefers-reduced-motion:reduce) {
  .cockpit-filter,.cockpit-work-list .work-item,.cockpit-work-list .work-item::after { transition:none; }
  .cockpit-work-list .work-item:hover::after { transform:none; }
}
@media (prefers-reduced-transparency:reduce),(prefers-contrast:more),(forced-colors:active) {
  .cockpit-filters { background:Canvas; backdrop-filter:none; -webkit-backdrop-filter:none; border:1px solid CanvasText; }
  .cockpit-filter[aria-pressed="true"] { outline:2px solid currentColor; outline-offset:-2px; }
}
@media(max-width:1180px) {
  .cockpit-filters { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:800px) {
  /* A second sticky toolbar would sit beneath the variable-height mobile header. */
  .cockpit-filters { position:static; grid-template-columns:repeat(2,minmax(0,1fr)); gap:4px; top:auto; }
  .cockpit-filter { padding:12px 16px; font-size:14px; min-height:66px; }
  .cockpit-filter strong { font-size:26px; line-height:32px; }
  .cockpit-list-header { align-items:flex-start; padding:24px 16px; }
  .cockpit-work-list .work-item,.cockpit-work-list .work-item:hover { padding:20px 30px 20px 40px; }
  .cockpit-work-list .work-item::before { left:12px; top:23px; font-size:10px; }
  .cockpit-work-list .work-item::after { right:10px; top:22px; font-size:20px; }
  .cockpit-work-list .work-item-top { gap:8px; }
  .cockpit-work-list .work-meta { display:grid; grid-template-columns:1fr; gap:4px; }
  .cockpit-empty { padding:32px 16px; }
}
.cockpit-team { display:grid; grid-template-columns:minmax(240px, .8fr) minmax(0, 1.6fr); gap:24px; margin:24px 0; }
.cockpit-distribution,.cockpit-team-list,.employee-inspection { padding:24px; border:1px solid #e2e2e2; border-radius:20px; background:#fff; box-shadow:0 4px 16px rgba(0,0,0,.02); min-width:0; }
.cockpit-team-list > h2,.employee-inspection h2 { font-size:20px; line-height:28px; margin:0 0 12px; }
.cockpit-distribution h2 { font-size:40px; margin:8px 0; }
.cockpit-team h2 small,.employee-inspection h2 small { font-size:14px; font-weight:400; color:#666; margin-left:8px; }
.cockpit-bar { display:grid; grid-template-columns:72px minmax(0,1fr) 32px; gap:12px; align-items:center; margin:16px 0; font-size:14px; }
.cockpit-bar meter { width:100%; height:12px; accent-color:#444; }
.cockpit-bar meter::-webkit-meter-bar { background:#e4e4e4; border:0; }
.cockpit-bar meter::-webkit-meter-optimum-value { background:#444; border-radius:8px; }
.cockpit-bar meter::-moz-meter-bar { background:#444; }
.cockpit-people { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.cockpit-more-people { grid-column:1 / -1; }
.cockpit-more-people summary { padding:12px 0; cursor:pointer; color:#555; }
.cockpit-more-people .cockpit-person { width:100%; margin-top:8px; }
.cockpit-person { display:flex; align-items:center; justify-content:space-between; gap:12px; border:1px solid #e2e2e2; background:#fafafa; border-radius:12px; padding:16px; text-align:left; color:#222; cursor:pointer; transition:background-color var(--motion-duration) var(--motion-ease),border-color var(--motion-duration) var(--motion-ease),transform var(--motion-duration) var(--motion-ease); min-width:0; }
.cockpit-person:hover { background:#f5f5f5; border-color:#c5c5c5; transform:translateY(-1px); }
.cockpit-person:active { transform:scale(.98); }
.cockpit-person:focus-visible { outline:2px solid #333; outline-offset:2px; }
.cockpit-person span { min-width:0; overflow-wrap:anywhere; }
.cockpit-person small { display:block; color:#666; margin-top:4px; }
.cockpit-person>span:last-child { flex-shrink:0; font-size:12px; }
.employee-inspection { margin-top:24px; }
.employee-inspection header p { color:#666; }
.employee-work-list article { padding:24px 0; border-bottom:1px solid #ddd; overflow-wrap:anywhere; }
.employee-work-list article>div { display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px 16px; align-items:center; }
.employee-work-list article>div>span { flex:0 0 auto; }
.employee-work-list h3 { min-width:0; flex:1 1 200px; margin:0; font-size:16px; line-height:24px; }
@media(max-width:1180px) { .cockpit-team { grid-template-columns:1fr; } }
@media(max-width:520px) {
  .cockpit-people { grid-template-columns:1fr; }
  .cockpit-distribution,.cockpit-team-list,.employee-inspection { padding:16px; }
  .cockpit-filter { padding:12px; gap:8px; }
  .cockpit-filter > span { font-size:13px; }
  .cockpit-filter strong { font-size:24px; }
  .cockpit-work-list .work-item-top { grid-template-columns:1fr; }
  .cockpit-work-list .status-pill { justify-self:start; }
  .work-item-top,.case-row-top,.message-row-top { flex-wrap:wrap; gap:8px; }
}
@media(prefers-reduced-motion:reduce) { .cockpit-person { transition:none; } .cockpit-person:hover,.cockpit-person:active { transform:none; } }

/* PAPERWIN 纸小赢 · first release: shared navigation appearance only. */
body, .mobile-head { background-color:#fff; }
.side-rail .brand-lockup.workbench-wordmark,
.mobile-brand-row .brand-lockup.workbench-wordmark,
.auth-workbench-brand .brand-lockup.workbench-wordmark { color:#006b4f; }
.side-rail .brand-lockup.workbench-wordmark {
  align-items:center;
  text-align:center;
}
.auth-workbench-brand {
  left:50%;
  right:auto;
  translate:-50% 0;
  width:max-content;
  max-width:calc(100% - 24px);
}
.auth-workbench-brand .brand-lockup.workbench-wordmark {
  flex-direction:row; align-items:baseline; gap:8px; min-height:0;
}
@media(max-width:900px) {
  .mobile-brand-row {
    display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
    gap:0; padding-inline:10px;
  }
  .mobile-brand-row .brand-lockup.workbench-wordmark {
    grid-area:1 / 2; margin:0; flex-direction:row; align-items:baseline;
    justify-content:center; min-height:0; gap:5px; white-space:nowrap;
  }
  .mobile-brand-row .workbench-wordmark span:first-child { font-size:clamp(12px,3.6vw,17px); }
  .mobile-brand-row .workbench-wordmark span:last-child { font-size:clamp(11px,3vw,14px); letter-spacing:0; }
  .mobile-brand-row .mobile-assistant-button {
    grid-area:1 / 1; justify-self:start; color:#242424; padding:6px;
  }
  .mobile-brand-row .logout-button { grid-area:1 / 3; justify-self:end; }
}
@media(prefers-reduced-transparency:reduce), (prefers-contrast:more) {
  .side-rail,.mobile-head,.mobile-nav { background:#fff; -webkit-backdrop-filter:none; backdrop-filter:none; }
}
