:root{--blue:#193b80;--pale:#edf3fc;--yellow:#f5c84c;--red:#c73535;--ink:#202938;--muted:#667085;--line:#dde2ea;--bg:#f7f8f8;--white:#fff;--soft:#f6f7f9;--radius:16px;font-family:var(--app-font,"HarmonyOS Sans SC","PingFang SC",sans-serif);font-size:16px;color:var(--ink);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}button{border:1px solid var(--line);border-radius:10px;background:white;padding:10px 15px;color:var(--ink);font-size:14px;font-weight:500;display:inline-flex;align-items:center;justify-content:center;gap:7px;line-height:1.4}button:hover:not(:disabled){background:var(--soft);border-color:#b6c0d0}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #9bb3df;outline-offset:2px}.primary{background:var(--blue);color:white;border-color:var(--blue)}.primary:hover:not(:disabled){background:#122f68;color:white;border-color:#122f68}.danger{color:var(--red)}.text-button{border:0;padding:6px 8px;background:transparent;color:var(--blue)}.small-button{padding:7px 10px;font-size:14px}.icon-button{width:38px;height:38px;padding:8px}.icon{width:18px;height:18px;flex-shrink:0;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round}a{color:var(--blue);text-decoration:none}p{line-height:1.65;margin:8px 0}h1{font-size:36px;font-weight:400;line-height:1.35;margin:0 0 8px}h2{font-size:21px;font-weight:600;line-height:1.45;margin:0 0 8px}h3{font-size:17px;font-weight:600;margin:0 0 8px}label{display:block;font-size:14px;font-weight:500;line-height:1.5;margin-bottom:7px}input:not([type=checkbox]):not([type=radio]):not([type=file]),textarea,select{width:100%;background:white;color:var(--ink);border:1px solid var(--line);border-radius:10px;padding:10px 12px;min-height:42px}textarea{resize:vertical;line-height:1.55;min-height:76px}input::placeholder,textarea::placeholder{color:#8791a2}select{appearance:none;padding-right:36px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Cpath d='m5 7 4 4 4-4' fill='none' stroke='%23667085' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center}input[type=checkbox],input[type=radio]{width:17px;height:17px;accent-color:var(--blue);vertical-align:middle}.muted{color:var(--muted)}.fine{font-size:13px;line-height:1.6;color:var(--muted)}.mono{font-variant-numeric:tabular-nums}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0)}.demo-bar{min-height:38px;display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;background:var(--pale);border-bottom:1px solid var(--line);padding:6px 20px;font-size:13px;color:var(--blue)}.demo-bar select{width:auto;min-height:28px;padding:3px 30px 3px 9px;font-size:13px}.topbar{height:72px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:0 28px;background:white;border-bottom:1px solid var(--line)}.brand{font-size:20px;font-weight:600;white-space:nowrap}.brand span{font-weight:400;color:var(--muted);font-size:14px;margin-left:12px}.top-actions{display:flex;gap:10px;align-items:center}.user-label{font-size:14px;color:var(--muted)}.layout{display:grid;grid-template-columns:208px minmax(0,1fr);min-height:calc(100vh - 72px)}.sidebar{background:#fff;border-right:1px solid var(--line);padding:28px 16px;display:flex;flex-direction:column;gap:6px}.nav-button{justify-content:flex-start;border:0;background:transparent;color:var(--muted);padding:13px 16px;border-radius:10px;font-size:15px}.nav-button.active{background:var(--pale);color:var(--blue)}.sidebar-note{margin-top:auto;padding:32px 14px 0;font-size:13px;line-height:1.7;color:var(--muted)}.main{padding:36px 40px 48px;max-width:1700px;width:100%;min-width:0;margin:0 auto}.page-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:28px}.page-head p{color:var(--muted);margin:0}.eyebrow{font-size:13px;color:var(--muted);margin-bottom:10px}.card{background:white;border:1px solid var(--line);border-radius:16px;padding:24px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:28px}.stat-label{font-size:14px;color:var(--muted)}.stat-number{font-size:36px;font-weight:500;margin-top:15px;font-variant-numeric:tabular-nums}.stat-meta{font-size:13px;color:var(--muted);margin-top:8px}.overview-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:24px}.section-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}.section-head h2,.section-head h3{margin:0}.expert-progress{padding:18px 0;border-bottom:1px solid var(--line)}.expert-progress:last-child{border:0;padding-bottom:0}.progress-label{display:flex;justify-content:space-between;gap:10px;margin-bottom:10px;font-size:14px}.progress{height:6px;border-radius:10px;background:#edf0f4;overflow:hidden}.progress>span{display:block;height:100%;background:var(--blue);border-radius:10px}.progress>span.complete{background:var(--yellow)}.steps{list-style:none;padding:0;margin:0}.steps li{padding:15px 0;border-bottom:1px solid var(--line)}.steps li:last-child{border:0}.steps strong{font-size:15px;font-weight:600}.steps p{font-size:14px;color:var(--muted);margin:4px 0 0}.badge{display:inline-flex;align-items:center;gap:5px;border-radius:10px;padding:4px 9px;font-size:12px;font-weight:500;background:var(--soft);white-space:nowrap;color:var(--muted)}.badge.complete{color:#3e3520;background:#f8dfa0}.badge.draft{color:var(--blue);background:var(--pale)}.badge.error{color:var(--red);background:#fff4f4}.empty{text-align:center;padding:58px 24px}.empty .icon{height:34px;width:34px;color:#8a96a8;margin-bottom:15px}.empty h3{font-size:18px}.empty p{color:var(--muted);font-size:14px;margin:8px 0 20px}.toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:20px}.search{position:relative;flex:1;min-width:200px}.search>.icon{position:absolute;left:12px;top:12px;color:var(--muted)}.search input{padding-left:40px!important}.toolbar select{width:165px}.toolbar .batch-input{width:160px!important}.check-line{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:400;margin:0}.selection-bar{display:flex;align-items:center;gap:14px;justify-content:space-between;padding:13px 16px;background:var(--pale);border-radius:10px;margin-bottom:20px;font-size:14px}.selection-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.art-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.art-card{border:1px solid var(--line);border-radius:16px;background:#fff;overflow:hidden;position:relative;min-width:0}.art-card.selected{border-color:var(--blue);box-shadow:0 0 0 1px var(--blue)}.art-preview{display:flex;width:100%;height:180px;background:#f1f3f5;border:0;border-radius:0;padding:12px;align-items:center;justify-content:center;overflow:hidden}.art-preview img{max-width:100%;max-height:100%;object-fit:contain}.art-check{position:absolute;left:12px;top:12px;z-index:1;background:white;padding:5px;border-radius:10px;display:flex;margin:0;box-shadow:0 1px 2px #0001}.art-check input{margin:0}.art-info{padding:15px 16px 12px}.art-code{font-weight:600;font-size:15px}.art-filename{font-size:12px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:6px}.art-footer{display:flex;justify-content:space-between;align-items:center;padding:0 12px 12px;font-size:12px;color:var(--muted)}.art-footer button{padding:4px 7px;font-size:13px;border:0}.pagination{display:flex;align-items:center;justify-content:space-between;margin-top:24px;font-size:14px;color:var(--muted)}.pagination .actions{display:flex;gap:10px;align-items:center}.dropzone{border:1px dashed #a7b4c9;border-radius:16px;padding:30px 20px;text-align:center;background:#fafbfd}.dropzone.dragging{background:var(--pale);border-color:var(--blue)}.dropzone h3{margin-top:10px}.dropzone p{font-size:14px;color:var(--muted)}.drop-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:18px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:18px}.field{margin-bottom:18px}.field:last-child{margin-bottom:0}.queue{margin-top:20px;border-top:1px solid var(--line);max-height:280px;overflow:auto}.queue-row{display:flex;gap:10px;align-items:center;justify-content:space-between;padding:12px 2px;border-bottom:1px solid var(--line);font-size:13px}.queue-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.upload-progress{margin-top:20px}.notice{background:var(--pale);border-radius:10px;padding:12px 15px;color:var(--blue);font-size:14px;line-height:1.6}.notice.error{background:#fff4f4;color:var(--red)}.notice.neutral{background:var(--soft);color:var(--muted)}.expert-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.expert-card{display:flex;flex-direction:column;gap:18px}.avatar{width:44px;height:44px;border:1px solid var(--line);border-radius:16px;display:flex;align-items:center;justify-content:center;font-size:17px;font-weight:600;background:var(--soft)}.expert-title{display:flex;align-items:center;gap:13px}.expert-title h3{margin:0 0 5px}.expert-counts{display:flex;gap:32px;font-size:14px;color:var(--muted)}.expert-counts strong{display:block;font-size:26px;font-weight:500;color:var(--ink);margin-bottom:5px}.card-actions{display:flex;flex-wrap:wrap;gap:8px}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:16px;background:white}table{border-collapse:collapse;width:100%;font-size:14px;white-space:nowrap}th,td{text-align:left;padding:15px 14px;border-bottom:1px solid var(--line)}th{background:#fafbfc;color:var(--muted);font-weight:500}tr:last-child td{border-bottom:0}tbody tr:hover{background:#fbfcfd}.score-cell{text-align:center;min-width:50px}.export-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:26px}.export-options p{font-size:14px;color:var(--muted)}.export-options .card-actions{margin-top:18px}.modal-backdrop{position:fixed;inset:0;background:#17233755;z-index:80;display:flex;align-items:center;justify-content:center;padding:24px}.modal{background:white;border-radius:24px;border:1px solid var(--line);max-width:680px;width:100%;max-height:calc(100dvh - 48px);display:flex;flex-direction:column;box-shadow:0 1px 2px #0001}.modal.wide{max-width:950px}.modal-head{padding:22px 26px 18px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px}.modal-head h2{margin:0}.modal-body{padding:24px 26px;overflow:auto}.modal-footer{padding:16px 26px;display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--line)}.drawer-backdrop{position:fixed;inset:0;background:#17233733;z-index:90;display:flex;justify-content:flex-end}.drawer{width:min(520px,100%);height:100dvh;display:flex;flex-direction:column;background:white;border-left:1px solid var(--line)}.drawer-body{padding:24px;overflow:auto}.drawer .section-label{color:var(--muted);font-size:13px;margin:22px 0 6px}.drawer .question{font-size:20px;line-height:1.6;margin-top:4px}.anchor-row{display:grid;grid-template-columns:64px 1fr;gap:12px;padding:13px 0;border-bottom:1px solid var(--line);font-size:14px;line-height:1.65}.anchor-row strong{font-weight:600;color:var(--blue)}.rubric-tabs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:20px}.rubric-tabs button.active{background:var(--pale);color:var(--blue);border-color:var(--pale)}.rubric-index{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.rubric-index button{display:block;text-align:left;padding:20px;border-radius:16px}.rubric-index strong{font-size:17px;display:block;margin-bottom:8px}.rubric-index p{font-size:14px;color:var(--muted);margin:0}.rubric-code{font-size:13px;font-weight:500;color:var(--blue);margin-bottom:9px}.principles{padding-left:22px;line-height:1.8;color:var(--muted);font-size:15px}.login-wrap{max-width:440px;margin:70px auto;padding:0 20px}.login-card{padding:32px}.login-card h1{font-size:30px}.login-card>p{color:var(--muted);font-size:14px;margin:10px 0 28px}.login-card .primary{width:100%}.login-hint{margin-top:18px;font-size:13px;color:var(--muted);line-height:1.6}.boot{text-align:center;padding:18vh 20px}.boot p{color:var(--muted)}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);z-index:150;max-width:min(580px,calc(100% - 32px));background:#202938;color:white;padding:12px 18px;border-radius:10px;box-shadow:0 1px 2px #0001;font-size:14px;display:none;line-height:1.6}#toast.visible{display:block}#toast.error{background:var(--red)}.expert-shell{height:calc(100dvh - 72px);display:flex;flex-direction:column}.demo-mode .expert-shell{height:calc(100dvh - 112px)}.work-header{height:69px;flex-shrink:0;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 24px;gap:16px}.work-heading{display:flex;gap:14px;align-items:center;min-width:0}.work-heading h2{margin:0;font-size:20px}.work-heading span{white-space:nowrap}.work-nav{display:flex;align-items:center;gap:8px}.expert-columns{flex:1;min-height:0;display:grid;grid-template-columns:minmax(360px,1.15fr) minmax(440px,1fr)}.image-area{position:relative;display:flex;flex-direction:column;min-height:0;border-right:1px solid var(--line);background:#eef0f2}.image-toolbar{display:flex;align-items:center;justify-content:center;gap:8px;padding:12px;flex-wrap:wrap;background:#f8f9fa;border-bottom:1px solid var(--line)}.image-toolbar button{height:34px;padding:6px 9px;background:white}.image-viewport{position:relative;flex:1;min-height:240px;overflow:hidden;touch-action:none;display:flex;align-items:center;justify-content:center;cursor:grab;padding:20px}.image-viewport:active{cursor:grabbing}.image-viewport:fullscreen{background:#eceff2;min-height:100vh;padding:28px}.image-viewport img{max-width:100%;max-height:100%;object-fit:contain;transform-origin:center;user-select:none;-webkit-user-drag:none;transition:none;will-change:transform}.image-viewport .image-error{position:absolute;max-width:300px;padding:20px;text-align:center;background:white;border:1px solid var(--line);border-radius:16px}.image-caption{padding:9px 18px;text-align:center;font-size:12px;color:var(--muted);background:#f8f9fa;border-top:1px solid var(--line)}.rating-panel{display:flex;flex-direction:column;min-height:0;background:white}.rating-scroll{padding:22px 25px 30px;overflow-y:auto;min-height:0;flex:1;scroll-behavior:smooth}.rating-topline{display:flex;justify-content:space-between;align-items:center;font-size:13px;color:var(--muted);margin-bottom:18px}.dimension-card{border-bottom:1px solid var(--line);padding:0 0 22px;margin:0 0 22px;scroll-margin-top:12px}.dimension-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px}.dimension-head h3{margin:0;font-size:16px}.dim-code{color:var(--muted);font-size:13px;font-weight:500;margin-right:8px}.definition-trigger{font-size:14px;color:var(--blue);padding:4px 6px;border:0;white-space:nowrap;background:transparent}.dimension-question{font-size:14px;line-height:1.6;color:var(--muted);margin:0 0 12px}.score-group{display:grid;grid-template-columns:repeat(10,minmax(0,1fr)) 1.4fr;gap:4px;margin-bottom:10px}.score-button{padding:9px 0;font-size:14px;border-radius:10px;min-height:37px;font-variant-numeric:tabular-nums}.score-button.selected{background:var(--blue);border-color:var(--blue);color:white}.score-button.na{font-size:13px}.score-button.na.selected{background:var(--pale);border-color:var(--blue);color:var(--blue)}.rating-comment{font-size:16px;min-height:68px!important}.rating-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 24px;background:white;border-top:1px solid var(--line);flex-shrink:0}.save-status{font-size:12px;color:var(--muted);line-height:1.5}.save-status.error{color:var(--red)}.save-status button{padding:2px 5px;font-size:12px}.rating-actions .primary{padding:11px 18px}.overall-card{padding:20px;border-radius:16px;border:1px solid var(--line);background:#fafbfc;margin-bottom:18px}.overall-card .field{margin-bottom:14px}.overall-card textarea{font-size:16px}.task-list{display:grid;gap:8px;max-height:440px;overflow:auto}.task-item{display:flex;align-items:center;gap:14px;justify-content:space-between;text-align:left;width:100%;padding:12px;border-radius:10px}.task-item.active{background:var(--pale);border-color:var(--blue)}.task-item img{width:60px;height:42px;object-fit:contain;background:var(--soft);border-radius:4px}.task-item strong{font-size:14px}.task-item .grow{flex:1}.readonly-notice{margin-bottom:20px}.record-dim{padding:16px 0;border-bottom:1px solid var(--line)}.record-dim:last-child{border:0}.record-dim header{display:flex;justify-content:space-between;gap:12px;margin-bottom:7px}.record-dim p{white-space:pre-wrap;font-size:14px;color:var(--muted)}.large-preview{max-width:100%;max-height:65vh;display:block;margin:auto;object-fit:contain}.choice{display:flex;align-items:flex-start;gap:10px;border:1px solid var(--line);border-radius:10px;padding:14px;margin-bottom:10px;font-size:14px;cursor:pointer}.choice input{flex-shrink:0;margin-top:3px}.choice strong{display:block;font-weight:500;margin-bottom:5px}.choice small{display:block;color:var(--muted);line-height:1.6}.link-box{display:flex;gap:8px}.link-box input{font-size:13px}.error-field{border-color:var(--red)!important}.hidden{display:none!important}.spinner{width:16px;height:16px;border:2px solid var(--line);border-top-color:var(--blue);border-radius:50%;animation:spin 1s linear infinite}.rule-divider{font-size:12px;color:var(--muted);margin:12px 0 20px;display:flex;align-items:center;gap:10px}.rule-divider:after{content:"";height:1px;background:var(--line);flex:1}@keyframes spin{to{transform:rotate(360deg)}}@media(min-width:1700px){.art-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.rating-scroll{padding-left:36px;padding-right:36px}}@media(max-width:1200px){.main{padding:30px 24px}.layout{grid-template-columns:180px minmax(0,1fr)}.art-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.expert-columns{grid-template-columns:minmax(320px,1fr) minmax(410px,1fr)}.rating-scroll{padding:18px}.overview-grid{grid-template-columns:1fr}.stats{gap:10px}.card{padding:20px}}@media(max-width:900px){.layout{grid-template-columns:1fr}.sidebar{flex-direction:row;flex-wrap:wrap;padding:10px 16px;border-right:0;border-bottom:1px solid var(--line)}.sidebar-note{display:none}.nav-button{padding:9px 12px;font-size:14px}.main{padding:26px 20px}.expert-grid{grid-template-columns:1fr 1fr}.art-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.topbar{padding:0 20px}.brand span{display:none}.expert-shell,.demo-mode .expert-shell{height:auto;min-height:calc(100dvh - 110px)}.expert-columns{display:flex;flex-direction:column}.image-area{height:52vh;min-height:340px;border-right:0;border-bottom:1px solid var(--line)}.rating-panel{min-height:600px}.rating-scroll{overflow:visible}.rating-actions{position:sticky;bottom:0;z-index:20}.work-header{position:sticky;top:0;z-index:25;padding:0 16px}.image-viewport{min-height:0}.export-options{grid-template-columns:1fr}.score-group{gap:7px}.rating-scroll{padding:24px}.image-toolbar{padding:8px}}@media(max-width:600px){h1{font-size:29px}.topbar{height:64px;padding:0 16px}.top-actions .user-label{display:none}.top-actions{gap:4px}.demo-bar{justify-content:flex-start;padding:6px 14px;gap:8px}.demo-bar .demo-description{font-size:12px;flex:1}.page-head{gap:12px;margin-bottom:22px}.page-head>.primary{padding:9px 11px;white-space:nowrap}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.stat-number{font-size:30px}.stat-meta{font-size:12px}.art-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.art-preview{height:140px}.art-info{padding:12px}.art-code{font-size:13px}.selection-bar{align-items:flex-start;gap:8px;flex-direction:column}.expert-grid,.rubric-index,.form-row{grid-template-columns:1fr}.expert-counts{gap:26px}.main{padding:24px 16px}.toolbar{gap:8px}.toolbar .batch-input{width:120px!important}.toolbar select{width:130px}.card{padding:18px}.modal-backdrop{padding:12px}.modal{max-height:calc(100dvh - 24px);border-radius:16px}.modal-head{padding:18px}.modal-body{padding:18px}.modal-footer{padding:14px 18px}.work-heading{gap:8px}.work-heading h2{font-size:16px}.work-heading .badge{display:none}.work-nav button{font-size:13px;padding:8px}.work-nav .nav-label{display:none}.work-header{height:62px}.rating-scroll{padding:20px 16px}.score-group{gap:3px}.score-button{font-size:13px;min-height:38px}.rating-actions{padding:12px 16px}.rating-actions .primary{font-size:13px;padding:10px 12px}.overall-card{padding:15px}.login-wrap{margin:35px auto}.login-card{padding:25px}.image-caption{font-size:11px}.pagination{font-size:12px}.pagination .actions{gap:5px}.pagination button{padding:7px 8px}.dimension-head h3{font-size:15px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.spinner{animation:none}}

.score-button:disabled{opacity:.8}.rating-comment:disabled,.overall-card textarea:disabled{opacity:1;background:#f6f7f9;color:#414c5c}.image-viewport img{width:auto;height:auto}.rating-jump{display:flex;gap:4px;flex-wrap:wrap;margin:0 0 20px}.rating-jump button{font-size:12px;padding:5px 9px}.rating-jump button.done{background:#f6f7f9;color:var(--ink)}

/* Expert flow: the document stays still; only the current editor may scroll. */
.expert-mobile-mode{overflow:hidden;overscroll-behavior:none;background:#fff}.expert-mobile-mode #app{height:100dvh}.expert-flow{position:fixed;top:var(--flow-top,0px);left:0;right:0;height:var(--flow-height,100dvh);display:grid;grid-template-rows:56px minmax(92px,37%) 49px minmax(0,1fr) auto;background:#fff;overflow:hidden;padding-top:env(safe-area-inset-top);box-sizing:border-box}.flow-header{display:flex;align-items:center;gap:10px;padding:4px 14px;border-bottom:1px solid var(--line);min-width:0;background:#fff}.flow-task-button,.flow-next-button{height:44px;padding:8px 10px;border:0;background:transparent;font-size:14px;flex-shrink:0}.flow-task-button{padding-left:0}.flow-next-button{padding-right:0;margin-left:auto;color:var(--blue)}.flow-work-title{display:flex;align-items:baseline;gap:10px;min-width:0}.flow-work-title>span{max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;color:var(--muted)}.flow-work-title>strong{font-size:16px;font-weight:600;white-space:nowrap;font-variant-numeric:tabular-nums}.local-mode-badge{color:var(--muted);font-size:11px;white-space:nowrap;padding:3px 6px;background:#f3f5f7;border-radius:5px;margin-left:auto}.flow-header .local-mode-badge+.flow-next-button{margin-left:0}.flow-image-area{position:relative;background:#eef0f2;border-bottom:1px solid var(--line);overflow:hidden;min-height:0}.expert-flow .image-viewport{width:100%;height:100%;padding:8px 12px;min-height:0;max-height:100%;touch-action:none}.expert-flow .image-viewport img{max-height:100%;max-width:100%;object-fit:contain}.image-open-button,.image-rotate-button{position:absolute;right:12px;background:#fffefc;border-color:#dde2ea;height:36px;padding:7px 10px;font-size:12px;box-shadow:0 1px 2px #00000009}.image-open-button{top:10px}.image-rotate-button{bottom:10px;width:44px;height:44px;padding:10px;color:var(--blue)}.image-rotate-button .icon{width:22px;height:22px}.image-gesture-hint{position:absolute;left:12px;bottom:10px;font-size:11px;color:#596579;background:#ffffffd9;padding:4px 7px;border-radius:5px;pointer-events:none}.step-navigation{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:3px;padding:5px 12px;border-bottom:1px solid var(--line);background:white;min-width:0}.step-tab{position:relative;min-width:0;padding:7px 1px;border:1px solid transparent;font-size:12px;font-weight:500;min-height:38px;border-radius:7px;color:var(--muted);background:#f5f6f8}.step-tab.current{background:var(--pale);border-color:var(--blue);color:var(--blue);font-weight:600}.step-tab.confirmed{background:#fff8df;color:#635021}.step-tab.confirmed.current{border-color:var(--blue);color:var(--blue)}.step-check{display:none;position:absolute;right:2px;bottom:0px;font-size:10px;color:#86630a;font-weight:700;line-height:13px}.step-tab.confirmed .step-check{display:block}.step-tab:disabled{opacity:.8}.step-editor{min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;background:white;padding:14px 18px 16px;position:relative}.step-content{max-width:760px;margin:0 auto}.step-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:5px}.step-heading h2{font-size:18px;font-weight:600;margin:0;line-height:1.4}.step-heading h2>span{font-size:12px;color:var(--muted);font-weight:500;margin-right:8px}.step-heading .definition-trigger{font-size:12px;padding:5px 0 5px 8px;min-height:30px;gap:4px}.step-heading .definition-trigger .icon{width:14px;height:14px}.step-question{font-size:12px;line-height:1.5;color:var(--muted);margin:0 0 12px}.expert-flow .score-group{display:flex;align-items:center;gap:8px;margin-bottom:12px}.expert-flow .score-numbers{flex:1;min-width:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.expert-flow .score-button{height:40px;min-height:40px;min-width:0;padding:4px 0;font-size:15px;border-radius:8px;line-height:1.4}.expert-flow .score-button.na{width:44px;height:44px;min-height:44px;flex-shrink:0;font-size:12px}.expert-flow .score-button:disabled{opacity:1}.expert-flow .score-button.selected{background:var(--blue);border-color:var(--blue);color:#fff}.expert-flow .score-button.na.selected{background:var(--pale);color:var(--blue)}.step-field{margin-bottom:10px}.step-field:last-child{margin-bottom:0}.step-field label{font-size:12px;color:var(--muted);font-weight:500;margin:0 0 5px}.expert-flow textarea{font-size:16px;line-height:1.5;min-height:68px!important;height:82px;width:100%;padding:9px 11px;border-radius:8px;resize:vertical}.expert-flow .overall-step textarea{height:64px;min-height:60px!important}.expert-flow textarea:disabled{color:var(--ink);background:#f7f8fa;opacity:1}.flow-footer{padding:6px 18px calc(10px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:white;min-height:76px;z-index:5}.flow-footer .save-status{max-width:760px;margin:0 auto 5px;font-size:11px;line-height:1.4;min-height:16px;display:flex;align-items:center;gap:4px}.flow-footer .save-status.error{font-size:12px}.flow-footer .save-status.error>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.flow-footer .save-status button{flex-shrink:0}.flow-footer #step-action{max-width:760px;margin:0 auto}.flow-confirm{height:44px;width:100%;font-size:15px;min-height:44px;border-radius:10px}.flow-complete{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:100%;max-width:500px;margin:auto;padding:12px}.flow-complete h2{font-size:21px;margin:12px 0 0}.flow-complete p{font-size:14px;color:var(--muted);line-height:1.6;margin:8px 0 13px}.completion-symbol{height:40px;width:40px;background:#fff2c7;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#65501d}.completion-symbol .icon{width:23px;height:23px}.completion-count{font-size:12px;color:var(--muted)}.expert-mobile-mode #toast{bottom:calc(90px + env(safe-area-inset-bottom));font-size:13px;padding:9px 13px}.image-lightbox{position:fixed;inset:0;z-index:110;background:#eef0f2;overscroll-behavior:none}.fullscreen-viewer{height:100dvh;display:flex;flex-direction:column;padding-top:env(safe-area-inset-top);background:#eef0f2}.fullscreen-header{height:60px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:8px 16px;background:#fff;border-bottom:1px solid var(--line);gap:12px}.fullscreen-header strong{font-size:15px}.fullscreen-header button{height:44px;border:0;padding:8px}.fullscreen-viewport.image-viewport{flex:1;min-height:0;padding:12px;touch-action:none}.fullscreen-viewport img{max-width:100%;max-height:100%;object-fit:contain}.fullscreen-controls{display:flex;align-items:center;justify-content:center;gap:8px;padding:12px 12px calc(12px + env(safe-area-inset-bottom));background:white;flex-shrink:0;border-top:1px solid var(--line)}.fullscreen-controls button{height:44px;min-width:44px;padding:8px 10px;font-size:14px}.fullscreen-controls #zoom-level{font-size:12px;min-width:43px;text-align:center;font-variant-numeric:tabular-nums}.expert-mobile-mode .modal-backdrop,.expert-mobile-mode .drawer-backdrop{top:var(--flow-top,0px);height:var(--flow-height,100dvh);bottom:auto}.expert-mobile-mode .drawer{height:100%}.expert-mobile-mode .modal{max-height:calc(var(--flow-height,100dvh) - 24px)}.expert-mobile-mode .modal-footer{flex-wrap:wrap}.expert-mobile-mode .modal-body input,.expert-mobile-mode .modal-body select{font-size:16px}
@media(min-width:700px){.expert-flow{grid-template-rows:60px minmax(120px,39%) 51px minmax(0,1fr) auto}.flow-header{padding-left:28px;padding-right:28px;gap:16px}.flow-work-title>span{max-width:300px}.step-navigation{padding:5px max(24px,calc((100vw - 760px)/2));gap:7px}.step-tab{font-size:13px}.expert-flow .score-numbers{grid-template-columns:repeat(10,minmax(0,1fr));gap:7px}.expert-flow .score-button{height:44px;min-height:44px}.step-editor{padding-top:18px}.expert-flow textarea{height:85px}.step-question{font-size:13px}.step-heading h2{font-size:20px}.flow-footer{padding-top:7px;padding-bottom:12px}.flow-footer .save-status{font-size:12px}.flow-image-area .image-viewport{padding:12px 50px}.image-open-button{top:14px;right:24px}.image-rotate-button{bottom:14px;right:24px}.image-gesture-hint{left:24px;bottom:14px}}
@media(max-width:380px){.expert-flow .step-editor textarea{height:68px}.expert-flow .overall-step textarea{height:64px}.flow-header{padding-left:10px;padding-right:10px;gap:6px}.flow-work-title{gap:2px;flex-direction:column;align-items:flex-start}.flow-work-title>span{font-size:10px;max-width:110px}.flow-work-title>strong{font-size:14px}.flow-task-button,.flow-next-button{font-size:13px;gap:4px}.local-mode-badge{font-size:10px;padding:3px 4px}.step-navigation{padding-left:9px;padding-right:9px;gap:3px}.step-editor{padding-left:13px;padding-right:13px}.step-heading h2{font-size:16px}.flow-footer{padding-left:13px;padding-right:13px}.fullscreen-controls{gap:5px}.fullscreen-controls button{padding:8px}}
@media(max-height:690px){.expert-flow{grid-template-rows:50px minmax(86px,35%) 45px minmax(0,1fr) auto}.step-navigation{padding-top:4px;padding-bottom:4px}.step-tab{min-height:36px}.flow-footer{padding-top:4px;padding-bottom:calc(6px + env(safe-area-inset-bottom));min-height:69px}.step-editor{padding-top:10px;padding-bottom:10px}.step-question{margin-bottom:8px}.expert-flow .score-group{margin-bottom:8px}.flow-complete{padding:6px}.flow-complete h2{font-size:18px;margin-top:8px}.flow-complete p{font-size:12px;margin:5px 0}.completion-symbol{height:30px;width:30px}}
.flow-keyboard-open .expert-flow{grid-template-rows:42px minmax(76px,30%) 40px minmax(0,1fr) auto}.flow-keyboard-open .flow-header{padding-top:0;padding-bottom:0}.flow-keyboard-open .flow-task-button,.flow-keyboard-open .flow-next-button{height:38px}.flow-keyboard-open .step-navigation{padding-top:3px;padding-bottom:3px}.flow-keyboard-open .step-tab{min-height:33px}.flow-keyboard-open .flow-footer{min-height:64px;padding-top:3px;padding-bottom:4px}.flow-keyboard-open .flow-confirm{height:40px;min-height:40px}.flow-keyboard-open .flow-footer .save-status{font-size:10px;margin-bottom:3px}.flow-keyboard-open .image-gesture-hint{display:none}
@media(max-width:699px){.flow-work-title{flex-direction:column;align-items:flex-start;gap:1px}.flow-work-title>span{font-size:10px;line-height:1.3;max-width:150px}.flow-work-title>strong{font-size:15px;line-height:1.3}.step-heading{margin-bottom:10px}}
.expert-flow .step-tab{font-size:14px}.step-heading .definition-trigger,.step-field label{font-size:14px}.feedback-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.feedback-grid .step-field{min-width:0;margin-bottom:0}.expert-flow .feedback-grid textarea{height:68px;min-height:68px!important;resize:vertical}.step-heading .definition-trigger{min-height:34px}.step-field label{line-height:1.45}
@media(max-width:699px){.flow-work-title>span{font-size:14px;max-width:135px}.flow-work-title>strong{font-size:15px}.step-heading{margin-bottom:8px}.flow-work-title{gap:0}}
@media(max-width:380px){.flow-work-title>span{max-width:106px}.local-mode-badge{font-size:10px}}

/* Two-line reference prompts remain subordinate to the active scoring controls. */
.expert-flow .step-heading{margin-bottom:3px}
.step-core-definition{margin:0 0 8px;color:var(--muted);font-size:13px;line-height:1.45;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;max-height:2.9em;overflow:hidden}
.na-option{flex:0 0 56px;display:flex;flex-direction:column;align-items:center;gap:4px}
.na-description{font-size:12px;line-height:1.35;color:var(--muted);text-align:center;white-space:nowrap}
@media(max-width:699px) and (max-height:690px){
 .expert-mobile-mode:not(.flow-keyboard-open) .expert-flow{grid-template-rows:50px minmax(86px,31%) 45px minmax(0,1fr) auto}
 .expert-flow .dimension-comment-field textarea{height:68px;min-height:68px!important}
 .step-core-definition{margin-bottom:6px}
}

/* Shared line icons: one 24-unit grid across administrator and expert controls. */
.icon{display:inline-block;vertical-align:middle;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.step-check{width:12px;height:12px;right:2px;bottom:1px;line-height:1}
.step-check .icon{display:block;width:12px;height:12px;stroke-width:1.8}
select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 8.5 7 7 7-7'/%3E%3C/svg%3E");background-size:16px 16px}
