.ks-mobile-menu-toggle,.ks-drawer-saved-label{display:none}
#ks-mobile-menu{box-sizing:border-box;position:fixed;inset:0 auto 0 0;margin:0;width:min(78vw,320px);height:100%;height:100dvh;max-height:100%;max-width:none;border:0;padding:24px 20px calc(24px + env(safe-area-inset-bottom));background:#fff;color:#203543;overflow-y:auto;font-family:inherit}
#ks-mobile-menu::backdrop{background:rgb(0 0 0 / 48%)}
#ks-mobile-menu .ks-drawer-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-bottom:24px;border-bottom:1px solid #e4e9eb}
#ks-mobile-menu .ks-drawer-head img{width:140px;height:auto}
#ks-mobile-menu [data-close-menu]{background:transparent;border:0;color:#203543;font-size:32px;width:44px;height:44px;cursor:pointer}
#ks-mobile-menu nav{display:flex;flex-direction:column;gap:0}
#ks-mobile-menu a{color:#203543;text-decoration:none;font-size:16px;font-weight:600}
#ks-mobile-menu .ks-drawer-home,#ks-mobile-menu .ks-saved-link{display:flex;align-items:center;gap:12px;padding:20px 0;width:100%;box-sizing:border-box;border-bottom:1px solid #e4e9eb;position:relative}
#ks-mobile-menu .ks-drawer-saved-label{display:inline}
#ks-mobile-menu [data-saved-count]{position:static;margin-left:auto;background:#dd454b;color:white;border-radius:20px;min-width:22px;padding:2px 6px;text-align:center;font-size:12px}
#ks-mobile-menu [hidden]{display:none!important}
#ks-mobile-menu .ks-drawer-settings{padding:22px 0}
#ks-mobile-menu h2{font-size:14px;font-weight:600;margin:0 0 14px;color:#697a83}
#ks-mobile-menu .ks-preferences{display:flex;flex-direction:column;align-items:stretch;gap:14px}
#ks-mobile-menu .ks-preferences>*,#ks-mobile-menu .ks-language-trigger,#ks-mobile-menu select{width:100%;max-width:none;box-sizing:border-box}
#ks-mobile-menu .ks-language-trigger,#ks-mobile-menu select{height:48px;min-height:48px;font-size:15px;border:1px solid #d6dfe3;border-radius:8px;background:#fff;color:#203543;padding:10px 12px}
#ks-mobile-menu .ks-language-menu{position:static;width:100%;margin-top:6px;box-shadow:none}
#ks-mobile-menu .ks-advertise-button{display:flex;justify-content:center;align-items:center;min-height:48px;border-radius:9px;background:#c34b10;color:white;padding:8px 12px;margin-top:10px}
#ks-mobile-menu :focus-visible{outline:3px solid #19749a;outline-offset:3px}
@media(max-width:760px){
 body.ks-shell header.ks-top.ks-mobile-menu-ready{display:grid!important;grid-template-columns:44px minmax(0,1fr) 44px!important;align-items:center!important;gap:10px!important;min-height:76px!important;height:auto!important;padding:10px 16px!important}
 body.ks-shell header.ks-top.ks-mobile-menu-ready>.ks-mobile-menu-toggle{display:flex!important;align-items:center;justify-content:center;background:transparent;color:#203543;border:0;padding:0;width:44px;height:44px;cursor:pointer}
 body.ks-shell header.ks-top.ks-mobile-menu-ready>.ks-logo{justify-self:center;margin:0!important;width:auto!important}
 body.ks-shell header.ks-top.ks-mobile-menu-ready>.ks-logo img{display:block;width:138px!important;max-width:100%;height:auto!important}
 body.ks-shell header.ks-top.ks-mobile-menu-ready>nav{display:flex!important;width:44px!important;min-width:0!important;margin:0!important;padding:0!important}
 body.ks-shell header.ks-top.ks-mobile-menu-ready nav>a.ks-account-link.ks-account-link{display:flex!important;visibility:visible!important;align-items:center!important;justify-content:center!important;flex:0 0 44px!important;width:44px!important;min-width:44px!important;max-width:44px!important;height:44px!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important;color:#203543!important}
 body.ks-shell header.ks-top.ks-mobile-menu-ready nav>a.ks-account-link .ks-account-icon{display:block!important;width:20px!important;height:20px!important;flex:0 0 20px!important;stroke-width:2.3;color:#203543}
 body.ks-shell header.ks-top.ks-mobile-menu-ready nav>a.ks-account-link .ks-account-text{display:none!important}
 body.ks-shell header.ks-top.ks-mobile-menu-ready nav>a.ks-account-link .ks-menu-unread:not([hidden]){position:absolute!important;right:-4px!important;top:-3px!important;margin:0!important;min-width:18px!important;font-size:10px!important}
}
#ks-mobile-menu .ks-language-trigger,#ks-mobile-menu .ks-language-option{display:flex;align-items:center;gap:10px;font-family:inherit;cursor:pointer}
#ks-mobile-menu .ks-language-trigger [data-ks-current-language]{flex:1;text-align:left}
#ks-mobile-menu .ks-language-trigger img,#ks-mobile-menu .ks-language-option img{width:24px;height:16px;object-fit:cover;flex:0 0 24px}
#ks-mobile-menu .ks-language-option{width:100%;padding:12px;border:0;border-radius:5px;background:white;color:#203543;font-size:15px;text-align:left}
#ks-mobile-menu .ks-language-option:hover,#ks-mobile-menu .ks-language-option[aria-pressed="true"]{background:#edf4f7}

/* RC461: compact drawer and matching preference controls. */
#ks-mobile-menu .ks-saved-link{gap:9px;font-size:15px}
#ks-mobile-menu .ks-saved-link svg{flex:0 0 23px}
#ks-mobile-menu .ks-saved-link [data-saved-count]:not([hidden]){display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto;width:26px;min-width:26px;height:26px;min-height:26px;box-sizing:border-box;padding:0!important;line-height:1!important;border-radius:50%!important;font-size:13px;font-weight:600}
#ks-mobile-menu .ks-preferences .ks-language-trigger,
#ks-mobile-menu .ks-preferences select[data-ks-currency]{border:1px solid #d6dfe3!important;border-radius:8px!important;height:48px!important;min-height:48px!important;box-sizing:border-box!important}
#ks-mobile-menu .ks-preferences select[data-ks-currency]{appearance:none!important;-webkit-appearance:none!important;background-color:#fff!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23203543' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-size:18px 18px!important;background-position:right 12px center!important;padding:10px 40px 10px 12px!important}
#ks-mobile-menu .ks-language-chevron{width:18px!important;height:18px!important;flex:0 0 18px!important}

/* RC466: compact profile menu, outside header layout. */
#ks-profile-menu{display:none}
@media(max-width:760px){
 #ks-profile-menu:not([hidden]){display:flex;position:fixed;z-index:100001;flex-direction:column;width:200px;max-width:calc(100vw - 24px);box-sizing:border-box;padding:6px;background:#fff;border:1px solid #e3e8eb;border-radius:12px;box-shadow:0 8px 28px rgba(20,45,62,.18)}
 #ks-profile-menu a{display:flex;align-items:center;min-height:46px;padding:10px 14px;box-sizing:border-box;color:#203543;font-family:inherit;font-size:15px;font-weight:600;line-height:1.35;text-decoration:none;border-radius:7px}
 #ks-profile-menu a:hover,#ks-profile-menu a:focus-visible{background:#f1f5f7}
 #ks-profile-menu a:focus-visible{outline:2px solid #c34b10;outline-offset:-2px}
 #ks-profile-menu a.ks-profile-logout{border-top:1px solid #e4e9eb;border-radius:0 0 7px 7px;color:#bd382f;margin-top:4px}
}

/* RC467: mobile owner property cards. */
.ks-object-more[hidden],.ks-object-more-menu[hidden]{display:none!important}
@media(max-width:760px){
 body.ks-shell .ks.ks-dashboard .ks-object-manage.ks-object-compact{position:relative;display:grid;grid-template-columns:112px minmax(0,1fr);gap:14px;padding:16px!important;overflow:visible;align-items:start}
 body.ks-shell .ks.ks-dashboard .ks-object-compact>img,body.ks-shell .ks.ks-dashboard .ks-object-compact>.ks-placeholder{width:112px;height:160px;object-fit:cover;border-radius:10px}
 body.ks-shell .ks.ks-dashboard .ks-object-compact .ks-object-manage-body{padding-right:0;min-width:0}
 body.ks-shell .ks.ks-dashboard .ks-object-compact .ks-object-manage-top{display:flex;flex-direction:column;gap:7px;margin-bottom:8px;padding-right:30px}
 body.ks-shell .ks.ks-dashboard .ks-object-compact h3{font-size:16px;line-height:1.3;white-space:normal;overflow-wrap:anywhere}
 body.ks-shell .ks.ks-dashboard .ks-object-compact .ks-object-manage-badges{margin:0;max-width:100%;align-items:flex-start;text-align:left}
 body.ks-shell .ks.ks-dashboard .ks-object-compact .ks-object-status-note{text-align:left}
 body.ks-shell .ks.ks-dashboard .ks-object-compact .ks-object-manage-body>p{display:none}
 body.ks-shell .ks.ks-dashboard .ks-object-compact .ks-object-manage-body>.ks-actions{display:flex;flex-direction:column;align-items:stretch;gap:6px;width:100%;max-width:100%;margin:0;padding:0;border:0}
 body.ks-shell .ks.ks-dashboard .ks-object-compact .ks-object-manage-body>.ks-actions>a{display:flex;align-items:center;justify-content:center;width:100%;min-height:36px;padding:7px 10px;line-height:1.3;box-sizing:border-box;border:1px solid #d6e0e5;border-radius:6px;background:#fff;font-size:13px;text-decoration:none}
 body.ks-shell .ks.ks-dashboard .ks-object-compact .ks-object-manage-body>.ks-actions>a[href*="tab=edit"]{background:#fff4ec;border-color:#edc7af;color:#ad4319!important}
 body.ks-shell .ks.ks-dashboard .ks-object-compact>.ks-object-more{position:absolute;top:9px;right:5px;width:40px;min-height:44px;padding:0;background:transparent;border:0;color:#365360!important;border-radius:8px}
 body.ks-shell .ks.ks-dashboard .ks-object-compact>.ks-object-more:hover{background:#f0f4f6}
 body.ks-shell .ks.ks-dashboard .ks-object-menu-open{z-index:20}
 body.ks-shell .ks.ks-dashboard .ks-object-compact>.ks-object-more-menu{position:absolute;top:54px;right:12px;width:200px;max-width:calc(100% - 24px);padding:6px;background:white;border:1px solid #dfe6e9;border-radius:10px;box-shadow:0 8px 24px #142d3e26;z-index:21}
 body.ks-shell .ks.ks-dashboard .ks-object-more-menu>a,body.ks-shell .ks.ks-dashboard .ks-object-more-menu form button{display:flex;align-items:center;justify-content:flex-start;width:100%;min-height:44px;margin:0;padding:10px 12px;background:transparent;border:0;border-radius:6px;color:#27536c!important;font-size:14px;font-weight:600;line-height:1.4;text-align:left;text-transform:none;text-decoration:none!important}
 body.ks-shell .ks.ks-dashboard .ks-object-more-menu form{display:block;margin:4px 0 0;border-top:1px solid #e7ecef}
 body.ks-shell .ks.ks-dashboard .ks-object-more-menu form button[data-ks-confirm-hide]{color:#b94132!important}
 body.ks-shell .ks.ks-dashboard .ks-object-more-menu>a:hover,body.ks-shell .ks.ks-dashboard .ks-object-more-menu form button:hover{background:#f1f5f7}
}

/* RC472: preserve the complete title and compact actions when it wraps. */
@media(max-width:760px){
 body.ks-shell .ks.ks-dashboard .ks-object-compact.ks-object-long-title .ks-object-manage-body>.ks-actions{gap:5px}
 body.ks-shell .ks.ks-dashboard .ks-object-compact.ks-object-long-title .ks-object-manage-body>.ks-actions>a{min-height:28px;padding:4px 8px;font-size:12px}
}

/* RC475: stable menu geometry; profile artwork matches its visible height. */
@media(max-width:760px){
 body.ks-shell header.ks-top.ks-mobile-menu-ready>.ks-mobile-menu-toggle>svg{display:block;width:26px!important;height:26px!important;flex-shrink:0}
}
