:root{--ink:#24332d;--muted:#758079;--paper:#fbfaf5;--coral:#f08b7e;--yellow:#edc85f;--line:#e8e5dc}*{box-sizing:border-box}body{background:var(--paper);color:var(--ink);margin:0;font-family:Arial,Microsoft YaHei,sans-serif}button{font:inherit;color:inherit}.login-page{background:radial-gradient(circle at 15% 15%,#f8dfd7 0,#0000 28%),radial-gradient(circle at 85% 80%,#dcebd8 0,#0000 30%),#f7f3ea;place-items:center;min-height:100vh;padding:24px;display:grid}.login-card{-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#fffefaf0;border:1px solid #ddd8cbe6;border-radius:30px;width:min(430px,100%);min-height:520px;padding:38px 40px;box-shadow:0 30px 80px #333e3521}.login-brand{align-items:center;gap:12px;display:flex}.login-brand>div{flex-direction:column;gap:2px;display:flex}.login-brand strong{letter-spacing:.06em;font-size:17px}.login-brand small{color:var(--muted);font-size:11px}.login-heading{margin:62px 0 27px}.login-heading>span{letter-spacing:.18em;color:#d17369;font-size:9px;font-weight:800}.login-heading h1{letter-spacing:-.04em;margin:8px 0 10px;font-size:30px}.login-heading p{color:var(--muted);margin:0;font-size:12px}.login-form{flex-direction:column;gap:16px;display:flex}.login-form label{flex-direction:column;gap:7px;display:flex}.login-form label span{color:#69756e;font-size:11px}.login-form input{background:#fff;border:1px solid #dfddd5;border-radius:13px;outline:0;width:100%;padding:13px 14px}.login-form input:focus{border-color:#789374;box-shadow:0 0 0 4px #7a9a7421}.login-form button{color:#fff;cursor:pointer;background:#36584b;border:0;border-radius:13px;margin-top:4px;padding:13px;font-weight:700}.login-form button:disabled{cursor:not-allowed;opacity:.55}.login-error{color:#b64e45;background:#fcecea;border-radius:10px;margin:0;padding:9px 11px;font-size:11px}.login-notice{border-top:1px solid var(--line);color:#8b938d;margin:25px 0 0;padding-top:20px;font-size:10px;line-height:1.6}.login-checking{min-height:390px;color:var(--muted);flex-direction:column;justify-content:center;align-items:center;font-size:12px;display:flex}.login-checking span{border:3px solid #e5e1d8;border-top-color:#d17369;border-radius:50%;width:30px;height:30px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.app-shell{grid-template-columns:248px 1fr;min-height:100vh;display:grid}.sidebar{border-right:1px solid var(--line);z-index:20;background:#fffefa;flex-direction:column;width:248px;padding:30px 22px 24px;display:flex;position:fixed;inset:0 auto 0 0;overflow-y:auto}.brand{letter-spacing:.08em;align-items:center;gap:11px;padding:0 8px 24px;font-size:18px;font-weight:800;display:flex}.brand-mark{background:var(--coral);color:#fff;border-radius:11px 11px 11px 4px;place-items:center;width:34px;height:34px;font-size:15px;display:grid}.class-chip{background:#f6eddb;border-radius:16px;flex-direction:column;gap:4px;margin-bottom:18px;padding:15px 17px;display:flex}.class-chip span{font-size:14px;font-weight:700}.class-chip small{color:#8a8071}nav{flex-direction:column;gap:3px;display:flex}.nav-item{text-align:left;color:#68736d;cursor:pointer;background:0 0;border:0;border-radius:12px;padding:11px 13px;transition:all .2s}.nav-item:hover{color:var(--ink);background:#f7f2e9;transform:translate(2px)}.nav-item.active{color:#a84439;background:#f6d9d2;font-weight:700}.nav-icon{place-items:center;width:25px;margin-right:10px;font-size:17px;display:inline-grid}.teacher-card{border-top:1px solid var(--line);align-items:center;gap:10px;margin-top:auto;padding:13px 8px 0;display:flex}.avatar{background:#d8e5cf;border-radius:50%;place-items:center;width:38px;height:38px;font-weight:700;display:grid}.teacher-card div{flex-direction:column;flex:1;gap:2px;display:flex}.teacher-card strong{font-size:13px}.teacher-card small{color:var(--muted)}.content{grid-column:2;width:100%;max-width:1920px;margin:0;padding:36px clamp(28px,3vw,64px) 72px}.topbar{justify-content:space-between;align-items:center;margin-bottom:30px;display:flex}.eyebrow{color:#9b8178;letter-spacing:.08em;margin:0 0 4px;font-size:12px}.topbar h1{letter-spacing:-.03em;margin:0;font-size:27px}.menu-button{display:none}.top-actions{align-items:center;gap:12px;display:flex}.top-actions .logout-button{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:12px;padding:9px 13px;font-size:11px}.term-pill{border:1px solid var(--line);color:#6d756f;background:#fff;border-radius:22px;padding:11px 16px;font-size:12px}.hero{background:#e5efd9;border-radius:28px;justify-content:space-between;align-items:center;min-height:205px;padding:38px 48px;display:flex;position:relative;overflow:hidden}.hero:before,.hero:after{content:"";border:1px solid #476a4629;border-radius:50%;position:absolute}.hero:before{width:220px;height:220px;top:-95px;right:70px}.hero:after{width:150px;height:150px;bottom:-70px;right:-40px}.hero-label{color:#62805f;letter-spacing:.12em;margin-bottom:14px;font-size:11px;font-weight:800;display:inline-block}.hero h2{letter-spacing:-.04em;max-width:650px;margin:0 0 11px;font-size:30px}.hero p{color:#68776b;margin:0;font-size:14px}.hero-button{color:#fff;cursor:pointer;background:#36584b;border:0;border-radius:13px;margin-top:22px;padding:11px 16px;font-size:12px;box-shadow:0 8px 16px #36584b1f}.hero-button span{padding-left:6px}.hero-art{z-index:1;background:#fffdf5;border-radius:50% 50% 46% 54%;flex-direction:column;justify-content:center;align-items:center;width:124px;height:124px;display:flex;position:relative;transform:rotate(3deg);box-shadow:0 15px 40px #4964441a}.hero-art span{color:#e27c70;font-family:Georgia,serif;font-size:39px;font-weight:700}.hero-art small{color:#7e877f;transform:rotate(-3deg)}.section-heading{justify-content:space-between;align-items:end;margin:38px 2px 18px;display:flex}.section-kicker{letter-spacing:.18em;color:#d17369;font-size:10px;font-weight:800}.section-heading h2{margin:4px 0 0;font-size:22px}.section-heading button{color:#7b847e;cursor:pointer;background:0 0;border:0;font-size:12px}.section-heading button span{margin-left:5px}.dashboard-section{scroll-margin-top:20px}.card-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;display:grid}.work-card{text-align:left;cursor:pointer;background:#fff;border:1px solid #0000;border-radius:22px;min-height:235px;padding:22px;transition:all .22s;box-shadow:0 4px 22px #3333230b}.work-card:hover{transform:translateY(-5px);box-shadow:0 14px 32px #33332317}.work-card:focus-visible,.nav-item:focus-visible{outline-offset:2px;outline:3px solid #dd6c5e59}.work-card.coral,.drawer-banner.coral{background:#fbdfd9}.work-card.yellow,.drawer-banner.yellow{background:#f8e7a9}.work-card.cream,.drawer-banner.cream{background:#f8f3e9}.work-card.mint,.drawer-banner.mint{background:#dcebd8}.work-card.blush,.drawer-banner.blush{background:#f5e1dd}.work-card.sand,.drawer-banner.sand{background:#efe3c9}.work-card.lavender,.drawer-banner.lavender{background:#e6e0ee}.work-card.sage,.drawer-banner.sage{background:#d9e7dc}.card-head{justify-content:space-between;align-items:center;display:flex}.card-symbol{background:#ffffffa6;border-radius:13px;place-items:center;width:40px;height:40px;font-weight:800;display:grid}.tag{color:#6f736b;background:#ffffff94;border-radius:12px;padding:5px 9px;font-size:10px}.work-card h3{margin:24px 0 11px;font-size:16px}.metric{align-items:baseline;gap:7px;display:flex}.metric strong{font-family:Georgia,serif;font-size:30px}.metric span{color:#727970;font-size:11px}.card-note{color:#70766f;border-top:1px solid #3c3c2817;justify-content:space-between;margin-top:20px;padding-top:15px;font-size:11px;display:flex}.module-placeholder{text-align:center;background:#fffefb;border:1px dashed #dcd7ca;border-radius:28px;flex-direction:column;justify-content:center;align-items:center;min-height:68vh;padding:40px;display:flex}.module-placeholder>span{background:#f4ddd7;border-radius:24px;place-items:center;width:70px;height:70px;font-size:28px;display:grid}.module-placeholder h2{margin:19px 0 8px;font-size:25px}.module-placeholder p{color:var(--muted);margin:0 0 20px;font-size:13px}.module-placeholder button,.primary-action{color:#fff;cursor:pointer;background:#36584b;border:0;border-radius:13px;padding:12px 20px}footer{border-top:1px solid var(--line);color:#909790;justify-content:space-between;align-items:center;margin-top:48px;padding-top:22px;font-size:11px;display:flex}footer span{color:#6c766f;letter-spacing:.08em;font-weight:800}footer p{margin:0}.drawer-backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:30;background:#1a221d47;border:0;animation:.2s fade;position:fixed;inset:0}.detail-drawer{z-index:40;background:#fffefb;width:min(440px,100%);animation:.25s ease-out slide;position:fixed;top:0;bottom:0;right:0;overflow-y:auto;box-shadow:-18px 0 60px #16231b24}.drawer-banner{min-height:210px;padding:44px 34px 30px;position:relative}.drawer-banner button{cursor:pointer;background:#ffffffa6;border:0;border-radius:50%;width:34px;height:34px;font-size:21px;position:absolute;top:22px;right:24px}.drawer-symbol{background:#ffffffa6;border-radius:15px;place-items:center;width:48px;height:48px;margin-bottom:20px;font-weight:800;display:grid}.drawer-banner small{letter-spacing:.12em;color:#747970;font-size:10px;display:block}.drawer-banner h2{margin:6px 0 7px;font-size:27px}.drawer-banner p{color:#6e756f;margin:0;font-size:12px}.drawer-content{padding:30px 34px}.drawer-metric{border-bottom:1px solid var(--line);align-items:baseline;gap:8px;padding-bottom:25px;display:flex}.drawer-metric strong{font-family:Georgia,serif;font-size:34px}.drawer-metric span{color:#737c75;font-size:12px}.drawer-content h3{margin:27px 0 12px;font-size:14px}.detail-list{flex-direction:column;gap:10px;display:flex}.detail-item{border:1px solid var(--line);background:#fff;border-radius:14px;grid-template-columns:50px 1fr 14px;align-items:center;padding:14px;display:grid}.detail-item>span{color:#a16d63;font-size:10px}.detail-item div{flex-direction:column;gap:4px;display:flex}.detail-item strong{font-size:12px}.detail-item small{color:#8b918d;font-size:10px}.detail-item b{color:#afb4b0;font-size:20px;font-weight:400}.primary-action{width:100%;margin-top:22px}.mobile-close,.mobile-backdrop{display:none}@keyframes fade{0%{opacity:0}}@keyframes slide{0%{transform:translate(100%)}}@media (max-width:1000px){.card-grid{grid-template-columns:repeat(2,1fr)}.hero{padding:32px}.hero h2{font-size:26px}}@media (max-width:720px){.login-card{min-height:500px;padding:30px 24px}.login-heading{margin-top:52px}.app-shell{display:block}.sidebar{width:260px;transition:transform .25s;transform:translate(-100%)}.sidebar.open{transform:translate(0)}.mobile-close{background:0 0;border:0;margin-left:auto;font-size:24px;display:block}.mobile-backdrop{z-index:15;background:#161e1a4d;border:0;display:block;position:fixed;inset:0}.content{padding:24px 18px 50px}.menu-button{background:0 0;border:0;margin-right:8px;font-size:22px;display:block}.topbar{align-items:center}.topbar>div:first-of-type{margin-right:auto}.topbar h1{font-size:21px}.eyebrow,.term-pill{display:none}.hero{align-items:flex-start;min-height:285px;padding:30px 25px}.hero h2{font-size:25px}.hero p{max-width:80%}.hero-art{width:105px;height:105px;position:absolute;bottom:-22px;right:15px}.card-grid{grid-template-columns:1fr}.work-card{min-height:210px}.section-heading{margin-top:32px}.detail-drawer{width:100%}footer{flex-direction:column;align-items:flex-start;gap:8px}}.page-toolbar{justify-content:space-between;align-items:flex-end;margin-bottom:24px;display:flex}.page-toolbar h2{margin:5px 0 7px;font-size:27px}.page-toolbar p{color:var(--muted);margin:0;font-size:13px}.primary-button,.soft-button,.clear-button{cursor:pointer;border:0;border-radius:13px;padding:11px 17px;font-size:12px;font-weight:700}.primary-button{color:#fff;background:#36584b}.soft-button{border:1px solid var(--line);color:#65716a;background:#fff}.clear-button{color:#b3544a;background:#fff0ed;border:1px solid #f0cbc5}.seat-workspace{grid-template-columns:minmax(0,1fr) 280px;align-items:stretch;gap:18px;display:grid}.seat-main{min-width:0}.classroom{background:#f4f0e6;border:1px solid #e4ded0;border-radius:26px;padding:26px;box-shadow:inset 0 0 0 7px #ffffff6b}.blackboard{color:#e8f0e8;text-align:center;letter-spacing:.35em;background:#355247;border:7px solid #caa77d;border-radius:7px;width:min(520px,70%);margin:0 auto 28px;padding:12px;font-size:12px;box-shadow:0 5px 12px #31453c21}.seat-grid{grid-template-columns:repeat(8,minmax(70px,1fr));gap:12px;max-width:1040px;margin:auto;display:grid}.seat-slot.pair-gap{margin-right:18px}.student-seat{cursor:grab;background:#e5f1f7;border:1px solid #c9dded;border-radius:15px;flex-direction:column;justify-content:center;align-items:center;gap:7px;width:100%;min-height:78px;padding:10px 6px;transition:all .18s;display:flex;box-shadow:0 3px 8px #364e5b12}.student-seat:hover{border-color:#92b8cf;transform:translateY(-2px);box-shadow:0 8px 16px #364e5b1c}.student-seat.girl{background:#f9e5e2;border-color:#efc9c4}.student-seat strong{font-size:13px}.student-seat small{color:#75817b;font-size:9px}.student-seat.empty{color:#a1a69f;cursor:default;box-shadow:none;background:#ffffff73;border-style:dashed}.student-seat.dragging{opacity:.35;transform:scale(.94)}.classroom-back{text-align:center;color:#aaa394;letter-spacing:.3em;margin-top:22px;font-size:10px}.seat-legend{color:#778078;align-items:center;gap:20px;margin-top:16px;font-size:11px;display:flex}.seat-legend span{align-items:center;gap:6px;display:flex}.seat-legend i{background:#d6eaf4;border:1px solid #a7c9dc;border-radius:50%;width:10px;height:10px}.seat-legend .girl-dot{background:#f6d8d4;border-color:#e9b6b0}.seat-legend .empty-dot{background:#fff;border-style:dashed}.seat-legend b{color:#9a9f9a;margin-left:auto;font-weight:500}.waiting-area{background:#fffefa;border:1px solid #e4ded0;border-radius:24px;flex-direction:column;min-width:0;min-height:650px;max-height:760px;padding:20px;transition:all .18s;display:flex;box-shadow:0 5px 22px #3232230a}.waiting-area.accepting{background:#f3f8ef;border-color:#82a27c;box-shadow:0 0 0 4px #75976e1f}.waiting-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-end;padding-bottom:13px;display:flex}.waiting-head h3{margin:5px 0 0;font-size:20px}.waiting-head>strong{color:#9a6b42;background:#f6eddb;border-radius:14px;place-items:center;width:42px;height:42px;font:700 21px Georgia,serif;display:grid}.waiting-area>p{color:var(--muted);margin:13px 0 15px;font-size:11px;line-height:1.6}.waiting-list{grid-template-columns:1fr 1fr;align-content:start;gap:8px;min-height:0;padding:2px 3px 8px 0;display:grid;overflow:auto}.waiting-student{text-align:left;cursor:grab;background:#e5f1f7;border:1px solid #c9dded;border-radius:12px;flex-direction:column;gap:5px;min-width:0;padding:10px 8px;transition:all .16s;display:flex}.waiting-student:hover{border-color:#92b8cf;transform:translateY(-1px)}.waiting-student.girl{background:#f9e5e2;border-color:#efc9c4}.waiting-student strong{font-size:12px}.waiting-student small{text-overflow:ellipsis;white-space:nowrap;color:#75817b;font-size:8px;overflow:hidden}.waiting-student.dragging{opacity:.35}.waiting-empty{color:#89948d;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:6px;display:flex}.waiting-empty span{color:#557765;background:#e5efd9;border-radius:50%;place-items:center;width:42px;height:42px;font-weight:800;display:grid}.waiting-empty strong{font-size:13px}.waiting-empty small{font-size:10px}.waiting-note{border-top:1px solid var(--line);color:#999182;margin-top:auto;padding-top:13px;font-size:9px;line-height:1.55}.seat-toolbar-actions{flex-direction:column;align-items:flex-end;gap:9px;display:flex}.seat-toolbar-actions>div{gap:9px;display:flex}.seat-save-status{color:#9a6b42;font-size:11px}.seat-save-status.saved{color:#557765}.seat-save-status.error{color:#b8524c}.seat-toolbar-actions button:disabled{cursor:not-allowed;opacity:.55}.student-filters{border:1px solid var(--line);background:#fff;border-radius:17px;justify-content:space-between;align-items:center;margin-bottom:14px;padding:10px 13px;display:flex}.student-filters label{color:#9a9f9a;align-items:center;gap:8px;display:flex}.student-filters input{background:0 0;border:0;outline:0;width:260px;font-size:12px}.student-filters>div{background:#f6f3ec;border-radius:11px;padding:3px;display:flex}.student-filters button{color:#7c847e;cursor:pointer;background:0 0;border:0;border-radius:9px;padding:7px 13px;font-size:11px}.student-filters button.active{color:#a54f44;background:#fff;font-weight:700;box-shadow:0 2px 6px #3c322812}.student-table-wrap{border:1px solid var(--line);background:#fff;border-radius:20px;overflow:auto;box-shadow:0 5px 24px #32322309}.student-table{border-collapse:collapse;width:100%;min-width:980px}.student-table th{text-align:left;color:#8a908b;letter-spacing:.05em;background:#f6f3ec;padding:14px 16px;font-size:10px;font-weight:700}.student-table td{color:#647069;border-top:1px solid #f0eee8;padding:13px 16px;font-size:11px}.student-table tbody tr:hover{background:#fffdf8}.name-button{cursor:pointer;background:0 0;border:0;align-items:center;gap:9px;padding:0;display:flex}.name-button span{color:#55705d;background:#e4edde;border-radius:9px;place-items:center;width:28px;height:28px;display:grid}.name-button strong{color:var(--ink);font-size:12px}.gender-tag{color:#507a91;background:#e5f1f7;border-radius:9px;padding:4px 8px;font-style:normal}.gender-tag.girl{color:#a86159;background:#f9e5e2}.school-cell{white-space:nowrap;text-overflow:ellipsis;max-width:220px;overflow:hidden}.row-actions{gap:7px;display:flex}.row-actions button{cursor:pointer;background:#f3f5f1;border:0;border-radius:8px;padding:6px 9px;font-size:10px}.row-actions button.danger{color:#bd5c52;background:#fcf0ee}.empty-list{text-align:center;color:#999;padding:60px}.student-editor{z-index:40;background:#fffefb;width:min(560px,100%);animation:.22s ease-out slide;position:fixed;top:0;bottom:0;right:0;overflow:auto;box-shadow:-20px 0 60px #19231c26}.editor-head{background:#e5efd9;justify-content:space-between;align-items:flex-start;padding:32px 34px;display:flex}.editor-head small{color:#668061;letter-spacing:.15em;font-size:9px}.editor-head h2{margin:5px 0 0;font-size:25px}.editor-head button{cursor:pointer;background:#ffffffb3;border:0;border-radius:50%;width:34px;height:34px;font-size:20px}.editor-body{padding:28px 34px}.form-grid{grid-template-columns:1fr 1fr;gap:16px;display:grid}.form-grid label{flex-direction:column;gap:7px;display:flex}.form-grid label.full{grid-column:1/-1}.form-grid label span{color:#7c857f;font-size:10px}.form-grid input,.form-grid select,.form-grid textarea{background:#fff;border:1px solid #dfddd5;border-radius:11px;outline:0;width:100%;padding:10px 11px;font-size:12px}.form-grid input:focus,.form-grid select:focus,.form-grid textarea:focus{border-color:#90aa8b;box-shadow:0 0 0 3px #7a9a741f}.form-grid textarea{resize:vertical;min-height:80px}.privacy-note{color:#9a8b75;background:#faf2df;border-radius:11px;margin:19px 0;padding:11px 13px;font-size:10px;line-height:1.6}.editor-actions{justify-content:flex-end;gap:9px;display:flex}.mobile-close{cursor:pointer}@media (max-width:1280px){.seat-workspace{grid-template-columns:minmax(0,1fr) 235px}.waiting-list{grid-template-columns:1fr}}@media (max-width:1120px){.seat-grid{grid-template-columns:repeat(8,minmax(58px,1fr));gap:8px}.seat-slot.pair-gap{margin-right:8px}.student-seat{min-height:70px;padding:7px 3px}.student-seat strong{font-size:11px}.seat-workspace{grid-template-columns:1fr}.waiting-area{min-height:240px;max-height:340px}.waiting-list{grid-template-columns:repeat(4,minmax(0,1fr))}.waiting-empty{min-height:120px}}@media (max-width:720px){.page-toolbar{flex-direction:column;align-items:flex-start;gap:18px}.page-toolbar h2{font-size:23px}.page-toolbar p{max-width:100%}.seat-toolbar-actions{align-items:flex-start;width:100%}.seat-toolbar-actions>div{flex-wrap:wrap}.classroom{padding:20px 16px;overflow:auto}.seat-grid{min-width:720px}.blackboard{min-width:350px}.seat-legend{flex-wrap:wrap}.seat-legend b{width:100%;margin-left:0}.waiting-list{grid-template-columns:repeat(2,minmax(0,1fr))}.student-filters{flex-direction:column;align-items:stretch;gap:10px}.student-filters input{width:100%}.student-filters>div{align-self:flex-start}.form-grid{grid-template-columns:1fr}.form-grid label.full{grid-column:auto}.editor-body,.editor-head{padding-left:22px;padding-right:22px}}
