:root{color-scheme:light;--green:#174f42;--green-deep:#103e34;--green-soft:#e7f0e8;--lime:#98c94f;--gold:#f6cb32;--gold-light:#fff4cd;--ink:#203a33;--muted:#6c7c75;--paper:#fbfaf4;--line:#e7e9df;--white:#fff;--shadow:0 14px 36px rgba(28,55,44,0.13)}*{box-sizing:border-box}body,html{margin:0;min-height:100%}body{background:var(--paper);color:var(--ink);font-family:Century Gothic,Aptos,Segoe UI,sans-serif;-webkit-font-smoothing:antialiased}button,input{font:inherit}button{-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible{outline:3px solid #77a940;outline-offset:3px}.app-frame{min-height:100vh}.topbar{min-height:88px;padding:14px clamp(18px,4vw,54px);justify-content:space-between;gap:22px;background:var(--green);border-bottom:5px solid var(--gold);color:var(--white)}.brand-lockup,.topbar{display:flex;align-items:center}.brand-lockup{gap:13px;min-width:215px}.brand-duck{width:58px;height:42px;object-fit:contain}.brand-copy{display:flex;flex-direction:column;gap:1px}.brand-name{font-size:21px;font-weight:800;letter-spacing:-.045em;line-height:1.05}.brand-team{color:#cfe29d;font-size:12px;font-weight:700;letter-spacing:.09em;text-transform:uppercase}.header-actions{display:flex;align-items:center;gap:11px}.button{min-height:48px;padding:0 18px;border:0;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-size:14px;font-weight:800;cursor:pointer;transition:transform .14s ease,background .14s ease,box-shadow .14s ease}.button:hover:not(:disabled){transform:translateY(-1px)}.button:active:not(:disabled){transform:translateY(0)}.button:disabled{cursor:not-allowed;opacity:.53}.button-add{color:var(--green-deep);background:var(--gold);box-shadow:0 3px 0 #dcae1e}.button-add:hover:not(:disabled){background:#ffda4c}.plus-mark{font-size:22px;font-weight:500;line-height:0}.button-end{border:1px solid rgba(255,255,255,.55);background:transparent;color:var(--white)}.button-end:hover:not(:disabled){background:rgba(255,255,255,.1)}.main-content{width:min(1220px,100%);margin:0 auto;padding:42px clamp(18px,4vw,48px) 72px}.welcome-row{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:27px}.eyebrow{margin:0 0 8px;color:#608b3d;font-size:11px;font-weight:800;letter-spacing:.14em}h1,h2,p{margin-top:0}h1{margin-bottom:5px;color:var(--green-deep);font-size:clamp(29px,4vw,38px);line-height:1.1;letter-spacing:-.045em}.instruction{margin-bottom:0;color:var(--muted);font-size:15px}.preview-label{margin:10px 0 0;color:#66823b;font-size:11px;font-weight:800;letter-spacing:.015em}.attendance-summary{flex:none;min-height:43px;padding:0 15px;border:1px solid #e0e5d8;border-radius:999px;display:flex;align-items:center;gap:8px;color:var(--muted);background:#fff;font-size:13px}.attendance-summary strong{color:var(--green);font-size:18px}.status-dot,.summary-dot{width:9px;height:9px;flex:none;border-radius:50%;background:var(--lime)}.roster-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(156px,1fr));grid-gap:15px;gap:15px}.person-card{position:relative;min-height:176px;padding:16px 12px 14px;border:1px solid var(--line);border-radius:17px;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:7px;color:var(--ink);background:#fff;box-shadow:0 3px 10px rgba(27,57,43,.035);cursor:pointer;transition:transform .14s ease,box-shadow .14s ease,border-color .14s ease,background .14s ease}.person-card:hover{transform:translateY(-2px);border-color:#cbd8be;box-shadow:0 9px 20px rgba(27,57,43,.09)}.person-card:active{transform:scale(.985)}.person-card.is-here{border-color:#b3d378;background:#fbfff5;box-shadow:inset 0 0 0 1px rgba(152,201,79,.2)}.person-card.is-here:hover{border-color:#98c94f}.attendance-rank{position:absolute;top:-9px;right:-7px;z-index:1;min-width:43px;height:35px;padding:0 9px;border:2px solid #fff7d1;border-radius:999px;display:grid;place-items:center;color:#fffdf1;background:var(--green);box-shadow:0 3px 0 #0c342b,0 6px 12px rgba(16,62,52,.2);font-family:Impact,Haettenschweiler,Arial Narrow Bold,sans-serif;font-size:18px;font-style:italic;font-weight:900;letter-spacing:.025em;line-height:1;transform:rotate(5deg);text-shadow:1px 1px 0 rgba(12,52,43,.8)}.rank-1{color:#4d3600;background:var(--gold);box-shadow:0 3px 0 #c28b08,0 6px 12px rgba(104,76,8,.2);text-shadow:1px 1px 0 rgba(255,243,183,.85)}.rank-2{background:#627a78;box-shadow:0 3px 0 #3a504e,0 6px 12px rgba(16,62,52,.2)}.rank-3{color:#fff8ee;background:#b66d37;box-shadow:0 3px 0 #80461e,0 6px 12px rgba(104,61,24,.2);text-shadow:0 1px 0 rgba(80,39,13,.45)}.person-name{margin-top:2px;color:var(--green-deep);font-size:16px;font-weight:800;letter-spacing:-.02em;text-align:center}.person-status{min-height:20px;display:flex;align-items:center;gap:6px;font-size:11px;font-weight:700}.status-here{color:#4f812c}.status-here .status-dot{width:7px;height:7px}.status-away{color:#88928b}.status-away .status-dot{display:none}.empty-state{min-height:390px;padding:35px 20px;border:1px dashed #d4ddc9;border-radius:24px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;background:rgba(255,255,255,.58)}.empty-duck{margin-bottom:11px}.empty-state h2{margin-bottom:7px;color:var(--green-deep);font-size:22px;letter-spacing:-.03em}.empty-state p{margin-bottom:20px;color:var(--muted);font-size:14px}.button-primary{min-height:50px;background:var(--green);color:white;box-shadow:0 3px 0 var(--green-deep)}.button-primary:hover:not(:disabled){background:#206653}.loading-panel{min-height:300px;display:flex;align-items:center;justify-content:center;gap:12px;color:var(--muted);font-size:15px}.loader{width:20px;height:20px;border:3px solid #dbe7d0;border-top:3px solid var(--green);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(1turn)}}.notice{margin:0 0 18px;padding:12px 15px;border-radius:11px;font-size:13px;font-weight:600}.notice-error{border:1px solid #efc5b6;background:#fff3ed;color:#9a422e}.modal-backdrop{position:fixed;z-index:20;inset:0;padding:20px;display:grid;place-items:center;overflow-y:auto;background:rgba(14,38,32,.58);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);animation:fade-in .12s ease-out}@keyframes fade-in{0%{opacity:0}to{opacity:1}}.modal-card{position:relative;width:min(100%,420px);padding:31px;border:1px solid rgba(255,255,255,.7);border-radius:23px;background:#fffefa;box-shadow:var(--shadow);text-align:center}.modal-card h2{margin:0 0 7px;color:var(--green-deep);font-size:25px;letter-spacing:-.04em}.modal-card .eyebrow{margin-bottom:8px}.modal-close{position:absolute;top:13px;right:14px;width:39px;height:39px;border:0;border-radius:50%;color:#65756d;background:#f0f2eb;font-size:26px;line-height:1;cursor:pointer}.modal-close:hover:not(:disabled){background:#e5ebdd}.modal-avatar{position:relative;width:86px;height:86px;margin:-1px auto 13px}.quack-button{display:block;padding:0;border:0;background:transparent;cursor:pointer}.quacking-duck{display:block;animation:duck-shake .55s ease-in-out;transform-origin:50% 80%}.quack-bubble{position:absolute;top:-3px;left:calc(100% - 4px);padding:6px 10px;border:1px solid #dfd5a9;border-radius:12px 12px 12px 3px;background:#fff8dc;color:var(--green-deep);font-size:12px;font-weight:800;white-space:nowrap;pointer-events:none;animation:quack-pop 2s ease-out forwards}@keyframes duck-shake{0%,to{transform:rotate(0)}20%,60%{transform:rotate(-10deg)}40%,80%{transform:rotate(10deg)}}@keyframes quack-pop{0%{opacity:0;transform:translateY(5px) scale(.8)}12%,75%{opacity:1;transform:translateY(0) scale(1)}to{opacity:0;transform:translateY(-4px)}}.modal-subtitle{margin:0 0 20px;color:var(--muted);font-size:14px;line-height:1.45}.choice-stack{display:grid;grid-gap:10px;gap:10px;text-align:left}.choice-in,.choice-out{width:100%;min-height:68px;padding:10px 13px;border:1px solid #dce5d4;justify-content:flex-start;background:#f4faec;color:var(--green)}.choice-out{border-color:#e4e4dc;background:#f5f5f1;color:#58675f}.choice-in:hover:not(:disabled),.choice-out:hover:not(:disabled){box-shadow:0 3px 10px rgba(28,55,44,.09)}.choice-in:disabled,.choice-out:disabled{opacity:1}.choice-in:disabled{background:#e9f5dc;border-color:#b9d88c}.choice-out:disabled{background:#f1f1ec;border-color:#d8d8d0}.choice-icon{width:37px;height:37px;border-radius:11px;display:grid;place-items:center;background:#dcedc6;color:#4b7c28;font-size:20px}.choice-out .choice-icon{background:#e5e7df;color:#637067}.choice-in>span:nth-child(2),.choice-out>span:nth-child(2){flex:1 1;display:flex;flex-direction:column;gap:2px}.choice-in strong,.choice-out strong{font-size:14px}.choice-in small,.choice-out small{color:#708077;font-size:11px;font-weight:500}.current-label{color:#5c812c;font-size:9px;font-weight:900;letter-spacing:.1em}.modal-working{margin:12px 0 0;color:var(--muted);font-size:12px}.attendance-modal{max-height:calc(100dvh - 40px);overflow-y:auto}.change-avatar-section{margin-top:24px;padding-top:22px;border-top:1px solid #e1e7dc;text-align:left}.change-avatar-section .eyebrow{margin-bottom:5px}.change-avatar-section h3{margin:0;color:var(--green-deep);font-size:17px;letter-spacing:-.025em}.change-avatar-section>p:not(.eyebrow){margin:5px 0 13px;color:var(--muted);font-size:12px;line-height:1.4}.add-modal{width:min(100%,500px);padding:31px 32px 28px;text-align:left}.add-modal h2,.add-modal>.eyebrow,.add-modal>.modal-subtitle{text-align:center}.add-modal>.modal-subtitle{margin-bottom:22px}.field-label{display:block;margin:13px 0 7px;color:#43584f;font-size:12px;font-weight:800}.text-field{width:100%;height:49px;padding:0 13px;border:1px solid #d8e0d1;border-radius:10px;background:white;color:var(--ink);outline-color:var(--lime)}.initial-field{width:76px;text-transform:uppercase;text-align:center}.avatar-label{margin-top:19px}.avatar-picker{display:grid;grid-template-columns:repeat(4,1fr);grid-gap:8px;gap:8px}.avatar-option{min-height:91px;padding:5px 3px 6px;border:1px solid transparent;border-radius:12px;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:1px;background:#f7f7f1;color:#56675f;font-size:10px;font-weight:700;cursor:pointer}.avatar-option:hover{background:#f0f5e7}.avatar-option.avatar-selected{border-color:#9cc863;background:#eef7df;box-shadow:inset 0 0 0 1px rgba(152,201,79,.25);color:var(--green)}.avatar-option svg{width:50px;height:50px}.modal-error{margin:12px 0 0}.submit-add{width:100%;margin-top:20px}.signout-symbol{width:56px;height:56px;margin:0 auto 15px;border-radius:18px;display:grid;place-items:center;background:#fff0d9;color:#b87726;font-size:28px}.signout-modal .modal-subtitle{margin:0 auto 23px;max-width:300px}.signout-actions{display:flex;justify-content:center;gap:10px}.button-secondary{border:1px solid #dce3d7;background:white;color:#52645b}.button-danger{background:var(--green);color:white}@media (min-width:1100px){.roster-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:17px}.person-card{min-height:188px}}@media (max-width:680px){.topbar{min-height:78px;padding:11px 15px;gap:10px}.brand-lockup{min-width:0;gap:8px}.brand-duck{width:43px;height:34px}.brand-name{font-size:17px}.brand-team{font-size:9px}.header-actions{gap:7px}.header-actions .button{min-height:43px;padding:0 11px;font-size:11px}.plus-mark{font-size:18px}.main-content{padding-top:29px}.welcome-row{align-items:flex-start;flex-direction:column;gap:13px;margin-bottom:19px}.instruction{font-size:13px}.attendance-summary{min-height:36px}.roster-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.person-card{min-height:157px;padding:10px 8px}.person-name{font-size:15px}.modal-backdrop{align-items:flex-end;padding:10px}.modal-card{margin:auto 0 0;padding:28px 21px 22px;border-radius:22px}.attendance-modal{max-height:calc(100dvh - 20px)}.modal-backdrop:has(.add-modal){align-items:center}.add-modal{max-height:calc(100dvh - 20px);overflow-y:auto}.avatar-picker{gap:5px}.avatar-option{min-height:83px;font-size:9px}.avatar-option svg{width:44px;height:44px}.signout-actions{flex-direction:column-reverse}.signout-actions .button{width:100%}}@media (max-width:370px){.brand-duck{display:none}.header-actions .button{padding:0 8px}.header-actions .button-end{max-width:111px}.person-card{min-height:145px}.avatar-option{font-size:8px}}@media (prefers-reduced-motion:reduce){*,:after,:before{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.quack-bubble,.quacking-duck{animation:none!important}}.admin-auth,.admin-shell{min-height:100vh;padding:46px clamp(18px,5vw,74px) 74px;background:#f5f7f1}.admin-shell{max-width:1460px;margin:0 auto}.admin-auth{display:grid;place-items:center}.admin-login-card{width:min(100%,430px);padding:36px;border:1px solid #e0e7d7;border-radius:22px;background:#fff;box-shadow:var(--shadow)}.admin-login-card h1{margin-bottom:10px}.admin-login-card>p:not(.eyebrow){color:var(--muted);font-size:14px;line-height:1.5}.admin-login-button{width:100%;margin-top:21px}.admin-form-error{margin:14px 0 -3px}.admin-header{padding-bottom:28px;border-bottom:1px solid #dce5d7;display:flex;justify-content:space-between;align-items:flex-end;gap:18px}.admin-header h1{margin:0}.admin-header-actions{display:flex;align-items:center;gap:10px}.admin-edit,.admin-kiosk-link,.admin-refresh{border:0;color:var(--green);background:transparent;font-size:13px;font-weight:800;cursor:pointer;text-decoration:none}.admin-edit:hover,.admin-kiosk-link:hover,.admin-refresh:hover{text-decoration:underline}.admin-logout{min-height:42px;color:var(--green);border-color:#adc5b7}.admin-metrics{margin:28px 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:17px;gap:17px}.metric-card{min-height:170px;padding:24px;border:1px solid #dce7d9;border-radius:19px;display:flex;flex-direction:column;justify-content:center;background:#fff}.metric-card:first-child{border-color:#9bc56a;background:linear-gradient(135deg,#174f42,#286956);color:white}.metric-label{margin-bottom:10px;color:#718278;font-size:11px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.metric-card:first-child .metric-label{color:#d5e9b5}.metric-card strong{margin-bottom:7px;color:var(--green-deep);font-size:clamp(31px,4vw,45px);letter-spacing:-.055em}.metric-card:first-child strong{color:#fff}.metric-card>span:last-child{color:#75847c;font-size:13px}.metric-card:first-child>span:last-child{color:#e4f0cf}.admin-panel{margin-top:22px;padding:25px;border:1px solid #dfe7dc;border-radius:19px;background:#fff}.panel-heading{margin-bottom:19px;display:flex;align-items:center;justify-content:space-between;gap:16px}.panel-heading .eyebrow{margin-bottom:5px}.panel-heading h2{margin:0;color:var(--green-deep);font-size:22px;letter-spacing:-.035em}.top-five{padding:5px 10px;border-radius:999px;color:#577e36;background:#edf6df;font-size:11px;font-weight:900}.leaderboard{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border-top:1px solid #e4ebe1}.leaderboard li{min-height:104px;padding:15px;border-right:1px solid #e4ebe1;display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;grid-column-gap:9px;column-gap:9px;align-content:center}.leaderboard li:last-child{border-right:0}.leader-rank{grid-row:span 2;width:27px;height:27px;border-radius:50%;display:grid;place-items:center;color:#4d742c;background:#e7f3d5;font-size:12px;font-weight:900}.leaderboard strong{overflow:hidden;color:var(--green-deep);font-size:14px;text-overflow:ellipsis;white-space:nowrap}.leaderboard li>span:last-child{color:var(--muted);font-size:12px}.leaderboard .table-empty{grid-column:1/-1;display:block;border:0;color:var(--muted)}.admin-table-wrap{overflow-x:auto}.admin-table{width:100%;border-collapse:collapse;text-align:left}.admin-table th{padding:0 13px 11px;color:#7b8981;font-size:10px;font-weight:900;letter-spacing:.09em;text-transform:uppercase}.admin-table td{padding:14px 13px;border-top:1px solid #e8ede6;color:#425850;font-size:14px}.admin-table td:first-child{color:var(--green-deep);font-weight:800}.admin-table td:last-child,.admin-table th:last-child{text-align:right}.software-panel{padding-bottom:20px}.software-panel>.eyebrow{margin-bottom:17px}.software-panel dl{margin:0;display:flex;flex-wrap:wrap;gap:16px 34px}.software-panel dl div{display:flex;flex-direction:column;gap:3px}.software-panel dt{color:#718278;font-size:10px;font-weight:900;letter-spacing:.09em;text-transform:uppercase}.software-panel dd{margin:0;color:var(--green-deep);font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px}.admin-edit-modal{text-align:left}.admin-edit-modal h2,.admin-edit-modal>.eyebrow{text-align:center}.admin-modal-actions{margin-top:24px;display:flex;justify-content:space-between;align-items:center;gap:12px}.admin-delete{padding:9px 0;border:0;color:#ad3d30;background:transparent;font-size:13px;font-weight:800;cursor:pointer}.admin-delete:hover{text-decoration:underline}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media (max-width:760px){.admin-auth,.admin-shell{padding:28px 15px 48px}.admin-header{align-items:flex-start;flex-direction:column}.admin-metrics{grid-template-columns:1fr}.admin-panel{padding:19px 15px}.leaderboard{grid-template-columns:1fr;border-top:0}.leaderboard li{min-height:63px;border-right:0;border-top:1px solid #e4ebe1}.leaderboard li:first-child{border-top:0}.leaderboard .table-empty{border:0}.admin-table td,.admin-table th{padding-left:7px;padding-right:7px}.admin-table td:nth-child(3),.admin-table th:nth-child(3){display:none}}