/* MIRA Command-mode workspace (prototype 2026-09-30): radial launcher + freeform windows.
   Same design system as the rest of MIRA (deep navy, controlled cyan, subtle glass). Hidden outside Command mode. */

body.ws-hidden .ws-layer, body.ws-hidden .ws-tray, body.ws-hidden .rl { display: none; }

/* ---------------- windows ---------------- */
.ws-layer { position: absolute; left: 0; top: 0; width: 1536px; height: 1024px; pointer-events: none; z-index: 30; }
.ws-win { position: absolute; pointer-events: auto; display: flex; flex-direction: column; border-radius: 14px;
  background: linear-gradient(180deg, rgba(12, 32, 56, .86), rgba(3, 14, 28, .92));
  border: 1px solid rgba(120, 180, 225, .28); box-shadow: 0 18px 50px rgba(0, 0, 0, .5), 0 0 0 1px rgba(0, 0, 0, .2);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: #e6f2fb; font: 400 14px/1.6 var(--f-ui);
  transition: box-shadow .3s, border-color .3s; }
/* entrances / minimize / restore / close / morphs are Web Animations from motion.js (transform + opacity only) */
.ws-win.closing, .ws-win.minimizing { pointer-events: none; }
.ws-win.minimized { visibility: hidden; pointer-events: none; }
.ws-win.focused { border-color: rgba(143, 220, 255, .5); box-shadow: 0 22px 60px rgba(0, 0, 0, .55), 0 0 26px rgba(40, 150, 255, .16); }
.ws-win.dragging { opacity: .92; cursor: grabbing; }
.ws-win.fullscreen { border-radius: 0; z-index: 90 !important; }
.ws-head { position: relative; display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 10px 0 16px; cursor: grab; flex: none;
  border-bottom: 1px solid rgba(90, 150, 200, .16); user-select: none; }
.ws-dot { width: 7px; height: 7px; border-radius: 50%; background: #5fc8ff; box-shadow: 0 0 8px rgba(95, 200, 255, .7); flex: none; }
.ws-head h3 { font: 700 14.5px/1 var(--f-hud); letter-spacing: .06em; color: #bfe6ff; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ws-ctx { font: 600 11px/1 var(--f-hud); letter-spacing: .1em; color: #6f8aa0; font-style: normal; }
.ws-btns { margin-left: auto; display: flex; gap: 2px; opacity: .35; transition: opacity .25s; }
.ws-win:hover .ws-btns, .ws-win.focused .ws-btns { opacity: 1; }
.ws-btns button, .ws-split button { all: unset; cursor: pointer; width: 28px; height: 28px; border-radius: 7px; text-align: center; line-height: 28px; font-size: 14px; color: #8fb4d0; }
.ws-btns button:hover { background: rgba(80, 160, 230, .16); color: #e6f6ff; }
.ws-btns button[data-a="close"]:hover { background: rgba(255, 91, 114, .18); color: #ffd0d6; }
.ws-split { position: absolute; right: 120px; top: 40px; display: none; gap: 4px; padding: 6px; border-radius: 10px; z-index: 3;
  background: rgba(4, 18, 34, .96); border: 1px solid rgba(120, 180, 225, .3); }
.ws-split button { width: 34px; font: 600 12px/28px var(--f-ui); }
.ws-split button:hover { background: rgba(80, 160, 230, .2); }
.ws-win.split-open .ws-split { display: flex; }
.ws-body { flex: 1; min-height: 0; overflow: auto; padding: 16px 18px; }
.ws-rs { position: absolute; z-index: 2; }
.ws-rs.rs-n, .ws-rs.rs-s { left: 12px; right: 12px; height: 8px; cursor: ns-resize; } .ws-rs.rs-n { top: -4px; } .ws-rs.rs-s { bottom: -4px; }
.ws-rs.rs-e, .ws-rs.rs-w { top: 12px; bottom: 12px; width: 8px; cursor: ew-resize; } .ws-rs.rs-e { right: -4px; } .ws-rs.rs-w { left: -4px; }
.ws-rs.rs-ne, .ws-rs.rs-nw, .ws-rs.rs-se, .ws-rs.rs-sw { width: 16px; height: 16px; }
.ws-rs.rs-ne { right: -5px; top: -5px; cursor: nesw-resize; } .ws-rs.rs-sw { left: -5px; bottom: -5px; cursor: nesw-resize; }
.ws-rs.rs-nw { left: -5px; top: -5px; cursor: nwse-resize; } .ws-rs.rs-se { right: -5px; bottom: -5px; cursor: nwse-resize; }
.ws-win:hover .ws-rs.rs-se::after { content: ""; position: absolute; right: 7px; bottom: 7px; width: 8px; height: 8px;
  border-right: 1.5px solid rgba(143, 200, 240, .45); border-bottom: 1.5px solid rgba(143, 200, 240, .45); border-radius: 0 0 3px 0; }

/* snap preview (a suggestion, never forced) */
.ws-preview { position: absolute; border-radius: 14px; pointer-events: none; opacity: 0; transition: opacity .18s, left .18s, top .18s, width .18s, height .18s;
  background: rgba(60, 170, 255, .08); border: 1px dashed rgba(143, 220, 255, .55); box-shadow: inset 0 0 40px rgba(60, 170, 255, .12); }
.ws-preview.on { opacity: 1; }
.ws-preview.kind-magnet { border-style: solid; background: rgba(60, 170, 255, .05); }

/* minimized windows: small chips, only while something is minimized (no permanent dock) */
.ws-tray { position: absolute; left: 318px; top: 868px; display: flex; gap: 8px; z-index: 31; opacity: 0; pointer-events: none; transition: opacity .3s; }
.ws-tray.on { opacity: 1; pointer-events: auto; }
.ws-chip { all: unset; cursor: pointer; display: flex; align-items: center; gap: 7px; height: 26px; padding: 0 12px; border-radius: 13px;
  font: 500 12px/1 var(--f-ui); color: #cfe6f7; background: rgba(8, 26, 46, .82); border: 1px solid rgba(120, 180, 225, .3); }
.ws-chip i { width: 6px; height: 6px; border-radius: 50%; background: #5fc8ff; }
.ws-chip:hover { border-color: rgba(143, 220, 255, .7); }

/* window content */
.ws-new { all: unset; box-sizing: border-box; cursor: pointer; display: block; width: 100%; padding: 12px 14px; margin-bottom: 12px; border-radius: 10px;
  border: 1px dashed rgba(120, 180, 225, .45); color: #bfe6ff; font: 600 14px/1.3 var(--f-ui); }
.ws-new b { color: #8fe6ff; margin-right: 6px; } .ws-new small { display: block; margin-top: 3px; font: 400 11.5px/1.3 var(--f-ui); color: #6f8aa0; }
.ws-new:hover { background: rgba(60, 150, 230, .1); }
.ws-list { display: grid; gap: 8px; }
.ws-proj { all: unset; box-sizing: border-box; cursor: pointer; display: grid; gap: 3px; padding: 12px 14px; border-radius: 10px;
  background: rgba(10, 36, 64, .45); border: 1px solid rgba(90, 150, 200, .18); transition: border-color .25s, background .25s, transform .25s; }
.ws-proj:hover { border-color: rgba(143, 220, 255, .55); background: rgba(20, 60, 100, .45); transform: translateX(2px); }
.ws-proj.attn { border-left: 3px solid #ffbf4d; }
.ws-pn { font: 600 15px/1.3 var(--f-ui); color: #eaf5ff; }
.ws-tag { margin-left: 8px; padding: 1px 6px; border-radius: 6px; font: 500 10.5px/1.4 var(--f-ui); color: #ffcf7a; border: 1px solid rgba(255, 191, 77, .45); }
.ws-ps { font: 400 12.5px/1.4 var(--f-ui); color: #9fb8cc; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ws-pm { display: flex; font: 500 11.5px/1.3 var(--f-ui); color: #6f8aa0; } .ws-pm time { margin-left: auto; }
.ws-lead { font: 400 15px/1.7 var(--f-ui); color: #eaf5ff; margin-bottom: 10px; }
.ws-body h4 { font: 700 12px/1 var(--f-hud); letter-spacing: .1em; color: #86bfe8; margin: 14px 0 6px; }
.ws-body ul { list-style: none; padding: 0; margin: 0; } .ws-body li { padding: 5px 0 5px 14px; position: relative; border-bottom: 1px solid rgba(80, 125, 160, .14); }
.ws-body li::before { content: ""; position: absolute; left: 0; top: 13px; width: 5px; height: 5px; border-radius: 50%; background: #5db7ff; }
.ws-jobs li small { display: block; color: #6f8aa0; font-size: 11.5px; } .ws-jobs li.attn::before { background: #ffbf4d; }
.ws-muted { color: #6f8aa0; font-size: 12.5px; }
.ws-actions { display: flex; gap: 8px; margin-top: 14px; }
.ws-actions button { all: unset; cursor: pointer; padding: 8px 14px; border-radius: 9px; font: 500 13px/1 var(--f-ui); color: #dff2ff; background: rgba(40, 110, 170, .3); border: 1px solid rgba(120, 180, 225, .35); }
.ws-actions button:hover { border-color: rgba(143, 220, 255, .7); }
.ws-frame { width: 100%; height: 100%; border: 0; border-radius: 8px; background: #020a14; }
/* command center windows: development handoffs (MIRA prepares, Claude executes) */
.ws-hand { margin: 10px 0; border-radius: 10px; border: 1px solid rgba(90, 150, 200, .22); background: rgba(10, 36, 64, .4); }
.ws-hhead { all: unset; box-sizing: border-box; cursor: pointer; display: flex; gap: 8px; align-items: center; width: 100%; padding: 10px 12px; font: 500 13px/1.4 var(--f-ui); color: #dcefff; }
.ws-hhead b { color: #8fe6ff; font-family: var(--f-hud); letter-spacing: .06em; }
.ws-hhead span { margin-left: auto; font-size: 11.5px; color: #ffcf7a; white-space: nowrap; }
.ws-hand pre { display: none; margin: 0 12px; padding: 10px 12px; border-radius: 8px; background: rgba(2, 10, 20, .7); color: #cfe6f7;
  font: 12px/1.6 var(--f-ui); white-space: pre-wrap; max-height: 300px; overflow: auto; }
.ws-hand .ws-actions { display: none; margin: 10px 12px 12px; }
.ws-hand.open pre, .ws-hand.open .ws-actions { display: block; }
.ws-body code { font-size: 12px; color: #9fe8ff; }
/* Voice Library */
.ws-voice { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: rgba(10, 36, 64, .45); border: 1px solid rgba(90, 150, 200, .18); }
.ws-voice.on { border-color: rgba(143, 220, 255, .65); box-shadow: 0 0 14px rgba(53, 200, 255, .2); }
.ws-voice > div { flex: 1; min-width: 0; } .ws-voice b { font: 600 14.5px/1.3 var(--f-ui); color: #eaf5ff; }
.ws-voice span { display: block; font: 400 12px/1.4 var(--f-ui); color: #9fb8cc; }
.ws-voice nav, .ws-abc div { display: flex; gap: 6px; flex: none; }
.ws-voice button, .ws-abc button { all: unset; cursor: pointer; padding: 5px 9px; border-radius: 7px; font: 500 12px/1 var(--f-ui); color: #dff2ff; background: rgba(40, 110, 170, .3); border: 1px solid rgba(120, 180, 225, .35); white-space: nowrap; }
.ws-voice button:hover, .ws-abc button:hover { border-color: rgba(143, 220, 255, .75); }
.ws-voice.on [data-use] { color: #8fe6ff; border-color: rgba(143, 220, 255, .6); }
.ws-knobs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; }
.ws-knobs label { display: flex; justify-content: space-between; align-items: center; gap: 8px; font: 500 12.5px/1.3 var(--f-ui); color: #bcd6ea; }
.ws-knobs select { background: rgba(4, 18, 34, .9); color: #e6f2fb; border: 1px solid rgba(120, 180, 225, .35); border-radius: 6px; padding: 3px 6px; font: 12px var(--f-ui); }
.ws-abc > div { align-items: center; padding: 6px 0; border-bottom: 1px solid rgba(80, 125, 160, .14); }
.ws-abc > div > span { flex: 1; font: 400 12.5px/1.4 var(--f-ui); color: #cfe6f7; }
/* Voice Mood: presets, quick moods, sliders */
.ws-vnow { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 10px 12px; border-radius: 10px; background: rgba(10, 36, 64, .45);
  border: 1px solid rgba(143, 220, 255, .35); font: 500 13px/1.5 var(--f-ui); color: #cfe6f7; }
.ws-vnow b { color: #8fe6ff; } .ws-vnow button { margin-left: auto; }
.ws-vpre, .ws-vmood { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.ws-vnow button, .ws-vpre button, .ws-vmood button { all: unset; cursor: pointer; padding: 6px 11px; border-radius: 16px; font: 500 12.5px/1 var(--f-ui); color: #dff2ff;
  background: rgba(40, 110, 170, .28); border: 1px solid rgba(120, 180, 225, .35); }
.ws-vpre button.on { background: rgba(60, 170, 240, .45); border-color: #9fe6ff; color: #fff; }
.ws-vpre small { color: #ffcf7a; } .ws-vpre button:hover, .ws-vmood button:hover, .ws-vnow button:hover { border-color: rgba(160, 230, 255, .8); }
.ws-vsl { display: grid; gap: 7px; }
.ws-vsl label { display: grid; grid-template-columns: 96px 78px 1fr 92px; align-items: center; gap: 8px; font: 500 12.5px/1.2 var(--f-ui); color: #cfe6f7; }
.ws-vsl em { font-style: normal; font-size: 11.5px; color: #8fb4d0; } .ws-vsl em:last-child { text-align: left; }
.ws-vsl label em:nth-of-type(1) { text-align: right; }
.ws-vsl input[type=range] { width: 100%; accent-color: #5fc8ff; }
/* AI provider status */
.ws-prov { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; padding: 11px 13px; border-radius: 10px; background: rgba(10, 36, 64, .45); border: 1px solid rgba(90, 150, 200, .2); }
.ws-prov b { font: 600 15px/1.2 var(--f-ui); color: #eaf5ff; } .ws-prov small { margin-left: 8px; font: 500 11.5px var(--f-ui); color: #8fb4d0; }
.ws-prov p, .ws-prov em { grid-column: 1 / -1; margin: 0; font: 400 12px/1.45 var(--f-ui); color: #9fb8cc; } .ws-prov em { font-style: normal; color: #bcd6ea; }
.ws-pst { align-self: center; padding: 3px 9px; border-radius: 10px; font: 700 11px/1.3 var(--f-hud); letter-spacing: .08em; }
.ws-pst.ok { color: #7dffb0; border: 1px solid rgba(90, 230, 150, .5); } .ws-pst.off { color: #9fb8cc; border: 1px solid rgba(140, 170, 200, .4); }
.ws-pst.bad { color: #ff9aa8; border: 1px solid rgba(255, 110, 130, .55); } .ws-pst.warn { color: #ffcf7a; border: 1px solid rgba(255, 190, 90, .55); }
.ws-vabc summary { cursor: pointer; margin-top: 12px; font: 700 12px/1 var(--f-hud); letter-spacing: .08em; color: #86bfe8; }
.ws-win .ws-body:has(.ws-frame) { padding: 0; }

/* ---------------- radial launcher: MIRA's CORE becomes the launcher (2026-10-02) ----------------
   The CORE glides to the command position and is the launcher's centre; the cylinder (glass body, seats, flutes,
   index notches), the chambers (glass modules) and the outer mechanical ring use MIRA's own glass + cyan line work.
   Background reaction: a radial dim from the CORE (clear around it), particles drawn in, scanning arcs to the header,
   a lit header edge. */
body.rl-anim .core-group { transition: transform .62s cubic-bezier(.3, .7, .2, 1); }
body.rl-cmd.mode-ambient .core-group { transform: translate(-2px, 153px) scale(1.2); }
.rl { position: absolute; left: 0; top: 0; width: 1536px; height: 1024px; z-index: 60; pointer-events: none; opacity: 0; transition: opacity .32s ease;
  background: radial-gradient(circle at 768px 486px, rgba(1, 6, 14, 0) 0, rgba(1, 6, 14, 0) 150px, rgba(1, 6, 14, .42) 300px,
              rgba(1, 6, 14, .66) 470px, rgba(1, 5, 12, .8) 820px); }
.rl.on { opacity: 1; pointer-events: auto; }
.app-header::after { content: ""; position: absolute; left: 0; top: 0; width: 1536px; height: 110px; pointer-events: none; opacity: 0; transition: opacity .5s ease;
  background: radial-gradient(520px 96px at 768px 0, rgba(60, 185, 255, .2), rgba(60, 185, 255, 0) 72%),
              linear-gradient(90deg, rgba(95, 200, 255, 0) 8%, rgba(95, 200, 255, .38) 50%, rgba(95, 200, 255, 0) 92%) 0 86px / 100% 1px no-repeat; }
body.rl-open .app-header::after { opacity: 1; }
body.rl-open .amb-hint { opacity: 0 !important; transition: opacity .2s; }     /* the idle hint steps aside for the cylinder */
.rl-scan { position: absolute; left: 0; top: 0; width: 1536px; height: 1024px; pointer-events: none; overflow: visible; }
.rl-scanp { fill: none; stroke: #6fd4ff; stroke-width: 1.3; stroke-linecap: round; filter: drop-shadow(0 0 4px rgba(60, 185, 255, .8)); }
.rl-parts { position: absolute; left: 0; top: 0; pointer-events: none; }
.rl-p { position: absolute; left: -2px; top: -2px; width: 4px; height: 4px; border-radius: 50%; background: #cdf5ff; box-shadow: 0 0 6px 1px rgba(80, 200, 255, .8); }
.rl-asm { position: absolute; left: 0; top: 0; width: 0; height: 0; transform-origin: 0 0; }
.rl-outer, .rl-body { position: absolute; left: -430px; top: -430px; width: 860px; height: 860px; overflow: visible; will-change: transform, opacity; pointer-events: none; }
.rl-band { fill: none; stroke: rgba(4, 16, 30, .6); }
.rl-edge { fill: none; stroke: rgba(95, 200, 255, .45); stroke-width: 1.4; }
.rl-edge-o { stroke: rgba(130, 215, 255, .7); stroke-width: 1.8; filter: drop-shadow(0 0 4px rgba(53, 200, 255, .55)); }
.rl-ticks { stroke: rgba(111, 212, 255, .38); stroke-width: 1.1; }
.rl-ticks-l { stroke: rgba(191, 242, 255, .8); stroke-width: 1.8; }
.rl-accent { fill: none; stroke: #6fd4ff; stroke-width: 3; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(53, 200, 255, .9)); }
.rl-disc { stroke: rgba(111, 212, 255, .7); stroke-width: 1.8; filter: drop-shadow(0 0 10px rgba(53, 200, 255, .35)); }
.rl-disc-in { fill: none; stroke: rgba(95, 200, 255, .32); stroke-width: 1.1; }
.rl-seat { stroke: rgba(95, 200, 255, .32); stroke-width: 1.3; }
.rl-flute { fill: rgba(1, 8, 16, .85); stroke: rgba(95, 200, 255, .42); stroke-width: 1.1; }
.rl-index { fill: rgba(191, 242, 255, .75); }
/* energy layers shared with the CORE: glowing chamber orbit, slowly turning arcs, drifting motes, a halo from the CORE */
.rl-orbit { fill: none; stroke: rgba(111, 212, 255, .38); stroke-width: 1.2; stroke-dasharray: 2 7; filter: drop-shadow(0 0 4px rgba(53, 200, 255, .7)); }
.rl-arc { fill: none; stroke: rgba(130, 222, 255, .7); stroke-width: 1.6; stroke-linecap: round; filter: drop-shadow(0 0 5px rgba(53, 200, 255, .85)); }
.rl-spin { transform-origin: 0 0; animation: rlSpin 14s linear infinite; }
.rl-spin2 { transform-origin: 0 0; animation: rlSpin 22s linear infinite reverse; }
.rl-motes { transform-origin: 0 0; animation: rlSpin 40s linear infinite reverse; }
.rl-mote { fill: #cdf5ff; animation: rlTw 3.6s ease-in-out infinite; }
@keyframes rlSpin { to { transform: rotate(360deg); } }
@keyframes rlTw { 0%, 100% { opacity: .15; } 50% { opacity: .85; } }
.rl-halo { position: absolute; left: 0; top: 0; width: 900px; height: 900px; border-radius: 50%; pointer-events: none; will-change: transform, opacity;
  background: radial-gradient(circle, rgba(53, 200, 255, .22) 0, rgba(53, 200, 255, .12) 30%, rgba(40, 150, 255, .06) 45%, rgba(30, 120, 255, 0) 62%); }
@media (prefers-reduced-motion: reduce) { .rl-spin, .rl-spin2, .rl-motes, .rl-mote { animation: none; } }
.rl-chambers { position: absolute; left: 0; top: 0; }
.rl-ch { all: unset; box-sizing: border-box; position: absolute; left: 0; top: 0; width: 136px; height: 136px; border-radius: 50%; cursor: pointer;
  will-change: transform, opacity; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding: 0 14px;
  background: radial-gradient(circle at 50% 45%, rgba(46, 140, 215, .42) 0, rgba(16, 60, 104, .62) 46%, rgba(5, 22, 42, .82) 78%, rgba(10, 44, 78, .86) 100%);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .45), inset 0 0 22px rgba(53, 200, 255, .22), inset 0 1.5px 0 rgba(190, 236, 255, .32), 0 0 20px rgba(53, 200, 255, .22);
  transition: box-shadow .2s, background .2s; }
.rl-rim { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(120, 205, 250, .62); pointer-events: none; transition: border-color .2s, box-shadow .2s; }
.rl-bore { position: absolute; inset: 9px; border-radius: 50%; border: 1px solid rgba(111, 212, 255, .42); pointer-events: none;
  box-shadow: 0 0 8px rgba(53, 200, 255, .3), inset 0 0 10px rgba(53, 200, 255, .18);
  background: radial-gradient(circle at 50% 40%, rgba(120, 210, 255, .07), rgba(0, 0, 0, .1) 72%); }
.rl-ch svg { position: relative; width: 30px; height: 30px; flex: none; fill: none; stroke: #e9f7ff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 0 4px rgba(80, 200, 255, .45)); }
.rl-ch em { position: relative; max-width: 108px; font-style: normal; font-family: var(--f-ui); font-weight: 700; line-height: 1.45; letter-spacing: .02em;
  color: #f2faff; text-align: center; white-space: nowrap; text-shadow: 0 0 8px rgba(60, 170, 255, .35), 0 1px 2px rgba(0, 8, 20, .9); }
.rl-ch em.two { white-space: normal; word-break: keep-all; overflow-wrap: anywhere; }
.rl-ch.hover { background: radial-gradient(circle at 50% 30%, rgba(52, 118, 172, .98) 0, rgba(20, 58, 96, .96) 52%, rgba(6, 22, 40, .97) 100%);
  box-shadow: 0 16px 30px rgba(0, 0, 0, .6), inset 0 1.5px 0 rgba(210, 244, 255, .45), inset 0 -10px 18px rgba(0, 0, 0, .35), 0 0 26px rgba(53, 200, 255, .5); }
.rl-ch.hover .rl-rim { border-color: #bff2ff; box-shadow: 0 0 10px rgba(110, 215, 255, .75); }
.rl-ch.engaged { background: radial-gradient(circle at 50% 30%, rgba(90, 170, 230, 1) 0, rgba(34, 96, 150, .98) 50%, rgba(10, 36, 64, .98) 100%);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .55), inset 0 2px 0 rgba(235, 250, 255, .6), 0 0 36px rgba(53, 200, 255, .9); }
.rl-ch.engaged .rl-rim { border: 3px solid #e6fbff; box-shadow: 0 0 14px rgba(140, 225, 255, .95); }
.rl-ch.engaged .rl-bore { border: 2px dashed rgba(215, 248, 255, .95); animation: rlLock .38s cubic-bezier(.2, .8, .3, 1) both; }
@keyframes rlLock { from { transform: rotate(-60deg) scale(1.12); opacity: .2; } to { transform: none; opacity: 1; } }
.rl-hub { all: unset; position: absolute; left: 0; top: 0; cursor: pointer; width: 92px; height: 26px; border-radius: 13px; text-align: center;
  font: 700 10.5px/26px var(--f-hud); letter-spacing: .2em; color: #cfeeff; background: rgba(4, 18, 34, .72); border: 1px solid rgba(111, 212, 255, .55); }
.rl-hub:hover { color: #ffffff; border-color: #bff2ff; box-shadow: 0 0 12px rgba(53, 200, 255, .5); }
/* the CORE reacts: brighter, the globe steps further back */
body.rl-open .core-group { filter: brightness(1.12) saturate(1.1); transition: filter .5s ease; }
.core-group { transition: filter .5s ease; }
body.ws-focus-pulse .core-group { animation: wsPulse .7s ease; }
@keyframes wsPulse { 0% { filter: none; } 40% { filter: brightness(1.12); } 100% { filter: none; } }

/* ---------------- window motion effects (motion.js) — sized to read at normal speed ---------------- */
.mt-fx { position: absolute; left: 0; top: 0; width: 1536px; height: 1024px; pointer-events: none; z-index: 65; }
.mt-trace { position: absolute; left: 0; top: 0; width: 0; height: 0; will-change: transform; }
.mt-trace b { position: absolute; left: -28px; top: -28px; width: 56px; height: 56px; border-radius: 50%;
  background: radial-gradient(circle, #ffffff 0, #d6f6ff 26%, rgba(110, 210, 255, .85) 48%, rgba(40, 160, 255, .25) 68%, rgba(31, 168, 255, 0) 76%);
  box-shadow: 0 0 34px 14px rgba(80, 200, 255, .55), 0 0 80px 26px rgba(40, 150, 255, .28); }
.mt-trace i { position: absolute; right: 0; top: -7px; width: 300px; height: 14px; border-radius: 7px; transform-origin: 100% 50%;
  background: linear-gradient(90deg, rgba(60, 180, 255, 0), rgba(120, 215, 255, .55) 55%, rgba(225, 248, 255, 1)); filter: blur(1.2px);
  box-shadow: 0 0 16px rgba(80, 200, 255, .6); }
.mt-trace svg { position: absolute; left: -17px; top: -17px; width: 34px; height: 34px; fill: none; stroke: #03203c; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.mt-trace.voice b { left: -34px; top: -34px; width: 68px; height: 68px; }
.mt-trace.voice i { width: 380px; height: 16px; top: -8px; }
.mt-echo { position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%; will-change: transform, opacity;
  background: radial-gradient(circle, #e8faff 0, rgba(110, 210, 255, .8) 45%, rgba(40, 160, 255, 0) 72%); }
.mt-ghost { position: absolute; border-radius: 14px; will-change: transform, opacity;
  border: 1.5px solid rgba(160, 230, 255, .9); background: rgba(60, 170, 255, .1);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .3), 0 0 30px rgba(70, 190, 255, .55), inset 0 0 50px rgba(60, 170, 255, .22); }
.mt-land { position: absolute; left: 0; top: 0; width: 200px; height: 200px; margin: -100px 0 0 -100px; border-radius: 50%;
  border: 2px solid rgba(200, 242, 255, .95); box-shadow: 0 0 34px rgba(80, 200, 255, .8), inset 0 0 26px rgba(80, 200, 255, .45); }
.mt-flash { position: absolute; left: 0; top: 0; width: 260px; height: 260px; margin: -130px 0 0 -130px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .9) 0, rgba(170, 238, 255, .6) 25%, rgba(60, 180, 255, .2) 50%, rgba(30, 140, 255, 0) 70%); }
.mt-ring { position: absolute; left: 0; top: 0; width: 200px; height: 200px; margin: -100px 0 0 -100px; border-radius: 50%;
  border: 2px solid rgba(175, 236, 255, .95); box-shadow: 0 0 30px rgba(60, 180, 255, .6), inset 0 0 22px rgba(60, 180, 255, .4); }
.mt-ring.voice { border-width: 2.5px; }
.mt-morph { position: absolute; will-change: transform, opacity; transform-origin: 50% 50%;
  border: 2px solid rgba(190, 240, 255, .95); background: radial-gradient(ellipse at 50% 50%, rgba(80, 190, 255, .28), rgba(20, 90, 160, .14) 70%);
  box-shadow: 0 0 30px rgba(53, 200, 255, .7), inset 0 0 40px rgba(53, 200, 255, .35); }
.mt-morph-ic { position: absolute; left: -20px; top: -20px; width: 40px; height: 40px; will-change: transform, opacity; }
.mt-morph-ic svg { width: 40px; height: 40px; fill: none; stroke: #e8faff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(80, 210, 255, 1)); }
/* every open window stays connected to MIRA (links from the CORE), the focused one most clearly */
.ws-links { position: absolute; left: 0; top: 0; width: 1536px; height: 1024px; pointer-events: none; overflow: visible; transition: opacity .3s; z-index: 9000; }
body.rl-open .ws-links { opacity: 0; }
.ws-link { fill: none; stroke: rgba(111, 212, 255, .42); stroke-width: 1.3; filter: drop-shadow(0 0 3px rgba(53, 200, 255, .6)); }
.ws-port { fill: none; stroke: rgba(150, 228, 255, .55); stroke-width: 2.2; stroke-linecap: round; filter: drop-shadow(0 0 5px rgba(53, 200, 255, .8)); }
.ws-port.focused { stroke: rgba(205, 245, 255, .95); }
.ws-link-p { fill: none; stroke: rgba(170, 236, 255, .55); stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: 10 260; animation: wsPulseRun 3.2s linear infinite; }
.ws-link-dot { fill: rgba(140, 225, 255, .45); }
.ws-links g.focused .ws-link { stroke: rgba(150, 228, 255, .7); filter: drop-shadow(0 0 4px rgba(53, 200, 255, .85)); }
.ws-links g.focused .ws-link-p { stroke: rgba(210, 246, 255, .9); animation-duration: 2.2s; }
.ws-link-dot.focused { fill: #bff2ff; filter: drop-shadow(0 0 4px rgba(53, 200, 255, .9)); }
@keyframes wsPulseRun { from { stroke-dashoffset: 270; } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .ws-link-p { animation: none; opacity: 0; } }
.ws-win:not(.focused) { opacity: .9; }
.ws-win:not(.focused) .ws-head h3 { color: #93bcd8; }
.mt-bar { position: absolute; height: 4px; border-radius: 2px; will-change: transform, opacity;
  background: linear-gradient(90deg, rgba(120, 215, 255, 0), #e6f8ff 12%, #ffffff 50%, #e6f8ff 88%, rgba(120, 215, 255, 0));
  box-shadow: 0 0 18px 4px rgba(90, 200, 255, .75); }

/* developer review bar */
.ws-review { position: fixed; left: 16px; bottom: 16px; z-index: 2000; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px;
  background: rgba(4, 18, 34, .92); border: 1px solid rgba(120, 180, 225, .4); color: #cfe6f7; font: 500 13px/1 system-ui, sans-serif; }
.ws-review b { color: #8fe6ff; letter-spacing: .1em; font-size: 11px; }
.ws-review button { all: unset; cursor: pointer; width: 26px; height: 26px; border-radius: 6px; text-align: center; line-height: 26px; background: rgba(40, 110, 170, .35); }

/* REVENUE / 収益化 window (2026-10-05) */
.rv-tabs { display: flex; flex-wrap: wrap; gap: 4px; margin: -4px 0 12px; }
.rv-tabs button { all: unset; cursor: pointer; padding: 6px 11px; border-radius: 8px; font: 500 12.5px/1 var(--f-ui); color: #9fc2dc; border: 1px solid rgba(110, 165, 210, .22); }
.rv-tabs button.on { color: #eaf7ff; background: rgba(40, 110, 170, .35); border-color: rgba(143, 220, 255, .55); }
.rv-pane h4 { margin: 16px 0 6px; font: 600 12.5px var(--f-ui); color: #8fdcff; letter-spacing: .04em; }
.rv-pane h5 { margin: 10px 0 4px; font: 600 12.5px var(--f-ui); color: #d6ecff; }
.rv-pane p, .rv-pane li { font: 400 12.5px/1.55 var(--f-ui); color: #c8dcec; }
.rv-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 8px; }
.rv-tiles div { padding: 10px; border-radius: 10px; background: rgba(10, 36, 64, .45); border: 1px solid rgba(90, 150, 200, .2); }
.rv-tiles em { display: block; font: 500 11px var(--f-ui); font-style: normal; color: #8fb4d0; } .rv-tiles b { font: 600 20px/1.3 var(--f-hud); color: #eaf5ff; }
.rv-loop { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 12px 0 4px; list-style: none; }
.rv-loop li { padding: 3px 9px; border-radius: 10px; font-size: 11.5px; color: #8fa9bf; border: 1px dashed rgba(120, 160, 200, .35); }
.rv-loop li.done { color: #7dffb0; border: 1px solid rgba(90, 230, 150, .45); }
.rv-next { padding: 9px 12px; border-left: 2px solid #8fdcff; background: rgba(30, 90, 140, .18); }
.rv-card { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; padding: 10px 12px; border-radius: 10px; cursor: pointer; background: rgba(10, 36, 64, .45); border: 1px solid rgba(90, 150, 200, .2); }
.rv-card:hover { border-color: rgba(143, 220, 255, .45); }
.rv-card b { font: 600 13.5px/1.35 var(--f-ui); color: #eaf5ff; } .rv-card small { display: block; font: 500 11.5px var(--f-ui); color: #8fb4d0; }
.rv-card p, .rv-card .rv-dec, .rv-card .rv-note { grid-column: 1 / -1; margin: 0; }
.rv-st { align-self: start; padding: 2px 8px; border-radius: 9px; font: 600 11px/1.4 var(--f-ui); color: #bcd6ea; border: 1px solid rgba(140, 170, 200, .4); white-space: nowrap; }
.rv-st.rv-ready_for_approval { color: #ffd27a; border-color: rgba(255, 200, 100, .5); } .rv-st.rv-approved, .rv-st.rv-published, .rv-st.rv-measure { color: #7dffb0; border-color: rgba(90, 230, 150, .5); }
.rv-st.rv-needs_improvement, .rv-st.rv-rejected { color: #ff9a9a; border-color: rgba(255, 120, 120, .45); }
.rv-note, .rv-form input, .rv-form select, .rv-csv { box-sizing: border-box; width: 100%; padding: 6px 8px; border-radius: 7px; font: 400 12.5px var(--f-ui); color: #eaf5ff; background: rgba(5, 20, 38, .6); border: 1px solid rgba(110, 165, 210, .3); }
.rv-dec, .rv-ab { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.rv-dec button, .rv-ab button, .rv-form button, .rv-back { all: unset; cursor: pointer; padding: 6px 12px; border-radius: 8px; font: 500 12.5px/1.2 var(--f-ui); color: #dff2ff; background: rgba(40, 110, 170, .3); border: 1px solid rgba(120, 180, 225, .35); }
.rv-dec button[data-dec=approve] { background: rgba(40, 150, 100, .35); } .rv-dec button[data-dec=reject] { background: rgba(160, 50, 60, .3); }
.rv-ab { margin: 6px 0; } .rv-ab em { min-width: 80px; font: 600 12px var(--f-ui); font-style: normal; color: #8fdcff; }
.rv-ab button.on { border-color: #8fdcff; background: rgba(60, 140, 200, .45); } .rv-ab small { font-size: 11px; color: #8fa9bf; margin-left: 6px; }
.rv-qa li.ng { color: #ff9a9a; } .rv-qa li.ok { color: #9fe8bf; }
.rv-files, .rv-qa, .rv-ver { padding-left: 18px; margin: 4px 0; } .rv-files code { font-size: 11.5px; color: #bcd6ea; }
.rv-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; align-items: end; margin: 8px 0; }
.rv-form label { display: grid; gap: 3px; font: 500 11.5px var(--f-ui); color: #8fb4d0; } .rv-chk { display: flex !important; align-items: center; gap: 6px; }
.rv-chk input { width: auto; }
.rv-tbl { width: 100%; border-collapse: collapse; font: 400 12px/1.4 var(--f-ui); color: #c8dcec; }
.rv-tbl th, .rv-tbl td { padding: 5px 6px; border-bottom: 1px solid rgba(90, 150, 200, .16); text-align: left; vertical-align: top; }
.rv-tbl th { color: #8fb4d0; font-weight: 600; } .rv-tbl small { display: block; color: #6f8aa0; font-size: 10.5px; }
.rv-post { white-space: pre-wrap; margin: 8px 0 2px; padding: 9px 11px; border-radius: 8px; font: 400 12.5px/1.55 var(--f-ui); color: #e3f1fc; background: rgba(5, 20, 38, .55); }
.rv-sns { margin: 8px 0; padding: 8px 10px; border-radius: 10px; border: 1px solid rgba(90, 150, 200, .2); } .rv-sns summary { cursor: pointer; font: 600 13px var(--f-ui); color: #eaf5ff; }
.rv-plan { list-style: none; padding: 0; display: grid; gap: 6px; }
.rv-plan li { padding: 8px 11px; border-radius: 9px; border: 1px solid rgba(90, 150, 200, .2); } .rv-plan li em { display: inline-block; min-width: 92px; font-style: normal; color: #8fb4d0; }
.rv-plan li.done { border-color: rgba(90, 230, 150, .45); color: #9fe8bf; } .rv-plan li.now { border-color: rgba(143, 220, 255, .7); background: rgba(30, 90, 140, .22); }

/* REVENUE — 承認バンドル */
.rv-bhead { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: rgba(10, 36, 64, .55); border: 1px solid rgba(255, 200, 100, .45); }
.rv-bhead em { font: 700 11px/1 var(--f-hud); letter-spacing: .1em; color: #ffd27a; font-style: normal; }
.rv-bhead h3 { margin: 6px 0 4px; font: 600 17px/1.4 var(--f-ui); color: #eaf5ff; } .rv-bhead p { margin: 0; }
.rv-price { font: 600 26px/1 var(--f-hud); color: #eaf5ff; text-align: right; white-space: nowrap; } .rv-price small { display: block; font: 500 11px var(--f-ui); color: #8fb4d0; margin-top: 4px; }
.rv-video { width: 100%; border-radius: 10px; background: #000; border: 1px solid rgba(90, 150, 200, .3); }
.rv-vlist { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; font-size: 12px; }
.rv-pane a { color: #8fdcff; }
.rv-stills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.rv-stills a { display: block; text-decoration: none; } .rv-stills img { width: 100%; border-radius: 6px; border: 1px solid rgba(90, 150, 200, .3); display: block; }
.rv-stills span { display: block; font-size: 11px; color: #9fb8cc; margin-top: 3px; }
.rv-bitem .rv-dec { margin-top: 6px; }
.rv-pane details { margin: 6px 0; } .rv-pane summary { cursor: pointer; color: #bcd6ea; font-size: 12.5px; }
.rv-ok { color: #7dffb0; } .rv-ng { color: #ffb37a; }
.rv-series { display: block; font: 600 11.5px var(--f-ui); color: #8fdcff; margin-top: 4px; }
.rv-secnav { position: sticky; top: -2px; z-index: 2; display: flex; flex-wrap: wrap; gap: 4px; padding: 6px 0; background: rgba(8, 24, 44, .92); }
.rv-secnav button { all: unset; cursor: pointer; padding: 4px 9px; border-radius: 7px; font: 700 10.5px/1.2 var(--f-hud); letter-spacing: .06em; color: #bcd6ea; border: 1px solid rgba(110, 165, 210, .3); }
.rv-secnav button:hover { color: #fff; border-color: #8fdcff; }
.rv-sec { padding-top: 6px; scroll-margin-top: 44px; } .rv-sec h5 { margin: 12px 0 4px; font: 600 12px var(--f-ui); color: #bcd6ea; }
.rv-stills { grid-template-columns: repeat(4, 1fr); }

/* context bar — where am I · which AI · one next action (2026-10-06) */
.ctx-bar { position: absolute; left: 50%; top: 58px; transform: translateX(-50%); display: none; align-items: center; gap: 10px; max-width: 70vw;
  padding: 5px 8px 5px 14px; border-radius: 999px; background: rgba(8, 26, 48, .72); border: 1px solid rgba(120, 180, 225, .28); font: 500 13px/1.3 var(--f-ui); color: #d6ecff; white-space: nowrap; z-index: 30; }
body:not(.ws-hidden) .ctx-bar.on { display: flex; }
.ctx-bar .cb-where { overflow: hidden; text-overflow: ellipsis; } .ctx-bar .cb-where i { font-style: normal; color: #6f9ec4; margin: 0 6px; }
.ctx-bar .cb-where em { font-style: normal; color: #8fb4d0; }
.ctx-bar .cb-ai { padding: 2px 9px; border-radius: 9px; font: 700 11px/1.4 var(--f-hud); letter-spacing: .06em; color: #8fdcff; border: 1px solid rgba(143, 220, 255, .4); }
.ctx-bar .cb-next { all: unset; cursor: pointer; padding: 3px 11px; border-radius: 999px; font: 600 12.5px/1.4 var(--f-ui); color: #13263f; background: #ffc46b; }
.ctx-bar .cb-next:hover { background: #ffd590; }
/* GROWTH / 集客 (2026-10-06) */
.gr-mode { margin: 0 0 10px; padding: 6px 10px; border-radius: 8px; font: 600 12px var(--f-ui); letter-spacing: .04em; }
.gr-real { color: #b7f0cf; background: rgba(30, 120, 80, .22); border: 1px solid rgba(110, 220, 160, .35); }
.gr-real.gr-off { color: #ffd59a; background: rgba(150, 100, 20, .2); border-color: rgba(240, 190, 90, .35); }
.gr-demo { color: #ffd0f0; background: rgba(150, 40, 120, .25); border: 1px dashed rgba(255, 140, 220, .55); }
.gr-simulated { color: #d9d2ff; background: rgba(80, 60, 160, .25); border: 1px dashed rgba(170, 150, 255, .55); }
.gr-tiles { margin: 10px 0; } .gr-tiles b { font-size: 16px; }
.gr-act { cursor: default; } .gr-act p { color: #cfe6f7; font: 500 12px/1.6 var(--f-ui); }
.ws-btn { all: unset; cursor: pointer; padding: 6px 12px; border-radius: 8px; font: 500 12.5px/1.2 var(--f-ui); color: #dff2ff; background: rgba(40, 110, 170, .3); border: 1px solid rgba(120, 180, 225, .35); }
.ws-btn:hover { background: rgba(60, 140, 210, .4); } .ws-btn[disabled] { opacity: .5; }
.gr-copy { all: unset; cursor: pointer; align-self: start; padding: 4px 10px; border-radius: 7px; font: 500 11.5px var(--f-ui); color: #dff2ff; border: 1px solid rgba(120, 180, 225, .35); }
.gr-pre { white-space: pre-wrap; margin: 4px 0 0; font: 500 12px/1.55 var(--f-ui); color: #d4e8f7; }
.gr-url { word-break: break-all; }
.gr-tbl { width: 100%; border-collapse: collapse; font: 500 12px var(--f-ui); color: #d4e8f7; } .gr-tbl th, .gr-tbl td { text-align: left; padding: 5px 6px; border-bottom: 1px solid rgba(90, 150, 200, .18); }
.gr-tbl th { color: #8fb4d0; font-weight: 600; }
.gr-funnel div { display: grid; grid-template-columns: 110px 1fr 60px; align-items: center; gap: 8px; margin: 4px 0; font: 500 12px var(--f-ui); color: #cfe6f7; }
.gr-funnel i { display: block; height: 10px; border-radius: 5px; background: linear-gradient(90deg, #3aa0e8, #8fdcff); } .gr-funnel b { text-align: right; }
.gr-ch { margin: 8px 0; padding: 8px 10px; border-radius: 10px; border: 1px solid rgba(90, 150, 200, .2); color: #d4e8f7; font: 500 12.5px/1.6 var(--f-ui); } .gr-ch summary { cursor: pointer; }
.gr-plan { padding-left: 18px; font: 500 12px/1.6 var(--f-ui); color: #d4e8f7; } .gr-plan small { display: block; color: #8fb4d0; }
.rv-dec button.on { background: rgba(70, 160, 230, .5); border-color: rgba(143, 220, 255, .7); }
.gr-check { list-style: none; padding: 0; font: 500 12.5px/1.6 var(--f-ui); color: #d4e8f7; } .gr-check li { padding: 4px 0; } .gr-check li.done { color: #8fd9b3; }
.gr-imgs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; } .gr-img { height: 92px; border-radius: 6px; border: 1px solid rgba(120, 180, 225, .3); }
/* GROWTH → LAUNCH: TODAY LAUNCH control */
.gr-ctl { margin: 0 0 14px; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(90, 150, 200, .25); background: rgba(10, 30, 50, .25); }
.gr-ctl h4 { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; } .gr-ctl h4 small { color: #8fb4d0; font: 500 11.5px var(--f-ui); }
.gr-ctl-row { display: grid; grid-template-columns: 92px 104px 1fr auto; align-items: start; gap: 8px; padding: 6px 0; border-top: 1px solid rgba(90, 150, 200, .14); font: 500 12px/1.55 var(--f-ui); color: #d4e8f7; }
.gr-ctl-k { font-weight: 700; letter-spacing: .05em; color: #e8f4ff; } .gr-ctl-r small { display: block; color: #8fb4d0; font-size: 11px; }
.gr-st { display: inline-block; padding: 1px 8px; border-radius: 999px; font: 700 10.5px var(--f-ui); letter-spacing: .04em; text-align: center; white-space: nowrap; }
.gr-st-ok { color: #b7f0cf; background: rgba(30, 120, 80, .25); border: 1px solid rgba(110, 220, 160, .4); }
.gr-st-owner { color: #ffd59a; background: rgba(150, 100, 20, .22); border: 1px solid rgba(240, 190, 90, .4); }
.gr-st-blocked { color: #ffb3b3; background: rgba(150, 30, 30, .25); border: 1px solid rgba(240, 110, 110, .45); }
.gr-sandbox { color: #bfe6ff; background: rgba(30, 90, 150, .25); border: 1px dashed rgba(120, 190, 255, .55); }
/* OWNER INPUT（販売開始に必要な入力） */
.oi h4 { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.oi-form fieldset { border: 1px solid var(--line, #E2E7EE); border-radius: 12px; padding: 10px 14px 6px; margin: 0 0 12px; }
.oi-form legend { font-weight: 800; padding: 0 6px; }
.oi-row { display: grid; grid-template-columns: minmax(180px, 34%) 1fr; gap: 4px 12px; align-items: center; margin: 6px 0; }
.oi-row > span { font-size: 13px; } .oi-row input, .oi-row select { padding: 8px 10px; border: 1.5px solid #D3DAE4; border-radius: 8px; font: inherit; min-height: 38px; }
.oi-row em { grid-column: 2; color: #B42318; font-style: normal; font-size: 12.5px; }
.oi-bad input, .oi-bad select { border-color: #D92D20; background: #FFF5F4; } .oi-bad > span { color: #B42318; font-weight: 700; }
.oi-check { display: block; margin: 6px 0; font-size: 13.5px; } .oi-check.oi-bad { color: #B42318; font-weight: 700; }
.oi-miss { color: #B42318; font-size: 13px; } .oi-note { color: #11775A; font-size: 13px; } .oi-hint { color: #5A6A7B; font-size: 12.5px; }
@media (max-width: 700px) { .oi-row { grid-template-columns: 1fr; } .oi-row em { grid-column: 1; } }
/* 投稿管理 / SNS接続 */
.sp-ch { display: flex; gap: 6px; margin-bottom: 8px; } .sp-ch button { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(140,170,210,.4); background: transparent; color: inherit; cursor: pointer; }
.sp-ch button.on { background: #2457D6; border-color: #2457D6; color: #fff; }
.sp-grid { display: grid; grid-template-columns: 1fr 1.25fr 340px; gap: 14px; align-items: start; }
.sp-assets { max-height: 70vh; overflow: auto; } .sp-assets h5 { margin: 10px 0 4px; font-size: 12.5px; opacity: .8; }
.sp-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; } .sp-th { position: relative; display: block; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; font-size: 11px; }
.sp-th.on { border-color: #4C8DFF; } .sp-th img { width: 100%; height: 70px; object-fit: cover; display: block; } .sp-th span { display: block; padding: 8px 4px; background: rgba(255,255,255,.06); word-break: break-all; }
.sp-th input { position: absolute; top: 4px; left: 4px; } .sp-posts { list-style: none; padding: 0; margin: 0; } .sp-posts li { padding: 6px 4px; border-bottom: 1px solid rgba(140,170,210,.2); cursor: pointer; font-size: 13px; }
.sp-form label { display: block; margin: 6px 0; font-size: 12.5px; } .sp-form input, .sp-form select, .sp-form textarea { width: 100%; box-sizing: border-box; margin-top: 3px; padding: 7px 9px; border-radius: 8px; border: 1px solid #C9D3E0; font: inherit; }
.sp-two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .sp-brief { display: flex; gap: 6px; } .sp-brief input { flex: 1; padding: 7px 9px; border-radius: 8px; border: 1px solid #C9D3E0; }
.sp-acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; } .sp-err { color: #FF8A80; }
.sp-st { font-size: 11.5px; padding: 2px 8px; border-radius: 999px; background: #5A6A7B; color: #fff; } .sp-READY_FOR_REVIEW { background: #B7791F; } .sp-APPROVED { background: #2457D6; } .sp-PUBLISHED { background: #11775A; } .sp-FAILED { background: #B42318; }
.sp-review { margin-top: 8px; padding: 8px 10px; border-radius: 8px; font-size: 13px; } .sp-review.ok { background: rgba(17,119,90,.15); } .sp-review.fix { background: rgba(180,35,24,.15); } .sp-review pre { white-space: pre-wrap; }
.ig-prev { background: #fff; color: #111; border-radius: 12px; overflow: hidden; border: 1px solid #DBDBDB; font: 14px/1.45 -apple-system, "Hiragino Sans", sans-serif; }
.ig-top { display: flex; align-items: center; gap: 8px; padding: 8px 10px; } .ig-top i { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #1F3A5F, #2457D6); display: inline-block; }
.ig-prev img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; } .ig-noimg { aspect-ratio: 4 / 5; display: grid; place-items: center; background: #EFEFEF; color: #888; }
.ig-dots { text-align: center; padding: 4px; } .ig-dots span { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #C7C7C7; margin: 0 2px; } .ig-dots span:first-child { background: #0095F6; }
.ig-act { padding: 6px 10px; font-size: 18px; } .ig-act span { float: right; } .ig-cap { padding: 0 10px 12px; margin: 0; max-height: 260px; overflow: auto; } .ig-tags { color: #00376B; }
.sn-tab { border-collapse: collapse; width: 100%; } .sn-tab th, .sn-tab td { text-align: left; padding: 5px 8px; border-bottom: 1px solid rgba(140,170,210,.2); font-size: 13px; } .sn-tab th { width: 30%; opacity: .8; }
.sn-checks { list-style: none; padding: 0; } .sn-checks li { margin: 4px 0; font-size: 13px; } .sn-ok { color: #3DDC97; margin-right: 6px; } .sn-ng { color: #FF8A80; margin-right: 6px; } .sn-steps li { margin: 5px 0; font-size: 13px; }
.rv-pane a.sn-login, .sn-login { display: inline-block; margin: 10px 0 6px; padding: 14px 26px; border-radius: 12px; font: 700 16px/1.2 var(--f-ui); color: #fff; text-decoration: none;
  background: linear-gradient(90deg, #7B3FE4, #D62976 55%, #F58529); box-shadow: 0 4px 16px rgba(214,41,118,.35); } .sn-login:hover { filter: brightness(1.08); }
.sn-uri { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 6px 0; } .sn-uri code { padding: 5px 8px; border-radius: 6px; background: rgba(0,0,0,.35); font-size: 12.5px; word-break: break-all; user-select: all; }
.sn-warn { margin: 8px 0; padding: 8px 10px; border-radius: 8px; background: rgba(214,140,30,.18); border: 1px solid rgba(214,140,30,.45); font-size: 13px; }
.sn-bad { margin: 8px 0; padding: 8px 10px; border-radius: 8px; background: rgba(180,35,24,.2); border: 1px solid rgba(255,138,128,.5); font-size: 13px; }
.sn-note { font-size: 12.5px; opacity: .85; } ol.sn-steps { padding-left: 22px; } ol.sn-steps li { padding-left: 4px; } ol.sn-steps li::before { content: none; } .sn-acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
@media (max-width: 1100px) { .sp-grid { grid-template-columns: 1fr; } }
.ig-prev .ig-cap, .ig-prev .ig-cap b, .ig-prev .ig-top b { color: #111; } .ig-prev .ig-cap .ig-tags { color: #00376B; }
.oi-auto { font-style: normal; font-size: 11px; padding: 1px 6px; border-radius: 999px; background: rgba(61,220,151,.18); color: #3DDC97; margin-left: 4px; } .oi-must > span { font-weight: 800; }
.ib-list { list-style: none; padding: 0; margin: 6px 0 12px; } .ib-item { padding: 8px 10px; margin: 6px 0; border-radius: 8px; border: 1px solid rgba(140,170,210,.22); }
.ib-item.ib-new { border-color: rgba(61,220,151,.55); } .ib-item.ib-ignored, .ib-item.ib-answered_by_hand { opacity: .7; } .ib-head small { opacity: .75; } .ib-st { float: right; font-size: 12px; opacity: .85; }
.ib-text { margin: 6px 0; font-size: 13.5px; white-space: normal; word-break: break-word; } .ib-draft { display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-start; margin-top: 8px; }
.ib-draft textarea { flex: 1 1 260px; min-width: 0; font-size: 13px; } .ib-draft small { flex-basis: 100%; } .ib-inbox h5 { margin: 12px 0 4px; font-size: 13px; }
.ib-list > li::before { content: none; } .ib-list > li { list-style: none; }

/* メール（MIRA BUSINESS） */
.bm-bar { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-bottom: 8px; } .bm-bar button.on, .bm-status button.on { border-color: rgba(120,200,255,.8); background: rgba(80,160,255,.18); }
.bm-safe { font-size: 12px; opacity: .75; margin-left: auto; } .bm-note { font-size: 12.5px; opacity: .8; } .bm-empty { opacity: .8; padding: 12px 0; }
.bm-filters { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0; } .bm-filters input[type=search] { flex: 1 1 200px; min-width: 0; }
.bm-list { list-style: none; padding: 0; margin: 0; } .bm-list > li::before { content: none; }
.bm-item { padding: 8px 10px; margin: 6px 0; border-radius: 8px; border: 1px solid rgba(140,170,210,.22); cursor: pointer; overflow-wrap: anywhere; }
.bm-item:hover, .bm-item:focus-visible { border-color: rgba(120,200,255,.6); outline: none; } .bm-unread b { color: #bfe3ff; }
.bm-st { float: right; font-size: 11.5px; padding: 1px 7px; border-radius: 9px; border: 1px solid rgba(140,170,210,.35); margin-left: 6px; }
.bm-st-NEEDS_REPLY { border-color: rgba(255,190,90,.7); color: #ffd28a; } .bm-st-NEW { border-color: rgba(61,220,151,.6); color: #8ff0c4; } .bm-st-DONE { opacity: .65; }
.bm-acc { padding: 10px; margin: 8px 0; border: 1px solid rgba(140,170,210,.22); border-radius: 8px; } .bm-row { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; align-items: center; }
.bm-row input { flex: 1 1 180px; min-width: 0; } .bm-pill { font-size: 11.5px; padding: 1px 7px; border-radius: 9px; border: 1px solid rgba(140,170,210,.35); }
.bm-pill.ok { color: #8ff0c4; border-color: rgba(61,220,151,.6); } .bm-pill.ng, .bm-ng { color: #ffb3a1; } .bm-test { white-space: pre-wrap; font-size: 12.5px; margin: 6px 0 0; }
.bm-ghost { opacity: .75; } .bm-danger { border-color: rgba(255,120,100,.7) !important; }
.bm-msg { border-left: 2px solid rgba(120,200,255,.5); padding: 6px 10px; margin: 10px 0; } .bm-msg.bm-out { border-left-color: rgba(61,220,151,.6); }
.bm-body { font-size: 13.5px; margin: 6px 0; overflow-wrap: anywhere; } .bm-att, .bm-cat { font-size: 12px; opacity: .85; }
.bm-status { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0; } .bm-cust { margin: 10px 0; padding: 8px 10px; border: 1px dashed rgba(140,170,210,.35); border-radius: 8px; }
.bm-draft { margin: 10px 0; padding: 10px; border: 1px solid rgba(140,170,210,.3); border-radius: 8px; } .bm-draft label { display: block; font-size: 12.5px; margin: 4px 0; }
.bm-draft input, .bm-draft textarea { width: 100%; box-sizing: border-box; } .bm-draft textarea { font-size: 13px; }
/* ---------------- 指示 / SCLIFE OS (in-) ---------------- */
.in-root { position: relative; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.in-root * { box-sizing: border-box; }
.in-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.in-state { font: 700 12px/1 var(--f-hud); letter-spacing: .1em; padding: 6px 10px; border-radius: 999px; border: 1px solid rgba(120, 180, 225, .35); color: #bfe6ff; }
.in-state::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 7px; background: #6f8aa0; vertical-align: 1px; }
.in-s-running::before { background: #3ddc97; box-shadow: 0 0 8px rgba(61, 220, 151, .7); } .in-s-paused::before { background: #ffd27a; }
.in-s-down, .in-s-stopped { color: #ffb4b4; border-color: rgba(255, 120, 120, .45); } .in-s-down::before, .in-s-stopped::before { background: #ff7a7a; }
.in-load { font-size: 12px; color: #6f8aa0; min-width: 0; }
.in-ctl { margin-left: auto; display: flex; flex-wrap: wrap; gap: 6px; }
.in-btn { all: unset; box-sizing: border-box; cursor: pointer; padding: 8px 13px; border-radius: 9px; font: 500 13px/1.2 var(--f-ui); color: #dff2ff; text-align: center;
  background: rgba(40, 110, 170, .22); border: 1px solid rgba(120, 180, 225, .35); transition: border-color .2s, background .2s; }
.in-btn:hover { border-color: rgba(143, 220, 255, .7); } .in-btn:focus-visible { outline: 2px solid #8fdcff; outline-offset: 2px; }
.in-btn[disabled] { opacity: .45; cursor: default; } .in-btn[hidden] { display: none; }
.in-primary { background: rgba(40, 140, 220, .42); border-color: rgba(143, 220, 255, .55); color: #fff; }
.in-sm { padding: 5px 9px; font-size: 12px; }
.in-down { margin: 0; padding: 10px 12px; border-radius: 10px; background: rgba(180, 35, 24, .18); border: 1px solid rgba(255, 138, 128, .45); color: #ffd6d2; font-size: 13px; }
.in-down[hidden] { display: none; }
.in-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 12px; }
.in-card { min-width: 0; padding: 12px 14px; border-radius: 12px; background: rgba(4, 18, 34, .5); border: 1px solid rgba(90, 150, 200, .18); }
.in-card h4 { margin-top: 0; } .in-card h5 { margin: 10px 0 4px; font: 600 12.5px/1.3 var(--f-ui); color: #9fc8e6; }
.in-root ul li::before { content: none; } .in-root ul li { padding: 3px 0 3px 2px; } .in-root ul { padding-left: 16px; list-style: disc; }
/* form */
.in-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.in-form label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: #86bfe8; min-width: 0; }
.in-form .in-wide { grid-column: 1 / -1; }
.in-form select, .in-form textarea, .in-form input[type=date] { font: 400 13.5px/1.5 var(--f-ui); color: #e6f2fb; background: rgba(0, 10, 22, .55);
  border: 1px solid rgba(120, 180, 225, .3); border-radius: 8px; padding: 7px 9px; width: 100%; min-width: 0; color-scheme: dark; resize: vertical; }
.in-form select:focus, .in-form textarea:focus, .in-form input:focus { outline: none; border-color: rgba(143, 220, 255, .7); }
.in-pri { display: flex; flex-wrap: wrap; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; align-content: flex-start; }
.in-pri legend { font-size: 12px; color: #86bfe8; padding: 0; margin-bottom: 4px; float: left; width: 100%; }
.in-pri label { flex: 1; position: relative; } .in-pri input { position: absolute; opacity: 0; pointer-events: none; }
.in-pri span { display: block; text-align: center; padding: 7px 0; border-radius: 8px; border: 1px solid rgba(120, 180, 225, .3); font: 700 14px/1 var(--f-hud); color: #9fc8e6; cursor: pointer; }
.in-pri input:checked + span { background: rgba(40, 140, 220, .4); border-color: #8fdcff; color: #fff; }
.in-pri input:focus-visible + span { outline: 2px solid #8fdcff; outline-offset: 2px; }
.in-acts { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.in-brief { margin-top: 10px; } .in-brief:empty { display: none; }
.in-brief-h { display: flex; align-items: center; gap: 10px; padding-top: 10px; border-top: 1px solid rgba(90, 150, 200, .18); }
.in-brief-h small { color: #6f8aa0; } .in-brief-h .in-btn { margin-left: auto; }
.in-brief p { margin: 0; font-size: 13.5px; } .in-brief ul { font-size: 13px; } .in-brief small { color: #6f8aa0; margin-left: 4px; }
/* flow */
.in-flow { position: relative; padding-bottom: 4px; }
.in-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.in-lines path { fill: none; stroke: rgba(110, 170, 220, .32); stroke-width: 1.3; }
.in-lines path.in-live { stroke: rgba(95, 200, 255, .75); stroke-dasharray: 5 7; animation: in-dash 1.6s linear infinite; }
@keyframes in-dash { to { stroke-dashoffset: -24; } }
.in-hub { position: relative; z-index: 1; width: max-content; max-width: 100%; margin: 0 auto 30px; padding: 9px 22px; border-radius: 12px; text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(60, 160, 240, .35), rgba(6, 26, 48, .9)); border: 1px solid rgba(143, 220, 255, .55);
  box-shadow: 0 0 18px rgba(40, 150, 255, .18); }
.in-hub b { display: block; font: 700 15px/1.2 var(--f-ui); letter-spacing: .12em; color: #eaf7ff; } .in-hub small { font-size: 11.5px; color: #8fb4d0; }
.in-pjs { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); gap: 10px; }
.in-pj { min-width: 0; padding: 8px 9px; border-radius: 10px; background: rgba(6, 22, 40, .92); border: 1px solid rgba(110, 160, 205, .3); }
.in-pj-h { display: flex; align-items: center; gap: 6px; min-width: 0; } .in-pj-h b { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.in-pst { display: inline-block; margin-top: 5px; font: 700 10.5px/1 var(--f-hud); letter-spacing: .08em; padding: 3px 6px; border-radius: 6px; color: #9fb6c8; border: 1px solid rgba(140, 170, 200, .35); white-space: nowrap; }
.in-ps-running { border-color: rgba(95, 200, 255, .55); } .in-ps-running .in-pst, .in-pst.in-ps-running { color: #8fe3ff; border-color: rgba(95, 200, 255, .55); }
.in-ps-needs { border-color: rgba(255, 200, 100, .55); } .in-ps-needs .in-pst, .in-pst.in-ps-needs, .in-pst.in-ps-needs_owner { color: #ffd27a; border-color: rgba(255, 200, 100, .55); }
.in-ps-blocked .in-pst, .in-pst.in-ps-blocked, .in-pst.in-ps-failed { color: #ff9a9a; border-color: rgba(255, 120, 120, .5); }
.in-ps-done .in-pst, .in-pst.in-ps-done { color: #7dffb0; border-color: rgba(90, 230, 150, .5); } .in-pj.in-ps-idle { opacity: .78; }
.in-manual { margin-left: 6px; font-size: 11px; color: #ffd27a; }
.in-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.in-chip { font-size: 11px; padding: 2px 7px; border-radius: 999px; background: rgba(40, 110, 170, .25); border: 1px solid rgba(120, 180, 225, .3); color: #cfeaff; }
.in-chip::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; margin-right: 5px; vertical-align: 1px; background: #6f8aa0; }
.in-chip.in-w-running::before, .in-chip.in-w-starting::before { background: #3ddc97; } .in-chip.in-w-stale::before, .in-chip.in-w-failed::before { background: #ff7a7a; }
.in-chip.in-w-done::before { background: #8fdcff; }
.in-pri-b { flex: none; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; font: 700 12px/1 var(--f-hud); color: #04121f; background: #8fb4d0; }
.in-p-A { background: #ff9a7a; } .in-p-B { background: #ffd27a; } .in-p-C { background: #8fdcff; }
/* owner */
.in-owner.in-has { border-color: rgba(255, 200, 100, .45); box-shadow: inset 0 0 0 1px rgba(255, 200, 100, .12); }
.in-owner h4 small { color: #ffd27a; font: 600 12px/1 var(--f-ui); letter-spacing: 0; }
.in-ap { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px 12px; padding: 9px 0; border-top: 1px solid rgba(90, 150, 200, .14); }
.in-ap:first-child { border-top: 0; }
.in-ap-t { flex: none; font: 600 12px/1 var(--f-ui); padding: 5px 8px; border-radius: 7px; color: #ffd27a; background: rgba(255, 200, 100, .1); border: 1px solid rgba(255, 200, 100, .45); }
.in-ap-b { flex: 1 1 220px; min-width: 0; } .in-ap-b b { display: block; font-size: 13.5px; } .in-ap-b small { color: #6f8aa0; font-size: 11.5px; }
.in-ap-b p { margin: 3px 0 0; font-size: 12.5px; color: #b9d3e6; overflow-wrap: anywhere; }
.in-ap-a { display: flex; gap: 6px; flex: none; }
/* workers / goals */
.in-tbl { overflow-x: auto; max-width: 100%; }
.in-tbl table { width: 100%; border-collapse: collapse; font-size: 12.5px; min-width: 520px; }
.in-tbl th { text-align: left; font: 600 11px/1.2 var(--f-hud); letter-spacing: .08em; color: #86bfe8; padding: 5px 6px; border-bottom: 1px solid rgba(90, 150, 200, .25); white-space: nowrap; }
.in-tbl td { padding: 6px; border-bottom: 1px solid rgba(80, 125, 160, .14); vertical-align: middle; }
.in-tbl tr[data-task]:not([data-task=""]) { cursor: pointer; } .in-tbl tbody tr:hover { background: rgba(60, 140, 210, .1); }
.in-tbl tr.on { background: rgba(60, 160, 240, .16); box-shadow: inset 2px 0 0 #5fc8ff; }
.in-tbl td small { margin-left: 6px; color: #8fb4d0; } .in-res { color: #9fc8e6; max-width: 180px; overflow-wrap: anywhere; }
.in-ws { font-size: 11.5px; white-space: nowrap; color: #9fb6c8; } .in-ws.in-w-running, .in-ws.in-w-starting { color: #3ddc97; }
.in-ws.in-w-stale, .in-ws.in-w-failed { color: #ff9a9a; } .in-ws.in-w-done { color: #8fdcff; }
.in-bar-p { display: inline-block; vertical-align: middle; width: 70px; height: 5px; border-radius: 3px; background: rgba(120, 180, 225, .18); overflow: hidden; }
.in-bar-p i { display: block; height: 100%; background: linear-gradient(90deg, #2f9bff, #5fe0ff); transition: width .6s; }
.in-hint { margin: 6px 0 0; font-size: 11.5px; }
.in-goal { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 4px 8px; padding: 6px 0; border-top: 1px solid rgba(80, 125, 160, .14); }
.in-gp .in-goal:first-of-type { border-top: 0; }
.in-gt { min-width: 0; font-size: 13px; overflow-wrap: anywhere; }
.in-goal .in-pst { margin: 0; justify-self: end; } .in-goal .in-bar-p { grid-column: 1 / 3; width: 100%; } .in-goal small { grid-column: 3; color: #8fb4d0; font-size: 11px; white-space: nowrap; }
/* LIVE TERMINAL */
.in-th { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 8px; } .in-th h4 { margin: 0; }
.in-tt { font-size: 12px; color: #8fb4d0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1 1 120px; }
.in-term { margin: 0; height: 220px; overflow: auto; padding: 10px 12px; border-radius: 9px; background: #02070d; border: 1px solid rgba(90, 150, 200, .22);
  font: 400 12px/1.55 ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: #b8f5c8; white-space: pre-wrap; overflow-wrap: anywhere; }
.in-term:focus-visible { outline: 2px solid #8fdcff; }
/* toast */
.in-toast { position: sticky; bottom: 4px; align-self: center; max-width: 100%; padding: 9px 14px; border-radius: 10px; font-size: 13px; color: #eaf7ff;
  background: rgba(8, 30, 54, .96); border: 1px solid rgba(143, 220, 255, .5); box-shadow: 0 8px 24px rgba(0, 0, 0, .45);
  opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; pointer-events: none; z-index: 5; }
.in-toast.on { opacity: 1; transform: none; } .in-toast.in-ok { border-color: rgba(90, 230, 150, .55); } .in-toast.in-bad { border-color: rgba(255, 120, 120, .6); color: #ffd6d2; }
@media (max-width: 520px) { .in-form { grid-template-columns: 1fr; } .in-ctl { margin-left: 0; width: 100%; } .in-ctl .in-btn { flex: 1 1 auto; } }
@media (prefers-reduced-motion: reduce) { .in-lines path.in-live { animation: none; } .in-toast, .in-bar-p i, .in-btn { transition: none; } }
/* 指示: cross-project command center · AI EMPLOYEE MONITOR */
.in-mh { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 8px; } .in-mh h4 { margin: 0; } .in-mh .in-btn { margin-left: auto; }
.in-pri-b { width: auto; min-width: 20px; padding: 0 4px; } .in-p-EMERGENCY { background: #ff5b72; color: #fff; }
.in-pcs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 10px; }
.in-pc { min-width: 0; display: flex; flex-direction: column; gap: 7px; padding: 10px 11px; border-radius: 10px; background: rgba(6, 22, 40, .9); border: 1px solid rgba(110, 160, 205, .3); }
.in-pc.in-emg { border-color: rgba(255, 91, 114, .75); box-shadow: inset 0 0 0 1px rgba(255, 91, 114, .25); }
.in-pc.in-ghost { opacity: .6; border-style: dashed; } .in-pc.in-ghost p { margin: 0; font-size: 11.5px; }
.in-pc-h { display: flex; align-items: center; gap: 8px; min-width: 0; } .in-pc-h b { flex: 1; min-width: 0; font-size: 13.5px; overflow-wrap: anywhere; } .in-pc-h .in-pst { margin: 0; }
.in-pc-pri { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #86bfe8; }
.in-pc-pri select { flex: 1; min-width: 0; font: 600 12.5px/1.3 var(--f-ui); color: #e6f2fb; background: rgba(0, 10, 22, .55); border: 1px solid rgba(120, 180, 225, .3);
  border-radius: 7px; padding: 4px 6px; color-scheme: dark; }
.in-pc-pri select:focus-visible { outline: 2px solid #8fdcff; outline-offset: 1px; }
.in-pc-g { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 12px; color: #9fc8e6; } .in-pc-g .in-bar-p { flex: 1 1 60px; } .in-pc-g small { color: #8fb4d0; }
.in-root ul.in-pc-l { margin: 0; padding-left: 14px; font-size: 11.5px; color: #b9d3e6; } .in-pc-l small { color: #6f8aa0; }
.in-manualbox:empty { display: none; } .in-manualbox h5 { color: #ffd27a; }
.in-mp { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 7px 10px; border-radius: 9px; border: 1px dashed rgba(255, 200, 100, .4); }
.in-mp .in-pst { margin: 0; } .in-mp small { flex-basis: 100%; color: #8fb4d0; font-size: 11.5px; }
.in-budget { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0 0 8px; font-size: 12.5px; color: #9fc8e6; }
.in-budget .in-bar-p { flex: 1 1 120px; height: 7px; } .in-budget b { font: 600 13px/1 var(--f-ui); color: #eaf7ff; } .in-budget em { font-style: normal; font-size: 11.5px; }
.in-b-warn .in-bar-p i { background: linear-gradient(90deg, #f5a623, #ffd27a); } .in-b-warn em { color: #ffd27a; }
.in-b-over .in-bar-p i { background: linear-gradient(90deg, #ff5b72, #ff9a9a); } .in-b-over em { color: #ff9a9a; }
.in-tbl table.in-mon { min-width: 860px; }
.in-role { display: block; margin: 0 !important; font-size: 10.5px; color: #6f8aa0 !important; }
.in-mono { font: 400 11.5px/1.3 ui-monospace, "SF Mono", Menlo, monospace; color: #b9d3e6; white-space: nowrap; }
.in-num { font-variant-numeric: tabular-nums; white-space: nowrap; } .in-warn { color: #ffd27a; }
/* ---------------- 承認センター (OWNER APPROVAL CENTER) — ac- ---------------- */
.ac-root { position: relative; }
.ac-bar { position: sticky; top: -16px; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: -16px -18px 12px; padding: 12px 18px 10px;
  background: rgba(6, 22, 40, .94); border-bottom: 1px solid rgba(110, 165, 210, .18); }
.ac-tabs { display: flex; gap: 4px; }
.ac-tabs button, .ac-reload, .ac-btns button { all: unset; cursor: pointer; padding: 7px 12px; border-radius: 8px; font: 600 12.5px/1 var(--f-ui); color: #9fc2dc; border: 1px solid rgba(110, 165, 210, .25); }
.ac-tabs button.on { color: #eaf7ff; background: rgba(40, 110, 170, .35); border-color: rgba(143, 220, 255, .55); }
.ac-count { font-size: 12.5px; color: #9fc2dc; } .ac-count b { color: #ffcf7a; font-size: 14px; margin-right: 4px; }
.ac-reload { margin-left: auto; }
.ac-src { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 6px; padding: 0; }
.ac-src li { padding: 3px 9px; border-radius: 999px; font-size: 11.5px; color: #bfe6ff; border: 1px solid rgba(110, 165, 210, .3); }
.ac-src li::before { content: none; }
.ac-src li.off { color: #7f93a6; border-style: dashed; } .ac-src li b { color: #ffcf7a; }
.ac-note { margin: 2px 0; font-size: 11.5px; color: #7f93a6; }
.ac-empty { margin: 18px 0; color: #9fc2dc; }
.ac-card { margin: 12px 0; padding: 12px 14px; border-radius: 12px; background: rgba(10, 36, 64, .5); border: 1px solid rgba(90, 150, 200, .24); min-width: 0; }
.ac-card.ac-held { opacity: .85; border-style: dashed; }
.ac-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.ac-type { padding: 2px 8px; border-radius: 6px; font-size: 12px; color: #ffe2a8; background: rgba(214, 140, 30, .2); border: 1px solid rgba(255, 191, 77, .45); }
.ac-t-message_send, .ac-t-sns_publish { color: #bfe6ff; background: rgba(40, 110, 170, .3); border-color: rgba(143, 220, 255, .5); }
.ac-t-live_billing, .ac-t-purchase, .ac-t-refund, .ac-t-destructive_delete { color: #ffd0cb; background: rgba(180, 35, 24, .22); border-color: rgba(255, 138, 128, .5); }
.ac-proj { font-size: 12px; color: #9fc2dc; }
.ac-pill { padding: 1px 7px; border-radius: 999px; font-size: 11px; color: #cfe6f7; border: 1px solid rgba(120, 180, 225, .35); } .ac-term { color: #ffcf7a; border-color: rgba(255, 191, 77, .45); }
.ac-action { margin: 8px 0 6px; font: 700 15px/1.45 var(--f-ui); color: #eaf5ff; overflow-wrap: anywhere; }
.ac-why, .ac-impact { margin: 4px 0; font-size: 13px; overflow-wrap: anywhere; }
.ac-why span, .ac-impact span, .ac-what > span { display: inline-block; margin-right: 8px; font-size: 11.5px; color: #7fb3d6; }
.ac-what { margin-top: 8px; }
.ac-exact { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 12px; margin: 6px 0 0; padding: 10px 12px; border-radius: 8px; background: rgba(0, 0, 0, .3); font-size: 13px; }
.ac-exact dt { color: #8fb7d4; } .ac-exact dd { margin: 0; color: #eaf5ff; white-space: pre-wrap; overflow-wrap: anywhere; min-width: 0; }
.ac-exact dd.ac-long { max-height: 240px; overflow: auto; }
.ac-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ac-btns .ac-ok { color: #06231a; background: #3DDC97; border-color: #3DDC97; font-weight: 700; }
.ac-btns .ac-ng { color: #FF8A80; border-color: rgba(255, 138, 128, .55); }
.ac-btns button:disabled { opacity: .45; cursor: not-allowed; }
.ac-dlg { position: absolute; inset: 0; z-index: 5; display: flex; align-items: flex-start; justify-content: center; padding: 12px; background: rgba(2, 10, 20, .72); }
.ac-dlg-box { width: 100%; max-width: 620px; max-height: 100%; overflow: auto; padding: 16px; border-radius: 12px; background: #071a2e; border: 1px solid rgba(143, 220, 255, .45); box-sizing: border-box; }
.ac-dlg-box h4 { margin: 0 0 8px; font: 700 15px/1.4 var(--f-ui); color: #eaf5ff; } .ac-dlg-box h4 small { font-weight: 500; color: #9fc2dc; }
.ac-dlg-act { margin: 0 0 6px; font-weight: 700; overflow-wrap: anywhere; } .ac-dlg-lead { margin: 4px 0; font-size: 13px; color: #ffcf7a; }
.ac-type-in, .ac-ack { display: block; margin-top: 12px; font-size: 13px; }
.ac-type-in input { display: block; width: 100%; box-sizing: border-box; margin-top: 6px; padding: 9px 10px; border-radius: 8px; font-size: 15px; color: #eaf5ff; background: rgba(0, 0, 0, .35); border: 1px solid rgba(143, 220, 255, .45); }
.ac-dlg-msg { min-height: 1.2em; margin: 8px 0 0; font-size: 13px; color: #FF8A80; }
.ac-cmd { margin: 8px 0; padding: 10px 12px; border-radius: 8px; background: rgba(0, 0, 0, .45); font-size: 13px; white-space: pre-wrap; word-break: break-all; user-select: all; }
.ac-log { list-style: none; margin: 0; padding: 0; } .ac-log li { margin: 8px 0; padding: 8px 10px; border-radius: 8px; border: 1px solid rgba(110, 165, 210, .2); font-size: 12.5px; }
.ac-log li::before { content: none; }
.ac-log time { color: #7fb3d6; margin-right: 8px; } .ac-log b { color: #ffcf7a; margin-right: 8px; } .ac-log p { margin: 4px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; } .ac-log small { color: #9fc2dc; white-space: pre-wrap; }
.rl-ch[data-ac-badge]::after { content: attr(data-ac-badge); position: absolute; top: 4px; right: 4px; min-width: 18px; height: 18px; padding: 0 5px; box-sizing: border-box;
  border-radius: 999px; font: 700 11px/18px var(--f-ui); text-align: center; color: #1b0d00; background: #ffbf4d; box-shadow: 0 0 10px rgba(255, 191, 77, .6); pointer-events: none; }
@media (max-width: 600px) { .ac-exact { grid-template-columns: 1fr; } .ac-exact dt { margin-top: 4px; } .ac-reload { margin-left: 0; } }

/* ---------------- launcher, owner review 2026-10-10 ----------------
   Blends into the screen: a lighter dim (the scene stays visible), translucent cylinder and glass chambers.
   Removed on request: the scanning arcs to the header ("whiskers"), the lit header edge and the amber count on 承認. */
.rl { background: radial-gradient(circle at 768px 486px, rgba(1, 6, 14, 0) 0, rgba(1, 6, 14, 0) 380px, rgba(1, 6, 14, .18) 520px, rgba(1, 5, 12, .34) 860px); }
.rl-scan, body.rl-open .app-header::after { display: none; }
.rl-ch[data-ac-badge]::after { content: none; }
.rl-band { stroke: rgba(4, 16, 30, .28); }
.rl-edge { stroke: rgba(95, 200, 255, .26); }
.rl-edge-o { stroke: rgba(130, 215, 255, .4); filter: none; }
.rl-ticks { stroke: rgba(111, 212, 255, .2); }
.rl-ticks-l { stroke: rgba(191, 242, 255, .45); }
.rl-accent { stroke: rgba(111, 212, 255, .7); stroke-width: 2; filter: drop-shadow(0 0 3px rgba(53, 200, 255, .5)); }
.rl-disc { stroke: rgba(111, 212, 255, .38); filter: none; }
.rl-disc-in, .rl-seat { stroke: rgba(95, 200, 255, .18); }
.rl-flute { display: none; }
.rl-ch { background: radial-gradient(circle at 50% 45%, rgba(46, 140, 215, .16) 0, rgba(16, 60, 104, .26) 46%, rgba(5, 22, 42, .38) 78%, rgba(10, 44, 78, .38) 100%);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .22), inset 0 0 18px rgba(53, 200, 255, .12), inset 0 1px 0 rgba(190, 236, 255, .22); }
.rl-rim { border-color: rgba(120, 205, 250, .34); }
.rl-bore { border-color: rgba(111, 212, 255, .2); box-shadow: none; }

/* ---------------- dashboard controls, owner review 2026-10-10 ----------------
   Dashboard controls open the real windows over the dashboard (js/dashboard-wire.js). Hover/press feedback only. */
body.ws-hidden.ws-dash .ws-layer { display: block; }
.mode-dashboard .ctx-bar { display: none !important; }
.dw-btn { cursor: pointer; transition: background-color .18s, filter .18s; }
.dw-btn:focus { outline: none; }
.nav a.dw-btn:hover, .panel li.dw-btn:hover, .panel h3.dw-btn:hover, .tabs span.dw-btn:hover { background-color: rgba(70, 170, 255, .1); }
.metric.dw-btn:hover, .pill.dw-btn:hover, #activeProject.dw-btn:hover { filter: brightness(1.18); }
.dw-btn:active { filter: brightness(1.3); }
.dw-btn:focus-visible { box-shadow: 0 0 0 1.5px rgba(143, 220, 255, .7); }
/* plain controls inside windows get MIRA's glass look (classed controls keep their own styles) */
:where(.ws-win) :where(button:not([class*="ws-"])) { cursor: pointer; padding: 6px 11px; border-radius: 8px; font: 500 12.5px/1.1 var(--f-ui); color: #dff2ff;
  background: rgba(40, 110, 170, .28); border: 1px solid rgba(120, 180, 225, .35); }
:where(.ws-win) :where(button:not([class*="ws-"]):hover) { border-color: rgba(143, 220, 255, .7); }
:where(.ws-win) :where(input:not([type=checkbox]):not([type=radio]), select, textarea) { box-sizing: border-box; padding: 6px 9px; border-radius: 8px; font: 400 13px/1.3 var(--f-ui);
  color: #eaf6ff; background: rgba(2, 12, 24, .7); border: 1px solid rgba(120, 180, 225, .3); color-scheme: dark; }
:where(.ws-win) :where(input, select, textarea):focus { outline: none; border-color: rgba(143, 220, 255, .75); }
.rl-trails { position: absolute; left: -550px; top: -550px; width: 1100px; height: 1100px; pointer-events: none; }
/* owner 2026-10-10: on a choice the launcher recedes into the back while the window comes forward */
.rl.rl-recede { opacity: 0 !important; transform: scale(.78); filter: blur(5px); transform-origin: 768px 486px; pointer-events: none;
  transition: opacity .32s ease, transform .4s cubic-bezier(.4, 0, .7, .4), filter .32s ease; }
