/* WakaOS for owners: the owner page, bookings, catering and the admin page.
   The look follows ansrdlabs.com: Archivo, warm stone, black ink and ANSRd Labs gold for actions. */

@font-face {
  font-family: "Archivo";
  src: url("/static/fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("/static/fonts/archivo-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: light;
  --bg: #f3f1ec;          /* light stone, as on ansrdlabs.com */
  --surface: #fffefb;     /* cards and fields */
  --surface-2: #f1ede5;   /* quiet buttons and chips */
  --ink: #121110;
  --muted: #5a544b;
  --line: #e3ddd2;
  --accent: #f5a623;      /* ANSRd Labs gold: buttons and what is chosen */
  --accent-press: #e39510;
  --accent-ink: #121110;  /* text on gold */
  --accent-soft: #fdf1dc; /* a chosen card */
  --link: #121110;        /* links are ink, underlined in gold */
  --ok: #1f5a3d;
  --ok-soft: #e1ece4;
  --problem: #a32a2a;
  --on-problem: #ffffff;
  --focus: #121110;
  --face: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 14px;
  font-family: var(--face);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #121110;
    --surface: #1c1a17;
    --surface-2: #2a2723;
    --ink: #f3f1ec;
    --muted: #b9b2a6;
    --line: #36322d;
    --accent-soft: #2e2516;
    --link: #f5a623;
    --ok: #8fd1a4;
    --ok-soft: #1f3327;
    --problem: #ff8a80;
    --on-problem: #121110;
    --focus: #f5a623;
  }
}

* { box-sizing: border-box; }
/* Buttons and labels get their own display below, which would otherwise show them while hidden. */
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
main { max-width: 1040px; margin: 0 auto; padding: 24px 20px 64px; }
@media (max-width: 640px) { main { padding: 16px 16px 56px; } }

/* The bar along the top: ANSRd Labs and WakaOS, the business's name, and a way out. */
.bar { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 10px 20px; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar .brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; flex: none; }
.bar .brand img { display: block; height: 26px; width: auto; }
.bar .brand span { font-weight: 800; font-size: 1.05rem; letter-spacing: -0.01em; padding-left: 10px; border-left: 1px solid var(--line); }
.bar strong, .bar #business { flex: 1; min-width: 0; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar .brand + strong, .bar .brand + #business { color: var(--muted); font-weight: 600; }
.bar a { color: var(--link); font-weight: 700; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 0.25em; white-space: nowrap; }
@media (max-width: 520px) { .bar { padding: 10px 16px; gap: 10px; } .bar .brand { gap: 8px; } .bar .brand img { height: 22px; } .bar .brand span { padding-left: 8px; } .bar strong, .bar #business { font-size: 0.9rem; } }

h1 { font-size: clamp(1.75rem, 4vw, 2.25rem); line-height: 1.1; letter-spacing: -0.02em; font-weight: 800; margin: 8px 0 12px; }
h2 { font-size: 1.3rem; line-height: 1.2; letter-spacing: -0.01em; font-weight: 800; margin: 0 0 10px; }
h3 { font-size: 1.05rem; font-weight: 800; margin: 20px 0 8px; }
p { margin: 8px 0; }
label { display: block; font-weight: 700; margin: 14px 0 6px; }
.hidden-label { position: absolute; left: -9999px; }
.muted { color: var(--muted); }
.note { min-height: 1.4em; }
.problem { color: var(--problem); font-weight: 700; }
.state { font-weight: 700; }
.hint { margin: 6px 0 0; font-size: 0.9rem; }

input, select, textarea { width: 100%; max-width: 420px; font: inherit; font-size: 1.05rem; padding: 12px 14px; min-height: 50px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); transition: border-color 0.15s; }
textarea { display: block; max-width: 560px; min-height: 0; }
input:hover, select:hover, textarea:hover { border-color: color-mix(in srgb, var(--ink) 25%, var(--line)); }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--accent); outline-offset: 0; border-color: var(--ink); }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 0.8; }

button, a.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-size: 1rem; font-weight: 800; min-height: 48px; padding: 12px 20px; border-radius: 12px; border: 0; background: var(--accent); color: var(--accent-ink); cursor: pointer; margin-top: 12px; text-decoration: none; transition: background 0.15s, transform 0.1s; }
button:hover, a.button:hover { background: var(--accent-press); }
button:active, a.button:active { transform: translateY(1px); }
button:disabled { opacity: 0.6; cursor: wait; }
button.link { display: inline; min-height: 0; background: none; color: var(--link); padding: 6px 0; margin: 0; font-weight: 700; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
button.link:hover { background: none; text-decoration-color: currentColor; }
main a { color: var(--link); text-decoration-color: var(--accent); text-underline-offset: 0.2em; }

/* Signing in and naming the business: one card in the middle, as a newcomer's first sight. */
.auth { max-width: 480px; margin: clamp(16px, 7vh, 72px) auto 0; }
.auth.wide { max-width: 640px; }
.auth-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 32px 30px 26px; box-shadow: 0 1px 0 rgba(18, 17, 16, 0.03), 0 12px 32px rgba(18, 17, 16, 0.06); }
@media (max-width: 520px) { .auth-card { padding: 24px 20px 20px; border-radius: 18px; } }
.auth-card h1 { margin-top: 4px; }
.auth-card input { max-width: none; }
.auth-card form button[type="submit"] { width: 100%; }
#code-form { margin-top: 4px; }
#code-form button[type="submit"] { width: 100%; }
#code-form #new-code { display: block; margin: 12px auto 0; }
#code { letter-spacing: 0.3em; font-size: 1.4rem; font-weight: 800; text-align: center; }
.eyebrow { display: inline-block; margin: 0 0 6px; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--ink); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.02em; }
.auth-foot { text-align: center; font-size: 0.88rem; margin: 18px 0 0; }
.auth-foot a { color: var(--muted); }
.auth .block.join { margin-top: 18px; }
.auth .block.join input, .auth .block.join select, .auth .block.join textarea { max-width: none; }

/* Cards on the dashboard. */
.block { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; margin-bottom: 16px; }
@media (max-width: 640px) { .block { padding: 18px 16px; border-radius: 16px; } }
.block > h2:first-child { margin-top: 0; }
.block.flash { box-shadow: 0 0 0 3px var(--accent); transition: box-shadow 0.4s; }
.columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-bottom: 16px; }
.columns .block { margin-bottom: 0; }

/* The setup checklist: gold along its edge, done steps ticked in gold. */
.block.setup { border: 2px solid var(--accent); }
.setup-steps { margin: 4px 0 0; padding: 0; list-style: none; }
.setup-steps li { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.setup-steps li:last-child { border-bottom: 0; }
.setup-steps .mark { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; font-size: 0.85rem; font-weight: 800; }
.setup-steps li.done .mark { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.setup-steps li.done .what { color: var(--muted); text-decoration: line-through; }
.setup-steps .what { flex: 1; font-weight: 600; }
.setup-steps .optional { color: var(--muted); font-weight: 400; font-size: 0.9rem; }
.setup-steps a, .setup-steps button.link { color: var(--link); font-weight: 800; white-space: nowrap; }

/* Sales. */
.periods { display: flex; gap: 8px; flex-wrap: wrap; }
.periods button { min-height: 40px; padding: 8px 14px; background: var(--surface-2); color: var(--ink); margin: 0; font-weight: 700; }
.periods button:hover { background: color-mix(in srgb, var(--ink) 8%, var(--surface-2)); }
.periods button.on { background: var(--ink); color: var(--bg); }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin: 14px 0 20px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.tile span { color: var(--muted); font-size: 0.88rem; font-weight: 600; }
.tile strong { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.tile small { color: var(--muted); }
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.rows li:last-child { border-bottom: 0; }
.rows li button.link + button.link { margin-left: 18px; }
.rows li.request { display: block; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 10px 4px; border-bottom: 1px solid var(--line); }
th { font-size: 0.85rem; color: var(--muted); font-weight: 700; }
th:not(:first-child), td:not(:first-child) { text-align: right; }

.row { display: flex; gap: 10px; align-items: end; flex-wrap: wrap; }
.row select { width: auto; }
.row button { margin-top: 0; }
.code-box { margin-top: 12px; padding: 16px; border: 1.5px dashed var(--line); border-radius: 14px; background: var(--bg); }
.big { font-size: 2rem; font-weight: 800; letter-spacing: 0.15em; margin: 6px 0; font-variant-numeric: tabular-nums; }

label.check { display: flex; gap: 10px; align-items: center; font-weight: 700; }
label.check input { width: 22px; height: 22px; min-height: 0; margin: 0; padding: 0; accent-color: var(--accent); }
label.check a { color: var(--link); }
label.check.agree { font-weight: 400; align-items: flex-start; margin-top: 18px; }
label.check.agree input { flex: none; margin-top: 2px; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--accent); }

.slug { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.slug input { max-width: 260px; }
.logo-preview { display: block; width: 96px; height: 96px; object-fit: contain; border: 1px solid var(--line); border-radius: 14px; background: #ffffff; margin-bottom: 8px; }
.cover-preview { display: block; width: 100%; max-width: 420px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); margin-bottom: 8px; }
.qr { display: block; width: 180px; height: 180px; background: #ffffff; border-radius: 10px; padding: 6px; }
.request strong { display: block; }
.request p { margin: 6px 0; white-space: pre-line; }
.request.done { opacity: 0.6; }

fieldset { border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px 14px; margin: 14px 0; max-width: 560px; }
legend { font-weight: 700; padding: 0 6px; }
.picks { list-style: none; margin: 0; padding: 0; }
.picks label.check { font-weight: 400; margin: 8px 0; }
#site-facts { margin: 12px 0 4px; }

/* The menu editor. */
.menu-section { border-top: 1px solid var(--line); padding: 14px 0 6px; }
.menu-section:first-child { border-top: 0; padding-top: 0; }
.menu-section input.section-name { font-weight: 800; max-width: 360px; }
.menu-items { list-style: none; margin: 8px 0; padding: 0; }
.menu-items li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.menu-items li:last-child { border-bottom: 0; }
.menu-items input { padding: 9px 12px; min-height: 44px; font-size: 1rem; }
.menu-items input.item-name { flex: 1 1 220px; max-width: 360px; width: auto; }
.sizes { display: flex; flex-wrap: wrap; gap: 6px; }
.size { display: inline-flex; gap: 4px; align-items: center; }
.menu-items input.size-name { width: 110px; }
.menu-items input.price { width: 100px; text-align: right; font-variant-numeric: tabular-nums; }
.menu-items input.length { width: 84px; }
.menu-items .choices { flex: 1 1 60%; font-size: 0.9rem; }
.menu-items .remove { margin-left: auto; }
.size label.from { display: inline-flex; gap: 4px; align-items: center; font-weight: 400; margin: 0; font-size: 0.9rem; }
.size label.from input { width: 18px; height: 18px; min-height: 0; margin: 0; }
input.wrong, input.missing { border-color: var(--problem); outline: 1px solid var(--problem); }
input.missing::placeholder { color: var(--problem); opacity: 1; }
#menu-read .row input { flex: 1 1 240px; }

/* Kinds of business, picked when signing up: cards that turn gold when chosen. */
fieldset.types { border: 0; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; max-width: none; }
fieldset.types legend { font-weight: 700; margin-bottom: 10px; padding: 0; }
.type-card { display: flex; gap: 12px; align-items: flex-start; margin: 0; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--surface); cursor: pointer; font-weight: 400; transition: border-color 0.15s, background 0.15s; }
.type-card:hover { border-color: color-mix(in srgb, var(--ink) 30%, var(--line)); }
.type-card input { width: 22px; height: 22px; min-height: 0; margin: 1px 0 0; padding: 0; flex: none; }
.type-card strong { display: block; font-weight: 800; }
.type-card small { color: var(--muted); }
.type-card:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 1px var(--accent); }
@media (min-width: 700px) { .auth.wide fieldset.types { grid-template-columns: 1fr 1fr; } }

.block.join textarea { width: 100%; max-width: 420px; }
#tax-box { border-top: 1px solid var(--line); margin-top: 20px; }
#tax-box.flash { box-shadow: 0 0 0 3px var(--accent); border-radius: 12px; transition: box-shadow 0.4s; }
#tax-box input { max-width: 160px; }

button.danger { background: var(--problem); color: var(--on-problem); }
button.danger:hover { background: color-mix(in srgb, var(--problem) 85%, #000); }
.remove-box { margin-top: 10px; padding: 2px 16px 8px; border: 1.5px solid var(--problem); border-radius: 14px; }
.remove-box input { width: 100%; max-width: 360px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* A business's pages: the sidebar on a computer, a row of tabs under the bar on a phone. */
.off-section { display: none !important; }
.section-title:empty { display: none; }
.section-title { margin: 4px 0 18px; }
.side:empty { display: none; }
.side ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.side a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; color: var(--ink); text-decoration: none; font-weight: 700; white-space: nowrap; }
.side a:hover { background: var(--surface-2); }
.side a[aria-current="page"] { background: var(--accent); color: var(--accent-ink); }
.side svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 960px) {
  body.with-side .shell { display: grid; grid-template-columns: 236px minmax(0, 1fr); align-items: start; }
  body.with-side .shell main { margin: 0 auto; width: 100%; }
  .side { position: sticky; top: 64px; height: calc(100vh - 64px); overflow-y: auto; padding: 20px 14px; border-right: 1px solid var(--line); }
  .side ul { flex-direction: column; }
}
@media (max-width: 959px) {
  .side { position: sticky; top: 64px; z-index: 9; overflow-x: auto; padding: 8px 16px; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); scrollbar-width: none; }
  .side::-webkit-scrollbar { display: none; }
  .side a { padding: 8px 14px; font-size: 0.92rem; background: var(--surface-2); }
  .side svg { display: none; }
}

/* The team page, and who you are in the sidebar. */
.team-list li { align-items: center; flex-wrap: wrap; }
.team-list li > div:first-child { display: flex; flex-direction: column; min-width: 0; flex: 1 1 220px; }
.team-list li strong { overflow-wrap: anywhere; }
.team-actions { display: flex; align-items: center; gap: 14px; }
.team-actions select { width: auto; min-height: 44px; padding: 8px 12px; }
fieldset.roles { border: 0; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; max-width: none; }
fieldset.roles legend { font-weight: 700; margin-bottom: 10px; padding: 0; }
@media (min-width: 760px) { fieldset.roles { grid-template-columns: 1fr 1fr; } }
.side .switch { width: 100%; max-width: none; min-height: 44px; margin-bottom: 12px; font-weight: 700; }
.side-role { margin: 14px 12px 0; font-size: 0.85rem; color: var(--muted); font-weight: 700; }
@media (max-width: 959px) {
  .side { display: flex; align-items: center; gap: 8px; }
  .side .switch { width: auto; flex: none; margin: 0; min-height: 38px; padding: 6px 10px; font-size: 0.9rem; }
  .side-role { display: none; }
}

/* Books: a quiet button for the less usual choice, the profit and loss, and the expense form and list. */
button.quiet { background: var(--surface-2); color: var(--ink); }
button.quiet:hover { background: color-mix(in srgb, var(--ink) 8%, var(--surface-2)); }
.books-head { justify-content: space-between; margin-bottom: 4px; }
.books-head select { min-width: 200px; }
#books-tiles { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
#books-tiles .tile strong { font-size: clamp(1.2rem, 5vw, 1.6rem); white-space: nowrap; }
.tile.loss strong { color: var(--problem); }
table.pl td { text-align: left; }
table.pl td:last-child { text-align: right; white-space: nowrap; }
table.pl tr.sub td { font-weight: 700; }
table.pl tr.total td { font-weight: 800; font-size: 1.1rem; border-bottom: 0; }
table.pl tr.loss td:last-child { color: var(--problem); }
.amounts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0 12px; max-width: 560px; }
.amounts input { max-width: none; }
.receipt-preview { display: block; max-width: 240px; max-height: 320px; object-fit: contain; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); margin: 4px 0 6px; }
.rows.expenses li { align-items: flex-start; flex-wrap: wrap; }
.rows.expenses .what { flex: 1 1 220px; min-width: 0; }
.rows.expenses .what strong, .rows.expenses .what small { display: block; overflow-wrap: anywhere; }
.rows.expenses .amount { font-variant-numeric: tabular-nums; white-space: nowrap; }
.rows.expenses .actions { flex-basis: 100%; display: flex; gap: 18px; flex-wrap: wrap; font-size: 0.92rem; }
.rows.expenses .actions a, .rows.expenses .actions button.link { margin: 0; padding: 2px 0; }
.rows li.muted span { color: var(--muted); }

/* A salon's style in the services editor: a price and time for each size and length. */
.style-editor { margin: 8px 0 4px; }
.grid-names { display: grid; gap: 8px; max-width: 560px; }
.grid-names input { max-width: none; }
.grid-scroll { overflow-x: auto; margin-top: 8px; }
table.grid-edit { width: auto; border-collapse: separate; border-spacing: 6px; }
table.grid-edit th { font-size: 0.82rem; color: var(--muted); text-align: left; padding: 0 2px; border: 0; white-space: nowrap; }
table.grid-edit td { padding: 0; border: 0; text-align: left; }
table.grid-edit .cell { display: grid; gap: 4px; min-width: 92px; }
table.grid-edit .cell input { min-height: 0; padding: 8px 10px; font-size: 0.95rem; }
.style-details { margin: 6px 0 2px; }
.style-details > label { max-width: 560px; }
.style-details input.wide, .style-details textarea.wide { max-width: 560px; margin-top: 6px; font-weight: 400; }
.style-details textarea.wide { display: block; width: 100%; font: inherit; }
.style-details label select { font-weight: 400; margin-top: 6px; }
.style-details label.inline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-weight: 400; }
.style-details label.inline input { width: 110px; }
.style-details fieldset.addons label.check { font-weight: 400; margin: 6px 0; }
.questions .question-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 6px 0 10px; }
.questions .question-row input.wide { flex: 1 1 260px; margin-top: 0; }
.questions .question-row select { font-weight: 400; width: auto; }
.questions .question-row label.check { font-weight: 400; margin: 0; }
.style-photos .photo-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 8px; }
.style-photos .photo { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.style-photos .photo img { width: 96px; height: 128px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); }
.style-photos .photo-tools { display: flex; flex-direction: column; gap: 2px; font-size: 0.9rem; }
.style-photos .photo-add { display: flex; flex-direction: column; gap: 6px; font-weight: 600; margin: 4px 0; }
.style-photos .photo-add input { font-weight: 400; }

/* Moving from another booking site, on the services page. */
.import-box { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; margin: 8px 0 14px; background: var(--surface-2); }
.import-box summary { cursor: pointer; font-weight: 650; }
.import-box form { margin-top: 10px; }
.import-box h3 { margin: 14px 0 6px; }
.import-box h4 { margin: 12px 0 4px; font-size: 0.95rem; }
.import-list, .import-notes, .import-results { margin: 4px 0 10px; padding-left: 20px; }
.import-notes li, .import-results li { margin: 4px 0; }
.import-results li.problem { color: var(--danger, #b42318); }
.import-rest { margin: 14px 0 4px; }
.import-rest label.check { font-weight: 400; margin: 6px 0; display: block; }
.import-policy { margin: 4px 0 0 28px; font-size: 0.92rem; }
.import-policy summary { cursor: pointer; }
.import-csv { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 4px; }
.swatch { display: inline-block; width: 18px; height: 18px; border-radius: 4px; border: 1px solid var(--line); margin-left: 8px; vertical-align: middle; }
.color-row input[type="color"] { width: 56px; height: 40px; padding: 2px; border-radius: 8px; }

/* Page style: look, type and corners, each shown as a small sample. */
.style-pick { border: 0; padding: 0; margin: 10px 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.style-pick legend { font-weight: 650; padding: 0; margin-bottom: 6px; }
.style-pick label { display: inline-flex; align-items: center; gap: 8px; font-weight: 400; cursor: pointer; white-space: nowrap; }
.style-pick input { width: 20px; height: 20px; min-height: 0; margin: 0; padding: 0; flex: none; }
.look-sample, .corner-sample { display: inline-block; flex: none; width: 28px; height: 20px; border: 1px solid var(--line); }
.look-sample { border-radius: 6px; }
.look-light { background: #fbf7f0; }
.look-dark { background: #151311; }
.font-bold { font-family: "Archivo", sans-serif; font-weight: 800; }
.font-classic { font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; font-weight: 700; }
.font-clean { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; font-weight: 700; }
.corner-sample { background: var(--surface-2); }
.corner-round { border-radius: 10px; }
.corner-square { border-radius: 3px; }
