.model-panel{display:grid;grid-template-columns:290px minmax(0,1fr);gap:10px;border:1px solid #d2dbc3;border-radius:12px;background:var(--paper);margin:0 0 28px;padding:27px;overflow:hidden}
.model-info{min-width:0}.model-corner-label>[data-ui="model-corner-label"]{width:auto;height:auto;border:0}
.model-info{padding:5px 12px 6px 0;display:flex;flex-direction:column;align-items:start}.model-info .eyebrow{color:#7b8372;font-size:8px;letter-spacing:1.3px;gap:8px;margin-bottom:18px}.model-badge{background:#536f37;color:#fff;font-size:10px;letter-spacing:0;padding:5px 6px;border-radius:4px}.model-info :is(h2,h3){font-size:28px;font-weight:600;letter-spacing:-.9px;line-height:1.15}.model-profile{font-size:11px;line-height:1.7;color:#7d8573;margin-top:11px}.model-modes{display:flex;flex-wrap:wrap;gap:7px;margin-top:23px}.model-modes button{font-size:10px;border:1px solid #dde2d2;background:#fffdf6;border-radius:5px;padding:12px 10px;min-height:42px;color:#69765d}.model-modes button[aria-pressed=true]{background:#e6edd6;border-color:#a7bd88;color:#425c2a}.model-modes button:hover:not(:disabled){border-color:#536f37}.model-modes button:disabled{opacity:.6}.model-explanation{font-size:11px;line-height:1.7;color:#6f7865;margin-top:14px;max-width:255px;min-height:39px}.model-order-note{font-size:10px;line-height:1.6;color:#8b9380;margin-top:7px}.model-download{display:flex;flex-wrap:wrap;gap:5px 10px;text-decoration:none;font-size:10px;margin-top:auto;padding-top:22px;color:#546348;line-height:1.7}.model-download span{color:#8a957d}.model-download:hover{color:var(--accent)}.model-display{min-width:0;display:flex;flex-direction:column}.model-stage{position:relative;isolation:isolate;width:100%;height:390px;border-radius:8px;background:#edf1e2;overflow:hidden}.model-stage canvas{display:block;width:100%;height:100%;position:absolute;inset:0;z-index:1;cursor:grab;touch-action:none}.model-stage canvas:active{cursor:grabbing}.model-stage canvas:focus-visible{outline-offset:-4px}.model-corner-label{position:absolute;left:17px;top:16px;font:9px ui-monospace,SFMono-Regular,Consolas,monospace;color:#7f8c70;letter-spacing:.8px;display:flex;align-items:center;gap:6px;z-index:2;pointer-events:none}.model-corner-label span{width:4px;height:4px;border:1px solid #8e9d7e}.model-status{position:absolute;inset:0;z-index:3;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;background:#edf1e2f5;padding:30px;text-align:center;font-size:12px;line-height:1.7;color:#738267}.model-status.error{color:#9a4c2d}.model-spinner{height:24px;width:24px;border:2px solid #d6decd;border-top-color:#536f37;border-radius:50%;animation:model-spin .8s linear infinite}.model-toolbar{position:absolute;bottom:15px;left:50%;transform:translateX(-50%);display:flex;align-items:center;z-index:4;gap:2px;border:1px solid #dce3d1;border-radius:7px;padding:3px;background:#fffffff2;box-shadow:0 3px 10px #2e3e2908;max-width:calc(100% - 24px)}.model-toolbar button{border:0;background:transparent;min-width:40px;min-height:40px;display:grid;place-items:center;font-size:21px;color:#586d48;border-radius:4px;padding:0;line-height:1}.model-toolbar button:hover:not(:disabled){background:#ecf0e5;color:#536f37}.model-toolbar button:disabled{color:#c0c9b6}.model-toolbar button svg{stroke-width:1.6;stroke:currentColor;fill:none;stroke-linecap:round;stroke-linejoin:round}.model-toolbar-divider{height:18px;width:1px;background:#e3e8dc;margin:0 4px}.model-help{font-size:9px;color:#8a967f;line-height:1.6;display:flex;gap:8px 20px;justify-content:center;flex-wrap:wrap;margin-top:11px}.model-stage[data-state=error] .model-toolbar{display:none}.model-stage[data-state=error]+.model-help{visibility:hidden}
@keyframes model-spin{to{transform:rotate(360deg)}}
@media(max-width:900px){.model-panel{grid-template-columns:245px minmax(0,1fr);padding:23px;gap:13px}.model-info :is(h2,h3){font-size:25px}.model-modes{gap:6px}.model-modes button{font-size:9px;padding-left:8px;padding-right:8px}.model-stage{height:345px}.model-help{font-size:8px;gap:3px}.model-help span{display:block}.model-explanation{font-size:10px}.model-download{font-size:9px}}
@media(max-width:740px){.model-panel{display:flex;flex-direction:column;padding:20px;margin-bottom:23px;gap:17px}.model-info{padding:0;display:grid;grid-template-columns:1fr;align-items:start}.model-info .eyebrow{margin-bottom:13px}.model-info :is(h2,h3){font-size:25px}.model-info :is(h2,h3) br{display:none}.model-profile{margin-top:7px}.model-modes{margin-top:15px}.model-modes button{font-size:11px;min-height:44px;padding:11px 14px}.model-explanation{font-size:11px;max-width:none;min-height:0;margin-top:12px}.model-order-note{font-size:10px;margin-top:5px}.model-download{padding-top:12px;margin-top:0;font-size:10px}.model-stage{height:320px}.model-help{font-size:9px;gap:3px}.model-toolbar button{min-width:44px;min-height:44px}.model-toolbar{bottom:12px}.model-help span{width:100%;text-align:center}}
@media(max-width:400px){.model-panel{padding:17px}.model-info :is(h2,h3){font-size:23px}.model-stage{height:295px}.model-toolbar{gap:0}.model-toolbar button{min-width:42px;min-height:44px}.model-toolbar-divider{margin:0 2px}}
@media(prefers-reduced-motion:reduce){.model-spinner{animation:none}}
@media print{.model-panel{display:none!important}}

.models-heading{margin-bottom:20px}.models-heading h2{font-size:26px;font-weight:600;letter-spacing:-.7px}.models-heading p{max-width:680px;margin-top:10px;color:#737e68;font-size:13px;line-height:1.75}.model-to-quantity{margin-top:18px;color:#486430;text-decoration:none;font-size:11px;line-height:1.65;min-height:44px;display:flex;align-items:center}.model-to-quantity:hover{text-decoration:underline}.model-info .model-order-note{margin-top:3px}.models-section .model-panel{margin-bottom:20px}.models-section{margin-bottom:28px}.model-info :is(h2,h3){overflow-wrap:break-word}@media(max-width:740px){.models-heading h2{font-size:23px}.models-heading p{font-size:12px}.models-section{margin-bottom:23px}.model-to-quantity{margin-top:10px}.models-heading{margin-bottom:16px}}@media print{.models-section{display:none!important}}

.model-panel,.model-stage,.model-status{background:#fff}.model-toolbar{background:#fffffff2}
