:root{--ink:#252b24;--muted:#838173;--gold:#ab8b4b;--gold-light:#d8c28f;--forest:#192d24;--paper:#f5f1e7;--line:#ded8c9;--burgundy:#783d39;--serif:'Cormorant Garamond',Georgia,serif;--cn:'Noto Serif SC',Songti SC,serif;--shadow:0 10px 35px #29332108}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--paper);font-family:var(--cn);font-size:13px;-webkit-font-smoothing:antialiased}body:after{content:'';position:fixed;inset:0;pointer-events:none;z-index:100;opacity:.025;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.5' filter='url(%23n)'/%3E%3C/svg%3E")}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}a{color:inherit;text-decoration:none}button{cursor:pointer;border:0;background:none;color:inherit}button:disabled{opacity:.5;cursor:not-allowed}button:focus-visible,a:focus-visible{outline:2px solid #aa8947;outline-offset:5px;border-radius:3px}input:focus,textarea:focus,select:focus{outline:2px solid #b9a16b44;border-color:var(--gold)}svg.icon{width:19px;height:19px;flex-shrink:0;stroke:currentColor;fill:none;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round}h1,h2,h3,h4,p{margin:0}h1,h2,h3,h4{font-weight:600}p{line-height:1.9}.english{font-family:var(--serif);font-size:16px}.muted{color:var(--muted)}.small{font-size:11px}.gold{color:var(--gold)}.skip-link{position:fixed;left:15px;top:-100px;z-index:200;background:var(--forest);color:white;padding:12px}.skip-link:focus{top:10px}.initial-loading{display:flex;min-height:100vh;align-items:center;justify-content:center;flex-direction:column;gap:20px;color:var(--gold);letter-spacing:3px}.initial-loading img{width:85px;animation:breathe 3s infinite}.app-shell{display:flex;min-height:100vh}.sidebar{width:245px;background:var(--forest);color:#c5c9bb;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;z-index:30;background-image:radial-gradient(ellipse at 0 0,#77826418,transparent 65%);border-right:1px solid #a18a5222}.brand{padding:27px 20px 22px;text-align:center;position:relative}.brand:after{content:'';display:block;position:absolute;bottom:0;left:28px;right:28px;height:1px;background:linear-gradient(90deg,transparent,#c6aa6944,transparent)}.brand img{width:65px;height:77px}.brand h2{font-family:var(--serif);font-size:29px;color:#e1cd9d;letter-spacing:3px;font-weight:500;margin-top:2px}.brand p{font-size:10px;letter-spacing:3px;color:#a9ac96;margin-top:1px}.nav-scroll{overflow:auto;padding:20px 15px;scrollbar-width:thin;flex:1}.nav-label{font-size:9px;letter-spacing:2px;color:#7c8e7e;padding:3px 15px 11px;margin-top:14px}.nav-label:first-child{margin-top:0}.nav-item{width:100%;display:flex;align-items:center;gap:13px;padding:10px 15px;margin:2px 0;font-size:12px;letter-spacing:.5px;text-align:left;position:relative;border:1px solid transparent;border-radius:4px;transition:background .2s,color .2s,transform .2s}.nav-item svg{width:17px;opacity:.7}.nav-item:hover{background:#fff1;color:#efdfba;transform:translateX(2px)}.nav-item.active{background:#c9ad6915;color:#e4cc91;border-color:#c9ad6923}.nav-item.active:before{content:'';position:absolute;left:-15px;top:10px;bottom:10px;width:3px;background:#c9ad69}.nav-count{margin-left:auto;font-family:Georgia;font-size:10px;background:#b2935144;padding:1px 5px;border-radius:3px}.sidebar-bottom{padding:15px 24px 20px;border-top:1px solid #c3ad7020}.house-mini{display:flex;align-items:center;gap:11px}.house-mini>span{background:#774137;border:1px solid #d6b87566;width:34px;height:40px;display:grid;place-items:center;border-radius:3px 3px 13px 13px;color:#dac18d}.house-mini strong{font-size:11px;display:block;color:#ded7bd;font-weight:500}.house-mini small{font-size:10px;color:#8c9d89;display:block;margin-top:4px}.sidebar-motto{text-align:center;font-family:var(--serif);font-style:italic;font-size:12px;color:#7c8b78;margin-top:20px;letter-spacing:.4px}.workspace{margin-left:245px;width:calc(100% - 245px)}.topbar{height:76px;padding:0 39px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:15px;background:#faf7efba}.breadcrumbs{display:flex;align-items:center;gap:13px;color:#8b8c7b;font-size:11px}.breadcrumbs svg{width:13px;color:#b5a78b}.breadcrumbs strong{font-weight:500;color:#484f42}.top-actions{display:flex;gap:23px;align-items:center}.school-date{font-size:11px;color:#878574;display:flex;align-items:center;gap:8px}.round-button{position:relative;display:grid;place-items:center;width:32px;height:32px;color:#797c6a}.notification-dot{position:absolute;right:6px;top:6px;width:5px;height:5px;background:#9f5547;border-radius:50%;border:1px solid var(--paper)}.profile-button{display:flex;align-items:center;gap:11px;border-left:1px solid var(--line);padding-left:21px}.avatar{border:1px solid #d3c6a4;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#e9e2d0;color:#786642;font-family:var(--serif);font-size:16px}.profile-name{display:block;font-size:11px;font-weight:600}.profile-role{display:block;font-size:9px;color:#99917a;margin-top:4px;letter-spacing:.5px}.mobile-menu{display:none}.content{max-width:1600px;margin:auto;padding:34px 39px 26px}.page-intro{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;gap:15px}.eyebrow{font-family:var(--serif);text-transform:uppercase;letter-spacing:3px;font-size:12px;color:var(--gold);margin-bottom:6px}.page-intro h1{font-size:25px;letter-spacing:2px;font-weight:500}.page-intro p{color:#8c8879;font-size:11px;margin-top:8px;letter-spacing:.5px}.term-badge{display:flex;align-items:center;gap:8px;border:1px solid #d8cfb7;border-radius:3px;padding:8px 12px;color:#8a7b54;font-size:10px;white-space:nowrap;background:#eee8d766}.term-badge .icon{width:14px}.hero{height:287px;border-radius:6px;overflow:hidden;position:relative;background:#1c2928 url('/castle.jpg') center 48%/max(112%,600px) auto no-repeat;color:#f6edda;display:flex;align-items:center;padding:39px;margin-bottom:23px;box-shadow:var(--shadow)}.hero:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#0f201fee 0%,#142522ad 38%,#17262110 76%)}.hero:after{content:'';position:absolute;inset:9px;border:1px solid #e3c78940;border-radius:2px;pointer-events:none}.hero-content{position:relative;z-index:2;width:65%}.hero .eyebrow{color:#d0ba7e;font-size:11px;letter-spacing:4px;display:flex;align-items:center;gap:9px}.hero .eyebrow:before{content:'';width:27px;height:1px;background:#c8ad6b}.hero h2{font-size:31px;font-weight:400;letter-spacing:2px;margin:13px 0 13px;line-height:1.5}.hero p{font-size:11px;color:#d0d1be;max-width:350px;line-height:2.1;letter-spacing:1px}.hero .btn{margin-top:22px}.hero-caption{position:absolute;bottom:22px;right:26px;font-family:var(--serif);font-size:12px;letter-spacing:2px;color:#e4d2a7a6;font-style:italic}.hero-stars{position:absolute;inset:0;pointer-events:none}.hero-stars i{position:absolute;width:2px;height:2px;border-radius:50%;background:#e5c986;box-shadow:0 0 6px 2px #e9c36b50;animation:float 8s ease-in-out infinite}.hero-stars i:nth-child(1){top:25%;left:50%;animation-delay:-2s}.hero-stars i:nth-child(2){top:65%;left:63%;animation-delay:-4s}.hero-stars i:nth-child(3){top:44%;left:30%;animation-delay:-6s}.hero-stars i:nth-child(4){top:78%;left:79%}.btn{display:inline-flex;gap:9px;align-items:center;justify-content:center;padding:10px 17px;border-radius:3px;border:1px solid #cabb95;font-size:11px;letter-spacing:.5px;transition:transform .2s,background .2s,box-shadow .2s;line-height:1.6}.btn:hover{transform:translateY(-2px);box-shadow:0 5px 12px #1b2b2512;background:#eae3d2}.btn svg{width:15px;height:15px}.btn-primary{background:#b8a06b;color:#fcf8eb;border-color:#b8a06b}.btn-primary:hover{background:#a78d56}.btn-forest{background:var(--forest);border-color:var(--forest);color:#f2e7cf}.btn-forest:hover{background:#2e493a}.btn-small{padding:7px 12px;font-size:10px}.btn-danger{color:#9a5147;border-color:#d2b2a6}.btn-text{display:inline-flex;align-items:center;gap:6px;font-size:10px;color:#9a7d42;padding:3px 0;white-space:nowrap}.btn-text svg{width:13px;height:13px}.btn-text:hover{color:#654d24}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:28px}.stat-card{background:#faf8f1;border:1px solid var(--line);border-radius:5px;display:flex;align-items:center;justify-content:space-between;padding:18px 21px;position:relative;overflow:hidden}.stat-card:after{content:'';position:absolute;right:-12px;bottom:-30px;width:85px;height:85px;border:1px solid #bfa66a10;border-radius:50%}.stat-card span{font-size:10px;color:#878675;letter-spacing:.5px}.stat-card strong{font-family:var(--serif);display:block;font-size:29px;font-weight:500;margin-top:7px;line-height:1}.stat-card strong small{font:10px var(--cn);margin-left:5px;color:#96907c}.stat-icon{width:39px;height:39px;display:grid;place-items:center;background:#ece6d6;border-radius:50%;color:#a58b54}.stat-card:nth-child(2) .stat-icon{background:#e4e9de;color:#728268}.stat-card:nth-child(3) .stat-icon{background:#eee0d8;color:#a47866}.stat-card:nth-child(4) .stat-icon{background:#e4e6e9;color:#7c8691}.section-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 17px;gap:15px}.section-heading h2{font-size:15px;font-weight:500;letter-spacing:1px;display:flex;align-items:center;gap:10px}.section-heading h2 svg{color:#99814e;width:17px}.section-heading .english{font-size:13px;color:#a59a82;margin-left:8px;font-weight:400;letter-spacing:.3px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(270px,1fr);gap:24px}.panel{background:#faf8f1;border:1px solid var(--line);border-radius:5px;box-shadow:var(--shadow);padding:22px}.panel.no-padding{padding:0;overflow:hidden}.class-row{display:flex;align-items:stretch;gap:17px;padding:17px 0;border-bottom:1px solid #e6e0d4}.class-row:first-child{padding-top:0}.class-row:last-child{border-bottom:0;padding-bottom:0}.class-time{width:46px;flex-shrink:0;font-family:var(--serif);font-size:17px;line-height:1.3;color:#615c4e}.class-time small{display:block;font-size:12px;color:#aba38e;margin-top:3px}.class-line{width:3px;border-radius:2px;background:#9e5d52;flex-shrink:0}.class-info{flex:1}.class-info h3{font-size:12px;font-weight:500;margin-bottom:8px}.class-info p{color:#95907f;font-size:10px;display:flex;gap:12px;align-items:center;flex-wrap:wrap;line-height:1.5}.class-info p span{display:flex;align-items:center;gap:5px}.class-info p svg{width:12px;height:12px}.tag{display:inline-flex;align-items:center;gap:4px;font-size:9px;line-height:1.4;padding:4px 7px;background:#e8ecdf;color:#74805c;border-radius:3px;white-space:nowrap}.tag.gold-tag{color:#9b7a35;background:#f0e8d4}.tag.red-tag{color:#a36d5b;background:#f0e3da}.tag.blue-tag{color:#6c8190;background:#e4e9ed}.tag.gray-tag{color:#8a887d;background:#edeae2}.class-row>.tag{align-self:flex-start}.dashboard-bottom{margin-top:24px}.assignment-row{display:flex;gap:12px;align-items:center;padding:14px 0;border-bottom:1px solid #e4dfd1}.assignment-row:first-child{padding-top:0}.assignment-row:last-child{border-bottom:0;padding-bottom:0}.assignment-icon{width:33px;height:36px;background:#eee7d8;display:grid;place-items:center;color:#a38d60;border-radius:2px;flex-shrink:0}.assignment-icon svg{width:17px}.assignment-info{flex:1;min-width:0}.assignment-info h3{font-size:11px;font-weight:500;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.assignment-info p{font-size:9px;color:#99917c;margin-top:5px}.assignment-row .due{font-size:10px;color:#a2755d;white-space:nowrap}.notice{padding:15px 0;border-bottom:1px solid #e6e0d4}.notice:first-child{padding-top:0}.notice:last-child{padding-bottom:0;border-bottom:0}.notice-meta{font-size:9px;color:#a49470;letter-spacing:1px;display:flex;align-items:center;gap:6px}.notice-meta:before{content:'';width:4px;height:4px;background:#b3985c;border-radius:50%}.notice h3{font-size:12px;font-weight:500;margin:8px 0}.notice p{font-size:10px;color:#938c7b;line-height:1.9}.house-cup{margin-top:24px;background:linear-gradient(135deg,#202f26,#314234);color:#e6dcc2;position:relative;overflow:hidden;padding:22px;border-radius:5px;border:1px solid #475239}.house-cup:before{content:'✦';font-size:140px;position:absolute;right:-12px;top:-35px;color:#c1a4600a}.house-cup .section-heading{margin-bottom:20px}.house-cup .section-heading h2{font-size:13px}.house-cup .section-heading svg{color:#c5ab70}.house-scores{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;text-align:center;align-items:end}.house-flag{margin:auto;width:34px;height:42px;border:1px solid #d6bd7855;border-radius:2px 2px 12px 12px;display:grid;place-items:center;font-family:var(--serif);font-size:20px;color:#d5bf88;position:relative}.house-flag.gryffindor{background:#773f36}.house-flag.slytherin{background:#3c5c4c}.house-flag.ravenclaw{background:#3d5066}.house-flag.hufflepuff{background:#8d7a3e}.house-score strong{font-family:var(--serif);font-size:24px;font-weight:500;display:block;margin-top:9px}.house-score small{font-size:8px;color:#9da58e;display:block;margin-top:2px;white-space:nowrap}.cup-note{font-size:9px;color:#8e9b83;text-align:center;margin-top:18px;border-top:1px solid #e3cb9a17;padding-top:13px}.quick-links{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:25px}.quick-link{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border:1px solid #ded8c8;border-radius:4px;background:#f7f3e8;transition:background .2s,transform .2s}.quick-link:hover{background:#ece6d7;transform:translateY(-2px)}.quick-link>div{display:flex;align-items:center;gap:12px}.quick-link svg{color:#a18a55;width:22px;height:22px}.quick-link strong{font-weight:500;font-size:11px;display:block}.quick-link small{display:block;font-family:var(--serif);font-size:12px;color:#a79b80;margin-top:3px}.quick-link>svg{width:14px}.site-footer{display:flex;justify-content:space-between;gap:15px;margin-top:30px;padding-top:17px;border-top:1px solid var(--line);font-size:9px;color:#a19a86}.site-footer span:last-child{font-family:var(--serif);font-size:12px;letter-spacing:.5px}.page-body{animation:page-enter .4s cubic-bezier(.2,.8,.2,1) both}.content-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.content-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.course-card{border:1px solid var(--line);background:#faf8f1;border-radius:5px;overflow:hidden;transition:transform .25s,box-shadow .25s}.course-card:hover{transform:translateY(-4px);box-shadow:0 12px 30px #1f302013}.course-art{height:105px;background:linear-gradient(135deg,var(--course-color,#6d7966),#24372d);position:relative;display:grid;place-items:center;color:#e4d1a6;overflow:hidden}.course-art:before,.course-art:after{content:'';position:absolute;width:120px;height:120px;border:1px solid #d7bd7c33;transform:rotate(45deg)}.course-art:after{width:80px;height:80px}.course-art svg{width:37px;height:37px;stroke-width:1;z-index:1}.course-art .course-code{position:absolute;bottom:10px;left:16px;font-family:var(--serif);font-size:12px;letter-spacing:2px}.course-art .tag{position:absolute;top:12px;right:12px;background:#ffefcd26;color:#fff2ca}.course-card-body{padding:20px}.course-card h3{font-size:15px;letter-spacing:1px}.course-card .english{color:#9b8e72;font-size:16px;margin:4px 0 10px}.course-card p{font-size:10px;color:#918a79;line-height:1.9}.course-meta{display:flex;align-items:center;gap:12px;font-size:9px;color:#8c897a;margin:15px 0}.card-actions{display:flex;justify-content:space-between;align-items:center;padding-top:14px;border-top:1px solid #e6dfd1;gap:10px}.toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px;gap:15px;flex-wrap:wrap}.search-field{display:flex;align-items:center;gap:9px;background:#faf8f1;border:1px solid var(--line);padding:9px 13px;border-radius:3px;max-width:320px;flex:1}.search-field svg{color:#a29371;width:16px}.search-field input{border:0;background:none;width:100%;font-size:11px;outline:none}.tabs{display:flex;gap:5px;border-bottom:1px solid var(--line);margin-bottom:22px;overflow:auto}.tab{padding:12px 18px;font-size:11px;color:#99917b;border-bottom:2px solid transparent;white-space:nowrap}.tab.active{color:#86713f;border-color:#ac9054}.empty{padding:42px 20px;text-align:center;grid-column:1/-1;color:#9b927f}.empty svg{width:35px;height:35px;color:#b29b69;display:block;margin:0 auto 16px}.empty h3{font-size:14px;font-weight:500;color:#655f4e;margin-bottom:10px}.empty p{font-size:11px}.empty .btn{margin-top:18px}.steps{display:flex;align-items:center;gap:15px;padding:22px 0 30px}.step{flex:1;display:flex;gap:9px;align-items:center;color:#a69d88;font-size:11px}.step:after{content:'';height:1px;background:#ddd4be;flex:1;margin-left:12px}.step:last-child:after{display:none}.step>span{width:27px;height:27px;display:grid;place-items:center;border:1px solid #d5c9aa;border-radius:50%;font-family:var(--serif);font-size:16px}.step.done{color:#63806b}.step.done>span{background:#e2e7d9;border-color:#aebca4}.letter{background:#fbf7ec;padding:35px;border:1px solid #d9cead;position:relative}.letter:before{content:'';position:absolute;inset:8px;border:1px solid #e5dcc5;pointer-events:none}.letter-head{text-align:center;margin-bottom:25px}.letter-head img{width:61px}.letter-head h2{font-family:var(--serif);font-size:25px;letter-spacing:3px;margin:10px 0 3px}.letter p{font-size:12px;line-height:2.3;margin:14px 0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.field{display:flex;flex-direction:column;gap:8px;font-size:11px}.field.full{grid-column:1/-1}.field label{color:#736c59}.field input,.field select,.field textarea{width:100%;padding:11px 12px;color:#484c3f;background:#fbf9f2;border:1px solid #dcd3bd;border-radius:3px;min-width:0;font-size:12px;transition:border .2s}.field textarea{resize:vertical;min-height:100px;line-height:1.9}.field small{font-size:9px;color:#a2987f;line-height:1.7}.form-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:23px}.checkbox{display:flex;align-items:flex-start;gap:9px;line-height:1.9;font-size:11px;color:#8e8268}.checkbox input{accent-color:var(--forest);margin-top:5px}.info-box{padding:15px 18px;background:#ebe7d9;border-left:2px solid #b49a60;margin:18px 0;font-size:11px;line-height:2;color:#8a7956}.result-box{text-align:center;background:radial-gradient(ellipse at center,#eadbb8,#faf5e8);padding:40px;border:1px solid #d9c8a1;border-radius:4px}.result-box h2{font-family:var(--serif);font-size:39px;color:#7c4236;margin:15px}.result-box p{font-size:12px;color:#9b855e}.result-seal{width:73px;height:86px;border-radius:4px 4px 30px 30px;border:2px solid #b39458;background:#783f35;display:grid;place-items:center;margin:0 auto;color:#ddc185;font-family:var(--serif);font-size:43px;box-shadow:0 8px 20px #72493822}.list-table{width:100%;border-collapse:collapse;text-align:left}.table-scroll{overflow:auto}.list-table th{font-size:10px;font-weight:500;color:#9c8e71;padding:13px 16px;background:#f0ecdf;border-bottom:1px solid var(--line);white-space:nowrap}.list-table td{padding:16px;font-size:11px;border-bottom:1px solid #e7dfce;line-height:1.8}.list-table tr:last-child td{border-bottom:0}.list-table tr:hover td{background:#f4efdf50}.list-table td .btn{white-space:nowrap}.schedule-wrap{overflow:auto}.schedule{min-width:700px;display:grid;grid-template-columns:55px repeat(5,1fr);border-top:1px solid #ded7c6;border-left:1px solid #ded7c6}.schedule-header,.schedule-time,.schedule-cell{border-right:1px solid #ded7c6;border-bottom:1px solid #e5decc;padding:12px 8px;min-height:68px;font-size:10px;position:relative}.schedule-header{min-height:48px;text-align:center;background:#eee9dc;font-size:12px}.schedule-header small{display:block;font:12px var(--serif);color:#ab9e7d;margin-top:4px}.schedule-time{font-family:var(--serif);font-size:14px;color:#a09378;background:#f1ecdf;text-align:center}.schedule-class{border-left:3px solid var(--course-color);background:color-mix(in srgb,var(--course-color) 12%,#faf8ee);padding:9px 8px;border-radius:2px;height:100%;font-size:10px;cursor:pointer}.schedule-class small{display:block;font-size:8px;color:#96896e;margin-top:5px;line-height:1.7}.book-card{display:flex;gap:20px;padding:22px;border:1px solid var(--line);background:#faf8f1;border-radius:4px;align-items:center}.book-cover{background:var(--cover);width:78px;height:113px;flex-shrink:0;border-radius:2px 5px 5px 2px;box-shadow:3px 5px 8px #2d332122,inset 4px 0 #0002;border:1px solid #ae986855;color:#d9c496;position:relative;display:flex;align-items:center;justify-content:center;padding:9px;text-align:center;font-size:10px;line-height:1.8;letter-spacing:1px}.book-cover:after{content:'';position:absolute;inset:7px 6px 8px 9px;border:1px solid #d9c49666}.book-cover span{z-index:1}.book-info{flex:1;min-width:0}.book-info h3{font-size:13px;margin-bottom:5px}.book-info>p{font-size:10px;color:#9b9178}.book-info .btn{margin-top:12px}.train-ticket{background:#faf5e8;border:1px solid #d3c49f;border-radius:6px;overflow:hidden;margin-bottom:20px;display:grid;grid-template-columns:1fr 185px;position:relative}.train-ticket:before{content:'';position:absolute;left:0;top:0;bottom:0;width:5px;background:#7e463c}.ticket-main{padding:25px 30px}.ticket-label{font-family:var(--serif);font-size:12px;letter-spacing:3px;color:#9f874c;text-transform:uppercase}.train-route{display:flex;align-items:center;justify-content:space-between;margin:20px 0}.train-stop strong{font-family:var(--serif);font-size:32px;font-weight:500}.train-stop p{font-size:10px;color:#9b8c6d}.train-stop:last-child{text-align:right}.train-track{flex:1;display:flex;align-items:center;justify-content:center;gap:10px;color:#a38b51;padding:0 25px}.train-track:before,.train-track:after{content:'';height:1px;flex:1;background:#c4b384}.ticket-details{display:flex;gap:22px;flex-wrap:wrap;font-size:10px;color:#998566}.ticket-stub{border-left:1px dashed #cfbd93;padding:25px 20px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:15px;background:#eae2cc55}.ticket-stub strong{font-family:var(--serif);font-size:28px;color:#785a37}.seat-picker{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:17px}.seat{border:1px solid #d4c7a4;padding:10px;background:#f8f3e6;border-radius:5px 5px 2px 2px;font:16px var(--serif);text-align:center;transition:background .2s}.seat:nth-child(4n+2){margin-right:12px}.seat.selected{background:#36523e;color:#f4e7c5;border-color:#36523e}.seat.occupied{background:#d4cebf;color:#b3ab97;cursor:not-allowed}.match-card{padding:28px;border:1px solid var(--line);border-radius:5px;background:#faf7ed;text-align:center}.match-teams{display:flex;align-items:center;justify-content:center;gap:24px;margin:25px 0}.match-teams .house-flag{width:53px;height:65px;font-size:32px}.match-teams small{display:block;font-size:10px;margin-top:10px;color:#7e745f}.match-teams>span{font:italic 24px var(--serif);color:#ad9870}.match-card>p{color:#a29475;font-size:10px;margin:10px 0}.match-card>.btn{margin-top:12px}.group-members{display:flex;gap:-2px;margin:17px 0}.member-dot{width:30px;height:30px;border:2px solid #faf8f1;border-radius:50%;background:#e1d5bb;color:#9c8557;display:grid;place-items:center;font:14px var(--serif);margin-right:-5px}.group-card{padding:25px;border:1px solid var(--line);border-radius:5px;background:#faf8f1}.group-card h3{font-size:14px;margin:12px 0}.group-card p{font-size:11px;color:#9b8d71}.toolbar-actions{display:flex;gap:10px}.modal-overlay{position:fixed;inset:0;background:#101c18b3;backdrop-filter:blur(5px);z-index:80;display:flex;align-items:center;justify-content:center;padding:25px;animation:fade-in .2s}.modal{width:100%;max-width:610px;background:#f7f2e5;border:1px solid #d0bd8e;border-radius:7px;box-shadow:0 30px 100px #0005;max-height:90vh;overflow:auto;animation:modal-enter .3s cubic-bezier(.2,.8,.2,1)}.modal.wide{max-width:850px}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:23px 27px;border-bottom:1px solid #dcd1b7;gap:12px}.modal-header h2{font-size:17px;font-weight:500;letter-spacing:1px}.modal-close{width:30px;height:30px;display:grid;place-items:center;color:#a08e65}.modal-body{padding:27px}.modal-description{color:#9c8e71;font-size:11px;margin-bottom:22px;line-height:2}.auth-crest{width:62px;height:73px;display:block;margin:0 auto 10px}.auth-title{text-align:center;font:29px var(--serif);color:#796337;letter-spacing:2px;margin-bottom:5px}.auth-subtitle{text-align:center;font-size:10px;color:#9b8c6d;margin-bottom:25px}.auth-form{display:flex;flex-direction:column;gap:17px}.auth-form .btn{margin-top:6px}.auth-switch{text-align:center;font-size:10px;color:#a28a56;margin-top:20px}.demo-options{display:flex;gap:8px;border-top:1px solid #dfd3b7;padding-top:20px;margin-top:20px;flex-wrap:wrap}.demo-options .btn{flex:1;white-space:nowrap;padding:9px}.demo-explanation{font-size:9px;color:#aa9c7d;line-height:1.8;margin-top:10px;text-align:center}.error-box{font-size:11px;color:#a45b4c;padding:12px 15px;border:1px solid #dfbbae;background:#f1e4d9;border-radius:3px;line-height:1.8}.demo-banner{display:flex;align-items:center;justify-content:space-between;padding:9px 39px;background:#ece5d1;border-bottom:1px solid #ded2b3;font-size:9px;color:#9b8455;gap:10px}.demo-banner>span{display:flex;align-items:center;gap:7px}.demo-banner svg{width:13px;height:13px}.demo-banner button{font-size:9px;text-decoration:underline;text-underline-offset:3px}.role-options{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.role-option{padding:20px 10px;text-align:center;border:1px solid #d9ccab;border-radius:4px;background:#f4edde;transition:transform .2s,background .2s}.role-option:hover{transform:translateY(-3px);background:#e8dec4}.role-option svg{width:28px;height:28px;color:#9f884e}.role-option strong{display:block;font-size:13px;margin:12px 0 7px}.role-option small{font-size:9px;color:#a09273;line-height:1.7;display:block}#toast{position:fixed;bottom:28px;left:calc(50% + 122px);transform:translate(-50%,20px);background:#263d2e;color:#f3e4bd;border:1px solid #ae995e;padding:13px 23px;border-radius:4px;box-shadow:0 10px 30px #14201933;z-index:150;opacity:0;pointer-events:none;transition:opacity .25s,transform .25s;font-size:12px;max-width:90vw;line-height:1.8}#toast.visible{opacity:1;transform:translate(-50%,0)}#toast.error{background:#763e34}.mobile-overlay{display:none}.detail-title{display:flex;gap:18px;align-items:center;margin-bottom:23px}.detail-icon{width:60px;height:60px;display:grid;place-items:center;background:#e8dfc9;color:#9a824c;border:1px solid #d6c7a2;border-radius:4px}.detail-icon svg{width:30px;height:30px}.detail-title h2{font-size:22px;letter-spacing:2px}.detail-title p{font:18px var(--serif);color:#aa9470;margin-top:5px}.resource-row{display:flex;justify-content:space-between;align-items:center;padding:16px 0;border-bottom:1px solid #e1d7c1;gap:12px}.resource-row:last-child{border:0}.resource-row>div{display:flex;align-items:center;gap:12px}.resource-row h4{font-size:12px;font-weight:500}.resource-row p{font-size:9px;color:#a5936f;margin-top:4px}.progress-track{height:4px;background:#e4ddcb;border-radius:3px;overflow:hidden}.progress-track>span{display:block;height:100%;background:#9c8550}.sorting-options{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:15px 0 22px}.sorting-option{padding:15px;border:1px solid #d3c4a0;background:#f8f3e7;border-radius:3px;text-align:left;font-size:12px;transition:background .2s}.sorting-option.selected{border-color:#8e793e;background:#e8dfc5}.sorting-progress{font:16px var(--serif);letter-spacing:2px;color:#b09b6c;margin-bottom:15px}.detail-copy{font-size:12px;line-height:2.1;color:#8f8165;white-space:pre-wrap}.pill-list{display:flex;flex-wrap:wrap;gap:7px}.profile-pop{display:flex;flex-direction:column;gap:12px}.profile-data{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:20px;background:#efe7d3}.profile-data span{font-size:10px;color:#a48d60}.profile-data strong{display:block;font-size:12px;font-weight:500;color:#66583f;margin-top:5px}.login-nudge{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px 22px;background:#e9e2cf;border:1px solid #dacaa6;border-radius:4px;margin-bottom:24px}.login-nudge p{font-size:11px;color:#8e7d57}.login-nudge strong{display:block;margin-bottom:5px;font-weight:500;color:#6d5c37}.wizard-hat{font-size:70px;text-align:center;filter:sepia(.4)}.submission-text{padding:18px;background:#eee7d6;font-size:12px;line-height:2.1;white-space:pre-wrap}.loading-line{height:2px;position:fixed;top:0;left:0;z-index:200;background:var(--gold);width:35%;animation:loading 1s ease infinite;display:none}.loading-line.visible{display:block}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@keyframes page-enter{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}@keyframes modal-enter{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes fade-in{from{opacity:0}to{opacity:1}}@keyframes float{0%,100%{transform:translateY(0);opacity:.3}50%{transform:translateY(-20px);opacity:1}}@keyframes breathe{50%{opacity:.5}}@keyframes loading{from{transform:translateX(-100%)}to{transform:translateX(400%)}}
@media(min-width:1600px){.content{padding-top:40px}.hero{height:330px}.hero h2{font-size:37px}.sidebar{width:260px}.workspace{margin-left:260px;width:calc(100% - 260px)}}@media(max-width:1200px){.sidebar{width:215px}.workspace{margin-left:215px;width:calc(100% - 215px)}.content{padding:27px}.topbar{padding:0 27px}.demo-banner{padding:9px 27px}.hero{padding:30px;height:265px}.hero h2{font-size:27px}.stat-card{padding:15px}.stat-icon{width:32px;height:32px}.dashboard-grid{grid-template-columns:minmax(0,1.4fr) minmax(250px,1fr);gap:18px}.section-heading .english{display:none}.content-grid{grid-template-columns:repeat(2,1fr)}.brand h2{font-size:26px}.quick-link{padding:15px 13px}.school-date{display:none}#toast{left:calc(50% + 108px)}}@media(max-width:900px){.sidebar{width:190px}.workspace{margin-left:190px;width:calc(100% - 190px)}.content{padding:24px 20px}.topbar{padding:0 20px;height:65px}.brand{padding:22px 12px 19px}.brand img{width:53px;height:64px}.brand h2{font-size:23px}.brand p{font-size:9px;letter-spacing:2px}.nav-scroll{padding:16px 10px}.nav-item{padding:10px;gap:10px;font-size:11px}.nav-label{padding-left:10px}.nav-item.active:before{left:-10px}.dashboard-grid{grid-template-columns:1fr}.dashboard-right{display:grid;grid-template-columns:1.1fr 1fr;gap:18px;align-items:start}.house-cup{margin-top:0}.hero-content{width:80%}.stats-grid{gap:10px}.stat-card{padding:13px}.stat-icon{display:none}.stat-card strong{font-size:27px}.quick-links{gap:9px}.quick-link svg{width:18px}.quick-link>div{gap:8px}.quick-link small{font-size:10px}.quick-link>svg{display:none}.content-grid.two{grid-template-columns:1fr}.demo-banner{padding:9px 20px}#toast{left:calc(50% + 95px)}}@media(max-width:700px){.sidebar{transform:translateX(-100%);transition:transform .3s cubic-bezier(.2,.8,.2,1);width:245px}.sidebar.open{transform:translateX(0)}.sidebar.open~.mobile-overlay{display:block;position:fixed;inset:0;background:#0c1c16a3;z-index:25;backdrop-filter:blur(3px)}.workspace{margin-left:0;width:100%}.topbar{height:62px;padding:0 18px}.mobile-menu{display:grid;place-items:center;width:29px;height:32px;color:#897349;margin-right:3px}.breadcrumbs{gap:8px;font-size:10px}.top-actions{gap:8px}.profile-button{padding-left:12px}.profile-name{font-size:10px}.profile-role{font-size:8px}.avatar{width:30px;height:30px}.top-actions>.round-button{display:none}.content{padding:25px 18px 20px}.page-intro{margin-bottom:20px;align-items:flex-start}.page-intro h1{font-size:22px;letter-spacing:1px}.page-intro p{font-size:10px;line-height:1.8;max-width:220px}.eyebrow{font-size:10px;letter-spacing:2px}.term-badge{font-size:8px;padding:6px 8px;gap:4px;margin-top:8px}.term-badge svg{display:none}.hero{height:280px;padding:28px 24px;background-position:63% 50%;margin-bottom:17px}.hero:before{background:linear-gradient(90deg,#10221fe6,#16292380 70%,#16292320)}.hero-content{width:100%}.hero h2{font-size:25px;max-width:280px;line-height:1.7;margin:10px 0}.hero p{font-size:10px;max-width:250px}.hero .eyebrow{font-size:9px;letter-spacing:3px}.hero .btn{margin-top:18px}.hero-caption{font-size:9px;right:20px;bottom:20px}.stats-grid{grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:25px}.stat-card{padding:15px 18px}.stat-icon{display:grid;width:32px;height:32px}.stat-card strong{font-size:28px}.stat-card span{font-size:9px}.dashboard-right{display:block}.house-cup{margin-top:23px}.section-heading{margin-bottom:14px}.section-heading h2{font-size:14px}.section-heading .english{display:inline;font-size:12px;margin-left:3px}.panel{padding:20px}.class-row{gap:12px}.class-info p{font-size:9px;gap:8px}.class-time{font-size:17px;width:43px}.class-info h3{font-size:11px}.class-row>.tag{font-size:8px}.quick-links{grid-template-columns:1fr}.quick-link{padding:16px 20px}.quick-link>div{gap:15px}.quick-link svg{width:24px;height:24px}.quick-link>svg{display:block;width:14px}.quick-link strong{font-size:12px}.quick-link small{font-size:12px}.site-footer{font-size:8px;flex-wrap:wrap;margin-top:25px}.site-footer span:last-child{font-size:11px}.content-grid{grid-template-columns:1fr}.toolbar{gap:12px}.search-field{max-width:100%;min-width:170px}.tabs{margin-bottom:18px}.tab{padding:11px 12px;font-size:10px}.form-grid{grid-template-columns:1fr}.field.full{grid-column:1}.letter{padding:28px 23px}.steps{gap:7px}.step{font-size:9px;gap:6px}.step>span{width:24px;height:24px;font-size:14px}.step:after{margin-left:4px}.train-ticket{grid-template-columns:1fr}.ticket-main{padding:23px}.ticket-stub{flex-direction:row;border-left:0;border-top:1px dashed #cfbd93;padding:15px;justify-content:space-between}.train-stop strong{font-size:28px}.train-stop p{font-size:8px;max-width:105px;line-height:1.8}.train-track{padding:0 13px}.ticket-details{font-size:9px;gap:12px}.modal-overlay{padding:15px}.modal{max-height:94dvh}.modal-header{padding:19px 21px}.modal-header h2{font-size:16px}.modal-body{padding:22px}.demo-banner{padding:8px 18px;font-size:8px;align-items:flex-start;line-height:1.8}.demo-banner>span{gap:5px}.demo-banner svg{display:none}.demo-banner button{font-size:8px;white-space:nowrap}.role-options{gap:8px}.role-option{padding:18px 9px}.role-option small{font-size:8px}#toast{left:50%;width:max-content;max-width:calc(100% - 30px);font-size:11px;padding:12px 18px;bottom:20px}.login-nudge{padding:16px;gap:12px}.login-nudge p{font-size:10px}.login-nudge .btn{white-space:nowrap;padding:9px 10px;font-size:10px}.book-card{padding:19px}.book-cover{width:65px;height:98px}.result-box{padding:30px 20px}.sorting-options{grid-template-columns:1fr}.match-card{padding:23px}.list-table td{padding:13px 11px;font-size:10px}.list-table th{padding:12px 11px}.detail-title h2{font-size:19px}.detail-title p{font-size:16px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}::view-transition-old(root){animation:fade-in .18s reverse}::view-transition-new(root){animation:page-enter .3s}
@media(max-width:420px){.breadcrumbs{min-width:0;flex-shrink:1}.breadcrumbs>span,.breadcrumbs>.icon{display:none}.breadcrumbs>strong{white-space:nowrap}.profile-button{padding-left:9px;gap:8px;min-width:0}.profile-button .profile-name{max-width:106px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-button .profile-role{white-space:nowrap}.top-actions{min-width:0}}
