:root {
color-scheme: dark;
--bg:           #0d1117;
--surface:      #161b22;
--surface-2:    #21262d;
--surface-3:    #2d333b;
--border:       #30363d;
--border-2:     #444c56;
--text:         #e6edf3;
--text-muted:   #8b949e;
--accent:       #58a6ff;
--accent-hover: #79c0ff;
--accent-dim:   rgba(88, 166, 255, 0.12);
--good:         #3fb950;
--good-dim:     rgba(63, 185, 80, 0.10);
--critical:     #f85149;
--critical-dim: rgba(248, 81, 73, 0.10);
--warning:      #d29922;
--warning-dim:  rgba(210, 153, 34, 0.10);
--grid:         #21262d;
--axis:         #30363d;
--plot-muted:   #848d97;
--series-ttfb:     #2f81f7;
--series-download: #db6d28;
--radius:       6px;
--radius-lg:    10px;
--font:         -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
--mono:         ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
--shadow:       0 8px 24px rgba(0,0,0,.4);
--transition:   0.15s ease;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body {
font-family: var(--font);
background: var(--bg);
color: var(--text);
line-height: 1.6;
min-height: 100vh;
display: flex;
flex-direction: column;
-webkit-font-smoothing: antialiased;
}
h1 { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 1.25rem; }
h2 { font-size: 1.0625rem; font-weight: 600; margin-bottom: 0.625rem; }
h3 { font-size: 0.9375rem; font-weight: 600; margin-bottom: 0.5rem; }
p  { color: var(--text-muted); margin-bottom: 0.75rem; }
p:last-child { margin-bottom: 0; }
ul { list-style: none; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); text-decoration: underline; }
code, .mono { font-family: var(--mono); font-size: 0.8125rem; }
pre {
font-family: var(--mono); font-size: 0.8125rem;
background: var(--bg); border: 1px solid var(--border);
border-radius: var(--radius); padding: 1rem 1.125rem;
overflow-x: auto; margin-bottom: 1rem;
white-space: pre-wrap; word-break: break-all;
}
hr { border: none; border-top: 1px solid var(--border); margin: 1.5rem 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }
@keyframes ping-pulse {
0%   { transform: scale(0.85); opacity: 0.8; }
100% { transform: scale(2.2);  opacity: 0; }
}
header { background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
nav {
max-width: 1100px; margin: 0 auto; padding: 0 1.5rem;
min-height: 56px; display: flex; align-items: center; gap: 0.25rem; flex-wrap: wrap;
}
.nav-logo {
font-size: 1rem; font-weight: 700; color: var(--text); text-decoration: none;
letter-spacing: -0.02em; margin-right: auto; display: flex; align-items: center; gap: 0.5rem;
}
.nav-logo:hover { text-decoration: none; color: var(--text); }
.nav-logo .brand-domain { color: var(--accent); }
.nav-dot { position: relative; width: 8px; height: 8px; display: inline-block; }
.nav-dot-inner { width: 8px; height: 8px; border-radius: 50%; background: var(--good); display: block; }
.nav-dot-ring {
position: absolute; inset: -3px; border-radius: 50%;
border: 1.5px solid var(--good); opacity: 0; animation: ping-pulse 2.4s ease-out infinite;
}
@media (prefers-reduced-motion: reduce) { .nav-dot-ring { animation: none; } }
.nav-link {
font-size: 0.875rem; color: var(--text-muted); text-decoration: none;
padding: 0.375rem 0.625rem; border-radius: var(--radius);
transition: color var(--transition), background var(--transition);
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--text); background: var(--surface-2); text-decoration: none; }
.nav-cta {
padding: 0.375rem 0.875rem; background: var(--accent); color: #0d1117;
border-radius: var(--radius); font-size: 0.875rem; font-weight: 600;
text-decoration: none; margin-left: 0.25rem;
}
.nav-cta:hover { background: var(--accent-hover); color: #0d1117; text-decoration: none; }
.nav-btn {
background: none; border: none; cursor: pointer; padding: 0.375rem 0.625rem;
border-radius: var(--radius); font-size: 0.875rem; font-family: var(--font);
color: var(--text-muted); line-height: 1;
}
.nav-btn:hover { color: var(--text); background: var(--surface-2); }
.org-switcher { position: relative; }
.org-switcher > summary {
list-style: none; cursor: pointer; font-size: 0.875rem; color: var(--text-muted);
padding: 0.3rem 0.6rem; border: 1px solid var(--border); border-radius: var(--radius);
background: var(--surface-2); display: flex; align-items: center; gap: 0.4rem;
}
.org-switcher > summary::-webkit-details-marker { display: none; }
.org-switcher > summary:hover { color: var(--text); border-color: var(--border-2); }
.org-switcher > summary::after { content: '▾'; font-size: 0.7rem; opacity: 0.7; }
.org-menu {
position: absolute; right: 0; top: calc(100% + 6px); min-width: 220px; z-index: 200;
background: var(--surface); border: 1px solid var(--border);
border-radius: var(--radius); box-shadow: var(--shadow); padding: 0.3rem;
}
.org-menu form { margin: 0; }
.org-menu button {
width: 100%; text-align: left; background: none; border: none; color: var(--text);
font-size: 0.875rem; font-family: var(--font); padding: 0.45rem 0.6rem;
border-radius: var(--radius); cursor: pointer; display: flex; justify-content: space-between; gap: .5rem;
}
.org-menu button:hover { background: var(--surface-2); }
.org-menu button[aria-current="true"] { color: var(--accent); }
.org-menu .org-sep { border-top: 1px solid var(--border); margin: 0.3rem 0; }
main { flex: 1; max-width: 1100px; width: 100%; margin: 0 auto; padding: 2.5rem 1.5rem; }
footer {
border-top: 1px solid var(--border); padding: 1.5rem;
font-size: 0.8125rem; color: var(--text-muted); text-align: center;
}
footer a { color: var(--text-muted); }
.card {
background: var(--surface); border: 1px solid var(--border);
border-radius: var(--radius-lg); padding: 1.5rem; margin-bottom: 1rem;
}
.card-header {
font-size: 0.9375rem; font-weight: 600; margin-bottom: 1rem;
padding-bottom: 0.75rem; border-bottom: 1px solid var(--border);
display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.page-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.page-header h1 { margin-bottom: 0; }
button, .btn {
display: inline-flex; align-items: center; gap: 0.375rem;
padding: 0.4375rem 0.875rem; border-radius: var(--radius);
font-size: 0.875rem; font-weight: 500; font-family: var(--font);
cursor: pointer; text-decoration: none; line-height: 1.4; white-space: nowrap;
border: 1px solid var(--border); background: var(--surface-2); color: var(--text);
transition: background var(--transition), border-color var(--transition);
}
button:hover, .btn:hover { background: var(--surface-3); border-color: var(--border-2); text-decoration: none; color: var(--text); }
.btn-primary { background: var(--accent); color: #0d1117; border-color: var(--accent); font-weight: 600; }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #0d1117; }
.btn-danger { background: transparent; color: var(--critical); border-color: rgba(248,81,73,.35); }
.btn-danger:hover { background: var(--critical-dim); border-color: var(--critical); color: var(--critical); }
.btn-sm { padding: 0.25rem 0.6rem; font-size: 0.8125rem; }
.btn-link { background: none; border: none; color: var(--accent); padding: 0; }
.btn-link:hover { background: none; text-decoration: underline; color: var(--accent-hover); }
.form-group { margin-bottom: 1rem; }
label { display: block; font-size: 0.8125rem; font-weight: 500; color: var(--text-muted); margin-bottom: 0.375rem; }
.hint { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.3rem; }
input[type="email"], input[type="text"], input[type="url"], input[type="number"],
input[type="password"], select, textarea {
width: 100%; padding: 0.4375rem 0.75rem; background: var(--bg);
border: 1px solid var(--border); border-radius: var(--radius); color: var(--text);
font-size: 0.9rem; font-family: var(--font); outline: none; line-height: 1.5;
transition: border-color var(--transition), box-shadow var(--transition);
}
textarea { font-family: var(--mono); font-size: 0.82rem; min-height: 5rem; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
input::placeholder { color: var(--text-muted); opacity: 0.45; }
.checkbox { display: flex; align-items: flex-start; gap: 0.6rem; }
.checkbox input { width: auto; margin-top: 0.3rem; }
.checkbox label { margin: 0; color: var(--text); font-weight: 400; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-actions { display: flex; gap: 0.6rem; align-items: center; margin-top: 1.25rem; flex-wrap: wrap; }
form:has(#urlSource0:checked) .mode-rotating,
form:has(#urlSource0:checked) .mode-manual,
form:has(#urlSource0:checked) .mode-sitemap,
form:has(#urlSource1:checked) .mode-sitemap,
form:has(#urlSource2:checked) .mode-manual,
form:has(#urlSource1:checked) .mode-addressed { display: none; }
.otp-input {
font-family: var(--mono); font-size: 1.5rem; letter-spacing: 0.35em;
text-align: center; padding: 0.6rem;
}
.alert { padding: 0.75rem 1rem; border-radius: var(--radius); font-size: 0.875rem; margin-bottom: 1.25rem; border: 1px solid; }
.alert-info    { background: var(--accent-dim);   border-color: rgba(88,166,255,.25); color: #a5c8ff; }
.alert-success { background: var(--good-dim);     border-color: rgba(63,185,80,.25);  color: #7ee787; }
.alert-danger  { background: var(--critical-dim); border-color: rgba(248,81,73,.25);  color: #ff9492; }
.alert-warning { background: var(--warning-dim);  border-color: rgba(210,153,34,.25); color: #e3b341; }
.badge {
display: inline-flex; align-items: center; gap: 0.35rem;
padding: 0.15rem 0.55rem; border-radius: 100px;
font-size: 0.75rem; font-weight: 500; white-space: nowrap;
}
.badge-icon { font-size: 0.8em; line-height: 1; }
.badge-up      { background: var(--good-dim);     border: 1px solid rgba(63,185,80,.25);  color: var(--good); }
.badge-down    { background: var(--critical-dim); border: 1px solid rgba(248,81,73,.25);  color: var(--critical); }
.badge-pending { background: var(--surface-2);    border: 1px solid var(--border);        color: var(--text-muted); }
.badge-paused  { background: var(--surface-2);    border: 1px solid var(--border);        color: var(--text-muted); }
.table-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.table-scroll { overflow-x: auto; }
.table { border-collapse: collapse; width: 100%; }
.table th {
text-align: left; font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
letter-spacing: 0.04em; color: var(--text-muted); padding: 0.625rem 1rem;
border-bottom: 1px solid var(--border); white-space: nowrap;
}
.table td { padding: 0.75rem 1rem; font-size: 0.875rem; border-bottom: 1px solid var(--border); }
.table tbody tr:last-child td { border-bottom: none; }
.table tbody tr:hover td { background: var(--surface-2); }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.monitor-url { display: flex; flex-direction: column; gap: 0.1rem; }
.monitor-url .host { font-weight: 500; color: var(--text); }
.monitor-url .path { font-size: 0.78rem; color: var(--text-muted); font-family: var(--mono); }
.monitor-url a { color: var(--text); }
.monitor-url a:hover .host { color: var(--accent); }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.stat {
background: var(--surface); border: 1px solid var(--border);
border-radius: var(--radius-lg); padding: 1rem 1.125rem;
}
.stat-label { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 0.3rem; }
.stat-value { font-size: 1.75rem; font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; }
.stat-sub { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.25rem; }
.stat-good { color: var(--good); }
.stat-bad  { color: var(--critical); }
.hero-figure { font-size: 3rem; font-weight: 600; line-height: 1; letter-spacing: -0.03em; }
.chart { display: block; width: 100%; height: auto; overflow: visible; }
.chart-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 0.6rem; flex-wrap: wrap; }
.chart-title { font-size: 0.8125rem; font-weight: 600; color: var(--text); }
.chart-note  { font-size: 0.75rem; color: var(--text-muted); }
.chart-axis  { font-size: 10px; fill: var(--plot-muted); font-family: var(--font); }
.strip rect { transition: opacity var(--transition); }
.strip:hover rect { opacity: 0.55; }
.strip rect:hover { opacity: 1; }
.strip-legend { display: flex; gap: 1rem; flex-wrap: wrap; font-size: 0.75rem; color: var(--text-muted); margin-top: 0.4rem; }
.strip-legend span { display: inline-flex; align-items: center; gap: 0.35rem; }
.strip-key { width: 8px; height: 10px; border-radius: 1px; display: inline-block; }
.legend { display: flex; gap: 1.1rem; flex-wrap: wrap; font-size: 0.78rem; color: var(--text-muted); margin-top: 0.5rem; }
.legend span { display: inline-flex; align-items: center; gap: 0.4rem; }
.legend i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; flex-shrink: 0; }
.phase-bar { margin-top: 0.25rem; }
.phase-bar-track { display: flex; gap: 2px; height: 14px; border-radius: 3px; overflow: hidden; }
.phase-bar-seg { height: 100%; min-width: 2px; }
.phase-bar-rows { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 0.6rem; }
.phase-bar-row { display: flex; align-items: baseline; gap: 0.4rem; font-size: 0.82rem; }
.phase-bar-row i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }
.phase-bar-row b { font-weight: 600; font-variant-numeric: tabular-nums; }
.phase-bar-row span { color: var(--text-muted); }
.table-view { margin-top: 0.75rem; }
.table-view > summary { font-size: 0.78rem; color: var(--text-muted); cursor: pointer; }
.table-view > summary:hover { color: var(--text); }
.table-view .table { margin-top: 0.6rem; }
.table-view .table th, .table-view .table td { padding: 0.35rem 0.6rem; font-size: 0.8rem; }
.empty { text-align: center; padding: 3rem 2rem; }
.empty p { margin-bottom: 1.25rem; }
.hero { text-align: center; padding: 5rem 1rem 4rem; max-width: 640px; margin: 0 auto; }
.hero-badge {
display: inline-flex; align-items: center; gap: 0.375rem;
background: var(--good-dim); border: 1px solid rgba(63,185,80,.2); color: var(--good);
font-size: 0.8125rem; font-weight: 500; padding: 0.3rem 0.75rem;
border-radius: 100px; margin-bottom: 1.75rem;
}
.hero-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--good); }
.hero h1 { font-size: clamp(2rem, 5vw, 2.75rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.15; margin-bottom: 1rem; }
.hero p { font-size: 1.0625rem; margin-bottom: 2rem; }
.hero-cta { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }
.hero-cta .btn { padding: 0.625rem 1.375rem; font-size: 0.9375rem; }
.hero-cta .btn-outline { background: transparent; border-color: var(--border-2); }
.feature-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; margin-top: 3.5rem; text-align: left; }
.auth-wrap { max-width: 400px; margin: 3rem auto; }
.auth-wrap h1 { font-size: 1.25rem; text-align: center; margin-bottom: 1.5rem; }
.auth-footer { text-align: center; margin-top: 1rem; font-size: 0.875rem; color: var(--text-muted); }
.manage-grid { display: grid; grid-template-columns: 185px 1fr; gap: 1.5rem; align-items: start; }
@media (max-width: 720px) { .manage-grid { grid-template-columns: 1fr; } }
.manage-sidebar { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 0.5rem; }
.manage-nav-item { display: block; padding: 0.5rem 0.75rem; border-radius: var(--radius); font-size: 0.875rem; color: var(--text-muted); text-decoration: none; }
.manage-nav-item:hover { background: var(--surface-2); color: var(--text); text-decoration: none; }
.manage-nav-item[aria-current="page"] { background: var(--surface-2); color: var(--text); }
.info-row { display: flex; align-items: baseline; gap: 0.75rem; padding: 0.625rem 0; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.info-row:last-child { border-bottom: none; }
.info-label { font-size: 0.8125rem; color: var(--text-muted); min-width: 130px; flex-shrink: 0; }
.info-value { font-size: 0.9rem; }
.secret {
font-family: var(--mono); font-size: 0.8125rem; background: var(--bg);
border: 1px solid var(--border); border-radius: var(--radius);
padding: 0.6rem 0.75rem; word-break: break-all;
}
.pager { display: flex; gap: 0.5rem; align-items: center; justify-content: center; margin-top: 1.25rem; font-size: 0.85rem; color: var(--text-muted); }
.text-muted { color: var(--text-muted); }
.text-good  { color: var(--good); }
.text-bad   { color: var(--critical); }
.text-center{ text-align: center; }
.mono-sm    { font-family: var(--mono); font-size: 0.8125rem; }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; }
.mb-0 { margin-bottom: 0 !important; } .mb-2 { margin-bottom: 1rem; }
.flex { display: flex; } .items-center { align-items: center; } .gap-1 { gap: .5rem; }
.wrap-anywhere { overflow-wrap: anywhere; }
.nowrap { white-space: nowrap; }
.sr-only {
position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.prose { max-width: 68ch; }
.prose h2 { font-size: 1.25rem; margin-top: 2.5rem; margin-bottom: 0.75rem; }
.prose h3 { font-size: 1rem; margin-top: 1.75rem; }
.prose > h2:first-child, .prose > h3:first-child { margin-top: 0; }
.prose p { margin-bottom: 1rem; line-height: 1.7; }
.prose ul, .prose ol { margin: 0 0 1rem 1.25rem; color: var(--text-muted); }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 0.4rem; line-height: 1.7; }
.prose li::marker { color: var(--text-muted); }
.prose strong { color: var(--text); font-weight: 600; }
.page-lead { font-size: 1.0625rem; line-height: 1.6; max-width: 62ch; margin-bottom: 2rem; }
.crumb { font-size: 0.8125rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.cta-band { text-align: center; padding: 2.5rem 1.5rem; margin-top: 3rem; }
.cta-band h2 { margin-bottom: 0.5rem; }
.cta-band p { margin: 0 auto 1.25rem; max-width: 48ch; }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; margin-bottom: 2.5rem; }
.plan { display: flex; flex-direction: column; }
.plan-featured { border-color: var(--accent); }
.plan-tag {
display: inline-block; align-self: flex-start; font-size: 0.7rem; font-weight: 600;
text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent);
background: var(--accent-dim); border-radius: 100px; padding: 0.15rem 0.6rem; margin-bottom: 0.6rem;
}
.plan-name { font-size: 1rem; font-weight: 600; margin-bottom: 0.25rem; }
.plan-price { font-size: 2.25rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.plan-period { font-size: 0.875rem; color: var(--text-muted); }
.plan-tagline { font-size: 0.85rem; color: var(--text-muted); margin: 0.6rem 0 1.25rem; flex: 1; }
.plan-table th.plan-col, .plan-table td.plan-col { text-align: center; }
.plan-table td:first-child { color: var(--text); }
.plan-table .row-help { display: block; font-size: 0.75rem; color: var(--text-muted); font-weight: 400; margin-top: 0.15rem; }
.link-list { display: grid; gap: 0.75rem; margin-bottom: 1rem; }
.link-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.125rem 1.25rem; }
.link-card h2, .link-card h3 { margin-bottom: 0.35rem; font-size: 0.9375rem; }
.link-card p { font-size: 0.85rem; margin: 0; }
.foot-cols {
display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
gap: 1.5rem; max-width: 1100px; margin: 0 auto 1.5rem; text-align: left;
}
.foot-cols h2 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text); margin-bottom: 0.5rem; }
.foot-cols ul { display: grid; gap: 0.3rem; }
.foot-cols a { font-size: 0.8125rem; }
.foot-base { border-top: 1px solid var(--border); padding-top: 1.25rem; max-width: 1100px; margin: 0 auto; }