:root {
  color-scheme: dark;
  font-family: Inter, system-ui, sans-serif;
  color: #eef1f8;
  background: #0d1018;
  --muted: #aeb8cc;
  --line: #303948;
  --accent: #acbfff;
}
* { box-sizing: border-box; }
body { margin: 0; }
.shell { width: min(100% - 2.5rem, 66rem); margin-inline: auto; }
.site { border-bottom: 1px solid var(--line); }
.bar, .footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; }
.wordmark { display: inline-flex; align-items: center; gap: 1rem; color: inherit; text-decoration: none; font-weight: 750; letter-spacing: .16em; }
.wordmark span { border-left: 1px solid var(--line); padding-left: 1rem; font-size: .8rem; color: var(--muted); letter-spacing: normal; font-weight: 500; }
.quiet { color: var(--accent); text-underline-offset: .22em; }
.intro { padding: clamp(2.25rem, 6vw, 4.8rem) 0 2rem; }
h1, h2, p { margin: 0; }
h1 { font-size: clamp(2.15rem, 5vw, 3.6rem); letter-spacing: -.055em; line-height: 1.06; font-weight: 700; }
h2 { letter-spacing: -.03em; font-size: 1.35rem; }
.intro p, .proposal > p:not(.note), #result { color: var(--muted); margin-top: .9rem; line-height: 1.6; }
.workspace { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); align-items: start; gap: 1rem; }
.card { padding: clamp(1.1rem, 3vw, 1.8rem); border: 1px solid var(--line); border-radius: .85rem; background: #161c29; }
.card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: .7rem; flex-wrap: wrap; }
.label { color: var(--accent); margin-bottom: .42rem; font-size: .77rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 650; }
.phase { color: #dce5ff; background: #293652; border-radius: .28rem; padding: .27rem .5rem; font-size: .77rem; white-space: nowrap; }
.phase[data-phase="executed"] { background: #174235; color: #b4f1da; }
.details { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-block: 1px solid var(--line); padding-block: 1rem; gap: 1rem; margin: 1.3rem 0; }
dt { color: var(--muted); margin-bottom: .25rem; font-size: .8rem; }
dd { margin: 0; font-size: .91rem; overflow-wrap: anywhere; }
.actions { display: flex; gap: .6rem; flex-wrap: wrap; }
button { min-height: 2.7rem; font: inherit; font-size: .9rem; font-weight: 650; padding: .57rem .86rem; color: #0e172e; background: var(--accent); border: 1px solid transparent; border-radius: .35rem; cursor: pointer; }
button:hover:not(:disabled) { background: #ccdaff; }
button:disabled { opacity: .55; cursor: default; }
.secondary, .secondary:hover:not(:disabled) { background: transparent; color: var(--accent); border-color: #657395; }
:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.note, #status { color: var(--muted); font-size: .81rem; margin-top: .85rem; line-height: 1.5; }
#status:empty { display: none; }
.steps { margin: 1rem 0 0; padding: 0; list-style: none; }
.steps li { display: grid; gap: .25rem; border-left: 2px solid var(--line); padding: .68rem .8rem; }
.steps li.done { border-left-color: #83d2b6; }
.steps span { color: var(--muted); font-size: .8rem; }
.receipt { grid-column: 1/-1; }
.footer { margin-top: 1.5rem; font-size: .85rem; }
[hidden] { display: none !important; }
@media (max-width: 43rem) { .workspace { grid-template-columns: 1fr; } }
