/* Approved Seren visual language, shared by secondary screens and public entry points. */
.profile-mode-switch{position:fixed;left:calc(50% + 124px);bottom:28px;transform:translateX(-50%);z-index:75;display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:54px;max-width:calc(100vw - 40px);padding:14px 23px;border-radius:999px;background:var(--ink);color:#fff;text-decoration:none;font:600 15px/1.4 Inter,Arial,sans-serif;box-shadow:0 8px 24px #17191424;white-space:nowrap}.profile-mode-switch:hover{background:#30342a}.profile-mode-switch svg{width:21px;height:21px;flex-shrink:0}#memberMain #profile{padding-bottom:110px}.ref-tools>span.ref-host{display:flex;align-items:center;justify-content:center;height:44px;border-radius:25px;color:var(--olive-deep)}
@media(max-width:900px){.profile-mode-switch{left:50%;bottom:calc(92px + env(safe-area-inset-bottom))}#memberMain #profile{padding-bottom:110px}.p4-overlay:has(.p4-dialog){bottom:calc(76px + env(safe-area-inset-bottom))}.p4-overlay .p4-dialog{max-height:calc(100dvh - 100px - env(safe-area-inset-bottom))}body:has(#onboarding:not(.hidden)) .p4-overlay{bottom:0}body:has(#onboarding:not(.hidden)) .p4-overlay .p4-dialog{max-height:92dvh}}
@media(max-width:900px){.member-bottom-nav{min-height:calc(76px + env(safe-area-inset-bottom));padding:8px 4px calc(12px + env(safe-area-inset-bottom));box-sizing:border-box;background:var(--paper)}.member-bottom-nav button{font-size:13px;line-height:18px;min-height:54px;justify-content:center}.member-bottom-nav svg{width:24px;height:24px;flex-shrink:0}}
:root{--bg:#fcfaf6;--paper:#fcfaf6;--panel:#f3f0e9;--ink:#171914;--muted:#62665f;--faint:#74786e;--line:#e8e2d7;--olive:#5f6e2d;--olive-deep:#4d5c23;--olive-soft:#edf0df;--forest:#5f6e2d;--forest-deep:#4d5c23;--sage:#5f6e2d;--sage-soft:#edf0df;--oliveDeep:#4d5c23;--oliveSoft:#edf0df;--r-btn:28px}
body{font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased}button,input,select,textarea{font-family:Inter,system-ui,sans-serif}button,a.btn{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid var(--olive);outline-offset:3px}
.view:not(#today):not(#hostevents)>.vhead{margin-bottom:28px}.view:not(#today):not(#hostevents)>.vhead h1{font:700 40px/1.2 'Playfair Display',Georgia,serif;letter-spacing:-.8px}.view>.vhead p{font:500 18px/1.55 'Playfair Display',Georgia,serif;max-width:65ch;margin-top:10px}.view .panel-h h2,.view .agent-memory h2,.view .event-intelligence h2{font:700 27px/1.25 'Playfair Display',Georgia,serif}.panel-sub{font-size:15px;line-height:1.6}.card,.panel{box-shadow:none}.section-lbl{font-size:14px;letter-spacing:.03em;text-transform:none;font-weight:600;margin-top:28px;margin-bottom:14px}
.btn,.btn-sm,.chipf,.hz-p,.hz-tabs>b,.chat-back,.chat-jump{min-height:44px;font-size:15px;border-radius:26px}.btn{padding:12px 20px}.btn svg{width:20px;height:20px;flex-shrink:0}.navi{min-height:48px;font-size:15px}.navi svg{width:23px;height:23px;stroke-width:1.7}.field .lbl,.ob-field .lbl,.hz-fld label{font-size:14px;line-height:1.5}.field .val{font-size:17px;line-height:1.6}.field{padding-bottom:20px;margin-bottom:20px}.view input:not([type=checkbox]):not([type=radio]):not([type=range]),.view select,.view textarea{font-size:16px;line-height:1.5}.view textarea{min-height:110px}.chip,.pill,.tag,.mini{font-size:13px;line-height:1.5}.toolbar{gap:10px;flex-wrap:wrap}.toolbar .search{min-height:48px}.toolbar input{min-width:0}
/* Event discovery and details. Photographs are decorative unless a real cover is supplied. */
.ev-grid{gap:20px}.ev{overflow:hidden;border-radius:18px}.ev .band{height:180px;background:var(--panel);overflow:hidden}.ev .band img{display:block;width:100%;height:100%;object-fit:cover}.ev .ti{font-weight:700;font-size:26px;line-height:1.3}.ev .d,.ev .loc{font-size:15px;line-height:1.5}.ev .foot{flex-wrap:wrap;gap:10px}.ev .foot .btn{border-radius:26px!important;font-size:15px!important;min-height:46px}.member-event{border-radius:18px}.room-summary{min-width:0}.room-summary h2{font-weight:700;line-height:1.25}.member-event .event-state{font-size:13px}.event-cover{display:block;width:100%;max-width:880px;max-height:320px;object-fit:cover;border-radius:18px;margin:0 0 24px}.event-cover[hidden]{display:none}.passcard{border-radius:18px}.passcard .qr{margin:auto}.surface-loading,.member-events-empty{font-size:16px;line-height:1.6;padding:24px;color:var(--muted)}.surface-error{font-size:16px;line-height:1.6;border-radius:16px;padding:24px;background:var(--panel)}
/* Messages, profile and privacy. */
.msg-wrap{border-radius:18px;overflow:hidden;border:1px solid var(--line)}.thread{padding:18px;min-height:76px}.thread .nm,.chat-head .nm{font-size:17px;font-weight:600}.thread .pr,.thread .sub{font-size:14px}.chat-body{padding:24px}.bubble,.chat-compose textarea{font-size:16px;line-height:1.6}.chat-compose{padding:16px;gap:12px}.chat-compose textarea{border-radius:16px}.chat-compose .btn{min-width:72px}.chat-context,.chat-status{font-size:14px;line-height:1.5}.setrow,.secrow,.intg{gap:16px;padding-top:18px;padding-bottom:18px}.setrow .t,.setrow .st,.secrow .t,.intg .t{font-size:17px;line-height:1.4}.setrow .s,.setrow .ss,.secrow .s,.intg .s{font-size:14px;line-height:1.6}.sic,.intg .ic{min-width:44px;min-height:44px;border-radius:14px;display:flex;align-items:center;justify-content:center}.sic svg,.intg .ic svg{width:23px;height:23px}.swt{flex-shrink:0}.you-actions{margin:24px 0}.feedback-manage{gap:20px;flex-wrap:wrap}.feedback-manage h2{font:600 25px/1.3 'Playfair Display',Georgia,serif}
/* Agent context, event questions and dialogs keep the same readable scale. */
.memory-eyebrow,.ei-eyebrow{font-size:13px;letter-spacing:.04em;text-transform:none}.memory-intro,.ei-intro{font-size:16px;line-height:1.6}.memory-help,.memory-privacy,.memory-status,.memory-more summary,.ei-help,.ei-coverage,.ei-answer-privacy,.ei-question-purpose,.ei-question-options summary,.ei-responses>summary,.event-extra-brief>summary{font-size:14px;line-height:1.6}.memory-fields textarea,.ei-input,.ei-options-grid select{font-size:16px;line-height:1.6}.memory-fields label,.ei-label,.ei-options-grid label{font-size:15px}.ei-text-button,.ei-section-head .btn{font-size:14px;min-height:44px}.memory-more summary,.ei-question-options summary,.ei-responses>summary{min-height:44px;padding:12px 0}.p4-dialog,.ei-dialog,.paycard,.ob-card{border-radius:22px;background:var(--paper);max-height:calc(100dvh - 32px);overflow-y:auto}.p4-dialog h2,.ei-dialog h2,.paycard .pt,.ob-h{font:700 32px/1.25 'Playfair Display',Georgia,serif}.p4-dialog input,.p4-dialog textarea,.p4-dialog select,.ei-dialog input,.ei-dialog select{font-size:16px;min-height:48px}.p4-dialog p,.ei-dialog p,.paycard .ps,.ob-sub{font-size:16px;line-height:1.6}.paycard .btn{min-height:50px}.ob-actions{gap:12px}.opt{padding:18px;border-radius:16px}.opt .t{font-size:18px}.opt .s{font-size:15px}.opt .ico{width:44px;height:44px}.ob-field input{font-size:17px;min-height:52px}
/* Host work screens keep dense information readable. */
.panel{border-radius:18px}.kpi .l{font-size:14px}.kpi .n{font:600 36px/1.2 'Playfair Display',Georgia,serif}.kpi .d{font-size:13px}.ptab td,.ptab th,table td,table th{font-size:14px;line-height:1.5;padding:14px}.ptab th,table th{text-transform:none;letter-spacing:.02em}.table-wrap{overflow-x:auto}.tmpl{padding:18px 0;gap:14px}.tmpl .tt{font-size:17px}.tmpl .ts{font-size:14px;line-height:1.6}.hz-tabs{gap:8px;flex-wrap:wrap}.hz-tabs>b{padding:11px 18px}.hz-paste{font-size:16px;line-height:1.6;border-radius:14px}.hz-glist{font-size:15px}.host-home:before{content:none}.host-home svg{width:24px;height:24px}.topbar{gap:16px}.evpick{font-size:15px;min-height:46px}
/* Entry, invitation, password and report pages. */
.wm.serif{font:700 38px/1.1 'Playfair Display',Georgia,serif;letter-spacing:-1.5px;text-transform:capitalize}.auth-card h1,.auth-card h2{font:700 34px/1.2 'Playfair Display',Georgia,serif}.auth-card input{font-size:17px;min-height:52px}.auth-card button{border-radius:28px;min-height:50px}.note,.cardline{font-size:14px;line-height:1.6}
@media(max-width:900px){.view:not(#today):not(#hostevents)>.vhead h1{font-size:34px}.view>.vhead p{font-size:17px}.view .panel-h h2{font-size:25px}.main>.view{min-width:0}.grid-2{grid-template-columns:minmax(0,1fr)}.ev-grid{grid-template-columns:minmax(0,1fr)}.member-event{padding:18px;gap:14px;flex-wrap:wrap}.member-event>.btn{width:100%;margin-left:0}.room-summary{flex:1}.setrow,.secrow,.intg{gap:12px}.setrow>div,.intg>div{min-width:0}.intg{flex-wrap:wrap}.intg .act{margin-left:56px}.chat-body{padding:16px}.chat-compose{padding:12px;gap:8px}.p4-dialog,.ei-dialog,.paycard,.ob-card{max-width:calc(100vw - 24px)}.p4-dialog h2,.ei-dialog h2,.ob-h{font-size:29px}.event-intelligence,.agent-memory{padding:22px}.feedback-manage{display:block}.feedback-manage .btn{margin-top:16px}.view .toolbar .search{width:100%}.view .setrow .sr{max-width:40%;text-align:right}.event-cover{max-height:210px}.kpi .n{font-size:30px}}
.ev-grid .ev .band{height:180px}.ev-grid .ev .loc{font-size:15px}.ev-grid .ev .tag{font-size:13px}.bub{font-size:16px;line-height:1.6}
#profile.on{display:flex;flex-direction:column}#profile> *{order:2}#profile>.vhead{order:0}#profile>.you-actions{order:1;margin-top:0}
@media(max-width:600px){#matchmaking .kpis{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px}#matchmaking .kpi{min-width:0;padding:16px 10px}#matchmaking .kpi .l{font-size:12px;overflow-wrap:anywhere;text-transform:none;letter-spacing:0}#profile>.card:first-of-type>div:first-child{flex-wrap:wrap}#profile #editBtn{width:100%;margin-left:0!important}#profile>.card:first-of-type>div:first-child>div:nth-child(2){flex:1;min-width:0}.view .setrow .sic{display:flex}.view .setrow .sic svg{width:22px;height:22px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}

.host-message-card{padding:24px;max-width:880px}.host-message-actions{display:flex;justify-content:flex-end}.host-message-list{padding:24px 0;min-height:220px;max-height:55vh;overflow:auto}.host-message-list h2{font:600 27px/1.3 'Playfair Display',Georgia,serif}.host-message{max-width:85%;padding:16px;margin:12px 0;border:1px solid var(--line);border-radius:18px;background:white}.host-message p{margin:8px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.host-message.is-mine{margin-left:auto;background:var(--olive-soft)}.host-message strong{font-size:14px}.host-message-compose{display:grid;gap:12px;border-top:1px solid var(--line);padding-top:20px}.host-message-compose textarea{width:100%;min-height:100px;resize:vertical;border:1px solid var(--line);border-radius:14px;padding:14px;color:var(--ink);background:white}.host-message-compose .btn{justify-self:end}.host-bottom-nav[hidden]{display:none}@media(max-width:900px){body:has(#hostevents) .main{padding-bottom:95px}.host-message-card{padding:18px}.host-message-compose .btn{justify-self:stretch}.host-bottom-nav{z-index:80}.host-home{gap:12px}}

.operator-ui .brand .wm{font:700 38px/1.1 'Playfair Display',Georgia,serif;letter-spacing:-1.5px;text-transform:capitalize}.operator-ui .nav a{font-size:15px;min-height:48px;border-radius:14px}.operator-ui .nav .ic{width:24px;height:24px;flex-shrink:0}.operator-ui .nav svg{width:24px;height:24px}.operator-ui .nav .grp{font-size:12px;letter-spacing:.04em}.operator-ui .top h1{font:700 30px/1.3 'Playfair Display',Georgia,serif}.operator-ui .top .sub{font-size:15px}.operator-ui .search input{font-size:16px;min-height:48px}.operator-ui .stat .k,.operator-ui .stat .d{font-size:14px}.operator-ui .modal-card{border-radius:20px;max-height:90vh;overflow:auto}.operator-ui .modal-card h4{font-size:28px;font-weight:700}.operator-ui .modal-card p,.operator-ui .emptystate p{font-size:15px}.operator-ui table{display:block;overflow:auto;max-width:100%}@media(max-width:760px){body.operator-ui{display:block}.operator-ui .side{width:100%;height:auto;position:relative;padding:18px}.operator-ui .nav{flex-direction:row;flex-wrap:wrap;margin-top:16px;gap:6px}.operator-ui .nav a{flex:1 0 42%;font-size:14px}.operator-ui .nav .grp,.operator-ui .side .foot{display:none}.operator-ui .top{position:relative;flex-wrap:wrap;padding:20px}.operator-ui .top .search{width:100%;max-width:none;margin-left:0}.operator-ui .wrap{padding:20px}.operator-ui .grid{grid-template-columns:minmax(0,1fr)}.operator-ui .btn{white-space:normal}}

/* Keep data-request controls inside the operator card on narrow screens. */
@media(max-width:760px){.operator-ui #v-dsar .eyebrow+div{display:grid!important;grid-template-columns:minmax(0,1fr)}.operator-ui #v-dsar #dsarQ,.operator-ui #v-dsar #dsarExp,.operator-ui #v-dsar #dsarDel{min-width:0;width:100%;min-height:48px;box-sizing:border-box}}
