:root{font-family:PingFang SC,Microsoft YaHei,Source Han Sans SC,system-ui,sans-serif;color:#0c2858;background:#f6fafe;font-synthesis:none;--yellow: #ffd700;--blue: #4fc3f7;--blue-strong: #198ff0;--green: #8bc34a;--surface: #ffffff;--line: #dce9f6;--muted: #72829e;--danger: #ef6464;--shadow: 0 10px 34px rgba(39, 113, 171, .11)}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:#f6fafe;-webkit-font-smoothing:antialiased}button,input{font:inherit}button{color:inherit}button:focus-visible{outline:3px solid rgba(25,143,240,.28);outline-offset:2px}.app-shell{min-height:100vh}.api-state{min-height:100vh;display:grid;place-content:center;justify-items:center;gap:10px;color:#27445d;background:#f6fafe}.api-state strong{font-size:20px}.api-state p{margin:0 0 8px;color:#7890a4}.api-state.error svg{color:#e35b5b}.api-spinner{width:34px;height:34px;border:4px solid #d7edf8;border-top-color:#4fc3f7;border-radius:50%;animation:api-spin .8s linear infinite}@keyframes api-spin{to{transform:rotate(360deg)}}.web-login-shell{min-height:100vh;padding:48px 24px;display:grid;place-items:center;background:radial-gradient(circle at 12% 12%,rgba(79,195,247,.15),transparent 30%),#f6fafe}.web-login-card{width:min(960px,100%);min-height:610px;overflow:hidden;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);border:1px solid #dbe8f3;border-radius:30px;background:#fff;box-shadow:0 26px 80px #174f7d24}.web-login-intro{padding:54px 56px}.login-brand{display:flex;align-items:center;gap:12px;color:#0c2858}.login-brand>span{width:46px;height:46px;display:grid;place-items:center;border-radius:15px;color:#fff;background:#198ff0;box-shadow:0 8px 20px #198ff03d}.login-brand strong{font-size:20px}.login-kicker{margin:52px 0 10px;color:#198ff0;font-size:14px;font-weight:750;letter-spacing:.08em}.web-login-intro h1{margin:0;color:#0c2858;font-size:36px;line-height:1.22;letter-spacing:-1px}.login-description{max-width:470px;margin:16px 0 0;color:#70849a;font-size:16px;line-height:1.75}.login-steps{margin:34px 0 0;padding:0;display:grid;gap:20px;list-style:none}.login-steps li{display:grid;grid-template-columns:38px 1fr;align-items:center;gap:13px}.login-steps li>span{width:34px;height:34px;display:grid;place-items:center;border-radius:12px;color:#1677e8;background:#eaf4ff;font-weight:800}.login-steps li>div{display:grid;gap:4px}.login-steps strong{color:#203e5c;font-size:15px}.login-steps small{color:#8291a2;font-size:13px}.login-security{margin-top:34px;padding:13px 15px;display:flex;align-items:flex-start;gap:9px;border:1px solid #dbeaf4;border-radius:14px;color:#5b7389;background:#f7fbfe;font-size:12px;line-height:1.55}.login-security svg{flex:0 0 auto;color:#58a52f}.web-login-qr-panel{padding:50px 46px;display:flex;flex-direction:column;align-items:center;justify-content:center;border-left:1px solid #dfebf5;background:#f8fbfe}.qr-device{display:flex;align-items:center;gap:8px;color:#294965;font-size:16px;font-weight:750}.qr-frame{width:298px;height:298px;margin-top:23px;padding:9px;display:grid;place-items:center;border:1px solid #d6e4ef;border-radius:24px;color:#68ad39;background:#fff;box-shadow:0 12px 34px #1e5b8b1a}.qr-frame img{width:280px;height:280px;display:block;border-radius:14px}.qr-frame button{min-height:48px;padding:0 18px;border:0;border-radius:14px;display:inline-flex;align-items:center;gap:8px;color:#fff;background:#198ff0;cursor:pointer;font-weight:750}.login-spinner{width:42px;height:42px;border:4px solid #d9edf8;border-top-color:#198ff0;border-radius:50%;animation:api-spin .8s linear infinite}.qr-status{min-height:42px;margin-top:20px;padding:0 15px;display:inline-flex;align-items:center;gap:8px;border-radius:21px;color:#52718c;background:#edf4fa;font-size:13px;font-weight:650}.qr-status.waiting{color:#147fc8;background:#eaf4ff}.qr-status.confirmed{color:#4c9222;background:#edf8e8}.qr-status.expired,.qr-status.error{color:#c64f4f;background:#fff0f0}.web-login-qr-panel>p{max-width:290px;margin:18px 0 0;color:#8a98a8;font-size:12px;line-height:1.6;text-align:center}@media(max-width:820px){.web-login-shell{padding:18px}.web-login-card{grid-template-columns:1fr}.web-login-intro{padding:34px}.web-login-qr-panel{padding:36px 24px;border-top:1px solid #dfebf5;border-left:0}.login-kicker{margin-top:34px}}.dashboard{display:grid;grid-template:72px calc(100vh - 72px) / 220px minmax(0,1fr);min-height:100vh;background:#f6fafe}.topbar{grid-column:1 / -1;display:grid;grid-template-columns:220px 220px 1fr;align-items:center;border-bottom:1px solid var(--line);background:#fffffff5;z-index:3}.brand{height:72px;border:0;background:transparent;padding:0 20px;display:flex;align-items:center;gap:7px;cursor:pointer}.brand img{width:42px;height:52px;object-fit:cover;object-position:50% 48%;border-radius:18px}.brand span{font-size:22px;font-weight:850;letter-spacing:-.5px;white-space:nowrap}.brand.compact{padding-left:22px}.teacher-back,.homework-switch,.end-button,.secondary-action{border:1px solid var(--line);background:#fff;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;gap:9px;cursor:pointer}.class-context{width:190px;height:48px;margin-left:20px;border:1px solid var(--line);border-radius:14px;display:inline-flex;align-items:center;justify-content:center;gap:9px;color:#23405f;background:#f8fbfe;font-weight:650;cursor:default;-webkit-user-select:none;user-select:none}.top-actions{justify-self:end;padding-right:24px;display:flex;align-items:center;gap:12px}.top-actions small{display:block;color:var(--muted);margin-top:3px}.icon-button{width:40px;height:40px;border:0;border-radius:50%;background:transparent;display:grid;place-items:center;cursor:pointer}.icon-button:hover{background:#eef6fd}.teacher-avatar{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;color:#087dd4;background:#dff2ff;border:2px solid #fff;box-shadow:0 3px 12px #198ff033}.teacher-account-button{padding:3px 7px 3px 3px;border:0;border-radius:13px;display:flex;align-items:center;gap:9px;color:inherit;background:transparent;text-align:left;cursor:pointer}.teacher-account-button:hover{background:#eef6fd}.teacher-account-button>span:last-child{display:block}.sidebar{grid-column:1;padding:22px 12px;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;overflow:hidden}.sidebar nav{display:grid;gap:8px}.sidebar nav button{border:0;background:transparent;min-height:52px;border-radius:13px;padding:0 16px;display:flex;align-items:center;gap:14px;font-weight:650;cursor:pointer}.sidebar nav button svg{color:#6e8cac}.sidebar nav button:hover{background:#f2f8fd}.sidebar nav button.active{color:#fff;background:#36aaf1;box-shadow:0 7px 16px #4fc3f747}.sidebar nav button.active svg{color:#fff}.student-main{grid-column:2;padding:24px 24px 34px;min-width:0;overflow-y:auto}.section-title{min-height:50px;display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.section-title>div{display:flex;align-items:baseline;gap:16px}.section-title h1{margin:0;font-size:27px;letter-spacing:-.7px}.section-title span{color:#1595ed;font-weight:650}.secondary-action{height:40px;padding:0 15px;color:#147fc8;font-weight:700}.batch-bar{min-height:64px;background:#fff;border:1px solid #e7eef6;border-radius:16px;box-shadow:0 4px 16px #2e70a40f;padding:10px 14px;display:flex;align-items:center;gap:12px;margin-bottom:14px}.select-mark{width:22px;height:22px;border-radius:6px;color:#fff;background:#2196ee;display:grid;place-items:center}.selection-summary{flex:0 0 auto;display:flex;align-items:center;gap:8px;white-space:nowrap}.selection-summary>span strong{color:#168fe8;font-size:18px}.select-all-toggle{height:34px;padding:0 9px;border:1px solid #cfe0ed;border-radius:9px;color:#51708c;background:#f8fbfe;display:flex;align-items:center;gap:6px;cursor:pointer}.select-all-toggle>span{width:17px;height:17px;border:1px solid #a9bdce;border-radius:5px;color:#fff;background:#fff;display:grid;place-items:center}.select-all-toggle[aria-pressed=true]{color:#147fc8;border-color:#8dcaf1;background:#eef8ff}.select-all-toggle[aria-pressed=true]>span{border-color:#168fe8;background:#168fe8}.quick-actions-scroll{min-width:0;flex:1 1 auto;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#bfd7e8 transparent;-webkit-mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 24px),transparent 100%);mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 24px),transparent 100%)}.quick-actions{width:max-content;display:flex;gap:8px;padding-right:26px}.score{min-height:40px;border-radius:10px;padding:4px;border:1px solid;display:flex;align-items:center;gap:2px;font-size:12px;font-weight:650;white-space:nowrap}.score.dragging{opacity:.45;transform:scale(.97)}.score-drag-handle{width:26px;align-self:stretch;padding:0;border:0;border-radius:7px;color:inherit;background:transparent;display:grid;place-items:center;cursor:grab;opacity:.55}.score-drag-handle:active{cursor:grabbing}.score-drag-handle:hover{background:#ffffffa6;opacity:1}.score-apply{min-height:30px;padding:0 7px 0 3px;border:0;color:inherit;background:transparent;display:flex;align-items:center;gap:3px;cursor:pointer;font:inherit;white-space:nowrap}.score-apply:hover{filter:brightness(.9)}.score button:disabled{cursor:wait;opacity:.55}.score strong{margin-left:4px;font-size:17px}.score.positive{color:#4c9222;background:#f3faed;border-color:#cce5bb}.score.blue{color:#1578ce;background:#edf7ff;border-color:#bdddf6}.score.negative{color:#d74d4d;background:#fff2f2;border-color:#f2c7c7}.student-grid{width:100%;max-width:1420px;margin:0 auto;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;align-content:start}.student-card{height:202px;min-height:202px;padding:10px 12px 12px;border-radius:34px;border:1px solid #deebf5;background:linear-gradient(180deg,#fff,#fbfdff);position:relative;display:flex;align-items:center;flex-direction:column;overflow:hidden;box-shadow:0 5px 18px #3e739e12;cursor:pointer;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.student-card:after{content:"";position:absolute;left:25%;right:25%;bottom:-13px;height:25px;border-radius:50%;background:#4fc3f714;filter:blur(9px);pointer-events:none}.student-card:hover{transform:translateY(-3px);border-color:#abd9f5;box-shadow:0 14px 30px #2771ab21}.student-card.selected{border-color:#4dbbff;background:linear-gradient(180deg,#fff,#f1faff)}.student-card.focused{box-shadow:0 0 0 2px #4fc3f73d,0 14px 30px #2771ab21}.check-button{position:absolute;left:13px;top:13px;width:24px;height:24px;padding:0;display:grid;place-items:center;border-radius:50%;border:1.5px solid #aebed0;background:#fffffff5;color:#fff;cursor:pointer;z-index:2;box-shadow:0 3px 9px #28577e1a}.check-button.checked{border-color:#168fe8;background:#168fe8}.pet-portrait{position:relative;width:112px;height:112px;flex:0 0 112px;margin:0 auto 5px;border:5px solid #fff;border-radius:50%;overflow:hidden;background:radial-gradient(circle at 50% 35%,#fffdf7,#fff2d8 72%,#ffe7bd);box-shadow:0 7px 20px #db9d2624,0 0 0 1px #f4e6cf}.pet-portrait img{width:100%;height:100%;object-fit:contain;object-position:50% 50%;display:block;transform:scale(1.08)}.pet-portrait.empty img{transform:scale(1.02)}.pet-portrait.empty span{position:absolute;left:15px;right:15px;bottom:6px;padding:3px 0;border-radius:999px;color:#56738f;background:#ffffffe6;box-shadow:0 2px 8px #305d8214;font-size:9px;font-weight:700;text-align:center}.student-info{width:100%;min-width:0;text-align:center}.student-info h2{margin:0 0 2px;font-size:16px;line-height:1.2}.student-info p{margin:0 0 7px;color:var(--muted);font-size:10px;white-space:nowrap}.compact-points{display:flex;align-items:center;justify-content:center;gap:6px;min-width:0}.compact-points>span{min-width:0;min-height:28px;padding:0 7px;border-radius:999px;display:flex;align-items:center;justify-content:center;gap:3px;white-space:nowrap}.compact-points svg{flex:0 0 auto}.compact-points small{color:var(--muted);font-size:10px}.compact-points strong{font-size:14px;line-height:1}.compact-points .total-point{color:#c98e00;background:#fff8df}.compact-points .available-point{color:#55992d;background:#f0f8e8}.detail-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:30;display:grid;place-items:center;padding:24px;background:#0c285852;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);animation:modal-fade .18s ease-out}.detail-modal{width:min(900px,calc(100vw - 48px));max-height:calc(100vh - 48px);overflow-y:auto;padding:24px;border:1px solid #dce9f6;border-radius:24px;background:#fff;box-shadow:0 28px 80px #0c28583d;animation:modal-pop .2s ease-out}@keyframes modal-fade{0%{opacity:0}}@keyframes modal-pop{0%{opacity:0;transform:translateY(12px) scale(.98)}}.detail-heading{display:flex;align-items:start;justify-content:space-between}.detail-heading h2{margin:0 0 4px;font-size:24px}.detail-heading p{margin:0;color:var(--muted);font-size:13px}.modal-detail-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);gap:18px;margin-top:14px}.pet-stage-card{min-height:190px;border-radius:20px;background:#fff8eb;display:grid;grid-template-columns:1.2fr .9fr;align-items:center;overflow:hidden;border:1px solid #f4e3c7}.featured-pet{width:100%;height:190px;object-fit:contain}.stage-copy{padding:12px}.stage-copy span{display:block;color:var(--muted)}.stage-copy strong{display:block;font-size:25px;color:#168fe8;margin-top:6px}.stage-copy small{display:block;margin-top:5px;color:#627895;font-weight:700}.progress{margin-top:16px;width:100%;height:8px;border-radius:6px;background:#d9e8f8;overflow:hidden}.progress i{height:100%;display:block;background:#168fe8;border-radius:inherit;transition:width .4s ease}.stage-rail{display:grid;grid-template-columns:repeat(6,1fr);gap:5px;margin:10px 0 14px}.stage-rail div{min-width:0;text-align:center;border:1px solid transparent;border-radius:10px;padding:3px;color:var(--muted);font-size:10px}.stage-rail div.current{border-color:#2aa6f3;color:#137fca;background:#eef8ff;font-weight:700}.stage-rail img{width:100%;height:42px;object-fit:contain;border-radius:7px}.no-pet-guidance{min-height:54px;margin:10px 0 14px;padding:9px 12px;border:1px dashed #bfdbed;border-radius:12px;color:#52738f;background:#f4fbff;display:flex;align-items:center;gap:9px;font-size:12px}.points-summary{min-height:78px;border:1px solid var(--line);border-radius:16px;display:grid;grid-template-columns:1fr 1fr;margin-bottom:0}.points-summary div{display:grid;place-content:center;text-align:center}.points-summary div+div{border-left:1px solid var(--line)}.points-summary span{font-size:12px;color:var(--muted)}.points-summary strong{font-size:27px;margin-top:3px}.points-summary strong.green{color:#62a936}.adopted-history{margin-top:12px;padding:12px;border:1px solid var(--line);border-radius:16px}.adopted-history .panel-title{margin-bottom:8px}.adopted-history .panel-title span{color:var(--muted);font-size:11px}.adopted-pet-list{display:grid;grid-template-columns:1fr 1fr;gap:7px}.adopted-pet-list article{position:relative;min-width:0;padding:6px;border:1px solid #e3ebf3;border-radius:11px;background:#fbfdff;display:grid;grid-template-columns:42px 1fr;gap:7px;align-items:center}.adopted-pet-list article.current{border-color:#83c9f3;background:#eef8ff}.adopted-pet-list img{width:42px;height:42px;border-radius:8px;object-fit:contain;background:#fff8e9}.adopted-pet-list article>div{min-width:0;display:grid;gap:2px}.adopted-pet-list strong{overflow:hidden;font-size:11px;white-space:nowrap;text-overflow:ellipsis}.adopted-pet-list span{color:var(--muted);font-size:9px}.adopted-pet-list small{position:absolute;right:5px;top:5px;color:#168fe8;font-size:8px}.history-empty{min-height:54px;border-radius:10px;color:#7b8da3;background:#f7fafc;display:grid;place-items:center;font-size:11px}.ledger{border:1px solid var(--line);border-radius:16px;padding:14px;align-self:stretch}.panel-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}.panel-title h3{margin:0;font-size:16px}.panel-title button{border:0;background:transparent;color:#6682a1;cursor:pointer}.ledger-row{display:grid;grid-template-columns:76px 1fr 32px;gap:7px;align-items:center;padding:7px 0;font-size:12px;border-top:1px dashed #e5edf5}.ledger-row span{color:var(--muted)}.ledger-row strong{font-weight:550}.ledger-row b{justify-self:end}.up{color:#5fa72f}.down{color:#e25353}.upgrade-feedback{width:100%;min-height:34px;margin-top:14px;padding:7px 12px;border:1px solid;border-radius:11px;display:flex;align-items:center;justify-content:center;gap:7px;font-size:13px;font-weight:650}.upgrade-feedback.success{color:#4f8f2d;border-color:#cfe6bf;background:#f3faee}.upgrade-button{width:100%;margin-top:10px;min-height:56px;border:0;border-radius:17px;background:var(--yellow);color:#6c4b00;display:flex;align-items:center;justify-content:center;gap:9px;font-size:18px;font-weight:850;cursor:pointer;box-shadow:0 8px #e9b900,0 13px 24px #ffc70038;transform:translateY(-4px)}.upgrade-button.insufficient{color:#845f28;background:#f8df9a;box-shadow:0 8px #e5c36d,0 13px 24px #aa7d2326}.upgrade-button:active{transform:translateY(2px);box-shadow:0 2px #e9b900}.upgrade-button:disabled{cursor:not-allowed}.upgrade-button:disabled:active{transform:translateY(-4px);box-shadow:0 8px #e5c36d,0 13px 24px #aa7d2326}.adoption-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;padding:24px;background:#0c285866;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);display:grid;place-items:center;animation:modal-fade .18s ease-out}.adoption-modal{width:min(1180px,calc(100vw - 48px));max-height:calc(100vh - 48px);padding:22px;border-radius:22px;overflow-y:auto;background:#f8fbfe;box-shadow:0 30px 90px #0c28584d}.adoption-modal>header{margin-bottom:14px;display:flex;align-items:flex-start;justify-content:space-between}.adoption-modal h2{margin:0 0 4px;font-size:23px}.adoption-modal header p{margin:0;color:var(--muted);font-size:12px}.adoption-modal-body{display:grid;grid-template-columns:minmax(0,1fr) 430px;gap:14px;align-items:start}.adoption-pet-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.adoption-pet-grid button{min-width:0;padding:7px;border:1px solid #dfeaf3;border-radius:13px;color:#173858;background:#fff;display:grid;justify-items:center;gap:3px;cursor:pointer}.adoption-pet-grid button:hover,.adoption-pet-grid button.selected{border-color:#42aef0;box-shadow:0 0 0 2px #4fc3f724}.adoption-pet-grid button:disabled{opacity:.5;cursor:not-allowed;box-shadow:none}.adoption-pet-grid img{width:100%;height:72px;border-radius:9px;object-fit:contain;background:#fff8e9}.adoption-pet-grid strong{font-size:12px}.adoption-pet-grid span{color:var(--muted);font-size:9px}.adoption-stage-preview{position:sticky;top:0;min-height:430px;padding:14px;border:1px solid #dfeaf3;border-radius:17px;background:#fff}.adoption-preview-title{margin-bottom:10px}.adoption-preview-title>span{color:#168fe8;font-size:10px;font-weight:700}.adoption-preview-title h3{margin:3px 0;font-size:21px}.adoption-preview-title p{margin:0;color:var(--muted);font-size:10px}.adoption-stage-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.adoption-stage-grid figure{margin:0;padding:6px;border:1px solid #e4edf4;border-radius:11px;background:#fbfdff}.adoption-stage-grid img{width:100%;height:102px;border-radius:8px;object-fit:contain;background:#fff8e9}.adoption-stage-grid figcaption{padding:5px 1px 1px;display:grid;gap:2px}.adoption-stage-grid small{color:#8191a6;font-size:8px}.adoption-stage-grid strong{color:#294867;font-size:10px;white-space:nowrap}.adoption-preview-empty{min-height:400px;color:#71869f;display:grid;place-content:center;justify-items:center;gap:7px;text-align:center}.adoption-preview-empty strong{color:#294867;font-size:15px}.adoption-preview-empty span{max-width:210px;font-size:11px;line-height:1.5}.adoption-modal footer{position:sticky;bottom:-22px;margin:16px -22px -22px;padding:13px 22px 18px;border-top:1px solid #dfe8f1;background:#f8fbfef5;display:flex;align-items:center;justify-content:space-between;gap:16px}.adoption-modal footer>span{color:#627895;font-size:12px}.adoption-modal footer>span strong{color:#d99a00;font-size:16px}.primary-action:disabled{opacity:.5;cursor:not-allowed;transform:none}.toast{position:fixed;left:50%;bottom:32px;transform:translate(-50%);z-index:80;padding:13px 20px;border-radius:14px;background:#0c2858;color:#fff;box-shadow:0 12px 30px #0c285840;display:flex;align-items:center;gap:8px;font-weight:650;animation:toast-in .22s ease-out}.toast.center{top:50%;bottom:auto;min-width:360px;min-height:88px;padding:22px 30px;border-radius:22px;transform:translate(-50%,-50%);justify-content:center;font-size:20px;box-shadow:0 24px 70px #0c285852;animation:toast-center-in .24s ease-out}@keyframes toast-in{0%{opacity:0;transform:translate(-50%,12px)}}@keyframes toast-center-in{0%{opacity:0;transform:translate(-50%,-46%) scale(.96)}}.homework-board{min-height:100vh;background:#f6fafe;overflow:hidden}.board-topbar{height:70px;display:grid;grid-template-columns:230px 220px 1fr;align-items:center;background:#fff;border-bottom:1px solid var(--line)}.teacher-back{justify-self:end;margin-right:24px;height:42px;padding:0 16px;color:#147fc8;font-weight:700}.board-hero{min-height:178px;padding:22px 30px 18px;position:relative;display:grid;grid-template-columns:190px 1fr 190px;align-items:start;background:#eef8ff;border-bottom:1px solid #cfe6f7}.homework-switch-wrap{position:relative;z-index:8;justify-self:start}.homework-switch{height:48px;padding:0 15px;font-weight:700}.homework-menu{position:absolute;left:0;top:56px;width:min(390px,calc(100vw - 32px));padding:8px;border:1px solid #d9e7f2;border-radius:16px;background:#fff;box-shadow:0 18px 50px #0c285833;display:grid;gap:4px}.homework-menu>button{width:100%;min-height:62px;padding:9px 10px;border:0;border-radius:11px;color:#294867;background:transparent;display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;text-align:left;cursor:pointer}.homework-menu>button:hover,.homework-menu>button.active{background:#eef8ff}.homework-menu>button>span{min-width:0;display:grid;gap:4px}.homework-menu strong{overflow:hidden;font-size:12px;white-space:nowrap;text-overflow:ellipsis}.homework-menu small{color:#788ba2;font-size:10px}.homework-menu b{color:#168fe8;font-size:13px}.homework-switch:disabled{color:#8797aa;background:#f4f7fa;cursor:default}.homework-empty-state{min-height:calc(100vh - 190px);display:grid;place-content:center;justify-items:center;gap:10px;color:#778ba3;text-align:center}.homework-empty-state>span{width:72px;height:72px;display:grid;place-items:center;border-radius:22px;color:#258edb;background:#eaf5ff}.homework-empty-state h2{margin:5px 0 0;color:#294867;font-size:22px}.homework-empty-state p{margin:0;font-size:13px}.assignment{text-align:center}.assignment h1{margin:0;font-size:clamp(28px,3vw,48px);line-height:1.15;letter-spacing:-1px}.completion-pill{margin:22px auto 0;width:330px;height:64px;display:flex;align-items:center;justify-content:center;gap:9px;background:#fff;border:1px solid #cde2f4;border-radius:32px;box-shadow:var(--shadow);font-size:20px}.completion-pill img{width:70px;height:70px;object-fit:cover;object-position:center 55%;align-self:end;border-radius:30px}.completion-pill strong{color:#68ad34;font-size:38px}.completion-pill b{color:#677b9c;font-size:27px}.end-button{justify-self:end;height:52px;padding:0 24px;background:#ffb20e;border-color:#ffb20e;color:#fff;font-size:17px;font-weight:800;box-shadow:0 6px #e69700}.board-columns{display:grid;grid-template-columns:1fr 1fr;min-height:calc(100vh - 248px)}.pending-zone,.completed-zone{position:relative;padding:58px 28px 22px}.pending-zone{background:#fbfdff;border-right:1px solid #cfe4f6}.completed-zone{background:#f3fbef}.zone-label{position:absolute;top:0;left:28px;min-width:176px;height:48px;padding:0 22px;display:flex;align-items:center;justify-content:center;border-radius:0 0 14px 14px;color:#fff;font-size:21px;font-weight:800}.blue-label{background:#339ff0}.green-label{background:#7eb942}.bubble-grid{display:grid;grid-template-columns:repeat(4,minmax(125px,1fr));gap:16px;align-items:center}.student-bubble{aspect-ratio:1;min-width:0;border-radius:50%;border:3px solid rgba(60,161,229,.34);background:#eaf7ff;color:#0d2a59;box-shadow:inset 9px 10px #ffffffb8,0 10px 24px #4296cf21;display:grid;place-content:center;gap:5px;cursor:pointer;transition:transform .2s ease,opacity .2s ease}.student-bubble:hover{transform:scale(1.045) translateY(-3px)}.student-bubble span{font-size:clamp(18px,1.5vw,27px);font-weight:850}.student-bubble small{color:#6c86a6;opacity:0;transition:opacity .2s}.student-bubble:hover small{opacity:1}.bubble-1{background:#fff0f5;border-color:#e676a552}.bubble-2{background:#f0edff;border-color:#8b7dd94d}.bubble-3{background:#fff6e7;border-color:#eaa84d4d}.bubble-4{background:#edf9ed;border-color:#6fb6584d}.student-bubble.popping{animation:bubble-pop .42s ease-out forwards}.student-bubble:disabled{opacity:.55;cursor:not-allowed}@keyframes bubble-pop{0%{transform:scale(1);opacity:1}45%{transform:scale(1.16);opacity:.8}to{transform:scale(.12);opacity:0}}.tap-hint{display:flex;align-items:center;justify-content:center;gap:7px;color:#258dd6;font-weight:650;margin:20px 0 0}.completed-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.completed-card{min-height:62px;border-radius:18px;border:1px solid #dbeaf3;background:#fff;display:grid;grid-template-columns:34px 1fr;gap:8px;align-items:center;padding:9px 12px;box-shadow:0 6px 14px #4f8b5b14}.success-check{width:27px;height:27px;border-radius:50%;display:grid;place-items:center;background:#8bc34a;color:#fff}.completed-card strong{font-size:18px}.workspace-main{grid-column:2;min-width:0;overflow-y:auto;padding:24px;background:#f6fafe}.workspace-heading{min-height:50px;margin-bottom:12px;display:flex;align-items:center;justify-content:space-between}.workspace-heading>div{display:flex;align-items:baseline;gap:16px}.workspace-heading h1{margin:0;font-size:27px;letter-spacing:-.7px}.workspace-heading span{color:#1595ed;font-weight:650}.primary-action,.plain-action{min-height:42px;padding:0 17px;border:0;border-radius:13px;display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;font-weight:750}.primary-action{color:#6b4d00;background:var(--yellow);box-shadow:0 5px #e9b900,0 10px 22px #e2b2002e;transform:translateY(-2px)}.primary-action:active{transform:translateY(2px);box-shadow:0 1px #e9b900}.primary-action.full{width:100%}.plain-action{color:#647b9b;background:#eef4fa}.filter-control{height:44px;padding:0 14px;border:1px solid var(--line);border-radius:12px;background:#fff;display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer}.segmented{display:flex;align-items:center;gap:5px;padding:4px;border-radius:12px;background:#edf4fa}.segmented button{min-height:34px;padding:0 13px;border:0;border-radius:9px;color:#647b9b;background:transparent;cursor:pointer}.segmented button.active{color:#147fc8;background:#fff;box-shadow:0 3px 10px #2964951a;font-weight:750}.section-bar{min-height:58px;padding:10px 14px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.section-bar h2{margin:0 0 3px;font-size:17px}.section-bar p{margin:0;color:var(--muted);font-size:12px}.side-surface{padding:18px;border:1px solid #e1ebf5;border-radius:17px;background:#fff;box-shadow:0 5px 18px #336c970f}.side-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.side-title h2{margin:0;font-size:17px}.side-title button{padding:0;border:0;color:#6682a1;background:transparent;display:inline-flex;align-items:center;gap:4px;cursor:pointer}.side-title>span{color:var(--muted);font-size:11px}.mini-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;display:grid;place-items:center;padding:20px;background:#0c28584d;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.mini-modal{width:min(480px,calc(100vw - 40px));padding:22px;border-radius:21px;background:#fff;box-shadow:0 24px 70px #0c28583d}.mini-modal>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.mini-modal h2{margin:0;font-size:21px}.form-stack{display:grid;gap:15px}.form-stack label{display:grid;gap:7px;color:#556d8d;font-size:13px;font-weight:650}.form-stack input,.form-stack select,.settings-form-grid input,.settings-form-grid select{width:100%;height:44px;padding:0 12px;border:1px solid var(--line);border-radius:11px;color:#0c2858;background:#fff;outline:none}.form-stack input:focus,.form-stack select:focus,.settings-form-grid input:focus,.settings-form-grid select:focus{border-color:#52b9f5;box-shadow:0 0 0 3px #4fc3f726}.modal-actions{margin-top:4px;display:flex;justify-content:flex-end;gap:10px}.points-overview{min-height:110px;margin-bottom:16px;padding:16px 10px;border:1px solid #e4edf6;border-radius:17px;background:#fff;box-shadow:0 5px 18px #336c970f;display:grid;grid-template-columns:repeat(4,1fr)}.overview-item{min-width:0;padding:0 22px;display:flex;align-items:center;justify-content:center;gap:15px}.overview-item+.overview-item{border-left:1px solid var(--line)}.overview-item>svg{width:50px;height:50px;padding:11px;border-radius:50%;background:#f2f7fb}.overview-item span{display:grid;gap:3px;color:#5e718f}.overview-item strong{font-size:29px;line-height:1}.overview-item.positive svg,.overview-item.positive strong{color:#6ab034}.overview-item.positive svg{background:#f2f8ed}.overview-item.negative svg,.overview-item.negative strong{color:#ef5959}.overview-item.negative svg{background:#fff1f1}.overview-item.blue svg,.overview-item.blue strong{color:#278fe6}.overview-item.blue svg{background:#eef7ff}.overview-item.yellow svg,.overview-item.yellow strong{color:#e5a600}.overview-item.yellow svg{background:#fff8e8}.points-layout{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:16px;align-items:start}.points-ledger-surface{min-width:0;border:1px solid #e1ebf5;border-radius:17px;overflow:hidden;background:#fff;box-shadow:0 5px 18px #336c970f}.ledger-filters{min-height:66px;padding:10px 12px;border-bottom:1px solid var(--line);display:grid;grid-template-columns:minmax(160px,auto) 150px 140px minmax(180px,1fr);gap:9px;align-items:center}.ledger-filters select{height:44px;padding:0 12px;border:1px solid var(--line);border-radius:12px;color:#0c2858;background:#fff}.date-filter-control{min-width:0;display:flex;align-items:center;gap:7px;color:#5c7691}.date-filter-control>select{min-width:112px}.calendar-range{display:flex;align-items:center;gap:6px}.calendar-range input{width:132px;height:44px;padding:0 8px;border:1px solid var(--line);border-radius:12px;color:#0c2858;background:#fff}.calendar-range span{color:#8292a5;font-size:13px}.range-loading{flex:0 0 auto;color:#198ff0;font-size:12px}.ledger-search,.catalog-toolbar label{height:44px;padding:0 12px;border:1px solid var(--line);border-radius:12px;display:flex;align-items:center;gap:8px;background:#fff;color:#7186a3}.ledger-search input,.catalog-toolbar input{width:100%;min-width:0;border:0;outline:0;color:#0c2858;background:transparent}.point-table{min-width:660px}.point-row{width:100%;min-height:54px;padding:0 16px;border-bottom:1px solid #e8eff6;background:#fff;display:grid;grid-template-columns:70px 145px 220px 90px 90px;gap:10px;align-items:center;justify-content:start;text-align:left;color:#637895;font-size:12px}.point-head{min-height:44px;color:#536987;background:#f9fbfd;font-weight:700}.point-student{display:flex;align-items:center;gap:8px;color:#0c2858}.point-student img{width:34px;height:34px;border-radius:10px;object-fit:cover;background:#fff5e6}.point-student.no-pet img{object-fit:cover;object-position:center;background:#eaf7ff}.tag-chip{width:fit-content;padding:5px 8px;border:1px solid;border-radius:7px;font-size:11px;font-weight:650;white-space:nowrap}.tag-chip.good{color:#438fc9;border-color:#bfdef5;background:#eef8ff}.tag-chip.bad{color:#df5656;border-color:#f4c9c9;background:#fff2f2}.point-row .up,.point-row .down{font-size:17px}.table-footer{min-height:58px;padding:10px 14px;display:flex;align-items:center;justify-content:space-between;color:#6b7f9b;font-size:12px}.table-footer div{display:flex;gap:6px}.table-footer button{width:32px;height:32px;border:1px solid var(--line);border-radius:8px;background:#fff;cursor:pointer}.table-footer button.current{color:#fff;border-color:#2e9dee;background:#2e9dee}.table-footer button:disabled{opacity:.45}.empty-state{min-height:260px;display:grid;place-content:center;justify-items:center;gap:8px;color:#7186a3}.empty-state strong{color:#294566}.points-side{display:grid;gap:14px}.tag-list{display:grid}.tag-item{min-height:44px;border-bottom:1px solid #edf2f7;display:grid;grid-template-columns:minmax(0,1fr) 30px;gap:6px;align-items:center}.tag-select{min-width:0;padding:5px 0;border:0;background:transparent;display:flex;align-items:center;justify-content:space-between;gap:6px;cursor:pointer;text-align:left}.tag-select>span{color:#6f829d;font-size:11px;white-space:nowrap}.delete-tag{width:30px;height:30px;padding:0;border:0;border-radius:8px;color:#d66;background:transparent;display:grid;place-items:center;cursor:pointer}.delete-tag:hover{background:#fff0f0}.field-hint{color:var(--muted);font-weight:400}.text-action{width:100%;margin-top:12px;border:0;color:#147fc8;background:transparent;display:flex;align-items:center;justify-content:center;gap:4px;cursor:pointer}.frequency-row{min-height:43px;border-top:1px solid #edf2f7;display:grid;grid-template-columns:24px 1fr auto;gap:7px;align-items:center;font-size:11px}.frequency-row strong{font-size:12px}.frequency-row small{color:#70839d}.frequency-icon{width:21px;height:21px;border-radius:50%;display:grid;place-items:center;color:#fff;background:#4faeed}.frequency-icon.f-1,.frequency-icon.f-2{background:#83b947}.frequency-icon.f-4{background:#ed6666}.pet-catalog-grid{display:grid;grid-template-columns:repeat(4,minmax(180px,1fr));gap:14px}.catalog-card{min-height:230px;padding:12px;border:1px solid #e0ebf5;border-radius:17px;color:#0c2858;background:#fff;display:grid;grid-template-rows:1fr auto;gap:10px;text-align:center;cursor:pointer;box-shadow:0 4px 15px #3e739e0d;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.catalog-card:hover{border-color:#45b6f8;transform:translateY(-2px);box-shadow:0 0 0 2px #4fc3f721,0 8px 24px #2c7fbd1a}.catalog-card:active{transform:scale(.985)}.catalog-card>img{width:100%;height:178px;border-radius:13px;object-fit:contain;background:#fff8ea}.catalog-card>strong{font-size:16px}.pet-stage-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;padding:24px;background:#0c285857;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:grid;place-items:center;animation:modal-fade .18s ease-out}.pet-stage-modal{width:min(1040px,calc(100vw - 48px));max-height:calc(100vh - 48px);padding:22px;border-radius:22px;overflow-y:auto;background:#f8fbfe;box-shadow:0 28px 80px #0c285847}.pet-stage-modal>header{margin-bottom:16px;display:flex;align-items:center;justify-content:space-between}.pet-stage-modal>header>div{display:grid;gap:3px}.pet-stage-modal h2{margin:0;font-size:24px}.pet-stage-modal header span{color:#6d819b;font-size:12px}.pet-stage-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.pet-stage-grid figure{margin:0;padding:10px;border:1px solid #e1ebf4;border-radius:15px;background:#fff}.pet-stage-grid img{width:100%;height:190px;border-radius:11px;object-fit:contain;background:#fff8ea}.pet-stage-grid figcaption{padding:8px 2px 2px;display:grid;gap:2px}.pet-stage-grid small{color:#7a8da6;font-size:10px}.pet-stage-grid strong{color:#18395f;font-size:14px}.honor-banner{height:162px;margin-bottom:15px;padding:24px 32px;border:1px solid #eadfc8;border-radius:20px;overflow:hidden;background:#fff9ea;display:flex;align-items:center;justify-content:space-between}.honor-banner span{color:#c18700;font-size:12px;font-weight:750}.honor-banner h2{margin:7px 0;font-size:25px}.honor-banner p{margin:0;color:#806f55}.honor-banner img{width:220px;height:155px;border-radius:26px;object-fit:cover;object-position:center 48%}.honor-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:16px;align-items:start}.honor-history{border:1px solid #e1ebf5;border-radius:18px;overflow:hidden;background:#fff}.honor-row{min-height:104px;padding:14px 17px;border-bottom:1px solid #e9f0f6;display:grid;grid-template-columns:52px 1fr 36px;gap:13px;align-items:center}.honor-row:last-child{border-bottom:0}.honor-row>button{width:34px;height:34px;border:0;border-radius:9px;color:#6c819d;background:#f3f7fb;cursor:pointer}.honor-mark{width:50px;height:50px;border-radius:15px;display:grid;place-items:center;color:#258fdc;background:#edf8ff}.honor-mark.yellow{color:#d99b00;background:#fff8e6}.honor-mark.green{color:#65a83b;background:#f1f9ec}.honor-mark.purple{color:#7c6bc7;background:#f3f0ff}.honor-row small{color:#7185a0}.honor-row h3{margin:3px 0;font-size:16px}.honor-row p{margin:0;color:#697f9b;font-size:12px}.honor-side{display:grid;gap:14px}.medal-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.medal-grid div{min-height:96px;border-radius:13px;background:#f7fbfe;display:grid;place-content:center;justify-items:center;gap:2px;color:#2392df}.medal-grid div:nth-child(2),.medal-grid div:nth-child(3){color:#d99b00}.medal-grid div:nth-child(4){color:#75ad45}.medal-grid strong{font-size:22px}.medal-grid span{color:#71839d;font-size:10px}.honor-student{min-height:54px;border-top:1px solid #edf2f7;display:grid;grid-template-columns:38px 1fr 24px;gap:9px;align-items:center}.honor-student img{width:38px;height:38px;border-radius:10px;object-fit:cover}.honor-student span{display:grid;gap:3px}.honor-student small{color:#71839d}.honor-student>svg{color:#e2a400}.report-toolbar{min-height:58px;margin-bottom:14px;padding:8px 12px;border:1px solid #e1ebf5;border-radius:15px;background:#fff;display:flex;align-items:center;gap:12px}.report-toolbar select{height:38px;padding:0 12px;border:1px solid var(--line);border-radius:10px;color:#0c2858;background:#fff}.report-toolbar>span{margin-left:auto;color:#71839d;font-size:12px}.report-summary{min-height:106px;margin-bottom:14px;padding:14px 8px;border:1px solid #e1ebf5;border-radius:17px;background:#fff;display:grid;grid-template-columns:repeat(4,1fr)}.report-summary>div{padding:0 18px;display:flex;align-items:center;gap:12px}.report-summary>div+div{border-left:1px solid var(--line)}.report-summary svg{color:#2998e6}.report-summary span{display:grid;gap:3px;color:#6b809c;font-size:11px}.report-summary strong{color:#0c2858;font-size:23px}.report-summary small{color:#6da943}.report-layout{display:grid;grid-template-columns:minmax(0,1fr) 286px;gap:16px;align-items:start}.report-main{border:1px solid #e1ebf5;border-radius:18px;overflow:hidden;background:#fff}.report-side{display:grid;gap:14px}.report-row{width:100%;min-height:58px;padding:0 15px;border:0;border-bottom:1px solid #e8eff6;background:#fff;display:grid;grid-template-columns:150px 90px 90px 160px 1fr;gap:10px;align-items:center;text-align:left;color:#627895;font-size:12px}.report-row:not(.report-head){cursor:pointer}.report-row:not(.report-head):hover{background:#f7fbfe}.report-row.report-head{min-height:43px;color:#536987;background:#f9fbfd;font-weight:700}.report-row>span>i,.distribution i{height:7px;border-radius:7px;overflow:hidden;background:#e6eef6;display:inline-block}.report-row>span>i{width:90px;margin-right:6px}.report-row>span>i b,.distribution i b{height:100%;display:block;border-radius:inherit;background:#58abe7}.distribution{display:grid;gap:15px}.distribution>div{display:grid;grid-template-columns:70px 1fr 36px;gap:8px;align-items:center;color:#667c98;font-size:11px}.distribution i{width:100%}.distribution strong{text-align:right;color:#2d4968}.report-insight{color:#277fbf;background:#eef8ff}.report-insight h3{margin:8px 0 5px}.report-insight p{margin:0;color:#5e7d98;font-size:12px;line-height:1.65}.settings-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:16px;align-items:start}.settings-nav{padding:10px;border:1px solid #e1ebf5;border-radius:17px;background:#fff;display:grid;gap:4px}.settings-nav button{min-height:46px;padding:0 12px;border:0;border-radius:11px;color:#607792;background:transparent;display:flex;align-items:center;gap:9px;text-align:left;cursor:pointer}.settings-nav button.active{color:#147fc8;background:#eef8ff;font-weight:750}.settings-content{display:grid;gap:14px}.settings-section{scroll-margin-top:16px;padding:20px;border:1px solid #e1ebf5;border-radius:18px;background:#fff}.settings-section>div:first-child h2{margin:0 0 4px;font-size:18px}.settings-section>div:first-child p{margin:0 0 18px;color:#70849f;font-size:12px}.settings-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.settings-form-grid label{display:grid;gap:7px;color:#566e8c;font-size:12px;font-weight:650}.settings-form-grid input[readonly]{color:#8190a5;background:#f7f9fb}.rule-row{min-height:66px;border-top:1px solid #edf2f7;display:flex;align-items:center;justify-content:space-between;gap:18px}.rule-row>span{display:grid;grid-template-columns:28px 1fr;align-items:center}.rule-row>span svg{grid-row:1 / 3;color:#399ee7}.rule-row>span b{font-size:13px}.rule-row>span small{color:#7789a1;font-size:11px}.number-field{display:flex;align-items:center;gap:7px;color:#6c819d;font-size:12px}.number-field input{width:68px;height:38px;border:1px solid var(--line);border-radius:9px;text-align:center}.switch{position:relative;width:46px;height:26px;flex:0 0 auto}.switch input{position:absolute;opacity:0}.switch i{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:20px;background:#cfdbe7;cursor:pointer;transition:background .2s}.switch i:after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 2px 5px #193e5b33;transition:transform .2s}.switch input:checked+i{background:#44abea}.switch input:checked+i:after{transform:translate(20px)}.safe-status{color:#63a23d;font-size:12px}.roll-call-page{display:flex;flex-direction:column;gap:14px;overflow:auto}.roll-call-heading{min-height:50px;display:flex;align-items:baseline;gap:22px}.roll-call-heading h1{margin:0;color:#0c2858;font-size:29px;letter-spacing:-.8px}.roll-call-heading span{color:#258fe1;font-size:15px;font-weight:750}.roll-call-layout{min-height:0;flex:1 1 auto;display:grid;grid-template-columns:minmax(560px,1fr) 380px;gap:16px}.wheel-surface,.roll-call-result,.roll-call-settings,.roll-call-history{border:1px solid #dce8f3;border-radius:20px;background:#fff;box-shadow:0 7px 24px #2771ab12}.wheel-surface{min-height:650px;display:grid;place-items:center;overflow:hidden}.wheel-wrap{position:relative;width:min(660px,calc(100% - 34px));aspect-ratio:1;display:grid;place-items:center}.roll-call-wheel{display:block;width:100%!important;height:auto!important;max-width:680px;border-radius:50%;filter:drop-shadow(0 13px 17px rgba(42,104,158,.13));transition:transform 1.8s cubic-bezier(.13,.76,.19,1)}.wheel-pointer{position:absolute;top:4.5%;left:50%;z-index:3;width:52px;height:64px;border:4px solid #fff;border-radius:18px;color:#fff;background:#2c8cf0;box-shadow:0 8px 18px #1f7ee047;display:grid;place-items:center;transform:translate(-50%);pointer-events:none}.wheel-pointer svg{transform:rotate(180deg)}.wheel-start-button{position:absolute;z-index:4;width:190px;height:190px;border:10px solid #fff;border-radius:50%;color:#fff;background:#347fe8;box-shadow:0 12px 28px #2271da42,inset 0 0 0 2px #ffffff3d;display:grid;place-content:center;gap:2px;cursor:pointer;transition:transform .16s ease,background .16s ease}.wheel-start-button:hover:not(:disabled){background:#2474df;transform:scale(1.035)}.wheel-start-button:active:not(:disabled){transform:scale(.98)}.wheel-start-button:disabled{cursor:wait}.wheel-start-button span,.wheel-start-button strong{color:inherit;font-size:29px;line-height:1.12}.roll-call-side{min-width:0;display:grid;grid-template-rows:minmax(280px,.9fr) minmax(310px,1.1fr);gap:16px}.roll-call-result{padding:27px 24px 22px;display:flex;align-items:center;flex-direction:column;justify-content:center;text-align:center}.roll-call-result>span{color:#258fe1;font-size:19px;font-weight:750}.roll-call-result>svg{margin:25px 0 8px;padding:9px;border-radius:16px;color:#479be2;background:#edf7ff}.picked-names{max-width:100%;margin:17px 0 7px;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:4px 13px}.picked-names strong{color:#0c2858;font-size:clamp(31px,3vw,52px);line-height:1.1;letter-spacing:-1.5px}.roll-call-result>small{min-height:20px;color:#8090a7;font-size:14px}.roll-call-result .result-placeholder{margin:6px 0 7px;color:#2c4868;font-size:25px}.roll-call-redraw{width:min(260px,100%);min-height:54px;margin-top:24px;border:0;border-radius:12px;color:#fff;background:#347fe8;box-shadow:0 7px 16px #2574da2e;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:17px;font-weight:750;cursor:pointer}.roll-call-redraw:disabled{opacity:.68;cursor:wait}.roll-call-settings{padding:22px;display:grid;align-content:start;gap:20px}.roll-call-settings fieldset{min-width:0;margin:0;padding:0;border:0}.roll-call-settings legend{margin-bottom:10px;color:#183b62;font-size:15px;font-weight:750}.roll-call-segments{display:grid;grid-template-columns:1fr 1fr;overflow:hidden;border:1px solid #d5e2ef;border-radius:11px}.roll-call-segments.count{grid-template-columns:repeat(3,1fr)}.roll-call-segments button{min-height:48px;border:0;border-left:1px solid #e1e9f1;color:#536a87;background:#fff;cursor:pointer}.roll-call-segments button:first-child{border-left:0}.roll-call-segments button.active{color:#1677e8;background:#eef7ff;box-shadow:inset 0 0 0 1px #6db1f4;font-weight:750}.roll-call-switch{min-height:58px;padding-top:2px;display:flex;align-items:center;justify-content:space-between;gap:16px}.roll-call-switch>span:first-child{display:grid;gap:4px}.roll-call-switch strong{color:#183b62;font-size:14px}.roll-call-switch small{color:#8796aa;font-size:11px}.candidate-count{margin:-5px 0 0;padding-top:14px;border-top:1px solid #e7eef5;color:#7a8da5;font-size:12px}.candidate-count strong{color:#258fe1;font-size:15px}.roll-call-history{min-height:124px;padding:19px 24px;display:flex;align-items:center;justify-content:space-between;gap:20px}.roll-call-history>div{min-width:0;flex:1 1 auto;display:grid;gap:13px}.roll-call-history h2{margin:0;color:#203c5e;font-size:17px}.roll-call-history h2 strong{margin:0 4px;color:#258fe1;font-size:25px}.history-name-list{min-width:0;display:flex;gap:8px;overflow-x:auto;scrollbar-width:thin}.history-name-list span{min-width:88px;min-height:38px;padding:0 13px;border:1px solid #e1eaf3;border-radius:9px;color:#284665;background:#f9fbfd;display:inline-flex;align-items:center;justify-content:center;font-size:13px;font-weight:650;white-space:nowrap}.history-name-list small{color:#8a99ab;line-height:38px}.roll-call-history>button{flex:0 0 auto;min-height:42px;padding:0 15px;border:1px solid #d8e3ee;border-radius:11px;color:#58718d;background:#fff;display:inline-flex;align-items:center;justify-content:center;gap:7px;cursor:pointer}.roll-call-history>button:not(:disabled):hover{color:#db4f4f;border-color:#f0c6c6;background:#fff7f7}.roll-call-history>button:disabled{opacity:.45;cursor:default}@media(max-width:1320px){.dashboard{grid-template-columns:190px minmax(0,1fr)}.topbar{grid-template-columns:190px 200px 1fr}.brand{padding:0 12px}.brand span{font-size:19px}.student-card{height:190px;min-height:190px;padding-top:9px;border-radius:30px}.pet-portrait{width:101px;height:101px;flex-basis:101px}.quick-actions .score{max-width:110px}.completed-grid,.bubble-grid{grid-template-columns:repeat(3,1fr)}.roll-call-layout{grid-template-columns:minmax(500px,1fr) 340px}.wheel-surface{min-height:570px}.wheel-wrap{width:min(580px,calc(100% - 30px))}.wheel-start-button{width:166px;height:166px}.wheel-start-button span,.wheel-start-button strong{font-size:25px}}@media(max-width:1199px){.student-grid{grid-template-columns:repeat(4,minmax(180px,1fr))}.points-layout,.catalog-layout,.honor-layout,.report-layout{grid-template-columns:1fr}.points-side,.honor-side,.report-side{grid-template-columns:1fr 1fr}.pet-catalog-grid{grid-template-columns:repeat(4,minmax(170px,1fr))}.catalog-detail{display:grid;grid-template-columns:280px 1fr;gap:8px 16px}.catalog-copy{grid-column:2;grid-row:1}.catalog-feature{grid-column:1;grid-row:1 / 5;height:280px}.catalog-stage-current{grid-column:2;grid-row:2}.catalog-stages{grid-column:2;grid-row:3}.catalog-detail>.primary-action{grid-column:2;grid-row:4}.roll-call-layout{grid-template-columns:1fr 320px}.wheel-surface{min-height:520px}}@media(max-width:980px){.dashboard{display:block}.topbar{position:sticky;top:0;display:flex;justify-content:space-between}.sidebar{display:none}.student-main,.workspace-main{overflow:visible}.student-grid{grid-template-columns:repeat(3,minmax(180px,1fr))}.top-actions>div:last-child{display:none}.modal-detail-grid{grid-template-columns:1fr}.points-overview,.report-summary{grid-template-columns:1fr 1fr}.overview-item:nth-child(3),.report-summary>div:nth-child(3){border-left:0}.overview-item:nth-child(n+3),.report-summary>div:nth-child(n+3){border-top:1px solid var(--line);padding-top:12px}.ledger-filters{grid-template-columns:1fr 1fr}.ledger-search{grid-column:1 / -1}.points-ledger-surface{overflow-x:auto}.pet-catalog-grid{grid-template-columns:repeat(3,minmax(180px,1fr))}.settings-layout{grid-template-columns:1fr}.settings-nav{grid-template-columns:repeat(5,1fr)}.settings-nav button{justify-content:center;padding:0 5px;font-size:11px}.adoption-modal-body{grid-template-columns:1fr}.adoption-pet-grid{grid-template-columns:repeat(4,1fr)}.adoption-stage-preview{position:static}.board-columns{grid-template-columns:1fr}.pending-zone{border-right:0;border-bottom:1px solid var(--line)}.board-hero{grid-template-columns:140px 1fr 140px}.assignment h1{font-size:28px}.roll-call-layout{grid-template-columns:1fr}.wheel-surface{min-height:auto;padding:20px}.roll-call-side{grid-template-columns:1fr 1fr;grid-template-rows:auto}.roll-call-result,.roll-call-settings{min-height:320px}}@media(max-width:620px){.topbar,.brand{height:64px}.class-context{display:none}.student-main,.workspace-main{padding:18px 12px}.student-grid{grid-template-columns:1fr}.batch-bar{align-items:flex-start;flex-wrap:wrap}.selection-summary{width:100%}.quick-actions-scroll{width:100%;flex-basis:100%}.detail-modal-backdrop{padding:10px}.detail-modal{width:100%;max-height:calc(100vh - 20px);padding:18px;border-radius:20px}.adopted-pet-list{grid-template-columns:1fr}.workspace-heading{align-items:flex-start;gap:10px}.workspace-heading>div{display:grid;gap:3px}.workspace-heading h1{font-size:24px}.primary-action{padding:0 12px}.points-overview,.report-summary{grid-template-columns:1fr}.overview-item,.report-summary>div{min-height:80px;border-left:0!important;border-top:1px solid var(--line)}.overview-item:first-child,.report-summary>div:first-child{border-top:0}.ledger-filters{grid-template-columns:1fr}.ledger-search{grid-column:auto}.points-side,.honor-side,.report-side{grid-template-columns:1fr}.pet-catalog-grid{grid-template-columns:1fr 1fr;gap:10px}.catalog-card{min-height:180px;padding:9px}.catalog-card>img{height:140px}.pet-stage-modal-backdrop{padding:10px}.pet-stage-modal{width:calc(100vw - 20px);max-height:calc(100vh - 20px);padding:14px;border-radius:18px}.pet-stage-grid{grid-template-columns:1fr 1fr;gap:8px}.pet-stage-grid figure{padding:7px}.pet-stage-grid img{height:130px}.settings-form-grid{grid-template-columns:1fr}.settings-nav{grid-template-columns:1fr 1fr}.report-toolbar{align-items:stretch;flex-direction:column}.report-toolbar>span{margin-left:0}.board-topbar{grid-template-columns:1fr auto}.board-topbar .class-context{display:none}.teacher-back{margin-right:10px}.board-hero{grid-template-columns:1fr;gap:14px}.homework-switch-wrap,.end-button{justify-self:center}.homework-menu{left:50%;transform:translate(-50%)}.bubble-grid{grid-template-columns:repeat(2,1fr)}.completed-grid{grid-template-columns:1fr 1fr}.adoption-modal-backdrop{padding:10px}.adoption-modal{width:calc(100vw - 20px);max-height:calc(100vh - 20px);padding:14px;border-radius:18px}.adoption-pet-grid{grid-template-columns:1fr 1fr;gap:8px}.adoption-pet-grid img{height:90px}.adoption-stage-preview{min-height:0;padding:10px}.adoption-stage-grid{grid-template-columns:1fr 1fr}.adoption-stage-grid img{height:115px}.adoption-preview-empty{min-height:180px}.adoption-modal footer{bottom:-14px;margin:12px -14px -14px;padding:12px 14px 16px;align-items:stretch;flex-direction:column}.adoption-modal footer .primary-action{width:100%}.roll-call-heading h1{font-size:24px}.roll-call-layout,.roll-call-side{grid-template-columns:1fr}.roll-call-result,.roll-call-settings{min-height:0}.wheel-surface{padding:10px}.wheel-wrap{width:100%}.wheel-pointer{top:3%;width:38px;height:46px}.wheel-start-button{width:112px;height:112px;border-width:7px}.wheel-start-button span,.wheel-start-button strong{font-size:18px}.roll-call-history{align-items:stretch;flex-direction:column}.roll-call-history>button{width:100%}}@media(prefers-reduced-motion:reduce){.catalog-card{transition:none}.catalog-card:hover,.catalog-card:active{transform:none}}
