/* The page's styles (docs/51, 6 Oct): light and plain, one accent, the Rolls-Royce blue
   (packmaker_v9/design/rr-global-brand-2024/tokens/colors.css). The previous styles are app-classic.css,
   used by /classic.html. */
:root {
  --brand: #10069F; --brand-h: #0b0478; --brand-50: #f1f0fb; --brand-100: #e3e1f7;
  --canvas: #f5f6f8; --surface: #ffffff; --sunken: #eef0f3; --raised: #fbfbfc;
  --ink: #16181d; --ink-2: #4a4f5a; --ink-3: #7a808c; --ink-4: #a3a8b2;
  --line: #e4e6eb; --line-2: #d3d6dd;
  --ok: #1f7a4d; --ok-50: #e9f5ee; --warn: #a15c00; --warn-50: #fdf3e4; --err: #b4232a; --err-50: #fcebec;
  --r: 6px; --r-sm: 4px;
  --sh-1: 0 1px 2px rgba(16,24,40,.05);
  --sh-3: 0 16px 40px rgba(16,24,40,.14), 0 2px 6px rgba(16,24,40,.06);
  --focus: 0 0 0 3px rgba(16,6,159,.18);
  --bar: 52px;
  /* kept for anything that still names the old tokens */
  --blue: var(--brand); --grey-1: var(--sunken); --grey-2: var(--line-2); --grey-3: var(--ink-3); --grey-4: var(--ink-2);
  --green: var(--ok); --orange: var(--err);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; height: 100%; }
body { font-family: "RR Pioneer", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 13px; line-height: 1.45;
  color: var(--ink); background: var(--canvas); display: flex; flex-direction: column; overflow: hidden;
  -webkit-font-smoothing: antialiased; }
button, select, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: none; box-shadow: var(--focus); }
code { font-family: ui-monospace, "SF Mono", Consolas, monospace; font-size: 12px; background: var(--sunken); padding: 0 4px;
  border-radius: 3px; }
svg.i { width: 15px; height: 15px; flex: none; }
.spacer { flex: 1; }
.note { color: var(--ink-3); font-size: 12px; }

/* ---- controls ---- */
button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 32px; padding: 0 12px;
  border-radius: var(--r); border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font-weight: 500;
  white-space: nowrap; cursor: pointer; box-shadow: var(--sh-1); transition: background .15s, border-color .15s; }
button:hover:not(:disabled) { background: var(--raised); border-color: #c3c7cf; }
button svg.i { color: var(--ink-3); }
button:disabled { opacity: .45; cursor: default; }
button.primary, #send { background: var(--brand); border-color: var(--brand); color: #fff; }
button.primary:hover:not(:disabled), #send:hover:not(:disabled) { background: var(--brand-h); border-color: var(--brand-h); }
button.primary svg.i { color: #fff; }
button.quiet { border-color: transparent; background: transparent; box-shadow: none; color: var(--ink-2); }
button.quiet:hover:not(:disabled) { background: var(--sunken); border-color: transparent; }
button.ico { width: 32px; padding: 0; border-color: transparent; background: transparent; box-shadow: none; color: var(--ink-3); }
button.ico:hover:not(:disabled) { background: var(--sunken); border-color: transparent; color: var(--ink); }
button.ico svg.i { width: 17px; height: 17px; color: currentColor; }
select, input[type=text], textarea { border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface);
  padding: 0 8px; }
select, input[type=text] { height: 32px; }
textarea { padding: 8px 10px; }
select:focus, input[type=text]:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: var(--focus); }
input[type=checkbox], input[type=radio] { accent-color: var(--brand); }
label { color: var(--ink-2); }
.seg { display: inline-flex; padding: 2px; border-radius: var(--r); background: var(--sunken); border: 1px solid var(--line); }
.seg button { height: 26px; padding: 0 10px; border: 0; border-radius: var(--r-sm); background: transparent; box-shadow: none;
  color: var(--ink-2); }
.seg button:hover:not(:disabled) { background: transparent; color: var(--ink); }
.seg button[aria-pressed="true"], .seg button[aria-pressed="true"]:hover:not(:disabled) { background: var(--surface);
  color: var(--ink); box-shadow: var(--sh-1); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- header ---- */
#bar { height: var(--bar); flex: none; display: flex; align-items: center; gap: 14px; padding: 0 12px 0 16px;
  background: var(--surface); border-bottom: 1px solid var(--line); position: relative; z-index: 10; }
#bar .brand { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 14.5px; color: var(--ink); flex: none; }
#bar .brand .mark { height: 26px; width: auto; color: var(--brand); }
#bar .vr, .vr { width: 1px; height: 22px; background: var(--line); flex: none; }
#bar .group { display: flex; align-items: center; gap: 6px; min-width: 0; }
#bar .crumb label { color: var(--ink-3); }
#bar .crumb .slash { color: var(--ink-4); }
#bar .crumb select { border-color: transparent; font-weight: 500; max-width: 220px; padding: 0 6px; cursor: pointer; }
#bar .crumb select:hover { background: var(--sunken); }
#new-project-form input { width: 200px; }
#bar .right { margin-left: auto; gap: 8px; flex: none; }
#bar .right label { font-size: 12px; color: var(--ink-3); }
#bar #model { max-width: 190px; }
#bar #model-note { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#bar #token-mode { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); padding: 0; border: 0; }

.status { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--ink-3); white-space: nowrap; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ink-4); }
.status[data-status=idle]::before { background: var(--ok); }
.status[data-status=running] { color: var(--brand); }
.status[data-status=running]::before { background: var(--brand); animation: pulse 1.4s ease-in-out infinite; }
.status[data-status=error] { color: var(--err); }
.status[data-status=error]::before { background: var(--err); }
@keyframes pulse { 50% { opacity: .3; } }

/* the stepper: where the project is, from its log (app.js steps()) */
.steps { flex: 1; display: flex; justify-content: safe center; align-items: center; min-width: 0; align-self: stretch; }
.st { display: flex; align-items: center; gap: 7px; padding: 0 9px; height: 100%; position: relative; color: var(--ink-4);
  font-weight: 500; font-size: 12.5px; white-space: nowrap; transition: color .2s; }
.st .n { width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center;
  font-size: 10.5px; color: var(--ink-3); background: var(--surface); transition: all .2s; }
.st.done { color: var(--ink-2); }
.st.done .n { background: var(--brand-50); border-color: var(--brand-100); color: var(--brand); }
.st.on { color: var(--brand); }
.st.on .n { border-color: var(--brand); background: var(--brand); color: #fff; }
.st.on::after { content: ""; position: absolute; left: 9px; right: 9px; bottom: -1px; height: 2px; background: var(--brand); }
.steps .sep { width: 18px; height: 1px; background: var(--line-2); flex: none; }
@media (max-width: 1799px) {
  .st { font-size: 0; gap: 0; padding: 0 6px; }
  .st.on { font-size: 12.5px; gap: 7px; }
  .st .n { font-size: 10.5px; }
  .steps .sep { width: 10px; }
}
@media (max-width: 1799px) { #bar #model-note { display: none; } }
@media (max-width: 1180px) { #bar label[for=model] { display: none; } }

/* ---- the two panes ---- */
#main { flex: 1; display: grid; grid-template-columns: 400px minmax(0, 1fr); min-height: 0; overflow: hidden; }
#left { display: flex; flex-direction: column; min-height: 0; background: var(--surface); border-right: 1px solid var(--line); }
.sh { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px 6px; flex: none; }
.sh h3 { margin: 0; font-size: 11px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
.sh .link { font-size: 12px; color: var(--brand); font-weight: 500; cursor: pointer; }
.sh .link:hover { text-decoration: underline; }
.conv-h { border-top: 1px solid var(--line); margin-top: 8px; }

/* sources */
#attachments { padding: 0 8px; flex: none; max-height: 30vh; overflow-y: auto; }
#attachments:empty { display: none; }
.frow { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 36px;
  padding: 0 8px; border-radius: var(--r); animation: fin .25s ease both; }
.frow:hover { background: var(--raised); }
@keyframes fin { from { opacity: 0; transform: translateY(-3px); } }
.ft { width: 22px; height: 26px; border-radius: 3px; position: relative; background: #fff; border: 1px solid var(--line-2); }
.ft b { position: absolute; left: -1px; right: -1px; bottom: -1px; height: 11px; border-radius: 0 0 3px 3px; font-size: 7px;
  font-weight: 700; letter-spacing: .3px; color: #fff; display: grid; place-items: center; background: var(--ink-3); }
.ft.xls b, .ft.csv b { background: #1d6f42; }
.ft.doc b { background: #2b579a; }
.ft.ppt b { background: #c4421a; }
.ft.pdf b { background: #b4232a; }
.fn { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink-3); font-size: 12px; }
.fn b { color: var(--ink); font-weight: 500; font-size: 13px; }
.fs { font-size: 11.5px; color: var(--ok); white-space: nowrap; }
.fs.wait { color: var(--warn); }
.sum { display: flex; margin: 6px 16px 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; flex: none; }
.sum div { flex: 1; padding: 6px 10px; border-right: 1px solid var(--line); }
.sum div:last-child { border-right: 0; }
.sum b { display: block; font-size: 15px; font-weight: 600; }
.sum span { font-size: 11.5px; color: var(--ink-3); }
.sum .w b { color: var(--warn); }
.drop { margin: 8px 16px 0; padding: 8px 10px; border: 1px dashed var(--line-2); border-radius: var(--r); color: var(--ink-3);
  font-size: 12px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; flex: none;
  transition: background .15s, border-color .15s; }
.drop.over { background: var(--brand-50); border-color: var(--brand); }
.drop .file { position: relative; color: var(--brand); font-weight: 500; cursor: pointer; }
.drop .file input { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; }
.check { display: flex; gap: 8px; align-items: center; font-size: 12.5px; color: var(--ink-2); }
.check input { width: 15px; height: 15px; margin: 0; flex: none; }
.check.cleared { margin: 8px 16px 0; flex: none; }

/* the conversation */
#conversation { flex: 1; min-height: 0; overflow-y: auto; padding: 2px 16px 10px; display: flex; flex-direction: column; gap: 2px; }
.msg { white-space: pre-wrap; line-height: 1.5; }
.msg.pro { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; padding: 8px 0; white-space: normal;
  animation: fin .25s ease both; }
.msg .av { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 10.5px; font-weight: 600;
  background: var(--sunken); color: var(--ink-2); }
.msg.agent .av { background: var(--brand); color: #fff; }
.msg.verifier .av { background: var(--ok-50); color: var(--ok); }
.msg .hd { font-weight: 600; font-size: 12.5px; margin-bottom: 1px; }
.msg .tx { white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ink-2); }
.msg.person .tx { color: var(--ink); }
.line { position: relative; margin-left: 36px; padding: 3px 0 3px 13px; color: var(--ink-3); font-size: 12px;
  overflow-wrap: anywhere; }
.line::before { content: ""; position: absolute; left: 0; top: 10px; width: 5px; height: 5px; border-radius: 50%;
  background: var(--line-2); }
.line.done { color: var(--ok); }
.line.done::before { background: var(--ok); }
.line.warn { color: var(--err); margin-left: 0; margin-top: 4px; padding: 7px 10px 7px 22px; background: var(--err-50);
  border-radius: var(--r); }
.line.warn::before { left: 10px; top: 14px; }
.line.warn::before { background: var(--err); }
.line.speed { color: var(--ink-3); }
.line button { height: 24px; padding: 0 9px; margin-left: 8px; font-size: 12px; vertical-align: middle; }

/* cards under the conversation */
#cards { flex: none; max-height: 46vh; overflow-y: auto; padding: 0 12px; }
#cards > .card:last-child { margin-bottom: 8px; }
.card { margin: 0 0 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); box-shadow: var(--sh-1);
  padding: 10px 12px; }
.card h4 { margin: -10px -12px 10px; padding: 9px 12px; font-size: 13px; font-weight: 600; color: var(--ink);
  border-bottom: 1px solid var(--line); background: var(--raised); border-radius: 8px 8px 0 0; }
.card ul, .card ol { margin: 0; padding-left: 18px; }
.card li.done { color: var(--ink-4); text-decoration: line-through; }
.card .q { margin: 0 0 10px; }
.card .q label { display: block; color: var(--ink); font-weight: 500; font-size: 12.5px; margin-bottom: 5px; }
.card .q input[type=text], .card .q textarea, .card .q select { width: 100%; }
.card .row { display: flex; justify-content: flex-end; gap: 8px; margin: 10px -12px -10px; padding: 9px 12px;
  border-top: 1px solid var(--line); background: var(--raised); border-radius: 0 0 8px 8px; }
.card .hint { color: var(--ink-3); font-size: 12px; }
#todos { padding: 8px 12px; }
#todos summary { cursor: pointer; font-size: 12.5px; color: var(--ink); list-style-position: inside; }
#todos summary strong { font-weight: 600; }
#todos summary .todo-count { color: var(--ink-3); font-weight: 400; }
#todos summary .todo-next { color: var(--ink-2); margin: 2px 0 0 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#todos details[open] summary .todo-next { display: none; }
#todos details ul { max-height: 30vh; overflow-y: auto; margin-top: 6px; }
#todos li { padding: 2px 0; color: var(--ink-2); }
#plan-card ol { margin: 0; padding: 0; list-style: none; counter-reset: pl; }
#plan-card li { counter-increment: pl; position: relative; padding: 6px 0 6px 30px; border-bottom: 1px solid var(--line); }
#plan-card li:last-child { border-bottom: 0; }
#plan-card li::before { content: counter(pl, decimal-leading-zero); position: absolute; left: 0; top: 7px; font-size: 11.5px;
  color: var(--ink-3); font-family: ui-monospace, "SF Mono", Consolas, monospace; }
#titles ol { padding-left: 22px; color: var(--ink-2); }
.export { margin: 6px 0 0 36px; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--r); background: var(--raised); }
.export .line { margin-left: 0; }
.export ul { margin: 4px 0; padding-left: 18px; }

/* the composer */
#composer { flex: none; margin: 0 12px 12px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--surface);
  box-shadow: var(--sh-1); transition: border-color .15s, box-shadow .15s; }
#composer:focus-within { border-color: var(--brand); box-shadow: var(--focus); }
#composer textarea { display: block; width: 100%; min-height: 64px; resize: vertical; border: 0; box-shadow: none; padding: 10px 12px 4px;
  background: transparent; }
#composer textarea:focus { box-shadow: none; }
#composer textarea::placeholder { color: var(--ink-4); }
#composer .row { display: flex; align-items: center; gap: 6px; padding: 6px 8px 8px; }
.mode-switch.seg label { position: relative; display: inline-flex; cursor: pointer; }
.mode-switch.seg input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.mode-switch.seg span { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: var(--r-sm);
  color: var(--ink-2); font-weight: 500; }
.mode-switch.seg input:checked + span { background: var(--surface); color: var(--ink); box-shadow: var(--sh-1); }
.mode-switch.seg input:focus-visible + span { box-shadow: var(--focus); }

/* ---- the deck ---- */
#centre { display: flex; flex-direction: column; min-width: 0; min-height: 0; background: var(--canvas); }
#toolbar { display: flex; align-items: center; gap: 8px; height: 52px; padding: 0 16px 0 20px; flex: none;
  background: var(--surface); border-bottom: 1px solid var(--line); }
#toolbar .deck-h { margin: 0; font-size: 14px; font-weight: 600; }
#toolbar .meta { color: var(--ink-3); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
#look-open::before { content: "Look:"; color: var(--ink-3); font-weight: 400; }
#stage { position: relative; flex: 1; min-height: 0; margin: 16px 20px 0; border: 1px solid var(--line); border-radius: 8px;
  background: var(--surface); overflow: hidden; box-shadow: var(--sh-1); }
#deck-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #fff; }
#stage-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 24px; background: var(--canvas); pointer-events: none; }
#stage.has-deck #stage-empty { display: none; }
#stage-empty .ill { width: 64px; height: 64px; margin-bottom: 16px; border-radius: 12px; background: var(--surface);
  border: 1px solid var(--line); display: grid; place-items: center; box-shadow: var(--sh-1); }
#stage-empty .ill svg.i { width: 28px; height: 28px; color: var(--brand); }
#stage-empty h3 { margin: 0 0 6px; font-size: 16px; font-weight: 600; }
#stage-empty p { margin: 0; color: var(--ink-3); max-width: 420px; }
#stage-empty .how { display: flex; gap: 10px; margin-top: 22px; max-width: 560px; text-align: left; }
#stage-empty .how div { flex: 1; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface);
  font-size: 12px; color: var(--ink-2); }
#stage-empty .how b { display: block; font-size: 11px; color: var(--ink-3); font-weight: 600; letter-spacing: .04em; margin-bottom: 2px; }
#stage:fullscreen { margin: 0; border: 0; border-radius: 0; }

/* the status line under the deck */
.activity { position: relative; display: flex; align-items: center; gap: 10px; height: 36px; margin: 0 20px; padding: 0 2px;
  color: var(--ink-2); font-size: 12.5px; flex: none; }
.activity #activity-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.activity #slide-pos { color: var(--ink-3); white-space: nowrap; font-variant-numeric: tabular-nums; }
.activity .trk { position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--line); border-radius: 1px;
  overflow: hidden; }
.activity .trk i { display: block; height: 100%; width: 0; background: var(--brand); }
.activity[data-state=running] .trk i { width: 30%; animation: trk 1.6s ease-in-out infinite; }
.activity[data-state=error] { color: var(--err); }
@keyframes trk { 0% { transform: translateX(-100%); } 100% { transform: translateX(340%); } }

/* ---- the look picker: a dialog over the page ---- */
#look-card { position: fixed; z-index: 50; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(820px, 92vw);
  max-height: 90vh; overflow-y: auto; margin: 0; padding: 18px 20px 0; border-radius: 10px; border: 0;
  box-shadow: 0 0 0 100vmax rgba(16,24,40,.32), var(--sh-3); animation: pop .18s ease both; }
@keyframes pop { from { opacity: 0; } }
#look-card h4 { margin: 0 0 14px; padding: 0; border: 0; background: none; font-size: 16px; }
.looks { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.look { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 4px; height: auto; padding: 8px;
  text-align: left; white-space: normal; border: 1px solid var(--line-2); border-radius: 8px; background: var(--surface);
  box-shadow: none; min-width: 0; }
.look:hover:not(:disabled) { border-color: #b9bdc6; background: var(--surface); }
.look img { width: 100%; height: auto; aspect-ratio: 324 / 90; display: block; border-radius: 4px; background: var(--sunken); }
.look span { white-space: normal; overflow-wrap: anywhere; min-width: 0; }
.look .look-name { display: flex; align-items: center; gap: 7px; margin-top: 6px; font-weight: 600; color: var(--ink); }
.look .look-name::before { content: ""; width: 13px; height: 13px; border-radius: 50%; border: 1.5px solid var(--ink-4); flex: none;
  box-sizing: border-box; }
.look .look-note { font-size: 12px; color: var(--ink-3); font-weight: 400; }
.look[aria-pressed="true"], .look[aria-pressed="true"]:hover:not(:disabled) { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-100); }
.look[aria-pressed="true"] .look-name::before { border: 4px solid var(--brand); }
.look-existing { margin: 16px 0 0; padding: 12px 0 0; border: 0; border-top: 1px solid var(--line); display: flex; flex-direction: column;
  gap: 6px; }
.look-existing[hidden] { display: none; }
.look-existing legend { float: left; width: 100%; padding: 0; margin-bottom: 6px; font-weight: 600; font-size: 12.5px; }
.look-existing label { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; white-space: normal; }
#look-card .row { margin: 16px -20px 0; padding: 12px 20px; border-radius: 0 0 10px 10px; }

/* ---- settings: a drawer on the right ---- */
#settings { position: fixed; top: 0; right: 0; bottom: 0; width: 440px; max-width: 100vw; z-index: 60; display: flex;
  flex-direction: column; background: var(--surface); border-left: 1px solid var(--line); box-shadow: var(--sh-3);
  overflow-y: auto; padding: 0 20px 16px; animation: sl .2s ease both; }
@keyframes sl { from { transform: translateX(24px); opacity: 0; } }
#settings .dh { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; height: 52px;
  flex: none; margin: 0 -20px; padding: 0 12px 0 20px; background: var(--surface); border-bottom: 1px solid var(--line); }
#settings h2 { margin: 0; font-size: 15px; font-weight: 600; color: var(--ink); }
#settings section { padding: 14px 0; border-bottom: 1px solid var(--line); }
#settings h3 { margin: 0 0 4px; font-size: 12.5px; font-weight: 600; }
#settings p { margin: 4px 0 8px; color: var(--ink-2); }
#settings section select { width: 100%; }
#settings .file { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; }
#settings .file input[type=file] { font-size: 12px; }
#settings .check { align-items: flex-start; }
#settings-close { align-self: flex-end; margin-top: 14px; flex: none; }

/* the measuring frames: 1920x1080 at the top left, under the page, so the browser lays them out and gives them
   frames (a frame outside the viewport may be throttled), and nobody sees or clicks them */
#work-frames { position: fixed; left: 0; top: 0; width: 0; height: 0; overflow: visible; z-index: -1; }
#work-frames iframe { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; border: 0; opacity: 0;
  pointer-events: none; }
/* naming a new project takes the stepper's room in the header */
#new-project-form:not([hidden]) ~ #steps { display: none; }
#new-project-form:not([hidden]) { flex: 1; }
.steps { overflow: hidden; }
input[type=file]::file-selector-button { height: 28px; margin-right: 8px; padding: 0 10px; border: 1px solid var(--line-2);
  border-radius: var(--r); background: var(--surface); color: var(--ink); font: inherit; font-weight: 500; cursor: pointer; }
input[type=file]::file-selector-button:hover { background: var(--raised); }
#settings .file input[type=file] { width: 108px; color: transparent; }
#settings .file { color: var(--ink-3); }
