/* Karaoke Set Go shared parts (2026-11-11).
   ONE set of sizes for the controls people touch, taken from the host screens, used by every dashboard page
   (host dashboard and admin). Loaded last. New pages are built from these parts only; a new part is added here,
   never inside a page's own styles.

   Parts and their one size:
   • Button (.btn)            44 tall · 18 side padding · 14px semi-bold · 12 corner
   • Small button (.btn.sm)   36 tall
   • Big button (.btn.big)    52 tall
   • Icon button (.btn.icon)  44 × 44
   • Field (input, select)    44 tall · 15px · 12 corner     (same height as a button, so a row lines up)
   • Tab (inside any …tabs bar) 36 tall · fully rounded · 14px
   • Pill (.pill)             status word, fully rounded
   • Row of controls (.ks-row) everything centred on one line, 10 gap, wraps cleanly
*/
body:is([data-page=account],[data-page=owner]){--ks-control:44px;--ks-control-sm:36px;--ks-control-big:52px;--ks-radius:10px;--ks-gap:10px}

/* Buttons */
body:is([data-page=account],[data-page=owner]) .content :is(.btn,summary.btn,a.btn):not(.customer-tabs>*):not(.customer-subnav>*):not([class*=tabs]:not(.customer-tabs)>*):not(.paid-addon-categories>*){box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:var(--ks-control)!important;padding-top:0!important;padding-bottom:0!important;padding-left:18px;padding-right:18px;font-size:14px!important;font-weight:600;line-height:1.25!important;border-radius:var(--ks-radius)!important;vertical-align:middle}
body:is([data-page=account],[data-page=owner]) .content .btn.sm{min-height:var(--ks-control-sm)!important;padding-left:14px;padding-right:14px;font-size:13px!important}
body:is([data-page=account],[data-page=owner]) .content .btn.big{min-height:var(--ks-control-big)!important;font-size:16px!important}
body:is([data-page=account],[data-page=owner]) .content .btn:is(.icon,.game-refresh,.reaction-refresh,[aria-label^="Refresh"]:not(:has(*:not(.ui-icon):not(img)))){width:var(--ks-control);padding-left:0!important;padding-right:0!important}
/* a button whose text wraps to two lines keeps breathing room */
body:is([data-page=account],[data-page=owner]) .content .btn:has(small,strong,p,h3){padding-top:10px!important;padding-bottom:10px!important}

/* Fields: the same height as a button */
body:is([data-page=account],[data-page=owner]) .content :is(input.input,select.input,select,input[type=text],input[type=search],input[type=email],input[type=url],input[type=tel],input[type=number],input[type=password],input[type=date],input[type=time],input[type=datetime-local]):not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]){box-sizing:border-box;height:var(--ks-control)!important;min-height:var(--ks-control)!important;padding-top:0!important;padding-bottom:0!important;font-size:15px!important;border-radius:var(--ks-radius)!important}

/* A row of controls */
body:is([data-page=account],[data-page=owner]) .content :is(.ks-row,.row.wrap,.profile-actions,.team-actions,.billing-actions,.box-head){align-items:center}
body:is([data-page=account],[data-page=owner]) .content .ks-row{display:flex;flex-wrap:wrap;gap:var(--ks-gap)}

/* Tabs: every tab bar uses the same pill */
body:is([data-page=account],[data-page=owner]) .content :is([class*=tabs]:not(.customer-tabs),.paid-addon-categories)>:is(.btn,button){box-sizing:border-box;min-height:36px!important;height:36px;padding:0 16px!important;font-size:14px!important;line-height:1!important;border-radius:999px!important;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap}

/* ---------- Layout parts (2026-11-11) ---------- */
/* Card: one padding everywhere; cards in a stack or grid sit 20 apart */
@media(min-width:701px){body:is([data-page=account],[data-page=owner]) .content .box{padding:24px 26px!important}}
body:is([data-page=account],[data-page=owner]) .content :is(div,form,fieldset,section,main):has(>.box){row-gap:20px!important;column-gap:20px!important}
/* One card level: a list row inside a card is a plain row with a divider, not another card */
body:is([data-page=account],[data-page=owner]) .content .box :is(.show-row,.venue-row,.ticket){background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:16px 0!important;border-top:1px solid color-mix(in srgb,var(--v-text) 11%,transparent)!important}
body:is([data-page=account],[data-page=owner]) .content .box :is(.show-row,.venue-row,.ticket):first-of-type{border-top:0!important;padding-top:6px!important}
/* Filter row: fields and their button share one line and line up along the bottom; it wraps cleanly when narrow */
body:is([data-page=account],[data-page=owner]) .content :is(.ks-filters,.customer-filters,.launch-filters){display:flex!important;flex-wrap:wrap;align-items:flex-end;gap:14px 16px!important;width:100%!important;max-width:none!important;box-sizing:border-box;grid-column:1/-1!important}
body:is([data-page=account],[data-page=owner]) .content :is(.ks-filters,.customer-filters,.launch-filters)>.field{flex:1 1 150px;min-width:0;margin:0!important;max-width:none!important}
body:is([data-page=account],[data-page=owner]) .content :is(.ks-filters,.customer-filters,.launch-filters)>.field:first-child{flex:2 1 240px}
body:is([data-page=account],[data-page=owner]) .content :is(.ks-filters,.customer-filters,.launch-filters)>.btn{flex:0 0 auto;grid-column:auto!important}
@media(max-width:560px){body:is([data-page=account],[data-page=owner]) .content :is(.ks-filters,.customer-filters,.launch-filters)>.btn{flex:1 1 100%}}

/* ---------- Guest pages and the Karaoke Tablet app (2026-11-11) ----------
   Guests tap in a dark, busy room, so their parts are one step bigger than the dashboards, and bigger again on tablets.
   • Phone:  button 48 · big button 56 · field 48 · 14 corner
   • Tablet and Karaoke Tablet app: button 56 · big button 62 · field 56 · 14 corner */
body.phone-experience{--ks-control:48px;--ks-control-big:56px;--ks-radius:14px}
@media(min-width:760px){body.phone-experience{--ks-control:56px;--ks-control-big:62px}}
body.phone-experience :is(.btn,a.btn):not(.sm):not(.big):not(.kw-leave):not(.kiosk-exit){box-sizing:border-box;min-height:var(--ks-control)!important;border-radius:var(--ks-radius)!important;display:inline-flex;align-items:center;justify-content:center;gap:8px}
body.phone-experience .btn.big{box-sizing:border-box;min-height:var(--ks-control-big)!important;padding-top:0!important;padding-bottom:0!important;line-height:1.2!important;border-radius:var(--ks-radius)!important;display:flex;align-items:center;justify-content:center}
@media(min-width:760px){body.phone-experience .btn.big{font-size:20px!important}}
body.phone-experience :is(input.input,select.input,input[type=text],input[type=search],input[type=tel],input[type=url]):not([type=checkbox]):not([type=radio]){box-sizing:border-box;height:var(--ks-control)!important;min-height:var(--ks-control)!important;border-radius:var(--ks-radius)!important}
@media(min-width:760px){body.phone-experience :is(input.input,select.input,input[type=text],input[type=search]){font-size:18px!important}body.phone-experience .btn:not(.sm):not(.kw-leave){font-size:17px}}
/* the tablet's own screens (connect, PIN) use the same parts */
html.kiosk .kiosk-layer .input{height:var(--ks-control,56px)!important;font-size:22px!important;border-radius:14px!important}
html.kiosk .kiosk-layer #klink.input{font-size:16px!important}
html.kiosk .kiosk-layer .btn:not(.kw-leave){min-height:var(--ks-control,56px)!important;border-radius:14px!important;font-size:17px!important;padding:0 22px}
html.kiosk .kiosk-layer .btn.big{min-height:var(--ks-control-big,62px)!important}


/* ---------- Two new parts, added for custom orders (2026-11-11) ---------- */
/* Steps strip: where something is in a fixed path. Done steps are quiet, the current one is the accent. */
body:is([data-page=account],[data-page=owner]) .co-steps{display:flex;flex-wrap:wrap;gap:6px 0;list-style:none;margin:16px 0 18px;padding:0;counter-reset:step}
body:is([data-page=account],[data-page=owner]) .co-steps li{counter-increment:step;display:inline-flex;align-items:center;gap:8px;font-size:13.5px;font-weight:600;color:var(--v-muted);padding-right:14px;margin-right:14px;border-right:1px solid color-mix(in srgb,var(--v-text) 12%,transparent)}
body:is([data-page=account],[data-page=owner]) .co-steps li:last-child{border-right:0;margin-right:0;padding-right:0}
body:is([data-page=account],[data-page=owner]) .co-steps li::before{content:counter(step);display:grid;place-items:center;width:22px;height:22px;border-radius:50%;font-size:12px;background:color-mix(in srgb,var(--v-text) 10%,transparent);color:var(--v-muted)}
body:is([data-page=account],[data-page=owner]) .co-steps li.done{color:var(--v-text)}
body:is([data-page=account],[data-page=owner]) .co-steps li.done::before{content:"✓";background:color-mix(in srgb,var(--ks-good) 22%,transparent);color:var(--ks-good)}
body:is([data-page=account],[data-page=owner]) .co-steps li.now{color:var(--v-text)}
body:is([data-page=account],[data-page=owner]) .co-steps li.now::before{background:linear-gradient(135deg,var(--v-accent),var(--v-purple));color:var(--ks-on-accent)}
/* Count: a small number beside a tab or lane name */
body:is([data-page=account],[data-page=owner]) .co-count{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 6px;margin-left:6px;border-radius:999px;font-size:12px;font-weight:700;background:color-mix(in srgb,var(--v-text) 12%,transparent)}
/* Custom orders page spacing (uses the card, table, filter row, tabs and glance facts as they are) */
body:is([data-page=account],[data-page=owner]) :is(.custom-orders,.ks-work)>*+*,body:is([data-page=account],[data-page=owner]) :is(.custom-orders,.ks-work) [data-co-body]>*+*{margin-top:20px}
body:is([data-page=account],[data-page=owner]) :is(.custom-orders,.ks-work) .co-panel>*+*{margin-top:16px}
body:is([data-page=account],[data-page=owner]) :is(.custom-orders,.ks-work) .co-panel{margin-top:18px}
body:is([data-page=account],[data-page=owner]) :is(.custom-orders,.ks-work) .box>.ks-filters+*{margin-top:16px}
body:is([data-page=account],[data-page=owner]) :is(.custom-orders,.ks-work) .co-next{padding:16px 18px;border-left:3px solid var(--v-accent);background:color-mix(in srgb,var(--v-accent) 7%,transparent);border-radius:0 12px 12px 0}
body:is([data-page=account],[data-page=owner]) :is(.custom-orders,.ks-work) .co-next>*+*{margin-top:12px}
body:is([data-page=account],[data-page=owner]) :is(.custom-orders,.ks-work) .co-next h3{margin:0}
body:is([data-page=account],[data-page=owner]) :is(.custom-orders,.ks-work) .co-list .ticket{display:flex;justify-content:space-between;align-items:center;gap:16px}
body:is([data-page=account],[data-page=owner]) :is(.custom-orders,.ks-work) .co-list .ticket p{margin:4px 0 0}
body:is([data-page=account],[data-page=owner]) :is(.custom-orders,.ks-work) .co-back{background:none;border:0;padding:0;cursor:pointer;font:inherit}
body:is([data-page=account],[data-page=owner]) :is(.custom-orders,.ks-work) .co-close>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;color:var(--v-muted)}
body:is([data-page=account],[data-page=owner]) :is(.custom-orders,.ks-work) textarea.input{min-height:96px;padding:12px 14px;border-radius:12px;width:100%;box-sizing:border-box}
body:is([data-page=account],[data-page=owner]) :is(.custom-orders,.ks-work) .page-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap}
body:is([data-page=account],[data-page=owner]) :is(.custom-orders,.ks-work) .glance-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:22px 0;margin:0}
body[data-page=account] .glance-fact{display:grid;align-content:start;gap:6px;padding:2px 22px;border-left:1px solid color-mix(in srgb,var(--v-text) 12%,transparent);min-width:0}
body[data-page=account] .glance-fact dt{font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:var(--v-muted);font-weight:700}
body[data-page=account] .glance-fact dd{margin:0;display:grid;gap:4px}
body[data-page=account] .glance-value{font-size:18px;font-weight:700}
body[data-page=account] .glance-fact small{font-size:13.5px;color:var(--v-muted)}
body:is([data-page=account],[data-page=owner]) :is(.custom-orders,.ks-work) .co-panel .glance-grid{margin-top:20px!important}
@media(min-width:900px){body:is([data-page=account],[data-page=owner]) :is(.custom-orders,.ks-work) .glance-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
body:is([data-page=account],[data-page=owner]) :is(.custom-orders,.ks-work) form[data-co-form=due]{max-width:420px!important}

/* custom products form: package rows use the filter row; wide fields span the editor */
body:is([data-page=account],[data-page=owner]) :is(.custom-orders,.ks-work) .co-wide{grid-column:1/-1}
body:is([data-page=account],[data-page=owner]) :is(.custom-orders,.ks-work) .co-pack{padding:12px 0;border-top:1px solid color-mix(in srgb,var(--v-text) 11%,transparent)}
body:is([data-page=account],[data-page=owner]) :is(.custom-orders,.ks-work) .co-pack:first-child{border-top:0}
body:is([data-page=account],[data-page=owner]) :is(.custom-orders,.ks-work) .co-pack>.field:nth-of-type(2),body:is([data-page=account],[data-page=owner]) :is(.custom-orders,.ks-work) .co-pack>.field:nth-of-type(3){flex:0 1 130px}
body:is([data-page=account],[data-page=owner]) :is(.custom-orders,.ks-work) .co-pack>.field:nth-of-type(4){flex:3 1 260px}
body:is([data-page=account],[data-page=owner]) :is(.custom-orders,.ks-work) .lbl{display:block;font-weight:700;font-size:14px;margin-bottom:6px}


/* ================= One look: the host screen's surfaces, everywhere (2026-11-11) =================
   Read from the live host screen (public/css/host-shell.css) and applied to the dashboards, admin, guest pages
   and the tablet app, so nothing has its own colours for lines, cards, buttons or fields.
   • Line      white at 12%            (was a magenta line on dashboards)
   • Card      dark glass, 18 corner   (was a plum gradient with a magenta border and a drop shadow)
   • Button    white at 6%, white line, 10 corner; main button = the coral-to-pink gradient with a soft glow
   • Field     near-black glass, white line, 10 corner
   • Tabs bar  white at 4%, white line, fully rounded */
/* Colours: nothing here is a fixed colour. Every surface is mixed from the vibe's own five colours
   (--v-bg, --v-text, --v-accent, --v-accent-2, --v-purple), so a different vibe recolours every page.
   The only fixed colours are the three status colours, which mean the same thing in every vibe. */
:root{--ks-good:#5dffb0;--ks-warn:#ffb347;--ks-bad:#ff6b6b}
body:is([data-page=account],[data-page=owner]){--ks-line:color-mix(in srgb,var(--v-text) 12%,transparent);--ks-line-strong:color-mix(in srgb,var(--v-text) 20%,transparent);--ks-glass:color-mix(in srgb,color-mix(in srgb,var(--v-bg),var(--v-purple) 13%) 62%,transparent);--ks-fill:color-mix(in srgb,var(--v-text) 6%,transparent);--ks-fill-hover:color-mix(in srgb,var(--v-text) 11%,transparent);--ks-field:color-mix(in srgb,var(--v-bg) 62%,transparent);--ks-on-accent:var(--v-on-accent,var(--v-text));--ks-card-radius:18px}
body:is([data-page=account],[data-page=owner]) .app-shell{--v-line:var(--ks-line);--v-line-2:var(--ks-line-strong)}
/* Card */
body:is([data-page=account],[data-page=owner]) .content :is(.box,.stat,.note){background:var(--ks-glass)!important;background-image:none!important;border:1px solid var(--ks-line)!important;border-radius:var(--ks-card-radius)!important;box-shadow:none!important}
body:is([data-page=account],[data-page=owner]) .content .note{border-radius:12px!important;background:color-mix(in srgb,var(--v-text) 4%,transparent)!important}
/* Button */
body:is([data-page=account],[data-page=owner]) :is(.content,.topbar,.sidebar,.dialog) :is(.btn,summary.btn,a.btn):not(.primary):not(.customer-tabs>*):not(.customer-subnav>*):not([class*=tabs]:not(.customer-tabs)>*):not(.paid-addon-categories>*):not(.tap-twice-armed){background:var(--ks-fill)!important;background-image:none!important;border:1px solid var(--ks-line)!important;color:var(--v-text)!important;box-shadow:none!important}
body:is([data-page=account],[data-page=owner]) :is(.content,.topbar,.sidebar,.dialog) :is(.btn,summary.btn,a.btn):not(.primary):not(.customer-tabs>*):not(.customer-subnav>*):not([class*=tabs]:not(.customer-tabs)>*):not(.paid-addon-categories>*):not(:disabled):hover{background:var(--ks-fill-hover)!important}
body:is([data-page=account],[data-page=owner]) :is(.content,.topbar,.dialog) .btn.primary{background:var(--v-grad)!important;border:1px solid transparent!important;color:var(--ks-on-accent)!important;box-shadow:0 6px 22px color-mix(in srgb,var(--v-accent) 28%,transparent)!important}
body:is([data-page=account],[data-page=owner]) .content .btn:disabled{opacity:.5}
body:is([data-page=account],[data-page=owner]) .content .btn:active{transform:scale(.97)}
/* Field */
body:is([data-page=account],[data-page=owner]) .content :is(input.input,select.input,select,textarea,textarea.input,input[type=text],input[type=search],input[type=email],input[type=url],input[type=tel],input[type=number],input[type=password],input[type=date],input[type=time],input[type=datetime-local]){background-color:var(--ks-field)!important;border:1px solid var(--ks-line)!important;border-radius:var(--ks-radius)!important;color:var(--v-text)!important;box-shadow:none!important}
body:is([data-page=account],[data-page=owner]) .content :is(input,select,textarea):focus-visible{border-color:var(--v-accent-2)!important;outline:2px solid color-mix(in srgb,var(--v-accent-2) 35%,transparent);outline-offset:1px}
/* Tabs bar and its pills */
body:is([data-page=account],[data-page=owner]) .content :is([class*=tabs]:not(.customer-tabs),.paid-addon-categories):has(>button,>.btn,>a){background:color-mix(in srgb,var(--v-text) 4%,transparent)!important;border:1px solid var(--ks-line)!important}
body:is([data-page=account],[data-page=owner]) .content :is([class*=tabs]:not(.customer-tabs),.paid-addon-categories)>:is(button,.btn,a):not(.active):not(.on):not(.is-active):not([aria-current]):not([aria-pressed=true]):not([aria-selected=true]){background:none!important;border-color:transparent!important;box-shadow:none!important}
/* Pill */
body:is([data-page=account],[data-page=owner]) .content .pill{border:1px solid var(--ks-line);background:var(--ks-fill);border-radius:999px}
body:is([data-page=account],[data-page=owner]) :is(.app-shell,.dialog) .pill.on{background:color-mix(in srgb,var(--ks-good) 13%,transparent);border-color:color-mix(in srgb,var(--ks-good) 55%,transparent);color:color-mix(in srgb,var(--ks-good) 80%,var(--v-text))}
/* Empty state: the host screen's dashed box */
body:is([data-page=account],[data-page=owner]) .content :is(.empty,.gt-empty,[class*=empty]:not(td):not(tr)){border:1px dashed var(--ks-line-strong)!important;background:none!important;border-radius:14px!important}
/* Menu on the left and the bar on top use the same line */
body:is([data-page=account],[data-page=owner]) .sidebar{border-right-color:var(--ks-line)!important}
body:is([data-page=account],[data-page=owner]) .topbar{border-bottom-color:var(--ks-line)!important}

/* Guest pages and the tablet app: same surfaces */
body.phone-experience{--line:color-mix(in srgb,var(--text) 14%,transparent);--ks-line:color-mix(in srgb,var(--text) 14%,transparent);--ks-glass:color-mix(in srgb,color-mix(in srgb,var(--bg),var(--neon3) 13%) 62%,transparent)}
body.phone-experience .card{background:var(--ks-glass)!important;background-image:none!important;border:1px solid var(--ks-line)!important;border-radius:18px!important}
body.phone-experience .btn:not(.primary):not(.big):not(.kw-leave):not(.kiosk-exit):not(.tap-twice-armed){background:color-mix(in srgb,var(--text) 6%,transparent)!important;border:1px solid var(--ks-line)!important;color:var(--text)!important}
body.phone-experience :is(input.input,select.input,input[type=text],input[type=search],input[type=tel],input[type=url]){background-color:color-mix(in srgb,var(--bg) 62%,transparent)!important;border:1px solid var(--ks-line)!important}
/* the last few cards that had their own surface */
body:is([data-page=account],[data-page=owner]) .content :is(.accent-panel,.game-bundle,.games-coming-soon,.tips-tv-choice,.records-upkeep-section,.admin-overview-service-footer){background:var(--ks-glass)!important;background-image:none!important;border-color:var(--ks-line)!important;box-shadow:none!important}
body:is([data-page=account],[data-page=owner]) .content :is(.entertainment-game-card,.game-bingo,.game-kiosk,.game-soon-label,.paid-addon-status,article,details>summary){border-color:var(--ks-line)!important}
body:is([data-page=account],[data-page=owner]) .dashboard-install{border-color:var(--ks-line)!important}
body:is([data-page=account],[data-page=owner]) .sidebar .dashboard-install .btn,body:is([data-page=account],[data-page=owner]) .sidebar a.btn{background:var(--ks-fill)!important;border:1px solid var(--ks-line)!important}

/* Titles: one card title and one row title on every dashboard page.
   Card title = 21px bold, sentence case (quick to scan). Row title (a show, a person, a plan inside a card) = 17px. */
body:is([data-page=account],[data-page=owner]) .content h2{font-size:21px!important;font-weight:800;letter-spacing:-.01em!important;text-transform:none}
body:is([data-page=account],[data-page=owner]) .content :is(.box,section,article) h3:not([class*=label]):not(.eyebrow){font-size:17px;font-weight:700;letter-spacing:normal;text-transform:none}

/* Inbox (a .ks-work screen, like Custom orders). The conversation is one card: messages on the left, the customer,
   owner, topic and private notes beside it. On a narrow screen the side column drops below the messages. */
body:is([data-page=account],[data-page=owner]) .ks-work .ib-cols{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,320px);gap:28px;margin-top:20px}
body:is([data-page=account],[data-page=owner]) .ks-work .ib-side{border-left:1px solid var(--ks-line);padding-left:28px;display:grid;gap:18px;align-content:start}
body:is([data-page=account],[data-page=owner]) .ks-work .ib-side h3{margin:0}
body:is([data-page=account],[data-page=owner]) .ks-work .ib-side .field{margin:0}
body:is([data-page=account],[data-page=owner]) .ks-work .ib-facts{display:grid;gap:12px;margin:0}
body:is([data-page=account],[data-page=owner]) .ks-work .ib-facts dt{font-size:12px;letter-spacing:.1em;text-transform:uppercase;font-weight:700;color:var(--v-muted)}
body:is([data-page=account],[data-page=owner]) .ks-work .ib-facts dd{margin:2px 0 0;font-weight:600}
body:is([data-page=account],[data-page=owner]) .ks-work .ib-facts dd small{display:block;font-weight:400;font-size:13.5px;color:var(--v-muted)}
body:is([data-page=account],[data-page=owner]) .ks-work .ib-messages{display:grid;gap:12px;max-height:min(56vh,640px);overflow:auto;padding-right:6px}
body:is([data-page=account],[data-page=owner]) .ks-work .ib-messages .ticket{max-width:min(100%,640px);padding:12px 16px!important;border-radius:14px!important;background:var(--ks-fill)!important;border:1px solid var(--ks-line)!important;justify-self:start}
body:is([data-page=account],[data-page=owner]) .ks-work .ib-messages .ticket.from-team{justify-self:end;background:color-mix(in srgb,var(--v-accent) 12%,transparent)!important;border-color:color-mix(in srgb,var(--v-accent) 35%,transparent)!important}
body:is([data-page=account],[data-page=owner]) .ks-work .ib-messages .ticket p{margin:4px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}
body:is([data-page=account],[data-page=owner]) .ks-work .ticket small{color:var(--v-muted)}
body:is([data-page=account],[data-page=owner]) .ks-work .ib-main{display:grid;gap:20px;align-content:start;min-width:0}
body:is([data-page=account],[data-page=owner]) .ks-work .ib-reply{margin:0!important}
body:is([data-page=account],[data-page=owner]) .ks-work .ib-reply .ks-row,body:is([data-page=account],[data-page=owner]) .ks-work .ib-notes .ks-row,body:is([data-page=account],[data-page=owner]) .ks-work .ib-topics .ks-row{margin-top:12px}
body:is([data-page=account],[data-page=owner]) .ks-work .ib-notes>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-weight:700}
body:is([data-page=account],[data-page=owner]) .ks-work .ib-notes>*+*{margin-top:10px}
body:is([data-page=account],[data-page=owner]) .ks-work .ib-table tr.ib-unread td{font-weight:600}
body:is([data-page=account],[data-page=owner]) .ks-work .ib-table .gt-dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:4px;vertical-align:middle;background:var(--ks-good)}
body:is([data-page=account],[data-page=owner]) .ks-work .ib-topics{max-width:520px}
body:is([data-page=account],[data-page=owner]) .ks-work [data-ib-msg]:empty{display:none}
@media (max-width:1050px){body:is([data-page=account],[data-page=owner]) .ks-work .ib-cols{grid-template-columns:minmax(0,1fr)}body:is([data-page=account],[data-page=owner]) .ks-work .ib-side{border-left:0;padding-left:0;border-top:1px solid var(--ks-line);padding-top:20px}body:is([data-page=account],[data-page=owner]) .ks-work .ib-messages{max-height:none}}
body:is([data-page=account],[data-page=owner]) .ks-work [data-ib-body]>*+*{margin-top:20px}
/* Pill that asks for attention (amber). Mint stays for on, live and done. */
body:is([data-page=account],[data-page=owner]) :is(.app-shell,.dialog) .pill.warn{background:color-mix(in srgb,var(--ks-warn) 13%,transparent);border-color:color-mix(in srgb,var(--ks-warn) 55%,transparent);color:color-mix(in srgb,var(--ks-warn) 80%,var(--v-text))}
/* Uploaded pictures shown on an order (proofs, reference images) */
body:is([data-page=account],[data-page=owner]) .ks-work .co-shots,body:is([data-page=account],[data-page=owner]) .custom-orders .co-shots{display:flex;flex-wrap:wrap;gap:12px;margin:12px 0}
body:is([data-page=account],[data-page=owner]) :is(.custom-orders,.ks-work) .co-shots :is(img,video){max-width:min(100%,360px);max-height:280px;border-radius:12px;border:1px solid var(--ks-line);background:var(--ks-field);object-fit:contain}
body:is([data-page=account],[data-page=owner]) :is(.custom-orders,.ks-work) .co-files{margin:10px 0}
body:is([data-page=account],[data-page=owner]) :is(.custom-orders,.ks-work) input[type=file].input{padding:9px 12px;height:auto}
/* Unsaved-changes bar: shown when you try to leave a page with changes you have not saved */
body:is([data-page=account],[data-page=owner]) .leave-bar{position:fixed;left:50%;bottom:20px;transform:translateX(-50%);z-index:900;width:min(640px,calc(100vw - 32px));display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 20px;padding:16px 20px;border-radius:var(--ks-card-radius);border:1px solid color-mix(in srgb,var(--ks-warn) 55%,transparent);background:color-mix(in srgb,var(--v-bg),var(--v-text) 8%);box-shadow:0 18px 50px rgba(0,0,0,.5)}
body:is([data-page=account],[data-page=owner]) .leave-bar p{margin:0;flex:1 1 240px}

/* Settings form (.ks-form): one card per group of settings, a title and one line of help on top, fields in two
   columns underneath, and one save bar at the end. Same layout as Show defaults. Rows that repeat (questions,
   packages) are .ks-rows of .ks-rowline with a Remove button at the end of each. */
body:is([data-page=account],[data-page=owner]) .ks-form{display:grid;gap:20px}
body:is([data-page=account],[data-page=owner]) .ks-form .ks-form-head{margin:0 0 18px}
body:is([data-page=account],[data-page=owner]) .ks-form .ks-form-head h2{margin:0}
body:is([data-page=account],[data-page=owner]) .ks-form .ks-form-head p{margin:6px 0 0;color:var(--v-muted);font-size:14px;line-height:1.6}
body:is([data-page=account],[data-page=owner]) .ks-form .ks-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 24px}
body:is([data-page=account],[data-page=owner]) .ks-form .ks-form-grid>.wide{grid-column:1/-1}
body:is([data-page=account],[data-page=owner]) .ks-form .field{margin:0!important;min-width:0;max-width:none!important}
body:is([data-page=account],[data-page=owner]) .ks-form .field>:is(label,.lbl){display:block;margin:0 0 8px;font-size:14px;font-weight:700;line-height:1.4}
body:is([data-page=account],[data-page=owner]) .ks-form .input{width:100%!important;max-width:none!important}
body:is([data-page=account],[data-page=owner]) .ks-form .check-line{display:flex;align-items:center;gap:12px;min-height:44px;margin:0;font-weight:600;cursor:pointer}
body:is([data-page=account],[data-page=owner]) .ks-form .ks-rows{display:grid;gap:14px}
body:is([data-page=account],[data-page=owner]) .ks-form .ks-rows:not(:empty)+.ks-row{margin-top:16px}
body:is([data-page=account],[data-page=owner]) .ks-form .ks-rowline{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end}
body:is([data-page=account],[data-page=owner]) .ks-form .ks-rowline-pack{grid-template-columns:minmax(0,1.3fr) minmax(0,.6fr) minmax(0,.6fr) minmax(0,1.7fr) auto;padding-bottom:14px;border-bottom:1px solid var(--ks-line)}
body:is([data-page=account],[data-page=owner]) .ks-form .ks-rowline-pack:has(>.field:nth-child(5)){grid-template-columns:minmax(0,1.2fr) minmax(0,.55fr) minmax(0,.55fr) minmax(0,1.3fr) minmax(0,1.3fr) auto}
body:is([data-page=account],[data-page=owner]) .ks-form .ks-rowline-pack:last-child{border-bottom:0;padding-bottom:0}
body:is([data-page=account],[data-page=owner]) .ks-form .ks-form-save{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:12px}
body:is([data-page=account],[data-page=owner]) .ks-form .ks-form-save p{margin:0 auto 0 0;flex:1 1 240px}
@media (max-width:1100px){body:is([data-page=account],[data-page=owner]) .ks-form .ks-rowline-pack,body:is([data-page=account],[data-page=owner]) .ks-form .ks-rowline-pack:has(>.field:nth-child(5)){grid-template-columns:repeat(2,minmax(0,1fr))}body:is([data-page=account],[data-page=owner]) .ks-form .ks-rowline-pack>.btn{justify-self:start}}
@media (max-width:700px){body:is([data-page=account],[data-page=owner]) .ks-form .ks-form-grid{grid-template-columns:minmax(0,1fr)}body:is([data-page=account],[data-page=owner]) .ks-form .ks-rowline{grid-template-columns:minmax(0,1fr)}body:is([data-page=account],[data-page=owner]) .ks-form .ks-rowline>.btn{justify-self:start}body:is([data-page=account],[data-page=owner]) .ks-form .ks-rowline-pack,body:is([data-page=account],[data-page=owner]) .ks-form .ks-rowline-pack:has(>.field:nth-child(5)){grid-template-columns:minmax(0,1fr)}body:is([data-page=account],[data-page=owner]) .ks-form .ks-form-save .btn{flex:1 1 140px}}
/* Empty state has room to breathe */
body:is([data-page=account],[data-page=owner]) .content .gt-empty{padding:18px 20px!important;margin:0;color:var(--v-muted)}
body:is([data-page=account],[data-page=owner]) .ks-form .ks-form-save .btn{margin:0}
/* Inbox, one conversation: the page's own buttons step aside, one bar holds owner / also on this / topic / resolve */
body:is([data-page=account],[data-page=owner]) .ks-work.ib-reading>.page-heading :is(.ks-row,p){display:none}
body:is([data-page=account],[data-page=owner]) .ks-work .ib-bar{margin-top:18px;padding:16px 0;border-top:1px solid var(--ks-line);border-bottom:1px solid var(--ks-line)}
body:is([data-page=account],[data-page=owner]) .ks-work .ib-bar>.btn{margin-left:auto}
body:is([data-page=account],[data-page=owner]) .ks-work .ib-side>div+div{padding-top:18px;border-top:1px solid var(--ks-line)}
body:is([data-page=account],[data-page=owner]) .ks-work .ib-facts{grid-template-columns:repeat(2,minmax(0,1fr));margin:12px 0!important}
body:is([data-page=account],[data-page=owner]) .ks-work .ib-side .ib-notes{display:grid;gap:10px}
body:is([data-page=account],[data-page=owner]) .ks-work .ib-side .ib-notes p{margin:0}
body:is([data-page=account],[data-page=owner]) .ks-work .ib-side .ib-notes .ticket{padding:10px 0!important}
body:is([data-page=account],[data-page=owner]) .ks-work .ib-reply .ks-row{align-items:center}

/* THE WIDTH RULE (applies to every dashboard page, old and new):
   a field is exactly as wide as the column it sits in, and text runs the full width of its row.
   Nothing may cap a field, a form or a paragraph at a fixed width. The page layout (its grid columns) decides
   how wide things are. tests/design-rules-browser.cjs fails if any page breaks this. */
body:is([data-page=account],[data-page=owner]) .content :is(form,.form,.dashboard-editor,.field){max-width:none}
body:is([data-page=account],[data-page=owner]) .content .field>:is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),select,textarea):not(.v-hidden-select){width:100%;max-width:100%;box-sizing:border-box}
body:is([data-page=account],[data-page=owner]) .ks-form .ks-form-save .btn{margin:0!important;transform:none}

/* Rhythm inside a card: nothing touches. A title or a line of text is followed by 16px before the next block,
   two lines of text sit 8px apart, and text after a block gets 12px. (Cards laid out as a grid or a row use their gap.) */
body:is([data-page=account],[data-page=owner]) .app-shell .content :is(.box,.box>form)>:is(h2,h3)+:not(p):not(small):not(.pill){margin-top:16px}
body:is([data-page=account],[data-page=owner]) .app-shell .content :is(.box,.box>form)>p+:is(div,form,label,section,fieldset,table,ul,ol,dl){margin-top:16px}
body:is([data-page=account],[data-page=owner]) .app-shell .content :is(.box,.box>form)>:is(div,form,label,fieldset,table,ul,ol,dl)+p{margin-top:12px}
body:is([data-page=account],[data-page=owner]) .app-shell .content :is(.box,.box>form)>p+p{margin-top:8px}
body:is([data-page=account],[data-page=owner]) .app-shell .content .box :is(.notice,.gt-msg:not(:empty))+:is(.field,label,div){margin-top:16px}
body:is([data-page=account],[data-page=owner]) .app-shell .content .box>.gt-empty+p{margin-top:12px}

/* Save bar (the row at the end of a settings form): buttons sit on one line and the main button is always last. */
body:is([data-page=account],[data-page=owner]) .app-shell .content :is(.defaults-save,.profile-actions,.tips-actions,.team-actions,.ks-form-save,.website-actions,.conn-actions,.hub-actions)>:is(.btn,button){margin:0!important;align-self:center}
body:is([data-page=account],[data-page=owner]) .app-shell .content :is(.defaults-save,.profile-actions,.tips-actions,.team-actions,.ks-form-save,.website-actions,.conn-actions,.hub-actions)>.btn.primary{order:9}
body:is([data-page=account],[data-page=owner]) .app-shell .content .box :is(h2,h3)+p{margin-top:6px!important}

/* A row of buttons always has space between them */
body:is([data-page=account],[data-page=owner]) .app-shell .content .row.wrap{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
/* Help guides: a list row is title and one line on the left, the arrow at the far right */
body:is([data-page=account],[data-page=owner]) .app-shell .content .help-answer-grid .btn{display:flex!important;justify-content:space-between!important;align-items:center;text-align:left;gap:16px;width:100%;padding:14px 18px!important;height:auto!important;white-space:normal}
body:is([data-page=account],[data-page=owner]) .app-shell .content .help-answer-grid .btn>span:first-child{display:grid;gap:4px;min-width:0}
body:is([data-page=account],[data-page=owner]) .app-shell .content .help-answer-grid .btn small{font-weight:400;color:var(--v-muted)}

/* Page title and its one line of text: always the same distance apart */
body:is([data-page=account],[data-page=owner]) .app-shell .content .page-heading h1+p,body:is([data-page=account],[data-page=owner]) .app-shell .content >h1+p{margin-top:10px!important}
/* No tinted panel inside a card: a group inside a card is separated by a line, not by another background */
body:is([data-page=account],[data-page=owner]) .app-shell .content .box :is(.records-upkeep-section,.tips-tv-choice,.tips-public-choice){background:none!important;border-radius:0!important;padding-left:0!important;padding-right:0!important}
/* A button is as wide as its words (on a phone it may fill the row) */
@media (min-width:701px){body:is([data-page=account],[data-page=owner]) .app-shell .content .box>.btn,body:is([data-page=account],[data-page=owner]) .app-shell .content .box>:is(section,div:not([class*=grid]):not([class*=row]):not([class*=actions]),form)>.btn:only-of-type,body:is([data-page=account],[data-page=owner]) .app-shell .content .box :is(.records-upkeep-section)>.btn{width:auto!important;justify-self:start;align-self:flex-start;display:inline-flex}}
body:is([data-page=account],[data-page=owner]) .app-shell .content .tips-fields{row-gap:18px!important}
body:is([data-page=account],[data-page=owner]) .app-shell .content .closure-section .closure-list{margin-top:16px!important}
body:is([data-page=account],[data-page=owner]) .app-shell .content .tips-fields .field{margin:0!important}
body:is([data-page=account],[data-page=owner]) .app-shell .content .closure-section .closure-help,body:is([data-page=account],[data-page=owner]) .app-shell .content .box>.notice{margin-bottom:0!important}

/* Tables on a phone: each row becomes a small stack (name first, then each value with its column name), so nothing
   scrolls sideways. Every .gt-table:not(.admin-products-table) cell carries data-label for this. */
@media (max-width:700px){
body:is([data-page=account],[data-page=owner]) .app-shell .content .gt-table:not(.admin-products-table),body:is([data-page=account],[data-page=owner]) .app-shell .content .gt-table:not(.admin-products-table) tbody{display:block;width:100%!important;min-width:0!important;max-width:100%}
body:is([data-page=account],[data-page=owner]) .app-shell .content .gt-table:not(.admin-products-table) thead{display:none}
body:is([data-page=account],[data-page=owner]) .app-shell .content .gt-table:not(.admin-products-table) tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px;padding:16px 0;border-bottom:1px solid var(--ks-line);width:100%;box-sizing:border-box}
body:is([data-page=account],[data-page=owner]) .app-shell .content .gt-table:not(.admin-products-table) td:first-child,body:is([data-page=account],[data-page=owner]) .app-shell .content .gt-table:not(.admin-products-table) td.gt-go,body:is([data-page=account],[data-page=owner]) .app-shell .content .gt-table:not(.admin-products-table) td[colspan]{grid-column:1/-1}
body:is([data-page=account],[data-page=owner]) .app-shell .content .gt-table:not(.admin-products-table) tr:last-child{border-bottom:0}
body:is([data-page=account],[data-page=owner]) .app-shell .content .gt-table:not(.admin-products-table) td{display:block;padding:0!important;border:0!important;min-width:0;overflow-wrap:anywhere}
body:is([data-page=account],[data-page=owner]) .app-shell .content .gt-table:not(.admin-products-table) td[data-label]:not(:first-child)::before{content:attr(data-label);display:block;margin-bottom:2px;font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--v-muted)}
body:is([data-page=account],[data-page=owner]) .app-shell .content .gt-table:not(.admin-products-table) td.gt-go>:is(.btn,button){width:100%}
body:is([data-page=account],[data-page=owner]) .app-shell .content .table-wrap:not(:has(.admin-products-table)){overflow:visible}
}
body:is([data-page=account],[data-page=owner]) .app-shell .content .customer-result-heading{margin-bottom:16px}
/* Inside a customer record the business's own forms keep the same layout they have on the host dashboard */
body[data-page=owner] .app-shell .content .customer-record .dashboard-profile .box.profile-fields{display:block!important}
body[data-page=owner] .app-shell .content .customer-record .dashboard-profile .box.profile-fields>h2{margin-bottom:14px}
/* Dialogs use the same title style as cards, and the title bar has no tint of its own */
body:is([data-page=account],[data-page=owner]) .dialog header{background:var(--v-panel)!important}
body:is([data-page=account],[data-page=owner]) .dialog h2{font-family:Outfit,system-ui,sans-serif;font-size:21px;font-weight:800;letter-spacing:-.01em}

/* A conversation looks the same on both sides: plain bubbles, the other side on the left, your own on the right */
body:is([data-page=account],[data-page=owner]) .app-shell .content .help-messages{display:grid;gap:12px;margin:16px 0}
body:is([data-page=account],[data-page=owner]) .app-shell .content .help-messages article{max-width:min(100%,640px);padding:12px 16px!important;border-radius:14px!important;background:var(--ks-fill)!important;border:1px solid var(--ks-line)!important;justify-self:start;box-shadow:none!important}
body:is([data-page=account],[data-page=owner]) .app-shell .content .help-messages article.from-you{justify-self:end;background:color-mix(in srgb,var(--v-accent) 12%,transparent)!important;border-color:color-mix(in srgb,var(--v-accent) 35%,transparent)!important}
body:is([data-page=account],[data-page=owner]) .app-shell .content .help-messages article h3{font-size:13px!important;font-weight:700;margin:0;display:inline}
body:is([data-page=account],[data-page=owner]) .app-shell .content .help-messages article small{font-size:13px;color:var(--v-muted)}
body:is([data-page=account],[data-page=owner]) .app-shell .content .help-messages article h3+small::before{content:" · "}
body:is([data-page=account],[data-page=owner]) .app-shell .content .help-messages article p{margin:4px 0 0!important;white-space:pre-wrap;overflow-wrap:anywhere}
body:is([data-page=account],[data-page=owner]) .app-shell .content .help-messages article{margin:0!important}
body:is([data-page=account],[data-page=owner]) .app-shell .content .help-messages article :is(h3,small){display:inline!important;margin:0!important}
/* Store: group titles (Games, Add-ons) */
body[data-page=account] .app-shell .content .entertainment-library .store-group{margin:28px 0 14px}
body[data-page=account] .app-shell .content .entertainment-library .store-group:first-of-type{margin-top:8px}
/* Question rows in the product editor, and tick-box answers on the request form */
body:is([data-page=account],[data-page=owner]) .ks-form .ks-rowline-q{grid-template-columns:minmax(0,1.6fr) minmax(0,.8fr) auto auto;padding-bottom:14px;border-bottom:1px solid var(--ks-line)}
body:is([data-page=account],[data-page=owner]) .ks-form .ks-rowline-q:last-child{border-bottom:0;padding-bottom:0}
body:is([data-page=account],[data-page=owner]) .ks-form .ks-rowline-q>.wide{grid-column:1/-1}
body:is([data-page=account],[data-page=owner]) .ks-form .co-checks{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:4px 32px}
@media (max-width:900px){body:is([data-page=account],[data-page=owner]) .ks-form .ks-rowline-q{grid-template-columns:repeat(2,minmax(0,1fr))}body:is([data-page=account],[data-page=owner]) .ks-form .ks-rowline-q>.field:first-child{grid-column:1/-1}body:is([data-page=account],[data-page=owner]) .ks-form .ks-rowline-q>.btn{justify-self:start}}
@media (max-width:700px){body:is([data-page=account],[data-page=owner]) .ks-form .ks-rowline-q{grid-template-columns:minmax(0,1fr)}}

/* ---------- Give something / What they have (customer record, 2026-11-12) ----------
   The Give page takes over the record while open. Tick boxes sit in an even grid that fills the card. */
body[data-page=owner] .customer-record.giving>:not([data-give-page]){display:none!important}
body[data-page=owner] .customer-has .gt-go .ks-row{justify-content:flex-end}
body[data-page=owner] .customer-record [data-has-holder]{margin:0 0 var(--ks-gap,16px)}
body[data-page=owner] .ks-form .give-group{margin:18px 0 8px;font-size:17px}
/* Each thing you can give is its own tile, with its switch right beside its name (2026-11-16): in one loose row the
   switches sat nearer the NEXT name than their own. */
body[data-page=owner] .ks-form .give-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px}
body[data-page=owner] .ks-form .give-item{align-items:center;justify-content:flex-start;gap:12px;padding:10px 14px;border:1px solid var(--ks-line);border-radius:14px;background:color-mix(in srgb,var(--v-text) 3%,transparent)}
body[data-page=owner] .ks-form .give-item input{order:-1;margin:0;flex:none}
/* On = they have it (quiet). About to change when you save: giving = accent, taking back = warning. */
body[data-page=owner] .ks-form .give-item.will-give{border-color:var(--v-accent);background:color-mix(in srgb,var(--v-accent) 10%,transparent)}
body[data-page=owner] .ks-form .give-item.will-remove{border-color:var(--ks-warn);background:color-mix(in srgb,var(--ks-warn) 10%,transparent)}
body[data-page=owner] .ks-form .give-item .give-add{justify-self:start;font-size:13px;padding:0;min-height:0;background:none}
body[data-page=owner] .ks-form .give-item .give-add[hidden]{display:none}
body[data-page=owner] .ks-form .give-avatar-tile{justify-content:space-between}
body[data-page=owner] .ks-form .give-avatar-tile .btn{flex:none}
body[data-page=owner] .ks-form .give-item span{display:grid;gap:2px;min-width:0}
body[data-page=owner] .ks-form .give-item small{font-weight:500;color:var(--v-muted)}
body[data-page=owner] .ks-form .give-item input:disabled+span{opacity:.6}
body[data-page=owner] .customer-record>[data-give-page],body[data-page=owner] .customer-record>[data-has-holder]{min-width:0;max-width:100%}
/* Stacked phone tables: a cell with nothing in it is left out, so there are no labels with no value. */
@media(max-width:700px){body:is([data-page=account],[data-page=owner]) .gt-table.orders-table td:empty{display:none}}

/* ---------- Feedback (2026-11-12) ---------- */
body:is([data-page=account],[data-page=owner]) .feedback-ask-row{justify-content:flex-end;margin-top:16px}
body:is([data-page=account],[data-page=owner]) .feedback-ask-row .gt-msg{margin:0 auto 0 0}
body[data-page=account] [data-feedback-ask]{margin:0 0 var(--ks-gap,16px)}
/* A tick box in a filter row sits beside the fields at its own width; it does not take a row of its own. */
body:is([data-page=account],[data-page=owner]) .content .ks-filters>.check-line{flex:0 0 auto;width:auto;min-height:52px;display:flex;align-items:center;gap:12px;margin:0}

/* A page inside a page (an editor opened from a list): while it is open, only it shows. */
body:is([data-page=account],[data-page=owner]) .ks-takeover>:not([data-takeover]){display:none!important}
body:is([data-page=account],[data-page=owner]) .ks-takeover>[data-takeover]{min-width:0;max-width:100%}

/* A row line with two fields and Remove (voices in a package). One column on phones, like every row line. */
@media (min-width:701px){body:is([data-page=account],[data-page=owner]) .ks-form .ks-rowline-two{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto}}
body:is([data-page=account],[data-page=owner]) .ks-form .ks-rows:not(:empty)+.ks-form-grid{margin-top:16px}

/* Reaction pack editor: small thumbnails beside the name, cover preview under its field. */
body[data-page=owner] .ks-form .pe-reaction-name{flex-wrap:nowrap}
body[data-page=owner] .ks-form .pe-reaction-name img,body[data-page=owner] .ks-form .pe-cover-row img{object-fit:contain;border-radius:10px;background:var(--ks-field);flex:0 0 auto}
body[data-page=owner] .ks-form .pe-reaction-name .input{flex:1 1 auto;min-width:0}
body[data-page=owner] .ks-form .pe-cover-row{margin-top:10px}
body[data-page=owner] .ks-form .pe-all-row{flex-wrap:nowrap}
body[data-page=owner] .ks-form .pe-all-row .input{flex:1 1 auto;min-width:0}
body[data-page=owner] .ks-form .pe-all-row .btn{white-space:nowrap;flex:0 0 auto}
/* A section heading is never hard against the text under it, whichever page it is on. */
body:is([data-page=account],[data-page=owner]) .app-shell .content .box>.defaults-section-heading{margin-bottom:12px!important}

/* Content, Discounts and Sales reuse screens that used to be whole pages. Their old page titles are left out here:
   the page already has one heading. Buttons that sat beside those titles stay. */
body[data-page=owner] .service-page [data-sp-body] :is(.admin-paid-addons>header,header.page-heading>div:first-child,header.page-heading>h1,header.page-heading>p){display:none}
body[data-page=owner] .service-page [data-sp-body] header.page-heading{margin:0 0 12px;justify-content:flex-end}
body[data-page=owner] .service-page [data-sp-body] header.page-heading:not(:has(button,a)){display:none}

/* Cards on Content, Discounts and Sales keep the standard gap, and the inner tab rows those screens used to have stay hidden. */
body[data-page=owner] .service-page [data-sp-body] .box+.box{margin-top:var(--ks-gap,16px)}
body[data-page=owner] .service-page [data-sp-body] .sp-inner :is(.addon-tabs,.entertainment-nav,.avatar-tabs,nav.conn-tabs,#conn-voices-form),body[data-page=owner] .service-page [data-sp-body] .sp-inner.avatar-workspace>h2:first-child{display:none!important}

/* Previous / Next under a list sit at the end of the row. */
body[data-page=owner] .sales-records .sales-pager{justify-content:flex-end;margin-top:16px}

/* A picker that appears under a field (choose a loaded voice) keeps a small gap from it. */
body[data-page=owner] .ks-form .cv-pick{margin-top:8px}

/* Reaction sales: single reactions listed under their pack. */
body[data-page=owner] .ks-form .rs-singles{margin:4px 0 14px 0;padding-left:16px;border-left:2px solid var(--ks-line)}
body[data-page=owner] .ks-form .rs-pack+.rs-pack{margin-top:6px}

/* Give something: the extra choices for Singer voices appear under the tick boxes. */
body[data-page=owner] .ks-form .give-voice{margin-top:14px}

/* Customer record > Memberships & access: only the Account controls form shows. The section's own card and title are
   dropped so the form's cards are not nested inside another card. */
body[data-page=owner] .customer-section.has-controls>:not([data-controls]){display:none!important}
body[data-page=owner] .customer-section.has-controls{background:none!important;border:0!important;padding:0!important;box-shadow:none!important}

/* Connection forms (keys, price IDs): the standard grid, with the message and Save on one row at the end. */
body[data-page=owner] .ks-form .ks-conn-set{border:0;padding:0;margin:0;min-width:0;display:grid;gap:16px}
body[data-page=owner] .ks-form .conn-save{justify-content:flex-end}
body[data-page=owner] .ks-form .conn-save .gt-msg{margin:0 auto 0 0}
body[data-page=owner] .ks-form .conn-reauth{display:grid;gap:10px;padding-bottom:16px;margin-bottom:16px;border-bottom:1px solid var(--ks-line)}
body[data-page=owner] .service-page [data-sp-body] #stripe-pricing-editor{margin-top:16px}

/* Site settings > Payments, Singer voices, YouTube, Email: spacing for the connection screen's parts. */
body[data-page=owner] .service-page [data-sp-body] .conn-state:empty{display:none}
body[data-page=owner] .service-page [data-sp-body] .admin-connections .shows-tabs{margin-bottom:16px}
body[data-page=owner] .service-page [data-sp-body] .conn-reauth-box{margin-bottom:var(--ks-gap,16px)}
body[data-page=owner] .service-page [data-sp-body] .sp-inner>*+*{margin-top:var(--ks-gap,16px)}
body[data-page=owner] .service-page [data-sp-body] .conn-state{margin:0 0 14px;font-weight:600}
body[data-page=owner] .admin-connections .ks-form .ks-conn-set{grid-template-columns:minmax(0,1fr)!important}
body[data-page=owner] .admin-connections form.ks-form,body[data-page=owner] .service-page form.service-field.ks-form{grid-template-columns:minmax(0,1fr)!important}

/* Icons: the back link sits at the start of the row like every other back link. */
body[data-page=owner] .service-page #icon-choice-panel .co-back{justify-self:start;align-self:flex-start;margin:0 0 14px}
/* A small date line above a card title (host What's new) keeps a gap from the title. */
body:is([data-page=account],[data-page=owner]) .app-shell .content article.box>p.muted+h2{margin-top:8px!important}
/* The "N items" count under a filter row is the same small size on Reactions and Singer Announcements. */
body[data-page=account] .content #announcement-count{font-size:12px;margin:10px 0 8px}

/* Recommended gear: one grid of cards per group (host page). */
body:is([data-page=account],[data-page=owner]) .content .gear-note{margin:0 0 16px;padding:12px 16px;border:1px solid var(--ks-line);border-radius:14px;background:var(--ks-fill);color:var(--v-muted);font-size:14px}
body:is([data-page=account],[data-page=owner]) .content .gear-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:14px;margin-top:16px}
body:is([data-page=account],[data-page=owner]) .content .gear-card{display:grid;grid-template-columns:88px minmax(0,1fr);gap:14px;padding:14px;border:1px solid var(--ks-line);border-radius:14px;background:var(--ks-fill);min-width:0}
body:is([data-page=account],[data-page=owner]) .content .gear-pic{width:88px;height:88px;border-radius:12px;overflow:hidden;display:grid;place-items:center;background:color-mix(in srgb,var(--v-text) 6%,transparent);font-size:36px}
body:is([data-page=account],[data-page=owner]) .content .gear-pic img{width:100%;height:100%;object-fit:cover}
body:is([data-page=account],[data-page=owner]) .content .gear-body{display:grid;gap:6px;align-content:start;min-width:0}
body:is([data-page=account],[data-page=owner]) .content .gear-body h3{margin:0;font-size:17px;overflow-wrap:anywhere}
body:is([data-page=account],[data-page=owner]) .content .gear-body p{margin:0;color:var(--v-muted);font-size:14px}
body:is([data-page=account],[data-page=owner]) .content .gear-body .gear-price{color:var(--v-text);font-weight:600}
body:is([data-page=account],[data-page=owner]) .content .gear-body .ks-row{margin-top:6px}
body[data-page=account] .guest-tablets [hidden]{display:none!important}
body[data-page=account] .guest-tablets .gt-grid:not(:has(>:not([hidden]))){display:none}

/* Guest tablets: the two kinds side by side, so the difference is plain. */
body[data-page=account] .guest-tablets .gt-kinds{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:12px;margin-top:14px}
body[data-page=account] .guest-tablets .gt-kinds>div{padding:12px 14px;border:1px solid var(--ks-line);border-radius:14px;background:var(--ks-fill)}
body[data-page=account] .guest-tablets .gt-kinds b{display:block;margin-bottom:4px}
body[data-page=account] .guest-tablets .gt-kinds span{color:var(--v-muted);font-size:14px;line-height:1.45}
body[data-page=account] .guest-tablets .gt-qr-actions{flex:0 1 300px;max-width:300px}
body[data-page=account] .ov-live-main .eyebrow{margin:0 0 6px}

/* Hosting access notice (trial ended, membership ended, paused): one banner above every dashboard page. */
body[data-page=account] #access-note .note{margin:0 0 18px;padding:16px 20px}
body[data-page=account] #access-note .box-head{display:flex;justify-content:space-between;align-items:center;gap:12px 20px;flex-wrap:wrap;margin:0}
body[data-page=account] #access-note .box-head>div{flex:1 1 260px;min-width:0}
body[data-page=account] #access-note strong{font-size:1.05rem;color:var(--v-text)}
body[data-page=account] #access-note p{margin:4px 0 0}

/* Host dashboard > Store > Photos: the event builder (reuses .box, .ks-form, .give-item and .pill) */
.photo-events .pe-event{display:flex;justify-content:space-between;gap:16px;align-items:center;flex-wrap:wrap;margin-bottom:12px}
.photo-events .pe-event h3{margin:0 0 4px}
.photo-events .pe-event-side{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.photo-events .pe-pick{border:0;padding:0;margin:0 0 18px;display:grid;gap:8px}
.photo-events .pe-pick legend{font-weight:800;margin-bottom:8px}
.photo-events .pe-opt{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px 14px;border:1px solid var(--line);border-radius:var(--r-md,12px);cursor:pointer}
.photo-events .pe-opt:has(input:checked){border-color:var(--accent);background:rgba(var(--a-rgb),.08)}
.photo-events .pe-opt input{width:20px;height:20px;margin:0;accent-color:var(--accent)}
.photo-events .pe-opt span{display:flex;flex-direction:column;gap:2px;min-width:0}
.photo-events .pe-opt small{color:var(--muted);font-weight:400}
.photo-events .pe-opt em{font-style:normal;font-weight:800;white-space:nowrap}
.photo-events .pe-back{display:inline-block;margin-bottom:12px;background:none;border:0;padding:0}
.photo-events .pe-total{margin-right:auto;font-size:18px}
.photo-events .pe-invite{display:grid;gap:6px;justify-items:end}
.albums-page .al-card{display:grid;gap:12px}.albums-page .al-card h2{margin:0}
.albums-page .al-opts{display:grid;gap:8px;margin-bottom:12px}.albums-page .al-opt{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:start;padding:12px 14px;border:1px solid var(--line);border-radius:var(--r-md,12px);cursor:pointer}.albums-page .al-opt:has(input:checked){border-color:var(--accent);background:rgba(var(--a-rgb),.08)}.albums-page .al-opt input{width:20px;height:20px;margin:2px 0 0;accent-color:var(--accent)}.albums-page .al-opt span{display:flex;flex-direction:column;gap:2px}.albums-page .al-opt small{color:var(--muted)}.albums-page .al-back{display:inline-block;margin-bottom:12px;background:none;border:0;padding:0}
.albums-page .al-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:10px}.albums-page .al-photo{margin:0}.albums-page .al-thumb{display:block;width:100%;aspect-ratio:1080/1350;border:0;border-radius:var(--r-sm,8px);background:rgba(255,255,255,.06) center/cover no-repeat;cursor:pointer}.albums-page .al-photo figcaption{font-size:12px;color:var(--muted);margin-top:4px}.albums-page .al-big{display:grid;gap:10px;justify-items:center;margin-bottom:14px}.albums-page .al-big img{max-width:100%;max-height:75vh;border-radius:var(--r-md,12px)}
.albums-page .al-book{margin-top:22px;display:grid;gap:10px}.albums-page .al-page{padding:14px;border:1px solid var(--line);border-radius:var(--r-md,12px)}.albums-page .al-page img{max-width:160px;border-radius:var(--r-sm,8px);display:block;margin-bottom:8px}.albums-page .al-page p{margin:0 0 4px}
.photo-events .pe-credit{border-color:var(--accent)}

/* Album owner: frames on your photos (2026-11-18) */
.al-fpack{margin-top:14px}.al-fpack h3{font-size:16px;margin:0 0 8px}.al-fpack h3 small{font-weight:400;color:var(--muted)}
.al-frames{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:10px;margin-top:8px}
.al-frame{display:grid;gap:4px;justify-items:center;padding:6px;border:2px solid var(--line);border-radius:14px;background:none;color:inherit;font:inherit;font-size:13px;cursor:pointer}
.al-frame img{width:80px;height:100px;object-fit:cover;border-radius:10px}.al-frame.on{border-color:var(--accent);background:rgba(var(--a-rgb),.08)}.al-frame:disabled{cursor:default;opacity:1}

/* Welcome offer for new hosts (2026-11-18) */
.welcome-offer{border-color:var(--accent)}
.welcome-items{display:grid;gap:10px;margin:6px 0 12px}
.welcome-item{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;padding:12px 14px;border:1px solid var(--line);border-radius:14px}
.welcome-item h3{margin:0 0 4px;font-size:17px}.welcome-item p{margin:0}.welcome-price{display:flex;align-items:center;gap:10px}.welcome-price s{color:var(--muted)}

/* Frame pictures (2026-11-18): no drag, no long-press save, no selection. */
.al-frame img,.public-reaction-library.frames-kind img,.frames-kind .reaction-tile img,.frames-kind .phone-reaction-art img{-webkit-user-drag:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;pointer-events:auto}

/* Custom orders: the order's own packs (2026-11-18) */
.co-packs{margin-bottom:16px}.co-ready{display:grid;gap:12px;margin-top:12px}
.co-packview{margin:10px 0}.co-packgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(84px,1fr));gap:10px}
.co-packgrid figure{margin:0;display:grid;gap:4px;justify-items:center;font-size:13px;text-align:center}
.co-packgrid img{width:72px;height:72px;object-fit:contain;-webkit-user-drag:none;user-select:none;-webkit-touch-callout:none}
.co-packgrid.frames img{width:72px;height:90px;object-fit:cover;border-radius:8px}
.co-agree{align-items:flex-start;max-width:70ch}.ks-filters .co-agree{flex-basis:100%}

/* Show licence (2026-11-19) */
.reaction-licence{margin:12px 0}
/* Cart (Store > Cart): name, price, Remove on one line; the price column lines up down the list. */
body[data-page=account] .cart-page .cart-line,body[data-page=account] .cart-page .cart-sub{display:grid;grid-template-columns:minmax(0,1fr) minmax(72px,auto) minmax(84px,auto);gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid var(--line)}
body[data-page=account] .cart-page .cart-sub{border-bottom:0}
body[data-page=account] .cart-page .cart-price{text-align:right;font-variant-numeric:tabular-nums}
body[data-page=account] .cart-page .cart-due{margin:0;font-size:1.15rem}
body[data-page=account] .cart-page .cart-total{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between}
@media (max-width:520px){body[data-page=account] .cart-page .cart-line{grid-template-columns:minmax(0,1fr) auto}body[data-page=account] .cart-page .cart-line .btn{grid-column:1/-1;justify-self:start}}
