/* WebAppStatus shared page reset */
:root {
  --font-sans:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  --font-mono:'JetBrains Mono','SFMono-Regular',Consolas,monospace;
  --type-xs:11px;
  --type-sm:12px;
  --type-md:13px;
  --type-base:14px;
  --type-lg:16px;
  --type-xl:20px;
  --type-2xl:24px;
  --leading-tight:1.25;
  --leading-normal:1.5;
  --leading-relaxed:1.65;
}

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

*{scrollbar-width:thin;scrollbar-color:#1f6feb #1c2128}
*::-webkit-scrollbar{width:10px;height:10px}
*::-webkit-scrollbar-track{background:#1c2128;border-radius:999px}
*::-webkit-scrollbar-thumb{background:#1f6feb;border:2px solid #1c2128;border-radius:999px}
*::-webkit-scrollbar-thumb:hover{background:#388bfd}

@media(max-width:800px){
  .public-incident-report{grid-template-columns:1fr;gap:24px;width:min(100% - 28px,620px);padding:30px 0 56px}
  .public-incident-intro{padding-top:0}
  .public-incident-intro h1{margin-bottom:24px;font-size:28px}
  .public-incident-reporter-grid{grid-template-columns:1fr}
}

body.page-dashboard, body.page-auth, body.page-landing, body.page-pricing, body.page-legal,
body.page-dashboard *, body.page-dashboard *::before, body.page-dashboard *::after,
body.page-auth *, body.page-auth *::before, body.page-auth *::after,
body.page-landing *, body.page-landing *::before, body.page-landing *::after,
body.page-pricing *, body.page-pricing *::before, body.page-pricing *::after,
body.page-legal *, body.page-legal *::before, body.page-legal *::after {
  box-sizing: border-box; margin: 0; padding: 0;
}

/* Dashboard shell and shared dashboard components */
body.page-dashboard {
  --bg:#0d1117; --surface:#161b22; --surface2:#1c2128; --border:#30363d;
  --text:#e6edf3; --muted:#8b949e; --accent:#1f6feb; --accent2:#388bfd;
  --green:#3fb950; --red:#f85149; --yellow:#d29922; --sidebar:240px;
  background:var(--bg); color:var(--text); font-family:'Inter',sans-serif;
  min-height:100vh; min-height:100dvh; display:flex;
}
body.page-dashboard { flex-direction:column; }
body.page-dashboard > .dash-shell { display:flex; flex:1 0 auto; width:100%; min-height:0; }
body.page-dashboard > .public-footer { flex:0 0 auto; width:100%; margin-top:auto; }
.page-dashboard-user .public-header { flex:0 0 auto; }
.page-dashboard-user .dash-shell { width:100%; margin:0; border:0; border-radius:0; }
.page-dashboard-admin .public-header { flex:0 0 auto; }
.page-dashboard.page-dashboard-user .topbar,.page-dashboard.page-dashboard-admin .topbar { padding-right:28px; }
.page-dashboard .sidebar { width:var(--sidebar); background:var(--surface); border-right:1px solid var(--border); display:flex; flex-direction:column; z-index:100; }
.page-dashboard .sidebar-mobile-header { display:none; }
.page-dashboard .sidebar-mobile-logo { display:inline-flex; align-items:center; min-width:0; }
.page-dashboard .sidebar-mobile-logo .site-logo { width:auto; height:32px; max-width:180px; }
.page-dashboard .sidebar-brand { padding:24px 24px 20px; border-bottom:1px solid var(--border); display:flex; align-items:center; gap:10px; }
.page-dashboard .sidebar-brand-link { display:inline-flex; align-items:center; color:inherit; text-decoration:none; }
.page-dashboard .brand-icon { width:34px; height:34px; border-radius:8px; overflow:hidden; display:block; flex-shrink:0; }
.page-dashboard .brand-name { font-size:16px; font-weight:700; }
.page-dashboard .sidebar-nav { padding:16px 12px; flex:1; overflow-y:auto; }
.page-dashboard .nav-label { font-size:10px; font-weight:600; color:var(--muted); text-transform:uppercase; letter-spacing:1px; padding:0 8px; margin:16px 0 6px; }
.page-dashboard .nav-link { display:flex; align-items:center; gap:10px; padding:9px 10px; border-radius:7px; color:var(--muted); font-size:14px; font-weight:500; text-decoration:none; transition:.15s; margin-bottom:2px; }
.page-dashboard .nav-link:hover { color:var(--text); background:rgba(255,255,255,.05); }
.page-dashboard .nav-link.active { color:var(--text); background:rgba(31,111,235,.15); }
.page-dashboard .nav-link .icon { width:18px; text-align:center; font-size:15px; }
.page-dashboard .sidebar-user { padding:16px; border-top:1px solid var(--border); display:flex; align-items:center; gap:10px; }
.page-dashboard .user-avatar { width:32px; height:32px; border-radius:50%; background:var(--accent); display:grid; place-items:center; font-size:13px; font-weight:700; overflow:hidden; flex-shrink:0; }
.page-dashboard .user-avatar img { width:100%; height:100%; object-fit:cover; }
.page-dashboard .user-info { flex:1; min-width:0; }
.page-dashboard .user-name, .page-dashboard .user-email { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.page-dashboard .user-name { font-size:13px; font-weight:600; }
.page-dashboard .user-email { font-size:11px; color:var(--muted); }
.page-dashboard .logout-btn { color:var(--muted); font-size:14px; text-decoration:none; }
.page-dashboard .logout-btn:hover { color:var(--red); }
.page-dashboard .main { position:relative; flex:1; min-width:0; display:flex; flex-direction:column; }
.page-dashboard .topbar { padding:16px 28px; border-bottom:1px solid var(--border); display:flex; align-items:center; justify-content:space-between; position:sticky; top:68px; background:var(--bg); z-index:50; }
.page-dashboard .topbar { padding-right:76px; min-height:64px; }
.page-dashboard .topbar > * { min-width:0; }
.page-dashboard .topbar > div { max-width:100%; }
.page-dashboard .topbar-actions { display:flex; align-items:center; justify-content:flex-end; gap:10px; }
.page-dashboard .topbar .btn { white-space:nowrap; }
.page-dashboard .topbar-user { position:fixed; top:12px; right:20px; z-index:120; }
.page-dashboard .topbar-user-btn { padding:0; border:2px solid var(--border); border-radius:50%; background:transparent; cursor:pointer; line-height:0; transition:border-color .15s; }
.page-dashboard .topbar-user-btn:hover { border-color:var(--accent); }
.page-dashboard .topbar-user-avatar { width:36px; height:36px; font-size:14px; }
.page-dashboard .topbar-user-menu { position:absolute; top:50px; right:0; min-width:238px; background:var(--surface); border:1px solid var(--border); border-radius:12px; box-shadow:0 12px 32px rgba(0,0,0,.45); overflow:hidden; padding:6px; }
.page-dashboard .topbar-user-menu[hidden] { display:none; }
.page-dashboard .topbar-user-head { padding:14px 16px 12px; margin-bottom:6px; border-bottom:1px solid var(--border); }
.page-dashboard .topbar-user-name { font-size:13px; font-weight:600; color:var(--text); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.page-dashboard .topbar-user-email { font-size:12px; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.page-dashboard .topbar-user-method { font-size:11px; color:var(--muted); margin-top:5px; }
.page-dashboard .topbar-user-role { display:inline-block; margin-left:6px; padding:1px 7px; border-radius:20px; background:var(--accent); color:#fff; font-size:10px; font-weight:700; letter-spacing:.3px; vertical-align:middle; }
.page-dashboard .sidebar-brand .site-logo { height:36px; width:auto; max-width:100%; display:block; }
.page-dashboard .topbar-user-item { display:flex; align-items:center; gap:10px; padding:12px 16px; border-radius:8px; font-size:13px; color:var(--text); text-decoration:none; }
.page-dashboard .topbar-user-item:hover { background:rgba(255,255,255,.05); }
.page-dashboard .page-title { font-size:18px; font-weight:700; }
.page-dashboard .content { width:100%; min-width:0; padding:28px; flex:1; overflow-wrap:anywhere; }
.page-dashboard .card { min-width:0; max-width:100%; background:var(--surface); border:1px solid var(--border); border-radius:10px; }
.page-dashboard .card-body { padding:20px 24px; }
.page-dashboard .card-header { padding:16px 24px; border-bottom:1px solid var(--border); display:flex; align-items:center; justify-content:space-between; }
.page-dashboard .card-header h2, .page-dashboard .card-header h3 { font-size:15px; font-weight:600; }
.page-dashboard .muted { color:var(--muted); font-size:13px; line-height:1.5; }
.page-dashboard .monitor-table .muted { margin-top:3px; font-size:11px; }
.page-dashboard .stats-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-bottom:24px; }
.page-dashboard .stats-grid-three { grid-template-columns:repeat(3,1fr); }
.page-dashboard .dashboard-grid-two { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:24px; align-items:start; }
.page-dashboard .dashboard-grid-two > * { min-width:0; max-width:100%; }
.page-dashboard .dashboard-grid-spaced { margin-bottom:24px; }
.page-dashboard-user .content { display:flex; flex-direction:column; gap:24px; }
.page-dashboard-user .content > * { margin-top:0!important; margin-bottom:0!important; }
.page-dashboard .admin-report-filter { margin-bottom:24px; }
.page-dashboard .admin-report-filter .card-body { display:flex; align-items:flex-end; gap:16px; }
.page-dashboard .admin-report-filter .form-group { flex:1 1 320px; min-width:0; margin:0; }
.page-dashboard .admin-report-filter-actions { display:flex; flex:0 0 auto; align-items:center; gap:10px; white-space:nowrap; }
.page-dashboard .admin-report-filter-actions .btn { white-space:nowrap; }
.page-dashboard .customer-report-status-filter{display:flex;align-items:flex-end;gap:12px;padding:14px 16px;border-bottom:1px solid var(--border);background:rgba(255,255,255,.015)}
.page-dashboard .customer-report-status-filter .form-group{flex:0 1 280px;margin:0}
.page-dashboard .customer-report-status-actions{display:flex;align-items:center;gap:8px}
.page-dashboard .report-tabs-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}
.page-dashboard .report-tabs-toolbar .report-tabs{margin-bottom:0}
.page-dashboard .report-tabs-toolbar>.btn{flex:0 0 auto}
.page-dashboard .report-snapshot { display:grid; grid-template-columns:minmax(180px,1.4fr) repeat(4,minmax(100px,1fr)); overflow:hidden; margin-bottom:24px; }
.page-dashboard .report-snapshot-heading,.page-dashboard .report-snapshot-metric { display:flex; min-width:0; min-height:76px; flex-direction:column; justify-content:center; padding:14px 20px; }
.page-dashboard .report-snapshot-heading { background:linear-gradient(135deg,rgba(31,111,235,.14),rgba(31,111,235,.03)); }
.page-dashboard .report-snapshot-heading strong { color:var(--text); font-size:15px; }
.page-dashboard .report-snapshot-heading span { margin-top:4px; color:var(--muted); font-size:11px; }
.page-dashboard .report-snapshot-metric { align-items:center; border-left:1px solid var(--border); text-align:center; }
.page-dashboard .report-snapshot-metric span { color:var(--muted); font-size:10px; font-weight:700; letter-spacing:.6px; text-transform:uppercase; }
.page-dashboard .report-snapshot-metric strong { margin-top:6px; color:var(--text); font-size:24px; line-height:1; }
.page-dashboard .report-snapshot-metric.is-up strong { color:var(--green); }
.page-dashboard .report-snapshot-metric.is-down strong { color:var(--red); }
.page-dashboard .report-snapshot-metric.is-paused strong { color:var(--yellow); }
.page-dashboard .stat-card { padding:20px 24px; }
.page-dashboard .stat-card-total { display:flex; flex-direction:column; position:relative; }
.page-dashboard .stat-card-total .stat-sub { margin-bottom:0; }
.page-dashboard .stat-add-btn { position:absolute; top:14px; right:16px; } 
.page-dashboard .stat-card-total { position:relative; }
.page-dashboard .stat-label { font-size:12px; color:var(--muted); font-weight:500; text-transform:uppercase; letter-spacing:.5px; margin-bottom:8px; }
.page-dashboard .stat-value { font-size:32px; font-weight:700; letter-spacing:-1px; }
.page-dashboard .monitor-summary{margin-bottom:24px;overflow:hidden}
.page-dashboard .stat-card-total .stat-label { padding-right:90px; }
.page-dashboard .monitor-summary-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:24px;border-bottom:1px solid var(--border)}
.page-dashboard .monitor-health{display:flex;align-items:flex-start;gap:14px;min-width:0}
.page-dashboard .monitor-health-dot{width:14px;height:14px;margin-top:7px;border-radius:50%;background:var(--muted);box-shadow:0 0 0 5px rgba(139,148,158,.12);flex:0 0 auto}
.page-dashboard .monitor-summary-up .monitor-health-dot{background:var(--green);box-shadow:0 0 0 5px rgba(63,185,80,.12)}
.page-dashboard .monitor-summary-down .monitor-health-dot{background:var(--red);box-shadow:0 0 0 5px rgba(248,81,73,.12)}
.page-dashboard .monitor-summary-verifying .monitor-health-dot{background:var(--yellow);box-shadow:0 0 0 5px rgba(210,153,34,.12)}
.page-dashboard .monitor-summary-kicker{margin-bottom:5px;color:var(--muted);font-size:11px;font-weight:600;letter-spacing:.6px;text-transform:uppercase}
.page-dashboard .monitor-summary h2{margin:0 0 6px;font-size:24px;line-height:1.2}
.page-dashboard .monitor-summary p{max-width:720px;margin:0;color:var(--muted);font-size:13px;overflow-wrap:anywhere}
.page-dashboard .monitor-current-result{text-align:right;flex:0 0 auto}
.page-dashboard .monitor-current-result strong{display:block;color:var(--text);font-size:28px;line-height:1.1}
.page-dashboard .monitor-current-result strong small,.page-dashboard .monitor-performance strong small{font-size:14px;font-weight:500}
.page-dashboard .monitor-current-result>span{display:block;margin-top:6px;color:var(--muted);font-size:12px}
.page-dashboard .monitor-summary-meta{display:flex;gap:8px;flex-wrap:wrap;padding:14px 24px;border-bottom:1px solid var(--border)}
.page-dashboard .monitor-summary-meta span{padding:5px 9px;border:1px solid var(--border);border-radius:999px;background:var(--bg);color:var(--muted);font-size:11px}
.page-dashboard .monitor-availability-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0}
.page-dashboard .monitor-availability{padding:20px 22px;border-right:1px solid var(--border)}
.page-dashboard .monitor-availability:last-child{border-right:0}
.page-dashboard .monitor-availability-label{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px;color:var(--muted);font-size:12px}
.page-dashboard .monitor-availability-label strong{font-size:14px}
.page-dashboard .monitor-availability .good{color:var(--green)}
.page-dashboard .monitor-availability .warn{color:var(--yellow)}
.page-dashboard .monitor-availability .bad{color:var(--red)}
.page-dashboard .monitor-availability-track{height:7px;margin-bottom:9px;overflow:hidden;border-radius:999px;background:rgba(255,255,255,.07)}
.page-dashboard .monitor-availability-track span{display:block;height:100%;border-radius:inherit;background:currentColor}
.page-dashboard .monitor-availability small{color:var(--muted);font-size:11px}
.page-dashboard .monitor-performance strong{display:block;margin:10px 0 8px;color:var(--accent);font-size:25px}
.page-dashboard .incident-stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:14px}
.page-dashboard .incident-stat{padding:18px 20px}
.page-dashboard .incident-stat span,.page-dashboard .incident-stat small{display:block;color:var(--muted);font-size:12px}
.page-dashboard .incident-stat strong{display:block;margin:9px 0 6px;color:var(--text);font-size:27px;line-height:1}
.page-dashboard .incident-stat strong.is-danger{color:var(--red)}
.page-dashboard .incident-stat strong.is-good{color:var(--green)}
.page-dashboard .incident-chart-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(300px,.7fr);align-items:start;gap:14px;margin-bottom:22px}
.page-dashboard .incident-chart-card{min-width:0;overflow:hidden}
.page-dashboard .incident-chart-card .card-header p{margin:4px 0 0;color:var(--muted);font-size:12px}
.page-dashboard .incident-peak-summary{flex:0 1 340px;padding:9px 11px;border:1px solid rgba(56,139,253,.35);border-radius:7px;background:rgba(31,111,235,.08);color:var(--muted);font-size:11px;line-height:1.5}
.page-dashboard .incident-peak-summary strong{color:var(--text);font-size:11px}
.page-dashboard .incident-chart-key{display:inline-flex;flex:0 0 auto;align-items:center;gap:6px;color:var(--muted);font-size:10px;white-space:nowrap}
.page-dashboard .incident-chart-key i{display:inline-block;width:9px;height:9px;border-radius:2px;background:var(--red)}
.page-dashboard .incident-daily-chart{display:flex;align-items:flex-end;height:235px;padding:28px 20px 16px;gap:4px;border-top:1px solid var(--border)}
.page-dashboard .incident-daily-column{display:flex;align-items:center;flex:1;min-width:3px;height:100%;flex-direction:column;justify-content:flex-end;position:relative;color:inherit;text-decoration:none;cursor:pointer}
.page-dashboard .incident-daily-column:hover .incident-daily-bar,.page-dashboard .incident-daily-column:focus-visible .incident-daily-bar{filter:brightness(1.2);box-shadow:0 0 0 2px rgba(248,81,73,.2)}
.page-dashboard .incident-daily-column:focus-visible{outline:2px solid var(--accent2);outline-offset:2px;border-radius:4px}
.page-dashboard .incident-daily-column.is-selected .incident-daily-bar{background:#a61f2b;box-shadow:0 0 0 2px rgba(166,31,43,.3)}
.page-dashboard .incident-daily-value{height:18px;color:var(--muted);font-size:9px}
.page-dashboard .incident-daily-bar{display:block;width:100%;min-height:2px;border-radius:3px 3px 0 0;background:rgba(148,163,184,.22)}
.page-dashboard .incident-daily-bar.has-incidents{background:var(--red)}
.page-dashboard .incident-daily-column small{position:absolute;top:calc(100% + 5px);left:50%;width:42px;transform:translateX(-50%);color:var(--muted);font-size:9px;text-align:center;white-space:nowrap}
.page-dashboard .incident-day-details{padding:0 20px 20px;border-top:1px solid var(--border)}
.page-dashboard .incident-day-details>section{padding-top:16px}
.page-dashboard .incident-day-details-header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px}
.page-dashboard .incident-day-details-header span{display:block;margin-bottom:2px;color:var(--muted);font-size:9px;text-transform:uppercase;letter-spacing:.4px}
.page-dashboard .incident-day-details-header strong{font-size:13px}
.page-dashboard .incident-day-details-header a{color:var(--accent2);font-size:11px;font-weight:600;text-decoration:none;white-space:nowrap}
.page-dashboard .incident-day-preview-list{display:grid;gap:7px}
.page-dashboard .incident-day-preview{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 11px;border:1px solid var(--border);border-radius:7px;background:rgba(255,255,255,.018)}
.page-dashboard .incident-day-preview>div:first-child{min-width:0}
.page-dashboard .incident-day-preview a,.page-dashboard .incident-day-preview strong{display:block;overflow:hidden;color:var(--text);font-size:12px;font-weight:600;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}
.page-dashboard .incident-day-preview a:hover{color:var(--accent2)}
.page-dashboard .incident-day-preview small{display:block;margin-top:2px;overflow:hidden;color:var(--muted);font-size:10px;text-overflow:ellipsis;white-space:nowrap}
.page-dashboard .incident-day-preview-meta{display:flex;flex:0 0 auto;align-items:center;gap:9px;color:var(--muted);font-size:10px}
.page-dashboard .incident-day-more,.page-dashboard .incident-day-empty{margin:10px 0 0;color:var(--muted);font-size:11px}
.page-dashboard .incident-affected-list{display:grid;gap:18px;padding:20px;border-top:1px solid var(--border)}
.page-dashboard .incident-affected-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px}
.page-dashboard .incident-affected-heading a{min-width:0;color:var(--text);font-weight:600;text-decoration:none;overflow-wrap:anywhere;word-break:break-word}
.page-dashboard .incident-affected-heading a:hover{color:var(--accent)}
.page-dashboard .incident-affected-heading strong{white-space:nowrap}
.page-dashboard .incident-affected-duration{text-align:right}
.page-dashboard .incident-affected-duration span{display:block;margin-bottom:2px;color:var(--muted);font-size:9px;text-transform:uppercase;letter-spacing:.35px;white-space:nowrap}
.page-dashboard .incident-affected-item small,.page-dashboard .incident-owner-email{display:block;margin-top:3px;color:var(--muted);font-size:11px}
.page-dashboard .incident-affected-track{height:6px;margin-top:8px;overflow:hidden;border-radius:999px;background:rgba(148,163,184,.15)}
.page-dashboard .incident-affected-track span{display:block;height:100%;border-radius:inherit;background:var(--red)}
.page-dashboard .incident-affected-note{margin:0;padding:12px 20px;border-top:1px solid var(--border);color:var(--muted);font-size:10px;line-height:1.5}
.page-dashboard .incident-chart-empty{padding:34px 20px;color:var(--muted);font-size:13px;text-align:center}
.page-dashboard .incident-filter-tabs{display:flex;gap:6px;margin-bottom:14px;scroll-margin-top:20px}
.page-dashboard .incident-filter-tabs,.page-dashboard .admin-tabs{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:none}
.page-dashboard .incident-filter-tabs::-webkit-scrollbar,.page-dashboard .admin-tabs::-webkit-scrollbar{display:none}
.page-dashboard .incident-filter-tabs-combined{align-items:center;flex-wrap:nowrap}
.page-dashboard .incident-filter-divider{align-self:stretch;flex:0 0 1px;width:1px;margin:0 4px;background:var(--border)}
.page-dashboard .incident-filter-tabs a{padding:8px 13px;border:1px solid var(--border);border-radius:7px;color:var(--muted);font-size:12px;font-weight:600;text-decoration:none}
.page-dashboard .incident-filter-tabs a:hover,.page-dashboard .incident-filter-tabs a.active{border-color:var(--accent);background:rgba(59,130,246,.1);color:var(--accent)}
.page-dashboard .incident-date-filter{margin-bottom:18px}
.page-dashboard .incident-date-filter .card-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:14px}
.page-dashboard .incident-date-filter .form-group{margin:0}
.page-dashboard .incident-date-filter input[type=date]{min-width:0}
.page-dashboard .incident-date-filter-actions{display:flex;grid-column:1/-1;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.page-dashboard .incident-date-filter-actions .btn{justify-content:center;white-space:nowrap}
@media(max-width:760px){
  .page-dashboard .incident-date-filter .card-body{grid-template-columns:1fr}
}
.page-dashboard .incident-cause{margin-top:4px;color:var(--red);font-size:11px;white-space:normal;overflow-wrap:anywhere;word-break:break-word}
.page-dashboard .incident-group-badge{display:inline-flex;margin-top:6px;padding:3px 7px;border:1px solid rgba(56,139,253,.35);border-radius:999px;background:rgba(56,139,253,.1);color:var(--accent2);font-size:10px;font-weight:700}
.page-dashboard .incident-manual-badge{display:inline-flex;margin-top:6px;padding:3px 7px;border:1px solid rgba(210,153,34,.35);border-radius:999px;background:rgba(210,153,34,.1);color:var(--yellow);font-size:10px;font-weight:700}
.page-dashboard .incident-monitor-badge{display:inline-flex;margin-top:6px;padding:3px 7px;border:1px solid rgba(56,139,253,.35);border-radius:999px;background:rgba(56,139,253,.1);color:var(--accent2);font-size:10px;font-weight:700}
.page-dashboard .topbar-actions,.page-dashboard .manual-incident-form-actions{display:flex;align-items:center;gap:8px}
.page-dashboard .manual-incident-form-actions{justify-content:flex-end;margin-top:20px}
.page-dashboard .incident-page-guide{margin-bottom:24px}
.page-dashboard .incident-share-card{margin-bottom:18px}
.page-dashboard .incident-share-card .card-body{padding:16px 18px}
.page-dashboard .incident-share-url{display:flex;align-items:center;gap:10px;margin-top:12px}
.page-dashboard .incident-share-url input{min-width:0;flex:1;font-family:"JetBrains Mono",monospace;font-size:12px}
.page-dashboard .incident-filter-menu{position:relative}
.page-dashboard .incident-filter-menu>summary{cursor:pointer;list-style:none}
.page-dashboard .incident-filter-menu>summary::-webkit-details-marker{display:none}
.page-dashboard .incident-filter-menu[open]>summary{border-color:var(--accent);color:var(--accent)}
.page-dashboard .csv-export-menu,.page-dashboard .admin-report-export-menu{position:relative}
.page-dashboard .csv-export-menu>summary,.page-dashboard .admin-report-export-menu>summary{cursor:pointer;list-style:none}
.page-dashboard .csv-export-menu>summary::-webkit-details-marker,.page-dashboard .admin-report-export-menu>summary::-webkit-details-marker{display:none}
.page-dashboard .csv-export-menu[open]>summary,.page-dashboard .admin-report-export-menu[open]>summary{border-color:var(--accent);color:var(--accent)}
.page-dashboard .csv-export-options,.page-dashboard .admin-report-export-options{display:none;position:absolute;top:calc(100% + 8px);right:0;z-index:80;min-width:180px;gap:6px;padding:8px;border:1px solid var(--border);border-radius:9px;background:var(--surface);box-shadow:0 16px 36px rgba(0,0,0,.42)}
.page-dashboard .csv-export-menu[open]>.csv-export-options,.page-dashboard .admin-report-export-menu[open]>.admin-report-export-options{display:grid}
.page-dashboard .csv-export-options .btn,.page-dashboard .admin-report-export-options .btn{justify-content:flex-start;width:100%;white-space:nowrap}
.page-dashboard .incident-filter-panel{position:absolute;right:0;top:calc(100% + 8px);z-index:50;width:min(380px,calc(100vw - 32px));max-height:calc(100vh - 100px);overflow-y:auto;overscroll-behavior:contain;border:1px solid var(--border);border-radius:10px;background:var(--surface);box-shadow:0 18px 42px rgba(0,0,0,.4);scrollbar-width:thin}
.page-dashboard .incident-filter-panel-header{display:flex;position:sticky;top:0;z-index:1;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid var(--border);background:var(--surface)}
.page-dashboard .incident-filter-panel-header strong{font-size:14px}
.page-dashboard .incident-filter-panel-header a{color:var(--accent2);font-size:12px;text-decoration:none}
.page-dashboard .incident-filter-panel-body{display:grid;gap:14px;padding:16px}
.page-dashboard .incident-filter-panel .form-group{margin:0}
.page-dashboard .incident-filter-panel .form-hint{line-height:1.4}
.page-dashboard .incident-filter-date-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.page-dashboard .incident-filter-panel-actions{position:sticky;bottom:0;padding:12px 16px;border-top:1px solid var(--border);background:var(--surface)}
.page-dashboard .incident-filter-panel-actions .btn{justify-content:center;width:100%}
.page-dashboard .admin-pagination{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:18px}
.page-dashboard .response-time-na{display:grid;gap:3px;min-width:130px;max-width:210px;color:var(--muted);font-weight:400;white-space:normal}
.page-dashboard .response-time-na span{font-size:12px;font-weight:600}
.page-dashboard .response-time-na small{font-size:10px;line-height:1.4;overflow-wrap:anywhere}
.page-dashboard .full-message{max-width:none!important;overflow:visible!important;text-overflow:clip!important;white-space:normal!important;overflow-wrap:anywhere;word-break:break-word}
.page-dashboard .stat-sub { font-size:12px; color:var(--muted); margin-top:4px; }
.page-dashboard .color-green { color:var(--green); } .page-dashboard .color-red { color:var(--red); }
.page-dashboard .color-blue { color:var(--accent2); } .page-dashboard .color-yellow { color:var(--yellow); }
.page-dashboard .badge { display:inline-flex; align-items:center; gap:6px; flex:0 0 auto; min-width:max-content; padding:3px 10px; border-radius:20px; font-size:11px; font-weight:700; letter-spacing:.5px; white-space:nowrap; overflow-wrap:normal; word-break:normal; }
.page-dashboard .badge::before { content:''; flex:0 0 auto; width:6px; height:6px; border-radius:50%; background:currentColor; }
.page-dashboard .badge-up { background:rgba(63,185,80,.12); color:var(--green); }
.page-dashboard .badge-down { background:rgba(248,81,73,.12); color:var(--red); }
.page-dashboard .badge-paused { background:rgba(210,153,34,.12); color:var(--yellow); }
.page-dashboard .badge-unknown { background:rgba(139,148,158,.12); color:var(--muted); }
.page-dashboard .badge-info { background:rgba(31,111,235,.14); color:var(--accent2); }
.page-dashboard a.badge-info{text-decoration:none;cursor:pointer}
.page-dashboard a.badge-info:hover{background:rgba(31,111,235,.24)}
.page-dashboard .badge-manual { background:rgba(56,139,253,.14); color:var(--accent2); border:1px solid rgba(56,139,253,.28); }
.page-dashboard .monitor-table { width:100%; border-collapse:collapse; }
.page-dashboard .table-card,.page-dashboard .table-scroll { max-width:100%; overflow-x:auto; overflow-y:hidden; overscroll-behavior-inline:contain; -webkit-overflow-scrolling:touch; scrollbar-gutter:stable; scrollbar-width:thin; scrollbar-color:var(--accent) var(--surface2); }
.page-dashboard .table-card::-webkit-scrollbar,.page-dashboard .table-scroll::-webkit-scrollbar { display:block; width:10px; height:10px; }
.page-dashboard .table-card::-webkit-scrollbar-track,.page-dashboard .table-scroll::-webkit-scrollbar-track { background:var(--surface2); border-radius:999px; }
.page-dashboard .table-card::-webkit-scrollbar-thumb,.page-dashboard .table-scroll::-webkit-scrollbar-thumb { background:var(--accent); border:2px solid var(--surface2); border-radius:999px; }
.page-dashboard .table-card::-webkit-scrollbar-thumb:hover,.page-dashboard .table-scroll::-webkit-scrollbar-thumb:hover { background:var(--accent2); }
.page-dashboard .table-card .monitor-table { min-width:680px; }
.page-dashboard .table-card .incident-table { min-width:960px; }
.page-dashboard .monitor-table th { padding:10px 16px; text-align:left; font-size:11px; font-weight:600; color:var(--muted); text-transform:uppercase; letter-spacing:.5px; border-bottom:1px solid var(--border); white-space:nowrap; overflow-wrap:normal; word-break:normal; }
.page-dashboard .monitor-row-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.page-dashboard .table-actions,.page-dashboard .monitor-detail-actions,.page-dashboard .monitor-detail-actions form{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.page-dashboard .admin-monitor-row-actions{flex-wrap:nowrap}
.page-dashboard .monitor-detail-actions form{margin:0}
.page-dashboard .monitor-table td { padding:14px 16px; border-bottom:1px solid rgba(48,54,61,.6); font-size:14px; vertical-align:middle; }
.page-dashboard .monitor-table tr:last-child td { border-bottom:0; }
.page-dashboard .monitor-table td.nowrap-cell { white-space:nowrap; }
.page-dashboard .monitor-table tr:hover td { background:rgba(255,255,255,.02); }
.page-dashboard .admin-billing-section+.admin-billing-section{margin-top:30px}
.page-dashboard .admin-billing-section-heading{margin-bottom:12px;overflow:hidden}
.page-dashboard .admin-billing-section-heading .card-header{padding-block:16px}
.page-dashboard .admin-billing-section-heading .muted{margin-top:4px}
.page-dashboard .admin-list-toolbar{margin-bottom:12px;overflow:hidden}
.page-dashboard .admin-list-toolbar .card-body{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:14px 16px}
.page-dashboard .admin-list-toolbar input[type=search]{width:min(100%,320px)}
.page-dashboard .admin-list-toolbar .muted{margin-left:auto;white-space:nowrap}
.page-dashboard .admin-monitor-toolbar .card-body{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(220px,.65fr);align-items:end;gap:14px 18px;padding:18px}
.page-dashboard .admin-monitor-filter-field{min-width:0}
.page-dashboard .admin-monitor-filter-field label{margin-bottom:7px;color:var(--muted);font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.4px}
.page-dashboard .admin-monitor-toolbar input[type=search]{width:100%}
.page-dashboard .admin-monitor-toolbar-footer{display:flex;grid-column:1/-1;align-items:center;justify-content:space-between;gap:12px;padding-top:14px;border-top:1px solid var(--border)}
.page-dashboard .admin-monitor-result-count{display:inline-flex;align-items:center;min-height:28px;padding:4px 9px;border:1px solid var(--border);border-radius:999px;background:var(--bg);color:var(--muted);font-size:11px;font-weight:600;white-space:nowrap}
.page-dashboard .admin-subscription-filters .card-body{display:grid;grid-template-columns:minmax(240px,320px) minmax(300px,1fr) auto minmax(max-content,1fr);gap:10px}
.page-dashboard .admin-subscription-filters input[type=search]{width:100%}
.page-dashboard .admin-subscription-filter-dates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0}
.page-dashboard .admin-subscription-filter-actions{display:flex;align-items:center;gap:10px;white-space:nowrap}
.page-dashboard .admin-subscription-filter-actions .btn{flex:0 0 auto}
.page-dashboard .admin-subscription-filters .muted{justify-self:end;margin-left:0}
.page-dashboard .admin-table-scroll-proxy{width:100%;height:14px;margin:0 0 8px;overflow-x:scroll;overflow-y:hidden;border:1px solid var(--border);border-radius:7px;background:var(--surface2);scrollbar-width:thin;scrollbar-color:var(--accent) var(--surface2)}
.page-dashboard .admin-table-scroll-proxy[hidden]{display:none}
.page-dashboard .admin-table-scroll-proxy>div{height:1px}
.page-dashboard .admin-table-scroll-proxy::-webkit-scrollbar{display:block;height:12px}
.page-dashboard .admin-table-scroll-proxy::-webkit-scrollbar-track{background:var(--surface2);border-radius:999px}
.page-dashboard .admin-table-scroll-proxy::-webkit-scrollbar-thumb{background:var(--accent);border:2px solid var(--surface2);border-radius:999px}
.page-dashboard .admin-plan-history-filters .card-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:18px}
.page-dashboard .admin-plan-filter-field{min-width:0}
.page-dashboard .admin-plan-filter-field label{margin-bottom:7px;color:var(--muted);font-size:12px;font-weight:700}
.page-dashboard .admin-plan-filter-actions{display:flex;grid-column:1/-1;align-items:center;gap:9px;padding-top:2px}
.page-dashboard .admin-plan-history-table{min-width:1120px;table-layout:auto}
.page-dashboard .admin-plan-history-table th{font-size:11px;line-height:1.35}
.page-dashboard .admin-plan-history-table td{font-size:13px;line-height:1.5}
.page-dashboard .admin-plan-history-table td strong{font-size:13px;font-weight:600}
.page-dashboard .admin-plan-history-table td:nth-child(1){width:145px;min-width:145px}
.page-dashboard .admin-plan-history-table td:nth-child(2){width:160px;min-width:160px}
.page-dashboard .admin-plan-history-table td:nth-child(3),.page-dashboard .admin-plan-history-table td:nth-child(4){width:105px;min-width:105px}
.page-dashboard .admin-plan-history-table td:nth-child(5),.page-dashboard .admin-plan-history-table td:nth-child(6){width:205px;min-width:205px}
.page-dashboard .admin-plan-history-table td:nth-child(7){width:165px;min-width:165px}
.page-dashboard .admin-plan-history-table .muted{font-size:11px;line-height:1.45}
.page-dashboard .admin-billing-table-wrap{scrollbar-gutter:stable both-edges}
.page-dashboard .admin-billing-table{width:100%!important;table-layout:auto}
.page-dashboard .admin-orders-table{min-width:1220px!important}
.page-dashboard .admin-order-payments-table{min-width:1180px!important}
.page-dashboard .admin-subscriptions-table{min-width:1100px!important}
.page-dashboard .admin-billing-table th,.page-dashboard .admin-billing-table td{white-space:nowrap;overflow-wrap:normal;word-break:normal}
.page-dashboard .admin-billing-customer{min-width:230px}
.page-dashboard .admin-billing-customer strong,.page-dashboard .admin-billing-customer .muted{display:block;white-space:nowrap}
.page-dashboard .admin-billing-id{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px!important}
.page-dashboard .admin-billing-table .order-history td{white-space:normal}
.page-dashboard .monitor-name-cell .name { font-weight:600; color:var(--text); }
.page-dashboard .monitor-name-cell .url { font-size:12px; color:var(--muted); margin-top:2px; white-space:normal; overflow-wrap:anywhere; word-break:break-word; }
.page-dashboard .uptime-bar { width:120px; height:6px; background:rgba(255,255,255,.08); border-radius:3px; overflow:hidden; }
.page-dashboard .uptime-fill { display:block; height:100%; border-radius:3px; background:var(--green); transition:width .5s; }
.page-dashboard .uptime-fill.warn { background:var(--yellow); } .page-dashboard .uptime-fill.crit { background:var(--red); }
.page-dashboard .uptime-value { flex-shrink:0; font-size:13px; font-weight:600; white-space:nowrap; }
.page-dashboard .rt-value { font-size:13px; font-family:monospace; }
.page-dashboard .btn { display:inline-flex; flex-shrink:0; align-items:center; gap:6px; padding:8px 16px; border-radius:7px; font-size:13px; font-weight:600; white-space:nowrap; cursor:pointer; border:1px solid transparent; text-decoration:none; transition:.15s; appearance:none; -webkit-appearance:none; background-color:transparent; font-family:inherit; }
.page-dashboard .btn:disabled { opacity:.45; cursor:not-allowed; }
.page-dashboard .btn-primary { background:var(--accent); color:#fff; } .page-dashboard .btn-primary:hover { background:var(--accent2); }
.page-dashboard .btn-ghost { background:transparent; color:var(--muted); border-color:var(--border); } .page-dashboard .btn-ghost:hover { color:var(--text); border-color:var(--muted); }
.page-dashboard .btn-danger { background:rgba(248,81,73,.1); color:var(--red); border-color:rgba(248,81,73,.3); }
.page-dashboard .btn-sm { padding:5px 12px; font-size:12px; }
.page-dashboard .maintenance-field { display:grid; grid-template-columns:minmax(160px,240px) 1fr; gap:24px; margin:8px 0 20px; padding:18px 0; border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.page-dashboard .monitor-form .maintenance-field { grid-template-columns:1fr; gap:12px; }
.page-dashboard .maintenance-intro { min-width:0; }
.page-dashboard .maintenance-intro strong { display:block; margin-bottom:6px; color:var(--text); font-size:14px; }
.page-dashboard .maintenance-intro p { margin:0; color:var(--muted); font-size:13px; line-height:1.6; }
.page-dashboard .maintenance-panel { padding:16px; border:1px solid var(--border); border-radius:10px; background:rgba(255,255,255,.02); }
.page-dashboard .maintenance-label { display:block; margin-bottom:8px; color:var(--muted); font-size:13px; }
.page-dashboard .maintenance-times { display:grid; grid-template-columns:minmax(120px,1fr) auto minmax(120px,1fr); align-items:end; gap:10px; }
.page-dashboard .maintenance-times label { min-width:0; margin:0; }
.page-dashboard .maintenance-times label > span:first-child { display:block; margin-bottom:6px; color:var(--muted); font-size:11px; font-weight:600; }
.page-dashboard .maintenance-times > span { color:var(--muted); font-size:12px; font-weight:600; text-align:center; }
.page-dashboard .maintenance-times input, .page-dashboard .maintenance-times select { width:100%; min-width:0; margin:0; }
.page-dashboard .maintenance-hint { margin-top:10px; color:var(--muted); font-size:12px; line-height:1.6; }
.page-dashboard .maintenance-days-label { margin-top:14px; }
.page-dashboard .maintenance-days-label span { margin-left:4px; font-size:11px; font-weight:400; }
.page-dashboard .maintenance-days { display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; }
.page-dashboard .maintenance-day { position:relative; margin:0; cursor:pointer; }
.page-dashboard .maintenance-day input { position:absolute; opacity:0; pointer-events:none; }
.page-dashboard .maintenance-day span { display:inline-flex; align-items:center; justify-content:center; min-width:56px; padding:8px 12px; border:1px solid var(--border); border-radius:7px; color:var(--muted); font-size:13px; font-weight:600; transition:.15s; }
.page-dashboard .maintenance-day input:checked + span { border-color:var(--accent); background:rgba(88,166,255,.14); color:var(--text); }
.page-dashboard .maintenance-day input:focus-visible + span { outline:2px solid var(--accent); outline-offset:2px; }
.page-dashboard .admin-monitor-form-grid .maintenance-field { grid-column:1 / -1; }
@media (max-width:760px) {
  .page-dashboard .maintenance-field { grid-template-columns:1fr; gap:12px; }
}
@media (max-width:420px) {
  .page-dashboard .maintenance-times { grid-template-columns:1fr; align-items:stretch; }
  .page-dashboard .maintenance-times > span { text-align:left; }
}
.page-dashboard .admin-tab.active { background:var(--accent); color:#fff; border-color:var(--accent); }
.page-dashboard .form-group { margin-bottom:20px; }
.page-dashboard label { display:block; font-size:13px; font-weight:600; color:var(--muted); margin-bottom:6px; }
.page-dashboard input:not([type]), .page-dashboard input[type=text], .page-dashboard input[type=url], .page-dashboard input[type=email], .page-dashboard input[type=number], .page-dashboard input[type=password], .page-dashboard input[type=search], .page-dashboard input[type=date], .page-dashboard input[type=datetime-local], .page-dashboard input[type=time], .page-dashboard select, .page-dashboard textarea { width:100%; min-width:0; min-height:42px; background:var(--bg); border:1px solid var(--border); border-radius:7px; color:var(--text); font-size:14px; font-family:inherit; padding:10px 14px; transition:border-color .15s; color-scheme:dark; }
.page-dashboard input:focus, .page-dashboard select:focus, .page-dashboard textarea:focus { outline:0; border-color:var(--accent2); box-shadow:0 0 0 3px rgba(56,139,253,.1); }
.page-dashboard input,.page-dashboard select,.page-dashboard textarea,.page-auth input,.page-auth select,.page-auth textarea{scroll-margin-top:160px;scroll-margin-bottom:32px}
.page-dashboard input.is-invalid,.page-dashboard select.is-invalid,.page-dashboard textarea.is-invalid,.page-auth input.is-invalid,.page-auth select.is-invalid,.page-auth textarea.is-invalid{border-color:var(--red)!important;box-shadow:0 0 0 2px rgba(248,81,73,.14)!important}
.field-validation-message{margin-top:6px;color:#f85149!important;font-size:12px;font-weight:500;line-height:1.4}
.page-dashboard input[type=time]::-webkit-calendar-picker-indicator { cursor:pointer; opacity:.8; }
.page-dashboard .report-schedule-options { display:grid; gap:16px; border:0; min-width:0; }
.page-dashboard .report-schedule-option { min-width:0; padding:18px; border:1px solid var(--border); border-radius:10px; background:rgba(255,255,255,.02); }
.page-dashboard .report-schedule-option .toggle-row { padding:0 0 16px; margin-bottom:16px; border-top:0; border-bottom:1px solid var(--border); }
.page-dashboard .report-schedule-option .toggle-title { font-size:15px; line-height:1.4; }
.page-dashboard .report-schedule-option .toggle-sub { margin-top:5px; font-size:13px; line-height:1.55; }
.page-dashboard .report-schedule-option label { font-size:14px; line-height:1.4; }
.page-dashboard .report-schedule-option .form-group { margin-bottom:0; }
.page-dashboard .report-schedule-grid { display:grid; grid-template-columns:minmax(140px,.8fr) minmax(220px,1.2fr); gap:14px; }
.page-dashboard .report-time-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; width:100%; }
.page-dashboard .report-time-grid select { text-align:center; font-size:15px; font-weight:500; font-variant-numeric:tabular-nums; }
.page-dashboard .compact-select{position:relative;display:block;min-width:0}
.page-dashboard .timezone-select{position:relative;min-width:0}
.page-dashboard .timezone-select-native{display:none}
.page-dashboard .timezone-select-toggle{position:relative;width:100%;min-height:42px;padding:10px 42px 10px 14px;border:1px solid var(--border);border-radius:7px;background:var(--bg);color:var(--text);font:inherit;text-align:left;cursor:pointer}
.page-dashboard .timezone-select-toggle::after{content:"";position:absolute;right:16px;top:50%;width:7px;height:7px;border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);transform:translateY(-70%) rotate(45deg)}
.page-dashboard .timezone-select.is-open .timezone-select-toggle{border-color:var(--accent2);border-radius:7px 7px 0 0}
.page-dashboard .timezone-select.is-open .timezone-select-toggle::after{transform:translateY(-30%) rotate(225deg)}
.page-dashboard .timezone-select-menu{position:absolute;z-index:120;top:calc(100% - 1px);left:0;width:100%;max-height:210px;overflow-y:auto;border:1px solid var(--accent2);border-radius:0 0 7px 7px;background:var(--bg);box-shadow:0 14px 32px rgba(0,0,0,.4);scrollbar-gutter:stable}
.page-dashboard .timezone-select.opens-up .timezone-select-toggle{border-radius:0 0 7px 7px}
.page-dashboard .timezone-select.opens-up .timezone-select-menu{top:auto;bottom:calc(100% - 1px);border-radius:7px 7px 0 0;box-shadow:0 -14px 32px rgba(0,0,0,.4)}
.page-dashboard .timezone-select-menu[hidden]{display:none}
.page-dashboard .timezone-select-option{display:block;width:100%;min-height:42px;padding:10px 14px;border:0;background:transparent;color:var(--text);font:inherit;text-align:left;cursor:pointer}
.page-dashboard .timezone-select-option:hover,.page-dashboard .timezone-select-option:focus{outline:0;background:rgba(56,139,253,.18)}
.page-dashboard .timezone-select-option.is-selected{background:var(--accent);color:#fff}
@media(max-width:600px){
  .page-dashboard .timezone-select-toggle,.page-dashboard .timezone-select-option{font-size:13px}
  .page-dashboard .timezone-select-menu{max-width:calc(100vw - 32px);overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
}
.page-dashboard .compact-select-native{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;opacity:0;pointer-events:none}
.page-dashboard .compact-select-button{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:42px;padding:10px 12px;border:1px solid var(--border);border-radius:7px;background:var(--bg);color:var(--text);font-family:inherit;font-size:15px;font-weight:500;line-height:1.2;font-variant-numeric:tabular-nums;cursor:pointer}
.page-dashboard .compact-select-button::after{content:'';width:7px;height:7px;margin-left:8px;border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);transform:rotate(45deg) translateY(-2px)}
.page-dashboard .compact-select-button:hover{border-color:#53647c}
.page-dashboard .compact-select-button:focus-visible,.page-dashboard .compact-select.is-open .compact-select-button{outline:0;border-color:var(--accent2);box-shadow:0 0 0 3px rgba(56,139,253,.1)}
.page-dashboard .compact-select-button:disabled{opacity:.6;cursor:not-allowed}
.page-dashboard .compact-select-menu{position:absolute;z-index:160;top:calc(100% + 5px);right:0;left:0;display:none;max-height:190px;padding:4px;overflow-y:auto;border:1px solid #53647c;border-radius:8px;background:var(--surface2);box-shadow:0 12px 28px rgba(0,0,0,.42)}
.page-dashboard .compact-select.opens-up .compact-select-menu{top:auto;bottom:calc(100% + 5px)}
.page-dashboard .compact-select.is-open .compact-select-menu{display:block}
.page-dashboard .compact-select-option{display:block;width:100%;height:36px;padding:7px 9px;border:0;border-radius:5px;background:transparent;color:var(--text);font-family:inherit;font-size:14px;font-weight:500;line-height:1.2;text-align:center;cursor:pointer}
.page-dashboard .compact-select-option:hover,.page-dashboard .compact-select-option:focus-visible{outline:0;background:rgba(88,166,255,.14)}
.page-dashboard .compact-select-option.is-selected{background:var(--accent);color:#fff}
.page-dashboard .admin-report-schedule-card .report-schedule-grid { grid-template-columns:1fr; gap:14px; }
.page-dashboard .admin-report-schedule-card .report-time-field { min-width:0; }
.page-dashboard .admin-report-schedule-card .admin-report-copy { margin:18px 0 0; padding:13px 14px; border:1px solid var(--border); border-radius:8px; background:rgba(255,255,255,.025); color:var(--muted); font-size:12px; line-height:1.55; }
.page-dashboard .report-schedule-actions { display:flex; align-items:center; justify-content:flex-start; margin-top:18px; }
.page-dashboard .report-schedule-actions .btn { width:auto; min-width:138px; justify-content:center; align-self:flex-start; }
.page-dashboard .avatar-edit { position:relative; width:96px; height:96px; flex-shrink:0; }
.page-dashboard .avatar-edit-img { width:96px; height:96px; border-radius:50%; overflow:hidden; background:var(--accent); display:grid; place-items:center; color:#fff; font-weight:700; font-size:34px; }
.page-dashboard .avatar-edit-img img { width:100%; height:100%; object-fit:cover; }
.page-dashboard .avatar-edit-actions { position:absolute; top:-4px; right:-4px; display:flex; gap:5px; }
.page-dashboard .avatar-btn { width:28px; height:28px; padding:0; border-radius:50%; border:2px solid var(--surface); background:var(--accent2); color:#fff; font-size:13px; line-height:1; cursor:pointer; display:grid; place-items:center; }
.page-dashboard .avatar-btn:hover { filter:brightness(1.12); }
.page-dashboard .avatar-btn-remove { background:var(--red); }
.page-dashboard .avatar-edit .avatar-btn-remove { display:none; }
.page-dashboard .avatar-edit.has-image .avatar-btn-remove { display:grid; }
.page-dashboard .form-hint { font-size:12px; color:var(--muted); margin-top:4px; }
.page-dashboard .form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.page-dashboard .toggle { position:relative; display:inline-block; flex:0 0 auto; width:38px; height:22px; margin:0; vertical-align:middle; }
.page-dashboard .toggle input { position:absolute; opacity:0; width:0; height:0; }
.page-dashboard .slider { position:absolute; inset:0; background:var(--border); border-radius:22px; cursor:pointer; transition:.2s; }
.page-dashboard .slider::before { content:''; position:absolute; width:16px; height:16px; left:3px; top:3px; background:#fff; border-radius:50%; transition:.2s; }
.page-dashboard .toggle input:checked + .slider { background:var(--accent); }
.page-dashboard .toggle input:checked + .slider::before { transform:translateX(16px); }
.page-dashboard .toggle input:focus-visible + .slider { box-shadow:0 0 0 3px rgba(56,139,253,.35); }
.page-dashboard .toggle-row { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:14px 0; border-top:1px solid var(--border); }
.page-dashboard .toggle-info { min-width:0; }
.page-dashboard .toggle-title { font-size:14px; font-weight:600; color:var(--text); }
.page-dashboard .toggle-sub { margin-top:3px; font-size:12px; line-height:1.5; color:var(--muted); }
.page-dashboard .env-toggle { display:inline-flex; align-items:center; gap:12px; }
.page-dashboard .env-toggle-opt { font-size:13px; font-weight:600; color:var(--muted); transition:color .15s; }
.page-dashboard .env-toggle-opt.is-active { color:var(--text); }
.page-dashboard .notice { padding:12px 16px; border-radius:8px; font-size:13px; margin-bottom:20px; }
.page-dashboard .notice-warn { background:rgba(210,153,34,.1); border:1px solid rgba(210,153,34,.3); color:var(--yellow); }
.page-dashboard .feature-guide{margin-bottom:20px;padding:20px;border:1px solid rgba(56,139,253,.34);border-radius:10px;background:linear-gradient(145deg,rgba(56,139,253,.1),rgba(31,111,235,.045))}
.page-dashboard .feature-guide strong{display:block;margin-bottom:5px;color:var(--text);font-size:14px}
.page-dashboard .feature-guide p{margin:0;color:var(--muted);font-size:13px;line-height:1.65}
.page-dashboard .feature-guide code{display:block;margin-top:10px;padding:10px 12px;overflow-x:auto;border:1px solid var(--border);border-radius:6px;background:var(--bg);color:#a5d6ff;font-size:12px;white-space:nowrap}
.page-dashboard .monitor-form{padding:24px}
.page-dashboard .setup-layout{display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"guide" "fields";align-items:start;gap:20px;margin-bottom:0}
.page-dashboard .monitor-form .setup-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"guide fields"}
.page-dashboard .setup-layout>.feature-guide,.page-dashboard .setup-layout>.setup-guide>.feature-guide,.page-dashboard .setup-layout>.card,.page-dashboard .setup-layout>.setup-fields>.card{min-width:0;margin-bottom:0}
.page-dashboard .setup-guide{grid-area:guide;min-width:0}
.page-dashboard .setup-fields{grid-area:fields;min-width:0}
.page-dashboard .setup-fields>.form-group:first-child{margin-top:0}
.page-dashboard .setup-layout>.heartbeat-guide{order:1}
.page-dashboard .setup-layout>.heartbeat-ping-card{order:2}
.page-dashboard .guide-requirements{margin:14px 0;padding:12px;border:1px solid var(--border);border-radius:7px;background:rgba(255,255,255,.025)}
.page-dashboard .guide-requirements p{margin:0}
.page-dashboard .monitor-guide-example{margin:14px 0;padding:12px;border:1px solid rgba(63,185,80,.28);border-radius:7px;background:rgba(63,185,80,.055)}
.page-dashboard .monitor-guide-example code{margin-top:8px;white-space:normal;overflow-wrap:anywhere}
.page-dashboard .monitor-guide-example p{margin:9px 0 11px}
.page-dashboard .monitor-guide-example .btn{width:100%;justify-content:center}
.page-dashboard .monitor-alert-option{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:8px 0 20px;padding:16px 18px;border:1px solid var(--border);border-radius:9px;background:rgba(255,255,255,.02)}
.page-dashboard .monitor-alert-option>div{min-width:0}
.page-dashboard .monitor-alert-option strong{display:block;margin-bottom:4px;color:var(--text);font-size:13px}
.page-dashboard .monitor-alert-option span:not(.slider){display:block;color:var(--muted);font-size:12px;line-height:1.5}
.page-dashboard .monitor-checkbox-option{display:flex;align-items:center;gap:9px;min-width:0;margin:0;padding:11px 12px;border:1px solid var(--border);border-radius:8px;background:var(--bg);color:var(--text);cursor:pointer}
.page-dashboard .monitor-checkbox-option:hover{border-color:#53647c;background:rgba(255,255,255,.025)}
.page-dashboard .monitor-checkbox-option input{flex:0 0 auto;width:16px;height:16px;margin:0;accent-color:var(--accent)}
.page-dashboard .monitor-checkbox-option span{min-width:0;overflow-wrap:anywhere}
.page-dashboard .response-validation{padding:16px;border:1px solid var(--border);border-radius:9px;background:rgba(255,255,255,.018)}
.page-dashboard .response-validation-grid{display:grid;grid-template-columns:minmax(0,420px);gap:12px;align-items:start}
.page-dashboard .response-validation-label,.page-dashboard .response-validation-custom>label,.page-dashboard [data-custom-response-status]>label{display:block;margin-bottom:7px;color:var(--muted);font-size:11px;font-weight:700}
.page-dashboard .response-validation-note{display:grid;gap:4px;padding:12px 14px;border:1px solid rgba(56,139,253,.3);border-radius:7px;background:rgba(31,111,235,.07)}
.page-dashboard .response-validation-note strong{color:var(--text);font-size:13px}
.page-dashboard .response-validation-note span{color:var(--muted);font-size:12px;line-height:1.5}
.page-dashboard .form-field-error{margin-top:12px;padding:9px 11px;border:1px solid rgba(248,81,73,.35);border-radius:7px;background:rgba(248,81,73,.09);color:#ff9b96;font-size:12px;line-height:1.5;scroll-margin-top:160px}
.page-dashboard .form-field-error:focus{outline:2px solid rgba(248,81,73,.65);outline-offset:3px}
.page-dashboard .monitor-form-actions{display:flex;align-items:center;gap:10px;padding-top:4px}
.page-dashboard .monitor-form-actions .btn{justify-content:center;min-width:112px}
.page-dashboard .heartbeat-requirements{margin:14px 0;padding:12px 14px;border:1px solid var(--border);border-radius:7px;background:rgba(255,255,255,.025)}
.page-dashboard .heartbeat-requirements ul{margin:8px 0 0;padding-left:19px;color:var(--muted);font-size:12px;line-height:1.65}
.page-dashboard .heartbeat-requirements li+li{margin-top:5px}
.page-dashboard .heartbeat-requirements li code{display:inline;margin:0;padding:2px 5px;overflow:visible;white-space:normal}
.page-dashboard .heartbeat-install-label{display:block;margin-top:12px;color:var(--muted);font-size:12px;font-weight:600}
.page-dashboard .heartbeat-requirements>code{white-space:normal;overflow-wrap:anywhere}
.page-dashboard .heartbeat-requirements>p{margin:9px 0 0;font-size:12px}
.page-dashboard .heartbeat-steps{margin:14px 0}
.page-dashboard .heartbeat-steps ol{margin:8px 0 0;padding-left:19px;color:var(--muted);font-size:12px;line-height:1.65}
.page-dashboard .heartbeat-steps li+li{margin-top:5px}
.page-dashboard .heartbeat-guide .heartbeat-guide-subtitle{margin-top:18px;font-size:13px}
.page-dashboard .heartbeat-guide p code{display:inline;margin:0;padding:2px 5px;overflow:visible;white-space:normal}
.page-dashboard .heartbeat-guide pre{max-width:100%;margin:10px 0 0;padding:12px;overflow:auto;border:1px solid var(--border);border-radius:6px;background:var(--bg);color:#a5d6ff;font-size:12px;line-height:1.55;tab-size:4}
.page-dashboard .heartbeat-guide pre code{display:inline;margin:0;padding:0;overflow:visible;border:0;background:none;color:inherit;font:inherit;white-space:pre}
.page-dashboard .heartbeat-guide .heartbeat-guide-scheduler-note{margin-top:10px;padding:10px 12px;border-left:3px solid var(--accent);background:rgba(56,139,253,.06);color:var(--text)}
.page-dashboard .heartbeat-guide .heartbeat-guide-warning{margin-top:12px;color:var(--yellow)}
.page-dashboard .heartbeat-operational-card,.page-dashboard .heartbeat-ping-card{margin-bottom:24px}
.page-dashboard .heartbeat-operational-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.page-dashboard .heartbeat-operational-grid>div{min-width:0;padding:16px 18px;border-right:1px solid var(--border);border-bottom:1px solid var(--border)}
.page-dashboard .heartbeat-operational-grid>div:nth-child(2n){border-right:0}
.page-dashboard .heartbeat-operational-grid>div:nth-last-child(-n+2){border-bottom:0}
.page-dashboard .heartbeat-operational-grid span{display:block;margin-bottom:7px;color:var(--muted);font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.page-dashboard .heartbeat-operational-grid strong{display:block;color:var(--text);font-size:13px;line-height:1.5}
@media(max-width:1000px){
  .page-dashboard .setup-layout{gap:18px}
}
@media(max-width:820px){
  .page-dashboard .monitor-form .setup-layout{grid-template-columns:minmax(0,1fr);grid-template-areas:"guide" "fields"}
  .page-dashboard .response-validation-grid{grid-template-columns:1fr}
}
.page-dashboard .notice-err { background:rgba(248,81,73,.1); border:1px solid rgba(248,81,73,.3); color:var(--red); }
.page-dashboard .notice-ok { background:rgba(63,185,80,.1); border:1px solid rgba(63,185,80,.3); color:var(--green); }
.page-dashboard .workspace-maintenance-banner{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:12px 24px 0;padding:11px 14px;border:1px solid rgba(210,153,34,.4);border-radius:8px;background:rgba(210,153,34,.1);color:var(--yellow);font-size:12px;text-decoration:none}
.page-dashboard .workspace-maintenance-banner span{color:var(--muted);text-align:right}
@media(max-width:760px){.page-dashboard .workspace-maintenance-banner{align-items:flex-start;flex-direction:column;margin:10px 14px 0}.page-dashboard .workspace-maintenance-banner span{text-align:left}}
.page-dashboard .notice a,
.page-dashboard .notice a:visited { color:#79c0ff; font-weight:600; text-decoration-color:rgba(121,192,255,.65); }
.page-dashboard .notice a:hover { color:#62acff; text-decoration-color:currentColor; }
.page-dashboard .notice a:focus-visible { border-radius:3px; outline:2px solid #1f6feb; outline-offset:2px; }
.page-dashboard .locked-feature-controls{min-width:0;margin:0;padding:0;border:0}
.page-dashboard .locked-feature-controls.is-locked{opacity:.52}
.page-dashboard .btn:disabled{cursor:not-allowed;opacity:.5}
.page-dashboard .feature-plan-badge{display:inline-block;margin-left:6px;padding:2px 7px;border:1px solid rgba(210,153,34,.72);border-radius:999px;background:rgba(210,153,34,.12);color:#f0c54d!important;font-size:10px;font-weight:800;line-height:1.35;text-decoration:none;text-transform:uppercase;vertical-align:middle}
.page-dashboard .feature-plan-badge:hover{background:rgba(210,153,34,.22);border-color:#f0c54d;color:#ffd866!important}
.page-dashboard .feature-plan-badge:focus-visible{outline:2px solid #f0c54d;outline-offset:2px}
.page-dashboard .admin-settings-config-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;max-width:1200px;margin-bottom:24px;align-items:start}
.page-dashboard .admin-settings-config-grid>.card{min-width:0;overflow:hidden}
.page-dashboard .admin-plan-access-card{max-width:1200px;margin-bottom:20px;overflow:visible}
.page-dashboard .admin-plan-access-help{margin:0 0 24px;padding:14px 16px;border:1px solid rgba(56,139,253,.28);border-radius:8px;background:rgba(31,111,235,.07);color:var(--muted);font-size:12px;line-height:1.65}
.page-dashboard .admin-plan-access-help strong{color:var(--text)}
.page-dashboard .admin-plan-feature-category{margin:24px 0 10px;color:var(--text);font-size:13px;font-weight:800;letter-spacing:.3px;text-transform:uppercase}
.page-dashboard .admin-plan-feature-category:first-of-type{margin-top:0}
.page-dashboard .admin-plan-feature-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.page-dashboard .admin-plan-feature-row{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:16px;align-items:center;min-width:0;min-height:66px;padding:14px;border:1px solid var(--border);border-radius:9px;background:var(--bg)}
.page-dashboard .admin-plan-feature-row.is-popover-open{z-index:2;border-color:rgba(56,139,253,.55);box-shadow:0 0 0 2px rgba(56,139,253,.08)}
.page-dashboard .admin-plan-feature-row.has-error{border-color:rgba(248,81,73,.72)}
.page-dashboard .admin-plan-feature-name{min-width:0;color:var(--text);font-size:13px;line-height:1.45}
.page-dashboard .admin-plan-feature-control{display:grid;grid-template-columns:58px 58px minmax(0,1fr);gap:8px;align-items:center;width:100%;min-width:0}
.page-dashboard .admin-access-toggle{position:relative;margin:0;cursor:pointer}
.page-dashboard .admin-access-toggle input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.page-dashboard .admin-access-toggle span{display:grid;width:100%;min-width:0;min-height:36px;box-sizing:border-box;place-items:center;padding:7px 10px;border:1px solid var(--border);border-radius:7px;background:var(--surface);color:var(--muted);font-size:11px;font-weight:800;transition:border-color .15s,background .15s,color .15s}
.page-dashboard .admin-free-toggle input:checked+span{border-color:rgba(46,160,67,.7);background:rgba(46,160,67,.14);color:#73d986}
.page-dashboard .admin-paid-toggle input:checked+span{border-color:rgba(56,139,253,.72);background:rgba(31,111,235,.16);color:#79b8ff}
.page-dashboard .admin-access-toggle input:focus-visible+span{outline:2px solid var(--accent2);outline-offset:2px}
.page-dashboard .admin-plan-configure{display:flex;min-width:0;min-height:36px;align-items:center;justify-content:space-between;gap:8px;padding:7px 10px;border:1px solid var(--border);border-radius:7px;background:var(--surface);color:var(--text);font:inherit;cursor:pointer}
.page-dashboard .admin-plan-configure:hover:not(:disabled){border-color:var(--accent2);background:var(--surface2)}
.page-dashboard .admin-plan-configure:disabled{cursor:not-allowed;opacity:.45}
.page-dashboard .admin-plan-selection{min-width:0;overflow:hidden;font-size:11px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}
.page-dashboard .admin-plan-edit-label{flex:0 0 auto;color:var(--accent2);font-size:10px;font-weight:700}
.page-dashboard .admin-plan-popover{grid-column:1/-1;margin-top:3px;padding:14px;border:1px solid rgba(56,139,253,.38);border-radius:8px;background:var(--surface);box-shadow:0 12px 30px rgba(0,0,0,.2)}
.page-dashboard .admin-plan-popover[hidden]{display:none}
.page-dashboard .admin-plan-popover-heading{display:flex;flex-direction:column;gap:3px;margin-bottom:12px}
.page-dashboard .admin-plan-popover-heading strong{color:var(--text);font-size:12px}
.page-dashboard .admin-plan-popover-heading small,.page-dashboard .admin-plan-popover-footer{color:var(--muted);font-size:10px;line-height:1.45}
.page-dashboard .admin-plan-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.page-dashboard .admin-plan-options label{display:flex;align-items:flex-start;gap:9px;min-width:0;margin:0;padding:10px;border:1px solid var(--border);border-radius:7px;background:var(--bg);cursor:pointer}
.page-dashboard .admin-plan-options label:has(input:checked){border-color:rgba(56,139,253,.55);background:rgba(31,111,235,.08)}
.page-dashboard .admin-plan-options label.is-auto-included{opacity:.7}
.page-dashboard .admin-plan-options input{flex:0 0 auto;width:15px;height:15px;margin-top:2px;accent-color:var(--accent2)}
.page-dashboard .admin-plan-options span{display:flex;min-width:0;flex-direction:column;gap:2px}
.page-dashboard .admin-plan-options strong{color:var(--text);font-size:11px}
.page-dashboard .admin-plan-options small{color:var(--muted);font-size:9px;line-height:1.4}
.page-dashboard .admin-plan-popover-footer{margin-top:10px}
.page-dashboard .admin-plan-feature-error{grid-column:1/-1;margin-top:-3px;color:var(--red);font-size:11px}
.page-dashboard .admin-settings-email-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);gap:20px;max-width:1200px;align-items:start}
.page-dashboard .admin-email-settings-form{display:grid;min-width:0;gap:20px}
.page-dashboard .admin-email-settings-card{min-width:0;overflow:hidden}
.page-dashboard .admin-email-save-actions{display:flex;justify-content:flex-start}
.page-dashboard .admin-email-test-card{min-width:0;overflow:hidden}
.page-dashboard .admin-email-test-copy{margin:0 0 20px;color:var(--muted);font-size:13px;line-height:1.6}
.page-dashboard .admin-email-test-form{display:grid;gap:14px}
.page-dashboard .admin-email-test-form .form-group{min-width:0;margin:0}
.page-dashboard .admin-email-test-form .btn{width:100%;justify-content:center}
@media(max-width:1100px){
  .page-dashboard .admin-plan-feature-list{grid-template-columns:1fr}
}
@media(max-width:960px){
  .page-dashboard .admin-settings-email-grid{grid-template-columns:1fr}
  .page-dashboard .admin-email-test-card{grid-row:1}
}
@media(max-width:800px){
  .page-dashboard .admin-settings-config-grid{grid-template-columns:1fr}
  .page-dashboard .admin-plan-feature-row{grid-template-columns:1fr;gap:12px}
}
@media(max-width:520px){
  .page-dashboard .admin-plan-feature-control{grid-template-columns:1fr 1fr}
  .page-dashboard .admin-plan-configure,.page-dashboard .admin-plan-popover{grid-column:1/-1}
  .page-dashboard .admin-plan-options{grid-template-columns:1fr}
}
.page-dashboard .empty-state { text-align:center; padding:60px 24px; }
.page-dashboard .empty-state .empty-icon { font-size:48px; margin-bottom:16px; }
.page-dashboard .empty-state h3 { font-size:18px; margin-bottom:8px; }
.page-dashboard .empty-state p { color:var(--muted); font-size:14px; max-width:380px; margin:0 auto 24px; }
.page-dashboard .upgrade-card { max-width:520px; }
.page-dashboard .upgrade-card .card-body { display:flex; flex-direction:column; align-items:flex-start; gap:8px; padding:18px 20px; }
.page-dashboard .upgrade-card h2 { font-size:var(--type-lg); font-weight:700; line-height:var(--leading-tight); }
.page-dashboard .upgrade-card .muted { font-size:var(--type-md); line-height:var(--leading-normal); }
.page-dashboard .upgrade-card .btn { margin-top:6px; padding:6px 14px; font-size:var(--type-sm); }
@media(max-width:700px){ .page-dashboard .upgrade-card .card-body { padding:16px; } }
@media(max-width:700px){
  .page-dashboard .topbar { padding-top:16px; padding-bottom:16px; }
}
.page-dashboard .segmented-tabs{display:inline-flex;align-self:flex-start;width:max-content;max-width:100%;gap:4px;padding:4px;overflow-x:auto;border:1px solid var(--border);border-radius:10px;background:var(--surface);box-shadow:0 1px 2px rgba(0,0,0,.18);scrollbar-width:thin}
.page-dashboard .segmented-tabs a{display:flex;flex:0 0 auto;align-items:center;justify-content:center;box-sizing:border-box;min-height:36px;padding:8px 18px;border:1px solid transparent;border-radius:7px;color:var(--muted);font-size:13px;font-weight:600;line-height:18px;text-decoration:none;white-space:nowrap;transition:background-color .15s,border-color .15s,color .15s,box-shadow .15s}
.page-dashboard .segmented-tabs a:hover{border-color:var(--border);background:var(--surface2);color:var(--text)}
.page-dashboard .segmented-tabs a:focus-visible{outline:2px solid var(--accent2);outline-offset:2px}
.page-dashboard .segmented-tabs a.active{border-color:var(--accent2);background:linear-gradient(180deg,var(--accent2),var(--accent));box-shadow:0 2px 6px rgba(31,111,235,.3);color:#fff}
.page-dashboard .report-tabs{margin-bottom:24px}
.page-dashboard .sidebar-plan-wrap { padding:12px 8px; }
.page-dashboard .upgrade-button { display:flex; align-items:center; justify-content:center; gap:6px; width:100%; padding:10px; background:#f59e0b; border:0; border-radius:8px; color:#000; font-weight:700; font-size:13px; text-align:center; text-decoration:none; cursor:pointer; }
.page-dashboard .sidebar-plan-card { display:flex; align-items:flex-start; gap:10px; width:100%; max-width:100%; padding:11px; overflow:hidden; border:1px solid rgba(56,139,253,.42); border-radius:9px; background:linear-gradient(135deg,rgba(31,111,235,.16),rgba(56,139,253,.06)); color:var(--text); }
.page-dashboard .sidebar-plan-icon { display:grid; flex:0 0 auto; place-items:center; width:30px; height:30px; border-radius:7px; background:var(--accent); font-size:14px; }
.page-dashboard .sidebar-plan-details { display:flex; flex:1 1 auto; min-width:0; max-width:100%; flex-direction:column; overflow-wrap:anywhere; }
.page-dashboard .sidebar-plan-overline { margin-bottom:2px; color:var(--accent2); font-size:9px; font-weight:700; letter-spacing:.7px; text-transform:uppercase; }
.page-dashboard .sidebar-plan-details strong { font-size:13px; }
.page-dashboard .sidebar-plan-details small { margin-top:2px; color:var(--muted); font-size:9px; line-height:1.35; }
.page-dashboard .sidebar-plan-next { margin-top:5px; color:var(--text); font-size:9px; font-weight:600; line-height:1.35; }
.page-dashboard .sidebar-plan-status { margin-top:2px; color:var(--green); font-size:9px; line-height:1.35; }
.page-dashboard .sidebar-plan-status.is-canceling { color:var(--yellow); }
.page-dashboard .sidebar-plan-link { align-self:flex-start; max-width:100%; margin-top:5px; color:var(--accent2); font-size:10px; font-weight:600; line-height:1.35; text-decoration:none; }
.page-dashboard .sidebar-plan-link:hover { color:var(--text); text-decoration:underline; }
.page-dashboard .billing-compare { display:block; margin-top:10px; text-align:center; color:var(--accent2); font-size:12px; text-decoration:none; }
.page-dashboard .billing-dialog { position:fixed; inset:0; width:min(500px,calc(100vw - 32px)); max-width:none; max-height:calc(100vh - 32px); max-height:calc(100dvh - 32px); margin:auto; padding:0; overflow:hidden; border:1px solid var(--border); border-radius:12px; background:var(--surface); color:var(--text); box-shadow:0 24px 70px rgba(0,0,0,.55); }
.page-dashboard .billing-dialog::backdrop { background:rgba(0,0,0,.72); }
.page-dashboard .billing-dialog-inner { max-height:calc(100vh - 32px); max-height:calc(100dvh - 32px); padding:24px; overflow-y:auto; overscroll-behavior:contain; }
.page-dashboard .billing-dialog-header { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; }
.page-dashboard .billing-dialog-header > div { min-width:0; }
.page-dashboard .billing-dialog-header h2 { font-size:20px; margin-bottom:6px; }
.page-dashboard .billing-dialog-header p { overflow-wrap:anywhere; color:var(--muted); font-size:13px; line-height:1.5; }
.page-dashboard .billing-dialog-first-field { margin-top:20px; }
.page-dashboard .billing-action-warning { min-height:38px; margin:14px 0; }
.page-dashboard .billing-action-warning.is-blocking{min-height:0;padding:11px 12px;border:1px solid rgba(210,153,34,.35);border-radius:7px;background:rgba(210,153,34,.09);color:#e3b341;line-height:1.55}
.page-dashboard .order-history td { padding:10px 20px 10px 40px; background:var(--surface2); color:var(--muted); font-size:12px; }
.page-dashboard .paddle-expiry-card{margin-top:18px}
.page-dashboard .paddle-expiry-card .card-body{max-width:720px}
.page-dashboard .paddle-expiry-form,.page-dashboard .paddle-reminder-form{display:block}
.page-dashboard .paddle-expiry-divider{height:1px;margin:22px 0;background:var(--border)}
.page-dashboard .paddle-reminder-form h4{margin:0 0 6px}
.page-dashboard .paddle-reminder-form .paddle-reminder-copy{margin:0 0 14px;line-height:1.6}
.page-dashboard .paddle-reminder-form .btn+.form-hint{margin-top:8px}
.page-dashboard .paddle-environment-row{display:flex;align-items:center;gap:10px;margin-bottom:16px;color:var(--muted);font-size:12px;font-weight:600}
.page-dashboard .paddle-environment{display:inline-flex;padding:5px 9px;border:1px solid var(--border);border-radius:999px;font-size:10px;font-weight:800;letter-spacing:.45px}
.page-dashboard .paddle-environment.is-production{border-color:rgba(248,81,73,.4);background:rgba(248,81,73,.1);color:#ff9b96}
.page-dashboard .paddle-environment.is-sandbox{border-color:rgba(210,153,34,.4);background:rgba(210,153,34,.1);color:#f0c54d}
.page-dashboard .admin-filter-tabs{display:flex;align-items:center;gap:8px;margin-bottom:24px}
.page-dashboard .paddle-plan-override-card{margin-bottom:24px;overflow:hidden}
.page-dashboard .admin-monitor-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:20px}
.page-dashboard .admin-monitor-form-grid .form-group{min-width:0;margin:0}
.page-dashboard .admin-form-wide{display:flex;align-items:center;gap:10px;grid-column:1/-1;padding-top:4px}
.page-dashboard .admin-form-actions{display:flex;align-items:center;gap:10px;padding:4px 24px 24px}
.page-dashboard .paddle-period-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.page-dashboard .paddle-period-options label{position:relative;margin:0;cursor:pointer}
.page-dashboard .paddle-period-options input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.page-dashboard .paddle-period-options span{display:grid;min-height:42px;place-items:center;padding:9px 12px;border:1px solid var(--border);border-radius:7px;background:var(--bg);color:var(--muted);font-size:12px;font-weight:700;transition:border-color .15s,background .15s,color .15s}
.page-dashboard .paddle-period-options input:checked+span{border-color:var(--accent2);background:rgba(31,111,235,.13);color:var(--text)}
.page-dashboard .paddle-period-options input:focus-visible+span{box-shadow:0 0 0 3px rgba(56,139,253,.2)}
.page-dashboard .admin-user-summary-card{margin-bottom:20px;overflow:hidden}
.page-dashboard .admin-user-summary{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.page-dashboard .admin-user-avatar{display:grid;flex:0 0 56px;width:56px;height:56px;overflow:hidden;place-items:center;border:1px solid rgba(255,255,255,.16);border-radius:10px;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.2)}
.page-dashboard .admin-user-avatar.has-initials{color:#111827;font-size:20px;font-weight:700;letter-spacing:.3px}
.page-dashboard .admin-user-avatar img{display:block;width:100%;height:100%;padding:4px;object-fit:contain;background:#fff}
.page-dashboard .admin-user-plan-summary{display:flex;min-width:250px;flex-direction:column;gap:10px;padding:10px 12px;border:1px solid rgba(56,139,253,.3);border-radius:9px;background:rgba(31,111,235,.08)}
.page-dashboard .admin-user-plan-overview{display:flex;align-items:center;gap:18px}
.page-dashboard .admin-user-plan-current{min-width:92px}
.page-dashboard .admin-user-plan-current span{display:block;margin-bottom:2px;color:var(--muted);font-size:11px}
.page-dashboard .admin-user-plan-current strong{font-size:13px}
.page-dashboard .admin-user-plan-current small{display:block;margin-top:3px;color:var(--muted);font-size:11px;white-space:nowrap}
.page-dashboard .admin-user-plan-details{display:grid;gap:3px;margin-top:5px;color:var(--muted);font-size:11px;line-height:1.4}
.page-dashboard .admin-user-plan-details span{display:block}
.page-dashboard .admin-user-plan-details strong{color:var(--text);font-size:inherit;font-weight:600}
.page-dashboard .admin-user-plan-buttons{display:flex;align-items:center;gap:8px;padding-top:9px;border-top:1px solid rgba(56,139,253,.22);flex-wrap:wrap}
.page-dashboard .admin-user-account-meta{display:flex;gap:20px;margin-left:auto;font-size:13px;flex-wrap:wrap}
.page-dashboard .admin-users-identity-cell{min-width:240px}
.page-dashboard .admin-users-identity{display:flex;align-items:center;gap:10px;min-width:0}
.page-dashboard .admin-users-identity-copy{min-width:0}
.page-dashboard .admin-users-email{color:var(--muted);font-size:12px;white-space:nowrap}
.page-dashboard #users-table{min-width:1380px!important;table-layout:auto}
.page-dashboard #users-table th.admin-users-billing,.page-dashboard #users-table td.admin-users-billing{width:100px;min-width:100px;font-size:13px;white-space:nowrap!important;word-break:keep-all!important;overflow-wrap:normal!important}
.page-dashboard .admin-users-renewal{min-width:220px;font-size:13px;line-height:1.45}
.page-dashboard .admin-user-plan-dialog{width:min(660px,calc(100vw - 32px))}
.page-dashboard .admin-user-plan-editor{background:var(--surface)}
.page-dashboard .admin-user-plan-editor-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}
.page-dashboard .admin-user-plan-editor-heading p{margin-top:4px;color:var(--muted);font-size:12px;line-height:1.5}
.page-dashboard .admin-user-plan-period{width:max-content;max-width:100%;margin:-6px 0 18px;padding:5px 9px;border-radius:999px;background:var(--surface2);color:var(--muted);font-size:11px}
.page-dashboard .admin-user-plan-form{display:grid;grid-template-columns:minmax(180px,1fr) minmax(220px,1fr);align-items:end;gap:16px}
.page-dashboard .admin-user-plan-form .form-group{margin:0}
.page-dashboard .admin-user-plan-actions{display:flex;grid-column:1/-1;align-items:center;gap:8px;flex-wrap:wrap}
.page-dashboard .admin-user-access-actions{gap:14px;margin-top:20px}
.page-dashboard .admin-user-plan-billing-mode,.page-dashboard .admin-paddle-plan-preview{grid-column:1/-1}
.page-dashboard .admin-user-plan-billing-mode small{display:block;margin-top:5px;font-size:11px}
.page-dashboard .admin-paddle-plan-preview{padding:14px;border:1px solid rgba(56,139,253,.35);border-radius:9px;background:rgba(31,111,235,.07)}
.page-dashboard .admin-paddle-plan-preview-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.page-dashboard .admin-paddle-plan-preview-heading .billing-dialog-close{width:28px;height:28px;flex-basis:28px;font-size:20px}
.page-dashboard .admin-paddle-plan-preview dl{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0}
.page-dashboard .admin-paddle-plan-preview dl div{padding:9px;border-radius:7px;background:var(--surface2)}
.page-dashboard .admin-paddle-plan-preview dt{color:var(--muted);font-size:11px}
.page-dashboard .admin-paddle-plan-preview dd{margin:3px 0 0;font-size:13px;font-weight:700}
.page-dashboard .admin-paddle-plan-preview .notice{margin:12px 0 0}
.page-dashboard .monitor-plan-usage{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:18px;padding:14px 16px;border:1px solid var(--border);border-radius:10px;background:var(--surface)}
.page-dashboard .monitor-plan-usage-copy strong,.page-dashboard .monitor-plan-usage-copy span{display:block}
.page-dashboard .monitor-plan-usage-copy strong{font-size:13px}
.page-dashboard .monitor-plan-usage-copy span{margin-top:3px;color:var(--muted);font-size:12px}
.page-dashboard .monitor-plan-usage-meter{flex:0 0 min(240px,30%);height:7px;overflow:hidden;border-radius:999px;background:var(--surface2)}
.page-dashboard .monitor-plan-usage-meter span{display:block;height:100%;border-radius:inherit;background:var(--accent);transition:width .2s ease}
.page-dashboard .paddle-cycle-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:26px 0 16px}
.page-dashboard .paddle-cycle-toolbar>span{color:var(--text);font-size:13px;font-weight:700}
.page-dashboard .paddle-cycle-switch{display:inline-grid;grid-template-columns:repeat(2,minmax(92px,1fr));gap:4px;padding:4px;border:1px solid var(--border);border-radius:9px;background:var(--bg)}
.page-dashboard .paddle-cycle-switch button{min-height:36px;padding:8px 14px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--muted);font:inherit;font-size:12px;font-weight:700;cursor:pointer}
.page-dashboard .paddle-cycle-switch button:hover{color:var(--text)}
.page-dashboard .paddle-cycle-switch button.active{border-color:var(--accent2);background:var(--surface2);color:var(--text);box-shadow:0 2px 8px rgba(0,0,0,.18)}
.page-dashboard .admin-price-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:start}
.page-dashboard .paddle-plan-grid>.card{overflow:hidden}
.page-dashboard .paddle-plan-grid>.card .card-body{display:flex;min-height:100%;flex-direction:column}
.page-dashboard .paddle-free-price{margin-bottom:4px;color:var(--text);font-size:26px;font-weight:800;letter-spacing:-.5px}
.page-dashboard .paddle-free-price span{color:var(--muted);font-size:14px;font-weight:600;letter-spacing:0}
.page-dashboard .paddle-plan-features{display:grid;gap:8px;margin:16px 0 20px;padding:0;list-style:none}
.page-dashboard .paddle-plan-features li{position:relative;padding-left:20px;color:var(--text);font-size:12px;line-height:1.5}
.page-dashboard .paddle-plan-features li::before{content:'\2713';position:absolute;left:0;color:var(--green);font-weight:800}
.page-dashboard .paddle-price-form{margin-top:18px;padding-top:18px;border-top:1px solid var(--border)}
.page-dashboard .paddle-price-form[hidden]{display:none}
.page-dashboard .paddle-current-price{display:flex;min-width:0;flex-direction:column;gap:4px;margin-bottom:16px;padding:12px 14px;border:1px solid rgba(56,139,253,.3);border-radius:8px;background:rgba(31,111,235,.07)}
.page-dashboard .paddle-current-price strong{color:var(--text);font-size:14px;overflow-wrap:anywhere}
.page-dashboard .paddle-current-price span{color:var(--muted);font-size:11px;line-height:1.45;overflow-wrap:anywhere}
.page-dashboard .paddle-price-form>.btn{width:100%;justify-content:center}
@media(max-width:1100px){
  .page-dashboard .admin-price-grid{grid-template-columns:1fr}
}
@media(max-width:860px){
  .page-dashboard .admin-monitor-form-grid{grid-template-columns:1fr}
  .page-dashboard .admin-form-wide{align-items:stretch;flex-direction:column}
  .page-dashboard .admin-form-wide .btn{width:100%;justify-content:center}
}
@media(max-width:520px){
  .page-dashboard .admin-filter-tabs{display:grid;grid-template-columns:1fr 1fr}
  .page-dashboard .admin-filter-tabs .btn{width:100%;justify-content:center}
  .page-dashboard .paddle-cycle-toolbar{align-items:stretch;flex-direction:column}
  .page-dashboard .paddle-cycle-switch{width:100%}
}
.page-dashboard .billing-dialog-close { display:grid; place-items:center; flex:0 0 34px; width:34px; height:34px; border:1px solid var(--border); border-radius:8px; background:transparent; color:var(--muted); font-size:24px; line-height:1; cursor:pointer; }
.page-dashboard .billing-dialog-close:hover { border-color:var(--muted); color:var(--text); }
.page-dashboard .billing-period-toggle { display:grid; grid-template-columns:1fr 1fr; gap:4px; margin:22px 0 18px; padding:4px; border:1px solid var(--border); border-radius:8px; background:var(--bg); }
.page-dashboard .billing-period-option { position:relative; min-height:78px; padding:9px 10px; border:1px solid transparent; border-radius:6px; background:transparent; color:var(--muted); cursor:pointer; text-align:left; }
.page-dashboard .billing-period-option span, .page-dashboard .billing-period-option strong { display:block; }
.page-dashboard .billing-period-option.active { border-color:var(--accent2); background:var(--surface2); color:var(--text); }
.page-dashboard .billing-price { color:var(--text); font-size:15px; font-weight:700; }
.page-dashboard .billing-price-note { font-size:11px; } .page-dashboard .billing-save-badge { position:absolute; top:8px; right:8px; color:var(--green); font-size:10px; }
.page-dashboard .billing-selection-summary { display:flex; justify-content:space-between; padding:14px 0; border-block:1px solid var(--border); font-size:13px; }
.page-dashboard .billing-selection-summary span { color:var(--muted); } .page-dashboard .billing-error { min-height:18px; margin:10px 0 4px; color:var(--red); font-size:12px; }
.page-dashboard .billing-checkout-button { width:100%; min-height:42px; border:0; border-radius:7px; background:#f59e0b; color:#111; font-weight:700; cursor:pointer; }
.page-dashboard .billing-provider { margin-top:10px; color:var(--muted); font-size:11px; text-align:center; }
.page-dashboard .sidebar-toggle,.page-dashboard .sidebar-close,.page-dashboard .sidebar-backdrop{display:none}
/* Tablet & mobile: the sidebar becomes an off-canvas drawer so every label and the full plan card stay visible. */
@media(max-width:900px){
  .page-dashboard .sidebar{position:fixed;top:0;bottom:0;left:0;width:272px;max-width:86vw;transform:translateX(-100%);transition:transform .25s ease;z-index:300;overflow:hidden}
  .page-dashboard .main{width:100%}
  body.page-dashboard.sidebar-open{overflow:hidden}
  body.page-dashboard.sidebar-open .sidebar{transform:none;box-shadow:16px 0 48px rgba(0,0,0,.55)}
  .page-dashboard .sidebar-backdrop{display:block;position:fixed;inset:0;z-index:250;background:rgba(1,4,9,.62);opacity:0;visibility:hidden;transition:opacity .25s ease,visibility .25s}
  body.page-dashboard.sidebar-open .sidebar-backdrop{opacity:1;visibility:visible}
  .page-dashboard .sidebar-brand{justify-content:space-between;padding:16px 16px 14px 20px}
  .page-dashboard .sidebar-mobile-header{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:68px;padding:12px 16px 12px 20px;border-bottom:1px solid var(--border)}
  .page-dashboard .sidebar-close{display:grid;place-items:center;width:34px;height:34px;flex-shrink:0;padding:0;border:1px solid var(--border);border-radius:8px;background:transparent;color:var(--muted);font-size:22px;line-height:1;cursor:pointer}
  .page-dashboard .sidebar-close:hover{color:var(--text);border-color:var(--accent)}
  .page-dashboard .sidebar-toggle{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;position:fixed;top:80px;right:auto;left:20px;z-index:80;width:40px;height:40px;padding:0;border:1px solid var(--border);border-radius:10px;background:var(--surface);cursor:pointer}
  .page-dashboard-user .dash-shell{width:100%;margin:0}
  .page-dashboard .sidebar-toggle span{display:block;width:18px;height:2px;border-radius:2px;background:var(--text)}
  .page-dashboard .sidebar-toggle:hover{border-color:var(--accent)}
  body.page-dashboard.sidebar-open .sidebar-toggle{opacity:0;pointer-events:none}
  .page-dashboard .topbar{padding-left:68px}
  .page-dashboard .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
  .page-dashboard .dashboard-grid-two,.page-dashboard .form-row{grid-template-columns:1fr}
  .page-dashboard .report-tabs-toolbar{align-items:stretch;flex-direction:column;gap:12px;margin-bottom:16px}
  .page-dashboard .report-tabs-toolbar .report-tabs{width:100%}
  .page-dashboard .report-tabs-toolbar>.btn{justify-content:center;width:100%}
  .page-dashboard .report-snapshot{grid-template-columns:repeat(2,minmax(0,1fr))}
  .page-dashboard .report-snapshot-heading{grid-column:1/-1;min-height:62px;border-bottom:1px solid var(--border)}
  .page-dashboard .report-snapshot-metric{min-height:68px}
  .page-dashboard .report-snapshot-metric:nth-child(2n){border-left:0}
  .page-dashboard .report-snapshot-metric:nth-child(n+4){border-top:1px solid var(--border)}
  .page-dashboard .admin-plan-history-filters .card-body{grid-template-columns:1fr}
  .page-dashboard .table-card,.page-dashboard .table-scroll{width:100%;touch-action:pan-x pan-y;scrollbar-gutter:stable}
  .page-dashboard .table-card::-webkit-scrollbar,.page-dashboard .table-scroll::-webkit-scrollbar{height:12px}
  .page-dashboard .monitor-summary-head{flex-direction:column}
  .page-dashboard .monitor-current-result{text-align:left}
  .page-dashboard .monitor-availability-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .page-dashboard .incident-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .page-dashboard .incident-chart-grid{grid-template-columns:1fr}
  .page-dashboard .monitor-availability:nth-child(2){border-right:0}
  .page-dashboard .monitor-availability:nth-child(-n+2){border-bottom:1px solid var(--border)}
  .page-dashboard .topbar{align-items:flex-start;flex-wrap:wrap;gap:12px;padding:12px 16px 12px 68px}
  .page-dashboard .topbar > :first-child{display:flex;align-items:flex-start;justify-content:center;flex:1 1 auto;min-height:40px;flex-direction:column}
  .page-dashboard .topbar > div{flex-wrap:wrap;min-width:0}
  .page-dashboard .topbar > div:last-child:not(:first-child){display:flex;align-items:center;gap:8px;flex:0 1 auto;width:auto;margin-left:auto}
  .page-dashboard .topbar > :last-child:not(:first-child){align-self:center}
  .page-dashboard .topbar > div:last-child:not(:first-child) form{margin:0}
  .page-dashboard .page-title{font-size:16px;min-width:0;overflow-wrap:anywhere}
  .page-dashboard .topbar-user{right:14px}
  .page-dashboard .topbar-user-menu{max-width:calc(100vw - 28px)}
  .page-dashboard .content{padding:16px}
  .page-dashboard .card-header{padding:14px 16px;flex-wrap:wrap;gap:10px}
  .page-dashboard .card-body{padding:16px}
  .page-dashboard .monitor-form{padding:18px 16px}
  .page-dashboard .setup-layout{gap:16px}
  .page-dashboard .feature-guide{padding:16px}
  .page-dashboard .form-group{margin-bottom:16px}
  .page-dashboard .btn{max-width:100%;white-space:normal;text-align:center}
  .page-dashboard .monitor-table th,.page-dashboard .monitor-table td{padding:12px}
  .page-dashboard .admin-billing-customer{min-width:190px}
  .page-dashboard .admin-billing-table th,.page-dashboard .admin-billing-table td{padding:10px 12px}
}
@media(max-width:520px){
  .page-dashboard-user .content{gap:16px}
  .page-dashboard .report-snapshot-heading,.page-dashboard .report-snapshot-metric{padding:12px 14px}
  .page-dashboard .admin-plan-filter-actions{align-items:stretch;flex-direction:column}
  .page-dashboard .admin-plan-filter-actions .btn{width:100%;justify-content:center}
  .page-dashboard .topbar{padding-left:64px}
  .page-dashboard .topbar-actions,.page-dashboard .topbar > div:last-child:not(:first-child){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));flex:1 0 100%;width:100%;margin-left:0;padding-top:0}
  .page-dashboard .topbar-actions .btn,.page-dashboard .topbar > div:last-child:not(:first-child)>.btn{width:100%;justify-content:center}
  .page-dashboard .admin-report-filter .card-body{align-items:stretch;flex-direction:column}
  .page-dashboard .admin-report-filter-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}
  .page-dashboard .admin-report-filter .btn{justify-content:center;width:100%}
  .page-dashboard .customer-report-status-filter{align-items:stretch;flex-direction:column}
  .page-dashboard .customer-report-status-filter .form-group{flex-basis:auto}
  .page-dashboard .customer-report-status-actions{display:grid;grid-template-columns:1fr 1fr}
  .page-dashboard .customer-report-status-actions .btn{justify-content:center;width:100%}
  .page-dashboard .stats-grid{grid-template-columns:1fr;gap:10px}
  .page-dashboard .report-schedule-grid{grid-template-columns:1fr;gap:0}
  .page-dashboard .monitor-availability-grid{grid-template-columns:1fr}
  .page-dashboard .heartbeat-operational-grid{grid-template-columns:1fr}
  .page-dashboard .heartbeat-operational-grid>div,.page-dashboard .heartbeat-operational-grid>div:nth-child(2n),.page-dashboard .heartbeat-operational-grid>div:nth-last-child(-n+2){border-right:0;border-bottom:1px solid var(--border)}
  .page-dashboard .heartbeat-operational-grid>div:last-child{border-bottom:0}
  .page-dashboard .incident-date-filter-actions{display:grid;grid-template-columns:1fr 1fr}
  .page-dashboard .incident-date-filter-actions .btn{justify-content:center;width:100%}
  .page-dashboard .manual-incident-form-actions{display:grid;grid-template-columns:1fr 1fr}
  .page-dashboard .manual-incident-form-actions .btn{justify-content:center;width:100%}
  .page-dashboard .incident-share-url{align-items:stretch;flex-direction:column}
  .page-dashboard .incident-filter-panel{position:fixed;top:72px;right:12px;left:12px;width:auto;max-height:calc(100vh - 84px);max-height:calc(100dvh - 84px)}
  .page-dashboard .incident-filter-date-grid{grid-template-columns:1fr}
  .page-dashboard .incident-stats-grid{grid-template-columns:1fr}
  .page-dashboard .monitor-availability{border-right:0;border-bottom:1px solid var(--border)}
  .page-dashboard .monitor-availability:last-child{border-bottom:0}
  .page-dashboard .stat-card{padding:16px}
  .page-dashboard .stat-value{font-size:28px}
  .page-dashboard .empty-state{padding:40px 16px}
  .page-dashboard .billing-dialog{width:calc(100vw - 24px);max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px)}
  .page-dashboard .billing-dialog-inner{max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);padding:18px}
  .page-dashboard .billing-dialog-header h2{font-size:18px}
  .page-dashboard .billing-dialog .btn[type=submit]{width:100%;justify-content:center;min-height:42px}
  .page-dashboard .billing-period-toggle{grid-template-columns:1fr}
  .page-dashboard .monitor-form-actions{display:grid;grid-template-columns:1fr 1fr}
  .page-dashboard .monitor-form-actions .btn{width:100%;min-width:0}
}
@media(max-width:390px){
  .page-dashboard .content{padding:12px}
  .page-dashboard .topbar-actions,.page-dashboard .topbar > div:last-child:not(:first-child){grid-template-columns:1fr}
  .page-dashboard .monitor-form{padding:14px 12px}
  .page-dashboard .monitor-form-actions{grid-template-columns:1fr}
  .page-dashboard .card-header{padding:13px 14px}
  .page-dashboard .card-body{padding:14px}
}

/* Authentication pages */
body.page-auth { --bg:#0d1117; --surface:#161b22; --border:#30363d; --text:#e6edf3; --muted:#8b949e; --accent:#1f6feb; --accent2:#388bfd; --green:#3fb950; --red:#f85149; background:var(--bg); color:var(--text); font-family:'Inter',sans-serif; min-height:100vh; min-height:100dvh; display:flex; flex-direction:column; }
.page-auth .login-grid,.page-auth .auth-page-main { background:var(--bg); }
.page-auth .auth-page-main { display:grid; flex:1; padding:48px 24px 64px; place-items:center; }
.page-auth .card { width:100%; max-width:420px; background:var(--surface); border:1px solid var(--border); border-radius:12px; padding:40px; }
.page-auth .brand { display:flex; align-items:center; gap:12px; margin-bottom:28px; }
.page-auth .brand-icon { width:40px; height:40px; border-radius:10px; overflow:hidden; display:block; flex-shrink:0; }
.brand-mark, .page-dashboard .brand-icon img, .page-auth .brand-icon img { width:100%; height:100%; display:block; }
.page-auth .brand-name { font-size:20px; font-weight:700; }
.page-auth h2, .page-auth .card h1 { font-size:22px; font-weight:700; margin-bottom:8px; }
.page-auth p.lead, .page-auth .card p { color:var(--muted); font-size:14px; margin-bottom:28px; line-height:1.6; }
.page-auth label { display:block; font-size:13px; color:var(--muted); margin:16px 0 6px; }
.page-auth input[type=text], .page-auth input[type=email], .page-auth input[type=password], .page-auth .otp-input { width:100%; min-width:0; min-height:46px; background-color:var(--bg); border:1px solid var(--border); border-radius:8px; color:var(--text); -webkit-text-fill-color:var(--text); caret-color:var(--text); color-scheme:dark; font-size:14px; padding:11px 14px; font-family:inherit; outline:0; transition:border-color .15s,box-shadow .15s,background-color .15s; }
.page-auth input:-webkit-autofill,
.page-auth input:-webkit-autofill:hover,
.page-auth input:-webkit-autofill:focus{-webkit-text-fill-color:var(--text)!important;-webkit-box-shadow:0 0 0 1000px var(--bg) inset!important;box-shadow:0 0 0 1000px var(--bg) inset!important;caret-color:var(--text)!important;border-color:var(--accent2);transition:background-color 9999s ease-out 0s}
.page-auth input:autofill{background:var(--bg)!important;color:var(--text)!important;-webkit-text-fill-color:var(--text)!important}
.page-auth input::placeholder{color:var(--muted);opacity:1}
.page-auth input:focus { border-color:var(--accent2); box-shadow:0 0 0 3px rgba(56,139,253,.12); }
.password-field-control{position:relative;display:block;width:100%}
.password-field-control>input{padding-right:48px!important}
.password-visibility-toggle{position:absolute!important;top:50%;right:7px;z-index:2;display:grid!important;place-items:center;width:34px!important;min-width:34px!important;height:34px!important;margin:0!important;padding:7px!important;border:0!important;border-radius:7px!important;background:transparent!important;color:#91a0b4!important;transform:translateY(-50%);cursor:pointer}
.password-visibility-toggle svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.password-visibility-toggle .password-eye-slash{display:none}
.password-visibility-toggle.is-visible .password-eye-slash{display:block}
.password-visibility-toggle:hover,.password-visibility-toggle:focus-visible{background:var(--accent)!important;color:#fff!important;outline:0;box-shadow:0 0 0 2px rgba(31,111,235,.28)}
.page-auth form button, .page-auth .btn { width:100%; margin-top:20px; padding:13px; background:var(--accent); border:0; border-radius:8px; color:#fff; font-size:15px; font-weight:600; cursor:pointer; font-family:inherit; }
.page-auth .msg, .page-auth .error { padding:10px 14px; border-radius:8px; font-size:13px; margin-bottom:20px; line-height:1.6; }
.page-auth .msg-err, .page-auth .error { background:rgba(248,81,73,.1); border:1px solid rgba(248,81,73,.3); color:var(--red); }
.page-auth .msg-ok { background:rgba(63,185,80,.1); border:1px solid rgba(63,185,80,.3); color:var(--green); }
.page-auth .back, .page-auth .resend { display:block; text-align:center; margin-top:20px; color:var(--muted); font-size:13px; text-decoration:none; }
.page-auth .back:hover, .page-auth .resend a { color:var(--accent2); }
.page-auth .resend form { display:inline; }
.page-auth .auth-resend-button { appearance:none; border:0; padding:0; background:none; color:var(--accent2); font:inherit; cursor:pointer; }
.page-auth .auth-resend-button:hover { text-decoration:underline; }
.page-auth .otp-input { text-align:center; font-size:32px; font-weight:700; letter-spacing:12px; padding:16px; margin-bottom:20px; }
.page-login .login-grid { display:grid; grid-template-columns:1fr 1fr; flex:1; width:min(calc(100% - 48px),1100px); min-height:620px; margin:48px auto 64px; overflow:hidden; border:1px solid var(--border); border-radius:14px; box-shadow:0 24px 70px rgba(0,0,0,.24); }
.page-login .login-left { background:linear-gradient(160deg,#0d1117,#0f2d4a 60%,#0d1b2a); padding:60px; display:flex; flex-direction:column; justify-content:center; }
.page-login .login-right { background:var(--surface); display:flex; align-items:center; justify-content:center; padding:60px; border-left:1px solid var(--border); }
.page-login .login-card { width:100%; max-width:380px; }
.page-login .login-card h2 { margin:0 0 10px; }
.page-login .login-card > p { margin:0 0 22px; }
.page-login .hero-heading { font-size:clamp(32px,4vw,48px); line-height:1.15; margin-bottom:20px; }
.page-login .hero-heading span, .page-login .disclaimer a { color:var(--accent2); }
.page-login .hero-sub, .page-login .feature-item span, .page-login .login-card p, .page-login .disclaimer { color:var(--muted); line-height:1.7; }
.page-login .feature-list { margin-top:40px; display:flex; flex-direction:column; gap:16px; }
.page-login .feature-item { display:flex; align-items:center; gap:12px; } .page-login .feature-dot { width:8px; height:8px; border-radius:50%; background:var(--accent2); }
.page-login .google-btn { display:flex; align-items:center; justify-content:center; gap:12px; width:100%; min-height:50px; padding:12px 24px; background:var(--bg); border:1px solid var(--border); border-radius:10px; color:var(--text); text-decoration:none; }
.page-login .google-icon { width:20px; height:20px; } .page-login .divider { text-align:center; margin:28px 0; color:var(--muted); font-size:12px; }
.page-login .disclaimer { font-size:12px; text-align:center; margin:22px 0 0; text-wrap:balance;}
.page-login .disclaimer a { white-space:nowrap; } 
.page-login .auth-message { padding:10px 14px; border-radius:8px; font-size:13px; margin-bottom:16px; }
.page-login .auth-message.error { color:var(--red); } .page-login .auth-message.success { color:var(--green); }
.page-login .auth-tabs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:4px; margin-bottom:22px; background:var(--bg); border-radius:10px; padding:4px; border:1px solid var(--border); }
.page-login .auth-tab { width:100%; min-height:40px; margin:0; padding:8px 12px; border:0; border-radius:7px; font-size:13px; font-weight:600; cursor:pointer; background:transparent; color:var(--muted); transition:background-color .15s,color .15s,box-shadow .15s; }
.page-login .auth-tab:hover { color:var(--text); background:rgba(255,255,255,.04); }
.page-login .auth-tab.active { background:var(--accent); color:#fff; box-shadow:0 4px 12px rgba(31,111,235,.25); }
.page-login .auth-login-options { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:16px; }
.page-login .auth-login-options > a { color:var(--accent2); font-size:13px; text-decoration:none; white-space:nowrap; }
.page-login .remember-option { display:inline-flex; align-items:center; gap:8px; margin:0 0 16px; color:var(--muted); font-size:13px; cursor:pointer; }
.page-login .auth-login-options .remember-option { margin:0; }
.page-login .remember-option input { width:16px; height:16px; margin:0; accent-color:var(--accent); }
.page-auth .auth-brand-link { display:inline-block; color:inherit; text-decoration:none; }
.page-auth .auth-brand-link .brand { margin-bottom:28px; }
.page-login .auth-field { min-width:0; margin-bottom:14px; } .page-login .auth-submit { margin-top:0; }
.page-login .login-mobile-brand { display:none; }
@media(max-width:768px){.page-login .login-grid{grid-template-columns:1fr;width:calc(100% - 32px);min-height:auto;margin:24px auto 48px}.page-login .login-left{display:none}.page-login .login-right{min-height:calc(100vh - 136px);border-left:0}.page-login .login-mobile-brand{display:inline-block;margin-bottom:28px}.page-login .login-mobile-brand .site-logo{height:32px}}
@media(max-width:520px){.page-auth .auth-page-main{padding:20px 16px 36px}.page-auth .card{padding:24px}.page-login .login-grid{width:calc(100% - 24px);margin:16px auto 36px}.page-login .login-right{min-height:auto;padding:28px 20px 36px;align-items:flex-start}.page-login .login-card>p{margin-bottom:18px}.page-login .google-btn{min-height:48px;padding:11px 16px}.page-login .disclaimer{margin-top:18px}.page-login .divider{margin:24px 0}.page-auth .otp-input{font-size:27px;letter-spacing:8px}}
@media(max-width:390px){.page-login .login-grid{width:calc(100% - 16px);margin:8px auto 28px}.page-login .login-right{padding:24px 16px 30px}.page-login .auth-login-options{align-items:flex-start;flex-direction:column;gap:10px}.page-login .auth-login-options> a{white-space:normal}.page-login .auth-tabs{margin-bottom:18px}.page-login .auth-tab{min-height:42px}.field-validation-message{font-size:11px}}

/* Landing page */
body.page-landing { --bg:#080c10; --surface:#0e1318; --card:#121820; --border:#1e2733; --text:#e2eaf3; --muted:#637385; --accent:#3b82f6; --accent2:#06b6d4; --green:#22c55e; --red:#ef4444; --yellow:#f59e0b; width:100%; max-width:100%; min-width:0; background:var(--bg); color:var(--text); font-family:'Inter',sans-serif; line-height:1.6; overflow-x:hidden; }
.page-landing html { scroll-behavior:smooth; }
.page-landing .public-header { position:fixed; inset:0 0 auto; width:auto; }
.page-landing .logo { font-size:18px; font-weight:700; display:flex; align-items:center; gap:8px; text-decoration:none; color:var(--text); }
.page-landing .logo-dot { width:10px; height:10px; border-radius:50%; background:var(--green); box-shadow:0 0 8px var(--green); animation:pulse-dot 2s infinite; }
@keyframes pulse-dot{50%{opacity:.6;transform:scale(.8)}}
.page-landing .nav-links { display:flex; align-items:center; gap:28px; list-style:none; }
.page-landing .nav-links a, .page-landing footer a { color:var(--muted); text-decoration:none; }
.page-landing .btn-nav, .page-landing .btn-primary { padding:14px 28px; background:var(--accent); color:#fff; border-radius:9px; font-size:15px; font-weight:600; text-decoration:none; display:inline-flex; }
.page-landing .btn-nav { padding:8px 20px; } .page-landing .btn-nav-ghost, .page-landing .btn-ghost { padding:14px 28px; color:var(--text); border:1px solid var(--border); border-radius:9px; text-decoration:none; }
.page-landing .btn-nav-ghost { padding:8px 20px; }
.page-landing .hero { position:relative; isolation:isolate; width:100%; max-width:100%; min-height:100vh; display:flex; flex-direction:column; align-items:center; justify-content:center; overflow:hidden; text-align:center; padding:130px 24px 80px; background:linear-gradient(110deg,#0b1722 0%,#0a1119 46%,#080c10 100%); }
.page-landing .hero::before { content:''; position:absolute; z-index:-2; width:720px; height:720px; top:-220px; left:calc(50% - 360px); border-radius:42% 58% 65% 35%; background:conic-gradient(from 90deg,rgba(59,130,246,.24),rgba(6,182,212,.1),rgba(34,197,94,.14),rgba(59,130,246,.24)); filter:blur(70px); opacity:.72; animation:hero-aurora 14s ease-in-out infinite alternate; }
.page-landing .hero::after { content:''; position:absolute; z-index:-1; inset:0; background:radial-gradient(ellipse at 22% 8%,rgba(20,74,108,.2),transparent 52%),radial-gradient(ellipse at 78% 34%,rgba(20,48,78,.16),transparent 58%); pointer-events:none; }
.page-landing .hero > * { position:relative; z-index:1; }
.page-landing h1 { font-size:clamp(36px,4.6vw,58px); font-weight:800; line-height:1.08; max-width:820px; margin-bottom:24px; }
.page-landing h1 .blue { color:var(--accent2); }
.page-landing .hero-sub { font-size:17px; color:#8ea0b5; max-width:620px; margin-bottom:54px; }
.page-landing .mock-dashboard, .page-landing .timeline-visual { width:100%; max-width:1100px; background:var(--card); border:1px solid var(--border); border-radius:14px; overflow:hidden; text-align:left; }
.page-landing .hero h1 { animation:landing-rise .7s .08s ease-out both; }
.page-landing .hero-sub { animation:landing-rise .7s .16s ease-out both; }
.page-landing .mock-dashboard { animation:landing-rise .8s .24s ease-out both, dashboard-float 6s 1.1s ease-in-out infinite; box-shadow:0 28px 90px rgba(6,182,212,.09),0 0 0 1px rgba(59,130,246,.08); }
.page-landing .reveal-item { opacity:0; transform:translateY(24px); transition:opacity .6s ease,transform .6s ease; }
.page-landing .reveal-item.is-visible { opacity:1; transform:translateY(0); }
.page-landing .type-card.reveal-item:first-child { transform:translateX(-90px); }
.page-landing .type-card.reveal-item:last-child { transform:translateX(90px); }
.page-landing .type-card.reveal-item.is-visible { transform:translateX(0); }
.page-landing .feature-card.reveal-item:nth-child(2),.page-landing .step.reveal-item:nth-child(2),.page-landing .type-card.reveal-item:nth-child(2){transition-delay:.08s}
.page-landing .feature-card.reveal-item:nth-child(3),.page-landing .step.reveal-item:nth-child(3){transition-delay:.16s}
@keyframes landing-rise { from { opacity:0; transform:translateY(22px); } to { opacity:1; transform:translateY(0); } }
@keyframes dashboard-float { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-8px); } }
@keyframes hero-aurora { 0% { transform:translate3d(-12%,-4%,0) rotate(0deg) scale(.92); } 50% { transform:translate3d(8%,8%,0) rotate(120deg) scale(1.08); } 100% { transform:translate3d(-3%,15%,0) rotate(240deg) scale(.96); } }
.page-landing .mock-dashboard { display:grid; grid-template-columns:240px minmax(0,1fr); background:#0d1117; color:#e6edf3; }
.page-landing .mock-sidebar { display:flex; flex-direction:column; min-height:480px; background:#161b22; border-right:1px solid #30363d; }
.page-landing .mock-brand { display:flex; align-items:center; gap:10px; min-height:81px; padding:24px 24px 20px; border-bottom:1px solid #30363d; font-size:14px; }
.page-landing .mock-logo { height:36px; width:auto; max-width:100%; display:block; }
.page-landing .mock-logo-mark { display:none; width:28px; height:28px; }
.page-landing .mock-brand-icon { display:block; width:30px; height:30px; border-radius:7px; overflow:hidden; flex-shrink:0; }
.page-landing .mock-brand-icon img { width:100%; height:100%; display:block; }
.page-landing .mock-nav-group { display:flex; flex-direction:column; gap:3px; padding:16px 12px 0; }
.page-landing .mock-nav-group + .mock-nav-group { padding-top:0; }
.page-landing .mock-nav-label { margin:16px 0 6px; padding:0 8px; color:#8b949e; font-size:10px; font-weight:600; letter-spacing:1px; text-transform:uppercase; }
.page-landing .mock-nav-item { display:flex; align-items:center; gap:10px; margin-bottom:2px; padding:9px 10px; border-radius:7px; color:#8b949e; font-size:14px; font-weight:500; }
.page-landing .mock-nav-item b { width:18px; color:#e6edf3; font-size:15px; text-align:center; }
.page-landing .mock-nav-item.active { background:rgba(31,111,235,.15); color:#e6edf3; font-weight:500; }
.page-landing .mock-profile { display:flex; align-items:center; gap:9px; margin-top:auto; padding:14px 12px; border-top:1px solid #30363d; font-size:10px; }
.page-landing .mock-profile > span:last-child { min-width:0; }
.page-landing .mock-profile strong,.page-landing .mock-profile small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.page-landing .mock-profile small { max-width:115px; margin-top:2px; color:#8b9eba; font-size:8px; }
.page-landing .mock-avatar { display:grid; flex:0 0 auto; place-items:center; width:29px; height:29px; border-radius:50%; background:#1f6feb; font-weight:700; }
.page-landing .mock-main { min-width:0; }
.page-landing .mock-topbar { display:flex; align-items:center; justify-content:space-between; height:54px; padding:0 22px; background:#0d1117; border-bottom:1px solid #30363d; font-size:14px; }
.page-landing .mock-topbar-title { display:flex; align-items:center; gap:12px; }
.page-landing .mock-topbar-title strong { color:#e6edf3; font-size:14px; }
.page-landing .mock-sidebar-toggle { display:none; flex-direction:column; justify-content:center; align-items:center; gap:3px; width:32px; height:32px; border:1px solid #30363d; border-radius:8px; background:#161b22; }
.page-landing .mock-sidebar-toggle span { display:block; width:14px; height:2px; border-radius:2px; background:#e6edf3; }
.page-landing .mock-topbar button { padding:8px 13px; border:0; border-radius:7px; background:#1f6feb; color:#fff; font:600 10px Inter,sans-serif; pointer-events:none; }
.page-landing .mock-topbar-avatar { width:30px; height:30px; font-size:11px; color:#fff; }
.page-landing .mock-content { padding:22px; }
.page-landing .mock-stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:13px; margin-bottom:18px; }
.page-landing .mock-stat { min-width:0; padding:17px 19px; background:#161b22; border:1px solid #30363d; border-radius:9px; }
.page-landing .mock-stat-total { display:flex; flex-direction:column; }
.page-landing .mock-stat-total .mock-stat-sub { margin-bottom:12px; }
.page-landing .mock-add-btn { margin-top:auto; width:100%; padding:8px; border:0; border-radius:7px; background:#1f6feb; color:#fff; font:600 10px Inter,sans-serif; pointer-events:none; }
.page-landing .mock-stat-label,.page-landing .mock-stat-sub{overflow:hidden;color:#8b9eba;font-size:9px;white-space:nowrap;text-overflow:ellipsis}.page-landing .mock-stat-label{text-transform:uppercase;letter-spacing:.4px}.page-landing .mock-stat-value{margin:6px 0 3px;font-size:25px;font-weight:700}
.page-landing .cv-green{color:var(--green)} .page-landing .cv-red{color:var(--red)} .page-landing .cv-blue{color:var(--accent)}
.page-landing .mock-monitor-card { overflow:hidden; background:#161b22; border:1px solid #30363d; border-radius:9px; }
.page-landing .mock-card-header { display:flex; align-items:center; justify-content:space-between; padding:14px 18px; border-bottom:1px solid #30363d; font-size:11px; }
.page-landing .mock-card-header span,.page-landing .mock-action { padding:5px 10px; border:1px solid #30363d; border-radius:6px; color:#9fb0c6; font-size:9px; }
.page-landing .mock-table-scroll { overflow-x:auto; scrollbar-width:none; }
.page-landing .mock-table-scroll::-webkit-scrollbar { display:none; }
.page-landing .mock-table { width:100%; min-width:730px; border-collapse:collapse; }
.page-landing .mock-table th,.page-landing .mock-table td{padding:10px 13px;border-bottom:1px solid #30363d;color:#9fb0c6;font-size:9px;text-align:left;vertical-align:middle}.page-landing .mock-table th{color:#8b9eba;font-size:8px;font-weight:600;letter-spacing:.4px;text-transform:uppercase}.page-landing .mock-table tr:last-child td{border-bottom:0}.page-landing .mock-table td strong,.page-landing .mock-table td small{display:block}.page-landing .mock-table td strong{color:#fff;font-size:10px}.page-landing .mock-table td small{max-width:180px;margin-top:2px;overflow:hidden;color:#7890ab;font-size:8px;text-overflow:ellipsis;white-space:nowrap}
.page-landing .mock-table .rt { color:#dce7f5; font:8px 'JetBrains Mono',monospace; }
.page-landing .badge { display:inline-flex; padding:3px 8px; border-radius:100px; font-size:8px; font-weight:700; white-space:nowrap; }.page-landing .badge-up{background:rgba(34,197,94,.12);color:var(--green)}
.page-landing .uptime-bar-wrap{display:flex;align-items:center;gap:7px;color:#fff}.page-landing .uptime-bar-wrap b{font-size:9px}.page-landing .uptime-bar{width:74px;height:5px;background:#29313b;border-radius:100px;overflow:hidden}.page-landing .uptime-fill{height:100%;background:var(--green)}.page-landing .uptime-fill.full{width:100%}.page-landing .uptime-fill.mostly{width:94%}
.page-landing .mock-action { display:inline-block; white-space:nowrap; }
@media(max-width:760px){
  .page-landing .mock-dashboard{grid-template-columns:minmax(0,1fr)}
  .page-landing .mock-sidebar{display:none}
  .page-landing .mock-sidebar-toggle{display:flex}
  .page-landing .mock-content{padding:12px}.page-landing .mock-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:12px}.page-landing .mock-stat{padding:12px}.page-landing .mock-stat-value{font-size:20px}
  .page-landing .mock-topbar{padding:0 12px}.page-landing .mock-topbar button{padding:7px 9px}
}
@media(max-width:430px){
  .page-landing .mock-stats{grid-template-columns:1fr}
  .page-landing .mock-table{min-width:620px}
}
.page-landing section { padding:100px 24px; } .page-landing .section-inner{max-width:1100px;margin:auto}.page-landing .section-label{font-size:12px;font-weight:600;color:var(--accent);text-transform:uppercase;margin-bottom:14px}.page-landing .section-title{font-size:clamp(28px,4vw,42px);font-weight:800;margin-bottom:16px}.page-landing .section-sub{font-size:16px;color:var(--muted);max-width:480px;margin-bottom:60px}
.page-landing .features-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--border); border:1px solid var(--border); border-radius:14px; overflow:hidden; }
.page-landing .feature-card { background:var(--card); padding:32px 28px; } .page-landing .feature-icon{width:44px;height:44px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:20px;margin-bottom:18px}.page-landing .feature-title{font-size:15px;font-weight:700;margin-bottom:8px}.page-landing .feature-desc{font-size:13px;color:var(--muted);line-height:1.65}
.page-landing .steps { display:grid; grid-template-columns:repeat(3,1fr); gap:40px; } .page-landing .step{text-align:center}.page-landing .step-num{width:44px;height:44px;border-radius:50%;background:var(--accent);display:flex;align-items:center;justify-content:center;margin:0 auto 20px;font-weight:700}.page-landing .step p{font-size:13px;color:var(--muted)}
.page-landing .highlight-section { position:relative; isolation:isolate; overflow:hidden; background:linear-gradient(180deg,transparent 0%,rgba(59,130,246,.055) 18%,rgba(6,182,212,.045) 55%,transparent 100%); }
.page-landing .highlight-section::before { content:''; position:absolute; z-index:-1; width:420px; height:420px; top:50%; left:50%; border-radius:50%; background:radial-gradient(circle,rgba(6,182,212,.16),transparent 68%); filter:blur(12px); transform:translate(-50%,-50%); pointer-events:none; }
.page-landing .types-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; } .page-landing .type-card,.page-landing .metric-item{background:var(--card);border:1px solid var(--border);border-radius:12px;padding:28px;display:flex;gap:18px}.page-landing .type-title,.page-landing .metric-name{font-size:15px;font-weight:700}.page-landing .type-desc,.page-landing .metric-desc{font-size:13px;color:var(--muted)}
.page-landing .metrics-showcase{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center}.page-landing .metrics-list{display:flex;flex-direction:column;gap:16px}.page-landing .metric-value{margin-left:auto;color:var(--accent)}.page-landing .timeline-visual{padding:24px}.page-landing .tbar-row{display:flex;align-items:center;gap:10px;font-size:11px}.page-landing .tbar-label{color:var(--muted);width:80px}.page-landing .tbar-track{flex:1;height:14px;background:var(--border);border-radius:4px;overflow:hidden}.page-landing .tbar-fill{height:100%}.page-landing .tbar-val{width:50px;color:var(--muted)}
.page-landing .cta-section{text-align:center;background:radial-gradient(ellipse at 50% 100%,rgba(59,130,246,.09),transparent 68%)}.page-landing .cta-section h2{font-size:clamp(28px,4vw,48px);margin-bottom:16px}.page-landing .cta-section p{color:var(--muted);margin-bottom:40px}
.page-landing .cta-section .btn-primary{min-width:190px;min-height:48px;align-items:center;justify-content:center;padding:12px 24px}
.page-landing .uptime-history{display:flex;gap:3px;align-items:flex-end}.page-landing .uh-block{width:8px;border-radius:2px;background:var(--green)}.page-landing .uh-block.down{background:var(--red)}.page-landing .uh-block.partial{background:var(--yellow)}
@media(max-width:768px){.page-landing .public-header{padding:14px 20px}.page-landing .features-grid,.page-landing .steps,.page-landing .types-grid,.page-landing .metrics-showcase{grid-template-columns:1fr}.page-landing .mock-stats{grid-template-columns:repeat(2,1fr)}}
@media(max-width:520px){.page-landing .hero{padding:110px 20px 64px}.page-landing .hero h1,.page-landing .hero-sub{width:100%;max-width:100%}.page-landing h1{font-size:clamp(30px,9vw,34px)}.page-landing .hero-sub{font-size:15px;margin-bottom:40px}.page-landing section{padding:72px 18px}.page-landing .feature-card,.page-landing .type-card,.page-landing .metric-item{padding:22px}.page-landing .timeline-visual{padding:16px}}

/* Pricing page and payment confirmation */
body.page-pricing, body.page-legal { --bg:#0d1117;--surface:#161b22;--surface2:#1c2128;--border:#30363d;--text:#e6edf3;--muted:#8b949e;--accent:#1f6feb;--accent2:#388bfd;--green:#3fb950;--red:#f85149; background:var(--bg);color:var(--text);font-family:'Inter',sans-serif;min-height:100vh}
.page-pricing .topbar,.page-legal .topbar{display:flex;align-items:center;justify-content:space-between;padding:18px 28px;border-bottom:1px solid var(--border)}.page-pricing .brand,.page-legal .brand{display:flex;align-items:center;gap:10px;font-weight:700}.page-pricing .brand-icon,.page-legal .brand-icon{width:32px;height:32px;border-radius:8px;background:var(--accent);display:grid;place-items:center}.page-pricing .topbar a,.page-legal .topbar a{color:var(--muted);text-decoration:none;font-size:14px;font-weight:600}
.page-pricing .pricing-wrap{width:min(calc(100% - 48px),1100px);margin:auto;padding:56px 0 80px;text-align:center}.page-pricing .pricing-wrap h1{font-size:32px}.page-pricing .sub{color:var(--muted);margin-top:10px}.page-pricing .period-switch{display:inline-flex;gap:4px;margin:28px 0 6px;padding:4px;border:1px solid var(--border);border-radius:10px;background:var(--surface)}.page-pricing .period-switch button{min-width:96px;min-height:38px;padding:8px 18px;border:0;border-radius:7px;background:transparent;color:var(--muted);font-weight:600;cursor:pointer}.page-pricing .period-switch button.active{background:var(--accent);color:#fff}.page-pricing .save-hint{min-height:20px;color:var(--green);font-size:12px;margin-bottom:22px}
.page-pricing .plans{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;text-align:left}.page-pricing .plan{border:1px solid var(--border);border-radius:14px;background:var(--surface);padding:24px;display:flex;flex-direction:column;cursor:pointer;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.page-pricing .plan:hover{border-color:#536273}.page-pricing .plan.selected{border-color:var(--accent2);box-shadow:0 0 0 2px rgba(56,139,253,.2),0 18px 45px rgba(0,0,0,.22);transform:translateY(-3px)}.page-pricing .plan .tag{font-size:11px;font-weight:700;color:var(--accent2);text-transform:uppercase;margin-bottom:8px;min-height:14px}.page-pricing .plan .desc,.page-pricing .price-note{color:var(--muted);font-size:13px}.page-pricing .plan .price{font-size:30px;font-weight:800;margin:16px 0 2px}.page-pricing .plan ul{list-style:none;margin:18px 0 22px;display:flex;flex-direction:column;gap:10px}.page-pricing .plan li{position:relative;padding-left:20px;font-size:13px}.page-pricing .plan li::before{position:absolute;left:0;content:'\2713';color:var(--green)}.page-pricing .pricing-feature-detail{display:block;margin-top:4px;color:var(--muted);font-size:11px;line-height:1.45}.page-pricing .plan .cta{display:flex;align-items:center;justify-content:center;min-height:42px;margin-top:auto;text-align:center;padding:10px 16px;border-radius:8px;font-weight:700;font-size:13px;cursor:pointer;text-decoration:none;border:1px solid var(--border);background:transparent;color:var(--text)}.page-pricing .plan .cta.primary{background:#f59e0b;color:#111}.page-pricing .plan .cta.disabled{opacity:.5}.page-pricing #cfg-note{color:var(--muted);font-size:12px;margin-top:20px;min-height:16px}
.page-pricing .policy-footer,.page-legal .policy-footer{border-top:1px solid var(--border);padding:22px 24px;text-align:center}.page-pricing .policy-footer a,.page-legal .policy-footer a{color:var(--muted);text-decoration:none;font-size:13px;font-weight:600;margin:0 10px}
.page-pricing .plan-change-modal{position:fixed;inset:0;z-index:9998;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(0,0,0,.8)}.page-pricing .plan-change-modal[hidden],.page-pricing .plan-change-card [hidden]{display:none}.page-pricing .plan-change-card{width:min(100%,520px);max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px);padding:24px;overflow-y:auto;border:1px solid var(--border);border-radius:14px;background:var(--surface);box-shadow:0 24px 60px rgba(0,0,0,.6)}.page-pricing .plan-change-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.page-pricing .plan-change-header h2{margin:0 0 6px;font-size:20px}.page-pricing .plan-change-header p{margin:0;color:var(--muted);font-size:13px;line-height:1.5}.page-pricing .plan-change-close{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;padding:0;border:0;border-radius:7px;background:transparent;color:var(--muted);font:700 24px/1 Arial,sans-serif;cursor:pointer}.page-pricing .plan-change-close:hover{background:var(--surface2);color:var(--text)}.page-pricing .plan-change-summary{display:grid;gap:0;margin:20px 0;border:1px solid var(--border);border-radius:9px;overflow:hidden}.page-pricing .plan-change-summary div{display:grid;grid-template-columns:145px minmax(0,1fr);gap:16px;padding:12px 14px;border-bottom:1px solid var(--border)}.page-pricing .plan-change-summary div:last-child{border-bottom:0}.page-pricing .plan-change-summary dt{color:var(--muted);font-size:12px}.page-pricing .plan-change-summary dd{margin:0;overflow-wrap:anywhere;font-size:13px;font-weight:700}.page-pricing .plan-change-notice{margin:0;padding:11px 12px;border:1px solid rgba(210,153,34,.35);border-radius:8px;background:rgba(210,153,34,.09);color:#e3b341;font-size:12px;line-height:1.5}.page-pricing .plan-change-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.page-pricing .plan-change-actions .cta{display:inline-flex;align-items:center;justify-content:center;min-width:130px;min-height:42px;margin:0;padding:10px 16px;border:1px solid var(--border);border-radius:8px;background:transparent;color:var(--text);font-family:inherit;font-size:13px;font-weight:700;line-height:1.2;cursor:pointer}.page-pricing .plan-change-actions .cta.ghost:hover{border-color:#536273;background:var(--surface2)}.page-pricing .plan-change-actions .cta.primary{border-color:#f59e0b;background:#f59e0b;color:#111}.page-pricing .plan-change-actions .cta.primary:hover{background:#fbbf24}.page-pricing .plan-change-actions .cta:focus-visible{outline:2px solid var(--accent2);outline-offset:2px}
.page-pricing .payment-success-modal{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(0,0,0,.85)}.page-pricing .payment-success-modal[hidden]{display:none}.page-pricing .payment-success-card{width:100%;max-width:680px;overflow:hidden;border:1px solid #30363d;border-radius:16px;background:#161b22;box-shadow:0 24px 60px rgba(0,0,0,.6)}
.page-pricing .payment-success-header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;background:linear-gradient(135deg,#1f6feb,#388bfd)}.page-pricing .payment-success-brand{display:flex;align-items:center;gap:12px}.page-pricing .payment-success-logo{width:32px;height:32px;display:block;border-radius:8px;overflow:hidden;flex-shrink:0}.page-pricing .payment-success-logo img{width:100%;height:100%;display:block}.page-pricing .payment-success-brand strong,.page-pricing .payment-success-brand span{display:block}.page-pricing .payment-success-brand strong{color:#fff;font-size:18px}.page-pricing .payment-success-brand div>span{margin-top:2px;color:rgba(255,255,255,.8);font-size:14px}
.page-pricing .payment-success-close{display:grid;place-items:center;width:30px;height:30px;padding:0;border:0;background:transparent;color:#111;font:700 25px/1 Arial,sans-serif;cursor:pointer}.page-pricing .payment-success-close:hover{border-radius:6px;background:rgba(0,0,0,.12)}.page-pricing .payment-success-close:focus-visible{outline:2px solid #111;outline-offset:2px}
.page-pricing .payment-success-message{padding:22px 28px 0;text-align:center}.page-pricing .payment-success-message h2{margin:0 0 6px;color:#e6edf3;font-size:24px}.page-pricing .payment-success-message p{margin:0;color:#9aa7b7;font-size:15px}
.page-pricing .payment-success-receipt{display:grid;grid-template-columns:1fr;gap:12px;padding:22px 28px}.page-pricing .payment-success-panel{overflow:hidden;border:1px solid #30363d;border-radius:10px}.page-pricing .payment-success-panel h3{margin:0;padding:10px 14px;background:#0d1117;color:#9aa7b7;font-size:12px;letter-spacing:1px;text-transform:uppercase}.page-pricing .payment-success-rows{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;padding:0;background:#21262d}.page-pricing .payment-success-row{display:grid;align-content:center;gap:5px;min-width:0;min-height:68px;padding:10px 14px;background:#161b22;color:#e6edf3;font-size:14px}.page-pricing .payment-success-row>span:first-child{color:#9aa7b7;font-size:12px}.page-pricing .payment-success-row>span:last-child,.page-pricing .payment-success-row>strong{min-width:0;overflow-wrap:anywhere;text-align:left}.page-pricing .payment-success-amount{color:#3fb950}.page-pricing .payment-success-transaction{color:#9aa7b7;font:11px 'JetBrains Mono',monospace}
.page-pricing .payment-success-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;padding:0 28px 22px}.page-pricing .payment-success-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 22px;border-radius:8px;font-size:14px;font-weight:600;text-decoration:none}.page-pricing .payment-success-dashboard{background:#1f6feb;color:#fff}.page-pricing .payment-success-invoice{border:1px solid #388bfd;color:#388bfd}.page-pricing .payment-success-actions a[hidden]{display:none}.page-pricing .payment-success-footnote{margin:0;padding:0 28px 18px;color:#7d8998;font-size:13px;text-align:center}
@media(max-width:760px){.page-pricing .payment-success-rows{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.page-pricing .payment-success-receipt{padding:18px}.page-pricing .payment-success-rows{grid-template-columns:1fr}.page-pricing .payment-success-message h2{font-size:21px}.page-pricing .plan-change-card{padding:20px}.page-pricing .plan-change-summary div{grid-template-columns:1fr;gap:5px}.page-pricing .plan-change-actions{display:grid;grid-template-columns:1fr}.page-pricing .plan-change-actions .cta{width:100%}}
@media(max-width:820px){.page-pricing .plans{grid-template-columns:1fr}}
@media(max-width:520px){.page-pricing .pricing-wrap{width:calc(100% - 32px);padding:38px 0 56px}.page-pricing .pricing-wrap h1{font-size:27px}.page-pricing .plan{padding:20px}}

/* Legal pages */
.page-legal .hero{min-height:0;padding:56px clamp(20px,3vw,48px) 52px}
.page-legal .hero h1{max-width:920px;margin-bottom:16px;font-size:clamp(32px,4vw,48px)}
.page-legal .hero-sub{margin-bottom:0}
.page-legal .reveal-item,.page-legal .feature-card.reveal-item,.page-legal .type-card.reveal-item,.page-legal .step.reveal-item{opacity:1;transform:none;transition:none}
.page-legal section:not(.hero){padding:40px clamp(20px,3vw,48px) 56px}
.page-legal .section-inner{width:100%;max-width:1100px;margin-inline:auto}
.page-legal .section-sub{max-width:900px}
.page-legal .terms-list{display:flex;flex-direction:column;gap:20px;width:100%;max-width:none;margin:0;text-align:left}
.page-legal .terms-list .feature-card{width:100%;box-sizing:border-box;padding:clamp(18px,2.5vw,32px)}
.page-legal .terms-list .feature-desc{margin-bottom:10px}
.page-legal .terms-list ul{margin:10px 0 0 20px;padding:0}
.page-legal .terms-list ul ul{margin-top:8px}
.page-legal .terms-list li{margin-bottom:8px;line-height:1.6}
.page-legal .terms-list a{color:inherit;text-decoration:underline}
.page-legal .public-header{position:sticky}
.page-legal .public-footer{grid-template-columns:auto minmax(0,1fr) auto}

/* Shared public website header and footer */
body .public-header { position:sticky; top:0; z-index:100; display:flex; align-items:center; justify-content:space-between; gap:28px; width:100%; min-height:72px; padding-block:16px; padding-inline:clamp(20px,3vw,48px); background:linear-gradient(180deg,rgba(8,12,16,.98),rgba(10,18,25,.92)); border:0; border-radius:0; backdrop-filter:blur(12px); }
.public-logo { display:inline-flex; align-items:center; gap:10px; color:var(--text); font-size:17px; font-weight:700; text-decoration:none; }
.public-logo .site-logo { height:36px; }
.site-logo { height:30px; width:auto; max-width:100%; display:block; }
.page-auth .site-logo { height:36px; }
.public-header > .public-logo { margin-left:0; }
.public-logo-mark { width:34px; height:34px; display:block; border-radius:9px; overflow:hidden; flex-shrink:0; }
.public-logo-mark img { width:100%; height:100%; display:block; }
body .public-nav-links { display:flex; align-items:center; justify-content:flex-end; gap:26px; margin:0 0 0 auto; padding:0; list-style:none; }
.public-nav-account-link { display:none; }
.public-nav-links a { color:var(--muted); font-size:14px; font-weight:600; text-decoration:none; transition:color .15s; }
.public-nav-links a:hover { color:var(--text); }
.public-nav-links .public-nav-button { display:inline-flex; align-items:center; justify-content:center; min-width:96px; min-height:38px; padding:8px 16px; border:1px solid var(--border); border-radius:8px; color:var(--text); }
.public-nav-links .public-nav-cta { border-color:var(--accent); background:var(--accent); color:#fff; box-shadow:0 0 0 1px rgba(255,255,255,.08),0 8px 24px rgba(31,111,235,.24); }
.public-nav-links .public-auth-button { gap:8px; white-space:nowrap; }
.public-auth-button svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.public-account { position:relative; flex-shrink:0; }
.public-account-button { display:grid; place-items:center; width:40px; height:40px; padding:0; border:2px solid var(--border); border-radius:50%; background:var(--surface); color:var(--text); cursor:pointer; transition:border-color .15s; }
.public-account-button:hover,.public-account-button[aria-expanded="true"] { border-color:var(--accent2); }
.public-account-avatar { display:grid; place-items:center; width:32px; height:32px; overflow:hidden; border-radius:50%; background:var(--accent); color:#fff; font-size:12px; font-weight:700; }
.public-account-avatar img { width:100%; height:100%; object-fit:cover; }
.public-account .public-account-menu { position:absolute; top:calc(100% + 10px); right:0; width:230px; overflow:hidden; padding:6px; border:1px solid var(--border); border-radius:10px; background:var(--surface); box-shadow:0 16px 40px rgba(0,0,0,.45); }
.public-account .public-account-menu[hidden] { display:none; }
.public-account .public-account-details { padding:10px 10px 12px; border-bottom:1px solid var(--border); }
.public-account-name-row{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:8px}
.public-account-name-row strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.public-account-details .public-account-type{display:inline-flex;flex:0 0 auto;align-items:center;padding:2px 6px;border:1px solid rgba(56,139,253,.45);border-radius:999px;background:rgba(31,111,235,.14);color:#79b8ff;font-size:9px;font-weight:800;letter-spacing:.4px;line-height:1.3;text-transform:uppercase}
.public-account-public-links { display:block; }
.public-account-details strong,.public-account-details span { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.public-account-details strong { color:var(--text); font-size:13px; }
.public-account-details span { margin-top:3px; color:var(--muted); font-size:11px; }
.public-account-menu a { display:block; padding:10px; border-radius:6px; color:var(--muted); font-size:13px; font-weight:600; text-decoration:none; }
.public-account-menu a:hover { background:rgba(255,255,255,.05); color:var(--text); }
.public-account-menu .public-account-mobile-link { display:none; }
.public-incident-report{display:grid;grid-template-columns:minmax(0,.85fr) minmax(420px,1.15fr);gap:48px;width:min(1040px,calc(100% - 40px));margin:0 auto;padding:64px 0 80px}
.public-incident-intro{align-self:start;padding-top:26px}
.public-incident-intro h1{margin:8px 0 48px;font-size:34px;line-height:1.15}
.public-incident-intro h2{margin:0 0 12px;font-size:18px}
.public-incident-intro>p{max-width:470px;color:var(--muted);font-size:14px;line-height:1.7}
.public-incident-intro .notice{margin-top:24px}
.public-incident-card{align-self:start}
.public-incident-card .card-body{padding:22px}
.public-incident-reporter-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.incident-report-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.public-nav-toggle { display:none; flex-direction:column; justify-content:center; align-items:center; gap:4px; flex-shrink:0; width:40px; height:40px; padding:0; border:1px solid var(--border); border-radius:10px; background:var(--surface); cursor:pointer; }
.public-nav-toggle span { display:block; width:18px; height:2px; border-radius:2px; background:var(--text); transition:transform .2s, opacity .2s; }
.public-header.nav-open .public-nav-toggle span:nth-child(1) { transform:translateY(6px) rotate(45deg); }
.public-header.nav-open .public-nav-toggle span:nth-child(2) { opacity:0; }
.public-header.nav-open .public-nav-toggle span:nth-child(3) { transform:translateY(-6px) rotate(-45deg); }
.page-landing .public-footer,.page-pricing .public-footer,.page-legal .public-footer,.page-auth .public-footer,.page-dashboard .public-footer { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:20px 32px; padding-block:32px; padding-inline:clamp(20px,3vw,48px); border:0; border-radius:0; background:linear-gradient(180deg,rgba(31,111,235,.045),var(--surface) 48%); color:var(--muted); font-size:13px; }
.public-footer-brand { grid-column:1; justify-self:start; padding:0; border:0; }
.public-footer-brand .public-logo { display:inline-flex; }
.public-footer-copyright { grid-column:3; grid-row:1; justify-self:end; margin:0; color:var(--muted); font-size:13px; text-align:right; white-space:nowrap; }
.public-footer-menu { grid-column:2; grid-row:1; position:static; justify-self:center; padding:0; border:0; background:none; backdrop-filter:none; }
.public-footer-menu ul { display:flex; flex-direction:column; align-items:flex-end; gap:8px; margin:0; padding:0; list-style:none; }
.page-landing .public-footer-menu ul,.page-pricing .public-footer-menu ul,.page-legal .public-footer-menu ul,.page-auth .public-footer-menu ul,.page-dashboard .public-footer-menu ul { flex-direction:row; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:10px 18px; }
.public-footer-menu a { color:var(--muted); font-size:13px; font-weight:600; text-decoration:none; transition:color .15s; }
.public-footer-menu a:hover { color:var(--text); }
body .public-back-to-top { position:fixed; right:24px; bottom:24px; z-index:500; display:grid; place-items:center; width:44px; height:44px; padding:0; border:1px solid rgba(56,139,253,.65); border-radius:50%; background:linear-gradient(145deg,#2382f7,#1f6feb); color:#fff; box-shadow:0 10px 28px rgba(31,111,235,.34),inset 0 1px 0 rgba(255,255,255,.22); font:700 22px/1 Inter,sans-serif; cursor:pointer; touch-action:manipulation; opacity:0; visibility:hidden; transform:translateY(14px) scale(.88); transition:opacity .2s ease,visibility .2s ease,transform .2s ease,box-shadow .2s ease; }
body .public-back-to-top.is-visible { opacity:1; visibility:visible; transform:translateY(0) scale(1); }
body .public-back-to-top:hover { transform:translateY(-3px) scale(1.04); box-shadow:0 14px 34px rgba(31,111,235,.46),inset 0 1px 0 rgba(255,255,255,.26); }
body .public-back-to-top:focus-visible { outline:3px solid rgba(56,139,253,.42); outline-offset:3px; }
@media(min-width:761px) {
  .public-account-public-links { display: none; }
}
@media(max-width:760px) {
  .public-account-menu .public-account-mobile-link { display:block; }
  body .public-header { gap:10px; padding:12px 20px; min-height:64px; }
  .page-dashboard .topbar { top:64px; }
  .page-dashboard .sidebar-toggle { top:76px; left:16px; }
  .page-dashboard .public-header { justify-content:space-between; padding-inline:16px; }
  .page-dashboard .public-header > .public-logo { align-self:center; min-width:0; }
  .page-dashboard .public-account { align-self:center; margin-left:auto; margin-right:0; }
  .page-dashboard .public-nav-toggle { display:none; }
  .public-header-authenticated .public-account { margin-left:auto; margin-right:0; }
 /* .public-header-authenticated .public-nav-toggle { display:none; } */
  .public-header > .public-logo { margin-left:0; }
  .public-logo .site-logo { height:32px; }
  .public-account { margin-left:auto; margin-right:50px; }
  body .public-nav-toggle { display:flex; position:absolute; top:12px; right:20px; margin:0; }
  body .public-nav-links { display:none; position:fixed; top:72px; left:16px; right:16px; width:auto; max-width:none; box-sizing:border-box; flex-direction:column; align-items:stretch; gap:2px; margin:0; padding:10px; border:1px solid var(--border); border-radius:12px; background:#0e1318; box-shadow:0 18px 40px rgba(0,0,0,.45); }
  .public-header.nav-open .public-nav-links { display:flex; }
  .public-nav-links li { width:100%; }
  body .public-nav-links .public-nav-account-link { display:block; }
  .public-nav-links a { display:block; width:100%; max-width:100%; padding:11px 12px; border-radius:7px; font-size:15px; }
  .public-nav-links a:hover { background:rgba(255,255,255,.05); }
  .public-nav-links .public-nav-button { display:flex; width:100%; max-width:100%; min-height:44px; margin-top:6px; padding:9px 14px; box-sizing:border-box; font-size:14px; }
  .page-landing .public-footer,.page-pricing .public-footer,.page-legal .public-footer,.page-auth .public-footer,.page-dashboard .public-footer { grid-template-columns:1fr; justify-items:center; gap:14px; padding:24px 20px; background:var(--surface); text-align:center; }
  .public-footer-brand { grid-column:1; grid-row:auto; justify-self:center; padding:0; text-align:center; }
  .public-footer-copyright,.public-footer-menu { grid-column:1; grid-row:auto; justify-self:center; }
  .public-footer-menu { width:100%; }
  .public-footer-menu ul,.page-landing .public-footer-menu ul,.page-pricing .public-footer-menu ul,.page-legal .public-footer-menu ul,.page-auth .public-footer-menu ul,.page-dashboard .public-footer-menu ul { display:flex; flex-direction:column; width:min(100%,240px); margin-inline:auto; gap:0; align-items:stretch; justify-content:center; }
  .public-footer-menu li { width:100%; text-align:center; }
  .public-footer-menu a { display:flex; align-items:center; justify-content:center; min-height:40px; padding:8px 12px; white-space:normal; }
  .public-footer-copyright { margin-top:4px; text-align:center; }
  body .public-back-to-top { right:16px; bottom:16px; width:42px; height:42px; }
}
@media(prefers-reduced-motion:reduce){
  .page-landing .hero-badge,.page-landing .hero h1,.page-landing .hero-sub,.page-landing .mock-dashboard,.page-landing .hero::before,.page-landing .hero::after{animation:none}
  .page-landing .reveal-item{opacity:1;transform:none;transition:none}
  body .public-back-to-top{transition:none}
}

@media(min-width:901px){
  body.page-dashboard { --sidebar:270px; }

  body.page-dashboard .public-header { border-bottom:1px solid var(--border); } 
  .page-dashboard .sidebar-nav { padding-left:38px; padding-right:20px; }
  .page-dashboard .nav-link { white-space:nowrap; } 
  .page-dashboard .nav-label {
    margin:18px 0 6px;
    padding:16px 0 0 10px;
    border-top:1px solid var(--border);
  }
  .page-dashboard .sidebar-nav .nav-label:first-child {
    margin-top:0;
    padding-top:0;
    border-top:0;
  }
 
  .page-dashboard .sidebar-plan-wrap {
    padding:14px 12px 16px;
    border-top:1px solid var(--border);
  }
  .page-dashboard .sidebar-plan-card {
    width:100%;
    border:1px solid rgba(56,139,253,.65);
    border-radius:10px;
    padding:14px;
  }
 
  .page-dashboard .sidebar-user {
    padding:16px 20px;
    border-top:1px solid var(--border);
  }
 
  .page-dashboard .content { padding-right:48px; }
  .page-dashboard .topbar { padding-right:48px; }
}

.page-dashboard .recipient-page-guide{margin-bottom:24px}
.page-dashboard .recipient-form-card{margin-bottom:24px;overflow:hidden}
.page-dashboard .recipient-form-card .card-header>div,.page-dashboard .recipient-list-card .card-header>div{min-width:0}
.page-dashboard .recipient-form-card .card-header .muted,.page-dashboard .recipient-list-card .card-header .muted{margin-top:5px}
.page-dashboard .recipient-form{padding:24px}
.page-dashboard .recipient-form-grid{display:grid;grid-template-columns:minmax(240px,.72fr) minmax(0,1.28fr);gap:24px;align-items:start}
.page-dashboard .recipient-instructions{margin:0}
.page-dashboard .recipient-instructions ol{display:grid;gap:10px;margin:14px 0 0;padding-left:20px;color:var(--muted);font-size:13px;line-height:1.55}
.page-dashboard .recipient-instructions li::marker{color:var(--accent2);font-weight:700}
.page-dashboard .recipient-fields{min-width:0}
.page-dashboard .recipient-fields>.form-group:first-child{margin-top:0}
.page-dashboard .recipient-email-list{min-height:132px;resize:vertical;line-height:1.6}
.page-dashboard .recipient-category-fieldset{min-width:0;margin:22px 0 0;padding:0;border:0}
.page-dashboard .recipient-category-fieldset legend{padding:0;color:var(--text);font-size:14px;font-weight:600}
.page-dashboard .recipient-category-fieldset .form-help{margin:6px 0 14px;color:var(--muted);font-size:12px;line-height:1.55}
.page-dashboard .recipient-category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.page-dashboard .notification-toggle{display:flex;flex-direction:row;align-items:flex-start;gap:11px;min-width:0;margin:0;padding:14px;border:1px solid var(--border);border-radius:9px;background:var(--surface2);color:var(--text);cursor:pointer;transition:border-color .15s,background .15s}
.page-dashboard .notification-toggle:hover{border-color:#53647c;background:rgba(255,255,255,.035)}
.page-dashboard .notification-toggle-all{grid-column:1/-1;border-color:rgba(56,139,253,.48);background:rgba(31,111,235,.09)}
.page-dashboard .notification-toggle input{flex:0 0 auto;width:16px;height:16px;margin:2px 0 0;accent-color:var(--accent)}
.page-dashboard .notification-toggle input:disabled{cursor:not-allowed;opacity:.5}
.page-dashboard .notification-toggle:has(input:disabled){cursor:default;opacity:.6}
.page-dashboard .notification-toggle span{min-width:0}
.page-dashboard .notification-toggle strong,.page-dashboard .notification-toggle small{display:block}
.page-dashboard .notification-toggle strong{color:var(--text);font-size:13px}
.page-dashboard .notification-toggle small{margin-top:4px;color:var(--muted);font-size:11px;font-weight:400;line-height:1.45}
.page-dashboard .recipient-form-actions{display:flex;align-items:center;gap:10px;margin-top:22px;padding-top:18px;border-top:1px solid var(--border)}
.page-dashboard .recipient-form-actions .btn{justify-content:center;min-width:120px}
.page-dashboard .recipient-list-card{overflow:hidden}
.page-dashboard .recipient-count{flex:0 0 auto;padding:5px 9px;border:1px solid var(--border);border-radius:999px;background:var(--bg);color:var(--muted);font-size:11px;font-weight:600;white-space:nowrap}
.page-dashboard .recipient-table{min-width:640px}
.page-dashboard .recipient-table th:last-child,.page-dashboard .recipient-table td:last-child{width:1%;white-space:nowrap}
.page-dashboard .recipient-email-cell{font-weight:600;overflow-wrap:anywhere}
.page-dashboard .recipient-delivery-label{display:inline-flex;padding:5px 9px;border-radius:999px;background:rgba(31,111,235,.13);color:#79c0ff;font-size:11px;font-weight:600}
.page-dashboard .recipient-actions{display:flex;align-items:center;gap:8px}
.page-dashboard .recipient-actions form{margin:0}

.page-dashboard .admin-recipient-add-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:24px;align-items:start}
.page-dashboard .admin-recipient-add-card{min-width:0;overflow:hidden}
.page-dashboard .admin-recipient-add-card .card-header>div{min-width:0}
.page-dashboard .admin-recipient-add-card .card-header .muted{margin-top:4px}
.page-dashboard .admin-recipient-add-card .btn{width:auto;justify-content:center}
.page-dashboard .admin-recipient-categories{min-width:0;margin:0 0 20px;padding:0;border:0}
.page-dashboard .admin-recipient-categories legend{margin-bottom:8px;color:var(--text);font-size:13px;font-weight:700}
.page-dashboard .admin-recipient-category-options,.page-dashboard .admin-recipient-inline-categories{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.page-dashboard .admin-recipient-category-options label,.page-dashboard .admin-recipient-inline-categories label{position:relative;margin:0;cursor:pointer}
.page-dashboard .admin-recipient-category-options input,.page-dashboard .admin-recipient-inline-categories input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.page-dashboard .admin-recipient-category-options span,.page-dashboard .admin-recipient-inline-categories span{display:inline-flex;min-height:34px;align-items:center;justify-content:center;padding:7px 10px;border:1px solid var(--border);border-radius:7px;background:var(--bg);color:var(--muted);font-size:11px;font-weight:700}
.page-dashboard .admin-recipient-category-options input:checked+span,.page-dashboard .admin-recipient-inline-categories input:checked+span{border-color:rgba(56,139,253,.6);background:rgba(31,111,235,.14);color:#79b8ff}
.page-dashboard .admin-recipient-category-options input:focus-visible+span,.page-dashboard .admin-recipient-inline-categories input:focus-visible+span{outline:2px solid var(--accent2);outline-offset:2px}
.page-dashboard .admin-recipient-list-card{margin-bottom:24px;overflow:hidden}
.page-dashboard .admin-recipient-list-card .table-scroll{border:0;border-radius:0}
.page-dashboard .admin-recipient-table{min-width:760px}
.page-dashboard .admin-customer-recipient-table{min-width:1180px}
.page-dashboard .admin-recipient-email{font-weight:600;white-space:nowrap}
.page-dashboard .admin-recipient-row-actions{display:flex;align-items:center;gap:7px;white-space:nowrap}
.page-dashboard .admin-recipient-customer-header{gap:16px}
.page-dashboard .admin-recipient-customer-header input[type=search]{width:min(100%,300px)}

@media(max-width:900px){
  .page-dashboard .recipient-form-grid{grid-template-columns:1fr}
  .page-dashboard .admin-recipient-add-grid{grid-template-columns:1fr}
}
@media(max-width:700px){
  .page-dashboard .recipient-form{padding:18px 16px}
  .page-dashboard .recipient-category-grid{grid-template-columns:1fr}
  .page-dashboard .notification-toggle-all{grid-column:auto}
  .page-dashboard .recipient-list-card .card-header{align-items:flex-start}
  .page-dashboard .recipient-list-card .table-scroll{overflow:visible}
  .page-dashboard .recipient-table,.page-dashboard .recipient-table tbody,.page-dashboard .recipient-table tr,.page-dashboard .recipient-table td{display:block;width:100%;min-width:0}
  .page-dashboard .recipient-table thead{display:none}
  .page-dashboard .recipient-table tbody{padding:0 16px 16px}
  .page-dashboard .recipient-table tr{margin-top:14px;padding:12px 14px;border:1px solid var(--border);border-radius:9px;background:var(--bg)}
  .page-dashboard .recipient-table td,.page-dashboard .recipient-table td:last-child{display:grid;grid-template-columns:82px minmax(0,1fr);gap:12px;width:100%;padding:8px 0;border:0;white-space:normal}
  .page-dashboard .recipient-table td::before{content:attr(data-label);color:var(--muted);font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.4px}
  .page-dashboard .recipient-actions{flex-wrap:wrap}
  .page-dashboard .admin-recipient-customer-header{align-items:stretch;flex-direction:column}
  .page-dashboard .admin-recipient-customer-header input[type=search]{width:100%}
}
@media(max-width:460px){
  .page-dashboard .recipient-form-actions{display:grid;grid-template-columns:1fr}
  .page-dashboard .recipient-form-actions .btn{width:100%;min-width:0}
  .page-dashboard .recipient-table td,.page-dashboard .recipient-table td:last-child{grid-template-columns:1fr;gap:5px}
  .page-dashboard .recipient-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}
  .page-dashboard .recipient-actions .btn,.page-dashboard .recipient-actions form,.page-dashboard .recipient-actions form .btn{width:100%;justify-content:center}
}

/* Shared typography system */
:is(body.page-dashboard,body.page-auth,body.page-landing,body.page-pricing,body.page-legal){
  font-family:var(--font-sans);
  font-size:var(--type-base);
  font-weight:400;
  line-height:var(--leading-normal);
  font-synthesis:none;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
:is(body.page-dashboard,body.page-auth,body.page-landing,body.page-pricing,body.page-legal) :is(button,input,select,textarea){
  font-family:inherit;
}
:is(body.page-dashboard,body.page-auth,body.page-landing,body.page-pricing,body.page-legal) :is(h1,h2,h3,h4,h5,h6){
  font-family:inherit;
}
:is(body.page-dashboard,body.page-auth,body.page-landing,body.page-pricing,body.page-legal) :is(p,li,td,th,label,input,select,textarea,button,a,small){
  line-height:var(--leading-normal);
}

.page-dashboard .page-title{font-size:var(--type-xl);font-weight:700;line-height:var(--leading-tight)}
.page-dashboard .page-subtitle{margin-top:4px;color:var(--muted);font-size:var(--type-md);line-height:var(--leading-normal)}
.page-dashboard .topbar-status {
  display:inline-flex; align-items:center; gap:10px;
  padding:6px 8px 6px 14px;
  border:1px solid var(--border); border-radius:999px;
  background:var(--surface);
}
.page-dashboard .topbar-status-label {
  color:var(--muted); font-size:var(--type-sm); font-weight:600;
  text-transform:uppercase; letter-spacing:.5px; white-space:nowrap;
}

@media(max-width:520px){
  .page-dashboard .topbar-status { width:100%; justify-content:space-between; }
}
.page-dashboard .topbar .back-link { display:inline-flex; margin-bottom:12px; }
.page-dashboard .topbar .page-title + .muted { margin-top:4px; }
.page-dashboard .card-header h2,.page-dashboard .card-header h3{font-size:var(--type-lg);font-weight:600}
.page-dashboard .card-header p{font-size:var(--type-sm);line-height:var(--leading-normal)}
.page-dashboard .monitor-table th{font-size:var(--type-xs);font-weight:700;line-height:var(--leading-normal)}
.page-dashboard .monitor-table td{font-size:var(--type-base);line-height:var(--leading-normal)}
.page-dashboard .btn{font-size:var(--type-md);font-weight:600;line-height:var(--leading-normal)}
.page-dashboard .btn-sm{font-size:var(--type-sm)}
.page-dashboard label{font-size:var(--type-md);line-height:var(--leading-normal)}
.page-dashboard input:not([type]),
.page-dashboard input[type=text],
.page-dashboard input[type=url],
.page-dashboard input[type=email],
.page-dashboard input[type=number],
.page-dashboard input[type=password],
.page-dashboard input[type=search],
.page-dashboard input[type=date],
.page-dashboard input[type=datetime-local],
.page-dashboard input[type=time],
.page-dashboard select,
.page-dashboard textarea{font-size:var(--type-base);line-height:var(--leading-normal)}
.page-dashboard .notice{font-size:var(--type-md);line-height:var(--leading-normal)}
.page-dashboard .nav-link{font-size:var(--type-base);font-weight:500}
.page-dashboard .nav-label{font-size:var(--type-xs);font-weight:700}
.page-dashboard .badge{font-size:var(--type-xs);font-weight:700;line-height:var(--leading-normal)}
.page-dashboard .form-hint{font-size:var(--type-sm);line-height:var(--leading-normal)}

.page-dashboard .admin-access-toggle{font-size:var(--type-md);font-weight:600}
.page-dashboard .admin-plan-selection{font-size:var(--type-sm);font-weight:700}
.page-dashboard .admin-plan-edit-label{font-size:var(--type-xs);font-weight:700}
.page-dashboard .admin-plan-popover-heading strong{font-size:var(--type-base)}
.page-dashboard .admin-plan-popover-heading small,
.page-dashboard .admin-plan-options small,
.page-dashboard .admin-plan-popover-footer>span{font-size:var(--type-xs);line-height:var(--leading-normal)}
.page-dashboard .admin-plan-options strong{font-size:var(--type-md)}

.page-auth :is(h2,.card h1){font-size:var(--type-2xl);font-weight:700}
.page-auth :is(p.lead,.card p){font-size:var(--type-base);line-height:var(--leading-relaxed)}
.page-auth label{font-size:var(--type-md);font-weight:600;line-height:var(--leading-normal)}
.page-auth :is(input[type=text],input[type=email],input[type=password],select,textarea){font-size:var(--type-base);line-height:var(--leading-normal)}
.page-auth :is(.msg,.error,.back,.resend){font-size:var(--type-md);line-height:var(--leading-normal)}
.page-auth :is(form button,.btn){font-size:var(--type-base);font-weight:600;line-height:var(--leading-normal)}

:is(.page-landing,.page-pricing,.page-legal) .public-nav-links a{font-size:var(--type-base);font-weight:500;line-height:var(--leading-normal)}
:is(.page-landing,.page-pricing,.page-legal) .public-account-details{line-height:var(--leading-normal)}
:is(.page-landing,.page-pricing,.page-legal) .public-footer{font-size:var(--type-md);line-height:var(--leading-relaxed)}
.page-landing :is(.section-sub,.feature-card p,.type-card p,.step p){font-size:var(--type-base);line-height:var(--leading-relaxed)}
.page-pricing :is(.pricing-subtitle,.pricing-card p),
@media(max-width:760px){
  .page-dashboard .page-title{font-size:18px}
  .page-dashboard .card-header h3{font-size:15px}
  .page-auth :is(h2,.card h1){font-size:22px}
  :is(.page-landing,.page-pricing,.page-legal) .public-nav-links a{font-size:15px}
}
@media(max-width:980px){
  .page-dashboard .admin-subscription-filters .card-body{grid-template-columns:minmax(0,1fr) auto}
  .page-dashboard .admin-subscription-filters input[type=search],.page-dashboard .admin-subscription-filter-dates{grid-column:1/-1}
  .page-dashboard .admin-user-account-meta{width:100%;margin-left:72px}
  .page-dashboard .admin-user-plan-form{grid-template-columns:1fr 1fr}
  .page-dashboard .admin-user-plan-actions{grid-column:1/-1}
}
@media(max-width:680px){
  .page-dashboard .monitor-plan-usage{align-items:stretch;flex-direction:column;gap:12px}
  .page-dashboard .monitor-plan-usage-meter{flex-basis:auto;width:100%}
  .page-dashboard .admin-paddle-plan-preview dl{grid-template-columns:1fr}
  .page-dashboard .admin-monitor-toolbar .card-body{grid-template-columns:1fr}
  .page-dashboard .admin-monitor-toolbar-footer{grid-column:auto}
  .page-dashboard .admin-user-plan-summary{width:100%;align-items:stretch;flex-wrap:wrap}
  .page-dashboard .admin-user-plan-summary .btn{width:100%}
  .page-dashboard .admin-user-account-meta{margin-left:0}
  .page-dashboard .admin-user-plan-editor-heading{flex-direction:column}
  .page-dashboard .admin-user-plan-form{grid-template-columns:1fr}
  .page-dashboard .admin-user-plan-actions{grid-column:auto}
  .page-dashboard .admin-user-plan-actions .btn{width:100%}
  .page-dashboard .admin-user-access-actions{gap:10px;margin-top:18px}
}
/*** ***/
/* =====================================================
   Logo theme: cream page + navy + logo blue
   Paste at the END of the CSS file
   ===================================================== */

body.page-landing,
body.page-landing.page-legal {
  --bg:#f8f3e8; --surface:#fffdf8; --surface2:#f3ecdc; --card:#fffdf9;
  --border:#e6dcc6; --text:#0e1a2e; --muted:#5f6f86;
  --accent:#1f6feb; --accent2:#38a8ff; --violet:#38a8ff;
  --green:#1f9d55; --red:#d64545; --yellow:#b7791f;
  background:var(--bg);
  color:var(--text);
}

/* ---------- Dark parts keep dark colours ---------- */
.page-landing .public-header,
.page-landing .public-footer,
.page-landing .mock-dashboard,
.page-landing .cta-section {
  --text:#e6edf3; --muted:#9fb0c6; --border:#243247;
  --surface:#111a2b; --card:#111a2b;
  --accent:#1f6feb; --accent2:#38a8ff;
  --green:#3fb950; --red:#f85149;
}

/* ---------- Header / footer ---------- */
body.page-landing .public-header {
  background:linear-gradient(180deg,#0b1424,#0d1830);
  border-bottom:1px solid rgba(56,168,255,.18);
}
.page-landing .public-nav-links a:hover { color:#38a8ff; }
.page-landing .public-nav-links .public-nav-cta {
  background:#1f6feb; border-color:#1f6feb; color:#fff; font-weight:700;
  box-shadow:0 6px 20px rgba(31,111,235,.35);
}
.page-landing .public-footer {
  background:linear-gradient(180deg,#0d1830,#0b1424);
  border-top:1px solid rgba(56,168,255,.15);
  color:#9fb0c6;
}
.page-landing .public-footer-menu a:hover { color:#38a8ff; }

/* ---------- Hero ---------- */
.page-landing .hero {
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%,rgba(56,168,255,.16),transparent 70%),
    linear-gradient(180deg,#fbf7ee 0%,#f8f3e8 100%);
}
.page-landing .hero::before {
  width:520px; height:520px; top:-240px; left:calc(50% - 260px);
  border-radius:50%; animation:none; filter:blur(70px); opacity:.55;
  background:radial-gradient(circle,rgba(31,111,235,.35),rgba(56,168,255,.15) 55%,transparent 70%);
}
.page-landing .hero::after {
  background:linear-gradient(rgba(14,26,46,.045) 1px,transparent 1px) 0 0/100% 56px;
  -webkit-mask-image:linear-gradient(180deg,#000 0%,transparent 70%);
          mask-image:linear-gradient(180deg,#000 0%,transparent 70%);
}
.page-landing h1 { color:var(--text); font-weight:800; letter-spacing:-.03em; }
.page-landing h1 .blue {
  background:linear-gradient(95deg,#1f6feb 0%,#38a8ff 100%);
  -webkit-background-clip:text; background-clip:text;
  color:transparent; -webkit-text-fill-color:transparent;
}
.page-landing .hero-sub { color:#55657d; }

/* ---------- Buttons ---------- */
.page-landing .btn-primary,
.page-landing .btn-nav {
  background:linear-gradient(135deg,#2b7bff,#1f6feb);
  color:#fff; font-weight:700;
  box-shadow:0 10px 26px rgba(31,111,235,.32);
  transition:transform .15s,box-shadow .15s;
}
.page-landing .btn-primary:hover,
.page-landing .btn-nav:hover {
  transform:translateY(-2px);
  box-shadow:0 14px 32px rgba(31,111,235,.45);
}
.page-landing .btn-ghost,
.page-landing .btn-nav-ghost { color:var(--text); border-color:#d8ccb0; }
.page-landing .btn-ghost:hover,
.page-landing .btn-nav-ghost:hover {
  border-color:#1f6feb; background:rgba(31,111,235,.07); color:#1f6feb;
}
.page-landing .public-header .btn-nav-ghost { color:#e6edf3; border-color:#243247; }
.page-landing .public-header .btn-nav-ghost:hover { color:#38a8ff; border-color:#38a8ff; background:rgba(56,168,255,.08); }

/* ---------- Dashboard preview (dark, on cream) ---------- */
.page-landing .mock-dashboard {
  border:1px solid #1d2b44;
  box-shadow:0 40px 90px rgba(14,26,46,.28),0 0 0 6px rgba(31,111,235,.05);
}
.page-landing .mock-nav-item.active { background:rgba(31,111,235,.18); }
.page-landing .mock-add-btn,
.page-landing .mock-topbar button { background:#1f6feb; color:#fff; }
.page-landing .mock-avatar { background:#1f6feb; color:#fff; }
.page-landing .cv-blue { color:#4c9aff; }
.page-landing .uptime-fill { background:#3fb950; }

/* ---------- Section headings (fixes the wide box) ---------- */
.page-landing .section-label {
  display:inline-flex; align-items:center; width:fit-content;
  padding:6px 14px; margin-bottom:16px;
  border:1px solid rgba(31,111,235,.28);
  border-radius:999px;
  background:rgba(31,111,235,.08);
  color:#1f6feb;
  font-size:11px; font-weight:700; letter-spacing:1.4px; text-transform:uppercase;
}
.page-landing .section-title { color:var(--text); font-weight:800; letter-spacing:-.025em; }
.page-landing .section-sub { color:var(--muted); line-height:1.7; }

/* ---------- Feature cards ---------- */
.page-landing .features-grid {
  background:var(--border); border:1px solid var(--border);
  box-shadow:0 18px 50px rgba(14,26,46,.06);
}
.page-landing .feature-card { background:var(--card); transition:background .2s; }
.page-landing .feature-card:hover { background:#ffffff; }
.page-landing .feature-title { color:var(--text); }
.page-landing .feature-desc { color:var(--muted); }
.page-landing .feature-icon { border:1px solid rgba(31,111,235,.12); }
.page-landing .feature-card:nth-child(3n+1) .feature-icon { background:rgba(31,111,235,.10); color:#1f6feb; }
.page-landing .feature-card:nth-child(3n+2) .feature-icon { background:rgba(56,168,255,.14); color:#1493e6; }
.page-landing .feature-card:nth-child(3n)   .feature-icon { background:rgba(14,26,46,.07); color:#0e1a2e; }

/* ---------- Steps ---------- */
.page-landing .step-num {
  background:linear-gradient(135deg,#1f6feb,#38a8ff);
  color:#fff; border:0;
  box-shadow:0 10px 24px rgba(31,111,235,.3);
}
.page-landing .step p { color:var(--muted); }
.page-landing .highlight-section {
  background:linear-gradient(180deg,transparent,rgba(56,168,255,.10) 30%,rgba(31,111,235,.05) 70%,transparent);
}
.page-landing .highlight-section::before {
  background:radial-gradient(circle,rgba(56,168,255,.18),transparent 68%);
}

/* ---------- Types / metrics ---------- */
.page-landing .type-card,
.page-landing .metric-item {
  background:var(--card); border:1px solid var(--border);
  box-shadow:0 8px 24px rgba(14,26,46,.05);
  transition:border-color .2s,transform .2s,box-shadow .2s;
}
.page-landing .type-card:hover,
.page-landing .metric-item:hover {
  border-color:rgba(31,111,235,.45); transform:translateY(-3px);
  box-shadow:0 16px 36px rgba(31,111,235,.14);
}
.page-landing .type-title,
.page-landing .metric-name { color:var(--text); }
.page-landing .type-desc,
.page-landing .metric-desc { color:var(--muted); }
.page-landing .type-card .feature-icon { background:rgba(31,111,235,.10); color:#1f6feb; }
.page-landing .type-card:nth-child(2) .feature-icon { background:rgba(214,69,69,.10); color:#d64545; }
.page-landing .metric-value { color:#1f6feb; font-size:22px; }
.page-landing .timeline-visual {
  background:var(--card); border:1px solid var(--border);
  box-shadow:0 18px 44px rgba(14,26,46,.08);
}
.page-landing .tbar-label,
.page-landing .tbar-val { color:var(--muted); }
.page-landing .tbar-track { background:#efe6d2; }
.page-landing .tbar-fill.cv-green { color:#1f9d55; }
.page-landing .tbar-fill.cv-blue  { color:#1f6feb; }

/* ---------- Call to action: dark navy band ---------- */
.page-landing .cta-section {
  background:
    radial-gradient(ellipse at 50% 120%,rgba(56,168,255,.28),transparent 65%),
    linear-gradient(180deg,#0d1830,#0b1424);
  border-top:0;
}
.page-landing .cta-section h2 { color:#fff; }
.page-landing .cta-section p { color:#9fb0c6; }

/* =====================================================
   Legal pages: terms, privacy, refund
   ===================================================== */
.page-legal .hero {
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%,rgba(56,168,255,.14),transparent 70%),
    #fbf7ee;
  border-bottom:1px solid var(--border);
}
.page-legal .hero-sub { color:#55657d; }
.page-legal .section-sub {
  max-width:none;
  padding:18px 22px;
  border:1px solid var(--border);
  border-left:3px solid #1f6feb;
  border-radius:10px;
  background:#fffdf8;
  color:#4a5a70;
  font-size:15px;
}
.page-legal .terms-list .feature-card {
  background:var(--card);
  border:1px solid var(--border);
  box-shadow:0 6px 20px rgba(14,26,46,.04);
}
.page-legal .terms-list .feature-card::before {
  background:linear-gradient(180deg,#1f6feb,#38a8ff); opacity:.8;
}
.page-legal .terms-list .feature-card:hover {
  background:#ffffff;
  border-color:rgba(31,111,235,.4);
  box-shadow:0 14px 34px rgba(31,111,235,.10);
}
.page-legal .terms-list .feature-title { color:var(--text); }
.page-legal .terms-list .feature-desc,
.page-legal .terms-list li { color:#4a5a70; }
.page-legal .terms-list .feature-desc strong,
.page-legal .terms-list li strong { color:var(--text); }
.page-legal .terms-list li::before {
  background:#1f6feb; box-shadow:0 0 0 3px rgba(31,111,235,.14);
}
.page-legal .terms-list ul ul li::before { background:#38a8ff; box-shadow:none; }
.page-legal .terms-list a {
  color:#1f6feb; text-decoration-color:rgba(31,111,235,.4);
}
.page-legal .terms-list a:hover { color:#0f4fc2; }

.page-legal .cta-section {
  border:1px solid #1d2b44;
  border-radius:18px;
  background:
    radial-gradient(ellipse at 50% 0%,rgba(56,168,255,.25),transparent 65%),
    linear-gradient(180deg,#0d1830,#0b1424);
}

/* ---------- Mobile ---------- */
@media(max-width:768px){
  .page-landing .section-label { font-size:10px; padding:5px 12px; }
  .page-legal .section-sub { padding:14px 16px; font-size:14px; }
}

/* =====================================================
   Home hero: 2 columns (text left, dashboard right)
   Paste at the END of the CSS file
   ===================================================== */
@media(min-width:1000px){

  .page-landing .hero {
    display:grid;
    grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);
    grid-template-rows:1fr 1fr;
    column-gap:56px;
    align-items:normal;
    justify-content:normal;
    text-align:left;
    padding:120px max(32px,calc((100% - 1240px) / 2)) 80px;
  }

  /* Left column: headline + paragraph */
  .page-landing .hero h1 {
    grid-column:1; grid-row:1;
    align-self:end;
    max-width:none;
    margin:0 0 20px;
    font-size:clamp(38px,4.2vw,58px);
  }
  .page-landing .hero-sub {
    grid-column:1; grid-row:2;
    align-self:start;
    max-width:480px;
    margin:0;
    font-size:17px;
    line-height:1.7;
  }

  /* Right column: dashboard preview */
  .page-landing .hero .mock-dashboard {
    grid-column:2; grid-row:1 / span 2;
    align-self:center;
    max-width:none;
    grid-template-columns:minmax(0,1fr);   /* hide the sidebar space */
  }
  .page-landing .hero .mock-sidebar,
  .page-landing .hero .mock-sidebar-toggle { display:none; }

  /* Make the preview fit the narrower column */
  .page-landing .hero .mock-stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .page-landing .hero .mock-stat { padding:14px 16px; }
  .page-landing .hero .mock-table { min-width:0; }

  /* Hide less important columns: Avg response, Interval, Details */
  .page-landing .hero .mock-table th:nth-child(4),
  .page-landing .hero .mock-table td:nth-child(4),
  .page-landing .hero .mock-table th:nth-child(6),
  .page-landing .hero .mock-table td:nth-child(6),
  .page-landing .hero .mock-table th:nth-child(7),
  .page-landing .hero .mock-table td:nth-child(7) { display:none; }
}

/* Very wide screens: a little more breathing room */
@media(min-width:1500px){
  .page-landing .hero { column-gap:80px; }
}

/* Landing preview: match the real dashboard */
.page-landing .mock-stat-total { position:relative; }
.page-landing .mock-stat-total .mock-add-btn {
  position:absolute; top:12px; right:12px;
  width:auto; margin:0; padding:6px 10px;
  border-radius:6px; font-size:9px; line-height:1.2;
}
.page-landing .mock-alert {
  margin-bottom:16px; padding:10px 14px;
  border:1px solid rgba(248,81,73,.3); border-radius:8px;
  background:rgba(248,81,73,.1); color:#f85149; font-size:10px;
}
.page-landing .mock-nav-label { border-top:1px solid #243247; padding-top:14px; margin-top:14px; }
.page-landing .mock-nav-group:first-child .mock-nav-label { border-top:0; padding-top:0; margin-top:0; }
.page-landing .badge-down { background:rgba(248,81,73,.12); color:#f85149; }
.page-landing .uptime-fill.down { width:61%; background:#f85149; }
.page-landing .mock-nav-item b { font-size:12px; }
.page-landing .mock-sidebar { min-height:0; }

.page-landing .cta-section,
.page-legal .cta-section {
  background:
    radial-gradient(ellipse 45% 90% at 100% 100%,rgba(190,228,255,.75),transparent 70%),
    linear-gradient(135deg,#123a9c 0%,#1f6feb 50%,#4aa8ff 100%);
  border:0;
}
.page-landing .cta-section h2 { color:#fff; text-shadow:0 2px 14px rgba(8,30,80,.25); }
.page-landing .cta-section p { color:rgba(255,255,255,.9); }
.page-landing .cta-section .btn-primary {
  background:#fff; color:#1348b8;
  box-shadow:0 12px 30px rgba(8,30,80,.3);
}
.page-landing .cta-section .btn-primary:hover { background:#eef6ff; transform:translateY(-2px); }
/* =====================================================
   Legal pages (Terms, Privacy, Refund): hero + layout
   ===================================================== */

/* Hero background */
.page-legal .hero {
  background:
    radial-gradient(ellipse 55% 80% at 80% 0%,rgba(56,168,255,.20),transparent 70%),
    linear-gradient(180deg,#f8fbff 0%,#f3f6fb 100%);
  border-bottom:1px solid #dce5f1;
}

/* Mobile and tablet: centered text, no illustration */
.page-legal .hero { min-height:0; padding:56px 24px 48px; text-align:center; }
.page-legal .hero h1 { max-width:none; margin:0 auto 14px; font-size:clamp(30px,6vw,42px); }
.page-legal .hero-sub { margin:0 auto; max-width:560px; font-size:16px; line-height:1.7; color:#5b6b82; }
.page-legal .hero-art { display:none; }

/* Desktop: text left, illustration right */
@media(min-width:1000px){
  .page-legal .hero {
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,.8fr);
    grid-template-rows:auto auto;
    align-content:center;
    align-items:center;
    column-gap:64px;
    row-gap:0;
    text-align:left;
    padding:84px max(24px,calc((100% - 1100px) / 2)) 72px;
  }
  .page-legal .hero h1 {
    grid-column:1; grid-row:1;
    align-self:end;
    margin:0 0 16px;
    font-size:clamp(34px,3.6vw,50px);
    line-height:1.1;
  }
  .page-legal .hero-sub {
    grid-column:1; grid-row:2;
    align-self:start;
    margin:0;
  }
  .page-legal .hero-art {
    display:block;
    grid-column:2; grid-row:1 / span 2;
    justify-self:end; align-self:center;
    width:min(100%,380px);
    padding:20px;
    border:1px solid #dce5f1;
    border-radius:26px;
    background:linear-gradient(160deg,#ffffff,#eaf3ff);
    box-shadow:0 28px 64px rgba(31,111,235,.16);
    animation:legal-art-float 6s ease-in-out infinite;
  }
  .page-legal .hero-art svg { display:block; width:100%; height:auto; }
}

@keyframes legal-art-float {
  0%,100% { transform:translateY(0); }
  50%     { transform:translateY(-8px); }
}
@media(prefers-reduced-motion:reduce){
  .page-legal .hero-art { animation:none; }
}

/* Content area: align with the hero */
.page-legal section:not(.hero) { padding:48px 24px 56px; }
.page-legal .section-inner { max-width:1100px; }
.page-legal .terms-list { max-width:none; }

/* Bottom contact card */ 
.page-legal .cta-section {
  margin:0 max(24px,calc((100% - 1100px) / 2)) 64px;
  padding:56px 24px;
  border:0;
  border-radius:20px;
  background:
    radial-gradient(ellipse 45% 90% at 100% 100%,rgba(190,228,255,.7),transparent 70%),
    linear-gradient(135deg,#123a9c 0%,#1f6feb 50%,#4aa8ff 100%);
  box-shadow:0 24px 54px rgba(31,111,235,.28);
}
.page-legal .cta-section h2 { color:#fff; }
.page-legal .cta-section p { color:rgba(255,255,255,.9); }
.page-legal .cta-section .btn-primary { background:#fff; color:#1348b8; box-shadow:0 12px 30px rgba(8,30,80,.3); }
.page-legal .cta-section .btn-primary:hover { background:#eef6ff; transform:translateY(-2px); }

@media(max-width:768px){
  .page-legal section:not(.hero) { padding:36px 16px 44px; }
  .page-legal .cta-section { margin:0 16px 44px; padding:40px 18px; }
}
/* =====================================================
   Same width on Home, Terms, Privacy, Refund
   Paste at the VERY END of the CSS file
   ===================================================== */

body.page-landing {
  --container:1200px;
  --gutter:clamp(20px,4vw,48px);
}

/* 1. Hero: same width everywhere */
@media(min-width:1000px){
  body.page-landing .hero {
    padding-left:max(var(--gutter),calc((100% - var(--container)) / 2));
    padding-right:max(var(--gutter),calc((100% - var(--container)) / 2));
  }
}

/* 2. Content sections: same width everywhere */
body.page-landing section:not(.hero) {
  padding-left:var(--gutter);
  padding-right:var(--gutter);
}
body.page-landing .section-inner {
  width:100%;
  max-width:var(--container);
  margin-inline:auto;
}

/* 3. Legal cards fill the full container, like the home cards */
.page-legal .terms-list,
.page-legal .terms-list .feature-card,
.page-legal .section-sub {
  width:100%;
  max-width:none;
}

/* 4. CTA: same full-width band on every page */
body.page-landing .cta-section,
body.page-legal .cta-section {
  width:100%;
  margin:0;
  border-radius:0;
  padding:80px var(--gutter);
}
body.page-landing .cta-section .section-inner {
  max-width:var(--container);
}

/* 5. Footer and header content use the same side spacing */
body.page-landing .public-header,
body.page-landing .public-footer {
  padding-inline:max(var(--gutter),calc((100% - var(--container)) / 2));
}

@media(max-width:768px){
  body.page-landing .cta-section,
  body.page-legal .cta-section { padding:56px var(--gutter); }
}

/* =====================================================
   Light dashboard (user + admin): mist theme
   Paste at the VERY END of the CSS file
   ===================================================== */
body.page-dashboard {
  --bg:#f3f6fb; --surface:#ffffff; --surface2:#eaf0f8; --border:#dce5f1;
  --text:#0e1a2e; --muted:#5b6b82;
  --accent:#1f6feb; --accent2:#38a8ff;
  --green:#1f9d55; --red:#d64545; --yellow:#b7791f;
}

/* Header and footer stay navy, like the other pages */
.page-dashboard .public-header,
.page-dashboard .public-footer {
  --text:#e6edf3; --muted:#9fb0c6; --border:#243247;
  --surface:#111a2b; --surface2:#17233a; --bg:#0b1424;
}
body.page-dashboard .public-header { background:linear-gradient(180deg,#0b1424,#0d1830); }
.page-dashboard .public-footer { background:linear-gradient(180deg,#0d1830,#0b1424); }

/* Replace hard-coded white-on-dark effects */
.page-dashboard .nav-link:hover { background:rgba(31,111,235,.07); }
.page-dashboard .nav-link.active { background:rgba(31,111,235,.12); color:#1f6feb; }
.page-dashboard .monitor-table tr:hover td { background:rgba(31,111,235,.04); }
.page-dashboard .topbar-user-item:hover { background:rgba(31,111,235,.07); }
.page-dashboard .uptime-bar,
.page-dashboard .monitor-availability-track { background:#e3ebf6; }
.page-dashboard .maintenance-panel,
.page-dashboard .report-schedule-option,
.page-dashboard .monitor-alert-option,
.page-dashboard .guide-requirements { background:#f8fbff; }

/* Cards get a soft blue shadow */
.page-dashboard .card { box-shadow:0 6px 20px rgba(31,111,235,.06); }

/* Inputs: light, not dark */
.page-dashboard input:not([type]),
.page-dashboard input[type=text],
.page-dashboard input[type=url],
.page-dashboard input[type=email],
.page-dashboard input[type=number],
.page-dashboard input[type=password],
.page-dashboard input[type=search],
.page-dashboard input[type=date],
.page-dashboard input[type=datetime-local],
.page-dashboard input[type=time],
.page-dashboard select,
.page-dashboard textarea { color-scheme:light; background:#fff; }

/* Code boxes were light-blue text on dark */
.page-dashboard .feature-guide code,
.page-dashboard .heartbeat-guide pre { color:#1348b8; background:#f3f7fd; }

/* Scrollbars */
* { scrollbar-color:#1f6feb #e3ebf6; }
*::-webkit-scrollbar-track { background:#e3ebf6; }
*::-webkit-scrollbar-thumb { border-color:#e3ebf6; }

/* Badges and alerts readable on white */
.page-dashboard .badge-up { background:rgba(31,157,85,.12); }
.page-dashboard .notice-warn { color:#8a5a00; }
.page-dashboard .notice-err { color:#b83232; }
.page-dashboard .notice-ok { color:#18794a; }
/** Pricing page **/

/* =====================================================
   Pricing page: cream + navy + logo blue
   Paste at the END of the CSS file
   ===================================================== */

body.page-pricing {
  --bg:#f8f3e8; --surface:#fffdf8; --surface2:#f3ecdc; --card:#fffdf9;
  --border:#e6dcc6; --text:#0e1a2e; --muted:#5f6f86;
  --accent:#1f6feb; --accent2:#38a8ff;
  --green:#1f9d55; --red:#d64545;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%,rgba(56,168,255,.14),transparent 70%),
    #f8f3e8;
  color:var(--text);
}

/* ---------- Header and footer stay navy ---------- */
.page-pricing .public-header,
.page-pricing .public-footer,
.page-pricing .plan-change-modal {
  --text:#e6edf3; --muted:#9fb0c6; --border:#243247;
  --surface:#111a2b; --surface2:#17233a; --card:#111a2b;
  --accent:#1f6feb; --accent2:#38a8ff;
}
body.page-pricing .public-header {
  background:linear-gradient(180deg,#0b1424,#0d1830);
  border-bottom:1px solid rgba(56,168,255,.18);
}
.page-pricing .public-nav-links a:hover { color:#38a8ff; }
.page-pricing .public-nav-links .public-nav-cta {
  background:#1f6feb; border-color:#1f6feb; color:#fff; font-weight:700;
  box-shadow:0 6px 20px rgba(31,111,235,.35);
}
.page-pricing .public-footer {
  background:linear-gradient(180deg,#0d1830,#0b1424);
  border-top:1px solid rgba(56,168,255,.15);
  color:#9fb0c6;
}
.page-pricing .public-footer-menu a:hover { color:#38a8ff; }

/* ---------- Heading ---------- */
.page-pricing .pricing-wrap { padding:64px 0 90px; }
.page-pricing .pricing-wrap h1 {
  color:var(--text); font-size:clamp(30px,4vw,44px);
  font-weight:800; letter-spacing:-.03em; line-height:1.1;
}
.page-pricing .sub { color:var(--muted); font-size:16px; margin-top:12px; }

/* ---------- Monthly / Yearly switch ---------- */
.page-pricing .period-switch {
  margin:30px 0 8px; padding:4px;
  border:1px solid var(--border); border-radius:12px;
  background:#fffdf8;
  box-shadow:0 6px 18px rgba(14,26,46,.06);
}
.page-pricing .period-switch button {
  color:var(--muted); font-family:inherit; font-size:14px; font-weight:600;
  transition:background .15s,color .15s;
}
.page-pricing .period-switch button:hover { color:var(--text); }
.page-pricing .period-switch button.active {
  background:linear-gradient(135deg,#2b7bff,#1f6feb); color:#fff;
  box-shadow:0 6px 16px rgba(31,111,235,.3);
}
.page-pricing .save-hint { color:var(--green); font-weight:600; margin-bottom:28px; }

/* ---------- Plan cards ---------- */
.page-pricing .plans { gap:22px; align-items:stretch; }
.page-pricing .plan {
  position:relative;
  padding:30px 26px;
  background:var(--card);
  border:1px solid var(--border);
  border-radius:18px;
  color:var(--text);
  box-shadow:0 10px 30px rgba(14,26,46,.06);
  transition:border-color .2s,box-shadow .2s,transform .2s;
}
.page-pricing .plan:hover {
  border-color:rgba(31,111,235,.45);
  box-shadow:0 18px 44px rgba(31,111,235,.13);
}
.page-pricing .plan.selected {
  border-color:#1f6feb;
  box-shadow:0 0 0 3px rgba(31,111,235,.18),0 22px 50px rgba(31,111,235,.18);
  transform:translateY(-4px);
}
.page-pricing .plan h3 { font-size:20px; font-weight:800; letter-spacing:-.01em; color:var(--text); }
.page-pricing .plan .desc { color:var(--muted); font-size:14px; margin-top:4px; }
.page-pricing .plan .price {
  margin:20px 0 4px; font-size:38px; font-weight:800;
  letter-spacing:-.03em; color:var(--text);
}
.page-pricing .price-note { color:var(--muted); font-size:13px; }

/* Tag pill */
.page-pricing .plan .tag {
  align-self:flex-start; min-height:0; margin-bottom:12px;
  padding:4px 11px; border-radius:999px;
  background:transparent; color:#1f6feb;
  font-size:11px; letter-spacing:1.1px;
}
.page-pricing .plan .tag:not(:empty) { line-height:1.4; }

/* Feature list */
.page-pricing .plan ul {
  margin:22px 0 26px; padding-top:22px;
  border-top:1px solid var(--border); gap:12px;
}
.page-pricing .plan li { color:#3f4f66; font-size:14px; line-height:1.5; padding-left:26px; }
.page-pricing .plan li::before {
  content:'\2713'; top:1px;
  display:grid; place-items:center;
  width:18px; height:18px; border-radius:50%;
  background:rgba(31,111,235,.12); color:#1f6feb;
  font-size:11px; font-weight:800;
}
.page-pricing .pricing-feature-detail { color:#7a8aa0; font-size:12px; }

/* ---------- Popular plan: dark navy card ---------- */
.page-pricing .plan.popular {
  background:linear-gradient(170deg,#12203a 0%,#0b1424 100%);
  border-color:#1d2b44;
  color:#e6edf3;
  box-shadow:0 24px 60px rgba(14,26,46,.35);
}
.page-pricing .plan.popular:hover { border-color:#38a8ff; box-shadow:0 28px 66px rgba(31,111,235,.32); }
.page-pricing .plan.popular.selected { border-color:#38a8ff; }
.page-pricing .plan.popular h3,
.page-pricing .plan.popular .price { color:#fff; }
.page-pricing .plan.popular .desc,
.page-pricing .plan.popular .price-note { color:#9fb0c6; }
.page-pricing .plan.popular ul { border-top-color:#243247; }
.page-pricing .plan.popular li { color:#c9d6e6; }
.page-pricing .plan.popular li::before { background:rgba(56,168,255,.18); color:#5cc0ff; }
.page-pricing .plan.popular .pricing-feature-detail { color:#8497b0; }
.page-pricing .plan.popular .tag {
  background:rgba(56,168,255,.16); color:#7cc7ff;
  border:1px solid rgba(56,168,255,.35);
}
.page-pricing .plan.popular .cta:not(.primary) {
  color:#e6edf3; border-color:#2c3d5a;
}

/* ---------- Buttons ---------- */
.page-pricing .plan .cta {
  min-height:46px; border-radius:10px;
  border:1px solid #d8ccb0; background:transparent; color:var(--text);
  font-family:inherit; font-size:14px; font-weight:700;
  transition:transform .15s,box-shadow .15s,border-color .15s,background .15s;
}
.page-pricing .plan .cta:hover {
  border-color:#1f6feb; background:rgba(31,111,235,.07); color:#1f6feb;
}
.page-pricing .plan .cta.primary {
  background:linear-gradient(135deg,#2b7bff,#1f6feb);
  border-color:transparent; color:#fff;
  box-shadow:0 10px 24px rgba(31,111,235,.32);
}
.page-pricing .plan .cta.primary:hover {
  background:linear-gradient(135deg,#3b88ff,#2b7bff); color:#fff;
  transform:translateY(-2px); box-shadow:0 14px 30px rgba(31,111,235,.45);
}
.page-pricing .plan .cta[data-current-plan] {
  background:rgba(31,157,85,.10); border-color:rgba(31,157,85,.35);
  color:#1f9d55; cursor:default;
}
.page-pricing .plan .cta[data-current-plan]:hover { transform:none; box-shadow:none; }
.page-pricing .plan .cta.disabled { opacity:.5; pointer-events:none; }
.page-pricing .plan .cta:focus-visible { outline:2px solid #38a8ff; outline-offset:3px; }

.page-pricing #cfg-note { color:var(--muted); }

/* ---------- Plan change dialog (blue instead of amber) ---------- */
.page-pricing .plan-change-modal { background:rgba(8,14,26,.78); backdrop-filter:blur(4px); }
.page-pricing .plan-change-card {
  background:#111a2b; color:#e6edf3; border-color:#243247;
  box-shadow:0 30px 80px rgba(0,0,0,.55);
}
.page-pricing .plan-change-actions .cta.primary {
  border-color:transparent;
  background:linear-gradient(135deg,#2b7bff,#1f6feb); color:#fff;
}
.page-pricing .plan-change-actions .cta.primary:hover { background:linear-gradient(135deg,#3b88ff,#2b7bff); }
.page-pricing .plan-change-notice {
  border-color:rgba(56,168,255,.3); background:rgba(31,111,235,.10); color:#9ccfff;
}

/* ---------- Payment success dialog ---------- */
.page-pricing .payment-success-modal { background:rgba(8,14,26,.82); backdrop-filter:blur(4px); }
.page-pricing .payment-success-header { background:linear-gradient(135deg,#1f6feb,#38a8ff); }

/* ---------- Mobile ---------- */
@media(max-width:820px){
  .page-pricing .plan.selected { transform:none; }
  .page-pricing .plan { padding:24px 20px; }
}
@media(max-width:520px){
  .page-pricing .pricing-wrap { padding:40px 0 60px; }
  .page-pricing .plan .price { font-size:32px; }
}
@media(prefers-reduced-motion:reduce){
  .page-pricing .plan,.page-pricing .plan .cta { transition:none; }
  .page-pricing .plan.selected,.page-pricing .plan .cta.primary:hover { transform:none; }
}
/* =====================================================
   Professional navigation icons + sidebar polish
   (WebAppStatus — shared by user & admin dashboards)
   ===================================================== */
.page-dashboard .nav-link .icon {
  display:inline-flex; align-items:center; justify-content:center;
  width:20px; height:20px; font-size:0;
}
.page-dashboard .nav-icon {
  width:18px; height:18px; display:block;
  opacity:.9; transition:opacity .15s, transform .15s;
}
.page-dashboard .nav-link:hover .nav-icon { opacity:1; }
.page-dashboard .nav-link.active .nav-icon { opacity:1; }

.page-dashboard .nav-link {
  position:relative; gap:11px; padding:9px 11px; font-weight:500;
  transition:background-color .15s, color .15s;
}
.page-dashboard .nav-link.active { font-weight:600; }
.page-dashboard .nav-link.active::before {
  content:''; position:absolute; left:0; top:50%; transform:translateY(-50%);
  width:3px; height:18px; border-radius:0 3px 3px 0; background:var(--accent);
}

.page-dashboard .nav-label {
  margin:18px 0 6px; font-size:10px; font-weight:700; letter-spacing:.09em;
}
.page-dashboard .sidebar-nav > .nav-link:first-of-type,
.page-dashboard .sidebar-nav > .nav-label:first-of-type { margin-top:4px; }

/* Plan-card zap icon sits on the accent chip */
.page-dashboard .sidebar-plan-icon .nav-icon { width:16px; height:16px; opacity:1; color:#fff; }
.page-dashboard .sidebar-plan-icon { color:#fff; }
.page-dashboard .upgrade-button .nav-icon { width:16px; height:16px; opacity:1; }

/* =====================================================
   Landing + legal: professional SVG icon sizing & polish
   ===================================================== */
.page-landing .feature-icon .nav-icon { width:22px; height:22px; stroke-width:1.9; }
.page-landing .type-card .feature-icon .nav-icon { width:22px; height:22px; }
.page-landing .mock-nav-item b { display:inline-flex; align-items:center; justify-content:center; }
.page-landing .mock-nav-item b .nav-icon { width:15px; height:15px; opacity:.92; }
.page-landing .feature-icon { transition:transform .2s ease; }
.page-landing .feature-card:hover .feature-icon { transform:translateY(-2px); }

/* Legal pages: calmer rhythm and clearer numbered sections */
.page-legal .section-sub { max-width:760px; }
.page-legal .terms-list { display:grid; gap:16px; }
.page-legal .terms-list .feature-card {
  border:1px solid var(--border); border-radius:14px;
  box-shadow:0 4px 18px rgba(14,26,46,.05);
  transition:border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.page-legal .terms-list .feature-card:hover {
  border-color:rgba(31,111,235,.4);
  box-shadow:0 14px 34px rgba(31,111,235,.10);
  transform:translateY(-2px);
}
.page-legal .terms-list .feature-title { font-size:17px; letter-spacing:-.01em; }
.page-legal .terms-list ul { margin:12px 0 0; padding-left:20px; display:grid; gap:7px; }
.page-legal .terms-list li { color:#3f4f66; font-size:14px; line-height:1.6; }
.page-legal .terms-list p { line-height:1.7; }
.page-legal .hero-art svg { filter:drop-shadow(0 18px 40px rgba(31,111,235,.18)); }

/* =====================================================
   Home hero redesign — professional live-status panel
   ===================================================== */
.page-landing .hero-badge {
  display:inline-flex; align-items:center; gap:9px; margin-bottom:26px;
  padding:7px 16px; border:1px solid rgba(31,111,235,.26); border-radius:999px;
  background:rgba(31,111,235,.08); color:#1f6feb; font-size:13px; font-weight:600;
}
.page-landing .hero-badge-dot {
  width:8px; height:8px; border-radius:50%; background:#4ade80;
  box-shadow:0 0 0 4px rgba(74,222,128,.18); animation:pulse-dot 2s infinite;
}
.page-landing .hero .hero-sub { margin-bottom:30px; }
.page-landing .hero-actions { display:flex; flex-wrap:wrap; justify-content:center; gap:14px; margin-bottom:22px; }
.page-landing .hero .btn-primary {
  box-shadow:0 12px 32px rgba(31,111,235,.38); transition:transform .2s, box-shadow .2s;
}
.page-landing .hero .btn-primary:hover { transform:translateY(-1px); box-shadow:0 16px 40px rgba(31,111,235,.5); }
.page-landing .btn-ghost-light {
  padding:14px 28px; border:1px solid #d8ccb0; border-radius:10px;
  background:#fffdf8; color:var(--text); font-size:15px; font-weight:600;
  text-decoration:none; transition:border-color .2s, background .2s, color .2s;
}
.page-landing .btn-ghost-light:hover { border-color:#1f6feb; background:rgba(31,111,235,.07); color:#1f6feb; }
.page-landing .hero-trust { display:flex; flex-wrap:wrap; justify-content:center; gap:10px 24px; margin:0 0 50px; padding:0; list-style:none; }
.page-landing .hero-trust li { position:relative; padding-left:23px; color:#55657d; font-size:13px; }
.page-landing .hero-trust li::before { content:''; position:absolute; left:0; top:50%; transform:translateY(-50%); width:16px; height:16px; border-radius:50%; background:rgba(74,222,128,.16); }
.page-landing .hero-trust li::after { content:''; position:absolute; left:5.5px; top:calc(50% - 4px); width:4px; height:8px; border:solid #4ade80; border-width:0 2px 2px 0; transform:rotate(45deg); }

/* Hero dashboard preview — mirrors the real user dashboard (light theme) */
.page-landing .hero-preview {
  width:100%; max-width:600px; margin-top:6px; text-align:left; overflow:hidden;
  border:1px solid #e3dcc9; border-radius:16px; background:#f3f6fb;
  box-shadow:0 36px 90px rgba(14,26,46,.28), 0 0 0 1px rgba(31,111,235,.04);
  animation:landing-rise .8s .24s ease-out both, dashboard-float 7s 1.1s ease-in-out infinite;
}
.page-landing .hero-preview-bar { display:flex; align-items:center; gap:12px; padding:11px 16px; background:#0d1830; border-bottom:1px solid #0a1324; }
.page-landing .hero-preview-dots { display:inline-flex; gap:6px; }
.page-landing .hero-preview-dots i { width:10px; height:10px; border-radius:50%; background:#2b3b57; }
.page-landing .hero-preview-dots i:nth-child(1){ background:#ff5f57; }
.page-landing .hero-preview-dots i:nth-child(2){ background:#febc2e; }
.page-landing .hero-preview-dots i:nth-child(3){ background:#28c840; }
.page-landing .hero-preview-url { flex:1; min-width:0; padding:5px 12px; border-radius:7px; background:rgba(255,255,255,.08); color:#9fb3d0; font-size:11px; font-family:var(--font-mono,monospace); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.page-landing .hero-preview-body { padding:18px; }
.page-landing .hero-preview-head { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; margin-bottom:16px; }
.page-landing .hero-preview-head-text strong { display:block; color:#0e1a2e; font-size:16px; font-weight:700; }
.page-landing .hero-preview-head-text span { display:block; margin-top:3px; color:#5b6b82; font-size:12px; }
.page-landing .hero-preview-add { flex:0 0 auto; padding:8px 13px; border-radius:8px; background:linear-gradient(135deg,#2b7bff,#1f6feb); color:#fff; font-size:11px; font-weight:700; box-shadow:0 6px 16px rgba(31,111,235,.28); }
.page-landing .hero-preview-stats { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin-bottom:16px; }
.page-landing .hp-stat { padding:13px 14px; border:1px solid #dce5f1; border-radius:11px; background:#fff; box-shadow:0 4px 14px rgba(31,111,235,.05); }
.page-landing .hp-stat > span { display:block; color:#5b6b82; font-size:9px; font-weight:600; letter-spacing:.4px; text-transform:uppercase; }
.page-landing .hp-stat > strong { display:block; margin-top:6px; color:#0e1a2e; font-size:26px; font-weight:800; letter-spacing:-1px; line-height:1; }
.page-landing .hp-stat > strong.g { color:#1f9d55; }
.page-landing .hp-stat > strong.r { color:#d64545; }
.page-landing .hp-stat > strong.b { color:#1f6feb; }
.page-landing .hero-preview-table { border:1px solid #dce5f1; border-radius:12px; background:#fff; overflow:hidden; }
.page-landing .hp-row { display:grid; grid-template-columns:minmax(0,1.6fr) auto minmax(0,1.1fr) auto; align-items:center; gap:12px; padding:12px 16px; border-top:1px solid #eef2f8; }
.page-landing .hp-row-head { padding:10px 16px; border-top:0; background:#f7f9fd; color:#5b6b82; font-size:9px; font-weight:700; letter-spacing:.5px; text-transform:uppercase; }
.page-landing .hp-mon { min-width:0; }
.page-landing .hp-mon b { display:block; color:#0e1a2e; font-size:13px; font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.page-landing .hp-mon small { display:block; margin-top:2px; color:#7a8aa0; font-size:11px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.page-landing .hp-badge { display:inline-flex; align-items:center; gap:5px; padding:3px 10px; border-radius:999px; font-size:10px; font-weight:700; font-style:normal; letter-spacing:.4px; }
.page-landing .hp-badge::before { content:''; width:6px; height:6px; border-radius:50%; background:currentColor; }
.page-landing .hp-badge.up { background:rgba(31,157,85,.12); color:#1f9d55; }
.page-landing .hp-badge.down { background:rgba(214,69,69,.12); color:#d64545; }
.page-landing .hp-uptime { display:flex; align-items:center; gap:8px; color:#3f4f66; font-size:12px; font-weight:600; }
.page-landing .hp-bar { flex:1; min-width:28px; max-width:70px; height:6px; border-radius:999px; background:#e3ebf6; overflow:hidden; }
.page-landing .hp-bar u { display:block; height:100%; border-radius:inherit; background:#1f9d55; }
.page-landing .hp-bar u.crit { background:#d64545; }
.page-landing .hp-rt { color:#3f4f66; font-size:12px; font-weight:600; text-align:right; white-space:nowrap; }
@media(max-width:620px){
  .page-landing .hero-preview-stats { grid-template-columns:repeat(2,1fr); }
  .page-landing .hp-row { grid-template-columns:minmax(0,1.4fr) auto auto; }
  .page-landing .hp-row .hp-uptime { display:none; }
  .page-landing .hp-row-head { grid-template-columns:minmax(0,1.4fr) auto auto; }
  .page-landing .hp-row-head span:nth-child(3) { display:none; }
}
@media(max-width:560px){
  .page-landing .hero-actions .btn-primary, .page-landing .hero-actions .btn-ghost-light { flex:1 1 auto; justify-content:center; text-align:center; }
}
@media(prefers-reduced-motion:reduce){
  .page-landing .hero-preview { animation:landing-rise .6s ease-out both; }
}
/* Footer brand tagline — more complete, professional footer */
.public-footer-brand { display:flex; flex-direction:column; align-items:flex-start; gap:12px; max-width:340px; }
.public-footer-tagline { margin:0; max-width:300px; color:var(--muted); font-size:12px; line-height:1.6; }
.page-landing .public-footer-tagline,
.page-pricing .public-footer-tagline,
.page-legal .public-footer-tagline { color:#8aa0bd; }
@media(max-width:760px){
  .public-footer-brand { align-items:center; max-width:360px; text-align:center; }
  .public-footer-tagline { max-width:300px; }
}
