#demo-admin, #demo-admin * {
  box-sizing: border-box;
}
#demo-admin {
  --guide-fade: 180ms;
  position: fixed;
  inset: 0;
  z-index: 3000000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  color: #0f172a;
  background: url("https://storage.googleapis.com/studio-design-asset-files/projects/7kadMxM9W3/s-3200x1640_v-frms_webp_88984301-a985-4d64-baaa-885f9d598c8d.png") center / cover no-repeat #e2e8f0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .55s ease, visibility 0s linear .55s;
}
#demo-admin.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .55s ease, visibility 0s;
}
#demo-admin button, #demo-admin select {
  font: inherit;
}
#demo-admin button:focus-visible, #demo-admin select:focus-visible, #demo-admin .admin-browser-body:focus-visible {
  outline: 2px solid #0284c7;
  outline-offset: -2px;
}
#demo-admin .admin-browser {
  width: 100%;
  max-width: 1440px;
  height: 88vh;
  height: 88dvh;
  max-height: 960px;
  overflow: hidden;
  border: 3px solid #1e293b;
  border-radius: 16px;
  background: #f8fafc;
  box-shadow: 0 24px 64px #0f172a26;
  display: flex;
  flex-direction: column;
}
#demo-admin .admin-browser-bar {
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 16px;
  background: #1e293b;
}
#demo-admin .admin-browser-dots {
  display: flex;
  gap: 6px;
}
#demo-admin .admin-browser-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #94a3b8;
}
#demo-admin .admin-browser-caption {
  font-size: 10px;
  color: #cbd5e1;
  letter-spacing: .03em;
}
.demo-title-logo img {
  display: block;
  width: 240px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}
#demo-admin .admin-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 312px;
  flex: 1;
  min-height: 0;
}
#demo-admin .admin-browser-body {
  min-width: 0;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  background: #f8fafc;
}
#demo-admin .admin-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 57px;
  padding: 12px 16px;
  border-bottom: 1px solid #e2e8f0;
  background: #fff;
}
#demo-admin .admin-header h1 {
  flex-shrink: 0;
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}
#demo-admin .admin-back {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 6px;
  flex-shrink: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #475569;
  cursor: pointer;
}
#demo-admin .admin-back:hover {
  background: #f1f5f9;
}
#demo-admin .admin-back svg {
  width: 20px;
  height: 20px;
}
/* Absolute positioning keeps the header and applicant cards stationary. */
#demo-admin .admin-back-tooltip {
  position: absolute;
  top: calc(100% - 4px);
  left: 16px;
  z-index: 1;
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 8px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #fff;
  color: #475569;
  box-shadow: 0 2px 8px #0f172a14;
  font-size: 12px;
  line-height: 1.6;
  visibility: hidden;
}
#demo-admin .admin-back:hover + .admin-back-tooltip,
#demo-admin .admin-back:focus-visible + .admin-back-tooltip,
#demo-admin .admin-back-tooltip:hover {
  visibility: visible;
}
#demo-admin .admin-header .admin-back-tooltip.is-dismissed {
  visibility: hidden;
}
#demo-admin .admin-demo-info {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
  margin-left: auto;
}
#demo-admin .admin-demo-label {
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 11px;
  color: #64748b;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 2px 6px;
}
#demo-admin .admin-main {
  max-width: 896px;
  margin: 0 auto;
  padding: 16px;
}
#demo-admin .is-hidden, #demo-admin #admin-list-screen, #demo-admin #admin-detail-screen {
  display: none;
}
#demo-admin #admin-detail-screen.is-active {
  display: block;
}
#demo-admin .admin-detail-layout, #demo-admin .admin-detail-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
#demo-admin .admin-profile-card, #demo-admin .admin-card {
  position: relative;
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 2px #0000000d;
  min-width: 0;
}
#demo-admin .admin-profile-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
#demo-admin .admin-profile-avatar {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #e2e8f0;
  color: #64748b;
  font-size: 20px;
  font-weight: 500;
}
#demo-admin .admin-profile-identity {
  flex: 1;
  min-width: 0;
}
#demo-admin .admin-profile-name {
  margin: 0;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 700;
}
#demo-admin .admin-profile-email {
  margin: 2px 0 0;
  font-size: 14px;
  color: #64748b;
  overflow-wrap: anywhere;
}
#demo-admin .admin-profile-date {
  margin: 2px 0 0;
  font-size: 12px;
  color: #94a3b8;
}
#demo-admin .admin-evaluation-score {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 8px;
  color: #fff;
  background: #10b981;
}
#demo-admin .admin-evaluation-score span {
  font-size: 10px;
  font-weight: 500;
}
#demo-admin .admin-evaluation-score strong {
  font-size: 24px;
  line-height: 1.15;
}
#demo-admin .admin-profile-data {
  border-top: 1px solid #f1f5f9;
  margin-top: 16px;
  padding-top: 16px;
}
#demo-admin .admin-profile-label {
  display: block;
  color: #334155;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
}
#demo-admin select {
  width: 100%;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  color: #0f172a;
  background: #fff;
  font-size: 14px;
}
#demo-admin .admin-profile-extra {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  margin: 12px 0 0;
  font-size: 12px;
}
#demo-admin .admin-profile-extra dt {
  color: #64748b;
  margin-bottom: 3px;
}
#demo-admin .admin-profile-extra dd {
  margin: 0;
  color: #334155;
}
#demo-admin .admin-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}
#demo-admin .admin-section-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
#demo-admin .admin-icon-ai {
  color: #059669;
}
#demo-admin .admin-icon-summary {
  color: #0ea5e9;
}
#demo-admin .admin-icon-record {
  color: #f43f5e;
}
#demo-admin .admin-evaluation-top {
  margin-bottom: 8px;
}
#demo-admin .admin-evaluation-label {
  color: #64748b;
  font-size: 12px;
  margin-bottom: 2px;
}
#demo-admin .admin-evaluation-heading {
  font-size: 14px;
  color: #334155;
  font-weight: 600;
  line-height: 1.625;
}
#demo-admin .admin-body-text, #demo-admin .admin-summary-text, #demo-admin .admin-record-answer, #demo-admin .admin-record-question {
  font-size: 14px;
  color: #334155;
  line-height: 1.625;
  overflow-wrap: anywhere;
}
#demo-admin .admin-summary-item + .admin-summary-item {
  margin-top: 12px;
}
#demo-admin .admin-summary-label {
  font-size: 14px;
  color: #334155;
  font-weight: 500;
  margin-bottom: 4px;
  line-height: 1.625;
}
#demo-admin .admin-record-group {
  padding: 16px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  border-radius: 8px;
}
#demo-admin .admin-step-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 500;
}
#demo-admin .admin-step-title span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e0f2fe;
  color: #0369a1;
  font-size: 12px;
}
#demo-admin .admin-record-layout {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(96px, 2fr);
  gap: 16px;
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  align-items: start;
}
#demo-admin .admin-record-question {
  margin-bottom: 12px;
}
#demo-admin .admin-record-meta {
  color: #64748b;
  font-size: 12px;
  margin-bottom: 8px;
}
#demo-admin .admin-record-answer {
  background: #f8fafc;
  border-radius: 4px;
  padding: 12px;
  font-size: 12px;
}
#demo-admin .admin-record-video {
  aspect-ratio: 9/16;
  background: #0f172a;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
#demo-admin .admin-play {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffffed;
  color: #1e293b;
  font-size: 18px;
  padding-left: 2px;
}
#demo-admin .admin-video-label {
  font-size: 10px;
  color: #cbd5e1;
  text-align: center;
  line-height: 1.6;
}
#demo-admin .admin-video-label span {
  color: #94a3b8;
}
#demo-admin .admin-sample-note {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 400;
  min-width: 0;
  text-align: right;
  overflow-wrap: anywhere;
  margin: 0;
}
/* The guide uses its own rail, so it never covers the applicant or recording. */
#demo-admin .admin-guide-rail {
  position: relative;
  min-height: 0;
  border-left: 1px solid #e2e8f0;
  background: #f1f5f9;
  overflow: hidden;
}
#demo-admin .pr-tip {
  position: absolute;
  width: 280px;
  max-width: calc(100% - 32px);
  max-height: calc(100% - 32px);
  overflow: auto;
  left: 16px;
  top: 16px;
  padding: 16px;
  border: 1px solid #bae6fd;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 16px #0f172a1a;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--guide-fade) ease, visibility 0s linear var(--guide-fade);
}
#demo-admin .pr-tip.is-visible {
  opacity: 1;
  visibility: visible;
  transition: opacity var(--guide-fade) ease, visibility 0s;
}
#demo-admin .pr-tip-label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #0369a1;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 8px;
}
#demo-admin .pr-tip-label span {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border: 1px solid #38bdf8;
  border-radius: 50%;
  font-size: 11px;
}
#demo-admin .pr-tip-title {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 6px;
}
#demo-admin .pr-tip-body {
  font-size: 13px;
  line-height: 1.65;
  color: #334155;
  margin: 0;
}
#demo-admin .admin-card::after,
#demo-admin .admin-record-step::after {
  content: "";
  position: absolute;
  inset: -1px;
  border: 2px solid #4942FF;
  border-radius: inherit;
  box-shadow: 0 0 0 3px #4942ff1a;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--guide-fade) ease;
}
#demo-admin .admin-card.is-highlighted::after,
#demo-admin .admin-record-step.is-highlighted::after {
  opacity: 1;
}
@media (max-width: 1100px) {
  #demo-admin .admin-workspace {
    display: flex;
    flex-direction: column;
  }
  #demo-admin .admin-browser-body {
    flex: 1;
  }
  #demo-admin .admin-guide-rail {
    flex: 0 0 160px;
    max-height: 35%;
    border-left: 0;
    border-top: 1px solid #e2e8f0;
  }
  #demo-admin .pr-tip {
    left: 16px;
    top: 12px;
    width: 280px;
    max-height: calc(100% - 24px);
  }
}
@media (max-width: 639px) {
  #demo-admin {
    padding: 8px;
  }
  #demo-admin .admin-browser {
    height: calc(100dvh - 16px);
    max-height: none;
    border-width: 2px;
    border-radius: 12px;
  }
  #demo-admin .admin-browser-bar {
    height: 28px;
  }
  #demo-admin .admin-main {
    padding: 16px 12px;
  }
  #demo-admin .admin-card, #demo-admin .admin-profile-card {
    padding: 12px;
  }
  #demo-admin .admin-profile-avatar {
    width: 48px;
    height: 48px;
    font-size: 18px;
  }
  #demo-admin .admin-profile-name {
    font-size: 18px;
  }
  #demo-admin .admin-profile-email {
    font-size: 12px;
  }
  #demo-admin .admin-profile-date {
    font-size: 11px;
  }
  #demo-admin .admin-evaluation-score {
    width: 64px;
    height: 48px;
  }
  #demo-admin .admin-evaluation-score strong {
    font-size: 20px;
  }
  #demo-admin .admin-evaluation-score span {
    font-size: 9px;
  }
  #demo-admin .admin-profile-top {
    gap: 8px;
  }
  #demo-admin .admin-card-title {
    font-size: 14px;
    margin-bottom: 8px;
  }
  #demo-admin .admin-section-icon {
    width: 16px;
    height: 16px;
  }
  #demo-admin .admin-body-text, #demo-admin .admin-summary-text, #demo-admin .admin-summary-label, #demo-admin .admin-record-question, #demo-admin .admin-evaluation-heading {
    font-size: 12px;
  }
  #demo-admin .admin-record-group, #demo-admin .admin-record-layout {
    padding: 12px;
  }
  #demo-admin .admin-record-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  #demo-admin .admin-record-video {
    width: 50%;
    margin-left: 0;
  }
}
@media (min-width: 640px) and (max-width: 1100px) and (max-height: 500px) {
  #demo-admin {
    padding: 12px;
  }
  #demo-admin .admin-browser {
    height: calc(100dvh - 24px);
  }
  #demo-admin .admin-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 248px;
  }
  #demo-admin .admin-guide-rail {
    max-height: none;
    border-top: 0;
    border-left: 1px solid #e2e8f0;
  }
  #demo-admin .pr-tip {
    top: 16px;
    max-height: calc(100% - 32px);
  }
}
@media (prefers-reduced-motion: reduce) {
  #demo-admin {
    --guide-fade: 0ms;
    transition: none;
  }
  #demo-admin.is-active {
    transition: none;
  }
}
/* Applicant detail: step / question / answer structure from the product UI. */
#demo-admin .admin-record-step {
  padding: 16px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
}
#demo-admin .admin-record-step + .admin-record-step { margin-top: 20px; }
#demo-admin .admin-step-title { margin: 0 0 16px; }
#demo-admin .admin-card-title { flex-wrap: wrap; }
#demo-admin .admin-completion-badge {
  padding: 2px 8px; border: 1px solid #a7f3d0; border-radius: 999px;
  background: #ecfdf5; color: #047857; font-size: 11px; font-weight: 500;
}
#demo-admin .admin-record-question { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 8px; }
#demo-admin .admin-record-question p { margin: 0; min-width: 0; }
#demo-admin .admin-question-number {
  display: grid; place-items: center; width: 20px; height: 20px; flex-shrink: 0;
  border-radius: 50%; background: #f1f5f9; color: #475569; font-size: 12px;
}
#demo-admin .admin-answer-content { margin-left: 28px; }
#demo-admin .admin-record-meta { display: inline-block; padding: 2px 8px; border-radius: 4px; background: #f1f5f9; font-size: 12px; }
#demo-admin .admin-transcript { margin: 4px 0 8px; color: #64748b; font-size: 12px; }
#demo-admin .admin-transcript summary { cursor: pointer; padding: 4px 0; }
#demo-admin .transcript-open, #demo-admin details[open] .transcript-closed { display: none; }
#demo-admin details[open] .transcript-open { display: inline; }
#demo-admin .admin-record-answer { margin: 8px 0 0; }
#demo-admin .admin-answer-summary, #demo-admin .admin-answer-evaluation { padding: 12px; border-radius: 4px; font-size: 12px; line-height: 1.625; }
#demo-admin .admin-answer-summary { background: #eff6ff; color: #2563eb; }
#demo-admin .admin-answer-evaluation { margin-top: 8px; background: #ecfdf5; color: #059669; }
#demo-admin .admin-answer-content h4 { margin: 0; font-size: 12px; font-weight: 500; display: flex; align-items: center; gap: 4px; }
#demo-admin .admin-answer-content h4 strong { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 4px; background: #10b981; color: #fff; }
#demo-admin .admin-answer-summary p, #demo-admin .admin-answer-evaluation p { margin: 4px 0 0; }
#demo-admin .admin-record-video { background: #000; overflow: hidden; color: #94a3b8; font-size: 12px; text-align: center; }
#demo-admin .admin-record-media { display: block; width: 100%; height: 100%; aspect-ratio: 9/16; object-fit: cover; }
#demo-admin .admin-skip-icon { font-size: 28px; font-weight: 300; color: #64748b; }
#demo-admin .admin-final-question { display: inline-block; margin-left: 28px; padding: 2px 6px; border-radius: 3px; background: #e0f2fe; color: #0369a1; font-size: 10px; }
#demo-admin .admin-delete-applicant { width: 100%; padding: 12px; border: 1px solid #fda4af; border-radius: 8px; background: #fff; color: #f43f5e; font-size: 14px; cursor: pointer; }
#demo-admin .admin-delete-applicant:hover { background: #fff1f2; }
#demo-admin .admin-delete-wrap { position: relative; margin-top: 32px; }
#demo-admin .admin-delete-tooltip {
  position: absolute; bottom: calc(100% - 1px); left: 50%; transform: translateX(-50%);
  z-index: 2; width: max-content; max-width: 100%; padding: 8px 12px;
  border: 1px solid #e2e8f0; border-radius: 6px; background: #fff; color: #475569;
  box-shadow: 0 2px 8px #0f172a14; font-size: 12px; line-height: 1.6;
  visibility: hidden;
}
#demo-admin .admin-delete-applicant:hover + .admin-delete-tooltip,
#demo-admin .admin-delete-applicant:focus-visible + .admin-delete-tooltip,
#demo-admin .admin-delete-tooltip:hover { visibility: visible; }
#demo-admin .admin-delete-tooltip.is-dismissed { visibility: hidden; }
@media (max-width: 639px) {
  #demo-admin .admin-record-step { padding: 12px; }
  #demo-admin .admin-record-step + .admin-record-step { margin-top: 16px; }
  #demo-admin .admin-record-video { margin-left: 28px; }
  #demo-admin .admin-record-meta { font-size: 10px; }
}

/* Use the supplied profile image at the avatar size. */
#demo-admin .admin-reference-avatar {
  background-image: url("../assets/applicant-avatar.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 50%;
}

/* Supplementary concierge rail: independent from the scrollable admin screen. */
#demo-admin .admin-guide-rail { background: #F2F5F9; border-color: #c5ccdc; }
#demo-admin .pr-tip-label { height: 44px; padding: 0 18px; margin: 0; background: #4942ff; color: white; font-size: 13px; font-weight: 600; }
#demo-admin .pr-tip-label span { border-color: #ffffff99; }
#demo-admin .pr-tip { top: 60px; padding: 0 0 8px; max-height: calc(100% - 76px); border: 0; background: transparent; box-shadow: none; scrollbar-width: thin; }
#demo-admin .pr-tip-illustration { display: block; width: 180px; height: 160px; object-fit: contain; margin: 0 auto -20px; position: relative; z-index: 1; }
#demo-admin .pr-tip-card { background: #fff; border-radius: 14px; padding: 32px 20px 20px; box-shadow: 0 4px 12px #26314b14; }
#demo-admin .pr-tip-title { display: flex; align-items: center; gap: 8px; font-size: 18px; margin-bottom: 12px; }
#demo-admin .pr-tip-icon { display: grid; place-items: center; width: 28px; height: 28px; flex-shrink: 0; color: #4942ff; background: #efeeff; border-radius: 8px; font-size: 22px; }
#demo-admin .pr-tip-body { line-height: 1.85; }
#demo-admin .pr-tip-sample { font-size: 10px; color: #64748b; margin: 16px 0 0; }
@media (min-width: 640px) and (max-width: 1100px) {
  #demo-admin .admin-workspace { display: grid; grid-template-columns: minmax(0, 1fr) 280px; }
  #demo-admin .admin-guide-rail { max-height: none; border-top: 0; border-left: 1px solid #c5ccdc; }
}
@media (max-width: 639px) {
  #demo-admin .admin-guide-rail { flex: 0 0 280px; max-height: 42%; }
  #demo-admin .pr-tip { width: calc(100% - 32px); }
  #demo-admin .pr-tip-illustration { width: 140px; height: 120px; }
}

/* Shared mock layout: only the contents change between the two guides. */
#demo-admin .pr-tip { left: 0; width: 100%; max-width: none; padding: 0 6% 12px; top: 60px; max-height: calc(100% - 76px); overflow-y: auto; overflow-x: hidden; }
#demo-admin .pr-tip-concierge { position: relative; height: 126px; }
#demo-admin .pr-tip-illustration { position: absolute; right: 0; bottom: -26px; width: 130px; height: 150px; margin: 0; object-fit: contain; z-index: 0; }
#demo-admin .pr-tip-speech { position: absolute; z-index: 1; top: 16px; left: 0; margin: 0; padding: 12px 10px; background: #fff; border-radius: 14px; box-shadow: 0 3px 10px #26314b12; color: #41435d; font-size: 11px; font-weight: 600; line-height: 1.8; }
#demo-admin .pr-tip-speech::after { content: ""; position: absolute; right: -9px; top: 28px; width: 12px; height: 16px; background: white; clip-path: polygon(0 0, 100% 65%, 0 100%); }
#demo-admin .pr-tip-card { position: relative; z-index: 2; height: 400px; padding: 20px 18px 16px; border-radius: 20px; box-shadow: 0 5px 16px #26314b14; display: flex; flex-direction: column; }
#demo-admin .pr-tip-card::before { content: ""; position: absolute; top: 44px; left: -15px; width: 16px; height: 24px; background: #fff; clip-path: polygon(100% 0, 100% 100%, 0 50%); }
#demo-admin .pr-tip-title { align-self: flex-start; flex-shrink: 0; gap: 6px; padding: 7px 16px; margin: 0 0 16px; font-weight: 500; border-radius: 999px; background: #4942ff; color: white; font-size: 15px; line-height: 1.4; }
#demo-admin .pr-tip-icon { width: 20px; height: 20px; background: transparent; color: white; font-size: 20px; border-radius: 0; }
#demo-admin .pr-tip-body { font-size: 12px; line-height: 1.85; margin: 0; }
#demo-admin .pr-tip-sample { margin-top: 10px; }

/* Supplement header only: extend to the top of the browser frame. */
#demo-admin .admin-guide-rail { overflow: visible; }
#demo-admin .admin-guide-rail > .pr-tip-label {
  position: relative;
  z-index: 3;
  transform: translateY(-36px);
  width: 100%;
  height: 36px;
  padding: 0 24px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  background: linear-gradient(90deg, #4942ff 0%, #5750ff 100%);
}
@media (max-width: 639px) {
  #demo-admin .admin-guide-rail > .pr-tip-label { transform: none; }
}

/* Match the two header labels. */
#demo-admin .admin-browser-caption,
#demo-admin .admin-guide-rail > .pr-tip-label { font-size: 14px; font-weight: 500; }

/* Compact supplementary cards with consistent text spacing. */
#demo-admin .pr-tip-card { height: auto; }

/* Center the supplementary card within the space below its header. */
#demo-admin .pr-tip { padding-bottom: 0; max-height: calc(100% - 24px); }
@media (max-width: 639px) {
  #demo-admin .pr-tip { max-height: calc(100% - 60px); }
}

/* Illustration overlaps the upper-right corner without moving the card content. */
#demo-admin .pr-tip { padding-top: 94px; }
#demo-admin .pr-tip-card-illustration { position: absolute; right: 14px; top: -87.39px; width: 139.15px; height: 159.39px; object-fit: contain; pointer-events: none; }

/* Light blue depth for the supplementary bubble. */
#demo-admin .pr-tip-card { box-shadow: 0 6px 18px rgba(73, 66, 255, 0.18), 0 2px 6px rgba(73, 66, 255, 0.12); }

#demo-admin .pr-tip { padding-bottom: 24px; }

/* Match the original applicant detail palette for rank B. */
#demo-admin .admin-evaluation-score[data-grade="B"],
#demo-admin .admin-score-a[data-grade="B"],
#demo-admin .admin-answer-evaluation[data-grade="B"] h4 strong { background: #60a5fa; color: #fff; }
#demo-admin .admin-answer-evaluation[data-grade="B"] { background: #eff6ff; color: #2563eb; }

/* Supplementary label, catch and body hierarchy. */
#demo-admin .admin-record-step { position: relative; }
#demo-admin .pr-tip-title { font-size: 16px; font-weight: 600; margin-bottom: 16px; }
#demo-admin .pr-tip-catch { margin: 0 0 14px; font-size: 22px; font-weight: 600; line-height: 1.5; color: #0f172a; overflow-wrap: anywhere; white-space: pre-line; }
#demo-admin .pr-tip-body { font-size: 14px; line-height: 1.85; white-space: normal; }

#demo-admin .pr-tip-body-line { display: block; }
#demo-admin .pr-tip-body-line + .pr-tip-body-line { margin-top: 8px; }
#demo-admin .pr-tip-body-bullet { display: flex; align-items: baseline; gap: 0.4em; }
#demo-admin .pr-tip-bullet-marker { flex: 0 0 auto; color: #4942ff; font-size: 0.75em; }

#demo-admin .pr-tip-body-note { font-size: 12px; }

/* Give the label and illustration separate space across the top of the bubble. */
#demo-admin .pr-tip-card { padding-top: 20px; }
#demo-admin .pr-tip-title { white-space: nowrap; }
@media (min-width: 640px) {
  #demo-admin .admin-workspace { grid-template-columns: minmax(0, 1fr) 360px; }
}
@media (max-width: 639px) {
  #demo-admin .pr-tip-card-illustration { width: 110px; height: 126px; top: -54px; right: 10px; }
}

/* Free demo offer, shown only with the final supplementary guide. */
#demo-admin .pr-tip-offer { margin-top: 20px; }
#demo-admin .pr-tip-offer[hidden], #demo-admin .pr-tip-offer-feedback[hidden] { display: none; }
#demo-admin .pr-tip-offer-benefits { padding: 17px 14px; border: 1px solid #e5e2ff; border-radius: 12px; background: #f5f4ff; }
#demo-admin .pr-tip-offer-benefits h3 { margin: 0 0 14px; font-size: 14px; font-weight: 600; line-height: 1.6; color: #3730ad; }
#demo-admin .pr-tip-offer-benefits ul { padding: 0; margin: 0; list-style: none; display: grid; gap: 12px; }
#demo-admin .pr-tip-offer-benefits li { display: flex; gap: 9px; align-items: baseline; font-size: 14px; line-height: 1.65; color: #25304b; }
#demo-admin .pr-tip-offer-benefits li > span:first-child { color: #4942ff; flex-shrink: 0; font-size: 10px; }
#demo-admin .pr-tip-offer-cta { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; border: 0; border-radius: 12px; margin-top: 18px; padding: 17px 8px; background: linear-gradient(110deg, #6254ff, #4942ff); box-shadow: 0 5px 12px #4942ff35; color: #fff; font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1.5; cursor: pointer; transition: transform .16s, box-shadow .16s; }
#demo-admin .pr-tip-offer-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 16px #4942ff45; }
#demo-admin .pr-tip-offer-cta:active { transform: translateY(0); }
#demo-admin .pr-tip-offer-cta:focus-visible { outline: 3px solid #4942ff; outline-offset: 4px; }
#demo-admin .pr-tip-offer-feedback { margin: 12px 0 0; color: #64748b; font-size: 12px; line-height: 1.6; text-align: center; }
@media (prefers-reduced-motion: reduce) {
  #demo-admin .pr-tip-offer-cta { transition: none; }
}

/* Three-line headings define the height; illustrations do not add empty space. */
#demo-admin .pr-tip { padding-top: 12px; }
#demo-admin .pr-tip-heading-row { position: relative; display: block; margin-bottom: 18px; }
#demo-admin .pr-tip-heading-copy { position: relative; z-index: 1; width: 154px; max-width: 58%; }
#demo-admin .pr-tip-title { display: table; max-width: 100%; padding: 7px 12px; margin: 0 0 16px; white-space: nowrap; }
#demo-admin .pr-tip-catch { margin: 0; font-size: 22px; font-weight: 600; line-height: 1.5; min-height: 4.5em; white-space: pre-line; overflow-wrap: normal; }
#demo-admin .pr-tip-card-illustration { position: absolute; inset: auto -14px 0 auto; width: 180px; max-width: none; height: 162px; margin: 0; aspect-ratio: auto; object-fit: contain; object-position: right bottom; }
#demo-admin .pr-tip-card-illustration[src*="illust_a"] { width: 160px; right: -18px; }
@media (min-width: 640px) {
  #demo-admin .admin-workspace { grid-template-columns: minmax(0, 1fr) 360px; }
}
@media (max-width: 359px) {
  #demo-admin .pr-tip-heading-copy { max-width: 62%; }
  #demo-admin .pr-tip-catch { font-size: 20px; }
  #demo-admin .pr-tip-card-illustration { width: 150px; height: 145px; }
  #demo-admin .pr-tip-card-illustration[src*="illust_a"] { width: 130px; }
}

/* Spotlight: multiply only the area outside the active guide target. */
#demo-admin .admin-browser-body { isolation: isolate; }
/* Cover the entire scroll pane, including its sticky header, without a spotlight hole. */
#demo-admin .admin-browser-body::before {
  content: "";
  display: block;
  position: sticky;
  top: 0;
  height: 0;
  box-shadow: 0 0 0 10000px rgba(0, 0, 0, 0.45);
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 40;
  opacity: 0;
  transition: opacity var(--guide-fade) ease;
}
#demo-admin .admin-browser-body.is-offer::before { opacity: 1; }
#demo-admin .admin-card::before,
#demo-admin .admin-record-step::before {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: inherit;
  box-shadow: 0 0 0 10000px #cfcfcf;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 20;
  opacity: 0;
  transition: opacity var(--guide-fade) ease;
}
#demo-admin .admin-card.is-highlighted::before,
#demo-admin .admin-record-step.is-highlighted::before { opacity: 1; }
#demo-admin .admin-card::after,
#demo-admin .admin-record-step::after { z-index: 21; }

/* Remove the redundant outer recording frame; shade each question group. */
#demo-admin .admin-record-group { padding: 0; border: 0; border-radius: 0; background: transparent; }
#demo-admin .admin-record-step { background: #f8fafc; }

/* Figma Section 1: 280px rail, including 24px outer spacing. */
@media (min-width: 640px) {
  #demo-admin .admin-workspace { grid-template-columns: minmax(0, 1fr) 280px; }
}
#demo-admin .admin-guide-rail { border-left: 0; background: #f2f5f9; transition: background-color .5s ease; }
#demo-admin .admin-guide-rail.is-offer { background-color: #FFE8F1; }
#demo-admin .admin-guide-rail.is-offer > .pr-tip-label { background: #EC3B8A; }
@media (prefers-reduced-motion: reduce) {
  #demo-admin .admin-guide-rail { transition: none; }
}
#demo-admin .pr-tip { left: 0; width: 100%; max-width: none; max-height: 100%; padding: 24px; overflow: auto; }
#demo-admin .pr-tip-card { width: 220px; min-height: 480px; height: auto; margin-left: 12px; padding: 20px; border: 0; border-radius: 16px; gap: 12px; box-shadow: 0 6px 18px rgba(79,70,255,.2); }
#demo-admin .pr-tip-card > * { flex-shrink: 0; }
#demo-admin .pr-tip-card::after { content: ""; position: absolute; inset: -.5px; border: 1px solid #9497ff; border-radius: 16.5px; pointer-events: none; }
#demo-admin .pr-tip-card::before { top: calc(50% - 6.8088px); left: -13.1184px; width: 13.6184px; height: 13.6176px; background: url("../assets/supplement-tail.svg") center / contain no-repeat; clip-path: none; }
#demo-admin .pr-tip-heading-row { position: relative; z-index: 1; height: 40px; margin: 0; }
#demo-admin .pr-tip-heading-copy { width: 100%; max-width: none; }
#demo-admin .pr-tip-title { display: inline-flex; align-items: center; height: 40px; max-width: none; padding: 0 16px; margin: 0; border-radius: 100px; background: #464bfa; font-size: 16px; font-weight: 600; line-height: 23px; }
#demo-admin .pr-tip-catch { margin: 0; min-height: 0; font-size: 22px; font-weight: 600; line-height: 32px; color: #0f1729; white-space: pre-line; overflow-wrap: normal; }
#demo-admin .pr-tip-body { margin: 0; font-size: 14px; font-weight: 400; line-height: 17px; color: #344154; }
#demo-admin .pr-tip-body-bullet { display: grid; grid-template-columns: 14px minmax(0,1fr); gap: 8px; align-items: start; }
#demo-admin .pr-tip-bullet-marker { color: #464bfa; font-size: 14px; }
#demo-admin .pr-tip-body-note { font-size: 14px; line-height: 17px; }
#demo-admin .pr-tip-image-panel { position: relative; display: flex; align-items: center; justify-content: center; height: 90px; margin-bottom: 4px; overflow: hidden; border-radius: 8px; background: #e9eaff; }
#demo-admin .pr-tip .pr-tip-image-panel .pr-tip-card-illustration { position: static; inset: auto; width: 116px; height: 90px; flex-shrink: 0; margin: 0; object-fit: cover; }
#demo-admin .pr-tip[data-target="admin-summary-card"] .pr-tip-image-panel .pr-tip-card-illustration { object-fit: contain; }
#demo-admin .pr-tip-body-line + .pr-tip-body-note { margin-top: 16px; }
#demo-admin .pr-tip.is-offer .pr-tip-card { width: 232px; min-height: 530px; gap: 16px; margin-left: 0; border: 1px solid #f48dbc; box-shadow: 0 6px 18px rgba(255,70,144,.2); }
#demo-admin .pr-tip.is-offer .pr-tip-card::before,
#demo-admin .pr-tip.is-offer .pr-tip-card::after,
#demo-admin .pr-tip.is-offer .pr-tip-image-panel { display: none; }
#demo-admin .pr-tip.is-offer .pr-tip-title { background: #ec3b8a; }
#demo-admin .pr-tip-offer { margin: 0; }
#demo-admin .pr-tip-offer-benefits { padding: 16px; border: 0; border-radius: 8px; background: #fff1f7; }
#demo-admin .pr-tip-offer-benefits h3 { margin: 0 0 8px; font-size: 16px; font-weight: 500; line-height: 23px; color: #ec3b8a; white-space: nowrap; }
#demo-admin .pr-tip-offer-benefits ul { gap: 8px; }
#demo-admin .pr-tip-offer-benefits li { display: grid; grid-template-columns: 14px minmax(0,1fr); gap: 8px; align-items: start; color: #344154; font-size: 14px; font-weight: 400; line-height: 17px; }
#demo-admin .pr-tip-offer-benefits li > span:first-child { color: #ec3b8a; font-size: 14px; }
#demo-admin .pr-tip-offer-cta { width: 190px; height: 48px; gap: 0; text-align: center; margin-top: 16px; padding: 0; border: 2px solid white; border-radius: 8px; background: #33c476; box-shadow: 0 4px 16px rgba(51,196,118,.2); font-size: 16px; font-weight: 600; line-height: 23px; white-space: nowrap; }
#demo-admin .pr-tip-offer-cta:hover { box-shadow: 0 6px 12px rgba(51,196,118,.3); }
@media (max-width: 639px) {
  #demo-admin .pr-tip { max-height: calc(100% - 36px); }
}
