/* 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"] {
  --f4-canvas:#10171f; --f4-surface:#18222e; --f4-surface-alt:#202d3c;
  --f4-ink:#edf3fa; --f4-muted:#aebed0; --f4-line:#344458;
  --f4-accent:#ff9859; --f4-accent-ink:#251509;
  --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 10px 32px #050a100f; 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}}
