:root{--ink:#203a3b;--muted:#819092;--green:#147d70;--line:#e8eeee;--bg:#f6f8fa;--light:#eaf5f1;--radius:16px;font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;color:var(--ink);font-size:14px;background:var(--bg)}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{border:0;background:none;color:inherit}button:disabled{opacity:.5;cursor:not-allowed}a{color:var(--green);text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid #96c9bf;outline-offset:3px}svg{width:20px;height:20px;display:block;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}h1,h2,h3,p{margin:0}small{color:var(--muted)}.sidebar{position:fixed;inset:0 auto 0 0;width:218px;border-right:1px solid var(--line);background:#fff;display:flex;flex-direction:column;padding:34px 20px 0;z-index:10}.brand{display:flex;gap:12px;align-items:center;color:var(--ink);font-size:24px;font-weight:750;letter-spacing:2px;padding:0 7px}.brand img{width:42px;height:42px}.brand span{display:block;font-size:8px;letter-spacing:1.6px;color:var(--muted);margin-top:5px}.workspace-label{font-size:11px;color:#a0adae;margin:47px 14px 15px;letter-spacing:1px}nav button{display:flex;align-items:center;gap:13px;padding:14px 17px;width:100%;text-align:left;border-radius:10px;margin-bottom:6px;color:#708183;font-size:13px}nav button:hover{background:#f5f8f7}nav button.active{background:var(--light);color:var(--green);font-weight:650}nav button.active::after{content:'';width:5px;height:5px;border-radius:50%;background:var(--green);margin-left:auto}.nav-divider{height:1px;background:var(--line);margin:23px 14px}.nav-dot{width:5px;height:5px;background:#98b8ad;border-radius:50%;margin-left:auto}.sidebar-bottom{margin-top:auto}.semester-note{background:#f7faf9;border:1px solid #edf2ef;border-radius:12px;padding:17px 14px;margin:25px 0}.tiny-label{font-size:9px;letter-spacing:1.5px;color:#91a5a0}.semester-note strong{display:block;font-size:12px;line-height:1.7;margin:9px 0}.progress{height:4px;background:#e4eeea;border-radius:8px;overflow:hidden;margin:12px 0}.progress span{height:100%;display:block;background:#68a899}.semester-note small{font-size:10px}.profile{border-top:1px solid var(--line);padding:23px 0;display:flex;gap:10px;align-items:center}.avatar{width:34px;height:34px;background:#ece9df;color:#756744;border-radius:50%;display:grid;place-items:center;font-size:14px}.profile strong{font-size:12px}.profile small{display:block;font-size:10px;margin-top:4px}.profile-status{width:6px;height:6px;background:#83b69e;border-radius:50%;margin-left:auto}main{margin-left:218px}.topbar{height:76px;padding:0 35px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.breadcrumb{display:flex;gap:15px;font-size:12px;color:#99a5a7}.breadcrumb strong{color:#607677;font-weight:500}.breadcrumb span{color:#c3cdce}.topbar-end{display:flex;gap:24px;align-items:center}.date-label{font-size:12px;color:#819092}.icon-button{display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--line);border-radius:8px;background:white;font-size:22px}.icon-button:hover{background:var(--light)}.icon-button svg{width:16px;height:16px}.content{max-width:1660px;margin:0 auto;padding:32px 35px 40px}.page-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:26px}.eyebrow{color:#7c9e96;font-size:10px;font-weight:600;letter-spacing:2px;margin-bottom:9px}h1{font-size:27px;letter-spacing:1px;font-weight:650}.subtitle{font-size:12px;color:var(--muted);margin-top:10px;line-height:1.8}.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 15px;min-height:38px;border:1px solid #dde6e4;border-radius:8px;background:#fff;font-size:12px;white-space:nowrap;font-weight:550}.button:hover{background:#f0f7f4;border-color:#bfd4ca}.button svg{width:16px;height:16px}.button.primary{background:var(--green);border-color:var(--green);color:white;box-shadow:0 4px 8px #147d7012}.button.primary:hover{background:#0e6b60}.button.danger{color:#b85555}.button.subtle{background:transparent;border-color:transparent;color:var(--green)}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:26px}.stat{background:#fff;border:1px solid var(--line);border-radius:12px;padding:19px 22px;display:flex;align-items:center;gap:16px}.stat-icon{background:#edf6f2;color:#5a9c89;display:grid;place-items:center;width:42px;height:42px;border-radius:12px}.stat:nth-child(2) .stat-icon{background:#f0edfb;color:#a38cc4}.stat:nth-child(3) .stat-icon{background:#fff6e7;color:#cda569}.stat-label{font-size:11px;color:#8a9797;margin-bottom:7px}.stat-number{font-size:25px;font-weight:600;line-height:1}.stat-number small{font-size:11px;font-weight:400;margin-left:6px}.stat-tail{margin-left:auto;font-size:10px;color:#91a29c;text-align:right;line-height:1.9}.dashboard{display:grid;grid-template-columns:minmax(0,1fr) 257px;gap:22px;align-items:start}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.panel-head{display:flex;align-items:center;justify-content:space-between;padding:21px 22px;gap:12px}.panel-head h2{font-size:15px;font-weight:600}.week-label{display:flex;align-items:center;gap:9px}.badge{display:inline-flex;align-items:center;padding:4px 8px;border-radius:5px;background:var(--light);color:#398774;font-size:10px;font-weight:500}.badge.amber{background:#fff4e0;color:#af823f}.badge.purple{background:#f1edfb;color:#9476b5}.week-controls{display:flex;gap:7px;align-items:center}.week-controls select{border:0;background:transparent;font-size:12px;color:#6e8280;max-width:175px}.week-controls .button{padding:5px 10px;min-height:30px}.legend{display:flex;gap:18px;font-size:10px;color:#8f9d9c;padding:0 22px 18px}.legend span{display:flex;align-items:center;gap:6px}.dot{display:inline-block;width:7px;height:7px;border-radius:3px;background:#acd9c5}.dot.purple{background:#cfc1e8}.dot.blue{background:#bbd4ed}.dot.gold{background:#efd7a7}.table-scroll{overflow-x:auto}.timetable{display:grid;grid-template-columns:50px repeat(7,minmax(83px,1fr));min-width:650px;position:relative}.day-head{height:67px;text-align:center;padding:11px 2px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);color:#a3aead;font-size:10px;background:#fbfcfc}.day-head b{display:block;color:#5c7272;font-size:16px;margin-top:6px;font-weight:500}.day-head.today{background:#eff8f3;color:var(--green)}.day-head.today b{display:grid;place-items:center;background:var(--green);color:#fff;border-radius:50%;width:25px;height:25px;margin:3px auto 0;font-size:13px}.day-head.holiday b{color:#c39168}.day-head small{font-size:8px;display:block;margin-top:3px}.time-head{font-size:11px;padding-top:24px}.grid-slot{border-right:1px solid #eff3f2;border-bottom:1px solid #eff3f2;min-height:56px}.period{display:flex;align-items:center;flex-direction:column;justify-content:center;min-height:56px;border-bottom:1px solid #eff3f2;color:#8fa29e;background:#fff;font-size:11px}.period small{font-size:8px;margin-top:5px;color:#adbbb8}.course-wrap{z-index:2;display:flex;gap:2px;padding:4px;min-width:0;pointer-events:none}.course{pointer-events:auto;border-radius:7px;padding:8px 7px;text-align:left;flex:1;min-width:0;overflow:hidden;border-left:3px solid var(--accent);background:var(--tint);color:var(--text);display:flex;flex-direction:column;justify-content:space-between;gap:5px;transition:filter .15s}.course:hover{filter:brightness(.96)}.course h3{font-size:11px;line-height:1.55;font-weight:600;overflow-wrap:anywhere}.course p{font-size:9px;line-height:1.5;opacity:.75;overflow-wrap:anywhere}.course small{font-size:8px;color:inherit;opacity:.65}.course-wrap:has(.course:nth-child(2)) .course{padding:5px 3px}.color-0{--tint:#e8f4ee;--accent:#8bc3a9;--text:#477761}.color-1{--tint:#eeebf8;--accent:#b09ad5;--text:#766190}.color-2{--tint:#eaf2fa;--accent:#9cbedf;--text:#5f7e9e}.color-3{--tint:#fcf3e3;--accent:#dfc18a;--text:#a0824d}.color-4{--tint:#faeceb;--accent:#dea8a2;--text:#aa736e}.color-5{--tint:#e7f3f2;--accent:#88bfb8;--text:#548982}.table-footer{padding:15px 21px;font-size:10px;color:#a3afae;display:flex;align-items:center;justify-content:space-between;gap:12px}.table-footer a{color:#859b95}.right-column{display:flex;flex-direction:column;gap:19px}.mini-calendar{padding:19px}.mini-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;font-size:13px}.mini-heading span{font-size:10px;color:#a6b3af}.mini-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:6px 2px;text-align:center;font-size:10px}.mini-grid .dow{color:#a7b3af;margin-bottom:6px}.mini-day{border-radius:7px;min-height:25px;color:#758980;font-size:11px}.mini-day:hover{background:#eaf4ef}.mini-day.selected{background:#edf5f0;color:#6a9c85}.mini-day.current{background:var(--green);color:white}.mini-day.blank{visibility:hidden}.mini-foot{border-top:1px solid var(--line);margin-top:15px;padding-top:13px;display:flex;gap:7px;color:#97a6a0;font-size:10px;align-items:center}.side-section{padding:20px}.section-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:19px;font-size:13px;font-weight:600}.section-title button{font-size:11px;color:#829c91}.agenda-mini{border-left:2px solid #d8c9e6;padding-left:12px;margin:18px 0}.agenda-mini .date{font-size:9px;letter-spacing:.3px;color:#9eacaa}.agenda-mini h3{font-size:12px;margin:8px 0}.agenda-mini p{font-size:10px;color:#9aa7a4}.empty-small{font-size:11px;color:#a6b2ae;text-align:center;line-height:2;padding:15px 0}.calendar-note{padding:20px;background:#f0f7f3;border-color:#e2efe6;position:relative}.calendar-note .eyebrow{font-size:8px}.calendar-note h3{font-size:15px;margin:14px 0 10px;color:#4a7561}.calendar-note p{font-size:11px;line-height:1.9;color:#7b9587}.calendar-note button{padding:12px 0 0;color:#628570;font-size:10px}.callout{background:#f9faf5;border:1px solid #eceee0;border-radius:10px;padding:13px 16px;display:flex;gap:10px;align-items:flex-start;color:#959165;font-size:11px;line-height:1.8;margin-bottom:20px}.callout svg{width:16px;flex-shrink:0;margin-top:2px}.callout a{color:inherit;text-decoration:underline}.section-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.import-card{padding:30px}.import-icon{width:55px;height:55px;display:grid;place-items:center;border-radius:15px;background:var(--light);color:var(--green);margin-bottom:23px}.import-card h2{font-size:19px;margin-bottom:12px}.import-card p{font-size:12px;color:#8b9b96;line-height:1.9}.drop-zone{margin:23px 0 18px;border:1px dashed #bcd2c8;border-radius:12px;background:#fafcfb;text-align:center;padding:30px 15px}.drop-zone:hover{background:#eff7f2}.drop-zone svg{margin:0 auto 14px;color:#82a797;width:28px;height:28px}.drop-zone strong{display:block;font-size:12px;font-weight:500;margin-bottom:8px}.drop-zone small{font-size:10px}.file-input{max-width:100%;font-size:12px;margin-top:15px}.info-panel{padding:25px;margin-top:24px}.info-panel h3{font-size:14px;margin-bottom:14px}.parse-example{background:#f5f8f7;padding:18px;border-radius:10px;line-height:1.9;font-size:13px;color:#5b7567;margin-bottom:16px}.example-fields{display:flex;gap:35px;flex-wrap:wrap}.example-fields label{font-size:10px;color:#97a79f;display:block;margin-bottom:6px}.example-fields strong{font-size:12px;font-weight:500}.form-panel{padding:27px}.form-panel h2{font-size:16px;margin-bottom:22px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.field{display:block;font-size:11px;color:#789086}.field input,.field select,.field textarea{display:block;width:100%;margin-top:8px;border:1px solid #dce7e1;border-radius:7px;padding:10px;background:#fff;color:#3e6052;outline:none;min-width:0}.field input:focus,.field textarea:focus{border-color:#76b69c;box-shadow:0 0 0 3px #147d7010}.field textarea{resize:vertical;line-height:1.8}.field.wide{grid-column:1/-1}.field small{display:block;margin-top:8px;line-height:1.6;font-size:10px}.form-section{margin-top:28px;border-top:1px solid var(--line);padding-top:24px}.form-section h3{font-size:13px;margin-bottom:17px}.times-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.time-row{display:flex;align-items:center;gap:8px;font-size:11px;color:#8ba093}.time-row label{width:43px;flex-shrink:0}.time-row input{min-width:0;width:95px;border:1px solid #e1e8e3;border-radius:5px;padding:7px;font-size:11px;color:#6d8575}.form-footer{display:flex;justify-content:flex-end;margin-top:24px;gap:10px}.connection-hero{padding:38px;display:flex;gap:25px;align-items:center}.connection-hero .import-icon{margin:0;width:75px;height:75px;flex-shrink:0}.connection-hero h2{font-size:23px;margin:10px 0}.connection-hero p{font-size:12px;color:#8d9e94;line-height:1.9}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:24px 0}.step{padding:25px}.step .number{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--light);color:#639580;font-size:11px;margin-bottom:17px}.step h3{font-size:14px;margin-bottom:12px}.step p{font-size:11px;line-height:1.9;color:#8a9a90}.agenda-tools{display:flex;gap:12px;margin-bottom:20px;align-items:center;flex-wrap:wrap}.agenda-tools input{border:1px solid #dce6df;border-radius:8px;padding:10px 14px;color:#627e6d;flex:1;min-width:150px;background:#fff}.segmented{display:flex;gap:3px;padding:4px;background:#eaf0ed;border-radius:8px}.segmented button{font-size:11px;padding:7px 12px;color:#8a9e91;border-radius:5px}.segmented .active{background:white;color:#498769;box-shadow:0 1px 4px #25482e0a}.agenda-date{font-size:12px;color:#819888;margin:23px 0 12px}.event-row{display:flex;align-items:center;gap:20px;padding:21px 24px;border-bottom:1px solid var(--line);cursor:pointer;background:#fff}.event-row:last-child{border:0}.event-row:hover{background:#fbfdfc}.event-clock{min-width:80px;font-size:16px;color:#719582}.event-clock small{display:block;font-size:10px;margin-top:6px}.event-text{flex:1}.event-text h3{font-size:13px;margin-bottom:7px}.event-text p{font-size:11px;color:#94a69a}.event-row .dot{width:4px;height:35px;flex-shrink:0}.event-row .row-arrow{color:#bdcbc1}.empty{padding:55px 20px;text-align:center;color:#9aaba0;font-size:12px;line-height:2}.empty svg{margin:0 auto 20px;color:#b8cfc1;width:34px;height:34px}.empty h3{font-weight:500;font-size:16px;color:#7e9685;margin-bottom:9px}.empty .button{margin-top:17px}.loading{padding:100px;text-align:center;color:#8a9e90}.preview-table{width:100%;border-collapse:collapse;font-size:11px;white-space:normal}.preview-table th{text-align:left;color:#8a9e91;background:#f5f8f6;font-weight:500;white-space:nowrap}.preview-table td,.preview-table th{padding:12px 10px;border-bottom:1px solid var(--line);line-height:1.7;vertical-align:top}.preview-table td small{display:block;font-size:10px}.preview-summary{display:flex;gap:15px;margin-bottom:18px;flex-wrap:wrap}.preview-summary strong{font-size:23px;font-weight:600}.preview-summary span{font-size:11px;color:#859c8c;margin-left:6px}.table-container{overflow:auto;max-height:52vh;border:1px solid var(--line);border-radius:9px}.modal-note{font-size:11px;color:#8ea093;line-height:1.9;margin-bottom:16px}.error-box{background:#fbeeed;border:1px solid #ecd5d0;border-radius:8px;color:#b46e65;padding:13px;font-size:12px;line-height:1.8;margin:15px 0}.detail-title{font-size:23px;line-height:1.5;margin:8px 0 22px}.detail-item{display:flex;gap:12px;color:#78937f;margin:16px 0;font-size:12px;line-height:1.8}.detail-item svg{width:16px;flex-shrink:0;margin-top:2px}dialog{border:0;border-radius:18px;padding:0;width:min(800px,calc(100vw - 32px));max-height:90vh;box-shadow:0 20px 100px #193d3833;color:var(--ink)}dialog::backdrop{background:#173c3545;backdrop-filter:blur(3px)}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:23px 27px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fff;z-index:4}.modal-head h2{font-size:17px;font-weight:600}#dialog-content{padding:25px 27px}#toast{position:fixed;bottom:28px;left:calc(50% + 80px);transform:translate(-50%,20px);background:#274a3e;color:#fff;padding:13px 23px;border-radius:10px;font-size:12px;box-shadow:0 5px 30px #1e42372a;opacity:0;pointer-events:none;transition:.2s;z-index:100;max-width:85vw;line-height:1.7}#toast.show{opacity:1;transform:translate(-50%,0)}.pill{border:1px solid #d7e8dc;border-radius:20px;padding:6px 10px;font-size:10px;color:#719f80;display:inline-block}.mobile-hint{display:none}.login{max-width:550px;margin:80px auto;text-align:center;padding:45px}.login img{width:65px;height:65px;margin-bottom:22px}.login h1{font-size:23px;margin-bottom:16px}.login p{color:#84998a;font-size:13px;line-height:1.9;margin-bottom:24px}
@media(min-width:1500px){.content{padding:38px 45px}.dashboard{grid-template-columns:minmax(0,1fr) 280px}.grid-slot,.period{min-height:62px}.course h3{font-size:12px}.course p{font-size:10px}.course{padding:10px}}
@media(max-width:1200px){.sidebar{width:185px;padding:30px 14px 0}main{margin-left:185px}.content{padding:27px 24px}.dashboard{grid-template-columns:minmax(0,1fr) 220px;gap:17px}.stat{padding:16px;gap:12px}.stat-tail{display:none}.stat-icon{width:35px;height:35px}.topbar{padding:0 24px}.panel-head{padding:17px}.course{padding:6px 4px}.week-label{gap:6px}.times-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:1050px){.dashboard{grid-template-columns:minmax(0,1fr)}.right-column{display:grid;grid-template-columns:1fr 1fr}.mini-calendar{display:none}.page-heading{align-items:flex-start}.page-heading .actions{justify-content:flex-end}.connection-hero{padding:25px}.times-grid{grid-template-columns:repeat(2,1fr)}.section-grid{gap:16px}.import-card{padding:24px}}
@media(max-width:760px){.sidebar{position:fixed;inset:auto 0 0;width:auto;height:67px;padding:0;border:0;border-top:1px solid var(--line);display:block}.brand,.workspace-label,.sidebar-bottom,.nav-divider,.nav-dot{display:none}nav{display:flex;justify-content:space-around;height:100%;padding:4px 3px}nav button{width:auto;flex:1;flex-direction:column;gap:5px;padding:8px 3px;margin:0;font-size:9px;border-radius:8px}nav svg{width:19px;height:19px}nav button.active::after{display:none}main{margin:0 0 67px}.topbar{height:56px;padding:0 18px}.topbar .date-label{font-size:10px}.topbar-end{gap:9px}.breadcrumb{font-size:10px;gap:9px}.content{padding:23px 16px 30px}.page-heading{flex-direction:column;gap:17px;margin-bottom:22px}h1{font-size:25px}.eyebrow{font-size:9px}.subtitle{font-size:11px}.page-heading .actions{justify-content:flex-start}.button{font-size:11px;padding:9px 12px}.stats{gap:8px;margin-bottom:20px}.stat{padding:14px 10px;gap:8px;align-items:flex-start;flex-direction:column}.stat-icon{width:27px;height:27px;border-radius:8px}.stat-icon svg{width:16px;height:16px}.stat-label{font-size:9px}.stat-number{font-size:22px}.stat-number small{font-size:9px;margin-left:4px}.panel{border-radius:12px}.panel-head{align-items:flex-start;padding:16px 13px}.panel-head h2{font-size:14px}.week-label{flex-wrap:wrap;max-width:140px}.week-controls{gap:4px}.week-controls select{max-width:83px;font-size:10px}.week-controls .button{font-size:10px;min-height:28px;padding:5px 6px}.icon-button{width:28px;height:28px}.legend{padding:0 13px 14px;gap:12px;font-size:9px}.table-footer{padding:13px;font-size:9px}.right-column{grid-template-columns:1fr}.calendar-note{display:none}.side-section{padding:20px}.section-grid{grid-template-columns:1fr}.times-grid{grid-template-columns:1fr 1fr}.time-row{gap:4px}.time-row label{width:31px;font-size:10px}.time-row input{width:80px;padding:5px;font-size:10px}.form-panel{padding:20px}.form-grid{gap:16px 12px}.field{font-size:11px}.field input{padding:9px 7px}.steps{grid-template-columns:1fr;gap:12px}.step{padding:20px}.connection-hero{padding:25px;flex-direction:column;align-items:flex-start}.connection-hero h2{font-size:20px}.event-row{padding:18px 14px;gap:12px}.event-clock{min-width:63px;font-size:14px}.event-text h3{font-size:12px}.event-text p{font-size:10px}.event-row .badge{font-size:9px}.agenda-tools{gap:10px}.segmented{width:100%}.segmented button{flex:1}.modal-head{padding:19px}.modal-head h2{font-size:16px}#dialog-content{padding:20px}#toast{left:50%;bottom:85px}.preview-table{min-width:580px}.mobile-hint{display:block;color:#96aaa0;font-size:9px;margin:0 13px 10px}.login{margin:30px auto;padding:28px}.callout{font-size:10px}.date-label{display:none}.example-fields{gap:20px}.info-panel{padding:20px}.table-footer{align-items:flex-start}.detail-title{font-size:20px}}
@media(max-width:760px){.form-grid{grid-template-columns:1fr}.times-grid{grid-template-columns:1fr}.time-row{gap:10px}.time-row label{width:48px;font-size:11px}.time-row input{flex:1;width:auto;font-size:12px;padding:8px}.course h3{font-size:11px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
