@font-face{font-family:system-fb;src:local("Inter"),local("SF Pro Display")}*{box-sizing:border-box} :root{font-family:system-fb,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:#223439;background:#f6f7f8;font-synthesis:none;--ink:#223439;--muted:#7b878d;--line:#e3e8e9;--green:#285b53;--accent:#c8e2b9;--sidebar:248px}body{margin:0;font-size:14px}button,input,a{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button{color:inherit}button:disabled{opacity:.35;cursor:not-allowed}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,[tabindex]:focus-visible{outline:3px solid #9fc5b9;outline-offset:3px}[hidden]{display:none!important}.topbar{height:88px;background:#fff;position:fixed;inset:0 0 auto;z-index:20;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 30px;gap:30px}.brand{display:flex;gap:11px;align-items:center;min-width:218px;font-size:24px;letter-spacing:-1px;font-weight:750;line-height:1.1}.brand-symbol{position:relative;background:#24494a;border-radius:11px;width:39px;height:43px;font-family:Georgia,serif;font-size:40px;line-height:49px;text-align:center;color:#fff;font-style:italic}.brand-symbol>span{position:absolute;right:3px;top:-4px;font-family:inherit;font-size:20px;color:#c8e2b9}.brand-light{font-weight:430}.brand small{display:block;margin-top:6px;font-size:7px;letter-spacing:2.6px;font-weight:600;color:#7c8889}.top-context{display:flex;align-items:center;gap:9px;font-size:12px;color:#6a797c}.context-dot{height:6px;width:6px;background:#6c9687;border-radius:50%}.context-divider{color:#c0c8cb;margin:0 6px}.top-actions{margin-left:auto;display:flex;align-items:center;gap:24px;font-size:12px}.local-tag{color:#718078;white-space:nowrap}.local-tag>span{font-size:11px;margin-right:4px;color:#75937c}.repo-link{display:flex;gap:20px;font-weight:600;padding:9px 13px;border:1px solid var(--line);border-radius:6px}.repo-link:hover{border-color:#8caaa0}.sidebar{position:fixed;left:0;top:88px;bottom:0;width:var(--sidebar);display:flex;flex-direction:column;border-right:1px solid var(--line);background:#fff;padding:28px 17px 0;z-index:15}.sidebar-heading{padding:0 7px;display:flex;align-items:center;justify-content:space-between}.eyebrow{font-size:9px;letter-spacing:1.7px;font-weight:650;color:#90a19e}.sidebar-heading h2{font-size:17px;letter-spacing:-.5px;margin:8px 0 22px;font-weight:650}.sidebar-heading h2>span{margin-left:8px;font-size:11px;letter-spacing:0;background:#f0f3f1;border:1px solid #e6eae7;border-radius:5px;padding:2px 5px;color:#7d8c85;font-weight:500}.search{display:flex;align-items:center;gap:8px;border:1px solid #e1e7e5;background:#fafbfa;border-radius:6px;padding:8px 9px;color:#89928f;margin:0 5px}.search>span{font-size:23px;line-height:15px;transform:rotate(-15deg)}.search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#34483e;font-size:11px}.search input::placeholder{color:#939e9a}.search kbd{font-size:10px;border:1px solid #e1e7e5;border-radius:3px;padding:0 3px;color:#a1aaa5}.filters{display:flex;gap:4px;margin:15px 5px 16px}.filters button{border:0;background:transparent;border-radius:5px;font-size:10px;color:#81908b;padding:6px 11px}.filters button.active{background:#edf3ed;color:#3b6455;font-weight:600}.case-list{overflow-y:auto;flex:1;margin:0 -6px 0 -2px;padding:0 7px 18px 2px;scrollbar-width:thin;scrollbar-color:#dbe3df transparent}.case-link{display:flex;align-items:flex-start;text-align:left;width:100%;border:1px solid transparent;border-radius:7px;background:transparent;gap:10px;padding:11px 9px;margin:3px 0;color:#64736e;transition:background .15s}.case-link:hover{background:#f5f8f5}.case-link.active{background:#eef4eb;border-color:#e4ecdd}.case-number{font-size:10px;line-height:19px;border:1px solid #e3e8e5;border-radius:4px;background:#fafcfb;min-width:25px;text-align:center;color:#8a9690;font-variant-numeric:tabular-nums}.active .case-number{background:#426952;border-color:#426952;color:#fff}.case-link-content{min-width:0;flex:1}.case-link-title{font-size:11px;font-weight:550;line-height:1.7;display:block}.active .case-link-title{color:#315642;font-weight:650}.case-link-subtitle{display:block;font-size:9px;color:#94a098;line-height:1.6;margin-top:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.case-list-dot{width:5px;height:5px;min-width:5px;border-radius:50%;background:#c3c9c5;margin-top:8px}.case-list-dot.failed{background:#c79576}.case-list-dot.passed{background:#719780}.case-list-dot.pending{background:#c7c1b5}.list-message{font-size:12px;color:#8a9690;padding:10px}.sidebar-bottom{border-top:1px solid var(--line);padding:19px 5px;display:flex;align-items:flex-start;gap:8px;color:#87948b;font-size:9px;line-height:1.6}.sidebar-bottom small{font-size:8px;color:#a0aaa4}.sidebar-bottom .text-button{font-size:9px;margin-left:auto}.tiny-dot{width:4px;height:4px;background:#9cad9d;border-radius:50%;margin-top:5px}.main{margin-left:var(--sidebar);padding:122px 32px 0;max-width:2200px}.case-breadcrumb{display:flex;align-items:center;gap:9px;color:#8c9a9d;letter-spacing:1.8px;font-size:9px}.case-breadcrumb .slash{color:#c1c9cb;margin:0 3px}.case-breadcrumb>#caseKicker{color:#56706a;letter-spacing:1.2px}.case-stepper{margin-left:auto;display:flex;gap:3px;align-items:center}.icon-button{display:inline-flex;align-items:center;justify-content:center;background:transparent;border:0;border-radius:5px;width:29px;height:29px;padding:0;color:#8b999b;font-size:17px;line-height:1}.icon-button:hover{background:#edf1ef;color:#32584c}.case-stepper .icon-button{font-size:15px;border:1px solid #e0e6e5;background:#fff;width:27px;height:25px}.case-title-line{display:flex;gap:20px;align-items:flex-start;margin-top:15px}h1{font-weight:630;font-size:29px;line-height:1.35;letter-spacing:-.7px;margin:0}.case-question{font-size:12px;color:#7d898d;line-height:1.9;margin:10px 0 0;max-width:850px}.family-tag{font-size:10px;color:#77907d;white-space:nowrap;border:1px solid #dde7dc;background:#f0f5ed;border-radius:4px;padding:6px 9px;margin-top:7px}.variant-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:27px 0 17px;min-height:42px}.variant-select{display:flex;align-items:center;gap:13px;min-width:0}.control-label{font-size:10px;color:#8b979a;white-space:nowrap}.variant-options{display:flex;gap:5px;flex-wrap:wrap}.variant-button{font-size:11px;padding:7px 11px;border:1px solid #e1e6e5;background:#fff;border-radius:5px;color:#758680;white-space:nowrap}.variant-button.active{background:#284f4b;border-color:#284f4b;color:#fff;box-shadow:0 2px 3px #233f4310}.variant-button small{opacity:.6;font-size:9px;margin-left:4px}.view-controls{display:flex;gap:12px;align-items:center;color:#84938d;font-size:10px;white-space:nowrap}.toggle-control,.sync-control{display:flex;gap:6px;align-items:center;cursor:pointer}.toggle-control input,.sync-control input{position:absolute;opacity:0;pointer-events:none}.toggle-track{height:14px;width:25px;display:inline-flex;background:#dce3df;border-radius:10px;padding:2px;align-items:center;transition:background .2s}.toggle-track:before{content:"";width:10px;height:10px;border-radius:50%;background:#fff;box-shadow:0 1px 2px #1a3b3c20;transition:transform .2s}.toggle-control input:checked+.toggle-track{background:#608b75}.toggle-control input:checked+.toggle-track:before{transform:translateX(11px)}.toggle-control input:focus-visible+.toggle-track{outline:2px solid #8eb59f;outline-offset:2px}.sync-control input:not(:checked)~span{color:#b1b8b4}.sync-control input:focus-visible+span{outline:2px solid #8eb59f}.sync-control #syncIcon{font-size:16px;line-height:1}.toolbar-divider{width:1px;height:14px;background:#dce3df}.subtle-button{border:0;background:transparent;padding:5px 0 5px 6px;color:#83918b;font-size:10px}.subtle-button:hover{color:#285b53}.representation-notice{display:flex;align-items:flex-start;gap:8px;padding:10px 13px;border:1px solid #e6e8db;border-radius:6px;background:#fafbf6;color:#8c9279;font-size:10px;line-height:1.7;margin:0 0 15px}.comparison-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.viewer-card{background:#fff;border:1px solid #e0e7e5;border-radius:10px;box-shadow:0 3px 10px #2d4b4210;overflow:hidden;min-width:0;display:flex;flex-direction:column}.viewer-header{min-height:68px;padding:15px 17px 12px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #edf0ee;gap:6px}.viewer-header>div:first-child{display:flex;align-items:baseline;flex-wrap:wrap;gap:5px 7px;min-width:0}.viewer-index{font-size:9px;color:#abb7b0;font-variant-numeric:tabular-nums;align-self:center}.viewer-header h2{font-size:14px;line-height:1.3;margin:0;font-weight:650;letter-spacing:-.3px}.viewer-subtitle{font-size:7px;letter-spacing:1px;color:#a0aaa5;flex-basis:100%;padding-left:20px;line-height:1.6}.viewer-actions{display:flex;align-items:center;gap:4px}.viewer-actions .icon-button{font-size:17px;width:22px;height:26px}.status-badge{font-size:9px;padding:4px 6px;border-radius:4px;border:1px solid transparent;white-space:nowrap;line-height:1.3}.status-badge.neutral{color:#7e908a;background:#f1f5f3;border-color:#e6ece8}.status-badge.passed{color:#58826b;background:#eef6ed;border-color:#e1eddf}.status-badge.failed{color:#af7958;background:#fbf2ea;border-color:#f0e4d6}.status-badge.pending{color:#9a9178;background:#f7f5ef;border-color:#eeeadf}.model-stage,.reference-stage{position:relative;aspect-ratio:1/1.35;min-height:350px;max-height:650px;height:clamp(350px,34vw,580px);flex:1;overflow:hidden;background:radial-gradient(ellipse at 50% 44%,#fff 0,#fcfdfc 70%,#f8faf8 100%)}.model-canvas{position:absolute;inset:0}.model-canvas canvas{display:block;width:100%;height:100%;touch-action:none}.stage-empty,.reference-empty{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:30px;color:#9ba8a0}.reference-empty{background-image:radial-gradient(#dfe7e0 .8px,transparent .8px);background-size:13px 13px}.reference-empty:before{content:"";position:absolute;inset:16px;border:1px dashed #dae5da;border-radius:6px;pointer-events:none}.reference-empty h3,.stage-empty h3{font-size:13px;font-weight:550;margin:22px 0 8px;color:#778d7e;line-height:1.7}.reference-empty p,.stage-empty p{font-size:10px;line-height:1.9;color:#9ba99f;margin:0 0 20px;max-width:270px;overflow-wrap:anywhere}.stage-empty p{margin:0}.reference-empty small{font-size:8px;color:#a3aea5;margin-top:14px}.reference-mark{position:relative;width:67px;height:51px}.reference-mark>span{position:absolute;background:#f5f9f1;border:1px solid #b9cbb7;border-radius:4px;width:52px;height:40px;left:7px;top:3px;transform:rotate(-10deg)}.reference-mark>span:nth-child(2){transform:rotate(7deg);background:#f8fbf5}.reference-mark>span:nth-child(3){transform:none;top:10px;left:0;background:#fff}.reference-mark>span:nth-child(3):before{content:"";position:absolute;left:9px;top:9px;width:7px;height:7px;border-radius:50%;background:#d4e3ce}.reference-mark>span:nth-child(3):after{content:"";position:absolute;left:9px;bottom:8px;width:29px;height:15px;background:#dbe7d4;clip-path:polygon(0 100%,35% 28%,55% 67%,75% 0,100% 100%)}.primary-button,.outline-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:5px;padding:9px 13px;font-size:10px;font-weight:550;line-height:1.5}.primary-button{color:#fff;background:#315a4b;border:1px solid #315a4b;box-shadow:0 2px 3px #24473410}.primary-button:hover{background:#234b3c}.outline-button{border:1px solid #dce5df;background:#fff;color:#718a7c}.outline-button:hover{border-color:#9bb5a6;background:#f9fbf9}.viewer-footer{min-height:47px;display:flex;gap:5px;justify-content:space-between;align-items:center;padding:10px 14px;background:#fff;border-top:1px solid #edf1ed;font-size:9px;color:#8b9a92}.viewer-footer>div{display:flex;gap:6px;align-items:center;min-width:0;line-height:1.6}.viewer-footer>div>span:last-child{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:250px}.meta-dot{width:5px;height:5px;min-width:5px;border-radius:50%;display:inline-block;background:#97aa9a}.occt-dot{background:#9aafbd}.smlib-dot{background:#b0bc97}.text-button{border:0;background:transparent;color:#7e9587;font-size:9px;padding:2px 0;white-space:nowrap}.text-button:hover{color:#315a4b;text-decoration:underline}.empty-orbit{font-size:43px;font-weight:200;color:#c5d1ca;line-height:1}.model-view-label{position:absolute;top:15px;left:15px;right:15px;display:flex;justify-content:space-between;align-items:center;font-size:8px;color:#a3b0a8;pointer-events:none}.model-label-text{border:1px solid #edf1eb;border-radius:3px;padding:3px 6px;background:#ffffffa8}.axis-mark{display:flex;gap:5px;font-size:7px}.axis-mark i{font-style:normal}.axis-mark i:nth-child(1){color:#bd8c83}.axis-mark i:nth-child(2){color:#91a581}.axis-mark i:nth-child(3){color:#8ca5bc}.model-hint{position:absolute;bottom:13px;inset-inline:0;text-align:center;pointer-events:none;font-size:8px;letter-spacing:.2px;color:#b0bab3}.stage-busy{position:absolute;inset:0;background:#ffffffd9;display:flex;gap:10px;align-items:center;justify-content:center;color:#81948a;font-size:11px;z-index:3}.spinner{display:inline-block;width:15px;height:15px;border:2px solid #d9e5dc;border-top-color:#6d947b;border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.reference-image-wrap{height:100%;width:100%;display:flex;justify-content:center;align-items:center;overflow:auto;padding:15px}.reference-image-wrap canvas,.reference-image-wrap img{object-fit:contain;display:block;max-width:100%;max-height:100%;width:auto;height:auto;box-shadow:0 2px 6px #29402d08}.reference-stage.dragover{outline:2px solid #7fab8d;outline-offset:-5px;background:#f2f7ed}.stage-corner{position:absolute;bottom:12px;right:12px;padding:4px 6px;border-radius:4px;background:#ffffffdc;border:1px solid #e6ece5;color:#8b9c8d;font-size:8px;pointer-events:none}.comparison-footnote{display:flex;justify-content:space-between;gap:15px;font-size:9px;color:#99a59e;line-height:1.8;margin:12px 1px 28px}.comparison-footnote>span:first-child{display:flex;align-items:center;gap:6px;white-space:nowrap}.legend-line{display:inline-block;width:13px;height:2px;background:#c57795;border-radius:2px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:17px}.section-heading h2{font-size:17px;letter-spacing:-.2px;font-weight:550;margin:6px 0 0}.section-heading .outline-button{font-size:9px;padding:8px 11px}.section-heading .outline-button>span{font-size:14px;color:#a0b29f}.findings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.finding{border:1px solid #e1e7e3;border-radius:7px;background:#ffffff9c;padding:17px 18px 18px;position:relative}.finding-label{display:flex;align-items:center;gap:7px;font-size:9px;color:#91a193;letter-spacing:.3px}.finding-number{border:1px solid #dce5dc;width:17px;height:17px;display:inline-flex;align-items:center;justify-content:center;border-radius:4px;color:#849c80;font-size:9px}.finding h3{font-size:12px;font-weight:550;margin:12px 0 7px;line-height:1.7;color:#577265}.finding p{font-size:10px;line-height:1.9;color:#95a198;margin:0;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden}.finding.warn .finding-number{color:#ad8b6c;border-color:#e9ddce}.finding.warn h3{color:#9c8066}.page-footer{border-top:1px solid #e1e7e3;display:flex;justify-content:space-between;gap:20px;margin-top:36px;padding:20px 0 24px;font-size:8px;letter-spacing:.35px;color:#a8b2ac}.page-footer b{font-weight:400;margin:0 9px;color:#b8c2bb}.expand-backdrop{position:fixed;inset:0;background:#1c343e80;backdrop-filter:blur(5px);z-index:90}.viewer-card.is-expanded{position:fixed;inset:5vh 9vw;z-index:100;box-shadow:0 30px 100px #143d3d40;border-radius:12px}.viewer-card.is-expanded .model-stage,.viewer-card.is-expanded .reference-stage{height:auto;max-height:none;min-height:0;aspect-ratio:auto;flex:1}.viewer-card.is-expanded .viewer-header{height:72px}.viewer-card.is-expanded .viewer-header h2{font-size:20px}.viewer-card.is-expanded .reference-image-wrap{padding:20px}.viewer-card.is-expanded .model-hint{font-size:10px;bottom:20px}.viewer-card.is-expanded .viewer-footer{font-size:11px}.viewer-card.is-expanded .viewer-footer>div>span:last-child{max-width:none}body.has-expanded{overflow:hidden}dialog{border:1px solid #e3e9e5;background:#fbfcfa;box-shadow:0 25px 90px #1d3f3e25;color:var(--ink);border-radius:12px;padding:24px;width:min(850px,calc(100vw - 30px));max-height:calc(100vh - 40px)}dialog::backdrop{background:#1b373a70;backdrop-filter:blur(5px)}.dialog-heading{display:flex;justify-content:space-between;gap:20px;align-items:center}.dialog-heading h2{font-weight:600;font-size:21px;letter-spacing:-.5px;margin:7px 0 0}.dialog-heading .icon-button{font-size:24px}.dialog-intro{font-size:11px;color:#8a9c8d;line-height:1.9;margin:17px 0}.file-info{padding:10px 12px;border:1px solid #e3e9df;border-radius:6px;font-size:11px;color:#7d927f;background:#f2f6ef;overflow-wrap:anywhere}.file-info small{display:block;margin-top:4px;font-size:9px;color:#9aab9b}.pdf-controls{display:flex;align-items:center;gap:10px;margin:13px 0;font-size:11px;color:#869886}.pdf-controls label{display:flex;align-items:center;gap:7px}.pdf-controls input{width:66px;padding:6px 7px;border:1px solid #dde7da;border-radius:4px;font-size:11px;background:#fff;color:#4d7055}.pdf-controls .outline-button{padding:5px 10px}.pdf-controls .text-button{margin-left:auto}.pdf-preview{position:relative;background:#e9eee7;overflow:hidden;max-height:51vh;display:flex;justify-content:center;align-items:center;border:1px solid #e0e7dc;border-radius:5px;cursor:crosshair;user-select:none;touch-action:none}.pdf-preview canvas{display:block;object-fit:contain;max-width:100%;max-height:50vh;box-shadow:0 1px 6px #244c2c10}.crop-selection{position:absolute;border:2px solid #6c9a76;background:#80aa7225;pointer-events:none;box-shadow:0 0 0 9999px #244b3830}.crop-selection span{position:absolute;background:#5f8967;color:#fff;font-size:8px;padding:3px 4px;top:-19px;left:-2px;white-space:nowrap}.reference-match{font-size:10px;line-height:1.8;color:#8e9d8c;min-height:18px}.dialog-actions{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:20px;padding-top:17px;border-top:1px solid #e1e8dc}.dialog-actions>div{display:flex;gap:9px}.danger-text{color:#ad8976}.detail-dialog{width:min(840px,calc(100vw - 30px))}.detail-tabs{display:flex;gap:20px;border-bottom:1px solid #e0e8df;margin-top:21px}.detail-tabs button{border:0;border-bottom:2px solid transparent;background:transparent;color:#92a18f;font-size:11px;padding:0 0 13px}.detail-tabs button.active{color:#527b58;border-bottom-color:#628862}.detail-content{padding-top:19px;max-height:65vh;overflow:auto;font-size:12px;line-height:1.9;color:#7e907e}.detail-content h3{font-size:13px;font-weight:600;color:#5f7a61;margin:14px 0 10px}.detail-content h3:first-child{margin-top:0}.detail-content p{margin:7px 0;overflow-wrap:anywhere}.detail-content dl{display:grid;grid-template-columns:140px 1fr;gap:7px 18px;margin:10px 0 20px;font-size:11px}.detail-content dt{color:#a0ad9b}.detail-content dd{margin:0;overflow-wrap:anywhere}.detail-content pre{white-space:pre-wrap;word-break:break-word;border:1px solid #dfe8dc;background:#f1f5ee;border-radius:6px;padding:15px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:10px;line-height:1.8;color:#6e856a;max-height:50vh;overflow:auto}.detail-engine{padding:0 0 18px;margin-bottom:18px;border-bottom:1px solid #e5eae0}.detail-engine:last-child{border:0;margin-bottom:0}.copy-command{font-size:9px;margin-left:12px}.detail-link{color:#4c7958;text-decoration:underline}.about-dialog{width:min(600px,calc(100vw - 30px));padding:30px}.about-dialog p{font-size:12px;line-height:2;color:#869582;margin:20px 0}.about-dialog .about-small{font-size:10px;color:#a2ad9a}.about-dialog .primary-button{margin-top:5px}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);padding:11px 19px;background:#2d5148;color:#fff;box-shadow:0 5px 20px #2b4d4320;border-radius:7px;font-size:12px;z-index:200;max-width:90vw;text-align:center}.boot-error{background:#faf0e8;border:1px solid #eed9c5;padding:16px;border-radius:7px;color:#a77c59;font-size:12px;line-height:1.9;margin-bottom:20px}.mobile-only{display:none}@media(min-width:1650px){:root{--sidebar:270px}.main{padding-left:48px;padding-right:48px}.topbar{padding-inline:36px}.brand{min-width:234px}.case-link-title{font-size:12px}.case-link-subtitle{font-size:10px}.case-link{padding:12px}.case-heading{margin-top:8px}h1{font-size:33px}.case-question{font-size:13px}.viewer-header{padding-inline:21px}.viewer-header h2{font-size:16px}.viewer-subtitle{font-size:8px}.status-badge{font-size:10px}.comparison-grid,.findings-grid{gap:20px}.viewer-footer{font-size:10px;padding-inline:19px}.reference-empty p{font-size:11px}.reference-empty h3{font-size:15px}.reference-empty small{font-size:9px}.primary-button{font-size:11px}.finding h3{font-size:14px}.finding p{font-size:11px}.comparison-footnote{font-size:10px}}@media(max-width:1200px){:root{--sidebar:210px}.topbar{padding-inline:20px;gap:15px}.brand{min-width:190px;font-size:21px}.brand-symbol{width:34px;height:38px;font-size:35px;line-height:44px}.top-context{font-size:10px;gap:7px}.top-actions{gap:14px}.local-tag{display:none}.main{padding:114px 21px 0}.sidebar{padding-inline:12px}.case-link{gap:7px;padding-inline:6px}.case-link-title{font-size:10px}.viewer-header{padding:12px 10px;min-height:64px}.viewer-index{display:none}.viewer-subtitle{padding-left:0;font-size:6px;letter-spacing:.8px}.viewer-header h2{font-size:13px}.viewer-actions{gap:1px}.viewer-actions .icon-button{width:19px}.status-badge{font-size:8px;padding:3px 4px}.viewer-footer{padding-inline:10px;font-size:8px;min-height:45px}.viewer-footer .text-button{font-size:8px}.comparison-grid{gap:10px}.variant-toolbar{gap:10px}.view-controls{gap:8px;font-size:9px}.variant-select{gap:8px}.variant-button{padding:6px 8px;font-size:10px}.reference-empty{padding:20px}.reference-empty h3{font-size:12px}.reference-empty p{font-size:9px}.reference-empty small{font-size:7px}.reference-empty .primary-button{font-size:9px;padding:8px 10px}.model-stage,.reference-stage{min-height:315px}.finding{padding:14px}.findings-grid{gap:10px}.case-title-line h1{font-size:26px}.comparison-footnote{font-size:8px}}@media(max-width:950px){:root{--sidebar:188px}.top-context{display:none}.main{padding-inline:16px}.sidebar-heading h2{font-size:15px}.filters button{padding-inline:8px;font-size:9px}.search input{font-size:10px}.case-title-line h1{font-size:24px}.family-tag{font-size:8px}.variant-toolbar{flex-wrap:wrap;gap:12px;margin-top:23px}.view-controls{margin-left:auto}.comparison-grid{gap:8px}.viewer-header{min-height:62px}.viewer-header h2{font-size:12px}.status-badge{font-size:7px}.viewer-subtitle{font-size:5px;letter-spacing:.5px}.viewer-actions .icon-button{width:17px;font-size:15px}.viewer-header>div:first-child{gap:3px}.viewer-actions{gap:1px}.reference-empty h3{font-size:11px}.reference-empty p{font-size:8px}.reference-empty small{font-size:6px}.reference-empty .primary-button{font-size:8px;padding:7px}.reference-mark{transform:scale(.8)}.model-stage,.reference-stage{min-height:280px;height:340px}.viewer-footer>div>span:last-child{max-width:120px}.viewer-footer{font-size:7px;padding:8px}.viewer-footer .text-button{font-size:7px}.model-hint{font-size:6px}.model-view-label{font-size:6px;left:9px;right:9px}.stage-empty{padding:18px}.stage-empty h3{font-size:11px}.stage-empty p{font-size:8px}.findings-grid{grid-template-columns:1fr}.finding{padding:14px 17px;display:grid;grid-template-columns:120px 1fr;gap:5px 15px}.finding-label{grid-row:1/3}.finding h3{margin:0;font-size:12px}.finding p{font-size:10px;-webkit-line-clamp:3}.comparison-footnote{display:block;line-height:2}.comparison-footnote>span{display:block}.comparison-footnote>span:first-child{display:flex}.page-footer{font-size:7px}}@media(max-width:720px){.topbar{height:69px;padding-inline:18px}.brand{font-size:22px;min-width:0}.brand-symbol{height:35px;width:32px;font-size:32px;line-height:41px}.brand small{font-size:6px;letter-spacing:2.3px}.top-actions{gap:10px}.repo-link{font-size:10px;padding:8px 10px;gap:12px}.sidebar{top:69px;width:264px;transform:translateX(-100%);transition:transform .2s;box-shadow:10px 0 40px #28463718;padding-top:23px}.sidebar.is-open{transform:translateX(0)}.mobile-only{display:inline-flex}.main{margin-left:0;padding:91px 17px 0}.case-breadcrumb{font-size:8px;gap:7px;letter-spacing:1.5px}.case-breadcrumb>#mobileMenu{width:23px;height:23px;font-size:15px;margin-right:1px}.case-title-line{margin-top:15px;gap:12px}.case-title-line h1{font-size:25px}.case-question{font-size:11px;line-height:1.9}.family-tag{margin-top:5px;font-size:8px;max-width:90px;white-space:normal}.variant-toolbar{margin-top:20px;gap:14px}.control-label{font-size:9px}.variant-options{gap:4px}.variant-button{font-size:10px;padding:7px 9px}.view-controls{width:100%;justify-content:flex-end;font-size:9px;gap:12px}.view-controls .toggle-control{margin-right:auto}.comparison-grid{grid-template-columns:1fr;gap:15px}.viewer-header{min-height:64px;padding:13px 17px}.viewer-header h2{font-size:15px}.viewer-index{display:inline;font-size:9px}.viewer-subtitle{font-size:7px;letter-spacing:1px;padding-left:20px}.viewer-actions{gap:5px}.viewer-actions .icon-button{width:24px;font-size:19px}.status-badge{font-size:9px;padding:4px 7px}.model-stage,.reference-stage{height:380px;min-height:300px;aspect-ratio:auto}.reference-empty h3{font-size:14px}.reference-empty p{font-size:11px}.reference-empty small{font-size:9px}.reference-empty .primary-button{font-size:11px;padding:10px 14px}.reference-mark{transform:none}.viewer-footer{font-size:9px;padding:12px 16px;min-height:48px}.viewer-footer .text-button{font-size:9px}.viewer-footer>div>span:last-child{max-width:70vw}.stage-empty h3{font-size:14px}.stage-empty p{font-size:11px}.model-hint{font-size:8px}.model-view-label{font-size:8px;top:15px;left:15px;right:15px}.comparison-footnote{font-size:9px;margin-bottom:24px}.representation-notice{font-size:10px}.section-heading h2{font-size:17px}.section-heading .outline-button{font-size:9px}.finding{grid-template-columns:1fr;gap:0;padding:17px}.finding-label{grid-row:auto}.finding h3{margin:10px 0 6px;font-size:13px}.finding p{font-size:11px;-webkit-line-clamp:5}.page-footer{display:block;font-size:8px;line-height:2.2}.page-footer>span{display:block}.viewer-card.is-expanded{inset:2vh 3vw}.viewer-card.is-expanded .viewer-header h2{font-size:17px}.viewer-card.is-expanded .viewer-footer{font-size:9px}.viewer-card.is-expanded .viewer-footer>div>span:last-child{max-width:65vw}.detail-content dl{grid-template-columns:100px 1fr;font-size:10px;gap:7px 10px}dialog{padding:20px}.dialog-heading h2{font-size:19px}.dialog-intro{font-size:10px}.dialog-actions{gap:10px}.dialog-actions>div{gap:5px}.dialog-actions .primary-button,.dialog-actions .outline-button{font-size:9px;padding:8px 10px}.reference-match{font-size:9px}.pdf-controls{gap:7px;font-size:10px}.pdf-controls input{width:55px}.about-dialog{padding:24px}.about-dialog p{font-size:11px}.sidebar-heading h2{font-size:18px}.case-link-title{font-size:12px}.case-link-subtitle{font-size:10px}.case-link{padding:12px 9px}.filters button{font-size:11px;padding:6px 12px}.search input{font-size:11px}.sidebar-bottom{font-size:10px}}@media(prefers-reduced-motion:reduce){*,*:before{animation:none!important;transition:none!important}}
.variant-select select{appearance:none;-webkit-appearance:none;min-width:235px;width:clamp(230px,27vw,440px);max-width:100%;border:1px solid #d8e3dc;border-radius:5px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='m4 5 3 3 3-3' fill='none' stroke='%23899b8e' stroke-width='1.3'/%3E%3C/svg%3E") no-repeat right 10px center;color:#456b55;font-size:11px;font-weight:550;padding:9px 32px 9px 12px;text-overflow:ellipsis;cursor:pointer}.variant-select select:hover{border-color:#a3b9a7}.status-badge{max-width:130px;overflow:hidden;text-overflow:ellipsis}.case-link-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.case-link-subtitle{text-transform:uppercase}
@media(min-width:721px) and (max-height:820px){.topbar{height:70px}.sidebar{top:70px;padding-top:21px}.main{padding-top:89px}.case-title-line{margin-top:9px}.case-title-line h1{font-size:26px}.case-question{margin-top:7px;font-size:11px;line-height:1.75}.variant-toolbar{margin:14px 0 11px;min-height:34px}.variant-select select{padding-block:7px}.representation-notice{padding:8px 11px;margin-bottom:12px;font-size:9px;line-height:1.7}.viewer-header{min-height:56px;padding-block:10px}.model-stage,.reference-stage{height:clamp(250px,calc(100vh - 395px),400px);min-height:250px;max-height:400px}.viewer-footer{min-height:40px;padding-block:9px}.comparison-footnote{margin:10px 1px 20px}.viewer-card.is-expanded .model-stage,.viewer-card.is-expanded .reference-stage{min-height:0;max-height:none;height:auto}}
@media(max-width:1100px) and (min-width:721px){.variant-select select{width:clamp(200px,26vw,320px);min-width:200px}.view-controls{font-size:9px}.control-label{display:none}}
@media(max-width:720px){.variant-select{width:100%;gap:10px}.variant-select select{width:100%;min-width:0;flex:1;padding-block:9px}.status-badge{max-width:160px}.case-question{max-height:none}}
.viewer-card:not(.is-expanded) .model-stage,.viewer-card:not(.is-expanded) .reference-stage{flex:0 0 auto;aspect-ratio:auto}
.parameter-badge{font-size:9px;line-height:1.5;color:#6c8b71;background:#edf3e9;border:1px solid #dce7d6;border-radius:4px;padding:5px 7px;white-space:nowrap}
@media(min-width:721px) and (max-width:1200px){.variant-select:has(.parameter-badge:not([hidden])) select{width:clamp(180px,22vw,290px);min-width:180px}}
@media(max-height:820px){.reference-dialog .pdf-preview{max-height:38vh}.reference-dialog .pdf-preview canvas{max-height:37vh}.reference-dialog .dialog-intro{margin:12px 0}.reference-dialog .dialog-actions{margin-top:14px;padding-top:14px}}
@media(max-width:720px){.family-tag{display:none}}
.reference-image-wrap{overflow:hidden;cursor:grab;touch-action:none;user-select:none}.reference-image-wrap.is-dragging{cursor:grabbing}.reference-image-wrap canvas,.reference-image-wrap img{transform-origin:center;will-change:transform;pointer-events:none}.reference-zoom{position:absolute;bottom:11px;left:12px;display:flex;align-items:center;gap:0;background:#ffffffed;box-shadow:0 1px 4px #31533a08;border:1px solid #e1e9de;border-radius:5px;overflow:hidden;z-index:2}.reference-zoom button{border:0;background:transparent;color:#8b9d88;font-size:11px;min-width:22px;height:23px;padding:0 5px;line-height:1}.reference-zoom button:hover{background:#f0f5ec;color:#4e7752}.reference-zoom #referenceZoomReset{font-size:8px;min-width:33px}.reference-card.is-expanded .reference-zoom{bottom:17px;left:19px}.reference-card.is-expanded .reference-zoom button{height:28px;min-width:28px}

/* Collections remain separate: the original model is always the first input stage. */
.collection-tabs{display:flex;gap:8px;align-items:stretch;margin:0 0 8px}.collection-tabs button{border:1px solid #dce4df;border-radius:7px;background:#ffffffa8;color:#829188;font-size:12px;font-weight:600;padding:10px 14px;line-height:1.5;text-align:left}.collection-tabs button span{font-size:9px;font-weight:400;margin-left:8px;white-space:nowrap}.collection-tabs button.active{background:#31594b;border-color:#31594b;color:#fff;box-shadow:0 3px 8px #31594b10}.collection-tabs button.active span{color:#d6e5db}.collection-description{font-size:10px;line-height:1.7;color:#8a9a8f;margin:0 0 14px}.original-pipeline{display:flex;align-items:center;justify-content:space-between;gap:9px;flex-wrap:wrap;border-top:1px solid #e2e8e3;padding:9px 0 10px;margin-top:-4px}.input-stage-switch{display:flex;align-items:center;gap:4px;font-size:9px;color:#91a095}.input-stage-switch>span{margin-right:5px}.input-stage-switch button{font-size:9px;line-height:1.4;color:#7b9384;background:#fff;border:1px solid #dfe6de;border-radius:4px;padding:6px 9px}.input-stage-switch button.active{background:#e9f0e5;border-color:#b9cdb4;color:#486f4c}.pipeline-badges{display:flex;gap:5px;align-items:center;flex-wrap:wrap}.pipeline-badge{display:inline-block;font-size:8px;line-height:1.4;color:#859789;border:1px solid #e0e7dd;background:#fafcf8;border-radius:3px;padding:4px 6px}.pipeline-badge.active{color:#52774e;border-color:#c2d2b9;background:#edf3e7}.pipeline-arrow{font-size:9px;color:#a9b5aa}body[data-series="original"] .variant-toolbar{margin:15px 0 10px}body[data-series="original"] .finding p{-webkit-line-clamp:7}body[data-series="original"] .model-label-text{max-width:88%;color:#788f7e;font-size:8px;line-height:1.7}body[data-series="original"] .viewer-header h2{font-size:13px}body[data-series="original"] .viewer-subtitle{font-size:6px}body[data-series="original"] .model-stage,body[data-series="original"] .reference-stage{height:clamp(230px,calc(100vh - 480px),470px);min-height:230px;max-height:470px}body[data-series="original"] .viewer-card.is-expanded .model-stage,body[data-series="original"] .viewer-card.is-expanded .reference-stage{height:auto;min-height:0;max-height:none}
@media(min-width:721px) and (max-height:850px){.collection-tabs button{font-size:11px;padding:7px 11px}.collection-description{font-size:9px;margin-bottom:7px}.collection-tabs{margin-bottom:5px}body[data-series="original"] .case-heading{margin-top:4px}body[data-series="original"] .case-title-line{margin-top:7px}body[data-series="original"] .case-question{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}body[data-series="original"] .original-pipeline{padding-block:7px;gap:6px}body[data-series="original"] .variant-toolbar{margin:10px 0 7px}body[data-series="original"] .representation-notice{font-size:9px;line-height:1.6;padding:7px 10px;margin-bottom:9px}body[data-series="original"] .viewer-header{min-height:51px}body[data-series="original"] .model-stage,body[data-series="original"] .reference-stage{height:clamp(215px,calc(100vh - 445px),360px);min-height:215px;max-height:360px}body[data-series="original"] .viewer-footer{min-height:36px;padding-block:7px}}
@media(max-width:1100px){.collection-tabs button{font-size:11px}.collection-tabs button span{display:none}.pipeline-badges{width:100%}.input-stage-switch button{padding:5px 8px}}
@media(max-width:720px){.collection-tabs{gap:6px}.collection-tabs button{flex:1;font-size:11px;padding:9px 10px}.collection-description{font-size:9px;margin-bottom:15px}.original-pipeline{gap:8px}.input-stage-switch{width:100%;justify-content:flex-end}.input-stage-switch>span{margin-right:auto}.pipeline-badges{gap:4px}.pipeline-badge{font-size:7px;padding:4px}body[data-series="original"] .viewer-header h2{font-size:15px}body[data-series="original"] .viewer-subtitle{font-size:7px}body[data-series="original"] .model-stage,body[data-series="original"] .reference-stage{height:370px;min-height:300px;max-height:none}body[data-series="original"] .variant-toolbar{margin-top:19px}.collection-tabs{scroll-margin-top:80px}}
body[data-series="original"] .finding:last-child p{display:block;overflow:visible;-webkit-line-clamp:unset}
.processing-record{border:1px solid #e0e7dc;border-radius:5px;padding:9px 12px;margin:12px 0}.processing-record summary{cursor:pointer;color:#56765b;font-size:11px}.processing-record pre{margin:10px 0 0}
.model-downloads{border:1px solid #dfe7dc;border-radius:6px;background:#f6f9f3;padding:12px 14px;margin-bottom:20px}.model-downloads h3{margin:0 0 9px}.model-download-list{list-style:none;padding:0;margin:0}.model-download{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 12px;padding:6px 0;font-size:11px}.model-download .detail-link{font-weight:550}.model-file-status{color:#8a9985;font-size:10px;overflow-wrap:anywhere}.model-file-status.failed{color:#ad725b}.model-file-hash{color:#a0ad98;font-size:9px;overflow-wrap:anywhere}

/* Keep all four comparison stages on one horizontal row at every width. */
.comparison-grid{grid-template-columns:repeat(4,minmax(220px,1fr));gap:10px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;padding-bottom:5px;scrollbar-width:thin;scrollbar-color:#c8d5cc transparent}
.comparison-grid>.viewer-card{scroll-snap-align:start}
.comparison-grid .viewer-header{padding-inline:11px;min-height:66px;gap:4px}
.comparison-grid .viewer-header h2,body[data-series="original"] .comparison-grid .viewer-header h2{font-size:12px}
.comparison-grid .viewer-actions{flex-shrink:0;gap:2px}
.comparison-grid .viewer-index{display:inline}
.comparison-grid .viewer-subtitle{padding-left:18px;font-size:6px;letter-spacing:.7px}
.comparison-grid .status-badge{max-width:98px;overflow:hidden;text-overflow:ellipsis;font-size:8px;padding:4px 5px}
.comparison-grid .viewer-footer{padding-inline:10px;gap:7px}
.comparison-grid .viewer-footer>div{flex:1;overflow:hidden}
.comparison-grid .viewer-footer>div>span:last-child{max-width:none}
.comparison-grid .stage-empty,.comparison-grid .reference-empty{padding:18px}
.comparison-grid .stage-empty h3{font-size:12px}
.comparison-grid .stage-empty p{font-size:10px;line-height:1.8;max-height:180px;overflow:auto}
.comparison-grid .model-label-text{max-width:90%;line-height:1.65;font-size:8px}
.sdk-dot{background:#9c9bc0}
body[data-series="original"] .findings-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.comparison-grid .viewer-card.is-expanded .viewer-header{padding-inline:20px}
.comparison-grid .viewer-card.is-expanded .viewer-header h2{font-size:20px}
.comparison-grid .viewer-card.is-expanded .status-badge{max-width:min(500px,48vw);font-size:10px}
.comparison-grid .viewer-card.is-expanded .stage-empty p{max-width:600px;max-height:none;font-size:13px}
@media(max-width:1400px) and (min-width:1100px){:root{--sidebar:220px}.main{padding-inline:22px}.comparison-grid{grid-template-columns:repeat(4,minmax(218px,1fr))}.comparison-grid .viewer-header{align-items:flex-start}.comparison-grid .viewer-header>div:first-child{padding-top:4px}.comparison-grid .viewer-actions{flex-wrap:wrap;justify-content:flex-end;max-width:90px}.comparison-grid .status-badge{max-width:88px}.comparison-grid .viewer-header h2,body[data-series="original"] .comparison-grid .viewer-header h2{font-size:11px}}
@media(max-width:1099px){.comparison-grid{grid-template-columns:repeat(4,minmax(260px,1fr));gap:12px}.comparison-grid .viewer-header h2,body[data-series="original"] .comparison-grid .viewer-header h2{font-size:13px}.comparison-grid .viewer-subtitle{font-size:7px}.comparison-grid .model-stage,.comparison-grid .reference-stage{min-height:270px}body[data-series="original"] .findings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.comparison-grid{grid-template-columns:repeat(4,minmax(280px,84vw));gap:12px;margin-inline:-4px;padding-inline:4px}.comparison-grid .viewer-header h2,body[data-series="original"] .comparison-grid .viewer-header h2{font-size:14px}.comparison-grid .viewer-header{padding:13px 15px;min-height:64px}.comparison-grid .status-badge{font-size:9px;max-width:125px}.comparison-grid .viewer-footer{font-size:9px;padding:11px 13px}.comparison-grid .viewer-footer .text-button{font-size:9px}.comparison-grid .model-stage,.comparison-grid .reference-stage,body[data-series="original"] .comparison-grid .model-stage,body[data-series="original"] .comparison-grid .reference-stage{height:340px;min-height:300px;max-height:none}.comparison-grid .stage-empty h3{font-size:14px}.comparison-grid .stage-empty p{font-size:11px}.comparison-grid .reference-empty h3{font-size:14px}.comparison-grid .reference-empty p{font-size:11px}.comparison-grid .reference-empty .primary-button{font-size:11px}.comparison-grid .viewer-card.is-expanded .model-stage,.comparison-grid .viewer-card.is-expanded .reference-stage,body[data-series="original"] .comparison-grid .viewer-card.is-expanded .model-stage,body[data-series="original"] .comparison-grid .viewer-card.is-expanded .reference-stage{height:auto;min-height:0}.comparison-grid .viewer-card.is-expanded .viewer-header h2{font-size:17px}body[data-series="original"] .findings-grid{grid-template-columns:1fr}}

.comparison-grid .viewer-header,body[data-series="original"] .comparison-grid .viewer-header{height:70px;min-height:70px;flex:0 0 70px}
.comparison-navigation{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:10px 0;color:#718078;font-size:11px}.comparison-navigation>div{display:flex;gap:8px}.comparison-navigation .outline-button{padding:7px 10px;font-size:11px;white-space:nowrap}
