:root { color: #282126; background: #f9f6f7; font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; }
.shell { max-width: 1060px; margin: 0 auto; padding: 56px 24px; }
.masthead { display: flex; justify-content: space-between; align-items: end; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid #e5dce2; }
.eyebrow { color: #80526f; font-size: 12px; font-weight: 700; letter-spacing: .08em; margin: 0 0 8px; text-transform: uppercase; }
h1, h2 { font-family: Georgia, serif; font-weight: 500; letter-spacing: -.03em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.7rem); line-height: .95; margin: 0; }
h2 { font-size: 1.65rem; margin: 0 0 18px; }
.lede { color: #6e6269; line-height: 1.55; max-width: 560px; margin: 18px 0 0; }
.import-form, .lookup-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
input[type="file"], input[type="text"] { border: 1px solid #d8cbd4; border-radius: 8px; background: white; color: #342c32; padding: 10px; font: inherit; }
input[type="file"] { max-width: 270px; }
input[type="text"] { min-width: 190px; }
input[type="submit"] { appearance: none; cursor: pointer; border: 0; border-radius: 8px; background: #522e47; color: white; padding: 11px 15px; font: inherit; font-weight: 700; }
.notice, .alert { border-radius: 9px; padding: 13px 15px; margin: 22px 0 0; }
.notice { background: #e5f2e8; color: #245134; }.alert { background: #f9e5e5; color: #7d2d2d; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 28px 0; }.stats article, .panel, .empty-state { border: 1px solid #e5dce2; border-radius: 13px; background: #fff; }.stats article { padding: 19px; }.stats span, .change-grid span { color: #776c73; display: block; font-size: 13px; }.stats strong { display: block; font-size: 29px; letter-spacing: -.04em; margin-top: 8px; }.stats strong a, .relationship-list dd a { color: #35232f; text-decoration-color: #c6a9bc; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.panel { padding: 24px; }.lookup { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; }.lookup-result { grid-column: 1 / -1; border-top: 1px solid #eee8ec; color: #5f545b; margin: 0; padding-top: 16px; }.two-column { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.relationship-list { margin: 0; }.relationship-list div { align-items: center; border-top: 1px solid #eee8ec; display: flex; justify-content: space-between; padding: 14px 0; }.relationship-list dt { color: #5f545b; }.relationship-list dd { font-size: 22px; font-weight: 700; margin: 0; }.account-list { columns: 2; font-size: 14px; line-height: 1.8; margin-bottom: 0; padding-left: 18px; }.change-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }.change-grid div { background: #f8f2f6; border-radius: 8px; padding: 14px; }.change-grid strong { display: block; font-size: 26px; margin-top: 5px; }.change-lists { color: #5f545b; font-size: 14px; line-height: 1.5; }.muted, .snapshot-note { color: #786e74; line-height: 1.5; }.snapshot-note { font-size: 13px; margin: 18px 2px; }.empty-state { margin-top: 28px; max-width: 680px; padding: 28px; }.empty-state p { color: #625760; line-height: 1.6; }
@media (max-width: 700px) { .shell { padding: 34px 16px; }.masthead, .lookup { align-items: start; display: grid; grid-template-columns: 1fr; }.stats, .two-column { grid-template-columns: 1fr 1fr; }.lookup-result { grid-column: auto; }.import-form { display: grid; }.stats article:last-child { grid-column: span 2; } }
@media (max-width: 430px) { .stats, .two-column { grid-template-columns: 1fr; }.stats article:last-child { grid-column: auto; } }
.list-shell { max-width: 780px; }.back-link { color: #633c57; display: inline-block; font-size: 14px; font-weight: 700; margin-bottom: 38px; }.list-header { border-bottom: 1px solid #e5dce2; padding-bottom: 24px; }.list-header .lede { margin-top: 12px; }.accounts { list-style: none; margin: 22px 0 0; padding: 0; }.accounts li { align-items: center; border-bottom: 1px solid #ece5e9; display: flex; gap: 14px; justify-content: space-between; padding: 14px 4px; }.handle { font-size: 16px; font-weight: 700; }.badges { display: flex; flex-wrap: wrap; gap: 6px; justify-content: end; }.badges span { background: #f5edf2; border-radius: 99px; color: #6e465f; font-size: 12px; padding: 5px 8px; }

a.handle, .account-list a, .change-lists a, .lookup-result a { color: #633c57; text-decoration-color: #c6a9bc; text-underline-offset: 3px; }
.site-header { background: #fffcfd; border-bottom: 1px solid #e5dce2; }
.site-header-inner { max-width: 1060px; margin: 0 auto; min-height: 88px; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: #382832; font-weight: 700; letter-spacing: -.02em; }
.site-brand small { display: block; color: #766973; font-size: 11px; font-weight: 400; letter-spacing: .02em; margin-top: 3px; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #eee2e9; color: #633c57; font-family: Georgia, serif; font-size: 25px; font-weight: 400; }
.site-nav { display: flex; gap: 5px; padding: 5px; background: #f3edf0; border-radius: 12px; }
.nav-link { padding: 10px 16px; border-radius: 8px; color: #6e6269; text-decoration: none; font-size: 13px; font-weight: 600; white-space: nowrap; }
.nav-link:hover { color: #522e47; background: #ebe1e7; }
.nav-link.is-active { background: #fff; color: #522e47; box-shadow: 0 1px 4px #38283212; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid #9c7890; outline-offset: 4px; }
.candidates-shell { max-width: 1060px; padding-top: 40px; }
.candidates-shell .back-link { margin-bottom: 24px; text-decoration: none; }
.candidates-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 30px; border-bottom: 1px solid #e5dce2; }
.candidates-header h1 { font-size: clamp(2rem, 5vw, 3.35rem); line-height: 1.12; overflow-wrap: anywhere; }
.candidates-header .lede { margin-top: 14px; }
.collection-count { flex-shrink: 0; color: #766973; font-size: 12px; text-align: right; }
.collection-count strong { display: block; color: #522e47; font-size: 35px; font-weight: 500; letter-spacing: -.04em; margin-bottom: 4px; }
.collection-section { margin: 34px 0; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.section-heading h2 { margin: 0; font-size: 24px; }
.section-heading > span { color: #766973; font-size: 12px; }
.collection-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 0; margin: 0; list-style: none; }
.collection-card { display: flex; flex-direction: column; gap: 8px; padding: 24px; background: #fff; border: 1px solid #e5dce2; border-radius: 16px; color: #382832; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.collection-card:hover { border-color: #baa0b0; box-shadow: 0 4px 14px #522e470a; }
.collection-card > strong { font-size: 22px; overflow-wrap: anywhere; letter-spacing: -.03em; }
.collection-card .eyebrow { font-size: 10px; margin: 0; }
.collection-card-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; font-size: 13px; color: #766973; }
.collection-card-bottom b { color: #382832; }
.collection-card-bottom small { display: block; font-size: 11px; margin-top: 6px; }
.collection-arrow { display: grid; place-items: center; width: 36px; height: 36px; background: #f5edf2; border-radius: 50%; color: #633c57; font-size: 22px; }
.import-panel { display: grid; grid-template-columns: 1fr 1.2fr; gap: 36px; margin-top: 32px; padding: 28px; }
.import-panel h2 { font-size: 25px; margin-bottom: 12px; }
.import-panel .muted { font-size: 13px; }
.candidate-import { display: grid; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.form-field label { font-size: 12px; font-weight: 650; color: #5f4657; }
.candidate-import input[type="text"], .candidate-import input[type="file"] { width: 100%; max-width: none; min-width: 0; font-size: 13px; border-color: #e0d5dd; }
.candidate-import input[type="file"]::file-selector-button { background: #f4edf1; border: 0; border-radius: 5px; padding: 7px 9px; color: #522e47; margin-right: 10px; cursor: pointer; }
.candidate-import input[type="submit"] { justify-self: start; font-size: 13px; }
.candidate-toolbar { border: 1px solid #e5dce2; border-radius: 14px; background: #fff; padding: 20px; margin-top: 26px; }
.candidate-filter { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 18px; }
.candidate-filter > .form-field:first-child { flex: 1; min-width: 230px; }
.candidate-filter select, .candidate-filter input[type="number"] { appearance: auto; background: #fcfafb; border: 1px solid #d8cbd4; border-radius: 8px; padding: 11px 12px; font: inherit; font-size: 13px; color: #382832; min-height: 42px; }
.candidate-filter input[type="submit"] { margin-top: 22px; font-size: 13px; min-height: 42px; }
.days-input { display: flex; align-items: center; gap: 9px; font-size: 13px; color: #766973; }
.days-input input { width: 78px; }
.days-field small { color: #766973; font-size: 10px; }
.candidate-list-heading { display: flex; justify-content: space-between; gap: 16px; color: #766973; font-size: 12px; margin: 30px 0 12px; }
.candidate-guide { color: #766973; font-size: 12px; margin-bottom: 20px; }
.candidate-guide summary, .score-details summary { cursor: pointer; color: #633c57; font-weight: 600; }
.candidate-guide p { max-width: 760px; line-height: 1.6; }
.candidate-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.candidate-row { display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 30px; padding: 24px; border: 1px solid #e5dce2; border-radius: 15px; background: #fff; scroll-margin-top: 20px; }
.candidate-row:target { border-color: #b694a9; }
.candidate-info { min-width: 0; }
.candidate-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.candidate-heading .handle { font-size: 18px; text-decoration: none; overflow-wrap: anywhere; }
.candidate-heading .handle:hover { text-decoration: underline; }
.rank-label { color: #766973; font-size: 11px; background: #f6f1f4; padding: 4px 7px; border-radius: 5px; }
.copy-username { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border: 1px solid #e5dce2; border-radius: 7px; background: #fcfafb; color: #766973; cursor: pointer; }
.copy-username:hover { color: #522e47; background: #f2e8ee; }
.copy-username:disabled { opacity: .6; cursor: wait; }
.copy-feedback { font-size: 11px; color: #386247; }
.imported-follow-date { font-size: 12px; color: #766973; line-height: 1.5; margin: 12px 0; }
.imported-follow-date small { display: block; font-size: 10px; }
.candidate-metrics { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 12px; color: #766973; margin: 12px 0 16px; }
.candidate-metrics strong { color: #4d4149; font-weight: 600; }
.candidate-bio { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.65; font-size: 14px; margin: 0 0 16px; color: #5f545b; }
.candidate-info > .muted { font-size: 13px; }
.score-details { font-size: 12px; }
.score-details p { line-height: 1.6; overflow-wrap: anywhere; margin-bottom: 0; color: #766973; }
.candidate-actions { display: flex; flex-direction: column; align-items: stretch; gap: 15px; border-left: 1px solid #eee8ec; padding-left: 22px; }
.candidate-score { align-self: flex-end; text-align: right; }
.candidate-score strong { font-size: 24px; color: #633c57; font-weight: 600; letter-spacing: -.04em; }
.candidate-score small { display: block; color: #766973; font-size: 10px; margin-top: 3px; }
.candidate-actions .badges { gap: 5px; }
.candidate-actions .badges span { line-height: 1.4; text-align: center; font-size: 11px; }
.candidate-actions .badges .badge-positive { background: #eaf3eb; color: #386247; }
.candidate-actions .badges .badge-waiting { background: #faf0df; color: #805d29; }
.candidate-actions form { margin-top: auto; }
.record-follow { cursor: pointer; border: 1px solid #d7c5d0; background: #fcf9fb; color: #633c57; border-radius: 8px; padding: 10px 14px; width: 100%; font: inherit; font-size: 12px; font-weight: 650; }
.record-follow:hover { background: #f2e8ee; border-color: #b694a9; }
.follow-confirmation { display: flex; flex-direction: column; gap: 5px; font-size: 11px; color: #766973; text-align: right; margin: auto 0 0; line-height: 1.5; }
.follow-confirmation strong { color: #386247; font-size: 12px; }
.follow-confirmation small { font-size: 10px; }
.follow-control { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.record-follow:disabled { opacity: .6; cursor: wait; }
.exception-panel { margin-top: 24px; }
.exception-panel summary { cursor: pointer; font-weight: 600; color: #633c57; }
.exception-panel .muted { font-size: 13px; }
.exception-list { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.exception-list li { display: flex; align-items: center; gap: 12px; border: 1px solid #e5dce2; border-radius: 8px; padding: 8px 12px; font-size: 12px; }
.exception-remove { border: 0; background: transparent; color: #766973; font: inherit; font-size: 11px; cursor: pointer; }
@media (max-width: 700px) { .site-nav { overflow-x: auto; } .nav-link { padding: 10px 9px; font-size: 12px; } }
.candidate-actions .follow-control form { margin: 0; }
@media (max-width: 700px) { .follow-control { grid-column: 1 / -1; margin-top: 0; } }
@media (max-width: 700px) {
  .site-header-inner { padding: 14px 16px; flex-wrap: wrap; gap: 14px; }
  .site-nav { width: 100%; }
  .nav-link { flex: 1; text-align: center; }
  .candidates-header { align-items: flex-start; }
  .collection-count strong { font-size: 26px; }
  .section-heading { display: block; }
  .section-heading > span { display: block; margin-top: 8px; }
  .collection-grid, .import-panel { grid-template-columns: 1fr; }
  .import-panel { gap: 20px; padding: 22px; }
  .candidate-row { grid-template-columns: 1fr; gap: 20px; padding: 20px; }
  .candidate-actions { display: grid; grid-template-columns: 1fr 1fr; align-items: center; border-left: 0; border-top: 1px solid #eee8ec; padding: 16px 0 0; }
  .candidate-score { text-align: left; align-self: center; }
  .candidate-actions form, .follow-confirmation { grid-column: 1 / -1; margin: 0; }
  .follow-confirmation { text-align: left; }
  .candidate-filter > .form-field:first-child { min-width: 100%; }
  .candidate-filter input[type="submit"] { margin-left: auto; }
  .candidate-list-heading { flex-wrap: wrap; gap: 5px; }
}

.follow-activity { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; margin: 20px 0; padding: 16px 20px; border: 1px solid #e5dce2; border-radius: 12px; background: #fff; }
.follow-activity > div { display: flex; align-items: baseline; gap: 9px; }
.follow-activity strong { font-size: 24px; color: #633c57; }
.follow-activity span { font-size: 13px; color: #625760; }
.follow-activity p { flex-basis: 100%; margin: 0; font-size: 12px; color: #786e74; }

.auth-shell { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; max-width: 980px; padding-top: 70px; }
.auth-intro h1 { font-size: clamp(32px, 4vw, 48px); line-height: 1.15; }
.auth-intro .lede { line-height: 1.7; }
.auth-card { padding: 32px; }
.auth-card h2 { margin: 8px 0 24px; }
.signin-form { display: flex; flex-direction: column; gap: 20px; }
.remember-field { display: flex; gap: 10px; align-items: center; color: #625760; font-size: 14px; }
.remember-field input { width: auto; }
.sign-out-form { margin: 0; }
.sign-out { background: transparent; border: 1px solid #d7c5d0; border-radius: 8px; color: #633c57; padding: 9px 12px; white-space: nowrap; cursor: pointer; }
@media (max-width: 700px) { .auth-shell { grid-template-columns: 1fr; gap: 28px; padding-top: 30px; } .auth-card { padding: 24px; } }
