/* Electra — light Helios look (navy #14265c, cyan #1aa7e0), white sheets. */
:root {
  --navy: #14265c; --navy-2: #1d3a8a; --navy-3: #0e1a42; --cyan: #1aa7e0; --cyan-2: #0f8fc4; --cyan-soft: #e6f5fc;
  --ink: #1b2233; --muted: #5b6577; --line: #e3e7ee; --line-2: #cfd6e0; --bg: #f3f5f9; --card: #ffffff;
  --ok: #1a7f37; --ok-bg: #e7f6ec; --warn: #a15c00; --warn-bg: #fff3df; --fail: #b3261e; --fail-bg: #fdecea;
  --shadow: 0 1px 2px rgba(20, 38, 92, .06), 0 10px 30px -18px rgba(20, 38, 92, .35);
  --radius: 14px; --side-w: 232px; --top-h: 56px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }   /* the editor bar and panel start hidden; an id/class display rule must not undo that */
html, body { height: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 14px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--navy-2); text-decoration: none; }
a:hover { text-decoration: underline; }
code { font: 12.5px/1.4 ui-monospace, "Cascadia Mono", Consolas, monospace; background: #eef1f6; padding: 1px 5px; border-radius: 5px; }
h1 { margin: 0 0 4px; font-size: 22px; font-weight: 700; letter-spacing: -.01em; color: var(--navy); }
h2 { font-size: 16px; font-weight: 650; color: var(--navy); margin: 0 0 8px; }
.sub { color: var(--muted); margin: 0 0 16px; }
.muted { color: var(--muted); }

/* ---- app shell -------------------------------------------------------------- */
.app { display: grid; grid-template-columns: var(--side-w) 1fr; min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; background: linear-gradient(180deg, var(--navy) 0%, var(--navy-3) 100%); color: #fff; padding: 14px 12px; }
.brand { display: flex; align-items: center; gap: 10px; padding: 6px 8px 14px; color: #fff; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand .mark { width: 38px; height: 38px; border-radius: 10px; background: #fff; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); }
.brand .mark img { width: 30px; height: 30px; object-fit: contain; }
.brand b { display: block; font-size: 19px; letter-spacing: .06em; text-transform: uppercase; line-height: 1.1; }
.brand small { display: block; font-size: 11px; color: rgba(255, 255, 255, .62); letter-spacing: .02em; }
.side nav { display: flex; flex-direction: column; gap: 2px; margin-top: 6px; }
.side nav a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px; color: rgba(255, 255, 255, .82); font-size: 13.5px; font-weight: 500; position: relative; transition: background .15s, color .15s; }
.side nav a:hover { background: rgba(255, 255, 255, .08); color: #fff; text-decoration: none; }
.side nav a.active { background: rgba(255, 255, 255, .14); color: #fff; }
.side nav a.active::before { content: ""; position: absolute; left: -12px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--cyan); }
.side nav a svg { width: 18px; height: 18px; flex: none; opacity: .9; }
.side nav .sep { margin: 10px 8px 6px; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .42); }
.side-foot { margin-top: auto; padding: 10px 8px 4px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; align-items: center; gap: 10px; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--cyan); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px; flex: none; }
.side-foot .who { min-width: 0; flex: 1; }
.side-foot .who b { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-foot .who span { display: block; font-size: 11px; color: rgba(255, 255, 255, .6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-foot form { margin: 0; }
.side-foot button { background: none; border: 1px solid rgba(255, 255, 255, .25); color: #fff; border-radius: 7px; padding: 5px 8px; cursor: pointer; font-size: 12px; }
.side-foot button:hover { background: rgba(255, 255, 255, .1); }
.main { min-width: 0; display: flex; flex-direction: column; }
.topbar { height: var(--top-h); display: flex; align-items: center; gap: 12px; padding: 0 22px; background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); min-width: 0; }
.crumbs a { color: var(--muted); }
.crumbs .cur { color: var(--ink); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crumbs .sep { color: var(--line-2); }
.top-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.content { padding: 22px; }
body.wide .content { padding: 0; }
body.wide .side { width: 68px; }
body.wide .app { grid-template-columns: 68px 1fr; }
body.wide .brand b, body.wide .brand small, body.wide .side nav a span, body.wide .side nav .sep, body.wide .side-foot .who, body.wide .side-foot form { display: none; }
body.wide .side nav a { justify-content: center; padding: 10px 0; }
body.wide .side nav a.active::before { left: -12px; }
body.wide .side { padding: 14px 10px; }
body.wide .brand { justify-content: center; padding: 4px 0 12px; }
body.wide .side-foot { justify-content: center; }
body.wide .topbar { height: 44px; padding: 0 12px; }

/* ---- components ------------------------------------------------------------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); }
.card + .card { margin-top: 14px; }
.btn { display: inline-flex; align-items: center; gap: 7px; background: linear-gradient(180deg, var(--navy-2), var(--navy)); color: #fff; border: 0; border-radius: 9px; padding: 8px 14px; font-size: 13.5px; font-weight: 600; cursor: pointer; text-decoration: none; box-shadow: 0 1px 2px rgba(20, 38, 92, .25); transition: transform .12s, box-shadow .12s, filter .12s; }
.btn:hover { text-decoration: none; filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 6px 14px -6px rgba(20, 38, 92, .55); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .55; cursor: default; transform: none; }
.btn.ghost { background: #fff; color: var(--navy); border: 1px solid var(--line-2); box-shadow: none; }
.btn.ghost:hover { background: var(--cyan-soft); border-color: var(--cyan); }
.btn.cyan { background: linear-gradient(180deg, var(--cyan), var(--cyan-2)); }
.btn.sm { padding: 5px 10px; font-size: 12.5px; border-radius: 7px; }
.btn svg { width: 16px; height: 16px; }
label { display: block; font-size: 12.5px; color: var(--muted); margin: 10px 0 4px; font-weight: 500; }
input[type=text], input[type=email], input[type=password], input[type=search], input[type=number], select, textarea { width: 100%; padding: 8px 10px; border: 1px solid var(--line-2); border-radius: 8px; font-size: 14px; background: #fff; color: var(--ink); transition: border-color .12s, box-shadow .12s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(26, 167, 224, .18); }
.error { background: var(--fail-bg); color: var(--fail); border: 1px solid #f3b4b4; padding: 9px 12px; border-radius: 9px; margin: 10px 0; }
.ok { background: var(--cyan-soft); color: #0b4f6c; border: 1px solid #bfe4f5; padding: 9px 12px; border-radius: 9px; margin: 10px 0; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 600; letter-spacing: .01em; }
.badge.ok { background: var(--ok-bg); color: var(--ok); } .badge.warn { background: var(--warn-bg); color: var(--warn); } .badge.fail { background: var(--fail-bg); color: var(--fail); }
.badge.info { background: var(--cyan-soft); color: #0b4f6c; }
table.list { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; }
table.list th { position: sticky; top: 0; background: #fbfcfe; text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; z-index: 1; }
table.list td { padding: 8px 10px; border-bottom: 1px solid var(--line); font-size: 13px; vertical-align: top; }
table.list tr:hover td { background: #f7f9fc; }
table.list tr:last-child td { border-bottom: 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.kpi { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 10px; margin: 6px 0 16px; }
.kpi div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; box-shadow: var(--shadow); transition: transform .12s; }
.kpi div:hover { transform: translateY(-1px); }
.kpi b { display: block; font-size: 21px; font-weight: 700; color: var(--navy); letter-spacing: -.01em; }
.kpi span { color: var(--muted); font-size: 12px; }
.tabs { display: inline-flex; gap: 2px; flex-wrap: wrap; background: #e9edf4; padding: 4px; border-radius: 11px; margin: 4px 0 14px; }
.tabs a { padding: 6px 12px; border-radius: 8px; color: var(--muted); font-size: 13px; font-weight: 600; text-decoration: none; transition: background .12s, color .12s; }
.tabs a:hover { color: var(--navy); }
.tabs a.active { background: #fff; color: var(--navy); box-shadow: 0 1px 3px rgba(20, 38, 92, .18); }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.sev-fail { color: var(--fail); font-weight: 600; } .sev-info { color: var(--cyan, #0aa); font-weight: 600; }
#sch-tree span.assumed { color: var(--fail, #c00); }
#sch-tree span.changed::after, .chg-dot { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan, #0aa); margin-left: 6px; vertical-align: middle; }
.sev-warn { color: var(--warn); font-weight: 600; }
pre.ops, .ops { font: 12px/1.45 ui-monospace, "Cascadia Mono", Consolas, monospace; background: #0e1a42; color: #dbe6ff; border-radius: 10px; padding: 12px 14px; overflow-x: auto; }
textarea.model { width: 100%; min-height: 440px; font: 12px/1.4 ui-monospace, Consolas, monospace; }
.wrap-x { overflow-x: auto; }
.empty { text-align: center; padding: 40px 20px; color: var(--muted); }
.empty svg { width: 42px; height: 42px; color: var(--line-2); margin-bottom: 8px; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.content > * { animation: rise .25s ease-out both; }

/* ---- project cards --------------------------------------------------------------- */
.project { display: flex; flex-direction: column; gap: 10px; padding: 0; overflow: hidden; }
.project .thumb { height: 170px; background: #e9eef5 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20'><path d='M0 19.5H20M19.5 0V20' stroke='%23d5dce8' stroke-width='1'/></svg>"); display: grid; place-items: center; border-bottom: 1px solid var(--line); overflow: hidden; }
.project .thumb img { width: 92%; box-shadow: 0 6px 20px rgba(20, 38, 92, .18); background: #fff; border-radius: 3px; transition: transform .25s; }
.project:hover .thumb img { transform: scale(1.03); }
.project .body { padding: 4px 18px 16px; }
.project h2 { margin: 0 0 4px; font-size: 17px; }
.project .meta { color: var(--muted); font-size: 12.5px; margin-bottom: 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.project .meta span::before { content: "·"; margin-right: 8px; color: var(--line-2); }
.project .meta span:first-child::before { content: none; }
.project .actions { display: flex; gap: 8px; }

/* ---- auth pages ----------------------------------------------------------------- */
body.auth { background: radial-gradient(1200px 600px at 10% -10%, #1aa7e0 0%, transparent 55%), radial-gradient(900px 500px at 100% 100%, #2a4fb0 0%, transparent 60%), var(--navy-3); }
body.auth .app { grid-template-columns: 1fr; }
body.auth .side, body.auth .topbar { display: none; }
body.auth .content { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.auth-card { width: 100%; max-width: 440px; background: #fff; border-radius: 18px; padding: 28px 30px 26px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .2); animation: rise .35s ease-out both; }
.auth-card .brandline { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.auth-card .brandline img { width: 40px; height: 40px; }
.auth-card .brandline b { font-size: 22px; letter-spacing: .08em; color: var(--navy); }
.auth-card .brandline small { display: block; color: var(--muted); font-size: 12px; letter-spacing: .02em; }
.auth-card h1 { font-size: 20px; }
.auth-card .btn { width: 100%; justify-content: center; padding: 10px 14px; margin-top: 8px; }
.auth-foot { text-align: center; color: rgba(255, 255, 255, .55); font-size: 12px; margin-top: 14px; }

/* ---- viewer + editor ------------------------------------------------------------ */
.sch-shell { display: grid; grid-template-columns: 280px 1fr; grid-template-rows: minmax(0, 1fr); height: calc(100vh - 44px); min-height: 520px; background: #fff; overflow: hidden; }
.sch-shell > * { min-height: 0; }
.sch-shell.no-side { grid-template-columns: 0 1fr; }
.sch-shell.no-side .sch-side { display: none; }
.sch-shell.editing { grid-template-columns: 280px 1fr 300px; }
.sch-shell.editing.no-side { grid-template-columns: 0 1fr 300px; }
.sch-shell:fullscreen { height: 100vh; }
.sch-side { border-right: 1px solid var(--line); display: flex; flex-direction: column; min-width: 0; background: #f8f9fc; }
.sch-side-head { padding: 12px 14px 4px; }
.sch-side-head h2 { margin: 0; font-size: 14px; }
.sch-side-head p { margin: 2px 0 0; color: var(--muted); font-size: 12px; }
.sch-search { margin: 8px 12px; padding: 7px 10px; border: 1px solid var(--line-2); border-radius: 8px; font-size: 13px; }
.sch-results { list-style: none; margin: 0 12px 6px; padding: 0; max-height: 40%; overflow: auto; font-size: 12px; }
.sch-results li { padding: 4px 8px; cursor: pointer; border-radius: 6px; }
.sch-results li:hover { background: var(--cyan-soft); }
.sch-results li small { color: var(--muted); }
.sch-tree { flex: 1; overflow: auto; margin: 0; padding: 0 8px 12px; list-style: none; font-size: 12.5px; }
.sch-tree ul { list-style: none; margin: 0; padding-left: 12px; }
.sch-tree li > span { display: block; padding: 3px 6px; cursor: pointer; border-radius: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sch-tree li > span:hover { background: var(--cyan-soft); }
.sch-tree li.plant > span { font-weight: 650; margin-top: 6px; color: var(--navy); }
.sch-tree li.loc > span { color: #35405a; font-weight: 500; }
.sch-tree li.loc > span::before { content: "▸ "; color: var(--line-2); font-size: 11px; }
.sch-tree li.loc:not(.collapsed) > span::before { content: "▾ "; }
.sch-tree li.page > span.active { background: var(--navy); color: #fff; }
.sch-tree li.collapsed > ul { display: none; }
.sch-main { display: flex; flex-direction: column; min-width: 0; }
.sch-bar { display: flex; align-items: center; gap: 6px; padding: 6px 10px; border-bottom: 1px solid var(--line); font-size: 13px; background: #fff; flex-wrap: wrap; }
.sch-bar button, .ibtn { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border: 1px solid var(--line-2); background: #fff; border-radius: 7px; cursor: pointer; font-size: 12.5px; color: var(--navy); font-weight: 500; transition: background .12s, border-color .12s; }
.sch-bar button:hover, .ibtn:hover { background: var(--cyan-soft); border-color: var(--cyan); }
.sch-bar button.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.sch-bar button svg { width: 15px; height: 15px; }
.sch-bar .sch-title { flex: 1; min-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #35405a; font-weight: 500; padding: 0 6px; }
.sch-bar input[type=number] { width: 66px; padding: 5px 6px; border: 1px solid var(--line-2); border-radius: 7px; font-size: 13px; }
.sch-bar .grp { display: inline-flex; gap: 4px; align-items: center; padding-right: 8px; margin-right: 2px; border-right: 1px solid var(--line); }
.sch-canvas { flex: 1; overflow: hidden; background: #e6ebf3; position: relative; cursor: grab; }
.sch-canvas.dragging { cursor: grabbing; }
.sch-canvas[data-edmode="wire"], .sch-canvas[data-edmode="text"], .sch-canvas[data-edmode="rect"], .sch-canvas[data-edmode="place"] { cursor: crosshair; }
.sch-sheet { position: absolute; left: 0; top: 0; transform-origin: 0 0; box-shadow: 0 10px 34px rgba(20, 38, 92, .28); background: #fff; line-height: 0; }
.sch-sheet svg { display: block; width: 1190.55px; height: 841.89px; }
.sch-sheet svg text.hl { fill: #c00 !important; font-weight: bold; }
.sch-sheet svg rect.hlbox { fill: rgba(255, 220, 0, .55); stroke: #e0a000; stroke-width: .6; }
.sch-loading { padding: 40px; font: 14px system-ui, sans-serif; color: #555; }
.sch-loading.err { color: #c00; }
.sch-kbd { color: #7a8494; font-size: 11.5px; margin-left: auto; }
#electra-edits .ed-hit { pointer-events: stroke; }
#electra-edits .ed-hitbox { pointer-events: fill; }
#electra-edits .ed-selbox.multi { stroke: #1aa7e0; stroke-dasharray: 3 2; }
#electra-edits .ed-marquee { fill: rgba(26, 167, 224, .08); stroke: #1aa7e0; stroke-width: 1; stroke-dasharray: 4 3; }
#electra-edits .ed-marquee.crossing { stroke-dasharray: 2 2; fill: rgba(240, 160, 0, .08); stroke: #e0a000; }
#electra-edits.editing .ed-obj { cursor: move; }
#electra-edits.editing .ed-obj:hover { filter: drop-shadow(0 0 1.5px rgba(26, 167, 224, .9)); }
#electra-edits text.ed-link { cursor: pointer; text-decoration: underline; }
.ed-selbox { fill: rgba(26, 167, 224, .08); stroke: var(--cyan); stroke-width: 1; stroke-dasharray: 4 3; pointer-events: none; }
.ed-preview { fill: rgba(26, 167, 224, .06); stroke: var(--cyan); stroke-width: 1.2; stroke-dasharray: 3 2; pointer-events: none; }
#ed-gridlayer line { stroke: rgba(20, 38, 92, .09); stroke-width: .5; pointer-events: none; }
#ed-side { border-left: 1px solid var(--line); background: #f8f9fc; display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
#ed-side h3 { margin: 0; padding: 12px 14px 6px; font-size: 13px; color: var(--navy); }
#ed-palette { overflow: auto; padding: 0 10px 10px; flex: 1; }
.ed-group h4 { margin: 10px 4px 4px; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ed-group button { display: flex; align-items: center; gap: 8px; width: 100%; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 5px 8px; margin: 3px 0; cursor: pointer; font-size: 12.5px; color: var(--ink); transition: border-color .12s, background .12s; }
.ed-group button:hover { border-color: var(--cyan); background: var(--cyan-soft); }
.ed-group button.active { border-color: var(--navy); background: var(--navy); color: #fff; }
.ed-group button kbd { margin-left: auto; font: 11px ui-monospace, monospace; color: var(--muted); background: #eef1f6; border-radius: 4px; padding: 0 5px; }
.ed-group button.active kbd { color: #fff; background: rgba(255, 255, 255, .2); }
.ed-prev { width: 40px; height: 26px; flex: none; }
.ed-prev line, .ed-prev rect, .ed-prev circle, .ed-prev path { vector-effect: non-scaling-stroke; }
#ed-props { border-top: 1px solid var(--line); padding: 8px 12px 12px; max-height: 46%; overflow: auto; background: #fff; }
#ed-props h4 { margin: 4px 0 6px; font-size: 13px; color: var(--navy); text-transform: capitalize; }
#ed-props label { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 8px; margin: 4px 0; font-size: 12px; }
#ed-props label input[type=text], #ed-props label input[type=number], #ed-props label select { padding: 4px 6px; font-size: 12.5px; }
#ed-props label input[type=checkbox] { justify-self: start; }
#ed-status { font-size: 11.5px; color: var(--muted); padding: 0 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 380px; }
#ed-save.dirty { background: var(--cyan); color: #fff; border-color: var(--cyan); }
.ed-ghost { fill: none; stroke: var(--cyan); stroke-width: 1.6; stroke-dasharray: 5 3; cursor: pointer; pointer-events: stroke; }
.ed-ghost:hover { stroke-width: 3; stroke: var(--cyan-2); }
.ed-ghost-dot { fill: var(--cyan); pointer-events: none; }
.ed-problem { fill: rgba(230, 0, 0, .15); stroke: #e60000; stroke-width: 1.2; pointer-events: none; }
.ed-problems { background: var(--fail-bg); border: 1px solid #f3b4b4; border-radius: 8px; padding: 6px 10px; margin: 0 0 8px; font-size: 12px; }
.ed-problems ul { margin: 4px 0 0; padding-left: 16px; }
#ed-toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 20px); background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; font-size: 13px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 50; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
#ed-toast.show { opacity: 1; transform: translate(-50%, 0); }
#ed-toast.bad { background: var(--fail); }
@media (max-width: 900px) {
  .app { grid-template-columns: 1fr; } .side { position: static; height: auto; flex-direction: row; align-items: center; overflow-x: auto; }
  .side nav { flex-direction: row; } .side-foot { margin: 0 0 0 auto; border: 0; padding: 0; }
  .sch-shell { grid-template-columns: 1fr; height: auto; } .sch-side { max-height: 40vh; } .sch-canvas { height: 70vh; }
  .sch-shell.editing { grid-template-columns: 1fr; }
}

/* --- tutorial ------------------------------------------------------------------- */
.tut .card { max-width: 900px; scroll-margin-top: 70px; }
.tut h2 { margin: 0 0 8px; font-size: 17px; color: var(--navy); }
.tut ol, .tut ul { margin: 6px 0 0; padding-left: 22px; }
.tut li { margin: 5px 0; line-height: 1.5; }
.tut .toc ol { columns: 2; column-gap: 28px; }
.tut .toc li { margin: 3px 0; break-inside: avoid; }
.tut kbd { display: inline-block; min-width: 18px; padding: 1px 6px; border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 5px; background: #fff; font: 600 11.5px/1.5 ui-monospace, Menlo, Consolas, monospace; color: var(--navy); text-align: center; }
.tut .try { margin: 12px 0 0; display: flex; gap: 8px; flex-wrap: wrap; }
.tut table.keys th { width: 90px; text-align: left; vertical-align: top; padding: 6px 8px; }
.tut table.keys td { padding: 6px 8px; line-height: 1.9; }
.ed-selbox.gsel { stroke: #d97706; stroke-dasharray: 3 2; }
