.geometry-field-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 12px;margin-bottom:8px}
.geometry-field-heading label{margin:0}
.geometry-example-trigger{border:0;background:none;padding:5px 0;color:var(--accent);font-size:13px;line-height:1.5;text-decoration:underline;text-underline-offset:3px;cursor:pointer;min-height:32px}
#modal:has(.geometry-example){max-width:960px;max-height:calc(100dvh - 32px)}
.geometry-inputs{border:1px solid var(--line);border-radius:12px;background:#191b23;padding:12px 16px;margin-bottom:18px}
.geometry-inputs summary{cursor:pointer;color:#ded4f8;font-weight:500;font-size:14px;min-height:24px}
.geometry-inputs .hint{margin:12px 0}
.geometry-inputs h3{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;margin:0 0 10px;font-size:14px;font-weight:500}
.geometry-inputs h3 small{font-size:12px;color:var(--muted);font-weight:400}
.geometry-example-body>.geometry-inputs{margin:16px 0 10px;padding:12px}
.geometry-example-body>.geometry-inputs .hint{font-size:12px;margin:8px 0 0}
.geometry-input-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.geometry-input-grid figure{margin:0;min-width:0;text-align:center}
.geometry-input-grid button{display:block;border:1px solid #45414f;border-radius:8px;overflow:hidden;background:#fff;padding:0;width:100%;cursor:zoom-in}
.geometry-input-grid img{display:block;width:100%;height:80px;object-fit:contain;background:#fff}
.geometry-input-grid figcaption{font-size:12px;color:var(--muted);margin-top:6px}
.geometry-example-toolbar{display:flex;gap:6px;margin:0 0 14px;flex-wrap:wrap}
.geometry-example-toolbar button{border:1px solid var(--line);border-radius:8px;padding:9px 14px;background:#24232f;color:#c1b9d1;cursor:pointer;font-size:13px;min-height:40px}
.geometry-example-toolbar button[aria-pressed="true"]{background:#36264f;border-color:#9471d2;color:#f1e9ff}
.geometry-example-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.geometry-example-grid figure{margin:0;min-width:0;border:1px solid #3a3947;border-radius:12px;overflow:hidden;background:#191b23}
.geometry-example-grid figure:last-child{border-color:#78609e}
.geometry-example-grid figcaption{padding:14px 16px;border-bottom:1px solid var(--line)}
.geometry-example-grid h3{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin:0;font-size:19px;font-weight:600}
.geometry-example-grid h3 span{font-size:10px;letter-spacing:.2px;font-weight:500;border-radius:20px;padding:3px 8px;background:#3b2a56;color:#d3b7ff}
.geometry-example-grid figcaption p{font-size:12px;color:var(--muted);margin:5px 0 0}
.geometry-example-frame{height:300px;overflow:hidden;background:#191b23;display:grid;place-items:center;color:var(--muted);font-size:13px}
.geometry-example-frame canvas{display:block;width:100%;height:100%}
.geometry-viewer-status{font-size:12px;color:var(--muted);margin:0 0 12px;min-height:20px}
[data-geometry-retry][hidden]{display:none}
.geometry-example-toolbar{margin-bottom:8px}
.geometry-example-source h3{font-size:16px;margin:0 0 16px}
.geometry-example-caption{font-size:14px;color:#e3d9f2;margin:16px 0 10px;line-height:1.6}
.geometry-source-photo{display:block;width:100%;height:auto;max-height:56vh;object-fit:contain;background:#fff;border-radius:10px}
@media(max-width:620px){.geometry-example-trigger{min-height:40px}.geometry-field-heading{gap:0 10px}.geometry-example-grid{gap:8px}.geometry-example-grid figcaption{padding:10px;min-height:92px;box-sizing:border-box}.geometry-example-grid h3{font-size:16px}.geometry-example-grid h3 span{display:none}.geometry-example-grid figcaption p{font-size:11px}.geometry-example-caption{font-size:13px}.geometry-inputs{padding:12px}.geometry-input-grid{gap:6px}.geometry-inputs summary{font-size:13px}.geometry-example-toolbar button{flex:1;padding:8px;font-size:12px}}
@media(max-width:620px){.geometry-example-frame{height:240px}.geometry-example-grid figcaption{min-height:82px}.geometry-input-grid img{height:65px}}
