:root { --navy: #1c2951; --orange: #fd9f45; --ink: #1d1d1f; --muted: #66666d; --line: #e6e4df; --soft: #f6f5f2; --radius: 12px; }
* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--soft); line-height: 1.5; }
a { color: var(--navy); }
.topbar { background: var(--navy); color: #fff; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 60px; gap: 16px; }
.topbar a, .topbar button { color: #fff; }
.logo { font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; text-decoration: none; }
.logo span { color: var(--orange); }
.wrap { width: min(1100px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(440px, 100% - 32px); margin: 48px auto; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin: 24px 0; }
h1 { font-size: 1.6rem; margin: 0 0 8px; line-height: 1.25; }
h2 { font-size: 1.15rem; margin: 0 0 8px; }
.muted { color: var(--muted); }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field span { font-weight: 600; font-size: .9rem; }
input { font: inherit; padding: 12px; border: 1px solid #cfccc5; border-radius: 8px; width: 100%; }
input:focus { outline: 2px solid var(--orange); border-color: var(--orange); }
.btn { display: inline-block; background: var(--orange); color: var(--navy); font-weight: 700; border: 0; border-radius: 10px; padding: 12px 20px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.btn--ghost { background: transparent; border: 1px solid currentColor; color: inherit; }
.btn--block { width: 100%; }
.link { background: none; border: 0; padding: 0; font: inherit; text-decoration: underline; cursor: pointer; }
.error { background: #fdecea; color: #8c1d18; padding: 10px 14px; border-radius: 8px; margin-bottom: 16px; }
.notice { background: #fff4e5; color: #6b4100; padding: 12px 16px; border-radius: 8px; }
.ok { background: #e7f6ec; color: #1d5a33; padding: 12px 16px; border-radius: 8px; }
.stores { display: grid; gap: 12px; }
.store-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; background: #fff; }
.swatch { width: 18px; height: 18px; border-radius: 50%; display: inline-block; vertical-align: middle; margin-right: 8px; border: 1px solid rgb(0 0 0 / .1); }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.steps { padding-left: 20px; }
.steps li { margin-bottom: 6px; }
.frame-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.frame-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.frame-bar .sizes button { font: inherit; border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 6px 12px; cursor: pointer; }
.frame-bar .sizes button[aria-pressed="true"] { border-color: var(--navy); background: var(--navy); color: #fff; }
.frame-holder { display: flex; justify-content: center; background: var(--soft); padding: 16px; }
iframe.preview { width: 100%; height: 78vh; border: 0; background: #fff; border-radius: 8px; box-shadow: 0 2px 12px rgb(0 0 0 / .08); }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
td, th { text-align: left; padding: 8px; border-bottom: 1px solid var(--line); }
code { background: var(--soft); padding: 2px 6px; border-radius: 6px; word-break: break-all; }
.narrow-wide { width: min(680px, 100% - 32px); }
.step { color: var(--orange); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; margin: 0 0 4px; }
textarea, select { font: inherit; padding: 12px; border: 1px solid #cfccc5; border-radius: 8px; width: 100%; background: #fff; }
textarea:focus, select:focus { outline: 2px solid var(--orange); border-color: var(--orange); }
fieldset.field { border: 0; padding: 0; margin: 0 0 18px; }
fieldset.field legend { font-weight: 600; font-size: .9rem; margin-bottom: 8px; }
.pick { display: flex; flex-wrap: wrap; gap: 8px; }
.pick-item { position: relative; }
.pick-item input { position: absolute; opacity: 0; }
.pick-item span { display: inline-block; border: 1px solid #cfccc5; border-radius: 999px; padding: 8px 14px; background: #fff; cursor: pointer; }
.pick-item input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.pick-item input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.radio, .check { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.radio input, .check input { width: auto; }
.colours { display: flex; gap: 10px; margin-top: 6px; }
.colours[hidden] { display: none; }
.colours input { width: 56px; height: 40px; padding: 2px; }
.small-note { font-size: .875rem; margin-top: 8px; }
.waiting { text-align: center; padding: 48px 24px; }
.spinner { width: 40px; height: 40px; margin: 0 auto 16px; border: 4px solid var(--line); border-top-color: var(--orange); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.review { display: grid; grid-template-columns: 1fr 320px; gap: 20px; align-items: start; margin-top: 24px; }
.review .frame-wrap, .review .side { margin: 0; }
.side hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }
.design-list { list-style: none; padding: 0; margin: 12px 0 0; }
.design-list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); }
@media (max-width: 860px) { .review { grid-template-columns: 1fr; } }
.review .frame-holder { overflow: hidden; align-items: flex-start; }
