
/* NailMuse unified calculator skin (generated) */
.calculator-page {
  background: #faf7f1;
}
.calculator-page .quiz-wrap {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

:root {
  --ink: #1a1210;
  --muted: #6b5c54;
  --line: #e5d8cc;
  --paper: #e5dbd0;
  --card: #fff;
  --title: #3f020a;
  --btn: #8a4657;
  --accent: #8a4657;
  --accent-soft: #f3e6e2;
  --score: #fffdf9;
  --result: #f5eee6;
}

* { box-sizing: border-box; margin: 0; }

.calculator-page .quiz-wrap {
  font-family: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

.calculator-page .quiz-wrap > main {
  max-width: 720px;
  margin: 0 auto;
  padding: 16px 16px 64px;
}

.proto-tag {
  display: inline-block;
  margin: 4px 0 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(63, 2, 10, 0.08);
  color: var(--title);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quiz-lead {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  margin: 8px 0 8px;
}
.quiz-lead em { color: var(--title); font-style: italic; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  margin: 18px 0;
  box-shadow: 0 8px 28px rgba(42, 24, 20, 0.06);
}

.badge {
  color: var(--title);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.75;
}

h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 26px;
  line-height: 1.2;
  color: var(--title);
  margin: 8px 0 12px;
}

.small { color: var(--muted); font-size: 14px; line-height: 1.55; }

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.grid.one { grid-template-columns: 1fr; }

.option {
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 44px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #faf7f4;
  cursor: pointer;
  font-size: 14px;
}
.option:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.option input { accent-color: var(--accent); }
.option .opt-meta {
  margin-left: auto;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

.quiz-stack {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 8px;
  padding-bottom: 5.5rem;
}
.quiz-block {
  padding-top: 4px;
  border-top: 1px solid #eee4e1;
}
.quiz-block:first-child { border-top: 0; padding-top: 0; }
.quiz-block__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--title);
  margin: 0 0 6px;
  line-height: 1.35;
}
.quiz-block__hint { margin: 0 0 12px; }

.date-hint {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink);
}
.date-hint strong {
  font-weight: 700;
}
.sky-line--under-cal {
  gap: 4px 6px;
}
.sky-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}
.sky-line__date {
  color: var(--ink);
  font-weight: 700;
}
.sky-line__sep {
  color: rgba(63, 2, 10, 0.28);
  font-weight: 500;
}
.sky-line__path {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.sky-line__via {
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1;
}
.sky-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  box-shadow: none;
}
.sky-pill__glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15em;
  height: 1.15em;
  border-radius: 0;
  font-size: 17px;
  line-height: 1;
  background: none;
  box-shadow: none;
}
.sky-pill--sun .sky-pill__glyph {
  color: #c4922a;
  /* ☉ optically smaller than zodiac glyphs — bump to match */
  font-size: 20px;
  transform: translateY(0.5px);
}
.sky-pill--sign .sky-pill__glyph {
  color: var(--sign, #6b2d3c);
  font-size: 17px;
}

/* Month calendar */
.cal {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #faf7f4;
  padding: 14px 12px 12px;
}
.cal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}
.cal__title {
  flex: 1;
  text-align: center;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--title);
  margin: 0;
}
.cal__nav {
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--title);
  border: 1px solid var(--line);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}
.cal__nav:hover { background: var(--accent-soft); filter: none; }
.cal__week,
.cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal__week { margin-bottom: 4px; }
.cal__weekday {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
  padding: 4px 0;
}
.cal__day {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 58px;
  padding: 6px 2px 5px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  box-shadow: none;
}
.cal__day:hover {
  filter: none;
  border-color: rgba(63, 2, 10, 0.18);
  background: var(--accent-soft);
}
.cal__day--empty {
  background: transparent;
  pointer-events: none;
  box-shadow: none;
  min-height: 58px;
}
.cal__day.is-today {
  box-shadow: inset 0 0 0 1px rgba(63, 2, 10, 0.22);
}
.cal__day.is-selected {
  background: var(--btn);
  color: #fff;
  border-color: var(--btn);
}
.cal__day.is-selected .cal__day-sign { color: #f3e6e2 !important; opacity: 0.95; }
.cal__day-num {
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}
.cal__day-sign {
  font-size: 9px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0;
  opacity: 0.9;
  text-align: center;
  max-width: 100%;
  overflow: hidden;
  text-overflow: clip;
  white-space: normal;
  hyphens: auto;
}
.cal__today {
  display: block;
  width: 100%;
  margin-top: 10px;
  background: transparent;
  color: var(--title);
  border: 1px solid rgba(63, 2, 10, 0.18);
  font-weight: 600;
  padding: 10px 14px;
}
.cal__today:hover {
  filter: none;
  background: rgba(63, 2, 10, 0.04);
}

.duration-block { padding: 4px 2px 0; }
.duration-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 10px;
}
.duration-value {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--title);
}
.duration-range-label { font-size: 13px; color: var(--muted); }
.duration-block input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
}
.duration-forecast {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--title);
  font-size: 13.5px;
  line-height: 1.5;
}
.forecast-sign {
  white-space: nowrap;
  font-weight: 600;
}
.forecast-sign__glyph {
  font-size: 1.05em;
  font-weight: 500;
}
.forecast-sign__glyph--sun {
  color: #c4922a;
  /* ☉ optically smaller than emoji zodiac glyphs — bump to match */
  font-size: 1.45em;
  line-height: 1;
  display: inline-block;
  vertical-align: -0.08em;
  transform: translateY(0.5px);
}

.accordion-item { border-bottom: 1px solid #eee4e1; }
.accordion-item:last-of-type { border-bottom: 0; }
.accordion-head {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 14px 4px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.accordion-num {
  flex: 0 0 28px;
  height: 28px;
  border-radius: 99px;
  background: var(--accent-soft);
  color: var(--title);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}
.accordion-item.is-done .accordion-num {
  background: var(--btn);
  color: #fff;
}
.accordion-title {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}
.accordion-meta {
  font-size: 12px;
  color: var(--title);
  font-weight: 700;
  min-width: 2.5em;
  text-align: right;
  opacity: 0.7;
}
.accordion-chev {
  width: 10px;
  height: 10px;
  border-right: 2px solid #9a9092;
  border-bottom: 2px solid #9a9092;
  transform: rotate(45deg);
  transition: transform 0.2s;
  margin-right: 6px;
}
.accordion-item.is-open .accordion-chev {
  transform: rotate(-135deg);
  margin-top: 6px;
}
.accordion-body {
  display: none;
  padding: 0 2px 16px;
}
.accordion-item.is-open .accordion-body { display: block; }
.accordion-hint { margin: 0 0 12px; }
.accordion-next { margin-top: 12px; width: 100%; }

.quiz-actions-bar {
  position: sticky;
  bottom: 8px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(24, 24, 24, 0.08);
}

button, .cta {
  background: var(--btn);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 13px 22px;
  font: 700 15px/1 "Source Sans 3", system-ui, sans-serif;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
}
button:hover, .cta:hover { filter: brightness(1.05); }
button:disabled {
  background: #c4b9ba;
  cursor: default;
  filter: none;
}

.btn-secondary {
  background: transparent;
  color: var(--muted);
  border: 1px solid rgba(63, 2, 10, 0.18);
  box-shadow: none;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.btn-secondary:hover {
  filter: none;
  color: var(--title);
  border-color: rgba(63, 2, 10, 0.35);
  background: rgba(63, 2, 10, 0.04);
}
.quiz-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 22px auto 4px;
  max-width: 480px;
  width: 100%;
}
.quiz-actions .btn-secondary {
  min-width: min(100%, 240px);
  padding: 12px 28px;
}

/* Result */
.result-card {
  width: 100%;
  max-width: 480px;
  margin: 12px auto 0;
  background: var(--result);
  border-radius: 16px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.65) inset,
    0 16px 40px rgba(42, 24, 20, 0.14);
  padding: 28px 28px 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.calculator-page .quiz-wrap .brand,
.calculator-page .quiz-wrap header.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
}
.calculator-page .quiz-wrap .brand-logo {
  display: block;
  width: 148px;
  height: auto;
}

.sky-label {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.title {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: 30px;
  line-height: 1.05;
  color: var(--title);
  letter-spacing: -0.015em;
}

.timeline {
  width: 100%;
  margin-top: 20px;
  padding: 14px 12px 12px;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 12px;
  border: 1px solid rgba(63, 2, 10, 0.06);
}
.timeline-bar {
  display: flex;
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: #ddd4ca;
}
.timeline-seg {
  height: 100%;
  min-width: 2px;
}
.timeline-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 12px;
  justify-content: center;
}
.timeline-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--ink);
}
.timeline-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.timeline-dates {
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}

.nails-band {
  width: 100%;
  margin-top: 18px;
  max-width: 280px;
}
.nails-site-mark {
  margin: 10px 0 0;
  text-align: center;
  font-family: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: lowercase;
  color: var(--muted, #6b5c54);
}
.nails-placeholder {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 10px;
  min-height: 140px;
  padding: 18px 8px 10px;
  background: linear-gradient(180deg, #faf6f1 0%, #efe6db 100%);
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px rgba(63, 2, 10, 0.06);
}
.nails-placeholder.has-photo {
  align-items: center;
  padding: 0;
  background: transparent;
  box-shadow: none;
}
.nails-photo {
  display: block;
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: contain;
  border-radius: 14px;
}
.nail {
  width: 36px;
  border-radius: 18px 18px 10px 10px;
  box-shadow:
    0 6px 14px rgba(42, 24, 20, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  position: relative;
}
.nail::after {
  content: "";
  position: absolute;
  inset: 10% 18% auto;
  height: 28%;
  border-radius: 40%;
  background: linear-gradient(180deg, rgba(255,255,255,0.45), transparent);
  pointer-events: none;
}
.nail:nth-child(1) { height: 78px; }
.nail:nth-child(2) { height: 92px; }
.nail:nth-child(3) { height: 100px; }
.nail:nth-child(4) { height: 90px; }
.nail:nth-child(5) { height: 72px; }

.score {
  width: 100%;
  margin-top: 18px;
  background: var(--score);
  border-radius: 14px;
  box-shadow:
    0 0 0 1px rgba(63, 2, 10, 0.06),
    0 10px 28px rgba(42, 24, 20, 0.08);
  padding: 20px 16px 16px;
  text-align: left;
}
.score-head { margin: 0 0 0; padding: 0 2px; }
.inspire-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--title);
  opacity: 0.7;
}
.inspire-kicker::before,
.inspire-kicker::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(63, 2, 10, 0.14);
}
.inspire {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--muted);
  text-align: center;
}
.inspire-name {
  display: block;
  margin-top: 8px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 16px;
  font-weight: 600;
  font-style: italic;
  line-height: 1.3;
  color: var(--title);
  letter-spacing: -0.01em;
}
.inspire-note {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(63, 2, 10, 0.1);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
}

.wear-note,
.calculator-page .wear-note,
.result-card .wear-note,
.result-card #wear-note {
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(63, 2, 10, 0.1);
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 500;
  color: #4a3f39;
}
.wear-note__line {
  display: block;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 16px;
  height: 44px;
  padding: 0;
}

@media (max-width: 650px) {
  .grid { grid-template-columns: 1fr; }
  .card { padding: 16px; }
  .accordion-title { font-size: 15px; }
  .result-card { padding: 22px 18px 28px; }
  .title { font-size: 26px; }
}

@media (min-width: 920px) {
  main { max-width: 960px; }
  .result-card {
    max-width: 864px;
    border-radius: 28px;
    padding: 56px 56px 68px;
  }
  .calculator-page .quiz-wrap .brand { gap: 10px; margin-bottom: 28px; }
  .calculator-page .quiz-wrap .brand-logo { width: 180px; }
  .sky-label { font-size: 13px; letter-spacing: 0.22em; }
  .title { font-size: 52px; }
  .timeline { margin-top: 28px; padding: 20px 18px 16px; border-radius: 18px; }
  .timeline-bar { height: 16px; }
  .timeline-item { font-size: 14px; }
  .nails-band { margin-top: 28px; }
  .nails-placeholder { min-height: 220px; gap: 16px; padding: 28px 16px 16px; border-radius: 24px; }
  .nails-placeholder.has-photo { padding: 0; min-height: 0; }
  .nails-photo { max-height: 420px; border-radius: 24px; }
  .nail { width: 56px; border-radius: 28px 28px 14px 14px; }
  .nail:nth-child(1) { height: 120px; }
  .nail:nth-child(2) { height: 142px; }
  .nail:nth-child(3) { height: 156px; }
  .nail:nth-child(4) { height: 138px; }
  .nail:nth-child(5) { height: 110px; }
  .score { margin-top: 32px; border-radius: 24px; padding: 36px 34px 28px; }
  .inspire-kicker { font-size: 13px; letter-spacing: 0.28em; margin-bottom: 18px; gap: 16px; }
  .inspire { font-size: 20px; }
  .inspire-name { font-size: 26px; margin-top: 12px; }
  .inspire-note { font-size: 16px; margin-top: 20px; padding-top: 18px; }
  .cta { margin-top: 28px; height: 72px; font-size: 26px; }
  .quiz-actions { max-width: 864px; margin-top: 32px; }
  .quiz-actions .btn-secondary {
    min-width: 280px;
    height: 52px;
    padding: 0 36px;
    font-size: 18px;
  }
}
