/* Project lists and role-specific views share data, but not their workflows. */
.mobile-nav,.mobile-actionbar,.mobile-step-tabs,.mobile-step-top,.mobile-home{display:none}
.page-title{margin:8px 0 28px}.page-title h1{margin:5px 0 8px}.page-title p{color:var(--muted);font-size:13px}.page-kicker{font-size:11px;color:var(--muted)}
.project-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.project-card{display:flex;align-items:center;gap:16px;width:100%;text-align:left;padding:22px;background:#fff;border-radius:20px}.project-symbol{width:58px;height:72px;border-radius:15px;display:grid;place-items:center;flex:none;font-family:serif;font-size:28px}.project-symbol.blue{background:#eaf2fd;color:#2c6da8}.project-symbol.amber{background:#fbf3df;color:#986c2e}.project-symbol.rose{background:#f9eae6;color:#b36d5e}.project-symbol.violet{background:#efedf9;color:#8172aa}.project-info{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}.project-info strong{font-size:16px;font-weight:600}.project-info>span,.project-info small{font-size:12px;color:var(--muted)}.project-info small{margin-top:5px}.project-info .ready-text{color:#6a86a8}.chevron{color:#b5b5bd;font-size:24px;font-weight:300;flex:none}.back-link{color:var(--green);font-size:14px;min-height:44px;padding:0;margin:0 0 8px}
.grouped-list{background:#fff;border-radius:20px;overflow:hidden}.list-row{padding:18px;display:flex;align-items:center;gap:13px;width:100%;text-align:left;min-height:80px;position:relative}.list-row+.list-row:before{position:absolute;content:"";top:0;left:64px;right:0;height:1px;background:var(--line)}.row-number{width:30px;height:30px;display:grid;place-items:center;border-radius:10px;background:var(--paper);color:var(--muted);font-size:11px;flex:none}.row-number.done{background:var(--mint);color:var(--green)}.row-text{min-width:0;display:flex;flex:1;flex-direction:column;gap:4px}.row-text strong{font-weight:550;font-size:14px}.row-text small{font-size:11px;color:var(--muted);line-height:1.5}.list-actions{display:flex;gap:10px;padding:0 20px 18px}.library-footnote{font-size:11px;color:var(--muted);line-height:1.8;margin:24px 4px}.quiet-empty{padding:24px;color:var(--muted);font-size:13px;background:#fff;border-radius:16px}.student-avatar{width:44px;height:44px;border-radius:50%;background:#edf3ff;color:#4c78b6;display:grid;place-items:center;font-size:18px;flex:none}.student-row{padding:22px;min-height:94px}.history-runs{display:grid;gap:14px}.history-run{background:#fff;border-radius:20px;padding:22px;text-align:left}.history-run h3{margin:18px 0}.publish-step{border-top:1px solid var(--line);margin-top:14px}.publish-step summary,.attempt-detail summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;cursor:pointer;padding:19px 0;font-size:14px}.publish-step summary::-webkit-details-marker,.attempt-detail summary::-webkit-details-marker{display:none}.publish-step summary b{color:var(--muted);font-size:12px;font-weight:500;margin-right:6px}.publish-step summary>span:last-child{color:var(--muted);font-size:12px}.publish-step[open] summary{color:var(--green)}.publish-step .stack{padding:3px 0 16px}.publish-action .field-hint{text-align:center;margin:12px 0}.attempt-detail+.attempt-detail{border-top:1px solid var(--line)}.attempt-detail summary small{display:block;font-size:11px;color:var(--muted);margin-top:4px}.attempt-detail summary strong{font-size:16px;white-space:nowrap}.history-record{font-size:13px;white-space:pre-wrap;margin:14px 0}.history-record b{display:block;font-weight:500;color:var(--muted);font-size:12px;margin-bottom:3px}.demo-banner{background:#edf5ff;border-radius:16px;padding:14px 16px;margin:0 0 16px;font-size:12px;color:#3d6ea3;line-height:1.75}.class-board{margin:0 0 18px}.student-score{font-size:16px;font-weight:650;color:#1d1d1f;min-width:36px;text-align:right}.student-evidence{margin:12px 0 4px;display:grid;gap:10px;font-size:13px;line-height:1.75}.student-evidence b{display:block;font-size:11px;color:#86868b;font-weight:500;margin-bottom:3px}.prefill-block{margin:0 0 24px}.prefill-block .btn{width:100%;background:var(--mint);border-color:transparent;color:var(--green)}.prefill-block small{display:block;color:var(--muted);font-size:11px;margin-top:7px}.upload-actions+.prefill-block{margin-top:16px}
@media(max-width:780px){
 :root{--ink:#1d1d1f;--muted:#86868b;--green:#007aff;--green-dark:#0066d6;--mint:#edf5ff;--line:#e9e9ed;--paper:#f5f5f7;--shadow:none;font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI","Microsoft YaHei",sans-serif;font-size:15px;line-height:1.6;color-scheme:light}html{scrollbar-width:none}::-webkit-scrollbar{width:0;height:0}body{background:var(--paper)}h1,h2,h3,h4{letter-spacing:-.5px}h1{font-size:32px;font-weight:650;line-height:1.3}h2{font-size:24px;font-weight:650}h3{font-size:17px;font-weight:600}button:active:not(:disabled){opacity:.72}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #007aff60;outline-offset:3px}
 .topbar{height:68px;min-height:68px;flex-wrap:nowrap;padding:14px 22px;gap:12px;border:0;background:#f5f5f7ed;backdrop-filter:blur(20px)}.brand{gap:9px!important}.brand-icon{width:33px;height:33px;border-radius:11px;background:#1d1d1f;color:#fff}.brand-icon .icon{width:20px;height:20px}.brand strong{font-size:16px;font-weight:650;letter-spacing:0}.brand small{font-size:9px;letter-spacing:.5px}.topnav,.avatar,.local-tag{display:none}.header-right{margin-left:auto;gap:0}.role-picker{width:83px;min-height:36px;font-size:12px;padding:6px 8px;background:#eaeaec;border:0;border-radius:10px;color:#626269}.page{padding:12px 22px calc(100px + env(safe-area-inset-bottom));max-width:600px}.breadcrumb,.bottom-hint,.sidebar{display:none}.page-title{margin:10px 0 28px}.page-title h1{font-size:32px;margin:6px 0 9px;line-height:1.3}.page-title p{font-size:13px;line-height:1.65}.section-heading{margin:28px 2px 13px;gap:12px}.title-row{margin-bottom:24px;gap:10px}.title-row h1,.title-row h2{font-size:27px!important;line-height:1.35}.title-row .eyebrow{display:none}.title-row p{font-size:13px}.eyebrow{letter-spacing:.5px;font-size:11px;color:var(--muted);font-weight:500}
 .btn{border-radius:13px;font-size:15px;min-height:48px;padding:11px 16px;font-weight:550}.btn.secondary{border:0;background:#eeeef0;color:#505058}.btn.secondary:hover:not(:disabled){background:#e5e5e9}.btn.small{min-height:42px;padding:9px 13px;font-size:13px}.pill{font-size:10px;border-radius:6px;padding:3px 6px;background:var(--mint);font-weight:400}.pill.gray{background:#f2f2f4;color:#818187}.pill.amber{background:#fff5e6;color:#a57220}.card{border:0;border-radius:20px;box-shadow:none;padding:22px 20px;min-width:0}.card-header{margin-bottom:19px}.notice{background:#f5f6f8;color:#74747c;border:0;border-radius:12px;padding:12px 14px;font-size:12px;line-height:1.8}.notice.amber{background:#fff7eb;color:#987841}.notice .icon{width:16px;height:16px}.field-hint{font-size:11px;line-height:1.8;color:#919199}.text-btn{font-size:13px;font-weight:500}
 .mobile-home{display:block}.is-overview .page>:not(.mobile-home){display:none}.current-task{background:#fff;border-radius:24px;padding:24px}.current-task h2{font-size:23px;margin:18px 0 5px;letter-spacing:-.8px}.current-task>p{font-size:12px;color:var(--muted)}.overline{font-size:11px;color:var(--green);font-weight:600}.quiet-label{font-size:11px;color:var(--muted)}.task-progress{display:flex;justify-content:space-between;margin:22px 0 8px;font-size:11px;color:var(--muted)}.task-progress strong{font-weight:500;color:var(--ink)}.current-task .progress-line{height:4px;background:#f0f0f3;margin:0 0 22px}.current-task .home-text{background:none;border:0;color:var(--green);font-size:13px;width:100%;margin-top:6px;min-height:34px;padding:6px}.list-actions .btn{font-size:13px;min-height:42px;flex:1;padding:8px}
 .project-list{grid-template-columns:1fr;gap:12px}.project-card{padding:20px 18px;min-height:122px}.project-info>span,.project-info small{font-size:11px}.filter-bar{display:flex;gap:4px;margin:0 0 20px;background:#e9e9ed;padding:4px;border-radius:12px}.filter-button{flex:1;white-space:nowrap;border:0;border-radius:9px;padding:7px 4px;font-size:12px;min-height:34px;background:none;color:#7e7e85}.filter-button.active{background:#fff;color:#1d1d1f;box-shadow:0 1px 4px #0000000a}.gallery-grid,.modal .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.asset-card{border:0;border-radius:16px;text-align:left;padding:0;display:flex;flex-direction:column}.asset-card:hover{transform:none}.asset-card img{aspect-ratio:4/3}.asset-card .asset-body{padding:12px}.asset-card h4{min-height:3.2em;font-size:12px;line-height:1.6;font-weight:500;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.asset-card .spread{display:block}.asset-card .spread>.small{display:none}.asset-card .pill{font-size:9px}
 .is-step .page{padding-top:0;padding-bottom:145px}.is-step .topbar{position:relative}.mobile-step-top{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 18px}.mobile-step-top button{color:var(--green);font-size:14px;min-height:40px;padding:0;white-space:nowrap}.mobile-step-top select{width:auto;max-width:220px;border:0;border-radius:0;background:none;color:var(--muted);font-size:12px;min-height:40px;text-align:right;padding:5px 0;box-shadow:none}.step-heading{margin-bottom:23px}.step-heading>.spread,.step-heading .progress-line{display:none}.step-heading h2{font-size:28px;line-height:1.35;margin:0 0 10px}.step-heading p{font-size:12px;line-height:1.8;color:#8b8b92}.mobile-step-tabs{display:flex;gap:4px;padding:4px;background:#e8e8ed;border-radius:12px;margin:0 0 22px}.mobile-step-tabs button{flex:1;min-height:34px;font-size:13px;border-radius:9px;color:#7b7b83;white-space:nowrap}.mobile-step-tabs button[aria-selected=true]{background:#fff;color:#1d1d1f;box-shadow:0 2px 5px #00000009;font-weight:550}.mobile-panel-hidden,.desktop-save-card{display:none!important}.content-grid{display:flex;flex-direction:column;gap:18px}.content-grid>.stack,.content-grid>.aside-stack{width:100%;gap:18px}.workspace-main[data-mobile-panel=feedback] .aside-stack{order:-1}
 .form-grid{gap:24px;grid-template-columns:1fr}.field-label{font-size:13px;font-weight:500;margin-bottom:10px;color:#484850}input,textarea,select{font-size:16px;border:0;border-radius:12px;background:#f5f5f7;padding:13px 14px;color:var(--ink);min-width:0}textarea{min-height:112px;line-height:1.7}input::placeholder,textarea::placeholder{color:#b0b0b7;font-size:13px}input:focus,textarea:focus,select:focus{box-shadow:0 0 0 3px #007aff18}input[type=date]{min-height:49px;-webkit-appearance:none}.input-unit span{top:14px;font-size:13px}.prefill-btn.btn{min-height:43px;border-radius:11px;font-size:13px;color:#347ac4}.prefill-block small{font-size:10px;text-align:center;margin-top:7px;color:#a1a1a8}.evidence-preview{border-radius:14px;min-height:174px;background:#f5f5f7}.empty-upload{padding:20px}.empty-upload strong{font-size:13px}.empty-upload p{font-size:10px}.empty-upload .icon{color:#a7b7c9}.image-meta{font-size:9px;left:8px;bottom:8px}.upload-actions{gap:8px;margin-top:16px}.upload-actions .btn{flex:1;min-height:44px;font-size:12px;padding:9px 8px}.upload-actions .btn:nth-child(3){flex-basis:100%;min-height:32px;background:none;color:#a1a1a8}.ref-strip{grid-template-columns:repeat(2,1fr);gap:10px}.ref-thumb{border:0;background:#f5f5f7;border-radius:10px}.ref-thumb img{height:84px}.ref-thumb span{padding:8px;font-size:10px}.step-next-actions{margin-top:4px;gap:10px}.step-next-actions .btn{font-size:12px;background:none;color:var(--green);padding:6px 0;border:0}
 .agent-card{border:0}.agent-orb{background:var(--mint);color:var(--green)}.agent-brand h3{font-size:16px}.agent-brand .small{font-size:10px}.agent-empty,.feedback-text,.fact-list{font-size:13px;line-height:1.85;color:#6c6c74}.agent-card .section-label{font-size:11px;color:#96969f}.score-number{color:var(--ink);font-size:34px}.score-mini{font-size:12px;border-color:var(--line);padding:10px 0}.history-box{border:0;background:#f5f5f7;border-radius:10px}.history-box strong{color:var(--ink)}.trace-item{border-color:#b9d6fc}.exercise{background:#f5f5f7;border-radius:14px}.option{min-height:46px;border:0;border-radius:10px;font-size:12px}.chat-input input{min-height:46px;font-size:14px}.chat-input .btn{min-width:44px;padding:9px}.chat-message{font-size:13px;background:#f5f5f7;border-radius:12px}.chat-message.user{background:var(--mint)}.question-chip{font-size:12px;min-height:44px}
 .mobile-nav{display:grid;grid-template-columns:repeat(3,1fr);position:fixed;left:0;right:0;bottom:0;z-index:40;padding:10px 18px calc(10px + env(safe-area-inset-bottom));background:#fafafbec;backdrop-filter:blur(25px);border-top:1px solid #00000005}.mobile-nav button{display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px;min-height:45px;color:#a0a0a8;font-size:10px}.mobile-nav button.active{color:var(--green);font-weight:500}.mobile-nav .icon{width:22px;height:22px}.is-step .mobile-nav{display:none}.mobile-actionbar{display:block;position:fixed;bottom:0;left:0;right:0;z-index:39;background:#f5f5f7ed;backdrop-filter:blur(20px);padding:16px 22px calc(14px + env(safe-area-inset-bottom));border-top:1px solid #00000004}.mobile-actionbar>div{display:grid;grid-template-columns:76px 1fr;gap:12px}.mobile-actionbar .btn{min-height:49px;font-size:15px}.mobile-save-label{display:block;text-align:center;font-size:10px;color:#a1a1a8;margin:8px 0 0}.mobile-actionbar .secondary{background:#e7e7ec}#toast{bottom:90px;width:max-content;max-width:calc(100vw - 44px);background:#252529ed;border-radius:14px;font-size:12px;padding:12px 16px}.is-step #toast{bottom:132px}.modal-mask{background:#1d1d1f66;padding:14px}.modal{border-radius:24px;padding:20px;max-height:88dvh}.modal h2{font-size:22px}.modal-close{width:40px;height:40px;border:0;background:#e9e9ed;color:#818187;font-size:22px}
 .publish-step summary{font-size:13px;min-height:58px}.publish-step .stack{gap:22px}.publish-step textarea{font-size:14px;min-height:125px}.publish-action .btn{min-height:51px}.review-row{padding:22px 0;border-color:var(--line)}.review-row:first-child{padding-top:0}.review-row h3{font-size:16px}.review-row .small{font-size:11px;line-height:1.8}.review-fields{grid-template-columns:90px minmax(0,1fr);gap:12px}.review-fields input{font-size:14px;padding:12px 10px}.review-fields .field-label{font-size:11px}.review-fields .btn{grid-column:1/-1}.review-row .feedback-text{font-size:12px}.report-top{gap:18px;margin-bottom:18px}.report-score{background:#fff}.report-score .big{font-size:56px;color:var(--ink);margin:14px 0}.report-score .big span{color:#b7b7be;font-size:21px}.report-top .pill{white-space:normal;max-width:50%;font-size:9px}.report-top+.card .table-wrap{overflow:visible}.report-top+.card table,.report-top+.card tbody{display:block;min-width:0}.report-top+.card thead{display:none}.report-top+.card tr{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:17px 0;border-bottom:1px solid var(--line)}.report-top+.card td{border:0;padding:0;font-size:11px;color:var(--muted)}.report-top+.card td:first-child{grid-column:1/-1;margin-bottom:5px}.report-top+.card td:nth-child(2):before{content:'记录 '}.report-top+.card td:nth-child(3):before{content:'证据 '}.report-top+.card td:nth-child(4):before{content:'小计 '}.report-top+.card td:last-child{text-align:right}.report-top+.card tr:last-child{border:0}.report-top+.card td:first-child .text-btn{color:var(--ink);font-size:14px}.history-item{font-size:12px;line-height:1.8;padding:14px 0}.history-item time{font-size:10px}.empty-state{border:0;padding:36px 22px;border-radius:20px}.empty-state p{font-size:13px;line-height:1.8}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
@media print{.mobile-nav,.mobile-actionbar,.mobile-step-tabs,.mobile-step-top,.mobile-home{display:none!important}.mobile-panel-hidden{display:block!important}}
