/* Open Corp app shell (/app/): the website's phone layout as one centred column at every width.
 * Values are the homepage's own phone (390 px) computed styles, see
 * opencorp-app-prototype/tests/integration/reports/parity-1014/live-design-reference/tokens.json.
 * No dark mode: the website has none. Dialog styling comes from request-popup.css, worker-application.css and modal-shell,
 * plus the three global dialog rules the homepage gets from catalog.css (which this page does not load), copied below. */
:root{color-scheme:light;--ink:#061e3a;--ink-2:#122c3e;--muted:#526b7a;--link:#087995;--brand:#0675c3;--brand-2:#069ba9;--brand-dark:#05548c;--grad:linear-gradient(115deg,#0675c3,#069ba9);--grad-cta:linear-gradient(115deg,#0675c3,#079ca9);--grad-cta-hover:linear-gradient(115deg,#0562a5,#068591);--line:#c0dfe7;--card-line:#d0dde9;--col:500px;--gutter:20px;--bottom:64px}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;min-height:100dvh;display:flex;flex-direction:column;background:linear-gradient(150deg,#fafdff 0%,#eef8fc 55%,#e7faf6 100%);color:var(--ink);font:16px/1.5 "Segoe UI",Arial,sans-serif;padding-bottom:calc(var(--bottom) + env(safe-area-inset-bottom,0px))}
a{color:inherit;text-decoration:none}button,input{font:inherit}button,a,input{touch-action:manipulation}button{cursor:pointer}
a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #06a4dc;outline-offset:4px}
.skip{position:absolute;left:16px;top:-80px;z-index:40;background:#fff;padding:12px}.skip:focus{top:8px}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* hidden always hides, whatever display a class gives (buttons, cards, sections of the four screens). */
[hidden]{display:none!important}
/* Skip to content and a screen change move focus to main or the screen heading; those are not controls, so no ring. */
main:focus,[tabindex="-1"]:focus{outline:none}
img{max-width:100%}

/* Dialog base, as catalog.css gives it to the homepage: ink text, muted paragraphs, the navy backdrop, and the 500 px close
 * confirmation (review UX-8: the paragraph rule was missing, so account dialog lines read darker than on the website). */
dialog{color:var(--ink)}
dialog p{color:var(--muted)}
dialog::backdrop{background:#102c4070}
dialog.req-exit{max-width:500px}
/* The app's request form names the chosen service under "Request form" (request-app.js serviceLine, app only). Title and
   service line stack beside the close button, so the head keeps the website's height and Next / Back / Submit request show
   in full when the popup opens (evidence D8, 10/15). */
dialog.req .req-head:has(.req-service:not([hidden])){display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;row-gap:0;align-items:center;padding-block:12px}
dialog.req .req-head:has(.req-service:not([hidden])) h2{grid-column:1;grid-row:1;line-height:1.15}
dialog.req .req-service{grid-column:1;grid-row:2;margin:0;font:600 13px/1.25 'Segoe UI',Arial,sans-serif;color:#2d5468}
dialog.req .req-head:has(.req-service:not([hidden])) .req-close{grid-column:2;grid-row:1 / span 2}
dialog.req .req-service[hidden]{display:none}

/* Header: the homepage header exactly as it renders at 390 px (catalog.css, max-width 600px rules, build 20261015T204139Z):
 * the centred logo mark + wordmark with the TM, the search bar, then Join Our Community / Log In / Sign Up spread across the
 * row. It scrolls with the page like the homepage's (not sticky). Owner decision 2026-10-15: no Request service button here;
 * generic requests start from the search bar and the cards (and /app/#request). Wider screens keep the same arrangement,
 * centred over the 500 px column. */
.app-top{background-image:url('/header-waves.svg'),radial-gradient(ellipse at 15% 100%,#cdeafa55,transparent 48%),linear-gradient(115deg,#fff 25%,#f2faff 65%,#e5fbf5);background-size:100% 100%;background-repeat:no-repeat;border-bottom:1px solid var(--line);padding:20px 18px}
.app-top-inner{width:min(calc(var(--col) - 2 * var(--gutter)),100%);margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr);align-items:center;gap:14px}
.brand{display:flex;gap:9px;align-items:center;width:max-content;justify-self:center}
.brand-shield{display:block;flex:0 0 38px;width:38px;height:44px;background:url('/oc-logo-mark.png') center/contain no-repeat;filter:drop-shadow(0 2px 3px #10344b12)}
.wordmark{font-size:44px;font-weight:800;letter-spacing:-2px;line-height:1;white-space:nowrap;color:var(--ink)}
.wordmark span{background:linear-gradient(100deg,#007ce8,#00b4cc,#00bb93);color:transparent;-webkit-background-clip:text;background-clip:text}
.wordmark sup{font-size:10px;letter-spacing:0;vertical-align:top;margin-left:2px}
.accounts{display:flex;align-items:center;justify-self:stretch;justify-content:space-between;gap:4px}
.accounts button{border:0;background:#ffffffad;color:var(--ink-2);padding:11px 9px;white-space:nowrap;font-size:12px;font-weight:650;border-radius:8px}
.accounts .signup{background:var(--grad-cta);color:#fff;padding-inline:16px}
.accounts button:hover{box-shadow:0 3px 12px #132d4320}

/* Column */
/* 8 px above the first section, as the homepage leaves under its header at 390 px. */
main{flex:1 0 auto;width:min(var(--col),100%);margin:0 auto;padding:8px var(--gutter) 24px}
.app-top,.app-footer{flex:none}
.app-screen{display:block}

/* Search bar (inside the header band, as on the homepage) */
.search-form{display:flex;min-height:54px;border:1px solid #a6ccd8;border-radius:12px;overflow:hidden;background:#ffffffed;box-shadow:0 5px 18px #2b729b12,inset 0 1px 0 #fff}
.search-form:focus-within{outline:2px solid #168bd0}
.search-form input{width:100%;min-width:0;border:0;background:transparent;padding:13px 15px;color:var(--ink-2);outline:none;font-size:16px}
.search-form input::placeholder{color:#757575}
.search-form button{border:0;background:var(--grad);color:#fff;width:64px;flex:0 0 64px;font-size:24px}

/* Most Popular Service: the homepage's House Cleaning stage, its phone (600 px and narrower) values from catalog.css as of
 * build 20261015T204139Z: square picture, title top left, Request service above the dots, dots inside the picture. */
.cleaning-feature{margin:0 0 24px}
.cleaning-heading{display:flex;align-items:center;justify-content:center;gap:12px;margin:0 0 16px;text-align:center}
.cleaning-heading:before,.cleaning-heading:after{content:'';height:1px;width:25px;background:#80bdce}
.cleaning-heading h2{margin:0;font-size:22px;font-weight:700;letter-spacing:-.5px;line-height:1.2;color:var(--ink-2)}
.cleaning-stage{display:block;position:relative;width:100%;padding:0;overflow:hidden;border-radius:20px;border:1px solid #ffffffb0;background:#163b4e;box-shadow:0 18px 48px #173c521a;isolation:isolate}
.cleaning-clarity-defs{position:absolute;pointer-events:none}
.cleaning-slide{margin:0;position:relative;aspect-ratio:1/1;min-height:280px}
.cleaning-slide[hidden]{display:none}
.cleaning-slide img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;filter:url(#cleaning-photo-clarity) contrast(1.025)}
.cleaning-slide:after{content:'';position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(5,24,39,.82) 0%,rgba(5,24,39,.45) 18%,transparent 44%);pointer-events:none}
.cleaning-picture-title{position:absolute;z-index:3;top:20px;left:20px;right:16px;margin:0;padding:0;color:#fff;font-size:clamp(28px,7vw,42px);font-weight:800;letter-spacing:-1px;line-height:1.1;text-align:left;white-space:normal;text-shadow:0 2px 12px #031e3280;pointer-events:none}
.cleaning-request-cta,.photo-request-cta{display:inline-flex;align-items:center;justify-content:center;border:1px solid #ffffff70;border-radius:10px;background:var(--grad-cta);color:#fff;font-weight:750;line-height:1.2;text-shadow:none;box-shadow:0 5px 18px #001c3a45;cursor:pointer;pointer-events:auto}
.cleaning-request-cta{position:absolute;z-index:4;left:20px;bottom:60px;min-width:200px;max-width:calc(100% - 40px);min-height:56px;padding:15px 22px;font-size:19px;border-radius:12px}
.cleaning-request-cta:hover,.photo-request-cta:hover{background:var(--grad-cta-hover);box-shadow:0 7px 22px #001c3a66}
.cleaning-request-cta:focus-visible,.photo-request-cta:focus-visible{outline:3px solid #fff;outline-offset:4px}
.cleaning-pagination{position:absolute;z-index:5;left:50%;bottom:8px;transform:translateX(-50%);margin:0;display:flex;align-items:center;justify-content:center;gap:0}
.cleaning-dot{display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;background:transparent;border-radius:50%;cursor:pointer}
.cleaning-dot::before{content:'';display:block;width:9px;height:9px;border-radius:50%;background:rgba(255,255,255,.28);box-shadow:0 0 0 1px rgba(0,0,0,.12);transition:background .18s ease,transform .18s ease}
.cleaning-dot[aria-pressed="true"]::before{background:rgba(255,255,255,.72);transform:scale(1.08)}
.cleaning-dot:hover::before{background:rgba(255,255,255,.85)}
.cleaning-dot:focus-visible{outline:3px solid rgba(255,255,255,.9);outline-offset:-4px}

/* Customer reviews: the homepage's platform cards, phone order (Google under the stage, the rest after the service cards). */
.review-column,.mobile-review-tail{display:flex;flex-direction:column;gap:16px;width:100%;margin:0}
.mobile-review-tail{margin-top:24px}
.review-column-title{font-size:14px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);margin:0;text-align:center}
.platform-review{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:64px 36px 32px 24px 48px;gap:10px;align-items:center;justify-items:center;margin:0;padding:26px 24px;border:1px solid var(--card-line);border-radius:25px;background:linear-gradient(145deg,#fff,#fbfdff);box-shadow:0 10px 24px #183b5912;text-align:center}
.platform-review .review-logo{display:block;width:100%;max-width:238px;height:64px;max-height:64px;object-fit:contain}
.facebook-brand{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;max-width:238px;height:64px;min-height:64px;color:#1877f2;font-family:Arial,sans-serif;font-size:35px;font-weight:750;letter-spacing:-1.1px;line-height:1.15}
.facebook-brand img{width:29px;height:29px;flex:none;object-fit:contain}
.platform-review .platform-stars{display:block;width:100%;max-width:208px;height:36px;margin:0}
.platform-review .review-score{font-size:29px;line-height:32px;letter-spacing:-.4px;color:#10263d;font-weight:800}
.platform-review .review-rating{display:block;width:100%;margin:0;min-height:0;font-size:17px;line-height:24px;white-space:nowrap;color:#152a3f}
.platform-review .review-rating strong{display:inline;font-size:inherit}
.platform-review .review-source{display:flex;align-items:center;justify-content:center;gap:12px;justify-self:stretch;width:100%;height:48px;min-height:48px;margin:0;padding:10px 15px;border:0;border-radius:999px;background:linear-gradient(110deg,#318ea8,#238aa6);color:#fff;font-size:17px;line-height:24px;font-weight:600}
.platform-review a.review-source:hover{background:linear-gradient(110deg,#247a93,#147890)}
.platform-review a.review-source:focus-visible{outline:3px solid #06a4dc;outline-offset:3px}
.platform-review .review-source>span:last-child{font-size:21px}
.platform-review .pending-link{background:#e6edf2;color:#667986;font-size:12px;gap:7px}
.platform-review .pending-link>span:last-child{font-size:12px}

/* Other Popular Services: exactly the homepage's three photo cards. */
.featured-layout{display:block;margin:32px 0 0}
.popular-section{padding:12px 16px 16px;background:linear-gradient(125deg,#ffffffdf,#effbfc,#e9faf5);border:1px solid #d0e7ec;border-radius:20px}
.popular-section .category-heading{display:flex;align-items:center;justify-content:center;gap:16px;margin:0 0 14px}
.popular-section .category-heading h2{width:100%;margin:0;font-size:25px;font-weight:700;letter-spacing:-.5px;line-height:1.5;text-align:center;color:var(--ink)}
.popular-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;margin:0;padding:0}
.popular-grid .service-card{position:relative;display:block;aspect-ratio:5/4;overflow:hidden;margin:0;padding:0;border:0;border-radius:22px;background:#dbe8ed;box-shadow:0 8px 22px #14364920;isolation:isolate}
.popular-grid .service-card[hidden]{display:none}
.popular-grid .portrait-media{position:absolute;inset:0;z-index:0;display:block;width:100%;height:100%;object-fit:cover;object-position:50% 50%;border-radius:0}
.popular-grid .service-card[data-slug="moving"] .portrait-media{object-position:50% 42%}
.popular-grid .service-card[data-slug="tv-mounting"] .portrait-media{object-position:50% 52%}
.popular-grid .service-card[data-slug="detailing"] .portrait-media{object-position:50% 58%}
/* The homepage's catalog.css reframes the wide fireplace shot around the mounted TV (comparison D6, 2026-10-15): the same rule. */
.popular-grid .service-card[data-slug="tv-mounting"] .portrait-media[src="/tv-mounting-supplied-fireplace-oct15.webp"]{transform:scale(1.45);transform-origin:50% 0%;object-position:50% 0%}
.portrait-placeholder{position:absolute;inset:0;z-index:0;display:grid;place-items:center;padding:12px;background:linear-gradient(160deg,#eaf6fb,#e1f5f2)}
.portrait-placeholder span{font-size:12px;line-height:1.4;color:#597986;text-align:center;max-width:95px}
.popular-grid .portrait-caption{position:absolute;inset:0 0 auto;z-index:1;margin:0;padding:18px 18px 42px;border:0;background:linear-gradient(180deg,#082333c9,transparent);color:#fff;text-align:left;pointer-events:none}
.popular-grid .portrait-caption h2{margin:0;font-size:23px;line-height:1.2;letter-spacing:-.4px;color:#fff;text-shadow:0 1px 5px #0005}
.popular-grid .portrait-caption a{display:block;color:inherit;pointer-events:auto}
.popular-grid .service-card>.photo-request-cta{position:absolute;z-index:2;left:18px;right:auto;bottom:18px;margin:0;width:auto;min-width:170px;min-height:50px;padding:14px 22px;font-size:13px;border:1px solid #ffffff55;border-radius:10px;box-shadow:0 3px 14px #08233340}

/* Closing note and footer links. */
/* The homepage leaves 40 px under the note before the footer (padding-bottom 40px); here main's 24 px bottom padding plus 16 px. */
.bottom-note{margin:24px 0 0;padding:0 0 16px;font-size:14px;color:var(--muted)}
.app-footer{width:min(var(--col),100%);margin:0 auto;padding:24px 20px;display:flex;justify-content:space-between;align-items:center;gap:12px 22px;flex-wrap:wrap;font-size:13px;background:linear-gradient(115deg,#fff,#eaf8fd 55%,#dff9f0);border-top:1px solid #bcdfe6;border-radius:40px 40px 0 0}
.app-footer nav{display:flex;gap:4px 18px;flex-wrap:wrap}
.app-footer a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:44px;color:var(--link)}
.app-footer small{color:var(--muted)}

/* Bottom tabs (owner order 2026-10-15): Search, My Services, Subscriptions, Profile, on every width under the 500 px column. */
.app-bottom{position:fixed;left:0;right:0;bottom:0;z-index:30;background:#ffffffee;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-top:1px solid var(--line);padding:0 0 env(safe-area-inset-bottom,0px)}
.app-bottom-inner{width:min(var(--col),100%);margin:0 auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
.app-bottom a{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:var(--bottom);min-width:44px;padding:8px 2px;font-size:clamp(10.5px,3.1vw,12px);font-weight:650;line-height:1.2;color:var(--muted);white-space:nowrap;text-align:center}
.app-bottom a svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.app-bottom a[aria-current="page"]{color:var(--brand)}
.app-bottom a:focus-visible{outline-offset:-4px}
.app-badge{position:absolute;top:8px;left:calc(50% + 6px);min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#b4321c;color:#fff;font-size:11px;font-weight:700;line-height:18px;text-align:center}

/* Requests and Account screens. */
.app-title{margin:14px 0 16px;font-size:26px;font-weight:800;letter-spacing:-.8px;line-height:1.15;color:var(--ink-2)}
.app-subtitle{margin:0 0 10px;font-size:18px;font-weight:700;letter-spacing:-.3px;line-height:1.3}
.app-card{display:grid;gap:12px;padding:20px;border:1px solid var(--card-line);border-radius:20px;background:linear-gradient(145deg,#fff,#fbfdff);box-shadow:0 10px 24px #183b5912}
.app-card p{margin:0;overflow-wrap:anywhere}
.app-card .app-subtitle{margin:0}
.app-actions{display:flex;gap:10px;flex-wrap:wrap}
.app-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 20px;border:1px solid transparent;border-radius:12px;font-weight:700;font-size:16px;line-height:1.2;white-space:nowrap;cursor:pointer}
.app-btn-primary{background:var(--grad);color:#fff;box-shadow:0 6px 18px rgba(6,117,195,.28)}
.app-btn-primary:hover{box-shadow:0 12px 26px rgba(6,117,195,.34)}
.app-btn-secondary{background:#fff;color:var(--brand-dark);border-color:#bcd6e2}
.app-btn-secondary:hover{background:#eef7fb}
.app-muted{color:var(--muted);font-size:14px}
.app-note{margin:16px 0 0}
.app-status{margin:0 0 12px;font-size:14px;color:var(--muted)}
.app-status:empty{display:none}
/* An error reads the same on every screen (requests, bookings, plans, a job page, its photos): the website's notice look
 * (request-app.js .notice), whichever status line holds it (review UX-11). */
.app-status.is-error:not(:empty){margin:0 0 12px;padding:14px 16px;border:1px solid #f0d9a8;border-radius:12px;background:#fff6e5;color:#5c3d04;font-size:14px;line-height:1.5}
.app-list{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.app-lead{display:grid;gap:4px;padding:16px 18px;border:1px solid var(--card-line);border-radius:16px;background:#fff;box-shadow:0 4px 14px #183b590d}
.app-lead-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.app-lead-head b{font-size:17px;line-height:1.3}
.app-lead-ref{flex:none;font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums}
.app-lead p{margin:0;font-size:14px;color:var(--ink-2)}
.app-lead .app-lead-meta{color:var(--muted)}
.app-lead-name{font-size:17px;line-height:1.3}
/* Waiting to send sits first on My Services (unsent requests on this device), under the sign-in card when signed out. */
.app-waiting{margin:0 0 24px}
[data-services-signed-out]{margin:0 0 24px}

/* My Services, Subscriptions and the job page: the same cards, type and colours as the screens above. */
.app-group{margin:0 0 24px}
.app-group>.app-subtitle{margin:0 0 8px}
.app-intro{margin:0 0 12px;font-size:14px;line-height:1.5;color:var(--muted)}
.app-empty{margin:0;font-size:14px;color:var(--muted)}
.app-status-card:not(:empty){margin:0 0 24px;padding:16px 18px;border:1px solid #b9dcea;border-radius:16px;background:#e9f5fb;color:#0d4a6b;font-size:15px;line-height:1.5}
.app-status a,.app-note a,.app-muted a{color:var(--link);text-decoration:underline;text-underline-offset:2px}
.app-actions[data-retry],.app-actions[data-photos-retry]{margin:0 0 16px}
.app-link{display:inline-flex;align-items:center;min-height:44px;padding:0;border:0;background:none;color:var(--link);font-size:15px;font-weight:600;text-decoration:underline;text-underline-offset:3px;justify-self:start}
/* Small labels: Request (blue, never reads as a booking), booking statuses, plan statuses. */
.app-tag{display:inline-flex;align-items:center;min-height:22px;padding:2px 10px;border-radius:999px;border:1px solid #b9dcea;background:#e9f5fb;color:#0d4a6b;font-size:12px;font-weight:700;line-height:1.2;letter-spacing:.01em;white-space:nowrap}
.app-tag-upcoming,.app-tag-plan-active{border-color:#a9d9c1;background:#e8f6ee;color:#137351}
.app-tag-in_progress{border-color:#a6ccd8;background:#eef8fc;color:var(--brand-dark)}
.app-tag-completed{border-color:#a9d9c1;background:#e8f6ee;color:#137351}
.app-tag-cancelled,.app-tag-plan-cancelled,.app-tag-plan-paused{border-color:#d0dde9;background:#eef2f5;color:var(--muted)}
.app-lead-head .app-tag{margin-right:auto}
/* Booking cards: the whole card is the link to its page. */
.app-job{margin:0;padding:0}
.app-job-link{display:grid;gap:3px;padding:16px 18px;border:1px solid var(--card-line);border-radius:16px;background:#fff;box-shadow:0 4px 14px #183b590d;color:var(--ink-2)}
.app-job-link:hover{border-color:#a6ccd8;box-shadow:0 8px 20px #183b5916}
.app-job-head{display:flex;justify-content:space-between;align-items:center;gap:12px}
.app-job-head b{font-size:17px;line-height:1.3;color:var(--ink)}
.app-job-line{font-size:14px}
.app-job-more{margin-top:4px;font-size:14px;font-weight:650;color:var(--link)}
.app-job-more:after{content:' ›'}
/* Job page */
.app-back{display:inline-flex;align-items:center;gap:4px;min-height:44px;margin:6px 0 0;padding:0 8px 0 0;color:var(--link);font-size:15px;font-weight:650}
.app-back svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
[data-screen="job"] .app-title{margin-top:4px}
.app-job-tags{margin:-6px 0 12px}
.app-facts{display:grid;gap:0;margin:0 0 24px;padding:4px 18px;border:1px solid var(--card-line);border-radius:16px;background:#fff}
.app-facts>div{display:grid;grid-template-columns:80px minmax(0,1fr);gap:12px;padding:10px 0;border-top:1px solid #e6eef3}
.app-facts>div:first-child{border-top:0}
.app-facts dt{font-size:14px;color:var(--muted)}
.app-facts dd{margin:0;font-size:15px;font-weight:600;color:var(--ink-2);overflow-wrap:anywhere}
.app-summary{margin:0;padding:16px 18px;border:1px solid var(--card-line);border-radius:16px;background:#fff;font-size:15px;line-height:1.55;color:var(--ink-2);white-space:pre-line;overflow-wrap:anywhere}
.app-room{margin:0 0 16px;padding:14px;border:1px solid var(--card-line);border-radius:16px;background:#fff}
.app-room h3{margin:0 0 10px;font-size:16px;font-weight:700;color:var(--ink)}
.app-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.app-side{display:grid;gap:8px;align-content:start}
.app-side-label{margin:0;font-size:13px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
.app-photo-btn{display:block;width:100%;min-height:44px;padding:0;border:1px solid #d5e5ee;border-radius:12px;overflow:hidden;background:#eef4f7;aspect-ratio:4/3}
.app-photo-btn img{display:block;width:100%;height:100%;object-fit:cover}
.app-photo-btn:focus-visible{outline:3px solid #06a4dc;outline-offset:2px}
.app-missing{display:grid;place-items:center;margin:0;min-height:72px;padding:10px;border:1px dashed #b9d0dc;border-radius:12px;background:#f7fafc;color:var(--muted);font-size:13px;text-align:center;aspect-ratio:4/3}
/* The full photo, in the website's dialog shell (worker-application + modal-shell: head bar and close control). */
dialog.app-photo{width:min(720px,calc(100vw - 24px))}
.app-photo-body{display:grid;gap:12px;padding:16px 20px 20px}
.app-photo-body img{display:block;width:100%;height:auto;max-height:76dvh;object-fit:contain;border-radius:12px;background:#eef4f7}
/* Rating */
.app-saved:not(:empty){display:grid;gap:8px;margin:0 0 16px;padding:16px 18px;border:1px solid #a9d9c1;border-radius:16px;background:#f2faf6}
.app-saved p{margin:0}
.app-saved-line{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;font-size:15px;font-weight:600;color:var(--ink-2)}
.app-comment{margin:0;padding:0 0 0 12px;border-left:3px solid #a9d9c1;font-size:15px;line-height:1.5;color:var(--ink-2);white-space:pre-line;overflow-wrap:anywhere}
.app-star-row{display:inline-flex;gap:2px}
.app-star-icon{width:20px;height:20px;fill:#e0e6ea}
.app-star-icon.is-on{fill:#d99712}
.app-rating-form{display:grid;gap:16px;padding:18px;border:1px solid var(--card-line);border-radius:16px;background:#fff}
.app-stars{margin:0;padding:0;border:0;min-width:0}
.app-stars legend{margin:0 0 8px;padding:0;font-size:14px;font-weight:650;color:var(--ink-2)}
.app-star-inputs{display:flex;gap:4px}
.app-star-input{position:absolute;opacity:0;width:1px;height:1px;margin:0}
.app-star{display:grid;place-items:center;width:48px;height:48px;border-radius:12px;cursor:pointer}
/* The five targets of the rating form need 3:1 against the white form (WCAG 1.4.11, review UX-5): an outline of #7b8d99 (3.44:1)
 * on every star, and a darker gold when chosen (#a87300, 4.10:1). The display stars (.app-star-row) keep the website's colours. */
.app-star .app-star-icon{width:32px;height:32px;stroke:#7b8d99;stroke-width:1.4;stroke-linejoin:round}
.app-star.is-on .app-star-icon{fill:#a87300;stroke:#a87300}
.app-stars-error{margin:6px 0 0}
.app-star:hover{background:#eef7fb}
.app-star-input:focus-visible+.app-star{outline:3px solid #06a4dc;outline-offset:1px}
.app-stars-value{margin:6px 0 0;font-size:14px;color:var(--muted)}
.app-field{display:grid;gap:7px}
.app-field label{font-size:14px;font-weight:650;color:var(--ink-2)}
.app-optional{font-weight:400;color:var(--muted)}
.app-field textarea{width:100%;min-width:0;min-height:110px;box-sizing:border-box;border:1px solid #b9d0dc;border-radius:11px;padding:13px;background:#fbfdfe;color:#123348;font:16px/1.4 'Segoe UI',Arial,sans-serif;resize:vertical}
.app-field textarea:focus{outline:3px solid #1399c333;outline-offset:1px}
.app-count{margin:0;font-size:13px;color:var(--muted)}
.app-result{margin:0;font-size:14px;line-height:1.5;color:var(--ink-2)}
.app-result:empty{display:none}
.app-rating-form .app-btn:disabled{opacity:.6;cursor:wait}
/* A request links to the bookings made from it (it stays a request); other photos without an area; links inside plan visits. */
.app-lead-links{display:flex;flex-wrap:wrap;gap:0 16px;margin:2px 0 0}
.app-lead-links .app-link{font-size:14px}
.app-other-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.app-inline-link{color:var(--link);text-decoration:underline;text-underline-offset:2px;display:inline-flex;align-items:center;min-height:44px;vertical-align:middle} /* the app's 44 px target (review UX-12) */
.app-job-line.app-muted{font-size:13px}
.app-photo-tile{display:grid;gap:4px}
.app-photo-caption{margin:0;font-size:12px;line-height:1.35;color:var(--muted);overflow-wrap:anywhere}
/* Plans */
.app-plan{display:grid;gap:10px;padding:16px 18px;border:1px solid var(--card-line);border-radius:16px;background:#fff;box-shadow:0 4px 14px #183b590d}
.app-plan-title{margin:0;font-size:17px;font-weight:700;line-height:1.3;color:var(--ink)}
.app-plan .app-lead-head{align-items:center}
.app-plan .app-facts{margin:0;padding:0 2px;border:0;background:none}
.app-plan-next{margin:4px 0 0;font-size:14px;font-weight:700;color:var(--ink-2)}
.app-visits{margin:0;padding:0 0 0 18px;font-size:14px;line-height:1.6;color:var(--ink-2)}
.app-plan .app-muted{margin:0}
/* "Continue your unsent request": the website's close confirmation look (dialog.req-exit), its own class. */
dialog.app-confirm{width:min(390px,calc(100vw - 32px));padding:24px;border:1px solid #d5e5ee;border-radius:20px;background:#fff;color:#123348;box-sizing:border-box;box-shadow:0 20px 70px #102d4455}
dialog.app-confirm::backdrop{background:#102c4070}
dialog.app-confirm h2{margin:0 0 10px;font:700 20px/1.3 'Segoe UI',Arial,sans-serif}
dialog.app-confirm p{margin:0;font:15px/1.5 'Segoe UI',Arial,sans-serif}
dialog.app-confirm .req-exit-actions button{min-height:44px}

/* The website's own unsent-request banner (request-app.js), shown inside Waiting to send. */
.queue-banner{display:grid;gap:10px;margin:0;padding:0}
.queue-item{display:grid;gap:10px;padding:16px 18px;border:1px solid #f0d9a8;border-radius:16px;background:#fff6e5;color:#5c3d04}
.queue-item p{margin:0;font-weight:600;font-size:15px;line-height:1.45}
.queue-actions{display:flex;gap:8px;flex-wrap:wrap}
.queue-actions .btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border:1px solid transparent;border-radius:12px;font-weight:700;font-size:14px;line-height:1.2;white-space:nowrap;cursor:pointer}
.queue-actions .btn-primary{background:var(--grad);color:#fff}
.queue-actions .btn-secondary{background:#fff;color:var(--brand-dark);border-color:#bcd6e2}
.queue-actions .btn-ghost{background:transparent;color:var(--brand-dark)}
.notice{padding:14px 16px;border-radius:12px;background:#fff6e5;border:1px solid #f0d9a8;color:#5c3d04;font-size:14px}
.notice.is-info{background:#e9f5fb;border-color:#b9dcea;color:#0d4a6b}
.toast{position:fixed;left:16px;right:16px;bottom:calc(var(--bottom) + env(safe-area-inset-bottom,0px) + 16px);z-index:60;max-width:var(--col);margin:auto;box-shadow:0 24px 60px rgba(6,30,58,.16)}

@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
