/* Личный кабинет — строгий финтех-стиль платформы.
   Палитра: тёмно-синий #0B1E2D, teal #0F766E, фон #F7F6F2. */
.cab { padding: 24px 0 48px; color: #0B1E2D; }
.cab a { color: #0F766E; }
.cab-nav {
  display: flex; flex-wrap: wrap; gap: 4px; align-items: center;
  background: #0B1E2D; border-radius: 10px; padding: 8px 12px; margin-bottom: 20px;
}
.cab-nav a {
  color: #F7F6F2; text-decoration: none; padding: 6px 12px; border-radius: 6px;
  font-size: 14px;
}
.cab-nav a:hover { background: #0F766E; }
.cab-logout { margin-left: auto; }
.linklike {
  background: none; border: 1px solid #0F766E; color: #F7F6F2; cursor: pointer;
  padding: 6px 14px; border-radius: 6px; font-size: 14px;
}
.linklike:hover { background: #0F766E; }

.cab-messages { margin-bottom: 16px; }
.msg { padding: 10px 14px; border-radius: 8px; margin-bottom: 8px; font-size: 14px; }
.msg-success { background: #e2f3ef; border: 1px solid #0F766E; }
.msg-error { background: #fbe9e9; border: 1px solid #b3392f; color: #7a221b; }
.msg-info, .msg-warning { background: #eef3f6; border: 1px solid #0B1E2D; }

.cab h1 { font-size: 26px; margin: 0 0 16px; }
.cab h2 { font-size: 19px; margin: 24px 0 10px; }

.card {
  background: #fff; border: 1px solid #dde5e9; border-radius: 10px;
  padding: 18px 20px; margin-bottom: 16px;
}
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }

.status-pill {
  display: inline-block; padding: 3px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 600; background: #eef3f6; color: #0B1E2D;
}
.status-pill.ok { background: #e2f3ef; color: #0F766E; }
.status-pill.warn { background: #fdf3e0; color: #8a5b00; }
.status-pill.bad { background: #fbe9e9; color: #b3392f; }

.cab table { width: 100%; border-collapse: collapse; font-size: 14px; background: #fff; }
.cab th, .cab td { border-bottom: 1px solid #e4eaee; padding: 9px 10px; text-align: left; }
.cab th { color: #52697a; font-weight: 600; background: #f0f4f6; }

.cab form p { margin: 0 0 12px; }
.cab label { display: inline-block; margin-bottom: 4px; font-size: 14px; font-weight: 600; }
.cab input[type="text"], .cab input[type="email"], .cab input[type="password"],
.cab input[type="date"], .cab input[type="number"], .cab input[type="datetime-local"],
.cab select, .cab textarea {
  width: 100%; max-width: 460px; padding: 9px 12px; border: 1px solid #c6d2d9;
  border-radius: 8px; font-size: 15px; box-sizing: border-box; background: #fff;
}
.cab input:focus, .cab select:focus, .cab textarea:focus {
  outline: none; border-color: #0F766E; box-shadow: 0 0 0 2px rgba(14,124,123,.15);
}
.cab .helptext { display: block; color: #52697a; font-size: 12px; }
.cab ul.errorlist { color: #b3392f; font-size: 13px; margin: 4px 0; padding-left: 18px; }

.btn-cab {
  display: inline-block; background: #0F766E; color: #fff; border: none; cursor: pointer;
  padding: 10px 22px; border-radius: 8px; font-size: 15px; font-weight: 600;
  text-decoration: none;
}
.btn-cab:hover { background: #0b6362; }
.btn-cab.secondary { background: #0B1E2D; }
.btn-cab.danger { background: #b3392f; }
.btn-cab:disabled { background: #9fb2bc; cursor: not-allowed; }

.risk-block {
  background: #0B1E2D; color: #F7F6F2; border-radius: 10px; padding: 18px 22px;
  margin: 16px 0;
}
.risk-block ol { margin: 8px 0 0; padding-left: 20px; }
.risk-block li { margin-bottom: 8px; line-height: 1.45; }

.pipeline { list-style: none; margin: 12px 0; padding: 0; }
.pipeline li {
  position: relative; padding: 6px 0 6px 28px; color: #7d919e; font-size: 14px;
}
.pipeline li::before {
  content: ""; position: absolute; left: 8px; top: 12px; width: 10px; height: 10px;
  border-radius: 50%; background: #c6d2d9;
}
.pipeline li.done { color: #0B1E2D; }
.pipeline li.done::before { background: #0F766E; }
.pipeline li.current { color: #0B1E2D; font-weight: 700; }
.pipeline li.current::before { background: #0B1E2D; box-shadow: 0 0 0 3px rgba(14,42,58,.2); }

.quote-timer { font-size: 15px; color: #8a5b00; font-weight: 600; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; word-break: break-all; }
.muted { color: #52697a; font-size: 13px; }
#qrcode { margin: 12px 0; }
