/* VIBRIYOGN Flow — same brand as Ops/Clockin: ink + paper + signal yellow, VIBGYOR stripe. */
:root {
  --ink: #0a0a0a; --ink-2: #1c1c1c; --ink-3: #2c2c2c;
  --paper: #ffffff; --ground: #eceef0; --line: #d9dce0; --line-2: #e7e9ec;
  --text: #16181b; --muted: #5b6168; --faint: #8a9097;
  --accent: #ffd400; --accent-ink: #0a0a0a;
  --good: #1fa85a; --warn: #ff8a00; --bad: #e63b2e; --info: #1e7fd8;
  --spectrum: linear-gradient(90deg, #7b3fbf, #3b3fb5, #1e7fd8, #1fa85a, #e8b900, #ff8a00, #e63b2e);
  --head: "Archivo", "Arial Black", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --r: 12px; --r-sm: 8px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { background: var(--ground); color: var(--text); font: 15px/1.5 var(--body); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--head); margin: 0; letter-spacing: -0.01em; line-height: 1.15; }
h1 { font-size: 26px; font-weight: 800; } h2 { font-size: 18px; font-weight: 750; } h3 { font-size: 15px; font-weight: 700; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--info); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.muted { color: var(--muted); } .small { font-size: 13px; } .mono { font-family: var(--mono); font-size: 12.5px; }
.num { font-variant-numeric: tabular-nums; }

/* Sign-in */
.signin { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; background: var(--ink); }
.signin-card { width: min(420px, 100%); background: var(--paper); border-radius: 18px; overflow: hidden; }
.signin-card .stripe { height: 6px; background: var(--spectrum); }
.signin-card .inner { padding: 28px; }
.brandline { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.brandline img { width: 34px; height: 34px; }
.brandline span { font-family: var(--head); font-weight: 800; font-size: 18px; }
.signin-card p { color: var(--muted); margin: 6px 0 18px; }
.code-input { font-size: 26px; letter-spacing: .3em; text-indent: .3em; text-align: center; }
.or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; margin: 16px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* Header */
.top { position: sticky; top: 0; z-index: 30; background: var(--ink); color: #eee; }
.top .stripe { height: 4px; background: var(--spectrum); }
.top .bar { display: flex; align-items: center; gap: 14px; padding: 10px 20px; }
.top .brand { display: flex; align-items: center; gap: 9px; text-decoration: none; color: #fff; flex: none; }
.top .brand img { width: 26px; height: 26px; }
.top .brand b { font-family: var(--head); font-size: 16px; font-weight: 800; }
.top select.biz { background: var(--ink-3); border: 1px solid #3b3b3b; color: #fff; border-radius: var(--r-sm); padding: 6px 8px; max-width: 200px; }
.top nav { display: flex; gap: 2px; overflow-x: auto; flex: 1; scrollbar-width: none; }
.top nav::-webkit-scrollbar { display: none; }
.top nav a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; border-radius: var(--r-sm); text-decoration: none; color: #c9c9c9; font-weight: 600; font-size: 14px; white-space: nowrap; }
.top nav a:hover { color: #fff; background: var(--ink-2); }
.top nav a[aria-current="page"] { color: var(--accent-ink); background: var(--accent); }
.top nav svg { width: 16px; height: 16px; }
.top .who button { background: none; border: 1px solid #3b3b3b; color: #ddd; border-radius: 99px; padding: 5px 11px; cursor: pointer; font-size: 13px; }
main { max-width: 1280px; margin: 0 auto; padding: 22px 20px 80px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.page-head p { margin: 4px 0 0; color: var(--muted); }

/* Controls */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid var(--line); background: var(--paper); padding: 8px 14px; border-radius: var(--r-sm); cursor: pointer; font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap; }
.btn:hover { border-color: #b9bec4; }
.btn.primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.signal { background: var(--accent); border-color: #e6bf00; color: var(--accent-ink); }
.btn.danger { color: var(--bad); }
.btn.small { padding: 4px 10px; font-size: 13px; }
.btn.icon { padding: 7px; }
.btn.ghost { border-color: transparent; background: transparent; }
.btn.ghost:hover { background: var(--ground); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn svg { width: 16px; height: 16px; }
input[type=text], input[type=email], input[type=number], input[type=search], input:not([type]), select, textarea {
  border: 1px solid var(--line); background: var(--paper); border-radius: var(--r-sm); padding: 8px 10px; min-width: 0; width: 100%; }
textarea { min-height: 80px; resize: vertical; }
textarea.code, input.code { font-family: var(--mono); font-size: 13px; }
label.f { display: block; font-size: 13px; font-weight: 600; color: var(--muted); }
label.f > input, label.f > select, label.f > textarea { margin-top: 4px; }
.stack > * + * { margin-top: 12px; }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }
.check { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 0; }
.switch { position: relative; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 600; font-size: 14px; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch .tr { width: 40px; height: 22px; border-radius: 99px; background: #c5c9ce; position: relative; transition: background .15s; flex: none; }
.switch .tr::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .15s; }
.switch input:checked + .tr { background: var(--good); }
.switch input:checked + .tr::after { transform: translateX(18px); }
.switch input:focus-visible + .tr { outline: 3px solid var(--info); outline-offset: 2px; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.panel + .panel { margin-top: 16px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.tag { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 99px; background: var(--ground); color: var(--ink-3); white-space: nowrap; }
.tag.success { background: #e3f6ea; color: #136c3a; } .tag.warning { background: #fff1de; color: #9a5300; } .tag.error { background: #ffe9e6; color: #b3261b; }
.tag.waiting, .tag.running { background: #e3effc; color: #12569b; } .tag.stopped { background: #eceef0; color: #6b7178; }
.tag svg { width: 12px; height: 12px; }
.empty { text-align: center; padding: 34px 16px; color: var(--muted); }
.empty b { display: block; color: var(--text); font-family: var(--head); font-size: 17px; margin-bottom: 4px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-size: 12px; color: var(--muted); font-weight: 700; border-bottom: 1px solid var(--line); padding: 8px; white-space: nowrap; }
.tbl td { border-bottom: 1px solid var(--line-2); padding: 9px 8px; vertical-align: middle; }
.tbl th.n, .tbl td.n { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tbl tr.click { cursor: pointer; } .tbl tr.click:hover td { background: #f8f9fa; }
.table-wrap { overflow-x: auto; }
.loading { color: var(--muted); padding: 30px 0; }
.banner { background: #fff7c2; border: 1px solid #f0d64a; border-radius: var(--r); padding: 12px 16px; margin-bottom: 14px; font-size: 14px; }

/* App icons */
.ai { display: inline-grid; place-items: center; border-radius: 50%; color: #fff; flex: none; }
.ai svg { width: 55%; height: 55%; }
.chain { display: flex; align-items: center; gap: 0; }
.chain .ai { width: 26px; height: 26px; border: 2px solid var(--paper); margin-left: -6px; }
.chain .ai:first-child { margin-left: 0; }

/* Scenario list */
.sc-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto auto; gap: 16px; align-items: center; padding: 12px 4px; border-top: 1px solid var(--line-2); }
.sc-row:first-child { border-top: 0; }
.sc-row .nm { min-width: 0; }
.sc-row .nm a { font-weight: 700; text-decoration: none; }
.sc-row .nm a:hover { text-decoration: underline; }
.sc-row .nm small { display: block; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc-row .stats { font-size: 13px; color: var(--muted); text-align: right; white-space: nowrap; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.card h3 { font-size: 16px; }
.card p { margin: 0; color: var(--muted); font-size: 14px; flex: 1; }

/* ── Editor ───────────────────────────────────────────── */
body.editing main { max-width: none; padding: 0; }
.ed { position: relative; height: calc(100vh - 58px); display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.ed-top { position: absolute; top: 12px; left: 12px; right: 12px; z-index: 6; display: flex; gap: 10px; align-items: center; pointer-events: none; }
.ed-top > * { pointer-events: auto; }
.ed-top .name { font-family: var(--head); font-weight: 800; font-size: 18px; border: 1px solid transparent; background: rgba(255,255,255,.85); border-radius: var(--r-sm); padding: 6px 10px; width: min(420px, 50vw); }
.ed-top .name:hover, .ed-top .name:focus { border-color: var(--line); background: #fff; }
.ed-top .dirty { font-size: 12px; font-weight: 700; color: #9a5300; background: #fff1de; border-radius: 99px; padding: 3px 9px; }
.stage { position: relative; min-width: 0; min-height: 0; }
.canvas { position: absolute; inset: 0; overflow: hidden; background-color: #f4f5f7; background-image: radial-gradient(#cfd3d8 1px, transparent 1px); background-size: 22px 22px; cursor: grab; touch-action: none; }
.canvas.panning { cursor: grabbing; }
.world { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.world svg.edges { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }
.edges path { fill: none; stroke: #b9bec4; stroke-width: 3; }
.edges path.loopbody { stroke-dasharray: 6 6; }
.edges path.ran { stroke: var(--good); }
.node { position: absolute; width: 150px; display: flex; flex-direction: column; align-items: center; text-align: center; cursor: pointer; user-select: none; }
.node .bub { position: relative; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 6px 16px rgba(0,0,0,.14); border: 4px solid #fff; transition: transform .1s; }
.node .bub svg { width: 34px; height: 34px; }
.node:hover .bub { transform: scale(1.05); }
.node.sel .bub { box-shadow: 0 0 0 4px var(--accent), 0 6px 16px rgba(0,0,0,.14); }
.node.empty .bub { background: #fff !important; color: var(--faint); border: 3px dashed #b9bec4; box-shadow: none; }
.node.off .bub { filter: grayscale(1); opacity: .45; }
.node.bad .bub::after { content: "!"; position: absolute; top: -4px; left: -4px; width: 20px; height: 20px; border-radius: 50%; background: var(--bad); color: #fff; font: 800 13px/20px var(--body); }
.node .no { position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 99px; background: var(--ink); color: #fff; font: 700 11px/22px var(--body); }
.node .lbl { margin-top: 8px; font-size: 12.5px; line-height: 1.25; max-width: 150px; }
.node .lbl b { display: block; font-size: 13px; }
.node .lbl span { color: var(--muted); }
.node .badge { position: absolute; top: -10px; left: 50%; transform: translateX(-50%) translateY(-100%); background: var(--good); color: #fff; font: 700 12px/1 var(--body); padding: 5px 9px; border-radius: 99px; white-space: nowrap; cursor: pointer; box-shadow: 0 3px 8px rgba(0,0,0,.18); }
.node .badge.error { background: var(--bad); } .node .badge.filtered, .node .badge.skipped { background: #8a9097; } .node .badge.waiting { background: var(--info); }
.knob { position: absolute; width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%; background: #fff; border: 2px solid #b9bec4; display: grid; place-items: center; cursor: pointer; color: var(--faint); z-index: 2; }
.knob svg { width: 14px; height: 14px; }
.knob:hover { border-color: var(--ink); color: var(--ink); }
.knob.on { background: var(--ink); border-color: var(--ink); color: var(--accent); }
.knob .kl { position: absolute; top: 30px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 11px; font-weight: 700; color: var(--muted); background: rgba(244,245,247,.9); padding: 0 4px; border-radius: 4px; }
.addbtn { position: absolute; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; border: 2px dashed #a3a8ae; background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--muted); }
.addbtn:hover { border-color: var(--ink); color: var(--ink); border-style: solid; }
.addbtn svg { width: 18px; height: 18px; }
.addroute { position: absolute; font-size: 12px; font-weight: 700; color: var(--muted); background: #fff; border: 1px dashed #a3a8ae; border-radius: 99px; padding: 3px 10px; cursor: pointer; white-space: nowrap; transform: translateY(-50%); }
.addroute:hover { color: var(--ink); border-color: var(--ink); }
.loopbox { position: absolute; border: 2px dashed #d0d4d9; border-radius: 18px; pointer-events: none; }
.loopbox span { position: absolute; top: -11px; left: 14px; background: #f4f5f7; padding: 0 6px; font-size: 11px; font-weight: 700; color: var(--muted); }
.ed-tools { position: absolute; left: 12px; bottom: 12px; z-index: 6; display: flex; gap: 8px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 8px; box-shadow: 0 8px 22px rgba(0,0,0,.08); flex-wrap: wrap; max-width: calc(100% - 24px); }
.ed-tools .run { background: var(--ink); color: #fff; border-color: var(--ink); }
.zoom { position: absolute; right: 12px; bottom: 12px; z-index: 6; display: flex; flex-direction: column; gap: 4px; }
.zoom button { width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-weight: 800; }

/* Side panel */
.side { width: 420px; background: #fff; border-left: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; }
.side .sh { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line-2); }
.side .sh .ai { width: 36px; height: 36px; }
.side .sh h2 { font-size: 16px; }
.side .sh small { display: block; color: var(--muted); font-size: 12px; }
.side .sb { flex: 1; overflow-y: auto; padding: 16px; }
.side .sf { border-top: 1px solid var(--line-2); padding: 12px 16px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.fld { margin-bottom: 14px; }
.fld > label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.fld > label .req { color: var(--bad); }
.fld .help { font-size: 12px; color: var(--muted); margin-top: 4px; }
.fld .prev { font-size: 12px; color: #136c3a; background: #f1faf4; border-radius: 6px; padding: 4px 8px; margin-top: 4px; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 90px; overflow: auto; }
.fld .prev.err { color: #b3261b; background: #fff3f1; }
.mapwrap { position: relative; }
.mapwrap .mapbtn { position: absolute; right: 6px; top: 6px; border: 0; background: var(--ground); border-radius: 6px; font: 700 11px/1 var(--mono); padding: 5px 6px; cursor: pointer; color: var(--muted); }
.mapwrap .mapbtn:hover { background: var(--accent); color: var(--ink); }
.mapwrap input, .mapwrap textarea { padding-right: 40px; }
.kv-row { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 6px; margin-bottom: 6px; }
.days { display: flex; gap: 4px; flex-wrap: wrap; }
.days button { border: 1px solid var(--line); background: #fff; border-radius: 6px; padding: 5px 8px; cursor: pointer; font-size: 13px; font-weight: 600; }
.days button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.picker input[type=search] { margin-bottom: 12px; }
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.app-grid button { display: flex; flex-direction: column; align-items: center; gap: 6px; border: 1px solid var(--line-2); background: #fff; border-radius: 10px; padding: 12px 6px; cursor: pointer; font-size: 12px; font-weight: 600; text-align: center; }
.app-grid button:hover { border-color: var(--ink); }
.app-grid .ai { width: 38px; height: 38px; }
.mod-list button { display: flex; gap: 10px; width: 100%; text-align: left; border: 1px solid var(--line-2); background: #fff; border-radius: 10px; padding: 10px; cursor: pointer; margin-bottom: 8px; align-items: flex-start; }
.mod-list button:hover { border-color: var(--ink); }
.mod-list .ai { width: 30px; height: 30px; }
.mod-list b { display: block; font-size: 14px; }
.mod-list small { color: var(--muted); font-size: 12.5px; }
.hookbox { background: #f6f7f8; border: 1px solid var(--line-2); border-radius: 10px; padding: 10px; }
.hookbox code { display: block; font: 12px/1.4 var(--mono); overflow-wrap: anywhere; margin-bottom: 8px; }
.problems { background: #fff3f1; border: 1px solid #f5c2bb; color: #8a1d14; border-radius: 10px; padding: 10px 12px; font-size: 13px; margin-bottom: 14px; }
.problems ul { margin: 4px 0 0; padding-left: 18px; }

/* Mapping popover */
.mapper { position: fixed; z-index: 60; width: 360px; max-height: min(480px, 70vh); background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 40px rgba(0,0,0,.2); display: flex; flex-direction: column; }
.mapper .mt { display: flex; border-bottom: 1px solid var(--line-2); }
.mapper .mt button { flex: 1; border: 0; background: none; padding: 9px; font-weight: 700; font-size: 13px; cursor: pointer; color: var(--muted); }
.mapper .mt button[aria-pressed="true"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }
.mapper .mb { overflow-y: auto; padding: 8px; }
.mapper .grp { margin-bottom: 8px; }
.mapper .grp > div:first-child { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 12.5px; padding: 4px; }
.mapper .grp .ai { width: 20px; height: 20px; }
.tree { font-size: 12.5px; }
.tree .it { display: flex; gap: 6px; align-items: baseline; padding: 3px 6px; border-radius: 6px; cursor: pointer; }
.tree .it:hover { background: #fff7c2; }
.tree .k { font-weight: 600; color: var(--ink); white-space: nowrap; }
.tree .v { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--mono); font-size: 11.5px; }
.tree .kids { margin-left: 14px; border-left: 1px solid var(--line-2); }
.fn { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 5px 6px; border-radius: 6px; cursor: pointer; font: 12px var(--mono); }
.fn:hover { background: #fff7c2; }
.fn-g { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 8px 6px 2px; }

/* Filter editor + run inspector */
.cond { display: grid; grid-template-columns: 1fr 150px 1fr auto; gap: 6px; align-items: start; margin-bottom: 6px; }
.orgroup { border: 1px solid var(--line-2); border-radius: 10px; padding: 10px; margin-bottom: 8px; }
.orlbl { text-align: center; font-size: 12px; font-weight: 800; color: var(--muted); margin: 4px 0 8px; }
pre.json { margin: 0; background: #f6f7f8; border: 1px solid var(--line-2); border-radius: 8px; padding: 10px; font: 12px/1.45 var(--mono); max-height: 320px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; }
details.bundle { border: 1px solid var(--line-2); border-radius: 10px; margin-bottom: 8px; }
details.bundle > summary { padding: 8px 12px; cursor: pointer; font-weight: 700; font-size: 13px; display: flex; gap: 8px; align-items: center; }
details.bundle > div { padding: 0 12px 12px; }
.steps .st { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 4px; border-top: 1px solid var(--line-2); cursor: pointer; }
.steps .st:hover { background: #f8f9fa; }
.steps .st .ai { width: 26px; height: 26px; }

/* Dialog + toast */
dialog { border: 0; border-radius: 16px; padding: 0; width: min(600px, calc(100% - 24px)); box-shadow: 0 24px 60px rgba(0,0,0,.3); }
dialog.wide { width: min(860px, calc(100% - 24px)); }
dialog::backdrop { background: rgba(10,10,10,.5); }
dialog .dh { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px 0; gap: 10px; }
dialog .db { padding: 16px 20px; max-height: 72vh; overflow-y: auto; }
dialog .df { display: flex; gap: 8px; justify-content: flex-end; padding: 12px 20px 18px; flex-wrap: wrap; }
dialog .df .left { margin-right: auto; }
.toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 99px; font-size: 14px; z-index: 90; box-shadow: 0 8px 24px rgba(0,0,0,.25); max-width: calc(100% - 32px); text-align: center; }
.toast.bad { background: var(--bad); }

@media (max-width: 900px) {
  .ed { grid-template-columns: 1fr; }
  .side { position: absolute; right: 0; top: 0; bottom: 0; width: min(420px, 100%); z-index: 20; box-shadow: -10px 0 30px rgba(0,0,0,.15); }
  .sc-row { grid-template-columns: auto minmax(0, 1fr) auto; }
  .sc-row .stats, .sc-row .chain { display: none; }
  .cond { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .top .bar { flex-wrap: wrap; padding: 8px 16px; gap: 8px; }
  .top nav { order: 3; flex-basis: 100%; }
  main { padding: 16px 16px 80px; }
  .ed { height: calc(100vh - 100px); }
  .ed-tools { max-width: calc(100% - 70px); padding: 6px; gap: 6px; }
  .ed-tools .btn { padding: 6px 9px; font-size: 13px; }
  .ed-top .name { width: 52vw; font-size: 15px; }
  .mapper { left: 8px !important; right: 8px; width: auto; }
}
