:root {
  --green: #0b3d2e;
  --green2: #02bd7e;
  --bg: #f1f5f9;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --red: #b00020;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

.site-header {
  background: var(--green);
  color: #fff;
  padding: 14px 24px;
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.brand { font-size: 1.25rem; font-weight: 700; }
.brand-sub { color: #9fd8c2; font-size: .9rem; }
.header-nav { margin-left: auto; display: flex; gap: 16px; }
.header-nav a { color: #fff; text-decoration: none; }
.header-nav a:hover { text-decoration: underline; }

.container { max-width: 1100px; margin: 28px auto; padding: 0 16px; }
.site-footer {
  text-align: center; color: var(--muted);
  padding: 24px; font-size: .85rem;
}

.card {
  background: var(--card);
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(17,24,39,.09);
  padding: 28px;
  margin-bottom: 24px;
}
.card.narrow { max-width: 520px; margin: 24px auto; }
.card.center { text-align: center; }
.form-card { max-width: 860px; margin: 0 auto; }

h1 { margin-top: 0; color: var(--green); }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.big-thanks { font-size: 1.8rem; }

.flash {
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 16px;
  font-weight: 600;
}
.flash.success { background: #d9f5e8; color: #0b3d2e; border: 1px solid #02bd7e; }
.flash.error { background: #ffe8e8; color: var(--red); border: 1px solid var(--red); }

.btn {
  display: inline-block;
  padding: 12px 20px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #fff;
  color: var(--text);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
}
.btn.primary {
  background: var(--green2);
  border-color: var(--green2);
  color: #fff;
}
.btn.primary:hover { background: #02a86f; }
.btn.big { width: 100%; font-size: 1.05rem; padding: 14px; }
.btn.small { padding: 6px 12px; font-size: .85rem; }
.phone-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; max-width: 320px;
}

.login-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 800px) { .login-grid { grid-template-columns: 1fr; } }
.login-card h1 { font-size: 1.4rem; }

.verify-step {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
  background: #fbfdfc;
}
.step-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-weight: 600; }
.step-num {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--green); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .8rem;
}
.status { margin-left: auto; font-size: .8rem; font-weight: 700; text-transform: uppercase; }
.status.pending { color: #9ca3af; }
.status.ok { color: var(--green2); }
.verified-value { margin-top: 10px; font-weight: 600; color: var(--green); }

.stack { display: flex; flex-direction: column; gap: 14px; }
.stack label { font-weight: 600; display: flex; flex-direction: column; gap: 6px; }
.hint { font-weight: 400; font-size: .8rem; color: var(--muted); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 700px) { .row2 { grid-template-columns: 1fr; } }

input[type=text], input[type=email], input[type=password], input[type=number],
select, input[type=file] {
  padding: 11px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 1rem;
  width: 100%;
  background: #fff;
}
input.locked { background: #eef2f1; color: #374151; }
.fieldset {
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 12px 16px;
}
.radio-inline { display: inline-flex; align-items: center; gap: 8px; margin-right: 24px; font-weight: 600; }
.radio-inline input { width: auto; }

.floor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin: 16px 0 28px;
}
.floor-card {
  border-radius: 8px;
  padding: 14px 16px;
  border: 2px solid;
}
.floor-card h3 { margin: 0 0 8px; }
.floor-card.ok { border-color: #02bd7e; background: #f2fdf8; }
.floor-card.warn { border-color: var(--red); background: #fff4f4; }
.warn-text { color: var(--red); font-weight: 700; }
.ok-text { color: var(--green2); font-weight: 700; }

.table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  font-size: .9rem;
}
.table th, .table td {
  border: 1px solid #e5e7eb;
  padding: 8px 10px;
  text-align: left;
}
.table th { background: var(--green); color: #fff; }
.row-warn td { background: #fff4f4; }
.docs a { display: inline-block; margin-right: 6px; color: var(--green); }