:root{color-scheme:light;--bg: #f5f7fb;--panel: #ffffff;--panel-muted: #eef3fb;--panel-strong: #dbe8ff;--line: #d3dbe9;--line-strong: #8ea7d0;--text: #10243e;--muted: #586b84;--primary: #005bbf;--primary-deep: #003c7e;--primary-soft: #e6f0ff;--success: #0e8f5b;--warning: #a55300;--danger: #b02033;--shadow: 0 18px 40px rgba(23, 51, 92, .08);font-family:Noto Sans SC,PingFang SC,Microsoft YaHei,sans-serif}*{box-sizing:border-box}html,body,#root{margin:0;min-height:100%}body{color:var(--text);background:radial-gradient(circle at top left,rgba(0,91,191,.12),transparent 28rem),linear-gradient(180deg,#fbfdff,#f3f7fc)}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.65}input,select{width:100%;border:1px solid var(--line);border-radius:14px;padding:.88rem .95rem;background:#fff;color:var(--text);transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}input:focus,select:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 4px #005bbf1f}.page-shell,.admin-shell{width:min(1120px,calc(100vw - 2rem));margin:0 auto;padding:2rem 0 3rem}.page-shell{width:min(780px,calc(100vw - 1.5rem))}.topbar,.public-hero{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start;margin-bottom:1.5rem}.topbar-actions,.auth-links{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center;justify-content:flex-end}.site-logo{display:block;max-width:8rem;max-height:4rem;object-fit:contain;margin-bottom:.7rem}.eyebrow{display:inline-block;margin-bottom:.55rem;color:var(--primary);font-size:.82rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}h1,h2,p{margin:0}h1{font-size:clamp(2rem,4vw,2.8rem);line-height:1.08}h2{font-size:1.2rem;margin-bottom:.28rem}.muted{color:var(--muted)}.small-text{font-size:.85rem}.card,.loading-card,.success-card{border:1px solid rgba(142,167,208,.32);background:#ffffffeb;border-radius:28px;box-shadow:var(--shadow)}.card,.success-card{padding:1.5rem}.card+.card{margin-top:1rem}.loading-card{padding:2.5rem 1.5rem;text-align:center}.compact-card{margin-top:1rem;border-radius:20px}.narrow-card{width:min(560px,100%);margin:0 auto}.summary-grid,.admin-grid{display:grid;gap:1rem}.summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:1rem}.settings-card{margin-bottom:1rem}.settings-form{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto auto;align-items:end}.logo-preview{display:flex;align-items:center;gap:.75rem}.logo-preview img{max-width:6rem;max-height:3rem;object-fit:contain}.summary-card{padding:1.25rem;border-radius:24px;border:1px solid rgba(142,167,208,.32);background:linear-gradient(180deg,#fffffff2,#f1f6ffe6);box-shadow:var(--shadow)}.summary-card strong{display:block;margin:.4rem 0 .5rem;font-size:1.5rem}.admin-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:1rem}.section-heading{display:flex;gap:1rem;align-items:flex-start;margin-bottom:1.2rem}.section-index{display:inline-flex;align-items:center;justify-content:center;min-width:3rem;height:3rem;padding:0 .75rem;border-radius:999px;background:var(--primary-soft);color:var(--primary);font-weight:700;letter-spacing:.04em}.button-primary,.button-secondary,.button-ghost{display:inline-flex;align-items:center;justify-content:center;gap:.45rem;min-height:3rem;border-radius:999px;padding:.88rem 1.2rem;border:1px solid transparent;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease,background .16s ease}.button-primary{background:linear-gradient(135deg,var(--primary),#1d79e0);color:#fff;box-shadow:0 14px 28px #005bbf38}.button-primary:hover,.button-secondary:hover,.button-ghost:hover{transform:translateY(-1px)}.button-secondary{border-color:var(--line-strong);background:#fff;color:var(--text)}.button-ghost{border-color:transparent;background:#ffffff8c;color:var(--primary-deep)}.button-inline{white-space:nowrap}.form-card{padding-bottom:1rem}.step-panel{display:grid;gap:1.1rem}.stepper{display:flex;gap:.4rem;margin-bottom:1rem;padding:1rem 1.1rem;border:1px solid rgba(142,167,208,.28);border-radius:24px;background:#ffffffc7;box-shadow:var(--shadow)}.step-item{display:flex;align-items:center;flex:1;min-width:0;gap:.6rem}.step-circle{display:inline-flex;align-items:center;justify-content:center;min-width:2rem;width:2rem;height:2rem;border-radius:999px;font-weight:700;font-size:.94rem}.step-circle-active{background:var(--primary);color:#fff}.step-circle-completed{background:var(--success);color:#fff}.step-circle-idle{border:1px solid var(--line);color:var(--muted);background:#fff}.step-label{font-size:.9rem;white-space:nowrap}.step-label-active,.step-label-completed{color:var(--text);font-weight:700}.step-label-idle{color:var(--muted)}.step-line{flex:1;height:2px;background:var(--line)}.step-line-active{background:var(--success)}.form-grid{display:grid;grid-template-columns:1fr;gap:1rem}.two-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.field-group{display:grid;gap:.55rem}.field-group label{font-weight:700}.field-help{color:var(--muted);font-size:.9rem}.warning-text{color:var(--warning)}.bound-factory{padding:1rem;border-radius:22px;background:linear-gradient(180deg,#f6faff,#eef5ff);border:1px solid rgba(0,91,191,.16)}.info-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.8rem}.info-grid>div{padding:1rem;border-radius:20px;background:var(--panel-muted)}.compact-grid{margin:1.4rem 0}.info-label{display:block;color:var(--muted);margin-bottom:.4rem;font-size:.85rem}.form-actions{display:flex;justify-content:space-between;gap:.8rem;margin-top:1.4rem}.form-actions>*{flex:1}.error-banner,.notice-banner{margin-bottom:1rem;padding:.95rem 1rem;border-radius:16px;font-weight:600}.error-banner{color:var(--danger);background:#fff0f3;border:1px solid rgba(176,32,51,.14)}.notice-banner{color:#114f37;background:#edf9f3;border:1px solid rgba(14,143,91,.16)}.inline-form,.toolbar{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem;margin-bottom:1rem}.toolbar{grid-template-columns:minmax(0,2fr) minmax(180px,240px) auto minmax(120px,150px)}.pagination-bar{display:flex;align-items:center;justify-content:flex-end;gap:.8rem;margin-top:1rem}.list-stack{display:grid;gap:.8rem}.list-row,.link-card{padding:1rem;border-radius:22px;border:1px solid rgba(142,167,208,.26);background:linear-gradient(180deg,#fffffff5,#f5f9ffe6)}.link-card{display:grid;gap:.8rem}.contact-stack{display:grid;gap:1rem}.contact-card{display:grid;gap:1rem;padding:1rem;border-radius:18px;border:1px solid rgba(142,167,208,.26);background:#f5f9ffe0}.link-card-head,.link-card-foot,.list-row{display:flex;align-items:center;justify-content:space-between;gap:1rem}.link-box{overflow-x:auto;padding:.85rem 1rem;border-radius:16px;background:#eff5ff;border:1px solid rgba(0,91,191,.14);color:var(--primary-deep);font-family:Cascadia Code,Consolas,monospace;font-size:.88rem}.link-actions{display:flex;flex-wrap:wrap;gap:.7rem;justify-content:flex-end}.qr-shell{display:flex;justify-content:center;padding:.8rem;border-radius:16px;background:#fff;border:1px solid rgba(142,167,208,.24)}.qr-shell img{width:12rem;height:12rem;image-rendering:pixelated}.contact-lines{display:grid;gap:.35rem}.status-pill{display:inline-flex;align-items:center;justify-content:center;min-height:2rem;padding:.25rem .8rem;border-radius:999px;font-size:.84rem;font-weight:700}.status-pill-active{background:#0e8f5b1f;color:var(--success)}.status-pill-idle{background:#586b841f;color:var(--muted)}.table-shell{overflow-x:auto;border-radius:20px;border:1px solid rgba(142,167,208,.24)}table{width:100%;border-collapse:collapse;background:#fffffff0}.registration-table{width:auto;min-width:max-content;font-size:.78rem;table-layout:auto}th,td{padding:.95rem 1rem;border-bottom:1px solid rgba(142,167,208,.18);text-align:left;vertical-align:top}.registration-table th,.registration-table td{padding:.62rem .7rem;white-space:nowrap;word-break:keep-all;overflow-wrap:normal;vertical-align:middle}.registration-table th:nth-child(1),.registration-table td:nth-child(1){min-width:9.5rem}.registration-table th:nth-child(2),.registration-table td:nth-child(2){min-width:4.5rem}.registration-table th:nth-child(3),.registration-table td:nth-child(3){min-width:10rem}.registration-table th:nth-child(4),.registration-table td:nth-child(4){min-width:7.5rem}.registration-table th:nth-child(5),.registration-table td:nth-child(5){min-width:13rem}.registration-table th:nth-child(6),.registration-table td:nth-child(6){min-width:5rem}.registration-table th:nth-child(7),.registration-table td:nth-child(7){min-width:6rem}.registration-table th:nth-child(8),.registration-table td:nth-child(8){min-width:3.5rem}.registration-table th:nth-child(9),.registration-table td:nth-child(9){min-width:12rem}.registration-table th:nth-child(10),.registration-table td:nth-child(10){min-width:8rem}.registration-table th:nth-child(11),.registration-table td:nth-child(11){min-width:8rem}.registration-table .button-inline{min-height:2.1rem;padding:.45rem .68rem}.single-line-text{display:inline-block;white-space:nowrap}th{color:var(--muted);font-size:.85rem;background:#f5f8fd}td input{min-width:10rem}.table-actions{display:flex;flex-wrap:wrap;gap:.5rem;min-width:23rem}.table-actions .button-inline{min-height:2.35rem;padding:.58rem .78rem}.compact-actions{min-width:10rem}.checkbox-stack{display:grid;gap:.45rem;min-width:12rem}.checkbox-stack label{display:flex;gap:.45rem;align-items:center}.checkbox-stack input{width:auto;min-width:0}.empty-state{padding:1.2rem;border-radius:18px;background:#f7f9fc;color:var(--muted);text-align:center}.success-card{width:min(680px,100%);margin:4rem auto 0;text-align:center}.auth-shell{min-height:100vh;display:grid;place-items:center}.auth-card{width:min(520px,100%)}.auth-heading{margin-bottom:1.4rem}.auth-form{display:grid;gap:1rem}.auth-form .button-primary{width:100%}.auth-links{justify-content:space-between;margin-top:1rem}@media (max-width: 960px){.summary-grid,.admin-grid,.info-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.inline-form,.toolbar{grid-template-columns:1fr}.link-card-head,.link-card-foot,.list-row,.topbar-actions,.topbar,.public-hero{flex-direction:column;align-items:stretch}}@media (max-width: 720px){.page-shell,.admin-shell{width:min(100vw - 1rem,100%);padding:1rem 0 2rem}.card,.success-card,.summary-card{border-radius:22px;padding:1.15rem}.stepper{overflow-x:auto;padding:.9rem}.step-item{min-width:140px}.two-columns,.summary-grid,.admin-grid,.info-grid{grid-template-columns:1fr}.form-actions{flex-direction:column}}
