.viewer-toolbar{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:46px;padding:5px 13px;background:#f8faf5;border-bottom:1px solid #dce3d5;z-index:2}.viewer-tool-group{display:flex;gap:5px;align-items:center}.viewer-tool-group button{border:1px solid transparent;background:none;border-radius:7px;display:flex;align-items:center;justify-content:center;gap:6px;min-height:35px;padding:7px 8px;font-size:0.625rem;white-space:nowrap}.viewer-tool-group button .icon{width:15px;height:15px}.viewer-tool-group button:hover,.viewer-tool-group button[aria-pressed=true]{background:#e9f0e3;border-color:#d2dfc8;color:var(--green)}.floating-tools{position:absolute;right:15px;top:70px;z-index:7;max-width:calc(100% - 30px)}.floating-tool-panel{width:285px;background:#fff;border:1px solid #cfdcc6;border-radius:12px;box-shadow:0 8px 30px #1b39221c;padding:15px}.floating-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px;gap:8px}.floating-title b{font-size:0.8125rem;font-weight:600}.floating-title>button{background:none;border:0;border-radius:6px;width:32px;height:32px;display:flex;align-items:center;justify-content:center}.floating-title .icon{width:16px;height:16px}.section-axis{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;margin-bottom:18px}.section-axis button{font-size:0.5625rem;min-height:38px;border:1px solid #dce4d5;border-radius:6px;background:#f7f9f4;padding:6px 4px}.section-axis button[aria-pressed=true]{background:#28563f;color:white;border-color:#28563f}.section-position-label{display:flex;align-items:center;justify-content:space-between;font-size:0.6875rem}.section-position-label output{font-variant-numeric:tabular-nums;font-size:0.75rem;color:#28563f}#section-position{width:100%;min-height:35px;accent-color:#28563f}.section-options{display:flex;justify-content:space-between;gap:7px;align-items:center;margin-block:5px}.section-options>button,.section-options>label{display:flex;align-items:center;gap:6px;font-size:0.625rem;border:0;background:none;min-height:40px;padding:0}.section-options .icon{width:14px;height:14px}.section-options input{accent-color:#28563f;width:17px;height:17px}.section-explanation{font-size:0.5625rem;color:#7e8b74;line-height:1.65;margin:10px 0}.section-disable{width:100%;border:1px solid #cfdcc6;border-radius:7px;background:#f4f7ef;color:#28563f;font-size:0.6875rem;min-height:39px;margin-top:3px}.standard-views{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.standard-views button{background:#f6f8f2;border:1px solid #dce5d3;border-radius:6px;font-size:0.625rem;min-height:40px}.camera-nudge{display:flex;align-items:center;gap:5px;margin-top:12px}.camera-nudge>span{font-size:0.625rem;flex:1}.camera-nudge>button{width:35px;min-height:35px;border:1px solid #dce5d3;border-radius:5px;background:#fff}.scene-tooltip{position:absolute;z-index:5;pointer-events:none;background:#263e2fec;color:white;border-radius:6px;padding:7px 10px;font-size:0.625rem;max-width:220px;line-height:1.5;box-shadow:0 3px 12px #243a2319}.system-tools{display:flex;justify-content:flex-end;gap:5px;padding:0 6px 3px}.system-tools>button{display:flex;align-items:center;justify-content:center;gap:5px;min-height:33px;border:0;background:none;color:#77896c;font-size:0.5625rem;border-radius:6px;padding:4px 7px}.system-tools .icon{width:13px;height:13px}.system-tools>button:hover{background:#edf3e7}.section-filter-button{display:inline-flex;align-items:center;gap:5px}.scene-host{z-index:0}.camera-tools{z-index:3}.scene-loading{z-index:8}.package-facts{display:grid;grid-template-columns:1fr 1fr;gap:12px}.package-facts>div{padding:13px;background:#f4f7ef;border-radius:8px}.package-facts strong{display:block;font-size:1.25rem;font-weight:500;color:#28563f}.package-facts small{display:block;color:#7b8b71;font-size:0.625rem;margin-top:5px}.load-progress{width:100%;height:6px;accent-color:#28563f}.loading-cancel{margin-top:14px}.package-id{overflow-wrap:anywhere;font-size:0.6875rem}.model-verified{display:flex;gap:6px;align-items:center;color:#477547;font-size:0.6875rem}.model-verified .icon{width:15px;height:15px}
@media(max-width:700px){.viewer-toolbar{min-height:45px;padding:4px 8px;gap:3px}.viewer-tool-group{gap:1px}.viewer-tool-group button{padding:6px;min-height:38px;font-size:0.5625rem;gap:4px}.viewer-tool-group button .icon{width:14px;height:14px}.viewer-tool-group>button[data-action=undo-display]>span{display:none}.floating-tools{left:11px;right:11px;top:auto;bottom:22px;max-width:none}.floating-tool-panel{width:100%;padding:13px}.floating-title{margin-bottom:8px}.floating-title>button{width:38px;height:38px}.section-axis{margin-bottom:10px}.section-axis button{min-height:40px;font-size:0.625rem}.section-options{margin:0}.section-explanation{margin:6px 0;font-size:0.5625rem}.section-disable{min-height:40px}.views-panel .standard-views button{min-height:39px}.camera-nudge{margin-top:7px}.camera-nudge>button{min-height:36px}.scene-tooltip{display:none}.system-tools>button{min-height:40px;font-size:0.625rem}.system-tools .icon{width:15px;height:15px}.scene-stage{min-height:95px}.floating-tool-panel{max-height:calc(100dvh - 275px);overflow:auto;overscroll-behavior:contain}.package-facts{gap:8px}}
@media(max-height:600px){.floating-tools{top:12px;bottom:auto}.floating-tool-panel{max-height:calc(100dvh - 185px);overflow:auto}.viewer-toolbar{min-height:39px;padding-block:1px}}

.floating-tools{max-height:calc(100% - 85px);overflow:auto;border-radius:12px}
@media(max-width:700px){.floating-tools{max-height:calc(100% - 35px)}}

.section-note{position:absolute;bottom:43px;left:20px;font-size:0.5625rem;color:#6b7d60;background:#f7f9f1db;padding:5px 8px;border-radius:5px;pointer-events:none;max-width:75%;line-height:1.5}
@media(max-width:700px){.section-note{left:13px;bottom:40px;font-size:0.5rem;max-width:70%}}
@media(max-width:900px) and (max-height:650px){.floating-tools{position:fixed;left:auto;right:12px;top:auto;bottom:80px;width:min(360px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 160px);z-index:30}.floating-tool-panel{width:100%;max-height:none}.floating-title{position:sticky;top:-15px;background:white;z-index:1}}
