/**
 * TEN® Secure Delivery Admin — reduced TEN CI.
 * Isolated from public site CSS. No neon / “secret” styling.
 */
.ten-sd {
  margin: 0;
  min-height: 100vh;
  background: #f6f3ee;
  color: #1a1a1a;
  font-family: Calibri, Carlito, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

.ten-sd *,
.ten-sd *::before,
.ten-sd *::after {
  box-sizing: border-box;
}

.ten-sd [hidden],
.ten-sd .ten-sd-is-hidden {
  display: none !important;
}

.ten-sd--login {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
}

.ten-sd-card,
.ten-sd-panel {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border-radius: 12px;
  padding: 36px 32px 28px;
  box-shadow: 0 12px 40px rgba(20, 12, 12, 0.08);
}

.ten-sd-panel {
  max-width: 720px;
}

.ten-sd-kicker {
  margin: 0 0 4px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #cc0607;
  font-weight: 700;
}

.ten-sd h1 {
  margin: 0 0 8px;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.ten-sd-lead {
  margin: 0 0 22px;
  color: #555;
}

.ten-sd-form label {
  display: block;
  margin: 0 0 4px;
  font-size: 13px;
  color: #555;
}

.ten-sd-form input[type="text"],
.ten-sd-form input[type="password"],
.ten-sd-form input[type="email"],
.ten-sd-form input[type="search"],
.ten-sd-form input[type="file"],
.ten-sd-form textarea,
.ten-sd-form select {
  width: 100%;
  margin: 0 0 14px;
  padding: 10px 12px;
  border: 1px solid #cfcfcf;
  border-radius: 4px;
  font: inherit;
  font-size: 15px;
}

.ten-sd-form button[type="submit"],
.ten-sd-actions button[type="submit"],
.ten-sd-actions #ten-sd-send:not(:disabled) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 6px;
  padding: 11px 18px;
  border: 0;
  border-radius: 28px;
  color: #fff;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: #e40000;
  background-image: linear-gradient(to bottom, #e40000 0%, #ae0d0f 100%);
  cursor: pointer;
}

.ten-sd-form button[type="submit"]:hover,
.ten-sd-form button[type="submit"]:focus-visible,
.ten-sd-actions button[type="submit"]:hover,
.ten-sd-actions button[type="submit"]:focus-visible,
.ten-sd-actions #ten-sd-send:not(:disabled):hover,
.ten-sd-actions #ten-sd-send:not(:disabled):focus-visible {
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.18);
}

.ten-sd-note {
  margin: 18px 0 0;
  font-size: 12px;
  color: #888;
  text-align: center;
}

.ten-sd-alert {
  margin: 0 0 10px;
  padding: 10px 12px;
  background: #f8eaea;
  color: #6b1212;
  border-radius: 6px;
}

.ten-sd-ok {
  margin: 0 0 10px;
  padding: 10px 12px;
  background: #eef6ee;
  color: #1f4a24;
  border-radius: 6px;
}

.ten-sd-feedback {
  margin: 4px 0 12px;
}

.ten-sd-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
}

.ten-sd-progress label {
  margin: 0;
  min-width: 4.5em;
}

.ten-sd-progress progress {
  flex: 1;
  height: 10px;
}

.ten-sd-progress span {
  min-width: 3em;
  font-size: 13px;
  color: #555;
}

#ten-sd-pin,
#ten-sd-token,
#ten-sd-public-id {
  background: #faf7f3;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  letter-spacing: 0.03em;
}

.ten-sd-top {
  background: #fff;
  border-bottom: 1px solid #eadfd8;
}

.ten-sd-top__inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 16px 20px 0;
}

.ten-sd-brand {
  margin: 0 0 10px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.ten-sd-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}

.ten-sd-nav__link {
  display: inline-block;
  padding: 8px 0 12px;
  color: #1a1a1a;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.ten-sd-nav__link.is-active {
  color: #cc0607;
  font-weight: 700;
  border-bottom-color: #cc0607;
}

.ten-sd-nav__logout {
  margin-left: auto;
}

.ten-sd-nav__logout button {
  padding: 8px 0 12px;
  border: 0;
  background: none;
  color: #1a1a1a;
  font: inherit;
  cursor: pointer;
}

.ten-sd-nav__logout button:hover,
.ten-sd-nav__logout button:focus-visible {
  color: #cc0607;
}

.ten-sd-main {
  max-width: 960px;
  margin: 0 auto;
  padding: 28px 20px 64px;
}

.ten-sd-status-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 720px) {
  .ten-sd-status-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.ten-sd-status {
  padding: 16px;
  background: #faf7f3;
  border-radius: 8px;
}

.ten-sd-status h2 {
  margin: 0 0 8px;
  font-size: 0.95rem;
}

.ten-sd-status p,
.ten-sd-panel > p {
  margin: 0;
  color: #555;
}

.ten-sd-block {
  margin: 0 0 20px;
  padding: 0;
  border: 0;
}

.ten-sd-block legend {
  padding: 0;
  margin: 0 0 10px;
  font-weight: 700;
}

.ten-sd-radio {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  font-size: 15px;
}

.ten-sd-radio input {
  width: auto;
  margin: 0;
}

.ten-sd-block--later {
  opacity: 0.55;
}

.ten-sd-hint {
  margin: -6px 0 12px;
  font-size: 13px;
  color: #777;
}

.ten-sd-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.ten-sd-actions button[disabled] {
  width: 100%;
  padding: 11px 18px;
  border: 0;
  border-radius: 28px;
  color: #fff;
  font: inherit;
  font-weight: 700;
  background: #b9b9b9;
  cursor: not-allowed;
}

.ten-sd-results {
  list-style: none;
  margin: -8px 0 14px;
  padding: 0;
  border: 1px solid #e6e0da;
  border-radius: 6px;
  background: #fff;
  max-height: 240px;
  overflow: auto;
}

.ten-sd-results button {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  background: none;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.ten-sd-results button:hover,
.ten-sd-results button:focus {
  background: #f6f3ee;
}

.ten-sd-results small {
  display: block;
  color: #777;
  font-size: 12px;
}

.ten-sd-selected {
  margin: 0 0 16px;
  color: #333;
}

.ten-sd-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ten-sd-list li {
  display: flex;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid #eadfd8;
}
