:root {
  --ink: #14202b;
  --muted: #5d6b76;
  --line: #e4e0d8;
  --bg: #f3f0e8;
  --card: #ffffff;
  --brand: #0f6e86;
  --brand-dark: #0b5164;
  --brand-soft: #e7f4f7;
  --accent: #c2414a;
  --ok: #0f7a4a;
  --ok-bg: #e7f6ee;
  --warn: #9a6700;
  --warn-bg: #fff5df;
  --bad: #b4232c;
  --bad-bg: #fdecee;
  --neutral: #3e4c57;
  --shadow: 0 18px 40px rgba(20, 32, 43, 0.07);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; max-width: 100%; overflow-x: hidden; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 100% -140px, rgba(20, 96, 116, 0.18), transparent 58%),
    linear-gradient(180deg, #e7eef2 0%, #f4f7f8 280px);
  font-family: "Heebo", "Arial Hebrew", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}
a { color: var(--brand-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand); }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid rgba(15, 110, 134, 0.35); outline-offset: 2px; }

.alert-bar {
  background: #123846;
  color: #fff;
  padding: 10px 16px;
}
.alert-bar a { color: #fff; font-weight: 700; text-decoration: none; }
.alert-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  max-width: 1080px;
  margin: 0 auto;
  padding: 3px 0;
}
.alert-row span { color: rgba(255, 255, 255, 0.78); font-size: 13px; font-weight: 500; }
.alert-toggle {
  margin-top: 10px;
  border: 0;
  background: #123846;
  color: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.alert-toggle:disabled { opacity: 0.75; cursor: default; }
.week-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.week-list a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  background: #fff;
  border: 1px solid rgba(16, 40, 51, 0.08);
  border-radius: 14px;
  padding: 12px 14px;
  text-decoration: none;
}
.week-meta { color: var(--muted); font-size: 13px; white-space: nowrap; }
body.admin .site-banner,
body.admin .site-header,
body.admin .preview-bar { display: none; }
body.admin .wrap { padding-top: 0; max-width: 100%; }
body.admin .layout { width: 100%; grid-template-columns: minmax(0, 1fr); }
body.admin .content { min-width: 0; max-width: 100%; }
body.admin .panel { margin-top: 10px; padding: 14px; }
body.admin .admin-form label { margin: 8px 0 4px; }
.admin-nav {
  width: 100%;
  max-width: 100%;
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  background: #00122a;
  padding: 8px 12px;
}
.admin-nav a, .admin-nav button {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.84);
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  padding: 6px 10px;
  cursor: pointer;
}
.admin-nav a.is-on, .admin-nav a:hover, .admin-nav button:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.admin-nav a span {
  display: inline-block;
  min-width: 1.3em;
  margin-inline-start: 4px;
  padding: 0 6px;
  border-radius: 999px;
  background: #d64550;
  color: #fff;
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}
.admin-nav a span.quiet { background: #5c6b76; }
.admin-nav form { margin-inline-start: auto; }
.admin-head h1 { font-size: 20px; }
.admin-top { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.admin-top time { margin-inline-start: auto; color: var(--muted); font-size: 13px; }
.pill { border-radius: 999px; padding: 2px 8px; font-size: 12px; font-weight: 700; }
.pill.wait { background: var(--bad-bg); color: var(--bad); }
.pill.ok { background: var(--ok-bg); color: var(--ok); }
.pill.hold { background: var(--warn-bg); color: var(--warn); }
.admin-card { padding: 12px 14px; margin: 8px 0; min-width: 0; max-width: 100%; }
.admin-card .meta, .admin-text, .admin-top a { overflow-wrap: anywhere; }
.admin-card .tools .btn { min-height: 28px; padding: 4px 2px; font-size: 11px; border-radius: 8px; }
.admin-more { margin-top: 8px; color: var(--muted); font-size: 13px; }
.admin-more summary { cursor: pointer; font-weight: 700; }
.admin-more .tools { margin-top: 8px; }
.word-list { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.word-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid rgba(16, 40, 51, 0.08);
  border-radius: 12px;
  padding: 8px 10px;
}
.word-list strong { flex: 1; font-size: 14px; }
.word-list span { color: var(--muted); font-size: 13px; }
.word-list .btn { min-height: 32px; padding: 4px 10px; font-size: 13px; }
.admin-filters { display: flex; gap: 8px; align-items: center; margin: 0 0 8px; }
.admin-filters label { font-weight: 700; font-size: 14px; }
.admin-filters select {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  border: 1px solid rgba(16, 40, 51, 0.16);
  border-radius: 12px;
  padding: 0 10px;
  font: inherit;
  font-size: 16px;
  background: #fff;
}
.admin-bulk { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; }
.admin-bulk .btn { min-height: 36px; }
.pick { display: inline-flex; align-items: center; }
.pick input { width: 18px; height: 18px; }
.admin-card .tools.loose { flex-wrap: wrap; }
.admin-card .tools.loose .btn { width: auto; flex: 0 1 auto; min-height: 36px; padding: 6px 10px; font-size: 13px; }
.admin-form .danger-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(16, 40, 51, 0.08);
}
.admin-search { display: flex; gap: 8px; margin: 12px 0; }
.admin-search input {
  flex: 1;
  min-height: 44px;
  border: 1px solid rgba(16, 40, 51, 0.16);
  border-radius: 12px;
  padding: 0 12px;
  font-size: 16px;
}
@media (max-width: 520px) {
  .week-list a { flex-direction: column; align-items: flex-start; gap: 2px; }
  .week-meta { white-space: normal; }
}

.preview-bar {
  background: #00122a;
  color: rgba(247, 251, 252, 0.72);
  text-align: center;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.site-banner {
  display: block;
  background: #00122a;
  line-height: 0;
  text-align: center;
  padding: 12px 16px 8px;
}
.site-banner img {
  width: min(1024px, 100%);
  height: auto;
  margin: 0 auto;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #00122a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(10, 26, 34, 0.18);
}
.header-inner, .wrap, .footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 0 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  min-width: 168px;
}
.mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #1a8eaa, #0e4d5c);
  color: #fff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.18);
  flex: none;
}
.brand strong { display: block; color: #fff; font-size: 16px; line-height: 1.05; letter-spacing: -0.02em; }
.brand span { display: block; color: rgba(255, 255, 255, 0.62); font-size: 13px; font-weight: 500; }
.brand:hover, .brand:hover strong { color: #fff; }

.search-form {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid #e7e2d8;
  border-radius: 999px;
  padding: 5px;
  box-shadow: 0 8px 24px rgba(20, 32, 43, 0.05);
}
.search-form input[type="search"] {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 10px 16px;
  direction: ltr;
  text-align: right;
  font-size: 16px;
}
.search-form input[type="search"]:focus { outline: none; }
.search-form button, .btn {
  border: 0;
  background: #12748c;
  color: #fff;
  border-radius: 999px;
  padding: 11px 18px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font-weight: 600;
  transition: transform .15s ease, background .15s ease;
}
.search-form button:hover, .btn:hover { background: var(--brand); color: #fff; }
.btn:active, .search-form button:active { transform: translateY(1px); }
.btn.secondary { background: #efeae1; color: var(--ink); }
.btn.secondary:hover { background: #e4ddd1; color: var(--ink); }
.btn.danger { background: var(--bad); }
.btn.ok { background: var(--ok); }

.nav { background: transparent; }
.nav-inner {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav a {
  color: rgba(255, 255, 255, 0.84);
  text-decoration: none;
  padding: 6px 10px;
  white-space: nowrap;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
}
.nav a:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }

.wrap { padding: 20px 0 40px; }
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px;
  align-items: start;
}
.layout-single { grid-template-columns: minmax(0, 1fr); max-width: 820px; }

.hero, .card, .comment, .panel, .empty {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero {
  position: relative;
  overflow: hidden;
  padding: 22px 22px 18px;
  margin-bottom: 18px;
}
.hero-home, .phone-hero {
  background:
    radial-gradient(460px 200px at 100% 0%, rgba(255, 176, 168, 0.28), transparent 55%),
    radial-gradient(420px 240px at 0% 120%, rgba(255, 255, 255, 0.14), transparent 50%),
    linear-gradient(145deg, #0d2230 0%, #13586a 72%, #18758a 100%);
  color: #f7fbfc;
  border: 0;
  box-shadow: 0 24px 48px rgba(13, 34, 48, 0.22);
}
.kicker {
  margin: 0 0 8px;
  color: #b7e6f0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.hero-home h1, .phone-hero h1 { color: #fff; }
.hero-home .lede, .phone-hero .lede, .phone-hero .meta { color: rgba(247, 251, 252, 0.82); }
.hero-home .stat {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.hero h1, .panel h1, .card h1 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.lede { color: var(--muted); margin: 0; max-width: 46rem; }
.stats { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.stat {
  background: var(--brand-soft);
  color: var(--brand-dark);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 14px;
  font-weight: 600;
}
.section-title {
  margin: 22px 4px 12px;
  font-size: 16px;
  letter-spacing: -0.03em;
}
.section-note { margin: -6px 4px 10px; color: var(--muted); font-size: 13px; }
.intro {
  padding: 18px 22px;
  margin-bottom: 8px;
}
.intro p { margin: 0; color: #314049; }

.phone-hero { padding-bottom: 22px; }
.phone-hero h1 { font-size: 18px; margin-top: 8px; }
.verdict {
  display: inline-flex;
  margin: 0 0 16px;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
.verdict.bad { background: #d64550; }
.verdict.warn { background: #f0b429; color: #2b2208; }
.verdict.ok { background: #1f9d62; }
.phone-id { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.call-btn { flex: none; min-width: 96px; }
.advice { margin: 10px 0 0; color: #fff; font-weight: 700; }
.mix { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.mix li { border-radius: 999px; padding: 4px 10px; font-size: 13px; font-weight: 800; background: rgba(255,255,255,.16); color: #fff; }
.mix .bad { background: #d64550; }
.mix .warn { background: #f0b429; color: #2b2208; }
.mix .ok { background: #1f9d62; }
.phone-tools, .share-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.share-bar .tool { background: #e7eef2; color: #102833; }
.hero .share-bar .tool, .phone-hero .share-bar .tool, .phone-hero .phone-tools .tool {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
.tool {
  border: 0;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-radius: 999px;
  min-height: 40px;
  padding: 8px 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.tool:hover, .tool.is-saved,
.hero .share-bar .tool:hover, .phone-hero .phone-tools .tool:hover { background: #fff; color: #102833; }
.quiet-link { color: #d7f3f8; font-weight: 700; }
.block-help { margin-top: 12px; color: rgba(247, 251, 252, 0.86); }
.block-help summary { cursor: pointer; font-weight: 800; }
.block-help p { margin: 8px 0 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.filter {
  border: 1px solid #e6e1d7;
  background: #fff;
  color: #123846;
  border-radius: 999px;
  min-height: 40px;
  padding: 8px 14px;
  font-weight: 800;
  cursor: pointer;
}
.filter.is-on { background: #123846; color: #fff; border-color: #123846; }
.comment.is-hidden { display: none; }
.comment.owner { border-inline-start-color: #12748c; background: linear-gradient(180deg, #f3fbfd 0, #fff 88px); }
.comment.owner .type-label { background: #e7f4f7; color: #0b5164; }
.owner-box summary { cursor: pointer; font-weight: 800; font-size: 15px; }
.owner-box form { margin-top: 8px; }
.phone-hero .intl {
  margin: 10px 0 0;
  color: rgba(247, 251, 252, 0.72);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.crumbs { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; color: var(--muted); font-size: 14px; font-weight: 600; }
.crumbs a { text-decoration: none; }
.phone-hero .crumbs, .phone-hero .crumbs a { color: rgba(247, 251, 252, 0.78); }
.hero-search { margin-top: 18px; max-width: 560px; background: #fff; }
.phone-number {
  direction: ltr;
  unicode-bidi: isolate;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.045em;
  color: #fff;
  margin: 0;
  line-height: 1;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}
.phone-hero .btn { background: #fff; color: #102833; }
.phone-hero .btn:hover { background: #d9f3f8; color: #102833; }
.comment {
  padding: 14px 14px 12px;
  margin: 0 0 12px;
  border-right: 0;
  border-inline-start: 5px solid #d5dee3;
  box-shadow: 0 10px 28px rgba(20, 32, 43, 0.05);
  transition: transform .16s ease, box-shadow .16s ease;
}
.comment:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(20, 32, 43, 0.09); }
.comment.ok { border-inline-start-color: #1f9d62; background: linear-gradient(180deg, #f2fbf6 0, #fff 88px); }
.comment.warn { border-inline-start-color: #e0a100; background: linear-gradient(180deg, #fff8e8 0, #fff 88px); }
.comment.bad { border-inline-start-color: #d64550; background: linear-gradient(180deg, #fff1f2 0, #fff 88px); }
.comment.neutral { border-inline-start-color: #7d8b96; }
.comment header, .comment-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}
.phone-link {
  direction: ltr;
  unicode-bidi: isolate;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: #123846;
}
.phone-link:hover { color: #12748c; }
a.phone-mention {
  color: var(--brand-dark);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  unicode-bidi: isolate;
  direction: ltr;
}
a.phone-mention:hover { color: var(--brand); }
.badge, .type-label {
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 13px;
  font-weight: 700;
  background: #eef2f4;
  color: var(--neutral);
}
.comment-top time { white-space: nowrap; flex: none; }
.comment.ok .type-label, .comment.ok .badge { background: var(--ok-bg); color: var(--ok); }
.comment.warn .type-label, .comment.warn .badge { background: var(--warn-bg); color: var(--warn); }
.comment.bad .type-label, .comment.bad .badge { background: var(--bad-bg); color: var(--bad); }
.comment.neutral .type-label, .comment.neutral .badge { background: #eef2f4; color: var(--neutral); }
.comment-body p, .excerpt, .comment p { margin: 6px 0 8px; color: #24323c; line-height: 1.55; font-size: 14px; }
.comment-body.is-long:not(.is-open) {
  max-height: 7.4em;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 55%, transparent);
  mask-image: linear-gradient(#000 55%, transparent);
}
.more {
  border: 0;
  background: transparent;
  color: var(--brand-dark);
  font-weight: 800;
  padding: 0 0 8px;
  cursor: pointer;
}
.more:hover { color: var(--brand); }
.comment-foot, .meta { color: var(--muted); font-size: 14px; }
.comment-foot { display: flex; justify-content: space-between; gap: 8px; }

.panel { padding: 22px; margin-top: 18px; }
.panel h2 { margin-top: 0; letter-spacing: -0.03em; }
label { display: block; font-weight: 700; margin: 14px 0 6px; }
input[type="text"], input[type="password"], select, textarea {
  width: 100%;
  border: 1px solid #e6e1d7;
  border-radius: 14px;
  padding: 12px 14px;
  background: #fcfbf8;
  transition: border-color .15s ease, box-shadow .15s ease;
}
input[type="text"]:focus, input[type="password"]:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #9fc9d4;
  box-shadow: 0 0 0 4px rgba(15, 110, 134, 0.12);
  background: #fff;
}
textarea { min-height: 130px; resize: vertical; }
.report-form .form-lead { margin: 0; color: var(--muted); }
.report-form input[type="text"], .report-form select, .report-form textarea { min-height: 46px; font-size: 16px; }
.report-form textarea { min-height: 168px; }
.report-form input[type="file"] { display: block; width: 100%; max-width: 100%; margin-top: 6px; font-size: 15px; }
.dispute { margin-top: 8px; }
.dispute summary { cursor: pointer; color: var(--muted); font-weight: 700; }
.dispute textarea { min-height: 88px; margin-top: 8px; }
.stat-bars { list-style: none; padding: 0; margin: 12px 0 0; }
.stat-bars li { display: grid; grid-template-columns: minmax(88px, 150px) 1fr auto; gap: 10px; align-items: center; margin: 10px 0; }
.stat-bars .bar { display: block; height: 12px; border-radius: 999px; background: #e7eef2; overflow: hidden; }
.stat-bars .bar span { display: block; height: 100%; border-radius: 999px; background: #0e7490; }
.comment-shot, .admin-shot { display: block; margin: 10px 0 0; max-width: 420px; }
.admin-shot { max-width: 280px; }
.comment-shot img, .admin-shot img { display: block; width: 100%; height: auto; border-radius: 12px; background: #d7e1e8; }
.submit-btn { min-height: 46px; padding-inline: 22px; font-size: 16px; width: 100%; }
@media (min-width: 640px) { .submit-btn { width: auto; } }
.check { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.check input { width: 18px; height: 18px; accent-color: var(--brand); }
.hp {
  position: fixed;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

.sidebar { display: grid; gap: 14px; position: sticky; top: 92px; }
.card { padding: 16px 16px 12px; }
.card h2 {
  margin: 0 0 10px;
  font-size: 16px;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.card h2::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #12748c;
  flex: none;
}
.side-list { list-style: none; margin: 0; padding: 0; }
.side-list li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  padding: 10px 0;
  border-top: 1px solid #f0ece4;
}
.side-list li:first-child { border-top: 0; padding-top: 0; }
.chip-row { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.chip-row li { margin: 0; }
.chip-row a, .chip-row .current {
  display: inline-flex;
  direction: ltr;
  border-radius: 999px;
  padding: 7px 11px;
  background: #f3f6f8;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  color: #123846;
}
.chip-row a:hover { background: #e7f4f7; color: #0b5164; }
.hot-list a { gap: 8px; align-items: center; }
.hot-list a span {
  background: #123846;
  color: #fff;
  border-radius: 999px;
  min-width: 1.4em;
  padding: 0 6px;
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}
.chip-row .current { background: #123846; color: #fff; }
.side-list a { text-decoration: none; font-weight: 700; direction: ltr; white-space: nowrap; }
.side-list .current { direction: ltr; font-weight: 800; }
.card ol, .card ul:not(.side-list) { margin: 0; padding: 0 18px 0 0; }
.card li { margin: 6px 0; }
.ad { margin: 12px 0; min-height: 40px; overflow: hidden; max-width: 100%; }
.ad ins, .ad iframe { max-width: 100% !important; }
.top-ad { width: min(1120px, calc(100% - 32px)); margin: 10px auto 0; }

.flash { padding: 12px 14px; border-radius: 14px; margin-bottom: 14px; font-weight: 600; }
.flash.error { background: var(--bad-bg); color: var(--bad); }
.flash.ok { background: var(--ok-bg); color: var(--ok); }

.site-footer {
  background: #14202b;
  color: #d5ddd8;
  padding: 28px 0 36px;
  font-size: 14px;
}
.site-footer a { color: #fff; }
.footer-inner { line-height: 1.7; }

.admin-bar { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; align-items: center; }
.admin-card { padding: 16px; margin: 12px 0; }
.admin-card .tools { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 8px; align-items: center; max-width: 100%; min-width: 0; }
.admin-card .tools form { display: inline-flex; align-items: center; gap: 2px; flex: 1 1 0; min-width: 0; }
.admin-card .tools > a.btn { flex: 1 1 0; min-width: 0; }
.admin-card .tools .btn { flex: 1 1 auto; width: 100%; min-width: 0; padding: 4px 2px; font-size: 11px; text-align: center; }
.admin-card .tools form.to-trash { flex: 1.35 1 0; }
.admin-card .tools form.block-host { flex: 1 0 100%; }
.admin-card .tools form.block-host .btn { font-size: 12px; min-height: 32px; padding: 4px 8px; white-space: normal; }
.admin-card .tools .check { margin: 0; white-space: nowrap; font-size: 12px; }
.admin-text { margin: 8px 0; color: #24323c; font-size: 14px; line-height: 1.55; }
.admin-form textarea#detail { min-height: 8em; overflow: hidden; resize: vertical; }
.admin-card form { display: inline; }
.pager { display: flex; gap: 8px; margin-top: 12px; }
.status-0 { color: var(--bad); font-weight: 700; }
.status-1 { color: var(--ok); font-weight: 700; }
.status-2 { color: var(--warn); font-weight: 700; }
.prose h2 { margin: 16px 0 6px; font-size: 16px; }
.prose p { color: #314049; }
.empty { padding: 18px; border: 1px dashed #ddd6ca; color: #314049; }

body.home .site-header .search-form { display: none; }
body.home.scrolled .site-header .search-form { display: flex; }
@media (max-width: 860px) {
  .site-header { position: static; }
  .header-inner { flex-wrap: wrap; max-width: 100%; }
  .brand { order: 1; flex: 1 1 auto; }
  .nav { order: 2; width: auto; min-width: 0; margin-inline-start: auto; overflow: visible; }
  .nav-inner { width: auto; max-width: 100%; flex-wrap: wrap; justify-content: flex-end; padding-bottom: 0; }
  .site-header .search-form { order: 3; flex: 1 1 100%; width: 100%; min-width: 0; }
  .phone-id, .phone-number, .layout, .sidebar, .wrap { max-width: 100%; min-width: 0; }
  .layout { grid-template-columns: 1fr; }
  .sidebar { position: static; order: 2; }
  .hero h1 { font-size: 22px; }
  .phone-number { font-size: 26px; }
  .phone-id { align-items: flex-start; }
}
@media (max-width: 520px) {
  .header-inner, .wrap, .footer-inner { width: min(1120px, calc(100% - 20px)); }
  .brand > span > span { display: none; }
  .hero, .panel, .comment { border-radius: 18px; }
  .hero { padding: 22px 18px; }
  .search-form button { padding-inline: 14px; }
}
