/* Page layout only. Candidate cards and the file list use existing shared styles. */
body.guest-analysis-page { --font: "Geist", sans-serif; font-family: var(--font); }
.guest-analysis { padding: clamp(28px, 3vw, 48px) 0 64px; }
.guest-analysis h1, .guest-analysis h2, .guest-analysis p { margin: 0; }
.guest-analysis__heading { max-width: 1040px; margin: 0 auto 30px; text-align: center; }
.guest-analysis__heading h1 { font-size: clamp(30px, 4vw, 58px); font-weight: 850; line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
.guest-analysis__heading > p { max-width: 820px; margin: 18px auto 0; color: #535e70; font-size: clamp(15px, 1.3vw, 18px); line-height: 1.65; }
.guest-analysis__intake { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.guest-analysis__panel { min-width: 0; padding: clamp(20px, 2vw, 30px); border: 2px solid #111; background: #fff; }
.guest-analysis__panel--role { display: flex; flex-direction: column; }
.guest-analysis h2 { font-size: clamp(20px, 1.8vw, 25px); font-weight: 800; line-height: 1.3; letter-spacing: -.02em; }
.guest-analysis label { display: block; font-size: 14px; font-weight: 750; line-height: 1.4; }
.guest-analysis input[type="text"], .guest-analysis textarea { width: 100%; min-width: 0; margin-top: 8px; padding: 12px; border: 2px solid #a5a5a5; border-radius: 0; background: #fff; color: #111; font: inherit; font-size: 14px; line-height: 1.5; }
.guest-analysis input[type="text"] { min-height: 46px; }
.guest-analysis textarea { display: block; flex: 1 1 auto; height: auto; min-height: 210px; margin-top: 0; padding-bottom: 36px; resize: none; overflow-y: auto; scrollbar-width: none; }
.guest-analysis textarea::-webkit-scrollbar { display: none; }
.guest-analysis input::placeholder, .guest-analysis textarea::placeholder { color: #737b87; opacity: 1; }
.guest-analysis :is(button, a):focus-visible { outline: 2px solid #075ed1; outline-offset: 3px; }
.guest-analysis :is(input[type="text"], textarea):focus { border-color: #596272; outline: none; box-shadow: none; }
.guest-analysis__description-field { position: relative; display: flex; flex: 1 1 auto; min-height: 210px; margin-top: 8px; }
.guest-analysis__actions { margin-top: 20px; padding: 0 4px 4px 0; }
.guest-analysis p.guest-analysis__privacy { margin-bottom: 12px; color: #596272; font-size: 12px; line-height: 1.55; }
.guest-analysis .guest-analysis__consent { display: grid; grid-template-columns: 18px minmax(0, 1fr); align-items: center; gap: 9px; margin-bottom: 16px; color: #4f5863; font-size: 11.5px; font-weight: 650; line-height: 1.45; cursor: pointer; }
.guest-analysis__consent input { width: 17px; height: 17px; margin: 0; align-self: center; accent-color: #111; cursor: pointer; }
.guest-analysis__consent input:focus-visible { outline: 2px solid #111; outline-offset: 3px; }
.guest-analysis__consent a { color: #075ed1; }
.guest-analysis__description-label { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 20px; }
.guest-analysis__counter { position: absolute; right: 12px; bottom: 10px; padding: 3px 6px; background: #fff; -webkit-text-stroke: 3px #fff; paint-order: stroke fill; text-shadow: 0 0 4px #fff; pointer-events: none; color: #596272; font-size: 11px; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.guest-analysis p.guest-analysis__hint { margin-top: 10px; color: #596272; font-size: 12px; line-height: 1.6; }
.guest-analysis__dropzone { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; min-height: 122px; padding: 18px; border: 2px dashed #7f7f7f; background: #fff; transition: transform .18s ease, background-color .18s ease, border-color .18s ease; }
.guest-analysis__dropzone.is-dragover { border-color: #111; background: #f0f1f3; transform: translateY(-1px); }
.guest-analysis__dropzone.is-dragover .guest-analysis__browse { background: #111; color: #fff; transform: translateY(-1px); }
.guest-analysis__dropzone-copy { min-width: 0; }
.guest-analysis__dropzone strong { display: block; font-size: 15px; line-height: 1.4; }
.guest-analysis__dropzone p { margin-top: 6px; color: #596272; font-size: 12px; line-height: 1.5; }
.guest-analysis__browse { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 14px; border: none; border-radius: 6px; background: #e5e5e5; color: #111; font-family: var(--font); font-size: 12px; font-weight: 600; cursor: pointer; transition: background-color .18s ease, color .18s ease, transform .16s ease; }
.guest-analysis__browse svg { width: 15px; height: 15px; }
.guest-analysis__browse:active { background: #d5d5d5; transform: translateY(0); }
  .guest-analysis__browse:disabled { opacity: .65; cursor: not-allowed; }
.guest-analysis .upload-resume-list { margin-top: 18px; }
.guest-analysis .upload-resume-item { border-radius: 0; }
.guest-analysis .upload-resume-remove { font-family: inherit; }
.guest-analysis .upload-start-button.is-registration-mode {
  background-color: #111111;
  background-image: linear-gradient(var(--landing-blue), var(--landing-blue));
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 0% 100%;
  color: #ffffff;
  box-shadow: 3px 3px 0 var(--landing-blue);
  transition: background-size .34s cubic-bezier(.22, 1, .36, 1), color 0s linear, box-shadow .26s ease, transform .16s ease;
}
.guest-analysis .upload-start-button.is-registration-mode::before { display: none; }
.guest-analysis .upload-start-button.is-registration-mode:focus-visible {
  background-size: 100% 100%;
  color: #111111;
  box-shadow: 6px 6px 0 #111111;
  transform: translate(-1px, -1px);
}
.guest-analysis .guest-analysis__results { position: static; left: auto; width: 100%; margin: 38px 0 0; padding: 0; }
.guest-analysis__results-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 18px; }
.guest-analysis__results-heading p { color: #596272; font-size: 13px; font-weight: 750; line-height: 1.5; }
.guest-analysis .guest-analysis__result-grid { width: 100%; }
.guest-analysis .candidate-card-controls-row { justify-content: flex-start; gap: 8px; }
.guest-analysis .candidate-card-contact-wrap:not(.candidate-card-contact-wrap--inline) .candidate-card-contact-popover { left: 0; right: auto; }
.guest-analysis .candidate-card-contact-popover { scrollbar-width: none; }
.guest-analysis .candidate-card-contact-popover::-webkit-scrollbar { display: none; }
.guest-analysis p.guest-analysis__disclaimer { max-width: 1040px; margin: 20px auto 0; text-align: center; color: #596272; font-size: 13px; line-height: 1.65; }
@media (hover: hover) and (pointer: fine) {
  .guest-analysis .upload-start-button.is-registration-mode:hover:not(:disabled) {
    background-size: 100% 100%;
    color: #111111;
    box-shadow: 6px 6px 0 #111111;
    transform: translate(-1px, -1px);
  }
  .guest-analysis__dropzone:hover { background: #f0f1f3; transform: translateY(-1px); }
  .guest-analysis__dropzone:hover .guest-analysis__browse,
  .guest-analysis__browse:hover { background: #111; color: #fff; transform: translateY(-1px); }
}
.guest-analysis .upload-start-button.is-registration-mode:active {
  background-color: #111111;
  background-size: 100% 100%;
  color: #111111;
  box-shadow: 2px 2px 0 #111111;
  transform: translate(1px, 1px);
}
@media (hover: none), (pointer: coarse) {
  .guest-analysis .upload-resume-item:hover { background: #fff; }
  .guest-analysis .upload-resume-remove:hover:not(:disabled) { background: #fff; color: #111; transform: none; box-shadow: 3px 3px 0 #111; }
}
@media (max-width: 960px) {
  .guest-analysis__intake { grid-template-columns: minmax(0, 1fr); }
  .guest-analysis__description-field { flex: 0 0 auto; }
}
@media (max-width: 760px) {
  .guest-analysis .guest-analysis__result-grid { grid-auto-rows: auto; }
  .guest-analysis :is(.candidate-card--invalid, .candidate-card--needs-review) { min-height: 0; }
}
@media (max-width: 600px) {
  .guest-analysis__panel { padding: 18px; }
  .guest-analysis input[type="text"], .guest-analysis textarea { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .guest-analysis *, .guest-analysis *::before, .guest-analysis *::after { transition: none; animation: none; }
}
