/* Светлый минимализм (как beget-status): белый лист, чёрный текст, цвет — только у статусов. */
:root {
  --paper: #ffffff; --ink: #15171a; --muted: #74777d; --rule: #e8e9eb; --faint: #f4f5f6;
  --green: #1f9d55; --yellow: #c98a00; --red: #d93025; --grey: #a3a7ad;
  --sans: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, Menlo, "IBM Plex Mono", monospace;
}
* { box-sizing: border-box; }
html { color-scheme: light; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 15px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.mono { font-family: var(--mono); font-feature-settings: "tnum"; font-size: 13.5px; }
.muted { color: var(--muted); } .small { font-size: 13px; } .c { text-align: center; }
.red, .red-t { color: var(--red); } .yellow, .yellow-t { color: var(--yellow); } .green-t { color: var(--green); } .grey-t { color: var(--muted); }

.page { max-width: 1160px; margin: 0 auto; padding: 0 24px 64px; }
.top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; padding: 22px 0 18px; border-bottom: 1px solid var(--rule); }
.title { font-weight: 600; letter-spacing: -.01em; text-decoration: none; }
.nav { display: flex; gap: 18px; align-items: baseline; flex-wrap: wrap; font-size: 14px; }
.nav form { display: inline; }
button { font: inherit; background: var(--ink); color: var(--paper); border: 0; border-radius: 6px; padding: 8px 16px; cursor: pointer; }
button.link { background: none; color: inherit; padding: 0; text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 3px; }

.hero { padding: 44px 0 28px; }
.small-hero { padding: 32px 0 12px; }
.thesis { font-size: clamp(26px, 4.4vw, 44px); line-height: 1.1; letter-spacing: -.03em; font-weight: 500; margin: 0; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 18px 0 6px; color: var(--muted); }
.facts b { color: var(--ink); font-variant-numeric: tabular-nums; }
.facts .red b, .facts .red { color: var(--red); } .facts .yellow b, .facts .yellow { color: var(--yellow); }
.crumbs { margin: 0 0 8px; color: var(--muted); font-size: 14px; }

.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--grey); margin-right: 8px; vertical-align: 1px; }
.dot.big { width: 14px; height: 14px; vertical-align: 4px; margin-right: 12px; }
.dot.green { background: var(--green); } .dot.yellow { background: var(--yellow); } .dot.red { background: var(--red); }
td .dot { float: left; margin-top: 7px; }
td .dot + div, td .dot + span { margin-left: 17px; }
td .dot ~ div { margin-left: 17px; }

.tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; }
.sites { min-width: 1040px; }
.sites td:nth-child(2) { min-width: 260px; }
.sites td:nth-child(1) { min-width: 190px; }
.sites th { text-align: left; font-weight: 500; font-size: 13px; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--rule); white-space: nowrap; }
.sites td { padding: 10px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.sites tr:hover td { background: var(--faint); }
.sites .domain { font-weight: 500; text-decoration: none; }
.sites tr.lvl-red td:first-child { box-shadow: inset 3px 0 0 var(--red); }
.sites tr.lvl-yellow td:first-child { box-shadow: inset 3px 0 0 var(--yellow); }

.block { padding: 22px 0; border-top: 1px solid var(--rule); }
.block h2 { font-size: 16px; font-weight: 600; margin: 0 0 12px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; }
dt { color: var(--muted); font-size: 14px; } dd { margin: 0; overflow-wrap: anywhere; }
.hours { display: grid; grid-template-columns: repeat(24, 1fr); gap: 2px; height: 34px; }
.hours i { background: var(--rule); border-radius: 2px; }
.hours i.ok { background: var(--green); } .hours i.part { background: var(--yellow); } .hours i.bad { background: var(--red); }
.plain th { text-align: left; font-weight: 500; font-size: 13px; color: var(--muted); padding: 6px 10px 6px 0; }
.plain td { padding: 6px 10px 6px 0; border-top: 1px solid var(--rule); }
.notes { white-space: pre-wrap; margin: 0; }

.login, .edit { max-width: 520px; display: grid; gap: 14px; padding: 40px 0; }
.login h1 { margin: 0; font-weight: 500; letter-spacing: -.02em; }
label { display: grid; gap: 4px; font-size: 14px; color: var(--muted); }
input, select, textarea { font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--rule); border-radius: 6px; padding: 8px 10px; }
input:focus, textarea:focus, select:focus { border-color: var(--ink); outline: none; }
.err { color: var(--red); margin: 0; }
.inline { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 6px 0 16px; }
.inline form { display: inline; }
.sitelist { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 4px 16px; }
.sitelist label { display: flex; gap: 6px; align-items: center; color: var(--ink); }
.sitelist button { grid-column: 1 / -1; justify-self: start; margin-top: 8px; }
.user.off { opacity: .55; }
.pw { font-size: 22px; padding: 14px 18px; background: var(--faint); border-radius: 8px; display: inline-block; user-select: all; }

@media (max-width: 640px) { .page { padding: 0 16px 48px; } .hero { padding: 28px 0 18px; } }
