.help-assistant-enabled .layout-main{padding-bottom:88px}.layout-wrapper.help-assistant-open{padding-right:400px}.ha-launcher{position:fixed;right:24px;bottom:24px;z-index:1001;display:flex;flex-direction:row-reverse;align-items:center;gap:8px}.ha-launcher[hidden]{display:none}.ha-launcher__button{width:52px;height:52px;border:none;border-radius:50%;background:var(--primary-color);color:var(--primary-color-text);font-size:1.4rem;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 4px 12px rgba(0,0,0,.2)}.ha-launcher__button:hover{filter:brightness(1.08)}.ha-launcher__button:focus-visible{outline:3px solid var(--primary-color);outline-offset:3px}.ha-launcher__tip{padding:6px 10px;border-radius:6px;background:var(--text-color);color:var(--surface-card);font-size:.85rem;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .2s}@media(prefers-reduced-motion:reduce){.ha-launcher__tip{transition:none}}.ha-launcher__button:focus-visible+.ha-launcher__tip,.ha-launcher__button:hover+.ha-launcher__tip,.ha-launcher__tip.is-visible{opacity:1}.ha-panel{position:fixed;top:0;right:0;bottom:0;width:400px;z-index:1001;display:flex;flex-direction:column;background:var(--surface-card);color:var(--text-color);border-left:1px solid var(--surface-border);box-shadow:-2px 0 8px rgba(0,0,0,.08)}.ha-panel:focus{outline:none}.ha-panel__header{display:flex;align-items:center;gap:.25rem;padding:.5rem .75rem .5rem 1rem;border-bottom:1px solid var(--surface-border)}.ha-panel__title{flex:1;margin:0;font-size:1.1rem;font-weight:600}.ha-context{display:flex;flex-wrap:wrap;gap:.25rem 1rem;padding:.5rem 1rem;font-size:.8rem;color:var(--text-color-secondary);background:var(--surface-ground);border-bottom:1px solid var(--surface-border)}.ha-context>span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ha-context__label{font-weight:600}.ha-panel__body{flex:1;min-height:0;overflow-y:auto;padding:1rem}.ha-messages{display:flex;flex-direction:column;gap:.75rem}.ha-msg{max-width:100%;padding:.6rem .8rem;border-radius:10px;line-height:1.45;overflow-wrap:anywhere}.ha-msg--user{align-self:flex-end;max-width:85%;white-space:pre-wrap;background:var(--highlight-bg);color:var(--highlight-text-color)}.ha-msg--assistant{align-self:flex-start;background:var(--surface-ground);border:1px solid var(--surface-border)}.ha-msg__error{margin-top:.4rem;color:var(--red-500,#dc2626)}.ha-status{font-size:.85rem;color:var(--text-color-secondary)}.ha-md>:first-child{margin-top:0}.ha-md>:last-child{margin-bottom:0}.ha-md ol,.ha-md p,.ha-md pre,.ha-md ul{margin:0 0 .5rem}.ha-md ol,.ha-md ul{padding-left:1.25rem}.ha-md h1,.ha-md h2,.ha-md h3,.ha-md h4{margin:.5rem 0 .25rem;font-size:1rem;font-weight:600}.ha-md a{color:inherit;text-decoration:underline}.ha-md code{padding:0 .2rem;border-radius:4px;font-size:.85em}.ha-md code,.ha-md pre{background:var(--surface-hover)}.ha-md pre{padding:.5rem;border-radius:6px;overflow-x:auto}.ha-md pre code{padding:0;background:none}.ha-md table{border-collapse:collapse;margin-bottom:.5rem}.ha-md td,.ha-md th{padding:.2rem .4rem;border:1px solid var(--surface-border)}.ha-suggestions{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.75rem}.ha-chip.p-button{text-align:left}.ha-sources{margin-top:.6rem}.ha-sources ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:.4rem}.ha-sources__label{margin-bottom:.3rem;font-size:.75rem;font-weight:600;text-transform:uppercase;color:var(--text-color-secondary)}.ha-source{display:flex;align-items:flex-start;gap:.5rem;padding:.5rem .6rem;border:1px solid var(--surface-border);border-radius:8px;background:var(--surface-card);color:var(--text-color);text-decoration:none;font-size:.875rem}.ha-source>.pi{margin-top:.15rem;color:var(--primary-color)}.ha-source:hover{border-color:var(--primary-color)}.ha-source:focus-visible{outline:2px solid var(--primary-color);outline-offset:2px}.ha-source__body{display:flex;flex-direction:column;gap:.25rem;min-width:0}.ha-source__meta{gap:.5rem;font-size:.8rem}.ha-feedback,.ha-source__meta{display:flex;align-items:center;color:var(--text-color-secondary)}.ha-feedback{flex-wrap:wrap;gap:.25rem;font-size:.85rem}.ha-feedback,.ha-offer.p-button{margin-top:.5rem}.ha-notice{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin:0 1rem .5rem;padding:.5rem .75rem;border-radius:6px;font-size:.875rem;background:var(--yellow-50,#fefce8);color:var(--yellow-900,#713f12);border:1px solid var(--yellow-200,#fef08a)}.ha-composer{display:flex;align-items:flex-end;gap:.5rem;padding:.75rem 1rem .25rem;border-top:1px solid var(--surface-border)}.ha-composer__input.p-inputtextarea{flex:1;max-height:10rem;overflow-y:auto!important;resize:none}.ha-footnote{margin:0;padding:.25rem 1rem .75rem;font-size:.75rem;color:var(--text-color-secondary)}@media(max-width:768px){.layout-wrapper.help-assistant-open{padding-right:0}.ha-panel{width:100%}}.ha-ask-row{display:flex;align-items:center;gap:.5rem;margin:0 -.25rem;padding:.5rem .25rem;border-top:1px solid var(--surface-border);font-weight:500}.ha-ask-row>.pi{color:var(--primary-color)}.ha-ask-row--only{border-top:none;border-radius:6px;background:var(--highlight-bg);color:var(--highlight-text-color)}.ha-ask-row--only>.pi{color:inherit}.ha-footer-action.p-button{align-self:flex-start;margin:0 .5rem;padding:.25rem .5rem}.ha-ticket{display:flex;flex-direction:column;gap:.75rem}.ha-ticket:focus{outline:none}.ha-ticket__title{margin:0;font-size:1rem;font-weight:600}.ha-field{display:flex;flex-direction:column;gap:.3rem}.ha-field>label{font-size:.85rem;font-weight:600}.ha-field .p-inputtext[readonly]{background:var(--surface-ground);color:var(--text-color-secondary)}.ha-field--check{flex-direction:row;align-items:center;gap:.5rem}.ha-field--check>label{font-weight:400}.ha-field__error{color:var(--red-500,#dc2626);font-size:.8rem}.ha-ticket__actions{display:flex;justify-content:flex-end;gap:.5rem}.ha-ticket-created{border-color:var(--green-300,#86efac)}