/* QDHosts look: the same palette, type and shapes as the QDHosts website (logo green #79C142,
   Inter, near-black #111827 text, soft shadows, 12px cards). Light by default, dark via the OS
   setting -- or, if the user picked a theme explicitly (security.js writes data-theme on <html>),
   that choice wins over the OS setting either way. A custom accent color from Branding replaces
   the green (dom.js applyAccentColor). */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('vendor/fonts/inter-latin-wght-normal.woff2') format('woff2');
}
:root {
  --bg: #f8fafb; --surface: #ffffff; --surface-2: #f2f4f8; --fg: #111827; --muted: #6b7280;
  --line: #e5e7eb; --accent: #79c142; --accent-hover: #5e9130; --accent-fg: #ffffff;
  --accent-soft: #f0f8e8; --accent-text: #3e7318;
  --ok: #2f6b12; --ok-soft: #e8f5d8; --warn: #8a5a00; --warn-soft: #fdf1d8;
  --danger: #b42318; --danger-soft: #fdeaea; --focus: #5e9130;
  --radius: 12px; --shadow: 0 4px 20px rgba(0, 0, 0, .07); --shadow-lg: 0 12px 40px rgba(0, 0, 0, .1);
  --font: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1410; --surface: #161c17; --surface-2: #1c241d; --fg: #e8ede6; --muted: #9aa59a;
    --line: #2a332b; --accent: #8fcb55; --accent-hover: #a4d872; --accent-fg: #0b1a05;
    --accent-soft: #1d2a16; --accent-text: #a4d872;
    --ok: #8fcb55; --ok-soft: #1d2a16; --warn: #f0b95a; --warn-soft: #2d2410;
    --danger: #ff8a80; --danger-soft: #35181a; --focus: #8fcb55; --shadow: none; --shadow-lg: 0 12px 40px rgba(0, 0, 0, .5);
  }
}
:root[data-theme="dark"] {
  --bg: #0f1410; --surface: #161c17; --surface-2: #1c241d; --fg: #e8ede6; --muted: #9aa59a;
  --line: #2a332b; --accent: #8fcb55; --accent-hover: #a4d872; --accent-fg: #0b1a05;
  --accent-soft: #1d2a16; --accent-text: #a4d872;
  --ok: #8fcb55; --ok-soft: #1d2a16; --warn: #f0b95a; --warn-soft: #2d2410;
  --danger: #ff8a80; --danger-soft: #35181a; --focus: #8fcb55; --shadow: none; --shadow-lg: 0 12px 40px rgba(0, 0, 0, .5);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 15px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
h1 { font-size: 1.85rem; line-height: 1.15; font-weight: 800; letter-spacing: -.025em; margin: 0 0 .35rem; }
h2 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; margin: 0 0 .5rem; }
h3 { font-size: 1rem; font-weight: 700; margin: 1.25rem 0 .5rem; }
p { margin: 0 0 .75rem; }
a { color: var(--accent-text); }
code, .mono { font-family: var(--mono); }
code { background: var(--surface-2); border: 1px solid var(--line); padding: .05rem .35rem; border-radius: 5px; font-size: .88em; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.wrap { word-break: break-all; }
.grow { flex: 1; }
.boot { padding: 2rem 16px; color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--accent-fg); padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 0; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* Sidebar. The header markup is a left column at every width: the .spacer rule that would push
   the username/sign-out to the far end of a row pushes them to the bottom of the column. Narrow
   screens get a slimmer column (see the 720px block below) so the content keeps most of the
   width. */
#app { display: flex; min-height: 100vh; align-items: stretch; }
.top {
  display: flex; flex-direction: column; align-items: stretch; gap: .2rem;
  width: 232px; flex: 0 0 232px; min-height: 100vh; padding: 20px 14px;
  background: var(--surface); border-right: 1px solid var(--line);
}
.top .brand { font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; color: var(--fg); text-decoration: none; display: flex; align-items: center; gap: .5rem; margin: 0 .35rem 1.25rem; }
.top .brand img { height: 28px; width: auto; }
.top .brand.has-logo img { height: auto; max-height: 44px; max-width: 100%; }
.top nav { display: flex; flex-direction: column; gap: .15rem; }
.top a:not(.brand) { color: #4b5563; font-weight: 500; text-decoration: none; padding: .55rem .75rem; border-radius: 8px; }
.top a:not(.brand):hover { color: var(--fg); background: var(--surface-2); }
.top a.active { color: var(--accent-text); background: var(--accent-soft); font-weight: 600; }
.top > button { margin: .35rem .35rem 0; }
.spacer { flex: 1; }
main { flex: 1; margin: 0; padding: 32px 40px 64px; max-width: 1120px; min-width: 0; }
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.crumb { margin: 0 0 .5rem; font-size: .9rem; }

/* Sign-in page: the card on the website's soft green wash. */
body:has(main.auth) { background: linear-gradient(135deg, #eef8e4 0%, var(--bg) 55%); }
main.auth { flex: 1; max-width: 27rem; margin: 10vh auto 0; padding: 0 16px 48px; }
main.auth .card { padding: 32px; border-radius: 20px; box-shadow: var(--shadow-lg); border-color: transparent; }
main.auth h1 { font-size: 1.6rem; text-align: center; }
main.auth .lede { text-align: center; margin-bottom: 1.5rem; }
.auth .brand-logo { height: auto; max-height: 52px; max-width: 70%; display: block; margin: 0 auto 1.25rem; }

/* Cards and tables */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 18px; box-shadow: var(--shadow); }
.card.empty { text-align: center; color: var(--muted); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .5rem; }
.card-head h2 { margin: 0; }
.table-wrap { overflow-x: auto; margin: 0 -4px; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: .65rem .75rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 600; white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: var(--surface-2); }
td.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.row-actions { white-space: nowrap; text-align: right; }
.row-actions > * { margin-left: .25rem; }
dl.kv { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1.5rem; margin: 0 0 .75rem; }
dl.kv dt { color: var(--muted); }
dl.kv dd { margin: 0; }
.empty-note { padding: 1.5rem 0; text-align: center; }

/* Forms */
.field { margin-bottom: 1rem; }
label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: .35rem; }
input, select, textarea { width: 100%; font: inherit; color: var(--fg); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: .6rem .75rem; }
input:hover, select:hover, textarea:hover { border-color: #c9ced6; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
input:disabled, select:disabled, textarea:disabled { opacity: .6; cursor: not-allowed; }
input[type=checkbox], input[type=radio] { width: auto; accent-color: var(--accent); }
textarea.mono, input.mono { font-family: var(--mono); font-size: .9rem; }
.field small { display: block; color: var(--muted); margin-top: .3rem; font-size: .82rem; }
.inline { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.inline select, .inline input { width: auto; min-width: 8rem; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-bottom: .5rem; }
.err { color: var(--danger); min-height: 1.25rem; margin: .25rem 0 .5rem; font-size: .9rem; }
.notice { background: var(--warn-soft); color: var(--warn); border-radius: 8px; padding: .6rem .9rem; margin-bottom: 1rem; }
.banner { border-radius: 8px; padding: .7rem 1rem; margin-bottom: 1rem; }
.banner.warn { background: var(--warn-soft); color: var(--warn); }
.small-print { margin: 1rem 0 0; font-size: .85rem; }

/* Buttons: the website's own -- green, 8px corners, semibold, lifting slightly on hover. */
button, .btn { font: inherit; font-weight: 500; cursor: pointer; border-radius: 8px; padding: .55rem 1.05rem; border: 1px solid var(--line); background: var(--surface); color: var(--fg); text-decoration: none; display: inline-block; line-height: 1.3; }
button:hover:not(:disabled), .btn:hover { background: var(--surface-2); border-color: #c9ced6; }
button:disabled { opacity: .5; cursor: not-allowed; }
button.primary, .btn.primary { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); font-weight: 600; }
button.primary:hover:not(:disabled), .btn.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 6px 20px color-mix(in srgb, var(--accent) 35%, transparent); }
button.danger { background: var(--danger); color: #fff; border-color: var(--danger); font-weight: 600; }
button.danger:hover:not(:disabled) { filter: brightness(1.08); background: var(--danger); border-color: var(--danger); }
button.ghost { background: transparent; }
button.danger-ghost { background: transparent; color: var(--danger); }
button.danger-ghost:hover:not(:disabled) { background: var(--danger-soft); border-color: var(--danger); }
button.small, .btn.small { padding: .28rem .65rem; font-size: .84rem; }
button.icon { border: 0; background: transparent; font-size: 1.5rem; line-height: 1; padding: .1rem .5rem; color: var(--muted); }
.actions { display: flex; justify-content: flex-end; gap: .5rem; margin-top: 1.1rem; flex-wrap: wrap; }
.actions.left { justify-content: flex-start; }
form .actions button[type=submit] { min-width: 6rem; }
main.auth form > button { width: 100%; margin-top: .5rem; padding: .7rem 1rem; }

/* Badges */
.badge { display: inline-block; white-space: nowrap; padding: .12rem .6rem; border-radius: 999px; font-size: .76rem; font-weight: 600; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }
.badge.active { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.badge.suspended { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
.badge.terminating { background: var(--danger-soft); color: var(--danger); border-color: transparent; }
.badge.warn { background: var(--warn-soft); color: var(--warn); border-color: transparent; }

/* Tabs */
.tabs { display: flex; gap: .25rem; border-bottom: 1px solid var(--line); margin-bottom: 18px; overflow-x: auto; }
.tabs a { padding: .65rem .95rem; text-decoration: none; color: var(--muted); font-weight: 500; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a:hover { color: var(--fg); }
.tabs a.active { color: var(--accent-text); border-bottom-color: var(--accent); font-weight: 600; }

/* File manager */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: .15rem; margin-bottom: .75rem; font-family: var(--mono); font-size: .9rem; }
.breadcrumb a { padding: .1rem .3rem; border-radius: 4px; text-decoration: none; }
.breadcrumb a:hover { background: var(--accent-soft); }
.breadcrumb .sep { color: var(--muted); }
.toolbar { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: .5rem; }
label.btn { margin: 0; font-weight: 600; }
.entry { color: var(--fg); text-decoration: none; word-break: break-all; }
.entry:hover { text-decoration: underline; color: var(--accent-text); }
.entry.dir { font-weight: 600; color: var(--accent-text); }
table.files td:first-child { width: 40%; }
table.files th.check, table.files td.check { width: 2rem; padding-right: 0; }
table.files td.check + td { width: 40%; }
.card.dropping { outline: 2px dashed var(--accent); outline-offset: -6px; }
.bulk { background: var(--accent-soft, #eef3ff); border-radius: 8px; padding: .4rem .7rem; }
.folder-pick { display: flex; flex-direction: column; align-items: flex-start; gap: .25rem; max-height: 40vh; overflow: auto; margin: .5rem 0; }
.editor { width: 100%; min-height: 50vh; tab-size: 4; white-space: pre; overflow: auto; resize: vertical; }

/* Cron */
.cron-row { display: grid; grid-template-columns: 11rem 12rem 1fr auto; gap: .5rem; margin-bottom: .5rem; align-items: center; }
.steps { padding-left: 1.2rem; }
.steps li { margin-bottom: 1rem; }
.secret { font-size: 1.05rem; letter-spacing: .05em; padding: .6rem .8rem; margin: .5rem 0; background: var(--surface-2); border: 1px dashed var(--line); border-radius: 8px; word-break: break-all; user-select: all; }
.codes { background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; padding: 1rem; font-size: 1rem; line-height: 1.8; user-select: all; }

/* Dialog */
dialog { border: 1px solid var(--line); border-radius: 16px; padding: 0; background: var(--surface); color: var(--fg); width: min(30rem, calc(100vw - 32px)); max-height: calc(100vh - 32px); box-shadow: var(--shadow-lg); }
dialog.wide { width: min(52rem, calc(100vw - 32px)); }
dialog::backdrop { background: rgba(17, 24, 39, .5); }
dialog header { display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; border-bottom: 1px solid var(--line); }
dialog header h2 { margin: 0; font-size: 1.1rem; }
.dlg-body { padding: 22px; overflow: auto; max-height: calc(100vh - 120px); }

/* Toasts */
.toasts { position: fixed; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: .5rem; z-index: 200; max-width: min(24rem, calc(100vw - 32px)); }
.toast { background: var(--fg); color: var(--bg); padding: .75rem 1rem; border-radius: 10px; box-shadow: 0 6px 20px rgba(0, 0, 0, .25); font-weight: 500; }
.toast.err { background: var(--danger); color: #fff; }

/* A logo drawn for a white page (like QDHosts's, black lettering) sits on a white plate in the
   dark theme so it stays readable. */
:root[data-theme="dark"] .top .brand.has-logo img, :root[data-theme="dark"] .auth .brand-logo { background: #fff; padding: 6px 10px; border-radius: 8px; }
:root[data-theme="dark"] body:has(main.auth) { background: var(--bg); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .top .brand.has-logo img, :root:not([data-theme="light"]) .auth .brand-logo { background: #fff; padding: 6px 10px; border-radius: 8px; }
  :root:not([data-theme="light"]) body:has(main.auth) { background: var(--bg); }
  :root:not([data-theme="light"]) .top a:not(.brand) { color: var(--muted); }
}
:root[data-theme="dark"] .top a:not(.brand) { color: var(--muted); }
:root[data-theme="dark"] .top a.active, :root:not([data-theme="light"]) .top a.active { color: var(--accent-text); }

@media (max-width: 720px) {
  main { padding: 16px 12px 48px; }
  h1 { font-size: 1.5rem; }
  .card { padding: 14px; }
  main.auth .card { padding: 22px; }
  .cron-row { grid-template-columns: 1fr; }
  .grid2 { grid-template-columns: 1fr; }
  dl.kv { grid-template-columns: 1fr; gap: 0; }
  dl.kv dd { margin-bottom: .5rem; }
  .row-actions { white-space: normal; }
  .top { width: 150px; flex-basis: 150px; padding: 12px 8px; }
  .top a:not(.brand) { font-size: .9rem; padding: .45rem .5rem; }
  table.files td:first-child { width: auto; }
}
@media (prefers-reduced-motion: no-preference) {
  button, .btn, a { transition: background-color .15s, border-color .15s, color .15s, transform .15s, box-shadow .15s; }
}

/* Customer home screen: sections of icon tiles, the way a hosting control panel lays out its tools. */
[hidden] { display: none !important; }
.tile-find-row { margin: 0 0 14px; max-width: 520px; }
.tool-section { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 16px; box-shadow: var(--shadow); overflow: hidden; }
.tool-section > summary { display: flex; align-items: center; gap: .75rem; padding: 14px 20px; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.05rem; border-bottom: 1px solid transparent; }
.tool-section > summary::-webkit-details-marker { display: none; }
.tool-section > summary::after { content: ''; margin-left: auto; width: .55rem; height: .55rem; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .15s; }
.tool-section[open] > summary { border-bottom-color: var(--line); }
.tool-section[open] > summary::after { transform: rotate(-135deg); }
.sec-icon { display: inline-flex; color: var(--fg); }
.sec-icon svg .ac, .tile-icon svg .ac { stroke: var(--accent); }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 4px 12px; padding: 14px 16px 18px; }
.tile { display: flex; align-items: center; gap: 14px; padding: 12px 10px; border-radius: 10px; color: var(--fg); text-decoration: none; }
.tile:hover { background: var(--surface-2); }
.tile:focus-visible { outline: 2px solid var(--focus); }
.tile-icon { flex: none; display: inline-flex; color: var(--fg); }
.tile-icon svg { display: block; }
.tile-name { color: var(--accent-text); font-weight: 500; line-height: 1.3; }
.tile:hover .tile-name { text-decoration: underline; }
svg .fs { fill: var(--surface); }
.crumb { margin: 0 0 .75rem; color: var(--muted); }

/* the client area: totals at the top, your information and contacts at the side */
.summary-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 1rem; }
.summary-tiles .tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 108px; padding: 1rem 1.1rem .8rem; text-decoration: none; color: var(--fg); border-right: 1px solid var(--line); border-bottom: 4px solid var(--tile); }
.summary-tiles .tile:last-child { border-right: 0; }
.summary-tiles .tile:hover { background: var(--surface-2); }
.summary-tiles .tile-ic { position: absolute; top: .6rem; right: .8rem; color: var(--muted); opacity: .35; }
.summary-tiles .tile-n { font-size: 2.4rem; line-height: 1; font-weight: 400; color: #336699; }
.summary-tiles .tile-l { margin-top: .35rem; font-size: .78rem; font-weight: 600; letter-spacing: .02em; color: var(--muted); }
.billing-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; align-items: start; }
@media (min-width: 900px) { .billing-layout { grid-template-columns: 290px minmax(0, 1fr); } }
.side-card h2 { font-size: 1rem; margin: 0 0 .75rem; }
.side-card .side-body { line-height: 1.45; margin-bottom: 1rem; }
.side-card .block { width: 100%; }
.side-list { margin: 0 0 .9rem; padding: 0; list-style: none; }
.side-list li { padding: .45rem 0; border-bottom: 1px solid var(--line); }
.linklike { background: none; border: 0; padding: 0; color: var(--accent-text); font: inherit; cursor: pointer; text-align: left; }
.linklike:hover { text-decoration: underline; }

pre.log { max-height: 18rem; overflow: auto; white-space: pre-wrap; font-size: .8rem; padding: .6rem; border: 1px solid var(--line, #ddd); border-radius: 6px; }

.row-actions.wrap { white-space: normal; min-width: 16rem; }

/* The panel's sign-in: a white card over a full-height picture. The picture (tinted with the accent colour) fills the right
   three quarters and carries the posts; the card sits across its left edge, with the logo above it. */
body:has(main.auth-photo) { background: var(--surface); }
main.auth.auth-photo { position: relative; max-width: none; margin: 0; padding: 0; min-height: 100vh; overflow: hidden; background: #fff; }
.ap-bg {
  position: absolute; top: 0; right: 0; bottom: 0; left: 25%;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 34%, #06140a ) 0%, color-mix(in srgb, var(--accent) 62%, #06140a) 100%);
  background-size: cover; background-position: center;
}
main.auth-photo.has-img .ap-bg {
  background-image: linear-gradient(135deg, color-mix(in srgb, var(--accent) 70%, #0b1f3a) , color-mix(in srgb, var(--accent) 55%, #0b1f3a)), var(--ap-img);
  background-blend-mode: multiply; background-size: cover; background-position: center;
}
main.auth-photo.has-img .ap-bg::after { content: ""; position: absolute; inset: 0; background: rgba(12, 20, 40, .35); }
.ap-logo { position: absolute; top: 26px; left: 24px; z-index: 2; }
.ap-logo .brand-logo { margin: 0; max-height: 40px; max-width: 14rem; }
.ap-logo strong { font-size: 1.2rem; letter-spacing: .04em; text-transform: uppercase; }
main.auth.auth-photo .card.ap-card {
  position: relative; z-index: 2; width: 20.5rem; max-width: calc(100vw - 32px); margin: 0; padding: 26px 24px;
  top: 50%; transform: translateY(-50%); left: calc(25% - 10.25rem);
  border: 0; border-radius: 8px; box-shadow: 0 8px 40px rgba(20, 30, 50, .16);
}
main.auth.auth-photo h1 { font-size: 1.25rem; font-weight: 400; text-align: center; letter-spacing: 0; margin: 0 0 .3rem; }
main.auth.auth-photo h1 strong { display: block; font-weight: 700; font-size: 1.35rem; }
main.auth.auth-photo .lede { text-align: center; font-size: .85rem; margin-bottom: 1.2rem; }
.ap-card .field label { font-size: .78rem; font-weight: 700; margin-bottom: .3rem; }
.ap-card .field input { height: 2.6rem; border-radius: 4px; font-size: .85rem; }
main.auth.auth-photo .ap-card form > button.primary, .ap-card button.primary[type=submit] { width: 100%; border-radius: 999px; padding: .65rem 1rem; font-weight: 600; margin-top: .6rem; }
.ap-card .small-print { text-align: center; font-size: .85rem; }
.ap-card .actions { justify-content: center; }
.auth-photo .auth-art {
  position: absolute; z-index: 1; top: 0; bottom: 0; left: 46%; right: 0; display: flex; flex-direction: column; justify-content: center;
  padding: 56px 8% 56px 4%; color: #fff;
}
.auth-photo .auth-slides { position: relative; width: 100%; max-width: 30rem; min-height: 12rem; text-align: left; }
.auth-photo .auth-slide h2 { font-size: 1.5rem; line-height: 1.3; font-weight: 700; }
.auth-photo .auth-slide p { font-size: 1rem; }
.auth-photo .auth-dots { position: static; justify-content: flex-start; margin-top: 1.5rem; }
.auth-photo .auth-dot { width: 10px; height: 10px; border-radius: 50%; }
.auth-slide { position: absolute; inset: 0 0 auto 0; opacity: 0; visibility: hidden; transition: opacity .5s ease; }
.auth-slide.on { opacity: 1; visibility: visible; position: relative; }
.auth-slide h2 { color: #fff; margin: 0 0 .75rem; }
.auth-slide p { color: rgba(255, 255, 255, .88); margin: 0 0 1.1rem; white-space: pre-line; }
.auth-more { display: inline-block; color: #fff; border: 1px solid rgba(255, 255, 255, .7); border-radius: 999px; padding: .4rem 1.1rem; text-decoration: none; font-weight: 600; }
.auth-more:hover, .auth-more:focus-visible { background: rgba(255, 255, 255, .16); }
.auth-dots { display: flex; gap: .5rem; }
.auth-dot { padding: 0; border: 0; background: rgba(255, 255, 255, .4); cursor: pointer; }
.auth-dot[aria-selected="true"] { background: #fff; }
@media (max-width: 900px) {
  .ap-bg { left: 0; }
  main.auth.auth-photo .card.ap-card { left: auto; margin: 0 auto; top: 0; transform: none; margin-top: 14vh; }
  .auth-photo .auth-art { display: none; }
  main.auth.auth-photo { min-height: 100vh; }
}
@media (prefers-reduced-motion: reduce) { .auth-slide { transition: none; } }
