@import url("fonts-e0de852b.css");
@import url("tokens-ba66a3f3.css");
* { box-sizing: border-box; }
html, body { margin: 0; color: var(--ink); font: 14px/1.6 var(--font); }
body { background: linear-gradient(148deg, var(--ground) 0%, var(--ground2) 55%, var(--ground) 100%); background-attachment: fixed; }
a { color: var(--accent); }

body { display: grid; grid-template-rows: var(--top-h, 46px) minmax(0, 1fr); height: 100vh; overflow: hidden; }

.top { position: relative; z-index: 58; display: flex; align-items: center; gap: 14px; min-width: 0; padding: 0 12px;
  background: var(--panel); backdrop-filter: blur(18px) saturate(1.1); border-bottom: 1px solid var(--line); }

.top .brand { flex: 0 0 auto; font-weight: 700; letter-spacing: .01em; font-size: 14.5px;
  color: var(--ink); white-space: nowrap; padding-right: 12px; border-right: 1px solid var(--line2); }

.top .burger { display: none; }

.top nav { display: flex; align-items: center; gap: 7px; min-width: 0; margin-left: 14px;
  overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.top nav::-webkit-scrollbar { display: none; }
.top nav a { display: flex; align-items: center; gap: 7px; height: 30px; padding: 0 13px; border-radius: 8px;
  color: var(--muted); text-decoration: none; font-size: 12.5px; white-space: nowrap; }
.top nav a svg { flex: 0 0 auto; width: 15px; height: 15px; fill: none; stroke: currentColor;
  stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.top nav a:hover { background: var(--ground); color: var(--ink); }

.top nav a[aria-current="page"] { background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--on-accent); font-weight: 600; box-shadow: 0 1px 6px rgba(90, 74, 232, .28); }
.top nav a[aria-current="page"] svg { stroke: var(--on-accent); }

.top nav a .flask { flex: 0 0 auto; display: grid; place-items: center; }
.top nav a .flask svg { width: 14px; height: 14px; fill: var(--accent); stroke: none; }

.top nav a[aria-current="page"] .flask svg { fill: var(--on-accent); }

.who { margin-left: auto; padding-left: 40px; flex: 0 0 auto; display: flex; align-items: center; gap: 12px; }
.peers { display: flex; align-items: center; gap: 4px; }

.pav, .mine { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--pc, var(--accent)); color: var(--on-status); font-size: 11.5px; font-weight: 600;
  letter-spacing: -.02em; box-shadow: 0 0 0 2px var(--panel-solid); }
.pav { opacity: .5; }
.pav.act { opacity: 1; }

.pav.more { opacity: 1; background: var(--ground); color: var(--muted); box-shadow: 0 0 0 1px var(--line2); }

.mine { border: 0; padding: 0; font-family: inherit; cursor: pointer; }
.mine.ro { box-shadow: 0 0 0 2px var(--panel-solid), 0 0 0 3px var(--line2); }

.me { position: relative; flex: 0 0 auto; display: flex; }
.memenu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 70; min-width: 196px;
  display: grid; gap: 1px; padding: 6px; background: var(--panel-solid);
  border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-lift); }

.memenu[hidden] { display: none; }

.mehead { display: flex; align-items: center; gap: 10px; padding: 6px 6px 9px 10px;
  margin-bottom: 5px; border-bottom: 1px solid var(--line); }
.mewho { display: grid; gap: 2px; min-width: 0; }
.mehead .mn { font-size: 13px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mehead .mr { font-size: 11.5px; color: var(--muted); }

.metheme { flex: 0 0 auto; margin-left: auto; width: 32px; height: 32px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: none; color: var(--muted); cursor: pointer; padding: 0; }
.metheme:hover { background: var(--ground); color: var(--ink); }
.metheme:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.metheme svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.4;
  stroke-linecap: round; stroke-linejoin: round; }
.meitem { display: flex; align-items: center; width: 100%; height: 34px; padding: 0 10px;
  border: 0; border-radius: 7px; background: none; color: var(--ink); font-family: inherit;
  font-size: 13px; text-align: left; text-decoration: none; white-space: nowrap; cursor: pointer; }
.meitem:hover { background: var(--ground); }
.meitem:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
@media (hover: none) { .meitem { height: 44px; } }

.orgdlg { width: min(880px, calc(100vw - 32px)); height: min(620px, calc(100vh - 64px)); padding: 0;
  border: 1px solid var(--line2); border-radius: 12px; background: var(--panel-solid); color: var(--ink);
  box-shadow: var(--shadow-lift); overflow: hidden; }
.orgdlg::backdrop { background: rgba(11, 16, 32, .42); }

.orgdlg { display: grid; grid-template-rows: auto auto minmax(0, 1fr); }

.orgdlg:not([open]) { display: none; }
.orghead { display: flex; align-items: center; gap: 10px; padding: 13px 14px 12px;
  border-bottom: 1px solid var(--line); }
.orghead .orgt { font-size: 14.5px; font-weight: 700; }
.orgx { margin-left: auto; width: 30px; height: 30px; display: grid; place-items: center;
  border: 1px solid transparent; border-radius: 6px; background: none; color: var(--muted);
  font-family: inherit; font-size: 17px; line-height: 1; cursor: pointer; }
.orgx:hover { border-color: var(--line2); color: var(--ink); background: var(--ground); }

.orgtabs { display: flex; align-items: flex-end; gap: 2px; padding: 8px 14px 0;
  border-bottom: 1px solid var(--line); }
.orgtab { height: 32px; padding: 0 13px; border: 1px solid transparent; border-bottom: 0;
  border-radius: 6px 6px 0 0; margin-bottom: -1px; background: none; color: var(--muted);
  font-family: inherit; font-size: 13px; cursor: pointer; white-space: nowrap; }
.orgtab:hover { color: var(--ink); background: var(--ground); }

.orgtab.on { background: var(--panel-solid); border-color: var(--line2);
  border-bottom: 1px solid var(--panel-solid); color: var(--accent-ink); font-weight: 700; }

.orgmain { overflow: hidden; padding: 14px; display: flex; flex-direction: column; }

.orgbody { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 10px; }

.orgmain .grid { box-shadow: none; flex: 1 1 auto; min-height: 0; }
.orgmain .grid.short, .orgmain .grid.usr, .orgmain .grid.prd { height: auto; }
.orgmain .notice { flex: 0 0 auto; margin-top: 0; }

.grid.prd .head, .grid.prd .prow { display: grid;
  grid-template-columns: minmax(0, 1fr) 92px 72px; align-items: center; gap: 8px; padding: 0 10px; }
.grid.prd .head { height: var(--row-h); font-size: 11px; color: var(--muted);
  border-bottom: 1px solid var(--line); }
.grid.prd .prow { min-height: var(--row-h); border-bottom: 1px solid var(--line); font-size: 13px; }

.grid.prd .prow { cursor: pointer; transition: background var(--t-fast); }
.grid.prd .prow:hover { background: var(--ground); }
.grid.prd .prow.on { background: var(--ground); }

.grid.prd .pn { min-width: 0; padding: 0; border: 0; background: none; color: var(--accent-ink);
  font-family: inherit; font-size: 13px; text-align: left; cursor: pointer;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.grid.prd .pn:hover { text-decoration: underline; }
.prdedit { padding: 11px 12px 13px; border-bottom: 1px solid var(--line); background: var(--panel); }

.prdedit.waiting { display: grid; place-items: center; min-height: 46px; }
.prdedit.waiting .spin { width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid var(--line2); border-top-color: var(--accent); animation: bspin .8s linear infinite; }
@media (prefers-reduced-motion: reduce) { .prdedit.waiting .spin { animation-duration: 2.4s; } }
.prdedit .f { display: grid; gap: 4px; margin-bottom: 9px; }
.prdedit .f label { font-size: 12px; color: var(--muted); }
.prdedit input, .prdedit textarea { width: 100%; box-sizing: border-box; padding: 7px 9px;
  border: 1px solid var(--line2); border-radius: 5px; background: var(--panel-solid); color: var(--ink);
  font-family: inherit; font-size: 13.5px; }
.prdedit textarea { min-height: 88px; resize: vertical; line-height: 1.55; }

.prdedit .ops { display: flex; justify-content: space-between; align-items: center; }

.burger { flex: 0 0 auto; width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 3px; background: none; color: var(--muted); cursor: pointer; }
.burger:hover { background: var(--ground); color: var(--ink); }
.burger svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.icons { display: none; }

main { padding: 18px 20px 40px; overflow: auto; min-height: 0; }

.bar { position: sticky; top: 0; z-index: 30; margin: 0 0 18px; display: flex; gap: 16px; align-items: stretch; backdrop-filter: blur(18px) saturate(1.1);
  background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; }
.barmain { flex: 1 1 auto; min-width: 0; }
.barrow { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.fgroup { display: flex; flex-direction: column; }
.fgroup label { font-size: 11px; color: var(--muted); margin-bottom: 3px; letter-spacing: .02em; }
.bar select, .bar input { background: var(--panel); color: var(--ink); border: 1px solid var(--line);
  border-radius: 5px; padding: 4px 7px; font: 13px var(--font); min-width: 130px; max-width: 240px; height: 28px; }
.bar .reset { margin-left: auto; align-self: flex-end; font-size: 12px; color: var(--accent); background: none; border: 0; cursor: pointer; padding: 4px 6px; height: 28px; }

.barkpi { flex: 0 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 0;
  padding-left: 4px; border-left: 1px solid var(--line); }
.stat { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: baseline; padding: 0 15px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat .l { grid-column: 1/-1; font-size: 10.5px; color: var(--muted); letter-spacing: .03em; margin-bottom: 1px; display: flex; align-items: center; gap: 5px; }
.stat .v { font-size: 22px; font-weight: 650; letter-spacing: -.02em; line-height: 1.1; white-space: nowrap; font-variant-numeric: tabular-nums; font-family: var(--mono); }
.stat .u { font-size: 11.5px; color: var(--muted); font-weight: 400; margin-left: 2px; font-family: var(--font); }
.stat .n { font-size: 10.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; align-self: end; }
.help { width: 15px; height: 15px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel);
  color: var(--muted); font: 600 10px/1 var(--font); cursor: help; padding: 0; display: inline-flex; align-items: center; justify-content: center; }
.help:hover { border-color: var(--accent); color: var(--accent); }
.help:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }

.helpwrap { position: relative; display: inline-flex; vertical-align: middle; }
.helppop { position: absolute; top: calc(100% + 7px); left: 0; z-index: 60; display: none;
  width: max-content; max-width: min(320px, 78vw); white-space: pre-line; text-align: left;
  background: var(--panel-solid); color: var(--ink); border: 1px solid var(--line2);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-lift); padding: 9px 11px;
  font-size: 12px; line-height: 1.65; font-weight: 400; letter-spacing: 0; }
.helpwrap.on .helppop { display: block; animation: helpin var(--t-fast) var(--ease); }
@keyframes helpin { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .helpwrap.on .helppop { animation: none; } }

@media (max-width: 1080px) {
  .bar { flex-direction: column; gap: 10px; }
  .barkpi { padding: 10px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .stat { flex: 1 1 0; min-width: 0; padding: 0 12px; }
  .stat:first-child { padding-left: 0; }
}
.toolbar { display: grid; grid-template-rows: 32px 32px; gap: 6px; margin-bottom: 10px; }
.toolbar .legend { display: flex; gap: 14px; align-items: center; font-size: 12px; color: var(--muted); }
.legend { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; font-size: 12px; color: var(--muted); }
.toolbar .filters { display: flex; gap: 8px; align-items: center; }
.toolbar select, .toolbar input { height: 28px; border: 1px solid var(--line); border-radius: 3px; background: var(--panel); color: var(--ink); padding: 0 6px; font: inherit; }
.chip { display: inline-block; min-width: 40px; padding: 0 6px; white-space: nowrap; border-radius: 3px; color: var(--on-status); font-family: var(--mono); font-size: 12px; line-height: 20px; text-align: center; }
.chip.not_started { background: var(--s-notstarted); }
.chip.draft { background: var(--s-draft); }
.chip.testing { background: var(--s-testing); }
.chip.passed { background: var(--s-passed); }
.chip.rejected { background: var(--s-rejected); }

.grid { background: var(--panel); backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); height: calc(var(--row-h) * 17 + 2px); display: grid; grid-template-rows: var(--row-h) 1fr var(--row-h); }
.grid table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.grid thead th { height: var(--row-h); text-align: left; padding: 0 10px; font-size: 12px; color: var(--muted); font-weight: 500; border-bottom: 1px solid var(--line); background: var(--ground); position: sticky; top: 0; cursor: pointer; }
.grid .body { overflow: auto; }
.grid tbody td { height: var(--row-h); padding: 0 10px; border-bottom: 1px solid var(--line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.grid th.stepc, .grid td.stepc { padding: 0 5px; text-align: center; }

.grid th.stepc { font-size: 11px; letter-spacing: -.02em; white-space: nowrap; }
.grid th.stepc .qmark { width: 12px; height: 12px; margin-left: 2px; }

.grid thead th { position: relative; }
.colgrip { position: absolute; top: 0; right: -4px; width: 9px; height: 100%;
  cursor: col-resize; z-index: 2; touch-action: none; }
.colgrip::after { content: ""; position: absolute; top: 25%; bottom: 25%; left: 4px; width: 1px;
  background: var(--line); transition: background var(--t-fast); }
.colgrip:hover::after { background: var(--accent); left: 3px; width: 3px; border-radius: 2px; }

body.colresizing { cursor: col-resize; user-select: none; }

.grid tbody tr.grp td { border-top: 1px solid var(--line2); }

.grid tbody tr.sheetrow > td { background: var(--accent-soft); border-top: 1px solid var(--line2);
  padding: 6px 10px; }

.sheetrow.off .shname, .sheetrow.off .shcnt { color: var(--muted); }
.sheettoggle { display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent;
  color: var(--ink); font: inherit; font-size: 12.5px; font-weight: 700; padding: 2px 4px;
  border-radius: 4px; cursor: pointer; max-width: 380px; }
.sheettoggle:hover { background: var(--panel-solid); }
.sheettoggle .shname { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sheetrow .shcnt { margin-left: 10px; color: var(--muted); font-size: 11.5px; font-family: var(--mono); }

.gswwrap { float: right; display: inline-flex; align-items: center; gap: 7px; }
.gswl { color: var(--muted); font-size: 11.5px; }

.gsw { position: relative; width: 34px; height: 18px; flex: 0 0 auto; border: 1px solid var(--line2);
  border-radius: 999px; background: var(--track); cursor: pointer; padding: 0;
  transition: background var(--t-fast), border-color var(--t-fast); }
.gsw.on { background: var(--accent); border-color: var(--accent); }
.gsw .gswknob { position: absolute; top: 1px; left: 1px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--knob); box-shadow: var(--shadow-card); transition: transform var(--t-fast); }
.gsw.on .gswknob { transform: translateX(16px); }
.gsw:disabled { opacity: .5; cursor: default; }

.grid tbody tr:first-child.grp td { border-top: 0; }
.grid tbody td.num, .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.grid tbody tr:hover { background: var(--ground); }
.grid tfoot, .grid .foot { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 0 10px; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); }
.grid .foot button { height: 24px; border: 1px solid var(--line); background: var(--panel); border-radius: 3px; font: inherit; color: var(--ink); }
.target-mark { color: var(--accent); font-weight: 700; }
.notice { padding: 10px 14px; background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--warn); margin-bottom: 12px; }
.empty { color: var(--muted); }
button.primary { height: 28px; padding: 0 12px; border: 0; border-radius: 3px; background: var(--accent); color: var(--on-accent); font: inherit; }

.card { display: grid; gap: 16px; }
.card .head { display: flex; align-items: center; gap: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 4px; padding: 10px 14px; height: 56px; }
.card .head .title { font-weight: 700; }
.card .head .owner { margin-left: auto; color: var(--muted); font-size: 13px; }
.tabs { display: flex; gap: 4px; }
.tabs a { text-decoration: none; padding: 4px 12px; border: 1px solid var(--line); border-radius: 3px; color: var(--muted); background: var(--panel); font-size: 13px; }
.tabs a[aria-current="page"] { color: var(--ink); border-color: var(--accent); }
.cond { display: flex; gap: 10px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: 4px; padding: 8px 14px; height: 40px; font-size: 13px; }
.cond .mark { font-family: var(--mono); font-weight: 700; }
.cond .mark.ok { color: var(--s-passed); } .cond .mark.ng { color: var(--warn); }
.cond .reason { color: var(--muted); }
.sect { background: var(--panel); backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 8px; display: grid; grid-template-rows: 40px 1fr; box-shadow: var(--shadow); }
.sect > .sect-h { display: flex; align-items: center; gap: 10px; padding: 0 14px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.sect > .sect-h .actions { margin-left: auto; display: flex; gap: 6px; }
.sect > .sect-b { overflow: auto; padding: 10px 14px; }
.sect.body { height: 360px; }
.sect.versions { height: 84px; }
.sect.evidence { height: 300px; }
.sect .sect-h button, .sect .sect-b button { height: 24px; border: 1px solid var(--line); background: var(--panel); border-radius: 3px; font: inherit; color: var(--ink); padding: 0 10px; }
.sect .sect-h button.primary { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.fields { display: grid; grid-template-columns: 120px 1fr; gap: 6px 12px; align-items: start; }
.fields .k { color: var(--muted); font-size: 12px; padding-top: 3px; }
.fields .v { white-space: pre-wrap; min-height: 22px; }
.fields textarea, .fields input, .fields select { width: 100%; font: inherit; border: 1px solid var(--line); border-radius: 3px; padding: 4px 6px; background: var(--panel); color: var(--ink); }
.fields textarea { min-height: 56px; resize: vertical; }
.vlist { display: flex; gap: 6px; overflow-x: auto; }
.vlist button { white-space: nowrap; font-family: var(--mono); }
.vlist button[aria-current="true"] { border-color: var(--accent); color: var(--accent); }
.ev { display: grid; grid-template-columns: 70px 90px 1fr 110px; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.ev .kind { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.ev .meta { color: var(--muted); font-size: 12px; text-align: right; }

.toast { position: fixed; top: 60px; right: 20px; z-index: 90; background: var(--accent); color: var(--on-accent); padding: 6px 12px; border-radius: 3px; font-size: 13px; }
.toast.warn { background: var(--warn); }

.map { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; height: 100%; }
.map.with-axes { grid-template-columns: 340px minmax(0, 1fr); }
.map > .pane.axes { display: none; }
.map.with-axes > .pane.axes { display: grid; }
.pane { background: var(--panel); border: 1px solid var(--line); border-radius: 4px; display: grid; grid-template-rows: 36px 1fr; min-width: 0; }
.pane > .pane-h { display: flex; align-items: center; gap: 8px; padding: 0 12px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.pane > .pane-b { overflow: auto; padding: 8px 12px; min-height: 0; }
.portrait { font-size: 13px; padding: 8px 10px; background: var(--ground); border-radius: 3px; margin-bottom: 10px; min-height: 76px; line-height: 1.7; }
.portrait .portrait-h { font-size: 12px; color: var(--muted); margin-bottom: 3px; }
.tree-h { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; font-size: 11px; color: var(--muted); padding: 0 4px 4px; border-bottom: 1px solid var(--line); }
.tree .axis { margin: 10px 0 2px; font-weight: 700; display: flex; gap: 8px; align-items: baseline; font-size: 13px; }
.tree .axis .kind { font-weight: 400; color: var(--muted); font-size: 11px; }
.tree .val { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 3px 4px; border-radius: 3px; font-size: 13px; cursor: pointer; }
.tree .val:hover { background: var(--ground); }
.tree .val[aria-selected="true"] { background: var(--target); }
.tree .val.child { margin-left: 14px; }
.tree .val.child::before { content: "うち "; color: var(--muted); font-size: 11px; }
.tree .val > span:first-child { overflow-wrap: anywhere; line-height: 1.5; }

.map-tools { display: grid; gap: 6px; padding: 8px 12px; border-bottom: 1px solid var(--line); }
.map-tools .row { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; font-size: 12px; color: var(--muted); min-height: 26px; }
.map-tools .lbl { color: var(--ink); font-weight: 700; }
.map-tools select { height: 26px; max-width: 230px; font: inherit; border: 1px solid var(--line); border-radius: 3px; background: var(--panel); color: var(--ink); }
.axes-btn { height: 26px; padding: 0 10px; border: 1px solid var(--line); border-radius: 3px; background: var(--panel); color: var(--ink); font: inherit; font-size: 12px; cursor: pointer; }
.axes-btn[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }
.map-tools .legend-row { border-top: 1px solid var(--line); padding-top: 6px; gap: 6px 16px; }

.cells { display: grid; gap: 6px; height: 100%; align-content: stretch; }
.cells .hd { color: var(--muted); font-size: 12px; display: flex; align-items: center; padding: 4px; }
.cells .hd.col { justify-content: center; text-align: center; border-bottom: 2px solid var(--accent); padding-bottom: 6px; color: var(--ink); font-weight: 700; }
.cells .hd.row { border-right: 2px solid var(--accent); justify-content: flex-end; text-align: right; padding-right: 8px; color: var(--ink); font-weight: 700; }
.cells .hd.row.child { border-right-color: var(--line); font-weight: 400; font-size: 11.5px; }
.cells .hd.row.group { border-right-color: var(--accent); align-items: flex-start; }
.cells .cell { min-height: 84px; border: 1px solid var(--line); border-radius: 3px; padding: 8px 10px; display: grid; grid-template-rows: 20px 1fr 20px; gap: 2px; font-size: 12px; background: var(--panel); }
.cells .cell.target { background: var(--target); }
.cells .cell.spacer { min-height: 0; grid-template-rows: 1fr; align-items: center; justify-content: center; border-style: dashed; background: transparent; }
.cells .cell .name { font-weight: 700; display: flex; gap: 6px; align-items: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cells .cell .size { display: grid; align-content: start; gap: 1px; }
.cells .cell .size .big { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 15px; font-weight: 700; }
.cells .cell .ops { display: flex; gap: 6px; align-items: center; }
.cells .cell .ops button { height: 20px; font-size: 11px; padding: 0 8px; border: 1px solid var(--line); background: var(--panel); border-radius: 3px; color: var(--ink); cursor: pointer; }
.cells .cell .ops button:hover { border-color: var(--accent); }

.grid.short { height: calc(var(--row-h) * 12 + 2px); }

body.gates main { display: grid; grid-template-rows: auto minmax(0, 1fr); }
body.gates .grid { height: auto; min-height: 0; }
.stack { display: grid; gap: 18px; }

.kv .pre { white-space: pre-wrap; }
.detail { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 12px; height: 300px; }
.detail .pane { grid-template-rows: 36px 1fr; }
.kv { display: grid; grid-template-columns: 92px 1fr; gap: 4px 10px; font-size: 13px; }
.kv .k { color: var(--muted); font-size: 12px; }
.desire { padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.desire .face { font-weight: 700; }
.desire .why { color: var(--muted); font-size: 12px; display: block; }
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 5px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.feat .issue { color: var(--muted); font-size: 12px; }
.pill { display: inline-block; padding: 0 7px; border: 1px solid var(--line); border-radius: 10px; font-size: 11px; color: var(--muted); margin-right: 4px; }
td .pill { margin: 0 4px 0 0; }
.locked { color: var(--muted); }

.talk { max-width: 760px; background: var(--panel); border: 1px solid var(--line); border-radius: 4px; padding: 18px 22px; display: grid; gap: 12px; }
.talk h2 { font-size: 15px; margin: 0; color: var(--muted); font-weight: 500; letter-spacing: .04em; }
.talk .who { font-size: 15px; font-weight: 700; }
.talk .block { display: grid; gap: 3px; }
.talk .pain { font-size: 17px; font-weight: 700; line-height: 1.5; }
.talk .scene { color: var(--ink); }
.talk .change { font-size: 15px; }
.talk .prices { display: grid; gap: 4px; }
.talk .price { display: grid; grid-template-columns: 90px 130px 1fr; gap: 8px; font-size: 13px; align-items: baseline; }
.talk .price .amount { font-family: var(--mono); font-variant-numeric: tabular-nums; font-weight: 700; }
.talk .proofs { display: grid; gap: 2px; font-size: 13px; color: var(--muted); }
.talk .sel { display: flex; gap: 8px; align-items: center; margin-bottom: 12px; }
.talk .sel select { height: 28px; font: inherit; border: 1px solid var(--line); border-radius: 3px; background: var(--panel); color: var(--ink); }
@media print { header.app, .talk .sel, .reaction { display: none !important; } .talk { border: 0; } }
.reaction { max-width: 760px; margin-top: 12px; }

.plan-wrap { background: var(--panel); backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: var(--radius); height: calc(38px * 12 + 2px); overflow: hidden; box-shadow: var(--shadow); }
.plan-scroll { overflow: auto; }
.plan-table { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 1180px; }
.plan-table th, .plan-table td { height: 38px; padding: 0 12px; border-bottom: 1px solid var(--line); white-space: nowrap; font-size: 13px; }
.plan-table thead th { position: sticky; top: 0; z-index: 2; background: var(--ground); color: var(--muted); font-size: 12px; font-weight: 500; text-align: right; }
.plan-table thead th:first-child, .plan-table tbody td:first-child { position: sticky; left: 0; z-index: 1; background: var(--panel); text-align: left; font-family: var(--mono); }
.plan-table thead th:first-child { z-index: 3; background: var(--ground); }
.plan-table td { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; }
.plan-table td.plan { color: var(--muted); }
.plan-table tr:hover td { background: var(--ground); }
.plan-table tr[aria-selected="true"] td { background: var(--target); }
.plan-table td.down { color: var(--warn); font-weight: 700; }
.plan-table .grp { border-left: 1px solid var(--line2); }
.plan-table tbody tr:nth-child(even) td { background: rgba(23, 122, 90, .035); }
.plan-table tbody tr:nth-child(even) td:first-child { background: var(--panel-solid); }
.trace { display: grid; grid-template-columns: minmax(0,320px) minmax(0,1fr); gap: 18px; height: 220px; margin-top: 18px; }

.snap { border-collapse: collapse; width: 100%; font-size: 13px; }
.snap th, .snap td { padding: 3px 8px; border-bottom: 1px solid var(--line); text-align: right; font-family: var(--mono); }
.snap th:first-child, .snap td:first-child { text-align: left; }
.conc { display: inline-block; padding: 0 8px; border-radius: 3px; color: var(--on-status); font-size: 12px; line-height: 20px; }
.conc.go { background: var(--s-passed); } .conc.stop { background: var(--s-rejected); }
.conc.other { background: var(--s-notstarted); }   
.overdue { color: var(--warn); font-weight: 700; }
.seg-head { background: var(--panel); border: 1px solid var(--line); border-radius: 4px; padding: 12px 16px; display: grid; gap: 6px; }

.seg-head .name { font-size: 17px; font-weight: 700; display: flex; gap: 8px; align-items: center; }
.seg-head .size { font-family: var(--mono); }
.seg-cols { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 12px; }
.ptabs { display: flex; gap: 4px; margin-bottom: 6px; }
.ptabs button { height: 24px; padding: 0 10px; border: 1px solid var(--line); background: var(--panel); color: var(--muted); border-radius: 3px; font: inherit; font-size: 12px; }
.ptabs button[aria-current="true"] { color: var(--ink); border-color: var(--accent); }

h1, h2, h3, .brand, .seg-head .name, .talk .pain { font-weight: 700; letter-spacing: .01em; }
.stat .v, .cells .cell .size .big { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
body { font-size: 13.5px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
.fgroup label, .pane > .pane-h, .sect > .sect-h, .grid thead th, .stat .l { letter-spacing: .04em; }

a { color: var(--accent-ink); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent); }

.bar { border-radius: var(--radius); box-shadow: var(--shadow); }
.bar select, .bar input { border-radius: 999px; padding: 4px 12px; transition: border-color .12s, box-shadow .12s; }
.bar select:hover, .bar input:hover { border-color: var(--accent); }
.bar select:focus-visible, .bar input:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.stat .v { font-size: 24px; }

.grid, .pane, .sect, .card .head, .card .cond, .talk, .seg-head, .plan-wrap, .detail .pane {
  border-radius: var(--radius); box-shadow: var(--shadow); border-color: var(--line);
}
.grid thead th { background: transparent; border-bottom: 1px solid var(--line2); font-size: 11.5px; letter-spacing: .03em; transition: color .12s; }
.grid thead th:hover { color: var(--accent); }
.grid tbody td { border-bottom: 1px solid var(--line); }
.grid tbody tr { transition: background .12s; cursor: pointer; }
.grid tbody tr:hover { background: var(--accent-soft); }
.grid .foot { border-top: 1px solid var(--line); }

.chip { border-radius: 999px; min-width: 44px; padding: 0 10px; line-height: 22px; font-weight: 600; letter-spacing: .02em; }
.pill { border-radius: 999px; padding: 1px 9px; background: var(--accent-soft); border-color: transparent; color: var(--accent-ink); }
button, .axes-btn { cursor: pointer; }
button.primary { border-radius: 999px; height: 32px; padding: 0 16px; font-weight: 700; box-shadow: var(--shadow); transition: transform .12s, box-shadow .12s, background .12s; }
button.primary:hover { box-shadow: var(--shadow-lift); transform: translateY(-1px); }
button.primary:active { transform: translateY(0); }
.grid .foot button, .sect button, .cells .cell .ops button, .ptabs button, .vlist button, .tabs a {
  border-radius: 999px; transition: border-color .12s, background .12s, color .12s;
}
.grid .foot button:hover, .sect button:hover, .cells .cell .ops button:hover, .ptabs button:hover, .vlist button:hover, .tabs a:hover {
  border-color: var(--accent); color: var(--accent-ink); background: var(--accent-soft);
}
.notice { border-radius: var(--radius); box-shadow: var(--shadow); border-left-width: 4px; }
.empty { color: var(--muted); }

.cells .cell { border-radius: var(--radius-sm); border-color: var(--line2); transition: box-shadow .12s, transform .12s, border-color .12s; }
.cells .cell:hover { box-shadow: var(--shadow-lift); border-color: var(--accent); transform: translateY(-1px); }
.cells .cell.spacer:hover { box-shadow: none; transform: none; border-color: var(--line); }
.cells .cell.target { border-color: var(--target-line); }
.cells .hd.col, .cells .hd.row { border-color: var(--accent); }
.cells .cell .size .big { font-size: 19px; font-weight: 700; }
.portrait { border-radius: var(--radius-sm); }
.tree .val { transition: background .12s; }
.tree .val:hover { background: var(--accent-soft); }

.toast { border-radius: 999px; box-shadow: var(--shadow-lift); padding: 8px 16px; font-weight: 700; }
.conc { border-radius: 999px; font-weight: 700; padding: 0 10px; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  button.primary:hover, .cells .cell:hover { transform: none; }
}
.chiplegend { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; font-size: 12px; color: var(--muted); }
.chiplegend .legend { gap: 12px; }
.snap tr.sum td { border-top: 1px solid var(--line2); font-weight: 700; }
.snap tr.residual td { color: var(--warn); }
.trace.one { grid-template-columns: minmax(0, 1fr); }

.notice.small { font-size: 12px; color: var(--muted); background: var(--soon); border: 1px solid var(--line); border-radius: 3px; padding: 7px 10px; margin-top: 10px; }
.burger svg { transition: transform var(--t) var(--ease); }
.burger:hover svg { transform: scale(1.1); }

button, .grid .foot button, .sect button, .ptabs button, .vlist button {
  transition: transform var(--t-fast) var(--ease), filter var(--t-fast), border-color var(--t), background var(--t), color var(--t); }
button:not([disabled]):hover { border-color: var(--accent); }
button.primary:not([disabled]):hover, .sect .sect-h button.primary:hover { filter: brightness(1.08); }
button:not([disabled]):active { transform: scale(.97); }

.sect, .grid, .bar, .plan-wrap { transition: box-shadow var(--t) var(--ease); }
.sect:hover, .grid:hover { box-shadow: var(--shadow-lift); }
.grid tbody tr { transition: background var(--t-fast); }
.cells .cell { transition: background var(--t) var(--ease), box-shadow var(--t) var(--ease), transform var(--t) var(--ease); }
.cells .cell:hover { box-shadow: var(--shadow-lift); transform: translateY(-2px); }

.toast { animation: toastin var(--t) var(--ease); box-shadow: var(--shadow-lift); }
@keyframes toastin { from { opacity: 0; transform: translateY(-8px) scale(.98); } to { opacity: 1; transform: none; } }
main > * { animation: pagein var(--t-slow) var(--ease) backwards; }
@keyframes pagein { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
body.board main > * { animation: none; }   

main.noanim > * { animation: none; }

body.gates main > .grid { animation: none; }
body.gates .grid tbody tr { animation: rowin var(--t) var(--ease) backwards;
  animation-delay: calc(var(--i, 0) * 18ms); }

body.gates .grid tbody tr.nostep { animation: none; }
@keyframes rowin { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .toast, main > * { animation: none; }
  .burger:hover svg { transform: none; }
  .cells .cell:hover { transform: none; }
}

.sect .sect-b .ops, .cells .cell .ops, .plan-wrap .ops, .notice .ops { display: flex; gap: 8px; justify-content: flex-end; }
.notice .ops { margin-top: 10px; }

.notice .acct { margin-top: 6px; font-size: 12px; color: var(--muted); font-family: var(--mono); }

.notice.warn { border-left: 3px solid var(--s-rejected); background: var(--panel); }
.notice.warn.small { border: 1px solid var(--line); border-left: 3px solid var(--s-rejected);
  color: var(--ink); }
.sect .sect-h button:first-of-type { margin-left: auto; }

body {
  background:
    radial-gradient(900px 600px at 12% -8%, rgba(47, 86, 224, .10), transparent 60%),
    radial-gradient(760px 520px at 88% 4%, rgba(123, 92, 240, .10), transparent 62%),
    radial-gradient(680px 480px at 60% 100%, rgba(34, 184, 240, .07), transparent 60%),
    linear-gradient(148deg, var(--ground) 0%, var(--ground2) 55%, var(--ground) 100%);
  background-attachment: fixed;
}

.bar, .grid, .sect, .plan-wrap { border-radius: var(--radius); }
.toast { border-radius: 999px; padding: 7px 15px; }

.navscrim { display: none; }

@media (hover: none) {
  
  input, select, textarea { font-size: 16px !important; }
  .burger { width: 44px; height: 44px; }
  button.primary { height: 40px; padding: 0 18px; }
  .grid .foot button, .sect .sect-h button, .sect .sect-b button, .ptabs button { height: 36px; padding: 0 14px; }
  .cells .cell .ops button { height: 32px; font-size: 12px; padding: 0 12px; }
  .help { width: 22px; height: 22px; font-size: 12px; }
  
  .grid .foot button:active, button.primary:active { opacity: .72; }
}

@media (max-width: 1200px) { .top nav a > svg { display: none; } }

@media (max-width: 1024px) {
  
  main { padding: 14px 14px 32px; }
  .bar { padding: 9px 11px; }
}

@media (max-width: 1100px) {
  .top { gap: 12px; }
  .top .burger { display: grid; }
  .top nav { margin-left: 0; }
  
  .top nav { position: fixed; top: var(--top-h); left: 0; right: 0; z-index: 60;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 8px;
    max-height: 62vh; overflow: auto; background: var(--panel-solid);
    border-bottom: 1px solid var(--line); box-shadow: 0 10px 24px rgba(11, 16, 32, .18); }
  .top nav a { height: 44px; font-size: 14px; border-radius: 9px; }
  .top nav a > svg { display: revert; }   
  
  body:not([data-nav="open"]) .top nav { display: none; }
}

@media (max-width: 760px) {
  body { --top-h: 52px; }
  .top { padding: 0 8px; }
  .top .brand { font-size: 13.5px; padding-right: 9px; }
  
  .top .burger { order: -1; }
  .who { gap: 10px; padding-left: 12px; }
}

@media (max-width: 760px) {
  html, body { height: 100dvh; }
  
  main { padding: 12px 12px 28px; }
  
  body[data-nav="open"] .navscrim { display: block; position: fixed; inset: 0; z-index: 55;
    border: 0; padding: 0; background: rgba(11, 16, 32, .38); animation: navscrim var(--t) var(--ease); }
  @keyframes navscrim { from { opacity: 0; } to { opacity: 1; } }
  

  
  .bar { flex-direction: column; gap: 9px; margin-bottom: 12px; }
  .barrow { gap: 8px; }
  .fgroup { flex: 1 1 140px; min-width: 0; }
  .bar select, .bar input { min-width: 0; max-width: none; width: 100%; }
  .bar .reset { margin-left: 0; }
  .barkpi { padding: 9px 0 0; border-left: 0; border-top: 1px solid var(--line); width: 100%; }
  .stat { flex: 1 1 0; min-width: 0; padding: 0 10px; }
  .stat:first-child { padding-left: 0; }
  .stat .v { font-size: 19px; }

  
  .plan-scroll { -webkit-overflow-scrolling: touch; }
  .talk, .reaction { max-width: none; }
  .talk { padding: 14px 14px; }

}

.grid.usr .head, .grid.usr .urow { display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px; align-items: center; padding: 9px 14px; }
.grid.usr .head { font-size: 11px; color: var(--muted); border-bottom: 1px solid var(--line);
  letter-spacing: .02em; align-self: stretch; }
.grid.usr .urow { border-bottom: 1px solid var(--line); font-size: 13px; }
.grid.usr .urow:last-child { border-bottom: 0; }

.grid.usr .un { overflow: hidden; min-width: 0; }
.grid.usr .un .um { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.grid.usr .un .ul { display: flex; flex-wrap: wrap; align-items: baseline; overflow: hidden; }
.grid.usr .un .ul .uname { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.grid.usr .un .um { margin-top: 1px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.grid.usr .un .you { flex: 0 0 auto; margin-left: 7px; padding: 1px 6px; border-radius: 999px; font-size: 10.5px;
  background: var(--accent-soft); color: var(--accent-ink); }

.grid.usr .un .yet { flex: 0 0 auto; margin-left: 7px; padding: 1px 6px; border-radius: 999px; font-size: 10.5px;
  background: var(--soon); color: var(--muted); border: 1px solid var(--line2); }
.grid.usr .un .yet.out { background: transparent; border-color: var(--s-rejected); color: var(--s-rejected); }

.grid.usr .uo { display: flex; justify-content: flex-end; align-items: center; gap: 7px; }
.grid.usr .uo select { height: 29px; min-width: 132px; font-size: 12.5px; }

.grid.usr .uo select[disabled] { opacity: .6; }
@media (hover: none) { .grid.usr .uo select { height: 40px; font-size: 16px; } }

@media (max-width: 760px) {
  .grid.usr { grid-template-rows: 1fr var(--row-h); height: calc(var(--row-h) * 16 + 2px); }
  .grid.usr .head { display: none; }
  .grid.usr .urow { display: block; }
  .grid.usr .uo { justify-content: flex-start; margin-top: 8px; }
}

.prdedit .mini { height: 27px; padding: 0 10px; border: 1px solid var(--line2); border-radius: 4px;
  background: transparent; color: var(--ink); font: inherit; font-size: 12px; cursor: pointer; }
.prdedit .mini:hover { border-color: var(--accent); color: var(--accent-ink); }
.prdedit .mini.danger { border-color: var(--s-rejected); color: var(--s-rejected); }
.prdedit .mini.danger:hover { background: var(--s-rejected); color: var(--on-status); }
@media (hover: none) { .prdedit .mini { height: 40px; padding: 0 14px; } }

@media (max-width: 760px) {
  
  .grid.piled > div:first-child { display: none; }
  
  .grid.piled { grid-template-rows: 1fr var(--row-h); height: calc(var(--row-h) * 16 + 2px); }
  
  .grid.piled table, .grid.piled tbody { display: block; }
  .grid.piled table { table-layout: auto; }
  .grid.piled colgroup { display: none; }
  .grid.piled tbody tr { display: block; padding: 9px 12px; }
  .grid.piled tbody tr:last-child { border-bottom: 0; }
  .grid.piled tbody td {
    display: grid; grid-template-columns: 5.5em minmax(0, 1fr); gap: 10px; align-items: baseline;
    height: auto; padding: 2px 0; border-bottom: 0;
    
    white-space: normal; overflow: visible; text-overflow: clip;
  }
  .grid.piled tbody td::before { content: attr(data-label); color: var(--muted); font-size: 12px; }
  
  .grid.piled tbody td:first-child { display: block; margin-bottom: 4px; font-weight: 600; font-size: 14px; }
  .grid.piled tbody td:first-child::before { content: none; }
  
  .grid.piled tbody td[data-long="yes"] { display: block; }
  .grid.piled tbody td[data-long="yes"]::before { display: block; margin-bottom: 1px; }
  
  .grid.piled tbody td[data-empty="yes"] { display: none; }
  
  .grid.piled tbody td.num { text-align: left; }
}

.cfdlg { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: transparent; overflow: visible; }
.cfdlg::backdrop { background: transparent; }
.modal-back { position: fixed; inset: 0; z-index: 70; background: rgba(11, 16, 32, .38);
  backdrop-filter: blur(3px); opacity: 0; transition: opacity var(--t) var(--ease); }
.modal-back.in { opacity: 1; }
.modal-back.out { opacity: 0; }
.modal { position: fixed; z-index: 71; left: 50%; top: 50%; width: 390px; max-width: calc(100vw - 32px);
  transform: translate(-50%, -46%) scale(.96); opacity: 0;
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease);
  background: var(--panel-solid); border: 1px solid var(--line2); border-radius: 16px; padding: 20px;
  box-shadow: var(--shadow-lift); }
.modal.in { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.modal.out { opacity: 0; transform: translate(-50%, -52%) scale(.97); }
.modal .mt { font-size: 15px; font-weight: 650; letter-spacing: .01em; }
.modal .ml { margin-top: 3px; font-size: 12.5px; color: var(--accent-ink); }
.modal .mf { margin: 12px 0 4px; padding-left: 18px; font-size: 12.5px; line-height: 1.8; }
.modal .mc { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; padding: 11px 12px;
  border-radius: 10px; background: var(--accent-soft); font-size: 12.5px; cursor: pointer;
  transition: background var(--t); }
.modal .mc:hover { background: var(--target); }
.modal .mc input { margin: 2px 0 0; }
.modal .mo { display: flex; gap: 8px; justify-content: flex-end; margin-top: 16px; }
.modal button { height: 33px; padding: 0 16px; border-radius: 999px; font: inherit; font-size: 12.5px; cursor: pointer;
  transition: transform var(--t-fast) var(--ease), filter var(--t-fast); }
.modal button.plain { border: 1px solid var(--line2); background: transparent; color: var(--ink); }
.modal button.go { border: 0; background: var(--s-rejected); color: var(--on-status); }
.modal button.go[disabled] { opacity: .45; cursor: not-allowed; }
.modal button:not([disabled]):hover { transform: translateY(-1px); filter: brightness(1.07); }
.modal button:not([disabled]):active { transform: translateY(0) scale(.98); }

body[data-write="no"] button:not(:is(.mine, .meitem, .metheme, .burger, .help, .plain, .ear, .tab, .sheet, .sheettoggle, .orgtab, .orgx, .paneback, .pn, .axes-btn, .w5more, .rowtog, .reset, .navscrim, .histrow, .gb)):not(.zoom *):not(.foot *):not(.ptabs *) { display: none; }

body[data-write="no"] button:is(.ear, .tab).add { display: none; }

.holdable { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }

.holdable input:focus, .holdable textarea:focus { -webkit-user-select: auto; user-select: auto; }

.bspin { display: inline-block; width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid currentColor; border-top-color: transparent; opacity: .85;
  vertical-align: -2px; animation: bspin .8s linear infinite; }
@keyframes bspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .bspin { animation-duration: 2.4s; } }

.qmark { display: inline-grid; place-items: center; width: 14px; height: 14px; margin-left: 4px;
  border: 1px solid var(--line2); border-radius: 50%; font-size: 9.5px; line-height: 1;
  color: var(--muted); cursor: help; vertical-align: 1px; }
.qmark:hover, .qmark:focus { border-color: var(--accent); color: var(--accent-ink); outline: none; }

.rowtog { width: 18px; height: 18px; margin-right: 4px; padding: 0; border: 0; border-radius: 4px;
  background: transparent; color: var(--muted); font-size: 11px; line-height: 1; cursor: pointer;
  vertical-align: 1px; }
.rowtog:hover { background: var(--accent-soft); color: var(--accent-ink); }
