/* Loia Industries Auth: what only the sign-in has. The theme itself (settings, fonts, grid, buttons, top bar,
   tiles, gate, motion) is the Loia Industries Design theme from IndustriesDesign/Loia-Industries-Design-System,
   copied into public/loia/ by `npm run build:client` and loaded first (src/pages.ts layout). Change the look there,
   not here (Michael, 2026-11-08). Since kit v0.6.0 (2026-11-16) the signed-in pages are built from the kit's
   pieces (.main, .page, .sections, .sec-head, .card, .cols, .ktile for key types, .notice, .status, .empty; app logos stay on their own): only what the kit
   has no piece for stays below. */

/* Nothing on the pages can be selected or dragged (Michael, 2026-11-02), except what people
   type into or need to copy (form fields, the invite link box). No grey flash on tap either. */
body{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
/* The logo sits the same distance from the top on every centred page (sign-in, invitation, notices, signed out, signing out), whatever is under it (Michael, 2026-11-11: logo in one place on every screen) */
.center{align-items:flex-start;padding-top:max(48px,calc(50dvh - 175px))}


/* Waiting for the passkey or security key */
.swap{display:grid;width:100%;justify-items:center}
.swap>*{grid-area:1/1}
.idle,.busy{transition:opacity .45s cubic-bezier(.16,1,.3,1),transform .45s cubic-bezier(.16,1,.3,1),filter .45s,visibility 0s}
.busy{opacity:0;visibility:hidden;transform:translateY(10px) scale(.97);filter:blur(4px);pointer-events:none;transition-delay:0s,0s,0s,.45s}
body.working .idle{opacity:0;visibility:hidden;transform:translateY(-10px) scale(.98);filter:blur(4px);pointer-events:none;transition-delay:0s,0s,0s,.45s}
body.working .busy{opacity:1;visibility:visible;transform:none;filter:none;pointer-events:auto;transition-delay:.12s,.12s,.12s,0s}
.busy .kicker{margin:26px 0 0;color:#fff}
.pulse{width:72px;height:72px;margin:0 auto;border-radius:50%;border:1px solid rgba(255,255,255,.5);box-shadow:var(--glow);animation:pulse 1.4s ease-in-out infinite}
@keyframes pulse{50%{transform:scale(.86);opacity:.55}}

/* ---- Top bar: each tab's icon in its place's kind colour (the kit's .side-link and .tabbar-item do this; .tab not yet) ---- */
.tab .ico{color:var(--k,currentColor)}

/* ---- My Apps: the greeting and the small dotted ball ---- */
.hello{position:relative;display:flex;align-items:center;justify-content:space-between;gap:24px}
.hello h2{font-size:clamp(40px,4.6vw,66px)}
/* The first name in the same soft blue for everyone (Michael, 2026-11-18: "always a nice color and the same nice
   color"; the per-person colours are only for telling people apart on Users) */
.hello .who{color:color-mix(in srgb,var(--kind-sky) 70%,#fff)}
.hello .kicker{margin-bottom:12px}
.orb-small{position:relative;width:220px;height:220px;flex:none;margin:-40px 0 -30px;border-radius:50%;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent}
.orb-small.held{cursor:grabbing}
.orb-small canvas{position:absolute;inset:-80px;width:380px;height:380px;pointer-events:none}
/* ---- Quotes (2026-11-29, Michael: one of his saved quotes at the bottom of My apps, a different one each refresh) ----
   Quiet on purpose: under a hairline, the words in soft white, who said it in small capitals; the apps stay the page. */
/* Bottom centre (Michael, 2026-11-29: "The quotes should be in the bottom center"): the apps column fills the screen's
   height below the top bar, and the quote takes the space left over, so it sits at the bottom; a long page just ends with it. */
.page-apps .page:has(>.quote){display:flex;flex-direction:column;min-height:calc(100dvh - 220px)}
/* The whole quote is the link to Quotes (Michael, 2026-11-30: no button, press the quote). As wide as the apps, so a
   long line stays on one line (his "could have been fully fit on one line"); when it must wrap, the lines are even. */
.quote{display:block;margin:auto 0 0;padding-top:var(--space-7);text-align:center;color:inherit;text-decoration:none;-webkit-tap-highlight-color:transparent}
a.quote:active{transform:var(--press)}
a.quote:focus-visible{outline:1px solid var(--focus);outline-offset:6px}
.quote blockquote{margin:0;font-size:18px;line-height:1.55;color:rgba(255,255,255,.86);white-space:pre-line;overflow-wrap:anywhere;text-wrap:balance;transition:color .2s var(--ease-out)}
.quote blockquote::before{content:"\201C"}
.quote blockquote::after{content:"\201D"}
.quote .by{display:block;margin-top:10px;font-family:var(--mono);font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:color-mix(in srgb,var(--kind-amber) 70%,#fff)}
.quote .by::before{content:"\2014\00a0"}
.quote-more{display:inline-flex;align-items:center;gap:6px;min-height:44px;margin-top:6px;font-family:var(--mono);font-size:13px;letter-spacing:.08em;color:var(--fg-2);text-decoration:none}
.quote-more:focus-visible{color:#fff}
.quote.none{padding-top:var(--space-5)}
.page-quotes .q-list{list-style:none;margin:0;padding:0}
.page-quotes .q-row{display:flex;align-items:flex-start;gap:var(--space-4);padding:var(--space-4);border-top:1px solid var(--line)}
.page-quotes .q-row:first-child{border-top:0}
.page-quotes .q-row blockquote{margin:0 0 6px;font-size:16px;line-height:1.5;white-space:pre-line;overflow-wrap:anywhere}
.page-quotes .q-row span{font-size:14px;color:var(--fg-2)}
.page-quotes .q-row .grow-1{flex:1;min-width:0}
.page-quotes #quote-add{margin-bottom:var(--space-6)}
.page-quotes .q-row{-webkit-touch-callout:none}
.page-quotes .q-acts{display:flex;gap:var(--space-2);flex:none}
.page-quotes .q-row.editing{display:block}
.page-quotes .q-row.editing>.q-view,.page-quotes .q-row.editing>.q-acts{display:none}
.page-quotes .q-editf{display:grid;gap:var(--space-3)}
.page-quotes .q-editf .acts{display:flex;justify-content:flex-end;gap:var(--space-2);margin:0;padding:0;border:0}
.page-quotes .q-editf .grow{display:none}
/* SURE? fills from left to right over one second; only then does YES, REMOVE take a press (client/app.ts) */
.page-quotes .q-remove{position:relative;overflow:hidden;min-width:9.5em}
.page-quotes .q-remove .q-lbl{position:relative;font:inherit;color:inherit;letter-spacing:inherit;text-transform:inherit}
.page-quotes .q-fill{position:absolute;inset:0;background:color-mix(in srgb,var(--red) 28%,transparent);transform:scaleX(0);transform-origin:left;pointer-events:none}
.page-quotes .q-remove[data-state=arming]{cursor:progress}
.page-quotes .q-remove[data-state=arming] .q-fill{transform:scaleX(1);transition:transform 1s linear}
.page-quotes .q-remove[data-state=ready] .q-fill{transform:scaleX(1)}
@media (max-width:640px){.page-quotes .q-row:not(.editing){flex-direction:column}.page-quotes .q-acts{align-self:flex-end}}

/* The launcher (design v3, Michael 2026-11-29 "build it"): no headings; the groups are told apart by size and fill. Big pinned
   tiles; filled rows with their 30-day counts ("also used"); then, under a hairline, borderless quiet rows ("rarely opened"). */
.page-apps .hello{margin-bottom:var(--space-4)}
.grp{position:relative;z-index:var(--z-raised)} /* above the ball's grab area, which reaches 30px below the greeting row */
.grp+.grp{margin-top:var(--space-4)}
.grp.rare{margin-top:var(--space-5);padding-top:var(--space-4);border-top:1px solid var(--line)}
/* The pinned row: the tiles only, full width (Edit pins lives in the name menu; Michael 2026-11-29) */
.pinrow{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;align-items:start}
.pinrow .icon-btn .ico{width:18px;height:18px}
.pinrow .icon-btn[aria-pressed=true]{color:#000;background:var(--brand-1);border-color:var(--brand-1)}
.menu [data-editpins] .ico{width:16px;height:16px}
/* Edit pins' hint and Done: a bar fixed to the bottom of the screen, over the background, so it moves nothing (Michael
   2026-11-29: "Everything should stay in the same exact place"); the page gets room below to scroll past it */
.page-apps .editbar{position:fixed;left:0;right:0;bottom:0;z-index:var(--z-bar);display:flex;align-items:center;justify-content:center;gap:var(--space-4);
  padding:12px max(20px,env(safe-area-inset-right,0px)) calc(12px + env(safe-area-inset-bottom,0px)) max(20px,env(safe-area-inset-left,0px));
  background:color-mix(in srgb, var(--surface-1) 92%, transparent);border-top:1px solid var(--line-2);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
.page-apps .editbar .hint{margin:0}
.page-apps.editing .main{padding-bottom:calc(var(--space-8) + 96px)}
.page-apps .hint{margin:0 0 var(--space-3);font-size:15px;line-height:1.5;color:var(--fg-2)}
.page-apps .ghost{display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 16px;background:none;border:1px solid var(--line-2);color:#fff;
  font:500 15px/1 var(--sans);cursor:pointer;transition:color .2s,border-color .2s,background .2s,transform .16s var(--ease-out)}
.page-apps .ghost:active{transform:var(--press)}
/* Pinned: the kit's launch tiles, as many across as there are pins (never more than 4), no arrow */
.page-apps .apps.launch{position:relative;margin-top:0}
.apps.launch.n1{grid-template-columns:minmax(0,1fr)}.apps.launch.n2{grid-template-columns:repeat(2,minmax(0,1fr))}
.apps.launch.n3{grid-template-columns:repeat(3,minmax(0,1fr))}.apps.launch.n4{grid-template-columns:repeat(4,minmax(0,1fr))}
.page-apps .launch .app{animation:none;color:inherit;font:inherit;text-align:left;-webkit-touch-callout:none}
.page-apps .launch .app-text{min-width:0}
.page-apps .launch .app-text b{overflow-wrap:anywhere}
.page-apps .launch .app-text>span{font-size:15px}
/* A game's badge: the kit's badge, at a size that can be read (13px) */
.badge.game{font-size:13px;line-height:1.2;letter-spacing:.06em;margin:0 0 0 2px;padding:1px 6px;vertical-align:.12em;color:var(--fg-2)}
.launch .app-text b .badge.game{vertical-align:.18em}
/* Everything else: one-line rows, five across on a computer */
.rows{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:10px}
.row-app{position:relative;display:flex;align-items:center;gap:12px;min-width:0;min-height:56px;padding:10px 14px;background:var(--panel);border:1px solid var(--line);
  color:var(--fg);font:inherit;text-align:left;text-decoration:none;cursor:pointer;-webkit-touch-callout:none;
  transition:border-color .2s,background .2s,transform .16s var(--ease-out)}
.row-app:active{transform:scale(.98)}
.row-app img,.row-app .letter{width:32px;height:32px;flex:none;object-fit:contain}
.row-app .letter{font-size:15px;border-radius:7px}
.row-app b{flex:1;min-width:0;font:600 17px/1.25 var(--sans);letter-spacing:-.01em;overflow-wrap:break-word}
/* Rarely opened: no fill, no border, dimmer name */
.rows.dense{gap:2px 10px}
.row-app.quiet{min-height:52px;padding:8px 10px;background:transparent;border-color:transparent}
.row-app.quiet .letter{font-size:17px;border-radius:8px}
.row-app.quiet b{font:500 17px/1.25 var(--sans);color:var(--fg-2)}
.row-app:focus-visible{border-color:var(--line-3)}
/* Edit pins: the same boxes in the same places; any app drags (onto the pins to pin it, a pin out to unpin it). The marks
   (unpin, grip, +) are laid over each box, so nothing changes size. */
.editing #launcher [data-key]{cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none}
.page-apps .grp.lifted{z-index:var(--z-sticky)} /* the group a box is dragged from stays above the others */
.page-apps .grp.pinned.drop{outline:1px dashed var(--brand-1);outline-offset:8px}
#launcher .dragging{z-index:var(--z-sticky);cursor:grabbing;border-color:var(--line-3);background:var(--surface-2);box-shadow:0 18px 50px rgba(0,0,0,.7);transition:none}
#launcher .dragging.leaving{opacity:.6}
#launcher .settling{transition:transform .25s var(--ease-out),box-shadow .25s var(--ease-out)}
.page-apps .unpin{position:absolute;top:6px;right:6px;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;background:none;border:0;color:var(--fg-2);cursor:pointer}
.page-apps .unpin span{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border:1px solid var(--line-2);background:var(--surface-3)}
.page-apps .unpin .ico{width:15px;height:15px}
.page-apps .unpin:active span{transform:var(--press)}
.page-apps .grip{position:absolute;bottom:14px;right:16px;color:var(--fg-3)}
.page-apps .grip .ico{width:18px;height:18px}
/* A row's +: a small square on its top right corner, half outside the box; the whole row is the tap target */
.page-apps .addpin{position:absolute;top:-8px;right:-8px;display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;
  border:1px solid var(--line-3);background:var(--surface-3);color:#fff;pointer-events:none}
.page-apps .addpin .ico{width:14px;height:14px}

#signout{color:#ffb4b4}
#signout .ico{color:#ffb4b4}

/* ---- Users: a card per person ---- */
/* "5 users" and INVITE SOMEONE on one level, phone too (Michael, 2026-11-18: they were "jiggity jaggity") */
.page-users .page-head{flex-direction:row;align-items:center}
.ucards{align-items:stretch}
.ucard{gap:var(--space-4);animation:rise .55s var(--ease-out) both}
.ucard .card-foot{padding-top:0}
.ucard .card-action{display:inline-flex;align-items:center;justify-content:center} /* EDIT's word in the middle of its 44px phone box */
/* People's cards arrive one after another like the app tiles (the first six; the rest together) */
.ucard:nth-child(2){animation-delay:.04s}.ucard:nth-child(3){animation-delay:.08s}.ucard:nth-child(4){animation-delay:.12s}.ucard:nth-child(5){animation-delay:.16s}.ucard:nth-child(n+6){animation-delay:.2s}
.u-email{display:block;color:var(--fg-3);font-size:14px;margin-top:4px;overflow-wrap:anywhere}.u-email i{font-style:italic}
.u-icons{display:flex;flex-wrap:wrap;gap:8px;min-height:40px;align-items:center}
/* Each app's logo on its own in a small frame, as before the kit move (Michael, 2026-11-16: no coloured box) */
.ui{width:40px;height:40px;border:1px solid var(--line);display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.03)}
.ui img{width:26px;height:26px;object-fit:contain}
.ui .letter{width:26px;height:26px;font-size:14px;border-radius:6px} /* an app's letter tile inside the small icon boxes on Users */
.u-none{color:var(--fg-3);font-size:14px}
.u-meta{margin:0;font:500 11px var(--mono);letter-spacing:.04em;color:var(--fg-3)}
.u-last{margin:0;color:var(--fg-2);font-size:14px}.u-last.never{color:var(--fg-3)}
/* HISTORY and EDIT side by side at the right of the card's foot (2026-11-29) */
.ucard .u-acts{display:flex;gap:var(--space-2)}
.page-users .u-groups{margin-top:var(--space-2)}
/* A person's history: each row's logo (or key) and what they did, the time at the right */
.page-history .h-list li{align-items:center}
.page-history .h-list li>.row{min-width:0}
.page-history .h-list b{font-size:16px}
.page-history .h-list time{flex:none;font:500 12px var(--mono);letter-spacing:.04em;color:var(--fg-2);white-space:nowrap;text-align:right}
.page-history .h-list .h-ago{display:block} /* "(2 h 15 min ago)" over the time, both right-aligned (2026-11-30) */
.page-history .h-list .ui{display:flex;flex:none;margin:0} /* the kit's .list li span is a block line: keep the logo box centred */
.page-history .h-list .ui .letter{display:flex;align-items:center;justify-content:center;margin:0}
.page-history .h-key{color:var(--fg-2)}
.ucard.off .u-icons,.ucard.off .card-title{opacity:.45}
/* A person's open link (Michael, 2026-11-06): what it is and its Cancel, side by side */
.u-link{display:flex;justify-content:space-between;align-items:center;gap:14px}
.u-link b{display:block;font-size:14px;font-weight:600}.u-link span{display:block;font-size:13px;line-height:1.45;margin-top:3px}
.u-link .small{flex:none}
.link-cancel:disabled{opacity:.5;cursor:wait}

/* ---- App cards you tap on or off (no kit piece: the kit's tiles open things) ---- */
.toggles{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px;margin:0 0 20px}
.appt{font:inherit;color:inherit;text-align:left;cursor:pointer;padding:20px;opacity:.55;animation:none}
.appt img,.appt .letter{filter:grayscale(1);transition:filter .35s}
.appt .state,.appt .mark,.appt b{transition:color .3s}
.appt .app-text b{font-size:18px}
.appt.on{opacity:1;border-color:var(--line-3)}.appt.on img,.appt.on .letter{filter:none}
.appt .mark{position:absolute;top:10px;right:12px;display:inline-flex;align-items:center;justify-content:center;line-height:1;font:600 10px var(--mono);letter-spacing:.15em;color:var(--fg-2)}
.appt.add{border-color:rgba(0,255,136,.7);box-shadow:0 0 0 1px rgba(0,255,136,.35),0 0 24px rgba(0,255,136,.12);background:rgba(0,40,22,.5)}
.appt.add .mark,.appt.add .state{color:var(--green)}
.appt.rem{opacity:1;border-color:rgba(255,85,85,.7);box-shadow:0 0 0 1px rgba(255,85,85,.3),0 0 24px rgba(255,85,85,.1);background:rgba(45,8,8,.5)}
.appt.rem .mark,.appt.rem .state{color:var(--red)}.appt.rem b{text-decoration:line-through;text-decoration-color:rgba(255,85,85,.7)}
.appt:disabled{cursor:default}.appt.on:disabled{opacity:.85}.appt:disabled:active{transform:none}
.appt.shown{opacity:1}.appt.shown.on:not(.add){border-color:var(--line-2)}

/* ---- Edit page: its sections inside the form's panel, two across with room (kit .sections) ---- */
#editor>.sections{margin-top:0}
.sec-hint{margin-left:auto;font-size:13px;color:var(--fg-3)}
.page-edit-user .sections .toggles{margin-bottom:0}
/* Security keys (remove a lost key, add-device link) */
.ukeys{display:flex;flex-direction:column;gap:10px}
.ukey{border:1px solid var(--line-2);background:var(--panel)}
.ukey-row{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:14px 16px}
.ukey-row b{display:block;font-size:16px;font-weight:600}.ukey-row span{display:block;color:var(--fg-3);font-size:13px;margin-top:3px}
.ukey-row .status{display:inline-flex;margin-top:4px;color:var(--fg-2)}
/* The ask before removing a key or disabling an account: unfolds under its row */
.kc{margin:0 10px 10px}
.kc p{margin:0 0 12px;font-size:14px;line-height:1.5}
.kc .row{justify-content:flex-end;gap:10px}
/* Security, Emergency lock (Michael, 2026-11-28: the button itself "should split out into an are you sure"): LOCK MY
   ACCOUNT and the ask share one spot, so pressing it swaps the button for "Are you sure? BACK / YES, LOCK" in place,
   nothing opens below and nothing jumps. YES, LOCK sits at the far end, away from where the first press landed,
   and ignores taps for its first half second (client/app.ts), so a double tap can't lock by accident. */
.lockbar{display:grid;margin-top:18px}
.lockbar>*{grid-area:1/1}
.lock-ask{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.lock-q{font-size:15px;font-weight:600;color:#fff;margin-right:auto}
/* The cross-fade exists only after the first press (.anim, set by client/app.ts before it flips .asking). Without that, a
   page that is drawn once before this file arrives (a slow connection, a busy machine) fades the hidden half out when the
   file lands: for .18 s YES, LOCK still counted as visible (browser-test section 12 failed on that, 2026-11-29). */
.lockbar.anim #lock-start,.lockbar.anim .lock-ask{transition:opacity .18s cubic-bezier(.23,1,.32,1),transform .18s cubic-bezier(.23,1,.32,1),visibility 0s}
#lock-start{justify-self:start}
.lockbar:not(.asking) .lock-ask,.lockbar.asking #lock-start{opacity:0;visibility:hidden;pointer-events:none}
.lockbar.anim:not(.asking) .lock-ask,.lockbar.anim.asking #lock-start{transition-delay:0s,0s,.18s}
.lockbar:not(.asking) .lock-ask{transform:translateX(-6px)}
.lockbar.asking #lock-start{transform:scale(.97)}
@media (prefers-reduced-motion:reduce){#lock-start,.lock-ask{transition:none!important;transform:none!important}}
.ukeys .empty{padding:var(--space-5)}
#key-link{margin-top:14px}
#key-link:disabled{cursor:not-allowed;opacity:.4}#key-link:disabled::after,#key-link:disabled .shim{display:none}
#key-link-box .linkbox{margin-top:14px}
/* Account on/off switch (Michael, 2026-11-03; no kit piece) */
.acct{border:1px solid var(--line-2);background:var(--panel)}
.acct-switch{position:relative;flex:none;width:60px;height:32px;border:1px solid rgba(0,255,136,.7);background:rgba(0,40,22,.6);cursor:pointer;padding:0;transition:background .25s,border-color .25s}
.acct-switch .knob{position:absolute;top:50%;margin-top:-12px;left:31px;width:24px;height:24px;background:var(--green);transition:left .25s cubic-bezier(.16,1,.3,1),background .25s}
.acct-switch[aria-checked=false]{border-color:rgba(255,85,85,.7);background:rgba(45,8,8,.6)}.acct-switch[aria-checked=false] .knob{left:3px;background:var(--red)}
.acct-switch:disabled{opacity:.5;cursor:wait}
@media (pointer:coarse){.acct-switch{min-height:44px}}
/* The list of changes (added green, removed red, like a code review) and Review / Confirm */
.diff{border:1px solid var(--line-2);background:rgba(255,255,255,.03);padding:16px 18px;margin:0 0 14px;max-height:132px;overflow-y:auto;overscroll-behavior:contain}
.diff p:not(.field-label),.lines p{margin:6px 0 0;font:500 14px var(--mono)}
.d-add{color:var(--green)}.d-rem{color:var(--red)}.d-edit{color:var(--blue-text)}
.lines{margin:16px 0 0}
#review:disabled{cursor:not-allowed;opacity:.4}#review:disabled::after,#review:disabled .shim{display:none}
.confirm-k{color:#fff}.danger-k{color:var(--red)}
#remove-confirm .lead{max-width:var(--w-read)} /* sentences never wider than 720 (kit guide) in the wide edit panel */
#confirm .apps{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px}
/* The edit panel morphs to its new size when Review or Remove swaps what's in it */
.page-edit-user .panel{view-transition-name:panel}

#invite .section-label{margin-top:26px}#invite .section-label:first-child{margin-top:0}
#invite .check{margin:4px 0 6px}

/* ---- Security: key rows and the add-another section ---- */
.list.keys{margin:0}
.list.keys li{align-items:center}
.page-keys .panel>.status{margin-top:16px}
.addkey .note{margin:0 0 16px}
.page-keys .addkey .cta{margin:0;display:flex;width:fit-content}

/* The invite welcome: the apps they're getting, as their icons */
.gifts{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:6px 0 30px}
.gift{display:inline-flex;align-items:center;gap:10px;padding:10px 16px 10px 10px;border:1px solid var(--line-2);background:rgba(255,255,255,.03)}
.gift img,.gift .letter{width:30px;height:30px;font-size:15px;border-radius:7px}
.gift b{font:600 15px var(--sans)}
.gift.none{padding:10px 16px;color:var(--fg-3)}
.page-invite .note{max-width:420px}
/* The key wait: a key in a slowly pulsing ring */
.busy .pulse{display:flex;align-items:center;justify-content:center;color:#dfe6ff}
/* Signed out: a thin line that runs down with the 10-second countdown */
.drain{width:220px;max-width:70%;height:1px;margin:22px auto 0;background:rgba(255,255,255,.12);overflow:hidden}
.drain i{display:block;height:100%;background:linear-gradient(90deg,rgba(136,180,255,.9),rgba(200,140,255,.9));transform-origin:left;animation:drain 10s linear forwards}
@keyframes drain{from{transform:scaleX(1)}to{transform:scaleX(0)}}
.page-signedout .drain+.note{margin-top:10px}

/* The top bar (Michael, 2026-11-29): on a computer the logo is bigger ("I want that Loia Industries logo bigger");
   on a phone the MY APPS / USERS / SECURITY tabs are hidden and those pages are in the name menu instead ("hide that
   header tab thing and move everything to the user drop-down menu. For mobile at least"), so the content starts higher. */
.menu .m-only{display:none}
@media (min-width:641px){.toplogo{width:380px;max-width:30vw}}
@media (max-width:640px){
  .tabs{display:none}
  .menu .m-only{display:flex}
  .menu .m-only .ico{color:var(--k)}
}
@media (max-width:640px){
  /* The ball sits in the greeting's corner; its drawing is cut at the screen's edge instead of widening the page */
  .page-apps .main{overflow-x:clip}
  .orb-small{position:absolute;right:-12px;top:-34px;width:130px;height:130px;margin:0}.orb-small canvas{inset:-47px;width:224px;height:224px;opacity:.7;z-index:-1}
  .appt{padding:18px}.toggles{gap:10px} /* the theme's phone tile padding and gap, which these on/off cards had before the theme moved out */
  /* The launcher on a phone: pins two by two without their line about them, rows two across */
  .pinrow{grid-template-columns:minmax(0,1fr)}
  .pinrow>.icon-btn{display:none} /* on a phone Edit pins is in the name menu, and a long press on a pinned tile */
  .grp+.grp{margin-top:var(--space-3)}
  .grp.rare{margin-top:var(--space-4);padding-top:var(--space-3)}
  .page-apps .apps.launch{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .page-apps .apps.launch.n1{grid-template-columns:minmax(0,1fr)}
  .page-apps .launch .app{gap:10px;padding:12px 14px;min-height:0}
  .page-apps .launch .app img,.page-apps .launch .letter{width:40px;height:40px}
  .page-apps .launch .app-text b{font-size:17px}
  .page-apps .launch .app-text>span{display:none} /* the apps you use every day need no description */
  .rows,.rows.dense{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .rows.dense{gap:0 8px}
  .row-app{min-height:48px;padding:6px 10px;gap:10px}
  .row-app.quiet{min-height:48px;padding:6px 8px}
  .page-apps .unpin{top:2px;right:2px}.page-apps .grip{bottom:10px;right:12px}
  .page-apps .editbar{justify-content:space-between;gap:var(--space-3)}
  .page-apps .editbar .hint{font-size:14px;line-height:1.35}
  .hello h2{font-size:clamp(26px,7.6vw,44px)} /* "Good afternoon, Michael" on one line on a phone too (Michael, 2026-11-18) */
  .toggles,#confirm .apps{grid-template-columns:1fr}
  .list.keys li{flex-wrap:wrap}.list.keys li .small{margin-left:52px}
  .u-link{flex-wrap:wrap}
  .page-users .page-head .cta{width:auto;padding:12px 16px}
  .page-users .page-head h2{white-space:nowrap}
  .gifts{gap:8px}.gift{padding:10px 12px}
}

@media (hover:hover) and (pointer:fine){
  /* On/off app cards: a light outline only, never over the green "+ ADD" or red "- REMOVE" colours */
  .appt:not(.add):not(.rem):not(:disabled):hover{border-color:var(--line-3)}
  .ucard:hover{border-color:var(--line-2)}
  .row-app:hover{border-color:var(--line-2);background:rgba(255,255,255,.05)}
  .page-apps .ghost:hover{border-color:var(--line-3)}
  .page-apps .unpin:hover span{color:#fff;border-color:var(--line-3)}
  .quote-more:hover,a.quote:hover blockquote{color:#fff}
}

