.profile-page-head {
  align-items: center;
  padding: 26px 28px;
  border: 1px solid #ddd7ff;
  border-radius: 20px;
  background: radial-gradient(circle at 88% 16%, rgba(167, 139, 250, .26), transparent 27%), linear-gradient(135deg, #fff, #f7f4ff);
}

.profile-page-head h1 { font-size: 30px; }
.profile-summary { margin-top: 18px; }
.profile-summary article { position: relative; overflow: hidden; }
.profile-summary article::after {
  position: absolute;
  right: -20px;
  bottom: -30px;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: var(--primary-soft);
  content: "";
}
.profile-summary strong { position: relative; z-index: 1; }

.people-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}

.profile-person-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 7px 20px rgba(16, 24, 40, .04);
}

.profile-person-head { display: flex; align-items: center; gap: 14px; }
.person-avatar {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  border-radius: 19px;
  object-fit: cover;
}
.person-avatar-fallback {
  display: grid;
  place-items: center;
  color: #5843d6;
  background: linear-gradient(145deg, #ede9fe, #ddd6fe);
  font-size: 25px;
  font-weight: 850;
}
.person-title { min-width: 0; }
.person-title h2 { margin: 5px 0 0; font-size: 19px; }
.person-title p { margin: 0; color: var(--muted); font-size: 13px; }
.profile-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  color: #667085;
  background: #f2f4f7;
  font-size: 11px;
  font-weight: 750;
}
.profile-status i { width: 6px; height: 6px; border-radius: 50%; background: #98a2b3; }
.profile-status.published { color: #027a48; background: #ecfdf3; }
.profile-status.published i { background: #12b76a; }
.profile-status.scheduled { color: #b54708; background: #fffaeb; }
.profile-status.scheduled i { background: #f79009; }
.profile-status.suspended { color: #b42318; background: #fef3f2; }
.profile-status.suspended i { background: #f04438; }

.profile-address-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 9px 8px 12px;
  margin: 17px 0 13px;
  border: 1px solid #eceef3;
  border-radius: 10px;
  background: #f8f9fc;
}
.profile-address-row code { min-width: 0; flex: 1; overflow: hidden; color: #475467; white-space: nowrap; text-overflow: ellipsis; }
.profile-tracking-badge { flex: 0 0 auto; padding: 3px 7px; border-radius: 999px; color: #067647; background: #ecfdf3; font-size: 10px; font-weight: 800; white-space: nowrap; }
.copy-compact { padding: 5px 9px; border: 1px solid var(--line); color: #4938cb; background: #fff; font-size: 11px; }

.profile-mini-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(95px, 1fr));
  margin: 0 0 15px;
  border-radius: 10px;
  background: #fafafa;
}
.profile-mini-stats > div { padding: 9px 11px; border-right: 1px solid #eceef2; }
.profile-mini-stats > div:last-child { border-right: 0; }
.profile-mini-stats dt { color: var(--muted); font-size: 11px; }
.profile-mini-stats dd { margin: 0; font-size: 14px; font-weight: 800; }

.profile-card-actions { display: flex; align-items: center; gap: 7px; padding-top: 15px; border-top: 1px solid #f0f1f4; }
.profile-card-actions > .button { flex: 1; padding: 8px 10px; font-size: 13px; }
.profile-card-actions form { margin: 0; }
.duplicate-button { padding: 8px 10px; color: #5947d6; background: #f7f5ff; white-space: nowrap; font-size: 12px; }

.add-profile-card {
  min-height: 295px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1.5px dashed #b9b2e9;
  border-radius: 18px;
  color: #4938cb;
  background: rgba(240, 237, 255, .35);
  text-align: center;
  text-decoration: none;
}
.add-profile-card span, .empty-profile-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 12px;
  border: 1px solid #ddd7ff;
  border-radius: 14px;
  background: #fff;
  font-size: 24px;
}
.add-profile-card small { margin-top: 3px; color: var(--muted); }
.profile-empty { display: grid; justify-items: center; }
.profile-empty .button { margin-top: 14px; }
.profile-create-panel { scroll-margin-top: 84px; border-color: #d8d2fc; }
.profile-create-panel .panel-intro { align-items: flex-start; }
.profile-slug-input { display: flex; align-items: stretch; overflow: hidden; border: 1px solid #cfd4dc; border-radius: 10px; background: #fff; }
.profile-slug-input:focus-within { border-color: #7665e8; box-shadow: 0 0 0 3px rgba(91, 71, 232, .11); }
.profile-slug-input span { display: flex; align-items: center; padding: 0 11px; border-right: 1px solid var(--line); color: #667085; background: #f8f9fc; font-weight: 650; }
.profile-slug-input input { border: 0; border-radius: 0; box-shadow: none; }

.simple-login-card { max-width: 430px; margin: 55px auto; }
.simple-login-card h1 { margin: 6px 0 4px; }
.simple-login-card > .muted { margin: 0 0 20px; }
.simple-login-form { display: grid; gap: 15px; }
.simple-login-form button { width: 100%; margin-top: 3px; }
.simple-login-form input[readonly] { color: #475467; background: #f8f9fc; }
.login-back { margin-top: 18px; text-align: center; }

@media (max-width: 1040px) {
  .people-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .profile-page-head { display: grid; padding: 21px; }
  .profile-page-head h1 { font-size: 25px; }
  .profile-page-head .button { width: 100%; }
  .people-grid { grid-template-columns: 1fr; }
  .profile-person-card { padding: 16px; }
  .profile-card-actions { flex-wrap: wrap; }
  .profile-card-actions > .button { min-width: calc(50% - 4px); }
  .profile-card-actions form, .duplicate-button { width: 100%; }
}

/* Social creator visual refresh */
:root {
  --primary: #e83e76;
  --primary-dark: #c92f65;
  --primary-soft: #fff0f6;
  --ink: #251c2a;
  --muted: #776d7d;
  --line: #ebe5ed;
  --surface: #fff;
  --radius: 22px;
}

body {
  color: var(--ink);
  background: linear-gradient(145deg, #fffafd 0, #f8f7fc 45%, #f7f8fc 100%);
}

.top {
  height: 68px;
  padding-inline: 26px;
  border-bottom: 1px solid rgba(61, 41, 70, .08);
  color: var(--ink);
  background: #fff;
  box-shadow: 0 4px 16px rgba(44, 28, 54, .035);
}

.brand { color: var(--ink); letter-spacing: -.025em; }

.brand-mark {
  border-radius: 10px;
  background: linear-gradient(145deg, #ffad4d, #ff3975 48%, #8659ef);
  box-shadow: 0 7px 16px rgba(226, 55, 118, .22);
}

.link-btn { color: #685d6d; }
.link-btn:hover { color: #d92d70; background: #fff1f6; }

.shell { min-height: calc(100vh - 68px); }

.shell > aside {
  border-color: rgba(61, 41, 70, .08);
  background: #fff;
}

.shell nav a { border-radius: 13px; }
.shell nav a span { border-radius: 9px; }

.shell nav a:hover,
.shell nav a.active {
  color: #c22c66;
  background: linear-gradient(110deg, #fff0f6, #f6f0ff);
}

.shell nav a.active span {
  color: #fff;
  background: linear-gradient(145deg, #ff5a85, #8b5cf6);
  box-shadow: 0 5px 12px rgba(211, 56, 117, .18);
}

.side-tip {
  color: #7f3d68;
  background: linear-gradient(135deg, #fff0f6, #f6f0ff);
}

main { padding: 38px; }

.editor-head {
  align-items: center;
  padding: 26px 28px;
  border: 1px solid #eaddec;
  border-radius: 25px;
  background:
    radial-gradient(circle at 94% 5%, rgba(139, 92, 246, .16), transparent 17rem),
    radial-gradient(circle at 72% 120%, rgba(255, 67, 125, .13), transparent 20rem),
    #fff;
  box-shadow: 0 9px 25px rgba(56, 36, 66, .055);
}

.editor-head h1 {
  margin-top: 6px;
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -.045em;
}

.editor-head .eyebrow,
.section-heading .eyebrow {
  color: #d83270;
  letter-spacing: .11em;
}

.back-link:hover { color: #d83270; }

.panel,
.auth-card,
.help-card {
  border-color: #ebe4ed;
  box-shadow: 0 7px 20px rgba(54, 35, 64, .045);
}

.panel { padding: 26px; }

.section-heading h2 {
  font-size: 22px;
  letter-spacing: -.035em;
}

.primary,
a.button.primary {
  border: 0;
  color: #fff;
  background: linear-gradient(115deg, #ff4c81, #d83a83 48%, #8659ee);
  box-shadow: 0 8px 18px rgba(213, 48, 112, .2);
}

.primary:hover,
a.button.primary:hover {
  color: #fff;
  background: linear-gradient(115deg, #ed3c72, #c62f74 48%, #7548dc);
  box-shadow: 0 10px 22px rgba(195, 42, 103, .27);
  transform: translateY(-1px);
}

.secondary,
a.button.secondary {
  border: 1px solid #ebe4ed;
  color: #4f4355;
  background: #fff;
}

.secondary:hover,
a.button.secondary:hover {
  border-color: #e6b8cb;
  color: #c92f65;
  background: #fff7fa;
}

.primary,
.secondary,
.danger,
button,
a.button { border-radius: 12px; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }

input,
select,
textarea {
  border-color: #ddd5e0;
  border-radius: 13px;
  background: #fff;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #e34a83;
  box-shadow: 0 0 0 4px rgba(232, 62, 118, .1);
}

.profile-image-row {
  padding: 19px;
  margin: 18px 0 22px;
  border: 1px solid #eee6ef;
  border-radius: 18px;
  background: linear-gradient(135deg, #fffafd, #fbf8ff);
}

.avatar-placeholder {
  width: 92px;
  height: 92px;
  padding: 5px;
  border: 1px solid #eadde9;
  border-radius: 28px;
  outline: 0;
  color: #c92f65;
  background: #fff0f6;
  box-shadow: 0 0 0 5px #f2e8f4, 0 7px 16px rgba(85, 50, 91, .08);
}

.avatar-placeholder .avatar {
  width: 100%;
  height: 100%;
  border-radius: 22px;
}

.form-details,
.advanced-panel,
.danger-panel,
.content-item,
.nested-details {
  border-color: #ebe4ed;
  border-radius: 16px;
  background: #fcfbfd;
}

.content-list { gap: 12px; }

.content-item {
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(57, 37, 65, .03);
  transition: border-color .18s ease, box-shadow .18s ease;
}

.content-item[open] {
  border-color: #e9b1c8;
  box-shadow: 0 7px 20px rgba(197, 48, 105, .06);
}

.content-item > summary { min-height: 72px; padding: 15px 17px; }

.content-item[open] > summary {
  background: linear-gradient(105deg, #fff7fa, #fbf8ff);
}

.drag-number {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  color: #c92f65;
  background: linear-gradient(145deg, #fff0f6, #f4edff);
  font-weight: 800;
}

.edit-word { color: #c92f65; }

.link-help-banner {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 15px 16px;
  margin: 2px 0 17px;
  border: 1px solid #f1c5d6;
  border-radius: 16px;
  color: #683146;
  background: linear-gradient(115deg, #fff4f8, #f8f3ff);
}

.link-help-banner > span {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(145deg, #ff4c81, #8b5cf6);
  font-size: 18px;
  place-items: center;
}

.link-help-banner p {
  margin: 3px 0 0;
  color: #806673;
  font-size: 13px;
}

.add-item-box {
  padding: 23px;
  margin-top: 24px;
  border: 1px solid #eadfec;
  border-radius: 19px;
  background: linear-gradient(145deg, #fff, #fffafd);
}

.add-item-box h3 { font-size: 18px; letter-spacing: -.02em; }

.help-card { border-radius: 18px; }

.help-card:first-child {
  background: linear-gradient(145deg, #fffafd, #f8f3ff);
}

.help-card code { border: 1px solid #ece5ee; background: #fff; }

.guide-strip {
  border-color: #f1c5d6;
  color: #74344d;
  background: linear-gradient(110deg, #fff2f7, #f6f1ff);
}

.guide-icon { color: #c92f65; }

.sticky-actions {
  border-color: #eee6ef;
  background: #fff;
}

.profile-person-card {
  border-color: #ebe4ed;
  border-radius: 21px;
  box-shadow: 0 10px 28px rgba(54, 35, 64, .055);
}

.person-avatar { border-radius: 20px; }
.person-avatar-fallback { color: #c92f65; background: linear-gradient(145deg, #fff0f6, #efe8ff); }

.add-profile-card {
  border-color: #e4a9c1;
  border-radius: 21px;
  color: #c92f65;
  background: linear-gradient(145deg, rgba(255, 240, 246, .7), rgba(246, 240, 255, .7));
}

.add-profile-card span { border-color: #f1c7d7; }

@media (max-width: 760px) {
  .top { height: 60px; padding-inline: 15px; }
  .shell { min-height: calc(100vh - 60px); }
  main { padding: 18px 13px; }
  .editor-head { padding: 21px; border-radius: 21px; }
  .panel { padding: 20px 17px; border-radius: 20px; }
  .profile-image-row { padding: 16px; }
  .add-item-box { padding: 19px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .primary,
  .secondary,
  .danger,
  button,
  a.button,
  .content-item { transition: none; }
}

/* Per-profile advanced management */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.profile-scope-empty .button { margin-top: 14px; }

.profile-scope-panel {
  padding: 22px;
  margin-bottom: 22px;
  border: 1px solid #e6dbe9;
  border-radius: 22px;
  background: linear-gradient(125deg, #fff, #fff8fb 55%, #f9f5ff);
  box-shadow: 0 8px 24px rgba(65, 40, 73, .05);
}

.scope-picker-copy,
.advanced-step-heading > div,
.source-address-panel .section-heading > div,
.workspace-current-panel .section-heading > div,
.profile-health-panel .section-heading > div {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.scope-picker-copy strong { display: block; font-size: 17px; }
.scope-picker-copy p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }

.scope-step {
  display: grid;
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(145deg, #ff4c81, #8b5cf6);
  box-shadow: 0 5px 12px rgba(205, 53, 113, .16);
  font-size: 13px;
  font-weight: 850;
  place-items: center;
}

.scope-picker-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 15px;
}

.scope-picker-form label { min-width: 0; }
.scope-picker-form select { min-height: 46px; font-weight: 700; }

.selected-profile-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px;
  margin-top: 14px;
  border: 1px solid #eee6ef;
  border-radius: 17px;
  background: #fff;
}

.selected-profile-person {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

.selected-profile-person > img,
.selected-profile-person > span {
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  border-radius: 17px;
  object-fit: cover;
  color: #c72e66;
  background: linear-gradient(145deg, #fff0f6, #eee7ff);
  font-size: 21px;
  font-weight: 850;
  place-items: center;
}

.selected-profile-person > div { display: grid; min-width: 0; }
.selected-profile-person small { color: #8a7e8e; }
.selected-profile-person strong { font-size: 17px; }
.selected-profile-person code { overflow: hidden; color: #675b6b; text-overflow: ellipsis; white-space: nowrap; }
.scope-actions { display: flex; gap: 7px; flex-wrap: wrap; justify-content: flex-end; }
.scope-actions .button, .scope-actions button { padding: 8px 11px; font-size: 12px; }

.advanced-step-heading { align-items: center; margin-top: 28px; }
.advanced-step-heading h2, .source-address-panel h2, .workspace-current-panel h2, .profile-health-panel h2 { margin-top: 2px; }

.profile-stat-cards article { position: relative; overflow: hidden; }
.profile-stat-cards article::after {
  position: absolute;
  right: -22px;
  bottom: -28px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255, 76, 129, .08), rgba(139, 92, 246, .08));
  content: "";
}
.profile-stat-cards small { display: block; position: relative; z-index: 1; color: var(--muted); font-size: 11px; }

.beginner-check-panel { border-color: #e7dce9; }
.setup-check-list { display: grid; gap: 10px; }
.setup-check-list article {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid #ece7ee;
  border-radius: 14px;
  background: #fcfbfd;
}
.setup-check-list article > span { display: grid; width: 32px; height: 32px; border-radius: 10px; color: #766b7a; background: #f1eef2; font-size: 12px; font-weight: 850; place-items: center; }
.setup-check-list article.done > span { color: #067647; background: #ecfdf3; }
.setup-check-list article.need > span { color: #b54708; background: #fffaeb; }
.setup-check-list article.optional > span { color: #6941c6; background: #f4f0ff; }
.setup-check-list strong { display: block; font-size: 14px; }
.setup-check-list p { margin: 2px 0 0; color: var(--muted); font-size: 12px; }
.setup-check-list a { font-size: 12px; font-weight: 750; text-decoration: none; white-space: nowrap; }

.advanced-report-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.report-panel { min-width: 0; }
.source-list { display: grid; gap: 13px; }
.source-list > div { display: grid; gap: 6px; }
.source-list span { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.source-list span b { color: #675b6b; }
.source-list > div > i { display: block; position: relative; height: 8px; overflow: hidden; border-radius: 999px; background: #f1edf3; }
.source-list > div > i::after { display: block; width: var(--source-width); height: 100%; border-radius: inherit; background: linear-gradient(90deg, #ff5686, #8b5cf6); content: ""; }

.tracked-link-list { display: grid; gap: 9px; }
.tracked-link-list article { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 12px; border: 1px solid #eee8ef; border-radius: 12px; background: #fcfbfd; }
.tracked-link-list article > div { display: grid; min-width: 0; }
.tracked-link-list strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.tracked-link-list code, .tracked-link-list small { overflow: hidden; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.tracked-link-list article > b { color: #c82f66; white-space: nowrap; }

.source-address-panel { scroll-margin-top: 84px; }
.source-address-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; margin-bottom: 18px; }
.source-address-grid article { display: grid; align-content: start; padding: 16px; border: 1px solid #ebe4ed; border-radius: 16px; background: #fff; }
.source-address-grid article > div { display: grid; gap: 3px; }
.source-address-grid article p { margin: 0; color: var(--muted); font-size: 12px; }
.source-address-grid article > code { display: block; overflow: hidden; padding: 9px 10px; margin-top: 12px; border-radius: 9px; color: #5f5364; background: #f8f6f9; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.source-service-tag { width: max-content; padding: 3px 8px; margin-bottom: 4px; border-radius: 999px; color: #bd2b61; background: #fff0f6; font-size: 10px; font-weight: 800; }
.source-create-details { overflow: hidden; border: 1px solid #e7dce9; border-radius: 16px; background: #fcfbfd; }
.source-create-details > summary { display: flex; justify-content: space-between; padding: 14px 16px; cursor: pointer; color: #4e4253; font-weight: 750; }
.source-create-details > summary span { color: var(--muted); font-size: 11px; }

.workspace-current-card { display: grid; grid-template-columns: minmax(210px, .7fr) 1.3fr; gap: 18px; padding: 18px; border: 1px solid #eadfec; border-radius: 17px; background: linear-gradient(120deg, #fff8fb, #f8f5ff); }
.workspace-current-card > div:first-child > span { display: block; color: var(--muted); font-size: 12px; }
.workspace-current-card > div:first-child > strong { font-size: 21px; }
.workspace-current-card p { margin: 3px 0 0; color: var(--muted); font-size: 13px; }
.profile-name-chips { display: flex; align-content: center; align-items: center; gap: 7px; flex-wrap: wrap; }
.profile-name-chips span { padding: 6px 9px; border: 1px solid #e7e0e9; border-radius: 999px; color: #6f6474; background: #fff; font-size: 12px; }
.profile-name-chips span.active { border-color: #eba9c2; color: #bd2b61; background: #fff1f6; font-weight: 750; }

.workspace-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(245px, 1fr)); gap: 12px; }
.workspace-grid article { padding: 17px; border: 1px solid #ebe5ed; border-radius: 16px; background: #fcfbfd; }
.workspace-grid article.current { border-color: #e9adc5; background: linear-gradient(135deg, #fff8fb, #fbf7ff); }
.workspace-grid article > div:first-child { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; }
.workspace-grid article > strong { font-size: 17px; }
.workspace-grid article > p { min-height: 38px; margin: 3px 0 12px; color: var(--muted); font-size: 12px; }
.workspace-grid dl { display: flex; gap: 18px; margin: 0; padding-top: 11px; border-top: 1px solid #eee9ef; }
.workspace-grid dt { color: var(--muted); font-size: 10px; }
.workspace-grid dd { margin: 0; font-size: 12px; font-weight: 750; }
.current-label { color: #bd2b61; font-size: 10px; font-weight: 750; }

.health-check-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 11px; }
.health-check-grid a { display: grid; align-content: start; min-height: 142px; padding: 15px; border: 1px solid #ebe5ed; border-radius: 15px; color: var(--ink); background: #fcfbfd; text-decoration: none; }
.health-check-grid a:hover { border-color: #e6b2c7; background: #fff9fb; }
.health-check-grid a > span { width: max-content; padding: 3px 8px; margin-bottom: 12px; border-radius: 999px; color: #475467; background: #f2f4f7; font-size: 11px; font-weight: 800; }
.health-check-grid a.good > span { color: #067647; background: #ecfdf3; }
.health-check-grid a.warn > span { color: #b54708; background: #fffaeb; }
.health-check-grid a.neutral > span { color: #6941c6; background: #f4f0ff; }
.health-check-grid strong { font-size: 14px; }
.health-check-grid p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.backup-list { margin-top: 16px; }

.automatic-tracking-panel { border-color: #d8eadf; background: linear-gradient(125deg, #fff, #f7fff9); }
.automatic-tracking-address { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px; border: 1px solid #dfeae3; border-radius: 17px; background: #fff; }
.automatic-tracking-address > div { display: grid; min-width: 0; gap: 2px; }
.automatic-tracking-address span { color: var(--muted); font-size: 11px; }
.automatic-tracking-address strong { font-size: 17px; }
.automatic-tracking-address code { overflow: hidden; margin-top: 4px; color: #28704c; font-size: 15px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.automatic-tracking-address button { flex: 0 0 auto; }
.tracking-note { padding: 11px 13px; margin: 12px 0 0; border-radius: 12px; color: #5e6f64; background: #f3faf5; font-size: 12px; }

@media (max-width: 1050px) {
  .health-check-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .primary-nav { grid-template-columns: repeat(2, 1fr) !important; }
  .profile-scope-panel { padding: 17px; border-radius: 19px; }
  .scope-picker-form { grid-template-columns: 1fr; }
  .scope-picker-form button { width: 100%; }
  .selected-profile-card { display: grid; }
  .scope-actions { justify-content: stretch; }
  .scope-actions .button, .scope-actions button { flex: 1; }
  .advanced-step-heading { align-items: stretch; }
  .advanced-step-heading .tabs { margin-left: 43px; }
  .setup-check-list article { grid-template-columns: 32px minmax(0, 1fr); }
  .setup-check-list article > a { grid-column: 2; }
  .advanced-report-grid { grid-template-columns: 1fr; }
  .workspace-current-card { grid-template-columns: 1fr; }
  .health-check-grid { grid-template-columns: 1fr 1fr; }
  .health-check-grid a { min-height: 130px; }
  .automatic-tracking-address { display: grid; }
  .automatic-tracking-address button { width: 100%; }
}

@media (max-width: 480px) {
  .selected-profile-person > img, .selected-profile-person > span { width: 48px; height: 48px; flex-basis: 48px; }
  .scope-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .scope-actions .button:last-child, .scope-actions button:last-child { grid-column: 1 / -1; }
  .advanced-step-heading .tabs { margin-left: 0; }
  .health-check-grid { grid-template-columns: 1fr; }
}
