/* TrooCloud theme (green & white) */
:root{ --green:#33c76b; --bg:#f7fbf8; --ink:#062014; --muted:#6b7c74; --card:#ffffff; }
*{ box-sizing:border-box; }
html,body{ height:100%; }
body{ margin:0; font-family:Inter,system-ui,Arial,sans-serif; background:var(--bg); color:var(--ink); }
a{ color:#0b7; text-decoration:none; }
.wrap{ max-width:1080px; margin:0 auto; padding:20px; }
.header{ display:flex; align-items:center; gap:12px; margin-bottom:12px; }
.logo{ width:44px; height:44px; border-radius:12px; background:var(--green); display:flex; align-items:center; justify-content:center; color:#fff; font-weight:800; }
.lead{ color:var(--muted); margin:4px 0 0 0; }
.card{ background:var(--card); border:1px solid #e4efe8; border-radius:16px; padding:16px; margin-top:12px; box-shadow:0 1px 0 rgba(0,0,0,0.02); }
.topRow{ display:flex; justify-content:space-between; align-items:center; gap:12px; }
.actions{ display:flex; gap:8px; }
.btn{ border:1px solid #0b7; color:#0b7; background:#e9fcf2; padding:8px 12px; border-radius:12px; cursor:pointer; font-weight:600; }
.btn.ghost{ border-color:#b7cdc2; color:#2c5245; background:#f3faf6; }
.small{ color:#4a5b54; font-size:13px; }
.settingsRow{ display:flex; gap:16px; align-items:center; margin-top:8px; }
.gaugeSection{ display:grid; grid-template-columns: 1.3fr 1fr; gap:16px; align-items:center; }
.gauge{ width:100%; height:220px; background:linear-gradient(180deg,#f6fff9,#fff); border-radius:16px; }
.meterRight .progressLabel{ font-size:13px; color:#4a5b54; }
.progressBar{ background:#e6f3ec; height:10px; border-radius:8px; overflow:hidden; margin:4px 0 8px; }
.progressFill{ background:var(--green); width:2%; height:100%; transition:width .25s ease; }
.statusText{ font-weight:700; margin-top:2px; }
.metrics{ display:grid; grid-template-columns:repeat(4,1fr); gap:8px; margin-top:10px; }
.metric{ text-align:center; border:1px solid #e4efe8; border-radius:12px; padding:8px; background:#fff; }
.metric .label{ font-size:12px; color:#577; }
.metric .val{ font-size:20px; font-weight:800; }
.explain{ margin:6px 0 0; color:#4a5b54; }
.dnsGrid .sectionTitle{ font-weight:800; margin-bottom:6px; }
.subTitle{ font-weight:700; margin-bottom:4px; }
.dnsCols{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.table{ width:100%; border-collapse:collapse; }
.table th,.table td{ border:1px solid #e4efe8; padding:8px; text-align:left; }
.badge{ padding:2px 8px; border-radius:10px; font-size:12px; font-weight:700; display:inline-block; }
.badge.ok{ background:#e9fcf2; color:#0b7; border:1px solid #0b7; }
.badge.err{ background:#fff1f1; color:#b20; border:1px solid #f3bcbc; }
.advice{ margin-top:8px; font-weight:700; }
.history table{ width:100%; border-collapse:collapse; }
.history th,.history td{ border:1px solid #e4efe8; padding:6px 8px; font-size:13px; }
.foot{ margin-top:8px; }
@media (max-width:900px){
  .gaugeSection{ grid-template-columns:1fr; }
  .dnsCols{ grid-template-columns:1fr; }
}
