body:has(#workspace:not([hidden])) { display: block; padding: 0; }
.top {
  padding: .85rem clamp(1rem, 3vw, 2rem); background: #152239; border-bottom: 1px solid #344966;
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; justify-content: space-between;
}
.top strong { font-size: 1.15rem; }
.top nav, .actions { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; }
.top nav a { text-decoration: none; padding: .55rem .65rem; border-radius: .6rem; }
.top nav a[aria-current] { background: #233958; color: #edf4ff; }
.content { max-width: 90rem; margin: auto; padding: clamp(1rem, 3vw, 2rem); }
.content h1 { margin-bottom: 1rem; }
.grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; }
.card { background: #152239; border: 1px solid #344966; padding: clamp(.85rem, 2vw, 1.35rem); border-radius: 1rem; }
.card h2 { font-size: 1.15rem; margin: 0 0 .85rem; }
.card h2:not(:first-child) { margin-top: 1.2rem; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
label { display: grid; gap: .35rem; }
select, textarea { font: inherit; color: inherit; background: #0b1425; border: 1px solid #49617f; border-radius: .6rem; min-width: 0; width: 100%; padding: .7rem; }
textarea { resize: vertical; }
.drop { border: 1px dashed #49617f; padding: .65rem; border-radius: .6rem; }
.drop.drag { background: #233958; border-color: #8cb9ff; }
.quiet { color: #edf4ff; width: auto; background: #233958; }
li { margin-block: .35rem; overflow-wrap: anywhere; }
ul { padding-inline-start: 1.2rem; }
ul:empty, #notice:empty { display: none; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; background: #0b1425; padding: .75rem; max-height: 34rem; overflow: auto; border-radius: .6rem; }
th, td { padding: .55rem; text-align: left; border-bottom: 1px solid #344966; }
.acceptance-table { overflow-x: auto; }
.acceptance-table td:nth-child(3) { min-width: 10rem; }
#notice { color: #f2ca83; padding: .65rem 0; }
@media (max-width: 48rem) { .grid { grid-template-columns: minmax(0, 1fr); } .top nav { order: 2; width: 100%; } }
