/* Owner portal styles for the new interface (ui-owner.js). Shared components and tokens are in ui.css; every rule here is scoped
   the same way: .ui-next :is(.ui-gate,.ui-layer) … Rules that adjust a shared component apply only to the owner's own containers
   (the overlay while an owner screen is on it, .ui-gate.ui-owner, and the vehicle sheet, .owner-sheet), never to another portal.
   Sizes are in rem, nothing under 13px, controls at least 44px tall. */

/* Spacing between blocks that are not groups (a table under its filters, the buttons above a list). */
.ui-next :is(.ui-gate,.ui-layer) .owner-gap{margin-top:18px}
.ui-next :is(.ui-gate,.ui-layer) .owner-actions{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 14px}
.ui-next :is(.ui-gate,.ui-layer) .owner-actions:empty{display:none}
.ui-next :is(.ui-gate,.ui-layer) .owner-actions .btn{min-height:44px;font-size:1rem;padding:0 14px}
.ui-next :is(.ui-gate,.ui-layer) .ui-hero+.owner-actions{margin-top:14px}
/* The reason a button is disabled sits under it, on its own line. */
.ui-next :is(.ui-gate,.ui-layer) .owner-actions .footnote{flex:1 1 100%;margin:0 4px}
/* The car form's last section: the choice to show the car on the main page, and under it, inside the same card, the weekly rent and
   the deposit a shown car has. Unticked, the rent is put away (the hidden attribute). */
.ui-next :is(.ui-gate,.ui-layer) .owner-rent{padding:4px 16px 16px}
.ui-next :is(.ui-gate,.ui-layer) .owner-rent[hidden]{display:none}

/* The account at the foot of the sidebar: a long owner name wraps, it never widens the sidebar. */
.ui-next :is(.ui-gate,.ui-layer) .owner-side-account{display:flex;align-items:center;gap:10px;min-width:0;padding:8px 10px 10px}
.ui-next :is(.ui-gate,.ui-layer) .owner-side-name{min-width:0;font-size:.9375rem;font-weight:600;line-height:1.3;overflow-wrap:anywhere}

/* A vehicle in a list: its photo or model reference, or the car icon when there is none. */
.ui-next :is(.ui-gate,.ui-layer) .owner-thumb{flex:none;display:grid;place-items:center;width:64px;height:48px;border-radius:10px;overflow:hidden;background:var(--fill);color:var(--label-3)}
.ui-next :is(.ui-gate,.ui-layer) .owner-thumb img{width:100%;height:100%;object-fit:cover;display:block}

/* The count of unreviewed updates from the daily checks, on a vehicle or a driver. */
.ui-next :is(.ui-gate,.ui-layer) .owner-alert{display:inline-block;flex:none;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;vertical-align:middle;letter-spacing:0}
.ui-next :is(.ui-gate,.ui-layer) .ui-table td .owner-alert{margin-inline-start:6px}

/* Hub tabs. Four tabs fit a 375px phone; on a narrower screen or with larger text the control scrolls inside itself, never the page. */
.ui-next :is(.ui-gate,.ui-layer) .owner-hub .seg{grid-auto-columns:minmax(max-content,1fr);overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none}
.ui-next :is(.ui-gate,.ui-layer) .owner-hub .seg::-webkit-scrollbar{display:none}
.ui-next :is(.ui-gate,.ui-layer) .owner-hub .seg button{min-height:44px}

/* Ticket pages. */
.ui-next :is(.ui-gate,.ui-layer) .owner-pager{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px}
.ui-next :is(.ui-gate,.ui-layer) .owner-pager .btn{min-height:44px;font-size:1rem;padding:0 14px}
.ui-next :is(.ui-gate,.ui-layer) .owner-pager span{color:var(--label-2);font-size:.9375rem;font-variant-numeric:tabular-nums}
.ui-next :is(.ui-gate,.ui-layer) #ui-owner-ticket-range:focus{outline:none}

/* Owner tables: a status under a value keeps that value's size; several actions in one row wrap instead of widening the table. */
.ui-next .ui-gate.ui-owner .ui-table .cell-sub .status{font-size:inherit}
.ui-next .ui-gate.ui-owner .row-sub .status{font-size:inherit}
@media (min-width:900px){
  .ui-next .ui-gate.ui-owner .ui-table td.cell-actions{white-space:normal}
  .ui-next .ui-gate.ui-owner .ui-table td.cell-actions .btn{margin-block:2px;margin-inline:6px 0;white-space:nowrap}
}

/* The vehicle sheet: the credit of a model reference sits under the image; an official record opens to its explanation. */
.ui-next :is(.ui-gate,.ui-layer) .owner-credit{margin:-6px 4px 14px}
.ui-next :is(.ui-gate,.ui-layer) .owner-agency>.callout{padding-top:4px}
.ui-next :is(.ui-gate,.ui-layer) .owner-agency .row.detail{min-height:48px}
.ui-next :is(.ui-gate,.ui-layer) .owner-sheet .owner-actions{margin:14px 0 4px}
.ui-next :is(.ui-gate,.ui-layer) .owner-sheet .section-head{margin-top:24px}
.ui-next :is(.ui-gate,.ui-layer) .owner-sheet .row-sub .status{font-size:inherit}

/* The invitation code of a car, shown once: large and alone in its card, whole on one line down to a 320px phone, with Copy and
   Share side by side under it. A tap selects all of it. What the browser refused (no copy, no share) is said under the buttons. */
.ui-next :is(.ui-gate,.ui-layer) .owner-code-box{display:grid;justify-items:center;gap:14px;padding:22px 16px 18px;border-radius:var(--radius);background:var(--surface)}
.ui-next :is(.ui-gate,.ui-layer) .owner-code{margin:0;max-width:100%;color:var(--label);font-family:var(--font-mono);font-size:clamp(1.5rem,8vw,2.25rem);font-weight:700;line-height:1.2;letter-spacing:.06em;font-variant-numeric:tabular-nums;white-space:nowrap;-webkit-user-select:all;user-select:all}
.ui-next :is(.ui-gate,.ui-layer) .owner-code-box .btns{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:8px;width:100%}
.ui-next :is(.ui-gate,.ui-layer) .owner-code-box .btn{min-height:48px;padding:0 10px;font-size:1rem}
.ui-next :is(.ui-gate,.ui-layer) .owner-code-box .field-error{margin:0;text-align:center}

/* A read-only report text keeps its line breaks and wraps long words. */
.ui-next :is(.ui-gate,.ui-layer) #ui-owner-report-text{min-height:200px;font-size:.9375rem;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere}

/* ---------- App lists (owner feedback, November 12, 2026) ----------
   Two rejected looks stand behind this section: rows of sentences, then a dashboard of stat tiles with icon chips and a card
   per fact. RentMe is headed to Android and iOS, so the portal is built from what a phone app has on both: grouped lists, a
   value or a state at the right of a row, a picture for a real vehicle, one info button in the top bar. Nothing here draws an
   icon chip, a tile grid or a tinted badge. Administration (ui-admin.js) draws its marks with the same class (.owner-dot).
   What the website's and the driver's screens draw of this section too (a row's value and amount, the colors of a row's second
   line, the steps of a profile in review and of the driver's Today, a plate, an owner's About sheet) is in ui.css, at its end: this
   sheet is linked only where the owner portal is (web audit P-05, November 16, 2026; service/preview.cjs, ROLE_STYLES). */

/* The kind of a waiting item or an update: a small mark in the color of its state, the same mark a status carries. */
.ui-next :is(.ui-gate,.ui-layer) .owner-dot{flex:none;width:9px;height:9px;border-radius:50%;background:currentColor;color:var(--label-3)}
.ui-next :is(.ui-gate,.ui-layer) .owner-dot.ok{color:var(--green)}.ui-next :is(.ui-gate,.ui-layer) .owner-dot.warn{color:var(--orange)}.ui-next :is(.ui-gate,.ui-layer) .owner-dot.bad{color:var(--red)}
/* The reason a button is off, between that button and the list under it. */
.ui-next :is(.ui-gate,.ui-layer) .owner-wait{margin:-4px 4px 14px}

/* Vehicles: on a phone one grouped list, a row per vehicle with its picture; from 700px the same rows stand side by side. */
.ui-next :is(.ui-gate,.ui-layer) .fleet{display:grid;border-radius:var(--radius);overflow:hidden;background:var(--surface);box-shadow:0 0 0 1px var(--sep)}
.ui-next :is(.ui-gate,.ui-layer) .car-card{position:relative;display:flex;align-items:center;gap:14px;min-width:0;padding:12px 16px;background:transparent;color:var(--label);text-align:start;cursor:pointer;transition:background-color .3s}
.ui-next :is(.ui-gate,.ui-layer) .car-card:active{background:var(--fill-press);transition:none}
.ui-next :is(.ui-gate,.ui-layer) .car-card+.car-card::before{content:"";position:absolute;top:0;inset-inline-end:0;inset-inline-start:118px;border-top:1px solid var(--sep)}
.ui-next :is(.ui-gate,.ui-layer) .car-media{flex:none;display:grid;place-items:center;width:88px;height:66px;border-radius:10px;overflow:hidden;background:var(--fill);color:var(--label-3)}
.ui-next :is(.ui-gate,.ui-layer) .car-media img{width:100%;height:100%;object-fit:cover;display:block}
.ui-next :is(.ui-gate,.ui-layer) .car-body{display:grid;gap:3px;min-width:0;flex:1}
.ui-next :is(.ui-gate,.ui-layer) .car-name{font-weight:700;line-height:1.25;overflow-wrap:anywhere}
.ui-next :is(.ui-gate,.ui-layer) .car-line{display:flex;flex-wrap:wrap;align-items:center;gap:2px 8px;color:var(--label-2);font-size:.9375rem}
.ui-next :is(.ui-gate,.ui-layer) .car-card .owner-alert{position:absolute;top:10px;inset-inline-end:12px}
.ui-next :is(.ui-gate,.ui-layer) .car-card .status{font-size:.9375rem}
.ui-next :is(.ui-gate,.ui-layer) .listed::before{content:"\00B7\00A0"}
@media (min-width:700px){
  .ui-next :is(.ui-gate,.ui-layer) .fleet{grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:12px;border-radius:0;overflow:visible;background:transparent;box-shadow:none}
  .ui-next :is(.ui-gate,.ui-layer) .car-card{border-radius:var(--radius);background:var(--surface);box-shadow:0 0 0 1px var(--sep)}
  .ui-next :is(.ui-gate,.ui-layer) .car-card:active{background:var(--surface);transform:scale(.99)}
  .ui-next :is(.ui-gate,.ui-layer) .car-card+.car-card::before{content:none}
}

/* What can be done with a vehicle: the main action across, the others two by two, as plain buttons. */
.ui-next :is(.ui-gate,.ui-layer) .owner-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:14px}
.ui-next :is(.ui-gate,.ui-layer) .owner-tools:empty{display:none}
.ui-next :is(.ui-gate,.ui-layer) .owner-tools .btn{min-height:48px;padding:0 10px;font-size:1rem}
.ui-next :is(.ui-gate,.ui-layer) .owner-tools .btn-primary{grid-column:1/-1}
.ui-next :is(.ui-gate,.ui-layer) .owner-agency>summary .row-title{font-weight:600}
/* A car's documents and its NYC tickets are folds (owner, November 21, 2026; ui-owner.js uiOwnerDocsLine, uiOwnerVehicleTickets): one
   line that reads like the rows around it, with what is inside summed up on it, and a chevron that turns when it is open. The tickets'
   fold is the first row of Balances, parted from the E-ZPass row under it like any row; inside a fold, each row is parted from the line. */
.ui-next :is(.ui-gate,.ui-layer) .owner-fold>summary{list-style:none;cursor:pointer}
.ui-next :is(.ui-gate,.ui-layer) .owner-fold>summary::-webkit-details-marker{display:none}
.ui-next :is(.ui-gate,.ui-layer) .owner-fold>summary:focus-visible{outline:2px solid var(--focus);outline-offset:-2px}
.ui-next :is(.ui-gate,.ui-layer) .owner-fold>summary .row-trail{align-self:center}
.ui-next :is(.ui-gate,.ui-layer) .owner-fold>summary .row-title{font-weight:600}
.ui-next :is(.ui-gate,.ui-layer) .owner-fold[open]>summary .chev{transform:rotate(90deg)}
.ui-next[dir="rtl"] :is(.ui-gate,.ui-layer) .owner-fold[open]>summary .chev{transform:rotate(-90deg)}
.ui-next :is(.ui-gate,.ui-layer) .owner-fold+.row::before,.ui-next :is(.ui-gate,.ui-layer) .owner-fold>#ui-owner-docs>.row:first-child::before,.ui-next :is(.ui-gate,.ui-layer) .owner-fold>.owner-fold-end::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) .owner-fold>.owner-fold-end{position:relative;padding-top:6px}
.ui-next :is(.ui-gate,.ui-layer) .owner-fold>.owner-fold-note{margin:0;padding:4px 16px 10px}

/* The notes of the vehicle sheet: one closed line at its end. The notes of a screen open from the info button of its top bar. */
.ui-next :is(.ui-gate,.ui-layer) .owner-info{margin:18px 4px 0;color:var(--label-2);font-size:.875rem;line-height:1.5}
.ui-next :is(.ui-gate,.ui-layer) .owner-info summary{display:inline-flex;align-items:center;min-height:44px;font-weight:600;cursor:pointer;list-style:none}
.ui-next :is(.ui-gate,.ui-layer) .owner-info summary::-webkit-details-marker{display:none}
.ui-next :is(.ui-gate,.ui-layer) .owner-info summary::after{content:"";width:7px;height:7px;margin-block:-3px 0;margin-inline:10px 0;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);transition:transform .2s var(--ease-out,ease-out)}
.ui-next :is(.ui-gate,.ui-layer) .owner-info[open] summary::after{margin-top:4px;transform:rotate(225deg)}
.ui-next :is(.ui-gate,.ui-layer) .owner-info p{margin:0 0 10px}
/* A date that has passed, in a table as in the vehicle sheet. */
.ui-next :is(.ui-gate,.ui-layer) .ui-table .cell-sub.bad{color:var(--red)}
@media (prefers-reduced-motion:reduce){.ui-next :is(.ui-gate,.ui-layer) .owner-info summary::after{transition:none}}/* A vehicle's ticket balance: the vehicle and its amount share the first line; the details run the full width under them. */
.ui-next :is(.ui-gate,.ui-layer) .owed-top{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.ui-next :is(.ui-gate,.ui-layer) .owed-top .row-title{font-weight:600}
.ui-next :is(.ui-gate,.ui-layer) .owed-top .row-amount{max-width:50%;font-size:1.0625rem}
/* A listing: its weekly price under the title; the reasons it is not in the catalog run the full width under the row. */
.ui-next :is(.ui-gate,.ui-layer) .listing-price{display:block;margin-top:2px;font-weight:700;font-variant-numeric:tabular-nums}
.ui-next :is(.ui-gate,.ui-layer) .listing-price small{color:var(--label-2);font-size:.875rem;font-weight:500}
.ui-next :is(.ui-gate,.ui-layer) .listing-notes{padding:0 16px 10px;font-size:.9375rem;line-height:1.4}
.ui-next :is(.ui-gate,.ui-layer) .listing-notes p{margin:0 0 4px}

/* ---------- The owner's weekly bill to the driver (ui-owner.js, uiOwnerBill…) ---------- */
/* A bill in the list: its total leads and its state follows in color, on one line that wraps on a narrow phone; who it is for and
   which week run under it. */
.ui-next :is(.ui-gate,.ui-layer) .bill-lead{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 10px;margin-bottom:2px}
.ui-next :is(.ui-gate,.ui-layer) .bill-lead strong{font-size:1.0625rem;font-weight:700}
.ui-next :is(.ui-gate,.ui-layer) .bill-lead .status{font-weight:600}
/* The lines of a bill read as an invoice: an amount stands at the top of its line, level with what it is for, and keeps to one
   line beside a long description. A line with its action under it is still parted from the next line, and the action starts
   where the line's text starts. */
.ui-next :is(.ui-gate,.ui-layer) .owner-bill .row{align-items:flex-start}
.ui-next :is(.ui-gate,.ui-layer) .owner-bill .row-amount{white-space:nowrap}
.ui-next :is(.ui-gate,.ui-layer) .owner-bill .row-actions{padding:0 8px 8px}
.ui-next :is(.ui-gate,.ui-layer) .owner-bill .row-actions+.row::before{content:"";position:absolute;top:0;inset-inline-end:0;inset-inline-start:var(--inset,16px);border-top:1px solid var(--sep)}
/* A removed line stays in its bill: its name and its amount are struck through and quieter. When it was removed is not struck. */
.ui-next :is(.ui-gate,.ui-layer) .row.struck :is(.row-title,.row-amount){color:var(--label-2);font-weight:500;text-decoration:line-through}
/* What can be done with a bill stands under its total; with one action beside Mark as paid, each takes the full width. */
.ui-next :is(.ui-gate,.ui-layer) .owner-bill .owner-tools{margin-top:18px}
.ui-next :is(.ui-gate,.ui-layer) .owner-bill .owner-tools .btn:first-child:nth-last-child(2){grid-column:1/-1}
/* The one short note under a box of a bill form; the reason a field in red carries comes after it. */
.ui-next :is(.ui-gate,.ui-layer) .bill-note{margin:6px 2px 0;color:var(--label-2);font-size:.875rem;line-height:1.35;overflow-wrap:anywhere}
.ui-next :is(.ui-gate,.ui-layer) .bill-note:empty{display:none}
/* Paying a bill through Stripe (ui-owner.js, uiOwnerPay…): the payment's one action takes the full width under its row; a payment
   that did not go through says so in red; the reason it cannot be asked for stands where the button would be. */
.ui-next :is(.ui-gate,.ui-layer) .owner-pay-tools .btn{grid-column:1/-1}
.ui-next :is(.ui-gate,.ui-layer) .owner-pay .row-title.bad{color:var(--red)}
.ui-next :is(.ui-gate,.ui-layer) .owner-bill .owner-pay-why{margin-top:14px}

/* ---------- Tolls on the bill (ui-owner.js, uiOwnerBillTolls…, uiOwnerTollBilling) ---------- */
/* The tolls of a bill are one line that opens to each crossing: it reads like the lines around it, is parted from them like any
   line, and its chevron turns when it is open. Each crossing stands a step in from the line it belongs to. */
.ui-next :is(.ui-gate,.ui-layer) .bill-tolls>summary{list-style:none;cursor:pointer}
.ui-next :is(.ui-gate,.ui-layer) .bill-tolls>summary::-webkit-details-marker{display:none}
.ui-next :is(.ui-gate,.ui-layer) .bill-tolls>summary:focus-visible{outline:2px solid var(--focus);outline-offset:-2px}
.ui-next :is(.ui-gate,.ui-layer) .bill-tolls>summary .row-trail{align-self:center}
.ui-next :is(.ui-gate,.ui-layer) .bill-tolls[open]>summary .chev{transform:rotate(90deg)}
/* Mirrored in right to left (ui.css, "Right to left and Arabic"), the chevron turns the other way so that it still points down. */
.ui-next[dir="rtl"] :is(.ui-gate,.ui-layer) .bill-tolls[open]>summary .chev{transform:rotate(-90deg)}
.ui-next :is(.ui-gate,.ui-layer) .owner-bill :is(.row,.row-actions)+.bill-tolls>summary::before,.ui-next :is(.ui-gate,.ui-layer) .owner-bill .bill-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) .owner-bill .bill-tolls>div.row{min-height:52px;padding-inline-start:28px}
.ui-next :is(.ui-gate,.ui-layer) .owner-bill .bill-tolls>div.row::before{inset-inline-start:28px}
.ui-next :is(.ui-gate,.ui-layer) .owner-bill .bill-tolls>.row-actions{padding-inline-start:20px}
/* With Add tolls beside Add expense, a third action (Add rent) takes the full width, like Mark as paid under it. */
.ui-next :is(.ui-gate,.ui-layer) .owner-bill .owner-tools .btn-secondary:nth-child(3){grid-column:1/-1}
/* Add tolls: the crossings as a list, each with a box a finger can hit; under the list, how many are ticked and their total,
   which turns orange when more are ticked than one request takes. */
.ui-next :is(.ui-gate,.ui-layer) .toll-picks .section-head:first-child{margin-top:4px}
.ui-next :is(.ui-gate,.ui-layer) .toll-pick{align-items:flex-start;cursor:pointer}
.ui-next :is(.ui-gate,.ui-layer) .toll-pick input{flex:none;width:22px;height:22px;margin:1px 0 0;accent-color:var(--accent-fill);cursor:pointer}
.ui-next :is(.ui-gate,.ui-layer) .toll-pick .row-amount{white-space:nowrap}
.ui-next :is(.ui-gate,.ui-layer) .bill-sum{margin:14px 4px 0;font-weight:700;font-variant-numeric:tabular-nums;text-align:end}
/* The list of crossings scrolls by itself inside the sheet, so the count line (and its warning past a hundred), what the server
   refused and the button stay in view under it while the owner ticks: with dozens of crossings they were below the last one, off
   screen. The height leaves room for the sheet's title and for those lines on a phone; a short screen still gets 180px of list. */
.ui-next .ui-layer #ui-owner-tolls-list{max-height:max(180px,calc(100dvh - 420px));overflow-y:auto;overscroll-behavior:contain}
/* ---------- Statements read in the background (ui-owner.js, uiOwnerStatementRow, uiOwnerJobs) ---------- */
/* A statement the queue is reading: the application's own turning mark, small, beside the word. Under "reduce motion" the mark turns
   slowly, by the runtime's own rule for it (ui.css, .ui-loader-ring .arc; web audit A-14). */
.ui-next :is(.ui-gate,.ui-layer) .owner-processing{display:inline-flex;align-items:center;gap:8px;font-weight:600;white-space:nowrap}
.ui-next :is(.ui-gate,.ui-layer) .owner-processing-mark{display:inline-grid;flex:none}
.ui-next :is(.ui-gate,.ui-layer) .owner-processing .ui-loader{width:24px;height:24px}
.ui-next :is(.ui-gate,.ui-layer) .owner-processing .ui-loader .ui-mark{width:14px;height:11px}
/* The statement the owner came to see from the notice: its row is tinted for a few seconds, then is a row like the others. With
   "reduce motion" the tint does not fade: it stays for the same time and goes. */
/* As a table (from 900px), a statement's two things to press (its file, and Try again or Extract PDF data) stand one under the
   other at the right, so the table stays inside its group beside the sidebar (measured: 29px too wide at a 900px window). */
@media (min-width:900px){
  .ui-next :is(.ui-gate,.ui-layer) #ui-owner-ezpass .ui-table[data-owner-table="statements"] td.cell-actions{white-space:normal}
  .ui-next :is(.ui-gate,.ui-layer) #ui-owner-ezpass .ui-table[data-owner-table="statements"] td.cell-actions .btn{display:flex;width:fit-content;margin-block:0;margin-inline:auto 0;white-space:normal;text-align:end}
  .ui-next :is(.ui-gate,.ui-layer) #ui-owner-ezpass .ui-table[data-owner-table="statements"] td.cell-actions .btn+.btn{margin-top:4px}
  .ui-next :is(.ui-gate,.ui-layer) #ui-owner-ezpass .ui-table[data-owner-table="statements"] .status{white-space:normal;align-items:baseline}
  .ui-next :is(.ui-gate,.ui-layer) #ui-owner-ezpass .ui-table[data-owner-table="statements"] th:first-child{width:28%}
  .ui-next :is(.ui-gate,.ui-layer) #ui-owner-ezpass .ui-table[data-owner-table="statements"] th:last-child{width:13rem}
}
@keyframes owner-statement-mark{from{background-color:var(--fill)}to{background-color:transparent}}
.ui-next :is(.ui-gate,.ui-layer) .ui-table tr.marked{animation:owner-statement-mark 4s ease-out 1 both}
@media (prefers-reduced-motion:reduce){.ui-next :is(.ui-gate,.ui-layer) .ui-table tr.marked{animation-timing-function:step-end}}
/* A table wider than its group scrolls inside the group. Its header's label for the actions column is for screen readers only and
   is placed out of sight; without this it was placed against the page, not the group, and made the whole owner screen scroll
   sideways (measured: 959px of page at a 900px window). */
.ui-next .ui-gate.ui-owner .table-group{position:relative}
/* ---------- The E-ZPass transactions table on a wide screen (coordinator's finding in a live browser, November 14, 2026) ----------
   Eight columns, two of them with something to press: as a plain table it was wider than its group from 900px up, and the last
   column ("Say which car has this tag", "Confirm vehicle") was reached only by scrolling sideways.
   From 1100px it is a table that fits its group: the cells are closer together, a state and a button may wrap, the actions of the
   last column stand one under the other, and Description keeps a fifth of the width so it is never the narrowest column.
   Between 900px and 1100px there is no room for eight columns beside the sidebar, so each row is the list entry it is on a phone
   (the rules of ui.css below 900px, said again for this one table). Phones are untouched. */
@media (min-width:900px) and (max-width:1099.98px){
  .ui-next :is(.ui-gate,.ui-layer) #ui-owner-ezpass .ui-table[data-owner-table="transactions"]{display:block}
  .ui-next :is(.ui-gate,.ui-layer) #ui-owner-ezpass .ui-table[data-owner-table="transactions"] thead{position:absolute;display:block;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
  .ui-next :is(.ui-gate,.ui-layer) #ui-owner-ezpass .ui-table[data-owner-table="transactions"] tbody{display:block}
  .ui-next :is(.ui-gate,.ui-layer) #ui-owner-ezpass .ui-table[data-owner-table="transactions"] tr{display:block;padding:12px 16px}
  .ui-next :is(.ui-gate,.ui-layer) #ui-owner-ezpass .ui-table[data-owner-table="transactions"] tr+tr{border-top:1px solid var(--sep)}
  .ui-next :is(.ui-gate,.ui-layer) #ui-owner-ezpass .ui-table[data-owner-table="transactions"] tbody tr:hover{background:transparent}
  .ui-next :is(.ui-gate,.ui-layer) #ui-owner-ezpass .ui-table[data-owner-table="transactions"] td,.ui-next :is(.ui-gate,.ui-layer) #ui-owner-ezpass .ui-table[data-owner-table="transactions"] tbody tr:first-child td{display:block;padding:3px 0;border:0;font-size:.9375rem;text-align:end;overflow-wrap:anywhere}
  .ui-next :is(.ui-gate,.ui-layer) #ui-owner-ezpass .ui-table[data-owner-table="transactions"] 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-owner-ezpass .ui-table[data-owner-table="transactions"] td::after{content:"";display:block;clear:both}
  .ui-next :is(.ui-gate,.ui-layer) #ui-owner-ezpass .ui-table[data-owner-table="transactions"] td:first-child{padding-bottom:5px;font-size:1.0625rem;font-weight:600;text-align:start}
  .ui-next :is(.ui-gate,.ui-layer) #ui-owner-ezpass .ui-table[data-owner-table="transactions"] td:first-child::before,.ui-next :is(.ui-gate,.ui-layer) #ui-owner-ezpass .ui-table[data-owner-table="transactions"] td.cell-actions::before,.ui-next :is(.ui-gate,.ui-layer) #ui-owner-ezpass .ui-table[data-owner-table="transactions"] td.cell-actions::after{content:none}
  .ui-next :is(.ui-gate,.ui-layer) #ui-owner-ezpass .ui-table[data-owner-table="transactions"] td:empty{display:none}
  .ui-next :is(.ui-gate,.ui-layer) #ui-owner-ezpass .ui-table[data-owner-table="transactions"] td.cell-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:8px;padding-top:10px;white-space:normal;text-align:start}
  .ui-next :is(.ui-gate,.ui-layer) #ui-owner-ezpass .ui-table[data-owner-table="transactions"] td.cell-actions .btn{margin-inline-start:0}
  .ui-next :is(.ui-gate,.ui-layer) #ui-owner-ezpass .ui-table[data-owner-table="transactions"] :is(.status,.cell-line){white-space:normal}
  .ui-next :is(.ui-gate,.ui-layer) #ui-owner-ezpass .ui-table[data-owner-table="transactions"] 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-owner-ezpass .ui-table[data-owner-table="transactions"] td:first-child .cell-sub{display:block;overflow:visible}
}
@media (min-width:1100px){
  .ui-next :is(.ui-gate,.ui-layer) #ui-owner-ezpass .ui-table[data-owner-table="transactions"]{width:100%}
  .ui-next :is(.ui-gate,.ui-layer) #ui-owner-ezpass .ui-table[data-owner-table="transactions"] :is(th,td),.ui-next :is(.ui-gate,.ui-layer) #ui-owner-ezpass .ui-table[data-owner-table="transactions"] td:first-child{padding-left:8px;padding-right:8px;font-size:.9375rem}
  .ui-next :is(.ui-gate,.ui-layer) #ui-owner-ezpass .ui-table[data-owner-table="transactions"] :is(th,td):first-child{padding-inline-start:16px}
  .ui-next :is(.ui-gate,.ui-layer) #ui-owner-ezpass .ui-table[data-owner-table="transactions"] :is(th,td):last-child{padding-inline-end:16px}
  .ui-next :is(.ui-gate,.ui-layer) #ui-owner-ezpass .ui-table[data-owner-table="transactions"] th:first-child{width:18%}
  .ui-next :is(.ui-gate,.ui-layer) #ui-owner-ezpass .ui-table[data-owner-table="transactions"] th:nth-child(6){width:16%}
  /* The two columns with something to press share what is left evenly, so neither button is squeezed to a word per line. */
  .ui-next :is(.ui-gate,.ui-layer) #ui-owner-ezpass .ui-table[data-owner-table="transactions"] th:nth-last-child(-n+2){width:14%}
  .ui-next :is(.ui-gate,.ui-layer) #ui-owner-ezpass .ui-table[data-owner-table="transactions"] .cell-sub{font-size:.875rem}
  .ui-next :is(.ui-gate,.ui-layer) #ui-owner-ezpass .ui-table[data-owner-table="transactions"] .status{white-space:normal;align-items:baseline}
  .ui-next :is(.ui-gate,.ui-layer) #ui-owner-ezpass .ui-table[data-owner-table="transactions"] .btn{min-height:44px;padding:6px 8px;font-size:.9375rem;text-align:start;justify-content:flex-start;white-space:normal}
  .ui-next :is(.ui-gate,.ui-layer) #ui-owner-ezpass .ui-table[data-owner-table="transactions"] .btn-plain{padding-left:0;padding-right:0}
  .ui-next :is(.ui-gate,.ui-layer) #ui-owner-ezpass .ui-table[data-owner-table="transactions"] td.cell-actions{white-space:normal;text-align:start}
  .ui-next :is(.ui-gate,.ui-layer) #ui-owner-ezpass .ui-table[data-owner-table="transactions"] td.cell-actions .btn{display:flex;width:fit-content;margin:0}
  .ui-next :is(.ui-gate,.ui-layer) #ui-owner-ezpass .ui-table[data-owner-table="transactions"] td.cell-actions .btn+.btn{margin-top:6px}
}
/* The E-ZPass list: a toll that a credit reversed stays in it, struck through and quieter. */
.ui-next :is(.ui-gate,.ui-layer) .ui-table tr.struck td:is(:first-child,.num){color:var(--label-2);text-decoration:line-through}

/* The application as a RentMe driver card (plan 2026-11-17, Task 11). RentMe's own card, in RentMe's colors: navy band with the brand and
   "Driver card", never an agency's look (no seal, no state colors, no hologram). Logical properties only, so Arabic mirrors it. */
.ui-next :is(.ui-gate,.ui-layer) .owner-request{overflow:hidden}
.ui-next :is(.ui-gate,.ui-layer) .driver-card{display:grid;gap:0;margin:0;background:var(--surface);color:var(--label)}
.ui-next :is(.ui-gate,.ui-layer) .driver-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 16px;background:var(--navy-fill);color:var(--on-color)}
.ui-next :is(.ui-gate,.ui-layer) .driver-card-brand{display:inline-flex;align-items:center;gap:8px;font-weight:700;letter-spacing:-.01em}
.ui-next :is(.ui-gate,.ui-layer) .driver-card-brand svg{flex:none;color:var(--brand-orange)}
.ui-next :is(.ui-gate,.ui-layer) .driver-card-kind{font-size:.8125rem;font-weight:600;opacity:.85}
.ui-next :is(.ui-gate,.ui-layer) .driver-card-who{display:flex;align-items:center;gap:14px;padding:14px 16px 6px;min-width:0}
.ui-next :is(.ui-gate,.ui-layer) .driver-card-photo{flex:none;display:grid;place-items:center;width:72px;height:72px;border-radius:50%;overflow:hidden;background:var(--fill);color:var(--label-2)}
.ui-next :is(.ui-gate,.ui-layer) .driver-card-photo img{width:100%;height:100%;object-fit:cover}
.ui-next :is(.ui-gate,.ui-layer) .driver-card-initials{font-size:1.5rem;font-weight:700}
.ui-next :is(.ui-gate,.ui-layer) .driver-card-id{display:grid;gap:2px;min-width:0}
.ui-next :is(.ui-gate,.ui-layer) .driver-card-name{font-size:1.1875rem;font-weight:700;line-height:1.25;overflow-wrap:anywhere}
.ui-next :is(.ui-gate,.ui-layer) .driver-card-since{color:var(--label-2);font-size:.875rem}
.ui-next :is(.ui-gate,.ui-layer) .driver-card-facts{display:grid;gap:10px;margin:0;padding:10px 16px 12px}
.ui-next :is(.ui-gate,.ui-layer) .driver-card-fact{display:grid;gap:2px;min-width:0}
.ui-next :is(.ui-gate,.ui-layer) .driver-card-fact dt{color:var(--label-2);font-size:.8125rem}
.ui-next :is(.ui-gate,.ui-layer) .driver-card-fact dd{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;margin:0;font-size:1rem;overflow-wrap:anywhere}
.ui-next :is(.ui-gate,.ui-layer) .driver-card-date{color:var(--label-2);font-size:.9375rem}
.ui-next :is(.ui-gate,.ui-layer) .driver-card-licenses{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:0 16px 12px}
.ui-next :is(.ui-gate,.ui-layer) .driver-card-license{display:grid;gap:6px;min-width:0;padding:0;border:0;background:none;color:var(--label);font:inherit;text-align:start;cursor:pointer}
.ui-next :is(.ui-gate,.ui-layer) .driver-card-license.empty{cursor:default;color:var(--label-2)}
.ui-next :is(.ui-gate,.ui-layer) .driver-card-thumb{display:grid;place-items:center;aspect-ratio:1.586;border-radius:10px;overflow:hidden;background:var(--fill);color:var(--label-3);box-shadow:0 0 0 1px var(--sep)}
.ui-next :is(.ui-gate,.ui-layer) .driver-card-thumb img{width:100%;height:100%;object-fit:cover}
.ui-next :is(.ui-gate,.ui-layer) .driver-card-pdf{font-weight:700;color:var(--label-2)}
.ui-next :is(.ui-gate,.ui-layer) .driver-card-license-name{font-size:.875rem;font-weight:600}
.ui-next :is(.ui-gate,.ui-layer) .driver-card-license:focus-visible{outline:2px solid var(--focus);outline-offset:3px;border-radius:10px}
.ui-next :is(.ui-gate,.ui-layer) .driver-card-note{margin:0;padding:10px 16px;border-top:1px solid var(--sep);color:var(--label-2);font-size:.8125rem;line-height:1.4}
/* A license opened from the card: each side as large as the sheet allows. */
.ui-next :is(.ui-gate,.ui-layer) .card-sides{display:grid;gap:16px}
.ui-next :is(.ui-gate,.ui-layer) .card-side{display:grid;gap:6px;justify-items:center;margin:0}
.ui-next :is(.ui-gate,.ui-layer) .card-side img{display:block;width:100%;max-height:70vh;object-fit:contain;border-radius:12px;background:var(--fill)}
.ui-next :is(.ui-gate,.ui-layer) .card-side figcaption{color:var(--label-2);font-size:.875rem}
/* A driver's whole profile (owner, November 22, 2026; ui-owner.js uiOwnerDriverOpen): the photo large at the top with the name beside it,
   then grouped rows. The name on Drivers that opens it reads as the name, with the press feedback of a link. */
.ui-next :is(.ui-gate,.ui-layer) .owner-person{display:flex;align-items:center;gap:16px;min-width:0;padding:4px 4px 18px}
.ui-next :is(.ui-gate,.ui-layer) .owner-person-photo{flex:none;display:grid;place-items:center;width:112px;height:112px;border-radius:50%;overflow:hidden;background:var(--fill);color:var(--label-2);box-shadow:0 0 0 1px var(--sep)}
.ui-next :is(.ui-gate,.ui-layer) .owner-person-photo img{width:100%;height:100%;object-fit:cover;display:block}
.ui-next :is(.ui-gate,.ui-layer) .owner-person-initials{font-size:2.25rem;font-weight:700}
/* The photo opens larger in the same sheet when pressed, and small again (ui-owner.js, uiOwnerDriverBody): open, it takes the sheet's width
   and the name moves under it; the whole photo shows, never cropped. */
.ui-next :is(.ui-gate,.ui-layer) .owner-person:has(>.owner-person-zoom){flex-wrap:wrap}
.ui-next :is(.ui-gate,.ui-layer) .owner-person-zoom{flex:none;min-width:0}
.ui-next :is(.ui-gate,.ui-layer) .owner-person-zoom[open]{flex:1 0 100%}
.ui-next :is(.ui-gate,.ui-layer) .owner-person-zoom>summary{list-style:none;cursor:zoom-in;-webkit-tap-highlight-color:transparent;transition:width .32s var(--ease,ease),height .32s var(--ease,ease),border-radius .32s var(--ease,ease)}
.ui-next :is(.ui-gate,.ui-layer) .owner-person-zoom>summary::-webkit-details-marker{display:none}
.ui-next :is(.ui-gate,.ui-layer) .owner-person-zoom>summary:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
.ui-next :is(.ui-gate,.ui-layer) .owner-person-zoom[open]>.owner-person-photo{width:100%;height:min(70vh,520px);border-radius:20px;cursor:zoom-out}
.ui-next :is(.ui-gate,.ui-layer) .owner-person-zoom[open]>.owner-person-photo img{object-fit:contain}
@media (prefers-reduced-motion:reduce){.ui-next :is(.ui-gate,.ui-layer) .owner-person-zoom>summary{transition:none}}
.ui-next :is(.ui-gate,.ui-layer) .owner-person-id{display:grid;gap:4px;min-width:0}
.ui-next :is(.ui-gate,.ui-layer) .owner-person-name{font-size:1.375rem;font-weight:700;line-height:1.2;overflow-wrap:anywhere}
.ui-next :is(.ui-gate,.ui-layer) .owner-person-sub{color:var(--label-2);font-size:.9375rem;overflow-wrap:anywhere}
.ui-next :is(.ui-gate,.ui-layer) .owner-person-sub .status{font-size:inherit}
.ui-next :is(.ui-gate,.ui-layer) .owner-person-note{margin:0 4px 14px}
.ui-next :is(.ui-gate,.ui-layer) .owner-person-date{display:block;margin-top:2px;color:var(--label-2);font-size:.9375rem;font-weight:500}
.ui-next :is(.ui-gate,.ui-layer) .owner-profile .row-title .mono{font-variant-numeric:tabular-nums}
.ui-next :is(.ui-gate,.ui-layer) .owner-contact{display:inline-block;min-height:24px;color:var(--accent);font-weight:600;overflow-wrap:anywhere;text-decoration:underline;text-decoration-color:var(--accent-fill);text-decoration-thickness:2px;text-underline-offset:5px}
.ui-next :is(.ui-gate,.ui-layer) .owner-contact:focus-visible{outline:2px solid var(--focus);outline-offset:2px;border-radius:4px}
.ui-next :is(.ui-gate,.ui-layer) .owner-profile .owner-tools .btn-secondary:only-child{grid-column:1/-1}
.ui-next :is(.ui-gate,.ui-layer) .owner-name-link{display:inline-block;padding-block:10px;margin-block:-10px;padding-inline:0;border:0;background:none;color:var(--accent);font:inherit;font-weight:600;text-align:start;cursor:pointer;overflow-wrap:anywhere;text-decoration:underline;text-decoration-color:var(--accent-fill);text-decoration-thickness:2px;text-underline-offset:5px}
.ui-next :is(.ui-gate,.ui-layer) .owner-name-link:active{opacity:.6}
/* The driver's name in a car's Availability line, inside the line that opens the profile: the colour and underline of the links. */
.ui-next :is(.ui-gate,.ui-layer) .owner-driver-name{color:var(--accent);font-weight:600;text-decoration:underline;text-decoration-color:var(--accent-fill);text-decoration-thickness:2px;text-underline-offset:5px;overflow-wrap:anywhere}
.ui-next :is(.ui-gate,.ui-layer) .owner-name-link:focus-visible{outline:2px solid var(--focus);outline-offset:2px;border-radius:4px}
@media (max-width:420px){
  .ui-next :is(.ui-gate,.ui-layer) .owner-person-photo{width:88px;height:88px}
  .ui-next :is(.ui-gate,.ui-layer) .owner-person-name{font-size:1.25rem}
}
/* The link of Add my driver, shown once: it wraps, and can be selected whole. */
.ui-next :is(.ui-gate,.ui-layer) .owner-link{margin:0;max-width:100%;color:var(--label);font-family:var(--font-mono);font-size:.9375rem;line-height:1.4;overflow-wrap:anywhere;text-align:center;-webkit-user-select:all;user-select:all}
@media (min-width:900px){
  .ui-next :is(.ui-gate,.ui-layer) .driver-card-facts{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:20px}
}