@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, 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;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::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,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, 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:where(:not(iframe)){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]){appearance:button}::file-selector-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}.block{display:block}.inline{display:inline}.grow{flex-grow:1}}:root{--bg:#f2f2f7;--surface:#fff;--text:#1c1c1e;--muted:#5f6673;--blue:#0064d9;--blue-soft:#eaf2ff;--line:#e4e7ed;--green:#087a4b;--radius:20px;color:var(--text);background:var(--bg);font-synthesis:none;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif}*{box-sizing:border-box}body{margin:0;font-size:15px;line-height:1.55}button,input,select,textarea{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}h1{letter-spacing:-.8px;font-size:32px;font-weight:680;line-height:1.25}h2{letter-spacing:-.35px;font-size:22px;font-weight:650;line-height:1.35}h3{font-size:17px;font-weight:620}small{font-size:13px}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline-offset:3px;outline:3px solid #3386e4}.button{white-space:nowrap;border:1px solid #0000;border-radius:12px;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:10px 18px;font-size:14px;font-weight:590;line-height:1.3;transition:background .15s,transform .15s;display:inline-flex}.button:hover{filter:brightness(.98)}.button:active:not(:disabled){transform:scale(.985)}.button-primary{background:var(--blue);color:#fff}.button-secondary{color:var(--blue);background:#fff;border-color:#d6e1f1}.button-ghost{color:var(--muted);background:0 0}.button-danger{color:#b42318;background:#fff1f0;border-color:#f6d9d5}.button-small{border-radius:9px;min-height:36px;padding:7px 12px;font-size:13px}.button-icon{flex-shrink:0;width:44px;height:44px;padding:0}.button svg{flex-shrink:0}.input{width:100%;min-height:46px;color:var(--text);background:#fff;border:1px solid #cdd3de;border-radius:11px;padding:10px 13px;font-size:15px;line-height:1.4}.input::placeholder{color:#9399a4}.input:focus{border-color:var(--blue);outline-color:#c4dcff}.textarea{resize:vertical;min-height:100px}.select{padding-right:30px}.field{flex-direction:column;gap:8px;font-size:14px;font-weight:560;display:flex}.field small{color:var(--muted);font-weight:400}.muted{color:var(--muted)}.caption{color:var(--muted);font-size:13px}.stack{flex-direction:column;gap:20px;display:flex}.row{align-items:center;gap:12px;display:flex}.spread{justify-content:space-between}.wrap{flex-wrap:wrap}.gap-small{gap:8px}.grid-2{grid-template-columns:1fr 1fr;gap:20px;display:grid}.grow{flex:1;min-width:0}.section{border-radius:var(--radius);background:#fff;border:1px solid #d7dde780;padding:28px}.section-header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px;display:flex}.section-header p{color:var(--muted);margin-top:5px;font-size:14px}.page{max-width:1260px;margin:0 auto;padding:44px 40px 60px}.page-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:30px;display:flex}.page-heading p{color:var(--muted);margin-top:8px;font-size:15px}.page-heading h1{font-size:32px}.notice{border-radius:12px;align-items:flex-start;gap:9px;padding:13px 16px;font-size:14px;display:flex}.notice svg{flex-shrink:0;margin-top:1px}.notice-error{color:#a92820;background:#fff0ee}.notice-info{color:#235f9c;background:#eaf2ff}.notice-success{color:#087a4b;background:#e8f7ee}.loading{color:var(--muted);justify-content:center;align-items:center;gap:12px;padding:80px;display:flex}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.empty{text-align:center;color:#7b8593;padding:60px 20px}.empty svg{color:#8099bd;margin:0 auto 16px}.empty h3{color:var(--text);margin-bottom:8px}.empty p{max-width:400px;margin:0 auto;font-size:14px}.status{white-space:nowrap;border-radius:20px;align-items:center;gap:6px;padding:5px 11px;font-size:13px;font-weight:500;display:inline-flex}.status i{background:currentColor;border-radius:50%;width:6px;height:6px}.status-green{color:#087a4b;background:#e4f6ef}.status-neutral{color:#566078;background:#f0f2f7}.status-amber{color:#805214;background:#fff2d8}.sidebar{z-index:20;background:#fbfcff;border-right:1px solid #e4e8f0;flex-direction:column;width:228px;padding:32px 20px 22px;display:flex;position:fixed;inset:0 auto 0 0}.brand{letter-spacing:-.5px;align-items:center;gap:10px;margin:5px 12px 35px;font-size:21px;font-weight:720;display:flex}.brand-icon{background:var(--blue);color:#fff;border-radius:10px;place-items:center;width:32px;height:32px;display:grid}.nav{flex-direction:column;gap:8px;display:flex}.nav a{color:#535d6e;border-radius:14px;align-items:center;gap:13px;min-height:52px;padding:13px 16px;font-size:15px;display:flex}.nav a:hover{background:#f0f3f9}.nav a.active{color:var(--blue);background:#e8f0ff;font-weight:600}.nav a svg{stroke-width:1.65px}.sidebar-bottom{border-top:1px solid var(--line);margin-top:auto;padding-top:20px}.account{align-items:center;gap:10px;padding:8px 9px;display:flex}.account-avatar{color:#3166a8;background:#eaf0fb;border-radius:50%;place-items:center;width:36px;height:36px;display:grid}.account-name{font-size:14px;font-weight:600}.account-role{color:var(--muted);font-size:12px}.admin-main{min-height:100vh;margin-left:228px}.toolbar{align-items:center;gap:18px;margin-bottom:22px;display:flex}.segments{background:#e8ebf2;border:1px solid #e0e5ee;border-radius:12px;flex:1;align-items:center;padding:4px;display:flex}.segments button{color:#535d70;border:1px solid #0000;border-radius:9px;flex:1;min-height:38px;padding:8px 14px;font-size:14px}.segments button[aria-selected=true]{color:var(--blue);background:#fff;border-color:#e1e8f5;box-shadow:0 1px 4px #213a5810}.search{width:240px;position:relative}.search svg{color:#8a93a1;position:absolute;top:14px;left:12px}.search input{background:#fff;padding-left:38px}.table-wrap{background:#fff;border:1px solid #e1e5ed;border-radius:20px;overflow:auto}.data-table{border-collapse:collapse;text-align:left;width:100%;font-size:14px}.data-table th{color:#657086;border-bottom:1px solid var(--line);white-space:nowrap;background:#f9faff;padding:17px 24px;font-size:13px;font-weight:500}.data-table td{vertical-align:middle;border-bottom:1px solid #eef0f5;padding:22px 24px}.data-table tr:last-child td{border-bottom:none}.data-table tbody tr:hover{background:#fafcff}.activity-title{font-size:15px;font-weight:610;display:block}.activity-date{color:#7b8392;margin-top:5px;font-size:12px}.number{font-variant-numeric:tabular-nums;font-weight:570}.table-link{color:var(--blue);font-weight:540}.summary-card{background:#fff;border:1px solid #e2e7f0;border-radius:20px;align-items:center;gap:22px;margin-top:24px;padding:26px 28px;display:flex}.summary-card p{color:var(--muted);margin-top:6px;font-size:14px}.summary-art{color:#407ed7;background:#e9f1ff;border-radius:18px;flex-shrink:0;place-items:center;width:68px;height:68px;display:grid}.back-link{color:var(--muted);align-items:center;gap:5px;margin-bottom:18px;font-size:14px;display:inline-flex}.tabs{border-bottom:1px solid #dce2ec;gap:28px;margin:10px 0 25px;display:flex;overflow:auto}.tabs button{color:var(--muted);white-space:nowrap;border-bottom:2px solid #0000;padding:12px 0;font-size:14px}.tabs button.active{color:var(--blue);border-color:var(--blue);font-weight:600}.metric-row{grid-template-columns:repeat(3,1fr);gap:16px;display:grid}.metric{background:#fff;border:1px solid #e0e5ed;border-radius:16px;padding:20px}.metric p{color:var(--muted);font-size:13px}.metric strong{letter-spacing:-.5px;margin-top:7px;font-size:29px;font-weight:650;display:block}.stepper{gap:6px;margin:5px 0 30px;display:flex}.stepper button{color:#758095;border-bottom:2px solid #dce2ed;flex:1;justify-content:center;align-items:center;gap:8px;padding:12px 6px;font-size:13px;display:flex}.stepper button.active{color:var(--blue);border-color:var(--blue)}.step-number{background:#e5eaf3;border-radius:50%;place-items:center;width:24px;height:24px;font-size:12px;display:grid}.stepper .active .step-number{background:var(--blue);color:#fff}.form-footer{border-top:1px solid var(--line);justify-content:space-between;align-items:center;margin-top:26px;padding-top:26px;display:flex}.editor-group{border:1px solid var(--line);border-radius:16px;padding:22px}.editor-candidate{background:#f8faff;border-radius:12px;flex-direction:column;gap:14px;padding:18px;display:flex}.checkbox-line{align-items:center;gap:10px;font-size:14px;display:flex}.checkbox-line input{width:18px;height:18px;accent-color:var(--blue)}.object-icon{border-radius:16px;flex-shrink:0;place-items:center;width:64px;height:64px;display:grid;overflow:hidden}.object-icon img{object-fit:cover;width:100%;height:100%}.object-0{color:#6692de;background:#edf3ff}.object-1{color:#287ee2;background:#e8f1ff}.object-2{color:#43bba0;background:#e5f6f0}.link-box{border:1px solid var(--line);word-break:break-all;color:#37629b;background:#f6f8fc;border-radius:11px;padding:12px 14px;font-size:14px}.qr{width:180px;height:180px;margin:8px auto;display:block}.login-screen{place-items:center;min-height:100vh;padding:24px;display:grid}.login-card{background:#fff;border:1px solid #e0e6f0;border-radius:24px;width:420px;max-width:100%;padding:38px;box-shadow:0 14px 50px #2e466407}.login-card .brand{margin:0 0 28px}.login-card h1{font-size:26px}.login-card>p{color:var(--muted);margin:8px 0 28px;font-size:14px}.dialog-overlay{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);z-index:100;background:#15273e52;animation:.15s fadein;position:fixed;inset:0}.dialog-content{z-index:101;background:#fff;border-radius:22px;outline:none;flex-direction:column;width:560px;max-width:calc(100vw - 32px);max-height:88vh;display:flex;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 28px 90px #0f264730}.dialog-header{justify-content:space-between;align-items:flex-start;gap:20px;padding:25px 26px 18px;display:flex}.dialog-title{font-size:21px;font-weight:650}.dialog-header p{margin-top:6px;font-size:14px}.dialog-body{padding:0 26px 26px;overflow:auto}.dialog-footer{border-top:1px solid var(--line);justify-content:flex-end;gap:10px;padding:18px 26px;display:flex}@keyframes fadein{0%{opacity:0}to{opacity:1}}.vote-shell{max-width:640px;min-height:100dvh;margin:auto;padding:0 24px 140px}.vote-nav{justify-content:space-between;align-items:center;height:76px;margin:0 -10px;display:flex}.vote-nav .button{color:var(--text);font-size:14px}.vote-heading{margin:12px 0 28px}.vote-heading h1{letter-spacing:-1px;max-width:12em;font-size:34px;font-weight:700;line-height:1.25}.vote-meta{color:#737f91;align-items:center;gap:10px;margin-top:14px;font-size:13px;display:flex}.vote-meta .status{background:0 0;padding:0;font-size:13px}.vote-description{color:var(--muted);margin-top:15px;font-size:15px;line-height:1.8}.vote-group{background:#fff;border:1px solid #e5e9f0;border-radius:23px;margin-top:20px;padding:22px}.group-heading{margin-bottom:22px}.group-heading h2{font-size:18px}.group-heading p{color:#7c8799;margin-top:5px;font-size:14px}.candidate{cursor:pointer;background:#fff;border:1px solid #e2e7f0;border-radius:17px;align-items:center;gap:16px;margin-bottom:12px;padding:14px 12px;transition:background .15s,border-color .15s;display:flex;position:relative}.candidate:last-child{margin-bottom:0}.candidate.selected{background:#eff5ff;border-color:#0064d9;box-shadow:inset 0 0 0 .3px #0064d9}.candidate-name{font-size:17px;font-weight:650}.candidate-subtitle{color:#6b7b92;margin-top:4px;font-size:13px}.candidate-copy{text-align:left;flex:1;min-width:0}.candidate-copy button{text-align:left;display:block}.candidate-detail{color:#6280ac;margin-top:5px;font-size:12px}.select-circle{border:1.5px solid #a3adbf;border-radius:50%;flex-shrink:0;place-items:center;width:28px;height:28px;display:grid}.selected .select-circle{background:var(--blue);color:#fff;border-color:var(--blue)}.candidate-select{z-index:1;background:0 0;border-radius:17px;width:100%;position:absolute;inset:0}.candidate .detail-control{z-index:2;position:relative}.candidate-cover{padding:0;display:block;overflow:hidden}.candidate-cover .candidate-photo{aspect-ratio:16/9;object-fit:cover;width:100%}.candidate-cover .candidate-inner{align-items:center;gap:14px;padding:18px;display:flex}.vote-bottom{width:100%;max-width:640px;padding:18px 24px calc(18px + env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);z-index:30;background:#ffffffed;border-top:1px solid #e5e9f1;justify-content:space-between;align-items:center;gap:20px;display:flex;position:fixed;bottom:0;left:50%;transform:translate(-50%)}.vote-bottom .button-primary{border-radius:15px;min-width:185px;height:52px;font-size:16px}.vote-selected strong{color:var(--blue);margin:0 4px;font-size:22px}.vote-selected{font-size:15px}.vote-note{color:#8b95a5;text-align:center;margin-top:20px;font-size:12px}.group-tabs{gap:8px;margin-top:22px;padding-bottom:4px;display:flex;overflow:auto}.group-tabs button{white-space:nowrap;color:#586779;background:#e7ebf2;border-radius:10px;padding:9px 16px;font-size:14px}.group-tabs button.active{color:var(--blue);background:#fff;box-shadow:0 1px 4px #29425d0e}.success-icon{color:#129568;background:#e6f7ee;border-radius:50%;place-items:center;width:68px;height:68px;margin:8px auto 20px;display:grid}.success-content{text-align:center}.success-content h2{font-size:24px}.success-content p{color:var(--muted);margin:10px 0;font-size:14px}.receipt-choice{text-align:left;background:#f4f7fc;border-radius:10px;margin:10px 0;padding:12px;font-size:15px}.result-row{border-bottom:1px solid var(--line);align-items:center;gap:15px;padding:18px 0;display:flex}.result-row:last-child{border:0}.rank{color:#8b96a8;width:32px;font-size:24px;font-weight:650}.rank-top{color:var(--blue)}.result-count{margin-left:auto;font-size:20px;font-weight:600}.detail-image{object-fit:cover;border-radius:14px;width:100%;max-height:280px;margin-bottom:20px}.detail-video{border-radius:12px;width:100%;max-height:300px;margin:15px 0}.detail-copy{white-space:pre-wrap;color:var(--muted);font-size:15px;line-height:1.8}@media (max-width:1100px){.sidebar{width:196px;padding-left:14px;padding-right:14px}.admin-main{margin-left:196px}.page{padding:32px 24px}.data-table td,.data-table th{padding-left:17px;padding-right:17px}.search{width:200px}.page-heading h1{font-size:29px}}@media (max-width:760px){.admin-main{margin-left:0}.sidebar{border-right:0;border-bottom:1px solid var(--line);flex-direction:row;align-items:center;gap:15px;width:100%;padding:14px 18px;position:static}.brand{margin:0;font-size:18px}.sidebar .nav{flex-direction:row;gap:2px;margin-left:auto}.nav a{min-height:40px;padding:8px}.nav a span,.sidebar-bottom{display:none}.page{padding:26px 16px}.page-heading{align-items:flex-start}.page-heading h1{font-size:27px}.page-heading>div:last-child{flex-shrink:0}.toolbar{flex-direction:column;align-items:stretch;gap:12px}.search{width:100%}.segments{overflow:auto}.segments button{padding:7px 11px;font-size:13px}.section{padding:20px}.grid-2{grid-template-columns:1fr}.summary-card{gap:15px;padding:20px}.summary-card h2{font-size:17px}.summary-card p{font-size:12px}.summary-art{border-radius:13px;width:48px;height:48px}.metric-row{gap:9px}.metric{padding:15px}.metric strong{font-size:24px}.stepper button{flex-direction:column;gap:4px;font-size:11px}.step-number{width:20px;height:20px}.editor-group{padding:15px}.editor-candidate{padding:14px}}@media (max-width:480px){.vote-shell{padding:0 18px 130px}.vote-nav{height:66px}.vote-heading{margin-top:8px;margin-bottom:24px}.vote-heading h1{max-width:9em;font-size:32px}.vote-group{padding:18px 12px}.group-heading{margin-bottom:20px;padding:0 7px}.candidate{gap:12px;padding:14px 12px}.object-icon{border-radius:13px;width:58px;height:58px}.candidate-name{font-size:16px}.candidate-subtitle{font-size:12px}.select-circle{width:26px;height:26px}.vote-bottom{padding:17px 20px calc(17px + env(safe-area-inset-bottom))}.vote-bottom .button-primary{min-width:170px}.dialog-content{border-radius:24px 24px 0 0;width:100%;max-width:100%;max-height:88dvh;top:auto;bottom:0;left:0;transform:none}.dialog-footer{padding-bottom:calc(20px + env(safe-area-inset-bottom))}.dialog-header{padding:24px 22px 18px}.dialog-body{padding:0 22px 24px}.data-table{min-width:630px}.vote-description{font-size:14px}.summary-card .button{min-height:38px;padding:8px 12px;font-size:12px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
