html,body{margin:0;height:100%;background:#f2f2f2;color:#111;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}body{display:flex;flex-direction:column;height:100dvh}[hidden]{display:none!important}model-viewer{flex:1;min-height:0;width:100%;background:#f2f2f2}.ar-button{position:absolute;left:50%;bottom:16px;transform:translate(-50%);padding:14px 22px;border:0;border-radius:999px;background:#111;color:#fff;font-size:16px;font-weight:600}.panel{display:grid;gap:14px;padding:16px 16px calc(16px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #ddd}.fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.field{display:grid;gap:6px;min-width:0}.name{font-size:13px;font-weight:600}.value{font-size:14px;color:#555;font-variant-numeric:tabular-nums}select{width:100%;height:44px;padding:0 10px;border:1px solid #ccc;border-radius:8px;background:#fff;color:inherit;font:inherit;font-size:16px}.colour{display:flex;align-items:center;gap:10px}input[type=color]{flex:none;width:44px;height:44px;padding:0;border:1px solid #ccc;border-radius:8px;background:none}.presets{display:flex;flex-wrap:wrap;gap:8px}.presets button{display:inline-flex;align-items:center;gap:8px;height:36px;padding:0 12px 0 8px;border:1px solid #ccc;border-radius:999px;background:#fff;color:inherit;font:inherit;font-size:14px}.presets button:before{content:"";width:20px;height:20px;border-radius:50%;border:1px solid #0002;background:var(--chip)}.light{display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px 12px}input[type=range]{grid-column:1 / -1;width:100%;height:28px;margin:0;-moz-appearance:none;appearance:none;-webkit-appearance:none;border-radius:999px;background:linear-gradient(to right,#bcd4ff,#fff 17%,#ffd9a8 60%,#ffab5e);border:1px solid #ccc}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:30px;height:30px;border-radius:50%;background:#fff;border:2px solid #111}input[type=range]::-moz-range-thumb{width:26px;height:26px;border-radius:50%;background:#fff;border:2px solid #111}.ends{grid-column:1 / -1;display:flex;justify-content:space-between;font-size:12px;color:#777}.note{grid-column:1 / -1;font-size:12px;color:#777}
