:root{color-scheme:light;--accent:#db222a;--accent-hover:#b81b22;--brand:#e50914;--sans:"DM Sans", "DM Sans Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--mono:"JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;--text:16px;--small:14px;--section:22px;--title:32px;--display:34px;--wordmark:20px;--medium:500;--semibold:600;--radius:12px;--radius-card:14px;--radius-panel:20px;--touch:44px;--field:52px;--shadow:0 30px 80px -40px rgba(5,6,9,.3);--page:#f4f4ed;--surface:#ffffff;--inset:#eaeae1;--border:#deded4;--border-strong:#8b959e;--control:#78828b;--heading:#050609;--body:#050609;--secondary:#4a5661;--faint:#61707d;--link:#c01e25;--warn-text:#8a4b00;--warn-bg:#fdf1dc;--good-text:#11703d;--good-bg:#e6f2ea;--good-line:#cbe4d4;--band-bg:#3c0000;--band-text:#f4f4ed;--band-muted:#e9d9d6;--band-field:#4e0a0a;--band-line:#9a6464;}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){color-scheme:dark;--page:#050609;--surface:#101217;--inset:#1c1f25;--border:#262a31;--border-strong:#4a525c;--control:#5c636e;--heading:#f4f4ed;--body:#f4f4ed;--secondary:#b4bdc6;--faint:#8d99a4;--link:#f25a60;--warn-text:#fbbf24;--warn-bg:#2a1c05;--good-text:#4cd18a;--good-bg:#12301f;--good-line:#1d4a31;--band-bg:#f4f4ed;--band-text:#3c0000;--band-muted:#5a3a38;--band-field:#ffffff;--band-line:#78828b;--shadow:0 30px 80px -30px rgba(0,0,0,.7);}}
:root[data-theme="dark"]{color-scheme:dark;--page:#050609;--surface:#101217;--inset:#1c1f25;--border:#262a31;--border-strong:#4a525c;--control:#5c636e;--heading:#f4f4ed;--body:#f4f4ed;--secondary:#b4bdc6;--faint:#8d99a4;--link:#f25a60;--warn-text:#fbbf24;--warn-bg:#2a1c05;--good-text:#4cd18a;--good-bg:#12301f;--good-line:#1d4a31;--band-bg:#f4f4ed;--band-text:#3c0000;--band-muted:#5a3a38;--band-field:#ffffff;--band-line:#78828b;--shadow:0 30px 80px -30px rgba(0,0,0,.7);}
@media (min-width:760px){:root{--text:17px;--small:15px;--section:26px;--title:52px;--display:64px;--wordmark:21px;--field:56px;}}
/* Wenmar Find. The custom properties (colours, type, sizes) are written by
   src/site/tokens.rs and come before this file. The look is the Wenmar family's
   (wenmar-jobs, wenmarpro.com): porcelain ground, white cards, one scarlet button
   per screen, round buttons and pills. Phone first: every rule is for a phone,
   and the media queries widen it.
   DM Sans and JetBrains Mono are served by this site under the SIL Open Font
   License 1.1: /assets/fonts/OFL-DM-Sans.txt and /assets/fonts/OFL-JetBrains-Mono.txt */
@font-face{font-family:"DM Sans";font-style:normal;font-weight:100 1000;font-display:swap;src:url(/assets/fonts/dm-sans-latin-wght.woff2) format("woff2")}
@font-face{font-family:"JetBrains Mono";font-style:normal;font-weight:100 800;font-display:swap;src:url(/assets/fonts/jetbrains-mono-latin-wght.woff2) format("woff2")}
@font-face{font-family:"DM Sans Fallback";src:local("Arial");size-adjust:104.53%;ascent-override:94.9%;descent-override:29.66%;line-gap-override:0%}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-padding-top:80px}
body{margin:0;background:var(--page);color:var(--body);font:var(--text)/1.6 var(--sans);overflow-wrap:anywhere;-webkit-font-smoothing:antialiased;display:flex;flex-direction:column;min-height:100vh}
a{color:var(--link);text-decoration-thickness:1px;text-underline-offset:3px}
a:hover{text-decoration-thickness:2px}
:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
::selection{background:var(--accent);color:#fff}
h1,h2,h3{color:var(--heading);font-weight:700;letter-spacing:-.025em;line-height:1.15;margin:0 0 12px;text-wrap:balance}
h1{font-size:var(--title);letter-spacing:-.035em;line-height:1.04}
h2{font-size:var(--section);margin-top:32px}
h3{font-size:calc(var(--text) + 2px);letter-spacing:-.01em;margin-top:20px}
p{margin:0 0 12px}
p,li,dd{text-wrap:pretty}
code,pre,.mono{font-family:var(--mono);font-variant-ligatures:none}
pre{background:var(--inset);border-radius:var(--radius);padding:12px;font-size:var(--small);overflow-x:auto;overflow-wrap:normal}
svg{flex-shrink:0}
.skip{position:absolute;left:-999px}
.skip:focus{left:8px;top:8px;background:var(--surface);padding:12px 16px;border-radius:var(--radius);z-index:200}
.vh,.trap{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.trap{left:-999px}
[hidden]{display:none!important}
@media (prefers-reduced-motion:no-preference){a,button,input,select,textarea,summary{transition:color 75ms,background-color 75ms,border-color 75ms}}

/* Small mono labels: "PAY", the footer's column heads, a step's number. */
.label{font-family:var(--mono);font-size:12px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:var(--faint);margin:0 0 8px}
.eyebrow{color:var(--link);font-weight:var(--semibold);margin:0 0 12px}
.lead{color:var(--secondary);font-size:calc(var(--text) + 2px);line-height:1.5;max-width:620px}

/* The header (restyle): sticky, porcelain behind a blur, the wordmark, the site links,
   then the moon button, Sign in and Post a job. On phones the links fold behind a menu
   button; without JavaScript they stay in a row under the bar. The blur sits on a
   pseudo-element so the header does not become the fixed menu's containing block. */
.top{position:sticky;top:0;z-index:100;border-bottom:1px solid var(--border)}
.top::before{content:"";position:absolute;inset:0;z-index:-1;background:color-mix(in srgb,var(--page) 86%,transparent);-webkit-backdrop-filter:saturate(160%) blur(18px);backdrop-filter:saturate(160%) blur(18px)}
.bar{display:flex;flex-wrap:wrap;align-items:center;gap:0 12px;max-width:1280px;margin:0 auto;padding:8px 16px;min-height:64px}
.name{display:inline-flex;align-items:center;min-height:var(--touch);font-size:var(--wordmark);font-weight:700;letter-spacing:-.025em;text-decoration:none;color:var(--heading)}
.name span{color:var(--brand)}
.site-nav{display:flex;flex-wrap:wrap;gap:0 4px;order:3;flex-basis:100%}
.site-nav a,.top-account a,.nav-theme{display:inline-flex;align-items:center;min-height:var(--touch);padding:0 10px;border-radius:999px;color:var(--secondary);font-weight:var(--medium);text-decoration:none}
.site-nav a:hover,.top-account a:hover{color:var(--heading)}
.site-nav a[aria-current]{color:var(--heading);font-weight:var(--semibold)}
.nav-theme{background:none;border:0;font:inherit;cursor:pointer;justify-content:flex-start}
.nav-account{display:contents}
.top-actions{margin-left:auto;display:flex;align-items:center;gap:8px}
.round{display:inline-grid;place-items:center;width:var(--touch);height:var(--touch);padding:0;border:1px solid var(--border);border-radius:999px;background:transparent;color:var(--heading);cursor:pointer}
.round:hover{border-color:var(--control)}
.theme-toggle .icon-sun,.theme-toggle[aria-pressed="true"] .icon-moon{display:none}
.theme-toggle[aria-pressed="true"] .icon-sun{display:block}
.menu-toggle .icon-x,.menu-toggle[aria-expanded="true"] .icon-list{display:none}
.menu-toggle[aria-expanded="true"] .icon-x{display:block}
@media (max-width:759px){
.js .site-nav{display:none}
.js .site-nav.is-open{display:flex;flex-direction:column;position:fixed;inset:64px 0 0;z-index:99;background:var(--page);padding:16px;gap:0;overflow-y:auto;border-top:1px solid var(--border)}
.site-nav.is-open a,.site-nav.is-open .nav-theme{width:100%;font-size:20px;color:var(--heading);border-radius:0;border-bottom:1px solid var(--border);min-height:56px;padding:0}
.top-account,.top-actions .theme-toggle{display:none}
html:not(.js) .site-nav{gap:0}
html:not(.js) .site-nav a{padding:0 8px;font-size:var(--small)}
}
@media (min-width:760px){
.bar{flex-wrap:nowrap;gap:24px;padding:0 32px;min-height:64px}
.site-nav{order:0;flex-basis:auto;margin-left:12px}
.nav-account,.nav-theme,.menu-toggle{display:none!important}
}
@media (min-width:1024px){.bar{padding:0 48px}.site-nav{gap:0 12px}}

/* The footer (restyle): the brand column, three link columns, the credits line. */
.site-footer{margin-top:auto;border-top:1px solid var(--border);padding:48px 16px 32px;color:var(--secondary);font-size:var(--small)}
.foot-top,.foot-bottom{max-width:1280px;margin:0 auto}
.foot-top{display:grid;gap:32px;grid-template-columns:repeat(2,minmax(0,1fr))}
.foot-brand{grid-column:1/-1;display:flex;flex-direction:column;gap:8px;max-width:340px}
.foot-brand p{margin:0}
.foot-brand a:not(.name),.site-footer ul a,.foot-bottom a{color:var(--secondary);text-decoration:none}
.site-footer ul a:hover,.foot-bottom a:hover,.foot-brand a:not(.name):hover{color:var(--heading);text-decoration:underline}
.site-footer h2{margin:0 0 12px}
.site-footer ul{list-style:none;margin:0;padding:0;display:grid;gap:2px}
.site-footer ul a{display:inline-flex;align-items:center;min-height:var(--touch);font-size:var(--text)}
.foot-bottom{margin-top:40px;padding-top:20px;border-top:1px solid var(--border)}
.foot-bottom p{margin:0 0 4px}
@media (min-width:760px){
.site-footer{padding:56px 32px 32px}
.foot-top{grid-template-columns:minmax(0,1.3fr) repeat(3,minmax(0,1fr));gap:40px}
.foot-brand{grid-column:auto}
.site-footer ul a{min-height:32px}
}
@media (min-width:1024px){.site-footer{padding-left:48px;padding-right:48px}}
/* Reading pages: one column on the page itself, a big title, white cards for sections. */
main{width:100%;max-width:792px;margin:0 auto;padding:24px 16px 64px}
@media (min-width:760px){main{padding:56px 16px 80px}}
.hero{margin-bottom:32px}
.hero h1{margin-bottom:0}
.hero .lead{margin:16px 0 0}
.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-card);padding:20px;margin:0 0 16px}
.card>h2:first-child,.card>h3:first-child{margin-top:0}
.card>:last-child{margin-bottom:0}
.panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-panel);padding:20px;box-shadow:var(--shadow)}
@media (min-width:760px){.card{padding:32px}.panel{padding:28px}}
.prose{max-width:68ch}
.prose li+li{margin-top:6px}

/* Buttons (restyle): round pills, 44 tall (56 large). Red is the screen's one main
   action; dark the next step; outline every other choice. A bare button or a
   `secondary` one is outline; `primary` is red. */
.btn,a.button,button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:var(--touch);padding:0 20px;border:1px solid var(--control);border-radius:999px;background:transparent;color:var(--heading);font:inherit;font-weight:var(--semibold);text-decoration:none;cursor:pointer;text-align:center;line-height:1.2}
.btn:hover,a.button:hover,button:hover{border-color:var(--heading)}
.btn-red,a.button.primary,button.primary{background:var(--accent);border-color:var(--accent);color:#fff}
.btn-red:hover,a.button.primary:hover,button.primary:hover{background:var(--accent-hover);border-color:var(--accent-hover)}
.btn-dark,a.button.dark,button.dark{background:var(--heading);border-color:var(--heading);color:var(--page)}
.btn-dark:hover,a.button.dark:hover,button.dark:hover{opacity:.9}
.btn-lg,button.lg{min-height:var(--field);padding:0 28px}
/* A text button. */
button.link{background:none;border:none;color:var(--link);padding:0 4px;min-height:var(--touch);font-weight:var(--medium);text-decoration:underline}
button.link:hover{color:var(--heading)}
.actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 24px}
.actions form{display:contents}

/* Fields (restyle): labels always visible, 52 to 56 tall, 12px corners. */
label{display:block;color:var(--heading);font-weight:var(--semibold);margin-bottom:6px}
input,select,textarea{font:inherit;color:var(--heading);width:100%;background:var(--surface);border:1px solid var(--control);border-radius:var(--radius)}
input,select{min-height:var(--field);padding:0 16px}
/* A select draws its own arrow, 16px in from the edge like the text: the native one
   sits against the border. Two gradient halves make the chevron, so no image is
   fetched and the strict CSP is untouched; the arrow takes the text colour. */
select{-webkit-appearance:none;appearance:none;padding-right:44px;cursor:pointer;background-image:linear-gradient(45deg,transparent 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,transparent 50%);background-position:right 22px center,right 16px center;background-size:6px 6px;background-repeat:no-repeat}
textarea{min-height:120px;padding:12px 16px;line-height:1.5}
input:hover,select:hover,textarea:hover{border-color:var(--heading)}
input[type="checkbox"],input[type="radio"]{width:22px;height:22px;min-height:0;padding:0;margin:0;accent-color:var(--heading);flex-shrink:0}
input[aria-invalid],select[aria-invalid],textarea[aria-invalid]{border-color:var(--warn-text);box-shadow:0 0 0 1px var(--warn-text)}
form{display:grid;gap:12px;margin-bottom:8px}
form>button,form>.button{justify-self:start}
fieldset{border:0;margin:0;padding:0;min-inline-size:auto}
legend{color:var(--heading);font-weight:var(--semibold);padding:0;margin-bottom:8px}
label.check{display:flex;align-items:center;gap:12px;font-weight:400;min-height:var(--touch);margin:0}
.help,.note,.hint{color:var(--secondary);font-size:var(--small)}
.hint{margin:0 0 8px}
.link-code{font:700 28px/1.2 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.08em;margin:4px 0 8px;user-select:all}
.note,.notice{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:12px 16px}
.warning{background:var(--warn-bg);color:var(--warn-text);border-radius:var(--radius);padding:12px 16px;font-weight:var(--medium)}
.status{color:var(--secondary);font-size:var(--small)}
.field-error,.form-error{color:var(--warn-text);font-size:var(--small);font-weight:var(--medium);margin:6px 0 0}
.field .warning{margin:4px 0 0}
.error-summary{background:var(--warn-bg);color:var(--warn-text);border-radius:var(--radius-card);padding:16px 20px;margin:0 0 24px}
.error-summary h2{margin:0 0 8px;font-size:var(--text);color:inherit}
.error-summary ul{margin:0;padding-left:20px}
.error-summary a{color:inherit}

/* Tables: admin lists, the wage guide, the facts of older pages. */
table{width:100%;table-layout:fixed;border-collapse:collapse;margin:0 0 24px;font-variant-numeric:tabular-nums}
caption{text-align:left;color:var(--heading);font-size:var(--section);font-weight:700;letter-spacing:-.01em;padding:0 0 4px}
th,td{text-align:left;vertical-align:top;padding:10px 8px 10px 0;border-bottom:1px solid var(--border)}
tbody th{width:44%;color:var(--secondary);font-weight:400}
td{font-weight:var(--medium)}
thead th{color:var(--heading);font-weight:var(--semibold)}
table.prose{table-layout:auto}
table.prose th,table.prose td:not(:last-child){width:auto;white-space:nowrap}
.scroll{overflow-x:auto}
ul.plain{list-style:none;padding:0;margin:0 0 16px;display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:0 12px}
ul.links{grid-template-columns:1fr}
ul.plain a{display:inline-flex;align-items:center;min-height:var(--touch)}
ul.plain a[aria-current]{color:var(--heading);font-weight:var(--semibold)}
.crumbs{list-style:none;display:flex;flex-wrap:wrap;gap:0 8px;padding:0;margin:0 0 8px;color:var(--secondary);font-size:var(--small)}
.crumbs li+li::before{content:"/";margin-right:8px}
.crumbs a{display:inline-flex;align-items:center;min-height:var(--touch)}
.more{margin:0}

/* Pills (restyle): 44 on phones, 40 on desktop, outline on white; on = black. */
.pill{display:inline-flex;align-items:center;gap:6px;min-height:var(--touch);padding:0 16px;border:1px solid var(--control);border-radius:999px;background:var(--surface);color:var(--heading);font-size:15px;font-weight:var(--medium);text-decoration:none;white-space:nowrap;cursor:pointer;flex-shrink:0}
.pill:hover{border-color:var(--heading)}
.pill.on{background:var(--heading);border-color:var(--heading);color:var(--page)}
.pill.clear{border:0;background:none;color:var(--link);padding:0 8px;text-decoration:underline}

/* Tags and badges. */
.tag{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border:1px solid var(--border);border-radius:999px;background:var(--page);color:var(--secondary);font-size:13px;font-weight:var(--medium);text-decoration:none;line-height:1.2}
.tag:hover{border-color:var(--control);color:var(--heading)}

.tag.on{background:var(--heading);border-color:var(--heading);color:var(--page)}
.badge{display:inline-flex;align-items:center;gap:6px;min-height:24px;padding:0 10px;border-radius:999px;font-size:13px;font-weight:var(--semibold);background:var(--inset);color:var(--secondary);white-space:nowrap}
.badge::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}
.badge.live{background:var(--good-bg);color:var(--good-text)}
.badge.ending{background:var(--warn-bg);color:var(--warn-text)}

/* The account and owner pages. */
main.account{max-width:1072px}
.account-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:16px 24px;margin:0 0 28px}
.account-head h1{margin:0}
.account-head .eyebrow{margin:0 0 8px}
.signed-in{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;color:var(--secondary);font-size:15px;margin:0 0 24px}
.signed-in form{margin:0}
.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 28px}
.stat{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-card);padding:16px}
.stat .label{margin:0}
.stat .num{font-family:var(--mono);font-size:28px;font-weight:var(--semibold);color:var(--heading);margin:6px 0 0;line-height:1.1}
@media (min-width:760px){.stats{gap:16px}.stat{padding:22px 24px}.stat .num{font-size:40px}}
@media (max-width:479px){.stat .label{font-size:11px;letter-spacing:.04em}}
/* Content pages: a title block, then white cards. The short pages (sign in, report,
   the confirm pages) keep a bare h1 and paragraph, so the
   first paragraph after a page's title reads as its lead, and a form on the page itself
   sits in a card. */
main>h1+p{color:var(--secondary);font-size:calc(var(--text) + 2px);line-height:1.5;margin-top:16px}
main>form:not(.filters):not(.owner-form):has(input:not([type="hidden"]),textarea,select){background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-card);padding:20px;margin:24px 0}
@media (min-width:760px){main>form:not(.filters):not(.owner-form):has(input:not([type="hidden"]),textarea,select){padding:32px}}
.prose-card h2{font-size:calc(var(--text) + 5px);margin:28px 0 10px}
.prose-card>h2:first-child{margin-top:0}
.prose-card ul.plain{display:block}
.prose-card ul.plain li{padding:4px 0}
.prose-card ol li+li{margin-top:8px}
.prose-card p,.prose-card li{color:var(--secondary)}
.page-cta{margin:24px 0 0}
.page-cards .card h2{margin-top:0}

/* The admin tables: full width, small text, row borders. */
.admin-table{width:100%;border-collapse:collapse;font-size:var(--small);margin:16px 0}
.admin-table th,.admin-table td{text-align:left;padding:8px 10px;border-bottom:1px solid var(--border)}
.admin-table th{font-weight:var(--semibold)}
.admin-table button,.admin-table a.button{min-height:36px;padding:0 14px;font-size:var(--small)}
body.wide main,main:has(.admin-table){max-width:1280px}

/* Icons: Phosphor's and our own (icons/), drawn in the text colour at the text's size. */
.icon{width:1.25em;height:1.25em;flex-shrink:0;vertical-align:-.25em;fill:currentColor}
.sprite{position:absolute;width:0;height:0;overflow:hidden}
.name .icon-wenmar{width:30px;height:30px;margin-right:8px;vertical-align:middle}
.account-link{gap:6px}
.account-link .icon{width:20px;height:20px}
.muted{color:var(--secondary)}
.badge:has(.icon)::before{display:none}
.badge .icon{width:15px;height:15px}
.badge.open,.badge.verified{background:var(--good-bg);color:var(--good-text)}
.badge.wenmar{background:color-mix(in srgb,var(--accent) 12%,var(--surface));color:var(--link)}
.badge.claimed{background:var(--inset);color:var(--heading)}
a.badge.hiring{background:var(--inset);color:var(--link);text-decoration:none}
a.badge.hiring:hover{text-decoration:underline}
.stars{display:inline-flex;align-items:center;gap:3px;color:var(--heading)}
.stars .icon{color:#e8a600}
.stars .icon-star{color:var(--border-strong)}
.stars.big{font-size:20px}
.notice .icon,.warning .icon,.note .icon{vertical-align:-.2em}
.screen-only{display:block}

/* Chips: a checkbox inside a pill. On = black. With :has() the box itself is hidden and the
   pill shows the state; without it the box stays visible. */
.chip{display:inline-flex;align-items:center;gap:6px;min-height:var(--touch);margin:0;padding:0 14px;border:1px solid var(--control);border-radius:999px;background:var(--surface);color:var(--heading);font-size:15px;font-weight:var(--medium);white-space:nowrap;cursor:pointer;flex-shrink:0;user-select:none}
.chip:hover{border-color:var(--heading)}
.chip input{width:18px;height:18px;accent-color:var(--heading)}
.chip .icon{width:18px;height:18px}
@supports selector(:has(*)){
.chip input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.chip:has(input:checked){background:var(--heading);border-color:var(--heading);color:var(--page)}
.chip:has(input:focus-visible){outline:3px solid var(--accent);outline-offset:2px}
}
.choices{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}
.choices legend{flex-basis:100%;width:100%}

/* The map page (plan §2.1-2.2). Phone: the map fills the screen under the search, and the
   list is a bottom sheet with three heights (map.js drags it). From 900px: the list on the
   left, the map on the right. Without JavaScript (or WebGL) there is no map: the list is an
   ordinary page. */
main.app{max-width:none;padding:0;flex:1;display:flex;flex-direction:column;min-height:0}
body.app-page.map-ready{height:100vh;height:100dvh;overflow:hidden}
.app-page .top{position:relative}
.filters{display:grid;gap:8px;margin:0;padding:8px 12px;background:var(--page);border-bottom:1px solid var(--border);z-index:6}
.search-box{display:flex;gap:8px;align-items:center}
.search-field{position:relative;display:block;flex:1;min-width:0}
.search-field .icon{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:var(--faint);pointer-events:none}
.search-field input{min-height:48px;padding-left:42px;border-radius:999px;background:var(--surface)}
.search-box .go{min-height:48px;padding:0 18px}
.search-box .round{width:48px;height:48px;flex-shrink:0;background:var(--surface)}
.chips{display:flex;gap:8px;overflow-x:auto;margin:0 -12px;padding:2px 12px 4px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.chips::-webkit-scrollbar{display:none}
.js .apply-filters{display:none}
.split{position:relative;flex:1;min-height:0}
.map-pane{display:none}
.map-ready .map-pane{display:block;position:absolute;inset:0}
.map-pane .map{width:100%;height:100%;border:0;border-radius:0;background:var(--inset)}
.sheet{background:var(--page)}
.sheet-handle{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 16px}
.grip{display:none}
.count{margin:0;font-size:var(--text);font-weight:var(--semibold);letter-spacing:0;line-height:1.3;color:var(--heading)}
.sheet-body{padding:0 12px 24px}
.list{display:grid;gap:10px}
.list-note,.list-foot,.legend{color:var(--secondary);font-size:14px;margin:0 0 10px}
.list-foot{margin:16px 0 0}
.legend{display:none;align-items:center;gap:6px;flex-wrap:wrap;margin-top:16px}
.map-ready .legend{display:flex}
.pin-key{display:inline-block;width:12px;height:12px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1px rgb(0 0 0/25%);margin-left:6px}
.pin-key.wenmar{background:#db222a}.pin-key.claimed{background:#050609}.pin-key.unclaimed{background:#78828b}
.empty{text-align:center;padding:24px 12px;color:var(--secondary)}
.empty p{margin:0 0 4px}
.map-status{position:absolute;top:12px;left:50%;transform:translateX(-50%);z-index:4;margin:0;padding:8px 14px;border-radius:999px;background:var(--surface);color:var(--heading);font-size:14px;font-weight:var(--semibold);box-shadow:0 2px 10px rgb(0 0 0/20%)}
.map .maplibregl-ctrl-attrib{font-size:11px}
.map .maplibregl-ctrl-group button{width:40px;height:40px}
@media (max-width:899px){
.map-ready .sheet{position:absolute;left:0;right:0;bottom:0;top:0;z-index:5;display:flex;flex-direction:column;background:var(--surface);border-radius:20px 20px 0 0;box-shadow:0 -10px 30px rgb(0 0 0/18%);transform:translateY(var(--sheet-y,50%));transition:transform .28s cubic-bezier(.2,.8,.2,1);will-change:transform}
.map-ready .sheet.dragging{transition:none}
.map-ready .sheet-handle{flex-direction:column;justify-content:center;gap:0;padding:8px 16px 12px;cursor:grab;touch-action:none;position:relative}
.map-ready .grip{display:block;width:44px;height:5px;border-radius:3px;background:var(--control);margin:0 0 10px}
.map-ready .count{text-align:center}
.map-ready .sheet-toggle{position:absolute;right:8px;top:8px;width:var(--touch);height:var(--touch);padding:0;border:0}
.map-ready .sheet[data-state="full"] .sheet-toggle .icon{transform:none}
.map-ready .sheet:not([data-state="full"]) .sheet-toggle .icon{transform:rotate(180deg)}
.map-ready .sheet-body{flex:1;overflow-y:auto;overscroll-behavior:contain;padding-bottom:calc(24px + env(safe-area-inset-bottom))}
.map-ready .sheet[data-state="peek"] .sheet-body{visibility:hidden}
.map-ready .maplibregl-ctrl-bottom-right,.map-ready .maplibregl-ctrl-bottom-left{bottom:var(--sheet-gap,120px)}
}
@media (min-width:900px){
.filters{grid-template-columns:minmax(300px,440px) minmax(0,1fr);align-items:center;padding:10px 24px;gap:16px}
.chips{margin:0;padding:2px}
.split{display:grid;grid-template-columns:minmax(380px,40%) minmax(0,1fr)}
.map-ready .map-pane{position:relative;inset:auto}
.sheet{border-right:1px solid var(--border);overflow-y:auto;min-height:0}
.map-ready .sheet{height:100%}
.sheet-handle{position:sticky;top:0;background:var(--page);z-index:2;padding:14px 20px}
.sheet-body{padding:0 20px 32px}
.sheet-toggle{display:none!important}
.act:not([data-tap]){display:none}
body:not(.map-ready) .split{display:block;max-width:900px;margin:0 auto;width:100%}
}

/* A shop in the list: photo, name, rating, where, specialties, then Call and Details.
   The whole card is the shop's link (the name's ::after); the buttons sit above it. */
.shop-card{position:relative;display:grid;grid-template-columns:76px minmax(0,1fr);grid-template-areas:"ph main" "act act";gap:10px 12px;padding:12px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-card)}
.shop-card:hover{border-color:var(--control)}
.shop-card.is-active{border-color:var(--heading);box-shadow:0 0 0 1px var(--heading)}
.shop-card.is-flash{animation:flash 1.2s ease}
@keyframes flash{0%,40%{background:color-mix(in srgb,var(--accent) 10%,var(--surface))}100%{background:var(--surface)}}
.sc-photo{grid-area:ph;display:grid;place-items:center;width:76px;height:76px;border-radius:12px;overflow:hidden;background:var(--inset);color:var(--faint)}
.sc-photo img{width:100%;height:100%;object-fit:cover}
.sc-photo .icon{width:34px;height:34px}
.sc-main{grid-area:main;min-width:0}
.sc-name{margin:0 0 4px;font-size:17px;letter-spacing:-.01em;line-height:1.25}
.sc-name a{color:var(--heading);text-decoration:none}
.sc-name a::after{content:"";position:absolute;inset:0;border-radius:inherit}
.sc-name a:focus-visible{outline:none}
.shop-card:has(.sc-name a:focus-visible){outline:3px solid var(--accent);outline-offset:2px}
.sc-meta{display:flex;flex-wrap:wrap;align-items:center;margin:0;font-size:14px;color:var(--secondary);line-height:1.5}
.sc-meta .dot::before{content:"·";margin:0 6px;color:var(--faint)}
.sc-meta .open{color:var(--good-text);font-weight:var(--semibold)}
.sc-tags{display:flex;flex-wrap:wrap;gap:4px;margin:6px 0 0}
.sc-badges{margin:6px 0 0}
.sc-badges .hiring{position:relative;z-index:1}
.sc-actions{grid-area:act;position:relative;z-index:1;display:flex;gap:8px}
.act{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:var(--touch);border:1px solid var(--control);border-radius:999px;color:var(--heading);font-size:15px;font-weight:var(--semibold);text-decoration:none}
.act:hover{border-color:var(--heading)}
.act[data-tap="call"]{background:var(--heading);border-color:var(--heading);color:var(--page)}
@media (min-width:600px){.shop-card{grid-template-columns:88px minmax(0,1fr) auto;grid-template-areas:"ph main act"}.sc-photo{width:88px;height:88px}.sc-actions{flex-direction:column;justify-content:center;min-width:112px}}
@media (min-width:900px){.shop-card{grid-template-columns:76px minmax(0,1fr);grid-template-areas:"ph main" "act act"}.sc-photo{width:76px;height:76px}.sc-actions{flex-direction:row}}

/* The map's pins are MapLibre layers (map.js); the popup is ours. */
.pop{display:grid;gap:4px;min-width:180px;font:14px/1.4 var(--sans);color:#050609}
.pop strong{font-size:15px}
.pop .pop-meta{color:#4a5661}
.pop a{color:#c01e25;font-weight:var(--semibold)}
.maplibregl-popup-content{border-radius:12px;padding:12px 14px;box-shadow:0 6px 24px rgb(0 0 0/22%)}
.maplibregl-popup-close-button{width:32px;height:32px;font-size:20px}

/* Landing pages: the map page with a title and an intro at the top of the list. */
.landing .sheet-body h1{font-size:clamp(26px,5vw,34px);margin:4px 0 8px}
.landing .crumbs{margin:0}
.intro p{color:var(--secondary);margin:0 0 8px}
.link-group{margin:28px 0 0}
.link-group h2{font-size:18px;margin:0 0 8px}
.link-group ul.plain{grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}

/* The shop page (plan §2.3): one column on a phone with a sticky Call / Directions bar;
   from 1024px the contact card sits on the right. */
main.shop-page{max-width:1120px;padding:8px 16px 120px}
.shop-layout{display:grid;gap:16px}
.shop-main{min-width:0}
.gallery{display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x mandatory;margin:0 -16px 16px;padding:0 16px;scrollbar-width:thin}
.gallery figure{flex:0 0 86%;margin:0;aspect-ratio:3/2;border-radius:var(--radius-card);overflow:hidden;background:var(--inset);scroll-snap-align:start}
.gallery figure:only-child{flex-basis:100%}
.gallery img{display:block;width:100%;height:100%;object-fit:cover}
.shop-head{margin:0 0 16px}
.shop-head h1{font-size:clamp(28px,7vw,48px);margin:0 0 8px}
.shop-rating{margin:0 0 8px;display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.badges{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 10px}
.shop-address{display:flex;gap:8px;align-items:flex-start;color:var(--secondary);margin:0}
.shop-address .icon{margin-top:3px}
.description p{white-space:pre-line}
.tags{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.tags .label{margin:0 6px 0 0}
table.hours{table-layout:auto;margin:0}
table.hours th{width:45%}
table.hours tr.today th,table.hours tr.today td{color:var(--heading);font-weight:700}
.map.map-point{height:220px;border-radius:var(--radius)}
.map-card .map-link{margin:12px 0 0}
.map-link a,.empty-reviews a{display:inline-flex;align-items:center;gap:6px}
.reviews-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin:28px 0 12px}
.reviews-head h2{margin:0}
.review header{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 8px}
.review h3{margin:0 0 6px}
.review-body{white-space:pre-line}
.review-by{color:var(--secondary);font-size:14px;margin:8px 0 0}
.review-by a{color:inherit}
.reply{margin:12px 0 0;padding:10px 0 0 14px;border-left:3px solid var(--border)}
.reply p:last-child{margin:0}
.contact{display:grid;gap:10px}
.contact .button{justify-content:flex-start;padding:0 18px}
.owner-card .button{margin-top:4px}
.shop-side .small-print{display:block;color:var(--faint);font-size:14px}
.shop-side .small-print a{color:inherit;display:inline-flex;align-items:center;gap:6px;min-height:var(--touch)}
.action-bar{position:fixed;left:0;right:0;bottom:0;z-index:50;display:flex;gap:8px;padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:var(--surface);border-top:1px solid var(--border)}
.action-bar .button{flex:1;min-height:52px;padding:0 8px;gap:6px;font-size:15px;white-space:nowrap}
body[data-bar] .site-footer{padding-bottom:110px}
@media (min-width:760px){.gallery figure{flex-basis:62%}}
@media (min-width:1024px){
main.shop-page{padding:16px 32px 72px}
.shop-layout{grid-template-columns:minmax(0,1fr) 340px;gap:32px;align-items:start}
.shop-side{position:sticky;top:88px}
.action-bar{display:none}
body[data-bar] .site-footer{padding-bottom:32px}
}

/* Forms of this site. */
.field{display:grid;gap:4px}
.field label{margin:0}
.field .hint{margin:0}
.lg{min-height:var(--field)}
.inline-form{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-end}
.inline-form input{max-width:320px}
.star-pick{display:inline-flex;flex-direction:row-reverse;justify-content:flex-end;gap:2px}
.star-pick input{position:absolute;opacity:0;width:1px;height:1px}
.star-pick label{margin:0;padding:4px;cursor:pointer;color:var(--border-strong);border-radius:8px}
.star-pick label .icon{width:40px;height:40px}
.star-pick input:checked~label,.star-pick label:hover,.star-pick label:hover~label{color:#e8a600}
.star-pick input:focus-visible+label{outline:3px solid var(--accent)}
.rating-input[aria-invalid] legend{color:var(--warn-text)}
.hours-grid{display:grid;gap:12px}
.day{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:6px 10px}
.day legend{grid-column:1/-1;float:left;width:100%;margin:0}
.day label{margin:0}
.day>span{white-space:nowrap;overflow-wrap:normal;color:var(--secondary)}
.day input[type="time"]{min-height:48px;padding:0 10px}
.day .check{grid-column:1/-1;min-height:36px}
@media (min-width:760px){.day{grid-template-columns:120px 140px auto 140px auto}.day legend{grid-column:auto;float:none;width:auto}.day .check{grid-column:auto}}
.photo-grid{list-style:none;padding:0;margin:0 0 20px;display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}
.photo-grid img{display:block;width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:var(--radius)}
.photo-actions{display:flex;gap:6px;align-items:center;margin:6px 0 0}
.photo-actions form{margin:0}
.photo-actions button{min-height:40px;padding:0 12px;font-size:14px}
.owner-shop-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px}
.owner-shop-head h2{margin:0}
.owner-review{border-top:1px solid var(--border);padding:16px 0 0;margin:16px 0 0}
.owner-review form{gap:8px}
.form-end{margin:0 0 24px}

/* The Wenmar Pro band: mahogany, inverted in dark mode. */
.band{margin:32px 0 0;background:var(--band-bg);color:var(--band-text);border-radius:var(--radius-panel);padding:28px 20px;display:grid;gap:16px}
.band h2{color:inherit;margin:0;font-size:calc(var(--section) + 2px)}
.band p{color:var(--band-muted);margin:12px 0 0}
.band .eyebrow{color:inherit;opacity:.85;margin:0 0 8px}
.band .button{background:var(--band-text);border-color:var(--band-text);color:var(--band-bg)}
@media (min-width:760px){.band{grid-template-columns:minmax(0,1.4fr) auto;align-items:center;padding:40px}}
ul.ticks{list-style:none;padding:0;display:grid;gap:8px}
ul.ticks li::before{content:"✓";color:var(--good-text);font-weight:700;margin-right:10px}

/* Printed review cards: three across, no header. */
.qr-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px}
.qr-card{border:1px dashed var(--control);border-radius:var(--radius);padding:16px;text-align:center;break-inside:avoid;background:#fff;color:#050609}
.qr-card svg{width:160px;height:160px}
.qr-title{font-weight:700;font-size:18px;margin:0}
.qr-url{font-family:var(--mono);font-size:9px;overflow-wrap:anywhere;color:#4a5661}

@media print{:root{color-scheme:light;--page:#fff;--surface:#fff;--inset:#fff;--border:#bbb;--control:#666;--heading:#000;--body:#000;--secondary:#333;--faint:#333;--link:#000;--accent:#000;--shadow:none}body{display:block}.skip,.top,.site-footer,.screen-only,.action-bar,.filters{display:none!important}main{padding:0;max-width:none}.card{border:0;padding:0}.qr-cards{grid-template-columns:repeat(3,1fr)}}
@media (prefers-reduced-motion:reduce){.map-ready .sheet{transition:none}.shop-card.is-flash{animation:none}}
