@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--navy:#102a43;--blue:#1e5aa8;--cyan:#65d3e8;--ink:#172b4d;--muted:#6f8098;--line:#dce6ef;--paper:#f6f9fc;--white:#fff;--green:#238b64;--shadow:0 18px 50px rgba(16,42,67,.08)}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:Manrope,"PingFang SC","Microsoft YaHei",sans-serif}a{text-decoration:none;color:inherit}.page-shell{max-width:1240px;margin:auto;min-height:100vh;padding:0 34px;display:flex;flex-direction:column}.topbar{height:86px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:12px}.brand-mark{width:34px;height:34px;border-radius:10px;background:var(--navy);color:#fff;display:grid;place-items:center;font-weight:800;font-size:17px}.brand strong,.brand small{display:block}.brand strong{font-size:14px;letter-spacing:.02em}.brand small{font-size:11px;color:var(--muted);margin-top:2px}.admin-link{font-size:12px;color:var(--muted);border-bottom:1px solid #bcccdc;padding-bottom:4px}.admin-link span{font-size:14px;margin-left:4px}.main-content{display:grid;grid-template-columns: .92fr 1.08fr;gap:80px;align-items:start;padding:70px 42px 50px}.hero{padding-top:26px}.eyebrow{font:500 11px 'DM Mono',monospace;letter-spacing:.11em;text-transform:uppercase;color:var(--blue);display:flex;align-items:center;gap:8px}.status-dot{width:7px;height:7px;background:#39b985;border-radius:50%;display:inline-block;box-shadow:0 0 0 4px #d9f4e9}.hero h1,.admin-hero h1{font-size:clamp(44px,5vw,68px);line-height:1.08;letter-spacing:-.065em;margin:24px 0 20px;color:var(--navy);font-weight:800}.hero h1 em,.admin-hero h1 em{font-style:normal;color:var(--blue)}.hero>p{font-size:14px;line-height:1.9;max-width:420px;color:#71839a;margin:0}.hero-note{display:flex;gap:10px;align-items:flex-start;margin-top:28px;color:#8a9aae;font-size:11px;line-height:1.7;max-width:370px}.hero-note span{border:1px solid #aec4d6;border-radius:50%;min-width:16px;height:16px;text-align:center;font:500 11px/15px 'DM Mono',monospace}.form-card,.table-card{background:var(--white);border:1px solid #e1eaf2;border-radius:18px;box-shadow:var(--shadow)}.form-card{padding:36px 38px}.section-heading{display:flex;gap:14px;align-items:flex-start;margin-bottom:28px}.section-number{font:500 12px 'DM Mono',monospace;color:var(--cyan);background:#eaf9fc;border-radius:7px;padding:5px 7px}.section-heading h2{margin:0;font-size:18px;letter-spacing:-.02em}.section-heading p{margin:5px 0 0;font-size:11px;color:#93a2b4}.field-label{font-size:11px;font-weight:700;color:#71839a;margin-bottom:8px;display:block}.select-wrap{position:relative}.select-wrap select,.text-input{appearance:none;width:100%;height:52px;border:1px solid var(--line);border-radius:9px;background:#fbfdff;color:var(--ink);padding:0 16px;font:500 14px Manrope,"PingFang SC",sans-serif;outline:none}.select-wrap select:focus,.text-input:focus{border-color:#73bfd1;box-shadow:0 0 0 3px #e8f8fb}.select-wrap>span{position:absolute;right:17px;top:15px;color:var(--blue);pointer-events:none}.student-id{height:28px;padding-top:9px;color:#8da0b4;font:11px 'DM Mono',monospace}.books-heading{margin:30px 0 16px}.book-list{display:flex;flex-direction:column;gap:8px}.book-item{display:flex;gap:12px;align-items:flex-start;border:1px solid var(--line);border-radius:10px;padding:12px 13px;cursor:pointer;transition:.18s;background:#fcfeff}.book-item:hover{border-color:#9eced9;background:#f5fcfd}.book-item input{margin-top:3px;accent-color:var(--blue);width:15px;height:15px}.book-info{min-width:0;flex:1}.book-top{display:flex;justify-content:space-between;gap:10px}.book-name{font-size:12px;font-weight:700}.book-kind{font:10px 'DM Mono',monospace;color:#92a3b6;white-space:nowrap}.book-course{font-size:10px;color:#7d8fa4;margin-top:4px}.book-detail{font-size:10px;color:#a2afbd;line-height:1.6;margin-top:7px;white-space:pre-line}.primary-btn,.outline-btn,.ghost-btn{font-family:Manrope,"PingFang SC",sans-serif;cursor:pointer;border-radius:9px;height:50px;padding:0 17px;font-size:12px;font-weight:700}.primary-btn{border:0;background:var(--navy);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:24px;transition:.18s;width:100%;margin-top:20px}.primary-btn:hover{background:var(--blue);transform:translateY(-1px)}.primary-btn:disabled{opacity:.4;cursor:not-allowed;transform:none}.primary-btn b{color:var(--cyan);font-size:18px;font-weight:400}.primary-btn.small{width:auto;height:40px;margin:0;padding:0 14px}.outline-btn{background:#fff;border:1px solid #cbd9e5;color:var(--navy);height:40px}.ghost-btn{border:1px solid #ccd9e4;color:var(--muted);background:transparent;height:38px}.message{min-height:20px;margin-top:12px;font-size:12px;line-height:1.6}.message.success{color:var(--green)}.message.error{color:#c34f52}.loading{font-size:12px;color:#93a2b4;padding:12px}.hidden{display:none!important}.admin-content{display:block;padding:62px 42px 50px}.admin-hero{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:35px}.admin-hero h1{margin-bottom:0;font-size:52px}.admin-login-card{max-width:510px;margin:0 auto;padding:38px}.admin-login-card .text-input{margin-bottom:2px}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-bottom:38px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:21px 23px}.stat-label{font-size:11px;color:#8394a8}.stat-number{font:500 30px 'DM Mono',monospace;color:var(--navy);margin-top:11px}.stat-sub{font-size:10px;color:#a0afbd;margin-top:4px}.toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:15px}.toolbar h2{font-size:18px;margin:0}.toolbar p{font-size:11px;color:#93a2b4;margin:6px 0 0}.toolbar-actions{display:flex;gap:9px}.table-card{overflow:hidden}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;font-size:12px;min-width:720px}th{text-align:left;color:#8a9bae;font:500 10px 'DM Mono',monospace;letter-spacing:.06em;background:#fbfdff;padding:14px 18px;border-bottom:1px solid var(--line)}td{padding:15px 18px;border-bottom:1px solid #edf2f6;color:#456078;vertical-align:top}tr:last-child td{border-bottom:0}.person-name{font-weight:700;color:var(--ink)}.person-id{font:10px 'DM Mono',monospace;color:#a1afbd;margin-top:4px}.badge{display:inline-flex;align-items:center;gap:5px;font-size:10px;padding:5px 8px;border-radius:20px;background:#eaf8f2;color:var(--green)}.badge.pending{background:#f1f4f7;color:#9aa9b8}.book-tags{display:flex;flex-wrap:wrap;gap:5px;max-width:390px}.book-tag{background:#f0f5f9;border-radius:4px;padding:4px 6px;font-size:10px;color:#5f748a}.time{font:10px 'DM Mono',monospace;color:#91a1b2}footer{margin-top:auto;padding:23px 0 25px;border-top:1px solid #e4ebf1;display:flex;justify-content:space-between;color:#a3b0bd;font-size:10px}
@media(max-width:850px){.page-shell{padding:0 20px}.topbar{height:72px}.main-content{display:block;padding:35px 0 40px}.hero{padding:0 5px 38px}.hero h1{font-size:48px;margin-top:18px}.form-card{padding:27px 22px}.admin-content{padding:35px 0}.admin-hero h1{font-size:46px}.stats-grid{gap:8px}.stat-card{padding:16px 13px}.stat-number{font-size:23px}.toolbar{align-items:flex-start;flex-direction:column}.toolbar-actions{width:100%}.toolbar-actions button{flex:1}.admin-login-card{max-width:none}footer{font-size:9px}}
