
#suntech-guide[hidden],.guide-welcome[hidden]{display:none!important}
#guide-launcher{position:fixed;right:18px;bottom:18px;z-index:70;display:grid;place-items:center;width:48px;height:48px;min-height:48px;padding:0;border:1px solid #fff;border-radius:50%;background:#172f50;color:white;box-shadow:0 3px 14px #172f5030;cursor:pointer}
#guide-launcher svg{width:22px;height:22px}
#suntech-guide,.guide-welcome{position:fixed;right:18px;bottom:76px;z-index:71;box-sizing:border-box;margin:0;border:1px solid #d7c9ae;border-radius:10px;box-shadow:0 8px 30px #172f5033;background:#fff;color:#172f50;font:14px/1.48 Arial,Helvetica,sans-serif;text-align:left}
#suntech-guide{display:flex;flex-direction:column;padding:0;overflow:hidden;width:min(390px,calc(100vw - 24px));max-height:calc(100dvh - 90px)}
#suntech-guide .guide-top{background:#172f50;color:white;display:flex;align-items:center;justify-content:space-between;border-bottom:3px solid #ad7c24;padding:14px 16px}
#suntech-guide .guide-top h2{font:700 18px/1.3 Arial,sans-serif;margin:0;color:white}
#suntech-guide .guide-top p{color:white;margin:3px 0 0;font-size:12px}
#suntech-guide .guide-close{background:transparent;color:white;border:0;font-size:24px;min-width:38px;min-height:38px;cursor:pointer}
#suntech-guide .guide-log{overflow-y:auto;overscroll-behavior:contain;max-height:220px;min-height:50px;padding:12px 16px}
#suntech-guide .guide-message{margin:0 0 9px}#suntech-guide .guide-message p{margin:0 0 5px;line-height:1.46;color:#172f50}
#suntech-guide .guide-user{margin:8px 0;padding:6px 9px;background:#eee8dc;border-radius:6px;overflow-wrap:anywhere}
#suntech-guide .guide-answer a{font-weight:bold;text-decoration:underline;color:#172f50}
#suntech-guide .guide-topics{display:flex;gap:6px;flex-wrap:wrap;padding:0 14px 9px}
#suntech-guide .guide-topics button{font:600 13px Arial,sans-serif;border:1px solid #d7c9ae;border-radius:4px;background:#fffaf1;color:#172f50;min-height:34px;padding:6px 9px;cursor:pointer}
#suntech-guide .guide-form{display:flex;gap:7px;margin:0;padding:10px 14px 5px;border-top:1px solid #dfd5c3}
#suntech-guide .guide-form input{font:16px Arial,sans-serif;min-width:0;flex:1;border:1px solid #b8aa8e;border-radius:5px;padding:8px;color:#172f50;background:white}
#suntech-guide .guide-form button{border:0;border-radius:4px;background:#172f50;color:white;font-size:20px;width:42px;cursor:pointer}
#suntech-guide .guide-note{font:12px/1.45 Arial,sans-serif;margin:5px 14px 12px;color:#536278}
#suntech-guide .visually-hidden{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}
.guide-welcome{width:min(265px,calc(100vw - 24px));padding:15px 35px 12px 16px;border-left:3px solid #ae7c22}
.guide-welcome p{font:600 15px/1.4 Arial,sans-serif;margin:0 0 6px}
.guide-welcome [data-guide-open]{background:transparent;color:#172f50;border:0;padding:4px 0;text-decoration:underline;font:700 14px Arial,sans-serif;cursor:pointer}
.guide-welcome [data-guide-dismiss]{position:absolute;right:3px;top:3px;width:32px;height:32px;border:0;background:transparent;color:#172f50;font-size:22px;cursor:pointer}
@media(max-width:500px){#guide-launcher{right:12px;bottom:12px}#suntech-guide,.guide-welcome{right:12px;bottom:68px}}
@media(max-height:500px){#suntech-guide .guide-top{padding:5px 12px}#suntech-guide .guide-note{margin:2px 12px 6px}#suntech-guide .guide-topics{padding-bottom:3px}#suntech-guide .guide-log{max-height:110px}}

#suntech-guide {width:min(410px,calc(100vw - 24px));max-height:calc(100dvh - 88px);font-size:16px}
#suntech-guide .guide-log {box-sizing:border-box;min-height:0;max-height:min(38dvh,320px);padding:14px 16px;scrollbar-gutter:stable}
#suntech-guide .guide-message {margin-bottom:12px}
#suntech-guide .guide-message p {font-size:1rem;line-height:1.45}
#suntech-guide .guide-topics {padding:8px 14px 10px;gap:6px;border-top:1px solid #e6dfd1}
#suntech-guide .guide-topics button {min-height:38px;font-size:14px}
#suntech-guide .guide-topics button[data-guide-topic="kit"] {background:#fff0be;border-color:#ac7a24}
#suntech-guide .guide-links {display:flex;align-items:baseline;flex-wrap:wrap;gap:2px 15px;line-height:1.4}
#suntech-guide .guide-links a {display:inline-flex;align-items:center;min-height:32px;font-size:15px;overflow-wrap:anywhere;text-underline-offset:.17em}
#suntech-guide .guide-form {flex-shrink:0}
#suntech-guide .guide-form button,#suntech-guide .guide-close {min-height:44px;min-width:44px}
#suntech-guide .guide-form button svg {width:20px;height:20px;display:block;margin:auto}
#suntech-guide :is(a,button,input):focus-visible,.guide-welcome button:focus-visible {outline:2px solid #a77415;outline-offset:2px}
#suntech-guide .guide-top button:focus-visible {outline-color:#ffcc45}
.guide-welcome [data-guide-open]{font-size:15px;min-height:36px}
@media (max-height:560px) {
  #suntech-guide {max-height:calc(100dvh - 12px);bottom:6px;overflow:auto;overscroll-behavior:contain}
  #suntech-guide .guide-log {flex:0 0 auto;max-height:34dvh}
  #suntech-guide .guide-topics {padding-block:4px}
}
#suntech-guide .guide-answer p {white-space:pre-line}
#suntech-guide .guide-document-list {display:grid;grid-template-columns:minmax(0,1fr);gap:0}
#suntech-guide .guide-document-list a {min-height:40px;border-bottom:1px solid #e6dfd1}
#suntech-guide .guide-document-list a:last-child {border-bottom:0}
