/* «Vidicap Assistant 3D»: the demo's dark stage with the model on the left and the ring states on the right. */
.a3d-stage { position: relative; flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); gap: 16px;
  padding: 0 16px 16px; }
.a3d-view { position: relative; min-height: 0; border-radius: 22px; overflow: hidden; background: #cfd4d6; }
.a3d-view canvas { display: block; width: 100%; height: 100%; touch-action: none; }
.a3d-msg { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; padding: 24px; text-align: center; color: #3a3f43; font-size: 15px; }
.a3d-msg:empty { display: none; }
.a3d-lines { position: absolute; z-index: 2; left: 32px; bottom: 32px; display: grid; gap: 6px; max-width: min(520px, calc(100% - 64px - 376px)); pointer-events: none; }
.a3d-line { margin: 0; padding: 9px 14px; border-radius: 14px; font-size: 15px; line-height: 1.4; background: rgba(21,21,23,.82); color: var(--tx);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.a3d-line small { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--mut); margin-bottom: 2px; }
.a3d-line.bot { background: rgba(58,36,20,.9); color: #ffd2b0; }
.a3d-line.ring span { font-weight: 600; }
.a3d-panel { display: flex; flex-direction: column; gap: 16px; min-height: 0; overflow: auto; padding: 18px; border-radius: 22px; background: var(--st2); }
.a3d-panel h1 { font-size: 22px; line-height: 1.2; margin: 4px 0 8px; color: #fff; text-wrap: balance; }
.a3d-panel p { margin: 0; line-height: 1.45; }
.a3d-panel .small { font-size: 13px; }
.a3d-group { display: flex; flex-wrap: wrap; gap: 8px; }
.a3d-label { width: 100%; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--mut); margin: 0 0 6px !important; }
.a3d .demo-chip[aria-pressed="true"]:not(.accent) { background: #fff; color: #151517; border-color: #fff; }
.a3d .demo-chip.accent[aria-pressed="false"] { background: transparent; color: var(--or-hi); }
.a3d-states { display: grid; gap: 2px; }
.a3d-state { display: grid; grid-template-columns: 14px 1fr; gap: 10px; align-items: start; text-align: left; width: 100%; font: inherit; color: var(--tx);
  background: transparent; border: 1px solid transparent; border-radius: 12px; padding: 7px 9px; cursor: pointer; }
.a3d-state:hover { background: #2c2c31; }
.a3d-state:focus-visible, .a3d .demo-chip:focus-visible { outline: 2px solid var(--or-hi); outline-offset: 2px; }
.a3d-state[aria-pressed="true"] { background: #303036; border-color: #45454c; }
.a3d-state i { width: 12px; height: 12px; border-radius: 50%; margin-top: 4px; box-shadow: 0 0 0 1px #45454c; }
.a3d-state b { display: block; font-weight: 600; font-size: 14px; }
.a3d-state span { display: block; color: var(--mut); font-size: 12.5px; line-height: 1.35; margin-top: 1px; }
@media (max-width: 820px) {
  .a3d-stage { grid-template-columns: 1fr; grid-template-rows: minmax(300px, 52vh) auto; overflow: auto; }
  .a3d-lines { left: 28px; bottom: auto; top: calc(52vh - 120px); max-width: calc(100% - 56px); }
  .a3d-panel { overflow: visible; }
}
