/* The Resume Ready builder app. Desktop: top bar, icon rail, form panel, preview stage. Phone: one view at a time with a bottom tab bar. */

html, body.rr-app-body { height: 100%; margin: 0; overflow: hidden; background: #e8ecf4; }

.rr-app {
	position: fixed;
	inset: 0;
	display: grid;
	grid-template-columns: 124px 440px minmax(0, 1fr);
	grid-template-rows: 60px minmax(0, 1fr);
	grid-template-areas: "top top top" "rail panel stage";
	font-family: var(--rr-sans);
	color: var(--rr-ink);
}
.rr-app button { font-family: inherit; }
.rr-app [hidden] { display: none !important; }

/* Top bar */
.rr-topbar {
	grid-area: top;
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 0 16px;
	background: var(--rr-navy);
	color: #fff;
}
body .rr-topbar__back {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 8px 10px;
	border-radius: 8px;
	color: rgba(255, 255, 255, .85);
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
}
body .rr-topbar__back:hover, body .rr-topbar__back:focus { background: rgba(255, 255, 255, .1); color: #fff; }
.rr-topbar__doc { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0; padding-left: 16px; border-left: 1px solid rgba(255, 255, 255, .15); }
.rr-topbar__title {
	min-width: 0;
	width: 320px;
	max-width: 100%;
	padding: 7px 10px;
	border: 1px solid transparent;
	border-radius: 8px;
	background: transparent;
	color: #fff;
	font: 600 16px/1.2 var(--rr-sans);
	text-overflow: ellipsis;
}
.rr-topbar__title:hover { border-color: rgba(255, 255, 255, .2); }
.rr-topbar__title:focus { outline: none; border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .08); }
.rr-topbar__status { font-size: 13px; color: rgba(255, 255, 255, .6); white-space: nowrap; }
.rr-topbar__status[data-kind="error"] { color: #ffb4a8; }
.rr-topbar__actions { display: flex; align-items: center; gap: 10px; }
.rr-tb-btn,
.rr-tb-btn:hover,
.rr-tb-btn:focus {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 40px;
	padding: 0 16px;
	border: 1.5px solid transparent;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
}
.rr-tb-btn--ghost, .rr-tb-btn--ghost:focus { background: transparent; border-color: rgba(255, 255, 255, .35); color: #fff; }
.rr-tb-btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; color: #fff; }
.rr-tb-btn--primary, .rr-tb-btn--primary:focus { background: var(--rr-blue); color: #fff; }
.rr-tb-btn--primary:hover { background: var(--rr-blue-hover); color: #fff; }
.rr-tb-btn.is-busy { opacity: .7; cursor: progress; }
.rr-tb-btn:focus-visible { outline: 3px solid rgba(143, 179, 255, .6); outline-offset: 2px; }

/* Icon rail */
.rr-rail {
	grid-area: rail;
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 14px 10px;
	background: #fff;
	border-right: 1px solid var(--rr-line);
}
.rr-rail__btn,
.rr-rail__btn:hover,
.rr-rail__btn:focus {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 7px;
	padding: 14px 6px;
	border: 1.5px solid transparent;
	border-radius: 12px;
	background: var(--rr-soft);
	color: var(--rr-ink);
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}
.rr-rail__btn .rr-icon { width: 26px; height: 26px; color: var(--rr-navy); }
.rr-rail__btn:hover { border-color: var(--rr-line); background: var(--rr-blue-50); color: var(--rr-navy); }
.rr-rail__btn[aria-pressed="true"] { border-color: var(--rr-blue); background: var(--rr-blue-50); color: var(--rr-blue); }
.rr-rail__btn[aria-pressed="true"] .rr-icon { color: var(--rr-blue); }
.rr-rail__btn--mobile { display: none; }
.is-cover-letter .rr-rail__btn--resume-only { display: none; }

/* Form panel */
.rr-panel {
	grid-area: panel;
	overflow-y: auto;
	background: #fff;
	border-right: 1px solid var(--rr-line);
	overscroll-behavior: contain;
}
.rr-panel__view { padding: 22px 22px 60px; }
.rr-panel__head { margin-bottom: 18px; }
.rr-panel__title { margin: 0 0 4px; font-family: var(--rr-sans); font-size: 20px; font-weight: 700; color: var(--rr-navy); }
.rr-panel__text { margin: 0; font-size: 14px; color: var(--rr-muted); }

.rr-sec { margin-bottom: 10px; border: 1px solid var(--rr-line); border-radius: 12px; background: #fff; }
.rr-sec.is-open { border-color: #c9d6f2; box-shadow: 0 4px 16px rgba(16, 24, 40, .06); }
.rr-sec__head,
.rr-sec__head:hover,
.rr-sec__head:focus {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 14px 16px;
	border: 0;
	border-radius: 12px;
	background: transparent;
	color: var(--rr-navy);
	font-size: 16px;
	font-weight: 600;
	text-align: left;
	cursor: pointer;
}
.rr-sec__head:hover { background: var(--rr-soft); }
.rr-sec__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; background: var(--rr-blue-50); color: var(--rr-blue); flex: none; }
.rr-sec__title { flex: 1; }
.rr-sec__count { min-width: 22px; padding: 1px 7px; border-radius: 99px; background: var(--rr-soft); color: var(--rr-muted); font-size: 12px; text-align: center; }
.rr-sec__chev { color: var(--rr-muted); transition: transform .2s; display: flex; }
.rr-sec.is-open .rr-sec__chev { transform: rotate(180deg); }
.rr-sec__body { padding: 4px 16px 18px; }
.rr-sec__row { display: flex; align-items: center; }
.rr-sec__row .rr-sec__head { flex: 1; min-width: 0; }
.rr-sec__delete,
.rr-sec__delete:hover,
.rr-sec__delete:focus { display: grid; place-items: center; width: 34px; height: 34px; margin-right: 10px; border: 0; border-radius: 8px; background: transparent; color: var(--rr-muted); cursor: pointer; flex: none; }
.rr-sec__delete:hover { background: #fdecea; color: #b42318; }
.rr-grid--section-title { margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px dashed var(--rr-line); }
.rr-sec--custom .rr-sec__icon { background: #eef7f1; color: #1d7a4c; }

/* Rich text fields: formatted exactly like the resume (bold, italic, underline, lists). */
.rr-rich {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #cdd5e3;
	border-radius: 8px;
	background: #fff;
	font: inherit;
	font-size: 15px;
	line-height: 1.55;
	color: var(--rr-ink);
	outline: none;
	overflow-wrap: anywhere;
	box-sizing: border-box;
}
.rr-rich:focus { border-color: var(--rr-blue); box-shadow: 0 0 0 3px var(--rr-blue-100); }
.rr-rich:empty::before { content: attr(data-placeholder); color: #9aa4b6; pointer-events: none; }
.rr-rich p { margin: 0 0 6px; }
.rr-rich p:last-child { margin-bottom: 0; }
.rr-rich ul, .rr-rich ol { margin: 0 0 6px; padding-left: 22px; }
.rr-rich ul { list-style: disc; }
.rr-rich ol { list-style: decimal; }
.rr-rich li { margin: 2px 0; }
.rr-rich b, .rr-rich strong { font-weight: 700; }

/* Formatting toolbar above rich text fields */
.rr-fmt { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 6px; }
.rr-fmt button[aria-pressed="true"] { border-color: var(--rr-blue); background: var(--rr-blue); color: #fff; }
.rr-fmt button[aria-pressed="true"]:hover { background: var(--rr-blue-hover); color: #fff; }
.rr-fmt__num { font-weight: 700; }
.rr-fmt button,
.rr-fmt button:hover,
.rr-fmt button:focus { display: inline-flex; align-items: center; gap: 4px; min-width: 32px; height: 30px; padding: 0 9px; border: 1px solid var(--rr-line); border-radius: 7px; background: #fff; color: var(--rr-ink); font-size: 13px; font-weight: 600; cursor: pointer; }
.rr-fmt button:hover { border-color: var(--rr-blue); background: var(--rr-blue-50); color: var(--rr-navy); }
.rr-fmt button b { font-weight: 800; }
.rr-fmt button u { text-decoration-thickness: 2px; }
.rr-fmt button:focus-visible { outline: 3px solid var(--rr-blue-100); outline-offset: 1px; }

.rr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
.rr-f { min-width: 0; }
.rr-f--full { grid-column: 1 / -1; }
.rr-f label { display: block; margin-bottom: 5px; font-size: 13px; font-weight: 600; color: var(--rr-ink); }
.rr-f input[type="text"], .rr-f input[type="email"], .rr-f input[type="tel"], .rr-f select, .rr-f textarea, .rr-tags__input {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #cdd5e3;
	border-radius: 8px;
	background: #fff;
	color: var(--rr-ink);
	font: 15px/1.4 var(--rr-sans);
	box-sizing: border-box;
}
.rr-f textarea { resize: vertical; min-height: 60px; }
.rr-f input:focus, .rr-f select:focus, .rr-f textarea:focus, .rr-tags__input:focus { outline: none; border-color: var(--rr-blue); box-shadow: 0 0 0 3px var(--rr-blue-100); }
.rr-f input:disabled { background: var(--rr-soft); color: var(--rr-muted); }
.rr-f input::placeholder, .rr-f textarea::placeholder, .rr-tags__input::placeholder { color: #9aa4b6; }
.rr-f--check label { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-weight: 500; cursor: pointer; }
.rr-f--check input { width: 18px; height: 18px; margin: 0; accent-color: var(--rr-blue); }
.rr-f__hint { margin: 5px 0 0; font-size: 12.5px; color: var(--rr-muted); }

/* Repeatable items */
.rr-items { display: grid; gap: 8px; margin-bottom: 10px; }
.rr-item { border: 1px solid var(--rr-line); border-radius: 10px; background: var(--rr-soft); }
.rr-item.is-open { background: #fff; }
.rr-item__head { display: flex; align-items: center; gap: 4px; padding-right: 6px; }
.rr-item__toggle,
.rr-item__toggle:hover,
.rr-item__toggle:focus {
	display: flex;
	flex: 1;
	align-items: center;
	gap: 8px;
	min-width: 0;
	padding: 11px 12px;
	border: 0;
	background: transparent;
	color: var(--rr-ink);
	text-align: left;
	cursor: pointer;
}
.rr-item__toggle svg { margin-left: auto; flex: none; color: var(--rr-muted); transition: transform .2s; }
.rr-item.is-open .rr-item__toggle svg { transform: rotate(180deg); }
.rr-item__title { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rr-item__sub { font-size: 13px; color: var(--rr-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rr-item__sub::before { content: "· "; }
.rr-item__tools { display: flex; gap: 2px; flex: none; }
.rr-item__tools button,
.rr-item__tools button:hover,
.rr-item__tools button:focus {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	padding: 0;
	border: 0;
	border-radius: 6px;
	background: transparent;
	color: var(--rr-muted);
	cursor: pointer;
}
.rr-item__tools button:hover { background: var(--rr-blue-50); color: var(--rr-navy); }
.rr-item__tools button[data-remove]:hover { background: #fdecea; color: #b42318; }
.rr-item__tools button:disabled { opacity: .3; cursor: default; background: transparent; }
.rr-item__body { padding: 4px 12px 14px; }

.rr-add,
.rr-add:hover,
.rr-add:focus {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	padding: 11px;
	border: 1.5px dashed #b8c6e4;
	border-radius: 10px;
	background: transparent;
	color: var(--rr-blue);
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}
.rr-add:hover { background: var(--rr-blue-50); border-color: var(--rr-blue); }
.rr-add--section, .rr-add--section:hover, .rr-add--section:focus { margin: 6px 0 0; padding: 14px 16px; text-align: left; border-style: dashed; border-color: #b9c7e6; background: var(--rr-soft); }
.rr-add--section:hover { background: var(--rr-blue-50); border-color: var(--rr-blue); }
.rr-add--section span { display: flex; flex-direction: column; gap: 2px; }
.rr-add--section strong { font-size: 15px; color: var(--rr-navy); }
.rr-add--section small { font-size: 12.5px; font-weight: 500; color: var(--rr-muted); }

/* Skills tags */
.rr-tags__list { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; padding: 0; list-style: none; }
.rr-tag { display: inline-flex; align-items: center; gap: 2px; padding: 5px 4px 5px 12px; border-radius: 99px; background: var(--rr-blue-50); color: var(--rr-navy); font-size: 14px; font-weight: 500; }
.rr-tag button,
.rr-tag button:hover,
.rr-tag button:focus { display: grid; place-items: center; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--rr-muted); cursor: pointer; }
.rr-tag button:hover { background: #fff; color: #b42318; }

/* Templates panel */
.rr-tpl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 14px; }
.rr-tpl,
.rr-tpl:hover,
.rr-tpl:focus {
	display: block;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--rr-ink);
	text-align: left;
	cursor: pointer;
}
.rr-tpl__thumb { position: relative; display: block; padding: 10px; border: 2px solid var(--rr-line); border-radius: 10px; background: var(--rr-soft); transition: border-color .15s; }
.rr-tpl__thumb > .rr-mock, .rr-tpl__thumb > img { box-shadow: 0 2px 8px rgba(16, 24, 40, .1); }
.rr-tpl:hover .rr-tpl__thumb { border-color: #9fb6ea; }
.rr-tpl.is-current .rr-tpl__thumb { border-color: var(--rr-blue); }
.rr-tpl__check { position: absolute; top: 6px; right: 6px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--rr-blue); color: #fff; }
.rr-tpl__meta { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 8px 2px 0; }
.rr-tpl__name { font-size: 14px; font-weight: 600; }

.rr-guest-note { margin: 0 0 18px; padding: 14px 16px; border: 1px solid #c9d6f2; border-radius: 12px; background: var(--rr-blue-50); font-size: 14px; line-height: 1.5; color: var(--rr-ink); }
.rr-guest-note p { margin: 0; }
.rr-guest-note strong { color: var(--rr-navy); }
.rr-guest-note__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 10px !important; }
.rr-guest-note__actions a:not(.rr-btn) { font-weight: 600; color: var(--rr-blue); }
.rr-soon-box--guest p + p { margin-top: 12px; }
.rr-soon-box--guest a:not(.rr-btn) { font-weight: 600; color: var(--rr-blue); }
.rr-modal__alt { margin-top: 10px; }
.rr-soon-box { padding: 28px 20px; border: 1.5px dashed #b8c6e4; border-radius: 12px; text-align: center; color: var(--rr-muted); }
.rr-soon-box .rr-icon { color: var(--rr-blue); }
.rr-soon-box p { margin: 8px 0 0; }
.rr-soon-box strong { color: var(--rr-navy); }

/* Preview stage */
.rr-stage { grid-area: stage; position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.rr-stage__bar { display: flex; align-items: center; gap: 14px; padding: 12px 24px 0; }
.rr-stage__pages { font-size: 13px; font-weight: 600; color: var(--rr-muted); }
.rr-zoom { display: flex; align-items: center; margin-left: auto; padding: 3px; border-radius: 9px; background: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, .08); }
.rr-zoom button,
.rr-zoom button:hover,
.rr-zoom button:focus { min-width: 32px; height: 30px; padding: 0 6px; border: 0; border-radius: 7px; background: transparent; color: var(--rr-navy); font-size: 16px; font-weight: 600; cursor: pointer; }
.rr-zoom button:hover { background: var(--rr-soft); }
.rr-zoom .rr-zoom__value { min-width: 58px; font-size: 13px; }
.rr-stage__close,
.rr-stage__close:hover,
.rr-stage__close:focus {
	display: none;
	align-items: center;
	gap: 6px;
	height: 36px;
	padding: 0 14px;
	border: 0;
	border-radius: 8px;
	background: var(--rr-navy);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}
.rr-stage__scroll { flex: 1; overflow: auto; padding: 16px 32px 48px; }
.rr-paper { position: relative; margin: 0 auto; background: #fff; box-shadow: 0 2px 4px rgba(16, 24, 40, .06), 0 12px 32px rgba(16, 24, 40, .12); }
.rr-paper iframe { position: absolute; top: 0; left: 0; display: block; border: 0; background: #fff; transform-origin: 0 0; }
.rr-paper::after { content: ""; position: absolute; top: 14px; right: 14px; width: 8px; height: 8px; border-radius: 50%; background: var(--rr-blue); opacity: 0; transition: opacity .2s; }
.is-rendering .rr-paper::after { opacity: .7; animation: rr-pulse 1s infinite; }
@keyframes rr-pulse { 50% { opacity: .2; } }

/* Full preview mode */
.rr-app.is-previewing { grid-template-columns: 0 0 minmax(0, 1fr); }
.rr-app.is-previewing .rr-rail, .rr-app.is-previewing .rr-panel { visibility: hidden; }
.rr-app.is-previewing .rr-stage__close { display: inline-flex; }

/* Download modal */
.rr-modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; }
.rr-modal__backdrop { position: absolute; inset: 0; background: rgba(15, 33, 71, .55); }
.rr-modal__card { position: relative; width: 100%; max-width: 420px; padding: 32px 28px 22px; border-radius: 16px; background: #fff; text-align: center; box-shadow: 0 24px 60px rgba(15, 33, 71, .3); }
.rr-modal__card h2 { margin: 12px 0 8px; font-family: var(--rr-serif); font-weight: 400; font-size: 28px; color: var(--rr-navy); }
.rr-modal__card p { margin: 0 0 22px; color: var(--rr-text); }
.rr-modal__icon { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--rr-blue-50); color: var(--rr-blue); }
.rr-modal__close,
.rr-modal__close:hover,
.rr-modal__close:focus { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--rr-muted); cursor: pointer; }
.rr-modal__secondary,
.rr-modal__secondary:hover,
.rr-modal__secondary:focus { margin-top: 10px; padding: 8px; border: 0; background: transparent; color: var(--rr-muted); font-size: 14px; font-weight: 600; cursor: pointer; }

.rr-toast {
	position: fixed;
	left: 50%;
	bottom: 28px;
	z-index: 60;
	padding: 12px 18px;
	border-radius: 10px;
	background: var(--rr-navy);
	color: #fff;
	font: 500 15px/1.3 var(--rr-sans);
	box-shadow: 0 10px 30px rgba(15, 33, 71, .3);
	transform: translateX(-50%);
	transition: opacity .4s, transform .4s;
}
.rr-toast.is-out { opacity: 0; transform: translate(-50%, 10px); }

/* Narrower desktops */
@media (max-width: 1200px) {
	.rr-app { grid-template-columns: 104px 380px minmax(0, 1fr); }
	.rr-topbar__title { width: 220px; }
}

/* Phones and small tablets: one view at a time, tabs at the bottom. */
@media (max-width: 900px) {
	.rr-app {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: 56px minmax(0, 1fr) 64px;
		grid-template-areas: "top" "main" "rail";
	}
	.rr-topbar { gap: 8px; padding: 0 8px; }
	.rr-topbar__back span, .rr-topbar__status, .rr-tb-btn--ghost { display: none; }
	.rr-topbar__doc { padding-left: 4px; border-left: 0; }
	.rr-topbar__title { width: 100%; font-size: 15px; }
	.rr-tb-btn--primary span { display: none; }
	.rr-tb-btn--primary, .rr-tb-btn--primary:hover, .rr-tb-btn--primary:focus { padding: 0 12px; }
	.rr-rail { grid-area: rail; flex-direction: row; justify-content: space-around; padding: 6px; border-right: 0; border-top: 1px solid var(--rr-line); }
	.rr-rail__btn, .rr-rail__btn:hover, .rr-rail__btn:focus { flex: 1; gap: 4px; padding: 6px 2px; border: 0; background: transparent; font-size: 12px; }
	.rr-rail__btn .rr-icon { width: 22px; height: 22px; }
	.rr-rail__btn--mobile, .rr-rail__btn--mobile:hover, .rr-rail__btn--mobile:focus { display: flex; }
	.rr-panel, .rr-stage { grid-area: main; border-right: 0; }
	.rr-app[data-view="preview"] .rr-panel { display: none; }
	.rr-app:not([data-view="preview"]):not(.is-previewing) .rr-stage { display: none; }
	.rr-panel__view { padding: 16px 14px 40px; }
	.rr-grid { grid-template-columns: minmax(0, 1fr); }
	.rr-stage__bar { padding: 10px 12px 0; }
	.rr-stage__scroll { padding: 12px 12px 32px; }
	.rr-app.is-previewing { grid-template-columns: minmax(0, 1fr); }
	.rr-app.is-previewing .rr-panel { display: none; }
	.rr-app.is-previewing .rr-stage__close, .rr-app[data-view="preview"] .rr-stage__close { display: none; }
}

/* Photo field */
.rr-photo-field { display: flex; gap: 14px; align-items: center; padding: 12px; border: 1px dashed #c3cfe6; border-radius: 10px; background: var(--rr-soft); }
.rr-photo-field__img { display: grid; place-items: center; flex: none; width: 64px; height: 64px; overflow: hidden; border-radius: 50%; background: #fff; color: #9aa4b6; border: 1px solid var(--rr-line); }
.rr-photo-field__img img { width: 100%; height: 100%; object-fit: cover; }
.rr-photo-field__label { display: block; font-size: 13px; font-weight: 600; color: var(--rr-ink); }
.rr-photo-field__label span { font-weight: 400; color: var(--rr-muted); }
.rr-photo-field__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 6px; }
/* .rr-f .rr-photo-btn: the button is a <label>, so it must outrank the form's ".rr-f label" style. */
.rr-f .rr-photo-btn { position: relative; display: inline-flex; margin: 0; padding: 7px 14px; border-radius: 8px; background: var(--rr-blue); color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; }
.rr-f .rr-photo-btn:hover { background: var(--rr-blue-hover); color: #fff; }
.rr-photo-btn:focus-within { outline: 3px solid var(--rr-blue-100); outline-offset: 2px; }
.rr-photo-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 0; }
.rr-photo-remove,
.rr-photo-remove:hover,
.rr-photo-remove:focus { padding: 6px 8px; border: 0; background: transparent; color: #b42318; font-size: 14px; font-weight: 600; cursor: pointer; }
.rr-photo-field.is-uploading { opacity: .6; pointer-events: none; }
.rr-photo-field .rr-f__hint { margin-top: 6px; }

/* Plan choices in the download modal */
.rr-plan-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 4px; text-align: left; }
body a.rr-plan-choice { display: flex; flex-direction: column; gap: 2px; padding: 14px; border: 1.5px solid var(--rr-line); border-radius: 12px; color: var(--rr-ink); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
body a.rr-plan-choice:hover, body a.rr-plan-choice:focus { border-color: var(--rr-blue); box-shadow: 0 6px 16px rgba(22, 82, 230, .12); color: var(--rr-ink); }
.rr-plan-choice.is-featured { border-color: var(--rr-blue); background: var(--rr-blue-50); }
.rr-plan-choice__name { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--rr-blue); }
.rr-plan-choice__price { font-size: 24px; font-weight: 700; color: var(--rr-navy); }
.rr-plan-choice__price small { font-size: 13px; font-weight: 500; color: var(--rr-muted); }
.rr-plan-choice__desc { font-size: 13px; color: var(--rr-muted); line-height: 1.35; }
body a.rr-modal__secondary { display: inline-block; margin-top: 12px; color: var(--rr-muted); font-size: 14px; font-weight: 600; text-decoration: none; }
body a.rr-modal__secondary:hover { color: var(--rr-navy); }
@media (max-width: 480px) { .rr-plan-choices { grid-template-columns: 1fr; } }

/* Upload existing resume */
.rr-drop { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 34px 18px; border: 2px dashed #b8c6e4; border-radius: 14px; background: var(--rr-soft); text-align: center; color: var(--rr-muted); cursor: pointer; transition: border-color .15s, background .15s; }
.rr-drop:hover, .rr-drop.is-over { border-color: var(--rr-blue); background: var(--rr-blue-50); }
.rr-drop:focus-within { outline: 3px solid var(--rr-blue-100); outline-offset: 2px; }
.rr-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.rr-drop__icon { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 8px; border-radius: 50%; background: #fff; color: var(--rr-blue); box-shadow: 0 2px 8px rgba(16, 24, 40, .08); }
.rr-drop strong { color: var(--rr-navy); font-size: 16px; }
.rr-drop small { margin-top: 6px; font-size: 12.5px; }
.rr-upload__busy { display: flex; align-items: center; gap: 14px; padding: 24px 18px; border-radius: 14px; background: var(--rr-blue-50); color: var(--rr-text); }
.rr-upload__busy[hidden], .rr-upload__result[hidden], .rr-drop[hidden] { display: none; }
.rr-upload__busy p { margin: 0; font-size: 14px; }
.rr-spinner { flex: none; width: 30px; height: 30px; border: 3px solid var(--rr-blue-100); border-top-color: var(--rr-blue); border-radius: 50%; animation: rr-spin .8s linear infinite; }
@keyframes rr-spin { to { transform: rotate(360deg); } }
.rr-upload__result { padding: 18px; border: 1px solid #b9e3c9; border-radius: 14px; background: #f3fbf6; text-align: center; }
.rr-upload__title { display: flex; justify-content: center; align-items: center; gap: 6px; margin: 0 0 10px; font-weight: 700; color: #14532d; }
#rr-upload-found { margin: 0 0 14px; padding: 0; list-style: none; font-size: 14px; color: var(--rr-ink); }
#rr-upload-found li { padding: 3px 0; }
.rr-upload__warn { margin: 0 0 12px; font-size: 13px; color: #8a5a00; }
.rr-upload .rr-alert { margin-top: 12px; }
.rr-upload__note { margin: 12px 0 0; font-size: 12.5px; color: var(--rr-muted); }

.rr-modal__legal { margin: 14px 0 0 !important; font-size: 12.5px !important; color: var(--rr-muted) !important; }
.rr-modal__legal a { color: inherit; text-decoration: underline; }
