:root {
  color-scheme: light;
  font: 16px/1.6 system-ui, "Microsoft YaHei", sans-serif;
  color: #201b19;
  background: #f7f4ef;
}
* { box-sizing: border-box; }
body { margin: 0; }
main { max-width: 76rem; margin: auto; padding: 2rem clamp(1.25rem, 4vw, 4rem); }
header { display: flex; align-items: center; gap: .75rem; }
.mark { padding: .15rem .48rem; border-radius: .45rem; background: #a53921; color: #fff; }
section { max-width: 42rem; margin: clamp(3rem, 12vh, 8rem) 0; }
h1 { font-size: clamp(2.8rem, 8vw, 5.4rem); line-height: 1.05; margin: 0 0 1.5rem; letter-spacing: -.055em; }
p { color: #57504b; }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 2rem; }
button, .secondary { font: inherit; font-weight: 650; padding: .6rem 1.15rem; border: 1px solid #a53921; border-radius: .45rem; cursor: pointer; text-decoration: none; }
button { background: #a53921; color: #fff; }
button:disabled { cursor: wait; opacity: .7; }
.secondary, a { color: #8c2d1b; }
#connection-status { min-height: 1.6rem; }
details { border-top: 1px solid #ded6cb; padding-top: 1rem; }
summary { cursor: pointer; font-weight: 650; }
li + li { margin-top: .4rem; }
#workspace { display: flex; flex-direction: column; height: 100dvh; }
#workspace[hidden] { display: none; }
nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .3rem .85rem; font-size: .88rem; border-bottom: 1px solid #ded6cb; }
nav button { padding: .18rem .65rem; }
iframe { flex: 1; width: 100%; min-height: 0; border: 0; background: #fff; }
