:root{color-scheme:light;--bg:#f4f6f9;--paper:#fff;--text:#243044;--muted:#5c697d;--line:#dce3ed;--accent:#2855b5;--soft:#edf3ff;--good:#176448;--bad:#a22c35;--warn:#81520a;font:16px/1.55 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--text);background:var(--bg)}*{box-sizing:border-box}body{margin:0}a{color:var(--accent);text-underline-offset:3px}h1,h2,p{margin:0}h1{font-size:1.85rem;line-height:1.2;letter-spacing:-.045em;font-weight:600;margin:5px 0 9px}h2{font-size:1.05rem;font-weight:600}button,input,select,textarea{font:inherit}button,.button{display:inline-flex;align-items:center;justify-content:center;padding:9px 15px;border:1px solid var(--line);background:var(--paper);color:var(--text);border-radius:7px;text-decoration:none;font-weight:500;font-size:.875rem;cursor:pointer;white-space:nowrap;min-height:42px}button:hover,.button:hover{background:var(--soft);border-color:#b8c8e7}.primary{background:var(--accent);border-color:var(--accent);color:#fff}.primary:hover{background:#204697;color:#fff}.quiet{background:transparent;border-color:transparent}.danger{color:var(--bad)}.danger:hover{background:#fff0f1;border-color:#e4b5bb}button:disabled{opacity:.6;cursor:wait}input,textarea,select{width:100%;display:block;padding:11px 12px;border:1px solid #c4cfdc;border-radius:7px;background:var(--paper);color:var(--text);min-width:0}input:focus,textarea:focus,select:focus{outline:3px solid #c6d9ff;outline-offset:1px;border-color:var(--accent)}input[readonly]{background:var(--bg);color:var(--muted)}label{display:block;font-size:.875rem;font-weight:500;margin-bottom:7px}textarea{resize:vertical}small,.help{font-size:.8125rem;color:var(--muted)}small{display:block;margin-top:4px}.help{margin-top:7px}.muted{color:var(--muted)}.top{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 30px;background:var(--paper);border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--text);font-weight:600;flex-wrap:wrap}.logo{background:var(--accent);color:#fff;display:grid;place-items:center;width:34px;height:34px;border-radius:9px;font-size:1.2rem}.divider{color:#a3afc0;font-weight:400}.shell{display:grid;grid-template-columns:195px minmax(0,1fr);min-height:calc(100vh - 76px)}nav{padding:30px 14px;background:var(--paper);border-right:1px solid var(--line)}nav>a{display:block;text-decoration:none;padding:11px 14px;border-radius:7px;margin-bottom:5px;color:var(--muted);font-size:.9375rem}nav>a:hover{background:var(--bg)}nav>a[aria-current=page]{background:var(--soft);color:var(--accent);font-weight:600}.nav-label{font-size:.6875rem;letter-spacing:.1em;font-weight:600;color:var(--muted);padding:0 14px;margin-bottom:12px}.operations{margin-top:32px}.nav-note{font-size:.75rem;color:var(--muted);margin:42px 14px 0}main{padding:32px;min-width:0;max-width:1550px;width:100%;margin:0 auto}.heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px;flex-wrap:wrap}.eyebrow{font-size:.6875rem;letter-spacing:.12em;color:var(--accent);font-weight:600}.paper{background:var(--paper);border:1px solid var(--line);border-radius:10px}.toolbar{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin-bottom:18px}.search{flex:1;max-width:580px}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:.875rem}th{text-align:left;font-size:.8125rem;font-weight:500;color:var(--muted);background:#fafbfd}th,td{padding:16px 18px;border-bottom:1px solid var(--line);vertical-align:middle}tr:last-child td{border-bottom:0}tbody tr:hover{background:#fbfcff}.record-title{font-weight:600;text-decoration:none;overflow-wrap:anywhere}.mono{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.75rem;overflow-wrap:anywhere}.date{font-size:.8125rem;white-space:nowrap}.badge{display:inline-block;font-size:.8125rem;font-weight:500;border-radius:5px;padding:4px 8px;background:#edf0f5;color:var(--muted);white-space:nowrap}.badge.good{background:#e7f4ed;color:var(--good)}.badge.warn{background:#fff1d9;color:var(--warn)}.badge.bad{background:#ffebee;color:var(--bad)}.small{min-height:34px;padding:5px 12px;font-size:.8125rem}.empty{padding:40px 20px!important;text-align:center;color:var(--muted)}.list-footer,.row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.list-footer{justify-content:space-between;margin-top:20px;font-size:.875rem}.between{justify-content:space-between}.notice,.alert{padding:14px 18px;border-radius:8px;margin-bottom:20px;font-size:.9375rem}.notice{background:var(--soft);color:#244a93}.alert{background:#ffebee;color:var(--bad)}.back{display:inline-block;margin-bottom:18px;text-decoration:none;font-size:.875rem}.form-panel{padding:26px;max-width:950px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:24px}.wide{grid-column:1/-1}.actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:22px;margin-top:28px}.spacer{flex:1}.section{padding:22px;margin-top:24px}.compact{margin-bottom:16px}.service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.service{padding:20px}.service p{margin-top:20px;color:var(--muted);font-size:.875rem}.totals{display:flex;gap:35px;flex-wrap:wrap;padding:26px 0}.totals div{display:flex;flex-direction:column}.totals strong{font-size:1.4rem;font-weight:500}.totals span{font-size:.8125rem;color:var(--muted)}.login-main{max-width:510px;padding-top:80px}.login-panel{background:var(--paper);padding:35px;border:1px solid var(--line);border-radius:14px}.login-panel form{margin-top:30px}.block{display:flex;width:100%;margin-top:18px}.delete-panel p{margin-top:14px}.check{display:flex;align-items:center;gap:12px;margin-top:26px}.check input{width:auto}.skip{position:absolute;left:10px;top:-100px;background:white;padding:10px;z-index:2}.skip:focus{top:10px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}summary{cursor:pointer;color:var(--accent)}details p{padding-top:10px;max-width:480px;overflow-wrap:anywhere}@media(max-width:1000px){.service-grid{grid-template-columns:1fr}.shell{grid-template-columns:165px minmax(0,1fr)}main{padding:24px}}@media(max-width:700px){.shell{grid-template-columns:1fr}nav{display:flex;gap:4px;flex-wrap:wrap;padding:10px;border-right:0;border-bottom:1px solid var(--line)}nav>a{margin:0;padding:9px 12px}.nav-label,.nav-note{display:none}.top{padding:14px 18px}.brand{gap:8px;font-size:.875rem}.brand .divider,.brand span:last-child{display:none}main{padding:20px 16px}.fields{grid-template-columns:1fr}.form-panel{padding:20px}.section{padding:16px}.login-main{padding-top:30px}.login-panel{padding:25px}h1{font-size:1.65rem}.actions .spacer{display:none}.actions{justify-content:flex-end}.heading{gap:15px}.toolbar .search{width:100%;flex-basis:100%}}@media(pointer:coarse){button,.button,nav>a{min-height:44px}}
.issue-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 0;border-top:1px solid var(--line);flex-wrap:wrap}

/* The status page's optional after-hours wardrobe. Same content, no motion. */
.status-theme {
  display: inline-flex;
  padding: 3px;
  gap: 3px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
}
.status-theme[hidden] { display: none; }
.status-theme button { border-color: transparent; background: transparent; }
.status-theme button[aria-pressed="true"] {
  background: var(--soft);
  color: var(--accent);
  border-color: var(--line);
}
body.status-neon {
  color-scheme: dark;
  --bg: #080617;
  --paper: #120d29;
  --text: #f4eeff;
  --muted: #bbb2d8;
  --line: #544074;
  --accent: #59f8ff;
  --soft: #242044;
  --good: #76ffb7;
  --bad: #ff9bc8;
  --warn: #ffe083;
  color: var(--text);
  background:
    radial-gradient(ellipse at 80% 0%, #7827ad40, transparent 50%),
    linear-gradient(#b868ff09 1px, transparent 1px),
    linear-gradient(90deg, #59f8ff09 1px, transparent 1px),
    var(--bg);
  background-size: auto, 32px 32px, 32px 32px, auto;
}
.status-neon .top {
  background: #100a22;
  border-bottom-color: #ba53ff;
  box-shadow: 0 1px 22px #bd45ff50;
}
.status-neon .logo {
  background: #f558ff;
  color: #16071d;
  box-shadow: 0 0 20px #f558ff75;
}
.status-neon nav { background: #100a22; }
.status-neon nav > a[aria-current="page"] {
  background: #182b3c;
  box-shadow: inset 3px 0 #59f8ff, 0 0 16px #59f8ff15;
}
.status-neon main > .heading h1 {
  color: #fba5ff;
  font-weight: 750;
  letter-spacing: -.035em;
  text-shadow: 3px 2px 0 #572a95, 0 0 30px #f558ff60;
}
.status-neon .eyebrow { color: #baff77; letter-spacing: .22em; }
.status-neon .paper {
  background: linear-gradient(135deg, #18112f, #100c21);
  border-color: #654284;
  box-shadow: 0 0 0 1px #b368ff0d, 0 8px 30px #00000040;
}
.status-neon .service {
  border-top: 3px solid #59f8ff;
  box-shadow: 0 -5px 25px #59f8ff14;
}
.status-neon .service:nth-child(2) { border-top-color: #f558ff; box-shadow: 0 -5px 25px #f558ff14; }
.status-neon .service:nth-child(3) { border-top-color: #baff77; box-shadow: 0 -5px 25px #baff7714; }
.status-neon h2 { color: #e4c5ff; }
.status-neon .button:hover,
.status-neon button:hover { border-color: #59f8ff; box-shadow: 0 0 14px #59f8ff30; }
.status-neon .status-theme button[aria-pressed="true"] {
  background: #59f8ff;
  color: #091523;
  border-color: #59f8ff;
  box-shadow: 0 0 16px #59f8ff50;
}
.status-neon th { background: #201333; color: #d6b9ec; }
.status-neon tbody tr:hover { background: #251a3c; }
.status-neon .badge { background: #28203e; color: #d5c5ed; }
.status-neon .badge.good { background: #10392b; color: #76ffb7; box-shadow: 0 0 13px #76ffb715; }
.status-neon .badge.warn { background: #403119; color: #ffe083; }
.status-neon .badge.bad { background: #45182f; color: #ff9bc8; box-shadow: 0 0 13px #ff65ab20; }
.status-neon .alert { background: #45182f; color: #ffd0e5; }
.status-neon .notice { background: #192f46; color: #b7faff; }
.status-neon .totals strong { color: #baff77; text-shadow: 0 0 20px #baff7755; }
.status-neon a:focus-visible,
.status-neon button:focus-visible { outline: 3px solid #ffe083; outline-offset: 4px; }
.status-neon .skip { background: #120d29; }

.log-filters { padding: 20px; margin-bottom: 22px; }
.log-filter-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.log-table td { vertical-align: top; }
.log-message { font-weight: 500; overflow-wrap: anywhere; }
.log-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 7px 0; color: var(--muted); font-size: .8125rem; }
.log-table pre { white-space: pre-wrap; overflow-wrap: anywhere; max-width: 650px; font-size: .8125rem; background: var(--bg); padding: 14px; border-radius: 6px; }
@media (max-width: 900px) { .log-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 550px) { .log-filter-grid { grid-template-columns: 1fr; } }

.publication-panel { min-width: 0; }
.publication-summary { margin-bottom: 8px; }
.publication-ticker { overflow: hidden; border-block: 1px solid var(--border); padding: 14px 0; background: var(--bg); }
.publication-track { display: flex; width: max-content; min-width: 200%; }
.publication-items { display: flex; align-items: center; gap: 32px; padding-right: 32px; flex: 1 0 auto; }
.publication-items span { white-space: nowrap; }
.publication-items span::before { content: '●'; color: #4277db; margin-right: 10px; font-size: .6em; vertical-align: middle; }
.publication-copy { display: none; }
.publication-live .publication-copy { display: flex; }
.publication-live .publication-track { animation: publication-scroll 40s linear infinite; }
.publication-paused .publication-track, .publication-ticker:hover .publication-track, .publication-ticker:focus-within .publication-track { animation-play-state: paused; }
@keyframes publication-scroll { to { transform: translateX(-50%); } }
.publication-panel:not(.publication-live) .publication-track { width: auto; min-width: 0; }
.publication-panel:not(.publication-live) .publication-items { flex-wrap: wrap; }
@media (prefers-reduced-motion: reduce) {
 .publication-live .publication-track { animation: none; width: auto; min-width: 0; }
 .publication-live .publication-copy { display: none; }
 .publication-items { flex-wrap: wrap; }
 .publication-items span { white-space: normal; }
}

.alert-settings-form{margin-top:20px}
