:root{
  --bg:#f5f3ee;--paper:#fff;--ink:#15171a;--muted:#6e747c;--line:#dedbd4;
  --dark:#101216;--dark2:#191c21;--soft:#ebe8e1;--verified:#18724b;--warn:#8b5b10;
  --radius:22px;--shadow:0 20px 60px rgba(20,21,24,.08);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}
button,input,textarea{font:inherit} button{cursor:pointer} img{display:block;max-width:100%}
button:disabled{opacity:.55;cursor:not-allowed}
header{height:72px;display:flex;align-items:center;justify-content:space-between;padding:0 34px;border-bottom:1px solid rgba(222,219,212,.8);position:sticky;top:0;z-index:40;background:rgba(245,243,238,.9);backdrop-filter:blur(16px)}
.logo{font-weight:950;letter-spacing:.18em;font-size:21px;cursor:pointer}.header-right{display:flex;align-items:center;gap:8px}.micro{font-size:11px;color:var(--muted);letter-spacing:.08em;text-transform:uppercase;margin-right:10px}
.btn{appearance:none;border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:999px;padding:10px 15px;font-weight:750}.btn:hover{border-color:#bbb7ae}.btn.dark{background:var(--dark);color:#fff;border-color:var(--dark)}.btn.ghost{background:transparent}.btn.small{font-size:12px;padding:8px 11px}
.view{display:none}.view.active{display:block}
.shell{max-width:1320px;margin:auto;padding:0 28px 72px}
.hero{min-height:calc(100vh - 72px);display:grid;place-items:center;padding:70px 0 80px}.hero-inner{width:min(930px,100%);text-align:center}.eyebrow{font-size:11px;letter-spacing:.2em;text-transform:uppercase;color:#7b8087;margin-bottom:20px;font-weight:800}.hero h1{font-size:clamp(50px,7.6vw,94px);letter-spacing:-.065em;line-height:.91;margin:0;font-weight:780}.hero .lead{font-size:18px;line-height:1.6;color:var(--muted);max-width:700px;margin:26px auto 30px}
.askbar{display:flex;align-items:flex-end;gap:8px;padding:10px;background:#fff;border:1px solid var(--line);border-radius:25px;box-shadow:var(--shadow);text-align:left}.askbar textarea{flex:1;resize:none;border:0;outline:0;min-height:76px;max-height:170px;padding:15px 14px;font-size:17px;line-height:1.5;background:transparent;color:var(--ink)}.send{width:52px;height:52px;border:0;border-radius:50%;background:var(--dark);color:#fff;font-size:23px;flex:0 0 auto}
.chips{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin-top:18px}.chip{border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.65);padding:9px 12px;color:#565c64;font-size:13px}.chip:hover{background:#fff}.trust{margin-top:17px;color:#898d94;font-size:12px}.trust b{color:var(--verified)}
.loading{display:inline-flex;align-items:center;gap:8px;color:var(--muted);font-size:13px}.dot{width:7px;height:7px;border-radius:50%;background:currentColor;animation:pulse 1s infinite alternate}@keyframes pulse{to{opacity:.25}}
.results-head{padding:46px 0 22px;display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.back{background:transparent;border:0;padding:0;color:#666c74;font-weight:750}.results-head h2{font-size:42px;letter-spacing:-.045em;margin:11px 0 7px}.results-head p{margin:0;color:var(--muted);line-height:1.5}.result-summary{background:#fff;border:1px solid var(--line);border-radius:18px;padding:15px 17px;margin-bottom:18px;display:flex;gap:11px;align-items:flex-start}.spark{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:var(--dark);color:#fff;font-size:13px;flex:0 0 auto}.summary-copy{font-size:14px;line-height:1.6;color:#4d535b}.summary-copy b{color:var(--ink)}
.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.card{border:1px solid var(--line);border-radius:22px;background:#fff;overflow:hidden;cursor:pointer;transition:.2s;box-shadow:0 2px 0 rgba(20,20,20,.01)}.card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.card-img{height:330px;background:#ddd center/cover no-repeat;position:relative}.tag{position:absolute;top:14px;left:14px;background:rgba(255,255,255,.93);backdrop-filter:blur(8px);border-radius:999px;padding:7px 10px;font-size:11px;font-weight:850}.available{position:absolute;right:14px;bottom:14px;background:rgba(16,18,22,.9);color:#fff;border-radius:999px;padding:7px 10px;font-size:11px;font-weight:800}.card-body{padding:20px}.loc{font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.06em;font-weight:700}.card h3{font-size:26px;letter-spacing:-.03em;margin:7px 0 8px}.price{font-size:20px;font-weight:850}.facts{font-size:13px;color:#545a62;line-height:1.7;margin-top:8px}.reasons{display:flex;gap:7px;flex-wrap:wrap;border-top:1px solid #eeece7;margin-top:15px;padding-top:15px}.reason{font-size:11px;border-radius:999px;background:#f1f4f2;color:#345243;padding:7px 9px}
.empty{padding:70px 24px;text-align:center;background:#fff;border:1px solid var(--line);border-radius:22px}.empty h3{font-size:28px;margin:0 0 10px}.empty p{color:var(--muted);margin:0 auto 20px;max-width:560px;line-height:1.6}
.detail-shell{max-width:1500px;margin:auto;padding:0 28px 80px}.detail-head{padding:28px 0 20px;display:flex;align-items:center;justify-content:space-between;gap:16px}.detail-layout{display:grid;grid-template-columns:minmax(310px,.72fr) minmax(0,1.55fr);gap:22px;align-items:start}.chat-panel{position:sticky;top:94px;background:var(--dark);color:#fff;border-radius:24px;padding:19px;min-height:calc(100vh - 116px);display:flex;flex-direction:column}.chat-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.chat-title h2{margin:4px 0 2px;font-size:24px;letter-spacing:-.03em}.chat-title p{margin:0;color:#adb3bb;font-size:12px;line-height:1.5}.verified-pill{font-size:10px;padding:6px 8px;border:1px solid #343943;border-radius:999px;color:#b7dfca;white-space:nowrap}.chat-messages{margin-top:16px;flex:1;min-height:330px;max-height:calc(100vh - 370px);overflow:auto;background:var(--dark2);border:1px solid #2b3037;border-radius:16px;padding:13px;display:flex;flex-direction:column;gap:9px}.msg{max-width:88%;padding:11px 12px;border-radius:13px;font-size:13px;line-height:1.55;white-space:pre-wrap}.msg.ai{background:#242831;align-self:flex-start}.msg.user{background:#f4f3ef;color:#17191c;align-self:flex-end}.quick{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.quick button{border:1px solid #343943;background:#1b1e24;color:#d5d9df;border-radius:999px;padding:7px 9px;font-size:11px}.chat-compose{display:flex;gap:7px;margin-top:9px}.chat-compose input{flex:1;min-width:0;background:#1a1e23;border:1px solid #30353d;color:#fff;padding:11px;border-radius:12px;outline:none}.chat-compose button{border:0;border-radius:12px;background:#fff;color:#111;padding:0 14px;font-weight:850}.advisor-cta{margin-top:12px;border-top:1px solid #2b3037;padding-top:12px}.advisor-cta button{width:100%}
.detail-content{min-width:0}.hero-photo{height:520px;border-radius:24px;background:#ddd center/cover no-repeat;position:relative;overflow:hidden}.hero-photo:after{content:"";position:absolute;inset:auto 0 0;height:40%;background:linear-gradient(transparent,rgba(0,0,0,.22))}.hero-meta{position:absolute;z-index:2;left:25px;bottom:23px;color:#fff}.hero-meta .loc{color:#efefef}.hero-meta h1{font-size:47px;letter-spacing:-.055em;margin:7px 0 7px}.hero-meta .price{font-size:23px}.detail-actions{display:flex;gap:8px;position:absolute;z-index:3;right:20px;bottom:20px}.detail-actions button{background:rgba(255,255,255,.92);border:0;border-radius:999px;padding:10px 13px;font-weight:800}.content-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px}.panel{background:#fff;border:1px solid var(--line);border-radius:20px;padding:20px}.panel.full{grid-column:1/-1}.panel h3{font-size:18px;margin:0 0 14px}.description{color:#535960;line-height:1.75;margin:0}.factgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.fact{background:#f5f4f0;border-radius:13px;padding:13px}.fact span{display:block;font-size:9px;letter-spacing:.08em;color:#7b8188;text-transform:uppercase;font-weight:800}.fact b{display:block;font-size:15px;margin-top:5px}.feature-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px 18px}.feature{font-size:13px;line-height:1.45}.feature:before{content:"✓";color:var(--verified);font-weight:900;margin-right:7px}.gallery{display:grid;grid-template-columns:1.45fr 1fr 1fr;grid-template-rows:210px 210px;gap:8px}.gallery div{border-radius:13px;background:#ddd center/cover no-repeat}.gallery div:first-child{grid-row:1/3}.environment-list{display:grid;grid-template-columns:1fr 1fr;gap:9px}.env{border:1px solid #eceae5;border-radius:13px;padding:12px;display:flex;justify-content:space-between;gap:12px;align-items:center}.env b{font-size:13px}.env small{color:var(--muted)}.env-time{white-space:nowrap;font-weight:850;font-size:13px}.route-source{font-size:9px;color:#8b9096;margin-top:4px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:13px}th{text-align:left;color:var(--muted);font-size:11px;font-weight:700;padding:9px 10px;border-bottom:1px solid var(--line);white-space:nowrap}td{padding:10px;border-bottom:1px solid #efede8;white-space:nowrap}.green{color:var(--verified);font-weight:800}.payment{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.pay{background:#f5f4f0;padding:12px;border-radius:13px}.pay small{display:block;color:var(--muted);font-size:10px}.pay b{display:block;margin-top:5px}.notice{border:1px solid #ead5ad;background:#fff8eb;color:#6d501c;border-radius:13px;padding:13px;font-size:12px;line-height:1.6}.notice+.notice{margin-top:8px}
.compare-wrap{max-width:1180px;margin:auto;padding:45px 28px 80px}.compare-wrap h1{font-size:45px;letter-spacing:-.05em;margin:13px 0 22px}.compare-table{background:#fff;border:1px solid var(--line);border-radius:20px;overflow:auto}.compare-table table{min-width:720px}.compare-table th{background:#faf9f6}.compare-table td:first-child{font-weight:750;color:#535960}.compare-note{margin-top:14px;color:var(--muted);font-size:13px;line-height:1.6}
.modal{display:none;position:fixed;inset:0;background:rgba(11,13,16,.55);z-index:80;align-items:center;justify-content:center;padding:20px}.modal.open{display:flex}.modal-box{width:min(620px,100%);max-height:90vh;overflow:auto;background:#fff;border-radius:24px;padding:23px}.modal-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.modal-head h2{margin:0;font-size:27px;letter-spacing:-.03em}.close{border:0;width:36px;height:36px;border-radius:50%}.modal p{color:var(--muted);font-size:13px;line-height:1.6}.form{display:grid;grid-template-columns:1fr 1fr;gap:12px}.field label{display:block;color:#696f77;font-size:11px;margin:0 0 6px;font-weight:700}.field input,.field textarea{width:100%;border:1px solid var(--line);border-radius:11px;padding:11px;outline:none;background:#fff}.field textarea{min-height:92px;resize:vertical}.consent{display:flex;align-items:flex-start;gap:8px;font-size:11px;color:#666d75;line-height:1.5;margin:12px 0}.success{background:#eff8f3;border:1px solid #cde7d8;color:#245c40;padding:13px;border-radius:12px;font-size:13px;display:none}
.mobile-ask{display:none}

.conversation-card{width:min(840px,100%);margin:30px auto 0;background:#fff;border:1px solid var(--line);border-radius:26px;box-shadow:var(--shadow);overflow:hidden;text-align:left}
.conversation-messages{max-height:390px;overflow:auto;padding:18px 18px 4px;display:flex;flex-direction:column;gap:10px}
.conv-msg{max-width:84%;padding:12px 14px;border-radius:15px;font-size:14px;line-height:1.55;white-space:pre-wrap}
.conv-msg.ai{align-self:flex-start;background:#f1f0eb;color:#24272b;border-bottom-left-radius:5px}
.conv-msg.user{align-self:flex-end;background:var(--dark);color:#fff;border-bottom-right-radius:5px}
.conv-msg.thinking{color:#71767d;font-style:italic}
.conv-quick{display:flex;flex-wrap:wrap;gap:7px;padding:10px 18px 4px}
.conv-quick:empty{display:none}
.conv-quick button{border:1px solid var(--line);background:#fff;border-radius:999px;padding:9px 11px;font-size:12px;font-weight:720;color:#42474e}
.conv-quick button:hover{background:#f6f5f1}
.askbar.conversational{border:0;border-top:1px solid #ece9e3;border-radius:0;box-shadow:none;padding:10px 12px}
.askbar.conversational textarea{min-height:62px;font-size:15px}
.profile-strip{display:flex;flex-wrap:wrap;gap:6px;padding:0 18px 16px}
.profile-chip{border-radius:999px;background:#f3f1ec;border:1px solid #e5e1d9;color:#4e545b;padding:7px 9px;font-size:11px;font-weight:720}
.profile-chip strong{color:#17191c}
.results-profile{padding:0 0 18px}
.results-profile .profile-chip{background:#fff}
.match-score{position:absolute;top:14px;left:14px;background:rgba(16,18,22,.92);color:#fff;border-radius:999px;padding:8px 10px;font-size:11px;font-weight:900;z-index:2}
.delivery-tag{left:auto!important;right:14px!important}
.card-note{margin-top:12px;border-radius:12px;background:#faf7ef;color:#6d5b37;padding:10px 11px;font-size:11px;line-height:1.45}
.profile-intro{font-size:12px;color:var(--muted);margin-right:2px;display:flex;align-items:center}
.hero.conversation-active{padding-top:42px;align-items:start}
.hero.conversation-active h1{font-size:clamp(44px,5vw,68px)}
.hero.conversation-active .lead{max-width:760px;margin-bottom:15px}


/* Conversación multimodal V3 */
.multimodal-compose{display:flex;align-items:flex-end;gap:8px;border-top:1px solid #ece9e3;padding:10px 12px;background:#fff}
.compose-tool{width:34px;height:34px;flex:0 0 34px;border:0;background:transparent;border-radius:50%;display:grid;place-items:center;cursor:pointer;color:#6d737a;transition:.18s ease}
.compose-tool:hover{background:#f3f2ee;color:#17191c}
.compose-tool svg{width:17px;height:17px;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round}
.compose-tool.listening{background:#fff3ec;color:#f26a1b;box-shadow:0 0 0 3px rgba(242,106,27,.08)}
.compose-tool.listening::after{content:'';width:5px;height:5px;border-radius:50%;background:#f26a1b;position:absolute;transform:translate(11px,-11px)}
.compose-tool{position:relative}
.multimodal-compose textarea,.multimodal-compose input[type="text"]{flex:1;min-width:0;border:0;outline:none;background:transparent;font:inherit;color:inherit;padding:9px 3px;resize:none}
.multimodal-compose textarea{min-height:46px;max-height:130px}
.multimodal-compose .send{width:42px;height:42px;flex:0 0 42px;border:0;border-radius:50%;background:var(--dark);color:#fff;font-size:20px;font-weight:850;cursor:pointer}
.compose-hint{padding:0 18px 10px;font-size:10px;color:#8a8f95}
.attachment-tray{display:flex;gap:8px;overflow:auto;padding:8px 18px 4px}
.attachment-tray:empty{display:none}
.attachment-chip{display:flex;align-items:center;gap:8px;min-width:180px;max-width:260px;border:1px solid var(--line);border-radius:12px;background:#faf9f6;padding:7px 9px}
.attachment-thumb{width:38px;height:38px;border-radius:8px;background:#e9e7e2 center/cover no-repeat;display:grid;place-items:center;font-size:17px;flex:0 0 38px}
.attachment-copy{min-width:0;flex:1}
.attachment-copy b{display:block;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.attachment-copy span{display:block;font-size:9px;color:var(--muted);margin-top:2px}
.attachment-remove{border:0;background:transparent;font-size:16px;color:#8b9097;cursor:pointer}
.attachment-msg{display:flex;align-items:center;gap:9px}
.attachment-msg .mini-thumb{width:48px;height:48px;border-radius:9px;background:#ddd center/cover no-repeat;flex:0 0 48px}
.attachment-msg .mini-file{width:48px;height:48px;border-radius:9px;background:#eceae5;display:grid;place-items:center;font-weight:900;color:#5b6168;flex:0 0 48px}
.attachment-result{margin-top:5px;font-size:11px;color:#61676e}
.match-card{margin-top:8px;border:1px solid #e2dfd8;border-radius:12px;padding:10px;background:#fff}
.match-card b{font-size:12px}
.match-card button{margin-top:8px;border:0;background:#17191c;color:#fff;border-radius:999px;padding:7px 10px;font-size:10px;font-weight:800;cursor:pointer}
.chat-compose.multimodal{display:flex;align-items:center;gap:6px;margin-top:9px}
.chat-compose.multimodal .compose-tool{border-color:#343943;background:#1b1e24;color:#d9dde2}
.chat-compose.multimodal .compose-tool:hover{background:#252a31}
.chat-compose.multimodal .compose-tool.listening{background:#3b2418;border-color:#ff8847;color:#ff9b65}
.chat-compose.multimodal input{flex:1;min-width:0;background:#1a1e23;border:1px solid #30353d;color:#fff;padding:11px;border-radius:12px;outline:none}
.chat-compose.multimodal .chat-send{border:0;border-radius:12px;background:#fff;color:#111;padding:0 14px;height:40px;font-weight:850}
.chat-file-msg{max-width:92%;padding:9px 10px;border-radius:13px;background:#f4f3ef;color:#17191c;align-self:flex-end}
.file-disclaimer{font-size:10px;color:#868c93;margin-top:6px;line-height:1.45}

@media(max-width:1050px){.detail-layout{grid-template-columns:1fr}.chat-panel{position:static;min-height:auto}.chat-messages{max-height:360px}.hero-photo{height:470px}.content-grid{grid-template-columns:1fr}.panel.full{grid-column:auto}}
@media(max-width:820px){header{padding:0 17px}.micro{display:none}.shell,.detail-shell{padding-left:16px;padding-right:16px}.hero{padding-top:35px}.hero h1{font-size:56px}.hero .lead{font-size:16px}.cards{grid-template-columns:1fr}.card-img{height:270px}.results-head{align-items:flex-start;flex-direction:column}.results-head h2{font-size:36px}.hero-photo{height:430px}.hero-meta{left:18px;bottom:18px}.hero-meta h1{font-size:38px}.detail-actions{top:14px;right:14px;bottom:auto}.factgrid{grid-template-columns:1fr 1fr}.feature-grid,.environment-list{grid-template-columns:1fr}.payment{grid-template-columns:1fr 1fr}.gallery{grid-template-columns:1fr 1fr;grid-template-rows:200px 150px}.gallery div:first-child{grid-column:1/3;grid-row:auto}.form{grid-template-columns:1fr}.field.wide{grid-column:auto}}
@media(max-width:520px){.conversation-card{border-radius:20px}.conversation-messages{max-height:350px;padding:14px 14px 3px}.conv-msg{max-width:92%}.conv-quick{padding-left:14px;padding-right:14px}.profile-strip{padding-left:14px;padding-right:14px}.logo{font-size:18px}.header-right .btn.ghost{display:none}.hero h1{font-size:48px}.askbar textarea{font-size:15px}.hero-photo{height:390px}.hero-meta h1{font-size:32px}.factgrid{grid-template-columns:1fr 1fr}.payment{grid-template-columns:1fr}.gallery{display:flex;overflow:auto}.gallery div{min-width:82%;height:220px}.gallery div:first-child{min-width:92%}.detail-head{padding-top:18px}.chat-panel{border-radius:20px}.content-grid{gap:12px}.panel{padding:17px}}

/* V3.2 - microphone hard override */
#homeMic,#detailMic{
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  flex:0 0 34px!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  outline:0!important;
  border-radius:50%!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#70757b!important;
  font-size:0!important;
  line-height:0!important;
  display:grid!important;
  place-items:center!important;
  position:relative!important;
  appearance:none!important;
  -webkit-appearance:none!important;
}
#homeMic:hover,#detailMic:hover{
  background:#f2f1ed!important;
  color:#17191c!important;
}
#homeMic svg,#detailMic svg{
  display:block!important;
  width:16px!important;
  height:16px!important;
  stroke:currentColor!important;
  stroke-width:1.65!important;
  fill:none!important;
  overflow:visible!important;
}
#homeMic.listening,#detailMic.listening{
  background:#fff2ea!important;
  color:#ee6b22!important;
  box-shadow:0 0 0 3px rgba(238,107,34,.08)!important;
}
#homeMic.listening::after,#detailMic.listening::after{
  content:''!important;
  position:absolute!important;
  width:5px!important;
  height:5px!important;
  right:1px!important;
  top:1px!important;
  border-radius:50%!important;
  background:#ee6b22!important;
}


/* V3.3 - microphone as icon */
#homeMic,#detailMic{
  width:30px!important;
  height:30px!important;
  min-width:30px!important;
  flex:0 0 30px!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding:5px!important;
  color:#4f555c!important;
}
#homeMic svg,#detailMic svg{
  width:18px!important;
  height:18px!important;
  display:block!important;
  fill:currentColor!important;
  stroke:none!important;
}
#homeMic:hover,#detailMic:hover{
  background:transparent!important;
  color:#111418!important;
  transform:scale(1.06);
}
#homeMic.listening,#detailMic.listening{
  background:transparent!important;
  color:#f06a20!important;
  box-shadow:none!important;
}
#homeMic.listening::after,#detailMic.listening::after{
  width:5px!important;
  height:5px!important;
  right:0!important;
  top:0!important;
  background:#f06a20!important;
}


/* ============================================================
   NUVAI HOME V4 · IDENTIDAD CORPORATIVA
   ============================================================ */
:root{
  --nuvai-orange:#FF7A1A;
  --nuvai-black:#161616;
  --nuvai-white:#FFFFFF;
  --nuvai-gray-100:#F4F4F4;
  --nuvai-gray-600:#6B6B6B;
}

header{
  height:76px;
  padding:0 42px;
  background:rgba(255,255,255,.96);
  border-bottom:1px solid #EFEFEF;
  backdrop-filter:blur(16px);
  font-family:"Manrope",sans-serif;
}
.brand-logo{
  display:flex;
  align-items:center;
  border:0;
  background:transparent;
  padding:0;
}
.brand-logo img{
  display:block;
  width:126px;
  height:auto;
}
.brand-nav{
  display:flex;
  align-items:center;
  gap:26px;
}
.brand-nav-link{
  border:0;
  background:transparent;
  color:var(--nuvai-black);
  padding:8px 0;
  font-family:"Manrope",sans-serif;
  font-size:13px;
  font-weight:500;
}
.brand-nav-link:hover{color:var(--nuvai-orange)}
.brand-lang{
  color:var(--nuvai-gray-600);
  font-size:12px;
  font-weight:500;
  letter-spacing:.05em;
}
.brand-advisor{
  border:0!important;
  background:var(--nuvai-black)!important;
  color:#fff!important;
  border-radius:12px!important;
  padding:11px 16px!important;
  font-size:12px!important;
  font-weight:500!important;
}

#homeView{
  background:var(--nuvai-white);
  font-family:"Manrope",sans-serif;
}
#homeView .shell{
  max-width:none;
  padding:0 28px 90px;
}
#homeView .hero{
  min-height:calc(100vh - 76px);
  padding:70px 0 78px;
  background:#fff;
}
#homeView .hero-inner{
  width:min(900px,100%);
}
.nuvai-presence{
  width:82px;
  height:48px;
  margin:0 auto 28px;
  display:grid;
  place-items:center;
}
.nuvai-presence svg{
  width:82px;
  height:48px;
  overflow:visible;
}
.nuvai-presence path{
  fill:none;
  stroke:var(--nuvai-orange);
  stroke-width:4.2;
  stroke-linecap:round;
}
.nuvai-presence.thinking path{
  animation:nuvaiThink 1.35s ease-in-out infinite;
  transform-origin:center;
}
.nuvai-presence.listening path{
  animation:nuvaiListen .9s ease-in-out infinite alternate;
}
@keyframes nuvaiThink{
  0%,100%{transform:scaleX(.96) translateY(0);opacity:.92}
  50%{transform:scaleX(1.04) translateY(-2px);opacity:1}
}
@keyframes nuvaiListen{
  from{transform:scale(.96);opacity:.78}
  to{transform:scale(1.04);opacity:1}
}

#homeView .hero h1{
  max-width:870px;
  margin:0 auto;
  color:var(--nuvai-black);
  font-family:"Manrope",sans-serif;
  font-size:clamp(34px,4.3vw,54px);
  font-weight:300;
  line-height:1.05;
  letter-spacing:-.045em;
}
#homeView .conversation-card{
  width:min(780px,100%);
  margin:42px auto 0;
  background:var(--nuvai-gray-100);
  border:1px solid #EEEEEE;
  border-radius:16px;
  box-shadow:none;
  overflow:hidden;
}
#homeView .conversation-messages{
  max-height:340px;
  padding:14px 14px 2px;
}
#homeView .conversation-messages:empty{display:none}
#homeView .conv-msg{
  font-family:"Manrope",sans-serif;
  font-size:13px;
  line-height:1.58;
  border-radius:13px;
}
#homeView .conv-msg.ai{
  background:#fff;
  color:var(--nuvai-black);
}
#homeView .conv-msg.user{
  background:var(--nuvai-black);
  color:#fff;
}
#homeView .conv-quick{
  padding:8px 14px 2px;
}
#homeView .conv-quick button{
  border:1px solid #E3E3E3;
  background:#fff;
  color:var(--nuvai-black);
  border-radius:999px;
  padding:8px 11px;
  font-family:"Manrope",sans-serif;
  font-size:11px;
  font-weight:500;
}
#homeView .conv-quick button:hover{
  border-color:#D5D5D5;
  background:#fff;
}
#homeView .attachment-tray{
  padding:8px 14px 2px;
}
#homeView .multimodal-compose{
  border-top:0;
  background:transparent;
  padding:11px 12px 12px;
  gap:8px;
  align-items:center;
  min-height:88px;
}
#homeView .multimodal-compose textarea{
  height:42px;
  min-height:42px;
  max-height:120px;
  padding:10px 5px;
  color:var(--nuvai-black);
  font-family:"Manrope",sans-serif;
  font-size:14px;
  font-weight:400;
  line-height:22px;
  overflow-y:auto;
}
#homeView .multimodal-compose textarea::placeholder{
  color:#808080;
  opacity:1;
}
#homeView .compose-tool{
  color:#555!important;
}
#homeView .compose-tool:hover{
  color:var(--nuvai-black)!important;
}
#homeView .send{
  width:42px;
  height:42px;
  flex:0 0 42px;
  border-radius:12px;
  background:var(--nuvai-orange);
  color:#fff;
  font-size:20px;
  font-weight:400;
  transition:.18s ease;
}
#homeView .send:hover{
  transform:translateY(-1px);
  box-shadow:0 7px 18px rgba(255,122,26,.22);
}
#homeView .compose-hint{
  display:none;
}
#homeView .profile-strip{
  padding:0 14px 14px;
}
#homeView .profile-chip{
  background:#fff;
  border:1px solid #E6E6E6;
  color:var(--nuvai-gray-600);
  font-size:10px;
  font-weight:500;
}
#homeView .profile-chip strong{
  color:var(--nuvai-black);
  font-weight:500;
}

#homeView .chips{
  width:min(820px,100%);
  margin:18px auto 0;
  gap:8px;
}
#homeView .chip{
  border:0;
  border-radius:999px;
  background:var(--nuvai-gray-100);
  color:#4D4D4D;
  padding:10px 14px;
  font-family:"Manrope",sans-serif;
  font-size:11px;
  font-weight:500;
  transition:.16s ease;
}
#homeView .chip:hover{
  background:#ECECEC;
  color:var(--nuvai-black);
  transform:translateY(-1px);
}
#homeView .trust,
#homeView .eyebrow,
#homeView .lead{
  display:none!important;
}
#homeView .hero.conversation-active{
  padding-top:48px;
  align-items:start;
}
#homeView .hero.conversation-active h1{
  font-size:clamp(32px,3.8vw,46px);
}
#homeView .hero.conversation-active .nuvai-presence{
  margin-bottom:20px;
}

/* Iconos del composer */
.attach-icon svg{
  width:17px!important;
  height:17px!important;
  stroke:currentColor!important;
  fill:none!important;
  stroke-width:1.7!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}

/* Cómo funciona: fuera del hero, muy discreto */
.how-section{
  max-width:1060px;
  margin:0 auto;
  padding:88px 20px 118px;
  font-family:"Manrope",sans-serif;
}
.how-kicker{
  color:var(--nuvai-orange);
  font-size:10px;
  font-weight:500;
  letter-spacing:.12em;
  text-transform:uppercase;
  margin-bottom:13px;
}
.how-section h2{
  max-width:650px;
  margin:0;
  font-size:38px;
  line-height:1.12;
  letter-spacing:-.035em;
  font-weight:300;
  color:var(--nuvai-black);
}
.how-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin-top:34px;
}
.how-card{
  background:var(--nuvai-gray-100);
  border-radius:16px;
  padding:24px;
  min-height:170px;
}
.how-number{
  font-size:10px;
  color:var(--nuvai-orange);
  font-weight:500;
  letter-spacing:.08em;
}
.how-card h3{
  margin:22px 0 8px;
  font-size:18px;
  font-weight:500;
  letter-spacing:-.02em;
}
.how-card p{
  margin:0;
  color:var(--nuvai-gray-600);
  font-size:12px;
  line-height:1.65;
}

@media(max-width:820px){
  header{height:68px;padding:0 18px}
  .brand-logo img{width:108px}
  .brand-nav{gap:12px}
  .brand-nav-link{display:none}
  .brand-lang{display:none}
  .brand-advisor{padding:9px 12px!important;font-size:11px!important}
  #homeView .hero{min-height:calc(100vh - 68px);padding:52px 0 54px}
  #homeView .hero h1{font-size:clamp(32px,8vw,44px)}
  .nuvai-presence{width:68px;height:40px;margin-bottom:22px}
  .nuvai-presence svg{width:68px;height:40px}
  #homeView .conversation-card{margin-top:34px;border-radius:15px}
  #homeView .chips{margin-top:14px}
  #homeView .chip{font-size:10px;padding:9px 11px}
  .how-section{padding:66px 2px 86px}
  .how-section h2{font-size:32px}
  .how-grid{grid-template-columns:1fr}
}
@media(max-width:520px){
  #homeView .shell{padding-left:14px;padding-right:14px}
  #homeView .hero h1{font-size:34px;line-height:1.08}
  #homeView .conversation-card{margin-top:28px}
  #homeView .multimodal-compose{padding:9px 9px 10px}
  #homeView .multimodal-compose textarea{font-size:13px}
  #homeView .chips{justify-content:flex-start}
}


/* ============================================================
   NUVAI RESULTS V4.2 · EDITORIAL + ASESORADO
   ============================================================ */
#resultsView{
  background:#FFFFFF;
  font-family:"Manrope",sans-serif;
}
#resultsView .shell{
  max-width:1180px;
  padding:0 34px 90px;
}
#resultsView .results-head{
  padding:54px 0 22px;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:28px;
  border-bottom:0;
}
#resultsView .results-head .back{
  color:#747474;
  font-size:11px;
  font-weight:500;
  letter-spacing:.01em;
}
#resultsView .results-head h2{
  max-width:760px;
  margin:13px 0 8px;
  color:#161616;
  font-size:clamp(34px,4vw,48px);
  font-weight:300;
  line-height:1.08;
  letter-spacing:-.04em;
}
#resultsView .results-head p{
  margin:0;
  max-width:780px;
  color:#777;
  font-size:12px;
  line-height:1.55;
}
#resultsView #compareBtn{
  flex:0 0 auto;
  border:1px solid #E5E5E5;
  background:#FFFFFF;
  color:#161616;
  border-radius:11px;
  padding:10px 14px;
  font-size:11px;
  font-weight:500;
}
#resultsView #compareBtn:hover{
  border-color:#D5D5D5;
  background:#FAFAFA;
}

#resultsView .result-summary{
  margin:8px 0 14px;
  padding:20px 22px;
  border:0;
  border-radius:14px;
  background:#F7F7F7;
  box-shadow:none;
  gap:14px;
}
#resultsView .spark{
  width:22px;
  height:22px;
  flex:0 0 22px;
  border-radius:50%;
  background:transparent;
  color:#FF7A1A;
  font-size:14px;
  display:grid;
  place-items:center;
}
#resultsView .summary-copy{
  max-width:840px;
  color:#555;
  font-size:13px;
  line-height:1.65;
}
#resultsView .summary-copy b{
  color:#161616;
  font-weight:500;
}
#resultsView .results-profile{
  padding:0 0 24px;
}
#resultsView .results-profile .profile-chip{
  background:#fff;
  border:1px solid #ECECEC;
  color:#777;
  font-size:9.5px;
  font-weight:500;
}

#resultsView .cards{
  display:flex;
  flex-direction:column;
  gap:22px;
}
#resultsView .card{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(360px,.9fr);
  min-height:420px;
  border:1px solid #ECECEC;
  border-radius:16px;
  background:#FFFFFF;
  overflow:hidden;
  cursor:pointer;
  box-shadow:none;
  transition:border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
#resultsView .card:hover{
  transform:translateY(-2px);
  border-color:#DEDEDE;
  box-shadow:0 14px 38px rgba(22,22,22,.055);
}
#resultsView .card-img{
  height:100%;
  min-height:420px;
  background:#EDEDED center/cover no-repeat;
  position:relative;
}
#resultsView .card-img:after{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,0) 60%,rgba(0,0,0,.08));
  pointer-events:none;
}
#resultsView .delivery-tag{
  top:16px;
  left:16px;
  background:rgba(255,255,255,.94);
  color:#303030;
  border:0;
  border-radius:999px;
  padding:7px 10px;
  font-size:9.5px;
  font-weight:500;
  letter-spacing:.02em;
  backdrop-filter:blur(8px);
}
#resultsView .available{
  right:16px;
  bottom:16px;
  z-index:1;
  background:rgba(22,22,22,.82);
  color:#fff;
  border-radius:999px;
  padding:7px 10px;
  font-size:9.5px;
  font-weight:500;
  backdrop-filter:blur(7px);
}
#resultsView .match-score{
  position:absolute;
  top:16px;
  right:16px;
  z-index:2;
  background:rgba(255,255,255,.94);
  color:#FF7A1A;
  border-radius:999px;
  padding:7px 10px;
  font-size:9.5px;
  font-weight:500;
  letter-spacing:.01em;
  backdrop-filter:blur(8px);
}

#resultsView .card-body{
  padding:30px 30px 26px;
  display:flex;
  flex-direction:column;
}
#resultsView .loc{
  color:#777;
  font-size:9.5px;
  font-weight:500;
  letter-spacing:.09em;
  text-transform:uppercase;
}
#resultsView .card h3{
  margin:8px 0 15px;
  color:#161616;
  font-size:30px;
  font-weight:300;
  line-height:1.1;
  letter-spacing:-.035em;
}
#resultsView .price{
  color:#161616;
  font-size:17px;
  font-weight:500;
}
#resultsView .facts{
  margin-top:8px;
  color:#6B6B6B;
  font-size:11.5px;
  line-height:1.65;
}
.result-fit{
  margin-top:24px;
  padding-top:21px;
  border-top:1px solid #EEEEEE;
}
.result-fit-title{
  color:#161616;
  font-size:12.5px;
  font-weight:500;
  margin-bottom:4px;
}
.result-fit-score{
  color:#858585;
  font-size:10px;
}
.result-section-label{
  margin-top:18px;
  color:#8A8A8A;
  font-size:8.5px;
  font-weight:500;
  letter-spacing:.12em;
  text-transform:uppercase;
}
#resultsView .reasons{
  display:block;
  margin:8px 0 0;
  padding:0;
  border:0;
}
#resultsView .reason{
  display:block;
  position:relative;
  margin:5px 0;
  padding:0 0 0 14px;
  background:transparent;
  color:#474747;
  border-radius:0;
  font-size:11px;
  line-height:1.5;
}
#resultsView .reason:before{
  content:'';
  position:absolute;
  left:0;
  top:.57em;
  width:4px;
  height:4px;
  border-radius:50%;
  background:#FF7A1A;
}
#resultsView .card-note{
  margin-top:7px;
  padding:0;
  border-radius:0;
  background:transparent;
  color:#6B6B6B;
  font-size:11px;
  line-height:1.55;
}
.result-actions{
  display:flex;
  align-items:center;
  gap:16px;
  margin-top:auto;
  padding-top:23px;
}
.result-primary{
  border:0;
  border-radius:10px;
  background:#161616;
  color:#fff;
  padding:10px 14px;
  font-family:"Manrope",sans-serif;
  font-size:10.5px;
  font-weight:500;
}
.result-secondary{
  border:0;
  background:transparent;
  color:#666;
  padding:8px 0;
  font-family:"Manrope",sans-serif;
  font-size:10.5px;
  font-weight:500;
}
.result-secondary:hover{
  color:#161616;
}

#resultsView .empty{
  border-radius:16px;
  border:1px solid #ECECEC;
  background:#FAFAFA;
  box-shadow:none;
}

@media(max-width:900px){
  #resultsView .shell{padding-left:18px;padding-right:18px}
  #resultsView .results-head{
    padding-top:42px;
    align-items:flex-start;
    flex-direction:column;
  }
  #resultsView .results-head h2{
    font-size:38px;
  }
  #resultsView .card{
    grid-template-columns:1fr;
    min-height:0;
  }
  #resultsView .card-img{
    min-height:330px;
    height:330px;
  }
}
@media(max-width:560px){
  #resultsView .shell{padding-left:14px;padding-right:14px}
  #resultsView .results-head{padding-top:34px}
  #resultsView .results-head h2{
    font-size:32px;
    line-height:1.1;
  }
  #resultsView .result-summary{
    padding:16px;
  }
  #resultsView .card{
    border-radius:14px;
  }
  #resultsView .card-img{
    min-height:260px;
    height:260px;
  }
  #resultsView .card-body{
    padding:22px 20px 20px;
  }
  #resultsView .card h3{
    font-size:26px;
  }
}


/* ============================================================
   NUVAI DETAIL V4.3 · CHAT FIJO + EDITORIAL PREMIUM
   ============================================================ */
#detailView{
  background:#FFFFFF;
  font-family:"Manrope",sans-serif;
}
#detailView .detail-shell{
  max-width:1480px;
  margin:auto;
  padding:0 30px 96px;
}
#detailView .detail-head{
  padding:28px 0 18px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
}
#detailView .detail-head .back{
  color:#747474;
  font-size:11px;
  font-weight:500;
}
#detailView #verifiedAt{
  color:#8A8A8A;
  font-size:9.5px;
  letter-spacing:.04em;
}
#detailView .detail-layout{
  display:grid;
  grid-template-columns:minmax(300px,.68fr) minmax(0,1.65fr);
  gap:28px;
  align-items:start;
}

/* Chat fijo */
#detailView .chat-panel{
  position:sticky;
  top:92px;
  min-height:calc(100vh - 120px);
  padding:20px;
  display:flex;
  flex-direction:column;
  border:1px solid #EAEAEA;
  border-radius:16px;
  background:#FAFAFA;
  color:#161616;
  box-shadow:none;
}
#detailView .chat-title{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
#detailView .chat-brand{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:7px;
  color:#6B6B6B;
  font-size:9px;
  font-weight:500;
  letter-spacing:.12em;
  text-transform:uppercase;
}
#detailView .chat-brand-dot{
  width:7px;
  height:7px;
  border-radius:50%;
  background:#FF7A1A;
  flex:0 0 7px;
}
#detailView .chat-title h2{
  margin:0;
  color:#161616;
  font-size:20px;
  font-weight:300;
  line-height:1.16;
  letter-spacing:-.03em;
}
#detailView .chat-title p{
  margin:7px 0 0;
  color:#7A7A7A;
  font-size:10.5px;
  line-height:1.55;
}
#detailView .verified-pill{
  border:1px solid #E5E5E5;
  border-radius:999px;
  padding:6px 8px;
  color:#666;
  background:#fff;
  font-size:8.5px;
  font-weight:500;
  white-space:nowrap;
}
#detailView .chat-messages{
  margin-top:16px;
  flex:1;
  min-height:300px;
  max-height:calc(100vh - 390px);
  overflow:auto;
  display:flex;
  flex-direction:column;
  gap:8px;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
}
#detailView .msg{
  max-width:90%;
  padding:10px 11px;
  border-radius:12px;
  font-size:11.5px;
  line-height:1.58;
  white-space:pre-wrap;
}
#detailView .msg.ai{
  align-self:flex-start;
  background:#FFFFFF;
  border:1px solid #ECECEC;
  color:#2E2E2E;
}
#detailView .msg.user{
  align-self:flex-end;
  background:#161616;
  color:#FFFFFF;
}
#detailView .quick{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:12px;
}
#detailView .quick button{
  border:1px solid #E6E6E6;
  background:#fff;
  color:#5F5F5F;
  border-radius:999px;
  padding:7px 9px;
  font-size:9.5px;
  font-weight:500;
}
#detailView .quick button:hover{
  border-color:#D8D8D8;
  color:#161616;
}
#detailView .chat-compose.multimodal{
  margin-top:12px;
  padding:7px;
  gap:5px;
  align-items:center;
  border:1px solid #E8E8E8;
  border-radius:12px;
  background:#FFFFFF;
}
#detailView .chat-compose.multimodal .compose-tool{
  width:28px;
  height:28px;
  min-width:28px;
  flex:0 0 28px;
  padding:5px;
  border:0;
  background:transparent;
  color:#777;
}
#detailView .chat-compose.multimodal .compose-tool:hover{
  background:transparent;
  color:#161616;
}
#detailView .chat-compose.multimodal input{
  flex:1;
  min-width:0;
  height:34px;
  padding:7px 4px;
  border:0;
  outline:0;
  background:transparent;
  color:#161616;
  font-size:11.5px;
}
#detailView .chat-compose.multimodal input::placeholder{color:#969696}
#detailView .chat-compose.multimodal .chat-send{
  height:34px;
  padding:0 11px;
  border:0;
  border-radius:9px;
  background:#161616;
  color:#fff;
  font-size:9.5px;
  font-weight:500;
}
#detailView .advisor-cta{
  margin-top:12px;
  padding-top:12px;
  border-top:1px solid #EAEAEA;
}
#detailView .advisor-cta button{
  width:100%;
  border:0;
  border-radius:10px;
  background:#FF7A1A;
  color:#fff;
  padding:10px 12px;
  font-size:10.5px;
  font-weight:500;
}

/* Contenido editorial */
#detailView .detail-content{
  min-width:0;
}
#detailView .hero-photo{
  height:620px;
  border-radius:16px;
  background:#EDEDED center/cover no-repeat;
  position:relative;
  overflow:hidden;
}
#detailView .hero-photo:after{
  content:'';
  position:absolute;
  inset:35% 0 0;
  background:linear-gradient(180deg,transparent,rgba(0,0,0,.48));
  pointer-events:none;
}
#detailView .hero-meta{
  position:absolute;
  z-index:2;
  left:28px;
  bottom:27px;
  color:#fff;
  max-width:70%;
}
#detailView .hero-meta .loc{
  color:rgba(255,255,255,.78);
  font-size:9.5px;
  font-weight:500;
  letter-spacing:.10em;
  text-transform:uppercase;
}
#detailView .hero-meta h1{
  margin:8px 0 8px;
  font-size:clamp(36px,4vw,54px);
  font-weight:300;
  line-height:1.04;
  letter-spacing:-.045em;
}
#detailView .hero-meta .price{
  font-size:16px;
  font-weight:500;
}
#detailView .detail-actions{
  position:absolute;
  z-index:3;
  right:18px;
  bottom:18px;
  display:flex;
  gap:7px;
}
#detailView .detail-actions button{
  border:0;
  border-radius:10px;
  background:rgba(255,255,255,.94);
  color:#161616;
  padding:9px 12px;
  font-size:9.5px;
  font-weight:500;
  backdrop-filter:blur(8px);
}

/* Barra rápida debajo del hero */
.detail-quick-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:12px;
}
.detail-quick-action{
  border:1px solid #EAEAEA;
  border-radius:13px;
  background:#fff;
  padding:15px 16px;
  text-align:left;
  font-family:"Manrope",sans-serif;
  transition:.16s ease;
}
.detail-quick-action:hover{
  border-color:#DADADA;
  background:#FAFAFA;
}
.detail-quick-action .kicker{
  display:block;
  color:#FF7A1A;
  font-size:8.5px;
  font-weight:500;
  letter-spacing:.11em;
  text-transform:uppercase;
  margin-bottom:5px;
}
.detail-quick-action b{
  display:block;
  color:#161616;
  font-size:12.5px;
  font-weight:500;
}
.detail-quick-action span{
  display:block;
  color:#777;
  font-size:10px;
  margin-top:3px;
  line-height:1.45;
}

/* Bloques */
#detailView .content-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-top:12px;
}
#detailView .panel{
  padding:24px;
  border:1px solid #ECECEC;
  border-radius:15px;
  background:#FFFFFF;
}
#detailView .panel.full{
  grid-column:1/-1;
}
#detailView .panel h3{
  margin:0 0 14px;
  color:#161616;
  font-size:17px;
  font-weight:500;
  letter-spacing:-.02em;
}
#detailView .description{
  margin:0;
  color:#646464;
  font-size:12px;
  line-height:1.78;
}
.detail-advice{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
.detail-advice-block{
  padding:18px;
  border-radius:13px;
  background:#F6F6F6;
}
.detail-advice-label{
  color:#8A8A8A;
  font-size:8.5px;
  font-weight:500;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.detail-advice-block h4{
  margin:8px 0 7px;
  color:#161616;
  font-size:14px;
  font-weight:500;
}
.detail-advice-block p{
  margin:0;
  color:#656565;
  font-size:11px;
  line-height:1.65;
}
.detail-advice-block.accent{
  background:#FFF7F1;
}
.detail-advice-block.accent .detail-advice-label{
  color:#FF7A1A;
}

#detailView .factgrid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  margin-top:18px;
}
#detailView .fact{
  padding:12px 13px;
  border-radius:11px;
  background:#F7F7F7;
}
#detailView .fact span{
  display:block;
  color:#8B8B8B;
  font-size:8px;
  font-weight:500;
  letter-spacing:.10em;
  text-transform:uppercase;
}
#detailView .fact b{
  display:block;
  margin-top:5px;
  color:#161616;
  font-size:13px;
  font-weight:500;
}

#detailView .gallery{
  display:grid;
  grid-template-columns:1.45fr 1fr 1fr;
  grid-template-rows:220px 220px;
  gap:7px;
}
#detailView .gallery div{
  border-radius:11px;
  background:#EDEDED center/cover no-repeat;
}
#detailView .gallery div:first-child{
  grid-row:1/3;
}

#detailView .feature-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:9px 20px;
}
#detailView .feature{
  color:#505050;
  font-size:11.5px;
  line-height:1.52;
}
#detailView .feature:before{
  content:'';
  display:inline-block;
  width:5px;
  height:5px;
  margin-right:8px;
  border-radius:50%;
  background:#FF7A1A;
  vertical-align:middle;
}

#detailView .environment-list{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
}
#detailView .env{
  padding:11px 12px;
  border:1px solid #EEEEEE;
  border-radius:11px;
  background:#fff;
}
#detailView .env b{
  font-size:11.5px;
  font-weight:500;
}
#detailView .env small{
  color:#888;
  font-size:9px;
}
#detailView .env-time{
  color:#161616;
  font-size:11px;
  font-weight:500;
}
#detailView .route-source{
  color:#9A9A9A;
  font-size:8px;
}

#detailView table{
  font-size:11.5px;
}
#detailView th{
  color:#8A8A8A;
  font-size:9px;
  font-weight:500;
  letter-spacing:.04em;
}
#detailView td{
  padding:11px 10px;
}
#detailView .green{
  color:#161616;
  font-weight:500;
}

#detailView .payment{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
}
#detailView .pay{
  padding:13px;
  border-radius:11px;
  background:#F7F7F7;
}
#detailView .pay small{
  color:#858585;
  font-size:9px;
}
#detailView .pay b{
  color:#161616;
  font-size:12px;
  font-weight:500;
}

#detailView .notice{
  border:1px solid #F0DFC0;
  border-radius:11px;
  background:#FFF9EF;
  color:#705727;
  font-size:10.5px;
}

/* CTA final de visita */
.visit-panel{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:26px;
}
.visit-panel-copy{
  max-width:600px;
}
.visit-panel-copy p{
  margin:5px 0 0;
  color:#777;
  font-size:11.5px;
  line-height:1.6;
}
.visit-buttons{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.visit-buttons button{
  border-radius:10px;
  padding:10px 13px;
  font-family:"Manrope",sans-serif;
  font-size:10.5px;
  font-weight:500;
}
.visit-primary{
  border:0;
  background:#161616;
  color:#fff;
}
.visit-secondary{
  border:1px solid #E4E4E4;
  background:#fff;
  color:#161616;
}

@media(max-width:1050px){
  #detailView .detail-layout{grid-template-columns:1fr}
  #detailView .chat-panel{
    position:static;
    min-height:auto;
  }
  #detailView .chat-messages{
    min-height:180px;
    max-height:320px;
  }
  #detailView .hero-photo{height:540px}
}
@media(max-width:760px){
  #detailView .detail-shell{padding-left:15px;padding-right:15px}
  #detailView .hero-photo{height:440px}
  #detailView .hero-meta{
    left:18px;
    bottom:18px;
    max-width:85%;
  }
  #detailView .hero-meta h1{font-size:36px}
  #detailView .detail-actions{
    top:14px;
    right:14px;
    bottom:auto;
  }
  #detailView .detail-quick-actions{grid-template-columns:1fr}
  #detailView .content-grid{grid-template-columns:1fr}
  #detailView .panel.full{grid-column:auto}
  .detail-advice{grid-template-columns:1fr}
  #detailView .factgrid{grid-template-columns:1fr 1fr}
  #detailView .feature-grid,
  #detailView .environment-list{grid-template-columns:1fr}
  #detailView .payment{grid-template-columns:1fr 1fr}
  #detailView .gallery{
    display:flex;
    overflow:auto;
  }
  #detailView .gallery div{
    min-width:78%;
    height:230px;
  }
  #detailView .gallery div:first-child{
    min-width:92%;
  }
  .visit-panel{
    align-items:flex-start;
    flex-direction:column;
  }
}
@media(max-width:500px){
  #detailView .hero-photo{height:380px}
  #detailView .hero-meta h1{font-size:31px}
  #detailView .panel{padding:18px}
  #detailView .payment{grid-template-columns:1fr}
  #detailView .factgrid{grid-template-columns:1fr 1fr}
}


/* ============================================================
   NUVAI V4.4 · FAVORITOS + MI NUVAI + MEMORIA
   ============================================================ */
.my-nuvai-btn{
  position:relative;
  border:0;
  background:transparent;
  color:#3F3F3F;
  padding:8px 0;
  font-family:"Manrope",sans-serif;
  font-size:11.5px;
  font-weight:500;
}
.my-nuvai-btn:hover{color:#161616}
.my-nuvai-badge{
  position:absolute;
  top:1px;
  right:-13px;
  min-width:16px;
  height:16px;
  padding:0 4px;
  display:none;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:#FF7A1A;
  color:#fff;
  font-size:8px;
  font-weight:500;
}
.my-nuvai-badge.show{display:flex}

.favorite-btn{
  width:36px;
  height:36px;
  border:0;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.94);
  color:#515151;
  backdrop-filter:blur(8px);
  cursor:pointer;
  transition:.16s ease;
}
.favorite-btn:hover{
  transform:scale(1.04);
  color:#161616;
}
.favorite-btn svg{
  width:18px;
  height:18px;
  stroke:currentColor;
  stroke-width:1.7;
  fill:none;
  stroke-linejoin:round;
}
.favorite-btn.active{
  color:#FF7A1A;
}
.favorite-btn.active svg{
  fill:#FF7A1A;
  stroke:#FF7A1A;
}
#resultsView .favorite-btn{
  position:absolute;
  z-index:4;
  top:16px;
  left:16px;
}
#resultsView .delivery-tag{
  left:60px!important;
}
#detailView .detail-favorite{
  position:absolute;
  z-index:4;
  top:18px;
  left:18px;
}

.nuvai-toast{
  position:fixed;
  left:50%;
  bottom:28px;
  z-index:130;
  transform:translate(-50%,18px);
  opacity:0;
  pointer-events:none;
  background:#161616;
  color:#fff;
  border-radius:999px;
  padding:10px 14px;
  font-family:"Manrope",sans-serif;
  font-size:10.5px;
  font-weight:500;
  transition:.22s ease;
  box-shadow:0 10px 35px rgba(0,0,0,.15);
}
.nuvai-toast.show{
  opacity:1;
  transform:translate(-50%,0);
}

.account-modal .modal-box{
  width:min(520px,100%);
}
.account-modal h2{
  font-family:"Manrope",sans-serif;
  font-weight:300;
  font-size:28px;
  letter-spacing:-.035em;
}
.account-modal .account-intro{
  color:#666;
  font-size:12px;
  line-height:1.65;
}
.account-choice{
  display:flex;
  gap:8px;
  margin-top:16px;
}
.account-choice button{
  flex:1;
  border-radius:11px;
  padding:11px 13px;
  font-family:"Manrope",sans-serif;
  font-size:10.5px;
  font-weight:500;
}
.account-primary{
  border:0;
  background:#161616;
  color:#fff;
}
.account-secondary{
  border:1px solid #E5E5E5;
  background:#fff;
  color:#555;
}
.account-form{
  margin-top:18px;
  display:none;
}
.account-form.open{display:block}
.account-form .field{margin-top:10px}
.account-form .field label{
  display:block;
  margin-bottom:6px;
  color:#777;
  font-size:9.5px;
  font-weight:500;
  letter-spacing:.05em;
  text-transform:uppercase;
}
.account-form .field input{
  width:100%;
  border:1px solid #E7E7E7;
  border-radius:11px;
  padding:11px 12px;
  outline:0;
  font-family:"Manrope",sans-serif;
  font-size:12px;
}
.account-form .field input:focus{border-color:#CFCFCF}
.account-note{
  margin-top:10px;
  color:#8A8A8A;
  font-size:9.5px;
  line-height:1.5;
}
.account-success{
  display:none;
  margin-top:14px;
  border-radius:11px;
  background:#F3F8F4;
  color:#315D3E;
  padding:12px;
  font-size:11px;
  line-height:1.55;
}

/* Mi NUVAI */
.my-modal .modal-box{
  width:min(780px,100%);
  max-height:88vh;
  padding:0;
  overflow:hidden;
}
.my-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:22px 24px 18px;
  border-bottom:1px solid #EEEEEE;
}
.my-head-copy .eyebrow{
  color:#FF7A1A;
  font-size:8.5px;
  font-weight:500;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.my-head h2{
  margin:6px 0 0;
  font-family:"Manrope",sans-serif;
  font-size:28px;
  font-weight:300;
  letter-spacing:-.035em;
}
.my-body{
  max-height:calc(88vh - 76px);
  overflow:auto;
  padding:22px 24px 26px;
}
.my-guest{
  padding:30px;
  border-radius:14px;
  background:#F7F7F7;
}
.my-guest h3{
  margin:0 0 7px;
  font-size:17px;
  font-weight:500;
}
.my-guest p{
  margin:0;
  color:#6B6B6B;
  font-size:11.5px;
  line-height:1.65;
}
.my-section{
  margin-top:24px;
}
.my-section:first-child{margin-top:0}
.my-section-title{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:11px;
}
.my-section-title h3{
  margin:0;
  font-size:15px;
  font-weight:500;
}
.my-section-title small{
  color:#8A8A8A;
  font-size:9.5px;
}
.my-favorites{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.my-fav{
  display:grid;
  grid-template-columns:105px 1fr;
  min-height:105px;
  border:1px solid #ECECEC;
  border-radius:13px;
  overflow:hidden;
  background:#fff;
  cursor:pointer;
}
.my-fav-image{
  background:#EDEDED center/cover no-repeat;
}
.my-fav-copy{
  padding:12px;
}
.my-fav-copy b{
  display:block;
  color:#161616;
  font-size:12px;
  font-weight:500;
}
.my-fav-copy span{
  display:block;
  margin-top:4px;
  color:#777;
  font-size:9.5px;
  line-height:1.45;
}
.my-memory{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}
.memory-chip{
  border:1px solid #E9E9E9;
  border-radius:999px;
  background:#fff;
  color:#5D5D5D;
  padding:7px 10px;
  font-size:9.5px;
  font-weight:500;
}
.my-conversation-summary{
  border-radius:13px;
  background:#F7F7F7;
  padding:14px;
  color:#5F5F5F;
  font-size:10.5px;
  line-height:1.6;
}
.my-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:20px;
}
.my-actions button{
  border-radius:10px;
  padding:9px 12px;
  font-family:"Manrope",sans-serif;
  font-size:10px;
  font-weight:500;
}
.my-actions .primary{
  border:0;
  background:#161616;
  color:#fff;
}
.my-actions .secondary{
  border:1px solid #E5E5E5;
  background:#fff;
  color:#555;
}
.my-actions .danger{
  border:1px solid #F0DEDE;
  background:#fff;
  color:#985555;
}
.my-empty{
  color:#818181;
  font-size:10.5px;
  padding:12px 0;
}
.my-auth-status{
  color:#888;
  font-size:9.5px;
  margin-top:4px;
}

@media(max-width:700px){
  .my-nuvai-btn{font-size:11px}
  .my-favorites{grid-template-columns:1fr}
  .my-modal .modal-box{max-height:92vh}
  .my-body{max-height:calc(92vh - 76px)}
}


/* V4.4.1 · Corrección badges de resultados */
#resultsView .match-score{
  left:auto!important;
  right:16px!important;
  width:auto!important;
  max-width:max-content!important;
  white-space:nowrap!important;
}
#resultsView .favorite-btn{
  left:16px!important;
  right:auto!important;
}
#resultsView .delivery-tag{
  top:auto!important;
  bottom:16px!important;
  left:16px!important;
  right:auto!important;
  width:auto!important;
  max-width:55%!important;
  white-space:nowrap!important;
}
#resultsView .available{
  left:auto!important;
  right:16px!important;
}


/* ============================================================
   V4.4.2 · Ajuste fino de resultados
   ============================================================ */

/* Quitamos el sombreado/gradiente inferior de la foto */
#resultsView .card-img:after{
  display:none!important;
  content:none!important;
}

/* Corazón perfectamente centrado */
.favorite-btn,
#resultsView .favorite-btn,
#detailView .detail-favorite{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0!important;
  line-height:0!important;
  box-sizing:border-box!important;
}
.favorite-btn svg,
#resultsView .favorite-btn svg,
#detailView .detail-favorite svg{
  display:block!important;
  width:18px!important;
  height:18px!important;
  margin:0!important;
  transform:none!important;
}

/* Posiciones limpias y sin solapamiento */
#resultsView .favorite-btn{
  top:16px!important;
  left:16px!important;
  right:auto!important;
}

#resultsView .match-score{
  position:absolute!important;
  top:16px!important;
  right:16px!important;
  left:unset!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:fit-content!important;
  min-width:0!important;
  max-width:none!important;
  height:30px!important;
  padding:0 11px!important;
  margin:0!important;
  white-space:nowrap!important;
  border:0!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.96)!important;
  color:#FF7A1A!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  font-size:9.5px!important;
  font-weight:500!important;
  line-height:1!important;
  box-sizing:border-box!important;
}

/* Entrega abajo a la izquierda */
#resultsView .delivery-tag{
  top:auto!important;
  bottom:16px!important;
  left:16px!important;
  right:auto!important;
  display:inline-flex!important;
  width:fit-content!important;
  max-width:55%!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}

/* Disponibilidad abajo a la derecha */
#resultsView .available{
  left:auto!important;
  right:16px!important;
  box-shadow:none!important;
}

/* Sin sombra rara al pasar por encima de la imagen */
#resultsView .card:hover{
  box-shadow:0 10px 28px rgba(22,22,22,.035)!important;
}


/* ============================================================
   NUVAI V4.6 · HOME CONVERSACIONAL MÁS AMPLIA
   ============================================================ */

/* Más aire horizontal para que la conversación sea protagonista */
#homeView .hero-inner{
  width:min(1180px,100%)!important;
}

/* Titular más contenido y elegante */
#homeView .hero h1{
  max-width:800px!important;
  font-size:clamp(30px,3.45vw,46px)!important;
  line-height:1.08!important;
  letter-spacing:-.042em!important;
}

/* Buscador inicial más ancho */
#homeView .conversation-card{
  width:min(940px,100%)!important;
  margin-top:34px!important;
}

/* Estado conversación: se convierte en un espacio de chat real */
#homeView .hero.conversation-active{
  padding-top:30px!important;
  padding-bottom:54px!important;
}

#homeView .hero.conversation-active .nuvai-presence{
  width:70px!important;
  height:38px!important;
  margin-bottom:14px!important;
}
#homeView .hero.conversation-active .nuvai-presence svg{
  width:70px!important;
  height:38px!important;
}

#homeView .hero.conversation-active h1{
  max-width:720px!important;
  font-size:clamp(27px,2.8vw,38px)!important;
  line-height:1.08!important;
}

#homeView .hero.conversation-active .conversation-card{
  width:min(1080px,100%)!important;
  margin-top:24px!important;
  background:#FFFFFF!important;
  border:1px solid #E9E9E9!important;
  border-radius:18px!important;
  box-shadow:0 18px 60px rgba(22,22,22,.045)!important;
}

/* La zona de mensajes deja de parecer una pequeña caja */
#homeView .hero.conversation-active .conversation-messages{
  min-height:300px!important;
  max-height:48vh!important;
  padding:24px 26px 14px!important;
  background:#FFFFFF!important;
  gap:12px!important;
  scroll-padding-bottom:18px;
}

#homeView .hero.conversation-active .conv-msg{
  max-width:72%!important;
  padding:12px 14px!important;
  border-radius:14px!important;
  font-size:14px!important;
  line-height:1.62!important;
}

#homeView .hero.conversation-active .conv-msg.ai{
  background:#F4F4F4!important;
}

#homeView .hero.conversation-active .conv-msg.user{
  background:#161616!important;
}

/* Respuestas rápidas con más espacio y mejor separación */
#homeView .hero.conversation-active .conv-quick{
  padding:7px 26px 10px!important;
  background:#FFFFFF!important;
}

#homeView .hero.conversation-active .conv-quick button{
  padding:9px 12px!important;
  font-size:11px!important;
}

/* Composer anclado visualmente a la parte inferior del chat */
#homeView .hero.conversation-active .multimodal-compose{
  min-height:78px!important;
  padding:12px 18px!important;
  background:#F7F7F7!important;
  border-top:1px solid #ECECEC!important;
  gap:9px!important;
}

#homeView .hero.conversation-active .multimodal-compose textarea{
  min-height:46px!important;
  height:46px!important;
  max-height:150px!important;
  padding:12px 6px!important;
  font-size:14px!important;
}

#homeView .hero.conversation-active .profile-strip{
  padding:10px 22px 16px!important;
  background:#F7F7F7!important;
}

/* Cuando todavía no hay mensajes, mantenemos el buscador limpio y compacto */
#homeView .conversation-messages:empty + .conv-quick:empty{
  display:none!important;
}

@media(max-width:900px){
  #homeView .hero-inner{width:min(100%,820px)!important}
  #homeView .conversation-card,
  #homeView .hero.conversation-active .conversation-card{
    width:100%!important;
  }
  #homeView .hero.conversation-active .conversation-messages{
    min-height:260px!important;
    max-height:52vh!important;
    padding:20px 18px 12px!important;
  }
  #homeView .hero.conversation-active .conv-msg{
    max-width:84%!important;
  }
}

@media(max-width:560px){
  #homeView .hero h1{
    font-size:31px!important;
    max-width:360px!important;
  }
  #homeView .hero.conversation-active h1{
    font-size:27px!important;
  }
  #homeView .hero.conversation-active{
    padding-top:24px!important;
  }
  #homeView .hero.conversation-active .conversation-messages{
    min-height:230px!important;
    padding:16px 14px 10px!important;
  }
  #homeView .hero.conversation-active .conv-msg{
    max-width:92%!important;
    font-size:13px!important;
  }
  #homeView .hero.conversation-active .multimodal-compose{
    padding:10px 11px!important;
  }
  #homeView .hero.conversation-active .conv-quick{
    padding-left:14px!important;
    padding-right:14px!important;
  }
}


/* ============================================================
   NUVAI V4.7 · MODO CHAT A PANTALLA COMPLETA
   ============================================================ */

/* Home inicial: titular más refinado */
#homeView .hero:not(.conversation-active) h1{
  max-width:760px!important;
  font-size:clamp(28px,3vw,40px)!important;
  line-height:1.08!important;
  letter-spacing:-.04em!important;
}

/* En cuanto empieza la conversación, desaparece el hero.
   La experiencia pasa a ser un chat de pantalla completa. */
#homeView .hero.conversation-active{
  min-height:calc(100vh - 72px)!important;
  padding:0!important;
  display:block!important;
  background:#FFFFFF!important;
}

#homeView .hero.conversation-active .hero-inner{
  width:100%!important;
  max-width:none!important;
  height:calc(100vh - 72px)!important;
  text-align:left!important;
}

/* Ya no necesitamos repetir el titular ni el símbolo mientras conversamos */
#homeView .hero.conversation-active > .hero-inner > h1,
#homeView .hero.conversation-active > .hero-inner > .nuvai-presence,
#homeView .hero.conversation-active > .hero-inner > .chips{
  display:none!important;
}

/* El contenedor deja de ser una tarjeta: ahora ES la interfaz */
#homeView .hero.conversation-active .conversation-card{
  width:100%!important;
  max-width:none!important;
  height:100%!important;
  min-height:100%!important;
  margin:0!important;
  display:flex!important;
  flex-direction:column!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:#FFFFFF!important;
  overflow:hidden!important;
}

/* Área de conversación completa */
#homeView .hero.conversation-active .conversation-messages{
  flex:1 1 auto!important;
  width:100%!important;
  min-height:0!important;
  max-height:none!important;
  overflow-y:auto!important;
  padding-top:46px!important;
  padding-bottom:34px!important;
  padding-left:max(28px, calc((100% - 860px)/2))!important;
  padding-right:max(28px, calc((100% - 860px)/2))!important;
  gap:18px!important;
  background:#FFFFFF!important;
  scroll-behavior:smooth;
}

/* Mensajes más parecidos a una conversación real */
#homeView .hero.conversation-active .conv-msg{
  max-width:76%!important;
  width:auto!important;
  padding:13px 15px!important;
  border-radius:15px!important;
  font-size:14px!important;
  line-height:1.65!important;
  box-shadow:none!important;
}

#homeView .hero.conversation-active .conv-msg.ai{
  align-self:flex-start!important;
  background:#F4F4F4!important;
  border:0!important;
  color:#272727!important;
}

#homeView .hero.conversation-active .conv-msg.user{
  align-self:flex-end!important;
  background:#161616!important;
  color:#FFFFFF!important;
}

/* Respuestas rápidas viven dentro de la columna central */
#homeView .hero.conversation-active .conv-quick{
  flex:0 0 auto!important;
  width:min(860px, calc(100% - 40px))!important;
  margin:0 auto!important;
  padding:0 0 12px!important;
  background:#FFFFFF!important;
}

#homeView .hero.conversation-active .conv-quick button{
  padding:9px 12px!important;
  font-size:10.5px!important;
  border-radius:999px!important;
}

/* Adjuntos alineados al mismo eje */
#homeView .hero.conversation-active .attachment-tray{
  flex:0 0 auto!important;
  width:min(920px, calc(100% - 40px))!important;
  margin:0 auto!important;
  padding-left:0!important;
  padding-right:0!important;
}

/* Composer flotante tipo ChatGPT */
#homeView .hero.conversation-active .multimodal-compose{
  flex:0 0 auto!important;
  width:min(920px, calc(100% - 40px))!important;
  min-height:72px!important;
  margin:0 auto 10px!important;
  padding:10px 12px!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  border:1px solid #E7E7E7!important;
  border-radius:18px!important;
  background:#F7F7F7!important;
  box-shadow:0 10px 34px rgba(22,22,22,.055)!important;
}

#homeView .hero.conversation-active .multimodal-compose textarea{
  flex:1 1 auto!important;
  min-height:46px!important;
  height:46px!important;
  max-height:140px!important;
  padding:12px 6px!important;
  border:0!important;
  background:transparent!important;
  font-size:14px!important;
  line-height:22px!important;
}

/* Perfil entendido, discreto bajo el composer */
#homeView .hero.conversation-active .profile-strip{
  flex:0 0 auto!important;
  width:min(920px, calc(100% - 40px))!important;
  margin:0 auto!important;
  padding:0 0 15px!important;
  background:#FFFFFF!important;
}

/* El hint no debe robar espacio en el modo chat */
#homeView .hero.conversation-active .compose-hint{
  display:none!important;
}

/* En desktop, la shell también deja de limitar el chat */
#homeView:has(.hero.conversation-active) .shell{
  max-width:none!important;
  padding:0!important;
}

/* En pantallas medianas y móviles */
@media(max-width:900px){
  #homeView .hero.conversation-active,
  #homeView .hero.conversation-active .hero-inner{
    min-height:calc(100vh - 68px)!important;
    height:calc(100vh - 68px)!important;
  }

  #homeView .hero.conversation-active .conversation-messages{
    padding-top:30px!important;
    padding-left:18px!important;
    padding-right:18px!important;
    padding-bottom:26px!important;
  }

  #homeView .hero.conversation-active .conv-msg{
    max-width:86%!important;
  }

  #homeView .hero.conversation-active .multimodal-compose,
  #homeView .hero.conversation-active .attachment-tray,
  #homeView .hero.conversation-active .profile-strip,
  #homeView .hero.conversation-active .conv-quick{
    width:calc(100% - 28px)!important;
  }
}

@media(max-width:560px){
  #homeView .hero:not(.conversation-active) h1{
    max-width:360px!important;
    font-size:29px!important;
  }

  #homeView .hero.conversation-active .conversation-messages{
    padding-top:22px!important;
    padding-left:13px!important;
    padding-right:13px!important;
  }

  #homeView .hero.conversation-active .conv-msg{
    max-width:92%!important;
    font-size:13px!important;
  }

  #homeView .hero.conversation-active .multimodal-compose{
    width:calc(100% - 18px)!important;
    margin-bottom:7px!important;
    border-radius:16px!important;
  }

  #homeView .hero.conversation-active .attachment-tray,
  #homeView .hero.conversation-active .profile-strip,
  #homeView .hero.conversation-active .conv-quick{
    width:calc(100% - 20px)!important;
  }
}


/* ============================================================
   NUVAI V4.8 · HARDENING / UX INFRASTRUCTURE
   ============================================================ */
:root{--header-height:76px}
@media(max-width:820px){:root{--header-height:68px}}

@supports (height:100dvh){
  #homeView .hero.conversation-active,
  #homeView .hero.conversation-active .hero-inner{
    min-height:calc(100dvh - var(--header-height))!important;
    height:calc(100dvh - var(--header-height))!important;
  }
}

.result-secondary.compare-active{
  border-color:#161616!important;
  background:#161616!important;
  color:#fff!important;
}
.compare-advisor{
  margin:18px 0 16px;
  padding:18px 20px;
  border-radius:14px;
  background:#F4F4F4;
  color:#454545;
  font-size:12px;
  line-height:1.65;
}
.compare-advisor strong{color:#161616;font-weight:500}
.compare-empty{
  margin:18px 0;
  padding:22px;
  border:1px solid #ECECEC;
  border-radius:14px;
  color:#6B6B6B;
  font-size:12px;
  line-height:1.6;
}
.media-placeholder{
  background:linear-gradient(135deg,#F2F2F2,#E8E8E8)!important;
}


/* ============================================================
   NUVAI V4.8.1 · FIX COMPARAR + MEDIA
   ============================================================ */

/* Botón comparar: tamaño compacto y estable, sin herencias de .btn */
#resultsView #compareBtn.results-compare-btn{
  appearance:none!important;
  -webkit-appearance:none!important;
  flex:0 0 auto!important;
  align-self:flex-end!important;
  width:auto!important;
  min-width:0!important;
  max-width:max-content!important;
  height:40px!important;
  min-height:40px!important;
  margin:0!important;
  padding:0 15px!important;
  display:none;
  align-items:center!important;
  justify-content:center!important;
  border:1px solid #161616!important;
  border-radius:11px!important;
  background:#161616!important;
  color:#FFFFFF!important;
  box-shadow:none!important;
  font-family:"Manrope",sans-serif!important;
  font-size:10.5px!important;
  font-weight:500!important;
  line-height:1!important;
  letter-spacing:0!important;
  white-space:nowrap!important;
  cursor:pointer!important;
  box-sizing:border-box!important;
}
#resultsView #compareBtn.results-compare-btn:hover{
  background:#2A2A2A!important;
  border-color:#2A2A2A!important;
}
@media(max-width:900px){
  #resultsView #compareBtn.results-compare-btn{
    align-self:flex-start!important;
  }
}

/* Si por cualquier motivo una imagen todavía no está disponible,
   el espacio mantiene una presencia limpia mientras entra el fallback. */
#resultsView .card-img.media-placeholder,
#detailView .hero-photo.media-placeholder{
  background:
    linear-gradient(135deg,#F5F5F5 0%,#ECECEC 100%)!important;
}


/* NUVAI V4.9 · media delivery */
.card-img.media-placeholder,
.hero-photo.media-placeholder{
  background:
    radial-gradient(circle at 50% 42%, rgba(255,122,26,.09), transparent 24%),
    linear-gradient(135deg,#F7F7F7,#ECECEC)!important;
}
.card-img.media-placeholder::after{
  content:"Imagen en preparación";
  position:absolute;
  left:18px;
  bottom:18px;
  padding:7px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.9);
  color:#777;
  font-size:10px;
  font-weight:500;
  letter-spacing:.02em;
}


/* ============================================================
   NUVAI V4.9.1 · AIR BETWEEN LAST ANSWER / QUICK OPTIONS / COMPOSER
   ============================================================ */
#homeView .hero.conversation-active .conv-quick{
  margin:0 auto!important;
  padding:16px 0 24px!important;
}

/* On mobile, keep the same visual rhythm without wasting screen space. */
@media(max-width:560px){
  #homeView .hero.conversation-active .conv-quick{
    padding-top:13px!important;
    padding-bottom:19px!important;
  }
}


/* ============================================================
   NUVAI V4.9.2 · CHAT RHYTHM + CHATGPT-LIKE READING SIZE
   ============================================================ */

/* Manrope is already loaded by the document. Use it consistently. */
body{
  font-family:"Manrope",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  font-size:16px;
}

/* Header: still discreet, but no longer miniature. */
.brand-nav-link{font-size:14px!important}
.my-nuvai-btn{font-size:13px!important}
.brand-lang{font-size:13px!important}
.brand-advisor{font-size:13px!important}

/* Main conversation reading size.
   16px is the baseline we want for long-form NUVAI conversation. */
#homeView .hero.conversation-active .conv-msg{
  font-size:16px!important;
  line-height:1.62!important;
  padding:14px 16px!important;
}

/* Create a clearly visible pause between NUVAI's last sentence and the chips. */
#homeView .hero.conversation-active .conv-quick{
  width:min(860px, calc(100% - 40px))!important;
  margin:0 auto!important;
  padding:26px 0 30px!important;
  gap:10px!important;
}
#homeView .hero.conversation-active .conv-quick button{
  min-height:37px!important;
  padding:9px 14px!important;
  font-size:13px!important;
  line-height:1.25!important;
}

/* Composer should read at the same scale as the conversation. */
#homeView .hero.conversation-active .multimodal-compose textarea{
  font-size:16px!important;
  line-height:24px!important;
}
#homeView .hero:not(.conversation-active) .multimodal-compose textarea,
#homeView .hero:not(.conversation-active) .askbar textarea{
  font-size:16px!important;
}

/* Home starter chips. */
#homeView .chip{font-size:14px!important}

/* Result/detail text should not fall back to prototype-small sizes. */
.summary-copy{font-size:15px!important}
.facts{font-size:14px!important}
.reason{font-size:12.5px!important}
#detailView .msg{font-size:15px!important;line-height:1.6!important}
#detailView .quick button{font-size:12.5px!important}
#detailView .chat-title p{font-size:13px!important}
#detailView .feature{font-size:14px!important}
#detailView .notice{font-size:13px!important}
#detailView table{font-size:14px!important}

/* Mobile remains readable, rather than shrinking the conversation to 13px. */
@media(max-width:560px){
  #homeView .hero.conversation-active .conv-msg{
    font-size:15px!important;
    line-height:1.58!important;
  }
  #homeView .hero.conversation-active .conv-quick{
    padding-top:22px!important;
    padding-bottom:24px!important;
    gap:8px!important;
  }
  #homeView .hero.conversation-active .conv-quick button{
    font-size:12.5px!important;
  }
  #homeView .hero.conversation-active .multimodal-compose textarea{
    font-size:16px!important;
  }
}


/* ============================================================
   NUVAI V4.10 · CONVERSACIÓN NATURAL
   ============================================================ */

#homeView .hero.conversation-active .conversation-card{
  background:#FFFFFF!important;
}

/* Main reading column */
#homeView .hero.conversation-active .conversation-messages{
  padding-top:52px!important;
  padding-bottom:34px!important;
  padding-left:max(28px,calc((100% - 820px)/2))!important;
  padding-right:max(28px,calc((100% - 820px)/2))!important;
  gap:0!important;
}

/* Assistant: no bubble. It should feel like an advisor writing, not a messenger app. */
#homeView .hero.conversation-active .conv-msg.ai{
  align-self:stretch!important;
  width:100%!important;
  max-width:100%!important;
  margin:0 0 30px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#242424!important;
  box-shadow:none!important;
  font-size:16px!important;
  line-height:1.72!important;
  letter-spacing:-.008em!important;
}

/* User: restrained, soft bubble like a modern AI chat. */
#homeView .hero.conversation-active .conv-msg.user{
  align-self:flex-end!important;
  width:auto!important;
  max-width:min(76%,680px)!important;
  margin:0 0 32px!important;
  padding:12px 16px!important;
  border:0!important;
  border-radius:18px!important;
  background:#F4F4F4!important;
  color:#161616!important;
  box-shadow:none!important;
  font-size:16px!important;
  line-height:1.55!important;
}

/* Natural thinking indicator */
#homeView .hero.conversation-active .conv-msg.ai.thinking{
  min-height:28px!important;
  margin-bottom:26px!important;
  display:flex!important;
  align-items:center!important;
  gap:5px!important;
  color:#8B8B8B!important;
}
.conv-thinking-dots{
  display:inline-flex;
  align-items:center;
  gap:5px;
  height:20px;
}
.conv-thinking-dots i{
  display:block;
  width:5px;
  height:5px;
  border-radius:50%;
  background:#8A8A8A;
  animation:nuvaiThinking 1.15s infinite ease-in-out;
}
.conv-thinking-dots i:nth-child(2){animation-delay:.14s}
.conv-thinking-dots i:nth-child(3){animation-delay:.28s}
@keyframes nuvaiThinking{
  0%,60%,100%{transform:translateY(0);opacity:.38}
  30%{transform:translateY(-4px);opacity:1}
}

/* Quick replies: clearly separated from the last assistant sentence. */
#homeView .hero.conversation-active .conv-quick{
  order:2!important;
  width:min(820px,calc(100% - 40px))!important;
  margin:0 auto!important;
  padding:2px 0 30px!important;
  gap:9px!important;
  background:#FFFFFF!important;
}
#homeView .hero.conversation-active .conv-quick:not(:empty){
  padding-top:4px!important;
}
#homeView .hero.conversation-active .conv-quick button{
  min-height:39px!important;
  padding:9px 14px!important;
  border:1px solid #E4E4E4!important;
  border-radius:999px!important;
  background:#FFFFFF!important;
  color:#303030!important;
  font-size:13px!important;
  font-weight:500!important;
  line-height:1.25!important;
  box-shadow:0 1px 0 rgba(0,0,0,.02)!important;
}
#homeView .hero.conversation-active .conv-quick button:hover{
  border-color:#CFCFCF!important;
  background:#FAFAFA!important;
}

/* Keep understood-profile context above the composer, not below it. */
#homeView .hero.conversation-active .profile-strip{
  order:3!important;
  width:min(820px,calc(100% - 40px))!important;
  margin:0 auto 10px!important;
  padding:0!important;
  background:#FFFFFF!important;
}
#homeView .hero.conversation-active .profile-intro{
  font-size:12px!important;
}
#homeView .hero.conversation-active .profile-chip{
  padding:6px 9px!important;
  font-size:11.5px!important;
  font-weight:500!important;
  background:#F7F7F7!important;
  border-color:#ECECEC!important;
}

/* Attachments and composer share the same central width. */
#homeView .hero.conversation-active .attachment-tray{
  order:4!important;
  width:min(860px,calc(100% - 40px))!important;
  margin:0 auto!important;
}
#homeView .hero.conversation-active .multimodal-compose{
  order:5!important;
  width:min(860px,calc(100% - 40px))!important;
  min-height:68px!important;
  margin:0 auto 14px!important;
  padding:10px 12px!important;
  border:1px solid #E3E3E3!important;
  border-radius:22px!important;
  background:#F7F7F7!important;
  box-shadow:0 8px 28px rgba(22,22,22,.05)!important;
}
#homeView .hero.conversation-active .multimodal-compose textarea{
  min-height:46px!important;
  height:46px!important;
  max-height:150px!important;
  padding:11px 7px!important;
  font-size:16px!important;
  line-height:24px!important;
}
#homeView .hero.conversation-active .multimodal-compose .send{
  width:38px!important;
  height:38px!important;
  flex-basis:38px!important;
  font-size:18px!important;
}
#homeView .hero.conversation-active .compose-hint{
  order:6!important;
  display:none!important;
}

/* Detail chat gets the same typography and calmer bubble language. */
#detailView .msg.ai{
  background:transparent!important;
  border:0!important;
  padding-left:0!important;
  padding-right:0!important;
  color:#242424!important;
  font-size:15px!important;
  line-height:1.65!important;
}
#detailView .msg.user{
  background:#F4F4F4!important;
  color:#161616!important;
  border:0!important;
  border-radius:16px!important;
  font-size:15px!important;
  line-height:1.55!important;
}
#detailView .msg.ai.thinking{
  background:transparent!important;
  min-height:26px!important;
}

/* Mobile */
@media(max-width:560px){
  #homeView .hero.conversation-active .conversation-messages{
    padding-top:28px!important;
    padding-left:16px!important;
    padding-right:16px!important;
    padding-bottom:24px!important;
  }
  #homeView .hero.conversation-active .conv-msg.ai{
    font-size:15px!important;
    line-height:1.68!important;
    margin-bottom:25px!important;
  }
  #homeView .hero.conversation-active .conv-msg.user{
    max-width:88%!important;
    font-size:15px!important;
    margin-bottom:26px!important;
  }
  #homeView .hero.conversation-active .conv-quick{
    width:calc(100% - 28px)!important;
    padding-bottom:22px!important;
  }
  #homeView .hero.conversation-active .profile-strip{
    width:calc(100% - 28px)!important;
  }
  #homeView .hero.conversation-active .multimodal-compose{
    width:calc(100% - 18px)!important;
    margin-bottom:8px!important;
  }
}


/* ============================================================
   NUVAI V4.11 · CHAT DEFINITIVO — estilo conversación IA
   ============================================================ */

/* Active chat is a clean white workspace, not a message-card UI. */
#homeView .hero.conversation-active .conversation-card{
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:#FFFFFF!important;
}

/* Comfortable reading column. */
#homeView .hero.conversation-active .conversation-messages{
  flex:1 1 auto!important;
  width:100%!important;
  padding-top:48px!important;
  padding-bottom:24px!important;
  padding-left:max(28px,calc((100% - 800px)/2))!important;
  padding-right:max(28px,calc((100% - 800px)/2))!important;
  gap:0!important;
  background:#FFFFFF!important;
}

/* NUVAI: plain text — absolutely no bubble. */
#homeView .hero.conversation-active .conv-msg.ai{
  align-self:stretch!important;
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  margin:0 0 28px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:none!important;
  background-color:transparent!important;
  color:#242424!important;
  box-shadow:none!important;
  font-size:16px!important;
  line-height:1.72!important;
  font-weight:400!important;
  letter-spacing:-.008em!important;
}

/* User: subtle ChatGPT-like bubble. Never black. */
#homeView .hero.conversation-active .conv-msg.user{
  align-self:flex-end!important;
  display:block!important;
  width:auto!important;
  max-width:min(78%,680px)!important;
  margin:0 0 32px!important;
  padding:12px 16px!important;
  border:0!important;
  border-radius:18px!important;
  background:#F2F2F2!important;
  color:#1F1F1F!important;
  box-shadow:none!important;
  font-size:16px!important;
  line-height:1.55!important;
  font-weight:400!important;
}

/* Thinking stays plain, understated. */
#homeView .hero.conversation-active .conv-msg.ai.thinking{
  display:flex!important;
  align-items:center!important;
  min-height:25px!important;
  margin:0 0 24px!important;
  background:transparent!important;
}

/* Suggestions belong to the assistant turn but must never touch its text. */
#homeView .hero.conversation-active .conv-quick{
  width:min(800px,calc(100% - 40px))!important;
  margin:12px auto 0!important;
  padding:0 0 30px!important;
  gap:9px!important;
  background:#FFFFFF!important;
}
#homeView .hero.conversation-active .conv-quick button{
  min-height:38px!important;
  padding:9px 14px!important;
  border:1px solid #E1E1E1!important;
  border-radius:999px!important;
  background:#FFFFFF!important;
  color:#303030!important;
  box-shadow:none!important;
  font-size:13px!important;
  line-height:1.25!important;
  font-weight:500!important;
}
#homeView .hero.conversation-active .conv-quick button:hover{
  background:#F7F7F7!important;
  border-color:#CFCFCF!important;
}

/* Profile context should stay quiet and out of the conversation body. */
#homeView .hero.conversation-active .profile-strip{
  width:min(800px,calc(100% - 40px))!important;
  margin:0 auto 12px!important;
  padding:0!important;
  background:#FFFFFF!important;
}
#homeView .hero.conversation-active .profile-chip{
  background:#F6F6F6!important;
  border-color:#EAEAEA!important;
  font-size:11.5px!important;
  padding:6px 9px!important;
}

/* Composer: wide, calm, fixed visual anchor. */
#homeView .hero.conversation-active .multimodal-compose{
  width:min(860px,calc(100% - 40px))!important;
  margin:0 auto 14px!important;
  padding:10px 12px!important;
  min-height:68px!important;
  border:1px solid #E2E2E2!important;
  border-radius:22px!important;
  background:#F7F7F7!important;
  box-shadow:0 8px 28px rgba(22,22,22,.045)!important;
}
#homeView .hero.conversation-active .multimodal-compose textarea{
  min-height:46px!important;
  height:46px!important;
  max-height:150px!important;
  padding:11px 7px!important;
  color:#242424!important;
  font-size:16px!important;
  line-height:24px!important;
}

/* Mobile */
@media(max-width:560px){
  #homeView .hero.conversation-active .conversation-messages{
    padding-top:28px!important;
    padding-bottom:20px!important;
    padding-left:16px!important;
    padding-right:16px!important;
  }
  #homeView .hero.conversation-active .conv-msg.ai{
    margin-bottom:24px!important;
    font-size:15px!important;
    line-height:1.68!important;
  }
  #homeView .hero.conversation-active .conv-msg.user{
    max-width:88%!important;
    margin-bottom:26px!important;
    font-size:15px!important;
  }
  #homeView .hero.conversation-active .conv-quick{
    width:calc(100% - 28px)!important;
    margin-top:8px!important;
    padding-bottom:22px!important;
  }
  #homeView .hero.conversation-active .multimodal-compose{
    width:calc(100% - 18px)!important;
    margin-bottom:8px!important;
  }
}


/* ============================================================
   NUVAI V4.12 · TURNO COMPLETO
   La pregunta y sus opciones viven en el mismo scroll.
   ============================================================ */

#homeView .hero.conversation-active > .hero-inner .conversation-card > #homeQuick{
  display:none!important;
}

/* Inline options immediately below the latest NUVAI question. */
#homeView .hero.conversation-active .conv-quick-inline{
  align-self:stretch;
  width:100%;
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin:-8px 0 34px;
  padding:0;
}

#homeView .hero.conversation-active .conv-quick-inline button{
  appearance:none;
  min-height:38px;
  padding:9px 14px;
  border:1px solid #E1E1E1;
  border-radius:999px;
  background:#FFFFFF;
  color:#303030;
  box-shadow:none;
  font-family:"Manrope",sans-serif;
  font-size:13px;
  line-height:1.25;
  font-weight:500;
  cursor:pointer;
}

#homeView .hero.conversation-active .conv-quick-inline button:hover{
  background:#F7F7F7;
  border-color:#CFCFCF;
}

/* The latest NUVAI question should remain visually attached to its choices. */
#homeView .hero.conversation-active .conv-msg.ai:has(+ .conv-quick-inline){
  margin-bottom:22px!important;
}

/* Give the message scroller enough bottom breathing room so the complete
   assistant turn remains visible above the profile/composer area. */
#homeView .hero.conversation-active .conversation-messages{
  scroll-padding-bottom:34px!important;
}

@media(max-width:560px){
  #homeView .hero.conversation-active .conv-quick-inline{
    gap:8px;
    margin:-4px 0 28px;
  }
  #homeView .hero.conversation-active .conv-quick-inline button{
    font-size:12.5px;
  }
}


/* ============================================================
   NUVAI V4.13 · TYPOGRAPHY + BUTTONS + MEDIA
   ============================================================ */

/* Larger, ChatGPT-like reading scale. */
#homeView .hero.conversation-active .conv-msg.ai{
  font-size:18px!important;
  line-height:1.72!important;
}
#homeView .hero.conversation-active .conv-msg.user{
  font-size:17px!important;
  line-height:1.58!important;
}
#homeView .hero.conversation-active .conv-quick-inline button{
  font-size:14px!important;
  min-height:42px!important;
  padding:10px 15px!important;
}
#homeView .hero.conversation-active .profile-intro{
  font-size:13px!important;
}
#homeView .hero.conversation-active .profile-chip{
  font-size:13px!important;
  padding:7px 10px!important;
}
#homeView .hero.conversation-active .multimodal-compose textarea{
  font-size:17px!important;
}

/* Results are no longer prototype-small. */
#resultsView .results-head p{font-size:14px!important}
#resultsView .summary-copy{font-size:15.5px!important;line-height:1.65!important}
#resultsView .results-profile .profile-chip{font-size:12.5px!important}
#resultsView .loc{font-size:13px!important}
#resultsView .card h3{font-size:30px!important}
#resultsView .price{font-size:21px!important}
#resultsView .facts{font-size:14.5px!important}
#resultsView .result-fit-title{font-size:15px!important}
#resultsView .result-fit-score{font-size:12.5px!important}
#resultsView .result-section-label{font-size:12.5px!important}
#resultsView .reason{font-size:13px!important}
#resultsView .card-note{font-size:13px!important}

/* Result image: real image element; no CSS background surprises. */
#resultsView .card-img{
  overflow:hidden!important;
  background:#EEEEEE!important;
}
#resultsView .card-img > .card-cover{
  position:absolute;
  inset:0;
  z-index:0;
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center center;
}
#resultsView .card-img > :not(.card-cover){
  z-index:2;
}
#resultsView .card-img:after{
  display:none!important;
}

/* Detail cover uses the same predictable rendering. */
#detailView .hero-photo{
  background:#EEEEEE!important;
}
#detailView .detail-cover-image{
  position:absolute;
  inset:0;
  z-index:0;
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center center;
}
#detailView .hero-photo:after{z-index:1}
#detailView .hero-meta,
#detailView .detail-actions,
#detailView .detail-favorite{z-index:3!important}

/* Both action buttons are proper controls, readable and stable. */
#resultsView .result-actions{
  gap:10px!important;
}
#resultsView .result-primary,
#resultsView .result-secondary{
  appearance:none!important;
  width:auto!important;
  min-width:0!important;
  min-height:42px!important;
  padding:10px 15px!important;
  border-radius:10px!important;
  font-size:14px!important;
  line-height:1!important;
  font-weight:500!important;
  white-space:nowrap!important;
  box-sizing:border-box!important;
}
#resultsView .result-primary{
  border:1px solid #161616!important;
  background:#161616!important;
  color:#FFFFFF!important;
}
#resultsView .result-secondary{
  border:1px solid #DEDEDE!important;
  background:#FFFFFF!important;
  color:#353535!important;
}
#resultsView .result-secondary:hover{
  border-color:#BEBEBE!important;
  background:#F8F8F8!important;
}
#resultsView .result-secondary.compare-active{
  border-color:#161616!important;
  background:#161616!important;
  color:#FFFFFF!important;
}

/* Header Compare button: compact. */
#resultsView #compareBtn.results-compare-btn{
  width:auto!important;
  min-width:118px!important;
  max-width:160px!important;
  height:42px!important;
  min-height:42px!important;
  padding:0 15px!important;
  border-radius:10px!important;
  font-size:13px!important;
}

/* Stretch-match badge */
#resultsView .match-score.stretch{
  background:rgba(255,255,255,.96)!important;
  color:#8A4B16!important;
  border:1px solid rgba(255,122,26,.28)!important;
}

/* Smart alternative choices */
#homeView .conv-smart-alternative{
  margin-top:-4px!important;
}

@media(max-width:560px){
  #homeView .hero.conversation-active .conv-msg.ai{font-size:16px!important}
  #homeView .hero.conversation-active .conv-msg.user{font-size:16px!important}
  #homeView .hero.conversation-active .conv-quick-inline button{font-size:13.5px!important}
  #homeView .hero.conversation-active .profile-chip{font-size:12px!important}
  #resultsView .card h3{font-size:26px!important}
  #resultsView .facts{font-size:14px!important}
}


/* ============================================================
   NUVAI V4.14 · DETAIL SCALE + HERO IMAGE + ACCOUNT CTA
   ============================================================ */

/* 1) Detail typography: a true readable UI scale, not prototype-small text. */
#detailView .detail-quick-action{
  padding:20px 22px!important;
}
#detailView .detail-quick-action .kicker{
  font-size:12px!important;
  line-height:1.2!important;
  margin-bottom:8px!important;
}
#detailView .detail-quick-action b{
  font-size:17px!important;
  line-height:1.35!important;
}
#detailView .detail-quick-action span{
  font-size:14.5px!important;
  line-height:1.55!important;
  margin-top:5px!important;
}

#detailView .panel{
  padding:28px 30px!important;
}
#detailView .panel h3{
  font-size:24px!important;
  line-height:1.25!important;
  margin-bottom:18px!important;
}
#detailView .description{
  font-size:16px!important;
  line-height:1.72!important;
}

#detailView .detail-advice-label{
  font-size:11.5px!important;
}
#detailView .detail-advice-block{
  padding:22px!important;
}
#detailView .detail-advice-block h4{
  font-size:18px!important;
  line-height:1.35!important;
  margin:10px 0 8px!important;
}
#detailView .detail-advice-block p{
  font-size:15px!important;
  line-height:1.65!important;
}

#detailView .fact{
  padding:16px 17px!important;
}
#detailView .fact span{
  font-size:11px!important;
  line-height:1.3!important;
}
#detailView .fact b{
  font-size:17px!important;
  line-height:1.4!important;
  margin-top:7px!important;
}

#detailView .feature{
  font-size:15px!important;
  line-height:1.6!important;
}
#detailView .env{
  padding:14px 15px!important;
}
#detailView .env b{
  font-size:15px!important;
}
#detailView .env small{
  font-size:12.5px!important;
}
#detailView .env-time{
  font-size:14px!important;
}
#detailView .route-source{
  font-size:11px!important;
}
#detailView table{
  font-size:15px!important;
}
#detailView th{
  font-size:12px!important;
}
#detailView td{
  padding:13px 11px!important;
}
#detailView .pay{
  padding:16px!important;
}
#detailView .pay small{
  font-size:12px!important;
}
#detailView .pay b{
  font-size:15.5px!important;
}
#detailView .notice{
  font-size:14px!important;
  line-height:1.65!important;
  padding:15px 16px!important;
}

/* Detail-side chat also uses normal reading sizes. */
#detailView .chat-title h2{
  font-size:20px!important;
}
#detailView .chat-title p{
  font-size:14px!important;
}
#detailView .msg{
  font-size:16px!important;
  line-height:1.65!important;
}
#detailView .quick button{
  font-size:13.5px!important;
}
#detailView .chat-compose.multimodal input{
  font-size:15.5px!important;
}

/* 2) Hero image: one real image + one explicit, full-width gradient layer.
      The old pseudo-element is disabled to eliminate the rectangular artifact. */
#detailView .hero-photo:after{
  content:none!important;
  display:none!important;
}
#detailView .detail-cover-image{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  display:block!important;
  object-fit:cover!important;
  object-position:center center!important;
  z-index:0!important;
}
#detailView .detail-hero-shade{
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
  pointer-events:none!important;
  background:linear-gradient(
    180deg,
    rgba(0,0,0,0) 52%,
    rgba(0,0,0,.08) 67%,
    rgba(0,0,0,.48) 100%
  )!important;
}
#detailView .hero-meta,
#detailView .detail-actions,
#detailView .detail-favorite{
  z-index:3!important;
}
#detailView .hero-meta{
  text-shadow:0 1px 12px rgba(0,0,0,.24)!important;
}
#detailView .hero-meta .loc{
  font-size:12px!important;
}
#detailView .hero-meta h1{
  font-size:clamp(44px,4vw,60px)!important;
}
#detailView .hero-meta .price{
  font-size:20px!important;
}
#detailView .detail-actions button{
  min-height:42px!important;
  padding:10px 15px!important;
  font-size:13px!important;
  border-radius:10px!important;
}

/* 3) Account modal: proper premium CTA instead of a raw black rectangle. */
.account-modal h2{
  font-size:32px!important;
}
.account-modal .account-intro{
  font-size:15px!important;
}
.account-form .field label{
  font-size:11.5px!important;
}
.account-form .field input{
  min-height:52px!important;
  padding:13px 15px!important;
  font-size:16px!important;
}
.account-submit{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-height:52px!important;
  margin-top:16px!important;
  padding:0 18px!important;
  border:1px solid #161616!important;
  border-radius:12px!important;
  background:#161616!important;
  color:#FFFFFF!important;
  font-family:"Manrope",sans-serif!important;
  font-size:16px!important;
  font-weight:500!important;
  line-height:1.2!important;
  cursor:pointer!important;
  box-sizing:border-box!important;
}
.account-submit:hover{
  background:#292929!important;
  border-color:#292929!important;
}
.account-note{
  font-size:12.5px!important;
  margin-top:12px!important;
}

/* Mobile remains large enough to read. */
@media(max-width:560px){
  #detailView .panel{
    padding:21px!important;
  }
  #detailView .panel h3{
    font-size:21px!important;
  }
  #detailView .description{
    font-size:15px!important;
  }
  #detailView .detail-advice{
    grid-template-columns:1fr!important;
  }
  #detailView .detail-quick-action b{
    font-size:16px!important;
  }
  #detailView .detail-quick-action span{
    font-size:14px!important;
  }
  #detailView .fact b{
    font-size:16px!important;
  }
}


/* ============================================================
   NUVAI V4.15 · MOBILE GUTTERS + RESPONSIVE RHYTHM
   ============================================================ */

@media(max-width:820px){
  :root{--mobile-gutter:20px}

  /* Header: same visual gutter as the rest of the product. */
  header{
    padding-left:var(--mobile-gutter)!important;
    padding-right:var(--mobile-gutter)!important;
  }

  /* HOME CHAT */
  #homeView .hero.conversation-active .conversation-messages{
    padding-left:var(--mobile-gutter)!important;
    padding-right:var(--mobile-gutter)!important;
  }
  #homeView .hero.conversation-active .conv-msg.ai{
    width:100%!important;
    max-width:100%!important;
  }
  #homeView .hero.conversation-active .conv-msg.user{
    max-width:84%!important;
  }
  #homeView .hero.conversation-active .profile-strip{
    width:calc(100% - (var(--mobile-gutter) * 2))!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  #homeView .hero.conversation-active .multimodal-compose{
    width:calc(100% - (var(--mobile-gutter) * 2))!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  #homeView .hero.conversation-active .attachment-tray{
    width:calc(100% - (var(--mobile-gutter) * 2))!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }

  /* RESULTS / PROMOTIONS LIST */
  #resultsView .shell{
    max-width:none!important;
    width:100%!important;
    padding-left:var(--mobile-gutter)!important;
    padding-right:var(--mobile-gutter)!important;
    box-sizing:border-box!important;
  }
  #resultsView .results-head{
    padding-top:28px!important;
    padding-bottom:18px!important;
    gap:13px!important;
  }
  #resultsView .results-head h2{
    font-size:31px!important;
    line-height:1.08!important;
    margin-top:9px!important;
  }
  #resultsView .result-summary,
  #resultsView .results-profile,
  #resultsView .cards{
    width:100%!important;
    box-sizing:border-box!important;
  }
  #resultsView .card{
    width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
    border-radius:18px!important;
    overflow:hidden!important;
  }
  #resultsView .card-img{
    height:280px!important;
    border-radius:0!important;
  }
  #resultsView .card-body{
    padding-left:18px!important;
    padding-right:18px!important;
  }

  /* PROMOTION DETAIL */
  #detailView .detail-shell{
    width:100%!important;
    max-width:none!important;
    padding-left:var(--mobile-gutter)!important;
    padding-right:var(--mobile-gutter)!important;
    padding-bottom:52px!important;
    box-sizing:border-box!important;
  }
  #detailView .detail-head{
    padding-top:20px!important;
    padding-bottom:15px!important;
  }
  #detailView .detail-layout{
    gap:16px!important;
  }
  #detailView .detail-content,
  #detailView .chat-panel,
  #detailView .hero-photo,
  #detailView .detail-quick-actions,
  #detailView .content-grid,
  #detailView .panel{
    width:100%!important;
    box-sizing:border-box!important;
  }
  #detailView .hero-photo{
    border-radius:18px!important;
  }
  #detailView .panel{
    border-radius:18px!important;
  }
}

@media(max-width:560px){
  :root{--mobile-gutter:18px}

  /* Header must not consume the whole viewport. */
  header{
    min-height:68px!important;
  }
  .brand-logo,
  .logo{
    max-width:118px!important;
  }
  .brand-advisor{
    padding:10px 12px!important;
    font-size:12px!important;
  }
  .my-nuvai-btn{
    font-size:12px!important;
  }

  /* Chat text + bubbles align on one consistent 18px grid. */
  #homeView .hero.conversation-active .conversation-messages{
    padding-top:24px!important;
    padding-bottom:20px!important;
    padding-left:var(--mobile-gutter)!important;
    padding-right:var(--mobile-gutter)!important;
  }
  #homeView .hero.conversation-active .conv-msg.ai{
    margin-bottom:24px!important;
    font-size:16.5px!important;
    line-height:1.65!important;
  }
  #homeView .hero.conversation-active .conv-msg.user{
    max-width:86%!important;
    margin-bottom:26px!important;
    padding:11px 14px!important;
    font-size:16px!important;
  }
  #homeView .hero.conversation-active .conv-quick-inline{
    margin-left:0!important;
    margin-right:0!important;
  }
  #homeView .hero.conversation-active .profile-strip{
    margin-bottom:12px!important;
  }
  #homeView .hero.conversation-active .multimodal-compose{
    min-height:64px!important;
    border-radius:20px!important;
    margin-bottom:12px!important;
  }
  #homeView .hero.conversation-active .multimodal-compose textarea{
    min-height:42px!important;
    height:42px!important;
    max-height:118px!important;
    padding-top:9px!important;
    padding-bottom:9px!important;
    font-size:16px!important;
  }

  /* Promotions/results */
  #resultsView .results-head h2{
    font-size:29px!important;
  }
  #resultsView .result-summary{
    padding:14px!important;
    border-radius:16px!important;
  }
  #resultsView .card-img{
    height:245px!important;
  }
  #resultsView .card h3{
    font-size:25px!important;
  }
  #resultsView .result-actions{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:9px!important;
  }
  #resultsView .result-primary,
  #resultsView .result-secondary{
    width:100%!important;
    min-width:0!important;
    padding-left:10px!important;
    padding-right:10px!important;
    font-size:13px!important;
  }

  /* Promotion detail */
  #detailView .hero-photo{
    height:340px!important;
  }
  #detailView .hero-meta{
    left:16px!important;
    right:16px!important;
    bottom:16px!important;
    max-width:none!important;
  }
  #detailView .hero-meta h1{
    font-size:32px!important;
  }
  #detailView .detail-actions{
    top:12px!important;
    right:12px!important;
  }
  #detailView .detail-quick-actions{
    gap:10px!important;
  }
  #detailView .detail-quick-action{
    padding:18px!important;
  }
  #detailView .content-grid{
    gap:12px!important;
  }
  #detailView .panel{
    padding:20px!important;
  }
  #detailView .factgrid{
    grid-template-columns:1fr!important;
  }
  #detailView .payment{
    grid-template-columns:1fr!important;
  }
  #detailView .gallery{
    margin-left:0!important;
    margin-right:0!important;
  }

  /* Compare page also follows the same mobile gutter. */
  #compareView .compare-wrap{
    padding-left:var(--mobile-gutter)!important;
    padding-right:var(--mobile-gutter)!important;
    box-sizing:border-box!important;
  }
}


/* ============================================================
   NUVAI V5.0 · CONVERSATIONAL ADVISOR
   ============================================================ */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
.view{opacity:0;transition:opacity .22s ease}
.view.active{opacity:1}
button,input,textarea{font:inherit}
button{transition:background-color .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease}
button:active{transform:translateY(1px)}
img{max-width:100%}

/* Global content gutters */
#resultsView .shell,
#detailView .detail-shell,
#compareView .compare-wrap{
  width:min(1520px,100%);
  margin:0 auto!important;
  padding-left:32px!important;
  padding-right:32px!important;
}

/* HOME conversation */
#homeView .hero.conversation-active .conversation-messages{
  width:100%!important;
  max-width:none!important;
  padding-left:max(28px,calc((100% - 840px)/2))!important;
  padding-right:max(28px,calc((100% - 840px)/2))!important;
}
#homeView .hero.conversation-active .conv-msg.ai{
  font-size:18px!important;
  line-height:1.72!important;
  max-width:840px!important;
}
#homeView .hero.conversation-active .conv-msg.user{
  font-size:17px!important;
  line-height:1.58!important;
}
#homeView .hero.conversation-active .multimodal-compose{
  width:min(900px,calc(100% - 48px))!important;
}
#homeView .hero.conversation-active .profile-strip{
  width:min(900px,calc(100% - 48px))!important;
}

/* RESULTS */
#resultsView .results-head{padding-top:42px!important}
#resultsView .results-head h2{
  font-size:clamp(36px,4vw,58px)!important;
  line-height:1.02!important;
  letter-spacing:-.035em!important;
}
#resultsView .result-summary{
  padding:20px 22px!important;
  border-radius:18px!important;
}
#resultsView .summary-copy{
  font-size:17px!important;
  line-height:1.65!important;
}
#resultsView .cards{
  gap:26px!important;
}
#resultsView .card{
  border-radius:22px!important;
  overflow:hidden!important;
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease!important;
}
#resultsView .card:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 45px rgba(22,22,22,.08)!important;
}
#resultsView .card h3{font-size:34px!important;line-height:1.08!important}
#resultsView .price{font-size:23px!important}
#resultsView .facts{font-size:16px!important;line-height:1.6!important}
#resultsView .reason,
#resultsView .card-note{font-size:14.5px!important;line-height:1.55!important}

/* NEW DETAIL LAYOUT */
#detailView .detail-shell{padding-bottom:80px!important}
#detailView .detail-head{
  padding-top:24px!important;
  padding-bottom:18px!important;
}
#detailView .detail-layout{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 390px!important;
  grid-template-areas:
    "hero hero"
    "main chat"!important;
  gap:28px 30px!important;
  align-items:start!important;
}
#detailView .detail-hero-wrap{grid-area:hero;min-width:0}
#detailView .detail-content{grid-area:main;min-width:0}
#detailView .chat-panel{
  grid-area:chat;
  position:sticky!important;
  top:92px!important;
  max-height:calc(100dvh - 112px)!important;
  min-height:620px!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
  border:1px solid #E5E5E5!important;
  border-radius:22px!important;
  background:#FFFFFF!important;
  box-shadow:0 16px 50px rgba(22,22,22,.06)!important;
}

/* HERO */
#detailView .hero-photo{
  position:relative!important;
  width:100%!important;
  height:clamp(520px,57vw,760px)!important;
  border-radius:24px!important;
  overflow:hidden!important;
  cursor:zoom-in!important;
  background:#EDEDED!important;
}
#detailView .detail-cover-image{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center!important;
  transition:transform .55s ease,opacity .35s ease!important;
}
#detailView .hero-photo:hover .detail-cover-image{transform:scale(1.008)}
#detailView .detail-hero-shade{
  background:linear-gradient(180deg,rgba(0,0,0,0) 50%,rgba(0,0,0,.08) 68%,rgba(0,0,0,.56) 100%)!important;
}
#detailView .hero-meta{
  left:34px!important;
  bottom:32px!important;
  right:34px!important;
  max-width:800px!important;
}
#detailView .hero-meta .loc{
  font-size:14px!important;
  letter-spacing:.08em!important;
}
#detailView .hero-meta h1{
  font-size:clamp(48px,5.1vw,78px)!important;
  line-height:.98!important;
  letter-spacing:-.045em!important;
}
#detailView .hero-meta .price{
  font-size:23px!important;
  margin-top:15px!important;
}
#detailView .hero-gallery-hint{
  position:absolute;
  right:22px;
  bottom:22px;
  z-index:4;
  padding:9px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.9);
  backdrop-filter:blur(12px);
  color:#161616;
  font-size:13px;
  font-weight:500;
}

/* PROMOTION CONTENT TYPOGRAPHY */
#detailView .content-grid{gap:20px!important}
#detailView .panel{
  padding:30px 32px!important;
  border-radius:22px!important;
}
#detailView .panel h3{
  font-size:28px!important;
  line-height:1.2!important;
  letter-spacing:-.025em!important;
  margin-bottom:20px!important;
}
#detailView .description{
  font-size:18px!important;
  line-height:1.72!important;
}
#detailView .detail-advice{
  gap:18px!important;
}
#detailView .detail-advice-block{
  padding:24px 25px!important;
  border-radius:18px!important;
}
#detailView .detail-advice-label{
  font-size:13px!important;
}
#detailView .detail-advice-block h4{
  font-size:21px!important;
  line-height:1.35!important;
}
#detailView .detail-advice-block p{
  font-size:17px!important;
  line-height:1.65!important;
}
#detailView .factgrid{gap:12px!important}
#detailView .fact{padding:18px 19px!important;border-radius:14px!important}
#detailView .fact span{font-size:12.5px!important}
#detailView .fact b{font-size:19px!important;margin-top:8px!important}
#detailView .feature{font-size:16.5px!important;line-height:1.6!important}
#detailView .env b{font-size:16px!important}
#detailView .env small{font-size:13.5px!important}
#detailView .env-time{font-size:15px!important}
#detailView table{font-size:16px!important}
#detailView th{font-size:13px!important}
#detailView td{padding:14px 12px!important}
#detailView .notice{font-size:15.5px!important;line-height:1.65!important}

/* DETAIL AI CHAT — same conversational feeling as home */
#detailView .chat-title{
  padding:22px 22px 16px!important;
  border-bottom:1px solid #EEEEEE!important;
}
#detailView .chat-title h2{
  font-size:22px!important;
  line-height:1.2!important;
  margin-top:8px!important;
}
#detailView .chat-title p{
  font-size:14px!important;
  line-height:1.5!important;
}
#detailView .verified-pill{font-size:11px!important}
#detailView .chat-messages{
  flex:1 1 auto!important;
  min-height:260px!important;
  padding:24px 22px!important;
  overflow-y:auto!important;
  scroll-behavior:smooth!important;
}
#detailView .msg{
  font-size:17px!important;
  line-height:1.65!important;
}
#detailView .msg.ai{
  align-self:stretch!important;
  max-width:none!important;
  margin:0 0 24px!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  color:#242424!important;
}
#detailView .msg.user{
  align-self:flex-end!important;
  max-width:88%!important;
  margin:0 0 24px auto!important;
  padding:11px 14px!important;
  border:0!important;
  border-radius:17px!important;
  background:#F2F2F2!important;
  color:#1E1E1E!important;
}
#detailView .quick{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  padding:0 22px 15px!important;
}
#detailView .quick:empty{display:none!important}
#detailView .quick button{
  min-height:38px!important;
  padding:8px 12px!important;
  border:1px solid #E2E2E2!important;
  border-radius:999px!important;
  background:#FFFFFF!important;
  font-size:13px!important;
}
#detailView .chat-compose.multimodal{
  margin:0 16px 14px!important;
  min-height:58px!important;
  border:1px solid #E2E2E2!important;
  border-radius:18px!important;
  background:#F7F7F7!important;
}
#detailView .chat-compose.multimodal input{
  font-size:16px!important;
}
#detailView .advisor-cta{
  padding:0 16px 16px!important;
}
#detailView .advisor-cta button{
  min-height:44px!important;
  border-radius:12px!important;
  font-size:14px!important;
}

/* AI-triggered visit offer */
.ai-visit-offer{
  margin:4px 0 24px;
  padding:16px;
  border:1px solid rgba(255,122,26,.28);
  border-radius:16px;
  background:#FFF8F2;
}
.ai-visit-offer p{
  margin:0;
  font-size:15px;
  line-height:1.55;
  color:#3B332D;
}
.ai-visit-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:13px;
}
.ai-visit-actions button{
  min-height:40px;
  padding:9px 13px;
  border:1px solid #161616;
  border-radius:10px;
  background:#161616;
  color:#FFF;
  font-size:13px;
  font-weight:500;
}
.ai-visit-actions button+button{
  background:#FFF;
  color:#161616;
}

/* Gallery */
.panel-heading-row{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:16px;
}
.gallery-count{font-size:13px;color:#7A7A7A}
#detailView .gallery{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
}
#detailView .gallery-item{
  position:relative;
  aspect-ratio:16/10;
  padding:0!important;
  overflow:hidden;
  border:0!important;
  border-radius:14px!important;
  background:#EEE!important;
  cursor:zoom-in;
}
#detailView .gallery-item img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  transition:transform .3s ease;
}
#detailView .gallery-item:hover img{transform:scale(1.018)}

/* Lightbox */
body.lightbox-open{overflow:hidden!important}
.nuvai-lightbox{
  position:fixed;
  inset:0;
  z-index:99999;
  display:none;
  align-items:center;
  justify-content:center;
  padding:34px 74px;
  background:rgba(10,10,10,.96);
  opacity:0;
  transition:opacity .2s ease;
}
.nuvai-lightbox.open{display:flex;opacity:1}
.lightbox-stage{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
}
.lightbox-stage img{
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  opacity:0;
  transform:scale(.985);
  transition:opacity .2s ease,transform .25s ease;
}
.lightbox-stage img.loaded{opacity:1;transform:scale(1)}
.lightbox-close,
.lightbox-nav{
  position:absolute;
  z-index:3;
  display:grid;
  place-items:center;
  border:0;
  background:rgba(255,255,255,.12);
  color:#FFF;
  backdrop-filter:blur(12px);
  cursor:pointer;
}
.lightbox-close{
  top:22px;
  right:24px;
  width:46px;
  height:46px;
  border-radius:50%;
  font-size:30px;
  line-height:1;
}
.lightbox-nav{
  top:50%;
  width:48px;
  height:64px;
  margin-top:-32px;
  border-radius:14px;
  font-size:42px;
  font-weight:300;
}
.lightbox-prev{left:18px}
.lightbox-next{right:18px}
.lightbox-counter{
  position:absolute;
  bottom:8px;
  left:50%;
  transform:translateX(-50%);
  padding:7px 11px;
  border-radius:999px;
  background:rgba(0,0,0,.45);
  color:#FFF;
  font-size:13px;
}

/* Responsive */
@media(max-width:980px){
  #resultsView .shell,
  #detailView .detail-shell,
  #compareView .compare-wrap{
    padding-left:22px!important;
    padding-right:22px!important;
  }
  #detailView .detail-layout{
    grid-template-columns:1fr!important;
    grid-template-areas:
      "hero"
      "chat"
      "main"!important;
    gap:18px!important;
  }
  #detailView .chat-panel{
    position:relative!important;
    top:auto!important;
    max-height:none!important;
    min-height:520px!important;
  }
  #detailView .hero-photo{height:min(70vw,560px)!important}
}

@media(max-width:600px){
  #resultsView .shell,
  #detailView .detail-shell,
  #compareView .compare-wrap{
    padding-left:18px!important;
    padding-right:18px!important;
  }
  header{
    padding-left:18px!important;
    padding-right:18px!important;
  }
  #homeView .hero.conversation-active .conversation-messages{
    padding-left:18px!important;
    padding-right:18px!important;
  }
  #homeView .hero.conversation-active .multimodal-compose,
  #homeView .hero.conversation-active .profile-strip,
  #homeView .hero.conversation-active .attachment-tray{
    width:calc(100% - 36px)!important;
  }

  #resultsView .results-head{padding-top:26px!important}
  #resultsView .results-head h2{font-size:32px!important}
  #resultsView .summary-copy{font-size:15.5px!important}
  #resultsView .cards{gap:18px!important}
  #resultsView .card{border-radius:18px!important}
  #resultsView .card-img{height:240px!important}
  #resultsView .card h3{font-size:27px!important}
  #resultsView .price{font-size:20px!important}
  #resultsView .facts{font-size:14.5px!important}

  #detailView .detail-head{padding-top:16px!important}
  #detailView .hero-photo{
    height:330px!important;
    border-radius:18px!important;
  }
  #detailView .hero-meta{
    left:18px!important;
    right:18px!important;
    bottom:18px!important;
  }
  #detailView .hero-meta .loc{font-size:11.5px!important}
  #detailView .hero-meta h1{font-size:36px!important}
  #detailView .hero-meta .price{font-size:18px!important}
  #detailView .hero-gallery-hint{
    right:12px;
    bottom:12px;
    font-size:11px;
  }

  #detailView .chat-panel{
    min-height:500px!important;
    border-radius:18px!important;
  }
  #detailView .chat-title{padding:18px 18px 14px!important}
  #detailView .chat-title h2{font-size:20px!important}
  #detailView .chat-title p{font-size:13px!important}
  #detailView .chat-messages{padding:20px 18px!important}
  #detailView .msg{font-size:16px!important}
  #detailView .quick{padding-left:18px!important;padding-right:18px!important}
  #detailView .chat-compose.multimodal{margin-left:12px!important;margin-right:12px!important}

  #detailView .content-grid{gap:14px!important}
  #detailView .panel{
    padding:21px 20px!important;
    border-radius:18px!important;
  }
  #detailView .panel h3{font-size:23px!important}
  #detailView .description{font-size:16.5px!important}
  #detailView .detail-advice{grid-template-columns:1fr!important}
  #detailView .detail-advice-block h4{font-size:19px!important}
  #detailView .detail-advice-block p{font-size:15.5px!important}
  #detailView .factgrid{grid-template-columns:1fr 1fr!important}
  #detailView .fact b{font-size:17px!important}
  #detailView .feature{font-size:15px!important}
  #detailView table{font-size:14px!important}
  #detailView .gallery{grid-template-columns:1fr!important}

  .nuvai-lightbox{
    padding:58px 12px 54px;
  }
  .lightbox-close{
    top:12px;
    right:12px;
    width:42px;
    height:42px;
  }
  .lightbox-nav{
    top:auto;
    bottom:10px;
    width:48px;
    height:44px;
    margin-top:0;
  }
  .lightbox-prev{left:12px}
  .lightbox-next{right:12px}
  .lightbox-counter{bottom:15px}
}

/* V5.1 · AI connection fix */
html{--nuvai-public-version:"5.1"}
