/* CIF Command UI — design tokens only (palette / radii / glass / z-tiers).
   Loaded ONLY by templates/cif_command/command_center.html. No shared-asset
   impact. Selectors/vars are CIF-Command scoped. */
:root {
  --cif-void: #06080F;
  --cif-deep: #0B1020;
  --cif-deep-2: #0E1424;
  --cif-glass: rgba(17, 26, 46, 0.72);
  --cif-glass-2: rgba(14, 20, 36, 0.62);
  --cif-line: #1E2A44;
  --cif-line-soft: rgba(30, 42, 68, 0.6);
  --cif-text: #E8EDF5;
  --cif-text-dim: #8B96AC;
  --cif-text-faint: #74829D;
  --cif-cyan: #39D6F2;
  --cif-cyan-deep: #0E7C9E;
  --cif-cyan-glow: rgba(57, 214, 242, 0.35);
  --cif-gold: #C9A24B;
  --cif-gold-bright: #E8C66B;
  --cif-success: #3DD68C;
  --cif-warn: #E8B84B;
  --cif-danger: #F2556B;

  --cif-radius: 14px;
  --cif-radius-sm: 10px;
  --cif-radius-lg: 20px;
  --cif-blur: 16px;

  --cif-bar-h: 48px;
  --cif-shelf-h: 56px;
  --cif-shelf-open-h: 280px;
  --cif-rail-w: 320px;
  --cif-rail-e-w: 360px;
  --cif-gap: 14px;
  --cif-pad: 16px;

  --z-base: 1;
  --z-rail: 20;
  --z-shelf: 50;
  --z-bar: 60;
  --z-modal: 200;

  --cif-font: "Inter", "Helvetica Neue", "Segoe UI", system-ui, -apple-system,
    "Hiragino Sans", "Noto Sans JP", sans-serif;
  --cif-mono: "JetBrains Mono", "SFMono-Regular", ui-monospace, Menlo, monospace;
}

/* Minimal reset — scoped to the command UI root, not global element selectors. */
.cifc-root, .cifc-root *, .cifc-root *::before, .cifc-root *::after {
  box-sizing: border-box;
}
.cifc-root {
  margin: 0;
  min-height: 100vh;
  font-family: var(--cif-font);
  color: var(--cif-text);
  background:
    radial-gradient(1200px 700px at 50% -10%, rgba(14, 124, 158, 0.10), transparent 60%),
    radial-gradient(900px 600px at 100% 110%, rgba(201, 162, 75, 0.06), transparent 55%),
    var(--cif-void);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.cifc-root :where(h1,h2,h3,h4,p,ul,ol,figure) { margin: 0; }
.cifc-root ul { list-style: none; padding: 0; }
.cifc-root button { font: inherit; color: inherit; cursor: pointer; }
.cifc-root a { color: var(--cif-cyan); text-decoration: none; }
