/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@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}.absolute{position:absolute}.static{position:static}.start{inset-inline-start:var(--spacing)}.block{display:block}.inline{display:inline}.table{display:table}}:root{--ink:#f6f4ff;--muted:#aaa6c7;--faint:#706b92;--bg:#0d0a20;--surface:#17132f;--surface-2:#211c42;--surface-3:#2b2550;--line:#3d3764;--purple:#9d72ff;--cyan:#38d7e8;--green:#52e0a2;--yellow:#fc6;--red:#ff6482;--shadow:0 22px 60px #05031061}*{box-sizing:border-box}html{background:var(--bg);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}body{background:var(--bg);min-height:100vh;color:var(--ink);margin:0;font-family:Pretendard,Noto Sans KR,Apple SD Gothic Neo,Malgun Gothic,system-ui,sans-serif}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin-top:0}h1{letter-spacing:-.045em;line-height:1.08}h2,h3{letter-spacing:-.025em}p{color:var(--muted);line-height:1.7}small{color:var(--muted);margin-top:.22rem;display:block}.brand{letter-spacing:-.04em;align-items:center;gap:.7rem;font-size:1.15rem;font-weight:900;display:inline-flex}.brand-mark{background:var(--red);border-radius:50%;width:1.1rem;height:1.1rem;display:inline-block;box-shadow:.45rem 0 #9d72ff85}.eyebrow{color:var(--purple);letter-spacing:.16em;margin:0 0 .65rem;font-size:.72rem;font-weight:900}.center-stage{background-color:var(--bg);place-items:center;min-height:100vh;padding:2rem;display:grid}.loader{border:3px solid var(--line);border-top-color:var(--purple);border-radius:50%;width:38px;height:38px;margin:1rem auto;animation:.7s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.button{border:1px solid var(--line);background:var(--surface-2);min-height:42px;color:var(--ink);cursor:pointer;border-radius:12px;justify-content:center;align-items:center;gap:.45rem;padding:.68rem 1rem;font-weight:800;transition:transform .14s,border-color .14s,background .14s;display:inline-flex}.button:hover:not(:disabled){border-color:var(--purple);transform:translateY(-1px)}.button:disabled{opacity:.48;cursor:not-allowed}.button.primary{background:var(--purple);border-color:var(--purple);color:#0c071a}.button.secondary{background:0 0;border-color:#60578d}.button.ghost{color:var(--muted);background:0 0;border-color:#0000}.button.positive{color:var(--green);background:#52e0a21c;border-color:#52e0a26b}.button.danger{color:var(--red);background:#ff64821c;border-color:#ff64826b}.button.wide{width:100%}.text-button{color:var(--muted);cursor:pointer;text-underline-offset:3px;background:0 0;border:0;font-size:.82rem;text-decoration:underline}.icon-button{color:var(--muted);cursor:pointer;background:0 0;border:0;font-size:1.6rem}.danger-text{color:var(--red)!important}label{color:#d9d5ec;gap:.45rem;font-size:.82rem;font-weight:800;display:grid}input,select,textarea{border:1px solid var(--line);width:100%;min-height:44px;color:var(--ink);background:#100d25;border-radius:11px;outline:none;padding:.72rem .82rem}input:focus,select:focus,textarea:focus{border-color:var(--cyan);box-shadow:0 0 0 3px #38d7e81a}textarea{resize:vertical;min-height:90px}input::placeholder{color:#655f82}.field-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem;display:grid}.field-row.three{grid-template-columns:repeat(3,minmax(0,1fr))}.form-stack{gap:1rem;display:grid}.form-stack h1,.form-stack h2{margin-bottom:.45rem}.form-stack p{margin-bottom:0}.check{grid-template-columns:18px 1fr;align-items:start;font-weight:600;line-height:1.5}.check input{width:17px;height:17px;min-height:0;accent-color:var(--purple);margin-top:.14rem}.auth-shell{grid-template-columns:minmax(360px,.9fr) minmax(520px,1.1fr);min-height:100vh;display:grid}.auth-intro{border-right:1px solid var(--line);background:#110e27;flex-direction:column;justify-content:space-between;padding:4.2rem clamp(2.5rem,6vw,7rem);display:flex;position:relative;overflow:hidden}.auth-intro:after{content:"";pointer-events:none;border:1px solid #9d72ff59;border-radius:50%;width:30rem;height:30rem;position:absolute;bottom:-13rem;right:-13rem;box-shadow:0 0 0 4rem #9d72ff09,0 0 0 8rem #38d7e806}.auth-intro h1{max-width:650px;margin:1rem 0 1.35rem;font-size:clamp(2.7rem,5vw,4.8rem)}.auth-intro p{max-width:540px}.auth-intro footer{color:var(--faint);font-size:.78rem}.auth-card{border:1px solid var(--line);width:min(590px,100% - 3rem);box-shadow:var(--shadow);background:#17132ff5;border-radius:24px;place-self:center;margin:2rem;padding:clamp(1.6rem,4vw,3rem)}.signup-form{max-height:calc(100vh - 10rem);padding-right:.3rem;overflow-y:auto}.segmented{border:1px solid var(--line);background:#0e0b22;border-radius:13px;grid-template-columns:1fr 1fr;gap:4px;margin-bottom:2rem;padding:4px;display:grid}.segmented button{min-height:40px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:9px;font-weight:800}.segmented button.active{background:var(--surface-3);color:var(--ink)}.sub-panel,.policy-box{border:1px solid var(--line);background:#100d25;border-radius:12px;padding:1rem}.sub-panel{gap:.8rem;display:grid}.sub-panel>p{color:var(--yellow);font-size:.8rem;font-weight:800}.policy-box{max-height:180px;overflow:auto}.policy-box strong{font-size:.84rem}.policy-box p{margin:.65rem 0 0;font-size:.74rem;line-height:1.7}.notice,.toast{border:1px solid var(--line);border-radius:12px;padding:.8rem 1rem;font-size:.82rem;line-height:1.55}.notice.positive,.toast.positive{color:var(--green);background:#52e0a217;border-color:#52e0a259}.notice.warning,.toast.warning{color:var(--yellow);background:#ffcc6614;border-color:#ffcc6659}.notice.danger,.toast.danger{color:#ff9db0;background:#ff648217;border-color:#ff648261}.notice.neutral{color:#cbc0ef;background:#9d72ff12;border-color:#9d72ff47}.portal-shell{width:min(1280px,100% - 3rem);margin:auto;padding:1.6rem 0 4rem}.topbar{justify-content:space-between;align-items:center;gap:1rem;min-height:68px;display:flex}.top-actions,.toolbar,.row-actions,.card-actions,.dialog-actions{flex-wrap:wrap;align-items:center;gap:.6rem;display:flex}.hero h1{margin-bottom:.8rem;font-size:clamp(2.2rem,5vw,4.2rem)}.hero>p:not(.eyebrow){margin-bottom:0}.hero .notice{max-width:760px;margin-top:1.3rem}.stat-grid{grid-template-columns:repeat(4,1fr);gap:.9rem;margin:1rem 0 1.2rem;display:grid}.stat-card{border:1px solid var(--line);background:var(--surface);border-radius:17px;flex-direction:column;min-height:144px;padding:1.25rem;display:flex}.stat-card.accent{background:#21183e;border-color:#9d72ffbf}.stat-card>span{color:var(--muted);font-size:.78rem;font-weight:800}.stat-card strong{letter-spacing:-.06em;margin-top:auto;font-size:2.25rem}.stat-card small{font-size:.72rem}.panel{border:1px solid var(--line);background:var(--surface);border-radius:20px;margin-top:1rem;padding:clamp(1.1rem,2.4vw,2rem);box-shadow:0 10px 30px #0503101f}.section-heading{justify-content:space-between;align-items:flex-start;gap:1.2rem;margin-bottom:1.3rem;display:flex}.section-heading h2{margin:0;font-size:1.35rem}.section-heading p:not(.eyebrow){margin:.35rem 0 0;font-size:.82rem}.table-wrap{border:1px solid #312b55;border-radius:13px;overflow-x:auto}table{border-collapse:collapse;width:100%;min-width:700px}th,td{text-align:left;vertical-align:middle;border-bottom:1px solid #302a50;padding:.88rem .95rem;font-size:.82rem}th{color:#8f89ac;letter-spacing:.04em;background:#13102a;font-size:.68rem}tbody tr:last-child td{border-bottom:0}td strong{display:block}.empty{color:var(--muted);text-align:center;padding:2rem!important}.empty.large{border:1px dashed var(--line);border-radius:14px;grid-column:1/-1;place-items:center;min-height:220px;display:grid}.mono{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.72rem}.badge{white-space:nowrap;border:1px solid #0000;border-radius:999px;align-items:center;min-height:24px;padding:.22rem .58rem;font-size:.68rem;font-weight:900;display:inline-flex}.badge.positive{color:var(--green);background:#52e0a217;border-color:#52e0a240}.badge.warning{color:var(--yellow);background:#ffcc6617;border-color:#ffcc6640}.badge.danger{color:var(--red);background:#ff648217;border-color:#ff648240}.badge.neutral{color:#bbb5d9;background:#bbb5d912;border-color:#bbb5d933}.dialog{border:1px solid var(--line);background:var(--surface);width:min(480px,100% - 2rem);color:var(--ink);box-shadow:var(--shadow);border-radius:18px;padding:1.6rem}.dialog:popover-open{margin:auto;inset:0}.dialog::backdrop{background:#05030fc7}.dialog.static{z-index:20;max-height:calc(100vh - 2rem);position:fixed;inset:50% auto auto 50%;overflow-y:auto;transform:translate(-50%,-50%)}.dialog.static:after{content:"";z-index:-1;background:#05030fbd;position:fixed;inset:-100vh}.dialog-actions{justify-content:flex-end;margin-top:1.2rem}.admin-shell{grid-template-columns:240px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{border-right:1px solid var(--line);background:#100d25;flex-direction:column;height:100vh;padding:1.7rem 1.1rem;display:flex;position:sticky;top:0}.sidebar-label{letter-spacing:.16em;color:var(--faint);margin:2.3rem .65rem .7rem;font-size:.63rem;font-weight:900}.sidebar nav{gap:.25rem;display:grid}.sidebar nav button{min-height:43px;color:var(--muted);text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:10px;justify-content:space-between;align-items:center;padding:.65rem .75rem;font-weight:800;display:flex}.sidebar nav button.active{color:var(--ink);background:var(--surface-2);border-color:#51497f}.sidebar nav button span{background:var(--red);color:#fff;border-radius:999px;place-items:center;min-width:21px;height:21px;font-size:.64rem;display:grid}.sidebar-user{border-top:1px solid var(--line);margin-top:auto;padding:.85rem;display:grid}.sidebar-user small{margin:.2rem 0 .8rem}.sidebar-user a{color:var(--purple);font-size:.76rem}.admin-main{width:min(1500px,100%);min-width:0;padding:1.7rem clamp(1rem,3vw,3rem) 4rem}.admin-header{justify-content:space-between;align-items:center;min-height:86px;margin-bottom:.6rem;display:flex}.admin-header h1{margin:0;font-size:clamp(1.8rem,4vw,3rem)}.sync-dot{color:var(--green);font-size:.75rem;font-weight:800}.sync-dot:before{content:"";background:var(--green);border-radius:50%;width:7px;height:7px;margin-right:.45rem;display:inline-block;box-shadow:0 0 0 4px #52e0a214}.toast{z-index:40;width:min(420px,100% - 2rem);box-shadow:var(--shadow);background:var(--surface);position:fixed;top:1.3rem;right:1.3rem}.toast button{float:right;color:currentColor;cursor:pointer;background:0 0;border:0;font-size:1.1rem}.admin-stats{margin-top:0}.screening-strip{background:#120f29;border:1px solid #3e3768;border-radius:12px;flex-wrap:wrap;align-items:center;gap:1rem;margin:.4rem 0 1rem;padding:.9rem 1rem;display:flex}.screening-strip strong{font-size:1rem}.screening-strip span:not(.badge){color:var(--muted);font-size:.8rem}.qr-link{align-items:center;gap:.6rem;margin:0 0 1rem;display:flex}.qr-link>span{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.status-buttons{gap:.3rem;display:flex}.status-buttons button,.row-actions button{border:1px solid var(--line);color:var(--muted);cursor:pointer;white-space:nowrap;background:0 0;border-radius:8px;padding:.36rem .55rem;font-size:.7rem}.status-buttons button.active{color:var(--cyan);border-color:var(--cyan);background:#38d7e814}.row-actions button{border:0;padding:.3rem}.card-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:.8rem;display:grid}.record-card{border:1px solid var(--line);background:#120f29;border-radius:14px;flex-direction:column;justify-content:space-between;min-height:210px;padding:1.2rem;display:flex}.record-card h3{margin:.9rem 0 .55rem;font-size:1.2rem}.record-card p{margin:0;font-size:.8rem}.group-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:.8rem;display:grid}.group-card{border:1px solid var(--line);background:#120f29;border-radius:16px;min-height:220px;padding:1.25rem;position:relative;overflow:hidden}.group-number{color:#9d72ff17;font-size:6rem;font-weight:900;line-height:1;position:absolute;top:-.5rem;right:.7rem}.group-card h3{margin:0 0 1rem;position:relative}.group-card ul{gap:.55rem;margin:0;padding:0;list-style:none;display:grid;position:relative}.group-card li{border-bottom:1px solid #2e294c;justify-content:space-between;align-items:center;padding-bottom:.55rem;font-size:.82rem;display:flex}.vertical-chart{align-items:end;gap:.8rem;min-height:360px;padding:1rem .6rem 0;display:grid;overflow-x:auto}.chart-column{text-align:center;grid-template-rows:28px 1fr 45px;align-items:end;min-width:70px;height:310px;display:grid}.chart-column strong{color:var(--cyan);font-size:.85rem}.bar-track{background:#100d25;border:1px solid #36305b;border-radius:9px 9px 4px 4px;align-items:flex-end;width:min(52px,65%);height:100%;margin:.4rem auto .7rem;padding:4px;display:flex}.bar-fill{background:var(--purple);border-radius:5px 5px 2px 2px;width:100%;box-shadow:inset 0 -18px #38d7e82e}.chart-column>span{text-overflow:ellipsis;white-space:nowrap;color:var(--muted);align-self:start;font-size:.72rem;display:block;overflow:hidden}.settings-panel form{max-width:760px}.attendance-bg{background-color:#0b081d}.success-state{text-align:center;padding:1rem 0}.success-check{width:72px;height:72px;color:var(--green);background:#52e0a21f;border:1px solid #52e0a273;border-radius:50%;place-items:center;margin:0 auto 1.4rem;font-size:2rem;display:grid}@media (max-width:1040px){.auth-shell{grid-template-columns:1fr}.auth-intro{border-right:0;border-bottom:1px solid var(--line);min-height:410px;padding:2.4rem}.auth-intro h1{font-size:clamp(2.4rem,8vw,4.2rem)}.auth-intro footer{display:none}.stat-grid{grid-template-columns:repeat(2,1fr)}.admin-shell{grid-template-columns:82px minmax(0,1fr)}.sidebar{align-items:center;padding-inline:.65rem}.sidebar .brand,.sidebar-label,.sidebar nav button{font-size:0}.sidebar nav button{justify-content:center;width:48px}.sidebar nav button:before{content:"•";font-size:1.2rem}.sidebar nav button span{margin:-27px 0 0 30px;font-size:.62rem;position:absolute}.sidebar-user{display:none}}@media (max-width:720px){.auth-card{border-radius:18px;width:min(100% - 1rem,590px);margin:.5rem;padding:1.3rem}.signup-form{max-height:none}.field-row,.field-row.three{grid-template-columns:1fr}.portal-shell{width:min(100% - 1.2rem,1280px)}.topbar{align-items:flex-start}.hero{padding-top:2rem}.stat-grid{gap:.55rem}.stat-card{min-height:120px;padding:1rem}.stat-card strong{font-size:1.8rem}.panel{border-radius:15px;padding:1rem}.section-heading,.admin-header{flex-direction:column;align-items:stretch}.admin-shell{padding-bottom:76px;display:block}.sidebar{z-index:30;border-right:0;border-top:1px solid var(--line);width:100%;height:68px;padding:.45rem;display:block;position:fixed;top:auto;bottom:0;overflow-x:auto}.sidebar>.brand,.sidebar-label,.sidebar-user{display:none}.sidebar nav{gap:.25rem;min-width:max-content;display:flex}.sidebar nav button{flex-direction:column;gap:0;width:auto;min-width:78px;height:52px;font-size:.68rem}.sidebar nav button:before{content:none}.sidebar nav button span{min-width:18px;height:18px;margin:0;position:static}.admin-main{padding:1rem .65rem 2rem}.admin-header{gap:.6rem}.admin-header .top-actions{justify-content:space-between}.toolbar{width:100%}.toolbar select{flex:100%}.qr-link{flex-direction:column;align-items:stretch}.dialog.static{width:calc(100% - 1rem)}}:root{--ink:#f8f7ff;--muted:#aaa8bd;--faint:#77738f;--bg:#0d0a1d;--surface:#18142d;--surface-2:#24203c;--surface-3:#302a4d;--line:#dbd4ff1c;--purple:#9c73ff;--purple-strong:#8b5ff5;--cyan:#43d5e6;--green:#54dfa2;--yellow:#ffca67;--red:#ff6885;--shadow:0 22px 56px #02010a4d, 0 2px 10px #02010a2e;--shadow-soft:0 10px 30px #02010a2b;--radius-control:15px;--radius-card:24px}html{scroll-behavior:smooth}body{background:var(--bg);font-feature-settings:"tnum" 1, "ss01" 1;letter-spacing:-.012em}::selection{color:#fff;background:#9c73ff57}.brand{gap:.75rem;font-size:1.2rem}.brand.large{font-size:1.65rem}.brand-mark{background:linear-gradient(145deg,#ff718e 12%,#e93c67 88%);width:1.18rem;height:1.18rem;box-shadow:.42rem .14rem #9c73ff8c}.brand.large .brand-mark{width:1.45rem;height:1.45rem}.eyebrow{color:#b99cff;letter-spacing:.13em;margin-bottom:.7rem;font-size:.7rem}.button{border-radius:var(--radius-control);background:var(--surface-2);min-height:48px;color:var(--ink);box-shadow:inset 0 0 0 1px var(--line);border:0;padding:.78rem 1.15rem;font-weight:850;transition:transform .13s,background-color .16s,box-shadow .16s,opacity .16s}.button:hover:not(:disabled){background:var(--surface-3);border-color:#0000;transform:translateY(-1px);box-shadow:inset 0 0 0 1px #dbd4ff29,0 8px 20px #03020e2e}.button:active:not(:disabled){transform:scale(.975)}.button:focus-visible{outline-offset:2px;outline:3px solid #43d5e647}.text-button:focus-visible{outline-offset:2px;outline:3px solid #43d5e647}.icon-button:focus-visible{outline-offset:2px;outline:3px solid #43d5e647}.sidebar nav button:focus-visible{outline-offset:2px;outline:3px solid #43d5e647}.segmented button:focus-visible{outline-offset:2px;outline:3px solid #43d5e647}.status-buttons button:focus-visible{outline-offset:2px;outline:3px solid #43d5e647}.row-actions button:focus-visible{outline-offset:2px;outline:3px solid #43d5e647}.button.primary{background:var(--purple-strong);color:#fff;box-shadow:0 9px 22px #8b5ff53d}.button.primary:hover:not(:disabled){background:#9a70ff;box-shadow:0 11px 28px #8b5ff552}.button.secondary{background:var(--surface-2);box-shadow:none}.button.ghost{box-shadow:none;color:var(--muted);background:0 0}.button.ghost:hover:not(:disabled){box-shadow:none;color:var(--ink);background:#ffffff0e}.button.positive{color:#75eab7;box-shadow:none;background:#54dfa224}.button.danger{color:#ff8aa1;box-shadow:none;background:#ff688524}.text-button{border-radius:11px;padding:.55rem;font-weight:700;text-decoration:none}.text-button:hover{color:#d4c6ff;background:#9c73ff12}.icon-button{background:var(--surface-2);width:42px;height:42px;color:var(--muted);border-radius:13px;line-height:1}label{color:#d8d5e7;gap:.55rem;font-size:.8rem}input,select,textarea{border-radius:var(--radius-control);background:var(--surface-2);min-height:52px;box-shadow:none;border:1px solid #0000;padding:.82rem .95rem;transition:background-color .16s,border-color .16s,box-shadow .16s}input:hover,select:hover,textarea:hover{background:#2a2545}input:focus,select:focus,textarea:focus{border-color:var(--purple);background:#211d39;box-shadow:0 0 0 4px #9c73ff21}input::placeholder,textarea::placeholder{color:#7e7994}textarea{min-height:108px}.check{padding:.25rem .1rem}.check input{border-radius:6px;width:19px;height:19px}.loader{border-width:4px;border-color:#9c73ff29;border-top-color:var(--purple);width:42px;height:42px}.center-stage,.auth-shell{background:var(--bg)}.auth-intro{background:#121025;border-right:0;padding:4.4rem clamp(2.5rem,6vw,7rem)}.auth-intro:after{width:31rem;height:31rem;box-shadow:none;background:radial-gradient(circle,#9c73ff30 0,#43d5e60e 39%,#0000 70%);border:0;bottom:-14rem;right:-12rem}.auth-intro h1{font-size:clamp(2.7rem,5vw,4.65rem)}.auth-card{background:var(--surface);box-shadow:var(--shadow);border:0;border-radius:30px;padding:clamp(1.7rem,4vw,3rem)}.auth-card.narrow{max-width:510px}.segmented{background:#100d23;border:0;border-radius:17px;gap:5px;padding:5px}.segmented button{border-radius:13px;min-height:44px;transition:background-color .15s,color .15s,transform .13s}.segmented button:active{transform:scale(.98)}.segmented button.active{background:var(--surface-3);box-shadow:0 5px 15px #02010a33}.sub-panel,.policy-box{background:#211d39;border:0;border-radius:18px;padding:1.15rem}.policy-box{max-height:190px}.notice,.toast{border:0;border-radius:16px;padding:.9rem 1rem;font-weight:650}.notice.positive,.toast.positive{color:#79ebb9;background:#54dfa21f}.notice.warning,.toast.warning{color:#ffd98e;background:#ffca671f}.notice.danger,.toast.danger{color:#ff9db0;background:#ff688521}.notice.neutral{color:#d1c1fb;background:#9c73ff1c}.portal-shell{width:min(1280px,100% - 3rem);padding-top:1rem}.topbar{border-bottom:1px solid #dbd4ff13;min-height:76px;padding:.45rem 0}.hero{padding:5.2rem 0 2.5rem}.hero.compact{padding-top:3.8rem}.hero h1{font-size:clamp(2.3rem,5vw,4rem)}.stat-grid{gap:.8rem}.stat-card{background:var(--surface);min-height:154px;box-shadow:var(--shadow-soft);border:0;border-radius:22px;padding:1.35rem;transition:transform .16s,background-color .16s}.stat-card:hover{background:#1d1835;transform:translateY(-2px)}.stat-card.accent{background:linear-gradient(145deg,#342358 0%,#282044 100%);border:0;box-shadow:0 15px 36px #35225d3d}.stat-card>span{font-size:.8rem}.stat-card strong{font-size:2.35rem}.panel{border-radius:var(--radius-card);background:var(--surface);box-shadow:var(--shadow-soft);border:0;margin-top:1rem;padding:clamp(1.2rem,2.4vw,2rem)}.section-heading{margin-bottom:1.45rem}.section-heading h2{font-size:1.42rem}.table-wrap{background:#141127;border:0;border-radius:18px}th,td{border-bottom:1px solid #dbd4ff13;padding:1rem 1.05rem}th{color:#8f8aa4;background:#141127;font-weight:800}tbody tr{transition:background-color .13s}tbody tr:hover{background:#9c73ff0f}.empty.large{background:#141127;border:0;border-radius:20px}.badge{border:0;min-height:26px;padding:.26rem .65rem;font-size:.69rem}.badge.positive{color:#75eab7;background:#54dfa221}.badge.warning{color:#ffd88c;background:#ffca6721}.badge.danger{color:#ff91a7;background:#ff688521}.badge.neutral{color:#c8c3db;background:#c8c3db1a}.dialog{background:var(--surface);border:0;border-radius:26px;padding:1.75rem}.dialog.static:after{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#05030fbd}.dialog::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#05030fbd}.admin-shell{background:var(--bg);grid-template-columns:260px minmax(0,1fr)}.sidebar{background:#100d21;border-right:1px solid #dbd4ff13;padding:1.8rem 1.15rem}.sidebar-label{margin:2.4rem .75rem .8rem}.sidebar nav{gap:.38rem}.sidebar nav button{border:0;border-radius:15px;min-height:50px;padding:.72rem .85rem;transition:background-color .15s,color .15s,transform .13s}.sidebar nav button:hover{color:var(--ink);background:#ffffff0b}.sidebar nav button:active{transform:scale(.975)}.sidebar nav button.active{color:#fff;box-shadow:inset 3px 0 0 var(--purple);background:#2b2446;border:0}.sidebar nav button span{background:var(--red);border:0}.sidebar-user{border-top:1px solid #dbd4ff14;padding:1rem .8rem .3rem}.admin-main{padding:1.6rem clamp(1rem,3vw,3rem) 4rem}.admin-header{min-height:96px}.sync-dot{background:#54dfa214;border-radius:999px;padding:.55rem .75rem}.toast{background:var(--surface-2);box-shadow:var(--shadow);padding:1rem 1.1rem;top:1.5rem;right:1.5rem}.screening-strip{background:var(--surface-2);border:0;border-radius:17px;padding:1rem 1.1rem}.status-buttons{gap:.35rem}.status-buttons button,.row-actions button{background:var(--surface-2);border:0;border-radius:11px;padding:.48rem .65rem;transition:transform .12s,background-color .14s,color .14s}.status-buttons button:hover,.row-actions button:hover{color:var(--ink);background:var(--surface-3)}.status-buttons button:active,.row-actions button:active{transform:scale(.96)}.status-buttons button.active{color:#93edf5;background:#43d5e624;border:0}.row-actions button{background:0 0}.card-grid,.group-grid{gap:.85rem}.record-card,.group-card{background:#141127;border:0;border-radius:21px;transition:transform .16s,background-color .16s;box-shadow:inset 0 0 0 1px #dbd4ff0e}.record-card:hover,.group-card:hover{background:#1b1731;transform:translateY(-2px)}.group-number{color:#9c73ff1a}.group-card li{border-bottom-color:#dbd4ff13}.bar-track{background:#100d23;border:0;border-radius:13px 13px 6px 6px;padding:5px}.bar-fill{background:linear-gradient(180deg, var(--cyan), var(--purple));box-shadow:none;border-radius:9px 9px 3px 3px}.success-check{background:#54dfa224;border:0;width:78px;height:78px;box-shadow:0 12px 28px #54dfa21a}.filter-bar,.bulk-bar,.pair-builder,.constraint-list{background:#141127;border-radius:16px;flex-wrap:wrap;align-items:center;gap:.65rem;margin:0 0 1rem;padding:.75rem;display:flex}.filter-bar input{flex:260px}.filter-bar.multi select{flex:0 190px}.filter-bar .check.inline{align-items:center;min-height:44px;padding:0 .6rem;display:flex}.bulk-bar{z-index:5;color:var(--ink);box-shadow:var(--shadow-soft);background:#2a2446;position:sticky;top:.5rem}.bulk-bar select{width:auto;min-width:160px}.bulk-bar button,.pair-builder button,.constraint-list button,.chip-list button{background:var(--surface-3);min-height:42px;color:var(--ink);cursor:pointer;border:0;border-radius:12px;padding:.62rem .8rem}.link-button{color:inherit;cursor:pointer;text-align:left;background:0 0;border:0;padding:0}.dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.screening-summary{gap:.35rem;display:grid}.screening-summary h3{margin:0;font-size:1.4rem}.screening-summary p{margin:0}.screening-summary>strong{letter-spacing:-.06em;color:var(--cyan);font-size:3.4rem}.compact-list{gap:.35rem;display:grid}.compact-list>button,.compact-list>div{width:100%;min-height:55px;color:inherit;text-align:left;cursor:pointer;background:#141127;border:0;border-radius:13px;justify-content:space-between;align-items:center;gap:1rem;padding:.7rem .85rem;display:flex}.compact-list>button:hover{background:var(--surface-3)}.compact-list b{color:var(--cyan);font-size:1.05rem}.group-options{grid-template-columns:repeat(4,minmax(130px,1fr));gap:.75rem;margin-bottom:1rem;display:grid}.pair-builder select{flex:190px;width:auto}.constraint-list{padding:.55rem}.constraint-list button{min-height:35px;padding:.45rem .65rem}.chip-list{flex-wrap:wrap;gap:.5rem;display:flex}.chip-list button{min-width:95px}.detail-grid{grid-template-columns:130px minmax(0,1fr);gap:.65rem 1rem;display:grid}.detail-grid dt{color:var(--muted);font-weight:800}.detail-grid dd{word-break:break-word;margin:0}.modal-layer{z-index:100;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#05030fc7;place-items:center;padding:1rem;display:grid;position:fixed;inset:0}.modal-card{width:min(820px,100%);max-height:calc(100vh - 2rem);box-shadow:var(--shadow);overflow:auto}.modal-card pre{color:#dcd7f4;white-space:pre-wrap;word-break:break-word;background:#0d0a20;border-radius:14px;max-height:240px;padding:1rem;overflow:auto}.stat-grid.mini .stat-card{min-height:110px}.qr-link>span{flex:1;min-width:0}.qr-link small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.qr-countdown{color:#baf7fb;background:#38d7e81a;border-radius:16px;justify-content:space-between;align-items:center;padding:1rem;display:flex}.qr-countdown strong{font-variant-numeric:tabular-nums;font-size:1.55rem}.qr-countdown.urgent{color:#ffd58a;background:#ffcc661c}.notice>small{color:inherit}.remote-actions{flex-wrap:wrap;gap:.55rem;margin-bottom:1rem;display:flex}.remote-actions .button{flex:150px}.fit-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;font-size:clamp(1.25rem,2vw,2.15rem)!important}@media (max-width:1040px){.auth-intro{border-bottom:0}.admin-shell{grid-template-columns:88px minmax(0,1fr)}.sidebar nav button{border-radius:16px;width:52px;height:52px}.sidebar nav button.active{box-shadow:inset 0 -3px 0 var(--purple)}}@media (max-width:720px){:root{--radius-card:20px}body{font-size:16px}input,select,textarea{min-height:52px;font-size:16px}.button{min-height:50px;font-size:.94rem}label{font-size:.9rem}th,td{padding:.9rem .8rem;font-size:.88rem}.auth-shell{background:#121025}.auth-intro{min-height:330px;padding:2rem 1.35rem 1.5rem}.auth-intro h1{font-size:clamp(2.2rem,10vw,3.45rem)}.auth-intro p{max-width:30rem}.auth-card{width:100%;box-shadow:none;border-radius:28px 28px 0 0;margin:0;padding:1.5rem 1rem 2rem}.center-stage .auth-card{width:min(100% - 1rem,510px);box-shadow:var(--shadow);border-radius:26px;margin:.5rem}.portal-shell{width:min(100% - 1.15rem,1280px)}.topbar{min-height:68px}.topbar .button{min-height:42px;padding:.6rem .75rem}.hero.compact{padding-top:2.5rem}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-card{border-radius:18px;min-height:125px}.panel{border-radius:20px;padding:1rem}.table-wrap{border-radius:15px}.admin-shell{padding-bottom:82px}.sidebar{height:76px;padding:.45rem .55rem calc(.45rem + env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#100d21f0;border-top:1px solid #dbd4ff1a}.sidebar nav{gap:.3rem}.sidebar nav button{color:#8f8ba3;border-radius:15px;width:auto;min-width:78px;height:57px}.sidebar nav button.active{box-shadow:none;color:#fff;background:#2a2443}.admin-main{padding:.8rem .58rem 2rem}.admin-header{min-height:auto;padding:.85rem .4rem .5rem}.admin-header h1{font-size:2rem}.admin-header .top-actions{gap:.35rem}.sync-dot{padding:.48rem .65rem}.toolbar .button{flex:auto}.dashboard-grid{grid-template-columns:1fr}.group-options{grid-template-columns:repeat(2,minmax(0,1fr))}.filter-bar,.pair-builder{align-items:stretch}.filter-bar>*,.pair-builder>*{flex:100%!important;width:100%!important}.bulk-bar{flex-wrap:nowrap;overflow-x:auto}.bulk-bar>*{flex:none}.detail-grid{grid-template-columns:105px minmax(0,1fr)}.modal-layer{align-items:end;padding:0}.modal-card{border-radius:26px 26px 0 0;width:100%;max-height:92vh}.qr-countdown{min-height:66px}.qr-countdown strong{font-size:1.75rem}.dialog.static{border-radius:24px}.toast{width:calc(100% - 1.2rem);top:.8rem;right:.6rem}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
