* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: #202821; background: #f5f7f5; font: 1rem/1.5 system-ui, sans-serif; }
header { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; padding: 1rem 1.5rem; background: white; border-bottom: 1px solid #d4ddd4; }
header span { margin-left: auto; overflow-wrap: anywhere; }
form { max-width: 30rem; margin: 3rem auto; padding: 1.25rem; }
h1 { font-size: 1.4rem; overflow-wrap: anywhere; }
h2 { font-size: 1rem; }
label { display: grid; gap: .25rem; margin-bottom: .8rem; }
.check { display: flex; align-items: center; gap: .5rem; }
input, textarea, select, button { font: inherit; color: inherit; }
input:not([type=checkbox]), textarea, select, button { background: white; border: 1px solid #778877; border-radius: 5px; padding: .5rem .65rem; min-width: 0; }
textarea { min-height: 6rem; resize: vertical; }
button { cursor: pointer; min-height: 44px; }
button:disabled { opacity: .55; cursor: default; }
.primary, [aria-current=true] { background: #395744; color: white; }
:focus-visible { outline: 3px solid #396989; outline-offset: 2px; }
.actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .75rem; }
#workspace { display: grid; grid-template-columns: minmax(9rem, 15%) minmax(0, 1fr) minmax(15rem, 23%); min-height: 70vh; }
aside, .properties { padding: 1rem; background: white; }
nav { display: grid; gap: .4rem; }
nav button { text-align: left; overflow-wrap: anywhere; }
fieldset { min-width: 0; margin: 0 0 1rem; border: 1px solid #d4ddd4; border-radius: 5px; }
.canvas { min-width: 0; padding: .8rem; }
.toolbar label { display: flex; gap: .5rem; align-items: center; }
iframe { display: block; width: 100%; max-width: 100%; min-height: 55vh; margin: auto; border: 1px solid #a6b1a6; background: white; }
#status { padding: 0 1.25rem; }
@media (max-width: 850px) { #workspace { grid-template-columns: 1fr; } }
