/* Honey Amber: matte sand, translucent cast resin, warm ivory surfaces. */
:root:has(.honey-amber) {
  color-scheme: light;
  --optical-ink: #302013;
  --optical-muted: #6e5741;
  --optical-accent: #784514;
  --optical-line: #d9c2a0;
  --optical-outer: #eee1cf;
  --optical-shell: #f8efe3;
  --optical-paper: #fffaf1;
  --optical-input: #f7ecd9;
  --optical-soft: #f4e7d3;
  --optical-tint: #f7e0bd;
  --optical-result-edge: #deba83;
  --optical-track: #e1c9a6;
  --optical-focus: #925312;
  --optical-danger: #a1263e;
  --champagne-shadow: #6e411c19;
  --champagne-panel: linear-gradient(145deg, #fffaf3, #faf0e2);
  --champagne-field: linear-gradient(170deg, #fffbf4, #f3e7d6);
  --champagne-rail: #b96e22;
  --champagne-result-ink: #40250f;
  --champagne-result:
    radial-gradient(ellipse at 19% 113%, #ffe1a7a8 0%, transparent 64%),
    linear-gradient(148deg, #fcf0dc 7%, #f8e6cb 62%, #f4d6ac);
  --champagne-metal: linear-gradient(170deg, #f9e5bb, #efd095 72%, #e9bd78);
  --champagne-metal-ink: #452511;
  --amber-face:
    radial-gradient(ellipse at 22% 122%, #fff2c6b8 0%, transparent 58%),
    linear-gradient(112deg, #bb6e25 1%, #e8ad59 29%, #f5cc83 54%, #d58a39 87%, #b66b23 100%);
  --amber-shell-shadow: 0 14px 52px #59381f26;
  --amber-contact: #9d561f;
}

body:has(.honey-amber) {
  background: radial-gradient(ellipse at 46% -12%, #fbf3e7 0%, var(--optical-outer) 80%);
}
.app.champagne-arc.honey-amber {
  background: var(--optical-shell);
  box-shadow: var(--amber-shell-shadow);
}
.honey-amber .intro-module .optical-hero-image {
  object-position: right center;
  filter: none;
}
.honey-amber .intro-module::before {
  background: linear-gradient(90deg, #f8efe3ed 0%, #f7eddfce 34%, #f7eddf25 63%, transparent 77%);
}
.honey-amber:not(.copper-c-form) .copper-brand {
  margin-bottom: 12px;
  border-inline-start-color: #bd792e;
}
.honey-amber .calculator-panel {
  padding: 13px 12px 10px;
  border-color: #d5b88d;
  border-top-color: #e2c8a2;
  border-radius: 16px;
  box-shadow: inset 0 0 0 2px #fffdfa9c, 0 5px 14px #6e411c17;
}
.honey-amber .amount > strong {
  padding: 5px 11px;
  border-color: #dec4a1;
  border-radius: 10px;
  background: linear-gradient(146deg, #fff0d9, #f8e4c5);
  box-shadow: inset 0 1px 2px #86512219, 0 1px #fffaf1;
}
.honey-amber #amount::-webkit-slider-runnable-track {
  box-shadow: inset 0 1px 2px #633c172b, 0 1px 0 #fffbf1;
}
.honey-amber #amount::-webkit-slider-thumb {
  border-color: #fff1d5;
  background: radial-gradient(circle at 32% 23%, #fff9e7 5%, #f5dab0 52%, #d69345 100%);
  box-shadow: 0 0 0 1px #b97936, 0 2px 4px #8751224a;
}
.honey-amber #amount::-moz-range-thumb {
  border-color: #fff1d5;
  background: radial-gradient(circle at 32% 23%, #fff9e7 5%, #f5dab0 52%, #d69345 100%);
  box-shadow: 0 0 0 1px #b97936, 0 2px 4px #8751224a;
}
.honey-amber .term-section { border-color: #e9d4b7; }
.honey-amber .choices .selected,
.honey-amber .inline-amount .bands button.selected {
  border-color: #c58e4f;
  background: var(--champagne-metal);
  color: var(--champagne-metal-ink);
  box-shadow: inset 0 1px 0 #fff4d7, inset 0 -2px 0 #b0703032, 0 2px 4px #6e411c20;
}
.honey-amber .purpose-section {
  position: relative;
  padding-top: 23px;
  margin-block: 12px 13px;
}
.honey-amber .purpose-section summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 37px;
  padding: 0 10px;
}
.honey-amber .purpose-section summary > span {
  position: absolute;
  inset: 0 auto auto 0;
  color: var(--optical-ink);
  font-size: 15px;
  line-height: 19px;
  font-weight: 800;
}
.honey-amber .purpose-section summary > strong {
  justify-self: start;
  margin: 0;
  text-align: start;
  font-weight: 650;
}
.honey-amber .purpose-section summary b { justify-self: end; }
.honey-amber .result {
  border-color: #d7b784;
  border-radius: 15px;
  box-shadow: inset 0 2px 5px #b47d3f21, inset 0 -1px 0 #fff8ecbc, 0 1px 0 #fff8eb;
}
.honey-amber .payment-row { padding: 9px 8px 3px; }
.honey-amber .payment-row #payment {
  font-size: clamp(33px, 10.65vw, 50px);
  line-height: 1.04;
  letter-spacing: -.042em;
  text-shadow: 0 1px 0 #fff2da;
  font-variant-numeric: tabular-nums;
}
.honey-amber .cost-details summary { color: var(--optical-accent); font-weight: 700; }
.honey-amber #calculator .apply-dock { margin-top: 8px; }
.honey-amber #calculator .apply-dock .sundial-activity {
  display: grid;
  grid-template-columns: max-content minmax(0,1fr) max-content;
  align-items: center;
  gap: 9px;
  overflow: hidden;
  border-color: #e1c9a9;
  border-inline-start: 2px solid #c08a50;
  background: linear-gradient(170deg, #fdf7ed, #f6ebdb);
  opacity: 1;
  visibility: visible;
}
.honey-amber .sundial-activity:focus-visible { outline: 2px solid var(--optical-focus); outline-offset: 2px; }
.honey-amber .sundial-activity .optical-activity-label { line-height: 1.12; }
.honey-amber .sundial-activity .optical-activity-label small { margin-top: 3px; }
.honey-amber .sundial-activity .capsule-person {
  display: flex;
  flex-wrap: nowrap;
  gap: 5px;
  color: var(--optical-ink);
  font-size: 13px;
  line-height: 1.12;
  white-space: nowrap;
}
.honey-amber .sundial-activity .capsule-person > strong { color: inherit; }
.honey-amber .sundial-activity .capsule-status { font-size: 11px; line-height: 1.1; white-space: nowrap; }
.honey-amber #calculator .apply-dock .notice-amount {
  min-width: 45px;
  margin: 0;
  text-align: center;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* An imperfect amber refraction, bright inner rim and dark cast-resin foot. */
.honey-amber .primary {
  touch-action: manipulation;
  min-height: 53px;
  padding: 10px 12px;
  background: var(--amber-face);
  color: #321c09;
  border: 1px solid #a46629;
  border-top-color: #e0b77e;
  border-radius: 23px;
  box-shadow:
    inset 0 0 0 1px #fff4dba8,
    inset 0 0 0 4px #f9ce8a76,
    inset 0 -6px 10px #a55c1e42,
    0 4px 0 var(--amber-contact),
    0 8px 13px #83501f39;
  letter-spacing: .025em;
  text-shadow: 0 1px 0 #fff1cb75;
  line-height: 1.25;
}
.honey-amber .primary::before {
  background: radial-gradient(ellipse at 22% 0%, #fff6dfbd 0%, #fff5d777 11%, transparent 46%);
}
.honey-amber .primary::after {
  content: '';
  position: absolute;
  pointer-events: none;
  inset: 3px;
  border-radius: 19px;
  border: 1px solid #7e460e3c;
  border-top-color: #fff2d9b5;
  border-bottom-color: #fff0c37a;
}
.honey-amber .primary:active:not(:disabled) {
  transform: translateY(3px);
  box-shadow: inset 0 0 0 1px #fff4dba8, inset 0 2px 5px #86512163, 0 1px 0 var(--amber-contact), 0 3px 5px #83501f36;
}
/* Homepage only: light passes through the rounded rim and pools at the bottom. */
.honey-amber #apply {
  font-size: clamp(19px, 5.65vw, 23px);
  border-radius: 999px;
  border: 1px solid #ad6f20;
  border-top-color: #d79643;
  background:
    radial-gradient(ellipse 67% 115% at 51% 115%, #fff0a7 0%, #ffd371 46%, #e9a33d9e 78%, transparent 95%),
    radial-gradient(ellipse 36% 125% at -5% 43%, #f9cb73 9%, #c8842d44 64%, transparent 96%),
    linear-gradient(180deg, #e5a349 0%, #f5d294 19%, #edbd70 47%, #f7cf85 74%, #e6a545 100%);
  box-shadow:
    inset 0 0 0 1px #fff4cfc2,
    inset 0 1px 4px #fff7dbd1,
    inset 0 -4px 6px #b46f285f,
    0 2px 0 #d38d33,
    0 4px 0 -1px #ffc45f,
    0 7px 11px -3px #a8673170;
  text-shadow: 0 1px 0 #fff2cc7d;
}
.honey-amber #apply::before {
  inset: 4px 5px 5px;
  background:
    radial-gradient(ellipse 65% 45% at 50% 101%, #fff1a785 0%, transparent 95%),
    linear-gradient(180deg, #92520f27 0%, transparent 28%, transparent 72%, #fff0ba55 100%);
  box-shadow: inset 0 1px 2px #8c4b1552;
}
.honey-amber #apply::after {
  inset: 2px;
  border-radius: inherit;
  border: 0;
  background:
    radial-gradient(ellipse 35px 7px at 9% 12%, #fffdf2 0%, #fff9dfde 31%, #fff3bf22 77%, transparent 100%),
    radial-gradient(ellipse 28px 7px at 92% 12%, #fffdf0fa 0%, #fff4d391 42%, transparent 100%),
    radial-gradient(ellipse 60% 4px at 51% 98%, #fff7c2 0%, #ffe4959e 66%, transparent 100%);
}
.honey-amber #apply:active:not(:disabled) {
  transform: translateY(2px);
  box-shadow: inset 0 0 0 1px #fff4cfa8, inset 0 2px 6px #b06b3866, 0 1px 0 #d38d33, 0 3px 5px #a8673152;
}
.honey-amber #calculator .disclaimer { color: var(--optical-muted); }
.honey-amber .card.success .line { color: #fff; }

@media (max-width: 520px) {
  .app.champagne-arc.honey-amber { box-shadow: none; }
}
@media (max-width: 360px) {
  .honey-amber .calculator-panel { padding-inline: 10px; }
  .honey-amber #calculator .apply-dock .sundial-activity { gap: 7px; }
}
@media (max-height: 760px) {
  .honey-amber .purpose-section { margin-block: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .honey-amber .primary:active:not(:disabled), .honey-amber #apply:active:not(:disabled) { transform: none; }
}
@media (forced-colors: active) {
  .honey-amber .primary, .honey-amber #apply { background: ButtonFace; color: ButtonText; border: 2px solid ButtonText; text-shadow: none; box-shadow: none; }
  .honey-amber .primary::before, .honey-amber .primary::after, .honey-amber #apply::before, .honey-amber #apply::after { display: none; }
}
