/* patch.css — the look of a flood warden's patch pages (the editor at /my-patch/{id} and the page it makes), 29 Nov 2026.

   The mock-up the owner approved (prototype/warden-patch/style.css on branch warden-patch-mockup, 28 Nov 2026: "I love
   it !!!"), carried over class for class with the same wp- names. Layout: a map you draw on like a paper map, with a
   clipboard beside it; then the page that drawing makes. The site's own type (Manrope, JetBrains Mono) for everything
   FloodRadar says; a hand face (Kalam) for what the warden adds.

   It sits under the site's own header and footer, so EVERY rule is scoped under one wrapper, <div class="wp-app">, and
   nothing here styles html, body or a class of the site's: the mock-up's :root and body moved onto .wp-app, which states
   its own light colours (the site's default theme is dark). Only the @font-face rules and the wp- keyframes stand
   outside it. scripts/test-patch-look.php holds all of this.

   What differs from the mock-up, and why:
   - Its top bar (.wp-top, .wp-brand, .wp-mock, #wpTaken) is gone: the site's header replaces it.
   - The drawing tool's own look (.wp-tools, .wp-tools-sep, .wp-hint, .wp-handle, .wp-base) is gone: public/draw-tool.css
     has it under frd- names (FRDraw). The saved shapes' look (.wp-rough, .wp-flood, .wp-tag) stays: the page's map has
     no drawing tool.
   - The mock-up owned the whole window; this page does not. The editor (.wp-edit) is a fixed height, --wp-edit-h, set
     on .wp-app (Task 8 may set it again); the page (.wp-page) scrolls with the document, so it lost its own height and
     scroll. The two maps (.wp-mapwrap, .wp-pgmap) keep Leaflet's layers (z-index 200 to 1000) to themselves with
     isolation, or they would paint over the site's fixed phone bar; .wp-app itself makes no stacking context, so the
     share sheet (fixed, 2000) stays above the site's header (1200).
   - The mock-up's rules for bare elements (button, input, :focus-visible) are wrapped in :where(), so the prefix does not
     lift them over the drawing tool's own button rules; the site's bare header, footer and button rules are undone
     inside .wp-app (both below, after [hidden]).
   - Kalam is served from this folder (kalam-regular.ttf, kalam-bold.ttf, SIL Open Font Licence, LICENSE-Kalam.txt), never
     from another host; the scribble's SVG writes its namespace percent-encoded, so no address appears here.
   The icons and the two pen filters and water hatches it points at (url(#wp-wobble), url(#wp-hatch)) are printed by
   ppIconSet() (includes/patch-icons.php). */
@font-face { font-family: Kalam; src: url('/public/patch/kalam-regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: Kalam; src: url('/public/patch/kalam-bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: Manrope; src: url('/public/home-v4/manrope-regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: Manrope; src: url('/public/home-v4/manrope-semibold.ttf') format('truetype'); font-weight: 600 700; font-display: swap; }
@font-face { font-family: Manrope; src: url('/public/home-v4/manrope-extrabold.ttf') format('truetype'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('/public/home-v4/jetbrains-medium.ttf') format('truetype'); font-weight: 500 700; font-display: swap; }

/* the mock-up's :root and body, on the wrapper */
.wp-app {
  color-scheme: light;
  --ink: #123051;          /* FloodRadar's text navy */
  --ink-2: #536581;
  --ink-3: #8493aa;
  --paper: #f3f6fb;
  --card: #ffffff;
  --line: #d5dde9;
  --brand: #087fda;
  --brand-deep: #0b5ea8;
  --water: #1c7fd6;        /* a place that floods */
  --water-wash: #d9ebfc;
  --official: #e2670c;     /* official warning areas, FloodRadar's orange */
  --note: #fff1a8;         /* the one warm thing: a sticky note */
  --boot: #ffd23f;
  --t-green: #1f9a6b; --t-pale: #cf8f00; --t-amber: #e2670c; --t-red: #c81e2a; --t-grey: #8a97ab;
  --font: Manrope, 'Helvetica Neue', Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --hand: Kalam, 'Bradley Hand', 'Segoe Print', cursive;
  --r: 14px;
  --shadow: 0 1px 2px rgba(18, 48, 81, .08), 0 8px 24px rgba(18, 48, 81, .10);
  --wp-edit-h: clamp(480px, 78vh, 760px);   /* the editor's map and clipboard, under the site's header */
  background: var(--paper); color: var(--ink); font: 400 15px/1.5 var(--font); -webkit-font-smoothing: antialiased;
}

.wp-app, .wp-app * { box-sizing: border-box; }
.wp-app [hidden] { display: none !important; }
/* The mock-up's rules for bare elements (button, input, :focus-visible) are written .wp-app :where(…), weight (0,1,0):
   above styles.css's bare `button` (0,0,1), below the drawing tool's `.frd-tools button` (0,1,1), whichever file is linked
   last. A plain `.wp-app button` would be (0,1,1), tie with the tool and take its buttons' font, colour, padding, border
   and corners whenever this file came after draw-tool.css (and round a keyboard-focused tool button to 6px either way). */
.wp-app :where(button, input) { font: inherit; color: inherit; }
.wp-app :where(button) { cursor: pointer; }
/* The site's own stylesheet (public/styles.css, which every page links) styles three bare elements: header (a purple
   gradient, white, padded), footer (navy, centred, padded) and button (blue, padded, rounded). The mock-up's <header>
   and <footer> (the hero, the page's foot, each gauge card's head and foot) and its buttons were drawn without it, so
   inside .wp-app those properties go back to the browser's own; every wp- rule is more specific and still sets its own.
   styles.css's `button:hover` (0,1,1) still outranks these, so a button here sets its own background in its own class
   rule, as every one of the mock-up's does. scripts/test-patch-look.php reads styles.css and fails if it sets a property
   here that is not undone. */
.wp-app :where(header, footer) { background: revert; color: revert; padding: revert; margin: revert; box-shadow: revert; text-align: revert; }
.wp-app :where(button) { padding: revert; background: revert; border: revert; border-radius: revert; transition: revert; }
.wp-app :where(:focus-visible) { outline: 3px solid rgba(8, 127, 218, .45); outline-offset: 2px; border-radius: 6px; }
.wp-app .wp-defs { position: absolute; }

/* ── icons: an ink line over a dab of colour, with a little wobble ── */
.wp-app .ic { width: 24px; height: 24px; flex: none; color: var(--ink); filter: url(#wp-wobble); overflow: visible; }

/* the warden's boot (the mock-up's top bar had it; the page's foot and the poster still do) */
.wp-app .ic-welly { width: 34px; height: 34px; }

/* ── view 1: the map and the clipboard ── */
.wp-app .wp-edit { display: grid; grid-template-columns: minmax(0, 1fr) 420px; height: var(--wp-edit-h); }
.wp-app .wp-mapwrap { position: relative; min-width: 0; background: #dfe7f1; isolation: isolate; }
.wp-app .wp-map { position: absolute; inset: 0; }
.wp-app .leaflet-container { font-family: var(--font); background: #dfe7f1; }
.wp-app .leaflet-control-attribution { font-size: 10.5px; }

.wp-app .wp-search { position: absolute; z-index: 1001; top: 14px; left: 14px; width: min(320px, calc(100% - 28px)); display: flex; align-items: center; gap: 8px; background: var(--card); border-radius: 12px; padding: 0 12px; box-shadow: var(--shadow); }
.wp-app .wp-search .ic { width: 20px; height: 20px; color: var(--ink-2); }
.wp-app .wp-search input { border: 0; outline: 0; background: transparent; height: 44px; width: 100%; min-width: 0; font-weight: 600; }
.wp-app .wp-search input::placeholder { color: var(--ink-3); font-weight: 400; }
.wp-app .wp-search-list { position: absolute; top: 48px; left: 0; right: 0; margin: 0; padding: 6px; list-style: none; background: var(--card); border-radius: 12px; box-shadow: var(--shadow); }
.wp-app .wp-search-list li button { width: 100%; text-align: left; background: none; border: 0; padding: 9px 10px; border-radius: 8px; font-weight: 600; }
.wp-app .wp-search-list li button:hover, .wp-app .wp-search-list li button:focus-visible { background: var(--paper); }
.wp-app .wp-search-list li small { color: var(--ink-3); font-weight: 400; margin-left: 6px; }

/* (the map background switch, the tools and the hint are the drawing tool's: public/draw-tool.css, .frd-base, .frd-tools, .frd-hint) */

.wp-app .wp-layer-toggle { position: absolute; z-index: 500; left: 14px; bottom: 26px; display: flex; align-items: center; gap: 8px; background: var(--card); border-radius: 999px; padding: 7px 14px 7px 8px; box-shadow: var(--shadow); font-size: 12.5px; font-weight: 700; color: var(--ink-2); cursor: pointer; user-select: none; }
.wp-app .wp-layer-toggle input { position: absolute; opacity: 0; }
.wp-app .wp-layer-toggle .sw { width: 30px; height: 18px; border-radius: 999px; background: var(--line); position: relative; transition: background .15s; }
.wp-app .wp-layer-toggle .sw::after { content: ''; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
.wp-app .wp-layer-toggle input:checked + .sw { background: var(--official); }
.wp-app .wp-layer-toggle input:checked + .sw::after { transform: translateX(12px); }
.wp-app .wp-layer-toggle input:focus-visible + .sw { outline: 3px solid rgba(8, 127, 218, .45); outline-offset: 2px; }

/* ── what is drawn on the map ── */
.wp-app .wp-rough { filter: url(#wp-wobble-lg); }
.wp-app .wp-flood { fill: url(#wp-hatch); fill-opacity: 1; }
.wp-app .is-aerial .wp-flood { fill: url(#wp-hatch-light); }

/* (the corner dots are the drawing tool's: public/draw-tool.css, .frd-handle) */

.wp-app .wp-tag { background: #fff; border: 1.5px solid var(--ink); color: var(--ink); font: 700 15px/1.15 var(--hand); padding: 5px 9px 3px 7px; border-radius: 4px 10px 5px 11px; box-shadow: 2px 3px 0 rgba(18, 48, 81, .22); white-space: nowrap; display: flex; align-items: center; gap: 5px; transform: rotate(-2deg); }
.wp-app .wp-tag .ic { width: 20px; height: 20px; }
.wp-app .leaflet-tooltip.wp-tagwrap { background: none; border: 0; box-shadow: none; padding: 0; opacity: 1 !important; }
.wp-app .leaflet-tooltip.wp-tagwrap::before { display: none; }

.wp-app .wp-mk { position: relative; width: 38px; height: 38px; margin: -19px 0 0 -19px; }
.wp-app .wp-mk-dot { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 3px solid var(--ring, var(--t-grey)); box-shadow: 0 2px 6px rgba(18, 48, 81, .35); transition: transform .35s cubic-bezier(.3, 1.6, .5, 1), opacity .3s, filter .3s; }
.wp-app .wp-mk-dot .ic { width: 24px; height: 24px; }
.wp-app .wp-mk-val { position: absolute; left: 50%; top: 100%; transform: translate(-50%, 3px); font: 600 11px/1 var(--mono); background: var(--ink); color: #fff; padding: 4px 6px; border-radius: 6px; white-space: nowrap; transition: opacity .3s; }
.wp-app .wp-mk.ghost .wp-mk-dot { transform: scale(.62); opacity: .72; filter: grayscale(1); }
.wp-app .wp-mk.ghost .wp-mk-val { opacity: 0; }
.wp-app .wp-mk.small { width: 30px; height: 30px; margin: -15px 0 0 -15px; }
.wp-app .wp-mk.small .wp-mk-dot .ic { width: 19px; height: 19px; }
.wp-app .wp-mk.pop .wp-mk-dot { animation: wp-pop .6s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes wp-pop { 0% { transform: scale(.4); } 60% { transform: scale(1.22); } 100% { transform: scale(1); } }

.wp-app .wp-pop h3 { margin: 0 0 2px; font-size: 14px; font-weight: 800; }
.wp-app .wp-pop p { margin: 0; color: var(--ink-2); font-size: 12.5px; }
.wp-app .wp-pop .v { font: 600 18px/1.2 var(--mono); color: var(--ink); }
.wp-app .leaflet-popup-content-wrapper { border-radius: 12px; box-shadow: var(--shadow); }
.wp-app .leaflet-popup-content { margin: 12px 14px; font-family: var(--font); }

/* ── the clipboard ── */
.wp-app .wp-panel { background: var(--card); border-left: 1px solid var(--line); overflow-y: auto; padding: 18px 22px 28px; display: flex; flex-direction: column; gap: 18px; }
.wp-app .wp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.wp-app .wp-steps button { width: 100%; display: flex; align-items: center; gap: 8px; border: 0; background: none; padding: 8px 6px; border-bottom: 3px solid var(--line); font-weight: 700; font-size: 12.5px; color: var(--ink-3); text-align: left; line-height: 1.2; }
.wp-app .wp-steps i { flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50% 46% 52% 48%; border: 2px solid currentColor; font: 700 15px/1 var(--hand); padding-top: 2px; }
.wp-app .wp-steps li.on button { color: var(--ink); border-bottom-color: var(--ink); }
.wp-app .wp-steps li.done button { color: var(--t-green); border-bottom-color: var(--t-green); }
.wp-app .wp-step { display: flex; flex-direction: column; gap: 16px; }
.wp-app .wp-step h1 { margin: 4px 0 0; font-size: 25px; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; text-wrap: balance; }
.wp-app .wp-scribble { white-space: nowrap; background: url("data:image/svg+xml,%3Csvg xmlns='http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8c30-6 62-6 96-3s66 4 100-2' fill='none' stroke='%23ffd23f' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 0 100% / 100% .42em; padding-bottom: .12em; }
.wp-app .wp-lead { margin: 0; color: var(--ink-2); max-width: 44ch; }

.wp-app .wp-field { display: block; font-weight: 700; font-size: 13px; }
.wp-app .wp-field .opt { font-weight: 400; color: var(--ink-3); }
.wp-app .wp-field input { display: block; width: 100%; margin-top: 6px; height: 46px; border: 1.5px solid var(--line); border-radius: 11px; padding: 0 13px; font-weight: 600; font-size: 15px; background: var(--card); transition: border-color .15s, box-shadow .15s; }
.wp-app .wp-field input:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(8, 127, 218, .14); }
.wp-app #wpName { font: 700 21px/1 var(--hand); padding-top: 4px; }

.wp-app .wp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 18px; border-radius: 12px; border: 1.5px solid transparent; font-weight: 800; font-size: 14.5px; transition: transform .12s, background .15s, box-shadow .15s; }
.wp-app .wp-btn:active:not(:disabled) { transform: translateY(1px) scale(.99); }
.wp-app .wp-btn.primary { background: var(--brand); color: #fff; box-shadow: 0 2px 0 var(--brand-deep); }
.wp-app .wp-btn.primary .ic { color: #fff; }
.wp-app .wp-btn.primary:hover:not(:disabled) { background: #0a74c6; }
.wp-app .wp-btn.primary:disabled { background: var(--line); color: var(--ink-3); box-shadow: none; cursor: default; }
.wp-app .wp-btn.primary:disabled .ic { color: var(--ink-3); }
.wp-app .wp-btn.ghost { background: var(--card); border-color: var(--line); color: var(--ink); }
.wp-app .wp-btn.ghost:hover { border-color: var(--ink-3); }
.wp-app .wp-btn.small { height: 38px; padding: 0 13px; font-size: 13px; border-radius: 10px; }
.wp-app .wp-btn.small .ic { width: 20px; height: 20px; }
.wp-app .wp-btn.next { width: 100%; }
.wp-app #step1 .wp-btn.next { position: sticky; bottom: 0; box-shadow: 0 2px 0 var(--brand-deep), 0 -14px 18px 6px var(--card); }
.wp-app #step1 .wp-btn.next:disabled { box-shadow: 0 -14px 18px 6px var(--card); }
.wp-app .wp-row { display: flex; gap: 10px; flex-wrap: wrap; }
.wp-app .wp-row.split > :first-child { flex: none; }
.wp-app .wp-row.split > :last-child { flex: 1; min-width: 0; }
.wp-app .wp-link { border: 0; background: none; padding: 0; color: var(--brand-deep); font-weight: 700; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }

.wp-app .wp-example { border: 1.5px dashed var(--ink-3); border-radius: var(--r); padding: 13px 14px; display: flex; flex-direction: column; gap: 10px; background: var(--paper); }
.wp-app .wp-example p { margin: 0; font-size: 13.5px; color: var(--ink-2); }
.wp-app .wp-example p b { color: var(--ink); }
.wp-app .wp-example em { font-style: normal; font-weight: 700; color: var(--ink); }

.wp-app .wp-found { border-radius: var(--r); background: linear-gradient(180deg, #f6fafe, #eef4fb); border: 1px solid var(--line); padding: 14px 14px 12px; }
.wp-app .wp-found h2 { margin: 0 0 8px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.wp-app .wp-found ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.wp-app .wp-found li { display: flex; align-items: center; gap: 9px; background: var(--card); border-radius: 11px; padding: 9px 10px; border: 1px solid var(--line); animation: wp-rise .45s both; }
.wp-app .wp-found li:nth-child(2) { animation-delay: .07s; } .wp-app .wp-found li:nth-child(3) { animation-delay: .14s; } .wp-app .wp-found li:nth-child(4) { animation-delay: .21s; }
@keyframes wp-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.wp-app .wp-found li .ic { width: 30px; height: 30px; }
.wp-app .wp-found li b { display: block; font: 600 22px/1 var(--mono); font-variant-numeric: tabular-nums; }
.wp-app .wp-found li span { display: block; font-size: 11.5px; line-height: 1.25; color: var(--ink-2); font-weight: 600; }
.wp-app .wp-found-note { margin: 10px 2px 0; font-size: 12.5px; color: var(--ink-2); }
.wp-app .wp-patchrow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: 13px; color: var(--ink-2); }
.wp-app .wp-patchrow span { font: 600 12.5px/1 var(--mono); }

.wp-app .wp-note { align-self: flex-start; max-width: 300px; font: 400 16.5px/1.3 var(--hand); background: var(--note); padding: 10px 14px 8px; border-radius: 3px 12px 4px 14px; transform: rotate(1.2deg); box-shadow: 2px 4px 0 rgba(18, 48, 81, .08); }
.wp-app .wp-note b { font-weight: 700; }

.wp-app .wp-kinds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.wp-app .wp-kinds button { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 11px 6px 9px; border: 1.5px solid var(--line); background: var(--card); border-radius: 13px; font-weight: 700; font-size: 12.5px; line-height: 1.2; transition: border-color .15s, background .15s, transform .15s; }
.wp-app .wp-kinds button .ic { width: 34px; height: 34px; }
.wp-app .wp-kinds button:hover { border-color: var(--water); transform: translateY(-1px); }
.wp-app .wp-kinds button.on { border-color: var(--water); background: var(--water-wash); box-shadow: inset 0 0 0 1.5px var(--water); }
.wp-app .wp-placeform { display: flex; flex-direction: column; gap: 12px; padding: 14px; border-radius: var(--r); background: var(--water-wash); }
.wp-app .wp-places { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.wp-app .wp-places li { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 13px; background: var(--card); }
.wp-app .wp-places li .ic { width: 32px; height: 32px; }
.wp-app .wp-places li div { flex: 1; min-width: 0; }
.wp-app .wp-places li b { display: block; font: 700 18px/1.15 var(--hand); overflow-wrap: anywhere; }
.wp-app .wp-places li small { display: block; color: var(--ink-2); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wp-app .wp-places li button { border: 0; background: none; padding: 6px; border-radius: 8px; color: var(--ink-3); display: grid; }
.wp-app .wp-places li button:hover { background: var(--paper); color: var(--ink); }
.wp-app .wp-places li button .ic { width: 20px; height: 20px; color: inherit; }
.wp-app .wp-empty { margin: 0; color: var(--ink-3); font-size: 13.5px; }

/* ── view 2: the page ── */
.wp-app .wp-page { background: var(--paper); }   /* scrolls with the document (the mock-up's own height and scroll are gone) */
.wp-app .wp-previewbar { position: sticky; top: 0; z-index: 800; display: flex; align-items: center; gap: 12px; padding: 9px max(16px, env(safe-area-inset-right, 0px)) 9px max(16px, env(safe-area-inset-left, 0px)); background: var(--ink); color: #fff; }
.wp-app .wp-previewbar-text { flex: 1; min-width: 0; text-align: center; font: 700 16px/1.2 var(--hand); padding-top: 2px; opacity: .92; }
.wp-app .wp-previewbar .wp-btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.wp-app .wp-previewbar .wp-btn.ghost .ic { color: #fff; }
.wp-app .wp-doc { max-width: 1060px; margin: 0 auto; padding: 0 max(16px, env(safe-area-inset-right, 0px)) 48px max(16px, env(safe-area-inset-left, 0px)); }

.wp-app .wp-hero { position: relative; margin: 20px 0 0; border-radius: 22px 22px 0 0; overflow: hidden; background: linear-gradient(180deg, #0f2c4d, #14406e 70%, #1a5290); color: #fff; }
.wp-app .wp-hero-in { position: relative; z-index: 1; padding: 30px 32px 78px; }
.wp-app .wp-hero h1 { margin: 14px 0 6px; font-size: clamp(30px, 5vw, 50px); line-height: 1.04; font-weight: 800; letter-spacing: -.03em; text-wrap: balance; overflow-wrap: anywhere; }
.wp-app .wp-hero-sub { margin: 0; color: #c5d8ee; font-size: 15.5px; max-width: 60ch; }
.wp-app .wp-pill { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px 5px 8px; border-radius: 999px; background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .25); font-weight: 700; font-size: 12.5px; }
.wp-app .wp-pill .ic { width: 20px; height: 20px; color: #fff; --wash: rgba(255, 255, 255, .2); }
.wp-app .wp-pill.shared { background: var(--boot); border-color: var(--boot); color: var(--ink); }
.wp-app .wp-pill.shared .ic { color: var(--ink); --wash: rgba(18, 48, 81, .12); }
.wp-app .wp-waves { position: absolute; left: 0; bottom: -1px; width: 200%; height: 74px; display: block; }
.wp-app .wp-waves path { animation: wp-drift 26s linear infinite; }
.wp-app .wp-waves .w1 { fill: #2a6fb5; opacity: .55; animation-duration: 38s; }
.wp-app .wp-waves .w2 { fill: #5da6e3; opacity: .6; animation-duration: 27s; animation-direction: reverse; }
.wp-app .wp-waves .w3 { fill: var(--paper); animation-duration: 19s; }
@keyframes wp-drift { from { transform: translateX(0); } to { transform: translateX(-300px); } }

.wp-app .wp-now { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin: 4px 0 0; }
.wp-app .wp-nowcard { display: flex; align-items: center; gap: 13px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.wp-app .wp-nowcard .ic { width: 40px; height: 40px; }
.wp-app .wp-nowcard b { display: block; font-size: 16.5px; font-weight: 800; line-height: 1.2; }
.wp-app .wp-nowcard span { display: block; color: var(--ink-2); font-size: 13px; }
.wp-app .wp-nowcard.ok { border-left: 5px solid var(--t-green); }
.wp-app .wp-nowcard.warn { border-left: 5px solid var(--official); }
.wp-app .wp-nowcard.grey { border-left: 5px solid var(--t-grey); }

.wp-app .wp-sec { margin-top: 34px; }
.wp-app .wp-sec.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.wp-app .wp-sec-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: 12px; }
.wp-app .wp-sec-head h2 { margin: 0; font-size: 21px; font-weight: 800; letter-spacing: -.015em; }
.wp-app .wp-sec-head p { margin: 0; color: var(--ink-2); font-size: 13.5px; }
.wp-app .wp-pgmap { height: min(56vh, 480px); border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: #dfe7f1; isolation: isolate; }
.wp-app .wp-legend { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 12.5px; color: var(--ink-2); font-weight: 600; }
.wp-app .wp-legend li { display: flex; align-items: center; gap: 7px; }
.wp-app .wp-legend i { width: 26px; height: 14px; border-radius: 4px; display: inline-block; }
.wp-app .wp-legend .lg-patch { border: 2.5px dashed var(--ink); background: transparent; }
.wp-app .wp-legend .lg-flood { border: 2px solid var(--water); background: repeating-linear-gradient(170deg, rgba(28, 127, 214, .22) 0 4px, rgba(28, 127, 214, .5) 4px 6px); }
.wp-app .wp-legend .lg-official { border: 2px solid var(--official); background: rgba(226, 103, 12, .12); }

.wp-app .wp-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; }
.wp-app .wp-gcard { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px 16px 12px; display: flex; flex-direction: column; gap: 10px; border-top: 5px solid var(--tier, var(--t-grey)); }
.wp-app .wp-gcard header { display: flex; align-items: flex-start; gap: 10px; }
.wp-app .wp-gcard header .ic { width: 34px; height: 34px; }
.wp-app .wp-gcard h3 { margin: 0; font-size: 16px; font-weight: 800; line-height: 1.2; }
.wp-app .wp-gcard header p { margin: 1px 0 0; font-size: 12.5px; color: var(--ink-2); }
.wp-app .wp-gcard .where { margin-left: auto; font: 700 13px/1 var(--hand); background: var(--note); padding: 5px 8px 3px; border-radius: 3px 8px 4px 9px; transform: rotate(1.5deg); white-space: nowrap; }
.wp-app .wp-gfig { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.wp-app .wp-gfig b { font: 600 34px/1 var(--mono); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.wp-app .wp-gfig b small { font-size: 15px; color: var(--ink-2); margin-left: 3px; letter-spacing: 0; }
.wp-app .wp-tier { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-weight: 800; font-size: 12px; background: color-mix(in srgb, var(--tier) 14%, #fff); color: color-mix(in srgb, var(--tier) 78%, #000); }
.wp-app .wp-tier::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--tier); }
.wp-app .wp-trend { flex-basis: 100%; font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
.wp-app .wp-spark { width: 100%; height: 78px; display: block; overflow: visible; }
.wp-app .wp-spark text { font: 500 9.5px var(--mono); fill: var(--ink-3); }
/* The caption is two lines, one under the other (Marc, 29 Nov 2026, of a card on his own page: "a fix needed for here"):
   side by side, "Reading at 23:00, 29 Nov" and "dashed: high for this river, 1.52 m" each broke in two in a 290 px card.
   And the chart with its caption sits at the foot of the card, so in a row of cards of one height the spare space is
   between the figure and the chart, never an empty block under the caption. */
.wp-app .wp-gcard footer { display: flex; flex-direction: column; gap: 2px; font-size: 11.5px; color: var(--ink-3); font-family: var(--mono); }
.wp-app .wp-gcard > .wp-spark, .wp-app .wp-gcard > .wp-quiet { margin-top: auto; }

.wp-app .wp-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.wp-app .wp-list li { display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 11px 14px; }
.wp-app .wp-list li .ic { width: 32px; height: 32px; }
.wp-app .wp-list li div { flex: 1; min-width: 0; }
.wp-app #pgMonitoring .wp-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wp-app #pgMonitoring li { align-items: flex-start; overflow-wrap: anywhere; }
.wp-app #pgMonitoring li a { display: inline-block; margin: 4px 0; font-weight: 650; }
@media (max-width: 640px) {
  .wp-app #pgMonitoring .wp-list { grid-template-columns: 1fr; }
}
.wp-app .wp-list li b { display: block; font-weight: 800; font-size: 14px; line-height: 1.25; }
.wp-app .wp-list li small { display: block; color: var(--ink-2); font-size: 12.5px; }
.wp-app .wp-mm { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; }
.wp-app .wp-mm b { font-size: 20px; font-weight: 600; }
.wp-app .wp-mm small { font-size: 11px; color: var(--ink-3); }
.wp-app .wp-status { font-weight: 800; font-size: 12px; padding: 4px 9px; border-radius: 999px; background: var(--paper); color: var(--ink-2); white-space: nowrap; }
.wp-app .wp-status.live { background: #f6e3d0; color: #8a3d00; }
.wp-app .wp-quiet { margin: 0; padding: 14px 16px; border-radius: 14px; background: var(--card); border: 1px dashed var(--line); color: var(--ink-2); font-size: 13.5px; }

.wp-app .wp-placecards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.wp-app .wp-pcard { position: relative; background: var(--card); border: 1.5px solid var(--ink); border-radius: 6px 16px 8px 18px; padding: 14px 16px 12px; box-shadow: 3px 4px 0 rgba(18, 48, 81, .16); display: flex; gap: 12px; align-items: flex-start; }
.wp-app .wp-pcard:nth-child(odd) { transform: rotate(-.5deg); } .wp-app .wp-pcard:nth-child(even) { transform: rotate(.6deg); }
.wp-app .wp-pcard .ic { width: 40px; height: 40px; }
.wp-app .wp-pcard > div { min-width: 0; }   /* a name of one long word wraps inside its card, never past the page's edge */
.wp-app .wp-pcard b { display: block; font: 700 21px/1.15 var(--hand); overflow-wrap: anywhere; }
.wp-app .wp-pcard p { margin: 2px 0 0; font: 400 16px/1.3 var(--hand); color: var(--ink-2); overflow-wrap: anywhere; }
.wp-app .wp-pcard small { display: block; margin-top: 6px; font: 500 11px var(--mono); color: var(--ink-3); }

.wp-app .wp-foot { margin-top: 44px; display: flex; align-items: center; gap: 12px; color: var(--ink-2); font-size: 13px; border-top: 1px solid var(--line); padding-top: 18px; }
.wp-app .wp-foot p { margin: 0; max-width: 70ch; }

/* ── share sheet ── */
.wp-app .wp-sheet { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 16px; background: rgba(12, 30, 52, .55); backdrop-filter: blur(3px); animation: wp-fade .2s both; overflow-y: auto; }
@keyframes wp-fade { from { opacity: 0; } to { opacity: 1; } }
.wp-app .wp-sheet-card { position: relative; width: min(560px, 100%); background: var(--card); border-radius: 22px; padding: 26px 26px 24px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); animation: wp-rise .3s both; }
.wp-app .wp-sheet-card h2 { margin: 0 0 14px; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.wp-app .wp-sheet-x { position: absolute; top: 16px; right: 16px; border: 0; background: var(--paper); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; }
.wp-app .wp-sheet-x .ic { width: 18px; height: 18px; filter: none; }
.wp-app .wp-share { display: flex; flex-direction: column; gap: 8px; }
.wp-app .wp-share button { display: flex; align-items: center; gap: 13px; text-align: left; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--card); transition: border-color .15s, background .15s; }
.wp-app .wp-share button .ic { width: 34px; height: 34px; }
.wp-app .wp-share button b { display: block; font-weight: 800; font-size: 15px; }
.wp-app .wp-share button small { display: block; color: var(--ink-2); font-size: 12.5px; }
.wp-app .wp-share button[aria-checked="true"] { border-color: var(--brand); background: #f1f8fe; box-shadow: inset 0 0 0 1.5px var(--brand); }
.wp-app .wp-sharebody { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.wp-app .wp-linkrow { display: flex; gap: 8px; }
.wp-app .wp-linkrow input { flex: 1; min-width: 0; height: 38px; border: 1.5px solid var(--line); border-radius: 10px; padding: 0 11px; font: 500 12.5px var(--mono); background: var(--paper); }
.wp-app .wp-sharenote { margin: 0; font-size: 12.5px; color: var(--ink-2); }
.wp-app .wp-poster { display: flex; gap: 16px; align-items: flex-end; margin-top: 6px; }
.wp-app .wp-poster-sheet { position: relative; flex: none; width: 196px; aspect-ratio: 210 / 297; background: #fff; border: 1px solid var(--line); border-radius: 4px; box-shadow: 0 10px 26px rgba(18, 48, 81, .22); transform: rotate(-2.2deg); padding: 14px 13px 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; overflow: hidden; }
.wp-app .wp-poster-kicker { font: 700 8.5px var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--brand-deep); }
.wp-app .wp-poster-sheet strong { font: 700 21px/1.05 var(--hand); color: var(--ink); text-wrap: balance; }
.wp-app .wp-poster-line { font-size: 8.5px; line-height: 1.3; color: var(--ink-2); }
.wp-app .wp-poster-qr { width: 92px; height: 92px; margin-top: 4px; display: grid; place-items: center; }
.wp-app .wp-poster-qr svg { width: 100%; height: 100%; display: block; }
.wp-app .wp-poster-url { font: 500 6.6px var(--mono); color: var(--ink-2); word-break: break-all; }
.wp-app .wp-poster-art { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 44px; }
.wp-app .wp-poster-welly { position: absolute; right: 12px; bottom: 6px; width: 40px; height: 40px; }
.wp-app .wp-poster-cap { margin: 0 0 8px; padding: 0; list-style: none; font: 400 17px/1.3 var(--hand); color: var(--ink-2); display: flex; flex-direction: column; gap: 6px; }
.wp-app .wp-poster-cap b { display: block; font: 800 14px/1.2 var(--font); color: var(--ink); margin-bottom: 2px; }
.wp-app .wp-poster-cap li::before { content: '✓  '; color: var(--t-green); font-weight: 700; }

/* ── the warden's list, the door and the editor's own lines (my-patch.php; the mock-up had none of these) ── */
.wp-app .wp-say { margin: 0; font-size: 13px; font-weight: 700; color: #a3121e; }
.wp-app .wp-placeform-line { margin: -4px 0 0; font-size: 12.5px; color: var(--ink-2); }
.wp-app a.wp-btn { text-decoration: none; }
.wp-app .wp-mine { max-width: 760px; margin: 0 auto; padding: 28px max(16px, env(safe-area-inset-right, 0px)) 56px max(16px, env(safe-area-inset-left, 0px)); display: flex; flex-direction: column; gap: 16px; }
.wp-app .wp-mine h1 { margin: 0; font-size: clamp(26px, 4.4vw, 36px); line-height: 1.1; font-weight: 800; letter-spacing: -.02em; }
.wp-app .wp-mine > .wp-btn { align-self: flex-start; }
.wp-app .wp-mine-kept { margin: 8px 0 0; font-size: 16px; font-weight: 800; }
.wp-app .wp-mine-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.wp-app .wp-mine-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 13px; background: var(--card); }
.wp-app .wp-mine-list li > .ic { width: 32px; height: 32px; }
.wp-app .wp-mine-list li > div { flex: 1; min-width: min(12rem, 100%); }
.wp-app .wp-mine-list li b { display: block; font: 700 20px/1.15 var(--hand); overflow-wrap: anywhere; }
.wp-app .wp-mine-list li small { display: block; color: var(--ink-2); font-size: 12.5px; }
.wp-app .wp-mine-acts { display: flex; gap: 8px; flex: none; }
.wp-app .wp-door-tick { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; cursor: pointer; }
.wp-app .wp-door-tick input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--brand); }

/* (.wp-search stands at z-index 1001, above the switch below it and the drawing tool's note, so its list is never covered.)
   The drawing tool's bar sits at the foot of the map, centred; under the site's header the map is the window less the
   420px clipboard, so below about 1,360px the bar would cover the switch at the map's foot: it goes under the search, as
   on narrow screens (the mock-up had the whole window, and the room). */
@media (max-width: 1400px) {
  .wp-app .wp-layer-toggle { bottom: auto; top: 68px; }
}
/* ── narrow screens: the map on top, the clipboard under it ── */
@media (max-width: 900px) {
  .wp-app .wp-edit { display: block; height: auto; }
  .wp-app .wp-mapwrap { height: 68vh; min-height: 420px; }
  .wp-app .wp-panel { border-left: 0; border-top: 1px solid var(--line); overflow: visible; }
  .wp-app .wp-search { width: calc(100% - 128px); }   /* room on its right for the drawing tool's background switch */
  .wp-app .wp-layer-toggle { bottom: auto; top: 68px; }
  .wp-app .wp-hero-in { padding: 24px 20px 70px; }
  .wp-app .wp-previewbar-text { display: none; }
  .wp-app .wp-previewbar { justify-content: space-between; }
  .wp-app .wp-poster { flex-direction: column; align-items: center; }
}
/* the site's phone tab bars (the classic chrome's .fr-tabbar under 640px, the live header's .v4-phone-nav under 600px, up
   to 64px with its padding) are fixed at the foot of the screen: the sticky Next button stands above them */
@media (max-width: 640px) {
  .wp-app #step1 .wp-btn.next { bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) {
  .wp-app *, .wp-app *::before, .wp-app *::after { animation: none !important; transition: none !important; }
}

/* ══ The group's photo, its contact details and "Flood wardens near you" (30 Nov 2026) ══════════════════════════════════
   Parts 1 to 4 are the mock-up the owner approved (prototype/warden-contact/contact.css at e5e86150c on branch
   flood-wardens-page-mockup, 30 Nov 2026: "deploy both"), carried over rule for rule. The mock-up linked them after this
   file, so they stand here, after it: .wpc-photo's background and .wp-hero's are of equal weight, and the later draws.
   Part 5 is what the build adds beside the picture; none of it changes what the mock-up drew.
   Spec docs/superpowers/specs/2026-11-30-patch-page-photo-contact-design.md; scripts/test-patch-look.php section 3c. */

/* ── 1. the photo behind the hero ── */
.wp-app .wpc-photo { background: #14406e; }
.wp-app .wpc-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; display: block; }
/* Darkened so the white name and line pass on ANY photo, a white one included (the mock-up measured a white photo: the
   name 6.7 to 1, the line 5.6 to 1): a floor of about 70% navy behind wherever the words can run, down to the navy at the
   waves. On a wide screen the words keep to the left 60%, so the photo shows brighter on the right; on a narrow one the
   words run the full width, so the floor does too. */
.wp-app .wpc-hero-shade { position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 27, 49, .62) 0%, rgba(9, 27, 49, .58) 60%, rgba(9, 27, 49, .2) 82%, rgba(9, 27, 49, .12) 100%),
    linear-gradient(180deg, rgba(15, 44, 77, .36) 0%, rgba(15, 44, 77, .33) 50%, rgba(20, 64, 110, .82) 82%, #1a5290 100%); }
@media (max-width: 900px) {
  .wp-app .wpc-hero-shade { background:
    linear-gradient(rgba(9, 27, 49, .6), rgba(9, 27, 49, .6)),
    linear-gradient(180deg, rgba(15, 44, 77, .36) 0%, rgba(15, 44, 77, .33) 50%, rgba(20, 64, 110, .82) 82%, #1a5290 100%); }
}
.wp-app .wpc-photo h1, .wp-app .wpc-photo .wp-hero-sub { text-shadow: 0 1px 2px rgba(5, 18, 36, .45), 0 2px 18px rgba(5, 18, 36, .45); }
.wp-app .wpc-photo .wp-hero-sub { color: #e2edf9; }

/* ── 2. get in touch ── */
.wp-app .wpc-contact .wp-sec-head { margin-bottom: 14px; }
.wp-app .wpc-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.wp-app .wpc-btn .ic { width: 26px; height: 26px; }
.wp-app .wpc-btn.small .ic { width: 22px; height: 22px; }
.wp-app .wpc-added { margin: 10px 0 0; font-size: 12.5px; color: var(--ink-3); }

/* ── 3. the owner's panel, and its button in the dark bar (a pale dab there would read as a blank box) ── */
/* Scoped to a bar that holds "Photo and contact" (.wpc-bar, printed by ppRender() only with the button): until the details
   table is there, "Edit" (until 30 Nov 2026 "Back to drawing") keeps its dab as before (the review's minor 4, ruled 30 Nov 2026). */
.wp-app .wp-previewbar.wpc-bar .wp-btn.ghost .ic { --wash: rgba(255, 255, 255, .16); }
.wp-app .wpc-sheet .wp-sheet-card { width: min(580px, 100%); }
.wp-app .wpc-sheet .wp-sheet-x { color: var(--ink); }
.wp-app .wpc-sheet h2 { padding-right: 44px; }
.wp-app .wpc-form { display: flex; flex-direction: column; gap: 16px; }
.wp-app .wpc-lead { display: flex; gap: 10px; align-items: flex-start; margin: -2px 0 2px; padding: 11px 13px; border-radius: 12px; background: var(--paper); font-size: 13.5px; color: var(--ink-2); }
.wp-app .wpc-lead .ic { width: 24px; height: 24px; margin-top: -1px; }
.wp-app .wpc-photo-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 8px; }
.wp-app .wpc-thumb { width: 150px; height: 84px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); display: block; }
.wp-app .wpc-photo-acts { display: flex; align-items: center; gap: 14px; }
.wp-app .wpc-file { position: relative; overflow: hidden; cursor: pointer; }
.wp-app .wpc-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.wp-app .wpc-hint { margin: 6px 0 0; font-size: 12.5px; font-weight: 400; color: var(--ink-2); }
.wp-app .wpc-two input + input { margin-top: 8px; }
.wp-app .wpc-add { margin-top: 8px; }
.wp-app .wpc-tick .wpc-hint { margin-left: 30px; }
.wp-app .wpc-form .wp-row { margin-top: 2px; }

/* ── 4. flood wardens near you ── */
.wp-app .wpc-near { margin-top: 18px; display: flex; flex-direction: column; gap: 4px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px 16px; }
.wp-app .wpc-near h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font-size: 19px; font-weight: 800; letter-spacing: -.015em; }
.wp-app .wpc-near h2 .ic { width: 30px; height: 30px; }
.wp-app .wpc-near-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.wp-app .wpc-near-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 13px 0; border-top: 1px solid var(--line); }
.wp-app .wpc-near-list li > .ic { width: 32px; height: 32px; }
.wp-app .wpc-near-list li > div { flex: 1; min-width: min(13rem, 100%); }
.wp-app .wpc-near-list b { display: block; font: 700 20px/1.15 var(--hand); overflow-wrap: anywhere; }
.wp-app .wpc-near-list small { display: block; color: var(--ink-2); font-size: 12.5px; }
.wp-app .wpc-near-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.wp-app .wpc-near .wp-empty { padding: 12px 0 4px; border-top: 1px solid var(--line); }
.wp-app .wpc-near-foot { margin: 6px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-2); }

@media (max-width: 600px) {
  .wp-app .wpc-buttons .wp-btn { flex: 1 1 100%; justify-content: flex-start; }
  .wp-app .wpc-near-list li > div { flex-basis: calc(100% - 46px); }
  .wp-app .wpc-near-acts { padding-left: 46px; }
}

/* ── 5. what the build adds beside the picture ── */
/* A box's refusal (p.wp-say, its next sibling: a <p> cannot sit inside a <label>) and the email box's sign-in line sit 6px
   under their box, as the mock-up's hints sit under theirs; the form's 16px gap is pulled up by 10px. While hidden they
   take no gap. Between the social boxes the 8px stays when a refusal's place stands between two of them. */
.wp-app .wpc-form > .wp-say, .wp-app .wpc-form > .wpc-hint { margin-top: -10px; }
.wp-app .wpc-two .wp-say { margin-top: 6px; }
.wp-app .wpc-two .wp-say + input { margin-top: 8px; }
/* The button that opens the sheet is a <button> where the mock-up drew a link: a button centres its words when they wrap
   (at 400px "Photo and contact" takes two lines), the link did not. */
.wp-app #wpcOpen { text-align: left; }
/* The sheet's two status lines: the photo's under its hint, the details' above Save. */
.wp-app .wpc-photo-field .wp-sharenote { margin-top: 6px; font-weight: 400; }
/* The file box can be reached by keyboard (the mock-up's tabindex="-1" is gone): its ring is drawn on the button that holds it. */
.wp-app .wpc-file:focus-within { outline: 3px solid rgba(8, 127, 218, .45); outline-offset: 2px; }
/* A long group name, and a social link's words of about 190 unbroken characters ("Our page on" and its host), wrap at
   400px, never past the page's edge; a button of one line keeps the mock-up's 46px. */
.wp-app .wpc-contact h2 { overflow-wrap: anywhere; }
.wp-app .wpc-contact .wpc-btn { height: auto; min-height: 46px; padding-top: 8px; padding-bottom: 8px; max-width: 100%; overflow-wrap: anywhere; }
/* The short form (an owner who is not let in): what is held, as text under the sheet's labels. */
.wp-app .wpc-held { margin: 6px 0 0; font-weight: 600; font-size: 14.5px; overflow-wrap: anywhere; }
/* "Flood wardens near you": the line "Your area changed today…" (the design's, not in the mock-up) sits under the heading
   in the card's small grey hand, with no rule above it, so it never reads as a row of the list. A button's words (a
   group's host can run to about 190 unbroken characters) wrap at 400px, never past the card's edge; a button of one
   line keeps the mock-up's 38px. */
.wp-app .wpc-near-changed { margin: -2px 0 8px; font-size: 13.5px; color: var(--ink-2); }
.wp-app .wpc-near .wpc-btn { height: auto; min-height: 38px; padding-top: 6px; padding-bottom: 6px; max-width: 100%; overflow-wrap: anywhere; }
