:root {
  color-scheme: light;
  --ink: #171717;
  --muted: #646464;
  --line: #dedede;
  --blue: #2d59a4;
  --meet-green: #00796b;
  --meet-green-hover: #00695c;
  --paper: #fff;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: var(--paper); }
body:has(.appointment), body:has(.lobby), body:has(.public-message) { background: linear-gradient(180deg, #fbfcfb 0%, #f5f7f6 56%, #eef2f0 100%); }
a { color: var(--blue); text-underline-offset: 3px; }
button, input, textarea, select { font: inherit; }
button, .button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid var(--ink); border-radius: 2px; padding: 0 20px; background: var(--ink); color: #fff; text-decoration: none; cursor: pointer; transition: background-color 140ms ease; }
button:hover, .button:hover { background: #363636; color: #fff; }
button:disabled { opacity: .45; cursor: not-allowed; }
button.secondary, .button.secondary { color: var(--ink); background: #fff; border-color: #aaa; }
button.secondary:hover, .button.secondary:hover { background: #f4f4f4; }
button.text-action { min-height: 0; padding: 0; border: 0; background: none; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
button.text-action:hover { color: #193c79; }
input, textarea { width: 100%; min-height: 48px; border: 1px solid #aaa; border-radius: 2px; padding: 10px 12px; background: #fff; color: var(--ink); }
input:focus-visible, textarea:focus-visible, select:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid #7b9bd1; outline-offset: 3px; }
label { display: grid; gap: 7px; font-weight: 600; }
textarea { resize: vertical; line-height: 1.55; }
.narrow { width: min(100% - 40px, 560px); margin-inline: auto; }
.home { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-block: 48px; }
.lobby { width: min(100% - 40px, 640px); }
.lobby .brand { margin-bottom: 28px; }
.privacy { padding-block: 48px 88px; line-height: 1.7; }
.privacy .brand { margin-bottom: 38px; }
.privacy h1 { margin-bottom: 20px; }
.privacy h2 { margin: 34px 0 9px; font-size: 20px; font-weight: 500; line-height: 1.35; }
.privacy p { margin: 10px 0; line-height: 1.7; }
.privacy .page-footer { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); }
.brand { display: block; width: min(190px, 54vw); height: auto; margin: 0 auto 34px; }
h1 { margin: 0; font-size: 38px; font-weight: 500; line-height: 1.2; }
.home > p { color: var(--muted); margin: 13px 0 25px; line-height: 1.6; }
.join-form { width: 100%; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; }
.join-form input { min-height: 54px; font-size: 17px; }
.join-form button { min-height: 54px; }
.lobby .join-form { width: min(100%, 430px); display: grid; grid-template-columns: 1fr; gap: 9px; margin-top: 0; text-align: left; }
.id-label { color: var(--muted); font-size: 14px; font-weight: 550; }
.lobby .id-label { text-align: center; }
.join-controls { display: grid; grid-template-columns: minmax(0, 1fr) 190px; align-items: center; gap: 10px; }
.id-segments { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) 12px minmax(0, 1fr) 12px minmax(0, 1fr); align-items: center; gap: 3px; }
.lobby .id-segment { min-width: 0; min-height: 58px; padding: 8px 4px; border-color: #d8ddda; border-radius: 9px; box-shadow: 0 2px 8px rgb(20 25 35 / 4%); font-size: 17px; font-weight: 600; text-align: center; text-transform: lowercase; }
.id-separator { color: var(--muted); font-size: 17px; text-align: center; }
.lobby .join-controls button { min-height: 58px; border-color: var(--meet-green-hover); border-radius: 9px; background: var(--meet-green); font-size: 14px; font-weight: 600; white-space: nowrap; }
.lobby .join-controls button:hover { border-color: #00574c; background: var(--meet-green-hover); }
.lobby .error { width: min(100%, 460px); margin: 14px 0 0; text-align: left; }
.lobby .contact-block { width: min(100%, 460px); margin-top: 38px; }
.lobby .contact { margin: 0; }
.lobby .page-footer { margin-top: 32px; }
.error { color: #982828; font-size: 14px; }
.contact { margin-top: 44px; color: var(--muted); text-align: center; line-height: 1.75; }
.appointment { width: min(100% - 40px, 640px); min-height: 100vh; margin-inline: auto; display: flex; flex-direction: column; justify-content: flex-start; align-items: center; padding: clamp(36px, 7vh, 72px) 0 48px; text-align: center; }
.appointment .brand { margin-bottom: 28px; }
.eyebrow { margin: 0 0 10px; color: var(--muted); font-size: 14px; }
.appointment h1 { max-width: 560px; font-size: 28px; font-weight: 650; line-height: 1.3; overflow-wrap: anywhere; text-wrap: balance; }
.when-card { width: min(100%, 520px); min-height: 76px; display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 10px; margin-top: 22px; padding: 14px 16px; border: 1px solid #e7e8eb; border-radius: 10px; background: #fff; box-shadow: 0 3px 14px rgb(20 25 35 / 7%); }
.when-icon { width: 23px; height: 23px; justify-self: center; fill: none; stroke: #646464; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.when { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; column-gap: 6px; row-gap: 3px; margin: 0; color: var(--ink); line-height: 1.5; }
.when strong { font-weight: 600; }
.when small { flex-basis: 100%; color: var(--muted); font-size: 13px; }
.calendar-action { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #d8e8e2; border-radius: 7px; background: #f7fbf9; color: #315d54; }
.calendar-action:hover { border-color: #a9cbbd; background: #eaf5ef; color: #164b42; }
.calendar-action:focus-visible { outline: 3px solid #7b9bd1; outline-offset: 2px; }
.calendar-action svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.countdown-board { width: min(100%, 520px); display: grid; grid-template-columns: minmax(0,1fr) 10px minmax(0,1fr) 10px minmax(0,1fr) 10px minmax(0,1fr); align-items: start; gap: 7px; margin: 32px 0 28px; font-variant-numeric: tabular-nums; }
.countdown-unit { min-width: 0; text-align: center; }
.countdown-digits { display: grid; grid-template-columns: repeat(var(--digit-count, 2), minmax(0,1fr)); gap: 4px; }
.flip-digit { position: relative; min-width: 0; height: 64px; display: flex; align-items: center; justify-content: center; overflow: hidden; border: 1px solid #343434; border-radius: 4px; background: linear-gradient(180deg, #282828 0%, #202020 49.5%, #151515 50%, #1d1d1d 100%); color: #fff; font-size: 36px; font-weight: 550; line-height: 1; box-shadow: 0 2px 4px rgb(0 0 0 / 14%), inset 0 1px rgb(255 255 255 / 9%); transform-origin: center; backface-visibility: hidden; }
.countdown-board.is-imminent .countdown-unit[data-countdown-unit="minutes"] .flip-digit,
.countdown-board.is-imminent .countdown-unit[data-countdown-unit="seconds"] .flip-digit { border-color: #9a4545; background: linear-gradient(180deg, #853535 0%, #762b2b 49.5%, #612222 50%, #702828 100%); }
.countdown-board.is-past .flip-digit { border-color: #dedede; background: linear-gradient(180deg, #f2f2f2 0%, #e9e9e9 49.5%, #dcdcdc 50%, #e7e7e7 100%); color: #777; box-shadow: none; }
.countdown-board.is-past .countdown-separator { color: #a0a0a0; }
.countdown-board.is-past .unit-label { color: #767676; }
.flip-digit::after { position: absolute; inset: 50% 0 auto; height: 1px; background: rgb(0 0 0 / 38%); content: ""; }
.flip-digit.is-flipping { animation: digit-flip 360ms cubic-bezier(.2,.7,.25,1) both; }
.unit-label { display: block; margin-top: 9px; color: var(--muted); font-size: 12px; line-height: 1.3; }
.countdown-separator { margin-top: 17px; color: #8a8a8a; font-size: 20px; line-height: 1; text-align: center; }
@keyframes digit-flip { 0% { transform: rotateX(0); } 45% { transform: rotateX(-78deg); } 100% { transform: rotateX(0); } }
.mood { min-height: 24px; margin: 0 0 32px; color: var(--muted); font-style: italic; line-height: 1.6; }
.lead { margin: 20px 0 18px; line-height: 1.65; }
.meet-button { position: relative; width: min(100%, 520px); min-height: 72px; display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 12px; padding: 10px 14px; border-color: var(--meet-green-hover); border-radius: 13px; background: var(--meet-green); color: #fff; box-shadow: 0 4px 12px rgb(0 105 92 / 22%); }
.meet-button:hover { border-color: #00574c; background: var(--meet-green-hover); color: #fff; box-shadow: 0 6px 16px rgb(0 105 92 / 27%); }
.meet-button:focus-visible { outline-color: var(--meet-green); }
.meet-icon-wrap { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; background: #fff; }
.meet-icon { width: 30px; height: 30px; flex: 0 0 auto; }
.meet-button-label { min-width: 0; color: #fff; text-align: center; font-size: 18px; font-weight: 650; line-height: 1.25; }
.meet-arrow { width: 44px; justify-self: end; text-align: right; font-size: 19px; }
.tools { width: min(100%, 520px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 32px; }
.tool-button { min-height: 120px; flex-direction: column; gap: 8px; padding: 15px 12px; border: 1px solid #e4e6ea; border-radius: 10px; background: #fff; color: var(--ink); box-shadow: 0 2px 10px rgb(20 25 35 / 5%); text-align: center; }
.tool-button:hover { border-color: #c8ced8; background: #fafbfc; color: var(--ink); }
.tool-button:disabled { opacity: 1; cursor: default; }
.tool-button.is-active { border-color: #bfd9c9; background: #f6faf7; color: #245b3c; }
.tool-button.is-active svg { fill: currentColor; }
.tool-button.is-expired { border-color: #f0f1f2; background: #fafafa; color: #a6a8aa; box-shadow: none; }
.tool-button.is-expired svg { color: #c4c7c9; }
.tool-button.is-expired span { color: #a6a8aa; font-weight: 500; }
.tool-button svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tool-button span { font-size: 15px; font-weight: 600; line-height: 1.35; }
.tool-button small { color: var(--muted); font-size: 12px; font-weight: 400; line-height: 1.4; }
.tool-button small[hidden] { display: none; }
.tech { width: min(100%, 480px); margin-top: 24px; padding: 18px; border: 1px solid #e4e6ea; border-radius: 12px; background: #fafafa; box-shadow: 0 3px 12px rgb(20 25 35 / 5%); text-align: left; }
.tech [hidden] { display: none !important; }
.tech-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.tech-result { min-width: 0; min-height: 76px; display: grid; grid-template-columns: 22px minmax(0, 1fr) 18px; align-items: center; gap: 8px; padding: 11px; border: 1px solid #e4e6ea; border-radius: 8px; background: #fff; }
.tech-device-icon { width: 22px; height: 22px; fill: none; stroke: #59636a; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tech-result-copy { min-width: 0; display: grid; gap: 3px; }
.tech-result-label { color: var(--ink); font-size: 14px; font-weight: 600; }
.tech-result-state { color: var(--muted); font-size: 12px; line-height: 1.35; overflow-wrap: anywhere; }
.tech-result.is-ok .tech-result-state { color: #27764a; font-weight: 600; }
.tech-result.is-error .tech-result-state { color: #8b3c31; font-weight: 550; }
.tech-check { width: 18px; height: 18px; fill: none; stroke: #27834e; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.tech-result.is-ok .tech-check { opacity: 1; }
.tech-status { margin: 0 0 14px; color: var(--muted); line-height: 1.5; }
.tech video { width: 100%; max-height: 280px; aspect-ratio: 16/9; border-radius: 8px; background: #171717; object-fit: cover; }
.meter { height: 8px; overflow: hidden; margin: 12px 0 18px; border-radius: 99px; background: #e7e7e7; }
.meter span { display: block; height: 100%; width: 0; background: #2d8a71; transition: width 80ms linear; }
.tech-retry { margin: 14px 0; padding: 12px; border: 1px solid #e4e6ea; border-radius: 8px; background: #fff; }
.tech-retry > p { margin: 0 0 10px; color: var(--ink); font-size: 13px; font-weight: 600; }
.tech-retry > div { display: flex; flex-wrap: wrap; gap: 8px; }
.tech-retry button { min-height: 44px; border-radius: 7px; font-size: 14px; }
.tech-toggle { width: 100%; min-height: 48px; border-radius: 9px; font-weight: 600; }
.tech-toggle.is-running { border-color: #aaa; background: #fff; color: var(--ink); }
.tech-toggle.is-running:hover { background: #f1f1f1; color: var(--ink); }
.appointment .contact-block { width: min(100%, 520px); margin-top: 50px; }
.appointment .contact { margin: 0; }
.contact-action { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; padding: 0 14px; border: 1px solid #cbd9d5; border-radius: 8px; background: #f2f7f5; color: #34544d; font-size: 14px; font-weight: 550; text-decoration: none; transition: background-color 140ms ease, border-color 140ms ease; }
.contact-action:hover { border-color: #b5cbc4; background: #e8f2ef; color: #26483f; }
.contact-action:focus-visible { outline-color: #568477; }
.contact-icon { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.page-footer { margin-top: 10px; font-size: 14px; line-height: 1.6; text-align: center; }
.page-footer > a { display: inline-block; margin-bottom: 8px; }
.legal-links { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.legal-links a { display: inline-flex; align-items: center; min-height: 44px; }
.public-message .page-footer { margin-top: 30px; padding-top: 16px; border-top: 1px solid var(--line); }
.public-message { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-block: 44px; text-align: center; }
.public-message .brand { margin-bottom: 30px; }
.public-message h1 { font-size: 28px; font-weight: 600; line-height: 1.3; text-wrap: balance; }
.public-message > p { max-width: 420px; margin: 12px 0 0; color: var(--muted); line-height: 1.6; }
.public-message > .button { margin-top: 22px; border-radius: 8px; }
.admin-header { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px max(24px, calc((100vw - 1120px) / 2)); border-bottom: 1px solid var(--line); }
.admin-header .brand { width: 150px; margin: 0; }
.admin-header .small { min-height: 38px; padding-inline: 13px; }
.admin-actions { display: flex; align-items: center; gap: 22px; }
.account-menu { position: relative; }
.account-menu summary { min-width: 100px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 12px; border: 1px solid var(--line); border-radius: 5px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 500; cursor: pointer; list-style: none; transition: border-color 140ms ease, background-color 140ms ease, box-shadow 140ms ease; }
.account-menu summary::-webkit-details-marker { display: none; }
.account-menu summary:hover, .account-menu[open] summary { border-color: #b8c3d3; background: #f8faff; }
.account-menu summary:focus-visible { outline: 3px solid #7b9bd1; outline-offset: 3px; }
.account-icon { width: 18px; height: 18px; flex: 0 0 auto; }
.account-chevron { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform 140ms ease; }
.account-menu[open] .account-chevron { transform: rotate(180deg); }
.account-panel { position: absolute; z-index: 5; top: calc(100% + 8px); right: 0; width: min(320px, calc(100vw - 32px)); padding: 10px; border: 1px solid #e4e6e9; border-radius: 7px; background: #fff; box-shadow: 0 12px 32px rgb(0 0 0 / 15%), 0 2px 6px rgb(0 0 0 / 6%); animation: menu-in 130ms ease-out both; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
.account-state { min-height: 42px; display: flex; align-items: center; gap: 9px; margin: 0 0 5px; padding: 7px 10px; border-radius: 4px; background: #f5f7f8; color: var(--muted); font-size: 13px; line-height: 1.4; }
.account-state.good { color: #246a4e; background: #f1f7f3; }
.status-mark { width: 19px; height: 19px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #dceee3; }
.status-mark .account-icon { width: 13px; height: 13px; }
.status-mark.off { width: 8px; height: 8px; margin-inline: 6px 5px; background: #9b6b34; }
.account-action { width: 100%; min-height: 44px; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 0; border-radius: 4px; background: transparent; color: #315d98; text-align: left; text-decoration: none; cursor: pointer; font-size: 14px; line-height: 1.4; }
.account-action:hover { background: #f3f6fb; color: #193c79; text-decoration: none; }
.account-action:focus-visible { outline: 3px solid #7b9bd1; outline-offset: 1px; }
.account-action.disconnect { color: #8b3c31; }
.account-action.disconnect:hover { background: #fbf3f2; color: #742d25; }
.account-form { margin: 3px 0 0; padding-bottom: 5px; border-bottom: 1px solid var(--line); }
.account-action.logout { margin-top: 5px; color: var(--ink); }
.account-action.logout:hover { background: #f3f3f3; }
.admin { width: min(100% - 48px, 1120px); margin: 52px auto 100px; }
.admin > h1 { margin-bottom: 30px; font-size: 34px; }
.admin-section { padding: 30px 0 34px; border-top: 1px solid var(--line); }
.admin-section h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 19px; font-size: 21px; font-weight: 500; }
.appointment-count { min-width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #e1e4e5; border-radius: 50%; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.admin-section .quiet { color: var(--muted); font-size: 14px; line-height: 1.6; }
.connection { margin: 0 0 14px; }
.connection.good { color: #246a4e; }
.inline { display: inline; }
.notice { border-left: 3px solid var(--blue); padding: 12px 14px; background: #f5f8fd; }
.connection-warning { border-left-color: #a87528; background: #fff8ec; }
.appointment-form { width: min(100%, 760px); display: grid; gap: 18px; }
.appointment-form label { font-size: 14px; }
.appointment-form input, .time-selects select { border-color: #d7dbdc; border-radius: 6px; }
.appointment-form > button { width: min(100%, 380px); min-height: 52px; border-radius: 7px; font-weight: 600; }
.date-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.time-field { display: grid; align-content: start; gap: 7px; font-size: 14px; font-weight: 600; }
.time-selects { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; }
.time-selects select { width: 100%; min-height: 48px; border: 1px solid #aaa; border-radius: 2px; padding: 10px 12px; background: #fff; color: var(--ink); }
.time-selects > span { color: var(--muted); }
.button-spinner { width: 19px; height: 19px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; animation: button-spin 900ms linear infinite; }
.appointment-form button[aria-busy="true"]:disabled { opacity: 1; background: #363636; cursor: wait; }
@keyframes button-spin { to { transform: rotate(360deg); } }
.check { display: flex; align-items: center; gap: 9px; }
.check input { width: 18px; min-height: 18px; margin: 0; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }
.empty-appointments { margin: 0; padding: 22px 16px; border: 1px dashed #d8dddf; border-radius: 7px; color: var(--muted); }
.appointment-list { border-top: 1px solid var(--line); }
.appointment-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 20px; min-width: 0; padding: 18px 12px; border-bottom: 1px solid var(--line); transition: background-color 140ms ease; }
.appointment-row:hover { background: #fafbfb; }
.appointment-summary { min-width: 0; display: grid; justify-items: start; gap: 7px; }
.appointment-summary > strong { font-size: 16px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.appointment-summary time { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; line-height: 1.4; }
.appointment-icon { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.appointment-links { min-width: 0; grid-column: 1; grid-row: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 6px 16px; }
.appointment-links > a { min-height: 40px; display: inline-flex; align-items: center; gap: 6px; padding: 0; border-radius: 5px; color: var(--blue); font-size: 14px; text-decoration: none; }
.appointment-links > a:hover { background: #f2f5fa; color: #193c79; text-decoration: underline; text-underline-offset: 3px; }
.appointment-links .appointment-icon { width: 16px; height: 16px; }
.appointment-link-disabled { color: var(--muted); font-size: 14px; }
.row-actions { grid-column: 2; grid-row: 1 / span 2; display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.delete-form { margin: 0; }
.icon-action { width: 44px; height: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 1px solid #dce0e2; border-radius: 7px; background: #fff; color: #43505b; text-decoration: none; cursor: pointer; transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease; }
.icon-action:hover { border-color: #bac6d0; background: #f5f7f8; color: #1c3c62; }
.icon-action:focus-visible { outline: 3px solid #7b9bd1; outline-offset: 2px; }
.icon-action .appointment-icon { width: 19px; height: 19px; }
.icon-action.delete-action { color: #8b3c31; }
.icon-action.delete-action:hover { border-color: #e2c5c1; background: #fdf3f2; color: #71362f; }
.narrow-admin { max-width: 760px; }
.narrow-admin > h1 { margin-bottom: 22px; }
.invite-section { width: min(100%, 760px); margin: 24px 0 30px; padding: 18px; border: 1px solid #e4e6e9; border-radius: 8px; background: #fafbfa; }
.invite-section h2 { margin: 0 0 6px; font-size: 18px; font-weight: 600; }
.invite-section > .quiet { margin: 0 0 12px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.invite-section textarea { min-height: 310px; overflow-wrap: anywhere; word-break: break-all; border-color: #d8ddda; border-radius: 5px; background: #fff; font-size: 14px; line-height: 1.6; }
.invite-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.invite-copy { min-height: 44px; gap: 9px; border-radius: 7px; }
.invite-copy svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.invite-feedback { margin: 0; font-size: 13px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 640px) {
  h1 { font-size: 28px; }
  .lobby { width: min(100% - 36px, 640px); padding-block: 32px; }
  .lobby .brand { width: min(165px, 48vw); margin-bottom: 24px; }
  .lobby .join-controls { width: min(100%, 340px); grid-template-columns: 1fr; margin-inline: auto; }
  .lobby .id-label { width: min(100%, 250px); margin-inline: auto; }
  .id-segments { width: min(100%, 250px); margin-inline: auto; }
  .lobby .join-controls button { width: min(100%, 250px); margin-inline: auto; }
  .lobby .contact-block { margin-top: 32px; }
  .lobby .page-footer { margin-top: 26px; }
  .appointment { width: min(100% - 36px, 640px); padding-top: max(32px, 7vh); }
  .appointment .brand { width: min(165px, 48vw); margin-bottom: 24px; }
  .appointment h1 { font-size: 25px; }
  .when-card { min-height: 72px; gap: 5px; margin-top: 18px; padding: 12px 9px; }
  .when { font-size: 15px; }
  .countdown-board { gap: 4px; margin-top: 26px; }
  .countdown-digits { gap: 3px; }
  .flip-digit { height: 52px; border-radius: 3px; font-size: 26px; }
  .countdown-separator { margin-top: 14px; font-size: 16px; }
  .unit-label { margin-top: 7px; font-size: 11px; }
  .meet-button { min-height: 68px; grid-template-columns: 36px minmax(0, 1fr) 36px; gap: 8px; padding-inline: 9px; }
  .meet-icon-wrap { width: 36px; height: 36px; border-radius: 8px; }
  .meet-icon { width: 27px; height: 27px; }
  .meet-button-label { font-size: 16px; }
  .meet-arrow { width: 36px; }
  .tools { grid-template-columns: 1fr; gap: 10px; margin-top: 32px; }
  .tool-button { min-height: 104px; }
  .tech { padding: 14px; }
  .tech-results { gap: 8px; }
  .tech-result { grid-template-columns: 20px minmax(0, 1fr) 16px; gap: 6px; padding: 9px; }
  .tech-device-icon { width: 20px; height: 20px; }
  .tech-result-label { font-size: 13px; }
  .tech-result-state { font-size: 12px; }
  .tech-retry > div { display: grid; grid-template-columns: 1fr; }
  .admin-header { padding-inline: 18px; }
  .admin-header .brand { width: 128px; }
  .admin-actions { gap: 12px; }
  .admin { width: calc(100% - 36px); margin-top: 34px; }
  .invite-section { margin-block: 20px 26px; padding: 14px; }
  .invite-copy { width: 100%; }
  .date-fields { grid-template-columns: 1fr; }
  .actions { flex-direction: column; align-items: stretch; }
  .actions > * { width: 100%; }
}
@media (max-width: 860px) { .appointment-row { gap: 2px 12px; padding: 16px 4px; } .appointment-links { gap: 4px 12px; } }
@media (max-width: 400px) { .appointment-row { grid-template-columns: minmax(0, 1fr); } .row-actions { grid-column: 1; grid-row: auto; justify-content: flex-start; margin-top: 2px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } .button-spinner { animation: none; } }
