.brand,
.app-brand,
.mini-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand {
  gap: 13px;
}

.brand-copy,
.app-brand div {
  display: grid;
  gap: 2px;
}

.brand-copy strong,
.app-brand strong,
.mini-brand strong {
  color: var(--white);
  font-size: 24px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-copy strong span,
.app-brand strong span,
.mini-brand strong span {
  color: var(--gold);
  font-weight: 430;
}

.brand-copy small,
.app-brand small {
  color: var(--gold-3);
  font-size: 10px;
  font-weight: 820;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* Brand mark v2 (adopted 2026-07-20): the sheared-terminal C wrapping the
   three-segment clockwise workflow loop — gold C = Covered, white O = Ops.
   Rendered from the production SVG; the old CSS-drawn coin is retired. */
.brand-mark,
.app-mark {
  position: relative;
  display: inline-grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(196, 154, 90, 0.48);
  border-radius: 10px;
  background:
    url("./assets/icons/coveredops-cmark.svg") center / 66% no-repeat,
    #111111;
  overflow: hidden;
}

.brand-mark span,
.app-mark span {
  display: none;
}

.brand-mark.small {
  width: 34px;
  height: 34px;
}


.app-showcase {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent),
    rgba(12, 12, 13, 0.98);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.42);
  overflow: hidden;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.025);
}

.browser-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.browser-bar strong {
  margin-left: auto;
  color: var(--quiet);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.mobile-preview {
  display: none;
}

.app-sidebar {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border-right: 1px solid var(--line-soft);
  background: #080809;
}

.app-brand {
  gap: 10px;
  min-height: 78px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line-soft);
}

.app-mark {
  width: 38px;
  height: 38px;
}

.app-mark::before {
  width: 22px;
  height: 22px;
  border-width: 6px;
}

.app-mark span {
  width: 22px;
  height: 6px;
}

.app-brand strong {
  font-size: 15px;
}

.side-nav {
  display: grid;
  gap: 8px;
  padding: 18px 12px;
}

.side-nav button {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  background: transparent;
  font-size: 14px;
  font-weight: 680;
  text-align: left;
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.side-nav button:hover,
.side-nav button.active {
  border-color: rgba(196, 154, 90, 0.55);
  color: var(--gold-3);
  background: rgba(196, 154, 90, 0.13);
}

.side-nav button:disabled {
  cursor: default;
}

.side-nav button:disabled:hover {
  border-color: transparent;
  color: var(--muted);
  background: transparent;
}

.nav-symbol {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 18px;
  color: currentColor;
}

.nav-symbol::before,
.nav-symbol::after {
  position: absolute;
  content: "";
}

.nav-symbol.grid::before {
  inset: 2px;
  border: 2px solid currentColor;
  box-shadow: 8px 0 0 -2px currentColor, 0 8px 0 -2px currentColor, 8px 8px 0 -2px currentColor;
}

.nav-symbol.trend::before {
  left: 2px;
  top: 9px;
  width: 13px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: skewY(-25deg);
}

.nav-symbol.calendar::before,
.nav-symbol.doc::before {
  inset: 2px;
  border: 2px solid currentColor;
  border-radius: 2px;
}

.nav-symbol.calendar::after {
  left: 4px;
  right: 4px;
  top: 7px;
  border-top: 2px solid currentColor;
}

.nav-symbol.wrench::before {
  left: 4px;
  top: 2px;
  width: 10px;
  height: 10px;
  border: 2px solid currentColor;
  border-left-color: transparent;
  border-radius: 50%;
  transform: rotate(-35deg);
}

.nav-symbol.wrench::after {
  left: 7px;
  top: 10px;
  width: 3px;
  height: 8px;
  background: currentColor;
  transform: rotate(45deg);
}

.nav-symbol.doc::after {
  left: 5px;
  right: 5px;
  top: 7px;
  border-top: 2px solid currentColor;
  box-shadow: 0 5px 0 currentColor;
}

.nav-symbol.team::before,
.nav-symbol.people::before {
  left: 2px;
  top: 2px;
  width: 6px;
  height: 6px;
  border: 2px solid currentColor;
  border-radius: 50%;
  box-shadow: 8px 0 0 -1px #080809, 8px 0 0 1px currentColor;
}

.nav-symbol.team::after,
.nav-symbol.people::after {
  left: 1px;
  bottom: 2px;
  width: 16px;
  height: 7px;
  border: 2px solid currentColor;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-bottom: 0;
}

.nav-symbol.bars::before {
  left: 3px;
  bottom: 2px;
  width: 3px;
  height: 12px;
  background: currentColor;
  box-shadow: 6px -5px 0 currentColor, 12px -2px 0 currentColor;
}

.side-footer {
  display: grid;
  gap: 14px;
  margin-top: auto;
  padding: 18px 24px 24px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.app-main {
  min-width: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 12rem),
    #111112;
}

.app-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 78px;
  padding: 0 26px;
  border-bottom: 1px solid var(--line-soft);
}

.app-topline div:first-child {
  display: grid;
  gap: 2px;
}

.app-topline strong {
  font-size: 18px;
}

.app-topline span {
  color: var(--muted);
  font-size: 13px;
}

.top-actions {
  display: flex;
  gap: 8px;
}

.top-actions button,
.risk-card button,
.install-slot button,
.operation-detail-card button,
.document-action-list button,
.doc-detail button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.035);
  font-size: 12px;
  font-weight: 760;
}

.top-actions .gold,
.install-slot button,
.operation-detail-card button,
.document-action-list button,
.doc-detail button {
  border-color: rgba(216, 177, 109, 0.72);
  color: #11100e;
  background: linear-gradient(180deg, var(--gold-3), var(--gold));
}

.preview-panel {
  display: none;
  padding: 24px;
}

.preview-panel.active {
  display: block;
}

.preview-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

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

.preview-heading h2 {
  margin: 0;
  font-size: 36px;
}

.preview-heading p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 18px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
}

.metric-card {
  min-width: 0;
  padding: 18px 14px;
  border-left: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.045);
}

.metric-card:first-child {
  border-left: 0;
}

.metric-card span,
.metric-card small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
  line-height: 1.24;
}

.metric-card strong {
  display: block;
  margin: 6px 0 4px;
  font-size: 29px;
  font-weight: 820;
  line-height: 1;
}

.gold-line {
  border-left-color: var(--gold) !important;
}

.blue-line {
  border-left-color: var(--blue) !important;
}

.green-line {
  border-left-color: var(--green) !important;
}

.red-line {
  border-left-color: var(--red) !important;
}

.orange-line {
  border-left-color: var(--orange) !important;
}

.gold-line strong,
.gold-text {
  color: var(--gold-3);
}

.blue-line strong {
  color: #87dcf0;
}

.green-line strong {
  color: #94e7a3;
}

.red-line strong {
  color: #ff928c;
}

.dashboard-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  gap: 18px;
}

.ops-card,
.risk-card,
.install-slot,
.operation-detail-card,
.document-queue,
.document-packet-card,
.doc-list,
.doc-detail,
.pipeline-column,
.schedule-day,
.placeholder-panel,
.truth-box {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.ops-card,
.risk-card {
  padding: 18px;
  overflow: hidden;
}

.card-title-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}

.card-title-row h3,
.risk-card h3 {
  margin: 0;
}

.card-title-row span {
  color: var(--quiet);
  font-size: 12px;
}

.job-line {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  column-gap: 10px;
  row-gap: 2px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
}

.job-line > span { grid-column: 1; grid-row: 1 / span 2; }
.job-line > strong { grid-column: 2; grid-row: 1; }
.job-line > em { grid-column: 2; grid-row: 2; }
.job-line > b { grid-column: 3; grid-row: 1 / span 2; justify-self: end; white-space: nowrap; }
.job-line > strong,
.job-line > em { min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.job-line:last-child {
  border-bottom: 0;
}

.job-line span,
.job-line em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.job-line strong {
  display: block;
  font-size: 14px;
}

.job-line b {
  color: var(--blue);
  font-size: 12px;
}

.orange-text {
  color: var(--orange) !important;
}

.risk-card {
  display: grid;
  gap: 14px;
}

.risk-card div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 13px;
}

.risk-card button {
  justify-self: stretch;
  color: var(--gold-3);
}

.install-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.install-slot {
  min-height: 290px;
  padding: 18px;
  border-left-width: 4px;
}

.install-slot.empty {
  display: grid;
  align-content: start;
  border-left-width: 1px;
}

.install-slot.empty span {
  display: grid;
  min-height: 150px;
  margin-top: 18px;
  place-items: center;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
}

.install-slot div,
.install-slot footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.install-slot div b {
  padding: 4px 10px;
  border: 1px solid rgba(216, 177, 109, 0.55);
  border-radius: 6px;
  color: var(--gold-3);
  background: rgba(196, 154, 90, 0.12);
}

.install-slot h3 {
  margin-top: 22px;
  margin-bottom: 2px;
}

.install-slot p,
.install-slot span,
.install-slot small {
  color: var(--muted);
}

.install-slot > span {
  display: block;
  margin-top: 18px;
  padding: 12px;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.045);
  font-size: 13px;
  font-weight: 680;
}

.install-slot footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}

.install-slot footer small {
  font-weight: 820;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.operations-focus {
  display: grid;
  grid-template-columns: minmax(185px, 0.72fr) minmax(0, 1.28fr);
  gap: 16px;
  align-items: stretch;
}

.install-board.compact {
  grid-template-columns: 1fr;
  gap: 10px;
}

.install-board.compact .install-slot {
  min-height: 0;
  display: grid;
  gap: 5px;
  align-content: start;
  padding: 11px;
  border-left-width: 4px;
}

.install-board.compact .install-slot.selected {
  border-color: rgba(85, 192, 215, 0.34);
  border-left-color: var(--blue) !important;
  background: linear-gradient(90deg, rgba(85, 192, 215, 0.08), rgba(255, 255, 255, 0.045));
}

.install-board.compact .install-slot h3 {
  margin-top: 3px;
  margin-bottom: 0;
  font-size: 17px;
  line-height: 1.05;
}

.install-board.compact .install-slot p {
  margin-bottom: 0;
  font-size: 11px;
  line-height: 1.2;
}

.install-board.compact .install-slot > span {
  margin-top: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 11px;
  line-height: 1.25;
}

.install-board.compact .install-slot > small {
  display: inline-flex;
  width: max-content;
  margin-top: 3px;
  padding: 3px 7px;
  border-radius: 999px;
  color: var(--gold-3);
  background: rgba(196, 154, 90, 0.1);
  font-size: 10px;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.install-board.compact .install-slot div b {
  padding: 3px 8px;
  font-size: 11px;
}

.operation-detail-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), transparent 68%),
    rgba(255, 255, 255, 0.04);
}

.operation-detail-top {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}

.operation-detail-top span,
.operation-detail-top b {
  padding: 5px 8px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.18);
  font-size: 11px;
  font-weight: 760;
}

.operation-detail-top b {
  border-color: rgba(216, 177, 109, 0.46);
  color: var(--gold-3);
}

.operation-detail-card h3 {
  margin: 2px 0 -8px;
  font-size: 28px;
  line-height: 1;
}

.operation-detail-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.operation-stage {
  padding: 12px;
  border: 1px solid rgba(85, 192, 215, 0.36);
  border-radius: 8px;
  background: rgba(85, 192, 215, 0.08);
}

.operation-stage small,
.operation-detail-grid small {
  display: block;
  color: var(--quiet);
  font-size: 10px;
  font-weight: 860;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.operation-stage strong {
  display: block;
  margin-top: 4px;
  color: #87dcf0;
  font-size: 15px;
}

.operation-stepper {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.16);
  overflow: hidden;
}

.operation-stepper span {
  padding: 9px 5px;
  border-left: 1px solid var(--line-soft);
  color: var(--quiet);
  font-size: 10px;
  font-weight: 760;
  text-align: center;
}

.operation-stepper span:first-child {
  border-left: 0;
}

.operation-stepper span.active {
  color: #11100e;
  background: linear-gradient(180deg, var(--gold-3), var(--gold));
}

.operation-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  overflow: hidden;
}

.operation-detail-grid div {
  padding: 11px;
  border-left: 1px solid var(--line-soft);
}

.operation-detail-grid div:first-child {
  border-left: 0;
}

.operation-detail-grid strong {
  display: block;
  margin-top: 4px;
  font-size: 13px;
}

.operation-checklist {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.operation-checklist li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 12px;
}

.operation-checklist span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(121, 213, 142, 0.26);
}

.operation-checklist li.pending span {
  background: var(--orange);
  box-shadow: 0 0 12px rgba(237, 155, 66, 0.22);
}

.documents-focus {
  display: grid;
  grid-template-columns: minmax(190px, 0.72fr) minmax(0, 1.28fr);
  gap: 16px;
  align-items: stretch;
}

.document-queue {
  display: grid;
  gap: 8px;
  padding: 12px;
}

.document-queue button {
  position: relative;
  display: grid;
  gap: 4px;
  min-height: 84px;
  padding: 10px 62px 10px 12px;
  border: 1px solid var(--line-soft);
  border-left: 4px solid transparent;
  border-radius: 7px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
  text-align: left;
}

.document-queue button.selected {
  border-color: rgba(196, 154, 90, 0.62);
  border-left-color: var(--gold);
  background: linear-gradient(90deg, rgba(196, 154, 90, 0.12), rgba(255, 255, 255, 0.04));
}

.document-queue button > span {
  width: max-content;
  padding: 3px 6px;
  border-radius: 999px;
  color: var(--gold-3);
  background: rgba(196, 154, 90, 0.1);
  font-size: 10px;
  font-weight: 840;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.document-queue button strong {
  font-size: 14px;
  line-height: 1.1;
}

.document-queue button small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
}

.document-queue button b {
  position: absolute;
  right: 12px;
  bottom: 12px;
  color: var(--gold-3);
  font-size: 13px;
}

.document-packet-card {
  display: grid;
  gap: 9px;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), transparent 68%),
    rgba(255, 255, 255, 0.04);
}

.document-detail-top {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.document-detail-top span,
.document-detail-top b {
  padding: 4px 7px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.18);
  font-size: 11px;
  font-weight: 760;
}

.document-detail-top b {
  border-color: rgba(216, 177, 109, 0.46);
  color: var(--gold-3);
}

.document-packet-card h3 {
  margin: 2px 0 -5px;
  font-size: 27px;
  line-height: 1;
}

.document-packet-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.document-stage {
  padding: 10px;
  border: 1px solid rgba(196, 154, 90, 0.36);
  border-radius: 8px;
  background: rgba(196, 154, 90, 0.08);
}

.document-stage small,
.document-detail-grid small {
  display: block;
  color: var(--quiet);
  font-size: 10px;
  font-weight: 860;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.document-stage strong {
  display: block;
  margin-top: 4px;
  color: var(--gold-3);
  font-size: 14px;
}

.document-stepper {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.16);
  overflow: hidden;
}

.document-stepper span {
  padding: 8px 4px;
  border-left: 1px solid var(--line-soft);
  color: var(--quiet);
  font-size: 10px;
  font-weight: 760;
  text-align: center;
}

.document-stepper span:first-child {
  border-left: 0;
}

.document-stepper span.active {
  color: #11100e;
  background: linear-gradient(180deg, var(--gold-3), var(--gold));
}

.document-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  overflow: hidden;
}

.document-detail-grid div {
  padding: 10px;
  border-left: 1px solid var(--line-soft);
}

.document-detail-grid div:first-child {
  border-left: 0;
}

.document-detail-grid strong {
  display: block;
  margin-top: 4px;
  font-size: 13px;
}

.document-action-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.document-action-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 8px 9px;
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.2);
}

.document-action-list strong,
.document-action-list span {
  display: block;
}

.document-action-list strong {
  font-size: 13px;
}

.document-action-list span {
  margin-top: 3px;
  color: var(--quiet);
  font-size: 10px;
  font-weight: 820;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.documents-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.92fr) minmax(0, 1.18fr);
  gap: 18px;
}

.doc-list {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.doc-list button {
  position: relative;
  display: grid;
  gap: 3px;
  padding: 14px 92px 14px 16px;
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
  text-align: left;
}

.doc-list button.selected {
  border-color: rgba(196, 154, 90, 0.7);
  background: rgba(196, 154, 90, 0.09);
}

.doc-list button span {
  color: var(--muted);
}

.doc-list button b {
  position: absolute;
  right: 16px;
  bottom: 16px;
  color: var(--gold-3);
}

.doc-detail {
  padding: 24px;
}

.doc-detail > span {
  color: var(--gold-3);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.doc-detail h3 {
  margin-top: 6px;
  font-size: 31px;
}

.doc-detail p {
  color: var(--muted);
}

.doc-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.doc-stats div {
  display: grid;
  gap: 5px;
  padding: 15px;
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.2);
}

.doc-stats small {
  color: var(--quiet);
  font-weight: 780;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.doc-detail ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.doc-detail li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.23);
}

.pipeline-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.pipeline-column {
  display: grid;
  align-content: start;
  gap: 9px;
  min-width: 0;
  min-height: 378px;
  padding: 11px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 54%),
    rgba(255, 255, 255, 0.035);
}

.pipeline-column header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 6px;
  align-items: center;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line-soft);
}

.pipeline-column header span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}

.pipeline-column.quoted header span {
  background: var(--gold-2);
}

.pipeline-column.booked header span {
  background: var(--green);
}

.pipeline-column.follow header span {
  background: #b99be8;
}

.pipeline-column header strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--gold-3);
  font-size: 11px;
  font-weight: 860;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pipeline-column header b {
  display: inline-flex;
  min-width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: var(--quiet);
  background: rgba(0, 0, 0, 0.18);
  font-size: 10px;
}

.pipeline-card {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.2);
}

.pipeline-card.compact {
  padding: 10px;
}

.pipeline-card.action-card {
  border-color: rgba(121, 213, 142, 0.32);
  background: rgba(121, 213, 142, 0.08);
}

.pipeline-card.warning {
  border-color: rgba(196, 154, 90, 0.36);
  background: rgba(196, 154, 90, 0.08);
}

.pipeline-card div {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 5px;
  min-width: 0;
}

.pipeline-card strong,
.pipeline-card b,
.pipeline-card p,
.pipeline-card small,
.pipeline-card em {
  display: block;
}

.pipeline-card strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--white);
  font-size: 12px;
  line-height: 1.12;
}

.pipeline-card b {
  flex: 0 0 auto;
  white-space: nowrap;
  color: var(--gold-3);
  font-size: 11px;
}

.pipeline-card p {
  margin: 0;
  min-width: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
}

.pipeline-card small {
  color: var(--quiet);
  font-size: 10px;
  font-weight: 760;
}

.pipeline-card em {
  justify-self: start;
  max-width: 100%;
  margin-top: 3px;
  padding: 4px 7px;
  border: 1px solid rgba(196, 154, 90, 0.22);
  border-radius: 999px;
  color: var(--gold-3);
  background: rgba(196, 154, 90, 0.08);
  font-size: 10px;
  font-style: normal;
  font-weight: 820;
}

.schedule-week-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin: 4px 0 16px auto;
}

.schedule-week-tools strong {
  min-width: 170px;
  color: var(--white);
  font-size: 15px;
  text-align: center;
}

.schedule-week-tools button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
  font-size: 12px;
  font-weight: 760;
}

.schedule-week-tools button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.schedule-week-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(108px, 1fr));
  gap: 8px;
  padding-bottom: 2px;
}

.schedule-day {
  min-width: 0;
  min-height: 372px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.05);
}

.schedule-day header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.schedule-day header strong,
.schedule-day header span,
.schedule-day header b {
  display: block;
}

.schedule-day header strong {
  color: var(--white);
  font-size: 15px;
  line-height: 1;
  text-transform: uppercase;
}

.schedule-day header span {
  margin-top: 5px;
  color: var(--quiet);
  font-size: 11px;
  font-weight: 720;
}

.schedule-day header b {
  color: var(--gold-2);
  font-size: 11px;
}

.schedule-slot {
  position: relative;
  display: grid;
  gap: 3px;
  min-height: 44px;
  margin-top: 7px;
  padding: 7px 8px 7px 9px;
  border-radius: 7px;
}

.schedule-slot.open {
  grid-template-columns: 1fr;
  align-items: center;
  border: 1px dashed rgba(255, 255, 255, 0.11);
  color: var(--quiet);
  background: rgba(0, 0, 0, 0.12);
}

.schedule-slot.open span,
.schedule-slot.open em {
  font-size: 11px;
  font-style: normal;
  font-weight: 760;
}

.schedule-slot.job {
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--gold);
  background: rgba(0, 0, 0, 0.22);
}

.schedule-slot.job span,
.schedule-slot.job small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 680;
}

.schedule-slot.job strong {
  max-width: 72px;
  color: var(--white);
  font-size: 11px;
  line-height: 1.15;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.schedule-slot.job small {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.schedule-slot.job b {
  position: absolute;
  top: 7px;
  right: 7px;
  color: var(--gold-3);
  font-size: 10px;
}

.schedule-slot.job.blue {
  border-left-color: var(--blue);
}

.schedule-slot.job.green {
  border-left-color: var(--green);
}

.schedule-slot.job.orange {
  border-left-color: var(--orange);
}

.schedule-slot.job.red {
  border-left-color: var(--red);
}

.placeholder-panel {
  min-height: 330px;
  align-content: center;
  padding: 70px;
}

.placeholder-panel h2 {
  margin-bottom: 12px;
}

.placeholder-panel p {
  max-width: 540px;
  color: var(--muted);
  font-size: 18px;
}

/* ============================================================
   Product-preview responsive rules (extracted from v2)
   ============================================================ */

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

  .mobile-preview {
    display: block;
    padding: 18px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 12rem),
      #101011;
  }

  /* Phone panels — the tab bar below switches between them. */
  .m-panel {
    display: none;
  }

  .m-panel.active {
    display: block;
  }

  .m-title {
    margin: 0;
    padding: 18px 0 14px;
    color: var(--white);
    font-size: 30px;
  }

  /* Dashboard metrics — mirrors the real app: a Money hero card with a gold
     accent, then a 2x2 grid split by hairlines. Badge pill + big colored
     number + description + action hint, per card. */
  .m-metrics {
    overflow: hidden;
    border: 1px solid var(--line-soft);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
  }

  .m-metrics .gold { color: var(--gold-3); }
  .m-metrics .blue { color: var(--blue); }
  .m-metrics .green { color: var(--green); }
  .m-metrics .red { color: var(--red); }

  .m-hero {
    padding: 16px 16px 14px;
    border-left: 3px solid var(--gold);
    border-bottom: 1px solid var(--line-soft);
  }

  .m-metrics article strong {
    display: block;
    margin: 10px 0 6px;
    font-size: 32px;
    line-height: 1;
  }

  .m-hero strong {
    font-size: 42px;
  }

  .m-metrics article p {
    margin: 0 0 6px;
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.45;
  }

  .m-metrics article em {
    font-style: normal;
    font-size: 12.5px;
    font-weight: 760;
  }

  .m-metrics article em::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    margin-right: 6px;
    border-radius: 50%;
    background: currentColor;
    vertical-align: 2px;
  }

  .m-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .m-grid article {
    padding: 14px 14px 12px;
  }

  .m-grid article:nth-child(odd) {
    border-right: 1px solid var(--line-soft);
  }

  .m-grid article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line-soft);
  }

  .m-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 9px;
    border: 1px solid color-mix(in srgb, currentColor 40%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, currentColor 8%, transparent);
    font-size: 10.5px;
    font-weight: 780;
  }

  .m-badge i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
  }

  /* Module cards (Operations, Pipeline, Schedule, Customers) */
  .m-card {
    margin-top: 14px;
    padding: 16px;
    border: 1px solid var(--line-soft);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.045);
  }

  .m-card-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
  }

  .m-card-head h3 {
    margin: 0;
    color: var(--white);
    font-size: 18px;
  }

  .m-card-head span {
    color: var(--quiet);
    font-size: 12px;
    font-weight: 720;
  }

  .m-card-sub {
    margin: 4px 0 0;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line-soft);
    color: var(--muted);
    font-size: 13px;
  }

  .m-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .m-row:last-child {
    padding-bottom: 2px;
    border-bottom: 0;
  }

  .m-row > div {
    min-width: 0;
  }

  .m-row strong {
    display: block;
    color: var(--white);
    font-size: 15.5px;
  }

  .m-row small {
    color: var(--muted);
    font-size: 12.5px;
  }

  .m-time {
    flex: none;
    min-width: 64px;
    color: var(--blue);
    font-size: 12.5px;
    font-weight: 780;
  }

  .m-chip {
    flex: none;
    min-width: 74px;
    padding: 4px 9px;
    border: 1px solid color-mix(in srgb, currentColor 40%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, currentColor 9%, transparent);
    font-size: 10.5px;
    font-weight: 780;
    text-align: center;
  }

  .m-chip.gold { color: var(--gold-3); }
  .m-chip.green { color: var(--green); }
  .m-chip.quiet { color: var(--muted); }

  .m-avatar {
    flex: none;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(196, 154, 90, 0.4);
    border-radius: 50%;
    color: var(--gold-3);
    font-size: 12px;
    font-weight: 800;
  }

  .side-nav button {
    min-width: max-content;
  }

  .side-footer {
    display: none;
  }

  .app-topline {
    align-items: start;
    flex-direction: column;
    padding: 18px;
  }

  .preview-panel {
    padding: 18px;
  }

  .metric-grid,
  .dashboard-layout,
  .operations-focus,
  .install-board,
  .documents-focus,
  .documents-layout,
  .pipeline-board,
  .doc-stats {
    grid-template-columns: 1fr;
  }

  .metric-card {
    border-top: 1px solid var(--line-soft);
    border-left: 0;
  }

  .metric-card:first-child {
    border-top: 0;
  }

  .job-line {
    grid-template-columns: 1fr;
  }

  .top-actions {
    width: 100%;
    flex-direction: column;
  }

  .top-actions button {
    width: 100%;
  }
}

@media (max-width: 540px) {
  .browser-bar strong {
    display: none;
  }

  .app-showcase {
    border-radius: 9px;
  }

  .preview-heading h2 {
    font-size: 30px;
  }

  .doc-list button {
    padding-right: 16px;
  }

  .doc-list button b {
    position: static;
  }
}

/* === Locked CoveredOps C-mark (single SVG asset) — 2026-06-19 === */
.brand-mark, .app-mark {
  background-image: url('./assets/icons/coveredops-cmark.svg') !important;
  background-position: center !important;
  background-size: 76% !important;
  background-repeat: no-repeat !important;
}
.brand-mark::before, .app-mark::before,
.brand-mark span, .app-mark span { display: none !important; }

/* ============================================================
   Fable design-QA polish layer (2026-07-18)
   Fixes found in the per-panel design pass — kept separate so
   the extracted v2 block above stays verbatim.
   ============================================================ */

/* v2's base form reset was outside the extracted range: without it every
   mock button falls back to Arial. Restore it. */
button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

/* Queue cards: min-height + default grid stretch inflated each row, so the
   10px status chip sat inside a 33px blob. Pin content to the card edges
   and let the chip hug its text. */
.document-queue button {
  align-content: space-between;
}

.document-queue button > span {
  align-self: start;
  height: max-content;
}

/* Steppers rendered as one merged gold bar. Segment them: padded track,
   gapped pills, readable active text. */
.document-stepper,
.operation-stepper {
  gap: 3px;
  padding: 3px;
  background: rgba(0, 0, 0, 0.24);
}

.document-stepper span,
.operation-stepper span {
  border-left: 0;
  border-radius: 5px;
}

.document-stepper span.active,
.operation-stepper span.active {
  font-weight: 850;
}

/* ============================================================
   App-accuracy pass (2026-07-18) — verified against the live
   production app (app.coveredops.com, desktop + mobile).
   ============================================================ */

/* Dashboard runs five metric chips in the real app */
.metric-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

/* Money nav item ($ icon, matches CircleDollarSign role) */
.nav-symbol.dollar::before {
  content: "$";
  position: static;
  display: block;
  width: auto;
  height: auto;
  border: 0;
  background: none;
  font-size: 13px;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
}

.nav-symbol.dollar::after {
  display: none;
}

/* Priority Actions rows (replaces the retired Closeout Risk card) */
.pa-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line-soft);
}

.pa-row div {
  display: grid;
  gap: 2px;
  border: 0;
  padding: 0;
}

.pa-row strong {
  color: var(--white);
  font-size: 13px;
  font-weight: 780;
}

.pa-row small {
  color: var(--muted);
  font-size: 11.5px;
}

.pa-row b {
  flex: none;
  padding: 5px 10px;
  border: 1px solid rgba(196, 154, 90, 0.5);
  border-radius: 999px;
  color: var(--gold-3);
  background: rgba(196, 154, 90, 0.1);
  font-size: 10.5px;
  font-weight: 800;
}

/* Mobile preview: real app chrome — org + date, bell + settings + "+ New"
   top bar, and the five-tab bottom bar (Dashboard / Pipeline / Schedule /
   Operations / Customers) that switches the phone panels. */
@media (max-width: 920px) {
  .mobile-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line-soft);
  }

  .mobile-topbar strong {
    display: block;
    color: var(--white);
    font-size: 17px;
    font-weight: 800;
  }

  .mobile-topbar small {
    color: var(--quiet);
    font-size: 12px;
  }

  .mobile-top-actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .mobile-iconbtn {
    position: relative;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--line-soft);
    border-radius: 9px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.04);
  }

  .mobile-iconbtn.gold {
    border-color: rgba(196, 154, 90, 0.4);
    color: var(--gold-3);
    background: rgba(196, 154, 90, 0.08);
  }

  .mobile-iconbtn svg {
    width: 18px;
    height: 18px;
  }

  .mobile-iconbtn b {
    position: absolute;
    top: -6px;
    right: -6px;
    padding: 1px 5px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--gold-3), var(--gold));
    color: #141210;
    font-size: 9.5px;
    font-weight: 800;
  }

  .mobile-new {
    flex: none;
    padding: 9px 14px;
    border-radius: 8px;
    background: linear-gradient(180deg, var(--gold-3), var(--gold));
    color: #141210;
    font-size: 13px;
    font-weight: 800;
  }

  .mobile-tabbar {
    display: flex;
    justify-content: space-between;
    gap: 4px;
    margin: 16px -18px -18px;
    padding: 10px 14px 12px;
    border-top: 1px solid var(--line-soft);
    background: rgba(10, 10, 11, 0.85);
  }

  .mobile-tabbar button {
    display: grid;
    justify-items: center;
    gap: 5px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--quiet);
    font-size: 9.5px;
    font-weight: 720;
    cursor: pointer;
  }

  .mobile-tabbar button.active {
    color: var(--gold-3);
  }

  .mobile-tabbar .nav-symbol {
    display: block;
  }
}
