* { box-sizing: border-box; }
[hidden] { display: none !important; }
.cms { margin: 0; }
.cms > header { min-height: 66px; padding: 12px max(1rem, calc((100vw - 72rem) / 2)); display: flex; align-items: center; justify-content: space-between; background: white; border-bottom: 1px solid var(--nokhba-line); }
.cms > main { max-width: 74rem; margin: auto; padding: 1rem; background: transparent; }
.cms h1, .cms h2, .cms p { margin: 0 0 .75rem; }
.cms h1 { font-size: clamp(1.8rem, 5vw, 2.65rem); }
.cms h2 { font-size: 1.25rem; }
.cms .card { background: white; border: 1px solid var(--nokhba-line); border-radius: 12px; padding: 1.25rem; margin-bottom: 1rem; }
.cms .sign-in { max-width: 30rem; margin: 6vh auto; }
.cms .columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.cms form { display: grid; gap: .75rem; }
.cms label { display: grid; gap: .25rem; font-weight: 600; }
.cms input, .cms select, .cms textarea, .cms button { font: inherit; border-radius: 8px; padding: .6rem .75rem; }
.cms input, .cms select, .cms textarea { width: 100%; min-width: 0; border: 1px solid var(--nokhba-line); background: white; color: var(--nokhba-text); }
.cms button { background: var(--nokhba-blue); color: white; border: 0; cursor: pointer; font-weight: 700; justify-self: start; }
.cms button:hover { background: var(--nokhba-hover); }
.cms button:disabled { opacity: .6; }
.cms .row { padding: .85rem 0; border-top: 1px solid var(--nokhba-line); }
.cms .row form { display: flex; flex-wrap: wrap; align-items: flex-end; }
.cms .row form label { min-width: 9rem; }
.cms .muted { color: var(--nokhba-muted); }
.cms .tag { display: inline-block; padding: .15rem .5rem; background: var(--nokhba-soft-blue); color: #174479; border-radius: 6px; font-size: .875rem; }
.cms #notice:empty { display: none; }
.cms #notice { padding: .7rem .85rem; border-radius: 8px; background: var(--nokhba-soft-blue); }
.cms #notice.error { color: #a12323; background: #fff1f0; }
@media (max-width: 700px) { .cms .columns { grid-template-columns: 1fr; } }
