@font-face {
  font-family: "Instrument Sans";
  src: url("assets/instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/ibm-plex-mono.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: light;
  --canvas: #edf5ff;
  --ink: #101d35;
  --muted: #425677;
  --line: #c3d5ee;
  --accent: #174fc5;
  --accent-hover: #123c96;
  --soft-blue: #daeaff;
  --control-line: #7899c9;
  --on-accent: #ffffff;
  --font-body: "Instrument Sans", Arial, sans-serif;
  --font-spec: "IBM Plex Mono", monospace;
  --gutter: clamp(24px, 3.5vw, 64px);
  --radius: 5px;
  --ease: cubic-bezier(.22, .7, .22, 1);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--canvas); }
.catalog-page, .catalog-page body { overflow: hidden; overscroll-behavior: none; }
body { margin: 0; color: var(--ink); font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.page { max-width: 1920px; height: 100dvh; margin: auto; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.header { min-height: clamp(54px, 8dvh, 76px); margin: 0 var(--gutter); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; border-bottom: 1px solid var(--line); }
.header-menu { display: contents; }
.mobile-menu-toggle { display: none; }
.wordmark { font-size: 24px; font-weight: 600; letter-spacing: -1.1px; white-space: nowrap; }
.brand-dot { display: inline-block; width: 6px; height: 6px; margin-left: 5px; background: var(--accent); border-radius: 50%; }
.navigation, .account { display: flex; align-items: center; gap: 30px; }
.navigation a, .navigation button, .sign-in { display: flex; align-items: center; min-height: 44px; padding: 0; background: none; border: 0; font-size: 14px; }
.navigation a, .navigation button { position: relative; }
.navigation a::after, .navigation button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 180ms ease; }
.navigation a:hover::after, .navigation button:hover::after { transform: scaleX(1); }
.account { justify-self: end; gap: 24px; }
.navigation a, .navigation button, .account > button { white-space: nowrap; }
.profile { position: relative; z-index: 160; }
.rentals-link, .profile summary { display: grid; width: 42px; height: 42px; place-items: center; list-style: none; cursor: pointer; }
.profile summary::-webkit-details-marker { display: none; }
.rentals-link { margin-right: -16px; }
.rentals-link:hover, .profile summary:hover, .profile[open] summary { color: var(--accent); }
.rentals-link svg, .profile svg { width: 21px; height: 21px; }
.profile-panel { position: absolute; top: calc(100% + 8px); right: 0; width: min(238px, calc(100vw - 44px)); display: grid; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 14px 34px #23467224; font-size: 14px; }
.profile-panel a, .profile-panel button { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 10px; border: 0; border-radius: 4px; background: none; text-align: left; }
.profile-panel .mobile-rentals-link, .profile-email { display: none; }
.profile-panel a:hover, .profile-panel button:hover { background: #edf5ff; }
.profile-panel .profile-sign-out { color: #a02839; margin-top: 4px; border-top: 1px solid var(--line); }
.profile-sign-out svg { width: 17px; height: 17px; }
.profile-email, .profile-status { padding: 8px 10px; margin: 0; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.profile-status { color: #a02839; }
.profile-status:empty { display: none; }
.button { min-height: 48px; padding: 12px 20px; display: inline-flex; align-items: center; justify-content: center; color: var(--on-accent); background: var(--accent); border: 1px solid var(--accent); border-radius: var(--radius); transition: background 180ms ease, transform 180ms ease; }
.button:hover { background: var(--accent-hover); transform: translateY(-2px); }
.button:active { transform: translateY(1px); }
.button-small { min-height: 44px; font-size: 14px; padding: 9px 16px; }
.sign-in:hover { color: var(--accent); }
.workstations { display: grid; grid-template-columns: minmax(0, 1fr) clamp(275px, 27vw, 380px); min-height: 0; margin: 0 var(--gutter); }
.showcase { min-width: 0; min-height: 0; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.intro { min-width: 0; padding: clamp(10px, 4dvh, 38px) 24px 8px 0; }
h1 { font-size: clamp(29px, min(4.8vw, 8dvh), 78px); line-height: 1.01; letter-spacing: -.065em; font-weight: 500; margin: 0; }
h1 span { color: var(--accent); }
.intro p { font-size: clamp(14px, 1.25vw, 19px); line-height: 1.45; color: var(--muted); margin: clamp(6px, 1.75dvh, 18px) 0 0; }
.mobile-break { display: none; }
.scene { position: relative; min-width: 0; margin-left: -20px; overflow: hidden; cursor: grab; touch-action: pinch-zoom; user-select: none; -webkit-user-select: none; border-radius: 2px; }
.plane {
  position: absolute;
  width: 180%;
  height: 190%;
  pointer-events: none;
  background-image: linear-gradient(to right, #84a9df87 1px, transparent 1px), linear-gradient(to bottom, #84a9df87 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse, #000 14%, transparent 78%);
}
.is-dragging, .is-dragging button { cursor: grabbing; user-select: none; -webkit-user-select: none; }
.devices {
  position: absolute;
  inset: 0;
  pointer-events: none;
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent),
    linear-gradient(180deg, transparent, #000 4%, #000 97%, transparent);
  mask-composite: intersect;
}
.device { position: absolute; top: 0; left: 0; transform-origin: 0 0; will-change: transform, opacity; }
.device img { position: relative; width: 100%; height: auto; display: block; }
.device svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.selection-pointer { position: absolute; z-index: 131; width: clamp(14px, 2.1vw, 23px); aspect-ratio: 1.25; transform: translateX(-50%); background: var(--accent); clip-path: polygon(0 0, 100% 0, 50% 100%); pointer-events: none; }
.contact-shadow { fill: #19365a; opacity: .34; filter: blur(8px); }
.device:not(.is-reserved) .device-reservation { display: none; }
.reserved-outline { fill: none; stroke: var(--accent); stroke-width: calc(5px * var(--art-unit)); stroke-dasharray: calc(13px * var(--art-unit)) calc(9px * var(--art-unit)); }
.device-label { position: absolute; transform: translate(-50%, -15%); padding: .3em .65em; background: #ffefb2; border: .07em solid #b1791b; border-radius: .2em; white-space: nowrap; font-family: var(--font-spec); font-size: calc(29px * var(--art-unit)); font-weight: 700; color: #744a06; }
@media (max-width: 760px) {
  .device-label { transform: translate(-50%, -34%); font-size: calc(34px * var(--art-unit)); }
}
.scene-controls { padding: 5px 24px clamp(6px, 1.5dvh, 16px) 0; display: flex; align-items: center; gap: 16px; }
.browse-controls { display: flex; gap: 8px; }
.control { min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--control-line); background: transparent; border-radius: var(--radius); font-size: 13px; transition: background 180ms ease, transform 180ms ease; }
@media (hover: hover) and (pointer: fine) {
  .control:hover { background: var(--soft-blue); transform: translateY(-2px); }
  .control:active { transform: translateY(1px); }
}
.gesture-hint { color: var(--muted); font-size: 13px; }
.touch-hint { display: none; }
.mono { font-family: var(--font-spec); font-size: 12px; font-variant-numeric: tabular-nums; }
.position { margin-left: auto; color: var(--muted); }
.specifications { position: relative; min-width: 0; min-height: 0; padding: clamp(8px, 3.5dvh, 32px) 0 0 24px; border-left: 1px solid var(--line); display: flex; flex-direction: column; }
.rail-heading { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.rail { --row-height: 204px; position: relative; flex: 1; min-height: 0; overflow: clip; touch-action: pinch-zoom; }
.configuration { position: absolute; left: 0; top: 0; width: 100%; height: var(--row-height); padding: 0 0 10px; will-change: transform, opacity; }
.configuration-inner { position: relative; height: 100%; display: flex; flex-direction: column; padding: 15px 44px 15px 18px; background: #f6faff; border: 1px solid var(--line); border-radius: 6px; transition: background-color 150ms ease, box-shadow 150ms ease; }
.manufacturer-mark { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.configuration-inner:hover, .configuration.is-selected .configuration-inner { background: #e6f0ff; }
.configuration.is-selected .configuration-inner { border-color: #8caee2; }
.rail-pointer { left: -1px; top: var(--row-center); transform: translate(-50%, -50%) rotate(-90deg); }
.configuration-select { flex: none; margin-bottom: 10px; width: 100%; display: block; padding: 0; border: 0; text-align: left; background: none; min-height: 68px; touch-action: pinch-zoom; }
.configuration-select:focus-visible { outline-offset: -2px; }
.status { display: flex; align-items: center; gap: 4px; width: fit-content; padding: 1px 7px; border-radius: 4px; font-size: 12px; font-weight: 600; margin-bottom: 4px; }
.status.available { color: #176143; background: #def4e8; }
.status.reserved { color: #775018; background: #fff0d6; }
.status::before { content: ""; width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: currentColor; margin-right: 2px; }
.configuration-title { display: block; font-size: 22px; font-weight: 500; letter-spacing: -.65px; margin-bottom: 4px; }
.configuration-year { font-size: 12px; color: var(--muted); letter-spacing: 0; white-space: nowrap; }
.configuration-spec { display: block; font-size: 13px; line-height: 1.6; color: var(--muted); }
.configuration-detail { display: block; color: var(--muted); font-size: 12px; line-height: 1.45; }
.configuration-select:hover .configuration-title { color: var(--accent); }
.waitlist-action { margin-top: auto; }
.waitlist-link { min-height: 32px; padding: 0 8px; border: 1px solid var(--control-line); border-radius: var(--radius); color: var(--accent); background: transparent; font-size: 12px; }
.waitlist-link:hover { background: var(--soft-blue); }
#waitlist { width: min(480px, calc(100vw - 32px)); }
.waitlist-machine { margin-bottom: 20px; }
.waitlist-art { display: block; width: min(100%, 230px); height: auto; margin: -18px auto -12px; }
.waitlist-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.waitlist-heading h3 { margin: 0; font-size: 21px; }
.waitlist-heading .waitlist-chip { margin: 3px 0 0; }
.waitlist-machine > .status { margin: 10px 0 14px; }
.rental-actions { display: flex; align-items: center; gap: 8px; margin-top: auto; margin-right: -32px; }
.choose { min-height: 36px; padding: 6px 8px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.catalog-price { display: inline-flex; align-items: center; min-height: 36px; color: var(--accent); font-size: 11px; font-variant-numeric: tabular-nums; }
.catalog-price:hover { text-decoration: underline; text-underline-offset: 3px; }
.preview-note { font-size: 10px; line-height: 1.35; color: var(--muted); margin: 5px 0 7px; }
.footer { min-height: 40px; margin: 0 var(--gutter); padding: 0 0 env(safe-area-inset-bottom); border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--muted); font-size: 11px; }
.footer-brand { font-size: 11px; color: var(--muted); font-weight: 400; }
.footer-links { display: flex; flex-wrap: wrap; column-gap: 14px; }
.footer-links a, .footer-links button { display: inline-flex; align-items: center; min-height: 38px; padding: 0; border: 0; background: none; }
.footer-links a:hover, .footer-links button:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; padding: 15px; z-index: 100; background: var(--canvas); }
dialog { max-width: min(480px, calc(100vw - 32px)); max-height: calc(100dvh - 24px); overflow: auto; padding: 40px 30px 30px; border: 1px solid var(--line); border-radius: 8px; background: var(--canvas); color: var(--ink); }
#information { width: 480px; height: 470px; }
@media (max-width: 380px) {
  #information { height: 505px; }
}
@media (max-width: 300px) {
  #information { height: 525px; }
}
#information:has(#account-code) { height: auto; }
dialog::backdrop { background: #101d3566; }
.dialog-close { position: absolute; right: 12px; top: 12px; font-size: 22px; }
dialog h2 { font-size: 32px; font-weight: 500; letter-spacing: -1px; margin: 12px 0 20px; }
dialog p, dialog dd { line-height: 1.65; color: var(--muted); font-size: 15px; }
#email-instructions { overflow-wrap: anywhere; }
.dialog-done { width: 100%; margin-top: 20px; }
.account-form { display: grid; gap: 12px; }
.account-form input { width: 100%; border: 1px solid var(--control-line); border-radius: var(--radius); padding: 10px 12px; font: inherit; color: var(--ink); background: #fff; }
.account-form input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.password-field { position: relative; }
.password-field input { min-height: 44px; padding-inline-end: 48px; }
.password-toggle { position: absolute; inset-block: 0; inset-inline-end: 0; display: grid; place-items: center; width: 44px; padding: 0; border: 0; border-radius: var(--radius); background: transparent; color: var(--muted); }
.password-toggle:hover { color: var(--accent); }
.password-toggle:focus-visible { outline-offset: -4px; }
.password-toggle svg { width: 20px; height: 20px; }
.account-form .account-status { margin: 0; color: #8a2636; }
.account-status:empty { display: none; }
.account-form .account-consent { margin: 0; font-size: 13px; line-height: 1.5; }
.account-signup { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; column-gap: 10px; font-size: 14px; }
.account-signup p { margin: 0; font-size: inherit; }
.account-signup .account-back { padding-inline: 0; }
.account-hint { color: var(--muted); font-size: 12px; }
.account-back { background: none; border: 0; color: var(--accent); min-height: 38px; }
.account-back:hover, #dialog-content a, .legal-document a { color: var(--accent); text-decoration: underline; }
.account-email { overflow-wrap: anywhere; }
.button:disabled { opacity: .7; cursor: wait; }
html.legal-page, .legal-page body { overflow: auto; }
.legal-document { width: min(100% - 40px, 760px); margin: 32px auto 64px; line-height: 1.65; }
.legal-document h1 { font-size: clamp(34px, 6vw, 58px); margin: 24px 0 8px; }
.legal-document h2 { font-size: 21px; margin-top: 32px; }
.legal-document p, .legal-document li { color: var(--muted); }
@keyframes enter { from { opacity: 0; } to { opacity: 1; } }
[data-enter] { animation: enter 650ms var(--ease) both; }
@media (max-width: 1100px) {
  .header { gap: 15px; }
  .wordmark { font-size: 21px; }
  .navigation { gap: 18px; }
  .account { gap: 14px; }
  .workstations { grid-template-columns: minmax(0, 1fr) clamp(230px, 34vw, 285px); }
  .specifications { padding-left: 16px; }
  .rail { --row-height: 232px; }
  .configuration-title { font-size: 20px; }
  .configuration-spec { font-size: 12px; }
  .configuration-detail, .configuration .status { font-size: 11px; }
  h1 { font-size: clamp(29px, min(5vw, 8dvh), 58px); }
}
@media (max-width: 760px) and (min-height: 520px), (max-width: 480px) {
  :root { --gutter: 22px; }
  .button-small { font-size: 12px; min-height: 36px; padding: 6px 11px; }
  .workstations { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; }
  .intro { padding: clamp(8px, 2.6dvh, 24px) 0 4px; }
  h1 { font-size: clamp(26px, min(9vw, 6dvh), 53px); line-height: 1.04; }
  .intro p { margin-top: clamp(5px, 1.4dvh, 12px); font-size: 14px; }
  .mobile-break { display: initial; }
  .scene { margin-inline: -22px; }
  .scene-controls { padding: 3px 0 13px; gap: 12px; }
  .scene-controls .control { min-height: 36px; }
  .gesture-hint { font-size: 11px; }
  .desktop-hint { display: none; }
  .touch-hint { display: inline; }
  .specifications { border-left: 0; padding: 0; }
  .specifications::before { content: ""; position: absolute; inset-inline: 0; top: var(--rail-top); border-top: 1px solid var(--line); }
  .rail-heading { margin-bottom: 16px; font-size: 11px; }
  .rail { --row-height: 194px; flex: 0 0 calc(var(--row-height) + 22px); margin-right: -22px; }
  .rail-pointer { left: var(--card-center); top: var(--rail-top); transform: translate(-50%, -50%); }
  .configuration { top: 15px; width: min(270px, calc(100vw - 44px)); padding: 0 10px 8px 0; }
  .configuration-inner { padding: 12px 14px; }
  .configuration-select { margin-bottom: 8px; }
  .configuration .status { max-width: calc(100% - 28px); }
  .rental-actions { margin-right: 0; }
  .manufacturer-mark { width: 19px; height: 19px; right: 14px; top: 12px; transform: none; }
  .choose { min-height: 34px; }
  .status { font-size: 11px; }
  .preview-note { font-size: 9px; margin: 4px 0; }
  .footer { gap: 7px; font-size: 10px; }
  .footer-brand { display: none; }
  .footer-links { column-gap: 9px; }
  .footer > :last-child { font-size: 9px; white-space: nowrap; }
}
@media (max-width: 360px) {
  :root { --gutter: 16px; }
  .wordmark { font-size: 18px; }
  .account { gap: 7px; }
  .scene { margin-inline: -16px; }
  .rail { margin-right: -16px; }
  .gesture-hint { display: none; }
  .footer-copyright-site { display: none; }
}
@media (max-height: 500px) {
  .intro { padding-top: 8px; }
  .scene-controls .control { min-height: 34px; }
  .configuration-title { font-size: 19px; }
  .configuration-detail { font-size: 11px; }
  .configuration-spec { font-size: 12px; }
  .footer { min-height: 35px; }
  .footer-links a, .footer-links button { min-height: 34px; }
}
@media (min-width: 481px) and (max-width: 600px) and (max-height: 519px) {
  .button-small { font-size: 11px; }
  .button-small { padding-inline: 8px; }
  .gesture-hint { display: none; }
}
@media (max-width: 480px) and (max-height: 520px) {
  .catalog-page, .catalog-page body { overflow-y: auto; }
  .catalog-page .page { height: auto; min-height: 100dvh; }
  .workstations { grid-template-rows: minmax(280px, 1fr) auto; }
  .scene, .rail, .configuration-select { touch-action: pan-y pinch-zoom; }
  .intro p { font-size: 12px; }
  .mobile-break { display: none; }
}
@media (max-width: 760px) {
  .selection-pointer { width: 21px; }
  .rail-pointer { width: 24px; }
  .header { position: relative; z-index: 160; grid-template-columns: minmax(0, 1fr) auto; min-height: 56px; gap: 12px; }
  .mobile-menu-toggle { display: grid; width: 44px; height: 44px; place-items: center; border: 0; border-radius: var(--radius); background: none; }
  .mobile-menu-toggle svg { width: 24px; height: 24px; }
  .mobile-menu-toggle:hover, .mobile-menu-toggle[aria-expanded="true"] { color: var(--accent); background: var(--soft-blue); }
  .header-menu { display: block; position: absolute; top: calc(100% + 6px); right: 0; width: min(288px, 100%); max-height: calc(100dvh - 70px); overflow-y: auto; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 14px 34px #23467224; visibility: hidden; opacity: 0; transform: translateY(-7px); transition: opacity 180ms ease, transform 180ms var(--ease), visibility 0s 180ms; }
  .mobile-menu-toggle[aria-expanded="true"] + .header-menu { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .header-menu .navigation, .header-menu .account { display: grid; gap: 0; }
  .header-menu .account { width: 100%; border-top: 1px solid var(--line); margin-top: 5px; padding-top: 5px; }
  .header-menu .navigation a, .header-menu .sign-in { padding: 0 10px; border-radius: 4px; }
  .header-menu .navigation a:hover, .header-menu .sign-in:hover { background: #edf5ff; }
  .header-menu .navigation a::after { display: none; }
  .header-menu .account > .button { margin: 4px 10px 6px; }
  .header-menu .rentals-link, .header-menu .profile summary { display: none; }
  .header-menu .profile-panel .mobile-rentals-link { display: flex; }
  .header-menu .profile-email { display: block; }
  .header-menu .profile-panel { position: static; width: 100%; padding: 0; border: 0; box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}


.account-page .page { min-height: 100dvh; height: auto; grid-template-rows: auto 1fr auto; }
.rental-main { width: min(680px, calc(100% - 2 * var(--gutter))); margin: 0 auto; padding: clamp(26px, 5vh, 54px) 0; }
.rental-main h1 { margin: 14px 0 12px; font-size: clamp(36px, 6vw, 60px); }
.balance, #rental-status, .rental-empty p { color: var(--muted); }
#rental-status { text-align: center; }
#rental-status:empty { display: none; }
.rental-main:has(#dashboard:not([hidden])) { display: flex; flex-direction: column; width: min(1120px, calc(100% - 2 * var(--gutter))); padding-top: clamp(16px, 3vh, 36px); padding-bottom: 24px; }
#dashboard { display: flex; flex: 1; flex-direction: column; }
.dashboard-heading { text-align: center; }
.dashboard-heading h1 { margin-top: 10px; font-size: clamp(32px, 5vw, 51px); }
.rental-main:has(#checkout:not([hidden])) { width: min(1120px, calc(100% - 2 * var(--gutter))); }
#checkout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.65fr); align-items: start; gap: 20px clamp(22px, 4vw, 58px); }
@media (min-width: 761px) {
  #checkout:has(#invoice:not([hidden])) { align-items: stretch; }
}
#checkout > .text-link { grid-column: 1 / -1; justify-self: start; font-size: 14px; }
.checkout-machine { padding: clamp(16px, 2.4vw, 30px); border: 1px solid var(--line); border-radius: var(--radius); background: #fff8; }
.checkout-machine h1 { margin: 14px 0 4px; font-size: clamp(26px, 3vw, 40px); }
.checkout-device-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.checkout-brand, .rental-card-brand { flex: 0 0 auto; object-fit: contain; }
.checkout-chip { margin: 0 0 20px; color: var(--muted); font-size: 18px; }
.rental-machine-image { display: block; width: 110px; height: auto; flex: 0 0 auto; }
.checkout-machine .rental-machine-image { width: min(100%, 268px); margin-inline: auto; }
.checkout-specs { margin: 0; font-size: 14px; }
.checkout-specs div { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 10px 0; border-top: 1px solid var(--line); }
.checkout-specs dt { color: var(--muted); }
.checkout-specs dd { margin: 0; text-align: right; }
.rental-empty { display: grid; flex: 1; justify-items: center; place-content: center; gap: 16px; padding: 24px 0; text-align: center; }
.rental-empty p { margin: 0; }
#rentals { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-block: auto; padding: 10px 0 16px; }
#rentals:empty { display: none; }
.dashboard-support { margin: auto 0 0; padding-top: 28px; text-align: center; font-size: 14px; }
.checkout-form { display: grid; gap: 24px; min-width: 0; text-align: left; }
#ssh-key-field label { display: block; margin-bottom: 8px; font-weight: 600; }
#rental-ssh-key { width: 100%; padding: 10px 12px; border: 1px solid #afbdd0; border-radius: 8px; font: inherit; }
#ssh-key-hint { margin: 8px 0 0; font-size: .85rem; }
.rtx-ssh-details { margin: 0 0 16px; min-width: 0; }
.rtx-ssh-details pre { overflow-x: auto; padding: 10px 12px; background: #edf3fa; border-radius: 8px; font-size: .8rem; }
.choice-group { min-width: 0; border: 0; margin: 0; padding: 0; }
.choice-group legend { padding: 0; margin-bottom: 9px; font-size: 15px; font-weight: 600; }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.choices-currencies { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.choices-currencies .choice-content { padding: 10px; }
.choices-currencies .choice-content strong { font-size: 14px; }
.choices-currencies .choice-content > .currency-ticker { position: absolute; top: 11px; right: 9px; font-size: 10px; white-space: nowrap; }
@media (max-width: 1050px) and (min-width: 761px) {
  .choices-currencies { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .rental-main:has(#checkout:not([hidden])) { padding-top: 16px; }
  #checkout { grid-template-columns: minmax(0, 1fr); max-width: 590px; margin-inline: auto; }
  .checkout-machine .rental-machine-image { width: min(100%, 185px); }
}
.choice { position: relative; display: flex; cursor: pointer; }
.choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.choice-content { width: 100%; display: grid; align-content: start; justify-items: start; gap: 5px; padding: 14px; border: 1px solid var(--control-line); border-radius: var(--radius); background: #fff9; }
.choice-content strong { font-size: 16px; font-weight: 600; }
.choice-content > span:not(.coin-icon) { color: var(--muted); font-size: 13px; line-height: 1.4; }
.choice:hover .choice-content { background: #f5faff; }
.choice input:checked + .choice-content { border-color: var(--accent); background: #e4efff; box-shadow: inset 0 0 0 1px var(--accent); }
.choice input:focus-visible + .choice-content { outline: 2px solid var(--accent); outline-offset: 3px; }
.choice-icon { width: 26px; height: 26px; margin-bottom: 2px; color: var(--accent); }
.coin-icon { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; font-size: 19px; font-weight: 700; color: white; }
.coin-icon svg { width: 19px; height: 19px; }
.bitcoin { background: #a74f00; }
.ethereum { background: #4054ab; }
.tether { background: #14735b; }
.monero { background: #b33d15; }
.checkout-summary { display: grid; gap: 8px; }
.checkout-consent { margin: 2px 0 0; text-align: center; font-size: 13px; color: var(--muted); }
.invoice-panel { display: flex; flex-direction: column; min-width: 0; padding: clamp(16px, 2.4vw, 30px); border: 1px solid var(--line); border-radius: var(--radius); background: #fff8; }
#invoice-content, .invoice-stage { display: flex; flex: 1; flex-direction: column; }
.invoice-panel h2 { margin: 0 0 5px; font-size: clamp(24px, 3vw, 34px); font-weight: 600; }
.invoice-heading-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 18px; flex-wrap: wrap; }
.invoice-expiry { margin-bottom: 16px; margin-inline-start: auto; text-align: right; }
.invoice-expiry span { display: block; color: var(--muted); font-size: 12px; }
.invoice-expiry time { display: block; margin-top: 4px; font-size: 14px; font-weight: 600; }
.invoice-summary { margin: 0 0 22px; color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.invoice-panel .button + .button { margin-left: 8px; }
.invoice-payment { display: grid; grid-template-columns: minmax(0, 176px) minmax(0, 1fr); align-items: start; gap: 20px; margin: 16px 0 14px; }
.invoice-payment-footer { margin-top: auto; padding-top: 10px; }
.invoice-cancel { min-height: 44px; padding: 0; border: 0; color: #a02839; background: none; font-size: 13px; }
.invoice-cancel:hover { text-decoration: underline; text-underline-offset: 3px; }
.invoice-cancel:disabled { opacity: .6; cursor: wait; }
.invoice-scan { margin: 0; text-align: center; }
.invoice-qr-frame { position: relative; aspect-ratio: 1; background: white; border: 1px solid var(--control-line); border-radius: var(--radius); overflow: hidden; }
.invoice-scan img { display: block; width: 100%; height: 100%; image-rendering: pixelated; }
.invoice-placeholder { position: relative; overflow: hidden; background: #e3ebf8; }
.invoice-placeholder::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 18%, #f5f8fd 50%, transparent 82%); animation: invoice-loading 1.8s linear infinite; }
.invoice-qr-placeholder { position: absolute; inset: 0; }
.invoice-address-placeholder { height: 35px; border-radius: var(--radius); }
.invoice-loading-status { margin: 5px 0 12px; color: var(--muted); }
@keyframes invoice-loading {
  from { transform: translateX(-100%); }
  to { transform: translateX(100%); }
}
.invoice-scan figcaption { margin-top: 5px; color: var(--muted); font-size: 11px; }
.invoice-details { min-width: 0; }
.invoice-network { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--muted); }
.invoice-network .coin-icon { flex: 0 0 27px; }
.invoice-amount { margin: 6px 0 12px; font-size: 21px; font-weight: 600; }
.invoice-details code { display: block; padding: 9px; background: #eaf2ff; border-radius: var(--radius); overflow-wrap: anywhere; user-select: all; }
@media (max-width: 560px) {
  .choices-currencies { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .invoice-payment { grid-template-columns: 1fr; gap: 14px; }
  .invoice-scan { width: min(176px, 100%); margin-inline: auto; }
}
.rental-total { display: flex; justify-content: space-between; padding-top: 12px; margin: 8px 0; border-top: 1px solid var(--line); }
.rental-main .text-link { text-decoration: underline; text-underline-offset: 3px; color: var(--accent); }
.rental-card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: minmax(0, 1fr) auto; flex: 0 0 min(336px, 100%); min-width: 0; align-items: center; aspect-ratio: 1; gap: 8px; padding: 40px 22px 22px; background: #fff9; border: 1px solid var(--line); border-radius: var(--radius); transition: background 180ms ease, border-color 180ms ease; }
@media (max-width: 760px) {
  .rental-card { flex-basis: 100%; }
}
.rental-card:hover { background: #fff; border-color: var(--control-line); }
.rental-card .rental-machine-image { grid-column: 1 / -1; justify-self: center; width: min(100%, 240px); height: 100%; min-height: 0; object-fit: contain; }
.rental-card h2 { margin: 0; font-size: 22px; }
.rental-card-summary p { margin: 4px 0; }
.rental-card-summary p { color: var(--muted); font-size: 13px; }
.rental-badge { position: absolute; top: 12px; right: 12px; padding: 4px 10px; border-radius: var(--radius); background: #e4efff; color: #174191; font-size: 12px; font-weight: 600; }
.rental-badge[data-state="active"] { background: #def4e8; color: #176143; }
.rental-badge:is([data-state="payment"], [data-state="credited"]) { background: #fff0d6; color: #775018; }
.connection-options { display: grid; gap: 10px; }
.connection-card { display: grid; grid-template-columns: 42px minmax(0, 1fr); align-items: center; gap: 12px; min-height: 72px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff9; transition: background 180ms ease, border-color 180ms ease; }
.connection-card:hover { background: #fff; border-color: var(--control-line); }
button.connection-card { width: 100%; text-align: start; }
.connection-card svg { width: 42px; padding: 10px; color: var(--accent); background: #e4efff; border-radius: var(--radius); fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.connection-card strong, .connection-card span span { display: block; }
.connection-card span span { margin-top: 3px; color: var(--muted); font-size: 13px; }
.model-settings-panel { min-width: 0; }
.model-settings-back { margin: 0 0 12px; padding: 4px 0; border: 0; background: transparent; color: var(--accent); font-size: 14px; }
.model-settings-back:hover { text-decoration: underline; }
.model-settings-status { color: var(--muted); }
.button:disabled { opacity: .6; cursor: wait; transform: none; }

.navigation [aria-current="page"] { color: var(--accent); }
.guide { width: min(1000px, calc(100% - 2 * var(--gutter))); margin: 0 auto; padding-bottom: clamp(32px, 6vw, 72px); }
.guide-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); align-items: center; column-gap: 20px; padding-block: clamp(24px, 6vw, 58px); border-bottom: 1px solid var(--line); }
.guide-hero h1 { margin: 0; font-size: clamp(34px, 6vw, 68px); }
.guide-hero p { max-width: 44ch; margin: 14px 0 22px; }
.guide-machines { position: relative; width: min(100%, 520px); aspect-ratio: 1.25; justify-self: end; overflow: clip; isolation: isolate; }
.guide-machines::before {
  content: "";
  position: absolute;
  inset: 35% 0 0;
  background: radial-gradient(ellipse 52% 46% at 53% 53%, #6e94c733, #6e94c715 54%, transparent);
}
.guide-machines img { position: absolute; height: auto; filter: drop-shadow(0 7px 5px #19365a2b); }
/* The image widths account for transparent margins and the projected case dimensions. */
.guide-rtx { width: 69.5%; top: -4.4%; left: 36%; }
.guide-studio { width: 56%; top: 30.75%; left: -2.85%; }
.guide-spark { width: 41%; top: 52.5%; left: 56%; }
.guide-mini { width: 40%; top: 62%; left: 26%; }
.guide h2 { margin: clamp(24px, 4vw, 40px) 0 14px; font-size: clamp(24px, 3vw, 34px); font-weight: 600; letter-spacing: -.6px; }
.guide h3 { margin: 5px 0 8px; font-size: 18px; }
.guide p { color: var(--muted); line-height: 1.55; }
.guide-modes, .guide-steps { display: grid; gap: 12px; }
.guide-modes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.guide-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0; list-style: none; }
.guide-steps li { padding: clamp(14px, 2.5vw, 22px); border: 1px solid var(--line); border-radius: var(--radius); background: #fff8; }
.guide-step-icon { width: 38px; height: 38px; padding: 8px; color: var(--accent); background: #e4efff; border-radius: var(--radius); }
.guide-card { padding: clamp(14px, 2.5vw, 24px); background: #fff9; border: 1px solid var(--line); border-radius: var(--radius); }
.guide-card p:last-child, .guide-steps p { margin-bottom: 0; }
.guide-page { scrollbar-gutter: stable; }
.guide-questions { border-top: 1px solid var(--line); }
.guide-questions details { padding: 16px 0; border-bottom: 1px solid var(--line); }
.guide-questions summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; font-weight: 600; list-style: none; }
.guide-questions summary::-webkit-details-marker { display: none; }
.guide-questions summary::after { content: ""; flex: 0 0 8px; width: 8px; height: 8px; margin: 0 6px 4px 0; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); transition: transform 220ms ease; }
.guide-questions details[open] summary::after { transform: translateY(4px) rotate(225deg); }
.guide-questions details[open] p { animation: enter 220ms ease both; }
@supports selector(details::details-content) and (interpolate-size: allow-keywords) {
  .guide-questions details::details-content { height: 0; overflow: clip; opacity: 0; interpolate-size: allow-keywords; transition: height 240ms ease, opacity 180ms ease, content-visibility 240ms allow-discrete; }
  .guide-questions details[open]::details-content { height: auto; opacity: 1; }
  .guide-questions details[open] p { animation: none; }
}
.guide-questions p { margin: 10px 0 0; max-width: 66ch; }
@media (max-width: 600px) {
  .guide-hero, .guide-modes, .guide-steps { grid-template-columns: 1fr; }
  .guide-hero { row-gap: 12px; }
  .guide-machines { width: min(100%, 380px); justify-self: center; }
}

.payment-progress { margin: 0 0 20px; }
.payment-stages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin: 0 0 6px; padding: 0; list-style: none; font-size: clamp(10px, 2vw, 13px); color: var(--muted); }
.payment-stages li { text-align: center; }
.payment-stages .reached { color: var(--accent); }
.payment-stages [aria-current] { font-weight: 700; }
.payment-track { height: 7px; border-radius: 8px; background: #dce8fb; overflow: hidden; }
.payment-fill { display: block; width: 100%; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(var(--stage-end)); animation: payment-fill 600ms cubic-bezier(.2,.7,.2,1); }
.payment-finished { overflow: hidden; animation: payment-finish 1s ease both; }
.invoice-stage-enter { animation: invoice-enter 240ms ease-out; }
@keyframes payment-fill {
  from { transform: scaleX(var(--stage-start)); }
  to { transform: scaleX(var(--stage-end)); }
}
@keyframes payment-finish {
  0%, 60% { max-height: 70px; margin-bottom: 20px; opacity: 1; }
  100% { max-height: 0; margin-bottom: 0; opacity: 0; }
}
@keyframes invoice-enter {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.ssh-setup, .ssh-public-key { border: 1px solid var(--line); border-radius: var(--radius); background: #fff9; }
.ssh-setup { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px; }
.ssh-setup p, #ssh-public-key-hint { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.ssh-public-key { margin-top: 12px; }
.ssh-public-key summary { padding: 12px 14px; cursor: pointer; font-weight: 600; }
.ssh-public-key form { display: grid; justify-items: start; gap: 8px; padding: 0 14px 14px; }
.ssh-public-key label { display: grid; gap: 6px; width: 100%; font-size: 14px; }
.ssh-public-key textarea { box-sizing: border-box; width: 100%; padding: 9px 11px; border: 1px solid var(--control-line); border-radius: 8px; resize: vertical; font: .85rem monospace; }
.vnc-fields { display: grid; gap: 8px; margin: 0; padding: 0 14px; }
.vnc-field dt { color: var(--muted); font-size: 13px; }
.vnc-field dd { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px; margin: 4px 0; }
.vnc-field code { overflow-wrap: anywhere; }
.vnc-field .button { min-height: 32px; padding: 3px 9px; font-size: 12px; }
.vnc-credentials > p { margin: 10px 14px 14px; }
.rental-ssh-keys [role="status"]:empty { display: none; }
.rental-ssh-key-list { list-style: none; margin: 0; padding: 0; }
.rental-ssh-key-list li { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px 0; border-bottom: 1px solid var(--line); }
.rental-ssh-key-list strong { margin-right: auto; overflow-wrap: anywhere; }

.rtx-desktop { display: grid; grid-template-rows: auto minmax(0, 1fr); min-height: 100dvh; height: 100dvh; background: var(--canvas); }
.rtx-desktop-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 4px 10px; align-items: center; padding: 4px clamp(8px, 2vw, 20px); font-size: 13px; }
.rtx-desktop-bar > a { justify-self: start; }
.rtx-desktop-bar > strong { text-align: center; }
.desktop-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 4px 8px; }
@media (max-width: 600px) {
  .desktop-actions p { flex-basis: 100%; text-align: right; }
}
.rtx-desktop-bar p { margin: 0; color: var(--muted); }
.rtx-desktop-bar .button { min-height: 34px; padding: 4px 9px; }
.rtx-desktop-screen { min-height: 0; min-width: 0; overflow: hidden; background: #0a1120; }

.support-launcher {
  position: fixed; z-index: 8; inset: auto max(16px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) auto;
  display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #2862d6; border-radius: 50%;
  background: var(--accent); color: white; box-shadow: 0 5px 18px #0b329c40; cursor: pointer;
}
.support-launcher:hover { background: var(--accent-hover); }
.support-chat {
  position: fixed; z-index: 170; inset: auto 20px 24px auto; margin: 0; padding: 0; overflow: hidden;
  width: min(410px, calc(100% - 36px)); height: min(530px, calc(100dvh - 36px));
  grid-template-rows: auto minmax(0, 1fr) auto; border: 1px solid var(--line); border-radius: 16px;
  background: #f6faff; color: var(--ink); box-shadow: 0 18px 60px #101d3538;
}
.support-chat[open] { display: grid; animation: support-chat-in .22s var(--ease) both; }
.support-chat-header {
  display: grid; grid-template-columns: 39px minmax(0, 1fr) 36px; gap: 10px; align-items: center;
  padding: 14px 15px; background: var(--accent); color: white;
}
.support-chat-icon { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 10px; background: #ffffff20; }
.support-chat-header h2 { font-size: 16px; line-height: 1.2; margin: 0; letter-spacing: -.015em; }
.support-chat-identity { overflow-wrap: anywhere; font-size: 12px; margin: 4px 0 0; color: #e5eeff; }
.support-chat-close {
  display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 6px;
  background: transparent; color: white; font-size: 25px; line-height: 1; cursor: pointer;
}
.support-chat-close:hover { background: #ffffff22; }
.support-chat-history { overflow: auto; overscroll-behavior: contain; padding: 16px; }
.support-chat-welcome { margin: 0; color: var(--muted); font-size: 14px; }
.support-chat-message { width: fit-content; max-width: 88%; margin: 0 0 10px; padding: 8px 11px; border-radius: 11px; background: white; border: 1px solid var(--line); }
.support-chat-message p { margin: 0; font-size: 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
.support-chat-message small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; }
.support-chat-visitor { margin-left: auto; background: #dceaff; }
.support-chat-bottom { padding: 10px 14px; background: white; border-top: 1px solid var(--line); }
.support-chat-bottom form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: end; }
.support-chat-bottom textarea { width: 100%; min-height: 42px; max-height: 105px; padding: 8px 9px; resize: vertical; border: 1px solid var(--control-line); border-radius: 7px; color: var(--ink); font: inherit; font-size: 16px; }
.support-chat-notice { margin: 0 0 8px; font-size: 12px; color: var(--muted); }
.support-chat-notice:empty { display: none; }
.support-chat-notice:not(:empty) { margin-top: 6px; }
@keyframes support-chat-in { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 520px) {
  .support-chat { inset: auto 8px max(8px, env(safe-area-inset-bottom)) 8px; width: auto; height: min(390px, 46dvh); }
}
@media (prefers-reduced-motion: reduce) { .support-chat[open] { animation: none; } }
