/* New RentMe interface (?ui=next). Phone-first: large titles over inset grouped lists, a translucent tab bar on phones and a
   sidebar from 900px; sheets rise from the content that opened them. Spec: docs/superpowers/specs/2026-11-11-ui-redesign-design.md.
   Every rule, token included, is scoped to the new interface's two containers (#central-gate.ui-gate and the body-level .ui-layer for
   sheets and toasts) under html.ui-next. The classic stylesheet uses the same token names (--bg, --green, --shadow), so tokens never sit
   on <html>. Colliding classic class names (.hero, .actions, .avatar, .brand) are avoided by the ui- prefixed names below. */
/* Brand font, served by this site (Manrope 5.3.0, OFL-1.1: manrope-OFL.txt). Text shows in the system font until it arrives. */
@font-face{font-family:"Manrope";font-style:normal;font-weight:200 800;font-display:swap;src:url("manrope-5.3.0-latin.woff2") format("woff2")}
/* The Arabic face (plan docs/superpowers/plans/2026-11-15-languages.md, Task 4): Noto Sans Arabic 2.012, OFL-1.1, cut to the Arabic block
   and renamed by service/arabic-face.cjs (its licence and what was changed: noto-sans-arabic-OFL.txt). Declared for the Arabic letters
   only, and named only in the Arabic pages' font list (html.ui-next:lang(ar)), right after Manrope: Manrope keeps every Latin letter and
   every digit. An English or Spanish page never names it, so the few Arabic letters it shows (the language's name in the picker and the
   landing page footer) are drawn by the system and nobody downloads the face for them. ui.js asks for it (UI_ARABIC_FONT) when Arabic is
   chosen. */
@font-face{font-family:"RentMe Arabic";font-style:normal;font-weight:100 900;font-display:swap;src:url("noto-sans-arabic-2.012-arabic.woff2") format("woff2");unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+FB50-FDFF,U+FE70-FEFF}
/* No font size on the root: with <meta name="text-scale" content="scale"> (demo/index.html) the browser sets it from the system's text
   size, and every size here is in rem (web audit A-11, November 16, 2026). */
html.ui-next{--ease-spring:cubic-bezier(.2,.8,.2,1);--dur-spring:380ms;-webkit-text-size-adjust:100%}
html.ui-next :is(.ui-gate,.ui-layer){
  --font:"Manrope",Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",sans-serif;
  --font-display:"Manrope",Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",sans-serif;
  --font-mono:ui-monospace,"SF Mono","Cascadia Mono",Menlo,Consolas,monospace;
  /* RentMe brand (designer's kit, docs/brand/designer-kit-2026-11-12): navy and orange on white and a cool near-white. */
  --navy:#061B3B;--navy-deep:#0A1220;--brand-orange:#FF8200;--brand-orange-light:#FF9B12;
  --bg:#F7F9FC;--surface:#ffffff;--sheet-bg:#F7F9FC;--sheet-cell:#ffffff;--seg-thumb:#ffffff;
  /* Secondary text is #5B6B82: the kit's #718096 does not reach 4.5:1 on white. */
  --label:#10213B;--label-2:#5B6B82;--label-3:#8492A6;--sep:#E2E8F0;--field-edge:#7F8DA3;
  --fill:rgba(6,27,59,.06);--fill-press:rgba(6,27,59,.12);
  --material:rgba(247,249,252,.86);--material-edge:rgba(6,27,59,.1);
  /* Interactive TEXT is navy (orange text fails contrast on a light surface); the main button is orange with navy-deep text. */
  --accent:#061B3B;--accent-fill:#FF8200;--on-accent:#0A1220;--focus:#D96B00;--logo-ink:#061B3B;--icon-hi:#FF8200;
  --green:#15803D;--orange:#AD5200;--red:#DC2626;--red-strong:#B42318;
  /* Solid status fills for badges and counters, drawn with --on-color; the same in light and dark. */
  --on-color:#ffffff;--red-fill:#DC2626;--green-fill:#15803D;--orange-fill:#B45309;--navy-fill:#061B3B;
  --scrim:rgba(3,19,45,.45);--shadow:0 12px 40px rgba(3,19,45,.16);--seg-shadow:0 1px 3px rgba(3,19,45,.16);
  --google-bg:#ffffff;--google-fg:#1f1f1f;--google-edge:#747775;
  --radius:16px;
  --gutter-l:max(16px,env(safe-area-inset-left,0px));--gutter-r:max(16px,env(safe-area-inset-right,0px));
}
@media (prefers-color-scheme:dark){html.ui-next :is(.ui-gate,.ui-layer){
  /* Midnight (owner's choice, November 13, 2026): the navy family at under half its earlier saturation. */
  --bg:#0A1220;--surface:#121C2D;--sheet-bg:#0E1726;--sheet-cell:#182437;--seg-thumb:#26354D;
  --label:#F2F5FA;--label-2:#A7B3C6;--label-3:#74839B;--sep:#1E2A3D;--field-edge:#74839B;
  --fill:rgba(167,179,198,.14);--fill-press:rgba(167,179,198,.24);
  --material:rgba(10,18,32,.82);--material-edge:rgba(255,255,255,.1);
  --accent:#FF9B12;--focus:#FF9B12;--logo-ink:#ffffff;--icon-hi:#FF9B12;--navy-fill:#26354D;
  --green:#4ADE80;--orange:#FFB454;--red:#FF7B72;--red-strong:#FF7B72;
  --scrim:rgba(0,0,0,.6);--shadow:0 12px 40px rgba(0,0,0,.5);--seg-shadow:0 1px 3px rgba(0,0,0,.5);
  --google-bg:#131314;--google-fg:#e3e3e3;--google-edge:#8e918f;color-scheme:dark}}

/* The page behind the overlay takes the overlay's color. A phone browser paints the bands around the page (the status bar and its own
   toolbar) from the page background. Left at the classic color, they showed as light bands around a dark app, most visibly after a
   tab switch (owner report, November 13, 2026). The values are literal because tokens never sit on <html>: --bg for the app screens,
   white for the landing page and the terms, the dark --bg for all. verify-ui-runtime.cjs keeps them equal to the tokens. */
html.ui-next,html.ui-next body{background-color:#F7F9FC}
html.ui-next:has(#central-gate:is(.ui-home,.ui-terms)),html.ui-next:has(#central-gate:is(.ui-home,.ui-terms)) body{background-color:#ffffff}
@media (prefers-color-scheme:dark){html.ui-next,html.ui-next body,html.ui-next:has(#central-gate:is(.ui-home,.ui-terms)),html.ui-next:has(#central-gate:is(.ui-home,.ui-terms)) body{background-color:#0A1220}}

/* The overlay and its classic rules (style.css, marketplace.css). The server's early-access banner sits under this fixed overlay, so
   uiShell repeats its text as the page's last footnote (.env-note). */
html.ui-next #central-gate.ui-gate{display:block;place-items:normal;padding:0;background:var(--bg);color:var(--label);font:400 1.0625rem/1.47 var(--font);font-family:var(--font)!important;letter-spacing:-.01em;-webkit-font-smoothing:antialiased;overscroll-behavior:contain}
html.ui-next #central-gate.ui-gate>*{border-radius:0!important;box-shadow:none!important}
/* The bar on top is sticky and, under 900px, the tab bar is fixed at the bottom: a box that takes the focus (Shift+Tab up a long form)
   is scrolled clear of both, never under them (web audit A-10; WCAG 2.4.11). The landing page and the terms keep their own bars and the
   margins of their own sections. */
html.ui-next #central-gate.ui-gate:not(.ui-page){scroll-padding-top:64px}
@media (max-width:899.98px){html.ui-next #central-gate.ui-gate:not(.ui-page){scroll-padding-bottom:calc(64px + env(safe-area-inset-bottom,0px))}}
/* Neutral element reset inside the new UI only. :where() keeps it at (0,1,1) so every component rule below wins over it. */
html.ui-next :where(#central-gate.ui-gate,.ui-layer) :where(button,input,select,textarea){margin:0;border:0;border-radius:0;background:none;box-shadow:none;min-height:0;padding:0;color:inherit;font:inherit;letter-spacing:inherit;text-decoration:none;transition:none}
/* style.css centers every button as an inline flex box (align-items/justify-content center, gap 6px); components set their own layout. */
html.ui-next :where(#central-gate.ui-gate,.ui-layer) :where(button){align-items:normal;justify-content:normal;gap:normal;text-align:inherit}
html.ui-next :where(#central-gate.ui-gate,.ui-layer) :where(label){display:revert;margin:0;color:inherit;font:inherit}
html.ui-next :where(#central-gate.ui-gate,.ui-layer) :where(h1,h2,h3){margin:0;color:inherit;font:inherit;letter-spacing:inherit}
html.ui-next :where(#central-gate.ui-gate,.ui-layer) :where(p){color:inherit;line-height:inherit;overflow-wrap:anywhere}
html.ui-next :where(#central-gate.ui-gate,.ui-layer) :where(small){display:inline;color:inherit;font-size:inherit;line-height:inherit}
html.ui-next :where(#central-gate.ui-gate,.ui-layer) :where(details){margin:0}
html.ui-next :where(#central-gate.ui-gate,.ui-layer) :where(summary){padding:0;color:inherit;font:inherit}
html.ui-next :where(#central-gate.ui-gate,.ui-layer) :where(footer){margin:0;padding:0;border:0;color:inherit;font-size:inherit}
html.ui-next :where(#central-gate.ui-gate,.ui-layer) :where(a){color:var(--accent)}
.ui-next :is(.ui-gate,.ui-layer) [hidden]{display:none!important}
.ui-next :is(.ui-gate,.ui-layer) button{-webkit-tap-highlight-color:transparent}
.ui-next :is(.ui-gate,.ui-layer) :focus-visible{outline:3px solid var(--focus);outline-offset:2px;border-radius:6px}
.ui-next :is(.ui-gate,.ui-layer) ::selection{background:#FFD3A1;color:#0A1220}
.ui-next :is(.ui-gate,.ui-layer) .ic{display:block;flex:none}
/* Logo: the designer's vectors. The navy parts follow --logo-ink, so they turn white on dark surfaces. */
.ui-next :is(.ui-gate,.ui-layer) :is(.ui-logo,.ui-mark),.ui-first :is(.ui-logo,.ui-mark){display:block;flex:none}
.ui-next :is(.ui-gate,.ui-layer) .logo-ink,.ui-first .logo-ink{fill:var(--logo-ink)}
/* The symbol and the logo are buttons that open the website (plain elements on the administration hostname, which links nowhere). */
.ui-next :is(.ui-gate,.ui-layer) .nav-mark{display:flex;align-items:center;min-height:44px;min-width:44px;margin:0;padding:0;border:0;border-radius:10px;background:transparent;color:inherit;font:inherit}
.ui-next :is(.ui-gate,.ui-layer) button:is(.nav-mark,.ui-brand){cursor:pointer;transition:opacity .12s ease-out}
.ui-next :is(.ui-gate,.ui-layer) button:is(.nav-mark,.ui-brand):active{opacity:.6}
.ui-next :is(.ui-gate,.ui-layer) .mono{font-family:var(--font-mono);font-size:.9375rem;letter-spacing:0;font-variant-numeric:tabular-nums}
.ui-next :is(.ui-gate,.ui-layer) .num{font-variant-numeric:tabular-nums}
.ui-next :is(.ui-gate,.ui-layer) .sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}

/* Shell */
.ui-next :is(.ui-gate,.ui-layer) .ui-app{min-height:100%}
/* The screen is a <main> and the desktop menu a <nav> (ui.js uiShell; web audit A-08): the classic stylesheet's rule for every main (a
   left margin for its own sidebar, style.css) is taken off here. */
.ui-next :is(.ui-gate,.ui-layer) .ui-main{view-transition-name:content;min-width:0;margin:0;padding-bottom:calc(96px + env(safe-area-inset-bottom,0px))}
.ui-next :is(.ui-gate,.ui-layer) .ui-app.no-tabs .ui-main{padding-bottom:48px}
.ui-next :is(.ui-gate,.ui-layer) .page{padding-left:var(--gutter-l);padding-right:var(--gutter-r);max-width:760px;margin:0 auto}
.ui-next :is(.ui-gate,.ui-layer) .ui-sidebar{display:none}
.ui-next :is(.ui-gate,.ui-layer) .nav{position:sticky;top:0;z-index:5;isolation:isolate;padding-left:var(--gutter-l);padding-right:var(--gutter-r)}
.ui-next :is(.ui-gate,.ui-layer) .nav::before{content:"";position:absolute;inset:0;z-index:-1;background:var(--material);-webkit-backdrop-filter:blur(20px) saturate(180%);backdrop-filter:blur(20px) saturate(180%);border-bottom:1px solid var(--material-edge);opacity:var(--bar,0)}
/* The actions' column is never narrower than its controls, and a control never breaks onto two lines (seen on an iPhone, November 20,
   2026: "For owners" beside the language flag); the hidden title in the middle gives way first and ends with an ellipsis. */
.ui-next :is(.ui-gate,.ui-layer) .nav-in{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,auto) minmax(max-content,1fr);align-items:center;min-height:52px;max-width:760px;margin:auto}
.ui-next :is(.ui-gate,.ui-layer) .nav-lead{grid-column:1;justify-self:start;display:flex;align-items:center;gap:4px;min-width:0}
.ui-next :is(.ui-gate,.ui-layer) .nav-title{grid-column:2;font-weight:600;font-size:1.0625rem;opacity:var(--collapse,0);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:56vw}
.ui-next :is(.ui-gate,.ui-layer) .nav-actions{grid-column:3;justify-self:end;display:flex;align-items:center;gap:4px}
.ui-next :is(.ui-gate,.ui-layer) .nav-actions .btn{white-space:nowrap}
/* A compact shell (a conversation): the bar is solid and shows the title from the start, and the page has no large title. */
.ui-next :is(.ui-gate,.ui-layer) .nav.fixed{--collapse:1!important;--bar:1!important}
.ui-next :is(.ui-gate,.ui-layer) .ui-hero.compact{padding-block:0}
/* A bar with a back button: the button keeps its own width and the title takes the rest, so a long name never runs under it. */
.ui-next :is(.ui-gate,.ui-layer) .nav-in:has(.nav-back){grid-template-columns:auto minmax(0,1fr) auto}
.ui-next :is(.ui-gate,.ui-layer) .nav-in:has(.nav-back) .nav-title{max-width:none;min-width:0;padding:0 8px;text-align:center}
.ui-next :is(.ui-gate,.ui-layer) .ui-hero{padding-block:2px 6px}
.ui-next :is(.ui-gate,.ui-layer) .ui-hero+form{margin-top:18px}
.ui-next :is(.ui-gate,.ui-layer) .large-title{font:800 2.125rem/1.16 var(--font-display);letter-spacing:-.03em;margin:0;text-wrap:balance;overflow-wrap:anywhere}
.ui-next :is(.ui-gate,.ui-layer) .large-title:focus{outline:none}
.ui-next :is(.ui-gate,.ui-layer) .ui-hero .large-title{opacity:calc(1 - var(--lift,0))}
.ui-next :is(.ui-gate,.ui-layer) .subtitle{margin:4px 0 0;color:var(--label-2);font-size:1rem}
.ui-next :is(.ui-gate,.ui-layer) .section-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:30px 4px 10px}
.ui-next :is(.ui-gate,.ui-layer) .section-head h2{margin:0;font:700 1.25rem/1.25 var(--font-display);letter-spacing:-.02em}
.ui-next :is(.ui-gate,.ui-layer) .count{color:var(--label-2);font-size:.9375rem}
.ui-next :is(.ui-gate,.ui-layer) .footnote{color:var(--label-2);font-size:.875rem;margin:10px 4px 0;line-height:1.45;text-wrap:pretty}
.ui-next :is(.ui-gate,.ui-layer) .env-note{margin-top:32px;font-size:.8125rem}

/* Grouped lists */
.ui-next :is(.ui-gate,.ui-layer) .group{background:var(--surface);border-radius:var(--radius);overflow:hidden}
.ui-next :is(.ui-gate,.ui-layer) .row{position:relative;display:flex;align-items:center;justify-content:flex-start;gap:12px;width:100%;min-height:58px;padding:10px 16px;border:0;background:transparent;color:var(--label);text-align:start;cursor:pointer;transition:background-color .3s}
.ui-next :is(.ui-gate,.ui-layer) .row:active{background:var(--fill-press);transition:none}
.ui-next :is(.ui-gate,.ui-layer) div.row{cursor:default}
.ui-next :is(.ui-gate,.ui-layer) div.row:active{background:transparent}
.ui-next :is(.ui-gate,.ui-layer) .row+.row::before,.ui-next :is(.ui-gate,.ui-layer) .row+.field::before,.ui-next :is(.ui-gate,.ui-layer) .field+.row::before{content:"";position:absolute;top:0;inset-inline-end:0;inset-inline-start:var(--inset,16px);border-top:1px solid var(--sep)}
.ui-next :is(.ui-gate,.ui-layer) .row-main{flex:1;min-width:0}
.ui-next :is(.ui-gate,.ui-layer) .row.detail .row-sub{margin:0 0 1px;font-size:.875rem}
.ui-next :is(.ui-gate,.ui-layer) .row-title{display:block;overflow-wrap:anywhere}
/* A piece of a value that stays whole when the line breaks: an email address breaks before its domain, not at a hyphen. */
.ui-next :is(.ui-gate,.ui-layer) .keep{display:inline-block;max-width:100%}
.ui-next :is(.ui-gate,.ui-layer) .row-sub{display:block;color:var(--label-2);font-size:.9375rem;margin-top:1px;overflow-wrap:anywhere}
.ui-next :is(.ui-gate,.ui-layer) .row-trail{display:flex;align-items:center;gap:6px;color:var(--label-2);font-size:.9375rem;flex:none;max-width:45%;text-align:end;overflow-wrap:anywhere}
.ui-next :is(.ui-gate,.ui-layer) .row-trail .ic{color:var(--label-3)}
/* A row's own icon, before its words: the website's Sign in sheet (ui-public.js uiSignInSheet). Drawn in the logo's two inks, navy
   (white on dark, --logo-ink) with its one orange part (.ic-hi), on the row itself: no tile behind it. The divider starts under the
   words, as in a native list. Drawn at 28px, its stroke is thinned so its lines are as thick as the tab bar's at 24px. */
.ui-next :is(.ui-gate,.ui-layer) .row-icon{display:flex;flex:none;color:var(--logo-ink)}
.ui-next :is(.ui-gate,.ui-layer) .row-icon .ic{stroke-width:1.55}
.ui-next :is(.ui-gate,.ui-layer) .row-icon .ic-hi{stroke:var(--icon-hi)}
.ui-next :is(.ui-gate,.ui-layer) .row:has(>.row-icon){--inset:56px}
.ui-next :is(.ui-gate,.ui-layer) .badge-ic{flex:none;width:34px;height:34px;border-radius:9px;display:grid;place-items:center;color:var(--on-color)}
.ui-next :is(.ui-gate,.ui-layer) .badge-ic.red{background:var(--red-fill)}.ui-next :is(.ui-gate,.ui-layer) .badge-ic.orange{background:var(--orange-fill)}.ui-next :is(.ui-gate,.ui-layer) .badge-ic.green{background:var(--green-fill)}.ui-next :is(.ui-gate,.ui-layer) .badge-ic.blue{background:var(--navy-fill)}
.ui-next :is(.ui-gate,.ui-layer) .status{display:inline-flex;align-items:center;gap:6px;font-size:.9375rem}
.ui-next :is(.ui-gate,.ui-layer) .status::before{content:"";width:8px;height:8px;border-radius:50%;background:currentColor;flex:none}
.ui-next :is(.ui-gate,.ui-layer) .ok{color:var(--green)}.ui-next :is(.ui-gate,.ui-layer) .warn{color:var(--orange)}.ui-next :is(.ui-gate,.ui-layer) .bad{color:var(--red)}.ui-next :is(.ui-gate,.ui-layer) .muted{color:var(--label-2)}
.ui-next :is(.ui-gate,.ui-layer) .ui-avatar{flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--fill);color:var(--label);font-weight:600;font-size:.9375rem;letter-spacing:0}
.ui-next :is(.ui-gate,.ui-layer) .ui-avatar.lg{width:64px;height:64px;font-size:1.375rem}
.ui-next :is(.ui-gate,.ui-layer) .empty-row{padding:22px 16px;color:var(--label-2);text-align:center}
.ui-next :is(.ui-gate,.ui-layer) .empty-title{margin:0 0 4px;color:var(--label);font-weight:600}
.ui-next :is(.ui-gate,.ui-layer) .empty-sub{margin:0}
.ui-next :is(.ui-gate,.ui-layer) .group.spaced{margin-top:18px}
.ui-next :is(.ui-gate,.ui-layer) .links.end{margin-top:24px}

/* Buttons */
.ui-next :is(.ui-gate,.ui-layer) .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:50px;padding:0 20px;border:0;border-radius:12px;font-weight:700;font-size:1.0625rem;line-height:1.2;text-align:center;text-decoration:none;cursor:pointer;transition:transform .18s var(--ease-spring),background-color .2s,opacity .2s}
.ui-next :is(.ui-gate,.ui-layer) .btn:active{transform:scale(.97);transition-duration:.06s}
.ui-next :is(.ui-gate,.ui-layer) .btn:disabled{opacity:.6;cursor:default;transform:none}
.ui-next :is(.ui-gate,.ui-layer) .btn-primary{background:var(--accent-fill);color:var(--on-accent)}
.ui-next :is(.ui-gate,.ui-layer) .btn-secondary{background:color-mix(in srgb,var(--accent) 14%,transparent);color:var(--accent)}
/* Plain buttons and links are navy text; the orange underline is what marks them as something to tap. */
.ui-next :is(.ui-gate,.ui-layer) .btn-plain{min-height:44px;padding:0 8px;background:transparent;color:var(--accent);font-weight:600;text-decoration:underline;text-decoration-color:var(--accent-fill);text-decoration-thickness:2px;text-underline-offset:5px}
.ui-next :is(.ui-gate,.ui-layer) .btn-destructive{background:color-mix(in srgb,var(--red) 12%,transparent);color:var(--red-strong)}
.ui-next :is(.ui-gate,.ui-layer) .btn-block{width:100%}
.ui-next :is(.ui-gate,.ui-layer) .nav-back{gap:2px;padding-inline-start:0;text-decoration:none}
.ui-next :is(.ui-gate,.ui-layer) .nav-back .ic{transform:rotate(180deg)}
.ui-next :is(.ui-gate,.ui-layer) .btn-google{margin-top:18px;background:var(--google-bg);color:var(--google-fg);box-shadow:inset 0 0 0 1px var(--google-edge);gap:10px;font-family:"Google Sans",Roboto,Arial,sans-serif;font-weight:500;font-size:14px;line-height:20px;letter-spacing:.25px}
.ui-next :is(.ui-gate,.ui-layer) .or+.btn-google{margin-top:0}
.ui-next :is(.ui-gate,.ui-layer) .icon-btn{display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:50%;background:transparent;color:var(--accent);cursor:pointer}
.ui-next :is(.ui-gate,.ui-layer) .icon-btn:active{background:var(--fill-press)}
.ui-next :is(.ui-gate,.ui-layer) .close-btn{display:grid;place-items:center;width:32px;height:32px;border:0;border-radius:50%;background:var(--fill);color:var(--label-2);cursor:pointer;flex:none;position:relative}
.ui-next :is(.ui-gate,.ui-layer) .close-btn::after{content:"";position:absolute;inset:-6px}
/* The back arrow of content that opened over another sheet (ui.js uiSheetShow, back): the close button's round shape at the other end
   of the head, its chevron turned to point back (in right to left the chevron is mirrored first, so it points the other way). */
.ui-next :is(.ui-gate,.ui-layer) .sheet-back{display:grid;place-items:center;width:32px;height:32px;border:0;border-radius:50%;background:var(--fill);color:var(--label);cursor:pointer;flex:none;position:relative}
.ui-next :is(.ui-gate,.ui-layer) .sheet-back::after{content:"";position:absolute;inset:-6px}
.ui-next :is(.ui-gate,.ui-layer) .sheet-back .ic{transform:rotate(180deg)}
.ui-next :is(.ui-gate,.ui-layer) .sheet-back+div{flex:1;min-width:0}
.ui-next :is(.ui-gate,.ui-layer) .ui-actions{display:grid;gap:10px;margin-top:20px}
/* A sheet's actions that must stay in sight (a request waiting for the driver's answer): a bar at the foot of the sheet while the rest
   scrolls under it. The shadow in the sheet's color covers the sheet body's bottom padding below the bar. */
.ui-next :is(.ui-gate,.ui-layer) .sheet-stick{position:sticky;bottom:0;z-index:2;margin-top:16px;padding-top:12px;background:var(--sheet-bg);box-shadow:0 24px 0 var(--sheet-bg),0 -1px 0 var(--sep)}
/* A listing's sheet: Report a problem at the end of its terms, above the foot that holds Apply and Ask (ui-public.js uiListingActions). */
.ui-next :is(.ui-gate,.ui-layer) .listing-report{display:flex;justify-content:center;margin-top:8px}
.ui-next :is(.ui-gate,.ui-layer) .spinner{width:18px;height:18px;border-radius:50%;border:2px solid currentColor;border-inline-end-color:transparent;animation:ui-spin .7s linear infinite}
@keyframes ui-spin{to{transform:rotate(360deg)}}
/* A button that waits on the server (ui.js uiWaitFor; owner, November 22, 2026): in full color, a spinner in its own color where its
   words were. The words stay in place, out of sight, so the button keeps its size and a screen reader still reads them. Under Reduce
   Motion the spinner turns slowly and does not grow in; in high contrast the words stay and the button is simply disabled. */
.ui-next :is(.ui-gate,.ui-layer) .btn[data-ui-wait]:disabled{position:relative;opacity:1;-webkit-text-fill-color:transparent}
.ui-next :is(.ui-gate,.ui-layer) .btn[data-ui-wait]:disabled>*{visibility:hidden}
.ui-next :is(.ui-gate,.ui-layer) .btn[data-ui-wait]:disabled::after{content:"";position:absolute;inset:0;width:20px;height:20px;margin:auto;border-radius:50%;border:2.5px solid currentColor;border-inline-end-color:transparent;box-sizing:border-box;animation:ui-spin .7s linear infinite,ui-wait-in .18s ease-out both}
@keyframes ui-wait-in{from{opacity:0;scale:.6}}
@media (prefers-reduced-motion:reduce){.ui-next :is(.ui-gate,.ui-layer) .btn[data-ui-wait]:disabled::after{animation:ui-spin 1.6s linear infinite}}

/* Search and segmented control */
.ui-next :is(.ui-gate,.ui-layer) .search{display:flex;align-items:center;gap:8px;min-height:44px;padding:0 10px;margin-top:14px;border-radius:11px;background:var(--fill);color:var(--label-2)}
.ui-next :is(.ui-gate,.ui-layer) .search input{flex:1;width:auto;min-width:0;border:0;background:transparent;color:var(--label);font:inherit;padding:8px 0;outline:2px solid transparent;outline-offset:-2px}
.ui-next :is(.ui-gate,.ui-layer) .search input::placeholder{color:var(--label-2)}
.ui-next :is(.ui-gate,.ui-layer) .search:focus-within{box-shadow:0 0 0 2px var(--focus)}
.ui-next :is(.ui-gate,.ui-layer) .seg{position:relative;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);padding:2px;border-radius:10px;background:var(--fill);margin-top:14px}
/* A label that does not fit its segment goes on to a second line instead of being cut with "…" (web audit A-13: a longer Spanish word on
   a phone); a single word longer than the segment is hyphenated where the browser can, and broken at the edge where it cannot (the
   label is its own element, which may shrink below its longest word). The owner hub's tabs keep one row and scroll instead
   (ui-owner.css). The chosen segment is a tab (aria-selected) or, in a filter, a pressed button (aria-pressed). */
.ui-next :is(.ui-gate,.ui-layer) .seg button{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;min-height:44px;padding:4px 8px;text-align:center;border:0;background:transparent;color:var(--label);font-size:.9375rem;font-weight:500;line-height:1.2;cursor:pointer;white-space:normal;overflow-wrap:break-word}
.ui-next :is(.ui-gate,.ui-layer) .seg-label{min-width:0;overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto}
.ui-next :is(.ui-gate,.ui-layer) .seg button:is([aria-selected="true"],[aria-pressed="true"]){font-weight:600}
.ui-next :is(.ui-gate,.ui-layer) .seg-ind{position:absolute;top:2px;bottom:2px;left:0;width:var(--w,0);transform:translateX(var(--x,0));border-radius:8px;background:var(--seg-thumb);box-shadow:var(--seg-shadow);transition:transform var(--dur-spring) var(--ease-spring),width var(--dur-spring) var(--ease-spring)}

/* Listings */
.ui-next :is(.ui-gate,.ui-layer) .listings{display:grid;gap:16px;grid-template-columns:repeat(auto-fill,minmax(min(100%,250px),1fr));margin-top:18px}
.ui-next :is(.ui-gate,.ui-layer) .listing{display:flex;flex-direction:column;width:100%;padding:0;border:0;border-radius:var(--radius);overflow:hidden;background:var(--surface);color:var(--label);text-align:start;cursor:pointer;transition:transform .2s var(--ease-spring)}
.ui-next :is(.ui-gate,.ui-layer) .listing:active{transform:scale(.985);transition-duration:.08s}
/* On the website a car's card is a link to its own address (docs/SEARCH-VISIBILITY.md): it looks exactly like the button it was. */
.ui-next :is(.ui-gate,.ui-layer) a:is(.listing,.hm-car,.hm-card){text-decoration:none}
.ui-next :is(.ui-gate,.ui-layer) .listing-media{aspect-ratio:2/1;max-width:100%;display:grid;place-items:center;background:var(--fill);color:var(--label-3);overflow:hidden}
.ui-next :is(.ui-gate,.ui-layer) .listing-media img{width:100%;height:100%;object-fit:cover;display:block}
.ui-next :is(.ui-gate,.ui-layer) .listing-body{display:grid;gap:2px;padding:14px 16px 16px;min-width:0}
/* A car is words and a price, as on the landing page: its title leads; no icon stands in for a photo it does not have. */
.ui-next :is(.ui-gate,.ui-layer) .listing-title{font-weight:700;font-size:1.0625rem;line-height:1.3;letter-spacing:-.01em;overflow-wrap:anywhere}
.ui-next :is(.ui-gate,.ui-layer) .listing-meta{color:var(--label-2);font-size:.9375rem;overflow-wrap:anywhere}
.ui-next :is(.ui-gate,.ui-layer) .price{font:800 1.375rem/1.2 var(--font-display);letter-spacing:-.02em;font-variant-numeric:tabular-nums;margin-top:6px}
.ui-next :is(.ui-gate,.ui-layer) .price small{font:400 .9375rem var(--font);color:var(--label-2);letter-spacing:0}

/* Forms. Owner's design rule (November 13, 2026): a label sits outside its box, above it, and every field has its own box. */
.ui-next :is(.ui-gate,.ui-layer) .field{display:block;position:relative}
.ui-next :is(.ui-gate,.ui-layer) .field+.field{margin-top:16px}
.ui-next :is(.ui-gate,.ui-layer) .field>label,.ui-next :is(.ui-gate,.ui-layer) .field>.field-label{display:block;margin:0 2px 6px;color:var(--label);font-size:.9375rem;font-weight:600;line-height:1.3;overflow-wrap:anywhere}
/* The box's edge and its focus ring are inset shadows; the outline is there but transparent, so that Windows' contrast themes (forced
   colors), which take shadows away, draw it in the system's color (web audit A-09; the block for forced colors is further down). */
.ui-next :is(.ui-gate,.ui-layer) .field :is(input,select,textarea){display:block;width:100%;min-width:0;min-height:50px;border:0;border-radius:12px;background:var(--surface);box-shadow:inset 0 0 0 1px var(--field-edge);color:var(--label);font:inherit;padding:13px 14px;outline:2px solid transparent;outline-offset:-2px}
/* One height for every one-line box: its line and its padding make the 50px of min-height, and the box grows with the system's text
   size instead of cutting its text (web audit A-11: there was a fixed height). The date box's fields lose the pixel the browser puts
   above and below them, and a select (whose line the browser keeps at its own height) a pixel of padding, so that neither is taller
   than a text box beside it (measured in Chrome: 50px each, and 74px for a text and a date box at twice the text size). */
.ui-next :is(.ui-gate,.ui-layer) .field input:not([type=file]),.ui-next :is(.ui-gate,.ui-layer) .field select{line-height:1.4}
.ui-next :is(.ui-gate,.ui-layer) .field input::-webkit-datetime-edit-fields-wrapper{padding-block:0}
.ui-next :is(.ui-gate,.ui-layer) .field textarea{resize:vertical;min-height:96px}
/* A select keeps the system arrow; its own inner padding is taken off so its text lines up with the other boxes. */
.ui-next :is(.ui-gate,.ui-layer) .field select{padding-block:12px;padding-inline-start:10px;padding-inline-end:8px}
.ui-next :is(.ui-gate,.ui-layer) .field :is(input,textarea)::placeholder{color:var(--label-2)}
.ui-next :is(.ui-gate,.ui-layer) .field :is(input,select,textarea):focus-visible{box-shadow:inset 0 0 0 2px var(--focus)}
/* A fixed value in a form (the verified email): a filled box without an edge, so it never reads as editable. */
.ui-next :is(.ui-gate,.ui-layer) .field>.field-value{display:block;min-height:50px;border-radius:12px;background:var(--fill);color:var(--label-2);padding:13px 14px;overflow-wrap:anywhere}
.ui-next :is(.ui-gate,.ui-layer) .field.invalid>label{color:var(--red)}
.ui-next :is(.ui-gate,.ui-layer) .field.invalid :is(input,select,textarea){box-shadow:inset 0 0 0 2px var(--red)}
/* Why a field is in red, under its box (owner rule, November 13, 2026: a form says what is missing and why). */
.ui-next :is(.ui-gate,.ui-layer) .field-reason{color:var(--red);font-size:.875rem;line-height:1.35;margin:6px 2px 0;overflow-wrap:anywhere}
.ui-next :is(.ui-gate,.ui-layer) .field-reason:empty{display:none}
/* A group that holds only fields draws no box of its own: the boxes are the fields'. A field among rows keeps the group's card. */
.ui-next :is(.ui-gate,.ui-layer) .group:has(>:is(.field,.field-row)):not(:has(>:not(.field,.field-row))){background:none;border-radius:0;overflow:visible;box-shadow:none}
.ui-next :is(.ui-gate,.ui-layer) .group:has(>:not(.field,.field-row))>.field{padding:12px 16px;margin-top:0}
/* Two short fields side by side (plate and state, year and make). The boxes line up even when one label takes two lines. */
.ui-next :is(.ui-gate,.ui-layer) .field-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;align-items:end}
.ui-next :is(.ui-gate,.ui-layer) .field-row.wide-first{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}
.ui-next :is(.ui-gate,.ui-layer) .field-row.wide-last{grid-template-columns:minmax(0,1fr) minmax(0,2fr)}
.ui-next :is(.ui-gate,.ui-layer) .field-row>.field+.field{margin-top:0}
/* A reason under one of the two boxes: the boxes stay on one line from the top, and the reason hangs under its own box. */
.ui-next :is(.ui-gate,.ui-layer) .field-row:has(.field.invalid){align-items:start}
.ui-next :is(.ui-gate,.ui-layer) .field+.field-row,.ui-next :is(.ui-gate,.ui-layer) .field-row+.field,.ui-next :is(.ui-gate,.ui-layer) .field-row+.field-row{margin-top:16px}
/* An identifier typed into a box (a VIN, a code) keeps the text size of the other boxes: under 16px a phone zooms the page on focus. */
.ui-next :is(.ui-gate,.ui-layer) .field input.mono{font-size:1.0625rem;letter-spacing:.02em;font-variant-numeric:tabular-nums}
/* A rule for what to type that stays under its label ("12 or more characters"); the box names it in aria-describedby (web audit, A-05, A-18). */
.ui-next :is(.ui-gate,.ui-layer) .field-hint{color:var(--label-2);font-size:.875rem;line-height:1.35;margin:-2px 2px 6px;overflow-wrap:anywhere}
/* A password box and its Show button side by side (web audit, A-05). The row follows the page's direction, so in Arabic the button is on
   the left; the button is as tall as the box and at least 44 px wide. */
.ui-next :is(.ui-gate,.ui-layer) .field-pass{display:flex;align-items:stretch;gap:4px}
.ui-next :is(.ui-gate,.ui-layer) .field-pass>input{flex:1;width:auto}
.ui-next :is(.ui-gate,.ui-layer) .field-pass>.pass-toggle{flex:none;min-width:44px}
/* A section title inside a form or a sheet; the first one sits close under the sheet's title. */
.ui-next :is(.ui-gate,.ui-layer) .section-head h3{margin:0;font:700 1.0625rem/1.3 var(--font-display);letter-spacing:-.01em}
.ui-next :is(.ui-gate,.ui-layer) form>.section-head{margin:26px 2px 12px}
.ui-next :is(.ui-gate,.ui-layer) form>.section-head:first-child{margin-top:6px}
.ui-next :is(.ui-gate,.ui-layer) .field-error{color:var(--red);font-size:.9375rem;margin:8px 4px 0}
.ui-next :is(.ui-gate,.ui-layer) .field-error:empty{display:none}
.ui-next :is(.ui-gate,.ui-layer) .check-row{display:flex;align-items:flex-start;gap:12px;min-height:44px;padding:14px 16px;cursor:pointer;line-height:1.4}
.ui-next :is(.ui-gate,.ui-layer) .check-row input{flex:none;width:22px;height:22px;margin:1px 0 0;accent-color:var(--accent-fill);cursor:pointer}
/* The Terms and Privacy acceptance at "Create profile": it stands on the page, lined up with the labels above the fields. */
.ui-next :is(.ui-gate,.ui-layer) .check-row.agree{margin-top:22px;padding:6px 2px;font-size:.9375rem}
.ui-next :is(.ui-gate,.ui-layer) .check-row.agree a{color:var(--accent);font-weight:600;text-decoration:underline;text-decoration-color:var(--accent-fill);text-decoration-thickness:2px;text-underline-offset:4px}
.ui-next :is(.ui-gate,.ui-layer) .check-row.agree a:focus-visible{outline:2px solid var(--focus);outline-offset:2px;border-radius:4px}
/* A box that must be ticked and was not: the box is edged in red and its reason stands under the words, in line with them. */
.ui-next :is(.ui-gate,.ui-layer) .check-row.invalid input{outline:2px solid var(--red);outline-offset:2px;border-radius:4px}
.ui-next :is(.ui-gate,.ui-layer) .check-row.agree+.field-reason{margin-block:4px 0;margin-inline:36px 2px}
.ui-next :is(.ui-gate,.ui-layer) .row-actions{display:flex;flex-wrap:wrap;gap:8px;padding:0 16px 14px}
.ui-next :is(.ui-gate,.ui-layer) .row-actions .btn{min-height:44px;font-size:1rem;padding:0 14px}
.ui-next :is(.ui-gate,.ui-layer) .stack{display:grid;gap:12px}
.ui-next :is(.ui-gate,.ui-layer) .or{display:flex;align-items:center;gap:12px;margin:20px 0;color:var(--label-2);font-size:.9375rem}
.ui-next :is(.ui-gate,.ui-layer) .or::before,.ui-next :is(.ui-gate,.ui-layer) .or::after{content:"";flex:1;border-top:1px solid var(--sep)}
.ui-next :is(.ui-gate,.ui-layer) .links{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px;margin-top:8px}
.ui-next :is(.ui-gate,.ui-layer) details.group summary{list-style:none;cursor:pointer}
.ui-next :is(.ui-gate,.ui-layer) details.group summary::-webkit-details-marker{display:none}
.ui-next :is(.ui-gate,.ui-layer) details.group[open] .chev{transform:rotate(90deg)}
.ui-next :is(.ui-gate,.ui-layer) .chev{transition:transform .25s var(--ease-spring)}
.ui-next :is(.ui-gate,.ui-layer) .callout{padding:14px 16px;display:grid;gap:10px}
.ui-next :is(.ui-gate,.ui-layer) .callout p{margin:0}
.ui-next :is(.ui-gate,.ui-layer) .callout .btns{display:flex;flex-wrap:wrap;gap:8px}
.ui-next :is(.ui-gate,.ui-layer) .callout .btn{min-height:44px;font-size:1rem}
/* Documents in slots (ui.js uiDocSlot and uiDocUploadSheet; plan 2026-11-17, Task 4). A slot is a row: its name, its date with the
   countdown, its files as links and its button. On a phone the button goes under the words when they need the width. */
.ui-next :is(.ui-gate,.ui-layer) .doc-slot{flex-wrap:wrap;align-items:center;row-gap:6px}
.ui-next :is(.ui-gate,.ui-layer) .doc-slot>.row-main{flex:1 1 180px}
.ui-next :is(.ui-gate,.ui-layer) .expiry-left{font-weight:600;white-space:nowrap}
.ui-next :is(.ui-gate,.ui-layer) .doc-files{display:flex;flex-wrap:wrap;gap:0 16px;margin-top:2px}
.ui-next :is(.ui-gate,.ui-layer) .doc-files .doc-file{min-height:44px;padding-inline:0}
.ui-next :is(.ui-gate,.ui-layer) .doc-acts{display:flex;flex-wrap:wrap;gap:8px;flex:none}
.ui-next :is(.ui-gate,.ui-layer) .doc-act{min-height:44px;padding:0 16px;font-size:1rem}
/* What a chosen file looks like before Save: a photo on its canvas (whole, never cropped) and the file's name; a PDF by its name. */
.ui-next :is(.ui-gate,.ui-layer) .doc-preview{margin-top:10px;padding:8px;border-radius:12px;background:var(--fill);text-align:center}
.ui-next :is(.ui-gate,.ui-layer) .doc-preview-img{display:block;width:100%;height:auto;max-height:300px;object-fit:contain;border-radius:8px}
.ui-next :is(.ui-gate,.ui-layer) .doc-preview-name{margin:6px 2px 0;color:var(--label-2);font-size:.875rem;overflow-wrap:anywhere}
.ui-next :is(.ui-gate,.ui-layer) .doc-readable{margin-top:22px}
.ui-next :is(.ui-gate,.ui-layer) .doc-question{margin:0 2px;font-weight:600}
.ui-next :is(.ui-gate,.ui-layer) .doc-readable .check-row.agree{margin-top:8px}
/* Notifications (ui.js uiNoticeBell, uiNoticeRow; plan 2026-11-17, Task 6). The bell sits in the top bar with its count on its corner: red
   while an item is red, a calm orange otherwise. An item is a row with a small mark in its color, never an icon chip. */
.ui-next :is(.ui-gate,.ui-layer) .ui-notice-slot{display:contents}
.ui-next :is(.ui-gate,.ui-layer) .ui-bell{position:relative}
.ui-next :is(.ui-gate,.ui-layer) .ui-bell .tab-badge{top:3px;inset-inline-start:auto;inset-inline-end:1px}
.ui-next :is(.ui-gate,.ui-layer) .ui-bell .tab-badge.calm{background:var(--orange-fill)}
.ui-next :is(.ui-gate,.ui-layer) .notice-dot{flex:none;width:9px;height:9px;border-radius:50%;background:currentColor;color:var(--label-3)}
.ui-next :is(.ui-gate,.ui-layer) .notice-dot.warn{color:var(--orange)}.ui-next :is(.ui-gate,.ui-layer) .notice-dot.bad{color:var(--red)}

/* Portals (owner, administration): a wider page for tables and a banner above the title (the read-only support view). */
.ui-next :is(.ui-gate,.ui-layer) .page.wide{max-width:1120px}
.ui-next :is(.ui-gate,.ui-layer) .ui-main:has(>.page.wide) .nav-in{max-width:1120px}
.ui-next :is(.ui-gate,.ui-layer) .ui-banner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;margin:4px 0 14px;padding:12px 16px;border-radius:var(--radius);background:color-mix(in srgb,var(--orange) 14%,var(--surface))}
.ui-next :is(.ui-gate,.ui-layer) .ui-banner p{margin:0;flex:1 1 220px}
.ui-next :is(.ui-gate,.ui-layer) .ui-banner .btn{min-height:44px;font-size:1rem;padding:0 14px}
.ui-next :is(.ui-gate,.ui-layer) .spaced{margin-top:18px}
.ui-next :is(.ui-gate,.ui-layer) .row-actions.flush{padding:0;margin-top:18px}
.ui-next :is(.ui-gate,.ui-layer) .row-actions.flush:empty{display:none}
@media (min-width:900px){.ui-next :is(.ui-gate,.ui-layer) .phone-only{display:none}}
/* Figures: a few numbers side by side in one card, divided by hairlines. */
.ui-next :is(.ui-gate,.ui-layer) .figures{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);margin-top:18px}
.ui-next :is(.ui-gate,.ui-layer) .figure{position:relative;display:grid;align-content:start;gap:2px;min-width:0;padding:16px 12px;color:var(--label);text-align:start}
.ui-next :is(.ui-gate,.ui-layer) .figure+.figure::before{content:"";position:absolute;top:14px;bottom:14px;inset-inline-start:0;border-inline-start:1px solid var(--sep)}
.ui-next :is(.ui-gate,.ui-layer) button.figure{cursor:pointer;transition:background-color .3s}
.ui-next :is(.ui-gate,.ui-layer) button.figure:active{background:var(--fill-press);transition:none}
.ui-next :is(.ui-gate,.ui-layer) .figure-value{font:800 1.75rem/1.1 var(--font-display);letter-spacing:-.02em;overflow-wrap:anywhere}
.ui-next :is(.ui-gate,.ui-layer) .figure-label{color:var(--label-2);font-size:.9375rem;line-height:1.3;overflow-wrap:break-word}
.ui-next :is(.ui-gate,.ui-layer) .figure-hint{color:var(--label-2);font-size:.875rem;line-height:1.3}
/* Tables (uiTable). Phones: each row is a list entry, its first cell the title and every other value beside its column label.
   From 900px (below): a real table. The classic stylesheet styles bare table elements, so every property it sets is set here. */
.ui-next :is(.ui-gate,.ui-layer) .ui-table{display:block;width:100%;border-collapse:collapse;white-space:normal;text-align:start}
.ui-next :is(.ui-gate,.ui-layer) .ui-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.ui-next :is(.ui-gate,.ui-layer) .ui-table tbody{display:block}
.ui-next :is(.ui-gate,.ui-layer) .ui-table tr{display:block;padding:12px 16px;background:transparent}
.ui-next :is(.ui-gate,.ui-layer) .ui-table tr+tr{border-top:1px solid var(--sep)}
.ui-next :is(.ui-gate,.ui-layer) .ui-table th{padding:0;border:0;background:none;color:var(--label-2);font:600 .875rem/1.3 var(--font);letter-spacing:0;text-transform:none}
.ui-next :is(.ui-gate,.ui-layer) .ui-table td{display:block;padding:3px 0;border:0;color:var(--label);font-size:.9375rem;line-height:1.4;text-align:end;overflow-wrap:anywhere}
/* The column label floats at the start of its value (the left in English), so a value of several parts (a name over an email, three
   dates) still reads as one. */
.ui-next :is(.ui-gate,.ui-layer) .ui-table td::before{content:attr(data-label);float:inline-start;max-width:45%;margin-inline-end:16px;color:var(--label-2);font-family:var(--font);font-size:.9375rem;letter-spacing:-.01em;text-align:start}
.ui-next :is(.ui-gate,.ui-layer) .ui-table td::after{content:"";display:block;clear:both}
.ui-next :is(.ui-gate,.ui-layer) .ui-table td:first-child{padding-bottom:5px;font-size:1.0625rem;font-weight:600;text-align:start}
.ui-next :is(.ui-gate,.ui-layer) .ui-table td:first-child::before,.ui-next :is(.ui-gate,.ui-layer) .ui-table td.cell-actions::before,.ui-next :is(.ui-gate,.ui-layer) .ui-table td.cell-actions::after{content:none}
.ui-next :is(.ui-gate,.ui-layer) .ui-table td:empty{display:none}
.ui-next :is(.ui-gate,.ui-layer) .ui-table td.cell-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:8px;padding-top:10px;text-align:start}
.ui-next :is(.ui-gate,.ui-layer) .ui-table .cell-line{display:block}
/* An explanation under a value (not under the row's title) reads as a paragraph: full width, from the starting edge. */
.ui-next :is(.ui-gate,.ui-layer) .ui-table td:not(:first-child) .cell-sub:not(.cell-line){clear:both;padding-top:2px;text-align:start}
.ui-next :is(.ui-gate,.ui-layer) .ui-table .btn{min-height:44px;font-size:1rem;padding:0 14px}
.ui-next :is(.ui-gate,.ui-layer) .ui-table .cell-sub{display:block;color:var(--label-2);font-size:.9375rem;font-weight:400}

/* Tab bar */
.ui-next :is(.ui-gate,.ui-layer) .tabbar{position:fixed;left:0;right:0;bottom:0;z-index:6;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);padding-left:var(--gutter-l);padding-right:var(--gutter-r);padding-bottom:env(safe-area-inset-bottom,0px);background:var(--material);-webkit-backdrop-filter:blur(20px) saturate(180%);backdrop-filter:blur(20px) saturate(180%);border-top:1px solid var(--material-edge)}
.ui-next :is(.ui-gate,.ui-layer) .tab{position:relative;display:flex;flex-direction:column;align-items:center;gap:2px;min-height:56px;padding:7px 4px 6px;border:0;background:transparent;color:var(--label-2);font-size:.8125rem;font-weight:500;cursor:pointer}
.ui-next :is(.ui-gate,.ui-layer) .tab[aria-current="page"]{color:var(--accent);font-weight:700}
.ui-next :is(.ui-gate,.ui-layer) .tab[aria-current="page"]::before{content:"";position:absolute;top:0;inset-inline-start:50%;width:28px;height:3px;margin-inline-start:-14px;border-radius:0 0 3px 3px;background:var(--accent-fill)}
.ui-next :is(.ui-gate,.ui-layer) .tab .ic{transition:transform .15s}
.ui-next :is(.ui-gate,.ui-layer) .tab:active .ic{transform:scale(.9)}
.ui-next :is(.ui-gate,.ui-layer) .tab-icon{position:relative}
.ui-next :is(.ui-gate,.ui-layer) .tab-badge{position:absolute;top:-5px;inset-inline-start:calc(100% - 9px);min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--red-fill);color:var(--on-color);font-size:.8125rem;font-weight:700;line-height:18px;text-align:center}

/* Sheets and toast live in .ui-layer, a body child above the #central-gate overlay (z-index 20000). */
.ui-next :is(.ui-gate,.ui-layer) .scrim{position:fixed;inset:0;z-index:20010;background:var(--scrim);opacity:0}
.ui-next :is(.ui-gate,.ui-layer) .sheet{position:fixed;left:0;right:0;bottom:0;z-index:20011;display:flex;flex-direction:column;max-height:calc(100% - 44px - env(safe-area-inset-top,0px));border-radius:16px 16px 0 0;background:var(--sheet-bg);color:var(--label);font:400 1.0625rem/1.47 var(--font);letter-spacing:-.01em;box-shadow:var(--shadow);transform:translateY(110%);will-change:transform;padding-bottom:env(safe-area-inset-bottom,0px);--surface:var(--sheet-cell)}
.ui-next :is(.ui-gate,.ui-layer) .sheet-drag{flex:none;touch-action:none;cursor:grab;padding-left:var(--gutter-l);padding-right:var(--gutter-r)}
.ui-next :is(.ui-gate,.ui-layer) .grabber{width:38px;height:5px;margin:8px auto 4px;border-radius:3px;background:var(--label-3);opacity:.55}
.ui-next :is(.ui-gate,.ui-layer) .sheet-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:6px 0 12px}
.ui-next :is(.ui-gate,.ui-layer) .sheet-head h2:focus{outline:none}
.ui-next :is(.ui-gate,.ui-layer) .sheet-head h2{margin:0;font:800 1.375rem/1.25 var(--font-display);letter-spacing:-.025em;overflow-wrap:anywhere}
.ui-next :is(.ui-gate,.ui-layer) .sheet-head p{margin:2px 0 0;color:var(--label-2);font-size:.9375rem}
.ui-next :is(.ui-gate,.ui-layer) .sheet-body{overflow-y:auto;overscroll-behavior:contain;padding-left:var(--gutter-l);padding-right:var(--gutter-r);padding-bottom:24px}
.ui-next :is(.ui-gate,.ui-layer) .sheet-art{border-radius:var(--radius);background:var(--surface);display:grid;place-items:center;aspect-ratio:2/1;max-width:100%;margin-bottom:14px;overflow:hidden;color:var(--label-3)}
.ui-next :is(.ui-gate,.ui-layer) .sheet-art img{width:100%;height:100%;object-fit:cover;display:block}
/* A changed form asks before its sheet closes (web audit A-06; ui.js uiSheetAsk): one line over the foot of the sheet, so that nothing
   under a second tap moves, in the sheet's own colors, with Discard changes and Keep editing side by side where they fit. It sets no
   display of its own, so its hidden attribute keeps it away. */
.ui-next :is(.ui-gate,.ui-layer) .sheet-ask{position:absolute;inset-inline:0;inset-block-end:0;z-index:1;padding:14px max(var(--gutter-l),var(--gutter-r)) calc(14px + env(safe-area-inset-bottom,0px));border-block-start:1px solid var(--sep);background:var(--sheet-bg);box-shadow:0 -10px 28px rgba(10,18,32,.14);animation:ui-ask-in .22s cubic-bezier(.2,.8,.2,1)}
.ui-next :is(.ui-gate,.ui-layer) .sheet-ask-text{margin:0 4px 12px;color:var(--label);font-weight:600;line-height:1.4}
.ui-next :is(.ui-gate,.ui-layer) .sheet-ask-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px}
@keyframes ui-ask-in{from{opacity:0;transform:translateY(8px)}}
@media (prefers-reduced-motion:reduce){.ui-next :is(.ui-gate,.ui-layer) .sheet-ask{animation:none}}
.ui-next :is(.ui-gate,.ui-layer) .panel-gap{display:grid;gap:18px}
/* The status region every toast is said through (ui.js uiLiveSay; web audit A-01): in the page from its start, out of sight, never
   display:none or visibility:hidden, which would take it out of what a screen reader hears. Not scoped to the new interface: it is a
   child of the page itself, and stays out of sight whatever interface is drawn. */
#ui-live{position:fixed;top:0;inset-inline-start:0;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
.ui-next :is(.ui-gate,.ui-layer) .toast{position:fixed;left:50%;top:calc(env(safe-area-inset-top,0px) + 12px);z-index:20020;width:max-content;max-width:min(92vw,420px);padding:11px 18px;border-radius:999px;background:var(--surface);color:var(--label);box-shadow:var(--shadow);font:500 .9375rem/1.35 var(--font);transform:translate(-50%,-160%)}
/* A notice with one thing to press: the whole toast is the target, and the label reads as the link it is. */
.ui-next :is(.ui-gate,.ui-layer) .toast:is(.has-action,.has-detail){display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:0 14px;min-height:44px}
.ui-next :is(.ui-gate,.ui-layer) .toast.has-action{cursor:pointer}
.ui-next :is(.ui-gate,.ui-layer) .toast.has-detail{border-radius:18px;padding:10px 18px}
.ui-next :is(.ui-gate,.ui-layer) .toast-detail{grid-column:1;grid-row:2;color:var(--label-2);font-weight:400;font-size:.875rem}
.ui-next :is(.ui-gate,.ui-layer) .toast-go{grid-column:2;grid-row:1 / span 2;min-height:0;padding:0;border:0;background:transparent;color:var(--accent);font:inherit;font-weight:600;text-decoration:underline;text-decoration-color:var(--accent-fill);text-decoration-thickness:2px;text-underline-offset:4px;cursor:pointer}

@media (min-width:900px){
  .ui-next :is(.ui-gate,.ui-layer) .ui-app:not(.no-tabs){display:grid;grid-template-columns:248px minmax(0,1fr)}
  .ui-next :is(.ui-gate,.ui-layer) .ui-app:not(.no-tabs) .ui-sidebar{display:flex;flex-direction:column;gap:4px;position:sticky;top:0;height:100vh;padding:20px 14px;border-inline-end:1px solid var(--sep);background:var(--surface);overflow-y:auto}
  /* A menu taller than the window scrolls; none of its parts is squeezed (the owner's at 1280 x 720 pressed the logo onto "Overview"). */
  .ui-next :is(.ui-gate,.ui-layer) .ui-app:not(.no-tabs) .ui-sidebar>*{flex-shrink:0}
  .ui-next :is(.ui-gate,.ui-layer) .ui-brand{display:block;margin:0;padding:6px 10px 20px;border:0;border-radius:10px;background:transparent;color:inherit;font:inherit;text-align:start}
  .ui-next :is(.ui-gate,.ui-layer) .side-list{display:flex;flex-direction:column;gap:4px}
  .ui-next :is(.ui-gate,.ui-layer) .side-gap{height:10px}
  .ui-next :is(.ui-gate,.ui-layer) .side-foot{margin-top:auto;padding-top:12px}
  .ui-next :is(.ui-gate,.ui-layer) .ui-table{display:table}
  .ui-next :is(.ui-gate,.ui-layer) .ui-table thead{position:static;display:table-header-group;width:auto;height:auto;clip:auto}
  .ui-next :is(.ui-gate,.ui-layer) .ui-table tbody{display:table-row-group}
  .ui-next :is(.ui-gate,.ui-layer) .ui-table tr{display:table-row;padding:0}
  .ui-next :is(.ui-gate,.ui-layer) .ui-table tr+tr{border-top:0}
  .ui-next :is(.ui-gate,.ui-layer) .ui-table tbody tr:hover{background:var(--fill)}
  .ui-next :is(.ui-gate,.ui-layer) .ui-table th{padding:12px 16px;border-bottom:1px solid var(--sep);vertical-align:bottom}
  /* break-word (not anywhere): a column is never squeezed narrower than its words, so "Approved" or a date stays whole. */
  .ui-next :is(.ui-gate,.ui-layer) .table-group{overflow-x:auto}
  .ui-next :is(.ui-gate,.ui-layer) .ui-table td,.ui-next :is(.ui-gate,.ui-layer) .ui-table td:first-child{display:table-cell;padding:12px 16px;border-top:1px solid var(--sep);font-size:1rem;text-align:start;vertical-align:top;overflow-wrap:break-word}
  .ui-next :is(.ui-gate,.ui-layer) .ui-table :is(.status,.cell-line){white-space:nowrap}
  /* The first column names the row: it keeps a third of the width however long the other columns' contents are, and what
     sits under a name (an email, a description) is cut after three lines. An explanation under a value in another column
     (why a total is unconfirmed, why a row needs review) is never cut. */
  .ui-next :is(.ui-gate,.ui-layer) .ui-table th:first-child{width:34%}
  .ui-next :is(.ui-gate,.ui-layer) .ui-table .cell-sub{overflow-wrap:anywhere}
  .ui-next :is(.ui-gate,.ui-layer) .ui-table td:first-child .cell-sub{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
  .ui-next :is(.ui-gate,.ui-layer) .ui-table .cell-sub.cell-line{display:block;overflow:visible;overflow-wrap:normal}
  .ui-next :is(.ui-gate,.ui-layer) .ui-table tbody tr:first-child td{border-top:0}
  .ui-next :is(.ui-gate,.ui-layer) .ui-table td:empty{display:table-cell}
  .ui-next :is(.ui-gate,.ui-layer) .ui-table td::before,.ui-next :is(.ui-gate,.ui-layer) .ui-table td::after{content:none}
  .ui-next :is(.ui-gate,.ui-layer) .ui-table :is(th,td).num{text-align:end}
  .ui-next :is(.ui-gate,.ui-layer) .ui-table td.cell-actions{display:table-cell;padding-top:8px;padding-bottom:8px;white-space:nowrap;text-align:end}
  .ui-next :is(.ui-gate,.ui-layer) .ui-table td.cell-actions .btn{margin-inline-start:6px}
  .ui-next :is(.ui-gate,.ui-layer) .ui-table td.cell-actions .muted{display:inline-block;max-width:15rem;padding:6px 0;white-space:normal;text-align:start}
  .ui-next :is(.ui-gate,.ui-layer) .ui-app:not(.no-tabs) .nav-mark{display:none}
  .ui-next :is(.ui-gate,.ui-layer) .side-item{display:flex;align-items:center;gap:12px;width:100%;min-height:44px;padding:0 10px;border:0;border-radius:10px;background:transparent;color:var(--label);font-size:1rem;text-align:start;cursor:pointer;transition:background-color .2s}
  .ui-next :is(.ui-gate,.ui-layer) .side-item:hover{background:var(--fill)}
  .ui-next :is(.ui-gate,.ui-layer) .side-item[aria-current="page"]{background:color-mix(in srgb,var(--accent) 14%,transparent);color:var(--accent);font-weight:700}
  .ui-next :is(.ui-gate,.ui-layer) .side-item .tab-badge{position:static;margin-block:0;margin-inline:auto 0}
  .ui-next :is(.ui-gate,.ui-layer) .tabbar{display:none}
  .ui-next :is(.ui-gate,.ui-layer) .ui-main{padding-bottom:48px}
  /* From 900px a sheet is a window in the middle of the page, over the scrim (owner instruction, November 14, 2026: a panel on the right
     edge made the person look to the right). As tall as its content, up to 88% of the window; past that its body scrolls under the head.
     The auto margins center it; ui.js (uiSheetPlace) only fades it in with a small rise and scale, and there is no drag. */
  .ui-next :is(.ui-gate,.ui-layer) .sheet{inset:0;margin:auto;width:min(560px,calc(100% - 48px));height:fit-content;max-height:88%;border-radius:var(--radius);overflow:hidden;transform:none;will-change:transform,opacity;padding-bottom:0}
  /* Once open it is held by its top at that same middle (ui.js, uiSheetHold), so that the top can move: when its content changes its
     height it goes to the middle for the new height, and only its top glides there (not under Reduce Motion, below). */
  .ui-next :is(.ui-gate,.ui-layer) .sheet.held{top:var(--sheet-top);bottom:auto;margin:0 auto;transition:top .2s cubic-bezier(.2,.8,.2,1)}
  /* The head does not drag the sheet here, so a press and move on it selects nothing by accident; the body's text stays selectable. */
  .ui-next :is(.ui-gate,.ui-layer) .sheet-drag{cursor:default;touch-action:auto;-webkit-user-select:none;user-select:none}
  /* A thin scroll bar in the theme's colors, a little in from the window's edge and clear of the form's boxes (at the end of the lines,
     where the browser puts it: the right in English, the left in Arabic). */
  .ui-next :is(.ui-gate,.ui-layer) .sheet-body{scrollbar-width:thin;scrollbar-color:var(--label-3) transparent;margin-inline-end:4px;padding-inline-end:calc(var(--gutter-r) - 4px)}
  .ui-next :is(.ui-gate,.ui-layer) .grabber{display:none}
  .ui-next :is(.ui-gate,.ui-layer) .sheet-head{padding-top:20px}
}
@media (prefers-reduced-motion:reduce){.ui-next :is(.ui-gate,.ui-layer) .btn:active,.ui-next :is(.ui-gate,.ui-layer) .listing:active{transform:none}.ui-next :is(.ui-gate,.ui-layer) .seg-ind,.ui-next :is(.ui-gate,.ui-layer) .chev,.ui-next :is(.ui-gate,.ui-layer) .tab .ic{transition:none}.ui-next :is(.ui-gate,.ui-layer) .sheet.held{transition:none}html.ui-next::view-transition-group(*),html.ui-next::view-transition-old(*),html.ui-next::view-transition-new(*){animation:none!important}}
@media (prefers-reduced-transparency:reduce){.ui-next :is(.ui-gate,.ui-layer) .nav::before,.ui-next :is(.ui-gate,.ui-layer) .tabbar{-webkit-backdrop-filter:none;backdrop-filter:none;background:var(--surface)}}
html.ui-next::view-transition-old(root),html.ui-next::view-transition-new(root){animation:none}
html.ui-next::view-transition-old(content){animation:ui-vt-out .16s ease-out both}
html.ui-next::view-transition-new(content){animation:ui-vt-in .34s cubic-bezier(.2,.8,.2,1) both}
@keyframes ui-vt-out{to{opacity:0}}
@keyframes ui-vt-in{from{opacity:0;transform:translateY(8px)}}

/* Loading. The loader is the symbol, still, inside a turning orange ring (designer's kit); it shows only while something loads.
   A skeleton is the real shell with placeholder shapes where the content will be, so people see what is coming. One light sweeps
   across all the shapes together (the gradient is fixed to the viewport). */
.ui-next :is(.ui-gate,.ui-layer) .ui-loader,.ui-first .ui-loader{position:relative;display:inline-grid;place-items:center;flex:none;width:40px;height:40px}
.ui-next :is(.ui-gate,.ui-layer) .ui-loader.lg{width:132px;height:132px}
/* The ring alone (ui.js uiLoader(false,{mark:false})), beside a logo already on screen: a skeleton's bar. */
.ui-next :is(.ui-gate,.ui-layer) .ui-loader.plain{width:26px;height:26px}
.ui-next :is(.ui-gate,.ui-layer) .ui-loader-ring,.ui-first .ui-loader-ring{position:absolute;inset:0;width:100%;height:100%;fill:none;stroke-width:7}
.ui-next :is(.ui-gate,.ui-layer) .ui-loader.lg .ui-loader-ring{stroke-width:4}
.ui-next :is(.ui-gate,.ui-layer) .ui-loader.plain .ui-loader-ring{stroke-width:10}
.ui-next :is(.ui-gate,.ui-layer) .ui-loader-ring .track,.ui-first .ui-loader-ring .track{stroke:var(--sep)}
.ui-next :is(.ui-gate,.ui-layer) .ui-loader-ring .arc,.ui-first .ui-loader-ring .arc{stroke:var(--accent-fill);stroke-linecap:round;transform-origin:50% 50%;animation:ui-turn 1s linear infinite}
@keyframes ui-turn{to{transform:rotate(360deg)}}
.ui-next :is(.ui-gate,.ui-layer) .nav-title.loading{display:grid;place-items:center;overflow:visible;opacity:1}
.ui-next :is(.ui-gate,.ui-layer) .ui-skeleton{pointer-events:none}
.ui-next :is(.ui-gate,.ui-layer) .sk{display:block;flex:none;max-width:100%;border-radius:7px;background:linear-gradient(100deg,var(--fill-press) 42%,var(--fill) 50%,var(--fill-press) 58%) 0 0/300% 100% fixed;animation:ui-sweep 1.5s ease-in-out infinite}
@keyframes ui-sweep{from{background-position:100% 0}to{background-position:0 0}}
.ui-next :is(.ui-gate,.ui-layer) .sk.line{height:14px;margin:6px 0}
.ui-next :is(.ui-gate,.ui-layer) .sk.sm{height:11px}
.ui-next :is(.ui-gate,.ui-layer) .sk.title{height:22px;margin:6px 0}
.ui-next :is(.ui-gate,.ui-layer) .sk.btn{height:44px;border-radius:12px}
.ui-next :is(.ui-gate,.ui-layer) .sk.block{height:50px;border-radius:12px}
.ui-next :is(.ui-gate,.ui-layer) .sk.top{margin-top:18px}
.ui-next :is(.ui-gate,.ui-layer) .sk.search{height:44px;margin-top:14px;border-radius:11px}
.ui-next :is(.ui-gate,.ui-layer) .sk.tile{width:44px;height:44px;border-radius:12px}
.ui-next :is(.ui-gate,.ui-layer) .sk.avatar{width:64px;height:64px;border-radius:50%}
.ui-next :is(.ui-gate,.ui-layer) .sk.w20{width:20%}.ui-next :is(.ui-gate,.ui-layer) .sk.w30{width:30%}.ui-next :is(.ui-gate,.ui-layer) .sk.w35{width:35%}.ui-next :is(.ui-gate,.ui-layer) .sk.w40{width:40%}.ui-next :is(.ui-gate,.ui-layer) .sk.w45{width:45%}
.ui-next :is(.ui-gate,.ui-layer) .sk.w55{width:55%}.ui-next :is(.ui-gate,.ui-layer) .sk.w60{width:60%}.ui-next :is(.ui-gate,.ui-layer) .sk.w70{width:70%}.ui-next :is(.ui-gate,.ui-layer) .sk.w80{width:80%}.ui-next :is(.ui-gate,.ui-layer) .sk.w100{width:100%}
.ui-next :is(.ui-gate,.ui-layer) .ui-skeleton .row-main{display:block;flex:1;min-width:0}
.ui-next :is(.ui-gate,.ui-layer) .ui-skeleton .field .sk.line{margin:2px 2px 8px}
/* Under Reduce Motion the placeholders' shimmer stops. A loader's ring turns slowly instead of standing still, so that it still says
   something is under way (web audit A-14, November 16, 2026). The first paint's frame keeps its ring still: it is the background of a
   page load, shown only once that load has taken 800 ms (First paint, below). */
@media (prefers-reduced-motion:reduce){.ui-next :is(.ui-gate,.ui-layer) .sk,.ui-first .ui-loader-ring .arc{animation:none}.ui-next :is(.ui-gate,.ui-layer) .ui-loader-ring .arc{animation-duration:3s}}

/* Landing page (ui-home.js, screen 'home'). Its own layout inside the same overlay: a header with the logo, a navy hero, then plain
   sections whose headings name them (no label above a heading, no icon cards). Colors come from the brand tokens above. */
html.ui-next #central-gate.ui-home{--hm-ink:#0A1220;--hm-ink-line:rgba(255,255,255,.12);--hm-on-ink:#ffffff;--hm-on-ink-2:#B6C3D8;--hm-paper:#ffffff;--hm-paper-2:#F7F9FC;--hm-card:#ffffff;--hm-gutter:max(20px,env(safe-area-inset-left,0px));--ease:cubic-bezier(.16,1,.3,1);background:var(--hm-paper)}
@media (prefers-color-scheme:dark){html.ui-next #central-gate.ui-home{--hm-paper:#0A1220;--hm-paper-2:#0E1726;--hm-card:#121C2D}}
.ui-next .ui-home :where(section,ol,ul,dl,dd,li){margin:0;padding:0;border:0;background:none;list-style:none}
.ui-next .ui-home .hm-wrap{max-width:1120px;margin-inline:auto;padding-inline:var(--hm-gutter)}
.ui-next .ui-home .hm-nav{position:sticky;top:0;z-index:5;background:var(--hm-paper);border-bottom:1px solid var(--sep)}
/* The classic stylesheet gives every block directly in the page its light border colour with !important (style.css, #central-gate > div);
   the header's line takes the theme's separator back, or it is a white line in dark mode (owner's screenshot, November 22, 2026). */
html.ui-next #central-gate.ui-home>.hm-nav{border-bottom-color:var(--sep)!important}
.ui-next .ui-home .hm-nav-in{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:64px}
.ui-next .ui-home .hm-brand{display:flex;align-items:center;min-height:44px;cursor:pointer}
.ui-next .ui-home .hm-links{display:none;gap:28px}
.ui-next .ui-home .hm-links button{display:inline-flex;align-items:center;min-height:44px;color:var(--label-2);font-size:.9375rem;font-weight:600;cursor:pointer;transition:color .2s}
.ui-next .ui-home .hm-nav-cta{display:flex;align-items:center;gap:8px}
.ui-next .ui-home .hm-find{display:none;min-height:42px;padding:0 16px;font-size:.9375rem}
@media (hover:hover){.ui-next .ui-home .hm-links button:hover{color:var(--label)}}
@media (min-width:860px){.ui-next .ui-home .hm-links{display:flex}.ui-next .ui-home .hm-find{display:inline-flex}}
.ui-next .ui-home .hm-hero{background:var(--hm-ink);color:var(--hm-on-ink);padding:52px 0 68px}
.ui-next .ui-home .hm-hero-grid{display:grid;gap:44px;align-items:center}
.ui-next .ui-home .hm-title{font:800 clamp(2.5rem,9.2vw,4.75rem)/1.04 var(--font-display);letter-spacing:-.035em;text-wrap:balance;outline:none}
.ui-next .ui-home .hm-lede{margin-top:20px;max-width:34em;color:var(--hm-on-ink-2);font-size:clamp(1.0625rem,2.2vw,1.1875rem);font-weight:500;line-height:1.55;text-wrap:pretty}
.ui-next .ui-home .hm-lede.dim{margin-top:14px;color:var(--label-2)}
.ui-next .ui-home .hm-cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}
.ui-next .ui-home .hm-cta .btn{flex:1 1 220px;min-height:52px}
.ui-next .ui-home .hm-ghost{background:transparent;color:var(--hm-on-ink);box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.36)}
.ui-next .ui-home .hm-navy{margin-top:26px;background:var(--navy);color:#ffffff}
@media (prefers-color-scheme:dark){.ui-next .ui-home .hm-navy{background:#ffffff;color:var(--navy-deep)}}
.ui-next .ui-home .hm-note{margin-top:20px;color:var(--hm-on-ink-2);font-size:.9375rem}
.ui-next .ui-home .hm-sec .hm-note{margin-top:12px;color:var(--label-2)}
@media (min-width:960px){.ui-next .ui-home .hm-hero{padding:96px 0 108px}.ui-next .ui-home .hm-hero-grid{grid-template-columns:1.08fr .92fr;gap:64px}.ui-next .ui-home .hm-cta .btn{flex:0 0 auto}}
/* Hero: a real listing with its real terms (it opens that listing), and the three steps beside it, lit in turn. The card is always
   light, on the navy hero, and never shows an outcome that did not happen. */
.ui-next .ui-home .hm-story{width:min(100%,410px);margin-inline:auto}
.ui-next .ui-home #hm-story-card:empty{display:none}
.ui-next .ui-home .hm-card{display:block;width:100%;padding:20px;border-radius:16px;background:#ffffff;color:#10213B;text-align:start;cursor:pointer;box-shadow:0 24px 60px rgba(0,0,0,.38);transition:opacity .28s ease,transform .5s var(--ease)}
.ui-next .ui-home .hm-card>span{display:block}
.ui-next .ui-home .hm-card-title{font-weight:800;font-size:1.1875rem;line-height:1.25;letter-spacing:-.02em;overflow-wrap:anywhere}
.ui-next .ui-home .hm-card-meta{margin-bottom:10px;font-size:.875rem;color:#5B6B82}
.ui-next .ui-home .hm-card .hm-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-inline:-8px;padding:10px 8px;border-radius:10px;font-weight:500}
.ui-next .ui-home .hm-row small{display:block;font-size:.8125rem;font-weight:400;color:#5B6B82}
.ui-next .ui-home .hm-row b{font-weight:700;font-variant-numeric:tabular-nums}
.ui-next .ui-home .hm-story[data-step="0"] .hm-row.r1{animation:hm-hl 1.2s .45s both}
.ui-next .ui-home .hm-story[data-step="0"] .hm-row.r2{animation:hm-hl 1.2s 1.35s both}
@keyframes hm-hl{0%,100%{background:transparent}30%,70%{background:#FFF1DF}}
.ui-next .ui-home .hm-card .hm-apply{display:grid;place-items:center;height:50px;margin-top:10px;border-radius:12px;background:#FF8200;color:#0A1220;font-weight:700}
.ui-next .ui-home .hm-story-steps{display:grid;gap:4px;margin-top:16px}
.ui-next .ui-home .hm-story-steps li{display:grid;grid-template-columns:28px 1fr;gap:12px;padding:10px 12px;border-radius:12px;color:var(--hm-on-ink-2);transition:background-color .35s,color .35s}
.ui-next .ui-home .hm-story:not(.playing) .hm-story-steps li{color:var(--hm-on-ink)}
.ui-next .ui-home .hm-story-steps .hm-n{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;box-shadow:inset 0 0 0 1.5px currentColor;font-weight:800;font-size:.8125rem;transition:background-color .35s,color .35s,box-shadow .35s}
.ui-next .ui-home .hm-story-steps b{display:block;font-weight:700;line-height:1.3}
.ui-next .ui-home .hm-story-steps .d{display:block;font-size:.875rem;line-height:1.45}
.ui-next .ui-home .hm-story-steps .bar{display:block;height:2px;margin-top:8px;border-radius:2px;background:rgba(255,255,255,.16);overflow:hidden;opacity:0;transition:opacity .3s}
.ui-next .ui-home .hm-story-steps .bar i{display:block;height:100%;background:#FF8200;transform-origin:left;transform:scaleX(0)}
.ui-next .ui-home .hm-story-steps li.active{background:rgba(255,255,255,.08);color:var(--hm-on-ink)}
.ui-next .ui-home .hm-story-steps li.active .hm-n,.ui-next .ui-home .hm-story-steps li.done .hm-n{background:#FF8200;color:#0A1220;box-shadow:none}
.ui-next .ui-home .hm-story-steps li.active .bar{opacity:1}
.ui-next .ui-home .hm-story.playing .hm-story-steps li.active .bar i{animation:hm-fill 3.2s linear forwards}
@keyframes hm-fill{to{transform:scaleX(1)}}
/* Sections */
.ui-next .ui-home .hm-sec{padding:68px 0;background:var(--hm-paper);scroll-margin-top:72px}
.ui-next .ui-home .hm-sec.alt{background:var(--hm-paper-2)}
@media (min-width:960px){.ui-next .ui-home .hm-sec{padding:104px 0}}
.ui-next .ui-home :is(.hm-sec,.hm-close) h2{font:800 clamp(1.85rem,5.2vw,2.75rem)/1.12 var(--font-display);letter-spacing:-.03em;text-wrap:balance}
.ui-next .ui-home :is(.hm-sec,.hm-fees) h3{font:700 1.1875rem/1.3 var(--font-display);letter-spacing:-.015em}
.ui-next .ui-home .hm-row-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap}
.ui-next .ui-home .hm-cars{display:grid;grid-auto-flow:column;grid-auto-columns:min(78vw,290px);gap:14px;margin:26px calc(var(--hm-gutter)*-1) 0;padding:2px var(--hm-gutter) 14px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:var(--hm-gutter);scrollbar-width:none}
.ui-next .ui-home .hm-cars::-webkit-scrollbar{display:none}
.ui-next .ui-home .hm-car{scroll-snap-align:start;display:flex;flex-direction:column;gap:18px;padding:20px;border-radius:16px;background:var(--hm-card);box-shadow:inset 0 0 0 1px var(--sep);color:var(--label);text-align:start;transition:scale .3s var(--ease),box-shadow .2s}
.ui-next .ui-home .hm-car[data-ui-listing]{cursor:pointer}
.ui-next .ui-home .hm-car>span:not(.listing-photo),.ui-next .ui-home .hm-car>span>span{display:block}
.ui-next .ui-home .hm-car-name{font-weight:800;font-size:1.1875rem;line-height:1.25;letter-spacing:-.02em;overflow-wrap:anywhere}
.ui-next .ui-home .hm-car-meta{font-size:.875rem;color:var(--label-2);overflow-wrap:anywhere}
.ui-next .ui-home .hm-price{font-weight:800;font-size:1.75rem;line-height:1;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
.ui-next .ui-home .hm-price small{display:inline;font-weight:500;font-size:.9375rem;letter-spacing:0;color:var(--label-2)}
@media (hover:hover){.ui-next .ui-home .hm-car[data-ui-listing]:hover{box-shadow:inset 0 0 0 1.5px var(--label)}}
.ui-next .ui-home .hm-car[data-ui-listing]:active{scale:.98}
@media (min-width:1000px){.ui-next .ui-home .hm-cars{grid-auto-flow:row;grid-template-columns:repeat(4,1fr);margin-inline:0;padding-inline:0;overflow:visible}}
.ui-next .ui-home .hm-empty{display:grid;gap:10px;justify-items:center;margin-top:22px;padding:28px 20px;border-radius:16px;background:var(--hm-paper-2);color:var(--label-2);text-align:center}
.ui-next .ui-home .hm-empty-title{color:var(--label);font-weight:700}
.ui-next .ui-home .hm-how{display:grid;gap:32px}
@media (min-width:900px){.ui-next .ui-home .hm-how{grid-template-columns:.9fr 1.1fr;gap:72px;align-items:start}.ui-next .ui-home .hm-how .hm-sec-head{position:sticky;top:112px}}
.ui-next .ui-home .hm-seg{position:relative;display:inline-grid;grid-template-columns:1fr 1fr;margin-top:22px;padding:4px;border-radius:12px;background:var(--fill-press)}
.ui-next .ui-home .hm-seg button{position:relative;z-index:1;min-height:42px;padding:0 24px;border-radius:9px;font-weight:700;font-size:.9375rem;color:var(--label);cursor:pointer}
.ui-next .ui-home .hm-seg-thumb{position:absolute;top:4px;bottom:4px;inset-inline-start:4px;width:calc(50% - 4px);border-radius:9px;background:var(--seg-thumb);box-shadow:var(--seg-shadow);transition:transform .45s var(--ease)}
.ui-next .ui-home .hm-seg[data-on="owners"] .hm-seg-thumb{transform:translateX(100%)}
.ui-next .ui-home .hm-steps{position:relative;display:grid;gap:30px}
.ui-next .ui-home .hm-steps::before,.ui-next .ui-home .hm-steps::after{content:"";position:absolute;inset-inline-start:21px;top:22px;bottom:22px;width:2px;border-radius:2px;background:var(--sep)}
.ui-next .ui-home .hm-steps::after{background:#FF8200;transform-origin:top;transform:scaleY(var(--p,0))}
.ui-next .ui-home .hm-steps li{position:relative;z-index:1;display:grid;grid-template-columns:44px 1fr;gap:18px;align-items:start}
.ui-next .ui-home .hm-steps .hm-n{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--hm-paper-2);box-shadow:inset 0 0 0 2px var(--sep);font-weight:800;color:var(--label-2);transition:background-color .35s,color .35s,box-shadow .35s}
.ui-next .ui-home .hm-steps li.on .hm-n{background:#FF8200;box-shadow:none;color:#0A1220}
.ui-next .ui-home .hm-steps h3{margin-top:9px}
.ui-next .ui-home .hm-steps p{margin-top:6px;max-width:46ch;color:var(--label-2)}
.ui-next .ui-home .hm-know{display:grid;margin-top:26px}
@media (min-width:800px){.ui-next .ui-home .hm-know{grid-template-columns:1fr 1fr;column-gap:64px}}
.ui-next .ui-home .hm-know>div{padding:20px 0}
.ui-next .ui-home .hm-know dt{font-weight:700;font-size:1.125rem;letter-spacing:-.01em}
.ui-next .ui-home .hm-know dd{margin-top:4px;max-width:44ch;color:var(--label-2)}
.ui-next .ui-home .hm-rules>*{position:relative}
.ui-next .ui-home .hm-rules>*::before{content:"";position:absolute;left:0;right:0;top:0;height:1px;background:var(--sep)}
.ui-next .ui-home .hm-owners{display:grid;gap:36px;align-items:start}
@media (min-width:900px){.ui-next .ui-home .hm-owners{grid-template-columns:1fr 1fr;gap:72px}}
.ui-next .ui-home .hm-plain{margin-top:24px;border-bottom:1px solid var(--sep)}
.ui-next .ui-home .hm-plain li{padding:14px 0;font-weight:600}
.ui-next .ui-home .hm-plain li span{display:block}
.ui-next .ui-home .hm-fees{padding:26px;border-radius:16px;background:var(--hm-ink);color:var(--hm-on-ink)}
@media (prefers-color-scheme:dark){.ui-next .ui-home .hm-fees{background:var(--hm-card);box-shadow:inset 0 0 0 1px var(--sep)}}
.ui-next .ui-home .hm-fee{display:grid;grid-template-columns:auto 1fr;align-items:baseline;gap:6px 16px;padding:18px 0}
.ui-next .ui-home .hm-fee+.hm-fee{border-top:1px solid var(--hm-ink-line)}
.ui-next .ui-home .hm-fee strong{min-width:2.9em;font-weight:800;font-size:2.25rem;line-height:1;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
.ui-next .ui-home .hm-fee span{font-weight:500;color:var(--hm-on-ink-2)}
.ui-next .ui-home .hm-fees p{margin-top:8px;padding-top:16px;border-top:1px solid var(--hm-ink-line);font-size:.9375rem;color:var(--hm-on-ink-2)}
.ui-next .ui-home .hm-faq{max-width:780px;margin-top:22px;border-top:1px solid var(--sep)}
.ui-next .ui-home .hm-faq-item{border-bottom:1px solid var(--sep)}
.ui-next .ui-home .hm-q{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:64px;padding:16px 0;color:var(--label);font-weight:700;text-align:start;cursor:pointer}
.ui-next .ui-home .hm-q .ic{color:var(--label-2);transform:rotate(90deg);transition:transform .45s var(--ease)}
.ui-next .ui-home .hm-q[aria-expanded="true"] .ic{transform:rotate(-90deg)}
.ui-next .ui-home .hm-a{display:grid;grid-template-rows:0fr;visibility:hidden;transition:grid-template-rows .45s var(--ease),visibility 0s .45s}
.ui-next .ui-home .hm-q[aria-expanded="true"]+.hm-a{grid-template-rows:1fr;visibility:visible;transition-delay:0s}
.ui-next .ui-home .hm-a>div{overflow:hidden}
.ui-next .ui-home .hm-a p{padding:0 0 20px;max-width:60ch;color:var(--label-2);opacity:0;transition:opacity .3s ease}
.ui-next .ui-home .hm-q[aria-expanded="true"]+.hm-a p{opacity:1;transition-delay:.08s}
.ui-next .ui-home .hm-close{background:var(--hm-ink);color:var(--hm-on-ink);padding:76px 0}
@media (min-width:700px){.ui-next .ui-home .hm-close .hm-wrap{display:flex;align-items:center;justify-content:space-between;gap:32px;flex-wrap:wrap}.ui-next .ui-home .hm-close .hm-cta{margin-top:0}.ui-next .ui-home .hm-close .hm-cta .btn{flex:0 0 auto}}
.ui-next .ui-home .hm-foot{--logo-ink:#ffffff;background:var(--hm-ink);color:var(--hm-on-ink-2);border-top:1px solid var(--hm-ink-line);padding:26px 0 calc(26px + env(safe-area-inset-bottom,0px));font-size:.875rem}
.ui-next .ui-home .hm-foot-in{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px 24px}
.ui-next .ui-home .hm-foot-links{display:flex;flex-wrap:wrap;gap:4px 20px}
.ui-next .ui-home .hm-foot-links button{min-height:44px;color:var(--hm-on-ink);font-weight:600;cursor:pointer;text-decoration:underline;text-decoration-color:#FF8200;text-decoration-thickness:2px;text-underline-offset:5px}
.ui-next .ui-home .hm-foot-note{flex-basis:100%}
@media (prefers-reduced-motion:reduce){.ui-next .ui-home .hm-story *,.ui-next .ui-home .hm-seg-thumb,.ui-next .ui-home .hm-a,.ui-next .ui-home .hm-a p,.ui-next .ui-home .hm-q .ic{animation:none!important;transition-duration:.01s!important;transition-delay:0s!important}.ui-next .ui-home .hm-story-steps .bar{display:none}.ui-next .ui-home .hm-car[data-ui-listing]:active{scale:1}}

/* Terms screen (ui-terms.js): a page for reading. One column, a measure of about 70 characters, clear steps between heading levels. */
html.ui-next #central-gate.ui-terms{background:var(--surface)}
@media (prefers-color-scheme:dark){html.ui-next #central-gate.ui-terms{background:var(--bg)}}
.ui-next .ui-terms :where(section,ul,li,table,thead,tbody,tr,th,td,mark,code){margin:0;padding:0;border:0;background:none;color:inherit;font:inherit;letter-spacing:inherit;text-transform:none;box-shadow:none}
.ui-next .ui-terms .tm-wrap{max-width:760px;margin-inline:auto;padding-inline:max(20px,env(safe-area-inset-left,0px))}
.ui-next .ui-terms .tm-nav{position:sticky;top:0;z-index:5;background:var(--surface);border-bottom:1px solid var(--sep)}
@media (prefers-color-scheme:dark){.ui-next .ui-terms .tm-nav{background:var(--bg)}}
.ui-next .ui-terms .tm-nav-in{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:64px}
.ui-next .ui-terms .tm-brand{display:flex;align-items:center;min-height:44px;cursor:pointer}
/* The other document and Home, at the right of the bar. */
.ui-next .ui-terms .tm-links{display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:flex-end}
/* On a phone the two links do not fit beside the logo ("Terms and Conditions" pushed Home onto a row of its own, November 20, 2026): each
   stays on one line, and Home gives way, as the logo beside it leads to the website's home as well. */
.ui-next .ui-terms .tm-links .btn{white-space:nowrap}
@media (max-width:430px){.ui-next .ui-terms .tm-links [data-ui-go="home"]{display:none}}
.ui-next .ui-terms .tm-body{padding-top:40px;padding-bottom:96px}
.ui-next .ui-terms .tm-title{font:800 clamp(2rem,6.4vw,3rem)/1.1 var(--font-display);letter-spacing:-.03em;outline:none}
.ui-next .ui-terms .tm-notice{margin-top:18px;padding:14px 16px;border-radius:12px;background:#FFF1DF;color:#5C3300;font-weight:600;line-height:1.45}
.ui-next .ui-terms .tm-open{padding:1px 5px;border-radius:5px;background:#FFF1DF;color:#5C3300}
@media (prefers-color-scheme:dark){.ui-next .ui-terms :is(.tm-notice,.tm-open){background:#3B2A10;color:#FFD9A8}}
.ui-next .ui-terms .tm-meta{margin-top:16px;color:var(--label-2);font-size:.9375rem}
.ui-next .ui-terms .tm-lede{margin-top:18px;color:var(--label-2)}
.ui-next .ui-terms .tm-fail{display:grid;gap:12px;justify-items:start;margin-top:22px}
.ui-next .ui-terms .tm-body>div[aria-hidden]{margin-top:26px}
.ui-next .ui-terms .tm-toc{display:grid;gap:0 32px;margin-top:26px;padding:8px 0;border-block:1px solid var(--sep)}
@media (min-width:640px){.ui-next .ui-terms .tm-toc{grid-template-columns:1fr 1fr}}
.ui-next .ui-terms .tm-toc button{min-height:40px;color:var(--accent);font-weight:600;text-align:start;cursor:pointer}
@media (hover:hover){.ui-next .ui-terms .tm-toc button:hover{text-decoration:underline;text-decoration-color:var(--accent-fill);text-decoration-thickness:2px;text-underline-offset:4px}}
.ui-next .ui-terms section{scroll-margin-top:80px}
.ui-next .ui-terms section h2{margin-top:52px;font:800 1.5rem/1.2 var(--font-display);letter-spacing:-.02em}
.ui-next .ui-terms section p{margin-top:14px;max-width:70ch;line-height:1.62}
.ui-next .ui-terms section ul{margin-top:10px;max-width:70ch}
.ui-next .ui-terms section li{margin-top:6px;line-height:1.55}
.ui-next .ui-terms section strong{font-weight:700}
.ui-next .ui-terms code{font-family:var(--font-mono);font-size:.9em}
.ui-next .ui-terms .tm-table{margin-top:16px;overflow-x:auto}
.ui-next .ui-terms table{width:100%;min-width:560px;border-collapse:collapse;font-size:.9375rem;line-height:1.45}
.ui-next .ui-terms :is(th,td){padding-block:10px;padding-inline:0 14px;border-top:1px solid var(--sep);text-align:start;vertical-align:top}
.ui-next .ui-terms th{border-top:0;font-weight:700}

/* Transitions. Each one explains something: where a screen came from, what just arrived, what is loading. Every one has a Reduce
   Motion form (at the end), and nothing is hidden when a script or a browser feature is missing. */
/* Going forward (a button led into the screen) it comes from the right; going back, from the left; tabs keep the plain rise. */
html.ui-next #central-gate.ui-page{view-transition-name:content}
html.ui-next[data-ui-nav="forward"]::view-transition-new(content){animation:ui-vt-forward .42s cubic-bezier(.16,1,.3,1) both}
html.ui-next[data-ui-nav="back"]::view-transition-new(content){animation:ui-vt-back .42s cubic-bezier(.16,1,.3,1) both}
@keyframes ui-vt-forward{from{opacity:0;transform:translateX(36px)}}
@keyframes ui-vt-back{from{opacity:0;transform:translateX(-36px)}}
/* A car card and the sheet it opens are the same element to the transition, so the card grows into the sheet and back. */
html.ui-next[data-ui-nav="morph"]::view-transition-old(content),html.ui-next[data-ui-nav="morph"]::view-transition-new(content){animation:none}
html.ui-next::view-transition-group(ui-morph){animation-duration:.46s;animation-timing-function:cubic-bezier(.16,1,.3,1)}
html.ui-next::view-transition-old(ui-morph),html.ui-next::view-transition-new(ui-morph){width:100%;height:100%;object-fit:none;object-position:top left;overflow:clip;animation-duration:.26s}
.ui-next .ui-layer .scrim{view-transition-name:ui-scrim}
/* Content that takes the place of a skeleton arrives block by block. Only inside a page: a page load draws no skeleton, so its first
   screen is simply there (ui.js uiLoading, uiArrived). */
.ui-next :is(.ui-gate,.ui-layer) .page.arriving>*:not(.ui-hero){animation:ui-arrive .5s cubic-bezier(.16,1,.3,1) both}
.ui-next :is(.ui-gate,.ui-layer) .page.arriving>:nth-child(3){animation-delay:40ms}
.ui-next :is(.ui-gate,.ui-layer) .page.arriving>:nth-child(4){animation-delay:80ms}
.ui-next :is(.ui-gate,.ui-layer) .page.arriving>:nth-child(5){animation-delay:120ms}
.ui-next :is(.ui-gate,.ui-layer) .page.arriving>:nth-child(n+6){animation-delay:160ms}
@keyframes ui-arrive{from{opacity:0;transform:translateY(12px)}}
/* The landing page has no entrance (owner report, November 15, 2026: "como si fuese un glitch entre cada una"): its headline, lines
   and hero are there as the page is drawn, on a page load and when Home is tapped alike. The page-load cover, whose symbol flew into
   the header logo, is gone too: a page load shows the first paint's frame, then its screen (at the end of this file). */
/* Landing sections arrive once, each kind of content in its own way (ui.js uiArrive sets data-arrive-on only when it can watch):
   headings come into focus, cars are dealt in from the side they scroll from, ruled lists draw their rule first, the pricing panel
   is uncovered from the top. Only what comes into view by scrolling: what is on screen when the page is drawn is simply there (the
   switch is made with transitions off, .arrive-now, and read once, ui.js uiArrive). */
.ui-next .ui-home[data-arrive-on] h2[data-arrive]{opacity:0;filter:blur(10px);translate:0 18px;transition:opacity .7s ease,filter .8s var(--ease),translate .8s var(--ease)}
.ui-next .ui-home[data-arrive-on] h2[data-arrive].in{opacity:1;filter:none;translate:0 0}
.ui-next .ui-home[data-arrive-on] [data-arrive="deal"]>*{opacity:0;translate:56px 0;transition:opacity .6s ease,translate .9s var(--ease),scale .3s var(--ease),box-shadow .2s;transition-delay:calc(var(--n,0)*70ms)}
.ui-next .ui-home[data-arrive-on] [data-arrive="deal"].in>*{opacity:1;translate:0 0}
.ui-next .ui-home[data-arrive-on] .hm-cars[data-arrive]:not(.settled){scroll-snap-type:none}
.ui-next .ui-home[data-arrive-on] .hm-rules[data-arrive]>*::before{transform:scaleX(0);transform-origin:left;transition:transform .9s var(--ease);transition-delay:calc(var(--n,0)*70ms)}
.ui-next .ui-home[data-arrive-on] .hm-rules[data-arrive]>*>*{opacity:0;translate:0 10px;transition:opacity .6s ease,translate .7s var(--ease);transition-delay:calc(140ms + var(--n,0)*70ms)}
.ui-next .ui-home[data-arrive-on] .hm-rules[data-arrive].in>*::before{transform:none}
.ui-next .ui-home[data-arrive-on] .hm-rules[data-arrive].in>*>*{opacity:1;translate:0 0}
.ui-next .ui-home[data-arrive-on] .hm-fees[data-arrive]{clip-path:inset(0 0 100% 0 round 16px);transition:clip-path 1s var(--ease)}
.ui-next .ui-home[data-arrive-on] .hm-fees[data-arrive].in{clip-path:inset(0 0 0 0 round 16px)}
.ui-next .ui-home.arrive-now[data-arrive-on] :is(h2[data-arrive],[data-arrive="deal"]>*,.hm-rules[data-arrive]>*>*,.hm-fees[data-arrive]),.ui-next .ui-home.arrive-now[data-arrive-on] .hm-rules[data-arrive]>*::before{transition:none!important}
/* On a phone the row of cars follows the finger: the car in place is full size, its neighbors sit back until they are swiped in. */
@supports (animation-timeline:view()){@media (max-width:999px) and (prefers-reduced-motion:no-preference){.ui-next .ui-home .hm-car[data-ui-listing]{animation:hm-car-focus linear both;animation-timeline:view(inline);animation-range:cover 0% cover 100%}}}
@keyframes hm-car-focus{0%,100%{transform:scale(.93)}36%,64%{transform:none}}
@media (prefers-reduced-motion:reduce){
  .ui-next :is(.ui-gate,.ui-layer) .page.arriving>*{animation:none}
  /* Reduce Motion turned on during a visit: whatever had not arrived yet is shown at once, even before the script reacts. */
  .ui-next .ui-home[data-arrive-on] :is(h2[data-arrive],[data-arrive="deal"]>*,.hm-rules[data-arrive]>*>*){opacity:1;filter:none;translate:0 0;transition:none}
  .ui-next .ui-home[data-arrive-on] .hm-rules[data-arrive]>*::before{transform:none;transition:none}
  .ui-next .ui-home[data-arrive-on] .hm-fees[data-arrive]{clip-path:none;transition:none}
}

/* The page that is not found (ui-public.js uiLostScreen; owner's word, November 15, 2026: a 404 "Adecuada a nuestra identidad").
   Under its heading and line, the drawing: the mark's two road lines arrive where its pin would be, and the pin is only dots in the
   quiet ink. Then the two ways on, home first: a column of full-width buttons on a phone, side by side from 700 px. It does not move:
   a page load is one state, then its screen. The server's copy has the same drawing and ways (.rm-ssr, below). */
.ui-next :is(.ui-gate,.ui-layer) .ui-hero:has(~.lost) .subtitle{text-wrap:balance}
.ui-next :is(.ui-gate,.ui-layer) .lost{margin-top:36px}
.ui-next :is(.ui-gate,.ui-layer) .lost-art{display:block;width:200px;height:auto;margin:0}
.ui-next :is(.ui-gate,.ui-layer) .lost-pin{stroke:var(--label-3)}
.ui-next :is(.ui-gate,.ui-layer) .lost-actions{margin-top:40px}
@media (min-width:700px){.ui-next :is(.ui-gate,.ui-layer) .lost-art{width:232px}.ui-next :is(.ui-gate,.ui-layer) .lost-actions{grid-auto-flow:column;justify-content:start}.ui-next :is(.ui-gate,.ui-layer) .lost-actions .btn{min-width:168px}}

/* First paint (owner report, November 15, 2026: "se ve feo cuando entro"). What the page shows before any script has drawn a screen,
   and where no script runs at all, so that nobody sees the classic header's empty boxes or the server's copy as plain links. The
   server writes html.shell-hidden on the page itself (service/preview.cjs); demo/index.html carries the frame (#ui-first: the small
   loader, ui.js uiLoader()); the website sends its readable copy (#rm-ssr, service/public-pages.cjs).
   A page load is one state, then its screen (owner report later the same day, with a phone recording: "como si fuese un glitch entre
   cada una"). The frame is the screen's own background and nothing else; only a page that has taken 800 ms shows the small loader,
   in the middle, where no header or logo is. No skeleton, cover or entrance is drawn over it (ui.js uiBoot).
   The frame lies under every screen (#central-gate is at 20000): whatever is drawn, new or classic, covers it, and nothing a script
   fails to do can leave it over a screen. ui.js takes it away, at once, once a screen is in place (uiArrived, uiLeave). Its tokens are
   the interface's, written out because it sits outside the interface's containers (service/verify-public-pages.cjs keeps them equal). */
:is(.ui-first,.rm-ssr){--font:"Manrope",Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",sans-serif;--font-display:"Manrope",Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",sans-serif;--font-mono:ui-monospace,"SF Mono","Cascadia Mono",Menlo,Consolas,monospace;--bg:#F7F9FC;--surface:#ffffff;--label:#10213B;--label-2:#5B6B82;--label-3:#8492A6;--sep:#E2E8F0;--fill:rgba(6,27,59,.06);--accent:#061B3B;--accent-fill:#FF8200;--on-accent:#0A1220;--focus:#D96B00;--logo-ink:#061B3B;--radius:16px;--gutter-l:max(16px,env(safe-area-inset-left,0px));--gutter-r:max(16px,env(safe-area-inset-right,0px))}
@media (prefers-color-scheme:dark){:is(.ui-first,.rm-ssr){--bg:#0A1220;--surface:#121C2D;--label:#F2F5FA;--label-2:#A7B3C6;--label-3:#74839B;--sep:#1E2A3D;--fill:rgba(167,179,198,.14);--accent:#FF9B12;--focus:#FF9B12;--logo-ink:#ffffff;color-scheme:dark}}
/* The frame, in the color of the screen to come: the app screens' background; the website's landing page and its two documents are
   white in light mode (their copy says which page it is, data-page); in dark mode every screen has the same background. Not in the
   demo from a file or in the administrator's workspace, which have no html.shell-hidden. */
.ui-first{display:none}
html.shell-hidden .ui-first{position:fixed;inset:0;z-index:19999;display:grid;place-items:center;background:var(--bg)}
html.shell-hidden:has(#rm-ssr:is([data-page="home"],[data-page="terms"],[data-page="privacy"])) .ui-first{background:var(--surface)}
@media (prefers-color-scheme:dark){html.shell-hidden:has(#rm-ssr:is([data-page="home"],[data-page="terms"],[data-page="privacy"])) .ui-first{background:var(--bg)}}
/* The page behind it, in the same color while it is there: a phone paints the bands around the page (the status bar, its toolbar)
   from the page's own background, which is still the classic one until the interface draws. Literal values, the tokens' (tokens never
   sit on <html>); once the frame has gone the interface's own rule holds (html.ui-next, at the start of this file). */
html.shell-hidden:has(#ui-first),html.shell-hidden:has(#ui-first) body{background-color:#F7F9FC}
html.shell-hidden:has(#ui-first):has(#rm-ssr:is([data-page="home"],[data-page="terms"],[data-page="privacy"])),html.shell-hidden:has(#ui-first):has(#rm-ssr:is([data-page="home"],[data-page="terms"],[data-page="privacy"])) body{background-color:#ffffff}
@media (prefers-color-scheme:dark){html.shell-hidden:has(#ui-first),html.shell-hidden:has(#ui-first) body,html.shell-hidden:has(#ui-first):has(#rm-ssr:is([data-page="home"],[data-page="terms"],[data-page="privacy"])),html.shell-hidden:has(#ui-first):has(#rm-ssr:is([data-page="home"],[data-page="terms"],[data-page="privacy"])) body{background-color:#0A1220}}
/* The small loader waits: for 800 ms the frame is the background alone, so a page that comes in time shows one state, then its
   screen. The animation only holds it back (from transparent to its own opacity): where animations do not run it is simply there.
   Under Reduce Motion it waits the same, then is there without a fade, and its ring stands still (above). */
html.shell-hidden .ui-first .ui-loader{animation:ui-first-late .3s ease .8s both}
@keyframes ui-first-late{from{opacity:0}}
@media (prefers-reduced-motion:reduce){html.shell-hidden .ui-first .ui-loader{animation-duration:0s}}
/* Larger than the loader a page draws (owner's word, November 15, 2026: "la R que aparece cargando, deberia aparecer un poco mas
   grande"): alone in the middle of the window, the ring is 72 px where a page's is 40, and the symbol grows with it (32 px high where
   it was 18, in its own proportions). The ring's line is drawn 3.6 px where it was 2.8: thicker, not by the whole factor, so the
   larger ring stays light. The markup is still ui.js uiLoader(); only its size changes here. */
html.shell-hidden .ui-first .ui-loader{width:72px;height:72px}
html.shell-hidden .ui-first .ui-loader .ui-mark{width:41px;height:32px}
html.shell-hidden .ui-first .ui-loader-ring{stroke-width:5}
/* The page behind the frame shows no scroll bar: the copy under it is long, and its bar went away when the copy did, which moved the
   loader sideways as the cover took over. (The interface scrolls inside its own screen, never the page.) */
html.shell-hidden{scrollbar-width:none}
/* The website's readable copy, as the interface writes a page: the header with the symbol and the way to the cars, a large title,
   plain ruled lists, links that are navy with the orange line. It is seen where no script runs, and if no screen came at all. */
html.shell-hidden .rm-ssr{min-height:100vh;min-height:100dvh;background:var(--surface);color:var(--label);font:400 1.0625rem/1.5 var(--font);letter-spacing:-.01em;-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%}
html.shell-hidden .rm-ssr>header{position:sticky;top:0;z-index:1;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 12px;min-height:64px;margin:0;padding:10px max(var(--gutter-r),calc((100% - 1120px)/2)) 10px max(var(--gutter-l),calc((100% - 1120px)/2));border-bottom:1px solid var(--sep);background:var(--surface)}
html.shell-hidden .rm-ssr>header>p{margin:0}
html.shell-hidden .rm-ssr>header>p>a{display:inline-flex;align-items:center;gap:10px;min-height:44px;color:var(--label);font:800 1.375rem/1 var(--font-display);letter-spacing:-.03em;text-decoration:none}
html.shell-hidden .rm-ssr>header>p>a::before{content:"";flex:none;width:32px;height:32px;border-radius:8px;background:url("favicon.svg") center/cover no-repeat}
html.shell-hidden .rm-ssr>header>nav{display:flex;flex-wrap:wrap;align-items:center;gap:2px 4px;margin-inline-start:-10px}
html.shell-hidden .rm-ssr>header>nav>a{display:inline-flex;align-items:center;min-height:44px;padding:0 10px;border-radius:12px;color:var(--label-2);font-size:.9375rem;font-weight:600;text-decoration:none}
html.shell-hidden .rm-ssr>header>nav>a:first-child{min-height:42px;margin-inline-start:10px;padding:0 16px;background:var(--accent-fill);color:var(--on-accent);font-weight:700}
/* "Sign in" asks first whether the visitor is a driver or an owner (owner instruction, November 15, 2026). Without a script it is a
   disclosure that looks like the links beside it; its two ways open under it, over the page, a finger's size each. */
html.shell-hidden .rm-ssr>header>nav>details{position:relative;margin:0}
html.shell-hidden .rm-ssr>header>nav>details>summary{display:flex;align-items:center;min-height:44px;padding:0 10px;border-radius:12px;color:var(--label-2);font-size:.9375rem;font-weight:600;list-style:none;cursor:pointer}
html.shell-hidden .rm-ssr>header>nav>details>summary::-webkit-details-marker{display:none}
html.shell-hidden .rm-ssr>header>nav>details[open]>summary{color:var(--label)}
html.shell-hidden .rm-ssr>header>nav>details>div{position:absolute;top:100%;inset-inline-end:0;z-index:2;display:grid;min-width:200px;margin-top:4px;padding:6px;border:1px solid var(--sep);border-radius:var(--radius);background:var(--surface);box-shadow:0 12px 32px rgba(10,18,32,.16)}
html.shell-hidden .rm-ssr>header>nav>details>div>a{display:flex;align-items:center;min-height:44px;padding:0 12px;border-radius:10px;color:var(--label);font-size:.9375rem;font-weight:600;text-decoration:none}
/* The page that is not found, as the interface draws it: the drawing, then home and the cars as its buttons (above, .lost). */
html.shell-hidden .rm-ssr p:has(+.lost-art){text-wrap:balance}
html.shell-hidden .rm-ssr .lost-art{display:block;width:200px;height:auto;margin:36px 0 0}
html.shell-hidden .rm-ssr .lost-pin{stroke:var(--label-3)}
html.shell-hidden .rm-ssr .rm-actions{display:grid;gap:10px;margin:40px 0 0}
html.shell-hidden .rm-ssr .rm-actions>a{display:flex;align-items:center;justify-content:center;min-height:50px;margin:0;padding:0 20px;border-radius:12px;background:color-mix(in srgb,var(--accent) 14%,transparent);color:var(--accent);font-size:1.0625rem;font-weight:700;line-height:1.2;text-decoration:none}
html.shell-hidden .rm-ssr .rm-actions>a:first-child{background:var(--accent-fill);color:var(--on-accent)}
@media (min-width:700px){html.shell-hidden .rm-ssr .lost-art{width:232px}html.shell-hidden .rm-ssr .rm-actions{grid-auto-flow:column;justify-content:start}html.shell-hidden .rm-ssr .rm-actions>a{min-width:168px}}
html.shell-hidden .rm-ssr>div{max-width:760px;margin:0 auto;padding:4px var(--gutter-r) 56px var(--gutter-l)}
html.shell-hidden .rm-ssr :is(h1,h2,h3,h4){color:var(--label);font-family:var(--font-display);overflow-wrap:anywhere;text-wrap:balance}
html.shell-hidden .rm-ssr h1{margin:28px 0 0;font-size:clamp(2.125rem,7.5vw,3.25rem);font-weight:800;line-height:1.08;letter-spacing:-.035em}
html.shell-hidden .rm-ssr h2{margin:44px 0 0;font-size:1.5rem;font-weight:800;line-height:1.2;letter-spacing:-.02em}
html.shell-hidden .rm-ssr h3{margin:26px 0 0;font-size:1.1875rem;font-weight:700;line-height:1.3;letter-spacing:-.015em}
html.shell-hidden .rm-ssr h4{margin:0;font-size:1.0625rem;font-weight:700;line-height:1.35}
html.shell-hidden .rm-ssr p{margin:12px 0 0;color:var(--label-2);font-size:inherit;line-height:1.55;overflow-wrap:anywhere}
html.shell-hidden .rm-ssr>div a{color:var(--accent);font-weight:600;text-decoration:underline;text-decoration-color:var(--accent-fill);text-decoration-thickness:2px;text-underline-offset:4px}
html.shell-hidden .rm-ssr>div p>a{display:inline-flex;align-items:center;min-height:44px;margin-inline-end:18px}
html.shell-hidden .rm-ssr :is(ul,ol,dl){margin:16px 0 0;padding:0;list-style:none}
html.shell-hidden .rm-ssr li{margin:0;padding:12px 0;border-top:1px solid var(--sep)}
html.shell-hidden .rm-ssr li:last-child{border-bottom:1px solid var(--sep)}
html.shell-hidden .rm-ssr li>a:first-child{font-size:1.125rem;font-weight:700}
html.shell-hidden .rm-ssr li>p{margin-top:2px;font-size:.9375rem}
html.shell-hidden .rm-ssr ol{counter-reset:rm-step}
html.shell-hidden .rm-ssr ol>li{position:relative;padding-inline-start:44px;counter-increment:rm-step}
html.shell-hidden .rm-ssr ol>li::before{content:counter(rm-step);position:absolute;inset-inline-start:0;top:12px;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--fill);color:var(--label);font-size:.9375rem;font-weight:700}
html.shell-hidden .rm-ssr dt{margin:0;padding-top:12px;border-top:1px solid var(--sep);color:var(--label);font-weight:700}
html.shell-hidden .rm-ssr dd{margin:2px 0 0;padding-bottom:12px;color:var(--label-2)}
html.shell-hidden .rm-ssr dd:last-child{border-bottom:1px solid var(--sep)}
html.shell-hidden .rm-ssr img{display:block;width:100%;max-width:600px;height:auto;margin:20px 0 0;border-radius:var(--radius);background:var(--fill)}
html.shell-hidden .rm-ssr table{display:block;max-width:100%;margin:16px 0 0;overflow-x:auto;border-collapse:collapse;font-size:.9375rem;line-height:1.45}
html.shell-hidden .rm-ssr :is(th,td){padding-block:10px;padding-inline:0 14px;border-top:1px solid var(--sep);color:var(--label);text-align:start;vertical-align:top}
html.shell-hidden .rm-ssr strong{color:var(--label);font-weight:700}
html.shell-hidden .rm-ssr code{font-family:var(--font-mono);font-size:.9em}
html.shell-hidden .rm-ssr section{margin:0;padding:0}
html.shell-hidden .rm-ssr>footer{margin:0;padding:18px max(var(--gutter-r),calc((100% - 1120px)/2)) calc(24px + env(safe-area-inset-bottom,0px)) max(var(--gutter-l),calc((100% - 1120px)/2));border-top:1px solid var(--sep);background:var(--bg);color:var(--label-2);font-size:.9375rem}
html.shell-hidden .rm-ssr>footer a{display:inline-flex;align-items:center;min-height:44px;margin-inline-end:20px;color:var(--label-2);font-weight:600;text-decoration:none}
html.shell-hidden .rm-ssr :focus-visible{outline:3px solid var(--focus);outline-offset:2px;border-radius:6px}
@media (hover:hover){html.shell-hidden .rm-ssr>:is(header,footer) nav>a:not(:first-child):hover,html.shell-hidden .rm-ssr>footer a:hover,html.shell-hidden .rm-ssr>header>nav>details>summary:hover{color:var(--label)}html.shell-hidden .rm-ssr>header>nav>details>div>a:hover{background:var(--fill)}}
/* A script that never arrives (a dropped connection, a server restarting): after 12 s the website's frame gives way to its copy, so
   the visitor can read and follow the links instead of watching a loader. A screen drawn before then covers both, and the start of
   the page has taken the frame away long before. */
html.shell-hidden:has(#rm-ssr) .ui-first{animation:ui-first-out .3s ease 12s forwards}
html.shell-hidden .rm-ssr{animation:ui-first-copy 0s 12s forwards}
@keyframes ui-first-out{to{opacity:0;visibility:hidden}}
@keyframes ui-first-copy{to{visibility:visible}}
/* No script at all: on the website the copy is the page; elsewhere the symbol stays on its own, without a ring that turns for nothing. */
@media (scripting:none){
  html.shell-hidden{scrollbar-width:auto}
  html.shell-hidden .rm-ssr{visibility:visible;animation:none}
  html.shell-hidden:has(#rm-ssr) .ui-first{display:none}
  html.shell-hidden .ui-first .ui-loader-ring{display:none}
}

/* Portal sidebar (owner feedback, November 12, 2026): the brand's dark surface, as in the owner's own dashboard design. The logo's
   navy parts turn white on it, the current section is marked by weight, a lighter band and an orange icon. */
@media (min-width:900px){
  .ui-next :is(.ui-gate,.ui-layer) .ui-app:not(.no-tabs) .ui-sidebar{background:#0A1220;border-inline-end:0;color:#ffffff;--logo-ink:#ffffff;--label:#ffffff;--label-2:#B6C3D8;--fill:rgba(255,255,255,.12);--focus:#FF9B12}
  .ui-next :is(.ui-gate,.ui-layer) .ui-sidebar .side-item{color:#C7D2E3;font-weight:500}
  .ui-next :is(.ui-gate,.ui-layer) .ui-sidebar .side-item:hover{background:rgba(255,255,255,.08);color:#ffffff}
  .ui-next :is(.ui-gate,.ui-layer) .ui-sidebar .side-item[aria-current="page"]{background:rgba(255,255,255,.13);color:#ffffff;font-weight:700}
  .ui-next :is(.ui-gate,.ui-layer) .ui-sidebar .side-item[aria-current="page"] .ic{color:#FF9B12}
  .ui-next :is(.ui-gate,.ui-layer) .ui-sidebar .side-foot{border-top:1px solid rgba(255,255,255,.14)}
}
@media (min-width:900px) and (prefers-color-scheme:dark){.ui-next :is(.ui-gate,.ui-layer) .ui-app:not(.no-tabs) .ui-sidebar{background:#020B1C;box-shadow:inset -1px 0 0 rgba(255,255,255,.08)}}
/* Portal surfaces sit on a near-white page: a hairline gives every card and table its edge. */
.ui-next .ui-gate:is(.ui-owner,.ui-admin) .group{box-shadow:0 0 0 1px var(--sep)}
/* Messages between a driver and an owner (ui-chat.js, docs/CHAT.md). One block; every color comes from the tokens at the top.
   The list is a plain app list: who, the last message on one line, its time, a count when something is unread. A conversation is
   messages in order (mine at the right) and one field that stays above the tab bar on a phone and at the bottom of the page from 900px. */
.ui-next :is(.ui-gate,.ui-layer) .chat-row .row-title{font-weight:600}
.ui-next :is(.ui-gate,.ui-layer) .chat-row.unread .row-title{font-weight:800}
.ui-next :is(.ui-gate,.ui-layer) .chat-preview{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ui-next :is(.ui-gate,.ui-layer) .chat-row.unread .chat-preview{color:var(--label)}
.ui-next :is(.ui-gate,.ui-layer) .chat-meta{flex-direction:column;align-items:flex-end;gap:4px;font-size:.8125rem;font-variant-numeric:tabular-nums;white-space:nowrap}
.ui-next :is(.ui-gate,.ui-layer) .chat-count{min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:var(--red-fill);color:var(--on-color);font-size:.8125rem;font-weight:700;line-height:20px;text-align:center;letter-spacing:0}
.ui-next :is(.ui-gate,.ui-layer) .chat-view{display:flex;flex-direction:column;min-height:calc(100vh - 236px);min-height:calc(100dvh - 236px);margin-top:10px}
.ui-next :is(.ui-gate,.ui-layer) .chat-earlier{display:flex;justify-content:center}
.ui-next :is(.ui-gate,.ui-layer) .chat-earlier:empty{display:none}
.ui-next :is(.ui-gate,.ui-layer) .chat-log{flex:1;display:flex;flex-direction:column;justify-content:flex-end;gap:6px;padding:8px 0 14px}
.ui-next :is(.ui-gate,.ui-layer) .chat-day{align-self:center;margin:10px 0 4px;color:var(--label-2);font-size:.8125rem;font-weight:600}
.ui-next :is(.ui-gate,.ui-layer) .chat-empty{align-self:center;margin:0;color:var(--label-2);text-align:center}
.ui-next :is(.ui-gate,.ui-layer) .chat-msg{align-self:flex-start;max-width:min(82%,520px);padding:9px 13px 7px;border-radius:18px;border-end-start-radius:6px;background:var(--surface);box-shadow:0 0 0 1px var(--sep);color:var(--label)}
.ui-next :is(.ui-gate,.ui-layer) .chat-msg.mine{align-self:flex-end;border-radius:18px;border-end-end-radius:6px;background:var(--navy-fill);box-shadow:none;color:var(--on-color)}
.ui-next :is(.ui-gate,.ui-layer) .chat-text{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.ui-next :is(.ui-gate,.ui-layer) .chat-at{display:block;margin-top:2px;font-size:.8125rem;opacity:.75;text-align:end;font-variant-numeric:tabular-nums}
.ui-next :is(.ui-gate,.ui-layer) .chat-compose{position:sticky;bottom:calc(64px + env(safe-area-inset-bottom,0px));z-index:4;padding:8px 0;background:var(--bg)}
.ui-next :is(.ui-gate,.ui-layer) .chat-compose .field-error{margin:0 4px 6px}
.ui-next :is(.ui-gate,.ui-layer) .chat-composer{display:flex;align-items:flex-end;gap:8px}
.ui-next :is(.ui-gate,.ui-layer) .chat-composer textarea{flex:1;display:block;min-width:0;min-height:50px;max-height:140px;padding:13px 14px;border-radius:12px;background:var(--surface);box-shadow:inset 0 0 0 1px var(--field-edge);color:var(--label);font:inherit;line-height:1.4;resize:none;outline:2px solid transparent;outline-offset:-2px;field-sizing:content}
.ui-next :is(.ui-gate,.ui-layer) .chat-composer textarea::placeholder{color:var(--label-2)}
.ui-next :is(.ui-gate,.ui-layer) .chat-composer textarea:focus-visible{box-shadow:inset 0 0 0 2px var(--focus)}
.ui-next :is(.ui-gate,.ui-layer) .chat-composer .btn{flex:none;min-height:50px;padding:0 18px}
.ui-next :is(.ui-gate,.ui-layer) .chat-closed{margin-top:6px;padding:14px 16px;border-radius:var(--radius);background:var(--fill);color:var(--label-2);text-align:center}
.ui-next :is(.ui-gate,.ui-layer) .chat-closed p{margin:0}
@media (min-width:900px){
  .ui-next :is(.ui-gate,.ui-layer) .chat-view{min-height:calc(100vh - 220px);min-height:calc(100dvh - 220px)}
  .ui-next :is(.ui-gate,.ui-layer) .chat-compose{bottom:0;padding-bottom:16px}
}
/* catalog cards */
/* The photo an owner chose for the catalog (ui-public.js, ui-home.js): a frame of fixed shape on top of the card, so the card has its
   height before the picture arrives. A listing without a photo has no frame at all. In the listing sheet the same frame is rounded. */
.ui-next :is(.ui-gate,.ui-layer) .listing-photo{display:block;flex:none;aspect-ratio:3/2;overflow:hidden;background:var(--fill)}
.ui-next :is(.ui-gate,.ui-layer) .listing-photo img{display:block;width:100%;height:100%;object-fit:cover}
.ui-next :is(.ui-gate,.ui-layer) .listing-photo.sheet-photo{margin-bottom:14px;border-radius:var(--radius)}
.ui-next .ui-home .hm-car .listing-photo{margin:-19px -19px 0;border-radius:15px 15px 0 0}
/* A model reference picture in a listing's place (ui-public.js; owner, November 22, 2026): a short note on the picture, on a dark plate so
   it reads on any picture, and its credit under it in the sheet and on a car's page. No picture at all (owner's choice "C"): the frame
   keeps its shape and shows the RentMe mark with the car's name, on the soft fill of the theme. */
.ui-next .listing-photo.is-reference{position:relative}
.ui-next .listing-photo.is-reference>.photo-note{position:absolute;margin:0;inset-block-end:8px;inset-inline-start:8px;max-width:calc(100% - 16px);padding:3px 9px;border-radius:999px;background:rgba(2,11,28,.74);color:#fff;font-size:.75rem;font-weight:600;line-height:1.35;letter-spacing:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none}
.ui-next :is(.ui-gate,.ui-layer) .photo-credit{margin:-6px 4px 14px;color:var(--label-2);font-size:.8125rem;line-height:1.4;overflow-wrap:anywhere}
.ui-next :is(.ui-gate,.ui-layer) .photo-credit a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.ui-next .listing-photo.listing-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:12px;text-align:center}
.ui-next .listing-placeholder .ui-mark{flex:none;width:57px;height:44px}
.ui-next .listing-placeholder .logo-ink{fill:var(--logo-ink)}
.ui-next .listing-placeholder .placeholder-name{max-width:100%;color:var(--label-2);font-size:.9375rem;font-weight:700;line-height:1.3;overflow-wrap:anywhere}
html.shell-hidden .rm-ssr .listing-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;width:100%;max-width:600px;aspect-ratio:3/2;margin:20px 0 0;padding:12px;border-radius:var(--radius);background:var(--fill);text-align:center}
html.shell-hidden .rm-ssr .listing-placeholder .logo-ink{fill:var(--logo-ink)}
html.shell-hidden .rm-ssr .placeholder-name{color:var(--label-2);font-weight:700;overflow-wrap:anywhere}
html.shell-hidden .rm-ssr .photo-note{margin:8px 0 0;font-size:.875rem;font-weight:600}
html.shell-hidden .rm-ssr>div p.photo-credit{margin:2px 0 0;font-size:.8125rem}
html.shell-hidden .rm-ssr>div p.photo-credit>a{display:inline;min-height:0;margin:0;color:inherit;text-decoration-color:currentColor;text-decoration-thickness:1px}
/* The car a driver asked about, at the top of a conversation (ui-chat.js): its picture small at the start, then its name, its weekly rent
   and, for a model reference picture, the note and the credit. */
.ui-next :is(.ui-gate,.ui-layer) .chat-car{display:flex;align-items:center;gap:12px;margin-top:10px;padding:10px 12px;border-radius:var(--radius);background:var(--surface);box-shadow:0 0 0 1px var(--sep)}
.ui-next :is(.ui-gate,.ui-layer) .chat-car .listing-photo{width:96px;border-radius:10px}
.ui-next :is(.ui-gate,.ui-layer) .chat-car .listing-placeholder{padding:6px}
.ui-next :is(.ui-gate,.ui-layer) .chat-car .listing-placeholder .ui-mark{width:36px;height:28px}
.ui-next :is(.ui-gate,.ui-layer) .chat-car-main{display:flex;flex-direction:column;gap:2px;min-width:0}
.ui-next :is(.ui-gate,.ui-layer) .chat-car-main p{margin:0}
.ui-next :is(.ui-gate,.ui-layer) .chat-car-name{color:var(--label);font-weight:700;overflow-wrap:anywhere}
.ui-next :is(.ui-gate,.ui-layer) .chat-car-price{color:var(--label);font-size:.9375rem}
.ui-next :is(.ui-gate,.ui-layer) .chat-car-note{color:var(--label-2);font-size:.8125rem;font-weight:600}
.ui-next :is(.ui-gate,.ui-layer) .chat-car .photo-credit{margin:0}
/* The owner's choice of that photo (ui-owner.js): the vehicle's photos side by side, one of them marked with a ring and a check. */
.ui-next :is(.ui-gate,.ui-layer) .photo-choice{display:grid;grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:10px}
.ui-next :is(.ui-gate,.ui-layer) .photo-option{position:relative;display:grid;place-items:center;aspect-ratio:3/2;padding:6px;border-radius:12px;overflow:hidden;background:var(--surface);box-shadow:inset 0 0 0 1px var(--field-edge);color:var(--label-2);font-size:.9375rem;font-weight:600;text-align:center;cursor:pointer}
.ui-next :is(.ui-gate,.ui-layer) .photo-choice .photo-option input{position:absolute;inset:0;z-index:1;width:100%;height:100%;min-height:0;margin:0;padding:0;border-radius:0;background:none;box-shadow:none;opacity:0;cursor:pointer}
.ui-next :is(.ui-gate,.ui-layer) .photo-option img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.ui-next :is(.ui-gate,.ui-layer) .photo-mark{position:absolute;inset:0;border-radius:12px;pointer-events:none}
.ui-next :is(.ui-gate,.ui-layer) .photo-option input:checked~.photo-mark{box-shadow:inset 0 0 0 3px var(--accent-fill)}
.ui-next :is(.ui-gate,.ui-layer) .photo-option input:checked~.photo-mark::before{content:"";position:absolute;top:8px;inset-inline-end:8px;width:22px;height:22px;border-radius:50%;background:var(--accent-fill)}
.ui-next :is(.ui-gate,.ui-layer) .photo-option input:checked~.photo-mark::after{content:"";position:absolute;top:12px;inset-inline-end:16px;width:6px;height:11px;border:solid var(--on-accent);border-width:0 2.5px 2.5px 0;transform:rotate(45deg)}
.ui-next :is(.ui-gate,.ui-layer) .photo-option input:focus-visible~.photo-mark{outline:3px solid var(--focus);outline-offset:-3px}
.ui-next :is(.ui-gate,.ui-layer) .photo-note{margin:8px 2px 0;color:var(--label-2);font-size:.875rem;line-height:1.45}
/* end catalog cards */
/* Driver screens (ui-driver.js). The code a driver types for a car from an owner reads in capitals, as the owner reads it, whatever
   the phone keyboard sends; the page sends it in capitals too. */
.ui-next :is(.ui-gate,.ui-layer) .field input.code-entry{text-transform:uppercase}
/* The driver's Tickets and Bills (ui-driver.js, uiDriverTicketRow and uiDriverBillRow). The first line of a row: the amount leads
   and its state follows in color, on one line that wraps on a narrow phone. */
.ui-next :is(.ui-gate,.ui-layer) .driver-lead{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 10px;margin-bottom:2px}
.ui-next :is(.ui-gate,.ui-layer) .driver-lead strong{font-size:1.0625rem;font-weight:700;font-variant-numeric:tabular-nums}
.ui-next :is(.ui-gate,.ui-layer) .driver-lead .status{font-weight:600}
/* The lines of a bill (uiDriverBillBody) read as an invoice: an amount keeps to one line beside a long description. */
.ui-next :is(.ui-gate,.ui-layer) .driver-bill .row-amount{white-space:nowrap}
/* The tolls of a bill (uiDriverBillTolls): one row that opens in place to its crossings. Its mark stands after its name, so its
   sum stays in the column of the amounts, and turns when the list is open. The crossings stand a step in and their amounts are
   quieter: the lines of the bill are what the total adds up, and the crossings only say what the "Tolls" line is made of. */
.ui-next :is(.ui-gate,.ui-layer) .driver-tolls-mark{display:inline-flex;margin-inline-start:6px;vertical-align:-2px;color:var(--label-3);transition:transform .2s ease-out}
.ui-next :is(.ui-gate,.ui-layer) .driver-tolls-toggle[aria-expanded="true"] .driver-tolls-mark{transform:rotate(90deg)}
.ui-next :is(.ui-gate,.ui-layer) .driver-tolls{position:relative}
/* The line between rows, where the list (shown or hidden) stands between two of them. */
.ui-next :is(.ui-gate,.ui-layer) :is(.driver-tolls,.driver-tolls+.row)::before{content:"";position:absolute;top:0;inset-inline-end:0;inset-inline-start:var(--inset,16px);border-top:1px solid var(--sep)}
.ui-next :is(.ui-gate,.ui-layer) .driver-tolls .row{min-height:50px;padding-inline-start:30px}
.ui-next :is(.ui-gate,.ui-layer) .driver-tolls .row-amount{color:var(--label-2);font-weight:500}
@media (prefers-reduced-motion:reduce){.ui-next :is(.ui-gate,.ui-layer) .driver-tolls-mark{transition:none}}
/* ---------- Right to left and Arabic (plan docs/superpowers/plans/2026-11-15-languages.md, Task 4; spec section 8) ----------
   ui.js sets <html lang dir> while a language is shown (uiLangApply): lang="ar" dir="rtl" for Arabic, lang="es-DO" for Spanish, and
   English has neither, so nothing below reaches an English page. Every rule above is written with logical properties (start and end,
   never left and right), so an Arabic page lays itself out from the right by itself; service/verify-languages.cjs fails when a physical
   one comes back, except the listed uses that are the same in either direction (service/build-languages.cjs, CSS_ALLOWED). */
/* What points somewhere points the other way: the chevron (the back button's too), the sign-out arrow and the list's bullets, which
   ui.js draws inside <g class="ic-dir">, are mirrored about the middle of their drawing. A chevron turned a quarter (an open list, an
   answer) turns the other way, so that it still points down or up. The flags, the logo, the check, the clock, the camera, the car, the
   key, plus and close never turn. */
.ui-next[dir="rtl"] :is(.ui-gate,.ui-layer) .ic-dir{transform:scaleX(-1);transform-box:view-box;transform-origin:center}
.ui-next[dir="rtl"] :is(.ui-gate,.ui-layer) details.group[open] .chev{transform:rotate(-90deg)}
.ui-next[dir="rtl"] .ui-home .hm-q .ic{transform:rotate(-90deg)}
.ui-next[dir="rtl"] .ui-home .hm-q[aria-expanded="true"] .ic{transform:rotate(90deg)}
.ui-next[dir="rtl"] :is(.ui-gate,.ui-layer) .driver-tolls-toggle[aria-expanded="true"] .driver-tolls-mark{transform:rotate(-90deg)}
/* Going forward a screen comes in from the left, going back from the right; a card grows into its sheet from its right edge. */
html.ui-next[dir="rtl"][data-ui-nav="forward"]::view-transition-new(content){animation-name:ui-vt-back}
html.ui-next[dir="rtl"][data-ui-nav="back"]::view-transition-new(content){animation-name:ui-vt-forward}
html.ui-next[dir="rtl"]::view-transition-old(ui-morph),html.ui-next[dir="rtl"]::view-transition-new(ui-morph){object-position:top right}
/* The landing page: the drivers/owners switch slides the other way, a step's bar and a list's rule fill from the right, and the cars
   are dealt in from the left, the side the row scrolls from. */
.ui-next[dir="rtl"] .ui-home .hm-seg[data-on="owners"] .hm-seg-thumb{transform:translateX(-100%)}
.ui-next[dir="rtl"] .ui-home .hm-story-steps .bar i{transform-origin:right}
.ui-next[dir="rtl"] .ui-home[data-arrive-on] .hm-rules[data-arrive]>*::before{transform-origin:right}
.ui-next[dir="rtl"] .ui-home[data-arrive-on] [data-arrive="deal"]>*{translate:-56px 0}
.ui-next[dir="rtl"] .ui-home[data-arrive-on] [data-arrive="deal"].in>*{translate:0 0}
@media (prefers-reduced-motion:reduce){.ui-next[dir="rtl"] .ui-home[data-arrive-on] [data-arrive="deal"]>*{translate:0 0}}
/* The dark sidebar's edge is on its inner side, the left one when the sidebar stands on the right. */
@media (min-width:900px) and (prefers-color-scheme:dark){.ui-next[dir="rtl"] :is(.ui-gate,.ui-layer) .ui-app:not(.no-tabs) .ui-sidebar{box-shadow:inset 1px 0 0 rgba(255,255,255,.08)}}
/* Typed values stay left to right in an Arabic form (an email, a phone, a number, an amount, a code, a VIN, a plate) and line up at the
   form's edge. A plate, a VIN or a code shown in a line reads left to right as one piece. A person's message keeps the direction it
   was written in. */
.ui-next[dir="rtl"] :is(.ui-gate,.ui-layer) :is(input[type=email],input[type=tel],input[type=url],input[type=number],input[inputmode=numeric],input[inputmode=decimal],input[inputmode=tel],input[inputmode=email],input[autocomplete=one-time-code],input[autocapitalize=characters],input.mono){direction:ltr;text-align:end}
.ui-next[dir="rtl"] :is(.ui-gate,.ui-layer) :is(.mono,.plate,.owner-code):not(td,th,input){direction:ltr;unicode-bidi:isolate}
.ui-next[dir="rtl"] :is(.ui-gate,.ui-layer) :is(.chat-text,.chat-preview){unicode-bidi:plaintext}
/* Arabic letters join: any letter spacing pulls them apart, so Arabic has none (plates, VINs and codes, which are Latin, keep theirs).
   Its marks sit above and below the letters, so Arabic text gets more line height: its reading text 1.65, its titles and buttons 1.4,
   its small lines 1.5. A text marked lang="en" inside an Arabic page (the legal documents) keeps the English measures. */
.ui-next :is(.ui-gate,.ui-layer) :lang(ar):not(.mono,.plate,.owner-code),.ui-next :is(.ui-gate,.ui-layer):lang(ar){letter-spacing:0!important}
html.ui-next:lang(ar) #central-gate.ui-gate,.ui-next :is(.ui-gate,.ui-layer) .sheet:lang(ar){line-height:1.65}
.ui-next :is(.ui-gate,.ui-layer) :is(.large-title,.sheet-head h2,.section-head h2,.section-head h3,.figure-value,.price,.listing-title,.btn,.car-name):lang(ar),.ui-next .ui-home :is(.hm-title,.hm-sec h2,.hm-close h2,.hm-sec h3,.hm-fees h3,.hm-card-title,.hm-car-name,.hm-story-steps b):lang(ar),.ui-next .ui-terms :is(.tm-title,section h2):lang(ar){line-height:1.4}
.ui-next :is(.ui-gate,.ui-layer) :is(.field>label,.field>.field-label,.field-hint,.field-reason,.figure-label,.figure-hint,.ui-table th,.toast,.owner-side-name):lang(ar){line-height:1.5}
/* Google's button keeps Google's Latin face; its Arabic words take the Arabic face rather than whatever the system has. */
.ui-next :is(.ui-gate,.ui-layer) .btn-google:lang(ar){font-family:"Google Sans",Roboto,"RentMe Arabic",Arial,sans-serif}
/* Arabic pages: behind the Arabic face, the systems' own Arabic faces (Apple, Android, Windows), before the Latin list. */
html.ui-next:lang(ar) :is(.ui-gate,.ui-layer){--font:"Manrope","RentMe Arabic","Geeza Pro","Noto Sans Arabic","Segoe UI",Tahoma,Inter,system-ui,-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",sans-serif;--font-display:"Manrope","RentMe Arabic","Geeza Pro","Noto Sans Arabic","Segoe UI",Tahoma,Inter,system-ui,-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",sans-serif}
/* The flags beside each language (ui.js UI_FLAGS) are drawn as they are, never turned, mirrored or recolored, in either direction. Their
   hairline edge is drawn in the text's color at a quarter strength, so it shows on white and on dark alike. */
.ui-next :is(.ui-gate,.ui-layer) .ui-flag{display:block;flex:none;color:var(--label)}
/* The picker's rows: the flag where a row's icon goes, and the divider starting under the words (16px padding, 21px flag, 12px gap). */
.ui-next :is(.ui-gate,.ui-layer) .row[data-ui-lang]{--inset:49px}
.ui-next :is(.ui-gate,.ui-layer) .row[data-ui-lang] .row-icon{align-items:center}
/* The top bar's button: the current language's flag alone, a finger's size, without the plain button's underline. */
.ui-next :is(.ui-gate,.ui-layer) .ui-lang-btn{justify-content:center;min-width:44px;min-height:44px;padding:0;border-radius:10px;text-decoration:none}
/* A flag beside a language's name in running text (the account's Language row, the landing page footer): one line, the flag first. */
.ui-next :is(.ui-gate,.ui-layer) .ui-lang-now{display:inline-flex;align-items:center;gap:8px}
.ui-next .ui-home .hm-foot-langs button{display:inline-flex;align-items:center;gap:8px}

/* ---------- Windows' contrast themes (forced colors; web audit A-09, November 16, 2026) ----------
   They take away shadows and fills, which is what draws a box's edge, its focus ring, a button's shape and the chosen segment: the
   system's colors draw them here instead (a box's transparent outline, above, is drawn by the theme too). A browser without the media
   query skips the block, as before. */
@media (forced-colors:active){
  .ui-next :is(.ui-gate,.ui-layer) .field :is(input,select,textarea),.ui-next :is(.ui-gate,.ui-layer) .chat-composer textarea,.ui-next :is(.ui-gate,.ui-layer) .search{border:1px solid CanvasText}
  .ui-next :is(.ui-gate,.ui-layer) .search input{outline:0}
  .ui-next :is(.ui-gate,.ui-layer) .field :is(input,select,textarea):focus-visible,.ui-next :is(.ui-gate,.ui-layer) .chat-composer textarea:focus-visible{outline:2px solid Highlight;outline-offset:-2px}
  .ui-next :is(.ui-gate,.ui-layer) .search:focus-within{outline:2px solid Highlight;outline-offset:2px}
  .ui-next :is(.ui-gate,.ui-layer) .btn{border:1px solid ButtonText}
  .ui-next :is(.ui-gate,.ui-layer) .seg button:is([aria-selected="true"],[aria-pressed="true"]){outline:2px solid Highlight;outline-offset:-2px}
  /* A button that waits keeps its words here, and no spinner (ui.js uiWaitFor). */
  .ui-next :is(.ui-gate,.ui-layer) .btn[data-ui-wait]:disabled{-webkit-text-fill-color:currentColor}
  .ui-next :is(.ui-gate,.ui-layer) .btn[data-ui-wait]:disabled::after{display:none}
}

/* ---------- Rows, steps and the About sheet the website and the driver draw too (web audit P-05, November 16, 2026) ----------
   Moved here unchanged from ui-owner.css, which is linked only where the owner portal is (service/preview.cjs, ROLE_STYLES):
   the website's and the driver hostname's screens draw these as well (a listing's terms, a driver's bills and tickets, the driver's
   Today, an owner's About sheet; service/verify-part-scripts.cjs and verify-ui-driver-client.cjs check the screens against the sheets
   each hostname links). They stand at the end of this sheet, where they keep the place they had after every rule of it. */
/* The value of a row: a figure, an amount or a state at the end of its label (the right in English). */
.ui-next :is(.ui-gate,.ui-layer) .row-value{flex:none;max-width:58%;font-weight:700;font-variant-numeric:tabular-nums;text-align:end;overflow-wrap:anywhere}
.ui-next :is(.ui-gate,.ui-layer) .row-value.mono{font-family:var(--font-mono);font-size:.9375rem;font-weight:600;letter-spacing:.02em}
.ui-next :is(.ui-gate,.ui-layer) .row-value .status{font-weight:600}
.ui-next :is(.ui-gate,.ui-layer) .row-value .cell-sub{display:block;font-size:.8125rem;font-weight:600}
.ui-next :is(.ui-gate,.ui-layer) .row-value .cell-sub.bad{color:var(--red)}
.ui-next :is(.ui-gate,.ui-layer) .row-value+.row-trail{margin-inline-start:-4px}
/* A value that is a date and a time, kept on one line beside its label on a phone. */
.ui-next :is(.ui-gate,.ui-layer) .row-value.compact{max-width:66%;font-size:.875rem}
/* An amount with what it is under it (a ticket, a vehicle's balance, a weekly price, a line of a driver's bill). */
.ui-next :is(.ui-gate,.ui-layer) .row-amount{flex:none;max-width:46%;font-weight:700;font-variant-numeric:tabular-nums;text-align:end;overflow-wrap:anywhere}
.ui-next :is(.ui-gate,.ui-layer) .row-amount small{display:block;color:var(--label-2);font-size:.8125rem;font-weight:500}
.ui-next :is(.ui-gate,.ui-layer) .row-sub.ok{color:var(--green)}.ui-next :is(.ui-gate,.ui-layer) .row-sub.warn{color:var(--orange)}.ui-next :is(.ui-gate,.ui-layer) .row-sub.bad{color:var(--red)}
/* The steps of a profile in review: an ordered list, one row per step, its number where a mark would be. The order is the content.
   (The classic stylesheet owns the names .owner-step and .owner-steps, so these are .review-step and .review-steps.) */
.ui-next :is(.ui-gate,.ui-layer) .review-steps{list-style:none;margin:0;padding:0}
.ui-next :is(.ui-gate,.ui-layer) .review-step{flex:none;width:22px;color:var(--label-2);font-weight:700;font-variant-numeric:tabular-nums;text-align:center}
/* The driver's Today screen (ui-driver.js) uses the same list for its five steps: a done step shows a green check, the step in
   progress is the one in full strength, and the steps still to come are quieter. */
.ui-next :is(.ui-gate,.ui-layer) .today-step.done .review-step{display:grid;place-items:center;color:var(--green)}
.ui-next :is(.ui-gate,.ui-layer) .today-step.current .review-step{color:var(--label)}
.ui-next :is(.ui-gate,.ui-layer) .today-step.current .row-title{font-weight:700}
.ui-next :is(.ui-gate,.ui-layer) .today-step:not(.done):not(.current) .row-title{color:var(--label-2);font-weight:500}
/* A plate (the end of one, in a driver's ticket and bill rows; a whole one in the owner portal). */
.ui-next :is(.ui-gate,.ui-layer) .plate{color:var(--label);font-family:var(--font-mono);font-size:.875rem;font-weight:600;letter-spacing:.04em;white-space:nowrap}
/* The About sheet of an owner or of a screen: short paragraphs. */
.ui-next :is(.ui-gate,.ui-layer) .owner-about{padding:2px 4px 8px}
.ui-next :is(.ui-gate,.ui-layer) .owner-about p{margin:0 0 14px;font-size:1rem;line-height:1.5}
.ui-next :is(.ui-gate,.ui-layer) .owner-about p:last-child{margin-bottom:0}

/* Before applying, what the owner of the car will see (plan 2026-11-17, Task 11; drawn first in the Apply form by ui-public.js uiApply). */
.ui-next :is(.ui-gate,.ui-layer) .apply-shares{margin:0 4px 14px;color:var(--label);font-size:.9375rem;line-height:1.45}

/* A sheet up on a phone: the screen behind steps back a little and darkens, as a native sheet does (ui.js adds ui-sheet-up while a sheet
   is open). On the driver's screens, where it began, and in the owner's portal in its own look (ui.js uiRecede, data-ui-recede; owner,
   November 22, 2026: "Primero el efecto del chofer y el dueño"). Not from 900px, where the sheet is a window in the middle, and not
   under Reduce Motion. */
@media (max-width:899.98px) and (prefers-reduced-motion:no-preference){
  html.ui-next[data-ui-recede] #central-gate.ui-gate{transform-origin:50% 0;transition:transform .5s var(--ease-spring),border-radius .5s var(--ease-spring),filter .4s ease-out}
  html.ui-next.ui-sheet-up[data-ui-recede],html.ui-next.ui-sheet-up[data-ui-recede] body{background-color:#05090F}
  html.ui-next.ui-sheet-up[data-ui-recede] #central-gate.ui-gate{transform:translateY(10px) scale(.955);border-radius:22px;filter:brightness(.94)}
}

/* ---------- The driver's look (owner, November 22, 2026: "Excelente, me encanta ahora ... las animaciones y demás están espectacular") ----------
   The approved prototype (.superpowers/prototypes/driver-redesign.html) in the driver's screens and the website's catalog. ui.js (uiShell,
   uiLook) puts data-ui-look="driver" on <html> while it draws a screen with the driver's tabs or the website's; the owner portal,
   administration, the support views and the full pages never carry it, so nothing below reaches them. Soft offset shadows instead of flat
   cards; the prototype's Manrope scale (34/800 titles, 27-28/800 the car or the next step, 20/800 section heads, 16 rows); a frosted tab
   bar whose orange pill glides; the road of steps; car cards led by their picture and price; the navy stage of Today and Account with the
   panel rising over it; a sheet that steps the screen back. Never a drawing of a car: a car's picture is its listing's photo or the RentMe
   placeholder (ui-public.js). Every motion has its Reduce Motion form at the end of the block. */
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer){
  --line-strong:#C3CEDC;--done:#061B3B;--red-bg:#FDEDEB;--photo-top:#EEF3F9;--photo-bottom:#D6E0EC;
  --stage:#061B3B;--stage-glow:#15427F;--stage-ink:#ffffff;--stage-ink-2:#B9C7DC;--stage-line:rgba(255,255,255,.14);--stage-green:#62E59A;--stage-btn:rgba(255,255,255,.12);--stage-material:rgba(6,27,59,.88);
  --shadow-1:0 1px 2px rgba(6,27,59,.05),0 6px 16px -8px rgba(6,27,59,.16);
  --shadow-2:0 1px 2px rgba(6,27,59,.06),0 18px 34px -16px rgba(6,27,59,.32);
  --shadow-panel:0 -16px 30px -18px rgba(0,0,0,.5);
  --radius:18px;--ease-out:cubic-bezier(.22,1,.36,1);
}
@media (prefers-color-scheme:dark){.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer){
  --line-strong:#33445E;--done:#33496E;--red-bg:rgba(255,123,114,.12);--photo-top:#1D2B44;--photo-bottom:#121C2D;
  --stage:#12203A;--stage-glow:#203D6B;--stage-ink-2:#A9B8CF;--stage-line:rgba(255,255,255,.1);--stage-green:#4ADE80;--stage-btn:rgba(255,255,255,.09);--stage-material:rgba(18,32,58,.88);
  --shadow-1:0 1px 2px rgba(0,0,0,.35),0 8px 18px -10px rgba(0,0,0,.6);
  --shadow-2:0 1px 2px rgba(0,0,0,.35),0 20px 40px -18px rgba(0,0,0,.8);
  --shadow-panel:0 -16px 30px -18px rgba(0,0,0,.85)}}
/* Lists and words: a card is lifted by a soft shadow with an offset, rows read in the prototype's sizes. */
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .group{border-radius:var(--radius);box-shadow:var(--shadow-1)}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .row-title{font-size:1rem;font-weight:650;letter-spacing:-.008em}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .row-sub{font-size:.875rem;font-weight:500}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .chat-row.unread .row-title{font-weight:800}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .section-head h2{font-weight:800;letter-spacing:-.022em}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .status{font-weight:700;font-size:.875rem}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .ui-hero{padding-block:2px 4px}
/* Buttons: the orange one carries a light edge and a warm shadow; the second choice is a card with a line; a press answers at once. */
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .btn{border-radius:14px;font-weight:750;letter-spacing:-.005em}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .btn-primary{box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 8px 18px -10px rgba(255,130,0,.9)}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .btn-primary:active{background:var(--brand-orange-light)}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .btn-secondary{background:var(--surface);color:var(--label);box-shadow:inset 0 0 0 1.5px var(--line-strong)}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .btn-secondary:active{background:var(--fill-press)}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .btn:disabled{box-shadow:none}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) :is(.icon-btn,.close-btn,.sheet-back){transition:transform .16s var(--ease-out),background-color .16s}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) :is(.icon-btn,.close-btn,.sheet-back):active{transform:scale(.92)}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) :is(.close-btn,.sheet-back){width:36px;height:36px}
/* Search and the catalog: a card is its picture, its name and its price at the end of the name, then its deposit and owner under a line. */
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .search{min-height:46px;gap:10px;padding-inline:14px;border-radius:14px;background:var(--surface);box-shadow:var(--shadow-1);color:var(--label-3)}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .search:focus-within{box-shadow:var(--shadow-1),0 0 0 2px var(--focus)}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .listings{gap:18px}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .listing{border-radius:24px;box-shadow:var(--shadow-2);transition:transform .22s var(--ease-out),box-shadow .22s var(--ease-out)}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .listing:active{transform:scale(.982)}
@media (hover:hover){.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .listing:hover{box-shadow:var(--shadow-2),0 0 0 1.5px var(--line-strong)}}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .listing .listing-photo{aspect-ratio:2/1}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .listing-placeholder{background:radial-gradient(90% 70% at 50% 30%,var(--photo-top),var(--photo-bottom))}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .listing-body{grid-template-columns:minmax(0,1fr) auto;column-gap:12px;row-gap:2px;padding:14px 16px 16px}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .listing-body>*{grid-column:1}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .listing-title{font-size:1.1875rem;font-weight:800;line-height:1.2;letter-spacing:-.02em}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .listing-meta{font-size:.875rem;font-weight:600}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .listing .price{grid-column:2;grid-row:1 / span 2;align-self:start;margin:0;font-size:1.625rem;line-height:1;letter-spacing:-.03em;text-align:end}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .listing .price small{display:block;margin-top:5px;font:650 .78rem/1.2 var(--font);letter-spacing:0}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .listing-body>.listing-meta:last-child{grid-column:1 / -1;margin-top:12px;padding-top:12px;border-top:1px solid var(--sep)}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .listing-photo.sheet-photo{border-radius:22px;box-shadow:var(--shadow-1)}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .listing-photo.sheet-photo:not(.listing-placeholder){aspect-ratio:16/10}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .listing-placeholder.sheet-photo{aspect-ratio:2/1}
/* The tab bar: frosted as before; the current tab's icon sits on an orange pill (placed here from which tab is current, gliding from the
   last one in ui.js uiTabPill), its word in full weight. Tabs share the bar's width equally, so the pill's place is the tab's middle. */
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .tabbar{--n:5;--i:0}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .tabbar:has(>.tab:nth-of-type(3):last-of-type){--n:3}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .tabbar:has(>.tab:nth-of-type(4):last-of-type){--n:4}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .tabbar:has(>.tab:nth-of-type(2)[aria-current="page"]){--i:1}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .tabbar:has(>.tab:nth-of-type(3)[aria-current="page"]){--i:2}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .tabbar:has(>.tab:nth-of-type(4)[aria-current="page"]){--i:3}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .tabbar:has(>.tab:nth-of-type(5)[aria-current="page"]){--i:4}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .tab-pill{position:absolute;top:8px;inset-inline-start:calc(var(--gutter-l) + (100% - var(--gutter-l) - var(--gutter-r)) * (var(--i) + .5) / var(--n) - 28px);width:56px;height:32px;border-radius:16px;background:rgba(255,130,0,.18);pointer-events:none}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .tabbar:not(:has(>.tab[aria-current="page"])) .tab-pill{display:none}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .tab{min-height:60px;padding:8px 2px 6px;gap:3px;font-size:.75rem;font-weight:650;letter-spacing:.005em;transition:color .2s}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .tab[aria-current="page"]{color:var(--label);font-weight:800}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .tab[aria-current="page"]::before{content:none}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .tab[aria-current="page"] .ic{stroke-width:2.2}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .tab-icon{display:grid;place-items:center;width:56px;height:32px;transition:transform .26s var(--ease-pop,cubic-bezier(.34,1.4,.64,1))}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .tab:active .tab-icon{transform:scale(.88)}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .tab:active .ic{transform:none}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .tab .tab-badge{top:0;inset-inline-start:calc(50% + 5px)}
@media (prefers-color-scheme:dark){.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .tab-pill{background:rgba(255,155,18,.2)}}
/* The stage of Today and Account: a navy field from the top of the window, under the bar and the large title, down to where the panel
   rises over it on rounded corners. Its navy is a layer behind the stage, as wide as the screen's column (the column clips it); its glow is
   a second layer. While the stage is under the bar the bar is navy with white ink; once the panel reaches it, the page's own (ui.js adds
   past-stage). */
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .ui-main:has(.drv-stage){overflow-x:clip}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .ui-main:has(.drv-stage) .ui-hero{position:relative;z-index:1}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .ui-main:has(.drv-stage) .ui-hero .large-title{color:var(--stage-ink)}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .nav{transition:color .22s ease-out}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .nav::before{transition:background-color .22s ease-out,border-color .22s ease-out}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .ui-main:has(.drv-stage) .nav:not(.past-stage){--logo-ink:#ffffff;--material:var(--stage-material);--material-edge:rgba(255,255,255,.08);color:var(--stage-ink)}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .ui-main:has(.drv-stage) .nav:not(.past-stage) .icon-btn{color:var(--stage-ink)}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .ui-main:has(.drv-stage) .nav:not(.past-stage) .icon-btn:active{background:rgba(255,255,255,.14)}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .ui-main:has(.drv-stage) .nav:not(.past-stage) .ui-bell .tab-badge{box-shadow:0 0 0 2px var(--stage)}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .drv-stage{position:relative;isolation:isolate;padding-block:6px 46px;color:var(--stage-ink)}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .drv-stage::before{content:"";position:absolute;z-index:-1;inset-block:-720px 0;inset-inline:-100vw;background:var(--stage)}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .drv-stage::after{content:"";position:absolute;z-index:-1;inset-block:-60px 0;inset-inline:-12%;background:radial-gradient(58% 52% at 50% 56%,var(--stage-glow),transparent 72%);pointer-events:none}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .drv-stage .plate{color:inherit}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .drv-panel{position:relative;z-index:1;min-height:52vh;margin-block:-26px 0;margin-inline:calc(-1 * var(--gutter-l)) calc(-1 * var(--gutter-r));padding-block:4px 8px;padding-inline:var(--gutter-l) var(--gutter-r);border-radius:28px 28px 0 0;background:var(--bg);box-shadow:var(--shadow-panel)}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .drv-panel>.section-head:first-child{margin-top:22px}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .drv-panel>.group:first-child{margin-top:18px}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .drv-panel .notice-row:has(.notice-dot.bad){background:var(--red-bg)}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .drv-panel .notice-row:has(.notice-dot.bad) .row-title{color:var(--red-strong);font-weight:750}
/* The next step on the stage: what it is, one line, and what to press. */
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .drv-next h2{max-width:17ch;margin:8px 0 0;font:800 1.75rem/1.12 var(--font-display);letter-spacing:-.03em;text-wrap:balance}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .drv-next-sub{max-width:36ch;margin:8px 0 0;color:var(--stage-ink-2);font-size:.97rem;font-weight:550;line-height:1.45}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .drv-next-sub .drv-line{display:block}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .drv-next-sub .drv-line+.drv-line{margin-top:2px;font-size:.875rem}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .drv-stage-btns{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .drv-stage .btn-secondary{background:var(--stage-btn);color:var(--stage-ink);box-shadow:none}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .drv-stage .btn-secondary:active{background:rgba(255,255,255,.2)}
/* The driver's car on the stage: the RentMe placeholder in the picture's place, the car's name large with its color and plate under it,
   its state, then its facts side by side under a line (the owner, since when, the weekly rent), the way to its documents and its note.
   The heading "Your car" is there for a screen reader; the car's name says it on screen. */
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .drv-car>.listing-placeholder{aspect-ratio:auto;height:clamp(116px,34vw,188px);margin:4px 0 18px;border-radius:22px;background:radial-gradient(72% 95% at 50% 16%,rgba(255,255,255,.14),rgba(255,255,255,.035));box-shadow:inset 0 0 0 1px var(--stage-line);--logo-ink:#ffffff}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .drv-car>.listing-placeholder .ui-mark{width:78px;height:60px}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .drv-car>.section-head{position:absolute;width:1px;height:1px;margin:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .drv-car>.group{display:flex;flex-wrap:wrap;overflow:visible;border-radius:0;background:none;box-shadow:none;color:var(--stage-ink)}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .drv-car>.group>.row{flex:1 1 100%;min-height:0;padding:0;background:none;color:inherit}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .drv-car>.group>.row::before{content:none}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .drv-car>.group>.row:not(.detail,button,:has(>.row-value)) .row-title{font:800 1.6875rem/1.12 var(--font-display);letter-spacing:-.028em;color:var(--stage-ink)}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .drv-car>.group>.row:not(.detail,button,:has(>.row-value)) .row-sub{margin-top:6px;color:var(--stage-ink-2);font-size:.9375rem;font-weight:550}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .drv-car>.group>.row+.row:not(.detail,button,:has(>.row-value)):has(.row-title){margin-top:28px}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .drv-car>.group>.row:not(:has(.row-title)){margin-top:14px}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .drv-car>.group>.row:not(:has(.row-title)) .row-sub{margin:0;font-size:.8125rem;line-height:1.45}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .drv-car .status.ok{color:var(--stage-green);font-weight:750}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .drv-car>.group>:is(.row.detail,.row:has(>.row-value)){flex:1 1 0;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:2px;margin-top:20px;padding-block:14px 0;padding-inline:12px 0;border-block-start:1px solid var(--stage-line);border-inline-start:1px solid var(--stage-line)}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .drv-car>.group>.row:not(.detail,button,:has(>.row-value))+:is(.row.detail,.row:has(>.row-value)){padding-inline-start:0;border-inline-start:0}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .drv-car>.group>.row.detail .row-sub,.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .drv-car>.group>.row:has(>.row-value) .row-title{margin:0;color:var(--stage-ink-2);font-size:.78rem;font-weight:600}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .drv-car>.group>.row.detail .row-title,.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .drv-car>.group>.row:has(>.row-value) .row-value{max-width:none;margin-top:2px;color:var(--stage-ink);font-size:.97rem;font-weight:750;text-align:start}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .drv-car>.group>button.row{margin-top:18px;min-height:46px;padding-inline:16px 12px;border-radius:14px;background:var(--stage-btn);color:var(--stage-ink)}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .drv-car>.group>button.row:active{background:rgba(255,255,255,.2)}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .drv-car>.group>button.row .row-title{color:inherit;font-weight:700}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .drv-car>.group>button.row :is(.row-trail,.ic){color:inherit}
/* The driver's own profile on Account's stage: the profile photo (or the initials) in a ring, the way to change it, the name, the email. */
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .drv-profile{display:flex;flex-direction:column;align-items:center;padding-block:4px 52px;text-align:center}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .drv-avatar{position:relative;width:104px;height:104px}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .drv-photo{display:block;width:104px;height:104px;border-radius:50%;overflow:hidden;background:rgba(255,255,255,.1);box-shadow:0 0 0 4px rgba(255,255,255,.14),0 14px 30px -12px rgba(0,0,0,.6)}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .drv-photo img{display:block;width:100%;height:100%;object-fit:cover}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .drv-photo .ui-avatar{width:100%;height:100%;background:none;color:var(--stage-ink);font-size:2.25rem;font-weight:800;letter-spacing:-.02em}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .drv-cam{position:absolute;inset-inline-end:-2px;inset-block-end:2px;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--accent-fill);color:var(--on-accent);box-shadow:0 0 0 3px var(--stage);cursor:pointer;transition:transform .18s var(--ease-pop,ease-out)}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .drv-cam::after{content:"";position:absolute;inset:-5px}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .drv-cam:active{transform:scale(.9)}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .drv-profile-name{margin:14px 0 0;font:800 1.625rem/1.15 var(--font-display);letter-spacing:-.028em;overflow-wrap:anywhere}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .drv-profile-mail{margin:4px 0 0;color:var(--stage-ink-2);font-size:.9375rem;font-weight:550;overflow-wrap:anywhere}
/* The road of steps (Today): a rail through the marks, solid orange where the road is behind the driver and dashed ahead; a done step is
   a navy check, the step in progress a large orange mark with its number, a step to come a small ring. Each step draws the half of the rail
   above its mark and the half below, so the road is whole whatever each step's height. The support view keeps its numbered list. */
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .review-steps{padding-block:8px}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .review-steps .today-step{min-height:58px;gap:12px;padding-block:6px;padding-inline:8px 16px}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .review-steps .today-step::before,.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .review-steps .today-step::after{content:"";position:absolute;inset-inline-start:25px;inset-inline-end:auto;width:4px;height:50%;border:0;border-radius:2px;background:repeating-linear-gradient(to bottom,var(--line-strong) 0 7px,transparent 7px 14px)}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .review-steps .today-step::before{top:0}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .review-steps .today-step::after{top:50%}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .review-steps .today-step:first-child::before,.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .review-steps .today-step:last-child::after{content:none}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .review-steps .today-step.done::after,.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .review-steps .today-step:is(.done,.current)::before{background:var(--accent-fill);transform-origin:top}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .review-steps .review-step{position:relative;z-index:1;display:grid;place-items:center;box-sizing:border-box;width:16px;height:16px;margin-inline:11px;border-radius:50%;background:var(--surface);box-shadow:inset 0 0 0 2.5px var(--line-strong);color:transparent;font-size:0;line-height:1}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .review-steps .today-step.done .review-step{width:26px;height:26px;margin-inline:6px;background:var(--done);box-shadow:none;color:#ffffff}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .review-steps .today-step.done .review-step .ic{width:15px;height:15px;stroke-width:2.6}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .review-steps .today-step.current .review-step{width:38px;height:38px;margin-inline:0;background:var(--accent-fill);box-shadow:0 0 0 5px var(--surface),0 6px 14px -4px rgba(255,130,0,.75);color:var(--on-accent);font-size:1rem;font-weight:800}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .review-steps .today-step .row-title{font-size:.97rem;font-weight:650;color:var(--label-2)}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .review-steps .today-step.done .row-title{color:var(--label)}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .review-steps .today-step.current .row-title{font-size:1.0625rem;font-weight:800;color:var(--label);letter-spacing:-.012em}
/* An application: its car's picture beside its name, its state and its deposit, then its ways on. */
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .app-card>.row:first-child{align-items:center;gap:14px;padding:14px}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .app-thumb{flex:none;width:104px;border-radius:14px;overflow:hidden}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .app-thumb .listing-photo{aspect-ratio:16/10}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .app-thumb .listing-placeholder{padding:6px}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .app-thumb .listing-placeholder .ui-mark{width:40px;height:31px}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .app-card .row-main>.row-title{font-size:1.0625rem;font-weight:800;line-height:1.25;letter-spacing:-.018em}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .app-note{font-size:.78rem;font-weight:600}
/* Sheets: rounder, the screen behind steps back while one is up (below), the request's car pictured at the top. */
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .sheet{border-radius:26px 26px 0 0;box-shadow:0 -14px 44px -12px rgba(0,0,0,.32)}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .sheet-head h2{font-size:1.3125rem;letter-spacing:-.024em}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .request-picture .listing-placeholder{aspect-ratio:auto;height:116px;margin-bottom:14px}
/* A document's photo box (uiDocFileBox): a dashed drop place, as in the prototype, with the picker's own button drawn in the page's style. */
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .field input[type=file]{padding:12px;border-radius:16px;box-shadow:none;outline:1.5px dashed var(--field-edge);outline-offset:-1.5px;color:var(--label-2)}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .field input[type=file]:focus-visible{outline:2px solid var(--focus);outline-offset:-2px}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .field input[type=file]::file-selector-button{margin-inline-end:12px;padding:9px 14px;border:0;border-radius:10px;background:var(--fill);color:var(--label);font:inherit;font-weight:700;cursor:pointer}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .field.invalid input[type=file]{outline:2px solid var(--red);outline-offset:-2px}
/* A sentence that stands as a row of its own in a sheet (what a date means, what the owner sees) reads as text, not as a row's name. */
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .sheet div.row:not(.detail,:has(>:is(.row-value,.row-amount,.row-trail,.doc-acts)))>.row-main>.row-title:only-child{font-weight:500;line-height:1.45}
@media (min-width:900px){.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .sheet{border-radius:22px}}
/* Messages: the car asked about as a card at the top, bubbles lifted off the page, a round field and button. */
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .chat-car{border-radius:18px;box-shadow:var(--shadow-1)}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .chat-car .listing-photo{width:88px;border-radius:12px}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .chat-car-name{font-weight:800;letter-spacing:-.012em}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .chat-msg{padding:10px 14px 7px;border-radius:20px;border-end-start-radius:6px;box-shadow:var(--shadow-1);font-weight:500}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .chat-msg.mine{border-radius:20px;border-end-end-radius:6px;box-shadow:0 6px 16px -10px rgba(6,27,59,.7)}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .chat-composer textarea{min-height:46px;padding:12px 16px;border-radius:23px}
.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .chat-composer .btn{min-height:46px;border-radius:23px}
/* The first view of a screen after a tap rises in, block after block (ui.js uiRise); the road fills from the first step to the step in
   progress, and that step's mark pops in place when the road reaches it. */
@keyframes drv-rise{from{opacity:0;transform:translateY(14px)}}
@keyframes drv-fill{from{transform:scaleY(0)}}
@keyframes drv-pop{from{opacity:0;transform:scale(.4)}}
@media (prefers-reduced-motion:no-preference){
  .ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer)[data-rise] :is(.page>:not(.ui-hero,.drv-stage,.drv-panel,.listings),.listings>*,.drv-stage>:not(.section-head),.drv-panel>*){animation:drv-rise .52s var(--ease-out) both}
  .ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer)[data-rise] :is(.page,.listings)>:nth-child(2){animation-delay:50ms}
  .ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer)[data-rise] :is(.page,.listings)>:nth-child(3){animation-delay:100ms}
  .ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer)[data-rise] :is(.page,.listings)>:nth-child(4){animation-delay:150ms}
  .ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer)[data-rise] :is(.page,.listings)>:nth-child(n+5){animation-delay:200ms}
  .ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer)[data-rise] .drv-stage>:nth-child(2){animation-delay:60ms}
  .ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer)[data-rise] .drv-stage>:nth-child(n+3){animation-delay:120ms}
  .ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer)[data-rise] .drv-panel>:nth-child(1){animation-delay:160ms}
  .ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer)[data-rise] .drv-panel>:nth-child(2){animation-delay:210ms}
  .ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer)[data-rise] .drv-panel>:nth-child(3){animation-delay:260ms}
  .ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer)[data-rise] .drv-panel>:nth-child(n+4){animation-delay:310ms}
  .ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer)[data-rise] .review-steps .today-step.done::after,.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer)[data-rise] .review-steps .today-step:is(.done,.current)::before{animation:drv-fill .12s linear both}
  .ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer)[data-rise] .review-steps .today-step:nth-child(1)::after{animation-delay:420ms}
  .ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer)[data-rise] .review-steps .today-step:nth-child(2)::before{animation-delay:540ms}
  .ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer)[data-rise] .review-steps .today-step:nth-child(2)::after{animation-delay:660ms}
  .ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer)[data-rise] .review-steps .today-step:nth-child(3)::before{animation-delay:780ms}
  .ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer)[data-rise] .review-steps .today-step:nth-child(3)::after{animation-delay:900ms}
  .ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer)[data-rise] .review-steps .today-step:nth-child(4)::before{animation-delay:1020ms}
  .ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer)[data-rise] .review-steps .today-step:nth-child(4)::after{animation-delay:1140ms}
  .ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer)[data-rise] .review-steps .today-step:nth-child(5)::before{animation-delay:1260ms}
  .ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer)[data-rise] .review-steps .today-step.current .review-step{animation:drv-pop .5s var(--ease-pop,cubic-bezier(.34,1.4,.64,1)) both}
  .ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer)[data-rise] .review-steps .today-step.current:nth-child(1) .review-step{animation-delay:380ms}
  .ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer)[data-rise] .review-steps .today-step.current:nth-child(2) .review-step{animation-delay:600ms}
  .ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer)[data-rise] .review-steps .today-step.current:nth-child(3) .review-step{animation-delay:840ms}
  .ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer)[data-rise] .review-steps .today-step.current:nth-child(4) .review-step{animation-delay:1080ms}
  .ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer)[data-rise] .review-steps .today-step.current:nth-child(5) .review-step{animation-delay:1320ms}
}
@media (prefers-reduced-motion:reduce){
  .ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) :is(.listing,.icon-btn,.close-btn,.sheet-back,.drv-cam):active,.ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) .tab:active .tab-icon{transform:none}
  .ui-next[data-ui-look="driver"] :is(.ui-gate,.ui-layer) :is(.tab-icon,.nav,.nav::before,.listing){transition:none}
}