:root { --bg:#07131e; --panel:#0d2231; --line:#29485c; --text:#eef3f5; --muted:#9fb0bb; --orange:#ef7d00; --green:#69cd45; --red:#e56b5d; }
* { box-sizing: border-box; }
body { margin:0; min-height:100vh; color:var(--text); background:radial-gradient(circle at top,#173248 0,#07131e 45%); font-family:Inter,Arial,sans-serif; }
a { color:#ff9b2e; }
.cms-shell { width:min(1180px,calc(100% - 32px)); margin:0 auto; padding:42px 0 110px; }
.cms-shell--narrow { width:min(620px,calc(100% - 32px)); }
.cms-header { margin-bottom:24px; }
.cms-header > span { color:var(--orange); font-size:.76rem; font-weight:900; letter-spacing:.2em; }
.cms-header h1 { margin:8px 0; font-size:clamp(2rem,5vw,3.6rem); }
.cms-header p { max-width:760px; margin:0; color:var(--muted); line-height:1.55; }
.cms-card,.editor-group { padding:24px; border:1px solid var(--line); border-radius:16px; background:rgba(13,34,49,.96); box-shadow:0 18px 50px rgba(0,0,0,.25); }
.cms-card { display:grid; gap:18px; }
label { display:grid; gap:7px; color:#d7e0e5; font-weight:800; }
label small,.cms-help { color:var(--muted); font-size:.78rem; font-weight:500; line-height:1.45; }
input,textarea { width:100%; border:1px solid #36566b; border-radius:9px; padding:12px 13px; color:white; background:#081925; font:inherit; }
textarea { resize:vertical; line-height:1.5; }
input:focus,textarea:focus { outline:0; border-color:var(--orange); box-shadow:0 0 0 3px rgba(239,125,0,.14); }
.cms-button { display:inline-flex; justify-content:center; align-items:center; min-height:44px; border:1px solid var(--orange); border-radius:10px; padding:10px 17px; color:#111; background:var(--orange); font-weight:900; text-decoration:none; cursor:pointer; }
.cms-button--secondary { color:white; border-color:#49677a; background:#102534; }
.notice { margin:0 0 18px; padding:13px 15px; border:1px solid var(--line); border-radius:10px; background:#112837; }
.notice--error { border-color:var(--red); color:#ffd5cf; }
.notice--success { border-color:var(--green); color:#dfffd3; }
.cms-toolbar { display:flex; justify-content:flex-end; gap:10px; margin-bottom:16px; }
.cms-toolbar--left { justify-content:flex-start; margin-top:16px; }
.cms-toolbar form { margin:0; }
.connection-status { display:flex; align-items:center; gap:12px; padding:14px; border:1px solid #8b6234; border-radius:11px; background:rgba(239,125,0,.08); }
.connection-status > span { width:34px; height:34px; flex:0 0 34px; display:grid; place-items:center; border-radius:50%; color:#111; background:var(--orange); font-weight:950; }
.connection-status > div { display:grid; gap:3px; }
.connection-status small { color:var(--muted); font-weight:500; }
.connection-status--ok { border-color:#4c884d; background:rgba(105,205,69,.08); }
.connection-status--ok > span { background:var(--green); }
.setup-steps { display:grid; gap:10px; margin:0; padding-left:22px; color:#d7e0e5; line-height:1.5; }
.daylite-connect-form { display:grid; gap:18px; padding-top:4px; border-top:1px solid var(--line); }
code { color:#cde4f3; overflow-wrap:anywhere; }
.editor-form { display:grid; gap:18px; }
.editor-group h2 { margin:0 0 18px; color:#fff; font-size:1.15rem; }
.editor-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.editor-field--wide { grid-column:1 / -1; }
.save-bar { position:fixed; z-index:5; left:0; right:0; bottom:0; display:flex; justify-content:center; align-items:center; gap:28px; min-height:78px; padding:12px 24px; border-top:1px solid var(--line); background:rgba(4,14,22,.96); backdrop-filter:blur(12px); }
.save-bar span { color:var(--muted); }
@media (max-width:700px) { .editor-grid { grid-template-columns:1fr; } .cms-toolbar { justify-content:stretch; flex-wrap:wrap; } .cms-toolbar > * { flex:1 1 100%; } .save-bar { justify-content:space-between; gap:10px; } .save-bar span { font-size:.72rem; } }
