/*
 * AskPerTask — HOME 2.0 + wave navigation (sandbox integration 1A). Every selector is scoped with apt-h20-*.
 * Visual source of truth: the owner-approved prototype (askpertask-home-asis). Loaded only while apt_home20_enabled().
 * Sections: 1 tokens/reset · 2 prototype rules (scoped) · 3 integration overrides.
 */
.apt-h20-header,.apt-h20-left{--apt-h20-navy:#001a51;--apt-h20-dark:#052c59;--apt-h20-blue:#0064db;--apt-h20-green:#06bb35;--apt-h20-orange:#ff7600;--apt-h20-border:#dce8f8;--apt-h20-shadow:0 5px 13px rgba(22,73,133,.16)}
.apt-h20-header,.apt-h20-left{color:#001a51;font:700 14px/1.35 inherit;font-family:inherit}
:where(.apt-h20-header,.apt-h20-left) *,:where(.apt-h20-header,.apt-h20-left) *::before,:where(.apt-h20-header,.apt-h20-left) *::after{box-sizing:border-box}
:where(.apt-h20-header,.apt-h20-left) a{text-decoration:none}
:where(.apt-h20-header,.apt-h20-left) :where(button,input){font:inherit;margin:0;text-transform:none;letter-spacing:normal;-webkit-appearance:none;appearance:none}
:where(.apt-h20-header,.apt-h20-left) button{cursor:pointer}
.apt-h20-header button:focus-visible,.apt-h20-left button:focus-visible,.apt-h20-header a:focus-visible,.apt-h20-left a:focus-visible,.apt-h20-header input:focus-visible,.apt-h20-left input:focus-visible{outline:3px solid #5fa9ff;outline-offset:2px}
.apt-h20-left button:disabled{cursor:not-allowed}
.apt-h20-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
:where(.apt-h20-header,.apt-h20-left) ul{list-style:none;margin:0;padding:0}
.apt-h20-ic{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:2;stroke-linejoin:round;stroke-linecap:round;flex:none}.apt-h20-ic.apt-h20-small{width:20px;height:20px}.apt-h20-ic.apt-h20-tiny{width:16px;height:16px}.apt-h20-top-header{position:relative;z-index:30;height:134px;display:grid;grid-template-columns:minmax(208px,249px) minmax(625px,1fr) minmax(290px,340px);align-items:start;gap:10px;padding:12px 36px 0}.apt-h20-brand-column{padding-top:0}.apt-h20-brand{display:flex;align-items:center;gap:9px;text-decoration:none;color:var(--apt-h20-navy);white-space:nowrap}.apt-h20-brand-mark{width:54px;height:54px;flex:none}.apt-h20-brand-text{display:flex;flex-direction:column;gap:1px}.apt-h20-brand-text strong{font-size:29px;line-height:1.05;font-weight:900;letter-spacing:-1.5px}.apt-h20-brand-text strong sup{font-size:10px;vertical-align:super;letter-spacing:0}.apt-h20-brand-text small{font-size:11px;font-weight:800;white-space:nowrap}.apt-h20-view-switch{display:flex;align-items:center;width:max-content;height:42px;padding:3px;margin-top:7px;border-radius:26px;background:#f1f6fd;box-shadow:0 4px 14px #cfe1f4}.apt-h20-view-switch button{border:0;border-radius:24px;color:#0c2250;background:transparent;height:35px;padding:0 16px;font-weight:850;white-space:nowrap}.apt-h20-view-switch button.selected{background:linear-gradient(#0d5f9f,#00336e);color:#fff;box-shadow:0 4px 8px #c1d5eb}.apt-h20-view-switch span{margin-left:3px}.apt-h20-wave-nav{position:relative;height:112px;min-width:0}.apt-h20-wave-outline{position:absolute;inset:0;width:100%;height:110px;pointer-events:none}.apt-h20-wave-nav-items{position:relative;height:98px;display:grid;grid-template-columns:1.1fr 1.05fr 1.05fr 1.13fr 1.07fr 1.1fr 1.03fr;align-items:center;padding:12px 9px 0}.apt-h20-nav-item{height:76px;background:none;color:#081f53;border:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:13px;font-weight:870;white-space:nowrap;position:relative;min-width:0}.apt-h20-nav-item:not(:last-child):not(:nth-child(3))::after{content:"";width:1px;height:38px;background:#e0eafa;position:absolute;right:0;top:20px}.apt-h20-nav-item.apt-h20-active{border-radius:36px;background:linear-gradient(170deg,#0870bb,#002b65);color:white;box-shadow:0 6px 12px #a9c2e4}.apt-h20-nav-item .apt-h20-ic{width:28px;height:28px}.apt-h20-create-anchor{height:100%;position:relative;z-index:12}.apt-h20-create-button{height:92px;width:92px;position:absolute;top:1px;left:50%;transform:translateX(-50%);border:6px solid white;border-radius:100%;color:#fff;background:linear-gradient(160deg,#4ff521 4%,#07bd1c 60%,#009a28 100%);box-shadow:0 0 15px #75eaa4,0 3px 9px rgba(4,139,54,.45);display:grid;place-items:center}.apt-h20-create-button .apt-h20-ic{width:55px;height:55px;stroke-width:2.6}.apt-h20-create-menu{position:absolute;z-index:50;top:102px;left:50%;transform:translateX(-50%);width:236px;padding:7px;border:1px solid #cddff1;border-radius:15px;background:#fff;box-shadow:0 16px 25px #123c6990}.apt-h20-create-menu button{border:0;border-radius:9px;color:#002357;background:transparent;width:100%;padding:12px 9px;display:flex;align-items:center;gap:10px;text-align:left;font-size:14px}.apt-h20-create-menu button:hover{background:#eef7ff}.apt-h20-top-utilities{height:90px;display:flex;align-items:center;justify-content:flex-end;gap:9px;padding-top:12px;white-space:nowrap}.apt-h20-utility{border:0;background:#fff;display:flex;align-items:center;justify-content:center;gap:6px;color:#03225a;height:45px}.apt-h20-utility .apt-h20-tiny{width:16px;height:16px}.apt-h20-uk-flag{font-size:22px;line-height:1}.apt-h20-lang-control{padding:0 3px 0 0}.apt-h20-task-coins{height:45px;padding:0 11px;border:1px solid #f5e1a7;border-radius:26px;gap:7px}.apt-h20-gold-coin{width:28px;height:28px;background:#ffc71b;border:3px solid #eeb300;box-shadow:inset 0 0 0 2px #ffe87c;color:#be8700;border-radius:50%;font-weight:1000;display:grid;place-items:center}.apt-h20-account-control{border:2px solid #07347e;border-radius:28px;padding:0 12px 0 5px;position:relative;box-shadow:0 2px 4px #d8e4f3}.apt-h20-avatar{width:50px;height:50px;border-radius:50%;background:linear-gradient(145deg,#137efb,#064bde);color:white;display:grid;place-items:center;font-size:19px;flex:none;font-weight:800}.apt-h20-avatar.apt-h20-mini{width:33px;height:33px;font-size:12px}.apt-h20-account-control b{font-size:13px}.apt-h20-notif{position:absolute;top:-15px;right:-10px;width:25px;height:25px;border-radius:50%;border:3px solid white;color:#fff;background:#f21b27;display:grid;place-items:center;font-size:13px}.apt-h20-lower-rail{margin:0 15px;position:relative;z-index:25;height:88px}.apt-h20-rail-bg{position:absolute;inset:0;width:100%;height:88px;filter:drop-shadow(0 6px 9px rgba(4,46,109,.24));pointer-events:none}.apt-h20-rail-items{height:85px;position:relative;display:grid;grid-template-columns:minmax(270px,345px) minmax(100px,155px) minmax(355px,1fr) minmax(142px,185px) minmax(100px,125px) minmax(142px,168px);gap:7px;align-items:center;padding:5px 18px}.apt-h20-welcome-shell{position:relative;min-width:0}.apt-h20-welcome{color:#fff;display:flex;align-items:center;text-align:left;width:100%;border:0;background:none;gap:11px;padding:0 4px;height:63px}.apt-h20-welcome-copy{display:flex;flex-direction:column;flex:1;white-space:nowrap;min-width:0}.apt-h20-welcome-copy b{font-size:16px;overflow:hidden;text-overflow:ellipsis}.apt-h20-welcome-copy small{font-size:13px;font-weight:600}.apt-h20-welcome .apt-h20-chevron{margin-left:auto}.apt-h20-welcome-popover{position:absolute;z-index:80;top:73px;left:0;border:1px solid #d5e5f5;border-radius:14px;background:#fff;color:var(--apt-h20-navy);width:268px;padding:16px;box-shadow:0 12px 28px #0f386c4f}.apt-h20-welcome-popover p{font-size:12px;color:#687d9e;font-weight:500}.apt-h20-welcome-popover button{background:#042f70;color:#fff;border:0;border-radius:9px;padding:9px 14px}.apt-h20-rail-button{height:49px;min-width:0;padding:0 8px;display:flex;align-items:center;justify-content:center;gap:7px;background:rgba(0,63,122,.18);border:1px solid rgba(126,174,225,.2);border-radius:27px;color:#fff;font-size:13px;font-weight:810;white-space:nowrap}.apt-h20-messages-btn{margin-right:5px}.apt-h20-green-count{background:#0fbe36;border-radius:14px;padding:2px 7px}.apt-h20-search-form{height:56px;display:flex;gap:10px;align-items:center;background:#fff;border-radius:30px;padding:5px 6px 5px 17px;color:#102e62;box-shadow:0 2px 7px #1f4b7f30;min-width:0}.apt-h20-search-form input{flex:1;min-width:0;border:0;outline:0;color:#12325d;font-size:12px;font-weight:650}.apt-h20-search-form input::placeholder{color:#25457a;opacity:1}.apt-h20-search-form button{height:44px;min-width:99px;border:0;border-radius:25px;background:linear-gradient(#16d541,#00ac2b);color:#fff;font-weight:850;font-size:14px;box-shadow:0 3px 7px #b2eac3}.apt-h20-dashboard-btn{height:45px;display:flex;justify-content:center;align-items:center;gap:8px;border:0;background:white;color:#092455;border-radius:28px;font-size:12px;font-weight:850;white-space:nowrap;padding:0 10px}.apt-h20-dashboard-btn .apt-h20-ic{width:15px}.apt-h20-hero{height:151px;position:relative;display:grid;grid-template-columns:41% 33% 26%;align-items:center;padding:6px 24px 0 52px;overflow:visible}.apt-h20-hero-title{position:relative;z-index:3;align-self:center}.apt-h20-hero h1{font-weight:900;font-size:clamp(32px,2.75vw,47px);letter-spacing:-1.7px;line-height:.98;white-space:nowrap;margin:0;color:#09245a}.apt-h20-hero h1 em{font-style:normal;color:#07b33b}.apt-h20-hero-swoosh{margin:10px 0 0 4px;width:244px;height:5px;border-radius:50%;border-top:4px solid #0cc846;transform:skewX(-35deg)}.apt-h20-hero-desc{font-size:17px;font-weight:630;line-height:1.42;position:relative;z-index:3;padding-left:37px;border-left:1px solid #d0dfed;margin:0}.apt-h20-skyline{position:absolute;z-index:1;right:0;bottom:0;width:43%;height:146px;background:none center bottom/cover no-repeat;-webkit-mask-image:linear-gradient(90deg,transparent 0%,black 32%);mask-image:linear-gradient(90deg,transparent 0%,black 32%);opacity:.93;pointer-events:none}.apt-h20-top-location{position:absolute;z-index:5;top:25px;right:25px}.apt-h20-location-pill{height:40px;padding:0 10px 0 14px;border:1px solid #c4dbf5;border-radius:25px;color:#081e50;background:#fff;display:flex;gap:8px;align-items:center;box-shadow:0 4px 8px #b1c8df70;font-size:13px;white-space:nowrap}.apt-h20-location-pill .apt-h20-green-icon{color:#00bb39;width:21px}.apt-h20-location-pill .apt-h20-ic:last-child{margin-left:9px}.apt-h20-home-content{padding:0 27px 16px;display:grid;grid-template-columns:minmax(0,1.62fr) minmax(0,1fr);gap:7px;align-items:start}.apt-h20-left-discover{min-width:0}.apt-h20-categories{height:88px;background:linear-gradient(125deg,#052e5d,#032b59 55%,#052a55);border-radius:25px 25px 18px 18px;padding:7px 10px;display:grid;grid-template-columns:.82fr 1.1fr 1.16fr 1.42fr 1.1fr 1.48fr;align-items:stretch;gap:8px;box-shadow:0 3px 9px #2c548077}.apt-h20-category{padding:2px 2px 3px;min-width:0;background:linear-gradient(155deg,#103c69,#0e2d4f);border:1px solid #34547e;border-radius:16px;color:#fff;display:flex;flex-direction:column;gap:3px;align-items:center;justify-content:center;font-weight:850;font-size:14px;white-space:nowrap}.apt-h20-category.apt-h20-active{background:#fff;color:#0b2759;border:1px solid #d5e1f1;box-shadow:0 5px 0 #93a4ba}.apt-h20-cat-icon{width:33px;height:33px;border-radius:50%;display:grid;place-items:center;color:#fff;background:var(--apt-h20-blue);box-shadow:0 3px 8px #031f3e23}.apt-h20-cat-icon .apt-h20-ic{width:20px;height:20px}.apt-h20-cat-icon.apt-h20-all{background:#8698ac}.apt-h20-cat-icon.apt-h20-services{background:#e72f80}.apt-h20-cat-icon.apt-h20-requests{background:#0fca68}.apt-h20-cat-icon.apt-h20-marketplace{background:#ff8800}.apt-h20-cat-icon.apt-h20-materials{background:#364e65}.apt-h20-cat-icon.apt-h20-businesses{background:#12b9ad}.apt-h20-discovery-panel{border:1px solid #dce9f9;border-top:none;border-radius:0 0 27px 27px;background:linear-gradient(#fff,#fcfdff);box-shadow:0 8px 18px #bbd0ea70;min-height:462px;padding:8px 14px 11px}.apt-h20-discovery-title{height:80px;display:flex;align-items:flex-start;gap:14px;padding:4px 7px 0}.apt-h20-broadcast{color:#06bc38;width:44px;height:44px;margin-top:4px;stroke-width:2.5}.apt-h20-discovery-copy{flex:1;min-width:0}.apt-h20-discovery-copy h2{font-weight:900;font-size:27px;letter-spacing:-1px;margin:0;white-space:nowrap;color:#092558}.apt-h20-discovery-copy p{display:flex;align-items:center;gap:5px;margin:0;color:#0e2859;font-size:13px;white-space:nowrap}.apt-h20-info-button{padding:0;line-height:1;border:0;background:transparent;color:#0e2859;vertical-align:middle;display:inline-flex}.apt-h20-area-controls{position:relative;margin:4px 5px 0 0}.apt-h20-area-btn{height:45px;min-width:141px;border:1px solid #cadef7;border-radius:24px;background:#fff;box-shadow:0 4px 10px #c1d1e5;color:#11265a;display:flex;justify-content:center;align-items:center;gap:10px;font-size:13px;white-space:nowrap;padding:0 10px}.apt-h20-area-menu{position:absolute;z-index:40;right:0;top:51px;width:238px;background:#fff;border:1px solid #cfe1f3;border-radius:12px;padding:6px;box-shadow:0 9px 17px #2b4e7f55}.apt-h20-area-menu button{width:100%;border:0;background:transparent;text-align:left;padding:11px;color:#073166;border-radius:7px;font-size:13px}.apt-h20-area-menu button:hover{background:#eef7ff}.apt-h20-listing-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;min-height:296px}.apt-h20-listing-card{min-width:0;height:297px;border-radius:17px;background:#fff;border:1px solid #dce9f9;box-shadow:0 5px 11px rgba(15,68,122,.13);overflow:hidden;position:relative}.apt-h20-card-image{height:138px;position:relative;overflow:hidden;border-radius:15px 15px 14px 14px}.apt-h20-card-image img{height:100%;width:100%;object-fit:cover}.apt-h20-featured-label{position:absolute;top:9px;left:12px;background:linear-gradient(#fff254,#ffc900);color:#141500;height:27px;padding:0 11px;border-radius:16px;display:flex;align-items:center;gap:5px;font-weight:950;font-size:11px;box-shadow:0 2px 5px #77611144}.apt-h20-featured-label .apt-h20-ic{width:16px;height:16px;color:#fa6300;fill:#fc7a00}.apt-h20-type-label{height:34px;position:absolute;left:10px;bottom:4px;border-radius:19px;color:#fff;display:flex;gap:7px;align-items:center;padding:0 12px;font-size:13px;background:var(--card-color);font-weight:820;box-shadow:0 2px 4px #0003}.apt-h20-type-label .apt-h20-ic{width:20px;height:20px}.apt-h20-card-body{padding:8px 11px 8px;position:relative;height:calc(100% - 138px)}.apt-h20-card-body h3{margin:0 21px 3px 0;font-weight:900;letter-spacing:-.45px;font-size:15px;line-height:1.12;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.apt-h20-card-body p{margin:0 0 3px;font-size:12px;font-weight:600;color:#0f2852;line-height:1.25;height:34px;overflow:hidden}.apt-h20-card-price{display:block;color:var(--card-color);font-weight:900;font-size:14px;margin-bottom:4px}.apt-h20-card-meta{display:flex;gap:13px;align-items:center;font-size:11px;font-weight:650;color:#183767;white-space:nowrap;min-width:0}.apt-h20-card-meta span{display:flex;gap:2px;align-items:center;min-width:0}.apt-h20-card-meta .apt-h20-ic{width:15px;height:15px}.apt-h20-bookmark{position:absolute;top:8px;right:8px;border:0;background:transparent;color:#09295c;padding:1px;display:flex}.apt-h20-bookmark.apt-h20-saved{color:#ffac00}.apt-h20-bookmark.apt-h20-saved .apt-h20-ic{fill:#fff0ae}.apt-h20-bookmark .apt-h20-ic{width:20px;height:20px}.apt-h20-card-cta{position:absolute;right:10px;bottom:9px;height:33px;min-width:128px;padding:0 12px;border-radius:19px;border:1px solid var(--card-color);background:#fff;color:var(--card-color);display:flex;align-items:center;justify-content:center;gap:5px;font-size:12px;font-weight:900;box-shadow:0 2px 6px #dce9f8}.apt-h20-card-cta .apt-h20-ic{width:17px;height:17px}.apt-h20-empty-state{min-height:296px;border:1px dashed #bcd5ee;border-radius:14px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:30px;color:#12376a}.apt-h20-empty-state[hidden]{display:none}.apt-h20-empty-state h3{font-size:17px}.apt-h20-empty-state p{font-size:12px;font-weight:500}.apt-h20-empty-state button{background:#0b5197;border:0;border-radius:15px;color:#fff;padding:9px 16px}.apt-h20-discovery-filters{display:flex;justify-content:space-between;align-items:center;gap:6px;padding:11px 1px 0}.apt-h20-discovery-filters button{background:#fff;border:1px solid #dce9fb;height:40px;min-width:0;border-radius:22px;padding:0 10px;display:flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;color:#0b2659;font-size:12px;font-weight:870;box-shadow:0 3px 7px #d6e5f6}.apt-h20-discovery-filters .apt-h20-ic{width:20px;height:20px}.apt-h20-discovery-filters button.active{background:linear-gradient(#027acc,#00366f);color:#fff;box-shadow:0 4px 8px #c3d9f1}.apt-h20-discovery-filters .apt-h20-view-all{margin-left:auto;box-shadow:none;border:0;color:#0560e8;background:transparent;padding:0 4px}.apt-h20-map-panel{height:496px;border:7px solid white;border-radius:30px;box-shadow:0 6px 18px #bad3ee;position:relative;margin-top:16px;overflow:hidden;background:linear-gradient(#e5f6d5,#d6e9c5)}.apt-h20-map-photo{position:absolute;inset:0;transform-origin:center 32%;background:none top left/100% 72% no-repeat,linear-gradient(#e8f6de,#e5f3d9);transition:transform .22s ease}.apt-h20-map-controls{position:absolute;top:15px;right:15px;display:flex;flex-direction:column;align-items:center;gap:7px}.apt-h20-zoom-stack{border-radius:20px;overflow:hidden;box-shadow:0 3px 10px #0003;display:flex;flex-direction:column;background:#fff}.apt-h20-map-controls button{display:grid;place-items:center;width:42px;height:38px;border:0;background:white;color:black;font-size:26px;font-weight:900}.apt-h20-map-controls .apt-h20-zoom-stack button:first-child{border-bottom:1px solid #dbe2e6}.apt-h20-map-controls .apt-h20-ic{width:21px;height:21px;stroke-width:3}.apt-h20-map-controls .apt-h20-locate-button{border-radius:50%;width:43px;height:43px;box-shadow:0 4px 8px #0003}.apt-h20-map-location-label{position:absolute;left:50%;top:36%;transform:translate(-50%,-50%);background:#ffffffdd;padding:12px 20px;border-radius:16px;display:flex;flex-direction:column;align-items:center;gap:4px;box-shadow:0 4px 15px #1c416144}.apt-h20-map-location-label[hidden]{display:none}.apt-h20-map-location-label span{font-size:11px}.apt-h20-nearby-summary{position:absolute;left:10px;right:10px;bottom:10px;border-radius:20px;background:linear-gradient(#fff,#f7fbff);box-shadow:0 3px 13px #7193a677;min-height:125px;padding:14px 13px 8px}.apt-h20-nearby-title{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e4ebf4;padding:0 2px 10px;gap:10px}.apt-h20-nearby-title h3{margin:0;font-size:19px;color:#111;font-weight:900}.apt-h20-nearby-title small{font-size:10px;color:#69819d;font-weight:600;margin-right:auto}.apt-h20-nearby-title button{display:flex;align-items:center;gap:5px;color:#0364e6;background:none;border:0;font-weight:850;font-size:12px}.apt-h20-nearby-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding-top:11px}.apt-h20-nearby-stats>div{display:flex;align-items:center;justify-content:center;gap:7px;border-right:1px solid #d9e4ee;min-width:0}.apt-h20-nearby-stats>div:last-child{border-right:0}.apt-h20-nearby-stats .apt-h20-ic{width:28px;height:28px}.apt-h20-nearby-stats .apt-h20-blue{color:#0876ff}.apt-h20-nearby-stats .apt-h20-green{color:#04bf31}.apt-h20-nearby-stats .apt-h20-orange{color:#ff7d00}.apt-h20-nearby-stats .apt-h20-purple{color:#9510e6}.apt-h20-nearby-stats span{display:flex;flex-direction:column;color:#121622;white-space:nowrap}.apt-h20-nearby-stats b{font-size:19px;font-weight:900;line-height:1.1}.apt-h20-nearby-stats small{font-size:10px;color:#19325c;font-weight:650}
@media(max-width:1550px){.apt-h20-top-header{grid-template-columns:minmax(175px,215px) minmax(565px,1fr) minmax(260px,302px);padding:12px 26px 0;gap:4px}.apt-h20-brand-text strong{font-size:25px}.apt-h20-brand-text small{font-size:9px}.apt-h20-brand-mark{width:44px;height:44px}.apt-h20-view-switch button{padding:0 11px;font-size:12px}.apt-h20-top-utilities{gap:6px}.apt-h20-account-control b{font-size:11px}.apt-h20-top-utilities .apt-h20-utility{font-size:12px}.apt-h20-nav-item{font-size:11px}.apt-h20-nav-item .apt-h20-ic{width:25px;height:25px}.apt-h20-create-button{width:82px;height:82px}.apt-h20-rail-items{grid-template-columns:minmax(215px,290px) 110px minmax(270px,1fr) 138px 100px 145px;gap:5px;padding:5px 16px}.apt-h20-welcome-copy b{font-size:13px}.apt-h20-welcome-copy small{font-size:11px}.apt-h20-rail-button{font-size:11px;gap:4px;padding:0 4px}.apt-h20-search-form input{font-size:11px}.apt-h20-search-form button{min-width:78px}.apt-h20-hero h1{font-size:clamp(31px,2.7vw,43px)}.apt-h20-hero-desc{font-size:14px}.apt-h20-category{font-size:12px}.apt-h20-discovery-copy h2{font-size:23px}.apt-h20-discovery-copy p{font-size:11px}.apt-h20-card-body h3{font-size:13px}.apt-h20-card-body p{font-size:11px}.apt-h20-card-meta{font-size:10px;gap:6px}.apt-h20-discovery-filters button{font-size:10px;padding:0 7px}.apt-h20-discovery-filters .apt-h20-ic{width:17px;height:17px}.apt-h20-nearby-stats .apt-h20-ic{width:23px;height:23px}.apt-h20-nearby-stats b{font-size:16px}.apt-h20-nearby-stats small{font-size:9px}}
@media(max-width:1100px){.apt-h20-top-header{height:auto;grid-template-columns:1fr auto;gap:8px;padding:13px 18px 0}.apt-h20-brand-column{grid-column:1}.apt-h20-top-utilities{grid-column:2;padding:0;height:50px}.apt-h20-wave-nav{grid-column:1/-1;grid-row:2;height:104px}.apt-h20-brand-text strong{font-size:24px}.apt-h20-view-switch{height:35px;margin-top:0}.apt-h20-view-switch button{height:29px}.apt-h20-nav-item{font-size:11px}.apt-h20-lower-rail{margin-top:0}.apt-h20-rail-items{grid-template-columns:minmax(165px,1fr) 94px minmax(250px,1.6fr) 110px;grid-template-rows:56px auto;height:auto;padding:8px 15px;gap:8px}.apt-h20-lower-rail{height:auto;background:linear-gradient(#064e86,#002a57);border-radius:24px}.apt-h20-rail-bg{display:none}.apt-h20-welcome .apt-h20-avatar{width:42px;height:42px}.apt-h20-welcome-copy b{font-size:11px}.apt-h20-welcome-copy small{font-size:10px}.apt-h20-messages-btn{margin:0}.apt-h20-search-form{height:48px}.apt-h20-search-form button{height:38px}.apt-h20-requests-btn{grid-column:4}.apt-h20-planner-btn,.apt-h20-dashboard-btn{grid-row:2}.apt-h20-planner-btn{grid-column:2}.apt-h20-dashboard-btn{grid-column:3/5;justify-self:end;min-width:170px}.apt-h20-hero{height:165px;grid-template-columns:53% 47%;padding:10px 28px 0}.apt-h20-hero-desc{border:0;padding-left:10px}.apt-h20-skyline{opacity:.43}.apt-h20-home-content{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:11px;padding:0 15px 20px}.apt-h20-category{font-size:10px}.apt-h20-categories{gap:4px;padding:7px}.apt-h20-cat-icon{width:28px;height:28px}.apt-h20-discovery-title{gap:7px}.apt-h20-discovery-copy h2{font-size:19px}.apt-h20-discovery-copy p{font-size:10px}.apt-h20-area-btn{min-width:110px;font-size:10px;height:38px}.apt-h20-broadcast{width:33px;height:33px}.apt-h20-listing-grid{gap:7px}.apt-h20-card-image{height:104px}.apt-h20-listing-card{height:279px}.apt-h20-card-body{height:calc(100% - 104px);padding:7px}.apt-h20-card-body h3{font-size:12px}.apt-h20-card-body p{height:44px;font-size:10px}.apt-h20-card-price{font-size:12px}.apt-h20-card-meta{flex-direction:column;align-items:start;font-size:10px;gap:1px}.apt-h20-card-cta{height:28px;min-width:98px;font-size:10px}.apt-h20-type-label{height:27px;font-size:10px;left:5px}.apt-h20-featured-label{font-size:9px;padding:0 5px}.apt-h20-discovery-filters{flex-wrap:wrap;justify-content:center}.apt-h20-discovery-filters button{height:30px}.apt-h20-map-panel{height:520px}.apt-h20-nearby-summary{padding:9px 6px;min-height:128px}.apt-h20-nearby-stats .apt-h20-ic{width:19px;height:19px}.apt-h20-nearby-stats small{font-size:8px}.apt-h20-nearby-stats>div{gap:3px}}
@media(max-width:760px){.apt-h20-top-header{padding:12px 14px 0}.apt-h20-top-utilities{gap:5px}.apt-h20-brand-mark{width:36px;height:36px}.apt-h20-brand-text strong{font-size:20px}.apt-h20-brand-text small{font-size:8px}.apt-h20-view-switch button{font-size:11px;padding:0 10px}.apt-h20-top-utilities .apt-h20-lang-control,.apt-h20-top-utilities .apt-h20-task-coins{display:none}.apt-h20-top-utilities .apt-h20-account-control{height:39px;padding:0 5px;border-width:1px}.apt-h20-top-utilities .apt-h20-account-control b,.apt-h20-top-utilities .apt-h20-account-control .apt-h20-ic{display:none}.apt-h20-top-utilities .apt-h20-avatar.apt-h20-mini{width:28px;height:28px}.apt-h20-wave-nav{height:120px}.apt-h20-wave-nav-items{grid-template-columns:repeat(3,1fr);grid-template-rows:55px 50px;padding:4px}.apt-h20-wave-outline{display:none}.apt-h20-wave-nav{background:white;box-shadow:var(--apt-h20-shadow);border-radius:22px}.apt-h20-nav-item{height:49px;font-size:9px;gap:1px}.apt-h20-nav-item .apt-h20-ic{width:17px;height:17px}.apt-h20-nav-item:not(:last-child)::after{display:none}.apt-h20-nav-item.apt-h20-active{border-radius:15px}.apt-h20-create-anchor{grid-column:2;grid-row:1;z-index:20}.apt-h20-create-button{height:51px;width:51px;top:1px;border-width:4px}.apt-h20-create-button .apt-h20-ic{width:32px;height:32px}.apt-h20-wave-nav-items>.apt-h20-nav-item:nth-child(1){grid-column:1;grid-row:1}.apt-h20-wave-nav-items>.apt-h20-nav-item:nth-child(2){grid-column:3;grid-row:1}.apt-h20-wave-nav-items>.apt-h20-nav-item:nth-child(3){grid-column:1;grid-row:2}.apt-h20-wave-nav-items>.apt-h20-nav-item:nth-child(5){grid-column:2;grid-row:2}.apt-h20-wave-nav-items>.apt-h20-nav-item:nth-child(6){grid-column:3;grid-row:2}.apt-h20-wave-nav-items>.apt-h20-nav-item:nth-child(7){display:none}.apt-h20-lower-rail{margin:8px 10px 0;border-radius:22px}.apt-h20-rail-items{display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto auto;gap:7px;padding:10px}.apt-h20-welcome-shell{grid-column:1}.apt-h20-welcome{height:45px}.apt-h20-messages-btn{grid-column:2;height:36px}.apt-h20-search-form{grid-column:1/-1;grid-row:2}.apt-h20-requests-btn{grid-column:1;height:36px;grid-row:3}.apt-h20-planner-btn{grid-column:2;grid-row:3;height:36px}.apt-h20-dashboard-btn{display:none}.apt-h20-hero{display:block;height:auto;padding:28px 15px 14px}.apt-h20-hero h1{font-size:clamp(25px,7vw,38px);white-space:normal;letter-spacing:-1px}.apt-h20-hero-desc{margin-top:10px;padding:0;font-size:13px;position:relative}.apt-h20-hero-desc br{display:none}.apt-h20-skyline{width:70%;height:100px;opacity:.25}.apt-h20-top-location{top:10px;right:12px}.apt-h20-location-pill{height:30px;font-size:10px;padding:0 8px;gap:2px}.apt-h20-location-pill .apt-h20-ic{width:14px;height:14px}.apt-h20-hero-title{margin-top:8px}.apt-h20-hero-swoosh{width:170px;margin-top:7px}.apt-h20-home-content{display:flex;flex-direction:column;gap:10px;padding:0 10px 22px}.apt-h20-left-discover,.apt-h20-map-panel{width:100%}.apt-h20-categories{height:82px;gap:4px;padding:7px}.apt-h20-category{font-size:9px;border-radius:12px}.apt-h20-category .apt-h20-cat-icon{width:24px;height:24px}.apt-h20-category .apt-h20-cat-icon .apt-h20-ic{width:15px;height:15px}.apt-h20-discovery-panel{padding:9px 8px}.apt-h20-discovery-title{height:80px;padding:4px;gap:4px}.apt-h20-discovery-copy h2{font-size:18px;white-space:normal}.apt-h20-discovery-copy p{font-size:10px;flex-wrap:wrap;white-space:normal}.apt-h20-area-controls{margin:0}.apt-h20-area-btn{min-width:90px;font-size:10px;padding:0 6px;gap:2px}.apt-h20-listing-grid{grid-template-columns:repeat(3,minmax(230px,1fr));overflow-x:auto;padding-bottom:12px;scroll-snap-type:x mandatory}.apt-h20-listing-card{scroll-snap-align:start;height:295px}.apt-h20-card-image{height:130px}.apt-h20-card-body{height:calc(100% - 130px)}.apt-h20-card-body h3{font-size:13px}.apt-h20-card-body p{font-size:11px;height:38px}.apt-h20-card-meta{flex-direction:row;flex-wrap:wrap}.apt-h20-discovery-filters{gap:6px}.apt-h20-map-panel{margin-top:0;height:390px}.apt-h20-map-photo{background-size:100% 74%,auto}.apt-h20-nearby-summary{min-height:112px}.apt-h20-nearby-title h3{font-size:15px}.apt-h20-nearby-stats b{font-size:14px}.apt-h20-nearby-stats small{font-size:8px}}
@media(max-width:430px){.apt-h20-brand-text strong{font-size:18px}.apt-h20-brand-text small{font-size:7px}.apt-h20-brand-mark{width:33px;height:33px}.apt-h20-categories{gap:2px;padding:6px 4px;height:69px;border-radius:16px 16px 9px 9px}.apt-h20-category{font-size:7px;letter-spacing:-.2px}.apt-h20-cat-icon{width:22px!important;height:22px!important}.apt-h20-cat-icon .apt-h20-ic{width:12px!important;height:12px!important}.apt-h20-discovery-copy h2{font-size:16px}.apt-h20-discovery-title .apt-h20-broadcast{width:26px;height:26px}.apt-h20-area-btn{min-width:76px;font-size:9px}.apt-h20-listing-grid{grid-template-columns:repeat(3,245px)}.apt-h20-hero h1{font-size:27px}}
/* Keep the reference map's native control artwork; transparent hotspots provide demo interaction without duplicate icons. */
.apt-h20-map-controls{opacity:0;right:7px;pointer-events:auto}
@media(min-width:1551px){
  .apt-h20-top-header{grid-template-columns:295px minmax(620px,1fr) 320px;padding:12px 26px 0;gap:8px}
  .apt-h20-brand-column{padding-left:10px}
  .apt-h20-top-utilities{gap:6px}
}
/* Final AS-IS desktop alignment corrections against the approved 1672×941 reference. */
@media(min-width:1551px){
 .apt-h20-top-utilities{transform:translateX(17px)}
 .apt-h20-hero{height:156px}
 .apt-h20-discovery-title{height:86px}
 .apt-h20-listing-card{height:305px}
 .apt-h20-discovery-filters{padding-top:15px}
 .apt-h20-discovery-panel{padding-bottom:2px}
 .apt-h20-map-panel{margin-top:24px}
}
/* The approved image supplies the three sample listing photos with their sample ribbons.
   In production Claude should use real listing photos and activate these real badge components. */

@media(max-width:760px){
 .apt-h20-wave-nav{height:150px}
 .apt-h20-wave-nav-items{grid-template-rows:55px 50px 33px}
 .apt-h20-wave-nav-items>.apt-h20-nav-item:nth-child(7){display:flex;grid-column:1/4;grid-row:3;flex-direction:row;height:30px;gap:8px;border-radius:12px;font-size:10px;background:#f4f9ff}
 .apt-h20-wave-nav-items>.apt-h20-nav-item:nth-child(7) .apt-h20-ic{width:16px;height:16px}
 .apt-h20-card-meta span{position:relative;z-index:1;background:#fff}
}
@media(max-width:760px){.apt-h20-listing-grid{scrollbar-width:none;-ms-overflow-style:none}.apt-h20-listing-grid::-webkit-scrollbar{display:none}}

/* ===================================================================================================================
   3. INTEGRATION OVERRIDES (WordPress structure vs. the standalone prototype)
   =================================================================================================================== */
.apt-h20-header{position:relative;z-index:60;max-width:1920px;margin:0 auto;background:transparent}
.apt-h20-top-header{padding-left:36px;padding-right:26px}
.apt-h20-brand-column .apt-h20-brand-mark{width:auto;height:46px;flex:none}
.apt-h20-brand-text strong{color:#0b1f4a}
.apt-h20-view-switch{margin-top:7px}
.apt-h20-view-switch .aptv2-view-switch,.apt-h20-view-switch>*{margin:0}
a.apt-h20-nav-item,button.apt-h20-nav-item{background:none;border:0;text-decoration:none;color:#081f53;cursor:pointer;padding:0}
a.apt-h20-nav-item.apt-h20-active,button.apt-h20-nav-item.apt-h20-active{color:#fff;background:linear-gradient(170deg,#0870bb,#002b65)}
.apt-h20-nav-menu{position:relative;height:76px;display:flex;align-items:center;min-width:0}
.apt-h20-nav-menu .apt-h20-nav-item{width:100%}
.apt-h20-nav-menu .apt-h20-nav-item::after{display:none}
.apt-h20-wave-nav-items>a.apt-h20-nav-item:nth-child(3)::after{display:none}
.apt-h20-nav-item span{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.apt-h20-create-button{padding:0;cursor:pointer}
.apt-h20-create-menu{min-width:236px}
.apt-h20-create-menu[hidden],.apt-h20-welcome-popover[hidden],.apt-h20-area-menu[hidden]{display:none}
.apt-h20-create-menu a{display:flex;align-items:center;gap:10px;padding:12px 9px;border-radius:9px;color:#002357;font-size:14px;font-weight:800;text-decoration:none;white-space:nowrap}
.apt-h20-create-menu a:hover,.apt-h20-create-menu a:focus-visible{background:#eef7ff}
.apt-h20-create-menu .apt-h20-ic{width:20px;height:20px}
.apt-h20-business-menu{left:50%;transform:translateX(-50%);top:84px}
.apt-h20-create-anchor .apt-h20-create-menu{top:102px}
.apt-h20-top-utilities{position:relative;z-index:70}
.apt-h20-lang .aptv2-nav-trigger{background:#fff;border:0;color:#03225a;font-weight:800}
.apt-h20-coins{display:flex;align-items:center}
.apt-h20-account{position:relative}
.apt-h20-account-control{cursor:pointer;background:#fff;color:#03225a;display:flex;align-items:center;gap:6px;height:45px}
.apt-h20-account-control .apt-h20-avatar img{width:100%;height:100%;border-radius:50%;object-fit:cover}
.apt-h20-account-menu{left:auto;right:0;transform:none;top:54px;width:260px}
.apt-h20-green-count{background:#0fbe36;color:#fff;border-radius:14px;padding:2px 7px;font-style:normal;font-size:12px}
.apt-h20-utility-link{height:45px;display:flex;align-items:center;padding:0 14px;border-radius:26px;color:#03225a;font-weight:850;text-decoration:none;background:#fff;box-shadow:0 2px 4px #d8e4f3}
.apt-h20-utility-link--solid{background:#07347e;color:#fff}
.apt-h20-lower-rail{max-width:1890px}
.apt-h20-rail-bg{width:100%}
.apt-h20-rail-items a.apt-h20-rail-button,.apt-h20-rail-items a.apt-h20-dashboard-btn{text-decoration:none}
.apt-h20-rail-items a.apt-h20-rail-button{color:#fff}
.apt-h20-dashboard-btn{color:#092455}
.apt-h20-search-form svg{color:#102e62;width:20px;height:20px}
.apt-h20-search-form input[type=search]{background:transparent;border:0;box-shadow:none;padding:0;height:auto;-webkit-appearance:none}
.apt-h20-search-form input::-webkit-search-cancel-button{display:none}
.apt-h20-welcome-shell a,.apt-h20-welcome-popover a{display:inline-block;background:#042f70;color:#fff;border-radius:9px;padding:9px 14px;text-decoration:none}
.apt-h20-welcome--guest{cursor:default}
.apt-h20-rail-items--guest{grid-template-columns:minmax(260px,345px) minmax(300px,1fr)}
.apt-h20-avatar{overflow:hidden}
.apt-h20-avatar img{width:100%;height:100%;object-fit:cover}

/* ---- Home hero + discovery (left) and the existing real map widget (right) ---- */
body.apt-h20.apt-home-preview-1a-active .apt-home-preview-1a__hero{padding:0;background:transparent}
body.apt-h20.apt-home-preview-1a-active .apt-home-preview-1a__hero-inner{max-width:1920px;width:100%;display:grid;grid-template-columns:minmax(0,1.62fr) minmax(0,1fr);gap:7px;padding:0 27px 16px;align-items:start;margin:0 auto}
.apt-h20-left{min-width:0}
.apt-h20-hero{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);align-items:center;gap:24px;height:156px;padding:0 0 0 25px}
.apt-h20-hero h1{font-weight:900;font-size:clamp(30px,2.75vw,47px);letter-spacing:-1.7px;line-height:.98;margin:0;color:#09245a;white-space:nowrap}
.apt-h20-hero h1 em{font-style:normal;color:#07b33b}
.apt-h20-hero-desc{font-size:17px;font-weight:630;line-height:1.42;margin:0;padding-left:37px;border-left:1px solid #d0dfed;position:relative;z-index:3}
.apt-h20-hero-swoosh{margin:10px 0 0 4px;width:244px;height:5px;border-radius:50%;border-top:4px solid #0cc846;transform:skewX(-35deg)}
.apt-h20-demo-banner{margin:0 0 8px;padding:8px 14px;border-radius:12px;background:#fff4c7;color:#5a4300;font-size:12px;font-weight:700}
.apt-h20-categories{height:88px}
.apt-h20-category{cursor:pointer}
.apt-h20-cat-icon--all{background:#8698ac}.apt-h20-cat-icon--services{background:#e72f80}.apt-h20-cat-icon--requests{background:#0fca68}.apt-h20-cat-icon--marketplace{background:#ff8800}.apt-h20-cat-icon--materials{background:#364e65}.apt-h20-cat-icon--business{background:#12b9ad}
.apt-h20-discovery-panel{min-height:462px;display:flex;flex-direction:column}
.apt-h20-discovery-copy .apt-h20-info{white-space:normal;font-size:12px;font-weight:600;margin:4px 0 0}
.apt-h20-discovery-copy .apt-h20-info[hidden]{display:none}
.apt-h20-sep{opacity:.6}
.apt-h20-info-button{cursor:pointer}
.apt-h20-discovery-title{height:auto;min-height:80px}
.apt-h20-listing-grid{flex:1}
.apt-h20-listing-grid[hidden]{display:none}
.apt-h20-listing-card{--card-color:#0b6bde;display:block}
.apt-h20-card--request{--card-color:#07a94a}.apt-h20-card--marketplace{--card-color:#f57c00}.apt-h20-card--business{--card-color:#10a99d}.apt-h20-card--service{--card-color:#0b6bde}
.apt-h20-card-image{display:block;height:138px;position:relative;overflow:hidden;border-radius:15px 15px 14px 14px;background:#eaf3fc}
.apt-h20-card-image img{display:block;width:100%;height:100%;object-fit:cover}
.apt-h20-card-ph{position:absolute;inset:0;display:grid;place-items:center;color:var(--card-color);background:linear-gradient(145deg,#eef6ff,#dcebfb)}
.apt-h20-card-ph .apt-h20-ic{width:44px;height:44px;opacity:.8}
.apt-h20-listing-card .apt-h20-featured-label{position:absolute;top:9px;left:12px;background:linear-gradient(#fff254,#ffc900);color:#141500;height:27px;padding:0 11px;border-radius:16px;display:flex;align-items:center;gap:5px;font-weight:950;font-size:11px;box-shadow:0 2px 5px #77611144;z-index:2}
.apt-h20-listing-card .apt-h20-featured-label .apt-h20-ic{width:15px;height:15px;color:#fa6300;fill:#fc7a00}
.apt-h20-listing-card .apt-h20-type-label{position:absolute;left:10px;top:104px;z-index:2;height:34px;border-radius:19px;color:#fff;display:flex;gap:7px;align-items:center;padding:0 12px;font-size:13px;background:var(--card-color);font-weight:820;box-shadow:0 2px 4px #0003}
.apt-h20-type-label .apt-h20-ic{width:18px;height:18px}
.apt-h20-card-body{display:block}
.apt-h20-card-body h3{margin:0 0 3px;font-size:15px}
.apt-h20-card-body h3 a{color:inherit;text-decoration:none}
.apt-h20-card-meta li{display:flex;gap:2px;align-items:center;min-width:0}
.apt-h20-card-meta li span{overflow:hidden;text-overflow:ellipsis}
.apt-h20-card-meta .apt-h20-ic{width:14px;height:14px}
.apt-h20-card-cta{text-decoration:none}
.apt-h20-card-cta .apt-h20-ic{width:16px;height:16px}
.apt-h20-card--demo .apt-h20-featured-label{background:#e8eef6;color:#42526b}
.apt-h20-empty-state{flex:1;min-height:296px}
.apt-h20-empty-link{margin-top:10px;display:inline-block;background:#0b5197;color:#fff;border-radius:15px;padding:9px 16px;text-decoration:none}
.apt-h20-discovery-filters{margin-top:auto}
.apt-h20-discovery-filters button:disabled{opacity:.55;box-shadow:none}
.apt-h20-view-all{margin-left:auto;display:flex;align-items:center;gap:6px;color:#0560e8;font-weight:870;font-size:12px;text-decoration:none;padding:0 4px;white-space:nowrap}
.apt-h20-area-controls{position:relative}
.apt-h20-area-menu{position:absolute;z-index:80;right:0;top:51px;width:min(300px,86vw);background:#fff;border:1px solid #cfe1f3;border-radius:12px;padding:10px;box-shadow:0 9px 17px #2b4e7f55;color:#073166}
.apt-h20-area-form{display:flex;gap:6px}
.apt-h20-area-form input{flex:1;min-width:0;height:38px;border:1px solid #cadef7;border-radius:19px;padding:0 12px;font-size:13px;background:#fff}
.apt-h20-area-form button,.apt-h20-area-geo{height:38px;border:0;border-radius:19px;background:#0b5197;color:#fff;padding:0 14px;font-size:13px}
.apt-h20-area-geo{margin-top:8px;width:100%;background:#eef7ff;color:#073166}
.apt-h20-area-list{margin-top:6px}
.apt-h20-area-list button{width:100%;text-align:left;border:0;background:transparent;padding:10px;border-radius:7px;color:#073166;font-size:13px}
.apt-h20-area-list button:hover{background:#eef7ff}
.apt-h20-area-msg{margin:6px 2px 0;font-size:12px;font-weight:600;color:#42526b}
.apt-h20-area-msg:empty{display:none}
.apt-h20-top-location{position:relative;height:156px;display:flex;justify-content:flex-end;align-items:flex-start;padding:25px 25px 0 0;z-index:30}
.apt-h20-top-location .apt-h20-area-menu{top:72px;right:25px}

.apt-h20-location-pill{cursor:pointer}

/* real map widget: restyled as the approved rounded map card with the nearby summary overlaid */
body.apt-h20.apt-home-preview-1a-active .apt-home-preview-1a__hero-map{margin-top:0}
body.apt-h20.apt-home-preview-1a-active .apt-home-preview-1a__map-widget{position:relative;height:496px;border:7px solid #fff;border-radius:30px;box-shadow:0 6px 18px #bad3ee;overflow:hidden;background:#e5f6d5;display:block;padding:0}
body.apt-h20.apt-home-preview-1a-active .apt-home-preview-1a__topbar{position:absolute;left:12px;top:12px;z-index:6;width:auto;max-width:70%;border-radius:14px;background:#ffffffe6;padding:6px 12px;box-shadow:0 2px 8px #1c416133}
body.apt-h20.apt-home-preview-1a-active .apt-home-preview-1a__hero-map-frame{position:absolute;inset:0;height:100%;max-height:none;aspect-ratio:auto;border-radius:0}
body.apt-h20.apt-home-preview-1a-active .apt-home-preview-1a__hero-map-img{width:100%;height:100%;object-fit:cover}
body.apt-h20.apt-home-preview-1a-active .apt-home-preview-1a__activitybar{position:absolute;left:10px;right:10px;bottom:10px;z-index:6;border-radius:20px;background:linear-gradient(#fff,#f7fbff);box-shadow:0 3px 13px #7193a677;padding:14px 16px;border:0}
body.apt-h20 .apt-home-preview-1a__sidebar-stats{display:flex;gap:0;margin:0 0 6px;padding:0;list-style:none}
body.apt-h20 .apt-home-preview-1a__sidebar-stats[hidden]{display:none}
body.apt-h20 .apt-home-preview-1a__sidebar-stats li{flex:1;display:flex;flex-direction:column;align-items:center;border-right:1px solid #d9e4ee;padding:0 6px;text-align:center}
body.apt-h20 .apt-home-preview-1a__sidebar-stats li:last-child{border-right:0}
body.apt-h20 .apt-home-preview-1a__sidebar-stats strong{font-size:19px;font-weight:900;line-height:1.1;color:#121622}
body.apt-h20 .apt-home-preview-1a__sidebar-stats span{font-size:10px;color:#19325c;font-weight:650}

/* ---- Responsive (approved prototype behaviour: readable stacked hierarchy, not a shrunk desktop canvas) ---- */
@media(max-width:1550px){.apt-h20-top-header{padding:12px 20px 0}.apt-h20-hero h1{font-size:clamp(28px,2.6vw,40px)}.apt-h20-hero-desc{font-size:14px}}
@media(max-width:1100px){
  .apt-h20-wave-nav{height:104px}
  .apt-h20-rail-items--guest{grid-template-columns:minmax(165px,1fr) minmax(250px,1.6fr)}
  body.apt-h20.apt-home-preview-1a-active .apt-home-preview-1a__hero-inner{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:11px;padding:0 15px 20px}
  .apt-h20-hero{grid-template-columns:1fr;height:auto;padding:10px 12px;gap:8px}
  .apt-h20-hero h1{white-space:normal}
  .apt-h20-hero-desc{border:0;padding-left:0}
  .apt-h20-top-location{height:auto;padding:10px 10px 0 0}
}
@media(max-width:860px){
  body.apt-h20.apt-home-preview-1a-active .apt-home-preview-1a__hero-inner{display:flex;flex-direction:column;gap:10px;padding:0 10px 22px}
  .apt-h20-top-location{justify-content:flex-start;order:0;padding:0 4px;margin-top:4px}
  .apt-h20-top-location .apt-h20-area-menu{right:auto;left:0;top:48px}
  body.apt-h20.apt-home-preview-1a-active .apt-home-preview-1a__hero-map{order:3}
  body.apt-h20.apt-home-preview-1a-active .apt-home-preview-1a__map-widget{height:390px}
  .apt-h20-brand-column .apt-h20-brand-mark{height:36px}
  .apt-h20-listing-card .apt-h20-type-label{top:96px;height:27px;font-size:10px}
}
body.apt-h20-nav header.apt-h20-header{width:100%;max-width:1920px;margin-left:auto;margin-right:auto;padding:0;float:none;position:relative}
/* The account snapshot above the hero is superseded by the navy bar (Welcome back · Messages · My Requests · Planner · Dashboard). */
body.apt-h20 .apt-home-preview-1a__hub{display:none}
.apt-h20-card-image img{position:absolute;inset:0;z-index:1}
/* Phones (≤767px): the existing mobile/PWA shell (app header, search dock, bottom navigation) already replaces the website header — exactly as it hides the previous one — so there is never a duplicate nav or search. */
@media(max-width:767px){body.apt-mshell .apt-h20-header{display:none!important}}

@media(max-width:1100px){
  .apt-h20-card-image{height:104px}
  .apt-h20-listing-card .apt-h20-type-label{top:72px;height:28px;font-size:11px;left:6px}
  .apt-h20-listing-card .apt-h20-featured-label{left:8px;font-size:10px;padding:0 7px}
  .apt-h20-card-body h3{font-size:13px}
  .apt-h20-nav-menu{height:76px}
  .apt-h20-nav-menu .apt-h20-nav-item{font-size:11px}
}
@media(max-width:860px){
  .apt-h20-card-image{height:130px}
  .apt-h20-listing-card .apt-h20-type-label{top:98px}
  .apt-h20-listing-grid{grid-template-columns:repeat(3,minmax(230px,1fr));overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:12px}
  .apt-h20-listing-card{scroll-snap-align:start}
}
/* Cards grow with their content (never clip the call to action); long copy is clamped, not cut mid-line. */
.apt-h20-listing-card{height:auto;min-height:297px}
.apt-h20-card-body{height:auto;min-height:calc(297px - 138px);padding-bottom:52px}
.apt-h20-card-body p.apt-h20-card-excerpt{height:auto;max-height:none;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.apt-h20-card-meta{flex-wrap:wrap;row-gap:2px}
@media(max-width:1100px){.apt-h20-listing-card{min-height:279px}.apt-h20-card-body{height:auto;min-height:0;padding-bottom:46px}.apt-h20-card-meta{flex-direction:column;align-items:flex-start}}

/* Demo fixture only: decorative skyline from the approved artwork (never shown with real data) and a small DEMO tag; the supplied photos already carry their own ribbons, so the live badge/type pill are not drawn on top. */
.apt-h20-top-location{overflow:hidden}
.apt-h20-top-location::before{content:"";position:absolute;right:0;bottom:0;width:100%;height:146px;background:url("../img/home20-demo/skyline.webp") right bottom/cover no-repeat;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 32%);mask-image:linear-gradient(90deg,transparent 0,#000 32%);opacity:.93;pointer-events:none;z-index:0}
.apt-h20-top-location .apt-h20-location-pill{position:relative;z-index:2}
.apt-h20-card--demo .apt-h20-featured-label,.apt-h20-card--demo .apt-h20-type-label{display:none}
.apt-h20-card--demo .apt-h20-card-image::after{content:"DEMO";position:absolute;top:8px;right:8px;z-index:3;background:#fff;color:#42526b;font-size:10px;font-weight:900;letter-spacing:.06em;padding:3px 8px;border-radius:10px;box-shadow:0 1px 4px #0003}

.apt-h20-listing-card{display:flex;flex-direction:column}
.apt-h20-card-body{flex:1}
/* Contain the horizontally scrolling card rail on phones: nothing in the Home 2.0 column may widen the page. */
body.apt-h20 .apt-home-preview-1a__hero-inner{min-width:0;box-sizing:border-box}
body.apt-h20 .apt-home-preview-1a__hero-inner>*{min-width:0;max-width:100%}
.apt-h20-left,.apt-h20-discovery-panel,.apt-h20-listing-grid,.apt-h20-categories{min-width:0;max-width:100%}
.apt-h20-listing-grid{width:100%}

/* ---- Phone layout when the mobile app shell is OFF (signed-out visitors): the approved prototype's stacked hierarchy ---- */
@media(max-width:767px){
  .apt-h20-top-header{display:grid;grid-template-columns:minmax(0,1fr) auto;height:auto;padding:12px 14px 0;gap:8px;align-items:start}
  .apt-h20-brand-column{grid-column:1}
  .apt-h20-top-utilities{grid-column:2;padding:0;height:50px;gap:5px}
  .apt-h20-top-utilities .apt-h20-lang,.apt-h20-top-utilities .apt-h20-coins{display:none}
  .apt-h20-account-name,.apt-h20-account-control>.apt-h20-ic{display:none}
  .apt-h20-account-control{height:39px;padding:0 5px;border-width:1px}
  .apt-h20-utility-link{height:36px;padding:0 10px;font-size:12px}
  .apt-h20-wave-nav{grid-column:1/-1;grid-row:2;height:auto;background:#fff;box-shadow:var(--apt-h20-shadow);border-radius:22px}
  .apt-h20-wave-outline{display:none}
  .apt-h20-wave-nav-items{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:55px 50px 33px;height:auto;padding:4px}
  .apt-h20-wave-nav-items>.apt-h20-nav-menu{grid-column:2;grid-row:2;height:49px}
  .apt-h20-wave-nav-items>.apt-h20-nav-menu .apt-h20-nav-item{height:49px;font-size:9px;gap:1px}
  .apt-h20-wave-nav-items>.apt-h20-nav-menu .apt-h20-nav-item .apt-h20-ic{width:17px;height:17px}
  .apt-h20-business-menu{top:56px}
  .apt-h20-create-anchor .apt-h20-create-menu{top:58px}
  .apt-h20-lower-rail{margin:8px 10px 0}
  .apt-h20-rail-items,.apt-h20-rail-items--guest{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto auto;padding:10px;gap:7px}
  .apt-h20-rail-items--guest{grid-template-columns:minmax(0,1fr)}
  .apt-h20-search-form{grid-column:1/-1;grid-row:2}
  .apt-h20-welcome-copy small{white-space:normal}
}
/* Area chooser: the theme's generic input rules must not collapse the field. */
.apt-h20-area-menu .apt-h20-area-form input[type=text]{flex:1 1 auto;width:auto;min-width:0;height:38px;border:1px solid #cadef7;border-radius:19px;padding:0 14px;background:#fff;color:#073166;box-shadow:none;margin:0}
.apt-h20-area-menu .apt-h20-area-form button{flex:0 0 auto}
.apt-h20-area-geo{border:1px solid #cadef7;font-weight:800}
.apt-h20-area-menu .apt-h20-area-form button{width:auto;flex:0 0 auto;background:#0b5197;color:#fff;border:0;border-radius:19px;padding:0 14px;text-align:center;height:38px}
.apt-h20-area-menu .apt-h20-area-geo{width:100%;text-align:center;background:#eef7ff;color:#073166;border:1px solid #cadef7;border-radius:19px;padding:0 14px;margin-top:8px}
.apt-h20-area-menu .apt-h20-area-list button{width:100%;text-align:left;background:transparent;padding:10px;border:0}


/* ===================================================================================================================
   4. REFINEMENT 1B (visual restore) — the Featured cards keep the approved 1A proportions (no overrides here).
      Only what the data change needs: an empty state INSIDE the card grid footprint, and the approved map card
      (full-bleed map, floating "Nearby today" panel, white control stack, teardrop category markers).
   =================================================================================================================== */
/* empty state sits where the cards sit — same footprint as one card row */
.apt-h20-empty-state{box-sizing:border-box;flex:none;height:297px;min-height:297px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:4px;padding:18px 24px;margin:0 6px;border:1px dashed #cadef7;border-radius:15px;background:linear-gradient(#fbfdff,#f3f8ff)}
.apt-h20-empty-state[hidden]{display:none}
.apt-h20-empty-state h3{margin:0;font-size:17px;font-weight:850;color:#082a63}
.apt-h20-empty-state p{margin:0;font-size:13px;font-weight:600;color:#4a5f82;max-width:420px}
.apt-h20-empty-state::before{content:"";width:44px;height:44px;margin-bottom:6px;border-radius:50%;background:#e8f1fd url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b5197' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3 2.6 5.8 6.2.6-4.7 4.2 1.4 6.2L12 16.8 6.5 19.8l1.4-6.2-4.7-4.2 6.2-.6L12 3Z'/%3E%3C/svg%3E") center/24px no-repeat}

/* map card: the existing 496px rounded frame; map fills it, the Nearby panel floats over the bottom */
body.apt-h20.apt-home-preview-1a-active .apt-home-preview-1a__hero-map{min-width:0}
.apt-h20-map-card{position:relative;width:100%;box-sizing:border-box;height:496px;border:7px solid #fff;border-radius:30px;box-shadow:0 6px 18px #bad3ee;overflow:hidden;background:#e5f6d5;color:#001a51}
.apt-h20-map{position:absolute;inset:0;overflow:hidden;background:#dfe9dc}
.apt-h20-map-tiles{position:absolute;inset:0}
.apt-h20-map-tiles img{position:absolute;width:256px;height:256px;max-width:none;user-select:none;-webkit-user-drag:none}
.apt-h20-map-pins{position:absolute;inset:0;pointer-events:none}
.apt-h20-map-radius{position:absolute;transform:translate(-50%,-50%);border:2px dashed #0b519799;border-radius:50%;background:#0b519710;pointer-events:none}
.apt-h20-map-centre{position:absolute;width:12px;height:12px;transform:translate(-50%,-50%);border-radius:50%;background:#0b6bde;border:3px solid #fff;box-shadow:0 0 0 6px #0b6bde33}
.apt-h20-pin{position:absolute;pointer-events:auto;width:40px;height:40px;margin:-50px 0 0 -20px;border-radius:50% 50% 50% 0;transform:rotate(-45deg);display:grid;place-items:center;border:3px solid #fff;box-shadow:0 4px 9px #0005;--pin:#0b6bde;background:var(--pin);text-decoration:none}
.apt-h20-pin svg{width:21px;height:21px;transform:rotate(45deg);fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.apt-h20-pin:hover,.apt-h20-pin:focus-visible{z-index:5;outline:3px solid #5fa9ff;outline-offset:2px}
.apt-h20-pin--services{--pin:#0b6bde}.apt-h20-pin--requests{--pin:#07a94a}.apt-h20-pin--marketplace{--pin:#f57c00}.apt-h20-pin--business{--pin:#10a99d}
.apt-h20-map-place{position:absolute;left:50%;top:44%;transform:translateX(-50%);z-index:3;font-size:22px;font-weight:900;color:#10213f;text-shadow:0 0 4px #fff,0 0 8px #fff,0 0 12px #fff;pointer-events:none;white-space:nowrap;max-width:80%;overflow:hidden;text-overflow:ellipsis}
.apt-h20-map-controls{position:absolute;right:12px;top:12px;z-index:4;display:flex;flex-direction:column;background:#fff;border-radius:12px;box-shadow:0 2px 9px #1c416144;opacity:1!important;pointer-events:auto}
.apt-h20-map-controls button{width:38px;height:38px;border:0;background:transparent;font-size:23px;font-weight:800;color:#0a2554;line-height:1;display:grid;place-items:center;cursor:pointer;padding:0}
.apt-h20-map-controls button+button{border-top:1px solid #dce8f8}
.apt-h20-map-controls button:hover,.apt-h20-map-controls button:focus-visible{background:#eef7ff}
/* location needed: the map stays; a compact chip sits over it */
.apt-h20-map-prompt{position:absolute;left:14px;top:14px;z-index:4;margin:0;max-width:calc(100% - 80px);padding:9px 14px;border-radius:14px;background:#ffffffee;box-shadow:0 2px 8px #1c416133;font-size:13px;font-weight:800;color:#0a2554}
.apt-h20-map-prompt[hidden],.apt-h20-map-place[hidden]{display:none}
.apt-h20-map-attrib{position:absolute;right:0;top:0;z-index:2;background:#ffffffcc;font-size:10px;font-weight:600;padding:1px 6px;border-radius:0 0 0 6px}
.apt-h20-map-attrib a{color:#0b5197}
.apt-h20-nearby{position:absolute;left:10px;right:10px;bottom:10px;z-index:5;padding:12px 16px;border-radius:20px;background:linear-gradient(#fff,#f7fbff);box-shadow:0 3px 13px #7193a677}
.apt-h20-nearby-head{display:flex;justify-content:space-between;align-items:baseline}
.apt-h20-nearby-head h2{margin:0;font-size:21px;font-weight:900;color:#0a2554}
.apt-h20-nearby-link{display:inline-flex;align-items:center;gap:4px;font-size:13px;font-weight:850;color:#0560e8;text-decoration:none}
.apt-h20-nearby-stats{display:flex;margin:8px 0 0;padding:0;list-style:none}
.apt-h20-stat{flex:1 1 0;min-width:0;display:grid;grid-template-columns:auto auto;grid-template-rows:auto auto;column-gap:8px;align-items:center;justify-content:center;padding:0 6px;border-right:1px solid #d9e4ee}
.apt-h20-stat:last-child{border-right:0}
.apt-h20-stat[hidden]{display:none}
.apt-h20-stat .apt-h20-ic{grid-row:1/3;width:28px;height:28px}
.apt-h20-stat strong{font-size:22px;font-weight:900;line-height:1.05;color:#0a1b3d}
.apt-h20-stat span{font-size:11px;font-weight:700;color:#31507d;line-height:1.1}
.apt-h20-stat--services .apt-h20-ic{color:#0b6bde}.apt-h20-stat--requests .apt-h20-ic{color:#07a94a}.apt-h20-stat--marketplace .apt-h20-ic{color:#f57c00}.apt-h20-stat--business .apt-h20-ic{color:#7a45c7}
/* the honest scope line: shown only when there are no stats to show */
.apt-h20-nearby-note{margin:6px 0 0;font-size:12px;font-weight:650;color:#42526b}
.apt-h20-nearby-note:empty,.apt-h20-nearby-note[hidden]{display:none}
@media(max-width:860px){.apt-h20-map-card{height:430px}.apt-h20-stat{grid-template-columns:auto;justify-items:center;text-align:center}.apt-h20-stat .apt-h20-ic{grid-row:auto;width:20px;height:20px}.apt-h20-map-place{font-size:18px}}

/* ===================================================================================================================
   5. REFINEMENT 1B — the remaining Home sections follow the approved wave navigation (navy #001a51, blue #0064db,
      green #06bb35, white rounded cards, soft blue shadow). Scoped to body.apt-h20 only.
   =================================================================================================================== */
/* Hero only: these re-tokens used to sit on the whole page and recoloured the lower homepage sections (green->blue, text->navy). */
body.apt-h20.apt-home-preview-1a-active .apt-home-preview-1a__hero{--apt-home-primary:#0560e8;--apt-home-text:#001a51}
body.apt-h20.apt-home-preview-1a-active .apt-home-preview-1a__services,
body.apt-h20.apt-home-preview-1a-active .apt-home-preview-1a__requests,
body.apt-h20.apt-home-preview-1a-active .apt-home-preview-1a__svc-discovery{padding-top:1.5rem;padding-bottom:1.5rem}
body.apt-h20.apt-home-preview-1a-active .apt-home-preview-1a__section-header h2,
body.apt-h20.apt-home-preview-1a-active .apt-home-preview-1a__trust-panel-copy h2,
body.apt-h20.apt-home-preview-1a-active .apt-home-preview-1a__how h2,
body.apt-h20.apt-home-preview-1a-active .apt-home-preview-1a__pro-cta-copy h2{color:#001a51;font-weight:900;letter-spacing:-.02em}
body.apt-h20.apt-home-preview-1a-active .apt-home-preview-1a__section-link{display:inline-flex;align-items:center;gap:6px;background:#fff;border:1px solid #cfe1f3;border-radius:999px;padding:8px 16px;color:#0560e8;font-weight:850;font-size:.85rem;box-shadow:0 2px 6px #d8e4f3}
body.apt-h20.apt-home-preview-1a-active .apt-home-preview-1a__section-link::after{content:"→";font-weight:900}
body.apt-h20.apt-home-preview-1a-active .apt-home-preview-1a__section-link:hover,
body.apt-h20.apt-home-preview-1a-active .apt-home-preview-1a__section-link:focus-visible{background:#eef7ff}
body.apt-h20.apt-home-preview-1a-active .apt-home-preview-1a__service-card{background:linear-gradient(170deg,#0b2a66,#001a51);border:0;border-radius:18px;color:#fff;box-shadow:0 5px 13px rgba(22,73,133,.16)}
body.apt-h20.apt-home-preview-1a-active .apt-home-preview-1a__service-card:hover{box-shadow:0 8px 18px rgba(22,73,133,.28)}
body.apt-h20.apt-home-preview-1a-active .apt-home-preview-1a__service-card span{color:#fff}
body.apt-h20.apt-home-preview-1a-active .apt-home-preview-1a__trust-panel,
body.apt-h20.apt-home-preview-1a-active .apt-home-preview-1a__how-panel,
body.apt-h20.apt-home-preview-1a-active .apt-home-preview-1a__trust-point{border:1px solid #dce8f8;border-radius:22px;box-shadow:0 5px 13px rgba(22,73,133,.12)}
body.apt-h20.apt-home-preview-1a-active .apt-home-preview-1a__eyebrow{color:#0560e8;font-weight:900}
body.apt-h20.apt-home-preview-1a-active .apt-home-preview-1a__pro-cta-action a,
body.apt-h20.apt-home-preview-1a-active .apt-home-preview-1a__pro-cta-action .apt-home-preview-1a__btn{background:#06bb35;border-radius:999px;font-weight:850}
.apt-h20-nearby-head h2 small{font-size:11px;font-weight:650;color:#69819d;margin-left:6px}

@media(max-width:860px){.apt-h20-nearby-head h2 small{display:none}.apt-h20-nearby-head h2{font-size:18px}.apt-h20-stat span{font-size:10px;white-space:nowrap}.apt-h20-stat strong{font-size:18px}.apt-h20-nearby{padding:10px 10px}}
body.apt-h20.apt-home-preview-1a-active .apt-home-preview-1a__hero-map{width:100%;align-self:stretch}

/* ===== SECTION 6 — RESTORE TO THE APPROVED "AskPerTask Home 2.0 Dashboard (1)" (13 Nov, owner correction) =====
   White rounded category pills (All = blue), skyline art behind the hero, panel with rounded top; ONLY the three Featured
   cards are made moderately smaller (same image-led structure). Desktop only (this sheet is media-gated at >=1296px). */
body.apt-h20-nav .apt-h20-categories{height:auto;display:flex;justify-content:space-between;gap:12px;margin:2px 0 16px;padding:0 11px;background:none;border-radius:0;box-shadow:none}
body.apt-h20-nav .apt-h20-category{flex:0 1 auto;flex-direction:row;height:46px;padding:0 22px;gap:9px;background:#fff;border:1px solid #e3edf9;border-radius:24px;color:#0b2659;font-size:15px;font-weight:800;box-shadow:0 4px 10px rgba(22,73,133,.13);white-space:nowrap}
body.apt-h20-nav .apt-h20-category.apt-h20-active{background:linear-gradient(#0a66dc,#0449b0);border-color:#0449b0;color:#fff;box-shadow:0 4px 9px rgba(5,80,190,.35)}
body.apt-h20-nav .apt-h20-category .apt-h20-cat-icon{width:auto;height:auto;background:none;box-shadow:none;border-radius:0;color:#0b2659;display:inline-flex}
body.apt-h20-nav .apt-h20-category .apt-h20-cat-icon .apt-h20-ic{width:22px!important;height:22px!important;stroke-width:1.9}
body.apt-h20-nav .apt-h20-category[data-apt-h20-cat="all"] .apt-h20-cat-icon{display:none}
body.apt-h20-nav .apt-h20-discovery-panel{border:1px solid #dce9f9;border-radius:27px}
/* Featured cards: moderately smaller (was ~307px high, 138px image). */
body.apt-h20-nav .apt-h20-listing-grid{gap:11px}
body.apt-h20-nav .apt-h20-listing-card{min-height:0;height:auto;border-radius:15px}
body.apt-h20-nav .apt-h20-card-image{height:112px;border-radius:13px 13px 12px 12px}
body.apt-h20-nav .apt-h20-card-ph .apt-h20-ic{width:36px;height:36px}
body.apt-h20-nav .apt-h20-listing-card .apt-h20-featured-label{top:7px;left:9px;height:22px;padding:0 9px;font-size:10px;gap:4px}
body.apt-h20-nav .apt-h20-listing-card .apt-h20-featured-label .apt-h20-ic{width:13px;height:13px}
body.apt-h20-nav .apt-h20-listing-card .apt-h20-type-label{top:81px;left:8px;height:27px;padding:0 10px;gap:5px;font-size:12px}
body.apt-h20-nav .apt-h20-type-label .apt-h20-ic{width:16px;height:16px}
body.apt-h20-nav .apt-h20-card-body{min-height:0;padding:7px 10px 40px}
body.apt-h20-nav .apt-h20-card-body h3{font-size:14px;margin-bottom:2px}
body.apt-h20-nav .apt-h20-card-body p.apt-h20-card-excerpt{font-size:11.5px;margin-bottom:2px;line-height:1.25}
body.apt-h20-nav .apt-h20-card-price{font-size:13px;margin-bottom:2px}
body.apt-h20-nav .apt-h20-card-meta{font-size:10.5px;row-gap:1px}
body.apt-h20-nav .apt-h20-card-cta{height:28px;min-width:112px;bottom:8px;right:9px;font-size:11.5px;padding:0 10px}
body.apt-h20-nav .apt-h20-empty-state{height:236px;min-height:236px}
/* The app's bottom navigation never shows on the Home 2.0 desktop (it stays on phones / the installed app, where this sheet is not applied). */
body.apt-h20 .apt-pwa-nav{display:none!important}
body.apt-h20.apt-pwa-in-app{padding-bottom:0!important}
body.apt-h20.apt-pwa-in-app .cky-consent-container,body.apt-h20.apt-pwa-in-app .cky-consent-bar{bottom:20px!important}
/* Cards keep their own (smaller) height: the grid no longer stretches them to fill the panel. */
body.apt-h20-nav .apt-h20-discovery-panel{min-height:0}
body.apt-h20-nav .apt-h20-listing-grid{flex:none;min-height:0;align-items:start}
/* Hero skyline: soft on every side, reaches the page edge, stays above the map. */
body.apt-h20-nav .apt-h20-top-location{overflow:visible}
body.apt-h20-nav .apt-h20-top-location::before{right:-27px;bottom:24px;width:calc(100% + 27px);height:140px;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 30%),linear-gradient(180deg,transparent 0,#000 16%,#000 78%,transparent 100%);mask-image:linear-gradient(90deg,transparent 0,#000 30%),linear-gradient(180deg,transparent 0,#000 16%,#000 78%,transparent 100%);-webkit-mask-composite:source-in;mask-composite:intersect}
body.apt-h20-nav .apt-h20-top-location::before{left:44px;width:auto}
/* Three Featured cards share one height (the tallest), image slightly shorter again. */
body.apt-h20-nav .apt-h20-listing-grid{align-items:stretch}
body.apt-h20-nav .apt-h20-card-image{height:104px}
body.apt-h20-nav .apt-h20-listing-card .apt-h20-type-label{top:73px}
body.apt-h20-nav .apt-h20-card-body{padding:6px 10px 38px}
body.apt-h20-nav .apt-h20-card-meta{flex-wrap:nowrap;gap:8px}
/* Visual-design pass: image-led cards (full-height image so the artwork reads), ~14% shorter than the approved 300px card by moving the action onto the price row. */
body.apt-h20-nav .apt-h20-card-image{height:138px}
body.apt-h20-nav .apt-h20-listing-card .apt-h20-type-label{top:105px}
body.apt-h20-nav .apt-h20-card-body{min-height:0;padding:8px 10px 18px;display:flex;flex-direction:column}
body.apt-h20-nav .apt-h20-card-body h3{line-height:1.2;margin-bottom:1px}
body.apt-h20-nav .apt-h20-card-body p.apt-h20-card-excerpt{line-height:1.22;margin-bottom:0}
body.apt-h20-nav .apt-h20-card-price{display:block;height:24px;line-height:24px;margin:0}
body.apt-h20-nav .apt-h20-card-meta{margin:6px 0 0;padding:0;height:15px;line-height:15px}
body.apt-h20-nav .apt-h20-card-cta{bottom:39px;right:10px;height:24px;min-width:102px;font-size:11px}
body.apt-h20-nav .apt-h20-empty-state{height:262px;min-height:262px}
body.apt-h20-nav .apt-h20-card--demo .apt-h20-card-image img{object-position:center}
/* Integration pass: 1440px fixes (help icon clear of the wave nav; long card titles wrap instead of truncating) and the card action stays on the price row when cards stretch. */
@media(min-width:1296px) and (max-width:1550px){body.apt-h20-nav .apt-h20-view-switch .apt-vs__opt{padding-left:7px!important;padding-right:7px!important;font-size:11px!important}body.apt-h20-nav .apt-h20-view-switch .apt-vs{gap:2px}body.apt-h20-nav .apt-h20-view-switch .apt-vs__info{width:30px;min-width:30px;margin-left:0}body.apt-h20-nav .apt-h20-card-title{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:clip;line-height:1.2}}
body.apt-h20-nav .apt-h20-card-price{margin-top:auto}
/* LOWER RIBBON — restored from the original Figma Make source (.lower-wave / .global-search / WelcomeSummary). Desktop only (this sheet loads at >=1296px). Real identity, counts and links are rendered by the template; guests keep the same three-zone geometry (welcome | search under the green + | empty). */
body.apt-h20-nav .apt-h20-lower-rail{margin:0 15px;max-width:none;height:84px;background:none;border-radius:0;box-shadow:none}
body.apt-h20-nav .apt-h20-rail-bg{display:block;height:84px}
body.apt-h20-nav .apt-h20-rail-items,body.apt-h20-nav .apt-h20-rail-items--guest{height:84px;padding:13px 20px;grid-template-columns:347px 145px minmax(420px,1fr) 190px 125px 184px;gap:8px;align-items:center}
/* Keep the six authenticated slots stable even when an optional URL is unavailable.
   Derived from the upper + centre: left 347/145 vs right 190/125/184 at >=1551,
   left 280/125 vs right 211/108/165 at <=1550. Search centres match + at 1672 and 1440. */
body.apt-h20-nav .apt-h20-rail-items:not(.apt-h20-rail-items--guest) > .apt-h20-welcome-shell{grid-column:1}
body.apt-h20-nav .apt-h20-rail-items:not(.apt-h20-rail-items--guest) > .apt-h20-messages-btn{grid-column:2}
body.apt-h20-nav .apt-h20-rail-items:not(.apt-h20-rail-items--guest) > .apt-h20-search-form{grid-column:3}
body.apt-h20-nav .apt-h20-rail-items:not(.apt-h20-rail-items--guest) > .apt-h20-requests-btn{grid-column:4}
body.apt-h20-nav .apt-h20-rail-items:not(.apt-h20-rail-items--guest) > .apt-h20-planner-btn{grid-column:5}
body.apt-h20-nav .apt-h20-rail-items:not(.apt-h20-rail-items--guest) > .apt-h20-dashboard-btn{grid-column:6}
body.apt-h20-nav .apt-h20-rail-items--guest .apt-h20-welcome-shell{grid-column:1/3}
body.apt-h20-nav .apt-h20-rail-items--guest .apt-h20-search-form{grid-column:3}
body.apt-h20-nav .apt-h20-welcome{height:56px;padding:0 12px 0 0;gap:10px;border-right:1px solid rgba(255,255,255,.25)}
body.apt-h20-nav .apt-h20-rail-items--guest .apt-h20-welcome{border-right:0}
body.apt-h20-nav .apt-h20-welcome .apt-h20-avatar{width:50px;height:50px;border:2px solid rgba(255,255,255,.15)}
body.apt-h20-nav .apt-h20-welcome-copy b{display:block;font-size:16px}
body.apt-h20-nav .apt-h20-welcome-copy small{display:block;font-size:13px;margin-top:3px}
body.apt-h20-nav .apt-h20-rail-items a.apt-h20-rail-button{height:48px;padding:0 12px;background:transparent;border:0;border-right:1px solid rgba(255,255,255,.23);border-radius:0;gap:8px;font-size:15px;font-weight:800}
body.apt-h20-nav .apt-h20-rail-items .apt-h20-messages-btn{background:rgba(0,50,110,.35);border:1px solid rgba(255,255,255,.10);border-radius:27px;margin-right:0}
body.apt-h20-nav .apt-h20-rail-items .apt-h20-green-count{background:#00d237;border-radius:15px;padding:2px 7px}
body.apt-h20-nav .apt-h20-search-form{height:54px;display:grid;grid-template-columns:27px 1fr 99px;gap:7px;align-items:center;border-radius:29px;padding:4px 5px 4px 18px;box-shadow:0 4px 12px rgba(0,23,70,.22)}
body.apt-h20-nav .apt-h20-search-form svg{width:22px;height:22px}
body.apt-h20-nav .apt-h20-search-form input[type=search]{width:100%;font-size:13px;font-weight:700;color:#12285a}
body.apt-h20-nav .apt-h20-search-form input::placeholder{color:#152657}
body.apt-h20-nav .apt-h20-search-form button{height:44px;min-width:0;border-radius:24px;background:linear-gradient(#13ce4a,#00ae2c);font-weight:900;font-size:14px}
body.apt-h20-nav .apt-h20-dashboard-btn{height:46px;border-radius:25px;font-size:13px;font-weight:900;gap:9px}
body.apt-h20-nav .apt-h20-dashboard-btn .apt-h20-ic{width:19px;height:19px}
@media(max-width:1550px){body.apt-h20-nav .apt-h20-rail-items,body.apt-h20-nav .apt-h20-rail-items--guest{grid-template-columns:280px 125px minmax(360px,1fr) 211px 108px 165px}body.apt-h20-nav .apt-h20-rail-items a.apt-h20-rail-button{font-size:14px;padding:0 8px}}
@media(max-width:1350px){body.apt-h20-nav .apt-h20-rail-items,body.apt-h20-nav .apt-h20-rail-items--guest{grid-template-columns:250px 110px minmax(300px,1fr) 190px 100px 150px}}
/* Guest: fixed three zones, search centred under the green + (the + sits 8px left of the rail centre above 1550px, 44px left at or below it). */
body.apt-h20-nav .apt-h20-rail-items--guest{--apt-h20-plus-o:-8px;grid-template-columns:calc(50% + var(--apt-h20-plus-o) - 278px) 540px 1fr}
body.apt-h20-nav .apt-h20-rail-items--guest .apt-h20-welcome-shell{grid-column:1}
@media(max-width:1550px){body.apt-h20-nav .apt-h20-rail-items--guest{--apt-h20-plus-o:-44px}}
body.apt-h20-nav .apt-h20-rail-items--guest .apt-h20-search-form{grid-column:2}
/* Design-preview label: out of the page flow so the approved composition is not pushed down. */
body.apt-h20-nav .apt-h20-demo-banner{position:fixed;left:50%;bottom:10px;transform:translateX(-50%);z-index:90;margin:0;padding:5px 14px;border-radius:16px;background:#fff4c7;color:#5a4300;font-size:11px;box-shadow:0 2px 8px rgba(0,0,0,.18);pointer-events:none;white-space:nowrap}
/* FINAL DESKTOP VISUAL CORRECTION (approved 1672 reference): typeface + sizes of the two navigation levels. Desktop only (this sheet loads at >=1296px). The wave SVG is frozen and not touched here.
   Root cause of the small/lighter look: the header never declared a family, so buttons/links fell back to the browser sans-serif. The theme's own already-loaded "Nunito Sans" (the Figma source family) is used; no new font request. */
body.apt-h20-nav .apt-h20-header,body.apt-h20-nav .apt-h20-header button,body.apt-h20-nav .apt-h20-header input,body.apt-h20-nav .apt-h20-header a{font-family:"Nunito Sans","DM Sans",sans-serif}
body.apt-h20-nav .apt-h20-nav-item{font-size:15px;font-weight:800}
body.apt-h20-nav .apt-h20-rail-items a.apt-h20-rail-button{font-size:16px;font-weight:800}
body.apt-h20-nav .apt-h20-welcome-copy b{font-size:17px;font-weight:800}
body.apt-h20-nav .apt-h20-welcome-copy small{font-size:14px;font-weight:600}
body.apt-h20-nav .apt-h20-search-form input[type=search]{font-size:15px;font-weight:600;min-width:0;text-overflow:ellipsis}
body.apt-h20-nav .apt-h20-search-form button{font-size:16px;font-weight:900}
body.apt-h20-nav .apt-h20-dashboard-btn{font-size:15px;font-weight:900}
body.apt-h20-nav .apt-h20-rail-items .apt-h20-green-count{font-size:14px;font-weight:900;padding:2px 8px;line-height:20px}
body.apt-h20-nav .apt-h20-rail-items .apt-h20-messages-btn{border-color:rgba(255,255,255,.2)}
body.apt-h20-nav .apt-h20-lang .aptv2-nav-trigger,body.apt-h20-nav .apt-h20-account-control{font-size:15px;font-weight:800}
body.apt-h20-nav .apt-h20-lang .aptv2-nav-trigger{padding-left:6px;padding-right:6px}
body.apt-h20-nav .apt-h20-coins .apt-coin-chip{height:40px;padding:0 12px 0 7px;gap:7px;background:#fff;border:1px solid #e3ebfa;box-shadow:0 2px 8px rgba(8,31,83,.08);color:#081f53;font-size:15px;font-weight:800}
body.apt-h20-nav .apt-h20-coins .apt-coin-icon{width:24px;height:24px}
body.apt-h20-nav .apt-h20-account-control .apt-h20-account-name{font-size:15px;font-weight:800}
@media(max-width:1550px){
body.apt-h20-nav .apt-h20-nav-item{font-size:12.5px}
body.apt-h20-nav .apt-h20-rail-items a.apt-h20-rail-button{font-size:14px}
body.apt-h20-nav .apt-h20-welcome-copy b{font-size:15px}
body.apt-h20-nav .apt-h20-welcome-copy small{font-size:12.5px}
/* 1296-1550: the full placeholder must fit between the icon and the Search button (not clipped or hidden under it). */
body.apt-h20-nav .apt-h20-search-form{grid-template-columns:24px 1fr 88px;gap:6px;padding-left:16px}
body.apt-h20-nav .apt-h20-search-form input[type=search]{font-size:11.5px}
body.apt-h20-nav .apt-h20-search-form button{font-size:14px}
body.apt-h20-nav .apt-h20-dashboard-btn{font-size:13px}
body.apt-h20-nav .apt-h20-rail-items .apt-h20-green-count{font-size:12px}
body.apt-h20-nav .apt-h20-lang .aptv2-nav-trigger,body.apt-h20-nav .apt-h20-account-control{font-size:13px}
body.apt-h20-nav .apt-h20-lang .aptv2-nav-trigger{padding-left:9px;padding-right:1px}
body.apt-h20-nav .apt-h20-coins .apt-coin-chip{height:36px;padding:0 10px 0 6px;gap:6px;font-size:13px}
body.apt-h20-nav .apt-h20-coins .apt-coin-icon{width:20px;height:20px}
body.apt-h20-nav .apt-h20-account-control .apt-h20-account-name{font-size:13px}
}
/* Edge cases (1296-1550): clear the language control from the nav outline (utilities shift 10px toward the edge, as the >=1551 layout already does) and keep the whole search placeholder readable at 1296-1350. */
@media(max-width:1550px){body.apt-h20-nav .apt-h20-top-utilities{transform:translateX(10px)}body.apt-h20-nav .apt-h20-lang .aptv2-nav-trigger{padding-left:12px}}
@media(max-width:1350px){body.apt-h20-nav .apt-h20-search-form{grid-template-columns:20px 1fr 76px;gap:4px;padding-left:12px}body.apt-h20-nav .apt-h20-search-form input[type=search]{font-size:10.5px}}

/* 7. INTEGRATION 1A: narrow desktop (1296-1599px) — the four stat items stack (icon, number, label) so they never overlap in the map card. */
@media(max-width:1599px){.apt-h20-stat{grid-template-columns:auto;grid-template-rows:auto;justify-items:center;text-align:center;row-gap:1px;padding:0 2px}.apt-h20-stat .apt-h20-ic{grid-row:auto;width:22px;height:22px}.apt-h20-stat strong{font-size:19px}.apt-h20-stat span{font-size:10px;white-space:nowrap}}

/* ===== FINAL INTEGRATION: global desktop navigation + Featured category CTA (all rules scoped apt-h20-*) ===== */
span.apt-h20-nav-item--off{display:flex;align-items:center;justify-content:center;gap:6px;color:#8a97b3;cursor:not-allowed;opacity:.75}
.apt-h20-finds-menu{left:50%;transform:translateX(-50%);top:84px;min-width:260px}
.apt-h20-menu-unavailable{display:flex;align-items:center;gap:10px;padding:12px 9px;border-radius:9px;color:#8a97b3;font-size:14px;font-weight:800;cursor:not-allowed;white-space:nowrap}
.apt-h20-menu-unavailable .apt-h20-ic{width:20px;height:20px}
body.apt-h20-nav .apt-h20-finds-menu a,body.apt-h20-nav .apt-h20-menu-unavailable{font-size:14px}
/* Five selectors (no "All"): spread evenly, none active by default. */
body.apt-h20-nav .apt-h20-categories{justify-content:space-between}
.apt-h20-category-cta{display:flex;justify-content:center;padding:14px 6px 0}
.apt-h20-category-cta[hidden]{display:none}
.apt-h20-category-cta-link{display:inline-flex;align-items:center;gap:10px;min-height:48px;padding:0 30px;border-radius:26px;background:linear-gradient(#0a66dc,#0449b0);color:#fff;font-size:17px;font-weight:900;text-decoration:none;box-shadow:0 6px 14px rgba(5,80,190,.35);white-space:nowrap}
.apt-h20-category-cta-link:hover{background:linear-gradient(#0c72f0,#0551c4);color:#fff}
.apt-h20-category-cta-link .apt-h20-ic{stroke-width:2.4}
.apt-h20-view-all[hidden]{display:none}
.apt-h20-empty-link[hidden]{display:none}
