/* Shared page system, retaining the existing preview palette and rail. */
.p-prototype-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:9px 14px;background:#e0f8f8;border:1px solid #bce9eb;border-radius:9px;font-size:12px;margin-bottom:20px;color:#25595f}.p-prototype-bar>span{display:flex;align-items:center;gap:7px}.p-prototype-bar i{width:6px;height:6px;background:#008e96;border-radius:50%}.p-prototype-bar>div{display:flex;align-items:center;gap:18px}.p-prototype-bar .button{font-size:12px;min-height:32px;padding:0}.p-breadcrumb{display:flex;align-items:center;gap:12px;font-size:12px;color:#62747b;margin:4px 0 24px}.p-breadcrumb .button{padding:0;min-height:30px;font-size:12px}.p-breadcrumb .button:last-child{margin-left:auto}.p-heading{margin:0 0 28px;max-width:940px}.p-heading h1{font-size:clamp(30px,3.2vw,48px);line-height:1.3;letter-spacing:-.04em;margin:0 0 12px;outline:0}.p-heading>p:last-child{color:#596b73;max-width:780px;font-size:15px}.p-heading .eyebrow{font-size:11px;color:#087582}.p-card{background:white;border:1px solid #dde5e8;border-radius:18px;padding:26px;min-width:0}.p-card h2{font-size:23px;line-height:1.4;margin-bottom:14px}.p-card h3{font-size:17px;margin:16px 0 8px}.p-card p+p{margin-top:12px}.p-card small{font-size:13px;font-weight:400}.p-card+.p-card,.p-section{margin-top:24px}.p-section>h2{margin-bottom:18px}.p-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.p-grid>.p-card+.p-card{margin:0}.p-split{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr);gap:24px;align-items:start}.p-split>.p-card{margin:0}.p-booking{position:sticky;top:20px;display:flex;flex-direction:column;gap:16px}.p-booking>h2{font-size:32px;margin:0}.p-booking .p-note{margin:0}.p-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:24px}.p-actions.center{justify-content:center}.button.soft{background:#edf3f5;color:#1f3c45;border:1px solid #d8e3e6}.button.text{background:none;color:#36515d;padding-left:0;padding-right:0}.p-form{display:flex;flex-direction:column;gap:20px}.p-form .p-actions{margin-top:8px}.p-field{display:flex;flex-direction:column;gap:7px;font-size:14px;font-weight:600;color:#334b55;min-width:0}.p-field input,.p-field select,.p-field textarea,.p-search input,.p-search select,.p-form>input,.p-form select{font:inherit;color:#132c35;background:#f7fafb;border:1px solid #cad8de;border-radius:8px;padding:12px 13px;width:100%;min-height:48px}.p-field textarea{min-height:100px;resize:vertical}.p-form input[type=checkbox],.p-check input{width:18px;height:18px;min-height:18px;accent-color:#008e99;flex-shrink:0}.p-check{display:flex;gap:10px;align-items:center;font-size:14px;font-weight:400}.p-form fieldset{border:1px solid #d9e3e7;border-radius:10px;padding:16px;display:flex;flex-wrap:wrap;gap:18px}.p-form legend{font-size:14px;padding:0 5px}.p-error:empty{display:none}.p-error{background:#fff0e9;color:#a4310d;border-left:3px solid #d86944;border-radius:5px;padding:10px 14px;font-size:14px}.p-note{font-size:12px!important;color:#62747d;line-height:1.8;margin:20px 0 0}.p-badge{display:inline-flex;align-items:center;background:#e0f6f7;color:#08616a;border-radius:5px;font-size:12px;padding:4px 8px;margin-bottom:10px}.p-tabs{display:flex;align-items:center;gap:6px;overflow-x:auto;margin:0 0 26px;border-bottom:1px solid #d7e1e5;padding-bottom:12px;scrollbar-width:thin}.p-tabs a,.p-tabs button{white-space:nowrap;border-radius:8px;padding:9px 18px;background:transparent;color:#62747d;font-size:14px;min-height:44px}.p-tabs .selected,.p-tabs [aria-current=page]{background:#10222b;color:#fff}.p-empty{text-align:center;border:1px dashed #bfcfd6;border-radius:18px;padding:55px 28px;grid-column:1/-1;background:#f8fbfc}.p-empty>.icon{width:38px;height:38px;color:#008f99;margin-bottom:15px}.p-empty h2{font-size:22px}.p-empty p{color:#657780;margin:12px 0 24px}.p-empty .button{margin:0 6px}.p-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.p-row>strong+span{margin-left:auto}.p-results-meta{margin-bottom:20px;font-size:13px;color:#59717c}.p-results-meta>a:first-of-type{margin-left:auto}.p-search{display:flex;gap:10px;margin:0 0 22px;background:white;padding:14px;border:1px solid #dce5e9;border-radius:12px}.p-search input{flex:1;min-width:120px}.p-search select{width:150px}.p-card-actions{display:flex;gap:8px;margin-top:18px;border-top:1px solid #e6ecef;padding-top:14px}.p-card-actions .button{padding:9px 10px;font-size:12px;gap:6px;flex:1}.p-detail{display:grid;grid-template-columns:minmax(200px,.85fr) 1.7fr;gap:40px;background:white;border-radius:22px;border:1px solid #dae3e7;padding:32px}.p-poster{border-radius:14px;overflow:hidden;align-self:start;background:#0d222c}.p-poster img{width:100%;max-height:680px;object-fit:contain}.p-detail-content h2{margin:24px 0 12px;font-size:22px}.p-story{white-space:pre-line;line-height:2.1;color:#3d555f}.p-facts{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 26px;color:#526a76;font-size:14px}.p-facts>span{border:1px solid #dce6eb;border-radius:7px;padding:7px 10px}.p-book{display:flex;gap:20px;align-items:center;margin-bottom:20px}.p-book img{width:90px;height:118px;object-fit:cover;border-radius:8px}.p-book h2{font-size:25px;margin:0 0 5px}.p-book p{color:#5c7580;font-size:13px}.p-seats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:24px 0}.p-seats>div{border:1px dashed #9acdd1;border-radius:12px;background:#e9f9f9;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;padding:16px;font-size:12px;color:#14707a}.p-seats>.occupied{background:#e9eef1;border-style:solid;border-color:#e2e8eb;color:#75868f}.p-companion{display:grid;grid-template-columns:1fr 90px auto;gap:12px;align-items:end;margin-bottom:15px}.p-steps{display:flex;gap:14px;margin-bottom:26px}.p-steps>span{display:flex;align-items:center;gap:10px;background:#e5ecef;color:#617780;border-radius:10px;padding:12px 20px;font-size:13px}.p-steps>span.active{background:#102b36;color:#79e9eb}.p-steps b{font-weight:500}.p-summary p{display:flex;justify-content:space-between;gap:18px;padding:12px 0;border-bottom:1px solid #e3eaed;font-size:14px;color:#607783}.p-summary strong{color:#163744;font-weight:500;text-align:right}.p-cart-row{display:grid;grid-template-columns:22px 70px 1fr auto;gap:16px;padding:22px 0;border-bottom:1px solid #e3ebee;align-items:center}.p-cart-row img{width:70px;height:95px;object-fit:cover;border-radius:6px}.p-cart-row h3{margin:0}.p-cart-row p{font-size:12px;color:#657680;margin:4px 0}.p-counter-row{display:flex;gap:14px;margin-top:10px}.p-counter-row label{display:flex;align-items:center;gap:6px;font-size:12px}.p-counter-row input{width:50px;padding:6px;border:1px solid #ccdae0;border-radius:5px;font:inherit}.p-list{display:flex;flex-direction:column;gap:16px}.p-list .p-card{margin:0}.p-record{display:flex;justify-content:space-between;align-items:center;gap:20px}.p-record .p-book{margin:0}.p-record>.p-book+div{text-align:right}.p-status-track{display:flex;margin:26px 0}.p-status-track span{flex:1;border-top:4px solid #dce7eb;padding-top:10px;font-size:13px;color:#7b8b93}.p-status-track .done{border-color:#04b9c5;color:#076c77}.p-menu-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.p-menu-card{transition:transform .2s,box-shadow .2s}.p-menu-grid>.p-card{margin:0}.p-menu-card:hover{transform:translateY(-3px);box-shadow:0 10px 25px #002e4610}.p-menu-card>span{float:right;color:#008c9a}.p-menu-card h3{margin:0 0 8px}.p-menu-card p{font-size:13px;color:#607782}.p-host img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:10px;margin-bottom:20px}.p-host blockquote{margin:18px 0;color:#078893}.p-room-symbol{font-size:38px;display:block;margin-bottom:20px}.p-success{text-align:center;padding:55px 30px}.p-success>p{max-width:550px;margin:0 auto}.p-success-icon{margin:0 auto 25px;width:70px;height:70px;display:grid;place-items:center;border-radius:50%;background:#b7f6f5;color:#08616c;font-size:32px}.p-faq{border-bottom:1px solid #dce7ea;padding:18px 0}.p-faq summary{cursor:pointer;font-weight:600}.p-faq p{padding:15px 0;color:#526c77}.p-stat{border-radius:14px;background:#eef6f8;padding:22px}.p-stat strong{display:block;font-size:30px;color:#123e4d}.p-switch{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px 0;border-bottom:1px solid #e1e9ee}.p-switch input{accent-color:#008c99;width:22px;height:22px}.p-confirmed{opacity:.62}.p-policy{line-height:2}.p-policy h2{margin-top:28px}.p-policy ul,.p-policy ol{padding-left:24px}#prototype-view{padding-bottom:80px;min-height:70vh}.p-booking hr{border:0;border-top:1px solid #dbe6eb;width:100%}#modal .p-form{margin-top:20px}.prototype-page .icon-button{min-width:40px;min-height:44px;justify-content:center}.prototype-page .card-description{min-height:40px}
@media(min-width:1350px){#prototype-view .cards-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1100px){.p-split{grid-template-columns:minmax(0,1.5fr) minmax(250px,1fr)}.p-menu-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.p-card{padding:22px}.p-detail{gap:24px;padding:24px}.p-search select{width:125px}}@media(max-width:760px){.p-prototype-bar{font-size:11px;padding:8px 10px;gap:6px}.p-bar-detail{display:none}.p-prototype-bar>div{gap:12px}.p-prototype-bar .button{font-size:11px}.p-heading h1{font-size:30px}.p-heading{margin-bottom:22px}.p-split,.p-detail{grid-template-columns:1fr}.p-booking{position:static}.p-detail .p-poster{max-height:330px;display:flex;justify-content:center}.p-poster img{max-height:330px;width:auto}.p-search{flex-wrap:wrap}.p-search input{flex-basis:100%}.p-search select{flex:1;width:80px}.p-search .button{padding:10px 14px}.p-card{padding:20px;border-radius:14px}.p-grid{gap:12px}.p-menu-grid{gap:12px}.p-menu-card h3{font-size:16px}.p-menu-card p{font-size:12px}.p-steps{gap:6px}.p-steps>span{padding:10px;font-size:11px;gap:6px;flex:1}.p-companion{grid-template-columns:1fr 74px auto;gap:7px}.p-companion .button{padding:9px;font-size:12px}.p-cart-row{grid-template-columns:20px 55px 1fr;gap:10px}.p-cart-row img{width:55px;height:80px}.p-cart-row>.button{grid-column:3;justify-self:end}.p-counter-row{flex-wrap:wrap;gap:8px}.p-record{align-items:start}.p-record .p-book{gap:12px}.p-record .p-book img{width:56px;height:80px}.p-record .p-book h2{font-size:19px}.p-record .p-book p{font-size:11px}.p-record>.p-book+div{min-width:90px}.p-record .button{font-size:12px;padding:9px 12px}.p-tabs{gap:3px}.p-tabs a,.p-tabs button{padding:8px 13px;font-size:13px}.p-book h2{font-size:22px}.p-actions .button{gap:10px;padding:12px 15px}.p-header-title{font-size:25px}.header-actions{gap:8px}.topbar .wordmark{font-size:20px}.member-button{padding-left:8px}.prototype-page main{padding-bottom:0}.p-seats{grid-template-columns:repeat(3,1fr)}#prototype-view{padding-bottom:110px}}
@media(max-width:420px){.p-menu-grid{grid-template-columns:1fr}.p-grid{grid-template-columns:1fr}.p-cart-row .p-counter-row label{font-size:11px}.p-book{gap:12px}.p-book img{width:65px;height:90px}.p-book h2{font-size:21px}.header-actions .member-button span{font-size:11px}.p-prototype-bar>div{gap:8px}.p-card-actions{flex-wrap:wrap}.p-card-actions .button{min-width:90px}.p-steps b{font-size:10px}}

.p-character img{width:100%;height:350px;object-fit:contain;background:#edf3f5;border-radius:10px}.p-character h3{margin-top:12px}

.pm-member-hero p.p-badge{color:#155764}.p-form input:invalid:not(:focus):not(:placeholder-shown){border-color:#a8bcc6}

.prototype-page .pm-member-hero p.p-badge{color:#155764!important}

/* Booking records keep one aligned content column at every width. */
.p-record{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:18px;min-width:0}.p-record>.p-book+div{text-align:left;min-width:0}.p-record .p-book,.p-record-detail .p-book{align-items:start;min-width:0}.p-record .p-book>div,.p-record-detail .p-book>div{min-width:0;flex:1}.p-record .p-book img,.p-record-detail .p-book img{flex-shrink:0}.p-record .p-book h2,.p-record-detail .p-book h2{overflow-wrap:anywhere}.p-record .p-book>div>p,.p-record-detail .p-book>div>p{display:flex;flex-wrap:wrap;gap:4px 12px}.p-record-date{font-weight:700;color:#173a47}.p-record-time{color:#355763;white-space:nowrap}.p-record-badges{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:10px}.p-record-badges .p-badge{margin:0}.p-record-expected{background:#fff0d7;color:#87500b}.p-record-price{font-size:18px;font-weight:700;color:#143a46}.p-record-people{font-size:14px;line-height:1.8;color:#355763}.p-record-states{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0}.p-record-states>div{padding:10px 12px;border-radius:8px;background:#f1f6f7;min-width:0}.p-record-states dt{font-size:11px;color:#637a83}.p-record-states dd{font-size:13px;font-weight:600;margin:5px 0 0;color:#163d48;overflow-wrap:anywhere}.p-record-vacancy{color:#08747d;font-size:13px;font-weight:600}.p-record-next,.p-record-venue{font-size:13px;color:#4c6772;line-height:1.8}.p-record-footer{border-top:1px solid #e1e9ec;padding-top:16px;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;min-width:0}.p-record-footer .p-record-id,.p-record-footer .p-actions{margin:0}.p-record-id{overflow-wrap:anywhere}.p-record-actions{min-width:0}.p-record-detail .p-summary p{flex-wrap:wrap}.p-record-detail .p-summary strong{overflow-wrap:anywhere}.p-record-detail .p-booking>.button{white-space:normal;text-align:center}
@media(max-width:760px){.p-record{gap:16px}.p-record .p-book img,.p-record-detail .p-book img{width:64px;height:90px}.p-record .p-book,.p-record-detail .p-book{gap:12px}.p-record .p-book h2,.p-record-detail .p-book h2{font-size:20px}.p-record .p-book .p-badge,.p-record-detail .p-book .p-badge{font-size:10px}.p-record-states{gap:8px}.p-record-states>div{padding:10px}.p-record-footer{display:block}.p-record-footer .p-actions{margin-top:14px}.p-record-actions{display:grid;grid-template-columns:minmax(0,1fr);width:100%;gap:10px}.p-record-actions .button{width:100%;min-width:0;white-space:normal;text-align:center}.p-record-detail .p-summary p{gap:8px}.p-record-detail .p-summary strong{max-width:100%;text-align:left}}

/* Later legacy mobile styles target the old record's side-by-side metadata. */
.p-record>.p-book+.p-record-body{display:block;min-width:0;width:100%}
@media(max-width:760px){.p-record .p-record-actions,.p-record-detail .p-record-actions{display:grid;grid-template-columns:minmax(0,1fr);width:100%}.p-record .p-record-actions>.button,.p-record-detail .p-record-actions>.button{grid-column:1/-1;width:100%}}
