*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body { background: #fff; color: #000; font-family: Roboto, system-ui, sans-serif; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
body.navy { background: #18344E; color: #fff; }
[hidden] { display: none !important; }

.page { min-height: 100vh; min-height: 100dvh; display: flex; justify-content: center; }
.col { width: 100%; max-width: 440px; padding: 24px 24px 32px; display: flex; flex-direction: column; gap: 32px; }

.header { display: flex; justify-content: space-between; align-items: center; min-height: 24px; }
.logo { height: 24px; width: auto; display: block; }
.dots { display: flex; gap: 6px; }
.dot { width: 6px; height: 6px; border-radius: 3px; background: #DAECF5; transition: all .2s ease-out; }
.dot.on { background: #18344E; }
.dot.active { width: 22px; }
.dots.done .dot { background: #39A671; }

.step { flex: 1; display: flex; flex-direction: column; gap: 28px; }
.intro { display: flex; flex-direction: column; gap: 8px; }
.eyebrow { font-size: 15px; font-weight: 500; color: #46A7CB; }
h1 { margin: 0; font-size: 30px; line-height: 1.15; font-weight: 300; color: #18344E; text-wrap: pretty; }
h1 b { font-weight: 600; }

.fields { display: flex; flex-direction: column; gap: 12px; }
.field { font: inherit; font-size: 17px; padding: 16px; border-radius: 10px; border: 1.5px solid #DAECF5; background: #F5FBFF; color: #000; outline: none; width: 100%; transition: border-color .15s ease-out, background .15s ease-out; }
.field:focus { border-color: #4EAED0; background: #fff; }
textarea.field { font-size: 16px; line-height: 1.45; resize: none; }

.btn { font: inherit; font-size: 17px; font-weight: 500; min-height: 54px; border-radius: 8px; border: none; background: #18344E; color: #fff; cursor: pointer; display: flex; justify-content: center; align-items: center; gap: 8px; width: 100%; transition: background .15s ease-out, opacity .15s ease-out; }
.btn:hover { background: #243F5B; }
.btn:disabled { opacity: .4; cursor: default; }
.btn.sending { opacity: .6; }
.btn-text { font: inherit; font-size: 15px; background: none; border: none; color: #7F7F7F; cursor: pointer; min-height: 44px; }
.bottom { margin-top: auto; display: flex; flex-direction: column; gap: 4px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: inherit; font-size: 15px; font-weight: 500; padding: 10px 16px; min-height: 44px; border-radius: 8px; cursor: pointer; background: #fff; color: #18344E; border: 1.5px solid #DAECF5; transition: background .15s ease-out, color .15s ease-out, border-color .15s ease-out; }
.chip[aria-pressed="true"] { background: #39A671; border-color: #39A671; color: #fff; }

.thanks { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 16px; padding-bottom: 56px; }
.thanks h1 { margin-top: 8px; }
.thanks p { margin: 0; font-size: 17px; line-height: 1.5; max-width: 300px; text-wrap: pretty; }
.check { width: 80px; height: 80px; border-radius: 50%; background: #39A671; display: flex; align-items: center; justify-content: center; animation: pop .35s ease-out both; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.error { margin: -16px 0 0; font-size: 15px; color: #C4453C; }

/* Colleague pages */
.names { display: flex; flex-direction: column; gap: 8px; }
.name { font: inherit; font-size: 17px; font-weight: 500; text-align: left; padding: 14px 16px; min-height: 54px; border-radius: 8px; cursor: pointer; background: #fff; color: #18344E; border: 1.5px solid #DAECF5; display: flex; justify-content: space-between; align-items: center; transition: background .15s ease-out, border-color .15s ease-out; }
.name:hover { background: #F5FBFF; border-color: #B2D7EA; }
.name span { color: #46A7CB; }
.empty, .muted { font-size: 15px; color: #7F7F7F; margin: 0; }
.add { display: flex; flex-direction: column; gap: 12px; margin-top: auto; }
.add-row { display: flex; gap: 8px; }
.add-row .btn { width: auto; padding: 0 20px; flex-shrink: 0; }

.qr-col { align-items: center; color: #fff; }
.qr-top { align-self: stretch; display: flex; justify-content: space-between; align-items: center; }
.link-light { font: inherit; font-size: 15px; background: none; border: none; color: #B2D7EA; cursor: pointer; min-height: 44px; padding: 0; }
.qr-mid { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; }
.qr-card { background: #fff; border-radius: 20px; padding: 18px; box-shadow: 0 12px 40px rgba(0,0,0,.25); }
.qr-card svg { width: 260px; height: 260px; display: block; }
.qr-name { text-align: center; display: flex; flex-direction: column; gap: 6px; }
.qr-name strong { font-size: 28px; font-weight: 600; }
.qr-name span { font-size: 16px; font-weight: 300; color: #DAECF5; }
.qr-event { font-size: 13px; color: #B2D7EA; min-height: 1em; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: #7F7F7F; cursor: pointer; margin-bottom: 16px; }
.consent input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.consent .box { flex-shrink: 0; width: 22px; height: 22px; margin-top: 1px; border-radius: 6px; border: 1.5px solid #DAECF5; background: #F5FBFF; display: flex; align-items: center; justify-content: center; transition: background .15s ease-out, border-color .15s ease-out; }
.consent .box svg { width: 14px; height: 14px; opacity: 0; transition: opacity .15s ease-out; }
.consent input:checked + .box { background: #39A671; border-color: #39A671; }
.consent input:checked + .box svg { opacity: 1; }
.consent input:focus-visible + .box { border-color: #4EAED0; box-shadow: 0 0 0 3px rgba(78,174,208,.25); }
.consent a { color: #46A7CB; }

/* Header right side: progress dots + language switch */
.header-right { display: flex; align-items: center; gap: 16px; }
.lang { display: flex; border: 1.5px solid #DAECF5; border-radius: 8px; padding: 2px; gap: 2px; }
.lang button { font: inherit; font-size: 13px; font-weight: 500; min-width: 36px; min-height: 32px; padding: 0 8px; border: none; border-radius: 6px; background: none; color: #7F7F7F; cursor: pointer; transition: background .15s ease-out, color .15s ease-out; }
.lang button[aria-pressed="true"] { background: #18344E; color: #fff; }
body.navy .lang { border-color: rgba(218,236,245,.3); }
body.navy .lang button { color: #B2D7EA; }
body.navy .lang button[aria-pressed="true"] { background: #fff; color: #18344E; }

/* Landing choices */
.choices { display: flex; flex-direction: column; gap: 12px; margin-top: auto; }
a.btn { text-decoration: none; }
.btn-outline { background: #fff; color: #18344E; border: 1.5px solid #DAECF5; }
.btn-outline:hover { background: #F5FBFF; border-color: #B2D7EA; }
