body:has(#photo-lab) .post{max-width:1280px}body:has(#photo-lab) .post>p:not(:first-child){display:none}body:has(#photo-lab) .post>h1{max-width:950px}.photo-lab{--ink:#ecf1f7;--muted:#9cacc0;--panel:#182332;--line:#ffffff16;--blue:#96bdec;color:var(--ink);background:radial-gradient(ellipse at top left,#23354b55,transparent 55%),#101923;border:1px solid var(--line);border-radius:22px;padding:24px;font:13px/1.5 system-ui,sans-serif;margin:24px 0;isolation:isolate}.photo-lab *{box-sizing:border-box}.photo-lab [hidden]{display:none!important}.photo-lab button,.photo-lab input,.photo-lab select{font:inherit}.photo-lab button{border:1px solid #ffffff1c;border-radius:7px;padding:7px 10px;color:#c9d8eb;background:#24344a;font-size:11px;cursor:pointer}.photo-lab button:hover{background:#344d6b}.photo-lab button:disabled{opacity:.4;cursor:default}.photo-lab button:focus-visible,.photo-lab input:focus-visible,.photo-lab select:focus-visible{outline:2px solid #a9cfff;outline-offset:3px}.sim-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.sim-eyebrow{color:var(--blue);font-size:9px;letter-spacing:.14em;font-weight:700}.post .sim-header h2{color:var(--ink);font-size:27px;line-height:1.2;letter-spacing:-.035em;margin:7px 0 9px}.post .sim-header p{color:var(--muted);font-size:12px;margin:0}.sim-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:end;max-width:260px}.sim-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:16px;align-items:start}.sim-display{min-width:0;position:sticky;top:108px}.sim-card{background:linear-gradient(140deg,#1b293b,#151f2c);border:1px solid var(--line);border-radius:13px;overflow:hidden}.sim-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;font-size:10px;color:#b9c9dc;min-height:44px}.sim-card-head>button{font-size:9px}.sim-view-tabs{display:flex;gap:4px}.sim-view-tabs button{background:transparent;border-color:transparent;font-size:10px;padding:6px 9px}.sim-view-tabs button[aria-pressed=true]{background:#304b6c;color:#fff}.sim-scene-card svg#sim-scene{display:block;width:100%;height:auto;max-height:300px;touch-action:none;overflow:hidden}.sim-draggable{cursor:ew-resize}.sim-draggable:focus{outline:none;filter:drop-shadow(0 0 3px #aacfff)}.sim-legend{display:flex;flex-wrap:wrap;gap:8px 12px;padding:9px 13px;color:#aebed1;font-size:9px}.sim-legend label{display:flex;align-items:center;gap:4px;cursor:pointer}.sim-legend input{width:11px;height:11px;margin:0;accent-color:#8fb8e9}.sim-legend i{width:6px;height:6px;border-radius:50%;background:#76b6ef}.sim-legend i.green{background:#7bc8a4}.sim-legend i.yellow{background:#edca7a}.sim-legend i.purple{background:#bd9be7}.post .sim-hint{padding:0 13px 10px;color:#8093ac;font-size:9px;margin:0}.sim-results{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin:10px 0}.sim-results>div{min-width:0;border:1px solid var(--line);border-radius:9px;background:#192536;padding:10px 11px;min-height:82px}.sim-results span{display:block;color:#a5b4c7;font-size:9px}.sim-results strong{display:block;margin-top:4px;color:#e4eaf3;font-size:20px;line-height:1.2;font-variant-numeric:tabular-nums}.sim-results .sim-result-main{background:#24392f;border-color:#94c4a930}.sim-results .sim-result-main strong{color:#a5d9bc}.sim-results button{padding:0;border:0;background:transparent;font-size:8px;color:#b9a0de;margin-top:5px}.sim-lower{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:10px}.sim-preview-card canvas{display:block;width:100%;height:220px;object-fit:contain;background:#0c1521}.sim-preview-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 10px;color:#8ea1ba;font-size:8px}.sim-preview-footer button{font-size:9px;padding:5px 7px}.sim-understand{padding:14px}.post .sim-understand h3{font-size:16px;line-height:1.3;margin:8px 0;color:#e6b4ac}.post .sim-understand h3[data-good=true]{color:#a3d4bb}.post .sim-understand p{color:#a5b5ca;font-size:10px;line-height:1.65;margin:0 0 10px}.sim-understand dl{margin:10px 0 0;font-size:9px}.sim-understand dl>div{display:flex;justify-content:space-between;gap:8px;padding:5px 0;border-top:1px solid var(--line)}.sim-understand dt{color:#8d9fb8}.sim-understand dd{margin:0;text-align:right;color:#c9d7e8;font-variant-numeric:tabular-nums}.sim-controls{padding:14px;max-height:calc(100vh - 125px);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#435974 transparent}.sim-control-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.photo-lab select{border:1px solid #ffffff20;border-radius:7px;color:#d6e1ee;background:#25354a;padding:8px;font-size:11px;max-width:100%}.sim-control-head select{font-size:9px;padding:5px}.sim-preset-row{display:flex;gap:5px;margin-top:12px}.sim-preset-row button{flex:1;font-size:9px;padding:6px 4px}.sim-control{padding:12px 0;border-bottom:1px solid var(--line)}.sim-control>label{display:block;font-size:10px;color:#becbdb;margin-bottom:7px}.sim-control>select{width:100%}.sim-control-title{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:10px;color:#bfccdc}.sim-control-title output{color:#b1cff2;font-size:12px;font-variant-numeric:tabular-nums}.photo-lab input[type=range]{display:block;width:100%;margin:12px 0;height:4px;accent-color:#9dc3ef;cursor:pointer}.photo-lab input[type=number]{min-width:0;width:82px;background:#0f1b2a;border:1px solid #ffffff1d;border-radius:5px;padding:5px 7px;color:#dbe5ef;font-size:11px;font-variant-numeric:tabular-nums}.sim-numeric{display:flex;align-items:center;gap:6px;margin-top:7px;font-size:9px;color:#8398b2}.sim-numeric button{font-size:8px;margin-left:auto;padding:5px 6px}.sim-shortcuts{display:flex;gap:5px;margin-top:8px}.sim-shortcuts button{flex:1;font-size:9px;padding:4px 6px}.sim-shortcuts button.selected{background:#8fb7e8;color:#112033}.sim-iris{width:29px;height:29px;flex-shrink:0;margin-left:auto}.photo-lab small{font-size:9px;color:#8da0b9;line-height:1.5}.sim-control>small{display:block;margin-top:6px}.sim-advanced{margin-top:13px}.sim-advanced summary,.sim-method summary{cursor:pointer;color:#c5d5e7;font-size:11px}.sim-controls>#sim-share{width:100%;margin-top:14px;font-size:10px}.sim-controls>#sim-feedback{display:block;color:#afd4b6;font-size:10px;margin-top:7px}.sim-method{padding-top:17px;margin-top:18px;border-top:1px solid var(--line);color:#9eafc4}.post .sim-method p{font-size:11px;line-height:1.8;margin:12px 0}.sim-method a{color:#adc9ec}.sim-formulas{display:grid;grid-template-columns:repeat(2,1fr);gap:6px}.post .sim-formulas code{font-size:10px;background:#223148;color:#c7dbef;padding:8px;white-space:normal}.post #sim-comparison img{max-width:100%;max-height:130px;margin:12px 0 5px;border-radius:7px;object-fit:contain}.photo-lab:fullscreen{border-radius:0;width:100%;height:100%;overflow:auto;padding:25px;background:#101923}.photo-lab:fullscreen .sim-display{top:12px}.photo-lab:fullscreen .sim-controls{max-height:calc(100vh - 125px)}.sim-expanded{position:fixed;z-index:10000;inset:0;margin:0;overflow:auto;border-radius:0}.sim-expanded .sim-display{top:12px}
@media(min-width:1450px){.sim-scene-card svg#sim-scene{max-height:340px}.sim-preview-card canvas{height:260px}}
@media(max-width:1000px){.sim-layout{grid-template-columns:minmax(0,1fr) 275px}.photo-lab{padding:16px}.sim-lower{grid-template-columns:1fr}.sim-understand{max-height:160px;overflow:auto}.sim-preview-card canvas{height:190px}.sim-results strong{font-size:17px}.sim-header{align-items:start}.sim-actions{max-width:160px}}
@media(max-width:760px){.photo-lab{padding:12px;border-radius:15px}.sim-header{display:block}.post .sim-header h2{font-size:24px}.sim-actions{justify-content:start;max-width:none;margin-top:12px}.sim-layout{display:flex;flex-direction:column;gap:12px}.sim-display{position:relative;top:auto;width:100%}.sim-controls{width:100%;max-height:540px}.sim-scene-card{position:sticky;top:100px;z-index:5;box-shadow:0 10px 30px #07101eb3}.sim-results{gap:5px}.sim-results>div{padding:8px 6px;min-height:74px}.sim-results span{font-size:8px}.sim-results strong{font-size:16px}.sim-lower{grid-template-columns:1fr 1fr}.sim-preview-card canvas{height:170px}.sim-understand{max-height:230px;padding:10px}.post .sim-understand h3{font-size:13px}.sim-understand dl{font-size:8px}.sim-preview-footer{flex-wrap:wrap}.sim-card-head{padding:8px;min-height:39px}.sim-card-head>button,.sim-view-tabs button{font-size:8px;padding:5px}.sim-legend{gap:5px 8px;font-size:8px;padding:7px 8px}.post .sim-hint{font-size:8px}.sim-formulas{grid-template-columns:1fr}.sim-control-title label{font-size:12px}.sim-control-title output{font-size:14px}.sim-numeric button{font-size:10px}.sim-controls{position:relative}.sim-controls .sim-preset-row button{font-size:11px}.photo-lab input[type=range]{height:7px;margin:16px 0}}
@media(max-width:430px){.sim-lower{grid-template-columns:1fr}.sim-understand{max-height:220px}.sim-preview-card canvas{height:195px}.sim-results strong{font-size:14px}.sim-results span{font-size:7px}.sim-card-head{gap:4px}}
@media(max-width:760px){.sim-display{position:sticky;top:100px;z-index:6;background:#101923;padding-bottom:8px;box-shadow:0 10px 25px #07101e88}.sim-scene-card{position:relative;top:auto}.sim-lower{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.sim-preview-card canvas{height:110px}.sim-understand{max-height:178px;padding:9px}.sim-understand dl{display:none}.post .sim-understand p{font-size:9px}.sim-results>div{min-height:65px}.sim-controls{max-height:48vh}.sim-preview-footer{padding:5px 7px}.sim-card-head{font-size:8px}.sim-controls{z-index:1}}
@media(max-height:800px) and (min-width:761px){.sim-preview-card canvas{height:160px}.sim-understand{max-height:245px;overflow:auto}.sim-results>div{min-height:67px;padding:7px}.sim-scene-card svg#sim-scene{max-height:225px}.sim-legend{padding:6px 10px}.post .sim-hint{padding-bottom:6px}.sim-card-head{min-height:36px;padding:7px 10px}}
.sim-equipment{padding:10px 0 0;color:#8da3bd;font-size:9px}.sim-equipment>div{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-top:7px}.sim-equipment button{font-size:9px;padding:6px 3px}
@media(max-width:760px){.sim-layout{height:calc(100svh - 115px);min-height:600px;gap:8px}.sim-display{position:relative;top:auto;z-index:auto;padding:0;box-shadow:none;flex:none}.sim-controls{flex:1;min-height:170px;max-height:none;overflow:auto}.sim-scene-card svg#sim-scene{height:105px;max-height:105px}.sim-card-head{min-height:30px;padding:5px 7px}.post .sim-hint{display:none}.sim-legend{font-size:7px;gap:4px 6px;padding:5px 7px}.sim-lower{height:135px;grid-template-columns:1fr 1fr}.sim-preview-card canvas{height:74px}.sim-preview-footer{padding:3px 5px;gap:3px;font-size:7px}.sim-preview-footer button{font-size:7px;padding:3px 4px}.sim-understand{height:135px;max-height:135px;overflow:auto}.post .sim-understand h3{font-size:11px;margin:5px 0}.post .sim-understand p{font-size:8px}.sim-understand .sim-eyebrow{font-size:7px}.sim-results>div{min-height:56px}.sim-results{margin:6px 0}.sim-preview-footer>span{max-width:70px}.sim-controls .sim-control-head{position:sticky;top:-14px;background:#182332;z-index:2;padding:6px 0}}
