/* ══════════════════════════════════════════════════════════════════════
   Requirement listing — app-like feed (mobile-first)
   Theme tokens: ink #0C2A20 · deep #14613A · green #1B7A4B · pale #E7F2EB
   ══════════════════════════════════════════════════════════════════════ */

:root{
  --sg-ink:#0C2A20; --sg-deep:#14613A; --sg-green:#1B7A4B; --sg-green-2:#22915B;
  --sg-pale:#E7F2EB; --sg-soft:#F3F8F5; --sg-line:#EAE3D7; --sg-border:#E7EEE9;
  --sg-cream:#FBF7F0; --sg-text:#5C6B63; --sg-muted:#8A968F; --sg-orange:#E9762B;
  --sg-blue:#2F6DB5; --sg-star:#F59E0B;
}

.rq-mob{
  background:var(--sg-cream); color:var(--sg-ink); min-height:100vh;
  padding-bottom:56px; overflow-x:hidden;
  font-family:'Nunito',system-ui,-apple-system,'Segoe UI',sans-serif;
  -webkit-font-smoothing:antialiased;
}
.rq-mob *{box-sizing:border-box}
.rq-mob .ellip{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}

/* ── brand header ─────────────────────────────────────────────────── */
.rq-head{
  position:sticky; top:0; z-index:40; background:var(--sg-cream);
  padding:14px 16px 0;
}
.rq-head-row{display:flex; align-items:center; gap:10px}
.rq-hspace{flex:1}
.rq-brand{display:flex; align-items:center; gap:8px; text-decoration:none}
.rq-brand img{height:22px; width:auto; display:block}
.rq-brand b{font-size:15.5px; font-weight:800; color:var(--sg-deep); letter-spacing:-.01em}
.rq-loc-chip{flex:0 0 auto; display:inline-flex; align-items:center; gap:6px;
  background:#fff; border:1px solid var(--sg-border); border-radius:999px;
  padding:8px 13px; font-size:12.5px; font-weight:800; color:var(--sg-ink); white-space:nowrap}
.rq-loc-pill{display:inline-flex; align-items:center; gap:6px; max-width:44%;
  background:#fff; border:1px solid var(--sg-border); border-radius:999px;
  padding:6px 10px; font-size:12px; font-weight:700; color:var(--sg-ink);
  box-shadow:0 1px 2px rgba(12,42,32,.04);
}
.rq-loc-pill i:first-child{color:var(--sg-green); font-size:11px}
.rq-loc-pill i:last-child{font-size:9px; color:var(--sg-muted)}
.rq-bell{position:relative; display:grid; place-items:center; width:34px; height:34px;
  border-radius:11px; background:#fff; border:1px solid var(--sg-border); color:var(--sg-ink); text-decoration:none}
.rq-bdot{position:absolute; top:7px; right:8px; width:7px; height:7px; border-radius:50%;
  background:var(--sg-orange); border:1.5px solid #fff}
.rq-head-rule{display:flex; gap:5px; margin-top:12px}
.rq-head-rule i{height:3px; border-radius:99px; background:var(--sg-line)}
.rq-head-rule i:nth-child(1){flex:3; background:#DCE9E0}
.rq-head-rule i:nth-child(2){flex:1}
.rq-head-rule i:nth-child(3){flex:1}
.rq-head-rule i:nth-child(4){flex:1}

/* ── title band ───────────────────────────────────────────────────── */
.rq-title{position:relative; padding:16px 16px 6px; overflow:hidden}
.rq-title h1{margin:0; font-size:26px; line-height:1.15; font-weight:800; color:var(--sg-ink); letter-spacing:-.02em}
.rq-title p{margin:7px 0 0; font-size:13.5px; line-height:1.5; color:var(--sg-text); max-width:31ch}
.rq-blob{position:absolute; border-radius:50%; pointer-events:none}
.rq-blob.b1{width:130px; height:130px; top:-46px; right:-40px; background:rgba(27,122,75,.07)}
.rq-blob.b2{width:64px; height:64px; top:56px; right:56px; background:rgba(233,118,43,.08)}
.rq-blob.b3{width:26px; height:26px; top:22px; right:104px; background:rgba(20,97,58,.1)}

/* ── category tabs ────────────────────────────────────────────────── */
.rq-cats{margin-top:10px}
.rq-cats-rail{
  display:flex; gap:8px; overflow-x:auto; padding:2px 16px 12px;
  scroll-snap-type:x proximity; -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
}
.rq-cats-rail::-webkit-scrollbar{display:none}
.rq-cat{
  flex:0 0 auto; scroll-snap-align:start; cursor:pointer;
  display:flex; flex-direction:column; align-items:flex-start; gap:5px;
  background:#fff; border:1px solid var(--sg-border); border-radius:14px;
  padding:10px 13px; min-width:104px; text-align:left;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
  box-shadow:0 1px 2px rgba(12,42,32,.04);
}
.rq-cat:hover{transform:translateY(-1px)}
.rq-cat-name{font-size:12.5px; font-weight:800; color:var(--sg-ink); line-height:1.25; max-width:118px;
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.rq-cat-count{font-size:10.5px; font-weight:800; color:var(--sg-deep); background:var(--sg-pale);
  border-radius:999px; padding:2px 8px}
.rq-cat.is-on{background:linear-gradient(160deg,var(--sg-green),var(--sg-green-2));
  border-color:var(--sg-green); box-shadow:0 8px 18px rgba(27,122,75,.28)}
.rq-cat.is-on .rq-cat-name{color:#fff}
.rq-cat.is-on .rq-cat-count{background:rgba(255,255,255,.22); color:#fff}

/* ── search + sort ────────────────────────────────────────────────── */
.rq-searchrow{display:flex; gap:8px; padding:0 16px; align-items:center}
.rq-search{flex:1; display:flex; align-items:center; gap:9px; background:#fff;
  border:1px solid var(--sg-border); border-radius:13px; padding:0 12px; height:44px;
  box-shadow:0 1px 2px rgba(12,42,32,.04)}
.rq-search i{color:var(--sg-muted); font-size:13px}
.rq-search input{flex:1; border:0; outline:none; background:transparent; font-size:14px;
  font-family:inherit; color:var(--sg-ink); min-width:0}
.rq-search input::placeholder{color:var(--sg-muted)}
.rq-sortwrap{position:relative}
.rq-sortbtn{display:inline-flex; align-items:center; gap:7px; height:44px; padding:0 13px;
  background:#fff; border:1px solid var(--sg-border); border-radius:13px;
  font-size:13px; font-weight:700; color:var(--sg-ink); cursor:pointer;
  box-shadow:0 1px 2px rgba(12,42,32,.04); white-space:nowrap}
.rq-sortbtn i{font-size:10px; color:var(--sg-muted)}
.rq-sortmenu{position:absolute; right:0; top:50px; z-index:30; min-width:190px;
  background:#fff; border:1px solid var(--sg-border); border-radius:14px; padding:6px;
  box-shadow:0 18px 40px rgba(12,42,32,.16)}
.rq-sortmenu button{display:block; width:100%; text-align:left; background:none; border:0;
  padding:10px 12px; border-radius:10px; font-size:13.5px; font-weight:700; color:var(--sg-ink); cursor:pointer}
.rq-sortmenu button:hover{background:var(--sg-soft)}

/* ── quick filter chips ───────────────────────────────────────────── */
.rq-chipsrow{display:flex; gap:8px; align-items:center; padding:12px 16px 0}
.rq-chips{display:flex; gap:8px; overflow-x:auto; scrollbar-width:none; flex:1; min-width:0; padding-bottom:2px}
.rq-chips::-webkit-scrollbar{display:none}
.rq-fchip{flex:0 0 auto; cursor:pointer; display:inline-flex; align-items:center; gap:6px;
  background:#fff; border:1px solid var(--sg-border); border-radius:999px;
  padding:8px 13px; font-size:12.5px; font-weight:800; color:var(--sg-ink); white-space:nowrap;
  transition:background .16s ease, color .16s ease, border-color .16s ease}
.rq-fchip .num{color:var(--sg-muted); font-weight:800}
.rq-fchip.is-on{background:var(--sg-green); border-color:var(--sg-green); color:#fff}
.rq-fchip.is-on .num{color:rgba(255,255,255,.85)}
.rq-filtericon{flex:0 0 auto; width:38px; height:38px; border-radius:12px; cursor:pointer;
  background:var(--sg-pale); border:1px solid #D8E8DE; color:var(--sg-deep); font-size:13px}

/* ── active filter summary ────────────────────────────────────────── */
.rq-summary{display:flex; align-items:center; justify-content:space-between; gap:12px;
  margin:12px 16px 0; padding:10px 13px; background:var(--sg-soft);
  border:1px solid var(--sg-border); border-radius:12px;
  font-size:12.5px; color:var(--sg-text)}
.rq-summary b{color:var(--sg-ink)}
.rq-summary button{background:none; border:0; cursor:pointer; color:var(--sg-deep);
  font-size:12.5px; font-weight:800; display:inline-flex; align-items:center; gap:5px; font-family:inherit}

/* ── feed ─────────────────────────────────────────────────────────── */
.rq-feed{padding:14px 16px 0; display:flex; flex-direction:column; gap:12px}
.rq-cards{display:flex; flex-direction:column; gap:12px}

.rq-card{display:flex; gap:12px; background:#fff; border:1px solid var(--sg-border);
  border-radius:16px; padding:12px; box-shadow:0 1px 2px rgba(12,42,32,.04);
  transition:transform .18s ease, box-shadow .18s ease}
.rq-card:hover{transform:translateY(-1px); box-shadow:0 10px 26px rgba(12,42,32,.09)}

.rq-card-photo{position:relative; flex:0 0 96px; width:96px; height:96px; border-radius:13px;
  overflow:hidden; background:var(--sg-pale)}
.rq-card-photo img{width:100%; height:100%; object-fit:cover; display:block}
.rq-photo-fallback{width:100%; height:100%; display:flex; align-items:center; justify-content:center;
  font-size:22px; color:var(--sg-green);
  background:linear-gradient(150deg,#EAF4EE,#DCEBE2)}
.rq-urg{position:absolute; left:5px; top:5px; padding:2.5px 7px; border-radius:999px;
  font-size:9.5px; font-weight:800; text-transform:capitalize; letter-spacing:.02em;
  background:rgba(255,255,255,.94); color:var(--sg-muted); box-shadow:0 1px 3px rgba(12,42,32,.14)}
.rq-urg.urgent{background:var(--sg-orange); color:#fff}
.rq-urg.today{background:var(--sg-blue); color:#fff}
.rq-urg.normal{display:none}

.rq-card-main{flex:1; min-width:0; display:flex; flex-direction:column; gap:6px}
.rq-card-top{display:flex; align-items:flex-start; gap:8px}
.rq-card-title{margin:0; flex:1; font-size:14.5px; font-weight:800; line-height:1.32; color:var(--sg-ink)}
.rq-time{flex:0 0 auto; font-size:10.5px; font-weight:700; color:var(--sg-muted); padding-top:2px}

.rq-loc{display:flex; align-items:center; gap:6px; font-size:12.5px; color:var(--sg-text)}
.rq-loc i:first-child{color:var(--sg-green); font-size:12px}
.rq-chev{margin-left:auto; color:#C3CFC8; font-size:10px}

.rq-budget{display:flex; align-items:center; gap:7px; font-size:12.5px; font-weight:700; color:var(--sg-ink)}
.rq-budget .bicon{width:19px; height:19px; border-radius:6px; display:grid; place-items:center;
  background:var(--sg-pale); color:var(--sg-deep); font-size:9px}

.rq-tags{display:flex; flex-wrap:wrap; gap:6px; margin-top:1px}
.rq-tag{font-size:10.5px; font-weight:800; color:var(--sg-deep); background:var(--sg-pale);
  border-radius:999px; padding:3px 9px}

.rq-card-actions{display:flex; gap:8px; margin-top:4px}
.rq-btn-ghost,.rq-btn-solid{flex:1; display:inline-flex; align-items:center; justify-content:center; gap:6px;
  height:36px; border-radius:11px; font-size:12.5px; font-weight:800; text-decoration:none;
  font-family:inherit; cursor:pointer; transition:transform .15s ease, box-shadow .15s ease}
.rq-btn-ghost{background:#fff; border:1.5px solid var(--sg-green); color:var(--sg-green)}
.rq-btn-solid{background:linear-gradient(160deg,var(--sg-green),var(--sg-green-2)); border:0; color:#fff;
  box-shadow:0 6px 14px rgba(27,122,75,.26)}
.rq-btn-solid i{font-size:11px}
.rq-btn-ghost:hover,.rq-btn-solid:hover{transform:translateY(-1px)}

.rq-applied-chip{align-self:flex-start; display:inline-flex; align-items:center; gap:5px;
  font-size:10.5px; font-weight:800; color:var(--sg-deep); background:var(--sg-pale);
  border-radius:999px; padding:3px 9px; margin-top:2px}

/* ── skeletons ────────────────────────────────────────────────────── */
.rq-skel{display:flex; gap:12px; background:#fff; border:1px solid var(--sg-border);
  border-radius:16px; padding:12px; box-shadow:0 1px 2px rgba(12,42,32,.04)}
.rq-skel-photo,.rq-skel-line{position:relative; overflow:hidden; background:#EDF3EF}
.rq-skel-photo{flex:0 0 96px; width:96px; height:96px; border-radius:13px}
.rq-skel-body{flex:1; display:flex; flex-direction:column; gap:8px; padding-top:3px}
.rq-skel-line{height:11px; border-radius:6px}
.rq-skel-line.w70{width:70%} .rq-skel-line.w40{width:40%}
.rq-skel-line.w55{width:55%} .rq-skel-line.w85{width:85%}
.rq-skel-photo::after,.rq-skel-line::after{content:''; position:absolute; inset:0;
  transform:translateX(-100%);
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.75),transparent);
  animation:rq-shimmer 1.35s infinite}
@keyframes rq-shimmer{100%{transform:translateX(100%)}}

/* ── empty state + load more ──────────────────────────────────────── */
.rq-empty{display:flex; flex-direction:column; align-items:center; text-align:center;
  padding:44px 20px; gap:8px}
.rq-empty-art{width:78px; height:78px; border-radius:24px; display:grid; place-items:center;
  background:var(--sg-pale); color:var(--sg-green); font-size:28px; margin-bottom:4px}
.rq-empty h3{margin:0; font-size:16.5px; font-weight:800; color:var(--sg-ink)}
.rq-empty p{margin:0; font-size:13px; color:var(--sg-text); max-width:30ch; line-height:1.5}
.rq-empty-cta{margin-top:10px; background:var(--sg-green); color:#fff; border:0; cursor:pointer;
  border-radius:12px; padding:11px 20px; font-size:13.5px; font-weight:800; font-family:inherit;
  box-shadow:0 8px 18px rgba(27,122,75,.26)}

.rq-loadmore{display:flex; justify-content:center; padding:14px 0 4px}
.rq-loadmore button{display:inline-flex; align-items:center; gap:8px; cursor:pointer;
  background:#fff; border:1px solid var(--sg-border); border-radius:12px; padding:11px 20px;
  font-size:13px; font-weight:800; color:var(--sg-deep); font-family:inherit;
  box-shadow:0 1px 2px rgba(12,42,32,.05)}

/* ── bottom sheets ────────────────────────────────────────────────── */
.rq-sheet-wrap{position:fixed; inset:0; z-index:60; display:flex; align-items:flex-end; justify-content:center}
.rq-sheet-backdrop{position:absolute; inset:0; background:rgba(12,42,32,.42); backdrop-filter:blur(2px)}
.rq-sheet{position:relative; width:100%; max-width:520px; background:#fff;
  border-radius:22px 22px 0 0; padding:12px 18px 26px;
  box-shadow:0 -18px 44px rgba(12,42,32,.22)}
.rq-sheet-grip{display:block; width:42px; height:4px; border-radius:99px; background:var(--sg-line);
  margin:0 auto 14px}
.rq-sheet h3{margin:0 0 4px; font-size:16px; font-weight:800; color:var(--sg-ink)}
.rq-sheet p{margin:0 0 12px; font-size:13px; color:var(--sg-text); line-height:1.5}
.rq-sheet-opts,.rq-sheet-sort{display:flex; flex-wrap:wrap; gap:8px; margin-bottom:14px}
.rq-opt{cursor:pointer; background:var(--sg-soft); border:1px solid var(--sg-border);
  border-radius:11px; padding:10px 15px; font-size:13px; font-weight:800; color:var(--sg-ink); font-family:inherit}
.rq-opt.is-on{background:var(--sg-green); border-color:var(--sg-green); color:#fff}
.rq-sheet-close{width:100%; margin-top:4px; background:var(--sg-ink); color:#fff; border:0; cursor:pointer;
  border-radius:13px; padding:13px; font-size:14px; font-weight:800; font-family:inherit}

/* ── entrance motion ──────────────────────────────────────────────── */
.rq-title,.rq-cats,.rq-searchrow,.rq-chipsrow{animation:rq-rise .42s cubic-bezier(.22,.9,.28,1) both}
.rq-cats{animation-delay:.04s} .rq-searchrow{animation-delay:.08s} .rq-chipsrow{animation-delay:.12s}
@keyframes rq-rise{from{opacity:0; transform:translateY(9px)} to{opacity:1; transform:none}}

.reveal{animation:rq-card-in .34s cubic-bezier(.22,.9,.28,1) both}
.rq-cards .reveal:nth-child(1){animation-delay:.02s}
.rq-cards .reveal:nth-child(2){animation-delay:.06s}
.rq-cards .reveal:nth-child(3){animation-delay:.10s}
.rq-cards .reveal:nth-child(4){animation-delay:.14s}
.rq-cards .reveal:nth-child(5){animation-delay:.18s}
.rq-cards .reveal:nth-child(n+6){animation-delay:.22s}
@keyframes rq-card-in{from{opacity:0; transform:translateY(11px)} to{opacity:1; transform:none}}

@media (prefers-reduced-motion:reduce){
  .rq-mob *,.rq-mob *::after{animation-duration:.01ms !important; animation-iteration-count:1 !important;
    transition-duration:.01ms !important}
}

/* ── desktop ──────────────────────────────────────────────────────── */
@media (min-width:1024px){
  .rq-mob{max-width:1180px; margin:0 auto; padding:8px 32px 72px; min-height:auto}
  .rq-head{position:static; padding:22px 0 0; background:transparent}
  .rq-brand img{height:26px}
  .rq-title{padding:26px 0 8px; display:grid; grid-template-columns:1fr auto; align-items:end; gap:18px}
  .rq-title h1{font-size:38px}
  .rq-title p{font-size:15px; margin-top:9px}
  .rq-cats-rail{padding:2px 0 14px; gap:10px; flex-wrap:nowrap}
  .rq-cat{min-width:130px; padding:12px 15px; border-radius:16px}
  .rq-cat-name{font-size:13.5px; max-width:none}
  .rq-searchrow{padding:0; max-width:760px}
  .rq-chipsrow{padding:14px 0 0; max-width:760px}
  .rq-chips{flex-wrap:wrap; overflow:visible}
  .rq-summary{margin:14px 0 0; max-width:760px}
  .rq-feed{padding:18px 0 0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; align-items:start}
  .rq-cards{display:contents}
  .rq-card{flex-direction:row; padding:14px}
  .rq-card-photo{flex:0 0 118px; width:118px; height:118px; border-radius:15px}
  .rq-card-title{font-size:15.5px}
  .rq-skel{padding:14px}
  .rq-skel-photo{flex:0 0 118px; width:118px; height:118px}
  .rq-empty,.rq-loadmore{grid-column:1/-1}
  .rq-sheet{border-radius:22px; max-width:520px; margin-bottom:auto; margin-top:12vh}
  .rq-sheet-wrap{align-items:center}
}
