:root {
  --ink:#26182d;
  --muted:#766779;
  --line:#e8e0e9;
  --canvas:#f7f3f7;
  --panel:#fff;
  --raised:#fbf8fb;
  --coral:#a83559;
  --plum:#4b1d4f;
  --focus:#cc456e;
  --danger:#ad2040;
  --soft:#fceef3;
  --shadow:0 10px 34px rgba(34,18,40,.06)
}
* {
  box-sizing:border-box
}
body {
  margin:0;
  min-height:100vh;
  background:var(--canvas);
  color:var(--ink);
  font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  -webkit-font-smoothing:antialiased
}
button,input,select {
  font:inherit
}
button,a,input,select {
  touch-action:manipulation
}
button {
  cursor:pointer
}
button:disabled {
  cursor:default;
  opacity:.55
}
button:active:not(:disabled) {
  transform:translateY(1px)
}
:focus-visible {
  outline:3px solid var(--focus);
  outline-offset:3px
}
.sr-only,.skip-link:not(:focus) {
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip-path:inset(50%)
}
.skip-link:focus {
  display:block;
  padding:12px;
  background:var(--panel);
  color:var(--ink)
}
.cost-topbar {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
  max-width:1280px;
  margin:auto;
  padding:20px 28px
}
.cost-brand {
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:var(--ink);
  font-weight:800;
  font-size:15px
}
.cost-brand img {
  width:40px;
  height:40px;
  object-fit:contain
}
.cost-brand small {
  display:block;
  font-size:10px;
  font-weight:600;
  color:var(--muted);
  margin-top:3px
}
.cost-topbar nav {
  display:flex;
  gap:7px
}
.cost-topbar nav a {
  color:var(--muted);
  text-decoration:none;
  font-weight:650;
  font-size:12px;
  padding:11px 13px;
  border-radius:10px
}
.cost-topbar nav a[aria-current] {
  color:var(--coral);
  background:var(--soft)
}
.cost-topbar nav a:hover {
  background:var(--soft)
}
.cost-page {
  max-width:1280px;
  padding:8px 28px 64px;
  margin:auto
}
.cost-hero {
  background:linear-gradient(125deg,#21122f,#4b1d4f 55%,#96355f);
  border-radius:26px;
  padding:30px 34px;
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:20px;
  color:#fff
}
.cost-eyebrow {
  font-size:10px;
  letter-spacing:1.3px;
  text-transform:uppercase;
  font-weight:700;
  color:#ffcbd9
}
h1 {
  font-size:clamp(28px,4vw,42px);
  line-height:1.08;
  letter-spacing:-1.4px;
  margin:12px 0
}
h1 br {
  display:none
}
.cost-hero p {
  font-size:13px;
  line-height:1.65;
  color:#ebd9e8;
  max-width:480px;
  margin:0
}
.cost-hero-tag {
  font-size:11px;
  font-weight:650;
  white-space:nowrap;
  border:1px solid #ba769d;
  padding:10px 12px;
  border-radius:10px;
  background:#ffffff0c
}
.cost-overview {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:24px 2px 10px
}
.cost-coverage {
  font-size:14px
}
.cost-overview p {
  font-size:12px;
  line-height:1.6;
  color:var(--muted);
  margin:6px 0 0
}
.ghost-button {
  border:1px solid var(--line);
  background:var(--panel);
  color:var(--ink);
  padding:11px 14px;
  border-radius:11px;
  font-weight:650;
  font-size:12px;
  white-space:nowrap
}
.ghost-button:hover {
  border-color:var(--coral)
}
.cost-notice {
  min-height:20px;
  color:var(--muted);
  font-size:12px;
  line-height:1.6;
  margin:8px 2px 17px
}
.cost-error {
  color:var(--danger);
  font-weight:600
}
.cost-layout {
  display:grid;
  grid-template-columns:minmax(235px,.85fr) minmax(0,1.6fr);
  gap:20px;
  align-items:start
}
.cost-catalog {
  padding:19px;
  border:1px solid var(--line);
  border-radius:20px;
  background:var(--panel)
}
.cost-search-label {
  font-size:11px;
  font-weight:700;
  display:block
}
.cost-search-label input {
  display:block;
  width:100%;
  margin:9px 0 12px;
  border:1px solid var(--line);
  background:var(--raised);
  color:var(--ink);
  padding:12px;
  border-radius:11px;
  font-size:13px
}
.cost-missing {
  display:flex;
  align-items:center;
  gap:7px;
  font-size:12px;
  color:var(--muted);
  padding:0 0 10px
}
.cost-missing input {
  accent-color:var(--coral);
  width:16px;
  height:16px
}
.cost-list {
  max-height:620px;
  overflow:auto;
  display:grid;
  gap:7px;
  padding:4px
}
.cost-item {
  width:100%;
  padding:14px 12px;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:7px 10px;
  border:1px solid transparent;
  border-radius:12px;
  background:transparent;
  text-align:left;
  color:var(--ink);
  transition:background .15s,border-color .15s
}
.cost-item:hover {
  background:var(--raised)
}
.cost-item.selected {
  background:var(--soft);
  border-color:var(--coral)
}
.cost-item-name {
  overflow-wrap:anywhere;
  font-size:12px;
  font-weight:700;
  line-height:1.5
}
.cost-item-points {
  color:var(--coral);
  font-size:11px;
  font-weight:750;
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
  padding-top:2px
}
.cost-item-meta {
  font-size:10px;
  color:var(--muted);
  grid-column:1/-1
}
.cost-editor {
  padding:28px;
  background:var(--panel);
  border-radius:22px;
  box-shadow:var(--shadow);
  min-width:0
}
.cost-editor-eyebrow {
  font-size:10px;
  text-transform:uppercase;
  color:var(--coral);
  letter-spacing:1px;
  font-weight:750
}
.cost-editor h2 {
  overflow-wrap:anywhere;
  font-size:25px;
  letter-spacing:-.7px;
  line-height:1.25;
  margin:8px 0
}
.cost-editor-sub {
  font-size:12px;
  line-height:1.6;
  color:var(--muted);
  margin:0 0 22px
}
.cost-variant-label {
  font-size:11px;
  font-weight:700;
  display:flex;
  align-items:center;
  gap:12px
}
.cost-variant-label select {
  min-width:0;
  padding:10px 30px 10px 12px;
  border:1px solid var(--line);
  border-radius:9px;
  background:var(--raised);
  color:var(--ink);
  max-width:100%
}
.cost-sku {
  font-family:ui-monospace,monospace;
  font-size:10px;
  color:var(--muted);
  overflow-wrap:anywhere;
  margin:8px 0 24px
}
.cost-fields {
  padding:0;
  margin:0;
  border:0;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px 20px
}
.cost-field-title {
  display:block;
  font-size:12px;
  font-weight:700
}
.cost-field-hint {
  display:block;
  font-size:11px;
  color:var(--muted);
  margin:5px 0 9px
}
.cost-money-input {
  display:flex;
  align-items:center;
  border:1px solid var(--line);
  border-radius:11px;
  padding:0 13px;
  background:var(--raised);
  color:var(--muted)
}
.cost-money-input input {
  min-width:0;
  width:100%;
  border:0;
  background:transparent;
  padding:13px 9px;
  color:var(--ink);
  font-size:16px;
  font-variant-numeric:tabular-nums
}
.cost-money-input:focus-within {
  border-color:var(--coral);
  box-shadow:0 0 0 2px var(--soft)
}
.cost-money-input input:focus-visible {
  outline:0
}
.cost-money-input:has([aria-invalid=true]) {
  border-color:var(--danger)
}
input::placeholder {
  color:var(--muted);
  opacity:.9;
  font-size:12px
}
.cost-estimate {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:22px;
  margin-top:28px;
  border-radius:16px;
  background:var(--soft)
}
.cost-total-label {
  display:block;
  font-size:11px;
  font-weight:650;
  color:var(--muted)
}
.cost-total-value {
  display:block;
  font-size:34px;
  font-weight:750;
  letter-spacing:-1px;
  margin:6px 0;
  font-variant-numeric:tabular-nums
}
.cost-rate,.cost-completeness {
  font-size:11px;
  line-height:1.6;
  color:var(--muted)
}
.cost-completeness {
  text-align:right;
  max-width:140px
}
.cost-save {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-top:23px
}
.cost-save-state {
  font-size:11px;
  color:var(--muted)
}
.primary-button {
  border:0;
  border-radius:12px;
  padding:13px 22px;
  background:var(--coral);
  color:white;
  font-size:12px;
  font-weight:750;
  min-height:44px
}
.primary-button:hover:not(:disabled) {
  filter:brightness(.93)
}
.cost-footnote {
  font-size:11px;
  line-height:1.6;
  color:var(--muted);
  margin:22px 0 0;
  max-width:62ch
}
.cost-muted {
  font-size:13px;
  color:var(--muted);
  line-height:1.6
}
:root[data-theme="dark"] {
    --ink:#f6edf6;
    --muted:#b7a4b8;
    --line:#413047;
    --canvas:#160f1c;
    --panel:#211727;
    --raised:#2a1e30;
    --coral:#e68ba9;
    --focus:#f4a0bc;
    --danger:#ff9db1;
    --soft:#352133;
    --shadow:0 10px 34px #0002
}
  [data-theme="dark"] .primary-button {
    background:#a83559;
    color:#fff
  }
  [data-theme="dark"] .cost-hero {
    border:1px solid #643558
  }
@media(max-width:800px) {
  .cost-layout {
    grid-template-columns:1fr
  }
  .cost-list {
    max-height:210px
  }
  .cost-catalog {
    padding:16px
  }
  .cost-editor {
    padding:23px
  }
  .cost-topbar {
    padding:16px 20px
  }
  .cost-page {
    padding:6px 20px 50px
  }
  .cost-hero {
    padding:26px
  }
  .cost-hero-tag {
    display:none
  }
}
@media(max-width:480px) {
  .cost-topbar {
    padding:15px;
    gap:8px
  }
  .cost-brand img {
    width:32px;
    height:32px
  }
  .cost-brand {
    font-size:12px
  }
  .cost-brand small {
    font-size:9px
  }
  .cost-topbar nav {
    gap:0
  }
  .cost-topbar nav a {
    padding:9px 7px;
    font-size:10px
  }
  .cost-topbar nav a:last-child {
    display:none
  }
  .cost-page {
    padding:5px 14px 40px
  }
  .cost-hero {
    padding:24px;
    border-radius:21px
  }
  h1 {
    font-size:32px
  }
  h1 br {
    display:block
  }
  .cost-overview {
    gap:12px
  }
  .cost-overview p {
    font-size:11px
  }
  .ghost-button {
    padding:10px;
    font-size:11px
  }
  .cost-coverage {
    font-size:12px
  }
  .cost-fields {
    gap:20px 12px
  }
  .cost-field-hint {
    font-size:10px;
    min-height:25px
  }
  .cost-editor {
    padding:22px 18px
  }
  .cost-editor h2 {
    overflow-wrap:anywhere;
    font-size:23px
  }
  .cost-estimate {
    padding:18px;
    gap:12px
  }
  .cost-total-value {
    font-size:30px
  }
  .cost-completeness {
    max-width:100px
  }
  .cost-save-state {
    max-width:145px
  }
}
@media(prefers-reduced-motion:reduce) {
  * {
    transition:none!important;
    scroll-behavior:auto!important
  }
}
