/* Simple, picture-first look (the #54 look) over the full hub. Rule: no option is removed. What the simple screen
   does not show is one click away: the Menu button (☰) opens the full side panel (buildings, Office, New building,
   Trash, Ask Shlomo, Chats, Upload files, More); a card's ⋯ → Info shows its counts/categories/files/stage/chat;
   ⋯ → Export issues report; the building ⓘ shows address/BBL/zoning. Layout fixes from #57 stay (no 3D behind lists,
   model controls never covered). */
body.q{--bg:#e6e1d6;--card:#fbf8f3;--ink:#1b1814;--ink2:#3d3832;--mut:#8b857c;--line:rgba(27,24,20,.1);--accent:#1e4a45;--accent-d:#163a36;--accent-l:#e3ecea;--green:#1e4a45;--shadow:0 18px 44px rgba(40,32,20,.12);background:var(--bg)}
body.q #app,body.q .shell{background:var(--bg)}
body.q .home-h h1,body.q .bld-h h1,body.q .hdr-t b,body.q .card-t b{font-family:Palatino,"Palatino Linotype","Book Antiqua",Georgia,serif;font-weight:500;letter-spacing:-.02em}

/* ---- one Menu button; the side panel becomes a drawer ---- */
.qmenu{display:none}
body.q .qmenu{display:none;position:fixed;left:18px;top:18px;z-index:90;width:44px;height:44px;border-radius:50%;place-items:center;background:rgba(251,248,243,.92);box-shadow:0 6px 18px rgba(40,32,20,.14);color:var(--ink)}
body.q .qmenu svg,body.q .qmenu-h svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
@media (min-width:1024px){
  body.q .qmenu{display:grid}
  body.q .shell{display:block!important}
  body.q .page{padding-left:84px}
}
body.q #side.side{display:none!important}
body.q.side-open #side.side{display:flex!important;flex-direction:column;position:fixed;left:0;top:0;bottom:0;width:min(320px,88vw);height:100vh;z-index:310;background:#f6f2ec;border:0;box-shadow:24px 0 60px rgba(30,24,16,.25);overflow:auto}
body.q.side-open #side > *{display:block!important}
body.q.side-open #side .side-list{flex:none;overflow:visible;padding:0 8px}
body.q.side-open #side .side-h{display:flex!important;justify-content:space-between;align-items:center;padding:16px}
body.q.side-open #side .side-sec{padding:12px 18px 6px;font-size:11.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--mut)}
body.q.side-open #side .side-i{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:10px}
body.q.side-open #side .side-i.on{background:var(--accent-l)}
body.q.side-open #side .side-t{flex:1;min-width:0;display:flex;flex-direction:column}
body.q.side-open #side .side-t small{color:var(--mut);font-size:12px}
body.q.side-open #side .side-add,body.q.side-open #side .side-trash,body.q.side-open #side .side-btn{display:flex!important;align-items:center;gap:10px;width:100%;padding:10px 14px;border-radius:10px;font-size:14px;color:var(--ink2)}
body.q.side-open #side .side-foot{border-top:1px solid var(--line);padding:8px}
body.q.side-open #side svg{width:18px;height:18px}
body.q .side-scrim{display:none}
body.q.side-open .side-scrim{display:block;position:fixed;inset:0;z-index:300;background:rgba(27,24,20,.28)}
body.q .qmenu-h{display:grid;place-items:center}

/* ---- Home: picture cards with name, address, open count and ⋯ ---- */
@media (min-width:1024px){body.q .home-h{display:flex!important;align-items:center;gap:14px;flex-wrap:wrap}}
body.q .home-h .qsp{flex:1}
body.q .home-h h1{font-size:30px;margin:0}
body.q .home-h p{margin:0;font-size:13px}
body.q .cards{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:24px;margin-top:18px}
body.q .card{border:0;border-radius:24px;box-shadow:var(--shadow);overflow:hidden;--cp:14px}
@media (min-width:1024px){body.q .card{--cp:18px}}
body.q .card .pic{display:block;margin:calc(-1 * var(--cp)) calc(-1 * var(--cp)) 6px;height:300px;position:relative;overflow:hidden;background:linear-gradient(160deg,#efe4d4,#d9cdbd)}
@media (max-width:640px){body.q .card .pic{height:220px}}
body.q .card .pic img{display:block;width:100%;height:100%;object-fit:cover;border:0}
body.q .card .pic img:not([src]),body.q .card .pic.empty img{visibility:hidden}
body.q .card .pic.empty:before{content:attr(data-ini);position:absolute;inset:0;display:grid;place-items:center;font:500 72px/1 Palatino,Georgia,serif;color:rgba(27,24,20,.2)}
body.q .card .pic.empty:after{content:"No 3D model yet";position:absolute;left:16px;bottom:12px;font-size:12px;color:var(--mut)}
body.q .card-t b{font-size:22px}
/* simple card: details live in ⋯ → Info; New building / Trash / Upload live in the Menu and ⋯ */
body.q .card-top .av,body.q .card-m,body.q .card-c,body.q .card-f,body.q .cards .card.add,body.q .trash-link,body.q .home-up{display:none!important}

/* ---- Building: one compact row (☰ ← name … Issues/Files/Model · Share · Ask · ⓘ · ⋯) ---- */
body.q .bld-h{align-items:center!important;margin-bottom:14px}
body.q .bld-t{display:flex;align-items:center;gap:8px;min-width:0}
body.q .bld-h h1{font-size:28px;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.q .bld-h p{display:none}
body.q .qback svg{width:20px;height:20px}
body.q .seg a.on,body.q .seg button.on{color:var(--accent)}
/* Issues: status, search and Filter stay; summary/Export are in ⋯; meta line is in the issue itself */
body.q .ifbar .if-sub{display:none!important}
body.q .iss small{display:none}
body.q .iss,body.q .frow-i,body.q .det{border-color:var(--line)}
body.q .ilist .iss-list,body.q .idet .det{border-radius:20px}
/* 3D files show the building picture */
body.q .ft.has-pic{background-size:cover;background-position:center}
body.q .ft.has-pic[style*="background-image"]{color:transparent}
body.q .ft.has-pic[style*="background-image"] svg{opacity:0}
/* hidden helper frame that renders a missing card picture */
body.q .thumbframe,.thumbframe{position:fixed;left:-4000px;top:0;width:640px;height:420px;border:0}
body.q.on-model .bld-h{padding-left:60px}

/* ---- whole-site cleanup (11-25) ---- */
/* Issue detail: title, then a big model view, then one slim bar (view / Open in Model / Who moves), then the text. */
body.q .idet .det-model .mslot{height:58vh;min-height:300px;max-height:680px}
body.q .det-model{margin:10px 0 16px}
body.q .det-mbar{gap:12px}
body.q .det-mbar .who-in{margin:0 0 0 auto;padding:0;border:0}
body.q .det-mbar .who-in .sel{height:36px}
body.q .jump button{height:34px}
body.q .det-d{background:none;padding:0;color:var(--ink);font-size:15px}
@media (max-width:1023px){
  body.q .idet .det-model .mslot{height:50vh;min-height:280px}
  body.q .det-mbar .who-in{margin-left:0}
  /* phone header: Ask Shlomo shows as an icon (its name is on the bottom bar), so the building name fits */
  body.q .hdr .pill.ask span{display:none!important}
  body.q .hdr .pill.ask{padding:0 10px}
}
/* Files: a finished file says "Done"; the full green 100% bar is only shown while a file is still being read */
body.q .ingbar.s-done .ib-tr,body.q .ingbar.s-done .ib-p,body.q .ingbar.s-old .ib-tr,body.q .ingbar.s-old .ib-p{display:none}
