:root { --pink:#E91E8C; --black:#111; }
* { box-sizing:border-box; font-family:system-ui,-apple-system,sans-serif; }
body { margin:0; background:#222; display:flex; justify-content:center; }
#phone { width:100%; max-width:430px; min-height:100vh; background:#fff; display:flex; flex-direction:column; }
/* Compact header bar (v19, Nov 17, 2026, night — Tonya's header
   redesign; v20 correction, same night): ONE slim bar on every
   screen, entry included — a modest logo with the tagline BESIDE it
   (side by side, never stacked under a giant logo), then the big
   Client Portal + hamburger buttons. This frees the vertical space
   the old stacked 200px entry logo block used to eat.
   v20: the entry hero treatment is GONE entirely — the header markup
   carries no .entry class and app.js never toggles one, so no
   big-logo entry path exists. And the logo displays WHOLE at its
   natural aspect ratio: the old circular mask clipped the
   artwork's corners (the "CONTRACTOR REFERRALS" line rendered
   cut off) — no mask, no crop. */
/* v23 (Nov 17, 2026, late night): the header WRAPS into two rows —
   row 1 is logo + centered tagline + ☰, row 2 is #top-actions at full
   width. The single-row layout never fit at phone width (see the
   #top-actions note below), which squeezed the tagline to a sliver
   and pushed the buttons out of the bar on some screens. */
header { background:var(--black); color:#fff; display:flex; flex-wrap:wrap; align-items:center; gap:8px; text-align:left; padding:10px; }
header img { width:56px; height:auto; flex-shrink:0; display:block; cursor:pointer; }
/* The tagline is a home control too (v18): logo + tagline form one
   wide brand tap target back to the entry screen. */
#tagline { cursor:pointer; }
/* Top bar actions (Nov 17, 2026, late — nav redesign; v19 compact
   bar): the Client Portal button + ☰ hamburger sit at the right end
   of the one compact header bar, on the entry screen and in-app.
   The logo + tagline are the home control. */
/* v23: #top-actions is the header's second row — full width, so the
   two .portal-btn buttons split it as equal flex shares (same width
   AND height by construction, at any screen width). In the v21/v22
   single row this cluster was flex-shrink:0 at ~279px; together with
   the 56px logo and header padding the fixed items totaled ~390px
   in a 355px row at 375px, so the tagline's flex column collapsed
   and the cluster could overflow the visible bar. */
#top-actions { display:flex; gap:8px; align-items:center; flex:1 0 100%; }
#top-actions .portal-btn { flex:1 1 0; }
/* Client Portal button (v19, Nov 17, 2026, night — Tonya: still too
   small): a large, obvious button — secondary-CTA presence, NOT a
   pill. This one button serves both the entry screen and the in-app
   top bar (single shared header), so both placements get the size. */
/* v21 (Nov 17, 2026, night): the header now carries TWO buttons on
   this one class — Jobs (Tonya: "need a job icon should be the same
   size") and Client Portal — so both share these exact declarations:
   same height (56px min-height, 16px vertical padding), same font,
   same weight.
   v23 correction: sharing the class equalized the HEIGHT only — the
   WIDTH stayed content-driven, so "Jobs" rendered ~70px against
   "Client Portal" at ~137px (measured at 375px), and the claimed
   one-row fit was wrong (the fixed items overflowed the row). The
   equal WIDTH now comes from the #top-actions flex shares above;
   this class still gives both buttons the identical height, font,
   weight and padding. */
.portal-btn { background:var(--pink); color:#fff; border:none; font-weight:800; font-size:16px; padding:16px 18px; border-radius:14px; cursor:pointer; white-space:nowrap; min-height:56px; }
.menu-btn { background:#fff; color:var(--black); border:none; font-weight:900; font-size:24px; width:56px; height:56px; border-radius:14px; cursor:pointer; line-height:1; padding:0; }
/* Status line (Nov 17, 2026, late): #who moved OUT of the top bar to
   a slim line directly under it — it carries the browsing context
   ("Browsing local pros — free" / "Browsing jobs — free") or the
   signed-in account line. Empty on the entry screen. */
#who { font-size:12.5px; font-weight:600; color:#555; background:#fdf0f7; padding:6px 14px; border-bottom:1px solid #f3d3e6; }
#who:empty { display:none; }
/* Hamburger menu (Nov 17, 2026, late): replaces the tab bar. */
#menu { display:flex; flex-direction:column; gap:6px; padding:10px 14px; background:#fff; border-bottom:2.5px solid var(--black); }
#menu button { padding:11px; border:2px solid var(--black); background:#fff; font-weight:700; font-size:15px; border-radius:10px; cursor:pointer; text-align:left; }
#menu button.on { background:var(--pink); color:#fff; border-color:var(--pink); }
/* (Removed in v19: the 200px stacked entry logo — the compact
   header bar at the top of this file now serves every screen.) */
/* Fresh-device job lookup (Nov 16, 2026): appears only when this
   device has no on-device homeowner record. */
/* Free browsing / free preview bars (Nov 16, 2026, late; slimmed
   Nov 17, 2026; moved BELOW the deck later Nov 17, 2026 — Tonya:
   "I just want to swipe"): no panel, no explanatory text — a compact
   filter row and one slim row of small buttons under the card. */
#browse-bar, #preview-bar { border:none; background:none; padding:2px 0 4px; margin:0 0 6px; }
#browse-bar label { font-size:13px; font-weight:700; color:#555; }
#browse-bar select { width:100%; padding:9px; font-size:15px; border:1.5px solid #ccc; border-radius:8px; margin-top:2px; }
.bar-actions { display:flex; gap:8px; margin:8px 0 0; }
.bar-actions button { flex:1; padding:9px; font-size:14px; margin:0; }
#browse-bar .ghost, #preview-bar .ghost { margin-top:6px; }
.notice { background:#fdf0f7; border-left:5px solid var(--pink); padding:10px 12px; border-radius:8px; font-size:14px; }
#find-jobs { border-top:1px solid #eee; margin-top:6px; padding-top:4px; }
#find-jobs h4 { margin:8px 0 4px; }
#find-jobs p { font-size:13px; color:#555; margin:4px 0; }
/* Tagline (Nov 17, 2026, later — Tonya: the outlined pink still
   "ghosts" on her iPhone): NO text-stroke, NO shadow tricks — solid
   colors only. White 900-weight text on the black header, with
   "Nailed?" in brand pink. Crisp at any size. */
/* Tagline (v21, Nov 17, 2026, night — Tonya: "are you ready to get
   nailed should be centered in the header"): CENTERED in the middle
   space between the logo (left) and the action buttons (right),
   text-align center, at most 2 lines at phone width — the font came
   down from 17px to 12.5px so the whole string fits two lines in the
   middle column the buttons leave. Still a home control (app.js).
   v23 correction: in the single-row header that middle column
   measured 4px wide at 375px — the text wrapped a word per line and
   overflowed behind the buttons ("Are You R… to Get Nailed?"). With
   the buttons on their own row (v23 header), the tagline's column is
   the full space between the logo and the ☰ (~227px at 375px), so
   the font goes back up to 14px and the whole line fits, centered,
   with nothing hidden. */
.tag { color:#fff; font-weight:900; font-size:14px; margin-top:0; letter-spacing:.2px; line-height:1.15; flex:1; min-width:0; text-align:center; }
.tag .tag-pink { color:var(--pink); }
section { padding:14px; flex:1; }
.bigrole { display:block; width:100%; min-height:88px; padding:22px 14px; margin:16px 0; font-size:22px; font-weight:800; border-radius:14px; border:2.5px solid var(--black); cursor:pointer; }
/* Entry screen (Nov 16, 2026 spacing polish): the two big buttons sit
   centered in the available height instead of hugging the top over a
   big empty stretch; the privacy line stays at the foot of the view.
   Only #entry-home carries the auto margins, and it's hidden whenever
   a sign-in panel is open, so the forms still flow from the top. */
#view-auth { display:flex; flex-direction:column; }
/* The hidden attribute must ALWAYS win (Nov 16, 2026): the flex rule
   above silently overrode it, so the entry buttons stayed on screen
   above the jobs list / app views after navigation. */
[hidden] { display:none !important; }
#entry-home { margin:auto 0; padding:12px 0; }
.bigrole.pink { background:var(--pink); color:#fff; border-color:var(--pink); }
.bigrole.dark { background:var(--black); color:#fff; }
.backlink { background:none; border:none; color:var(--pink); font-weight:700; font-size:15px; padding:6px 0; cursor:pointer; }
input, select, textarea { width:100%; padding:10px; margin:5px 0; border:1.5px solid #bbb; border-radius:8px; font-size:15px; }
.cta { width:100%; padding:12px; background:var(--pink); color:#fff; border:none; border-radius:10px; font-weight:800; font-size:16px; cursor:pointer; margin:6px 0; }
.ghost { width:100%; padding:10px; background:#fff; border:2px solid #999; border-radius:10px; margin-top:16px; cursor:pointer; }
.err { color:#c00; font-size:13px; min-height:16px; }
details { margin:10px 0; border-top:1px solid #eee; padding-top:8px; }
summary { font-weight:700; cursor:pointer; color:var(--pink); }
.privacy { font-size:12px; color:#555; margin-top:14px; }
/* Disclaimer spacing normalized (Nov 17, 2026, late — Tonya): the
   block carries the same horizontal padding as the sibling cards'
   text (section 14px + 16px), one consistent 14px gap above and
   below, and no extra dead space. Inside a card the card's own
   padding applies, so only the consistent top gap remains. */
.disclaimer { font-size:12px; line-height:1.55; color:#717171; padding:0 16px; margin:14px 0; }
.card .disclaimer { padding:0; margin:14px 0 0; }
/* Browse explainer (Nov 17, 2026, late): the below-deck note on the
   browse screen; its Submit Your Request control is inline. */
.browse-explainer { font-size:13.5px; line-height:1.55; color:#333; background:#fdf0f7; border-radius:10px; padding:10px 12px; margin:8px 0; }
.inline-cta { background:var(--pink); color:#fff; border:none; font-weight:800; font-size:13.5px; padding:3px 10px; border-radius:99px; cursor:pointer; white-space:nowrap; }
.card { border:2.5px solid var(--black); border-radius:14px; padding:16px; margin:10px 0; }
.card h4 { margin:0 0 6px; color:var(--pink); font-size:18px; }
.card .meta { font-size:12px; color:#666; }
#swipe-btns { display:flex; gap:10px; margin:10px 0; }
#swipe-btns button { flex:1; padding:14px; font-size:17px; font-weight:800; border-radius:12px; cursor:pointer; }
.pass { background:#fff; border:2.5px solid var(--black); }
.match { background:var(--pink); color:#fff; border:2.5px solid var(--pink); }
/* Directions (v21, Nov 17, 2026, night — Tonya: "redo those
   directions at the bottom so its left aligned and bullet pointed"):
   replaces the old centered run-on .hint paragraph. LEFT-ALIGNED,
   real disc bullets (the global ul rule supplies the indent; no
   list-style reset exists in this stylesheet), one direction per
   bullet. The "How does this work?" list gets the same treatment. */
.directions { font-size:13px; color:#555; text-align:left; line-height:1.45; margin:10px 0; }
.directions li { margin:3px 0; }
#how-list { text-align:left; }
/* Drag swiping (v21, Nov 17, 2026, night — Tonya, on the desktop
   link: "i really prefer them to swipe"): deck cards take pointer
   drags (mouse + touch + pen, wired in app.js). Vertical page scroll
   stays native (pan-y); horizontal drags belong to the card. Text
   selection and native image dragging are off on deck cards so a
   mouse drag moves the card instead of selecting/highlighting. */
#deck .card { touch-action:pan-y; user-select:none; -webkit-user-select:none; cursor:grab; }
#deck .card img { -webkit-user-drag:none; }
.matchitem { border-left:5px solid var(--pink); background:#fdf0f7; padding:10px 12px; margin:8px 0; border-radius:8px; }
/* Lead status picker + pro notes (Nov 16, 2026 — same classes/design as
   the website's private my-leads pages, in the app palette). */
.ml-status { margin:10px 0 4px; padding:10px 12px; border:1.5px solid #e5b8d2; border-radius:8px; background:#fff; }
.ml-q { font-weight:700; margin-bottom:4px; }
.ml-opt { display:block; margin:4px 0; font-size:14px; }
.ml-opt input { width:auto; margin:0 6px 0 0; padding:0; }
.ml-reason { width:100%; margin:6px 0; }
.ml-save { background:var(--pink); color:#fff; border:0; padding:8px 14px; border-radius:6px; font-weight:700; cursor:pointer; }
.ml-saved { margin-top:6px; color:#8a6d00; font-size:13px; }
.ml-notes { margin-top:28px; }
.ml-notes textarea { width:100%; }
.chips { display:flex; flex-wrap:wrap; gap:6px; margin:2px 0 8px; }
.chip { padding:8px 12px; border:2px solid var(--black); background:#fff; color:var(--black); border-radius:99px; font-size:14px; font-weight:600; cursor:pointer; }
.chip.sel { background:var(--pink); border-color:var(--pink); color:#fff; }
#hj-services-count { font-weight:700; margin:2px 0 8px; }
.badge { display:inline-block; background:var(--black); color:#fff; font-size:10px; padding:2px 7px; border-radius:99px; margin-left:6px; vertical-align:middle; }
/* Client portal (Nov 17, 2026): keyword chips wrap with breathing room;
   portal section headers sit a little tighter than the More tab's. */
#vtab-portal .badge { margin:0 4px 6px 0; font-size:11px; padding:3px 9px; }
#vtab-portal h3 { margin:18px 0 6px; }
#vtab-portal h3:first-child { margin-top:2px; }
/* Approval board (Nov 17, 2026): draft-post review cards. The status
   color runs down the left edge and in the badge — green approved,
   yellow needs revision, red not approved (Tonya's traffic light);
   a waiting draft carries the brand pink. */
.draft { border-left:6px solid var(--pink); background:#fff; border-top:1.5px solid #eee; border-right:1.5px solid #eee; border-bottom:1.5px solid #eee; padding:12px 14px; margin:10px 0; border-radius:8px; }
.draft.st-approved { border-left-color:#1a9e4b; }
.draft.st-revision { border-left-color:#e0a800; }
.draft.st-rejected { border-left-color:#d43a2f; }
.status-badge { display:inline-block; font-size:11px; font-weight:800; padding:3px 9px; border-radius:99px; vertical-align:middle; }
.sb-pending { background:#fdf0f7; color:var(--pink); border:1.5px solid var(--pink); }
.sb-approved { background:#e5f6ec; color:#14713a; border:1.5px solid #1a9e4b; }
.sb-revision { background:#fff6db; color:#8a6d00; border:1.5px solid #e0a800; }
.sb-rejected { background:#fdeceb; color:#a1261e; border:1.5px solid #d43a2f; }
.draft .caption { margin:8px 0 4px; font-size:15px; line-height:1.45; }
.draft-graphic { display:block; max-width:100%; border-radius:10px; margin:10px 0 2px; }
.review-btns { display:flex; gap:8px; margin:12px 0 4px; }
.review-btns .rv { flex:1; padding:13px 6px; border:none; border-radius:10px; font-weight:800; font-size:15px; cursor:pointer; color:#fff; }
.rv-approve { background:#1a9e4b; }
.rv-revise { background:#e0a800; color:#231a00; }
.rv-reject { background:#d43a2f; }
.notebox { margin:8px 0 2px; }
.thread { margin:10px 0 2px; border-top:1px dashed #ddd; padding-top:8px; }
.cmt { font-size:14px; margin:6px 0; }
.cmt .who { font-weight:800; }
.cmtbox { margin-top:10px; }
.cmtbox textarea { margin-bottom:4px; }
.badge.matched { background:var(--pink); color:#fff; font-weight:800; }
.pro-logo-link { display:block; text-align:center; margin-bottom:8px; }
.pro-logo { max-width:78%; max-height:72px; object-fit:contain; }
.pro-badge { display:inline-flex; align-items:center; justify-content:center; width:64px; height:64px; border-radius:14px; background:var(--black); color:var(--pink); font-weight:800; font-size:24px; letter-spacing:1px; }
.nudge-btn { margin-top:8px; width:auto; padding:8px 12px; }
.plan { border:2px solid var(--black); border-radius:12px; padding:12px; margin:8px 0; }
.plan .price { font-size:24px; font-weight:900; color:var(--pink); }
.gbp { border:2.5px solid var(--pink); border-radius:12px; padding:12px; margin:12px 0; background:#fff5fa; }
footer { position:sticky; bottom:0; background:var(--black); display:flex; }
footer a { flex:1; text-align:center; color:#fff; text-decoration:none; padding:13px 4px; font-weight:800; font-size:14px; }
footer a.textnow { background:var(--pink); }
h3 { margin:16px 0 6px; }
ul { margin:4px 0 10px; padding-left:18px; }
.q { font-weight:700; margin-top:10px; }
/* Homeowner flow (Nov 16, 2026): all-posted-jobs list, Your picks, the
   "Ready to make a match?" identity pop-up, and fuzzy pro details. The
   fuzz is cosmetic ONLY — the server withholds the real name/website
   from unidentified homeowners' payloads; this blur styles the
   placeholder that stands in their place. */
.jobitem { cursor:pointer; }
.fuzzy { filter:blur(6px); user-select:none; color:#999; letter-spacing:2px; margin:2px 0; }
#picks-box { margin-top:16px; }
.pick { margin:10px 0; }
.pick .card { margin-bottom:6px; }
.modal { position:fixed; inset:0; background:rgba(0,0,0,.55); display:flex; align-items:center; justify-content:center; z-index:60; padding:16px; }
.modal[hidden] { display:none; }
.modal-card { background:#fff; border-radius:14px; padding:18px; width:100%; max-width:400px; max-height:92vh; overflow:auto; }
.modal-card h3 { margin-top:0; }
/* v17 (Nov 17, 2026, late): Job section, Refer & Earn, About Us. */
/* v21 (Nov 17, 2026, night — Tonya: "need a job icon should be the
   same size"): the "Need a Job?" entry button now shares the ONE
   .bigrole size rule with "I'm a Pro" / "I Need a Pro" (min-height
   88px, 22px padding, 22px font, 16px margins) — .quiet keeps ONLY
   its distinct color treatment, no size overrides. */
.bigrole.quiet { background:#fff; color:var(--black); }
.flabel { display:block; font-size:13px; font-weight:700; color:#555; margin-top:10px; }
.certify { display:block; font-size:14px; line-height:1.45; margin:12px 0; }
.certify input { width:auto; margin-right:8px; }
.legal-block { border:1.5px solid #bbb; border-radius:8px; padding:10px 12px; margin:12px 0; font-size:13px; color:#444; background:#fafafa; }
.legal-block p { margin:6px 0; }
.job-disc { font-size:13px; color:#666; font-style:italic; }
.donate-btn { display:block; text-align:center; text-decoration:none; }
.about-photo { width:100%; border-radius:14px; margin:10px 0 4px; display:block; }
#view-careers h4, #view-refer h4, #view-about h4 { color:var(--pink); margin:18px 0 6px; }
