/* Own speo portal surfaces. Scoped to service/admin routes; no marketing or Core selectors. */
.speo-portal,
.speo-portal-admin {
	--sp-ink: #17142d;
	--sp-paper: #f6f5ef;
	--sp-card: #fff;
	--sp-lime: #d4ff52;
	--sp-purple: #593c9e;
	--sp-muted: #646170;
	--sp-line: #deddd5;
	--sp-control: #8b8697;
	--sp-radius: 14px;
	box-sizing: border-box;
	color: var(--sp-ink);
	font-family: var(--speo-portal-font, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
.speo-portal-themed .speo-portal { --speo-portal-font: 'DM Sans', Arial, sans-serif; }
.speo-portal { min-height: 100vh; background: var(--sp-paper); }
/* Native details::details-content has its own initial box model; descendants must retain the portal border-box contract explicitly. */
.speo-portal *, .speo-portal *::before, .speo-portal *::after,
.speo-portal-admin *, .speo-portal-admin *::before, .speo-portal-admin *::after { box-sizing: border-box; }
.speo-portal [hidden], .speo-portal-admin [hidden] { display: none !important; }
.speo-portal :is(h1,h2,h3,p,figure,dl,dd,ul,ol),
.speo-portal-admin :is(h1,h2,h3,p,figure,dl,dd,ul,ol) { margin: 0; }
.speo-portal :is(h1,h2,h3), .speo-portal-admin :is(h1,h2,h3) { color: inherit; font-family: inherit; font-weight: 500; }
.speo-portal :is(h1,h2,h3,p), .speo-portal-admin :is(h1,h2,h3,p) { overflow-wrap: anywhere; }
.speo-portal h1, .speo-portal-admin h1 { font-size: clamp(2rem, 3.5vw, 3.25rem); line-height: 1.12; letter-spacing: -.05em; }
.speo-portal h2, .speo-portal-admin h2 { font-size: 1.3rem; line-height: 1.3; letter-spacing: -.025em; }
.speo-portal h3, .speo-portal-admin h3 { font-size: 1rem; line-height: 1.4; letter-spacing: -.015em; }
.speo-portal :is(button,input,select,textarea), .speo-portal-admin :is(button,input,select,textarea) { font: inherit; }
.speo-portal a, .speo-portal-admin a { color: inherit; text-underline-offset: .22em; }
.speo-portal :is(button,a,input,select,textarea,summary):focus-visible,
.speo-portal-admin :is(button,a,input,select,textarea,summary):focus-visible,
.speo-portal .sp-table-wrap:focus-visible, .speo-portal-admin .sp-table-wrap:focus-visible { outline: 3px solid #7150bd; outline-offset: 4px; }
.speo-portal ::selection, .speo-portal-admin ::selection { background: var(--sp-lime); color: var(--sp-ink); }
.sp-sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.sp-skip { position: fixed; top: 12px; left: 16px; z-index: 10001; padding: 12px 20px; transform: translateY(-200%); border-radius: 7px; background: var(--sp-lime); color: var(--sp-ink) !important; font-weight: 500; }
.sp-skip:focus { transform: none; }
.speo-portal .sp-main:focus { outline: none; }
.sp-brand { display: inline-flex; align-items: center; gap: 9px; width: fit-content; text-decoration: none; color: inherit; }
.sp-brand svg { display: block; flex-shrink: 0; }
.sp-brand span { font-size: 2.4rem; font-weight: 500; line-height: 1; letter-spacing: -.075em; }
.sp-eyebrow { min-width: 0; overflow-wrap: anywhere; display: block; margin-bottom: 14px !important; font-size: .7rem; font-weight: 600; letter-spacing: .1em; line-height: 1.5; text-transform: uppercase; }
.sp-muted, .sp-caption, .sp-source, .sp-form-note { color: var(--sp-muted); }
.sp-caption, .sp-source, .sp-form-note { font-size: .8rem; line-height: 1.6; }
.sp-caption { display: block; overflow-wrap: anywhere; }
.sp-lead { max-width: 650px; margin-top: 18px !important; font-size: 1.05rem; color: var(--sp-muted); line-height: 1.7; }
.sp-button { max-width: 100%; overflow-wrap: anywhere; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 10px 18px; border: 1px solid transparent; border-radius: 7px; font-size: .875rem; font-weight: 500; line-height: 1.5; text-align: center; text-decoration: none; cursor: pointer; appearance: none; }
.speo-portal .sp-button-primary, .speo-portal-admin .sp-button-primary { background: var(--sp-ink); border-color: var(--sp-ink); color: var(--sp-paper); }
.speo-portal .sp-button-primary:hover, .speo-portal-admin .sp-button-primary:hover { background: #343044; }
.speo-portal .sp-button-secondary, .speo-portal-admin .sp-button-secondary { background: transparent; border-color: var(--sp-control); color: var(--sp-ink); }
.speo-portal .sp-button-secondary:hover, .speo-portal-admin .sp-button-secondary:hover { background: #eeede6; border-color: var(--sp-ink); }
.speo-portal .sp-button-quiet, .speo-portal-admin .sp-button-quiet { padding-inline: 4px; color: var(--sp-purple); background: transparent; text-decoration: underline; }
.speo-portal button:disabled, .speo-portal-admin button:disabled { background: #e8e6ee; border-color: #d4d0df; color: #646170; cursor: not-allowed; }
.sp-actions { min-width: 0; max-width: 100%; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.speo-portal .sp-link, .speo-portal-admin .sp-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--sp-purple); font-size: .875rem; font-weight: 500; }
.sp-public-header, .sp-public-footer { max-width: 1392px; margin-inline: auto; padding-inline: 48px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.sp-public-header { min-height: 112px; border-bottom: 1px solid var(--sp-line); }
.sp-public-header nav { display: flex; align-items: center; gap: 12px; font-size: .85rem; }
.sp-public-header nav > span { color: var(--sp-muted); }
.sp-public .sp-main { max-width: 1240px; margin: 0 auto; padding: 48px 48px 72px; }
.sp-public-footer { padding-block: 22px; border-top: 1px solid var(--sp-line); font-size: .75rem; color: var(--sp-muted); }
.sp-public-footer nav { display: flex; gap: 24px; }
.sp-public-footer a { display: inline-flex; align-items: center; min-height: 44px; }
.sp-entry-grid { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); gap: clamp(36px, 7vw, 100px); align-items: start; }
.sp-entry-copy { min-width: 0; padding-top: 20px; }
/* A compact heading introduces one task; the chosen package belongs beside its form. */
.sp-entry-grid-start { grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); gap: 28px 40px; max-width: 1040px; margin-inline: auto; }
.sp-entry-grid-start > .sp-entry-copy { grid-column: 1 / -1; padding: 0; }
.sp-entry-grid-start > .sp-entry-form { grid-column: 1; grid-row: 2; margin-bottom: 0; }
.sp-entry-copy h1 { max-width: 760px; font-size: clamp(2rem,3.3vw,2.75rem); line-height: 1.14; letter-spacing: -.045em; }
.sp-entry-copy .sp-lead { max-width: 660px; font-size: .975rem; line-height: 1.65; margin-top: 14px !important; }
.sp-entry-extra { grid-column: 2; grid-row: 2; min-width: 0; }
.sp-entry-extra .sp-steps { margin-top: 28px; }
.sp-entry-form { padding: 32px !important; border-color: var(--sp-line) !important; box-shadow: 0 5px 24px #17142d03; }
.sp-entry-form > h2 { margin-bottom: 8px; font-size: 1.35rem; }
.sp-entry-form > .sp-muted { margin-bottom: 0; font-size: .875rem; }
.sp-entry-form .sp-form { margin-top: 26px; }
.sp-entry-form .sp-form > .sp-button { width: 100%; margin-top: 4px; min-height: 49px; }
.sp-entry-form > .sp-actions { margin-top: 18px; }
.sp-mini-plan { min-width: 0; padding: 30px; border: 1px solid var(--sp-line); border-radius: var(--sp-radius); background: #eeede6; }
.sp-mini-plan > .sp-eyebrow { margin-bottom: 10px !important; color: var(--sp-muted); }
.sp-entry-plan-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.sp-entry-plan-head h2 { font-size: 1.6rem; }
.sp-entry-plan-mark { flex: 0 0 34px; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--sp-ink); border-radius: 50%; }
.sp-entry-plan-mark > span { width: 12px; height: 12px; background: var(--sp-lime); border: 1px solid var(--sp-ink); border-radius: 50%; }
.sp-entry-price { display: flex; flex-direction: column; align-items: start; gap: 3px; margin-top: 18px !important; }
.sp-entry-price strong { min-width: 0; font-size: 1.7rem; line-height: 1.25; font-weight: 500; letter-spacing: -.045em; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.sp-entry-price > span { font-size: .75rem; color: var(--sp-muted); }
.sp-mini-plan ul { list-style: none; padding: 20px 0 0; margin-top: 20px; border-top: 1px solid #d0cfc5; }
.sp-mini-plan li { position: relative; padding-left: 20px; font-size: .875rem; line-height: 1.65; overflow-wrap: anywhere; }
.sp-mini-plan li + li { margin-top: 8px; }
.sp-mini-plan li::before { content: ''; position: absolute; top: .58em; left: 0; width: 6px; height: 6px; border: 1px solid var(--sp-ink); border-radius: 50%; background: var(--sp-lime); }
.sp-mini-plan > .sp-caption { margin-top: 20px; font-size: .75rem; }
.sp-entry-copy .sp-steps { margin-top: 28px; }
/* The authenticated testing state is context, while genuine outcome notices remain visible. */
.sp-test-context { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 24px; font-size: .75rem; color: var(--sp-muted); }
.sp-test-label { display: inline-flex; align-items: center; gap: 8px; color: var(--sp-ink); font-weight: 500; }
.sp-test-label > span { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: var(--sp-lime); border: 1px solid #667a2a; }
.sp-test-context > p { min-width: 0; }
.sp-test-tools { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-bottom: 28px; padding-block: 18px; border-block: 1px solid var(--sp-line); }
.sp-test-tools > div { min-width: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.sp-test-tools h2 { font-size: 1rem; }
.sp-test-tools .sp-form { min-width: 0; gap: 8px; }
.sp-entry-orbit { position: relative; width: 150px; height: 150px; margin-top: 50px; border: 1px solid var(--sp-line); border-radius: 50%; }
.sp-entry-orbit::before, .sp-entry-orbit::after { content: ''; position: absolute; border-radius: 50%; }
.sp-entry-orbit::before { inset: 30px; border: 1px solid var(--sp-control); }
.sp-entry-orbit::after { width: 24px; height: 24px; top: 4px; left: 24px; border: 1px solid var(--sp-ink); background: var(--sp-lime); }
.sp-entry-orbit span { position: absolute; width: 8px; height: 8px; top: 70px; left: 70px; background: var(--sp-ink); border-radius: 50%; }
.sp-envelope { width: 64px; color: var(--sp-ink); margin-bottom: 24px; }
.sp-envelope svg { display: block; width: 100%; background: var(--sp-lime); border-radius: 6px; }
.sp-confirm-email { overflow-wrap: anywhere; font-size: 1.15rem; font-weight: 500; }
/* The account rail stays calm while the content area grows with real customer data. */
.sp-private { display: grid; grid-template-columns: 232px minmax(0,1fr); align-items: start; }
.sp-sidebar { position: sticky; top: 0; min-height: 100vh; max-height: 100vh; overflow-y: auto; display: flex; flex-direction: column; padding: 32px 18px 20px; background: var(--sp-ink); color: #f6f5ef; }
.sp-sidebar > .sp-brand { margin-left: 12px; margin-bottom: 36px; }
.sp-workspace { display: flex; align-items: center; gap: 12px; margin: 0 10px 30px; padding-block: 15px; border-block: 1px solid #ffffff26; }
.sp-workspace > div { min-width: 0; }
.sp-workspace strong { display: block; font-size: .85rem; font-weight: 500; overflow-wrap: anywhere; }
.sp-workspace span:not(.sp-workspace-mark) { display: block; font-size: .7rem; color: #c4c2cf; }
.sp-workspace-mark { flex-shrink: 0; width: 28px; height: 28px; border: 1px solid #a29bb5; border-radius: 8px; position: relative; }
.sp-workspace-mark::after { content: ''; position: absolute; width: 8px; height: 8px; background: var(--sp-lime); border-radius: 50%; top: 9px; left: 9px; }
.sp-nav-list { display: grid; gap: 5px; list-style: none; padding: 0; }
.sp-nav-list a { min-width: 0; overflow-wrap: anywhere; display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 10px 14px; border-radius: 7px; color: #d9d5e7; text-decoration: none; font-size: .85rem; font-weight: 500; }
.sp-nav-list a svg { flex-shrink: 0; }
.sp-nav-list a:hover { background: #2a2643; color: #fff; }
.sp-nav-list a[aria-current="page"] { background: var(--sp-lime); color: var(--sp-ink); }
.speo-portal .sp-sidebar a:focus-visible, .speo-portal .sp-sidebar summary:focus-visible { outline-color: var(--sp-lime); }
.sp-sidebar-foot { display: grid; gap: 2px; margin-top: auto; padding: 48px 14px 0; font-size: .75rem; }
.sp-sidebar-foot a { display: inline-flex; min-height: 38px; align-items: center; color: #d9d5e7; }
.sp-sidebar-foot > span { color: #a9a2bb; font-size: .65rem; margin-top: 22px; }
.sp-mobile-nav { display: none; }
.sp-private .sp-main { width: 100%; max-width: 1600px; min-width: 0; padding: 48px clamp(24px,4.2vw,72px) 72px; }
.sp-page-head { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 36px; }
.sp-page-head > div:first-child { min-width: 0; }
.sp-page-head h1 { overflow-wrap: anywhere; }
.sp-screen-order .sp-page-head h1, .sp-screen-billing .sp-page-head h1 { max-width: 800px; font-size: clamp(1.9rem,3vw,2.6rem); line-height: 1.18; }
.sp-page-head .sp-eyebrow { color: var(--sp-muted); margin-bottom: 10px !important; }
.sp-page-head .sp-lead { margin-top: 12px !important; font-size: .95rem; }
.sp-page-head .sp-actions { flex-shrink: 0; }
.sp-card { min-width: 0; padding: 28px; margin-bottom: 24px; background: var(--sp-card); border: 1px solid var(--sp-line); border-radius: var(--sp-radius); }
.sp-card > h2 { margin-bottom: 18px; }
.sp-card > .sp-muted + .sp-form { margin-top: 24px; }
.sp-card > .sp-muted { max-width: 750px; font-size: .9rem; }
.sp-section-head { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 20px; flex-wrap: wrap; }
.sp-section-head > h2 { margin: 0; }
.sp-next-step { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 28px 32px; margin-bottom: 28px; background: var(--sp-lime); border: 1px solid #bddc55; border-radius: var(--sp-radius); }
.sp-next-step .sp-eyebrow { margin-bottom: 8px !important; }
.sp-next-step h2 { font-size: 1.6rem; }
.sp-next-step p { max-width: 620px; margin-top: 8px; font-size: .9rem; }
.sp-next-step .sp-actions { flex-shrink: 0; }
.sp-metrics { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,190px),1fr)); gap: 24px; margin-block: 28px !important; }
.sp-metrics > div { min-width: 0; padding: 20px 0 16px; border-top: 1px solid var(--sp-line); }
.sp-metrics dt { font-size: .8rem; color: var(--sp-muted); }
.sp-metrics dd { display: block; margin-top: 12px; font-size: clamp(1.75rem,3.4vw,3rem); font-weight: 500; line-height: 1.15; letter-spacing: -.055em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.sp-metrics .sp-metric-unknown dd { font-size: 1.1rem; line-height: 1.45; letter-spacing: -.015em; }
.sp-metrics p { margin-top: 12px; font-size: .75rem; color: var(--sp-muted); }
.sp-overview-grid { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(260px,1fr); gap: 24px; align-items: start; }
.sp-overview-grid .sp-site-row { grid-template-columns: 38px minmax(0,1fr); gap: 16px; }
.sp-overview-grid .sp-site-state, .sp-overview-grid .sp-site-actions { grid-column: 2; }
.sp-overview-grid .sp-site-actions { margin-top: -6px; }
.sp-site-row { display: grid; grid-template-columns: 44px minmax(0,1fr) minmax(110px,auto) auto; gap: 20px; align-items: center; padding: 24px 0; border-top: 1px solid var(--sp-line); }
.sp-site-row:first-child { border-top: 0; padding-top: 0; }
.sp-site-row:last-child { padding-bottom: 0; }
.sp-site-glyph { display: grid; place-items: center; width: 44px; height: 44px; color: var(--sp-ink); background: #f0efe9; border: 1px solid var(--sp-line); border-radius: 10px; font-size: .7rem; font-weight: 600; }
.sp-site-copy { min-width: 0; overflow-wrap: anywhere; }
.sp-site-copy > p { color: var(--sp-muted); font-size: .8rem; }
.sp-site-copy .sp-site-note { margin-top: 8px; font-size: .75rem; }
.sp-site-state { display: grid; gap: 7px; justify-items: start; }
.sp-site-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.sp-badge { display: inline-flex; align-items: center; max-width: 100%; gap: 7px; padding: 4px 9px; background: #f0efe9; color: #514c60; border-radius: 5px; font-size: .7rem; font-weight: 500; line-height: 1.5; overflow-wrap: anywhere; }
.sp-badge-ready, .sp-badge-success, .sp-badge-done { color: #295232; background: #edf5e8; }
.sp-badge-pending, .sp-badge-paused, .sp-badge-warning { color: #72501a; background: #fbf0d9; }
.sp-badge-error, .sp-badge-exceeded { color: #942f31; background: #fcebed; }
.sp-empty { display: flex; flex-direction: column; align-items: flex-start; padding: 26px 0 22px; }
.sp-empty > p { max-width: 460px; color: var(--sp-muted); font-size: .9rem; margin-top: 12px; }
.sp-empty-orbit { display: block; position: relative; width: 58px; height: 58px; margin-bottom: 25px; border: 1px solid var(--sp-control); border-radius: 50%; }
.sp-empty-orbit::before { content: ''; position: absolute; width: 18px; height: 18px; border: 1px solid var(--sp-ink); background: var(--sp-lime); border-radius: 50%; top: 5px; right: -2px; }
.sp-usage { background: #eeede6; }
.sp-usage-value { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-block: 24px 16px !important; }
.sp-usage-value strong { font-size: 2.2rem; font-weight: 500; line-height: 1.2; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.sp-usage-value > span { font-size: .8rem; color: var(--sp-muted); }
.sp-meter { width: 100%; height: 10px; appearance: none; border: 0; border-radius: 10px; background: #d9d8cf; overflow: hidden; }
.sp-meter::-webkit-meter-bar { height: 10px; background: #d9d8cf; border: 0; border-radius: 10px; }
.sp-meter::-webkit-meter-optimum-value { background: var(--sp-ink); border-radius: 10px; }
.sp-meter::-moz-meter-bar { background: var(--sp-ink); border-radius: 10px; }
.sp-usage-warning .sp-meter::-webkit-meter-optimum-value, .sp-usage-exceeded .sp-meter::-webkit-meter-optimum-value { background: #8a551a; }
.sp-usage-warning .sp-meter::-moz-meter-bar, .sp-usage-exceeded .sp-meter::-moz-meter-bar { background: #8a551a; }
.sp-usage > .sp-muted { margin-top: 16px; font-size: .8rem; }
.sp-usage-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; }
.sp-allocation { margin-bottom: 24px !important; font-size: .875rem; color: var(--sp-muted); }
.sp-allocation strong { font-weight: 500; color: var(--sp-ink); }
.sp-upgrade-line { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding-block: 8px 28px; }
.sp-upgrade-line > p { color: var(--sp-muted); font-size: .875rem; }
/* Native controls and errors stay readable with script failure and enlarged text. */
.sp-form { display: grid; gap: 20px; max-width: 640px; }
.sp-field { min-width: 0; }
/* Legal and setup labels must wrap inside their own grid cell, including 200% text with wider native fallback fonts. */
.sp-field label, .sp-code-block > label { min-width: 0; overflow-wrap: anywhere; display: block; margin-bottom: 7px; color: var(--sp-ink); font-weight: 500; font-size: .85rem; }
.sp-required { font-size: .7rem; font-weight: 400; color: var(--sp-muted); }
.sp-field :is(input:not([type="checkbox"]),select,textarea), .sp-code-block textarea { display: block; width: 100%; min-height: 48px; margin: 0; padding: 11px 13px; border: 1px solid var(--sp-control); border-radius: 6px; background: #fff; color: var(--sp-ink); box-shadow: none; line-height: 1.5; }
.sp-field :is(input,select,textarea):focus { border-color: #7150bd; }
.sp-field input::placeholder, .sp-field textarea::placeholder { color: #757081; opacity: 1; }
.sp-field textarea { resize: vertical; }
.sp-field [readonly] { background: var(--sp-paper) !important; }
.sp-field-check { display: grid; grid-template-columns: 20px minmax(0,1fr); gap: 8px 12px; align-items: start; }
.sp-field-check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--sp-ink); }
.sp-field-check > label { margin-bottom: 0; min-height: 32px; font-weight: 400; }
.sp-field-check .sp-field-help { grid-column: 2; }
.sp-field-help { margin-top: 7px !important; font-size: .75rem; color: var(--sp-muted); line-height: 1.6; }
.sp-field-error :is(input,select,textarea) { border-color: #a72c36; }
.sp-field-error .sp-field-help { color: #a72c36; }
.sp-form > .sp-button { justify-self: start; }
.sp-form-note { max-width: 560px; }
.sp-form-errors { border: 1px solid #b2444d; border-radius: 7px; padding: 16px 18px; background: #fff2f3; color: #8b2630; font-size: .875rem; }
.sp-form-errors strong { font-weight: 500; }
.sp-form-errors ul { padding-left: 20px; margin-top: 8px; }
.sp-form-errors a { color: inherit; }
.sp-form-card { max-width: 800px; }
.sp-notice { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 24px; padding: 18px 20px; background: #eee9f7; border: 1px solid #c3b5de; border-radius: 9px; color: #493078; font-size: .875rem; }
.sp-notice > div { min-width: 0; overflow-wrap: anywhere; }
.sp-notice-mark { flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: .75rem; font-weight: 600; }
.sp-notice strong { display: block; font-weight: 500; }
.sp-notice p { max-width: 860px; }
.sp-notice strong + p { margin-top: 3px; }
.sp-notice .sp-link { color: inherit !important; margin-right: 14px; }
.sp-notice-success { background: #edf5e8; border-color: #aec8a5; color: #295232; }
.sp-notice-warning { background: #fff4dc; border-color: #d6b06f; color: #72501a; }
.sp-notice-error { background: #fff0f1; border-color: #d7a3a8; color: #942f31; }
.sp-steps { list-style: none; padding: 0; }
.sp-step { display: grid; grid-template-columns: 24px minmax(0,1fr); gap: 13px; padding-bottom: 24px; position: relative; }
.sp-step:last-child { padding-bottom: 0; }
.sp-step:not(:last-child)::after { content: ''; position: absolute; top: 28px; left: 11px; bottom: 4px; width: 1px; background: var(--sp-line); }
.sp-step-mark { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid var(--sp-control); border-radius: 50%; font-size: .75rem; font-weight: 600; }
.sp-step strong { display: block; font-size: .85rem; font-weight: 500; }
.sp-step p { margin-top: 3px; color: var(--sp-muted); font-size: .75rem; }
.sp-step-current .sp-step-mark { border-color: var(--sp-ink); background: var(--sp-lime); box-shadow: inset 0 0 0 6px var(--sp-lime), inset 0 0 0 9px var(--sp-ink); }
.sp-step-done .sp-step-mark { background: var(--sp-ink); color: var(--sp-paper); border-color: var(--sp-ink); }
.sp-step-error .sp-step-mark { border-color: #a72c36; background: #fff0f1; }
.sp-setup-domain { display: flex; align-items: center; gap: 15px; margin-bottom: 28px; }
.sp-setup-domain > div { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; min-width: 0; }
.sp-setup-domain strong { font-size: 1.1rem; font-weight: 500; overflow-wrap: anywhere; }
.sp-setup-grid { display: grid; grid-template-columns: minmax(220px,.65fr) minmax(0,1.5fr); gap: 24px; align-items: start; }
.sp-setup-progress { position: sticky; top: 24px; background: #eeede6; }
.sp-setup-progress > h2 { font-size: 1rem; margin-bottom: 28px; }
.sp-stack { min-width: 0; }
.sp-code-block { margin-block: 22px; }
.sp-code-block textarea { min-height: 100px; padding: 16px; background: var(--sp-paper); color: var(--sp-ink); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .75rem; line-height: 1.65; resize: vertical; overflow-wrap: normal; white-space: pre; }
.sp-code-block button { margin-top: 12px; }
.sp-copy-status { display: inline-block; margin-left: 10px; color: var(--sp-muted); font-size: .75rem; }
.sp-member { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; padding: 23px 0; border-top: 1px solid var(--sp-line); }
.sp-member:first-child { border-top: 0; padding-top: 6px; }
.sp-member:last-child { padding-bottom: 3px; }
.sp-avatar { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; background: #eeede6; border-radius: 50%; overflow: hidden; }
.sp-member-copy { flex: 1; min-width: 150px; overflow-wrap: anywhere; }
.sp-member-copy p { color: var(--sp-muted); font-size: .8rem; }
.sp-member-role { display: block; font-size: .8rem; font-weight: 500; }
.sp-member .sp-form { display: block; }
.sp-billing-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 24px; align-items: stretch; }
.sp-current-plan { background: var(--sp-ink); color: var(--sp-paper); }
.sp-current-plan > h2 { font-size: 1.65rem; margin-bottom: 6px; }
.sp-current-plan .sp-eyebrow, .sp-current-plan .sp-muted { color: #d9d5e7; }
.sp-current-plan .sp-muted { margin-top: 12px; }
.sp-current-price { font-size: 1.2rem; margin-bottom: 16px !important; }
.sp-current-plan .sp-badge { background: var(--sp-lime); color: var(--sp-ink); }
.sp-current-plan .sp-actions { margin-top: 24px; }
.sp-current-plan .sp-button { color: var(--sp-paper); border-color: #8b8697; }
.sp-current-plan .sp-button:hover { background: #2a2643; color: #fff; }
.sp-current-plan a:focus-visible { outline-color: var(--sp-lime); }
.sp-plan-section { margin-block: 26px 36px; }
.sp-billing-form { max-width: 920px; }
.sp-billing-form .sp-form { max-width: none; grid-template-columns: repeat(2,minmax(0,1fr)); }
.sp-billing-form .sp-form > :is(.sp-form-errors,.sp-form-note,.sp-button) { grid-column: 1 / -1; }
.sp-plan-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.sp-plan { display: flex; flex-direction: column; padding: 24px 20px; min-width: 0; border: 1px solid var(--sp-line); border-radius: 10px; background: #fff; }
.sp-plan-current { border-color: #a9bf62; background: #edf2df; }
.sp-plan-head { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 8px; min-height: 30px; }
.sp-plan-price { margin-top: 22px !important; font-size: 2rem; font-weight: 500; letter-spacing: -.05em; line-height: 1.2; }
.sp-plan-price > span { display: block; font-size: .7rem; font-weight: 400; letter-spacing: normal; color: var(--sp-muted); margin-top: 6px; }
.sp-plan ul { list-style: none; padding: 20px 0 24px; font-size: .8rem; }
.sp-plan li { padding-block: 6px; border-top: 1px solid var(--sp-line); }
.sp-plan .sp-actions { margin-top: auto; }
.sp-plan .sp-button { width: 100%; }
.sp-plan .sp-actions { display: block; }
.sp-table-wrap { max-width: 100%; overflow-x: auto; margin-top: 20px; border: 1px solid var(--sp-line); border-radius: 8px; }
.sp-table { width: 100%; min-width: 570px; margin: 0; border-collapse: collapse; color: inherit; font-size: .8rem; text-align: left; }
.sp-table :is(th,td) { padding: 15px 18px; border-bottom: 1px solid var(--sp-line); vertical-align: middle; }
.sp-table thead th { background: var(--sp-paper); color: #514c60; font-size: .7rem; font-weight: 500; }
.sp-table th[scope="row"] { font-weight: 500; }
.sp-table tbody tr:last-child :is(th,td) { border-bottom: 0; }
.sp-table tbody tr:hover { background: #faf9f5; }
.sp-number { font-variant-numeric: tabular-nums; white-space: nowrap; }
.sp-table td .sp-link { min-height: 30px; }
.sp-order-layout { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: 28px; align-items: start; }
.sp-order-summary { grid-column: 2; grid-row: 1; background: #eeede6; }
.sp-order-confirm { grid-column: 1; grid-row: 1; }
.sp-order-confirm > .sp-form { margin-top: 24px; }
.sp-order-confirm > .sp-muted { font-size: .875rem; }
.sp-order-confirm > .sp-legal-links { margin-top: 16px; gap: 8px 20px; }
.sp-order-summary > h2 { font-size: 1.8rem; }
.sp-key-values { margin-top: 28px !important; }
.sp-key-values > div { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding-block: 13px; border-top: 1px solid var(--sp-line); font-size: .875rem; }
.sp-key-values dt { min-width: 0; color: var(--sp-muted); overflow-wrap: anywhere; }
.sp-key-values dd { min-width: 0; font-weight: 500; text-align: right; overflow-wrap: anywhere; }
.sp-order-lines > div { flex-wrap: wrap; gap: 6px 18px; }
.sp-order-lines dd { flex: 1 1 180px; }
.sp-order-total { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; margin-block: 10px 16px !important; border-top: 1px solid var(--sp-control); }
.sp-order-total strong { min-width: 0; font-size: 1.6rem; font-weight: 500; line-height: 1.3; letter-spacing: -.04em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.sp-legal-links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px; font-size: .875rem; color: var(--sp-purple); }
.sp-legal-links a { min-width: 0; max-width: 100%; overflow-wrap: anywhere; display: inline-flex; align-items: center; min-height: 44px; }
.sp-entry-form > .sp-legal-links { margin-top: 0; margin-bottom: 18px; gap: 8px 20px; }
.sp-status-card { max-width: 760px; margin-inline: auto; padding: 40px; }
.sp-status-card > h1 { margin-block: 24px; }
.sp-status-card > h2 { font-size: 1.7rem; margin-block: 22px 14px; }
.sp-status-card > .sp-caption { margin-top: 18px; }
.sp-status-card > .sp-steps { margin-block: 30px; }
.sp-status-card > .sp-form, .sp-status-card > .sp-actions { margin-top: 24px; }
.sp-status-symbol { display: grid; place-items: center; width: 64px; height: 64px; border: 1px solid var(--sp-control); border-radius: 50%; background: #eeede6; }
.sp-status-symbol > span { width: 16px; height: 16px; border: 1px solid var(--sp-ink); border-radius: 50%; background: var(--sp-lime); }
.sp-settings-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; align-items: start; }
.sp-settings-grid > .sp-card { margin: 0; }
.sp-source { margin-top: 30px !important; }
/* The operator view reuses service primitives, inside its own native admin screen only. */
.speo-portal-admin { max-width: 1500px; padding: 24px 24px 48px 4px; }
.speo-portal-admin > header { margin-bottom: 28px; }
.speo-portal-admin > header > p { max-width: 800px; margin-top: 14px; }
.speo-portal-admin .sp-card { background: #fff; }
.speo-portal-admin .sp-form { max-width: 760px; }
.sp-admin-readiness { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 16px; margin-bottom: 24px; }
.sp-admin-readiness > article { border: 1px solid var(--sp-line); background: #fff; padding: 20px; border-radius: 10px; }
.sp-admin-readiness h3 { margin-bottom: 10px; }
.sp-admin-readiness p { margin-top: 10px; font-size: .8rem; color: var(--sp-muted); }
.sp-admin-config { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; align-items: start; }
/* Narrow layouts retain ordinary links and forms, with no JavaScript menu dependency. */
@media (min-width: 1600px) { .sp-private { grid-template-columns: 248px minmax(0,1fr); } }
@media (max-width: 1199px) {
	.sp-private { grid-template-columns: 208px minmax(0,1fr); }
	.sp-private .sp-main { padding-inline: 28px; }
	.sp-overview-grid { grid-template-columns: 1fr; }
	.sp-overview-grid .sp-site-row { grid-template-columns: 44px minmax(0,1fr) auto; }
	.sp-overview-grid .sp-site-state { grid-column: 3; }
	.sp-overview-grid .sp-site-actions { grid-column: 2 / -1; }
	.sp-site-row { grid-template-columns: 44px minmax(0,1fr) auto; }
	.sp-site-actions { grid-column: 2 / -1; }
	.sp-plan-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
	.sp-page-head { align-items: start; flex-wrap: wrap; }
	.sp-setup-grid { grid-template-columns: minmax(180px,.6fr) minmax(0,1fr); }
}
@media (max-width: 767px) {
	.sp-public-header, .sp-public-footer { padding-inline: 24px; }
	.sp-public-header { min-height: 88px; flex-wrap: wrap; row-gap: 0; padding-block: 18px; }
	.sp-public .sp-main { padding: 36px 24px 56px; }
	.sp-public-header nav > span { display: none; }
	.sp-entry-grid { grid-template-columns: minmax(0,1fr); gap: 32px; }
	.sp-entry-copy { padding-top: 0; }
	.sp-entry-copy h1 { max-width: 620px; font-size: clamp(1.9rem,6.5vw,2.5rem); }
	.sp-entry-copy .sp-lead { max-width: 600px; }
	.sp-entry-grid-start > .sp-entry-form, .sp-entry-extra { grid-column: 1; grid-row: auto; }
	.sp-entry-grid-start { gap: 24px; }
	.sp-entry-orbit { display: none; }
	.sp-mini-plan { padding: 24px; }
	.sp-mini-plan ul { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 16px; padding-top: 16px; }
	.sp-mini-plan li { flex: 0 1 auto; min-width: 0; }
	.sp-mini-plan li + li { margin-top: 0; }
	.sp-entry-form { padding: 28px !important; }
	.sp-private { display: block; }
	/* Header items wrap as complete units when enlarged text cannot share a row; grid min-content tracks would force the rail wider. */
	.sp-sidebar { position: relative; min-height: auto; max-height: none; overflow: visible; display: flex; flex-flow: row wrap; align-items: center; padding: 18px 24px 0; gap: 0 16px; }
	.sp-sidebar > .sp-brand { flex: 0 0 auto; margin: 0; padding-bottom: 16px; }
	.sp-sidebar .sp-brand svg { width: 32px; height: 32px; }
	.sp-sidebar .sp-brand span { font-size: 2rem; }
	.sp-workspace { flex: 1 1 160px; min-width: 0; justify-content: flex-end; padding: 0 0 16px; margin: 0; border: 0; text-align: right; }
	.sp-workspace-mark { display: none; }
	.sp-workspace strong { max-width: 160px; font-size: .75rem; }
	.sp-workspace span:not(.sp-workspace-mark) { font-size: .65rem; overflow-wrap: anywhere; }
	.sp-sidebar > .sp-account-switcher { flex: 0 0 100%; max-width: 100%; margin: 0 0 8px; }
	.sp-desktop-nav, .sp-sidebar-foot { display: none; }
	.sp-mobile-nav { flex: 1 0 100%; min-width: 0; max-width: 100%; display: block; border-top: 1px solid #ffffff26; }
	.sp-mobile-nav > summary { display: flex; justify-content: space-between; align-items: center; min-height: 48px; list-style: none; cursor: pointer; font-size: .8rem; }
	.sp-mobile-nav > summary::-webkit-details-marker { display: none; }
	.sp-mobile-nav > summary > span { font-size: 1.2rem; }
	.sp-mobile-nav[open] > summary > span { transform: rotate(45deg); }
	.sp-mobile-nav .sp-nav-list { padding-bottom: 10px; }
	.sp-mobile-links { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-block: 2px 12px; border-top: 1px solid #ffffff26; font-size: .75rem; }
	.sp-mobile-links a { max-width: 100%; overflow-wrap: anywhere; display: flex; align-items: center; min-height: 44px; }
	.sp-mobile-nav .sp-nav-list a { min-height: 48px; }
	.sp-private .sp-main { padding: 32px 24px 48px; }
	.sp-page-head { gap: 20px; margin-bottom: 28px; }
	.sp-page-head h1 { font-size: 2.3rem; }
	.sp-next-step { flex-direction: column; align-items: start; padding: 24px; gap: 22px; }
	.sp-card { padding: 24px; border-radius: 10px; }
	.sp-overview-grid, .sp-billing-grid, .sp-order-layout, .sp-settings-grid, .sp-setup-grid, .sp-admin-config { grid-template-columns: 1fr; gap: 0; }
	.sp-settings-grid { gap: 24px; }
	.sp-entry-grid-start { grid-template-columns: minmax(0,1fr); }
	.sp-billing-form .sp-form { grid-template-columns: minmax(0,1fr); }
	.sp-order-total { flex-wrap: wrap; }
	.sp-order-lines dd { text-align: left; }
	.sp-order-summary, .sp-order-confirm { grid-column: 1; grid-row: auto; }
	.sp-setup-progress { position: static; }
	.sp-setup-progress .sp-steps { margin-bottom: 0; }
	.sp-site-row, .sp-overview-grid .sp-site-row { grid-template-columns: 38px minmax(0,1fr); gap: 12px; }
	.sp-site-glyph { width: 38px; height: 38px; border-radius: 8px; }
	.sp-site-state, .sp-overview-grid .sp-site-state { grid-column: 2; }
	.sp-site-actions, .sp-overview-grid .sp-site-actions { grid-column: 2; margin-top: 0; }
	.sp-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
	.sp-metrics dd { font-size: 2rem; }
	.sp-member { gap: 12px; }
	.sp-member > div:nth-of-type(3) { margin-left: 56px; width: calc(100% - 56px); }
	.sp-member > .sp-actions, .sp-member > .sp-form { margin-left: 56px; }
	.sp-status-card { padding: 28px; }
	.sp-public-footer { flex-wrap: wrap; gap: 12px 24px; }
	.speo-portal-admin { padding-right: 12px; }
}
@media (max-width: 389px) {
	.sp-public-header, .sp-public-footer { padding-inline: 20px; }
	.sp-public .sp-main, .sp-private .sp-main { padding-inline: 20px; }
	.sp-sidebar { padding-inline: 20px; }
	.sp-entry-form, .sp-card { padding: 20px !important; }
	.sp-plan-grid { grid-template-columns: 1fr; }
	.sp-page-head h1 { font-size: 2rem; }
	.sp-public-header .sp-brand svg { width: 34px; height: 34px; }
	.sp-public-header .sp-brand span { font-size: 2rem; }
	.sp-public-header nav .sp-link { font-size: .8rem; }
	.sp-button { padding-inline: 14px; }
}
@media (prefers-reduced-motion: reduce) {
	.speo-portal *, .speo-portal-admin * { scroll-behavior: auto; }
}
@media (forced-colors: active) {
	.sp-nav-list a[aria-current="page"], .sp-badge { border: 1px solid currentColor; }
	.sp-meter { forced-color-adjust: auto; }
}
@media print {
	.sp-sidebar, .sp-public-header nav, .sp-public-footer, .sp-skip, .sp-actions, [data-copy-target] { display: none !important; }
	.speo-portal, .sp-private { display: block; background: #fff; color: #000; }
	.sp-main { max-width: none !important; padding: 0 !important; }
	.sp-card, .sp-next-step { break-inside: avoid; background: #fff; border-color: #bbb; }
	.sp-table-wrap { overflow: visible; }
	.sp-table { min-width: 0; }
}
/* Issued invoices contain frozen backend amounts, not a browser price calculation. */
.sp-invoice-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; margin-bottom: 24px; }
.sp-invoice-tools p { max-width: 580px; }
.sp-invoice { max-width: 1050px; padding: clamp(24px,4vw,56px); background: #fff; border: 1px solid var(--sp-line); border-radius: 10px; }
.sp-invoice-head { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 28px; padding-bottom: 32px; border-bottom: 1px solid var(--sp-line); }
.sp-invoice-head > div { text-align: right; }
.sp-invoice-head .sp-eyebrow { margin-bottom: 10px !important; }
.sp-invoice-head h2 { font-size: 1.7rem; margin-bottom: 12px; overflow-wrap: anywhere; }
.sp-invoice-addresses { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 28px; margin-block: 32px; }
.sp-invoice-addresses h3, .sp-invoice-dates dt { font-size: .7rem; font-weight: 500; color: var(--sp-muted); margin-bottom: 10px; }
.sp-invoice-addresses address { font-size: .85rem; font-style: normal; }
.sp-invoice-addresses address span { display: block; overflow-wrap: anywhere; }
.sp-invoice-dates dd { font-size: .85rem; font-weight: 500; }
.sp-invoice-dates > div + div { margin-top: 18px; }
.sp-invoice-table .sp-number { text-align: right; }
.sp-invoice-totals { max-width: 340px; margin: 28px 0 0 auto !important; }
.sp-invoice-totals > div { display: flex; justify-content: space-between; gap: 28px; padding-block: 10px; font-size: .9rem; }
.sp-invoice-totals dd { text-align: right; font-variant-numeric: tabular-nums; }
.sp-invoice-totals .sp-invoice-grand-total { border-top: 1px solid var(--sp-control); margin-top: 10px; padding-top: 18px; font-size: 1.2rem; font-weight: 500; }
.sp-invoice-note { padding-top: 28px; margin-top: 36px; border-top: 1px solid var(--sp-line); color: var(--sp-muted); font-size: .8rem; }
@media (max-width: 767px) {
	.sp-invoice-addresses { grid-template-columns: 1fr 1fr; gap: 24px; }
	.sp-invoice-dates { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 20px 32px; }
	.sp-invoice-dates > div + div { margin-top: 0; }
}
@media (max-width: 389px) {
	.sp-invoice-addresses { grid-template-columns: 1fr; }
	.sp-invoice-head > div { text-align: left; }
	.sp-invoice-totals > div { gap: 12px; flex-wrap: wrap; }
}
@media print {
	.sp-invoice-tools, .sp-screen-invoice .sp-page-head, .sp-screen-invoice .sp-source { display: none !important; }
	.sp-invoice { max-width: none; padding: 0; border: 0; border-radius: 0; }
	.sp-invoice-head, .sp-invoice-addresses, .sp-invoice-totals { break-inside: avoid; }
	.sp-invoice-table { min-width: 0; font-size: 10pt; }
	.sp-invoice-table :is(th,td) { padding: 10pt 8pt; }
	.sp-invoice-table thead { display: table-header-group; }
	.sp-invoice-table tr { break-inside: avoid; }
	.sp-invoice .sp-table-wrap { border: 0; }
	.sp-invoice-head > div { text-align: right; }
	.sp-invoice-addresses { grid-template-columns: 1fr 1fr 1fr; }
	.sp-invoice-dates { grid-column: auto; display: block; }
}
/* Additional native disclosures stay compact, legible and usable without JavaScript. */
.speo-portal .sp-wordmark { font-weight: 500; text-transform: none; }
.sp-account-switcher { margin: -12px 10px 24px; min-width: 0; font-size: .8rem; }
.sp-account-switcher summary { min-height: 44px; padding-block: 10px; cursor: pointer; color: #d9d5e7; }
.sp-account-switcher nav { display: grid; gap: 4px; padding-bottom: 8px; }
.sp-account-switcher a { display: block; min-height: 44px; padding: 10px; border-radius: 5px; overflow-wrap: anywhere; text-decoration: none; }
.sp-account-switcher a:hover { background: #2a2643; }
.sp-account-switcher a[aria-current] { background: #39334f; color: var(--sp-lime); }
.sp-site-actions { min-width: 0; max-width: 100%; }
.sp-site-manage { flex-basis: 100%; width: min(100%,360px); max-width: 360px; font-size: .8rem; }
.sp-site-manage summary { min-height: 44px; padding-block: 10px; cursor: pointer; color: var(--sp-purple); }
.sp-site-manage .sp-form { margin-top: 14px; }
.sp-member > .sp-form { min-width: 0; grid-column: 2 / -1; }
.sp-table-scroll { max-width: 100%; overflow-x: auto; margin-block: 24px; }
.sp-table-scroll:focus-visible { outline: 3px solid #7150bd; outline-offset: 4px; }
.sp-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.sp-table th, .sp-table td { padding: 12px; border-bottom: 1px solid var(--sp-line); text-align: left; overflow-wrap: anywhere; }
.sp-table th { font-weight: 500; }
.sp-table td:last-child { font-variant-numeric: tabular-nums; }
/* Long Swiss German setting labels remain readable at narrow widths and enlarged text. */
.speo-portal-admin .sp-field label { overflow-wrap: anywhere; }
@media (max-width: 480px) {
	.speo-portal-admin .sp-metrics { grid-template-columns: minmax(0,1fr); }
}

/* Report selection and the resulting data have separate, stable visual groups. */
.sp-report-heading, .sp-report-result-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.sp-report-heading { padding-bottom: 24px; border-bottom: 1px solid var(--sp-line); }
.sp-report-identity { min-width: 0; }
.sp-report-identity .sp-eyebrow { margin-bottom: 8px; }
.sp-report-identity h2 { font-size: clamp(1.35rem,2.2vw,1.8rem); }
.sp-report-identity .sp-muted, .sp-report-result-heading .sp-muted { margin-top: 7px; font-size: .95rem; }
.sp-report-connection { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 22px; }
.sp-report-connection .sp-link { font-size: .9rem; }
.sp-report-picker { margin-top: 26px; }
.sp-report-picker .sp-form { max-width: none; grid-template-columns: minmax(0,1.4fr) minmax(0,1.3fr) repeat(2,minmax(0,1fr)); gap: 22px 20px; align-items: start; }
.sp-report-picker .sp-form > :is(.sp-form-errors,.sp-form-note,.sp-button) { grid-column: 1 / -1; }
.sp-report-picker .sp-field:has(> select[name="source"]) { grid-column: span 2; }
.sp-report-picker .sp-required { display: none; }
.sp-report-picker .sp-form > .sp-button { margin-top: 2px; }
.sp-report-result-heading { margin-bottom: 24px; }
.sp-report-export .sp-form { gap: 0; }
.sp-report-export .sp-button { background: transparent; color: var(--sp-ink); border-color: var(--sp-control); min-height: 44px; font-size: .9rem; }
.sp-report-export .sp-button:hover { background: var(--sp-paper); }
.sp-report-results .sp-metrics { margin-block: 0 24px !important; }
.sp-report-updated { margin-top: 24px !important; padding-top: 18px; border-top: 1px solid var(--sp-line); color: var(--sp-muted); font-size: .875rem; }
.sp-report-empty { padding-block: 24px 12px; color: var(--sp-muted); }
.sp-native-access { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 28px; align-items: center; }
.sp-native-access .sp-muted { margin-top: 12px; max-width: 680px; font-size: .95rem; }
.sp-native-access .sp-actions { gap: 12px; }
#sp-billing-details { scroll-margin-top: 28px; }
.sp-plan-section + .sp-billing-form { margin-top: 28px; }
@media (max-width: 1100px) {
	.sp-report-picker .sp-form { grid-template-columns: repeat(2,minmax(0,1fr)); }
	.sp-native-access { grid-template-columns: minmax(0,1fr); gap: 24px; }
}
@media (max-width: 600px) {
	.sp-report-heading, .sp-report-result-heading { align-items: flex-start; gap: 20px; }
	.sp-report-picker .sp-form { grid-template-columns: minmax(0,1fr); }
	.sp-report-picker .sp-field:has(> select[name="source"]) { grid-column: auto; }
	.sp-report-connection { width: 100%; justify-content: space-between; }
}
