/* Microforum Direct customer portal. Plain CSS: the server has no Node build. */
:root {
    --blue: #003876;
    --blue-dark: #00264f;
    --blue-tint: #eef3f9;
    --blue-soft: #e3ecf7;
    --ink: #14202e;
    --muted: #55606e;
    --quiet: #3f4954;
    --line: #d9dfe7;
    --field: #b8c2ce;
    --surface: #f3f5f8;
    --ok: #1f6b44;
    --ok-tint: #e6f3ec;
    --warn: #7a4a00;
    --warn-tint: #fdf1dc;
    --bad: #a12626;
    --bad-tint: #fbebeb;
    --radius: 14px;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--surface); color: var(--ink);
       font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.45; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
h1, h2, h3 { margin: 0; line-height: 1.2; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }

/* Header */
.account-bar { background: var(--blue-dark); color: #d6e2f0; font-size: 13px; }
.account-bar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 8px; padding-bottom: 8px; }
.account-bar form { display: inline; }
.view-as-bar { background: #fff4d6; color: #5a4300; border-bottom: 2px solid #e0b84a; font-size: 14px; }
.view-as-bar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding-top: 10px; padding-bottom: 10px; }
.view-as-bar form { display: inline; }
.view-as-bar button { background: #5a4300; color: #fff; border: 0; border-radius: 6px; padding: 6px 12px; font: inherit; font-weight: 700; cursor: pointer; }
.account-bar button { background: none; border: 0; padding: 0; color: #fff; text-decoration: underline; font: inherit; cursor: pointer; }
.account-bar a { color: #fff; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 104px; height: auto; display: block; }
.brand span { font-family: "Bebas Neue", Impact, sans-serif; font-size: 34px; letter-spacing: 3px; color: var(--blue); line-height: 1; text-transform: uppercase; }
.main-nav { display: flex; flex-wrap: wrap; gap: 4px; font-weight: 600; font-size: 15px; }
.main-nav a { padding: 12px 14px; text-decoration: none; color: var(--ink); border-bottom: 3px solid transparent; }
.main-nav a[aria-current="page"] { color: var(--blue); border-bottom-color: var(--blue); }
.header-tools { flex: 1 1 200px; display: flex; justify-content: flex-end; }
.cart-link { position: relative; display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 8px; border: 1px solid var(--line); color: var(--blue); }
.cart-link .count { position: absolute; top: -6px; right: -6px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; border-radius: 999px; min-width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; padding: 0 5px; }

/* Page */
main.page { padding-top: 32px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 24px; }
.page-title { font-family: "Bebas Neue", Impact, sans-serif; font-weight: 400; font-size: 52px; letter-spacing: 1px; color: var(--blue); text-transform: uppercase; }
.lead { color: var(--muted); font-size: 15px; }
.crumbs { font-size: 14px; color: var(--muted); }
.cols { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.col-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.col-side { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.card.strong { border: 2px solid var(--blue); }
.card h2 { font-size: 18px; }
.card h2 .step { color: var(--muted); }
.card .sub-h { font-size: 15px; margin-top: 6px; }
.rich { gap: 10px; font-size: 15px; line-height: 1.55; }
.rich > * { margin: 0; }
.rich ul, .rich ol { padding-left: 22px; display: flex; flex-direction: column; gap: 4px; }
.group-notes { display: flex; flex-direction: column; font-size: 14px; color: var(--muted); }
.hero { background: var(--blue); color: #fff; border-radius: 16px; padding: 40px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.hero h1 { font-family: "Bebas Neue", Impact, sans-serif; font-weight: 400; font-size: 52px; letter-spacing: 1px; text-transform: uppercase; }
.hero p { color: #d6e2f0; max-width: 620px; margin-top: 10px; }

/* Buttons and fields */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 8px; border: 0; background: var(--blue); color: #fff; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--blue-dark); color: #fff; }
.btn[disabled] { background: #9aa6b4; cursor: not-allowed; }
.btn.light { background: #fff; color: var(--blue); }
.btn.outline { background: #fff; color: var(--ink); border: 1px solid var(--field); font-weight: 600; }
.btn.block { width: 100%; min-height: 52px; }
.link-btn { background: none; border: 0; padding: 0 4px; min-height: 44px; color: var(--muted); font: inherit; font-size: 14px; font-weight: 600; text-decoration: underline; cursor: pointer; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field .label { font-size: 14px; font-weight: 600; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=password], .field input[type=number], .field textarea, .field select {
    border: 1px solid var(--field); border-radius: 8px; padding: 10px 14px; font: inherit; font-size: 16px; background: #fff; width: 100%; }
.field input, .field select { min-height: 46px; }
.ship-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.ship-form .wide { grid-column: 1 / -1; }
@media (max-width: 600px) { .ship-form { grid-template-columns: 1fr; } }
.field textarea { resize: vertical; }
.help { font-size: 13px; color: var(--muted); }
.error { font-size: 13px; color: var(--bad); font-weight: 600; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; min-height: 44px; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--blue); }

/* Choice cards (options, delivery, payment) */
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice span { display: flex; flex-direction: column; gap: 4px; min-height: 72px; padding: 14px 16px; border: 1px solid var(--field); border-radius: 10px; background: #fff; }
.choice strong { font-size: 15px; }
.choice small { font-size: 13px; color: var(--muted); }
.choice input:checked + span { border: 2px solid var(--blue); padding: 13px 15px; background: var(--blue-tint); }
.choice input:checked + span strong { color: var(--blue); }
.choice input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.chip { min-width: 72px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--field); background: #fff; color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; }
.chip[aria-pressed="true"] { border: 2px solid var(--blue); background: var(--blue); color: #fff; }
.qty-input { width: 120px !important; }

/* Product page: options beside a summary panel that stays in view */
.product-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.summary-panel { position: sticky; top: 16px; background: #fff; border: 2px solid var(--blue); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.summary-head { display: flex; gap: 14px; align-items: center; }
.summary-head .thumb { width: 64px; height: 64px; border-radius: 10px; background: #e8eef5; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.summary-head h2 { font-size: 16px; }
.summary-panel .line { font-size: 14px; padding: 8px 0; }
.summary-total { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.ship-estimate { margin: 0; font-size: 14px; color: var(--muted); display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.ship-estimate strong { color: var(--ink); border-radius: 6px; padding: 0 4px; }
.ship-note { margin: 8px 0 0; padding: 10px 14px; background: var(--warn-tint); color: var(--warn); border-radius: 10px; display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.4; }
.ship-note .dot { flex: 0 0 20px; height: 20px; border-radius: 999px; background: #b47a00; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; }
.summary-total strong { font-size: 36px; color: var(--blue); font-variant-numeric: tabular-nums; line-height: 1; border-radius: 6px; padding: 2px 4px; }
.todo { list-style: none; margin: 0; padding: 12px 14px; background: var(--surface); border-radius: 10px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.todo li { display: flex; gap: 10px; align-items: center; color: var(--quiet); }
.todo .dot { flex: 0 0 20px; height: 20px; border-radius: 999px; border: 2px solid var(--field); box-sizing: border-box; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: #fff; }
.todo li.done { color: var(--ink); }
.todo li.done .dot { background: var(--ok); border-color: var(--ok); }
/* The new total flashes briefly so the customer sees what a choice changed. */
@keyframes flash { from { background: #fff3c4; } to { background: transparent; } }
.flash { animation: flash 1.2s ease-out; }
@media (prefers-reduced-motion: reduce) { .flash { animation: none; } }
.phone-bar { display: none; }
@media (max-width: 900px) {
    .product-layout { grid-template-columns: minmax(0, 1fr); }
    .summary-panel { display: none; }
    main.page:has(.phone-bar) { padding-bottom: 110px; }
    .phone-bar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(20, 32, 46, .10); }
    .phone-bar-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; }
    .phone-total { background: none; border: 0; padding: 0; text-align: left; display: flex; flex-direction: column; gap: 2px; min-height: 44px; font: inherit; cursor: pointer; }
    .phone-total strong { font-size: 24px; color: var(--blue); font-variant-numeric: tabular-nums; line-height: 1.1; border-radius: 6px; }
    .phone-sheet { padding: 16px 16px 4px; border-bottom: 1px solid var(--line); max-height: 55vh; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; }
}

/* Order progress */
.pill.warn { background: var(--warn-tint); color: var(--warn); }
.pill.busy { background: var(--blue-soft); color: var(--blue); }
.pill.ready { background: var(--ok-tint); color: var(--ok); }
.pill.done { background: #eceff3; color: var(--quiet); }
.pill.bad { background: var(--bad-tint); color: var(--bad); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.steps li { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--muted); }
.steps li::before { content: ""; height: 6px; border-radius: 999px; background: var(--line); }
.steps li.done { color: var(--ink); font-weight: 600; }
.steps li.done::before { background: var(--blue); }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 4px; }
.tile:hover { border-color: var(--blue); color: var(--ink); }
.tile strong { font-size: 30px; line-height: 1.1; }
.tile.warn strong { color: var(--warn); }
.tile.busy strong { color: var(--blue); }
.tile.ready strong { color: var(--ok); }
.tile.bad strong { color: var(--bad); }
.order-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.order-card .who { flex: 1 1 260px; display: flex; flex-direction: column; gap: 3px; }
.order-card .steps { flex: 2 1 420px; }
.tabs { display: flex; gap: 6px; background: #e3e8ee; padding: 4px; border-radius: 10px; flex-wrap: wrap; }
.tabs a { min-height: 40px; padding: 0 16px; border-radius: 8px; display: flex; align-items: center; color: var(--quiet); font-size: 14px; font-weight: 600; text-decoration: none; }
.tabs a[aria-current="page"] { background: #fff; color: var(--blue); font-weight: 700; box-shadow: 0 1px 2px rgba(20, 32, 46, .12); }
.mini-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.mini-products a { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; text-decoration: none; color: var(--ink); display: flex; gap: 10px; align-items: center; min-height: 72px; }
.mini-products a:hover { border-color: var(--blue); }
.mini-products .name { font-size: 14px; font-weight: 700; }

/* Artwork upload */
[x-cloak] { display: none !important; }

/* Product photo gallery: one photo at a time, with arrows and dots */
.gallery { gap: 12px; }
.gallery-stage { position: relative; display: flex; align-items: center; justify-content: center; height: 440px; background: #fff; border-radius: 8px; }
.gallery-stage img { max-width: 100%; max-height: 100%; object-fit: contain; }
.gallery-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, .92); color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
.gallery-arrow:hover, .gallery-arrow:focus-visible { border-color: var(--blue); color: var(--blue); }
.gallery-arrow.prev { left: 10px; }
.gallery-arrow.next { right: 10px; }
.gallery-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.gallery-dots { display: flex; flex-wrap: wrap; gap: 8px; }
.gallery-dots button { width: 12px; height: 12px; padding: 0; border-radius: 50%; border: 1px solid var(--field); background: #fff; cursor: pointer; }
.gallery-dots button.on { background: var(--blue); border-color: var(--blue); }
@media (max-width: 600px) { .gallery-stage { height: 300px; } }
.dropzone { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 24px; border: 2px dashed var(--field); border-radius: 12px; background: var(--surface); cursor: pointer; text-align: center; align-items: center; }
.dropzone:hover, .dropzone:focus-within { border-color: var(--blue); background: var(--blue-tint); }
.dropzone.busy { opacity: .6; cursor: progress; }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone strong { color: var(--blue); font-size: 16px; }
.progress { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--quiet); margin-top: 12px; }
.progress .bar { height: 10px; border-radius: 999px; background: var(--line); overflow: hidden; }
.progress .bar span { display: block; height: 100%; background: var(--blue); transition: width .2s; }
.file-box { border-radius: 10px; padding: 16px; display: flex; flex-direction: column; gap: 10px; border: 1px solid; }
.file-box.ok { border-color: #b9dcc8; background: #f2f9f5; }
.file-box.warn { border-color: #f0d49c; background: #fffaf0; }
.file-box.bad { border-color: #efc0c0; background: #fdf5f5; }
.file-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.file-head div { display: flex; flex-direction: column; }
.file-result { font-size: 15px; font-weight: 600; }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--quiet); }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .mark { flex: 0 0 20px; height: 20px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: #fff; background: #8a94a1; }
.check-pass .mark { background: var(--ok); }
.check-warn .mark { background: #b7791f; }
.check-fail .mark { background: var(--bad); }

/* Product grid and art */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.product-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); }
.product-card:hover { border-color: var(--blue); color: var(--ink); }
.product-card .art { height: 210px; background: #e8eef5; display: flex; align-items: center; justify-content: center; }
/* A photo fills its tile (on white, as product photos are shot); drawn art keeps its size. */
.product-card .art:has(.art-photo) { padding: 12px; background: #fff; border-bottom: 1px solid var(--line); }
.product-card .art .art-photo { width: 100% !important; height: 100% !important; object-fit: contain; }
.product-card .body { padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.product-card .name { font-size: 17px; font-weight: 700; }
.product-card .meta { font-size: 14px; color: var(--muted); }
.art-lg { background: #e8eef5; border-radius: 16px; height: 320px; display: flex; align-items: center; justify-content: center; }

/* Price summary */
.lines { display: flex; flex-direction: column; }
.line { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid #e3e8ee; font-size: 15px; }
.line .what { display: flex; flex-direction: column; gap: 2px; }
.line .what small { font-size: 13px; color: var(--muted); }
.line .amt, .num { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.total-row { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 12px; }
.total { font-size: 40px; font-weight: 700; color: var(--blue); font-variant-numeric: tabular-nums; line-height: 1; }
.sums { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.sums div { display: flex; justify-content: space-between; }
.grand { border-top: 1px solid #e3e8ee; padding-top: 14px; display: flex; justify-content: space-between; align-items: baseline; }
.grand strong { font-size: 30px; color: var(--blue); font-variant-numeric: tabular-nums; }

/* Notices and status */
.notice { border-radius: 10px; padding: 14px 16px; font-size: 15px; }
.notice.info { background: var(--blue-soft); color: var(--blue-dark); }
.notice.warn { background: var(--warn-tint); color: var(--warn); }
.notice.bad { background: var(--bad-tint); color: var(--bad); }
.notice.ok { background: var(--ok-tint); color: var(--ok); }
.pill { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; background: var(--blue-soft); color: var(--blue); }

/* Tables */
.table-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; }
table.list { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 15px; }
table.list th { text-align: left; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .5px; font-weight: 600; padding: 14px 20px; }
table.list td { padding: 16px 20px; border-top: 1px solid #e3e8ee; }
table.list .r { text-align: right; }

/* Cart jobs */
.job { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-wrap: wrap; gap: 20px; }
.job .art { width: 96px; height: 96px; border-radius: 10px; background: #e8eef5; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.job .body { flex: 1 1 280px; display: flex; flex-direction: column; gap: 6px; }
.job .head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.job .head h2 { font-size: 17px; }
.job .spec { font-size: 14px; color: var(--muted); }

/* Sign-in */
.auth { min-height: 100vh; display: flex; flex-wrap: wrap; }
.auth-brand { flex: 1 1 520px; background: var(--blue); color: #fff; padding: 56px 64px; display: flex; flex-direction: column; gap: 48px; }
.auth-brand .lockup { display: flex; align-items: center; gap: 20px; }
.auth-brand .lockup div { background: #fff; border-radius: 10px; padding: 10px 14px; display: flex; }
.auth-brand .lockup img { width: 150px; height: auto; display: block; }
.auth-brand .lockup span { font-family: "Bebas Neue", Impact, sans-serif; font-size: 48px; letter-spacing: 4px; line-height: 1; text-transform: uppercase; }
.auth-brand h2 { font-family: "Bebas Neue", Impact, sans-serif; font-weight: 400; font-size: 76px; line-height: .95; text-transform: uppercase; margin: auto 0 0; }
.auth-brand p { color: #d6e2f0; font-size: 18px; max-width: 560px; margin-bottom: auto; }
.auth-form { flex: 1 1 480px; display: flex; align-items: center; justify-content: center; padding: 56px 24px; }
.auth-form form { width: 100%; max-width: 420px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; display: flex; flex-direction: column; gap: 20px; }
.auth-form h1 { font-size: 28px; }
.auth-form .auth-card { width: 100%; max-width: 420px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; display: flex; flex-direction: column; gap: 20px; }
.auth-form .auth-card form.plain { max-width: none; background: none; border: 0; border-radius: 0; padding: 0; display: block; }
.account-choice { justify-content: space-between; gap: 12px; text-align: left; }
.account-choice[aria-current="true"] { border: 2px solid var(--blue); background: var(--blue-tint); }
@media (max-width: 640px) {
    .site-header .wrap { gap: 12px; }
    .brand { order: 0; }
    .header-tools { order: 1; flex: 0 0 auto; margin-left: auto; }
    .main-nav { order: 2; width: 100%; }
    .main-nav a { padding: 10px 12px; }
    /* The order form comes before the picture on a phone. */
    .cols > .col-main { order: -1; }
    .art-lg { height: 160px; }
    .auth-brand { padding: 32px 20px; gap: 24px; }
    .auth-brand h2 { font-size: 52px; }
    .auth-form form, .auth-form .auth-card { padding: 28px 20px; }
    .page-title, .hero h1 { font-size: 40px; }
    .hero { padding: 28px 20px; }
}

/* ---- Project Builder: a paid job's details, after ordering ---- */
.project-call .project-jobs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.project-call .project-jobs li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); }
.pill.done { background: var(--ok-tint); color: var(--ok); }
.project-form { display: flex; flex-direction: column; gap: 18px; }
.choices.compact { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.choices.compact .choice span { min-height: 0; }
.choices.wide { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.tracks { display: flex; flex-direction: column; gap: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.tracks-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.tracks-head h3 { font-size: 16px; }
.side-total { font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 600; }
.side-total.over { color: var(--bad); }
.track-rows { display: flex; flex-direction: column; gap: 8px; }
.track-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) 76px 32px; grid-template-areas: "no title len rm" ". time time ." ". err err ."; gap: 4px 8px; align-items: center; }
.track-row input { min-height: 44px; border: 1px solid var(--field); border-radius: 8px; padding: 0 10px; font: inherit; width: 100%; }
.track-row input:first-of-type { grid-area: title; }
.track-no { grid-area: no; font-size: 13px; font-weight: 700; color: var(--muted); }
.track-len { grid-area: len; text-align: center; font-variant-numeric: tabular-nums; }
.track-time { grid-area: time; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.track-time:empty { display: none; }
.track-remove { grid-area: rm; width: 32px; height: 32px; border: 0; background: none; color: var(--muted); font-size: 20px; cursor: pointer; border-radius: 6px; }
.track-remove:hover { background: var(--bad-tint); color: var(--bad); }
.track-err { grid-area: err; }
.btn.small { min-height: 38px; padding: 0 14px; font-size: 14px; align-self: flex-start; }
.form-grid { display: grid; gap: 14px; }
@media (min-width: 700px) { .form-grid { grid-template-columns: 1fr 1fr; } }
fieldset.field { border: 0; padding: 0; margin: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.checks label { display: flex; align-items: center; gap: 8px; min-height: 36px; cursor: pointer; }
.declare { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; cursor: pointer; }
.declare input { margin-top: 4px; width: 18px; height: 18px; flex: 0 0 auto; }
.signature-pad { width: 100%; max-width: 600px; aspect-ratio: 10 / 3; height: auto; border: 1px dashed var(--field); border-radius: 10px; background: #fff; touch-action: none; cursor: crosshair; }
.link-button { background: none; border: 0; padding: 0; color: var(--blue); font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; align-self: flex-start; }
.project-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.art-slot { display: flex; flex-direction: column; gap: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
.art-slot h3 { font-size: 16px; }
.audio-label { margin-top: 8px; }
.audio-label input { min-height: 42px; border: 1px solid var(--field); border-radius: 8px; padding: 0 10px; font: inherit; }

/* Storefront categories: tiles above the products, and a category's own page. */
.catalogue-section { display: flex; flex-direction: column; gap: 16px; }
.catalogue-h { font-size: 22px; }
.category-intro { max-width: 760px; }

/* A choice that doesn't apply yet (pickup before a local address is entered). */
.choice.is-disabled { cursor: not-allowed; }
.choice.is-disabled span { background: var(--surface); border-style: dashed; }
.choice.is-disabled strong { color: var(--muted); }

/* Downloads in groups, each under its heading. */
.site-downloads-group { display: flex; flex-direction: column; gap: 10px; }
.site-downloads-group + .site-downloads-group { margin-top: 18px; }
.site-downloads-h { font-size: 20px; }

/* The online designer's button, under the upload box (shown only when a designer is connected). */
.design-online { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 12px; }

/* A quote-only product's panel stays in view on a phone too, under the photos. */
@media (max-width: 900px) { .summary-panel.quote-panel { display: flex; position: static; } }

/* Colour picking (vinyl): colour tiles, a hex picker, and the record drawn in the customer's colours. */
.choices.swatches .choice span { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 10px; min-height: 0; }
.choices.swatches .choice small { flex-basis: 100%; padding-left: 38px; }
.swatch-dot { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .18); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .35); }
.swatch-dot.none { background: repeating-linear-gradient(45deg, #fff 0 4px, var(--line) 4px 8px); }
.colour-row { display: flex; align-items: center; gap: 10px; }
.colour-row input[type="color"] { flex: none; width: 52px; height: 44px; padding: 2px; border: 1px solid var(--field); border-radius: 10px; background: #fff; cursor: pointer; }
.colour-row input[type="color"].unset { opacity: .55; }
.colour-row input[type="text"] { width: 140px; font-family: ui-monospace, Menlo, Consolas, monospace; text-transform: uppercase; }
.record-previews { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 28px; }
.record-previews .help { flex-basis: 100%; text-align: center; }
.record-preview { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.record-preview .disc { width: min(220px, 60vw); height: auto; display: block; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .18)); }
.record-preview figcaption { font-weight: 600; color: var(--muted); font-size: 14px; }
.summary-previews { display: flex; justify-content: center; gap: 10px; padding: 4px 0 8px; }
.record-preview.small .disc { width: 96px; }
