:root{--bg:#faf6f0;--surface:#fffcf7;--surface-2:#f3ece1;--ink:#2c1e16;--muted:#7a6553;--muted-2:#a48d77;--line:#e5d7c5;--brand:#b45309;--brand-dark:#8a3f0b;--brand-soft:#fbefdc;--accent:#9a3412;--success:#2f6b4f;--success-soft:#eaf3ec;--warn:#b45309;--warn-soft:#fdf1de;--danger:#a84432;--danger-soft:#f9e8e2;--radius:16px;--font-serif:"Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;--shadow:0 1px 2px #402b1a0d, 0 18px 36px -24px #402b1a47;--shadow-lg:0 28px 64px -30px #402b1a6b}*{box-sizing:border-box}html,body{margin:0;padding:0}body{color:var(--ink);-webkit-font-smoothing:antialiased;background-color:#0000;background-image:radial-gradient(1200px 620px at 85% -10%,#fffaf3 0%,#fffaf300 60%),linear-gradient(#faf6f0,#f3ece1);background-position:0 0,0 0;background-repeat:repeat,repeat;background-size:auto,auto;background-attachment:fixed;background-origin:padding-box,padding-box;background-clip:border-box,border-box;font-family:Inter,Segoe UI,system-ui,-apple-system,BlinkMacSystemFont,Helvetica Neue,Arial,sans-serif;font-size:15px;line-height:1.5}h1,h2,h3,h4,p{margin:0}a{color:var(--brand);text-decoration:none}button,input,select,textarea{font:inherit;color:inherit}::selection{color:#2c1e16;background:#f2d6ae}.muted{color:var(--muted)}.tiny{font-size:12px}.nowrap{white-space:nowrap}.sr-only{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.brand{letter-spacing:-.02em;color:var(--ink);align-items:center;gap:10px;font-size:17px;font-weight:750;display:inline-flex}.brand-mark{color:#fff;background:linear-gradient(140deg,#4f46e5,#7c3aed 55%,#06b6d4);border-radius:13px;flex:none;place-items:center;width:40px;height:40px;display:grid;box-shadow:0 10px 20px -10px #4f46e5cc}.brand small{color:var(--muted);letter-spacing:.02em;font-size:11px;font-weight:500;display:block}.appbar{z-index:30;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-bottom:1px solid var(--line);background:#ffffffdb;position:sticky;top:0}.appbar-inner{align-items:center;gap:18px;max-width:1280px;margin:0 auto;padding:12px 28px;display:flex}.appbar-inner .spacer{flex:1}.user-chip{background:var(--surface-2);border:1px solid var(--line);border-radius:999px;align-items:center;gap:10px;padding:6px 8px 6px 6px;display:flex}.user-chip .who{flex-direction:column;padding-right:6px;line-height:1.15;display:flex}.user-chip .who strong{font-size:13px;font-weight:650}.user-chip .who span{color:var(--muted);font-size:11px}.avatar{color:#fff;letter-spacing:.02em;background:linear-gradient(140deg,#4338ca,#0e7490);border-radius:50%;flex:none;place-items:center;width:34px;height:34px;font-size:12px;font-weight:700;display:grid}.container{max-width:1280px;margin:0 auto;padding:26px 28px 72px}.page-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:18px;display:flex}.page-title{letter-spacing:-.03em;font-size:28px;font-weight:760;line-height:1.15}.page-sub{color:var(--muted);margin-top:6px;font-size:14px}.eyebrow{text-transform:uppercase;letter-spacing:.12em;color:var(--brand);margin-bottom:8px;font-size:11px;font-weight:700}.tabs{background:var(--surface);border:1px solid var(--line);scrollbar-width:none;border-radius:999px;gap:4px;width:fit-content;max-width:100%;margin:22px 0 24px;padding:5px;display:flex;overflow-x:auto;box-shadow:0 10px 24px -22px #0f172a99}.tabs::-webkit-scrollbar{display:none}.tab{color:var(--muted);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-radius:999px;align-items:center;gap:8px;padding:9px 15px;font-size:13.5px;font-weight:600;transition:background .16s,color .16s;display:inline-flex}.tab:hover{background:var(--surface-2);color:var(--ink)}.tab .count{color:#b91c1c;background:#fee2e2;border-radius:999px;place-items:center;min-width:20px;height:20px;padding:0 6px;font-size:11px;font-weight:700;display:inline-grid}.grid{gap:16px;display:grid}.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.card-pad{padding:20px}.card-flush{overflow:hidden}.section-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;margin-bottom:16px;display:flex}.section-title{letter-spacing:-.01em;align-items:center;gap:8px;font-size:16px;font-weight:700;display:flex}.section-title svg{color:var(--brand)}.section-desc{color:var(--muted);margin-top:2px;font-size:13px}.stat{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);align-items:flex-start;gap:14px;padding:18px;display:flex}.stat-icon{background:var(--brand-soft);width:42px;height:42px;color:var(--brand);border-radius:12px;flex:none;place-items:center;display:grid}.stat-icon.green{background:var(--success-soft);color:var(--success)}.stat-icon.amber{background:var(--warn-soft);color:var(--warn)}.stat-icon.red{background:var(--danger-soft);color:var(--danger)}.stat-label{color:var(--muted);text-transform:uppercase;letter-spacing:.06em;font-size:12px;font-weight:600}.stat-value{letter-spacing:-.03em;margin-top:4px;font-size:25px;font-weight:760;line-height:1.1}.stat-hint{color:var(--muted);margin-top:4px;font-size:12px}.divider{background:var(--line);height:1px;margin:18px 0}.btn{cursor:pointer;white-space:nowrap;border:1px solid #0000;border-radius:11px;justify-content:center;align-items:center;gap:8px;padding:10px 16px;font-size:13.5px;font-weight:650;transition:transform .12s,box-shadow .16s,background .16s,opacity .16s;display:inline-flex}.btn:active{transform:translateY(1px)}.btn:disabled{opacity:.55;cursor:not-allowed;transform:none}.btn.primary{color:#fff;background:linear-gradient(140deg,#4f46e5,#4338ca);box-shadow:0 10px 22px -12px #4f46e5e6}.btn.primary:hover:not(:disabled){filter:brightness(1.06)}.btn.secondary{background:var(--surface);border-color:var(--line);color:var(--ink)}.btn.secondary:hover:not(:disabled){background:var(--surface-2)}.btn.ghost{color:var(--muted);background:0 0}.btn.ghost:hover:not(:disabled){background:var(--surface-2);color:var(--ink)}.btn.danger{background:var(--danger-soft);color:#b91c1c;border-color:#fecaca}.btn.success{background:var(--success-soft);color:var(--success);border-color:#a7f3d0}.btn.sm{border-radius:9px;padding:7px 12px;font-size:12.5px}.btn.block{width:100%}.btn.link{color:var(--brand);background:0 0;border:0;padding:0;font-weight:600}.btn.link:hover{text-decoration:underline}.field{flex-direction:column;gap:6px;display:flex}.field label{color:#334155;font-size:12.5px;font-weight:650}.input,.select,.textarea{border:1px solid var(--line);background:var(--surface);width:100%;color:var(--ink);border-radius:11px;outline:none;padding:11px 13px;font-size:14px;transition:border-color .15s,box-shadow .15s}.textarea{resize:vertical;min-height:88px}.select{appearance:none;background-image:url("data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748b' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");background-position:right 13px center;background-repeat:no-repeat;padding-right:34px}.form-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px;display:grid}.form-row{flex-wrap:wrap;align-items:flex-end;gap:10px;display:flex}.hint{color:var(--muted);font-size:12px}.alert{border:1px solid #0000;border-radius:12px;align-items:flex-start;gap:10px;padding:11px 13px;font-size:13px;display:flex}.alert svg{flex:none;margin-top:1px}.alert.error{background:var(--danger-soft);color:#b91c1c;border-color:#fecaca}.alert.success{background:var(--success-soft);color:var(--success);border-color:#a7f3d0}.alert.info{background:var(--brand-soft);color:#3730a3;border-color:#c7d2fe}.pill{letter-spacing:.01em;color:#475569;white-space:nowrap;background:#f1f5f9;border-radius:999px;align-items:center;gap:5px;padding:4px 10px;font-size:11.5px;font-weight:700;display:inline-flex}.pill:before{content:"";opacity:.75;background:currentColor;border-radius:50%;width:6px;height:6px}.pill.available,.pill.active,.pill.completed,.pill.approved,.pill.ready{background:var(--success-soft);color:var(--success)}.pill.issued,.pill.pending,.pill.returned{background:var(--warn-soft);color:var(--warn)}.pill.lost,.pill.overdue,.pill.suspended,.pill.rejected{background:var(--danger-soft);color:var(--danger)}.pill.neutral{color:#475569;background:#f1f5f9}.pill.neutral:before{display:none}.toolbar{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.search{flex:1;min-width:220px;position:relative}.search svg{color:var(--muted-2);position:absolute;top:50%;left:12px;transform:translateY(-50%)}.search .input{padding-left:38px}.book-grid{grid-template-columns:repeat(auto-fill,minmax(255px,1fr));gap:16px;display:grid}.book-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);flex-direction:column;transition:transform .16s,box-shadow .16s;display:flex;overflow:hidden}.book-card:hover{box-shadow:var(--shadow-lg);transform:translateY(-2px)}.book-cover{color:#fff;background:linear-gradient(135deg,#312e81,#4f46e5 55%,#0891b2);justify-content:space-between;align-items:flex-start;height:108px;padding:14px 16px;display:flex;position:relative;overflow:hidden}.book-cover:after{content:"";background:#ffffff1f;border-radius:50%;width:160px;height:160px;position:absolute;bottom:-90px;right:-60px}.book-cover .initials{letter-spacing:-.04em;opacity:.95;text-shadow:0 2px 12px #00000040;font-size:28px;font-weight:800}.book-cover .cover-icon{opacity:.5}.book-body{flex-direction:column;flex:1;gap:4px;padding:15px 16px 10px;display:flex}.book-title{letter-spacing:-.01em;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:14.5px;font-weight:700;line-height:1.35;display:-webkit-box;overflow:hidden}.book-author{color:var(--muted);font-size:12.5px}.book-meta{flex-wrap:wrap;align-items:center;gap:8px;margin-top:8px;display:flex}.dept-chip{color:#4338ca;background:var(--brand-soft);border-radius:6px;padding:3px 7px;font-size:11px;font-weight:650}.book-foot{border-top:1px solid var(--line);background:var(--surface-2);justify-content:space-between;align-items:center;gap:10px;padding:12px 16px;display:flex}.stars{color:#f59e0b;align-items:center;gap:2px;display:inline-flex}.stars svg{fill:currentColor;stroke:none}.stars .empty{color:#cbd5e1}.stars .half{opacity:.55}.rating-text{color:var(--muted);margin-left:4px;font-size:11.5px;font-weight:600}.star-picker{gap:4px;display:inline-flex}.star-picker button{cursor:pointer;color:#cbd5e1;background:0 0;border:0;padding:2px;line-height:0}.star-picker button.on{color:#f59e0b}.star-picker button.on svg{fill:currentColor;stroke:none}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:13.5px}thead th{text-align:left;letter-spacing:.07em;text-transform:uppercase;color:var(--muted);background:var(--surface-2);border-bottom:1px solid var(--line);white-space:nowrap;padding:12px 16px;font-size:11px;font-weight:700}tbody td{vertical-align:middle;border-bottom:1px solid #eef2f7;padding:13px 16px}tbody tr:last-child td{border-bottom:0}td .title-cell{font-weight:650}.cell-sub{color:var(--muted);margin-top:2px;font-size:11.5px}.actions{flex-wrap:wrap;gap:7px;display:flex}.icon-btn{padding:6px 8px}.menu-scrim{z-index:70;position:fixed;inset:0}.menu-pop{z-index:71;background:var(--surface);border:1px solid var(--line);border-radius:12px;flex-direction:column;gap:2px;min-width:168px;padding:6px;display:flex;position:fixed;box-shadow:0 22px 44px -22px #2d1c1080}.menu-item{width:100%;color:var(--ink);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:8px;padding:9px 10px;font-size:13px;font-weight:600;display:flex}.menu-item:hover{background:var(--brand-soft)}.menu-item.danger{color:#a03f2e}.menu-item.danger:hover{background:#f8e7e0}.menu-count{color:#a34b08;background:#fbefdc;border-radius:999px;justify-content:center;align-items:center;min-width:20px;height:20px;margin-left:6px;padding:0 6px;font-size:11px;font-weight:700;display:inline-flex}.empty{text-align:center;color:var(--muted);padding:44px 22px}.empty-icon{background:var(--brand-soft);width:54px;height:54px;color:var(--brand);border-radius:16px;place-items:center;margin:0 auto 14px;display:grid}.empty h3{color:var(--ink);margin-bottom:4px;font-size:15px}.empty p{max-width:420px;margin:0 auto;font-size:13px}.loading-page{min-height:100vh;color:var(--muted);place-items:center;gap:14px;font-size:13px;display:grid}.spinner{border:2px solid #94a3b859;border-top-color:var(--brand);border-radius:50%;width:18px;height:18px;animation:.7s linear infinite spin;display:inline-block}.spin{animation:1s linear infinite spin}.spinner.lg{border-width:3px;width:34px;height:34px}.spinner.white{border-color:#fff #ffffff59 #ffffff59}.skeleton{background:linear-gradient(90deg,#eef2f7 25%,#f8fafc 37%,#eef2f7 63%) 0 0/400% 100%;border-radius:10px;height:14px;animation:1.3s infinite shimmer}.skeleton.block{height:96px}@keyframes spin{to{transform:rotate(360deg)}}@keyframes shimmer{0%{background-position:100%}to{background-position:0}}.modal-backdrop{z-index:60;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0f172a8c;place-items:center;padding:20px;animation:.15s fade;display:grid;position:fixed;inset:0}.modal{background:var(--surface);width:100%;max-width:560px;max-height:90vh;box-shadow:var(--shadow-lg);border-radius:20px;animation:.18s pop;overflow-y:auto}.modal.wide{max-width:720px}.modal-head{justify-content:space-between;align-items:flex-start;gap:14px;padding:20px 22px 0;display:flex}.modal-title{letter-spacing:-.02em;font-size:17px;font-weight:750}.modal-sub{color:var(--muted);margin-top:2px;font-size:12.5px}.modal-close{border:1px solid var(--line);background:var(--surface);cursor:pointer;width:32px;height:32px;color:var(--muted);border-radius:9px;flex:none;place-items:center;display:grid}.modal-close:hover{background:var(--surface-2);color:var(--ink)}.modal-body{padding:18px 22px 22px}.modal-foot{flex-wrap:wrap;justify-content:flex-end;gap:10px;padding:0 22px 22px;display:flex}@keyframes fade{0%{opacity:0}}@keyframes pop{0%{opacity:0;transform:translateY(10px)scale(.985)}}.toast-stack{z-index:100;flex-direction:column;gap:10px;max-width:min(380px,100vw - 40px);display:flex;position:fixed;bottom:20px;right:20px}.toast{color:#f8fafc;background:#0f172a;border-radius:13px;align-items:flex-start;gap:10px;padding:12px 14px;font-size:13px;animation:.22s cubic-bezier(.2,.8,.2,1) toast-in;display:flex;box-shadow:0 20px 40px -16px #0f172ab3}.toast .toast-icon{flex:none;margin-top:1px}.toast .toast-close{color:#94a3b8;cursor:pointer;background:0 0;border:0;margin-left:auto;padding:0;line-height:0}.toast .toast-close:hover{color:#fff}@keyframes toast-in{0%{opacity:0;transform:translateY(10px)}}.auth{grid-template-columns:1.05fr 1fr;min-height:100vh;display:grid}.auth-hero{color:#fff;background:radial-gradient(900px 500px at 90% -10%,#0ea5e98c,#0000 60%),radial-gradient(700px 500px at 0 100%,#8b5cf68c,#0000 60%),linear-gradient(150deg,#1e1b4b,#312e81 45%,#0e7490);flex-direction:column;justify-content:space-between;gap:40px;padding:54px 56px;display:flex;position:relative;overflow:hidden}.auth-hero:after{content:"";pointer-events:none;border:1px solid #ffffff29;border-radius:50%;width:420px;height:420px;position:absolute;top:40px;right:-140px;box-shadow:0 0 0 60px #ffffff0a,0 0 0 140px #ffffff08}.auth-hero .brand{color:#fff;font-size:18px}.auth-hero .brand small{color:#ffffffa6}.auth-hero .brand-mark{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#ffffff29;box-shadow:inset 0 0 0 1px #ffffff40}.auth-hero h1{letter-spacing:-.035em;max-width:12ch;margin-bottom:18px;font-size:clamp(30px,3.4vw,44px);font-weight:780;line-height:1.1}.auth-hero .lede{color:#ffffffc7;max-width:42ch;font-size:15px}.hero-list{gap:12px;margin-top:28px;padding:0;list-style:none;display:grid}.hero-list li{color:#ffffffdb;align-items:center;gap:11px;font-size:13.5px;display:flex}.hero-list .tick{color:#a5f3fc;background:#ffffff24;border-radius:8px;flex:none;place-items:center;width:26px;height:26px;display:grid}.hero-foot{z-index:1;color:#fff9;flex-wrap:wrap;align-items:center;gap:20px;font-size:12px;display:flex;position:relative}.hero-foot .dot{background:#34d399;border-radius:50%;width:6px;height:6px;margin-right:6px;display:inline-block;box-shadow:0 0 0 3px #34d39933}.auth-panel{background:linear-gradient(#f8fafc,#eef2f9);place-items:center;padding:40px 26px;display:grid}.auth-card{background:var(--surface);border:1px solid var(--line);width:100%;max-width:430px;box-shadow:var(--shadow-lg);border-radius:22px;padding:28px}.auth-card h2{letter-spacing:-.03em;font-size:23px;font-weight:760}.auth-card .sub{color:var(--muted);margin:6px 0 20px;font-size:13.5px}.auth-tabs{background:var(--surface-2);border:1px solid var(--line);border-radius:12px;grid-template-columns:1fr 1fr;gap:4px;margin-bottom:20px;padding:4px;display:grid}.auth-tabs button{color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:9px;padding:9px;font-size:13px;font-weight:650}.auth-tabs button.active{background:var(--surface);color:var(--ink);box-shadow:0 2px 8px -2px #0f172a26}.auth-form{gap:14px;display:grid}.pw-wrap{position:relative}.pw-wrap .input{padding-right:42px}.pw-toggle{color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:8px;padding:6px;line-height:0;position:absolute;top:50%;right:6px;transform:translateY(-50%)}.pw-toggle:hover{background:var(--surface-2);color:var(--ink)}.auth-divider{color:var(--muted-2);text-transform:uppercase;letter-spacing:.1em;align-items:center;gap:12px;margin:4px 0;font-size:11px;display:flex}.auth-divider:before,.auth-divider:after{content:"";background:var(--line);flex:1;height:1px}.amount-hero{color:#fff;background:radial-gradient(500px 200px at 100% 0,#06b6d480,#0000 60%),linear-gradient(135deg,#312e81,#4338ca);border-radius:16px;margin-bottom:18px;padding:22px}.amount-hero .label{text-transform:uppercase;letter-spacing:.1em;opacity:.75;font-size:11.5px;font-weight:700}.amount-hero .value{letter-spacing:-.03em;margin-top:4px;font-size:36px;font-weight:800}.amount-hero .meta{opacity:.8;margin-top:4px;font-size:12px}.method-grid{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:16px;display:grid}.method-card{border:1.5px solid var(--line);background:var(--surface);cursor:pointer;border-radius:13px;align-items:center;gap:11px;padding:14px;font-size:13.5px;font-weight:650;transition:border-color .15s,background .15s,box-shadow .15s;display:flex}.method-card .m-icon{background:var(--surface-2);width:36px;height:36px;color:var(--muted);border-radius:10px;place-items:center;display:grid}.method-card.active .m-icon{background:var(--brand-soft);color:var(--brand)}.pay-summary{background:var(--surface-2);border:1px solid var(--line);border-radius:13px;gap:8px;margin-bottom:16px;padding:14px;font-size:13px;display:grid}.pay-summary .row{justify-content:space-between;gap:12px;display:flex}.secure-note{color:var(--muted);justify-content:center;align-items:center;gap:6px;margin-top:12px;font-size:11.5px;display:flex}.processing{text-align:center;padding:34px 10px}.processing h3{margin:16px 0 4px;font-size:16px}.processing p{color:var(--muted);font-size:13px}.receipt{border:1px solid var(--line);background:#fff;border-radius:14px;padding:20px;font-size:13px}.receipt-head{text-align:center;border-bottom:1px dashed var(--line);padding-bottom:14px}.receipt-head .r-mark{color:#fff;background:linear-gradient(140deg,#4f46e5,#0891b2);border-radius:12px;place-items:center;width:42px;height:42px;margin:0 auto 10px;display:grid}.receipt-head h3{letter-spacing:-.01em;font-size:15px}.receipt-head p{color:var(--muted);margin-top:3px;font-size:11.5px}.receipt-lines{border-bottom:1px dashed var(--line);gap:9px;padding:16px 0;display:grid}.receipt-line{justify-content:space-between;gap:16px;display:flex}.receipt-line .k{color:var(--muted)}.receipt-line .v{text-align:right;word-break:break-word;font-weight:600}.receipt-total{justify-content:space-between;align-items:center;padding-top:14px;font-size:15px;font-weight:750;display:flex}.receipt-foot{border-top:1px dashed var(--line);color:var(--muted);text-align:center;margin-top:14px;padding-top:12px;font-size:11px}.receipt-actions{flex-wrap:wrap;gap:10px;margin-top:16px;display:flex}.paid-check{background:var(--success-soft);width:60px;height:60px;color:var(--success);border-radius:50%;place-items:center;margin:0 auto 10px;display:grid}.notice-list{gap:12px;display:grid}.notice-item{border:1px solid var(--line);background:var(--surface);border-radius:13px;gap:13px;padding:15px 16px;display:flex}.notice-icon{background:var(--brand-soft);width:36px;height:36px;color:var(--brand);border-radius:10px;flex:none;place-items:center;display:grid}.notice-item p{font-size:13.5px;line-height:1.55}.notice-item .meta{color:var(--muted);margin-top:6px;font-size:11.5px}.alert-strip{color:#92400e;background:#fffbeb;border:1px solid #fcd34d;border-radius:13px;align-items:center;gap:11px;margin-bottom:18px;padding:12px 15px;font-size:13px;display:flex}.alert-strip strong{font-weight:700}.alert-strip svg{flex:none}.alert-lines{gap:3px;margin-top:4px;font-size:12.5px;display:grid}.copy-count{color:var(--muted);white-space:nowrap;background:#f1f5f9;border-radius:6px;padding:3px 7px;font-size:11px;font-weight:650}.bar{background:#eef2f7;border-radius:999px;height:8px;overflow:hidden}.bar-fill{background:linear-gradient(90deg,#6366f1,#06b6d4);border-radius:999px;height:100%}.kv{gap:10px;margin:0;display:grid}.kv>div{border-bottom:1px dashed #eef2f7;justify-content:space-between;gap:14px;padding-bottom:8px;font-size:13px;display:flex}.kv>div:last-child{border-bottom:0;padding-bottom:0}.kv dt{color:var(--muted)}.kv dd{text-align:right;margin:0;font-weight:650}.dept-cards{grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:14px;display:grid}.dept-card{border:1px solid var(--line);background:linear-gradient(#fff,#fbfcfe);border-radius:14px;padding:17px}.dept-card .d-icon{background:var(--brand-soft);width:38px;height:38px;color:var(--brand);border-radius:11px;place-items:center;margin-bottom:12px;display:grid}.dept-card h4{font-size:14.5px;font-weight:700}.dept-card .d-meta{color:var(--muted);gap:14px;margin-top:4px;font-size:12px;display:flex}.filters{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.filters .select{width:auto;min-width:150px}.hero-strip{color:#fff;box-shadow:var(--shadow-lg);background:radial-gradient(600px 220px at 100% 0,#06b6d480,#0000 60%),linear-gradient(130deg,#312e81,#4338ca 60%,#0e7490);border-radius:18px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px;padding:22px 24px;display:flex}.hero-strip h2{letter-spacing:-.02em;margin-bottom:4px;font-size:21px}.hero-strip p{color:#fffc;font-size:13px}.hero-strip .hero-badges{flex-wrap:wrap;gap:10px;display:flex}.hero-badge{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#ffffff21;border:1px solid #ffffff2e;border-radius:12px;min-width:92px;padding:10px 14px}.hero-badge .n{letter-spacing:-.02em;font-size:19px;font-weight:760}.hero-badge .l{color:#ffffffbf;font-size:11px}.two-col{grid-template-columns:1.4fr 1fr;align-items:start;gap:16px;display:grid}.review{border-bottom:1px dashed var(--line);padding:13px 0}.review:last-child{border-bottom:0}.review-top{justify-content:space-between;align-items:center;gap:12px;margin-bottom:4px;display:flex}.review-top strong{font-size:13px}.review p{color:#334155;font-size:13px}.review .date{color:var(--muted);font-size:11px}.request-card{border:1px solid var(--line);background:var(--surface);border-radius:13px;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:14px;padding:16px;display:flex}.request-card .r-info{flex:1;min-width:220px}.request-card h4{font-size:14px;font-weight:700}.request-card .r-meta{color:var(--muted);margin-top:3px;font-size:12px}.stack{gap:12px;display:grid}.inline{align-items:center;gap:7px;display:inline-flex}.w-full{width:100%}@media (max-width:1080px){.cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}.two-col,.auth{grid-template-columns:1fr}.auth-hero{padding:36px}.auth-hero h1{max-width:20ch;font-size:32px}.hero-list{margin-top:18px}}@media (max-width:820px){.cols-3{grid-template-columns:repeat(2,minmax(0,1fr))}.container{padding:20px 18px 60px}.appbar-inner{padding:10px 18px}.user-chip .who{display:none}.page-title{font-size:23px}}@media (max-width:620px){.cols-2,.cols-3,.cols-4{grid-template-columns:1fr}.auth-hero{display:none}.auth-panel{align-items:center;min-height:100vh;padding:26px 16px}.auth-card{padding:22px}.method-grid,.book-grid{grid-template-columns:1fr}.page-head{align-items:flex-start}.modal{border-radius:16px}.tabs{border-radius:14px;width:100%}.tab{padding:9px 12px;font-size:12.5px}}@media print{body{background:#fff}body *{visibility:hidden}.print-area,.print-area *{visibility:visible}.print-area{border:0;width:100%;padding:0;position:absolute;inset:0 auto auto 0}.modal-backdrop{-webkit-backdrop-filter:none;backdrop-filter:none;background:#fff;padding:0;display:block;position:static}.modal{box-shadow:none;border-radius:0;max-height:none}.no-print{display:none!important}}.auth{--bg:#f2e7d7;--surface:#fffaf1;--surface-2:#f7ecdb;--ink:#2b2118;--muted:#7a6551;--muted-2:#a18a70;--line:#e3d3bc;--brand:#b45309;--brand-dark:#8a3f0b;--brand-soft:#fbefdb;--accent:#9a3412;background:#f2e7d7}.auth .auth-hero{color:#fff8ee;background-color:#2a1a0f;background-image:linear-gradient(90deg,#160d08a8 0%,#180f094d 58%,#180f097a 100%),linear-gradient(#180f0980 0%,#1d120bb3 55%,#140c07f2 100%),url(https://images.unsplash.com/photo-1481627834876-b7833e8f5570?auto=format&fit=crop&w=2000&q=85);background-position:50%;background-repeat:no-repeat;background-size:cover;padding:48px 54px;position:relative;overflow:hidden}.auth .auth-hero:before{content:"";z-index:0;pointer-events:none;background:radial-gradient(760px 480px at 18% 12%,#d68d4033,#0000 66%);position:absolute;inset:0}.auth .auth-hero:after{content:none}.auth .auth-hero>*{z-index:1;position:relative}.auth .auth-hero .brand{color:#fff8ee;font-size:18px}.auth .auth-hero .brand small{color:#fff3e2ad}.auth .auth-hero .brand-mark{color:#ffefd1;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#ffeed024;border:1px solid #ffeed04d;box-shadow:inset 0 0 0 1px #ffffff14,0 14px 30px -18px #000000e6}.auth .eyebrow{color:#f2c98c;letter-spacing:.15em;margin-bottom:12px;font-size:10.5px}.auth .auth-hero h1{letter-spacing:-.025em;color:#fff7ea;text-shadow:0 2px 30px #0006;max-width:13ch;margin-bottom:18px;font-family:Iowan Old Style,Palatino Linotype,Palatino,Georgia,serif;font-size:clamp(34px,3.8vw,50px);font-weight:700;line-height:1.04}.auth .auth-hero .lede{color:#fff5e8d6;max-width:43ch;font-size:14.5px;line-height:1.65}.auth .hero-list{gap:11px;margin-top:24px}.auth .hero-list li{color:#fff6eae6;font-size:13px}.auth .hero-list .tick{color:#f3c98c;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#ffefd51f;border:1px solid #ffefd52e;border-radius:9px;width:27px;height:27px}.auth .campus-preview{-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#2f1d1175;border:1px solid #ffefd538;border-radius:14px;max-width:460px;margin-top:24px;padding:12px 15px 13px;box-shadow:0 22px 48px -30px #000000e6,inset 0 1px #ffffff14}.auth .campus-preview-label{letter-spacing:.17em;text-transform:uppercase;color:#edc491;margin-bottom:7px;font-size:9px;font-weight:750}.auth .campus-items{color:#fff6e9e6;flex-wrap:wrap;align-items:center;gap:6px 9px;font-size:11.5px;line-height:1.35;display:flex}.auth .campus-item{align-items:center;gap:6px;display:inline-flex}.auth .campus-item svg{color:#e5b87e;flex:none}.auth .campus-sep{background:#ffebce73;border-radius:50%;flex:none;width:3px;height:3px}.auth .hero-foot{color:#fff2e09e;font-size:11.5px}.auth .hero-foot .dot{background:#e8b36c;box-shadow:0 0 0 3px #e8b36c2e}.auth .auth-panel{background:radial-gradient(900px 560px at 85% -10%,#fffaef 0%,#fffaef00 58%),linear-gradient(#f6eddf,#eadac4);padding:40px 26px}.auth .auth-stack{gap:16px;width:100%;max-width:430px;display:grid}.auth .auth-card{background:#fffcf5;border:1px solid #e6d4b9;border-radius:20px;width:100%;max-width:430px;padding:30px;position:relative;overflow:hidden;box-shadow:0 36px 72px -42px #4a2c1494,inset 0 2px #ffffffe6}.auth .auth-card:before{content:"";background:linear-gradient(90deg,#b45309,#d97706 55%,#92400e);height:3px;position:absolute;top:0;left:0;right:0}.auth .auth-kicker{letter-spacing:.16em;text-transform:uppercase;color:#a57d50;margin-bottom:8px;font-size:9.5px;font-weight:750}.auth .auth-card h2{letter-spacing:-.02em;color:#302317;font-family:Iowan Old Style,Palatino Linotype,Palatino,Georgia,serif;font-size:26px;font-weight:700;line-height:1.15}.auth .auth-card .sub{color:#7c6753;margin:7px 0 20px;font-size:13px;line-height:1.55}.auth .field label{color:#5c4632;letter-spacing:.01em;font-size:12px;font-weight:700}.auth .input,.auth .select,.auth .textarea{color:#2b2118;background:#fffdf8;border-color:#ddcab0;border-radius:11px;box-shadow:inset 0 1px 2px #5032180d}.auth .input::placeholder,.auth .textarea::placeholder{color:#a68f76}.auth .input:focus,.auth .select:focus,.auth .textarea:focus{border-color:#b45309;box-shadow:0 0 0 4px #b4530924}.auth .pw-toggle{color:#8b745d}.auth .pw-toggle:hover{color:#4d3725;background:#f5ead9}.auth .btn.primary{letter-spacing:.01em;background:linear-gradient(140deg,#b45309,#9a3412);box-shadow:0 12px 24px -13px #9a3412cc}.auth .btn.primary:hover:not(:disabled){filter:brightness(1.07)}.auth .alert.info{color:#7c4a16;background:#fdf3e3;border-color:#ecd4b0}.auth .hint{color:#8a725a;line-height:1.5}.auth .team-credit{text-align:center;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#fffaf2b8;border:1px solid #e5d3ba;border-radius:14px;width:100%;max-width:430px;padding:12px 18px 14px;box-shadow:0 14px 30px -28px #4a2c148c}.auth .credit-label{letter-spacing:.18em;text-transform:uppercase;color:#a17f5c;font-size:9px;font-weight:750}.auth .credit-lead{width:max-content;margin:4px auto 2px;line-height:1.2;position:relative}.auth .credit-name{letter-spacing:-.01em;color:#3f2b1c;font-family:Iowan Old Style,Palatino Linotype,Palatino,Georgia,serif;font-size:17px;font-weight:700;line-height:1.3;display:inline-block}.auth .credit-row{grid-template-columns:1fr 1fr;gap:16px;margin-top:3px;display:grid}.auth .credit-row span{text-align:center}@media (max-width:1080px){.auth .auth-hero{min-height:480px;padding:38px}.auth .auth-hero h1{max-width:17ch}}@media (max-width:620px){.auth .auth-hero{gap:22px;min-height:0;padding:26px 20px 24px;display:flex}.auth .auth-hero h1{max-width:15ch;margin-bottom:12px;font-size:30px}.auth .auth-hero .lede{font-size:13px;line-height:1.55}.auth .hero-list,.auth .hero-foot{display:none}.auth .campus-preview{margin-top:16px;padding:10px 12px}.auth .campus-items{font-size:11px}.auth .auth-panel{min-height:0;padding:24px 16px 36px}.auth .auth-card{padding:25px 20px}.auth .auth-card h2{font-size:24px}.auth .auth-stack{gap:14px}.auth .credit-name{font-size:15px}}.page-title,.hero-strip h2,.section-title,.modal-title,.book-title,.stat-value,.empty h3,.dept-card h4,.processing h3,.receipt-head h3,.amount-hero .value{font-family:var(--font-serif);letter-spacing:-.015em;font-weight:700}.page-title{font-size:30px;line-height:1.12}.hero-strip h2{font-size:23px}.section-title{font-size:17px}.book-title{font-size:15.5px;line-height:1.32}.stat-value{font-size:26px}.brand-mark{background:linear-gradient(140deg,#b45309,#8a3f0b);box-shadow:0 10px 20px -12px #8a3f0bb3}.avatar{background:linear-gradient(140deg,#b45309,#7a3b16)}.appbar{color:#fff8ee;background:#2b1b11f7;border-bottom:1px solid #ffebcd24;box-shadow:0 12px 32px -26px #190f09f2}.appbar .brand{color:#fff8ee}.appbar .brand small{color:#fff3e29e}.appbar .brand-mark{color:#f7d6a2;background:#ffeed021;border:1px solid #ffeed042;box-shadow:inset 0 1px #ffffff14}.appbar .user-chip{color:#fff8ee;background:#fff5e614;border-color:#ffebcd2e}.appbar .user-chip .who strong{color:#fff8ee}.appbar .user-chip .who span{color:#fff3e2a6}.appbar .avatar{color:#fff8ee;background:linear-gradient(140deg,#c2701c,#8a3f0b);border:1px solid #ffeed038}.appbar .btn.secondary{color:#fff3df;background:0 0;border-color:#ffeed04d}.appbar .btn.secondary:hover:not(:disabled){color:#fffaf2;background:#fff5e61a}.tabs{border-color:var(--line);background:#fffcf7;box-shadow:0 12px 28px -26px #402b1a99}.tab{color:#7d6755}.tab:hover{color:var(--ink);background:#f5ecdf}.tab.active{color:#fff8ee;background:linear-gradient(140deg,#b45309,#9a3412);box-shadow:0 10px 20px -12px #9a3412bf}.tab .count{color:#92400e;background:#f6e2c7}.tab.active .count{color:#fff8ee;background:#fff8eb33}.card,.stat,.book-card,.notice-item,.request-card{background:var(--surface);border-color:var(--line)}.stat-icon.cyan{color:#5b6b3f;background:#eef0e5}.section-desc,.stat-label,.stat-hint,.page-sub,.cell-sub,.muted{color:var(--muted)}.field label{color:#5b4634}.input,.select,.textarea{background:#fffdf9;border-color:#dfcdb5;box-shadow:inset 0 1px 2px #5032180a}.input::placeholder,.textarea::placeholder{color:#a68f76}.input:focus,.select:focus,.textarea:focus{border-color:#b45309;box-shadow:0 0 0 4px #b4530924}.select{background-image:url("data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%237a6553' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E")}.btn.primary{background:linear-gradient(140deg,#b45309,#9a3412);box-shadow:0 10px 22px -13px #9a3412bf}.btn.danger{color:#9c3b2b;border-color:#e7c4b7}.btn.danger:hover:not(:disabled){background:#f6ded6}.btn.success{border-color:#c9dccd}.pill,.pill.neutral{color:#6f5b48;background:#f3ece1}.pill.available,.pill.active,.pill.completed,.pill.approved,.pill.ready{color:#2f6b4f;background:#e9f1eb}.pill.issued,.pill.pending,.pill.returned{color:#a34b08;background:#fbefdc}.pill.lost,.pill.overdue,.pill.suspended,.pill.rejected{color:#a03f2e;background:#f8e7e0}.book-cover{background:linear-gradient(135deg,#3b2517,#7a4a1f 55%,#b45309)}.book-cover.alt-1{background:linear-gradient(135deg,#233a2c,#40654a 58%,#7f8b4f)}.book-cover.alt-2{background:linear-gradient(135deg,#521f18,#9a3412 58%,#c2701c)}.book-cover.alt-3{background:linear-gradient(135deg,#2e2118,#5b3a22 58%,#8a5a2b)}.book-cover .initials{font-family:var(--font-serif);letter-spacing:-.02em;font-weight:700}.dept-chip{color:#92400e;background:#fbefdc}.copy-count{color:#7a6553;background:#f3ece1}.stars .empty,.star-picker button{color:#d8c9b6}.rating-text{color:var(--muted)}thead th{color:#826a52;border-bottom-color:var(--line);background:#f5ede1}tbody td{border-bottom-color:#f0e7db}tbody tr:hover{background:#fdf8ef}.modal-backdrop{background:#24170e8f}.modal{background:var(--surface);border:1px solid var(--line);box-shadow:0 36px 80px -36px #2d1c108c}.modal-close{background:var(--surface)}.skeleton{background:linear-gradient(90deg,#efe6d8 25%,#faf5ec 37%,#efe6d8 63%) 0 0/400% 100%}.spinner{border-color:#b4530938;border-top-color:var(--brand)}.empty-icon{background:var(--brand-soft);color:var(--brand)}.alert.error{color:#9c3b2b;border-color:#e7c4b7}.alert.success{color:var(--success);border-color:#c9dccd}.alert.info{color:#7c4a16;border-color:#ecd4b0}.alert-strip{color:#8a4a10;background:#fdf4e4;border-color:#e7c79a}.alert-strip.due-alert{color:#963b2b;background:#fbf0eb;border-color:#e7c4b7}.alert-strip.ready-alert{color:#2f6b4f;background:#edf4ef;border-color:#c9dccd}.hero-strip{color:#fff8ee;background:radial-gradient(700px 280px at 92% -10%,#d3914059,#0000 62%),linear-gradient(130deg,#2b1b10,#4a2e18 55%,#2b1b10);border:1px solid #ffebcd1f;box-shadow:0 24px 52px -30px #2b1b1199}.hero-strip h2{color:#fff7ea}.hero-strip p{color:#fff4e5bd}.hero-strip .eyebrow{color:#f2c98c}.hero-badge{background:#fff4e514;border-color:#fff4e529}.hero-badge .l{color:#fff4e5ad}.dept-card{background:linear-gradient(#fffdf8,#f8f1e5)}.amount-hero{background:radial-gradient(500px 200px at 100% 0,#d68d4052,#0000 62%),linear-gradient(135deg,#3a2516,#7a4a22)}.method-card.active{background:#fdf6ea;border-color:#d8a468;box-shadow:0 0 0 3px #b453091f}.receipt{background:#fffdf8}.receipt-head .r-mark{background:linear-gradient(140deg,#b45309,#9a3412)}.toast{color:#fff8ee;background:#2b1b10;box-shadow:0 22px 44px -18px #24170eb3}.toast.success .toast-icon{color:#a9d6b9}.toast.error .toast-icon{color:#efb4a2}.toast.info .toast-icon{color:#f0c98c}.toast .toast-close{color:#c6b098}.bar{background:#e9ddcb}.bar-fill{background:linear-gradient(90deg,#b45309,#d58a3a)}.review p{color:#4d3a2a}.kv>div{border-color:var(--line)}@media print{body{background:#fff}}
