/*
 * Mantle Cloud public pages. Plain CSS committed as-is (no build step), ported from v0.3.7:
 * packages/builder/src/index.css (theme tokens, Tailwind v4 preflight, Night Tide), packages/ui/src/chrome.css
 * (site header/footer) and apps/control/client/cloud.css (landing, plans, waitlist). The console and sign-in
 * rules at the end are new and reuse the same tokens.
 */

/* Geist Variable, self-hosted like v0.3.7's @fontsource-variable/geist (SIL OFL 1.1, fonts/LICENSE-geist.txt). */
@font-face { font-family: 'Geist Variable'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(fonts/geist-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Geist Variable'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(fonts/geist-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root {
  --background: #f5f6f5; --foreground: #172126; --card: #ffffff; --card-foreground: var(--foreground);
  --primary: #207caa; --primary-foreground: #ffffff; --secondary: #e3e8f2; --secondary-foreground: #1a3062;
  --muted: #e5eaf3; --muted-foreground: #4a4f5b; --accent: #dce4f2; --accent-foreground: #1a3062;
  --destructive: oklch(0.577 0.245 27.325); --border: rgb(151 158 175 / 30%); --input: rgb(151 158 175 / 40%);
  --ring: #4299cc; --radius: 0.625rem;
}
.dark {
  color-scheme: dark;
  --background: #141616; --foreground: #f2f5f4; --card: #202525; --card-foreground: var(--foreground);
  --primary: #6bc4ec; --primary-foreground: #0c2632; --secondary: #252b2d; --secondary-foreground: var(--foreground);
  --muted: #202525; --muted-foreground: #bdbdbd; --accent: #2a3234; --accent-foreground: var(--foreground);
  --destructive: oklch(0.704 0.191 22.216); --border: #364042; --input: #465255; --ring: #4299cc;
}

/* Tailwind v4 preflight (MIT), reduced to what these pages use; layered so the page rules below win as before. */
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button { box-sizing: border-box; margin: 0; padding: 0; border: 0 solid; border-color: var(--border); outline-color: color-mix(in oklab, var(--ring) 50%, transparent); }
  html { line-height: 1.5; -webkit-text-size-adjust: 100%; tab-size: 4; font-family: 'Geist Variable', sans-serif; -webkit-tap-highlight-color: transparent; }
  hr { height: 0; color: inherit; border-top-width: 1px; }
  h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; }
  a { color: inherit; text-decoration: inherit; }
  b, strong { font-weight: bolder; }
  code, kbd, samp, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace; font-size: 1em; }
  small { font-size: 80%; }
  table { text-indent: 0; border-color: inherit; border-collapse: collapse; }
  summary { display: list-item; }
  ol, ul, menu { list-style: none; }
  img, svg, video, canvas, audio, iframe, embed, object { display: block; vertical-align: middle; }
  img, video { max-width: 100%; height: auto; }
  button, input, select, optgroup, textarea, ::file-selector-button { font: inherit; font-feature-settings: inherit; font-variation-settings: inherit; letter-spacing: inherit; color: inherit; border-radius: 0; background-color: transparent; opacity: 1; }
  ::placeholder { opacity: 1; color: color-mix(in oklab, currentcolor 50%, transparent); }
  textarea { resize: vertical; }
  button, input:where([type='button'], [type='reset'], [type='submit']), ::file-selector-button { appearance: button; }
  [hidden]:where(:not([hidden='until-found'])) { display: none !important; }
  body {
    background-color: var(--background); color: var(--foreground);
    background-image: radial-gradient(ellipse at 20% 20%, rgb(77 106 172 / 10%) 0%, transparent 55%), radial-gradient(ellipse at 80% 80%, rgb(66 153 204 / 7%) 0%, transparent 55%);
  }
}
.dark body { background-image: none; }

/* Night Tide: the dark-mode fluid layer behind the hero, only for a fine pointer without reduced motion. */
.night-tide, .night-tide-hdr { display: none; }
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .dark .night-tide, .dark .night-tide-hdr { position: fixed; inset: 0; z-index: 0; display: block; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity 400ms ease; }
  .dark .night-tide[data-ready="true"][data-active="true"], .dark .night-tide[data-ready="true"][data-active="true"] + .night-tide-hdr { opacity: 0.4; }
}

/* ---- packages/ui/src/chrome.css (v0.3.7) ---- */
:root {
  --site-header-height: 3.5rem;
  --site-content-width: 1320px;
  --site-gutter: max(24px, 6vw, calc((100% - var(--site-content-width)) / 2));
  --site-section-pad: 48px;
  --site-snapport: calc(100svh - var(--site-header-height));
}

.site-header { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; height: var(--site-header-height); align-items: center; gap: 12px; padding-inline: var(--site-gutter); background: color-mix(in srgb, var(--background) 55%, transparent); backdrop-filter: blur(24px); }
.site-brand, .site-footer-brand > a { display: flex; flex-shrink: 0; align-items: center; gap: 10px; border-radius: 4px; color: inherit; text-decoration: none; }
.site-brand img, .site-footer-brand img { display: block; width: auto; height: 40px; }
.site-brand img.site-brand-mark, .site-footer img.site-brand-mark { width: 28px; height: 28px; }
.site-brand-name { font-size: 19px; font-weight: 650; letter-spacing: -.04em; }
.dark .site-brand img, .dark .site-footer img { filter: invert(1); }
.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.site-header-actions { display: flex; align-items: center; gap: 4px; }
.site-nav-link, .site-icon-button { display: inline-flex; height: 28px; align-items: center; justify-content: center; border: 0; border-radius: 6px; background: transparent; color: inherit; font: inherit; font-size: 13px; font-weight: 500; text-decoration: none; cursor: pointer; }
.site-nav-link { padding-inline: 10px; }
.site-nav-inactive { gap: 5px; opacity: .55; cursor: not-allowed; }
.site-nav-inactive small { font-size: 8px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; }
.site-icon-button { width: 28px; padding: 6px; }
.site-icon-button svg { width: 16px; height: 16px; }
.site-nav-link:not(.site-nav-inactive):hover, .site-icon-button:hover { background: var(--accent); color: var(--accent-foreground); }
.site-brand:focus-visible, .site-nav-link:focus-visible, .site-icon-button:focus-visible { outline: 3px solid color-mix(in srgb, var(--ring) 50%, transparent); outline-offset: 2px; }
.site-theme-sun, .dark .site-theme-moon { display: none; }
.dark .site-theme-sun { display: block; }

.site-mobile-nav { display: none; }
.site-mobile-nav summary { list-style: none; cursor: pointer; }
.site-mobile-nav summary::-webkit-details-marker { display: none; }
.site-mobile-nav > nav { position: absolute; top: calc(100% + 8px); right: 12px; display: grid; width: min(280px, calc(100vw - 24px)); padding: 8px; border: 1px solid var(--border); border-radius: 12px; background: color-mix(in srgb, var(--card) 94%, transparent); box-shadow: 0 18px 48px #00000028; backdrop-filter: blur(24px); }
.site-mobile-nav .site-nav-link { height: auto; min-height: 42px; justify-content: flex-start; }

.site-footer { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 28px var(--site-gutter); border-top: 1px solid color-mix(in srgb, var(--foreground) 14%, transparent); background: transparent; box-shadow: inset 0 1px 0 #ffffff30; font-size: 12px; backdrop-filter: blur(8px); }
.site-footer-brand { display: flex; min-width: 0; align-items: center; gap: 24px; }
.site-footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-left: auto; }
.site-footer nav a { color: inherit; text-decoration: none; }
.site-footer nav a:hover { color: var(--primary); }

@media (max-width: 720px) {
  .site-header { padding-inline: 12px; }
  .site-brand img { width: 100px; height: auto; }
  .site-nav { display: none; }
  .site-mobile-nav { display: block; }
  .site-header-actions { margin-left: auto; }
  .site-footer { grid-template-columns: 1fr; gap: 20px; padding-inline: 24px; }
  .site-footer-brand { justify-content: space-between; gap: 16px; }
  .site-footer-brand > span { max-width: 140px; text-align: right; font-size: 10px; }
  .site-footer nav { display: grid; width: 100%; grid-template-columns: repeat(3, 1fr); gap: 14px 20px; margin: 0; }
}

@media (max-width: 400px) {
  .site-github { display: none; }
}


/* ---- apps/control/client/cloud.css (v0.3.7) ---- */
:root { --cloud-bg: 246 249 249; --cloud-shade: 246 249 249; }
:root.dark { --cloud-bg: 16 20 20; --cloud-shade: 7 13 14; }
html, body { margin: 0; min-height: 100%; background: rgb(var(--cloud-bg)); }
body { color: var(--foreground); }
.cloud-landing { min-height: 100svh; overflow-x: hidden; background: rgb(var(--cloud-bg)); color: var(--foreground); }
.cloud-hero { position: relative; display: grid; min-height: 100svh; align-items: end; padding: 96px clamp(24px, 6vw, 92px) clamp(54px, 8vh, 92px); isolation: isolate; }
.cloud-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(18deg, rgb(var(--cloud-shade) / 96%) 0 14%, rgb(var(--cloud-shade) / 72%) 29%, transparent 58%); }
.cloud-hero .night-tide, .cloud-hero .night-tide-hdr { z-index: 2; }
.cloud-landing .site-membrane { position: fixed; inset: 0; z-index: 0; width: 100%; height: 100svh; pointer-events: none; }
.cloud-landing .site-membrane canvas { width: 100%; height: 100%; }
.cloud-story-card { position: relative; z-index: 3; width: min(720px, 58vw); padding: 14px 0 6px 40px; border-left: 3px solid var(--primary); text-shadow: 0 2px 24px rgb(var(--cloud-shade)); }
.cloud-eyebrow { margin: 0; color: var(--primary); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: clamp(14px, 1.2vw, 17px); font-weight: 700; letter-spacing: .12em; }
.cloud-story-card h1 { max-width: 720px; margin: 26px 0 18px; font-size: clamp(48px, 4.5vw, 64px); font-weight: 510; line-height: 1.02; letter-spacing: -.052em; }
.cloud-lede { max-width: 680px; margin: 0; color: var(--muted-foreground); font-size: clamp(19px, 1.7vw, 25px); line-height: 1.45; }
.cloud-actions { display: flex; align-items: center; gap: 36px; margin-top: 34px; }
.cloud-primary-action { display: inline-flex; min-height: 48px; align-items: center; gap: 14px; padding: 0 20px; border-radius: 10px; background: #69c5ee; color: #0b2029; font-weight: 650; text-decoration: none; box-shadow: 0 0 28px rgb(73 173 221 / 16%); }
.cloud-primary-action:hover { background: #8ad5f5; color: #0b2029; }
.cloud-primary-action:focus-visible { outline: 3px solid #f2f5f4; outline-offset: 3px; }
.cloud-noscript { position: fixed; inset: auto 24px 24px; z-index: 30; }
#cloud-shell[data-open="true"] > :not(#root) { display: none; }
#root:empty { display: none; }

.cloud-pricing { position: relative; min-height: 100svh; padding: clamp(118px, 13vw, 172px) clamp(24px, 6vw, 92px) 72px; isolation: isolate; }
.cloud-pricing::after { content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(90deg, rgb(var(--cloud-shade) / 88%) 0 38%, transparent 72%); }
.cloud-pricing > :not(.site-membrane) { position: relative; z-index: 1; }
.cloud-pricing-heading { max-width: 760px; }
.cloud-pricing-heading h1 { margin: 18px 0; font-size: clamp(48px, 5.2vw, 76px); font-weight: 450; line-height: 1.01; letter-spacing: -.052em; }
.cloud-pricing-heading > p:last-child { max-width: 680px; color: var(--muted-foreground); font-size: clamp(18px, 1.5vw, 22px); line-height: 1.55; }
.cloud-plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: min(1280px, 100%); margin-top: clamp(44px, 6vw, 70px); }
.cloud-plan-grid.cloud-plan-single { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
.cloud-plan-single .cloud-plan-featured { margin-block: 0; }
.cloud-plan { display: flex; min-width: 0; flex-direction: column; padding: clamp(26px, 3vw, 40px); border: 1px solid var(--border); background: color-mix(in srgb, var(--card) 80%, transparent); backdrop-filter: blur(18px); }
.cloud-plan:first-child { border-radius: 22px 0 0 22px; }
.cloud-plan:last-child { border-radius: 0 22px 22px 0; }
.cloud-plan + .cloud-plan { border-left: 0; }
.cloud-plan-featured { margin-block: -12px; padding-block: calc(clamp(26px, 3vw, 40px) + 12px); border: 1px solid color-mix(in srgb, var(--primary) 55%, var(--border)); border-radius: 22px; box-shadow: 0 18px 44px #00000020; }
.cloud-plan-featured + .cloud-plan { border-left: 0; }
.cloud-plan h2 { font-size: clamp(30px, 2.6vw, 40px); font-weight: 500; letter-spacing: -.035em; }
.cloud-plan-blurb { min-height: 3.1em; margin-top: 8px; color: var(--muted-foreground); font-size: 16px; line-height: 1.55; }
/* Seats lead and price follows: the two figures a buyer weighs, set as equals. */
.cloud-plan-figures { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
.cloud-figure strong { display: block; font-size: clamp(30px, 2.6vw, 40px); font-weight: 500; letter-spacing: -.035em; line-height: 1; white-space: nowrap; }
.cloud-figure small { display: block; margin-top: 8px; color: var(--muted-foreground); font-size: 13.5px; line-height: 1.35; }
.cloud-plan-spec { display: grid; grid-template-columns: auto 1fr; gap: 9px 18px; margin: 26px 0 32px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 15px; line-height: 1.4; }
.cloud-plan-spec dt { color: var(--muted-foreground); }
.cloud-plan-spec dd { margin: 0; }
/* Two quiet centred lines: Enterprise is a different arrangement, not a fourth column. */
.cloud-enterprise { width: fit-content; max-width: 100%; margin: 56px auto 0; padding: 18px 30px; border: 1px solid var(--border); border-radius: 16px; background: color-mix(in srgb, var(--card) 80%, transparent); backdrop-filter: blur(18px); color: var(--muted-foreground); font-size: 15.5px; line-height: 1.6; text-align: center; }
.cloud-enterprise p + p { margin-top: 4px; }
.cloud-enterprise a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.cloud-plan-action { display: flex; min-height: 48px; align-items: center; justify-content: center; gap: 12px; margin-top: auto; border: 1px solid var(--border); border-radius: 10px; color: inherit; font-weight: 600; text-decoration: none; }
.cloud-plan-featured .cloud-plan-action { border-color: transparent; background: var(--primary); color: var(--primary-foreground); }
.cloud-plan-action:hover { border-color: var(--primary); }

.cloud-waitlist { min-height: 100svh; padding: clamp(118px, 13vw, 172px) clamp(24px, 6vw, 92px) 72px; }
.cloud-waitlist-card { width: min(880px, 100%); }
.cloud-waitlist-card h1 { margin: 18px 0; font-size: clamp(48px, 5.2vw, 76px); font-weight: 450; line-height: 1.01; letter-spacing: -.052em; }
.cloud-waitlist-card > p:not(.cloud-eyebrow, .cloud-waitlist-legal) { color: var(--muted-foreground); font-size: clamp(18px, 1.5vw, 22px); line-height: 1.55; }
#waitlist-form { display: grid; gap: 18px; margin-top: 38px; }
.cloud-form-grid { display: grid; grid-template-columns: 1fr; gap: 18px; margin: 0; padding: 0 0 26px; border: 0; }
.cloud-form-grid + .cloud-form-grid { padding-top: 8px; }
.cloud-form-grid legend { grid-column: 1 / -1; margin-bottom: 4px; font-size: 22px; font-weight: 600; }
.cloud-interest-options { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0 0 18px; border: 0; }
.cloud-interest-options legend { width: 100%; margin-bottom: 4px; font-size: 22px; font-weight: 600; }
.cloud-interest-options legend i { color: var(--destructive); font-style: normal; }
#waitlist-form .cloud-interest-options label { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; background: color-mix(in srgb, var(--card) 84%, transparent); cursor: pointer; }
#waitlist-form .cloud-interest-options input { grid-column: auto; width: 18px; height: 18px; padding: 0; accent-color: var(--primary); }
.cloud-interest-options small { width: 100%; min-height: 1em; color: var(--destructive); font-size: 13px; }
#waitlist-form label { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; font-weight: 600; }
#waitlist-form label > span { color: var(--muted-foreground); font-size: 12px; font-weight: 450; }
#waitlist-form label > i { color: var(--destructive); font-style: normal; }
#waitlist-form input, #waitlist-form select, #waitlist-form textarea { width: 100%; border: 1px solid var(--border); border-radius: 10px; background: color-mix(in srgb, var(--card) 84%, transparent); color: inherit; font: inherit; padding: 13px 14px; outline: none; }
#waitlist-form label > input, #waitlist-form label > select, #waitlist-form label > textarea, #waitlist-form label > small { grid-column: 1 / -1; }
#waitlist-form textarea { resize: vertical; }
#waitlist-form input:focus, #waitlist-form select:focus, #waitlist-form textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 20%, transparent); }
#waitlist-form [aria-invalid="true"] { border-color: var(--destructive); }
#waitlist-form label > small { min-height: 1em; color: var(--destructive); font-size: 13px; font-weight: 450; }
#waitlist-form button { width: fit-content; min-height: 48px; padding: 0 20px; border: 0; border-radius: 10px; background: var(--primary); color: var(--primary-foreground); font: inherit; font-weight: 650; cursor: pointer; }
#waitlist-form button:disabled { cursor: not-allowed; opacity: .5; }
#waitlist-status { min-height: 1.5em; margin: 0; color: var(--muted-foreground); }
.cloud-waitlist-legal { margin-top: 24px; color: var(--muted-foreground); font-size: 13px; line-height: 1.5; }
.cloud-waitlist-legal a { color: inherit; }

@media (max-width: 760px) {
  .cloud-hero { align-items: end; padding: 92px 22px 34px; }
  .cloud-story-card { width: auto; padding: 10px 0 4px 24px; }
  .cloud-story-card h1 { margin-top: 20px; font-size: clamp(42px, 12vw, 58px); }
  .cloud-lede { font-size: 18px; }
  .cloud-actions { margin-top: 28px; }
  .cloud-wide-break { display: none; }
  .cloud-pricing { padding: 112px 22px 48px; }
  .cloud-pricing::after { background: linear-gradient(180deg, rgb(var(--cloud-shade) / 92%) 0 38%, transparent 70%); }
  .cloud-pricing-heading { padding: 24px; border: 1px solid var(--border); border-radius: 18px; background: color-mix(in srgb, var(--card) 82%, transparent); backdrop-filter: blur(18px); }
  .cloud-waitlist { padding: 112px 22px 48px; }
  .cloud-form-grid { grid-template-columns: 1fr; }
  .cloud-plan-grid { grid-template-columns: 1fr; gap: 12px; }
  .cloud-plan, .cloud-plan:first-child, .cloud-plan:last-child, .cloud-plan-featured { margin: 0; border: 1px solid var(--border); border-radius: 18px; }
  .cloud-plan-featured { border-color: color-mix(in srgb, var(--primary) 55%, var(--border)); }
  .cloud-plan-blurb { min-height: 0; }
}

@media (min-width: 761px) and (max-width: 900px) {
  .cloud-hero { padding-inline: 48px; }
  .cloud-hero::after { background: linear-gradient(18deg, rgb(var(--cloud-shade) / 98%) 0 22%, rgb(var(--cloud-shade) / 78%) 42%, transparent 70%); }
  .cloud-story-card { width: min(650px, 82vw); }
}

/* ---- New in cloud-next: header sign-in link, member console (/app) and sign-in page ---- */
.site-signin { margin-left: 4px; border: 1px solid var(--border); }
.cloud-page { position: relative; min-height: 100svh; padding: clamp(104px, 11vw, 148px) clamp(24px, 6vw, 92px) 72px; isolation: isolate; }
.cloud-page > :not(.site-membrane) { position: relative; z-index: 1; }
.cloud-page::after { content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(90deg, rgb(var(--cloud-shade) / 92%) 0 46%, rgb(var(--cloud-shade) / 70%) 100%); }
.cloud-console { display: grid; gap: 22px; width: min(960px, 100%); }
.cloud-console-heading h1, .cloud-signin h1 { margin: 14px 0 10px; font-size: clamp(40px, 4.4vw, 60px); font-weight: 450; line-height: 1.02; letter-spacing: -.048em; }
.cloud-console-heading p:last-child, .cloud-signin > p:not(.cloud-eyebrow) { color: var(--muted-foreground); font-size: clamp(16px, 1.3vw, 19px); line-height: 1.55; }
.cloud-panel { padding: clamp(20px, 2.4vw, 28px); border: 1px solid var(--border); border-radius: 18px; background: color-mix(in srgb, var(--card) 82%, transparent); backdrop-filter: blur(18px); }
.cloud-panel h2 { font-size: 22px; font-weight: 550; letter-spacing: -.02em; }
.cloud-panel > p, .cloud-panel form > p { margin-top: 8px; color: var(--muted-foreground); line-height: 1.55; }
.cloud-panel-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; }
.cloud-meta { color: var(--muted-foreground); font-size: 14px; }
.cloud-plan-badge { display: inline-block; margin-left: 8px; padding: 2px 8px; border: 1px solid color-mix(in srgb, var(--primary) 45%, var(--border)); border-radius: 999px; color: var(--primary); font-size: 12px; font-weight: 600; letter-spacing: .02em; vertical-align: middle; }
.cloud-copy-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; }
.cloud-copy-row code { min-width: 0; overflow-wrap: anywhere; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; background: color-mix(in srgb, var(--background) 70%, transparent); font-size: 14px; }
.cloud-button { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; gap: 10px; padding: 0 16px; border: 1px solid transparent; border-radius: 10px; background: var(--primary); color: var(--primary-foreground); font-weight: 650; text-decoration: none; cursor: pointer; }
.cloud-button-quiet { border-color: var(--border); background: transparent; color: inherit; }
.cloud-button-quiet:hover { border-color: var(--primary); }
.cloud-button:disabled { cursor: not-allowed; opacity: .5; }
.cloud-button:focus-visible, .cloud-input:focus-visible { outline: 3px solid color-mix(in srgb, var(--ring) 50%, transparent); outline-offset: 2px; }
.cloud-sites { margin-top: 16px; border-top: 1px solid var(--border); }
.cloud-sites li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.cloud-sites a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.cloud-status { color: var(--muted-foreground); font-size: 14px; }
.cloud-empty { border-style: dashed; text-align: center; }
.cloud-form-row { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; margin-top: 16px; }
.cloud-form-row label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.cloud-input { min-height: 42px; padding: 0 12px; border: 1px solid var(--border); border-radius: 10px; background: color-mix(in srgb, var(--card) 84%, transparent); }
.cloud-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 20%, transparent); }
.cloud-console-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.cloud-console-foot a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
[role="status"]:empty { display: none; }
.cloud-signin { width: min(520px, 100%); }
.cloud-signin form { margin-top: 28px; }
.cloud-signin .cloud-form-row label { flex: 1 1 240px; }
.cloud-signin #status { margin-top: 16px; color: var(--muted-foreground); }
@media (max-width: 760px) {
  .cloud-page { padding: 104px 22px 48px; }
  .cloud-page::after { background: rgb(var(--cloud-shade) / 86%); }
}
