
#broker-demo{padding:20px 8px;font-family:Arial,Helvetica,sans-serif;color:#30263F}#broker-demo *{box-sizing:border-box}#broker-demo .phone{max-width:390px;margin:auto;background:#5F4A8B;border:7px solid #30263F;border-radius:42px;padding:20px 14px 12px;box-shadow:0 15px 40px #0002;overflow:hidden}#broker-demo .top{display:flex;justify-content:space-between;align-items:center;margin:2px 2px 26px;font-size:12px}#broker-demo button{font:inherit;color:inherit;border:0;cursor:pointer;min-height:44px}#broker-demo .round{width:44px;border-radius:50%;background:#FEFACD10;display:grid;place-items:center}#broker-demo h1{font-size:34px;line-height:1.05;letter-spacing:-1.7px;font-weight:500;margin:0 0 12px}#broker-demo p{font-size:13px;line-height:1.5;margin:6px 0;color:#625470}#broker-demo .eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:1.5px;margin:0 0 9px;color:#625470}#broker-demo .filters{display:flex;gap:6px;margin:22px 0 15px;align-items:center}#broker-demo .pill{padding:0 14px;border-radius:25px;background:#E8DFC5;font-size:12px}#broker-demo .pill.active{background:#FEFACD;color:white}#broker-demo .sheet{background:#FFFEF2;border-radius:28px;padding:12px;margin:0 0 12px}#broker-demo .meta{display:flex;gap:9px;align-items:center;padding:3px 2px 12px}#broker-demo .avatar{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:#F2ECD8;font-size:12px;flex-shrink:0}#broker-demo .small{font-size:11px;color:#625470}#broker-demo strong{font-weight:500}#broker-demo .name{font-size:14px;margin-bottom:3px}#broker-demo .photo{position:relative;aspect-ratio:257/190;overflow:hidden;border-radius:21px;background:#E8DFC5}#broker-demo .photo img{position:absolute;max-width:none;width:286.38%;left:-28.02%;top:-268.42%}#broker-demo .photo .label{position:absolute;left:10px;top:10px;background:#FFFEF2;padding:8px 11px;border-radius:20px;font-size:11px}#broker-demo .photo button{position:absolute;right:10px;bottom:10px;background:#FEFACD;padding:0 16px;border-radius:24px;font-size:12px;display:flex;gap:8px;align-items:center}#broker-demo .price{display:flex;justify-content:space-between;align-items:center;margin:15px 3px 6px;font-size:23px;letter-spacing:-.8px}#broker-demo .address{font-size:13px;margin:0 3px 13px}#broker-demo .tags{display:flex;gap:6px;flex-wrap:wrap;margin:9px 2px 3px}#broker-demo .tags span{background:#F2ECD8;padding:7px 9px;border-radius:16px;font-size:11px}#broker-demo .actions{display:flex;justify-content:center;gap:16px;margin:15px 0 8px}#broker-demo .actions button{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:#FFFEF2}#broker-demo .actions button:last-child{background:#FEFACD;width:58px}#broker-demo .hint{text-align:center;font-size:11px;min-height:28px;color:#625470;margin:7px 0}#broker-demo nav{display:flex;background:#FFFEF2;border-radius:26px;padding:5px;gap:1px;margin-top:12px}#broker-demo nav button{flex:1;background:transparent;border-radius:22px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:10px;min-width:0}#broker-demo nav button.selected{background:#F2ECD8}#broker-demo svg{width:19px;height:19px}#broker-demo .primary{background:#FEFACD;border-radius:24px;padding:12px 18px;width:100%;margin-top:13px;font-size:13px}#broker-demo .back{display:flex;align-items:center;gap:8px;background:transparent;margin-bottom:16px;font-size:13px}#broker-demo h2{font-size:25px;line-height:1.15;letter-spacing:-.8px;font-weight:500;margin:15px 0}#broker-demo .view{min-height:535px}#broker-demo .row{display:flex;align-items:center;gap:12px;background:#FFFEF2;border-radius:22px;padding:16px;margin:14px 0;width:100%;text-align:left}#broker-demo .bubble{padding:14px;background:#FFFEF2;border-radius:19px 19px 19px 4px;font-size:13px;line-height:1.5;margin:14px 20px 14px 0}#broker-demo .out{background:#FEFACD;margin:14px 0 14px 20px;border-radius:19px 19px 4px 19px}#broker-demo form{display:flex;gap:7px;margin-top:20px}#broker-demo input{width:100%;min-width:0;border:0;border-radius:20px;padding:13px;font-size:16px}#broker-demo form button{border-radius:50%;background:#FEFACD;min-width:44px}#broker-demo .mutedbox{padding:20px 8px}#broker-demo .status{background:#F2ECD8;border-radius:12px;padding:12px;margin:16px 0;font-size:12px}#broker-demo [hidden]{display:none!important}@media(prefers-reduced-motion:no-preference){#broker-demo button{transition:transform .15s}#broker-demo button:active{transform:scale(.96)}}

#broker-demo nav{position:relative;isolation:isolate;border-radius:24px;padding:5px 4px 3px;margin-top:24px;background:#FFFEF2;box-shadow:0 6px 18px #18212b0d;overflow:visible;min-height:61px;align-items:stretch}
#broker-demo nav:before{content:"";position:absolute;z-index:-1;top:-7px;left:50%;transform:translateX(-50%);width:57px;height:48px;border-radius:50%;background:#FFFEF2}
#broker-demo nav button{position:relative;color:#7B6A91;gap:5px;font-size:10px;font-weight:400;border-radius:15px;min-height:49px;background:transparent}
#broker-demo nav button.selected{background:transparent;color:#FEFACD}
#broker-demo nav button svg{width:19px;height:19px;stroke-width:1.8}
#broker-demo nav .create-nav{justify-content:flex-end;padding-bottom:6px;gap:4px}
#broker-demo nav .create-icon{display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:#FEFACD;color:#FFFEF2;margin-top:-8px;box-shadow:0 3px 7px #FEFACD23}
#broker-demo nav .create-icon svg{width:20px;height:20px;stroke-width:2}
#broker-demo .publish-form{display:flex;flex-direction:column;gap:14px}
#broker-demo .publish-form label{display:flex;flex-direction:column;gap:7px;font-size:12px}
#broker-demo .publish-form input{background:#F2ECD8}
#broker-demo .publish-form button{border-radius:24px}

#broker-demo nav{height:72px;min-height:72px;margin-top:38px;padding:0;gap:0;background:transparent;border-radius:20px;box-shadow:none;isolation:isolate}
#broker-demo nav:before{content:"";position:absolute;inset:0;width:100%;height:100%;transform:none;border-radius:20px;background:#FFFEF2;z-index:-1;-webkit-mask:radial-gradient(circle 32px at var(--nav-x) 0px,transparent 31px,#000 32px);mask:radial-gradient(circle 32px at var(--nav-x) 0px,transparent 31px,#000 32px)}
#broker-demo nav .nav-orb{position:absolute;left:var(--nav-x);top:-26px;width:50px;height:50px;transform:translateX(-50%);border-radius:50%;background:#FFFEF2;z-index:0;pointer-events:none;box-shadow:0 2px 5px #51429b0b}
#broker-demo nav button{flex:1;z-index:1;min-width:0;padding:0 0 15px;height:72px;min-height:72px;justify-content:flex-end;gap:8px;border-radius:0;background:transparent;color:#7B6A91;font-size:10px;position:relative;transition:none}
#broker-demo nav button svg{position:absolute;top:13px;left:calc(50% - 10px);width:20px;height:20px;stroke-width:1.6;transition:transform .3s ease,color .2s ease}
#broker-demo nav button.selected{color:#FEFACD;background:transparent;font-weight:600}
#broker-demo nav button.selected svg{color:#FEFACD;transform:translateY(-24px) scale(1.3);stroke-width:1.65}
#broker-demo nav button:active{transform:none}
#broker-demo nav button:focus-visible{outline:2px solid #FEFACD;outline-offset:3px;border-radius:16px}
#broker-demo nav:after{content:"";position:absolute;width:88px;height:4px;background:#D9CEDF;border-radius:5px;bottom:5px;left:50%;transform:translateX(-50%);pointer-events:none}
@media(prefers-reduced-motion:no-preference){#broker-demo nav .nav-orb{transition:none}}
@media(prefers-reduced-motion:reduce){#broker-demo nav button svg{transition:none}}

#broker-demo nav .nav-orb{display:grid;place-items:center;padding:0;color:#FEFACD;line-height:0}
#broker-demo nav .nav-orb svg{position:static!important;display:block!important;flex:none;width:25px!important;height:25px!important;margin:0!important;padding:0!important;transform:none!important;stroke-width:1.65;align-self:center;justify-self:center}
#broker-demo nav button.selected svg{visibility:hidden;transform:none;transition:none}

#broker-demo .phone{position:relative;min-height:710px}
#broker-demo .welcome-screen{position:absolute;inset:0;z-index:8;background:#5F4A8B;padding:31px 24px;display:flex;flex-direction:column;justify-content:flex-start;opacity:1;transition:opacity .4s ease,transform .4s ease}
#broker-demo .welcome-brand{font-size:25px;font-weight:600;letter-spacing:-1px}
#broker-demo .welcome-brand span{font-size:11px;font-weight:400;letter-spacing:0;color:#625470}
#broker-demo .welcome-copy{padding:0 0 35px;margin:auto 0}
#broker-demo .welcome-copy .eyebrow{font-size:11px;letter-spacing:1.6px;margin-bottom:18px}
#broker-demo .welcome-copy h1{font-size:42px;line-height:1.08;letter-spacing:-2px;margin:0}
#broker-demo .welcome-copy em{font-weight:400}
#broker-demo .phone.is-welcoming>header,#broker-demo .phone.is-welcoming>main,#broker-demo .phone.is-welcoming>nav{visibility:hidden}
#broker-demo .welcome-screen.leaving{opacity:0;transform:translateY(-8px);pointer-events:none}
#broker-demo .phone:not(.is-welcoming) .filters{margin-top:3px}
@media(prefers-reduced-motion:reduce){#broker-demo .welcome-screen{transition:none}}

/* Marco constante; sólo se desplaza el contenido de cada sección. */
#broker-demo .phone{width:100%;max-width:390px;height:760px;min-height:760px;max-height:760px;display:flex;flex-direction:column;overflow:hidden}
#broker-demo .phone>.top{flex:0 0 36px;min-height:36px;margin:2px 2px 20px}
#broker-demo .phone>.view{flex:1 1 0;min-height:0;height:auto;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#B3A2C4 transparent;scrollbar-gutter:stable;padding-bottom:8px;padding-right:3px}
#broker-demo .phone>nav{flex:0 0 72px;height:72px;min-height:72px;margin-top:38px;margin-bottom:0}
#broker-demo .welcome-screen{min-height:0}

#broker-demo .phone>.view{padding-right:0;scrollbar-gutter:auto}
#broker-demo .phone>.view[data-page="explore"]{overflow:hidden}
#broker-demo .phone:not(.is-welcoming) .view[data-page="explore"] .filters{margin-top:0}

#broker-demo .guidance-slot{flex:0 0 28px;height:28px;display:flex;align-items:center;justify-content:center;margin:0;padding:0 3px;overflow:visible}
#broker-demo .guidance-slot .hint{height:auto;min-height:0;margin:0;line-height:16px;text-align:center;font-size:11px}
#broker-demo .phone>nav{margin-top:30px}
#broker-demo .phone>.view{padding-bottom:0}
#broker-demo .phone.is-welcoming>.guidance-slot{visibility:hidden}

#broker-demo .view[data-page="explore"]{display:flex;flex-direction:column}
#broker-demo .view[data-page="explore"]>.filters,#broker-demo .view[data-page="explore"]>.sheet{flex-shrink:0}
#broker-demo .view[data-page="explore"]>.actions{flex-shrink:0;margin-top:auto;margin-bottom:10px;padding-top:12px}

#broker-demo .phone>.view[data-page="explore"]{overflow:visible;background:transparent}
#broker-demo .action-slot{flex:0 0 80px;height:80px;display:flex;align-items:center;justify-content:center;background:transparent;overflow:visible;position:relative;z-index:2}
#broker-demo .action-slot>.actions{margin:0;padding:0;display:flex;align-items:center;justify-content:center;gap:16px;overflow:visible}
#broker-demo .guidance-slot{background:transparent;overflow:visible}
#broker-demo .phone.is-welcoming>.action-slot{visibility:hidden}

#broker-demo .action-slot{flex:0 0 70px;height:70px;align-items:flex-end;padding:0}
#broker-demo .guidance-slot{position:absolute;left:14px;right:14px;bottom:188px;height:24px;min-height:0;display:flex;align-items:center;justify-content:center;pointer-events:none;z-index:3;background:transparent}
#broker-demo .phone>nav{margin-top:30px}

#broker-demo nav:after{content:none;display:none}
#broker-demo .phone{padding-bottom:6px}
#broker-demo .phone>nav{flex-basis:58px;height:58px;min-height:58px}
#broker-demo nav button{height:58px;min-height:58px;padding-bottom:8px}
#broker-demo nav button svg{top:10px}
#broker-demo .guidance-slot{bottom:168px}

#broker-demo .guidance-slot{bottom:68px;height:22px;left:48px;right:14px;align-items:center}
#broker-demo .guidance-slot .hint{font-size:11px;line-height:15px}

#broker-demo .view[data-page="explore"]>article.sheet{flex:1 1 0;min-height:0;display:flex;flex-direction:column;margin-bottom:10px}
#broker-demo .view[data-page="explore"]>article.sheet>.photo{flex:1 1 0;aspect-ratio:auto;min-height:220px}
#broker-demo .view[data-page="explore"]>article.sheet>.meta,#broker-demo .view[data-page="explore"]>article.sheet>.price,#broker-demo .view[data-page="explore"]>article.sheet>.address,#broker-demo .view[data-page="explore"]>article.sheet>.tags{flex-shrink:0}
#broker-demo .photo{container-type:size}
#broker-demo .photo-scene{position:absolute;width:max(100cqw,135.263cqh);aspect-ratio:257/190;top:50%;left:50%;transform:translate(-50%,-50%);overflow:hidden}
#broker-demo .photo-scene img{width:286.38%;left:-28.02%;top:-268.42%;height:auto}

#broker-demo nav .nav-label{display:block;position:relative;top:2px}

#broker-demo .welcome-word{display:inline-block;vertical-align:baseline}
#broker-demo .welcome-copy{padding-bottom:35px}
@media(prefers-reduced-motion:no-preference){
#broker-demo .welcome-screen.playing .welcome-word{animation:tinha-word-arrive 720ms cubic-bezier(.22,.61,.36,1) var(--word-delay) both}
@keyframes tinha-word-arrive{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
}
@media(prefers-reduced-motion:reduce){#broker-demo .welcome-word{opacity:1;transform:none;animation:none}}
/* Pantalla completa adaptable, sin marco de teléfono. */
:root{background-color:#5F4A8B!important;color-scheme:light!important}
html,body{margin:0!important;padding:0!important;width:100%;height:100%;background:#5F4A8B!important;overflow:hidden;color-scheme:light}
#broker-demo{padding:0;width:100%;height:100%;background:#5F4A8B}
#broker-demo .phone{width:100%;max-width:none;height:100vh;height:100dvh;min-height:0;max-height:none;margin:0;border:0;border-radius:0;box-shadow:none;padding: max(12px,env(safe-area-inset-top)) max(14px,env(safe-area-inset-right)) max(6px,env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left));overflow:hidden}
#broker-demo .phone>.view{width:100%;min-height:0}
#broker-demo .phone>.view[data-page="explore"]{overflow:hidden}
#broker-demo .view[data-page="explore"]>article.sheet>.photo{min-height:0}
#broker-demo .phone>nav{width:100%;margin-top:30px;flex-shrink:0}
#broker-demo .guidance-slot{bottom:calc(62px + max(6px,env(safe-area-inset-bottom)));left:48px;right:14px}
#broker-demo .welcome-screen{padding:max(28px,env(safe-area-inset-top)) clamp(24px,6vw,100px) max(28px,env(safe-area-inset-bottom))}
#broker-demo .welcome-copy h1{font-size:clamp(36px,6vw,76px);line-height:1.08}
#broker-demo .photo-scene{width:max(100cqw,135.263cqh)}
@media(min-width:700px){
#broker-demo .phone{padding-left:clamp(24px,5vw,100px);padding-right:clamp(24px,5vw,100px)}
#broker-demo .view[data-page="explore"]>article.sheet{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(240px,1fr);grid-template-rows:auto 1fr auto auto auto;column-gap:28px;padding:20px}
#broker-demo .view[data-page="explore"]>article.sheet>.photo{grid-column:1;grid-row:1/6;width:100%;height:100%}
#broker-demo .view[data-page="explore"]>article.sheet>.meta{grid-column:2;grid-row:1}
#broker-demo .view[data-page="explore"]>article.sheet>.price{grid-column:2;grid-row:3;font-size:32px}
#broker-demo .view[data-page="explore"]>article.sheet>.address{grid-column:2;grid-row:4;font-size:16px}
#broker-demo .view[data-page="explore"]>article.sheet>.tags{grid-column:2;grid-row:5}
#broker-demo .guidance-slot{left:0;right:0}
}
@media(max-height:640px){
#broker-demo .filters{margin-bottom:8px}
#broker-demo .sheet{padding:9px;border-radius:20px}
#broker-demo .meta{padding-bottom:7px}
#broker-demo .price{margin-top:8px;font-size:21px}
#broker-demo .address{margin-bottom:6px}
#broker-demo .tags{margin-top:5px}
#broker-demo .tags span{padding:5px 8px}
#broker-demo .action-slot{height:52px;flex-basis:52px}
#broker-demo .actions button{height:46px;width:46px}
#broker-demo .actions button:last-child{width:46px}
}


/* Static notch mask: only the composited layers move, not layout or mask geometry. */
#broker-demo nav:before{display:none}
#broker-demo .nav-track{position:absolute;inset:0;overflow:hidden;border-radius:20px;pointer-events:none;z-index:-1}
#broker-demo .nav-surface{position:absolute;left:-100%;top:0;width:300%;height:100%;background:#FFFEF2;-webkit-mask:radial-gradient(circle 32px at 50% 0,transparent 31px,#000 32px);mask:radial-gradient(circle 32px at 50% 0,transparent 31px,#000 32px);will-change:transform}
#broker-demo nav .nav-orb{left:0;will-change:transform}
#broker-demo .photo img{image-rendering:auto}
#broker-demo button{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
@media(prefers-reduced-motion:no-preference){
#broker-demo nav .nav-orb,#broker-demo .nav-surface{transition:transform 320ms cubic-bezier(.22,.61,.36,1)}
#broker-demo .welcome-screen.playing .welcome-word{will-change:transform,opacity}
}
#broker-demo nav.nav-resizing .nav-orb,#broker-demo nav.nav-resizing .nav-surface{transition:none}
@media(prefers-reduced-motion:reduce){#broker-demo nav .nav-orb,#broker-demo .nav-surface{transition:none}}


/* Acceso inicial: misma paleta, áreas seguras y teclado móvil. */
#broker-demo .login-screen{position:absolute;inset:0;z-index:12;background:#5F4A8B;overflow-y:auto;padding:max(26px,env(safe-area-inset-top)) clamp(24px,6vw,90px) max(24px,env(safe-area-inset-bottom));display:flex;flex-direction:column}
#broker-demo .login-brand{font-size:30px;font-weight:600;letter-spacing:-1.4px}
#broker-demo .login-brand small{font-size:11px;font-weight:400;letter-spacing:0;color:#625470}
#broker-demo .login-panel{width:100%;max-width:410px;margin:auto; padding:42px 0}
#broker-demo .login-panel h1{font-size:clamp(36px,5vw,54px);letter-spacing:-2px;line-height:1.04;margin-bottom:18px}
#broker-demo .login-panel h1 em{font-weight:400}
#broker-demo .login-panel form{display:flex;flex-direction:column;gap:18px;margin-top:30px}
#broker-demo .login-panel label{display:flex;flex-direction:column;gap:8px;font-size:12px}
#broker-demo .login-panel input{height:54px;background:#FFFEF2;border-radius:18px;padding:0 17px;outline-offset:3px}
#broker-demo .password-field{position:relative}
#broker-demo .password-field input{padding-right:58px}
#broker-demo .password-field button{position:absolute;right:5px;top:5px;height:44px;width:44px;background:transparent;display:grid;place-items:center;border-radius:14px}
#broker-demo .login-panel .login-submit{height:56px;width:100%;border-radius:22px;background:#FEFACD;display:flex;align-items:center;justify-content:space-between;padding:0 20px;font-size:15px;margin-top:4px}
#broker-demo .login-note{font-size:11px;line-height:1.5;margin-top:18px}
#broker-demo .login-footer{font-size:11px;color:#625470;text-align:center;flex-shrink:0}
#broker-demo .phone.is-login>:not(.login-screen){visibility:hidden}
@media(prefers-reduced-motion:no-preference){#broker-demo .login-panel{animation:tinha-word-arrive 500ms ease both}}
#broker-demo select,#broker-demo textarea{font:inherit;width:100%;padding:14px;border:0;border-radius:16px;background:#FFFEF2;color:#30263F;font-size:16px}#broker-demo .publish-form textarea{min-height:100px;background:#F2ECD8}#broker-demo .listing-photo img{position:absolute;width:100%;height:100%;left:0;top:0;object-fit:cover}#broker-demo .listing-photo.no-photo{display:grid;place-items:center;color:#625470;background:#F2ECD8}#broker-demo .publish-error{color:#9b2929}

/* Palette Tinha: Lemon Chiffon × Ultra Violet. */
#broker-demo h1,#broker-demo h2,#broker-demo .login-brand,#broker-demo .welcome-brand,#broker-demo .price{color:#FEFACD}
#broker-demo .primary,#broker-demo .login-panel .login-submit,#broker-demo .photo button,#broker-demo .actions button:last-child,#broker-demo form button{background:#FEFACD;color:#5F4A8B}
#broker-demo .password-field button{background:transparent;color:#FEFACD}
#broker-demo .pill.active{background:#FEFACD;color:#5F4A8B}
#broker-demo .out{background:#FEFACD;color:#5F4A8B}
#broker-demo .nav-surface{background:#FEFACD}
#broker-demo nav button,#broker-demo nav button.selected{color:#5F4A8B}
#broker-demo nav .nav-orb{background:#5F4A8B;color:#FEFACD;box-shadow:0 2px 8px #FEFACD15}
#broker-demo .actions button{color:#FEFACD}
#broker-demo .listing-photo.no-photo{background:#F2ECD8;color:#625470}

/* Fondo Ultra Violet; superficies y acciones Lemon Chiffon. */
#broker-demo{color:#FEFACD}
#broker-demo p,#broker-demo .eyebrow,#broker-demo .small,#broker-demo .login-brand small,#broker-demo .welcome-brand span,#broker-demo .login-footer,#broker-demo .hint{color:#EAE3CA}
#broker-demo h1,#broker-demo h2,#broker-demo .login-brand,#broker-demo .welcome-brand{color:#FEFACD}
#broker-demo .sheet,#broker-demo .row{background:#FEFACD;color:#5F4A8B}
#broker-demo .sheet p,#broker-demo .sheet .small,#broker-demo .sheet .name,#broker-demo .sheet .price,#broker-demo .sheet .address,#broker-demo .sheet h2,#broker-demo .row p,#broker-demo .row .small,#broker-demo .row .name{color:#5F4A8B}
#broker-demo .avatar,#broker-demo .tags span,#broker-demo .status{background:#EAE3CA;color:#5F4A8B}
#broker-demo .price{color:#FEFACD}
#broker-demo .primary,#broker-demo .login-panel .login-submit,#broker-demo .photo button,#broker-demo .actions button,#broker-demo .actions button:last-child,#broker-demo form button{background:#FEFACD;color:#5F4A8B}
#broker-demo .pill{background:#735D9D;color:#FEFACD}
#broker-demo .pill.active{background:#FEFACD;color:#5F4A8B}
#broker-demo .nav-surface{background:#FEFACD}
#broker-demo nav button,#broker-demo nav button.selected{color:#5F4A8B}
#broker-demo nav .nav-orb{background:#FEFACD;color:#5F4A8B;box-shadow:0 2px 8px #30263F20}
#broker-demo .login-panel input,#broker-demo input,#broker-demo .publish-form input,#broker-demo select,#broker-demo textarea,#broker-demo .publish-form textarea{background:#FEFACD;color:#5F4A8B}
#broker-demo input::placeholder,#broker-demo textarea::placeholder{color:#796594;opacity:1}
#broker-demo .password-field button{background:transparent;color:#5F4A8B}
#broker-demo .bubble{background:#FEFACD;color:#5F4A8B}
#broker-demo .bubble.out{background:#EAE3CA;color:#5F4A8B}
#broker-demo .back{color:#FEFACD}
#broker-demo .listing-photo.no-photo{background:#EAE3CA;color:#5F4A8B}
#broker-demo .publish-error{color:#FFD8D8}
#broker-demo .photo .label{background:#FEFACD;color:#5F4A8B}
#broker-demo :focus-visible{outline:2px solid #FEFACD;outline-offset:3px}
#broker-demo .sheet :focus-visible,#broker-demo nav button:focus-visible{outline-color:#5F4A8B}

#broker-demo .auth-tabs{display:flex;gap:4px;padding:5px;border-radius:22px;background:#4F3C76;margin-top:26px}
#broker-demo .auth-tabs button{flex:1;min-height:46px;border-radius:17px;background:transparent;color:#FEFACD;font-size:13px}
#broker-demo .auth-tabs button[aria-pressed="true"]{background:#FEFACD;color:#5F4A8B}
#broker-demo .login-panel form{margin-top:22px}
#broker-demo .auth-error{color:#FFD8D8;margin:0}
@media(prefers-reduced-motion:no-preference){#broker-demo .registration-field:not([hidden]){animation:tinha-word-arrive 200ms ease both}}

/* Desktop layout. Below 1024px the established mobile interface is unchanged. */
#broker-demo .desktop-only{display:none}
@media (min-width:1024px){
  #broker-demo .desktop-only{display:block}
  #broker-demo .phone{padding:0 clamp(32px,4.8vw,100px) 18px;align-items:center}
  #broker-demo .desktop-header{width:100%;max-width:1240px;min-height:88px;flex:0 0 88px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #FEFACD24;margin-bottom:22px;gap:24px}
  #broker-demo .desktop-brand-group{display:flex;align-items:center;gap:28px}
  #broker-demo .desktop-brand{font-size:34px;font-weight:600;letter-spacing:-1.6px;line-height:1}
  #broker-demo .desktop-section{font-size:14px;padding-left:28px;border-left:1px solid #FEFACD40;line-height:24px;color:#FEFACDCC}
  #broker-demo .desktop-account{display:flex;align-items:center;gap:12px;background:transparent;padding:0;border-radius:30px;text-align:left}
  #broker-demo .desktop-account .avatar{width:40px;height:40px;background:#FEFACD;color:#5F4A8B;font-size:12px}
  #broker-demo .desktop-account span{font-size:13px;color:#FEFACD}
  #broker-demo .desktop-account svg{width:17px;height:17px;margin-left:9px}
  #broker-demo .phone>.view{width:100%;max-width:1240px;flex:1 1 0;min-height:0;padding:0 0 12px}
  #broker-demo .phone>.view[data-page="explore"]{overflow:hidden}
  #broker-demo .filters{gap:8px;margin:0 0 20px;min-height:44px;flex-shrink:0}
  #broker-demo .desktop-explore-heading{flex:1}
  #broker-demo .desktop-explore-heading h1{font-size:26px;letter-spacing:-.9px;line-height:1.2;margin:0}
  #broker-demo .filters .pill{padding:0 22px;font-size:13px;min-height:44px}
  #broker-demo .filters>span{display:none}
  #broker-demo .filters .pill:last-child{width:46px;min-width:46px;padding:0;display:grid;place-items:center;margin-left:8px;border:1px solid #FEFACD35;background:transparent}
  #broker-demo .view[data-page="explore"]>article.sheet{width:100%;max-height:640px;flex:1 1 0;min-height:0;display:grid;grid-template-columns:minmax(0,1.45fr) minmax(340px,1fr);grid-template-rows:auto minmax(0,max-content) auto auto minmax(8px,1fr) auto;column-gap:0;border-radius:30px;padding:14px;margin:0;box-shadow:0 16px 44px #30263F15;overflow:hidden}
  #broker-demo .view[data-page="explore"]>article.sheet>.photo{grid-column:1;grid-row:1/7;border-radius:21px;min-height:0;height:100%;width:100%}
  #broker-demo .view[data-page="explore"]>article.sheet>.meta{grid-column:2;grid-row:1;margin:12px 22px 0 30px;padding:0 0 20px;border-bottom:1px solid #5F4A8B25;gap:12px}
  #broker-demo .meta .avatar{width:42px;height:42px;font-size:12px}
  #broker-demo .meta .name{font-size:15px;line-height:21px;margin:0 0 3px}
  #broker-demo .meta .small{font-size:12px;line-height:18px}
  #broker-demo .desktop-property-copy{grid-column:2;grid-row:2;margin:0 22px 0 30px;padding:20px 0 10px;min-width:0;min-height:0;overflow:auto;scrollbar-width:thin}
  #broker-demo .desktop-property-copy h2{font-size:clamp(27px,2.4vw,34px);line-height:1.12;letter-spacing:-1.2px;margin:0 0 12px;font-weight:500;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  #broker-demo .desktop-property-copy p{font-size:14px;line-height:1.65;margin:0;color:#5F4A8BBF}
  #broker-demo .desktop-property-copy .desktop-location{display:flex;gap:7px;align-items:center;font-size:14px;color:#5F4A8B;margin-bottom:12px}
  #broker-demo .desktop-location svg{width:16px;height:16px;flex-shrink:0}
  #broker-demo .desktop-property-copy .desktop-description{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  #broker-demo .view[data-page="explore"]>article.sheet>.price{grid-column:2;grid-row:3;font-size:32px;letter-spacing:-1px;line-height:1.25;margin:0 22px 20px 30px;gap:8px}
  #broker-demo article.sheet>.price .small{font-size:11px;letter-spacing:0;border:1px solid #5F4A8B35;border-radius:20px;padding:6px 11px;line-height:16px}
  #broker-demo .view[data-page="explore"]>article.sheet>.address{display:none}
  #broker-demo .view[data-page="explore"]>article.sheet>.tags{grid-column:2;grid-row:4;margin:0 22px 16px 30px;gap:8px}
  #broker-demo .tags span{font-size:13px;padding:10px 14px;border-radius:12px;line-height:20px;background:#5F4A8B0D}
  #broker-demo .desktop-open{grid-column:2;grid-row:6;margin:0 22px 12px 30px;min-height:48px;display:flex;align-items:center;justify-content:space-between;background:#5F4A8B;color:#FEFACD;border-radius:16px;padding:12px 18px;font-size:14px}
  #broker-demo .view[data-page="explore"]>.sheet .photo>button{display:none}

  #broker-demo .photo-scene{width:max(100cqw,166.883cqh);aspect-ratio:257/154}
  #broker-demo .photo-scene img{width:286.38%;left:-28.02%;top:-331.16%}
  #broker-demo .photo .label{left:16px;top:16px;padding:10px 14px;font-size:12px;line-height:18px;box-shadow:0 3px 12px #30263F10}
  #broker-demo .action-slot{width:100%;max-width:1240px;flex:0 0 96px;height:96px;align-items:center;padding:0 0 10px}
  #broker-demo .action-slot>.actions{gap:12px}
  #broker-demo .actions button,#broker-demo .actions button:last-child{width:auto;min-width:134px;height:46px;border-radius:25px;padding:0 20px;display:flex;gap:9px;justify-content:center;align-items:center;font-size:13px;background:transparent;color:#FEFACD;border:1px solid #FEFACD60}
  #broker-demo .actions button:last-child{background:#FEFACD;color:#5F4A8B;border-color:#FEFACD}
  #broker-demo .actions button .desktop-only{display:inline}
  #broker-demo .actions button svg{width:18px;height:18px}
  #broker-demo .guidance-slot{bottom:calc(99px + max(0px,env(safe-area-inset-bottom)));left:0;right:0;height:18px}
  #broker-demo .phone>nav{width:560px;max-width:100%;flex:0 0 62px;height:62px;min-height:62px;margin:22px 0 0}
  #broker-demo nav button{height:62px;min-height:62px;font-size:11px;padding-bottom:10px}
  #broker-demo nav .nav-label{top:2px}
  #broker-demo .phone>.view:not([data-page="explore"]){max-width:940px;padding:8px 30px 24px;scrollbar-width:thin}
  #broker-demo .view:not([data-page="explore"])>.eyebrow{margin-bottom:12px;font-size:12px}
  #broker-demo .view:not([data-page="explore"])>h1{font-size:40px;margin-bottom:24px;line-height:1.15;letter-spacing:-1.4px}
  #broker-demo .view:not([data-page="explore"])>p{font-size:15px;line-height:1.7;max-width:660px}
  #broker-demo .row{font-size:15px;padding:20px 24px;min-height:64px;border-radius:18px;margin:14px 0}
  #broker-demo .status{font-size:14px;line-height:1.6;padding:18px 22px;border-radius:16px}
  #broker-demo .bubble{max-width:72%;width:fit-content;font-size:15px;line-height:1.65;padding:18px 22px;margin:18px 0}
  #broker-demo .bubble.out{margin-left:auto}
  #broker-demo .view[data-page="chat"]>form{margin-top:26px;padding:10px;background:#FEFACD18;border-radius:24px;gap:10px}
  #broker-demo .view[data-page="chat"]>form button{width:48px;height:48px;flex:0 0 48px}
  #broker-demo .publish-form{display:grid;grid-template-columns:1fr 1fr;gap:20px 24px;padding-bottom:16px}
  #broker-demo .publish-form label{font-size:13px;gap:9px;min-width:0}
  #broker-demo .publish-form label:nth-child(8),#broker-demo .publish-form label:nth-child(9),#broker-demo .publish-form>p,#broker-demo .publish-form>.primary{grid-column:1/-1}
  #broker-demo .publish-form input,#broker-demo .publish-form select{min-height:50px}
  #broker-demo .publish-form textarea{min-height:120px}
  #broker-demo .view[data-page="detail"]{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);grid-template-rows:44px auto auto auto auto auto auto;column-gap:32px;align-content:start}
  #broker-demo .view[data-page="detail"]>.back{grid-column:1/-1;grid-row:1;margin:0 0 14px}
  #broker-demo .view[data-page="detail"]>.photo{grid-column:1;grid-row:2/8;min-height:360px;aspect-ratio:auto;width:100%;height:clamp(360px,48dvh,480px)}
  #broker-demo .view[data-page="detail"]>.photo>button{display:none}
  #broker-demo .view[data-page="detail"]>:not(.back):not(.photo){grid-column:2}
  #broker-demo .view[data-page="detail"]>h2{font-size:32px;margin:12px 0 16px}
  #broker-demo .view[data-page="detail"]>.price{font-size:30px;margin:0 0 16px}
  #broker-demo .view[data-page="detail"]>p{font-size:14px;margin:0 0 12px}
  #broker-demo .primary{min-height:48px;font-size:14px}
  #broker-demo .welcome-brand{font-size:34px}
  #broker-demo .welcome-copy{width:100%;max-width:1240px;margin:auto}
  #broker-demo .welcome-screen{padding:34px clamp(50px,8vw,150px)}
  #broker-demo .welcome-copy h1{font-size:76px;letter-spacing:-3.8px}
  #broker-demo .login-screen{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(360px,.9fr);grid-template-rows:64px minmax(0,1fr) 28px;column-gap:clamp(48px,8vw,140px);padding:28px clamp(50px,8vw,150px)}
  #broker-demo .login-brand{grid-column:1/-1;grid-row:1;font-size:36px;align-self:center}
  #broker-demo .login-panel{display:contents}
  #broker-demo .desktop-login-intro{grid-column:1;grid-row:2;align-self:center;max-width:550px;padding-bottom:30px;display:block}
  #broker-demo .login-panel h1{font-size:clamp(48px,4.6vw,76px);line-height:1.06;letter-spacing:-3px;margin:22px 0 24px}
  #broker-demo .login-panel>p{display:none}
  #broker-demo .desktop-login-intro>p{font-size:16px;line-height:1.7;max-width:390px}
  #broker-demo .desktop-login-form{grid-column:2;grid-row:2;align-self:center;max-width:440px;width:100%;justify-self:end;padding:28px 30px;border:1px solid #FEFACD33;border-radius:30px;background:#FEFACD08}
  #broker-demo .auth-tabs{margin-top:0;gap:4px;border-radius:18px}
  #broker-demo .auth-tabs button{font-size:14px;min-height:46px;border-radius:13px}
  #broker-demo .login-panel form{margin-top:26px;gap:18px}
  #broker-demo .login-panel label{font-size:13px;gap:9px}
  #broker-demo .login-note{margin-top:20px;font-size:11px;line-height:1.65;opacity:.8}
  #broker-demo .login-footer{grid-column:1/-1;grid-row:3;align-self:end;text-align:left;font-size:12px}
  #broker-demo .phone.is-login>.desktop-header,#broker-demo .phone.is-welcoming>.desktop-header{visibility:hidden}
}
@media (min-width:1024px) and (max-height:760px){
  #broker-demo .phone{padding-bottom:12px}
  #broker-demo .desktop-header{flex-basis:66px;min-height:66px;margin-bottom:14px}
  #broker-demo .filters{margin-bottom:12px}
  #broker-demo .desktop-explore-heading h1{font-size:23px}
  #broker-demo .view[data-page="explore"]>article.sheet{padding:10px;grid-template-columns:minmax(0,1.4fr) minmax(340px,1fr);border-radius:25px}
  #broker-demo .view[data-page="explore"]>article.sheet>.meta{margin-top:8px;padding-bottom:12px}
  #broker-demo .desktop-property-copy{padding:18px 0 12px}
  #broker-demo .desktop-property-copy h2{font-size:28px;margin-bottom:8px}
  #broker-demo .desktop-property-copy .desktop-location{margin-bottom:10px;font-size:13px}
  #broker-demo .desktop-property-copy .desktop-description{font-size:13px;-webkit-line-clamp:2;line-height:1.5}
  #broker-demo .view[data-page="explore"]>article.sheet>.price{font-size:28px;margin-bottom:12px}
  #broker-demo .view[data-page="explore"]>article.sheet>.tags{margin-bottom:12px}
  #broker-demo .desktop-open{min-height:44px;margin-bottom:6px}
  #broker-demo .action-slot{height:76px;flex-basis:76px;padding-bottom:4px}
  #broker-demo .phone>nav{margin-top:18px}
  #broker-demo .guidance-slot{bottom:88px}
  #broker-demo .login-screen{padding-top:18px;padding-bottom:18px;grid-template-rows:48px minmax(min-content,1fr) 28px}
  #broker-demo .desktop-login-form{padding:22px 24px;margin:10px 0}
  #broker-demo .login-panel form{gap:12px;margin-top:20px}
  #broker-demo .login-panel input{height:48px}
  #broker-demo .password-field button{height:38px;top:5px}
  #broker-demo .login-note{margin-top:16px}
}
@media (min-width:1024px) and (prefers-reduced-motion:no-preference){
  #broker-demo .desktop-open,#broker-demo .actions button,#broker-demo .desktop-account{transition:transform 180ms ease,opacity 180ms ease}
  #broker-demo .desktop-open:hover,#broker-demo .actions button:hover{transform:translateY(-2px)}
  #broker-demo .desktop-account:hover{opacity:.8}
}

/* Motion and access: short, interruptible transitions; no layout animation. */
#broker-demo{--ease-out:cubic-bezier(.2,.8,.2,1);--ease-snap:cubic-bezier(.22,1,.36,1)}
#broker-demo .auth-tabs{position:relative;isolation:isolate}
#broker-demo .auth-tabs:before{content:"";position:absolute;left:5px;top:5px;bottom:5px;width:calc((100% - 14px)/2);background:#FEFACD;border-radius:17px;z-index:-1;transform:translateX(0)}
#broker-demo .auth-tabs.is-register:before{transform:translateX(calc(100% + 4px))}
#broker-demo .auth-tabs button,#broker-demo .auth-tabs button[aria-pressed="true"]{background:transparent;position:relative}
#broker-demo .auth-methods{display:flex;flex-direction:column;gap:12px;margin-top:24px}
#broker-demo .auth-methods .auth-method{display:flex;align-items:center;justify-content:center;gap:12px;min-height:54px;border:1px solid #FEFACD4D;border-radius:18px;background:#FEFACD;color:#5F4A8B;font-size:14px;font-weight:500;padding:13px 20px;position:relative}
#broker-demo .auth-method svg{width:21px;height:21px;flex:0 0 21px;position:absolute;left:18px}
#broker-demo .auth-methods .auth-method.email-method{background:transparent;color:#FEFACD;border-color:#FEFACD73}
#broker-demo .auth-separator{display:flex;align-items:center;gap:12px;color:#FEFACDA6;font-size:11px;margin:2px 0}
#broker-demo .auth-separator:before,#broker-demo .auth-separator:after{content:"";height:1px;flex:1;background:#FEFACD33}
#broker-demo .auth-back{display:flex;gap:7px;align-items:center;padding:0;background:transparent;color:#FEFACDCC;font-size:12px;min-height:40px;margin-top:12px}
#broker-demo .auth-back svg{width:16px;height:16px}
#broker-demo .email-auth .auth-back+form{margin-top:10px}
#broker-demo .login-note{font-size:11px;line-height:1.6;margin-top:20px}
#broker-demo .provider-dialog{width:min(360px,calc(100vw - 36px));max-height:calc(100dvh - 40px);padding:30px 24px 24px;border:0;border-radius:28px;background:#FEFACD;color:#5F4A8B;box-shadow:0 24px 80px #30263F40;overflow:auto}
#broker-demo .provider-dialog::backdrop{background:#30263F99}
#broker-demo .provider-dialog h2{font-size:26px;color:#5F4A8B;letter-spacing:-.8px;margin:16px 0 12px;padding-right:10px}
#broker-demo .provider-dialog p{color:#5F4A8B;font-size:14px;line-height:1.6}
#broker-demo .provider-dialog .provider-close{position:absolute;top:8px;right:10px;width:40px;height:40px;min-height:40px;display:grid;place-items:center;background:transparent;color:#5F4A8B;border-radius:50%}
#broker-demo .provider-dialog .primary{background:#5F4A8B;color:#FEFACD;min-height:48px;margin-top:24px}
#broker-demo .provider-dialog :focus-visible{outline-color:#5F4A8B}
#broker-demo .provider-symbol{display:grid;place-items:center;width:46px;height:46px;border-radius:15px;background:#5F4A8B0D}
#broker-demo .provider-symbol svg{width:26px;height:26px}
#broker-demo .view[data-page="explore"]>article.sheet{position:relative;transform-origin:50% 85%}
#broker-demo .photo img{-webkit-user-drag:none;user-select:none}
#broker-demo .photo{touch-action:pan-y}
#broker-demo .swipe-feedback{position:absolute;top:20px;right:20px;z-index:4;pointer-events:none;padding:11px 16px;border:2px solid currentColor;border-radius:13px;background:#FEFACD;color:#5F4A8B;font-size:16px;font-weight:600;opacity:0;transform:translateY(4px);line-height:1.2}
#broker-demo .is-dragging{user-select:none;cursor:grabbing}
#broker-demo .actions button:disabled{cursor:default;opacity:.55}
#broker-demo .toast-host{position:absolute;left:50%;bottom:calc(172px + env(safe-area-inset-bottom));width:max-content;max-width:calc(100% - 36px);z-index:9;transform:translateX(-50%);pointer-events:none}
#broker-demo .toast-message{display:flex;align-items:center;gap:16px;padding:11px 12px 11px 17px;min-height:48px;background:#FEFACD;color:#5F4A8B;border:1px solid #5F4A8B20;border-radius:18px;box-shadow:0 8px 26px #30263F20;font-size:12px;line-height:1.4;pointer-events:auto}
#broker-demo .toast-message button{min-height:36px;background:#5F4A8B;color:#FEFACD;border-radius:11px;padding:0 12px;font-size:12px;flex-shrink:0}
#broker-demo .toast-message>span:only-child{padding-right:5px}
#broker-demo .bubble{overflow-wrap:anywhere}
#broker-demo .login-panel input:focus,#broker-demo .publish-form input:focus,#broker-demo .publish-form textarea:focus,#broker-demo .publish-form select:focus{outline:2px solid #FEFACD;outline-offset:4px}
@media (min-width:1024px){
 #broker-demo .auth-tabs:before{border-radius:13px}
 #broker-demo .auth-methods{margin-top:26px;gap:12px}
 #broker-demo .toast-host{bottom:204px}
}
@media (prefers-reduced-motion:no-preference){
 #broker-demo button{transition:transform 160ms var(--ease-out),opacity 160ms ease,background-color 160ms ease}
 #broker-demo button:active:not(:disabled){transform:scale(.965)}
 #broker-demo nav button:active{transform:none}
 #broker-demo .auth-tabs:before{transition:transform 300ms var(--ease-snap)}
 #broker-demo nav .nav-orb,#broker-demo nav .nav-surface{transition:transform 380ms var(--ease-snap)}
 #broker-demo nav button svg{transition:opacity 150ms ease}
 #broker-demo .welcome-screen{transition:opacity 360ms ease,transform 360ms var(--ease-out)}
 #broker-demo .welcome-screen.leaving{transform:translateY(-4px)}
 #broker-demo .provider-dialog[open]{animation:tinha-dialog-in 220ms var(--ease-snap) both}
 #broker-demo .provider-dialog[open]::backdrop{animation:tinha-backdrop-in 180ms ease both}
 @keyframes tinha-dialog-in{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:none}}
 @keyframes tinha-backdrop-in{from{opacity:0}to{opacity:1}}
}
@media (hover:hover) and (prefers-reduced-motion:no-preference){
 #broker-demo .auth-method:hover{transform:translateY(-2px)}
 #broker-demo .auth-method.email-method:hover{background:#FEFACD12}
 #broker-demo .row:hover{transform:translateY(-1px)}
}
@media (prefers-reduced-motion:reduce){
 #broker-demo *,#broker-demo *:before,#broker-demo *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}

/* Chat fills its section: only messages scroll; the composer stays at the bottom. */
#broker-demo .phone>.view[data-page="chat"]{display:flex;flex-direction:column;overflow:hidden;min-height:0;padding-bottom:0}
#broker-demo .view[data-page="chat"]>.eyebrow,#broker-demo .view[data-page="chat"]>h1,#broker-demo .view[data-page="chat"]>.status{flex:0 0 auto}
#broker-demo .view[data-page="chat"]>.status{margin:4px 0 12px}
#broker-demo .view[data-page="chat"]>#broker-messages{display:flex;flex-direction:column;flex:1 1 0;min-height:0;gap:12px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#FEFACD66 transparent;padding:12px 2px 14px}
#broker-demo .view[data-page="chat"]>#broker-messages>.bubble{flex:0 0 auto;align-self:flex-start;width:fit-content;max-width:86%;margin:0;padding:14px 16px;border-radius:19px 19px 19px 5px;overflow-wrap:anywhere;font-size:13px;line-height:1.55}
#broker-demo .view[data-page="chat"]>#broker-messages>.bubble.out{align-self:flex-end;margin:0;border-radius:19px 19px 5px 19px}
#broker-demo .view[data-page="chat"]>#broker-messages>.bubble:first-child{margin-top:auto}
#broker-demo .view[data-page="chat"]>.chat-composer{display:flex;align-items:center;flex:0 0 auto;margin:0;padding:8px;gap:8px;border:1px solid #FEFACD22;background:#FEFACD12;border-radius:27px}
#broker-demo .view[data-page="chat"]>.chat-composer input{height:46px;min-height:46px;flex:1 1 0;min-width:0;border-radius:19px;padding:0 14px;font-size:16px;line-height:1.4}
#broker-demo .view[data-page="chat"]>.chat-composer button{display:grid;place-items:center;width:46px;height:46px;min-height:46px;flex:0 0 46px;padding:0;border-radius:50%}
#broker-demo .view[data-page="chat"]>.chat-note{flex:0 0 auto;width:100%;max-width:none;font-size:10px;line-height:15px;margin:8px 0 0;text-align:center;color:#FEFACDB3}
@media(min-width:1024px){
 #broker-demo .view[data-page="chat"]>.status{margin:4px 0 16px}
 #broker-demo .view[data-page="chat"]>#broker-messages{gap:14px;padding:16px 2px 18px}
 #broker-demo .view[data-page="chat"]>#broker-messages>.bubble{max-width:76%;padding:16px 20px;font-size:15px;line-height:1.6}
 #broker-demo .view[data-page="chat"]>.chat-composer{padding:9px;gap:10px;border-radius:29px}
 #broker-demo .view[data-page="chat"]>.chat-composer input{height:48px;min-height:48px;border-radius:20px}
 #broker-demo .view[data-page="chat"]>.chat-composer button{width:48px;height:48px;min-height:48px;flex-basis:48px}
 #broker-demo .view[data-page="chat"]>.chat-note{font-size:11px;line-height:16px}
}
@media(max-height:600px){
 #broker-demo .view[data-page="chat"]>.eyebrow{margin-bottom:4px}
 #broker-demo .view[data-page="chat"]>h1{font-size:26px;margin-bottom:8px}
 #broker-demo .view[data-page="chat"]>.status{padding:9px 12px;margin:0 0 6px}
 #broker-demo .view[data-page="chat"]>#broker-messages{padding-top:6px;padding-bottom:10px;gap:8px}
 #broker-demo .view[data-page="chat"]>#broker-messages>.bubble{padding:10px 13px}
}

/* One motion language across the app; geometry and mobile layout stay fixed. */
#broker-demo{--motion-fast:160ms;--motion-normal:300ms;--motion-ease:cubic-bezier(.22,1,.36,1)}
#broker-demo .login-panel,#broker-demo .registration-field:not([hidden]){animation:none}
#broker-demo .provider-dialog.is-closing{pointer-events:none}
#broker-demo .publish-form [aria-busy="true"]:after{content:"";display:inline-block;width:14px;height:14px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;margin-left:10px;vertical-align:middle}
@media(prefers-reduced-motion:no-preference){
 #broker-demo button{transition:transform var(--motion-fast) var(--motion-ease),opacity var(--motion-fast) ease,background-color var(--motion-fast) ease,color var(--motion-fast) ease}
 #broker-demo input,#broker-demo textarea,#broker-demo select{transition:box-shadow 180ms ease,background-color 180ms ease}
 #broker-demo input:focus,#broker-demo textarea:focus,#broker-demo select:focus{box-shadow:0 0 0 4px #FEFACD18}
 #broker-demo label{transition:opacity var(--motion-fast) ease}
 #broker-demo .photo-scene{transition:transform 520ms var(--motion-ease)}
 #broker-demo .listing-photo img{transition:transform 520ms var(--motion-ease)}
 #broker-demo .photo>button svg,#broker-demo .desktop-open svg,#broker-demo .login-submit svg{transition:transform 240ms var(--motion-ease)}
 #broker-demo nav .nav-label{transition:color 180ms ease}
 #broker-demo .provider-dialog.is-closing::backdrop{animation:tinha-modal-backdrop-out 150ms ease forwards}
 #broker-demo .publish-form [aria-busy="true"]:after{animation:tinha-busy-turn 700ms linear infinite}
 @keyframes tinha-busy-turn{to{transform:rotate(360deg)}}
 @keyframes tinha-modal-backdrop-out{to{opacity:0}}
}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
 #broker-demo button:not(:disabled):not([aria-disabled="true"]):hover{opacity:.9}
 #broker-demo .photo:hover .photo-scene{transform:translate(-50%,-50%) scale(1.025)}
 #broker-demo .listing-photo:hover img{transform:scale(1.025)}
 #broker-demo .photo>button:hover svg,#broker-demo .desktop-open:hover svg{transform:translate(2px,-2px)}
 #broker-demo .login-submit:hover svg{transform:translateX(3px)}
}
@media(prefers-reduced-motion:reduce){
 #broker-demo *,#broker-demo *:before,#broker-demo *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}

/* Property photographs and horizontal gallery. */
#broker-demo .photo.real-photo{background:#EAE3CA;touch-action:pan-x pan-y pinch-zoom}
#broker-demo .gallery-track{position:absolute;inset:0;display:flex;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;touch-action:pan-x pan-y pinch-zoom;cursor:grab;-webkit-overflow-scrolling:touch}
#broker-demo .gallery-track::-webkit-scrollbar{display:none}
#broker-demo .gallery-track:focus-visible{outline:3px solid #FEFACD;outline-offset:-5px;border-radius:21px}
#broker-demo .gallery-track.is-dragging{scroll-snap-type:none;cursor:grabbing;user-select:none}
#broker-demo .gallery-slide{position:relative;flex:0 0 100%;width:100%;height:100%;margin:0;overflow:hidden;scroll-snap-align:start}
#broker-demo .gallery-slide>img{position:absolute;inset:0;width:100%;height:100%;max-width:100%;object-fit:cover}
#broker-demo .gallery-progress{position:absolute;top:12px;left:12px;right:12px;display:flex;gap:5px;z-index:2;pointer-events:none}
#broker-demo .gallery-progress span{flex:1;height:3px;border-radius:4px;background:#FEFACD66;box-shadow:0 1px 4px #30263F30}
#broker-demo .gallery-progress span[data-active="true"]{background:#FEFACD}
#broker-demo .photo .gallery-step:disabled{opacity:.35;cursor:default}
#broker-demo article.sheet>.meta,#broker-demo article.sheet>.desktop-property-copy,#broker-demo article.sheet>.price,#broker-demo article.sheet>.address,#broker-demo article.sheet>.tags{touch-action:pan-y}
@media(prefers-reduced-motion:no-preference){#broker-demo .gallery-progress span{transition:background-color 160ms ease}}
#broker-demo .photo.real-photo>img{position:absolute;inset:0;width:100%;height:100%;left:0;top:0;object-fit:cover;max-width:100%}
#broker-demo .photo .gallery-step{position:absolute;top:50%;bottom:auto;width:42px;height:42px;min-height:42px;padding:0;display:grid;place-items:center;border-radius:50%;background:#FEFACDED;color:#5F4A8B;box-shadow:0 2px 12px #30263F24;transform:translateY(-50%);z-index:2}
#broker-demo .photo .gallery-step.prev{left:12px;right:auto}
#broker-demo .photo .gallery-step.next{right:12px;left:auto}
#broker-demo .photo .gallery-step:active:not(:disabled){transform:translateY(-50%) scale(.94)}
#broker-demo .photo .gallery-step svg{width:19px;height:19px}
#broker-demo .photo .gallery-step:hover svg{transform:none}
#broker-demo .photo .gallery-counter{position:absolute;left:12px;bottom:12px;z-index:2;background:#FEFACDED;color:#5F4A8B;border-radius:20px;padding:7px 11px;font-size:11px;line-height:18px;pointer-events:none;font-variant-numeric:tabular-nums}
#broker-demo .photo.real-photo .label{font-size:10px;padding:8px 11px}
#broker-demo .view[data-page="explore"]>article.sheet>.photo>.gallery-step{display:grid}
#broker-demo .gallery-thumbs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin:10px 0 18px}
#broker-demo .gallery-thumbs button{padding:0;min-width:0;min-height:44px;aspect-ratio:4/3;overflow:hidden;border:2px solid transparent;border-radius:12px;background:#FEFACD26;opacity:.65}
#broker-demo .gallery-thumbs button[aria-pressed="true"]{border-color:#FEFACD;opacity:1}
#broker-demo .gallery-thumbs img{display:block;width:100%;height:100%;object-fit:cover}
#broker-demo .detail-gallery>.photo{aspect-ratio:4/3;min-height:220px;width:100%}
#broker-demo .view[data-page="detail"] .detail-gallery .photo>.photo-open{display:none}
#broker-demo .view[data-page="detail"] .detail-gallery .photo>.gallery-step{display:grid}
#broker-demo .detail-copy>.price{font-size:26px;margin:0 0 14px}
#broker-demo .detail-copy>h2{font-size:28px;margin:12px 0 14px;color:#FEFACD}
#broker-demo .detail-copy>p{font-size:14px;line-height:1.65;margin:0 0 12px}
#broker-demo .reference-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:18px 0}
#broker-demo .reference-facts>div{padding:12px 14px;border:1px solid #FEFACD2E;border-radius:15px;background:#FEFACD0A;min-width:0}
#broker-demo .reference-facts span{display:block;font-size:10px;line-height:1.4;color:#FEFACDB3;margin-bottom:5px}
#broker-demo .reference-facts strong{font-size:14px;line-height:1.4;color:#FEFACD}
@media(min-width:1024px){
 #broker-demo .phone>.view[data-page="detail"]{grid-template-rows:44px auto;align-content:start}
 #broker-demo .phone>.view[data-page="detail"]>.detail-gallery{grid-column:1;grid-row:2;min-width:0;align-self:start}
 #broker-demo .phone>.view[data-page="detail"]>.detail-copy{grid-column:2;grid-row:2;min-width:0;align-self:start}
 #broker-demo .detail-gallery>.photo{height:clamp(330px,44dvh,460px);min-height:0;aspect-ratio:auto}
 #broker-demo .detail-copy>h2{font-size:31px;margin:8px 0 18px}
 #broker-demo .detail-copy>.price{font-size:30px}
 #broker-demo .detail-copy>p{font-size:14px}
 #broker-demo .photo.real-photo .label{font-size:11px}
}
@media(prefers-reduced-motion:no-preference){
 #broker-demo .gallery-thumbs button{transition:opacity 180ms ease,transform 180ms var(--motion-ease),border-color 180ms ease}
}
/* Mobile property layout: larger photographs and compact property information. */
@media(max-width:699px){
 #broker-demo .phone:has(>.view[data-page="explore"]){padding-left:max(10px,env(safe-area-inset-left));padding-right:max(10px,env(safe-area-inset-right))}
 #broker-demo .view[data-page="explore"]>.filters{margin-bottom:11px}
 #broker-demo .view[data-page="explore"]>article.sheet{padding:8px;border-radius:28px;margin-bottom:8px;position:relative}
 #broker-demo .view[data-page="explore"]>article.sheet>.meta{position:absolute;top:31px;left:20px;right:auto;max-width:calc(100% - 40px);padding:6px 11px 6px 6px;gap:7px;border-radius:22px;z-index:3;background:#FEFACDF2;box-shadow:0 3px 16px #30263F16}
 #broker-demo .view[data-page="explore"]>article.sheet>.meta .avatar{width:28px;height:28px;font-size:10px;background:#5F4A8B14}
 #broker-demo .view[data-page="explore"]>article.sheet>.meta .name{font-size:12px;line-height:16px;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 #broker-demo .view[data-page="explore"]>article.sheet>.meta .small{display:none}
 #broker-demo .view[data-page="explore"]>article.sheet>.photo{border-radius:21px;min-height:0}
 #broker-demo .view[data-page="explore"]>article.sheet>.price{font-size:25px;margin:11px 6px 4px;line-height:1.2}
 #broker-demo .view[data-page="explore"]>article.sheet>.price .small{font-size:10px}
 #broker-demo .view[data-page="explore"]>article.sheet>.address{font-size:12px;line-height:1.4;margin:0 6px 8px}
 #broker-demo .view[data-page="explore"]>article.sheet>.tags{margin:0 6px 3px;gap:5px}
 #broker-demo .view[data-page="explore"]>article.sheet>.tags span{padding:5px 8px;font-size:10px;line-height:15px}
 #broker-demo .phone:has(>.view[data-page="explore"])>.action-slot{height:64px;flex-basis:64px}
 #broker-demo .phone:has(>.view[data-page="explore"])>nav{margin-top:24px}
 #broker-demo .photo .gallery-step{width:44px;height:44px;min-height:44px;background:#FEFACD;opacity:1;border:1px solid #5F4A8B18;box-shadow:0 4px 16px #30263F2B}
 #broker-demo .photo .gallery-step svg{width:23px;height:23px;stroke-width:2.1}
}
