:root { font-family: system-ui, sans-serif; color: #192b3a; background: #f4f6f8; line-height: 1.5; }
body { margin: 0; }
header { background: #fff; border-bottom: 1px solid #d4dce2; padding: 1rem 2rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.brand { font-size: 1.25rem; font-weight: 700; text-decoration: none; }
a { color: #145b92; }
nav, .heading, .actions { display: flex; gap: 1rem; align-items: center; justify-content: space-between; }
nav form { margin: 0; }
main { max-width: 1400px; margin: auto; padding: 1.5rem 2rem; }
h1 { font-size: 1.7rem; }
.editor { max-width: 640px; background: white; padding: 1.5rem; border: 1px solid #d4dce2; border-radius: .5rem; }
label { display: block; margin: 1rem 0; font-weight: 600; }
input:not([type=checkbox]):not([type=hidden]), select { display: block; box-sizing: border-box; width: 100%; padding: .65rem; margin-top: .3rem; border: 1px solid #8595a1; border-radius: .25rem; font: inherit; }
input[type=checkbox] { width: 1.1rem; height: 1.1rem; }
.check { display: flex; align-items: center; gap: .5rem; font-weight: 400; }
button, .button { display: inline-block; font: inherit; cursor: pointer; padding: .45rem .8rem; border: 1px solid #8595a1; border-radius: .25rem; background: white; color: #192b3a; text-decoration: none; }
.primary { background: #145b92; color: white; border-color: #145b92; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #c37800; outline-offset: 2px; }
fieldset { border: 1px solid #d4dce2; margin: 1.5rem 0; }
.hint { color: #526271; font-size: .9rem; }
.errors, .notice { padding: 1rem; border-radius: .25rem; }
.errors { color: #8a1d1d; background: #ffeded; border: 1px solid #d89696; }
.notice { background: #e2f3e6; }
.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; background: white; }
th, td { text-align: left; padding: .7rem; border-bottom: 1px solid #d4dce2; vertical-align: top; }
th { background: #e8edf1; }
td form { margin-top: .5rem; }
.watch-url { max-width: 340px; overflow-wrap: anywhere; }
@media (max-width: 600px) { header, main { padding: 1rem; } .editor { padding: 1rem; } .heading { flex-wrap: wrap; } }
