:root {
  color-scheme: light;
  font-family: Inter, "Hiragino Sans", "Yu Gothic UI", sans-serif;
  background: #f4f6fb;
  color: #172033;
}

* { box-sizing: border-box; }
body { margin: 0; }
.shell { max-width: 980px; margin: 0 auto; padding: 52px 22px 80px; }
header { max-width: 760px; margin-bottom: 24px; }
.eyebrow { color: #5c43d2; font-size: .78rem; font-weight: 800; letter-spacing: .1em; margin: 0 0 10px; }
h1 { font-size: clamp(2rem, 6vw, 3.4rem); letter-spacing: -.045em; margin: 0; }
h2 { font-size: 1.05rem; margin: 0 0 12px; }
.lede { color: #526078; font-size: 1.05rem; line-height: 1.7; }
.notice { background: #e9f7ee; border: 1px solid #b8e4c9; border-radius: 12px; color: #164b2a; margin: 24px 0; padding: 14px 16px; }
.product-facts { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 24px; }
.product-facts article { background: #edf0ff; border-radius: 13px; padding: 16px; }
.product-facts h2 { color: #3f2c99; font-size: .92rem; margin-bottom: 7px; }
.product-facts p { color: #43516a; font-size: .9rem; line-height: 1.55; margin: 0; }
.card { background: #fff; border: 1px solid #dfe4ef; border-radius: 16px; box-shadow: 0 12px 32px rgba(27, 37, 67, .06); padding: 22px; }
.grid { display: grid; gap: 18px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
label { display: grid; font-size: .9rem; font-weight: 700; gap: 7px; margin-bottom: 16px; }
input, select, textarea { background: #fbfcff; border: 1px solid #c7cfdf; border-radius: 9px; color: #172033; font: inherit; font-weight: 400; padding: 10px 12px; width: 100%; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: #654ce5; box-shadow: 0 0 0 3px #e8e3ff; outline: none; }
button { background: #5b42d1; border: 0; border-radius: 9px; color: #fff; cursor: pointer; font: inherit; font-weight: 800; padding: 12px 17px; }
button:hover { background: #4933b3; }
button.secondary { background: #edf0ff; color: #4933b3; padding: 8px 10px; }
button.secondary:hover { background: #dcd6ff; }
button:disabled { cursor: not-allowed; opacity: .55; }
.error { color: #af1c31; min-height: 1.25em; margin: 12px 0 0; }
.results { display: grid; gap: 18px; margin-top: 24px; }
.result-heading { align-items: center; display: flex; gap: 12px; justify-content: space-between; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
.action-status { color: #526078; font-size: .85rem; min-height: 1.25em; }
pre { background: #11192b; border-radius: 10px; color: #e8edff; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .84rem; line-height: 1.6; margin: 0; overflow-wrap: anywhere; padding: 16px; white-space: pre-wrap; }
li, #welcome, #mock-opening { color: #43516a; line-height: 1.6; }
@media (max-width: 680px) { .shell { padding: 32px 15px 52px; } .grid.two, .product-facts { grid-template-columns: 1fr; } .card { padding: 18px; } .result-heading { align-items: flex-start; flex-direction: column; } }
