/* Aximore Manufacturing website
   Same workshop palette as the business manager:
   ink #15232d · steel #eef1ef · surface #fff · teal #0e7c86 (actions) · signal #f2b01e (safety yellow, the one loud colour)
*/
:root {
  --ink: #15232d;
  --ink-2: #1f3240;
  --ink-3: #2c4352;
  --steel: #eef1ef;
  --steel-2: #e3e8e6;
  --surface: #ffffff;
  --line: #d6dddb;
  --line-soft: #e6ebe9;
  --text: #1a2830;
  --muted: #5d6b72;
  --on-ink: #e9eef0;
  --on-ink-muted: #9fb1ba;
  --teal: #0e7c86;
  --teal-dark: #0a6169;
  --signal: #f2b01e;
  --signal-dark: #d99a0c;
  --signal-soft: #fdf3d8;
  --signal-ink: #6b4800;
  --danger: #c23b22;
  --danger-soft: #fbe9e5;
  --success: #23824a;
  --success-soft: #e3f3e8;
  --info-soft: #e4eef7;
  --radius: 10px;
  --radius-sm: 6px;
  --font-display: "Bricolage Grotesque", "Public Sans", system-ui, sans-serif;
  --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --focus: 0 0 0 3px rgba(14, 124, 134, 0.4);
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; color-scheme: light; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-dark); }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 0.5em; }
p { margin: 0 0 1em; }
code { font-size: 0.9em; background: rgba(0,0,0,.06); padding: 0.1em 0.35em; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 50; border-radius: 6px; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 20px;
  font: 600 16px/1.2 var(--font-body);
  border: 2px solid transparent; border-radius: var(--radius-sm);
  text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s;
}
.btn:hover { text-decoration: none; }
.btn-lg { min-height: 54px; padding: 12px 26px; font-size: 17px; }
.btn-block { display: flex; width: 100%; }
.btn-signal { background: var(--signal); color: var(--ink); }
.btn-signal:hover { background: var(--signal-dark); color: var(--ink); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-3); color: var(--ink); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost-light:hover { border-color: #fff; color: #fff; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-ghost-danger { background: transparent; color: var(--danger); border-color: var(--danger-soft); }
.btn:disabled { opacity: .45; cursor: default; }
.text-link { font-weight: 600; }

/* ---------- Header ---------- */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line-soft); position: sticky; top: 0; z-index: 20; }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 68px; }
.logo img { display: block; width: 128px; height: auto; }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-button { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 46px; height: 46px; padding: 12px; cursor: pointer; border-radius: var(--radius-sm); }
.nav-button span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle:focus-visible + .nav-button { box-shadow: var(--focus); }
.site-nav { display: none; }
.nav-toggle:checked ~ .site-nav {
  display: flex; flex-direction: column; gap: 4px;
  position: absolute; left: 0; right: 0; top: 68px;
  background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px 20px 20px;
  box-shadow: 0 12px 24px rgba(21,35,45,.08);
}
.nav-toggle:checked + .nav-button span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle:checked + .nav-button span:nth-child(2) { opacity: 0; }
.nav-toggle:checked + .nav-button span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; padding: 12px 4px; border-bottom: 1px solid var(--line-soft); }
.site-nav a[aria-current="page"] { color: var(--teal); }
.nav-cta { margin-top: 12px; }

@media (min-width: 860px) {
  .nav-button { display: none; }
  .site-nav, .nav-toggle:checked ~ .site-nav {
    display: flex; flex-direction: row; align-items: center; gap: 28px;
    position: static; padding: 0; border: 0; box-shadow: none; background: none;
  }
  .site-nav a:not(.btn) { border: 0; padding: 6px 0; font-size: 16px; }
  .site-nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--signal); }
  .nav-cta { margin: 0; min-height: 42px; }
  .logo img { width: 146px; }
}

/* ---------- Flash messages and banners ---------- */
.flashes { padding-top: 16px; }
.flash { padding: 12px 16px; border-radius: var(--radius-sm); font-weight: 500; margin: 0 0 12px; }
.flash-error { background: var(--danger-soft); color: #7d2010; }
.flash-success { background: var(--success-soft); color: #165c33; }
.banner { padding: 12px 16px; border-radius: var(--radius-sm); margin: 0 0 14px; font-size: 15px; }
.banner-danger { background: var(--danger-soft); color: #7d2010; border-left: 4px solid var(--danger); }
.banner-warn { background: var(--signal-soft); color: var(--signal-ink); border-left: 4px solid var(--signal); }
.banner-info { background: var(--info-soft); color: #1f4d73; }

/* ---------- Hero ---------- */
.hero { background: var(--ink); color: var(--on-ink); padding: 48px 0 40px; overflow: hidden; }
.hero-grid { display: grid; gap: 28px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(44px, 11vw, 84px); font-weight: 800; letter-spacing: -0.035em; line-height: 0.98; margin-bottom: 20px; }
.lede { font-size: 19px; line-height: 1.55; max-width: 38em; }
.hero .lede { color: var(--on-ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 18px; }
.hero-actions .btn { flex: 1 1 200px; }
.hero-note { color: var(--on-ink-muted); font-size: 15px; margin: 0; }

.drawing { margin: 0; color: var(--signal); }
.drawing svg { display: block; width: 100%; max-width: 420px; margin: 0 auto; overflow: visible; }
.dwg-cube path { stroke: #c9d5da; stroke-width: 1.6; }
.dwg-cube .dwg-face-top { fill: rgba(255,255,255,.05); }
.dwg-cube .dwg-face-left { fill: rgba(255,255,255,.02); }
.dwg-cube .dwg-face-right { fill: rgba(255,255,255,.035); }
.dwg-cube .dwg-hidden { stroke-dasharray: 5 5; stroke-width: 1.1; opacity: .55; }
.dwg-cube .dwg-part { stroke: var(--signal); stroke-width: 1.8; fill: rgba(242,176,30,.12); }
.dwg-dims path { stroke: currentColor; stroke-width: 1.2; fill: none; }
.dwg-dims .dwg-ext { opacity: .6; }
.dwg-dims text { fill: currentColor; font: 600 13px var(--font-body); letter-spacing: .02em; }
.drawing figcaption { color: var(--on-ink-muted); font-size: 14px; text-align: center; max-width: 34em; margin: 12px auto 0; }
@media (prefers-reduced-motion: no-preference) {
  .dwg-part { stroke-dasharray: 420; stroke-dashoffset: 420; animation: draw 1.6s .3s ease-out forwards; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
}

@media (min-width: 900px) {
  .hero { padding: 84px 0 76px; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 56px; }
  .hero-actions .btn { flex: 0 0 auto; }
}

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section-tight { padding-top: 24px; }
.section-steel { background: var(--steel); }
.section-title { font-size: clamp(30px, 6vw, 42px); font-weight: 800; }
.section-intro { color: var(--muted); font-size: 18px; max-width: 36em; margin-bottom: 28px; }
.page-head { background: var(--steel); padding: 44px 0 36px; border-bottom: 1px solid var(--line-soft); }
.page-head h1 { font-size: clamp(38px, 8vw, 60px); font-weight: 800; letter-spacing: -0.03em; }
.page-head .lede { color: var(--muted); margin: 0; }
.page-head .lede + p, .page-head .lede ~ p { margin-top: 20px; }
.split { display: grid; gap: 28px; }
@media (min-width: 900px) {
  .section { padding: 84px 0; }
  .section-tight { padding-top: 40px; }
  .split { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
}

/* Uses list: name on the left rail, description beside it */
.uses { margin: 0; display: grid; border-top: 2px solid var(--ink); }
.uses > div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.uses dt { font: 700 20px/1.3 var(--font-display); color: var(--ink); margin-bottom: 4px; }
.uses dd { margin: 0; color: var(--muted); max-width: 40em; }
@media (min-width: 760px) {
  .uses { grid-template-columns: 1fr 1fr; column-gap: 48px; }
  .uses > div:nth-child(-n+2) { border-top: 0; }
}

/* Steps: a real sequence, so numbers carry meaning */
.steps { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 14px; counter-reset: step; }
.steps li { counter-increment: step; background: var(--surface); border-radius: var(--radius); padding: 20px 20px 18px 72px; position: relative; }
.steps li::before {
  content: counter(step); position: absolute; left: 20px; top: 18px;
  width: 36px; height: 36px; border-radius: 50%; background: var(--signal); color: var(--ink);
  font: 800 18px/36px var(--font-display); text-align: center;
}
.steps h3 { font-size: 20px; margin-bottom: 4px; }
.steps p { margin: 0; color: var(--muted); }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--surface); border-radius: var(--radius); }
  .steps li { padding: 72px 24px 28px; border-radius: 0; }
  .steps li + li { border-left: 1px solid var(--line-soft); }
  .steps li::before { left: 24px; top: 24px; }
}

.material-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.material-tags li { padding: 10px 16px; border: 1px solid var(--line); border-left: 5px solid var(--teal); border-radius: var(--radius-sm); font: 700 18px/1.2 var(--font-display); color: var(--ink); background: var(--surface); }

.cta-band { background: var(--ink); color: var(--on-ink); padding: 48px 0; border-top: 6px solid var(--signal); }
.cta-row { display: grid; gap: 20px; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 5vw, 36px); font-weight: 800; }
.cta-band p { color: var(--on-ink-muted); margin: 0; }
@media (min-width: 860px) { .cta-row { grid-template-columns: 1fr auto; align-items: center; gap: 40px; } }

/* Services page */
.service-list { display: grid; gap: 40px; }
.service { border-top: 2px solid var(--ink); padding-top: 22px; }
.service h2 { font-size: 30px; font-weight: 800; }
.service p { max-width: 40em; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.55em; width: 12px; height: 7px; border-left: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal); transform: rotate(-45deg); }
@media (min-width: 900px) { .service-list { grid-template-columns: repeat(3, 1fr); gap: 40px; } }

/* Materials page */
.material-table { border-top: 2px solid var(--ink); }
.material-row { display: grid; gap: 6px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.material-row h2 { font-size: 40px; font-weight: 800; margin: 0; }
.material-row p { margin: 0 0 6px; max-width: 42em; }
.good-for { color: var(--muted); }
.note { margin-top: 20px; color: var(--muted); font-style: italic; }
@media (min-width: 760px) {
  .material-row { grid-template-columns: 260px minmax(0, 1fr); gap: 40px; align-items: baseline; }
  .material-row h2 { font-size: 30px; overflow-wrap: break-word; }
}

/* About page */
.prose p { max-width: 38em; }
.contact-card { background: var(--steel); border-radius: var(--radius); padding: 24px; }
.contact-card h2 { font-size: 24px; }
.contact-card p { display: grid; margin-bottom: 14px; }
.label { font-size: 14px; font-weight: 600; color: var(--muted); }

/* Work grid */
.work-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin-bottom: 20px; }
.work-item { margin: 0; background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-soft); }
.work-item img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--steel-2); }
.work-item figcaption { padding: 14px 16px 16px; display: grid; gap: 2px; }
.work-item figcaption span { color: var(--muted); font-size: 15px; }

/* ---------- Forms ---------- */
fieldset { border: 0; margin: 0 0 28px; padding: 0; min-width: 0; }
legend { font: 700 21px var(--font-display); color: var(--ink); margin-bottom: 14px; padding: 0; }
.field { display: grid; gap: 6px; font-weight: 600; font-size: 15px; color: var(--ink); margin-bottom: 16px; }
.opt { font-weight: 400; color: var(--muted); font-size: 14px; }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=file], select, textarea {
  width: 100%; font: 400 16px/1.4 var(--font-body); color: var(--text);
  background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 14px; min-height: 50px;
}
textarea { resize: vertical; min-height: 110px; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235d6b72' stroke-width='1.8' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
input:focus, select:focus, textarea:focus { border-color: var(--teal); box-shadow: var(--focus); outline: none; }
.has-error input, .has-error textarea, .dropzone.has-error { border-color: var(--danger); }
.field-error { color: var(--danger); font-weight: 500; font-size: 15px; margin: 0; }
.hint { color: var(--muted); font-size: 15px; }
.check { display: flex; align-items: center; gap: 10px; font-weight: 500; margin: 4px 0 16px; min-height: 44px; }
.check input { width: 22px; height: 22px; accent-color: var(--teal); }
.row-2, .row-3 { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .row-2 { grid-template-columns: 1fr 1fr; } .row-3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .row-3 { grid-template-columns: 0.8fr 1.4fr 1fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.quote-layout { display: grid; gap: 32px; }
.quote-form { min-width: 0; }
.dropzone {
  position: relative; display: grid; gap: 4px; justify-items: center; text-align: center;
  padding: 28px 16px; border: 2px dashed var(--line); border-radius: var(--radius); background: var(--steel);
  cursor: pointer;
}
.dropzone:hover, .dropzone:focus-within { border-color: var(--teal); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; min-height: 0; }
.dz-main { font-weight: 700; color: var(--ink); }
.dz-sub { font-size: 14px; color: var(--muted); max-width: 32em; }
.dz-list { font-size: 15px; color: var(--teal-dark); font-weight: 600; word-break: break-word; }
.quote-aside { background: var(--steel); border-radius: var(--radius); padding: 24px; align-self: start; }
.quote-aside h2 { font-size: 22px; }
.mini-steps { padding-left: 22px; margin: 0 0 16px; }
.mini-steps li { margin-bottom: 8px; }
@media (min-width: 960px) {
  .quote-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; }
  .quote-aside { position: sticky; top: 96px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-2); color: var(--on-ink); padding: 44px 0 28px; font-size: 15px; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; gap: 28px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font: 700 19px var(--font-display); color: #fff; }
.footer-head { font-weight: 700; color: #fff; margin-bottom: 8px; }
.site-footer p { margin: 0 0 6px; }
.muted-light, .site-footer .muted-light { color: var(--on-ink-muted); }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: var(--on-ink-muted); font-size: 14px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 40px; } }

/* =================================================================
   Admin side
   ================================================================= */
body.admin { background: var(--steel); font-size: 16px; padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
.admin-sidebar { display: none; }
.admin-main { padding: 20px 16px 32px; max-width: 900px; margin: 0 auto; }
.admin-head { margin-bottom: 18px; }
.admin-head h1 { font-size: 30px; font-weight: 800; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 4px; }
.admin-head p { margin: 0; }
.back { display: inline-block; font-weight: 600; margin-bottom: 8px; min-height: 32px; }
.back::before { content: "‹ "; }

.admin-tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: var(--ink); padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
}
.admin-tabbar a { display: grid; justify-items: center; gap: 2px; padding: 6px 2px; color: var(--on-ink-muted); text-decoration: none; font-size: 12px; font-weight: 600; border-radius: 8px; min-height: 52px; }
.admin-tabbar a[aria-current="page"] { color: #fff; }
.admin-tabbar a[aria-current="page"] .icon { color: var(--signal); }
.icon { width: 24px; height: 24px; flex: none; }

@media (min-width: 900px) {
  body.admin { padding-bottom: 0; padding-left: 240px; }
  .admin-tabbar { display: none; }
  .admin-sidebar {
    display: flex; flex-direction: column; position: fixed; left: 0; top: 0; bottom: 0; width: 240px;
    background: var(--ink); color: var(--on-ink); padding: 20px 12px;
  }
  body.sandbox .admin-sidebar { top: 44px; }
  .admin-brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; padding: 4px 10px 22px; font: 700 18px/1.1 var(--font-display); }
  .admin-brand small { display: block; font: 500 13px var(--font-body); color: var(--on-ink-muted); margin-top: 2px; }
  .admin-sidebar nav { display: grid; gap: 2px; }
  .admin-sidebar a, .admin-sidebar button {
    display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 8px;
    color: var(--on-ink); text-decoration: none; font: 600 15px var(--font-body); background: none; border: 0; width: 100%; cursor: pointer; text-align: left;
  }
  .admin-sidebar a:hover, .admin-sidebar button:hover { background: var(--ink-2); color: #fff; }
  .admin-sidebar a[aria-current="page"] { background: var(--ink-3); color: #fff; box-shadow: inset 3px 0 0 var(--signal); }
  .admin-sidebar-foot { margin-top: auto; display: grid; gap: 2px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 12px; }
  .admin-main { padding: 36px 40px 48px; }
}

.sandbox-banner {
  position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: repeating-linear-gradient(-45deg, var(--signal), var(--signal) 14px, #f5be42 14px, #f5be42 28px);
  color: var(--ink); padding: 8px 16px; font-size: 15px; min-height: 44px;
}
.sandbox-banner form { margin: 0; }
.sandbox-banner button { background: var(--ink); color: #fff; border: 0; border-radius: 6px; padding: 8px 12px; font: 600 14px var(--font-body); cursor: pointer; min-height: 36px; }
@media (min-width: 900px) { body.admin.sandbox .sandbox-banner { margin-left: -240px; } }

.panel { background: var(--surface); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; border: 1px solid var(--line-soft); }
.panel h2 { font-size: 20px; }
.admin-grid { display: grid; gap: 0 16px; }
@media (min-width: 1100px) { .admin-grid { grid-template-columns: 1fr 1fr; } }
.facts { margin: 0; display: grid; gap: 10px; }
.facts > div { display: grid; gap: 0; }
.facts dt { font-size: 13px; font-weight: 600; color: var(--muted); }
.facts dd { margin: 0; word-break: break-word; }
.pre { white-space: pre-wrap; }
.file-list { list-style: none; margin: 0; padding: 0; }
.file-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.file-list a { word-break: break-all; }
.file-list .muted { white-space: nowrap; flex: none; }
.file-list a { font-weight: 600; }

.card-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.card-list > li.panel { margin: 0; }
.req-card { display: block; background: var(--surface); border-radius: var(--radius); padding: 16px 18px; color: var(--text); text-decoration: none; border: 1px solid var(--line-soft); }
.req-card:hover { border-color: var(--teal); color: var(--text); }
.req-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.req-top strong { font: 700 18px/1.3 var(--font-display); color: var(--ink); }
.req-who { margin: 4px 0 6px; font-weight: 600; }
.req-desc { margin: 0 0 8px; color: var(--muted); }
.req-meta { margin: 0; font-size: 14px; color: var(--muted); }
.status { display: inline-block; font: 700 13px var(--font-body); padding: 3px 10px; border-radius: 999px; white-space: nowrap; letter-spacing: 0; }
.status-new { background: var(--signal); color: var(--ink); }
.status-quoted { background: #d9eef0; color: var(--teal-dark); }
.status-closed { background: var(--steel-2); color: var(--muted); }

.filter-pills { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 14px; scrollbar-width: none; }
.filter-pills a { flex: none; padding: 9px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px; min-height: 40px; }
.filter-pills a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.empty { background: var(--surface); border: 2px dashed var(--line); border-radius: var(--radius); padding: 32px 20px; text-align: center; }
.empty p { margin-bottom: 8px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 8px; }
.btn-row .btn { flex: 1 1 auto; }
.danger-zone { margin-top: 24px; background: var(--surface); border-radius: var(--radius); padding: 16px 20px; border: 1px solid var(--danger-soft); }
.danger-zone summary { cursor: pointer; font-weight: 600; color: var(--danger); min-height: 32px; }
.danger-zone p { margin: 12px 0; }
.logout-row { margin-top: 8px; }

.work-admin img { display: block; width: 100%; max-height: 240px; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 14px; }

.exp-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.exp-row p { color: var(--muted); }
.exp-row form { margin: 0; }
.switch { position: relative; width: 58px; height: 34px; border-radius: 999px; border: 0; background: var(--line); cursor: pointer; flex: none; transition: background-color .15s; }
.switch span { position: absolute; top: 4px; left: 4px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .15s; }
.switch.on { background: var(--teal); }
.switch.on span { transform: translateX(24px); }

/* Login */
.login-page { background: var(--ink); min-height: 100vh; display: grid; place-items: center; padding: 20px; }
.login-card { background: var(--surface); border-radius: 14px; padding: 28px 24px; width: 100%; max-width: 400px; }
.login-card h1 { font-size: 26px; margin: 18px 0 16px; }
.login-card > p:last-child { margin: 16px 0 0; text-align: center; }

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

/* Business manager status */
.req-manager { margin: 8px 0 0; font-size: 14px; font-weight: 600; }
.req-manager.ok { color: var(--success); }
.req-manager.warn { color: var(--signal-ink); }
.manager-ok { color: #165c33; }
.spaced { margin-top: 12px; }
.manager-ok strong { white-space: nowrap; }
