:root{--navy:#080808;--gold:#c99d57;--cream:#faf8f3;--muted:#6c7379;--line:#e9e7e1}*{box-sizing:border-box}body{margin:0;font:15px/1.5 Arial,sans-serif;color:#1e1e1e;background:var(--cream)}a{text-decoration:none;color:inherit}button,input,select,textarea{font:inherit}button{cursor:pointer}.wrap{max-width:1190px;margin:auto;padding:0 24px}.top{background:#080808;color:white;position:sticky;top:0;z-index:10;border-bottom:1px solid #35302a}.nav{display:flex;align-items:center;justify-content:space-between;gap:22px;min-height:78px}.brand{display:flex;align-items:center;gap:10px;font-size:18px;font-weight:bold;letter-spacing:2px}.brand img{width:115px;height:64px;object-fit:contain}.navlinks{display:flex;align-items:center;gap:25px}.navlinks a{font-size:13px;color:#e3e4e6}.btn{display:inline-block;background:var(--gold);border:1px solid var(--gold);color:#171717;padding:12px 19px;border-radius:6px;font-weight:bold}.btn.dark{background:var(--navy);border-color:var(--navy);color:white}.btn.ghost{background:transparent;color:inherit;border-color:#9ba2a8}.hero{background:linear-gradient(95deg,rgba(12,23,32,.96),rgba(12,23,32,.68)),url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=1600&q=80') center/cover;color:white;padding:75px 0 85px}.eyebrow{color:#e5ba76;letter-spacing:3px;text-transform:uppercase;font-size:12px;font-weight:bold}.hero h1{font-size:clamp(36px,5vw,62px);line-height:1.08;max-width:760px;margin:14px 0}.hero p{font-size:17px;color:#e4e5e5;max-width:590px}.search{display:flex;gap:10px;flex-wrap:wrap;background:white;padding:14px;border-radius:9px;max-width:1030px;margin-top:35px;box-shadow:0 12px 35px #0003}.search select,.search input{flex:1;min-width:150px;padding:13px;border:1px solid var(--line);border-radius:5px;background:#fff}.section{padding:58px 0}.sectionhead{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:24px}.section h2{font-size:32px;margin:5px 0}.muted{color:var(--muted)}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.property{background:white;border:1px solid var(--line);border-radius:9px;overflow:hidden;box-shadow:0 5px 15px #14202a08}.property img{width:100%;height:205px;object-fit:cover}.property .inside{padding:20px}.tag{font-size:11px;text-transform:uppercase;font-weight:bold;letter-spacing:1px;color:#8b692f}.property h3{font-size:19px;margin:7px 0}.price{font-size:23px;font-weight:bold;color:#171717;margin:12px 0}.features{color:#6c7379;font-size:13px;border-top:1px solid var(--line);padding-top:12px}.darksection{background:#101010;color:white}.darksection p{color:#d4d9dc}.split{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center}.footer{background:#080808;color:#bfc6cb;padding:38px 0}.footer img{width:150px}.panel{display:grid;grid-template-columns:250px 1fr;min-height:100vh}.sidebar{background:#080808;color:white;padding:24px 18px}.sidebar img{width:175px;display:block;margin:0 auto 24px}.sidebar a,.sidebar button{display:block;width:100%;text-align:left;padding:13px;border-radius:6px;color:#d8dadd;background:none;border:0;margin:4px 0}.sidebar .active{background:#26211a;color:#e8bf7a}.main{padding:35px;max-width:1300px;width:100%;margin:auto}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:20px 0}.metric{background:white;border:1px solid var(--line);padding:20px;border-radius:8px}.metric b{font-size:28px;display:block}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin:25px 0}.tablewrap{overflow:auto;background:white;border:1px solid var(--line);border-radius:9px}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:15px;border-bottom:1px solid var(--line);white-space:nowrap}th{font-size:12px;color:var(--muted)}td img{width:70px;height:50px;object-fit:cover;border-radius:4px}.smallbtn{border:1px solid var(--line);background:white;border-radius:5px;padding:7px 10px;margin-right:5px}.formgrid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.field{display:flex;flex-direction:column;gap:6px}.field input,.field select,.field textarea{padding:12px;border:1px solid #d8dbde;border-radius:6px;background:white;width:100%}.field.full{grid-column:1/-1}.box{background:white;border:1px solid var(--line);border-radius:9px;padding:24px;margin-top:20px}.login{max-width:420px;margin:8vh auto;background:white;padding:32px;border-radius:12px;border:1px solid var(--line)}.login img{width:210px;display:block;margin:0 auto 20px;background:#080808;border-radius:8px}.notice{padding:13px;background:#fff3d9;border:1px solid #ecd5a7;border-radius:7px;color:#684d1c;margin:15px 0}.hidden{display:none!important}.empty{padding:40px;text-align:center;color:var(--muted)}@media(max-width:850px){.grid{grid-template-columns:repeat(2,1fr)}.panel{display:block}.sidebar{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.sidebar img{width:110px;margin:0}.sidebar a,.sidebar button{width:auto}.cards{grid-template-columns:repeat(2,1fr)}.split{grid-template-columns:1fr}.navlinks{gap:10px}}@media(max-width:580px){.grid,.formgrid,.cards{grid-template-columns:1fr}.hero{padding:48px 0}.navlinks a:not(.btn){display:none}.main{padding:20px}.section{padding:40px 0}.sectionhead{display:block}}

/* Detalhes do imóvel e captação de interessados */
.property-dialog{width:min(1050px,calc(100% - 28px));max-height:92vh;border:0;border-radius:14px;padding:0;box-shadow:0 24px 80px #0007;background:white;color:#1e1e1e}.property-dialog::backdrop{background:#000000b8}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:14px 24px;border-bottom:1px solid var(--line)}.modal-head .eyebrow{color:#97703a}.modal-close{border:0;background:#f2f1ed;border-radius:50%;font-size:27px;width:38px;height:38px;line-height:1}.modal-content{display:grid;grid-template-columns:1.1fr 1fr;gap:0}.detail-gallery{padding:24px;background:#f6f5f1}.detail-gallery>img{display:block;width:100%;height:345px;object-fit:cover;border-radius:9px;background:#ddd}.gallery-controls{display:flex;align-items:center;justify-content:space-between;margin:12px 0}.gallery-controls button{width:36px;height:36px;border-radius:50%;border:1px solid #d4d4d4;background:white;font-size:25px}.photo-thumbs{display:flex;gap:8px;overflow-x:auto}.photo-thumbs button{padding:2px;border:2px solid transparent;background:transparent;border-radius:7px;flex:0 0 80px}.photo-thumbs button.selected{border-color:var(--gold)}.photo-thumbs img{width:100%;height:60px;object-fit:cover;border-radius:4px}.detail-info{padding:26px;overflow-y:auto;max-height:calc(92vh - 67px)}.detail-info h2{font-size:25px;margin:8px 0}.detail-description{white-space:pre-wrap;line-height:1.65}.lead-form{display:grid;gap:11px}.lead-form label:not(.consent){display:grid;gap:4px;font-weight:600;font-size:13px}.lead-form input:not([type=checkbox]),.lead-form textarea{width:100%;border:1px solid #d9dce0;border-radius:6px;padding:11px;font-weight:normal}.lead-form .consent{display:flex;align-items:start;gap:9px;font-size:12px;color:#525d64}.lead-form .consent input{margin-top:3px}.honeypot{position:absolute!important;left:-9999px!important;opacity:0!important}#lead-result{font-size:13px;margin:0;color:#276344}.property button.btn{width:100%}@media(max-width:740px){.modal-content{grid-template-columns:1fr}.detail-gallery{padding:14px}.detail-gallery>img{height:240px}.detail-info{padding:20px;max-height:none}.property-dialog{max-height:95vh}}

/* Otto v3 - pesquisa, galeria e CRM */
.search input[type=number]{max-width:200px}.property{transition:box-shadow .2s,transform .2s}.property:hover{box-shadow:0 12px 28px #14202a16;transform:translateY(-2px)}.property .inside{min-height:245px;display:flex;flex-direction:column}.property .inside p:last-child{margin-top:auto}.property img{background:#eee}.detail-actions{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.detail-actions .smallbtn{display:inline-flex;align-items:center;justify-content:center}.similar-properties{border-top:1px solid var(--line);padding-top:10px;margin-top:12px}.similar-properties h4{margin:5px 0}.similar-properties button{display:block;width:100%;text-align:left;padding:8px;background:#faf8f3;border:1px solid var(--line);border-radius:6px;margin:6px 0}.image-lightbox{width:min(96vw,1500px);max-height:95vh;background:#080808;border:0;border-radius:10px;padding:15px}.image-lightbox::backdrop{background:#000d}.image-lightbox img{max-width:100%;max-height:86vh;display:block;margin:auto;object-fit:contain}.image-lightbox button{position:absolute;top:8px;right:8px;background:#fff;border:0;border-radius:50%;font-size:28px;width:42px;height:42px}.crm-summary{background:#fff;border:1px solid var(--line);border-radius:9px;padding:20px;margin:18px 0}.crm-summary h2{margin:0 0 14px;font-size:20px}.funnel{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.funnel-step{background:#faf8f3;border:1px solid #ebe5d9;border-radius:8px;padding:12px}.funnel-step b{font-size:24px;display:block}.funnel-step span{font-size:12px;color:#66717a}.crm-filters{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.crm-filters input,.crm-filters select{padding:11px;border:1px solid #ddd;border-radius:6px;background:white;min-width:210px}.lead-badge{display:inline-block;background:#c99d57;color:#171717;border-radius:12px;font-weight:bold;padding:1px 7px;margin-left:4px;font-size:11px}.crm-chip{display:inline-block;padding:5px 8px;border-radius:20px;background:#f1e9d9;color:#75552b;font-size:12px;font-weight:600}.crm-action{display:block;margin-top:7px}.lead-editor{width:min(460px,calc(100vw - 25px));border:0;border-radius:12px;padding:0;box-shadow:0 15px 50px #0004}.lead-editor::backdrop{background:#0b1520a0}.lead-editor-body{padding:26px;display:grid;gap:14px}.lead-editor-body h2{margin:0}.lead-editor-body label{display:grid;gap:5px;font-weight:600}.lead-editor-body input,.lead-editor-body select,.lead-editor-body textarea{width:100%;border:1px solid #d8dbde;border-radius:6px;padding:10px}.crm-dialog-actions{display:flex;gap:8px;flex-wrap:wrap}.due{color:#a44524;font-weight:bold;font-size:12px}.new-lead-notice{background:#f6ebd6;border:1px solid #e3cda2;padding:10px;border-radius:7px;margin:12px 0}@media(max-width:900px){.funnel{grid-template-columns:repeat(2,1fr)}}@media(max-width:580px){.search input[type=number]{max-width:none}.funnel{grid-template-columns:repeat(2,1fr)}}

/* Galerias Otto V4 */
.admin-photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(135px,1fr));gap:12px;margin:12px 0}.photo-section-title{display:flex;justify-content:space-between;align-items:center;gap:12px}.admin-photo-card{border:1px solid #ddd8ce;border-radius:9px;overflow:hidden;background:white}.admin-photo-open{position:relative;display:block;width:100%;padding:0;border:0;background:#f3f1ed;cursor:zoom-in}.admin-photo-open img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}.photo-number{position:absolute;left:7px;bottom:7px;background:#101010dd;color:white;font-size:11px;border-radius:4px;padding:4px 7px}.admin-photo-remove{border:0;border-top:1px solid #eee;background:white;color:#9a372b;width:100%;padding:9px;cursor:pointer}.admin-photo-remove:hover{background:#fff4f2}.detail-gallery #detail-photo{cursor:zoom-in;object-fit:contain;background:#f1f0ed}.photo-thumbs{overflow-x:auto;scrollbar-width:thin}.photo-thumbs button{flex:0 0 70px}.photo-thumbs img{object-fit:cover}.image-lightbox{max-width:100vw;max-height:100vh;width:100vw;height:100vh;background:#0a0d11ed;position:fixed;padding:50px 15px;box-sizing:border-box;border:0}.image-lightbox img{max-width:min(90vw,1300px);max-height:calc(100vh - 115px);object-fit:contain;margin:auto}.image-lightbox .lightbox-nav{position:fixed;top:50%;transform:translateY(-50%);border:1px solid #ffffff66;border-radius:50%;background:#0a0a0acc;color:white;width:42px;height:42px;font-size:28px;cursor:pointer}.image-lightbox .lightbox-nav:disabled{opacity:.3}.image-lightbox #lightbox-prev{left:12px}.image-lightbox #lightbox-next{right:12px}.lightbox-counter{position:fixed;bottom:16px;left:50%;transform:translateX(-50%);color:white;background:#080808b0;border-radius:20px;padding:6px 14px}.image-lightbox #lightbox-close,.image-lightbox #admin-photo-close{position:fixed;top:14px;right:20px;color:white;background:#171717;border:1px solid #ffffff55;border-radius:50%;width:40px;height:40px;cursor:pointer;font-size:24px}#admin-photo-lightbox img{display:block}#detail-photo{width:100%}@media(max-width:580px){.admin-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.image-lightbox .lightbox-nav{width:34px;height:34px;font-size:23px}}

/* Otto V5: janela central de cadastro e escolha de profissionais */
.property-editor{width:min(940px,calc(100vw - 24px));max-height:92vh;border:0;border-radius:14px;padding:0;box-shadow:0 25px 90px #0007;background:white;color:#1e1e1e}.property-editor::backdrop,.agents-dialog::backdrop{background:#080808ae}.property-editor-inner{padding:28px;position:relative}.property-editor-inner h2{margin-top:4px}.editor-x{position:absolute;right:18px;top:14px;z-index:2}.property-editor .formgrid{max-height:none}.property-editor .field input,.property-editor .field select,.property-editor .field textarea{max-width:100%}.agents-dialog{width:min(600px,calc(100vw - 24px));max-height:88vh;border:0;border-radius:14px;padding:0;background:white;color:#1e1e1e;box-shadow:0 25px 90px #0007}.agents-dialog .modal-head h2{font-size:20px;margin:5px 0}.agents-list{padding:18px 22px;display:grid;gap:10px;overflow-y:auto;max-height:65vh}.agent-card{display:grid;grid-template-columns:64px 1fr auto;align-items:center;gap:14px;border:1px solid #e4e1db;border-radius:12px;padding:12px}.agent-card p{margin:4px 0 0;color:#6a737c;font-size:13px}.agent-avatar{width:60px;height:60px;background:#f4e9d5;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#8a6838;font-weight:bold;overflow:hidden}.agent-avatar img{width:100%;height:100%;object-fit:cover}.agent-card .btn{font-size:13px;padding:11px}.agents-help{padding:0 22px 16px}@media(max-width:580px){.property-editor-inner{padding:20px 14px}.agent-card{grid-template-columns:48px 1fr;gap:8px}.agent-avatar{width:46px;height:46px}.agent-card .btn{grid-column:2;justify-self:start}.agents-list{padding:12px}}

/* OTTO V6: preto e dourado, preservando o layout V5 */
.top,.sidebar,.footer{background:#080808!important}.darksection{background:#101010!important}.hero{background:linear-gradient(95deg,rgba(0,0,0,.94),rgba(0,0,0,.65)),url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=1600&q=80") center/cover}.btn.dark{background:#080808;border-color:#080808;color:#fff}.sidebar .active{background:#29241c;color:#e8bf7a}.login img{background:transparent}.brand img,.sidebar img,.footer img{object-fit:contain}

/* OTTO V7: detalhes premium, inspirado no layout de referência */
.property-dialog{width:min(1280px,calc(100vw - 32px));max-height:94vh;border-radius:15px;box-shadow:0 35px 100px #0008}
.property-dialog .modal-head{padding:19px 30px;background:#fff;min-height:66px}
.property-dialog .modal-head .eyebrow{font-size:14px;letter-spacing:2px;font-weight:750;color:#a9772c}
.property-dialog .modal-content{grid-template-columns:1.12fr 1fr;align-items:stretch}
.property-dialog .detail-gallery{padding:28px 30px;background:linear-gradient(130deg,#f8f7f3,#f0eee8)}
.hero-photo-frame{position:relative;overflow:hidden;border-radius:11px;background:#eee}
.property-dialog .detail-gallery .hero-photo-frame>img{width:100%;height:clamp(310px,37vw,475px);object-fit:cover;display:block;cursor:zoom-in}
.hero-arrow{position:absolute;top:50%;transform:translateY(-50%);border:0;background:#fff;color:#151515;border-radius:50%;width:45px;height:45px;font-size:30px;box-shadow:0 4px 12px #0002;cursor:pointer}
.hero-arrow-left{left:10px}.hero-arrow-right{right:10px}
.hero-photo-counter{position:absolute;bottom:13px;left:12px;background:#111d;color:#fff;border-radius:8px;padding:8px 12px;font-size:13px}
.hero-zoom{position:absolute;bottom:12px;right:12px;border:0;background:#111b;color:#fff;border-radius:8px;width:39px;height:39px;font-size:24px;cursor:pointer}
.property-dialog .gallery-controls[hidden]{display:none}
.thumbs-shell{display:flex;align-items:center;gap:8px;background:#fff;border-radius:11px;padding:8px;margin-top:18px;box-shadow:0 3px 12px #00000008}
.thumbs-shell .photo-thumbs{flex:1;min-width:0;gap:10px;scrollbar-width:none}
.thumbs-shell .photo-thumbs button{flex:0 0 88px;border-radius:9px;padding:2px}
.thumbs-shell .photo-thumbs img{height:82px;border-radius:7px}
.thumb-scroll{flex:0 0 22px;border:0;background:transparent;font-size:26px;cursor:pointer;color:#222}
.photo-full-button{margin-top:16px;padding:12px 17px!important;border-color:#d6aa61!important;background:#fff!important;box-shadow:0 4px 12px #0001}
.property-dialog .detail-info{padding:28px 33px;max-height:calc(94vh - 67px)}
.property-dialog .detail-info h2{font-size:30px;margin:12px 0}
.property-dialog #detail-tag{background:#f8edda;color:#996817;padding:6px 10px;border-radius:6px;font-size:12px;font-weight:750}
.property-dialog #detail-price{font-size:29px;font-weight:800;color:#101010;margin:24px 0}
.premium-features{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:0!important;margin:25px 0!important;padding:0!important;border:0!important}
.feature{display:grid;grid-template-columns:auto 1fr;column-gap:7px;align-items:center;padding:0 9px;border-right:1px solid #e7e1d8}
.feature:first-child{padding-left:0}.feature:last-child{border:0}
.feature-icon{grid-row:1/3;font-size:25px;color:#a77a2b}.feature strong{font-size:17px;line-height:1.1}.feature small{font-size:11px;color:#66707a}
.property-dialog .detail-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:22px 0 27px;padding-bottom:27px;border-bottom:1px solid #e5dfd5}
.property-dialog .detail-actions button{min-height:49px;font-size:14px;font-weight:650;border-radius:8px}
.property-dialog .share-gold{background:#e8be73;color:#17120b;border:1px solid #dfb26a}
.property-dialog .whatsapp-white{background:white;color:#1a1a1a;border:1px solid #d3b887}
.property-dialog .lead-form{grid-template-columns:1fr 1fr;gap:15px 13px}
.property-dialog .lead-form .consent,.property-dialog .lead-form .honeypot,.property-dialog .lead-form #lead-submit,.property-dialog .lead-form #lead-result{grid-column:1/-1}
.property-dialog .lead-form input:not([type=checkbox]),.property-dialog .lead-form textarea{border-radius:8px;min-height:46px}
.property-dialog #lead-submit{background:#e8be73;color:#151515;border:0;border-radius:8px;min-height:55px;font-size:16px;font-weight:750}
@media(max-width:900px){.property-dialog .modal-content{grid-template-columns:1fr}.property-dialog .detail-info{max-height:none}.property-dialog .detail-gallery .hero-photo-frame>img{height:360px}}
@media(max-width:550px){.property-dialog{width:calc(100vw - 12px)}.property-dialog .detail-gallery,.property-dialog .detail-info{padding:16px}.property-dialog .detail-gallery .hero-photo-frame>img{height:260px}.premium-features{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:18px}.property-dialog .lead-form{grid-template-columns:1fr}.property-dialog .detail-actions{grid-template-columns:1fr}.thumbs-shell .photo-thumbs button{flex-basis:67px}.thumbs-shell .photo-thumbs img{height:62px}}

/* Otto V8: pictogramas vetoriais consistentes */
.premium-features .feature-icon{display:flex;align-items:center;justify-content:center;width:27px;height:27px;color:#ad802f;line-height:1}
.premium-features .feature-icon svg{display:block;width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* Otto V9: SVGs estáveis nos botões de ação */
.property-dialog .detail-actions .smallbtn{display:inline-flex;align-items:center;justify-content:center;gap:10px}
.property-dialog .detail-actions .action-icon{display:block;width:20px;height:20px;flex:none}


/* OTTO V10 — modal responsivo: não permitir colunas comprimidas nem rolagem horizontal */
.property-dialog{box-sizing:border-box;width:min(1280px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:min(94dvh,940px);overflow:hidden;overscroll-behavior:contain}
.property-dialog .modal-head{position:relative;z-index:1;min-width:0}
.property-dialog .modal-content{min-width:0;width:100%;max-height:calc(min(94dvh,940px) - 67px);overflow-y:auto;overflow-x:hidden;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr)}
.property-dialog .detail-gallery,.property-dialog .detail-info{min-width:0;max-width:100%;box-sizing:border-box}
.property-dialog .detail-info{max-height:none;overflow:visible;overflow-wrap:anywhere}
.property-dialog .hero-photo-frame,.property-dialog .thumbs-shell{max-width:100%;min-width:0}
.property-dialog .detail-gallery .hero-photo-frame>img{max-width:100%}
.property-dialog .premium-features{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.property-dialog .feature{min-width:0;overflow-wrap:normal;grid-template-columns:27px minmax(0,1fr)}
.property-dialog .feature strong{min-width:0;white-space:normal}
.property-dialog .lead-form,.property-dialog .detail-actions{min-width:0}
.property-dialog .lead-form label,.property-dialog .detail-actions button{min-width:0}
@media (max-width:1100px){
 .property-dialog{width:min(880px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}
 .property-dialog .modal-content{grid-template-columns:minmax(0,1fr);max-height:calc(100dvh - 92px)}
 .property-dialog .detail-gallery{padding:20px 24px}
 .property-dialog .detail-info{padding:22px 24px}
 .property-dialog .detail-gallery .hero-photo-frame>img{height:clamp(250px,43vw,450px);object-fit:contain;background:#efeee9}
 .property-dialog .premium-features{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}
@media (max-width:600px){
 .property-dialog{width:calc(100vw - 12px);max-width:calc(100vw - 12px);max-height:calc(100dvh - 12px);border-radius:11px}
 .property-dialog .modal-head{padding:12px 15px;min-height:58px}
 .property-dialog .modal-head .eyebrow{font-size:11px;letter-spacing:1.2px}
 .property-dialog .modal-content{max-height:calc(100dvh - 72px)}
 .property-dialog .detail-gallery,.property-dialog .detail-info{padding:14px}
 .property-dialog .detail-gallery .hero-photo-frame>img{height:clamp(200px,57vw,310px)}
 .property-dialog .premium-features{grid-template-columns:repeat(2,minmax(0,1fr))!important;row-gap:16px!important}
 .property-dialog .feature:nth-child(2){border-right:0}
 .property-dialog .lead-form{grid-template-columns:minmax(0,1fr)}
 .property-dialog .detail-actions{grid-template-columns:minmax(0,1fr)}
 .property-dialog .thumbs-shell .photo-thumbs button{flex-basis:65px}
 .property-dialog .thumbs-shell .photo-thumbs img{height:60px}
 .property-dialog #detail-price{font-size:25px}
}
@media (max-width:360px){.property-dialog .feature{padding:0 4px;column-gap:4px}.property-dialog .feature strong{font-size:15px}.property-dialog .detail-info h2{font-size:24px}}

/* OTTO V11 — painel e seleção de atendimento */
#panel{background:#f8f8f7;min-height:100vh}.panel{display:grid;grid-template-columns:236px minmax(0,1fr)}
#panel .sidebar{position:sticky;top:0;height:100dvh;display:flex;flex-direction:column;gap:0;padding:0 13px 16px;background:#080808!important;color:#e9e9e9;min-width:0}
.otto-side-brand{min-height:115px;display:flex;align-items:center;justify-content:center;border-bottom:1px solid #252525;margin:0 -13px 14px}.otto-side-brand img{width:180px!important;height:95px;max-width:90%;object-fit:contain}
#panel .side-nav{display:flex;flex-direction:column;gap:3px;overflow-y:auto;min-height:0;flex:1}#panel .sidebar a,#panel .sidebar button{display:flex;align-items:center;gap:13px;width:100%;text-align:left;padding:12px 14px;color:#e8e8e8;background:transparent;border:0;border-radius:8px;font-weight:500;font-size:13px;line-height:1.3;flex-shrink:0}#panel .sidebar a:hover,#panel .sidebar button:hover{background:#211d17}#panel .sidebar a.active{background:linear-gradient(90deg,#4d3b20,#2a241b);color:#efc576;border-left:3px solid #e7b963;padding-left:11px}#panel .sidebar svg{width:20px;height:20px;flex:none;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}#panel .sidebar .lead-badge{margin-left:auto;color:#171717;background:#e7bd73}#panel .sidebar .side-logout{margin-top:auto;border-top:1px solid #292929;border-radius:0;padding-top:20px}
#panel .main{padding:0!important;min-width:0;background:#f8f8f7}#panel .otto-main-body{padding:28px 36px 55px;max-width:1800px;margin:auto}#panel .otto-topbar{height:66px;display:flex;align-items:center;gap:20px;background:#0e0e0f;color:white;padding:0 30px;position:relative}#panel .otto-topbar-search{max-width:690px;flex:1;display:flex;align-items:center;gap:12px;background:#18191b;border:1px solid #36383b;border-radius:8px;padding:0 14px}#panel .otto-topbar-search svg{width:18px;height:18px;stroke:#bdbdbd;fill:none;stroke-width:2}#panel .otto-topbar-search input{height:40px;background:transparent;color:white;border:0;outline:0;width:100%;min-width:0;font-size:13px}#panel .otto-user{margin-left:auto;display:flex;align-items:center;gap:10px;font-size:13px;white-space:nowrap}#panel .otto-user small{display:block;color:#b4b4b4}#panel .otto-user-avatar{width:37px;height:37px;border:1px solid #a98a57;background:#332a1b;border-radius:50%;display:grid;place-items:center}#panel .otto-user-avatar svg{width:22px;height:22px;stroke:#e6c17b;fill:none}#panel .otto-menu-toggle{display:none;background:transparent;border:0;color:white}#panel .otto-menu-toggle svg{width:22px;height:22px;stroke:currentColor;fill:none}
#panel .otto-main-heading{margin:0 0 26px;align-items:center}#panel .otto-main-heading h1{font-size:clamp(26px,2.6vw,37px);line-height:1.15;margin:5px 0}#panel .otto-main-heading .eyebrow{color:#bd8b43}#panel #novo{display:inline-flex;align-items:center;gap:10px;background:linear-gradient(125deg,#f1d092,#d3a65b);border-color:#d8aa61;min-width:160px;justify-content:center}#panel #novo svg{width:20px;height:20px;stroke:currentColor;stroke-width:2;fill:none}
#panel .cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 24px}#panel .metric{background:white;border:1px solid #e9e7e3;border-radius:11px;min-height:112px;padding:22px;box-shadow:0 2px 8px #00000005;position:relative}#panel .metric b{font-size:27px;color:#101010}#panel .metric .muted{font-size:13px}#panel .metric:after{content:'↗';position:absolute;right:18px;top:18px;font-size:24px;color:#cda052}
#panel .crm-summary,#panel #listing{background:white;border:1px solid #eceae6;border-radius:12px;padding:20px;margin:0 0 16px;box-shadow:0 2px 10px #00000005}#panel .otto-section-title{display:flex;align-items:center;gap:13px}#panel .otto-section-title h2{font-size:19px;margin:0}#panel .otto-section-title p{font-size:13px;margin:3px 0 0}#panel .otto-icon-tile{width:48px;height:48px;border-radius:11px;background:#fcf5e8;color:#936423;display:grid;place-items:center;flex:none}#panel .otto-icon-tile svg{width:23px;height:23px;stroke:currentColor;fill:none;stroke-width:1.8}#panel .funnel{margin-top:18px;gap:12px}#panel .funnel-step{background:linear-gradient(130deg,#fdfaf5,#f8f7f4);border:1px solid #ece6dc;border-radius:10px;min-height:105px;padding:16px}#panel .funnel-step b{font-size:26px;color:#151515}#panel .otto-quick-actions{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:0 0 20px;background:white;border:1px solid #eceae6;padding:14px;border-radius:12px}#panel .otto-quick-actions button{display:flex;align-items:center;justify-content:center;gap:9px;min-height:48px;border:1px solid #e5e1d9;background:#fff;border-radius:8px;color:#202020;font-size:13px;font-weight:600}#panel .otto-quick-actions button:first-child{background:#171615;color:#eec47b;border-color:#c49b57}#panel .otto-quick-actions svg{width:20px;height:20px;stroke:#a87b37;fill:none;stroke-width:1.9}#panel .otto-quick-actions button:first-child svg{stroke:#eec47b}#panel #listing .toolbar{margin-bottom:16px;gap:12px}#panel #listing .tablewrap{border:1px solid #ebe8e3;border-radius:9px}#panel #listing table{width:100%}#panel #listing th{background:#fafafa}#panel #listing td{font-size:13px}#panel #listing td .smallbtn{font-weight:600}#panel #listing td [data-del]{color:#b83232;border-color:#f1c5c5}#panel .otto-workspace-note{padding:13px 16px;background:#fff8e9;border:1px solid #ecd9b8;border-radius:8px;margin-bottom:15px;font-size:13px}
/* Atendimento: somente profissionais reais retornados do Supabase, sem indicador de presença */
.agents-dialog{width:min(740px,calc(100vw - 24px));border-radius:17px;max-height:min(88dvh,850px)}.agents-dialog .modal-head{padding:24px 27px 15px;align-items:flex-start;border:0}.agents-dialog .modal-head .eyebrow{color:#b58b4b;font-size:12px;letter-spacing:2.5px}.agents-dialog .modal-head h2{font-size:25px;margin:4px 0}.otto-agent-subtitle{color:#777d85;font-size:14px;margin:0}.agents-list{padding:12px 26px 22px;gap:12px;max-height:62dvh}.agent-card{grid-template-columns:76px minmax(0,1fr) auto;gap:16px;padding:14px 16px;border:1px solid #e7e7e7;border-radius:13px;background:#fff}.agent-card:hover{border-color:#d5a653;background:linear-gradient(105deg,#fffaf0,#fff)}.agent-avatar{width:70px;height:70px;background:#f7efdf;color:#aa813d}.agent-card strong{font-size:15px;color:#111}.agent-card p{font-size:13px;margin:4px 0 0}.agent-card .otto-agent-whatsapp{display:inline-flex;align-items:center;gap:9px;background:linear-gradient(110deg,#f1d391,#d6a857);border-color:#d5aa65;color:#171717;padding:12px 16px;white-space:nowrap}.agent-card .otto-agent-whatsapp svg{width:19px;height:19px}.agents-help{padding:0 26px 22px}
@media(max-width:1150px){#panel .cards{grid-template-columns:repeat(2,minmax(0,1fr))}#panel .otto-quick-actions{grid-template-columns:repeat(3,minmax(0,1fr))}#panel .otto-main-body{padding:24px}}
@media(max-width:850px){.panel{display:block}#panel .sidebar{position:fixed;left:0;top:0;bottom:0;width:236px;z-index:60;transform:translateX(-100%);transition:transform .2s}#panel.otto-sidebar-open .sidebar{transform:translateX(0)}#panel .otto-menu-toggle{display:block}#panel .otto-topbar{padding:0 16px}#panel .otto-user div{display:none}#panel .otto-main-body{padding:20px 15px}#panel .otto-main-heading{flex-wrap:wrap}#panel .otto-quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:580px){#panel .cards{grid-template-columns:repeat(2,minmax(0,1fr))}#panel .metric{padding:15px;min-height:100px}#panel .metric b{font-size:23px}#panel .otto-quick-actions{grid-template-columns:1fr 1fr}#panel .otto-quick-actions button{font-size:12px;padding:8px}#panel .otto-topbar-search input{font-size:11px}.agents-dialog .modal-head{padding:18px}.agents-dialog .modal-head h2{font-size:20px}.agents-list{padding:10px 14px 20px}.agent-card{grid-template-columns:52px minmax(0,1fr);gap:10px}.agent-avatar{width:50px;height:50px}.agent-card .otto-agent-whatsapp{grid-column:2;justify-self:start;padding:9px 12px}.agent-card strong{font-size:13px}}

/* OTTO V12 — alinhamento do painel, foto real e busca da página inicial */
#panel .main{width:100%;max-width:none!important;margin:0!important;flex:initial!important;overflow:hidden}
#panel .otto-topbar{width:100%;max-width:none!important;margin:0!important;box-sizing:border-box}
#panel .otto-main-body{max-width:1600px;width:100%;box-sizing:border-box}
#panel .otto-topbar-search{max-width:690px;width:100%}
#panel .otto-user{min-width:0;max-width:310px}
#panel .otto-user div{min-width:0;overflow:hidden}
#panel .otto-user strong{display:block;overflow:hidden;text-overflow:ellipsis}
#panel .otto-user small{font-size:12px;white-space:normal}
#panel .otto-user-avatar{width:42px;height:42px;min-width:42px;overflow:hidden;background:#2b251c}
#panel .otto-user-avatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}
#panel .otto-user-avatar img[hidden],#panel .otto-user-avatar span[hidden]{display:none!important}
#panel .otto-main-heading{display:flex;justify-content:space-between}
#panel .metric{padding:18px 22px;display:flex;flex-direction:column;justify-content:center;gap:5px}
#panel .metric .muted{font-weight:600}
#panel #listing .tablewrap{overflow-x:auto}
#panel #listing table{min-width:650px}
.otto-hero-search{display:grid!important;grid-template-columns:1.12fr 1.12fr 1.2fr 1.2fr .95fr;align-items:stretch;gap:10px!important;padding:10px!important;background:#fff!important;border:1px solid #e6e1d7!important;border-radius:13px!important;box-shadow:0 12px 36px #0003!important;max-width:1200px;margin:0 auto}
.otto-hero-search .otto-search-field{min-width:0;min-height:62px;display:flex;align-items:center;gap:10px;border:1px solid #e7e5e2;border-radius:8px;padding:8px 12px;background:#fff;color:#171717}
.otto-hero-search .otto-search-symbol{width:20px;min-width:20px;display:grid;place-items:center;color:#9c722e}
.otto-hero-search svg{width:19px;height:19px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}
.otto-hero-search .otto-search-content{display:flex;flex-direction:column;min-width:0;flex:1;gap:2px}
.otto-hero-search small{font-size:11px;line-height:1.2;font-weight:600;color:#4a4a4a}
.otto-hero-search select,.otto-hero-search input,.otto-hero-search input[type=number]{border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;width:100%!important;max-width:100%!important;min-width:0!important;min-height:25px!important;height:25px!important;padding:0!important;margin:0!important;font-size:13px!important;color:#333!important}
.otto-hero-search .otto-search-submit{min-height:62px;display:flex;justify-content:center;align-items:center;gap:10px;border-radius:8px!important;background:linear-gradient(135deg,#f1d08a,#d8a653)!important;color:#111!important;font-weight:700!important;white-space:nowrap;padding:10px 12px!important}
@media(max-width:1050px){.otto-hero-search{grid-template-columns:repeat(2,minmax(0,1fr))}.otto-hero-search .otto-search-submit{grid-column:span 2}}
@media(max-width:620px){.otto-hero-search{grid-template-columns:1fr!important;gap:8px!important}.otto-hero-search .otto-search-submit{grid-column:auto}#panel .otto-topbar{height:64px}#panel .otto-user{max-width:50px}#panel .otto-main-body{padding:18px 12px}}
