.pagination{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:0;font-size:13px}.pagination>span{white-space:nowrap}.pagination button{min-height:32px;padding:5px 9px;font-size:inherit}.pagination :is(select,input[type=number]){height:32px;min-height:32px;padding:4px 6px;font-size:inherit;line-height:1.4}.pagination .page-size,.pagination .page-jump,.pagination .page-buttons{display:flex;align-items:center;flex-direction:row;flex-wrap:nowrap;gap:5px;margin:0}.pagination label{margin:0;white-space:nowrap}.pagination .page-size select{width:58px;margin:0}.pagination .page-jump input[type=number]{width:56px;margin:0}.list-controls{margin:10px 0}.list-controls>.pagination{justify-content:flex-end}.pagination.pagination-bottom{width:100%;margin:12px 0 0;padding-top:10px;border-top:1px solid var(--border, #dce5df);justify-content:flex-end}.paper-picker{border:1px solid var(--border, #dce5df);border-radius:8px;padding:10px}.paper-picker-list{list-style:none;padding:0;margin:6px 0;max-height:320px;overflow:auto}.paper-picker-list li{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 2px;border-bottom:1px solid #e6ebe8}.paper-picker-list li>div{min-width:0;overflow-wrap:anywhere}.paper-picker-list button{flex-shrink:0}.paper-picker-selected{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.chat-history-more{display:flex;justify-content:center;margin:8px 0 16px}@media(max-width:600px){.pagination.pagination-bottom{justify-content:flex-start}.history-toolbar>.pagination,.list-controls>.pagination{width:100%;margin-left:0;justify-content:flex-start}.pagination>span{flex-basis:100%}.pagination .page-jump{margin-left:0}.history-filters>label{min-width:0}}.law-window[hidden],.law-dialog:not([open]){display:none}.task-unread{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:10px;background:#d93742;color:#fff;font-size:11px;font-weight:700;line-height:1;flex-shrink:0}.task-results{background:#fff7f7;border:1px solid #f2d7da;border-radius:8px;padding:10px;margin-bottom:12px}.task-results h3{display:flex;align-items:center;gap:6px;margin:0}.task-result{padding:8px 0;border-top:1px solid #efdddd}.task-result>div:first-child{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px}.task-result p{margin:6px 0;overflow-wrap:anywhere}.online-users{position:relative;display:inline-block}.online-users-trigger{border:0;background:transparent;color:#64748b;padding:3px 0;min-height:24px;box-shadow:none;font-size:12px}.online-users-popover{position:absolute;top:100%;right:0;width:min(340px,calc(100vw - 32px));z-index:60;background:#fff;border:1px solid #d7e0ea;border-radius:8px;padding:10px;box-shadow:0 8px 28px #23354a26}.online-users-popover ul{list-style:none;padding:0;margin:0;max-height:280px;overflow:auto}.online-users-popover li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 8px;border-top:1px solid #edf0f5;padding:8px 0;overflow-wrap:anywhere}.online-users-popover li>span{grid-column:1 / -1;font-size:12px;color:#53657b}.user-activity{margin-top:14px;padding-top:10px;border-top:1px solid #dbe3ed}.user-activity .history-filters{flex-wrap:wrap}.user-activity .history-filters label{min-width:0}.activity-list{list-style:none;padding:0;margin:8px 0 0;max-height:300px;overflow:auto}.activity-list li{padding:8px 2px;border-bottom:1px solid #edf0f5;overflow-wrap:anywhere}.activity-list li>div{display:flex;gap:8px;flex-wrap:wrap;justify-content:space-between}.activity-list time{font-size:12px;color:#64748b}.activity-list p{margin:4px 0}@media(max-width:520px){.task-results>.section-title{flex-wrap:wrap;gap:8px}}:root{font-family:Microsoft YaHei,PingFang SC,Arial,sans-serif;color:#203047;background:#f5f7fa;font-synthesis:none;font-weight:400;line-height:1.6;font-size:14px}*{box-sizing:border-box}body{margin:0}a{color:#247061;text-decoration:none}button,input,textarea,select{font:inherit}button,.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #d9e1e7;border-radius:6px;background:#fff;color:#31445b;padding:8px 14px;cursor:pointer;line-height:1.4;white-space:nowrap;transition:background .15s}button:hover,.button:hover{background:#edf4f2;border-color:#9ab8b0}button:disabled{opacity:.45;cursor:not-allowed}.primary{background:#236354;color:#fff;border-color:#236354}.primary:hover{background:#194f42;color:#fff}.wide{width:100%}input:not([type=checkbox]):not([type=radio]),textarea,select{width:100%;border:1px solid #d7dfe5;border-radius:6px;padding:10px 12px;background:#fff;color:#22364a;outline:none}input:focus,textarea:focus,select:focus{border-color:#368b76;box-shadow:0 0 0 3px #368b7615}textarea{resize:vertical}input[type=checkbox],input[type=radio]{accent-color:#276c5c}label{display:flex;flex-direction:column;gap:7px;color:#43546b;margin:16px 0}.check-label{display:inline-flex;flex-direction:row;align-items:center;gap:7px;margin:0}.check-label input{width:auto}h1,h2,h3,h4,p{margin-top:0}h1{font-size:28px;line-height:1.45;margin-bottom:8px;letter-spacing:.3px}h2{font-size:19px;margin-bottom:15px}h3{font-size:17px}p{margin-bottom:14px}.muted{color:#778498}.small{font-size:12px}.block{display:block}.accent{color:#2c7462}.eyebrow{font-size:12px;letter-spacing:1.5px;color:#71847f;display:block;margin-bottom:10px}.brand{display:flex;align-items:center;gap:10px;color:#214f44;font-weight:700;font-size:25px;letter-spacing:2px}.brand svg{width:31px;height:31px}.notice{padding:12px 16px;background:#fff7e8;border:1px solid #ead7b2;border-radius:6px;color:#795b29;margin:14px 0;white-space:pre-wrap;overflow-wrap:anywhere}.empty{padding:60px 24px;text-align:center;color:#8590a0}.empty a{display:block;margin-top:20px}.actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.actions>input{width:auto!important;max-width:220px}.align-bottom{align-self:end;margin-bottom:16px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px;flex-wrap:wrap}.section-title h2{margin:0}.section-title h2 span{font-size:12px;background:#e9efec;border-radius:5px;padding:3px 8px;margin-left:7px;font-weight:400}.tag{display:inline-block;background:#eef2f5;color:#6c7b8d;border-radius:4px;padding:3px 9px;font-size:12px;white-space:nowrap}.tag.green{background:#e6f4ed;color:#2f755c}.tag.light{background:#ffffff15;color:#e1f3eb;border:1px solid #ffffff30}.panel{padding:26px;background:#fff;border:1px solid #e4e9ed;border-radius:10px;margin:24px 0}.preserve{white-space:pre-wrap;overflow-wrap:anywhere}.icon-button{padding:5px;border:0;background:transparent}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:13px}th{text-align:left;background:#f7f9fa;color:#788495;font-weight:500;padding:13px 15px}td{padding:18px 15px;border-bottom:1px solid #edf0f3;vertical-align:middle}tr:last-child td{border-bottom:0}td .actions{flex-wrap:nowrap}.inline-download{display:block;font-size:12px;margin-top:7px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 22px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;background:#12263780;display:flex;align-items:center;justify-content:center;padding:24px}.modal{background:#fff;padding:30px;border-radius:12px;box-shadow:0 20px 70px #0003;width:560px;max-width:100%;max-height:90vh;overflow-y:auto}.modal .actions{justify-content:flex-end;margin-top:23px}.modal h2{font-size:22px}.modal.modal-form{display:flex;flex-direction:column;padding:0;max-height:min(90vh,calc(100dvh - 48px));overflow:hidden}.modal-form>.modal-heading{flex:none;margin:0;padding:20px 24px 16px;overflow-wrap:anywhere}.modal-form>.modal-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:0 24px 20px}.modal-form>.modal-footer{flex:none;padding:12px 24px max(12px,env(safe-area-inset-bottom));border-top:1px solid #dfe8ed;background:#f9fcff;box-shadow:0 -4px 14px #203e4b0b}.modal-footer>.notice{margin:0 0 12px}.workflow-dialog{width:min(1120px,calc(100vw - 48px));max-width:none;max-height:calc(100dvh - 48px);padding:0;border:1px solid #cfdde7;border-radius:16px;background:#fff;color:#233d4d;box-shadow:0 24px 80px #122b3d40;overflow:hidden}.workflow-dialog[open]{display:flex;flex-direction:column}.workflow-dialog::backdrop{background:#12263780}.workflow-dialog-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;flex:none;gap:10px;padding:16px 24px;border-bottom:1px solid #e0e9ef;background:linear-gradient(115deg,#f5faff,#f5fbf8)}.workflow-dialog-heading h2{margin:0;font-size:21px;overflow-wrap:anywhere}.workflow-dialog-heading p{margin:5px 0 0}.workflow-dialog-heading>div:first-child{flex:1;min-width:160px;overflow-wrap:anywhere}.workflow-dialog-body{min-height:0;padding:20px 24px;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.workflow-dialog-footer{flex:none;padding:12px 24px max(12px,env(safe-area-inset-bottom));border-top:1px solid #dfe8ed;background:#f9fcff}.workflow-dialog-footer>.notice{max-height:min(16dvh,120px);overflow:auto;margin:0 0 10px}.workflow-dialog-heading .actions,.workflow-dialog-footer>.actions{margin:0;justify-content:flex-end}.dialog-actions-slot{display:contents}.workflow-dialog .paper-editor{padding:0;margin:0}.workflow-dialog .paper-preview{padding:0}@media(max-width:560px){.workflow-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:12px}.workflow-dialog-heading{padding:12px 16px;gap:8px}.workflow-dialog-heading h2{font-size:19px}.workflow-dialog-body{padding:16px}.workflow-dialog-footer{padding-inline:16px}}.modal-form>.modal-footer>.actions{justify-content:flex-end;margin:0}.form-actions{position:sticky;bottom:12px;z-index:3;padding:12px 16px;margin-top:16px;border:1px solid #dfe8ed;border-radius:10px;background:#f9fcff;box-shadow:0 4px 18px #203e4b14}@media(max-width:560px){.modal-form>.modal-heading{padding:16px 16px 12px;font-size:19px}.modal-form>.modal-body{padding:0 16px 16px}.modal-form>.modal-footer{padding-inline:16px}.form-actions{bottom:8px;gap:8px;padding:10px 12px max(10px,env(safe-area-inset-bottom))}}.draft-preview{max-height:35vh;overflow:auto;background:#f7f8fa;padding:14px;white-space:pre-wrap;overflow-wrap:anywhere;font:inherit}.spinner{border:3px solid #dce7e2;border-top-color:#33735c;width:28px;height:28px;border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 12px}@keyframes spin{to{transform:rotate(360deg)}}.login-page{min-height:100vh;display:grid;grid-template-columns:1.1fr 1fr;background:#fff}.login-story{background:radial-gradient(ellipse at 90% 80%,#356f59 0,transparent 50%),#183f36;color:#fff;min-height:100vh;display:flex;flex-direction:column;justify-content:space-between;padding:60px 12%}.login-story .brand{color:#fff}.login-story h1{font-family:SimSun,serif;font-size:55px;line-height:1.5;letter-spacing:6px;margin-bottom:25px}.login-story p,.login-story .eyebrow,.login-story small{color:#b3c9be}.login-story small{letter-spacing:2px}.login-features{display:flex;gap:27px;margin-top:45px;color:#d7e5df;font-size:13px}.login-features span{display:flex;align-items:center;gap:8px}.login-features svg{width:17px}.login-card{align-self:center;justify-self:center;width:370px;max-width:85%;padding:40px 0}.login-card h2{font-size:30px;margin:0 0 10px}.login-card label{margin:25px 0}.login-card input{padding:13px!important}.login-card .primary{padding:13px;margin:12px 0 20px}.shell{min-height:100vh}.sidebar{width:216px;position:fixed;inset:0 auto 0 0;background:#fff;border-right:1px solid #e5ebea;padding:32px 22px;display:flex;flex-direction:column;z-index:10}.side-caption{font-size:11px;color:#8d9c95;letter-spacing:1.3px;margin:8px 0 45px 41px}.sidebar nav{display:flex;flex-direction:column;gap:9px}.sidebar nav a{display:flex;align-items:center;gap:12px;color:#748074;padding:13px 14px;border-radius:6px}.sidebar nav svg{width:19px}.sidebar nav a.active{background:#eaf2ed;color:#225d49;font-weight:600}.sidebar-bottom{margin-top:auto;display:flex;align-items:center;gap:10px;border-top:1px solid #edf0ee;padding-top:22px;font-size:12px}.sidebar-bottom small{display:block;color:#9baba2}.avatar{background:#eaf1ea;color:#497b59;border-radius:50%;width:34px;height:34px;display:grid;place-items:center}.sidebar-bottom .icon-button{margin-left:auto}.workspace{margin-left:216px;max-width:1640px;padding:38px 45px 60px}.page-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px;gap:20px}.page-header p{margin:0}.date-label{font-size:12px;color:#899585}.welcome-banner{display:flex;justify-content:space-between;align-items:center;border-radius:12px;background:linear-gradient(105deg,#194d3e,#347764);padding:34px 42px;color:#fff;min-height:275px;overflow:hidden;position:relative}.welcome-banner h2{font-family:SimSun,serif;font-size:30px;letter-spacing:2px;line-height:1.65;margin:15px 0 10px}.welcome-banner p{font-size:13px;color:#c0dacf}.white-button{display:inline-flex;align-items:center;gap:18px;padding:9px 17px;background:#fff;color:#24644e;border-radius:5px;font-size:13px}.banner-emblem{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:25px;width:240px;height:220px;border:1px solid #ffffff16;border-radius:50%;position:relative;color:#d6e9d36e;transform:rotate(-5deg)}.banner-emblem:before{content:"";position:absolute;top:-20px;right:-20px;bottom:-20px;left:-20px;border:1px solid #ffffff10;border-radius:50%}.banner-emblem span{letter-spacing:6px;color:#d6e9d3bb;font-family:SimSun,serif}.stat-grid{display:grid;grid-template-columns:repeat(3,1fr) 1.3fr;background:#fff;border:1px solid #e5ebe6;border-radius:9px;padding:23px 0;margin:23px 0 35px}.stat-grid>div{padding:0 28px;border-right:1px solid #e9eee9}.stat-grid>div span{color:#7e8a82;font-size:12px}.stat-grid strong{display:block;font-size:28px;font-weight:500;color:#2c4e3f;margin-top:6px}.stat-grid small{font-size:12px;color:#8b9c93}.stat-grid>a{display:flex;align-items:center;justify-content:center;gap:16px;font-size:12px;color:#7b8a7e}.stat-grid>a svg{color:#789e86;width:29px;height:29px}.stat-grid b{display:block;color:#337052;font-weight:500;margin-top:6px}.search-input{display:flex;align-items:center;background:#fff;border:1px solid #dae3df;border-radius:6px;color:#92a299;padding-left:10px;gap:3px}.search-input input{border:0!important;box-shadow:none!important;min-width:0}.search-input button{border:0;background:transparent;padding:6px}.paper-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.paper-card{padding:24px;background:#fff;border:1px solid #e2e9e3;border-radius:9px;display:flex;flex-direction:column}.paper-card h3{margin:20px 0 9px;color:#2d433a;line-height:1.6}.paper-card>.muted{font-size:12px;flex:1}.paper-card-top{display:flex;align-items:center;justify-content:space-between}.paper-icon{width:42px;height:44px;background:#eff4ec;color:#6b8c64;border-radius:7px;display:grid;place-items:center}.paper-meta{font-size:12px;color:#8b968c;display:flex;gap:17px;align-items:center;border-top:1px solid #eef1ee;padding-top:18px;margin:10px 0 20px}.paper-meta span{display:flex;align-items:center;gap:5px}.paper-card>button{color:#356f51;background:#f8faf7}.list-row{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #eef1ee;padding:17px 0}.list-row p{margin:6px 0 0}.admin-tabs{display:flex;flex-wrap:wrap;gap:8px;border-bottom:1px solid #dbe3df;margin-bottom:27px}.admin-tabs a{white-space:nowrap;flex-shrink:0;padding:11px 25px;color:#7e8a82;border-bottom:3px solid transparent}.admin-tabs a.active{border-bottom-color:#2c7259;color:#285c47;font-weight:600}.settings-form{max-width:1000px}.grading-layout{display:grid;grid-template-columns:1.5fr 1fr;gap:25px}.grading-layout .panel{margin-top:0}.upload-panel{text-align:center;padding:34px}.upload-icon{color:#5b8a74;background:#eff6f0;border-radius:50%;height:78px;width:78px;display:grid;place-items:center;margin:0 auto 20px}.upload-panel input{display:block;margin:22px 0 9px}.upload-panel .primary{margin-top:22px}.job-row{display:flex;align-items:center;gap:20px;padding:22px 0;border-top:1px solid #e7ede9}.job-row>svg{color:#729580;flex-shrink:0}.job-info{flex:1;min-width:0}.job-info strong{overflow-wrap:anywhere}.job-info p{margin:5px 0 0;font-size:13px}.editor-layout{display:grid;grid-template-columns:190px 1fr;gap:25px;margin-top:25px}.editor-layout aside{display:flex;flex-direction:column;gap:8px;align-self:start}.editor-layout aside button{white-space:normal;text-align:left;justify-content:flex-start;font-size:12px}.selected{background:#e5efe9!important;color:#265e45!important;border-color:#b9d2c1!important}.case-editor{min-width:0}.case-editor fieldset{margin:20px 0;border:1px solid #dde5df;border-radius:7px;padding:20px}.grading-effort{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin:14px 0}.case-editor legend{font-weight:600;color:#3f6e55}.case-editor fieldset>.actions{justify-content:flex-end}.paper-preview{padding:20px 30px;max-width:900px;margin:auto}.paper-preview article{border-top:1px solid #e4ebe6;margin-top:25px;padding-top:25px}.paper-preview p{line-height:1.9}.paper-preview h4{color:#365e47}.exam-page{height:100dvh;--exam-min-height: 540px;min-height:var(--exam-min-height);display:flex;flex-direction:column;overflow:hidden;background:#e8f2fb;color:#172b45;font-size:14px;--exam-bg: #fff;--exam-chrome: #eaf2fa;--exam-border: #9ab5d4;--exam-accent: #235b97}.exam-page:has(>.submitted-bar:not([hidden])){min-height:calc(var(--exam-min-height) + 40px)}.exam-page button{border-color:#a5b9d2;border-radius:3px;padding:5px 10px;font-size:13px;color:#204875;background:linear-gradient(#fff,#edf3fb)}.exam-header{height:100px;flex-shrink:0;display:grid;grid-template-columns:300px minmax(0,1fr) 300px;align-items:center;gap:12px;padding:4px 12px;background:linear-gradient(#7bbdff,#68aee4);color:#fff;border-bottom:1px solid #70a7c9}.candidate{display:flex;gap:14px;align-items:center;font-size:13px}.candidate-photo{height:73px;width:60px;background:#f3f6fb;border:1px solid #9db8d7;display:grid;place-items:center;color:#85a2bf}.candidate span{display:block;margin:2px 0}.exam-title{text-align:center}.exam-title h1{font-size:18px;font-weight:700;margin:0 0 14px}.exam-title p{margin:0;font-size:13px;color:#d8e9ff}.exam-clock{display:flex;justify-content:flex-end;gap:6px;align-items:center;color:#ff0}.exam-clock>span{font-size:14px;font-weight:700}.exam-clock strong{font:700 18px Consolas,monospace;color:#ff0}.exam-clock .submit-exam{margin-left:16px;background:linear-gradient(#fff1a6,#ffc459);border:1px solid #d7a355;color:#493919;height:34px;min-width:80px;font-size:14px}.exam-tools{display:flex;align-items:center;gap:5px;padding:0;background:var(--exam-chrome);border-bottom:2px solid #5b99b5;min-width:0;overflow-x:auto;white-space:nowrap;font-size:12px}.exam-tools>div{display:flex;align-items:center;gap:8px}.exam-tools label{display:flex;flex-direction:row;margin:0 4px;align-items:center;font-size:12px}.exam-tools select{width:auto;padding:3px;background:#fff;font-size:12px}.exam-message,.conflict{display:flex;gap:12px;align-items:center;justify-content:center;flex-shrink:0;font-size:13px;padding:8px 15px;background:#fff3cc;color:#735619;border-bottom:1px solid #dabd6b}.conflict{background:#ffeadf;color:#853f19;flex-wrap:wrap}.exam-body{display:flex;flex:1;min-height:0;padding:0;gap:0}.question-nav{width:clamp(200px,23vw,310px);min-width:80px;max-width:max(80px,min(480px,calc(100% - 252px)));flex-shrink:0;background:#dfedf7;border-right:1px solid #aac7df;overflow-y:auto}.question-nav h2{font-size:14px;padding:9px 14px;background:linear-gradient(#d5e7fa,#bcd5ef);margin:0;border-bottom:1px solid #91acc8}.nav-case>button{width:100%;text-align:left;justify-content:flex-start;white-space:normal;border:1px solid #7eb4d7;background:linear-gradient(#9fd5f4,#67acd9);border-radius:0;padding:5px 7px;line-height:1.4;font-weight:700;color:#172b45}.nav-case>button.active{color:#102238;background:linear-gradient(#98ceef,#5fa7d6)}.nav-case-questions>button.nav-question{padding:4px 6px;display:inline-flex;gap:2px;background:transparent;border:0;text-decoration:underline;color:#144fb5}.nav-question .answered{color:#3c7d57}.nav-question .unanswered{color:#b1352a;font-weight:700}.nav-legend{padding:18px 7px;font-size:14px;line-height:1.5;color:#c82f3c}.exam-content{flex:1;min-width:0;display:grid;grid-template-rows:30px minmax(100px,var(--pane-first, 50fr)) 10px minmax(250px,var(--pane-second, 50fr)) auto;gap:0;padding:10px 12px 0;background:var(--exam-chrome)}.material-section,.answer-section{border:1px solid var(--exam-border);background:var(--exam-bg);display:flex;flex-direction:column;min-height:0;overflow:hidden}.exam-section-head{background:var(--exam-chrome);padding:2px 5px;display:flex;justify-content:space-between;gap:8px;align-items:center;flex-shrink:0;font-size:13px}.exam-section-head>div{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end;min-width:0}.exam-section-head>strong{flex-shrink:0}.exam-section-head button{white-space:nowrap}.material-text{padding:14px 8px;line-height:1.55;white-space:pre-wrap;overflow:auto;overflow-wrap:anywhere;color:#111;flex:1;font-family:SimSun,Microsoft YaHei,serif}.highlight{background:#fff16e}.question-tabs{display:flex;align-items:center;background:var(--exam-chrome);border-top:5px solid #a4b7f2;border-bottom:1px solid var(--exam-border);flex-shrink:0;padding:0;gap:2px;min-width:0;white-space:nowrap}.question-switcher{display:flex;align-items:center;gap:2px;flex:1;min-width:76px;overflow-x:auto}.question-tabs button{flex-shrink:0}.question-tabs button.active{background:#ffdc00;color:#111;font-weight:700}.question-text{padding:4px 12px;max-height:30%;overflow:auto;flex-shrink:0;color:#121f32;line-height:1.4;background:var(--exam-chrome);font-family:SimSun,Microsoft YaHei,serif}.question-text strong{font-size:inherit}.question-text p{margin:4px 0;white-space:pre-wrap}.question-text .check-label{font-family:Microsoft YaHei,sans-serif;font-size:12px}.answer-tools{display:flex;align-items:center;gap:5px;margin-left:auto;max-width:calc(100% - 80px);font-size:12px;flex-shrink:0;overflow-x:auto;white-space:nowrap}.answer-section>textarea{flex:1;min-height:70px;resize:none;border:1px solid #a4a4a4;border-radius:0;box-shadow:none;padding:10px;margin:3px 12px 0;width:calc(100% - 24px);font-family:SimSun,Microsoft YaHei,serif;line-height:1.65;color:#141e2d;background:var(--exam-bg)}.answer-section>textarea:focus{box-shadow:inset 0 0 0 1px #84aace}.answer-review{display:grid;grid-template-columns:minmax(0,1fr);min-height:0;min-width:0;margin:0 12px;border:1px solid var(--exam-border);overflow:hidden;background:var(--exam-bg);color:#141e2d}.answer-review.has-reference{grid-template-columns:repeat(2,minmax(0,1fr))}.answer-review-block{min-height:0;min-width:0;padding:8px 10px;overflow:auto}.answer-review-block+.answer-review-block{border-left:1px solid var(--exam-border)}.answer-review-block h3{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;margin:0 0 6px;font-size:13px;line-height:1.4}.answer-review-block h3 span{font-size:12px;font-weight:400}.answer-review-text{white-space:pre-wrap;overflow-wrap:anywhere;font-family:SimSun,Microsoft YaHei,serif;line-height:1.65}.answer-status{display:flex;align-items:center;gap:15px;justify-content:flex-end;padding:4px 12px;min-height:29px;border-top:1px solid #d8e3ee;font-size:12px;color:#70849b;flex-shrink:0}.answer-status>span:first-child{margin-right:auto}.answer-status button{font-size:11px;padding:1px 7px}.exam-footer{display:flex;flex-wrap:wrap;min-height:32px;justify-content:center;align-items:center;gap:12px;padding:3px 5px;background:var(--exam-chrome)}.exam-footer>div{display:flex;align-items:center;gap:4px}.exam-footer .check-label{font-size:12px}.focus-material{grid-template-rows:30px 1fr auto}.focus-material .answer-section{display:none}.focus-answer{grid-template-rows:30px 1fr auto}.focus-answer .material-section{display:none}.answer-section{display:grid;grid-template-rows:auto minmax(40px,var(--pane-first, 30fr)) 10px minmax(70px,var(--pane-second, 70fr)) auto}.answer-section .question-text{min-height:0;max-height:none}.answer-section>textarea{height:100%;min-height:0;margin-top:0}.pane-divider{display:flex;justify-content:center;align-items:center;cursor:row-resize;touch-action:none;-webkit-user-select:none;user-select:none;background:var(--exam-chrome);border-block:1px solid var(--exam-border);outline-offset:-2px;min-height:10px}.pane-divider span{width:46px;height:3px;border-radius:3px;background:#7c95b3}.pane-divider:hover,.pane-divider.dragging,.pane-divider:focus-visible{background:#cde4f7}.font-size-control{display:inline-flex;align-items:center;gap:4px;font-size:12px;white-space:nowrap}.submitted-bar{display:flex;align-items:center;gap:10px;padding:5px 12px;background:#f0f7f3;border-top:1px solid #c7dace;flex-shrink:0;min-width:0;font-size:12px;white-space:nowrap}.submitted-bar[hidden]{display:none}.submitted-actions{display:flex;align-items:center;gap:6px;flex:1;min-width:0;overflow-x:auto}.submitted-bar button,.submitted-bar .button{flex-shrink:0;padding:4px 9px;min-height:28px;font-size:12px}.submitted-grading-dialog{width:min(520px,calc(100vw - 24px));max-height:calc(100dvh - 32px);margin:auto;padding:16px;border:1px solid #c7dace;border-radius:12px;background:#fff;color:#20382d;box-shadow:0 12px 48px #183b3026;overflow:auto}.submitted-grading-dialog::backdrop{background:#193b3040}.submitted-grading-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.submitted-grading-dialog h2{margin:0;font-size:17px}.submitted-grading-dialog .grading-effort{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px}.submitted-grading-dialog .chat-effort.is-inline{display:contents}.submitted-grading-dialog .chat-effort.is-inline .chat-effort-card{position:static;grid-column:1 / -1;min-width:0;width:100%}.theme-green{--exam-bg: #eef7e9;--exam-chrome: #d7e7d0;--exam-border: #a5b99a}.theme-warm{--exam-bg: #fff9ed;--exam-chrome: #f0e6d1;--exam-border: #c8ba9a}.theme-green .answer-section>textarea,.theme-warm .answer-section>textarea{background:var(--exam-bg)}.law-window{position:fixed;left:10%;top:clamp(0px,9vh,calc(100dvh - 320px));width:80%;height:80%;z-index:80;border:2px solid #597fa8;box-shadow:0 15px 80px #0e254955;background:#fff;display:flex;flex-direction:column;resize:none;overflow:hidden;min-width:min(500px,100vw);min-height:min(320px,100dvh);max-width:100vw;max-height:100vh;font-size:14px}.law-window.law-floating{padding:8px 8px 18px}.law-window>.law-resize-handle{position:absolute;display:block;z-index:2;margin:0;padding:0;min-width:0;min-height:0;border:0;border-radius:0;background:transparent;touch-action:none;-webkit-user-select:none;user-select:none}.law-window>.law-resize-handle:focus-visible{outline:2px solid #245d8f;outline-offset:-2px;background-color:#597fa822}.law-window>.law-resize-n,.law-window>.law-resize-s{left:18px;right:18px;height:8px;cursor:ns-resize}.law-window>.law-resize-n{top:0}.law-window>.law-resize-s{bottom:0;height:18px}.law-window>.law-resize-e,.law-window>.law-resize-w{top:18px;bottom:18px;width:8px;cursor:ew-resize}.law-window>.law-resize-e{right:0}.law-window>.law-resize-w{left:0}.law-window>.law-resize-ne,.law-window>.law-resize-nw,.law-window>.law-resize-se,.law-window>.law-resize-sw{width:18px;height:18px}.law-window>.law-resize-ne{top:0;right:0;cursor:nesw-resize}.law-window>.law-resize-nw{top:0;left:0;cursor:nwse-resize}.law-window>.law-resize-se{bottom:0;right:0;cursor:nwse-resize}.law-window>.law-resize-sw{bottom:0;left:0;cursor:nesw-resize}.law-window>.law-resize-se:after{content:"";position:absolute;top:3px;right:3px;bottom:3px;left:3px;background:repeating-linear-gradient(135deg,transparent 0 3px,#597fa8 3px 4px);clip-path:polygon(100% 0,100% 100%,0 100%);pointer-events:none}.law-window.maximized>header{cursor:default}.law-window.maximized{top:0;right:0;bottom:0;left:0;width:100%;height:100%;resize:none;transform:none}.law-window.law-embedded{position:relative;inset:auto;width:100%;height:clamp(420px,72dvh,1000px);min-width:0;max-height:none;z-index:auto;resize:none;border:1px solid #d7e3df;border-radius:14px;box-shadow:0 4px 20px #173e2e08}.law-window.law-embedded>header{background:#edf6f3;border-color:#d7e3df;color:#245d4c;padding:14px 18px;cursor:default;touch-action:auto}.home-header-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:12px}.home-law-entry{display:inline-flex;align-items:center;gap:4px;padding:3px 5px;border:0;border-radius:4px;background:transparent;color:#245d4c;text-decoration:none;white-space:nowrap;font-size:14px}.home-law-entry>svg{flex-shrink:0}.home-law-entry:hover{border-color:#7ead9b;background:#e7f4ec}.home-law-entry:focus-visible{outline:2px solid #217868;outline-offset:3px}.law-dialog{position:fixed;top:0;right:0;bottom:0;left:0;width:calc(100vw - 24px);height:calc(100dvh - 24px);max-width:none;max-height:none;margin:auto;padding:0;border:1px solid #bacbdc;border-radius:8px;overflow:hidden;background:#fff;color:#203047}.law-dialog[open]{display:flex;flex-direction:column}.law-dialog::backdrop{background:#15213266}.law-dialog-header{display:flex;justify-content:space-between;align-items:center;padding:5px 10px;border-bottom:1px solid #d7e3df;background:#edf6f3}.law-dialog-header button{padding:4px;border:0;background:transparent}.law-dialog .law-embedded{flex:1;height:auto;min-height:0;border:0;border-radius:0;box-shadow:none}.law-dialog .law-embedded>header{display:none}.law-dialog .law-reading{padding:10px 14px}.law-window>header{display:flex;justify-content:space-between;align-items:center;padding:7px 14px;background:linear-gradient(#d1e6fa,#aac8e7);border-bottom:1px solid #597fa8;cursor:move;-webkit-user-select:none;user-select:none;touch-action:none;flex-shrink:0}.law-window>header div{display:flex;gap:5px}.law-window>header button{border:0;background:transparent;padding:4px}.law-layout{display:flex;min-height:0;flex:1}.law-layout>aside{width:30%;min-width:200px;max-width:350px;border-right:1px solid #bacbdc;display:flex;flex-direction:column}.law-search{padding:6px;background:#edf3fa}.law-search-results{display:flex;align-items:center;flex-wrap:wrap;gap:3px;margin-top:5px;font-size:11px}.law-search-results>span{flex:1 0 auto;font-variant-numeric:tabular-nums}.law-search .law-search-results button{min-height:24px;padding:2px 4px;font-size:11px;line-height:1.3}.law-search-error{margin:5px 0 0;font-size:12px;color:#a32f20}.law-match{padding:0;border-radius:2px;color:inherit;background:#fff0a6}.law-match-active{background:#ffbe55;outline:1px solid #a86200;outline-offset:1px}.law-search .check-label{font-size:12px;margin-top:8px}.law-tree{overflow:auto;padding:6px;flex:1;min-height:0}.law-tree details{margin:6px 0}.law-tree summary{padding:7px 5px;color:#335f8d;cursor:pointer;font-weight:600}.law-tree button{border:0;background:transparent;border-radius:0;font-size:13px;text-align:left;justify-content:flex-start;line-height:1.6;padding:2px 4px;color:#293d50}.law-reading{overflow:auto;flex:1;min-width:0;padding:22px 27px;color:#152132}.law-reading h2{font-family:SimSun,serif;font-size:22px}.law-reading small{color:#8a95a1;font-size:11px}.law-info .actions{margin:15px 0}.law-info select{padding:5px;font-size:12px;width:200px}.law-reading article{font:17px/1.9 SimSun,serif;white-space:pre-wrap}.law-reading article p{margin:0 0 4px;scroll-margin-top:15px}.question-nav[hidden],.law-layout>aside[hidden]{display:none}.law-nav-toggle{flex:0 0 12px;min-width:0;padding:0!important;border-radius:0!important;align-self:stretch;border:0;background:#c2ddf0;color:#39739a}.exam-nav-rail{position:relative;flex:0 0 12px;background:var(--exam-chrome)}.exam-nav-divider{position:absolute;top:0;right:0;bottom:0;left:0;cursor:col-resize;touch-action:none;-webkit-user-select:none;user-select:none;outline-offset:-2px;border-inline:1px solid var(--exam-border)}.exam-nav-divider>span{position:absolute;left:4px;top:calc(50% - 62px);width:3px;height:32px;border-radius:3px;background:#7c95b3}.exam-nav-divider:hover,.exam-nav-divider.dragging,.exam-nav-divider:focus-visible{background:#cde4f7}.exam-page .exam-nav-toggle{position:absolute;top:50%;transform:translateY(-50%);width:12px;height:36px;min-width:0;padding:0;border-radius:2px;background:#c2ddf0;color:#39739a}.exam-tools>span{display:grid;place-items:center;align-self:stretch;min-width:106px;background:linear-gradient(#b1ddf7,#6cb3db);border:1px solid #76acd0;border-radius:6px 6px 0 0;font-size:15px;font-weight:700}.exam-tools>div{gap:4px}.exam-page :is(.exam-tools,.exam-section-head,.question-tabs,.exam-footer) button{height:24px;min-width:24px;padding:2px 5px;font-size:12px;line-height:18px}.nav-collapse-label{margin-left:auto;font-size:11px;color:#365c7a;white-space:nowrap}.nav-case-questions{display:flex;flex-wrap:wrap;padding:2px;gap:3px;min-height:28px}.nav-case-questions .current-question{background:#fff6aa!important}.nav-legend p{margin:2px 0}.exam-page .nav-law-button{margin:12px auto;display:flex;background:linear-gradient(#91ccec,#3183b6);color:#102d46;padding:7px 12px}.answer-section{background:var(--exam-chrome)}.answer-hint{font-size:13px;font-weight:700;padding:0 6px;min-width:0;overflow:hidden;text-overflow:ellipsis}.exam-footer>div:last-child{order:-1}.law-nav-title{padding:8px 10px;border-bottom:1px solid #dae2e8;background:#f7f8fa;font-weight:700}.law-tree ul{list-style:none;margin:0;padding-left:17px}.law-tree .tree-row{display:flex;align-items:flex-start;min-height:25px}.law-tree .tree-toggle,.law-tree .tree-leaf{flex:0 0 18px;width:18px;height:23px;display:inline-flex;justify-content:center;align-items:center;padding:0}.law-tree .tree-toggle{color:#436c94;font:16px monospace}.law-tree .tree-label{display:block;flex:1;min-width:0;white-space:nowrap;width:max-content}.law-tree .tree-label.current-node{background:#ffeda6;color:#172b45}.law-tree .tree-category{display:flex;gap:7px;font-weight:600;white-space:nowrap}.law-tree button:focus-visible{outline:2px solid #4787bc;outline-offset:-2px}.law-reading .law-heading{font-weight:700;margin-top:12px}@media(max-width:760px){.answer-review{display:block;overflow:auto;margin-inline:6px}.answer-review-block{overflow:visible}.answer-review-block+.answer-review-block{border-left:0;border-top:1px solid var(--exam-border)}.exam-page{--exam-min-height: 580px}.exam-content{padding:4px 3px 0}.answer-hint,.nav-collapse-label{display:none}.exam-clock .submit-exam{margin-left:0}.nav-legend{padding:8px 4px;font-size:11px}.exam-page .nav-law-button{padding:4px;font-size:11px;white-space:normal}}@media(min-width:1500px){.workspace{padding:42px 6%}.welcome-banner{min-height:300px}.paper-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:1100px){.sidebar{width:180px;padding:28px 15px}.workspace{margin-left:180px;padding:28px}.side-caption{margin-left:10px}.paper-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-grid{grid-template-columns:repeat(3,1fr)}.stat-grid>a{grid-column:1/-1;padding-top:15px;border-top:1px solid #eee;margin:15px 20px 0}.exam-header{grid-template-columns:230px 1fr 230px;padding:10px 15px}.exam-title h1,.exam-clock strong{font-size:16px}.question-nav{width:175px}.exam-section-head{gap:7px}.grading-layout{grid-template-columns:1fr 1fr}.job-row{flex-wrap:wrap}}@media(max-width:760px){.sidebar{position:static;width:auto;padding:15px 20px;border-bottom:1px solid #ddd}.sidebar .brand{font-size:21px}.side-caption,.sidebar-bottom{display:none}.sidebar nav{flex-direction:row;margin-top:15px;gap:4px}.sidebar nav a{padding:8px 10px;font-size:12px}.sidebar nav svg{display:none}.workspace{margin-left:0;padding:25px 18px}.page-header h1{font-size:23px}.date-label{display:none}.welcome-banner{padding:25px}.welcome-banner h2{font-size:25px}.banner-emblem{display:none}.stat-grid>div{padding:0 15px}.paper-grid,.grading-layout,.form-grid{grid-template-columns:1fr}.admin-tabs a{padding:9px 13px}.panel{padding:18px}.editor-layout{grid-template-columns:1fr}.editor-layout aside{display:flex;flex-direction:row;flex-wrap:wrap}.login-page{grid-template-columns:1fr}.login-story{display:none}.login-card{margin:40px 0}.exam-header{height:102px;grid-template-columns:minmax(0,1fr) 115px;grid-template-rows:auto auto;gap:5px 10px;padding:8px 10px}.candidate{font-size:10px;grid-column:1;grid-row:1}.candidate span{display:inline;margin-right:8px}.candidate-photo{display:none}.exam-title h1{font-size:15px;letter-spacing:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.exam-title{grid-column:1;grid-row:2;text-align:left;min-width:0}.exam-title p{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.exam-clock{display:grid;grid-column:2;grid-row:1 / 3;grid-template-columns:1fr;gap:0}.exam-clock strong{font-size:20px;grid-row:auto}.exam-clock .submit-exam{grid-column:auto;grid-row:auto;height:auto;padding:3px;font-size:12px}.exam-tools{padding:5px;font-size:10px}.exam-tools>span,.exam-tools label{display:none}.exam-tools>div{width:100%;justify-content:space-between;gap:3px}.question-nav{width:100px}.question-nav h2{padding:7px;font-size:12px}.nav-case>button{font-size:11px;padding:5px}.nav-case-questions>button.nav-question{padding:5px 8px;font-size:10px}.exam-content{grid-template-rows:34px minmax(100px,var(--pane-first, 50fr)) 14px minmax(250px,var(--pane-second, 50fr)) auto}.exam-section-head{flex-wrap:wrap;padding:4px}.exam-section-head strong{font-size:11px}.exam-section-head>div{gap:3px}.material-text{padding:10px 12px}.question-text{padding:8px 10px}.answer-section>textarea{padding:10px}.exam-footer{flex-wrap:wrap;gap:3px;padding:3px}.exam-footer>div{gap:3px}.answer-status{font-size:10px;gap:5px}.answer-status button{padding:2px}.law-window{left:0;top:0;width:100%;height:100%;min-width:0;resize:none}.law-layout>aside{min-width:130px;width:35%}.law-reading{padding:12px}.law-reading article{font-size:15px}.law-info select{width:130px}.law-tree button{padding:5px;font-size:11px}.submitted-bar{gap:6px;padding:5px}.submitted-bar>strong{display:none}.focus-material,.focus-answer{grid-template-rows:34px 1fr 75px}}.history-controls{margin-block:18px;padding:14px;background:#f7faff;border:1px solid #e0e8f3;border-radius:12px}.history-filters{display:flex;align-items:end;flex-wrap:wrap;gap:12px}.history-filters label{flex:1 1 145px;min-width:0;margin:0}.history-filters input,.history-filters select{width:100%;min-width:0}.history-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:12px;font-size:13px}.history-toolbar .check-label{margin:0}.pagination{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-left:auto}input.record-checkbox,.import-job>input[type=checkbox]{flex:0 0 auto;width:17px;height:17px}.task-center-trigger{display:flex;gap:10px;align-items:center;width:100%;text-align:left}.task-count{margin-left:auto;border-radius:20px;background:#deebfc;color:#245298;padding:1px 8px}.exam-tools .task-center-trigger{width:auto;gap:3px;flex-shrink:0}.exam-tools .task-count{padding-inline:3px}.exam-tools .task-center-trigger svg{width:14px;height:14px}.task-backdrop{justify-content:flex-end;padding:0;z-index:200}.task-drawer{width:min(620px,100%);height:100dvh;overflow:auto;background:#f8fbff;padding:24px;box-shadow:-10px 0 35px #1d355322}.task-drawer h2,.task-card h3{margin:0}.task-card{margin-top:14px;padding:18px;border:1px solid #dfe8f3;border-radius:14px;background:#fff;overflow-wrap:anywhere}.task-card h3{margin-top:12px;font-size:16px}.task-recommended{color:#244f88;border-color:#b7cee9;background:#edf5ff}.task-support{color:#886118;font-size:13px}.connections-panel{display:grid;gap:20px}.connections-panel .panel{margin:0;min-width:0}.connections-panel legend{font-weight:600;padding-inline:8px}.connection-save{position:sticky;bottom:0;background:#f8fbfff5;padding:16px;border:1px solid #dfe8f3;border-radius:12px}.import-review-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-block:20px}.review-column{min-width:0;padding:16px;border:1px solid #dfe8f3;border-radius:12px;background:#fbfdff}.review-column h4{margin-top:0}.review-column .import-source,.review-questions{max-height:560px;overflow:auto}.review-image{max-width:100%;max-height:560px;object-fit:contain;display:block;margin:12px auto}.review-summary{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}.review-summary span{padding:4px 8px;background:#eaf3ff;border-radius:6px;font-size:13px}.review-material{white-space:pre-wrap;overflow-wrap:anywhere}.review-questions section{border-top:1px solid #e3eaf4;padding-block:12px}.review-questions summary{cursor:pointer;padding-block:8px}.import-result>label>textarea{line-height:24px}@media(max-width:700px){.task-drawer{padding:16px}.task-floating{right:6px;bottom:3px;padding:3px 6px;font-size:11px}.import-review-grid{grid-template-columns:1fr}.review-column .import-source,.review-questions{max-height:350px}.pagination{margin-left:0;width:100%}.history-controls{padding:10px}.font-size-control{font-size:10px;gap:2px}}.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}.reply-body{line-height:1.85;overflow-wrap:anywhere;min-width:0}.reply-body p{white-space:normal}.reply-body pre{background:#f3f5f7;border:1px solid #e0e5e9;border-radius:12px;padding:18px;overflow-x:auto;white-space:pre}.reply-body code{font-family:Consolas,monospace;font-size:.9em}.reply-body :not(pre)>code{background:#f1f3f5;border-radius:4px;padding:2px 5px}.reply-body table{display:block;overflow-x:auto;max-width:100%}.reply-body blockquote{border-left:3px solid #b6c8c4;margin-left:0;padding-left:18px;color:#59656b}.reply-body .katex-display{overflow-x:auto;overflow-y:hidden;padding:5px}.table-scroll{overflow-x:auto}.price-list{display:flex;flex-wrap:wrap;gap:18px}.price-list span{display:flex;gap:12px;background:#f4f7f6;padding:12px 16px;border-radius:10px}.chat-page{flex:1;min-height:0;min-width:0;display:flex;flex-direction:column;background:#fff;border:1px solid #e5ebea;border-radius:14px}.shell-chat{display:flex;flex-direction:column;height:100dvh;min-height:0;overflow:hidden}.shell-chat .workspace{display:flex;flex-direction:column;flex:1;min-height:0;max-width:none;padding:28px 32px}.chat-header{display:flex;align-items:center;gap:24px;padding:12px 24px;border-bottom:1px solid #edf0ef;flex-shrink:0}.chat-header h1{font-size:22px;margin:0}.chat-balance{margin-left:auto;color:#5f726c;font-size:14px}.chat-transcript{flex:1;overflow-y:auto;min-height:0;padding:22px 24px}.chat-inner{max-width:850px;margin:auto;width:100%}.chat-welcome{text-align:center;padding:10vh 0}.chat-welcome h1{font-size:32px}.chat-turn{margin-bottom:36px}.chat-user{margin-left:auto;background:#f1f4f3;width:fit-content;max-width:85%;border-radius:22px;padding:14px 20px;position:relative}.chat-user p{white-space:pre-wrap;margin:0;overflow-wrap:anywhere}.chat-user>.icon-button{position:absolute;left:-36px;bottom:3px}.chat-assistant{padding:16px 0 0}.chat-reply-actions{display:flex;align-items:center;gap:8px;margin-top:12px}.chat-reply-actions small{margin-left:4px}.chat-footer{flex-shrink:0;padding:8px 24px 10px}.chat-footer .notice{margin:0 0 8px;padding:8px 14px}.chat-composer{border:1px solid #d8e0dc;border-radius:24px;background:#f8faf9;padding:12px 14px;box-shadow:0 3px 15px #133b2710}.chat-composer textarea{border:0;background:transparent;min-height:48px;max-height:180px;resize:vertical;padding:8px;box-shadow:none;width:100%}.chat-toolbar{display:flex;align-items:center;gap:6px}.chat-effort{position:relative;--effort-color: #236354}.chat-effort[data-effort=low]{--effort-color: #986800}.chat-effort[data-effort=high]{--effort-color: #bb343b}.chat-effort[data-effort=xhigh]{--effort-color: #7950c5}.chat-effort-trigger{border:0;background:transparent;padding:8px 6px;gap:4px;font-size:13px}.chat-effort-selected{color:var(--effort-color);font-weight:650}.chat-effort-trigger:focus-visible{outline:2px solid var(--effort-color);outline-offset:2px}.chat-effort-card{position:absolute;bottom:calc(100% + 12px);z-index:20;width:min(286px,calc(100vw - 24px));padding:10px 12px;border:1px solid #e1dfdb;border-radius:15px;background:#fff;box-shadow:0 1px 2px #2c261f0a,0 7px 22px #2c261f1c;-webkit-user-select:none;user-select:none}.chat-effort-header,.chat-effort-title{display:flex;align-items:center;gap:7px}.chat-effort-header{justify-content:space-between;margin-bottom:12px}.chat-effort-title{color:#77746f;font-size:13px}.chat-effort-title strong{white-space:nowrap}.chat-effort-help{padding:4px;border:0;background:transparent;color:#9a9690}.chat-effort-explanation{margin:0 0 10px;padding:8px;border-radius:8px;color:#65615b;background:#f6f4f1;font-size:12px;line-height:1.5}.chat-effort-scale{display:flex;justify-content:space-between;margin-bottom:9px;color:#7b7873;font-size:12px}.chat-effort-track{position:relative;height:30px;overflow:hidden;isolation:isolate;border:1px solid #7c777014;border-radius:8px;background:#d8d6d2;box-shadow:inset 0 1px 1px #453c300a;transition:box-shadow .55s ease,border-color .55s ease,background .55s ease}.chat-effort-track:has(.chat-effort-range:focus-visible){border-color:var(--effort-color);box-shadow:0 0 0 3px #7a50d81a}.chat-effort-wash{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(90deg,#ffffff08,#ffffff38),linear-gradient(180deg,#766f6506,#ffffff14)}.chat-effort-progress{position:absolute;inset:0 auto 0 0;width:var(--fill-width);background:linear-gradient(90deg,#7b736709,#ffffff1a)}.chat-effort-stops{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;pointer-events:none;transition:opacity .6s ease}.chat-effort-stops span{position:absolute;top:50%;width:3px;height:3px;border-radius:50%;background:#ffffffd1;transform:translate(-50%,-50%)}.chat-effort-stops .is-unavailable{background:#95918a}.chat-effort-energy{position:absolute;top:0;right:0;bottom:0;left:0;z-index:3;width:100%;height:100%;pointer-events:none}.chat-effort-thumb{position:absolute;z-index:4;top:-1px;left:var(--thumb-left);width:22px;height:30px;border:.7px solid #443c322e;border-radius:8px;background:linear-gradient(165deg,#fff,#fdfdfc 48%,#f4f3f1);box-shadow:0 1px 2px #362f261f,0 3px 8px #362f2614;pointer-events:none;transition:transform .13s ease}.chat-effort-track.is-dragging .chat-effort-thumb{transform:scale(.94)}input.chat-effort-range{position:absolute;z-index:5;top:0;right:0;bottom:0;left:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;height:30px;margin:0;padding:0;border:0;background:transparent;box-shadow:none;opacity:0;cursor:grab;touch-action:none}.chat-effort-range::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:22px;height:30px}.chat-effort-range::-moz-range-thumb{width:22px;height:30px;border:0}.chat-effort-range:active{cursor:grabbing}.chat-effort-labels{display:grid;grid-template-columns:repeat(4,1fr);margin-top:5px}.chat-effort-labels button{display:block;min-width:0;border:0;padding:5px 0;background:transparent;color:#858078;font-size:11px;text-align:center}.chat-effort-labels button:first-child{text-align:left}.chat-effort-labels button:last-child{text-align:right}.chat-effort-labels .is-selected{color:var(--effort-color);font-weight:650}.chat-effort-cost{margin-top:5px;padding-top:7px;border-top:1px solid #f0eeeb;color:#7b7873;font-size:12px}.chat-effort[data-effort=xhigh] .chat-effort-track{background:linear-gradient(90deg,#eeebe9,#ece9e7 18%,#e2dce3 32%,#d9d0df 48%,#d0c1da 68%,#cdbcd9 82%,#cbbad8)}.chat-effort[data-effort=xhigh] .chat-effort-progress{opacity:0}.chat-effort[data-effort=xhigh] .chat-effort-stops{opacity:.12}.chat-effort[data-effort=xhigh] .chat-effort-thumb{border-color:#774ace61;box-shadow:0 1px 2px #362f261a,0 0 14px #7f50da29}.chat-effort[data-effort=xhigh] .chat-effort-selected,.chat-effort[data-effort=xhigh] .chat-effort-labels .is-selected{animation:chat-effort-glow 2s ease-in-out infinite alternate}@keyframes chat-effort-glow{0%{text-shadow:0 0 1px #7950c522}to{text-shadow:0 0 10px #7950c577}}@media(prefers-reduced-motion:reduce){.chat-effort *,.chat-effort[data-effort=xhigh] .chat-effort-selected,.chat-effort[data-effort=xhigh] .chat-effort-labels .is-selected{animation:none;transition:none}}.chat-send{margin-left:auto}.chat-send .primary{border-radius:50px;min-height:36px;padding:8px 12px}.chat-add{position:relative}.chat-add-menu{position:absolute;bottom:44px;left:0;white-space:nowrap;background:#fff;border:1px solid #e3e9e5;box-shadow:0 8px 24px #0002;border-radius:14px;padding:8px;z-index:2}.chat-add-menu button{display:flex;align-items:center;gap:8px;border:0}.chat-files{display:flex;gap:8px;flex-wrap:wrap}.chat-files:empty{display:none}.chat-file{display:flex;align-items:center;gap:8px;border:1px solid #dde5e0;background:#fff;border-radius:12px;padding:8px;max-width:100%;margin-bottom:8px}.chat-file img{width:54px;height:54px;object-fit:cover;border-radius:6px}.chat-file a{font-size:13px;color:#365448;overflow-wrap:anywhere;max-width:220px}.chat-file small{display:block;color:#7b8781}.chat-footnote{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:12px;color:#718078;padding:6px 10px 0}.chat-footnote button{padding:3px 8px;font-size:12px;border:0}.chat-edit-banner{display:flex;align-items:center;justify-content:space-between;font-size:13px;margin:8px 0;gap:12px}@media(max-width:760px){.shell-chat .sidebar{flex-shrink:0}.shell-chat .sidebar nav{overflow-x:auto}.shell-chat .sidebar nav a{flex-shrink:0;white-space:nowrap}.shell-chat .workspace{padding:12px 10px}}@media(max-width:600px){.chat-header{padding:10px 12px;gap:12px}.chat-transcript{padding:16px}.chat-footer{padding:6px 10px 8px}.chat-user{max-width:90%}.chat-file a{max-width:160px}.chat-welcome h1{font-size:26px}}.generated-resource{display:inline-flex;flex-wrap:wrap;align-items:center;gap:8px;max-width:100%;margin:4px 0}.generated-image{display:inline-flex;flex-direction:column;align-items:flex-start}.resource-download{display:inline-flex;align-items:center;gap:6px;color:#355d4f;background:#f1f7f4;border:1px solid #d7e7de;border-radius:8px;padding:7px 10px;max-width:100%;overflow-wrap:anywhere;text-align:left}.image-preview{border:0;padding:0;background:transparent;max-width:100%;cursor:zoom-in}.image-preview img{display:block;width:auto;max-width:min(100%,520px);max-height:420px;border-radius:10px;object-fit:contain}.resource-error{color:#ae3838;font-size:13px;overflow-wrap:anywhere}.resource-error button{margin-left:8px;text-decoration:underline}.resource-lightbox{border:0;border-radius:14px;padding:18px;max-width:94vw;max-height:94vh}.resource-lightbox::backdrop{background:#101b22bd}.resource-lightbox img{display:block;max-width:86vw;max-height:78vh;object-fit:contain;margin:8px 0 14px}.resource-lightbox>.icon-button{float:right}.attempt-grading{display:grid;gap:6px;min-width:0;max-width:100%}.attempt-grading .notice{margin:0}.selected-job{background:#edf6f3;border-radius:8px;padding:12px}.auto-import{padding-bottom:24px;margin-bottom:24px;border-bottom:1px solid #e1e5ea}.import-settings-fields{padding:0;margin:0 0 14px;border:0;min-width:0}.import-prompt-options{margin:18px 0;border:1px solid #e1e5ea;border-radius:12px;background:#f8fafc}.import-prompt-options>summary{padding:14px 16px;cursor:pointer;overflow-wrap:anywhere}.import-prompt-options>summary span{display:inline-block;margin-left:12px}.import-prompt-options>summary:focus-visible{outline:2px solid #217868;outline-offset:2px;border-radius:12px}.import-prompt-body{padding:0 16px 16px}.import-prompt-body .actions{flex-wrap:wrap}.import-job .job-info,.import-result{min-width:0;overflow-wrap:anywhere}.import-source{white-space:pre-wrap;overflow-wrap:anywhere;max-height:300px;overflow:auto}.import-result .actions,.attempt-grading .actions{flex-wrap:wrap}.import-result .button{max-width:100%;white-space:normal;overflow-wrap:anywhere}.paper-table table{min-width:620px}.answer-import-row{border-top:1px solid var(--border);padding:10px 0}.answer-import-select{display:flex;align-items:center;gap:8px;font-weight:600}.answer-import-select input{width:auto}.answer-import-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.answer-import-columns>div{min-width:0}.answer-import-columns .preserve{max-height:320px;overflow:auto;overflow-wrap:anywhere}.chat-send{display:flex;align-items:center;gap:6px}@media(max-width:700px){.answer-import-columns{grid-template-columns:minmax(0,1fr)}}.paper-split-dialog{width:min(1000px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;border:1px solid var(--border);border-radius:12px;padding:20px;color:inherit}.paper-split-dialog::backdrop{background:#141e2d66}.paper-split-dialog[open]{display:flex;flex-direction:column;padding:0;overflow:hidden}.split-groups{border:0;padding:0;margin:12px 0;min-width:0}.split-group{display:grid;grid-template-columns:60px minmax(120px,1fr) 78px 78px 140px auto;gap:10px;align-items:end;border-top:1px solid var(--border);padding:12px 0}.split-group label{min-width:0}.split-group input,.split-group select{width:100%}.split-preview{margin-top:16px}.split-preview-row{padding:8px 0;border-top:1px solid var(--border)}@media(max-width:760px){.split-group{grid-template-columns:repeat(2,minmax(0,1fr))}.split-group>strong,.split-group>.split-name{grid-column:1 / -1}.paper-split-dialog{padding:12px}}.shell{--workspace-gap: 12px}:root{--ink: #253f3d;--muted: #607773;--accent: #26776c;--accent-hover: #1b6258;--line: #dce8e2;--surface: #fff;--canvas: #f7f9f6;--soft: #edf6f1;--shadow: 0 4px 20px #365e4b0a;color:var(--ink);background:var(--canvas);font-family:Segoe UI,Microsoft YaHei,PingFang SC,sans-serif}.app-recovery{min-height:100dvh;display:grid;place-items:center;padding:24px}.app-recovery>div{max-width:560px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:32px;box-shadow:var(--shadow)}.app-recovery h1{font-size:25px}.app-recovery .primary{background:var(--accent);border-color:var(--accent);border-radius:9px}body{min-width:320px}:focus-visible{outline:3px solid #69a89b;outline-offset:3px}::selection{background:#cfe9dd;color:#23483e}.shell :is(a,button,input,select,textarea){-webkit-tap-highlight-color:transparent}.shell a{color:var(--accent)}.shell :is(button,.button),.login-card button{border-radius:5px;min-height:32px;border-color:var(--line);color:#415e57;transition:background .16s,border-color .16s,box-shadow .16s;padding:5px 10px;font-size:13px}.shell :is(button,.button):hover{background:var(--soft);border-color:#b4d0c3}.shell :is(button,.button):disabled{opacity:.55}.shell .primary,.login-card .primary{background:var(--accent);border-color:var(--accent);color:#fff;box-shadow:0 2px 5px #26776c18}.shell .primary:hover,.login-card .primary:hover{background:var(--accent-hover);border-color:var(--accent-hover);color:#fff}.shell :is(input:not([type=checkbox]):not([type=radio]),select,textarea),.login-card input{border-color:var(--line);border-radius:5px;padding:5px 9px;color:var(--ink)}.shell :is(input,select,textarea):focus,.login-card input:focus{border-color:#69a89b;box-shadow:0 0 0 3px #26776c14}.shell :is(input,textarea)::placeholder{color:#74877e}.shell :is(input[type=checkbox],input[type=radio]){accent-color:var(--accent)}.shell label{color:#415e57;font-weight:500;margin:8px 0;gap:4px;font-size:13px}.shell .muted{color:var(--muted)}.shell .accent{color:var(--accent)}.shell .eyebrow{color:#647d73;font-size:11px;letter-spacing:1.6px;font-weight:600}.shell h1{font-size:21px;font-weight:700;letter-spacing:0;overflow-wrap:anywhere;margin:0}.shell h2{font-size:16px;color:var(--ink);margin:0 0 8px}.shell .sidebar{width:180px;padding:18px 10px 12px;background:#f3f7f3;border-right:1px solid var(--line);box-shadow:none}.shell .sidebar .brand{color:var(--ink);margin:0 8px;font-size:21px}.shell .sidebar .brand svg{color:var(--accent)}.shell .side-caption{color:#647d73;margin:4px 0 20px 8px;letter-spacing:0}.shell .sidebar nav{gap:3px}.shell .sidebar nav a{color:#526b61;padding:7px 10px;border-radius:5px;min-height:34px;transition:background .16s,color .16s;gap:9px;font-size:13px}.shell .sidebar nav a:hover{background:#e8f2eb;color:#256b57}.shell .sidebar nav a.active{background:#deeee2;color:#24634f;box-shadow:inset 3px 0 var(--accent);font-weight:600}.shell .sidebar nav a.active svg{color:var(--accent)}.shell .sidebar-bottom{border-color:var(--line);color:#36574a;padding:12px 0 0;min-width:0;gap:7px}.shell .sidebar-bottom>div{min-width:0}.shell .sidebar-bottom strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:82px;font-size:13px}.shell .sidebar-bottom small{color:#647d73}.shell .avatar{background:#e4f0e6;color:#347557;flex-shrink:0;border:1px solid #d2e6d7;width:28px;height:28px;font-size:13px}.shell .sidebar-bottom .icon-button{color:#527768;flex-shrink:0;background:transparent}.shell .workspace{margin-left:180px;padding:16px 18px 28px;min-width:0;max-width:none}.shell .page-header{margin-bottom:12px;align-items:center;gap:12px;padding-bottom:10px;border-bottom:1px solid var(--line)}.shell .page-header>div{min-width:0}.shell .page-header .date-label{white-space:nowrap;color:#6b8078;padding-bottom:4px}.shell .panel{border-color:var(--line);border-radius:6px;box-shadow:none;padding:14px;margin:12px 0}.shell .section-title h2 span{background:var(--soft);color:#587568;border-radius:20px}.shell .notice{background:#fff9ef;border-color:#eedeba;border-radius:5px;font-size:13px;padding:8px 10px;margin:8px 0}.shell .tag{border-radius:4px;padding:2px 7px;background:var(--soft);color:#526d62}.shell .tag.green{background:#e8f4ee;color:#287455}.shell .empty{background:#f8faf7;border:1px dashed var(--line);border-radius:6px;color:#627c6f;margin-top:10px;padding:24px 12px}.shell table{line-height:1.6}.shell th{color:#5c7669;background:#f4f8f3;padding:7px 10px;white-space:nowrap}.shell td{border-color:#eaf0e9;padding:8px 10px}.shell tbody tr:hover{background:#f9fbf7}.shell .table-wrap,.shell .table-scroll{border-radius:4px}.shell .stat-grid{border-color:var(--line);border-radius:6px;box-shadow:none;margin:0 0 12px;padding:10px 0;grid-template-columns:repeat(3,minmax(0,1fr)) auto}.shell .stat-grid>div{border-color:#e8eee6;display:flex;align-items:baseline;gap:10px;padding:0 16px}.shell .stat-grid strong{color:#2e6654;font-size:22px;font-weight:650;margin:0}.shell .stat-grid :is(span,small){color:var(--muted)}.shell .stat-grid>a svg,.shell .stat-grid b{color:var(--accent)}.shell .search-input{border-color:var(--line);border-radius:5px;color:#657e72;min-width:0}.shell .paper-grid{gap:0;grid-template-columns:minmax(0,1fr);border:1px solid var(--line);border-radius:6px;overflow:hidden}.shell .paper-card{border-color:var(--line);border-radius:0;box-shadow:none;padding:11px 14px;transition:box-shadow .2s,border-color .2s;border:0;border-bottom:1px solid var(--line);display:grid;grid-template-columns:minmax(0,1fr) minmax(210px,.65fr) auto;align-items:center;gap:16px}.shell .paper-card:hover{border-color:#b8d3c1;box-shadow:none;background:#f8fbf7}.shell .paper-card h3{color:var(--ink);overflow-wrap:anywhere;font-size:15px;margin:0}.shell .paper-icon{background:var(--soft);color:#4c7c65;border-radius:10px}.shell .paper-meta{color:var(--muted);border-color:#e8eee6;flex-wrap:wrap;gap:6px 14px;padding:0;margin:0;border:0}.shell .paper-card>button{color:var(--accent);background:#f3f8f2;border-color:#d6e7d9;font-weight:600;width:auto}.shell .paper-card>button:hover{background:#e8f3e7}.shell .list-row{border-color:#e8eee6;gap:12px;padding:8px 0}.shell .list-row>div{min-width:0;overflow-wrap:anywhere}.shell .admin-tabs{border-bottom-color:var(--line);gap:3px;margin-bottom:12px}.shell .admin-tabs a{color:var(--muted);padding:7px 11px;border-radius:4px 4px 0 0;white-space:nowrap;font-size:13px}.shell .admin-tabs a:hover{background:var(--soft)}.shell .admin-tabs a.active{color:var(--accent);background:#e4f1e5;border-bottom-color:var(--accent)}.shell .upload-panel{background:#fff;text-align:left}.shell .upload-icon{background:#edf6ee;color:#547f69;border-radius:16px}.shell .upload-panel input[type=file]{background:#f9fbf7;padding:8px;border-style:dashed;margin:10px 0 4px}.shell input[type=file]::file-selector-button{font:inherit;border:1px solid #cbdccd;border-radius:6px;background:#edf6ee;color:var(--accent);padding:6px 10px;margin-right:10px;cursor:pointer}.shell .job-row{gap:10px;border-color:#e8eee6;padding:10px 0;flex-wrap:wrap}.shell .job-row>svg{color:#64967a;flex-shrink:0}.shell .job-info{min-width:0;overflow-wrap:anywhere}.shell .selected-job{background:#f0f7ed;padding:10px;border-radius:5px}.shell .price-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.shell .price-list span{background:#f4f8f2;border:1px solid #e2ece0;border-radius:5px;justify-content:space-between;color:#526f60;padding:8px 10px}.shell .price-list b{color:#306650;white-space:nowrap}.shell .icon-button{min-height:32px;min-width:32px;box-shadow:none}.shell fieldset:not(.import-settings-fields){border:1px solid var(--line);border-radius:5px;padding:10px 12px;margin:10px 0;min-width:0}.shell fieldset legend{color:#526f60;padding:0 7px;font-weight:500}.shell .chat-effort-labels button{min-height:28px;padding:5px 2px}.shell .chat-effort-labels button.is-selected{color:var(--effort-color);background:#f4f0fb}.shell .chat-effort-help{min-height:24px;min-width:24px}.shell .resource-download{background:#eef7ed;color:var(--accent);border-color:#d3e6d2;white-space:normal}.shell-chat .workspace{padding:10px 12px}.shell .chat-page{border-color:var(--line);border-radius:6px;box-shadow:none;overflow:hidden}.shell .chat-header{padding:8px 14px;background:#fbfcf9;border-color:#e6eee3;gap:10px}.shell .chat-header h1{font-size:18px}.shell .chat-balance{background:#eaf4e9;color:#4b755c;border-radius:5px;padding:3px 8px;font-size:12px}.shell .chat-transcript{padding:16px 20px;scrollbar-gutter:stable}.shell .chat-inner{max-width:1040px}.shell .chat-welcome{padding:4vh 0}.shell .chat-welcome h1{font-size:26px;letter-spacing:0}.shell .chat-welcome p{font-size:14px}.shell .chat-user{background:var(--soft);border:1px solid #dceadc;border-radius:8px 8px 3px;padding:9px 12px}.shell .chat-assistant{color:var(--ink);padding-top:12px}.shell .reply-body{line-height:1.8}.shell .reply-body pre{background:#f5f8f2;border-color:#dfe9dc;border-radius:5px}.shell .reply-body blockquote{border-color:#88af91;color:#57715e;background:#f7faf4;padding:8px 12px;border-radius:0 4px 4px 0}.shell .chat-reply-actions{gap:7px}.shell .chat-footer{background:#fff;padding:6px 16px 8px}.shell .chat-composer{background:#fff;border:1px solid #cbdccd;border-radius:8px;box-shadow:none;padding:6px 10px}.shell .chat-composer:focus-within{border-color:#8bb59c;box-shadow:0 0 0 3px #26776c0c}.shell .chat-composer textarea{padding:6px 2px;border:0;box-shadow:none;min-height:48px;background:transparent}.shell .chat-toolbar{gap:6px}.shell .chat-send .primary{border-radius:5px;width:32px;height:32px;padding:0}.shell .chat-add-menu{border-color:var(--line);box-shadow:0 8px 24px #365e4b18;border-radius:10px}.shell .chat-file{background:#f5f8f2;border-color:#dfe9dc;border-radius:5px;padding:6px 8px}.shell .chat-file a{overflow-wrap:anywhere}.shell .chat-edit-banner{border-color:#d6e7d9;background:#f1f7ec;color:#4b705a;border-radius:5px;padding:6px 10px}.modal-backdrop{background:#4d685966;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.modal{border:1px solid var(--line);border-radius:16px;box-shadow:0 24px 80px #365e4b25}.login-page{background:#fafbf8;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px 16px;gap:16px;min-height:100dvh}.login-card{width:380px;max-width:100%;border:1px solid var(--line);border-radius:8px;background:#fff;padding:24px;box-shadow:none}.login-card .brand{color:var(--accent);font-size:22px}.login-card .muted{color:var(--muted)}.login-card h2{font-size:21px;color:var(--ink);margin:0 0 6px}.login-card label{color:#415e57;margin:14px 0;gap:5px}.login-card small{font-size:12px;line-height:1.7}@media(max-width:760px){.modal-backdrop{padding:16px}.modal{padding:24px 20px;max-height:calc(100dvh - 32px)}}@media(prefers-reduced-motion:reduce){.shell *,.login-page *{scroll-behavior:auto!important}.shell :is(button,.button,.paper-card,nav a){transition:none}}.shell .group-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0}.shell .group-card{margin:0}.shell .permission-list{padding-left:22px;line-height:1.7;margin:8px 0}.shell .group-editor{width:min(680px,calc(100vw - 28px))}.shell .group-editor .check-label{white-space:normal;align-items:flex-start}.shell .group-editor input[type=checkbox]{flex:0 0 auto;margin-top:5px}.cleanup-dialog{width:min(520px,calc(100vw - 32px));line-height:1.8}.cleanup-dialog .danger{background:#fff1ec;color:#9e3f2e;border-color:#efc9bf}.cleanup-dialog .danger:hover:not(:disabled){background:#ffe6df}.cleanup-summary{padding:12px 16px;border:1px solid var(--line);border-radius:10px;background:var(--soft)}.cleanup-status{display:flex;flex-wrap:wrap;align-items:center;gap:10px;background:#f1f7ec;color:#526f60;padding:12px 16px;border-radius:9px;margin:12px 0;font-size:12px}.cleanup-error{color:#9e3f2e;max-width:360px;overflow-wrap:anywhere}.shell .inline-download+.cleanup-button,.shell td .cleanup-button{margin-left:12px}.reply-details{display:grid;gap:12px;min-width:0;overflow-wrap:anywhere}.reply-games{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:10px}.reply-game{display:grid;gap:6px;padding:14px;border:1px solid #dce4ee;border-radius:12px;background:#f8fafc;min-width:0}.reply-game p{margin:0}.reply-game small{color:#5d6b80}.reply-sources{display:flex;flex-wrap:wrap;gap:8px 16px;font-size:13px}.reply-sources a{max-width:100%}.shell .chat-header .actions{justify-content:flex-end;flex-wrap:wrap}@media(max-width:850px){.shell .group-grid{grid-template-columns:minmax(0,1fr)}}.shell .page-header>div:first-child{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px}.shell .page-header .eyebrow{display:none}.shell .page-header p{margin:0;font-size:13px}.shell .section-title{gap:8px;margin-bottom:10px}.shell .section-title h3{margin:0;font-size:15px}.shell .actions{gap:6px;flex-wrap:wrap}.shell td .actions{flex-wrap:nowrap}.shell .panel>p,.shell .job-info p{margin:6px 0}.shell .panel>:last-child{margin-bottom:0}.shell .form-grid{gap:0 14px;grid-template-columns:repeat(2,minmax(0,1fr))}.shell .form-grid>*{min-width:0}.shell .form-grid>button{align-self:end;justify-self:start;margin-bottom:8px}.shell .settings-form{max-width:none}.shell .stat-grid>a{gap:7px;padding:0 16px;font-size:13px}.shell .stat-grid>a svg{width:18px;height:18px}.shell .paper-card:last-child{border-bottom:0}.shell .paper-summary{min-width:0}.shell .paper-summary p{margin:3px 0 0;font-size:12px}.shell .list-row .button{flex-shrink:0}.shell .list-row p{margin-top:2px}.shell td .inline-download{display:inline-block;margin:0 8px;white-space:nowrap}.shell .grading-layout{grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:var(--workspace-gap);align-items:start}.shell .grading-layout .panel{margin:0;min-width:0}.shell .upload-heading{margin-bottom:6px}.shell .upload-panel .primary{margin-top:12px;width:auto;min-width:120px}.shell .grading-effort{margin:10px 0}.shell .history-controls{margin:10px 0;padding:8px 10px;border-radius:5px;border-color:var(--line);background:#f7faf6}.shell .history-filters{gap:8px}.shell .history-filters label,.shell .history-toolbar .check-label{margin:0}.shell .history-toolbar{gap:8px;margin-top:8px}.shell .connections-panel{gap:var(--workspace-gap)}.shell .connections-panel .panel{margin:0}.shell .connection-settings-section>h3{margin:0 0 8px;font-size:15px}.shell .connection-settings-section>p{margin:0 0 8px}.shell .service-effort-grid,.shell .service-connections{display:grid;gap:var(--workspace-gap);min-width:0}.shell .service-effort-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start}.shell .model-choice{display:flex;align-items:end;flex-wrap:wrap;gap:8px}.shell .model-choice>label{flex:1 1 260px;max-width:420px;min-width:0}.shell .model-choice>button{margin-bottom:8px}.shell .connections-panel [id]{scroll-margin-top:12px}.shell .connections-panel button:disabled{opacity:1;color:#637360;background:#eef2ed;border-color:#d5ded2}@media(max-width:1000px){.shell .service-effort-grid{grid-template-columns:minmax(0,1fr)}}@media(max-width:760px){.shell .connections-panel :is(button,select,input:not([type=checkbox])){min-height:40px}.shell .service-effort-grid .check-label{min-height:36px}.shell .service-effort-grid input[type=checkbox]{width:18px;height:18px}}.shell .connection-save{padding:8px 10px;border-radius:5px}.shell .import-settings-fields{display:block;margin-bottom:6px}.shell .import-task-options,.shell .import-materials-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.shell .import-task-options{padding-bottom:8px;margin-bottom:10px;border-bottom:1px solid var(--line)}.shell .import-task-options label{margin:0}.shell .import-target-field{display:flex;align-items:end;gap:6px;min-width:0}.shell .import-target-field>label{flex:1;min-width:0}.shell .import-files,.shell .import-text-field{min-width:0;margin:0}.shell .import-files{padding:10px;border:1px solid var(--line);border-radius:5px;background:#fafcf9}.shell .import-files .section-title{margin-bottom:6px;flex-wrap:wrap}.shell .import-text-field{display:flex;flex-direction:column}.shell .import-text-field>textarea{flex:1;min-height:140px}.shell .import-files .import-file-list{list-style:none;padding:0;margin:4px 0 0;max-height:260px;overflow:auto}.shell .import-file-list>li{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 0;border-top:1px solid var(--line)}.shell .import-file-name{display:flex;flex-direction:column;gap:2px;min-width:0;overflow-wrap:anywhere}.shell .import-file-list button{flex-shrink:0}.shell .import-files-empty{margin:8px 0 0}.shell .import-files button:disabled,.shell .import-target-field button:disabled{opacity:1;color:#637360;background:#eef2ed;border-color:#d5ded2}.shell .auto-import{padding-bottom:12px;margin-bottom:12px}.shell .import-prompt-options{margin:10px 0;border-radius:5px}.shell .import-prompt-options>summary{padding:8px 10px}.shell .import-prompt-body{padding:0 10px 10px}.shell .import-review-grid{gap:10px;margin:12px 0}.shell .review-column{border-radius:5px;padding:10px}.shell .chat-turn{margin-bottom:22px}.shell .chat-reply-actions{margin-top:8px}.shell .chat-footnote{margin-top:5px}.shell .modal,body:has(.shell)>.modal-backdrop .modal{border-radius:6px;padding:16px}body:has(.shell)>.task-backdrop .task-drawer{padding:16px;background:var(--canvas)}body:has(.shell)>.task-backdrop .section-title{gap:8px;margin-bottom:10px}body:has(.shell)>.task-backdrop h2{font-size:18px}body:has(.shell)>.task-backdrop p{margin:6px 0;font-size:13px}body:has(.shell)>.task-backdrop .history-filters{gap:8px}body:has(.shell)>.task-backdrop :is(input,select){padding:5px 9px;min-height:32px;border-color:var(--line);border-radius:5px;color:var(--ink)}body:has(.shell)>.task-backdrop .task-card{padding:12px;margin-top:10px;border-radius:6px}body:has(.shell)>.task-backdrop .history-controls{margin-block:10px;padding:10px;border-radius:6px}body:has(.shell)>.modal-backdrop :is(button,.button){padding:5px 10px;min-height:32px;border-radius:5px}body:has(.shell)>.modal-backdrop label{margin-block:8px;gap:4px}.shell .pagination label,body:has(.shell)>.modal-backdrop .pagination label{margin:0}@media(min-width:601px){:is(.shell,body:has(.shell)>.modal-backdrop) .history-controls{padding:6px 10px}:is(.shell,body:has(.shell)>.modal-backdrop) .list-controls{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px}:is(.shell,body:has(.shell)>.modal-backdrop) .list-controls>.history-filters{flex:1 1 360px;min-width:0}:is(.shell,body:has(.shell)>.modal-backdrop) .list-controls:has(.history-filters>label:nth-child(4))>.history-filters{flex-basis:100%}:is(.shell,body:has(.shell)>.modal-backdrop) .list-controls>.pagination{width:auto;flex:0 1 auto}:is(.shell,body:has(.shell)>.modal-backdrop) .history-filters{align-items:center;gap:8px 12px}:is(.shell,body:has(.shell)>.modal-backdrop) .history-filters>label{flex:0 1 auto;flex-direction:row;align-items:center;gap:6px;max-width:100%;margin:0;font-size:13px;white-space:nowrap}:is(.shell,body:has(.shell)>.modal-backdrop) .history-filters>.history-search{flex:1 1 220px;max-width:300px}:is(.shell,body:has(.shell)>.modal-backdrop) .history-filters :is(input,select){width:124px;height:32px;min-height:32px;min-width:0;padding:4px 7px;font-size:13px;line-height:1.4}:is(.shell,body:has(.shell)>.modal-backdrop) .history-filters .history-search input{flex:1 1 150px;width:150px}:is(.shell,body:has(.shell)>.modal-backdrop) .history-filters input[type=date]{width:136px}}.login-brand{text-align:center}.login-brand .brand{justify-content:center;margin-bottom:6px;font-size:24px;color:var(--accent)}.login-brand>span{font-size:13px}.login-card input{padding:8px 10px!important}.login-card .primary{margin:6px 0 8px;padding:9px}.login-card>p{margin:6px 0}@media(max-width:1100px){.shell .stat-grid>div{gap:6px;padding-inline:10px}.shell .price-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.shell .sidebar{position:relative;width:100%;padding:10px 10px 0;flex-shrink:0;border-radius:0}.shell .sidebar .brand{font-size:20px;margin:0 4px}.shell .sidebar .brand svg{width:24px;height:24px}.shell .sidebar-bottom{display:flex;position:absolute;top:6px;right:10px;margin:0;border:0;padding:0}.shell .sidebar-bottom>:not(button){display:none}.shell .sidebar nav{flex-direction:row;gap:3px;overflow-x:auto;margin-top:6px;padding-bottom:6px;scrollbar-width:thin}.shell .sidebar nav>*{flex-shrink:0;width:auto;white-space:nowrap}.shell .sidebar nav a{padding:7px 10px;min-height:36px}.shell .sidebar nav a.active{box-shadow:inset 0 -2px var(--accent)}.shell .workspace{margin-left:0;padding:12px 10px 20px;max-width:100%}.shell .page-header{align-items:flex-start;margin-bottom:10px;gap:8px}.shell .page-header h1{font-size:19px}.shell .date-label{display:none}.shell :is(button,.button),body:has(.shell)>.modal-backdrop :is(button,.button){min-height:36px}.shell .panel{padding:12px;margin:10px 0}.shell .stat-grid{grid-template-columns:repeat(3,minmax(0,1fr));padding:8px 0 0}.shell .stat-grid>div{display:block;padding:0 10px 8px}.shell .stat-grid>div:nth-child(3){border-right:0}.shell .stat-grid>a{grid-column:1 / -1;justify-content:flex-start;border-top:1px solid var(--line);padding:8px 10px}.shell .paper-card{grid-template-columns:minmax(0,1fr) auto;gap:6px 10px;padding:10px}.shell .paper-meta{grid-column:1}.shell .paper-card>button{grid-column:2;grid-row:1 / 3}.shell .section-title .actions{max-width:100%}.shell .section-title .actions>input{width:100%!important;max-width:100%}.shell .search-input{width:100%}.shell .grading-layout,.shell .form-grid,.shell .import-task-options,.shell .import-materials-grid,.shell .import-review-grid{grid-template-columns:minmax(0,1fr);gap:8px}.shell .import-settings-fields button{min-height:40px}.shell .job-row{align-items:flex-start;gap:8px}.shell .job-info{flex-basis:calc(100% - 55px)}.shell .job-row .actions{width:100%}.shell .admin-tabs{overflow-x:auto;flex-wrap:nowrap;margin-bottom:10px}.shell .admin-tabs a{padding:8px 10px}.shell-chat .workspace{padding:6px}.shell .chat-header{padding:7px 10px;flex-wrap:wrap;gap:6px}.shell .chat-transcript{padding:12px 10px}.shell .chat-footer{padding:4px 8px 6px}.shell .chat-user{max-width:calc(100% - 36px)}.shell .chat-composer{padding:5px 8px}.shell .chat-welcome h1{font-size:23px}}:is(.shell,.login-page,body:has(.shell)>.modal-backdrop,body:has(.shell)>.law-dialog){--ink: #213e4b;--muted: #5c7483;--accent: #117b78;--accent-hover: #086663;--line: #d4e3ea;--soft: #e9f5f4;--glass: #ffffffd9;--glass-border: #ffffffde;--polish-shadow: 0 2px 4px #253a5105, 0 8px 24px #28485f0c, inset 0 1px 0 #fff;--polish-shadow-raised: 0 5px 12px #25435910, 0 18px 42px #2543591c, inset 0 1px 0 #fff;--polish-shadow-dialog: 0 8px 24px #17394b20, 0 30px 80px #17394b30;--polish-ease: cubic-bezier(.2, .75, .25, 1);color:var(--ink)}.shell,.login-page{background-color:#edf3f7;background-image:radial-gradient(ellipse 650px 420px at 98% 0%,#d6dafa,transparent),radial-gradient(ellipse 580px 520px at 25% 12%,#cceee4b0,transparent),radial-gradient(ellipse 500px 400px at 85% 70%,#f7e5d4a0,transparent);background-repeat:no-repeat}.shell .sidebar{background:radial-gradient(ellipse 170px 340px at 10% 0%,#3b9a9980,transparent),linear-gradient(165deg,#164750,#153c47 45%,#182f3f);border-right:1px solid #ffffff2b;box-shadow:6px 0 24px #213b4a12}.shell .sidebar .brand,.shell .sidebar-bottom{color:#f0fffc}.shell .sidebar .brand{letter-spacing:.6px}.shell .sidebar .brand svg{color:#98e1d4}.shell .side-caption,.shell .sidebar-bottom small{color:#b4d3d5}.shell .sidebar nav a,.shell .sidebar .task-center-trigger{color:#d1e7e8;border:1px solid transparent;border-radius:9px;background:transparent}.shell .sidebar nav a:hover,.shell .sidebar .task-center-trigger:hover{color:#fff;background:#ffffff12;border-color:#ffffff1c}.shell .sidebar nav a.active{color:#fff;border-color:#b7eee847;background:linear-gradient(105deg,#b1f2de30,#d6faff12);box-shadow:inset 3px 0 #8ce1ca,0 3px 12px #071f2718}.shell .sidebar nav a.active svg{color:#a8f0df}.shell .sidebar .task-center-trigger{background:#ffffff0b;border-color:#ffffff26}.shell .sidebar-bottom{border-color:#ffffff24}.shell .sidebar-bottom .avatar{background:linear-gradient(135deg,#8bd8c9,#4b9fa5);border-color:#b1ece0;color:#123d43;box-shadow:inset 0 1px #ffffff7a}.shell .sidebar-bottom .icon-button{color:#c2e5e0;border-color:transparent}.shell .sidebar-bottom .icon-button:hover{background:#ffffff16;color:#fff}.shell .page-header{position:relative;padding:10px 14px;border:1px solid var(--glass-border);border-radius:13px;background:#ffffff9e;box-shadow:0 3px 14px #25435a07,inset 0 1px #fff}.shell .page-header h1{letter-spacing:-.3px}.shell .home-overview-header{padding:14px 16px;border-color:#b0e4e36b;background:radial-gradient(ellipse at 82% 0%,#c2f6e91a,transparent 50%),linear-gradient(112deg,#185567,#1e5a67 52%,#1f596b);box-shadow:0 6px 22px #1d5e7026,inset 0 1px #e4fffa59}.shell .home-overview-header:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-radius:inherit;background:linear-gradient(120deg,transparent 35%,#e6fffa0b 35.2%,#e6fffa0b 55%,transparent 55.2%);pointer-events:none}.shell .home-overview-header>div{position:relative}.shell .home-heading h1{display:flex;align-items:center;gap:10px}.shell .home-overview-header h1{color:#f4fffc;font-size:22px}.shell .home-overview-header .home-heading>p,.shell .home-overview-header .date-label{color:#e9fafb}.shell .home-overview-header .date-label{padding:0;font-size:12px}.shell .home-heading-icon{display:inline-grid;place-items:center;flex-shrink:0;width:36px;height:36px;color:#e6fff7;border:1px solid #d8fff15c;border-radius:11px;background:linear-gradient(135deg,#ffffff2f,#ffffff0a);box-shadow:inset 0 1px #fff3,0 4px 12px #092f4a1c}.shell .home-overview-header :is(.home-law-entry,.online-users-trigger){color:#edfffc;background:#ffffff0f;border:1px solid #ffffff33;padding:4px 8px;border-radius:8px}.shell .home-overview-header :is(.home-law-entry,.online-users-trigger):hover{color:#fff;background:#ffffff18;border-color:#ffffff65}.shell :is(.panel,.paper-grid,.chat-page){background:var(--glass);border:1px solid var(--glass-border);border-radius:14px;box-shadow:var(--polish-shadow)}.shell .stat-grid{grid-template-columns:repeat(3,minmax(0,1fr)) minmax(150px,.65fr);gap:10px;padding:0;border:0;background:transparent;box-shadow:none}.shell .stat-grid>:is(div,a){position:relative;min-height:66px;padding:10px 38px 10px 14px;border:1px solid #ffffffd9;border-radius:12px;background:linear-gradient(120deg,#e1f5ec,#f0fcf7cc);box-shadow:0 3px 12px #2556400a,inset 0 1px #fff}.shell .stat-grid>div{align-items:center;gap:8px}.shell .stat-grid>div:nth-child(2){background:linear-gradient(120deg,#e4efff,#f3f8ffcc)}.shell .stat-grid>div:nth-child(3){background:linear-gradient(120deg,#eee7fc,#f9f5ffcc)}.shell .stat-grid strong{color:#21644f;font-size:24px;font-weight:700;font-variant-numeric:tabular-nums}.shell .stat-grid>div:nth-child(2) strong{color:#2a5d98}.shell .stat-grid>div:nth-child(3) strong{color:#644ca0}.shell .stat-grid :is(span,small){color:#4b6674}.shell .stat-grid .stat-icon{position:absolute;top:50%;right:13px;transform:translateY(-50%);color:#5c9b85}.shell .stat-grid>div:nth-child(2) .stat-icon{color:#648fbe}.shell .stat-grid>div:nth-child(3) .stat-icon{color:#9275bd}.shell .stat-grid>a{grid-column:auto;margin:0;padding:10px 14px;gap:8px;color:#805128;font-weight:600;background:linear-gradient(120deg,#fae9d6,#fff6eacc)}.shell .stat-grid>a :is(svg,span){color:inherit}.shell .stat-grid>a:hover{background:#f9e4c8}.shell .section-title h2 span{border:1px solid #cee5e2;background:#e6f3f2;color:#317575;font-variant-numeric:tabular-nums}.shell :is(.table-wrap,.table-scroll){border-radius:9px}.shell th{background:#eaf2f8;color:#476578}.shell td{border-color:#e2ebf0}.shell tbody tr:hover{background:#e8f6f39c}.shell .paper-card{position:relative;background:transparent;border-color:#dce8ed;transition:background-color .15s ease}.shell .paper-card:before{content:"";position:absolute;inset:12px auto 12px 0;width:3px;border-radius:0 4px 4px 0;background:linear-gradient(#58bfa6,#5a9bc3);opacity:0}.shell .paper-card:hover{background:#e6f7f2b8}.shell .paper-card:hover:before{opacity:1}.shell .paper-card>button{color:#116a68;border-color:#b5dcd6;background:linear-gradient(135deg,#e0f3ec,#e5f2fb);box-shadow:inset 0 1px #fff}.shell .paper-card>button:hover:not(:disabled){color:#075c5a;border-color:#8cbfb5;background:#ccebe3}:is(.shell,.login-page,body:has(.shell)>.modal-backdrop,body:has(.shell)>.law-dialog) :is(button,.button){border-radius:8px;transition:background-color .15s ease,color .15s ease,border-color .15s ease}:is(.shell,.login-page,body:has(.shell)>.modal-backdrop) .primary{position:relative;overflow:hidden;border-color:#116d78;color:#fff;background:linear-gradient(125deg,#0d786d,#1a7199);box-shadow:0 4px 12px #237b7c2c,inset 0 1px #ffffff40}:is(.shell,.login-page,body:has(.shell)>.modal-backdrop) .primary:hover:not(:disabled){color:#fff;border-color:#085e6b;background:linear-gradient(125deg,#086b60,#156186)}:is(.shell,.login-page,body:has(.shell)>.modal-backdrop) .primary:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(110deg,transparent 15%,#ffffff24 45%,transparent 70%);transform:translate(-120%);pointer-events:none}.shell :is(input:not([type=checkbox]):not([type=radio]),select,textarea),.login-card input{border-radius:8px;background:#ffffffeb;border-color:#cadde5}.shell .history-controls{border-color:#cddfe6;border-radius:10px;background:#f6fbfcad}.shell .admin-tabs{padding:4px;gap:4px;border:1px solid #ffffffeb;border-radius:11px;background:#dfeef1ad;box-shadow:inset 0 1px #fff}.shell .admin-tabs a{padding:6px 10px;border:1px solid transparent;border-radius:8px}.shell .admin-tabs a.active{color:#0b7470;border-color:#fff;background:#ffffffed;box-shadow:0 2px 8px #28485f12}.shell :is(.price-list span,fieldset:not(.import-settings-fields),.import-files,.review-column,.empty){border-radius:10px}.shell .selected-job{border-radius:10px;background:#e3f3ef;box-shadow:inset 3px 0 #4ba698}.shell .chat-header{background:linear-gradient(110deg,#e2f5f0d9,#e6edf9b8)}.shell .chat-composer{border:1px solid #c0dcd8;border-radius:14px;background:#fffffff0;box-shadow:0 5px 20px #1d637712,inset 0 1px #fff}.shell .chat-user{border-color:#c4e0de;border-radius:14px 14px 4px;background:linear-gradient(120deg,#ddf3e8,#e7f1fb);box-shadow:0 2px 8px #234b5606}.shell .chat-effort[data-effort=xhigh] :is(.chat-effort-selected,.chat-effort-labels .is-selected){animation:none;text-shadow:none}.shell :is(.chat-add-menu,.chat-effort-card,.online-users-popover){color:var(--ink);border:1px solid #ffffffed;border-radius:13px;background:#f8fcfff2;box-shadow:var(--polish-shadow-raised)}:is(.shell,body:has(.shell)>.modal-backdrop) .modal,body:has(.shell)>.law-dialog{border:1px solid #ffffffed;border-radius:16px;background:#f9fcff;box-shadow:var(--polish-shadow-dialog),inset 0 1px #fff}.shell .modal-backdrop,body:has(.shell)>.modal-backdrop,body:has(.shell)>.law-dialog::backdrop{background:#16394c66;-webkit-backdrop-filter:none;backdrop-filter:none}body:has(.shell)>.task-backdrop .task-drawer{background:linear-gradient(135deg,#eef8f5,#edf2fc);box-shadow:-8px 0 36px #17394b25}body:has(.shell)>.task-backdrop :is(.task-card,.task-result){border-color:#d2e3e8;border-radius:12px;box-shadow:0 2px 5px #243c5108}.login-page{background-image:radial-gradient(ellipse 500px 450px at 20% 25%,#aee4d780,transparent),radial-gradient(ellipse 560px 500px at 80% 65%,#bdc8f880,transparent),radial-gradient(ellipse 360px 340px at 60% 5%,#fae5cb80,transparent)}.login-card{border:1px solid var(--glass-border);border-radius:22px;background:#ffffffc9;box-shadow:0 8px 20px #28485f0a,0 24px 64px #28485f18,inset 0 1px #fff}.login-brand .brand{color:#175f66;letter-spacing:1px}@supports ((backdrop-filter: blur(8px)) or (-webkit-backdrop-filter: blur(8px))){.login-card,.shell :is(.chat-add-menu,.chat-effort-card,.online-users-popover){-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}}@keyframes workspace-enter{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@keyframes workspace-fade{0%{opacity:0}to{opacity:1}}@keyframes workspace-drawer{0%{opacity:0;transform:translate(18px)}to{opacity:1;transform:translate(0)}}@keyframes workspace-shine{0%{transform:translate(-120%)}to{transform:translate(120%)}}@media(prefers-reduced-motion:no-preference){.shell :is(.page-header,.panel,.stat-grid),.login-card{animation:workspace-enter .26s var(--polish-ease)}.shell .chat-header,.shell .modal-backdrop .modal,body:has(.shell)>.modal-backdrop .modal,body:has(.shell)>.law-dialog{animation:workspace-fade .22s var(--polish-ease)}body:has(.shell)>.task-backdrop .task-drawer{animation:workspace-drawer .24s var(--polish-ease)}.shell .paper-card:before{transition:opacity .15s ease}}@media(hover:hover)and (pointer:fine)and (prefers-reduced-motion:no-preference){.shell :is(.primary:not(.icon-button),.paper-card>button,.stat-grid>a,.sidebar nav a),.login-card .primary,body:has(.shell)>.modal-backdrop .primary{transition:transform .18s var(--polish-ease),background-color .15s ease,color .15s ease,border-color .15s ease}.shell :is(.primary:not(.icon-button),.paper-card>button,.stat-grid>a):hover:not(:disabled),.login-card .primary:hover:not(:disabled),body:has(.shell)>.modal-backdrop .primary:hover:not(:disabled){transform:translateY(-2px)}.shell .sidebar nav a:hover{transform:translate(2px)}:is(.shell,.login-page,body:has(.shell)>.modal-backdrop) .primary:hover:not(:disabled):after{animation:workspace-shine .48s var(--polish-ease)}.shell :is(.primary:not(.icon-button),.paper-card>button,.stat-grid>a):active:not(:disabled),.login-card .primary:active:not(:disabled),body:has(.shell)>.modal-backdrop .primary:active:not(:disabled){transform:translateY(0)}}@media(min-width:761px){.shell #papers .paper-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;background:transparent;border:0;border-radius:0;box-shadow:none;overflow:visible}.shell #papers .paper-card{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:1fr auto;align-items:start;gap:8px;min-width:0;min-height:104px;padding:10px 12px;border:1px solid var(--glass-border);border-radius:12px;background:var(--glass);box-shadow:0 3px 14px #28485f0b,inset 0 1px #fff}.shell #papers .paper-card:hover{background:#edf9f6;border-color:#b5dcd6}.shell #papers .paper-summary{grid-column:1 / -1}.shell #papers .paper-summary h3{font-size:14px;line-height:1.5}.shell #papers .paper-summary p{overflow-wrap:anywhere}.shell #papers .paper-meta{grid-column:1;min-width:0;flex-direction:row;align-items:center;gap:3px 10px}.shell #papers .paper-meta span{max-width:100%;overflow-wrap:anywhere}.shell #papers .paper-card>button{grid-column:2;grid-row:2;align-self:center;justify-self:end;white-space:nowrap}}@media(min-width:761px)and (max-width:1100px){.shell #papers .paper-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(min-width:1600px){.shell #papers .paper-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1100px){.shell .stat-grid>div{flex-direction:column;align-items:flex-start;gap:1px;padding-right:32px}}@media(max-width:760px){.shell .sidebar{border-right:0;border-bottom:1px solid #ffffff3b;box-shadow:0 4px 14px #163a4b16}.shell .sidebar nav a.active{box-shadow:inset 0 -2px #8ce1ca}.shell .page-header{padding:10px 12px}.shell .home-overview-header h1{font-size:20px}.shell .home-overview-header .home-heading>p{margin-left:46px}.shell .home-overview-header :is(.home-law-entry,.online-users-trigger){padding:4px 6px}.shell .stat-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:0}.shell .stat-grid>div{padding:10px 9px;min-height:76px}.shell .stat-grid>div>span{font-size:11px}.shell .stat-grid .stat-icon{display:none}.shell .stat-grid>a{grid-column:1 / -1;min-height:40px;padding:7px 12px;border-top:1px solid #ffffffd9}.shell :is(.panel,.paper-grid,.chat-page){box-shadow:0 3px 14px #28485f0b,inset 0 1px #fff}.shell .admin-tabs{gap:2px}.login-card{padding:22px}.login-card,.shell :is(.chat-add-menu,.chat-effort-card,.online-users-popover){-webkit-backdrop-filter:none;backdrop-filter:none}.shell :is(.chat-add-menu,.chat-effort-card,.online-users-popover){background:#f8fcff}}@media(prefers-reduced-motion:reduce){:is(.shell,.login-page,body:has(.shell)>.modal-backdrop,body:has(.shell)>.law-dialog) :is(button,.button,nav a,input,select,textarea),.shell .paper-card,.shell .paper-card:before{transition:none}}@media(prefers-reduced-transparency:reduce){.shell #papers .paper-grid{--glass: #fff}.shell .sidebar{background:#153c47}.shell :is(.panel,.paper-grid,.chat-page,.chat-add-menu,.chat-effort-card,.online-users-popover),.shell .page-header:not(.home-overview-header),.login-card{background:#fff;-webkit-backdrop-filter:none;backdrop-filter:none}}
