:root{--bg:#fbf9f5;--ink:#294e6b;--gold:#749bb8;--line:#d5dfe5;--muted:#6d716b;--white:#fffefa;--radius:12px}*{box-sizing:border-box}body{margin:0;background:#ebece7;color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;font-size:16px;line-height:1.65}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #749bb8;outline-offset:3px}button:disabled{opacity:.6;cursor:default}.demo{background:#e8e3d6;text-align:center;padding:9px 16px;font-size:12px;color:#66583c}.demo button{border:0;background:none;text-decoration:underline;color:inherit;margin-left:8px;font-size:12px}.workbench{max-width:1120px;margin:auto;padding:0 24px}.workspace-head{display:flex;justify-content:space-between;align-items:center;padding:22px 0;font-size:14px}.workspace-head>span{font-weight:600;letter-spacing:1px}nav{display:flex;gap:6px}nav button{border:0;background:transparent;color:var(--muted);padding:8px 14px;border-radius:8px;font-size:14px}nav button.active{background:var(--ink);color:white}.phone{max-width:420px;margin:12px auto 24px;background:var(--bg);border-radius:18px;box-shadow:0 14px 48px #294e6b0c;overflow:hidden;min-height:750px;position:relative}.brand{text-align:center;padding:30px 30px 0;font-family:"Songti SC",STSong,serif;font-weight:700;font-size:25px;letter-spacing:2px}.brand-rule{display:flex;gap:12px;align-items:center;margin:18px 6px 0;color:var(--gold);font-size:21px;font-weight:400}.brand-rule:before,.brand-rule:after{content:"";height:1px;background:var(--gold);flex:1}.content{padding:25px 28px 30px}h1,h2,p{margin:0}h1{font-size:29px;line-height:1.4;letter-spacing:-.5px;font-weight:650;margin-bottom:12px}h2{font-size:22px;line-height:1.5;margin-bottom:12px}.center{text-align:center}.subtitle{color:#646862;font-size:16px;margin-bottom:30px}.gift{border:1px solid var(--gold);border-radius:16px;padding:26px 25px;margin:32px 0 28px;position:relative}.gift:before{content:"赠";position:absolute;top:-19px;left:calc(50% - 21px);background:var(--bg);padding:0 11px;color:var(--gold);font-family:serif;font-size:24px}.gift p{text-align:center;font-family:"Songti SC",STSong,serif;font-size:24px;font-weight:600;padding:12px 0}.gift p+p{border-top:1px solid #b6cbd9}.primary,.secondary{width:100%;display:block;border-radius:var(--radius);padding:13px 16px;font-size:18px;font-weight:600;text-align:center;text-decoration:none}.primary{background:var(--ink);border:1px solid var(--ink);color:white}.secondary{background:transparent;border:1px solid var(--ink);color:var(--ink);margin-top:12px}.subtle{background:transparent;border:0;color:var(--muted);font-size:13px;text-decoration:underline;padding:10px}.member-line{display:flex;justify-content:space-between;align-items:center;margin:0 0 24px;font-size:13px;color:var(--muted);border-bottom:1px solid var(--line);padding-bottom:14px}.member-line button{font-size:12px;border:0;background:none;color:var(--ink);text-decoration:underline}.bottom-nav{display:flex;border-top:1px solid var(--line);background:var(--bg);padding:14px 16px 10px;gap:20px}.bottom-nav button{flex:1;background:none;border:0;padding:6px;font-size:16px;color:var(--muted);border-bottom:2px solid transparent}.bottom-nav button.active{color:var(--ink);font-weight:600;border-bottom-color:var(--ink)}.note{font-size:12px;color:var(--muted);margin-top:18px;line-height:1.8}.form{margin-top:30px}.field{display:block;margin-bottom:22px;font-size:17px;font-weight:600}.field input,.field select{width:100%;margin-top:9px;background:#ffffff77;border:1px solid #a6aaa1;border-radius:10px;padding:13px 14px;font-size:17px;color:var(--ink);font-weight:400;min-width:0}.consent{display:flex;align-items:flex-start;gap:10px;font-size:13px;margin:24px 0;color:#536053}.consent input{width:20px;height:20px;flex-shrink:0;accent-color:var(--ink);margin-top:2px}.consent button{font-size:13px;padding:0;border:0;background:none;color:var(--ink);text-decoration:underline}.error{color:#a03d2d;font-size:13px;margin:12px 0}.stats{display:flex;gap:14px;margin:30px 0}.stats>div{flex:1;text-align:center;border:1px solid #b6cbd9;border-radius:14px;padding:16px 6px}.stats strong{display:block;font:600 48px/1.2 Georgia,serif}.stats span{font-size:17px}.record{display:flex;justify-content:space-between;align-items:center;padding:19px 2px;border-top:1px solid var(--line)}.record small{display:block;color:var(--muted);font-size:12px}.status{color:#9c7a39;font-size:14px}.status.paid{color:var(--ink)}.empty{text-align:center;padding:40px 5px;color:var(--muted);font-size:14px}.success-mark{font-size:40px;line-height:1;margin:16px 0 24px;color:var(--gold)}.teacher{border:1px solid var(--line);padding:24px;border-radius:12px;margin-top:24px;text-align:center}.teacher h2{font-size:18px}.placeholder{background:#e9e8df;color:#71776e;width:148px;height:148px;display:flex;align-items:center;justify-content:center;margin:18px auto;font-size:14px;padding:20px;border:1px dashed #a2aa9e}.workspace-foot{text-align:center;font-size:12px;color:var(--muted);padding:0 0 24px}.admin{background:var(--bg);padding:30px;border-radius:18px;margin:12px 0 24px}.admin-head{display:flex;justify-content:space-between;align-items:center;gap:15px}.admin-head p{font-size:13px;color:var(--muted)}.admin button,.admin select,.admin input{font-size:14px}.admin .stats{max-width:650px}.admin .stats strong{font-size:34px}.admin .stats span{font-size:13px}.toolbar{display:flex;gap:10px;flex-wrap:wrap;margin:22px 0}.toolbar input,.toolbar select{border:1px solid var(--line);padding:10px;background:white;border-radius:8px;min-width:0}.toolbar input{flex:1;min-width:180px}.small-button{padding:9px 15px;border:1px solid var(--ink);background:transparent;color:var(--ink);border-radius:8px;font-size:14px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:14px;white-space:nowrap;text-align:left}th{color:var(--muted);font-weight:500}th,td{padding:15px 12px;border-bottom:1px solid var(--line)}td select{padding:6px;background:transparent;border:1px solid var(--line);border-radius:6px}.tabs{display:flex;gap:24px;margin-top:28px;border-bottom:1px solid var(--line)}.tabs button{background:none;border:0;padding:12px 0;color:var(--muted)}.tabs button.active{color:var(--ink);border-bottom:2px solid var(--ink)}dialog{border:0;border-radius:18px;padding:34px 28px;max-width:440px;width:calc(100% - 32px);background:var(--bg);color:var(--ink);max-height:90dvh;overflow:auto;box-shadow:0 20px 80px #0003}dialog::backdrop{background:#17332666}.close{position:absolute;right:10px;top:8px;border:0;background:none;font-size:27px;color:var(--muted)}dialog p{margin:12px 0;font-size:14px}dialog ul{padding-left:20px;font-size:14px}.poster canvas{display:block;width:100%;height:auto;border-radius:12px;margin:16px 0}.inline-link{overflow-wrap:anywhere;display:block;font-size:12px;color:var(--muted)}#toast{position:fixed;bottom:35px;left:50%;transform:translateX(-50%);background:#294e6bf0;color:white;padding:12px 22px;border-radius:10px;z-index:10;max-width:90vw;font-size:14px;display:none}.demo-shortcut{margin-top:24px;border-top:1px solid var(--line);padding-top:18px}.demo-shortcut p{font-size:12px;color:var(--muted);margin-bottom:10px}.demo-shortcut button{display:block;margin:8px 0;width:100%;border:1px solid var(--line);background:none;border-radius:8px;padding:9px;color:var(--ink);font-size:14px}code{overflow-wrap:anywhere}.config-list{font-size:14px;margin-top:20px}.config-list div{padding:14px 0;border-bottom:1px solid var(--line)}.config-list span{display:block;color:var(--muted);font-size:12px}a{color:var(--ink)}@media(max-width:600px){body{background:var(--bg)}.workbench{padding:0}.workspace-head{padding:12px 12px 0;justify-content:center}.workspace-head>span{display:none}.workspace-head nav{width:100%;justify-content:center}.workspace-head nav button{font-size:13px;padding:7px 15px}.phone{width:100%;border-radius:0;box-shadow:none;margin:0;min-height:0}.brand{padding-top:24px}.content{padding:26px 25px 30px}h1{font-size:28px}.workspace-foot{padding:16px 20px;border-top:1px solid var(--line)}.demo{font-size:11px;padding:7px 8px}.demo button{font-size:11px}.admin{padding:24px 16px;margin:0;border-radius:0}.admin-head{align-items:flex-start;flex-direction:column}.admin .stats{gap:8px}.admin .stats strong{font-size:28px}.admin .stats span{font-size:12px}.admin .stats>div{padding:14px 4px}.gift{margin-top:30px}.bottom-nav{position:sticky;bottom:0}.toolbar{gap:8px}}
.phone .bottom-nav button.active{background:transparent}

/* User-supplied rice paper and blue ink landscape reference. */
body{background:#edf2f6 url("ink-landscape.png") center bottom/cover fixed no-repeat}
.phone{background:#fbf9f5 url("ink-landscape.png") center bottom/auto 100% no-repeat}
.brand-rule{color:#749bb8}.brand-rule:before,.brand-rule:after{background:#a5bdcd}
.gift{background:#fffdfa99;border-color:#9eb8cb}.gift:before{background:#fbf9f5;color:#668aa5}
.gift p{font-weight:500}.primary{background:#365e7b;border-color:#365e7b}.secondary{background:#ffffff70}
.bottom-nav{background:#faf9f1e8;backdrop-filter:blur(8px)}
.demo{background:#e6eef3;color:#4b6374}.member-line{color:#617583}
.stats>div{background:#fffdfa99}.admin{background:#fffdf8eb}.teacher{background:#ffffffb3}
@media(max-width:600px){body{background:#fbf9f5 url("ink-landscape.png") center bottom/auto 100dvh fixed no-repeat}.workspace-head{background:#fbf9f5ba}.workspace-foot{background:#fbf9f5b8}.phone{background-size:auto 100%}}

.invitation-preview{border-left:2px solid #9eb8cb;padding:4px 0 4px 16px;margin:22px 0;color:#526b7e}.invitation-preview>span{font-size:12px}.invitation-preview p{font-size:15px;line-height:1.8;margin:6px 0}.invite-select{font-size:13px;margin:24px 0}.invite-select select{font-size:15px;padding:11px 12px}.course-section{margin-top:36px}.course-section h2{font-size:22px;margin:0}.course-intro{font-size:13px;color:var(--muted);margin:8px 0 10px}.course-list{list-style:none;margin:12px 0 0;padding:0}.course-list li{display:flex;gap:18px;border-bottom:1px solid #cbd9e1;padding:17px 0;text-align:left}.course-list li>span{font-size:12px;color:#688da8;flex:0 0 42px;padding-top:3px}.course-list small{display:block;font-size:12px;color:#617583;margin-bottom:5px}.course-list strong{display:block;font:600 18px/1.5 "Songti SC",STSong,serif}.course-details{margin:24px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:14px 0}.course-details summary{font-size:15px;cursor:pointer}.phone{background-size:auto 100%;}h1{font-size:27px}.content>.subtitle{font-size:15px}.phone .primary{font-size:17px}

.brand-logo{background:#294e6b;padding:16px 26px;display:flex;justify-content:center}.brand-logo img{display:block;width:100%;max-width:350px;height:auto}.teacher-intro{display:flex;align-items:center;gap:18px;padding:22px 0;margin:18px 0;border-top:1px solid #cbd9e1;border-bottom:1px solid #cbd9e1}.teacher-portrait{position:relative;width:90px;height:118px;flex-shrink:0;overflow:hidden;border-radius:8px;background:#eadfc7}.teacher-portrait img{position:absolute;height:220px;width:auto;max-width:none;left:-186px;top:-25px}.teacher-intro small{font-size:12px;color:#617583}.teacher-intro h2{font:600 23px/1.5 "Songti SC",serif;margin:4px 0}.teacher-intro p{font-size:12px;color:#526b7e;margin:4px 0}.phone{background-size:auto 1000px;background-position:center bottom}

.teacher-intro{gap:12px;min-height:240px;background:linear-gradient(100deg,#e5eef375,#ffffff00);margin:22px 0;padding:0 8px;border:0;border-bottom:1px solid #cbd9e1}.teacher-portrait{width:145px;height:245px;border-radius:0;background:transparent}.teacher-portrait img{position:static;width:100%;height:100%;object-fit:contain;object-position:center bottom}.teacher-intro h2{font-size:28px}.teacher-intro p{font-size:12px;line-height:1.8}.teacher-intro small{font-size:12px}

.teacher-portrait img{position:absolute;width:170%;height:auto;left:-35%;top:0;object-fit:initial}

.teacher-intro .teacher-title{font-size:12px;color:#294e6b;line-height:1.65;margin:6px 0}.poster canvas{max-height:65dvh;width:auto;max-width:100%;margin:16px auto;object-fit:contain}

.progress-rail{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;align-items:center;background:#e5eef2f5;padding:10px 12px;margin:-10px 0 25px;font-size:13px;border-radius:8px}.progress-rail button{border:0;background:none;color:var(--ink);font-size:13px;text-decoration:underline}.gift-ticket{border:1px solid #91aec1;padding:23px 18px;margin:26px 0 20px;background:#fffdf8c9;text-align:center;border-radius:12px}.gift-ticket small{font-size:12px;color:#617583}.gift-ticket h2{font:600 25px/1.5 "Songti SC",serif;margin:9px 0}.gift-ticket p{font-size:14px}.gift-ticket span{display:block;font-size:12px;color:#617583;margin-top:12px}.how-section{margin:36px 0}.how-section h2{font-size:21px;margin-bottom:18px}.simple-steps{list-style:none;margin:0;padding:0}.simple-steps li{display:flex;gap:14px;margin:20px 0}.simple-steps li>b{flex:0 0 28px;height:28px;background:#dce8ef;text-align:center;border-radius:50%;font-size:14px;line-height:28px}.simple-steps strong{font-size:16px}.simple-steps p{font-size:14px;color:#617583;margin-top:6px;line-height:1.75}.share-quote{margin:15px 0;background:#ffffff91;border-left:2px solid #91aec1;padding:16px;font-size:16px;line-height:1.9}.how-section details{padding:16px 0;border-bottom:1px solid #cbd9e1}.how-section summary{font-size:16px;cursor:pointer}.how-section details p{font-size:14px;color:#617583;margin:12px 0}.share-dock{position:sticky;bottom:0;padding:12px 0;background:#faf9f1ee;z-index:2}.friend-value{margin:24px 0;padding:20px 0;border-block:1px solid #cbd9e1}.friend-value h2{font-size:21px}.friend-value p{font-size:15px;color:#617583;margin:12px 0 20px}.how-section .stats span{font-size:14px}.how-section .stats strong{font-size:38px}#claimHeading{scroll-margin-top:20px}.bottom-nav{position:static}

.teacher-contact-qr{display:block;width:200px;max-width:100%;height:auto;margin:20px auto;background:white;padding:8px}.share-quote{white-space:pre-wrap}

.brand-logo{width:76%;margin:0 auto;padding:10px 16px;border-radius:0 0 8px 8px}.brand-logo img{max-width:280px}.teacher-intro{border:1px solid #a8bfce;border-radius:12px;overflow:hidden;padding:8px}

[hidden],.workspace-head{display:none!important}

.identity-options{display:grid;gap:12px;margin:20px 0}.identity-options label{display:flex;align-items:flex-start;gap:12px;padding:17px;border:1px solid #c4d0d8;border-radius:12px;background:#fffdf9}.identity-options input{margin-top:5px}.identity-options small{display:block;color:#6e7f87;margin-top:6px}.progress-four{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:18px 0}.progress-four div{padding:17px;background:#eef3f4;border-radius:10px;text-align:center}.progress-four strong{display:block;font-size:28px;color:#294e6b}.copy-editor{width:100%;min-height:215px;padding:14px;line-height:1.8;border:1px solid #a8bfce;border-radius:10px;background:#fffefb;font:inherit;resize:vertical}.private-link{word-break:break-all;font-size:14px}.status-note{font-size:14px;color:#6e7f87;line-height:1.7}

.activity-guide .activity-card{background:rgba(255,255,255,.94);border:1px solid #e0e7e9;border-radius:18px;padding:20px;margin:16px 0;box-shadow:0 4px 18px #294e6b06}.activity-card h3{font-size:20px;margin:0 0 12px;line-height:1.5}.activity-card h3>span{color:#a2753d;margin-right:5px}.activity-card p,.activity-card li{font-size:17px;line-height:1.85}.activity-card p{margin:8px 0}.activity-card ol{padding-left:23px;margin:0}.activity-card li+li{margin-top:9px}.return-item+.return-item{border-top:1px solid #e5e9e8;margin-top:20px;padding-top:20px}.return-label{display:inline-block;color:#946836;background:#f6f0e5;border-radius:20px;padding:3px 12px;font-size:13px}.return-item h4{font-size:20px;margin:9px 0}.activity-card .note{font-size:14px;line-height:1.75}

.gift-product-image{display:block;width:100%;height:auto;object-fit:contain;border-radius:12px;margin:16px 0;background:#f4f3f0}
