/* Caregiver page, matched to the BIG Remote Help app's own screens: a black background, quiet dark
   panels without borders or shadows, light grey keys with the icon on the left, green for calling.
   The senior's other places are a grouped list like the app's settings. Calm for adults on a phone
   or a PC; the call screen in the same spirit. The system font, as in the app. */
:root {
	--bg: #000;
	--panel: #1c1c1e;
	--panel-2: #2c2c2e;
	--panel-3: #3a3a3c;
	--hair: rgba(255, 255, 255, .09);
	--text: #f5f5f7;
	--muted: #a1a1a6;
	--faint: #6e6e73;
	--key: #e4e4e4;        /* the app's button grey */
	--key-press: #cbcbcb;
	--key-text: #000;
	--green: #2f9e4d;
	--green-press: #27873f;
	--red: #e5484d;
	--red-press: #c93b40;
	--yellow: #ffcc4d;
	--blue: #4aa3ff;
	--r-panel: 20px;
	--r-key: 14px;
	color-scheme: dark;
}

* { box-sizing: border-box; }

html, body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 17px/1.5 -apple-system, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
}

main {
	max-width: 560px;
	margin: 0 auto;
	padding: max(18px, env(safe-area-inset-top)) 16px 40px;
}

h1 { font-size: 26px; line-height: 1.2; font-weight: 700; margin: 0 0 10px; letter-spacing: -0.2px; }
h2 { font-size: 19px; line-height: 1.25; font-weight: 700; margin: 26px 0 10px; }
p { margin: 0 0 12px; }
.lead { color: var(--muted); }
.meta { color: var(--muted); font-size: 15px; }
.hidden { display: none !important; }

.icon { width: 24px; height: 24px; flex: none; }

button { font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
button:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* ---------- brand ---------- */

.brand { display: flex; align-items: center; gap: 14px; margin: 4px 0 22px; }
.logo { width: 46px; height: 46px; border-radius: 11px; }
.brand-name { font-size: 20px; font-weight: 700; line-height: 1.15; }
.tagline { font-size: 14px; color: var(--muted); }

/* ---------- keys: light grey like the app's buttons, the icon on the left ---------- */

.btn {
	display: flex; align-items: center; justify-content: flex-start; gap: 14px;
	width: 100%; min-height: 58px; margin: 10px 0; padding: 14px 18px;
	border: 0; border-radius: var(--r-key);
	background: var(--key); color: var(--key-text);
	font-size: 18px; font-weight: 600; line-height: 1.25; text-align: left; cursor: pointer;
	transition: background .15s;
}
.btn:active { background: var(--key-press); }
.btn:disabled { opacity: .45; cursor: default; }
.btn.primary { background: var(--green); color: #fff; }
.btn.primary:active { background: var(--green-press); }
.btn.danger { background: var(--red); color: #fff; }
.btn.danger:active { background: var(--red-press); }
/* Keys side by side or short ones: the label centred. */
.row .btn, .btn.small, .photo-row .btn, .login-choices .btn, .protected-note .btn, .help-btn { justify-content: center; text-align: center; }

.link {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 8px 2px; border: 0; background: none; color: var(--text);
	font-size: 16px; cursor: pointer;
}
.link .icon { width: 20px; height: 20px; color: var(--muted); }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }
.link.subtle { color: var(--muted); }

.icon-btn { width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; display: grid; place-items: center; cursor: pointer; color: var(--text); }
.icon-btn:hover { background: var(--panel-2); }

.row { display: flex; gap: 10px; }
.row > * { flex: 1; }

/* ---------- panels ---------- */

.card { background: var(--panel); border-radius: var(--r-panel); padding: 20px; margin-bottom: 16px; }

.avatar {
	width: 60px; height: 60px; border-radius: 50%; flex: none;
	display: grid; place-items: center;
	color: #fff; font-size: 26px; font-weight: 700;
	background-size: cover; background-position: center;
}
.avatar.placeholder { background: var(--panel-2); color: var(--muted); }
.avatar.sm { width: 38px; height: 38px; font-size: 16px; }
.avatar.lg { width: 76px; height: 76px; font-size: 32px; }
.avatar.xl { width: 124px; height: 124px; font-size: 54px; }

.who { display: flex; align-items: center; gap: 16px; }
.who-text { min-width: 0; }
.who-name { font-size: 28px; line-height: 1.1; font-weight: 700; letter-spacing: -0.3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.presence { margin-top: 4px; font-size: 15px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.presence::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--faint); }
.presence.on::before { background: #3fd068; }

.call-btn { margin-top: 20px; min-height: 64px; font-size: 20px; font-weight: 700; }
.call-btn .icon { width: 28px; height: 28px; }
.plan { margin: 14px 2px 0; color: var(--muted); font-size: 15px; }

/* The senior's other places: one grouped list, thin lines between the rows. */
.rows { display: grid; gap: 1px; margin-top: 16px; border-radius: var(--r-key); overflow: hidden; background: var(--hair); }
.list-row {
	display: flex; align-items: center; gap: 14px;
	width: 100%; min-height: 54px; padding: 13px 16px; border: 0;
	background: var(--panel-2); color: var(--text);
	font-size: 17px; text-align: left; cursor: pointer;
}
.list-row:hover { background: var(--panel-3); }
.list-row .icon { width: 22px; height: 22px; color: var(--muted); }
.list-row span { flex: 1; min-width: 0; }
.list-row::after { content: ""; flex: none; width: 8px; height: 8px; margin-right: 4px; border-right: 2px solid var(--faint); border-bottom: 2px solid var(--faint); transform: rotate(-45deg); }
.list-row.gold span, .list-row.gold .icon { color: var(--yellow); }
.link.unpair { margin-top: 10px; color: var(--red); font-size: 15px; }

.empty { padding: 26px 22px; }
.empty-art { width: 72px; height: 72px; margin: 0 0 18px; border-radius: 20px; background: var(--panel-2); color: #3fd068; display: grid; place-items: center; }
.empty-art .icon { width: 38px; height: 38px; }
/* The three steps of pairing are a sequence. */
.steps { margin: 18px 0 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; display: flex; gap: 14px; align-items: flex-start; padding: 7px 0; }
.steps li::before { content: counter(step); flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--panel-2); color: var(--text); font-weight: 700; font-size: 15px; display: grid; place-items: center; }

/* A note on a senior's panel (a new sign-in in the family). */
.notice { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 14px 0 0; padding: 8px 8px 8px 14px; border-radius: 12px; background: rgba(255, 204, 77, .14); font-size: 15px; }
.notice .icon-btn { flex: none; width: 34px; height: 34px; color: var(--muted); }

/* Removed from a family: a quiet panel, closed by the caregiver. */
.removed-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.removed-head h2 { margin: 2px 0 0; font-size: 20px; line-height: 1.25; }
.removed-head .icon-btn { flex: none; width: 34px; height: 34px; color: var(--muted); }
.removed .lead { margin: 10px 0 0; font-size: 15px; line-height: 1.45; }

/* Below the panels: this device (sign in another one, sign out, the app's setup). */
.account { display: flex; flex-wrap: wrap; align-items: center; gap: 0 20px; margin: 4px 2px 0; }
.account .link { color: var(--muted); font-size: 15px; }

/* ---------- forms ---------- */

.field { display: block; margin: 18px 0; }
.field > span { display: block; font-size: 15px; color: var(--muted); margin-bottom: 6px; }
.field input[type=text], .field input[type=tel] {
	display: block; width: 100%; padding: 14px;
	border: 0; border-radius: 12px;
	background: var(--panel-2); color: var(--text); font: inherit;
}
.field input[type=text]::placeholder, .field input[type=tel]::placeholder { color: var(--faint); }
.field input[type=tel] { font-size: 20px; letter-spacing: .5px; }
.photo-row { display: flex; align-items: center; gap: 14px; }
.photo-row .btn { width: auto; min-height: 0; margin: 0; font-size: 16px; padding: 11px 16px; }

.msg { display: flex; align-items: center; gap: 10px; background: var(--panel-2); border-radius: 12px; padding: 12px 14px; margin: 14px 0 0; }
.msg:empty { display: none; }
.msg.error { box-shadow: inset 4px 0 0 var(--red); }

.spinner { width: 18px; height: 18px; flex: none; border-radius: 50%; border: 3px solid var(--panel-3); border-top-color: #3fd068; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

details.settings { margin: 30px 2px; color: var(--faint); font-size: 14px; }
details.settings summary { cursor: pointer; }
label.switch { display: flex; align-items: center; gap: 10px; margin: 10px 0; }
label.switch input { width: 20px; height: 20px; accent-color: var(--green); }

.warn { padding: 10px 14px; border-radius: 12px; background: rgba(255, 204, 77, .12); color: #ffd97a; font-size: 15px; line-height: 1.45; }

/* ---------- history, family, devices ---------- */

header.bar { display: flex; align-items: center; gap: 6px; margin: 0 0 14px -8px; }
header.bar h1 { margin: 0; }
ul.history { list-style: none; margin: 14px 0 0; padding: 0; }
ul.history li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--hair); }
ul.history .dir { width: 36px; height: 36px; border-radius: 50%; background: var(--panel-2); display: grid; place-items: center; flex: none; }
ul.history .dir .icon { width: 18px; height: 18px; }
ul.history .dir.in { color: #3fd068; }
ul.history .dir.out { color: var(--blue); }
ul.history .what { flex: 1; min-width: 0; }
ul.history .len { font-variant-numeric: tabular-nums; color: var(--muted); }

.members { list-style: none; margin: 8px 0 16px; padding: 0; display: grid; gap: 12px; }
.member { display: flex; align-items: center; gap: 12px; }
.member-name { flex: 1; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 17px; }
.badge { background: rgba(255, 204, 77, .16); color: var(--yellow); border-radius: 999px; padding: 2px 10px; font-size: 13px; font-weight: 600; }
.badge.subtle { background: var(--panel-2); color: var(--muted); }
.invite-panel { display: grid; gap: 4px; margin-top: 12px; }
.invite-link { width: 100%; padding: 12px; border: 0; border-radius: 12px; background: var(--panel-2); color: inherit; font-size: 14px; }

/* ---------- sign-in on another device ---------- */

.login-qr { background: #fff; border-radius: 16px; padding: 14px; width: min(300px, 100%); margin: 10px auto 6px; }
.login-qr svg { display: block; width: 100%; height: auto; }
.login-number-label { margin: 18px 0 6px; text-align: center; color: var(--muted); }
.login-number { width: fit-content; margin: 0 auto; padding: 6px 26px; border-radius: 16px; background: var(--panel-2); font-size: 52px; font-weight: 700; letter-spacing: 8px; line-height: 1.15; font-variant-numeric: tabular-nums; }
.login-choices { display: flex; gap: 12px; justify-content: center; margin: 10px 0 16px; }
.login-choices .choice { width: auto; min-width: 88px; margin: 0; font-size: 30px; font-weight: 700; padding: 12px 0; font-variant-numeric: tabular-nums; }
.scan-video { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; background: var(--panel-2); margin: 10px 0; }

/* ---------- dialogs ---------- */

.backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, .7); display: grid; place-items: center; padding: 16px; z-index: 50; }
.dialog { width: min(440px, 100%); background: var(--panel); border-radius: var(--r-panel); padding: 22px; }
.dialog p { font-size: 18px; }
.dialog .row { margin-top: 8px; }
.dialog .btn { margin: 0; }

/* ---------- round keys (call screens) ---------- */

.round { display: inline-flex; flex-direction: column; align-items: center; gap: 7px; padding: 0; border: 0; background: none; cursor: pointer; min-width: 64px; }
.round .disc { width: 62px; height: 62px; border-radius: 50%; background: var(--panel-2); display: grid; place-items: center; transition: background .15s, transform .06s; }
.round:active .disc { transform: scale(.94); }
.round .icon { width: 28px; height: 28px; }
.round .lbl { font-size: 13px; color: var(--muted); white-space: nowrap; }
.round.green .disc { background: var(--green); color: #fff; }
.round.red .disc { background: var(--red); color: #fff; }
.round.warn .disc { background: var(--yellow); color: #000; }
/* Switched on (muted, the active tool): the app's light key. */
.round.on .disc { background: var(--key); color: var(--key-text); }
.round.on .lbl { color: var(--text); }
.round.small { min-width: 0; }
.round.small .disc { width: 44px; height: 44px; }
.round.small .icon { width: 22px; height: 22px; }
.round.small .lbl { display: none; }

/* ---------- incoming call (on the page) ---------- */

.incoming { min-height: calc(100vh - 48px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 4px; }
.incoming h1 { font-size: 32px; margin-top: 28px; }
.pulse { border-radius: 50%; animation: pulse 1.6s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(47, 158, 77, .55); } 100% { box-shadow: 0 0 0 36px rgba(47, 158, 77, 0); } }
.answer-row { display: flex; gap: 72px; margin-top: 44px; }
.answer-row .disc { width: 76px; height: 76px; }
.answer-row .icon { width: 34px; height: 34px; }
.answer-row .lbl { font-size: 15px; }

/* ---------- call ---------- */

.call { position: fixed; inset: 0; display: flex; flex-direction: column; background: #000; }
.call .top { display: flex; align-items: center; gap: 12px; padding: max(10px, env(safe-area-inset-top)) 14px 10px; min-height: 62px; }
.top-text { flex: 1; min-width: 0; }
.top-name { font-weight: 700; font-size: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.call .status { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.stage { position: relative; flex: 1; min-height: 0; overflow: hidden; container-type: size; }
.stage video { position: absolute; background: #000; }
/* Faces are square: a large rounded square in the video call, a small one while helping. */
#face { inset: 0; margin: auto; width: min(100cqw - 32px, 100cqh - 32px); height: min(100cqw - 32px, 100cqh - 32px); object-fit: cover; border-radius: 26px; background: var(--panel); }
#self { display: none; right: 16px; bottom: 16px; width: min(24%, 180px); min-width: 96px; aspect-ratio: 1; object-fit: cover; transform: scaleX(-1); border-radius: 18px; background: var(--panel); z-index: 2; cursor: grab; touch-action: none; }
.has-self #self { display: block; }
#screen { display: none; }
.dragging { cursor: grabbing !important; opacity: .92; }

.overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 24px; background: #000; z-index: 1; }
.overlay-name { font-size: 28px; font-weight: 700; margin-top: 10px; }
.overlay-text { color: var(--muted); font-size: 17px; max-width: 420px; }
.call:not([data-state=connected]) .overlay .avatar, .call.requested .overlay .avatar { animation: pulse 1.6s ease-out infinite; }
.call.has-face[data-state=connected]:not(.saver) .overlay { display: none; }
.call.controlling .overlay { display: none; }

/* Notes over the picture: dark, quiet, readable over any screen. */
.hint { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: max-content; max-width: min(380px, calc(100% - 24px)); background: rgba(28, 28, 30, .94); border-radius: 14px; padding: 9px 14px; font-size: 14px; line-height: 1.35; z-index: 9; pointer-events: none; text-align: center; }
.note-on .hint { top: 96px; }

/* Why the faces are off and a way back (the saver switches on by itself). */
.saver-note { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: min(560px, calc(100% - 24px)); display: flex; align-items: center; gap: 10px; background: rgba(28, 28, 30, .96); border-radius: 16px; padding: 10px 8px 10px 14px; z-index: 8; font-size: 14px; line-height: 1.35; }
.saver-note .saver-text { flex: 1; }
.ask-note { top: 40%; font-size: 16px; padding: 14px 10px 14px 16px; z-index: 9; }
.btn.small { width: auto; min-height: 0; margin: 0; padding: 9px 14px; font-size: 14px; border-radius: 999px; white-space: nowrap; }
.icon-btn.small { width: 36px; height: 36px; flex: none; color: var(--muted); }

/* While helping: the senior's screen fills the whole display. The senior's face is a small
   draggable square, the tools are in a drawer on the left that its tab opens and closes. */
.controlling .top, .controlling .bar-bottom { display: none; }
.controlling #screen { display: block; inset: 0; width: 100%; height: 100%; object-fit: contain; touch-action: none; cursor: crosshair; }
.controlling #face { inset: auto 16px 16px auto; margin: 0; width: min(22%, 170px); min-width: 84px; height: auto; aspect-ratio: 1; z-index: 4; border-radius: 18px; cursor: grab; touch-action: none; }
.controlling #self { display: none; }
.saver #face, .saver #self { display: none; }
.controlling:not(.has-face) #face { display: none; }

.control-only { display: none !important; }
.controlling .dock-tab.control-only { display: grid !important; }
.controlling .dock.control-only { display: flex !important; }
.controlling .call-only { display: none; }

.dock-tab { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 30px; height: 72px; padding: 0; border: 0; border-radius: 0 14px 14px 0; background: rgba(28, 28, 30, .92); color: var(--text); place-items: center; cursor: pointer; z-index: 8; }
.dock-tab .icon { width: 20px; height: 20px; }
.dock { position: absolute; left: 38px; top: 50%; transform: translateY(-50%); flex-direction: column; align-items: center; gap: 2px; padding: 10px 6px; max-height: calc(100% - 24px); overflow-y: auto; scrollbar-width: none; background: rgba(28, 28, 30, .9); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-radius: 22px; z-index: 7; transition: opacity .18s, transform .18s; }
.call:not(.dock-open) .dock { opacity: 0; pointer-events: none; transform: translate(-24px, -50%); }
.dock .sep { flex: none; width: 34px; height: 1px; background: var(--hair); margin: 5px 0; }
.dock-status { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; min-height: 16px; }
.dock .round { min-width: 64px; gap: 3px; flex: none; }
.dock .round .disc { background: var(--panel-3); }
.dock .round.on .disc { background: var(--key); }
.dock .round.warn .disc { background: var(--yellow); }
.dock .round.red .disc { background: var(--red); }
.dock .round .lbl { font-size: 11px; line-height: 1.2; }
.round.tool .disc { width: 46px; height: 46px; }
.round.tool .icon { width: 24px; height: 24px; }

/* A protected app (banking, payments): black in the picture, no taps; say why and offer Home. */
.protected-note { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(340px, calc(100% - 96px)); z-index: 6; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; background: var(--panel); border-radius: var(--r-panel); padding: 22px 18px 18px; }
.protected-note p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
/* Paused: no picture, so neither the outline of the senior's call panel (it covered the note's title). */
.protected #screen, .protected .panel-box { visibility: hidden; }
.protected-title { font-weight: 700; font-size: 17px; line-height: 1.3; }
.protected-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--panel-2); color: var(--yellow); display: grid; place-items: center; }
.protected-note .btn { width: auto; min-height: 0; display: inline-flex; gap: 8px; margin: 2px 0 0; padding: 11px 18px; font-size: 16px; }
.protected-note .btn .icon { width: 20px; height: 20px; }

/* The senior's control panel: a labelled outline over the black box it leaves in the picture. */
.panel-box { position: absolute; z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 8px; overflow: hidden; border-radius: 6px; background: var(--panel); color: var(--text); font-size: 12px; line-height: 1.2; text-align: center; cursor: grab; touch-action: none; }
.panel-box::after { content: ""; position: absolute; inset: 3px; border: 1.5px dashed rgba(255, 255, 255, .35); border-radius: 12px; pointer-events: none; }
.panel-box.collapsed { flex-direction: row; gap: 4px; }
.panel-box.collapsed .panel-name { display: none; }
.panel-grip { color: var(--muted); display: grid; }
.panel-fold { width: 36px; height: 36px; flex: none; padding: 0; border: 0; border-radius: 50%; background: var(--panel-2); color: var(--text); display: grid; place-items: center; cursor: pointer; }
.panel-fold .icon { width: 22px; height: 22px; }
.face-docked .panel-box { justify-content: space-between; }
.face-docked .panel-box .panel-name { display: none; }
.face-docked .panel-box.collapsed .panel-grip, .face-docked .panel-box.collapsed .panel-fold { display: none; }
.controlling.face-docked #face { z-index: 6; pointer-events: none; min-width: 0; aspect-ratio: auto; border-radius: 10px; }

.bar-bottom { display: flex; align-items: center; justify-content: center; gap: 24px; padding: 14px 16px max(18px, env(safe-area-inset-bottom)); }
.help-btn { width: auto; min-height: 0; margin: 0; padding: 16px 26px; border-radius: 999px; font-size: 17px; white-space: nowrap; }
.call:not([data-state=connected]) .help-btn { opacity: .45; pointer-events: none; }
.call[data-state=ended] .bar-bottom, .call[data-state=busy] .bar-bottom, .call[data-state=elsewhere] .bar-bottom { visibility: hidden; }

.ink { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; display: none; }
.controlling .ink { display: block; }
.rings { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.ring { position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; border: 4px solid var(--yellow); border-radius: 50%; animation: ring .7s ease-out forwards; }
@keyframes ring { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }

/* Development statistics. */
.stats { display: none; position: absolute; top: 64px; left: 8px; margin: 0; padding: 8px; background: rgba(0, 0, 0, .75); color: #9f9; font: 12px/1.3 ui-monospace, Consolas, monospace; z-index: 5; pointer-events: none; max-width: calc(100% - 16px); white-space: pre-wrap; }
.stats-on .stats { display: block; }

/* The free plan after its trial of remote taps: no input tools (pointer and drawing stay). */
.view-only .input-tool { display: none; }

/* Phones: smaller keys leave more room for the senior's screen. */
@media (max-width: 600px) {
	.who-name { font-size: 26px; }
	.bar-bottom { gap: 16px; padding-top: 10px; }
	.round { min-width: 52px; }
	.round .lbl { font-size: 11px; }
	.help-btn { padding: 14px 16px; font-size: 15px; gap: 6px; }
	.bar-bottom.call-only { gap: 12px; }
	.dock .round { min-width: 56px; }
	.round.tool .disc { width: 42px; height: 42px; }
	.round.tool .icon { width: 22px; height: 22px; }
	.answer-row { gap: 56px; }
}

/* Short screens (small phones, landscape): the tool drawer shows icons only, the names are in the
   buttons' labels for screen readers and as tooltips. */
@media (max-height: 760px) {
	.dock { gap: 3px; padding: 6px 5px; }
	.dock .round { min-width: 0; }
	.dock .round .lbl { display: none; }
	.dock .sep { margin: 3px 0; }
	.round.tool .disc { width: 40px; height: 40px; }
	.round.tool .icon { width: 22px; height: 22px; }
}
@media (max-height: 520px) {
	.round.tool .disc { width: 34px; height: 34px; }
	.round.tool .icon { width: 20px; height: 20px; }
	.dock-status { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
