/* ELUX Dashboard UI Standard V1. Independent of the CCC theme. */
:root {
  --elux-brand: #011e41;
  --elux-brand-deep: #041e3c;
  --elux-brand-hover: #173b60;
  --elux-page: #dfe7ea;
  --elux-surface: #ffffff;
  --elux-surface-soft: #f2f4f5;
  --elux-heading: #011e41;
  --elux-text: #14293a;
  --elux-muted: #526574;
  --elux-border: #bdcbd2;
  --elux-control-border: #7c8d99;
  --elux-divider: #d5dfe4;
  --elux-success: #24684b;
  --elux-success-soft: #edf5f0;
  --elux-warning: #805514;
  --elux-warning-soft: #faf3e7;
  --elux-error: #a52b32;
  --elux-error-soft: #fcf0f0;
  --elux-disabled: #e4e9ec;
  --elux-disabled-text: #667780;
  --elux-focus: #315c86;
  --elux-font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
  --elux-content: 1440px;
  --elux-gutter: 48px;
  --elux-nav-height: 88px;
  --elux-control-height: 52px;
  --elux-radius: 2px;
  --elux-card-radius: 4px;
  --elux-shadow: 0 4px 18px rgb(4 30 60 / 4%);
}
* { box-sizing: border-box; }
html { min-width: 320px; background: var(--elux-page); color-scheme: light; }
body { margin: 0; min-height: 100vh; background: var(--elux-page); color: var(--elux-text); font: 400 16px/1.6 var(--elux-font); -webkit-font-smoothing: antialiased; }
a { color: var(--elux-brand); text-underline-offset: 4px; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--elux-focus); outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { color: var(--elux-heading); font-weight: 600; }
h1 { font-size: 36px; line-height: 1.3; letter-spacing: -.025em; }
h2 { font-size: 24px; line-height: 1.4; letter-spacing: -.015em; }
h3 { font-size: 20px; line-height: 1.5; }
.skip-link { position: fixed; top: 12px; left: 16px; z-index: 10; transform: translateY(-180%); padding: 10px 16px; background: var(--elux-surface); border: 1px solid var(--elux-brand); }
.skip-link:focus { transform: none; }
.topbar { min-height: var(--elux-nav-height); background: var(--elux-surface); border-bottom: 1px solid var(--elux-divider); }
.topbar-inner { max-width: calc(var(--elux-content) + var(--elux-gutter) * 2); margin: 0 auto; padding: 0 var(--elux-gutter); min-height: var(--elux-nav-height); display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 9px; flex-shrink: 0; color: var(--elux-brand); font-size: 24px; line-height: 1.25; letter-spacing: -.035em; font-weight: 700; text-decoration: none; }
.brand-logo { display: block; width: 176px; height: auto; flex-shrink: 0; }
.brand span { font-weight: 400; letter-spacing: -.025em; font-size: 20px; border-left: 1px solid var(--elux-border); padding-left: 20px; margin-left: 11px; }
.topbar-account { display: flex; align-items: center; justify-content: flex-end; gap: 28px; min-width: 0; }
.account-name { font-weight: 500; overflow-wrap: anywhere; }
.topbar-account form { flex-shrink: 0; margin: 0; }
.workspace { width: 100%; max-width: calc(var(--elux-content) + var(--elux-gutter) * 2); margin: 0 auto; padding: 52px var(--elux-gutter) 80px; }
.page-heading { margin-bottom: 32px; }
.eyebrow { color: var(--elux-muted); font-size: 14px; line-height: 1.5; letter-spacing: .055em; margin-bottom: 12px; }
.panel { background: var(--elux-surface); border: 1px solid var(--elux-divider); border-radius: var(--elux-card-radius); }
.analysis-panel { padding: 32px 40px; min-height: 352px; }
.section-heading { display: flex; align-items: center; gap: 20px; justify-content: space-between; }
.divider { border: 0; height: 1px; background: var(--elux-divider); margin: 24px 0; }
.empty-state { min-height: 200px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 32px; }
.empty-state h3 { color: var(--elux-muted); font-size: 16px; font-weight: 400; }
.tag { display: inline-flex; align-items: center; padding: 4px 12px; min-height: 30px; background: var(--elux-surface-soft); border: 1px solid var(--elux-divider); color: var(--elux-muted); border-radius: var(--elux-radius); font-size: 14px; line-height: 1.5; white-space: nowrap; }
.login-main { min-height: calc(100vh - var(--elux-nav-height)); display: flex; align-items: center; justify-content: center; padding: 56px 24px 80px; }
.login-panel { width: 100%; max-width: 480px; padding: 44px 44px 48px; box-shadow: var(--elux-shadow); }
.login-heading { margin-bottom: 32px; }
.login-heading h1 { margin-bottom: 12px; }
.supporting-text { color: var(--elux-muted); }
.login-form { display: grid; gap: 24px; }
.form-field { display: grid; gap: 8px; }
.form-field label { color: var(--elux-text); font-weight: 500; }
.input, .select { width: 100%; min-width: 0; height: var(--elux-control-height); padding: 12px 14px; border: 1px solid var(--elux-control-border); border-radius: var(--elux-radius); background: var(--elux-surface); color: var(--elux-text); }
.input:hover, .select:hover { border-color: var(--elux-brand); }
.input:focus, .select:focus { outline: 2px solid var(--elux-focus); outline-offset: 2px; border-color: var(--elux-brand); }
.input::placeholder { color: var(--elux-muted); opacity: 1; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: var(--elux-control-height); padding: 12px 24px; border: 1px solid transparent; border-radius: var(--elux-radius); font-size: 16px; line-height: 1.5; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; }
.button-primary { background: var(--elux-brand); border-color: var(--elux-brand); color: var(--elux-surface); }
.button-primary:hover { background: var(--elux-brand-hover); border-color: var(--elux-brand-hover); }
.button-secondary { background: var(--elux-surface); color: var(--elux-brand); border-color: var(--elux-brand); }
.button-secondary:hover { background: var(--elux-surface-soft); }
.button-full { width: 100%; margin-top: 8px; }
.button:disabled, .input:disabled, .select:disabled, [aria-disabled="true"] { background: var(--elux-disabled); color: var(--elux-disabled-text); border-color: var(--elux-border); cursor: not-allowed; box-shadow: none; }
.notice { padding: 14px 16px; border: 1px solid currentColor; border-inline-start-width: 3px; border-radius: var(--elux-radius); line-height: 1.6; overflow-wrap: anywhere; }
.notice-error { color: var(--elux-error); background: var(--elux-error-soft); }
.notice-success { color: var(--elux-success); background: var(--elux-success-soft); }
.notice-warning { color: var(--elux-warning); background: var(--elux-warning-soft); }
.login-panel .notice { margin-bottom: 24px; }
.message-panel { padding: 32px; }
/* Future basic controls share this sheet; no data or application behavior is added. */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 16px; }
.table th { background: var(--elux-surface-soft); font-weight: 600; text-align: start; }
.table td, .table th { padding: 16px 20px; border-bottom: 1px solid var(--elux-divider); }
.numeric { font-variant-numeric: tabular-nums lining-nums; }
.loading-state { color: var(--elux-muted); padding: 32px; text-align: center; }
.table-wrap { width: 100%; overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 16px; }
.table th, .table td { padding: 16px 20px; text-align: start; border-bottom: 1px solid var(--elux-divider); }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 16px; }
.table th { background: var(--elux-surface-soft); color: var(--elux-heading); font-weight: 600; }
@media (max-width: 1023px) {
  :root { --elux-gutter: 32px; }
}
@media (max-width: 639px) {
  :root { --elux-gutter: 20px; --elux-nav-height: 76px; }
  .topbar-inner { gap: 16px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; }
  .brand { font-size: 22px; }
  .brand-logo { width: 148px; }
  .brand span { font-size: 16px; padding-left: 14px; margin-left: 3px; }
  .topbar-account { width: 100%; justify-content: space-between; gap: 20px; }
  .topbar-account .button { min-height: 44px; padding: 8px 16px; }
  .workspace { padding-top: 32px; padding-bottom: 48px; }
  .page-heading { margin-bottom: 24px; }
  h1 { font-size: 28px; }
  h2 { font-size: 22px; }
  .analysis-panel { padding: 24px; min-height: 320px; }
  .section-heading { gap: 12px; flex-wrap: wrap; }
  .empty-state { padding: 24px 0; min-height: 180px; }
  .login-main { align-items: flex-start; padding: 40px 20px 48px; }
  .login-panel { padding: 32px 24px; }
  .login-heading { margin-bottom: 28px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; } }
