/* Fast4.IT / shared visual system. One source for portal, hosting and company. */
html#fast4-interface.f4-clean-ui {
  --f4-canvas:#f3f5f8; --f4-surface:#fff; --f4-surface-alt:#edf1f5;
  --f4-ink:#202c39; --f4-muted:#627386; --f4-line:#dce3eb;
  --f4-accent:#c95116; --f4-accent-ink:#fff;
  --f4-success:#147654; --f4-success-bg:#e7f5ed;
  --f4-danger:#b42e43; --f4-danger-bg:#fff0f2;
  --f4-warning:#895710; --f4-warning-bg:#fff5df;
  --f4-info:#285ea4; --f4-info-bg:#edf3ff;
  --f4-shadow:0 10px 32px #23364a08;
  --f4-radius:16px; --f4-content:1440px; --f4-font:'Fast4 Outfit',Outfit,Arial,sans-serif;
  color-scheme:light;
}
html#fast4-interface.f4-clean-ui[data-fast4-theme="dark"],
html#fast4-interface.f4-clean-ui:not([data-fast4-theme]):is([data-console-theme="dark"], [data-theme="dark"]) {
  --f4-canvas:#131518; --f4-surface:#1d2024; --f4-surface-alt:#292b2f;
  --f4-ink:#f4f4f5; --f4-muted:#b7bbc2; --f4-line:#43474d;
  --f4-accent:#ff964d; --f4-accent-ink:#20140a;
  --f4-success:#80e1b4; --f4-success-bg:#163d32;
  --f4-danger:#ff9dab; --f4-danger-bg:#432631;
  --f4-warning:#f2cb82; --f4-warning-bg:#3c3220;
  --f4-info:#a2caff; --f4-info-bg:#223955;
  --f4-shadow:0 12px 36px rgb(0 0 0 / .22); color-scheme:dark;
}
html#fast4-interface.f4-clean-ui body.f4-ui {
  background:var(--f4-canvas)!important; color:var(--f4-ink)!important;
  font-family:var(--f4-font)!important; font-size:15px; line-height:1.65;
  font-variant-numeric:tabular-nums; letter-spacing:0; -webkit-font-smoothing:antialiased;
}
html#fast4-interface.f4-clean-ui body.f4-ui :where(h1,h2,h3,h4) {font-family:var(--f4-font)!important; color:var(--f4-ink); letter-spacing:-.025em; font-weight:600; text-wrap:balance}
html#fast4-interface.f4-clean-ui body.f4-ui :where(p,li,dd) {text-wrap:pretty}
html#fast4-interface.f4-clean-ui body.f4-ui :where(button,input,select,textarea) {font:inherit}
html#fast4-interface.f4-clean-ui body.f4-ui :where(a,button,input,select,textarea,summary):focus-visible {outline:3px solid var(--f4-accent)!important; outline-offset:4px}
html#fast4-interface.f4-clean-ui body.f4-ui [hidden] {display:none!important}
html#fast4-interface.f4-clean-ui body.f4-ui :where(.portal-text-muted,.portal-field-note,.portal-page-summary,.portal-table-card__meta) {color:var(--f4-muted)!important; line-height:1.7}
html#fast4-interface.f4-clean-ui body.f4-ui :where(.portal-button-primary,.portal-button-secondary,.button) {min-height:46px; padding:11px 18px; border-radius:9px!important; font-size:14px!important; line-height:1.4; font-weight:550; text-decoration:none; box-shadow:none!important; display:inline-flex; align-items:center; justify-content:center; gap:9px; white-space:normal; text-align:center; transition:background-color .15s,border-color .15s}
html#fast4-interface.f4-clean-ui body.f4-ui :where(.portal-button-primary,.button--primary) {background:var(--f4-accent)!important; color:var(--f4-accent-ink)!important; border:1px solid transparent!important}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-button-secondary {background:var(--f4-surface)!important; color:var(--f4-ink)!important; border:1px solid var(--f4-line)!important}
html#fast4-interface.f4-clean-ui body.f4-ui :where(.portal-button-primary,.portal-button-secondary,.button):hover {filter:brightness(.97); transform:none!important}
html#fast4-interface.f4-clean-ui body.f4-ui :where(.portal-input,.portal-select,.portal-textarea) {min-height:46px; border:1px solid var(--f4-line)!important; background:var(--f4-surface)!important; color:var(--f4-ink)!important; border-radius:9px!important; padding:11px 13px; box-shadow:none!important}
html#fast4-interface.f4-clean-ui body.f4-ui textarea.portal-textarea {min-height:140px}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-label {font-size:13px; font-weight:550; margin-bottom:8px; color:var(--f4-ink)}
html#fast4-interface.f4-clean-ui body.f4-ui :where(.portal-status,.portal-chip) {min-height:30px; padding:5px 11px!important; display:inline-flex; align-items:center; gap:7px; border-radius:7px!important; border:1px solid var(--f4-line)!important; background:var(--f4-surface-alt)!important; color:var(--f4-muted)!important; font-size:12px!important; line-height:1.45; font-weight:550!important; white-space:normal; box-shadow:none!important}
html#fast4-interface.f4-clean-ui body.f4-ui :where(.portal-status--success,.portal-chip--success) {color:var(--f4-success)!important; background:var(--f4-success-bg)!important; border-color:color-mix(in srgb,var(--f4-success) 25%,transparent)!important}
html#fast4-interface.f4-clean-ui body.f4-ui :where(.portal-status--danger,.portal-chip--danger) {color:var(--f4-danger)!important; background:var(--f4-danger-bg)!important; border-color:color-mix(in srgb,var(--f4-danger) 25%,transparent)!important}
html#fast4-interface.f4-clean-ui body.f4-ui :where(.portal-status--warning,.portal-chip--warning) {color:var(--f4-warning)!important; background:var(--f4-warning-bg)!important; border-color:color-mix(in srgb,var(--f4-warning) 25%,transparent)!important}
html#fast4-interface.f4-clean-ui body.f4-ui :where(.portal-status--info,.portal-chip--info) {color:var(--f4-info)!important; background:var(--f4-info-bg)!important; border-color:color-mix(in srgb,var(--f4-info) 25%,transparent)!important}

/* Portal shell: consistent desktop navigation and a restrained toolbar. */
html#fast4-interface.f4-clean-ui body.f4-ui .control-shell {grid-template-columns:268px minmax(0,1fr)!important}
html#fast4-interface.f4-clean-ui body.f4-ui .control-shell__frame {background:var(--f4-canvas)!important; min-width:0}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-sidebar {background:var(--f4-surface)!important; border-right:1px solid var(--f4-line)!important; color:var(--f4-ink)!important; box-shadow:none!important}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-sidebar__brand {min-height:102px; padding:26px 24px!important; border-bottom:1px solid var(--f4-line)!important}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-sidebar__content {padding:16px 14px 24px!important}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-sidebar__group {margin-bottom:20px!important}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-sidebar__heading {text-transform:none!important; letter-spacing:.01em!important; font-size:12px!important; font-weight:550!important; color:var(--f4-muted)!important}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-sidebar__link {min-height:43px; padding:10px 12px!important; color:var(--f4-muted)!important; font-size:14px!important; border-radius:9px!important; gap:12px}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-sidebar__link:hover {background:var(--f4-surface-alt)!important; color:var(--f4-ink)!important}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-sidebar__link.is-active {background:color-mix(in srgb,var(--f4-accent) 11%,var(--f4-surface))!important; color:var(--f4-accent)!important; font-weight:600!important; box-shadow:inset 3px 0 var(--f4-accent)!important}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-sidebar__toggle {background:var(--f4-surface-alt)!important; color:var(--f4-ink)!important; border-color:var(--f4-line)!important; border-radius:9px!important; padding:12px!important}
html#fast4-interface.f4-clean-ui body.f4-ui :where(.portal-sidebar__toggle-meta,.portal-sidebar__account-label,.portal-sidebar__account-mail) {color:var(--f4-muted)!important}
html#fast4-interface.f4-clean-ui body.f4-ui :where(.portal-sidebar__account-name,.portal-sidebar__mini-link,.portal-sidebar__logout) {color:var(--f4-ink)!important}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-sidebar__footer {background:var(--f4-surface)!important; border-top:1px solid var(--f4-line)!important; padding:18px 20px!important}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-topbar {background:var(--f4-surface)!important; min-height:78px!important; padding:14px 32px!important; border-bottom:1px solid var(--f4-line)!important; gap:16px}
html#fast4-interface.f4-clean-ui body.f4-ui .f4-platform-bar {background:var(--f4-surface-alt); padding-inline:32px; font-size:12px; height:34px; gap:24px}
html#fast4-interface.f4-clean-ui body.f4-ui :where(.portal-topbar__headline,.portal-topbar__user-copy strong) {font-size:14px; font-weight:550; color:var(--f4-ink)!important}
html#fast4-interface.f4-clean-ui body.f4-ui .workspace {max-width:var(--f4-content)!important; padding:32px!important; margin-inline:auto!important; width:100%; min-width:0}
html#fast4-interface.f4-clean-ui body.f4-ui .workspace-header {margin:0 0 28px!important; padding:0!important}
html#fast4-interface.f4-clean-ui body.f4-ui .workspace__content {padding:0!important; min-width:0; display:flex; flex-direction:column; gap:24px}
html#fast4-interface.f4-clean-ui body.f4-ui .workspace__content > * {min-width:0; margin-block:0}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-page-intro {display:flex; justify-content:space-between; align-items:flex-start; gap:28px; padding:0!important; background:none!important; border:0!important; box-shadow:none!important}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-page-title {font-size:clamp(28px,2.5vw,38px)!important; font-weight:600!important; line-height:1.2; margin:5px 0 14px!important}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-page-kicker {color:var(--f4-muted)!important; font-size:12px!important; text-transform:none!important; letter-spacing:0!important; margin:0 0 8px}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-page-summary {font-size:15px!important; max-width:68ch}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-page-intro__content {flex:1 1 auto; min-width:0; max-width:none!important; width:auto!important}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-page-title {max-width:none!important; width:auto!important}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-page-intro:before {display:none!important}
html#fast4-interface.f4-clean-ui body.f4-ui :where(.portal-card,.portal-surface,.portal-table-card,.portal-fold-card,.portal-note-card,.portal-billing-workspace,.f4-dashboard-v12-panel,.f4-dashboard-v12-finance,.f4-dashboard-v12-support) {background:var(--f4-surface)!important; border:1px solid var(--f4-line)!important; border-radius:var(--f4-radius)!important; box-shadow:var(--f4-shadow)!important; color:var(--f4-ink)!important; background-image:none!important}
html#fast4-interface.f4-clean-ui body.f4-ui :where(.portal-table-card__header,.portal-fold-card__header) {padding:24px!important; display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:18px; border-bottom:1px solid var(--f4-line)!important; background:none!important}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-table-card__title {font-size:20px!important; margin:0 0 5px!important; font-weight:600!important}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-alert {padding:18px 21px!important; border-radius:12px!important; border:1px solid var(--f4-line)!important; background:var(--f4-surface)!important; box-shadow:none!important; line-height:1.7}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-alert--success {background:var(--f4-success-bg)!important; color:var(--f4-success)!important; border-color:color-mix(in srgb,var(--f4-success) 25%,transparent)!important}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-alert--error {background:var(--f4-danger-bg)!important; color:var(--f4-danger)!important; border-color:color-mix(in srgb,var(--f4-danger) 25%,transparent)!important}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-alert--warning {background:var(--f4-warning-bg)!important; color:var(--f4-warning)!important}

/* Customer overview: full-width workspaces and invoices, never narrow side stacks. */
html#fast4-interface.f4-clean-ui body.f4-ui :where(.f4-home-header,.f4-dashboard-v12-main) {display:flex!important; flex-direction:column!important; gap:26px!important}
html#fast4-interface.f4-clean-ui body.f4-ui .f4-home-command {padding:28px!important; background:var(--f4-surface)!important; border:1px solid var(--f4-line)!important; border-radius:var(--f4-radius)!important; box-shadow:var(--f4-shadow)!important; align-items:center}
html#fast4-interface.f4-clean-ui body.f4-ui .f4-dashboard-v12-command__actions {background:var(--f4-surface-alt)!important; border:0!important; border-radius:12px!important; padding:20px 24px!important; min-width:220px; align-items:flex-start; text-align:left; gap:7px!important}
html#fast4-interface.f4-clean-ui body.f4-ui .f4-dashboard-v12-command__actions strong {font-size:18px}
html#fast4-interface.f4-clean-ui body.f4-ui .f4-dashboard-v12-command__actions small {color:var(--f4-muted)}
html#fast4-interface.f4-clean-ui body.f4-ui .f4-dashboard-v12-command__actions .portal-button-primary {margin-top:10px; width:100%}
html#fast4-interface.f4-clean-ui body.f4-ui .f4-dashboard-v11-health {margin-top:18px; display:flex; align-items:center; flex-wrap:wrap; gap:8px 12px; color:var(--f4-success); font-size:13px}
html#fast4-interface.f4-clean-ui body.f4-ui .f4-dashboard-v11-health[data-tone="danger"] {color:var(--f4-danger)}
html#fast4-interface.f4-clean-ui body.f4-ui .f4-dashboard-v11-health[data-tone="warning"] {color:var(--f4-warning)}
html#fast4-interface.f4-clean-ui body.f4-ui .f4-dashboard-v11-health small {color:var(--f4-muted); font-size:13px}
html#fast4-interface.f4-clean-ui body.f4-ui .f4-home-product-nav {display:flex!important; flex-wrap:wrap; gap:10px!important; padding:0!important; border:0!important; background:none!important}
html#fast4-interface.f4-clean-ui body.f4-ui .f4-home-product-nav .portal-button-secondary {flex:1 1 150px; margin:0!important}
html#fast4-interface.f4-clean-ui body.f4-ui .f4-home-account {border:1px solid var(--f4-line)!important; border-radius:12px; background:var(--f4-surface); padding:0 20px!important}
html#fast4-interface.f4-clean-ui body.f4-ui .f4-home-account > summary {min-height:58px; padding:14px 0!important; gap:16px; color:var(--f4-muted)}
html#fast4-interface.f4-clean-ui body.f4-ui .f4-home-account summary strong {color:var(--f4-ink)}
html#fast4-interface.f4-clean-ui body.f4-ui .f4-home-account > summary {display:flex!important; align-items:center; justify-content:space-between; flex-wrap:wrap}
html#fast4-interface.f4-clean-ui body.f4-ui .f4-home-account > summary > span {display:inline-flex; align-items:center; flex-wrap:wrap; gap:10px}
html#fast4-interface.f4-clean-ui body.f4-ui .f4-home-metrics {display:grid!important; grid-template-columns:repeat(5,minmax(0,1fr))!important; gap:0!important; border:1px solid var(--f4-line)!important; border-radius:var(--f4-radius); overflow:hidden; background:var(--f4-surface)}
html#fast4-interface.f4-clean-ui body.f4-ui .f4-home-metrics .portal-admin-priority-card {display:flex!important; flex-direction:column; min-height:138px!important; padding:20px!important; border:0!important; border-right:1px solid var(--f4-line)!important; border-radius:0!important; box-shadow:none!important; background:transparent!important; transform:none!important; gap:10px}
html#fast4-interface.f4-clean-ui body.f4-ui .f4-home-metrics .portal-admin-priority-card:last-child {border-right:0!important}
html#fast4-interface.f4-clean-ui body.f4-ui .f4-home-metrics .portal-stat-card__label {font-size:13px!important; color:var(--f4-muted); font-weight:450}
html#fast4-interface.f4-clean-ui body.f4-ui .f4-home-metrics .portal-stat-card__value {font-size:30px!important; line-height:1.2; font-weight:550; letter-spacing:-.03em}
html#fast4-interface.f4-clean-ui body.f4-ui .f4-home-metrics .portal-stat-card__action {margin-top:auto!important; font-size:12px!important; color:var(--f4-muted)!important}
html#fast4-interface.f4-clean-ui body.f4-ui .f4-home-metrics .portal-admin-priority-card--tone-danger .portal-stat-card__value {color:var(--f4-danger)!important}
html#fast4-interface.f4-clean-ui body.f4-ui .f4-home-metrics .portal-admin-priority-card--tone-success .portal-stat-card__value {color:var(--f4-success)!important}
html#fast4-interface.f4-clean-ui body.f4-ui .f4-home-overview-help {font-size:12px; color:var(--f4-muted); margin-top:-14px}
html#fast4-interface.f4-clean-ui body.f4-ui :where(.f4-dashboard-v12-operations,.f4-dashboard-v12-side-stack,.f4-dashboard-v12-workspace) {display:flex!important; flex-direction:column!important; gap:24px!important}
html#fast4-interface.f4-clean-ui body.f4-ui .f4-dashboard-v12-side-stack {display:contents!important}
html#fast4-interface.f4-clean-ui body.f4-ui .f4-dashboard-v12-panel--invoices {order:-1}
html#fast4-interface.f4-clean-ui body.f4-ui .f4-dashboard-v12-panel {width:100%; min-width:0; overflow:hidden}
html#fast4-interface.f4-clean-ui body.f4-ui :where(.f4-dashboard-v12-panel__head,.f4-dashboard-v12-section-head) {padding:24px!important; display:flex; align-items:center; justify-content:space-between; gap:20px; background:none!important}
html#fast4-interface.f4-clean-ui body.f4-ui .f4-dashboard-v12-section-head {padding:0!important}
html#fast4-interface.f4-clean-ui body.f4-ui .f4-dashboard-v12-panel__head {border-bottom:1px solid var(--f4-line)!important}
html#fast4-interface.f4-clean-ui body.f4-ui .f4-dashboard-v12-panel__head h3 {font-size:20px!important; margin:3px 0 0!important}
html#fast4-interface.f4-clean-ui body.f4-ui .f4-dashboard-v12-panel__head span {font-size:12px; color:var(--f4-muted)}
html#fast4-interface.f4-clean-ui body.f4-ui .f4-dashboard-v12-panel__head > a {font-size:13px; color:var(--f4-accent); white-space:nowrap}
html#fast4-interface.f4-clean-ui body.f4-ui :where(.f4-dashboard-v12-service-list,.f4-dashboard-v12-invoice-list,.f4-dashboard-v12-ticket-list) {display:flex!important; flex-direction:column; gap:0!important; padding:0!important; background:var(--f4-surface)!important}
html#fast4-interface.f4-clean-ui body.f4-ui :where(.f4-dashboard-v12-service,.f4-dashboard-v12-invoice,.f4-dashboard-v12-ticket) {display:grid!important; gap:20px!important; align-items:center; padding:22px 24px!important; border:0!important; border-bottom:1px solid var(--f4-line)!important; border-radius:0!important; background:var(--f4-surface)!important; box-shadow:none!important; margin:0!important}
html#fast4-interface.f4-clean-ui body.f4-ui :where(.f4-dashboard-v12-service,.f4-dashboard-v12-invoice,.f4-dashboard-v12-ticket):last-child {border-bottom:0!important}
html#fast4-interface.f4-clean-ui body.f4-ui .f4-dashboard-v12-service {grid-template-columns:minmax(200px,1fr) 120px minmax(160px,.6fr)!important}
html#fast4-interface.f4-clean-ui body.f4-ui .f4-dashboard-v12-service__due {text-align:right; display:flex; flex-direction:column; gap:5px}
html#fast4-interface.f4-clean-ui body.f4-ui .f4-dashboard-v12-service__id {display:flex; flex-direction:column; gap:5px}
html#fast4-interface.f4-clean-ui body.f4-ui .f4-dashboard-v12-service__id {grid-column:1!important; grid-row:1!important}
html#fast4-interface.f4-clean-ui body.f4-ui .f4-dashboard-v12-service > .portal-status {grid-column:2!important; grid-row:1!important; justify-self:start}
html#fast4-interface.f4-clean-ui body.f4-ui .f4-dashboard-v12-service__due {grid-column:3!important; grid-row:1!important}
html#fast4-interface.f4-clean-ui body.f4-ui :where(.f4-dashboard-v12-service__id > span,.f4-dashboard-v12-service__due > span) {font-size:12px; color:var(--f4-muted)!important}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-dashboard-due {border:0!important; border-radius:0!important; padding:0!important; font-size:14px!important; background:none!important}
html#fast4-interface.f4-clean-ui body.f4-ui .f4-dashboard-v12-invoice {grid-template-columns:minmax(160px,.9fr) minmax(240px,1.3fr) auto!important; border-left:3px solid var(--f4-line)!important}
html#fast4-interface.f4-clean-ui body.f4-ui .f4-dashboard-v12-invoice[data-invoice-tone="paid"] {border-left-color:var(--f4-success)!important}
html#fast4-interface.f4-clean-ui body.f4-ui .f4-dashboard-v12-invoice[data-invoice-tone="unpaid"] {border-left-color:var(--f4-danger)!important}
html#fast4-interface.f4-clean-ui body.f4-ui .f4-dashboard-v12-invoice__head {display:flex; align-items:center; gap:18px; justify-content:space-between; min-width:0}
html#fast4-interface.f4-clean-ui body.f4-ui .f4-dashboard-v12-invoice__head strong {font-size:16px; font-weight:550}
html#fast4-interface.f4-clean-ui body.f4-ui .f4-dashboard-v12-invoice > dl {display:grid!important; grid-template-columns:minmax(100px,1fr) auto auto; gap:22px; margin:0!important; padding:0!important; border:0!important}
html#fast4-interface.f4-clean-ui body.f4-ui .f4-dashboard-v12-invoice dl > div {display:flex; flex-direction:column; gap:4px; border:0!important; background:none!important}
html#fast4-interface.f4-clean-ui body.f4-ui .f4-dashboard-v12-invoice dt {font-size:12px; color:var(--f4-muted)}
html#fast4-interface.f4-clean-ui body.f4-ui .f4-dashboard-v12-invoice dd {font-size:14px; margin:0; white-space:nowrap}
html#fast4-interface.f4-clean-ui body.f4-ui .f4-dashboard-v12-invoice > a {font-size:13px; color:var(--f4-accent); white-space:nowrap}
html#fast4-interface.f4-clean-ui body.f4-ui .f4-dashboard-v12-empty {padding:30px 24px!important; background:none!important; color:var(--f4-muted); border:0!important}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-dashboard-credit-strip {display:grid!important; grid-template-columns:160px minmax(0,1fr) auto!important; gap:24px; align-items:center; padding:24px!important; background:var(--f4-surface)!important; border:1px solid var(--f4-line)!important; border-radius:var(--f4-radius)!important}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-dashboard-credit-strip__amount {border:0!important; padding:0!important}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-dashboard-credit-strip__amount strong {font-size:28px!important; font-weight:550!important}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-dashboard-credit-strip__copy p {font-size:13px; margin-top:5px; color:var(--f4-muted)}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-dashboard-credit-strip__actions {display:flex; flex-wrap:wrap; gap:10px}
html#fast4-interface.f4-clean-ui body.f4-ui .f4-home-credit-help {padding:14px 20px; font-size:13px; color:var(--f4-muted)}

/* Ledger: real statuses, clear hierarchy and generous horizontal rows. */
html#fast4-interface.f4-clean-ui body.f4-ui .portal-billing-workspace {display:flex; flex-direction:column; gap:24px; border:0!important; background:transparent!important; padding:0!important; box-shadow:none!important}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-billing-workspace > section {margin:0!important}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-billing-summary {display:grid!important; grid-template-columns:repeat(4,minmax(0,1fr))!important; gap:16px!important; order:-2; margin:0!important}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-billing-card {display:flex!important; flex-direction:column; gap:12px!important; min-height:144px; padding:22px!important; border:1px solid var(--f4-line)!important; border-radius:14px!important; background:var(--f4-surface)!important; box-shadow:none!important; color:var(--f4-muted)!important}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-billing-card strong {font-size:27px!important; line-height:1.25; color:var(--f4-ink)!important; letter-spacing:-.02em}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-billing-card:first-child strong {color:var(--f4-danger)!important}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-billing-card:nth-child(2) strong {color:var(--f4-success)!important}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-billing-card span {font-size:12px!important; line-height:1.6; text-transform:none!important; letter-spacing:0!important}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-ledger-board {order:-1}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-responsive-ledger--invoices {width:100%; table-layout:fixed; border-collapse:separate!important; border-spacing:0 12px!important; background:none!important}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-responsive-ledger--invoices th {font-size:12px!important; font-weight:500!important; color:var(--f4-muted)!important; text-transform:none!important; letter-spacing:0!important; padding:8px 18px!important; background:none!important}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-responsive-ledger--invoices td {padding:22px 18px!important; vertical-align:top; background:var(--f4-surface)!important; border:0!important; border-block:1px solid var(--f4-line)!important; font-size:13px; overflow-wrap:anywhere}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-responsive-ledger--invoices td:first-child {border-left:3px solid var(--f4-line)!important; border-radius:11px 0 0 11px!important}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-responsive-ledger--invoices td:last-child {border-right:1px solid var(--f4-line)!important; border-radius:0 11px 11px 0!important}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-invoice-ledger-row[data-invoice-tone="paid"] td:first-child {border-left-color:var(--f4-success)!important}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-invoice-ledger-row[data-invoice-tone="unpaid"] td:first-child {border-left-color:var(--f4-danger)!important}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-invoice-ledger-row:has(.portal-status--success) td:first-child {border-left-color:var(--f4-success)!important}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-invoice-ledger-row:has(.portal-status--warning,.portal-status--info,.portal-status--danger) td:first-child {border-left-color:var(--f4-danger)!important}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-invoice-ledger-row :is(.portal-status--warning,.portal-status--info) {color:var(--f4-danger)!important; background:var(--f4-danger-bg)!important; border-color:color-mix(in srgb,var(--f4-danger) 25%,transparent)!important}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-invoice-cell {display:flex; flex-direction:column; gap:9px!important; min-width:0}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-invoice-cell > span:not(.portal-status) {font-size:12px; line-height:1.7; color:var(--f4-muted)!important}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-invoice-cell > strong {font-size:15px; font-weight:550; color:var(--f4-ink)!important}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-invoice-money {padding:0!important; border:0!important; background:none!important; display:flex; flex-direction:column; gap:9px; border-radius:0!important}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-invoice-money__row {display:flex; justify-content:space-between; gap:12px; font-size:12px}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-invoice-money__row > span {color:var(--f4-muted)}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-invoice-money__row > strong {font-weight:550; white-space:nowrap}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-invoice-money__row:last-child {border-top:1px solid var(--f4-line); padding-top:9px}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-invoice-ledger-row[data-invoice-tone="unpaid"] .portal-invoice-money__row:last-child strong {color:var(--f4-danger)!important}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-invoice-ledger-row[data-invoice-tone="paid"] .portal-invoice-money__row:first-child strong {color:var(--f4-success)!important}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-ledger-board > .portal-table-wrap {padding:4px 20px 14px!important; background:var(--f4-canvas)!important}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-filter-tabs {display:flex; flex-wrap:wrap; gap:5px; padding:4px; background:var(--f4-surface-alt); border-radius:10px}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-filter-tabs {flex-direction:row!important; align-items:center!important; width:auto!important; max-width:100%; margin:0!important}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-filter-tab {padding:8px 13px!important; border:0!important; border-radius:7px!important; font-size:13px; color:var(--f4-muted)!important; background:none!important}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-filter-tab {display:inline-flex!important; align-items:center; justify-content:center; gap:8px}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-filter-tab > span {display:inline-flex; align-items:center; justify-content:center; min-width:22px; min-height:22px; border-radius:5px; background:var(--f4-surface-alt); padding:2px 5px; margin:0!important; font-size:11px}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-filter-tab.is-active {color:var(--f4-ink)!important; background:var(--f4-surface)!important; box-shadow:0 2px 6px #2030400a}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-invoice-actions {width:100%!important; max-width:none!important; min-width:0!important; border-radius:10px!important; border:1px solid var(--f4-line)!important; background:var(--f4-surface-alt)!important; box-shadow:none!important}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-invoice-actions > summary {display:flex!important; align-items:center!important; justify-content:space-between!important; gap:18px!important; min-height:58px; padding:13px!important; position:static!important; background:none!important}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-invoice-actions__summary {display:flex!important; flex-direction:column!important; gap:5px!important; min-width:0; text-align:left}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-invoice-actions__toggle {position:static!important; flex:none; padding:0!important; color:var(--f4-accent); font-size:12px}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-invoice-actions__body {padding:16px!important; background:var(--f4-surface)!important; border-top:1px solid var(--f4-line)!important}

/* Activity drawer and support use the same surfaces and state palette. */
html#fast4-interface.f4-clean-ui body.f4-ui .portal-notification-trigger {min-height:44px; border:1px solid var(--f4-line)!important; background:var(--f4-surface)!important; color:var(--f4-ink)!important; border-radius:10px!important; padding:10px 14px!important; gap:10px}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-notification-badge {background:var(--f4-accent)!important; color:var(--f4-accent-ink)!important; border-radius:6px; min-width:23px; height:23px; font-size:12px; display:inline-flex; align-items:center; justify-content:center}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-notification-panel {width:min(520px,calc(100vw - 32px))!important; border:1px solid var(--f4-line)!important; border-radius:18px!important; background:var(--f4-surface)!important; box-shadow:0 20px 60px #10203028!important; overflow:hidden; max-height:min(760px,calc(100dvh - 110px))}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-notification-panel__header {padding:22px!important; background:var(--f4-surface)!important; gap:18px; flex-wrap:wrap; border-bottom:1px solid var(--f4-line)!important}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-notification-panel__header h2 {font-size:21px!important; margin:3px 0 0!important}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-notification-panel__eyebrow {font-size:12px!important; color:var(--f4-muted)!important; text-transform:none!important; letter-spacing:0!important}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-notification-panel__header-actions {gap:8px; flex-wrap:wrap}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-notification-panel__header-actions button {min-height:36px; padding:8px 10px!important; font-size:12px; border-radius:7px!important; color:var(--f4-muted)}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-notification-panel__header-actions .is-danger {color:var(--f4-danger)!important; background:var(--f4-danger-bg)!important}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-notification-panel__close {margin-left:auto; border:1px solid var(--f4-line)!important; background:var(--f4-surface)!important}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-notification-item {padding:20px 22px!important; gap:16px; border:0!important; border-bottom:1px solid var(--f4-line)!important; background:var(--f4-surface)!important; border-radius:0!important}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-notification-item.is-unread {background:color-mix(in srgb,var(--f4-info) 5%,var(--f4-surface))!important; box-shadow:inset 3px 0 var(--f4-info)}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-notification-item__title {font-size:14px!important; line-height:1.55; font-weight:550!important; color:var(--f4-ink)!important}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-notification-item__content > strong {font-size:14px!important; line-height:1.55; font-weight:550!important; color:var(--f4-ink)!important}
html#fast4-interface.f4-clean-ui body.f4-ui :where(.portal-notification-item__message,.portal-notification-item__meta) {font-size:12px!important; line-height:1.7; color:var(--f4-muted)!important}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-notification-panel__footer {padding:17px 22px!important; gap:14px; flex-wrap:wrap; background:var(--f4-surface-alt)!important; font-size:12px; border:0!important}
html#fast4-interface.f4-clean-ui body.f4-ui :where(.portal-notification-empty,.portal-notification-empty--compact) {padding:40px 24px!important; background:var(--f4-surface)!important; color:var(--f4-muted)!important}
html#fast4-interface.f4-clean-ui body.f4-ui :where(.support-chat__panel,.support-chat-panel,.portal-support-chat__panel,.fasti-panel,.community-dock__panel,.portal-community-panel) {background:var(--f4-surface)!important; color:var(--f4-ink)!important; border:1px solid var(--f4-line)!important; border-radius:18px!important; box-shadow:0 20px 60px #10203025!important}
html#fast4-interface.f4-clean-ui body.f4-ui :where(.support-chat__header,.support-chat-header,.fasti-panel__header,.community-dock__header) {padding:20px!important; background:var(--f4-surface-alt)!important; border-bottom:1px solid var(--f4-line)!important}
html#fast4-interface.f4-clean-ui body.f4-ui :where(.portal-ticket-message,.ticket-message,.portal-ticket-thread__message) {padding:24px!important; background:var(--f4-surface)!important; border:1px solid var(--f4-line)!important; border-radius:14px!important; margin-bottom:20px!important; line-height:1.8}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-contact-dock {top:50%!important; bottom:auto!important; right:0!important; transform:translateY(-50%)!important; display:flex!important; flex-direction:column!important; gap:8px!important}
html#fast4-interface.f4-clean-ui body.f4-ui .contact-dock__tab {width:58px!important; min-width:58px!important; min-height:58px!important; border:1px solid var(--f4-line)!important; border-radius:12px!important; background:var(--f4-surface)!important; color:var(--f4-accent)!important; box-shadow:var(--f4-shadow)!important}
html#fast4-interface.f4-clean-ui body.f4-ui .contact-dock__tab svg {color:inherit!important}
html#fast4-interface.f4-clean-ui body.f4-ui .contact-dock__tab small {color:var(--f4-muted)!important; font-size:10px!important}
html#fast4-interface.f4-clean-ui body.f4-ui .fasto-chat__panel {background:var(--f4-surface)!important; color:var(--f4-ink)!important; border:1px solid var(--f4-line)!important; border-radius:18px!important; box-shadow:0 20px 60px #10203028!important; width:min(420px,calc(100vw - 32px))!important; max-height:calc(100dvh - 110px)!important; overflow:hidden}
html#fast4-interface.f4-clean-ui body.f4-ui .fasto-chat__header {background:var(--f4-surface)!important; color:var(--f4-ink)!important; padding:20px!important; border-bottom:1px solid var(--f4-line)!important; border-radius:0!important}
html#fast4-interface.f4-clean-ui body.f4-ui .fasto-chat__meta {background:var(--f4-surface-alt)!important; padding:12px 20px!important; color:var(--f4-muted)!important}
html#fast4-interface.f4-clean-ui body.f4-ui .fasto-chat__messages {background:var(--f4-surface)!important; padding:20px!important; gap:16px!important}
html#fast4-interface.f4-clean-ui body.f4-ui .fasto-chat__bubble {padding:13px 16px!important; border-radius:12px!important; background:var(--f4-surface-alt)!important; color:var(--f4-ink)!important; font-family:var(--f4-font)!important; font-size:14px!important; line-height:1.7!important; overflow-wrap:anywhere; box-shadow:none!important}
html#fast4-interface.f4-clean-ui body.f4-ui .fasto-chat__message--user .fasto-chat__bubble {background:var(--f4-accent)!important; color:var(--f4-accent-ink)!important}
html#fast4-interface.f4-clean-ui body.f4-ui .fasto-chat__message-author {color:var(--f4-muted)!important; font-family:var(--f4-font)!important; font-size:11px!important; margin-bottom:6px}
html#fast4-interface.f4-clean-ui body.f4-ui .fasto-chat__form {background:var(--f4-surface)!important; padding:16px!important; gap:10px; border-top:1px solid var(--f4-line)!important}
html#fast4-interface.f4-clean-ui body.f4-ui .fasto-chat__form :where(input[type="text"],textarea) {background:var(--f4-canvas)!important; color:var(--f4-ink)!important; border:1px solid var(--f4-line)!important; border-radius:9px!important; padding:12px!important; font-family:var(--f4-font)!important; font-size:14px!important; min-height:46px}
html#fast4-interface.f4-clean-ui body.f4-ui .fasto-chat__hint {font-family:var(--f4-font)!important; font-size:11px!important; line-height:1.7; color:var(--f4-muted)!important}

/* Public sites: shared palette, aligned product rows and readable disclosures. */
html#fast4-interface.f4-clean-ui body.fast4-next-native :where(.f4n-header,.f4n-pagehero,.hosting-hero,.contact-band,.portal-section,.site-footer) {background:var(--f4-surface)!important; color:var(--f4-ink)!important; background-image:none!important}
html#fast4-interface.f4-clean-ui body.fast4-next-native :where(.section-space,.offer-runway,.business-runway) {background-color:var(--f4-canvas)!important}
html#fast4-interface.f4-clean-ui body.fast4-next-native :where(.f4n-header,.page-navigation,.f4-platform-bar) {border-color:var(--f4-line)!important}
html#fast4-interface.f4-clean-ui body.fast4-next-native :where(.container,.layout-container) {width:min(100% - 64px,1360px)!important; max-width:1360px!important}
html#fast4-interface.f4-clean-ui body.fast4-next-native :where(.hosting-hero,.f4n-pagehero) {padding-block:48px!important}
html#fast4-interface.f4-clean-ui body.fast4-next-native .section-heading {align-items:flex-start; margin-bottom:28px!important; gap:28px}
html#fast4-interface.f4-clean-ui body.fast4-next-native .section-heading h2 {font-size:clamp(28px,3vw,42px)!important; line-height:1.2; max-width:24ch}
html#fast4-interface.f4-clean-ui body.fast4-next-native :where(.section-space,.products-section,.services-section,.portal-section) {padding-block:72px!important}
html#fast4-interface.f4-clean-ui body.fast4-next-native :where(.offer-runway__list,.business-runway .offer-runway__list) {display:grid!important; grid-template-columns:repeat(var(--business-plan-columns,3),minmax(0,1fr))!important; align-items:stretch!important; gap:20px!important; border:0!important; background:none!important}
html#fast4-interface.f4-clean-ui body.fast4-next-native .offer-row.business-plan {display:grid!important; grid-template-rows:subgrid!important; grid-row:span 4!important; align-self:stretch!important; gap:0!important; padding:24px!important; margin:0!important; background:var(--f4-surface)!important; border:1px solid var(--f4-line)!important; border-radius:16px!important; box-shadow:var(--f4-shadow)!important; min-width:0; height:auto!important; transform:none!important}
html#fast4-interface.f4-clean-ui body.fast4-next-native .offer-row.business-plan {grid-template-columns:minmax(0,1fr)!important}
html#fast4-interface.f4-clean-ui body.fast4-next-native .offer-row.business-plan > .offer-row__identity {grid-column:1!important; grid-row:1!important}
html#fast4-interface.f4-clean-ui body.fast4-next-native .offer-row.business-plan > .business-plan__facts {grid-column:1!important; grid-row:2!important}
html#fast4-interface.f4-clean-ui body.fast4-next-native .offer-row.business-plan > .offer-row__decision {grid-column:1!important; grid-row:3!important; align-self:stretch!important}
html#fast4-interface.f4-clean-ui body.fast4-next-native .offer-row.business-plan > .business-plan__details {grid-column:1!important; grid-row:4!important}
html#fast4-interface.f4-clean-ui body.fast4-next-native .offer-row__index {display:none!important}
html#fast4-interface.f4-clean-ui body.fast4-next-native .offer-row__identity {padding:0 0 20px!important; min-height:100px; display:flex!important; flex-direction:column; justify-content:flex-end; align-items:flex-start; gap:10px}
html#fast4-interface.f4-clean-ui body.fast4-next-native .offer-row__identity h3 {font-size:21px!important; margin:0!important; line-height:1.3!important; min-height:2.6em; font-weight:600!important; text-align:left!important}
html#fast4-interface.f4-clean-ui body.fast4-next-native .offer-row__identity .status-label {color:var(--f4-accent)!important; font-size:11px!important; letter-spacing:0!important; text-transform:none!important}
html#fast4-interface.f4-clean-ui body.fast4-next-native .business-plan__facts {display:flex!important; flex-direction:column; gap:10px!important; margin:0!important; padding:0 0 24px!important; min-height:150px; font-size:13px!important; line-height:1.65; color:var(--f4-muted)!important}
html#fast4-interface.f4-clean-ui body.fast4-next-native .offer-row__decision {display:flex!important; flex-direction:column!important; align-items:stretch!important; justify-content:flex-start!important; gap:18px; padding:0!important; margin:0!important; width:auto!important; background:none!important}
html#fast4-interface.f4-clean-ui body.fast4-next-native .business-price {padding:22px 16px!important; background:var(--f4-surface-alt)!important; border:0!important; border-radius:11px!important; text-align:left!important; min-height:270px}
html#fast4-interface.f4-clean-ui body.fast4-next-native .price-lockup {display:flex!important; justify-content:flex-start!important; align-items:baseline!important; gap:6px; min-height:46px}
html#fast4-interface.f4-clean-ui body.fast4-next-native .price-lockup strong {font-size:32px!important; font-weight:600!important; line-height:1.2; color:var(--f4-ink)!important; letter-spacing:-.03em}
html#fast4-interface.f4-clean-ui body.fast4-next-native .price-lockup > span {font-size:12px!important; color:var(--f4-muted)!important}
html#fast4-interface.f4-clean-ui body.fast4-next-native :where(.term-price__billing,.term-price__setup,.term-price__label) {font-size:12px!important; line-height:1.65; color:var(--f4-muted)!important; text-align:left!important}
html#fast4-interface.f4-clean-ui body.fast4-next-native .term-price__billing[data-term-billing] {display:block; min-height:42px}
html#fast4-interface.f4-clean-ui body.fast4-next-native .term-offer__switch {margin-block:10px!important; min-height:40px; display:flex!important; background:var(--f4-surface)!important; border:1px solid var(--f4-line)!important; border-radius:8px!important; padding:3px!important}
html#fast4-interface.f4-clean-ui body.fast4-next-native .term-offer__switch button {flex:1; min-height:34px; border-radius:5px!important; font-size:12px!important; color:var(--f4-muted)!important; background:none!important; border:0!important}
html#fast4-interface.f4-clean-ui body.fast4-next-native .term-offer__switch button[aria-pressed="true"] {background:var(--f4-ink)!important; color:var(--f4-surface)!important; box-shadow:none!important}
html#fast4-interface.f4-clean-ui body.fast4-next-native .f4n-contract-readiness {background:none!important; border:0!important; padding:0!important; color:var(--f4-muted)!important; text-align:left!important}
html#fast4-interface.f4-clean-ui body.fast4-next-native .f4n-contract-readiness dl {display:flex!important; flex-direction:column!important; gap:10px!important; margin:0!important}
html#fast4-interface.f4-clean-ui body.fast4-next-native .f4n-contract-readiness dl > div {display:flex; flex-direction:column; align-items:flex-start!important; gap:3px; padding:0!important; border:0!important}
html#fast4-interface.f4-clean-ui body.fast4-next-native .f4n-contract-readiness dt {font-size:11px!important; color:var(--f4-muted)!important; font-weight:450!important}
html#fast4-interface.f4-clean-ui body.fast4-next-native .f4n-contract-readiness dd {font-size:12px!important; line-height:1.65!important; margin:0!important; text-align:left!important; color:var(--f4-ink)!important; font-weight:450!important}
html#fast4-interface.f4-clean-ui body.fast4-next-native .offer-row__actions {display:flex!important; flex-direction:column-reverse!important; align-items:stretch!important; gap:10px; margin-top:auto!important; padding:22px 0 0!important}
html#fast4-interface.f4-clean-ui body.fast4-next-native .offer-row__actions .button {width:100%!important; min-height:46px; margin:0!important}
html#fast4-interface.f4-clean-ui body.fast4-next-native .offer-row__actions .text-link {text-align:center; font-size:12px; min-height:30px; padding:4px}
html#fast4-interface.f4-clean-ui body.fast4-next-native .business-plan__details {border-top:1px solid var(--f4-line)!important; padding-top:16px!important; margin-top:18px!important; background:none!important; min-width:0}
html#fast4-interface.f4-clean-ui body.fast4-next-native .business-plan__details summary {font-size:12px!important; min-height:36px; color:var(--f4-muted)!important; padding:6px 0!important}
html#fast4-interface.f4-clean-ui body.fast4-next-native .business-plan__expanded {font-size:13px; padding-top:12px}
html#fast4-interface.f4-clean-ui body.fast4-next-native .term-offer__notice {font-size:12px!important; line-height:1.8!important; color:var(--f4-muted)!important; margin-bottom:24px!important; max-width:110ch}
html#fast4-interface.f4-clean-ui body.fast4-next-native :where(.product-card,.feature-card,.f4n-product-card) {background:var(--f4-surface)!important; color:var(--f4-ink)!important; border:1px solid var(--f4-line)!important; border-radius:16px!important; box-shadow:var(--f4-shadow)!important}
html#fast4-interface.f4-clean-ui body.fast4-next-native .products-grid {align-items:stretch!important; gap:24px!important}
html#fast4-interface.f4-clean-ui body.fast4-next-native .product-card {display:flex!important; flex-direction:column; padding:28px!important}
html#fast4-interface.f4-clean-ui body.fast4-next-native .product-card h3 {min-height:1.5em}
html#fast4-interface.f4-clean-ui body.fast4-next-native .product-card > p {min-height:4.8em; color:var(--f4-muted)}
html#fast4-interface.f4-clean-ui body.fast4-next-native .product-card .product-price {margin-top:auto!important; min-height:100px}
html#fast4-interface.f4-clean-ui body.fast4-next-native .product-card > a:last-child {margin-top:auto; min-height:46px}
html#fast4-interface.f4-clean-ui body.fast4-next-native :where(.f4n-nav-new a,.site-footer a) {color:var(--f4-muted)}
html#fast4-interface.f4-clean-ui body.fast4-next-native :where(.f4n-nav-new a:hover,.site-footer a:hover) {color:var(--f4-ink)}

@media(min-width:1200px) {
  html#fast4-interface.f4-clean-ui body.f4-ui .portal-sidebar {display:flex!important; position:sticky!important; top:0; transform:none!important}
}
@media(max-width:1199px) {
  html#fast4-interface.f4-clean-ui body.f4-ui .control-shell {grid-template-columns:minmax(0,1fr)!important}
  html#fast4-interface.f4-clean-ui body.f4-ui .portal-sidebar {position:fixed!important; width:280px!important; max-width:calc(100vw - 48px); transform:translateX(-105%)!important; top:0; bottom:0; left:0!important; height:100dvh}
  html#fast4-interface.f4-clean-ui body.f4-ui.is-navigation-open .portal-sidebar {transform:translateX(0)!important}
  html#fast4-interface.f4-clean-ui body.f4-ui .f4-home-metrics {grid-template-columns:repeat(3,minmax(0,1fr))!important}
  html#fast4-interface.f4-clean-ui body.f4-ui .f4-dashboard-v12-invoice {grid-template-columns:minmax(160px,1fr) minmax(240px,1.3fr)!important}
  html#fast4-interface.f4-clean-ui body.f4-ui .f4-dashboard-v12-invoice > a {grid-column:1/-1}
  html#fast4-interface.f4-clean-ui body.fast4-next-native .offer-runway__list {grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:800px) {
  html#fast4-interface.f4-clean-ui body.f4-ui .workspace {padding:24px!important}
  html#fast4-interface.f4-clean-ui body.f4-ui .portal-topbar {padding-inline:24px!important}
  html#fast4-interface.f4-clean-ui body.f4-ui .f4-home-command {flex-direction:column; align-items:stretch; padding:24px!important}
  html#fast4-interface.f4-clean-ui body.f4-ui .f4-dashboard-v12-command__actions {min-width:0; display:grid; grid-template-columns:1fr auto; gap:5px 16px; align-items:center}
  html#fast4-interface.f4-clean-ui body.f4-ui .f4-dashboard-v12-command__actions .portal-button-primary {grid-column:2; grid-row:1/4; margin:0}
  html#fast4-interface.f4-clean-ui body.f4-ui .portal-dashboard-credit-strip {grid-template-columns:130px minmax(0,1fr)!important}
  html#fast4-interface.f4-clean-ui body.f4-ui .portal-dashboard-credit-strip__actions {grid-column:1/-1}
  html#fast4-interface.f4-clean-ui body.f4-ui .portal-responsive-ledger--invoices :where(thead) {display:none!important}
  html#fast4-interface.f4-clean-ui body.f4-ui .portal-responsive-ledger--invoices {display:block; border-spacing:0!important}
  html#fast4-interface.f4-clean-ui body.f4-ui .portal-responsive-ledger--invoices tbody {display:flex; flex-direction:column; gap:18px}
  html#fast4-interface.f4-clean-ui body.f4-ui .portal-responsive-ledger--invoices tr {display:grid!important; grid-template-columns:1fr 1fr; padding:20px!important; background:var(--f4-surface)!important; border:1px solid var(--f4-line)!important; border-left-width:3px!important; border-radius:12px; gap:20px}
  html#fast4-interface.f4-clean-ui body.f4-ui .portal-responsive-ledger--invoices tr[data-invoice-tone="paid"] {border-left-color:var(--f4-success)!important}
  html#fast4-interface.f4-clean-ui body.f4-ui .portal-responsive-ledger--invoices tr[data-invoice-tone="unpaid"] {border-left-color:var(--f4-danger)!important}
  html#fast4-interface.f4-clean-ui body.f4-ui .portal-responsive-ledger--invoices tr:has(.portal-status--success) {border-left-color:var(--f4-success)!important}
  html#fast4-interface.f4-clean-ui body.f4-ui .portal-responsive-ledger--invoices tr:has(.portal-status--warning,.portal-status--info,.portal-status--danger) {border-left-color:var(--f4-danger)!important}
  html#fast4-interface.f4-clean-ui body.f4-ui .portal-responsive-ledger--invoices td {display:block!important; width:auto!important; border:0!important; border-radius:0!important; padding:0!important; background:none!important}
  html#fast4-interface.f4-clean-ui body.f4-ui .portal-responsive-ledger--invoices td {grid-column:auto!important; grid-row:auto!important; position:static!important; min-width:0!important; max-width:none!important; min-height:0!important; height:auto!important; float:none!important; transform:none!important; overflow:visible!important}
  html#fast4-interface.f4-clean-ui body.f4-ui .portal-responsive-ledger--invoices tr {grid-template-rows:auto auto auto!important; height:auto!important; min-height:0!important}
  html#fast4-interface.f4-clean-ui body.f4-ui .portal-responsive-ledger--invoices td:before {position:static!important; width:auto!important; float:none!important; margin:0 0 8px!important; padding:0!important; text-align:left!important; transform:none!important}
  html#fast4-interface.f4-clean-ui body.f4-ui .portal-responsive-ledger--invoices td:before {display:block; font-size:11px!important; margin-bottom:8px; color:var(--f4-muted)!important}
  html#fast4-interface.f4-clean-ui body.f4-ui .portal-responsive-ledger--invoices td:first-child {border:0!important}
  html#fast4-interface.f4-clean-ui body.f4-ui .portal-responsive-ledger--invoices td:last-child {grid-column:1/-1; border:0!important; border-top:1px solid var(--f4-line)!important; padding-top:16px!important}
  html#fast4-interface.f4-clean-ui body.f4-ui .portal-responsive-ledger--invoices td:nth-child(3),
  html#fast4-interface.f4-clean-ui body.f4-ui .portal-responsive-ledger--invoices td:nth-child(4) {grid-column:1/-1!important}
  html#fast4-interface.f4-clean-ui body.f4-ui .portal-responsive-ledger--invoices td:last-child {grid-column:1/-1!important}
  html#fast4-interface.f4-clean-ui body.f4-ui .portal-responsive-ledger--invoices .portal-inline-actions {display:flex!important; flex-direction:row!important; flex-wrap:wrap!important; align-items:center; gap:10px}
  html#fast4-interface.f4-clean-ui body.f4-ui .portal-responsive-ledger--invoices .portal-inline-actions > a {width:auto!important; min-width:0!important}
}
@media(max-width:600px) {
  html#fast4-interface.f4-clean-ui body.f4-ui {font-size:14px}
  html#fast4-interface.f4-clean-ui body.f4-ui .workspace {padding:20px 16px!important}
  html#fast4-interface.f4-clean-ui body.f4-ui .portal-topbar {padding:12px 16px!important; min-height:68px!important; gap:10px}
  html#fast4-interface.f4-clean-ui body.f4-ui .f4-platform-bar {padding-inline:16px; gap:20px; font-size:11px}
  html#fast4-interface.f4-clean-ui body.f4-ui .portal-page-intro {flex-direction:column; gap:18px}
  html#fast4-interface.f4-clean-ui body.f4-ui .portal-page-title {font-size:28px!important}
  html#fast4-interface.f4-clean-ui body.f4-ui .f4-home-command {padding:22px!important}
  html#fast4-interface.f4-clean-ui body.f4-ui .f4-home-metrics {grid-template-columns:repeat(2,minmax(0,1fr))!important}
  html#fast4-interface.f4-clean-ui body.f4-ui .portal-billing-summary {grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:12px!important}
  html#fast4-interface.f4-clean-ui body.f4-ui .portal-billing-card {padding:18px!important; min-height:130px}
  html#fast4-interface.f4-clean-ui body.f4-ui .portal-billing-card strong {font-size:24px!important}
  html#fast4-interface.f4-clean-ui body.f4-ui .f4-home-metrics .portal-admin-priority-card {padding:18px!important; min-height:128px!important; border-bottom:1px solid var(--f4-line)!important}
  html#fast4-interface.f4-clean-ui body.f4-ui .f4-home-metrics .portal-admin-priority-card:last-child {grid-column:1/-1; min-height:100px!important; border-bottom:0!important}
  html#fast4-interface.f4-clean-ui body.f4-ui .f4-dashboard-v12-service {grid-template-columns:minmax(0,1fr) auto!important; gap:14px!important; padding:20px!important}
  html#fast4-interface.f4-clean-ui body.f4-ui .f4-dashboard-v12-service__due {grid-column:1/-1!important; grid-row:2!important; text-align:left; flex-direction:row; justify-content:space-between; gap:12px}
  html#fast4-interface.f4-clean-ui body.f4-ui .f4-dashboard-v12-invoice {grid-template-columns:minmax(0,1fr)!important; gap:18px!important; padding:20px!important}
  html#fast4-interface.f4-clean-ui body.f4-ui .f4-dashboard-v12-invoice > dl {grid-template-columns:1fr auto auto; gap:16px}
  html#fast4-interface.f4-clean-ui body.f4-ui :where(.f4-dashboard-v12-panel__head,.portal-table-card__header) {padding:20px!important}
  html#fast4-interface.f4-clean-ui body.f4-ui .portal-dashboard-credit-strip {grid-template-columns:minmax(0,1fr)!important; padding:22px!important}
  html#fast4-interface.f4-clean-ui body.f4-ui .portal-dashboard-credit-strip__actions {grid-column:auto}
  html#fast4-interface.f4-clean-ui body.f4-ui .portal-notification-panel {position:fixed!important; top:84px!important; right:16px!important; left:16px!important; width:auto!important; max-height:calc(100dvh - 100px)}
  html#fast4-interface.f4-clean-ui body.f4-ui .portal-notification-trigger__label {display:none}
  html#fast4-interface.f4-clean-ui body.f4-ui .portal-ledger-board > .portal-table-wrap {padding:14px!important}
  html#fast4-interface.f4-clean-ui body.fast4-next-native :where(.container,.layout-container) {width:calc(100% - 32px)!important}
  html#fast4-interface.f4-clean-ui body.fast4-next-native .offer-runway__list {grid-template-columns:minmax(0,1fr)!important; gap:20px!important}
  html#fast4-interface.f4-clean-ui body.fast4-next-native .offer-row.business-plan {display:flex!important; flex-direction:column; grid-row:auto!important; gap:0!important; padding:24px!important}
  html#fast4-interface.f4-clean-ui body.fast4-next-native .offer-row__identity {min-height:0}
  html#fast4-interface.f4-clean-ui body.fast4-next-native .offer-row__identity h3 {min-height:0; font-size:23px!important}
  html#fast4-interface.f4-clean-ui body.fast4-next-native .business-plan__facts {min-height:0; padding-bottom:24px!important}
  html#fast4-interface.f4-clean-ui body.fast4-next-native .offer-row__decision {flex:1}
  html#fast4-interface.f4-clean-ui body.fast4-next-native :where(.section-space,.products-section,.services-section,.portal-section) {padding-block:44px!important}
  html#fast4-interface.f4-clean-ui body.fast4-next-native .business-price {min-height:0}
  html#fast4-interface.f4-clean-ui body.fast4-next-native .term-offer__notice {font-size:12px!important}
}
@media(prefers-reduced-motion:reduce) {
  html#fast4-interface.f4-clean-ui {scroll-behavior:auto!important}
  html#fast4-interface.f4-clean-ui body.f4-ui :where(*,*:before,*:after) {scroll-behavior:auto!important; animation-duration:.01ms!important; animation-iteration-count:1!important; transition-duration:.01ms!important}
}

/* Owner preference: the existing support, TeamSpeak and Community access stays at the page edge. */
html#fast4-interface.f4-clean-ui body.f4-ui .portal-contact-dock :is(.contact-dock__tab,.ts-viewer__tab){width:64px!important;min-width:64px!important;min-height:64px!important;height:64px!important;padding:7px 4px!important;border:1px solid var(--f4-line)!important;border-right:0!important;border-radius:12px 0 0 12px!important;background:var(--f4-surface)!important;color:var(--f4-accent)!important;box-shadow:var(--f4-shadow)!important}
html#fast4-interface.f4-clean-ui body.f4-ui .portal-contact-dock .contact-dock__tab>span:not(.contact-dock__unread){font-size:10px!important;color:var(--f4-muted)!important}
@media(min-width:601px){html#fast4-interface.f4-clean-ui body.f4-ui:has(.portal-contact-dock) .workspace{padding-right:88px!important}}
@media(max-width:600px){html#fast4-interface.f4-clean-ui body.f4-ui .portal-contact-dock{top:auto!important;bottom:12px!important;right:12px!important;transform:none!important;flex-direction:row!important;gap:6px!important}html#fast4-interface.f4-clean-ui body.f4-ui .portal-contact-dock :is(.contact-dock__tab,.ts-viewer__tab){width:54px!important;min-width:54px!important;min-height:54px!important;height:54px!important;padding:6px 3px!important;gap:3px!important;border-right:1px solid var(--f4-line)!important;border-radius:10px!important}}

@media(max-width:600px){html#fast4-interface.f4-clean-ui body.f4-ui .portal-contact-dock :is(.contact-dock__tab,.ts-viewer__tab) svg{width:20px!important;height:20px!important}html#fast4-interface.f4-clean-ui body.f4-ui .portal-contact-dock .contact-dock__tab>span:not(.contact-dock__unread){font-size:9px!important;line-height:1.3!important}}

/* Brand readability review, 18 November 2026. Keep semantic status colours. */
html#fast4-interface.f4-clean-ui {
  --f4-muted:#526579;
  --f4-accent:#b94710;
  --f4-accent-ink:#fff;
}
html#fast4-interface.f4-clean-ui body.f4-ui :is(.button-accent,.shop-primary-link,.shop-primary-button,.f4cloud-surface-nav .is-selected) {
  background:var(--f4-accent)!important;
  color:var(--f4-accent-ink)!important;
}
html#fast4-interface.f4-clean-ui body.f4-ui :is(.button-accent,.shop-primary-link,.shop-primary-button) :is(span,strong,small) {
  color:inherit!important;
}
html#fast4-interface.f4-clean-ui body.f4-ui .shop-checkout-progress__step {
  color:var(--f4-muted)!important;
  border-color:var(--f4-line)!important;
}
html#fast4-interface.f4-clean-ui body.f4-ui .shop-checkout-progress__step strong {
  color:var(--f4-ink)!important;
}
html#fast4-interface.f4-clean-ui body.f4-ui .shop-checkout-progress__step :is(p,small) {
  color:var(--f4-muted)!important;
}
html#fast4-interface.f4-clean-ui body.f4-ui :is(.illustration-caption,.portal-public-footer__copyright) {
  color:var(--f4-muted)!important;
  opacity:1;
}
html#fast4-interface.f4-clean-ui body.f4-ui .skip-link {
  background:var(--f4-accent)!important;
  color:var(--f4-accent-ink)!important;
}
html#fast4-interface.f4-clean-ui body.fast4-next-native .xs-domain-info {
  padding:clamp(22px,3vw,40px)!important;
  gap:clamp(24px,4vw,56px);
  align-items:center;
}
html#fast4-interface.f4-clean-ui body.fast4-next-native .xs-domain-info :is(h2,p) {
  max-width:65ch;
}

/* Standalone configurator and Console consume the same palette as the portal. */
html#fast4-interface.f4-clean-ui {
 --bg:var(--f4-canvas);--surface:var(--f4-surface);--surface-high:var(--f4-surface-alt);--surface-low:var(--f4-surface-alt);
 --text:var(--f4-ink);--muted:var(--f4-muted);--quiet:var(--f4-muted);--line:var(--f4-line);
 --accent:var(--f4-accent);--accent-text:var(--f4-accent-ink);--accent-hover:color-mix(in srgb,var(--f4-accent) 88%,#000);--accent-soft:color-mix(in srgb,var(--f4-accent) 8%,var(--f4-surface));
 --good:var(--f4-success);--danger:var(--f4-danger);--header-bg:var(--f4-surface);--focus:var(--f4-accent);
 --c-bg:var(--f4-canvas);--c-panel:var(--f4-surface);--c-header:var(--f4-surface);--c-sidebar:var(--f4-surface);--c-hover:var(--f4-surface-alt);
 --c-text:var(--f4-ink);--c-muted:var(--f4-muted);--c-quiet:var(--f4-muted);--c-border:var(--f4-line);
 --c-accent:var(--f4-accent);--c-on-accent:var(--f4-accent-ink);--c-green:var(--f4-success);--c-red:var(--f4-danger);--c-blue:var(--f4-info);--c-shadow:var(--f4-shadow);
}
html#fast4-interface.f4-clean-ui body.f4-ui .shop-guest-next-step :is(strong,p) {color:var(--f4-ink)!important}
html#fast4-interface.f4-clean-ui body.f4-ui .c-server-table :is(th,td) {vertical-align:middle}
html#fast4-interface.f4-clean-ui body.f4-ui .c-skip {background:var(--f4-accent);color:var(--f4-accent-ink)}

html#fast4-interface.f4-clean-ui body.f4-ui .portal-sidebar__label-meta {opacity:1!important;color:var(--f4-muted)!important}
html#fast4-interface.f4-clean-ui body.f4-ui .f4cloud-preview-nav .is-selected {color:var(--f4-accent-ink)!important}

/* Older public components use the same surfaces and text as the live portal. */
html#fast4-interface.f4-clean-ui body.fast4-next-native .portal-insight {
 --portal-orange:var(--f4-accent);--portal-orange-deep:var(--f4-accent);
 --portal-night:var(--f4-canvas);--portal-navy:var(--f4-surface-alt);
 --portal-panel:var(--f4-surface);--portal-panel-raised:var(--f4-surface-alt);
 --portal-line:var(--f4-line);--portal-muted:var(--f4-muted);--portal-green:var(--f4-success);
 color:var(--f4-ink)!important;background:var(--f4-canvas)!important;
}
html#fast4-interface.f4-clean-ui body.fast4-next-native .portal-insight :is(.portal-browser,.portal-browser__screen,.portal-mini-nav,.portal-mini-main,.portal-mini-top,.portal-mini-metrics,.portal-mini-service,.portal-insight__status-card,.portal-tour,.portal-tour__frame,.portal-tour__notice,.portal-tour__sidebar,.portal-tour__main,.portal-tour__content,.portal-tour__panel,.portal-tour__card) {
 background:var(--f4-surface)!important;background-image:none!important;
 color:var(--f4-ink)!important;border-color:var(--f4-line)!important;
}
html#fast4-interface.f4-clean-ui body.fast4-next-native .portal-insight :where(p,small,span,strong,b,li,td,th,label) {
 color:var(--f4-ink)!important;
}
html#fast4-interface.f4-clean-ui body.fast4-next-native .portal-insight :is(.portal-browser__bar,.portal-tour__notice) {
 background:var(--f4-surface-alt)!important;color:var(--f4-muted)!important;
}
html#fast4-interface.f4-clean-ui body.fast4-next-native .portal-insight .portal-mini-service__state {
 color:var(--f4-success)!important;
}
html#fast4-interface.f4-clean-ui body.fast4-next-native .portal-insight :is(.portal-mini-service__action,.button--primary) {
 background:var(--f4-accent)!important;color:var(--f4-accent-ink)!important;
}
html#fast4-interface.f4-clean-ui body.fast4-next-native :is(.reference-ledger__copy li,.mk-rack-data small,.mk-result-count,.mk-result-count span,.mk-category-filter a span) {
 color:var(--f4-muted)!important;opacity:1!important;
}
html#fast4-interface.f4-clean-ui body.fast4-next-native :is(h1 em,h2 em,.offer-row__identity .status-label) {
 color:var(--f4-accent)!important;
}

html#fast4-interface.f4-clean-ui body.fast4-next-native .portal-insight :is(.portal-tour__topbar,.portal-tour__workspace,.portal-tour__app,.portal-kpis>*) {background:var(--f4-surface)!important;background-image:none!important;border-color:var(--f4-line)!important}
html#fast4-interface.f4-clean-ui body.fast4-next-native .colo-wp-quote button {color:var(--f4-accent-ink)!important}
html#fast4-interface.f4-clean-ui body.fast4-next-native .tld-row>div>span {color:var(--f4-accent)!important}
html#fast4-interface.f4-clean-ui body.fast4-next-native .mk-category-filter a.active span {color:var(--f4-surface)!important;opacity:1!important}

/* Fast4.IT Kundenportal, Verwaltung und Cloud Console. Original Blade markup. */
html:is(#fast4-interface,:root):is(.f4-clean-ui,:root) body:is(.portal-app-body,.portal-auth-body,.f4-ui-console) {
  --f4w-canvas:#f5f6f7;
  --f4w-paper:#fff;
  --f4w-ink:#151820;
  --f4w-muted:#545963;
  --f4w-line:#d7dade;
  --f4w-accent:#eb670d;
  --f4w-action:#ad4107;
  --f4w-on-action:#fff;
  --f4w-tint:color-mix(in srgb,var(--f4w-accent) 10%,var(--f4w-paper));
  --f4w-soft:color-mix(in srgb,var(--f4w-canvas) 70%,var(--f4w-paper));
  background-color:var(--f4w-canvas)!important;
  color:var(--f4w-ink);
  font-variant-numeric:tabular-nums;
}
/* Fast4Appearance is the site-wide switch. Standalone shells expose their
   own resolved attribute before the shared switch is initialized. */
html:is(#fast4-interface,:root):is(.f4-clean-ui,:root):is([data-fast4-theme="dark"],:not([data-fast4-theme]):is([data-console-theme="dark"],[data-portal-theme="dark"])) body:is(.portal-app-body,.portal-auth-body,.f4-ui-console) {
  --f4w-canvas:#131518;
  --f4w-paper:#1d2024;
  --f4w-ink:#f4f4f5;
  --f4w-muted:#b7bbc2;
  --f4w-line:#43474d;
  --f4w-accent:#ff893b;
  --f4w-action:#ff964d;
  --f4w-on-action:#20140a;
}
html:is(#fast4-interface,:root):is(.f4-clean-ui,:root) body:is(.portal-app-body,.f4-ui-console) :is(.portal-sidebar,.c-sidebar) {
  background:var(--f4w-paper)!important;
  border-color:var(--f4w-line)!important;
}
html:is(#fast4-interface,:root):is(.f4-clean-ui,:root) body:is(.portal-app-body,.f4-ui-console) :is(.portal-topbar,.c-header) {
  background:color-mix(in srgb,var(--f4w-paper) 94%,transparent)!important;
  backdrop-filter:blur(14px);
  border-color:var(--f4w-line)!important;
}
html:is(#fast4-interface,:root):is(.f4-clean-ui,:root) body.portal-app-body .portal-sidebar__link,
html:is(#fast4-interface,:root):is(.f4-clean-ui,:root) body.portal-app-body .f4-admin-shortcut,
html:is(#fast4-interface,:root):is(.f4-clean-ui,:root) body.f4-ui-console .c-sidebar nav a {
  color:var(--f4w-ink)!important;
  border-radius:9px!important;
  text-underline-offset:.16em;
}
html:is(#fast4-interface,:root):is(.f4-clean-ui,:root) body.portal-app-body :is(.portal-sidebar__link,.f4-admin-shortcut):is([aria-current="page"],.is-active),
html:is(#fast4-interface,:root):is(.f4-clean-ui,:root) body.f4-ui-console .c-sidebar nav a:is([aria-current="page"],.is-active) {
  color:var(--f4w-action)!important;background:var(--f4w-tint)!important;
}
html:is(#fast4-interface,:root):is(.f4-clean-ui,:root) body.portal-app-body :is(.portal-sidebar__svg,.f4-admin-shortcut svg,.f4-admin-search svg) {
  width:18px!important;height:18px!important;flex:0 0 18px!important;
}
html:is(#fast4-interface,:root):is(.f4-clean-ui,:root) body:is(.portal-app-body,.f4-ui-console) :is(.workspace__content,.c-main) {min-width:0}
html:is(#fast4-interface,:root):is(.f4-clean-ui,:root) body.portal-app-body :is(.portal-page-title,.portal-admin-r2-hero__title),
html:is(#fast4-interface,:root):is(.f4-clean-ui,:root) body.f4-ui-console :is(.c-page-heading,.c-server-heading-copy) h1 {
  color:var(--f4w-ink)!important;
  font-weight:620!important;
  font-size:clamp(2.05rem,3.65vw,4rem)!important;
  letter-spacing:-.055em!important;
  line-height:1.06!important;
  overflow-wrap:break-word;
  text-wrap:balance;
}
html:is(#fast4-interface,:root):is(.f4-clean-ui,:root) body.portal-app-body :is(.f4-home-command,.portal-admin-r2-hero),
html:is(#fast4-interface,:root):is(.f4-clean-ui,:root) body.f4-ui-console .c-server-heading {
  padding:clamp(20px,2.7vw,43px)!important;
  border:1px solid var(--f4w-line)!important;
  border-radius:20px!important;
  background:radial-gradient(ellipse at 100% 0%,var(--f4w-tint),transparent 58%),var(--f4w-paper)!important;
  color:var(--f4w-ink)!important;
}
html:is(#fast4-interface,:root):is(.f4-clean-ui,:root) body.portal-app-body :is(.f4-dashboard-v12-panel,.portal-admin-r2-workstream,.portal-table-card,.portal-billing-card,.portal-ticket-queue-card),
html:is(#fast4-interface,:root):is(.f4-clean-ui,:root) body.f4-ui-console :is(.c-panel,.c-server-list,.c-current-panel,.c-server-spec-panel,.c-summary-strip) {
  border-color:var(--f4w-line)!important;border-radius:15px!important;
  background-color:var(--f4w-paper)!important;color:var(--f4w-ink);
}
html:is(#fast4-interface,:root):is(.f4-clean-ui,:root) body.portal-app-body :is(.portal-section-title,.portal-table-card__title,.portal-ticket-queue-card h2,.f4-dashboard-v12-section-head h2),
html:is(#fast4-interface,:root):is(.f4-clean-ui,:root) body.f4-ui-console :is(.c-panel-heading h2,.c-section-toolbar h2) {
  color:var(--f4w-ink)!important;line-height:1.18;letter-spacing:-.032em;
}
html:is(#fast4-interface,:root):is(.f4-clean-ui,:root) body.portal-app-body :is(.portal-page-summary,.portal-section-subtitle,.portal-table-card__meta),
html:is(#fast4-interface,:root):is(.f4-clean-ui,:root) body.f4-ui-console :is(.c-muted,.c-small-note,.c-list-ip-label) {
  color:var(--f4w-muted)!important;
}
html:is(#fast4-interface,:root):is(.f4-clean-ui,:root) body.portal-app-body .portal-table th,
html:is(#fast4-interface,:root):is(.f4-clean-ui,:root) body.f4-ui-console .c-server-table th {
  background:var(--f4w-soft)!important;color:var(--f4w-muted)!important;
  border-color:var(--f4w-line)!important;font-weight:610!important;
}
html:is(#fast4-interface,:root):is(.f4-clean-ui,:root) body.portal-app-body .portal-table td,
html:is(#fast4-interface,:root):is(.f4-clean-ui,:root) body.f4-ui-console .c-server-table td {border-color:var(--f4w-line)!important}
html:is(#fast4-interface,:root):is(.f4-clean-ui,:root) body:is(.portal-app-body,.portal-auth-body,.f4-ui-console) :is(.portal-input,.portal-select,.portal-textarea,.c-window-select) {
  border:1px solid var(--f4w-line)!important;border-radius:9px!important;
  background:var(--f4w-paper)!important;color:var(--f4w-ink)!important;box-shadow:none!important;
}
html:is(#fast4-interface,:root):is(.f4-clean-ui,:root) body:is(.portal-app-body,.portal-auth-body,.f4-ui-console) :is(.portal-button-primary,.c-button-primary):not(:disabled):not([aria-disabled="true"]) {
  background:var(--f4w-action)!important;color:var(--f4w-on-action)!important;
  border-radius:10px!important;border-color:transparent!important;
}
html:is(#fast4-interface,:root):is(.f4-clean-ui,:root) body:is(.portal-app-body,.portal-auth-body,.f4-ui-console) :is(a,button,input,select,summary,textarea):focus-visible {
  outline:3px solid var(--f4w-action)!important;outline-offset:2px!important;
}
/* Keep SSO, registration, verification and recovery on the guest layout.
   The document order leaves the existing skip link and focus order intact. */
html:is(#fast4-interface,:root):is(.f4-clean-ui,:root) body.portal-auth-body .portal-auth-container {
  width:min(100% - 28px,1240px)!important;margin-inline:auto!important;
}
html:is(#fast4-interface,:root):is(.f4-clean-ui,:root) body.portal-auth-body .portal-auth-grid {
  gap:clamp(14px,2.6vw,42px)!important;
  align-items:start!important;background:transparent!important;
  border:0!important;box-shadow:none!important;
}
html:is(#fast4-interface,:root):is(.f4-clean-ui,:root) body.portal-auth-body :is(.portal-auth-panel,.portal-auth-spotlight) {
  min-width:0!important;border:1px solid var(--f4w-line)!important;border-radius:20px!important;
  background:var(--f4w-paper)!important;color:var(--f4w-ink)!important;
  animation:none!important;transform:none!important;opacity:1!important;
}
html:is(#fast4-interface,:root):is(.f4-clean-ui,:root) body.portal-auth-body .portal-auth-spotlight {
  background:radial-gradient(ellipse at 100% 0%,var(--f4w-tint),transparent 65%),var(--f4w-paper)!important;
}
html:is(#fast4-interface,:root):is(.f4-clean-ui,:root) body.portal-auth-body :is(.portal-auth-spotlight__title,.portal-auth-form-head__title) {
  color:var(--f4w-ink)!important;letter-spacing:-.05em!important;line-height:1.08!important;text-wrap:balance;
}
html:is(#fast4-interface,:root):is(.f4-clean-ui,:root) body.portal-auth-body :is(.portal-auth-spotlight__text,.portal-auth-form-head__text,.portal-auth-feature span) {color:var(--f4w-muted)!important}
html:is(#fast4-interface,:root):is(.f4-clean-ui,:root) body.portal-auth-body .portal-auth-feature {border-color:var(--f4w-line)!important;color:var(--f4w-ink)!important}
@media (min-width:880px) {
  html:is(#fast4-interface,:root):is(.f4-clean-ui,:root) body.portal-auth-body .portal-auth-grid {grid-template-columns:minmax(0,1fr) minmax(0,1.05fr)!important}
}
@media (max-width:879px) {
  html:is(#fast4-interface,:root):is(.f4-clean-ui,:root) body.portal-auth-body .portal-auth-grid {grid-template-columns:minmax(0,1fr)!important}
  html:is(#fast4-interface,:root):is(.f4-clean-ui,:root) body.portal-auth-body .portal-auth-panel {order:-1}
}
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  html:is(#fast4-interface,:root):is(.f4-clean-ui,:root) body:is(.portal-app-body,.f4-ui-console) :is(.portal-sidebar__link,.f4-admin-shortcut,.c-sidebar nav a) {transition:background-color .16s ease,color .16s ease}
  html:is(#fast4-interface,:root):is(.f4-clean-ui,:root) body:is(.portal-app-body,.f4-ui-console) :is(.portal-sidebar__link,.f4-admin-shortcut,.c-sidebar nav a):hover {background-color:var(--f4w-soft)!important}
}
@media (prefers-reduced-transparency:reduce) {
  html:is(#fast4-interface,:root):is(.f4-clean-ui,:root) body:is(.portal-app-body,.f4-ui-console) :is(.portal-topbar,.c-header) {background:var(--f4w-paper)!important;backdrop-filter:none}
}

/* Native Cloud, commerce and Discord surfaces share the portal's appearance setting. */
html:is(#fast4-interface,:root) body:is(.shop-body,.f4-ui-cloud) {
  --f4w-canvas:#f5f6f7; --f4w-paper:#fff; --f4w-ink:#151820; --f4w-muted:#545963;
  --f4w-line:#d7dade; --f4w-action:#ad4107; --f4w-on-action:#fff;
  --f4w-tint:color-mix(in srgb,var(--f4w-action) 7%,var(--f4w-paper));
  font-variant-numeric:tabular-nums;
}
html:is(#fast4-interface,:root):is([data-fast4-theme=dark],:not([data-fast4-theme]):is([data-theme=dark],[data-portal-theme=dark])) body:is(.shop-body,.f4-ui-cloud) {
  --f4w-canvas:#131518; --f4w-paper:#1d2024; --f4w-ink:#f4f4f5; --f4w-muted:#b7bbc2;
  --f4w-line:#43474d; --f4w-action:#ff964d; --f4w-on-action:#20140a;
}
html:is(#fast4-interface,:root) body:is(.shop-body,.f4-ui-cloud) { background-color:var(--f4w-canvas)!important; color:var(--f4w-ink); }
html:is(#fast4-interface,:root) body.shop-body :is(.shop-cart__summary-box,.shop-cart__item,.shop-empty-state),
html:is(#fast4-interface,:root) body.f4-ui-cloud :is(.config-section,.configuration-summary) {
  border-radius:clamp(14px,2vw,23px)!important;
  background-color:var(--f4w-paper)!important; border-color:var(--f4w-line)!important;
}
html:is(#fast4-interface,:root) body:is(.shop-body,.f4-ui-cloud) main :is(h1,h2) { letter-spacing:-.04em; text-wrap:balance; }
html:is(#fast4-interface,:root) body:is(.shop-body,.f4-ui-cloud) :is(button,a,input,select,summary,textarea):focus-visible {
  outline:3px solid var(--f4w-action)!important; outline-offset:2px;
}
html:is(#fast4-interface,:root) .portal-app-body .f4bot :is(.f4bot-editor,.f4bot-modules,.f4bot-preview,.f4bot-connect,.f4bot-serverbar,.f4bot-start,.f4bot-sales-price) {
  border-radius:clamp(14px,1.7vw,23px); border-color:var(--f4w-line);
}
html:is(#fast4-interface,:root) .portal-app-body .f4bot :is(.f4bot-module-library,.f4bot-sales-hero,.f4bot-head) :is(h1,h2) {
  letter-spacing:-.047em; text-wrap:balance;
}
html:is(#fast4-interface,:root) .portal-app-body .f4bot :is(.f4bot-editor-head,.f4bot-savebar) { border-color:var(--f4w-line); }
html:is(#fast4-interface,:root) .portal-app-body :is(.discord-control__header,.discord-control__module,.discord-control__settings,.f4-rooms__card) {
  border-color:var(--f4w-line); border-radius:16px;
}
.f4bot .f4bot-filter-tools {
  display:flex; align-items:end; justify-content:space-between; flex-wrap:wrap; gap:10px 20px;
  margin:12px 0 20px; padding:15px 0; border-block:1px solid var(--f4w-line);
}
.f4bot .f4bot-filter-tools label { display:grid; gap:5px; min-width:min(100%,250px); font-weight:600; color:var(--f4w-ink); }
.f4bot .f4bot-filter-tools input { box-sizing:border-box; width:100%; min-height:44px; padding:9px 13px; background:var(--f4w-paper); border:1px solid var(--f4w-line); border-radius:10px; font:inherit; color:var(--f4w-ink); }
.f4bot .f4bot-filter-tools output { font-size:.875rem; color:var(--f4w-muted); }
.f4bot [data-module-filter][hidden],.f4bot [data-module-card][hidden] { display:none!important; }
@media(hover:hover) and (prefers-reduced-motion:no-preference) {
  html:is(#fast4-interface,:root) :is(.f4bot-module-library article,.f4bot-module-link,.configuration-form .config-section) {
    transition:border-color .17s ease, box-shadow .2s ease;
  }
  html:is(#fast4-interface,:root) :is(.f4bot-module-library article:hover,.f4bot-module-link:focus-visible,.configuration-form .config-section:focus-within) {
    border-color:color-mix(in srgb,var(--f4w-action) 49%,var(--f4w-line))!important;
    box-shadow:0 5px 22px -17px color-mix(in srgb,var(--f4w-action) 38%,transparent);
  }
  html:is(#fast4-interface,:root) .f4bot-module-library article .f4bot-module-symbol { transition:transform .2s cubic-bezier(.2,.8,.3,1); }
  html:is(#fast4-interface,:root) .f4bot-module-library article:hover .f4bot-module-symbol { transform:translateY(-2px); }
}

/* Native plans keep the price, contract terms and selection in one reading order. */
html:root body.f4-commerce-catalog .shop-product-grid.f4-plan-ledger {
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:20px!important;background:transparent!important;
}
html:root body.f4-commerce-catalog .f4-plan-ledger .shop-product-card.f4-plan-row {
  display:grid!important;grid-template-columns:minmax(170px,.72fr) minmax(0,1.5fr)!important;
  grid-template-areas:"identity specs" "buy buy" "details details"!important;
  align-items:start!important;gap:20px 28px!important;padding:clamp(20px,2.4vw,33px)!important;
  border:1px solid var(--f4w-line)!important;border-radius:18px!important;background:var(--f4w-paper)!important;
}
html:root body.f4-commerce-catalog .f4-plan-row > .f4-plan-row__identity {grid-area:identity!important;align-self:start!important;min-width:0;}
html:root body.f4-commerce-catalog .f4-plan-row > .f4-plan-row__content {grid-area:specs!important;align-self:start!important;min-width:0;}
html:root body.f4-commerce-catalog .f4-plan-row .shop-product-card-specs {display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;}
html:root body.f4-commerce-catalog .f4-plan-row .shop-product-card-specs > div {min-width:0!important;}
html:root body.f4-commerce-catalog .f4-plan-row .shop-product-card-specs :is(strong,small,span) {word-break:normal!important;overflow-wrap:break-word!important;hyphens:manual;}
html:root body.f4-commerce-catalog .f4-plan-row > .f4-plan-row__decision {
  grid-area:buy!important;display:grid!important;width:100%!important;min-width:0!important;
  grid-template-columns:minmax(155px,.72fr) minmax(260px,1.65fr) minmax(150px,.65fr)!important;
  grid-template-areas:"price terms cta" "billing terms cta"!important;
  align-items:start!important;gap:13px 24px!important;padding-block-start:20px!important;border-top:1px solid var(--f4w-line)!important;
}
html:root body.f4-commerce-catalog .f4-plan-row__decision > .shop-product-card__pricing {grid-area:price!important;display:flex!important;flex-wrap:wrap;align-items:baseline;justify-content:flex-start!important;column-gap:5px!important;width:100%!important;min-width:0!important;margin:0!important;text-align:left!important;}
html:root body.f4-commerce-catalog .f4-plan-row__decision > .shop-product-card__pricing strong {white-space:nowrap;font-variant-numeric:tabular-nums;}
html:root body.f4-commerce-catalog .f4-plan-row__decision > .shop-product-card__pricing :is(.shop-product-card__pricing-note,.shop-product-card__pricing-term) {width:100%;text-align:left!important;}
html:root body.f4-commerce-catalog .f4-plan-row__decision > .shop-product-card__billing {grid-area:billing!important;min-width:0!important;margin:0!important;padding:0!important;background:transparent!important;}
html:root body.f4-commerce-catalog .f4-plan-row__decision > .f4-readiness {grid-area:terms!important;min-width:0!important;margin:0!important;padding:14px 16px!important;}
html:root body.f4-commerce-catalog .f4-plan-row__decision .f4-readiness__facts:not(.f4-readiness__facts--expanded) {display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;}
html:root body.f4-commerce-catalog .f4-plan-row__decision .f4-readiness__facts > div {min-width:0!important;}
html:root body.f4-commerce-catalog .f4-plan-row__decision > .shop-product-card__actions {grid-area:cta!important;align-self:start!important;margin:0!important;width:100%!important;}
html:root body.f4-commerce-catalog .f4-plan-row__decision > .shop-product-card__actions a {display:flex!important;min-height:44px!important;align-items:center;justify-content:center;width:100%!important;max-width:none!important;}
html:root body.f4-commerce-catalog .f4-plan-row > .f4-plan-disclosure {grid-area:details!important;width:100%!important;min-width:0!important;align-self:start!important;}
html:root body.f4-commerce-catalog .f4-plan-row > .f4-plan-disclosure summary {min-height:36px;align-content:center;}
@media(max-width:1020px){
  html:root body.f4-commerce-catalog .f4-plan-row > .f4-plan-row__decision {grid-template-columns:minmax(0,1fr) minmax(170px,.45fr)!important;grid-template-areas:"price cta" "billing billing" "terms terms"!important;}
  html:root body.f4-ui-cloud .configuration-layout {grid-template-columns:minmax(0,1fr)!important;}
  html:root body.f4-ui-cloud .configuration-summary {position:static!important;display:block!important;max-height:none!important;overflow:visible!important;}
  html:root body.f4-ui-cloud .configuration-summary :is(.summary-overview,.summary-details,.summary-checkout) {position:static!important;max-height:none!important;overflow:visible!important;}
}
@media(min-width:761px) and (max-width:1020px){
  html:root body.f4-ui-cloud {padding-bottom:100px!important;}
  html:root body.f4-ui-cloud #mobile-price-bar:not([hidden]) {position:fixed;bottom:0;left:0;right:0;z-index:25;display:flex!important;justify-content:space-between;align-items:center;gap:20px;padding:12px max(24px,calc((100vw - 980px)/2));background:var(--f4w-paper);color:var(--f4w-ink);border-top:1px solid var(--f4w-line);}
  html:root body.f4-ui-cloud #mobile-price-bar button {width:auto;min-width:155px;min-height:44px;}
}
@media(max-width:600px){
  html:root body.f4-commerce-catalog .f4-plan-ledger .shop-product-card.f4-plan-row {grid-template-columns:minmax(0,1fr)!important;grid-template-areas:"identity" "specs" "buy" "details"!important;gap:16px!important;padding:18px!important;}
  html:root body.f4-commerce-catalog .f4-plan-row .shop-product-card-specs {grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  html:root body.f4-commerce-catalog .f4-plan-row__decision > .f4-readiness {padding:13px!important;}
  html:root body.f4-commerce-catalog .f4-plan-row > .f4-plan-row__decision {grid-template-columns:minmax(0,1fr)!important;grid-template-areas:"price" "cta" "billing" "terms"!important;gap:14px!important;}
  html:root body.f4-commerce-catalog .f4-plan-row__decision .f4-readiness__facts:not(.f4-readiness__facts--expanded) {grid-template-columns:minmax(0,1fr)!important;gap:6px!important;}
}
/* Space for the workspace, including the authenticated customer dashboard. */
html:root .portal-app-body [data-bot-app].f4bot {width:min(100%,1480px)!important;margin-inline:auto!important;box-sizing:border-box;padding-inline:clamp(16px,3vw,44px)!important;}
html:root .portal-app-body .f4bot-active-modules {margin:0 0 16px;border-block:1px solid var(--f4w-line);color:var(--f4w-ink);}
.f4bot-active-modules[hidden] {display:none!important;}
.f4bot-active-modules summary {cursor:pointer;width:fit-content;min-height:44px;align-content:center;font-weight:620;}
.f4bot-active-modules summary span {font-variant-numeric:tabular-nums;color:var(--f4w-muted);}
.f4bot-active-modules [data-active-links] {display:flex;gap:8px;flex-wrap:wrap;align-items:center;padding-bottom:12px;}
.f4bot-active-modules [data-active-links] button {min-height:44px;border-radius:9px;padding:7px 12px;color:var(--f4w-ink);background:var(--f4w-paper);border:1px solid var(--f4w-line);font:inherit;cursor:pointer;}
.f4bot-active-modules [data-active-links] button:is(:hover,:focus-visible) {border-color:var(--f4w-action);color:var(--f4w-action);}
.f4bot-active-modules [data-active-links] p {margin:0;color:var(--f4w-muted);}
html:root .portal-app-body .f4bot .f4bot-savebar button {min-height:44px;}
/* Native administration and Console actions retain their focus and touch area. */
html:root body.portal-app-body :is(.f4-admin-shortcut,.portal-table .portal-table-action,.portal-billing-card .portal-table-action),
html:root body.f4-ui-console :is(.c-header button,.c-server-list a.c-button,.c-index-actions a) {min-height:40px;align-content:center;}
html:root body.f4-ui-console :is(.c-server-table th,.c-server-table td),html:root .portal-app-body .portal-table :is(th,td) {vertical-align:middle;}
html:root :is(.f4-ui-console .c-panel,.portal-app-body .portal-table-card):focus-within {border-color:color-mix(in srgb,var(--f4w-action) 55%,var(--f4w-line));}
html:root body.f4-commerce-catalog .f4-plan-row__decision > .shop-product-card__pricing {max-width:none!important;justify-self:stretch!important;}
html:root body.f4-commerce-catalog .f4-plan-row__decision > .shop-product-card__actions a:only-child {grid-column:1 / -1!important;}
html:root body.f4-commerce-catalog .f4-plan-row__badge {letter-spacing:.045em;white-space:nowrap;}
@media(min-width:761px) and (max-width:1020px){
  html:root body.f4-ui-cloud #mobile-price-bar > div {display:grid;gap:1px;}
  html:root body.f4-ui-cloud #mobile-price-bar > div > strong {font-variant-numeric:tabular-nums;}
}
html:root .portal-app-body .f4-dashboard-v12-panel__head {display:flex!important;align-items:center!important;justify-content:space-between;gap:12px;}
html:root .portal-app-body .f4-dashboard-v12-panel__head > a {min-height:44px!important;display:inline-flex!important;align-items:center!important;flex-shrink:0;}
html:root .portal-app-body .portal-invoice-ledger__table :is(th,td) {vertical-align:middle;}
html:root .portal-app-body .portal-invoice-ledger__table :is(td,th):nth-last-child(2) {font-variant-numeric:tabular-nums;}
html:root .portal-app-body .f4-admin-shortcut:focus-visible,
html:root .portal-app-body .f4-dashboard-v12-panel__head a:focus-visible {outline:2px solid var(--f4w-action);outline-offset:2px;}
html:root .f4-ui-console .c-server-list .c-tabs {display:flex;align-items:stretch;flex-wrap:wrap;gap:4px;}
html:root .f4-ui-console .c-server-list .c-tabs button {min-height:44px!important;align-content:center;}
html:root .f4-ui-console .c-server-list .c-tabs button span,
html:root .f4-ui-console .c-summary-strip strong {font-variant-numeric:tabular-nums;}
@media(max-width:600px){
  html:root .f4-ui-console .c-server-list .c-tabs {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;}
  html:root .f4-ui-console .c-server-list .c-tabs button {display:grid;justify-items:center;align-content:center;gap:2px;padding-inline:3px;white-space:normal;}
}

/* Editing and billing actions share one touch target across the workspaces. */
html:root body.f4-ui-console :is(.c-page-heading, .c-empty) .c-button-primary {
  min-height: 44px !important;
  padding-inline: clamp(14px, 1.3vw, 20px);
}

html:root body.f4-ui-console .c-server-list .c-tabs {
  align-items: stretch;
}
html:root body.f4-ui-console .c-server-list .c-tabs button {
  min-height: 46px;
  font-variant-numeric: tabular-nums;
}
html:root body.f4-ui-console .c-summary-strip strong {
  font-variant-numeric: tabular-nums;
}

html:root body.portal-app-body .portal-dashboard-credit-strip__actions {
  display: grid !important;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 8px !important;
}
html:root body.portal-app-body .portal-dashboard-credit-strip__actions > a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  width: 100% !important;
  text-align: center;
}

@media (max-width: 660px) {
  html:root body.f4-ui-console .c-server-list .c-section-toolbar {
    padding: 6px !important;
  }
  html:root body.f4-ui-console .c-server-list .c-tabs {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3px;
    width: 100%;
  }
  html:root body.f4-ui-console .c-server-list .c-tabs button {
    display: flex !important;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    gap: 4px;
    min-width: 0;
    min-height: 48px !important;
    height: auto !important;
    padding: 5px 4px !important;
    line-height: 1.25 !important;
    border-radius: 8px;
    overflow-wrap: anywhere;
  }
  html:root body.f4-ui-console .c-server-list .c-tabs button[aria-selected="true"] {
    background: var(--f4w-tint) !important;
    color: var(--f4w-ink) !important;
  }
  html:root body.portal-app-body .workspace-header .portal-page-actions:has(> .portal-chip) {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 8px !important;
  }
  html:root body.portal-app-body .workspace-header .portal-page-actions:has(> .portal-chip) > .portal-chip {
    grid-column: 1 / -1;
    justify-self: start;
  }
  html:root body.portal-app-body .workspace-header .portal-page-actions:has(> .portal-chip) > a {
    width: 100%;
    justify-content: center;
    min-height: 44px;
    text-align: center;
  }
  html:root body.portal-app-body .portal-dashboard-credit-strip__actions {
    grid-auto-flow: row;
    width: 100% !important;
  }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  html:root body.f4-ui-console .c-server-list .c-tabs button,
  html:root body.portal-app-body .portal-dashboard-credit-strip__actions > a {
    transition: background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
  }
  html:root body.f4-ui-console .c-server-list .c-tabs button:not([aria-selected="true"]):hover,
  html:root body.portal-app-body .portal-dashboard-credit-strip__actions > .portal-button-secondary:hover {
    background-color: var(--f4w-soft) !important;
    box-shadow: inset 0 0 0 1px var(--f4w-line);
  }
}
@media (prefers-reduced-motion: reduce) {
  html:root body.f4-ui-console .c-server-list .c-tabs button,
  html:root body.portal-app-body .portal-dashboard-credit-strip__actions > a {
    transition: none !important;
  }
}

/* Graphite shell. Reuse the shared portal tokens for the older workspace and
   authentication surfaces whose compiled fallbacks still use a slate palette. */
html:is(#fast4-interface,:root):is([data-fast4-theme="dark"],:not([data-fast4-theme]):is([data-console-theme="dark"],[data-portal-theme="dark"],[data-theme="dark"]))
body:is(.portal-app-body,.portal-auth-body,.shop-body,.f4-ui-cloud,.f4-ui-console) {
  --portal-bg:var(--f4-canvas);
  --portal-bg-deep:var(--f4-canvas);
  --portal-surface:var(--f4-surface);
  --portal-panel:var(--f4-surface);
  --portal-surface-soft:var(--f4-surface-alt);
  --portal-panel-soft:var(--f4-surface-alt);
  --portal-surface-glass:color-mix(in srgb,var(--f4-surface) 96%,transparent);
  --portal-border:var(--f4-line);
  --portal-line:var(--f4-line);
  --portal-line-strong:var(--f4-line);
  --portal-text:var(--f4-ink);
  --portal-heading:var(--f4-ink);
  --portal-muted:var(--f4-muted);
  --portal-accent:var(--f4-accent);
}
html:is(#fast4-interface,:root)[data-fast4-theme="dark"]
body:is(.portal-auth-body,.portal-app-body,.shop-body) :is(.f4-platform-bar,.portal-auth-topbar) {
  background:var(--f4-surface)!important;
  border-color:var(--f4-line)!important;
}
html:is(#fast4-interface,:root)[data-fast4-theme="dark"] body.portal-auth-body .portal-auth-topbar {
  border-bottom:1px solid var(--f4-line);
}
html:is(#fast4-interface,:root)[data-fast4-theme="dark"]
body:is(.portal-auth-body,.portal-app-body) .portal-language-switcher {
  background:var(--f4-canvas)!important;
  border-color:var(--f4-line)!important;
  color:var(--f4-ink)!important;
}
html:is(#fast4-interface,:root)[data-fast4-theme="dark"]
body.portal-auth-body :is(.portal-auth-back,.portal-auth-preferences button) {
  background:var(--f4-surface-alt)!important;
  border-color:var(--f4-line)!important;
}
html:is(#fast4-interface,:root)[data-fast4-theme="dark"]
body.portal-app-body .portal-sidebar__content {
  scrollbar-color:var(--f4-line) transparent;
}
html:is(#fast4-interface,:root)[data-fast4-theme="dark"]
body.portal-app-body :is(.portal-sidebar__link,.f4-admin-shortcut):is([aria-current="page"],.is-active) {
  box-shadow:inset 2px 0 var(--f4-accent)!important;
}
@media (min-width:880px) {
  html:is(#fast4-interface,:root) body.portal-auth-body
  .portal-auth-grid:not(.portal-auth-grid--register):not(.portal-auth-grid--two-factor)
  :is(.portal-auth-panel,.portal-auth-spotlight) {
    padding:clamp(28px,3.35vw,51px)!important;
  }
  html:is(#fast4-interface,:root) body.portal-auth-body .portal-auth-spotlight__title {
    max-width:18ch;
    font-size:clamp(2.4rem,4vw,3.6rem)!important;
  }
  html:is(#fast4-interface,:root) body.portal-auth-body .portal-auth-feature-list {
    margin-top:clamp(26px,3.5vw,54px)!important;
  }
}

/* Align checkout step numbers and give the empty cart one readable surface. */
html#fast4-interface.f4-clean-ui body.shop-body .shop-checkout-progress__step > span {
  display:inline-grid;
  place-items:center;
  flex-shrink:0;
  line-height:1;
}
html#fast4-interface.f4-clean-ui body.shop-body .shop-cart__items:has(> .shop-empty-state:only-child) {
  border:0!important;
  background:transparent!important;
}
html#fast4-interface.f4-clean-ui body.shop-body .shop-cart__items > .shop-empty-state:only-child {
  padding:clamp(18px,3vw,32px)!important;
  border-radius:12px!important;
}

/* Match the portal and administration navigation to the same workspace palette. */
html#fast4-interface.f4-clean-ui[data-fast4-theme="dark"] body.portal-app-body #portal-navigation.portal-sidebar {
  --f4-nav-bg:var(--f4-surface);
  --f4-nav-ink:var(--f4-ink);
  --f4-nav-muted:var(--f4-muted);
  --f4-nav-line:var(--f4-line);
  --f4-nav-hover:var(--f4-surface-alt);
}
html#fast4-interface.f4-clean-ui[data-fast4-theme="dark"] body.portal-app-body.f4-ui-admin
:is(.workspace-header:has(.portal-admin-r2-header),.portal-admin-r2-header) {
  background:transparent!important;
}
html#fast4-interface.f4-clean-ui body.portal-app-body #portal-navigation[data-admin-navigation-user] .f4-admin-shortcut {
  gap:5px;
  padding-inline:6px!important;
}
html#fast4-interface.f4-clean-ui body.portal-app-body #portal-navigation[data-admin-navigation-user] .f4-admin-shortcut span {
  white-space:normal;
  overflow-wrap:anywhere;
}
