/* Ghadir Guide 0.1.0. Scoped styles; inherits the site's locally available font. */
.ghg{--ghg-accent:#17645b;position:fixed;bottom:24px;z-index:10020;font:inherit;direction:rtl;text-align:right;color:#223b37;line-height:1.8}
.ghg--left{left:24px}.ghg--right{right:24px}.ghg *,.ghg *:before,.ghg *:after{box-sizing:border-box}.ghg button,.ghg input{font:inherit}.ghg button{cursor:pointer}.ghg [hidden]{display:none!important}
.ghg button:focus-visible,.ghg input:focus-visible,.ghg a:focus-visible{outline:3px solid #d7b565;outline-offset:3px}
.ghg-launch{display:flex;align-items:center;gap:10px;border:1px solid #ffffff30;background:var(--ghg-accent);color:#fff;padding:13px 20px;border-radius:22px 22px 8px 22px;box-shadow:0 8px 28px #173b342e;font-size:14px;font-weight:700}
.ghg-launch svg{width:25px;height:25px}.ghg-launch:hover{filter:brightness(1.08)}
.ghg-panel{position:absolute;bottom:76px;width:385px;height:570px;max-height:calc(100dvh - 130px);display:flex;flex-direction:column;overflow:hidden;background:#fafbf8;border:1px solid #e1e8df;border-radius:24px;box-shadow:0 20px 65px #173b3430}
.ghg--left .ghg-panel{left:0}.ghg--right .ghg-panel{right:0}
.ghg-header{display:flex;justify-content:space-between;align-items:center;padding:22px 22px 18px;background:var(--ghg-accent);color:white;border-bottom:3px solid #c9ac6b}
.ghg-eyebrow{display:block;font-size:10px;letter-spacing:.1px;opacity:.8;margin-bottom:4px}.ghg-header strong{display:block;font-size:18px;font-weight:700;color:inherit}
.ghg-close{border:0;background:#ffffff17;color:white;width:32px;height:32px;border-radius:50%;font-size:25px!important;line-height:1}
.ghg-source{display:flex;align-items:center;gap:7px;padding:10px 16px;border-bottom:1px solid #e8ece5;font-size:10px;color:#5a6e64;background:#fff}
.ghg-dot{display:inline-block;width:6px;height:6px;background:#4b8e70;border-radius:50%;flex-shrink:0}.ghg-reset{margin-inline-start:auto;border:0;background:transparent;color:var(--ghg-accent);padding:3px;font-size:10px!important}
.ghg-thread{flex:1;min-height:0;overflow-y:auto;padding:18px 16px;overscroll-behavior:contain;scrollbar-width:thin}
.ghg-message{max-width:94%;margin:0 0 14px;padding:11px 14px;border-radius:16px 4px 16px 16px;font-size:13px;overflow-wrap:anywhere;white-space:pre-wrap}.ghg-message p{margin:0;line-height:1.95;color:inherit;font-size:inherit}
.ghg-assistant{background:#fff;border:1px solid #e4e9df;margin-inline-end:auto}.ghg-user{background:#e9f0e7;margin-inline-start:auto;border-radius:4px 16px 16px 16px}.ghg-waiting{color:#6e7f74}
.ghg-suggestions{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 16px}.ghg-suggestions button{border:1px solid #dce5d7;background:transparent;color:var(--ghg-accent);padding:5px 10px;border-radius:20px;font-size:11px}
.ghg-card{display:block;text-decoration:none!important;color:#223b37!important;border:1px solid #dfe6da;background:white;border-radius:15px;padding:13px 14px;margin:0 0 10px;transition:border-color .15s,transform .15s}
.ghg-card:hover{border-color:var(--ghg-accent);transform:translateY(-1px)}.ghg-card-meta{display:block;color:#738374;font-size:10px}.ghg-card strong{display:block;font-size:14px;line-height:1.9;margin:3px 0;font-weight:700}.ghg-card p{font-size:11px;color:#617064;line-height:1.9;margin:0 0 6px}.ghg-card-more{font-size:10px;color:var(--ghg-accent);font-weight:700}
.ghg-form{display:flex;gap:8px;padding:12px 14px 8px;background:#fff;border-top:1px solid #e4e9df;margin:0}
.ghg-input{width:100%;min-width:0;border:1px solid #dce4d7!important;border-radius:13px!important;padding:10px 12px!important;background:#fafbf8!important;color:#263d34!important;font-size:12px!important;height:44px!important;margin:0!important;box-shadow:none!important}
.ghg-send{display:flex;align-items:center;justify-content:center;width:44px;height:44px;flex-shrink:0;border:0;border-radius:13px;background:var(--ghg-accent);color:#fff;padding:11px}.ghg-send svg{width:23px;height:23px}.ghg-send:disabled{opacity:.45;cursor:wait}
.ghg-footer{text-align:center;padding:0 8px 10px;background:#fff;font-size:9px;color:#879181}.ghg-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:480px){.ghg{bottom:max(14px,env(safe-area-inset-bottom))}.ghg--left{left:12px}.ghg--right{right:12px}.ghg-panel{position:fixed;left:10px!important;right:10px!important;bottom:85px;width:auto;height:570px;max-height:calc(100dvh - 105px);border-radius:20px}.ghg-launch{padding:12px 16px}.ghg-launch span{font-size:12px}.ghg-header{padding:17px}.ghg-input{font-size:16px!important}}
@media(prefers-reduced-motion:reduce){.ghg *{transition:none!important;animation:none!important}}
