/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before{box-sizing:border-box;border:0 solid;margin:0;padding:0}::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.static{position:static}.start{inset-inline-start:var(--spacing)}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.block{display:block}.flex{display:flex}.hidden{display:none}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}:root{--ink:#102136;--muted:#687789;--mint:#17c7a1;--mint-dark:#0b997f}*{box-sizing:border-box}body{min-height:100vh;color:var(--ink);background:radial-gradient(circle at 12% 5%,#17c7a121,#0000 28rem),linear-gradient(145deg,#f9fbfc 0%,#edf3f5 100%);margin:0;font-family:Segoe UI,Arial,sans-serif}button{font:inherit}.app-shell{width:min(1120px,100%);margin:0 auto;padding:34px 24px 48px}.topbar{align-items:center;gap:14px;margin-bottom:30px;display:flex}.topbar-title{min-width:0}.topbar h1{letter-spacing:-.04em;margin:3px 0 0;font-size:clamp(24px,4vw,34px);line-height:1.1}.eyebrow{letter-spacing:.16em;color:var(--mint-dark);margin:0;font-size:11px;font-weight:700}.brand-mark{background:var(--ink) url(/icon-slink-192-v143.png) center/cover no-repeat;border-radius:15px;place-items:center;width:48px;height:48px;display:grid;overflow:hidden;box-shadow:0 10px 24px #1021362e}.brand-mark span{display:none}.header-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;margin-left:auto;display:flex}.privacy-badge{color:#08735f;background:#effbf7;border:1px solid #cfe6df;border-radius:999px;margin-left:auto;padding:8px 12px;font-size:12px;font-weight:600}.scanner-layout{grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);align-items:stretch;gap:22px;display:grid}.scanner-card,.result-card{-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#ffffffe0;border:1px solid #d8e2e8e6;border-radius:26px;padding:20px;box-shadow:0 22px 70px #1a324317}.camera-stage{isolation:isolate;contain:layout paint;background:linear-gradient(145deg,#12283d,#091624);border-radius:19px;place-items:center;min-height:480px;display:grid;position:relative;overflow:hidden}.camera-stage #qr-reader{z-index:1;position:absolute;inset:0;border:0!important}.camera-stage #qr-reader video,.camera-stage #qr-reader img{object-fit:cover;width:100%!important;height:100%!important}.camera-stage #qr-reader__scan_region{min-height:100%}.camera-stage #qr-reader__dashboard{display:none}.camera-stage:before{content:"";opacity:.15;background-image:linear-gradient(#ffffff1f 1px,#0000 1px),linear-gradient(90deg,#ffffff1f 1px,#0000 1px);background-size:36px 36px;position:absolute;inset:0}.camera-stage.is-scanning:before{display:none}.camera-copy{z-index:2;color:#fff;text-align:center;justify-items:center;gap:8px;display:grid;position:relative}.camera-copy strong{font-size:17px}.camera-copy small{color:#aebbc6}.camera-dot{background:radial-gradient(circle,var(--mint) 0 7px,transparent 8px),#ffffff0f;border:1px solid #ffffff40;border-radius:50%;width:60px;height:60px;margin-bottom:8px}.primary-button,.secondary-button{cursor:pointer;border:0;border-radius:15px;width:100%;margin-top:16px;padding:15px 18px;font-weight:700}.primary-button{color:#062a22;background:var(--mint);box-shadow:0 10px 24px #17c7a138}.primary-button:hover{background:#24d8b2}.primary-button:disabled{opacity:.65;cursor:wait}.secondary-button{color:#fff;background:var(--ink)}.upload-button{color:#405568;text-align:center;cursor:pointer;background:#fff;border:1px solid #d5e1e5;border-radius:13px;width:100%;margin-top:10px;padding:12px;font-size:13px;font-weight:600;display:block}.upload-button input{opacity:0;width:1px;height:1px;position:absolute}.helper{text-align:center;color:var(--muted);margin:12px 0 0;font-size:12px}.result-card{flex-direction:column;display:flex}.result-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.result-heading button,.camera-tools button{color:#30485a;cursor:pointer;background:#fff;border:1px solid #d7e3e6;border-radius:10px;padding:8px 10px;font-size:12px;font-weight:700}.empty-result{text-align:center;flex:1;place-content:center;justify-items:center;min-height:320px;padding:30px;display:grid}.empty-result span{color:#8aa0a9;background:#edf4f5;border-radius:18px;place-items:center;width:58px;height:58px;margin-bottom:16px;font-size:30px;display:grid}.empty-result strong{font-size:18px}.empty-result p{max-width:270px;color:var(--muted);margin:9px 0 0;font-size:13px;line-height:1.6}.privacy-note{color:#5d7078;background:#f4f8f8;border-radius:14px;margin-top:auto;padding:14px;font-size:12px;line-height:1.5}.privacy-note span{color:var(--mint);margin-right:6px}.camera-tools{z-index:4;gap:8px;display:flex;position:absolute;bottom:14px;right:14px}.camera-tools button{color:#fff;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#04101cad;border-color:#ffffff38}.loader{border:4px solid #fff3;border-top-color:var(--mint);border-radius:50%;width:44px;height:44px;animation:.8s linear infinite spin}.error-message{color:#9a2e25;background:#fff0ee;border-radius:12px;margin:12px 0 0;padding:12px 14px;font-size:13px;line-height:1.5}.result-content{flex:1;padding:22px 0}.result-label{color:var(--muted);margin:0 0 8px;font-size:12px;font-weight:700}.result-content pre{color:#eafff9;background:var(--ink);white-space:pre-wrap;overflow-wrap:anywhere;border-radius:13px;margin:0;padding:15px;font:12px/1.6 ui-monospace,Consolas,monospace;overflow:auto}.payload-grid{grid-template-columns:1fr 1fr;gap:9px;margin-top:12px;display:grid}.payload-grid div{background:#f8fbfb;border:1px solid #e2eaed;border-radius:11px;min-width:0;padding:11px}.payload-grid .wide{grid-column:1/-1}.payload-grid span{color:var(--muted);text-transform:uppercase;letter-spacing:.08em;margin-bottom:5px;font-size:10px;display:block}.payload-grid strong,.payload-grid code{overflow-wrap:anywhere;color:var(--ink);white-space:pre-wrap;font-size:12px;display:block}.history{margin:0 0 12px;font-size:12px}.history summary{color:#506677;cursor:pointer;padding:10px 0;font-weight:700}.history button{text-align:left;cursor:pointer;background:0 0;border:0;border-top:1px solid #e7edef;width:100%;padding:9px 0;display:block;overflow:hidden}.history button span,.history button small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.history button small{color:#87959f;margin-top:3px}.zoom-controls{color:#fff;background:var(--ink);border:1px solid #d6e1e5;border-radius:15px;align-items:center;gap:8px;width:100%;margin-top:12px;padding:9px 11px;display:flex;box-shadow:0 8px 20px #10213624}.zoom-label{color:#aeeedf;letter-spacing:.08em;padding-left:3px;font-size:10px;font-weight:800}.zoom-controls button{color:#fff;cursor:pointer;background:#ffffff1a;border:1px solid #ffffff38;border-radius:50%;flex:0 0 34px;width:34px;height:34px;padding:0;font-size:20px;line-height:1}.zoom-controls input{min-width:72px;height:28px;accent-color:var(--mint);cursor:pointer;flex:1}.zoom-controls output{color:#dffff6;text-align:center;min-width:37px;font:700 12px/1 ui-monospace,Consolas,monospace}.camera-stage #qr-reader video{transform-origin:50%;transition:transform .12s ease-out}.camera-stage.is-scanning #qr-reader video{will-change:transform}.ptit-analysis{background:linear-gradient(145deg,#f0fcf8,#f8fffd);border:1px solid #bce9dc;border-radius:16px;margin-bottom:18px;padding:16px}.ptit-analysis-heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.ptit-analysis-heading h2{letter-spacing:-.02em;margin:6px 0 0;font-size:19px}.ptit-analysis-heading>strong{color:#08735f;white-space:nowrap;background:#dcf7ee;border-radius:9px;padding:7px 9px;font-size:11px}.ptit-chip{color:#08735f;letter-spacing:.1em;font-size:10px;font-weight:800}.ptit-analysis>p{color:#506677;margin:12px 0;font-size:13px;line-height:1.55}.ptit-analysis>small{color:#6e8089;margin-top:12px;font-size:11px;display:block}.insight-fields{grid-template-columns:1fr 1.35fr;gap:8px;display:grid}.insight-fields div{background:#fff;border:1px solid #dcece7;border-radius:10px;min-width:0;padding:10px}.insight-fields div.emphasis{box-shadow:inset 3px 0 0 var(--mint);border-color:#75d8bd}.insight-fields span{color:#73848d;text-transform:uppercase;letter-spacing:.06em;margin-bottom:5px;font-size:10px;font-weight:700;display:block}.insight-fields code{overflow-wrap:anywhere;color:var(--ink);font:600 12px/1.45 ui-monospace,Consolas,monospace;display:block}@keyframes spin{to{transform:rotate(360deg)}}@media (max-width:760px){body{background:#edf3f5}.app-shell{padding:22px 14px 34px}.topbar{margin-bottom:20px}.brand-mark{border-radius:13px;width:44px;height:44px}.privacy-badge{display:none}.scanner-layout{grid-template-columns:1fr}.scanner-card,.result-card{-webkit-backdrop-filter:none;backdrop-filter:none;background:#fff;border-radius:21px;padding:14px;box-shadow:0 8px 28px #1a324314}.camera-stage{min-height:min(66vh,520px)}.camera-tools button{-webkit-backdrop-filter:none;backdrop-filter:none}.empty-result{min-height:230px}.ptit-analysis-heading{display:block}.ptit-analysis-heading>strong{margin-top:10px;display:inline-block}.insight-fields{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){.loader{animation-duration:1.4s}.camera-stage #qr-reader video{transition:none}}.login-shell{min-height:100dvh;padding:calc(24px + env(safe-area-inset-top)) 16px calc(24px + env(safe-area-inset-bottom));place-items:center;display:grid}.login-card{background:#fffffff5;border:1px solid #cfe0e2f2;border-radius:26px;width:min(430px,100%);padding:30px;box-shadow:0 24px 70px #10213624}.login-loading-card{justify-content:center;align-items:center;gap:12px;display:flex}.login-brand{background:var(--ink);border-radius:17px;place-items:center;width:54px;height:54px;margin-bottom:18px;display:grid;box-shadow:0 12px 28px #10213633}.login-brand span{border:3px solid var(--mint);border-radius:6px;width:22px;height:22px}.login-eyebrow{color:var(--mint-dark);letter-spacing:.16em;margin:0;font-size:11px;font-weight:800}.login-card h1{letter-spacing:-.035em;margin:6px 0 10px;font-size:28px}.login-description{color:var(--muted);margin:0 0 22px;font-size:13px;line-height:1.55}.login-form{gap:9px;display:grid}.login-form label{color:#334155;margin-top:7px;font-size:12px;font-weight:700}.login-form input{width:100%;min-height:48px;color:var(--ink);font:inherit;background:#fff;border:1px solid #cedbe0;border-radius:12px;outline:none;padding:0 14px}.login-form input:focus{border-color:var(--mint-dark);box-shadow:0 0 0 3px #17c7a124}.login-password-wrap{position:relative}.login-password-wrap input{padding-right:66px}.login-password-wrap button{color:#526779;cursor:pointer;background:#eef4f5;border:0;border-radius:8px;height:34px;padding:0 10px;font-size:12px;font-weight:700;position:absolute;top:7px;right:7px}.login-submit{color:#fff;background:linear-gradient(135deg, var(--mint-dark), #08735f);cursor:pointer;border:0;border-radius:13px;justify-content:center;align-items:center;gap:9px;min-height:50px;margin-top:13px;font-weight:800;display:flex;box-shadow:0 10px 24px #0b997f38}.login-submit:disabled{opacity:.7;cursor:wait}.login-spinner{border:2px solid #fff6;border-top-color:currentColor;border-radius:50%;width:18px;height:18px;animation:.75s linear infinite spin;display:inline-block}.login-loading-card .login-spinner{color:var(--mint-dark);border-color:currentColor #0b997f38 #0b997f38}.login-error{color:#991b1b;background:#fef2f2;border:1px solid #fecaca;border-radius:10px;padding:11px 12px;font-size:12px;line-height:1.45}.login-security-note{color:#71808d;margin-top:18px;font-size:11px;line-height:1.5;display:block}.session-user-badge{color:#08735f;background:#effbf7;border:1px solid #bce9dc;border-radius:999px;padding:7px 10px;font-size:11px;font-weight:800}.session-logout-btn{color:#405568;cursor:pointer;background:#fff;border:1px solid #d7e3e6;border-radius:9px;padding:7px 10px;font-size:11px;font-weight:700}@media (max-width:768px){.login-card{border-radius:22px;padding:24px 20px}.login-card h1{font-size:25px}.session-user-badge{order:-1}}.student-bar{background:linear-gradient(135deg,#fffffff5,#f2fbf8eb);border:1px solid #17c7a152;border-radius:20px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;margin-bottom:22px;padding:14px 20px;display:flex;box-shadow:0 10px 32px #1021360f}.student-profile{align-items:center;gap:14px;display:flex}.student-avatar{color:#fff;background:linear-gradient(135deg,#17c7a1,#0b997f);border-radius:50%;flex-shrink:0;place-items:center;width:44px;height:44px;font-size:20px;display:grid;box-shadow:0 4px 14px #17c7a159}.student-details h3{color:var(--ink);letter-spacing:-.01em;margin:0;font-size:15px;font-weight:700}.student-details p{color:var(--muted);margin:2px 0 0;font-size:12px}.student-actions{flex-wrap:wrap;align-items:center;gap:14px;display:flex}.student-badge{color:#0b997f;background:#effbf7;border:1px solid #c9ede3;border-radius:999px;align-items:center;gap:6px;padding:6px 12px;font-size:11px;font-weight:700;display:inline-flex}.auto-checkin-toggle{color:var(--ink);cursor:pointer;background:#fff;border:1px solid #d5e4e7;border-radius:12px;align-items:center;gap:8px;padding:6px 12px;font-size:13px;font-weight:600;display:inline-flex}.auto-checkin-toggle input{accent-color:var(--mint);cursor:pointer;width:16px;height:16px}.checkin-action-box{background:#fff;border:1px solid #d2eae3;border-radius:14px;margin-top:14px;padding:14px;box-shadow:0 4px 14px #1021360a}.checkin-btn{color:#fff;cursor:pointer;background:linear-gradient(135deg,#17c7a1,#0b997f);border:0;border-radius:12px;justify-content:center;align-items:center;gap:8px;width:100%;padding:13px 18px;font-size:14px;font-weight:700;transition:transform .15s,box-shadow .15s;display:flex;box-shadow:0 6px 18px #17c7a140}.checkin-btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 8px 22px #17c7a159}.checkin-btn:disabled{opacity:.65;cursor:not-allowed}.checkin-alert{border-radius:10px;align-items:flex-start;gap:8px;margin-top:12px;padding:12px 14px;font-size:13px;line-height:1.45;display:flex}.checkin-alert.success{color:#08735f;background:#effbf7;border:1px solid #bce9dc}.checkin-alert.error{color:#9a2e25;background:#fff0ee;border:1px solid #fbd0ca}.checkin-alert.loading{color:#1f618d;background:#f0f7fb;border:1px solid #cde4f5}.mini-spinner{border:2px solid;border-top-color:#0000;border-radius:50%;flex-shrink:0;width:16px;height:16px;animation:.7s linear infinite spin;display:inline-block}.checkin-alert.partial{color:#b45309;background:#fffbeb;border:1px solid #fde68a}.group-toggle-btn{color:#1d4ed8;cursor:pointer;background:#eff6ff;border:1px solid #bfdbfe;border-radius:999px;align-items:center;gap:6px;padding:5px 12px;font-size:12px;font-weight:600;transition:all .2s;display:inline-flex}.group-toggle-btn:hover{background:#dbeafe;transform:translateY(-1px)}.group-list-container{background:#fff;border:1px solid #e2e8f0;border-radius:14px;width:100%;margin-top:10px;padding:12px 14px;box-shadow:inset 0 2px 4px #00000005}.group-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:10px;margin-top:10px;display:grid}.group-member-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:10px 14px;font-size:13px;transition:all .2s}.group-member-card.is-active{background:#fff;border-color:#86efac;box-shadow:0 1px 3px #22c55e14}.group-member-card.is-inactive{opacity:.75;background:#f8fafc;border-color:#cbd5e1}.member-identity{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.member-title-row{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.member-name{color:var(--ink);font-size:13px;font-weight:700;line-height:1.3}.member-code{color:#0284c7;letter-spacing:.3px;font-size:12px;font-weight:600}.batch-results-box{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;margin-top:14px;padding:12px}.batch-results-header{color:var(--ink);justify-content:space-between;align-items:center;margin-bottom:8px;font-size:13px;font-weight:700;display:flex}.batch-list{flex-direction:column;gap:6px;max-height:260px;display:flex;overflow-y:auto}.batch-card{border-radius:8px;flex-direction:column;gap:3px;padding:8px 10px;font-size:12px;display:flex}.batch-card.success{background:#effbf7;border:1px solid #c9ede3}.batch-card.error{background:#fff0ee;border:1px solid #fbd0ca}.batch-card-top{justify-content:space-between;align-items:center;display:flex}.batch-card-name{color:var(--ink);font-weight:700}.batch-badge{text-transform:uppercase;border-radius:4px;padding:2px 6px;font-size:10px;font-weight:700}.batch-badge.success{color:#fff;background:#08735f}.batch-badge.error{color:#fff;background:#c53030}.batch-card-msg{color:#4a5568;word-break:break-word;margin:0;font-size:11px}.add-student-quick-btn{color:#166534;cursor:pointer;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:999px;align-items:center;gap:4px;padding:6px 12px;font-size:12px;font-weight:600;transition:all .15s;display:inline-flex}.add-student-quick-btn:hover{background:#dcfce7;border-color:#86efac;transform:translateY(-1px)}.group-list-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.add-student-trigger-btn{color:#fff;cursor:pointer;background:#0f766e;border:none;border-radius:8px;align-items:center;gap:4px;padding:6px 14px;font-size:12px;font-weight:600;transition:all .15s;display:inline-flex}.add-student-trigger-btn:hover{background:#0d9488;transform:translateY(-1px);box-shadow:0 4px 10px #0f766e40}.group-member-card.is-active{background:#fff;border:1px solid #bbf7d0;box-shadow:0 1px 3px #10b9811a}.group-member-card.is-inactive{opacity:.65;background:#f8fafc;border:1px dashed #cbd5e1}.member-top-row{justify-content:space-between;align-items:center;gap:8px;display:flex}.member-identity{flex-direction:column;gap:1px;display:flex}.member-name{color:var(--ink);font-size:13px;font-weight:700}.member-code{color:#0f766e;font-size:11px;font-weight:600}.member-last-access{color:var(--muted);font-size:10px;line-height:1.35}.member-toggle-label{cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:6px;display:inline-flex}.member-checkbox-input{opacity:0;width:0;height:0;position:absolute}.member-toggle-slider{background-color:#cbd5e1;border-radius:20px;width:36px;height:20px;transition:background-color .2s;display:inline-block;position:relative}.member-toggle-slider:before{content:"";background-color:#fff;border-radius:50%;width:16px;height:16px;transition:transform .2s cubic-bezier(.4,0,.2,1);position:absolute;top:2px;left:2px;box-shadow:0 1px 3px #0003}.member-checkbox-input:checked+.member-toggle-slider{background-color:#10b981}.member-checkbox-input:checked+.member-toggle-slider:before{transform:translate(16px)}.member-toggle-text{min-width:22px;font-size:11px;font-weight:700}.member-toggle-text.active{color:#047857}.member-toggle-text.inactive{color:#64748b}.toast-notification{z-index:1000;color:#f8fafc;background:#0f172a;border:1px solid #ffffff1a;border-radius:12px;align-items:center;gap:8px;padding:12px 18px;font-size:13px;font-weight:600;animation:.3s cubic-bezier(.16,1,.3,1) forwards slideToast;display:flex;position:fixed;bottom:24px;right:24px;box-shadow:0 10px 25px -5px #0000004d,0 8px 10px -6px #0003}@keyframes slideToast{0%{opacity:0;transform:translateY(16px)scale(.96)}to{opacity:1;transform:translateY(0)scale(1)}}.checkin-top-notice{--notice-accent:#007aff;top:calc(14px + env(safe-area-inset-top));z-index:20000;color:#005bbd;background:#e6f4ff;border:1px solid #0000000a;border-radius:36px;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:12px;width:min(560px,100% - 32px);padding:12px 8px 12px 12px;animation:.3s cubic-bezier(.33,1,.68,1) both checkinNoticeIn;display:grid;position:fixed;left:50%;transform:translate(-50%);box-shadow:0 4px 20px #0000001f}.checkin-top-notice.loading{grid-template-columns:44px minmax(0,1fr);padding-right:20px}.checkin-top-notice.success{--notice-accent:#399500;color:#2d7500;background:#eff8ef}.checkin-top-notice.partial{--notice-accent:#b57500;color:#805500;background:#fffbe6}.checkin-top-notice.error{--notice-accent:#e20404;color:#b31820;background:#fff2f0}body:has(.camera-stage.is-camera-open) .checkin-top-notice{top:calc(72px + env(safe-area-inset-top))}.checkin-top-notice-icon{width:44px;height:44px;color:var(--notice-accent);background:#fff;border-radius:50%;place-items:center;display:grid}.checkin-notice-spinner{border:2px solid #cce5ff;border-top-color:currentColor;border-radius:50%;width:22px;height:22px;animation:.8s linear infinite spin}.checkin-top-notice-content{gap:3px;min-width:0;display:grid}.checkin-top-notice-content strong{font-size:16px;line-height:1.4}.checkin-top-notice-content>span{overflow-wrap:anywhere;max-height:25dvh;font-size:14px;line-height:1.55;overflow:auto}.checkin-top-notice-close{width:44px;height:44px;color:inherit;cursor:pointer;background:0 0;border:0;border-radius:50%;padding:0;font-size:23px;line-height:1}.checkin-top-notice-close:hover{background:#0000000f}.checkin-top-notice-close:focus-visible{outline-offset:2px;outline:2px solid}@keyframes checkinNoticeIn{0%{opacity:0;transform:translate(-50%,-40px)}to{opacity:1;transform:translate(-50%)}}@media (prefers-reduced-motion:reduce){.checkin-top-notice,.checkin-notice-spinner{animation:none}}.modal-backdrop{-webkit-backdrop-filter:blur(6px);z-index:999;background:#0f172a99;justify-content:center;align-items:center;padding:16px;animation:.2s ease-out modalFadeIn;display:flex;position:fixed;inset:0}@keyframes modalFadeIn{0%{opacity:0}to{opacity:1}}.modal-dialog{background:#fff;border:1px solid #e2e8f0;border-radius:16px;width:100%;max-width:440px;animation:.25s cubic-bezier(.16,1,.3,1) modalScaleUp;overflow:hidden;box-shadow:0 20px 25px -5px #00000026,0 8px 10px -6px #0000001a}@keyframes modalScaleUp{0%{opacity:0;transform:scale(.94)translateY(8px)}to{opacity:1;transform:scale(1)translateY(0)}}.modal-header{border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:flex-start;gap:12px;padding:18px 20px;display:flex}.modal-title-group h3{color:var(--ink);margin:0;font-size:16px;font-weight:700}.modal-title-group p{color:var(--muted);margin:4px 0 0;font-size:12px}.modal-close-btn{cursor:pointer;color:var(--muted);background:0 0;border:none;border-radius:6px;padding:4px;font-size:16px;transition:all .15s}.modal-close-btn:hover{color:var(--ink);background:#f1f5f9}.modal-form{flex-direction:column;gap:16px;padding:20px;display:flex}.modal-error-alert{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;padding:10px 12px;font-size:12px}.modal-field{flex-direction:column;gap:6px;display:flex}.modal-field label{color:var(--ink);font-size:13px;font-weight:600}.modal-field input{color:var(--ink);border:1px solid #cbd5e1;border-radius:8px;outline:none;padding:10px 14px;font-size:13px;transition:border-color .15s,box-shadow .15s}.modal-field input:focus{border-color:#0f766e;box-shadow:0 0 0 3px #0f766e26}.password-input-wrap{align-items:center;display:flex;position:relative}.password-input-wrap input{width:100%;padding-right:56px}.password-toggle-btn{color:#64748b;cursor:pointer;background:0 0;border:none;border-radius:4px;padding:4px 8px;font-size:12px;font-weight:600;position:absolute;right:8px}.password-toggle-btn:hover{color:var(--ink)}.modal-security-note{color:#475569;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;align-items:flex-start;gap:8px;padding:10px 12px;font-size:11px;display:flex}.security-icon{flex-shrink:0;font-size:14px}.modal-actions{justify-content:flex-end;align-items:center;gap:10px;margin-top:4px;display:flex}.btn-cancel{color:#475569;cursor:pointer;background:#f1f5f9;border:none;border-radius:8px;padding:9px 16px;font-size:13px;font-weight:600;transition:background .15s}.btn-cancel:hover{background:#e2e8f0}.btn-submit{color:#fff;cursor:pointer;background:#0f766e;border:none;border-radius:8px;align-items:center;gap:6px;padding:9px 18px;font-size:13px;font-weight:600;transition:all .15s;display:inline-flex}.btn-submit:hover:not(:disabled){background:#0d9488;box-shadow:0 4px 12px #0f766e4d}.btn-submit:disabled{opacity:.65;cursor:not-allowed}.btn-spinner{border:2px solid #ffffff4d;border-top-color:#fff;border-radius:50%;width:14px;height:14px;animation:.6s linear infinite spin}.role-badge{text-transform:uppercase;letter-spacing:.3px;border-radius:4px;align-items:center;gap:3px;padding:2px 6px;font-size:10px;font-weight:700;display:inline-flex}.role-badge.admin{color:#92400e;background:#fef3c7;border:1px solid #fde68a}.role-badge.member{color:#475569;background:#f1f5f9;border:1px solid #e2e8f0}.viewer-select{color:var(--ink);cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:6px;outline:none;padding:3px 8px;font-size:11px;font-weight:600;transition:border-color .15s}.viewer-select:focus{border-color:#0f766e}.btn-unlock-admin{color:#92400e;cursor:pointer;background:#fef3c7;border:1px solid #fde68a;border-radius:999px;align-items:center;gap:4px;padding:6px 12px;font-size:12px;font-weight:600;transition:all .15s;display:inline-flex}.btn-unlock-admin:hover{background:#fde68a;transform:translateY(-1px)}.btn-text-unlock{color:#b45309;cursor:pointer;background:0 0;border:none;padding:0 4px;font-size:11px;font-weight:700;text-decoration:underline;transition:opacity .15s}.btn-text-unlock:hover{opacity:.8}.btn-text-action{color:#64748b;cursor:pointer;background:0 0;border:none;padding:0 4px;font-size:11px;text-decoration:underline;transition:color .15s}.btn-text-action:hover{color:#0f172a}.member-controls-group{align-items:center;gap:8px;display:flex}.btn-delete-member{color:#dc2626;cursor:pointer;background:#fef2f2;border:1px solid #fecaca;border-radius:6px;justify-content:center;align-items:center;padding:4px 7px;font-size:13px;line-height:1;transition:all .15s;display:inline-flex}.btn-delete-member:hover:not(:disabled){background:#fee2e2;border-color:#fca5a5;transform:scale(1.05)}.btn-delete-member:disabled{opacity:.5;cursor:not-allowed}.btn-sync-tokens{color:#166534;cursor:pointer;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:8px;align-items:center;gap:5px;padding:6px 12px;font-size:12px;font-weight:600;transition:all .15s;display:inline-flex}.btn-sync-tokens:hover:not(:disabled){background:#dcfce7;border-color:#86efac}.btn-sync-tokens:disabled{opacity:.6;cursor:not-allowed}.btn-clear-history{color:#991b1b;cursor:pointer;background:#fef2f2;border:1px solid #fecaca;border-radius:6px;align-items:center;gap:4px;padding:3px 8px;font-size:11px;font-weight:600;transition:all .15s;display:inline-flex}.btn-clear-history:hover:not(:disabled){background:#fee2e2;border-color:#f87171}.btn-clear-history:disabled{opacity:.5;cursor:not-allowed}.btn-clear-history.confirm-danger{color:#fff;background:#dc2626;border-color:#b91c1c;animation:1s infinite alternate pulseDanger}.btn-clear-history.confirm-danger:hover:not(:disabled){background:#b91c1c}@keyframes pulseDanger{0%{transform:scale(1);box-shadow:0 0 #dc262666}to{transform:scale(1.03);box-shadow:0 0 0 4px #dc262626}}.btn-cancel-inline{color:#64748b;cursor:pointer;background:#f1f5f9;border:1px solid #cbd5e1;border-radius:6px;padding:3px 6px;font-size:11px;transition:all .15s}.btn-cancel-inline:hover{color:#0f172a;background:#e2e8f0}@media (max-width:768px){body{padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}.app-shell{padding:16px 14px 40px}.topbar{grid-template-columns:42px minmax(0,1fr);align-items:center;gap:10px 12px;margin-bottom:16px;display:grid}.topbar h1{letter-spacing:-.02em;text-overflow:ellipsis;white-space:nowrap;font-size:clamp(18px,5.4vw,22px);overflow:hidden}.brand-mark{border-radius:12px;width:42px;height:42px}.privacy-badge{display:none}.header-actions{flex-wrap:wrap;grid-column:1/-1;justify-content:stretch;gap:8px;width:100%;margin-left:0;display:flex}.header-actions .session-user-badge,.header-actions .session-logout-btn{flex:none;justify-content:center;align-items:center;min-height:38px;display:inline-flex}.header-actions .pwa-header-install-btn{flex:1 0 100%;order:2;justify-content:center;min-height:36px}.student-bar{border-radius:16px;flex-direction:column;align-items:stretch;gap:12px;margin-bottom:16px;padding:14px}.student-profile{gap:12px;width:100%}.student-avatar{width:40px;height:40px;font-size:18px}.student-details h3{font-size:14px}.student-details p{font-size:11px;line-height:1.4}.student-actions{flex-wrap:wrap;justify-content:flex-start;gap:8px;width:100%;display:flex}.group-toggle-btn,.btn-unlock-admin,.add-student-quick-btn{flex:calc(50% - 4px);justify-content:center;min-height:38px;padding:8px 12px;font-size:12px}.student-badge{text-align:center;justify-content:center;width:100%;padding:6px 10px;font-size:11px}.group-list-container{border-radius:12px;padding:12px 10px}.group-list-header{flex-direction:column;align-items:stretch;gap:10px}.group-list-header>div:last-child{gap:8px;width:100%;display:flex}.btn-sync-tokens,.add-student-trigger-btn{flex:1;justify-content:center;min-height:38px;padding:8px 10px;font-size:12px}.group-grid{grid-template-columns:1fr;gap:8px}.group-member-card{border-radius:10px;padding:10px 12px}.member-name{text-overflow:ellipsis;white-space:nowrap;max-width:180px;font-size:13px;overflow:hidden}.member-code{font-size:11px}.scanner-layout{grid-template-columns:1fr;gap:16px}.scanner-card,.result-card{border-radius:18px;padding:14px}.camera-stage{border-radius:14px;min-height:320px;max-height:52vh}.camera-tools{gap:6px;bottom:10px;right:10px}.camera-tools button{border-radius:8px;min-height:38px;padding:8px 12px;font-size:12px}.zoom-controls{border-radius:12px;margin-top:10px;padding:8px 10px}.zoom-controls button{flex:0 0 36px;width:36px;height:36px;font-size:20px}.zoom-controls input{height:32px}.primary-button,.secondary-button{border-radius:12px;min-height:48px;margin-top:12px;padding:14px 18px;font-size:15px}.upload-button{border-radius:12px;justify-content:center;align-items:center;min-height:44px;margin-top:8px;padding:12px;font-size:13px;display:flex}.checkin-btn{border-radius:12px;min-height:48px;padding:14px;font-size:14px}.checkin-alert{padding:10px 12px;font-size:12px}.history summary{flex-wrap:wrap;gap:8px}.modal-backdrop{align-items:flex-end;padding:0}.modal-dialog{width:100%;max-width:100%;max-height:90vh;padding-bottom:calc(16px + env(safe-area-inset-bottom));border-radius:20px 20px 0 0;overflow-y:auto}.modal-header{padding:16px 18px}.modal-form{gap:14px;padding:16px 18px}.modal-field input,.modal-field input:focus{border-radius:10px;min-height:46px;padding:12px 14px;font-size:16px!important}.modal-actions{flex-direction:column-reverse;gap:8px;width:100%;margin-top:8px}.btn-cancel,.btn-submit{border-radius:10px;justify-content:center;width:100%;min-height:46px;font-size:14px}.toast-notification{left:14px;right:14px;bottom:calc(16px + env(safe-area-inset-bottom));text-align:center;justify-content:center;width:auto;max-width:none;padding:12px 16px;font-size:13px}}@media (max-width:380px){.app-shell{padding:12px 10px 32px}.topbar h1{font-size:18px}.header-actions{gap:6px}.header-actions .session-user-badge,.header-actions .session-logout-btn{min-height:36px;padding:5px 8px;font-size:10px}.group-toggle-btn,.btn-unlock-admin,.add-student-quick-btn{flex:100%}.member-name{max-width:120px}.camera-stage{min-height:280px}}.tap-focus-ring{pointer-events:none;z-index:25;border:2px solid #ffd600;border-radius:10px;width:64px;height:64px;animation:.9s cubic-bezier(.2,.8,.2,1) forwards focusPulse;position:absolute;transform:translate(-50%,-50%)scale(1.4);box-shadow:0 0 14px #ffd600cc,inset 0 0 10px #ffd60059}.tap-focus-ring:before,.tap-focus-ring:after{content:"";background:#ffd600;position:absolute}.tap-focus-ring:before{width:10px;height:2px;top:-6px;left:50%;transform:translate(-50%);box-shadow:0 68px #ffd600}.tap-focus-ring:after{width:2px;height:10px;top:50%;left:-6px;transform:translateY(-50%);box-shadow:68px 0 #ffd600}@keyframes focusPulse{0%{opacity:.9;transform:translate(-50%,-50%)scale(1.4)}45%{opacity:1;transform:translate(-50%,-50%)scale(1)}80%{opacity:.85;transform:translate(-50%,-50%)scale(1)}to{opacity:0;transform:translate(-50%,-50%)scale(.95)}}.camera-hint-pill{-webkit-backdrop-filter:blur(10px);color:#f8fafc;pointer-events:none;z-index:20;white-space:nowrap;text-overflow:ellipsis;background:#0d171fe0;border:1px solid #fff3;border-radius:999px;align-items:center;gap:7px;max-width:88%;padding:6px 14px;font-size:12px;font-weight:600;animation:.35s cubic-bezier(.16,1,.3,1) hintFadeIn;display:flex;position:absolute;top:14px;left:50%;overflow:hidden;transform:translate(-50%);box-shadow:0 4px 18px #0006}.camera-hint-pill.warn{color:#fef08a;background:#1a140aeb;border-color:#fde04773}.camera-hint-pill .hint-icon{font-size:13px;line-height:1}@keyframes hintFadeIn{0%{opacity:0;transform:translate(-50%,-8px)}to{opacity:1;transform:translate(-50%)}}.camera-stage.is-scanning #qr-shaded-region,.camera-stage #qr-reader[data-zooming]>div:not([id]),.camera-stage #qr-reader[data-decoding-paused]>div:not([id]){display:none!important}.camera-stage.is-scanning{overscroll-behavior:none;touch-action:none!important}body:has(.camera-stage.is-camera-open){overscroll-behavior:none;overflow:hidden}.app-shell:has(.camera-stage.is-camera-open){width:100%!important;max-width:none!important;margin:0!important;padding:0!important}.scanner-card-active{-webkit-backdrop-filter:none;border:0!important;padding:0!important;position:static!important}.camera-stage.is-camera-open{z-index:10000;background:#061523;border:0!important;border-radius:0!important;width:100vw!important;max-width:none!important;height:100dvh!important;min-height:100dvh!important;max-height:none!important;margin:0!important;position:fixed!important;inset:0!important}.camera-stage.is-camera-open #qr-reader,.camera-stage.is-camera-open #qr-reader__scan_region{background:#061523!important;width:100%!important;height:100%!important;min-height:100%!important;margin:0!important;position:absolute!important;inset:0!important;overflow:hidden!important}.camera-stage.is-camera-open #qr-reader video,.camera-stage.is-camera-open #qr-reader img{object-fit:cover!important;width:100%!important;max-width:none!important;height:100%!important;max-height:none!important;margin:0!important;display:block!important;position:absolute!important;inset:0!important}.camera-fullscreen-close{top:max(14px, env(safe-area-inset-top));left:max(14px, env(safe-area-inset-left));z-index:30;color:#fff;-webkit-backdrop-filter:none;backdrop-filter:none;cursor:pointer;background:#050d148f;border:1px solid #ffffff52;border-radius:50%;place-items:center;width:44px;height:44px;padding:0 0 4px;font-size:32px;font-weight:300;line-height:1;display:grid;position:absolute;box-shadow:0 4px 18px #00000042}.camera-stage.is-camera-open .camera-viewfinder{width:min(72vw,56dvh,620px);min-width:0}.camera-scanner-ui{z-index:3;pointer-events:none;flex-direction:column;justify-content:flex-start;align-items:center;padding:clamp(54px,8dvh,88px) 22px 28px;display:flex;position:absolute;inset:0;overflow:hidden}.camera-ptit-mark{z-index:1;color:#fff;filter:drop-shadow(0 2px 9px #0000007a);justify-items:center;margin-bottom:calc(clamp(30px,4.5dvh,46px) + 8px);display:grid;position:relative;top:-8px}.camera-ptit-mark img{object-fit:contain;width:53px;height:64px;display:block}.camera-viewfinder{aspect-ratio:1;border-radius:15px;flex:0 auto;width:min(58%,360px);min-width:220px;position:relative;box-shadow:0 0 0 100vmax #050d1470}.viewfinder-corner{filter:drop-shadow(0 1px 1px #00000040);border:0 solid #d51f26;width:58px;height:58px;position:absolute}.corner-top-left{border-top-width:5px;border-left-width:5px;border-top-left-radius:15px;top:0;left:0}.corner-top-right{border-top-width:5px;border-right-width:5px;border-top-right-radius:15px;top:0;right:0}.corner-bottom-left{border-bottom-width:5px;border-left-width:5px;border-bottom-left-radius:15px;bottom:0;left:0}.corner-bottom-right{border-bottom-width:5px;border-right-width:5px;border-bottom-right-radius:15px;bottom:0;right:0}.camera-scan-instruction{z-index:1;color:#fff;text-align:center;text-shadow:0 2px 10px #000000bf;margin:28px 0 0;font-size:clamp(15px,2.3vw,19px);font-weight:650;line-height:1.45;position:relative}.zoom-controls.camera-overlay-zoom{z-index:1;width:min(84%,560px);box-shadow:none;pointer-events:auto;background:0 0;border:0;border-radius:0;margin:18px 0 0;padding:0;position:relative}.zoom-controls.camera-overlay-zoom button{color:#fff;text-shadow:0 2px 8px #000000b8;background:0 0;border:0;border-radius:0;flex:0 0 42px;width:42px;height:42px;font-size:34px;font-weight:300}.zoom-controls.camera-overlay-zoom input{-webkit-appearance:none;appearance:none;cursor:pointer;background:0 0;height:34px;margin:0 4px}.zoom-controls.camera-overlay-zoom input::-webkit-slider-runnable-track{background:#fffffff5;border-radius:999px;height:4px;box-shadow:0 1px 5px #0000006b}.zoom-controls.camera-overlay-zoom input::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background:#fff;border:0;border-radius:50%;width:22px;height:22px;margin-top:-9px;box-shadow:0 2px 8px #00000061}.zoom-controls.camera-overlay-zoom input::-moz-range-track{background:#fffffff5;border:0;border-radius:999px;height:4px}.zoom-controls.camera-overlay-zoom input::-moz-range-thumb{background:#fff;border:0;border-radius:50%;width:22px;height:22px;box-shadow:0 2px 8px #00000061}.camera-stage.is-scanning .camera-tools{top:max(14px, env(safe-area-inset-top));right:max(14px, env(safe-area-inset-right));bottom:auto}.camera-stage.is-camera-open .camera-hint-pill{display:none}.camera-stage.is-camera-open .camera-tools button{-webkit-backdrop-filter:none;backdrop-filter:none;background:#050d14d9;min-height:44px}.camera-viewfinder.has-detected-code .viewfinder-corner{border-color:#63e6b5}.camera-scan-detail{color:#e2e8f0;text-align:center;text-shadow:0 1px 3px #000;max-width:340px;margin:8px 0 0;font-size:13px;line-height:1.5;position:relative}.camera-image-shortcut{z-index:4;bottom:max(20px, env(safe-area-inset-bottom));color:#fff;cursor:pointer;background:#132335;border:1px solid #64748b;border-radius:24px;place-items:center;min-height:44px;padding:0 20px;font-size:14px;display:grid;position:absolute;left:50%;transform:translate(-50%)}.camera-image-shortcut input{opacity:0;cursor:pointer;width:100%;position:absolute;inset:0}.camera-image-shortcut:focus-within{outline-offset:3px;outline:2px solid #63e6b5}.camera-stage button:disabled,.camera-stage input:disabled{opacity:.5;cursor:wait}@media (max-height:700px){.camera-stage.is-camera-open .camera-scanner-ui{padding-top:62px}.camera-stage.is-camera-open .camera-ptit-mark{display:none}.camera-stage.is-camera-open .camera-viewfinder{width:min(75vw,40dvh)}.camera-stage.is-camera-open .camera-scan-instruction{margin-top:18px}.camera-stage.is-camera-open .camera-overlay-zoom{margin-top:8px}}@media (max-width:760px){.scanner-card-active .camera-stage{border-radius:0;min-height:100dvh;max-height:none}.camera-scanner-ui{justify-content:flex-start;padding:clamp(72px,10dvh,96px) 12px 26px}.camera-stage.is-camera-open .camera-viewfinder{width:min(88vw,45dvh,460px);min-width:0}.camera-ptit-mark{margin-bottom:calc(clamp(30px,4.5dvh,42px) + 8px)}.viewfinder-corner{width:48px;height:48px}.camera-scan-instruction{margin-top:clamp(28px,5dvh,46px);font-size:16px}.zoom-controls.camera-overlay-zoom{border-radius:0;width:min(88%,460px);margin-top:clamp(16px,3dvh,28px);padding:0}.zoom-controls.camera-overlay-zoom button{flex-basis:38px;width:38px;height:38px;font-size:31px}}.pwa-header-install-btn{color:#b71c1c;cursor:pointer;white-space:nowrap;background:linear-gradient(135deg,#b71c1c1f,#d32f2f33);border:1px solid #b71c1c59;border-radius:999px;align-items:center;gap:6px;padding:6px 12px;font-size:11px;font-weight:700;transition:all .2s;display:inline-flex}.pwa-header-install-btn:hover{color:#fff;background:#b71c1c;border-color:#b71c1c;box-shadow:0 2px 8px #b71c1c4d}.pwa-install-modal{border-radius:20px;width:92%;max-width:480px;padding:0;overflow:hidden}.pwa-modal-header{background:linear-gradient(#fff,#fafafa);border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:flex-start;padding:18px 20px;display:flex}.pwa-app-badge{align-items:center;gap:12px;display:flex}.pwa-badge-icon{border-radius:10px;flex-shrink:0;width:44px;height:44px;box-shadow:0 4px 10px #00000026}.pwa-app-badge h3{color:var(--ink);margin:0;font-size:15px;font-weight:700;line-height:1.3}.pwa-badge-sub{color:var(--muted);margin:2px 0 0;font-size:12px}.pwa-close-button{width:30px;height:30px;color:var(--muted);cursor:pointer;background:#f1f5f9;border:none;border-radius:50%;justify-content:center;align-items:center;font-size:13px;transition:all .15s;display:flex}.pwa-close-button:hover{color:var(--ink);background:#e2e8f0}.pwa-native-action{padding:16px 20px 0}.pwa-install-now-btn{border-radius:12px;width:100%;padding:12px;font-size:14px;font-weight:700}.pwa-platform-tabs{gap:8px;padding:14px 20px 0;display:flex}.pwa-tab-btn{color:#64748b;cursor:pointer;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;flex:1;padding:8px 10px;font-size:12px;font-weight:600;transition:all .15s}.pwa-tab-btn.active{color:#b71c1c;background:#fff;border-color:#b71c1c;box-shadow:0 2px 6px #b71c1c1a}.pwa-guide-content{padding:16px 20px}.pwa-steps{flex-direction:column;gap:12px;display:flex}.pwa-step-item{background:#f8fafc;border:1px solid #edf2f7;border-radius:12px;align-items:flex-start;gap:12px;padding:12px 14px;display:flex}.step-num{color:#fff;background:#b71c1c;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:24px;height:24px;margin-top:1px;font-size:12px;font-weight:700;display:flex}.step-desc{color:#334155;font-size:13px;line-height:1.5}.step-desc strong{color:var(--ink)}.step-icon{color:#0f172a;background:#e2e8f0;border-radius:5px;margin:0 2px;padding:1px 6px;font-size:12px;font-weight:700;display:inline-block}.pwa-modal-footer{border-top:1px solid #f1f5f9;justify-content:flex-end;padding:12px 20px 18px;display:flex}.force-update-backdrop{z-index:100000;-webkit-backdrop-filter:blur(10px);background:#0f172ad1;justify-content:center;align-items:center;padding:16px;animation:.25s ease-out modalFadeIn;display:flex;position:fixed;inset:0}.force-update-card{text-align:center;background:#fff;border-radius:22px;width:100%;max-width:440px;padding:28px 24px;animation:.3s cubic-bezier(.16,1,.3,1) modalScaleUp;box-shadow:0 25px 50px -12px #0006,0 0 0 1px #ffffff1a}.force-update-icon-wrapper{justify-content:center;align-items:center;width:76px;height:76px;margin:0 auto 16px;display:flex;position:relative}.force-update-icon{z-index:2;font-size:40px;animation:2s ease-in-out infinite bounceRocket;position:relative}@keyframes bounceRocket{0%,to{transform:translateY(0)}50%{transform:translateY(-6px)}}.force-update-pulse{z-index:1;background:#e0f2fe;border-radius:50%;animation:2s infinite pulseGlow;position:absolute;inset:0}@keyframes pulseGlow{0%{opacity:.8;transform:scale(.85)}50%{opacity:.3;transform:scale(1.15)}to{opacity:.8;transform:scale(.85)}}.force-update-tag{color:#2563eb;letter-spacing:.5px;background:#eff6ff;border:1px solid #bfdbfe;border-radius:999px;margin-bottom:8px;padding:3px 10px;font-size:11px;font-weight:700;display:inline-block}.force-update-header h2{color:var(--ink);margin-bottom:8px;font-size:20px;font-weight:800}.force-update-desc{color:#475569;margin-bottom:16px;font-size:13px;line-height:1.5}.force-update-features{text-align:left;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;margin-bottom:16px;padding:12px 14px}.force-update-features-title{text-transform:uppercase;color:#64748b;letter-spacing:.4px;margin-bottom:8px;font-size:11px;font-weight:700}.force-update-list{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.force-update-list li{color:#334155;align-items:flex-start;gap:8px;font-size:12px;line-height:1.4;display:flex}.feature-check{color:#16a34a;font-size:13px;font-weight:800}.force-update-version-diff{color:#64748b;justify-content:center;align-items:center;gap:8px;margin-bottom:18px;font-size:12px;display:flex}.force-update-version-diff code{color:var(--ink);background:#f1f5f9;border-radius:4px;padding:2px 6px;font-size:11px;font-weight:600}.version-arrow{color:#94a3b8}.version-new code{color:#059669;background:#ecfdf5;border:1px solid #a7f3d0}.btn-force-update{color:#fff;cursor:pointer;background:linear-gradient(135deg,#0284c7 0%,#2563eb 100%);border:none;border-radius:12px;justify-content:center;align-items:center;gap:8px;width:100%;padding:13px 18px;font-size:15px;font-weight:700;transition:all .2s;display:inline-flex;box-shadow:0 4px 12px #2563eb4d}.btn-force-update:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 8px 20px #2563eb66}.btn-force-update:disabled{opacity:.7;cursor:not-allowed}.update-spinner{border:2px solid #ffffff4d;border-top-color:#fff;border-radius:50%;width:16px;height:16px;animation:.7s linear infinite spin}.force-update-footer-note{color:#94a3b8;margin-top:10px;font-size:11px}.push-device-status{color:#334155;background:#f8fafc;border:1px solid #cbd5e1;border-radius:14px;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;padding:12px 16px;font-size:13px;display:flex}.push-device-status p{margin:5px 0 0;line-height:1.5}.push-device-actions{flex-wrap:wrap;flex-shrink:0;gap:8px;display:flex}.push-device-actions button{color:#0f172a;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:8px;min-height:44px;padding:10px 12px}.push-device-actions button:disabled{opacity:.55;cursor:wait}@media (max-width:640px){.push-device-status{flex-direction:column;align-items:stretch}}dialog.app-modal{width:100%;max-width:none;height:100%;max-height:none;color:inherit;border:0;margin:0}dialog.app-modal:not([open]){display:none}dialog.app-modal::backdrop{background:0 0}.modal-dismiss-area{cursor:default;background:0 0;border:0;width:100%;height:100%;position:absolute;inset:0}dialog.app-modal>:not(.modal-dismiss-area){position:relative}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
