:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#0f172a;background:#f5f7fb;line-height:1.5;font-weight:500}*{box-sizing:border-box}html,body,#root{margin:0;min-height:100%}body{background:#f5f7fb;color:#0f172a}button,input,select{font:inherit}button,input,select{outline:none}button{transition:background-color .2s ease,border-color .2s ease,color .2s ease,transform .2s ease}button:hover{transform:translateY(-1px)}.auth-shell{min-height:100vh;display:grid;grid-template-columns:minmax(360px,460px) 1fr;background:linear-gradient(135deg,#eef3fb,#f8fbff)}.auth-side{padding:72px 56px;color:#fff;display:flex;flex-direction:column;justify-content:space-between;background:linear-gradient(180deg,#0b1220,#111a2e)}.auth-side h1,.auth-side h2,.content-shell h2,.panel h3{margin:0}.auth-side h1{font-size:42px;line-height:1.05;letter-spacing:-.04em;margin-top:18px}.auth-side h2{font-size:30px;line-height:1.15;max-width:360px}.auth-side p{margin:14px 0 0;color:#e2e8f0c7;max-width:380px}.badge{display:inline-flex;align-items:center;height:28px;padding:0 12px;border-radius:999px;background:#ffffff14;color:#f8fafc;font-size:12px;letter-spacing:.08em}.brand-mark{width:48px;height:48px;border-radius:16px;background:linear-gradient(135deg,#4f46e5,#60a5fa);box-shadow:0 16px 32px #4f46e559}.auth-main{display:flex;align-items:center;justify-content:center;padding:40px}.auth-card,.panel,.stats article,.modal,.topbar-card{background:#fff;border:1px solid #e7edf5;border-radius:20px;box-shadow:0 10px 30px #0f172a0a}.auth-card{width:100%;max-width:420px;padding:32px;display:flex;flex-direction:column;gap:18px}.auth-card-head p,.panel-head p,.notice,.eyebrow{margin:0}.eyebrow{color:#64748b;font-size:12px;letter-spacing:.08em;text-transform:uppercase}.auth-card h3,.topbar-card h2{margin:8px 0 0;letter-spacing:-.04em}.auth-card label,.panel label{display:flex;flex-direction:column;gap:8px;font-size:14px;color:#334155}.auth-card input,.panel input,.panel select,.modal input{width:100%;border:1px solid #dbe3ef;border-radius:12px;padding:12px 14px;background:#fff;color:#0f172a}.auth-card input:focus,.panel input:focus,.panel select:focus,.modal input:focus{border-color:#94a3b8;box-shadow:0 0 0 3px #94a3b824}.auth-card button,.actions button,.modal-actions button,.table-actions button,.nav-link,.icon-button{border:1px solid #dde6f0;border-radius:12px;padding:10px 14px;cursor:pointer;background:#fff;color:#0f172a}.auth-card button,.actions .primary,.modal-actions .primary{background:#111827;border-color:#111827;color:#fff}.actions button,.table-actions button{background:#fff}.actions .danger{background:#fff;color:#dc2626;border-color:#fecaca}.form-message{border-radius:12px;padding:12px 14px;font-size:14px}.form-message.hint,.notice{background:#f8fafc;color:#475569;border:1px solid #e2e8f0}.form-message.error{background:#fff1f2;color:#be123c;border:1px solid #ffe4e6}.layout{min-height:100vh;display:grid;grid-template-columns:248px 1fr;gap:24px;padding:24px}.sidebar{background:#fbfcfe;border:1px solid #e7edf5;border-radius:24px;padding:24px 18px;display:flex;flex-direction:column;gap:24px}.brand-block{display:flex;align-items:center;gap:14px;padding:8px 10px 18px;border-bottom:1px solid #edf2f7}.brand-copy h1{font-size:24px;line-height:1;margin:0;letter-spacing:-.04em}.brand-copy p{margin:6px 0 0;color:#64748b;font-size:13px}.sidebar-nav{display:flex;flex-direction:column;gap:6px}.nav-link{width:100%;display:flex;flex-direction:column;align-items:flex-start;gap:2px;text-align:left;background:transparent;border-color:transparent;padding:12px 14px}.nav-link span{font-weight:600}.nav-link small{color:#94a3b8;font-size:12px}.nav-link:hover{background:#f8fafc;border-color:#eef2f7}.nav-link.active{background:#f1f5f9;border-color:#e2e8f0;color:#0f172a}.sidebar-foot{margin-top:auto;display:flex;gap:12px;align-items:flex-start;padding:16px 14px;border-radius:16px;background:#f8fafc;border:1px solid #edf2f7}.sidebar-foot strong{display:block;font-size:14px}.sidebar-foot p{margin:4px 0 0;color:#64748b;font-size:13px}.online-dot{width:10px;height:10px;border-radius:999px;background:#22c55e;margin-top:5px;box-shadow:0 0 0 4px #22c55e1f}.content-shell{min-width:0;display:flex;flex-direction:column;gap:20px}.topbar-card,.panel-head,.filters,.actions,.modal-head,.modal-actions,.checks,.hero-actions{display:flex;gap:12px}.topbar-card,.panel-head,.modal-head,.modal-actions{justify-content:space-between;align-items:center}.topbar-card{padding:20px 24px}.topbar-card h2{font-size:30px}.actions{align-items:center}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.stats article{padding:22px;min-height:136px;display:flex;flex-direction:column;justify-content:space-between}.stats span,.stats em{color:#64748b;font-style:normal}.stats strong{font-size:36px;letter-spacing:-.04em}.stats em{font-size:13px}.notice{padding:14px 16px;border-radius:14px}.overview-grid,.settings-layout{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(280px,.9fr);gap:16px}.panel{padding:24px;overflow:hidden}.hero-panel{min-height:260px;display:flex;flex-direction:column;justify-content:space-between}.hero-panel p:not(.eyebrow){margin:12px 0 0;color:#475569;max-width:560px}.side-panel,.tip-panel{background:#fcfdff}.hero-actions{flex-wrap:wrap}.summary-list{margin:16px 0 0;padding-left:18px;color:#334155}.summary-list li+li{margin-top:10px}.table-wrap{overflow-x:auto;margin-top:18px}table{width:100%;border-collapse:separate;border-spacing:0;min-width:980px}th,td{padding:16px 14px;border-bottom:1px solid #eef2f6;text-align:left;vertical-align:middle}th{color:#64748b;font-size:12px;letter-spacing:.08em;text-transform:uppercase;font-weight:700}td{color:#0f172a}.cell-title{font-weight:600}.filters{align-items:center;flex-wrap:wrap}.filters input,.filters select{border:1px solid #dbe3ef;border-radius:12px;padding:10px 12px;background:#fff;min-width:160px}.tag{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:700}.tag.ok{background:#ecfdf3;color:#027a48}.tag.ban{background:#fef3f2;color:#b42318}.table-actions{display:flex;flex-wrap:wrap;gap:8px;min-width:320px}.table-actions button{background:#f8fafc;border-color:#e2e8f0;padding:8px 12px}.table-actions .danger-text{color:#dc2626;background:#fff5f5;border-color:#fecaca}.settings-panel,.tip-panel{min-height:260px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:18px 0 22px}.modal-mask{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a47;display:flex;align-items:center;justify-content:center;padding:24px}.modal{width:min(760px,100%);padding:24px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px}.checks{align-items:center;flex-wrap:wrap;margin-top:4px}.icon-button{width:40px;height:40px;padding:0;display:inline-flex;align-items:center;justify-content:center}.input-with-action{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center}.inline-action{border:1px solid #dbe3ef;border-radius:12px;background:#f8fafc;color:#0f172a;padding:12px 14px;white-space:nowrap;cursor:pointer}.inline-action:hover{background:#f1f5f9;border-color:#cbd5e1}@media (max-width: 1160px){.layout{grid-template-columns:1fr}}@media (max-width: 760px){.layout{padding:14px}.topbar-card,.actions,.panel-head,.modal-head,.modal-actions{flex-direction:column;align-items:flex-start}.auth-side{display:none}.auth-main{padding:18px}.form-grid,.settings-grid{grid-template-columns:1fr}.table-actions{min-width:auto}}
