/* Dear Values visual and readability layer.
 * Loaded last so brand and typography can evolve without coupling to business logic.
 */

:root {
  --dv-black: #060504;
  --dv-ink: #241f19;
  --dv-gold: #c8a264;
  --dv-gold-light: #dfc28a;
  --dv-ivory: #faf7f0;
  --dv-card: #fffdfa;
  --dv-muted: #756b60;
  --dv-line: #d8cfc2;
  --dv-focus: #9f7a43;
}

html {
  font-size: 16px;
  text-size-adjust: 100%;
}

body {
  background: var(--dv-ivory);
  color: var(--dv-ink);
  font-size: 14px;
  line-height: 1.6;
}

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

h1,
h2,
h3,
h4,
p,
li,
dd,
small,
strong,
span {
  line-break: strict;
  overflow-wrap: break-word;
}

.topbar h1,
.secondary-head h2,
.detail-head h2,
.strategy-thesis > strong,
.section-title h3,
.decision-note h3 {
  text-wrap: balance;
}

.task-row p,
.detail-section p,
.rail-card p,
.rail-card li,
.stage-strip small,
.strategy-path dd,
.come-here-user-message p,
.come-here-reply p {
  text-wrap: pretty;
}

.metrics strong,
.category strong,
.priority,
.time,
.snapshot-badge b,
.snapshot-badge small,
.carryover {
  white-space: nowrap;
}

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

/* Brand ownership */
.unlock-card {
  width: min(570px, 100%);
  padding: 50px;
  border-color: rgba(223, 194, 138, .52);
}

.unlock-brand {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 70px;
}

.unlock-wordmark {
  display: block;
  width: min(310px, 66%);
  height: auto;
}

.unlock-brand > div {
  padding-left: 18px;
  border-left: 1px solid rgba(223, 194, 138, .46);
}

.unlock-brand b,
.unlock-brand span {
  display: block;
}

.unlock-brand b {
  color: var(--dv-gold-light);
  font: 500 24px/1.15 "Songti SC", "STSong", serif;
  letter-spacing: .12em;
}

.unlock-brand span {
  margin-top: 8px;
  color: rgba(248, 245, 238, .58);
  font-size: 11px;
  letter-spacing: .06em;
  white-space: nowrap;
}

.unlock-card .eyebrow {
  margin-top: 32px;
  font-size: 11px;
}

.unlock-card h1 {
  font-size: clamp(34px, 5vw, 42px);
}

.unlock-intro {
  font-size: 14px;
}

.unlock-card label {
  font-size: 12px;
}

.unlock-card small,
.unlock-card .error {
  font-size: 11px;
}

.app-shell {
  grid-template-columns: 252px minmax(0, 1fr);
}

.sidebar {
  padding: 26px 18px 24px;
}

.brand {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 76px;
  padding: 0 4px 18px;
}

.brand-seal {
  width: 58px;
  height: 58px;
  border: 1px solid rgba(223, 194, 138, .55);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 4px rgba(200, 162, 100, .06);
}

.brand-lockup {
  min-width: 0;
}

.brand-wordmark {
  display: block;
  width: 142px;
  max-width: 100%;
  height: auto;
}

.brand-lockup b,
.brand-lockup span {
  display: block;
}

.brand-lockup b {
  margin-top: 7px;
  color: var(--dv-gold-light);
  font: 500 15px/1.2 "Songti SC", "STSong", serif;
  letter-spacing: .14em;
}

.brand-lockup span {
  margin-top: 4px;
  color: rgba(248, 245, 238, .48);
  font-size: 9px;
  letter-spacing: .06em;
}

.system-name {
  margin: 18px 7px 9px;
  font-size: 12px;
}

.nav-item {
  min-height: 48px;
  padding: 0 13px;
  font-size: 13px;
}

.nav-item b {
  min-width: 29px;
  padding: 3px 7px;
  font-size: 11px;
}

.nav-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.feature-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: #d6382f;
  box-shadow: 0 0 0 3px rgba(214, 56, 47, .14);
  vertical-align: 1px;
}

.principle span {
  font-size: 10px;
}

.principle strong {
  font-size: 17px;
  line-height: 1.45;
}

.principle p {
  font-size: 11px;
  line-height: 1.75;
}

/* Global reading rhythm */
.workspace {
  padding: 30px 30px 48px;
}

.eyebrow,
.topbar .eyebrow {
  font-size: 11px;
}

.topbar {
  gap: 30px;
}

.topbar h1 {
  max-width: 820px;
  font-size: clamp(28px, 2.35vw, 37px);
  line-height: 1.36;
}

.snapshot-badge {
  min-width: 230px;
  padding: 13px 15px;
}

.snapshot-badge b {
  font-size: 12px;
}

.snapshot-badge small {
  margin-top: 4px;
  font-size: 10px;
}

.notice {
  gap: 22px;
  padding: 11px 14px;
  font-size: 12px;
  line-height: 1.6;
}

.metrics {
  gap: 12px;
  margin-top: 16px;
}

.metrics article {
  min-height: 124px;
  padding: 18px 19px;
}

.metrics span {
  font-size: 12px;
}

.metrics strong {
  margin-top: 10px;
  font-size: 30px;
}

.metrics small {
  margin-top: 11px;
  font-size: 11px;
  line-height: 1.6;
}

.categories {
  gap: 9px;
  margin-top: 13px;
}

.category {
  min-height: 94px;
  padding: 15px;
}

.category span {
  font-size: 12px;
}

.category strong {
  top: 12px;
  right: 15px;
  font-size: 22px;
}

.category small {
  margin-top: 26px;
  font-size: 10.5px;
  line-height: 1.5;
}

.sales-cadence-strip {
  padding: 15px 17px;
}

.sales-cadence-strip span {
  font-size: 10px;
}

.sales-cadence-strip strong {
  margin-top: 5px;
  font-size: 13px;
}

.sales-cadence-strip p {
  font-size: 11.5px;
  line-height: 1.7;
}

/* Task area */
.task-layout {
  grid-template-columns: minmax(275px, .86fr) minmax(440px, 1.55fr) minmax(215px, .7fr);
  gap: 13px;
  margin-top: 14px;
}

.panel-head {
  gap: 16px;
  padding: 16px;
}

.panel-head b {
  font-size: 13px;
}

.panel-head small {
  margin-top: 4px;
  font-size: 10px;
  line-height: 1.5;
}

.panel-head button,
.queue-tools select {
  min-height: 34px;
  font-size: 11px;
}

.queue-tools label span {
  font-size: 10px;
}

.queue-tools select {
  max-width: 150px;
}

.task-list {
  padding: 7px;
}

.task-row {
  padding: 14px 13px;
}

.priority,
.category-name,
.time {
  font-size: 10px;
}

.carryover {
  font-size: 9px;
}

.task-row > strong {
  margin-top: 9px;
  font-size: 13px;
  line-height: 1.45;
}

.task-row .relation,
.task-row .state,
.priority-reason {
  font-size: 10.5px;
  line-height: 1.55;
}

.task-row p {
  margin: 7px 0 9px;
  font-size: 11.5px;
  line-height: 1.65;
}

.row-focus-tags span {
  padding: 4px 6px;
  font-size: 9px;
}

.detail-head {
  padding: 24px;
}

.detail-tags span {
  padding: 4px 8px;
  font-size: 10px;
}

.detail-head h2 {
  margin-top: 14px;
  font-size: 26px;
  line-height: 1.38;
}

.relation-chip {
  padding: 5px 9px;
  font-size: 11px;
}

.detail-head p,
.detail-section p {
  font-size: 12px;
  line-height: 1.8;
}

.detail-section {
  margin: 0 24px;
  padding: 20px 0;
}

.detail-section h3 {
  font-size: 13px;
}

.evidence span,
.material-tags span,
.coverage-list span {
  font-size: 10px;
  line-height: 1.55;
}

.copy-box {
  padding: 16px 16px 50px;
}

.copy-button,
.action-bar button,
.material-actions button,
.lock-button {
  min-height: 38px;
  font-size: 11px;
}

.action-bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: end;
  gap: 16px;
  padding: 16px 24px;
  border-top: 1px solid var(--dv-line);
  background: rgba(255, 253, 250, .98);
}

.action-note {
  display: grid;
  gap: 6px;
  min-width: 0;
  width: auto;
}

.action-note span {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: #5f554b;
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}

.action-note span small {
  color: #9a9085;
  font-size: 10px;
  font-weight: 400;
}

.action-note input {
  width: 100%;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--dv-line);
  border-radius: 2px;
  background: var(--dv-card);
  color: var(--dv-ink);
  font-size: 13px;
}

.action-copy-button {
  min-width: 92px;
  padding: 0 18px !important;
  border-color: #bfae96 !important;
  background: #fffdfa !important;
  color: #443a30;
  font-size: 12px !important;
  white-space: nowrap;
}

.depth-control {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-width: 0;
  margin-left: 0;
  padding-top: 12px;
  border-top: 1px solid #ebe3d8;
}

.depth-control > .depth-intro {
  display: grid;
  gap: 2px;
}

.depth-intro > span {
  color: #5f554b;
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}

.depth-intro > small {
  color: #958b81;
  font-size: 10px;
  line-height: 1.45;
}

.depth-control > .depth-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(64px, 1fr));
  gap: 7px;
  min-width: 220px;
}

.action-bar .depth-button {
  width: 100%;
  min-height: 38px;
  padding: 0 12px;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
  writing-mode: horizontal-tb;
}

.depth-button i {
  width: 6px;
  height: 6px;
}

.rail-card {
  padding: 17px;
}

.rail-card > span {
  font-size: 10px;
}

.rail-card > strong {
  font-size: 17px;
  line-height: 1.45;
}

.rail-card p,
.rail-card li {
  font-size: 11px;
  line-height: 1.75;
}

/* Stage and secondary views */
.stage-strip {
  gap: 18px;
  padding: 19px 20px;
}

.stage-strip span,
.stage-strip-focus button,
.stage-strip-focus i {
  font-size: 10px;
}

.stage-strip strong {
  margin-top: 6px;
  font-size: 16px;
  line-height: 1.45;
}

.stage-strip small {
  margin-top: 7px;
  font-size: 10px;
  line-height: 1.65;
}

.stage-strip-roles span {
  min-height: 58px;
  padding: 10px 11px;
  font-size: 10.5px;
  line-height: 1.65;
}

.stage-strip-roles b {
  font-size: 11px;
}

.secondary-head {
  padding: 27px 28px;
}

.secondary-head .eyebrow,
.section-title span,
.decision-note > span {
  font-size: 10px;
}

.secondary-head h2 {
  font-size: clamp(25px, 2.1vw, 32px);
  line-height: 1.45;
}

.secondary-head > p:last-child,
.decision-note p,
.method-note,
.section-title > small {
  font-size: 11px;
  line-height: 1.75;
}

.signal-grid span,
.audit-grid span,
.strategy-scoreboard span,
.strategy-phase span,
.strategy-thesis > span {
  font-size: 11px;
}

.signal-grid small,
.audit-grid small,
.strategy-scoreboard small,
.strategy-phase p,
.strategy-decisions p,
.strategy-path dt,
.strategy-path dd,
.weekly-execution-card small,
.stop-rules article p {
  font-size: 10.5px;
  line-height: 1.7;
}

.bar-list button > span,
.refund-reason-list strong,
.warning-list li,
.warning-review-list li,
.reviewed-warnings li,
.profile-card p,
.material-card > p,
.strategy-roles dd,
.strategy-actions p,
.weekly-order p {
  font-size: 11px;
  line-height: 1.7;
}

.profile-card > span,
.profile-card b,
.profile-card small,
.material-card header span,
.material-card header small,
.material-card header button,
.stop-rules article b {
  font-size: 10px;
}

.profile-card h3,
.material-card h3 {
  font-size: 19px;
}

.analytics-range-bar button,
.analytics-range-bar input,
.analytics-range-bar form span,
.refund-reason-list span,
.reviewed-warnings summary {
  font-size: 11px;
}

.analytics-range-bar button,
.analytics-range-bar input {
  min-height: 36px;
}

.weekly-history-table > div {
  min-width: 690px;
  grid-template-columns: 1.25fr 1fr 0.8fr 1fr 0.9fr;
}

.weekly-period small,
.weekly-change small {
  display: block;
  margin-top: 4px;
  color: var(--dv-muted);
  font-size: 9px;
  font-weight: 400;
  white-space: nowrap;
}

.strategy-thesis > strong {
  font-size: 25px;
}

.strategy-path-list article {
  padding: 19px 0;
}

.path-index span,
.path-main > span {
  font-size: 10px;
}

.path-main h4 {
  font-size: 19px;
}

.path-main p,
.weekly-path-tags p {
  font-size: 11px;
  line-height: 1.72;
}

/* Team suggestion drawer */
.come-here-trigger {
  min-height: 46px;
  padding: 0 19px;
  font-size: 12px;
}

.come-here-dialog > header span {
  font-size: 10px;
}

.come-here-intro,
.come-here-empty,
.come-here-user-message p,
.come-here-reply p,
.come-here-dialog > form textarea {
  font-size: 12px;
  line-height: 1.7;
}

.come-here-user-message span,
.come-here-reply span,
.come-here-dialog > form small,
.come-here-dialog > form button {
  font-size: 10px;
}

.come-here-input-guide {
  display: block;
  margin-bottom: 8px;
  color: var(--dv-muted);
  font-size: 11px;
  line-height: 1.55;
  text-wrap: pretty;
}

.come-here-dialog > form button {
  min-height: 38px;
}

@media (max-width: 1360px) {
  .task-layout {
    grid-template-columns: 300px minmax(0, 1fr);
  }

  .right-rail {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .app-shell {
    grid-template-columns: 224px minmax(0, 1fr);
  }

  .brand {
    grid-template-columns: 50px minmax(0, 1fr);
  }

  .brand-seal {
    width: 50px;
    height: 50px;
  }

  .brand-wordmark {
    width: 126px;
  }

  .workspace {
    padding: 24px 22px 42px;
  }
}

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

  .sidebar {
    padding: 18px 16px 14px;
  }

  .brand {
    grid-template-columns: 52px minmax(0, 1fr);
    min-height: 68px;
    padding: 0 2px 14px;
  }

  .brand-seal {
    width: 52px;
    height: 52px;
  }

  .brand-wordmark {
    width: 138px;
  }

  .brand-lockup b {
    margin-top: 5px;
    font-size: 14px;
  }

  .system-name {
    margin: 13px 7px 8px;
    font-size: 12px;
  }

  .sidebar nav {
    display: flex;
    gap: 6px;
    margin: 8px -2px 0;
    padding: 0 2px 8px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
  }

  .sidebar .nav-item,
  .sidebar .nav-item:not(.active) {
    display: flex;
    flex: 0 0 auto;
    min-width: max-content;
    min-height: 44px;
    padding: 0 13px;
    scroll-snap-align: start;
    font-size: 13px;
  }

  .workspace {
    padding: 21px 14px 88px;
  }

  .topbar {
    gap: 17px;
  }

  .topbar h1 {
    max-width: 100%;
    font-size: 26px;
    line-height: 1.42;
  }

  .snapshot-badge {
    width: 100%;
    min-width: 0;
  }

  .notice {
    gap: 8px;
    padding: 12px 13px;
    font-size: 11.5px;
  }

  .stage-strip {
    gap: 14px;
    padding: 17px;
  }

  .stage-strip span,
  .stage-strip small,
  .stage-strip-focus i,
  .stage-strip-focus button {
    font-size: 10.5px;
  }

  .stage-strip strong {
    font-size: 17px;
  }

  .stage-strip-roles span {
    min-height: 0;
    padding: 12px 8px;
    font-size: 11.5px;
  }

  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metrics article {
    min-height: 116px;
    padding: 16px;
  }

  .metrics span,
  .metrics small {
    font-size: 11px;
  }

  .metrics strong {
    font-size: 28px;
  }

  .category {
    min-width: 168px;
    min-height: 90px;
  }

  .category span {
    font-size: 12px;
  }

  .category small {
    font-size: 10.5px;
  }

  .sales-cadence-strip p {
    font-size: 11.5px;
  }

  .task-layout {
    display: block;
  }

  .panel-head {
    gap: 13px;
  }

  .task-list {
    max-height: 520px;
  }

  .task-row {
    padding: 16px 14px;
  }

  .task-row > strong {
    font-size: 15px;
  }

  .task-row p,
  .task-row .relation,
  .task-row .state,
  .priority-reason {
    font-size: 12px;
  }

  .priority,
  .category-name,
  .time,
  .carryover {
    font-size: 10px;
  }

  .detail-head {
    padding: 21px 18px;
  }

  .detail-head h2 {
    font-size: 25px;
  }

  .detail-section {
    margin: 0;
    padding: 19px 18px;
  }

  .detail-head p,
  .detail-section p {
    font-size: 13px;
  }

  .right-rail {
    display: none;
  }

  .secondary-head {
    padding: 23px 20px;
  }

  .secondary-head h2 {
    font-size: 26px;
  }

  .signal-grid span,
  .audit-grid span,
  .strategy-scoreboard span,
  .strategy-phase span {
    font-size: 12px;
  }

  .signal-grid small,
  .audit-grid small,
  .strategy-scoreboard small,
  .strategy-phase p,
  .strategy-decisions p,
  .strategy-path dt,
  .strategy-path dd,
  .weekly-execution-card small,
  .stop-rules article p {
    font-size: 11.5px;
  }

  .come-here-dialog {
    width: 100vw;
  }
}

@media (max-width: 640px) {
  .action-bar {
    grid-template-columns: 1fr;
    gap: 13px;
    padding: 15px 18px 18px;
  }

  .action-copy-button {
    width: 100%;
  }

  .action-note {
    width: 100%;
  }

  .depth-control {
    min-width: 0;
    align-items: stretch;
    flex-direction: column;
    gap: 9px;
  }

  .depth-control > .depth-actions {
    min-width: 0;
  }
}

@media (max-width: 520px) {
  .unlock-screen {
    padding: 18px;
  }

  .unlock-card {
    padding: 34px 24px;
  }

  .unlock-brand {
    display: block;
  }

  .unlock-wordmark {
    width: 100%;
    max-width: 300px;
  }

  .unlock-brand > div {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-top: 13px;
    padding: 0;
    border: 0;
  }

  .unlock-brand b {
    font-size: 21px;
  }

  .unlock-brand span {
    margin: 0;
    font-size: 10px;
  }

  .unlock-card h1 {
    font-size: 34px;
  }

  .topbar h1 {
    font-size: 25px;
  }

  .history-table > div {
    min-width: 600px;
  }

  .come-here-trigger {
    right: 12px;
    bottom: 12px;
  }
}

@media (max-width: 360px) {
  .metrics {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

.inventory-team-directive {
  margin: 18px 0 20px;
  border: 1px solid rgba(151, 115, 62, .3);
  background: linear-gradient(135deg, #fffdf8 0%, #f5eee2 100%);
  color: #231d17;
}
.inventory-team-directive[hidden] { display: none; }
.inventory-team-directive > header { display: flex; justify-content: space-between; gap: 28px; padding: 22px 24px 18px; border-bottom: 1px solid rgba(151, 115, 62, .2); }
.inventory-team-directive header span, .inventory-team-directive article span { color: #8b6939; font-size: 12px; letter-spacing: .12em; }
.inventory-team-directive h2 { margin: 6px 0 7px; font: 500 24px/1.35 "Songti SC", "STSong", serif; }
.inventory-team-directive header p, .inventory-team-directive article p { margin: 0; font-size: 14px; line-height: 1.65; }
.inventory-team-directive header > small { max-width: 220px; color: #756c61; font-size: 12px; line-height: 1.6; text-align: right; }
.inventory-directive-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.inventory-directive-actions article { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; min-width: 0; padding: 20px 22px; border-right: 1px solid rgba(151, 115, 62, .18); }
.inventory-directive-actions article:last-child { border-right: 0; }
.inventory-directive-actions article > b { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid #9b7540; border-radius: 50%; color: #7d5b2e; font-size: 13px; }
.inventory-directive-actions h3 { margin: 5px 0 6px; font-size: 16px; line-height: 1.45; }
.inventory-directive-actions article small { display: block; margin-top: 8px; color: #74695d; font-size: 12px; line-height: 1.55; }
.inventory-asset-panel { display: grid; gap: 15px; padding: 20px 24px; border-bottom: 1px solid rgba(151, 115, 62, .2); background: rgba(255, 253, 248, .78); }
.inventory-asset-identity { display: grid; gap: 6px; }
.inventory-asset-identity > span { color: #76501f; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.inventory-asset-identity > strong { max-width: 980px; color: #29231d; font-size: 15px; line-height: 1.65; }
.inventory-asset-identity > small { color: #756b61; font-size: 12px; }
.inventory-asset-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid #d8c8ae; background: #fffdf8; }
.inventory-asset-metrics p { display: grid; gap: 4px; margin: 0; padding: 15px 17px; border-right: 1px solid #e5dac8; }
.inventory-asset-metrics p:last-child { border-right: 0; }
.inventory-asset-metrics b { color: #2c261f; font: 500 24px/1.2 "Songti SC", "STSong", Georgia, serif; }
.inventory-asset-metrics span { color: #71675c; font-size: 12px; }
.inventory-location-row { display: flex; flex-wrap: wrap; gap: 8px; }
.inventory-location-row span { display: inline-flex; gap: 7px; padding: 7px 10px; border: 1px solid #d8c8ae; background: #fffdf8; color: #5d5348; font-size: 12px; }
.inventory-location-row b { color: #2e2923; }
.inventory-mapping-boundary { margin: 0; color: #665c52; font-size: 12px; line-height: 1.65; }
.inventory-change-panel { display: grid; gap: 14px; padding: 20px 24px 22px; border-bottom: 1px solid rgba(151, 115, 62, .2); background: #fffdf8; }
.inventory-change-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.inventory-change-heading span { color: #76501f; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.inventory-change-heading h3 { margin: 5px 0 0; color: #2c261f; font-size: 17px; font-weight: 650; }
.inventory-change-heading > strong { color: #7d5b2e; font-size: 12px; }
.inventory-change-metrics { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid #d8c8ae; background: #f8f2e8; }
.inventory-change-metrics p { display: grid; gap: 4px; margin: 0; padding: 13px 14px; border-right: 1px solid #e5dac8; }
.inventory-change-metrics p:last-child { border-right: 0; }
.inventory-change-metrics b { color: #2c261f; font: 500 22px/1.2 "Songti SC", "STSong", Georgia, serif; }
.inventory-change-metrics span { color: #71675c; font-size: 11px; }
.inventory-change-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.inventory-change-columns article { min-width: 0; border: 1px solid #ded1bb; background: #fff; }
.inventory-change-columns header { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-bottom: 1px solid #e5dac8; background: #f3eadb; }
.inventory-change-columns header b { color: #543b1f; font-size: 12px; }
.inventory-change-columns header small { color: #806f58; font-size: 11px; }
.inventory-change-columns ul { margin: 0; padding: 0; list-style: none; }
.inventory-change-columns li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 10px; padding: 10px 12px; border-bottom: 1px solid #eee6da; }
.inventory-change-columns li:last-child { border-bottom: 0; }
.inventory-change-columns li > div { display: flex; gap: 7px; min-width: 0; }
.inventory-change-columns li > div strong { flex: 0 0 auto; color: #8b632e; font: 600 11px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; }
.inventory-change-columns li > div span { min-width: 0; color: #2d2822; font-size: 12px; font-weight: 650; line-height: 1.5; }
.inventory-change-columns li > small { color: #786c60; font-size: 10px; }
.inventory-change-columns li > b { grid-row: 1 / 3; grid-column: 2; align-self: center; color: #65461f; font-size: 13px; }
.inventory-transfer-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: stretch; }
.inventory-transfer-row > b { padding: 8px 0; color: #543b1f; font-size: 12px; }
.inventory-transfer-row span { display: grid; gap: 3px; max-width: 300px; padding: 7px 9px; border: 1px solid #d8c8ae; color: #756b61; font-size: 10px; line-height: 1.45; }
.inventory-transfer-row strong { color: #2e2923; font-size: 11px; }
.inventory-change-warning, .inventory-change-boundary { margin: 0; font-size: 11px; line-height: 1.65; }
.inventory-change-warning { padding: 8px 10px; border-left: 3px solid #ad7d38; background: #f8f2e8; color: #66513a; }
.inventory-change-boundary { color: #756b61; }
.inventory-action-board { padding: 20px 24px 22px; }
.inventory-action-board > h3 { margin: 0 0 14px; color: #2c261f; font-size: 17px; line-height: 1.45; }
.inventory-action-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.inventory-action-columns > article { min-width: 0; border: 1px solid #ded1bb; background: #fffdf8; }
.inventory-action-columns > article > header { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border-bottom: 1px solid #e5dac8; background: #f3eadb; }
.inventory-action-columns > article > header span { color: #65461f; font-size: 13px; font-weight: 700; }
.inventory-action-columns > article > header small { color: #806f58; font-size: 12px; }
.inventory-action-columns ul { display: grid; margin: 0; padding: 0; list-style: none; }
.inventory-action-columns li { display: grid; gap: 6px; padding: 13px 14px; border-bottom: 1px solid #eee6da; }
.inventory-action-columns li:last-child { border-bottom: 0; }
.inventory-action-columns li > div { display: flex; gap: 8px; align-items: baseline; }
.inventory-action-columns li > div b { flex: 0 0 auto; color: #8b632e; font: 600 12px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; }
.inventory-action-columns li > div span { min-width: 0; color: #2d2822; font-size: 13px; font-weight: 650; line-height: 1.5; }
.inventory-action-columns li p { margin: 0; color: #786c60; font-size: 11px; line-height: 1.55; }
.inventory-action-columns li strong { color: #3f372f; font-size: 12px; font-weight: 650; line-height: 1.65; }
.inventory-action-columns li small { color: #756a5f; font-size: 11px; line-height: 1.6; }
.inventory-repair-note { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; margin-top: 14px; padding: 11px 13px; border-left: 3px solid #9b7540; background: #f8f2e8; }
.inventory-repair-note b { color: #543b1f; font-size: 12px; }
.inventory-repair-note span { color: #665c52; font-size: 12px; line-height: 1.6; }
.inventory-team-directive > footer { display: flex; justify-content: space-between; gap: 24px; padding: 14px 24px; border-top: 1px solid rgba(151, 115, 62, .2); background: rgba(255, 255, 255, .45); }
.inventory-team-directive footer strong, .inventory-team-directive footer small { font-size: 12px; line-height: 1.55; }
.inventory-team-directive footer small { max-width: 52%; color: #74695d; text-align: right; }
@media (max-width: 1100px) {
  .inventory-directive-actions { grid-template-columns: 1fr; }
  .inventory-directive-actions article { border-right: 0; border-bottom: 1px solid rgba(151, 115, 62, .18); }
  .inventory-directive-actions article:last-child { border-bottom: 0; }
  .inventory-action-columns { grid-template-columns: 1fr; }
  .inventory-change-columns { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .inventory-team-directive > header, .inventory-team-directive > footer { display: block; padding: 18px; }
  .inventory-team-directive header > small, .inventory-team-directive footer small { display: block; max-width: none; margin-top: 9px; text-align: left; }
  .inventory-directive-actions article { padding: 17px 18px; }
  .inventory-team-directive h2 { font-size: 21px; }
  .inventory-asset-panel, .inventory-action-board { padding: 18px; }
  .inventory-change-panel { padding: 18px; }
  .inventory-asset-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inventory-asset-metrics p:nth-child(2) { border-right: 0; }
  .inventory-asset-metrics p:nth-child(-n+2) { border-bottom: 1px solid #e5dac8; }
  .inventory-change-heading { display: grid; align-items: start; }
  .inventory-change-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inventory-change-metrics p { border-bottom: 1px solid #e5dac8; }
  .inventory-change-metrics p:nth-child(2n) { border-right: 0; }
  .inventory-change-metrics p:last-child { grid-column: 1 / -1; border-bottom: 0; }
  .inventory-repair-note { grid-template-columns: 1fr; }
}
