.technician-admin {
  margin: 28px 0;
  background: #f8faff;
  border-color: #dce5f6;
}
.technician-heading {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 20px;
}
.technician-heading h2 {
  margin-top: 4px;
}
.technician-heading button {
  flex-shrink: 0;
}
.technician-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 14px 0;
  border-bottom: 1px solid #dce5f6;
  margin-bottom: 24px;
}
.technician-tabs button {
  background: white;
  color: #244270;
  border: 1px solid #dce5f6;
  font-size: 14px;
}
.technician-tabs [aria-current] {
  background: #e6efff;
  border-color: #3467e8;
  color: #153f9e;
}
.technician-selection {
  font-weight: 600;
  color: #244270;
}
.technician-section > h1 {
  font-size: 27px;
}
.technician-section .panel {
  background: white;
}
.technician-section [data-panel-id="editor"],
.technician-section [data-panel-id="history-panel"] {
  margin: 24px 0;
}
.technician-section [data-panel-id="timezone"] {
  width: 100%;
  max-width: 420px;
}
.technician-section [data-panel-id="history"] p {
  padding: 12px 0;
  border-bottom: 1px solid #e2e7e2;
  overflow-wrap: anywhere;
}
.technician-section .share-panel {
  background: #edf4ff;
}
.technician-section .access-grid {
  grid-template-columns: 1fr;
}
.technician-section h1 {
  letter-spacing: -0.5px;
}
@media (max-width: 650px) {
  .technician-heading {
    display: block;
  }
  .technician-admin {
    padding: 18px;
  }
  .technician-tabs button {
    flex: 1 1 42%;
    padding: 10px;
  }
  .technician-section > .intro {
    font-size: 16px;
  }
}

.technician-admin {
  color: #18253a;
}
.technician-admin
  button:not(.secondary):not(.text-button):not([data-tech-tab]) {
  background: #2861ed;
  color: white;
}

/* Setup forms mount in the selected card; one controller owns the active draft. */
.setup-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.setup-step {
  position: relative;
  padding: 24px;
  background: white;
  border: 1px solid #dce5f6;
  border-radius: 16px;
  min-width: 0;
}
.setup-step h3 {
  font-size: 20px;
  margin: 14px 0 8px;
  color: #1f3555;
}
.setup-step > p {
  color: #607087;
  font-size: 14px;
  line-height: 1.6;
}
.step-number {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #e9f0ff;
  color: #2559bd;
  font-weight: 750;
}
.setup-step button {
  margin-top: 8px;
}
.setup-step.is-open {
  grid-column: 1/-1;
  border-color: #8caff6;
  box-shadow: 0 0 0 2px #eaf1ff;
}
.setup-step.is-open > button {
  background: #eaf1ff !important;
  color: #2455ac !important;
}
.setup-form {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #dce5f6;
}
.step-link {
  display: inline-block;
  color: #2455ac;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 10px 0;
}
.step-hint {
  font-size: 12px !important;
}
.role-hierarchy {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 14px;
  color: #294e86;
}
.role-hierarchy small {
  display: block;
  flex-basis: 100%;
  color: #6c7b90;
}
.management-access-card {
  margin: 24px 0;
  border-color: #b6ccee;
  background: #fff;
}
.management-access-card > summary {
  font-size: 20px;
  font-weight: 700;
  color: #294e86;
  cursor: pointer;
}
.setup-utility {
  display: inline-block;
  margin-right: 24px;
}
.technician-admin {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.technician-heading {
  margin: 28px 0 8px;
}
.technician-section .setup-example {
  font-size: 13px;
}
.setup-step [data-panel-id="editor"] {
  scroll-margin-top: 20px;
}
@media (max-width: 650px) {
  .setup-steps {
    grid-template-columns: 1fr;
  }
  .setup-step {
    padding: 18px;
  }
  .setup-step.is-open {
    grid-column: auto;
  }
  .role-hierarchy {
    gap: 8px;
  }
}

.setup-admin-page {
  background: #fafbfe;
  color: #1e2e45;
}
.setup-admin-page main {
  padding-top: 32px;
}
.setup-admin-page h1 {
  font-size: 36px;
  letter-spacing: -1px;
}
.setup-step > button {
  background: #2861ed;
  color: white;
}
.setup-admin-page .intro {
  max-width: 700px;
}
.setup-step button:focus-visible,
.setup-step a:focus-visible {
  outline: 3px solid #8caff6;
  outline-offset: 3px;
}

.setup-admin-page .technician-section h1 {
  font-size: 24px;
  margin: 12px 0;
  letter-spacing: -0.5px;
}
.technician-section .setup-example summary {
  font-size: 14px;
}
.setup-step {
  scroll-margin-top: 16px;
}
