/* NexNode Progress — единая стилистика с nexnode.tech */
:root {
  --bg: #ece9e2;
  --paper: #fff;
  --ink: #222;
  --muted: #555;
  --line: #bbb;
  --link: #0044cc;
  --link-v: #551a8b;
  --head: #003366;
  --ok: #006600;
  --btn: #003366;
  --btn-h: #004488;
  --subnav: #d8d4cb;
  --tbl-head: #e8e8e8;
  --max: 920px;
  --font: Tahoma, Verdana, "Segoe UI", Arial, sans-serif;
  --mono: "Courier New", Courier, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font: 13px/1.5 var(--font);
  color: var(--ink);
  background: var(--bg);
  min-height: 100%;
}

a { color: var(--link); }
a:visited { color: var(--link-v); }

.wrap {
  width: min(var(--max), calc(100% - 24px));
  margin: 0 auto;
}

.top,
.site-top {
  background: var(--head);
  color: #fff;
  border-bottom: 3px solid #001a33;
}

.top .wrap,
.site-top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 0;
}

.logo {
  color: #fff !important;
  text-decoration: none;
  font-weight: bold;
  font-size: 15px;
}
.logo:visited { color: #fff !important; }
.logo small {
  font-weight: normal;
  opacity: 0.85;
  font-size: 12px;
  margin-left: 4px;
}

.menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.menu a {
  color: #cce0ff !important;
  text-decoration: none;
  font-size: 12px;
}
.menu a:hover { text-decoration: underline; color: #fff !important; }

.subnav {
  background: var(--subnav);
  border-bottom: 1px solid var(--line);
  padding: 6px 0;
  font-size: 11px;
}
.subnav a {
  margin-right: 12px;
  text-decoration: none;
}
.subnav a:hover { text-decoration: underline; }

.main { padding: 18px 0 28px; }

h1 {
  font-size: 20px;
  color: var(--head);
  margin-bottom: 10px;
}
h2 {
  font-size: 15px;
  color: var(--head);
  margin: 22px 0 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
}

.lead { color: var(--muted); margin-bottom: 14px; max-width: 52em; }
.note { font-size: 11px; color: var(--muted); margin-top: 10px; }
.cta-row { margin: 4px 0 16px; }

.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

.box {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 14px;
}
.box-h {
  font-weight: bold;
  font-size: 12px;
  color: var(--head);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px dashed var(--line);
}

.btn {
  display: inline-block;
  padding: 6px 14px;
  background: var(--btn);
  color: #fff !important;
  text-decoration: none;
  border: 1px solid #001a33;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  font-family: inherit;
}
.btn:visited { color: #fff !important; }
.btn:hover { background: var(--btn-h); text-decoration: none; }
.btn2 {
  display: inline-block;
  padding: 6px 14px;
  background: #eee;
  color: var(--ink) !important;
  border: 1px solid var(--line);
  text-decoration: none;
  font-size: 12px;
  margin-left: 6px;
}
.btn2:visited { color: var(--ink) !important; }
.btn2:hover { background: #ddd; text-decoration: none; }
.btn-block { display: block; width: 100%; text-align: center; margin-top: 4px; margin-left: 0; }

.tbl { width: 100%; border-collapse: collapse; font-size: 12px; }
.tbl th, .tbl td {
  border: 1px solid var(--line);
  padding: 5px 8px;
  text-align: left;
  vertical-align: top;
}
.tbl th { background: var(--tbl-head); font-size: 11px; }
.tbl .mono { font-family: var(--mono); font-size: 11px; }
.tbl .num { width: 36px; color: var(--muted); font-family: var(--mono); }
.bar-cell { width: 120px; }
.bar {
  height: 10px;
  background: #ddd;
  border: 1px solid #999;
}
.bar i {
  display: block;
  height: 100%;
  background: var(--ok);
}
.bar-warn i { background: #c60; }

.steps { margin: 10px 0 0 18px; color: var(--muted); font-size: 12px; }
.steps li { margin-bottom: 6px; }

.chlog { font-size: 12px; }
.chlog div {
  padding: 7px 0;
  border-bottom: 1px dotted var(--line);
}
.chlog div:last-child { border: 0; }
.chlog .dt { color: var(--muted); font-family: var(--mono); font-size: 11px; }

.ok { color: var(--ok); font-weight: bold; font-size: 12px; }
.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  margin-right: 4px;
}

form label {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: bold;
}
form input, form textarea {
  display: block;
  width: 100%;
  margin-top: 3px;
  padding: 6px 8px;
  border: 1px solid #888;
  font: 12px var(--font);
}
form textarea { min-height: 90px; resize: vertical; }

.msg {
  margin-top: 10px;
  padding: 8px;
  font-size: 12px;
  border: 1px solid;
}
.msg-ok { background: #e8f5e8; border-color: #6a6; color: var(--ok); }
.msg-err { background: #fff0f0; border-color: #c99; color: #900; }

.drop {
  border: 2px dashed #888;
  padding: 24px;
  text-align: center;
  background: #fafafa;
  cursor: pointer;
  font-size: 12px;
}
.drop.on { border-color: var(--head); background: #eef3fa; }
.drop input { display: none; }

.list { list-style: none; margin-top: 12px; }
.list li {
  border: 1px solid var(--line);
  padding: 8px;
  margin-bottom: 6px;
  background: #fafafa;
  font-size: 11px;
}

.foot {
  margin-top: 24px;
  padding: 12px 0 20px;
  border-top: 2px solid var(--line);
  font-size: 11px;
  color: var(--muted);
}
.foot a { margin-right: 12px; }

.contacts-tbl th {
  width: 90px;
  text-align: left;
  font-weight: bold;
  color: var(--muted);
  vertical-align: top;
  padding-right: 10px;
  background: transparent;
  border: 0;
}
.contacts-tbl td {
  font-size: 12px;
  border: 0;
}
.contacts-tbl tr + tr th,
.contacts-tbl tr + tr td { padding-top: 6px; }

.toast {
  position: fixed;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffcc;
  border: 1px solid #cc9;
  padding: 8px 14px;
  font-size: 12px;
  z-index: 99;
}

@media (max-width: 700px) {
  .grid2 { grid-template-columns: 1fr; }
  .menu { display: none; }
  .btn2 { margin-left: 0; margin-top: 6px; }
}

@media (min-width: 701px) {
  .subnav { display: none; }
}
