/* Recurnix client side - direction C "Friendly host" (owner, 24 Oct 2026; docs/ux, board UX3, UX5).
   Warm and roomy, in the HOST's brand colour: --brand, --brand-deep, --brand-hover, --brand-soft and
   --on-brand are set per install by App\Support\BrandColour (Settings > Branding), for both themes;
   the values here are the default. Fonts are self-hosted (OFL, licences in /fonts/licenses).

   Two themes from one set of tokens (24 Oct 2026, board UX5): every colour below the token blocks is
   a var(), so the dark theme is the token blocks alone. Dark applies when the device asks for it and
   the person did not choose light, or when they chose dark (<html data-theme>, App\Support\ClientTheme).
   ClientSideDarkThemeTest holds it: no colour literal outside the token blocks, every token in both,
   text at 4.5:1 in both. */
@font-face{font-family:'Bricolage Grotesque';src:url('/fonts/bricolage-grotesque-latin-wght-normal.woff2') format('woff2');font-weight:200 800;font-display:swap}
@font-face{font-family:'Figtree';src:url('/fonts/figtree-latin-wght-normal.woff2') format('woff2');font-weight:300 900;font-display:swap}

/* ===== Tokens: light ===== */
:root{
  color-scheme:light;
  --bg:#fbf6ee;--surface:#ffffff;--surface-2:#f4ead9;--border:#eadfce;--border-strong:#d9c8b1;--field-border:#8a7563;
  --field-bg:#fffaf3;--field-focus:#ffffff;--thead:#fffaf3;
  --ink:#2a1d14;--text:#3d2e22;--muted:#6b5646;
  --brand:#c2372f;--brand-deep:#c2372f;--brand-hover:#a62b24;--brand-soft:#fbe9e7;--on-brand:#ffffff;
  --sun:#ffd166;--on-sun:#2a1d14;
  --ok:#276b2a;--ok-soft:#e3f2df;--ok-line:#a7d7a0;
  --bad:#a3231b;--bad-soft:#fde8e6;--bad-line:#f3b8b2;
  --warn:#7a4f00;--warn-soft:#fdf0cf;--warn-line:#f1d38a;
  --info:#1e40af;--info-soft:#dbeafe;--info-line:#bcd3fb;
  --n:#4d3d31;--n-soft:#efe6d8;
  --tile-3:#e6e9fb;--qr-bg:#ffffff;--logo-plate:#ffffff;--logo-pad:0;
  --shadow:42 29 20;
  --radius:18px;--radius-lg:24px;--radius-ctl:10px;--radius-btn:999px;--type-scale:100%;
  --font-d:'Bricolage Grotesque',ui-sans-serif,system-ui,sans-serif;
  --font-t:'Figtree',ui-sans-serif,system-ui,sans-serif;
  --font-m:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
}
/* ===== Tokens: dark - the device asks for it (and no light choice), or the person chose it.
   The two blocks are the same set; BrandColour::darkTokens gives the brand's dark values. ===== */
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){
  color-scheme:dark;
  --bg:#16110d;--surface:#201914;--surface-2:#2b221b;--border:#3a2f26;--border-strong:#4d3f33;--field-border:#8f7a66;
  --field-bg:#1b1511;--field-focus:#241c16;--thead:#1d1712;
  --ink:#f7efe5;--text:#e8dccd;--muted:#bba893;
  --brand:#c2372f;--brand-deep:#d26c66;--brand-hover:#d8817b;--brand-soft:#44201a;--on-brand:#16110d;
  --sun:#f2c14e;--on-sun:#1f1608;
  --ok:#93d49a;--ok-soft:#1c3220;--ok-line:#2f5a35;
  --bad:#ffaea5;--bad-soft:#3f1a16;--bad-line:#6b2a24;
  --warn:#f3c978;--warn-soft:#3a2b0e;--warn-line:#5e4716;
  --info:#a8c3ff;--info-soft:#1b2742;--info-line:#2f4170;
  --n:#dccdbc;--n-soft:#33291f;
  --tile-3:#262a45;--qr-bg:#ffffff;--logo-plate:#ffffff;--logo-pad:4px 8px;
  --shadow:0 0 0;
}}
/* ===== Looks (29 Oct 2026, board G26 row 486): Settings > Branding offers two more besides Friendly
   host, each a token set only - its colours in light and dark, its fonts, radius and type scale - on
   <html data-look> (App\Support\ClientLook). The brand colour stays the host's (BrandColour works it
   out on the look's own page colours). ClientLooksTest holds each look to the default's rules. ===== */
:root[data-look="crisp"]{
  color-scheme:light;
  --bg:#f5f7fa;--surface:#ffffff;--surface-2:#eef2f7;--border:#e2e8f0;--border-strong:#cbd5e1;--field-border:#64748b;
  --field-bg:#ffffff;--field-focus:#ffffff;--thead:#f8fafc;
  --ink:#0f172a;--text:#1e293b;--muted:#475569;
  --sun:#fde68a;--on-sun:#1c1917;
  --ok:#166534;--ok-soft:#dcfce7;--ok-line:#86efac;
  --bad:#b91c1c;--bad-soft:#fee2e2;--bad-line:#fca5a5;
  --warn:#854d0e;--warn-soft:#fef9c3;--warn-line:#fde047;
  --info:#1d4ed8;--info-soft:#dbeafe;--info-line:#bfdbfe;
  --n:#334155;--n-soft:#e2e8f0;
  --tile-3:#e0e7ff;--qr-bg:#ffffff;--logo-plate:#ffffff;--logo-pad:0;
  --shadow:15 23 42;
  --radius:10px;--radius-lg:14px;--radius-ctl:8px;--radius-btn:8px;--type-scale:93.75%;
  --font-d:'Figtree',ui-sans-serif,system-ui,sans-serif;
}
@media (prefers-color-scheme:dark){:root[data-look="crisp"]:not([data-theme="light"]){
  color-scheme:dark;
  --bg:#0b1120;--surface:#111827;--surface-2:#1e293b;--border:#1f2a3c;--border-strong:#334155;--field-border:#7c8aa0;
  --field-bg:#0f172a;--field-focus:#111827;--thead:#0f172a;
  --ink:#f1f5f9;--text:#e2e8f0;--muted:#94a3b8;
  --sun:#fcd34d;--on-sun:#1c1917;
  --ok:#86efac;--ok-soft:#052e16;--ok-line:#166534;
  --bad:#fca5a5;--bad-soft:#450a0a;--bad-line:#7f1d1d;
  --warn:#fde047;--warn-soft:#422006;--warn-line:#713f12;
  --info:#93c5fd;--info-soft:#172554;--info-line:#1e3a8a;
  --n:#cbd5e1;--n-soft:#1e293b;
  --tile-3:#1e1b4b;--qr-bg:#ffffff;--logo-plate:#ffffff;--logo-pad:4px 8px;
  --shadow:0 0 0;
}}
:root[data-look="crisp"][data-theme="dark"]{
  color-scheme:dark;
  --bg:#0b1120;--surface:#111827;--surface-2:#1e293b;--border:#1f2a3c;--border-strong:#334155;--field-border:#7c8aa0;
  --field-bg:#0f172a;--field-focus:#111827;--thead:#0f172a;
  --ink:#f1f5f9;--text:#e2e8f0;--muted:#94a3b8;
  --sun:#fcd34d;--on-sun:#1c1917;
  --ok:#86efac;--ok-soft:#052e16;--ok-line:#166534;
  --bad:#fca5a5;--bad-soft:#450a0a;--bad-line:#7f1d1d;
  --warn:#fde047;--warn-soft:#422006;--warn-line:#713f12;
  --info:#93c5fd;--info-soft:#172554;--info-line:#1e3a8a;
  --n:#cbd5e1;--n-soft:#1e293b;
  --tile-3:#1e1b4b;--qr-bg:#ffffff;--logo-plate:#ffffff;--logo-pad:4px 8px;
  --shadow:0 0 0;
}
:root[data-look="classic"]{
  color-scheme:light;
  --bg:#fbfaf7;--surface:#ffffff;--surface-2:#f3f1ec;--border:#e7e3da;--border-strong:#d4cfc3;--field-border:#6f6a5f;
  --field-bg:#ffffff;--field-focus:#ffffff;--thead:#f8f7f3;
  --ink:#1b1a17;--text:#2d2b27;--muted:#5b574f;
  --sun:#f4d58d;--on-sun:#1b1a17;
  --ok:#1f6b3a;--ok-soft:#e3f1e7;--ok-line:#a9d3b6;
  --bad:#9b1c1c;--bad-soft:#f9e3e3;--bad-line:#e8b4b4;
  --warn:#7a4b00;--warn-soft:#fbefd5;--warn-line:#ecd08f;
  --info:#1e3a8a;--info-soft:#e1e8f7;--info-line:#b9c8ec;
  --n:#3f3c36;--n-soft:#ece9e2;
  --tile-3:#e4e7f2;--qr-bg:#ffffff;--logo-plate:#ffffff;--logo-pad:0;
  --shadow:27 26 23;
  --radius:4px;--radius-lg:6px;--radius-ctl:3px;--radius-btn:4px;--type-scale:106.25%;
  --font-d:'Iowan Old Style','Palatino Linotype',Palatino,Georgia,'Times New Roman',serif;
}
@media (prefers-color-scheme:dark){:root[data-look="classic"]:not([data-theme="light"]){
  color-scheme:dark;
  --bg:#12110f;--surface:#1b1a17;--surface-2:#26241f;--border:#34312b;--border-strong:#46423a;--field-border:#8c867a;
  --field-bg:#161512;--field-focus:#1b1a17;--thead:#171613;
  --ink:#f5f3ee;--text:#e7e3da;--muted:#b3ad9f;
  --sun:#e9c46a;--on-sun:#1b1a17;
  --ok:#9fd8ae;--ok-soft:#13291a;--ok-line:#2e5a3b;
  --bad:#f2a7a7;--bad-soft:#3a1414;--bad-line:#6b2626;
  --warn:#f0c674;--warn-soft:#33260b;--warn-line:#5c4614;
  --info:#a9bff2;--info-soft:#172038;--info-line:#2b3d6b;
  --n:#d8d3c8;--n-soft:#2c2a25;
  --tile-3:#22263a;--qr-bg:#ffffff;--logo-plate:#ffffff;--logo-pad:4px 8px;
  --shadow:0 0 0;
}}
:root[data-look="classic"][data-theme="dark"]{
  color-scheme:dark;
  --bg:#12110f;--surface:#1b1a17;--surface-2:#26241f;--border:#34312b;--border-strong:#46423a;--field-border:#8c867a;
  --field-bg:#161512;--field-focus:#1b1a17;--thead:#171613;
  --ink:#f5f3ee;--text:#e7e3da;--muted:#b3ad9f;
  --sun:#e9c46a;--on-sun:#1b1a17;
  --ok:#9fd8ae;--ok-soft:#13291a;--ok-line:#2e5a3b;
  --bad:#f2a7a7;--bad-soft:#3a1414;--bad-line:#6b2626;
  --warn:#f0c674;--warn-soft:#33260b;--warn-line:#5c4614;
  --info:#a9bff2;--info-soft:#172038;--info-line:#2b3d6b;
  --n:#d8d3c8;--n-soft:#2c2a25;
  --tile-3:#22263a;--qr-bg:#ffffff;--logo-plate:#ffffff;--logo-pad:4px 8px;
  --shadow:0 0 0;
}
:root[data-theme="dark"]{
  color-scheme:dark;
  --bg:#16110d;--surface:#201914;--surface-2:#2b221b;--border:#3a2f26;--border-strong:#4d3f33;--field-border:#8f7a66;
  --field-bg:#1b1511;--field-focus:#241c16;--thead:#1d1712;
  --ink:#f7efe5;--text:#e8dccd;--muted:#bba893;
  --brand:#c2372f;--brand-deep:#d26c66;--brand-hover:#d8817b;--brand-soft:#44201a;--on-brand:#16110d;
  --sun:#f2c14e;--on-sun:#1f1608;
  --ok:#93d49a;--ok-soft:#1c3220;--ok-line:#2f5a35;
  --bad:#ffaea5;--bad-soft:#3f1a16;--bad-line:#6b2a24;
  --warn:#f3c978;--warn-soft:#3a2b0e;--warn-line:#5e4716;
  --info:#a8c3ff;--info-soft:#1b2742;--info-line:#2f4170;
  --n:#dccdbc;--n-soft:#33291f;
  --tile-3:#262a45;--qr-bg:#ffffff;--logo-plate:#ffffff;--logo-pad:4px 8px;
  --shadow:0 0 0;
}
/* ===== End of tokens ===== */

/* The look's type scale (G26 row 486): every size is in rem, so text and spacing follow it together. */
/* ===== ONE SCALE for the client side's blocks, controls and fields (14 Nov 2026, S22-UISCALE)
   The owner sent the domain registration page: "Registration period", its dropdown, the sentence
   under it and both buttons sat hard against the edges of a rounded panel. Measured at 1280px:
   .p-panel computes padding 0 with a radius of 18px, while .p-product on the same site computes
   24px 25.6px - the client area contradicting itself. The cart's six selects were bare native
   dropdowns, and the client side carried thirty-odd paddings over blocks of the same kind.

   This is the client side's OWN scale, not the admin's: direction C is warmer, rounder and bigger
   in type, so its buttons are pills at 44px and its cards are roomier. Tests\Unit\ControlScaleTest
   enumerates this stylesheet, holds every class to its tier and carries the named exceptions.
   Sizes only, so these tokens have no dark value and no per-look value - a look may still move
   --radius and --type-scale under them, which is the point. */
:root{
  /* Blocks */
  --p-pad-hero:2rem 2.2rem;      /* a full-width banner */
  --p-pad-hero-sm:1.5rem 1.25rem;/* the same banner at a phone's width */
  --p-pad-feature:1.5rem 1.6rem; /* the page's subject, or something to choose from */
  --p-pad-card:1.3rem 1.4rem;    /* the house card - and a panel's gutter, see .p-panel */
  --p-pad-inset:.85rem 1rem;     /* a block inside a card: a row, a notice, a code sample */
  --p-pad-list:.35rem;           /* a box that only frames a list of rows */
  --p-gutter:1.4rem;             /* the side gutter every section of a panel lines up on */
  --p-gutter-y:1.3rem;
  --p-r-hero:28px;              /* a banner is the roundest thing on the page */
  --p-r-hero-sm:22px;
  --p-r-inset:12px;
  /* Controls: pills, because direction C is round. One height each. */
  --p-ctl-h:44px;                /* the primary button - and a field, so the two line up */
  --p-ctl-pad:.7rem 1.4rem;
  --p-ctl-fs:.95rem;
  --p-ctl-w:600;
  --p-ctl-sm-h:40px;             /* a quieter button, a tab, a nav row */
  --p-ctl-sm-pad:.5rem 1.1rem;
  --p-ctl-sm-fs:.875rem;
  --p-ctl-sm-w:600;
  --p-nav-w:550;
  --p-nav-pad:.5rem .7rem;
  /* Fields: an input, a textarea, a select. The primary button's height. */
  --p-fld-pad:.7rem .9rem;
  /* The right inset is a VALUE OF ITS OWN (17 Nov 2026, board S27-SELPAD). It was only ever
     inside the shorthand, and the dropdown button then asked for it as `padding-right:var(...)`
     - a longhand cannot take four values, so after substitution the declaration was invalid at
     computed-value time and fell back to the INITIAL value, 0. Every dropdown in the client area
     drew its chevron on the border for weeks. The shorthand is built FROM this, so the two can
     never disagree, and StylesheetTokensFitTheirPropertyTest refuses the old shape outright. */
  --p-fld-pad-select-r:2.3rem;
  --p-fld-pad-select:.7rem var(--p-fld-pad-select-r) .7rem .9rem; /* room on the right for our own chevron */
  --p-fld-max:26rem;             /* a field people type a few words into stops growing */
  --p-tick-gap:.75rem;           /* a tick, a radio or a switch, and the words that belong to it */
  /* THE FLOOR UNDER EVERYTHING A POINTER AIMS AT (14 Nov 2026, board S22-TAPFLOOR). A control drawn
     as a box takes --p-ctl-h or --p-ctl-sm-h - 40px at the smallest. A control drawn as a glyph (the
     cross on a chip) is smaller by design, but never smaller than this: WCAG 2.5.8 Target Size
     (Minimum), AA since WCAG 2.2, is 24x24 CSS pixels. */
  --p-tap-min:24px;
}
html{font-size:var(--type-scale)}
*,*::before,*::after{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font-t);font-size:1rem;line-height:1.6;-webkit-font-smoothing:antialiased}
h1,h2{font-family:var(--font-d);font-weight:600;color:var(--ink);letter-spacing:-.02em;margin:0}
a{color:var(--brand-deep);text-decoration:none}
.brand{display:flex;align-items:center;gap:.6rem}
/* The header's brand gives way before the buttons beside it do: a long company name ends in an
   ellipsis and a wide logo scales down, instead of pushing "Get started" or the account menu off a
   phone's screen (UX5 review: 9px too wide at 360px with "Recurnix", far more with a longer name or
   a 220px logo). */
.p-top-inner > .brand{min-width:0;flex:0 1 auto}
.p-top-inner > .brand .brand-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.p-top-inner > .brand .brand-logo{max-width:calc(100% - 16px)!important;min-width:0;object-position:left center}
.p-top-inner > .p-user{flex:none}
.brand-mark{display:inline-flex;border-radius:8px;box-shadow:0 1px 3px rgb(var(--shadow) / .15)}
.brand-name{font-family:var(--font-d);font-weight:600;font-size:1.2rem;color:var(--ink)}
/* Two logos since 16 Nov 2026 (board S26-LOGO): one for light grounds, one for dark, and CSS picks.
   Until then there was one, on a white plate in every theme - which is what the owner reported as
   "the system removed its transparency and put a white BG". It had not: the PNG was untouched RGBA,
   and --logo-plate was painting the box. The plate survives ONLY under .brand-logo-only on a dark
   ground, because an install with a single dark-inked logo and no dark variant still needs it. */
.brand-logo{display:block;box-sizing:content-box}
/* The plate, now ONLY under a lone logo on a dark ground - see the note above the file's
   --logo-plate tokens and board S26-LOGO. */
:root[data-theme="dark"] .brand-logo-only{background:var(--logo-plate);padding:var(--logo-pad);border-radius:8px}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]) .brand-logo-only{background:var(--logo-plate);padding:var(--logo-pad);border-radius:8px}
}
/* Two logos: light ground shows the light one. */
.brand-logo-dark{display:none}
:root[data-theme="dark"] .brand-logo-light{display:none}
:root[data-theme="dark"] .brand-logo-dark{display:block}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]) .brand-logo-light{display:none}
  :root:not([data-theme="light"]) .brand-logo-dark{display:block}
}
/* A lone dark-ground logo is the only image there is, so it shows on both. */
.brand-logo-dark.brand-logo-only{display:block}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:var(--p-ctl-h);background:var(--brand-deep);color:var(--on-brand);font-weight:var(--p-ctl-w);font-size:var(--p-ctl-fs);border:0;border-radius:var(--radius-btn);padding:var(--p-ctl-pad);cursor:pointer;transition:transform .15s,box-shadow .15s,background .15s;box-shadow:0 4px 14px color-mix(in srgb,var(--brand) 28%,transparent)}
.btn:hover{transform:translateY(-1px);background:var(--brand-hover);box-shadow:0 8px 22px color-mix(in srgb,var(--brand) 34%,transparent)}
.btn:disabled{opacity:.5;cursor:not-allowed;transform:none;box-shadow:none}
.btn-block{width:100%}
.p-link{color:var(--brand-deep);font-weight:600;font-size:.85rem}
.p-link:hover{text-decoration:underline}
.p-back{display:inline-block;color:var(--muted);font-size:.85rem;font-weight:600;margin-bottom:.4rem}
.p-back:hover{color:var(--ink)}
.p-ta-right{text-align:right}
:focus-visible{outline:3px solid color-mix(in srgb,var(--brand) 55%,transparent);outline-offset:2px}

/* ===== Auth ===== */
/* Public pages with a card - contact, knowledge base, client sign-in - sit inside the site's
   header and footer (owner, 15 Oct 2026: they were a bare card). The column may shrink below the
   card's width: the old centred grid used an auto column that could not, so on a 390px phone the
   card overflowed by 24px and every such page scrolled sideways. */
body.public-page .portal{min-height:100vh;display:flex;flex-direction:column}
/* A short page keeps its footer at the bottom of the screen, not half-way up it. */
body.public-page .portal > main{flex:1}
.p-public-main{flex:1;display:grid;grid-template-columns:minmax(0,1fr);justify-items:center;align-content:start;padding:2.5rem 1rem 3.5rem;background:var(--bg)}
.auth-wrap{width:100%;max-width:26rem;padding:1.5rem}
.p-public-main .auth-wrap{padding:0}
/* The wide cards asked for 560px / 860px inside a 26rem wrapper, so they were never wide. */
.auth-wrap:has(> .auth-card-wide){max-width:560px}
.auth-wrap:has(> .auth-card-xwide){max-width:860px}
@media (max-width:520px){.auth-card{padding:1.6rem 1.25rem}}
/* Visitor errors inside the site frame (errors/framed). */
.p-error-code{margin:0 0 .35rem;color:var(--muted);font-size:.8rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase}
.p-error-actions{display:flex;flex-wrap:wrap;gap:.6rem;margin:1.4rem 0 1.2rem}
a.p-btn-ghost{display:inline-flex;align-items:center;text-decoration:none}
.p-error-ref{margin:0;color:var(--muted);font-size:.82rem}
.auth-card{background:var(--surface);border:1.5px solid var(--border);border-radius:var(--radius-lg);padding:var(--p-pad-hero);box-shadow:0 20px 60px rgb(var(--shadow) / .1)}
.auth-brand{display:flex;align-items:center;gap:.6rem;margin-bottom:1.4rem}
.auth-title{font-size:1.6rem;font-weight:600}
.auth-sub{color:var(--muted);margin:.25rem 0 1.4rem;font-size:.95rem}
.auth-error{background:var(--bad-soft);border:1px solid var(--bad-line);color:var(--bad);font-size:.88rem;font-weight:600;padding:var(--p-pad-inset);border-radius:var(--p-r-inset);margin-bottom:1rem}
.field{margin-bottom:1rem}
.field label{display:block;font-size:.85rem;font-weight:600;color:var(--ink);margin-bottom:.4rem}
.field input,.field select{width:100%;background-color:var(--field-bg);border:1.5px solid var(--field-border);border-radius:var(--radius-ctl);padding:var(--p-fld-pad);font-size:var(--p-ctl-fs);font-family:var(--font-t);color:var(--ink);min-height:var(--p-ctl-h)}
.field input:focus,.field select:focus{outline:none;border-color:var(--brand);background-color:var(--field-focus)}

/* ===== HOW WIDE A CLIENT-SIDE FIELD IS (17 Nov 2026, board S26-PORTALWIDTH) ==============
   `.field input,.field select` set width:100% and no maximum, so on the Profile page EIGHT
   fields stood at 682px - the password box as wide as the column - among seven different
   widths on one page. The same fault the admin had, found the same way: by measuring a real
   page rather than reading the stylesheet.
   --p-fld-max has been declared since the client scale was written and used exactly once.
   A control sized for its CONTENT is excluded here rather than re-widened afterwards, because
   :is() takes the specificity of its most specific argument and the cap would otherwise win
   (CLAUDE.md rule 47). And .rx-sel is the DROPDOWN WRAPPER rx-select.js builds, which carries
   the select's classes and not its element name - a rule naming `select` cannot reach it
   (rule 45). The domain search is .h-search, not .field, and keeps its full width. */
.field input:not(:is([type=checkbox],[type=radio],[type=file],[type=number],[type=time],[type=date],[type=color],[type=range])),
.field select:not([multiple]),
.field .rx-sel:not(:has(select[multiple])){max-width:var(--p-fld-max)}
.field input:is([type=number],[type=time],[type=date]){max-width:11rem}
.field input[type=color]{max-width:3.5rem}
.field textarea,.field select[multiple]{max-width:none;width:100%}
.field input[type="checkbox"],.field input[type="radio"]{width:auto}
.auth-form .field select{width:100%;background-color:var(--field-bg);border:1.5px solid var(--field-border);border-radius:var(--radius-ctl);padding:var(--p-fld-pad);font-size:var(--p-ctl-fs);font-family:var(--font-t);color:var(--ink);min-height:var(--p-ctl-h)}
.auth-form .field select:focus{outline:none;border-color:var(--brand);background-color:var(--field-focus)}
.p-optional{font-weight:400;color:var(--muted)}
.remember{display:flex;align-items:center;gap:var(--p-tick-gap);font-size:.88rem;color:var(--muted);margin:.2rem 0 1.2rem}
.auth-foot{text-align:center;color:var(--muted);font-size:.8rem;margin:1.3rem 0 0}
/* Social sign-in (24 Oct 2026, G24): "or", then one button per provider the host switched on. */
.auth-or{display:flex;align-items:center;gap:.75rem;margin:1.2rem 0 .9rem;color:var(--muted);font-size:.8rem}
.auth-or::before,.auth-or::after{content:"";flex:1;border-top:1px solid var(--border)}
.auth-social{display:flex;flex-direction:column;gap:.55rem}
.auth-social-btn{justify-content:center;width:100%}
/* OpenID Connect consent (24 Oct 2026, G24): what the app will see. */
.auth-scopes{margin:.4rem 0 1rem;padding-left:1.2rem;color:var(--text);line-height:1.7}
.auth-form .auth-social-btn{margin-top:.6rem}
.p-signin-panel{margin-top:1rem}
.p-signin-list{list-style:none;margin:0;padding:0}
.p-signin-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;padding:.75rem 0;border-top:1px solid var(--border)}
.p-signin-row:first-child{border-top:0}
.auth-note{background:var(--ok-soft);border:1px solid var(--ok-line);color:var(--ok);font-size:.88rem;font-weight:600;padding:var(--p-pad-inset);border-radius:var(--p-r-inset);margin-bottom:1rem}
.auth-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:.2rem 0 1.2rem}
.auth-row .remember{margin:0}
.field-row{display:grid;grid-template-columns:1fr 1fr;gap:.9rem}
@media (max-width:520px){.field-row{grid-template-columns:1fr}}
.auth-card-wide{max-width:560px}
.auth-card-xwide{max-width:860px}
.auth-form textarea{width:100%;font:inherit;background-color:var(--field-bg);border:1.5px solid var(--field-border);border-radius:var(--radius-ctl);padding:var(--p-fld-pad);color:var(--ink);resize:vertical;font-size:var(--p-ctl-fs)}
.auth-form textarea:focus{outline:none;border-color:var(--brand);background:var(--field-focus)}
/* Domain search (H3) */
.dom-search{display:flex;gap:.6rem;max-width:520px;margin:1.3rem auto 0}
.dom-search input{flex:1;background-color:var(--field-bg);border:1.5px solid var(--field-border);border-radius:var(--radius-ctl);padding:var(--p-fld-pad);font-size:var(--p-ctl-fs);color:var(--ink);min-height:var(--p-ctl-h)}
.dom-search input:focus{outline:none;border-color:var(--brand)}
.dom-results{margin-top:1.5rem;display:flex;flex-direction:column;gap:.55rem}
.dom-row{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem 1rem;padding:var(--p-pad-inset);border:1px solid var(--border);border-radius:var(--p-r-inset);background:var(--surface)}
.dom-row.is-available{border-color:var(--ok-line);background:var(--surface)}
.dom-name{font-weight:600;color:var(--ink);flex:1 1 12rem;min-width:0;overflow-wrap:anywhere}
/* TLD badges, spotlight and the pricing table (17 Oct 2026). */
.dom-badge{display:inline-block;margin-left:.4rem;padding:.05rem .4rem;border-radius:6px;font-size:.68rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;vertical-align:middle;background:var(--n-soft);color:var(--n)}
.dom-badge-hot{background:var(--bad-soft);color:var(--bad)}
.dom-badge-new{background:var(--ok-soft);color:var(--ok)}
.dom-badge-sale{background:var(--warn-soft);color:var(--warn)}
.dom-spotlight{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.8rem;margin:0 0 1.2rem}
.dom-spot{display:flex;flex-direction:column;gap:.25rem;padding:var(--p-pad-inset);border:1px solid var(--border);border-radius:var(--p-r-inset);background:var(--surface)}
.dom-spot-tld{font-weight:600;font-size:1.1rem;color:var(--ink)}
.dom-spot-logo{display:block;height:2rem;width:auto;max-width:100%;object-fit:contain;margin:0 0 .35rem}
.dom-spot-price{font-weight:600;color:var(--text)}
.dom-pricing{margin-top:.4rem;overflow-x:auto}
.dom-pricing-cat{font-size:1rem;font-weight:600;color:var(--ink);margin:.8rem 0 .4rem}
.dom-price{font-weight:600;color:var(--ink);white-space:nowrap}
.dom-cycle{font-weight:500;color:var(--muted);font-size:.8rem;margin-left:.15rem}
.dom-status{font-size:.82rem;font-weight:600}
.dom-taken{color:var(--muted)}
.dom-unknown{color:var(--warn)}
.dom-order{padding:.4rem .95rem;font-size:.85rem;min-height:38px}
.rx-domreg{display:flex;flex-direction:column;gap:1rem;max-width:460px}
.rx-domreg-note{font-size:.85rem;color:var(--muted);margin:0}
/* Wallet (I10) */
.wallet-balance{display:flex;flex-direction:column;gap:.25rem}
.wallet-label{font-size:.8rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--muted)}
.wallet-amount{font-family:var(--font-d);font-size:2.2rem;font-weight:600;color:var(--ink)}
.wallet-note{font-size:.85rem;color:var(--muted);margin:.5rem 0 0}
.wallet-plus{font-weight:600;color:var(--ok)}
.wallet-minus{font-weight:600;color:var(--warn)}
.wallet-add{max-width:26rem}
.wallet-add .field input[aria-invalid="true"]{border-color:var(--bad)}
.wallet-err{color:var(--bad);font-size:.85rem;font-weight:600;margin-top:.35rem}
.wallet-rule{font-size:.82rem;margin-top:.35rem}
.p-statement-filter{display:flex;flex-wrap:wrap;align-items:flex-end;gap:.6rem 1rem;margin:0 0 1.2rem}
/* Inside a panel it takes the panel's own padding (browser pass 24 Oct 2026, S18-B12: flush with the border). */
.p-panel > .p-statement-filter{padding:.2rem 1.4rem 1.3rem;margin:0}
.p-statement-filter .field{margin:0;min-width:10rem}
.p-statement-filter .field input,.p-statement-filter .p-select{width:100%}
/* A button beside a field lines up with the FIELD, not with the column the field's label makes
   (17 Nov 2026, board S27-SEARCHROW). The row already said align-items:flex-end; .btn says
   align-self:flex-start so a button in a flex COLUMN does not stretch, and that won - putting
   the dashboard's Search 30px above the box it belongs to. Named here at (0,2,0) so the row's
   own intention is what applies. */
.p-statement-filter > .btn{align-self:flex-end}
.p-statement{overflow-x:auto}
.p-statement .p-table td,.p-statement .p-table th{white-space:nowrap}
.p-statement .p-table td:nth-child(2){white-space:normal;min-width:12rem}
.p-statement-edge td{font-weight:600;background:var(--thead)}
.p-epp{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem .8rem}
.p-epp-code{font-family:var(--font-m);font-size:1rem;background:var(--surface);color:var(--ink);border:1px solid var(--ok-line);border-radius:6px;padding:.15rem .5rem;user-select:all;overflow-wrap:anywhere}
.p-domain-ns{max-width:30rem}
.p-domain-buttons{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:.8rem}
.p-domain-buttons form{margin:0}
.p-tos{align-items:flex-start;margin:.2rem 0 1rem}
.p-tos input{margin-top:.2rem}
.p-inline-form{display:inline;margin:0 0 0 .6rem}
.p-payall{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.8rem 1rem;background:var(--surface);border:1.5px solid var(--border-strong);border-radius:var(--radius);padding:var(--p-pad-card);margin:0 0 1.2rem;color:var(--ink);font-weight:600}
.p-method-credit .p-method-btn{border-color:var(--ok-line);background:var(--surface)}

/* ===== Portal shell ===== */
.p-top{background:var(--surface);border-bottom:1px solid var(--border);position:sticky;top:0;z-index:10}
.p-top-inner{max-width:1120px;margin:0 auto;padding:0 1.5rem;height:64px;display:flex;align-items:center;gap:1.5rem}
.p-nav{display:flex;gap:.1rem;flex:1;align-items:center}
.p-nav-link,.p-nav-btn{display:inline-flex;align-items:center;gap:.42rem;color:var(--muted);font-weight:var(--p-nav-w);font-size:var(--p-ctl-sm-fs);line-height:1;padding:var(--p-nav-pad);border-radius:var(--radius-ctl);background:transparent;border:0;cursor:pointer;font-family:inherit;white-space:nowrap;min-height:var(--p-ctl-sm-h)}
.p-nav-link:hover,.p-nav-btn:hover{color:var(--ink);background:var(--surface-2)}
.p-nav-link.is-active,.p-nav-group.is-active>.p-nav-btn{color:var(--brand-deep);background:color-mix(in srgb,var(--brand) 8%,transparent)}
.p-nav svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}
.p-caret{width:13px !important;height:13px !important;opacity:.75;transition:transform .15s}
.p-nav-group{position:relative}
.p-nav-group.open>.p-nav-btn .p-caret,.p-avatar-group.open .p-caret{transform:rotate(180deg)}
.p-nav-menu{position:absolute;top:calc(100% + 7px);left:0;min-width:196px;background:var(--surface);border:1px solid var(--border);border-radius:var(--p-r-inset);box-shadow:0 12px 34px rgb(var(--shadow) / .13);padding:var(--p-pad-list);display:none;flex-direction:column;z-index:40}
.p-nav-group.open>.p-nav-menu{display:flex}
/* Every item of the navigation menus and of the account menu is a thing a thumb aims at, so it
   takes the small tap height like the .p-nav-link above it. Measured in Chromium before this:
   32.8px (.875rem at line-height 1.2 inside .5rem of padding), on a phone 34.9px - under the 36px
   floor the scale promises, and nothing could see it because the rule is a descendant selector
   (review of lane uiscale, 14 Nov 2026). */
.p-nav-menu a,.p-nav-menu button{display:flex;align-items:center;min-height:var(--p-ctl-sm-h);text-align:left;color:var(--text);font-size:var(--p-ctl-sm-fs);font-weight:var(--p-nav-w);line-height:1.2;padding:var(--p-nav-pad);border-radius:var(--radius-ctl);background:transparent;border:0;cursor:pointer;font-family:inherit;width:100%}
.p-nav-menu a:hover,.p-nav-menu button:hover{background:var(--surface-2);color:var(--brand-deep)}
.p-user{display:flex;align-items:center;gap:.6rem}
/* Phones: the two buttons keep their words on one line (browser pass 24 Oct 2026, S18-B11: 'Log / in'). */
.p-user a{white-space:nowrap}
@media (max-width:420px){.p-user{gap:.4rem}.p-user .h-btn{padding:.5rem .8rem}.p-user .p-logout{padding:.45rem .65rem}}
.p-avatar-btn{display:inline-flex;align-items:center;gap:.25rem;background:transparent;border:0;cursor:pointer;padding:.1rem;border-radius:999px}
.p-avatar-btn:hover{background:var(--surface-2)}
.p-avatar-btn .p-caret{width:13px;height:13px;stroke:var(--muted);fill:none;stroke-width:1.7}
.p-avatar{position:relative;overflow:hidden;width:36px;height:36px;border-radius:50%;background:var(--brand-deep);color:var(--on-brand);display:grid;place-items:center;font-weight:600;font-size:.82rem}
.p-avatar-menu{right:0;left:auto;min-width:224px}
.p-avatar-head{padding:.55rem .65rem .6rem;border-bottom:1px solid var(--border);margin-bottom:.28rem}
.p-avatar-name{font-weight:600;color:var(--ink);font-size:.92rem;line-height:1.2}
.p-avatar-email{color:var(--muted);font-size:.8rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* The account a user of it is working inside, under their own name (board S25-F3). */
.p-avatar-account{color:var(--muted);font-size:.78rem;margin-top:.2rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* Theme (24 Oct 2026, board UX5): the header switch, the account menu's three choices, the footer's. */
.p-theme-btn{display:inline-grid;place-items:center;width:var(--p-ctl-sm-h);flex:none;border-radius:999px;border:1.5px solid var(--border);background:transparent;color:var(--ink);cursor:pointer;padding:0;min-height:var(--p-ctl-sm-h)}
.p-theme-btn:hover{background:var(--surface-2)}
.p-theme-btn svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.p-theme-sun{display:none}
:root[data-theme="dark"] .p-theme-sun{display:block}
:root[data-theme="dark"] .p-theme-moon{display:none}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .p-theme-sun{display:block}:root:not([data-theme="light"]) .p-theme-moon{display:none}}
/* A 390px phone has no room beside "Log in" and "Get started": there the footer's choice serves. Nor
   has 641-720px, where the public menu's links join the header (measured in the UX5 review: 698px
   needed with the switch, so 641-697px scrolled sideways); the header's gaps narrow there too. */
@media (max-width:420px){.p-theme-public{display:none}}
@media (min-width:641px) and (max-width:720px){.p-theme-public{display:none}.p-top:not(.p-top-app) .p-top-inner{gap:1rem}}
.p-menu-label{padding:.5rem .65rem .2rem;border-top:1px solid var(--border);margin-top:.28rem;color:var(--muted);font-size:.72rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase}
.p-theme-choices{display:flex;flex-direction:column;margin:0}
.p-theme-choices button[aria-pressed="true"]{color:var(--brand-deep);font-weight:600}
.p-theme-choices button[aria-pressed="true"]::after{content:' \2713'}
.p-menu-sep{border-top:1px solid var(--border);margin-top:.28rem;padding-top:.28rem}
.p-seg{display:inline-flex;gap:.15rem;padding:.2rem;border-radius:999px;border:1px solid var(--border);background:var(--surface)}
.p-seg-btn{border:0;background:transparent;color:var(--muted);padding:var(--p-ctl-sm-pad);border-radius:var(--radius-btn);cursor:pointer;min-height:var(--p-ctl-sm-h);font-size:var(--p-ctl-sm-fs);font-weight:var(--p-ctl-sm-w)}
.p-seg-btn:hover{color:var(--ink)}
.p-seg-btn[aria-pressed="true"]{background:var(--surface-2);color:var(--ink)}
/* Staff signed in as the client (impersonation). */
.p-imp-bar{background:var(--warn-soft);border-bottom:1px solid var(--warn-line);color:var(--warn);padding:.6rem 1rem;display:flex;gap:1rem;align-items:center;justify-content:center;flex-wrap:wrap;font-size:.9rem}
.p-imp-bar form{margin:0}
.p-imp-btn{background:var(--warn);color:var(--warn-soft);border:0;border-radius:var(--radius-btn);padding:var(--p-ctl-sm-pad);cursor:pointer;min-height:var(--p-ctl-sm-h);font-size:var(--p-ctl-sm-fs);font-weight:var(--p-ctl-sm-w)}

.p-main{padding:2.2rem 0 4rem}
.p-container{max-width:1120px;margin:0 auto;padding:0 1.5rem}
@media (max-width:520px){.p-container{padding:0 1rem}.p-top-inner{padding:0 1rem}}
.p-h1{font-size:1.9rem;font-weight:600;overflow-wrap:anywhere}
@media (max-width:520px){.p-h1{font-size:1.75rem}}
.p-lead{color:var(--muted);margin:.3rem 0 1.8rem}
.p-flash{background:var(--ok-soft);border:1px solid var(--ok-line);color:var(--ok);font-weight:600;font-size:.9rem;padding:var(--p-pad-inset);border-radius:var(--p-r-inset);margin-bottom:1.4rem}
.p-flash-err{background:var(--bad-soft);border-color:var(--bad-line);color:var(--bad)}

.p-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1.1rem;margin-bottom:2rem}
.p-card{background:var(--surface);border:1.5px solid var(--border);border-radius:var(--radius);padding:var(--p-pad-card)}
.p-card.accent-rose .p-card-value{color:var(--bad)}
.p-card.accent-emerald .p-card-value{color:var(--ok)}
.p-card-label{font-size:.8rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--muted)}
.p-card-value{font-family:var(--font-d);font-size:2.1rem;font-weight:600;color:var(--ink);line-height:1.2;margin:.35rem 0 .15rem}
.p-card-foot{font-size:.82rem;color:var(--muted)}

/* overflow:auto, not hidden: on a 390px phone the invoice, service and ticket tables are 560-700px
   wide and the panel CUT OFF up to 365px of them - amounts, statuses and the action buttons
   (measured 15 Oct 2026). auto clips to the rounded corners exactly as hidden did, and scrolls. */
.p-panel{background:var(--surface);border:1.5px solid var(--border);border-radius:var(--radius);overflow:auto}
.p-panel-head{padding:var(--p-gutter-y) var(--p-gutter);border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:.8rem;flex-wrap:wrap}
.p-panel-head h2{font-size:1.1rem;font-weight:600}
.p-empty{padding:2.5rem;text-align:center;color:var(--muted)}
.p-empty-title{font-family:var(--font-d);font-weight:600;color:var(--ink);font-size:1.1rem;margin-bottom:.4rem}
.p-table{width:100%;border-collapse:collapse;font-size:.9rem}
.p-table th{text-align:left;background:var(--thead);color:var(--muted);font-size:.72rem;text-transform:uppercase;letter-spacing:.05em;padding:.6rem 1.4rem;border-bottom:1px solid var(--border)}
.p-table td{padding:.75rem 1.4rem;border-bottom:1px solid var(--border);color:var(--ink)}
/* On a phone the cells keep a narrow side padding, so a four-column table (domain prices: extension, register,
   renew, transfer) fits 390px without a sideways scroll (browser pass, 25 Oct 2026: 419px of table in 340px). */
@media (max-width:640px){.p-table th,.p-table td{padding-left:.6rem;padding-right:.6rem}}
.p-table tr:last-child td{border-bottom:0}
.p-badge{display:inline-block;font-size:.72rem;font-weight:600;padding:.2rem .55rem;border-radius:6px;text-transform:uppercase;letter-spacing:.03em;background:var(--n-soft);color:var(--n)}
.p-badge-lg{font-size:.8rem;padding:.35rem .8rem}
.p-badge-paid{background:var(--ok-soft);color:var(--ok)}
.p-badge-unpaid{background:var(--bad-soft);color:var(--bad)}
.p-badge-overdue{background:var(--warn-soft);color:var(--warn)}
.p-badge-cancelled,.p-badge-refunded,.p-badge-draft,.p-badge-collections,.p-badge-credited{background:var(--n-soft);color:var(--n)}

/* ===== Invoice detail + two-column ===== */
.p-inv-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1.6rem;flex-wrap:wrap}
.p-inv-grid{display:grid;grid-template-columns:minmax(0,1fr) 20rem;gap:1.4rem;align-items:start}
@media (max-width:860px){.p-inv-grid{grid-template-columns:minmax(0,1fr)}}
.p-inv-totals{padding:1rem 1.4rem 1.3rem;border-top:1px solid var(--border)}
.p-inv-totals > div{display:flex;justify-content:space-between;gap:1rem;font-size:.9rem;color:var(--text);padding:.28rem 0}
.p-inv-total{font-family:var(--font-d);font-weight:600;color:var(--ink)!important;font-size:1.05rem!important;border-top:1px solid var(--border);margin-top:.4rem;padding-top:.6rem!important}
.p-inv-balance{color:var(--bad)!important;font-weight:600}
.p-detail{margin:0;padding:1rem 1.4rem 1.3rem}
.p-detail > div{display:flex;justify-content:space-between;gap:1rem;padding:.35rem 0;font-size:.88rem}
.p-detail dt{color:var(--muted);margin:0}
.p-detail dd{color:var(--ink);margin:0;font-weight:600;text-align:right;overflow-wrap:anywhere}
.p-pay{margin-top:1.2rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:var(--p-pad-card);box-shadow:0 1px 2px rgb(var(--shadow) / .04)}
.p-pay-note{font-size:.78rem;color:var(--muted);text-align:center;margin:.7rem 0 0}
.p-pay-done{color:var(--ok);font-weight:600;font-size:.9rem;text-align:center}

/* ===== Profile forms ===== */
.p-form{padding:var(--p-gutter-y) var(--p-gutter)}
.p-form-row{display:grid;grid-template-columns:1fr 1fr;gap:.9rem}
@media (max-width:520px){.p-form-row{grid-template-columns:1fr}}

.p-burger{display:none;align-items:center;justify-content:center;width:var(--p-ctl-sm-h);border:0;background:transparent;border-radius:var(--radius-ctl);cursor:pointer;color:var(--ink);flex:none;padding:0;min-height:var(--p-ctl-sm-h)}
.p-burger:hover{background:var(--surface-2)}
.p-burger svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.p-burger .i-close{display:none}
.portal.nav-open .p-burger .i-open{display:none}
.portal.nav-open .p-burger .i-close{display:inline}
@media (max-width:640px){
  .p-burger{display:inline-flex}
  .p-top-inner{gap:.75rem}
  .p-user{margin-left:auto}
  .p-nav{display:none;position:absolute;top:64px;left:0;right:0;flex:none;flex-direction:column;align-items:stretch;gap:.12rem;background:var(--surface);border-bottom:1px solid var(--border);box-shadow:0 18px 34px rgb(var(--shadow) / .14);padding:.6rem .8rem 1rem;max-height:calc(100vh - 64px);overflow-y:auto;z-index:30}
  .portal.nav-open .p-nav{display:flex}
  .p-nav-link,.p-nav-btn{width:100%;justify-content:flex-start;font-size:.95rem;padding:.72rem .6rem}
  .p-nav-btn .p-caret{margin-left:auto}
  .p-nav-menu{position:static;top:auto;left:auto;min-width:0;background:transparent;border:0;border-radius:0;box-shadow:none;padding:.1rem 0 .35rem 1.95rem}
  .p-nav-menu a,.p-nav-menu button{padding:.55rem .6rem;font-size:.9rem}
  .p-avatar-menu{position:absolute;top:calc(100% + 7px);right:0;left:auto;min-width:224px;background:var(--surface);border:1px solid var(--border);border-radius:var(--p-r-inset);box-shadow:0 12px 34px rgb(var(--shadow) / .13);padding:var(--p-pad-list)}
}
/* The client area's menu (six groups by default, more when the host adds them) does not fit beside the
   theme switch and the account menu below about 1000px: from 641px to 1023px it is the drawer too, as on
   a phone. Measured in the review of UX5 wave 2 (24 Oct 2026): at 700-990px every client-area page
   scrolled sideways (994px wide), a tablet held upright included. The public header's short menu keeps
   its links there. */
@media (min-width:641px) and (max-width:1023px){
  .p-top-app .p-burger{display:inline-flex}
  .p-top-app .p-top-inner{gap:.75rem}
  .p-top-app .p-user{margin-left:auto}
  .p-top-app .p-nav{display:none;position:absolute;top:64px;left:0;right:0;flex:none;flex-direction:column;align-items:stretch;gap:.12rem;background:var(--surface);border-bottom:1px solid var(--border);box-shadow:0 18px 34px rgb(var(--shadow) / .14);padding:.6rem .8rem 1rem;max-height:calc(100vh - 64px);overflow-y:auto;z-index:30}
  .portal.nav-open .p-top-app .p-nav{display:flex}
  .p-top-app .p-nav-link,.p-top-app .p-nav-btn{width:100%;justify-content:flex-start;font-size:.95rem;padding:.72rem .6rem}
  .p-top-app .p-nav-btn .p-caret{margin-left:auto}
  .p-top-app .p-nav-menu{position:static;top:auto;left:auto;min-width:0;background:transparent;border:0;border-radius:0;box-shadow:none;padding:.1rem 0 .35rem 1.95rem}
  .p-top-app .p-nav-menu a,.p-top-app .p-nav-menu button{padding:.55rem .6rem;font-size:.9rem}
  .p-top-app .p-avatar-menu{position:absolute;top:calc(100% + 7px);right:0;left:auto;min-width:224px;background:var(--surface);border:1px solid var(--border);border-radius:var(--p-r-inset);box-shadow:0 12px 34px rgb(var(--shadow) / .13);padding:var(--p-pad-list)}
}

/* ===== Payment ===== */
.p-methods{display:grid;gap:.9rem;max-width:34rem}
.p-method{margin:0}
.p-method-btn{width:100%;display:flex;align-items:center;justify-content:space-between;gap:1rem;text-align:left;background:var(--surface);color:var(--ink);border:1.5px solid var(--border-strong);border-radius:var(--radius);padding:var(--p-pad-card);cursor:pointer;transition:border-color .15s,box-shadow .15s,transform .15s;font-family:var(--font-t)}
.p-method-btn:hover{border-color:var(--brand);box-shadow:0 8px 24px color-mix(in srgb,var(--brand) 14%,transparent);transform:translateY(-1px)}
.p-method-text{display:flex;flex-direction:column;gap:.2rem;min-width:0}
.p-method-name{font-family:var(--font-d);font-weight:600;color:var(--ink);font-size:1.02rem}
.p-method-desc{font-size:.85rem;color:var(--muted)}
.p-method-go{white-space:nowrap;font-weight:600;color:var(--brand-deep);font-size:.9rem}
@media (max-width:420px){.p-method-btn{flex-wrap:wrap}.p-method-go{white-space:normal}}
/* PayPal's own buttons on the pay page (30 Oct 2026, matrix row 216): the choice's box, PayPal's buttons inside it. */
.p-method-paypal{display:flex;flex-direction:column;gap:.75rem;background:var(--surface);border:1.5px solid var(--border-strong);border-radius:var(--radius);padding:var(--p-pad-card)}
.p-paypal-buttons{min-height:3rem;width:100%;max-width:28rem}
.p-method-paypal .p-pay-note{text-align:left;margin:0}
.p-method-paypal .p-pay-note:empty{display:none}
.p-method-paypal form{margin:0}
.p-pay-card{max-width:36rem}
.p-sandbox-note{background:var(--surface-2);border:1px solid var(--border);color:var(--text);font-size:.82rem;padding:var(--p-pad-inset);border-radius:var(--p-r-inset);margin-bottom:1.1rem}
.p-instructions{color:var(--text);font-size:.92rem;line-height:1.7;margin-bottom:1.3rem}
.p-pay-actions{display:flex;flex-direction:column;gap:.7rem;margin-top:.4rem}
.p-btn-ghost{background:transparent;border:1px solid var(--border-strong);color:var(--muted);font-weight:var(--p-ctl-sm-w);font-size:var(--p-ctl-sm-fs);padding:var(--p-ctl-sm-pad);border-radius:var(--radius-btn);cursor:pointer;font-family:var(--font-t);min-height:var(--p-ctl-sm-h)}
.p-btn-ghost:hover{color:var(--ink);background:var(--surface-2)}
.field input[readonly]{background:var(--surface-2);color:var(--muted);cursor:default}

/* ===== Store / order funnel ===== */
.p-store-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:.4rem;flex-wrap:wrap}
.p-cart-link{display:inline-flex;align-items:center;gap:.45rem;background:var(--surface);border:1.5px solid var(--border-strong);border-radius:var(--radius-btn);padding:var(--p-ctl-sm-pad);font-weight:var(--p-ctl-sm-w);color:var(--ink);font-size:var(--p-ctl-sm-fs);min-height:var(--p-ctl-sm-h)}
.p-cart-link:hover{border-color:var(--brand)}
.p-cart-badge{background:var(--brand-deep);color:var(--on-brand);border-radius:999px;min-width:1.3rem;height:1.3rem;display:inline-grid;place-items:center;font-size:.72rem;padding:0 .35rem}
.p-store-group{margin:1.8rem 0}
.p-store-group-title{font-family:var(--font-d);font-size:1.25rem;font-weight:600;color:var(--ink);margin-bottom:.2rem}
/* A group's icon beside its name (30 Oct 2026, matrix row 27): the brand colour, the text's size. */
.p-group-icon{width:1.35em;height:1.35em;flex:none;color:var(--brand-deep);vertical-align:-.28em;margin-right:.45rem}
.p-h1 .p-group-icon{width:1.1em;height:1.1em;vertical-align:-.16em}
.p-store-group-desc{color:var(--muted);font-size:.9rem;margin:0 0 1rem}
.p-products{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(280px,100%),1fr));gap:1.1rem}
.p-product{background:var(--surface);border:1.5px solid var(--border);border-radius:var(--radius-lg);padding:var(--p-pad-feature);display:flex;flex-direction:column;gap:.55rem;min-width:0}
.p-product-name{font-family:var(--font-d);font-weight:600;color:var(--ink);font-size:1.05rem}
.p-product-desc{color:var(--muted);font-size:.86rem;line-height:1.55;flex:1}
/* Store presentation (17 Oct 2026): a product's tagline and feature lines, a group's features. */
.p-product-tagline{color:var(--text);font-size:.88rem;font-weight:600;margin-top:.15rem}
.p-product-features{list-style:none;margin:.4rem 0 .2rem;padding:0;display:flex;flex-direction:column;gap:.2rem;font-size:.85rem;color:var(--text)}
.p-product-features li{display:flex;justify-content:space-between;gap:.75rem;border-bottom:1px dashed var(--border);padding:.15rem 0}
.p-product-features li span{color:var(--muted)}
.p-product-features li strong{color:var(--ink);font-weight:600;text-align:right}
.p-group-features{list-style:none;margin:.2rem 0 1rem;padding:0;display:flex;flex-wrap:wrap;gap:.35rem .9rem;font-size:.86rem;color:var(--text)}
.p-group-features li::before{content:'\2713';color:var(--brand-deep);font-weight:600;margin-right:.35rem}
.p-product-soon{color:var(--muted);font-size:.82rem;font-style:italic}
.p-product-order{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.5rem}
.p-product-domain{flex:1 1 100%;min-width:0;background-color:var(--field-bg);border:1.5px solid var(--field-border);border-radius:var(--radius-ctl);padding:var(--p-fld-pad);font-family:var(--font-t);font-size:var(--p-ctl-fs);color:var(--ink);min-height:var(--p-ctl-h)}
.p-product-domain:focus{outline:none;border-color:var(--brand);background:var(--field-focus)}
.p-cart-domain{display:block;color:var(--muted);font-size:.8rem;overflow-wrap:anywhere}
.p-select{flex:1;min-width:0;background-color:var(--field-bg);border:1.5px solid var(--field-border);border-radius:var(--radius-ctl);padding:var(--p-fld-pad);font-family:var(--font-t);font-size:var(--p-ctl-fs);color:var(--ink);min-height:var(--p-ctl-h)}
.p-select:focus{outline:none;border-color:var(--brand);background-color:var(--field-focus)}
.p-product-order .btn{padding:.55rem 1.1rem;box-shadow:none}
.p-cart-checkout{margin-top:1.2rem;max-width:24rem}
/* "Remove", "Withdraw request", "No thank you - decline": a BUTTON drawn as text. With no box, no
   room and no display of its own it was exactly one line of .85rem tall - 13.6px at line-height 1,
   21.8px at the body's - under the 24px pointer floor, and no scan that reads a stylesheet could
   compute it either, because there is no line-height to compute from (review of lane uipolish,
   14 Nov 2026; ControlRowPairTest::test_a_pointer_target_drawn_as_text_declares_a_height). It keeps
   its type and its padding; the floor is declared, and inline-flex centres the words in it. */
.p-link-danger{display:inline-flex;align-items:center;min-height:var(--p-tap-min);color:var(--bad);background:none;border:0;cursor:pointer;font-weight:600;font-size:.85rem;padding:0;font-family:var(--font-t)}
.p-link-danger:hover{text-decoration:underline}

/* ===== Support tickets ===== */
.p-badge-tk-open{background:var(--info-soft);color:var(--info)}
.p-badge-tk-answered{background:var(--ok-soft);color:var(--ok)}
.p-badge-tk-customer-reply{background:var(--warn-soft);color:var(--warn)}
.p-badge-tk-on-hold{background:var(--n-soft);color:var(--n)}
.p-badge-tk-closed{background:var(--n-soft);color:var(--n)}
.p-thread{display:flex;flex-direction:column;gap:.9rem;margin-bottom:.4rem}
.p-msg{border:1px solid var(--border);border-radius:var(--radius);padding:var(--p-pad-card);background:var(--surface);box-shadow:0 1px 2px rgb(var(--shadow) / .04)}
.p-msg-staff{border-left:3px solid var(--brand);background:var(--brand-soft)}
.p-msg-client{border-left:3px solid var(--border-strong)}
.p-msg-head{display:flex;align-items:center;justify-content:space-between;gap:.4rem 1rem;margin-bottom:.5rem;flex-wrap:wrap}
.p-msg-author{font-weight:600;color:var(--ink);font-size:.92rem}
.p-msg-tag{display:inline-block;background:var(--brand-deep);color:var(--on-brand);font-size:.66rem;font-weight:600;padding:.1rem .4rem;border-radius:5px;margin-left:.4rem;text-transform:uppercase;letter-spacing:.03em;vertical-align:middle}
.p-msg-time{color:var(--muted);font-size:.8rem;white-space:nowrap}
.p-msg-body{color:var(--text);font-size:.92rem;line-height:1.6;overflow-wrap:anywhere}
.p-reply-box{margin-top:1.2rem}
.p-reply-actions{display:flex;gap:.7rem;align-items:center;flex-wrap:wrap}
.field textarea{width:100%;background-color:var(--field-bg);border:1.5px solid var(--field-border);border-radius:var(--radius-ctl);padding:var(--p-fld-pad);font-size:var(--p-ctl-fs);font-family:var(--font-t);color:var(--ink);resize:vertical}
.field textarea:focus{outline:none;border-color:var(--brand);background:var(--field-focus)}

/* ===== Public landing ===== */
.h-main{padding-top:0}
.h-hero{text-align:center;padding:4.5rem 1rem 3.5rem}
.h-title{font-size:clamp(1.5rem,3.4vw,2rem);font-weight:600}
.h-tagline{color:var(--muted);font-size:1.15rem;max-width:38rem;margin:.9rem auto 1.8rem;line-height:1.65}
.h-hero-actions{display:flex;gap:.8rem;justify-content:center;flex-wrap:wrap}
.h-ghost{display:inline-flex;align-items:center;text-decoration:none}
.h-btn{padding:.55rem 1.1rem;font-size:.9rem}
.h-store{padding-bottom:2rem}
.h-price{margin:.4rem 0 .9rem}
.h-price-amount{font-family:var(--font-d);font-weight:600;font-size:1.6rem;color:var(--ink)}
.h-price-cycle{color:var(--muted);font-size:.85rem}
.h-store .p-product .btn{align-self:flex-start}
.h-footer{background:var(--surface);border-top:1px solid var(--border);padding:1.4rem 0}
.h-footer-inner{display:flex;align-items:center;justify-content:space-between;gap:1rem;color:var(--muted);font-size:.85rem;flex-wrap:wrap}

/* ===== Services ===== */
.p-badge-sv-pending{background:var(--warn-soft);color:var(--warn)}
.p-badge-sv-active{background:var(--ok-soft);color:var(--ok)}
.p-badge-sv-suspended{background:var(--bad-soft);color:var(--bad)}
.p-badge-sv-terminated{background:var(--n-soft);color:var(--n)}
.p-badge-sv-cancelled{background:var(--n-soft);color:var(--n)}
.p-badge-sv-completed{background:var(--info-soft);color:var(--info)}
.p-badge-sv-fraud{background:var(--bad-soft);color:var(--bad)}

/* R4 (#168) quotations — status pills and the terms block. */
.p-badge-qt-draft{background:var(--n-soft);color:var(--n)}
.p-badge-qt-sent{background:var(--info-soft);color:var(--info)}
.p-badge-qt-accepted,.p-badge-qt-invoiced{background:var(--ok-soft);color:var(--ok)}
.p-badge-qt-declined{background:var(--bad-soft);color:var(--bad)}
.p-badge-qt-expired,.p-badge-qt-on_hold{background:var(--warn-soft);color:var(--warn)}
.p-quote-terms{padding:1rem 1.4rem 1.3rem;border-top:1px solid var(--border)}
.p-quote-terms h3{font-size:.95rem;font-weight:600;color:var(--ink);margin:0 0 .4rem}
.p-quote-terms p{font-size:.88rem;color:var(--muted);margin:0;line-height:1.6}
.p-ta-center{text-align:center}

/* ===== Client-area pieces the views used but no stylesheet defined (15 Oct 2026) =====
   A sweep of every class in the client and public templates against this file found these
   missing: never defined, except .p-logout, whose rule went with the old logout button in the
   v0.41 nav redesign while twelve other buttons and links kept the class. Every button below
   had been rendering as the browser's bare default (grey box, 13px system font). The values
   reuse this sheet's own tokens and component shapes. PortalStylesheetCoverageTest keeps it so. */
.p-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-bottom:1.2rem}
.p-title{font-size:1.8rem;font-weight:600;margin:0;color:var(--ink);overflow-wrap:anywhere}
.p-h2,.p-panel-title{font-size:1.1rem;font-weight:600;color:var(--ink);margin:1.8rem 0 .7rem}
.p-muted{color:var(--muted)}
.p-logout{background:transparent;border:1px solid var(--border-strong);color:var(--text);font-family:inherit;font-weight:var(--p-ctl-sm-w);font-size:var(--p-ctl-sm-fs);line-height:1.2;padding:var(--p-ctl-sm-pad);border-radius:var(--radius-btn);cursor:pointer;min-height:var(--p-ctl-sm-h)}
.p-logout:hover{background:var(--surface-2);color:var(--ink)}
a.p-logout{display:inline-flex;align-items:center;text-decoration:none}
.svc-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:var(--p-gutter-y) var(--p-gutter);border-bottom:1px solid var(--border)}
.svc-row:last-child{border-bottom:0}
.svc-main{display:flex;flex-direction:column;gap:.2rem;min-width:0}
.svc-name{font-weight:600;color:var(--ink);overflow-wrap:anywhere}
.svc-meta{color:var(--muted);font-size:.85rem;overflow-wrap:anywhere}
.badge{display:inline-block;font-size:.72rem;font-weight:600;padding:.2rem .55rem;border-radius:6px;text-transform:uppercase;letter-spacing:.03em;background:var(--n-soft);color:var(--n);vertical-align:middle}
.badge-ok{background:var(--ok-soft);color:var(--ok)}
.badge-muted{background:var(--n-soft);color:var(--n)}
.badge-info{background:var(--info-soft);color:var(--info)}
.badge-warn{background:var(--warn-soft);color:var(--warn)}
.badge-gap{margin-left:.4rem}
.rx-field{margin-bottom:1rem}
.rx-field label{display:block;font-size:.85rem;font-weight:600;color:var(--ink);margin-bottom:.4rem}
.fi-input{width:100%;background-color:var(--field-bg);border:1.5px solid var(--field-border);border-radius:var(--radius-ctl);padding:var(--p-fld-pad);font-size:var(--p-ctl-fs);font-family:var(--font-t);color:var(--ink);min-height:var(--p-ctl-h)}
.fi-input:focus{outline:none;border-color:var(--brand);background-color:var(--field-focus)}
@media (max-width:520px){.svc-row{padding:.9rem 1rem;flex-wrap:wrap}}
.p-licence-key{display:block;font-family:var(--font-m);font-size:1.05rem;color:var(--ink);overflow-wrap:anywhere}
.p-flash-warn{background:var(--warn-soft);border-color:var(--warn-line);color:var(--warn)}
.p-confirm-email{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem .8rem}
.p-confirm-email form{margin:0}
/* Sprint 8 (16 Oct 2026): skip link - hidden until a keyboard user tabs to it (WCAG 2.4.1). */
.p-skip{position:absolute;left:-9999px;top:0;z-index:1000;background:var(--surface);color:var(--ink);font-weight:600;padding:.65rem 1rem;border-radius:8px;box-shadow:0 2px 10px rgb(var(--shadow) / .25);text-decoration:none}
.p-skip:focus{left:1rem;top:1rem;outline:3px solid var(--brand);outline-offset:2px}
#main:focus{outline:none}
/* Sprint 8 (16 Oct 2026): a field's edge must be visible - 3:1 against the page (WCAG 1.4.11; the
   old #d9c8b1 measured 1.3-1.4:1) - and placeholder text must be readable (4.5:1; one measured 4.40). */
input::placeholder,textarea::placeholder{color:var(--muted);opacity:1}

/* Announcements on the client dashboard (17 Oct 2026). */
.p-news{list-style:none;margin:0;padding:.2rem 1.2rem 1rem}
.p-news-item{padding:.6rem 0;border-bottom:1px solid var(--border)}
.p-news-item:last-child{border-bottom:0}
.p-news-excerpt{font-size:.85rem;margin-top:.2rem;line-height:1.5}

/* ===== Configurable options and addons (17 Oct 2026): the configure page, the cart's breakdown
   and the service page. ===== */
.p-config{display:grid;grid-template-columns:minmax(0,1fr) 19rem;gap:1.4rem;align-items:start;margin-top:1.2rem}
@media (max-width:860px){.p-config{grid-template-columns:minmax(0,1fr)}}
.p-config-section{padding:var(--p-gutter-y) var(--p-gutter);border-bottom:1px solid var(--border)}
.p-config-section:last-child{border-bottom:0}
.p-fieldset{border:0;margin:0;padding:0;min-width:0}
.p-legend{display:block;font-family:var(--font-d);font-weight:600;color:var(--ink);font-size:1.02rem;padding:0;margin:0 0 .6rem}
.p-field-label{display:block;font-size:.88rem;font-weight:600;color:var(--ink);margin-bottom:.35rem;padding:0}
/* A press held while the bot check is drawn again says it is waiting, beside the control that was
   pressed (board S22-BOTSAY). The partial puts it there and takes it away; flex:0 0 100% so that in
   a wrapping row - the coupon row, the ticket CC row - it takes a line of its own instead of
   squeezing the field beside it. */
.p-captcha-wait{display:block;flex:0 0 100%;margin:.35rem 0 0;font-size:.82rem;font-weight:600;line-height:1.35;color:var(--muted)}
.p-help{display:block;color:var(--muted);font-size:.8rem;margin-top:.3rem}
.p-config-field{margin-bottom:1rem}
.p-config-field:last-child{margin-bottom:0}
.p-choice{display:flex;align-items:flex-start;gap:var(--p-tick-gap);padding:.45rem .1rem;font-size:.92rem;color:var(--text);cursor:pointer}
.p-choice input{margin-top:.3rem;flex:none}
.p-choice-price{color:var(--muted);font-size:.85rem;margin-left:auto;white-space:nowrap;padding-left:.6rem}
.p-choice > span:not(.p-choice-price){min-width:0}
/* On a phone a long price ("$2.00 monthly + $1.00 setup") goes under its answer instead of
   squeezing the answer into a narrow column (measured at 375px, 17 Oct 2026). */
@media (max-width:520px){.p-choice{flex-wrap:wrap}.p-choice-price{flex-basis:100%;margin-left:1.6rem;padding-left:0;white-space:normal}}
.p-input{width:100%;max-width:12rem;background-color:var(--field-bg);border:1.5px solid var(--field-border);border-radius:var(--radius-ctl);padding:var(--p-fld-pad);font-family:var(--font-t);font-size:var(--p-ctl-fs);color:var(--ink);min-height:var(--p-ctl-h)}
.p-input:focus{outline:none;border-color:var(--brand);background:var(--field-focus)}
.p-config .p-select{width:100%}
/* A question's choice fills its field wherever it is asked, a bundle's page too (5 Nov 2026, board S19-REGQ): a registry's
   long choices made the select wider than a 390px screen. */
.p-config-field .p-select{width:100%}
.p-summary{position:sticky;top:84px;padding:var(--p-pad-card);border-radius:var(--radius)}
@media (max-width:860px){.p-summary{position:static}}
.p-summary-row{display:flex;justify-content:space-between;gap:1rem;font-size:.9rem;padding:.3rem 0;color:var(--text)}
.p-summary-row > span:last-child{text-align:right;font-variant-numeric:tabular-nums}
.p-summary-total{font-family:var(--font-d);font-weight:600;color:var(--ink);font-size:1.12rem;border-top:1px solid var(--border);margin-top:.4rem;padding-top:.6rem}
.p-summary-note{color:var(--muted);font-size:.78rem;margin:.6rem 0 1rem}
.p-addon-name{font-weight:600;color:var(--ink)}
.p-addon-desc{display:block;color:var(--muted);font-size:.82rem}
.p-product-from{color:var(--muted);font-size:.85rem}
/* The price and its button sit at the card's foot, so cards side by side line up (25 Oct 2026, browser pass). */
.p-product>.h-price,.p-product>.p-product-from,.p-product>.p-product-soon{margin-top:auto}
/* A plan card's price comes first and its order button at the foot (the client store). */
.p-product>.p-plan-cta{margin-top:auto}
.p-btn-sm{padding:.5rem 1rem;font-size:.86rem;box-shadow:none;align-self:flex-start;min-height:var(--p-ctl-sm-h)}
.p-table tr.p-sub-row td{padding-top:.25rem;padding-bottom:.5rem;padding-left:2.2rem;font-size:.84rem;color:var(--muted);border-bottom-style:dashed}
.p-table tr.p-sub-row td.p-ta-right{padding-left:1.4rem}
.p-option-list{list-style:none;margin:0;padding:.2rem 1.4rem 1rem}
.p-option-list li{display:flex;justify-content:space-between;gap:1rem;padding:.5rem 0;border-bottom:1px solid var(--border);font-size:.9rem;color:var(--ink)}
.p-option-list li:last-child{border-bottom:0}
.p-addon-offer{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem 1rem;padding:.9rem 1.4rem;border-top:1px solid var(--border)}
.p-addon-offer form{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;margin-left:auto}
.p-addon-offer .p-select{flex:0 1 auto;max-width:18rem}

/* ===== Affiliates (17 Oct 2026) ===== */
.p-aff-join{margin-top:1rem}
.p-aff-link{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap}
.p-aff-link input{flex:1 1 16rem;min-width:0}
.p-aff-code{font-family:var(--font-m);font-size:.8rem;margin-bottom:.5rem}
.p-badge-aff-pending,.p-badge-aff-requested{background:var(--warn-soft);color:var(--warn)}
.p-badge-aff-available,.p-badge-aff-paid{background:var(--ok-soft);color:var(--ok)}
.p-badge-aff-reversed,.p-badge-aff-rejected,.p-badge-aff-cancelled{background:var(--n-soft);color:var(--n)}
/* Support desk depth (17 Oct 2026): reply badges, markdown replies, reply ratings, the feedback form. */
.p-msg-badge{display:inline-block;background:var(--n-soft);color:var(--n);font-size:.66rem;font-weight:600;padding:.1rem .4rem;border-radius:5px;margin-left:.4rem;text-transform:uppercase;letter-spacing:.03em;vertical-align:middle}
.p-msg-badge-cc{background:var(--warn-soft);color:var(--warn)}
.p-msg-edited{font-size:.75rem;color:var(--muted)}
.p-msg-body p{margin:0 0 .6rem}
.p-msg-body p:last-child{margin-bottom:0}
.p-msg-body ul,.p-msg-body ol{margin:.2rem 0 .6rem 1.3rem;padding:0}
.p-msg-body blockquote{margin:.2rem 0 .6rem;padding:.1rem .8rem;border-left:3px solid var(--border-strong);color:var(--muted)}
.p-msg-body code{font-family:var(--font-m);font-size:.85em;background:var(--surface-2);border-radius:4px;padding:0 .25rem}
.p-msg-body pre{background:var(--surface-2);border-radius:var(--p-r-inset);padding:var(--p-pad-inset);overflow-x:auto;margin:.2rem 0 .6rem}
.p-msg-body pre code{background:none;padding:0}
.p-msg-body a{text-decoration:underline}
.p-rate{display:flex;flex-wrap:wrap;align-items:center;gap:.15rem;margin-top:.7rem;padding-top:.6rem;border-top:1px solid var(--border)}
.p-rate-label{font-size:.8rem;color:var(--muted);margin-right:.35rem}
.p-rate-btn{background:transparent;border:0;color:var(--muted);font-size:1.25rem;line-height:1;padding:.15rem .2rem;cursor:pointer;border-radius:6px;min-height:var(--p-ctl-sm-h);min-width:var(--p-ctl-sm-h)}
.p-rate-btn:hover,.p-rate-btn:focus-visible{color:var(--warn);outline:2px solid transparent}
.p-rate-btn:focus-visible{box-shadow:0 0 0 2px var(--brand)}
.p-rate-btn-on{color:var(--warn)}
.p-fb-invite{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.8rem;margin-bottom:1rem}
.p-fb-fieldset{border:1px solid var(--border);border-radius:var(--p-r-inset);padding:var(--p-pad-inset);margin:0 0 1rem}
.p-fb-legend{font-weight:600;color:var(--ink);padding:0 .35rem}
.p-fb-options{display:flex;flex-wrap:wrap;align-items:center;gap:.45rem;margin:.2rem 0 .8rem}
.p-fb-option{display:inline-flex;align-items:center;gap:var(--p-tick-gap)}
.p-fb-option label{font-weight:600;color:var(--ink);font-size:.95rem}

/* ===== Orders and checkout (17 Oct 2026) ===== */
.p-product-featured{border:1.5px solid var(--brand);box-shadow:0 6px 20px color-mix(in srgb,var(--brand) 14%,transparent)}
.p-featured-badge{align-self:flex-start;background:var(--brand-deep);color:var(--on-brand);font-size:.68rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;border-radius:6px;padding:.15rem .5rem}
.p-per-month{display:block;color:var(--muted);font-size:.78rem;font-weight:500}
.p-domain-choice{display:flex;flex-wrap:wrap;gap:0 1.2rem;margin-bottom:.6rem}
.p-config [hidden]{display:none!important}
.p-tld-prices{list-style:none;margin:.8rem 0 0;padding:0;display:flex;flex-wrap:wrap;gap:.35rem .9rem;color:var(--muted);font-size:.8rem}
.p-tld-prices strong{color:var(--ink)}
.p-promo-note{color:var(--muted);font-size:.86rem;margin-bottom:.5rem}
.p-textarea{display:block;width:100%;background-color:var(--field-bg);border:1.5px solid var(--field-border);border-radius:var(--radius-ctl);padding:var(--p-fld-pad);font-family:var(--font-t);font-size:var(--p-ctl-fs);color:var(--ink);resize:vertical;margin-bottom:.8rem}
.p-textarea:focus{outline:none;border-color:var(--brand);background:var(--field-focus)}
.p-cart-checkout .p-choice{margin-bottom:.4rem}
.p-complete-head{margin-bottom:1.4rem}
.p-complete-head .btn{margin-top:.4rem}
.p-complete-invoices{margin-top:1.2rem}
.p-complete-foot{margin-top:1.2rem;color:var(--muted);font-size:.9rem}
/* Store layouts (18 Oct 2026, G21): a comparison table and a compact list beside the cards. */
.p-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.p-compare-wrap{overflow-x:auto;background:var(--surface);border:1px solid var(--border);border-radius:14px;box-shadow:0 1px 2px rgb(var(--shadow) / .04)}
.p-compare{width:100%;border-collapse:collapse;font-size:.88rem;color:var(--text)}
.p-compare th,.p-compare td{padding:.7rem 1rem;border-bottom:1px solid var(--border);text-align:center;vertical-align:top}
.p-compare thead th{background:var(--thead);min-width:11rem}
.p-compare thead th .p-product-name,.p-compare thead th .p-product-tagline{display:block}
.p-compare tbody th{text-align:left;color:var(--muted);font-weight:600;white-space:nowrap}
.p-compare td{color:var(--ink)}
.p-compare .p-compare-featured{box-shadow:inset 0 3px 0 var(--brand)}
.p-compare-order td .p-product-order{display:flex;flex-direction:column;gap:.5rem;align-items:stretch}
.p-store-list{display:flex;flex-direction:column;gap:.6rem}
.p-list-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.8rem 1.2rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--p-r-inset);padding:var(--p-pad-inset)}
.p-list-main{display:flex;flex-direction:column;min-width:min(12rem,100%)}
.p-list-order{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem}
.p-list-order .p-product-order{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}
/* Domain management pages (18 Oct 2026, G10). */
.p-manage-role{margin-bottom:1rem;padding:var(--p-gutter-y) var(--p-gutter)}
.p-manage-role summary{cursor:pointer;margin:0 0 .6rem}
.p-manage-table td{padding:.45rem .6rem;vertical-align:middle}
.p-manage-table .p-input{max-width:none}
.p-input-wide{min-width:14rem}
.p-domain-manage{display:flex;flex-wrap:wrap;gap:.6rem}
/* The help chat (18 Oct 2026, AI5): a button at the bottom right and its panel. Its own class since
   24 Oct 2026: it shared .p-help with the form help text, so every help line on the configure,
   options, bundle and affiliate pages was position:fixed in the bottom right corner, one on top of
   another (found in the UX5 rewrite; ClientSideDarkThemeTest holds it). */
.p-help-chat{position:fixed;right:1.25rem;bottom:1.25rem;z-index:70;font-family:var(--font-t)}
.p-help-toggle{display:inline-flex;align-items:center;gap:.45rem;padding:var(--p-ctl-pad);border-radius:var(--radius-btn);border:0;background:var(--brand-deep);color:var(--on-brand);font-weight:var(--p-ctl-w);font-size:var(--p-ctl-fs);cursor:pointer;box-shadow:0 8px 24px rgb(var(--shadow) / .18);min-height:var(--p-ctl-h)}
.p-help-toggle svg{width:1.15rem;height:1.15rem}
.p-help-toggle:hover{background:var(--brand-hover);color:var(--on-brand)}
.p-help-toggle:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.p-help-panel{position:absolute;right:0;bottom:3.4rem;width:min(23rem,calc(100vw - 2rem));max-height:min(36rem,calc(100vh - 6rem));display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--border);border-radius:14px;box-shadow:0 18px 48px rgb(var(--shadow) / .2);overflow:hidden}
.p-help-panel[hidden]{display:none}
.p-help-head{display:flex;align-items:center;justify-content:space-between;padding:var(--p-pad-inset);border-bottom:1px solid var(--border);color:var(--ink)}
/* An icon-only square needs to be told where its one glyph goes: a flex container with no
   alignment puts it at cross-start and main-start, which is the top-left corner. Measured in
   Chromium with the shipped fonts: a 16px glyph at offset (0, 0) of a 40x40 button, on both of the
   help chat's head buttons, on every client-side page. The square grew to the tap floor in this
   pass and the padding that used to centre the glyph went with it (review of lane uiscale,
   14 Nov 2026) - .p-burger, the other icon-only square, had both properties all along. */
.p-help-icon{display:inline-flex;align-items:center;justify-content:center;padding:0;border:0;border-radius:var(--radius-ctl);background:transparent;color:var(--muted);cursor:pointer;min-height:var(--p-ctl-sm-h);min-width:var(--p-ctl-sm-h)}
.p-help-icon:hover{background:var(--surface-2);color:var(--ink)}
.p-help-icon svg{width:1rem;height:1rem}
.p-help-log{flex:1;overflow-y:auto;padding:.85rem;display:flex;flex-direction:column;gap:.5rem;min-height:9rem}
.p-help-msg{max-width:88%;padding:var(--p-pad-inset);border-radius:var(--p-r-inset);font-size:.88rem;line-height:1.5;overflow-wrap:anywhere}
.p-help-ai{align-self:flex-start;background:var(--surface-2);color:var(--text);border-bottom-left-radius:4px}
.p-help-me{align-self:flex-end;background:var(--brand-deep);color:var(--on-brand);border-bottom-right-radius:4px}
.p-help-err{align-self:stretch;max-width:none;background:var(--bad-soft);color:var(--bad)}
.p-help-msg a{color:var(--brand-deep);font-weight:600}
.p-help-me a{color:var(--on-brand)}
.p-help-check{padding:0 .85rem}
.p-help-check[hidden]{display:none}
.p-help-form{display:flex;gap:.5rem;align-items:flex-end;padding:.65rem .85rem;border-top:1px solid var(--border)}
/* The composer is one line tall and grows as somebody types, but its FIRST line is a field standing
   beside the send button, so it starts at the field height - 40px against that button's 44px before
   this (board S22-ROWPAIR). line-height, because `font:inherit` above resets it to the body's prose
   one and a field is not prose (review of lane uiscale). */
.p-help-form textarea{flex:1;resize:none;min-height:var(--p-ctl-h);max-height:7rem;padding:.5rem .65rem;border:1px solid var(--field-border);border-radius:8px;font:inherit;line-height:normal;font-size:.88rem;color:var(--text);background:var(--field-bg)}
.p-help-form.is-busy button{opacity:.6;pointer-events:none}
.p-help-foot{padding:0 .85rem .75rem;font-size:.75rem;color:var(--muted)}
.p-help-foot a{color:var(--brand-deep);font-weight:600}
@media (max-width:480px){.p-help-chat{right:.75rem;bottom:.75rem}.p-help-toggle span{display:none}.p-help-toggle{padding:0 .85rem}}

/* ===== Client home, direction C (24 Oct 2026, board UX5) ===== */
.p-hero{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1.25rem 2rem;background:var(--surface);border:1.5px solid var(--border);border-radius:var(--p-r-hero);padding:var(--p-pad-hero);margin-bottom:2rem}
.p-hero-main{flex:1 1 26rem;min-width:0}
.p-hero-title{font-size:clamp(1.5rem,3.2vw,2rem);font-weight:600;line-height:1.08;margin:.8rem 0 0;overflow-wrap:anywhere}
.p-hero-lead{font-size:1.12rem;line-height:1.55;color:var(--muted);margin:.7rem 0 0}
.p-hero-lead strong{color:var(--ink)}
.p-hero-actions{display:flex;flex-wrap:wrap;gap:.7rem}
.p-status{display:inline-flex;align-items:center;gap:.5rem;padding:.4rem .85rem;border-radius:999px;font-weight:600;font-size:.9rem;background:var(--ok-soft);color:var(--ok)}
.p-status.is-warn{background:var(--warn-soft);color:var(--warn)}
.p-status.is-ok{background:var(--ok-soft);color:var(--ok)}
.p-status-dot{width:.55rem;height:.55rem;border-radius:50%;background:currentColor}
.p-btn-line{display:inline-flex;align-items:center;justify-content:center;min-height:var(--p-ctl-h);padding:var(--p-ctl-pad);border-radius:var(--radius-btn);border:1.5px solid var(--ink);color:var(--ink);font-weight:var(--p-ctl-w);font-size:var(--p-ctl-fs);text-decoration:none;background:transparent;cursor:pointer;font-family:var(--font-t)}
.p-btn-line:hover{background:var(--surface-2);color:var(--ink)}
.p-section-title{font-size:1.55rem;font-weight:600;margin:0}
.p-sites{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(19rem,100%),1fr));gap:1.1rem;margin:.2rem 0 2rem}
.p-site{background:var(--surface);border:1.5px solid var(--border);border-radius:var(--radius-lg);overflow:hidden;display:flex;flex-direction:column}
.p-site-tile{height:6.5rem;display:flex;align-items:flex-end;padding:.9rem 1.1rem;background:var(--brand-soft);color:var(--ink);font-family:var(--font-d);font-weight:600;font-size:1.35rem;letter-spacing:-.01em;overflow:hidden;white-space:nowrap}
.p-site-tile-text{display:block;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.p-site:nth-child(3n+2) .p-site-tile{background:var(--ok-soft)}
.p-site:nth-child(3n+3) .p-site-tile{background:var(--tile-3)}
.p-site-body{padding:1.1rem 1.25rem 1.3rem;display:flex;flex-direction:column;gap:.35rem}
.p-site-title{font-family:var(--font-d);font-size:1.2rem;font-weight:600;color:var(--ink);margin:0}
.p-site-domain{font-size:.95rem;color:var(--text);overflow-wrap:anywhere}
.p-site-meta,.p-site-renew{font-size:.92rem;color:var(--muted)}
/* A suspended or pending service on the client home (24 Oct 2026, S18-B6). */
.p-site-state{font-size:.92rem;font-weight:600;color:var(--muted)}
.p-site-state.is-warn{color:var(--warn)}
.p-site-actions{display:flex;flex-wrap:wrap;gap:.55rem;margin-top:.6rem}
.p-duo{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(20rem,100%),1fr));gap:1.1rem;margin-bottom:2rem}
.p-sun{background:var(--sun);color:var(--on-sun);border-radius:var(--radius-lg);padding:var(--p-pad-feature);display:flex;flex-direction:column;gap:.6rem;align-items:flex-start}
.p-sun-title{font-size:1.3rem;font-weight:600;color:var(--on-sun);margin:0}
.p-sun-text{margin:0;font-size:1rem;line-height:1.55;color:var(--on-sun)}
.p-sun-btn{display:inline-flex;align-items:center;min-height:var(--p-ctl-h);padding:var(--p-ctl-pad);border-radius:var(--radius-btn);background:var(--on-sun);color:var(--sun);font-weight:var(--p-ctl-w);text-decoration:none;font-size:var(--p-ctl-fs)}
.p-sun-btn:hover{background:var(--on-sun);color:var(--sun);opacity:.9}
.p-card-pad{padding:1.5rem;display:flex;flex-direction:column;gap:.6rem;align-items:flex-start}
@media (max-width:520px){.p-hero{padding:var(--p-pad-hero-sm);border-radius:var(--p-r-hero-sm)}}

/* ===== Public home, direction C (24 Oct 2026, board UX5) ===== */
.h-hero-c{text-align:left;padding:3.5rem 0 2.5rem;max-width:56rem}
.h-hero-c .h-title{font-size:clamp(1.6rem,4vw,2rem);font-weight:600;line-height:.98;letter-spacing:-.03em}
.h-hero-c .h-tagline{margin:1rem 0 1.6rem;max-width:40rem}
.h-hero-c .h-hero-actions{justify-content:flex-start;margin-top:1.4rem}
.h-eyebrow{font-weight:600;font-size:.95rem;color:var(--muted);margin-bottom:.8rem}
.h-mark{background:linear-gradient(transparent 62%,var(--sun) 62%);padding:0 .08em}
:root[data-theme="dark"] .h-mark{color:var(--ink);background:linear-gradient(transparent 62%,color-mix(in srgb,var(--sun) 45%,transparent) 62%)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .h-mark{background:linear-gradient(transparent 62%,color-mix(in srgb,var(--sun) 45%,transparent) 62%)}}
.h-search{display:flex;flex-wrap:wrap;gap:.6rem;max-width:46rem;padding:.55rem;border-radius:999px;background:var(--surface);border:2px solid var(--ink)}
.h-search input{flex:1 1 14rem;min-width:0;min-height:52px;border:0;background:transparent;padding:0 1.1rem;font:600 1.2rem var(--font-t);color:var(--ink)}
.h-search input:focus{outline:none}
.h-search:focus-within{box-shadow:0 0 0 3px color-mix(in srgb,var(--brand) 35%,transparent)}
.h-search .btn{min-height:52px;padding:0 1.8rem;font-size:1.05rem}
@media (max-width:520px){.h-search{border-radius:22px}.h-search .btn{flex:1 1 100%}}
.h-tlds{list-style:none;margin:1rem 0 0;padding:0;display:flex;flex-wrap:wrap;gap:.5rem}
.h-tlds li{padding:.45rem .9rem;border-radius:999px;background:var(--surface);border:1.5px solid var(--border);font-size:.95rem;color:var(--text)}
.h-tld{font-weight:600;color:var(--ink)}
.h-sticker{align-self:flex-start;transform:rotate(-2deg);padding:.35rem .7rem;border-radius:var(--radius-ctl);background:var(--sun);color:var(--on-sun);font-family:var(--font-d);font-weight:600;font-size:.78rem;letter-spacing:.04em;text-transform:uppercase}
.p-product-featured{border-color:var(--brand);background:color-mix(in srgb,var(--brand) 5%,var(--surface))}

/* ===== Virtual servers and SSL certificates on the service page (24 Oct 2026, board G19) =====
   portal/services/partials/vps and ssl: the server's live state, its power, console and rebuild;
   a certificate's request, validation and delivery. */
.p-vps-head{gap:.8rem;flex-wrap:wrap}
.p-vps-state{display:inline-flex;align-items:center;gap:.45rem;font-weight:600;font-size:.92rem;color:var(--ink)}
.p-vps-dot{width:.7rem;height:.7rem;border-radius:999px;background:var(--border-strong);flex:none}
.p-vps-dot.is-running{background:var(--ok)}
.p-vps-dot.is-stopped,.p-vps-dot.is-missing{background:var(--bad)}
.p-vps-dot.is-building,.p-vps-dot.is-paused,.p-vps-dot.is-suspended{background:var(--warn)}
.p-vps-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(9.5rem,1fr));gap:.9rem 1.2rem;margin:0;padding:1.1rem 1.4rem;border-bottom:1px solid var(--border)}
.p-vps-facts dt{font-size:.75rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
.p-vps-facts dd{margin:.2rem 0 0;font-weight:600;color:var(--ink);overflow-wrap:anywhere}
.p-vps-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.55rem;padding:1.1rem 1.4rem}
.p-vps-actions form{margin:0}
.p-vps-danger{color:var(--bad);border-color:var(--bad-line)}
.p-vps-danger:hover{background:var(--bad-soft);color:var(--bad)}
.p-vps-note{margin:0;padding:0 1.4rem 1.1rem;font-size:.86rem;color:var(--muted)}
.p-vps-error{margin:0 1.4rem 1rem;padding:var(--p-pad-inset);border-radius:var(--p-r-inset);background:var(--bad-soft);color:var(--bad);font-size:.86rem}
.p-vps-detail{display:grid;grid-template-columns:minmax(8rem,auto) 1fr;gap:.6rem 1.2rem;margin:0;padding:var(--p-gutter-y) var(--p-gutter)}
.p-vps-detail dt{color:var(--muted);font-weight:600}
.p-vps-detail dd{margin:0;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:var(--ink);overflow-wrap:anywhere}
.p-vps-choices{display:grid;gap:.5rem;margin:.4rem 0 1rem}
.p-vps-choice{display:flex;align-items:center;gap:var(--p-tick-gap);padding:var(--p-pad-inset);border:1.5px solid var(--border);border-radius:var(--p-r-inset);background:var(--surface);color:var(--ink);font-weight:600;cursor:pointer}
.p-vps-choice:has(input:checked){border-color:var(--brand-deep);background:var(--brand-soft)}
.p-vps-warn{margin:0 0 1rem;padding:var(--p-pad-inset);border-radius:var(--p-r-inset);background:var(--warn-soft);border:1px solid var(--warn-line);color:var(--warn);font-weight:600;font-size:.9rem}
.p-ssl-steps{margin:0;padding:1.1rem 1.4rem 1.1rem 2.6rem;color:var(--text);line-height:1.6}
.p-ssl-steps li{margin-bottom:.35rem}
.p-ssl-code{display:block;margin:.3rem 0 .2rem;padding:var(--p-pad-inset);border-radius:var(--p-r-inset);background:var(--surface-2);color:var(--ink);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.84rem;white-space:pre-wrap;overflow-wrap:anywhere}
.p-ssl-pem{width:100%;min-height:9rem;padding:var(--p-fld-pad);border:1.5px solid var(--field-border);border-radius:var(--radius-ctl);background-color:var(--field-bg);color:var(--ink);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:var(--p-ctl-fs);line-height:1.4;resize:vertical}
.p-ssl-tabs{display:flex;flex-wrap:wrap;gap:.5rem;margin:0 0 1rem}
.p-ssl-tab{display:flex;align-items:center;gap:var(--p-tick-gap);padding:var(--p-ctl-sm-pad);border:1.5px solid var(--border);border-radius:var(--radius-btn);background:var(--surface);color:var(--ink);font-weight:var(--p-ctl-sm-w);font-size:var(--p-ctl-sm-fs);cursor:pointer;min-height:var(--p-ctl-sm-h)}
.p-ssl-tab:has(input:checked){border-color:var(--brand-deep);background:var(--brand-soft)}
.p-ssl-key{margin:1rem 1.4rem;padding:var(--p-pad-card);border-radius:var(--radius);border:2px solid var(--warn-line);background:var(--warn-soft);color:var(--warn)}
.p-ssl-key h3{margin:0 0 .4rem;font-family:var(--font-d);font-size:1rem;color:var(--warn)}
.p-ssl-key p{margin:0 0 .7rem;font-size:.9rem}
.p-ssl-downloads{display:flex;flex-wrap:wrap;gap:.5rem;padding:0 1.4rem 1.2rem}
.p-ssl-more{border-top:1px solid var(--border)}
.p-ssl-more summary{cursor:pointer;padding:1rem 1.4rem;font-weight:600;color:var(--ink)}
.p-ssl-more[open] summary{border-bottom:1px solid var(--border)}
.p-badge-ssl-issued{background:var(--ok-soft);color:var(--ok)}
.p-badge-ssl-pending,.p-badge-ssl-draft{background:var(--warn-soft);color:var(--warn)}
.p-badge-ssl-failed{background:var(--bad-soft);color:var(--bad)}
.p-badge-ssl-cancelled,.p-badge-ssl-replaced{background:var(--n-soft);color:var(--n)}
/* ===== Record pages, direction C (24 Oct 2026, board UX5 wave 2): the service, domain, invoice,
   payment and ticket pages, the store's comparison, configure step and cart. ===== */
/* Facts as pills ("Renews in 12 d", "Overdue 3 d"), never a bare colour. */
.p-pill{display:inline-flex;align-items:center;gap:.4rem;padding:.28rem .7rem;border-radius:999px;font-size:.82rem;font-weight:600;line-height:1.3;background:var(--n-soft);color:var(--n);white-space:nowrap}
.p-pill.is-ok{background:var(--ok-soft);color:var(--ok)}
.p-pill.is-warn{background:var(--warn-soft);color:var(--warn)}
.p-pill.is-bad{background:var(--bad-soft);color:var(--bad)}
.p-pill.is-info{background:var(--info-soft);color:var(--info)}
/* The same padlock on the client's own side (17 Nov 2026, board S27-SSLLOCK): one answer, from
   SslCheck::tone() and ::locked(), so it cannot mean one thing in the admin and another here. */
.p-lock{display:inline-flex;align-items:center;gap:.3rem;color:var(--muted);vertical-align:middle;margin-left:.4rem}
.p-lock-ico{display:block;width:1.05rem;height:1.05rem;flex:none}
.p-lock.is-ok{color:var(--ok)}
.p-lock.is-warn{color:var(--warn)}
.p-lock.is-bad{color:var(--bad)}
.p-lock.is-n{color:var(--muted);opacity:.6}
.p-lock-words{color:var(--text);font-size:inherit}
.p-pill .p-status-dot{width:.5rem;height:.5rem}
.p-pills{display:flex;flex-wrap:wrap;gap:.4rem;align-items:center}
.p-mono{font-family:var(--font-m);font-size:.92em;font-variant-numeric:tabular-nums}
.p-num{font-variant-numeric:tabular-nums;white-space:nowrap}
/* A record's hero: its name as a tile, what it is, its facts, its main actions. */
.p-rec{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1rem 1.6rem;align-items:center;background:var(--surface);border:1.5px solid var(--border);border-radius:var(--p-r-hero);padding:var(--p-pad-hero);margin-bottom:1.4rem}
.p-rec-main{min-width:0;display:flex;flex-direction:column;gap:.45rem}
.p-rec-eyebrow{font-size:.8rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.p-rec-title{font-size:clamp(1.3rem,2.8vw,1.6rem);font-weight:600;line-height:1.1;overflow-wrap:anywhere}
.p-rec-sub{color:var(--muted);font-size:1rem;overflow-wrap:anywhere}
.p-rec-actions{display:flex;flex-wrap:wrap;gap:.6rem;justify-content:flex-end}
.p-rec-actions form{margin:0}
@media (max-width:720px){.p-rec{grid-template-columns:minmax(0,1fr);padding:var(--p-pad-hero-sm);border-radius:var(--p-r-hero-sm)}.p-rec-actions{justify-content:flex-start}}
/* Main column and a side column; the side is sticky on wide screens and follows the main on phones. */
.p-layout{display:grid;grid-template-columns:minmax(0,1fr) 21rem;gap:1.2rem;align-items:start}
.p-layout-main{display:flex;flex-direction:column;gap:1.2rem;min-width:0}
.p-layout-side{display:flex;flex-direction:column;gap:1.2rem;min-width:0;position:sticky;top:84px}
@media (max-width:900px){.p-layout{grid-template-columns:minmax(0,1fr)}.p-layout-side{position:static}}
/* A section card: a title with one line about it, its body, its action. */
.p-box{background:var(--surface);border:1.5px solid var(--border);border-radius:var(--radius);padding:var(--p-pad-card);min-width:0}
.p-box-head{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:.6rem 1rem;margin-bottom:.9rem}
.p-box-title{font-family:var(--font-d);font-size:1.15rem;font-weight:600;color:var(--ink);margin:0}
.p-box-text{color:var(--muted);font-size:.9rem;margin:.2rem 0 0}
.p-box-flush{padding:0;overflow:auto}
.p-box-flush > .p-box-head{padding:1.2rem 1.4rem 0}
.p-box-danger{border-color:var(--bad-line)}
.p-kv{margin:0;display:flex;flex-direction:column}
.p-kv > div{display:flex;justify-content:space-between;align-items:baseline;gap:1rem;padding:.55rem 0;border-bottom:1px solid var(--border);font-size:.9rem}
.p-kv > div:last-child{border-bottom:0}
.p-kv dt{color:var(--muted);margin:0;flex:none}
.p-kv dd{color:var(--ink);margin:0;font-weight:600;text-align:right;min-width:0;overflow-wrap:anywhere}
/* Lines whose label is the long part - an invoice line's description beside its amount (the pay page):
   the label wraps, the amount stays whole. With .p-kv's fixed labels a 120-character description made
   the pay page 841px wide on a 390px phone (review of UX5 wave 2, 24 Oct 2026). */
.p-kv-lines dt{flex:1 1 auto;min-width:0;overflow-wrap:anywhere}
.p-kv-lines dd{flex:none;white-space:nowrap}
.p-btn-row{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center}
.p-btn-row form{margin:0}
.p-btn-danger{display:inline-flex;align-items:center;justify-content:center;min-height:var(--p-ctl-h);padding:var(--p-ctl-pad);border-radius:var(--radius-btn);border:1.5px solid var(--bad);color:var(--bad);background:transparent;cursor:pointer;font-size:var(--p-ctl-fs);font-weight:var(--p-ctl-w)}
.p-btn-danger:hover{background:var(--bad-soft)}
.p-note{background:var(--info-soft);border:1px solid var(--info-line);color:var(--info);border-radius:var(--p-r-inset);padding:var(--p-pad-inset);font-size:.9rem}
.p-note.is-ok{background:var(--ok-soft);border-color:var(--ok-line);color:var(--ok)}
.p-note.is-warn{background:var(--warn-soft);border-color:var(--warn-line);color:var(--warn)}
.p-note.is-bad{background:var(--bad-soft);border-color:var(--bad-line);color:var(--bad)}
.p-note a{color:inherit;text-decoration:underline;font-weight:600}
.p-gap{margin-top:1rem}
.p-stack{display:flex;flex-direction:column;gap:.6rem}
.p-radio-card{display:flex;gap:var(--p-tick-gap);align-items:flex-start;border:1.5px solid var(--border);border-radius:var(--p-r-inset);padding:var(--p-pad-inset);cursor:pointer;color:var(--text);font-size:.92rem}
.p-radio-card:has(input:checked){border-color:var(--brand);background:color-mix(in srgb,var(--brand) 6%,var(--surface))}
.p-radio-card input{margin-top:.3rem;flex:none}
.p-radio-card strong{color:var(--ink)}
/* Usage meters: disk and bandwidth against the plan's limit; amber from 80%, red from 95%. */
.p-meters{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(14rem,100%),1fr));gap:1rem 1.4rem}
.p-meter-item{min-width:0}
.p-meter-head{display:flex;justify-content:space-between;align-items:baseline;gap:.6rem;margin-bottom:.4rem;font-size:.9rem}
.p-meter-label{font-weight:600;color:var(--ink)}
.p-meter-value{color:var(--muted);font-variant-numeric:tabular-nums;text-align:right}
.p-meter{height:10px;border-radius:999px;background:var(--surface-2);overflow:hidden}
.p-meter-bar{display:block;height:100%;border-radius:999px;background:var(--ok)}
.p-meter.is-warn .p-meter-bar{background:var(--warn)}
.p-meter.is-bad .p-meter-bar{background:var(--bad)}
/* Lists that read on a phone: each record a row of facts that wraps, not a table that scrolls. */
.p-rows{display:flex;flex-direction:column}
.p-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;align-items:center;gap:.4rem 1.2rem;padding:var(--p-gutter-y) var(--p-gutter);border-bottom:1px solid var(--border);color:var(--ink)}
.p-row:last-child{border-bottom:0}
.p-row-main{min-width:0;display:flex;flex-direction:column;gap:.15rem}
.p-row-title{font-weight:600;color:var(--ink);overflow-wrap:anywhere}
a.p-row-title:hover{color:var(--brand-deep)}
.p-row-meta{color:var(--muted);font-size:.85rem;overflow-wrap:anywhere}
.p-row-amount{font-weight:600;font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}
.p-row-amount small{display:block;color:var(--muted);font-weight:500;font-size:.78rem}
.p-row-action{display:flex;gap:.5rem;justify-content:flex-end}
@media (max-width:640px){.p-row{grid-template-columns:minmax(0,1fr) auto;padding:.9rem 1rem}.p-row-status{grid-column:1}.p-row-action{grid-column:2;grid-row:1 / span 2;align-self:center}.p-row-amount{text-align:left}}
.p-tabs{display:flex;flex-wrap:wrap;gap:.35rem;margin:0 0 1rem}
.p-tab{display:inline-flex;align-items:center;gap:.4rem;padding:var(--p-ctl-sm-pad);border-radius:var(--radius-btn);border:1.5px solid var(--border);color:var(--muted);font-weight:var(--p-ctl-sm-w);font-size:var(--p-ctl-sm-fs);background:var(--surface);min-height:var(--p-ctl-sm-h)}
.p-tab:hover{color:var(--ink);border-color:var(--border-strong)}
/* ONE TAB LOOK, TWO STATES (17 Nov 2026, board S27-PROFILETABS). .p-tabs/.p-tab were already
   here for the invoices and tickets filters, where a tab is a LINK and the browser marks the
   one you are on with aria-current. A tab that opens a panel on the same page is a different
   ARIA state, aria-selected - so both are named on the one rule rather than a second strip
   being invented beside this one (rule 44: grep before you name). What a screen reader is
   told and what the eye sees therefore cannot drift apart. */
.p-tab[aria-current="page"]{background:var(--ink);border-color:var(--ink);color:var(--bg)}
/* A FILTER IS A PILL; A TAB IS A TAB (17 Nov 2026, owner, board S27-TABLOOK). The owner, of the
   Profile: "Bubbles dont look ok. maybe something similar like you did in admin backend." The
   strip reused .p-tabs/.p-tab, which were built for the invoices and tickets FILTERS - rounded,
   bordered, filled when chosen. Reusing them was right (rule 44: do not invent a second
   component); what nobody checked was whether the component it reused LOOKS like the one the
   owner had just approved on the other side. It does not: the admin's tabs are underlined, flat,
   on a line.
   The two are told apart by what they ARE, not by a class somebody adds: a filter is a <nav> of
   LINKS carrying aria-current, a tab strip is role="tablist" with buttons carrying aria-selected.
   So the role selects the look, and the two can never be given the wrong one by hand. */
.p-tabs[role="tablist"]{gap:.3rem;border-bottom:1px solid var(--border);margin-bottom:.9rem}
.p-tabs[role="tablist"] .p-tab{background:none;border:0;border-bottom:2px solid transparent;
  border-radius:0;padding:.45rem .75rem;color:var(--muted)}
.p-tabs[role="tablist"] .p-tab:hover{background:none;color:var(--ink);border-bottom-color:var(--border-strong)}
.p-tabs[role="tablist"] .p-tab[aria-selected="true"]{background:none;color:var(--ink);
  border-bottom-color:var(--brand)}
/* .p-tabs says display:flex, which BEATS the browser's own [hidden]{display:none} - so the
   strip served hidden for the no-JavaScript case would have shown anyway. Measured before
   relying on it: .p-panel sets no display, so a hidden panel does disappear on its own. */
.p-tabs[hidden]{display:none}
.p-tab-allnote{margin:-.5rem 0 1rem;font-size:.9rem;color:var(--muted)}
.p-tab-count{font-variant-numeric:tabular-nums;opacity:.85}
.p-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(13rem,100%),1fr));gap:1rem;margin-bottom:1.2rem}
.p-stat{background:var(--surface);border:1.5px solid var(--border);border-radius:var(--radius);padding:var(--p-pad-card);min-width:0}
.p-stat-label{font-size:.78rem;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--muted)}
.p-stat-value{font-family:var(--font-d);font-size:1.6rem;font-weight:600;color:var(--ink);line-height:1.25;overflow-wrap:anywhere}
.p-stat-value + .p-stat-value{font-size:1.15rem}
.p-stat-foot{font-size:.85rem;color:var(--muted)}
/* Paying: the amount, what credit already took off, the ways to pay in one place. */
.p-paybox{display:flex;flex-direction:column;gap:.9rem}
.p-paybox-label{font-size:.8rem;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--muted)}
.p-paybox-amount{font-family:var(--font-d);font-size:2.3rem;font-weight:600;color:var(--ink);line-height:1.1;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.p-paybox .p-methods{max-width:none}
.p-paybox .p-method-btn{padding:.9rem 1.05rem}
.p-save-card{display:flex;gap:var(--p-tick-gap);align-items:center;font-size:.85rem;color:var(--text);margin:.45rem .2rem 0}
.p-trust{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.35rem;color:var(--muted);font-size:.85rem}
.p-trust li{display:flex;gap:.5rem;align-items:flex-start}
.p-trust li::before{content:'\2713';color:var(--ok);font-weight:600;flex:none}
.p-trust-row{flex-direction:row;flex-wrap:wrap;gap:.35rem 1.2rem}
/* Tickets: a conversation - their replies on one side, the team's on the other. */
.p-convo{display:flex;flex-direction:column;gap:1rem}
.p-bubble{display:grid;grid-template-columns:2.4rem minmax(0,1fr);gap:.75rem;align-items:start;max-width:46rem}
.p-bubble.is-me{grid-template-columns:minmax(0,1fr) 2.4rem;margin-left:auto}
.p-bubble.is-me .p-av{grid-column:2;grid-row:1}
.p-bubble.is-me .p-bubble-card{grid-column:1;grid-row:1;background:var(--surface);border-top-right-radius:6px}
.p-bubble-card{background:var(--brand-soft);border:1px solid var(--border);border-radius:var(--radius);border-top-left-radius:6px;padding:var(--p-pad-card);min-width:0}
.p-bubble.is-staff .p-bubble-card{border-color:color-mix(in srgb,var(--brand) 30%,var(--border))}
.p-av{width:2.4rem;height:2.4rem;border-radius:50%;display:grid;place-items:center;font-weight:600;font-size:.82rem;background:var(--surface-2);color:var(--ink)}
.p-bubble.is-staff .p-av{background:var(--brand-deep);color:var(--on-brand)}
@media (max-width:520px){.p-bubble,.p-bubble.is-me{grid-template-columns:minmax(0,1fr)}.p-av{display:none}.p-bubble.is-me .p-bubble-card{grid-column:1}}
.p-attach{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.7rem}
.p-attach-chip{display:inline-flex;align-items:center;gap:.4rem;padding:.35rem .7rem;background:var(--surface);border:1px solid var(--border-strong);border-radius:999px;font-size:.84rem;color:var(--ink);max-width:100%;overflow-wrap:anywhere}
.p-attach-chip:hover{border-color:var(--brand);color:var(--brand-deep)}
.p-attach-chip svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:2;flex:none}
.p-attach-size{color:var(--muted)}
.p-related-bar{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;margin:0 0 1rem;font-size:.9rem;color:var(--muted)}
.p-chips{display:flex;flex-wrap:wrap;gap:.4rem;margin:0 0 .6rem}
.p-chips form{display:inline;margin:0}
.p-chip{display:inline-flex;align-items:center;gap:.35rem;background:var(--surface-2);border:1px solid var(--border);border-radius:999px;padding:.2rem .3rem .2rem .7rem;font-size:.85rem;color:var(--ink);overflow-wrap:anywhere}
/* The cross that takes a CC off a ticket or a line out of the cart. Measured before this: 21.8 x
   19.2px, and the chip around it is a <span> with no handler of its own, so those 19.2px were the
   whole target - under the 24px floor (board S22-TAPFLOOR). */
.p-chip-x{display:inline-flex;align-items:center;justify-content:center;min-width:var(--p-tap-min);min-height:var(--p-tap-min);border:0;background:transparent;color:var(--muted);cursor:pointer;font-weight:600;font-size:1rem;line-height:1;padding:0;border-radius:999px}
.p-chip-x:hover{color:var(--bad);background:var(--bad-soft)}
.p-inline-add{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;margin:0}
/* line-height:normal after font:inherit - see .p-coupon input below for why. */
.p-inline-add input{flex:1 1 12rem;min-width:0;background-color:var(--field-bg);border:1.5px solid var(--field-border);border-radius:var(--radius-ctl);padding:var(--p-fld-pad);font:inherit;line-height:normal;font-size:var(--p-ctl-fs);color:var(--ink);min-height:var(--p-ctl-h)}
.p-composer{background:var(--surface);border:1.5px solid var(--border);border-radius:var(--radius);padding:var(--p-pad-card)}
.p-composer .field{margin-bottom:.8rem}
.p-drop{display:flex;flex-direction:column;gap:.35rem;border:1.5px dashed var(--field-border);border-radius:var(--p-r-inset);padding:var(--p-pad-inset);background:var(--field-bg);color:var(--muted);font-size:.86rem}
.p-drop.is-over{border-color:var(--brand);background:var(--field-focus)}
.p-drop input[type="file"]{max-width:100%;color:var(--text);font:inherit}
.p-drop-list{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.35rem}
.p-drop-list li{background:var(--surface-2);border-radius:999px;padding:.15rem .6rem;color:var(--ink);font-size:.8rem;overflow-wrap:anywhere}
.p-kb-suggest{border:1.5px solid var(--info-line);background:var(--info-soft);color:var(--info);border-radius:var(--p-r-inset);padding:var(--p-pad-inset);margin-bottom:.9rem}
.p-kb-suggest[hidden]{display:none}
.p-kb-suggest-title{font-size:.82rem;font-weight:600;margin-bottom:.35rem}
.p-kb-suggest-link{display:block;padding:.28rem 0;color:var(--info);font-size:.9rem;font-weight:600;text-decoration:underline}
.p-subject{display:flex;flex-direction:column;gap:.2rem}
/* The store: steps, the billing-term switch with its saving, plan cards and the comparison. */
.p-steps{list-style:none;display:flex;flex-wrap:wrap;gap:.4rem 1.2rem;margin:0 0 1.2rem;padding:0;font-size:.85rem;font-weight:600;color:var(--muted)}
.p-step{display:inline-flex;align-items:center;gap:.45rem}
.p-step-n{display:inline-grid;place-items:center;width:1.5rem;height:1.5rem;border-radius:50%;border:1.5px solid var(--border-strong);font-size:.75rem;color:var(--muted)}
.p-step.is-done .p-step-n{background:var(--ok-soft);border-color:var(--ok-line);color:var(--ok)}
.p-step.is-current{color:var(--ink)}
.p-step.is-current .p-step-n{background:var(--ink);border-color:var(--ink);color:var(--bg)}
.p-cycles{display:inline-flex;flex-wrap:wrap;gap:.25rem;padding:var(--p-pad-list);border-radius:var(--p-r-hero-sm);background:var(--surface);border:1.5px solid var(--border);margin:0 0 1.1rem;max-width:100%}
.p-cycle-opt{position:relative;display:inline-flex;align-items:center;gap:.4rem;padding:var(--p-ctl-sm-pad);border-radius:var(--radius-btn);cursor:pointer;font-weight:var(--p-ctl-sm-w);font-size:var(--p-ctl-sm-fs);color:var(--muted);min-height:var(--p-ctl-sm-h)}
.p-cycle-opt input{position:absolute;opacity:0;pointer-events:none}
.p-cycle-opt:hover{color:var(--ink)}
.p-cycle-opt:has(input:checked){background:var(--ink);color:var(--bg)}
.p-cycle-opt:has(input:focus-visible){outline:3px solid color-mix(in srgb,var(--brand) 55%,transparent);outline-offset:2px}
.p-cycle-save{font-size:.72rem;font-weight:600;padding:.08rem .45rem;border-radius:999px;background:var(--ok-soft);color:var(--ok)}
/* Only the chosen term's prices and order buttons show (no script needed). */
.p-plans:has(.p-cycle-opt input[value="monthly"]:checked) .p-cyc:not(.c-monthly),
.p-plans:has(.p-cycle-opt input[value="quarterly"]:checked) .p-cyc:not(.c-quarterly),
.p-plans:has(.p-cycle-opt input[value="semiannual"]:checked) .p-cyc:not(.c-semiannual),
.p-plans:has(.p-cycle-opt input[value="annual"]:checked) .p-cyc:not(.c-annual),
.p-plans:has(.p-cycle-opt input[value="biennial"]:checked) .p-cyc:not(.c-biennial),
.p-plans:has(.p-cycle-opt input[value="triennial"]:checked) .p-cyc:not(.c-triennial),
.p-plans:has(.p-cycle-opt input[value="onetime"]:checked) .p-cyc:not(.c-onetime){display:none}
.p-cyc{display:flex;flex-direction:column;gap:.35rem}
.p-plan-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(16rem,100%),1fr));gap:1.1rem}
.p-plan{background:var(--surface);border:1.5px solid var(--border);border-radius:var(--radius-lg);padding:var(--p-pad-feature);display:flex;flex-direction:column;gap:.6rem;min-width:0}
.p-plan.is-featured{border-color:var(--brand);background:color-mix(in srgb,var(--brand) 5%,var(--surface))}
.p-plan-name{font-family:var(--font-d);font-size:1.3rem;font-weight:600;color:var(--ink);margin:0}
.p-plan-price{font-family:var(--font-d);font-size:2rem;font-weight:600;color:var(--ink);line-height:1.1;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.p-plan-price small{font:600 .85rem var(--font-t);color:var(--muted)}
.p-plan-per{font-size:.85rem;color:var(--muted)}
.p-plan-save{align-self:flex-start;font-size:.78rem;font-weight:600;padding:.15rem .55rem;border-radius:999px;background:var(--ok-soft);color:var(--ok)}
.p-plan-na{font-size:.85rem;color:var(--muted);font-style:italic}
.p-plan-features{list-style:none;margin:.2rem 0;padding:0;display:flex;flex-direction:column;gap:.3rem;font-size:.9rem;color:var(--text);flex:1}
.p-plan-features li{display:flex;gap:.5rem;align-items:flex-start;overflow-wrap:anywhere}
.p-plan-features li::before{content:'\2713';color:var(--brand-deep);font-weight:600;flex:none}
.p-plan-features strong{color:var(--ink)}
.p-plan .p-product-order,.p-plan form{margin:0}
.p-plan-cta{display:flex;flex-direction:column;gap:.5rem;margin-top:.3rem}
.p-plan-cta .btn,.p-plan-cta .p-btn-line{width:100%}
/* The first column stays put while a phone swipes the plans sideways inside the table's own frame. */
.p-compare tbody th{position:sticky;left:0;z-index:1;background:var(--surface)}
.p-compare thead th:first-child{position:sticky;left:0;z-index:2}
.p-link-inherit{color:inherit}
.p-wide{width:100%}
.p-crumbs{font-size:.85rem;margin:0 0 .6rem}
.dom-pricing .dom-pricing-cat{padding:0 1.4rem}
.p-compare-price{font-family:var(--font-d);font-size:1.3rem;font-weight:600;color:var(--ink);font-variant-numeric:tabular-nums}
.p-compare .p-cyc{align-items:center}
.p-compare .p-cyc form,.p-compare .p-cyc .btn{width:100%}
.p-compare-yes{color:var(--ok);font-weight:600}
.p-compare-no{color:var(--muted)}
@media (max-width:640px){.p-compare th,.p-compare td{padding:.6rem .7rem}.p-compare thead th{min-width:9.5rem}.p-compare tbody th{white-space:normal;min-width:7rem}}
.p-dom-first{display:flex;flex-direction:column;gap:.5rem;margin:0 0 1.6rem}
.p-dom-first .h-search{max-width:none}
/* The cart: each line a card, the order summary beside it (at the bottom on phones). */
.p-cart-items{display:flex;flex-direction:column;gap:.9rem}
.p-cart-item{background:var(--surface);border:1.5px solid var(--border);border-radius:var(--radius);padding:var(--p-pad-card);min-width:0}
.p-cart-item-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:.4rem 1rem}
.p-cart-item-name{font-family:var(--font-d);font-size:1.12rem;font-weight:600;color:var(--ink);overflow-wrap:anywhere}
.p-cart-item-meta{color:var(--muted);font-size:.86rem}
.p-cart-item-price{text-align:right;font-weight:600;color:var(--ink);font-variant-numeric:tabular-nums;white-space:nowrap}
.p-cart-item-price small{display:block;font-weight:500;color:var(--muted);font-size:.78rem}
.p-cart-sub{list-style:none;margin:.7rem 0 0;padding:.6rem 0 0;border-top:1px dashed var(--border);display:flex;flex-direction:column;gap:.3rem;font-size:.86rem;color:var(--muted)}
.p-cart-sub li{display:flex;justify-content:space-between;gap:1rem}
.p-cart-sub li span:last-child{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.p-cart-item-foot{display:flex;justify-content:flex-end;margin-top:.6rem}
.p-cart-item-foot form{margin:0}
.p-coupon{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap;margin:.6rem 0}
/* `font:inherit` resets line-height as well as size and weight, so this field was taking the body's
   PROSE line-height (1.6) while every other field keeps the browser's own. Measured in Chromium with
   the shipped fonts: 49.4px standing beside its 44px Apply button - and 43.3 beside 44.3 before the
   one scale, so the pass meant to line a field up with a button made this row five times worse. The
   three fields that use the shorthand say `line-height:normal` after it, which is what the fields
   that do not use it already have (review of lane uiscale, 14 Nov 2026). */
.p-coupon input{flex:1 1 9rem;min-width:0;background-color:var(--field-bg);border:1.5px solid var(--field-border);border-radius:var(--radius-ctl);padding:var(--p-fld-pad);font:inherit;line-height:normal;font-size:var(--p-ctl-fs);color:var(--ink);min-height:var(--p-ctl-h)}
.p-coupon input:focus{outline:none;border-color:var(--brand)}
.p-coupon-err{color:var(--bad);font-size:.86rem;font-weight:600}
.p-summary .p-choice{font-size:.86rem}
.p-summary-discount{color:var(--ok)}
.p-summary-actions{display:flex;flex-direction:column;gap:.5rem;margin-top:.8rem}
/* The cart changed where it stands (29 Oct 2026, board G26 row 487): how many, how often and a domain's
   years on each line; with the script the Update buttons go and the - / + buttons come (data-js). */
.p-cart-item-foot{flex-wrap:wrap;align-items:center;gap:.6rem 1rem}
.p-cart-remove{margin-left:auto}
.p-cart-controls{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem .7rem;min-width:0}
.p-qty{display:inline-flex;align-items:stretch;background:var(--field-bg);border:1.5px solid var(--field-border);border-radius:var(--radius-ctl);overflow:hidden}
.p-qty:focus-within{border-color:var(--brand)}
.p-qty-btn{min-width:var(--p-ctl-sm-h);min-height:var(--p-ctl-sm-h);border:0;background:transparent;color:var(--ink);font-family:var(--font-t);font-size:1.15rem;font-weight:600;line-height:1;cursor:pointer}
.p-qty-btn:hover:not(:disabled){background:var(--surface-2)}
.p-qty-btn:disabled{color:var(--muted);cursor:not-allowed}
.p-qty-input{width:3.6rem;min-height:var(--p-ctl-sm-h);border:0;background:transparent;color:var(--ink);font-family:var(--font-t);font-size:.95rem;font-weight:600;text-align:center;-moz-appearance:textfield;appearance:textfield}
.p-qty-input::-webkit-outer-spin-button,.p-qty-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.p-qty-input:focus{outline:none}
.p-cart-term{color:var(--muted);font-size:.85rem;font-weight:600}
.p-cart-select{flex:0 1 auto;max-width:17rem}
.p-cart:not([data-js]) .p-qty-btn{display:none}
.p-cart[data-js] .p-cart-update{display:none}
.p-cart-live:not(:empty){margin:0 0 1rem;padding:var(--p-pad-inset);border-radius:var(--p-r-inset);font-size:.9rem;font-weight:600;background:var(--ok-soft);border:1px solid var(--ok-line);color:var(--ok)}
.p-cart-live.is-err:not(:empty){background:var(--bad-soft);border-color:var(--bad-line);color:var(--bad)}
.p-cart[aria-busy="true"] [data-rx-cart-region="totals"],.p-cart[aria-busy="true"] [data-rx-cart-region="items"]{opacity:.6;transition:opacity .15s}
.p-cart [data-rx-cart-region="items"]:focus{outline:none}
/* The domain search's answer: the name asked for first, large; the other extensions below. */
.dom-exact{display:flex;flex-wrap:wrap;align-items:center;gap:1rem 1.5rem;background:var(--surface);border:2px solid var(--border);border-radius:var(--radius-lg);padding:var(--p-pad-feature);margin:1.5rem 0 1rem}
.dom-exact.is-available{border-color:var(--ok)}
.dom-exact-main{flex:1 1 16rem;min-width:0;display:flex;flex-direction:column;gap:.3rem}
.dom-exact-name{font-family:var(--font-d);font-size:clamp(1.25rem,3vw,1.6rem);font-weight:600;color:var(--ink);overflow-wrap:anywhere;line-height:1.15}
.dom-exact-price{font-family:var(--font-d);font-size:1.5rem;font-weight:600;color:var(--ink);white-space:nowrap}
.dom-more-title{font-family:var(--font-d);font-size:1.1rem;font-weight:600;color:var(--ink);margin:1.2rem 0 .3rem}
/* Domain page: each part on its own card, with the switch rows. */
.p-switch-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.6rem 1rem;padding:.7rem 0;border-bottom:1px solid var(--border)}
.p-switch-row:last-child{border-bottom:0}
.p-switch-row form{margin:0}
.p-switch-text{display:flex;flex-direction:column;gap:.1rem;min-width:0}
.p-switch-name{font-weight:600;color:var(--ink)}
.p-switch-help{color:var(--muted);font-size:.85rem}
.p-ns-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(14rem,100%),1fr));gap:0 .9rem}
.p-tools{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(15rem,100%),1fr));gap:.8rem}
.p-tool{display:flex;flex-direction:column;gap:.2rem;border:1.5px solid var(--border);border-radius:var(--p-r-inset);padding:var(--p-pad-inset);color:var(--ink);background:var(--surface)}
.p-tool:hover{border-color:var(--brand)}
.p-tool-name{font-weight:600;color:var(--ink)}
.p-tool-text{font-size:.85rem;color:var(--muted)}
/* Pages written before the token set that drew their own colours (KB, announcements, contacts, sub-users, profile). */
.p-list-link{display:block;padding:.55rem 0;border-bottom:1px solid var(--border)}
.p-list-link:last-child{border-bottom:0}
.p-kb-search{flex:1;background-color:var(--field-bg);border:1.5px solid var(--field-border);border-radius:var(--radius-ctl);padding:var(--p-fld-pad);font-size:var(--p-ctl-fs);color:var(--ink);min-height:var(--p-ctl-h);max-width:var(--p-fld-max)}
/* .p-kb-cat was declared twice with two sizes - .9rem/1rem and a --radius-ctl corner here, 1rem/
   1.1rem and a --radius corner further down. The later one always won, so this one only ever set
   text-decoration on a <div>; it is gone (14 Nov 2026, board S22-UISCALE). */
/* The weight is set once, on the .p-kb-cat-name further down (the category card's own block): a
   700 here was overridden by that 800 and only told a reader the wrong thing (review of lane
   uiscale, 14 Nov 2026). */
.p-kb-cat-name{display:block;color:var(--ink)}
.p-article{font-size:.95rem;line-height:1.65;color:var(--text)}
.p-article-foot{margin-top:1.6rem;padding-top:1rem;border-top:1px solid var(--border);font-size:.9rem;color:var(--muted)}
/* The help centre (25 Oct 2026, matrix row 472; direction C): search first, topic cards, article rows,
   a reading column with its topic's other articles beside it, and a way to a person. Tokens only. */
.p-kb{width:100%}
.p-kb-hero{margin:0 0 2rem}
.p-kb-hero .h-search{margin-top:.2rem}
.p-kb-section{margin:0 0 2.2rem}
.p-kb-section-title{font-size:1.2rem;font-weight:600;margin:0 0 .8rem;color:var(--ink)}
.p-kb-back{margin:1rem 0 0}
.p-kb-cats{display:grid;grid-template-columns:repeat(auto-fill,minmax(15rem,1fr));gap:.9rem}
.p-kb-cat{display:flex;flex-direction:column;gap:.35rem;background:var(--surface);border:1.5px solid var(--border);border-radius:var(--radius);padding:var(--p-pad-card);min-width:0}
.p-kb-cat:hover{border-color:var(--ink)}
.p-kb-cat-name{font-weight:600;font-size:1.02rem;color:var(--ink);text-decoration:none;overflow-wrap:anywhere}
.p-kb-cat-name:hover{text-decoration:underline}
.p-kb-cat-desc{margin:0;color:var(--text);font-size:.9rem}
.p-kb-cat-meta{margin:0;color:var(--muted);font-size:.82rem}
.p-kb-cat-subs{list-style:none;margin:.3rem 0 0;padding:.5rem 0 0;border-top:1px solid var(--border);display:flex;flex-direction:column;gap:.25rem;font-size:.88rem}
.p-kb-list{display:flex;flex-direction:column;background:var(--surface);border:1.5px solid var(--border);border-radius:var(--radius);overflow:hidden}
.p-kb-item{display:flex;flex-direction:column;gap:.2rem;padding:var(--p-gutter-y) var(--p-gutter);border-bottom:1px solid var(--border);text-decoration:none;min-width:0}
.p-kb-item:last-child{border-bottom:0}
.p-kb-item:hover{background:var(--surface-2)}
.p-kb-item-title{font-weight:600;color:var(--ink);overflow-wrap:anywhere}
.p-kb-item-text{color:var(--text);font-size:.9rem;overflow-wrap:anywhere}
.p-kb-item-meta{color:var(--muted);font-size:.8rem;margin:0}
.p-kb-layout{display:grid;grid-template-columns:minmax(0,1fr) 17rem;gap:2rem;align-items:start;margin:0 0 2.2rem}
.p-kb-main{min-width:0}
.p-kb-main .p-h1{margin:0 0 .3rem}
.p-kb-main .p-article{margin-top:1.4rem}
.p-kb-aside{background:var(--surface);border:1.5px solid var(--border);border-radius:var(--radius);padding:var(--p-pad-card);position:sticky;top:5rem}
.p-kb-aside-title{font-size:.95rem;font-weight:600;margin:0 0 .4rem;color:var(--ink)}
.p-kb-tags{display:flex;flex-wrap:wrap;gap:.4rem;margin:1.6rem 0 0}
.p-kb-tag{display:inline-flex;align-items:center;min-height:32px;padding:.2rem .75rem;border-radius:999px;background:var(--surface-2);border:1px solid var(--border);color:var(--ink);font-size:.84rem;font-weight:600;text-decoration:none;overflow-wrap:anywhere}
.p-kb-tag:hover{border-color:var(--ink)}
.p-kb-tag-topic{background:transparent}
.p-kb-vote{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin:1.6rem 0 0;padding-top:1rem;border-top:1px solid var(--border)}
.p-kb-still{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem;background:var(--surface);border:1.5px solid var(--border);border-radius:var(--radius);padding:var(--p-pad-card)}
.p-kb-still-title{font-size:1.1rem;font-weight:600;margin:0 0 .2rem;color:var(--ink)}
.p-kb-still-text{margin:0;color:var(--text);font-size:.92rem}
.p-kb-still-actions{display:flex;flex-wrap:wrap;gap:.6rem}
@media (max-width:860px){.p-kb-layout{grid-template-columns:minmax(0,1fr)}.p-kb-aside{position:static}}
/* An article written in Markdown: headings, lists, code, quotes, tables and images that fit the column. */
.p-article h2{font-size:1.35rem;font-weight:600;margin:1.6rem 0 .6rem;color:var(--ink)}
.p-article h3{font-size:1.12rem;font-weight:600;margin:1.3rem 0 .5rem;color:var(--ink)}
.p-article h4{font-size:1rem;font-weight:600;margin:1.1rem 0 .4rem;color:var(--ink)}
.p-article p{margin:0 0 .9rem}
.p-article ul,.p-article ol{margin:0 0 .9rem;padding-left:1.4rem}
.p-article li{margin:.2rem 0}
.p-article a{color:var(--brand-deep);text-decoration:underline}
.p-article code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.88em;background:var(--surface-2);border:1px solid var(--border);border-radius:5px;padding:.05rem .3rem;overflow-wrap:anywhere}
.p-article pre{background:var(--surface-2);border:1px solid var(--border);border-radius:var(--p-r-inset);padding:var(--p-pad-inset);overflow-x:auto;margin:0 0 .9rem}
.p-article pre code{background:transparent;border:0;padding:0;font-size:.85rem}
.p-article blockquote{margin:0 0 .9rem;padding:.4rem 1rem;border-left:3px solid var(--border);color:var(--muted)}
.p-article img{max-width:100%;height:auto;border-radius:var(--radius-ctl);border:1px solid var(--border)}
.p-article table{width:100%;border-collapse:collapse;margin:0 0 .9rem;font-size:.9rem;display:block;overflow-x:auto}
.p-article th,.p-article td{border:1px solid var(--border);padding:.4rem .6rem;text-align:left}
.p-article hr{border:0;border-top:1px solid var(--border);margin:1.4rem 0}
.p-news-row{padding:1rem 0;border-bottom:1px solid var(--border)}
.p-mini-label{display:block;font-size:.82rem;color:var(--muted);margin-bottom:.2rem}
/* line-height:normal after font:inherit - see .p-coupon input above for why. */
.p-mini-input{width:100%;padding:var(--p-fld-pad);border:1.5px solid var(--field-border);border-radius:var(--radius-ctl);background-color:var(--field-bg);color:var(--ink);font:inherit;line-height:normal;font-size:var(--p-ctl-fs);min-height:var(--p-ctl-h)}
.p-mini-input:focus{outline:none;border-color:var(--brand);background-color:var(--field-focus)}
.p-text-bad{color:var(--bad)}
.p-text-ok{color:var(--ok)}
.p-text-warn{color:var(--warn)}
.p-row-sep{border-top:1px solid var(--border);padding-top:1rem}
.p-qr{width:184px;height:184px;background:var(--qr-bg);border:1px solid var(--border);border-radius:var(--radius-ctl);display:flex;align-items:center;justify-content:center;padding:6px}
.p-ok-dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:var(--ok)}
.p-th-soft{background:var(--thead);font-weight:600;font-size:.85rem;color:var(--muted)}
.p-whois{display:none;margin-top:.5rem;font-size:.85rem;color:var(--text);background:var(--surface-2);border:1px solid var(--border);border-radius:var(--p-r-inset);padding:var(--p-pad-inset)}
.p-whois.is-open{display:block}
.p-whois strong{color:var(--ink)}
/* An email as the client received it (24 Oct 2026, board G26 row 481): a sandboxed frame. */
.p-email-frame{display:block;width:100%;height:70vh;border:1.5px solid var(--border);border-radius:12px;background:var(--qr-bg);margin-top:1rem}
/* Picture previews on a ticket (25 Oct 2026, board G26 row 444): small copies made on the server; the full file opens on a click. */
.p-attach-thumbs{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.7rem}
.p-attach-thumb{display:block;border:1px solid var(--border);border-radius:var(--radius-ctl);overflow:hidden;background:var(--surface);line-height:0}
.p-attach-thumb img{display:block;max-width:160px;max-height:120px;width:auto;height:auto}
.p-attach-thumb:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
/* Board G26 batch 2f (25 Oct 2026): a product's colour as its card's accent (row 2) - a stripe, never text. */
.p-product.p-product-accent{border-top:4px solid var(--p-product-accent,var(--brand))}
.p-list-row.p-product-accent{border-left:4px solid var(--p-product-accent,var(--brand))}
/* Order questions and a server's details on the configure step (board G26 rows 0, 17): full-width inputs, each error under its field. */
.p-config-input{display:block;width:100%;min-width:0;background-color:var(--field-bg);border:1.5px solid var(--field-border);border-radius:var(--radius-ctl);padding:var(--p-fld-pad);font-family:var(--font-t);font-size:var(--p-ctl-fs);color:var(--ink);min-height:var(--p-ctl-h)}
.p-config-input:focus{outline:none;border-color:var(--brand);background:var(--field-focus)}
.p-field-err{display:block;margin-top:.3rem;font-size:.82rem;font-weight:600;color:var(--bad)}
/* A module's own commands on the client's service page (board G26 row 344). */
.p-module-buttons{display:flex;flex-wrap:wrap;gap:.5rem}
.p-module-buttons form{margin:0}
/* Shortcuts into the control panel's own pages, by group (29 Oct 2026, matrix row 490): tiles, two to a row on a phone. */
.p-shortcuts-group + .p-shortcuts-group{margin-top:1rem}
.p-shortcuts-title{font-size:.78rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);margin:0 0 .45rem}
.p-shortcuts{display:grid;grid-template-columns:repeat(auto-fill,minmax(148px,1fr));gap:.55rem}
.p-shortcuts form{margin:0;display:flex}
.p-shortcut{display:flex;align-items:center;gap:.6rem;width:100%;min-height:var(--p-ctl-h);padding:var(--p-pad-inset);border:1.5px solid var(--border);border-radius:var(--p-r-inset);background:var(--surface);color:var(--ink);font-family:var(--font-t);font-size:var(--p-ctl-sm-fs);font-weight:var(--p-ctl-sm-w);text-align:left;cursor:pointer;overflow-wrap:anywhere}
.p-shortcut:hover{border-color:var(--brand);background:var(--brand-soft)}
.p-shortcut:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
.p-shortcut svg{width:22px;height:22px;flex:none;stroke:var(--brand-deep);fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
@media (max-width:420px){.p-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* An affiliate's links to a plan (board G26 row 374): one group to a fold. */
.p-aff-plans{border-top:1px solid var(--border);padding:.6rem 0}
.p-aff-plans summary{cursor:pointer;font-weight:600;color:var(--ink);padding:.2rem 0}
.p-aff-plans .field{margin-top:.6rem}
/* The consent banner and Cookie settings (30 Oct 2026, board S19-CONSENT): at the foot of the window,
   first in the page for keyboard and screen-reader users; accepting and refusing weigh the same; every
   colour a token, so both themes and every look hold; at a phone's width the buttons stack, full width.
   The banner's script sets --p-consent-h, so the page's end and the help chat stay clear of it. */
.p-consent{position:fixed;left:0;right:0;bottom:0;z-index:80;padding:0 1rem 1rem;pointer-events:none}
.p-consent[hidden]{display:none}
.p-consent-box{pointer-events:auto;max-width:56rem;margin:0 auto;background:var(--surface);color:var(--text);border:1.5px solid var(--border-strong);border-radius:var(--radius);box-shadow:0 18px 48px rgb(var(--shadow) / .22);padding:var(--p-pad-card);max-height:min(75vh,38rem);overflow-y:auto}
.p-consent-title{font-family:var(--font-d);font-size:1.05rem;font-weight:600;color:var(--ink);margin:0 0 .35rem}
.p-consent-text{font-size:.9rem;line-height:1.55;margin:0;color:var(--text)}
.p-consent-text .p-link{margin-left:.25rem}
.p-consent-more{margin-top:.6rem}
.p-consent-more > summary{cursor:pointer;font-weight:600;font-size:.88rem;color:var(--brand-deep);width:max-content;max-width:100%;padding:.2rem 0}
.p-consent-more > summary:focus-visible{outline:2px solid var(--ink);outline-offset:2px;border-radius:4px}
.p-consent-kinds{border:0;margin:.4rem 0 .6rem;padding:0;display:flex;flex-direction:column;gap:.1rem;min-width:0}
.p-consent-legend{font-weight:600;color:var(--ink);font-size:.95rem;padding:0;margin-bottom:.3rem}
.p-consent-kind{flex-wrap:nowrap}
.p-consent-kind > span{flex:1 1 0}
.p-consent-kind strong{display:block;color:var(--ink)}
.p-consent-kind small{display:block;color:var(--muted);font-size:.82rem;line-height:1.45}
.p-consent-save{margin-top:.2rem}
.p-consent-actions{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:.9rem}
.p-consent-actions .btn,.p-consent-actions .p-btn-line{flex:1 1 10rem}
.p-consent .p-btn-line:focus-visible,.p-consent-page .p-btn-line:focus-visible,.p-consent-page .btn:focus-visible{outline:3px solid var(--brand);outline-offset:2px}
.p-consent-open body{padding-bottom:var(--p-consent-h,0px)}
.p-consent-open .p-help-chat{bottom:calc(1.25rem + var(--p-consent-h,0px))}
/* Review of lane fu2 (30 Oct 2026, seen at 390 px): a link given focus is scrolled clear of the banner, never
   left under it (WCAG 2.4.11); and without a script - which measures the banner to keep the page clear of it -
   the banner stays in the page's flow, first after the skip link, so the foot of the page is never under it. */
.p-consent-open{scroll-padding-bottom:var(--p-consent-h,0px)}
html:not(.p-consent-open) .p-consent{position:static;padding:1rem 1rem 0}
.p-app-foot{max-width:1180px;margin:0 auto;padding:.5rem 1.5rem 2rem;text-align:center;color:var(--muted);font-size:.85rem}
@media (max-width:480px){.p-consent{padding:0 .5rem .5rem}.p-consent-box{padding:1rem .95rem}.p-consent-actions .btn,.p-consent-actions .p-btn-line{flex-basis:100%}.p-consent-open .p-help-chat{bottom:calc(.75rem + var(--p-consent-h,0px))}}
/* ===== The server console (12 Nov 2026, board S20-VNC): a window of its own - a bar, and the server's screen drawn by
   the noVNC viewer the product ships (public/vendor/novnc). The screen fills what the bar leaves; the viewer scales the
   server's picture to it. ===== */
.p-console-page{margin:0;height:100vh;height:100dvh;display:flex;flex-direction:column;background:var(--bg);color:var(--text);font-family:var(--font-t)}
.p-console-bar{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem 1.1rem;padding:.65rem 1rem;background:var(--surface);border-bottom:1px solid var(--border)}
.p-console-title{display:flex;flex-direction:column;min-width:0;flex:1 1 12rem}
.p-console-title strong{font-family:var(--font-d);font-size:1.02rem;color:var(--ink);overflow-wrap:anywhere}
.p-console-sub{font-size:.8rem;color:var(--muted)}
.p-console-tools{display:flex;flex-wrap:wrap;align-items:center;gap:.45rem}
.p-console-tools .p-logout:disabled{opacity:.55;cursor:not-allowed}
.p-console-tools [hidden]{display:none}
.p-console-note{margin:0;padding:.65rem 1rem;font-size:.9rem;color:var(--text);background:var(--surface-2);border-bottom:1px solid var(--border)}
.p-console-note.is-bad{background:var(--bad-soft);color:var(--bad)}
.p-console-screen{position:relative;flex:1 1 auto;min-height:0;overflow:hidden;background:var(--bg)}
.p-console-screen:focus-visible{outline:3px solid var(--brand);outline-offset:-3px}
/* A console given as VNC details (review of lane vps2): the details on the page, for a VNC viewer - no screen to draw. */
.p-console-details{flex:1 1 auto;overflow:auto;padding:1.25rem 1rem}
.p-console-details .p-panel{max-width:40rem;margin:0 auto}
@media (max-width:600px){.p-console-bar{padding:.55rem .75rem}.p-console-tools{width:100%}.p-console-details{padding:1rem .75rem}.p-console-details .p-vps-detail{grid-template-columns:1fr;gap:.2rem}.p-console-details .p-vps-detail dd{margin-bottom:.5rem}}
/* A phone's keyboard and the special keys (13 Nov 2026, board S21-VNCKEYS): a row under the bar, keys big enough to tap,
   wrapping at a phone's width; Ctrl and Alt show while they are held for the next key. The hidden field that raises the
   screen keyboard shows nothing: at the top, so taking the focus scrolls nothing away, and its 16px text keeps iOS from
   zooming in. */
.p-console-keys{display:flex;flex-wrap:wrap;align-items:center;gap:.35rem;padding:.45rem 1rem;background:var(--surface);border-bottom:1px solid var(--border)}
.p-console-keys[hidden]{display:none}
/* 2.75rem is --p-ctl-h to the pixel; on the token the key cannot drift away from the floor on its
   own (review of lane uiscale, 14 Nov 2026). */
.p-console-key{min-width:var(--p-ctl-h);min-height:var(--p-ctl-h);padding:.35rem .65rem;border:1px solid var(--border-strong);border-radius:8px;background:var(--surface-2);color:var(--ink);font-family:inherit;font-weight:600;font-size:.9rem;line-height:1;cursor:pointer;touch-action:manipulation;-webkit-user-select:none;user-select:none}
.p-console-key:hover{border-color:var(--field-border)}
.p-console-key:focus-visible{outline:3px solid var(--brand);outline-offset:2px}
.p-console-key[aria-pressed="true"]{background:var(--brand-deep);border-color:var(--brand-deep);color:var(--on-brand)}
.p-console-key:disabled{opacity:.55;cursor:not-allowed}
.p-console-tools .p-logout[aria-pressed="true"]{background:var(--brand-deep);border-color:var(--brand-deep);color:var(--on-brand)}
.p-console-typing{position:fixed;left:0;top:0;width:1px;height:1px;margin:0;padding:0;border:0;opacity:0;resize:none;overflow:hidden;font-size:16px;color:transparent;background:transparent;caret-color:transparent;pointer-events:none}
@media (max-width:600px){.p-console-keys{padding:.4rem .75rem}}
/* ===== A panel with a border and a rounded corner never has zero padding =====================
   (owner, 14 Nov 2026, board S22-UISCALE: on the domain registration page the label "Registration
   period", its dropdown, the sentence under it and both buttons sat hard against the panel's
   edges.) .p-panel is a FLUSH FRAME by design - a head with a divider across it, a table with its
   own 1.4rem cells, a list of rows - so each of those sections carries the gutter itself. Counted
   in the templates: of 112 panels, 20 hold nothing but loose content and 24 put loose content
   beside a flush section; in both cases that content had no gutter at all. Two rules fix every
   page, and neither can double a padding or overflow the panel:
   1. a panel holding no flush section carries the gutter itself, as PADDING - so a field at
      width:100% still fits inside it;
   2. beside a flush section, each loose child takes the gutter as a MARGIN - so a child with a
      padding of its own is not padded twice. A form control is left out of (2): a margin on a
      width:100% control would push its right edge past the panel.
   The four panel classes that carry a padding of their own are left alone. */
.p-panel:not(.p-card-pad,.p-manage-role,.p-summary,.p-form):not(:has(> .p-panel-head,> .p-empty,> .p-table,> .p-form,> .svc-row,> .p-config-section,> .p-rows,> .p-row,> .p-detail,> .p-vps-detail,> .p-ssl-steps,> .p-statement-filter,> .p-ssl-key,> table,> iframe)){
  padding:var(--p-gutter-y) var(--p-gutter);
}
.p-panel:not(.p-card-pad,.p-manage-role,.p-summary,.p-form) > :not(.p-panel-head,.p-empty,.p-table,.p-form,.svc-row,.p-config-section,.p-rows,.p-row,.p-detail,.p-vps-detail,.p-ssl-steps,.p-statement-filter,.p-ssl-key,table,iframe,script,style,template,input,select,textarea,.p-input,.p-select,.p-textarea,.p-mini-input):not(:has(.p-panel-head,.p-table,.p-form,.svc-row,.p-config-section,.p-row,.p-detail)){
  margin-left:var(--p-gutter);margin-right:var(--p-gutter);
}
/* ...AND THE LAST ONE TAKES IT AT THE BOTTOM (17 Nov 2026, board S27-BTNEDGE). Rule 2 above
   insets loose content left and right and says nothing about the bottom, so a panel whose last
   child is loose ended flush with its own border: 'Enable two-factor' and 'Request account
   deletion' sat 1.3px above it - the border itself - at every width, while every other panel on
   that page left 22.1px. The bottom inset must not depend on the last child remembering to be a
   .p-form; twice it did not. Rule 2's selector plus :last-child - AND rule 1's condition turned
   round, so this only ever meets a panel rule 1 did NOT pad. Measured first without that
   condition: the Wallet's and Contacts' last panels went from 22px to 43px, which is the very
   doubling the comment above promises cannot happen. A rule is proved by measuring every page
   it can reach, not the page that prompted it. */
.p-panel:not(.p-card-pad,.p-manage-role,.p-summary,.p-form):has(> .p-panel-head,> .p-empty,> .p-table,> .p-form,> .svc-row,> .p-config-section,> .p-rows,> .p-row,> .p-detail,> .p-vps-detail,> .p-ssl-steps,> .p-statement-filter,> .p-ssl-key,> table,> iframe) > :not(.p-panel-head,.p-empty,.p-table,.p-form,.svc-row,.p-config-section,.p-rows,.p-row,.p-detail,.p-vps-detail,.p-ssl-steps,.p-statement-filter,.p-ssl-key,table,iframe,script,style,template,input,select,textarea,.p-input,.p-select,.p-textarea,.p-mini-input):not(:has(.p-panel-head,.p-table,.p-form,.svc-row,.p-config-section,.p-row,.p-detail)):last-child{
  margin-bottom:var(--p-gutter-y);
}
/* AND THE FIRST ONE TAKES IT AT THE TOP (17 Nov 2026, owner, board S27-TOPGAP). Their words:
   "No gap above the first line, it almost touches the line. I already mentioned this task
   earlier." They had: this is the same grammar from the other end, and this morning only its
   bottom half was written. MEASURED on the deployed page: the Privacy panel's head ends at
   y=487 and its first row starts at y=487 - nothing between the divider and the words.
   It is written as "the loose element immediately after the head" rather than :first-child,
   because the head IS the first child; and it carries rule 1's condition turned round, exactly
   as the bottom half does, so it can only ever meet a panel that rule 1 did not already pad. */
.p-panel:not(.p-card-pad,.p-manage-role,.p-summary,.p-form):has(> .p-panel-head,> .p-empty,> .p-table,> .p-form,> .svc-row,> .p-config-section,> .p-rows,> .p-row,> .p-detail,> .p-vps-detail,> .p-ssl-steps,> .p-statement-filter,> .p-ssl-key,> table,> iframe)
  > .p-panel-head + :not(.p-panel-head,.p-empty,.p-table,.p-form,.svc-row,.p-config-section,.p-rows,.p-row,.p-detail,.p-vps-detail,.p-ssl-steps,.p-statement-filter,.p-ssl-key,table,iframe,script,style,template,input,select,textarea,.p-input,.p-select,.p-textarea,.p-mini-input):not(:has(.p-panel-head,.p-table,.p-form,.svc-row,.p-config-section,.p-row,.p-detail)){
  margin-top:var(--p-gutter-y);
}

/* ===== The client area's dropdowns are ours, not the browser's (14 Nov 2026, S22-UISCALE) =====
   Owner, of the cart's "Register for": the dropdown looks generic. Measured: every select on the
   client side computed appearance:auto, so the browser drew the arrow and the box was the only
   part that carried our look. The arrow below is drawn from two gradients rather than an SVG,
   because a data: URI cannot read a variable and this one has to be a token in every theme and
   every look. The field keeps room on its right so a long option never runs under the arrow, and
   keeps the field's own focus ring. It stays a real <select>: no list of ours, no script, nothing
   about its behaviour changed - on a phone the operating system's own picker is the right answer
   (the owner's decision, 14 Nov 2026). A multiple select is a list box, not a dropdown. */
select.p-select:not([multiple]),
select.fi-input:not([multiple]),
select.p-mini-input:not([multiple]),
select.p-input:not([multiple]),
select.p-config-input:not([multiple]),
.field select:not([multiple]),
.auth-form .field select:not([multiple]){
  -webkit-appearance:none;appearance:none;
  padding:var(--p-fld-pad-select);
  background-image:linear-gradient(45deg,transparent 50%,var(--muted) 50%),linear-gradient(135deg,var(--muted) 50%,transparent 50%);
  background-position:calc(100% - 1.3rem) calc(50% - 1px),calc(100% - .95rem) calc(50% - 1px);
  background-size:.4rem .4rem,.4rem .4rem;
  background-repeat:no-repeat;
}
/* ...and where a gradient is not painted, the browser draws the arrow again. In forced colours
   (Windows High Contrast, and Chrome's and Firefox's own high-contrast modes) the user agent forces
   background-image to none for every value that is not a url() - CSS Color Adjust 1, "Forced Color
   Palettes" - and it does NOT force appearance back, so an appearance:none select would be a bare
   rectangle with nothing at all to say that it opens: on every dropdown a client meets, the cart's
   billing cycle and the checkout's country among them, where before this pass the browser drew its
   own. Handing the native control back is the whole fix (review of lane uiscale, 14 Nov 2026). */
@media (forced-colors: active){
  select.p-select:not([multiple]),
  select.fi-input:not([multiple]),
  select.p-mini-input:not([multiple]),
  select.p-input:not([multiple]),
  select.p-config-input:not([multiple]),
  .field select:not([multiple]),
  .auth-form .field select:not([multiple]){
    -webkit-appearance:auto;appearance:auto;
    background-image:none;
    padding:var(--p-fld-pad);
  }
}
/* A field people type a few words into stops growing: --p-fld-max. The client side's three search
   fields are each already bounded - .p-kb-search by itself, the domain search and the home page's
   by the bar around them - so there is no helper class here to add to one that is not. */
/* The checkout's account step: one choice, then one side (owner, 14 Nov 2026, board S22-ACCTONE - "No point in
   showing both"). The choice is plain radio inputs and THESE RULES are what open a side, so the opening needs no
   script of its own: [data-js] only says a script is there, and without one both sides stand open and both work,
   as they did before. The shut side keeps its box - nothing is removed, so a switch made in the page keeps every
   field as it was, and a bot-check widget in it has a real box, so one that solves itself is ready
   before it is shown (one that needs a click cannot be, because pointer-events:none - the buyer
   simply solves it when the side opens, and the theme watcher re-asks it then: review of lane
   botcheck, 14 Nov 2026). KEEP visibility:hidden here: that is the signal the bot check reads to
   know it must not draw itself again where nobody can see it. opacity:0, a transform or clip-path
   would leave it a client rect, and the widget would be re-drawn inside an unclickable box -
   clipped to no height so it costs the page nothing, with visibility:hidden taking it out of the tab order and
   out of what a screen reader reads. A browser without :has() shows both, which is the behaviour this replaces. */
.p-acct-choice{border:0;margin:0 0 1.3rem;padding:0;min-width:0}
.p-acct-opts{display:grid;grid-template-columns:repeat(auto-fit,minmax(16rem,1fr));gap:.6rem}
.p-acct-side{min-width:0;max-width:40rem}
[data-rx-acct-side="signin"]{max-width:28rem}
[data-rx-acct][data-js]:has(.p-acct-opts input[value="signup"]:checked) [data-rx-acct-side="signin"],
[data-rx-acct][data-js]:has(.p-acct-opts input[value="signin"]:checked) [data-rx-acct-side="signup"]{height:0;overflow:hidden;visibility:hidden;pointer-events:none}

/* ===== The dropdown's OPEN LIST, drawn by us (owner, 14 Nov 2026, board S22-OPENLIST) ===========
   "No dropdown is fixed either. All look generic." The closed box had been ours since the scale
   lane; the list a native <select> opens is drawn by the OPERATING SYSTEM - white, square, its own
   font, its own blue - and no stylesheet can reach it. public/js/rx-select.js draws the list on
   devices with a real pointer and leaves the phone picker alone, and the real <select> stays in the
   page as the thing that posts. Everything below is in tokens, so all three looks and both themes
   follow with no second set of numbers. */
.rx-sel{position:relative;min-width:0}
/* The wrapper wears the control's own classes so its PLACE in a row is unchanged; the box is the
   button's job, so it is taken off the wrapper here. */
.rx-sel.p-select,.rx-sel.p-cart-select{background:none;background-image:none;border:0;padding:0;border-radius:0}
.rx-sel-native{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);border:0;white-space:nowrap}
.rx-sel-btn{display:flex;align-items:center;justify-content:space-between;gap:.6rem;width:100%;
  background-color:var(--field-bg);border:1.5px solid var(--field-border);border-radius:var(--radius-ctl);
  padding:var(--p-fld-pad);padding-right:var(--p-fld-pad-select-r);font-family:var(--font-t);
  font-size:var(--p-ctl-fs);color:var(--ink);min-height:var(--p-ctl-h);text-align:left;cursor:pointer}
.rx-sel-btn::after{content:"";flex:0 0 auto;width:.62rem;height:.62rem;margin-left:auto;
  border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);
  transform:translateY(-.18rem) rotate(45deg);transition:transform .12s ease}
.rx-sel.is-open .rx-sel-btn::after{transform:translateY(.08rem) rotate(225deg)}
/* A dropdown is a FIELD, so it takes the focus the fields take: the border goes brand and a soft
   halo stands behind it. The house's generic :focus-visible ring is 3px of brand - and this brand
   is red, so a hard ring around a form control reads as "this is wrong" rather than "you are here".
   Every other field in this stylesheet already suppresses that ring for the same reason; the button
   that stands in for a select was the one control still wearing it (owner, 14 Nov 2026: "I see this
   ring everywhere"). The halo keeps the indicator clearly visible, which WCAG 2.4.7 requires. */
.rx-sel-btn:focus-visible{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px color-mix(in srgb,var(--brand) 20%,transparent)}
.rx-sel.is-open .rx-sel-btn{border-color:var(--brand);background-color:var(--field-focus)}
.rx-sel.is-disabled .rx-sel-btn{opacity:.55;cursor:not-allowed}
.rx-sel-list{position:absolute;left:0;right:0;top:calc(100% + .35rem);z-index:60;margin:0;padding:var(--p-pad-list);
  list-style:none;max-height:17rem;overflow-y:auto;background-color:var(--surface);
  border:1px solid var(--border-strong);border-radius:var(--radius-ctl);
  box-shadow:0 10px 30px rgb(var(--shadow) / .22);font-family:var(--font-t);font-size:var(--p-ctl-fs)}
.rx-sel.is-up .rx-sel-list{top:auto;bottom:calc(100% + .35rem)}
.rx-sel-group{padding:.45rem .7rem .2rem;font-size:.8em;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}
.rx-sel-opt{display:flex;align-items:center;min-height:var(--p-ctl-sm-h);padding:var(--p-ctl-sm-pad);border-radius:var(--radius-ctl);font-size:var(--p-ctl-sm-fs);color:var(--text);cursor:pointer}
.rx-sel-opt.is-active{background-color:var(--surface-2);color:var(--ink)}
.rx-sel-opt[aria-selected="true"]{background-color:var(--brand-deep);color:var(--on-brand);font-weight:600}
.rx-sel-opt[aria-selected="true"].is-active{background-color:var(--brand-hover)}
.rx-sel-opt[aria-disabled="true"]{opacity:.5;cursor:not-allowed}
@media (prefers-reduced-motion:reduce){.rx-sel-btn::after{transition:none}}
/* A form that is ITSELF the row a tick sits in (17 Nov 2026, board S27-TICKFORM). The two
   consent forms on the Profile carried display:flex;gap:.6rem in a style attribute, where no
   stylesheet could reach them - so they kept .6rem while every other tick in the client area
   moved to --p-tick-gap. Sprint 26 unified the wrapper CLASSES; an element with no class was
   outside that enumeration, which is the lesson rather than the 2.4px. */
.p-tick-row{display:flex;align-items:flex-start;gap:var(--p-tick-gap);margin-bottom:1rem}

/* The two buttons at the foot of a domain form sit on ONE line and size to their words (owner,
   14 Nov 2026: "These 2 buttons look stupid honestly. Big and make no sense. Rather than that they
   can be in the same line."). The form is a flex COLUMN, so a button in it stretched the full
   460px and the secondary one stretched under it - two slabs where one line was wanted. They wrap
   onto two lines only when the words do not fit. */
.rx-domreg-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem}
.rx-domreg-actions > *{flex:0 0 auto}
/* And on one row they are one height: measured on the live page, the primary was 44px and the
   secondary 40px beside it - the same four pixels the owner complained of on the coupon row. */
.rx-domreg-actions > *{min-height:var(--p-ctl-h)}

/* ONE ROW, ONE HEIGHT (14 Nov 2026, board S22-ROWPAIR).
   The owner's words were "all buttons to be reviewed too", and what was left on the page after the
   scale pass was a 40 beside a 44: MEASURED on the cart's coupon row, the field 44.0px and the
   "Apply coupon" button 40.0px, tops two pixels apart inside the same .p-coupon. The review that
   reported the row fixed had measured the field against .btn, while the button there is a
   .p-btn-ghost - the small tier. And no stylesheet guard could see it, because a stylesheet never
   says that THIS field and THAT button stand side by side; only the markup does.
   ControlRowPairTest now reads the templates and asks the question where the answer lives; it found
   twelve more rows of the same shape, none of which anyone had looked at.
   THE RULE, so there is nothing to decide row by row: a row takes the tier of its TALLEST control.
   Raising the shorter one never shrinks a target, and the scale has only two tiers to choose from. */
.p-coupon .p-btn-ghost,
.p-inline-add .p-btn-ghost,
.p-error-actions .p-btn-ghost,
.p-aff-link .p-btn-ghost,
.p-aff-link .p-btn-sm,
.p-statement-filter .p-btn-ghost,
.p-reply-actions .p-btn-ghost,
.p-cart-controls .p-btn-ghost,
.h-hero-actions .p-btn-ghost,
.p-site-actions .p-btn-sm,
.p-row-action .p-btn-sm,
.p-user .p-logout{min-height:var(--p-ctl-h)}

/* ============================================================================================
   THE BLUE FLASH ON A PHONE (the owner, 15 Nov 2026, board S23-TAP). Tapping anything - a button,
   an icon, a link - painted a translucent blue rectangle over the whole element for a moment. It
   was nobody's rule: neither stylesheet said anything about it, so the browser's own
   -webkit-tap-highlight-color applied, and on Android Chrome that default is blue. Found by
   looking for the rule and finding none.
   It is switched off and REPLACED rather than simply removed, because a tap with no answer at all
   feels broken: on a touch device the thing being pressed dips a little and dims for as long as
   the finger is down. That runs only where there is no hover (a phone or tablet), so a mouse is
   untouched, and it stops for a reader who has asked for less motion.
   ============================================================================================ */
html{ -webkit-tap-highlight-color:transparent }
@media (hover:none){
  a:active,button:active,summary:active,[role="button"]:active,label:active,
  input[type="submit"]:active,input[type="button"]:active{ opacity:.72 }
}
@media (hover:none) and (prefers-reduced-motion:no-preference){
  a:active,button:active,summary:active,[role="button"]:active{ transform:scale(.97);transition:transform .08s ease-out }
}

/* The browser makes strong/b 700 of its own accord, which no stylesheet sweep can see
   (the owner, 15 Nov 2026: nothing bolder than 600 anywhere). Found by measuring the rendered
   page, not by reading the CSS - eleven elements were still 650 or 700 after the sweep. */
strong,b{font-weight:600}

/* THE PAGE COLUMN PROVIDES THE GAP BETWEEN BLOCKS; A BLOCK MAY STILL OVERRIDE IT. The owner,
   15 Nov 2026, with a screenshot of the client dashboard: "Why these components still has no gap
   between them?" - the services block and the block under it were touching.

   MEASURED CAUSE: .p-container is display:block and carries no gap of its own, so the rhythm
   held only while each block declared margin-bottom itself. The services block is a bare
   <section> with no class and declared none: it ended at y=487 and the next block began at
   y=487. So does .p-panel, which means two consecutive panels on a fuller dashboard would have
   touched as well - the same bug, not yet seen. That is board S22-STACKGAP in a second costume
   (there a plain <div wire:init> on three admin pages), so the cure belongs to the container,
   not to the one block that was wrong today.

   WHY :where(), WHICH IS THE WHOLE POINT OF THIS RULE. My first attempt was
   `.p-container > *:not(:last-child)`, specificity (0,2,1) - it beat every block's own
   declaration and silently inflated FOUR deliberately tighter relationships to 32px: a
   .p-h2 heading introducing the panel below it (0.7rem), .p-store-head (0.4rem), .p-tabs (1rem)
   and .p-stats (1.2rem). I then "verified" the pages at a uniform 32px, which was me reading my
   own override rather than the design. :where() contributes ZERO specificity, so any block that
   states its own margin keeps it and only a block that states nothing is given the default.
   Adjacent-sibling margins collapse to the larger of the two, so this can never add to a
   following block's margin-top either.

   Scoped to main > .p-container because the class is a page column 13 times and a FLEX ROW once:
   the public footer (.h-footer-inner), which is not inside <main>. Left off the last child so a
   page does not end in dead space. */
:where(main > .p-container > *:not(:last-child)){margin-bottom:2rem}
