/* CONSOLE theme — the UL-24 handheld's screen: near-black glass, thin graphite rules, one orange.
   Same markup and UX as the Mac look; this file only re-skins it. Turned on by <html data-theme="console">. */
html[data-theme=console]{
  --k:#E9E7E1; --w:#151517; --mute:#7E7C76; --line2:#2A2A2C;
  /* picked things take the colour of what you're working on (set by the app: layer kind or effect pack); the shell itself is grey */
  --acc:var(--pack,#8C8A85); --acc-ink:var(--pack-ink,#111112); --ui:#8C8A85; --ui-fill:#2E2E32;
  --g1:#111112; --g2:#0A0A0B; --hov:#1D1D20; --d12:#111112; --d25:#1D1D20; --d50:#0A0A0B; --stripes:none;
  --font:"JetBrains Mono","Noto Sans KR",ui-monospace,monospace; --big:var(--font); --small:var(--font);
}
html[data-theme=console] body{font:12px/1.5 var(--font);-webkit-font-smoothing:antialiased;color:var(--k)}
html[data-theme=console] *{border-color:var(--line2)!important}
html[data-theme=console] *:not(.sheet){box-shadow:none!important}
/* icons are drawn black-on-white; on glass they flip to light lines */
/* icons draw black-on-white, then flip. Their ink must be black first: on this theme --k is light, which flipped to near-black */
html[data-theme=console] .px,html[data-theme=console] .el .ops .px,html[data-theme=console] .btn .px{color:#000;filter:invert(1)}
html[data-theme=console] .brand .mark .px{color:var(--acc);filter:none}   /* orange kangaroo, white hat */

/* bars and windows */
html[data-theme=console] .top{background:#0C0C0D;border-bottom:1px solid var(--line2)}
html[data-theme=console] .brand b{font:700 13px var(--font);letter-spacing:.04em;text-transform:uppercase}
html[data-theme=console] .brand small{font-size:10.5px}
html[data-theme=console] .panel,html[data-theme=console] .stage{background:var(--g1);border:1px solid var(--line2)}
html[data-theme=console] .wtitle{background:#0C0C0D;height:24px;padding:0;justify-content:flex-start;padding-left:30px}
html[data-theme=console] .wtitle span{background:none;color:var(--acc);font-size:11px;letter-spacing:.12em;text-transform:uppercase;padding:0}
html[data-theme=console] .wtitle .close{left:10px;top:7px;width:9px;height:9px;border-radius:50%;background:var(--acc);border:0}
html[data-theme=console] .ph,html[data-theme=console] .under,html[data-theme=console] .set-foot,html[data-theme=console] .foot,html[data-theme=console] .items .group{background:var(--w)}
html[data-theme=console] .ph h2{font:700 13px/1.35 var(--font)}
html[data-theme=console] .ph p,html[data-theme=console] .cap span,html[data-theme=console] .card span,html[data-theme=console] .packs .about,html[data-theme=console] .ctl .help{color:var(--mute)}
html[data-theme=console] .items .group{text-transform:uppercase;letter-spacing:.1em;color:var(--mute);font-weight:500}
html[data-theme=console] .ctl-h span{text-transform:uppercase;letter-spacing:.05em;font-size:11px}
html[data-theme=console] .ctl{border-bottom:1px solid var(--line2)}
html[data-theme=console] .foot span{border-right:1px solid var(--line2)!important;color:var(--mute)}
html[data-theme=console] .foot span b{color:var(--acc)}

/* everything that is "picked" glows orange instead of inverting */
html[data-theme=console] .step[aria-current=true],
html[data-theme=console] .chip[aria-pressed=true],
html[data-theme=console] .it[aria-pressed=true],
html[data-theme=console] .el[aria-selected=true],
html[data-theme=console] .seg button[aria-pressed=true],
html[data-theme=console] .tile[aria-pressed=true],
html[data-theme=console] .preset[aria-pressed=true],
html[data-theme=console] .card[aria-pressed=true] b,
html[data-theme=console] .btn.primary,
html[data-theme=console] #btnCompare.on{background:var(--acc);color:var(--acc-ink)}
html[data-theme=console] .step[aria-current=true] small{color:var(--acc-ink)}
html[data-theme=console] .it[aria-pressed=true] .px,
html[data-theme=console] .el[aria-selected=true] .k .px{filter:none}
html[data-theme=console] .card[aria-pressed=true] .th{outline:2px solid var(--acc);outline-offset:1px}
html[data-theme=console] .it[aria-pressed=true]::after,html[data-theme=console] .preset[aria-pressed=true]::before{filter:none}
html[data-theme=console] .card[aria-pressed=true]::before{filter:invert(1)}
html[data-theme=console] .tile[aria-pressed=true] i{background:var(--acc-ink)}

/* controls */
html[data-theme=console] .btn{background:#1A1A1C;border-radius:3px;font-size:11.5px;letter-spacing:.04em}
html[data-theme=console] .btn:hover{background:#26262A}
html[data-theme=console] .btn.primary{outline:0;border-color:var(--acc)!important;font-weight:700}
html[data-theme=console] .btn.primary:hover{filter:brightness(1.08);background:var(--acc)}
html[data-theme=console] .chip,html[data-theme=console] .seg button,html[data-theme=console] .tile{background:#1A1A1C;border-radius:3px}
html[data-theme=console] .add{background:var(--w)}
html[data-theme=console] .add:hover,html[data-theme=console] .it:hover,html[data-theme=console] .el:hover,html[data-theme=console] .preset:hover,html[data-theme=console] .step:hover{background:var(--hov)}
html[data-theme=console] .it .ic,html[data-theme=console] .card .th,html[data-theme=console] .el .k{background:#1A1A1C}
html[data-theme=console] .card .th{background:#fff}
html[data-theme=console] .it .ic b{color:var(--k)}
html[data-theme=console] .ctl-h b{background:none;border:0;color:var(--acc);min-width:0}
html[data-theme=console] .ctl.lead{background:#1A1A1C}
html[data-theme=console] .ctl.lead .ctl-h span{background:none;color:var(--acc)}
html[data-theme=console] input[type=range]::-webkit-slider-runnable-track{height:4px;border:0;background:linear-gradient(90deg,var(--acc) var(--p),#2A2A2C var(--p))}
html[data-theme=console] input[type=range]::-webkit-slider-thumb{width:10px;height:14px;margin-top:-5px;background:var(--k);border:0;border-radius:2px}
html[data-theme=console] input[type=range]::-moz-range-track{height:4px;border:0;background:#2A2A2C}
html[data-theme=console] input[type=range]::-moz-range-progress{height:4px;background:var(--acc)}
html[data-theme=console] input[type=range]::-moz-range-thumb{background:var(--k);border:0}
html[data-theme=console] select,html[data-theme=console] textarea{background:#1A1A1C;color:var(--k);font-family:var(--font)}
html[data-theme=console] textarea{font-size:13px}
html[data-theme=console] .sw{background:#1A1A1C;width:28px;border-radius:8px}
html[data-theme=console] .sw[aria-checked=true]{background:var(--acc)}
html[data-theme=console] .sws button{border-color:#3A3A3E!important}
html[data-theme=console] .sws button[aria-pressed=true]{outline:2px solid var(--acc)}
html[data-theme=console] .pad{background:#1A1A1C}
html[data-theme=console] .pad i{background:var(--acc);border-color:var(--acc)}

/* the sheet keeps its real paper colours */
html[data-theme=console] .sheet-box{background:radial-gradient(circle at 50% 40%,#18181A,#0E0E0F)}
html[data-theme=console] .sheet{outline:1px solid #2A2A2C;box-shadow:0 10px 40px rgba(0,0,0,.6)}
html[data-theme=console] .sheet.busy::after{background:var(--acc);color:var(--acc-ink);border:0}
html[data-theme=console] .hbox{border-color:var(--acc)!important;outline:0}
html[data-theme=console] .hbox .tag{background:var(--acc);color:var(--acc-ink);border:0}
html[data-theme=console] .hbox .hd{background:var(--acc)}
html[data-theme=console] .toast{background:#1A1A1C;color:var(--k);outline:0;border:1px solid var(--acc)!important}
html[data-theme=console] .drop-hint{background:rgba(17,17,18,.92);color:var(--acc)}
html[data-theme=console] .el .k::after,html[data-theme=console] .chip i,html[data-theme=console] .step .dot{border:0}
/* on orange, icons print like ink: black lines, the white parts take the orange */
html[data-theme=console] .step[aria-current=true] .n .px{filter:none;mix-blend-mode:multiply}

/* ---------- shell in grey; colour only where it means something ---------- */
html[data-theme=console] .brand .mark .px{color:var(--ui)}
html[data-theme=console] .wtitle span{color:var(--ui)}
html[data-theme=console] .wtitle .close{background:var(--ui)}
html[data-theme=console] .step{min-width:150px;justify-content:center;padding:0 24px}
html[data-theme=console] .step .tx b{font:600 14px var(--font);letter-spacing:.04em;max-width:none}
html[data-theme=console] .step[aria-current=true]{background:var(--ui-fill);color:#fff;box-shadow:inset 0 -2px 0 var(--k)!important}
html[data-theme=console] .btn.primary{background:var(--k);color:#111112;border-color:var(--k)!important}
html[data-theme=console] .btn.primary:hover{background:#fff;filter:none}
html[data-theme=console] .foot span b{color:var(--k)}
html[data-theme=console] .sheet.busy::after{background:var(--ui-fill);color:var(--k)}
html[data-theme=console] .toast{border-color:var(--ui)!important}
html[data-theme=console] .ctl.lead .ctl-h span{color:var(--k)}

/* Text / Image / Drawing: each in its own colour */
html[data-theme=console] .add{color:var(--k);border-top:0!important;background:#151517;gap:8px;padding:14px 4px 12px}
html[data-theme=console] .add:hover{background:#1E1E21}
html[data-theme=console] .add:hover .lamp::after{box-shadow:0 0 0 3px #0B0B0C,0 0 0 4px var(--c)!important}
html[data-theme=console] .el .k{border:1px solid #2A2A2C}

/* layer buttons: square, glyph drawn (not typed) so it sits exactly in the middle */
html[data-theme=console] .el .ops button{display:flex;align-items:center;justify-content:center;padding:0;width:24px;height:24px;border:1px solid currentColor!important;border-radius:3px;background:none}
html[data-theme=console] .el .ops button .px{display:none}
html[data-theme=console] .el .ops button::before{content:"";width:12px;height:12px;background:currentColor;-webkit-mask:var(--glyph) center/contain no-repeat;mask:var(--glyph) center/contain no-repeat}
html[data-theme=console] .el .ops .up{--glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 10.5V1.8M2.4 5.2 6 1.6l3.6 3.6' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E")}
html[data-theme=console] .el .ops .dn{--glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 1.5v8.7M2.4 6.8 6 10.4l3.6-3.6' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E")}
html[data-theme=console] .el .ops .rm{--glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 2.5l7 7M9.5 2.5l-7 7' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='square'/%3E%3C/svg%3E")}
html[data-theme=console] .el .ops button:hover:not(:disabled){background:currentColor}
html[data-theme=console] .el .ops button:hover:not(:disabled)::before{background:var(--w)}
html[data-theme=console] .el[aria-selected=true] .ops button:hover:not(:disabled)::before{background:var(--acc)}
html[data-theme=console] .el .k::after{width:16px;height:16px;border-radius:50%}
html[data-theme=console] .step .fxdot{box-shadow:0 0 0 2px #0C0C0D!important}
html[data-theme=console] .it .ic:has(canvas),html[data-theme=night] .it .ic:has(canvas){background:#F2F0EA}   /* brush strokes are drawn in dark ink: give them paper */

/* hover = the colour you're working with, see-through; text stays light so it never disappears */
html[data-theme=console] .it:hover:not([aria-pressed=true]),
html[data-theme=console] .el:hover:not([aria-selected=true]),
html[data-theme=console] .preset:hover:not([aria-pressed=true]),
html[data-theme=console] .step:hover:not([aria-current=true]),
html[data-theme=console] .chip:hover:not([aria-pressed=true]),
html[data-theme=console] .seg button:hover:not([aria-pressed=true]),
html[data-theme=console] .tile:hover:not([aria-pressed=true]),
html[data-theme=console] .btn:not(.primary):hover,
html[data-theme=console] .btn:not(.primary):active{background:color-mix(in srgb,var(--acc) 24%,transparent);color:var(--k)}
html[data-theme=console] .add:hover{background:color-mix(in srgb,var(--c) 16%,transparent);color:var(--k)}
html[data-theme=console] .add:hover .lamp::after{box-shadow:inset 0 0 0 2px var(--c)!important}
html[data-theme=console] .add.on:hover .lamp::after{box-shadow:0 0 16px 3px color-mix(in srgb,var(--c) 55%,transparent)!important}
html[data-theme=console] .card:hover .th{outline:2px solid color-mix(in srgb,var(--acc) 55%,transparent);outline-offset:1px}
html[data-theme=console] .el[aria-selected=true] .k::after{box-shadow:0 0 0 2px rgba(0,0,0,.35)}

/* the picked layer: dark row, light text, its lamp lit — the lamp is the highlight, not a colour block */
html[data-theme=console] .el[aria-selected=true],
html[data-theme=console] .el[aria-selected=true]:hover{background:#1D1D20;color:var(--k)}
html[data-theme=console] .el[aria-selected=true] .nm small{color:var(--mute)}
html[data-theme=console] .el[aria-selected=true] .ops button{color:var(--k)}
html[data-theme=console] .el[aria-selected=true] .ops button:hover:not(:disabled)::before{background:#1D1D20}
html[data-theme=console] .el:hover:not([aria-selected=true]){background:color-mix(in srgb,var(--acc) 14%,transparent)}
