:root { color-scheme: light; color: #132b23; background: #f0f6f3; font: 16px/1.5 "Instrument Sans", system-ui, sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; }
header { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; background: #073d2f; color: #fff; padding: 1rem max(1rem, calc((100% - 1160px) / 2)); }
main { width: min(calc(100% - 2rem), 1160px); margin: 1.5rem auto; }
h1 { font-size: clamp(1.7rem, 4vw, 2.75rem); line-height: 1.1; }
h2 { margin: 0 0 .75rem; font-size: 1.2rem; }
.workspace { display: grid; grid-template-columns: minmax(0, 330px) minmax(0, 1fr); gap: 1rem; align-items: start; }
form, .editor { padding: 1rem; background: #fff; border: 1px solid #d1e1d8; border-radius: .75rem; }
label { display: block; font-weight: 600; margin-bottom: .75rem; }
input, select, textarea { display: block; width: 100%; border: 1px solid #799287; border-radius: .4rem; margin-top: .25rem; padding: .5rem; font: inherit; }
textarea { min-height: 5rem; resize: vertical; }
input[type="color"] { width: 3.25rem; height: 2.5rem; }
button { min-height: 44px; background: #fff; color: #073d2f; border: 1px solid #799287; border-radius: .4rem; padding: .45rem .7rem; font: inherit; font-weight: 650; }
button[type="submit"], button[aria-pressed="true"] { color: #fff; background: #07533f; border-color: #07533f; }
.actions, #pages { display: flex; flex-wrap: wrap; gap: .5rem; }
#site-preview { border: 1px solid #d1e1d8; border-radius: .6rem; overflow: hidden; margin: 0 auto 1rem; }
#site-preview[data-width="tablet"] { max-width: 600px; }
#site-preview[data-width="phone"] { max-width: 360px; }
.preview-brand, #pages, article { padding: .75rem 1rem; }
.preview-brand { border-bottom: 4px solid; font-weight: 750; overflow-wrap: anywhere; }
article { overflow-wrap: anywhere; }
article p { white-space: pre-wrap; }
[hidden] { display: none; }
@media (max-width: 760px) { .workspace { grid-template-columns: minmax(0, 1fr); } }
