/* ListingLens — navy/gold AgentOS family look, camera-first. */
:root { --navy:#0a1f44; --navy2:#122c5e; --gold:#f5b83d; --ink:#17233c; --mut:#5b6b8c; --line:#dbe2ef; --bg:#f4f6fb; --red:#dc2626; --ok:#15803d; }
* { box-sizing:border-box; }
html,body { margin:0; padding:0; }
body { font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif; background:var(--bg); color:var(--ink); padding-bottom:76px; }
.topbar { position:sticky; top:0; z-index:20; display:flex; align-items:center; justify-content:space-between; gap:10px; padding:10px 14px; background:var(--navy); color:#fff; }
.brand { display:flex; gap:10px; align-items:center; min-width:0; }
.brand-tile { flex:none; width:42px; height:42px; border-radius:10px; background:linear-gradient(135deg,var(--red),#7f1d1d); display:flex; align-items:center; justify-content:center; font-weight:800; font-size:17px; color:#fff; }
.brand h1 { margin:0; font-size:19px; letter-spacing:.2px; }
.benefit { margin:1px 0 0; font-size:12px; color:#c8d4ee; }
main { max-width:680px; margin:0 auto; padding:12px 14px 20px; }
.view { display:none; } .view.active { display:block; }
.btn { appearance:none; border:1px solid var(--line); background:#fff; color:var(--ink); border-radius:10px; padding:9px 14px; font-size:14px; font-weight:600; cursor:pointer; text-decoration:none; display:inline-flex; align-items:center; gap:6px; }
.btn.solid { background:var(--navy); border-color:var(--navy); color:#fff; }
.btn.ghost { background:transparent; color:inherit; border-color:transparent; }
.btn.small { padding:6px 10px; font-size:13px; }
.btn.tiny { padding:3px 8px; font-size:12px; border-radius:7px; }
.btn.danger { color:var(--red); border-color:#f0c6c6; }
.btn.round { width:52px; height:52px; border-radius:50%; justify-content:center; font-size:19px; padding:0; }
.btn.round.on { background:var(--gold); border-color:var(--gold); }
.btn.shutter { width:70px; height:70px; border-radius:50%; background:#fff; border:5px solid var(--red); padding:0; box-shadow:0 2px 10px rgba(220,38,38,.35); }
.btn.shutter:active { background:#ffe1e1; }
.propbar { display:flex; gap:8px; align-items:end; margin-bottom:10px; }
.prop-pick { flex:1; display:flex; flex-direction:column; gap:4px; font-size:12px; font-weight:700; color:var(--mut); text-transform:uppercase; letter-spacing:.4px; }
select, .inp { width:100%; padding:10px; border:1px solid var(--line); border-radius:10px; font-size:15px; background:#fff; color:var(--ink); }
.finder { position:relative; border-radius:16px; overflow:hidden; background:#0b1220; aspect-ratio:4/3; }
.finder video, .finder #ghost { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.finder #ghost { opacity:.45; pointer-events:none; }
.grid-overlay { position:absolute; inset:0; pointer-events:none; }
.grid-overlay .gv, .grid-overlay .gh { position:absolute; background:rgba(255,255,255,.45); }
.grid-overlay .gv { top:0; bottom:0; width:1px; left:33.33%; } .grid-overlay .gv.two { left:66.66%; }
.grid-overlay .gh { left:0; right:0; height:1px; top:33.33%; } .grid-overlay .gh.two { top:66.66%; }
.horizon { position:absolute; left:12%; right:12%; top:50%; height:0; pointer-events:none; }
.horizon span { display:block; border-top:2px dashed rgba(255,211,77,.9); }
.horizon.level-ok span { border-top:2px solid #4ade80; }
.finder-msg { position:absolute; inset:0; display:none; flex-direction:column; gap:12px; align-items:center; justify-content:center; text-align:center; padding:20px; color:#dbe4f5; background:rgba(8,15,30,.72); font-size:14px; }
.pair-banner { position:absolute; left:0; right:0; bottom:0; padding:8px 10px; background:rgba(10,31,68,.88); color:#fff; font-size:13px; display:flex; gap:8px; align-items:center; justify-content:space-between; }
.roomrow { display:flex; gap:7px; overflow-x:auto; padding:12px 2px 4px; scrollbar-width:none; }
.roomrow::-webkit-scrollbar { display:none; }
.chip { flex:none; border:1px solid var(--line); background:#fff; padding:8px 13px; border-radius:999px; font-size:13.5px; font-weight:600; cursor:pointer; }
.chip.on { background:var(--navy); color:#fff; border-color:var(--navy); }
.shutterrow { display:flex; align-items:center; justify-content:space-between; padding:8px 26px 2px; }
.picker-btn { cursor:pointer; }
.hint { font-size:13px; color:var(--mut); text-align:center; }
.flash { min-height:18px; font-size:13.5px; color:var(--ok); margin:6px 0; }
.recent h2, h2.sec { font-size:16px; margin:16px 0 8px; }
.strip { display:flex; gap:8px; overflow-x:auto; padding-bottom:6px; }
.tile { position:relative; border:none; padding:0; border-radius:12px; overflow:hidden; cursor:pointer; background:#dfe6f2; aspect-ratio:4/3; width:100%; }
.tile.small { flex:none; width:110px; }
.tile img { width:100%; height:100%; object-fit:cover; display:block; }
.tiletag { position:absolute; left:0; right:0; bottom:0; font-size:11px; font-weight:700; color:#fff; background:linear-gradient(transparent,rgba(5,12,26,.75)); padding:12px 7px 5px; text-align:left; }
.grid { display:grid; grid-template-columns:1fr 1fr; gap:9px; }
.roomhead { font-size:14px; margin:14px 0 6px; color:var(--navy); }
.pair { display:grid; grid-template-columns:1fr 1fr; gap:9px; margin-bottom:10px; }
.pair figure { margin:0; border-radius:12px; overflow:hidden; background:#fff; border:1px solid var(--line); }
.pair img { width:100%; aspect-ratio:4/3; object-fit:cover; display:block; }
.pair figcaption { font-size:12px; font-weight:700; padding:6px 8px; }
.card { background:#fff; border:1px solid var(--line); border-radius:14px; padding:14px; margin-bottom:12px; }
.card h3 { margin:0 0 6px; font-size:15.5px; }
.card p { margin:0 0 10px; font-size:14px; color:#33415e; }
.row { display:flex; gap:8px; align-items:center; } .row.wrap { flex-wrap:wrap; }
.field { margin-bottom:11px; } .field label { display:block; font-size:12.5px; font-weight:700; color:var(--mut); margin-bottom:4px; }
.switchrow { display:flex; gap:9px; align-items:center; font-size:14.5px; font-weight:600; padding:7px 0; }
.switchrow input { width:19px; height:19px; }
.muted { color:var(--mut); font-size:13.5px; }
.prop-meta { font-size:14px; margin-bottom:4px; }
.limits { margin:0; padding-left:18px; font-size:14px; color:#33415e; } .limits li { margin-bottom:6px; }
.sprop { display:flex; justify-content:space-between; align-items:center; padding:7px 0; border-bottom:1px solid var(--line); font-size:14.5px; }
.sprop:last-child { border-bottom:none; }
.version { color:var(--mut); font-size:12.5px; text-align:center; margin-top:16px; }
.tabbar { position:fixed; left:0; right:0; bottom:0; z-index:30; display:flex; background:var(--navy); padding-bottom:env(safe-area-inset-bottom); }
.tab { flex:1; background:none; border:none; color:#aebadd; font-size:19px; padding:8px 0 6px; cursor:pointer; display:flex; flex-direction:column; align-items:center; gap:1px; }
.tab span { font-size:11px; font-weight:700; }
.tab.active { color:var(--gold); }
.sheet { position:fixed; inset:0; z-index:40; background:rgba(5,10,22,.72); display:flex; align-items:flex-end; justify-content:center; }
.sheet[hidden] { display:none; }
.sheet-card { background:#fff; width:100%; max-width:680px; max-height:92vh; overflow-y:auto; border-radius:18px 18px 0 0; }
.sheet-card.pad { padding:18px; }
.sheet-card img { width:100%; max-height:52vh; object-fit:contain; background:#0b1220; display:block; }
.sheet-body { padding:14px; }
@media (min-width:900px) {
  .finder { aspect-ratio:16/10; }
  .grid { grid-template-columns:1fr 1fr 1fr; }
  .sheet { align-items:center; } .sheet-card { border-radius:18px; }
}
