
:root{color-scheme:dark;--bg:#050505;--panel:#101010;--panel2:#151515;--line:#292929;--muted:#a1a1aa;--text:#f5f5f5;--accent:#d4d4d8;--accent2:#fff;--danger:#f87171;--success:#86efac}
*{box-sizing:border-box}
html{background:var(--bg)}
body{background:radial-gradient(ellipse at 50% -20%,#1b1b1b 0%,#080808 48%,#050505 100%)!important;color:var(--text)!important;font-family:Inter,"IBM Plex Sans Thai",system-ui,Tahoma,sans-serif!important;min-height:100vh}
a{color:#e4e4e7!important;text-underline-offset:3px}
a:hover{color:#fff!important}
.topbar{background:rgba(10,10,10,.96)!important;border-bottom:1px solid var(--line)!important;position:sticky;top:0;z-index:20;backdrop-filter:blur(16px)}
.container,.wrap{max-width:1240px!important;margin:28px auto!important;padding:0 18px!important}
.card,.item,section.card{background:linear-gradient(145deg,#141414,#0d0d0d)!important;border:1px solid var(--line)!important;border-radius:16px!important;box-shadow:0 14px 40px rgba(0,0,0,.24)!important;padding:clamp(16px,2.5vw,26px)!important}
h1,h2,h3,h4{color:#fafafa!important;letter-spacing:-.02em}
h1{font-size:clamp(1.55rem,3vw,2.25rem)!important}
h2{font-size:1.2rem!important}
h3{font-size:1.05rem!important;border-color:#777!important}
p,.muted,small{color:var(--muted)}
input,select,textarea{width:auto;max-width:100%;background:#080808!important;color:#f5f5f5!important;border:1px solid #383838!important;border-radius:9px!important;padding:11px 13px!important;outline:none}
input:focus,select:focus,textarea:focus{border-color:#aaa!important;box-shadow:0 0 0 3px rgba(255,255,255,.07)!important}
button,.btn{background:#f4f4f5!important;color:#090909!important;border:1px solid #f4f4f5!important;border-radius:9px!important;padding:10px 16px!important;font-weight:700!important;transition:.18s ease;cursor:pointer}
button:hover,.btn:hover{background:#d4d4d8!important;color:#000!important;transform:translateY(-1px)}
.btn-warn,.bg-warn{background:transparent!important;color:#e5e5e5!important;border:1px solid #555!important}
.badge-ok,.bg-ok{background:#102016!important;color:#9ae6b4!important;border:1px solid #244a31}
.badge-off,.bg-err{background:#241111!important;color:#fca5a5!important;border:1px solid #542525}
.ok{color:var(--success)!important}.err{color:var(--danger)!important}.warn{color:#d4d4d8!important}
table{width:100%;border-collapse:collapse;margin-top:12px;font-size:.92rem}
th,td{padding:12px 13px!important;text-align:left;border-bottom:1px solid #292929!important;vertical-align:top}
th{color:#a3a3a3!important;font-weight:650;background:#111}
tr:hover td{background:rgba(255,255,255,.025)}
.mono,code,pre{font-family:"JetBrains Mono",ui-monospace,monospace!important}
pre,code{overflow-wrap:anywhere}
.grid{gap:14px!important}
.item{padding:18px!important}
form{gap:10px}
@media(max-width:700px){.topbar{padding:13px 16px!important;gap:12px;flex-wrap:wrap}.container,.wrap{margin:18px auto!important;padding:0 12px!important}.card{padding:16px!important}table{min-width:680px}.card:has(table){overflow-x:auto}form{flex-wrap:wrap}input,select,textarea{width:100%}}
