/* Red Oak Candidate Portal: website pages */
.rop-portal { --rop-red: #7D1319; --rop-red-dark: #5A0E12; --rop-red-light: #E07B81; --rop-tint: #F7E7E8; --rop-ink: #000; --rop-gray: #5A5A5B; --rop-line: #DADADA; --rop-light: #F5F5F5; background: var(--rop-light); color: var(--rop-ink); margin-top: 0 !important; margin-bottom: 0 !important; max-width: none !important; }
.rop-portal * { box-sizing: border-box; }
.rop-portal h1, .rop-portal h2 { margin: 0; font-weight: 600; letter-spacing: -.01em; }
.rop-portal p { margin: 0; }
.rop-portal a { color: var(--rop-red); }
.rop-portal a:hover { color: var(--rop-red-dark); }
.rop-f-inner { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.rop-f-body { padding-top: 48px; padding-bottom: 72px; }
.rop-f-muted { color: var(--rop-gray); }
.rop-f-small { font-size: 14px; line-height: 1.6; color: var(--rop-gray); }
.rop-f-label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.rop-f-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--rop-red); margin-bottom: 8px !important; }
.rop-f-pad { padding: 0 28px 24px; }

/* Header band */
.rop-f-hero { background: #000; color: #fff; border-bottom: 3px solid var(--rop-red); }
.rop-f-hero .rop-f-inner { padding-top: 52px; padding-bottom: 48px; }
.rop-f-hero .rop-f-eyebrow { color: var(--rop-red-light); }
.rop-f-hero h1 { color: #fff; font-size: clamp(32px, 4vw, 46px); line-height: 1.15; margin-bottom: 12px; }
.rop-f-lead { color: #BDBDBD; font-size: 18px; line-height: 1.6; max-width: 660px; }

/* Layouts */
.rop-f-split { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.rop-f-split > * { flex: 1 1 440px; min-width: 0; }
.rop-f-single { justify-content: center; }
.rop-f-single > * { flex: 0 1 560px; }
.rop-f-main-side { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.rop-f-main-side > form, .rop-f-main-side > .rop-f-card { flex: 999 1 620px; min-width: 0; }
.rop-f-main-side > aside { flex: 1 1 300px; min-width: 0; }
.rop-f-stack { display: flex; flex-direction: column; gap: 24px; }
.rop-f-cols { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.rop-f-cols > .rop-f-profile { flex: 1 1 400px; min-width: 0; }
.rop-f-cols > .rop-f-wide { flex: 1.3 1 500px; min-width: 0; }

/* Cards */
.rop-f-card { background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.07); }
.rop-f-form { padding: 36px 40px; display: flex; flex-direction: column; gap: 20px; }
.rop-f-accent { border-top: 4px solid var(--rop-red); }
.rop-f-dark { background: #000; color: #fff; border-top: 4px solid var(--rop-red); padding: 34px 36px; }
.rop-f-dark h2 { color: #fff; }
.rop-f-dark .rop-f-muted { color: #BDBDBD; }
.rop-f-dark label { color: #fff; }
.rop-f-tint { background: var(--rop-tint); box-shadow: none; padding: 22px 26px; font-size: 14px; line-height: 1.6; }
.rop-f-tint p { margin-top: 4px; color: #333; }
.rop-f-card-head { padding: 22px 28px; border-bottom: 1px solid #E6E6E6; }
.rop-f-card-head h2 { font-size: 20px; }
.rop-f-form h2, .rop-f-dark h2 { font-size: 24px; }

/* Fields */
.rop-portal .rop-field, .rop-f-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.rop-portal .rop-field label, .rop-f-field label { font-size: 14px; font-weight: 500; }
.rop-portal input[type=text], .rop-portal input[type=email], .rop-portal input[type=tel], .rop-portal input[type=password], .rop-portal input[type=number], .rop-portal input[type=date], .rop-portal select, .rop-portal textarea { width: 100%; min-height: 50px; border: 1px solid var(--rop-line); border-radius: 0; background: #fff; padding: 10px 14px; font: inherit; font-size: 15px; color: #000; }
.rop-portal textarea { min-height: 110px; resize: vertical; }
.rop-portal input:focus, .rop-portal select:focus, .rop-portal textarea:focus { outline: 2px solid var(--rop-red); outline-offset: 0; border-color: var(--rop-red); }
.rop-f-dark input[type=text] { border-color: #fff; }
.rop-portal input[type=file] { font-size: 14px; padding: 12px; border: 1.5px dashed #BDBDBD; background: #FAFAFA; width: 100%; }
.rop-portal .rop-req { color: var(--rop-red); }
.rop-portal .rop-wide { grid-column: 1 / -1; }
.rop-portal .rop-file-current { font-size: 14px; }
.rop-f-hint { font-size: 12px; color: var(--rop-gray); }
.rop-f-error { font-size: 13px; color: #B3261E; font-weight: 500; }
.rop-portal .has-error input, .rop-portal .has-error select, .rop-portal .has-error textarea { border-color: #B3261E; }
.rop-f-section { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
.rop-f-section legend { width: 100%; font-size: 20px; font-weight: 600; padding: 0 0 12px; margin-bottom: 18px; border-bottom: 2px solid var(--rop-red); }
.rop-f-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.rop-f-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.rop-f-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 18px; font-size: 14px; }
.rop-f-check { display: inline-flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.6; cursor: pointer; }
.rop-f-check input { margin-top: 5px; width: 16px; height: 16px; accent-color: var(--rop-red); flex: none; }
.rop-f-consent { border-top: 1px solid #E6E6E6; padding-top: 20px; display: flex; flex-direction: column; gap: 6px; }
.rop-f-foot { border-top: 1px solid #E6E6E6; padding-top: 18px; font-size: 15px; color: var(--rop-gray); }
.rop-f-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Buttons */
.rop-f-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 0; background: var(--rop-red); color: #fff !important; font: inherit; font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer; }
.rop-f-btn:hover, .rop-f-btn:focus { background: var(--rop-red-dark); color: #fff !important; }
.rop-f-btn:focus-visible { outline: 3px solid #000; outline-offset: 2px; }
.rop-f-btn-lg { padding: 0 40px; min-height: 56px; }
.rop-f-btn-white { background: #fff; color: #000 !important; }
.rop-f-btn-white:hover, .rop-f-btn-white:focus { background: #E6E6E6; color: #000 !important; }
.rop-f-btn-outline { background: #fff; border: 1px solid var(--rop-red); color: var(--rop-red) !important; min-height: 44px; padding: 0 18px; font-size: 14px; }
.rop-f-btn-outline:hover, .rop-f-btn-outline:focus { background: var(--rop-tint); color: var(--rop-red-dark) !important; }
.rop-f-btn-ghost { background: transparent; border: 1px solid #000; color: #000 !important; min-height: 42px; padding: 0 16px; font-size: 14px; }
.rop-f-btn-ghost:hover, .rop-f-btn-ghost:focus { background: #000; color: #fff !important; }

/* Notices */
.rop-f-notice { padding: 14px 18px; font-size: 15px; line-height: 1.5; border-left: 4px solid; }
.rop-f-notice-error { background: #FBEAEA; border-color: #B3261E; color: #5F1410; }
.rop-f-notice-success { background: #EAF4EC; border-color: #2E7D32; color: #1B4D1E; }
.rop-f-notice-warning { background: #FFF6E0; border-color: #B26A00; color: #5C3A00; }
.rop-f-dark .rop-f-notice-error { background: #3A0D10; color: #FFD9DB; }

/* Quick check result */
.rop-f-result { padding: 26px 30px; display: flex; flex-direction: column; gap: 14px; }
.rop-f-result .rop-f-label { color: var(--rop-gray); }
.rop-f-result-row { display: flex; gap: 14px; align-items: center; }
.rop-f-result-row strong { display: block; font-size: 19px; }
.rop-f-badge { width: 44px; height: 44px; border-radius: 50%; background: var(--rop-red); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; }

/* What happens next */
.rop-f-steps { list-style: none; counter-reset: s; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.rop-f-steps li { counter-increment: s; position: relative; padding-left: 46px; font-size: 14px; line-height: 1.6; color: #E6E6E6; }
.rop-f-steps li strong { color: #fff; }
.rop-f-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--rop-red); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; }

/* Account */
.rop-f-userbar { background: #fff; border-bottom: 1px solid var(--rop-line); }
.rop-f-userbar .rop-f-inner { display: flex; align-items: center; justify-content: flex-end; gap: 14px; padding-top: 12px; padding-bottom: 12px; font-size: 14px; }
.rop-f-userbar small { display: block; color: var(--rop-gray); }
.rop-f-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--rop-tint); color: var(--rop-red); display: inline-flex; align-items: center; justify-content: center; font-weight: 600; }
.rop-f-account { display: flex; flex-direction: column; gap: 28px; padding-top: 40px; }
.rop-f-title { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; }
.rop-f-title h1 { font-size: clamp(28px, 3.4vw, 36px); }
.rop-f-status { background: #000; color: #fff; border-top: 4px solid var(--rop-red); padding: 32px 38px; display: flex; flex-wrap: wrap; align-items: center; gap: 22px 28px; }
.rop-f-status > div { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.rop-f-status .rop-f-label { color: #BDBDBD; }
.rop-f-status strong { font-size: clamp(26px, 3vw, 34px); line-height: 1.15; }
.rop-f-status p { color: #E6E6E6; font-size: 15px; line-height: 1.6; }
.rop-f-status-ico { width: 68px; height: 68px; border-radius: 50%; background: var(--rop-red); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.rop-f-status-ico .rop-ico { width: 32px; height: 32px; stroke-width: 2.4; }
.rop-f-profile-top { display: flex; gap: 20px; align-items: center; padding: 24px 28px; border-bottom: 1px solid #E6E6E6; }
.rop-f-profile-top > div { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.rop-f-photo { width: 100px; height: 124px; object-fit: cover; flex: none; background: #E6E6E6; }
.rop-f-photo-empty { display: inline-flex; align-items: center; justify-content: center; color: var(--rop-gray); font-size: 24px; font-weight: 600; }
.rop-f-name { font-size: 21px; }
.rop-f-reg { font-size: 16px; color: var(--rop-red); }
.rop-f-dl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin: 0; padding: 8px 28px 16px; font-size: 14px; }
.rop-f-dl dt, .rop-f-dl dd { margin: 0; padding: 10px 0; border-bottom: 1px solid #F0F0F0; }
.rop-f-dl dt { color: var(--rop-gray); }
.rop-f-dl dd { font-weight: 500; }
.rop-f-summary { padding: 0 28px 16px; font-size: 14px; line-height: 1.7; }
.rop-f-summary p { margin-top: 4px; color: #333; }
.rop-f-side-note { margin: 20px 28px 0; padding: 12px 16px; background: var(--rop-tint); font-size: 14px; color: var(--rop-red-dark); }
.rop-f-timeline { list-style: none; margin: 0; padding: 24px 28px 4px; }
.rop-f-timeline li { position: relative; display: flex; gap: 18px; padding-bottom: 22px; }
.rop-f-timeline li::before { content: ""; position: absolute; left: 14px; top: 32px; bottom: 2px; width: 2px; background: var(--rop-line); }
.rop-f-timeline li.is-done::before { background: #000; }
.rop-f-timeline li:last-child::before { display: none; }
.rop-f-timeline li > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding-top: 3px; }
.rop-f-timeline strong { font-size: 16px; font-weight: 500; }
.rop-f-timeline .is-current strong { font-weight: 600; }
.rop-f-timeline .is-todo strong { color: var(--rop-gray); }
.rop-f-timeline span.rop-f-muted { font-size: 13px; }
.rop-f-dot { position: relative; z-index: 1; width: 30px; height: 30px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; }
.rop-f-dot .rop-ico { width: 16px; height: 16px; stroke-width: 3; }
.is-done .rop-f-dot { background: #000; color: #fff; }
.is-current .rop-f-dot { background: var(--rop-red); color: #fff; box-shadow: 0 0 0 5px var(--rop-tint); }
.is-todo .rop-f-dot { background: #fff; color: var(--rop-gray); border: 1px solid #BDBDBD; }
.rop-f-note { margin-top: 6px !important; background: var(--rop-light); padding: 10px 14px; font-size: 14px; line-height: 1.6; color: #333; }
.rop-f-doc { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 18px 28px; border-bottom: 1px solid #F0F0F0; }
.rop-f-doc:last-child { border-bottom: 0; }
.rop-f-doc-ico { width: 44px; height: 44px; background: var(--rop-tint); color: var(--rop-red); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.rop-f-doc-text { flex: 1 1 200px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rop-f-doc-text small { font-size: 13px; color: var(--rop-gray); }

@media (max-width: 781px) {
	.rop-f-body { padding-top: 28px; padding-bottom: 48px; }
	.rop-f-inner { padding-left: 16px; padding-right: 16px; }
	.rop-f-form { padding: 26px 20px; }
	.rop-f-dark { padding: 26px 20px; }
	.rop-f-grid, .rop-f-two { grid-template-columns: minmax(0, 1fr); }
	.rop-f-status { padding: 24px 20px; }
	.rop-f-status .rop-f-btn { width: 100%; }
	.rop-f-status-ico { width: 52px; height: 52px; }
	.rop-f-card-head, .rop-f-profile-top, .rop-f-doc { padding-left: 20px; padding-right: 20px; }
	.rop-f-dl { padding-left: 20px; padding-right: 20px; }
	.rop-f-timeline { padding-left: 20px; padding-right: 20px; }
	.rop-f-userbar .rop-f-inner { justify-content: space-between; }
	.rop-f-btn-lg { width: 100%; }
}

/* v0.3: verification page, updates list, profile PDF link */
.rop-f-card-head-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.rop-f-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; text-decoration: none; }
.rop-f-link .rop-ico { width: 16px; height: 16px; }
.rop-f-history { list-style: none; margin: 0; padding: 18px 28px 8px; }
.rop-f-history li { display: flex; gap: 18px; padding: 12px 0; border-bottom: 1px solid #F0F0F0; }
.rop-f-history li:last-child { border-bottom: 0; }
.rop-f-history li > div { min-width: 0; }
.rop-f-history strong { font-size: 15px; font-weight: 500; }
.rop-f-history li.is-current strong { font-weight: 600; color: var(--rop-red); }
.rop-f-hdate { flex: none; width: 92px; font-size: 13px; color: var(--rop-gray); padding-top: 2px; }
.rop-v { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.rop-v-main { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.rop-v-title { font-size: clamp(24px, 3vw, 32px); word-break: break-word; }
.rop-v-status { display: flex; gap: 18px; align-items: center; background: #fff; border-top: 4px solid; padding: 24px 26px; box-shadow: 0 1px 3px rgba(0,0,0,.07); }
.rop-v-status strong { display: block; font-size: 24px; }
.rop-v-status span { font-size: 14px; color: var(--rop-gray); line-height: 1.6; }
.rop-v-ico { width: 56px; height: 56px; border-radius: 50%; flex: none; display: inline-flex !important; align-items: center; justify-content: center; color: #fff !important; }
.rop-v-ico .rop-ico { width: 28px; height: 28px; stroke-width: 2.6; }
.rop-v-status.is-valid { border-color: #1E7B34; } .rop-v-status.is-valid strong { color: #1E7B34; } .rop-v-status.is-valid .rop-v-ico { background: #1E7B34; }
.rop-v-status.is-expired { border-color: #B26A00; } .rop-v-status.is-expired strong { color: #B26A00; } .rop-v-status.is-expired .rop-v-ico { background: #B26A00; }
.rop-v-status.is-cancelled, .rop-v-status.is-none { border-color: #B3261E; } .rop-v-status.is-cancelled strong, .rop-v-status.is-none strong { color: #B3261E; } .rop-v-status.is-cancelled .rop-v-ico, .rop-v-status.is-none .rop-v-ico { background: #B3261E; }
.rop-v-preview { flex: 1 1 440px; min-width: 0; }
.rop-v-pages { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.rop-v-pages img { width: 100%; height: auto; display: block; border: 1px solid #E6E6E6; user-select: none; -webkit-user-drag: none; }
.rop-v-lookup { max-width: 560px; }
@media (max-width: 781px) { .rop-v-status { padding: 18px; } .rop-v-status strong { font-size: 20px; } .rop-f-history { padding: 12px 20px 4px; } .rop-f-hdate { width: 80px; } }
.rop-v-status > div > span { display: block; line-height: 1.55; margin-top: 4px; }
.rop-v-download { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.rop-v-download .rop-f-btn { display: inline-flex; align-items: center; gap: 8px; }
.rop-v-download .rop-ico { width: 18px; height: 18px; }
.rop-v-download span { font-size: 13px; color: var(--rop-gray); }
@media (max-width: 781px) { .rop-v-download .rop-f-btn { width: 100%; justify-content: center; } }
