.modelCardPreview{position:relative;display:grid;place-items:center;width:100%;height:180px;overflow:hidden;background:var(--ws-soft,#eeeae2);color:var(--ws-action,#74603d);border:1px solid var(--ws-border,#bbb);border-radius:12px;padding:0;cursor:pointer}.modelCardPreview svg{width:92px;height:92px}.modelCardPreview img{width:100%;height:100%;object-fit:contain}.modelCardPreview span{position:absolute;bottom:9px;left:10px;padding:5px 10px;border-radius:20px;background:var(--ws-surface,#fffdf8);font-size:12px;color:var(--ws-text,#423d33)}.modelCardPreview:hover{box-shadow:0 0 0 2px var(--ws-action,#74603d)}.modelDialog{width:min(1040px,94vw);max-width:94vw;max-height:94dvh;padding:20px;background:var(--ws-surface,#fffdf8);color:var(--ws-text,#423d33);border:1px solid var(--ws-border,#bbb);border-radius:20px}.modelDialog::backdrop{background:#111a}.modelDialog header{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:15px}.modelDialog h2{font-size:22px;margin:0;overflow-wrap:anywhere}.modelStage{width:100%;position:relative;border:1px solid var(--ws-border,#bbb);border-radius:14px;background:var(--ws-surface,#fffdf8);color:var(--ws-text,#423d33);overflow:hidden}.modelStage:fullscreen{height:100%;display:flex;flex-direction:column;border-radius:0}.modelStage model-viewer{display:block;width:100%;height:min(58dvh,580px);min-height:260px;touch-action:none}.modelStage:fullscreen model-viewer{flex:1;height:auto}.modelStage .modelStatus{margin:0;padding:10px 14px;font-size:13px;line-height:1.5;min-height:38px}.modelStage progress{position:absolute;top:38px;width:100%;height:4px;z-index:2;accent-color:var(--ws-action,#74603d)}.modelControls{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;padding:12px;background:var(--ws-soft,#eeeae2)}.modelControls button,.modelControls select,.modelDisplaySettings button,.modelDialog header button{min-height:44px;padding:8px 14px;border:1px solid var(--ws-border,#b9ac90);border-radius:10px;background:var(--ws-surface,#fffdf8);color:var(--ws-text,#423d33);font:inherit;cursor:pointer}.modelControls button[aria-pressed=true]{background:var(--ws-action,#74603d);color:var(--ws-action-text,#fff)}.modelStage button:disabled{opacity:.45;cursor:wait}.modelHint{margin:0;padding:5px 14px 12px;text-align:center;color:var(--ws-muted,#716958);font-size:12px}.modelDisplaySettings{padding:12px 16px;border-top:1px solid var(--ws-border,#bbb)}.modelDisplaySettings summary{font-weight:700;cursor:pointer}.modelDisplaySettings label{display:inline-flex;align-items:center;gap:8px;margin:12px 16px 12px 0}.modelDisplaySettings input[type=color]{width:44px;height:36px;padding:2px}.modelDisplaySettings input[type=range]{width:120px}.modelDisplaySettings button{display:block;font-weight:700}.modelStage button:focus-visible,.modelCardPreview:focus-visible{outline:3px solid var(--ws-action,#74603d);outline-offset:2px}@media(max-width:600px){.modelDialog{padding:10px}.modelStage model-viewer{height:48dvh;min-height:220px}.modelControls{gap:6px;padding:8px}.modelControls button{font-size:13px;padding:8px 10px}.modelHint{font-size:11px}.modelDisplaySettings label{display:flex}.modelDisplaySettings button{width:100%}}

#poiPanel .poiKindChoices{grid-template-columns:repeat(3,minmax(0,1fr))}.modelStage [hidden]{display:none!important}

dialog.modelExpandedDialog{width:calc(100vw - 16px)!important;max-width:none!important;height:calc(100dvh - 16px)!important;max-height:none!important;box-sizing:border-box}dialog.modelExpandedDialog model-viewer{height:calc(100dvh - 250px);min-height:200px}
