/* AstrAI parent-app visual layer. Loaded after retained Core structural CSS. */
:root{
  --app-primary:#00d8ff!important;
  --app-secondary:#078cff!important;
  --app-accent:#39f1ff!important;
  --app-soft:#082844!important;
  --astrai-bg:#010b19;
  --astrai-panel:#03152a;
  --astrai-panel-2:#061b33;
  --astrai-border:#174363;
  --astrai-border-soft:#123653;
  --astrai-text:#eef7ff;
  --astrai-muted:#8ba9ce;
}
html,body{background:var(--astrai-bg)!important;color:var(--astrai-text)!important}
.core-shell,.core-main,.core-page,.ag-admin-view,.ag-inner-surface{background:transparent!important;color:var(--astrai-text)!important}
.core-hero,.core-card,.core-form-card,.core-toolbar,.core-stat-card,.core-table-wrap,.core-module-page>.core-card,
.wl-card,.creative-card{background:linear-gradient(145deg,rgba(4,23,45,.98),rgba(3,17,35,.98))!important;border-color:var(--astrai-border)!important;color:var(--astrai-text)!important;box-shadow:0 18px 54px rgba(0,0,0,.22)!important}
.core-card-header,.core-card-body,.core-table thead,.core-table tbody,.core-table tr{border-color:var(--astrai-border-soft)!important}
.core-title,.core-section-title,.core-stat-value,.core-table td,.core-table th,.core-label,.core-form-section-title,.core-empty h2,
.text-slate-950,.dark\:text-white{color:var(--astrai-text)!important}
.core-subtitle,.core-section-copy,.core-stat-copy,.core-help,.core-empty p,.text-slate-400,.text-slate-500,.text-slate-600{color:var(--astrai-muted)!important}
.core-eyebrow{color:#32ddff!important}
.core-stat-icon,.core-action-icon,.core-user-avatar,.core-avatar{background:linear-gradient(145deg,#073c74,#007ec9)!important;color:#51edff!important;border:1px solid #1b6a95!important;box-shadow:0 0 24px rgba(0,216,255,.12)!important}
.core-btn-primary{background:linear-gradient(105deg,#078cff,#00d8ff)!important;color:#fff!important;border-color:transparent!important;box-shadow:0 10px 28px rgba(0,151,255,.23)!important}
.core-btn-primary:hover{filter:brightness(1.08)}
.core-btn-secondary{background:#061a31!important;color:#dbeeff!important;border-color:#1a4d73!important}
.core-btn-secondary:hover{background:#08243f!important;border-color:#2689bd!important;color:#fff!important}
.core-btn-danger{background:rgba(190,35,65,.12)!important;border-color:rgba(251,113,133,.4)!important;color:#fda4af!important}
.core-input,.core-select,.core-textarea,input.core-input,select.core-input,textarea.core-input{
  background:#04162b!important;color:#eef7ff!important;border-color:#1a466d!important;box-shadow:none!important
}
.core-input::placeholder,.core-textarea::placeholder{color:#587797!important}
.core-input:focus,.core-select:focus,.core-textarea:focus{border-color:#00cfff!important;box-shadow:0 0 0 3px rgba(0,216,255,.10)!important}
.core-table{background:transparent!important}.core-table tr:hover td{background:rgba(8,48,82,.34)!important}
.core-table thead th{background:#04162b!important;color:#7ba1c8!important}
.core-alert-warning{background:rgba(217,119,6,.10)!important;border-color:rgba(251,191,36,.35)!important;color:#fde68a!important}
.core-status-badge,.core-badge{border-color:#245a80!important}
.core-system-notices,.core-impersonation-banner{background:#061f39!important;border-color:#1f5f8b!important;color:#dff3ff!important}

/* Retained structural Agentic CSS may still define these classes; AstrAI owns final presentation. */
.core-nav-link-active,.core-nav-dropdown-link-active{background:#082f55!important;color:#fff!important}

/* Shared empty/error states */
.core-empty,.core-panel,.core-modal{background:#03152a!important;border-color:#174363!important;color:#eef7ff!important}

/* Browser-consistent scrollbar */
*{scrollbar-width:thin;scrollbar-color:#1b527e #03101f}
::-webkit-scrollbar{width:10px;height:10px}
::-webkit-scrollbar-track{background:#03101f}
::-webkit-scrollbar-thumb{background:#16466d;border-radius:999px;border:2px solid #03101f}
::-webkit-scrollbar-thumb:hover{background:#1f6794}
