/* Citizen Property Rwanda V4.88 — search-first, premium listings, private order timeline */
/* Search now precedes the visual hero, and is a genuine working form from V4.87. */
#home.citizen-global-home>.c-global-search{position:relative;z-index:2;margin:0 auto!important;max-width:100%!important;border-radius:0!important;background:#fffaf0!important;border-top:3px solid #dcb252!important;box-shadow:0 8px 23px rgba(16,35,66,.09);padding:22px clamp(16px,3.5vw,45px)!important}
#home .c-global-search-intro strong{font-size:clamp(17px,2vw,22px);color:#122f51}
#home .c-global-search-intro span{color:#65738a}
#home .c-global-field input,#home .c-global-field select{background:#fff!important;border:1px solid #c9d5e1!important;border-radius:10px!important;min-height:48px;color:#142f50!important}
#home .c-global-search-button{background:#bc8c2f!important;color:#0a1d38!important;border-radius:10px!important;min-height:48px;font-weight:900!important}
/* High quality responsive listing presentation. Never stretches uploaded images. */
#home .citizen-feature-card, #properties .property-tile{border:1px solid #e4e6ea!important;border-radius:15px!important;overflow:hidden;background:#fff!important;box-shadow:0 9px 26px rgba(5,28,56,.09)!important}
#home .citizen-feature-media{height:auto!important;aspect-ratio:16/10;max-height:320px;background:#0c2445}
#home .citizen-feature-media img,#properties .property-cover img{object-fit:cover!important;object-position:center!important}
#home .citizen-feature-content{padding:17px 16px 18px!important}
#home .citizen-feature-content h4,#properties .property-body h3{font-size:clamp(17px,2vw,20px)!important;line-height:1.35!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.7em;color:#102b4b!important}
#home .citizen-feature-price,#properties .property-price{font-size:clamp(20px,2.4vw,25px)!important;color:#a7751d!important;font-weight:900!important;overflow-wrap:anywhere}
#home .citizen-feature-type{background:#d6ab48!important;color:#0c2745!important;border-radius:999px!important}
#home .citizen-feature-details,#properties .citizen-details-button{background:#0d3057!important;color:#fff!important;border-radius:10px!important;min-height:46px;font-weight:850!important}
#properties .property-cover{height:auto!important;aspect-ratio:16/10;min-height:195px;max-height:340px}
#properties .property-body{display:flex;flex-direction:column;align-items:flex-start;min-height:245px}
#properties .property-body .citizen-details-button{width:100%!important;margin-top:auto!important}
#properties .property-desc{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.55}
/* Private order tracking belongs above the order-creation form. */
.citizen-v488-track-shortcut{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 14px;padding:13px 15px;background:#f0f6ff;border:1px solid #cbdced;border-radius:12px;color:#183d66;font-size:13px}
.citizen-v488-track-shortcut a{font-weight:850;color:#805c20;text-decoration:underline}
.citizen-v488-orders{margin:18px 0 28px!important;padding:clamp(16px,3vw,24px);background:#f8fafc;border:1px solid #dee5ee;border-radius:18px;scroll-margin-top:12px;color:#152f51}
.citizen-v488-orders-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.citizen-v488-orders-head h3{margin:6px 0 7px;font-size:clamp(21px,3vw,26px)!important;color:#102c51}
.citizen-v488-orders-head p{font-size:13px;line-height:1.6;margin:0;color:#566981}
.citizen-v488-kicker{letter-spacing:.12em;font-size:10px;font-weight:850;color:#946b25}
.citizen-v488-refresh{background:#12395f!important;color:#fff!important;border-radius:9px!important;min-height:43px;white-space:nowrap;font-size:13px!important;font-weight:800!important}
.citizen-v488-orders-tools{display:flex;align-items:center;gap:12px;margin:15px 0 12px;color:#455b76;font-size:13px}
.citizen-v488-orders-tools select{width:min(100%,240px);background:#fff;color:#142f4e;border:1px solid #cdd9e8;border-radius:8px;min-height:41px}
.citizen-v488-orders-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr));gap:15px;min-height:40px}
.citizen-v488-order-card{background:#fff;border:1px solid #dbe5ee;border-radius:15px;padding:17px;box-shadow:0 6px 20px rgba(11,42,77,.055);min-width:0}
.citizen-v488-order-top{display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;gap:10px}
.citizen-v488-order-heading{display:flex;flex-direction:column;min-width:0;gap:4px}
.citizen-v488-order-heading strong{font-size:19px;color:#0e3156;letter-spacing:.03em}
.citizen-v488-order-heading span{font-size:12px;color:#64748b;overflow-wrap:anywhere}
.citizen-v488-order-badge{font-size:11px;font-weight:850;padding:7px 10px;border-radius:999px;max-width:100%;overflow-wrap:anywhere;background:#fff4dc;color:#715019}
.citizen-v488-order-badge.is-active{background:#e9f2fe;color:#174e87}
.citizen-v488-order-badge.is-rejected{background:#ffe9e7;color:#a22f27}
.citizen-v488-order-badge.is-done{background:#e5f5ec;color:#216445}
.citizen-v488-order-date{margin:12px 0!important;font-size:12px;color:#63738a}
.citizen-v488-order-payment{font-size:12px;border:1px solid #f2e3bd;background:#fffbf0;color:#7c5b22;padding:11px 12px;border-radius:9px;font-weight:700;margin:10px 0}
.citizen-v488-order-payment.is-paid{border-color:#b5e1c7;background:#eff9f2;color:#236b44}
.citizen-v488-timeline{list-style:none;margin:16px 0;padding:0;display:grid;gap:0}
.citizen-v488-step{position:relative;display:flex;align-items:flex-start;gap:12px;min-height:40px;line-height:1.45;font-size:13px;color:#7a8a9b}
.citizen-v488-step:not(:last-child):before{content:"";position:absolute;top:19px;bottom:-1px;left:9px;width:2px;background:#dbe3ed}
.citizen-v488-step.is-done:not(:last-child):before{background:#4f966d}
.citizen-v488-step-mark{width:20px;height:20px;line-height:20px;border-radius:50%;border:1px solid #c4d0dc;text-align:center;flex:0 0 20px;color:#a2b0bf;background:white;z-index:1;font-size:13px}
.citizen-v488-step.is-done{color:#1e553c;font-weight:750}
.citizen-v488-step.is-done .citizen-v488-step-mark{background:#277449;color:#fff;border-color:#277449}
.citizen-v488-step.is-current{color:#143e72;font-weight:800}
.citizen-v488-step.is-current .citizen-v488-step-mark{background:#e3efff;color:#0a57a3;border-color:#8db5e9}
.citizen-v488-subnote{padding:10px 12px;border-radius:8px;background:#f1f5f9;color:#536680;font-size:12px;line-height:1.5}
.citizen-v488-reply{padding:12px 14px;border-left:4px solid #d1a645;border-radius:7px;background:#fdf8e9;color:#39506c;font-size:13px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}
.citizen-v488-alert{padding:10px 12px;border-radius:8px;background:#fff0ed;color:#97352b;font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere}
.citizen-v488-pay-cta{width:100%;min-height:44px;font-size:13px!important}
.citizen-v488-privacy{color:#5a6d83;font-size:12px;line-height:1.65;margin:15px 0 0}
@media(max-width:700px){
 #home.citizen-global-home>.c-global-search{padding:18px 14px!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
 #home .c-global-search-intro{grid-column:1/-1;display:block!important}
 #home .c-global-search-intro strong{font-size:20px!important}
 #home .c-global-field:nth-of-type(2){grid-column:1/-1}
 #home .c-global-field label{font-size:11px}
 #home .c-global-field input,#home .c-global-field select{width:100%;min-width:0;min-height:44px!important}
 #home .c-global-search-button{grid-column:1/-1!important;width:100%!important}
 #home .c-global-search-note{grid-column:1/-1!important;font-size:10px}
 #home .c-global-hero{min-height:0!important}
 #home .c-global-copy{min-height:380px!important;padding:30px 19px 38px!important}
 #home .c-global-copy h2{font-size:clamp(29px,8vw,39px)!important}
 #home .c-global-visual{display:none!important}
 #home .citizen-feature-media{aspect-ratio:16/10;max-height:none}
 #properties .property-cover{min-height:190px;max-height:none}
 .citizen-v488-orders-head{align-items:flex-start}
 .citizen-v488-refresh{width:100%}
 .citizen-v488-orders-list{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){.citizen-v488-orders *{scroll-behavior:auto}}
