:root {
  color-scheme: light;
  font-family: system-ui, sans-serif;
  background: #f2efe7;
  color: #24271e;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; }
header, footer { padding: 1rem clamp(1.25rem, 6vw, 5rem); }
header { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; border-bottom: 1px solid #d6d3c7; }
.brand { color: inherit; font: bold 1.7rem Georgia, serif; text-decoration: none; }
.brand span { color: #596a3b; }
main { display: grid; place-items: center; padding: clamp(1.25rem, 5vw, 4rem); }
.card { width: min(100%, 32rem); padding: clamp(1.5rem, 5vw, 3.5rem); background: #fcfbf6; border: 1px solid #d6d3c7; border-radius: 1.25rem; }
.eyebrow { margin: 0; font-size: .75rem; font-weight: 700; color: #53613e; text-transform: uppercase; letter-spacing: .13em; }
h1 { margin: 1rem 0; font: normal clamp(2.5rem, 7vw, 4.25rem)/1 Georgia, serif; letter-spacing: -.04em; }
.muted, footer { color: #5e6253; font-size: .88rem; line-height: 1.6; }
form { display: grid; gap: .75rem; margin-top: 1.5rem; }
label { display: block; font-weight: 600; font-size: .9rem; }
input, textarea { width: 100%; padding: .75rem; border: 1px solid #abaf9f; border-radius: .5rem; background: #fffefa; color: inherit; font: inherit; }
textarea { margin-top: .5rem; line-height: 1.65; resize: vertical; }
button { padding: .8rem 1rem; border: 1px solid transparent; border-radius: .5rem; background: #3d4b2d; color: white; font: inherit; font-weight: 600; cursor: pointer; }
form button { display: flex; justify-content: space-between; gap: .75rem; }
button:hover { background: #2e3a21; }
:focus-visible { outline: 2px solid #637644; outline-offset: 3px; }
.workspace-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.plain { color: #3d4b2d; background: transparent; border-color: #b1b4a4; }
.plain:hover { background: #ebece5; }
#status { margin: 0; color: #963414; font-size: .9rem; }
#status:empty { display: none; }
footer { border-top: 1px solid #d6d3c7; }
.action {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  margin-top: 1.5rem;
  padding: .8rem 1rem;
  border-radius: .5rem;
  background: #3d4b2d;
  color: white;
  font-weight: 600;
  text-decoration: none;
}
.action:hover { background: #2e3a21; }
