/* THE URSY APP (/app/): the look. Design lane, 24 Nov 2026 (Handover 24 + Lee's "real software, light glass").
   Full-screen shell: slim glass top bar, glass sidebar (icons + labels, collapsible; a bottom tab bar on phones),
   and a canvas that scrolls on its own. Light only. Every class is uap-* (the theme owns ua-*).
   Glass rules: blur only on the 2 big layers (top bar, sidebar); cards are translucent white with a sheen, no blur.
   Contract with app.js (Worker 3): it prints the uap-* classes below; app-ui.js adds the gauge, donut, ring, skeletons. */

/* ---------- tokens ---------- */
.uap-shell {
	--uap-ink: #0e1a33; --uap-ink-2: #34405c; --uap-mute: #5f6b85; --uap-faint: #8a94a8;
	--uap-line: rgba(14, 26, 51, .08); --uap-line-2: rgba(14, 26, 51, .13);
	--uap-ac: #0b4fd1; --uap-ac-2: #1d5fe6; --uap-ring: rgba(11, 79, 209, .28);
	--uap-pass: #0a7d55; --uap-pass-w: #e3f5ec; --uap-warn: #a15c07; --uap-warn-w: #fdf1dc; --uap-fail: #c0262d; --uap-fail-w: #fde6e6;
	--uap-run: #0b4fd1; --uap-run-w: #e6eefc; --uap-grey: #6b7489; --uap-grey-w: #eef0f5;
	--uap-glass: rgba(255, 255, 255, .62); --uap-card: rgba(255, 255, 255, .78); --uap-card-solid: #fff;
	--uap-edge: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 0 0 1px rgba(255, 255, 255, .55);
	--uap-shadow: 0 0 0 1px rgba(14, 26, 51, .06), 0 1px 2px rgba(14, 26, 51, .05), 0 12px 32px -18px rgba(20, 40, 100, .28);
	--uap-shadow-hi: 0 0 0 1px rgba(14, 26, 51, .07), 0 2px 4px rgba(14, 26, 51, .05), 0 22px 44px -22px rgba(20, 40, 100, .38);
	--uap-sheen: linear-gradient(180deg, rgba(255, 255, 255, .85) 0%, rgba(255, 255, 255, 0) 42%);
	--uap-r: 14px; --uap-r-l: 18px; --uap-r-s: 10px;
	--uap-f: var(--f-body, "Manrope", "Manrope Fallback", system-ui, -apple-system, "Segoe UI", sans-serif);
	--uap-top: 60px; --uap-railw: 244px;
}

/* ---------- the page is the app ---------- */
html:has(body.uap-shell) { height: 100%; scrollbar-gutter: auto; }
body.uap-shell { margin: 0; height: 100%; overflow: hidden; color: var(--uap-ink); font: 500 14px/1.5 var(--uap-f); font-variant-numeric: tabular-nums;
	background: #f4f7fd; -webkit-font-smoothing: antialiased; }
.uap-shell .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.uap-skip { position: fixed; left: 12px; top: -60px; z-index: 50; padding: 10px 14px; border-radius: 10px; background: #fff; color: var(--uap-ac); font-weight: 700; box-shadow: var(--uap-shadow-hi); }
.uap-skip:focus { top: 10px; }
/* behind the glass: soft, still colour fields in the URSY hues (no animation behind a blur: no speed cost) */
.uap-app { position: relative; isolation: isolate; display: grid; grid-template-rows: var(--uap-top) minmax(0, 1fr); height: 100vh; height: 100dvh; }
.uap-app::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background:
	radial-gradient(38% 46% at 8% 6%, rgba(109, 78, 216, .16), transparent 70%),
	radial-gradient(34% 40% at 96% 10%, rgba(15, 138, 126, .14), transparent 70%),
	radial-gradient(44% 50% at 78% 96%, rgba(11, 79, 209, .13), transparent 72%),
	radial-gradient(30% 36% at 30% 88%, rgba(194, 65, 107, .08), transparent 70%),
	linear-gradient(180deg, #f6f8fe 0%, #f2f5fb 100%); }
.uap-app a { color: var(--uap-ac); text-decoration: none; }
.uap-app a:hover { text-decoration: underline; text-underline-offset: 3px; }
.uap-shell :focus-visible { outline: 2px solid var(--uap-ac); outline-offset: 2px; border-radius: 8px; }
.uap-ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* every button inside the app starts quiet (the site paints <button> blue) */
.uap-shell .uap-app button { appearance: none; margin: 0; border: 0; background: none; background-image: none; box-shadow: none; color: inherit; font: inherit; cursor: pointer; text-transform: none; letter-spacing: normal; min-height: 0; padding: 0; }

/* ---------- glass layers (the only two with a blur) ---------- */
.uap-topbar, .uap-rail { background: var(--uap-glass); -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%); }
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) { .uap-topbar, .uap-rail { background: rgba(255, 255, 255, .96); } }

/* ---------- top bar ---------- */
.uap-topbar { position: relative; z-index: 5; display: flex; align-items: center; gap: 16px; padding: 0 16px 0 18px; border-bottom: 1px solid rgba(255, 255, 255, .7);
	box-shadow: 0 1px 0 var(--uap-line), 0 8px 24px -18px rgba(20, 40, 100, .3); }
.uap-logo { display: inline-flex; align-items: center; gap: 9px; flex: none; color: var(--uap-ink) !important; font-weight: 800; font-size: 15px; letter-spacing: .02em; text-decoration: none !important; }
.uap-logo__mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; color: #fff; font-weight: 800; font-size: 15px;
	background: linear-gradient(160deg, #3b7bff 0%, #0b4fd1 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 6px 14px -6px rgba(11, 79, 209, .7); }
.uap-topform { position: relative; display: flex; align-items: center; flex: 1 1 auto; max-width: 620px; height: 40px; margin: 0 auto 0 calc(var(--uap-railw) - 128px); padding: 0 4px 0 12px; gap: 8px;
	border-radius: 12px; background: rgba(255, 255, 255, .82); box-shadow: inset 0 0 0 1px var(--uap-line-2), 0 1px 2px rgba(14, 26, 51, .04); transition: box-shadow .18s; }
.uap-topform:focus-within { box-shadow: inset 0 0 0 1px var(--uap-ac), 0 0 0 4px var(--uap-ring); }
.uap-topform .uap-ic { color: var(--uap-faint); }
.uap-topform input { flex: 1 1 auto; min-width: 0; height: 100%; border: 0; background: none; color: var(--uap-ink); font: 500 14px var(--uap-f); outline: none; }
.uap-topform input::placeholder { color: var(--uap-faint); }
.uap-shell .uap-app .uap-topform__go { height: 32px; padding: 0 14px; border-radius: 9px; color: #fff; font-weight: 700; font-size: 13px; white-space: nowrap;
	background: linear-gradient(180deg, var(--uap-ac-2), var(--uap-ac)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 6px 14px -8px rgba(11, 79, 209, .8); transition: transform .15s, box-shadow .15s; }
.uap-shell .uap-app .uap-topform__go:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 10px 20px -10px rgba(11, 79, 209, .9); }
.uap-topbar__end { display: flex; align-items: center; gap: 10px; flex: none; }
.uap-plan { display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--uap-ink-2); background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1px var(--uap-line); }
.uap-plan__name { color: var(--uap-ac); font-weight: 750; }
.uap-plan__bar { position: relative; width: 56px; height: 6px; border-radius: 99px; background: rgba(11, 79, 209, .12); overflow: hidden; }
.uap-plan__bar i { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: var(--uap-ac); }
.uap-iconbtn { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: var(--uap-mute) !important; transition: background .15s, color .15s; }
.uap-iconbtn:hover { background: rgba(255, 255, 255, .8); color: var(--uap-ink) !important; text-decoration: none !important; }
.uap-acct { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px 0 4px; border-radius: 999px; color: var(--uap-ink) !important; font-weight: 650; font-size: 13px;
	background: rgba(255, 255, 255, .78); box-shadow: inset 0 0 0 1px var(--uap-line); text-decoration: none !important; transition: box-shadow .15s; }
.uap-acct:hover { box-shadow: inset 0 0 0 1px var(--uap-line-2), 0 6px 16px -10px rgba(20, 40, 100, .4); }
.uap-avatar { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: #fff; background: linear-gradient(160deg, #8b6cf0, #6d4ed8); }
.uap-avatar .uap-ic { width: 16px; height: 16px; }

/* ---------- body: sidebar + canvas ---------- */
.uap { min-height: 0; }
.uap-wrap { display: grid; grid-template-columns: var(--uap-railw) minmax(0, 1fr); height: 100%; min-height: 0; transition: grid-template-columns .22s ease; }
.uap-small-rail .uap-wrap { grid-template-columns: 68px minmax(0, 1fr); }
.uap-small-rail .uap-topform { margin-left: calc(68px - 50px); }

/* ---------- sidebar ---------- */
.uap-rail { display: flex; flex-direction: column; gap: 6px; min-height: 0; overflow-y: auto; overflow-x: hidden; padding: 14px 10px 18px; border-right: 1px solid rgba(255, 255, 255, .7); box-shadow: 1px 0 0 var(--uap-line); scrollbar-width: thin; }
.uap-rail__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 4px 6px 10px; }
.uap-brand { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .04em; color: var(--uap-ink); white-space: nowrap; }
.uap-brand span { display: block; font-size: 11.5px; font-weight: 550; letter-spacing: 0; color: var(--uap-mute); }
.uap-shell .uap-app .uap-collapse { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; color: var(--uap-mute); transition: background .15s, transform .22s; }
.uap-shell .uap-app .uap-collapse:hover { background: rgba(255, 255, 255, .85); color: var(--uap-ink); }
.uap-rail ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.uap-rail__sep { height: 1px; margin: 6px 10px; background: var(--uap-line); }
.uap-rail a[data-view] { position: relative; display: flex; align-items: center; gap: 11px; height: 38px; padding: 0 10px; border-radius: 10px; color: var(--uap-ink-2); font-weight: 600; font-size: 13.5px;
	text-decoration: none !important; white-space: nowrap; transition: background .15s, color .15s; }
.uap-rail a[data-view] .uap-ic { color: var(--h); opacity: .9; }
.uap-rail a[data-view]:hover { background: rgba(255, 255, 255, .72); color: var(--uap-ink); }
.uap-rail a[aria-current="page"] { color: var(--uap-ink); background: rgba(255, 255, 255, .92); box-shadow: inset 0 0 0 1px var(--uap-line), 0 6px 16px -12px rgba(20, 40, 100, .45); }
.uap-rail a[aria-current="page"]::before { content: ""; position: absolute; left: -10px; top: 9px; bottom: 9px; width: 3px; border-radius: 0 3px 3px 0; background: var(--h); }
.uap-lbl { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.uap-n { min-width: 22px; padding: 1px 7px; border-radius: 99px; text-align: center; font-size: 11.5px; font-weight: 700; color: var(--uap-mute); background: rgba(14, 26, 51, .05); }
.uap-n:empty { display: none; }
.uap-rail .uap-st { margin-left: -4px; }
/* collapsed: icons only */
.uap-small-rail .uap-rail { padding-left: 8px; padding-right: 8px; }
.uap-small-rail .uap-brand, .uap-small-rail .uap-lbl, .uap-small-rail .uap-n, .uap-small-rail .uap-saved { display: none !important; }
.uap-small-rail .uap-rail__head { justify-content: center; padding: 0 0 6px; }
.uap-small-rail .uap-collapse { transform: rotate(180deg); }
.uap-small-rail .uap-rail a[data-view] { justify-content: center; padding: 0; gap: 0; }
.uap-small-rail .uap-rail .uap-st { position: absolute; top: 6px; right: 8px; margin: 0; }
/* saved sites switcher (top of the sidebar) */
.uap-saved { margin: 0 2px 6px; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1px var(--uap-line); }
.uap-saved[hidden] { display: none; }
.uap-group { margin: 0 0 6px; font-size: 11.5px; font-weight: 750; color: var(--uap-mute); }
.uap-saved ul { gap: 1px; }
.uap-saved li { display: flex; align-items: center; gap: 4px; }
.uap-saved li a { flex: 1 1 auto; display: flex; justify-content: space-between; gap: 6px; min-width: 0; padding: 5px 6px; border-radius: 8px; color: var(--uap-ink-2); font-size: 13px; font-weight: 600; overflow: hidden; }
.uap-saved li a:hover { background: #fff; text-decoration: none; }
.uap-saved .uap-small { margin: 6px 0 0; }

/* ---------- canvas ---------- */
.uap-main { min-width: 0; min-height: 0; overflow-y: auto; overflow-x: hidden; padding: 28px clamp(20px, 3vw, 40px) 56px; scroll-padding-top: 16px; outline: none; }
.uap-main > * { max-width: 1180px; margin-left: auto; margin-right: auto; }
.uap-main h2 { margin: 30px 0 12px; font-size: 16px; font-weight: 750; letter-spacing: -0.01em; color: var(--uap-ink); }
.uap-main h3 { margin: 0; font-size: 14.5px; font-weight: 700; color: var(--uap-ink); }
.uap-small { margin: 6px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--uap-mute); }
.uap-sub { margin: 4px 0 0; font-size: 13px; color: var(--uap-mute); }
.uap-good { margin: 6px 0 0; font-size: 12.5px; color: var(--uap-mute); }

/* a card = translucent white, a light top sheen, a hairline edge, soft layered shadow (no blur: cheap) */
.uap-hero, .uap-head, .uap-prog, .uap-top > ol > li, .uap-grow, .uap-panel, .uap-what-g, .uap-signin, section.uap-site, .uap-card, .uap-prow, .uap-alert, .uap-note, .uap-diff, .uap-skel i {
	background: var(--uap-sheen), var(--uap-card); box-shadow: var(--uap-edge), var(--uap-shadow); border-radius: var(--uap-r); }

/* notes */
.uap-note { margin-bottom: 16px; padding: 12px 16px; font-size: 13px; color: var(--uap-ink-2); }
.uap-note--sample { background: var(--uap-sheen), rgba(240, 235, 255, .86); box-shadow: var(--uap-edge), 0 0 0 1px rgba(109, 78, 216, .2); }
.uap-note--sample strong { color: #5a3cc4; }

/* ---------- empty state ---------- */
.uap-start { padding-top: clamp(4px, 2vw, 20px); }
.uap-hero { position: relative; overflow: hidden; padding: clamp(28px, 4vw, 44px) clamp(22px, 4vw, 44px) 30px; border-radius: var(--uap-r-l); }
.uap-hero::after { content: ""; position: absolute; right: -80px; top: -90px; width: 340px; height: 340px; border-radius: 50%; pointer-events: none;
	background: radial-gradient(circle, rgba(109, 78, 216, .14), rgba(15, 138, 126, .08) 45%, transparent 70%); }
.uap-start h1 { position: relative; margin: 0; max-width: 680px; font-size: clamp(28px, 3.4vw, 40px); font-weight: 750; line-height: 1.08; letter-spacing: -0.035em; color: var(--uap-ink); }
.uap-lead { position: relative; max-width: 620px; margin: 12px 0 22px; font-size: 15.5px; line-height: 1.55; color: var(--uap-ink-2); }
.uap-form { position: relative; max-width: 640px; }
.uap-form > label { display: block; margin-bottom: 6px; font-size: 12.5px; font-weight: 700; color: var(--uap-ink-2); }
.uap-row { display: flex; gap: 8px; padding: 6px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--uap-line-2), 0 18px 36px -22px rgba(11, 79, 209, .45); transition: box-shadow .18s; }
.uap-row:focus-within { box-shadow: inset 0 0 0 1px var(--uap-ac), 0 0 0 4px var(--uap-ring), 0 18px 36px -22px rgba(11, 79, 209, .45); }
.uap-row input { flex: 1 1 auto; min-width: 0; height: 44px; padding: 0 12px; border: 0; background: none; color: var(--uap-ink); font: 500 16px var(--uap-f); outline: none; }
.uap-shell .uap-app .uap-go, .uap-shell .uap-app .uap-btn--q, .uap-shell .uap-app a.uap-btn--q { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 44px; padding: 0 20px; border-radius: 10px; color: #fff !important;
	font-weight: 700; font-size: 14px; text-decoration: none !important; background: linear-gradient(180deg, var(--uap-ac-2), var(--uap-ac)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 8px 18px -10px rgba(11, 79, 209, .85);
	transition: transform .15s, box-shadow .15s; }
.uap-shell .uap-app .uap-go:hover, .uap-shell .uap-app .uap-btn--q:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 12px 24px -12px rgba(11, 79, 209, .95); }
.uap-try { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 12px 0 0; font-size: 12.5px; color: var(--uap-mute); }
.uap-shell .uap-app .uap-chip { height: 28px; padding: 0 11px; border-radius: 99px; font-size: 12.5px; font-weight: 650; color: var(--uap-ink-2); background: rgba(255, 255, 255, .85); box-shadow: inset 0 0 0 1px var(--uap-line-2); transition: box-shadow .15s, color .15s; }
.uap-shell .uap-app .uap-chip:hover { color: var(--uap-ac); box-shadow: inset 0 0 0 1px var(--uap-ac); }
.uap-form .uap-small { max-width: 600px; }
.uap-quota { margin-top: 12px; padding: 10px 12px; border-radius: 10px; font-size: 13px; color: var(--uap-ink-2); background: rgba(11, 79, 209, .06); }
.uap-what-h { margin-top: 34px !important; }
.uap-what { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.uap-what-g { padding: 16px 16px 14px; border-top: 0; }
.uap-what-g h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.uap-what-g h3 .uap-ic { color: var(--h); }
.uap-what-g h3 b { margin-left: auto; padding: 1px 8px; border-radius: 99px; font-size: 11.5px; color: var(--h); background: color-mix(in srgb, var(--h) 10%, #fff); }
.uap-what-g ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.uap-what-g li a { display: block; padding: 3px 0; font-size: 13px; color: var(--uap-ink-2); }
.uap-what-g li a:hover { color: var(--h); }
.uap-pro { display: inline-block; padding: 1px 7px; border-radius: 6px; font-size: 11px; font-weight: 750; color: #5a3cc4; background: rgba(109, 78, 216, .12); }

/* sign-in box (drawn by app.js when signed out) */
.uap-signin { position: relative; max-width: 640px; margin: 4px 0 18px; padding: 18px 20px; }
.uap-signin h2 { margin: 0 0 12px !important; font-size: 16px; }
.uap-signin h3 { margin: 16px 0 6px; font-size: 13px; }
.uap-gives { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.uap-gives li { position: relative; padding-left: 22px; font-size: 13.5px; color: var(--uap-ink-2); }
.uap-gives li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 11px; height: 6px; border-left: 2px solid var(--uap-pass); border-bottom: 2px solid var(--uap-pass); transform: rotate(-45deg); }

/* ---------- buttons, pills, status dots ---------- */
.uap-shell .uap-app .uap-btn, .uap-shell .uap-app a.uap-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 9px; color: var(--uap-ink-2);
	font-weight: 650; font-size: 13px; text-decoration: none; background: rgba(255, 255, 255, .9); box-shadow: inset 0 0 0 1px var(--uap-line-2), 0 1px 2px rgba(14, 26, 51, .04); transition: box-shadow .15s, color .15s, transform .15s; }
.uap-shell .uap-app .uap-btn:hover { color: var(--uap-ink); box-shadow: inset 0 0 0 1px rgba(14, 26, 51, .22), 0 6px 14px -10px rgba(20, 40, 100, .5); }
.uap-shell .uap-app .uap-acts .uap-btn--q { height: 32px; padding: 0 14px; font-size: 13px; }
.uap-btn--on { color: var(--uap-pass) !important; box-shadow: inset 0 0 0 1px rgba(10, 125, 85, .35) !important; }
.uap-big { height: 46px !important; font-size: 15px !important; }
.uap-shell .uap-app .uap-link { color: var(--uap-ac); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.uap-shell .uap-app .uap-x { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; color: var(--uap-faint); font-size: 15px; }
.uap-shell .uap-app .uap-x:hover { background: var(--uap-fail-w); color: var(--uap-fail); }
.uap-pill { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 99px; font-size: 11.5px; font-weight: 700; white-space: nowrap; color: var(--uap-grey); background: var(--uap-grey-w); }
.uap-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.uap-pill--pass { color: var(--uap-pass); background: var(--uap-pass-w); }
.uap-pill--warn { color: var(--uap-warn); background: var(--uap-warn-w); }
.uap-pill--fail { color: var(--uap-fail); background: var(--uap-fail-w); }
.uap-pill--running { color: var(--uap-run); background: var(--uap-run-w); }
.uap-pill--sample { color: #5a3cc4; background: rgba(109, 78, 216, .12); }
.uap-st { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex: none; background: transparent; }
.uap-st--pass { background: var(--uap-pass); }
.uap-st--warn { background: #d08a17; }
.uap-st--fail { background: var(--uap-fail); }
.uap-st--running { background: var(--uap-run); animation: uap-pulse 1.2s ease-in-out infinite; }
.uap-st--blocked, .uap-st--error, .uap-st--info { background: #a7afbf; }
@keyframes uap-pulse { 50% { opacity: .35; transform: scale(.8); } }
.uap-sc { font-weight: 750; font-size: 14px; }
.uap-sc small { font-size: 11px; font-weight: 600; color: var(--uap-faint); }
.uap-sc--pass { color: var(--uap-pass); } .uap-sc--warn { color: var(--uap-warn); } .uap-sc--fail { color: var(--uap-fail); } .uap-sc--none { color: var(--uap-grey); }

/* ---------- report header: gauge, words, donut, toolbar ---------- */
.uap-head { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "score text donut" "acts acts acts"; align-items: center; gap: 18px 24px; padding: 22px 24px 16px; border-radius: var(--uap-r-l); }
.uap-score { grid-area: score; position: relative; display: grid; place-items: center; align-content: center; width: 124px; height: 124px; border-radius: 50%;
	--c: var(--uap-grey); background: conic-gradient(var(--c) calc(var(--p, 0) * 1%), #e8ecf4 0); }   /* no-JS ring; app-ui.js swaps in the SVG */
.uap-score::before { content: ""; position: absolute; inset: 11px; border-radius: 50%; background: #fff; box-shadow: inset 0 1px 3px rgba(14, 26, 51, .08); }
.uap-js .uap-score { background: none; }
.uap-js .uap-score::before { inset: 14px; }
.uap-score--pass { --c: var(--uap-pass); } .uap-score--warn { --c: #d08a17; } .uap-score--fail { --c: var(--uap-fail); } .uap-score--none { --c: #c2c8d4; }
.uap-gauge { position: absolute; inset: 0; width: 100%; height: 100%; }
.uap-gauge__track { fill: none; stroke: #e7ebf3; stroke-width: 9; }
.uap-gauge__fill { fill: none; stroke: var(--c); stroke-width: 9; stroke-linecap: round; transition: stroke-dasharray .6s ease; }
.uap-score b { position: relative; font-size: 38px; font-weight: 800; line-height: 1; letter-spacing: -0.04em; color: var(--c); }
.uap-score span { position: relative; margin-top: 4px; font-size: 11px; font-weight: 650; color: var(--uap-mute); }
.uap-head-t { grid-area: text; min-width: 0; }
.uap-head .uap-site { margin: 0; font-size: clamp(20px, 2vw, 26px); font-weight: 750; letter-spacing: -0.02em; color: var(--uap-ink); overflow-wrap: anywhere; }
.uap-counts { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
.uap-c { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 8px; font-size: 12.5px; font-weight: 700; }
.uap-c::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.uap-c--fail { color: var(--uap-fail); background: var(--uap-fail-w); }
.uap-c--warn { color: var(--uap-warn); background: var(--uap-warn-w); }
.uap-c--pass { color: var(--uap-pass); background: var(--uap-pass-w); }
.uap-donut { grid-area: donut; width: 112px; height: 112px; }
.uap-donut__track { fill: none; stroke: #eef1f6; stroke-width: 13; }
.uap-donut__fail, .uap-donut__warn, .uap-donut__pass { fill: none; stroke-width: 13; }
.uap-donut__fail { stroke: var(--uap-fail); } .uap-donut__warn { stroke: #e0a032; } .uap-donut__pass { stroke: #1f9e6e; }
.uap-donut__n { font: 800 22px var(--uap-f); fill: var(--uap-ink); }
.uap-donut__l { font: 600 11px var(--uap-f); fill: var(--uap-mute); }
.uap-acts { grid-area: acts; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-top: 14px; border-top: 1px solid var(--uap-line); }
.uap-acts [data-new] { margin-left: auto; }

/* ---------- progress / queue ---------- */
.uap-prog { position: relative; margin-top: 14px; padding: 16px 20px; }
.uap-prog.has-ring { display: grid; grid-template-columns: 84px minmax(0, 1fr); column-gap: 18px; align-items: center; }
.uap-prog.has-ring > :not(.uap-ring) { grid-column: 2; }
.uap-ring { grid-row: 1 / span 4; width: 84px; height: 84px; }
.uap-ring__track { fill: none; stroke: #e7ebf3; stroke-width: 10; }
.uap-ring__fill { fill: none; stroke: var(--uap-ac); stroke-width: 10; stroke-linecap: round; transition: stroke-dasharray .5s ease; }
.uap-ring__n { font: 800 22px var(--uap-f); fill: var(--uap-ink); }
.uap-prog-top { font-size: 14px; color: var(--uap-ink); }
.uap-prog-top span { color: var(--uap-mute); }
.uap-bar { position: relative; height: 6px; margin-top: 10px; border-radius: 99px; background: #e7ebf3; overflow: hidden; }
.uap-bar i { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: linear-gradient(90deg, #6d4ed8, var(--uap-ac) 60%, #0f8a7e); transition: width .4s ease; }
.uap-prog.is-done { padding: 12px 18px; }
.uap-prog.is-done .uap-bar { display: none; }
.uap-prog.is-done .uap-prog-top strong { font-weight: 650; font-size: 13px; color: var(--uap-ink-2); }
.uap-alert { margin-top: 14px; padding: 14px 18px; color: var(--uap-ink); font-size: 14px; box-shadow: var(--uap-edge), 0 0 0 1px rgba(192, 38, 45, .22), var(--uap-shadow); }
/* skeletons while the report is on its way */
.uap-skel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.uap-skel i { display: block; height: 92px; background: linear-gradient(100deg, rgba(255, 255, 255, .55) 30%, rgba(255, 255, 255, .95) 50%, rgba(255, 255, 255, .55) 70%) 0 0 / 300% 100%, var(--uap-card); animation: uap-shim 1.4s linear infinite; }
.uap-skel i:nth-child(-n+3) { height: 120px; }
@keyframes uap-shim { to { background-position: -150% 0, 0 0; } }

/* ---------- top 10 fixes: action cards ---------- */
.uap-top { margin-top: 26px; }
.uap-top > ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 12px; counter-reset: uapfix; }
.uap-top > ol > li { position: relative; padding: 14px 16px 14px 52px; counter-increment: uapfix; font-size: 13.5px; line-height: 1.45; color: var(--uap-ink-2); transition: box-shadow .18s, transform .18s; }
.uap-top > ol > li:hover { transform: translateY(-1px); box-shadow: var(--uap-edge), var(--uap-shadow-hi); }
.uap-top > ol > li::before { content: counter(uapfix); position: absolute; left: 14px; top: 14px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; font-weight: 800; font-size: 12.5px; color: var(--uap-warn); background: var(--uap-warn-w); }
.uap-top > ol > li:has(.uap-pill--fail)::before { color: var(--uap-fail); background: var(--uap-fail-w); }
.uap-top > ol > li > a { display: block; margin-top: 7px; font-size: 14px; font-weight: 750; color: var(--uap-ink); }
.uap-top > ol > li > a:hover { color: var(--uap-ac); }
.uap-top > ol > li p { margin: 6px 0 0; padding: 8px 10px; border-radius: 9px; font-size: 13px; color: var(--uap-ink-2); background: rgba(14, 26, 51, .035); }
.uap-top > ol > li .uap-pill { height: 20px; font-size: 11px; vertical-align: 1px; }
.uap-gchip { display: inline-block; margin-right: 2px; padding: 1px 8px; border-radius: 6px; font-size: 11px; font-weight: 750; color: var(--h); background: color-mix(in srgb, var(--h) 10%, #fff); vertical-align: 1px; }

/* ---------- group tiles ---------- */
.uap-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; margin-top: 26px; }
.uap-groups > h2 { grid-column: 1 / -1; margin: 0 0 2px !important; }
.uap-grow { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "n s" "d s" "c c"; gap: 6px 10px; padding: 14px 16px 18px; overflow: hidden;
	color: var(--uap-ink) !important; text-decoration: none !important; transition: box-shadow .18s, transform .18s; }
.uap-grow:hover { transform: translateY(-1px); box-shadow: var(--uap-edge), var(--uap-shadow-hi); }
.uap-grow::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--h); }
.uap-grow::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 9px; height: 4px; border-radius: 99px; background: linear-gradient(90deg, var(--h) calc(var(--s, 0) * 1%), color-mix(in srgb, var(--h) 12%, #fff) 0); }
.uap-grow b { grid-area: n; font-size: 14px; font-weight: 750; }
.uap-gcs { grid-area: d; display: flex; flex-wrap: wrap; gap: 3px; }
.uap-grow > span:last-of-type { grid-area: c; font-size: 12px; color: var(--uap-mute); }
.uap-grow em { grid-area: s; align-self: start; font-style: normal; font-size: 24px; font-weight: 800; letter-spacing: -0.03em; color: var(--uap-faint); }
.uap-grow em.uap-sc--pass { color: var(--uap-pass); } .uap-grow em.uap-sc--warn { color: var(--uap-warn); } .uap-grow em.uap-sc--fail { color: var(--uap-fail); }

/* ---------- a group: check rows that open ---------- */
.uap-gh { display: flex; align-items: center; gap: 10px; margin: 4px 0 14px !important; font-size: 22px !important; letter-spacing: -0.02em !important; }
.uap-gh::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--h); box-shadow: 0 0 0 4px color-mix(in srgb, var(--h) 16%, transparent); }
.uap-panel { margin-bottom: 8px; overflow: hidden; border-radius: 12px; transition: box-shadow .18s; }
.uap-ph { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 8px 16px; }
.uap-js .uap-panel[id^="c-"] > .uap-ph { cursor: pointer; }
.uap-js .uap-panel[id^="c-"] > .uap-ph::after { content: ""; flex: none; width: 8px; height: 8px; margin-left: 4px; border-right: 2px solid var(--uap-faint); border-bottom: 2px solid var(--uap-faint); transform: rotate(45deg) translateY(-2px); transition: transform .18s; }
.uap-js .uap-panel[id^="c-"].is-open > .uap-ph::after { transform: rotate(225deg) translateY(-2px); }
.uap-ph:hover { background: rgba(255, 255, 255, .55); }
.uap-ph h3 { flex: 1 1 auto; min-width: 0; font-size: 14px !important; }
.uap-ph .uap-sc { min-width: 56px; text-align: right; }
.uap-js .uap-panel[id^="c-"]:not(.is-open) > :not(.uap-ph) { display: none; }
.uap-panel > :not(.uap-ph) { margin-left: 16px; margin-right: 16px; }
.uap-panel > :not(.uap-ph):last-child { margin-bottom: 14px; }
.uap-panel.is-open .uap-ph { border-bottom: 1px solid var(--uap-line); margin-bottom: 12px; }
.uap-sum { margin: 0 0 10px; font-size: 13.5px; color: var(--uap-ink-2); }
.uap-kv { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; margin: 0 0 12px; }
.uap-kv div { padding: 8px 10px; border-radius: 9px; background: rgba(14, 26, 51, .035); }
.uap-kv dt { font-size: 11.5px; font-weight: 650; color: var(--uap-mute); }
.uap-kv dd { margin: 2px 0 0; font-size: 14px; font-weight: 700; color: var(--uap-ink); overflow-wrap: anywhere; }
.uap-kv small { font-weight: 550; color: var(--uap-faint); }
.uap-items { list-style: none; margin: 0 0 10px; padding: 0; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--uap-line); overflow: hidden; }
.uap-it { display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 12px; padding: 10px 12px; font-size: 13px; background: rgba(255, 255, 255, .6); }
.uap-it + .uap-it { border-top: 1px solid var(--uap-line); }
.uap-lv { align-self: start; justify-self: start; padding: 2px 8px; border-radius: 6px; font-size: 11px; font-weight: 750; color: var(--uap-grey); background: var(--uap-grey-w); white-space: nowrap; }
.uap-it--pass .uap-lv { color: var(--uap-pass); background: var(--uap-pass-w); }
.uap-it--warn .uap-lv { color: var(--uap-warn); background: var(--uap-warn-w); }
.uap-it--fail .uap-lv { color: var(--uap-fail); background: var(--uap-fail-w); }
.uap-it b { font-weight: 700; color: var(--uap-ink); }
.uap-it p { margin: 3px 0 0; color: var(--uap-ink-2); }
.uap-fix { padding: 6px 9px; border-radius: 8px; background: rgba(11, 79, 209, .06); }
.uap-fix strong { color: var(--uap-ac); }
.uap-src { margin: 0 0 8px; font-size: 12px; color: var(--uap-mute); overflow-wrap: anywhere; }
.uap-foot { margin-top: 0 !important; margin-bottom: 12px !important; font-size: 12px; color: var(--uap-faint); }
.uap-prow { margin-top: 14px; padding: 0; overflow: hidden; }
.uap-prow summary { display: flex; align-items: center; gap: 8px; padding: 12px 16px; cursor: pointer; font-weight: 650; font-size: 13.5px; color: var(--uap-ink-2); list-style: none; }
.uap-prow summary::-webkit-details-marker { display: none; }
.uap-prow[open] summary { border-bottom: 1px solid var(--uap-line); }
.uap-prow ul { list-style: none; margin: 0; padding: 10px 16px; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 6px 18px; }
.uap-prow li { font-size: 13px; color: var(--uap-ink-2); }
.uap-prow li > span:not(.uap-pro) { display: block; font-size: 12px; color: var(--uap-mute); }
.uap-prow > .uap-small { padding: 0 16px 12px; }
.uap-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 14px; }
.uap-card { display: grid; gap: 4px; padding: 14px 16px; color: var(--uap-ink-2) !important; text-decoration: none !important; transition: transform .18s, box-shadow .18s; }
.uap-card:hover { transform: translateY(-1px); box-shadow: var(--uap-edge), var(--uap-shadow-hi); }
.uap-card b { color: var(--uap-ink); font-size: 14px; }
.uap-card span { font-size: 12.5px; color: var(--uap-mute); }

/* ---------- My reports ---------- */
section.uap-site { margin-top: 12px; padding: 14px 16px; }
section.uap-site h3 { margin-bottom: 8px; }
.uap-rt { width: 100%; border-collapse: collapse; font-size: 13px; }
.uap-rt th { padding: 6px 8px; text-align: left; font-size: 11.5px; font-weight: 700; color: var(--uap-mute); border-bottom: 1px solid var(--uap-line-2); }
.uap-rt td { padding: 8px; border-bottom: 1px solid var(--uap-line); }
.uap-rt tr:hover td { background: rgba(255, 255, 255, .6); }
.uap-rt-a { text-align: right; white-space: nowrap; }
.uap-diff { margin-top: 12px; padding: 12px 14px; }

/* ---------- toasts ---------- */
.uap-toasts { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: grid; gap: 8px; pointer-events: none; }
.uap-toast { padding: 10px 14px; border-radius: 12px; font-size: 13px; font-weight: 650; color: var(--uap-ink); background: rgba(255, 255, 255, .92); box-shadow: var(--uap-edge), var(--uap-shadow-hi);
	opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .2s; }
.uap-toast.is-in { opacity: 1; transform: none; }

/* ---------- tablet + phone: the sidebar becomes a bottom tab bar ---------- */
@media (max-width: 860px) {
	.uap-shell { --uap-top: 56px; }
	.uap-topbar { gap: 8px; padding: 0 10px; }
	.uap-logo__word, .uap-plan, .uap-iconbtn, .uap-acct__t, .uap-topform__go { display: none !important; }
	.uap-acct { padding: 0 4px; }
	.uap-topform { margin: 0; height: 38px; }
	.uap-wrap, .uap-small-rail .uap-wrap { grid-template-columns: minmax(0, 1fr); }
	.uap-rail { position: fixed; z-index: 6; left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom)); flex-direction: row; padding: 6px; overflow-x: auto; overflow-y: hidden;
		border: 1px solid rgba(255, 255, 255, .75); border-radius: 18px; box-shadow: 0 0 0 1px var(--uap-line), 0 16px 40px -18px rgba(20, 40, 100, .5); scrollbar-width: none; }
	.uap-rail::-webkit-scrollbar { display: none; }
	.uap-rail__head, .uap-saved, .uap-rail__sep { display: none !important; }
	.uap-rail ul { display: flex; gap: 2px; }
	.uap-rail li[hidden] { display: none; }
	.uap-rail a[data-view] { flex-direction: column; justify-content: center; gap: 2px; width: 70px; height: 52px; padding: 0; font-size: 10.5px; font-weight: 650; }
	.uap-rail a[data-view] .uap-ic { width: 20px; height: 20px; }
	.uap-rail a[aria-current="page"]::before { left: 22px; right: 22px; top: auto; bottom: 3px; width: auto; height: 3px; border-radius: 3px; }
	.uap-lbl { flex: none; max-width: 66px; text-align: center; }
	.uap-small-rail .uap-lbl { display: block !important; }
	.uap-n { display: none; }
	.uap-rail .uap-st { position: absolute; top: 6px; right: 16px; margin: 0; }
	.uap-main { padding: 18px 14px 96px; }
	.uap-head { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "score donut" "text text" "acts acts"; padding: 18px; }
	.uap-donut { justify-self: end; width: 96px; height: 96px; }
	.uap-score { width: 108px; height: 108px; }
	.uap-score b { font-size: 32px; }
	.uap-acts [data-new] { margin-left: 0; }
	.uap-top ol { grid-template-columns: minmax(0, 1fr); }
	.uap-skel { grid-template-columns: minmax(0, 1fr); }
	.uap-it { grid-template-columns: minmax(0, 1fr); gap: 6px; }
	.uap-row { flex-direction: column; }
	.uap-shell .uap-app .uap-go { width: 100%; }
	.uap-toasts { bottom: 88px; left: 14px; right: 14px; }
	.uap-rt { display: block; overflow-x: auto; white-space: nowrap; }
}

/* ---------- comfort + print ---------- */
@media (prefers-reduced-motion: reduce) {
	.uap-shell *, .uap-shell *::before, .uap-shell *::after { animation: none !important; transition: none !important; }
}
@media print {
	body.uap-shell { height: auto; overflow: visible; background: #fff; }
	.uap-app { display: block; height: auto; }
	.uap-app::before, .uap-topbar, .uap-rail, .uap-acts, .uap-note, .uap-toasts, .uap-skip, #ursy-consent-box { display: none !important; }
	.uap-wrap { display: block; height: auto; }
	.uap-main { overflow: visible; padding: 0; }
	.uap-panel, .uap-top li, .uap-grow, .uap-head, .uap-prow, .uap-prog { box-shadow: 0 0 0 1px #d9dee8 !important; background: #fff !important; break-inside: avoid; }
	.uap-js .uap-panel > :not(.uap-ph) { display: block !important; }
	.uap-prow ul { display: block; }
}

/* primary buttons win over the quiet .uap-btn rule above */
.uap-shell .uap-app .uap-btn.uap-btn--q, .uap-shell .uap-app a.uap-btn.uap-btn--q { color: #fff !important; background: linear-gradient(180deg, var(--uap-ac-2), var(--uap-ac)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 8px 18px -10px rgba(11, 79, 209, .85); }
.uap-shell .uap-app .uap-btn.uap-btn--q:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 12px 24px -12px rgba(11, 79, 209, .95); }
/* signed-in admins see the WordPress admin bar: keep the app inside the window */
.admin-bar .uap-app { height: calc(100vh - 32px); height: calc(100dvh - 32px); }
@media (max-width: 782px) { .admin-bar .uap-app { height: calc(100vh - 46px); height: calc(100dvh - 46px); } }
/* plan pill: none left today = amber */
.uap-plan.is-empty .uap-plan__name { color: var(--uap-warn); }
.uap-plan.is-empty .uap-plan__bar { background: rgba(161, 92, 7, .14); }

/* ---------- 1.10 Fix list + fix brief (Handover 29), Design lane ---------- */
/* colour chips: app.js sets each level's colours inline; we give them the pill shape and a dot */
.uap-fxchip { display: inline-flex !important; align-items: center; gap: 6px; height: 24px; padding: 0 10px !important; border-radius: 99px !important; font-size: 12px !important; white-space: nowrap; box-shadow: inset 0 0 0 1px rgba(14, 26, 51, .05); }
.uap-fxchip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.uap-fxkey { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 6px; margin: 0 0 10px; padding: 12px 14px; border-radius: var(--uap-r); font-size: 14px; font-weight: 750; color: var(--uap-ink);
	background: var(--uap-sheen), var(--uap-card); box-shadow: var(--uap-edge), var(--uap-shadow); }
.uap-fxkey .uap-fxchip { margin-left: 8px; }
.uap-fxkey .uap-fxchip:first-child { margin-left: 0; }
.uap-fxbar { margin: 14px 0 12px; padding: 10px 12px; border-top: 0; border-radius: 12px; background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1px var(--uap-line); }
.uap-fxbar .uap-small { flex: 1 1 260px; margin: 0; }
/* the table: one glass sheet, rows that breathe */
.uap-fxt { overflow: hidden; border-radius: var(--uap-r); background: var(--uap-sheen), var(--uap-card); box-shadow: var(--uap-edge), var(--uap-shadow); border-collapse: separate; border-spacing: 0; }
.uap-fxt th { padding: 10px 12px; background: rgba(246, 248, 253, .85); }
.uap-fxt td { padding: 12px; vertical-align: top; line-height: 1.45; }
.uap-fxt td:first-child { width: 34px; }
.uap-fxt td:nth-child(2) { width: 1%; white-space: nowrap; }
.uap-fxt td b { color: var(--uap-ink); }
.uap-fxt td small { display: inline-block; margin-top: 3px; font-size: 12px; color: var(--uap-mute); }
.uap-fxt .uap-fxmsg { padding: 2px 8px; border-radius: 6px; font-weight: 650; color: var(--uap-ac); background: rgba(11, 79, 209, .07); }
.uap-fxt .uap-rt-a { text-align: right; white-space: nowrap; vertical-align: middle; }
.uap-fxt .uap-rt-a > * { margin-left: 6px; vertical-align: middle; }
.uap-fxt td:nth-child(2) { vertical-align: middle; }
.uap-fxt input[type="checkbox"] { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--uap-ac); cursor: pointer; }
.uap-fxt select { height: 32px; padding: 0 28px 0 10px; border: 0; border-radius: 9px; font: 600 13px var(--uap-f); color: var(--uap-ink); cursor: pointer; appearance: none;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%235f6b85' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 9px center / 12px; box-shadow: inset 0 0 0 1px var(--uap-line-2); }
.uap-fxt select:focus-visible { outline: 2px solid var(--uap-ac); outline-offset: 1px; }
.uap-fxt tr[data-fxrow]:has(input:checked) td { background: rgba(11, 79, 209, .045); }
.uap-shell .uap-app .uap-fxt .uap-btn[disabled] { opacity: .6; cursor: progress; }
/* the snooze form, in its own row */
.uap-fxsnooze { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 14px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 248, 230, .8); box-shadow: inset 0 0 0 1px rgba(161, 92, 7, .16); }
.uap-fxsnooze label { display: grid; gap: 4px; font-size: 12.5px; font-weight: 700; color: var(--uap-ink-2); }
.uap-fxsnooze input { height: 34px; padding: 0 10px; border: 0; border-radius: 9px; font: 500 14px var(--uap-f); color: var(--uap-ink); background: #fff; box-shadow: inset 0 0 0 1px var(--uap-line-2); }
.uap-fxsnooze input[type="text"] { width: min(340px, 70vw); }
.uap-fxsnooze input:focus { outline: none; box-shadow: inset 0 0 0 1px var(--uap-ac), 0 0 0 3px var(--uap-ring); }
/* header buttons: Fix list stands out a little; Cancel is quiet red */
.uap-shell .uap-app .uap-acts [data-fixes] { color: var(--uap-fail); box-shadow: inset 0 0 0 1px rgba(192, 38, 45, .28), 0 1px 2px rgba(14, 26, 51, .04); }
.uap-shell .uap-app .uap-acts [data-cancel] { color: var(--uap-mute); }
.uap-shell .uap-app .uap-acts [data-cancel]:hover { color: var(--uap-fail); }
/* My reports: the site name and its Fix list link on one line; saved sites: next re-run */
section.uap-site h3 { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.uap-next { display: block; margin-top: 2px; font-size: 11px; font-weight: 550; color: var(--uap-faint); }
.uap-saved li a { flex-wrap: wrap; }
/* the fix brief (printed): every section open, plain and readable */
.uap-brief { max-width: 820px; }
.uap-brief h1 { margin: 0 0 6px; font-size: 26px; letter-spacing: -0.02em; }
.uap-brief .uap-panel { padding: 14px 16px; margin-bottom: 10px; }
.uap-brief .uap-panel > * { display: block !important; margin-left: 0 !important; margin-right: 0 !important; }
.uap-brief .uap-panel h3 { margin-bottom: 8px; }
.uap-brief .uap-panel p { margin: 4px 0; font-size: 13.5px; }
@media (max-width: 860px) {
	.uap-fxt, .uap-fxt tbody, .uap-fxt tr, .uap-fxt td { display: block; width: auto !important; white-space: normal !important; overflow: visible; }
	.uap-fxt thead { display: none; }
	.uap-fxt tr { position: relative; padding: 12px 12px 12px 42px; border-bottom: 1px solid var(--uap-line); }
	.uap-fxt td { padding: 3px 0; border: 0; }
	.uap-fxt td:first-child { position: absolute; left: 12px; top: 14px; padding: 0; }
	.uap-fxt td:first-child:empty { display: none; }
	.uap-fxt .uap-rt-a { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 6px; text-align: left; }
	.uap-fxt .uap-rt-a > * { margin-left: 0; }
	.uap-fxkey .uap-fxchip { margin-left: 4px; }
	.uap-fxt tr:not([data-fxrow]) { padding-left: 12px; }
}
@media print { .uap-fxbar, .uap-fxt select, .uap-fxt .uap-btn, .uap-fxt .uap-link, .uap-fxsnooze { display: none !important; } .uap-brief .uap-panel { box-shadow: 0 0 0 1px #d9dee8 !important; } }

/* ---------- 1.11 LINK JUICE (Lee's flagship), Design lane ---------- */
/* the door on the Links view */
.uap-ljdoor { position: relative; overflow: hidden; padding: 4px 4px 8px; border-radius: var(--uap-r-l);
	background: radial-gradient(70% 120% at 100% 0%, rgba(194, 65, 107, .14), transparent 70%), var(--uap-sheen), var(--uap-card); box-shadow: var(--uap-edge), 0 0 0 1px rgba(194, 65, 107, .16), 0 22px 44px -28px rgba(194, 65, 107, .45); }
.uap-ljdoor .uap-ph { border: 0 !important; margin: 0 !important; }
.uap-ljdoor .uap-ph h3 { font-size: 17px !important; }
.uap-ljdoor > p { margin: 0 16px 10px; font-size: 14px; color: var(--uap-ink-2); max-width: 680px; }
/* chips: pill + dot, keeping app.js's inline colours */
.uap-ljchip { display: inline-flex !important; align-items: center; gap: 6px; height: 24px; padding: 0 10px !important; border-radius: 99px !important; font-size: 12px !important; white-space: nowrap; box-shadow: inset 0 0 0 1px rgba(14, 26, 51, .05); }
.uap-ljchip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.uap-head .uap-counts .uap-ljchip { margin-right: 2px; }
/* the crawl form sits on a glass card like the start screen */
.uap-main > .uap-form[data-ljform] { max-width: 680px; padding: 20px 22px; border-radius: var(--uap-r-l); background: var(--uap-sheen), var(--uap-card); box-shadow: var(--uap-edge), var(--uap-shadow); }
/* result sections that are not the top-10 list: glass cards */
.uap-main > section.uap-top:not(:has(> ol)) { margin-top: 18px; padding: 18px 20px 20px; border-radius: var(--uap-r-l); background: var(--uap-sheen), var(--uap-card); box-shadow: var(--uap-edge), var(--uap-shadow); }
.uap-main > section.uap-top:not(:has(> ol)) > h2 { margin: 0 0 10px !important; font-size: 16px; }
.uap-main > section.uap-top:not(:has(> ol)) > h2 ~ h2 { margin-top: 22px !important; }
.uap-main > section.uap-top:not(:has(> ol)) ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 14px; color: var(--uap-ink-2); }
.uap-top > .uap-kv { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.uap-top > .uap-kv > div { padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .85); box-shadow: inset 0 0 0 1px var(--uap-line); }
.uap-top > .uap-kv dd b { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
/* tables inside Link Juice: hairline rows, scroll sideways on small screens */
.uap-main section .uap-rt, .uap-ljflag .uap-rt { margin-top: 6px; }
.uap-main section .uap-rt td .uap-link, .uap-ljflag .uap-rt td .uap-link { font-family: var(--uap-f); font-size: 13px; font-weight: 650; text-align: left; overflow-wrap: anywhere; }
.uap-main section .uap-rt td small { color: var(--uap-mute); }
.uap-main section .uap-rt [data-lj="copy"] { height: 28px; padding: 0 10px; font-size: 12.5px; }
.uap-ljflag .uap-rt { display: block; overflow-x: auto; }
/* "What we found": stacked cards that open */
.uap-groups:has(.uap-ljflag) { display: block; }
.uap-groups:has(.uap-ljflag) > h2 { margin: 0 0 12px !important; }
.uap-ljflag { margin-bottom: 8px; overflow: hidden; border-radius: 14px; background: var(--uap-sheen), var(--uap-card); box-shadow: var(--uap-edge), var(--uap-shadow); }
.uap-ljflag > summary { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 16px; cursor: pointer; list-style: none; }
.uap-ljflag > summary::-webkit-details-marker { display: none; }
.uap-ljflag > summary::after { content: ""; flex: none; width: 8px; height: 8px; margin-left: auto; border-right: 2px solid var(--uap-faint); border-bottom: 2px solid var(--uap-faint); transform: rotate(45deg) translateY(-2px); transition: transform .18s; }
.uap-ljflag[open] > summary::after { transform: rotate(225deg) translateY(-2px); }
.uap-ljflag > summary b { font-size: 14px; color: var(--uap-ink); }
.uap-ljflag > summary .uap-small { margin: 0; padding: 1px 8px; border-radius: 99px; font-weight: 700; color: var(--uap-ink-2); background: rgba(14, 26, 51, .06); }
.uap-ljflag[open] > summary { border-bottom: 1px solid var(--uap-line); }
.uap-ljflag > :not(summary) { margin-left: 16px; margin-right: 16px; }
.uap-ljflag > p:first-of-type { margin-top: 12px; font-size: 13.5px; color: var(--uap-ink-2); }
.uap-ljflag > :last-child { margin-bottom: 14px; }
/* the page card: a right-side glass drawer (a bottom sheet on phones) */
.uap-ljcard { position: fixed; z-index: 30; top: calc(var(--uap-top) + 14px); right: 14px; bottom: 14px; width: min(420px, calc(100vw - 28px)); margin: 0 !important; overflow-y: auto;
	border-radius: 20px; background: rgba(255, 255, 255, .9); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(14, 26, 51, .08), -30px 0 60px -30px rgba(20, 40, 110, .45); }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) { .uap-ljcard { background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%); } }
@media (prefers-reduced-motion: no-preference) { .uap-ljcard { animation: uap-drawer .22s cubic-bezier(.2, .7, .2, 1); } }
@keyframes uap-drawer { from { opacity: 0; transform: translateX(24px); } }
.uap-ljcard .uap-ph { position: sticky; top: 0; z-index: 1; min-height: 56px; padding: 10px 14px 10px 18px; border-bottom: 1px solid var(--uap-line); background: rgba(255, 255, 255, .85); }
.uap-ljcard .uap-ph h3 { font-size: 13.5px !important; overflow-wrap: anywhere; }
.uap-ljcard > :not(.uap-ph) { margin: 12px 18px; }
.uap-ljcard .uap-kv { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.uap-ljcard .uap-kv dd b { font-size: 18px; }
.uap-shell .uap-app .uap-ljcard .uap-x { width: 32px; height: 32px; font-size: 20px; }
@media (max-width: 860px) {
	.uap-ljcard { top: auto; left: 8px; right: 8px; bottom: calc(80px + env(safe-area-inset-bottom)); width: auto; max-height: 70vh; border-radius: 20px; }
	@media (prefers-reduced-motion: no-preference) { .uap-ljcard { animation-name: uap-sheet; } }
	.uap-main section .uap-rt { display: block; overflow-x: auto; }
}
@keyframes uap-sheet { from { opacity: 0; transform: translateY(24px); } }
@media print { .uap-ljcard, .uap-ljdoor, [data-lj="copy"] { display: none !important; } .uap-ljflag { box-shadow: 0 0 0 1px #d9dee8 !important; } .uap-ljflag > :not(summary) { display: block !important; } }
@media (min-width: 861px) { .uap-ljflag .uap-rt { display: table; width: calc(100% - 32px); } }

/* ---------- 1.12 Link Juice extras + Fix list column fix, Design lane ---------- */
/* Fix list: give the finding room; the actions wrap under the level select instead of squeezing it */
@media (min-width: 861px) {
	.uap-fxt td:nth-child(3) { width: 52%; }
	.uap-fxt .uap-rt-a { white-space: normal; min-width: 250px; }
	.uap-fxt .uap-rt-a > * { margin: 3px 0 3px 6px; }
}
/* "Since your last crawl" */
.uap-ljchanges .uap-rt td:nth-child(2), .uap-ljchanges .uap-rt td:nth-child(3) { white-space: nowrap; }
.uap-ljchanges .uap-rt th { white-space: nowrap; }
/* "Try links on paper" */
.uap-ljwhatif { background: radial-gradient(80% 120% at 100% 0%, rgba(194, 65, 107, .09), transparent 70%), var(--uap-sheen), var(--uap-card) !important; }
.uap-row.uap-wirow { flex-direction: row; flex-wrap: wrap; align-items: flex-end; gap: 10px 14px; margin: 12px 0; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .85); box-shadow: inset 0 0 0 1px var(--uap-line-2); }
.uap-wirow label { display: grid; gap: 4px; flex: 1 1 220px; min-width: 0; font-size: 12.5px; font-weight: 700; color: var(--uap-ink-2); }
.uap-wirow select { width: 100%; height: 36px; padding: 0 30px 0 10px; border: 0; border-radius: 9px; font: 600 13px var(--uap-f); color: var(--uap-ink); appearance: none; cursor: pointer; text-overflow: ellipsis;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%235f6b85' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 10px center / 12px; box-shadow: inset 0 0 0 1px var(--uap-line-2); }
.uap-wirow select:focus-visible { outline: 2px solid var(--uap-ac); outline-offset: 1px; }
.uap-shell .uap-app .uap-wirow .uap-btn { height: 36px; color: #fff; background: linear-gradient(180deg, #d4517c, #c2416b); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 8px 16px -10px rgba(194, 65, 107, .8); }
.uap-shell .uap-app .uap-wirow .uap-btn[disabled] { opacity: .5; cursor: not-allowed; }
.uap-wilinks { list-style: none !important; margin: 0 0 12px !important; padding: 0 !important; display: flex !important; flex-wrap: wrap; gap: 8px !important; }
.uap-wilinks li { display: inline-flex; align-items: center; gap: 6px; padding: 4px 4px 4px 12px; border-radius: 99px; font-size: 13px; font-weight: 650; color: #9b2c52; background: rgba(194, 65, 107, .1); box-shadow: inset 0 0 0 1px rgba(194, 65, 107, .2); overflow-wrap: anywhere; }
.uap-shell .uap-app .uap-wilinks .uap-x { width: 24px; height: 24px; border-radius: 50%; color: #9b2c52; }
.uap-shell .uap-app .uap-wilinks .uap-x:hover { background: #fff; color: var(--uap-fail); }
/* the page drawer: Pin / Compare buttons and the head-to-head table */
.uap-ljcard .uap-acts { margin: 4px 18px 10px !important; padding-top: 10px; border-top: 1px solid var(--uap-line); }
.uap-ljcard [data-ljh2h] .uap-rt { width: 100%; font-size: 12.5px; }
.uap-ljcard [data-ljh2h] .uap-rt th { white-space: normal; overflow-wrap: anywhere; }
.uap-ljcard [data-ljh2h] .uap-rt td:first-child { color: var(--uap-mute); font-weight: 600; }
.uap-ljcard [data-ljh2h] .uap-rt td:not(:first-child) { font-weight: 700; color: var(--uap-ink); font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .uap-row.uap-wirow { flex-direction: column; align-items: stretch; } .uap-wirow label { flex: none; } }

/* ---------- 1.13 + 1.14 (Handover 30 + Agency), Design lane ---------- */
/* signed-out card: "See an example report" */
.uap-example { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; background: rgba(11, 79, 209, .06); box-shadow: inset 0 0 0 1px rgba(11, 79, 209, .14); }
.uap-example .uap-small { margin: 0; }
/* the Demo note above an example report or crawl */
.uap-note--demo { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; background: var(--uap-sheen), rgba(237, 243, 255, .9); box-shadow: var(--uap-edge), 0 0 0 1px rgba(11, 79, 209, .18); }
.uap-note--demo .uap-pill { color: #1c4fb8; background: rgba(11, 79, 209, .12); }
/* a group with no live check yet */
.uap-n.uap-n--planned { min-width: 0; padding: 1px 7px; font-size: 10.5px; font-weight: 700; color: var(--uap-faint); background: transparent; box-shadow: inset 0 0 0 1px var(--uap-line-2); }
/* tables that sit straight on the canvas (Agency, compare, alerts): one glass sheet each */
.uap-main > .uap-rt { overflow: hidden; border-collapse: separate; border-spacing: 0; margin: 10px 0 18px; border-radius: var(--uap-r); background: var(--uap-sheen), var(--uap-card); box-shadow: var(--uap-edge), var(--uap-shadow); }
.uap-main > .uap-rt th { padding: 10px 12px; background: rgba(246, 248, 253, .85); }
.uap-main > .uap-rt td { padding: 11px 12px; vertical-align: top; }
.uap-main > .uap-rt td strong { display: inline-block; padding: 2px 6px; border-radius: 8px; background: rgba(10, 125, 85, .08); box-shadow: inset 0 0 0 1px rgba(10, 125, 85, .2); }
.uap-main > .uap-rt td .uap-pill { margin-right: 4px; }
/* All my sites: filter, sortable headers, ticks */
.uap-main > .uap-acts:has([data-agfilter]) { border-top: 0; padding-top: 0; }
.uap-main [data-agfilter] { flex: 1 1 240px; max-width: 320px; height: 34px; padding: 0 12px 0 34px; border: 0; border-radius: 10px; font: 500 14px var(--uap-f); color: var(--uap-ink);
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='10.5' cy='10.5' r='6' fill='none' stroke='%238a94a8' stroke-width='1.8'/%3E%3Cpath d='M15 15l5 5' stroke='%238a94a8' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 10px center / 16px; box-shadow: inset 0 0 0 1px var(--uap-line-2); }
.uap-main [data-agfilter]:focus { outline: none; box-shadow: inset 0 0 0 1px var(--uap-ac), 0 0 0 3px var(--uap-ring); }
.uap-shell .uap-app .uap-acts [data-ag="compare-sel"][disabled] { opacity: .5; cursor: not-allowed; }
.uap-agt th .uap-link { color: var(--uap-mute); font-size: 11.5px; font-weight: 750; text-decoration: none; white-space: nowrap; }
.uap-agt th .uap-link:hover { color: var(--uap-ink); }
.uap-agt td { vertical-align: middle !important; font-variant-numeric: tabular-nums; }
.uap-agt td:nth-child(2) { color: var(--uap-mute); font-weight: 700; }
.uap-agt td:nth-child(4) b { display: inline-grid; place-items: center; min-width: 38px; height: 26px; padding: 0 6px; border-radius: 8px; font-size: 14px; background: rgba(14, 26, 51, .04); }
.uap-agt td:nth-child(4) b.uap-sc--pass { background: var(--uap-pass-w); } .uap-agt td:nth-child(4) b.uap-sc--warn { background: var(--uap-warn-w); } .uap-agt td:nth-child(4) b.uap-sc--fail { background: var(--uap-fail-w); }
.uap-agt input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--uap-ac); cursor: pointer; }
.uap-agt tr:has(input:checked) td { background: rgba(11, 79, 209, .045); }
.uap-agt .uap-rt-a { white-space: nowrap; text-align: right; color: var(--uap-faint); }
/* History: a timeline */
.uap-tl { list-style: none; margin: 14px 0 18px; padding: 0 0 0 28px; position: relative; }
.uap-tl::before { content: ""; position: absolute; left: 9px; top: 10px; bottom: 10px; width: 2px; border-radius: 2px; background: linear-gradient(180deg, rgba(11, 79, 209, .35), rgba(109, 78, 216, .25), rgba(15, 138, 126, .2)); }
.uap-tlrow { position: relative; margin-bottom: 12px !important; padding-bottom: 12px; overflow: visible !important; }
.uap-tlrow::before { content: ""; position: absolute; left: -25px; top: 19px; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px var(--uap-ac), 0 4px 10px -2px rgba(11, 79, 209, .5); }
.uap-tlrow:first-child::before { background: var(--uap-ac); }
.uap-tlrow .uap-ph { border-bottom: 1px solid var(--uap-line); margin-bottom: 8px; }
.uap-tlrow .uap-ph h3 { flex: 1 1 auto; }
.uap-tlrow > p, .uap-tlrow > ul, .uap-tlrow > form { margin-left: 16px; margin-right: 16px; }
.uap-tlrow > p { margin-top: 6px; margin-bottom: 6px; font-size: 13.5px; color: var(--uap-ink-2); }
.uap-tlrow > ul { margin-top: 4px; padding-left: 18px; font-size: 13px; color: var(--uap-ink-2); }
.uap-tlrow > .uap-note { padding: 8px 12px; border-radius: 10px; background: rgba(255, 248, 230, .9); box-shadow: inset 0 0 0 1px rgba(161, 92, 7, .16); font-size: 13.5px; }
.uap-tlrow > .uap-note::before { content: "Note: "; font-weight: 750; color: var(--uap-warn); }
.uap-tlrow > .uap-acts { margin-top: 8px; padding-top: 8px; color: var(--uap-faint); }
@media (max-width: 860px) {
	.uap-main > .uap-rt { display: block; overflow-x: auto; white-space: nowrap; }
	.uap-main [data-agfilter] { max-width: none; }
	.uap-tl { padding-left: 22px; } .uap-tlrow::before { left: -19px; } .uap-tl::before { left: 6px; }
}
@media print { .uap-main [data-agfilter], .uap-agt input[type="checkbox"] { display: none !important; } }
.uap-shell .uap-app .uap-agt th .uap-link { text-decoration: none; color: var(--uap-mute); }
.uap-shell .uap-app .uap-agt th .uap-link:hover { color: var(--uap-ink); }
.uap-note.uap-note--demo { display: block; }
.uap-note--demo .uap-pill { margin-right: 6px; vertical-align: 1px; }
.uap-agt td:first-child, .uap-agt th:first-child { width: 34px; }

/* ---------- 1.15 WHITE LABEL (A5), Design lane ---------- */
/* the agency's bar on branded reports, PDFs and fix briefs: their colour on top, their name first, ours small */
.uap-brandbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-bottom: 16px; padding: 14px 18px; border: 0 solid var(--b1, var(--uap-ac)); border-top-width: 4px; border-radius: var(--uap-r);
	background: radial-gradient(80% 140% at 100% 0%, color-mix(in srgb, var(--b2, var(--uap-ac)) 10%, transparent), transparent 70%), var(--uap-sheen), var(--uap-card); box-shadow: var(--uap-edge), var(--uap-shadow); }
.uap-brandlogo { display: block; height: 40px; width: auto; max-width: 220px; object-fit: contain; }
.uap-brandname { font-size: 18px; font-weight: 800; letter-spacing: -0.01em; color: var(--b1, var(--uap-ink)); }
.uap-brandbar > a { font-size: 13.5px; font-weight: 650; color: var(--b1, var(--uap-ac)) !important; }
.uap-brandbar > small:not(.uap-poweredby) { flex: 1 1 260px; text-align: right; font-size: 12.5px; color: var(--uap-mute); }
.uap-poweredby { margin-left: auto; padding: 2px 8px; border-radius: 99px; font-size: 11px; font-weight: 600; color: var(--uap-faint); box-shadow: inset 0 0 0 1px var(--uap-line); }
.uap-brandbar > small:not(.uap-poweredby) + .uap-poweredby { margin-left: 0; }
/* a client opening a branded share link sees the agency, not URSY: no URSY top bar or menu, the report full width */
body.uap-wl .uap-topbar, body.uap-wl .uap-rail, body.uap-wl .uap-skip { display: none !important; }
body.uap-wl .uap-app { grid-template-rows: minmax(0, 1fr); }
body.uap-wl .uap-wrap, body.uap-wl.uap-shell .uap-small-rail .uap-wrap { grid-template-columns: minmax(0, 1fr); }
body.uap-wl .uap-main { padding-top: clamp(16px, 3vw, 32px); padding-bottom: 40px; }
body.uap-wl .uap-acts [data-new], body.uap-wl .uap-acts [data-save], body.uap-wl .uap-acts a[href*="account"] { display: none; }
/* the brand form at /app/agency/brand/ */
.uap-brandform { padding: 20px 22px; border-radius: var(--uap-r-l); background: var(--uap-sheen), var(--uap-card); box-shadow: var(--uap-edge), var(--uap-shadow); }
.uap-brandform fieldset { max-width: 760px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; margin: 0; padding: 0; border: 0; min-width: 0; }
.uap-brandform fieldset > label { display: grid; gap: 5px; font-size: 12.5px; font-weight: 700; color: var(--uap-ink-2); }
.uap-brandform fieldset > label:nth-child(3), .uap-brandform fieldset > label:nth-child(6) { grid-column: 1 / -1; }
.uap-brandform input:not([type="color"]):not([type="checkbox"]) { height: 38px; padding: 0 12px; border: 0; border-radius: 10px; font: 500 14px var(--uap-f); color: var(--uap-ink); background: #fff; box-shadow: inset 0 0 0 1px var(--uap-line-2); }
.uap-brandform input:focus { outline: none; box-shadow: inset 0 0 0 1px var(--uap-ac), 0 0 0 3px var(--uap-ring); }
.uap-brandform input:invalid:not(:placeholder-shown) { box-shadow: inset 0 0 0 1px var(--uap-fail); }
.uap-brandform input[type="color"] { width: 64px; height: 38px; padding: 3px; border: 0; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--uap-line-2); cursor: pointer; }
.uap-brandform fieldset > label:has(input[type="checkbox"]) { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; font-weight: 600; }
.uap-brandform input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--uap-ac); }
.uap-brandform fieldset > p { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 4px 0 0; }
.uap-brandform fieldset > p .uap-small { margin: 0; }
.uap-brandform fieldset[disabled] { opacity: .55; }
.uap-brandform fieldset[disabled] * { cursor: not-allowed !important; }
.uap-main > h3 { margin: 22px 0 10px; font-size: 14px; color: var(--uap-mute); }
@media (max-width: 860px) { .uap-brandform fieldset { grid-template-columns: minmax(0, 1fr); } .uap-brandbar > small:not(.uap-poweredby) { text-align: left; } }
@media print { .uap-brandbar { box-shadow: none !important; background: #fff !important; } }
.uap-main > .uap-form.uap-brandform { max-width: 1180px; }

/* phone journey (Handover 31 item 11): toolbar buttons at least 40 px tall on phones */
@media (max-width: 860px) {
	.uap-shell .uap-app .uap-acts .uap-btn, .uap-shell .uap-app .uap-acts a.uap-btn { height: 40px; padding: 0 14px; }
	.uap-shell .uap-app .uap-acts .uap-link { min-height: 40px; }
}

/* ==========================================================================================================
   THE APP AS A FRAMED 3D WINDOW (Lee, 24 Nov): the normal site header stays on top (App · Tools · Pricing),
   the app sits below as a raised window with space all round, the soft colour fields showing around it,
   its own bar + menu + canvas scrolling INSIDE the window, and the site footer after it.
   transform on the window makes it the containing block for its fixed parts (phone tab bar, drawer, toasts).
   ========================================================================================================== */
html:has(body.uap-framed) { height: auto; }
body.uap-shell.uap-framed { height: auto; overflow: visible; font: 450 17px/1.6 var(--f-body, var(--uap-f)); color: var(--ink-2, #34405c); font-variant-numeric: normal; background: #f5f7fc; }
.uap-framed { --uap-pad: clamp(16px, 3.6vw, 56px); }
.uap-stage { padding: calc(var(--uap-pad) * .75) var(--uap-pad) var(--uap-pad); }
.uap-framed .uap-app { position: relative; max-width: 1640px; margin: 0 auto; overflow: hidden; transform: translateZ(0);
	height: calc(100vh - var(--hd-h, 68px) - var(--uap-pad) * 1.75); height: calc(100dvh - var(--hd-h, 68px) - var(--uap-pad) * 1.75); min-height: 560px;
	border-radius: 22px; color: var(--uap-ink); font: 500 14px/1.5 var(--uap-f); font-variant-numeric: tabular-nums; background: #f4f7fd;
	box-shadow: 0 0 0 1px rgba(14, 26, 51, .08), 0 1px 2px rgba(14, 26, 51, .06), 0 10px 24px -12px rgba(20, 40, 110, .22), 0 36px 70px -30px rgba(20, 40, 110, .38), 0 80px 140px -60px rgba(80, 60, 180, .28); }
/* the light glass edge + top highlight, drawn over everything inside the window */
.uap-framed .uap-app::after { content: ""; position: absolute; inset: 0; z-index: 60; pointer-events: none; border-radius: inherit;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 0 0 1px rgba(255, 255, 255, .55); background: linear-gradient(180deg, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, 0) 7%); }
.uap-framed .uap-app::before { position: absolute; }
.uap-framed .uap-topbar { border-radius: 22px 22px 0 0; }
.admin-bar.uap-framed .uap-app { height: calc(100dvh - var(--hd-h, 68px) - 32px - var(--uap-pad) * 1.75); }
/* the site footer sits after the window, a little apart */
.uap-framed .ua-ft { margin-top: 0; }
/* branded share links: the client sees the agency, so URSY's site header + footer go too, and the window fills the screen */
body.uap-wl.uap-framed .ua-hd, body.uap-wl.uap-framed .ua-ft, body.uap-wl.uap-framed .ua-skip { display: none !important; }
body.uap-wl.uap-framed .uap-app { height: calc(100dvh - var(--uap-pad) * 1.75); }
body.uap-wl.uap-framed .uap-stage { padding-top: var(--uap-pad); }
@media (max-width: 860px) {
	.uap-framed { --uap-pad: 12px; }
	.uap-framed .uap-app { min-height: 480px; border-radius: 18px; height: calc(100dvh - var(--hd-h, 60px) - 30px); }
	.uap-framed .uap-topbar { border-radius: 18px 18px 0 0; }
	.uap-framed .uap-rail { bottom: 8px; }
}
@media print {
	.uap-framed .ua-hd, .uap-framed .ua-ft { display: none !important; }
	.uap-framed .uap-stage { padding: 0; }
	.uap-framed .uap-app { height: auto; overflow: visible; transform: none; box-shadow: none; border-radius: 0; }
	.uap-framed .uap-app::after { display: none; }
}

/* ==========================================================================================================
   1.25 package (Design lane): window margin, launchpad, Toolbox + tool results, welcome + empty states,
   "since your last visit", Your sites, Load your data, the replay stage.
   ========================================================================================================== */
/* the window margin Lee asked for: about 1-2 cm all round on desktop */
@media (min-width: 1280px) { .uap-framed { --uap-pad: 48px; } }
@media (min-width: 1600px) { .uap-framed { --uap-pad: 64px; } }
@media (max-width: 860px) { .uap-framed { --uap-pad: 16px; } .uap-framed .uap-app { height: calc(100dvh - var(--hd-h, 60px) - 40px); } }

/* ---------- the launchpad: everything URSY does, as big glass cards ---------- */
.uap-launchpad { margin-top: 30px; }
.uap-lp-h { margin: 0 0 14px !important; font-size: 20px !important; letter-spacing: -0.02em !important; }
.uap-cards.uap-lp { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.uap-lpcard { --h: #0b4fd1; position: relative; display: grid; grid-template-rows: auto auto 1fr auto; gap: 8px; min-height: 196px; padding: 18px 18px 16px !important; border-radius: 18px !important;
	background: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--h) 12%, transparent), transparent 60%), var(--uap-sheen), var(--uap-card) !important;
	box-shadow: var(--uap-edge), 0 0 0 1px color-mix(in srgb, var(--h) 14%, transparent), 0 18px 36px -24px color-mix(in srgb, var(--h) 55%, transparent) !important; }
.uap-lpcard:nth-child(8n+2) { --h: #6d4ed8; } .uap-lpcard:nth-child(8n+3) { --h: #0f8a7e; } .uap-lpcard:nth-child(8n+4) { --h: #c2416b; }
.uap-lpcard:nth-child(8n+5) { --h: #d08a17; } .uap-lpcard:nth-child(8n+6) { --h: #2f5fd0; } .uap-lpcard:nth-child(8n+7) { --h: #2b8a3e; } .uap-lpcard:nth-child(8n+8) { --h: #8b3fd1; }
.uap-lpcard::before { content: ""; width: 42px; height: 42px; border-radius: 12px; background: var(--h);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 42 42'%3E%3Crect width='42' height='42' rx='12'/%3E%3C/svg%3E") center / 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 42 42'%3E%3Crect width='42' height='42' rx='12'/%3E%3C/svg%3E") center / 100% no-repeat;
	background-image: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .55), transparent 55%), linear-gradient(150deg, color-mix(in srgb, var(--h) 70%, #fff), var(--h)); box-shadow: 0 8px 16px -8px var(--h); }
.uap-lpcard > b { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 16px; font-weight: 750; letter-spacing: -0.01em; color: var(--uap-ink); }
.uap-lpcard > span { font-size: 13.5px !important; line-height: 1.5; color: var(--uap-ink-2) !important; }
.uap-lpcard > p { margin: 0; align-self: end; }
.uap-shell .uap-app .uap-lpcard .uap-btn--q { width: 100%; height: 38px; background: linear-gradient(180deg, color-mix(in srgb, var(--h) 82%, #fff), var(--h)) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 8px 16px -10px var(--h) !important; }
.uap-lpcard:hover { transform: translateY(-2px); }

/* ---------- Toolbox (all free tools in the app) + a tool's own screen ---------- */
.uap-main [data-tbfilter] { width: min(420px, 100%); height: 38px; padding: 0 12px 0 36px; border: 0; border-radius: 11px; font: 500 14px var(--uap-f); color: var(--uap-ink);
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='10.5' cy='10.5' r='6' fill='none' stroke='%238a94a8' stroke-width='1.8'/%3E%3Cpath d='M15 15l5 5' stroke='%238a94a8' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 11px center / 16px; box-shadow: inset 0 0 0 1px var(--uap-line-2); }
.uap-main [data-tbfilter]:focus { outline: none; box-shadow: inset 0 0 0 1px var(--uap-ac), 0 0 0 3px var(--uap-ring); }
.uap-tbcard { display: grid !important; grid-template-rows: auto 1fr auto; gap: 6px; min-height: 132px; border-radius: 14px !important; }
.uap-tbcard > b { font-size: 14.5px; }
.uap-tbcard > p { margin: 0; }
.uap-shell .uap-app .uap-tbcard .uap-btn--q { height: 32px; padding: 0 14px; font-size: 13px; }
.uap-main .uap-form[data-tbform] { max-width: 760px; padding: 18px 20px; border-radius: var(--uap-r-l); background: var(--uap-sheen), var(--uap-card); box-shadow: var(--uap-edge), var(--uap-shadow); }
.uap-main .uap-form[data-tbform] textarea { width: 100%; min-height: 140px; padding: 12px; border: 0; border-radius: 12px; font: 500 14px/1.5 var(--uap-f); color: var(--uap-ink); background: #fff; box-shadow: inset 0 0 0 1px var(--uap-line-2); resize: vertical; }
.uap-main .uap-form[data-tbform] textarea:focus { outline: none; box-shadow: inset 0 0 0 1px var(--uap-ac), 0 0 0 3px var(--uap-ring); }
.uap-tbopt { display: inline-flex; align-items: center; gap: 6px; margin: 10px 14px 0 0; font-size: 13px; font-weight: 600; color: var(--uap-ink-2); }
.uap-tbopt select { height: 32px; padding: 0 8px; border: 0; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 1px var(--uap-line-2); font: 600 13px var(--uap-f); }
.uap-tbres { margin-top: 16px; }
.uap-tbres .uap-ph h3 { overflow-wrap: anywhere; }
.uap-tbres > :not(.uap-ph) { margin-left: 16px; margin-right: 16px; }
.uap-tbres > :last-child { margin-bottom: 16px; }
.uap-wt { padding: 16px; }
.uap-wt .uap-wtframe { border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--uap-line); }
.uap-appcard { min-height: 150px; border-radius: 14px !important; }
.uap-ext .uap-ph h3 { font-size: 15px !important; }

/* ---------- welcome: a warm 3-step stepper ---------- */
.uap-welcome { padding: 22px 24px; border-radius: var(--uap-r-l); background: radial-gradient(70% 120% at 0% 0%, rgba(14, 106, 80, .1), transparent 70%), radial-gradient(60% 120% at 100% 100%, rgba(208, 138, 23, .1), transparent 70%), var(--uap-sheen), var(--uap-card); box-shadow: var(--uap-edge), var(--uap-shadow); }
.uap-wcsteps { list-style: none; margin: 18px 0 20px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; position: relative; }
.uap-wcsteps::before { content: ""; position: absolute; left: 24px; right: 24px; top: 22px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #0E6A50 var(--wc, 0%), rgba(14, 26, 51, .1) var(--wc, 0%)); }
.uap-wcsteps:has(> li:nth-child(2).is-now) { --wc: 34%; } .uap-wcsteps:has(> li:nth-child(3).is-now) { --wc: 68%; } .uap-wcsteps:has(> li:nth-child(3).is-done) { --wc: 100%; }
.uap-wcsteps > li { position: relative; display: grid; justify-items: start; gap: 10px; font-size: 14px; font-weight: 650; line-height: 1.4; color: var(--uap-mute); }
.uap-wcsteps > li::before { content: attr(data-n); position: relative; z-index: 1; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; font-size: 19px; font-weight: 800; color: var(--uap-mute); background: #fff; box-shadow: inset 0 0 0 2px rgba(14, 26, 51, .12), 0 6px 14px -8px rgba(20, 40, 110, .4); }
.uap-wcsteps > li.is-now { color: var(--uap-ink); }
.uap-wcsteps > li.is-now::before { color: #fff; background: linear-gradient(160deg, #1f9e6e, #0E6A50); box-shadow: 0 0 0 5px rgba(14, 106, 80, .16), 0 10px 20px -8px rgba(14, 106, 80, .7); }
.uap-wcsteps > li.is-done { color: #0E6A50; }
.uap-wcsteps > li.is-done::before { content: "\2713"; color: #0E6A50; background: #e3f5ec; box-shadow: inset 0 0 0 2px rgba(14, 106, 80, .35); }
.uap-wctop { margin: 0 0 14px; padding-left: 20px; display: grid; gap: 8px; font-size: 14px; color: var(--uap-ink-2); }
.uap-wctop li p { margin: 4px 0 0; padding: 7px 10px; border-radius: 9px; background: rgba(14, 26, 51, .035); font-size: 13px; }
.uap-wcstrip { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 12px; padding: 12px 14px !important; border-radius: 14px !important; background: linear-gradient(90deg, rgba(14, 106, 80, .09), rgba(11, 79, 209, .06)) !important; box-shadow: inset 0 0 0 1px rgba(14, 106, 80, .2); }
@media (max-width: 640px) { .uap-wcsteps { grid-template-columns: minmax(0, 1fr); } .uap-wcsteps::before { left: 22px; right: auto; top: 22px; bottom: 22px; width: 3px; height: auto; background: linear-gradient(180deg, #0E6A50 var(--wc, 0%), rgba(14, 26, 51, .1) var(--wc, 0%)); } .uap-wcsteps > li { grid-template-columns: auto minmax(0, 1fr); align-items: center; } }

/* ---------- empty states: a soft drawing + one clear button ---------- */
.uap-empty { display: grid; justify-items: center; gap: 4px; max-width: 520px; margin: 20px auto; padding: 26px 24px 22px; border-radius: var(--uap-r-l); text-align: center; background: var(--uap-sheen), var(--uap-card); box-shadow: var(--uap-edge), var(--uap-shadow); }
.uap-empty::before { content: ""; width: 120px; height: 90px; margin-bottom: 8px; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 90' fill='none'%3E%3Cellipse cx='60' cy='82' rx='40' ry='5' fill='%230b4fd1' fill-opacity='.08'/%3E%3Crect x='30' y='10' width='60' height='68' rx='10' fill='%23fff' stroke='%23c9d3ea' stroke-width='2'/%3E%3Crect x='40' y='24' width='30' height='5' rx='2.5' fill='%23dfe5f3'/%3E%3Crect x='40' y='36' width='40' height='5' rx='2.5' fill='%23e9edf6'/%3E%3Crect x='40' y='48' width='34' height='5' rx='2.5' fill='%23e9edf6'/%3E%3Ccircle cx='88' cy='22' r='12' fill='%236d4ed8' fill-opacity='.14'/%3E%3Cpath d='M88 15v14M81 22h14' stroke='%236d4ed8' stroke-width='2.4' stroke-linecap='round'/%3E%3Cpath d='M22 30l3 3m0-3l-3 3M100 60l3 3m0-3l-3 3' stroke='%230f8a7e' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }
.uap-empty p { margin: 0; font-size: 14px; color: var(--uap-ink-2); }
.uap-empty p b { display: block; margin-bottom: 4px; font-size: 16px; color: var(--uap-ink); }
.uap-empty p:last-child { margin-top: 12px; }

/* ---------- since your last visit ---------- */
.uap-since { margin: 0 0 16px; padding: 14px 18px; border-radius: var(--uap-r); background: var(--uap-sheen), rgba(240, 248, 245, .88); box-shadow: var(--uap-edge), 0 0 0 1px rgba(14, 106, 80, .16), var(--uap-shadow); }
.uap-since h2 { margin: 0 0 8px !important; font-size: 15px !important; }
.uap-sincelist { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 13.5px; color: var(--uap-ink-2); }
.uap-sincelist li { padding: 7px 10px; border-radius: 9px; background: rgba(255, 255, 255, .8); box-shadow: inset 0 0 0 1px var(--uap-line); }

/* ---------- Analytics doors, Your sites, the install sheet, the day table ---------- */
.uap-sidoor { padding-bottom: 14px; background: radial-gradient(70% 120% at 100% 0%, rgba(15, 138, 126, .1), transparent 70%), var(--uap-sheen), var(--uap-card) !important; }
.uap-sidoor > p { margin-left: 16px; margin-right: 16px; font-size: 13.5px; color: var(--uap-ink-2); }
.uap-site-c { margin-bottom: 12px; }
.uap-site-c .uap-ph { flex-wrap: wrap; }
.uap-site-c .uap-ph h3 small { font-weight: 600; color: var(--uap-mute); }
.uap-site-c > p, .uap-site-c > div, .uap-site-c > details, .uap-site-c > section, .uap-site-c > table, .uap-site-c > dl { margin-left: 16px !important; margin-right: 16px !important; }
.uap-site-c > :last-child { margin-bottom: 14px !important; }
.uap-site-c details { margin-top: 8px; border-radius: 10px; background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1px var(--uap-line); }
.uap-site-c details > summary { padding: 9px 12px; cursor: pointer; font-weight: 650; font-size: 13.5px; }
.uap-site-c details[open] > summary { border-bottom: 1px solid var(--uap-line); }
.uap-site-c details > :not(summary) { margin: 10px 12px; }
.uap-code { margin: 8px 0; padding: 12px 14px; border-radius: 10px; overflow-x: auto; font: 500 12.5px/1.55 ui-monospace, "Fira Code", Consolas, monospace; color: #e8edf8; background: linear-gradient(180deg, #1b2440, #121a31); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 10px 20px -14px rgba(14, 26, 51, .6); white-space: pre-wrap; word-break: break-all; }
.uap-sidays td { vertical-align: middle; font-variant-numeric: tabular-nums; }
.uap-sibar { border-radius: 99px !important; box-shadow: 0 0 0 1px rgba(255, 255, 255, .6) inset; }

/* ---------- Load your data: the drop zone + the hours chart ---------- */
.uap-drop { display: grid; justify-items: center; gap: 6px; padding: 26px 20px !important; text-align: center; border-radius: var(--uap-r-l) !important; background: var(--uap-sheen), rgba(244, 248, 255, .9) !important;
	box-shadow: var(--uap-edge), var(--uap-shadow) !important; outline: 2px dashed rgba(11, 79, 209, .28); outline-offset: -10px; transition: outline-color .18s, background .18s; }
.uap-drop::before { content: ""; width: 44px; height: 44px; background: no-repeat center / 44px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b4fd1' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 15V4M7.5 8.5L12 4l4.5 4.5'/%3E%3Cpath d='M4 14v4.5A1.5 1.5 0 0 0 5.5 20h13a1.5 1.5 0 0 0 1.5-1.5V14'/%3E%3C/svg%3E"); }
.uap-drop:hover, .uap-drop.is-over, .uap-drop[data-over] { outline-color: var(--uap-ac); background: var(--uap-sheen), rgba(232, 240, 255, .95) !important; }
.uap-drop p { margin: 0 !important; }
.uap-hours { padding: 12px 10px 4px; border-radius: 12px; background: rgba(255, 255, 255, .75); box-shadow: inset 0 0 0 1px var(--uap-line); }
.uap-hours > div { border-radius: 4px 4px 0 0; overflow: hidden; }
.uap-hours > div:hover { filter: brightness(1.08) saturate(1.1); }

/* ---------- the replay: a glass stage, pill speeds, a calm scrubber, a legend with counts ---------- */
.uap-rpbox { background: radial-gradient(80% 120% at 0% 0%, rgba(109, 78, 216, .08), transparent 70%), var(--uap-sheen), var(--uap-card) !important; }
.uap-rp { display: grid; gap: 10px; }
.uap-rp-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.uap-shell .uap-app .uap-rp-bar .uap-btn { height: 30px; padding: 0 11px; border-radius: 99px; font-size: 12.5px; }
.uap-shell .uap-app .uap-rp-bar [data-rp="play"] { min-width: 78px; color: #fff; background: linear-gradient(180deg, #8b6cf0, #6d4ed8); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 8px 16px -10px rgba(109, 78, 216, .9); }
.uap-shell .uap-app .uap-rp-bar .uap-btn--on { color: #5a3cc4 !important; background: rgba(109, 78, 216, .12) !important; box-shadow: inset 0 0 0 1px rgba(109, 78, 216, .35) !important; }
.uap-rp-clock { margin-left: auto; padding: 4px 10px; border-radius: 99px; font: 700 12.5px ui-monospace, "Fira Code", Consolas, monospace; color: var(--uap-ink); background: rgba(255, 255, 255, .85); box-shadow: inset 0 0 0 1px var(--uap-line); font-variant-numeric: tabular-nums; }
.uap-rp-scrub { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; cursor: pointer; }
.uap-rp-scrub::-webkit-slider-runnable-track { height: 6px; border-radius: 99px; background: linear-gradient(90deg, #6d4ed8, #0b4fd1 55%, #0f8a7e); opacity: .35; }
.uap-rp-scrub::-moz-range-track { height: 6px; border-radius: 99px; background: linear-gradient(90deg, #6d4ed8, #0b4fd1 55%, #0f8a7e); opacity: .35; }
.uap-rp-scrub::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -6px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px #6d4ed8, 0 4px 10px -2px rgba(109, 78, 216, .6); }
.uap-rp-scrub::-moz-range-thumb { width: 18px; height: 18px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px #6d4ed8, 0 4px 10px -2px rgba(109, 78, 216, .6); }
.uap-rp-scrub:focus-visible { outline: 2px solid var(--uap-ac); outline-offset: 2px; border-radius: 8px; }
.uap-rp-cv { display: block; width: 100%; border-radius: 16px;
	background: radial-gradient(60% 70% at 20% 20%, rgba(109, 78, 216, .1), transparent 70%), radial-gradient(60% 70% at 85% 80%, rgba(15, 138, 126, .1), transparent 70%), linear-gradient(180deg, #fbfcff, #f1f4fb);
	box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgba(14, 26, 51, .07), inset 0 -30px 60px -40px rgba(11, 79, 209, .25), 0 18px 36px -26px rgba(20, 40, 110, .45); }
.uap-rp-f { display: flex; flex-wrap: wrap; gap: 6px; }
.uap-rp-f label { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; border-radius: 99px; font-size: 12.5px; font-weight: 650; color: var(--uap-ink-2); background: rgba(255, 255, 255, .85); box-shadow: inset 0 0 0 1px var(--uap-line); cursor: pointer; }
.uap-rp-f label:has(input:not(:checked)) { opacity: .5; }
.uap-rp-f label b { min-width: 22px; padding: 0 6px; border-radius: 99px; text-align: center; font-size: 11.5px; color: var(--uap-ink); background: rgba(14, 26, 51, .06); font-variant-numeric: tabular-nums; }
.uap-rp-f input[type="checkbox"] { accent-color: #6d4ed8; }
.uap-rp-f select { height: 26px; border: 0; border-radius: 99px; padding: 0 8px; font: 600 12.5px var(--uap-f); background: rgba(14, 26, 51, .05); }
@media (max-width: 860px) { .uap-rp-clock { margin-left: 0; } .uap-rp-f label { height: 38px; } .uap-cards.uap-lp { grid-template-columns: minmax(0, 1fr); } .uap-lpcard { min-height: 0; } }
@media (prefers-reduced-motion: reduce) { .uap-drop, .uap-lpcard { transition: none; } .uap-lpcard:hover { transform: none; } }
/* the "New to this?" line under What the audit checks (a content link to the wiki) */
.uap-what-more { margin: 16px 0 0; padding: 12px 16px; border-radius: 12px; font-size: 14px; color: var(--uap-ink-2); background: rgba(109, 78, 216, .06); box-shadow: inset 0 0 0 1px rgba(109, 78, 216, .14); }
.uap-what-more a { font-weight: 700; color: #5a3cc4 !important; text-decoration: underline !important; text-underline-offset: 3px; }
