*{box-sizing:border-box;margin:0;padding:0}
body{font-family:Segoe UI,Arial,sans-serif;background:#f4f1ec;color:#1a2238;line-height:1.6}
a{color:inherit;text-decoration:none}
.wrap{max-width:1100px;margin:auto;padding:0 22px}
.top{background:#141b34;color:#fff}
nav{display:flex;align-items:center;justify-content:space-between;height:66px;gap:12px}
.logo{font-weight:700;font-size:19px;white-space:nowrap}.logo i{font-style:normal;color:#ff9f43}
nav .links{display:flex;gap:14px;align-items:center;font-size:15px;color:#c4cae0;flex-wrap:wrap;justify-content:flex-end}
form.inline{display:inline}
.btn{display:inline-block;padding:11px 22px;border-radius:10px;font-weight:700;font-size:15px;border:0;cursor:pointer;font-family:inherit;line-height:1.3}
.btn.or{background:#ff9f43;color:#2b1700}
.btn.out{border:1.5px solid #3b4670;color:#fff;background:transparent;padding:9px 18px}
.btn.navy{background:#141b34;color:#fff}
.btn.sm{padding:7px 14px;font-size:14px}
.btn.gray{background:#e6e2da;color:#1a2238}
.hero{padding:60px 0 100px}
.hero h1{font-size:42px;line-height:1.15;max-width:700px;margin-bottom:16px}
.hero p{color:#c4cae0;font-size:18px;max-width:560px;margin-bottom:28px}
.btns{display:flex;gap:12px;flex-wrap:wrap}
main{padding:36px 0 50px;min-height:50vh}
main.float{margin-top:-60px;padding-top:0}
h1.pt{font-size:28px;margin-bottom:6px}
.lead{color:#5b6378;margin-bottom:22px}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}
.cards div{background:#fff;border-radius:14px;padding:24px;box-shadow:0 8px 24px rgba(20,27,52,.08)}
.cards b{display:inline-block;background:#ffe9d2;color:#b25e00;border-radius:8px;padding:2px 10px;font-size:13px;margin-bottom:10px}
.cards h3{font-size:17px}
.two{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:50px 0 10px}
.two>div{border-radius:16px;padding:36px}
.two .a{background:#141b34;color:#fff}.two .b{background:#ffe9d2}
.two h2{font-size:24px;margin-bottom:8px}.two p{margin-bottom:20px;opacity:.85}
.box{background:#fff;border-radius:14px;padding:26px;box-shadow:0 6px 20px rgba(20,27,52,.07);margin-bottom:20px}
.box.narrow{max-width:460px;margin:20px auto}
.box h2{font-size:20px;margin-bottom:12px}
label{display:block;font-weight:600;font-size:14px;margin:14px 0 5px}
input[type=text],input[type=email],input[type=password],input[type=date],input[type=number],input[type=search],select,textarea{width:100%;padding:11px 12px;border:1.5px solid #d6d9e3;border-radius:9px;font-size:15px;font-family:inherit;background:#fff}
textarea{min-height:110px;resize:vertical}
input:focus,select:focus,textarea:focus{outline:2px solid #ff9f43;border-color:#ff9f43}
.chk{display:flex;gap:10px;align-items:flex-start;font-weight:400;margin:16px 0}
.chk input{margin-top:5px}
.chk a{text-decoration:underline}
.flash{padding:13px 16px;border-radius:10px;margin:18px 0;font-weight:600}
.flash.ok{background:#dff5e6;color:#14532d}.flash.err{background:#fde2e2;color:#7f1d1d}
.badge{display:inline-block;border-radius:999px;padding:3px 12px;font-size:13px;font-weight:700}
.badge.ok{background:#dff5e6;color:#14532d}.badge.wait{background:#fff0cf;color:#7a4b00}.badge.bad{background:#fde2e2;color:#7f1d1d}
.cat{margin-bottom:26px}
.cat h2{font-size:19px;margin-bottom:10px}
.vlist a{display:flex;justify-content:space-between;gap:10px;background:#fff;border-radius:10px;padding:13px 16px;margin-bottom:8px;box-shadow:0 2px 8px rgba(20,27,52,.05)}
.vlist a:hover{background:#fff6ea}
.muted{color:#6c7285;font-size:14px}
.player{position:relative;background:#000;border-radius:12px;overflow:hidden;aspect-ratio:16/9}
.player iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.wm{position:absolute;pointer-events:none;color:rgba(255,255,255,.28);font-size:14px;font-weight:600;text-shadow:0 0 3px rgba(0,0,0,.6);z-index:2;white-space:nowrap}
.wm.w1{top:10%;left:6%}.wm.w2{bottom:14%;right:6%}.wm.w3{top:46%;left:34%}
.subnav{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:22px}
.subnav a{background:#fff;border-radius:999px;padding:7px 16px;font-weight:600;font-size:14px;box-shadow:0 2px 8px rgba(20,27,52,.06)}
.subnav a.on{background:#141b34;color:#fff}
.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:14px;margin-bottom:22px}
.stats div{background:#fff;border-radius:12px;padding:18px;box-shadow:0 2px 8px rgba(20,27,52,.06)}
.stats b{display:block;font-size:28px}
.member{display:grid;grid-template-columns:1.3fr 1fr 1.3fr;gap:14px;align-items:center;background:#fff;border-radius:12px;padding:14px 18px;margin-bottom:10px;box-shadow:0 2px 8px rgba(20,27,52,.05)}
.member form{display:flex;gap:6px;flex-wrap:wrap;align-items:center}
.member select,.member input[type=date]{width:auto;padding:7px 8px;font-size:14px}
.filters{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:16px;align-items:center}
.filters input[type=search]{width:260px;max-width:100%}
.q{border-left:4px solid #ff9f43;background:#fff;border-radius:10px;padding:14px 18px;margin-bottom:12px}
.q.done{border-color:#22a06b}
.q h3{font-size:16px;margin-bottom:4px}
.q .ans{background:#f2f6fd;border-radius:8px;padding:10px 14px;margin-top:10px}
.pre{white-space:pre-wrap}
.row2{display:grid;grid-template-columns:1fr 1fr;gap:14px}
table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:9px 8px;border-bottom:1px solid #eee;font-size:14px;vertical-align:middle}
.legal p{margin-bottom:14px}
footer{padding:26px 0;text-align:center;color:#6c7285;font-size:14px}
footer a{text-decoration:underline;margin:0 6px}
@media(max-width:800px){.two,.row2{grid-template-columns:1fr}.hero h1{font-size:32px}nav .links a.hide{display:none}.member{grid-template-columns:1fr}}
.filters input[type=number]{width:90px}.filters input[type=text]{width:auto;flex:1;min-width:160px}
main.wrap{padding:36px 22px 50px}main.wrap.float{padding-top:0}
.ann{background:#fff6ea;border-left:4px solid #ff9f43;border-radius:10px;padding:14px 18px;margin-bottom:12px}
.ann h3{font-size:16px;margin-bottom:4px}
.qimg{max-width:100%;max-height:480px;border-radius:10px;margin-top:10px;display:block;border:1px solid #e3e5ec}
.analiz h2{font-size:20px;margin-bottom:4px}
input[type=file]{width:100%;padding:9px;border:1.5px dashed #c9cde0;border-radius:9px;background:#fafbff;font-family:inherit}
.help{font-size:13px;color:#6c7285;margin-top:4px}
.msg{border-radius:12px;padding:12px 16px;margin:10px 0;max-width:88%;border:1px solid #e3e5ec;background:#fff}
.msg.admin{background:#e9f0ff;border-color:#cfdcf7;margin-left:auto}
.msg .who{font-size:13px;font-weight:700;margin-bottom:2px}
.msg .when{font-weight:400;color:#6c7285;margin-left:8px}
.tl a{display:flex;justify-content:space-between;gap:12px;align-items:center;background:#fff;border-radius:10px;padding:13px 16px;margin-bottom:8px;box-shadow:0 2px 8px rgba(20,27,52,.05)}
.tl a:hover{background:#fff6ea}
details.thr{background:#fff;border-radius:12px;box-shadow:0 2px 8px rgba(20,27,52,.06);margin-bottom:10px}
details.thr>summary{cursor:pointer;padding:14px 18px;display:flex;justify-content:space-between;gap:12px;align-items:center;list-style:none}
details.thr>summary::-webkit-details-marker{display:none}
details.thr>summary .st::before{content:'▸ ';color:#ff9f43}
details.thr[open]>summary .st::before{content:'▾ '}
details.thr[open]>summary{border-bottom:1px solid #eee}
.thrbody{padding:6px 18px 18px}
.thrbody textarea{min-height:80px}
.thrbody form.reply{margin-top:12px}
.thrbody form.del{margin-top:14px;padding-top:12px;border-top:1px dashed #e3e5ec;display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.thrbody form.del .chk{margin:0;font-size:14px}
