:root{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:#17213b;background:#e7eaf1;font-size:16px}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button,select{font:inherit}button,a,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a:focus-visible,button:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #eeb631;outline-offset:3px}.phone{width:100%;max-width:540px;min-height:100dvh;margin:0 auto;background:#f5f7fc;position:relative;box-shadow:0 0 60px #17213b14}header{display:flex;align-items:center;justify-content:space-between;padding:24px 24px 20px;background:#fff;border-bottom:1px solid #e9edf5}.brand{font-size:26px;font-weight:800;letter-spacing:-1px}.brand strong{color:#1739de}.brand span{display:block;font-size:12px;letter-spacing:1px;margin-top:5px;font-weight:500;color:#65708a}.edition{font-size:12px;color:#65708a;border:1px solid #e2e7f0;border-radius:100px;padding:7px 10px}main{padding:24px 22px 130px}h1{font-size:30px;letter-spacing:-1px;margin:0 0 8px;line-height:1.25}h2{font-size:21px;margin:0 0 10px}h3{font-size:18px;margin:0 0 6px}p{line-height:1.65;margin:8px 0}.en{display:block;color:#68758e;font-size:14px;font-weight:400;letter-spacing:0;margin-top:4px}.eyebrow{font-size:12px;font-weight:700;letter-spacing:1.5px;color:#1739de;margin-bottom:12px}.intro{color:#67728a;font-size:15px}.hero{background:#1739de;color:white;padding:26px;border-radius:24px;margin:20px 0 26px;position:relative}.hero .en{color:#cdd7ff}.hero h2{font-size:26px}.hero p{color:#d8e0ff;font-size:15px}.tag{font-size:12px;border-radius:100px;background:#edf1ff;color:#1739de;padding:5px 9px;display:inline-block}.hero .tag{background:#ffffff24;color:white;margin-bottom:16px}.btn{display:flex;justify-content:center;align-items:center;min-height:48px;padding:12px 18px;border:0;border-radius:12px;background:#1739de;color:white;font-weight:650;width:100%;margin-top:16px}.hero .btn{background:white;color:#1739de}.btn.secondary{background:#eaf0ff;color:#1739de}.btn:disabled{background:#e4e8f0;color:#798499;cursor:default}.section-head{display:flex;justify-content:space-between;align-items:center;margin:24px 0 14px}.section-head a{font-size:14px;color:#1739de}.card{padding:20px;background:white;border:1px solid #e4e9f3;border-radius:18px;margin-bottom:12px}.card p{font-size:15px;color:#5c6981}.price{display:flex;align-items:baseline;gap:6px;margin:14px 0;color:#1739de}.price b{font-size:30px}.price span{font-size:14px;color:#637089}.split{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.index{font-size:13px;color:#1739de;font-weight:700;margin-bottom:12px}.notice{font-size:14px;color:#5e6c85;line-height:1.65;background:#edf1f8;padding:14px;border-radius:12px;margin-top:16px}.filters{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:20px 0}label{font-size:14px;color:#5c6981;display:block}select{display:block;width:100%;margin-top:7px;border:1px solid #dbe2ef;border-radius:10px;min-height:48px;padding:10px;background:white;color:#17213b}.empty{text-align:center;padding:38px 16px}.empty-symbol{font-size:32px;color:#1739de;background:#edf1ff;display:inline-flex;width:64px;height:64px;align-items:center;justify-content:center;border-radius:20px;margin-bottom:20px}.empty p{color:#65718a}.member{background:#14213d;color:white;padding:24px;border-radius:22px;margin:20px 0}.member .en,.member p{color:#c4cce0}.member small{color:#aab8d3}.member h2{margin-top:10px}.level{display:grid;grid-template-columns:80px 1fr;gap:14px;padding:18px 0;border-bottom:1px solid #e8edf5}.level:last-child{border:0}.level b{font-size:18px;color:#1739de}.level p{font-size:14px;margin:0}.level .en{font-size:12px}details{background:white;border:1px solid #e3e9f3;border-radius:14px;padding:17px;margin:10px 0}summary{cursor:pointer;font-weight:650;line-height:1.5}details p{font-size:14px;color:#5e6b83}nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:540px;display:grid;grid-template-columns:repeat(4,1fr);background:#ffffffef;backdrop-filter:blur(16px);border-top:1px solid #e0e6f1;padding:10px 10px calc(10px + env(safe-area-inset-bottom));z-index:10}nav a{text-align:center;min-height:64px;font-size:14px;color:#74809a;padding:4px;border-radius:12px}nav a span{display:block;font-size:24px;line-height:26px;margin-bottom:3px}nav a small{display:block;font-size:11px;margin-top:2px}nav a.active{color:#1739de;background:#edf1ff;font-weight:700}.foot{font-size:12px;color:#7b879e;text-align:center;margin-top:28px}.link{color:#1739de;text-decoration:underline} @media(min-width:700px){body{padding:28px 0}.phone{min-height:calc(100dvh - 56px);border-radius:28px;overflow:hidden}nav{bottom:28px;border-radius:0 0 28px 28px}main{padding-bottom:125px}}@media(max-width:360px){header{padding:20px 16px}main{padding-left:16px;padding-right:16px}.brand{font-size:23px}.hero{padding:21px}.edition{display:none}}
body{height:100dvh;padding:0}.phone{height:100dvh;min-height:0;display:flex;flex-direction:column;overflow:hidden}.scroll{overflow-y:auto;flex:1;min-height:0;overscroll-behavior-y:contain}main{padding:20px 22px 30px}nav{position:relative;left:0;bottom:0;transform:none;flex-shrink:0;border-radius:0}header[hidden]{display:none}.phone header{padding:20px 22px}.brand-group{display:flex;align-items:center;gap:8px}.logo-avatar{width:44px;height:44px;object-fit:contain;border-radius:12px}.school{display:flex;align-items:center;gap:6px;font-size:15px;font-weight:700}.school img{width:35px;height:43px;object-fit:contain}.service-tile{display:flex;align-items:center;justify-content:space-between;border-radius:20px;padding:24px;margin:12px 0;background:#1739de;color:white}.service-tile .en{color:#cdd7ff}.service-tile h2{margin:0}.enter{display:flex;align-items:center;justify-content:center;background:#ffffff24;width:42px;height:42px;border-radius:50%;font-size:24px}.service-tile.muted{background:white;color:#17213b;border:1px solid #e3e9f3}.service-tile.muted .en{color:#68758e}.service-tile.muted .enter{background:#edf1ff;color:#1739de}.pagebar{display:flex;align-items:center;gap:16px;margin-bottom:20px}.pagebar a{padding:10px;background:white;border-radius:10px;color:#1739de}.pagebar h1{font-size:24px;margin:0}.compact-title{font-size:22px;margin-bottom:20px}.row-link{display:flex;align-items:center;justify-content:space-between;min-height:62px;padding:15px 18px;background:white;border:1px solid #e3e9f3;border-radius:14px;margin:10px 0}.row-link small{display:block;color:#718099;font-size:13px;margin-top:4px}input,textarea{font:inherit;display:block;width:100%;padding:13px;border:1px solid #dce3ef;border-radius:10px;background:white;color:#17213b;margin:7px 0 16px;min-height:48px}textarea{min-height:90px;resize:vertical}input[type=checkbox]{width:20px;height:20px;min-height:0;margin:0}label.check{display:flex;align-items:flex-start;gap:10px;line-height:1.5;margin:15px 0}.avatar{width:68px;height:68px;border-radius:50%;object-fit:contain;background:#edf1ff}.profile-row{display:flex;gap:16px;align-items:center}.profile-row h2{font-size:20px}.avatar-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:20px}.avatar-choice{border:2px solid #e4e9f3;border-radius:14px;background:white;padding:8px}.avatar-choice.selected{border-color:#1739de}.avatar-choice img{width:100%;height:66px;object-fit:contain}.avatar-choice small{font-size:12px}.status{font-size:13px;padding:5px 8px;background:#edf1ff;border-radius:8px;color:#1739de}.error{color:#b73137}.form-hint{font-size:13px;color:#788399;margin:-8px 0 15px}#toast{position:fixed;left:50%;transform:translateX(-50%);bottom:110px;max-width:90%;background:#14213d;color:white;padding:13px 20px;border-radius:12px;z-index:100;display:none}#refresh{height:0;overflow:hidden;background:white;text-align:center;color:#66738b;font-size:14px;line-height:44px;transition:height .15s;flex-shrink:0}.loading{padding:30px;text-align:center;color:#738098}.text-btn{border:0;background:none;color:#1739de;padding:10px;font:inherit}.order-id{word-break:break-all;font-size:12px;color:#7b879e}@media(min-width:700px){body{padding:0}.phone{height:100dvh;border-radius:0;max-width:560px}nav{max-width:none;border-radius:0;bottom:0}.phone main{padding-bottom:30px}}
nav[hidden]{display:none!important}
.logo-mark{position:relative;width:40px;height:27px;overflow:hidden;flex-shrink:0}.logo-mark img{position:absolute;width:137px;max-width:none;left:-92px;top:-4px}
.brand .brand-line{display:flex;align-items:center;gap:7px;font-size:26px;font-weight:800;letter-spacing:-1px;margin:0;color:#17213b;line-height:1.15}.brand .logo-mark{display:inline-block;width:40px;height:27px;margin:0;letter-spacing:0;flex-shrink:0}.brand .brand-sub{margin-top:5px}

.student-guide{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 16px;border:1px solid #cbd8ff;background:#edf2ff;color:#1739de;border-radius:16px;margin:0 0 14px;font-size:14px}.student-guide small{display:block;font-size:12px;color:#657597;margin-top:5px}.student-guide>span:last-child{font-size:24px}

.school-email-input{display:flex;align-items:center;gap:8px;margin:7px 0 16px}.school-email-input input{margin:0;min-width:0;flex:1}.school-email-input span{font-size:14px;white-space:nowrap;color:#526481}

/* Navigation stays outside the scrolling content, flush with the viewport bottom. */
.scroll{scrollbar-width:thin;scrollbar-color:#ced6e8 transparent;scroll-padding-top:20px}.phone{height:100vh;height:100dvh}.phone main{min-height:180px}.phone nav{position:relative;inset:auto;transform:none;flex:0 0 auto;max-width:none;padding-bottom:calc(10px + env(safe-area-inset-bottom,0px))}.phone nav a{transition:background .18s,color .18s,transform .18s}.phone nav a.active span{transform:translateY(-1px)}.phone nav a span{transition:transform .18s}.btn,.row-link,.service-tile,.avatar-choice,.small-action,.tabs button,.text-btn{transition:transform .16s,background .16s,border-color .16s,box-shadow .16s}.btn:active,.service-tile:active,.row-link:active,.avatar-choice:active,.small-action:active,.tabs button:active{transform:scale(.98)}.service-tile{box-shadow:0 8px 24px #1739de14}.service-tile.muted{box-shadow:none}.service-tile .enter{flex-shrink:0;transition:transform .18s}.service-tile:active .enter{transform:translateX(3px)}.card{box-shadow:0 3px 12px #17213b03}.phone a.card{transition:border-color .18s,box-shadow .18s}.phone a.card:active{border-color:#9aaef3}.pagebar a{display:flex;align-items:center;justify-content:center;width:42px;height:42px;font-size:28px;flex-shrink:0}.pagebar h1{overflow-wrap:anywhere}.pagebar .en{font-size:13px}.brand-group{min-width:0}.school{flex-shrink:0}.phone header{gap:12px}.phone .brand .brand-line{gap:6px}.btn:disabled{opacity:.8}.btn.is-busy:before,.refreshing:before,.loading:before{content:"";display:inline-block;width:15px;height:15px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:spin .8s linear infinite;margin-right:9px;vertical-align:middle}.loading{min-height:90px}.btn.is-busy:before{flex-shrink:0}#catalog-count{color:#68758e;font-size:13px}.search-field input{margin-bottom:0}.filters{margin:16px 0}.phone [hidden]{display:none!important}input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #b9c8ff;outline-offset:2px;border-color:#718eec}input[type=search]{-webkit-appearance:none}.admin .access-links{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.admin .access-links a,.admin .access-links button{font-size:13px}.admin #admin-app{animation:page-in .22s ease-out}.admin .stat-row .card{border-top:3px solid #1739de}.admin .tabs button.active{box-shadow:0 4px 12px #1739de20}.admin .alert{display:flex;align-items:center;justify-content:space-between;gap:8px}#toast{animation:toast-in .18s ease-out;box-shadow:0 6px 24px #17213b25;bottom:calc(104px + env(safe-area-inset-bottom,0px));width:max-content;max-width:min(90vw,480px)}
@keyframes spin{to{transform:rotate(360deg)}}@keyframes page-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@keyframes toast-in{from{opacity:0}to{opacity:1}}
@media(hover:hover){.service-tile:hover .enter{transform:translateX(3px)}.phone a.card:hover{border-color:#b6c5f3;box-shadow:0 7px 20px #1739de09}.row-link:hover,.small-action:hover{background:#f0f4ff}}
@media(max-width:360px){.phone header{padding:18px 16px;gap:8px}.brand .brand-line{font-size:23px}.brand .brand-sub{font-size:10px}.school{font-size:13px}.school img{width:28px;height:35px}.school-email-input{gap:5px}.school-email-input span{font-size:12px}.service-tile{padding:20px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
