
@font-face { font-family: "Manrope"; font-weight: 600; font-display: swap; src: url("/staff/assets/brand/manrope-latin-600-normal.f7ac6258da.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 700; font-display: swap; src: url("/staff/assets/brand/manrope-latin-700-normal.d2a12c85a8.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-display: swap; src: url("/staff/assets/brand/source-sans-3-latin-400-normal.0f73f35e08.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 600; font-display: swap; src: url("/staff/assets/brand/source-sans-3-latin-600-normal.14527d193b.woff2") format("woff2"); }
:root {
  color-scheme: light;
  --ink: #172b27;
  --lime: #bdeb78;
  --sage: #a7b6a8;
  --paper: #f7f6ef;
  --stone: #e4e6dd;
  --ink-soft: #24413b;
  --ink-line: #34514a;
  --stone-deep: #d6dbcf;
  --muted: #4a5b53;
  --field-line: #6b7a6e;
  --ok-soft: #d9e8cf;
  --ok-line: #5f8f6c;
  --info-soft: #dce4e0;
  --warn-soft: #f3e6c4;
  --warn-ink: #5b4917;
  --warn-line: #c9a34a;
  --danger: #a2302e;
  --danger-ink: #8c2a28;
  --danger-soft: #f6e3e0;
  --shadow: color-mix(in srgb, var(--ink) 9%, transparent);
  --ring: color-mix(in srgb, var(--ink) 16%, transparent);
  --font-heading: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius: 16px;
  --radius-small: 10px;
}
* { box-sizing: border-box; }
html { min-width: 0; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.55 var(--font-body); -webkit-font-smoothing: antialiased; }
strong, b { font-weight: 600; }
a { color: var(--ink); text-decoration-color: var(--field-line); text-underline-offset: .18em; }
a:hover { text-decoration-color: currentColor; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.topbar a:focus-visible, .agency-sidebar a:focus-visible, .agency-sidebar summary:focus-visible, .command-banner a:focus-visible { outline-color: var(--lime); }
.shell { max-width: 1160px; margin-inline: auto; padding-inline: 32px; }

/* The top bar: Ink, with the Nimparo wordmark in Paper. */
.topbar { background: var(--ink); color: var(--paper); border-bottom: 1px solid var(--ink-line); }
.topbar-inner { min-height: 68px; display: flex; align-items: center; gap: 20px; padding-inline: clamp(18px, 3vw, 44px); }
.brand { display: inline-flex; align-items: center; min-height: 44px; color: var(--paper); text-decoration: none; }
.brand .wordmark { display: block; width: 118px; height: auto; }
.workspace-label { padding-left: 20px; border-left: 1px solid var(--ink-line); color: var(--sage); font-size: 15px; }
.topbar-home { margin-left: auto; display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border-radius: var(--radius-small); color: var(--paper); text-decoration: none; font-size: 15px; font-weight: 600; }
.topbar-home:hover { background: var(--ink-soft); color: var(--paper); }
main.shell { padding-top: 40px; padding-bottom: 80px; min-height: calc(100vh - 68px); }
.page-kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.page-kicker:before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--sage); }

nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 20px; font-size: 15px; color: var(--muted); }
nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 12px; border: 1px solid transparent; border-radius: var(--radius-small); color: var(--ink); text-decoration: none; font-weight: 600; }
nav a:hover { background: var(--stone); border-color: var(--sage); }
nav a[aria-current=page] { background: var(--stone); border-color: var(--sage); }

/* Cards and type */
.card { background: var(--stone); border: 1px solid var(--sage); border-radius: var(--radius); padding: 32px; margin: 0 0 20px; }
.card.narrow { max-width: 640px; }
.card > :first-child { margin-top: 0; }
.card > :last-child { margin-bottom: 0; }
h1, h2, h3, h4 { color: var(--ink); font-family: var(--font-heading); letter-spacing: -.02em; line-height: 1.2; }
h1 { font-size: clamp(30px, 3.2vw, 40px); font-weight: 700; margin: 0 0 14px; }
h2 { font-size: clamp(21px, 2vw, 24px); font-weight: 700; margin: 32px 0 12px; }
h3 { font-size: 19px; font-weight: 600; }
h4 { font-weight: 600; }
p { margin: 0 0 16px; }
.muted { color: var(--muted); }
.eyebrow { color: var(--muted); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 10px; }

/* Forms and buttons */
form { max-width: 720px; }
label { display: block; margin: 22px 0 8px; font-size: 16px; line-height: 1.35; font-weight: 600; color: var(--ink); }
input, textarea, select { display: block; width: 100%; min-height: 48px; padding: 10px 14px; color: var(--ink); background: var(--paper); border: 1px solid var(--field-line); border-radius: var(--radius-small); font: inherit; }
input:hover, textarea:hover, select:hover { border-color: var(--ink); }
input:focus, textarea:focus, select:focus { border-color: var(--ink); }
input::placeholder { color: var(--muted); }
textarea { resize: vertical; }
input[type=checkbox], input[type=radio] { display: inline-block; width: 20px; height: 20px; min-height: 0; margin: 0 10px 0 0; padding: 0; accent-color: var(--ink); }
button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 24px; padding: 10px 22px; border: 1px solid var(--ink); border-radius: var(--radius-small); background: var(--ink); color: var(--paper); font: inherit; font-weight: 600; line-height: 1.3; cursor: pointer; transition: background .15s ease, box-shadow .15s ease; }
button:hover { background: var(--ink-soft); box-shadow: 0 4px 14px var(--shadow); }
button:disabled { opacity: .6; cursor: not-allowed; }
.error { padding: 14px 16px; border: 1px solid var(--danger); border-left-width: 5px; border-radius: var(--radius-small); background: var(--danger-soft); color: var(--danger-ink); }
.error a { color: var(--danger-ink); }
.tag { display: inline-block; padding: 3px 10px; border-radius: 100px; background: var(--ok-soft); color: var(--ink); font-size: 14px; font-weight: 600; vertical-align: middle; }
.items { list-style: none; padding: 0; margin: 10px 0; border-top: 1px solid var(--sage); }
.items li { padding: 17px 2px; border-bottom: 1px solid var(--sage); }
.items li .muted { font-size: 15px; }
.dashboard-header { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin: 0 0 28px; }
.dashboard-header h1 { margin-bottom: 6px; }
.dashboard-header .muted { margin: 0; }
.agency-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 310px), 1fr)); gap: 18px; margin: 0 0 28px; }
.agency-tile { display: flex; flex-direction: column; min-height: 196px; padding: 24px; background: var(--stone); border: 1px solid var(--sage); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease; }
.agency-tile .tag { align-self: flex-start; }
.agency-tile:hover { border-color: var(--ink); box-shadow: 0 8px 24px var(--shadow); }
.agency-tile-name { display: block; margin: 18px 0 6px; font-family: var(--font-heading); font-size: 21px; font-weight: 700; letter-spacing: -.02em; }
.agency-tile-meta { color: var(--muted); font-size: 15px; }
.agency-tile-action { margin-top: auto; padding-top: 18px; font-size: 15px; font-weight: 600; }
.action-link { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 20px; border: 1px solid var(--ink); border-radius: var(--radius-small); background: var(--ink); color: var(--paper); font-weight: 600; text-decoration: none; white-space: nowrap; }
.action-link:hover { color: var(--paper); background: var(--ink-soft); }
.empty-state { padding: 36px; border: 1px dashed var(--field-line); border-radius: var(--radius); background: var(--stone); text-align: center; }
.empty-state h2 { margin: 0 0 8px; }
.empty-state p { max-width: 470px; margin: 0 auto; }
.status-callout { padding: 14px 18px; border-left: 5px solid var(--ink); border-radius: var(--radius-small); background: var(--ok-soft); color: var(--ink); }
.quiet-form button, button.restore-secondary, button.button-quiet { margin-top: 0; background: var(--paper); color: var(--ink); border-color: var(--field-line); }
.quiet-form button:hover, button.restore-secondary:hover, button.button-quiet:hover { background: var(--stone); box-shadow: none; }
dl { display: grid; grid-template-columns: minmax(140px, 210px) minmax(0, 1fr); gap: 12px 22px; padding: 16px 0; margin: 16px 0; border-top: 1px solid var(--sage); }
.card > dl:first-child { padding-top: 0; border-top: 0; }
dt { font-size: 15px; color: var(--muted); font-weight: 600; }
dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .88em; }
code { overflow-wrap: anywhere; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 30rem; overflow: auto; padding: 16px; background: var(--paper); border: 1px solid var(--sage); border-radius: var(--radius-small); }
details { margin: 14px 0; border: 1px solid var(--sage); border-radius: var(--radius-small); background: var(--paper); }
summary { display: flex; align-items: center; min-height: 44px; padding: 10px 16px; cursor: pointer; color: var(--ink); font-weight: 600; }
details > :not(summary) { margin: 0 16px 16px; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; transform: translateY(-160%); background: var(--paper); color: var(--ink); padding: 10px 14px; border-radius: var(--radius-small); }
.skip-link:focus { transform: translateY(0); }

/* The agency workspace: an Ink side menu under the Ink top bar. */
.workspace-shell { display: grid; grid-template-columns: 256px minmax(0, 1fr); min-height: calc(100vh - 68px); }
.agency-sidebar { display: flex; flex-direction: column; min-width: 0; padding: 26px 16px 22px; background: var(--ink); color: var(--paper); }
.sidebar-identity { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 2px 10px 22px; border-bottom: 1px solid var(--ink-line); }
.sidebar-identity-mark { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--ink-soft); border: 1px solid var(--ink-line); color: var(--paper); font-family: var(--font-heading); font-weight: 700; }
.sidebar-identity > span:last-child { min-width: 0; }
.sidebar-identity strong, .sidebar-identity small { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sidebar-identity strong { color: var(--paper); font-size: 16px; line-height: 1.25; }
.sidebar-identity small { margin-top: 3px; color: var(--sage); font-size: 14px; }
.sidebar-nav { display: block; margin: 0; padding: 14px 0 0; color: inherit; }
.sidebar-nav p { margin: 18px 10px 6px; color: var(--sage); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.sidebar-nav a { display: flex; align-items: center; gap: 12px; min-width: 0; min-height: 44px; padding: 8px 12px; border: 0; border-radius: var(--radius-small); color: var(--paper); font-size: 16px; font-weight: 400; text-decoration: none; }
.sidebar-nav a:hover { background: var(--ink-soft); color: var(--paper); }
.sidebar-nav a[aria-current=page] { background: var(--lime); color: var(--ink); font-weight: 600; }
.sidebar-nav a svg { flex: none; width: 19px; height: 19px; }
.sidebar-nav a span { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sidebar-nav a small { color: var(--sage); font-size: 13px; }
.sidebar-nav a[aria-current=page] small { color: var(--ink); }
.mobile-navigation { display: none; }
.sidebar-foot { display: flex; align-items: center; gap: 8px; margin-top: auto; padding: 22px 10px 0; color: var(--sage); font-size: 14px; }
.sidebar-foot-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sage); }
.workspace-main { min-width: 0; max-width: 1480px; width: 100%; margin-inline: auto; padding: 40px clamp(22px, 4vw, 60px) 88px; }
.workspace-main > .page-kicker { margin-bottom: 20px; }
.workspace-main > nav:not(.sidebar-nav) { margin-bottom: 24px; }
.workspace-heading { display: flex; align-items: end; justify-content: space-between; gap: 26px; margin: 0 0 30px; }
.workspace-heading > div { min-width: 0; }
.workspace-heading h1 { max-width: 780px; margin: 0 0 8px; }
.workspace-heading p:last-child { max-width: 690px; margin: 0; }
.workspace-heading > .status-pill { align-self: center; }
.command-banner { display: flex; align-items: center; gap: 22px; min-height: 136px; margin-bottom: 20px; padding: 26px 30px; border-radius: var(--radius); background: var(--ink); color: var(--paper); }
.command-banner .eyebrow { color: var(--sage); margin-bottom: 4px; }
.command-banner h2 { color: var(--paper); margin: 0 0 6px; }
.command-banner p:last-child { margin: 0; color: var(--paper); }
.command-orbit { flex: none; display: grid; place-items: center; width: 60px; height: 60px; border: 1px solid var(--ink-line); border-radius: var(--radius); background: var(--ink-soft); color: var(--sage); font-size: 28px; }
.command-status { margin-left: auto; align-self: flex-start; padding: 5px 12px; border: 1px solid var(--sage); border-radius: 100px; color: var(--paper); font-size: 14px; font-weight: 600; white-space: nowrap; }
.card-heading { display: flex; align-items: start; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.card-heading h2 { margin: 0 0 4px; }
.card-heading .eyebrow { margin-bottom: 7px; }
.card-heading p { margin: 0; color: var(--muted); font-size: 15px; }
.card-heading > a { flex: none; font-size: 15px; font-weight: 600; white-space: nowrap; }

/* Status pills: Ink words on a soft fill, the meaning carried by the words. */
.status-pill { display: inline-flex; align-items: center; justify-content: center; max-width: 100%; padding: 4px 12px; border: 1px solid var(--ok-line); border-radius: 100px; background: var(--ok-soft); color: var(--ink); font-size: 14px; font-weight: 600; line-height: 1.3; white-space: nowrap; }
.status-planned { border-color: var(--warn-line); background: var(--warn-soft); color: var(--warn-ink); }
.status-private { border-color: var(--field-line); background: var(--info-soft); }
.status-suspended { border-color: var(--danger); background: var(--danger-soft); color: var(--danger-ink); }
.status-retired { border-color: var(--sage); background: var(--stone-deep); }
.quick-card > .eyebrow { margin-bottom: 7px; }
.quick-card h2 { margin: 0 0 14px; }
.quick-card > a { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 12px 0; border-top: 1px solid var(--sage); color: var(--ink); text-decoration: none; }
.quick-card > a:hover strong { text-decoration: underline; }
.quick-card > a svg { flex: none; width: 22px; height: 22px; }
.quick-card > a span:nth-of-type(1) { flex: 1; }
.quick-card > a strong, .quick-card > a small { display: block; }
.quick-card > a small { margin-top: 2px; color: var(--muted); font-size: 15px; }
.quiet-empty { padding: 24px; border: 1px dashed var(--field-line); border-radius: var(--radius-small); background: var(--paper); }
.quiet-empty p { margin: 6px 0 0; color: var(--muted); }
.pagination { margin: 20px 0 0; text-align: right; }
.breadcrumbs { gap: 10px; color: var(--muted); }
.breadcrumbs a { padding: 0 4px; text-decoration: underline; font-weight: 600; }
.breadcrumbs a:hover { background: transparent; border-color: transparent; }
.button-danger, .workspace-main .button-danger { background: var(--danger); border-color: var(--danger); color: var(--paper); }
.button-danger:hover, .workspace-main .button-danger:hover { background: var(--danger-ink); border-color: var(--danger-ink); }
.site-danger-zone { border-color: var(--danger); }
.site-info-list { display: block; margin: 0; padding: 0; border-top: 0; }
.site-info-list dt { padding-top: 12px; border-top: 1px solid var(--sage); font-size: 14px; }
.site-info-list dd { margin: 3px 0 12px; font-size: 16px; font-weight: 600; overflow-wrap: anywhere; }

/* Tables: Paper rows in a Sage frame, so they read clearly on a Stone card. */
.site-resources { margin-top: 20px; }
.site-resource-scroll { max-width: 100%; overflow-x: auto; border: 1px solid var(--sage); border-radius: var(--radius-small); background: var(--paper); }
.site-resources table, .site-resource-scroll table { width: 100%; border-collapse: collapse; font-size: 16px; text-align: left; }
.site-resources th, .site-resource-scroll th { padding: 12px 14px; background: var(--stone-deep); color: var(--ink); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.site-resources td, .site-resource-scroll td { padding: 13px 14px; border-top: 1px solid var(--stone-deep); color: var(--muted); white-space: nowrap; vertical-align: top; }
.site-resources td:first-child, .site-resource-scroll td:first-child { color: var(--ink); white-space: normal; min-width: 170px; overflow-wrap: anywhere; }
.site-resources td .muted { margin: 6px 0 0; font-size: 15px; white-space: normal; }
.site-resource-link { display: inline-flex; align-items: center; min-height: 32px; color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--sage); text-underline-offset: 3px; }
.site-resource-link:hover { text-decoration-color: currentColor; }
.placeholder-card { display: grid; grid-template-columns: minmax(180px, .75fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 72px); align-items: center; min-height: 320px; }
.placeholder-card h2 { margin: 0 0 10px; }
.placeholder-card .action-link { margin-top: 8px; }
.placeholder-art { display: flex; flex-direction: column; gap: 12px; padding: 26px; border: 1px solid var(--sage); border-radius: var(--radius); background: var(--paper); transform: rotate(-2deg); }
.placeholder-art span { height: 26px; border: 1px solid var(--sage); border-radius: 6px; background: var(--stone); }
.placeholder-art span:first-child { width: 52%; height: 42px; background: var(--sage); }
.placeholder-art span:last-child { width: 72%; }

/* Templates */
.template-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 18px; margin-bottom: 18px; }
.template-grid .card { margin: 0; }
.template-card { padding: 0; overflow: hidden; }
.template-card-copy { padding: 22px; }
.template-card h2 { margin: 0 0 8px; }
.template-card p:not(.eyebrow) { color: var(--muted); font-size: 15px; }
.template-card form { margin-top: 12px; }
.template-card button { margin-top: 0; }
.template-thumbnail { display: block; position: relative; color: var(--ink); background: var(--stone-deep); text-decoration: none; overflow: hidden; border-bottom: 1px solid var(--sage); }
.template-thumbnail img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; transition: transform 180ms ease; }
.template-thumbnail:hover img { transform: scale(1.025); }
.template-preview-pending { min-height: 220px; display: flex; flex-direction: column; gap: 5px; align-items: center; justify-content: center; padding: 20px; background: var(--stone-deep); border-bottom: 1px solid var(--sage); color: var(--ink); text-align: center; }
.template-preview-pending > span { font-family: var(--font-heading); font-size: 16px; font-weight: 600; }
.template-feature-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0; }
.template-feature-tags span { padding: 3px 9px; background: var(--paper); border: 1px solid var(--sage); border-radius: 6px; color: var(--ink); font-size: 14px; }
.template-search { max-width: none; margin: 0 0 16px; }
.template-search label { margin-top: 0; }
.template-search-row { display: flex; flex-wrap: wrap; gap: 10px; }
.template-search-row input { flex: 1 1 240px; width: auto; }
.template-search-row button { margin-top: 0; }
.template-choice-form { max-width: none; }
.template-choices { min-width: 0; margin: 18px 0 0; padding: 0; border: 0; }
.template-choices .template-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.template-choices legend, .rollout-sites legend { margin-bottom: 10px; padding: 0; font-size: 16px; font-weight: 600; color: var(--ink); }
.card.template-choice { display: flex; flex-direction: column; padding: 0; border: 2px solid var(--sage); }
.template-choice:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 4px var(--ring); }
.template-choice:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 3px; }
.template-choice-pick { display: block; flex: 1; margin: 0; font-weight: inherit; color: inherit; cursor: pointer; }
.template-choice .template-preview-pending { min-height: 0; aspect-ratio: 16 / 9; }
.template-choice .template-preview-pending > span { font-size: 21px; }
.template-choice .template-card-copy { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; }
.template-choice-name { display: flex; align-items: center; font-family: var(--font-heading); font-size: 18px; font-weight: 700; color: var(--ink); }
.template-choice-line { color: var(--muted); font-size: 15px; font-weight: 600; }
.template-choice-summary { color: var(--muted); font-size: 15px; font-weight: 400; }
.template-choice .template-feature-tags { margin: 4px 0; }
.template-choice-demo { margin: 0; padding: 0 20px 18px; font-size: 15px; }
.library-template { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); align-items: start; margin-top: 18px; }
.library-template > .template-thumbnail, .library-template > .template-preview-pending { aspect-ratio: 16 / 9; min-height: 0; border-bottom: 0; border-right: 1px solid var(--sage); }
.library-template h3 { margin: 0 0 6px; font-size: 21px; }
.library-template h4 { margin: 18px 0 8px; font-size: 15px; }
.library-retired td, .library-retired td:first-child { color: var(--muted); }
.library-plugins { padding-left: 18px; }
.library-plugins li { margin: 6px 0; }

/* Sign in: a calm centred card on Paper, with the symbol as the one bright mark. */
.auth-shell { display: flex; flex-direction: column; align-items: center; min-height: 100vh; padding: clamp(32px, 7vh, 80px) 16px 32px; }
.auth-brand { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: clamp(24px, 4vh, 40px); color: var(--ink); }
.auth-brand .wordmark { display: block; width: 132px; height: auto; }
.auth-card { width: 100%; max-width: 460px; padding: clamp(28px, 5vw, 44px); box-shadow: 0 18px 48px var(--shadow); }
.auth-card form { max-width: none; }
.auth-card h1 { margin-top: 22px; font-size: clamp(28px, 4vw, 34px); }
.auth-card button { width: 100%; margin-top: 28px; }
.auth-mark { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 15px; background: var(--ink); color: var(--lime); }
.auth-mark .symbol { width: 30px; height: auto; }
.auth-card .eyebrow { margin-top: 22px; }
.auth-card .eyebrow + h1 { margin-top: 0; }
.auth-foot { margin: auto 0 0; padding-top: 32px; color: var(--muted); font-size: 15px; }
.qr-frame { display: inline-flex; padding: 14px; margin: 12px 0 6px; background: var(--paper); border: 1px solid var(--sage); border-radius: var(--radius-small); }
.qr-frame img { display: block; width: min(230px, 100%); height: auto; aspect-ratio: 1; }
.setup-key { display: block; padding: 12px; background: var(--stone); border-radius: 8px; user-select: all; }
.recovery-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; padding-left: 22px; margin-top: 12px !important; }
.recovery-list li { padding: 3px 0; font-variant-numeric: tabular-nums; }
.recovery-note { padding: 14px 16px; margin: 16px 0; background: var(--warn-soft); border: 1px solid var(--warn-line); border-radius: var(--radius-small); color: var(--warn-ink); }

@media (max-width: 1050px) {
  .workspace-shell { grid-template-columns: 1fr; }
  .agency-sidebar { padding: 0; border-bottom: 1px solid var(--ink-line); }
  .sidebar-identity, .sidebar-foot, .desktop-nav { display: none; }
  .mobile-navigation { display: block; margin: 0; border: 0; border-radius: 0; background: transparent; }
  .mobile-navigation > summary { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 9px 20px; list-style: none; color: var(--paper); font-size: 16px; font-weight: 600; }
  .mobile-navigation > summary::-webkit-details-marker { display: none; }
  .mobile-navigation > summary svg { flex: none; width: 22px; height: 22px; }
  .mobile-navigation > summary small { min-width: 0; margin-left: auto; overflow: hidden; color: var(--sage); font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
  .mobile-navigation[open] > summary { border-bottom: 1px solid var(--ink-line); }
  .mobile-navigation > .sidebar-nav { display: block; margin: 0; padding: 8px 12px 18px; }
  .mobile-navigation .sidebar-nav p { margin-top: 14px; }
  .workspace-main { padding-top: 30px; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .shell { padding-inline: 16px; }
  .topbar-inner { min-height: 60px; gap: 12px; padding-inline: 16px; }
  .brand .wordmark { width: 104px; }
  .workspace-label { display: none; }
  .topbar-home { padding-inline: 10px; }
  main.shell { padding-top: 24px; }
  .card { padding: 22px 16px; border-radius: 14px; }
  dl { grid-template-columns: 1fr; gap: 2px; }
  dd { margin-bottom: 10px; }
  .recovery-list { grid-template-columns: 1fr; }
  .dashboard-header { align-items: stretch; flex-direction: column; }
  .workspace-main { padding: 24px 16px 64px; }
  .workspace-heading { align-items: stretch; flex-direction: column; gap: 16px; }
  .workspace-heading .action-link { align-self: flex-start; }
  .command-banner { align-items: flex-start; flex-wrap: wrap; padding: 22px 18px; }
  .command-orbit { width: 44px; height: 44px; font-size: 22px; }
  .command-banner > div:nth-child(2) { flex: 1 1 calc(100% - 66px); }
  .command-status { order: 3; margin-left: 66px; }
  .card-heading { flex-wrap: wrap; }
  .placeholder-card { grid-template-columns: 1fr; }
  .placeholder-art { max-width: 230px; min-height: 160px; }
  .auth-shell { padding-top: 28px; }
  .auth-card { padding: 26px 20px; }
}
@media (max-width: 760px) { .library-template { grid-template-columns: 1fr; } .library-template > .template-thumbnail, .library-template > .template-preview-pending { border-right: 0; border-bottom: 1px solid var(--sage); } }

/* Restore: a timeline of the website's last 30 days; a picked point opens its panel (no script). */
.restore-form { max-width: none; }
.restore-time-form { display: none; }
.restore-intro { padding: 28px 32px; }
.restore-lead { max-width: 760px; font-size: 19px; line-height: 1.5; font-weight: 600; }
.restore-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 18px 0 0; padding: 0; list-style: none; }
.restore-facts li { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border: 1px solid var(--sage); border-left-width: 5px; border-radius: var(--radius-small); background: var(--paper); font-size: 15px; color: var(--muted); }
.restore-facts strong, .restore-outcome strong { color: var(--ink); font-size: 15px; }
.restore-facts .restore-outcome-back, .restore-outcome .restore-outcome-back { border-left-color: var(--ok-line); }
.restore-facts .restore-outcome-stays, .restore-outcome .restore-outcome-stays { border-left-color: var(--warn-line); }
.restore-facts .restore-outcome-lost, .restore-outcome .restore-outcome-lost { border-left-color: var(--danger); }
.restore-step-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.restore-step-head h2 { margin: 2px 0 4px; }
.restore-step-head p { margin: 0; font-size: 15px; }
.restore-step { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--paper); font-family: var(--font-heading); font-size: 15px; font-weight: 700; }
.restore-step-small { width: 24px; height: 24px; margin-right: 8px; font-size: 13px; }
.restore-timeline { position: relative; margin: 0; padding: 0 0 0 30px; list-style: none; }
.restore-timeline:before { content: ""; position: absolute; top: 10px; bottom: 10px; left: 9px; width: 2px; border-radius: 2px; background: var(--sage); }
.restore-event { position: relative; margin: 0 0 12px; }
.restore-event:last-child { margin-bottom: 0; }
.restore-dot { position: absolute; top: 16px; left: -27px; width: 14px; height: 14px; border: 2px solid var(--field-line); border-radius: 50%; background: var(--paper); }
.restore-event-now .restore-dot { top: 12px; border-color: var(--ink); background: var(--ink); box-shadow: 0 0 0 4px var(--ring); }
.restore-dot-point { border-color: var(--ok-line); background: var(--ok-soft); }
.restore-event:has(input:checked) .restore-dot { border-color: var(--ink); background: var(--ink); box-shadow: 0 0 0 4px var(--ring); }
.restore-event-limit .restore-dot { border-style: dashed; border-color: var(--danger); }
.restore-event-created .restore-dot { border-color: var(--ink); }
.restore-event-body { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 8px 2px; }
.restore-event-title, .restore-point-title { color: var(--ink); font-size: 17px; font-weight: 600; }
.restore-event-when { color: var(--muted); font-size: 15px; }
.restore-event-detail, .restore-event-context { color: var(--muted); font-size: 15px; }
.restore-event-body .restore-event-detail { flex-basis: 100%; }
.restore-event-context { font-weight: 600; }
.restore-event-limit .restore-event-title { color: var(--danger-ink); font-size: 15px; }
.restore-point { border: 1.5px solid var(--sage); border-radius: var(--radius-small); background: var(--paper); transition: border-color .15s ease, box-shadow .15s ease; }
.restore-point:hover { border-color: var(--field-line); }
.restore-point:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 4px var(--ring), 0 8px 22px var(--shadow); }
.restore-point:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 3px; }
.restore-point-pick { display: flex; align-items: flex-start; gap: 4px; margin: 0; padding: 14px 16px; color: inherit; font-weight: inherit; cursor: pointer; }
.restore-point-pick input { margin-top: 3px; }
.restore-point-copy, .restore-point-off { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.restore-point-off { padding: 13px 16px; border-style: dashed; background: var(--stone); }
.restore-point-off .restore-point-title { color: var(--muted); }
.restore-unavailable { color: var(--danger-ink); font-size: 15px; font-weight: 600; }
.restore-design-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 2px 0 0; color: var(--muted); font-size: 15px; }
.restore-chip { display: inline-flex; align-items: center; padding: 2px 9px; border: 1px solid var(--sage); border-radius: 6px; background: var(--stone); color: var(--ink); font-size: 14px; font-weight: 600; white-space: nowrap; }
.restore-rule { display: inline-flex; padding: 2px 10px; border: 1px solid; border-radius: 100px; color: var(--ink); font-size: 14px; font-weight: 600; line-height: 1.3; }
.restore-rule-same { border-color: var(--ok-line); background: var(--ok-soft); }
.restore-rule-older, .restore-rule-newer { border-color: var(--field-line); background: var(--info-soft); }
.restore-rule-different { border-color: var(--warn-line); background: var(--warn-soft); color: var(--warn-ink); }
.restore-rule-none { border-color: var(--sage); background: var(--stone-deep); }
.restore-what { display: none; margin: 0 16px 16px; padding: 16px 18px; border: 1px solid var(--sage); border-radius: var(--radius-small); background: var(--stone); font-size: 16px; }
.restore-point:has(input:checked) .restore-what { display: block; }
.restore-what p { margin: 0 0 10px; }
.restore-what-title { display: flex; align-items: center; color: var(--ink); font-weight: 600; }
.restore-when strong { font-size: 17px; }
.restore-locked { padding: 10px 12px; border: 1px solid var(--warn-line); border-radius: 8px; background: var(--warn-soft); color: var(--warn-ink); font-weight: 600; }
.restore-check { display: flex; align-items: flex-start; gap: 2px; margin: 6px 0 12px; padding: 12px; border: 1px solid var(--field-line); border-radius: var(--radius-small); background: var(--paper); font-size: 16px; font-weight: 600; cursor: pointer; }
.restore-check input { margin-top: 2px; }
.restore-outcome { display: grid; gap: 7px; margin: 12px 0 0; padding: 0; list-style: none; }
.restore-outcome li { padding: 8px 12px; border-left: 4px solid var(--sage); border-radius: 0 8px 8px 0; background: var(--paper); color: var(--muted); font-size: 15px; }
.restore-exact { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--sage); }
.restore-exact label { margin-top: 0; }
.restore-exact-row { display: flex; flex-wrap: wrap; gap: 10px; max-width: 520px; }
.restore-exact-row input { flex: 1 1 220px; width: auto; }
.restore-exact .muted { margin: 8px 0 0; font-size: 15px; }
.restore-confirm input { max-width: 420px; }
.restore-confirm > .muted { font-size: 15px; }
.restore-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 24px; }
button.restore-primary { margin-top: 0; min-height: 52px; padding: 12px 28px; font-size: 18px; }
.restore-cancel { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.restore-card .action-link { margin-top: 2px; }
.restore-done { border-left: 6px solid var(--ok-line); }
.restore-done h2 { margin: 0 0 10px; }
.restore-done form { margin-top: 6px; }
@media (max-width: 760px) { .restore-facts { grid-template-columns: 1fr; } .restore-intro { padding: 22px 18px; } .restore-lead { font-size: 17px; } }
@media (max-width: 560px) { .restore-timeline { padding-left: 24px; } .restore-timeline:before { left: 6px; } .restore-dot { left: -24px; } .restore-point-pick { padding: 12px; } .restore-what { margin: 0 10px 12px; padding: 14px; } .restore-actions { flex-direction: column; align-items: stretch; } button.restore-primary { width: 100%; } .restore-cancel { justify-content: center; } }

/* Updates of all websites (rollouts) and "Are my sites working?" on the Websites page. */
.hosting-banner { margin-bottom: 20px; }
.hosting-banner p { margin: 0; }
.hosting-banner p + p { margin-top: 6px; }
.hosting-banner a { color: inherit; font-weight: 600; }
.site-resources td.cell-wrap { white-space: normal; min-width: 200px; }
.rollout + .rollout { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--sage); }
.rollout-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; margin-bottom: 12px; }
.rollout-head h2, .rollout-head h3 { margin: 0; }
.rollout-head form { margin: 0; }
.rollout-actions { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin-top: 18px; }
.rollout-actions form { margin: 0; }
.rollout-actions + .muted { margin-top: 14px; }
.rollout-actions button, .rollout-head button { margin-top: 0; }
.rollout-sites { min-width: 0; margin: 0 0 12px; padding: 0; border: 0; }
.rollout-pick { display: inline-flex; align-items: center; min-height: 44px; margin: 0; font-weight: 600; }
.rollout-pace { display: grid; grid-template-columns: repeat(2, minmax(0, 240px)); gap: 0 18px; }
.rollout-how { margin: 20px 0; padding-left: 22px; color: var(--muted); }
.rollout-how li + li { margin-top: 6px; }
@media (max-width: 560px) { .rollout-pace { grid-template-columns: 1fr; } .rollout-actions { flex-direction: column; align-items: stretch; } .rollout-actions button { width: 100%; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .template-thumbnail:hover img { transform: none; }
}
