/* paramcad designer: same look as the landing page (dark navy, orange accent) */
:root {
  --bg: #0b1020; --bg2: #0e1530; --panel: #121933; --panel2: #18214180; --ink: #eef2ff; --muted: #9aa4c7;
  --line: #263063; --line2: #344080; --accent: #e8590c; --accent2: #ff7a2e; --accent-ink: #fff; --link: #ffb37a;
  --ok: #3fcf8e; --bad: #ff5d5d; --warn: #f5b942; --chip: #1c2547; --changed: #e8590c1f;
  --stage: radial-gradient(120% 90% at 60% 35%, #24306a 0%, #121a3a 50%, #0b1020 90%);
  --shadow: 0 10px 30px #0006; --r: 14px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font: 14px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: var(--bg); color: var(--ink);
       display: flex; flex-direction: column; -webkit-font-smoothing: antialiased; }
a { color: var(--link); }
button, select, input { font: inherit; color: inherit; }
button { border: 1px solid var(--line); background: var(--chip); border-radius: 10px; padding: 7px 13px; cursor: pointer;
         transition: border-color .15s, background .15s, transform .08s; }
button:hover { border-color: var(--line2); background: color-mix(in srgb, var(--chip) 70%, var(--line2)); }
button:active { transform: translateY(1px); }
button.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 650; }
button.primary:hover { background: var(--accent2); border-color: var(--accent2); }
button.ghost { background: transparent; }
button:disabled { opacity: .55; cursor: progress; }
button svg, .search svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2;
                          stroke-linecap: round; stroke-linejoin: round; flex: none; }
button.icon, button.primary { display: inline-flex; align-items: center; gap: 7px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* header */
.bar { display: flex; align-items: center; gap: 14px; padding: 10px 16px; flex-wrap: wrap;
       background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(10px);
       border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 18px; text-decoration: none;
         color: var(--ink); letter-spacing: .01em; }
.brand svg { width: 26px; height: 26px; }
.brand b { color: var(--accent); }
.pickers { display: flex; gap: 8px; flex-wrap: wrap; }
.picker { display: flex; align-items: center; gap: 0; border: 1px solid var(--line); border-radius: 10px;
          background: var(--chip); overflow: hidden; }
.picker span { padding: 0 4px 0 11px; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.picker select { min-width: 0; border: 0; background: transparent; padding: 7px 10px 7px 4px; font-weight: 600; cursor: pointer; max-width: 210px; }
.picker select option { background: var(--panel); color: var(--ink); }
.spacer { flex: 1; }
.actions { display: flex; gap: 6px; flex-wrap: wrap; }
.pill { padding: 5px 12px; border-radius: 99px; background: var(--chip); font-size: 12.5px; font-weight: 600; white-space: nowrap;
        border: 1px solid var(--line); }
.pill::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 7px;
                background: var(--muted); vertical-align: 1px; }
.pill.ok { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); border-color: color-mix(in srgb, var(--ok) 35%, transparent); }
.pill.ok::before { background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.pill.bad { background: color-mix(in srgb, var(--bad) 14%, transparent); color: var(--bad); border-color: color-mix(in srgb, var(--bad) 35%, transparent); }
.pill.bad::before { background: var(--bad); }

/* main */
main { flex: 1; display: grid; grid-template-columns: minmax(330px, 410px) minmax(0, 1fr); gap: 14px; padding: 14px; min-height: 0; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow);
         overflow: auto; min-height: 0; }
#params { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.result { display: flex; flex-direction: column; }
.tabs { display: flex; gap: 4px; margin: 12px 12px 0; padding: 4px; border-radius: 12px; background: var(--chip);
        border: 1px solid var(--line); position: sticky; top: 0; z-index: 3; align-self: flex-start; }
.tabs button { border: 0; background: none; padding: 6px 14px; border-radius: 9px; color: var(--muted); font-weight: 600; }
.tabs button.active { background: var(--accent); color: #fff; box-shadow: 0 2px 10px #e8590c55; }
.tab { display: none; padding: 12px; flex: 1; min-height: 0; min-width: 0; animation: fade .2s ease; }
.tab.active { display: block; }
#tab-viewer.active { display: flex; flex-direction: column; }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } }
.card { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-bottom: 12px; background: var(--bg2); }
.card h3 { margin: 0 0 10px; font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.card h3 small { text-transform: none; letter-spacing: 0; font-weight: 400; margin-left: 6px; }
.card.view { background: var(--stage); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 1250px) { .grid2 { grid-template-columns: minmax(0, 1fr); } }
.grid2 > .card { min-width: 0; overflow-x: auto; }
.muted { color: var(--muted); }
.error { background: color-mix(in srgb, var(--bad) 14%, transparent); color: var(--bad); padding: 10px 12px;
         border: 1px solid color-mix(in srgb, var(--bad) 40%, transparent); border-radius: 10px; margin-bottom: 12px; white-space: pre-wrap; }
.hint { font-size: 12px; margin: 4px 2px 0; }

/* hero name field + search */
.hero-field { display: flex; flex-direction: column; gap: 6px; padding: 14px; border-radius: 12px;
              background: var(--stage); border: 1px solid var(--line); }
.hero-field label { font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.hero-field input { font-size: 26px; font-weight: 750; letter-spacing: -.01em; padding: 8px 12px; border-radius: 10px;
                    border: 1px solid var(--line2); background: color-mix(in srgb, var(--bg) 70%, transparent); width: 100%; }
.hero-field input:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px #e8590c33; }
.search { display: flex; align-items: center; gap: 8px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px;
          background: var(--bg2); color: var(--muted); }
.search input { flex: 1; border: 0; background: transparent; padding: 8px 0; outline: none; color: var(--ink); }

/* module cards */
details.mod { border: 1px solid var(--line); border-radius: 12px; background: var(--bg2); transition: border-color .2s; }
details.mod[open] { border-color: var(--line2); }
details.mod > summary { list-style: none; cursor: pointer; padding: 10px 12px; display: flex; align-items: center; gap: 8px; }
details.mod > summary::-webkit-details-marker { display: none; }
details.mod > summary::before { content: ""; width: 7px; height: 7px; border: solid var(--muted); border-width: 0 2px 2px 0;
                                transform: rotate(-45deg); transition: transform .15s; margin-right: 2px; }
details.mod[open] > summary::before { transform: rotate(45deg); }
details.mod > summary select { border: 1px solid var(--line); background: var(--chip); border-radius: 7px; padding: 2px 6px; font-size: 12px; }
.mod-title { font-weight: 700; }
.mod-kind { font-size: 11px; color: var(--muted); background: var(--chip); padding: 2px 8px; border-radius: 99px; }
.mod-body { padding: 2px 10px 12px; }
.mod-desc { color: var(--muted); font-size: 12.5px; margin: 0 2px 10px; }
.mod-actions { display: flex; gap: 6px; margin-left: auto; }
.mod-actions button { padding: 2px 8px; font-size: 12px; background: transparent; border-color: transparent; color: var(--muted); }
.mod-actions button:hover { color: var(--bad); border-color: var(--line); }
.row { display: grid; grid-template-columns: 1fr 148px 22px; align-items: center; gap: 8px; padding: 5px 6px; border-radius: 8px; }
.row:hover { background: color-mix(in srgb, var(--chip) 60%, transparent); }
.row.changed { background: var(--changed); box-shadow: inset 2px 0 0 var(--accent); }
.row.hidden-by-search { display: none; }
.row label { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row label.scrub { cursor: ew-resize; user-select: none; touch-action: none; }
.row label.scrub:hover { color: var(--accent2); }
.row label small { display: block; color: var(--muted); font-size: 11px; white-space: normal; line-height: 1.3; }
.row input[type=number], .row input[type=text], .row select { width: 100%; padding: 6px 8px; border: 1px solid var(--line);
       border-radius: 8px; background: var(--bg); font-variant-numeric: tabular-nums; }
.row input:focus, .row select:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px #e8590c26; }
.row input[type=checkbox] { justify-self: start; }
.row .color { display: flex; gap: 6px; align-items: center; }
.row .color input[type=color] { width: 34px; height: 30px; padding: 0; border: 1px solid var(--line); border-radius: 8px;
                                background: none; cursor: pointer; flex: none; }
.row .color input[type=text] { min-width: 0; }
.row .reset { border: none; background: none; padding: 0; color: var(--muted); visibility: hidden; }
.row.changed .reset { visibility: visible; }
.row .reset:hover { color: var(--accent); }
input[type=checkbox] { accent-color: var(--accent); width: 16px; height: 16px; }
input[type=range] { accent-color: var(--accent); }
.field { display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: var(--muted); }
.add-row { display: flex; gap: 6px; }
.add-row select { flex: 1; min-width: 0; width: 100%; padding: 8px 10px; border: 1px dashed var(--line2); border-radius: 10px; background: transparent; color: var(--muted); }
#forms { display: flex; flex-direction: column; gap: 10px; }
#forms > button { border-style: dashed; background: transparent; color: var(--muted); }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
td, th { padding: 6px 6px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { color: var(--muted); font-weight: 500; font-size: 12px; }
td.num { text-align: right; font-variant-numeric: tabular-nums; }
.objtable input[type=number], .objtable select { padding: 4px 6px; border: 1px solid var(--line); border-radius: 7px; background: var(--bg); }
.objtable input[type=number] { width: 64px; }
.swatch { display: inline-block; width: 11px; height: 11px; border-radius: 4px; margin-right: 7px; vertical-align: -1px;
          box-shadow: inset 0 0 0 1px #0003; }
.ok-dot, .bad-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; }
.ok-dot { background: var(--ok); box-shadow: 0 0 6px color-mix(in srgb, var(--ok) 70%, transparent); } .bad-dot { background: var(--bad); }
#checks tr:has(.bad-dot) td:first-child { color: var(--bad); font-weight: 600; }
.summary { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; margin-bottom: 12px; }
.stat { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; background: var(--bg2); }
.stat b { display: block; font-size: clamp(17px, 1.5vw, 22px); overflow-wrap: anywhere; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: 12px; }
#svg-wrap svg { width: 100%; height: auto; max-height: 64vh; display: block; filter: drop-shadow(0 8px 18px #0005); }
#svg-wrap text { font-family: system-ui, sans-serif; } /* size comes from each label (mm) */

/* viewer */
.stage { position: relative; flex: 1; min-height: 480px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line);
         background: var(--stage); }
#viewer { position: absolute; inset: 0; }
#viewer .empty { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 4px; color: var(--muted); }
#viewer .empty b { font-size: 20px; color: var(--ink); }
#viewer canvas { display: block; }
.overlay-top { position: absolute; left: 12px; right: 12px; top: 10px; display: flex; flex-direction: column; gap: 4px;
               pointer-events: none; font-size: 12.5px; }
.overlay-top > * { pointer-events: auto; align-self: flex-start; }
#viewer-info:not(:empty), #motion:not(:empty) { max-width: 100%; background: var(--panel2); backdrop-filter: blur(8px); padding: 4px 10px;
               border-radius: 8px; border: 1px solid var(--line); }
.viewer-tools { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); display: flex; gap: 14px;
                align-items: center; flex-wrap: wrap; justify-content: center; width: max-content; max-width: calc(100% - 24px);
                padding: 8px 14px; border-radius: 14px; background: var(--panel2); backdrop-filter: blur(10px);
                border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 13px; }
.viewer-tools label { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); white-space: nowrap; }
.viewer-tools input[type=range] { width: 90px; }
.viewer-tools button { padding: 5px 11px; }

/* build */
#job .stage, .stage-row { display: flex; align-items: center; gap: 10px; }
.spinner { width: 14px; height: 14px; border: 2px solid var(--line); border-top-color: var(--accent); border-radius: 50%;
           animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.log { font: 12px ui-monospace, monospace; background: var(--bg); padding: 8px; border-radius: 8px; max-height: 160px; overflow: auto;
       white-space: pre-wrap; margin-top: 8px; border: 1px solid var(--line); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.gallery img { width: 100%; border-radius: 8px; border: 1px solid var(--line); cursor: zoom-in; }
dialog { border: 1px solid var(--line2); border-radius: 14px; background: var(--panel); color: var(--ink); max-width: min(900px, 94vw);
         box-shadow: var(--shadow); }
dialog::backdrop { background: #050814aa; backdrop-filter: blur(3px); }
dialog pre { max-height: 70vh; overflow: auto; font-size: 12px; }
dialog menu { display: flex; justify-content: flex-end; padding: 0; margin: 8px 0 0; }

.downloads { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0; }
.downloads a { text-decoration: none; }
a.btn { display: inline-block; border: 1px solid var(--line); border-radius: 10px; padding: 8px 14px; color: var(--ink); background: var(--chip); }
a.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 650; }
#motion .bad { color: var(--bad); font-weight: 600; }
#motion .good { color: var(--ok); font-weight: 600; }
.progress { height: 4px; background: var(--line); border-radius: 2px; overflow: hidden; margin-top: 6px; }
.progress > div { height: 100%; background: var(--accent); width: 0; transition: width .2s; }

.mod-desc.note { background: color-mix(in srgb, var(--warn) 12%, transparent); border-left: 3px solid var(--warn);
                 color: var(--ink); padding: 6px 10px; border-radius: 6px; }
[hidden] { display: none !important; }

.handle-tip { position: absolute; pointer-events: none; background: var(--accent); color: #fff; padding: 3px 9px;
  border-radius: 7px; font: 600 12px/1.4 system-ui; white-space: nowrap; z-index: 5; box-shadow: 0 2px 10px #0005; }
details.mod.flash { outline: 2px solid var(--accent); outline-offset: 2px; transition: outline-color 1.2s; }

#toast { position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
         background: var(--panel); border: 1px solid var(--line2); color: var(--ink); padding: 9px 16px; border-radius: 12px;
         box-shadow: var(--shadow); font-weight: 600; transition: opacity .2s, transform .2s; z-index: 100; }
#toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1500px) { .actions button.icon:not(#btn-share) span { display: none; } .actions button.icon:not(#btn-share) { padding: 7px 9px; } }

/* phones and narrow windows: the model first, the parameters below */
@media (max-width: 900px) {
  html, body { height: auto; }
  main { flex: none; grid-template-columns: minmax(0, 1fr); padding: 10px; gap: 10px; }
  .panel, .result, #params { min-width: 0; }
  .picker span, .long { display: none; }
  .picker select { padding-left: 10px; }
  .result { order: -1; overflow: visible; }
  .panel { overflow: visible; }
  .stage { flex: none; height: 58vh; min-height: 320px; }
  .bar { gap: 8px; padding: 8px 10px; }
  .actions button.icon span { display: none; }
  .actions button.icon { padding: 7px 9px; }
  .actions { order: 3; width: 100%; }
  .actions button.primary { flex: 1; justify-content: center; }
  .pickers { order: 2; width: 100%; }
  .picker { flex: 1; min-width: 0; }
  .picker select { flex: 1; min-width: 0; max-width: none; }
  .tabs { margin: 10px 10px 0; }
  .row { grid-template-columns: 1fr 132px 22px; }
  .viewer-tools { gap: 10px; padding: 6px 10px; font-size: 12px; }
  .viewer-tools input[type=range] { width: 70px; }
}

/* gift links (#for=<name>): the simple view, made for someone */
body:not(.gift) .gift-only { display: none !important; }
body.gift .pickers, body.gift #btn-toml, body.gift #btn-save, body.gift #btn-preview, body.gift #btn-full,
body.gift #forms, body.gift .search, body.gift .hint, body.gift .tabs button[data-tab=layout],
body.gift #viewer-info, body.gift #motion { display: none !important; }
body.gift .viewer-tools > :not(#btn-play) { display: none; }
body.gift .viewer-tools:not(:has(#btn-play:not([hidden]))) { display: none; }
body.gift .hero-field input { font-size: 30px; }
.gift-intro { margin: 2px 2px 4px; color: var(--muted); font-size: 15px; line-height: 1.5; }
#gift-choices { border: 1px solid var(--line); border-radius: 12px; padding: 10px 8px 8px; background: var(--bg2); }
#gift-choices:empty { display: none; }
#gift-choices h3 { margin: 0 6px 6px; font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
#gift-choices .row label small { display: none; }
.gift-cta { display: flex; flex-direction: column; gap: 8px; }
.gift-cta p { margin: 0 2px; font-size: 12.5px; }
button.big { justify-content: center; padding: 14px 18px; font-size: 17px; border-radius: 12px;
             box-shadow: 0 8px 24px #e8590c44; }
button.big svg { width: 20px; height: 20px; }
#gift-title { margin: 6px 4px 0; font-size: clamp(34px, 4.6vw, 64px); line-height: 1; letter-spacing: -.02em;
              font-weight: 800; text-shadow: 0 4px 24px #0008; }
#gift-title small { display: block; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
                    color: var(--link); margin-bottom: 8px; text-shadow: none; }
body.gift .stage { min-height: 560px; }
@media (max-width: 900px) {
  body.gift .stage { height: 62vh; min-height: 360px; }
  body.gift .actions { width: auto; order: 0; }
  #gift-title { font-size: 40px; }
}

/* a rebuild is running: the model on screen stays until the new one is ready */
.stage-busy { position: absolute; top: 12px; right: 12px; z-index: 4; display: flex; align-items: center; gap: 8px;
              padding: 6px 12px; border-radius: 99px; background: var(--panel2); backdrop-filter: blur(8px);
              border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; color: var(--muted); pointer-events: none; }

/* single-part downloads + my own ampoules */
button.mini { padding: 2px 8px; font-size: 12px; }
.part-list { display: flex; flex-direction: column; gap: 4px; margin: 6px 0; max-height: 260px; overflow: auto; }
.part-pick { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.objtable select.also { min-width: 90px; max-width: 140px; font-size: 12px; }
.my-objs { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 8px; }
.my-objs h4 { margin: 0 0 4px; }
.my-obj { border: 1px solid var(--line); border-radius: 10px; padding: 8px; margin: 8px 0; }
.my-head { display: flex; gap: 6px; align-items: center; }
.my-head .my-label { flex: 1; min-width: 0; }
.my-head input[type=color] { width: 32px; height: 28px; padding: 0; border: none; background: none; }
.my-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 6px; margin-top: 6px; }
.my-field { display: flex; flex-direction: column; font-size: 12px; gap: 2px; }
.my-field input { width: 100%; box-sizing: border-box; padding: 4px 6px; border: 1px solid var(--line); border-radius: 7px; background: var(--bg); color: inherit; }

/* basic vs expert settings */
.expert-toggle { display: flex; align-items: center; gap: 6px; font-size: 13px; margin: 6px 2px 10px; color: var(--muted); }
details.expert { margin-top: 8px; border-top: 1px dashed var(--line); padding-top: 4px; }
details.expert > summary { cursor: pointer; font-size: 12px; color: var(--muted); padding: 4px 0; }

/* phones: the model floats as a small card while the parameters are scrolled into view (setupPeek) */
@media (max-width: 900px) {
  body.peek #viewer { position: fixed; inset: auto; top: calc(var(--peek-top, 0px) + 8px); right: 10px;
                      width: min(40vw, 190px); height: min(40vw, 190px); z-index: 9; border-radius: 14px;
                      overflow: hidden; background: var(--stage); border: 1px solid var(--line2);
                      box-shadow: 0 12px 32px #000a; cursor: pointer; }
  body.peek .stage-busy { position: fixed; top: calc(var(--peek-top, 0px) + 14px); right: 16px; z-index: 9;
                          padding: 4px 9px; font-size: 11.5px; }
}

/* picker cards (choices without dropdowns): label, one-line meaning, optional picture */
.row.cards-row { grid-template-columns: 1fr 22px; }
.row.cards-row .cards { grid-column: 1 / -1; grid-row: 2; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 6px; }
.card { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; padding: 7px 9px;
  border-radius: 10px; background: var(--bg); min-width: 0; }
.card.on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, var(--bg));
  box-shadow: inset 0 0 0 1px var(--accent); }
.card b { font-size: 12.5px; font-weight: 600; }
.card small { font-size: 11px; color: var(--muted); line-height: 1.25; white-space: normal; }
.pic { display: block; width: 34px; height: 34px; color: var(--muted); }
.pic.wide { width: 100%; height: 16px; }
.card.on .pic { color: var(--accent2); }
.pic svg, button .pic svg { width: 100%; height: 100%; fill: currentColor; stroke: none; display: block; }
.objtable td.obj .pic { width: 120px; height: 18px; margin-bottom: 3px; }
.objtable .cards { grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); }
.objtable .card { padding: 4px 6px; }
.objtable .card small { display: none; }
.mod-use { color: var(--muted); font-size: 12px; margin-left: auto; }
details.add-row > summary { cursor: pointer; color: var(--muted); padding: 8px 4px; }
details.add-row .cards { margin-top: 6px; }
details.add-row { display: block; border: 1px dashed var(--line2); border-radius: 10px; padding: 0 8px; }
details.add-row[open] { padding-bottom: 8px; }
.mod-use + .mod-actions { margin-left: 0; }
