@charset "UTF-8";
:root{--bg:#faf8f5;--surface:#fff;--text:#3a3835;--soft:#6b6763;--gold:#c47d00;--gold-ink:#885700;--gold-bg:#fdf3e0;--blue:#3d7899;--blue-bg:#edf4f8;--line:#e9e5df;--red:#a44338;--green:#477451;--shadow:0 6px 28px #463b2610}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:"Microsoft YaHei UI","PingFang SC","Microsoft YaHei",system-ui,sans-serif;font-size:14px;line-height:1.6}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer;border:1px solid var(--line);background:var(--surface);border-radius:10px;padding:9px 14px;min-height:42px;transition:background .18s,border-color .18s,box-shadow .18s}button:hover{background:#f4f1ec;border-color:#cdc3b5}button:disabled{cursor:not-allowed;opacity:.5}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--blue);outline-offset:3px}input,select,textarea{border:1px solid #dcd6cd;border-radius:10px;background:var(--surface);padding:10px 12px;min-height:44px;min-width:0;max-width:100%}input:focus,textarea:focus{border-color:var(--blue)}input::placeholder,textarea::placeholder{color:#827b72}textarea{resize:vertical}h1,h2,h3,p{margin:0}h2{font-size:19px;letter-spacing:-.4px}h3{font-size:17px}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.skip{position:fixed;top:-80px;left:20px;z-index:100;background:white;padding:12px}.skip:focus{top:10px}.sidebar{width:244px;background:#f5f2ec;border-right:1px solid var(--line);position:fixed;inset:0 auto 0 0;padding:34px 20px 24px;display:flex;flex-direction:column;overflow-y:auto}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-weight:700;font-size:21px;letter-spacing:1px;padding:0 10px}.brand-mark{width:40px;height:43px;background:var(--gold);color:#fff;display:grid;place-items:center;border-radius:12px;font-size:25px;font-weight:400;box-shadow:0 5px 12px #c47d0022}.brand small{display:block;font-size:10px;font-weight:400;color:var(--soft);letter-spacing:1px;margin-top:1px}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:600;color:var(--gold-ink)}.semester{margin:32px 8px 24px;padding-bottom:23px;border-bottom:1px solid #e3ddd2;display:grid;gap:6px}.semester strong{font-size:13px;font-weight:500}.semester>span:last-child{font-size:10px;color:var(--soft)}.scopes,.categories{display:grid;gap:5px}.scopes button,.categories button{display:flex;align-items:center;justify-content:space-between;gap:8px;background:transparent;border:1px solid transparent;min-height:44px;padding:10px 13px;text-align:left}.scopes button:hover,.categories button:hover{background:#ece7df}.scopes button[aria-current=true]{color:var(--gold-ink);background:#f1e6d0;font-weight:600}.nav-name{display:flex;align-items:center;gap:11px;min-width:0}.nav-symbol{font-size:17px;width:18px;text-align:center;font-weight:400}.nav-count{font-size:11px;font-variant-numeric:tabular-nums;color:var(--soft)}.sidebar-heading{font-size:11px;color:var(--soft);margin:28px 13px 11px;display:flex;justify-content:space-between}.categories button{min-height:38px;font-size:11px;padding:8px 11px;border-radius:8px}.categories button[aria-current=true]{background:#e5edf1;color:#285875}.category-dot{width:6px;height:6px;flex:0 0 6px;border-radius:50%;background:var(--blue)}.categories .nav-name{gap:9px;overflow-wrap:anywhere}.sidebar-foot{margin:30px 11px 0;padding-top:20px;border-top:1px solid #e3ddd2;font-size:10px;color:var(--soft)}.local-dot{display:inline-block;width:6px;height:6px;background:var(--green);border-radius:50%;margin-right:4px}.sidebar-foot p{font-size:11px;line-height:1.9;margin-top:15px;color:#79736a}main{margin-left:244px;padding:28px 48px 20px;max-width:1800px}.topline{display:flex;justify-content:space-between;gap:16px;color:var(--soft);font-size:11px;letter-spacing:.5px}.hero{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:42px 0 30px}.hero h1{font-size:38px;line-height:1.45;letter-spacing:1px;font-weight:600;margin:10px 0}.hero p{font-size:13px;color:var(--soft)}.mobile-break{display:none}.primary{background:var(--gold);border-color:var(--gold);color:#fff;font-weight:600}.primary:hover{background:#a96b00;border-color:#a96b00}.add-main{padding:12px 21px;white-space:nowrap;box-shadow:0 5px 14px #c47d001c}.add-main span{font-size:20px;margin-right:5px;font-weight:400}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}.stat{padding:20px 23px 17px;border-radius:16px;text-align:left;box-shadow:0 3px 16px #463b2605;position:relative;overflow:hidden}.stat-label{color:var(--soft);font-size:12px;display:flex;justify-content:space-between}.stat strong{font:500 34px/1.4 Georgia,"Times New Roman",serif;display:block;margin-top:5px;letter-spacing:1px}.stat small{display:block;color:var(--soft);font-size:10px;margin-top:4px}.stat.overdue strong{color:var(--red)}.stat.upcoming strong{color:var(--blue)}.stat.undated strong{color:var(--gold-ink)}.stat.completed strong{color:var(--green)}.stat-symbol{font-size:16px;color:var(--soft)}.source-notice{display:flex;gap:13px;border:1px solid #eaddc4;background:#fcf6ea;padding:16px 20px;border-radius:12px;margin-bottom:30px}.notice-mark{border:1px solid #a77d31;border-radius:50%;width:18px;height:18px;line-height:17px;text-align:center;font-family:Georgia,serif;flex:0 0 18px;color:var(--gold-ink);margin-top:2px}.source-notice strong{font-weight:600;font-size:12px;color:#7f591a}.source-notice p{font-size:11px;line-height:1.85;color:#7a6a51;margin-top:3px}.workspace{border:1px solid var(--line);border-radius:20px;background:var(--surface);overflow:hidden;box-shadow:var(--shadow)}.workspace-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:24px 26px 18px}.workspace-heading p{color:var(--soft);font-size:11px;margin-top:4px}.segmented{display:flex;padding:4px;background:#f4f2ee;border-radius:10px;flex-shrink:0}.segmented button{border:0;min-height:32px;background:transparent;padding:5px 16px;font-size:12px;border-radius:7px}.segmented button[aria-pressed=true]{background:white;color:var(--gold-ink);box-shadow:0 2px 7px #3a383512}.toolbar{display:flex;gap:10px;padding:0 26px 18px;flex-wrap:wrap}.search-label{display:flex;align-items:center;flex:1;min-width:180px;position:relative}.search-label>span[aria-hidden]{position:absolute;left:12px;font-size:24px;color:#777064;line-height:1}.search-label input{width:100%;padding-left:36px;background:#fbfaf8}.toolbar input,.toolbar select{font-size:12px;min-height:40px}.toolbar button{font-size:11px;min-height:40px}.text-button{border-color:transparent;background:transparent;color:var(--soft)}.active-filter{font-size:11px;color:var(--blue);padding:0 26px 12px;overflow-wrap:anywhere}.active-filter:empty{display:none}.task-list{padding:0 26px 10px}.task-card{display:flex;gap:14px;padding:21px 0;border-top:1px solid var(--line)}.task-card .check-task{width:24px;min-width:24px;height:24px;min-height:24px;padding:0;margin-top:3px;border-radius:8px;border-color:#cfc6b7;color:var(--green);font-size:15px}.task-card .check-task:hover{background:#eef5ee;border-color:var(--green)}.task-content{flex:1;min-width:0}.task-top{display:flex;gap:12px;justify-content:space-between;align-items:flex-start}.task-title{font-weight:600;font-size:14px;overflow-wrap:anywhere;line-height:1.65}.task-card.is-completed .task-title{text-decoration:line-through;color:#817b72}.task-card.is-completed .check-task{background:#edf3ec;border-color:#a8bfa9}.priority{font-size:10px;padding:3px 8px;border-radius:6px;white-space:nowrap;align-self:flex-start;flex-shrink:0}.priority.p1{background:#f9e9e6;color:#963b31}.priority.p2{background:var(--gold-bg);color:var(--gold-ink)}.priority.p3{background:var(--blue-bg);color:#356b87}.priority.p4{background:#f0efec;color:#68635b}.task-meta{display:flex;align-items:center;gap:7px 13px;flex-wrap:wrap;margin:8px 0;font-size:10px;color:var(--soft)}.category-tag{color:var(--blue)}.due-label{font-variant-numeric:tabular-nums}.due-label.late{color:var(--red)}.due-label.unknown{color:var(--gold-ink)}.kind-label{background:#f3f1ec;border-radius:4px;padding:1px 6px;color:#6d665c}.task-note{font-size:12px;color:var(--soft);white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0;line-height:1.8}.task-bottom{display:flex;gap:12px;justify-content:space-between;align-items:flex-start}.task-source{min-width:0;flex:1;color:#777064;font-size:10px;overflow-wrap:anywhere}.task-source summary{cursor:pointer;min-height:28px;padding-top:4px}.task-source p{margin:5px 0;white-space:pre-wrap;line-height:1.8}.task-source .timing{color:#8a662a}.task-actions{display:flex;gap:3px;flex-shrink:0}.task-actions button{border:0;color:var(--soft);font-size:11px;padding:5px 9px;min-height:34px}.task-actions button[data-action=delete]:hover{color:var(--red);background:#fbefed}.empty{text-align:center;padding:42px 20px 48px}.empty-mark{display:grid;place-items:center;margin:0 auto 14px;width:52px;height:52px;background:#f5f1e8;border-radius:16px;color:var(--gold-ink);font:28px Georgia,serif}.empty h3{font-size:16px}.empty p{font-size:12px;color:var(--soft);margin:9px 0 19px;line-height:1.8}.calendar-heading{display:flex;align-items:center;justify-content:space-between;padding:4px 26px 10px}.calendar-heading>div{display:flex;gap:5px}.calendar-heading button{font-size:13px;min-width:36px;min-height:36px;padding:3px 10px}.calendar-help{font-size:11px;color:var(--soft);margin:0 26px 18px}.weekdays,.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));margin:0 26px}.weekdays{text-align:center;color:var(--soft);font-size:11px;padding:8px 0}.calendar-grid{border-top:1px solid var(--line);border-left:1px solid var(--line)}.day{border:0;border-radius:0;border-right:1px solid var(--line);border-bottom:1px solid var(--line);min-width:0;min-height:100px;text-align:left;padding:8px;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:5px;background:white}.day:hover{background:#faf7ef}.day.outside{background:#faf9f7;color:#8b857c}.day[aria-pressed=true]{background:#fdf3e0;box-shadow:inset 0 0 0 2px var(--gold)}.day-number{font-size:12px;width:24px;height:24px;display:grid;place-items:center;align-self:flex-start}.day.today .day-number{background:var(--blue);color:white;border-radius:50%}.day-event{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:var(--blue-bg);color:#326684;border-radius:3px;padding:2px 4px}.day-event.done{text-decoration:line-through;background:#f0f1ed;color:#697162}.day-count{font-size:10px;color:var(--soft)}.day-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:24px 26px 15px}.day-heading h3{font-size:14px}.day-heading button{font-size:11px}.bottom-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:28px}.utility-card{background:#f3f0e9;border:1px solid #eae4da;border-radius:16px;padding:24px}.utility-card:nth-child(2){background:#f0f3f3;border-color:#e1e8e9}.utility-card:nth-child(2) .eyebrow{color:var(--blue)}.utility-card h2{font-size:15px;margin:8px 0}.utility-card p{font-size:11px;color:var(--soft);line-height:1.9;max-width:500px}.utility-actions{display:flex;flex-wrap:wrap;gap:8px;margin:17px 0 10px}.utility-actions button{font-size:11px;min-height:38px;padding:7px 12px;background:#ffffffb0}.utility-card small{display:block;font-size:10px;color:var(--soft);line-height:1.8}.utility-card small+small{margin-top:4px}footer{display:flex;justify-content:space-between;font-size:10px;color:var(--soft);margin-top:30px;padding-bottom:10px;gap:12px}.banner{padding:14px 18px;border-radius:10px;margin-bottom:18px;font-size:12px;overflow-wrap:anywhere}.error{background:#faeae5;color:#8f382a;border:1px solid #e9c4b7}.message{font-size:12px;color:var(--blue);white-space:pre-line;overflow-wrap:anywhere}.message:not(:empty){background:var(--blue-bg);border:1px solid #d3e2eb;padding:12px 16px;border-radius:10px;margin-bottom:16px}dialog{width:min(620px,calc(100% - 30px));max-height:90dvh;border:1px solid var(--line);border-radius:20px;padding:0;color:var(--text);box-shadow:0 24px 100px #2d231b30;overflow-y:auto}dialog::backdrop{background:#3a38356b;backdrop-filter:blur(3px)}.dialog-header{display:flex;justify-content:space-between;align-items:center;padding:24px 28px 18px;border-bottom:1px solid var(--line)}.dialog-header h2{margin-top:5px}.dialog-header button{font-size:23px;border:0;background:transparent;min-width:42px}.form-body{padding:22px 28px}.form-body label{display:grid;gap:7px;font-size:12px;margin-bottom:16px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-row label{min-width:0}.required{color:var(--red);display:contents}.field-help{font-size:11px;color:var(--soft);margin:-7px 0 17px;line-height:1.8}.source-detail{background:#f7f4ed;border:1px solid var(--line);padding:12px 14px;border-radius:10px;font-size:11px;overflow-wrap:anywhere}.source-detail summary{cursor:pointer;color:var(--gold-ink)}.source-detail p{white-space:pre-wrap;margin-top:8px;color:var(--soft);line-height:1.8}.form-error{color:var(--red);font-size:12px;margin-top:12px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;padding:18px 28px;border-top:1px solid var(--line);background:#fcfbf9;border-radius:0 0 20px 20px}.dialog-actions button{min-width:82px}#confirm-dialog{max-width:430px;padding:24px 24px 0}#confirm-dialog p{font-size:13px;line-height:1.9;white-space:pre-wrap;margin:12px 0 22px;overflow-wrap:anywhere}#confirm-dialog .dialog-actions{margin:0 -24px;padding:16px 24px}
@media(min-width:1600px){main{padding-left:70px;padding-right:70px}.hero h1{font-size:44px}.day{min-height:120px}}
@media(max-width:1150px){.sidebar{width:214px;padding-left:12px;padding-right:12px}main{margin-left:214px;padding:26px 28px}.hero h1{font-size:32px}.stats{gap:10px}.stat{padding:17px}.bottom-grid{gap:14px}.utility-card{padding:20px}.toolbar{gap:7px}.toolbar select{max-width:140px}}
@media(max-width:850px){.sidebar{position:static;width:auto;padding:19px 24px 0;border-right:0;border-bottom:1px solid var(--line);overflow:visible}.brand{padding:0;font-size:20px}.brand small{display:none}.brand-mark{width:34px;height:36px;font-size:22px}.semester,.sidebar-heading,.sidebar-foot{display:none}.scopes{display:flex;overflow-x:auto;gap:5px;margin:17px 0 8px;padding-bottom:5px}.scopes button{white-space:nowrap;min-height:38px;font-size:12px;padding:7px 11px}.nav-symbol{display:none}.categories{display:flex;overflow-x:auto;padding:0 0 12px;gap:6px}.categories button{flex-shrink:0;white-space:nowrap;background:#ece8e0;font-size:10px;min-height:32px;padding:5px 10px}.categories .nav-count{display:none}main{margin-left:0;padding:22px 24px}.hero{margin:28px 0 25px}.hero h1{font-size:32px}.source-notice{margin-bottom:24px}.day{min-height:92px}.stats{gap:12px}.stat strong{font-size:31px}}
@media(max-width:540px){body{font-size:13px}.sidebar{padding:16px 16px 0}main{padding:19px 16px}.topline{font-size:9px}.hero{gap:12px;align-items:flex-end;margin-top:27px}.hero .eyebrow{font-size:8px;letter-spacing:1.2px}.hero h1{font-size:30px;line-height:1.45;margin:10px 0}.mobile-break{display:block}.hero p{font-size:11px;max-width:190px}.add-main{padding:9px 12px;font-size:12px;min-height:42px;margin-bottom:3px}.add-main span{font-size:17px;margin-right:1px}.stats{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:18px}.stat{padding:15px 17px;border-radius:13px}.stat strong{font-size:30px;line-height:1.3}.stat small{font-size:9px}.source-notice{padding:13px 14px;gap:9px}.source-notice p{font-size:10px}.source-notice strong{font-size:11px}.workspace{border-radius:15px}.workspace-heading{padding:19px 16px 16px}.workspace-heading h2{font-size:17px}.workspace-heading p{font-size:10px}.segmented button{padding:5px 12px;font-size:11px}.toolbar{padding:0 16px 13px;gap:8px}.search-label{flex-basis:100%}.toolbar>label:not(.search-label){flex:1}.toolbar select{width:100%;max-width:none;padding:8px;font-size:11px}.toolbar .text-button{padding:6px;font-size:10px}.active-filter{padding:0 16px 12px}.task-list{padding:0 16px 4px}.task-card{padding:18px 0;gap:10px}.task-title{font-size:12px}.task-top{gap:7px}.priority{font-size:9px;padding:3px 5px}.task-meta{font-size:9px;gap:5px 8px}.task-bottom{flex-wrap:wrap;gap:3px}.task-source{flex-basis:100%;font-size:9px}.task-actions{margin-left:auto}.task-actions button{min-height:38px}.bottom-grid{grid-template-columns:1fr;gap:14px;margin-top:20px}.utility-card{padding:20px}.calendar-heading{padding:0 16px 10px}.calendar-help{margin:0 16px 12px;font-size:10px}.weekdays,.calendar-grid{margin:0 10px}.day{padding:4px 2px;min-height:76px;gap:3px}.day-number{font-size:11px;width:22px;height:22px}.day-event{display:none}.day-count{font-size:9px;white-space:nowrap;text-align:center}.day-heading{margin:18px 16px 12px;align-items:flex-start}.day-heading h3{font-size:12px}.day-heading button{padding:6px 9px;font-size:10px}.form-body{padding:18px}.dialog-header{padding:18px}.form-row{grid-template-columns:1fr;gap:0}.dialog-actions{padding:15px 18px}.form-body input,.form-body select,.form-body textarea{font-size:16px}.form-body label{font-size:12px}footer{font-size:9px}.empty{padding:30px 10px}.empty p{font-size:11px}}
.sync-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #d7e3e8;background:var(--blue-bg);padding:11px 16px;border-radius:12px;margin-bottom:16px;font-size:12px;color:var(--blue)}.sync-bar button{font-size:11px;min-height:36px;white-space:nowrap}#qq-status{font-size:11px;padding:10px 0;color:var(--blue);line-height:1.9;overflow-wrap:anywhere}#qq-result{font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0;color:var(--gold-ink)}@media(max-width:540px){.sync-bar{padding:10px;font-size:10px}.sync-bar button{padding:6px 9px;font-size:10px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

.qq-bots{display:grid;gap:12px;margin:8px 0 14px}.qq-bot-card{border:1px solid #dfd8cb;border-radius:12px;background:#fff9;padding:14px}.qq-bot-card h3{font-size:13px}.qq-bot-status{font-size:10px!important;margin:7px 0!important}.qq-bot-card .utility-actions{margin:10px 0 5px}.qq-bot-result{font-size:11px!important;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--gold-ink)!important}
