/* Hallmark · shape: app screen · genre: modern-minimal · theme: Coral · posture: camera workbench · scope: app · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V4 · actual camera tracking, measured hit distance, one placement action. */
@import url('/tokens.css');
@import url('/base.css');
:root { --font-body: 'Segoe UI', ui-sans-serif, system-ui, sans-serif; --font-display: var(--font-body); --container: 1120px; --gutter: 32px; --color-xr-ring: #ed8069; --color-xr-sky: #ffffff; --color-xr-ground: #998b7c; --color-xr-hud-paper: #f7f3ee; --color-xr-hud-ink: #302a25; --color-stage: oklch(94% 0.012 65); --color-transparent: transparent; --color-xr-panel: oklch(97% 0.006 55 / 0.96); --shadow-xr: 0 2px 16px oklch(20% 0.01 35 / 0.12); }
html, body { overflow-x: clip; }
body { min-height: 100dvh; }
.ar-page-header { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); min-height: 88px; border-bottom: 1px solid var(--color-rule); }
.ar-page-header a { font-size: var(--text-lg); font-weight: 600; text-decoration: none; }
.ar-page-header > span { font-size: var(--text-sm); color: var(--color-muted); }
.ar-workspace { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--space-xl); align-items: center; padding-block: var(--space-xl); }
.ar-model-stage { min-width: 0; background: var(--color-stage); border-radius: var(--radius-card); }
.ar-model-stage img { width: 100%; aspect-ratio: 5 / 4; object-fit: contain; padding: var(--space-md); }
.ar-model-stage p { padding: 0 var(--space-lg) var(--space-lg); font-size: var(--text-sm); color: var(--color-muted); font-variant-numeric: tabular-nums; }
h1 { font-size: var(--text-2xl); line-height: 1.2; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
.ar-intro { margin-top: var(--space-sm); color: var(--color-muted); }
.ar-steps { padding-left: 1.35em; margin-block: var(--space-lg); display: grid; gap: var(--space-sm); font-size: var(--text-sm); }
.scale-caption { font-size: var(--text-xs); color: var(--color-muted); }
.launch-status { margin-block: var(--space-md); padding-block: var(--space-sm); border-block: 1px solid var(--color-rule); font-size: var(--text-sm); }
.launch-status p { color: var(--color-muted); font-size: var(--text-sm); margin-top: var(--space-2xs); }
.ar-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: var(--space-sm) var(--space-md); font: inherit; font-size: var(--text-sm); font-weight: 600; border: 1px solid var(--color-transparent); border-radius: var(--radius-input); cursor: pointer; text-decoration: none; transition: background-color var(--dur-micro) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.ar-launch > .ar-button { width: 100%; margin-bottom: var(--space-xs); }
.primary { background: var(--color-accent); color: var(--color-accent-ink); }
.secondary { background: var(--color-paper); color: var(--color-ink); border-color: var(--color-rule-2); }
.ar-button:disabled { cursor: not-allowed; opacity: 0.55; }
.ar-button[aria-busy='true'] { cursor: progress; }
.ar-button:active { transform: translateY(1px); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.ar-small, .ar-help, .ar-credit { font-size: var(--text-xs); color: var(--color-muted); line-height: 1.6; }
.ar-help { margin-top: var(--space-sm); }
.ar-help summary { cursor: pointer; min-height: 44px; align-content: center; }
.ar-help p { padding-bottom: var(--space-sm); }
.ar-credit { padding-block: var(--space-md) var(--space-lg); border-top: 1px solid var(--color-rule); }
#xr-canvas { position: fixed; inset: 0; width: 100%; height: 100%; display: block; }
body.xr-live { background: var(--color-transparent); }
.xr-live #ar-overlay { position: fixed; inset: 0; z-index: var(--z-raised); pointer-events: none; }
.xr-controls { position: absolute; inset: 0; padding: max(env(safe-area-inset-top), 16px) max(env(safe-area-inset-right), 16px) max(env(safe-area-inset-bottom), 16px) max(env(safe-area-inset-left), 16px); display: flex; flex-direction: column; justify-content: space-between; }
.xr-top { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-sm); }
.xr-product, .xr-guidance { border-radius: var(--radius-input); background: var(--color-xr-panel); box-shadow: var(--shadow-xr); }
.xr-product { padding: var(--space-xs) var(--space-sm); max-width: 50%; }
.xr-product strong, .xr-product span { display: block; font-size: var(--text-sm); }
.xr-product span { font-size: var(--text-xs); color: var(--color-muted); }
.xr-top .ar-button { pointer-events: auto; box-shadow: var(--shadow-xr); }
.compact { min-height: 44px; }
.xr-bottom { width: min(100%, 480px); margin-inline: auto; display: flex; flex-direction: column; gap: var(--space-xs); }
.xr-guidance { padding: var(--space-sm) var(--space-md); }
.xr-guidance > p { font-size: var(--text-sm); line-height: 1.5; }
.xr-distance { margin-top: var(--space-xs); padding-top: var(--space-xs); border-top: 1px solid var(--color-rule); display: flex; align-items: baseline; gap: var(--space-sm); justify-content: space-between; }
.xr-distance > span { color: var(--color-muted); font-size: var(--text-xs); }
.xr-distance output { font-size: var(--text-lg); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.xr-actions { display: flex; gap: var(--space-xs); pointer-events: auto; }
.xr-actions > .ar-button { flex: 1; box-shadow: var(--shadow-xr); }
.placed-actions > .ar-button:first-child, .placed-actions > .ar-button:last-child { flex: 0 0 72px; }
:xr-overlay { background: var(--color-transparent); }
@media (hover: hover) { .primary:hover:not(:disabled) { background: var(--color-accent-2); color: var(--color-cotton); } .secondary:hover { background: var(--color-paper-3); } a:not(.ar-button):hover { color: var(--color-accent-2); } }
@media (max-width: 760px) { :root { --gutter: 20px; } .ar-page-header { min-height: 72px; } .ar-page-header a { font-size: var(--text-md); } .ar-workspace { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); padding-block: var(--space-lg); } .ar-model-stage img { max-height: 160px; aspect-ratio: 5 / 3; padding: var(--space-xs); } .ar-model-stage p { padding: 0 var(--space-md) var(--space-md); font-size: var(--text-xs); } .ar-launch { display: flex; flex-direction: column; } .ar-launch > * { order: 1; } .ar-launch > .ar-steps, .ar-launch > .ar-help { order: 2; } h1 { font-size: var(--text-xl); } .ar-intro { font-size: var(--text-sm); } .ar-steps { margin-block: var(--space-md); } .scale-caption { margin-top: var(--space-sm); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
