/* Adminbereich */
@font-face{font-family:Inter;src:url(../fonts/inter-regular.woff) format("woff");font-weight:400}
@font-face{font-family:Inter;src:url(../fonts/inter-medium.woff) format("woff");font-weight:500}
@font-face{font-family:Inter;src:url(../fonts/inter-semibold.woff) format("woff");font-weight:600}
@font-face{font-family:Oswald;src:url(../fonts/oswald-latin.woff2) format("woff2");font-weight:200 700}
*{box-sizing:border-box}
body{margin:0;background:#f6f5f2;color:#1c1b19;font:15px/1.5 Inter,system-ui,sans-serif}
a{color:#8a5230}a:hover{color:#6b3d22}
h1{font-family:Oswald,"Arial Narrow",sans-serif;font-size:30px;font-weight:600;text-transform:uppercase;margin:0}
h2{font-size:19px;margin:0 0 12px}
.layout{display:flex;flex-wrap:wrap;min-height:100vh}
aside.menu{flex:1 1 220px;max-width:100%;background:#1c1b19;color:#e6e1d8;padding:22px 14px;display:flex;flex-direction:column;gap:22px}
aside.menu img{width:52px;height:56px;object-fit:contain;display:block}
aside.menu .sub{font-size:12px;color:#cf9a66;letter-spacing:.16em;text-transform:uppercase}
aside.menu nav{display:flex;flex-direction:column;gap:2px}
aside.menu nav a{color:#e6e1d8;text-decoration:none;padding:10px 12px;border-radius:4px;display:flex;justify-content:space-between;gap:8px}
aside.menu nav a:hover{background:#2c2925}
aside.menu nav a.on{background:#c08550;color:#0e0d0c;font-weight:600}
aside.menu .who{margin-top:auto;font-size:13px;color:#a9a397}
aside.menu .who a{color:#cf9a66}
.count{background:#0e0d0c;color:#fff;border-radius:999px;padding:0 8px;font-size:12px}
main.content{flex:999 1 760px;min-width:0;padding:28px 32px;display:flex;flex-direction:column;gap:22px}
.head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px}
.box{background:#fff;border:1px solid #e3dfd7;border-radius:8px;padding:22px}
.btn{display:inline-block;font:inherit;font-weight:600;background:#c08550;color:#0e0d0c;border:0;border-radius:4px;padding:10px 18px;cursor:pointer;text-decoration:none}
.btn:hover{background:#cf9a66;color:#0e0d0c}
.btn.sec{background:#fff;border:1px solid #c9c3b8;color:#1c1b19}
.btn.danger{background:#fff;border:1px solid #b3261e;color:#b3261e}
.btn.sm{padding:6px 12px;font-size:13px}
.form{display:flex;flex-direction:column;gap:14px}
.form label,.fl{display:flex;flex-direction:column;gap:5px;font-size:14px;font-weight:500}
.form label.check{flex-direction:row;align-items:center;gap:8px;font-weight:400}
input[type=text],input[type=email],input[type=password],input[type=number],input[type=date],input[type=time],input[type=datetime-local],input[type=url],input[type=search],select,textarea{font:inherit;padding:9px 10px;border:1px solid #c9c3b8;border-radius:4px;background:#fff;width:100%}
textarea{resize:vertical}
input[type=checkbox]{width:17px;height:17px;accent-color:#c08550}
.cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}
.flash{padding:10px 14px;border-radius:6px;margin:0}
.flash.ok{background:#e4f0e6;color:#1e5631}.flash.err{background:#f6e0de;color:#8a1c14}
table.list{width:100%;border-collapse:collapse;font-size:14px}
table.list th{text-align:left;color:#5e5a53;font-weight:600;border-bottom:1px solid #e3dfd7;padding:9px 8px}
table.list td{padding:11px 8px;border-bottom:1px solid #efece6;vertical-align:top}
.scroll{overflow-x:auto}
.pill{display:inline-block;font-size:12px;font-weight:600;padding:2px 10px;border-radius:999px;background:#ecebe6;color:#4a463f;white-space:nowrap}
.pill.g{background:#e4f0e6;color:#1e5631}.pill.y{background:#f3eedf;color:#6b4e12}.pill.r{background:#f6e0de;color:#8a1c14}.pill.b{background:#e3ecf6;color:#1d4a7a}
.muted{color:#6b665d;font-size:13px}
.thumb{width:72px;height:54px;object-fit:cover;border-radius:4px;display:block;background:#eee}
.thumb.tall{width:60px;height:84px;object-position:top}
.tabs{display:flex;flex-wrap:wrap;gap:6px}
.tabs a{padding:7px 14px;border-radius:999px;border:1px solid #c9c3b8;text-decoration:none;color:#1c1b19;font-size:14px}
.tabs a.on{background:#1c1b19;color:#fff;border-color:#1c1b19}
.slots{display:flex;flex-direction:column;gap:6px}
.slot{display:flex;gap:10px;align-items:center;padding:6px;border:2px solid #e3dfd7;border-radius:8px;background:#fff;text-decoration:none;color:#1c1b19}
.slot.on{border-color:#c08550;box-shadow:0 0 0 3px #f1e2d3}
.slot img{width:56px;height:40px;object-fit:cover;border-radius:4px;flex:0 0 56px}
.grp{margin:12px 0 2px;font-size:11px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:#8a5230}
.lib{display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:8px}
.lib label{position:relative;cursor:pointer;border:3px solid transparent;border-radius:6px;padding:2px;background:#fff}
.lib label:has(input:checked){border-color:#c08550}
.lib input{position:absolute;opacity:0}
.lib img{width:100%;height:70px;object-fit:cover;display:block;border-radius:3px}
.preview{position:relative;height:300px;border-radius:6px;overflow:hidden;background:#0e0d0c}
.preview img{position:absolute;inset:0;width:100%;height:100%}
.preview .shade{position:absolute;inset:0}
.blocks{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.blocks li{border:1px solid #e3dfd7;border-radius:6px;padding:10px 12px;background:#fff;display:flex;flex-direction:column;gap:8px}
.blocks .bh{display:flex;align-items:center;gap:6px}
.blocks .bh b{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#8a5230;margin-right:auto}
.blocks button.ic{width:32px;height:32px;border:1px solid #e3dfd7;background:#fff;border-radius:4px;cursor:pointer}
iframe.nlprev{width:100%;height:720px;border:1px solid #e3dfd7;border-radius:8px;background:#1c1916}
.progress{height:10px;background:#ecebe6;border-radius:999px;overflow:hidden}.progress span{display:block;height:100%;background:#c08550}
dl.kv{margin:0;display:grid;grid-template-columns:max-content 1fr;gap:6px 14px;font-size:14px}
dl.kv dt{color:#5e5a53}dl.kv dd{margin:0}
.install{display:flex;justify-content:center;padding:32px 16px}
.install-box{background:#fff;border:1px solid #e3dfd7;border-radius:8px;padding:28px;max-width:640px;width:100%;display:flex;flex-direction:column;gap:14px}
.checks{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:4px}
.checks .ok{color:#1e5631}.checks .err{color:#8a1c14;font-weight:600}
code{background:#f1efe9;padding:1px 5px;border-radius:3px}
@media (max-width:700px){main.content{padding:20px 16px}}
