:root { --page:#f2f3f4; --surface:#ffffff; --surface-strong:#ffffff; --ink:#202428; --muted:#68717a; --line:#d9dde0; --line-strong:#b8bec4; --accent:#3f4952; --accent-hover:#2d353c; --accent-soft:#edf0f2; --danger:#9d372e; --danger-soft:#f5e3e0; --focus:#4d5c68; --layer-local-content:1; --layer-lower-summary:3; --layer-chrome:10; --layer-skip-link:20; --layer-lightbox:30; color-scheme:light; }
* { box-sizing:border-box; }
html, body { min-height:100%; max-width:100%; overflow-x:clip; }
body { margin:0; background:var(--page); color:var(--ink); font:16px/1.5 "Google Sans Flex", "Segoe UI", Arial, sans-serif; -webkit-font-smoothing:antialiased; -webkit-tap-highlight-color:rgb(63 73 82 / .15); }
a { color:inherit; text-decoration:none; }
button, input, select, textarea { color:inherit; font:inherit; }
button, a, input, select, textarea { min-height:44px; }
[hidden] { display:none !important; }
.bundle-card-media img[src="/assets/logo.png"], .bundle-hero-media img[src="/assets/logo.png"], .slab-card-photo img[src="/assets/logo.png"] { padding:22%; }
.bundle-card-media img[src="/assets/logo.png"], .bundle-hero-media img[src="/assets/logo.png"], .slab-card-photo img[src="/assets/logo.png"], .request-line-photo img[src="/assets/logo.png"], .commercial-line__slab img[src="/assets/logo.png"] { object-fit:contain; background:#fff; }
:focus-visible { outline:3px solid var(--focus); outline-offset:3px; }
.skip-link { position:fixed; top:.75rem; left:.75rem; z-index:var(--layer-skip-link); padding:.7rem 1rem; background:var(--ink); color:var(--surface-strong); transform:translateY(-160%); }
.skip-link:focus-visible { transform:translateY(0); }
.site-chrome { position:sticky; top:0; z-index:var(--layer-chrome); }
.site-header { display:flex; align-items:center; justify-content:space-between; min-height:72px; gap:1.5rem; padding:0 clamp(1rem, 3vw, 3rem); border-bottom:1px solid var(--line-strong); background:var(--surface); }
.wordmark { display:flex; flex:0 0 auto; }
.wordmark img { display:block; width:auto; height:48px; }
.site-tools, .site-tools form { display:flex; align-items:center; gap:.25rem; }
.site-tools a, .logout-button { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:0 .65rem; border:0; background:transparent; color:var(--muted); font-size:.75rem; font-weight:600; cursor:pointer; }
.site-tools label { display:flex; align-items:center; gap:.3rem; color:var(--muted); font-size:.75rem; font-weight:600; }
.site-tools select { min-height:36px; padding:0 .35rem; border:1px solid var(--line-strong); border-radius:0; background:var(--surface); font-size:.75rem; }
.site-tools a:hover, .logout-button:hover { color:var(--accent); }
.site-tools .cart-link { margin-left:.35rem; padding-inline:.85rem; background:var(--accent); color:#fff; }
.cart-link span { margin-left:.35rem; min-width:1.3rem; padding:.05rem .3rem; background:rgb(255 255 255 / .2); text-align:center; }
.context-banner { display:grid; grid-template-columns:minmax(220px, 1fr) minmax(260px, 1.3fr) auto; gap:1.5rem; align-items:center; padding:.8rem clamp(1rem, 3vw, 3rem); border-bottom:1px solid var(--line-strong); background:#252c32; color:#fff; }
.context-banner p { display:grid; gap:.1rem; margin:0; }
.context-banner span { color:#bdc5cb; font-size:.75rem; font-weight:600; letter-spacing:.08em; text-transform:uppercase; }
.context-banner strong { font-size:1rem; }
.context-banner small { color:#bdc5cb; font-size:.75rem; }
.context-actions { display:flex; align-items:center; gap:.5rem; }
.context-actions form { margin:0; }
.context-actions a, .context-actions button { display:inline-flex; align-items:center; justify-content:center; min-height:36px; padding:0 .7rem; border:1px solid #69747d; background:transparent; color:#fff; font-size:.75rem; font-weight:600; cursor:pointer; }
.context-banner--minimal { grid-template-columns:minmax(220px, 1fr) auto; }
.collection-page, .bundle-page, .selection-page { width:min(100% - 3rem, 1440px); margin:auto; padding:clamp(2rem, 4vw, 4.5rem) 0 5rem; }
.collection-heading { display:grid; grid-template-columns:minmax(0, 1fr) minmax(220px, .3fr); gap:clamp(2rem, 8vw, 8rem); align-items:end; padding-bottom:clamp(2rem, 4vw, 4rem); border-bottom:1px solid var(--line-strong); }
.section-label, .eyebrow { margin:0; color:var(--accent); font-size:.75rem; font-weight:600; letter-spacing:.08em; text-transform:uppercase; }
.collection-heading h1, .bundle-hero h1, .selection-page h1, .staff-shell h1, .message-page h1 { max-width:780px; margin:.7rem 0 0; color:var(--ink); font-size:clamp(2.5rem, 4.4vw, 4rem); font-weight:700; letter-spacing:-.04em; line-height:1.02; text-wrap:balance; }
.collection-heading > div > p:last-child { max-width:560px; margin:1.35rem 0 0; color:var(--muted); font-size:1rem; }
.collection-total { margin:0; padding:1.25rem 0 0; border-top:3px solid var(--accent); color:var(--muted); font-size:.75rem; }
.collection-total strong { display:block; color:var(--ink); font-size:clamp(2rem, 3vw, 2.5rem); font-weight:700; letter-spacing:-.04em; line-height:1.02; }
.catalog-filters { display:grid; grid-template-columns:minmax(230px, 2fr) minmax(150px, 1fr) minmax(150px, 1fr) auto; gap:.75rem; align-items:end; margin-top:1.5rem; padding-bottom:1.5rem; border-bottom:1px solid var(--line); }
.staff-customer-context { display:grid; grid-template-columns:minmax(0, 1fr) minmax(220px, .55fr) auto; gap:1rem; align-items:end; margin-top:1.5rem; padding:1rem; border:1px solid var(--line-strong); background:var(--surface); }
.staff-customer-context p:last-child { max-width:520px; margin:.35rem 0 0; font-size:.9375rem; }
.staff-customer-context label { display:grid; gap:.35rem; color:var(--ink); font-size:.75rem; font-weight:600; letter-spacing:.04em; text-transform:uppercase; }
.staff-customer-context select { width:100%; min-height:44px; padding:.7rem .75rem; border:1px solid var(--line-strong); border-radius:0; background:var(--surface-strong); color:var(--ink); font-size:1rem; letter-spacing:normal; text-transform:none; }
.staff-customer-context button { min-height:44px; padding:0 1rem; border:1px solid var(--accent); border-radius:0; background:var(--accent); color:#fff; font-size:.75rem; font-weight:600; cursor:pointer; }
.catalog-filters label, .login-form label, .inventory-form label, .transition-panel label { display:grid; gap:.35rem; color:var(--muted); font-size:.75rem; font-weight:600; letter-spacing:.04em; text-transform:uppercase; }
.catalog-filters input, .catalog-filters select, .login-form input, .inventory-form input, .inventory-form select, .inventory-form textarea, .transition-panel input, .transition-panel select, .transition-panel textarea { width:100%; padding:.7rem .75rem; border:1px solid var(--line-strong); border-radius:0; background:var(--surface-strong); color:var(--ink); font-size:1rem; letter-spacing:normal; text-transform:none; }
.catalog-filters input::placeholder { color:#859089; }
.catalog-filter-actions { display:flex; align-items:center; gap:.75rem; min-height:44px; }
.catalog-filter-actions button, .catalog-filter-actions a { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:0 1rem; border:1px solid var(--accent); border-radius:0; background:var(--accent); color:#fff; font-size:.75rem; font-weight:600; letter-spacing:.02em; cursor:pointer; }
.catalog-filter-actions a { border-color:transparent; background:transparent; color:var(--accent); }
.catalog-results-meta { display:flex; justify-content:space-between; gap:1rem; margin-top:1rem; color:var(--muted); font-size:.75rem; }
.catalog-results-meta p { margin:0; }
.guided-flow { display:none; grid-template-columns:minmax(0, .9fr) minmax(340px, 1.1fr); gap:1.5rem; align-items:center; margin-top:1.5rem; padding:clamp(1.25rem, 3vw, 2rem); border:1px solid var(--line-strong); background:var(--surface); }
.guided-flow-heading h2, .slabs-section-heading h2, .selection-empty h2, .selection-bundle h2, .catalog-empty h2, .staff-shell h2 { margin:.4rem 0 0; font-size:clamp(1.5rem, 2.5vw, 2rem); font-weight:700; letter-spacing:normal; line-height:1.05; }
.guided-flow-heading > p:last-child { max-width:620px; margin:.7rem 0 0; color:var(--muted); font-size:.9375rem; }
.guided-checklist { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); margin:0; padding:0; border-left:1px solid var(--line); list-style:none; }
.guided-checklist > li { display:grid; grid-template-columns:auto 1fr; gap:.6rem; align-items:center; min-height:70px; padding:.65rem .8rem; border-right:1px solid var(--line); }
.guided-checklist > li > span { display:grid; width:1.45rem; height:1.45rem; place-items:center; border:1px solid var(--line-strong); border-radius:50%; color:var(--muted); font-size:.75rem; font-weight:600; }
.guided-checklist .is-current > span { border-color:var(--accent); background:var(--accent); color:#fff; }
.guided-checklist .is-complete > span { border-color:var(--accent); background:var(--accent-soft); color:var(--accent); }
.guided-checklist strong, .guided-checklist small { display:block; }
.guided-checklist strong { font-size:.75rem; font-weight:600; }
.guided-checklist small { color:var(--muted); font-size:.75rem; }
.guided-checklist a { color:var(--accent); font-weight:800; }
.guided-checklist--compact { width:100%; margin:1.5rem 0 0; border-top:1px solid var(--line); }
.guided-checklist--compact > li { min-height:58px; padding:.5rem .7rem; }
.bundle-grid { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:clamp(1rem, 2vw, 2rem); margin-top:1.5rem; }
.bundle-card { display:block; min-width:0; overflow:hidden; border:1px solid var(--line); background:var(--surface); transition:transform 180ms ease, border-color 180ms ease, background-color 180ms ease; }
.bundle-card:hover { background:var(--surface-strong); transform:translateY(-4px); }
.bundle-card-media, .bundle-hero-media { position:relative; display:grid; aspect-ratio:4 / 3; place-items:center; overflow:hidden; background:#e3e6e8; color:var(--muted); }
.bundle-card-media img, .bundle-hero-media img { width:100%; height:100%; object-fit:cover; transition:transform 500ms cubic-bezier(.16, 1, .3, 1); }
.bundle-card:hover img { transform:scale(1.035); }
.bundle-card-media--empty, .bundle-hero-media--empty, .slab-card-photo--empty { background:repeating-linear-gradient(135deg, #e7eaec 0, #e7eaec 8px, #dce0e3 8px, #dce0e3 9px); font-size:.75rem; }
.media-caption { position:absolute; left:.7rem; top:.7rem; padding:.25rem .4rem; background:rgb(255 255 255 / .92); color:var(--ink); font-size:.75rem; font-weight:600; letter-spacing:.04em; text-transform:uppercase; }
.bundle-card-media > strong { position:absolute; right:.7rem; bottom:.7rem; padding:.32rem .5rem; background:var(--accent); color:#fff; font-size:.75rem; font-weight:600; }
.material-labels { position:absolute; z-index:var(--layer-local-content); top:.7rem; left:.7rem; display:flex; flex-wrap:wrap; gap:.35rem; max-width:calc(100% - 1.4rem); }
.material-labels span { padding:.25rem .4rem; background:rgb(255 255 255 / .94); color:var(--ink); font-size:.7rem; font-weight:700; letter-spacing:.04em; text-transform:uppercase; }
.collection-heading--detail { margin-top:1.5rem; }
.collection-heading--detail .material-labels { position:static; max-width:none; margin-bottom:.7rem; }
.collection-heading--detail .material-labels span { border:1px solid var(--line-strong); background:var(--surface); }
.block-card .bundle-card-media { min-height:190px; background:var(--accent-soft); }
.bundle-reserved-status { position:absolute; left:.7rem; bottom:.7rem; padding:.32rem .5rem; border:1px solid #d8b56e; background:#fff6df; color:#7a3f00; font-size:.75rem; font-weight:700; }
.bundle-card-body { padding:1rem 1rem 1.2rem; }
.bundle-code, .slab-code { margin:0; color:var(--muted); font-family:"B612 Mono", Consolas, "Courier New", monospace; font-size:.75rem; font-weight:400; letter-spacing:.02em; }
.bundle-card h2 { font-size:1.25rem; font-weight:700; letter-spacing:normal; line-height:1.05; }
.bundle-card h2.bundle-code { margin:0; color:var(--ink); font-family:"Google Sans Flex", "Segoe UI", Arial, sans-serif; font-size:1.1rem; font-weight:700; }
.card-workings { min-height:1.5rem; margin:.45rem 0 0; color:var(--muted); font-size:.75rem; }
.bundle-measures { display:grid; grid-template-columns:repeat(3, 1fr); gap:.25rem; margin:1.1rem 0 0; padding-top:.75rem; border-top:1px solid var(--line); }
.bundle-measures dt, .bundle-overview-facts dt, .slab-measures dt { color:var(--muted); font-size:.75rem; font-weight:600; letter-spacing:.04em; text-transform:uppercase; }
.bundle-measures dd, .bundle-overview-facts dd { margin:.2rem 0 0; font-family:"B612 Mono", Consolas, "Courier New", monospace; font-variant-numeric:tabular-nums; font-size:1rem; font-weight:400; }
.bundle-card-link { margin:1.15rem 0 0; color:var(--accent); font-size:.75rem; font-weight:600; }
.bundle-card-link span { margin-left:.25rem; }
.catalog-empty { margin-top:1.5rem; padding:4rem 1rem; border-top:1px solid var(--line-strong); border-bottom:1px solid var(--line-strong); text-align:center; }
.catalog-empty h2 { margin:0; }
.catalog-empty p { margin:.4rem 0 1rem; color:var(--muted); }
.catalog-empty a { color:var(--accent); font-weight:800; }
.catalog-pagination { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin-top:3rem; padding-top:1rem; border-top:1px solid var(--line-strong); color:var(--muted); font-size:.75rem; }
.catalog-pagination a { color:var(--accent); font-weight:800; }
.bundle-page { max-width:1260px; }
.bundle-breadcrumb { display:flex; align-items:center; gap:.5rem; margin-bottom:1.25rem; color:var(--muted); font-size:.75rem; }
.bundle-breadcrumb a { color:var(--accent); font-weight:600; }
.bundle-hero { display:grid; grid-template-columns:minmax(0, 1.15fr) minmax(280px, .85fr); border-top:1px solid var(--line-strong); border-bottom:1px solid var(--line-strong); }
.bundle-hero-media { min-height:380px; }
.bundle-hero-copy { display:flex; flex-direction:column; justify-content:end; padding:clamp(1.5rem, 4vw, 4rem); background:var(--surface); }
.bundle-hero h1 { margin-top:.55rem; }
.bundle-hero-copy > p:not(.section-label) { margin:1.2rem 0 0; color:var(--muted); font-size:.9375rem; }
.bundle-overview-facts { display:grid; grid-template-columns:repeat(2, 1fr); gap:1rem .5rem; margin:2rem 0 0; }
.bundle-overview-facts div { padding-top:.55rem; border-top:1px solid var(--line); }
.slabs-section { margin-top:clamp(2.5rem, 5vw, 5rem); }
.slabs-section-heading { display:flex; align-items:end; justify-content:space-between; gap:1rem; }
.slabs-section-heading h2 { margin:.45rem 0 0; }
.slabs-section-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:.5rem; }
.select-all-slabs { min-height:38px; padding:0 .8rem; border:1px solid var(--line-strong); border-radius:0; background:transparent; color:var(--accent); font-size:.75rem; font-weight:600; cursor:pointer; }
.select-all-slabs:disabled, .request-submit:disabled { cursor:not-allowed; opacity:.55; }
.slabs-intro { margin:.75rem 0 0; color:var(--muted); font-size:.9375rem; }
.edge-selection-controls { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:1rem; margin-top:1.25rem; padding:1rem; border:1px solid var(--line); background:var(--surface); }
.edge-selection-control { display:grid; gap:.3rem; min-width:0; }
.edge-selection-control strong { font-size:.8125rem; }
.edge-selection-control p { margin:0; color:var(--muted); font-size:.75rem; }
.edge-selection-control > div { display:grid; grid-template-columns:44px minmax(3rem, 1fr) 44px; gap:.35rem; align-items:center; margin-top:.2rem; }
.edge-selection-control button { min-height:38px; padding:0; }
.edge-selection-control output { display:grid; min-height:38px; place-items:center; border:1px solid var(--line-strong); background:#fff; font-family:"B612 Mono", Consolas, "Courier New", monospace; font-size:.875rem; font-variant-numeric:tabular-nums; }
.form-notice, .selection-status { margin:1rem 0 0; padding:.75rem; border-left:3px solid var(--accent); background:var(--accent-soft); font-size:.9375rem; }
.form-notice--error { border-color:var(--danger); background:var(--danger-soft); color:#6d211c; }
.selection-status:empty { display:none; }
.slab-grid { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:1rem; margin-top:1.5rem; }
.slab-card { min-width:0; border:1px solid var(--line); background:var(--surface); cursor:pointer; transition:border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease; }
.slab-card:hover { background:var(--surface-strong); }
.slab-card.is-selected { border-color:var(--accent); background:var(--accent-soft); box-shadow:inset 0 0 0 1px var(--accent); }
.slab-card.is-proposed:not(.is-selected) { border-color:#b8791a; background:#fff3dd; box-shadow:inset 0 0 0 1px #b8791a; }
.slab-card-photo { display:grid; aspect-ratio:4 / 3; place-items:center; overflow:hidden; background:var(--surface-strong); color:var(--muted); font-size:.75rem; }
.slab-card-photo img { width:100%; height:100%; object-fit:cover; }
.photo-fallback { display:none; place-items:center; width:100%; height:100%; padding:.5rem; color:var(--muted); font-size:.75rem; text-align:center; }
[data-photo-wrapper].is-photo-missing [data-photo-image], [data-photo-wrapper].is-photo-missing [data-lightbox] { display:none; }
[data-photo-wrapper].is-photo-missing .photo-fallback { display:grid; }
.slab-card-photo { position:relative; }
.slab-card--reserved { border-style:dashed; }
.slab-reserved-status { display:inline-block; margin:.7rem 0 0; padding:.2rem .4rem; border:1px solid currentColor; color:#7a3f00; font-size:.72rem; font-weight:700; }
.slab-photo-open { cursor:zoom-in; }
.slab-photo-open svg, .photo-download svg { width:1.35rem; height:1.35rem; fill:none; stroke:currentColor; stroke-linecap:round; stroke-linejoin:round; stroke-width:1.8; }
.photo-download { position:absolute; top:.3rem; right:.3rem; display:grid; width:2.25rem; height:2.25rem; place-items:center; color:#fff; background:rgb(0 0 0 / .35); z-index:var(--layer-local-content); }
.photo-download:hover { background:rgb(0 0 0 / .6); }
.slab-photo-open, .slab-photo-download { position:absolute; top:.65rem; right:.65rem; display:grid; width:44px; height:44px; min-height:44px; place-items:center; padding:0; border:0; border-radius:0; background:var(--accent); color:#fff; z-index:var(--layer-local-content); }
.slab-photo-open:hover, .slab-photo-download:hover { background:var(--accent-hover); }
.slab-photo-download { right:calc(44px + 1rem); }
.photo-download[hidden], [data-photo-wrapper].is-photo-missing .photo-download { display:none; }
.block-card-photo-link { display:block; width:100%; height:100%; }
.block-card-details { display:block; }
.block-card .material-labels, .block-card .bundle-card-media > strong { pointer-events:none; }
.block-card .material-labels { max-width:calc(100% - 3.5rem); }
.slab-card-photo .material-labels { max-width:calc(100% - 7.5rem); }
.slab-catalog-price { margin:.85rem 0 0; padding:.75rem 0 0; border-top:1px solid var(--line); color:var(--ink); font-size:1rem; }
.bundle-extra-link { display:inline-flex; align-items:center; gap:.4rem; margin-top:.5rem; padding:.3rem 0; color:var(--accent); text-decoration:underline; text-underline-offset:3px; font-weight:600; }
.slab-card-body { padding:.9rem; }
.slab-measures { display:grid; gap:.6rem; margin:1rem 0 0; padding-top:.75rem; border-top:1px solid var(--line); }
.slab-measures dd { margin:.15rem 0 0; font-family:"B612 Mono", Consolas, "Courier New", monospace; font-size:.875rem; font-variant-numeric:tabular-nums; }
.slab-select-control { display:flex; align-items:center; gap:.5rem; min-height:44px; margin-top:.75rem; padding:.5rem 0 0; border-top:1px solid var(--line); color:var(--accent); font-size:.75rem; font-weight:600; cursor:pointer; }
.slab-select-control input { width:1.1rem; height:1.1rem; min-height:0; accent-color:var(--accent); }
.slab-select-control input:disabled { cursor:not-allowed; }
.is-enhanced .slab-select-control { display:none; }
.bundle-selection-summary { position:sticky; bottom:1rem; z-index:var(--layer-lower-summary); display:flex; align-items:center; justify-content:space-between; gap:1rem; margin-top:1.5rem; padding:.9rem 1rem; border:1px solid var(--accent); background:var(--accent); color:#fff; box-shadow:0 12px 28px rgb(27 44 35 / .2); }
.bundle-selection-summary p { display:grid; gap:.1rem; margin:0; font-size:.75rem; }
.bundle-selection-summary p span { opacity:.8; }
.bundle-selection-actions { display:flex; flex-wrap:wrap; gap:.5rem; justify-content:flex-end; }
.bundle-selection-summary a, .bundle-selection-summary button { display:inline-flex; align-items:center; justify-content:center; min-height:36px; padding:0 .8rem; border-color:#fff; background:#fff; color:var(--accent); font-size:.75rem; font-weight:600; }
.request-actions { display:flex; justify-content:flex-end; gap:.75rem; margin-top:1.5rem; }
.selection-page .request-actions { flex-wrap:wrap; align-items:center; }
.request-actions .request-back { margin-right:auto; }
.request-submit, .login-form button { min-height:44px; padding:0 1rem; border:0; border-radius:0; background:var(--accent); color:#fff; font-size:.75rem; font-weight:600; cursor:pointer; }
.request-submit { display:inline-flex; align-items:center; justify-content:center; }
.request-submit:hover, .login-form button:hover, .catalog-filter-actions button:hover { background:var(--accent-hover); }
.request-delete { min-height:44px; padding:0 1rem; border:1px solid var(--danger); border-radius:0; background:transparent; color:var(--danger); font-size:.75rem; font-weight:600; cursor:pointer; }
.staff-new-request { margin:1.5rem 0; }
.staff-new-request a, .staff-new-request button { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:0 1rem; border:0; background:var(--accent); color:#fff; font-size:.75rem; font-weight:600; cursor:pointer; }
.is-enhanced .request-actions { display:none; }
.selection-page { max-width:960px; }
.selection-intro { max-width:600px; margin:1rem 0 0; color:var(--muted); }
.selection-intro-row { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); align-items:center; gap:1rem; margin-top:1rem; }
.selection-intro-row .selection-intro { margin:0; }
.selection-intro-actions { display:flex; justify-content:flex-end; }
.selection-intro-actions .button { max-width:100%; text-align:center; }
.selection-bundles { display:grid; gap:1rem; margin-top:2rem; }
.selection-empty, .selection-bundle { border-top:1px solid var(--line-strong); border-bottom:1px solid var(--line-strong); background:var(--surface); }
.selection-empty { margin-top:2rem; padding:2rem; }
.selection-empty h2, .selection-bundle h2 { margin:0; }
.selection-empty p { color:var(--muted); }
.selection-empty a, .selection-bundle-heading a { color:var(--accent); font-size:.75rem; font-weight:600; }
.selection-bundle-heading { display:flex; justify-content:space-between; padding:1rem; border-bottom:1px solid var(--line); }
.selection-bundle-heading p { margin:0; color:var(--muted); font-family:"B612 Mono", Consolas, "Courier New", monospace; font-size:.75rem; }
.selection-bundle-heading h2 { margin-top:.35rem; }
.selection-group { margin:1rem; border:1px solid var(--line-strong); }
.selection-group-heading { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:.75rem; padding:1rem; border-bottom:1px solid var(--line); background:var(--accent-soft); }
.selection-group-heading h3 { margin:0; font-size:1rem; }
.selection-group-heading p { margin:.3rem 0 0; color:var(--muted); font-size:.75rem; }
.selection-slab-list { display:grid; margin:0; padding:0; list-style:none; }
.selection-slab-list li { display:flex; align-items:center; gap:1rem; padding:1rem; border-bottom:1px solid var(--line); }
.selection-slab-list li:last-child { border-bottom:0; }
.selection-slab-list li > div { display:grid; gap:.15rem; min-width:0; flex:1; }
.selection-slab-list strong, .selection-slab-list span:not(:first-of-type) { font-family:"B612 Mono", Consolas, "Courier New", monospace; font-size:.75rem; }
.selection-slab-list span:first-of-type { font-size:.9375rem; }
.selection-slab-list span { color:var(--muted); }
.cart-slab-image, .cart-slab-placeholder { flex:0 0 72px; width:72px; height:72px; border:1px solid var(--line); background:var(--surface-strong); object-fit:contain; }
.cart-slab-placeholder { display:grid; place-items:center; padding:.3rem; color:var(--muted); font-size:.65rem; text-align:center; }
.request-detail-lines .request-line-photo { position:relative; flex:0 0 56px; width:56px; height:56px; }
.request-line-photo img { width:100%; height:100%; border:1px solid var(--line); object-fit:cover; }
.photo-lightbox { position:fixed; z-index:var(--layer-lightbox); inset:0; display:grid; place-items:center; padding:clamp(1rem, 4vw, 3rem); background:rgb(25 29 33 / .88); cursor:zoom-out; }
.photo-lightbox[hidden] { display:none; }
.photo-lightbox img { display:block; width:auto; height:auto; max-width:calc(100vw - 2rem); max-height:80dvh; object-fit:contain; cursor:default; }
.photo-lightbox-close { position:absolute; top:1rem; right:1rem; min-height:38px; padding:0 .8rem; border:1px solid #fff; border-radius:0; background:rgb(25 29 33 / .8); color:#fff; font-size:.75rem; font-weight:600; cursor:pointer; }
[data-lightbox] { cursor:zoom-in; }
.selection-slab-list button { min-height:36px; padding:0 .7rem; border:1px solid var(--line-strong); border-radius:0; background:transparent; color:var(--danger); font-size:.75rem; font-weight:600; cursor:pointer; }
.login-form { display:grid; gap:1rem; max-width:26rem; margin-top:2rem; }
.form-error { min-height:1.4rem; margin:0; color:var(--danger); font-size:.9375rem; }
/* Internal pages are a compact commercial ledger: calm surfaces, clear values, decisive actions. */
.staff-shell { width:min(100% - 2rem, 1240px); margin:auto; padding:clamp(2rem, 4vw, 4rem) 0 5rem; }
.staff-shell h1 { letter-spacing:-.04em; }
.staff-shell h2 { letter-spacing:-.025em; }
.staff-page-heading { display:grid; grid-template-columns:minmax(0, 1fr) minmax(500px, 590px); gap:clamp(1.5rem, 5vw, 5rem); align-items:end; padding-bottom:1.5rem; border-bottom:2px solid var(--accent); }
.staff-page-heading > div > p:last-child, .editor-heading p, .request-primary-action p, .request-danger-action p { max-width:650px; margin:.7rem 0 0; color:var(--muted); font-size:.9375rem; }
.staff-customer-picker { display:grid; gap:.4rem; padding:1rem; border:1px solid var(--line-strong); background:var(--surface); }
.staff-customer-picker > label, .request-list-filters label, .price-bulk-toolbar label, .request-support-actions label, .request-primary-action label, .request-danger-action label { display:grid; gap:.35rem; color:var(--muted); font-size:.72rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; }
.staff-customer-picker > div { display:grid; grid-template-columns:minmax(0, 1fr) auto; gap:.5rem; }
.staff-shell input, .staff-shell select, .staff-shell textarea { width:100%; padding:.68rem .75rem; border:1px solid var(--line-strong); border-radius:0; background:#fff; color:var(--ink); font-size:.9375rem; font-variant-numeric:tabular-nums; }
.staff-shell textarea { min-height:96px; resize:vertical; }
.staff-shell select { cursor:pointer; }
.button { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:0 1rem; border:1px solid var(--accent); border-radius:0; background:var(--accent); color:#fff; font-size:.75rem; font-weight:700; letter-spacing:.02em; cursor:pointer; transition:background-color 150ms ease, border-color 150ms ease, color 150ms ease; }
.button:hover { border-color:var(--accent-hover); background:var(--accent-hover); }
.button--secondary { border-color:var(--line-strong); background:transparent; color:var(--accent); }
.button--secondary:hover { border-color:var(--accent); background:var(--accent-soft); }
.button--danger { border-color:var(--danger); background:transparent; color:var(--danger); }
.button--danger:hover { background:var(--danger); color:#fff; }
.button--success { border-color:#2f6548; background:#2f6548; }
.button--success:hover { border-color:#24523a; background:#24523a; }
.button:disabled { cursor:not-allowed; opacity:.5; }
.staff-customer-title { display:flex; align-items:end; justify-content:space-between; gap:1rem; margin-top:2.75rem; }
.staff-customer-title h2 { margin:.35rem 0 0; font-size:clamp(1.6rem, 2.7vw, 2.25rem); }
.draft-card { display:flex; align-items:center; justify-content:space-between; gap:1.5rem; margin-top:1rem; padding:1.2rem 1.3rem; border:1px solid var(--accent); background:var(--accent-soft); }
.draft-card h2 { margin:.3rem 0 0; font-family:"B612 Mono", Consolas, "Courier New", monospace; font-size:1.1rem; font-weight:400; letter-spacing:.02em; }
.draft-card p:last-child { margin:.55rem 0 0; color:var(--muted); font-size:.8125rem; }
.draft-card p span { margin:0 .45rem; color:var(--line-strong); }
.request-list-section { margin-top:3rem; }
.section-heading { display:flex; align-items:end; justify-content:space-between; gap:1rem; }
.section-heading h2 { margin:.35rem 0 0; font-size:clamp(1.5rem, 2.5vw, 2rem); }
.section-heading > p { margin:0; color:var(--muted); font-family:"B612 Mono", Consolas, "Courier New", monospace; font-size:.75rem; }
.request-list-filters { display:grid; grid-template-columns:minmax(220px, 1fr) minmax(180px, 240px); gap:.75rem; margin-top:1.25rem; padding:.9rem; border:1px solid var(--line); background:var(--surface); }
.staff-request, .inventory-list { margin-top:1rem; border-top:1px solid var(--line-strong); }
.staff-request header, .staff-line, .inventory-list article { display:grid; gap:1rem; align-items:center; padding:1rem; border-bottom:1px solid var(--line); background:var(--surface); }
.staff-request header { color:var(--muted); font-size:.7rem; font-weight:700; letter-spacing:.05em; text-transform:uppercase; }
.staff-request--list header, .staff-request--list .staff-line { grid-template-columns:minmax(150px, 1fr) minmax(135px, .8fr) minmax(120px, .75fr) minmax(160px, .9fr) auto; }
.staff-request--list-global header, .staff-request--list-global .staff-line { grid-template-columns:minmax(170px, 1.2fr) minmax(130px, .8fr) minmax(130px, .8fr) minmax(120px, .75fr) minmax(160px, .9fr) auto; }
.request-code, .slab-code { font-family:"B612 Mono", Consolas, "Courier New", monospace; font-size:.8125rem; font-weight:400; }
.row-link { color:var(--accent); font-size:.75rem; font-weight:700; }
.status-badge { display:inline-flex; width:max-content; min-height:24px; align-items:center; padding:0 .45rem; border:1px solid var(--line-strong); background:var(--accent-soft); color:var(--accent); font-size:.7rem; font-weight:700; }
.status-badge--1 { border-color:#b8a47e; background:#f4efdf; color:#6a542a; }
.status-badge--2 { border-color:#b6a06b; background:#f7f0dc; color:#725a21; }
.status-badge--3 { border-color:#8ba4ae; background:#e5eff2; color:#345867; }
.status-badge--4 { border-color:#88a394; background:#e5efe9; color:#2f6548; }
.status-badge--5 { border-color:#cfaaa6; background:var(--danger-soft); color:#7c2d27; }
.request-list-empty { margin:0; padding:2rem 1rem; border-bottom:1px solid var(--line); background:var(--surface); color:var(--muted); text-align:center; }
.request-detail-heading { display:flex; align-items:end; justify-content:space-between; gap:1rem; padding-bottom:1.25rem; border-bottom:2px solid var(--accent); }
.request-detail-heading .status-badge { margin-bottom:.25rem; }
.request-overview { display:grid; grid-template-columns:repeat(auto-fit, minmax(180px, 1fr)); gap:1px; margin:1rem 0 0; background:var(--line); border:1px solid var(--line); }
.request-overview div { min-width:0; padding:.9rem 1rem; background:var(--surface); }
.request-overview dt, .line-economics dt { color:var(--muted); font-size:.68rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; }
.request-overview dd, .line-economics dd { margin:.25rem 0 0; font-variant-numeric:tabular-nums; }
.request-overview dd { font-weight:700; }
.staff-request-page .request-overview [data-detail-quote] { color:#24523a; }
.staff-request-page .request-overview [data-detail-cost] { color:var(--danger); }
.request-overview dd small { color:var(--muted); font-size:.75rem; font-weight:400; }
.request-edit-links { display:flex; flex-wrap:wrap; gap:.75rem; margin-top:1.5rem; }
.request-edit-links .request-list-back { margin-left:auto; }
.request-section { margin-top:1.5rem; border:1px solid var(--line); background:var(--surface); }
.request-section > summary { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:1rem 1.25rem; cursor:pointer; list-style:none; }
.request-section > summary::-webkit-details-marker { display:none; }
.request-section > summary strong { display:block; margin-top:.2rem; font-size:1.05rem; }
.request-section > summary::after { content:"+"; color:var(--accent); font-size:1.3rem; font-weight:700; }
.request-section[open] > summary { border-bottom:1px solid var(--line); }
.request-section[open] > summary::after { content:"-"; }
.request-section__hint { color:var(--muted); font-size:.75rem; }
.commercial-lines-editor { padding:1.25rem; }
.commercial-lines-editor > .editor-hint { max-width:none; margin:0 0 1rem; }
.commercial-save-top { margin:0 0 1rem; }
.commercial-lines { overflow-x:auto; border-top:1px solid var(--line-strong); }
.commercial-lines > header, .commercial-line { display:grid; grid-template-columns:46px 220px minmax(190px, 1fr) 100px minmax(190px, .8fr) 120px minmax(90px, .45fr); gap:.85rem; align-items:center; min-width:960px; padding:1rem; border-bottom:1px solid var(--line); }
.commercial-lines > header { color:var(--muted); font-size:.68rem; font-weight:700; letter-spacing:.05em; text-transform:uppercase; }
.commercial-line { position:relative; background:#fff; }
.staff-request-page .commercial-line { font-family:inherit; font-size:.9375rem; font-weight:400; letter-spacing:normal; }
.staff-shell.staff-request-page .commercial-lines .commercial-line * { font-family:inherit; font-size:inherit; font-weight:400; letter-spacing:normal; }
.staff-shell.staff-request-page .commercial-lines .commercial-line .line-price > small:not(.price-validation) { font-size:.7rem; }
.commercial-line.is-dragging { opacity:.45; }
.commercial-line > span { display:grid; gap:.2rem; font-size:.8125rem; }
.commercial-line > span small { color:var(--muted); font-family:"B612 Mono", Consolas, "Courier New", monospace; font-size:.7rem; }
.commercial-line__slab { display:flex; align-items:center; gap:.65rem; min-width:0; }
.commercial-line__slab img { width:40px; height:40px; flex:0 0 40px; border:1px solid var(--line); object-fit:cover; }
.line-drag-handle { display:grid; width:36px; min-height:42px; align-content:center; gap:.1rem; padding:0; border:1px solid var(--line); background:var(--surface); color:var(--accent); cursor:grab; touch-action:none; }
.line-drag-handle[aria-grabbed="true"] { cursor:grabbing; }
.line-drag-handle:disabled { cursor:not-allowed; opacity:.45; }
.line-drag-handle small { color:var(--muted); font-family:"B612 Mono", Consolas, "Courier New", monospace; font-size:.65rem; }
.commercial-line .line-price { min-width:0; }
.commercial-line .line-price input, .commercial-line > label input { width:100%; min-width:0; }
.commercial-line > label input[data-packing-bundle] { width:100px; text-align:center; }
.commercial-line .line-price input { text-align:center; }
.commercial-price-actions { padding:1rem; border-bottom:1px solid var(--line); }
.bulk-price-dialog { width:min(32rem, calc(100% - 2rem)); max-height:calc(100% - 2rem); margin:auto; padding:1.5rem; border:1px solid var(--line-strong); background:var(--surface); color:var(--ink); }
.bulk-price-dialog::backdrop { background:rgb(25 29 33 / .65); }
.bulk-price-dialog h2 { margin:0; font-size:1.35rem; line-height:1.3; }
.bulk-price-dialog p { margin:1rem 0; color:var(--muted); }
.bulk-price-dialog label { display:block; margin-bottom:.35rem; font-weight:600; }
.bulk-price-dialog input { width:100%; padding:.7rem .75rem; border:1px solid var(--line-strong); border-radius:0; background:var(--surface); }
.bulk-price-dialog__actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:.75rem; margin-top:1.25rem; }
.commercial-lines > header > strong:last-child, .commercial-line [data-line-total] { text-align:right; }
.staff-request-page input[type="number"] { -moz-appearance:textfield; appearance:textfield; }
.staff-request-page input[type="number"]::-webkit-inner-spin-button, .staff-request-page input[type="number"]::-webkit-outer-spin-button { -webkit-appearance:none; margin:0; }
.commercial-line__details { grid-column:2 / -1; font-size:.75rem; }
.commercial-line__details summary { color:var(--accent); cursor:pointer; font-weight:700; }
.commercial-line__details dl { display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:.75rem; margin:.75rem 0 0; padding:.75rem; background:#f8fafb; }
.commercial-line__details dt { color:var(--muted); font-size:.65rem; font-weight:700; letter-spacing:.05em; text-transform:uppercase; }
.commercial-line__details dd { margin:.2rem 0 0; }
.staff-price-editor, .staff-packing-editor, .request-action-panel { margin-top:2.5rem; }
.request-section .staff-packing-editor { margin:0; padding:1.25rem; }
.editor-heading { display:flex; align-items:end; justify-content:space-between; gap:1.5rem; }
.editor-heading h2 { margin:.3rem 0 0; font-size:clamp(1.45rem, 2.5vw, 2rem); }
.editor-hint { max-width:280px; margin:0; padding:.6rem .75rem; border-left:3px solid var(--line-strong); color:var(--muted); font-size:.75rem; }
.price-bulk-toolbar { display:grid; grid-template-columns:auto minmax(170px, 1fr) minmax(130px, .7fr) auto auto; gap:.75rem; align-items:end; margin-top:1rem; padding:1rem; border:1px solid var(--accent); background:var(--accent-soft); }
.price-bulk-toolbar p { margin:0 0 .6rem; font-size:.8125rem; white-space:nowrap; }
.staff-packing-editor { display:grid; gap:1rem; }
.staff-packing-editor > label, .packing-lines label, .packing-weights label { display:grid; gap:.35rem; color:var(--muted); font-size:.72rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; }
.packing-lines, .packing-weights { display:grid; grid-template-columns:repeat(auto-fit, minmax(180px, 1fr)); gap:.75rem; }
.packing-lines label, .packing-weights label { padding:.85rem; border:1px solid var(--line); background:var(--surface); }
.packing-lines span, .packing-weights span { color:var(--ink); font-family:"B612 Mono", Consolas, "Courier New", monospace; font-size:.8125rem; font-weight:400; letter-spacing:0; text-transform:none; }
.packing-lines small, .packing-weights small { font-size:.65rem; }
.packing-save { display:flex; align-items:center; gap:1rem; }
.packing-save .form-error, .packing-save .form-notice { margin:0; }
.staff-request--prices header, .staff-request--prices .staff-line { grid-template-columns:minmax(120px, .75fr) minmax(130px, .85fr) minmax(150px, .9fr) minmax(145px, .8fr) minmax(200px, 1fr); }
.staff-request--prices-editable header, .staff-request--prices-editable .staff-line { grid-template-columns:38px minmax(115px, .7fr) minmax(120px, .75fr) minmax(145px, .85fr) minmax(145px, .8fr) minmax(200px, 1fr); }
.staff-request--prices-removable header, .staff-request--prices-removable .staff-line { grid-template-columns:38px minmax(115px, .7fr) minmax(120px, .75fr) minmax(145px, .85fr) minmax(145px, .8fr) minmax(200px, 1fr) 82px; }
.staff-request--prices-agent header, .staff-request--prices-agent .staff-line { grid-template-columns:38px minmax(115px, .8fr) minmax(130px, .9fr) minmax(160px, 1fr) minmax(145px, .8fr); }
.staff-request--prices-agent.staff-request--prices-removable header, .staff-request--prices-agent.staff-request--prices-removable .staff-line { grid-template-columns:38px minmax(115px, .8fr) minmax(130px, .9fr) minmax(160px, 1fr) minmax(145px, .8fr) 82px; }
.price-select { display:flex; align-items:center; justify-content:center; }
.price-select input { width:1.1rem; height:1.1rem; min-height:0; accent-color:var(--accent); }
.line-price { display:grid; gap:.2rem; }
.line-price input { min-width:0; }
.line-price small { color:var(--muted); font-size:.7rem; }
.line-price .price-validation { color:var(--danger); font-weight:700; }
.staff-line.is-price-changed { box-shadow:inset 3px 0 0 var(--accent); background:#f8fafb; }
.staff-line.is-price-invalid { box-shadow:inset 3px 0 0 var(--danger); background:#fff8f7; }
.staff-line.is-price-invalid .line-price input { border-color:var(--danger); }
.line-price-value { font-variant-numeric:tabular-nums; }
.measurements { font-family:"B612 Mono", Consolas, "Courier New", monospace; color:var(--muted); font-size:.75rem; }
.line-economics { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:.5rem; margin:0; }
.line-economics dd { font-size:.8125rem; }
.line-economics small { display:block; color:var(--muted); font-size:.7rem; font-weight:400; }
.line-remove { min-height:36px; padding:0 .55rem; border:1px solid var(--danger); background:transparent; color:var(--danger); font-size:.7rem; font-weight:700; cursor:pointer; }
.price-save { position:sticky; bottom:1rem; z-index:var(--layer-lower-summary); display:grid; grid-template-columns:1fr auto; gap:.75rem 1rem; align-items:center; margin-top:1rem; padding:.85rem 1rem; border:1px solid var(--accent); background:var(--accent); color:#fff; box-shadow:0 12px 28px rgb(27 44 35 / .22); }
.price-save p { margin:0; font-size:.8125rem; }
.price-save small { display:block; margin-top:.1rem; color:#dbe2e6; font-size:.72rem; }
.price-save > div:last-of-type { display:flex; gap:.5rem; }
.price-save .button { min-height:38px; border-color:#fff; background:#fff; color:var(--accent); }
.price-save .button--secondary { border-color:rgb(255 255 255 / .65); background:transparent; color:#fff; }
.price-save .form-error, .price-save .form-notice { grid-column:1 / -1; margin:0; }
.transition-blocked { margin:1rem 0 0; padding:.75rem; border-left:3px solid #b6a06b; background:#f7f0dc; color:#725a21; font-size:.875rem; }
.request-action-panel { border-top:2px solid var(--accent); }
.request-section .request-action-panel { margin:0; padding:0 1.25rem 1.25rem; border-top:0; }
.request-action-panel > .editor-heading { padding-top:1rem; }
.request-primary-action { display:grid; grid-template-columns:minmax(0, 1fr) auto; gap:1rem; align-items:end; margin-top:1rem; padding:1.1rem; border:1px solid var(--accent); background:var(--surface); }
.request-primary-action--with-field { grid-template-columns:minmax(0, 1fr) minmax(220px, .55fr) auto; }
.request-transition-buttons { display:flex; flex-wrap:wrap; gap:.5rem; grid-column:1 / -1; }
.request-transition-buttons .button { white-space:normal; text-align:center; }
.request-primary-action--quote { grid-template-columns:minmax(0, 1fr) minmax(220px, .55fr); }
@media (max-width:640px) { .request-primary-action--quote { grid-template-columns:1fr; } .request-transition-buttons .button { width:100%; } }
.request-draft-actions { display:grid; gap:1rem; margin-top:1rem; padding:1.1rem; border:1px solid var(--accent); background:var(--surface); }
.request-draft-actions .request-primary-action { margin:0; padding:0; border:0; background:none; }
.request-draft-buttons { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:.5rem; }
.request-draft-actions [data-danger-form] { max-width:none; margin:0; padding-top:1rem; border-top:1px solid #dfc0bd; }
.request-primary-action h3, .request-danger-action h3 { margin:0; font-size:1rem; }
.request-primary-action .form-error { grid-column:1 / -1; }
.request-support-actions { display:grid; grid-template-columns:1fr 1fr; gap:1rem; margin-top:1rem; }
.request-support-actions > * { display:grid; gap:.75rem; align-content:start; padding:1rem; border:1px solid var(--line); background:var(--surface); }
.request-support-actions p { margin:0; color:var(--muted); font-size:.72rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; }
.request-danger-action { margin-top:1rem; padding:1rem; border:1px solid #dfc0bd; background:#fffafa; }
.request-danger-action [data-danger-form] { display:grid; gap:.75rem; margin-top:.75rem; max-width:620px; }
.request-danger-action .form-error { margin:0; }
.request-outcome-card, .request-management-card { margin-top:1rem; border:1px solid var(--line); background:var(--surface); }
.request-outcome-card { display:grid; grid-template-columns:minmax(0, 1fr) auto; gap:1.5rem; align-items:center; padding:1.25rem; border-color:var(--line-strong); }
.request-outcome-card h3, .request-management-card h3, .request-management-row h4 { margin:0; font-size:1rem; }
.request-outcome-card > div > p, .request-management-row p { max-width:620px; margin:.4rem 0 0; color:var(--muted); font-size:.875rem; }
.request-outcome-actions { display:grid; grid-template-columns:auto auto; gap:.75rem; align-items:start; }
.request-outcome-actions form { display:grid; gap:.75rem; }
.staff-request-page .request-outcome-actions .button--success { border-color:#2f6548; background:#2f6548; color:#fff; }
.staff-request-page .request-outcome-actions .button--success:hover { border-color:#24523a; background:#24523a; }
.staff-request-page .request-outcome-actions .button--danger { border-color:var(--danger); background:var(--danger); color:#fff; }
.staff-request-page .request-outcome-actions .button--danger:hover { border-color:#7d2c25; background:#7d2c25; }
.request-outcome-cancel { display:contents; }
.request-outcome-cancel [data-danger-form] { grid-column:1 / -1; display:grid; gap:.75rem; margin-top:.5rem; padding-top:1rem; border-top:1px solid #dfc0bd; }
.request-outcome-cancel [data-danger-form] label { display:grid; gap:.35rem; max-width:620px; color:var(--muted); font-size:.72rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; }
.request-outcome-cancel [data-danger-form] .button { justify-self:start; }
.request-management-card { overflow:hidden; }
.request-management-card > h3 { padding:1rem 1.25rem; }
.request-management-row { display:grid; grid-template-columns:minmax(0, 1fr) minmax(220px, .65fr) auto; gap:1rem; align-items:end; padding:1rem 1.25rem; border-top:1px solid var(--line); }
.request-management-row label { display:grid; gap:.35rem; color:var(--muted); font-size:.72rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; }
.request-management-row .form-error, .request-management-row .form-notice { grid-column:1 / -1; margin:0; }
.request-management-row > .button { align-self:end; }
.request-management-row > [data-notify-request] { grid-column:3; }
.price-list { display:grid; gap:.75rem; }
.price-list label { display:grid; grid-template-columns:1fr 150px; align-items:center; }
.transition-panel, .inventory-form fieldset, .sawing-bundle { margin-top:1.5rem; padding:1.25rem; border:1px solid var(--line); background:var(--surface); }
.transition-panel form, .inventory-form { display:grid; gap:1rem; max-width:1200px; }
.sr-only { position:absolute !important; width:1px !important; height:1px !important; padding:0 !important; margin:-1px !important; overflow:hidden !important; clip:rect(0, 0, 0, 0) !important; white-space:nowrap !important; border:0 !important; }
.inventory-form fieldset { margin:0; }
.inventory-form legend { padding:0 .35rem; font-weight:800; }
.inventory-grid { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:1rem; }
.inventory-slab { display:grid; grid-template-columns:70px 1.2fr repeat(6, minmax(90px, 1fr)) 110px; gap:.5rem; align-items:end; padding:1rem 0; border-bottom:1px solid var(--line); }
.sawing-bundle > header { display:grid; grid-template-columns:minmax(180px, 1fr) minmax(220px, 1fr) auto; gap:1rem; align-items:end; }
.message-page, .notice, .link-button { max-width:960px; margin:2rem auto; }
@media (max-width:900px) { .context-banner { grid-template-columns:1fr 1fr; } .context-banner--minimal { grid-template-columns:1fr auto; } .context-actions { grid-column:span 2; } .bundle-grid, .slab-grid { grid-template-columns:repeat(2, minmax(0, 1fr)); } .catalog-filters { grid-template-columns:1fr 1fr; } .catalog-search { grid-column:span 2; } .staff-customer-context { grid-template-columns:1fr 1fr; } .staff-customer-context > div { grid-column:span 2; } .staff-page-heading { grid-template-columns:1fr; } .request-overview { grid-template-columns:repeat(2, minmax(0, 1fr)); } .price-bulk-toolbar { grid-template-columns:1fr 1fr; } .price-bulk-toolbar p { grid-column:span 2; } .staff-request--prices header, .staff-request--prices .staff-line, .staff-request--prices-editable header, .staff-request--prices-editable .staff-line, .staff-request--prices-removable header, .staff-request--prices-removable .staff-line { grid-template-columns:38px minmax(115px, 1fr) minmax(140px, 1fr) minmax(145px, 1fr); } .staff-request--prices header > :nth-child(3), .staff-request--prices .staff-line > :nth-child(3), .staff-request--prices header > :nth-child(4), .staff-request--prices .staff-line > :nth-child(4) { display:none; } .staff-request--prices-removable header > :last-child, .staff-request--prices-removable .staff-line > :last-child { grid-column:4; } .staff-request--prices:not(.staff-request--prices-editable) header, .staff-request--prices:not(.staff-request--prices-editable) .staff-line { grid-template-columns:minmax(115px, 1fr) minmax(140px, 1fr) minmax(180px, 1fr); } .staff-request--prices:not(.staff-request--prices-editable) header > :nth-child(2), .staff-request--prices:not(.staff-request--prices-editable) .staff-line > :nth-child(2), .staff-request--prices:not(.staff-request--prices-editable) header > :nth-child(3), .staff-request--prices:not(.staff-request--prices-editable) .staff-line > :nth-child(3) { display:none; } .staff-request--prices:not(.staff-request--prices-editable) header > :nth-child(4), .staff-request--prices:not(.staff-request--prices-editable) .staff-line > :nth-child(4) { display:block; } .bundle-hero, .guided-flow { grid-template-columns:1fr; } .bundle-hero-media { min-height:0; } .guided-checklist { border-top:1px solid var(--line); border-left:0; } }
@media (max-width:640px) { .site-header { align-items:flex-start; flex-direction:column; padding-block:.8rem; gap:.4rem; } .site-tools { width:100%; overflow-x:auto; justify-content:flex-start; } .context-banner, .context-banner--minimal { grid-template-columns:1fr; gap:.75rem; } .context-actions { grid-column:auto; flex-wrap:wrap; } .collection-page, .bundle-page, .selection-page { width:min(100% - 1.5rem, 1440px); padding-top:2rem; } .collection-heading { grid-template-columns:1fr; gap:1.5rem; } .collection-total { max-width:180px; } .catalog-filters, .catalog-search, .staff-customer-context { grid-template-columns:1fr; grid-column:auto; } .staff-customer-context > div { grid-column:auto; } .catalog-filter-actions { justify-content:space-between; } .catalog-results-meta { align-items:flex-start; flex-direction:column; gap:.2rem; } .bundle-grid, .slab-grid { grid-template-columns:1fr; gap:1.5rem; } .bundle-card-media { aspect-ratio:4 / 3; } .bundle-hero-copy { padding:1.5rem; } .slabs-section-heading, .bundle-selection-summary, .draft-card, .editor-heading { align-items:stretch; flex-direction:column; } .select-all-slabs, .bundle-selection-summary a { width:100%; } .selection-slab-list li { align-items:flex-start; flex-wrap:wrap; } .selection-slab-list button { margin-left:auto; } .guided-checklist { grid-template-columns:1fr; } .guided-checklist > li { border-right:0; border-bottom:1px solid var(--line); } .inventory-grid, .inventory-slab, .sawing-bundle > header, .inventory-list article, .price-list label { grid-template-columns:1fr; } .staff-customer-picker > div, .request-list-filters, .request-overview, .price-bulk-toolbar, .request-support-actions, .request-primary-action, .request-primary-action--with-field, .price-save { grid-template-columns:1fr; } .staff-customer-picker > div .button { width:100%; } .staff-request--list header { display:none; } .staff-request--list .staff-line { grid-template-columns:1fr 1fr; gap:.7rem; } .staff-request--list .staff-line > :nth-child(1) { grid-column:span 2; } .staff-request--list .staff-line > :last-child { justify-self:start; } .staff-request--prices header { display:none; } .staff-request--prices .staff-line, .staff-request--prices-editable .staff-line, .staff-request--prices-removable .staff-line { grid-template-columns:32px minmax(0, 1fr); gap:.6rem .8rem; } .staff-request--prices .staff-line > :nth-child(2) { grid-column:2; } .staff-request--prices .staff-line > :nth-child(3), .staff-request--prices .staff-line > :nth-child(4) { display:block; grid-column:2; } .staff-request--prices .staff-line > :nth-child(5), .staff-request--prices .staff-line > :nth-child(6), .staff-request--prices .staff-line > :nth-child(7) { grid-column:2; } .staff-request--prices:not(.staff-request--prices-editable) .staff-line > :nth-child(1), .staff-request--prices:not(.staff-request--prices-editable) .staff-line > :nth-child(2), .staff-request--prices:not(.staff-request--prices-editable) .staff-line > :nth-child(3), .staff-request--prices:not(.staff-request--prices-editable) .staff-line > :nth-child(4), .staff-request--prices:not(.staff-request--prices-editable) .staff-line > :nth-child(5) { grid-column:1 / -1; } .price-select { justify-content:flex-start; } .price-save > div:last-of-type { display:grid; grid-template-columns:1fr 1fr; } }
@media (max-width:640px) { .request-outcome-card, .request-management-row { grid-template-columns:1fr; } .request-outcome-actions { grid-template-columns:1fr; } .request-outcome-actions .button, .request-outcome-cancel [data-danger-form] .button, .request-management-row > .button { width:100%; } .request-outcome-cancel [data-danger-form], .request-management-row > [data-notify-request] { grid-column:auto; } }
@media (max-width:640px) { .request-draft-buttons { display:grid; grid-template-columns:1fr; } }
@media (max-width:640px) { .edge-selection-controls { grid-template-columns:1fr; } .bundle-selection-actions { display:grid; grid-template-columns:1fr; } .bundle-selection-actions > * { width:100%; } }
/* One native control treatment keeps forms consistent without adding components. */
body input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]), body select, body textarea { min-height:44px; padding:.7rem .75rem; border:1px solid var(--line-strong); border-radius:0; background:var(--surface); color:var(--ink); font-size:.9375rem; }
body textarea { min-height:96px; }
body button:not(.slab-photo-open):not(.photo-lightbox-close), body .button { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:0 1rem; border:1px solid var(--accent); border-radius:0; background:var(--accent); color:#fff; font-size:.75rem; font-weight:700; letter-spacing:.02em; cursor:pointer; }
body button:not(.slab-photo-open):not(.photo-lightbox-close):hover, body .button:hover { border-color:var(--accent-hover); background:var(--accent-hover); }
body button.link-button, body .select-all-slabs, body .button--secondary { border-color:var(--line-strong); background:transparent; color:var(--accent); }
body button.link-button:hover, body .select-all-slabs:hover, body .button--secondary:hover { border-color:var(--accent); background:var(--accent-soft); }
body .button--danger, body .request-delete, body .selection-slab-list button, body .line-remove { border-color:var(--danger); background:transparent; color:var(--danger); }
body .button--danger:hover, body .request-delete:hover, body .selection-slab-list button:hover, body .line-remove:hover { border-color:var(--danger); background:var(--danger); color:#fff; }
body .button--success { border-color:#2f6548; background:#2f6548; }
body .button--success:hover { border-color:#24523a; background:#24523a; }
body button:disabled, body .button:disabled { cursor:not-allowed; opacity:.5; }
body .price-save .button { min-height:38px; border-color:#fff; background:#fff; color:var(--accent); }
body .price-save .button--secondary { border-color:rgb(255 255 255 / .65); background:transparent; color:#fff; }
body .bundle-selection-summary button:not(.slab-photo-open):not(.photo-lightbox-close) { border-color:#fff; background:#fff; color:var(--accent); }
body .bundle-selection-summary button:not(.slab-photo-open):not(.photo-lightbox-close):hover { border-color:#fff; background:#fff; color:var(--accent); }
@media (prefers-reduced-motion:reduce) { *, *::before, *::after { scroll-behavior:auto !important; transition:none !important; animation:none !important; } }
@media (max-width:640px) { .request-section > summary { align-items:flex-start; } .request-section__hint { display:none; } .commercial-lines { overflow:visible; border:0; } .commercial-lines > header { display:none; } .commercial-lines > .commercial-line { display:grid; grid-template-columns:40px 1fr; min-width:0; gap:.75rem; margin-bottom:.75rem; border:1px solid var(--line); } .commercial-line > :not(.line-drag-handle):not(.commercial-line__slab):not(.commercial-line__details):not([data-packing-order]) { grid-column:2; } .commercial-line__slab { grid-column:2; grid-row:1; } .commercial-line__details { grid-column:1 / -1; } .commercial-line__details dl { grid-template-columns:1fr 1fr; } .commercial-lines-editor { padding:.9rem; } }

.collection-total .collection-back { display:flex; width:fit-content; margin-top:1.25rem; }
.block-bundle { margin-bottom:clamp(4rem, 7vw, 6rem); scroll-margin-top:2rem; }
.block-bundle-heading { display:flex; align-items:center; gap:clamp(1rem, 3vw, 2rem); padding:clamp(1rem, 2.5vw, 2rem); border:1px solid var(--line-strong); background:var(--surface); }
.block-bundle-heading .bundle-card-body { min-width:0; padding:0; }
.block-bundle-heading .bundle-code { color:var(--ink); font-family:inherit; font-size:clamp(1.4rem, 2.5vw, 2rem); font-weight:700; line-height:1.15; }
.block-bundle-heading .card-workings { color:var(--ink); font-size:.875rem; font-weight:500; }
.block-bundle-heading .bundle-card-media { width:160px; flex-shrink:0; }
.block-bundle-heading .material-labels { position:static; max-width:none; margin-bottom:.5rem; }
.block-bundle-count { display:flex; flex-wrap:wrap; gap:.5rem; margin:.75rem 0; font-size:1rem; }
.slab-selected-tag { display:none; width:fit-content; padding:.25rem .5rem; margin-bottom:.5rem; background:var(--accent); color:#fff; font-size:.7rem; font-weight:700; }
.is-selected .slab-selected-tag, .is-proposed .slab-selected-tag { display:block; }
@media (max-width:540px) { .block-bundle-heading .bundle-card-media { width:100px; } }

.page-selection { position:sticky; bottom:0; z-index:var(--layer-lower-summary); margin-top:2rem; padding:1.25rem 1rem calc(1.25rem + env(safe-area-inset-bottom, 0px)); border-top:1px solid #252C32; background:#252C32; color:#fff; }
.page-selection-row { display:flex; align-items:center; justify-content:space-between; gap:1rem; }
.page-selection-row button { min-height:44px; flex-shrink:0; }
body .page-selection-row button:not(.slab-photo-open):not(.photo-lightbox-close), body .page-selection-row button:not(.slab-photo-open):not(.photo-lightbox-close):hover { border-color:#fff; background:#fff; color:#252C32; }
.page-selection .selection-status:not(.form-notice--error) { color:#252C32; }
.page-selection .selection-status:empty { display:none; }
@media (max-width:540px) { .page-selection-row { flex-wrap:wrap; } }

body .site-tools .header-action { gap:.4rem; white-space:nowrap; background:#252C32; border-color:#252C32; color:#fff; }
body .site-tools .header-action:hover { background:var(--accent-hover); border-color:var(--accent-hover); color:#fff; }
.site-tools .cart-icon { flex-shrink:0; }

body .request-history-action { gap:.5rem; white-space:nowrap; }
.request-history-action .cart-icon { flex-shrink:0; }
