:root {
  --paper: #f7f8fa;
  --ink: #242829;
  --muted: #747a7d;
  --line: #e3e6e8;
  --brand: #e87a15;
  --teal: #167466;
}
.catalog-picker { display: flex; align-items: end; gap: 12px; margin-bottom: 16px; }
.catalog-picker > div { flex: 1; min-width: 0; }
.catalog-description { max-width: 600px; white-space: pre-line; }
.catalog-empty { display: inline-block; margin-bottom: 16px; font-size: 12px; }
@media (max-width: 760px) { .catalog-picker { flex-direction: column; align-items: stretch; } }
* {
  box-sizing: border-box;
  letter-spacing: 0;
}
html {
  font-size: 14px;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}
a {
  color: var(--teal);
  text-decoration: none;
}
a:hover {
  color: #104c44;
}
:focus-visible {
  outline: 3px solid #68b4a7;
  outline-offset: 3px;
}
h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}
.app-frame {
  display: grid;
  grid-template-columns: 216px minmax(0, 1fr);
  min-height: 100vh;
}
.brand-panel {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 28px 16px 20px;
  background: #fff;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  padding: 0 8px 27px;
  border-bottom: 1px solid var(--line);
}
.brand-lockup img {
  width: 56px;
  height: 48px;
  object-fit: contain;
}
.brand-lockup strong {
  display: block;
  font-size: 13px;
  font-weight: 650;
}
.brand-lockup small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 3px;
}
.nav-label {
  margin: 30px 12px 10px;
  font-size: 11px;
  color: var(--muted);
}
.side-nav {
  display: grid;
  gap: 5px;
}
.side-nav a {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 5px;
  color: #61686b;
  font-weight: 500;
  border-left: 2px solid transparent;
}
.side-nav a:hover {
  background: #f5f7f7;
}
.side-nav a[aria-current="page"] {
  background: #edf4f2;
  border-left-color: var(--teal);
  color: #145e53;
  font-weight: 650;
}
.icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke-width: 1.7;
}
.brand-panel-note {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding: 18px 10px 0;
}
.brand-panel-note span,
.brand-panel-note strong {
  display: block;
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
}
.brand-panel-note strong {
  color: var(--ink);
  margin-top: 4px;
}
.workspace {
  min-width: 0;
}
.workspace-top {
  height: 68px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  padding: 0 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.workspace-top > div {
  display: flex;
  align-items: center;
  gap: 16px;
}
.workspace-top strong {
  font-size: 12px;
  font-weight: 500;
}
.workspace-kicker {
  font-size: 12px;
  color: var(--muted);
  border-right: 1px solid var(--line);
  padding-right: 16px;
}
.quick-action,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 36px;
  padding: 8px 13px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  box-shadow: none;
}
.quick-action,
.btn-primary {
  background: #263c37;
  border: 1px solid #263c37;
  color: #fff;
}
.quick-action:hover,
.btn-primary:hover {
  background: #184e42;
  border-color: #184e42;
  color: #fff;
}
.btn-outline-secondary {
  background: #fff;
  color: #50585b;
  border: 1px solid #d8dddf;
}
.btn-outline-secondary:hover {
  background: #eef2f1;
  color: #263c37;
  border-color: #a8b7b2;
}
.btn-outline-danger {
  color: #b24e4e;
  border: 1px solid transparent;
  background: transparent;
}
.content-shell {
  max-width: 1560px;
  padding: 32px 36px 64px;
  margin: auto;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}
.page-heading h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.25;
  font-weight: 650;
}
.eyebrow {
  font-size: 11px;
  color: var(--muted);
  margin: 0 0 8px;
}
.lead {
  font-size: 13px;
  color: var(--muted);
  margin: 8px 0 0;
  font-weight: 400;
}
.page-actions,
.archive-filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.date-label {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}
.summary-strip {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  background: #fff;
  border-block: 1px solid var(--line);
  margin-bottom: 32px;
}
.summary-strip.audit-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.summary-strip > div {
  padding: 23px 24px;
  border-right: 1px solid var(--line);
  min-width: 0;
}
.summary-strip > div:first-child {
  border-top: 2px solid var(--brand);
}
.summary-strip > div:last-child {
  border-right: 0;
}
.summary-strip span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.summary-strip strong {
  display: block;
  margin: 8px 0 3px;
  font-weight: 600;
  font-size: 26px;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
.summary-strip small {
  color: var(--muted);
  font-size: 11px;
}
.summary-strip .positive {
  color: var(--teal);
}
.operations-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 32px;
  margin: 32px 0;
}
.panel {
  min-width: 0;
  margin-bottom: 28px;
}
.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.panel h2,
.panel-header h2,
.form-panel h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 650;
}
.panel-header p {
  font-size: 12px;
  color: var(--muted);
  margin: 5px 0 0;
}
.attention-list,
.quote-stream {
  background: #fff;
  border-top: 1px solid var(--line);
}
.attention-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding: 15px 12px;
  color: var(--ink);
}
.attention-row strong {
  font-size: 13px;
  font-weight: 600;
}
.attention-row small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 3px;
}
.attention-row em {
  color: var(--teal);
  font-size: 11px;
  font-style: normal;
  text-align: right;
}
.attention-row.is-overdue em {
  color: #b65348;
}
.attention-row.is-soon em {
  color: #916313;
}
.attention-row:hover,
.quote-stream-row:hover {
  background: #f4f8f7;
}
.status-breakdown {
  border-top: 1px solid var(--line);
}
.status-breakdown a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px minmax(100px, 1fr);
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding: 13px 10px;
  color: #555e60;
  font-size: 12px;
}
.status-breakdown small {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.status-breakdown strong {
  color: var(--ink);
  font-weight: 600;
}
.quote-stream-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 110px 160px;
  gap: 14px;
  align-items: center;
  padding: 17px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.quote-code {
  font-size: 11px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.quote-stream-row strong {
  font-size: 13px;
  font-weight: 600;
}
.quote-stream-row small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
}
.quote-amount {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.status-pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 4px 8px;
  border-radius: 4px;
  background: #eef2f4;
  color: #5b6770;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}
.status-pill::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  margin-right: 6px;
}
.status-pill[data-status="Sent"],
.status-pill[data-status="Accepted"] {
  background: #e9f4ee;
  color: #2c7958;
}
.status-pill[data-status="Rejected"],
.status-pill[data-status="Cancelled"] {
  background: #faeeee;
  color: #a94d4d;
}
.archive-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 12px;
  padding: 16px 0;
  border-block: 1px solid var(--line);
  margin-bottom: 20px;
}
.archive-filter > div:first-child {
  flex: 1;
  min-width: 180px;
}
.archive-filter > div:nth-child(2) {
  min-width: 160px;
}
.archive-filter > .filter-select {
  flex: 0 1 220px;
  min-width: min(220px, 100%);
}
.report-trend-row {
  display: grid;
  grid-template-columns: 130px minmax(80px, 1fr) minmax(130px, auto) 65px;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.report-trend-row meter { width: 100%; height: 20px; }
.report-filter-toggle { margin-bottom: 20px; }
.report-filter-toggle > summary { padding: 12px 0; font-size: 13px; font-weight: 500; cursor: pointer; }
@media (max-width: 700px) {
  .report-trend-row { grid-template-columns: 1fr; gap: 8px; }
}
.form-label {
  color: #656d70;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 7px;
}
.form-control,
.form-select {
  min-height: 40px;
  border: 1px solid #dce1e3;
  background-color: #fff;
  border-radius: 5px;
  font-size: 13px;
  color: #293331;
  padding: 9px 11px;
}
.form-control:focus,
.form-select:focus {
  border-color: #548e80;
  box-shadow: 0 0 0 3px #16746613;
}
textarea.form-control {
  resize: vertical;
}
.app-table {
  width: 100%;
  font-size: 12px;
  background: #fff;
  margin: 0;
}
.app-table th {
  font-size: 11px;
  color: #737c80;
  font-weight: 500;
  padding: 13px 14px;
  background: #f1f4f5;
  white-space: nowrap;
}
.app-table td {
  padding: 16px 14px;
  border-color: #eef0f1;
  vertical-align: middle;
}
.app-table td.text-end {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.app-table tbody tr:hover {
  background: #f9fbfa;
}
.table-note {
  display: block;
  color: var(--muted);
  margin-top: 3px;
}
.muted-cell {
  color: var(--muted);
}
.empty-state {
  padding: 32px 20px;
  border-block: 1px solid var(--line);
  background: #fff;
}
.empty-state strong,
.empty-state span {
  display: block;
  font-size: 13px;
}
.empty-state span {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}
.studio-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 28px;
  align-items: start;
}
.studio-rail {
  grid-column: 2;
  grid-row: 1;
  position: sticky;
  top: 24px;
  border-top: 2px solid var(--brand);
  padding: 22px 0;
}
.studio-total span {
  font-size: 12px;
  color: var(--muted);
}
.studio-total strong {
  display: block;
  font-size: 25px;
  font-weight: 600;
  margin-top: 9px;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
.studio-total p {
  color: var(--muted);
  font-size: 11px;
  margin-top: 5px;
}
.studio-steps {
  display: grid;
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 16px;
}
.studio-steps a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  color: #5c6864;
  font-size: 12px;
}
.studio-steps b {
  font-weight: 500;
  color: #9ba4a1;
}
.form-panel {
  grid-column: 1;
  grid-row: 1;
  background: #fff;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.form-panel h2 {
  margin: 0 0 20px;
  scroll-margin-top: 20px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 20px;
}
.span-2 {
  grid-column: 1/-1;
}
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 24px 0 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.section-header h2 {
  margin: 0;
}
.quote-line-list {
  margin-bottom: 28px;
}
.quote-line-row {
  display: grid;
  grid-template-columns: minmax(65px, 0.65fr) minmax(70px, 0.7fr) minmax(
      100px,
      1fr
    ) minmax(100px, 1fr) 36px;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.quote-line-row > div {
  min-width: 0;
}
.quote-line-row .line-main {
  grid-column: 1/3;
  grid-row: 1;
}
.quote-line-row .line-category {
  grid-column: 3/5;
  grid-row: 1;
}
.quote-line-row .line-detail {
  grid-column: 1/-1;
  grid-row: 2;
}
.quote-line-row .line-detail textarea {
  min-height: 60px;
}
.quote-line-row .line-detail + div {
  grid-column: 1;
}
.quote-line-row .line-remove {
  grid-column: 5;
  grid-row: 1;
  align-self: end;
}
.quote-line-row .line-remove .btn {
  padding: 9px;
}
.line-total {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 40px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.form-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 16px;
}
.text-danger {
  font-size: 11px;
  display: block;
  margin-top: 4px;
}
.quote-control-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 24px;
  border-block: 1px solid var(--line);
  padding: 20px 0;
  margin-bottom: 28px;
}
.quote-control-panel > div {
  margin-right: auto;
}
.quote-control-panel > div span,
.quote-control-panel > div small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}
.quote-control-panel > div strong {
  display: block;
  margin: 4px 0;
  font-size: 14px;
}
.status-form {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.status-form .form-select {
  width: auto;
}
.status-form .form-label {
  margin: 0;
}
.send-form,
.followup-form {
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr auto;
  align-items: end;
  gap: 14px;
}
.followup-form {
  grid-template-columns: 180px minmax(0, 1fr) auto;
}
.send-panel,
.followup-panel {
  border-bottom: 1px solid var(--line);
  padding-bottom: 26px;
}
.followup-current {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.revision-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.revision-item {
  border-left: 2px solid var(--line);
  padding: 8px 14px;
  color: var(--muted);
}
.revision-item.is-current {
  border-color: var(--teal);
  color: var(--teal);
}
.revision-item span,
.revision-item small {
  display: block;
  font-size: 11px;
}
.revision-item strong {
  font-size: 12px;
  font-weight: 600;
}
.document-viewer {
  margin-bottom: 28px;
  border: 1px solid var(--line);
  background: #e9edef;
  border-radius: 6px;
  overflow: hidden;
}
.document-viewer summary {
  padding: 16px 20px;
  cursor: pointer;
  background: #fff;
  font-weight: 600;
  font-size: 13px;
}
.document-viewer iframe {
  width: 100%;
  height: 820px;
  border: 0;
  display: block;
}
.document-download {
  display: block;
  padding: 12px 20px;
  background: white;
  font-size: 12px;
}
.activity-item {
  display: grid;
  grid-template-columns: 135px minmax(0, 1fr);
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.activity-item span {
  font-size: 11px;
  color: var(--muted);
}
.activity-item strong {
  font-size: 12px;
  font-weight: 400;
}
.customer-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.customer-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 22px;
  background: #fff;
  color: var(--ink);
}
.customer-card:hover {
  border-color: #8eaea3;
}
.customer-card-kicker {
  font-size: 11px;
  color: var(--muted);
}
.customer-card h3 {
  font-size: 18px;
  margin: 14px 0 8px;
}
.customer-card p,
.customer-card small {
  color: var(--muted);
  font-size: 12px;
}
.customer-card-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 16px;
}
.customer-card-metrics span,
.customer-card-metrics strong {
  display: block;
  font-size: 12px;
}
.customer-card-metrics strong {
  margin-top: 5px;
}
.customer-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid var(--line);
  background: #fff;
  margin-bottom: 28px;
}
.metric-card {
  padding: 20px;
  border-right: 1px solid var(--line);
}
.metric-card span {
  display: block;
  font-size: 12px;
  color: var(--muted);
}
.metric-card strong {
  display: block;
  font-size: 22px;
  margin-top: 10px;
  overflow-wrap: anywhere;
}
.profile-list {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 12px;
  font-size: 13px;
}
.profile-list dt {
  font-weight: 400;
  color: var(--muted);
}
.profile-list dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.customer-edit-panel {
  max-width: 960px;
}
@media (min-width: 1600px) {
  .quote-line-row {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr) minmax(0, 1.3fr) 65px 75px 110px 120px 36px;
  }
  .quote-line-row .line-main,
  .quote-line-row .line-category,
  .quote-line-row .line-detail,
  .quote-line-row .line-detail + div,
  .quote-line-row .line-remove {
    grid-column: auto;
    grid-row: auto;
  }
}
@media (max-width: 1150px) {
  .app-frame {
    grid-template-columns: 184px minmax(0, 1fr);
  }
  .content-shell {
    padding: 28px 24px;
  }
  .workspace-top {
    padding: 0 24px;
  }
  .studio-form {
    grid-template-columns: minmax(0, 1fr);
  }
  .studio-rail {
    position: static;
    grid-column: 1;
    grid-row: 1;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 0;
  }
  .studio-steps {
    display: flex;
    gap: 20px;
    border: 0;
    margin: 0;
    padding: 0;
  }
  .form-panel {
    grid-row: 2;
  }
  .page-heading {
    align-items: start;
    flex-direction: column;
  }
  .customer-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .send-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .quote-stream-row {
    grid-template-columns: 125px minmax(0, 1fr) 90px;
  }
  .quote-stream-row .quote-amount {
    grid-column: 2/4;
  }
}
@media (max-width: 760px) {
  .app-frame {
    display: block;
  }
  .brand-panel {
    position: static;
    height: auto;
    padding: 14px 16px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .brand-lockup {
    padding: 0 0 14px;
    border: 0;
  }
  .brand-lockup img {
    width: 48px;
    height: 34px;
  }
  .side-nav {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(78px, 1fr);
    grid-template-columns: none;
    gap: 3px;
    overflow-x: auto;
  }
  .side-nav a {
    flex: 1;
    flex-direction: column;
    justify-content: center;
    border-left: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    padding: 12px 8px;
    font-size: 11px;
    white-space: normal;
    gap: 6px;
  }
  .side-nav a[aria-current="page"] {
    border-bottom-color: var(--teal);
  }
  .side-nav .icon {
    width: 15px;
    height: 15px;
  }
  .brand-panel-note,
  .nav-label {
    display: none;
  }
  .workspace-top {
    height: 58px;
    padding: 0 18px;
  }
  .workspace-kicker {
    display: none;
  }
  .content-shell {
    padding: 24px 18px 40px;
  }
  .page-heading h1 {
    font-size: 24px;
  }
  .summary-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .summary-strip.audit-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .summary-strip > div {
    padding: 18px 14px;
    border-bottom: 1px solid var(--line);
  }
  .summary-strip strong {
    font-size: 21px;
  }
  .operations-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .quote-stream-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    padding: 16px 10px;
  }
  .quote-stream-row > span:nth-child(2) {
    grid-column: 1/-1;
    grid-row: 2;
  }
  .quote-stream-row .quote-amount {
    grid-column: 1/-1;
    grid-row: 3;
  }
  .form-panel {
    padding: 20px 16px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .span-2 {
    grid-column: auto;
  }
  .studio-rail {
    flex-direction: column;
    gap: 12px;
  }
  .studio-steps {
    justify-content: space-between;
    gap: 8px;
  }
  .quote-line-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) 36px;
    gap: 12px 8px;
  }
  .quote-line-row .line-main {
    grid-column: 1/3;
  }
  .quote-line-row .line-remove {
    grid-column: 3;
  }
  .quote-line-row .line-category,
  .quote-line-row .line-detail {
    grid-column: 1/-1;
    grid-row: auto;
  }
  .quote-line-row > div:nth-child(4),
  .quote-line-row > div:nth-child(6) {
    grid-column: 1;
  }
  .quote-line-row > div:nth-child(5),
  .quote-line-row > div:nth-child(7) {
    grid-column: 2/-1;
  }
  .send-form,
  .followup-form {
    grid-template-columns: 1fr;
  }
  .status-form {
    align-items: stretch;
  }
  .status-form .form-label {
    width: 100%;
  }
  .document-viewer iframe {
    height: 580px;
  }
  .customer-card-grid {
    grid-template-columns: 1fr;
  }
  .customer-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .activity-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .profile-list {
    grid-template-columns: 110px minmax(0, 1fr);
  }
}
.pdf-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 12px;
  border-bottom: 1px solid #d6dddf;
  background: #f3f5f6;
  font-size: 12px;
}
.pdf-toolbar .btn {
  padding: 6px;
  min-height: 30px;
}
.pdf-page {
  max-width: 850px;
  margin: 20px auto;
  padding: 0;
  min-height: 150px;
}
.pdf-page canvas {
  display: block;
  max-width: 100%;
  background: #fff;
  box-shadow: 0 2px 12px #1f292215;
}
.pdf-page canvas[hidden] {
  display: none;
}
.pdf-message {
  text-align: center;
  padding: 30px 16px;
  color: var(--muted);
  font-size: 13px;
}
.pdf-reader {
  padding: 0 16px 16px;
}
.pdf-toolbar [hidden] {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
.pricing-combine {
  margin: 4px 0 16px;
}
.pricing-breakdown .pricing-category-row dt {
  font-weight: 600;
}
.input-group .line-currency {
  flex: 0 0 auto;
  width: 78px;
}
