@import"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500;1,600;1,700&display=swap";:root{font-family:DM Sans,sans-serif;color:#29231f;background:#f8f5ef;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--maroon: #6f1828;--maroon-dark: #4d101c;--maroon-light: #8c3040;--gold: #c7a35c;--gold-light: #e6d3a8;--cream: #f8f5ef;--paper: #fffdf9;--ink: #29231f;--muted: #81786e;--line: #e9e1d6;--soft: #f2ece3;--green: #367653;--red: #a43d3d;--shadow: 0 14px 40px rgba(51, 31, 22, .07);--radius: 16px;--radius-lg: 23px}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;min-width:320px;min-height:100vh;background:var(--cream);color:var(--ink)}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid rgba(199,163,92,.45);outline-offset:3px}a{color:inherit;text-decoration:none}img{max-width:100%}::selection{color:#fff;background:var(--maroon)}html[data-theme=dark]{color-scheme:dark;--cream: #171412;--paper: #211c19;--ink: #f0e9df;--muted: #aaa096;--line: #39312b;--soft: #2b2420;--shadow: 0 14px 40px rgba(0, 0, 0, .23);--gold-light: #806a42}html[data-theme=dark] body{background:var(--cream);color:var(--ink)}html[data-theme=dark] .topbar{background:#1d1815f5;border-color:var(--line)}html[data-theme=dark] .brand strong{color:#f5eee5}html[data-theme=dark] .brand small{color:#aaa096}html[data-theme=dark] .nav-links button{color:#d5cabe}html[data-theme=dark] .nav-links button:hover{color:var(--gold)}html[data-theme=dark] .hero{background:radial-gradient(circle at 80% 20%,rgba(111,24,40,.28),transparent 35%),#211a17}html[data-theme=dark] .hero h1,html[data-theme=dark] .section-heading h2,html[data-theme=dark] .how-intro h2{color:#f4ede4}html[data-theme=dark] .hero-copy>p,html[data-theme=dark] .section-heading p,html[data-theme=dark] .how-section p{color:#b7aa9e}html[data-theme=dark] .catalogue-section{background:#171412}html[data-theme=dark] .search-box,html[data-theme=dark] .book-card,html[data-theme=dark] .modal,html[data-theme=dark] .student-card,html[data-theme=dark] .teacher-card,html[data-theme=dark] .principal-card,html[data-theme=dark] .student-stat,html[data-theme=dark] .teacher-metric{background:var(--paper);border-color:var(--line)}html[data-theme=dark] .search-box input,html[data-theme=dark] input,html[data-theme=dark] textarea,html[data-theme=dark] select{color:var(--ink)}html[data-theme=dark] .search-box input::placeholder,html[data-theme=dark] textarea::placeholder{color:#8e8277}html[data-theme=dark] .category-chip{color:#d0c5b9;background:#28221e;border-color:#40362e}html[data-theme=dark] .category-chip.active{color:#fff;background:var(--maroon);border-color:var(--maroon)}html[data-theme=dark] .book-info h3,html[data-theme=dark] .student-card h2,html[data-theme=dark] .teacher-card h2,html[data-theme=dark] .principal-card h2,html[data-theme=dark] .teacher-heading h1,html[data-theme=dark] .principal-heading h1,html[data-theme=dark] .student-detail-heading h1{color:#f0e8dd}html[data-theme=dark] .book-info p,html[data-theme=dark] .record-main span,html[data-theme=dark] .record-main small,html[data-theme=dark] .student-book-info span,html[data-theme=dark] .student-book-info small{color:#aaa096}html[data-theme=dark] .how-section{background:#211a17}html[data-theme=dark] footer{background:#110e0d;border-color:#302720}html[data-theme=dark] .portal-shell{background:#171412}html[data-theme=dark] .student-sidebar,html[data-theme=dark] .teacher-sidebar,html[data-theme=dark] .principal-sidebar{background:#211b18;border-color:var(--line)}html[data-theme=dark] .student-main,html[data-theme=dark] .teacher-main,html[data-theme=dark] .principal-main{color:var(--ink)}html[data-theme=dark] .student-profile strong,html[data-theme=dark] .teacher-sidebar-brand strong,html[data-theme=dark] .principal-sidebar-top strong{color:#f3eadf}html[data-theme=dark] .student-sidebar .dash-nav,html[data-theme=dark] .teacher-sidebar .dash-nav,html[data-theme=dark] .principal-sidebar .dash-nav{color:#c8bcb0}html[data-theme=dark] .dash-nav:hover,html[data-theme=dark] .dash-nav.active{background:#c7a35c1f;color:#e4c782}html[data-theme=dark] .student-welcome{background:linear-gradient(115deg,#4b1721,#702333)}html[data-theme=dark] .student-stat{background:#211c19}html[data-theme=dark] .student-stat small,html[data-theme=dark] .student-stat-note{color:#aaa096}html[data-theme=dark] .student-loan-item,html[data-theme=dark] .student-reservation-item,html[data-theme=dark] .student-shortcut,html[data-theme=dark] .teacher-action-row,html[data-theme=dark] .teacher-quick button,html[data-theme=dark] .principal-actions button{border-color:var(--line)}html[data-theme=dark] .student-shortcut:hover,html[data-theme=dark] .teacher-action-row:hover,html[data-theme=dark] .teacher-quick button:hover,html[data-theme=dark] .principal-actions button:hover{background:#302722}html[data-theme=dark] .student-library-hours,html[data-theme=dark] .settings-information{background:#302722;border-color:#44382f}html[data-theme=dark] .student-notice{background:#302722}html[data-theme=dark] .teacher-metric{background:#211c19}html[data-theme=dark] .teacher-metric.primary{background:linear-gradient(135deg,#521722,#752434)}html[data-theme=dark] .teacher-metric small,html[data-theme=dark] .teacher-metric-note{color:#b6a99e}html[data-theme=dark] .teacher-metric.primary small,html[data-theme=dark] .teacher-metric.primary button{color:#f0d9bd}html[data-theme=dark] .teacher-table th{color:#c5b8aa;background:#302722}html[data-theme=dark] .teacher-table td{border-color:var(--line)}html[data-theme=dark] .teacher-table tbody tr:hover{background:#2b2420}html[data-theme=dark] .teacher-table td small{color:#aaa096}html[data-theme=dark] .record{border-color:var(--line);background:#211c19}html[data-theme=dark] .record:hover{background:#29221e}html[data-theme=dark] .inventory-summary>div{background:#302722;border-color:var(--line)}html[data-theme=dark] .inventory-search{background:#211c19;border-color:var(--line)}html[data-theme=dark] .staff-message,html[data-theme=dark] .principal-message{background:#302722}html[data-theme=dark] .staff-message.own,html[data-theme=dark] .principal-message.own{background:#4c2028}html[data-theme=dark] .message-compose,html[data-theme=dark] .principal-compose{border-color:var(--line)}html[data-theme=dark] .principal-highlight{background:linear-gradient(115deg,#4a1721,#702333)}html[data-theme=dark] .principal-metrics>div{background:#211c19;border-color:var(--line)}html[data-theme=dark] .principal-activity-row{border-color:var(--line)}html[data-theme=dark] .principal-clear{background:#1e3026}html[data-theme=dark] .principal-readonly-note{background:#2c271f;border-color:#51432d}html[data-theme=dark] .selected-book{background:#302722}html[data-theme=dark] .auth-switch,html[data-theme=dark] .privacy-note{color:#aaa096}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid transparent;border-radius:9px;padding:11px 17px;font-size:13px;font-weight:700;transition:.2s ease}.button:hover:not(:disabled){transform:translateY(-2px)}.button-maroon{color:#fff;background:var(--maroon);border-color:var(--maroon)}.button-maroon:hover:not(:disabled){background:var(--maroon-dark);border-color:var(--maroon-dark);box-shadow:0 7px 18px #6f182830}.button-gold{color:#342619;background:var(--gold);border-color:var(--gold)}.button-gold:hover{background:#d7b879}.button-dark{color:#fff;background:#29231f;border-color:#29231f}.button-dark:hover{background:var(--maroon);border-color:var(--maroon)}.button-quiet{color:var(--ink);background:var(--soft);border-color:var(--line)}.button-quiet:hover{background:#e9dfd2}.button-small{padding:8px 11px;font-size:11px;border-radius:7px}.full-button{width:100%}.icon-button{width:39px;height:39px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--ink);background:transparent;border:1px solid var(--line);border-radius:10px;transition:.2s ease}.icon-button:hover{color:var(--maroon);background:var(--soft);border-color:var(--gold)}html[data-theme=dark] .icon-button{color:#e7ded3;border-color:var(--line)}.app-shell{min-height:100vh}.topbar{height:78px;width:100%;padding:0 clamp(20px,5vw,76px);display:flex;align-items:center;justify-content:space-between;gap:30px;position:sticky;top:0;z-index:100;background:#fffdf9f5;border-bottom:1px solid #eee7dc;-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px)}.brand{display:flex;align-items:center;gap:12px;min-width:0}.brand-mark{width:43px;height:43px;object-fit:contain;flex-shrink:0}.brand>div{display:flex;flex-direction:column;gap:3px}.brand strong{font-size:15px;letter-spacing:.8px;font-weight:800;color:#32251e}.brand strong span{color:var(--maroon)}.brand small{color:#8a7e70;font-size:10px;letter-spacing:.1px}.nav-links{display:flex;align-items:center;gap:29px;margin-left:auto}.nav-links button{color:#61574e;border:none;background:none;font-size:13px;font-weight:600;transition:.2s}.nav-links button:hover{color:var(--maroon)}.top-actions{display:flex;align-items:center;gap:10px}.header-portal-button{display:flex;align-items:center;gap:8px;height:39px;padding:0 13px;border:1px solid #e8ddcf;border-radius:9px;background:#f6f0e8;color:var(--maroon);font-size:12px;font-weight:700}.header-portal-button:hover{background:#efe3d3}.mobile-toggle{display:none}.toast{position:fixed;z-index:200;top:91px;right:25px;max-width:min(440px,calc(100vw - 35px));display:flex;align-items:center;gap:11px;padding:14px 16px;color:#fff;background:#30251f;border:1px solid rgba(199,163,92,.45);border-radius:12px;box-shadow:0 12px 35px #00000038;font-size:12px;line-height:1.5;animation:toast-in .25s ease}.toast>svg{flex-shrink:0;color:#d9b96e}.toast button{margin-left:auto;color:#fff;background:none;border:none;display:flex;padding:3px}@keyframes toast-in{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.spin{animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.hero{min-height:540px;padding:76px clamp(24px,9vw,140px);display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:55px;overflow:hidden;position:relative;background:radial-gradient(circle at 80% 20%,rgba(199,163,92,.12),transparent 32%),linear-gradient(115deg,#fbf8f2,#f2e9dc)}.hero-copy{max-width:580px;position:relative;z-index:2}.eyebrow{display:flex;align-items:center;gap:9px;color:var(--maroon);font-size:10px;font-weight:800;letter-spacing:2px}.eyebrow>span{width:23px;height:2px;background:var(--gold)}.hero h1{margin:22px 0 18px;color:#30231d;font-family:Playfair Display,serif;font-size:clamp(50px,6vw,78px);font-weight:600;line-height:1.03;letter-spacing:-2px}.hero h1 em,.section-heading h2 em,.how-intro h2 em,.student-welcome h1 em,.teacher-heading h1 em,.principal-heading h1 em,.student-detail-heading h1 em{color:var(--maroon);font-weight:500;font-family:Playfair Display,serif}.hero-copy>p{max-width:470px;color:#786e64;font-size:14px;line-height:1.9}.hero-actions{display:flex;align-items:center;gap:22px;margin-top:28px}.text-button{color:var(--maroon);font-size:12px;font-weight:700;border:none;background:none}.text-button:hover{text-decoration:underline}.hero-stats{display:flex;gap:40px;margin-top:53px}.hero-stats>div{display:flex;flex-direction:column;gap:5px}.hero-stats strong{color:var(--maroon);font-family:Playfair Display,serif;font-size:28px}.hero-stats span{color:#81766b;font-size:9px;font-weight:800;letter-spacing:1.2px}.hero-art{min-height:390px;display:flex;align-items:center;justify-content:center;position:relative}.art-orbit{width:360px;height:360px;position:absolute;border:1px solid rgba(153,111,58,.24);border-radius:50%}.orbit-two{width:290px;height:290px;border-style:dashed;transform:rotate(35deg)}.book-stack{width:245px;height:285px;position:relative;transform:rotate(-5deg)}.book{position:absolute;bottom:10px;height:245px;border-radius:5px 13px 13px 5px;box-shadow:10px 17px 25px #2f1c1438;display:flex;align-items:center;justify-content:center}.book-back{width:175px;left:48px;bottom:25px;background:#b78a46;transform:rotate(10deg)}.book-back span,.book-mid span{color:#ffffffa6;font-size:10px;letter-spacing:2px;writing-mode:vertical-rl}.book-mid{width:185px;left:25px;bottom:12px;background:#354c3e;transform:rotate(-7deg)}.book-front{width:175px;height:260px;left:27px;bottom:15px;z-index:2;padding:25px 18px;flex-direction:column;align-items:flex-start;justify-content:flex-end;color:#f8e7c2;background:linear-gradient(145deg,#7d2332,#4e1521);border-left:7px solid #a95a51;transform:rotate(1deg)}.book-front small{font-size:8px;letter-spacing:2px;margin-bottom:16px}.book-front strong{font-family:Playfair Display,serif;font-size:25px;line-height:1.12}.book-front i{font-size:7px;letter-spacing:1px;margin-top:18px;font-style:normal}.book-sun{position:absolute;top:22px;right:23px;width:47px;height:47px;border:1px solid rgba(231,195,116,.7);border-radius:50%}.art-caption{position:absolute;bottom:3px;right:0;display:flex;align-items:center;gap:8px;color:#7b6a55;font-size:11px;font-weight:600}.catalogue-section{padding:78px clamp(22px,8vw,120px) 85px;background:#fffdf9}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:25px;margin-bottom:32px}.dark-eyebrow{color:var(--maroon)}.section-heading h2{margin:13px 0 8px;color:#30251f;font-family:Playfair Display,serif;font-size:clamp(33px,4vw,47px);font-weight:600}.section-heading p{color:#8b8075;font-size:12px}.catalogue-count{display:flex;align-items:center;gap:8px;padding:10px 13px;border-radius:9px;background:#f3ede4;color:var(--maroon);font-size:11px;font-weight:700}.search-row{display:flex;align-items:center;gap:20px;margin-bottom:20px}.search-box{height:52px;max-width:620px;flex:1;display:flex;align-items:center;gap:12px;padding:0 16px;background:#fff;border:1px solid #e9e1d6;border-radius:10px;color:#8b7b69;transition:.2s}.search-box:focus-within{border-color:var(--gold);box-shadow:0 0 0 3px #c7a35c1f}.search-box input{width:100%;height:100%;border:none;outline:none;color:#30251f;background:transparent;font-size:12px}.search-box button{border:none;background:none;color:#8c8177;display:flex}.filter-label{display:flex;align-items:center;gap:8px;color:#887b6e;font-size:11px;font-weight:600}.category-row{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:30px}.category-chip{padding:9px 13px;border:1px solid #e8dfd3;border-radius:7px;color:#70645a;background:#faf7f1;font-size:10px;font-weight:700;transition:.2s}.category-chip:hover{border-color:var(--gold);color:var(--maroon)}.category-chip.active{color:#fff;background:var(--maroon);border-color:var(--maroon)}.book-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.book-card{min-width:0;overflow:hidden;border:1px solid #eee6da;border-radius:12px;background:#fff;transition:.25s ease}.book-card:hover{transform:translateY(-5px);box-shadow:0 14px 28px #2e1e1417;border-color:#d7c5a6}.cover{height:215px;margin:13px 13px 0;border-radius:7px;position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:18px;text-align:center;color:#f9e9c9;background:linear-gradient(145deg,#772a38,#4c1522)}.cover-1{background:linear-gradient(145deg,#743344,#381a25)}.cover-image{padding:0;background:#eee5d8}.cover-image img{width:100%;height:100%;object-fit:contain;background:#eee5d8}.cover-emblem{width:45px;height:45px;margin-bottom:16px;border:1px solid rgba(255,255,255,.45);border-radius:50%;display:flex;align-items:center;justify-content:center}.cover>span{font-size:8px;letter-spacing:2px;margin-bottom:13px;opacity:.8}.cover>strong{max-width:100%;font-family:Playfair Display,serif;font-size:19px;line-height:1.3;overflow-wrap:anywhere}.cover>small{margin-top:12px;font-size:9px;opacity:.8}.book-info{padding:15px 15px 13px}.book-category{color:var(--maroon);font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:1px}.book-info h3{min-height:42px;margin:9px 0 5px;color:#30251f;font-family:Playfair Display,serif;font-size:16px;line-height:1.35}.book-info p{min-height:16px;margin:0;color:#8c8177;font-size:10px}.book-card-bottom{display:flex;justify-content:space-between;align-items:center;gap:8px;padding-top:14px;margin-top:12px;border-top:1px solid #eee7dd}.availability{display:flex;align-items:center;gap:6px;color:#38734e;font-size:10px;font-weight:700}.availability i{width:6px;height:6px;border-radius:50%;background:#4e9b68}.availability.unavailable{color:#a64a4a}.availability.unavailable i{background:#b65050}.reserve-icon{width:34px;height:34px;display:flex;align-items:center;justify-content:center;color:var(--maroon);background:#f6efe6;border:1px solid #eee1d1;border-radius:8px;transition:.2s}.reserve-icon:hover:not(:disabled){color:#fff;background:var(--maroon)}.reserve-icon:disabled{opacity:.4;cursor:not-allowed}.empty-state{min-height:180px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:#95887b;font-size:12px}.empty-state strong{color:var(--ink);font-size:16px}.catalogue-pagination{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:17px;margin-top:35px;color:#8a7f73;font-size:11px}.catalogue-pagination strong{color:var(--ink)}.show-less-button{color:var(--maroon);background:none;border:none;font-size:11px;font-weight:700}.announcement-strip{padding:37px clamp(24px,8vw,120px);color:#f8ead1;background:linear-gradient(110deg,#4c1722,#762a37)}.announcement-strip .eyebrow{color:#e4c98e;margin-bottom:22px}.announcement-strip article{padding:13px 0;border-top:1px solid rgba(255,255,255,.15)}.announcement-strip article strong{font-family:Playfair Display,serif;font-size:17px}.announcement-strip article p,.announcement-strip>p{margin:7px 0 0;color:#e2cfc1;font-size:12px;line-height:1.7}.how-section{padding:75px clamp(24px,8vw,120px);display:grid;grid-template-columns:.8fr 1.2fr;align-items:center;gap:65px;background:#f2ece3}.how-intro h2{margin:17px 0 0;color:#34271f;font-family:Playfair Display,serif;font-size:clamp(34px,4vw,45px);line-height:1.2}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:25px}.step{padding-top:17px;border-top:2px solid var(--gold)}.step>span{color:var(--maroon);font-family:Playfair Display,serif;font-size:25px}.step h3{margin:17px 0 7px;font-family:Playfair Display,serif;font-size:18px}.step p{color:#83786d;font-size:11px;line-height:1.8}footer{min-height:100px;padding:24px clamp(20px,5vw,76px);display:flex;align-items:center;justify-content:space-between;gap:20px;color:#e9dcca;background:#251c18}.footer-brand{display:flex;align-items:center;gap:12px}.footer-brand .brand-mark{width:38px;height:38px;padding:3px;border-radius:5px;background:#fff}.footer-brand>div{display:flex;flex-direction:column;gap:4px}.footer-brand strong{font-size:12px;letter-spacing:1px}.footer-brand small{color:#ad9d8c;font-size:9px}footer>span{color:#c9b99e;font-family:Playfair Display,serif;font-size:14px;font-style:italic}footer>small{color:#9b8a7a;font-size:9px}.portal-shell{min-height:700px;background:#f7f4ee}.portal-topline{height:54px;padding:0 clamp(20px,5vw,75px);display:flex;align-items:center;justify-content:space-between;background:#fffdf9;border-bottom:1px solid var(--line)}.portal-topline>span{color:var(--maroon);font-size:9px;font-weight:800;letter-spacing:1.7px}.portal-topline button{display:flex;align-items:center;gap:7px;color:#827568;background:none;border:none;font-size:11px;font-weight:700}.portal-topline button:hover{color:var(--maroon)}.portal-topline button:first-child svg{transform:rotate(180deg)}.student-layout{min-height:750px;display:grid;grid-template-columns:245px minmax(0,1fr)}.student-sidebar{padding:32px 18px;background:#fffdf9;border-right:1px solid var(--line);display:flex;flex-direction:column}.student-profile{display:flex;flex-direction:column;align-items:center;text-align:center;padding:10px 8px 28px;border-bottom:1px solid var(--line)}.student-avatar{width:60px;height:60px;margin-bottom:13px;display:flex;align-items:center;justify-content:center;color:#fff;background:linear-gradient(145deg,#8c3342,#511522);border:3px solid #e7d4b0;border-radius:50%;font-family:Playfair Display,serif;font-size:25px}.student-profile strong{color:#34271f;font-size:13px}.student-profile>span{margin-top:5px;color:#998b7e;font-size:10px}.student-sidebar-label,.teacher-sidebar-section,.principal-sidebar-label{margin:25px 9px 12px;color:#a39482;font-size:9px;font-weight:800;letter-spacing:1.7px}.student-sidebar .dash-nav,.teacher-sidebar .dash-nav,.principal-sidebar .dash-nav{width:100%;min-height:44px;margin:3px 0;padding:0 12px;display:flex;align-items:center;gap:11px;text-align:left;color:#776d63;background:transparent;border:none;border-radius:8px;font-size:11px;font-weight:600;transition:.2s}.dash-nav:hover{color:var(--maroon);background:#f5eee5}.dash-nav.active{color:var(--maroon);background:#f3eae0;font-weight:800}.dash-nav>svg{flex-shrink:0}.dash-nav>span{flex:1}.nav-badge{min-width:21px;height:21px;padding:0 5px;display:flex;align-items:center;justify-content:center;color:#fff;background:var(--maroon);border-radius:20px;font-size:9px}.student-sidebar-bottom{margin-top:auto;padding:17px 13px;display:flex;align-items:flex-start;gap:10px;color:#9c7a46;background:#f7f0e3;border-radius:10px;font-family:Playfair Display,serif;font-size:12px;line-height:1.5}.student-main{min-width:0;padding:38px clamp(20px,4vw,55px)}.student-portal{max-width:1300px;margin:0 auto}.student-welcome{min-height:240px;padding:35px 43px;display:flex;justify-content:space-between;align-items:center;gap:20px;position:relative;overflow:hidden;color:#fff;background:linear-gradient(115deg,#591925,#842f40);border-radius:18px;box-shadow:0 15px 32px #52192524}.student-welcome:after{content:"";position:absolute;width:340px;height:340px;right:13%;top:-190px;border:1px solid rgba(255,255,255,.13);border-radius:50%}.student-welcome-copy{position:relative;z-index:2}.portal-kicker{display:inline-flex;align-items:center;gap:7px;color:#a88952;font-size:9px;font-weight:800;letter-spacing:1.6px}.student-welcome .portal-kicker{color:#e3c88f}.student-welcome h1{margin:17px 0 8px;font-family:Playfair Display,serif;font-size:clamp(32px,4vw,45px);font-weight:500}.student-welcome h1 em{color:#e9cd92}.student-welcome p{color:#e6d3c8;font-size:12px}.student-discover-button{margin-top:14px;padding:11px 15px;display:inline-flex;align-items:center;gap:10px;color:#422a1e;background:#e2c58b;border:none;border-radius:8px;font-size:11px;font-weight:800;transition:.2s}.student-discover-button:hover{background:#f0d8a6;transform:translateY(-2px)}.student-welcome-art{min-width:180px;display:flex;flex-direction:column;align-items:center;gap:12px;position:relative;z-index:2;color:#e5c98e}.student-art-circle{width:125px;height:125px;display:flex;align-items:center;justify-content:center;border:1px solid rgba(235,208,151,.55);border-radius:50%;background:#ffffff12}.student-welcome-art>span{font-size:8px;letter-spacing:2px;font-weight:800}.student-stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:22px 0}.student-stat{min-height:140px;padding:18px 20px;display:flex;flex-direction:column;align-items:flex-start;background:#fffdf9;border:1px solid #eee5d9;border-radius:13px;box-shadow:0 5px 15px #2e1e1406}.student-stat-icon{width:35px;height:35px;display:flex;align-items:center;justify-content:center;color:var(--maroon);background:#f4eae0;border-radius:9px}.student-stat small{margin-top:12px;color:#84786c;font-size:10px;font-weight:600}.student-stat strong{margin-top:3px;color:var(--maroon);font-family:Playfair Display,serif;font-size:29px}.student-stat-note{margin-top:2px;color:#a0968b;font-size:9px}.student-stat-grid.mini{grid-template-columns:repeat(2,minmax(0,180px))}.student-stat-grid.mini .student-stat{min-height:95px}.student-stat-grid.mini .student-stat strong{font-size:25px}.student-dashboard-grid{display:grid;grid-template-columns:1.35fr .85fr;gap:17px}.student-card{min-width:0;padding:22px;background:#fffdf9;border:1px solid #eee5d9;border-radius:14px;box-shadow:0 5px 17px #2e1e1406}.student-card-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.student-card-heading h2{margin:7px 0 0;color:#30251f;font-family:Playfair Display,serif;font-size:20px;font-weight:600}.student-card-heading>svg{color:var(--gold)}.student-link{display:inline-flex;align-items:center;gap:6px;color:var(--maroon);background:none;border:none;font-size:10px;font-weight:800}.student-link:hover{text-decoration:underline}.student-loan-list{display:flex;flex-direction:column}.student-loan-item{min-width:0;padding:14px 0;display:flex;align-items:center;gap:12px;border-bottom:1px solid #eee8df}.student-loan-item:last-child{border-bottom:none}.student-book-icon{width:42px;height:48px;flex-shrink:0;display:flex;align-items:center;justify-content:center;color:#f2d9a4;background:linear-gradient(145deg,#782d3c,#4b1724);border-radius:6px}.student-book-info{min-width:0;flex:1;display:flex;flex-direction:column;gap:4px}.student-book-info strong{overflow:hidden;color:var(--ink);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.student-book-info span{color:#8b8177;font-size:10px}.student-book-info small{color:#9d8d7e;font-size:9px}.student-due{padding:5px 8px;color:#34724b;background:#e9f3e9;border-radius:5px;font-size:9px;font-weight:800}.student-due.overdue{color:#a23e3e;background:#f8e8e5}.student-empty{min-height:170px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;color:#9b8b7c;text-align:center}.student-empty>svg{color:#c5a56c}.student-empty strong{color:var(--ink);font-size:12px}.student-empty span{font-size:10px}.student-empty button{margin-top:5px;padding:8px 12px;color:var(--maroon);background:#f4ebe1;border:none;border-radius:7px;font-size:10px;font-weight:800}.student-empty.compact{min-height:90px}.student-shortcut{width:100%;min-height:47px;padding:0 3px;display:flex;justify-content:space-between;align-items:center;color:#63574e;background:transparent;border:none;border-bottom:1px solid #eee7dd;font-size:11px;text-align:left}.student-shortcut span{display:flex;align-items:center;gap:10px}.student-shortcut span svg{color:var(--maroon)}.student-shortcut>svg{color:#b3a38f}.student-shortcut:hover{color:var(--maroon);padding-left:8px}.student-library-hours{margin-top:19px;padding:13px;display:flex;align-items:flex-start;gap:10px;color:#967341;background:#f7f0e4;border:1px solid #eee2ce;border-radius:9px}.student-library-hours>svg{flex-shrink:0}.student-library-hours div{display:flex;flex-direction:column;gap:4px}.student-library-hours strong{color:#5f4a2d;font-size:10px}.student-library-hours span{color:#8e7b61;font-size:9px}.student-reservations-card,.student-notice-card{min-width:0}.student-reservation-item{padding:12px 0;display:flex;justify-content:space-between;align-items:center;gap:10px;border-bottom:1px solid #eee8df}.student-reservation-item:last-child{border:none}.student-reservation-item>div{min-width:0;display:flex;flex-direction:column;gap:5px}.student-reservation-item strong{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.student-reservation-item span{color:#918578;font-size:9px}.student-notice{margin-top:10px;padding:13px;background:#f7f1e8;border-left:3px solid var(--gold);border-radius:7px}.student-notice strong{color:var(--maroon);font-size:11px}.student-notice p{margin:7px 0;color:#766b60;font-size:10px;line-height:1.7}.student-notice small{color:#a09486;font-size:9px}.student-muted{color:#968b7f;font-size:11px}.student-detail-page{max-width:1050px;margin:0 auto}.student-detail-heading{margin-bottom:25px}.student-detail-heading h1{margin:11px 0 7px;color:#30251f;font-family:Playfair Display,serif;font-size:37px}.student-detail-heading p{color:#8b8075;font-size:12px;line-height:1.7}.student-renew-control{display:flex;align-items:center;gap:7px}.student-renew-control input{width:140px;min-width:0}.teacher-layout{min-height:800px;display:grid;grid-template-columns:250px minmax(0,1fr)}.teacher-sidebar{padding:26px 17px 20px;display:flex;flex-direction:column;background:#fffdf9;border-right:1px solid var(--line)}.teacher-sidebar-brand{display:flex;align-items:center;gap:11px;padding:9px 8px 26px;border-bottom:1px solid var(--line)}.teacher-sidebar-brand>div{width:43px;height:43px;display:flex;align-items:center;justify-content:center;color:#f1dba9;background:var(--maroon);border-radius:10px}.teacher-sidebar-brand>span,.principal-sidebar-top>div{display:flex;flex-direction:column;gap:5px}.teacher-sidebar-brand strong{color:#3d2c23;font-size:11px;letter-spacing:1px}.teacher-sidebar-brand small{color:#9c8b7b;font-size:8px;letter-spacing:1.2px}.teacher-sidebar-section{margin-top:27px}.teacher-sidebar-footer{margin-top:auto;padding:15px 8px 5px;display:flex;align-items:center;gap:10px;border-top:1px solid var(--line)}.teacher-sidebar-footer img{width:36px;height:36px;object-fit:contain;padding:3px;background:#fff;border-radius:6px}.teacher-sidebar-footer span{display:flex;flex-direction:column;gap:4px}.teacher-sidebar-footer strong{color:var(--maroon);font-size:10px;letter-spacing:1px}.teacher-sidebar-footer small{color:#a09180;font-size:8px}.teacher-main{min-width:0;padding:38px clamp(20px,4vw,55px)}.teacher-portal{width:100%;max-width:1350px;margin:0 auto}.teacher-heading{margin-bottom:28px;display:flex;justify-content:space-between;align-items:flex-end;gap:20px}.teacher-kicker{display:inline-flex;align-items:center;gap:7px;color:#a18149;font-size:9px;font-weight:800;letter-spacing:1.5px}.teacher-heading h1{margin:12px 0 7px;color:#32251f;font-family:Playfair Display,serif;font-size:clamp(30px,3.4vw,42px);font-weight:600}.teacher-heading p{margin:0;color:#8c8074;font-size:12px}.teacher-heading-actions{display:flex;align-items:center;gap:13px}.teacher-refresh{padding:9px 12px;display:flex;align-items:center;gap:8px;color:var(--maroon);background:#fffdf9;border:1px solid var(--line);border-radius:8px;font-size:10px;font-weight:700}.teacher-refresh:hover{background:#f4ebe0}.teacher-date{display:flex;align-items:center;gap:7px;color:#897b6d;font-size:10px;font-weight:600;white-space:nowrap}.teacher-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:19px}.teacher-metric{min-width:0;min-height:172px;padding:17px;display:flex;flex-direction:column;align-items:flex-start;background:#fffdf9;border:1px solid #eee5d9;border-radius:13px;box-shadow:0 5px 15px #2e1e1406}.teacher-metric.primary{color:#fff;background:linear-gradient(145deg,#722536,#4d1522);border-color:#722536}.teacher-metric-icon{width:35px;height:35px;display:flex;align-items:center;justify-content:center;color:var(--maroon);background:#f4eae0;border-radius:9px}.teacher-metric.primary .teacher-metric-icon{color:#f0d5a2;background:#ffffff1f}.teacher-metric small{margin-top:13px;color:#8b8075;font-size:10px;font-weight:600}.teacher-metric strong{margin-top:2px;color:var(--ink);font-family:Playfair Display,serif;font-size:30px}.teacher-metric.primary strong{color:#fff}.teacher-metric button{margin-top:auto;padding:8px 0 0;display:flex;align-items:center;gap:5px;color:var(--maroon);background:none;border:none;font-size:9px;font-weight:800}.teacher-metric.primary button{color:#f1d9a9}.teacher-metric-note{margin-top:auto;padding-top:8px;color:#9b8e80;font-size:9px}.teacher-card{min-width:0;margin-bottom:18px;padding:23px;background:#fffdf9;border:1px solid #eee5d9;border-radius:14px;box-shadow:0 5px 17px #2e1e1406}.teacher-section-heading{margin-bottom:20px;display:flex;align-items:center;justify-content:space-between;gap:15px}.teacher-section-heading h2{margin:7px 0 0;color:#30251f;font-family:Playfair Display,serif;font-size:21px;font-weight:600}.teacher-section-heading p{margin:7px 0 0;color:#8b8075;font-size:11px;line-height:1.6}.teacher-section-heading>svg{color:var(--gold);flex-shrink:0}.teacher-count{padding:7px 11px;color:var(--maroon);background:#f4ebe0;border-radius:20px;font-size:9px;font-weight:800;white-space:nowrap}.teacher-text-link{display:flex;align-items:center;gap:7px;color:var(--maroon);background:none;border:none;font-size:10px;font-weight:800}.teacher-text-link:hover{text-decoration:underline}.teacher-overview-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:17px;margin-bottom:18px}.teacher-overview-grid .teacher-card{margin-bottom:0}.teacher-action-row{width:100%;min-height:68px;padding:10px 0;display:flex;align-items:center;gap:12px;text-align:left;background:transparent;border:none;border-bottom:1px solid #eee7dd;color:var(--ink);transition:.2s}.teacher-action-row:last-child{border-bottom:none}.teacher-action-row:hover{padding-left:7px;background:#faf6f0}.teacher-action-icon{width:37px;height:37px;flex-shrink:0;display:flex;align-items:center;justify-content:center;color:var(--maroon);background:#f4eae0;border-radius:9px}.teacher-action-row>span:nth-child(2){min-width:0;flex:1;display:flex;flex-direction:column;gap:5px}.teacher-action-row strong{font-size:11px}.teacher-action-row small{color:#928578;font-size:9px}.teacher-action-row>b{min-width:25px;height:25px;display:flex;align-items:center;justify-content:center;color:var(--maroon);background:#f4eae0;border-radius:50%;font-size:10px}.teacher-action-row>svg:last-child{color:#aa9b8c}.teacher-quick{display:flex;flex-direction:column}.teacher-quick>button{min-height:48px;padding:0 4px;display:flex;align-items:center;gap:10px;color:#62574e;background:transparent;border:none;border-bottom:1px solid #eee7dd;text-align:left;font-size:10px;font-weight:700;transition:.2s}.teacher-quick>button:last-child{border-bottom:none}.teacher-quick>button>svg:first-child{color:var(--maroon)}.teacher-quick>button>svg:last-child{margin-left:auto;color:#a18d73}.teacher-quick>button:hover{padding-left:10px;color:var(--maroon);background:#faf6f0}.teacher-table-wrap{width:100%;overflow-x:auto;border:1px solid var(--line);border-radius:9px}.teacher-table{width:100%;min-width:560px;border-collapse:collapse;text-align:left;font-size:11px}.teacher-table th{padding:13px 14px;color:#796c5f;background:#f6f0e7;font-size:9px;font-weight:800;letter-spacing:.7px;text-transform:uppercase;white-space:nowrap}.teacher-table td{padding:13px 14px;color:var(--ink);border-top:1px solid #eee8df;vertical-align:middle}.teacher-table tbody tr:hover{background:#fcf9f4}.teacher-table td strong{display:block;font-size:11px}.teacher-table td small{display:block;margin-top:5px;color:#96897c;font-size:9px}.teacher-table .status{white-space:nowrap}.teacher-overdue-notice{margin-top:18px;padding:17px 19px;display:flex;align-items:center;gap:13px;color:#963d35;background:#fff0eb;border:1px solid #f0d0c6;border-radius:11px}.teacher-overdue-notice>svg{flex-shrink:0}.teacher-overdue-notice>div{flex:1;display:flex;flex-direction:column;gap:4px}.teacher-overdue-notice strong{font-size:11px}.teacher-overdue-notice span{font-size:10px}.teacher-overdue-notice button{display:flex;align-items:center;gap:5px;color:#963d35;background:none;border:none;font-size:10px;font-weight:800}.record-list{display:flex;flex-direction:column;gap:9px}.record{min-width:0;padding:15px;display:flex;align-items:center;gap:14px;background:#fffdf9;border:1px solid #eee5d9;border-radius:10px;transition:.2s}.record:hover{border-color:#dfcda9;box-shadow:0 4px 12px #2d1c1309}.record-main{min-width:0;flex:1;display:flex;flex-direction:column;gap:5px}.record-main strong{color:var(--ink);font-size:12px;line-height:1.5}.record-main span{color:#82776c;font-size:10px;line-height:1.6}.record-main small{color:#a09386;font-size:9px;line-height:1.6}.record-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.empty-inline{padding:35px 15px;color:#95887a;text-align:center;font-size:11px;line-height:1.7}.status{width:fit-content;padding:6px 9px;display:inline-flex;align-items:center;justify-content:center;border-radius:5px;font-size:9px;font-weight:800;text-transform:capitalize;white-space:nowrap}.status-pending{color:#926722;background:#fbf0d9}.status-approved{color:#34734b;background:#e7f2e7}.status-rejected{color:#a03f3f;background:#f8e7e4}.status-borrowed{color:#416b91;background:#e6eef6}.status-returned{color:#36744c;background:#e5f1e6}.status-overdue{color:#a33737;background:#f9e6e3}.status-cancelled{color:#766e66;background:#eeeae5}.inventory-summary{margin:20px 0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.inventory-summary>div{padding:15px;display:flex;flex-direction:column;gap:7px;background:#f6f0e7;border:1px solid #eee3d4;border-radius:9px}.inventory-summary small{color:#8c7e6e;font-size:9px}.inventory-summary strong{color:var(--maroon);font-family:Playfair Display,serif;font-size:24px}.inventory-search{height:43px;max-width:450px;margin-bottom:17px;padding:0 12px;display:flex;align-items:center;gap:10px;color:#9b8874;background:#fff;border:1px solid var(--line);border-radius:8px}.inventory-search input{width:100%;height:100%;border:none;outline:none;background:transparent;color:var(--ink);font-size:11px}.inventory-actions{white-space:nowrap}.inventory-actions .icon-button{width:31px;height:31px;margin-right:5px;border-radius:7px}.stack-form{display:flex;flex-direction:column;gap:16px}.stack-form label,.modal form>label,.principal-compose label{display:flex;flex-direction:column;gap:8px;color:#65584c;font-size:11px;font-weight:700}input,textarea,select{width:100%;min-width:0;padding:11px 12px;color:#30251f;background:#fff;border:1px solid #e5dcd0;border-radius:8px;outline:none;font-size:12px;transition:.2s}input:focus,textarea:focus,select:focus{border-color:var(--gold);box-shadow:0 0 0 3px #c7a35c1c}input::placeholder,textarea::placeholder{color:#aaa094}textarea{resize:vertical;line-height:1.6}.stack-form .check-label{display:flex;flex-direction:row;align-items:center;gap:9px;color:#786b5e;font-size:10px}.check-label input{width:16px;height:16px;accent-color:var(--maroon)}.settings-time-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.settings-information{padding:14px;display:flex;align-items:center;gap:11px;color:#82673b;background:#f8f0e1;border:1px solid #ebdec5;border-radius:9px;font-size:10px;line-height:1.6}.settings-information svg{flex-shrink:0}.teacher-settings{max-width:800px}.teacher-management-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.teacher-management-grid .teacher-card{margin-bottom:0}.teacher-management-grid .stack-form{margin-top:22px}.staff-message-thread,.principal-message-thread{max-height:500px;min-height:140px;overflow-y:auto;padding:5px 2px 18px;display:flex;flex-direction:column;gap:12px}.staff-message,.principal-message{max-width:82%;padding:14px 16px;align-self:flex-start;background:#f4eee5;border-radius:11px 11px 11px 3px}.staff-message.own,.principal-message.own{align-self:flex-end;background:#f0e3dc;border-radius:11px 11px 3px}.staff-message>small,.principal-message>small{color:#9a8776;font-size:9px}.staff-message p,.principal-message p{margin:8px 0 0;color:var(--ink);font-size:11px;line-height:1.7;overflow-wrap:anywhere}.message-read-button,.principal-message>button{margin-top:10px;padding:6px 9px;color:var(--maroon);background:#ffffff8c;border:1px solid #e4d2bf;border-radius:6px;font-size:9px;font-weight:800}.message-compose{padding-top:18px;display:flex;flex-direction:column;align-items:flex-end;gap:11px;border-top:1px solid var(--line)}.message-compose textarea{width:100%}.message-compose button{align-self:flex-end}.principal-layout{min-height:800px;display:grid;grid-template-columns:250px minmax(0,1fr)}.principal-sidebar{padding:25px 17px 22px;display:flex;flex-direction:column;background:#fffdf9;border-right:1px solid var(--line)}.principal-sidebar-top{padding:8px 7px 24px;display:flex;align-items:center;gap:11px;border-bottom:1px solid var(--line)}.principal-sidebar-top img{width:43px;height:43px;object-fit:contain}.principal-sidebar-top strong{color:#3c2a22;font-size:12px;letter-spacing:1px}.principal-sidebar-top small{color:#9d8c7c;font-size:8px;letter-spacing:1.1px}.principal-sidebar-bottom{margin-top:auto;padding:17px 13px;display:flex;flex-direction:column;align-items:flex-start;gap:9px;color:#987744;background:#f5eee2;border:1px solid #eadcc5;border-radius:10px}.principal-sidebar-bottom strong{color:#5c4730;font-size:10px}.principal-sidebar-bottom span{color:#897963;font-size:9px;line-height:1.6}.principal-main{min-width:0;padding:38px clamp(20px,4vw,55px)}.principal-portal{width:100%;max-width:1350px;margin:0 auto}.principal-heading{margin-bottom:27px;display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.principal-kicker{display:inline-flex;align-items:center;gap:7px;color:#a18149;font-size:9px;font-weight:800;letter-spacing:1.4px}.principal-heading h1{margin:12px 0 7px;color:#30251f;font-family:Playfair Display,serif;font-size:clamp(32px,3.5vw,43px);font-weight:600}.principal-heading p{margin:0;color:#8b8075;font-size:11px}.principal-heading-right{display:flex;align-items:center;gap:12px}.principal-heading-right>span,.principal-heading-right>button{display:flex;align-items:center;gap:7px;color:#887b6e;font-size:10px;white-space:nowrap}.principal-heading-right button{padding:9px 12px;color:var(--maroon);background:#fffdf9;border:1px solid var(--line);border-radius:8px;font-weight:700}.principal-heading-right button:hover{background:#f5eee5}.principal-highlight{min-height:195px;padding:27px 31px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:20px;position:relative;overflow:hidden;color:#fff;background:linear-gradient(110deg,#4c1722,#762a3b);border-radius:16px}.principal-highlight>div:first-child>span{color:#e1c38a;font-size:9px;font-weight:800;letter-spacing:1.6px}.principal-highlight h2{margin:12px 0 8px;color:#fff7ec;font-family:Playfair Display,serif;font-size:clamp(24px,3vw,34px);font-weight:500}.principal-highlight h2 em{color:#e5c88d}.principal-highlight p{max-width:440px;margin:0;color:#e1cfc3;font-size:11px;line-height:1.7}.principal-highlight-icon{width:110px;height:110px;display:flex;align-items:center;justify-content:center;color:#e5c88d;border:1px solid rgba(229,200,141,.4);border-radius:50%;background:#ffffff0f}.principal-highlight-foot{grid-column:1 / -1;padding-top:13px;display:flex;justify-content:space-between;gap:10px;color:#d5bd9d;border-top:1px solid rgba(255,255,255,.16);font-size:9px}.principal-highlight-foot span:first-child{display:flex;align-items:center;gap:7px}.principal-highlight-foot i{width:6px;height:6px;background:#d5bb7e;border-radius:50%}.principal-metrics{margin:18px 0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.principal-metrics>div{min-width:0;min-height:125px;padding:17px;display:flex;flex-direction:column;gap:7px;background:#fffdf9;border:1px solid #eee5d9;border-radius:11px}.principal-metrics>div>span{color:#948574;font-size:8px;font-weight:800;letter-spacing:.8px}.principal-metrics>div>strong{color:var(--maroon);font-family:Playfair Display,serif;font-size:30px}.principal-metrics>div>small{display:flex;align-items:center;gap:6px;color:#928578;font-size:9px}.principal-metrics>div>small svg{color:#aa8a51}.principal-report-grid{margin-bottom:18px;display:grid;grid-template-columns:1fr 1fr;gap:16px}.principal-card{min-width:0;margin-bottom:17px;padding:22px;background:#fffdf9;border:1px solid #eee5d9;border-radius:14px;box-shadow:0 5px 17px #2e1e1406}.principal-report-grid .principal-card{margin-bottom:0}.principal-card-heading{margin-bottom:18px;display:flex;justify-content:space-between;align-items:center;gap:13px}.principal-card-heading>div>span{color:#a18149;font-size:9px;font-weight:800;letter-spacing:1.4px}.principal-card-heading h2{margin:7px 0 0;color:#30251f;font-family:Playfair Display,serif;font-size:20px;font-weight:600}.principal-card-heading p{margin:7px 0 0;color:#8b8075;font-size:10px;line-height:1.6}.principal-card-heading>svg{color:var(--gold);flex-shrink:0}.principal-activity-row{min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #eee7dd}.principal-activity-row:last-child{border-bottom:none}.principal-activity-row span{display:flex;align-items:center;gap:9px;color:#72665b;font-size:10px}.principal-activity-row span svg{color:#a48249}.principal-activity-row strong{color:var(--maroon);font-family:Playfair Display,serif;font-size:19px}.principal-alert-number{color:#a43d3d!important}.principal-actions>button{width:100%;min-height:70px;padding:11px 0;display:flex;align-items:center;gap:11px;text-align:left;color:var(--ink);background:transparent;border:none;border-bottom:1px solid #eee7dd}.principal-actions>button:last-child{border-bottom:none}.principal-actions>button:hover{padding-left:7px;background:#faf6f0}.principal-action-icon{width:40px;height:40px;flex-shrink:0;display:flex;align-items:center;justify-content:center;color:var(--maroon);background:#f4eae0;border-radius:9px}.principal-actions>button>span:nth-child(2){flex:1;min-width:0;display:flex;flex-direction:column;gap:5px}.principal-actions strong{font-size:10px}.principal-actions small{color:#928578;font-size:9px;line-height:1.5}.principal-actions>button>svg:last-child{color:#a18d73;flex-shrink:0}.principal-unread{min-width:20px;height:20px;display:flex;align-items:center;justify-content:center;color:#fff;background:var(--maroon);border-radius:50%;font-size:9px}.principal-overdue-count{padding:7px 10px;color:#a13f3b;background:#f9e9e5;border-radius:20px;font-size:9px;font-weight:800}.principal-overdue-list{display:flex;flex-direction:column}.principal-overdue-list>div{min-height:61px;padding:10px 0;display:flex;align-items:center;gap:12px;border-bottom:1px solid #eee7dd}.principal-overdue-list>div:last-child{border-bottom:none}.principal-overdue-icon{width:36px;height:36px;flex-shrink:0;display:flex;align-items:center;justify-content:center;color:#a94a40;background:#f9eae6;border-radius:9px}.principal-overdue-list>div>span:nth-child(2){flex:1;min-width:0;display:flex;flex-direction:column;gap:5px}.principal-overdue-list strong{overflow:hidden;color:var(--ink);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.principal-overdue-list small{color:#928578;font-size:9px}.principal-overdue-list b{color:#a13f3b;font-size:9px}.principal-clear{padding:18px;display:flex;align-items:center;gap:12px;color:#36734d;background:#edf5ed;border-radius:9px}.principal-clear>span{display:flex;flex-direction:column;gap:5px}.principal-clear strong{font-size:11px}.principal-clear small{color:#6e8b74;font-size:9px;line-height:1.6}.principal-readonly-note{margin-top:17px;padding:16px;display:flex;align-items:flex-start;gap:12px;color:#987641;background:#f6f0e4;border:1px solid #e9dec9;border-radius:10px}.principal-readonly-note>svg{flex-shrink:0}.principal-readonly-note p{margin:0;display:flex;flex-direction:column;gap:5px}.principal-readonly-note strong{color:#70542e;font-size:10px}.principal-readonly-note span{color:#8d7a60;font-size:9px;line-height:1.6}.principal-messages{max-width:1000px}.principal-message-empty{min-height:170px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;color:#a18b70;text-align:center}.principal-message-empty strong{color:var(--ink);font-family:Playfair Display,serif;font-size:17px}.principal-message-empty span{color:#948779;font-size:10px}.principal-compose{padding-top:19px;display:flex;flex-direction:column;gap:10px;border-top:1px solid var(--line)}.principal-compose>label{color:var(--ink)}.principal-compose>div{display:flex;align-items:center;justify-content:space-between;gap:15px}.principal-compose>div small{color:#988b7d;font-size:9px;line-height:1.5}.modal-backdrop{position:fixed;z-index:300;top:0;right:0;bottom:0;left:0;padding:20px;display:flex;align-items:center;justify-content:center;overflow-y:auto;background:#1b120fad;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.modal{width:min(100%,460px);max-height:calc(100vh - 40px);padding:32px;overflow-y:auto;position:relative;color:var(--ink);background:#fffdf9;border:1px solid rgba(199,163,92,.35);border-radius:16px;box-shadow:0 25px 80px #0000004d;animation:modal-in .22s ease}@keyframes modal-in{0%{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.modal-close{width:34px;height:34px;position:absolute;top:17px;right:17px;display:flex;align-items:center;justify-content:center;color:#84776b;background:#f4eee6;border:none;border-radius:8px}.modal-close:hover{color:var(--maroon);background:#eadfd1}.modal-close svg{width:18px;height:18px}.modal>.eyebrow{margin:6px 40px 0 0}.modal h2{margin:17px 0 23px;color:#30251f;font-family:Playfair Display,serif;font-size:30px;font-weight:600}.modal h2 em{color:var(--maroon)}.modal form{display:flex;flex-direction:column;gap:16px}.modal form label{color:#65584c}.modal .auth-switch{margin-top:20px;display:flex;justify-content:center;align-items:center;gap:6px;color:#897e72;font-size:10px}.auth-switch button{color:var(--maroon);background:none;border:none;font-size:10px;font-weight:800}.privacy-note{display:block;margin-top:17px;color:#a09488;font-size:9px;line-height:1.7;text-align:center}.optional{color:#a29588;font-size:9px;font-weight:400}.selected-book{margin:-4px 0 20px;padding:13px;display:flex;align-items:center;gap:13px;background:#f6f0e7;border-radius:10px}.mini-cover{width:45px;height:55px;flex-shrink:0;display:flex;align-items:center;justify-content:center;color:#f1d9a4;background:linear-gradient(145deg,#7d2c3b,#4c1622);border-radius:5px}.selected-book>div:last-child{min-width:0;display:flex;flex-direction:column;gap:5px}.selected-book strong{color:var(--ink);font-size:11px;line-height:1.5}.selected-book span,.selected-book small{color:#8b8074;font-size:9px}.book-edit-modal{width:min(100%,560px)}.book-edit-modal .stack-form{display:grid;grid-template-columns:1fr 1fr;gap:13px}.book-edit-modal .stack-form label:first-child,.book-edit-modal .stack-form button{grid-column:1 / -1}.setup-banner{position:fixed;z-index:150;bottom:15px;left:50%;width:min(560px,calc(100vw - 30px));padding:13px 16px;transform:translate(-50%);color:#fff3dc;background:#6c2630;border:1px solid #9c6658;border-radius:9px;box-shadow:0 8px 25px #0003;font-size:11px;text-align:center}@media(max-width:1100px){.book-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.teacher-layout,.principal-layout{grid-template-columns:220px minmax(0,1fr)}.student-layout{grid-template-columns:215px minmax(0,1fr)}.teacher-metrics,.principal-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.teacher-overview-grid{grid-template-columns:1fr}.student-dashboard-grid{grid-template-columns:1fr 1fr}.student-main-card{grid-column:1 / -1}.principal-report-grid{grid-template-columns:1fr}.hero{padding-left:7vw;padding-right:7vw}}@media(max-width:760px){.topbar{height:68px;padding:0 18px;gap:10px}.brand-mark{width:37px;height:37px}.brand strong{font-size:13px}.brand small{font-size:8px}.nav-links{display:none;position:absolute;top:68px;left:0;right:0;padding:15px 20px;flex-direction:column;align-items:stretch;gap:0;background:var(--paper);border-bottom:1px solid var(--line);box-shadow:0 12px 20px #00000012}.nav-links.open{display:flex}.nav-links button{min-height:43px;text-align:left;border-bottom:1px solid var(--line)}.mobile-toggle{display:inline-flex}.top-actions{gap:6px}.header-portal-button{height:36px;padding:0 9px;font-size:10px}.top-actions>.button{padding:9px 11px;font-size:11px}.hero{min-height:auto;padding:60px 25px 45px;grid-template-columns:1fr;gap:20px}.hero h1{font-size:55px}.hero-art{min-height:320px}.hero-stats{gap:25px;margin-top:35px}.hero-stats strong{font-size:24px}.catalogue-section{padding:55px 22px}.book-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.cover{height:185px;margin:9px 9px 0}.book-info{padding:12px 11px}.book-info h3{font-size:14px}.how-section{padding:55px 24px;grid-template-columns:1fr;gap:30px}.steps{gap:15px}footer{padding:22px;flex-wrap:wrap}footer>span{display:none}.student-layout,.teacher-layout,.principal-layout{display:block}.student-sidebar,.teacher-sidebar,.principal-sidebar{padding:15px;border-right:none;border-bottom:1px solid var(--line)}.student-profile{padding:5px 5px 14px;flex-direction:row;text-align:left;gap:10px}.student-avatar{width:39px;height:39px;margin:0;font-size:17px}.student-profile strong{font-size:11px}.student-profile>span{margin-left:auto;margin-top:0}.student-sidebar-label,.teacher-sidebar-section,.principal-sidebar-label{margin:14px 4px 8px}.student-sidebar .dash-nav,.teacher-sidebar .dash-nav,.principal-sidebar .dash-nav{width:auto;min-height:39px;padding:0 10px;margin:2px;display:inline-flex}.student-sidebar-bottom,.teacher-sidebar-footer,.principal-sidebar-bottom{display:none}.teacher-sidebar-brand,.principal-sidebar-top{padding:4px 7px 13px}.student-main,.teacher-main,.principal-main{padding:25px 18px}.student-welcome{padding:28px}.student-welcome-art{min-width:110px}.student-art-circle{width:90px;height:90px}.student-art-circle svg{width:43px}.student-dashboard-grid{grid-template-columns:1fr 1fr}.teacher-heading,.principal-heading{align-items:flex-start;flex-direction:column}.teacher-heading-actions,.principal-heading-right{width:100%;justify-content:space-between}.teacher-metrics,.principal-metrics{gap:10px}.teacher-management-grid{grid-template-columns:1fr}.principal-highlight{min-height:180px}.portal-topline{padding:0 17px}}@media(max-width:520px){.topbar{padding:0 12px}.brand{gap:7px}.brand-mark{width:33px;height:33px}.brand strong{font-size:11px}.brand small{max-width:155px;font-size:7px}.top-actions{gap:5px}.top-actions .icon-button{width:34px;height:34px}.header-portal-button{max-width:90px;gap:5px;padding:0 7px}.header-portal-button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hero{padding:48px 21px 32px}.hero h1{font-size:47px}.hero-copy>p{font-size:12px}.hero-actions{flex-wrap:wrap;gap:13px}.hero-stats{justify-content:space-between;gap:10px}.hero-stats strong{font-size:22px}.hero-stats span{font-size:7px;letter-spacing:.7px}.hero-art{min-height:285px;transform:scale(.88)}.section-heading{align-items:flex-start;flex-direction:column;gap:13px}.section-heading h2{font-size:34px}.search-row{align-items:stretch;flex-direction:column;gap:10px}.search-box{max-width:none;height:48px}.filter-label{display:none}.category-row{gap:6px}.category-chip{padding:8px 10px;font-size:9px}.book-grid{gap:10px}.cover{height:155px}.cover>strong{font-size:15px}.cover>span{font-size:7px}.cover>small{font-size:8px}.book-info h3{min-height:38px;font-size:12px}.book-info p{font-size:9px}.book-category,.availability{font-size:8px}.reserve-icon{width:29px;height:29px}.steps{grid-template-columns:1fr}.step{padding-top:12px}.step h3{margin:8px 0 4px}footer{gap:14px}.footer-brand small{max-width:220px;line-height:1.5}footer>small{width:100%}.portal-topline{height:48px;padding:0 12px}.portal-topline>span{font-size:7px;letter-spacing:.8px}.portal-topline button{gap:4px;font-size:9px}.student-main,.teacher-main,.principal-main{padding:21px 12px}.student-welcome{min-height:200px;padding:23px 19px}.student-welcome h1{font-size:30px}.student-welcome p{max-width:220px;font-size:10px;line-height:1.6}.student-welcome-art{min-width:70px}.student-art-circle{width:65px;height:65px}.student-art-circle svg{width:30px}.student-welcome-art>span{font-size:6px;letter-spacing:.7px}.student-stat-grid{gap:8px;margin:13px 0}.student-stat{min-height:115px;padding:12px}.student-stat-icon{width:29px;height:29px}.student-stat-icon svg{width:16px}.student-stat small{margin-top:8px;font-size:8px}.student-stat strong{font-size:24px}.student-stat-note{font-size:8px}.student-dashboard-grid{grid-template-columns:1fr;gap:11px}.student-main-card{grid-column:auto}.student-card{padding:16px}.student-card-heading h2{font-size:18px}.student-loan-item{gap:8px}.student-book-icon{width:35px;height:42px}.student-book-info strong{font-size:10px}.student-due{padding:5px 6px;font-size:8px}.teacher-heading h1,.principal-heading h1{font-size:32px}.teacher-heading p,.principal-heading p{font-size:10px}.teacher-heading-actions{flex-wrap:wrap}.teacher-metrics,.principal-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.teacher-metric{min-height:150px;padding:13px}.teacher-metric strong{font-size:26px}.teacher-metric small{font-size:9px}.teacher-card,.principal-card{padding:16px}.teacher-section-heading h2,.principal-card-heading h2{font-size:18px}.teacher-section-heading p,.principal-card-heading p{font-size:9px}.teacher-action-row{gap:8px}.teacher-action-row small{font-size:8px}.teacher-action-icon{width:32px;height:32px}.teacher-overdue-notice{padding:13px;gap:8px}.teacher-overdue-notice span{font-size:8px}.teacher-overdue-notice button{font-size:9px}.record{padding:12px;flex-wrap:wrap;gap:9px}.record-main{flex-basis:100%}.record>.status{margin-right:auto}.record-actions{width:100%}.record-actions .button{flex:1}.inventory-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.inventory-summary>div{padding:12px}.inventory-summary strong{font-size:21px}.teacher-management-grid{gap:11px}.settings-time-grid{grid-template-columns:1fr}.student-detail-heading h1{font-size:31px}.student-renew-control{width:100%;flex-wrap:wrap}.student-renew-control input{flex:1;width:100%}.student-renew-control button{width:100%}.principal-highlight{padding:21px 18px;grid-template-columns:1fr auto}.principal-highlight h2{font-size:24px}.principal-highlight p{font-size:9px}.principal-highlight-icon{width:65px;height:65px}.principal-highlight-icon svg{width:31px}.principal-highlight-foot{font-size:7px}.principal-metrics>div{min-height:110px;padding:12px}.principal-metrics>div>span{font-size:7px}.principal-metrics>div>strong{font-size:25px}.principal-metrics>div>small{font-size:8px}.principal-report-grid{gap:11px}.principal-actions>button{gap:8px}.principal-actions small{font-size:8px}.principal-overdue-list>div{gap:8px}.principal-overdue-list strong{font-size:10px}.principal-compose>div{align-items:flex-start;flex-direction:column}.principal-compose>div button{width:100%}.staff-message,.principal-message{max-width:94%}.modal{padding:25px 19px}.modal h2{font-size:26px}.book-edit-modal .stack-form{grid-template-columns:1fr}.book-edit-modal .stack-form label:first-child,.book-edit-modal .stack-form button{grid-column:auto}.toast{top:76px;right:10px;font-size:10px}}@media(max-width:360px){.brand small{max-width:125px}.header-portal-button{max-width:75px}.hero h1{font-size:41px}.hero-stats{gap:7px}.hero-stats strong{font-size:19px}.hero-stats span{font-size:6px}.student-welcome{padding:19px 14px}.student-welcome-art{min-width:55px}.student-welcome h1{font-size:26px}.student-stat{padding:9px}.teacher-metric{padding:10px}.teacher-metric strong{font-size:23px}.principal-highlight-icon{display:none}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
