:root{font-family:Inter,"PingFang SC","Microsoft YaHei",system-ui,sans-serif;color:#29342c;background:#f7f8f5;--green:#456349;--line:#e2e6df;--muted:#8b9588}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,summary{cursor:pointer}button{border:0;background:none;color:inherit}a{color:var(--green);text-decoration:none}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid #9eb48d;outline-offset:3px}input:focus,textarea:focus,select:focus{outline:2px solid #b2c6a5;outline-offset:1px}[hidden]{display:none!important}.workspace{max-width:1320px;margin:0 auto;padding:66px 52px 24px}.page-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px;gap:24px}.class-name{font-size:27px;letter-spacing:.5px;font-weight:600;padding:0;text-align:left;overflow-wrap:anywhere}.class-name span{color:#a0ac98;font-size:17px;margin-left:8px}.header-stats{font-size:13px;color:#8a9584;display:flex;align-items:center;gap:15px;margin:12px 0 0;flex-wrap:wrap}.header-stats strong{font-weight:600;color:#526d46;font-variant-numeric:tabular-nums}.header-stats i{height:11px;width:1px;background:#dce3d5}.add-button{width:48px;height:48px;flex-shrink:0;border-radius:10px;background:var(--green);color:white;font-size:32px;line-height:1;box-shadow:0 3px 10px #31482d13}.add-button:hover{background:#344d36}.table-wrap{background:#fff;border:1px solid var(--line);border-radius:9px;overflow:hidden;min-height:340px}.notice-table{width:100%;border-spacing:0;table-layout:fixed;text-align:left}.col-title{width:calc(10em + 72px)}.col-deadline{width:185px}.col-source{width:115px}.notice-table th{font-size:12px;color:#929c8b;background:#f1f4ed;font-weight:500;height:45px;padding:0 24px;border-bottom:1px solid var(--line)}.notice-table td{padding:21px 24px;border-bottom:1px solid #e9ede5;font-size:14px;vertical-align:middle;overflow-wrap:anywhere}.notice-table th+th,.notice-table td+td{border-left:1px solid #e9ede5}.notice-table tbody tr:last-child td{border-bottom:0}.notice-table tbody tr:hover{background:#fafbf8}.title-cell{display:flex;align-items:center;gap:12px}.complete-toggle{width:19px;height:19px;border:1.5px solid #bdc9b5;border-radius:50%;padding:0;flex-shrink:0;display:grid;place-items:center;font-size:11px;color:white}.complete-toggle:hover{border-color:#6a8955}.complete-toggle[aria-checked=true]{background:#a6b29d;border-color:#a6b29d}.row-title{font-weight:500;text-align:left;padding:0;line-height:1.7}.row-title:hover{color:#5f7d4e}.deadline{font-size:13px;line-height:1.6;color:#6e7c64;display:flex;gap:6px;flex-wrap:wrap;font-variant-numeric:tabular-nums}.deadline .date{white-space:nowrap}.deadline .time{white-space:nowrap}.deadline.soon{color:#b2853f}.deadline.overdue{color:#ba7568}.source-label{font-size:12px;color:#7b8b70;white-space:nowrap}.source-label.qq{color:#7994a5}.asset-list{display:flex;align-items:center;flex-wrap:wrap;gap:7px}.asset-button{border:1px solid #e0e6d9;border-radius:5px;background:#f7faf3;color:#6b8358;padding:6px 10px;font-size:11px;white-space:nowrap}.asset-button:hover{background:#edf3e6}.completed,.notice-table tbody tr.completed:hover{background:#f4f6f1}.completed .row-title{text-decoration:line-through;color:#a0a89a}.completed .deadline,.completed .source-label,.completed .asset-button{color:#a0a89a}.completed .asset-button{background:#f0f3ed;border-color:#e1e6db}.empty-state{text-align:center;padding:80px 20px}.empty-mark{display:grid;place-items:center;width:40px;height:40px;background:#eaf0e2;border:1px solid #dae4cf;color:#8aa274;border-radius:50%;margin:0 auto 18px;font-size:18px}.empty-state h1{font-size:16px;font-weight:500;color:#819273;margin:0 0 10px}.empty-state p{font-size:12px;color:#a0ac94;margin:0;line-height:1.8}.connection-error{font-size:13px;color:#a66f5e;line-height:1.8;padding:30px;overflow-wrap:anywhere}footer{display:flex;align-items:center;justify-content:space-between;gap:15px;color:#a4ad9c;font-size:10px;margin-top:23px}footer>div{display:flex;gap:19px}footer button{padding:4px 0;font-size:11px;color:#95a088}#api-dot{display:inline-block;width:5px;height:5px;background:#c5b67d;border-radius:50%;margin:0 0 2px 6px}#api-dot.ready{background:#91a77c}.button{min-height:40px;padding:10px 17px;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;font-size:13px;gap:7px}.primary{background:var(--green);color:white}.primary:hover{background:#354f38}.secondary{border:1px solid #dde5d5;background:#fff;color:#7c8c70}button:disabled{opacity:.6;cursor:wait}dialog{border:1px solid #dee5d6;border-radius:12px;padding:28px;max-width:650px;width:calc(100% - 32px);max-height:90vh;color:#35432e;box-shadow:0 24px 80px #20321922}dialog::backdrop{background:#23321e66;backdrop-filter:blur(3px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:25px}.dialog-head h2{font-size:19px;font-weight:600;margin:0}.close-button{font-size:24px;width:30px;height:30px;line-height:1;background:#f1f4ec;border-radius:50%;color:#8f9c82;flex-shrink:0}.eyebrow{font-size:10px;color:#99a58b;margin:0 0 8px;letter-spacing:1px}.field-label{display:block;font-size:12px;color:#7b8d6c;margin-bottom:10px}textarea,.text-input,select{background:#fafcf7;border:1px solid #dfe6d7;border-radius:6px;padding:11px;color:#526646;font-size:13px;width:100%}textarea{height:185px;resize:vertical;line-height:1.9;min-height:100px}input::placeholder,textarea::placeholder{color:#aab49f}.input-meta{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#a9b29d;margin:8px 0 14px}.input-meta button{padding:0;color:#889e75;font-size:11px}.source-field{border:0;padding:0;display:flex;gap:24px;margin:20px 0}.source-field legend{font-size:12px;color:#7b8d6c;margin-bottom:12px}.source-field label{display:flex;align-items:center;gap:8px;font-size:13px}.source-field input{accent-color:var(--green);width:16px;height:16px}.reference-options{font-size:11px;color:#9ca88e;margin-bottom:15px}.reference-options summary{margin-bottom:8px}.reference-options input{border:1px solid var(--line);border-radius:5px;padding:6px;color:#718361;background:#fafcf7;font-size:12px}.reference-options p,.privacy-note{font-size:10px;color:#a2ad96;line-height:1.7}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px;padding-top:20px;border-top:1px solid #e7ecdf}.attachment-previews{display:flex;gap:9px;flex-wrap:wrap}.attachment-preview{position:relative}.attachment-preview img{height:55px;width:55px;object-fit:contain;border:1px solid var(--line);border-radius:5px}.attachment-preview button{position:absolute;right:-5px;top:-5px;width:18px;height:18px;background:#6f825f;border-radius:50%;color:white;padding:0;font-size:13px}.form-message{font-size:12px;line-height:1.8;color:#ae7767;margin:14px 0 0;overflow-wrap:anywhere}.form-message:empty{display:none}.analyzing-panel{text-align:center;padding:50px 15px 65px}.analyzing-panel h3{font-size:16px;font-weight:500;margin-top:24px}.analyzing-panel p{font-size:12px;color:#97a38a}.spinner{display:inline-block;width:32px;height:32px;border:2px solid #e3eadb;border-top-color:#718c5f;border-radius:50%;animation:spin 1s linear infinite}.muted{font-size:11px;line-height:1.8;color:#9ca78f}.review-intro{font-size:12px;color:#8c9b7e;line-height:1.8;margin:0 0 18px}.review-item{border:1px solid #e0e7d7;background:#fafcf7;border-radius:8px;padding:18px;margin-bottom:15px}.review-item-head{display:flex;align-items:center;gap:8px;font-size:12px;color:#829671;margin-bottom:16px}.review-item-head input{accent-color:var(--green)}.review-grid,.detail-form-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:15px}.review-grid label,.detail-form-grid label{font-size:11px;color:#869877;display:block}.review-grid input,.review-grid select,.detail-form-grid input{margin-top:7px;background:white}.date-time-row{display:flex;gap:5px}.date-time-row input{width:58%;min-width:0;padding:10px 6px}.date-time-row input[type=time]{width:42%}.review-summary{margin-top:15px;display:block;font-size:11px;color:#869877}.review-summary textarea{margin-top:7px;height:75px;min-height:60px;background:white;font-size:12px}.review-assets{margin-top:13px}.original-details{font-size:12px;color:#90a07e;margin-top:20px}.original-text{white-space:pre-wrap;overflow-wrap:anywhere;background:#f6f9f1;border:1px solid #e2e9da;padding:15px;border-radius:6px;max-height:240px;overflow:auto;line-height:1.9;font-size:12px;color:#7a8a6b;margin-top:12px}.setting-row{display:flex;gap:10px}.setting-row input{min-width:0}#settings-form{border-top:1px solid #e5ebdd;margin-top:25px;padding-top:12px}#settings-form h3{font-size:14px;font-weight:500}.danger{color:#b78270;font-size:12px;margin-right:auto}.detail-section-title{font-size:12px;color:#839671;font-weight:500;margin-top:23px}.zoom-image{background:#f5f8ef;border-radius:7px;padding:15px;margin-bottom:20px;text-align:center}.zoom-image img{max-width:100%;max-height:60vh;object-fit:contain}#image-dialog{text-align:center}#image-dialog .dialog-head{text-align:left}.toast{position:fixed;left:50%;bottom:26px;transform:translateX(-50%);max-width:90vw;width:max-content;padding:13px 22px;color:#fff;background:#3c583c;border-radius:7px;font-size:12px;box-shadow:0 8px 25px #20301820;z-index:100}@keyframes spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){*{animation:none!important}}
/* Account screens and row actions. */
.auth-screen{min-height:100dvh;display:grid;place-items:center;padding:24px}.auth-card{width:100%;max-width:420px;background:white;border:1px solid var(--line);border-radius:16px;padding:32px;box-shadow:0 12px 40px #29342c08}.auth-card h1{font-size:27px;margin:8px 0 16px}.auth-card .text-input{width:100%}.auth-card .field-label{margin-top:20px}.auth-submit{width:100%;margin-top:15px}.auth-switch{display:block;margin:18px auto 0;color:var(--green);font-size:13px}.auth-card .muted{line-height:1.7}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.col-title{width:25%}.col-deadline{width:16%}.col-source{width:12%}.col-delete{width:48px}.col-assets{width:auto}.title-cell{gap:8px}.row-title{flex:1;min-width:0}.star-toggle{flex-shrink:0;color:#a5ad9f;font-size:23px;padding:3px;line-height:1}.star-toggle.active{color:#d9a514}.star-toggle:hover{color:#d9a514}.source-label{white-space:normal;overflow-wrap:anywhere}.asset-list{display:flex;flex-wrap:nowrap;align-items:flex-start;gap:8px;min-width:0}.image-list{display:flex;flex-direction:column;gap:6px;flex-shrink:0}.image-list:empty{display:none}.link-list{flex:1;min-width:0;display:flex;flex-direction:column;gap:8px}.link-list:empty{display:none}.link-row{display:flex;align-items:flex-start;gap:7px;min-width:0}.copy-link{flex-shrink:0}.full-link{font-size:11px;line-height:1.7;overflow-wrap:anywhere;word-break:break-word;min-width:0;padding-top:4px;text-decoration:underline;text-underline-offset:3px}.notice-table td.delete-cell,.notice-table th:last-child{padding:8px;text-align:center}.delete-notice{padding:7px;color:#aa7869;display:inline-grid;place-items:center;border-radius:5px;flex-shrink:0}.delete-notice:hover{background:#fff0eb;color:#a8462b}.delete-notice:disabled{opacity:.5}footer{justify-content:flex-end}#password-form{border-top:1px solid var(--line);padding-top:18px;margin-top:24px}#password-form h3{font-size:15px;font-weight:500}#password-form .field-label{margin-top:16px}#password-form input{width:100%}.student-note{border-top:1px solid var(--line);padding-top:20px;margin:24px 0 0;color:#839079;font-size:12px;line-height:1.8}.source-field{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.source-field select{flex:1;min-width:110px;max-width:260px}#source-editor{padding:14px;background:#f5f8f1;border-radius:8px;margin:12px 0}.source-edit-row{display:flex;gap:8px;margin-bottom:8px}.source-edit-row input{flex:1;min-width:0}.source-actions{display:flex;justify-content:space-between;gap:8px;margin-top:12px}
