/* SolarGes workspace surfaces. UI only; customer offers, images and print/PDF styles are separate. */
:root {
  --ux-text:#e6eef3; --ux-muted:#a9bdc9; --ux-subtle:#8ca6b5;
  --ux-surface:#12232e; --ux-surface-2:#192f3b; --ux-field:#0c1923;
  --ux-line:#304957; --ux-control-line:#577688; --ux-mint:#79e0c4;
  --ux-accent-soft:#153c36; --ux-accent-line:#3b8d7b;
  --ux-amber:#f4c78b; --ux-amber-soft:#302b21; --ux-amber-line:#765d37;
  --ux-danger:#ffb1b1; --ux-danger-soft:#33232e; --ux-danger-line:#86525e;
}
.workspace-main {padding-block:30px 56px;}
.financial-control,.cash-host,.company-analytics-host,.dealer-host,.grant-host,.setup-host,.support-host {
  color:var(--ux-text); color-scheme:dark;
  --fc-ink:var(--ux-text); --fc-line:var(--ux-line);
  --cash-ink:var(--ux-text); --cash-muted:var(--ux-muted); --cash-line:var(--ux-line);
  --ca-ink:var(--ux-text); --ca-muted:var(--ux-muted); --ca-line:var(--ux-line); --ca-soft:var(--ux-surface-2);
  --dealer-ink:var(--ux-text); --dealer-muted:var(--ux-muted); --dealer-line:var(--ux-line); --dealer-accent:var(--ux-mint);
  --grant-muted:var(--ux-muted); --grant-line:var(--ux-line);
  --setup-ink:var(--ux-text); --setup-muted:var(--ux-muted); --setup-line:var(--ux-line); --setup-accent:var(--ux-mint);
  --support-ink:var(--ux-text); --support-muted:var(--ux-muted); --support-line:var(--ux-line); --support-accent:var(--ux-mint);
}

/* financial-control: consistent surfaces and foregrounds. */
.fc-header {
  color:var(--ux-text);
}
.fc-header p {
  color:var(--ux-text);
}
.fc-eyebrow {
  color:var(--ux-mint);
}
.fc-card .fc-eyebrow {
  color:var(--ux-mint);
}
.fc-header .fc-button {
  color:var(--ux-text);
  border-color:var(--ux-line);
  background:var(--ux-surface);
}
.fc-button {
  border:1px solid var(--ux-line);
  background:var(--ux-surface);
  color:var(--ux-text);
}
.fc-button:hover {
  background:var(--ux-surface-2);
}
.fc-primary {
  color:var(--ux-text);
  border-color:var(--ux-line);
}
.financial-control :focus-visible {
  outline:3px solid var(--ux-line);
}
.fc-card {
  background:var(--ux-surface);
}
.fc-card p {
  color:var(--ux-muted);
}
.financial-control label {
  color:var(--ux-muted);
}
.financial-control input,.financial-control select,.financial-control textarea {
  background:var(--ux-field);
  border:1px solid var(--ux-line);
  color:var(--ux-muted);
}
.financial-control .fc-filters label {
  color:var(--ux-muted);
}
.fc-metrics article {
  background:var(--ux-surface);
}
.fc-metrics span {
  color:var(--ux-muted);
}
.fc-metrics small {
  color:var(--ux-muted);
}
.fc-metrics .fc-attention {
  background:var(--ux-amber-soft);
  border-color:var(--ux-amber-line);
}
.fc-metrics .fc-complete {
  background:var(--ux-accent-soft);
}
.fc-notice {
  background:var(--ux-surface);
  border:1px solid var(--ux-line);
}
.fc-error {
  background:var(--ux-danger-soft);
  color:var(--ux-danger);
  border-color:var(--ux-danger-line);
}
.fc-warning {
  background:var(--ux-amber-soft);
  border-color:var(--ux-amber-line);
}
.fc-scroll th {
  background:var(--ux-surface-2);
  color:var(--ux-muted);
}
.fc-scroll td {
  border-top:1px solid var(--ux-line);
}
.fc-scroll td small {
  color:var(--ux-muted);
}
.fc-tag {
  background:var(--ux-surface-2);
  color:var(--ux-muted);
}
.fc-ok {
  background:var(--ux-accent-soft);
  color:var(--ux-mint);
}
.fc-preview {
  border-left:3px solid var(--ux-line);
  background:var(--ux-surface);
}
.fc-empty {
  color:var(--ux-muted);
}
.fc-periods small {
  color:var(--ux-muted);
}
@media(max-width:760px) {
.fc-card .fc-eyebrow {
  color:var(--ux-mint);
}
.fc-scroll::before {
  color:var(--ux-muted);
  background:var(--ux-surface);
}
}
.fc-recovery {
  color:var(--ux-text);
}
.financial-control .fc-recovery label {
  color:var(--ux-text);
}

/* dealer-network: consistent surfaces and foregrounds. */
.dealer-network .dn-picker label {
  color:var(--ux-muted);
}
.dn-tabs {
  border-bottom:1px solid var(--ux-line);
}
.dn-tabs [aria-pressed=true] {
  background:var(--ux-accent-soft);
  color:var(--ux-mint);
  border-color:var(--ux-accent-line);
}
.dn-tree {
  border-left:2px solid var(--ux-line);
}
.dn-member {
  border:1px solid var(--ux-line);
  background:var(--ux-surface);
}
.dn-member:before {
  background:var(--ux-surface);
}
.dn-level {
  color:var(--ux-muted);
  background:var(--ux-surface-2);
}
.dn-member details {
  border-top:1px solid var(--ux-line);
}
.dn-relays article {
  border-top:1px solid var(--ux-line);
}
.dn-relays small {
  color:var(--ux-muted);
}
.dn-loading {
  color:var(--ux-muted);
}
.dealer-network .fc-card .fc-grid label {
  color:var(--ux-muted);
}

/* finance-workspace: consistent surfaces and foregrounds. */
.cash-heading h1 span {
  color:var(--ux-text);
}
.cash-heading .eyebrow {
  color:var(--ux-mint);
}
.cash-mode {
  background:var(--ux-surface-2);
}
.cash-boundary {
  border:1px solid var(--ux-line);
  border-left:4px solid var(--ux-line);
  background:var(--ux-surface);
}
.cash-boundary p {
  color:var(--ux-muted);
}
.cash-message {
  color:var(--ux-muted);
}
.cash-tabs [aria-selected=true] {
  color:var(--ux-muted);
  border-color:var(--ux-line);
}
.cash-filters {
  background:var(--ux-surface);
}
.cash-filters input,.cash-filters select {
  border:1px solid var(--ux-line);
  background:var(--ux-field);
}
.cash-button {
  border:1px solid var(--ux-line);
  background:var(--ux-surface);
  color:var(--ux-text);
}
.cash-primary {
  color:var(--ux-text);
  border-color:var(--ux-line);
}
.cash-host :focus-visible {
  outline:3px solid var(--ux-line);
}
.cash-kicker {
  color:var(--ux-mint)!important;
}
.cash-currencies {
  background:var(--ux-surface-2);
  border:1px solid var(--ux-line);
}
.cash-currencies button {
  color:var(--ux-text);
}
.cash-currencies [aria-pressed=true] {
  background:var(--ux-accent-soft);
  color:var(--ux-mint);
}
.cash-metric {
  background:var(--ux-surface);
}
.cash-net {
  border-color:var(--ux-line);
  color:var(--ux-text);
}
.cash-net span {
  color:var(--ux-text);
}
.cash-card {
  background:var(--ux-surface);
}
.cash-values>div {
  border-bottom:1px solid var(--ux-line);
}
.cash-empty {
  background:var(--ux-surface);
  border:1px dashed var(--ux-line);
}
.cash-table-scroll {
  background:var(--ux-surface);
}
.cash-table th,.cash-table td {
  border-bottom:1px solid var(--ux-line);
}
.cash-table thead {
  background:var(--ux-surface-2);
  color:var(--ux-muted);
}
.cash-badge {
  background:var(--ux-surface-2);
  color:var(--ux-muted);
}
.cash-posted {
  background:var(--ux-surface);
  color:var(--ux-muted);
}
.cash-cancelled,.cash-void {
  background:var(--ux-surface);
  color:var(--ux-muted);
}
.cash-source-warning {
  background:var(--ux-amber-soft);
  border:1px solid var(--ux-amber-line);
  color:var(--ux-amber);
}
.cash-note {
  background:var(--ux-surface);
}
.cash-history li {
  border-left:2px solid var(--ux-line);
}
.cash-editor-card {
  border:1px solid var(--ux-line);
  border-top:4px solid var(--ux-line);
  background:var(--ux-surface);
}
.cash-editor-error {
  color:var(--ux-danger);
}
.cash-editor-message {
  color:var(--ux-muted);
}
.cash-editor-card input:not([type=checkbox]),.cash-editor-card select,.cash-editor-card textarea {
  border:1px solid var(--ux-line);
  background:var(--ux-field);
}
.cash-editor-card :disabled {
  background:var(--ux-surface);
  color:var(--ux-muted);
}
.cash-editor-card input:read-only {
  background:var(--ux-field);
}
.cash-editor-source,.cash-editor-review,.cash-editor-pending,.cash-editor-conflict {
  background:var(--ux-surface);
  border:1px solid var(--ux-line);
}
.cash-editor-source p,.cash-editor-review p,.cash-editor-pending p,.cash-editor-conflict p {
  color:var(--ux-text);
}
.cash-review-values>div {
  border-bottom:1px solid var(--ux-line);
}
.cash-review-values dt {
  color:var(--ux-text);
}
.cash-editor-pending {
  background:var(--ux-surface);
  border-color:var(--ux-line);
}
.cash-editor-conflict {
  background:var(--ux-surface);
  border-color:var(--ux-line);
}
.cash-editor-review {
  border-color:var(--ux-line);
  background:var(--ux-surface);
}
.cash-editor-card .cash-review-check {
  color:var(--ux-muted);
}
.cash-merge-choices>div {
  background:var(--ux-surface);
  border:1px solid var(--ux-line);
}
.cash-merge-choices span {
  color:var(--ux-muted);
}
.cash-file-tools {
  border:1px dashed var(--ux-line);
  background:var(--ux-surface);
}

/* company-analytics-workspace: consistent surfaces and foregrounds. */
.company-page-head .eyebrow {
  color:var(--ux-mint);
}
.company-readonly {
  border:1px solid var(--ux-line);
  background:var(--ux-surface);
  color:var(--ux-muted);
}
.company-filters {
  background:var(--ux-surface);
}
.company-filters label {
  color:var(--ux-muted);
}
.company-filters input,.company-filters select {
  border:1px solid var(--ux-line);
  background:var(--ux-field);
  color:var(--ux-muted);
}
.company-filters>p {
  border-top:1px solid var(--ux-line);
  color:var(--ux-muted);
}
.company-status {
  color:var(--ux-muted);
}
.company-report-hero {
  color:var(--ux-text);
  border:1px solid var(--ux-line);
}
.company-report-hero:after {
  border:1px solid var(--ux-line);
}
.company-report-hero h2 em {
  color:var(--ux-text);
}
.company-report-hero>div>p:last-child {
  color:var(--ux-muted);
}
.company-kicker {
  color:var(--ux-mint);
}
.company-report-hero .company-kicker {
  color:var(--ux-mint);
}
.company-periods>div {
  border-left:2px solid var(--ux-line);
}
.company-periods span {
  color:var(--ux-muted);
}
.company-periods strong {
  color:var(--ux-text);
}
.company-periods small {
  color:var(--ux-muted);
}
.company-report-note>p {
  color:var(--ux-muted);
}
.company-warning {
  background:var(--ux-amber-soft);
  border:1px solid var(--ux-amber-line);
  color:var(--ux-amber);
}
.company-tabs button {
  color:var(--ux-text);
}
.company-tabs button[aria-selected=true] {
  border-color:var(--ux-line);
  color:var(--ux-text);
}
.company-section-label>span {
  color:var(--ux-muted);
}
.company-section-label>p {
  color:var(--ux-muted);
}
.company-metric {
  background:var(--ux-surface);
}
.company-metric>span {
  color:var(--ux-muted);
}
.company-metric>strong {
  color:var(--ux-text);
}
.company-metric-compare {
  color:var(--ux-muted);
}
.company-metric-compare span {
  color:var(--ux-muted);
  background:var(--ux-surface);
}
.company-metric p {
  color:var(--ux-muted);
}
.company-card {
  background:var(--ux-surface);
}
.company-card>.company-explainer {
  color:var(--ux-muted);
}
.company-card>.company-explainer:last-child {
  border-top:1px solid var(--ux-line);
}
.company-chart-key {
  color:var(--ux-muted);
}
.company-chart-key i.previous {
  background:var(--ux-surface);
}
.company-table caption {
  color:var(--ux-muted);
}
.company-table thead th {
  background:var(--ux-surface-2);
  border-top:1px solid var(--ux-line);
  border-bottom:1px solid var(--ux-line);
  color:var(--ux-muted);
}
.company-table tbody th,.company-table td {
  border-bottom:1px solid var(--ux-line);
}
.company-table tbody th {
  color:var(--ux-muted);
}
.company-table td {
  color:var(--ux-muted);
}
.company-table td small {
  color:var(--ux-muted);
}
.company-bar {
  background:var(--ux-surface);
}
.company-bar.previous {
  background:repeating-linear-gradient(135deg,var(--ux-surface),var(--ux-surface) 3px,var(--ux-surface) 3px,var(--ux-surface) 5px);
}
.company-segments {
  background:var(--ux-surface);
  border:1px solid var(--ux-line);
}
.company-segments button {
  color:var(--ux-text);
}
.company-segments button[aria-pressed=true] {
  background:var(--ux-accent-soft);
  color:var(--ux-mint);
}
.company-amount-glance {
  border-top:1px solid var(--ux-line);
  background:var(--ux-surface);
}
.company-amount-glance>div {
  background:var(--ux-surface);
}
.company-amount-glance span {
  color:var(--ux-muted);
}
.company-amount-glance strong {
  color:var(--ux-text);
}
.company-amount-glance small {
  color:var(--ux-muted);
}
.company-scope-banner {
  border:1px solid var(--ux-line);
  background:var(--ux-surface);
}
.company-scope-banner>span {
  color:var(--ux-muted);
}
.company-scope-banner p {
  color:var(--ux-muted);
}
.company-freshness span {
  color:var(--ux-muted);
}
.company-freshness strong {
  color:var(--ux-text);
}
.company-method p {
  color:var(--ux-muted);
}
.company-financial-gap {
  border:1px dashed var(--ux-line);
  background:var(--ux-surface);
}
.company-financial-gap h2 {
  color:var(--ux-text);
}
.company-financial-gap p {
  color:var(--ux-muted);
}
.company-financial-gap>div>span {
  color:var(--ux-muted);
}
.company-financial-gap strong {
  color:var(--ux-text);
}
.company-empty p {
  color:var(--ux-muted);
}
.company-analytics-host button:focus-visible,.company-analytics-host a:focus-visible,.company-analytics-host select:focus-visible,.company-analytics-host input:focus-visible {
  outline:2px solid var(--ux-line);
}
.company-analytics-host [role=tabpanel]:focus-visible {
  outline:2px solid var(--ux-line);
}
.company-cash {
  border-top:3px solid var(--ux-line);
}
.company-cash-context p,.company-cash-footer p,.company-cash-unavailable>p {
  color:var(--ux-muted);
}
.company-cash-footer {
  border-top:1px solid var(--ux-line);
}

/* dealer-workspace: consistent surfaces and foregrounds. */
.dealer-tag {
  background:var(--ux-surface-2);
}
.dealer-profile {
  background:linear-gradient(120deg,var(--ux-surface),var(--ux-surface));
  border:1px solid var(--ux-line);
}
.dealer-reference code {
  background:var(--ux-surface);
}
.dealer-button,.dealer-upload {
  border:1px solid var(--ux-line);
  background:var(--ux-surface);
}
.dealer-button:hover,.dealer-upload:hover {
  background:var(--ux-surface-2);
  border-color:var(--ux-line);
}
.dealer-button:focus-visible,.dealer-connection:focus-visible,.dealer-upload:focus-within,.dealer-host summary:focus-visible {
  outline:3px solid var(--ux-line);
}
.dealer-primary {
  color:var(--ux-text);
  border-color:var(--ux-line);
}
.dealer-primary:hover {
  color:var(--ux-text);
}
.dealer-host label {
  color:var(--ux-muted);
}
.dealer-host input:not([type=checkbox]):not([type=file]),.dealer-host select,.dealer-host textarea {
  border:1px solid var(--ux-line);
  background:var(--ux-field);
}
.dealer-host input:focus,.dealer-host select:focus,.dealer-host textarea:focus {
  outline:2px solid var(--ux-line);
}
.dealer-connection {
  background:var(--ux-surface);
}
.dealer-connection.selected {
  background:var(--ux-accent-soft);
  border-color:var(--ux-accent-line);
}
.dealer-connection:hover {
  border-color:var(--ux-line);
}
.dealer-card {
  background:var(--ux-surface);
}
.dealer-kicker {
  color:var(--ux-mint);
}
.dealer-badge {
  border:1px solid var(--ux-line);
  background:var(--ux-surface-2);
  color:var(--ux-muted);
}
.dealer-active {
  background:var(--ux-surface);
  color:var(--ux-muted);
}
.dealer-invited,.dealer-suspended {
  background:var(--ux-surface);
  color:var(--ux-muted);
  border-color:var(--ux-line);
}
.dealer-declined,.dealer-cancelled {
  background:var(--ux-surface);
  color:var(--ux-muted);
}
.dealer-values>div {
  border-bottom:1px solid var(--ux-line);
}
.dealer-pause-state {
  background:var(--ux-surface);
}
.dealer-pending {
  background:var(--ux-surface);
  border:1px solid var(--ux-line);
}
.dealer-notice {
  background:var(--ux-surface);
}
.dealer-history article {
  border-bottom:1px solid var(--ux-line);
}
.dealer-empty {
  border:1px dashed var(--ux-line);
  background:var(--ux-surface);
  color:var(--ux-muted);
}
.dealer-empty h2,.dealer-empty h3 {
  color:var(--ux-text);
}
.dealer-empty-symbol {
  border:1px solid var(--ux-line);
  color:var(--ux-muted);
}
.dealer-recovery {
  background:var(--ux-surface);
  border:1px solid var(--ux-line);
}
.dealer-status {
  color:var(--ux-muted);
}

/* dealer-share-workspace: consistent surfaces and foregrounds. */
.grant-empty {
  background:var(--ux-surface);
  border:1px dashed var(--ux-line);
  color:var(--ux-muted);
}
.grant-empty h2,.grant-empty h3 {
  color:var(--ux-text);
}
.grant-empty-mark {
  background:var(--ux-surface);
}
.grant-meta {
  color:var(--ux-muted);
}
.grant-kicker {
  color:var(--ux-mint);
}
.grant-warning {
  background:var(--ux-amber-soft);
  border:1px solid var(--ux-amber-line);
  color:var(--ux-amber);
}
.grant-products p {
  color:var(--ux-muted);
}
.grant-product-image {
  background:#dce8e2;
}
.grant-product-no-image {
  color:var(--ux-muted);
}
.grant-energy-metrics>div {
  background:var(--ux-surface);
}
.grant-energy-metrics span {
  color:var(--ux-muted);
}
.grant-energy-metrics strong {
  color:var(--ux-text);
}
.grant-table-scroll caption {
  color:var(--ux-muted);
}
.grant-table-scroll th,.grant-table-scroll td {
  border-bottom:1px solid var(--ux-line);
}
.grant-table-scroll thead {
  background:var(--ux-surface-2);
}
.grant-roofs figure {
  background:var(--ux-surface);
  border:1px solid var(--ux-line);
}
.grant-roofs figcaption {
  color:var(--ux-muted);
}
.grant-roofs figcaption strong {
  color:var(--ux-text);
}
.grant-price-state {
  background:var(--ux-amber-soft);
  border:1px solid var(--ux-amber-line);
  color:var(--ux-amber);
}
.grant-price-state.is-available {
  background:var(--ux-accent-soft);
  border-color:var(--ux-accent-line);
  color:var(--ux-mint);
}
.grant-price-columns dl div {
  border-bottom:1px solid var(--ux-line);
}
.grant-price-columns dt {
  color:var(--ux-muted);
}
.grant-price-columns dd {
  color:var(--ux-text);
}
.grant-editor input:not([type=checkbox]) {
  color:var(--ux-muted);
  background:var(--ux-field);
  border:1px solid var(--ux-line);
}
.grant-editor input:focus {
  outline:2px solid var(--ux-line);
}
.grant-selection label {
  border:1px solid var(--ux-line);
  background:var(--ux-surface);
}
.grant-selection label:has(:checked) {
  border-color:var(--ux-accent-line);
  background:var(--ux-accent-soft);
}
.grant-selection strong {
  color:var(--ux-text);
}
.grant-selection small {
  color:var(--ux-muted);
}
.grant-source {
  color:var(--ux-text);
  border:1px solid var(--ux-line);
  background:var(--ux-surface);
}
.grant-source span,.grant-source small {
  color:var(--ux-text);
}
.grant-source.selected {
  background:var(--ux-accent-soft);
  border-color:var(--ux-accent-line);
}
.grant-preview {
  border:1px solid var(--ux-line);
  background:linear-gradient(140deg,var(--ux-surface),var(--ux-surface));
}
.grant-source:focus-visible,.grant-host summary:focus-visible {
  outline:3px solid var(--ux-line);
}

/* onboarding-workspace: consistent surfaces and foregrounds. */
.setup-hero {
  border:1px solid var(--ux-line);
  background:radial-gradient(ellipse at 80% 20%,var(--ux-surface),transparent 60%),linear-gradient(115deg,var(--ux-surface),var(--ux-surface));
}
.setup-eyebrow {
  color:var(--ux-mint);
}
.setup-progress {
  background:var(--ux-surface-2);
  border:1px solid var(--ux-line);
}
.setup-progress-value small {
  color:var(--ux-text);
}
.setup-track {
  background:var(--ux-surface);
}
.setup-toolbar [role=tablist] {
  background:var(--ux-surface);
  border:1px solid var(--ux-line);
}
.setup-toolbar [role=tab] {
  color:var(--ux-muted);
}
.setup-toolbar [role=tab][aria-selected=true] {
  background:var(--ux-surface);
  color:var(--ux-muted);
}
.setup-button,.setup-upload {
  border:1px solid var(--ux-line);
  background:var(--ux-surface);
}
.setup-button:hover,.setup-upload:hover {
  background:var(--ux-surface-2);
  border-color:var(--ux-line);
}
.setup-button.setup-primary,.setup-button[data-primary] {
  color:var(--ux-text);
  border-color:var(--ux-line);
}
.setup-host :is(button,a,input,select,textarea,summary):focus-visible,.setup-upload:focus-within {
  outline:3px solid var(--ux-line);
}
.setup-status {
  color:var(--ux-muted);
}
.setup-status.is-error {
  color:var(--ux-danger);
  background:var(--ux-danger-soft);
}
.setup-card {
  background:var(--ux-surface);
}
.setup-card.is-reviewed {
  border-color:var(--ux-accent-line);
  background:linear-gradient(145deg,var(--ux-accent-soft),var(--ux-accent-soft));
}
.setup-number {
  color:var(--ux-muted);
}
.setup-badge {
  border:1px solid var(--ux-line);
  background:var(--ux-surface-2);
  color:var(--ux-muted);
}
.setup-badge.reviewed {
  background:var(--ux-surface-2);
  color:var(--ux-muted);
  border-color:var(--ux-line);
}
.setup-badge.needs_review,.setup-badge.needs_work {
  background:var(--ux-surface-2);
  color:var(--ux-muted);
  border-color:var(--ux-line);
}
.setup-source {
  background:var(--ux-surface);
}
.setup-issues {
  color:var(--ux-muted);
}
.setup-card-footer {
  border-top:1px solid var(--ux-line);
}
.setup-card-footer a {
  color:var(--ux-muted);
}
.setup-host select,.setup-host input:not([type=checkbox]),.setup-host textarea {
  border:1px solid var(--ux-line);
  background:var(--ux-field);
}
.setup-session-row {
  background:var(--ux-surface);
}
.setup-session-row:hover {
  border-color:var(--ux-line);
}
.setup-empty {
  border:1px dashed var(--ux-line);
  background:var(--ux-surface);
}
.setup-empty>span {
  color:var(--ux-muted);
}
.setup-detail,.setup-editor,.setup-recovery {
  background:var(--ux-surface);
}
.setup-editor {
  border-color:var(--ux-line);
}
.setup-editor .setup-check-grid {
  background:var(--ux-surface);
}
.setup-ack {
  border:1px solid var(--ux-line);
  background:var(--ux-surface);
}
.setup-topic-list li {
  border:1px solid var(--ux-line);
  background:var(--ux-surface);
}
.setup-outcome {
  background:var(--ux-surface);
  border-left:3px solid var(--ux-line);
}
.setup-history li {
  border-left:2px solid var(--ux-line);
}
.setup-recovery {
  background:var(--ux-surface);
  border-color:var(--ux-line);
}
.setup-pending-review {
  border-top:1px solid var(--ux-line);
}

/* support-workspace: consistent surfaces and foregrounds. */
.support-hero {
  background:radial-gradient(ellipse at 85% 10%,var(--ux-surface),transparent 63%),linear-gradient(120deg,var(--ux-surface),var(--ux-surface));
  border:1px solid var(--ux-line);
}
.support-eyebrow {
  color:var(--ux-mint);
}
.support-metrics {
  border:1px solid var(--ux-line);
  background:var(--ux-surface);
}
.support-toolbar [role=tablist] {
  background:var(--ux-surface);
  border:1px solid var(--ux-line);
}
.support-toolbar [role=tab] {
  color:var(--ux-muted);
}
.support-toolbar [role=tab][aria-selected=true] {
  background:var(--ux-surface);
  color:var(--ux-muted);
}
.support-button,.support-upload {
  border:1px solid var(--ux-line);
  background:var(--ux-surface);
}
.support-button:hover,.support-upload:hover {
  background:var(--ux-surface-2);
  border-color:var(--ux-line);
}
.support-button.is-primary {
  color:var(--ux-text);
  border-color:var(--ux-line);
}
.support-host :is(button,input,select,textarea,summary,a):focus-visible,.support-upload:focus-within {
  outline:3px solid var(--ux-line);
}
.support-status {
  color:var(--ux-muted);
}
.support-status.is-error {
  background:var(--ux-danger-soft);
  color:var(--ux-danger);
}
.support-host select,.support-host input:not([type=checkbox]),.support-host textarea {
  border:1px solid var(--ux-line);
  background:var(--ux-field);
}
.support-badge {
  border:1px solid var(--ux-line);
  background:var(--ux-surface-2);
  color:var(--ux-muted);
}
.support-badge.new,.support-badge.pending,.support-badge.waiting_company {
  background:var(--ux-surface-2);
  border-color:var(--ux-line);
  color:var(--ux-muted);
}
.support-badge.in_progress,.support-badge.available {
  background:var(--ux-surface-2);
  border-color:var(--ux-line);
  color:var(--ux-muted);
}
.support-badge.resolved,.support-badge.accepted {
  background:var(--ux-accent-soft);
  color:var(--ux-mint);
  border-color:var(--ux-accent-line);
}
.support-badge.closed,.support-badge.cancelled,.support-badge.withdrawn,.support-badge.expired,.support-badge.historical {
  background:var(--ux-surface-2);
  color:var(--ux-muted);
}
.support-case-row {
  background:var(--ux-surface);
}
.support-case-row:hover {
  border-color:var(--ux-line);
}
.support-case-dot {
  background:var(--ux-surface);
}
.support-case-dot.new {
  background:var(--ux-surface);
}
.support-empty {
  background:var(--ux-surface);
  border:1px dashed var(--ux-line);
}
.support-empty>span {
  color:var(--ux-muted);
}
.support-policy-card {
  background:var(--ux-surface);
}
.support-policy-row {
  background:var(--ux-surface);
}
.support-detail,.support-editor,.support-recovery {
  background:var(--ux-surface);
}
.support-detail-meta {
  border-bottom:1px solid var(--ux-line);
}
.support-message {
  border:1px solid var(--ux-line);
  background:var(--ux-surface);
}
.support-message.provider {
  background:var(--ux-surface);
  border-color:var(--ux-line);
}
.support-snapshot,.support-history {
  border:1px solid var(--ux-line);
  background:var(--ux-surface);
}
.support-history li {
  border-left:2px solid var(--ux-line);
}
.support-outcome {
  background:var(--ux-surface);
  border-left:3px solid var(--ux-line);
}
.support-editor {
  border-color:var(--ux-line);
}
.support-ack {
  background:var(--ux-surface);
  border:1px solid var(--ux-line);
}
.support-editor .support-days {
  background:var(--ux-surface);
}
.support-policy-preview {
  border-top:1px solid var(--ux-line);
}
.support-recovery {
  background:var(--ux-surface);
  border-color:var(--ux-line);
}
.support-pending-review {
  border-top:1px solid var(--ux-line);
}

/* Deliberate hierarchy and controls, shared across the operational workspaces. */
.fc-header,.setup-hero,.support-hero,.dealer-profile {
  background:radial-gradient(ellipse at 100% 0%,#23605255,transparent 65%),linear-gradient(115deg,#152f39,#11242e);
  border:1px solid #35535b; box-shadow:inset 0 1px #ffffff06,0 16px 48px #030d1418;
}
.fc-header {padding:28px 30px; margin-bottom:24px; border-radius:18px;}
.fc-header h1 {font-size:clamp(28px,3vw,40px); letter-spacing:-.055em; line-height:1.18; max-width:900px;}
.fc-header p {font-size:14px; line-height:1.8; color:var(--ux-muted); margin-bottom:16px;}
.fc-eyebrow,.fc-card .fc-eyebrow {color:var(--ux-mint);font-size:10px;letter-spacing:.16em;}
.fc-card,.company-card,.company-metric,.cash-card,.dealer-detail,.setup-card,.support-card {
  box-shadow:inset 0 1px #ffffff04,0 12px 38px #030b1118;
}
.fc-card {padding:26px; border-radius:15px;}
.fc-card h2 {font-size:22px;line-height:1.4;letter-spacing:-.035em;}
.fc-card p {font-size:13px; max-width:1080px;}
.fc-scroll {border-radius:12px;scrollbar-color:#496675 #0c1923;}
.fc-scroll th {font-weight:650;padding:14px 16px;}
.fc-scroll td {padding:17px 16px;font-variant-numeric:tabular-nums;}
.fc-scroll tbody tr:hover {background:#ffffff03;}
.fc-metrics {gap:16px;}
.fc-metrics article {position:relative;overflow:hidden;padding:23px 24px;border-radius:14px;box-shadow:inset 0 1px #ffffff04;}
.fc-metrics article:before {content:'';position:absolute;inset:20px auto 20px 0;width:3px;border-radius:0 4px 4px 0;background:#4a6b7b;}
.fc-metrics .fc-attention:before {background:var(--ux-amber);}
.fc-metrics .fc-complete:before {background:var(--ux-mint);}
.fc-metrics strong {font-size:34px;font-weight:700;line-height:1.2;font-variant-numeric:tabular-nums;}
.fc-metrics small {line-height:1.75;}
.fc-button,.cash-button,.dealer-button,.setup-button,.support-button {min-height:44px;border-radius:9px;transition:background .16s,border-color .16s,color .16s;}
.fc-button {background:#1a303c;border-color:#466270;color:var(--ux-text);}
.fc-button:hover:not(:disabled) {background:#23414c;border-color:#67858f;}
.fc-primary,.fc-primary:hover:not(:disabled) {background:#70dfbd;border-color:#70dfbd;color:#082820;box-shadow:0 4px 20px #36b99412;}
.fc-primary:hover:not(:disabled) {background:#95ebcf;border-color:#95ebcf;}
.fc-header .fc-button {background:#1a353e;color:var(--ux-text);border-color:#557781;}
.financial-control input,.financial-control select,.financial-control textarea,
.cash-host input,.cash-host select,.cash-host textarea,
.company-analytics-host input,.company-analytics-host select,
.dealer-host input:not([type=checkbox]),.dealer-host select,.dealer-host textarea,
.grant-editor input:not([type=checkbox]),
.setup-host input:not([type=checkbox]),.setup-host select,.setup-host textarea,
.support-host input:not([type=checkbox]),.support-host select,.support-host textarea,
.account-security input[type=password],.mfa-management input:not([type=checkbox]),.mfa-login input,.approval-workspace textarea {
  background:var(--ux-field);color:var(--ux-text);border:1px solid var(--ux-control-line);
  min-height:46px;border-radius:9px;box-shadow:inset 0 1px 3px #00000012;
}
.financial-control label,.dealer-network .fc-card .fc-grid label {color:var(--ux-muted);}
.financial-control input[type=checkbox],.dealer-host input[type=checkbox],.setup-host input[type=checkbox],.support-host input[type=checkbox] {accent-color:#70dfbd;}
.financial-control input[type=checkbox] {min-height:20px;box-shadow:none;}
.financial-control :is(input,textarea)::placeholder,.cash-host :is(input,textarea)::placeholder,.dealer-host :is(input,textarea)::placeholder,.support-host :is(input,textarea)::placeholder {color:#8fa6b5;opacity:1;}
.financial-control :focus-visible,.cash-host :focus-visible,.dealer-host :focus-visible,.company-analytics-host :focus-visible,.setup-host :focus-visible,.support-host :focus-visible {outline:2px solid #86e8ca;outline-offset:4px;}
.fc-tag {border:1px solid #3a5360;}
.fc-ok {background:#174237;color:#9ce9cb;border-color:#3d7968;}
.fc-notice {color:var(--ux-text);background:#17332f;border-color:#416c5d;}
.fc-error {background:var(--ux-danger-soft);color:var(--ux-danger);border-color:var(--ux-danger-line);}
.fc-warning {background:var(--ux-amber-soft);color:var(--ux-amber);border-color:var(--ux-amber-line);}
.fc-notice h2,.fc-notice p {color:inherit;}
.fc-preview {background:#1a302e;border-left:3px solid #79d9b7;}
.dn-tabs {gap:6px;padding:6px;border:1px solid var(--ux-line);border-radius:12px;background:#0d1b25;margin:18px 0 24px;width:fit-content;max-width:100%;}
.dn-tabs .fc-button {background:transparent;border-color:transparent;box-shadow:none;color:#aec3ce;min-height:42px;}
.dn-tabs [aria-pressed=true] {background:#20483f;color:#a7f2d8;border-color:#3f8b75;}
.dn-member {background:#152934;border-color:#354f5b;border-radius:12px;padding:22px;}
.dn-member-head h3 {font-size:18px;letter-spacing:-.025em;}
.dn-member-head p {color:var(--ux-muted);}
.dn-level {background:#21453b;color:#9fe1c6;border:1px solid #3c7460;font-weight:600;}
.dn-tree {border-color:#416475;}
.dn-member:before {background:#416475;}
.fc-recovery,.financial-control .fc-recovery label {color:var(--ux-muted);}
.fc-recovery summary {font-size:12px;letter-spacing:0;}
@media(max-width:760px) {
  .workspace-main {padding-block:24px 40px;}
  .fc-header {padding:23px 20px;border-radius:15px;}
  .fc-header h1 {font-size:30px;line-height:1.18;}
  .fc-card {padding:20px 17px;}
  .fc-card h2 {font-size:20px;}
  .fc-metrics article {padding:18px 20px;}
  .fc-metrics strong {font-size:29px;}
  .financial-control input,.financial-control select,.financial-control textarea,.cash-host input,.cash-host select,.dealer-host input:not([type=checkbox]),.dealer-host select,.dealer-host textarea,.support-host input,.support-host select,.support-host textarea {font-size:16px;}
  .dn-tabs {width:100%;}
  .dn-tabs .fc-button {font-size:12px;padding:10px 8px;}
  .dn-member {padding:18px 13px;}
  .dn-member-head h3 {font-size:17px;}
  .fc-scroll:before {background:#1a303c;color:var(--ux-muted);padding:10px 12px;}
}
@media(prefers-reduced-motion:reduce) {
  .fc-button,.cash-button,.dealer-button,.setup-button,.support-button {transition:none;}
}

/* Reading density: clear numerals and body copy rather than thin report text. */
.company-page-head h1,.cash-heading h1,.dealer-heading h1 {font-size:clamp(30px,3vw,42px);font-weight:750;letter-spacing:-.05em;}
.company-page-head h1,.cash-heading h1 {margin-bottom:14px;}
.company-card h2,.company-period h2 {font-weight:650;line-height:1.4;}
.company-card h2 {font-size:21px;}
.company-metric strong {font-weight:650;font-size:34px;font-variant-numeric:tabular-nums;}
.company-card table {font-size:12px;}
.company-card th,.company-card td {padding-block:13px;}
.company-analytics-host input,.company-analytics-host select {font-size:13px;}
.company-analytics-host label {font-size:12px;line-height:1.6;}
.company-analytics-host [role=tab][aria-selected=true] {color:#9ce9cf;border-bottom-color:#70dfbd;}
.cash-heading,.dealer-heading {margin-bottom:22px;}
.cash-host .cash-tabs [aria-selected=true],.cash-host .cash-tabs [aria-pressed=true] {color:#9ce9cf;border-color:#70dfbd;}
.cash-host input[type=file]::file-selector-button,.financial-control input[type=file]::file-selector-button,.support-host input[type=file]::file-selector-button {background:#23414d;color:#e6eef3;border:1px solid #587688;border-radius:5px;padding:5px 9px;margin-right:10px;font:inherit;cursor:pointer;}
@media(max-width:760px) {
  .company-page-head h1,.cash-heading h1,.dealer-heading h1 {font-size:31px;}
  .company-analytics-host input,.company-analytics-host select {font-size:16px;}
  .company-card table {font-size:12px;}
}


/* Additional operational views: API, costs, scoped access and tracking. */
.int-host {--int-ink:var(--ux-text);--int-line:var(--ux-line);--int-green:var(--ux-mint);color:var(--ux-text);color-scheme:dark;}

/* integration-workspace */
.int-hero {
  color:var(--ux-text);
}
.int-hero h1 span {
  color:var(--ux-text);
}
.int-hero p {
  color:var(--ux-text);
}
.int-api-mark {
  border:1px solid var(--ux-line);
  background:var(--ux-surface);
}
.int-api-mark i {
  color:var(--ux-muted);
}
.int-toolbar p {
  color:var(--ux-muted);
}
.int-button {
  border:1px solid var(--ux-line);
  background:var(--ux-surface);
  color:var(--ux-text);
}
.int-button:hover {
  background:var(--ux-surface-2);
}
.int-button.is-primary {
  color:var(--ux-text);
}
.int-host :focus-visible {
  outline:3px solid var(--ux-line);
}
.int-status[role=alert] {
  color:var(--ux-muted);
}
.int-note {
  background:var(--ux-surface);
}
.int-key {
  background:var(--ux-surface);
}
.int-key-icon {
  background:var(--ux-surface);
  color:var(--ux-muted);
}
.int-badge {
  background:var(--ux-surface-2);
  color:var(--ux-muted);
}
.int-badge.is-active {
  background:var(--ux-surface-2);
  color:var(--ux-muted);
}
.int-key code {
  color:var(--ux-muted);
}
.int-scopes span {
  border:1px solid var(--ux-line);
}
.int-key dt {
  color:var(--ux-muted);
}
.int-key .int-actions {
  border-top:1px solid var(--ux-line);
}
.int-empty {
  border:1px dashed var(--ux-line);
  background:var(--ux-surface);
}
.int-empty p {
  color:var(--ux-muted);
}
.int-editor,.int-secret,.int-pending {
  background:var(--ux-surface);
}
.int-editor p,.int-secret p,.int-pending p {
  color:var(--ux-muted);
}
.int-editor input:not([type=checkbox]),.int-editor textarea,.int-secret textarea {
  border:1px solid var(--ux-line);
  background:var(--ux-field);
}
.int-editor label small {
  color:var(--ux-muted);
}
.int-editor .int-scope {
  border:1px solid var(--ux-line);
}
.int-secret {
  background:var(--ux-surface);
  border-color:var(--ux-line);
}
.int-pending {
  background:var(--ux-surface);
  border-color:var(--ux-line);
}
.int-help p {
  color:var(--ux-muted);
}

/* webhook-workspace */
.wh-host .wh-url {
  color:var(--ux-muted);
}
.wh-event-list span {
  background:var(--ux-surface);
  color:var(--ux-muted);
}
.wh-deliveries {
  border-top:1px solid var(--ux-line);
}
.wh-filters select,.wh-host .int-editor select {
  border:1px solid var(--ux-line);
  background:var(--ux-field);
  color:var(--ux-muted);
}
.wh-delivery {
  background:var(--ux-surface);
  border:1px solid var(--ux-line);
}
.wh-delivery p {
  color:var(--ux-muted);
}
.wh-delivery code {
  color:var(--ux-muted);
}
.wh-delivery-actions>span {
  color:var(--ux-muted);
}
.wh-attempt {
  border-bottom:1px solid var(--ux-line);
}
.wh-attempt span {
  color:var(--ux-muted);
}
.wh-command {
  background:var(--ux-surface);
  border:1px solid var(--ux-line);
}

/* cost-coverage-workspace */
.coverage-metrics article {
  background:var(--ux-surface);
  border:1px solid var(--line,var(--ux-line));
}
.coverage-metrics article:last-child {
  background:var(--ux-surface);
  border-color:var(--ux-line);
}
.coverage-metrics article>span,.coverage-metrics small {
  color:var(--muted,var(--ux-muted));
}
.coverage-issues li {
  border-bottom:1px solid var(--line,var(--ux-line));
}
.coverage-table-scroll th {
  color:var(--muted,var(--ux-muted));
}
.coverage-table-scroll td,.coverage-table-scroll th {
  border-bottom:1px solid var(--line,var(--ux-line));
}
.coverage-table-scroll td>small {
  color:var(--muted,var(--ux-muted));
}
.coverage-table-scroll summary {
  color:var(--ux-muted);
}
.coverage-missing {
  color:var(--ux-muted)!important;
}
.coverage-basis dt {
  color:var(--muted,var(--ux-muted));
}
.coverage-basis>p,.coverage-basis li {
  color:var(--muted,var(--ux-muted));
}
.cost-coverage :focus-visible {
  outline:3px solid var(--ux-line);
}
.cost-plan-categories details {
  border:1px solid var(--line,var(--ux-line));
}
.cost-plan-categories summary span {
  color:var(--muted,var(--ux-muted));
}
.project-cost-plan input:not([type=checkbox]),.project-cost-plan select {
  border:1px solid var(--line,var(--ux-line));
  background:var(--surface,var(--ux-field));
}
.cost-plan-skus {
  color:var(--muted,var(--ux-muted));
}
.cost-plan-expense {
  border:1px solid var(--line,var(--ux-line));
}
.cost-plan-issues {
  color:var(--muted,var(--ux-muted));
}

/* costbook-workspace */
.costbook .field>span {
  color:var(--muted,var(--ux-muted));
}
.costbook-editor-title p {
  color:var(--muted,var(--ux-muted));
}
.costbook-list article span,.costbook-list article small {
  color:var(--muted,var(--ux-muted));
}
.costbook-empty {
  color:var(--muted,var(--ux-muted));
}
.costbook-empty>span {
  color:var(--ux-muted);
}
.costbook-empty h2 {
  color:var(--ink,var(--ux-text));
}
.costbook-review {
  background:var(--ux-surface);
  border:1px solid var(--ux-line);
}
.costbook-history span {
  color:var(--muted,var(--ux-muted));
}
.costbook :focus-visible {
  outline:3px solid var(--ux-line);
}

/* project-access-workspace */
.scope-mode {
  border:1px solid var(--border,var(--ux-line));
}
.scope-mode small {
  color:var(--muted,var(--ux-muted));
}
.scope-mode.selected {
  border-color:var(--primary,var(--ux-accent-line));
  background:var(--primary-soft,var(--ux-accent-soft));
}
.scope-projects {
  border-top:1px solid var(--border,var(--ux-line));
}
.scope-project {
  border-bottom:1px solid var(--border,var(--ux-line));
}
.scope-project.is-changed {
  background:var(--ux-surface);
}
.scope-project small {
  color:var(--muted,var(--ux-muted));
}
.scope-impact small,.scope-impact div>span {
  color:var(--muted,var(--ux-muted));
}
.scope-diff-list>div {
  border-bottom:1px solid var(--border,var(--ux-line));
}
.scope-diff-list span,.scope-diff-list small {
  color:var(--muted,var(--ux-muted));
}
.scope-review-empty {
  color:var(--muted,var(--ux-muted));
}
.scope-review-empty>span {
  color:var(--primary,var(--ux-muted));
}
.scope-review-empty h3 {
  color:var(--text,var(--ux-text));
}
.scope-workspace input:focus-visible,.scope-workspace select:focus-visible,.scope-workspace textarea:focus-visible {
  outline:3px solid var(--ux-line);
}

/* offer-tracking-workspace */
.tracking-filters {
  background:var(--ux-surface);
  border:1px solid var(--line,var(--ux-line));
}
.tracking-filters label {
  color:var(--ux-muted);
}
.tracking-filters select,.tracking-filters input {
  border:1px solid var(--ux-line);
  background:var(--ux-field);
  color:var(--ux-muted);
}
.tracking-status {
  color:var(--ux-muted);
}
.tracking-report-head p {
  color:var(--ux-muted);
}
.tracking-metric {
  border:1px solid var(--ux-line);
  background:var(--ux-surface);
}
.tracking-metric>span {
  color:var(--ux-muted);
}
.tracking-metric>strong {
  color:var(--ux-text);
}
.tracking-metric p {
  color:var(--ux-muted);
}
.tracking-reading,.tracking-warning {
  background:var(--ux-amber-soft);
  color:var(--ux-amber);
}
.tracking-warning {
  background:var(--ux-amber-soft);
  color:var(--ux-amber);
}
.tracking-source {
  border-top:1px solid var(--ux-line);
}
.tracking-source span {
  color:var(--ux-text);
}
.tracking-source strong {
  color:var(--ux-text);
}
.tracking-method {
  border-top:1px solid var(--ux-line);
}
.tracking-method p {
  color:var(--ux-muted);
}
.tracking-empty p {
  color:var(--ux-muted);
}

/* access-roles */
.access-role-card {
  border:1px solid var(--border,var(--ux-line));
  background:var(--surface,var(--ux-surface));
}
.access-role-permissions fieldset {
  border:1px solid var(--ux-line);
}
.access-role-permissions legend {
  color:var(--ux-muted);
}
.access-role-choice small {
  color:var(--ux-muted);
}
.access-role-choice:focus-within {
  outline:2px solid var(--ux-line);
}

/* approval-workspace */
.approval-workspace>.panel,.approval-forms>form {
  border:1px solid var(--line,var(--ux-line));
  background:var(--surface,var(--ux-surface));
}
.approval-summary {
  color:var(--ux-text);
}
.approval-summary .pill {
  color:var(--ux-text);
  background:var(--ux-surface);
  border:1px solid var(--ux-line);
}
.approval-rail li {
  border-top:2px solid var(--ux-line);
  color:var(--ux-muted);
}
.approval-rail li.done {
  border-color:var(--ux-line);
  color:var(--ux-muted);
}
.approval-rail span {
  color:var(--ux-text);
}
.approval-summary p {
  color:var(--ux-muted);
}
.approval-workspace textarea {
  border:1px solid var(--line,var(--ux-line));
  background:var(--surface,var(--ux-field));
}
.approval-forms form>p {
  color:var(--muted,var(--ux-muted));
}
.approval-private {
  border-left:3px solid var(--ux-line)!important;
}
.approval-workspace :focus-visible {
  outline:3px solid var(--ux-line);
}

/* offer-feedback */
.offer-feedback>details {
  border-top:1px solid var(--line,var(--ux-line));
}
.feedback-consent {
  color:var(--muted,var(--ux-muted));
}
.feedback-status.is-error {
  color:var(--ux-danger);
}

.int-hero {background:radial-gradient(ellipse at 100% 0%,#23605255,transparent 65%),linear-gradient(115deg,#152f39,#11242e);border-color:#35535b;}
.int-host button[class*=primary] {background:#70dfbd;color:#082820;border-color:#70dfbd;}
.int-hero h1 span {color:var(--ux-mint);}
.cost-coverage :focus-visible,.approval-workspace :focus-visible,.access-role-form :focus-visible,.access-role-card :focus-visible {outline:2px solid #86e8ca;outline-offset:4px;}
.int-host :is(input,select,textarea):not([type=checkbox]):not([type=radio]),
.tracking-host :is(input,select,textarea):not([type=checkbox]):not([type=radio]),
.costbook :is(input,select,textarea):not([type=checkbox]):not([type=radio]),
#project-access-root :is(input,select,textarea):not([type=checkbox]):not([type=radio]),
.access-role-form :is(input,select,textarea):not([type=checkbox]):not([type=radio]) {
  background:var(--ux-field);color:var(--ux-text);border:1px solid var(--ux-control-line);min-height:46px;border-radius:9px;
}
.int-host :focus-visible,.tracking-host :focus-visible,.costbook :focus-visible,#project-access-root :focus-visible {outline:2px solid #86e8ca;outline-offset:4px;}
.coverage-metrics article {background:var(--ux-surface);color:var(--ux-text);border-color:var(--ux-line);}
.coverage-metrics strong {color:var(--ux-text);font-variant-numeric:tabular-nums;}
@media(max-width:760px) {
  .int-host :is(input,select,textarea),.tracking-host :is(input,select,textarea),.costbook :is(input,select,textarea),#project-access-root :is(input,select,textarea),.access-role-form :is(input,select,textarea) {font-size:16px;}
}

/* Access and license management follow the shared dark workspace palette. */
.security-section-head,.security-session-row,.license-company{display:flex;align-items:center;justify-content:space-between;gap:18px;}
.security-section-head p{margin-bottom:0;}
.security-session-list{display:grid;margin-block:20px;}
.security-session-row{padding:16px 0;border-bottom:1px solid var(--ux-line);}
.security-session-row:last-child{border-bottom:0;}
.security-policy,.security-sessions,.license-history,.license-editor{margin-block:22px;}
.security-policy form,.security-impact form,.license-editor form{display:grid;gap:18px;}
.security-impact{margin-top:24px;padding:24px;border:1px solid var(--ux-accent-line);border-radius:16px;background:var(--ux-accent-soft);}
.security-policy label,.license-control label{display:grid;gap:8px;}
.security-policy .security-ack,.license-control .security-ack{display:flex;align-items:flex-start;gap:10px;}
.security-impact details{overflow-wrap:anywhere;}
.license-control{color:var(--ux-text);min-width:0;}
.license-control .panel{background:var(--ux-surface);border-color:var(--ux-line);}
.license-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-block:22px;}
.license-metrics .panel{display:grid;align-content:start;gap:14px;margin:0;}
.license-metrics small,.license-metrics span{color:var(--ux-muted);}
.license-metrics strong{font-size:clamp(17px,1.65vw,25px);letter-spacing:-.03em;overflow-wrap:anywhere;}
.license-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;}
.license-company label{flex:1;max-width:600px;}
.license-history details{padding:18px 0;border-block-end:1px solid var(--ux-line);}
.license-history summary{cursor:pointer;line-height:1.7;}
.license-version{display:grid;grid-template-columns:140px minmax(0,1fr);gap:12px;}
.license-version dt{color:var(--ux-muted);}
.license-version dd{margin:0;overflow-wrap:anywhere;}
.license-hash{font:12px/1.6 monospace;}
.license-review-grid{display:flex;flex-wrap:wrap;gap:12px 24px;}
.license-control input,.license-control select,.license-control textarea,.security-policy input,.security-policy select,.security-policy textarea{min-width:0;max-width:100%;background:var(--ux-field);color:var(--ux-text);border-color:var(--ux-control-line);color-scheme:dark;}
@media(max-width:1100px){.license-metrics{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:600px){.license-fields,.license-metrics{grid-template-columns:1fr;}.security-section-head,.license-company{align-items:stretch;flex-direction:column;}.security-session-row{align-items:flex-start;}.security-impact{padding:18px;}.license-version{grid-template-columns:1fr;gap:6px;}.license-version dd{margin-bottom:12px;}}

.license-control .panel,.security-policy,.security-sessions{padding:24px;}
.license-metrics .panel{padding:20px;}
@media(max-width:600px){.license-control .panel,.security-policy,.security-sessions{padding:18px;}}
