/* AWAS Dashboard — dark amber, monospace, tegas.
   Mirrors app AWAS visual language: #0A0A0C bg, #EAB308 amber. */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
  background: #0A0A0C;
  color: #FBFBFB;
  font-family: 'JetBrains Mono', Consolas, Menlo, monospace;
  font-size: 13px;
}
a { color: #EAB308; text-decoration: none; }

/* ── Sidebar ── */
.sidebar {
  position: fixed; left: 0; top: 0; bottom: 0; width: 210px;
  background: #0D0D10; border-right: 1px solid #1F1F23;
}
.sb-logo { padding: 18px 20px; border-bottom: 1px solid #1F1F23; display: flex; align-items: center; gap: 9px; }
.sb-logo .sq { width: 26px; height: 26px; background: #EAB308; color: #0A0A0C; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; }
.sb-logo .tx { font-weight: 700; font-size: 13px; letter-spacing: .5px; }
.sb-logo .tx small { display: block; font-size: 9px; color: #6B7280; font-weight: 400; letter-spacing: .3px; }
.sb-lbl { padding: 14px 20px 5px; font-size: 9px; letter-spacing: 1.5px; color: #52525B; text-transform: uppercase; }
.sb-item { display: flex; align-items: center; gap: 10px; padding: 10px 20px; color: #A1A1AA; font-size: 12px; text-decoration: none; border-left: 3px solid transparent; }
.sb-item .ico { width: 16px; text-align: center; font-size: 12px; }
.sb-item:hover { color: #FBFBFB; background: #141416; }
.sb-item.on { color: #EAB308; border-left-color: #EAB308; background: #141416; }
.sb-item .cnt { margin-left: auto; font-size: 9px; background: #27272A; color: #A1A1AA; padding: 1px 6px; border-radius: 3px; }
.sb-dev { padding: 14px 20px 0; margin-top: 14px; border-top: 1px solid #1F1F23; }
.sb-dev .dv { display: flex; align-items: center; gap: 8px; padding: 7px 0; }
.sb-dev .nm { font-size: 10.5px; color: #FBFBFB; }
.sb-dev .st { font-size: 8.5px; color: #6B7280; margin-top: 1px; }
.sb-dev .st.on { color: #22C55E; }
.sb-dev .dot { width: 6px; height: 6px; border-radius: 50%; background: #22C55E; margin-left: auto; }
.sb-dev .dot.off { background: #52525B; }

/* ── Content ── */
.content { margin-left: 210px; padding: 20px 26px; }
.hdr { display: flex; align-items: flex-start; margin-bottom: 20px; border-bottom: 1px solid #1F1F23; padding-bottom: 14px; }
.hdr .tt { font-size: 18px; font-weight: 800; letter-spacing: .5px; }
.hdr .tt small { display: block; font-size: 10px; color: #6B7280; font-weight: 400; margin-top: 4px; }
.hdr .sp { flex: 1; }
.hdr .live { display: flex; align-items: center; gap: 7px; font-size: 10px; color: #22C55E; border: 1px solid rgba(34,197,94,.3); padding: 5px 10px; }
.hdr .live .dot { width: 7px; height: 7px; border-radius: 50%; background: #22C55E; }
.hdr .dev { font-size: 10px; color: #A1A1AA; border: 1px solid #27272A; padding: 5px 10px; margin-left: 8px; }
.hdr .dev.on { border-color: #EAB308; color: #EAB308; }

/* ── Stat tiles ── */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tile { background: #0D0D10; border: 1px solid #1F1F23; padding: 14px 16px; }
.tile .lbl { font-size: 9px; color: #6B7280; letter-spacing: 1.2px; text-transform: uppercase; display: flex; justify-content: space-between; }
.tile .val { font-size: 24px; font-weight: 800; margin-top: 8px; letter-spacing: -.5px; }
.tile .val small { font-size: 11px; color: #6B7280; font-weight: 400; }
.tile .sub { font-size: 10px; color: #6B7280; margin-top: 4px; }
.tile .sub .up { color: #22C55E; }
.amber { color: #EAB308; } .green { color: #22C55E; } .red { color: #EF4444; } .blue { color: #60A5FA; }

/* ── Cards ── */
.grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 12px; margin-top: 12px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.card { background: #0D0D10; border: 1px solid #1F1F23; padding: 16px; }
.card .ch { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; border-bottom: 1px solid #1F1F23; padding-bottom: 10px; }
.card .ch .tt { font-size: 11px; font-weight: 700; letter-spacing: 1.2px; color: #A1A1AA; text-transform: uppercase; }
.card .ch .tt small { display: block; font-size: 9px; color: #52525B; font-weight: 400; letter-spacing: 0; margin-top: 3px; }
.card .ch .rg { font-size: 10px; color: #EAB308; }

/* ── Chart ── */
.chart { width: 100%; height: 120px; }
.chart svg { width: 100%; height: 100%; }

/* ── Log ── */
.log { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid #1F1F23; font-size: 11px; }
.log:last-child { border: none; }
.badge { font-size: 8.5px; padding: 2px 6px; font-weight: 700; letter-spacing: .5px; min-width: 56px; text-align: center; }
.b-native { background: rgba(239,68,68,.12); color: #EF4444; border: 1px solid rgba(239,68,68,.3); }
.b-service { background: rgba(234,179,8,.12); color: #EAB308; border: 1px solid rgba(234,179,8,.3); }
.b-telegram { background: rgba(96,165,250,.12); color: #60A5FA; border: 1px solid rgba(96,165,250,.3); }
.b-dart { background: rgba(34,197,94,.12); color: #22C55E; border: 1px solid rgba(34,197,94,.3); }
.msg { flex: 1; color: #FBFBFB; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msg .f { color: #6B7280; }
.tm { font-size: 9px; color: #52525B; flex-shrink: 0; }

/* ── Notif ── */
.ntf { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px solid #1F1F23; }
.ntf:last-child { border: none; }
.ntf .sq { width: 28px; height: 28px; background: #141416; border: 1px solid #27272A; display: flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0; }
.ntf .tt { font-size: 11px; font-weight: 700; }
.ntf .bd { font-size: 9.5px; color: #6B7280; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ntf .mt { font-size: 8.5px; color: #52525B; margin-top: 3px; }
.ntf .ok { color: #22C55E; }
.ntf .fail { color: #EF4444; }

/* ── Gallery ── */
.gal { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.gal .th { aspect-ratio: 1; background: #141416; border: 1px solid #27272A; display: flex; align-items: center; justify-content: center; font-size: 18px; color: #6B7280; position: relative; }
.gal .th .cap { font-size: 7px; }

/* ── Dev rows ── */
.dev { display: flex; align-items: center; gap: 10px; padding: 10px; background: #141416; border: 1px solid #27272A; margin-bottom: 8px; }
.dev .sq { width: 30px; height: 30px; background: #0D0D10; border: 1px solid #27272A; display: flex; align-items: center; justify-content: center; font-size: 13px; }
.dev .nm { font-size: 11px; font-weight: 700; }
.dev .ds { font-size: 9px; color: #6B7280; margin-top: 2px; }
.dev .st { margin-left: auto; font-size: 8.5px; color: #22C55E; border: 1px solid rgba(34,197,94,.3); padding: 2px 8px; }
.dev .st.off { color: #6B7280; border-color: #27272A; }

/* ── Filter chips ── */
.filt { display: inline-block; border: 1px solid #27272A; color: #A1A1AA; padding: 5px 11px; font-size: 10px; margin: 0 6px 6px 0; cursor: pointer; }
.filt.on { border-color: #EAB308; color: #EAB308; }

.foot { text-align: center; color: #52525B; font-size: 9.5px; padding: 18px 0 8px; }

/* ── Mobile ── */
@media (max-width: 900px) {
  .sidebar { display: none; }
  .content { margin-left: 0; padding: 56px 14px 20px; }
  .topbar { display: flex; position: fixed; top: 0; left: 0; right: 0; z-index: 20; background: #0D0D10; border-bottom: 1px solid #1F1F23; padding: 10px 14px; align-items: center; gap: 9px; }
  .topbar .sq { width: 24px; height: 24px; background: #EAB308; color: #0A0A0C; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 12px; }
  .topbar .tx { font-weight: 700; font-size: 13px; }
  .topbar .live { margin-left: auto; font-size: 9px; color: #22C55E; }
  .tiles { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .tile .val { font-size: 18px; }
  .grid, .grid2 { grid-template-columns: 1fr; }
  .gal { grid-template-columns: repeat(4, 1fr); }
  .tm { display: none; }
  .hdr .dev { display: none; }
}
.topbar { display: none; }