/* /polish/<slug> — mobile-first client upload portal. */
*, *::before, *::after { box-sizing: border-box; }
html, body.pl { margin: 0; background: #0b0c10; color: #F4F2ED; font: 400 16px/1.55 'Inter', system-ui, sans-serif; overflow-x: clip; }
.pl a { color: #F8C25E; }
.pl-main { min-height: 100svh; max-width: 560px; margin: 0 auto; padding: calc(18px + env(safe-area-inset-top)) 16px calc(24px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 16px; background: radial-gradient(500px 340px at 80% 0%, rgba(246, 172, 41, .18), transparent 70%), radial-gradient(420px 300px at 0% 30%, rgba(139, 92, 246, .14), transparent 70%); }
.pl-top { display: flex; align-items: center; justify-content: space-between; padding: 6px 4px 10px; }
.pl-top img { height: 24px; width: auto; }
.pl-top__tag { padding: 6px 10px; border-radius: 8px; font: 600 10.5px/1 'JetBrains Mono', monospace; letter-spacing: .16em; text-transform: uppercase; color: #F8C25E; background: rgba(246, 172, 41, .1); border: 1px solid rgba(246, 172, 41, .3); }
.pl-card { display: flex; flex-direction: column; gap: 16px; padding: 24px 20px; border-radius: 26px; background: rgba(20, 21, 28, .82); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .9); }
.pl-card[hidden] { display: none; }
/* [hidden] always wins over a component's display (e.g. .pl-btn--sm is inline-flex) */
.pl [hidden] { display: none !important; }
.pl h1 { margin: 0; font: 700 clamp(26px, 7vw, 34px)/1.12 'Sora', sans-serif; letter-spacing: -.025em; }
.pl-kicker { margin: 0; font: 600 11px/1.3 'JetBrains Mono', monospace; letter-spacing: .14em; text-transform: uppercase; color: #F8C25E; }
.pl-dim { margin: 0; color: rgba(244, 242, 237, .66); font-size: 15px; }
.pl-loading { display: grid; place-items: center; min-height: 200px; }
.pl-loading span { width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .12); border-top-color: #F6AC29; animation: pl-spin .8s linear infinite; }
@keyframes pl-spin { to { transform: rotate(360deg); } }
.pl-drop { position: relative; display: grid; place-items: center; gap: 4px; padding: 30px 16px; border-radius: 20px; text-align: center; cursor: pointer; border: 1.5px dashed rgba(246, 172, 41, .55); background: rgba(246, 172, 41, .06); transition: background .2s, border-color .2s; }
.pl-drop.is-over, .pl-drop:hover { background: rgba(246, 172, 41, .12); border-color: #F6AC29; }
.pl-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.pl-drop:focus-within { outline: 3px solid rgba(248, 194, 94, .6); outline-offset: 2px; }
.pl-drop__icon { font-size: 32px; line-height: 1; color: #F8C25E; }
.pl-drop b { font: 700 16px/1.3 'Sora', sans-serif; }
.pl-drop small { color: rgba(244, 242, 237, .55); font-size: 13px; }
.pl-thumbs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pl-thumbs:empty { display: none; }
.pl-thumbs li { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; }
.pl-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pl-thumbs button { position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .65); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; }
.pl-warn { margin: 0; padding: 10px 12px; border-radius: 12px; font-size: 13px; color: #FDE68A; background: rgba(246, 172, 41, .08); border: 1px solid rgba(246, 172, 41, .25); }
.pl-warn[hidden] { display: none; }
.pl-field { display: grid; gap: 8px; font: 600 13px/1.2 'Inter', sans-serif; color: rgba(244, 242, 237, .75); }
.pl-field textarea { width: 100%; padding: 14px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04); color: #fff; font: 400 16px/1.5 'Inter', sans-serif; outline: none; resize: vertical; }
.pl-field input { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04); color: #fff; font: 400 16px/1.4 'Inter', sans-serif; outline: none; }
.pl-field input:focus, .pl-field textarea:focus { border-color: rgba(246, 172, 41, .7); box-shadow: 0 0 0 4px rgba(246, 172, 41, .12); }
.pl-btn { min-height: 56px; border: 0; border-radius: 16px; cursor: pointer; font: 700 16px/1 'Inter', sans-serif; color: #120d02; background: linear-gradient(135deg, #F9C766, #F6AC29 55%, #FF8A4C); box-shadow: 0 16px 36px -16px rgba(246, 172, 41, .9); }
.pl-btn[disabled] { opacity: .6; cursor: progress; }
.pl-btn--ghost { color: #F4F2ED; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); box-shadow: none; }
.pl-btn.is-disabled { opacity: .55; cursor: not-allowed; pointer-events: none; } /* logo upload while media storage is off */
.pl-status { margin: 0; min-height: 1.3em; text-align: center; font-size: 14px; color: rgba(244, 242, 237, .8); }
.pl-card--done { align-items: flex-start; }
.pl-tick { width: 56px; height: 56px; border-radius: 50%; background: #10B981; position: relative; box-shadow: 0 0 0 8px rgba(16, 185, 129, .15); }
.pl-tick::after { content: ""; position: absolute; left: 19px; top: 20px; width: 18px; height: 10px; border-left: 3px solid #04140d; border-bottom: 3px solid #04140d; transform: rotate(-45deg); }
.pl-foot { margin-top: auto; text-align: center; font-size: 11.5px; color: rgba(244, 242, 237, .38); }

/* owner tools: logo + compliance (2026-10-15) */
.pl-h2 { margin: 4px 0 10px; font: 700 20px/1.2 Sora, system-ui, sans-serif; }
.pl-small { font-size: 12.5px; }
.pl-logo { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 8px 0; }
.pl-logo__now { display: grid; place-items: center; min-width: 120px; height: 64px; padding: 8px 12px; border-radius: 12px; border: 1px dashed rgba(255,255,255,.25); color: rgba(255,255,255,.6); font-size: 13px; }
.pl-logo__now img { max-height: 48px; max-width: 180px; object-fit: contain; }
.pl-logo__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.pl-btn--sm { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 14px; font-size: 14px; cursor: pointer; }
.pl-link { display: inline-block; margin-top: 10px; color: #F8C25E; font-weight: 600; }
.pl-req { display: grid; gap: 6px; margin: 14px 0; }
.pl-req b { font-size: 14px; } .pl-req small { color: rgba(255,255,255,.6); font-size: 12.5px; line-height: 1.45; }
.pl-req input, .pl-req textarea { width: 100%; min-height: 46px; padding: 11px 12px; border-radius: 12px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.04); color: #fff; font: 400 16px/1.45 'Inter', system-ui, sans-serif; }
.pl-req.is-missing input, .pl-req.is-missing textarea { border-color: rgba(239,68,68,.6); }
.pl-req em { font-style: normal; color: #F8C25E; font-size: 12px; }
.pl-req select { width: 100%; min-height: 46px; padding: 11px 12px; border-radius: 12px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.04); color: #fff; font: 400 16px/1.45 'Inter', system-ui, sans-serif; }
.pl-req select option { color: #111; }
.pl-item { margin: 0; }
.pl-req--flag { padding: 14px; border-radius: 14px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.03); }
.pl-flag, .pl-accept { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.pl-flag input[type="checkbox"], .pl-accept input[type="checkbox"] { width: 22px; min-height: 22px; height: 22px; margin: 1px 0 0; flex: none; padding: 0; accent-color: #F6AC29; }
.pl-suggest { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: -6px 0 10px; }
.pl-suggest small { color: rgba(255,255,255,.6); font-size: 12px; line-height: 1.4; }
.pl-accept { min-height: 44px; align-items: center; margin: 0 0 14px; padding: 8px 12px; border-radius: 12px; border: 1px dashed rgba(246,172,41,.5); font-size: 13px; color: rgba(255,255,255,.85); }
.pl-onsite { margin: 4px 0 14px; padding: 10px 12px; border-radius: 12px; background: rgba(16,185,129,.08); border: 1px solid rgba(16,185,129,.35); font-size: 13px; }
.pl-logo__now { height: auto; min-height: 64px; gap: 4px; } .pl-logo__now small { font-size: 11px; color: rgba(255,255,255,.6); }
.pl-notes { margin: 6px 0 14px; padding-left: 18px; color: rgba(255,255,255,.66); font-size: 13px; line-height: 1.5; }
.pl-check { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0; font-size: 14px; }
.pl-check input { width: 20px; height: 20px; margin-top: 2px; flex: none; }

/* plan + cancel flow (owner key, ACTIVE sites) */
.pl-cancel { margin-top: 14px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 12px; }
.pl-cancel summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font: 600 15px/1.3 'Inter', sans-serif; color: rgba(255,255,255,.85); }
.pl-cancel__h { margin: 10px 0 8px; font: 700 17px/1.3 'Sora', sans-serif; }
.pl-cancel__list { margin: 0 0 14px; padding-left: 18px; display: grid; gap: 8px; font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.8); }
.pl-cancel__list b { color: #fff; }
.pl-files { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: center; margin: 0 0 14px; padding: 14px; border-radius: 14px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.03); }
.pl-files small { display: block; margin-top: 2px; font-size: 13px; color: rgba(255,255,255,.66); }
.pl-files__price { font: 600 13px/1.2 'Inter', sans-serif; color: rgba(255,255,255,.8); }
.pl-files .pl-btn--sm { grid-column: 1 / -1; justify-self: start; text-decoration: none; }
.pl-btn--danger { width: 100%; color: #fff; background: #B91C1C; box-shadow: none; }
.pl-small { font-size: 13px; }
/* cancel flow (polish pass): when it takes effect + the optional reason */
.pl-cancel__when { margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); font-size: 14.5px; line-height: 1.5; }
.pl-cancel__why { display: grid; gap: 8px; margin: 14px 0; }
.pl-cancel__why textarea { width: 100%; min-height: 76px; padding: 11px 12px; border-radius: 12px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.04); color: #fff; font: 400 16px/1.45 'Inter', system-ui, sans-serif; }
.pl-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Instant activation progress (owner portal): green = done only (design rule), accent for "in progress". */
.pl-activation h2 { margin: 6px 0 12px; font: 700 20px/1.3 Sora, system-ui, sans-serif; }
.pl-activation h2 a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.pl-steps { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.pl-step { display: flex; align-items: center; gap: 10px; font-size: 14.5px; }
.pl-step__mark { flex: 0 0 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; font: 700 12px/1 Inter, system-ui, sans-serif; border: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.6); }
.pl-step--done .pl-step__mark { background: #1f9d55; border-color: #1f9d55; color: #fff; }
.pl-step--in_progress .pl-step__mark { border-color: #F6AC29; color: #F6AC29; animation: pl-pulse 1.6s ease-in-out infinite; }
.pl-step--pending { opacity: .6; }
.pl-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@keyframes pl-pulse { 50% { box-shadow: 0 0 0 4px rgba(246,172,41,.18); } }
@media (prefers-reduced-motion: reduce) { .pl-step--in_progress .pl-step__mark { animation: none; } }

/* style guide (brand colours + vetted font) */
.pl-brand { margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); }
.pl-brand .pl-h2 small { font-size: 14px; font-weight: 500; }
.pl-brand__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 14px 0; }
.pl-swatch { display: flex; align-items: center; gap: 10px; }
.pl-swatch input[type=color] { flex: none; width: 48px; height: 44px; padding: 2px; border-radius: 10px; border: 1px solid rgba(255,255,255,.18); background: transparent; cursor: pointer; }
.pl-swatch input:not([type=color]) { flex: 1; min-width: 0; font-family: ui-monospace, Menlo, monospace; text-transform: uppercase; }
.pl-swatch input { font-size: 16px; }
.pl-brand__font { grid-column: 1 / -1; }
.pl-brand__sample { display: block; margin-top: 8px; font-size: 26px; line-height: 1.2; font-weight: 600; overflow-wrap: anywhere; }
.pl-brand__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Phones: the task the owner came for (add photos, send a note) comes first; status, logo and style guide follow. */
@media (max-width: 1023px) {
  .pl-top { order: -2; }
  .pl-main > [data-pl-state] { order: -1; }
}
/* The cards around the form stay out of the layout until the form itself is revealed (one frame, no shift) */
.pl-main:not([data-pl-booted]) > :is(.pl-activation, .pl-owner, .pl-areas, .pl-plan, #compliance, .pl-foot) { display: none !important; }
/* Placeholders keep AA contrast on the dark cards */
.pl-main input::placeholder, .pl-main textarea::placeholder { color: rgba(255,255,255,.66); opacity: 1; }
.pl-main select { color: #fff; font-family: 'Inter', system-ui, sans-serif; }
.pl-main select option { color: #111; background: #fff; }

/* Desktop (>= 1024px): a real two-column workspace instead of one narrow phone column. The update form (or the loading,
   busy, done or invalid-link card) sits on the left and stays in view; the owner tools (going live, logo and style guide,
   area pages, compliance, plan) stack on the right. Phones keep the single column. */
@media (min-width: 1024px) {
  .pl-main { max-width: 1200px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); column-gap: 24px; row-gap: 16px; align-content: start; padding-inline: 32px;
    background: radial-gradient(700px 420px at 85% 0%, rgba(246, 172, 41, .16), transparent 70%), radial-gradient(600px 420px at 0% 40%, rgba(139, 92, 246, .12), transparent 70%); }
  .pl-top, .pl-foot { grid-column: 1 / -1; }
  .pl-main > [data-pl-state] { grid-column: 1; grid-row: 2 / span 12; align-self: start; position: sticky; top: 24px; }
  .pl-main > .pl-activation, .pl-main > .pl-owner, .pl-main > .pl-areas, .pl-main > .pl-plan, .pl-main > #compliance { grid-column: 2; }
  .pl-card { padding: 28px; }
  .pl-foot { margin-top: 24px; }
}
/* Business details (23 Oct): owner facts for the page and its structured data. */
.pl-facts__hours { border: 0; margin: 6px 0 0; padding: 0; min-width: 0; }
.pl-facts__hours legend { margin: 0; padding: 0; }
.pl-facts__days { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0 12px; }
.pl-facts__day { margin: 8px 0; }
.pl-facts__day b { font-size: 13px; font-weight: 600; }
