@font-face {
    font-family: 'Nunito';
    font-style: normal; font-weight: 200 1000; font-display: swap;
    src: url('/assets/fonts/Nunito.woff2') format('woff2');
}
:root {
    --red: #e82027; --red-deep: #b5121b; --gold: #c99a2e; --ink: #1a1714;
    --green: #0e8a4f; --bg: #f6f3ec; --card: #fff; --line: rgba(17,17,17,.1); --muted: #6f6a62;
    --font: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.5; }
a { color: var(--red-deep); }

.vtop { display: flex; align-items: center; gap: 18px; padding: 12px 22px; background: #1b1714; color: #fff; flex-wrap: wrap; }
.vtop__brand { color: #fff; text-decoration: none; font-weight: 900; font-size: 1.15rem; }
.vtop__brand span { color: var(--gold); }
.vtop__nav { display: flex; gap: 6px; }
.vtop__nav a { color: rgba(255,255,255,.8); text-decoration: none; padding: 6px 12px; border-radius: 8px; font-weight: 700; font-size: .92rem; }
.vtop__nav a:hover, .vtop__nav a.is-active { background: rgba(255,255,255,.18); color: #fff; }
.vtop__right { margin-left: auto; display: flex; gap: 14px; align-items: center; }
.vtop__langs { display: flex; gap: 2px; }
.vtop__langs a { color: rgba(255,255,255,.65); text-decoration: none; font-size: .78rem; font-weight: 800; padding: 3px 7px; border-radius: 6px; }
.vtop__langs a.is-active { background: var(--red); color: #fff; }
.vtop__out { color: #fff; text-decoration: none; border: 1px solid #3c3631; padding: 6px 12px; border-radius: 8px; font-size: .85rem; }

.vmain { max-width: 980px; margin: 0 auto; padding: 26px 18px 40px; }
.vfoot { text-align: center; color: var(--muted); font-size: .8rem; padding: 20px; }
.vfoot a { color: var(--muted); }
h1 { font-size: 1.6rem; margin: 0 0 6px; font-weight: 900; }
h2 { font-size: 1.15rem; margin: 30px 0 12px; font-weight: 900; }
.lead { color: var(--muted); margin: 0 0 18px; }

.vcard { background: var(--card); border-radius: 16px; padding: 20px 22px; box-shadow: 0 2px 12px rgba(17,17,17,.06); margin-bottom: 14px; }
.vcard--narrow { max-width: 420px; margin: 40px auto; }
.vcard h3 { margin: 0 0 4px; font-size: 1.1rem; }
.vmeta { display: flex; flex-wrap: wrap; gap: 6px 22px; color: var(--muted); font-size: .9rem; margin: 6px 0 12px; }
.vmeta b { color: var(--ink); }
.vinfo { white-space: pre-line; font-size: .92rem; background: #faf7ef; border-radius: 10px; padding: 10px 12px; margin: 8px 0 12px; }

.vform { display: flex; flex-direction: column; gap: 12px; }
.vform label { display: flex; flex-direction: column; gap: 5px; font-size: .82rem; font-weight: 800; color: var(--muted); }
.vform input[type=text], .vform input[type=email], .vform input[type=password], .vform input[type=number], .vform input[type=url], .vform input[type=tel], .vform select, .vform textarea {
    padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; font-weight: 600; color: var(--ink); background: #fff; }
.vform input:focus, .vform select:focus, .vform textarea:focus { outline: none; border-color: var(--red); }
.vform .check { flex-direction: row; align-items: flex-start; gap: 8px; font-weight: 700; color: var(--ink); }
.vform .check input { margin-top: 3px; }
.vgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.vgrid .full { grid-column: 1 / -1; }
@media (max-width: 680px) { .vgrid { grid-template-columns: 1fr; } }
.vhelp { font-size: .8rem; color: var(--muted); font-weight: 600; }

.vbtn { display: inline-block; border: 0; border-radius: 10px; padding: 11px 18px; background: var(--red); color: #fff; font: inherit; font-weight: 800; cursor: pointer; text-decoration: none; }
.vbtn:hover { background: var(--red-deep); }
.vbtn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.vbtn--ghost:hover { background: #f0ece3; }
.vbtn--sm { padding: 7px 12px; font-size: .85rem; }

.vflash { padding: 11px 14px; border-radius: 10px; margin-bottom: 16px; font-weight: 700; }
.vflash--ok { background: #e3f4ea; color: #0b5e37; }
.vflash--err { background: #fde8e8; color: var(--red-deep); }
.vflash--warn { background: #fff3d6; color: #7a5a10; }

.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .76rem; font-weight: 800; background: #eee; color: #444; }
.badge--applied { background: #e8eefc; color: #1e40af; }
.badge--waitlist { background: #fff3d6; color: #7a5a10; }
.badge--accepted, .badge--confirmed, .badge--paid { background: #e3f4ea; color: #0b5e37; }
.badge--rejected, .badge--withdrawn { background: #f1eeee; color: #7d6f6f; }
.badge--invoiced { background: #efe7fb; color: #5b21b6; }

.vcosts { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 6px 0; }
.vcosts td { padding: 6px 0; border-bottom: 1px solid var(--line); }
.vcosts td:last-child { text-align: right; font-weight: 700; }
.vcosts tr.total td { font-weight: 900; border-bottom: 0; }
.vbank { background: #faf7ef; border-radius: 10px; padding: 12px 14px; margin-top: 10px; font-size: .9rem; }
.vbank dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; margin: 6px 0 0; }
.vbank dt { color: var(--muted); }
.vbank dd { margin: 0; font-family: ui-monospace, Consolas, monospace; word-break: break-all; }
.vrow { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.vapply { display: grid; grid-template-columns: 160px 1fr auto; gap: 10px; align-items: end; margin-top: 8px; }
@media (max-width: 680px) { .vapply { grid-template-columns: 1fr; } }

/* ---- Profile v2: sections, completeness, brand, pills, sticky save ---- */
.vsec { scroll-margin-top: 16px; }
.vsec__h { margin: 0 0 4px; font-size: 1.12rem; }
.vsec__help { margin: 0 0 14px; }
.vsec .vgrid { margin-top: 12px; }
.vdone { padding: 16px 20px; }
.vdone__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.vdone__pct { font-weight: 900; font-size: 1.25rem; color: var(--red); }
.vdone--full .vdone__pct { color: var(--green); }
.vdone__bar { height: 10px; background: #efe9dc; border-radius: 99px; overflow: hidden; margin: 10px 0 4px; }
.vdone__bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--red), #f2683c); border-radius: 99px; transition: width .4s; }
.vdone--full .vdone__bar span { background: var(--green); }
.vdone__miss { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 8px; }
.vchip { display: inline-block; padding: 4px 11px; border-radius: 99px; background: #fde8e8; color: var(--red-deep); font-size: .8rem; font-weight: 800; text-decoration: none; }
.vchip:hover { background: #fbd3d3; }

.vbrand { display: grid; grid-template-columns: 200px 1fr; gap: 22px; align-items: start; }
@media (max-width: 680px) { .vbrand { grid-template-columns: 1fr; } }
.vlogo { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.vlogo__box { width: 168px; height: 168px; border: 2px dashed #d9cfbb; border-radius: 18px; display: grid; place-items: center; background: #fff; overflow: hidden; }
.vlogo__box img { max-width: 100%; max-height: 100%; object-fit: contain; }
.vlogo__empty { color: #a2977f; font-weight: 800; font-size: .85rem; }
.vform .vlogo__pick { flex-direction: row; color: var(--ink); cursor: pointer; }
.vsocial { display: flex; flex-direction: column; gap: 12px; }
.vsocial__in { position: relative; display: flex; align-items: center; }
.vsocial__in input { flex: 1; padding-left: 40px !important; }
.vsocial__in::before { content: ''; position: absolute; left: 12px; width: 18px; height: 18px; border-radius: 5px; }
.vsocial__in--instagram::before { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.vsocial__in--facebook::before { background: #1877f2; border-radius: 50%; }
.vsocial__in--tiktok::before { background: #111; box-shadow: 2px 0 0 #25f4ee, -2px 0 0 #fe2c55; }
.vsocial__in a { position: absolute; right: 10px; text-decoration: none; font-weight: 900; }

.vfs { border: 0; padding: 0; margin: 0; }
.vfs legend { font-size: .82rem; font-weight: 800; color: var(--muted); padding: 0; margin-bottom: 8px; }
.vpills { display: flex; flex-wrap: wrap; gap: 8px; }
.vform .vpill { flex-direction: row; cursor: pointer; }
.vpill input { position: absolute; opacity: 0; pointer-events: none; }
.vpill span { display: inline-block; padding: 7px 13px; border: 1.5px solid var(--line); border-radius: 99px; background: #fff; color: var(--ink); font-weight: 700; font-size: .86rem; transition: all .15s; }
.vpill span:hover { border-color: #cbbfa8; }
.vpill input:checked + span { background: #1b1714; border-color: #1b1714; color: #fff; }
.vpill input:checked + span::before { content: '✓ '; color: var(--gold); }
.vpill input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.vpill--all span { font-weight: 900; }

.vsave { position: sticky; bottom: 0; z-index: 5; display: flex; justify-content: flex-end; align-items: center; gap: 14px; padding: 12px 16px; margin: 4px -4px 14px; background: rgba(246,243,236,.94); backdrop-filter: blur(6px); border-top: 1px solid var(--line); border-radius: 14px 14px 0 0; }
.vpw summary { cursor: pointer; font-weight: 900; }

.vnudge { display: flex; align-items: center; gap: 16px; text-decoration: none; color: var(--ink); border: 1.5px solid #f3d3a6; background: #fffaf0; }
.vnudge:hover { border-color: var(--gold); }
.vnudge__txt { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.vnudge__ring { --p: 0; width: 54px; height: 54px; border-radius: 50%; flex: none; display: grid; place-items: center; background: conic-gradient(var(--red) calc(var(--p) * 1%), #efe9dc 0); }
.vnudge__ring b { width: 42px; height: 42px; border-radius: 50%; background: #fffaf0; display: grid; place-items: center; font-size: .8rem; }
@media (max-width: 560px) { .vnudge { flex-wrap: wrap; } }
