/* Commix skin: Breeze — plain rows, the icons on their own glowing softly; the selected item a pill whose gradient fades
   out to the right, with a glowing bar at its left (Pete, 2026-11-28 — dropdown sample C). PLAN-SKINS-2026-11-28.md.
   Every rule is scoped to [data-commix-skin="breeze"]. Variables: as aurora/skin.css. */

[data-commix-skin="breeze"] {
  --commix-sk-glow: var(--commix-glow, 0.5);
  --commix-sk-grad: var(--commix-grad, 0.3);
  --commix-sk-radius: var(--commix-sidebar-radius, 10px);
  --commix-sk-control-radius: var(--commix-control-radius, 6px);
  --commix-sk-a08: color-mix(in srgb, var(--commix-accent) 8%, transparent);
  --commix-sk-a70: color-mix(in srgb, var(--commix-accent) 70%, transparent);
  --commix-sk-line: color-mix(in srgb, var(--commix-sidebar-text) 8%, transparent);
  /* The pill: the accent fading out — its strength the Gradient setting. */
  --commix-sk-pill: linear-gradient(90deg, color-mix(in srgb, var(--commix-accent) calc(8% + 30% * var(--commix-sk-grad)), transparent), transparent 85%);
}

/* The icons: no tile, in the accent, a soft glow. */
[data-commix-skin="breeze"] :is(.commix-nav-tile, .commix-dd-tile, .commix-drawer-tile) { color: var(--commix-accent); background: none; border: 0; box-shadow: none; }
[data-commix-skin="breeze"] :is(.commix-nav-tile, .commix-dd-tile, .commix-drawer-tile) svg { filter: drop-shadow(0 0 calc(6px * var(--commix-sk-glow)) var(--commix-sk-a70)); }

/* The selected item: the pill (no bar at its left — Pete, 2026-11-28). */
[data-commix-skin="breeze"] :is(.commix-nav-row.is-selected, .commix-nav-row.is-selected:hover, .commix-dd .commix-dd-item.is-selected, .commix-dd .commix-dd-item.is-selected:hover) {
  background: var(--commix-sk-pill); color: var(--commix-sidebar-text); font-weight: 500;
}
/* The open drawer (the large panels on the right): Aurora's gradient, from the top, not the pill from the left. */
[data-commix-skin="breeze"] .commix-drawer.is-open {
  background: linear-gradient(160deg, color-mix(in srgb, var(--commix-accent) calc(6% + 25% * var(--commix-sk-grad)), transparent), color-mix(in srgb, var(--commix-accent) calc(2% + 6% * var(--commix-sk-grad)), transparent) 55%);
  color: var(--commix-sidebar-text); font-weight: 500;
}

/* ── The menu ── */
/* Buttons (the contract class commix-button, on the props panel's buttons). */
[data-commix-skin="breeze"] .commix-button { border-radius: var(--commix-sk-control-radius); background-color: transparent; border-color: var(--commix-sk-line); }
[data-commix-skin="breeze"] .commix-button:hover { background-color: var(--commix-sk-a08); }
[data-commix-skin="breeze"] .commix-button:focus-visible { outline: 2px solid var(--commix-accent); outline-offset: 1px; }

[data-commix-skin="breeze"] .commix-nav-row { border-radius: var(--commix-sk-radius); color: color-mix(in srgb, var(--commix-sidebar-text) 78%, transparent); background-color: transparent; transition: background-color .2s, color .2s; }
[data-commix-skin="breeze"] .commix-nav-row:hover { background-color: var(--commix-sk-a08); color: var(--commix-sidebar-text); }
[data-commix-skin="breeze"] .commix-nav-row.Mui-focusVisible { outline: 2px solid var(--commix-accent); outline-offset: 1px; }
[data-commix-skin="breeze"] .commix-nav-dot { display: none; }
[data-commix-skin="breeze"] .commix-nav-row .commix-nav-tile.commix-nav-logo img { filter: none; }
[data-commix-skin="breeze"] .commix-star { color: var(--commix-accent); opacity: .6; }
[data-commix-skin="breeze"] .commix-star.is-on { opacity: 1; filter: drop-shadow(0 0 calc(8px * var(--commix-sk-glow)) var(--commix-sk-a70)); }

/* ── The fields: a thin line, no glass; open or focused: the accent line ── */
[data-commix-skin="breeze"] .commix-field .MuiOutlinedInput-root { border-radius: var(--commix-sk-control-radius); background-color: transparent; }
[data-commix-skin="breeze"] .commix-field .MuiOutlinedInput-notchedOutline { border-color: var(--commix-sk-line); }
[data-commix-skin="breeze"] .commix-field .MuiOutlinedInput-root:hover .MuiOutlinedInput-notchedOutline { border-color: color-mix(in srgb, var(--commix-accent) 30%, transparent); }
[data-commix-skin="breeze"] :is(.commix-field .Mui-focused .MuiOutlinedInput-notchedOutline, .commix-field.is-open .MuiOutlinedInput-notchedOutline) { border-color: var(--commix-accent); border-width: 1px; }
[data-commix-skin="breeze"] :is(.commix-field .MuiOutlinedInput-root.Mui-focused, .commix-field.is-open .MuiOutlinedInput-root) { box-shadow: 0 0 calc(18px * var(--commix-sk-glow)) -8px var(--commix-sk-a70); }
[data-commix-skin="breeze"] .commix-field :is(.MuiInputAdornment-positionStart svg, .MuiSelect-icon) { color: var(--commix-accent); }

/* ── The open list: a plain panel ── */
[data-commix-skin="breeze"] .commix-dd {
  border-radius: calc(var(--commix-sk-control-radius) + 4px);
  background-color: color-mix(in srgb, var(--commix-sidebar-bg) 94%, transparent);
  backdrop-filter: blur(18px);
  border: 1px solid color-mix(in srgb, var(--commix-sidebar-text) 12%, transparent);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .55);
}
[data-commix-skin="breeze"] .commix-dd .commix-dd-item { border-radius: calc(var(--commix-sk-control-radius) * .9); color: color-mix(in srgb, var(--commix-sidebar-text) 82%, transparent); }
[data-commix-skin="breeze"] .commix-dd .commix-dd-item:hover { background-color: var(--commix-sk-a08); }
[data-commix-skin="breeze"] .commix-dd .commix-dd-count { color: var(--commix-text-secondary); }
[data-commix-skin="breeze"] .commix-dd .commix-dd-item.is-selected .commix-dd-count { color: var(--commix-accent); }
[data-commix-skin="breeze"] .commix-dd .commix-dd-sep { border-color: var(--commix-sk-line); }

/* ── The settings drawers: separated by a line; the open one the pill ── */
[data-commix-skin="breeze"] .commix-drawer { border-radius: var(--commix-sk-radius) !important; background-color: transparent; border-color: transparent; border-bottom-color: var(--commix-sk-line); }
[data-commix-skin="breeze"] .commix-drawer-arrow { color: var(--commix-accent); }
[data-commix-skin="breeze"] .commix-drawer .MuiSlider-root { color: var(--commix-accent); }
[data-commix-skin="breeze"] .commix-drawer :is(.MuiCheckbox-root.Mui-checked, .MuiCheckbox-root.MuiCheckbox-indeterminate) { color: var(--commix-accent); }

/* ── Element skins (phase 2): the values an Element with Skin "Breeze" takes for its mapped settings ──
   As aurora/skin.css: named with the skin, declared on the Commix layers, from the active Style's tokens. */
:is(.commix-block, .commix-section, .commix-card, .commix-element-box, .commix-content, .commix-element-wrapper, .commix-page) {
  --commix-skin-breeze-surface: var(--card, #ffffff);
  --commix-skin-breeze-surface-alt: var(--muted, #f5f5f5);
  --commix-skin-breeze-border: color-mix(in srgb, var(--foreground, #0a0a0a) 10%, transparent);
  --commix-skin-breeze-highlight: color-mix(in srgb, var(--primary, #22c55e) calc(8% + 20% * var(--commix-grad, 0.3)), transparent);
  --commix-skin-breeze-button-bg: color-mix(in srgb, var(--primary, #22c55e) 16%, transparent);
  --commix-skin-breeze-button-text: var(--primary, #22c55e);
  --commix-skin-breeze-text-strong: var(--foreground, #0a0a0a);
  --commix-skin-breeze-text-muted: var(--muted-foreground, #6b6b6b);
  --commix-skin-breeze-accent-text: color-mix(in srgb, var(--primary, #22c55e) 55%, #06b6d4);
  --commix-skin-breeze-radius: 24px;
  --commix-skin-breeze-border-width: 1px;
  --commix-skin-breeze-glow: 0 10px 30px -18px rgba(0, 0, 0, 0.6);
}
