:root{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;color:#203c31;background:#f7f5ed;line-height:1.6}*{box-sizing:border-box}body{margin:0}main{max-width:760px;margin:auto;padding:24px 20px max(28px,env(safe-area-inset-bottom))}header{border-bottom:1px solid #d2d7cc;padding-bottom:18px}h1{font-size:clamp(1.5rem,4vw,2rem);line-height:1.3;margin:16px 0}a{color:#205b46;text-underline-offset:4px}label{display:block;margin:12px 0 6px}input,select,textarea,button{font:inherit}input:not([type=checkbox]),textarea{width:100%;padding:12px;border:1px solid #748b7d;border-radius:8px;background:white;color:#203c31}textarea{resize:vertical}button,select{min-height:44px;border:1px solid #205b46;border-radius:8px;padding:8px 14px;background:white;color:#205b46}button{cursor:pointer}#send,#save{background:#205b46;color:white}button:disabled{opacity:.55;cursor:wait}:focus-visible{outline:3px solid #b06925;outline-offset:3px}.notice{padding:16px 0;border-bottom:1px solid #d2d7cc}#error{color:#9b2424;overflow-wrap:anywhere}.tools{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}#messages{min-height:64px;max-height:50dvh;overflow:auto;overscroll-behavior:contain;padding:8px 0}article{padding:12px 14px;margin:10px 0;background:white;border:1px solid #d2d7cc;border-radius:12px;overflow-wrap:anywhere}article[data-sender=customer]{margin-left:12%;background:#e6eee1}article p{white-space:pre-wrap;margin:6px 0}article small{color:#4b6155}#composer{border-top:1px solid #d2d7cc;padding-top:12px}#composer>p{font-size:.875rem;color:#4b6155}#enabled{width:20px;height:20px;vertical-align:middle;accent-color:#205b46}[hidden]{display:none!important}@media(max-width:420px){main{padding:16px}#messages{max-height:42dvh}.tools button{flex:1}article[data-sender=customer]{margin-left:6%}}

html[data-support-embedded=true] main{padding:12px 16px}html[data-support-embedded=true] header{padding:0;border:0;text-align:right}html[data-support-embedded=true] header>a,html[data-support-embedded=true] h1{display:none}html[data-support-embedded=true] header label{margin:0;font-size:14px}html[data-support-embedded=true] header select{min-height:36px}html[data-support-embedded=true] .notice{font-size:14px;padding:8px 0;margin:8px 0}html[data-support-embedded=true] #messages{max-height:36dvh}html[data-support-embedded=true] #composer>p{margin-bottom:0}
#knowledge-section{margin-top:28px;padding-top:18px;border-top:1px solid #d2d7cc}#knowledge-section h2{font-size:1.2rem;margin:0 0 8px}dialog{border:1px solid #d2d7cc;border-radius:12px;padding:20px;background:#fffdf7;color:#203c31}dialog::backdrop{background:rgba(32,60,49,.35)}dialog .row{display:flex;gap:8px;flex-wrap:wrap;align-items:center;justify-content:space-between}dialog h2{font-size:1.2rem;margin:0}dialog table{width:100%;border-collapse:collapse;font-size:14px}dialog th,dialog td{border-bottom:1px solid #e3e6dd;padding:6px 8px;text-align:left;vertical-align:top}dialog [data-list]>div{overflow:auto}dialog [data-saved]{color:#15803d}dialog [data-preview] p,dialog [data-history-list] pre{white-space:pre-wrap}dialog details{margin:10px 0}dialog form .row button{flex:0 0 auto}
