/* HS AGUNG AI — isolated prototype-based workspace; global site styles untouched. */
body:has(.ai-page){margin:0;background:#f5f8fb;overflow:hidden;color:#183746}
.ai-page{--ink:#183746;--muted:#71838d;--teal:#08718a;--line:#e2eaf0;height:100vh;height:var(--ai-viewport,100dvh);min-height:0;overflow:hidden;display:flex;justify-content:center;background:#f5f8fb;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}
.ai-page .hs-ai{width:100%;max-width:1120px;height:100%;min-height:0;margin:0;display:flex;flex-direction:column;border:0;border-left:1px solid #edf1f5;border-right:1px solid #edf1f5;border-radius:0;background:#f5f8fb;box-shadow:none;overflow:hidden;color:var(--ink)}
.ai-page .hs-ai-head{flex-shrink:0;display:flex;align-items:center;flex-wrap:nowrap;gap:14px;min-height:94px;padding:14px 30px;background:#ffffffed;border-bottom:1px solid var(--line)}
.ai-page .ai-back{width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;border:1px solid var(--line);background:#fff;border-radius:14px;color:var(--teal);font-size:19px;text-decoration:none}
.ai-page .hs-ai-avatar{width:48px;height:48px;flex:0 0 48px;border-radius:16px;background:linear-gradient(145deg,#e8f6fa,#d6edf3);color:var(--teal);font-size:23px;box-shadow:0 5px 16px #08718a1f}
.ai-page .ai-brand{min-width:0}.ai-page .hs-ai-head h1{font-size:20px;line-height:1.2;margin:0;font-weight:750;letter-spacing:-.4px}.ai-page .hs-ai-head p{font-size:12px;color:var(--muted);margin:4px 0 0;line-height:1.4}
.ai-page .ai-service-status{font-size:10px;color:#617985;display:flex;align-items:center;gap:6px;margin-top:5px;line-height:1.4}.ai-page .ai-service-status>i{font-size:7px;color:#a4afb5}.ai-page .ai-service-status[data-online="true"]>i{color:#309a6b}
.ai-page .ai-new{margin-left:auto;display:flex;align-items:center;gap:8px;flex-shrink:0;border:1px solid #dce8ed;background:#fff;color:#07576b;border-radius:13px;padding:11px 14px;font:inherit;font-size:13px;font-weight:650;box-shadow:0 3px 10px #14465a0a;cursor:pointer;min-height:44px}.ai-page .ai-new small{font:inherit}
.ai-page .hs-ai-notice{flex-shrink:0;margin:16px 30px 0;padding:12px 15px;border:1px solid #e2edf1;background:#f0f7f9;border-radius:12px;color:#617985;font-size:12px;line-height:1.55;display:flex;gap:10px;align-items:flex-start}.ai-page .hs-ai-notice>i{color:var(--teal);margin-top:3px}
.ai-page .hs-ai-messages{flex:1;min-height:0;height:auto;overflow:auto;padding:28px 30px 18px;display:flex;flex-direction:column;gap:22px;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#cadce3 transparent}
.ai-page .hs-ai-message{min-width:0;max-width:84%;flex-shrink:0;align-self:flex-start;border:1px solid var(--line);background:#fff;border-radius:5px 17px 17px 17px;padding:17px 19px;box-shadow:0 4px 14px #1c415009;font-size:14px;line-height:1.75;color:#344c58;overflow-wrap:anywhere}
.ai-page .hs-ai-message>strong{display:flex;align-items:center;gap:6px;font-size:11px;font-weight:650;margin:0 0 8px;color:#607b87}.ai-page .hs-ai-message>strong i{color:var(--teal)}
.ai-page .hs-ai-message>div{white-space:normal}.ai-page .hs-ai-message.user{align-self:flex-end;background:var(--teal);color:#fff;border:0;border-radius:17px 5px 17px 17px;padding:13px 17px;box-shadow:0 7px 18px #08718a29;max-width:80%}.ai-page .hs-ai-message.user>strong{color:#d9f2f6}.ai-page .hs-ai-message.user>strong i{color:inherit}.ai-page .hs-ai-message .ai-user-content,.ai-page .hs-ai-message .ai-plain{white-space:pre-wrap}
.ai-page .ai-content{min-width:0}.ai-page .ai-content p{margin:0 0 11px}.ai-page .ai-content>:last-child{margin-bottom:0}.ai-page .ai-content h1,.ai-page .ai-content h2,.ai-page .ai-content h3,.ai-page .ai-content h4,.ai-page .ai-content h5,.ai-page .ai-content h6{color:#203f4d;font-weight:750;line-height:1.4;margin:17px 0 9px}.ai-page .ai-content h1{font-size:1.5em}.ai-page .ai-content h2{font-size:1.3em}.ai-page .ai-content h3{font-size:1.12em}.ai-page .ai-content h4,.ai-page .ai-content h5,.ai-page .ai-content h6{font-size:1em}.ai-page .ai-content>:first-child{margin-top:0}
.ai-page .ai-content ol,.ai-page .ai-content ul{padding-left:23px;margin:8px 0 13px}.ai-page .ai-content li{padding-left:3px;margin:5px 0}.ai-page .ai-content li>p{margin-bottom:5px}.ai-page .ai-content strong{font-weight:750;color:#173e4e}.ai-page .ai-content blockquote{margin:12px 0;border-left:3px solid #83b6c3;padding:9px 14px;background:#f2f8fa;border-radius:0 8px 8px 0;color:#526e7a}.ai-page .ai-content hr{border:0;border-top:1px solid var(--line);margin:17px 0}.ai-page .ai-content a,.ai-page .ai-source-item a{color:#08718a;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.ai-page .ai-content :not(pre)>code{font: .9em ui-monospace,SFMono-Regular,Consolas,monospace;background:#edf4f6;padding:2px 5px;border-radius:5px;color:#145367;overflow-wrap:anywhere}.ai-page .ai-code-block{max-width:100%;min-width:0;margin:13px 0;border:1px solid var(--line);border-radius:11px;overflow:hidden;background:#f7fafb}.ai-page .ai-code-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:3px 10px;background:#edf4f6;color:#526e7a;font-size:11px}.ai-page .ai-content pre{margin:0;padding:14px;max-width:100%;overflow-x:auto;white-space:pre;text-align:left;tab-size:4;line-height:1.65;background:#f7fafb;color:#243e4a}.ai-page .ai-content pre code{display:block;padding:0;background:transparent;overflow:visible;white-space:pre;word-break:normal;overflow-wrap:normal;font:12px/1.65 ui-monospace,SFMono-Regular,Consolas,monospace}
.ai-page .ai-table-scroll{max-width:100%;overflow-x:auto;margin:13px 0;border:1px solid var(--line);border-radius:9px}.ai-page .ai-content table{border-collapse:collapse;width:100%;font-size:13px;white-space:normal;margin:0}.ai-page .ai-content th,.ai-page .ai-content td{border:1px solid var(--line);padding:9px 12px;text-align:left;min-width:110px}.ai-page .ai-content th{background:#edf5f7;font-weight:700}.ai-page .ai-content tr:nth-child(even){background:#fafcfd}
.ai-page .ai-math{max-width:100%}.ai-page div.ai-math{overflow-x:auto;overflow-y:hidden;padding:4px 2px;margin:10px 0}.ai-page span.ai-math{display:inline-block;vertical-align:middle;max-width:100%;overflow-x:auto;overflow-y:hidden}.ai-page .katex-display{margin:.6em 0}.ai-page .katex{white-space:nowrap;font-size:1.12em}.ai-page .katex-error{white-space:pre-wrap}
.ai-page .hs-ai-message details{font-size:12px;border-top:1px solid var(--line);margin-top:16px;padding-top:12px}.ai-page .hs-ai-message summary{display:flex;align-items:center;gap:8px;list-style:none;cursor:pointer;color:#607985;min-height:34px;font-weight:650}.ai-page .hs-ai-message summary::-webkit-details-marker{display:none}.ai-page .hs-ai-message summary>i:last-child{margin-left:auto;font-size:11px;transition:transform .15s}.ai-page .hs-ai-message details[open] summary>i:last-child{transform:rotate(180deg)}.ai-page .ai-source-item{display:flex;flex-direction:column;gap:3px;margin-top:9px;padding:10px;background:#f7fafb;border:1px solid #edf2f4;border-radius:10px;color:#49636e}.ai-page .ai-source-item>strong{font-size:11px;color:#176a7d}.ai-page .ai-source-item small{font-size:10px;color:#71838d}.ai-page .ai-citation{font-size:.9em}
.ai-page .ai-message-tools{display:flex;flex-wrap:wrap;gap:2px;margin:9px -5px -6px}.ai-page .ai-tool{border:1px solid transparent;background:transparent;color:#71838d;border-radius:8px;padding:7px 8px;font:inherit;font-size:11px;line-height:1.4;min-height:36px;cursor:pointer}.ai-page .ai-tool:hover,.ai-page .ai-tool[aria-pressed="true"]{background:#edf5f7;color:var(--teal)}.ai-page .ai-tool[aria-pressed="true"]{border-color:#abd0d9}.ai-page .ai-tool[hidden]{display:none}
.ai-page .hs-ai-suggestions{flex:0 0 auto;padding:0 30px 16px;display:flex;flex-wrap:nowrap;gap:9px;overflow-x:auto;scrollbar-width:none;min-width:0}.ai-page .hs-ai-suggestions::-webkit-scrollbar{display:none}.ai-page .hs-ai-suggestions button{white-space:nowrap;flex-shrink:0;border:1px solid #dce7ec;background:#fff;color:#54707c;padding:9px 14px;border-radius:999px;font:inherit;font-size:12px;min-height:39px;cursor:pointer}.ai-page .hs-ai-suggestions button:hover{border-color:#8dbac7;color:var(--teal);background:#f4fafb}
.ai-page .hs-ai-error{flex:0 0 auto;color:#a72b38;font-size:12px;line-height:1.5;padding:0 30px;margin:0;max-height:72px;overflow:auto}.ai-page .hs-ai-error:empty{display:none}
.ai-page .hs-ai-compose{flex:0 0 auto;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px 10px;margin:0;padding:10px 30px max(18px,env(safe-area-inset-bottom));background:#f5f8fb;border:0}.ai-page .hs-ai-compose textarea{width:100%;resize:none;border:1px solid #dce6eb;border-radius:17px;outline:0;min-height:48px;max-height:140px;height:48px;padding:12px 15px;color:var(--ink);font:inherit;font-size:14px;line-height:1.5;background:#fff;box-shadow:0 8px 25px #1943530d;overflow-y:auto}.ai-page .hs-ai-compose textarea:focus{border-color:#8dbac7;box-shadow:0 0 0 3px #08718a14}.ai-page .hs-ai-compose textarea::placeholder{color:#83969f}.ai-page .ai-send{height:48px;min-width:78px;border:0;border-radius:13px;background:var(--teal);color:#fff;font:inherit;font-size:13px;box-shadow:0 4px 10px #08718a2e;display:flex;align-items:center;justify-content:center;gap:8px;cursor:pointer}.ai-page .ai-send:hover{background:#07576b}.ai-page .ai-send i{font-size:17px}.ai-page .hs-ai-compose small{grid-column:1/-1;color:#71838d;font-size:10px;line-height:1.5}.ai-page .hs-ai-compose small span{float:right;margin-left:8px;white-space:nowrap}.ai-page button:disabled{opacity:.5;cursor:not-allowed}.ai-page button:focus-visible,.ai-page a:focus-visible,.ai-page summary:focus-visible,.ai-page [tabindex]:focus-visible{outline:3px solid #83bdce;outline-offset:3px}.ai-page .hs-ai-message.loading{animation:hs-ai-pulse 1.7s infinite}
@media(max-width:650px){.ai-page .hs-ai{border:0}.ai-page .hs-ai-head{min-height:80px;padding:10px 14px;gap:9px}.ai-page .ai-back{width:38px;height:42px;flex-basis:38px}.ai-page .hs-ai-avatar{width:42px;height:42px;flex-basis:42px;border-radius:14px;font-size:21px}.ai-page .hs-ai-head h1{font-size:17px;white-space:nowrap}.ai-page .hs-ai-head p{font-size:10px}.ai-page .ai-service-status{font-size:9px}.ai-page [data-ai-status]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ai-page .ai-new{padding:10px;min-width:42px;justify-content:center}.ai-page .ai-new small{display:none}.ai-page .hs-ai-notice{margin:11px 14px 0;padding:10px 11px;font-size:10px}.ai-page .hs-ai-messages{padding:22px 14px 16px;gap:19px}.ai-page .hs-ai-message{max-width:96%;padding:14px 15px;font-size:13px;line-height:1.72}.ai-page .hs-ai-message.user{max-width:90%}.ai-page .hs-ai-suggestions{padding:0 14px 13px;gap:7px}.ai-page .hs-ai-suggestions button{font-size:11px;padding:9px 12px;min-height:40px}.ai-page .hs-ai-compose{padding:9px 14px max(13px,env(safe-area-inset-bottom))}.ai-page .hs-ai-compose textarea{font-size:16px;min-height:48px;padding:11px 13px}.ai-page .ai-send{height:48px;min-width:48px}.ai-page .ai-send span{display:none}.ai-page .hs-ai-compose small{font-size:9px}.ai-page .ai-tool{min-height:44px;padding:9px 8px}.ai-page .ai-code-bar .ai-tool{min-height:38px}.ai-page .hs-ai-message summary{min-height:44px}}
@media(max-width:360px){.ai-page .hs-ai-head{gap:7px;padding:10px}.ai-page .hs-ai-avatar{width:35px;height:38px;flex-basis:35px;font-size:19px}.ai-page .hs-ai-head h1{font-size:15px}.ai-page .hs-ai-head p{font-size:9px}.ai-page .hs-ai-compose small{font-size:8px}.ai-page .ai-service-status{font-size:8px}}
@media(max-height:520px){.ai-page .hs-ai-notice{display:none}.ai-page .hs-ai-head{min-height:65px;padding-top:6px;padding-bottom:6px}.ai-page .hs-ai-suggestions{padding-bottom:6px}.ai-page .hs-ai-compose{padding-top:4px;padding-bottom:6px}}
@media(prefers-reduced-motion:reduce){.ai-page .hs-ai-message.loading,.ai-page .fa-spin{animation:none}.ai-page *{scroll-behavior:auto!important;transition:none!important}}
