/* Data-driven internal prototype viewer: same bordeaux, charcoal, off-white identity. */
.prototype-viewer { border:1px solid #ffffff3c; background:#211F22; color:#F8F5F1; max-width:100%; overflow:hidden; }
.proto-toolbar { min-height:58px; border-bottom:1px solid #ffffff32; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; padding:12px clamp(12px,2vw,24px); }
.proto-toolbar__identity { display:flex; align-items:center; flex-wrap:wrap; gap:11px; font-size:11px; letter-spacing:.07em; }
.proto-toolbar__identity strong { font-family:var(--display); }
.proto-toolbar__identity small { color:#C5BBC0; font-size:10px; letter-spacing:0; }
.proto-logo { font-size:26px; color:#B58296; }
.proto-toolbar__actions { display:flex; flex-wrap:wrap; gap:6px; align-items:center; }
.proto-toolbar button,.proto-process button { min-height:44px; padding:8px 13px; border:1px solid #ffffff36; border-radius:5px; font:600 11px var(--body); background:transparent; color:#F8F5F1; }
.proto-toolbar button[aria-pressed=true],.proto-toolbar button:hover { background:#722D47; color:#fff; }
.proto-counter { min-width:58px; text-align:center; font:700 12px var(--display); }
.proto-workspace { display:grid; grid-template-columns:minmax(0,1fr) auto; min-height:690px; }
.proto-stage { min-width:0; min-height:690px; padding:clamp(16px,3.5vw,45px); display:grid; align-content:center; justify-items:center; background:radial-gradient(ellipse at 40% 10%,#55404D,#2A252E 60%,#1B191D); position:relative; overflow:hidden; }
.proto-device { width:min(380px,100%); height:610px; border:8px solid #4B4049; border-radius:35px; background:#F8F5F1; padding:7px; box-shadow:17px 24px 65px #05040699; position:relative; transition:width .4s,height .4s,border-radius .4s; }
.proto-device[data-device=tablet] { width:min(700px,100%); height:570px; border-radius:21px; }
.proto-screen-container { position:relative; width:100%; height:100%; border-radius:22px; overflow:hidden; isolation:isolate; }
.proto-device[data-device=tablet] .proto-screen-container { border-radius:12px; }
.prototype-screen { position:relative; width:100%; height:100%; background:#F8F5F1; overflow:auto; overscroll-behavior:contain; color:#211F22; scrollbar-width:thin; }
.proto-frame-inner { position:relative; width:100%; min-height:100%; padding:30px clamp(18px,5%,30px) 82px; display:flex; flex-direction:column; gap:13px; background:#F8F5F1; overflow:hidden; }
.proto-toprow { display:flex; justify-content:space-between; gap:12px; align-items:start; font-size:10px; }
.proto-toprow > span:last-child { font-size:9px; color:#696369; }
.proto-mark { font:800 23px/1 var(--display); letter-spacing:-.07em; color:#722D47; }
.proto-eyebrow { display:block; font:700 10px var(--body); text-transform:uppercase; letter-spacing:.17em; color:#722D47; }
.proto-frame-inner h2 { margin:11px 0 0; font:800 clamp(27px,4.3vw,42px)/1.03 var(--display); letter-spacing:-.07em; }
.proto-frame-inner p { font-size:12px; color:#696369; max-width:400px; line-height:1.6; }
.proto-event { position:relative; margin-top:15px; min-height:245px; border-radius:15px; background:#4C1D31; color:#F8F5F1; display:flex; flex-direction:column; overflow:hidden; }
.proto-event__graphic { height:145px; display:grid; place-items:center; background:radial-gradient(circle at 65% 45%,#CBA6B5,#795066 50%,#4C1D31); }
.proto-event__graphic span { font:800 120px var(--display); color:#F8F5F1; transform:rotate(25deg); }
.proto-event__copy { padding:15px; display:flex; gap:4px; flex-direction:column; }
.proto-event__copy small { font-size:9px; letter-spacing:.1em; }
.proto-event__copy strong { font:700 22px var(--display); }
.proto-event__copy span { font-size:11px; color:#E9D5DD; }
.proto-bottomnav { position:absolute; left:0; right:0; bottom:0; min-height:58px; display:flex; align-items:center; justify-content:space-around; border-top:1px solid #D6C7CB; font-size:10px; color:#696369; background:#F8F5F1; }
.proto-bottomnav .is-current { font-weight:700; color:#722D47; }
.proto-event-hero { min-height:230px; background:radial-gradient(circle at 65% 34%,#A06D83,#4C1D31 67%); border-radius:14px; color:#F8F5F1; display:flex; align-items:center; justify-content:center; text-align:center; }
.proto-event-hero span { font:800 clamp(40px,6vw,68px)/.96 var(--display); letter-spacing:-.1em; }
.proto-main-action { margin-top:auto; padding:18px; border-radius:8px; background:#722D47; color:#F8F5F1; text-align:center; font:700 12px var(--body); }
.proto-detail-line,.proto-field-demo { display:flex; justify-content:space-between; gap:12px; font-size:12px; padding:14px 0; border-block:1px solid #D6C7CB; }
.proto-ticket { background:#E7D5DA; border:1px solid #BFA2AE; border-radius:12px; padding:25px 20px; display:grid; gap:13px; margin-top:20px; color:#4C1D31; }
.proto-ticket small { font:700 9px var(--body); letter-spacing:.16em; }
.proto-ticket strong { font:800 26px var(--display); letter-spacing:-.05em; }
.proto-ticket span { font-size:11px; }
.proto-ticket-code { font:700 23px var(--body); letter-spacing:.18em; border-top:1px dashed #A76F83; padding-top:15px; }
.proto-success-mark { margin:55px auto 8px; width:110px; height:110px; border-radius:50%; border:2px solid #722D47; display:grid; place-items:center; color:#722D47; font:800 65px var(--display); }
.proto-layout-success h2,.proto-layout-success p { text-align:center; }
.proto-favorites-card { display:grid; gap:12px; padding:22px; margin:20px 0; border-radius:12px; background:#E7D5DA; color:#4C1D31; }
.proto-favorites-card__mark { font-size:70px; line-height:1; }
.proto-favorites-card strong { font:700 21px var(--display); }
.proto-favorites-card small { font-size:11px; }
.proto-image-frame { position:absolute; inset:0; }
.proto-image-frame img { width:100%; height:100%; object-fit:contain; background:#F8F5F1; }
.proto-hotspots-layer { position:absolute; inset:0; z-index:6; pointer-events:none; }
.proto-hotspot { pointer-events:auto; position:absolute; border:2px solid transparent; background:transparent; color:transparent; border-radius:6px; cursor:pointer; touch-action:manipulation; }
.proto-hotspot span { display:none; }
.proto-hotspot:hover,.proto-hotspot:focus-visible,.prototype-screen.show-hotspots .proto-hotspot { border:2px solid #722D47; background:#722D4733; color:#722D47; }
.proto-hotspot:focus-visible { outline:3px solid #F8F5F1; outline-offset:2px; }
.prototype-screen.show-hotspots .proto-hotspot span { display:block; position:absolute; left:4px; top:4px; max-width:calc(100% - 8px); padding:4px 6px; border-radius:3px; background:#4C1D31; color:#F8F5F1; font:600 9px var(--body); line-height:1.2; }
.proto-hint { max-width:600px; padding-top:18px; text-align:center; color:#D5C8D0; font-size:11px; margin:0; }
.proto-process { width:min(300px,29vw); max-height:780px; padding:20px; border-left:1px solid #ffffff32; overflow:auto; background:#29242B; }
.proto-process[hidden] { display:none; }
.proto-process__heading { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.proto-process h3 { font:700 22px var(--display); margin:0; }
.proto-process details { border-bottom:1px solid #ffffff31; padding:15px 0; }
.proto-process summary { cursor:pointer; font:700 13px var(--display); padding:7px 0; }
.proto-process p,.proto-process li { font-size:11px; line-height:1.6; color:#C5BBC0; }
.proto-process ul { padding-left:17px; }
.proto-wireframe { display:grid; gap:8px; padding:12px; border:1px solid #ffffff33; background:#332D35; }
.proto-wireframe i { display:block; width:70%; height:10px; background:#816B79; }
.proto-wireframe i:first-child { width:40%; height:22px; }
.proto-wireframe i:nth-child(3) { width:100%; height:55px; }
.proto-wireframe i:last-child { width:85%; }
.proto-component-demo { display:grid; gap:12px; padding-top:12px; }
.proto-component-demo button { background:#722D47; }
.proto-component-demo button.is-secondary { background:transparent; }
.proto-component-demo label { display:flex; align-items:center; justify-content:space-between; gap:12px; font-size:11px; }
.proto-component-demo input { accent-color:#A76F83; width:20px; height:20px; }
.proto-swatches { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; margin-top:12px; }
.proto-swatch { display:grid; gap:4px; }
.proto-swatch i { display:block; height:38px; border:1px solid #ffffff44; }
.proto-swatch code { font-size:10px; color:#F8F5F1; }
.proto-flowmap { display:grid; gap:8px; padding-top:12px; }
.proto-flowmap button { min-height:36px; text-align:left; }
.proto-status { padding:13px 23px; display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px; color:#C5BBC0; border-top:1px solid #ffffff31; font-size:10px; }
.proto-popover { position:absolute; inset:0; z-index:20; display:grid; place-items:center; background:#110C14bb; padding:20px; }
.proto-popover>div { width:min(410px,100%); padding:30px; border:1px solid #ffffff66; background:#F8F5F1; color:#211F22; }
.proto-popover h3 { font:700 27px var(--display); }
.proto-popover p { font-size:13px; }
.proto-popover button { float:right; border:0; background:transparent; color:#211F22; min-width:44px; min-height:44px; }
@media(max-width:760px) {
  .proto-workspace { grid-template-columns:1fr; }
  .proto-stage { min-height:0; }
  .proto-process { width:100%; max-height:none; border-left:0; border-top:1px solid #ffffff32; }
  .proto-toolbar__identity small { flex-basis:100%; }
  .proto-toolbar__actions { width:100%; justify-content:space-between; }
  .proto-toolbar button { padding:9px 11px; }
  .proto-device { height:clamp(460px,105vw,610px); width:min(360px,100%); }
  .proto-device[data-device=tablet] { height:clamp(360px,80vw,570px); }
}
@media(max-width:420px) {
  .proto-stage { padding:13px 8px; }
  .proto-device { width:min(100%,310px); height:clamp(450px,150vw,570px); border-width:5px; padding:5px; border-radius:27px; }
  .proto-device[data-device=tablet] { width:100%; height:440px; }
  .proto-frame-inner { padding:25px 15px 70px; }
  .proto-event { min-height:210px; }
  .proto-event__graphic { height:120px; }
  .proto-toprow { font-size:9px; }
  .proto-toolbar { padding:12px 9px; }
  .proto-toolbar__identity { gap:8px; }
}
@media(prefers-reduced-motion:reduce) { .proto-device { transition:none!important; } .prototype-screen { scroll-behavior:auto; } }
