/* Guided chat and an animated, fictional knowledge search. */
.gi-shell{scroll-margin-top:0;margin:0 0 64px;border:1px solid #a99e8d;border-radius:24px 8px 24px 8px;background:#fffcf7;box-shadow:0 18px 50px #51432912;overflow:hidden;color:#2e3029;line-height:1.5}
.gi-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 24px;border-bottom:1px solid #c8bfae;background:#eee7db}.gi-head strong{font:400 25px/1.15 Georgia,serif;letter-spacing:-.025em}.gi-head>span{font-size:10px;font-weight:700;letter-spacing:.07em;color:#5b5142}
.gi-meter{display:flex;align-items:center;gap:16px;padding:12px 24px}.gi-progress{display:flex;gap:5px;flex:1}.gi-progress>span{height:3px;flex:1;background:#ded6c7;border-radius:3px}.gi-progress .done{background:#626f59}.gi-progress .current{background:#947343}.gi-counter{font-size:11px;font-weight:700;text-align:right}
.gi-body{display:grid;grid-template-columns:1fr 1.08fr;gap:20px;padding:0 20px 18px;height:490px}.gi-conversation{min-width:0;min-height:0;display:flex;flex-direction:column;border:1px solid #bcb39f;border-radius:14px;background:#f6f2e9;overflow:hidden}.gi-chat-top{display:flex;align-items:center;gap:10px;padding:10px 14px;border-bottom:1px solid #cdc5b6;background:#fcfaf4}.gi-chat-avatar{display:grid;place-items:center;width:31px;height:31px;border-radius:10px 4px 10px 4px;background:#485840;color:#f0dfb5;font:22px Georgia,serif}.gi-chat-top strong{display:block;font-size:13px;color:#303a2b}.gi-chat-top>div>span{display:block;font-size:10px;color:#555d4a}.gi-chat-top>i{width:6px;height:6px;border-radius:50%;background:#6a8059;margin-left:auto;box-shadow:0 0 0 4px #e7ecdf}
.gi-transcript{min-height:0;flex:1;overflow-y:auto;overscroll-behavior:contain;padding:14px 12px;scrollbar-width:thin;scrollbar-color:#aaa68f transparent;scroll-behavior:smooth}.gi-message{display:flex;align-items:flex-end;gap:7px;margin-bottom:13px;animation:gi-message-in .3s ease-out}.gi-message:last-child{margin-bottom:0}.gi-message-avatar{display:grid;place-items:center;flex-shrink:0;width:22px;height:22px;font:13px Georgia,serif;background:#e5e7d8;color:#48523a;border:1px solid #adb39a;border-radius:7px}.gi-message-content{max-width:92%;padding:10px 12px;border:1px solid #c7c0b0;border-radius:13px 13px 13px 3px;background:#fffdf7;box-shadow:0 2px 4px #51442a05}.gi-message-name{display:block;font-size:8px;font-weight:700;letter-spacing:.1em;color:#626650;margin-bottom:3px}.gi-message-content>p{font-size:13px;line-height:1.55;margin:0;color:#363d2f}.gi-message-user{flex-direction:row-reverse;padding-left:35px}.gi-message-user .gi-message-content{background:#e5e9d9;border-color:#b2ba9f;border-radius:13px 13px 3px 13px}.gi-message-user .gi-message-avatar{background:#eee4d0;border-color:#b4a183;color:#675431}.gi-message-content>.gi-chat-question{font-size:17px;line-height:1.4;font-weight:600;color:#2e3828;margin-bottom:6px;outline:none}.gi-message-content>.gi-chat-note{font-size:12px;line-height:1.5;color:#505843}.gi-edit-message{border:0;background:none;font-size:9px;color:#586348;text-decoration:underline;padding:4px 0 0}.gi-compose{padding:10px 12px 12px;border-top:1px solid #ccc3b1;background:#faf7f0}.gi-reply-label{display:block;font-size:8px;font-weight:700;letter-spacing:.12em;color:#6e5b3b;margin-bottom:6px}.gi-choices{display:grid;gap:6px}.gi-choices button{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:35px;border:1px solid #9d9e85;background:#fffdf7;color:#36412b;padding:7px 11px;border-radius:9px;font-size:12px;font-weight:600;text-align:left;transition:background .2s,transform .2s}.gi-choices button:hover{background:#e8eddd;transform:translateX(2px)}.gi-choices button:disabled{opacity:.5;cursor:progress;transform:none}.gi-typing{display:flex;gap:5px;min-height:18px;align-items:center;padding:3px 5px}.gi-typing i{width:5px;height:5px;border-radius:50%;background:#6c7a59;animation:gi-type .9s ease-in-out infinite}.gi-typing i:nth-child(2){animation-delay:.15s}.gi-typing i:nth-child(3){animation-delay:.3s}
.gi-aside{min-width:0;min-height:0;display:flex;flex-direction:column;gap:12px}.gi-map{flex:1;min-height:0;border:1px solid #5d6951;border-radius:15px;background:radial-gradient(ellipse at 48% 40%,#394b34,#283227 75%);color:#f1efdc;overflow:hidden;position:relative;display:flex;flex-direction:column;padding:14px 13px 10px}.gi-network-top{display:flex;justify-content:space-between;gap:10px;font-size:8px;letter-spacing:.1em;color:#d9dfc8;font-weight:600}.gi-network-top i{display:inline-block;width:5px;height:5px;background:#d8c28c;border-radius:50%;margin-right:5px;box-shadow:0 0 9px #c0d99b80}.gi-network-title{font:400 24px/1.2 Georgia,serif;letter-spacing:-.02em;color:#f2ecd8;margin:8px 0 0}.gi-network{display:block;width:100%;min-height:0;flex:1;overflow:visible}.gi-network-caption{margin:0;font-size:11px;line-height:1.4;color:#e0e5cd;min-height:16px}.gi-connection{fill:none;stroke:#a9b593;stroke-opacity:.6;stroke-width:1.25}.gi-signal{fill:none;stroke:#e5c88e;stroke-width:2;stroke-linecap:round;stroke-dasharray:3 8;opacity:0;stroke-dashoffset:40}.gi-searching .gi-signal,.gi-publishing .gi-signal{opacity:.85;animation:gi-network-flow 1.5s linear infinite}.gi-applied .gi-signal{opacity:.8;animation:gi-network-flow 1.5s linear 2 both}.gi-node-surface{fill:#3e4d36;stroke:#aebc91;stroke-width:1}.gi-node-halo{fill:none;stroke:#c0d49b;stroke-width:3;opacity:0}.gi-network-node{transition:opacity .4s,filter .4s}.gi-node-entering{animation:gi-node-in .6s cubic-bezier(.2,.7,.2,1) var(--node-delay,0ms) both}.gi-node-label{fill:#fcf7e8;font:600 13px 'DM Sans',sans-serif}.gi-node-kind{fill:#d0d8bc;font:600 7px 'DM Sans',sans-serif;letter-spacing:.7px}.gi-network-node[data-node=source] .gi-node-surface{fill:#596548;stroke:#d8c48d}.gi-node-selected .gi-node-halo{opacity:1;filter:drop-shadow(0 0 6px #d9edaf)}.gi-node-selected .gi-node-surface{fill:#66744d;stroke:#e5d4a7;stroke-width:2}.gi-network-node.gi-node-rejected{opacity:.12;filter:blur(1px);transition:opacity .4s,filter .4s}.gi-node-leaving{animation:gi-node-out .4s ease-in both;pointer-events:none}.gi-applied .gi-node-surface{stroke:#bfd3a1;fill:#4c6040}.gi-scan-ring{fill:none;stroke:#d7c694;stroke-width:1;opacity:0;transform-origin:300px 44px}.gi-searching .gi-scan-ring,.gi-publishing .gi-scan-ring{animation:gi-radar 1.4s ease-out infinite}.gi-matched .gi-network-node[data-choice]:not([data-choice=""]){animation:none}
.gi-scope{padding:0 3px;flex-shrink:0}.gi-scope h4{display:flex;justify-content:space-between;gap:10px;font-size:9px;letter-spacing:.08em;color:#625337;margin:0 0 5px}.gi-scope h4>span{font-size:8px;letter-spacing:.03em;color:#686650;font-weight:500}.gi-scope-empty{font-size:12px;color:#4e5743;margin:6px 0;line-height:1.5}.gi-summary{display:grid;grid-template-columns:1fr 1fr;gap:0 14px;margin:0}.gi-summary>div{padding:4px 0;border-bottom:1px solid #ddd5c4;min-width:0}.gi-summary dt{font-size:9px;color:#5a604e}.gi-summary dd{margin:0}.gi-summary button{display:block;max-width:100%;font-size:11px;line-height:1.35;color:#323d2a;font-weight:600;border:0;background:none;text-align:left;padding:0}.gi-summary button:hover{text-decoration:underline}.gi-summary button span{color:#7b6239}
.gi-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #c8bfae;background:#f1ecdf;padding:11px 24px}.gi-status{font-size:12px;line-height:1.4;color:#494f3f;margin:0}.gi-foot>div{display:flex;gap:16px;flex-shrink:0}.gi-foot button{border:0;background:none;font-size:12px;padding:4px 0;color:#4d513e;text-decoration:underline;text-underline-offset:3px}.gi-foot button:disabled{color:#8b877a;cursor:default;text-decoration:none}.gi-shell :focus-visible{outline:2px solid #826638;outline-offset:3px}.gi-shell .gi-chat-question:focus-visible{outline:none}.gi-review{border-block:1px solid #d3c9b4;padding:7px 0;margin:8px 0}.gi-review>span,.gi-result>span{font-size:9px;font-weight:700;color:#705c38;text-transform:uppercase;letter-spacing:.04em}.gi-review>p{font-size:12px;line-height:1.45;color:#3b442f;margin:3px 0 6px}.gi-result{margin:10px 0 0;padding-top:8px;border-top:1px solid #d3c9b4}.gi-result>p{font-size:14px;line-height:1.65;color:#34412b;margin:6px 0 0}.gi-approve{display:flex;justify-content:space-between;gap:20px;width:100%;border:1px solid #4e5a43;background:#4e5a43;color:#fffaf0;border-radius:9px;padding:11px 14px;font-size:13px;font-weight:600}.gi-output-tabs{display:flex;gap:8px}.gi-output-tabs button{flex:1;border:1px solid #9c9e88;background:#f4f0e6;color:#414b34;border-radius:7px;padding:8px 12px;font-size:13px}.gi-output-tabs button[aria-pressed=true]{background:#4e5a43;color:#fffaf0;border-color:#4e5a43}.gi-fallback{padding:25px}
@keyframes gi-network-flow{to{stroke-dashoffset:0}}@keyframes gi-radar{0%{transform:scale(.5);opacity:.6}100%{transform:scale(12);opacity:0}}@keyframes gi-node-in{from{opacity:0;filter:blur(5px)}to{opacity:1;filter:blur(0)}}@keyframes gi-node-out{to{opacity:0;filter:blur(5px)}}@keyframes gi-message-in{from{opacity:0;translate:0 7px}to{opacity:1;translate:0 0}}@keyframes gi-type{0%,70%,100%{opacity:.4;transform:translateY(0)}35%{opacity:1;transform:translateY(-3px)}}
@media(min-width:901px) and (max-height:760px){.gi-head{padding:12px 22px}.gi-head strong{font-size:23px}.gi-body{height:461px}.gi-meter{padding-top:10px;padding-bottom:10px}.gi-message-content>.gi-chat-question{font-size:16px}.gi-message{margin-bottom:10px}.gi-network-title{font-size:22px}.gi-foot{padding-top:9px;padding-bottom:9px}}
@media(min-width:901px) and (max-height:680px){.gi-head{padding:10px 22px}.gi-head strong{font-size:21px}.gi-body{height:432px;padding-bottom:13px;gap:16px}.gi-meter{padding-top:8px;padding-bottom:8px}.gi-chat-top{padding:7px 11px}.gi-compose{padding:8px 10px}.gi-choices button{min-height:30px;padding:5px 9px}.gi-summary>div{padding:3px 0}.gi-summary dt{font-size:8px}.gi-summary button{font-size:10px}.gi-map{padding-top:11px}.gi-network-title{font-size:21px}.gi-foot{padding-top:7px;padding-bottom:7px}}
@media(max-width:900px){.gi-body{gap:13px;padding-inline:13px;grid-template-columns:1fr 1fr}.gi-head{padding:13px 18px}.gi-head strong{font-size:23px}.gi-network-title{font-size:22px}.gi-scope h4>span{display:none}.gi-summary{gap:0 8px}.gi-summary button{font-size:10px}.gi-map{padding-inline:9px}.gi-network-top{font-size:7px}}
@media(max-width:600px){.gi-shell{border-radius:16px 5px 16px 5px;margin-bottom:40px}.gi-head{padding:10px 12px}.gi-head strong{font-size:20px}.gi-head>span{font-size:8px}.gi-meter{padding:8px 12px;gap:10px}.gi-counter{font-size:9px}.gi-body{height:auto;grid-template-columns:1fr;gap:10px;padding:0 10px 10px}.gi-conversation{height:326px}.gi-chat-top{padding:6px 10px}.gi-chat-avatar{width:25px;height:25px;font-size:19px}.gi-chat-top strong{font-size:11px}.gi-chat-top>div>span{font-size:9px}.gi-transcript{padding:9px}.gi-message{gap:5px;margin-bottom:9px}.gi-message-avatar{width:17px;height:17px;font-size:11px}.gi-message-content{padding:7px 9px}.gi-message-content>p{font-size:11px;line-height:1.45}.gi-message-content>.gi-chat-question{font-size:14px;line-height:1.4}.gi-message-content>.gi-chat-note{font-size:10px;line-height:1.4}.gi-message-user{padding-left:30px}.gi-message-name{font-size:7px}.gi-compose{padding:6px 9px 8px}.gi-reply-label{font-size:7px;margin-bottom:4px}.gi-choices{gap:4px}.gi-choices button{min-height:29px;font-size:11px;padding:5px 8px}.gi-aside{gap:7px}.gi-map{height:215px;flex:none;padding:9px 8px 7px;border-radius:12px}.gi-network-top{font-size:6px}.gi-network-title{font-size:18px;margin-top:5px}.gi-network-caption{font-size:9px;min-height:13px}.gi-network{margin:1px 0}.gi-scope h4{font-size:8px;margin-bottom:2px}.gi-scope-empty{font-size:10px;line-height:1.4;margin:3px 0}.gi-summary{gap:0 10px}.gi-summary>div{padding:2px 0}.gi-summary dt{font-size:8px;line-height:1.2}.gi-summary button{font-size:9px;line-height:1.25}.gi-scope{padding:0 2px}.gi-foot{padding:8px 12px;gap:10px}.gi-status{font-size:9px;line-height:1.4}.gi-foot button{font-size:10px}.gi-foot>div{gap:10px}.gi-result>p{font-size:12px;line-height:1.5}.gi-review>p{font-size:11px;line-height:1.35}.gi-review{padding:4px 0;margin:5px 0}.gi-review>span,.gi-result>span{font-size:8px}.gi-approve{padding:8px 10px;font-size:11px}.gi-output-tabs button{font-size:11px;padding:6px 10px}.gi-complete .gi-conversation{height:326px}}
@media(prefers-reduced-motion:reduce){.gi-message,.gi-node-entering,.gi-node-leaving,.gi-typing i,.gi-scan-ring,.gi-signal{animation:none!important}.gi-node-leaving{display:none}.gi-network-node,.gi-choices button{transition:none}.gi-transcript{scroll-behavior:auto}.gi-searching .gi-signal,.gi-applied .gi-signal{stroke-dasharray:none;opacity:.7}}

@media(min-width:901px){.gi-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:0 10px}.gi-summary button{font-size:10px}}

@media(max-width:600px){.gi-node-label{font-size:18px;font-weight:500}.gi-node-kind{display:none}}
/* A travelling search across a persistent, irregular record neighborhood. */
.gi-network{overflow:visible}.gi-map{isolation:isolate}.gi-network-title{position:relative;z-index:1}.gi-network-caption{min-height:29px;padding-right:85px;display:flex;align-items:center;font-size:11px}.gi-distant-network path{fill:none;stroke:#a9bda0;stroke-width:.7;opacity:.12}.gi-distant-network circle{fill:#b9cba8;opacity:.25}.gi-web-edge{fill:none;stroke:#a3b594;stroke-width:1.25;transition:opacity .15s}.gi-web-trail{fill:none;stroke:#d9c28b;stroke-width:1.8;filter:drop-shadow(0 0 3px #d6c58d44)}.gi-orbit-core{fill:#adbd9d;stroke:#c8d5b6;stroke-width:1}.gi-orbit-halo{fill:#b9d19b12;stroke:#bbcca1;stroke-width:.8;opacity:.65}.gi-orbit-source .gi-orbit-core{fill:#f4e4b5;stroke:#fff0c3}.gi-orbit-source .gi-orbit-halo{stroke:#ddc797;fill:#c7b07820;stroke-width:1.4}.gi-orbit-candidate .gi-orbit-core{fill:#ddc897;stroke:#f4e4b9}.gi-orbit-candidate .gi-orbit-halo{stroke:#cdbb8e;fill:#c7b07818}.gi-orbit-label{fill:#eef0dd;font:500 16px 'DM Sans',sans-serif;paint-order:stroke;stroke:#2d382b;stroke-width:4px;stroke-linejoin:round}.gi-orbit-source .gi-orbit-label,.gi-orbit-candidate .gi-orbit-label{font-weight:700;fill:#fff5d9}.gi-orbit-excluded .gi-orbit-core{fill:#af9781;stroke:#c9b69c}.gi-orbit-excluded .gi-orbit-label{fill:#d0c7b8;font-weight:400}.gi-orbit-ghost .gi-orbit-label{display:none}.gi-orbit-current .gi-orbit-halo{animation:gi-orbit-pulse .65s ease-out infinite;transform-box:fill-box;transform-origin:center;stroke:#f4e4b2;stroke-width:1.8;opacity:1}.gi-orbit-current .gi-orbit-core{fill:#fff2c1;filter:drop-shadow(0 0 7px #e8d6a0)}.gi-orbit-current .gi-orbit-label{fill:#fff4cd}.gi-traveller{pointer-events:none}.gi-traveller-glow{fill:#e9d69d25;filter:drop-shadow(0 0 5px #f4df9c)}.gi-traveller-core{fill:#fff4ca;filter:drop-shadow(0 0 4px #fff0ac)}.gi-orbit-updated .gi-orbit-core{fill:#d4edb9;stroke:#e7ffcd}.gi-orbit-updated .gi-orbit-halo{stroke:#d4edb9;stroke-width:2}.gi-orbit-updated .gi-orbit-label{fill:#e9f8db;font-weight:700}.gi-skip{position:absolute;bottom:12px;right:12px;border:1px solid #9ca78a;border-radius:5px;background:#3b4933;color:#f1eddb;font-size:9px;padding:4px 7px;z-index:2}.gi-skip:hover{background:#566344}.gi-exploring .gi-network-title{color:#fff1cb}.gi-exploring .gi-network-top i{box-shadow:0 0 12px #f3dca2}
@keyframes gi-orbit-pulse{from{scale:1;opacity:1}to{scale:2;opacity:0}}
@media(max-width:600px){.gi-orbit-label{font-size:20px;stroke-width:5px}.gi-network-caption{font-size:9px;min-height:24px;padding-right:75px}.gi-skip{font-size:8px;bottom:9px;right:8px;padding:3px 5px}.gi-network-title{font-size:17px}}
@media(prefers-reduced-motion:reduce){.gi-orbit-current .gi-orbit-halo{animation:none}.gi-web-edge{transition:none}}
@media(max-width:600px){.gi-conversation{height:291px}.gi-map{height:250px}.gi-choices{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.gi-choices:has(button:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}.gi-choices button{justify-content:center;text-align:center;font-size:10px;padding:7px 5px;min-height:45px;line-height:1.35}.gi-choices button>span:last-child{display:none}.gi-reviewing .gi-conversation,.gi-complete .gi-conversation{height:326px}.gi-reviewing .gi-map,.gi-complete .gi-map{height:215px}}
/* A quiet arrival cue and a persistent amber result, distinct from nearby records. */
.gi-found-ring{fill:none;stroke:#f2b775;stroke-width:2;opacity:0;pointer-events:none}.gi-orbit-found .gi-orbit-core{fill:#eda567;stroke:#ffe0ad;stroke-width:1.5;filter:drop-shadow(0 0 5px #eeab6866)}.gi-orbit-found .gi-orbit-halo{stroke:#efad70;fill:#dd925c20;stroke-width:1.5;opacity:1}.gi-orbit-found .gi-orbit-label{fill:#ffc58e;font-weight:700}.gi-found-arrival .gi-found-ring{animation:gi-found-light 1.25s ease-out both;transform-box:fill-box;transform-origin:center}.gi-orbit-found.gi-orbit-source .gi-orbit-core{fill:#f4b677;stroke:#ffe5ba}.gi-orbit-found.gi-orbit-source .gi-orbit-label{fill:#ffd4a5}
@keyframes gi-found-light{0%{scale:.6;opacity:0}15%{opacity:1}65%{opacity:.5}100%{scale:3.1;opacity:0}}
@media(prefers-reduced-motion:reduce){.gi-found-arrival .gi-found-ring{animation:none}.gi-orbit-found .gi-orbit-halo{stroke-width:2}}

/* Explanations sit outside the tools so the interactive views keep their viewport fit. */
.demo-intro{display:grid;grid-template-columns:1fr 1.08fr;gap:45px;align-items:start;margin:0 0 25px;padding:22px 0 0;border-top:1px solid #b9af9b}.demo-intro .eyebrow{font-size:11px;color:#715b36}.demo-intro h3{font:400 clamp(26px,2.7vw,37px)/1.18 Georgia,serif;letter-spacing:-.03em;color:#2c3428;margin:13px 0 0}.demo-intro p{font-size:16px;line-height:1.7;color:#3f4838;margin:0 0 12px}.demo-intro p:last-child{margin-bottom:0}.demo-intro .demo-instruction{font-size:13px;color:#555d49;line-height:1.6}.gi-shell+.demo-intro{margin-top:0}
@media(max-width:600px){.demo-intro{grid-template-columns:1fr;gap:15px;margin-bottom:20px;padding-top:20px}.demo-intro h3{font-size:28px}.demo-intro p{font-size:15px;line-height:1.65}.demo-intro .demo-instruction{font-size:12px}}

