/* BCH Central 0.18.6 — project-wide contrast and typography foundation */
:root{
  --bch-ink-950:#0b1220;--bch-ink-900:#101828;--bch-ink-800:#1d2939;--bch-ink-700:#344054;
  --bch-ink-600:#475467;--bch-ink-500:#667085;--bch-ink-400:#7f8ba0;
  --bch-blue-700:#175cd3;--bch-blue-600:#1570ef;--bch-blue-50:#eff8ff;
  --bch-orange-600:#e86f00;--bch-green-700:#067647;--bch-red-700:#b42318;
  --bch-surface:#fff;--bch-surface-soft:#f7f9fc;--bch-line:#dfe5ee;
}
.main{color:var(--bch-ink-900);font-weight:500}
.main h1,.main h2,.main h3,.main h4{color:var(--bch-ink-900)}
.main h1{font-weight:800;letter-spacing:-.025em}.main h2,.main h3{font-weight:750}
.main p,.main .muted,.main .help,.main .description{color:var(--bch-ink-600)}
.main .eyebrow,.main .section-kicker{color:var(--bch-orange-600)!important;font-weight:800!important;letter-spacing:.06em}
.main .panel-head p,.main .ui-card__head p,.main .ws-card-head p{color:var(--bch-ink-500)!important;font-size:12px!important;line-height:1.8!important}
.main label,.main th,.main dt{color:var(--bch-ink-600);font-weight:700}
.main input,.main select,.main textarea{color:var(--bch-ink-900)!important;background:#fff!important}
.main input::placeholder,.main textarea::placeholder{color:#98a2b3!important;opacity:1}
.main .panel,.main .ui-card,.main .ws-card,.main .metric-card,.main .store-manage-card{border-color:#dfe5ee}

/* Store/workspace hero: strong contrast on the light 3D surface. */
.main .ws-hero{background:linear-gradient(135deg,#f5f9ff 0%,#eaf2ff 54%,#fff8f1 100%)!important;color:var(--bch-ink-900)!important;border:1px solid #d9e6f7!important;box-shadow:0 18px 44px rgba(23,92,211,.09)!important}
.main .ws-store-title h1{color:#101828!important;text-shadow:none!important;font-weight:800!important}
.main .ws-store-title p{color:#52637a!important;font-size:12px!important;font-weight:600!important;opacity:1!important}
.main .ws-store-title .section-kicker{color:#c95d00!important}
.main .ws-health{background:rgba(255,255,255,.88)!important;border:1px solid #d9e2ef!important;box-shadow:0 8px 22px rgba(16,24,40,.06)!important}
.main .ws-health strong{color:#1d2939!important;font-size:12px!important;font-weight:800!important}
.main .ws-health small{color:#667085!important;font-size:10px!important}
.main .ws-health.is-online{border-color:#a6f4c5!important;background:#ecfdf3!important}.main .ws-health.is-online strong{color:#067647!important}
.main .ws-health.is-offline{border-color:#fecaca!important;background:#fff7f6!important}.main .ws-health.is-offline strong{color:#b42318!important}
.main .ws-health.is-detached{border-color:#fed7aa!important;background:#fff7ed!important}.main .ws-health.is-detached strong{color:#b54708!important}
.main .ws-kpis span{color:#52637a!important;font-size:12px!important;font-weight:650!important}.main .ws-kpis small{color:#667085!important;font-size:10.5px!important}.main .ws-kpis strong{color:#101828!important}
.main .ws-tabs a{color:#475467!important;font-weight:700!important}.main .ws-tabs a.is-active{color:#175cd3!important}

/* Store cards and status labels */
.main .store-manage-card__identity h3,.main .store-cell strong{color:#101828!important}.main .store-manage-card__identity p,.main .store-cell small{color:#667085!important}
.status-pill.is-detached{background:#fff7ed!important;color:#b54708!important;border-color:#fed7aa!important}.status-pill.is-detached i{background:#f79009!important}

/* Typography floor: keep the operational UI readable on mobile without bloating dense tables. */
.main .page-head p{font-size:14px!important;line-height:1.9!important;color:#52637a!important}
.main .panel-head h2,.main .ws-card-head h2{color:#101828!important}
.main .metric-card span,.main .store-health__sync span{color:#52637a!important;font-size:11.5px!important}
.main .metric-card small,.main .store-health__sync small{color:#667085!important;font-size:10px!important}
.main .table-status,.main .badge,.main .ws-badge{font-weight:700}
.main a:not(.button):not(.ws-primary):not(.ws-secondary):not(.ws-danger){text-underline-offset:3px}

/* Lifecycle management */
.store-lifecycle-panel{margin:18px 0}.store-lifecycle-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.store-lifecycle-card{padding:18px;border:1px solid #dfe5ee;border-radius:16px;background:#fbfcfe}.store-lifecycle-card.is-destructive{background:#fff9f8;border-color:#fecdca}
.store-lifecycle-card h3{margin:0 0 7px;font-size:16px}.store-lifecycle-card p{margin:0 0 14px;font-size:12px;line-height:1.8}
.store-lifecycle-card form{display:grid;gap:10px}.store-lifecycle-card label,.store-unlink-form label{display:grid;gap:6px;font-size:11px;font-weight:700;color:#475467}
.store-lifecycle-card input,.store-unlink-form input{width:100%;box-sizing:border-box;min-height:42px;border:1px solid #d0d5dd;border-radius:10px;padding:8px 11px;font:inherit}
.store-detached-note,.store-delete-locked{padding:11px 12px;border-radius:11px;background:#fff7ed;color:#9a4a08;border:1px solid #fed7aa;font-size:11px;line-height:1.7}
.store-delete-locked{background:#f9fafb;color:#667085;border-color:#e4e7ec}
.store-unlink-form{display:grid;gap:9px;margin-top:8px}

@media(max-width:760px){
  .main .ws-store-title h1{font-size:22px!important}.main .ws-store-title p{font-size:11.5px!important}
  .main .ws-health strong{font-size:11.5px!important}.main .page-head p{font-size:13px!important}
  .store-lifecycle-grid{grid-template-columns:1fr}.store-lifecycle-card{padding:15px}
}
