body[data-app=home]{--green:#0d5946;--border:#e0e9e5;--muted:#65766f;background:#f8faf8;color:#172a27}
body[data-app=home] .shell{display:block}
body[data-app=home] #sidebar{display:none}
body[data-app=home] .workspace{width:100%}
body[data-app=home] #main{margin:0;padding:0;max-width:none}
body[data-app=home] .workspace>header{display:none}
body[data-app=home] .hd-rail{position:fixed;inset:0 auto 0 0;width:216px;height:100dvh;padding:25px 15px 20px;background:#103d32;border:0;color:#eef8f2;z-index:12}
body[data-app=home] .hd-logo{padding:0 10px;margin:0 0 28px;color:white}
body[data-app=home] .hd-logo img{display:none}
body[data-app=home] .hd-logo>span{font-size:24px;letter-spacing:-1px;color:white}
body[data-app=home] .hd-logo small{font-size:11px;color:#b7d2c7;letter-spacing:0}
body[data-app=home] .hd-rail nav{gap:3px}
body[data-app=home] .hd-rail nav a{min-height:43px;padding:9px 11px;color:#d4e5dd;border-radius:9px}
body[data-app=home] .hd-rail nav a span{font-size:14px}
body[data-app=home] .hd-rail nav a:hover,body[data-app=home] .hd-rail nav .selected{background:#ffffff1b;color:white}
body[data-app=home] .hd-rail hr{border-color:#ffffff2a}
body[data-app=home] .hd-nav-label{display:block;padding:0 11px 7px;color:#abc9ba;font-size:11px;letter-spacing:.08em}
body[data-app=home] .hd-rail-bottom{border-top:1px solid #ffffff30}
body[data-app=home] .hd-rail-bottom>button,body[data-app=home] .hd-rail-bottom>a,body[data-app=home] .hd-rail-bottom #home-profile{color:#d4e5dd}
body[data-app=home] .hd-rail-bottom #home-profile small{color:#a8c7b8}
body[data-app=home] .hd-avatar{background:#dff0e9;color:#104333}
.hm-page{margin-left:216px;min-height:100dvh;background:#fafbf9}
.hm-topbar{height:70px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:0 26px;border-bottom:1px solid #e2e9e5;background:#fff}
.hm-topbar form,.hm-app-search{width:min(560px,65%);height:42px;display:flex;align-items:center;gap:10px;padding:0 14px;border:1px solid #dce6e1;border-radius:9px;color:#536960;background:#fcfdfc}
.hm-topbar form>span,.hm-app-search>span{font-size:23px;line-height:1}
.hm-topbar input,.hm-app-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#182b26;font:inherit;font-size:14px}
.hm-top-actions{display:flex;align-items:center;gap:15px}
.hm-top-actions>a:first-child{font-size:23px;color:#28584b}
.hm-account{display:flex;align-items:center;gap:10px;min-width:36px;height:36px;padding-right:7px;border-radius:50%;background:#d7e9de;color:#164534;font-size:14px;font-weight:700}
.hm-account span{white-space:nowrap;background:#fff;font-weight:500;color:#273c36}
.hm-main{max-width:1510px;margin:0 auto;padding:24px 26px 32px}
.hm-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}
.hm-heading h1{font-size:clamp(25px,2.4vw,34px);line-height:1.2;letter-spacing:-.8px;margin:0;color:#19302a}
.hm-heading p{font-size:14px;color:#6b7a73;margin:5px 0 0;text-transform:capitalize}
.hm-heading button,.hm-outline{border:1px solid #b7d0c3;background:#fff;color:#164b3b;border-radius:8px;padding:10px 14px;font:inherit;font-size:13px;white-space:nowrap}
.hm-heading button:hover,.hm-outline:hover{background:#eff7f2}
.hm-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr) minmax(0,1fr);gap:13px;align-items:stretch}
.hm-card{min-width:0;min-height:180px;padding:16px 17px;background:#fff;border:1px solid #e0e8e3;border-radius:11px;box-shadow:0 2px 7px #17342a08}
.hm-card-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:8px}
.hm-card-head h2{font-size:16px;line-height:1.25;margin:0;color:#1e352e}
.hm-card-head>a{color:#245c46;font-size:12px;white-space:nowrap}
.hm-featured{padding:0;overflow:hidden;background:linear-gradient(135deg,#e5f0e9,#bcd8ca)}
.hm-feature-photo{background:linear-gradient(135deg,#123d35,#1c725a 62%,#b8d9a5);color:white}
.hm-feature-link{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;gap:7px;width:100%;height:100%;min-height:180px;padding:18px 19px;color:#163a2b}
.hm-feature-photo .hm-feature-link{color:white;text-shadow:0 1px 9px #102f2888}
.hm-feature-label{font-size:12px;font-weight:700;letter-spacing:.02em}
.hm-feature-link strong{font-size:clamp(20px,2vw,27px);line-height:1.12}
.hm-feature-link small{font-size:13px}
.hm-feature-action{margin-top:5px;padding:8px 11px;background:#fff;color:#174638;border-radius:7px;font-size:12px;font-weight:700;text-shadow:none}
.hm-row{display:flex;align-items:center;gap:10px;min-width:0;min-height:44px;padding:7px 0;border-bottom:1px solid #eef1ee;color:#2a3934}
.hm-row:last-child{border:0}
.hm-row:hover strong{color:#0e7050}
.hm-row>span:last-child{min-width:0}
.hm-row strong{display:block;font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hm-row small{display:block;color:#7b8981;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hm-row time{min-width:39px;font-size:12px;font-weight:650;color:#344c40}
.hm-row img{width:29px;height:29px;object-fit:contain;border-radius:6px}
.hm-dot{width:7px;height:7px;border-radius:50%;background:#127453;flex-shrink:0}
.hm-check{width:17px;height:17px;border:1.5px solid #9aaca1;border-radius:4px;flex-shrink:0}
.hm-chat-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;background:#e5f2ec;color:#0c6244;font-style:normal;font-size:27px;flex-shrink:0}
.hm-shopping{display:flex;flex-direction:column;align-items:flex-start;gap:7px;padding:13px 0}
.hm-shopping>span{font-size:24px;color:#ba7a34}
.hm-shopping p{margin:0;color:#52635a;font-size:13px}
.hm-shopping a{color:#155b40;font-size:13px;font-weight:600}
.hm-empty{margin:17px 0;color:#788a80;font-size:13px;line-height:1.5}
.hm-favorites{grid-column:span 2;min-height:128px}
.hm-fav-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
.hm-fav{display:flex;flex-direction:column;align-items:center;gap:5px;padding:7px 2px;min-width:0;border-radius:8px;color:#2b3c35}
.hm-fav:hover{background:#f3f8f4}
.hm-fav img{width:38px;height:38px;object-fit:contain;border-radius:9px}
.hm-fav span{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.hm-dates{min-height:128px}
.hm-footer{display:flex;align-items:center;gap:11px;margin-top:15px;color:#798980;font-size:11px}
.hm-atlas-details{margin-top:13px;padding:12px 15px;border:1px solid #e0e8e3;border-radius:9px;background:#fff;font-size:13px;color:#315540}
.hm-atlas-details summary{cursor:pointer;font-weight:600}
.hm-atlas-details>div{margin-top:12px;color:#253c2e}
.hm-footer span{margin-right:auto}
.hm-footer button{border:0;background:transparent;color:#1b6045;font:inherit}
.hm-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.hm-preferences{position:fixed;inset:0 0 0 auto;margin:0 0 0 auto;width:min(440px,100vw);height:100dvh;max-height:none;max-width:none;padding:0;border:0;border-radius:0;background:#fff;color:#20342b;box-shadow:-12px 0 35px #08291e33}
.hm-preferences::backdrop{background:#10251c7a}
.hm-preferences form{height:100%;display:flex;flex-direction:column}
.hm-pref-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:22px;border-bottom:1px solid #e5ece7}
.hm-pref-head h2{font-size:22px;margin:0 0 5px}
.hm-pref-head p{font-size:13px;color:#718077;margin:0}
.hm-pref-head button{border:0;background:none;font-size:27px;color:#53665b}
.hm-pref-body{overflow-y:auto;padding:12px 22px;flex:1}
.hm-pref-body h3{font-size:15px;margin:14px 0}
.hm-option{display:flex;align-items:center;gap:11px;min-height:40px;padding:6px 0;border-bottom:1px solid #edf1ed;font-size:13px}
.hm-option input{accent-color:#0c6347;width:17px;height:17px;flex-shrink:0}
.hm-option img{width:26px;height:26px;object-fit:contain}
.hm-pref-hint{font-size:12px;color:#718077}
#home-favorite-options{display:grid;grid-template-columns:1fr 1fr;gap:0 15px}
.hm-pref-actions{display:flex;gap:10px;padding:17px 22px;border-top:1px solid #e5ece7}
.hm-pref-actions button{flex:1;border:1px solid #bdd0c4;border-radius:8px;padding:11px;font:inherit;font-size:13px;background:#fff;color:#19503d}
.hm-pref-actions #home-pref-save{background:#0d6547;color:white;border-color:#0d6547}
.hm-app-filters{display:flex;gap:8px;flex-wrap:wrap;margin:17px 0 22px}
.hm-app-filters button{padding:8px 14px;border:1px solid #e0e8e2;background:white;border-radius:8px;color:#42594d;font:inherit;font-size:13px}
.hm-app-filters button[aria-pressed=true]{background:#10513b;color:white;border-color:#10513b}
.hm-app-section{margin-top:20px}
.hm-app-section h2{font-size:19px;margin:0 0 13px}
.hm-app-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.hm-app-tile{display:flex;align-items:center;gap:10px;min-height:84px;padding:12px;border:1px solid #e0e8e3;border-radius:10px;background:#fff;color:#2a3c32;min-width:0}
.hm-app-tile:hover{border-color:#8ebba1;background:#f7fbf8}
.hm-app-tile img{width:43px;height:43px;object-fit:contain;border-radius:10px;flex-shrink:0}
.hm-app-tile>span:nth-child(2){min-width:0;flex:1}
.hm-app-tile strong,.hm-app-tile small{display:block;overflow:hidden;text-overflow:ellipsis}
.hm-app-tile strong{font-size:14px}
.hm-app-tile small{font-size:11px;color:#738579;line-height:1.35;max-height:2.7em}
.hm-app-tile>span:last-child{color:#397155}
.hm-activity-list{max-width:900px;background:#fff;border:1px solid #e0e8e3;border-radius:10px;padding:5px 18px}
.hm-activity-list>a{display:flex;align-items:center;gap:16px;padding:13px 0;border-bottom:1px solid #edf1ed;color:#243b30}
.hm-activity-list>a:last-child{border:0}
.hm-activity-list>a>span:first-child{flex:1}
.hm-activity-list strong,.hm-activity-list small{display:block}
.hm-activity-list strong{font-size:14px}
.hm-activity-list small,.hm-activity-list time{font-size:12px;color:#75877b}
@media(max-width:1150px){.hm-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hm-featured,.hm-favorites{grid-column:span 1}.hm-app-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){body[data-app=home] #main{padding:calc(var(--home-bar-height,52px) + 8px) 0 12px}body[data-app=home] .hd-rail{width:min(310px,calc(100vw - 48px));background:#103d32}body[data-app=home] .home-mobile-bar{background:#103d32;color:white;border:0}body[data-app=home] #home-menu-toggle{color:white}.hm-page{margin:0;min-height:calc(100dvh - 60px)}.hm-topbar{height:58px;padding:0 15px}.hm-topbar form,.hm-app-search{width:min(100%,480px)}.hm-account span{display:none}.hm-main{padding:17px 14px 25px}.hm-heading{align-items:flex-start}.hm-heading h1{font-size:25px}.hm-heading button{padding:8px;font-size:12px}.hm-grid{grid-template-columns:1fr}.hm-featured,.hm-favorites{grid-column:auto}.hm-card{min-height:0}.hm-feature-link{min-height:168px}.hm-fav-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hm-app-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.hm-footer span{display:none}}
@media(max-width:420px){.hm-heading{flex-direction:column}.hm-app-cards{grid-template-columns:1fr}.hm-top-actions{gap:7px}}
body[data-app=home] #main:has(>.integrated-space)>.hd-rail{background:#103d32;color:#eef8f2}
body[data-app=home] #main:has(>.integrated-space)>.hd-rail .home-menu-close{color:#fff}
body[data-app=home] #main:has(>.integrated-space)>.home-mobile-bar{background:#103d32;border-color:#103d32;box-shadow:2px 2px 12px #09231b44}
body[data-app=home] #main:has(>.integrated-space) #home-menu-toggle{color:#fff}

/* Align the live dashboard with the approved desktop composition. */
body[data-app=home] .hd-rail{background:#073f32}
body[data-app=home] .hd-rail{overflow:hidden;padding-top:15px;padding-bottom:12px}
body[data-app=home] .hd-logo{margin-bottom:8px;padding-bottom:0}
body[data-app=home] .hd-rail nav{gap:1px;margin-top:0;min-height:0}
body[data-app=home] .hd-rail nav a{min-height:32px;padding:5px 10px}
body[data-app=home] .hd-rail nav svg{width:18px;height:18px}
body[data-app=home] .hd-rail-bottom{gap:1px;padding-top:6px}
body[data-app=home] .hd-rail-bottom>button,body[data-app=home] .hd-rail-bottom>a{min-height:31px;padding:5px 10px}
@media(max-height:700px){body[data-app=home] .hd-rail{padding-top:9px;padding-bottom:7px}body[data-app=home] .hd-logo{margin-bottom:3px}body[data-app=home] .hd-rail nav a{min-height:27px;padding:3px 9px}body[data-app=home] .hd-rail-bottom>button,body[data-app=home] .hd-rail-bottom>a{min-height:27px;padding:3px 9px}}
body[data-app=home] .hd-logo{margin-bottom:24px}
body[data-app=home] .hd-logo small{display:none}
body[data-app=home] .hd-rail nav a{font-size:14px}
.hm-page{background:#fff}
.hm-topbar{height:66px;padding:0 25px}
.hm-topbar form{height:40px;background:#fff;border-color:#d4ddea}
.hm-top-actions>a:first-child{display:grid;place-items:center;width:31px;height:35px}
.hm-top-actions svg{width:23px;height:23px}
.hm-main{padding:15px 25px 24px}
.hm-heading{margin-bottom:15px}
.hm-heading h1{font-size:clamp(27px,2.3vw,34px);color:#172b4b}
.hm-heading p{font-size:15px;color:#62738d;margin-top:2px}
.hm-heading-actions{display:flex;align-items:center;gap:20px}
.hm-heading-actions time{font-size:14px;color:#415774;text-transform:capitalize;white-space:nowrap}
.hm-heading button{border-color:#cdd8e7;color:#1e365a}
.hm-grid{grid-template-columns:minmax(0,1.37fr) minmax(0,1fr) minmax(0,1fr);gap:12px}
.hm-card{min-height:210px;padding:16px;border-color:#dfe6ee;border-radius:9px;box-shadow:0 1px 4px #24334a09}
.hm-card-head h2{font-size:16px;color:#192c49}
.hm-card-head>a{color:#1c3b63}
.hm-featured{padding:0;min-height:210px}
.hm-feature-photo{background:#8ca9bc url('/home-lisbon-v2.png') center 60%/cover no-repeat}
.hm-feature-link{position:relative;isolation:isolate;min-height:210px;padding:19px 22px;color:#fff;text-shadow:0 1px 6px #112a42}
.hm-feature-link:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,#082943a8 0%,#0c2c4944 54%,transparent 100%)}
.hm-feature-link strong{font-size:clamp(20px,2vw,27px);max-width:95%}
.hm-feature-link small{font-size:13px}
.hm-feature-action{margin-top:7px;border-radius:20px;padding:8px 17px;color:#1a3557}
.hm-row{min-height:51px;border-color:#e7edf2}
.hm-row strong{font-size:13px;color:#243957}
.hm-row small{font-size:11px;color:#60738d}
.hm-row time{min-width:43px;color:#31557c}
.hm-empty{font-size:13px;color:#647991}
.hm-shopping{height:150px;justify-content:center;gap:11px;padding:5px 0}
.hm-shopping-illustration{display:grid;gap:10px;width:100%}
.hm-shopping-illustration i{display:block;height:1px;margin-left:26px;background:#e6ebf1;position:relative}
.hm-shopping-illustration i:before{content:'';position:absolute;left:-25px;top:-7px;width:15px;height:15px;border:1px solid #9cb0c7;border-radius:3px}
.hm-shopping p{color:#63748a}
.hm-shopping a{color:#235483}
.hm-favorites,.hm-dates{min-height:142px}
.hm-fav-grid{gap:5px}
.hm-fav img{width:40px;height:40px}
.hm-fav span{color:#203451}
@media(max-width:1150px){.hm-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.hm-topbar{height:58px;padding:0 15px}.hm-main{padding:16px 14px 26px}.hm-heading-actions time{display:none}.hm-grid{grid-template-columns:1fr}.hm-card{min-height:0}.hm-featured,.hm-feature-link{min-height:205px}.hm-favorites,.hm-dates{min-height:0}}
.hm-heading p{text-transform:none}
@media(min-width:761px){.hm-topbar{height:60px}.hm-card{min-height:184px;padding:13px 15px}.hm-featured{min-height:190px;padding:0}.hm-feature-link{min-height:190px}.hm-row{min-height:44px;padding:5px 0}.hm-favorites,.hm-dates{min-height:130px}.hm-fav{padding:3px 2px}.hm-fav img{width:36px;height:36px}.hm-main{padding-top:13px}.hm-heading{margin-bottom:13px}.hm-shopping{height:145px}}
body[data-app=home] #main:has(>.integrated-space)>.hd-rail{overflow:hidden;padding-top:12px;padding-bottom:9px}
@media(max-width:760px){body[data-app=home] .hd-rail{z-index:42;overflow:hidden;padding-top:10px;padding-bottom:8px}body[data-app=home] .hd-rail .hd-logo{margin-bottom:7px}body[data-app=home] .hd-rail nav{gap:1px}body[data-app=home] .hd-rail nav a{min-height:31px;padding:4px 10px}body[data-app=home] .hd-rail-bottom{gap:1px;padding-top:5px}body[data-app=home] .hd-rail-bottom>button,body[data-app=home] .hd-rail-bottom>a{min-height:30px;padding:4px 10px}body[data-app=home] #main:has(>.integrated-space)>.hd-rail{overflow:hidden;padding-top:9px;padding-bottom:7px}}
@media(max-height:650px){body[data-app=home] .hd-rail nav a{min-height:26px;padding:2px 9px}body[data-app=home] .hd-rail-bottom>button,body[data-app=home] .hd-rail-bottom>a{min-height:25px;padding:2px 9px}}
body[data-app=home] .hd-rail .home-menu-close{color:#fff}
@media(max-width:760px){
 .hm-main{padding:13px 14px 22px}
 .hm-heading{gap:8px;margin-bottom:11px}
 .hm-heading h1{font-size:23px;line-height:1.18}
 .hm-heading p{font-size:13px;line-height:1.35}
 .hm-heading-actions button{padding:7px 10px}
 .hm-grid{display:flex;flex-direction:column;gap:10px}
 .hm-grid>.hm-featured{order:-2;min-height:160px}
 .hm-featured .hm-feature-link{min-height:160px;padding:15px 17px}
 .hm-grid>.hm-favorites{order:-1}
 .hm-grid>.hm-card:not(.hm-featured){padding:13px 14px}
 .hm-card-head{margin-bottom:5px}
 .hm-fav-grid{gap:2px 5px}
 .hm-fav{padding:4px 2px}
 .hm-fav img{width:34px;height:34px}
 .hm-row{min-height:43px;padding:5px 0}
 .hm-shopping{height:auto;min-height:0;gap:5px;padding:4px 0}
 .hm-shopping-illustration{display:none}
}
