/* METTLE 40.7.1 — authenticated workspace and sign-in presentation only.
   This stylesheet is deliberately absent from the public homepage. */
html[data-mettle-page="portal"] {
  color-scheme: only light !important;
  --workspace-ink: #102d46;
  --workspace-muted: #496278;
  --workspace-blue: #0067c7;
  --workspace-line: #c4d3df;
}
html[data-mettle-page="portal"] body {
  color-scheme: only light !important;
  background: #f2f6fa !important;
  color: var(--workspace-ink) !important;
  -webkit-text-fill-color: currentColor;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.55;
}
html[data-mettle-page="portal"] body :is(h1, h2, h3, h4, h5, h6) {
  color: var(--workspace-ink) !important;
  -webkit-text-fill-color: currentColor !important;
  text-shadow: none !important;
}
html[data-mettle-page="portal"] body :is(p, span, strong, small, label, li, dt, dd, summary) {
  -webkit-text-fill-color: currentColor;
  text-shadow: none;
}
html[data-mettle-page="portal"] body :is(button, input, select, textarea) { font-family: inherit; }
html[data-mettle-page="portal"] body .auth-card { border-top-color: #087fe9 !important; }
html[data-mettle-page="portal"] body .login-top { border-bottom-color: #087fe9 !important; }
html[data-mettle-page="portal"] .eyebrow {
  color: #0063b8 !important;
  -webkit-text-fill-color: currentColor !important;
  font-size: 11px;
  line-height: 1.5;
  font-weight: 800;
  letter-spacing: .15em;
}
html[data-mettle-page="portal"] body :is(.panel, .card, .auth-card, .package-card,
  .permit-review-card, .review-counts > div, .review-toolbar, .research-toolbar,
  .research-detail, .research-queue-card, .pursuit-card) {
  color-scheme: only light !important;
  background: #fff !important;
  background-image: none !important;
  color: var(--workspace-ink) !important;
  border-color: var(--workspace-line) !important;
  border-radius: 10px;
  box-shadow: 0 5px 18px #163b5b08 !important;
}
html[data-mettle-page="portal"] body :is(.import-header, .review-header, .research-header, .pursuit-header) {
  background: #fff !important;
  color: var(--workspace-ink) !important;
  padding: 12px clamp(18px, 4vw, 56px);
  gap: 20px;
  border-bottom: 3px solid #087fe9;
}
html[data-mettle-page="portal"] body :is(.import-header, .review-header, .research-header, .pursuit-header) img {
  width: 110px;
  height: 48px;
  object-fit: contain;
}
html[data-mettle-page="portal"] body :is(.import-header, .review-header, .research-header, .pursuit-header) nav {
  align-items: center;
  gap: 8px;
}
html[data-mettle-page="portal"] body :is(.import-header, .review-header, .research-header, .pursuit-header) nav a {
  padding: 8px 11px;
  color: #15527e;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  border-radius: 6px;
}
html[data-mettle-page="portal"] body :is(.import-header, .review-header, .research-header, .pursuit-header) nav a:is(:hover, [aria-current="page"]) {
  background: #e9f3fd;
  color: #005bac;
}
.import-main {
  max-width: 1080px;
  margin: 34px auto;
  padding: 0 28px;
}
.import-main > h1 {
  font-size: clamp(30px, 3.6vw, 40px);
  line-height: 1.2;
  letter-spacing: -.025em;
  margin: 8px 0 12px;
}
.import-main > .import-intro {
  max-width: 780px;
  margin: 0 0 22px;
  color: var(--workspace-muted);
  font-size: 16px;
  line-height: 1.65;
}
.import-steps { margin: 22px 0; }
.import-steps > .panel { padding: 26px 28px; margin: 0 0 18px; }
.import-steps > .panel:first-child { padding-block: 20px; }
.import-steps h2 { font-size: 20px; line-height: 1.4; margin-bottom: 14px; gap: 12px; }
.import-steps .panel h2 > span {
  background: #e8f3ff !important;
  color: #0063b9 !important;
  font-size: 15px;
  font-weight: 750;
}
.import-steps .panel > p { font-size: 15px; line-height: 1.65; margin: 12px 0 18px; }
.import-steps .panel > p:last-child { margin-bottom: 0; }
.import-main .btn { font: 700 14px/1.45 Inter, ui-sans-serif, system-ui, sans-serif; border-radius: 6px; min-height: 44px; }
.import-main .status-panel {
  background: #eaf4ff !important;
  color: #17486e !important;
  border-color: #bdd8ed !important;
  border-left-color: #0673d3 !important;
  padding: 17px 20px;
  font-size: 15px !important;
  font-weight: 650;
}
.import-main .status-panel.success { background: #eaf7ef !important; color: #185333 !important; border-color: #a8d2bc !important; }
.import-main .status-panel.warning { background: #fff7e5 !important; color: #6b4910 !important; border-color: #dfc68f !important; }
.import-main .status-panel.error { background: #fff1ed !important; color: #8b3024 !important; border-color: #e3b4a9 !important; }
.import-main #importHelp { color: #335973; font-size: 14px; }
.import-main #completion:not(:empty) { background: #eaf7ef !important; color: #185333 !important; }
.import-main :is(.import-note, footer, #mappingProgress) { color: var(--workspace-muted); }
.import-main #technical { border-top: 1px solid #cedde8; padding-top: 18px; }
.import-main #technical > summary { font-size: 13px; font-weight: 650; cursor: pointer; color: #315c7b; }
.import-main .import-note { line-height: 1.65; margin-top: 18px; }
html[data-mettle-page="portal"] body dialog {
  color-scheme: only light !important;
  background: #fff !important;
  color: var(--workspace-ink) !important;
}
html[data-mettle-page="portal"] body dialog::backdrop { background: #dce6f0b8 !important; }
.import-main .progress-brand { padding-bottom: 16px; border-bottom: 1px solid #dfE8f0; }
.import-main .progress-footer { background: #f5f8fc !important; color: var(--workspace-muted); }
@media (max-width: 700px) {
  .import-main { margin: 24px auto; padding-inline: 16px; }
  .import-steps > .panel { padding: 20px 18px; }
  .import-steps h2 { font-size: 18px; align-items: flex-start; }
  html[data-mettle-page="portal"] body :is(.import-header, .review-header, .research-header, .pursuit-header) { flex-wrap: wrap; gap: 12px; }
  html[data-mettle-page="portal"] body :is(.import-header, .review-header, .research-header, .pursuit-header) > strong { flex: 1; font-size: 14px; }
  html[data-mettle-page="portal"] body :is(.import-header, .review-header, .research-header, .pursuit-header) nav { width: 100%; margin: 0; gap: 2px; }
  html[data-mettle-page="portal"] body :is(.import-header, .review-header, .research-header, .pursuit-header) nav a { padding: 8px; font-size: 12px; }
}

/* Visible progress while each region's locations arrive. */
.map-loading::before{content:"";display:inline-block;width:13px;height:13px;border:2px solid #bad5ef;border-top-color:#0069ce;border-radius:50%;margin-right:8px;vertical-align:middle;animation:mettle-map-loading .8s linear infinite}
@keyframes mettle-map-loading{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.map-loading::before{animation:none}}

#mapTicker{font-size:13px;color:#254e70;margin-left:auto}.map-title{gap:12px;flex-wrap:wrap}

.followed-summary{padding:18px;margin:16px 0;border:1px solid #bed1e2;border-radius:7px;background:white}.card-bottom{flex-wrap:wrap;gap:8px}#feedbackDialog{width:min(540px,90vw);border:1px solid #bdd0df;border-radius:12px;padding:24px}#feedbackDialog::backdrop{background:#102d4666}#feedbackDialog textarea{margin:10px 0;padding:10px;border:1px solid #9cbbd6;border-radius:5px}
