:root { color-scheme: light; font-family: Inter, "Segoe UI", sans-serif; color: #15323b; background: #edf4f5; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at top, #d5e9ed 0, #edf4f5 45%, #f7fafb 100%); }
.mobile-shell { width: min(100%, 470px); margin: 0 auto; padding: 20px 16px 40px; }
.mobile-brand { display: flex; align-items: center; gap: 12px; margin: 8px 4px 24px; }
.mobile-brand img { width: 52px; height: 52px; object-fit: contain; border-radius: 14px; background: white; }
.mobile-brand div { display: grid; gap: 3px; }
.mobile-brand small { color: #4b737c; font-weight: 800; letter-spacing: .14em; }
.mobile-brand strong { font-size: 1.05rem; }
.mobile-card { background: rgba(255,255,255,.96); border: 1px solid #d7e4e7; border-radius: 22px; padding: 22px; box-shadow: 0 18px 45px rgba(27,67,76,.1); margin-bottom: 16px; }
.mobile-kicker { margin: 0 0 8px; color: #16835d; font-size: .75rem; font-weight: 900; letter-spacing: .12em; }
.mobile-kicker.error { color: #b33a3a; }
h1, h2, p { margin-top: 0; }
h1 { font-size: 1.45rem; }
h2 { font-size: 1.25rem; line-height: 1.3; }
dl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0 0; }
dl div { min-width: 0; background: #f2f7f8; border-radius: 12px; padding: 11px; overflow-wrap: anywhere; }
dt { color: #607d84; font-size: .72rem; font-weight: 800; text-transform: uppercase; }
dd { margin: 4px 0 0; font-weight: 800; }
.mobile-form { display: grid; gap: 16px; }
label { display: grid; gap: 7px; color: #34565e; font-weight: 700; }
input { width: 100%; border: 1px solid #b8cdd2; border-radius: 13px; padding: 14px; font-size: 1.12rem; background: white; }
input:focus { outline: 3px solid rgba(18,126,151,.15); border-color: #127e97; }
button { border: 0; border-radius: 14px; padding: 15px; background: #0f687d; color: white; font-size: 1rem; font-weight: 800; cursor: pointer; }
button:disabled { opacity: .65; }
.mobile-link-button { min-height:44px; background: transparent; color: #0f6676; border: 0; box-shadow: none; padding: 6px; margin-top: 6px; text-decoration: underline; }
dialog { width: min(92vw, 420px); border: 0; border-radius: 18px; padding: 0; box-shadow: 0 24px 80px rgba(15, 35, 50, .25); }
dialog::backdrop { background: rgba(12, 24, 39, .55); }
dialog form { padding: 22px; }
dialog h2 { margin-top: 0; }
.dialog-actions { display: flex; gap: 10px; margin-top: 16px; }
.dialog-actions button:first-child { background: #e8eef2; color: #203143; }
.mobile-help, footer { color: #688087; font-size: .82rem; line-height: 1.45; }
.success { text-align: center; border-color: #a9dbc8; }
.success-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: #16835d; color: white; font-size: 2rem; font-weight: 900; }
.error-result { border-color: #e5b3b3; color: #8c2d2d; }
.feeling-field { margin: 0; border: 0; padding: 0; }
.feeling-field legend { margin-bottom: 10px; color: #34565e; font-weight: 800; }
.feeling-field small { display: block; margin-top: 8px; color: #688087; }
.feeling-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.feeling-option { position: relative; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 9px; border: 2px solid #d5e2e5; border-radius: 14px; padding: 12px; background: #fff; cursor: pointer; }
.feeling-option input { position: absolute; opacity: 0; pointer-events: none; }
.feeling-option:has(input:focus-visible) { outline:3px solid #245f9e; outline-offset:3px; }
.feeling-option:has(input:checked) { border-color: #0f687d; box-shadow: 0 0 0 3px rgba(15,104,125,.12); }
.feeling-good:has(input:checked) { border-color: #16835d; background: #effaf5; }
.feeling-bad:has(input:checked) { border-color: #c34a45; background: #fff4f3; }
.face { width: 40px; height: 40px; flex: none; display: block; }
.face-bg { fill: #f3f6f7; stroke: #8aa0a6; stroke-width: 2.4; }
.face-dot { fill: #6b838a; }
.face-mouth { fill: none; stroke: #6b838a; stroke-width: 2.8; stroke-linecap: round; }
.feeling-good .face-bg, .feeling-good:has(input:checked) .face-bg { fill: #effaf5; stroke: #16835d; }
.feeling-good .face-dot { fill: #16835d; }
.feeling-good .face-mouth { stroke: #16835d; }
.feeling-bad .face-bg, .feeling-bad:has(input:checked) .face-bg { fill: #fff4f3; stroke: #c34a45; }
.feeling-bad .face-dot { fill: #c34a45; }
.feeling-bad .face-mouth { stroke: #c34a45; }
.feeling-confirmation { margin-top: 14px; border-radius: 10px; padding: 10px; background: #effaf5; }
.another-checkin { width: 100%; margin-top: 8px; background: #e8eef2; color: #203143; }
footer { padding: 4px 10px; text-align: center; }
[hidden] { display: none !important; }

.hash-line { font-family: ui-monospace, monospace; font-size: .75rem; word-break: break-all; }
.employee-options { display: grid; gap: 6px; max-height: 240px; overflow: auto; margin-top: 6px; }
.employee-options button { min-height: 44px; padding: 10px; text-align: left; background: #f1f6f7; color: #203143; }
