:root{--bg:#f8f6fb;--surface:#fff;--surface-muted:#f0ebf6;--ink:#241b2f;--muted:#6f6478;--line:#dfd7e8;--purple:#7b3f98;--purple-deep:#4b1767;--purple-soft:#efe7f5;--plum:#9b3f70;--teal:#26706a;--gold:#b98a28;--shadow:0 18px 50px #4b17671f}*{box-sizing:border-box}html{background:var(--bg)}body{color:var(--ink);background:linear-gradient(180deg, #f8f6fbeb, var(--bg) 46rem), var(--bg);margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}a{color:inherit;text-decoration:none}.site-header{z-index:20;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#f8f6fbe0;border-bottom:1px solid #dfd7e8d1;justify-content:space-between;align-items:center;gap:1rem;min-height:72px;padding:0 32px;display:flex;position:sticky;top:0}.brand{align-items:center;gap:12px;min-width:0;display:inline-flex}.brand-mark{color:#fff;background:var(--purple-deep);border-radius:8px;place-items:center;width:38px;height:38px;font-weight:800;display:inline-grid}.brand strong,.brand small{line-height:1.15;display:block}.brand small{color:var(--muted);margin-top:3px;font-size:.78rem}.main-nav{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}.main-nav a{min-height:36px;color:var(--muted);border-radius:8px;padding:9px 12px;font-size:.93rem;font-weight:700}.main-nav a:hover{color:var(--ink);background:var(--purple-soft)}.page-shell{width:min(1180px,100% - 40px);margin:0 auto}.hero{grid-template-columns:minmax(0,1.06fr) minmax(320px,.94fr);align-items:stretch;gap:34px;min-height:calc(100vh - 72px);padding:42px 0 28px;display:grid}.hero-copy{flex-direction:column;justify-content:center;min-width:0;display:flex}.eyebrow{color:var(--purple);text-transform:uppercase;font-size:.82rem;font-weight:800}h1,h2,h3,p{margin-top:0}h1{max-width:760px;margin-bottom:18px;font-size:5rem;line-height:.98}.lead{color:#554b61;max-width:710px;font-size:1.12rem;line-height:1.75}.hero-actions,.surface-actions{flex-wrap:wrap;gap:10px;margin-top:26px;display:flex}.button{border:1px solid var(--line);background:var(--surface);min-height:42px;color:var(--ink);border-radius:8px;justify-content:center;align-items:center;padding:11px 16px;font-weight:800;display:inline-flex}.button.primary{border-color:var(--purple-deep);background:var(--purple-deep);color:#fff}.hero-media{min-height:500px;box-shadow:var(--shadow);background:linear-gradient(#4b176714,#4b17679e),url(https://upload.wikimedia.org/wikipedia/commons/thumb/3/36/Main_gate_of_Tsinghua_University.JPG/960px-Main_gate_of_Tsinghua_University.JPG) 50%/cover;border:1px solid #dfd7e8e6;border-radius:8px;position:relative;overflow:hidden}.hero-media-caption{color:#fff;background:#241b2fb8;border-radius:8px;justify-content:space-between;gap:16px;padding:14px;display:flex;position:absolute;bottom:18px;left:18px;right:18px}.hero-media-caption small,.hero-media-caption a{color:#ffffffc7}.section{padding:26px 0 48px}.section-heading{justify-content:space-between;align-items:end;gap:20px;margin-bottom:18px;display:flex}.section-heading h2{margin-bottom:0;font-size:1.7rem}.section-heading p{max-width:560px;color:var(--muted);margin-bottom:0;line-height:1.6}.surface-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.surface-card{border:1px solid var(--line);background:var(--surface);border-radius:8px;flex-direction:column;min-height:250px;padding:18px;display:flex}.surface-card strong{margin-bottom:10px;font-size:1.05rem;display:block}.surface-card p{color:var(--muted);line-height:1.6}.surface-card .meta{flex-wrap:wrap;gap:8px;margin-top:auto;display:flex}.pill{background:var(--purple-soft);min-height:28px;color:var(--purple-deep);border-radius:999px;align-items:center;padding:5px 9px;font-size:.78rem;font-weight:800;display:inline-flex}.pill.private{color:var(--plum);background:#f8e7f0}.ops-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.ops-item{border:1px solid var(--line);background:#fbfcf8;border-radius:8px;min-height:142px;padding:18px}.ops-item h3{margin-bottom:8px;font-size:1rem}.ops-item:nth-child(2) h3{color:var(--teal)}.ops-item:nth-child(3) h3{color:var(--gold)}.ops-item p{color:var(--muted);margin-bottom:0;line-height:1.6}.surface-page{grid-template-columns:minmax(0,.9fr) minmax(320px,1.1fr);align-items:start;gap:28px;padding:54px 0;display:grid}.surface-panel{border:1px solid var(--line);background:var(--surface);border-radius:8px;padding:22px}.surface-panel h1{margin-bottom:14px;font-size:2.8rem;line-height:1.03}.surface-panel p{color:var(--muted);line-height:1.65}.status-list{gap:12px;display:grid}.status-item{border:1px solid var(--line);background:var(--surface);border-radius:8px;padding:16px}.status-item span{color:var(--purple);text-transform:uppercase;margin-bottom:7px;font-size:.78rem;font-weight:800;display:block}.status-item p{color:var(--muted);margin-bottom:0;line-height:1.6}.auth-form{gap:12px;display:grid}.auth-form .button{cursor:pointer;width:fit-content;font:inherit;border:0}.field-label{color:var(--muted);text-transform:uppercase;font-size:.82rem;font-weight:800}.text-input{border:1px solid var(--line);width:100%;min-height:44px;color:var(--ink);font:inherit;background:#fff;border-radius:8px;padding:11px 12px}.text-input:focus{border-color:#7b3f98ad;outline:3px solid #7b3f9829}.email-compose{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.email-local-input{flex:180px}.email-at{min-height:44px;color:var(--muted);align-items:center;font-weight:800;display:inline-flex}.domain-select{cursor:pointer;flex:230px}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.code-input{letter-spacing:0;max-width:180px;font-size:1.25rem;font-weight:800}.form-alert,.form-success{border-radius:8px;margin-bottom:0;padding:10px 12px;line-height:1.5}.form-alert{color:var(--plum);background:#fff5f8;border:1px solid #efc7d8}.form-success{color:var(--teal);background:#f2fbf7;border:1px solid #bfe4d4}.content-page{padding:54px 0}.content-hero{max-width:820px;margin-bottom:26px}.content-hero h1,.content-detail h1{margin-bottom:14px;font-size:3.8rem;line-height:1.02}.content-list{gap:12px;display:grid}.content-card{border:1px solid var(--line);background:var(--surface);border-radius:8px;gap:10px;padding:18px;display:grid}.content-card:hover{background:#fdfbff;border-color:#7b3f9873}.content-card strong{font-size:1.16rem}.content-card p{max-width:820px;color:var(--muted);margin-bottom:0;line-height:1.6}.content-meta{color:var(--purple);text-transform:uppercase;flex-wrap:wrap;gap:8px;font-size:.78rem;font-weight:800;display:flex}.content-detail{border:1px solid var(--line);background:var(--surface);border-radius:8px;max-width:840px;padding:26px}.content-body{gap:14px;margin-top:24px;display:grid}.content-body p{color:#4d4358;margin-bottom:0;font-size:1.02rem;line-height:1.8}.back-link{color:var(--purple);margin-bottom:18px;font-size:.9rem;font-weight:800;display:inline-flex}.event-facts{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:24px 0 0;display:grid}.event-facts div{border:1px solid var(--line);background:var(--surface-muted);border-radius:8px;min-width:0;padding:14px}.event-facts dt{color:var(--purple);text-transform:uppercase;margin-bottom:6px;font-size:.74rem;font-weight:800}.event-facts dd{color:var(--ink);margin:0;line-height:1.45}.student-dashboard{padding:54px 0}.student-welcome{max-width:860px;margin-bottom:26px}.student-welcome h1{margin-bottom:14px;font-size:3.8rem;line-height:1.02}.student-layout{grid-template-columns:minmax(0,1fr) minmax(300px,.8fr);align-items:start;gap:14px;display:grid}.student-section{margin-bottom:16px}.section-heading.compact{align-items:center;margin-bottom:12px}.section-heading.compact h2{font-size:1.35rem}.student-list{gap:12px;display:grid}.status-item h3{margin-bottom:8px;font-size:1.02rem}.resource-link:hover{background:#f7fcfb;border-color:#26706a6b}.registration-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.registration-card{border:1px solid var(--line);background:var(--surface);border-radius:8px;gap:12px;padding:18px;display:grid}.registration-card h3{margin-bottom:0;font-size:1.1rem}.registration-card p{color:var(--muted);margin-bottom:0;line-height:1.6}.registration-facts{flex-wrap:wrap;gap:8px;display:flex}.registration-facts span,.registered-label{background:var(--surface-muted);min-height:28px;color:var(--muted);border-radius:999px;align-items:center;padding:5px 9px;font-size:.78rem;font-weight:800;display:inline-flex}.registration-facts .registered-label{color:var(--teal);background:#e7f6ef}.registration-actions{margin-top:2px}.registration-actions .button{cursor:pointer;width:fit-content;font:inherit;border:0}.registration-actions .button:disabled{cursor:not-allowed;opacity:.58}.work-dashboard{padding:54px 0}.work-header{max-width:900px;margin-bottom:24px}.work-header h1{margin-bottom:14px;font-size:3.8rem;line-height:1.02}.metric-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px;display:grid}.metric-card{border:1px solid var(--line);background:var(--surface);border-radius:8px;padding:18px}.metric-card span{color:var(--muted);text-transform:uppercase;margin-bottom:10px;font-size:.78rem;font-weight:800;display:block}.metric-card strong{font-size:2rem;line-height:1}.work-layout{grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);align-items:start;gap:14px;margin-bottom:16px;display:grid}.work-layout.three-col{grid-template-columns:repeat(3,minmax(0,1fr))}.work-section{min-width:0}.work-list{gap:12px;display:grid}.work-item{border:1px solid var(--line);border-left:4px solid var(--purple);background:var(--surface);border-radius:8px;gap:8px;min-width:0;padding:16px;display:grid}.work-item.priority-high{border-left-color:var(--plum)}.work-item.priority-medium{border-left-color:var(--gold)}.work-item.priority-low{border-left-color:var(--teal)}.work-item h3{margin-bottom:0;font-size:1.02rem}.work-item p{color:var(--muted);margin-bottom:0;line-height:1.55}.decision-list{color:var(--muted);gap:7px;margin:0;padding-left:18px;line-height:1.55;display:grid}.audit-item{border-left-color:var(--teal)}.admin-dashboard{padding:54px 0}.admin-header{max-width:900px;margin-bottom:24px}.admin-header h1{margin-bottom:14px;font-size:3.8rem;line-height:1.02}.admin-layout{grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);align-items:start;gap:14px;margin-bottom:16px;display:grid}.admin-layout.three-col{grid-template-columns:repeat(3,minmax(0,1fr))}.admin-section{min-width:0}.admin-table-wrap{border:1px solid var(--line);background:var(--surface);border-radius:8px;overflow-x:auto}.admin-table{border-collapse:collapse;width:100%;min-width:680px}.admin-table th,.admin-table td{border-bottom:1px solid var(--line);text-align:left;vertical-align:top;padding:13px 14px}.admin-table th{color:var(--purple);text-transform:uppercase;font-size:.74rem;font-weight:800}.admin-table tr:last-child td{border-bottom:0}.admin-table td{color:var(--muted);font-size:.92rem;line-height:1.45}.admin-table td strong,.admin-table td span{overflow-wrap:anywhere;display:block}.admin-table td strong{color:var(--ink);margin-bottom:4px}.admin-list{gap:12px;display:grid}.admin-item{border:1px solid var(--line);border-left:4px solid var(--purple);background:var(--surface);border-radius:8px;gap:8px;min-width:0;padding:16px;display:grid}.admin-item h3{margin-bottom:0;font-size:1.02rem}.admin-item p{color:var(--muted);margin-bottom:0;line-height:1.55}.admin-item.severity-critical,.admin-item.backup-failed,.admin-item.check-blocked{border-left-color:var(--plum)}.admin-item.severity-warning,.admin-item.backup-blocked,.admin-item.check-manual{border-left-color:var(--gold)}.admin-item.severity-info,.admin-item.backup-ready,.admin-item.backup-dry_run,.admin-item.check-ready{border-left-color:var(--teal)}@media (max-width:920px){.site-header,.section-heading,.hero-media-caption{flex-direction:column;align-items:flex-start}.hero,.surface-page{grid-template-columns:1fr}.hero{min-height:auto}h1{font-size:3.8rem}.hero-media{min-height:360px}.surface-grid,.ops-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.event-facts,.student-layout,.registration-grid{grid-template-columns:1fr}.metric-grid,.work-layout,.work-layout.three-col,.admin-layout,.admin-layout.three-col{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:640px){.site-header{padding:14px 20px}.brand small{font-size:.72rem}.main-nav{justify-content:flex-start;width:100%}.main-nav a{text-align:center;flex:calc(50% - 6px)}.page-shell{width:min(100% - 28px,1180px)}h1{font-size:2.55rem}.surface-grid,.ops-grid{grid-template-columns:1fr}.hero-media{min-height:270px}.hero-actions .button,.surface-actions .button,.auth-form .button,.code-input{width:100%;max-width:none}.surface-panel h1{font-size:2.25rem}.content-page{padding:34px 0}.content-hero h1,.content-detail h1{font-size:2.35rem}.content-detail{padding:18px}.student-dashboard{padding:34px 0}.student-welcome h1{font-size:2.35rem}.registration-actions .button{width:100%}.work-dashboard{padding:34px 0}.work-header h1{font-size:2.35rem}.admin-dashboard{padding:34px 0}.admin-header h1{font-size:2.35rem}.metric-grid,.work-layout,.work-layout.three-col,.admin-layout,.admin-layout.three-col{grid-template-columns:1fr}}
