:root{font-family:Inter,PingFang SC,Microsoft YaHei,sans-serif;color:#173331;background:#eef4f1;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:radial-gradient(circle at 90% 0,#cce8de 0,transparent 34rem),#eef4f1}button,input,textarea,select{font:inherit}button{cursor:pointer}.shell{width:min(760px,100%);margin:0 auto;padding:max(24px,env(safe-area-inset-top)) 18px 56px}header{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.brand{display:flex;align-items:center;gap:14px;margin-bottom:28px}.brand.compact{margin:0}.brand-mark{display:grid;place-items:center;width:54px;height:54px;color:#fff;font-size:15px;font-weight:800;letter-spacing:-.05em;background:#ec6b45;border-radius:17px 17px 17px 5px;box-shadow:0 10px 24px #ec6b4540}h1,h2,h3,p{margin-top:0}h1{margin-bottom:2px;font-size:23px;letter-spacing:-.03em}h2{margin-bottom:18px;font-size:26px;letter-spacing:-.035em}h3{margin-bottom:14px}.brand p,.hint{margin:0;color:#647b78;font-size:13px}.auth-card,.send-card,.admin-card{padding:28px;background:#fff;border:1px solid #d8e4df;border-radius:24px;box-shadow:0 18px 50px #294f4520}.auth-card{margin:8vh auto 0;max-width:480px}.send-card,.admin-card{margin-bottom:18px}.tabs{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:4px;margin-bottom:22px;background:#edf3f0;border-radius:12px}.tabs button{padding:10px;border:0;border-radius:9px;color:#607672;background:transparent}.tabs button.active{color:#123d3a;font-weight:700;background:#fff;box-shadow:0 2px 8px #294f4514}label{display:grid;gap:7px;margin-bottom:15px;color:#354e4b;font-size:14px;font-weight:650}input,textarea,select{width:100%;padding:13px 14px;color:#173331;background:#fbfdfc;border:1px solid #cbdad5;border-radius:12px;outline:none;transition:.15s}input:focus,textarea:focus,select:focus{border-color:#2a746c;box-shadow:0 0 0 3px #2a746c1c}textarea{resize:vertical;line-height:1.6}button:disabled{cursor:not-allowed;opacity:.55}.primary,.secondary{padding:13px 18px;border:0;border-radius:12px;font-weight:750}.primary{color:#fff;background:#174e49;box-shadow:0 8px 18px #174e4930}.secondary{color:#174e49;background:#dcece7}.full{width:100%;margin-top:4px}.ghost,.text-button{padding:8px 10px;color:#506a66;background:none;border:0}.eyebrow{margin-bottom:6px;color:#db5f3a;font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.class-grid{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:20px}.class-chip{display:flex;gap:12px;padding:11px 14px;color:#36514d;background:#f1f6f4;border:1px solid #d6e3df;border-radius:11px}.class-chip.selected{color:#fff;background:#1e625b;border-color:#1e625b}.send-row{display:grid;grid-template-columns:130px 1fr;gap:12px;align-items:end}.send-row label{margin:0}.send-button{min-height:47px}.alert{padding:12px 14px;margin-bottom:16px;border-radius:12px;font-size:14px}.alert.error{color:#8b3527;background:#fbe7e1}.alert.success{color:#19584c;background:#dbefe7}.empty{padding:24px;margin-bottom:18px;color:#71847f;text-align:center;background:#f4f7f6;border-radius:12px}.inline-form,.two-column{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:end}.inline-form input{height:47px}.class-list{padding:0;margin:12px 0;list-style:none}.class-list li{display:flex;align-items:center;justify-content:space-between;padding:11px 0;border-bottom:1px solid #edf1ef}.text-button{color:#1d625b;font-weight:700}.text-button.danger{color:#aa4e3e}.subline{display:block;margin-top:3px;color:#81918e;font-size:11px;font-weight:400}.section-title{margin-top:28px}.assignment{padding:14px;background:#f5f8f7;border-radius:12px}.code-box{display:grid;gap:4px;padding:18px;margin:14px 0;text-align:center;background:#fff5e8;border:1px dashed #e19a58;border-radius:14px}.code-box strong{color:#a94d2c;font-family:ui-monospace,monospace;font-size:22px;letter-spacing:.08em;word-break:break-all}.code-box small{color:#806c5b}hr{margin:24px 0;border:0;border-top:1px solid #e6eeeb}fieldset{padding:12px 14px;margin:0 0 16px;border:1px solid #d7e2de;border-radius:12px}legend{padding:0 6px;color:#526b67;font-size:13px;font-weight:700}.checkbox{display:inline-flex;align-items:center;gap:7px;margin:7px 18px 7px 0}.checkbox input{width:auto}.two-column{grid-template-columns:1fr 1fr}.platform{margin-top:10vh}.delivery{display:flex;align-items:center;gap:8px;padding:12px;margin-top:14px;color:#49645f;background:#f0f6f3;border-radius:10px;font-size:14px}.delivery-dot{width:9px;height:9px;background:#d89a36;border-radius:50%}.delivery-dot.played{background:#27866e}.delivery-dot.failed{background:#c65242}.delivery-dot.playing{background:#4283b3;box-shadow:0 0 0 5px #4283b31c}@media(max-width:560px){.shell{padding-inline:12px}.auth-card,.send-card,.admin-card{padding:21px;border-radius:19px}.send-row,.inline-form,.two-column{grid-template-columns:1fr}.send-button{width:100%}h2{font-size:23px}}:root{--ink: #173331;--muted: #6b7f7b;--line: #dce8e4;--brand: #155b53;--brand-soft: #e3f1ed;--orange: #e46f45}body{background:radial-gradient(circle at 85% -10%,#c6e9dd 0,transparent 34rem),linear-gradient(180deg,#f4f8f6 0,#edf4f1)}.shell{width:min(920px,100%);padding-bottom:80px}.app-header{padding:8px 2px 18px;border-bottom:1px solid #dce7e3}.brand-mark{position:relative;overflow:hidden;font-size:24px;letter-spacing:0;background:linear-gradient(145deg,#f07a50,#d65531)}.brand-mark:after{position:absolute;right:-8px;bottom:-8px;width:27px;height:27px;content:"";background:#ffd7c8;border-radius:50%;opacity:.32}.brand-mark.small{width:46px;height:46px;border-radius:14px 14px 14px 5px;font-size:20px}.logout{padding:9px 13px;border:1px solid #d6e1dd;border-radius:10px;background:#ffffffb8}.auth-card{box-shadow:0 24px 70px #24473e1d}.auth-footnote{display:flex;align-items:center;justify-content:center;gap:7px;margin:20px 0 0;color:#78908b;font-size:12px}.secure-dot{width:7px;height:7px;background:#2d9b7d;border-radius:50%;box-shadow:0 0 0 4px #2d9b7d18}.overview{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:0 0 16px}.metric{display:flex;align-items:center;gap:13px;min-width:0;padding:16px 18px;background:#ffffffc9;border:1px solid var(--line);border-radius:16px;box-shadow:0 8px 24px #294f450c}.metric-icon{display:grid;flex:0 0 auto;place-items:center;width:42px;height:42px;color:#1f6f60;font-weight:800;background:#dff2e9;border-radius:13px}.metric-icon.blue{color:#397197;background:#e2eef8}.metric-icon.orange{color:#b85b38;background:#fce9df}.metric strong{display:block;font-size:23px;line-height:1}.metric small{display:block;margin-top:5px;overflow:hidden;color:var(--muted);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.section-nav{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding:5px;margin-bottom:16px;background:#dfeae6;border-radius:14px}.section-nav button{padding:11px 10px;color:#58706b;font-weight:700;background:transparent;border:0;border-radius:10px;transition:.18s ease}.section-nav button.active{color:var(--brand);background:#fff;box-shadow:0 4px 12px #21483e16}.send-card,.admin-card{border-color:var(--line);box-shadow:0 18px 50px #294f4514}.card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:24px}.card-heading h2{margin-bottom:6px}.card-heading p{margin:0;color:var(--muted);font-size:14px}.live-badge{display:inline-flex;flex:0 0 auto;align-items:center;gap:7px;padding:7px 10px;color:#267460;font-size:12px;font-weight:700;background:#e3f4ed;border-radius:999px}.live-badge i{width:7px;height:7px;background:#2d9b7d;border-radius:50%;box-shadow:0 0 0 4px #2d9b7d20}.class-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.class-chip{position:relative;align-items:center;width:100%;padding:13px;text-align:left}.class-chip>span:nth-child(2){display:grid;gap:2px;font-weight:750}.class-chip small{color:#758b86;font-size:11px;font-weight:500}.class-chip.selected small{color:#cbe3de}.class-chip b{margin-left:auto}.class-symbol{display:grid;flex:0 0 auto;place-items:center;width:35px;height:35px;color:#236e64;font-weight:800;background:#dfeee9;border-radius:10px}.class-chip.selected .class-symbol{color:#155b53;background:#fff}.textarea-wrap{position:relative}.textarea-wrap textarea{min-height:132px;padding-bottom:36px}.textarea-wrap>span{position:absolute;right:13px;bottom:12px;color:#8a9a97;font-size:11px;font-weight:500}.setting-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:15px;margin:4px 0 18px;background:#f4f8f6;border:1px solid #e3ece9;border-radius:14px}.setting-grid label{margin:0}.send-action{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 15px;background:#e6f1ed;border-radius:14px}.send-action strong,.send-action small{display:block}.send-action strong{color:#214c47;font-size:14px}.send-action small{margin-top:3px;color:#6d837e;font-size:11px}.send-button{min-width:154px;min-height:48px;background:linear-gradient(135deg,#176259,#134a45);transition:transform .15s,box-shadow .15s}.send-button:not(:disabled):hover{box-shadow:0 11px 24px #174e493b;transform:translateY(-1px)}.hint{margin-top:11px;text-align:center}.delivery{padding:14px 16px;border:1px solid #dce9e5}.delivery strong,.delivery small{display:block}.delivery strong{color:#294f49;font-size:13px}.delivery small{margin-top:2px;color:#64807a;font-size:12px}.delivery.played{background:#e8f5ef;border-color:#c9e7dc}.list-identity{display:flex;align-items:center;gap:11px}.list-identity>i{width:10px;height:10px;background:#b7c4c1;border-radius:50%;box-shadow:0 0 0 5px #b7c4c122}.list-identity>i.online{background:#2d9b7d;box-shadow:0 0 0 5px #2d9b7d18}.list-actions{display:flex;flex-wrap:wrap;justify-content:flex-end}.avatar{display:grid;place-items:center;width:36px;height:36px;color:#fff;font-weight:800;background:#36776f;border-radius:50%}.form-subtitle{padding-top:18px;border-top:1px solid #e6eeeb}.teacher-heading{margin-top:28px}.status-pill{padding:5px 9px;color:#23715e;background:#e0f1ea;border-radius:999px}@media(max-width:680px){.overview{grid-template-columns:1fr 1fr}.metric:last-child{grid-column:1 / -1}.class-grid{grid-template-columns:1fr}.card-heading{display:block}.live-badge{margin-top:12px}.send-action{align-items:stretch;flex-direction:column}.send-button{width:100%}.class-list li{align-items:flex-start;gap:8px;flex-direction:column}.list-actions{justify-content:flex-start}}@media(max-width:480px){.shell{padding-inline:10px}.overview{gap:8px}.metric{padding:13px}.metric-icon{width:36px;height:36px}.metric strong{font-size:20px}.section-nav button{padding-inline:5px;font-size:12px}.setting-grid{grid-template-columns:1fr}.app-header .brand p{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
