﻿*, *::before, *::after { box-sizing: border-box; }
:root { --brand-50:#f0f4ff; --brand-100:#e0eaff; --brand-200:#c2d4ff; --brand-500:#3d60e8; --brand-600:#2a47cc; --sidebar:#1e2a45; --text:#1e2a45; --muted:#64748b; --muted-soft:#94a3b8; --line:#e8edf5; --line-soft:#f1f5f9; --page-bg:#f4f6fb; --green:#15803d; --red:#dc2626; --yellow:#d97706; --indigo:#6d28d9; }
body { margin:0; background:var(--page-bg); color:var(--text); font-family:"Microsoft YaHei","PingFang SC","Segoe UI",Arial,sans-serif; -webkit-font-smoothing:antialiased; }
a { color:inherit; text-decoration:none; } button,input,select,textarea { font:inherit; } * { scrollbar-width:thin; scrollbar-color:#d1d9e6 transparent; }
.layout { min-height:100vh; overflow:hidden; }
.sidebar { position:fixed; inset:0 auto 0 0; z-index:20; width:240px; min-width:240px; height:100vh; background:var(--sidebar); display:flex; flex-direction:column; }
.main-area { width:calc(100vw - 240px); height:100vh; margin-left:240px; display:flex; flex-direction:column; overflow:hidden; }
.content-area { flex:1; overflow-y:auto; padding:28px; background:var(--page-bg); }
.content-area::-webkit-scrollbar { width:6px; } .content-area::-webkit-scrollbar-thumb { background:#d1d9e6; border-radius:3px; }
.sidebar-logo { padding:24px 20px 20px; border-bottom:1px solid rgba(255,255,255,.08); }
.logo-wrap { display:flex; align-items:center; gap:10px; }
.logo-mark { width:38px; height:38px; background:rgba(61,96,232,.25); border-radius:10px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.logo-title { display:block; color:#fff; font-size:14px; font-weight:700; line-height:1.2; }
.logo-subtitle { display:block; color:rgba(255,255,255,.45); font-size:11px; margin-top:1px; }
.nav-menu { flex:1; padding:12px 0; overflow-y:auto; }
.nav-section-title { padding:8px 20px 6px; color:rgba(255,255,255,.25); font-size:11px; font-weight:700; letter-spacing:.08em; }
.nav-group-label { padding:14px 20px 6px; color:rgba(255,255,255,.3); font-size:11px; font-weight:600; letter-spacing:.06em; }
.nav-divider { height:1px; margin:10px 16px; background:rgba(255,255,255,.08); }
.nav-item { display:flex; align-items:center; gap:10px; padding:10px 20px; margin:2px 10px; border-radius:10px; color:rgba(255,255,255,.55); font-size:14px; font-weight:500; cursor:pointer; transition:all .18s ease; position:relative; }
.nav-item span { display:inline-block; line-height:1; }
.nav-item:hover { background:rgba(255,255,255,.07); color:rgba(255,255,255,.85); }
.nav-item.active { background:rgba(61,96,232,.25); color:#fff; font-weight:600; }
.nav-item.active::before { content:""; position:absolute; left:0; top:50%; width:3px; height:20px; background:var(--brand-500); border-radius:0 2px 2px 0; transform:translateY(-50%); }
.nav-item svg { width:16px; height:16px; flex-shrink:0; }
.sidebar-footer { padding:16px 20px; border-top:1px solid rgba(255,255,255,.08); }
.admin-card { display:flex; align-items:center; gap:10px; }
.admin-avatar { width:34px; height:34px; border-radius:50%; object-fit:cover; border:2px solid rgba(255,255,255,.2); }
.admin-avatar-placeholder,.topbar-avatar.admin-avatar-placeholder { display:inline-flex; align-items:center; justify-content:center; background:rgba(61,96,232,.35); color:#fff; font-size:13px; font-weight:700; flex-shrink:0; }
.topbar-avatar.admin-avatar-placeholder { width:32px; height:32px; border:2px solid var(--line); color:var(--brand-500); background:var(--brand-100); }
.admin-meta { flex:1; min-width:0; }
.admin-name { color:#fff; font-size:13px; font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.admin-email { color:rgba(255,255,255,.4); font-size:11.5px; margin-top:1px; }
.logout-link { color:rgba(255,255,255,.35); line-height:0; } .logout-link svg { width:15px; height:15px; }
.topbar { height:60px; min-height:60px; background:#fff; border-bottom:1px solid var(--line); display:flex; align-items:center; padding:0 28px; gap:16px; }
.breadcrumb { display:flex; align-items:center; gap:6px; flex:1; }
.breadcrumb-root { color:var(--muted-soft); font-size:13px; font-weight:500; }
.breadcrumb-current { color:var(--text); font-size:13.5px; font-weight:700; }
.breadcrumb svg { width:14px; height:14px; color:#cbd5e1; }
.topbar-actions { display:flex; align-items:center; gap:10px; }
.topbar-user { display:flex; align-items:center; gap:8px; padding-left:16px; border-left:1px solid var(--line-soft); }
.online-dot { width:8px; height:8px; background:#22c55e; border-radius:50%; }
.topbar-name { color:var(--muted); font-size:13px; font-weight:500; }
.topbar-avatar { width:32px; height:32px; border-radius:50%; object-fit:cover; }
.card { background:#fff; border-radius:16px; box-shadow:0 2px 12px rgba(0,0,0,.05); }
.card-pad { padding:22px 24px; }
.stat-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:16px; margin-bottom:24px; }
.stat-card { background:#fff; border-radius:12px; padding:16px 20px; box-shadow:0 1px 6px rgba(0,0,0,.04); display:flex; align-items:center; gap:14px; }
.stat-icon { width:44px; height:44px; border-radius:12px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.stat-icon svg { width:20px; height:20px; } .stat-icon.brand { color:var(--brand-500); background:var(--brand-100); } .stat-icon.cyan { color:#0891b2; background:#e0f2fe; } .stat-icon.yellow { color:var(--yellow); background:#fef3c7; } .stat-icon.green { color:var(--green); background:#dcfce7; } .stat-icon.indigo { color:var(--indigo); background:#ede9fe; }
.stat-value { color:var(--text); font-size:24px; font-weight:700; font-family:Consolas,"JetBrains Mono",monospace; line-height:1; }
.stat-label { color:var(--muted-soft); font-size:12.5px; font-weight:500; margin-top:3px; }
.project-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.project-head,.admit-head { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; margin-bottom:16px; }
.project-title,.admit-title { color:var(--text); font-size:17px; font-weight:700; line-height:1.3; margin-top:8px; }
.time-list { display:flex; flex-direction:column; gap:7px; margin-bottom:16px; }
.time-row { display:flex; align-items:center; gap:7px; color:var(--muted); font-size:13px; }
.time-row svg { width:13px; height:13px; color:var(--muted-soft); flex-shrink:0; }
.mini-stats { display:flex; gap:16px; padding:12px 16px; background:#f8fafc; border-radius:10px; margin-bottom:16px; }
.mini-stat { text-align:center; } .mini-stat-value { color:var(--text); font-size:18px; font-weight:700; font-family:Consolas,"JetBrains Mono",monospace; } .mini-stat-value.green{color:var(--green)} .mini-stat-value.yellow{color:var(--yellow)} .mini-stat-value.brand{color:var(--brand-500)}
.mini-stat-label { color:var(--muted-soft); font-size:11.5px; font-weight:500; } .mini-divider { width:1px; background:var(--line); }
.btn { display:inline-flex; align-items:center; justify-content:center; gap:6px; border-radius:10px; padding:8px 16px; font-size:13.5px; font-weight:600; cursor:pointer; border:none; transition:transform .12s ease,box-shadow .12s ease,background .15s; }
.btn:active { transform:scale(.97); } .btn svg { width:14px; height:14px; }
.btn-primary,.btn:not(.btn-secondary):not(.btn-success):not(.btn-danger):not(.btn-ghost) { background:linear-gradient(135deg,var(--brand-500),var(--brand-600)); color:#fff; box-shadow:0 3px 10px rgba(61,96,232,.25); }
.btn-secondary { background:#fff; color:var(--brand-500); border:1.5px solid var(--brand-200); } .btn-secondary:hover { background:var(--brand-50,#eef3ff); border-color:var(--brand-400,#5b8def); box-shadow:0 2px 8px rgba(61,96,232,.12); }
.btn-success { background:#dcfce7; color:var(--green); border:1px solid #bbf7d0; box-shadow:none; }
.btn-danger { background:#fee2e2; color:var(--red); border:1px solid #fecaca; box-shadow:none; }
.btn-ghost { background:transparent; color:var(--muted); box-shadow:none; } .btn-ghost:hover { background:var(--line-soft); color:var(--text); }
.btn-sm { padding:5px 11px; font-size:12.5px; border-radius:8px; } .btn-xs { padding:4px 9px; font-size:12px; border-radius:7px; } .btn-lg { padding:11px 22px; font-size:14.5px; border-radius:12px; gap:8px; } .btn-lg svg { width:17px; height:17px; } .btn[disabled],button[disabled] { cursor:not-allowed; opacity:.55; box-shadow:none; }
.badge { display:inline-flex; align-items:center; gap:5px; border-radius:20px; padding:3px 10px; font-size:12px; font-weight:600; white-space:nowrap; }
.badge-blue,.badge.pending { background:var(--brand-100); color:var(--brand-500); } .badge-green,.badge.approved { background:#dcfce7; color:var(--green); } .badge-yellow { background:#fef3c7; color:var(--yellow); } .badge-red,.badge.rejected { background:#fee2e2; color:var(--red); } .badge-gray,.badge:not(.badge-blue):not(.badge-green):not(.badge-yellow):not(.badge-red):not(.badge-indigo):not(.pending):not(.approved):not(.rejected) { background:var(--line-soft); color:var(--muted); } .badge-indigo { background:#ede9fe; color:var(--indigo); }
.filter-card { padding:16px 20px; margin-bottom:18px; } .filter-row { display:flex; align-items:center; gap:10px; flex-wrap:wrap; } .filter-select { max-width:220px; padding:7px 30px 7px 10px; font-size:13.5px; }
.search-box { display:flex; align-items:center; gap:8px; background:#f8fafc; border:1.5px solid var(--line); border-radius:10px; padding:7px 12px; min-width:200px; } .search-box.grow { flex:1; min-width:180px; } .search-box svg { width:14px; height:14px; color:var(--muted-soft); flex-shrink:0; } .search-box input { width:100%; border:none; background:transparent; outline:none; padding:0; color:var(--text); }
.table-wrap { background:#fff; border-radius:16px; overflow:hidden; box-shadow:0 2px 12px rgba(0,0,0,.05); } .table-scroll { overflow-x:auto; } .data-table { width:100%; border-collapse:collapse; font-size:13.5px; } .data-table th { background:#f8fafc; color:var(--muted); font-weight:600; font-size:12.5px; letter-spacing:.03em; padding:11px 14px; text-align:left; border-bottom:1px solid var(--line); white-space:nowrap; } .data-table td { padding:11px 14px; border-bottom:1px solid var(--line-soft); color:#334155; vertical-align:middle; } .data-table tr:last-child td { border-bottom:none; } .data-table tbody tr:hover { background:#f8faff; } .data-table th.text-center, .data-table td.text-center { text-align:center; }
.pagination-wrap { display:flex; justify-content:center; margin:18px 0 0; }
.pager { display:flex; align-items:center; justify-content:center; gap:8px; flex-wrap:wrap; }
.pager-meta { color:var(--muted-soft); font-size:13px; font-weight:500; margin-right:4px; white-space:nowrap; }
.pager-nums { display:inline-flex; align-items:center; gap:6px; }
.pager-btn,.pager-num { min-width:34px; height:34px; padding:0 10px; border:1px solid var(--line); border-radius:9px; background:#fff; color:var(--muted); display:inline-flex; align-items:center; justify-content:center; font-size:13px; font-weight:600; box-shadow:0 1px 4px rgba(0,0,0,.03); transition:border-color .15s,color .15s,background .15s; }
.pager-btn { padding:0; width:34px; }
.pager-btn:hover,.pager-num:hover { border-color:var(--brand-200); color:var(--brand-500); background:var(--brand-50); }
.pager-num.is-active { border-color:var(--brand-500); background:var(--brand-500); color:#fff; cursor:default; }
.pager-btn.is-disabled,.pager-num.is-disabled { color:var(--muted-soft); background:#f8fafc; border-color:var(--line); cursor:not-allowed; box-shadow:none; pointer-events:none; }
.pager-ellipsis { color:var(--muted-soft); font-size:13px; padding:0 2px; user-select:none; }
.pager-arrow { display:block; flex-shrink:0; }
.pagination { display:flex; align-items:center; gap:6px; margin:0; padding:0; list-style:none; }
.pagination li a,.pagination li span { min-width:34px; height:34px; padding:0 10px; border:1px solid var(--line); border-radius:9px; background:#fff; color:var(--muted); display:inline-flex; align-items:center; justify-content:center; font-size:13px; font-weight:600; box-shadow:0 1px 4px rgba(0,0,0,.03); }
.pagination li a:hover { border-color:var(--brand-200); color:var(--brand-500); background:var(--brand-50); }
.pagination li.active span { border-color:var(--brand-500); background:var(--brand-500); color:#fff; }
.pagination li.disabled span { color:var(--muted-soft); background:#f8fafc; }
.cell-title { color:var(--text); font-weight:600; } .muted { color:var(--muted-soft); font-size:12.5px; } .mono { font-family:Consolas,"JetBrains Mono",monospace; } .text-center { text-align:center; } .actions { display:flex; align-items:center; gap:8px; flex-wrap:wrap; } .inline-form { display:inline-flex; margin:0; } .hidden-form { display:none; }
.modal { position:fixed; inset:0; background:rgba(0,0,0,.3); z-index:100; opacity:0; pointer-events:none; transition:opacity .25s ease; } .modal.open { opacity:1; pointer-events:auto; } .modal-card { position:fixed; top:0; right:0; height:100vh; width:480px; background:#fff; z-index:101; transform:translateX(100%); transition:transform .3s cubic-bezier(.16,1,.3,1); display:flex; flex-direction:column; box-shadow:-8px 0 40px rgba(0,0,0,.12); } .modal-card.wide { width:560px; } .modal.open .modal-card { transform:translateX(0); } .modal-card form { min-height:0; flex:1; display:flex; flex-direction:column; }
.drawer-header { padding:20px 24px; border-bottom:1px solid var(--line-soft); display:flex; align-items:center; justify-content:space-between; flex-shrink:0; } .drawer-title { color:var(--text); font-size:17px; font-weight:700; } .drawer-subtitle { color:var(--muted-soft); font-size:13px; margin-top:2px; } .drawer-body { flex:1; overflow-y:auto; padding:24px; } .drawer-footer { padding:16px 24px; border-top:1px solid var(--line-soft); display:flex; gap:10px; flex-shrink:0; } .drawer-footer .btn-primary { flex:1; }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; } .field-full { grid-column:1 / -1; } .field label,.form-label { display:block; color:var(--muted); font-size:13px; font-weight:600; letter-spacing:.02em; margin-bottom:6px; } .required-star { color:#ef4444; margin-left:2px; } input,select,textarea { width:100%; border:1.5px solid #e2e8f0; border-radius:10px; padding:9px 12px; font-size:14px; color:var(--text); background:#fff; outline:none; transition:border-color .2s,box-shadow .2s; } input:focus,select:focus,textarea:focus { border-color:var(--brand-500); box-shadow:0 0 0 3px rgba(61,96,232,.10); } textarea { resize:vertical; min-height:80px; line-height:1.6; } select { appearance:none; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 12px center; padding-right:32px; }
.batch-actions-bar { display:none; align-items:center; gap:10px; margin:12px 0; padding-top:12px; border-top:1px solid var(--line-soft); } .batch-actions-bar.show { display:flex; } .batch-remark { max-width:260px; padding:7px 10px; font-size:13px; } .cb { width:16px; height:16px; border-radius:4px; border:1.5px solid #cbd5e1; cursor:pointer; display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; } .cb input { width:16px; height:16px; margin:0; cursor:pointer; accent-color:var(--brand-500); }
.admit-card { padding:24px; margin-bottom:20px; } .admit-subtitle { color:var(--muted-soft); font-size:13px; margin-top:4px; } .admit-stats { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin-bottom:20px; } .admit-stat { text-align:center; padding:14px 10px; background:#fff; border-radius:12px; box-shadow:0 1px 6px rgba(0,0,0,.04); } .admit-stat-value { font-size:26px; font-weight:700; font-family:Consolas,"JetBrains Mono",monospace; line-height:1; } .admit-stat-value.brand{color:var(--brand-500)} .admit-stat-value.green{color:var(--green)} .admit-stat-value.yellow{color:var(--yellow)} .admit-stat-label { color:var(--muted-soft); font-size:12px; font-weight:500; margin-top:4px; }
.detail-link { color:var(--brand-500); font-weight:600; } .section-title { color:var(--muted-soft); font-size:13px; font-weight:700; letter-spacing:.05em; text-transform:uppercase; margin-bottom:12px; } .section-card { margin-top:16px; } .section-head { display:flex; align-items:center; justify-content:space-between; gap:12px; } .status-strip { display:flex; align-items:center; gap:8px; padding:10px 14px; margin-bottom:16px; background:var(--brand-50); border-radius:10px; color:var(--brand-500); font-size:13px; font-weight:600; } .status-strip svg { width:14px; height:14px; } .status-strip b { color:var(--text); } .detail-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; } .info-row { padding:12px 14px; border:1px solid var(--line-soft); border-radius:12px; background:#fff; } .info-row.wide { grid-column:1 / -1; } .info-row span { display:block; color:var(--muted-soft); font-size:12px; font-weight:600; margin-bottom:6px; } .info-row b { color:var(--text); font-size:13.5px; font-weight:500; }
.toast-container { position:fixed; top:20px; right:24px; z-index:9999; display:flex; flex-direction:column; gap:8px; } .toast-item { background:var(--sidebar); color:#fff; border-radius:10px; padding:12px 18px; font-size:13.5px; font-weight:500; box-shadow:0 4px 20px rgba(0,0,0,.15); }
.confirm-dialog { position:fixed; inset:0; z-index:200; display:flex; align-items:center; justify-content:center; padding:24px; opacity:0; pointer-events:none; transition:opacity .2s ease; }
.confirm-dialog.open { opacity:1; pointer-events:auto; }
.confirm-dialog-backdrop { position:absolute; inset:0; background:rgba(15,23,42,.45); }
.confirm-dialog-panel { position:relative; width:100%; max-width:400px; background:#fff; border-radius:18px; padding:28px 28px 24px; box-shadow:0 24px 60px rgba(15,23,42,.18); transform:scale(.96) translateY(8px); transition:transform .25s cubic-bezier(.16,1,.3,1); text-align:center; }
.confirm-dialog.open .confirm-dialog-panel { transform:scale(1) translateY(0); }
.confirm-dialog-icon { width:52px; height:52px; margin:0 auto 16px; border-radius:50%; display:flex; align-items:center; justify-content:center; }
.confirm-dialog-icon.danger { background:#fee2e2; color:var(--red); }
.confirm-dialog-icon.default { background:var(--brand-100); color:var(--brand-500); }
.confirm-dialog-icon svg { width:24px; height:24px; }
.confirm-dialog-title { font-size:18px; font-weight:700; color:var(--text); margin-bottom:8px; }
.confirm-dialog-message { font-size:14px; line-height:1.65; color:var(--muted); margin-bottom:24px; white-space:pre-wrap; }
.confirm-dialog-actions { display:flex; gap:10px; }
.confirm-dialog-actions .btn { flex:1; }
body.confirm-dialog-open { overflow:hidden; }
.qr-dialog { position:fixed; inset:0; z-index:150; display:flex; align-items:center; justify-content:center; padding:24px; opacity:0; pointer-events:none; transition:opacity .2s ease; }
.qr-dialog.open { opacity:1; pointer-events:auto; }
.qr-dialog-backdrop { position:absolute; inset:0; background:rgba(15,23,42,.45); }
.qr-dialog-panel { position:relative; width:100%; max-width:380px; background:#fff; border-radius:18px; box-shadow:0 24px 60px rgba(15,23,42,.18); transform:scale(.96) translateY(8px); transition:transform .25s cubic-bezier(.16,1,.3,1); overflow:hidden; }
.qr-dialog.open .qr-dialog-panel { transform:scale(1) translateY(0); }
.qr-dialog-header { padding:20px 22px 0; display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.qr-dialog-title { font-size:17px; font-weight:700; color:var(--text); }
.qr-dialog-subtitle { font-size:13px; color:var(--muted-soft); margin-top:4px; line-height:1.4; word-break:break-all; }
.qr-dialog-body { padding:20px 22px 8px; display:flex; flex-direction:column; align-items:center; }
.qr-preview-wrap { width:248px; height:248px; padding:12px; background:#fff; border:2px solid var(--line); border-radius:14px; display:flex; align-items:center; justify-content:center; }
.qr-preview-img { display:block; width:224px; height:224px; object-fit:contain; }
.qr-dialog-hint { margin:14px 0 0; font-size:12.5px; color:var(--muted-soft); }
.qr-dialog-footer { padding:16px 22px 22px; display:flex; gap:10px; }
.qr-dialog-footer .btn-primary { flex:1; }
body.qr-dialog-open { overflow:hidden; }
.exam-time-dialog { position:fixed; inset:0; z-index:160; display:flex; align-items:center; justify-content:center; padding:24px; opacity:0; pointer-events:none; transition:opacity .2s ease; }
.exam-time-dialog.open { opacity:1; pointer-events:auto; }
.exam-time-dialog-backdrop { position:absolute; inset:0; background:rgba(15,23,42,.45); }
.exam-time-dialog-panel { position:relative; width:100%; max-width:420px; background:#fff; border-radius:18px; box-shadow:0 24px 60px rgba(15,23,42,.18); transform:scale(.96) translateY(8px); transition:transform .25s cubic-bezier(.16,1,.3,1); overflow:hidden; }
.exam-time-dialog.open .exam-time-dialog-panel { transform:scale(1) translateY(0); }
.exam-time-dialog-header { padding:20px 22px 0; display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.exam-time-dialog-title { font-size:17px; font-weight:700; color:var(--text); }
.exam-time-dialog-subtitle { font-size:13px; color:var(--muted-soft); margin-top:4px; line-height:1.4; }
.exam-time-dialog-body { padding:18px 22px 8px; }
.exam-time-dialog-hint { margin:4px 0 0; font-size:12.5px; color:var(--muted-soft); line-height:1.5; }
.exam-time-dialog-footer { padding:16px 22px 22px; display:flex; gap:10px; }
.exam-time-dialog-footer .btn-primary { flex:1; }
body.exam-time-dialog-open { overflow:hidden; }
.login-body { min-height:100vh; display:grid; place-items:center; padding:24px; background:radial-gradient(circle at 18% -10%,rgba(79,70,229,.14),transparent 30%),radial-gradient(circle at 88% 8%,rgba(14,165,233,.13),transparent 26%),linear-gradient(135deg,#f8fafc 0%,#f4f7fb 52%,#eef2ff 100%); font-family:Inter,"Microsoft YaHei",Arial,sans-serif; } .login-card { width:380px; background:rgba(255,255,255,.9); border:1px solid rgba(255,255,255,.78); border-radius:24px; padding:36px; box-shadow:0 18px 45px rgba(15,23,42,.08); backdrop-filter:blur(18px); } .login-card h1 { margin:0 0 8px; font-size:25px; letter-spacing:-.02em; } .login-card p { margin:0 0 26px; color:var(--muted); } .login-submit { width:100%; margin-top:22px; } .mt-14 { margin-top:14px; } .error { padding:11px 13px; margin-bottom:16px; border-radius:12px; background:#fee2e2; color:var(--red); border:1px solid #fecaca; }
.project-card-danger { margin-top:12px; padding-top:12px; border-top:1px dashed var(--line); }
.project-card-actions { margin-bottom:0; }
.empty-state { text-align:center; padding:48px 24px; }
.empty-state-icon { margin:0 auto 12px; width:48px; height:48px; border-radius:50%; background:var(--line-soft); display:flex; align-items:center; justify-content:center; color:var(--muted-soft); }
.empty-state-icon svg { width:22px; height:22px; }
.empty-state-title { font-size:16px; font-weight:700; color:var(--text); }
.empty-state-desc { font-size:13px; color:var(--muted-soft); margin-top:6px; }
.toast-copied { background:var(--green) !important; }
.toast-error { background:#dc2626 !important; }
@media (max-width:1100px) { .project-grid,.admit-stats { grid-template-columns:1fr 1fr; } .stat-grid { grid-template-columns:repeat(3,1fr); } }
@media (max-width:700px) { .stat-grid { grid-template-columns:1fr 1fr; } }

.schema-editor-modal { width:min(920px,100vw) !important; max-width:920px; }
.schema-editor-wrap { margin-top:4px; }
.schema-editor-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px; }
.schema-editor-head > label { margin:0; }
.schema-editor-tabs { display:inline-flex; gap:4px; padding:4px; background:#f1f5f9; border-radius:10px; }
.schema-tab { border:0; background:transparent; color:var(--muted); font-size:13px; font-weight:600; padding:6px 12px; border-radius:8px; cursor:pointer; }
.schema-tab.active { background:#fff; color:var(--text); box-shadow:0 1px 2px rgba(15,23,42,.08); }
.schema-field-toolbar { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px; flex-wrap:wrap; }
.schema-field-list { display:flex; flex-direction:column; gap:8px; max-height:320px; overflow:auto; padding-right:4px; }
.schema-field-item { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; padding:12px 14px; border:1px solid var(--line-soft); border-radius:12px; background:#fafbfd; }
.schema-field-title { font-weight:600; color:var(--text); }
.schema-field-meta { font-size:12px; margin-top:4px; color:var(--muted-soft); }
.schema-field-badges { display:flex; flex-wrap:wrap; gap:6px; margin-top:8px; }
.schema-field-actions { display:flex; flex-wrap:wrap; gap:6px; flex-shrink:0; }
.schema-field-editor { margin-top:16px; padding:16px; border:1px dashed #cbd5e1; border-radius:12px; background:#fff; }
.schema-field-editor-title { font-size:15px; font-weight:700; color:var(--text); }
.schema-field-editor-actions { display:flex; gap:8px; margin-top:16px; }
.schema-validator-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px 12px; }
.schema-validator-grid label { display:flex !important; align-items:center; gap:6px; font-size:13px; color:var(--text); font-weight:500; margin-bottom:0; }
.schema-validator-grid label input[type="checkbox"] { width:18px; height:18px; margin:0; flex-shrink:0; accent-color:var(--brand-500); cursor:pointer; }
.checkbox-inline { display:inline-flex !important; align-items:center; gap:6px; font-size:13px; color:var(--text); font-weight:500; }
.schema-empty { padding:28px 16px; text-align:center; color:var(--muted-soft); border:1px dashed #dbe3ee; border-radius:12px; }
.field.checkbox-field { display:flex; align-items:center; }
.field.checkbox-field label { display:inline-flex; align-items:center; gap:10px; margin-bottom:0; font-weight:500; color:var(--text); cursor:pointer; font-size:14px; }
.field.checkbox-field label input[type="checkbox"] { width:18px; height:18px; margin:0; flex-shrink:0; accent-color:var(--brand-500); cursor:pointer; }
.checkbox-inline input[type="checkbox"] { width:18px; height:18px; margin:0; flex-shrink:0; accent-color:var(--brand-500); cursor:pointer; }

/* Stage left-right layout */
.stage-layout { display:flex; gap:0; min-height:calc(100vh - 140px); }
.stage-nav { width:220px; min-width:220px; background:#fff; border-right:1px solid var(--line); border-radius:16px 0 0 16px; padding:16px 0; overflow-y:auto; flex-shrink:0; }
.stage-nav-title { padding:0 20px 14px; font-size:12px; font-weight:700; color:var(--muted-soft); letter-spacing:.08em; text-transform:uppercase; border-bottom:1px solid var(--line-soft); margin-bottom:8px; }
.stage-nav-item { display:flex; align-items:center; gap:10px; padding:10px 20px; margin:2px 0; cursor:pointer; font-size:14px; font-weight:500; color:var(--muted); border-left:3px solid transparent; transition:all .15s ease; position:relative; }
.stage-nav-item:hover { background:var(--brand-50); color:var(--text); }
.stage-nav-item.active { background:var(--brand-50); color:var(--brand-500); font-weight:700; border-left-color:var(--brand-500); }
.stage-nav-icon { width:28px; height:28px; border-radius:8px; display:flex; align-items:center; justify-content:center; flex-shrink:0; background:var(--line-soft); color:var(--muted-soft); transition:all .15s ease; }
.stage-nav-item.active .stage-nav-icon { background:var(--brand-100); color:var(--brand-500); }
.stage-nav-icon svg { width:14px; height:14px; }
.stage-nav-text { flex:1; min-width:0; }
.stage-nav-name { display:block; line-height:1.3; }
.stage-nav-hint { display:block; font-size:11px; color:var(--muted-soft); font-weight:400; margin-top:1px; }
.stage-status-dot { width:8px; height:8px; border-radius:50%; flex-shrink:0; }
.stage-status-dot.enabled { background:#22c55e; box-shadow:0 0 0 3px rgba(34,197,94,.18); }
.stage-status-dot.disabled { background:#cbd5e1; }
.stage-status-badge { display:inline-flex; align-items:center; gap:4px; font-size:11px; font-weight:600; padding:2px 7px; border-radius:10px; margin-left:auto; }
.stage-status-badge.on { background:#dcfce7; color:var(--green); }
.stage-status-badge.off { background:var(--line-soft); color:var(--muted-soft); }
.stage-content { flex:1; background:#fff; border-radius:0 16px 16px 0; box-shadow:0 2px 12px rgba(0,0,0,.05); overflow:hidden; display:flex; flex-direction:column; }
.stage-content-header { padding:20px 28px; border-bottom:1px solid var(--line-soft); display:flex; align-items:flex-start; justify-content:space-between; gap:16px; flex-shrink:0; }
.stage-content-title { font-size:17px; font-weight:700; color:var(--text); }
.stage-content-desc { font-size:13px; color:var(--muted-soft); margin-top:4px; line-height:1.6; }
.stage-panel { display:none; flex:1; overflow-y:auto; padding:24px 28px; }
.stage-panel.active { display:block; }
.stage-panel .form-section { margin-bottom:28px; }
.stage-panel .form-section-title { font-size:13px; font-weight:700; color:var(--muted); letter-spacing:.04em; text-transform:uppercase; margin-bottom:14px; padding-bottom:10px; border-bottom:1px dashed var(--line); }
.stage-footer { padding:16px 28px; border-top:1px solid var(--line-soft); display:flex; align-items:center; gap:10px; flex-shrink:0; background:#fafbfd; }
