[hidden] { display: none !important; }
.summary.monitor-open { position: static; }
.video-toggle {
  display: flex; width: 100%; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; margin: 14px 0 10px; padding: 8px 12px;
  border: 1px solid #a9c7b6; border-radius: 11px; color: var(--green-2); background: #f4f9f5;
  font-weight: 750;
}
.video-toggle:hover { background: #eaf3ed; }
.video-toggle:disabled { cursor: not-allowed; opacity: .6; }
.video-toggle svg, .phone-guard svg { width: 19px; height: 19px; flex: none; }
.phone-monitor { min-width: 0; scroll-margin-top: 82px; scroll-margin-bottom: 16px; box-shadow: none; border-color: var(--line); background: #fff; }
.phone-monitor-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.phone-monitor h2 { margin: 0; font-size: 18px; }
.phone-device-name { margin: 3px 0 0; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.phone-status { display: inline-flex; padding: 4px 9px; border-radius: 6px; color: var(--green-2); background: #e7f4eb; font-size: 12px; font-weight: 750; }
.phone-status.busy { color: #784100; background: #fff0d7; }
.phone-monitor .card-body { padding-top: 14px; }
.phone-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.cancel-draft { min-height: 44px; padding: 8px 12px; border: 1px solid #d8a5a0; border-radius: 9px; color: #923a33; background: #fff7f5; font-weight: 750; }
.cancel-draft:hover { background: #ffebe7; }
.cancel-draft:disabled { cursor: wait; opacity: .7; }
.phone-viewport { position: relative; height: 460px; overflow: hidden; border-radius: 12px; background: #15201a; }
.phone-interaction, .phone-viewport iframe { width: 100%; height: 100%; border: 0; }
.phone-viewport.locked { cursor: not-allowed; }
.phone-guard { position: absolute; inset: 0; z-index: 3; cursor: not-allowed; touch-action: pan-y; }
.phone-guard-label { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 8px; color: #fff; background: #25382d; white-space: nowrap; font-weight: 750; }
.phone-video-message { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; color: #f4f7f2; text-align: center; pointer-events: none; }
.phone-hint { margin: 12px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.video-toggle:focus-visible, .cancel-draft:focus-visible { outline: 3px solid #448562; outline-offset: 3px; }
@media (max-width: 820px) { .phone-viewport { height: min(560px, 65vh); min-height: 320px; } }
@media (prefers-reduced-motion: reduce) { .bar span { transition: none; } }
