.company-colours{margin-top:24px;border-top:1px solid var(--line);padding-top:24px}.company-colours .section-head{align-items:start;flex-wrap:wrap;gap:16px}.company-colours h3{margin:0}.company-colours .section-head p{margin-top:8px;font-size:15px;color:var(--muted)}.colour-status{min-height:24px;margin:14px 0;font-size:14px;color:var(--ink)}.company-colours .colour-picker{width:64px;height:44px;padding:4px;cursor:pointer}.colour-preview{margin-top:22px;padding:22px;border:1px solid var(--preview-line);border-radius:14px;background:var(--preview-canvas);color:var(--preview-ink);max-width:650px}.colour-preview-heading,.colour-preview-row{display:flex;align-items:center;gap:16px}.colour-preview-heading small{display:block;color:var(--preview-muted);margin-top:4px}.colour-preview-logo:empty{display:none}.colour-preview-logo img{width:64px;height:48px;object-fit:contain;background:#fff;border-radius:6px}.colour-preview-row{justify-content:space-between;margin:20px 0;flex-wrap:wrap}.colour-preview-selected{padding:10px 16px;border-radius:8px;background:var(--preview-tint);color:var(--preview-link);box-shadow:inset 3px 0 var(--preview-indicator);font-weight:600}.colour-preview-action{padding:10px 16px;border-radius:8px;background:var(--preview-primary);color:var(--preview-onPrimary);border:1px solid var(--preview-controlLine);font-weight:600}.colour-preview-card{background:#fff;padding:18px;border:1px solid var(--preview-line);border-radius:10px}.colour-preview-field{display:block;margin-top:12px;padding:10px;border:1px solid var(--preview-controlLine);border-radius:6px;color:var(--preview-muted)}.colour-preview>p{font-size:14px;color:var(--preview-muted);margin-top:16px}
/* Structural contrast is independent of how light the company's brand colour is. */
[data-company-theme] :is(input:not([type=checkbox]):not([type=radio]),select,textarea){border-color:var(--brand-control-line)}
[data-company-theme] .btn{border-color:var(--brand-line)}
[data-company-theme] .btn.primary{border-color:var(--brand-control-line)}
[data-company-theme] :is(input,select,textarea):focus{border-color:var(--brand-focus)}
[data-company-theme] .workspace .sidebar .nav-link.active{background:var(--brand-tint);box-shadow:inset 3px 0 var(--brand-indicator)}
[data-company-theme] input[type=checkbox],[data-company-theme] input[type=radio]{accent-color:var(--brand-indicator)}
[data-company-theme] :is(.progress i,.op-progress i,.op-bar-track i){background:var(--brand-indicator)}
[data-company-theme] .workspace .op-kpi:before{background:var(--brand-indicator)}
[data-company-theme] .workspace .op-project-cards>.card{border-top-color:var(--brand-indicator)}
@media(max-width:800px){[data-company-theme] .workspace .mobile-nav a.active{background:var(--brand-tint);color:var(--brand-link);box-shadow:inset 0 -3px var(--brand-indicator)}}
