:root {
  color-scheme: dark;
  --ink: #071013;
  --surface: #0b171a;
  --surface-2: #102225;
  --line: #20383b;
  --text: #eef7f4;
  --muted: #9db3ae;
  --teal: #6ce0c2;
  --amber: #ffbd62;
  --red: #ff8b86;
  --shell: 90rem;   /* wide enough that large windows are not mostly empty edges */
  --prose: 66rem;   /* articles and long text */
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--ink);
  color: var(--text);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: var(--ink); }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.shell { width: min(var(--shell), calc(100% - 2.5rem)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 0.75rem; left: 0.75rem; transform: translateY(-160%); padding: 0.75rem 1rem; background: var(--teal); color: var(--ink); border-radius: 0.5rem; font-weight: 800; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid rgba(108, 224, 194, 0.12); background: rgba(7, 16, 19, 0.88); backdrop-filter: blur(18px); }
.header-inner { min-height: 4.75rem; display: flex; align-items: center; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; font-size: 1.16rem; font-weight: 800; letter-spacing: -0.02em; }
.brand-mark { position: relative; width: 1.8rem; height: 1.8rem; display: grid; place-items: end center; border: 2px solid var(--teal); border-radius: 0.5rem 0.5rem 0.7rem 0.7rem; overflow: hidden; }
.brand-mark i { width: 100%; height: 58%; display: block; background: var(--teal); opacity: 0.78; }
/* The brand pack's mark or app icon (site.php brand_logo), where a product has one. */
.brand-logo { width: 1.9rem; height: 1.9rem; display: block; flex: none; object-fit: contain; }
.primary-nav { margin-left: auto; display: flex; gap: 0.25rem; }
.primary-nav a { padding: 0.62rem 0.75rem; border-radius: 0.5rem; color: var(--muted); text-decoration: none; font-size: 0.91rem; font-weight: 650; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--text); background: rgba(108, 224, 194, 0.08); }
/* A section's sub-menu under the page heading (render_subnav): Help, Download and Support. */
.subnav { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 1.25rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--line); }
.subnav a { padding: 0.5rem 0.85rem; border-radius: 0.5rem; color: var(--muted); text-decoration: none; font-size: 0.9rem; font-weight: 650; }
.subnav a:hover { color: var(--text); background: rgba(108, 224, 194, 0.06); }
.subnav a[aria-current="page"] { color: var(--text); background: rgba(108, 224, 194, 0.12); }
.preview-badge { border: 1px solid #3b5558; border-radius: 99rem; padding: 0.38rem 0.65rem; color: var(--muted); font-size: 0.72rem; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; }
/* The language switcher in the header (private/i18n.php): the page in each language, by its own name. */
.language-switcher { position: relative; }
.language-switcher summary { list-style: none; cursor: pointer; padding: 0.5rem 0.65rem; border: 1px solid #3b5558; border-radius: 0.5rem; color: var(--muted); font-size: 0.82rem; font-weight: 650; white-space: nowrap; }
.language-switcher summary::-webkit-details-marker { display: none; }
.language-switcher summary:hover, .language-switcher[open] summary { color: var(--text); border-color: var(--teal); }
.language-switcher ul { position: absolute; z-index: 30; right: 0; top: calc(100% + 0.4rem); min-width: 12rem; margin: 0; padding: 0.35rem; list-style: none; border: 1px solid var(--line); border-radius: 0.6rem; background: #081215; box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.45); }
.language-switcher a { display: block; padding: 0.5rem 0.7rem; border-radius: 0.4rem; color: var(--muted); text-decoration: none; font-size: 0.9rem; }
.language-switcher a:hover, .language-switcher a[aria-current="true"] { color: var(--text); background: rgba(108, 224, 194, 0.08); }
.owner-site { min-height: 100vh; display: flex; flex-direction: column; }
.owner-site main { flex: 1; }
.owner-site main > .form-message { margin-top: 1rem; }
.owner-site-header { border-bottom-color: rgba(108, 224, 194, 0.22); }
.owner-site-header .brand small { margin-left: 0.35rem; color: var(--teal); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.owner-primary-nav { gap: 0.05rem; }
.owner-primary-nav a { padding-inline: 0.58rem; font-size: 0.82rem; }
.owner-primary-nav .owner-view-site { margin-left: 0.35rem; border-left: 1px solid var(--line); border-radius: 0; padding-left: 0.9rem; }
.owner-login-site-link { margin-left: auto; }
.owner-nav-toggle .owner-menu-text { height: auto; margin: 0; background: transparent; color: var(--text); font-weight: 750; white-space: nowrap; }
.nav-toggle { display: none; margin-left: auto; width: 2.7rem; height: 2.7rem; border: 1px solid var(--line); border-radius: 0.6rem; background: transparent; padding: 0.65rem; }
.nav-toggle > span:not(.sr-only) { display: block; height: 2px; margin: 4px 0; background: var(--text); }

.hero { min-height: 42rem; display: grid; grid-template-columns: 1.08fr 0.92fr; align-items: center; gap: clamp(3rem, 7vw, 7rem); padding-block: 6rem; }
.hero-copy { max-width: 39rem; }
.eyebrow { margin: 0 0 1rem; color: var(--teal); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.status-dot { width: 0.5rem; height: 0.5rem; display: inline-block; margin-right: 0.45rem; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0.28rem rgba(108, 224, 194, 0.1); }
h1, h2, h3 { margin-top: 0; letter-spacing: -0.025em; line-height: 1.15; }
h1 { margin-bottom: 1.2rem; font-size: clamp(2rem, 3.4vw, 3rem); }
h1 span { color: var(--teal); }
h2 { margin-bottom: 1rem; font-size: clamp(1.5rem, 2.5vw, 2.1rem); }
h3 { margin-bottom: 0.7rem; font-size: 1.25rem; }
p { color: var(--muted); line-height: 1.7; }
.hero-lede { max-width: 37rem; font-size: 1.12rem; }
.button-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: 0.78rem 1.1rem; border: 1px solid transparent; border-radius: 0.65rem; text-decoration: none; font-weight: 800; }
.button-primary { background: var(--teal); color: var(--ink); }
.button-primary:hover { background: #94efd9; }
.button-secondary { border-color: #355154; background: rgba(255,255,255,0.02); color: var(--text); }
.button-secondary:hover { border-color: var(--teal); }
.button-danger { border-color: #7c4140; background: rgba(255,139,134,0.06); color: var(--red); cursor: pointer; }
.button-danger:hover { background: rgba(255,139,134,0.13); }
/* A disabled button looks it (the Support form's "Sending files…" looked clickable while clicks did nothing). */
.button:disabled, .button[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; filter: saturate(0.4); }
.button-primary:disabled:hover { background: var(--teal); }
.preview-note { margin-top: 1rem; font-size: 0.78rem; }

.telemetry-demo { position: relative; overflow: hidden; padding: 1.4rem; border: 1px solid #274246; border-radius: 1.25rem; background: linear-gradient(145deg, #102528, #0a1518); box-shadow: 0 2rem 7rem rgba(0,0,0,0.4); }
.telemetry-demo::before { content: ""; position: absolute; inset: -40% auto auto 40%; width: 18rem; height: 18rem; border-radius: 50%; background: rgba(108,224,194,0.08); filter: blur(35px); }
.demo-topline { position: relative; display: flex; align-items: center; justify-content: space-between; font-weight: 750; }
.live-pill { padding: 0.3rem 0.55rem; border-radius: 99rem; background: rgba(108,224,194,0.12); color: var(--teal); font-size: 0.72rem; }
.demo-body { position: relative; min-height: 15rem; display: flex; align-items: center; justify-content: center; gap: 2.25rem; }
.tank-visual { position: relative; width: 6.8rem; height: 10.8rem; overflow: hidden; border: 3px solid #6c8583; border-radius: 1.1rem 1.1rem 1.8rem 1.8rem; box-shadow: inset 0 0 0 0.35rem rgba(255,255,255,0.025); }
.tank-visual::before { content: ""; position: absolute; z-index: 3; top: -0.55rem; left: 50%; width: 2.4rem; height: 0.8rem; transform: translateX(-50%); border: 3px solid #6c8583; border-bottom: 0; border-radius: 0.4rem 0.4rem 0 0; background: var(--surface); }
.tank-fill { position: absolute; inset: 32% 0 0; background: linear-gradient(180deg, #6ce0c2, #15997e); }
.tank-fill::before { content: ""; position: absolute; top: -0.2rem; width: 100%; height: 0.45rem; border-radius: 50%; background: #9df0da; }
.tank-glint { position: absolute; z-index: 2; top: 12%; left: 17%; width: 0.35rem; height: 50%; border-radius: 1rem; background: rgba(255,255,255,0.15); }
.reading-stack strong { display: block; font-size: 4rem; letter-spacing: -0.07em; }
.reading-stack strong span { margin-left: 0.15rem; color: var(--teal); font-size: 1.5rem; }
.reading-stack p { margin: 0.15rem 0 1.2rem; }
.signal-line { display: flex; align-items: end; gap: 0.22rem; height: 1.1rem; }
.signal-line span { width: 0.3rem; border-radius: 0.15rem; background: var(--teal); }
.signal-line span:nth-child(1) { height: 35%; }.signal-line span:nth-child(2) { height: 55%; }.signal-line span:nth-child(3) { height: 78%; }.signal-line span:nth-child(4) { height: 100%; opacity: 0.25; }
.demo-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 0.7rem; background: var(--line); }
.demo-grid div { padding: 0.8rem; background: #0c1c1f; }
.demo-grid span, .demo-grid strong { display: block; }
.demo-grid span { color: #78938e; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; }
.demo-grid strong { margin-top: 0.25rem; font-size: 0.86rem; }
.demo-caption { margin: 0.8rem 0 0; text-align: right; font-size: 0.68rem; }

.signal-band { border-block: 1px solid var(--line); background: #0a1417; }
.signal-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.signal-grid > div { min-height: 7.5rem; display: flex; align-items: center; gap: 1rem; padding: 1.5rem; border-right: 1px solid var(--line); }
.signal-grid > div:first-child { border-left: 1px solid var(--line); }
.signal-grid p { margin: 0; font-size: 0.87rem; }
.signal-number { color: var(--teal); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 0.75rem; }
.section { padding-block: 6.5rem; }
.split-intro { display: grid; grid-template-columns: 1fr 0.78fr; gap: 5rem; align-items: end; }
.split-intro p { font-size: 1.05rem; }
.text-link { display: inline-flex; gap: 0.7rem; margin-top: 0.8rem; color: var(--teal); text-decoration: none; font-weight: 800; }
.feature-grid { padding-top: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.feature-card { min-height: 22rem; position: relative; padding: 2rem; overflow: hidden; border: 1px solid var(--line); border-radius: 1rem; background: var(--surface); }
.feature-card-wide { min-height: 24rem; grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; }
.card-index { position: absolute; top: 1.5rem; right: 1.5rem; color: #54706d; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 0.72rem; }
.card-kicker { margin: 0 0 0.8rem; color: var(--teal); font-size: 0.76rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.11em; }
.geometry-mark { min-height: 11rem; position: relative; display: flex; align-items: end; justify-content: center; gap: 0.7rem; }
.geometry-mark span { display: block; width: 5rem; border: 2px solid #3b6460; background: rgba(108,224,194,0.06); }
.geometry-mark span:nth-child(1) { height: 5rem; border-radius: 50%; }.geometry-mark span:nth-child(2) { height: 9rem; border-radius: 2.5rem; }.geometry-mark span:nth-child(3) { height: 6.5rem; border-radius: 0.3rem; }
.compatibility-callout { display: flex; align-items: end; justify-content: space-between; gap: 3rem; border-top: 1px solid var(--line); }
.compatibility-callout > div { max-width: 46rem; }

.page-intro { padding-block: 6rem 4rem; border-bottom: 1px solid var(--line); }
.page-intro h1 { max-width: var(--prose); margin-bottom: 1rem; font-size: clamp(2rem, 3.4vw, 3rem); }
.page-intro > p:last-child { max-width: var(--prose); font-size: 1.05rem; }
.content-section { padding-block: 5rem; }
.content-section + .content-section { border-top: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 4rem; margin-bottom: 2.5rem; }
.section-heading h2 { font-size: clamp(1.4rem, 2.3vw, 1.9rem); }
.section-heading p { max-width: var(--prose); margin-top: 0; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.info-card { padding: 1.6rem; border: 1px solid var(--line); border-radius: 0.85rem; background: var(--surface); }
.info-card p:last-child { margin-bottom: 0; }
.info-card .feature-more { margin-top: 0.8rem; font-size: 0.82rem; }
.info-card .feature-more a::after { content: " \2192"; }
.help-rich-body h2, .help-rich-body h3 { scroll-margin-top: 5rem; }
.tag { display: inline-flex; margin-bottom: 1rem; padding: 0.34rem 0.5rem; border-radius: 0.35rem; background: rgba(108,224,194,0.1); color: var(--teal); font-size: 0.69rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.tag-amber { background: rgba(255,189,98,0.1); color: var(--amber); }
.tag-muted { background: rgba(157,179,174,0.1); color: var(--muted); }
.status-table { width: 100%; border-collapse: collapse; }
.status-table th, .status-table td { padding: 1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.status-table th { color: #78938e; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; }
.status-table td { color: var(--muted); }
.status-table td:first-child { color: var(--text); font-weight: 750; }
.help-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr)); gap: 1rem; }
.help-item { display: block; min-height: 8rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: 0.85rem; background: var(--surface); text-decoration: none; transition: transform 160ms ease, border-color 160ms ease; }
.help-item:hover { border-color: #47716d; transform: translateY(-2px); }
.help-item span { color: var(--teal); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.help-item h3 { margin-top: 1.25rem; }
.timeline { border-left: 1px solid #31504d; margin-left: 0.45rem; padding-left: 2rem; }
.timeline article { position: relative; padding: 0 0 3rem; }
.timeline article::before { content: ""; position: absolute; top: 0.35rem; left: -2.42rem; width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0.35rem var(--ink); }
.timeline time { color: #78938e; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.08em; }
.change-list { display: grid; gap: 0.75rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.change-list li { color: var(--muted); line-height: 1.65; }
.change-type { display: inline-flex; min-width: 4.3rem; margin-right: 0.65rem; color: var(--teal); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; }
.release-count { display: inline-flex; color: #78938e; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.07em; }
.notice { padding: 1.5rem; border: 1px solid #5c4b31; border-radius: 0.85rem; background: rgba(255,189,98,0.06); }
.notice strong { display: block; color: var(--amber); }
.diagnostic-panel { max-width: 40rem; padding: 1.6rem; border: 1px solid var(--line); border-radius: 0.9rem; background: var(--surface); }
.diagnostic-panel dl { display: grid; grid-template-columns: auto 1fr; gap: 0.6rem 1rem; }
.diagnostic-panel dt { color: #78938e; }.diagnostic-panel dd { margin: 0; }
#status-text[data-state="ok"] { color: var(--teal); } #status-text[data-state="error"] { color: var(--red); }
.diagnostic-panel button { width: 100%; border: 0; border-radius: 0.65rem; padding: 0.82rem 1rem; background: var(--teal); color: var(--ink); font-weight: 800; cursor: pointer; }
.diagnostic-panel button:disabled { opacity: 0.6; cursor: wait; }

.support-search { padding-top: 3rem; }
.search-form { display: grid; gap: 0.65rem; margin-bottom: 4rem; }
.search-form > label { color: var(--text); font-weight: 800; }
.search-form > div { display: grid; grid-template-columns: 1fr auto; gap: 0.7rem; }
.field input, .field select, .field textarea, .search-form input { width: 100%; border: 1px solid #355154; border-radius: 0.6rem; background: #081316; color: var(--text); padding: 0.78rem 0.85rem; }
.field input:focus, .field select:focus, .field textarea:focus, .search-form input:focus { outline: 2px solid var(--teal); outline-offset: 2px; border-color: var(--teal); }
.field textarea { resize: vertical; line-height: 1.55; }
.field { display: grid; align-content: start; gap: 0.5rem; color: var(--text); font-weight: 750; }
.field > span, .field label span { color: var(--muted); font-size: 0.76rem; font-weight: 500; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.field-wide { grid-column: 1 / -1; }
.field-group { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.check-field { display: flex; align-items: start; gap: 0.75rem; color: var(--muted); line-height: 1.55; }
.check-field input { width: 1.15rem; height: 1.15rem; margin-top: 0.2rem; accent-color: var(--teal); }
/* The two email boxes of beta registration and My account (account.php $consentFields). */
.consent-fields { display: grid; gap: 0.5rem; margin: 0 0 1rem; padding: 0; border: 0; min-width: 0; }
.consent-fields legend { padding: 0; margin-bottom: 0.4rem; font-weight: 600; }
.compact-form .consent-fields { margin: 0; }
.support-form { padding: 1.6rem; border: 1px solid var(--line); border-radius: 0.9rem; background: var(--surface); }
.support-form > .button { margin-top: 1.4rem; }
.form-note { margin: 1.2rem 0 0; font-size: 0.8rem; }
.form-message { margin-bottom: 1rem; padding: 1rem 1.15rem; border: 1px solid; border-radius: 0.65rem; }
.form-success { border-color: #2a685c; background: rgba(108,224,194,0.08); color: var(--teal); }
.form-error { border-color: #7c4140; background: rgba(255,139,134,0.08); color: var(--red); }
.compact-ticket-form { max-width: 52rem; }
.ticket-result { max-width: 52rem; margin-top: 1rem; padding: 1.6rem; border: 1px solid #31504d; border-radius: 0.9rem; background: var(--surface); }
.ticket-result dl { display: grid; grid-template-columns: 10rem 1fr; gap: 0.7rem 1rem; margin: 1.5rem 0; }
.ticket-result dt { color: #78938e; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; }
.ticket-result dd { margin: 0; overflow-wrap: anywhere; }
.ticket-result code { display: inline-block; padding: 0.35rem 0.5rem; border-radius: 0.35rem; background: #061014; color: var(--teal); font-size: 1rem; letter-spacing: 0.05em; }
.ticket-created { margin-top: 0; border-color: #2a685c; background: rgba(108,224,194,0.06); }
.ticket-status { display: inline-flex; padding: 0.3rem 0.55rem; border-radius: 99rem; background: rgba(108,224,194,0.1); color: var(--teal); font-weight: 800; }
.ticket-reply { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.ticket-reply h4 { margin: 0; font-size: 1.05rem; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
/* The Support form's robot check (support.js proofCheck): a box that ticks itself while the visitor writes. */
.proof-check { display: inline-flex; align-items: center; gap: 0.6rem; margin: 1rem 0 0.4rem; padding: 0.6rem 0.9rem; border: 1px solid var(--line); border-radius: 0.4rem; background: var(--surface-2); cursor: pointer; }
.proof-box { width: 1.1rem; height: 1.1rem; border: 2px solid var(--muted); border-radius: 0.2rem; flex: none; }
.proof-check.is-working .proof-box { border-color: var(--teal); border-top-color: transparent; border-radius: 50%; animation: proof-spin 0.8s linear infinite; }
.proof-check.is-done .proof-box { border-color: var(--teal); background: var(--teal); box-shadow: inset 0 0 0 0.2rem var(--surface-2); }
.proof-check.is-failed .proof-box { border-color: var(--red); }
@keyframes proof-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .proof-check.is-working .proof-box { animation: none; } }
.article-detail { max-width: var(--prose); }
.article-detail h2 { font-size: clamp(1.4rem, 2.3vw, 1.9rem); }
.article-detail p { font-size: 1.04rem; }
.faq-list { display: grid; gap: 0.8rem; }
.faq-list details, .owner-panel { border: 1px solid var(--line); border-radius: 0.75rem; background: var(--surface); }
.faq-list summary, .owner-panel > summary { padding: 1rem 1.2rem; color: var(--text); font-weight: 800; cursor: pointer; }
.faq-list details > div { padding: 0 1.2rem 1.2rem; }

.owner-login { max-width: 39rem; min-height: 40rem; padding-top: 7rem; }
.owner-login h1 { font-size: clamp(2rem, 4vw, 3rem); }
.compact-form { display: grid; gap: 1rem; margin-top: 2rem; }
.compact-form > .button { width: max-content; }
.owner-product-switcher { display: flex; align-items: end; gap: 0.75rem; padding-top: 1rem; }
.owner-product-switcher .field { min-width: min(22rem, 100%); }
.owner-product-switcher .button { min-height: 3rem; }
.owner-dashboard-head { padding-block: 2.75rem 2rem; border-bottom: 1px solid var(--line); }
.owner-heading { display: flex; align-items: start; justify-content: space-between; gap: 2rem; }
.owner-heading h1 { margin-bottom: 0.65rem; font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.owner-heading p { max-width: 42rem; margin: 0; }
.owner-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 0.7rem; }
.owner-quick-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin-top: 2rem; }
.owner-dashboard-actions { grid-template-columns: repeat(4, 1fr); }
.owner-quick-actions > a { min-height: 5.5rem; display: flex; align-items: center; gap: 1rem; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 0.8rem; background: var(--surface); text-decoration: none; transition: border-color 160ms ease, transform 160ms ease; }
.owner-quick-actions > a:hover { border-color: var(--teal); transform: translateY(-2px); }
.owner-quick-actions > a > span:last-child { min-width: 0; display: grid; gap: 0.25rem; }
.owner-quick-actions strong { font-size: 1rem; }
.owner-quick-actions small { color: var(--muted); }
.owner-action-icon, .owner-action-count { width: 2.5rem; height: 2.5rem; flex: 0 0 2.5rem; display: grid; place-items: center; border-radius: 0.65rem; background: rgba(108,224,194,0.12); color: var(--teal); font-size: 1.35rem; font-weight: 850; }
.owner-action-count { font-size: 1rem; }
.owner-section { padding-block: 3.25rem; }
.owner-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 1.5rem; }
.owner-section-heading h1, .owner-section-heading h2 { margin-bottom: 0.65rem; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.owner-section-heading p:not(.eyebrow) { margin: 0; }
.owner-section-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 0.65rem; }
.owner-heading-count { display: inline-grid; min-width: 2.2rem; min-height: 2.2rem; place-items: center; vertical-align: 0.2em; margin-left: 0.35rem; padding: 0.2rem 0.55rem; border-radius: 99rem; background: rgba(108,224,194,0.12); color: var(--teal); font-size: 0.95rem; letter-spacing: 0; }
.owner-product-bar { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.2rem; }
.owner-product-bar a { display: grid; gap: 0.25rem; min-width: 10rem; padding: 1rem; border: 1px solid var(--line); border-radius: 0.7rem; text-decoration: none; background: var(--surface); font-weight: 800; }
.owner-product-bar a[aria-current="page"] { border-color: var(--teal); }
.owner-product-bar span { color: var(--muted); font-size: 0.72rem; font-weight: 600; text-transform: uppercase; }
.owner-panel > .support-form { border: 0; border-top: 1px solid var(--line); border-radius: 0; }
.owner-layout { display: grid; grid-template-columns: minmax(15rem, 0.72fr) minmax(0, 1.28fr); gap: 1rem; align-items: start; }
.owner-list { max-height: 48rem; overflow: auto; display: grid; gap: 0.5rem; }
.owner-list-label { position: sticky; z-index: 2; top: 0; display: flex; justify-content: space-between; gap: 1rem; padding: 0.45rem 0.2rem 0.7rem; background: var(--ink); color: var(--text); font-size: 0.78rem; }
.owner-list-label span { color: var(--muted); }
.owner-list a { position: relative; display: grid; gap: 0.35rem; padding: 1rem 4.8rem 1rem 1rem; border: 1px solid var(--line); border-radius: 0.65rem; background: var(--surface); text-decoration: none; }
.owner-list a:hover { border-color: #47716d; }
.owner-list a.is-selected { border-color: var(--teal); box-shadow: inset 3px 0 var(--teal); }
.owner-list span, .owner-list small { color: var(--muted); font-size: 0.72rem; }
.owner-list span { color: var(--teal); text-transform: uppercase; letter-spacing: 0.06em; }
.owner-row-action { position: absolute; top: 50%; right: 0.8rem; transform: translateY(-50%); padding: 0.42rem 0.58rem; border: 1px solid #355154; border-radius: 0.45rem; color: var(--text); font-size: 0.72rem; }
.owner-list a:hover .owner-row-action, .owner-list a.is-selected .owner-row-action { border-color: var(--teal); color: var(--teal); }
.owner-list-empty { padding: 1.4rem; border: 1px dashed #355154; border-radius: 0.7rem; }
.owner-list-empty p { margin-bottom: 0; }
.owner-recent-list { max-height: none; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.owner-editor { min-width: 0; }
.owner-ticket-filters { margin-bottom: 1rem; padding: 1rem; }
.owner-ticket-filters .form-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.owner-ticket-filters .button-row { align-items: center; margin-top: 0.8rem; }
.owner-editor-heading { display: flex; align-items: start; justify-content: space-between; gap: 1rem; margin-bottom: 1.35rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.owner-editor-heading h3 { margin-bottom: 0; }
.owner-editor-heading .text-link { flex: 0 0 auto; margin-top: 0; }
.owner-archive { grid-column: 2; display: flex; justify-content: flex-end; }
.owner-revisions { grid-column: 2; display: grid; gap: 0.6rem; }
.owner-revisions form { display: grid; grid-template-columns: 1fr auto; gap: 0.35rem 1rem; align-items: center; padding: 0.9rem; border: 1px solid var(--line); border-radius: 0.65rem; background: var(--surface); }
.owner-revisions form span { color: var(--muted); font-size: 0.72rem; }
.owner-revisions form strong { grid-column: 1; }
.owner-revisions form .button { grid-column: 2; grid-row: 1 / 3; }
.owner-empty { min-height: 15rem; padding: 2rem; border: 1px dashed #355154; border-radius: 0.8rem; }
.owner-settings { padding-block: 2rem 4rem; }
.owner-settings > .owner-panel > summary { display: grid; gap: 0.3rem; }
.owner-settings > .owner-panel > summary small { color: var(--muted); font-weight: 500; }
.owner-settings-content { padding: 1.4rem; border-top: 1px solid var(--line); }
.owner-settings-page { border: 1px solid var(--line); border-radius: 0.85rem; background: var(--surface); }
.owner-settings-heading { display: flex; align-items: start; justify-content: space-between; gap: 2rem; margin-bottom: 1.5rem; }
.owner-settings-heading h2 { margin-bottom: 0.5rem; font-size: 2rem; }
.owner-settings-heading p { max-width: 42rem; margin: 0; }
.owner-product-create { margin-top: 1rem; }
.product-catalog { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 1rem; }
.product-card { display: flex; min-height: 22rem; flex-direction: column; align-items: flex-start; }
.product-card .button-row { margin-top: auto; padding-top: 1rem; }
.owner-entry-points { display: grid; gap: 0.65rem; }
.owner-entry-points a { display: grid; gap: 0.35rem; padding: 1rem; border: 1px solid var(--line); border-radius: 0.7rem; text-decoration: none; }
.owner-entry-points a:hover { border-color: var(--teal); }
.owner-entry-points code { color: var(--muted); overflow-wrap: anywhere; }
.submission-private { display: grid; grid-template-columns: 7rem 1fr; gap: 0.55rem 1rem; margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.submission-private dt { color: #78938e; font-size: 0.74rem; text-transform: uppercase; }
.submission-private dd { min-width: 0; margin: 0; color: var(--muted); overflow-wrap: anywhere; }
.submission-private dd p { margin-top: 0; }
.owner-footer { border-top: 1px solid var(--line); background: #060d0f; color: #6f8581; font-size: 0.75rem; }
.owner-footer > div { min-height: 4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.site-footer { margin-top: 3rem; border-top: 1px solid var(--line); background: #060d0f; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; padding-block: 4rem; }
.brand-footer { margin-bottom: 0.9rem; }
.footer-grid > div:first-child p { max-width: 25rem; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-links div { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-links strong { margin-bottom: 0.2rem; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.1em; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--teal); }
.footer-base { min-height: 4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); color: #6f8581; font-size: 0.75rem; }

@media (max-width: 860px) {
  .header-inner { gap: 1rem; }.preview-badge { display: none; }.nav-toggle { display: block; }
  .primary-nav { position: absolute; inset: 4.75rem 0 auto; display: none; flex-direction: column; padding: 0.75rem 1.25rem 1.25rem; border-bottom: 1px solid var(--line); background: #081215; }
  .primary-nav[data-open="true"] { display: flex; }.primary-nav a { padding: 0.85rem; }
  .hero { grid-template-columns: 1fr; padding-block: 4.5rem; }.telemetry-demo { max-width: 35rem; }
  .split-intro, .section-heading, .feature-card-wide { grid-template-columns: 1fr; gap: 1.5rem; }
  .owner-heading, .owner-section-heading, .owner-settings-heading { align-items: start; flex-direction: column; }
  .owner-quick-actions, .owner-dashboard-actions { grid-template-columns: 1fr 1fr; }
  .owner-primary-nav .owner-view-site { margin-left: 0; border-left: 0; padding-left: 0.85rem; }
  .owner-nav-toggle { width: auto; padding-inline: 0.85rem; }
  .info-grid { grid-template-columns: 1fr 1fr; }.compatibility-callout { align-items: start; flex-direction: column; }.owner-layout { grid-template-columns: 1fr; }.owner-revisions, .owner-archive { grid-column: auto; }.owner-ticket-filters .form-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .shell { width: min(100% - 1.4rem, var(--shell)); }.hero { min-height: auto; padding-block: 3.5rem; }h1 { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .button-row, .button { width: 100%; }.demo-body { gap: 1.25rem; }.tank-visual { width: 5.5rem; height: 9rem; }.reading-stack strong { font-size: 3rem; }.demo-grid { grid-template-columns: 1fr; }
  .signal-grid { grid-template-columns: 1fr; }.signal-grid > div, .signal-grid > div:first-child { min-height: 5rem; border: 0; border-bottom: 1px solid var(--line); }
  .section { padding-block: 4.5rem; }.feature-grid, .info-grid, .help-list, .footer-grid, .footer-links, .form-grid, .field-group, .owner-ticket-filters .form-grid { grid-template-columns: 1fr; }.feature-card { min-height: auto; }
  .field-wide { grid-column: auto; }.search-form > div { grid-template-columns: 1fr; }.search-form .button { width: 100%; }.support-form { padding: 1.1rem; }.submission-private, .ticket-result dl { grid-template-columns: 1fr; }
  .page-intro { padding-block: 4rem 2.5rem; }.content-section { padding-block: 3.5rem; }
  .owner-product-switcher { align-items: stretch; flex-direction: column; }.owner-dashboard-head { padding-block: 2rem 1.5rem; }.owner-actions, .owner-section-actions { width: 100%; }.owner-actions .button, .owner-section-actions .button { width: 100%; }.owner-list a { padding-right: 1rem; }.owner-row-action { position: static; width: max-content; transform: none; margin-top: 0.35rem; }
  .owner-quick-actions, .owner-dashboard-actions, .owner-recent-list { grid-template-columns: 1fr; }.owner-footer > div { align-items: start; flex-direction: column; justify-content: center; padding-block: 1rem; }
  .status-table, .status-table tbody, .status-table tr, .status-table td { display: block; }.status-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .status-table tr { padding: 1rem 0; border-bottom: 1px solid var(--line); }.status-table td { padding: 0.3rem 0; border: 0; }.status-table td::before { content: attr(data-label); display: block; color: #78938e; font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.08em; }
  .footer-grid { gap: 2.5rem; }.footer-base { align-items: start; flex-direction: column; justify-content: center; padding-block: 1rem; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }

/* Two Left Wheels 360's longer promise and workflow fit within the shared product shell. */
.tlw360-hero { min-height: 36rem; padding-block: 4rem; }
.tlw360-hero h1 { font-size: clamp(2rem, 3.4vw, 3rem); }
.tlw360-hero h1 span { display: block; margin-top: .65rem; font-size: clamp(1.4rem, 2.2vw, 2rem); line-height: 1.15; }
.tlw360-hero .feature-card h2 { font-size: clamp(1.7rem, 2.5vw, 2.1rem); }
.tlw360-hero ol { padding-left: 1.25rem; }
.tlw360-hero li + li { margin-top: .8rem; }
.product-twoleftwheels360 .brand-mark { border-radius: 50%; transform: rotate(-25deg); height: 1.35rem; }
.product-twoleftwheels360 .brand-mark i { width: .45rem; height: .45rem; background: var(--teal); border-radius: 50%; align-self: center; position: absolute; right: -.2rem; }

/* Log sharing follows a single readable sequence, including on narrow screens. */
#log-attachment { min-width: 0; padding: 20px; border: 1px solid var(--line, #294346); border-radius: 12px; }
#log-attachment > .field { margin: 14px 0; }
#log-attachment .button-row { margin-top: 12px; }
#log-upload-status { font-weight: 600; }

[hidden] { display: none !important; }
.tlw360-introduction { max-width: var(--prose); margin: 0 auto; }
.tlw360-introduction h1 { margin-bottom: .4em; }
.tlw360-introduction h2 { color: var(--accent, #71d8be); font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.25; }
.tlw360-introduction p { line-height: 1.75; }
.tlw360-introduction ol, .tlw360-introduction ul { padding-left: 1.25rem; color: var(--muted); line-height: 1.75; }
.content-note { color: var(--muted); font-size: .95em; }
/* A content list written with + (tools/content.py): compact chips, several to a row; a click opens a chip into a
   full-width box with its explanation. */
.content-reveal { display: flex; flex-wrap: wrap; gap: .5rem; margin: .8rem 0 1.2rem; }
.content-reveal details { flex: 0 1 auto; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.content-reveal details[open] { flex-basis: 100%; border-radius: .6rem; }
.content-reveal summary { padding: .45rem .95rem; color: var(--text); font-weight: 700; font-size: .95em; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: .6rem; }
.content-reveal summary::-webkit-details-marker { display: none; }
.content-reveal summary::after { content: '\25BE'; color: var(--muted); transition: transform .15s; }
.content-reveal details[open] summary::after { transform: rotate(180deg); }
.content-reveal details > div { padding: 0 1rem .8rem; }
.content-reveal details > div p { margin: 0; color: var(--muted); line-height: 1.7; }
.tlw360-introduction li + li { margin-top: .6rem; }
.tlw360-introduction li strong { color: var(--text, inherit); }
.tlw360-introduction h3 { margin-top: 2rem; }
.tlw360-introduction .tlw360-note { margin-top: 2rem; font-size: 0.85rem; }
.release-downloads li { margin: 1rem 0; }
#release-progress { display: block; width: min(100%, 36rem); margin-top: 1rem; }
.owner-panel code { overflow-wrap: anywhere; }

/* Shared rich help content and Quill owner editor. */
.help-rich-body { overflow-wrap: anywhere; line-height: 1.7; }
.help-rich-body h2,.help-rich-body h3 { margin-top: 1.5em; }
.help-rich-body a { color: var(--teal); text-decoration: underline; }
.help-rich-body figure { margin: 1.5rem 0; }
.help-rich-body img { display: block; max-width: 100%; height: auto; border-radius: .5rem; }
.help-rich-body figcaption { color: var(--muted); font-size: .9rem; margin-top: .5rem; }
.help-rich-body blockquote { border-left: 3px solid var(--teal); margin: 1rem 0; padding-left: 1rem; color: var(--muted); }
.help-video { margin: 1rem 0; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.help-video small { color: var(--muted); }
.help-video iframe, .video-poster iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: .5rem; display: block; }
.video-poster { margin: 1rem 0; }
.video-poster button { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: .5rem; overflow: hidden; background: #000; cursor: pointer; }
.video-poster img { display: block; width: 100%; height: 100%; object-fit: cover; }
.video-play { position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; transform: translate(-50%, -50%) scale(1.25); border-radius: 14px; background: #f00; box-shadow: 0 2px 12px rgba(0, 0, 0, .45); transition: background .15s, transform .15s; }
.video-play::after { content: ''; position: absolute; left: 27px; top: 14px; border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff; }
.video-poster button:hover .video-play, .video-poster button:focus-visible .video-play { background: #c00; transform: translate(-50%, -50%) scale(1.35); }


.help-rich-body { display:flow-root; overflow-x:auto; font-weight:400; }
.help-rich-body table { border-collapse:collapse; max-width:100%; }
.help-rich-body td,.help-rich-body th { border:1px solid #81998e; padding:10px; min-width:24px; }
.help-rich-body img { object-fit:contain; }

/* Wrapped mobile toolbars must participate in the editor's height calculation. */
/* Download page (private/pages/download-view.php): the status, then one next step. */
.download-status { margin: 1.5rem 0; padding: 1.25rem 1.5rem; border: 1px solid var(--line); border-radius: 0.85rem; background: var(--surface); }
.download-status p { margin: 0 0 0.75rem; }
.download-status p:last-child { margin-bottom: 0; }
.download-steps { margin-top: 2rem; }
.download-steps ol { padding-left: 1.25rem; color: var(--muted); }
.download-steps code { word-break: break-all; }
.download-terms { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); }

/* Owner area: four tiles a row, number tiles that are not links, the product tabs under the header, plain tables. */
.owner-quick-actions { grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.owner-quick-actions > span { min-height: 5.5rem; display: flex; align-items: center; gap: 1rem; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 0.8rem; background: var(--surface); }
.owner-quick-actions > span > span:last-child { min-width: 0; display: grid; gap: 0.25rem; }
.owner-site-header + .owner-product-bar { margin-top: 1.2rem; }
.owner-product-bar a { padding: 0.6rem 1rem; min-width: 0; }
.owner-table { width: 100%; border-collapse: collapse; margin: 0.5rem 0 2rem; font-size: 0.92rem; }
.owner-table th, .owner-table td { text-align: left; padding: 0.45rem 0.6rem; border-bottom: 1px solid var(--line); }
.owner-table th { color: var(--muted); font-weight: 600; }

/* The Beta programme page (private/programmes/*-beta.php). */
.beta-page h2[id], .beta-page section[id] { scroll-margin-top: 6rem; }
.beta-page .page-intro .button-row { margin-top: 1.6rem; }
.beta-page .info-card h3 { margin-bottom: 0.6rem; }
.beta-page .info-card .card-kicker { margin-bottom: 0.6rem; }
.beta-aside { margin: 1.2rem 0 0; font-size: 0.92rem; }
.beta-steps { margin: 1.2rem 0 1.6rem; padding-left: 1.4rem; }
.beta-steps li { margin-bottom: 0.7rem; padding-left: 0.3rem; color: var(--muted); font-size: 1.04rem; line-height: 1.7; }
.beta-steps li::marker { color: var(--teal); font-weight: 800; }
.beta-steps strong { color: var(--text); }
.beta-page .article-detail h2 + .beta-steps { margin-top: 0.4rem; }
.beta-page .article-detail h2:not(:first-child) { margin-top: 3.5rem; }
.beta-page .notice { margin: 1.4rem 0; }
.beta-page .notice p { margin: 0.4rem 0 0; }
.beta-reward { padding: 2rem; border: 1px solid #2c5a52; border-radius: 1rem; background: linear-gradient(180deg, rgba(108,224,194,0.07), rgba(108,224,194,0.02)); }
.beta-reward p:last-child { margin-bottom: 0; }
.beta-page .page-intro > p:not(.eyebrow) { max-width: var(--prose); font-size: 1.05rem; }
.beta-page .feature-more a { color: var(--teal); font-weight: 750; text-decoration: none; }
.beta-page .feature-more a:hover { text-decoration: underline; }
.beta-page .article-detail .feature-more a::after { content: " \2192"; }
@media (max-width: 720px) { .beta-reward { padding: 1.3rem; } .beta-page .section-heading { gap: 0.5rem; } }
.activation-code { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem; margin: 1rem 0 0.4rem; }
.activation-code strong { padding: 0.55rem 0.9rem; border: 1px solid #2c5a52; border-radius: 0.5rem; background: rgba(108,224,194,0.06); color: var(--text); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 1.25rem; letter-spacing: 0.06em; }
