:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, sans-serif;
  line-height: 1.55;
  color: #172436;
  background: #f2f5f8;
  --border: #c5d0dc;
  --accent: #135b72;
  --muted: #43576a;
  --surface: #fff;
  --danger: #952d40;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--accent); text-underline-offset: .2em; }
.topbar { background: #102738; color: #fff; padding: .8rem clamp(1rem, 4vw, 3rem); }
.topbar a { color: #fff; }
.topbar, nav, .actions, footer { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem 1rem; }
nav { flex: 1; }
.brand { font-size: 1.35rem; font-weight: 750; letter-spacing: .05em; text-decoration: none; }
#language { width: auto; max-width: 100%; white-space: nowrap; flex: none; }
.brand { overflow-wrap: anywhere; }
.dropzone { border: 2px dashed var(--border); border-radius: .6rem; padding: .8rem; }
.dropzone[data-drag] { border-color: var(--accent); background: #eff8fa; }
.time-parts { display: flex; flex-wrap: wrap; gap: .5rem; }
.time-parts label { width: 5rem; }
.post-preview { width: 6rem; height: 6rem; object-fit: contain; }
.job-destination { border-top: 1px solid var(--border); padding-block: .55rem; }
main { width: min(100% - 2rem, 68rem); margin: 1.5rem auto; min-height: 60vh; }
footer { width: min(100% - 2rem, 68rem); margin: 1.5rem auto 2rem; }
h1, h2, p { margin-block: 0 .65rem; }
h1 { font-size: clamp(1.6rem, 4vw, 2.25rem); line-height: 1.15; }
h2 { font-size: 1.2rem; }
.panel, .card { background: var(--surface); border: 1px solid var(--border); border-radius: .65rem; padding: clamp(.85rem, 2.4vw, 1.4rem); min-width: 0; }
.panel + .panel, .card + .card { margin-top: .75rem; }
.narrow { max-width: 36rem; }
.legal { max-width: 50rem; }
form, fieldset { display: grid; gap: .75rem; margin: .4rem 0; min-width: 0; }
fieldset { border: 1px solid var(--border); border-radius: .4rem; }
label { display: grid; gap: .25rem; overflow-wrap: anywhere; }
label.check { display: flex; align-items: start; gap: .5rem; }
input, textarea, select, button { font: inherit; }
input:not([type=checkbox]), textarea, select { width: 100%; min-width: 0; padding: .45rem .55rem; border: 1px solid var(--border); border-radius: .35rem; background: white; color: #172436; }
textarea { min-height: 8rem; resize: vertical; }
button { cursor: pointer; border: 1px solid var(--accent); background: var(--accent); color: white; min-height: 2.6rem; padding: .45rem .72rem; border-radius: .4rem; overflow-wrap: anywhere; }
button.secondary { background: white; color: var(--accent); }
button.danger { background: var(--danger); border-color: var(--danger); }
button:disabled { opacity: .56; cursor: default; }
:focus-visible { outline: 3px solid #e8a741; outline-offset: 2px; }
.status { color: var(--muted); min-height: 1.5rem; overflow-wrap: anywhere; }
.error { color: var(--danger); }
.card p, code { overflow-wrap: anywhere; }
.card p.body { white-space: pre-wrap; }
.grid { display: grid; gap: .85rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); align-items: start; }
.previews { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr)); }
.previews img, .previews video { width: 100%; max-height: 12rem; object-fit: contain; background: #e7edf2; border-radius: .35rem; display: block; }
.badge { display: inline-block; background: #e7edf2; border-radius: .35rem; padding: .12rem .4rem; }
[hidden] { display: none !important; }
@media (max-width: 40rem) {
  .topbar nav { order: 3; flex-basis: 100%; }
  #language { margin-inline-start: auto; }
  .actions > button { flex: 1 1 auto; }
}
