/* Native device font for chat content; keep the shared font token available to navigation. */
.gur{--gur-chat-font:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;max-width:1200px;margin:0 auto;padding:24px;color:var(--sea-ink);background:var(--sand-200);font-family:var(--gur-chat-font)}
.gur-usage-dialog{position:fixed;inset:0;margin:auto;--brand:var(--teal-600);--brand-ink:var(--teal-700);--brand-soft:var(--teal-50);width:min(560px,calc(100vw - 24px));max-height:88dvh;color:var(--sea-ink);background:var(--sand-50);font-family:var(--gur-chat-font,var(--font));text-align:start}
.gur-usage-dialog .kit-dialog__body{overflow:auto}.gur-usage-dialog h3{font-size:var(--fs-body);margin:0}.gur-usage-dialog p{margin:8px 0;color:var(--sand-700);font-size:var(--fs-compact);line-height:1.65}
.gur-usage-dialog .gur-usage-row,.gur-usage-conversation>div{display:flex;align-items:center;justify-content:space-between;gap:12px}
.gur-usage-conversation{padding:16px;border:1px solid var(--teal-200);border-radius:12px;background:var(--teal-50)}.gur-usage-conversation>div>strong{font-size:var(--fs-h2);color:var(--teal-700)}
.gur-usage-period{padding:20px 0;border-bottom:1px solid var(--sand-300)}.gur-usage-meter{height:8px;background:var(--sand-200);border-radius:99px;overflow:hidden;margin-top:12px;direction:ltr}.gur-usage-meter>span{display:block;height:100%;background:var(--teal-600);border-radius:inherit}
.gur-usage-numbers{margin:12px 0 0}.gur-usage-numbers>div{display:flex;justify-content:space-between;align-items:baseline;gap:14px;margin:8px 0;font-size:var(--fs-compact)}.gur-usage-numbers dt{color:var(--sand-700)}.gur-usage-numbers dd{margin:0;white-space:nowrap;font-variant-numeric:tabular-nums}
.gur-usage-conversation details{margin-top:12px}.gur-usage-conversation summary{cursor:pointer;font-size:var(--fs-compact);color:var(--teal-700)}.gur-usage-uncertain{color:var(--warn)}
.gur-usage-limit{padding:14px;border:1px solid var(--sand-400);border-inline-start:4px solid var(--warn);border-radius:10px;margin-bottom:14px;background:var(--sand-100)}.gur-usage-limit>strong{font-size:var(--fs-small)}.gur-usage-limit p{margin:5px 0}.gur-usage-day{padding-top:8px}.gur-usage-footnote{font-size:var(--fs-caption)!important}
@media(max-width:540px){.gur-usage-dialog{max-height:90dvh}.gur-usage-dialog .kit-dialog__body{padding:14px}.gur-usage-dialog .kit-dialog__head,.gur-usage-dialog .kit-dialog__foot{padding:12px 14px}.gur-usage-numbers>div{gap:8px}.gur-usage-numbers dt{max-width:68%}}
.gur *{box-sizing:border-box}.gur button,.gur input,.gur select,.gur textarea{font:inherit}.gur button{cursor:pointer}
.gur [hidden]{display:none!important}.gur :focus-visible{outline:3px solid var(--teal-400);outline-offset:2px}
.gur-card{display:grid;grid-template-columns:242px minmax(0,1fr);background:var(--sand-50);border:1px solid var(--sand-300);border-radius:18px;overflow:hidden;min-height:690px;box-shadow:var(--shadow)}
.gur-library-scrim{display:none}
.gur-history{background:var(--sand-100);border-inline-end:1px solid var(--sand-300);min-width:0;display:flex;flex-direction:column}
.gur-history-head{padding:17px 15px 0}.gur-new{width:100%;min-height:40px;background:var(--sand-50);color:var(--teal-700);border:1px solid var(--teal-600);border-radius:9px;font-size:var(--fs-th);font-weight:700}
.gur-new:hover,.gur-toolbar button:hover,.gur-artifact-paper footer button:hover{background:var(--teal-50)}
.gur-library-close{display:none}.gur-library-tabs{display:flex;flex-direction:column;gap:3px;margin:16px 15px 0}
.gur-library-tabs button{display:flex;align-items:center;justify-content:flex-start;gap:10px;width:100%;border:0;border-radius:9px;background:transparent;color:var(--sand-700);text-align:start;padding:9px 12px;font-size:var(--fs-th);font-weight:500}
.gur-library-tabs button:hover{background:var(--sand-200)}
.gur-library-tabs button[aria-selected=true]{background:var(--teal-50);color:var(--teal-700);font-weight:600}
.gur-library-tabs button>span:has(svg){display:grid;place-items:center;width:22px;flex:none}
.gur-library-tabs button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.gur-search{display:block;margin:14px 15px}.gur-search input,.gur-group-label select{width:100%;min-height:38px;border:1px solid var(--sand-300);border-radius:9px;background:var(--sand-50);color:var(--sea-ink);padding:8px 10px;font-size:var(--fs-th)}
.gur-chat-filters{padding:0 15px}.gur-tabs{display:flex;gap:6px}.gur-tabs button{flex:1;border:1px solid var(--sand-300);border-radius:8px;background:var(--sand-50);color:var(--sand-700);min-height:32px;font-size:var(--fs-th)}
.gur-tabs button[aria-pressed=true]{background:var(--teal-50);border-color:var(--teal-300);color:var(--teal-700);font-weight:700}.gur-group-label{display:block;margin-top:10px;color:var(--sand-700);font-size:var(--fs-th)}
.gur-group-label select{margin-top:4px}.gur-conversations,.gur-artifact-list{padding:9px;flex:1;min-height:170px;max-height:590px;overflow:auto}
.gur-list-caption{font-size:var(--fs-th);font-weight:700;color:var(--sand-700);padding:9px 10px}
.gur-conversation,.gur-artifact-list>button{margin-bottom:5px}.gur-conversation{position:relative}.gur-conversation-row{position:relative;display:flex;align-items:start}.gur-conversation-row>[data-gur-select],.gur-artifact-list>button{display:block;text-align:start;width:100%;border:1px solid transparent;border-radius:10px;background:transparent;color:var(--sea-ink);padding:10px}.gur-conversation-row>[data-gur-select]{flex:1;min-width:0;padding-inline-end:42px}.gur-artifact-list>button{display:flex;align-items:flex-start;gap:8px}.gur-artifact-list .gur-artifact-icon{margin-top:2px}.gur-artifact-text{min-width:0}
.gur-conversation-row>[data-gur-select]:hover,.gur-artifact-list>button:hover,.gur-conversation-row>[data-gur-select][aria-current=true],.gur-artifact-list>button[aria-current=true]{background:var(--sand-50);border-color:var(--sand-300)}
.gur-conversation-row>[data-gur-select][aria-current=true],.gur-artifact-list>button[aria-current=true]{box-shadow:inset -3px 0 var(--teal-600)}
.gur-conversation strong,.gur-artifact-list strong{display:block;font-size:var(--fs-th);line-height:1.5}.gur-conversation small,.gur-artifact-list small{display:block;color:var(--sand-700);font-size:var(--fs-th);margin-top:4px}
.gur-conversation:hover [data-gur-select],.gur-conversation:focus-within [data-gur-select]{background:var(--sand-50);border-color:var(--sand-300)}
.gur-conversation-actions-toggle{position:absolute;inset-inline-end:8px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:28px;height:28px;border:0;border-radius:7px;background:transparent;color:var(--sand-700);padding:0;opacity:0;pointer-events:none}.gur-conversation-actions-toggle svg{width:16px;height:16px;fill:currentColor}.gur-conversation:hover .gur-conversation-actions-toggle,.gur-conversation:focus-within .gur-conversation-actions-toggle,.gur-conversation-actions-toggle[aria-expanded=true]{opacity:1;pointer-events:auto}.gur-conversation-actions-toggle:hover,.gur-conversation-actions-toggle[aria-expanded=true]{background:var(--teal-50);color:var(--teal-700)}
.gur-conversation-actions{position:absolute;z-index:8;inset-inline-end:5px;top:calc(100% - 4px);display:flex;flex-direction:column;width:170px;padding:5px;border:1px solid var(--sand-300);border-radius:10px;background:var(--surface);box-shadow:var(--shadow)}.gur-conversation-actions.is-above{top:auto;bottom:calc(100% - 4px)}.gur-conversation-actions button{border:0;border-radius:7px;background:transparent;color:var(--sea-ink);font-size:var(--fs-th);text-align:start;min-height:36px;padding:7px 10px}
.gur-conversation-actions button:hover,.gur-conversation-actions button:focus-visible{background:var(--teal-50);color:var(--teal-700)}
@media(hover:none){.gur-conversation-actions-toggle{opacity:1;pointer-events:auto}}
.gur-empty{color:var(--sand-700);font-size:var(--fs-th);padding:12px}.gur-more{color:var(--teal-700)!important;border-color:var(--sand-300)!important;background:var(--sand-50)!important}
.gur-thread,.gur-artifact-view{display:flex;flex-direction:column;min-width:0;max-height:740px}.gur-view-head{padding:16px 24px;border-bottom:1px solid var(--sand-300);display:flex;align-items:center;justify-content:space-between;gap:12px}
.gur-view-head h1,.gur-view-head h2{font-size:var(--fs-body);margin:0 0 2px}.gur-view-head p{color:var(--sand-700);font-size:var(--fs-th);margin:0}.gur-head-actions{display:flex;align-items:center;gap:8px}
.gur-link-button{display:inline-flex;align-items:center;gap:6px;border:0;background:transparent;color:var(--teal-700);font-size:var(--fs-th);font-weight:700;padding:8px}.gur-artifact-icon{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.gur-artifact-paper footer button,.gur-toolbar button{border:1px solid var(--sand-300);border-radius:9px;background:var(--sand-50);color:var(--teal-700);padding:7px 11px;min-height:35px;font-size:var(--fs-th);font-weight:700}
.gur-mobile-list{display:none}.gur-messages{flex:1;min-height:280px;max-height:550px;overflow:auto;padding:24px clamp(16px,4vw,50px);scroll-behavior:smooth}
.gur-welcome{text-align:center;max-width:600px;margin:40px auto}.gur-mark{width:40px;height:40px;margin:0 auto;display:grid;place-items:center;border-radius:11px;background:var(--teal-600);color:var(--sand-50);font-weight:800;font-size:var(--fs-h2)}
.gur-welcome h2{font-size:var(--fs-h2);margin:16px 0 4px}.gur-welcome p{font-size:var(--fs-th);color:var(--sand-700);line-height:1.7}.gur-starters{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin-top:20px}
.gur-starters button{border:1px solid var(--sand-300);background:var(--sand-50);color:var(--teal-700);border-radius:999px;padding:9px 13px;font-size:var(--fs-th)}
.gur-message{max-width:800px;margin:12px auto 24px;overflow-wrap:anywhere}.gur-message--user{width:fit-content;max-width:80%;margin-inline-start:0;margin-inline-end:auto;border:1px solid var(--teal-100);background:var(--teal-50);border-radius:15px 15px 4px 15px;padding:12px 16px}
.gur-message--assistant{position:relative}
.gur-message header{display:flex;gap:10px;color:var(--sand-700);font-size:var(--fs-th);margin-bottom:8px}.gur-message--assistant header strong{color:var(--teal-700)}.gur-message p{font-size:var(--fs-body);line-height:1.5;margin:8px 0 13px}
.gur-message footer{display:flex;flex-wrap:wrap;gap:4px;margin-top:13px}.gur-message footer button{border:0;background:transparent;color:var(--sand-700);border-radius:6px;padding:0;min-height:28px;font-size:var(--fs-th)}.gur-message footer button[aria-pressed=true]{background:var(--teal-50);color:var(--teal-700)}
.gur-message footer .gur-icon-action{display:grid;place-items:center;width:28px;padding:0}.gur-message footer .gur-icon-action:hover{background:var(--sand-100);color:var(--teal-700)}.gur-icon-action svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.gur-feedback--down svg{transform:rotate(180deg)}
@media(pointer:coarse){.gur-message footer .gur-icon-action{width:36px;min-height:36px}}
.gur-composer{margin:0 clamp(16px,4vw,50px) 8px;padding:10px;border:1px solid var(--sand-400);border-radius:13px;background:var(--surface)}.gur-composer:focus-within{border-color:var(--teal-600);box-shadow:0 0 0 2px var(--teal-100)}
.gur-composer textarea{width:100%;min-height:42px;max-height:140px;resize:vertical;border:0;background:transparent;color:var(--sea-ink);font-size:var(--fs-body);padding:6px;outline:0}.gur-composer-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px}
.gur-composer small{font-size:var(--fs-th);color:var(--sand-700)}.gur-send{width:39px;height:39px;border:0;border-radius:9px;background:var(--teal-600);color:var(--sand-50);font-size:var(--fs-body)}.gur-send:disabled{opacity:.55;cursor:not-allowed}
.gur-artifact-main{padding:20px clamp(16px,4vw,50px);overflow:auto;flex:1}.gur-artifact-empty{border:1px dashed var(--sand-400);border-radius:12px;padding:30px;text-align:center;color:var(--sand-700);font-size:var(--fs-th)}
.gur-artifact-banner{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:11px 14px;border:1px solid var(--teal-100);border-radius:11px;background:var(--teal-50);color:var(--teal-700);font-size:var(--fs-th);margin-bottom:14px}.gur-artifact-banner strong{white-space:nowrap}.gur-artifact-banner button{margin-inline-start:auto;border:1px solid var(--teal-300);border-radius:8px;background:var(--surface);color:var(--teal-700);font:inherit;font-weight:700;padding:6px 10px;min-height:34px}.gur-artifact-banner button:disabled{opacity:.5;cursor:not-allowed}
.gur-artifact-paper{background:var(--surface);border:1px solid var(--sand-300);border-radius:14px;overflow:hidden}.gur-artifact-paper>header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 16px;border-bottom:1px solid var(--sand-300)}
.gur-artifact-paper h3{font-size:var(--fs-th);margin:0}.gur-artifact-paper small{color:var(--sand-700);font-size:var(--fs-th)}.gur-artifact-body{padding:16px;min-width:0}.gur-artifact-paper>footer{display:flex;flex-wrap:wrap;gap:7px;padding:11px 16px;border-top:1px solid var(--sand-300)}
.gur-artifact-paper footer button:disabled{opacity:.55;cursor:not-allowed}
.gur-versions{margin-top:18px;border-top:1px solid var(--sand-300);padding-top:16px}.gur-versions h3{font-size:var(--fs-th);margin:0 0 10px}.gur-versions button{width:100%;text-align:start;display:flex;justify-content:space-between;gap:12px;padding:10px 12px;margin-bottom:7px;border:1px solid var(--sand-300);border-radius:9px;background:var(--surface);color:var(--sea-ink);font-size:var(--fs-th)}
.gur-versions button[aria-current=true]{border-color:var(--teal-600);background:var(--teal-50)}.gur-versions span{color:var(--sand-700)}
.gur-toolbar{display:flex;gap:8px;justify-content:flex-end;margin-top:12px}.gur-status{color:var(--teal-700);font-size:var(--fs-th)}.gur-status:empty{display:none}.gur-status:not(:empty){margin:7px 10px 0;padding:8px 10px;border:1px solid var(--teal-100);border-radius:8px;background:var(--teal-50)}
.gur-dashboard-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:10px;margin:16px 0}.gur-kpi{display:flex;flex-direction:column;gap:6px;background:var(--sand-100);border:1px solid var(--sand-300);border-radius:10px;padding:15px}.gur-kpi span{font-size:var(--fs-th);color:var(--sand-700)}.gur-kpi strong{font-size:var(--fs-h1);color:var(--teal-700)}
.gur-dashboard-charts{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px}.gur-chart{min-width:0;border:1px solid var(--sand-300);border-radius:10px;padding:12px;margin:12px 0}.gur-chart figcaption{font-size:var(--fs-th);font-weight:700;margin-bottom:10px}.gur-chart svg,.gur-chart canvas{max-width:100%;height:auto}
.gur-chart-legend{display:flex;flex-wrap:wrap;gap:12px;font-size:var(--fs-th);margin:8px 0}.gur-chart-legend>span{display:flex;align-items:center;gap:6px}.gur-legend-swatch{width:10px;height:10px;border-radius:3px}
.gur-series-0{fill:var(--teal-600);stroke:var(--teal-600);background:var(--teal-600)}.gur-series-1{fill:var(--clay);stroke:var(--clay);background:var(--clay)}.gur-series-2{fill:var(--teal-400);stroke:var(--teal-400);background:var(--teal-400)}.gur-series-3{fill:var(--sand-600);stroke:var(--sand-600);background:var(--sand-600)}.gur-series-4{fill:var(--teal-800);stroke:var(--teal-800);background:var(--teal-800)}.gur-series-5{fill:var(--sand-400);stroke:var(--sand-400);background:var(--sand-400)}.gur-line{fill:none;stroke-width:3}.gur-axis{stroke:var(--sand-300)}.gur-chart-hole{fill:var(--surface)}
.gur-table{overflow:auto;margin:14px 0;border:1px solid var(--sand-300);border-radius:10px}
/* 01.11 · lists and rules inside an answer (chat-content.js list()): the model's bullets were paragraphs with a literal dash until now. */
.gur .gur-list{margin:6px 0 12px;padding-inline-start:22px;font-size:var(--fs-body);line-height:1.5}.gur .gur-list li{margin:3px 0}.gur .gur-list .gur-list{margin:2px 0 4px;font-size:inherit}.gur hr.gur-rule{border:0;border-top:1px solid var(--sand-300);margin:12px 0}
.gur table{width:100%;border-collapse:collapse;font-size:var(--fs-small)}.gur td,.gur th{padding:9px 12px;text-align:start;border-bottom:1px solid var(--sand-300)}.gur th{background:var(--sand-100)}
@media(max-width:900px){.gur{padding:16px}.gur-card{display:block;position:relative}.gur-card.is-library-open .gur-library-scrim{display:block;position:absolute;inset:0;z-index:4;width:100%;height:100%;border:0;background:var(--overlay-scrim)}.gur-history{display:none;position:absolute;z-index:5;inset:0 0 0 auto;width:min(300px,85vw);box-shadow:var(--shadow)}.gur-history.open{display:flex}.gur-library-close{display:grid;place-items:center;position:absolute;inset-inline-end:12px;top:12px;width:34px;height:34px;border:1px solid var(--sand-300);border-radius:9px;background:var(--sand-50);color:var(--teal-700)}.gur-history-head{padding-top:55px}.gur-mobile-list{display:inline-flex;border:1px solid var(--sand-300);border-radius:9px;background:var(--sand-50);color:var(--teal-700);padding:7px 10px;font-size:var(--fs-th)}.gur-thread,.gur-artifact-view{min-height:690px}.gur-conversations,.gur-artifact-list{max-height:70vh}}
@media(max-width:640px){.gur{padding:10px}.gur-card{min-height:calc(100dvh - 210px)}.gur-thread,.gur-artifact-view{min-height:calc(100dvh - 210px);max-height:none}.gur-view-head{padding:12px;align-items:center}.gur-view-head h1,.gur-view-head h2{font-size:var(--fs-th)}.gur-view-head p{font-size:var(--fs-th)}.gur-head-actions{gap:4px}.gur-messages{padding:15px 12px;max-height:calc(100dvh - 380px)}.gur-message--user{max-width:90%}.gur-composer{margin:0 10px 10px}.gur-composer small{max-width:220px}.gur-artifact-main{padding:14px 10px}.gur-dashboard-charts{grid-template-columns:1fr}.gur-toolbar{padding-inline:4px}}
@media(prefers-reduced-motion:reduce){.gur-messages{scroll-behavior:auto}}

/* Keep the chat shell in the viewport; long conversations scroll inside the card. */
.app:has(.gur){height:100dvh;min-height:0}
.main:has(.gur){display:flex;flex-direction:column;min-height:0;height:100%}
.main__inner:has(.gur){display:flex;flex:1;min-height:0;width:100%;max-width:2600px;padding-block:12px}
.gur{display:flex;flex:1;flex-direction:column;min-height:0;max-width:none;padding:16px}
.gur-card{flex:1;min-height:0}
.gur-history{min-height:0}
.gur-conversations,.gur-artifact-list{min-height:0;max-height:none;overscroll-behavior-y:contain}
.gur-thread,.gur-artifact-view{height:100%;min-height:0;max-height:none;overflow:hidden}
.gur-messages,.gur-artifact-main{min-height:0;max-height:none;overscroll-behavior-y:contain}
/* Scrollers contain their visually-hidden (absolute) text; otherwise it escapes to the page at its unscrolled offset and the window scrolls below the shell (29.10). */
.gur-messages,.gur-artifact-main,.gur-conversations,.gur-artifact-list{position:relative}
.gur-history .gur-toolbar{justify-content:flex-start;flex-wrap:wrap;gap:6px;margin:auto 8px 8px;padding-top:8px;border-top:1px solid var(--sand-300)}
.gur-history .gur-toolbar button{min-height:32px;padding:5px 8px}
@media(max-width:820px){.app:has(.gur){height:calc(100dvh - var(--topbar-h))}}
@media(max-width:640px){.gur{padding:10px}}
@media(max-width:900px){
 .gur-history.open{overflow-y:auto;overscroll-behavior-y:contain}
 .gur-history.open .gur-history-head{position:sticky;top:0;z-index:2;padding:8px;padding-inline-end:48px;background:var(--sand-100)}
 .gur-history.open .gur-library-close{top:8px}
 .gur-history.open .gur-conversations,.gur-history.open .gur-artifact-list{flex:none;min-height:120px;max-height:none;overflow:visible}
 .gur-history.open .gur-toolbar{margin-top:8px}
}

/* Compact library and data cards: keep the controls usable while showing more content. */
.main__inner:has(.gur){max-width:1060px;margin-inline:auto;padding:8px}
.gur{padding:8px}
.gur-card{grid-template-columns:212px minmax(0,1fr);border-radius:13px}
.gur-history-head{padding:8px 8px 0}
.gur-new{min-height:36px}
.gur-library-tabs{margin:4px 8px 0}
.gur-library-tabs button{min-height:40px;padding:8px 11px}
.gur-search{margin:6px 8px}
.gur-search input{min-height:34px;padding:5px 8px}
.gur-chat-filters{display:flex;align-items:center;gap:6px;padding:0 8px}
.gur-tabs{flex:1;min-width:0;gap:3px}
.gur-tabs button{min-height:34px}
.gur-group-label{flex:0 0 91px;min-width:0;margin:0}
.gur-group-label select{min-height:34px;margin:0;padding:4px;font-size:var(--fs-caption)}
.gur-conversations,.gur-artifact-list{padding:5px 6px}
.gur-list-caption{padding:5px 8px}
.gur-conversation,.gur-artifact-list>button{margin-bottom:2px}
.gur-conversation-row{align-items:center}
.gur-conversation-row>[data-gur-select],.gur-artifact-list>button{min-height:40px;border-radius:8px;padding:7px 9px}
.gur-conversation-row>[data-gur-select]{display:flex;flex-direction:column;align-items:stretch;gap:3px;padding-inline-end:38px}
.gur-conversation strong,.gur-artifact-list strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.35}
.gur-conversation strong{flex:1}
.gur-conversation small{flex:none;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--fs-micro)}
.gur-conversation-actions-toggle{inset-inline-end:5px;width:30px;height:30px}
.gur-artifact-list>button{align-items:center;gap:7px}
.gur-artifact-list .gur-artifact-icon{width:16px;height:16px;margin:0}
.gur-artifact-text{display:block;min-width:0}
.gur-artifact-list small{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.gur-view-head{padding:11px 16px}
.gur-scope-notice,.gur-block-notice{border:1px solid var(--sand-300);border-radius:9px;background:var(--sand-100);color:var(--sea-ink);font-size:var(--fs-caption);line-height:1.55;padding:8px 12px}
.gur-scope-notice{flex:none;margin:8px 16px 0}
.gur-context-notice{flex:none;margin:8px 16px 0;border-inline-start:3px solid var(--teal-600);border-radius:6px;background:var(--sand-100);color:var(--sea-ink);padding:8px 12px;font-size:var(--fs-small);line-height:1.6;overflow-wrap:anywhere}
.gur-context-notice[hidden]{display:none}
.gur-messages{padding:24px clamp(16px,2vw,32px)}
.gur-message{margin:12px auto 28px}
.gur-message--assistant{max-width:1800px}
.gur-message--assistant p{max-width:800px}
.gur-message--assistant .gur-list,.gur-message--assistant hr.gur-rule{max-width:800px}
.gur-message--user{max-width:min(80%,800px);margin-inline-start:max(0px,calc((100% - 1800px)/2))}
.gur-messages{scroll-behavior:auto}
.gur-message--user{padding:8px 12px}
.gur-message p{line-height:1.5;margin:10px 0 14px}
.gur-message footer{margin-top:12px}
.gur-composer{margin-inline:clamp(14px,3vw,30px)}
.gur-artifact-main{padding:12px clamp(14px,3vw,30px)}
.gur-artifact-banner{padding:8px 10px;margin-bottom:9px}
.gur-artifact-paper>header{padding:9px 12px}
.gur-artifact-body{padding:12px}
.gur-artifact-paper>footer{padding:8px 12px}
.gur-versions{margin-top:12px;padding-top:10px}
.gur-message--assistant,.gur-artifact-body{container-type:inline-size}
.gur-dashboard-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:10px 0}
.gur-kpi{gap:3px;padding:9px;border-radius:8px}
.gur-kpi strong{font-size:var(--fs-kpi-viewport);line-height:1.15}
@container (min-width:600px){.gur-dashboard-cards{grid-template-columns:repeat(4,minmax(0,1fr))}}
.gur-dashboard-charts{gap:8px}
.gur-chart{padding:9px;margin:8px 0}
.gur-chart figcaption{margin-bottom:7px}
@media(max-width:900px){.gur-history-head{padding-top:48px}}
@media(max-width:640px){.gur{padding:8px}.gur-messages{padding:12px}.gur-composer{margin-inline:10px}.gur-artifact-main{padding:10px}.gur-dashboard-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* A turn shows its observed stages next to the assistant while the reply is pending. */
.gur-send{position:relative;display:grid;place-items:center;transition:transform var(--dur-fast) var(--ease),background var(--dur-fast) var(--ease)}
.gur-send:active{transform:scale(.9)}
.gur-send[hidden]{display:none}
.gur-activity{max-width:1800px;margin:12px auto 24px;padding:4px 0;padding-inline-start:39px;color:var(--teal-600)}
.gur-activity-body{min-width:0;direction:ltr;text-align:left}
/* Eight 140 ms offsets + a 420 ms pulse = 1.4 s sweep, then 2 s rest. */
.gur .gur-thinking{--gur-glow-cycle:3.4s;--gur-glow-step:.14s;display:inline-flex;direction:ltr;unicode-bidi:isolate;min-height:44px;padding:0;border:0;background:none;font-family:inherit;cursor:pointer;font-size:var(--fs-h3);font-weight:650;line-height:1.6;letter-spacing:.01em;color:var(--teal-600)}
.gur-thinking:hover{background:none}
/* 29.10 · גיל — סימן עגור (loader.js) לפני המילה; ה-row הוא ltr כמו המילה. */
.gur-thinking-row{display:flex;align-items:center;gap:10px}
.gur-thinking:focus-visible{outline:2px solid var(--teal-600);outline-offset:4px;border-radius:4px}
.gur-activity-details{max-width:460px;margin-top:6px;padding:12px 16px;border-inline-start:2px solid var(--teal-200);background:var(--sand-100);border-radius:var(--r-sm);font-size:var(--fs-small);color:var(--sea-ink)}
.gur-activity-details,.gur-wait-note{direction:rtl;text-align:start}
.gur-activity-heading{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;align-items:baseline}
.gur-activity-heading>span{font-size:var(--fs-caption);color:var(--sand-700)}
.gur-activity-details p,.gur-wait-note{margin:6px 0 0;font-size:var(--fs-small);line-height:1.6;color:var(--sand-700)}
.gur-activity-trail{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px;color:var(--teal-700);font-size:var(--fs-caption)}
.gur-activity-trail span+span::before{content:'‹';padding-inline-end:6px;color:var(--sand-600)}
.gur-thinking>span{display:inline-block;animation:gur-thinking-letter var(--gur-glow-cycle) linear infinite;animation-delay:calc(var(--gur-letter)*var(--gur-glow-step))}
@keyframes gur-thinking-letter{0%,12.352941%,100%{color:var(--teal-600);text-shadow:none;transform:translateY(0)}5%{color:var(--teal-300);text-shadow:0 0 4px var(--teal-200),0 0 10px var(--teal-300),0 0 18px var(--teal-100);transform:translateY(-1px)}}
@keyframes gur-press{from{transform:scale(.82)}to{transform:scale(1)}}
@media(prefers-reduced-motion:reduce){.gur-send,.gur-send-thinking .agur-mark__spin,.gur-send-thinking .agur-mark__sweep,.gur-send-thinking .agur-mark__birds,.gur-thinking>span{animation:none;transition:none;text-shadow:none}}

/* Dashboards share the same calm surface as the chat and give charts enough width to read. */
.gur-dashboard{container-type:inline-size;margin-block:14px 6px}
.gur-dashboard>h3{margin:0 0 10px;color:var(--sea-ink);font-size:var(--fs-body);line-height:1.35}
.gur-dashboard-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 0 12px}
.gur-kpi{min-width:0;gap:4px;padding:10px 12px;background:var(--surface);border:1px solid var(--sand-300);border-inline-start:3px solid var(--teal-300);border-radius:9px}
.gur-kpi span{color:var(--sand-700);font-size:var(--fs-caption);line-height:1.3}
.gur-kpi strong{color:var(--teal-700);font-size:var(--fs-kpi-container);line-height:1.18;overflow-wrap:anywhere}
.gur-dashboard-charts{grid-template-columns:minmax(0,1fr);gap:10px}
.gur-chart{display:flex;flex-direction:column;min-width:0;margin:0;padding:12px 14px 10px;background:var(--surface);border:1px solid var(--sand-300);border-radius:10px}
.gur-chart-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.gur-chart figcaption{min-width:0;margin:2px 0 0;color:var(--sea-ink);font-size:var(--fs-compact);font-weight:700;line-height:1.4}
.gur-chart-save{flex:none;display:grid;place-items:center;width:29px;height:29px;padding:0;border:1px solid transparent;border-radius:7px;background:transparent;color:var(--sand-700)}
.gur-chart-save:hover{border-color:var(--sand-300);background:var(--sand-100);color:var(--teal-700)}
.gur-chart-save svg{width:17px;height:17px}
.gur-chart canvas{display:block;width:100%;max-width:100%;margin:4px 0 0}
.gur-chart-legend{display:flex;flex-wrap:wrap;gap:5px 14px;margin:4px 0 2px;color:var(--sand-700);font-size:var(--fs-caption)}
.gur-chart-legend>span{display:inline-flex;align-items:center;gap:5px;min-width:0}
.gur-chart-legend--parts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 15px}
.gur-chart-legend--parts>span{display:flex}
.gur-legend-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gur-chart-legend b{margin-inline-start:auto;color:var(--sea-ink);font-size:var(--fs-caption);font-weight:700;white-space:nowrap}
.gur-chart-legend small{color:var(--sand-700);font-size:var(--fs-micro);white-space:nowrap}
.gur-legend-swatch{flex:none;width:9px;height:9px;border-radius:2px}
.gur-series-0{fill:var(--teal-600);stroke:var(--teal-600);background:var(--teal-600)}
.gur-series-1{fill:var(--clay);stroke:var(--clay);background:var(--clay)}
.gur-series-2{fill:var(--teal-300);stroke:var(--teal-300);background:var(--teal-300)}
.gur-series-3{fill:var(--sand-600);stroke:var(--sand-600);background:var(--sand-600)}
.gur-series-4{fill:var(--teal-700);stroke:var(--teal-700);background:var(--teal-700)}
.gur-series-5{fill:var(--sand-400);stroke:var(--sand-400);background:var(--sand-400)}
.gur-chart details{margin-top:8px;padding-top:7px;border-top:1px solid var(--sand-300);color:var(--sand-700);font-size:var(--fs-caption)}
.gur-chart summary{width:fit-content;cursor:pointer}
.gur-chart .gur-table{margin-bottom:0}
@container (min-width:620px){.gur-dashboard-cards{grid-template-columns:repeat(4,minmax(0,1fr))}}
@container (min-width:900px){.gur-dashboard-charts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@container (min-width:400px){
 .gur-chart--part{display:grid;grid-template-columns:minmax(150px,2fr) minmax(0,3fr);align-items:center;column-gap:12px}
 .gur-chart--part .gur-chart-head,.gur-chart--part details{grid-column:1/-1}
 .gur-chart--part canvas{grid-column:1;grid-row:2}
 .gur-chart--part .gur-chart-legend--parts{grid-column:2;grid-row:2;grid-template-columns:minmax(0,1fr);margin:0}
}
@container (max-width:399px){.gur-chart-legend--parts{grid-template-columns:1fr}}

/* The composer stays compact as browser zoom reduces the available viewport. */
.gur-composer{display:grid;grid-template-columns:minmax(0,1fr);grid-auto-columns:auto;align-items:end;column-gap:6px;row-gap:2px;margin:0 8px 7px;padding:6px 8px;border-radius:12px}
.gur-composer textarea{grid-column:1;grid-row:1;min-width:0;width:100%;min-height:44px;max-height:min(116px,35dvh);field-sizing:content;resize:none;padding:9px 6px;line-height:1.4}
.gur-composer textarea:placeholder-shown{field-sizing:fixed;height:44px}
/* The empty composer stays one row high; on a narrow phone the placeholder ends in an ellipsis instead of being cut in half (Chrome needs both rules). */
.gur-composer textarea:placeholder-shown,.gur-composer textarea::placeholder{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gur-composer-bottom{display:contents}
.gur-composer small{grid-column:1;grid-row:2;min-width:0;font-size:var(--fs-caption)}
/* Ring, stop and send take the next columns in DOM order; a hidden one leaves neither a column nor a gap. */
.gur-composer [data-gur-usage],.gur-stop,.gur-send{grid-row:1/span 2;align-self:end}
.gur-send{width:44px;height:44px}
/* ⭐ 29.10 · גיל: עצירה היא ריבוע מלא בכפתור מאותה משפחה של השליחה, ולא המילה "עצור". */
.gur-stop{display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:9px;background:var(--teal-600);color:var(--sand-50);transition:background var(--dur-fast) var(--ease)}
.gur-stop:hover{background:var(--teal-700)}
.gur-stop-glyph{width:13px;height:13px;border-radius:3px;background:currentColor}
@media(forced-colors:active){.gur-stop{border:1px solid ButtonText}.gur-stop-glyph{background:ButtonText}}
/* ⭐ 29.10 · גיל: הצריכה היא טבעת קטנה בכותרת השיחה; הקשת היא --gur-usage (chat-usage.js), והטקסט המלא ב-aria-label וב-title. */
.gur-usage-ring{display:grid;place-items:center;width:32px;height:32px;margin-block-end:6px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--teal-600)}
.gur-usage-ring:hover{background:var(--sand-100)}
.gur-usage-ring svg{width:20px;height:20px}
.gur-usage-track{stroke:var(--sand-300)}
.gur-usage-arc{stroke-dasharray:var(--gur-usage,0) 100;transition:stroke-dasharray var(--dur-slow) var(--ease)}
.gur-usage-ring[data-state=warn]{color:var(--warn)}
/* Unavailable is a dashed track without an arc, so it never reads as 0%. */
.gur-usage-ring[data-state=unavailable] .gur-usage-track{stroke:var(--sand-600);stroke-dasharray:6.5 6}
.gur-usage-ring[data-state=unavailable] .gur-usage-arc{display:none}
/* Forced colours keep SVG author strokes, so the sand track would match the forced arc; system colours keep them apart, and warn gets a thicker arc. */
@media(forced-colors:active){.gur-usage-track{stroke:GrayText}.gur-usage-arc{stroke:ButtonText}.gur-usage-ring[data-state=warn] .gur-usage-arc{stroke-width:4}}
/* On touch the ring stays 36px to the eye; its hit area reaches the --tap floor without moving the placeholder. */
@media(pointer:coarse){.gur-usage-ring{position:relative;width:36px;height:36px;margin-block-end:4px}.gur-usage-ring::after{content:'';position:absolute;inset:calc((36px - var(--tap))/2)}}
@media(max-width:640px){
 .gur-view-head .gur-chat-scope{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--fs-caption)}
 .gur-composer{padding:6px}
 .gur-composer small{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .gur-composer [data-gur-usage],.gur-stop,.gur-send{grid-row:1}
 .gur-activity{margin:10px auto 20px;padding:4px 0;padding-inline-start:32px}
 .gur-status:empty{min-height:0;padding:0}
}
@media(max-width:360px){
 .gur-view-head{gap:6px;padding:9px}
 .gur-view-head>div:first-child{min-width:0;flex:1}
 .gur-view-head h1,.gur-view-head h2,.gur-view-head p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}
/* Gil, 22.10: a wide screen can collapse the list; an open arrow takes its place at the head of the view (order:-1, the title keeps div:first-child) and brings it back as a column. Narrow screens keep the drawer. */
.gur-history-head{display:flex;align-items:center;gap:6px}.gur-new{flex:1;min-width:0}.gur-library-collapse,.gur-library-expand{display:none}
@media(min-width:901px){.gur-library-collapse,.gur-card.is-library-collapsed .gur-library-expand{display:grid;place-items:center;flex:none;width:36px;height:36px;padding:0;border:1px solid var(--sand-300);border-radius:9px;background:var(--sand-50);color:var(--teal-700)}.gur-library-collapse:hover,.gur-library-expand:hover{background:var(--teal-50)}.gur-library-collapse span,.gur-library-expand span{display:grid}.gur-library-collapse svg,.gur-library-expand svg{width:18px;height:18px}.gur-library-collapse svg{transform:scaleX(-1)}.gur-card.is-library-collapsed{grid-template-columns:minmax(0,1fr)}.gur-card.is-library-collapsed .gur-history{display:none}.gur-card.is-library-collapsed .gur-library-expand{order:-1}.gur-card.is-library-collapsed .gur-view-head>div:first-child{flex:1;min-width:0}}

/* Shared icon group in the conversation and artifact headers. */
.gur-view-switch{display:inline-flex;flex:none;align-items:center;border:1px solid var(--sand-300);border-radius:10px;background:var(--sand-50);overflow:hidden}
.gur-view-switch>button{display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:0;background:transparent;color:var(--teal-700)}
.gur-view-switch>button+button{border-inline-start:1px solid var(--sand-300)}
.gur-view-switch>button:hover,.gur-view-switch>button[aria-expanded=true]{background:var(--teal-50)}
.gur-view-switch>button:focus-visible{outline-offset:-3px}
.gur-view-switch>button>span{display:grid;place-items:center}
.gur-view-switch svg{width:22px;height:22px}

/* New conversation is an independent action at the left of the chat tab. */
.gur-library-nav{position:relative;margin:4px 8px 0}
.gur-library-nav .gur-library-tabs{margin:0}
.gur-library-nav [data-gur-tab]{min-height:44px}
.gur-library-nav [data-gur-tab=chats]{padding-inline-end:48px}
.gur-library-nav>.gur-new{position:absolute;inset-block-start:0;inset-inline-end:0;display:grid;place-items:center;min-width:44px;width:44px;min-height:44px;height:44px;padding:0;border:0;background:transparent;color:var(--teal-700);font-size:var(--fs-h2);font-weight:500;line-height:1}
.gur-library-nav>.gur-new:hover{background:var(--teal-100)}

/* Reserve space for message actions, revealing them on hover or keyboard focus. */
.gur-message>footer{align-items:center;justify-content:flex-start;direction:ltr;min-height:28px;opacity:0;visibility:hidden}
.gur-message:hover>footer,.gur-message:focus-within>footer{opacity:1;visibility:visible}
.gur-message>footer time{margin-inline-start:6px;font-size:var(--fs-th);line-height:1.4;color:var(--sand-700);white-space:nowrap}
@media(hover:none),(pointer:coarse){.gur-message>footer{opacity:1;visibility:visible}}

/* The user's bubble contains only the message; actions sit below its frame. */
.gur-message--user{padding:0;border:0;border-radius:0;background:transparent}
.gur-user-bubble{padding:10px 14px;border:1px solid var(--teal-100);border-radius:16px;background:var(--teal-50)}
.gur-user-bubble p{margin:0}
.gur-message--user>footer{margin-top:4px}

/* Center the conversation and composer in one readable column with breathing room. */
.gur-thread{--gur-reading-width:800px;--gur-side-gap:clamp(24px,6%,80px)}
.gur-messages{padding-inline:var(--gur-side-gap);scrollbar-gutter:stable both-edges}
.gur-message--assistant,.gur-activity{max-width:var(--gur-reading-width)}
.gur-message--user{margin-inline-start:max(0px,calc((100% - var(--gur-reading-width))/2))}
.gur-composer{width:calc(100% - var(--gur-side-gap) - var(--gur-side-gap));max-width:var(--gur-reading-width);margin-inline:auto}
@media(max-width:640px){.gur-thread{--gur-side-gap:16px}.gur-messages{padding-block:16px}}

/* Keep a question close to its reply, including the live typing preview. */
.gur-message--user{margin-bottom:8px}
.gur-message--user+.gur-message--assistant,.gur-activity[hidden]+.gur-message--assistant{margin-top:0}
.gur-message--user+.gur-message--assistant>div>p:first-child,.gur-activity[hidden]+.gur-message--assistant>p:first-child{margin-top:0}

/* Secondary chat panel: Gil's cream/clay sidebar reference (29.10). */
.gur-card{grid-template-columns:300px minmax(0,1fr)}
.gur-history{background:var(--sand-100);border-color:var(--gur-sidebar-border);font-family:"Assistant",var(--font)}
.gur-history .gur-history-head,.gur-history.open .gur-history-head{display:flex;align-items:flex-start;gap:8px;padding:14px 12px 10px;border-bottom:1px solid var(--gur-sidebar-border);background:var(--sand-100)}
.gur-history .gur-library-nav{position:static;display:flex;flex:1;min-width:0;flex-direction:column;gap:1px;margin:0}
.gur-history .gur-library-tabs{display:flex;flex-direction:column;gap:1px;margin:0}
.gur-history .gur-new,.gur-history .gur-library-tabs>button,.gur-history .gur-nav-more,.gur-history .gur-nav-archive{position:static;display:flex;align-items:center;justify-content:flex-start;gap:10px;flex:none;width:100%;min-width:0;height:40px;min-height:40px;padding:0 12px;border:0;border-radius:10px;background:transparent;color:var(--sand-800);font-size:var(--fs-body);font-weight:600;line-height:1.2;text-align:start}
.gur-history .gur-new{color:var(--clay-dark);font-weight:700}
.gur-history [data-gur-sidebar-icon]{display:flex;align-items:center;justify-content:center;flex:none;width:18px;height:18px}
.gur-history [data-gur-sidebar-icon]>svg{width:18px;height:18px}
.gur-history .gur-library-tabs button[aria-selected=true]{background:var(--clay);color:var(--surface);font-weight:700}
.gur-history .gur-new:hover,.gur-history .gur-nav-more:hover,.gur-history .gur-nav-archive:hover,.gur-history .gur-library-tabs button:not([aria-selected=true]):hover{background:var(--sand-200)}
.gur-history .gur-more-chevron{transition:transform var(--dur-fast) var(--ease)}
.gur-history .gur-nav-more[aria-expanded=true] .gur-more-chevron{transform:rotate(-90deg)}
.gur-history .gur-nav-archive{height:36px;min-height:36px;width:calc(100% - 28px);margin-inline-start:28px;font-size:var(--fs-body)}
.gur-history .gur-nav-archive[aria-pressed=true]{background:var(--sand-200);color:var(--clay-dark)}
.gur-history .gur-library-collapse,.gur-history .gur-library-close{position:static;flex:none;align-items:center;justify-content:center;width:40px;height:40px;min-height:40px;margin:0;padding:0;border:0;border-radius:10px;background:transparent;color:var(--sand-700)}
.gur-history .gur-library-collapse:hover,.gur-history .gur-library-close:hover{background:var(--sand-200)}
.gur-history .gur-library-collapse svg{transform:none}
.gur-history .gur-search{display:flex;align-items:center;gap:8px;height:38px;margin:10px 12px 8px;padding:0 12px;border:0;border-radius:10px;background:var(--sand-200);color:var(--sand-700)}
.gur-history .gur-search input{flex:1;min-width:0;width:100%;height:38px;min-height:38px;padding:0;border:0;border-radius:0;outline:0;background:transparent;color:var(--sea-ink);font-size:var(--fs-body)}
.gur-history .gur-search input::placeholder{color:var(--sand-700)}
.gur-history .gur-search:focus-within{outline:2px solid var(--teal-600);outline-offset:2px}
.gur-history .gur-chat-filters{display:block;padding:0 12px 10px}
.gur-history .gur-group-label{display:block;width:100%;margin:0}
.gur-history .gur-group-label select{display:block;width:100%;height:38px;min-height:38px;margin:0;padding:0 12px;border:0;border-radius:10px;background:var(--sand-200);color:var(--sea-ink);font-size:var(--fs-small)}
.gur-history .gur-conversations,.gur-history .gur-artifact-list{padding:0 10px 12px}
.gur-history .gur-list-caption{padding:10px 10px 4px;color:var(--sand-700);font-size:var(--fs-th);font-weight:700;letter-spacing:.08em}
.gur-history .gur-conversation{margin-bottom:1px}
.gur-history [data-gur-select]{display:flex;flex-direction:row;align-items:center;gap:10px;width:100%;min-height:44px;padding:6px 10px;padding-inline-end:38px;border:0;border-radius:10px;background:transparent;box-shadow:none;color:var(--sea-ink)}
.gur-history .gur-conversation:hover [data-gur-select]:not([aria-current=page]),.gur-history .gur-conversation:focus-within [data-gur-select]:not([aria-current=page]){background:var(--sand-200)}
.gur-history .gur-conversation-body{display:flex;flex:1;min-width:0;flex-direction:column}
.gur-history .gur-conversation strong{display:block;flex:none;min-width:0;color:inherit;font-size:var(--fs-small);font-weight:600;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gur-history .gur-conversation small{display:flex;align-items:center;gap:5px;max-width:none;margin:0;color:var(--sand-700);font-size:var(--fs-caption);line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gur-history .gur-conversation-state{display:grid;place-items:center;flex:none;width:22px;height:22px;color:var(--sand-700)}
.gur-history .gur-conversation-state>svg{width:18px;height:18px}
.gur-state-unread{width:10px;height:10px;border-radius:50%;background:var(--gur-sidebar-unread)}
.gur-history [data-state=unread] strong{font-weight:700}
.gur-history [data-state=unread] small{color:var(--gur-sidebar-unread-ink)}
.gur-history [data-state=thinking] small{color:var(--teal-600)}
.gur-history [data-gur-select][aria-current=page]{background:var(--clay);color:var(--surface);box-shadow:none}
.gur-history [aria-current=page] strong{font-weight:700}
.gur-history [aria-current=page] small,.gur-history [aria-current=page] .gur-conversation-state{color:var(--surface)}
.gur-history .gur-conversation:has([aria-current=page]) .gur-conversation-actions-toggle{color:var(--surface)}
.gur-history .gur-conversation-actions-toggle:hover{color:var(--sand-800);background:var(--sand-200)}
.gur-history .gur-conversation:has([aria-current=page]) .gur-conversation-actions-toggle:hover{color:var(--surface);background:var(--clay-dark)}
.gur-category-dot{--gur-dot:var(--sand-600);--gur-dot-on:var(--sand-200);flex:none;width:6px;height:6px;border-radius:50%;background:var(--gur-dot)}
.gur-category-finance{--gur-dot:var(--dom-finance-base);--gur-dot-on:var(--dom-finance-bg)}
.gur-category-demo{--gur-dot:var(--sand-600);--gur-dot-on:var(--sand-200)}
.gur-category-community{--gur-dot:var(--gur-sidebar-community);--gur-dot-on:var(--gur-sidebar-community-on)}
.gur-category-service{--gur-dot:var(--dom-housing-base);--gur-dot-on:var(--dom-housing-bg)}
.gur-category-admin{--gur-dot:var(--teal-600);--gur-dot-on:var(--teal-100)}
[aria-current=page] .gur-category-dot{background:var(--gur-dot-on)}
.gur-history .gur-conversation-state .agur-mark{width:22px;height:22px}
.gur-history .gur-conversation-state .agur-mark__track{stroke:var(--gur-sidebar-border);stroke-width:44}
.gur-history .gur-conversation-state .agur-mark__sweep{stroke:var(--teal-600);stroke-width:44;animation:none}
.gur-history .gur-conversation-state .agur-mark__birds{animation:none}
.gur-history .gur-conversation-state .agur-mark__spin{animation-duration:var(--dur-gur-sidebar-spin)}
.gur-history [aria-current=page] .agur-mark__track{stroke:currentColor;stroke-opacity:.45}
.gur-history [aria-current=page] .agur-mark__birds path{fill:currentColor}
.gur-history .gur-toolbar{border-color:var(--gur-sidebar-border)}
.gur-history .gur-toolbar button{border:0;background:transparent;color:var(--sand-700)}
@media(min-width:901px){.gur-history .gur-library-collapse{display:flex}}
@media(max-width:900px){.gur-history .gur-library-close{display:flex}.gur-history{width:min(300px,85vw)}}
@media(prefers-reduced-motion:reduce){.gur-history .agur-mark__spin{animation:none}.gur-history .gur-more-chevron{transition:none}}

/* Recovery stays visible below the chat, with a bounded height on small screens. */
.gur-recovery{flex:none;max-height:36dvh;overflow:auto;margin:8px 0 0;padding:12px;border:1px solid var(--sand-400);border-radius:10px;background:var(--sand-50);color:var(--sea-ink);font-size:var(--fs-th);line-height:1.6}.gur-recovery[hidden]{display:none}.gur-recovery p{margin:4px 0}.gur-recovery-actions{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0}.gur-recovery details{margin-top:8px}.gur-recovery summary{cursor:pointer}.gur-recovery pre{white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0;font-family:var(--gur-chat-font)}

/* First-use acceptance is an explicit personal action; ordinary conversations have no consent footer. */
.gur-consent{flex:1;min-height:0;overflow:auto;padding:20px clamp(16px,4vw,40px);line-height:1.7;color:var(--sea-ink)}
.gur-consent[hidden],.gur--needs-consent .gur-messages{display:none}
.gur-consent h2{margin:0 0 12px;font-size:var(--fs-th)}
.gur-consent p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 16px}
.gur-consent button{background:var(--teal-700);color:var(--sand-50);min-height:44px;padding:10px 16px;border:0;border-radius:12px}
.gur-consent button:disabled{opacity:.55;cursor:default}
.gur-consent [data-gur-consent-status]{margin-top:12px}

/* One shared composer surface on desktop and phones; focus belongs to its outer edge. */
.gur-composer{display:flex;align-items:flex-end;gap:6px;padding:6px;border:1px solid var(--sand-200);border-radius:28px;background:var(--surface);box-shadow:none}
.gur-composer:focus-within{border-color:var(--teal-600);outline:2px solid var(--teal-600);outline-offset:2px;box-shadow:none}
.gur-composer textarea{order:2;flex:1;min-width:0;min-height:44px;padding:11px 4px;border:0!important;border-radius:0;background:transparent;box-shadow:none!important;font-size:var(--fs-body)}
.gur-composer textarea:focus,.gur-composer textarea:focus-visible{outline:none!important;box-shadow:none!important}
.gur-composer .gur-send,.gur-composer .gur-stop{order:3;flex:none;width:44px;height:44px;border-radius:50%}
.gur-composer small{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.gur-view-head .gur-usage-ring{flex:none;width:44px;height:44px;margin:0}
.gur-view-head .gur-usage-ring::after{display:none}

/* Keep the existing bird motion visible without restoring the removed sweep ring. */
.gur-thinking-row .agur-mark,.gur-history .gur-conversation[data-state=thinking] .agur-mark{animation:gur-mark-breathe var(--dur-gur-breathe) ease-in-out infinite}
.gur-thinking-row .agur-mark__birds,.gur-history .gur-conversation[data-state=thinking] .agur-mark__birds{animation:agur-float var(--dur-gur-breathe) ease-in-out infinite}
@keyframes gur-mark-breathe{0%,100%{transform:translateY(0) scale(1);opacity:.72}50%{transform:translateY(-3px) scale(1.12);opacity:1}}
@media(prefers-reduced-motion:reduce){.gur-thinking-row .agur-mark,.gur-thinking-row .agur-mark__birds,.gur-history .gur-conversation[data-state=thinking] .agur-mark,.gur-history .gur-conversation[data-state=thinking] .agur-mark__birds,.gur-thinking>span{animation:none;transform:none;opacity:1;text-shadow:none}}

/* 01.11 · Composer attachment shelf (chat-paste.js) — its own full-width row inside the
 * composer. The flex line wraps only while the shelf is shown, so the one-line composer
 * above stays byte-for-byte the layout it is today when nothing is attached. */
.gur-composer:has(.gur-attach-row:not([hidden])){flex-wrap:wrap}
.gur-attach-row{order:0;flex:0 0 100%;display:grid;gap:var(--s1);min-width:0;padding:var(--s1) var(--s2) 0}
.gur-attach-list{display:flex;flex-wrap:wrap;gap:var(--s2);min-width:0;margin:0;padding:0;list-style:none}
.gur-attach-chip{display:flex;align-items:center;gap:var(--s1);padding-inline-end:var(--s1);border:1px solid var(--sand-300);border-radius:var(--r-sm);background:var(--surface)}
.gur-attach-thumb{display:block;width:var(--tap);height:var(--tap);border-radius:var(--r-sm);object-fit:cover;background:var(--sand-100)}
.gur-composer .gur-attach,.gur-attach-remove{display:grid;place-items:center;flex:none;width:var(--tap);height:var(--tap);padding:0;border:0;border-radius:50%;background:transparent;color:var(--teal-700)}
.gur-composer .gur-attach{order:1}
.gur-composer .gur-attach svg,.gur-attach-remove svg{width:20px;height:20px}
.gur-composer .gur-attach:hover,.gur-attach-remove:hover{background:var(--teal-50)}
.gur-attach-note{margin:0;color:var(--clay-dark);font-size:var(--fs-small);line-height:var(--lh-body);overflow-wrap:anywhere}
.gur-attach-note:empty{display:none}
.gur-user-shots{display:flex;flex-wrap:wrap;gap:var(--s2);margin-top:var(--s2)}
.gur-user-shots img{width:auto;max-width:min(220px,100%);height:auto;border:1px solid var(--teal-100);border-radius:var(--r-sm)}
@media(max-width:640px){.gur-user-shots img{max-width:min(150px,100%)}}
