html.erp-v2-demo-active, html.erp-v2-demo-active body { margin: 0; min-height: 100%; background: #eef3f5; }

:root {
  --v2-navy: #0f3853;
  --v2-navy-deep: #08283d;
  --v2-blue: #1f678d;
  --v2-gold: #c59a4a;
  --v2-ink: #16242e;
  --v2-muted: #61727d;
  --v2-line: #d9e2e7;
  --v2-soft: #edf3f6;
  --v2-canvas: #eef3f5;
  --v2-surface: #ffffff;
  --v2-danger: #a43d38;
  --v2-danger-soft: #fff0ee;
  --v2-warning: #8b5e16;
  --v2-warning-soft: #fff6df;
  --v2-success: #236d56;
  --v2-success-soft: #e8f5ef;
  --v2-shadow: 0 18px 46px rgba(8, 40, 61, .10);
}

.v2-demo,
.v2-demo * { box-sizing: border-box; }

.v2-demo {
  min-height: 100dvh;
  margin: 0;
  color: var(--v2-ink);
  background:
    radial-gradient(circle at 92% 0%, rgba(31, 103, 141, .12), transparent 28rem),
    var(--v2-canvas);
  font-family: var(--font-noto), system-ui, sans-serif;
}

.v2-demo button,
.v2-demo input,
.v2-demo select,
.v2-demo textarea { font: inherit; }

.v2-demo button,
.v2-demo a,
.v2-demo input,
.v2-demo select,
.v2-demo textarea,
.v2-demo summary { min-height: 44px; }

.v2-demo button,
.v2-demo summary { -webkit-tap-highlight-color: transparent; }

.v2-demo button:focus-visible,
.v2-demo a:focus-visible,
.v2-demo input:focus-visible,
.v2-demo select:focus-visible,
.v2-demo textarea:focus-visible,
.v2-demo summary:focus-visible {
  outline: 3px solid rgba(197, 154, 74, .55);
  outline-offset: 3px;
}

.v2-demo button { cursor: pointer; }
.v2-demo button:disabled { cursor: not-allowed; opacity: .5; }

.v2-skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--v2-navy-deep);
  background: #fff;
  font-weight: 800;
  transform: translateY(-150%);
}
.v2-skip-link:focus { transform: none; }

.v2-shell {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
}

.v2-shell[data-mode="field"] { grid-template-columns: minmax(0, 1fr); }

.v2-side-nav {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 45;
  width: 248px;
  padding: 22px 14px;
  display: flex;
  flex-direction: column;
  color: #eef7fa;
  background: linear-gradient(165deg, var(--v2-navy-deep), #0c3d5a 70%, #104b6b);
  box-shadow: 12px 0 36px rgba(4, 29, 45, .14);
}

.v2-shell[data-mode="field"] .v2-side-nav { display: none; }

.v2-brand {
  padding: 4px 8px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.v2-brand-mark {
  width: 46px;
  height: 46px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(145deg, #2a7ba3, #123f5c);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.14);
  font-size: 21px;
  font-weight: 900;
}
.v2-brand strong,
.v2-brand small { display: block; }
.v2-brand strong { font-size: 15px; letter-spacing: .05em; }
.v2-brand small { margin-top: 3px; color: #9fb6c2; font-size: 10px; letter-spacing: .08em; }

.v2-side-nav nav { margin-top: 18px; display: grid; gap: 6px; }
.v2-side-nav nav button {
  width: 100%;
  padding: 0 13px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 0;
  border-radius: 11px;
  color: #bdced7;
  background: transparent;
  text-align: left;
  font-weight: 700;
}
.v2-side-nav nav button:hover { color: #fff; background: rgba(255,255,255,.08); }
.v2-side-nav nav button[aria-current="page"] {
  color: #fff;
  background: #1c5878;
  box-shadow: inset 4px 0 0 var(--v2-gold);
}
.v2-nav-glyph { width: 24px; text-align: center; font-size: 18px; }

.v2-side-note {
  margin-top: auto;
  padding: 14px;
  border-radius: 14px;
  color: #c7d8df;
  background: rgba(255,255,255,.07);
  font-size: 12px;
  line-height: 1.55;
}
.v2-side-note strong { display: block; margin-bottom: 4px; color: #fff; }

.v2-stage { min-width: 0; grid-column: 2; }
.v2-shell[data-mode="field"] .v2-stage { grid-column: 1; }

.v2-topbar {
  position: sticky;
  top: 0;
  z-index: 35;
  min-height: 72px;
  padding: 10px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(217,226,231,.9);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
}

.v2-shell[data-mode="field"] .v2-topbar {
  max-width: 620px;
  margin: 0 auto;
  border-inline: 1px solid rgba(217,226,231,.9);
  border-radius: 0 0 18px 18px;
}

.v2-topbar-title { min-width: 0; }
.v2-topbar-title small,
.v2-topbar-title strong { display: block; }
.v2-topbar-title small { color: var(--v2-muted); font-size: 11px; }
.v2-topbar-title strong { margin-top: 2px; color: var(--v2-navy-deep); font-size: 16px; }

.v2-top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.v2-mode-switch {
  padding: 4px;
  display: inline-flex;
  gap: 4px;
  border: 1px solid var(--v2-line);
  border-radius: 12px;
  background: #edf2f4;
}
.v2-mode-switch button {
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: 9px;
  color: var(--v2-muted);
  background: transparent;
  font-size: 12px;
  font-weight: 800;
}
.v2-mode-switch button[aria-pressed="true"] {
  color: var(--v2-navy);
  background: #fff;
  box-shadow: 0 3px 10px rgba(8,40,61,.10);
}

.v2-icon-button,
.v2-secondary,
.v2-primary,
.v2-danger,
.v2-quiet {
  min-height: 44px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 11px;
  font-weight: 800;
}
.v2-icon-button,
.v2-secondary {
  border: 1px solid var(--v2-line);
  color: var(--v2-navy);
  background: #fff;
}
.v2-primary { border: 1px solid var(--v2-navy); color: #fff; background: var(--v2-navy); }
.v2-primary:hover { background: #0b3049; }
.v2-danger { border: 1px solid var(--v2-danger); color: #fff; background: var(--v2-danger); }
.v2-quiet { border: 0; color: var(--v2-navy); background: transparent; }

.v2-preview-badge,
.v2-status-pill,
.v2-badge {
  min-height: 28px;
  padding: 4px 9px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
}
.v2-preview-badge { color: #6a4710; border: 1px solid #c79b45; background: #fff5d9; }
.v2-status-pill { color: var(--v2-success); border: 1px solid #88b5a2; background: var(--v2-success-soft); }
.v2-status-pill.warning { color: var(--v2-warning); border-color: #d6b56f; background: var(--v2-warning-soft); }
.v2-status-pill.danger { color: var(--v2-danger); border-color: #d99a94; background: var(--v2-danger-soft); }
.v2-badge { color: var(--v2-navy); background: #e6f0f4; }

.v2-content {
  width: min(1640px, 100%);
  margin: 0 auto;
  padding: 24px 30px 88px;
}
.v2-shell[data-mode="field"] .v2-content {
  width: min(620px, 100%);
  padding: 18px 16px 116px;
}

.v2-page { display: grid; gap: 16px; }
.v2-page-heading {
  container-type: inline-size;
  padding: 22px 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--v2-line);
  border-radius: 18px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 12px 36px rgba(8,40,61,.05);
}
.v2-page-heading h1,
.v2-page-heading p { margin: 0; }
.v2-page-heading h1 { color: var(--v2-navy-deep); font-size: clamp(25px, 4vw, 35px); line-height: 1.15; }
.v2-page-heading p { margin-top: 7px; max-width: 780px; color: var(--v2-muted); line-height: 1.55; }
.v2-shell[data-mode="field"] .v2-page-heading { padding: 18px; }
.v2-shell[data-mode="field"] .v2-page-heading p { font-size: 13px; }

@container (max-width: 560px) {
  .v2-page-heading { display: grid; }
  .v2-page-heading .v2-badge { justify-self: start; }
}

.v2-panel {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--v2-line);
  border-radius: 16px;
  background: var(--v2-surface);
  box-shadow: 0 10px 30px rgba(8,40,61,.045);
}
.v2-panel.compact { padding: 14px; }
.v2-panel-title {
  margin-bottom: 14px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.v2-panel-title h2,
.v2-panel-title h3,
.v2-panel-title p { margin: 0; }
.v2-panel-title h2 { color: var(--v2-navy-deep); font-size: 20px; }
.v2-panel-title h3 { color: var(--v2-navy-deep); font-size: 17px; }
.v2-panel-title p { margin-top: 4px; color: var(--v2-muted); font-size: 13px; line-height: 1.5; }

.v2-task-grid,
.v2-metric-grid,
.v2-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.v2-shell[data-mode="field"] .v2-task-grid,
.v2-shell[data-mode="field"] .v2-card-grid { grid-template-columns: 1fr; }

.v2-task-card {
  width: 100%;
  min-height: 128px;
  padding: 15px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--v2-line);
  border-radius: 15px;
  color: var(--v2-ink);
  background: #fff;
  text-align: left;
}
.v2-task-card:hover { border-color: #99b5c3; box-shadow: 0 10px 28px rgba(8,40,61,.08); }
.v2-task-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--v2-navy);
  background: #e7f1f5;
  font-size: 22px;
}
.v2-task-card strong,
.v2-task-card span,
.v2-task-card small { display: block; }
.v2-task-card strong { color: var(--v2-navy-deep); font-size: 17px; }
.v2-task-card span { margin-top: 4px; color: var(--v2-muted); font-size: 13px; line-height: 1.4; }
.v2-task-card small { margin-top: 6px; color: var(--v2-warning); font-weight: 750; }
.v2-task-arrow { color: var(--v2-blue); font-size: 20px; }
.v2-task-card.urgent { border-color: #e1a29d; background: #fffafa; }
.v2-task-card.urgent .v2-task-icon { color: var(--v2-danger); background: var(--v2-danger-soft); }

.v2-progress-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}
.v2-progress-row progress { grid-column: 1 / -1; width: 100%; height: 12px; accent-color: var(--v2-success); }
.v2-progress-row strong { color: var(--v2-navy-deep); font-size: 22px; }
.v2-progress-row span { color: var(--v2-muted); }

.v2-step-rail {
  display: grid;
  grid-template-columns: repeat(var(--v2-steps, 3), minmax(0, 1fr));
  gap: 8px;
}
.v2-step {
  min-height: 50px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 11px;
  color: var(--v2-muted);
  background: #eef3f5;
  font-size: 12px;
  font-weight: 750;
}
.v2-step b {
  width: 26px;
  height: 26px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #dce6eb;
}
.v2-step.active { color: var(--v2-navy); background: #e2eef3; }
.v2-step.active b { color: #fff; background: var(--v2-navy); }
.v2-step.done { color: var(--v2-success); background: var(--v2-success-soft); }
.v2-step.done b { color: #fff; background: var(--v2-success); }

.v2-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.v2-shell[data-mode="field"] .v2-form-grid { grid-template-columns: 1fr; }
.v2-field { min-width: 0; display: grid; gap: 6px; color: #415965; font-size: 12px; font-weight: 800; }
.v2-field.wide { grid-column: 1 / -1; }
.v2-field input,
.v2-field select,
.v2-field textarea {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #afbec7;
  border-radius: 10px;
  color: var(--v2-ink);
  background: #fff;
}
.v2-field textarea { min-height: 92px; resize: vertical; }
.v2-field small { color: var(--v2-muted); font-weight: 500; line-height: 1.4; }
.v2-field-error { color: var(--v2-danger) !important; font-weight: 750 !important; }

.v2-form-actions {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 9px;
}
.v2-shell[data-mode="field"] .v2-form-actions { display: grid; grid-template-columns: 1fr 1fr; }
.v2-shell[data-mode="field"] .v2-form-actions .v2-primary:last-child { grid-column: 1 / -1; }

.v2-sticky-actions {
  position: sticky;
  bottom: 82px;
  z-index: 20;
  margin: 18px -4px -4px;
  padding: 10px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
  border: 1px solid var(--v2-line);
  border-radius: 14px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 -10px 30px rgba(8,40,61,.10);
  backdrop-filter: blur(12px);
}
.v2-sticky-actions > .v2-primary { min-width: 150px; }

.v2-success,
.v2-warning,
.v2-error,
.v2-info {
  padding: 13px 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-radius: 12px;
  line-height: 1.5;
}
.v2-success { color: #175744; border: 1px solid #95c4b1; background: var(--v2-success-soft); }
.v2-warning { color: #68470e; border: 1px solid #ddbd79; background: var(--v2-warning-soft); }
.v2-error { color: #7c2824; border: 1px solid #dea29d; background: var(--v2-danger-soft); }
.v2-info { color: #214f66; border: 1px solid #9fc0cf; background: #eaf3f7; }
.v2-success strong,
.v2-warning strong,
.v2-error strong,
.v2-info strong { display: block; }
.v2-success span,
.v2-warning span,
.v2-error span,
.v2-info span { display: block; margin-top: 2px; font-size: 13px; }

.v2-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  padding-bottom: 2px;
}
.v2-tabs button {
  flex: none;
  padding: 0 14px;
  border: 1px solid var(--v2-line);
  border-radius: 11px;
  color: var(--v2-muted);
  background: #fff;
  font-weight: 800;
  white-space: nowrap;
}
.v2-tabs button[aria-selected="true"] { color: #fff; border-color: var(--v2-navy); background: var(--v2-navy); }

.v2-master-detail {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr);
  gap: 14px;
}
.v2-list { min-width: 0; display: grid; gap: 8px; align-content: start; }
.v2-record-button {
  width: 100%;
  padding: 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 10px;
  border: 1px solid var(--v2-line);
  border-radius: 12px;
  color: var(--v2-ink);
  background: #fff;
  text-align: left;
}
.v2-record-button[aria-pressed="true"] { border-color: var(--v2-blue); background: #edf5f8; box-shadow: inset 4px 0 0 var(--v2-blue); }
.v2-record-button strong,
.v2-record-button span,
.v2-record-button small { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v2-record-button span,
.v2-record-button small { color: var(--v2-muted); }
.v2-record-button small { grid-column: 1 / -1; }

.v2-dense-table { min-width: 760px; border-collapse: collapse; width: 100%; }
.v2-table-scroll { overflow-x: auto; overscroll-behavior-x: contain; }
.v2-dense-table th,
.v2-dense-table td { padding: 10px 11px; border-bottom: 1px solid var(--v2-line); text-align: left; font-size: 13px; }
.v2-dense-table th { position: sticky; top: 0; z-index: 2; color: #4f626d; background: #eef3f5; font-size: 11px; text-transform: uppercase; letter-spacing: .03em; }
.v2-dense-table tbody tr { cursor: pointer; }
.v2-dense-table tbody tr:hover { background: #f4f8fa; }
.v2-dense-table tbody tr[aria-selected="true"] { background: #e9f3f7; box-shadow: inset 4px 0 0 var(--v2-blue); }
.v2-money { text-align: right !important; font-variant-numeric: tabular-nums; }

.v2-summary-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; }
.v2-summary-card { padding: 14px; border: 1px solid var(--v2-line); border-radius: 13px; background: #f8fafb; }
.v2-summary-card span,
.v2-summary-card strong { display: block; }
.v2-summary-card span { color: var(--v2-muted); font-size: 12px; }
.v2-summary-card strong { margin-top: 5px; color: var(--v2-navy-deep); font-size: 21px; }

.v2-inventory-card { padding: 15px; border: 1px solid var(--v2-line); border-radius: 14px; background: #fff; }
.v2-inventory-card > span,
.v2-inventory-card > strong { display: block; }
.v2-inventory-card > span { color: var(--v2-muted); }
.v2-inventory-card > strong { margin: 8px 0; color: var(--v2-navy-deep); font-size: 28px; }
.v2-inventory-card > strong small { margin-left: 4px; color: var(--v2-muted); font-size: 12px; }
.v2-inventory-meta { display: flex; justify-content: space-between; gap: 8px; color: var(--v2-muted); font-size: 12px; }
.v2-inventory-card.low { border-color: #dba09b; background: #fffafa; }

.v2-segmented { padding: 4px; display: inline-flex; gap: 4px; border: 1px solid var(--v2-line); border-radius: 12px; background: #edf2f4; }
.v2-segmented button { min-height: 44px; padding: 0 12px; border: 0; border-radius: 9px; color: var(--v2-muted); background: transparent; font-weight: 800; }
.v2-segmented button[aria-pressed="true"] { color: var(--v2-navy); background: #fff; box-shadow: 0 3px 10px rgba(8,40,61,.08); }

.v2-bottom-nav {
  position: fixed;
  left: 50%;
  bottom: max(10px, env(safe-area-inset-bottom));
  z-index: 60;
  width: min(590px, calc(100vw - 20px));
  min-height: 70px;
  padding: 6px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 3px;
  border: 1px solid rgba(184,199,207,.9);
  border-radius: 18px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 16px 45px rgba(8,40,61,.22);
  transform: translateX(-50%);
  backdrop-filter: blur(14px);
}
.v2-shell[data-mode="desk"] .v2-bottom-nav { display: none; }
.v2-bottom-nav button {
  min-width: 0;
  padding: 5px 2px;
  display: grid;
  place-items: center;
  gap: 2px;
  border: 0;
  border-radius: 12px;
  color: var(--v2-muted);
  background: transparent;
  font-size: 11px;
  font-weight: 800;
}
.v2-bottom-nav button span:first-child { font-size: 20px; line-height: 1; }
.v2-bottom-nav button[aria-current="page"] { color: var(--v2-navy); background: #e5f0f4; }

.v2-mobile-menu {
  position: fixed;
  inset: auto 10px 92px;
  z-index: 70;
  width: min(420px, calc(100vw - 20px));
  margin-left: auto;
  padding: 12px;
  display: grid;
  gap: 8px;
  border: 1px solid var(--v2-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--v2-shadow);
}
.v2-mobile-menu button { width: 100%; padding: 0 12px; display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--v2-line); border-radius: 10px; color: var(--v2-navy); background: #fff; font-weight: 800; }

.v2-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 120;
  width: min(420px, calc(100vw - 36px));
  padding: 13px 15px;
  border-radius: 13px;
  color: #fff;
  background: var(--v2-navy-deep);
  box-shadow: var(--v2-shadow);
  font-weight: 750;
}
.v2-shell[data-mode="field"] .v2-toast { bottom: 96px; }

.v2-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(7, 31, 47, .54);
  backdrop-filter: blur(5px);
}
.v2-modal {
  width: min(760px, 100%);
  max-height: min(780px, calc(100dvh - 36px));
  overflow: auto;
  padding: 20px;
  border: 1px solid var(--v2-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(4, 24, 38, .34);
}
.v2-modal > header { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; }
.v2-modal h2,
.v2-modal p { margin: 0; }
.v2-modal p { margin-top: 6px; color: var(--v2-muted); line-height: 1.55; }
.v2-modal section { margin-top: 16px; }
.v2-modal footer { margin-top: 18px; display: flex; justify-content: flex-end; gap: 9px; flex-wrap: wrap; }

.v2-review-list { display: grid; gap: 9px; }
.v2-review-item { padding: 12px; display: grid; grid-template-columns: auto 1fr; gap: 10px; border: 1px solid var(--v2-line); border-radius: 12px; background: #f9fbfc; }
.v2-review-item b { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--v2-success); }
.v2-review-item.pending b { background: var(--v2-warning); }
.v2-review-item strong,
.v2-review-item span { display: block; }
.v2-review-item span { margin-top: 3px; color: var(--v2-muted); font-size: 13px; line-height: 1.45; }

.v2-decision-grid { display: grid; gap: 10px; }
.v2-decision { padding: 13px; border: 1px solid var(--v2-line); border-radius: 12px; }
.v2-decision h3,
.v2-decision p { margin: 0; }
.v2-decision p { margin-top: 4px; color: var(--v2-muted); font-size: 13px; }
.v2-decision-options { margin-top: 10px; display: grid; gap: 7px; }
.v2-decision-options label { min-height: 44px; padding: 9px 10px; display: flex; align-items: center; gap: 9px; border: 1px solid var(--v2-line); border-radius: 10px; cursor: pointer; }
.v2-decision-options input { width: 20px; height: 20px; min-height: 0; }

.v2-details { border: 1px solid var(--v2-line); border-radius: 12px; background: #fbfcfd; }
.v2-details summary { padding: 10px 13px; display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--v2-navy); cursor: pointer; font-weight: 800; }
.v2-details > div { padding: 0 13px 13px; color: var(--v2-muted); font-size: 13px; line-height: 1.6; }

.v2-empty { min-height: 130px; display: grid; place-items: center; align-content: center; gap: 5px; color: var(--v2-muted); text-align: center; }
.v2-empty strong { color: var(--v2-navy-deep); }

.v2-calculation {
  padding: 12px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 8px;
  border-radius: 13px;
  background: #edf3f6;
}
.v2-calculation div { padding: 10px; border-radius: 10px; background: #fff; }
.v2-calculation span,
.v2-calculation strong { display: block; }
.v2-calculation span { color: var(--v2-muted); font-size: 11px; }
.v2-calculation strong { margin-top: 4px; color: var(--v2-navy-deep); font-size: 18px; }
.v2-calculation .danger strong { color: var(--v2-danger); }

.v2-delivery-actions { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
.v2-delivery-actions button { width: 100%; }

.v2-a4-preview {
  width: min(794px, 100%);
  min-height: 540px;
  margin: 0 auto;
  padding: 34px;
  border: 1px solid #cfd9de;
  background: #fff;
  box-shadow: 0 10px 35px rgba(8,40,61,.08);
}
.v2-a4-preview h2,
.v2-a4-preview p { margin: 0; }
.v2-a4-preview header { padding-bottom: 18px; display: flex; justify-content: space-between; gap: 16px; border-bottom: 2px solid var(--v2-navy); }
.v2-a4-preview table { width: 100%; margin-top: 18px; border-collapse: collapse; }
.v2-a4-preview th,
.v2-a4-preview td { padding: 9px; border-bottom: 1px solid var(--v2-line); text-align: left; font-size: 13px; }

.v2-field-only { display: none; }
.v2-shell[data-mode="field"] .v2-field-only { display: initial; }
.v2-shell[data-mode="field"] .v2-desk-only { display: none !important; }

@media (max-width: 1120px) {
  .v2-master-detail { grid-template-columns: 1fr; }
  .v2-summary-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 820px) {
  .v2-shell,
  .v2-shell[data-mode="desk"] { grid-template-columns: minmax(0,1fr); }
  .v2-side-nav { display: none; }
  .v2-stage { grid-column: 1; }
  .v2-topbar,
  .v2-shell[data-mode="field"] .v2-topbar {
    max-width: none;
    margin: 0;
    padding: 9px 12px;
    border-inline: 0;
    border-radius: 0;
  }
  .v2-topbar-title small { display: none; }
  .v2-top-actions .v2-icon-button span:last-child { display: none; }
  .v2-content,
  .v2-shell[data-mode="field"] .v2-content { width: 100%; padding: 16px 12px 112px; }
  .v2-shell[data-mode="desk"] .v2-bottom-nav { display: grid; }
  .v2-form-grid { grid-template-columns: 1fr; }
  .v2-page-heading { padding: 17px; }
  .v2-page-heading h1 { font-size: 27px; }
  .v2-summary-grid { grid-template-columns: 1fr 1fr; }
  .v2-calculation { grid-template-columns: 1fr 1fr; }
  .v2-delivery-actions { grid-template-columns: 1fr; }
  .v2-sticky-actions { bottom: 86px; }
}

@media (max-width: 520px) {
  .v2-mode-switch button { padding: 0 9px; }
  .v2-preview-badge { display: none; }
  .v2-page-heading { display: grid; }
  .v2-step-rail { gap: 5px; }
  .v2-step { padding: 6px; justify-content: center; }
  .v2-step span { display: none; }
  .v2-form-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .v2-summary-grid { grid-template-columns: 1fr; }
  .v2-calculation { grid-template-columns: 1fr 1fr; }
  .v2-a4-preview { padding: 20px 15px; }
  .v2-a4-preview header { display: grid; }
}

@media print {
  .v2-side-nav,
  .v2-topbar,
  .v2-bottom-nav,
  .v2-toast,
  .v2-page-heading,
  .v2-tabs,
  .v2-form-actions { display: none !important; }
  .v2-demo,
  .v2-content,
  .v2-panel { padding: 0; background: #fff; box-shadow: none; border: 0; }
  .v2-a4-preview { width: 100%; min-height: 0; box-shadow: none; border: 0; }
}
