/* Same-page help on the home desktop; follows the shared form font and action theme. */
.ask-genie{box-sizing:border-box;min-width:0;border:1px solid #a9bbaa;border-radius:12px;background:#fffdf3;color:#193c31;padding:14px 18px;box-shadow:0 3px 12px #102b3220;font:var(--form-size,13px)/1.4 var(--form-font,'Segoe UI'),sans-serif;text-align:left}
.ask-genie .genie-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
.ask-genie .genie-heading h2{display:flex;align-items:center;gap:7px}.ask-genie .genie-icon{width:30px;height:30px;flex:0 0 30px;object-fit:contain}
.ask-genie .genie-window-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}.ask-genie .genie-window-actions button{white-space:normal}
.ask-genie .genie-size-tools{display:flex;justify-content:space-between;gap:8px;flex:0 0 auto;margin-top:8px}.ask-genie .genie-resize-handle{cursor:nwse-resize;touch-action:none;user-select:none;display:inline-flex;align-items:center;gap:6px}
.ask-genie .genie-body{min-height:0;overflow:auto;flex:1}.ask-genie .genie-heading{flex:0 0 auto}
body .home-layout .home-with-genie .ask-genie{display:flex;flex-direction:column;max-width:100%;max-height:calc(100dvh - var(--home-footer-clearance,66px) - 24px)}
body .home-layout .home-with-genie .ask-genie.genie-minimized{height:auto!important;width:auto!important}
.ask-genie .genie-body[hidden]{display:none!important}
.ask-genie.genie-minimized .genie-heading{margin-bottom:0}
body .home-layout .home-with-genie .ask-genie.genie-maximized{position:absolute;inset:12px 12px auto;z-index:4;width:auto!important;height:calc(100dvh - var(--home-footer-clearance,66px) - 24px)!important;max-height:calc(100% - 24px);margin:0;display:flex;flex-direction:column;max-width:none;box-shadow:0 6px 24px #173c3940}
.ask-genie.genie-maximized .genie-heading{flex:0 0 auto}.ask-genie.genie-maximized .genie-body{flex:1;min-height:0;display:flex;flex-direction:column;overflow:auto;padding:3px}
.ask-genie.genie-maximized .genie-reply{flex:1;max-height:none;min-height:80px}.ask-genie.genie-maximized .genie-teaching{max-height:none;flex:1}.ask-genie.genie-maximized textarea{min-height:180px}
body .home-layout .home-with-genie:has(.genie-maximized){overflow:hidden}
.ask-genie .genie-heading h2{font-size:1.25em;margin:0;color:#214f3c}.ask-genie .genie-heading p{margin:2px 0 0;color:#50685c}
.ask-genie label{display:block;font-weight:600}.ask-genie input,.ask-genie textarea{box-sizing:border-box;width:100%;min-width:0;font:inherit;color:#182e24;background:white;border:1px solid #a6b5a7;border-radius:5px;padding:6px 9px;min-height:var(--form-height,28px)}
.ask-genie :is(input,textarea,button):focus-visible{outline:3px solid #328264;outline-offset:2px}
/* Inset the question so the scrollable body leaves room for its 5px focus ring. */
.ask-genie .genie-query{box-sizing:border-box;min-width:0;padding:5px 6px 2px}
.ask-genie .genie-query>div{display:flex;gap:8px;margin-top:4px}.ask-genie .genie-query button{flex:0 0 auto;min-width:64px}
.ask-genie .genie-query>div{flex-wrap:wrap;align-items:flex-start}.ask-genie .genie-query input{flex:1;min-width:80px;width:auto}.ask-genie .genie-speech{display:contents}.ask-genie .genie-speech button[aria-pressed="true"]{border-color:#a63030;color:#8a2020;background:#fff0e9}.ask-genie .genie-speech-status{order:4;flex-basis:100%;font-size:.9em;line-height:1.3;color:#465d4c}
.ask-genie .genie-query>.genie-language{align-items:center;gap:8px;margin-bottom:8px}
body .ask-genie.entry-screen .genie-language select{max-width:180px;min-width:110px;width:auto;font:inherit;line-height:normal;min-height:max(var(--form-height,28px),calc(var(--form-size,13px) * 1.5 + 6px));height:auto;border:1px solid #a6b5a7;border-radius:5px;background:white;color:#182e24;padding:2px 6px}
body .ask-genie.entry-screen #genie-question,.ask-genie .genie-reply,.ask-genie .genie-language select{font-family:var(--form-font,'Segoe UI'),'Nirmala UI',Mangal,sans-serif!important}
@container(max-width:420px){.ask-genie .genie-query input{flex-basis:100%}}
.ask-genie .genie-reply{max-height:130px;overflow:auto;overflow-wrap:anywhere;border-left:3px solid #87aa85;padding:5px 10px;margin-top:10px;background:#f0f5e9;white-space:pre-wrap}.ask-genie .genie-reply p{margin:2px 0 5px}.ask-genie .genie-reply button{display:block;max-width:100%;text-align:left;white-space:normal;margin:5px 0}
.ask-genie .genie-footnote{font-size:.9em;color:#526359;margin:7px 0 0}.ask-genie .genie-notice{margin:6px 0;color:#275b39}.ask-genie .genie-teaching{max-height:235px;overflow:auto;padding:3px}.ask-genie .genie-teaching p{margin:0 0 8px}.ask-genie .genie-teaching label{margin-bottom:7px}.ask-genie .vfp-actions{display:flex;flex-wrap:wrap;gap:8px}
body .home-layout .home-with-genie{overflow:auto}
body .home-layout .home-with-genie .ask-genie{flex:0 0 auto;width:calc(100% - 190px);margin:0 0 5px}
body .home-layout .home-with-genie .locksmith-home-company{padding-top:6px;padding-bottom:8px}
body .home-layout .home-with-genie .locksmith-home-logo{width:110px;max-height:100px;margin-bottom:8px}
body .home-layout .home-with-genie h1{font-size:24px;margin-bottom:8px}
body .home-layout .home-with-genie .locksmith-home-company p{font-size:14px;line-height:1.3}
@container(max-width:620px){body .home-layout .home-with-genie .ask-genie{width:100%;margin:0 0 10px}.ask-genie{padding:12px}.ask-genie .genie-heading{align-items:flex-start;flex-wrap:wrap}}

.ask-genie [data-genie-move]{cursor:move;touch-action:none;user-select:none}.ask-genie [data-genie-move]:focus-visible{outline:3px solid #328264;outline-offset:2px}.ask-genie.genie-maximized [data-genie-move]{cursor:default}.ask-genie [data-genie-move] button{cursor:pointer}
.ask-genie .genie-reply{max-height:min(360px,45dvh)}
.ask-genie .genie-destinations{list-style:none;margin:10px 0 0;padding:0;white-space:normal}
.ask-genie .genie-destinations li{padding:8px 0;border-top:1px solid #cad8c4}
.ask-genie .genie-destinations small{display:block;overflow-wrap:anywhere;color:#344d40}
.ask-genie .genie-destinations p{font-size:.92em;margin-top:5px}
.ask-genie .genie-match-paging{display:flex;flex-wrap:wrap;align-items:center;gap:6px;border-top:1px solid #cad8c4;padding-top:8px;margin-top:8px}.ask-genie .genie-match-paging span{width:100%}
.ask-genie .genie-match-paging,.ask-genie .genie-store-toolbar{position:sticky;top:0;z-index:2;background:#f0f5e9;padding:8px 0;margin:6px 0 10px;border-bottom:1px solid #cad8c4;white-space:normal}
.ask-genie .genie-store-toolbar label{display:block}.ask-genie .genie-store-toolbar input{display:block;max-width:420px;margin:4px 0}.ask-genie .genie-store-toolbar>span{font-size:.95em}
.ask-genie .genie-store-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:8px;white-space:normal}
.ask-genie .genie-reply .genie-store-options button{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;width:100%;margin:0;text-align:left;gap:4px}
.ask-genie .genie-store-options small{font-weight:500;font-size:.95em;color:#465d4c}.ask-genie .genie-store-options .genie-store-stock{font-weight:750;color:#174d2d}
.ask-genie .genie-busy{display:flex;align-items:center;justify-content:center;gap:14px;flex:0 0 auto;padding:18px 12px;margin:4px 0 12px;border:2px solid #719a77;border-radius:10px;background:linear-gradient(120deg,#f7f9ec,#e3efdf);color:#173f2c;box-shadow:0 3px 12px #193c3120;overflow-wrap:anywhere}
.ask-genie .genie-busy>img,.ask-genie .genie-busy-still{width:88px;height:88px;flex:0 0 88px;object-fit:contain}
.ask-genie .genie-busy strong{display:block;font-size:clamp(24px,2em,36px);font-weight:800;letter-spacing:.08em;line-height:1.15}
.ask-genie .genie-busy span{display:block;margin-top:5px;font-size:1.1em;font-weight:600}.ask-genie .genie-busy small{display:block;margin-top:5px;font-size:.95em;color:#385d46}
.ask-genie .genie-busy-still{display:none}
@media(max-width:420px){.ask-genie .genie-busy{gap:10px;padding:12px 8px}.ask-genie .genie-busy>img,.ask-genie .genie-busy-still{width:64px;height:64px;flex-basis:64px}}
@media(prefers-reduced-motion:reduce){.ask-genie .genie-busy>img{display:none}.ask-genie .genie-busy-still{display:block}}
body .home-layout .home-with-genie .ask-genie[data-genie-floating]:not(.genie-maximized){position:fixed;inset:auto;left:var(--genie-left,8px);top:var(--genie-top,8px);z-index:20;margin:0;max-width:calc(100vw - 16px);max-height:calc(100dvh - var(--home-footer-clearance,0px) - 16px)}

/* Center the compact minimized dock within the blue desktop, beside the menu.
   Saved floating dimensions/position apply only when the assistant is restored. */
body .home-layout .home-with-genie{position:relative}
body .home-layout .home-with-genie .ask-genie.genie-minimized,
body .home-layout .home-with-genie .ask-genie[data-genie-floating].genie-minimized{
 position:absolute;inset:auto;left:50%;top:auto;bottom:var(--home-footer-clearance,74px);
 transform:translateX(-50%);z-index:20;margin:0;width:300px!important;
 max-width:calc(100% - 24px);height:auto!important;border-radius:12px;padding:10px 12px;
 box-shadow:0 6px 22px #173c3940;
}
.ask-genie.genie-minimized .genie-heading{flex-wrap:nowrap;align-items:center;gap:6px}
.ask-genie.genie-minimized .genie-heading>div:first-child{min-width:0;flex:1}
.ask-genie.genie-minimized .genie-heading h2{font-size:1.1em;line-height:1.25;overflow-wrap:anywhere}
.ask-genie.genie-minimized .genie-heading p{font-size:.9em;line-height:1.3}
.ask-genie.genie-minimized .genie-icon{width:24px;height:24px;flex-basis:24px}
.ask-genie.genie-minimized .genie-window-actions{flex:0 0 auto;flex-wrap:nowrap;gap:4px}
body .ask-genie.genie-minimized .genie-window-actions button[data-ui-button][data-ui-button][data-ui-button]{width:26px;min-width:26px;height:28px;min-height:28px;padding:4px;gap:0;font-size:0}
.ask-genie.genie-minimized .genie-window-actions button::before{width:16px;height:16px;flex-basis:16px}
.ask-genie.genie-minimized [data-genie-move]{cursor:default}
@media(max-width:850px){
 body .home-layout .home-with-genie .ask-genie.genie-minimized,
 body .home-layout .home-with-genie .ask-genie[data-genie-floating].genie-minimized{position:fixed;max-width:calc(100vw - 24px)}
}

