:root {
  font: 16px/1.5 system-ui, sans-serif;
  color: #162939;
  background: #f3f6f7;
  accent-color: #075452;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
header { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; padding: 1rem max(1.25rem, 5vw); color: white; background: #103f46; }
.brand { margin-right: auto; color: inherit; font-size: 1.15rem; font-weight: 700; text-decoration: none; }
main { width: min(65rem, calc(100% - 2.5rem)); margin: 2.5rem auto; }
h1, h2 { line-height: 1.2; }
label { display: grid; gap: .2rem; font-weight: 600; }
header label { display: flex; align-items: center; gap: .5rem; }
input, button, textarea, select { font: inherit; padding: .5rem .7rem; border: 1px solid #547078; border-radius: .3rem; background: white; color: #162939; }
button { cursor: pointer; }
button[aria-pressed="true"], button.primary { color: white; background: #075452; }
button:disabled { opacity: .6; cursor: progress; }
:focus-visible { outline: 3px solid #a45804; outline-offset: 3px; }
textarea { width: 100%; min-height: 5rem; resize: vertical; }
fieldset, details, #items { min-width: 0; border: 1px solid #a0afb5; border-radius: .4rem; padding: 1rem; background: #fff; }
.toolbar { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1rem 0; }
form { display: grid; gap: .8rem; align-items: start; }
.row, .block { border-bottom: 1px solid #ccd6d9; padding: .8rem 0; }
.row:last-child, .block:last-child { border-bottom: 0; }
.row { display: flex; justify-content: space-between; align-items: center; gap: .7rem; }
.block { display: grid; gap: .5rem; }
#edit, #access { margin-top: 1.5rem; }
#notice:not(:empty) { border-left: .25rem solid #08736e; padding: .5rem .8rem; background: white; }
@media (max-width: 35rem) { .row { align-items: start; flex-direction: column; } }

[data-preview] img { display: block; max-width: 100%; height: auto; }
