:root {
  color-scheme: light;
  font-family: "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
  --ground: #faf8f5;
  --panel: #fffdfa;
  --panel-raised: #f0ede8;
  --border: #ded8cf;
  --text: #34312e;
  --muted: #635e58;
  --quiet: #726b64;
  --accent: #a14832;
  --blue: #5e617d;
  --yellow: #926330;
  --error: #aa343b;
  --radius: 16px;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--text); background: var(--ground); min-width: 290px; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; cursor: pointer; }
button:disabled { cursor: default; opacity: .52; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
input, select, textarea { min-width: 0; color: var(--text); border: 1px solid var(--border); background: var(--ground); border-radius: 9px; padding: 10px 12px; }
input::placeholder, textarea::placeholder { color: var(--quiet); opacity: 1; }
textarea { resize: vertical; }
label { display: block; font-size: .86rem; font-weight: 650; }
.error { color: var(--error); font-size: .84rem; line-height: 1.45; }
.error:empty { display: none; }
.button, .icon-button, .text-button, .nav-item, .model-button { transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease; }
.button { min-height: 42px; padding: 9px 14px; border-radius: 10px; border: 1px solid transparent; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: .84rem; font-weight: 750; white-space: nowrap; }
.button:not(:disabled):active, .icon-button:not(:disabled):active { transform: translateY(1px); }
.button span { font-size: 1.13rem; line-height: 1; }
.primary { background: var(--accent); color: #fffaf6; }
.primary:hover:not(:disabled) { background: #803722; }
.secondary { background: var(--panel-raised); border-color: var(--border); }
.secondary:hover:not(:disabled), .icon-button:hover:not(:disabled), .model-button:hover:not(:disabled) { background: #f0ede8; border-color: #ded8cf; }
.danger { color: var(--error); }
.icon-button { border: 1px solid transparent; background: transparent; border-radius: 9px; width: 36px; height: 36px; display: inline-grid; place-items: center; flex: 0 0 auto; font-size: 1.21rem; padding: 0; }
.text-button { border: 0; padding: 3px 0; background: transparent; color: var(--muted); font-size: .77rem; white-space: nowrap; }
.text-button:hover:not(:disabled) { color: var(--accent); text-decoration: underline; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; top: 12px; left: 12px; background: var(--panel-raised); padding: 12px; z-index: 3; border-radius: 8px; }
.wordmark { display: flex; align-items: center; gap: 11px; font-size: 1.24rem; letter-spacing: -.04em; font-weight: 760; }
.brand-mark { position: relative; width: 28px; height: 28px; display: inline-grid; place-items: center; border-radius: 8px; color: #a14832; background: var(--accent); flex: 0 0 auto; }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; width: 13px; height: 8px; border: 1.5px solid currentColor; border-radius: 24% 8% 24% 8%; transform: rotate(-34deg) skew(-8deg); }
.brand-mark::before { translate: 2px -3px; }
.brand-mark::after { translate: -2px 3px; }
.shell { display: grid; grid-template-columns: 194px minmax(0, 1fr) minmax(300px, 26vw); grid-template-rows: 61px minmax(calc(100dvh - 61px), auto); min-height: 100dvh; }
.sidebar { grid-area: 1 / 1 / 3 / 2; display: flex; flex-direction: column; gap: 35px; background: #eeeae4; border-right: 1px solid var(--border); padding: 23px 14px 15px; position: sticky; top: 0; height: 100dvh; }
.sidebar .wordmark { margin-left: 9px; }
.sidebar nav { display: flex; flex-direction: column; gap: 5px; }
.nav-heading { padding: 0 10px 5px; color: var(--quiet); font-size: .72rem; font-weight: 650; }
.manage-label { margin-top: 22px; }
.nav-item { display: flex; align-items: center; gap: 11px; border: 1px solid transparent; background: transparent; border-radius: 9px; color: var(--muted); width: 100%; padding: 9px 10px; text-align: left; font-size: .86rem; font-weight: 650; white-space: nowrap; }
.nav-item:hover { background: var(--panel-raised); color: var(--text); }
.nav-item.active { background: #eeeae4; border-color: #ded8cf; color: var(--accent); }
.nav-icon { display: inline-block; width: 16px; height: 16px; flex: 0 0 auto; position: relative; }
.nav-icon::before, .nav-icon::after { position: absolute; content: ""; }
.squares::before { border: 1px solid currentColor; border-radius: 2px; width: 6px; height: 6px; top: 1px; left: 1px; box-shadow: 8px 0 0 -1.2px #eeeae4, 8px 0 0 currentColor, 0 8px 0 -1.2px #eeeae4, 0 8px 0 currentColor, 8px 8px 0 -1.2px #eeeae4, 8px 8px 0 currentColor; }
.user::before { width: 7px; height: 7px; border: 1px solid currentColor; border-radius: 50%; left: 4.5px; }
.user::after { width: 13px; height: 6px; border: 1px solid currentColor; border-radius: 6px 6px 3px 3px; left: 1.5px; bottom: 1px; }
.stack::before, .stack::after { width: 10px; height: 10px; border: 1px solid currentColor; transform: rotate(45deg) skew(-8deg, -8deg); border-radius: 2px; left: 3px; top: 1px; }
.stack::after { top: 4px; border-top-color: transparent; border-left-color: transparent; }
.clock::before { inset: 1px; border: 1px solid currentColor; border-radius: 50%; }
.clock::after { width: 4px; height: 5px; border-left: 1px solid currentColor; border-bottom: 1px solid currentColor; left: 8px; top: 4px; }
.decisions-icon::before { inset: 1px 2px; border: 1px solid currentColor; border-radius: 2px; }
.decisions-icon::after { left: 5px; top: 5px; width: 6px; height: 4px; border-left: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(-45deg); }
.plug::before { left: 3px; top: 6px; width: 10px; height: 7px; border: 1px solid currentColor; border-radius: 1px 1px 4px 4px; }
.plug::after { left: 5px; top: 2px; width: 6px; height: 5px; border-inline: 1px solid currentColor; }
.link::before, .link::after { width: 10px; height: 6px; border: 1px solid currentColor; border-radius: 4px; transform: rotate(-43deg); top: 7px; left: 1px; }
.link::after { top: 3px; left: 5px; }
.account { display: flex; gap: 8px; align-items: center; margin-top: auto; padding: 10px 5px 2px; border-top: 1px solid var(--border); }
.avatar { border-radius: 10px; width: 31px; height: 31px; flex: 0 0 31px; background: #ebded3; color: var(--accent); display: grid; place-items: center; font-size: .69rem; font-weight: 800; }
.account-details { display: grid; gap: 2px; flex: 1 1 0; min-width: 0; }
.account-details strong, .account-details span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-details strong { font-size: .77rem; }
.account-details span { color: var(--muted); font-size: .69rem; text-transform: capitalize; }
.account .icon-button { width: 30px; height: 30px; font-size: .96rem; }
.topbar { grid-area: 1 / 2 / 2 / 4; display: flex; align-items: center; justify-content: space-between; padding: 0 29px; background: #eeeae4; border-bottom: 1px solid var(--border); min-width: 0; }
.topbar-crumb, .topbar-assistant { font-size: .8rem; }
.topbar-crumb { display: flex; align-items: center; gap: 11px; color: var(--muted); }
.topbar-crumb strong { color: var(--text); font-weight: 680; }
.topbar-assistant { color: var(--muted); }
.topbar-assistant span { color: var(--accent); padding-left: 4px; }
.workspace { grid-area: 2 / 2 / 3 / 3; padding: 33px 29px 40px; min-width: 0; }
.workspace-header, .library-header { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.workspace-header { margin-bottom: 25px; align-items: end; }
.workspace-header h1 { font-size: clamp(1.76rem, 3.8vw, 2.65rem); line-height: 1.06; letter-spacing: -.055em; }
.workspace-header p { color: var(--muted); font-size: .87rem; margin-top: 8px; line-height: 1.45; }
.page-actions { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.map-card { border: 1px solid #ded8cf; background: #f5f1eb; border-radius: var(--radius); overflow: hidden; position: relative; }
.map-header { padding: 17px 20px 0; display: flex; gap: 12px; align-items: center; justify-content: space-between; position: relative; z-index: 1; pointer-events: none; }
.section-kicker { display: block; margin-bottom: 3px; color: #635e58; font-size: .73rem; }
.map-header h2, .library-header h2 { font-size: 1.23rem; letter-spacing: -.035em; }
.map-legend { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 6px 12px; font-size: .69rem; color: #635e58; }
.map-legend span { white-space: nowrap; }
.map-legend i, .model-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 3px; vertical-align: 1px; }
.map-legend span:nth-child(2) i { background: var(--blue); }
.map-legend span:nth-child(3) i { background: var(--yellow); }
.map-stage { height: clamp(198px, 28vw, 320px); position: relative; isolation: isolate; margin-top: -12px; }
#map { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; }
#map.interactive { cursor: grab; }
#map.interactive:active { cursor: grabbing; }
.map-empty { position: absolute; inset: auto 10px 12% 10px; pointer-events: none; color: #635e58; text-align: center; font-size: .78rem; }
.map-hint { position: absolute; right: 13px; bottom: 8px; color: #726b64; font-size: .66rem; pointer-events: none; }
.map-footer { padding: 10px 18px; background: #f1ede7; border-top: 1px solid #ded8cf; min-height: 40px; display: flex; justify-content: space-between; align-items: center; color: #726b64; font-size: .74rem; }
.library { margin-top: 27px; }
.library-header { margin-bottom: 12px; }
.search { position: relative; width: min(230px, 56%); }
.search input { width: 100%; font-weight: 500; border-radius: 9px; padding: 8px 10px 8px 31px; background: #fffdfa; }
.search-icon { position: absolute; inset: 12px auto auto 11px; width: 10px; height: 10px; border: 1.3px solid var(--muted); border-radius: 50%; pointer-events: none; }
.search-icon::after { position: absolute; content: ""; width: 5px; height: 1.3px; background: var(--muted); transform: rotate(45deg); left: 7px; top: 7px; }
.library-list { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--panel); }
.item-header, .item-button { display: grid; grid-template-columns: minmax(0, 1fr) 95px 14px; gap: 12px; align-items: center; text-align: left; }
.item-header { padding: 10px 13px; border-bottom: 1px solid var(--border); font-size: .74rem; font-weight: 680; color: var(--muted); }
#items { display: grid; list-style: none; margin: 0; padding: 0; }
#items li + li { border-top: 1px solid #ded8cf; }
.item-button { width: 100%; border: 0; background: transparent; padding: 8px 13px; min-height: 56px; transition: background .15s ease; }
.item-button:hover, .item-button:focus-visible { background: var(--panel-raised); }
.item-button:focus-visible { outline-offset: -3px; }
.item-name { display: flex; align-items: center; gap: 8px; min-width: 0; }
.item-symbol { width: 31px; height: 32px; border-radius: 8px; display: grid; place-items: center; color: var(--blue); background: #e6e5ec; flex: 0 0 auto; font-weight: 750; }
.item-symbol.skill { color: var(--accent); background: #ebded3; }
.item-symbol.meeting { color: var(--yellow); background: #f3e8d5; }
.item-wording { display: grid; min-width: 0; gap: 3px; }
.item-wording strong, .item-wording small { white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.item-wording strong { font-size: .86rem; }
.item-wording small { font-size: .71rem; color: var(--muted); }
.item-indicator { color: var(--muted); font-size: .87rem; }
.status-pill { color: var(--accent); background: #ebded3; border: 1px solid #d4c8bc; border-radius: 99px; padding: 3px 7px; justify-self: start; white-space: nowrap; font-size: .68rem; }
.status-pill.company { color: #5e617d; background: #e6e5ec; border-color: #d4c8bc; }
.status-pill.review { color: #926330; background: #f3e8d5; border-color: #d4c8bc; }
.library-status { padding: 18px 13px; color: var(--muted); font-size: .83rem; line-height: 1.5; }
.assistant { grid-area: 2 / 3 / 3 / 4; position: sticky; top: 0; height: calc(100dvh - 61px); min-height: 500px; min-width: 0; display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto; border-left: 1px solid var(--border); background: #eeeae4; }
.assistant-header { display: flex; align-items: center; gap: 10px; padding: 17px 15px 14px; border-bottom: 1px solid var(--border); }
.assistant-mark { width: 34px; height: 34px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 10px; background: #ebded3; color: var(--accent); font-size: 1.23rem; }
.assistant-header h2 { font-size: .96rem; letter-spacing: -.015em; }
.assistant-header p { font-size: .74rem; color: var(--muted); margin-top: 1px; }
.settings { margin-left: auto; color: var(--muted); }
.assistant-toolbar { padding: 11px 15px 6px; display: flex; justify-content: space-between; align-items: center; gap: 9px; }
.model-button { display: flex; align-items: center; gap: 5px; padding: 5px 7px; border: 1px solid var(--border); border-radius: 7px; font-size: .73rem; background: var(--panel); min-width: 0; }
.model-button #model-label { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.model-dot { flex: 0 0 auto; }
.conversation { padding: 12px 15px 4px; overflow-y: auto; }
.conversation-empty { margin: min(11vh, 90px) auto 18px; max-width: 238px; text-align: center; }
.assistant-symbol { display: inline-grid; place-items: center; color: var(--accent); width: 54px; height: 54px; background: radial-gradient(circle, #ebded3, #ebded3); border: 1px solid #d4c8bc; border-radius: 16px; font-size: 1.9rem; margin-bottom: 15px; }
.conversation-empty h3 { font-size: .94rem; letter-spacing: -.02em; }
.conversation-empty p { font-size: .79rem; color: var(--muted); line-height: 1.52; margin-top: 6px; }
.chat-message { max-width: 100%; width: fit-content; border-radius: 12px; padding: 9px 11px; line-height: 1.5; font-size: .85rem; background: var(--panel-raised); border: 1px solid var(--border); margin-bottom: 10px; animation: arrive .2s ease-out both; }
.chat-message.user-message { margin-left: auto; background: #f0ede8; border-color: #d4c8bc; }
.chat-message-content { white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-message small { color: var(--muted); }
.chat-sources { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.source { text-align: left; color: var(--accent); border: 1px solid #d4c8bc; background: #ebded3; padding: 3px 7px; border-radius: 7px; font-size: .72rem; overflow-wrap: anywhere; }
.source:hover { background: #e3d3c5; }
.chat-form { display: grid; margin: 10px 14px 16px; border: 1px solid #ded8cf; border-radius: 11px; background: #fffdfa; padding: 3px; }
.chat-form:focus-within { border-color: #947259; }
.chat-form textarea { border: 0; padding: 8px; min-height: 63px; max-height: 180px; background: transparent; font-size: .83rem; }
.chat-form textarea:focus-visible { outline-offset: -2px; }
.compose-actions { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 1px 4px 4px; }
.compose-actions select { width: auto; max-width: min(74%, 185px); padding: 4px 18px 4px 4px; color: var(--muted); font-size: .72rem; border-color: transparent; background: transparent; }
.send { background: var(--accent); color: #fffaf6; font-weight: 800; height: 31px; width: 31px; }
.send:hover:not(:disabled) { background: #803722; }
.chat-form .error { padding: 2px 7px 6px; }
.login { min-height: 100dvh; display: grid; grid-template-columns: minmax(290px, 1.1fr) minmax(380px, 1fr); align-items: stretch; background: #faf8f5; }
.login-visual { display: grid; place-items: center; isolation: isolate; overflow: hidden; position: relative; border-right: 1px solid var(--border); background: radial-gradient(ellipse at 53% 43%, #ebded3, #f5f1eb 59%, #faf8f5 87%); }
.login-visual::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, #947259 1px, transparent 1px); background-size: 32px 32px; opacity: .2; mask-image: radial-gradient(ellipse, #000, transparent 73%); }
.login-visual i { position: absolute; width: min(70%, 460px); aspect-ratio: 1; border-radius: 50%; border: 1px solid #947259; transform: rotate(-25deg) scaleY(.42); }
.login-visual i:nth-child(2) { width: min(90%, 600px); transform: rotate(43deg) scaleY(.55); }
.login-visual i:nth-child(3) { width: min(54%, 405px); transform: rotate(-72deg) scaleY(.53); }
.login-visual i:nth-child(4) { width: min(42%, 260px); opacity: .45; transform: rotate(14deg) scaleY(.76); }
.login-visual .brand-mark { transform: rotate(-9deg) scale(2.3); box-shadow: 0 0 38px #80eccd56; }
.login-card { align-self: center; justify-self: center; width: min(410px, calc(100% - 52px)); padding: 35px 0; }
.login-card h1 { font-size: clamp(2rem, 5vw, 3.15rem); margin: 35px 0 9px; letter-spacing: -.067em; line-height: 1.04; }
.login-card > p { color: var(--muted); line-height: 1.6; }
.login-card form { display: grid; gap: 9px; margin-top: 26px; }
.login-card .button { margin-top: 5px; justify-content: space-between; }
dialog { max-width: min(552px, calc(100% - 24px)); width: 100%; max-height: calc(100dvh - 32px); color: var(--text); background: #fffdfa; border: 1px solid #ded8cf; border-radius: 16px; padding: 0; box-shadow: 0 18px 80px #53443538; }
dialog[open] { animation: arrive .18s ease-out both; }
dialog::backdrop { background: #30292166; }
.dialog-heading { display: flex; align-items: start; justify-content: space-between; gap: 10px; padding: 12px 12px 9px 19px; border-bottom: 1px solid var(--border); }
.dialog-heading h2 { font-size: 1.28rem; letter-spacing: -.02em; overflow-wrap: anywhere; padding-top: 5px; }
#dialog-body { padding: 17px 19px 19px; }
.dialog-form, .form-field { display: grid; gap: 7px; }
.dialog-form { gap: 12px; }
.dialog-form input, .dialog-form textarea, .dialog-form select, .connector-text { width: 100%; }
.dialog-form .checkbox-label { display: flex; gap: 8px; align-items: center; }
.dialog-form .checkbox-label input { width: auto; accent-color: var(--accent); }
.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 5px; flex-wrap: wrap; }
.dialog-note, .detail-meta { color: var(--muted); line-height: 1.52; font-size: .82rem; }
.item-body { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.56; font: inherit; font-size: .91rem; padding: 12px; border: 1px solid var(--border); background: var(--ground); border-radius: 9px; max-height: 400px; overflow: auto; }
.details .error { margin-top: 8px; }
.plugin-list { display: grid; list-style: none; padding: 0; margin: 9px 0 0; }
.plugin-list li { padding: 11px 0; display: flex; gap: 10px; justify-content: space-between; align-items: center; }
.plugin-list li + li { border-top: 1px solid var(--border); }
.plugin-list strong { font-size: .91rem; }
.plugin-list p { color: var(--muted); font-size: .82rem; line-height: 1.45; margin-top: 3px; }
.connector-text { white-space: pre-wrap; }
.toast { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 5; max-width: calc(100% - 24px); border: 1px solid #d4c8bc; border-radius: 9px; background: #ebded3; color: #fffaf6; padding: 9px 13px; font-size: .85rem; text-align: center; box-shadow: 0 4px 20px #0005; }
@keyframes arrive { from { opacity: 0; translate: 0 5px; } to { opacity: 1; translate: 0 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
.load-more { display: block; margin: 8px auto; padding: 5px 10px; }
.provider-usage { padding: 1px 7px 4px; color: var(--muted); font-size: .68rem; line-height: 1.4; }
.save-answer { display: block; margin-top: 5px; }
.map-tooltip { position: absolute; max-width: 150px; padding: 4px 7px; background: #fffdfa; border: 1px solid #d4c8bc; color: var(--text); border-radius: 6px; font-size: .72rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none; }
.connector-text { margin-top: 12px; }
.decision-filters, .decision-card-header, .decision-references { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.decision-filters { align-items: end; margin-bottom: 13px; }
.decision-filters .form-field { color: var(--muted); font-size: .78rem; }
.decision-filters select { background: var(--panel); }
.decision-filters .search { flex: 1 1 170px; max-width: 245px; }
.decision-list { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
.decision-card { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 13px 15px; min-width: 0; }
.decision-card-header h3 { font-size: 1rem; overflow-wrap: anywhere; }
.decision-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.status-pill.history { color: #625e59; background: #f0ede8; }
.decision-quote { border-inline-start: 2px solid #947259; padding: 5px 0 5px 10px; margin: 11px 0 9px; color: var(--text); font-size: .85rem; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.decision-references { color: var(--muted); font-size: .73rem; justify-content: start; }
.decision-source { color: var(--accent); white-space: normal; text-decoration: underline; overflow-wrap: anywhere; text-align: start; }
.decision-actions { padding-top: 8px; }
.decision-card .dialog-note { margin-top: 8px; }
#decision-more { margin-top: 12px; }
.source-decisions { display: grid; gap: 9px; border-top: 1px solid var(--border); margin-top: 15px; padding-top: 14px; }
.source-highlight { background: var(--accent); color: #fffaf6; border-radius: 2px; }
.chat-save-label { display: flex; align-items: center; gap: 6px; padding: 2px 7px 4px; color: var(--muted); font-size: .72rem; }
.chat-save-label input { accent-color: var(--accent); margin: 0; flex: 0 0 auto; }
.chat-save-preview { display: grid; gap: 4px; padding: 5px 7px 7px; }
.chat-save-preview .form-field, #chat-save-help { color: var(--muted); font-size: .72rem; }
.chat-save-preview input { width: 100%; padding-block: 5px; }
.chat-citations { list-style: none; padding: 0; margin: 0; }
.chat-citations .decision-quote { margin: 5px 0 0; font-size: .78rem; }
.chat-notice { margin-top: 8px; }
.save-answer { white-space: normal; overflow-wrap: anywhere; text-align: start; }

/* Shared workspace surfaces */
:root { --serif: "Iowan Old Style", Baskerville, Georgia, serif; font-family: "Helvetica Neue", Arial, sans-serif; }
.shell { grid-template-columns: 222px minmax(0,1fr); grid-template-rows: 58px 1fr; }
.sidebar { grid-area: 1/1/3/2; background: #f0ede7; padding: 23px 13px 17px; gap: 44px; }
.wordmark { font: 600 1.55rem/1 var(--serif); letter-spacing: -.055em; }
.brand-mark { background: transparent; color: var(--accent); }
.brand-mark::before,.brand-mark::after { width: 19px; height: 11px; border-width: 2px; }
.nav-item { min-height: 37px; font-weight: 500; }
.nav-item.active { color: #3e3029; background: #e3dcd2; border-color: transparent; font-weight: 650; }
.nav-heading { margin-top: 22px; font-size: .72rem; }
.bubble::before { inset: 2px 0 3px 1px; border: 1.2px solid; border-radius: 5px 5px 5px 0; }
.avatar { border-radius: 50%; }
.topbar { grid-area: 1/2; background: var(--ground); padding-inline: clamp(18px,4vw,62px); }
#top-upload { color: var(--text); font-size: .83rem; padding: 7px 12px; border: 1px solid var(--border); border-radius: 8px; background: var(--panel); }
.workspace { grid-area: 2/2; padding: 0; min-width: 0; }
#library-view { max-width: 1120px; margin: auto; padding: clamp(24px,4vw,58px); animation: arrive .2s ease-out; }
.workspace-header h1,.library-header h2,.map-header h2,.dialog-heading h2,.login-card h1 { font-family: var(--serif); font-weight: 500; letter-spacing: -.04em; }
.workspace-header h1 { font-size: clamp(2.3rem,4.5vw,3.5rem); }
.map-stage { height: clamp(160px,23vh,265px); }
.map-card { background: #f5f1eb; }
.map-header { padding-top: 18px; }
.library-list { background: var(--panel); }
.item-header { background: #f2eee8; }
.item-button { min-height: 61px; }
.item-symbol { border-radius: 6px; }
.toast { background: #403731; color: white; }
.source-highlight { background: #f3ce9e; color: var(--text); }
dialog { box-shadow: 0 20px 75px #48372830; }
dialog .dialog-heading { padding: 17px 18px 12px 22px; }
#dialog-body { padding: 21px 22px 24px; }

/* A single reading column keeps the conversation and its sources together. */
.assistant { position: static; margin: auto; width: min(100%, 860px); height: calc(100dvh - 58px); min-height: 485px; padding: 22px clamp(18px,4vw,58px) 28px; display: grid; grid-template: "heading tools" auto "log log" minmax(0,1fr) "compose compose" auto / 1fr auto; border: 0; background: transparent; animation: arrive .2s ease-out; }
.assistant-header { grid-area: heading; border: 0; padding: 0; gap: 8px; }
.assistant-header h2 { line-height: 1.3; font-size: .84rem; font-weight: 550; }
.assistant-mark { width: auto; height: auto; background: transparent; }
.settings { margin-left: 0; }
.assistant-toolbar { grid-area: tools; padding: 0; }
.conversation { grid-area: log; padding: 20px 4px 12px; min-height: 0; }
.conversation:has(.conversation-empty:not([hidden])) { display: grid; align-items: end; }
.conversation-empty { margin: auto auto 17px; max-width: 590px; }
.conversation-empty h3 { font: 500 clamp(2.2rem,4.2vw,3.65rem)/1.06 var(--serif); letter-spacing: -.056em; }
.conversation-empty p { margin: 13px auto 0; font-size: .92rem; max-width: 390px; }
.assistant:has(.conversation-empty:not([hidden])) { padding-bottom: clamp(40px,17vh,170px); }
.fold { display: inline-block; position: relative; width: 74px; height: 64px; margin-bottom: 24px; color: #ad5c42; }
.fold i,.login-visual .fold i:nth-child(n) { position: absolute; inset: 6% 24%; width: auto; height: auto; aspect-ratio: auto; border: 1.5px solid currentColor; border-radius: 58% 42% 57% 43%; transform: rotate(calc(var(--i,0) * 20deg)) skewY(-11deg); opacity: 1; }
.fold i:nth-child(2){--i:1}.fold i:nth-child(3){--i:2}.fold i:nth-child(4){--i:3}.fold i:nth-child(5){--i:4}.fold i:nth-child(6){--i:5}.fold i:nth-child(7){--i:6}.fold i:nth-child(8){--i:7}.fold i:nth-child(9){--i:8}
.chat-form { grid-area: compose; margin: 0; padding: 10px 13px 7px; background: #fffdfa; border-color: #cfc6bc; border-radius: 20px; box-shadow: 0 3px 12px #49372809; }
.chat-form textarea { padding: 8px 5px; font-size: 1rem; }
.compose-actions { justify-content: start; flex-wrap: wrap; padding-bottom: 8px; }
.compose-actions select { max-width: 37%; }
.model-button { max-width: 54%; border-radius: 20px; padding: 5px 10px; }
.send { margin-left: auto; border-radius: 50%; width: 34px; height: 34px; }
.chat-save-label { border-top: 1px solid #eee9e2; padding: 9px 4px 3px; font-weight: 500; }
.chat-message { border: 0; background: transparent; padding: 11px 4px; font-size: .98rem; line-height: 1.65; }
.chat-message.user-message { padding: 11px 16px; border-radius: 16px; }
.login { background: var(--ground); grid-template-columns: 1fr 1fr; }
.login-card { grid-column: 1; grid-row: 1; }
.login-visual { grid-column: 2; grid-row: 1; background: #eae1d6; border: 0; }
.login-visual::before { display: none; }
.login-visual .fold { width: min(40vw,520px); height: min(40vw,520px); margin: 0; }
.login-visual .fold i:nth-child(n) { border-width: clamp(1px,.22vw,3px); }
@media (max-width: 880px) {
  .shell { grid-template-columns: 168px minmax(0,1fr); }
  .sidebar { padding-inline: 9px; }
  .workspace-header { align-items: start; flex-wrap: wrap; }
}
@media (max-width: 620px) {
  .shell { display: block; }
  .sidebar { position: static; height: auto; padding: 15px 12px 7px; gap: 12px; border: 0; }
  .sidebar nav { flex-direction: row; overflow-x: auto; gap: 1px; scrollbar-width: thin; padding-block: 2px; }
  .sidebar .nav-item { width: auto; white-space: nowrap; min-height: 38px; padding: 7px 10px; flex-shrink: 0; }
  .sidebar .nav-icon,.nav-heading,.account-details { display: none; }
  .account { position: absolute; top: 9px; right: 12px; border: 0; padding: 0; }
  .topbar { min-height: 42px; padding-inline: 16px; }
  #library-view { padding: 24px 15px; }
  .map-header { padding-inline: 12px; }
  .assistant { height: calc(100dvh - 145px); min-height: 450px; padding: 12px 16px 16px; }
  .assistant:has(.conversation-empty:not([hidden])) { padding-bottom: 24px; }
  .fold { margin-bottom: 12px; }
  .login { display: flex; flex-direction: column; justify-content: center; }
  .login-visual { display: none; }
  .login-card { margin: auto; }
}
@media (min-width: 621px) and (max-width: 880px) {
  .account .avatar { display: none; }
}

.workspace:focus { outline: 0; }
.topbar { border-bottom: 1px solid var(--border); }
.map-stage { height: clamp(260px,48vh,530px); margin-top: 12px; background: #151524; }
.map-empty { inset: auto 14px 16px; color: #eee5db; }
.map-hint { color: #e0d9dc; }
.map-tooltip { pointer-events: none; }
.map-footer { gap: 20px; }
#map-count { margin-right: auto; }
.map-legend span:nth-child(1) i { background: #b77654; }
.map-legend span:nth-child(2) i { background: #717fab; }
.choice-body { padding: 15px; }
#choices { width: min(390px,calc(100% - 26px)); }
#choice-search { width: 100%; margin-bottom: 8px; }
#choice-list,.history-list { display: grid; max-height: min(48dvh,380px); overflow: auto; }
.choice-row { display: flex; justify-content: space-between; gap: 10px; text-align: left; overflow-wrap: anywhere; padding: 11px 12px; border: 0; border-radius: 8px; background: transparent; font-size: .9rem; }
.choice-row:hover,.choice-row:focus-visible { background: var(--panel-raised); }
.choice-row span { color: var(--accent); }
.history-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; border-bottom: 1px solid var(--border); }
.client-tabs { display: flex; gap: 7px; }
.client-tabs [aria-pressed=true] { border-color: var(--accent); }
.client-command { white-space: pre-wrap; overflow-wrap: anywhere; padding: 12px; background: var(--ground); font-size: .8rem; border: 1px solid var(--border); border-radius: 8px; user-select: all; }
.form-field select { width:fit-content; max-width:100%; min-width:min(12rem,100%); min-height:40px; padding-right:30px; }
.compose-tool,.compose-actions .model-button { min-height: 36px; background: transparent; border:1px solid var(--border); border-radius: 9px; color: var(--text); padding: 6px 9px; font-size:.78rem; }
.compose-tool:hover { background:var(--panel-raised); }
#skill-picker { max-width: 14rem; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
#top-upload.compose-tool { font-size:.78rem; padding:6px 9px; }
.chat-form textarea { resize:none; }
@media(max-width:620px){ .compose-actions {gap:5px;} .compose-actions .model-button {max-width:10rem;} .assistant {min-height:540px;} }
.attachments { display:flex; gap:6px; flex-wrap:wrap; }
.attachments:not(:empty) { padding:4px; }
.attachments .source { max-width:100%; }
.settings-view { display:grid; gap:12px; }
.settings-view article { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:20px; background:var(--panel); border:1px solid var(--border); border-radius:12px; }
.settings-view h2,.reader-heading { font-size:1rem; margin:0 0 6px; }
.settings-view p,.composer-model { font-size:.84rem; color:var(--muted); line-height:1.45; }
.composer-model { max-width:55%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; padding-inline:5px; }
#invocation-hint { padding:5px; }
#dialog:has(.details) { width:min(760px,calc(100vw - 28px)); max-width:760px; }
.reader-heading { margin-top:18px; }
.item-body { line-height:1.65; max-height:52dvh; padding:16px; }
@media(max-width:540px){.settings-view article{align-items:flex-start;flex-direction:column;} }

.skill-group { background:var(--panel-raised); padding:9px 14px; }
.skill-group h3 { margin:0; font-size:.85rem; }

.password-control { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; }
.password-control input { grid-area:1/1/2/3; width:100%; padding-inline-end:4.25rem; }
.password-toggle { grid-area:1/2; margin-inline-end:4px; min-width:3.5rem; min-height:34px; padding:4px 8px; border:0; border-radius:6px; background:transparent; color:var(--muted); font-size:.82rem; font-weight:600; }
.password-toggle:hover { color:var(--text); background:var(--panel-raised); }

.assistant:has(#conversation-empty:not([hidden])) { padding-bottom:clamp(36px,30dvh,320px); }
.conversation-empty { display:flex; align-items:center; justify-content:center; gap:12px; margin:0 auto 16px; }
.conversation-empty .fold { flex:none; width:44px; height:44px; margin:0; }
.conversation-empty h3 { font-size:clamp(1.9rem,4vw,3.2rem); }
.chat-form { position:relative; padding:12px 14px 9px; border-radius:18px; }
.chat-form textarea { min-height:68px; }
.compose-actions { flex-wrap:nowrap; padding:0; gap:5px; }
#top-upload.compose-tool { border:0; border-radius:50%; font-size:1.45rem; padding:0; width:38px; }
#compose-menu { position:relative; }
#compose-menu summary,.model-trigger { list-style:none; cursor:pointer; background:transparent; border:0; color:var(--muted); font-size:.85rem; padding:8px; border-radius:8px; }
#compose-menu summary::-webkit-details-marker { display:none; }
.model-trigger { margin-left:auto; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.model-trigger::after { content:" ⌄"; }
.model-trigger:hover,#compose-menu summary:hover { background:var(--panel-raised); }
.compose-actions .send { margin:0; flex:none; }
.compose-pop { position:absolute; bottom:calc(100% + 8px); left:0; width:max-content; background:var(--panel); border:1px solid var(--border); border-radius:12px; padding:5px; box-shadow:0 8px 32px #31281e1a; z-index:3; }
.compose-pop button { display:block; text-align:left; border:0; border-radius:7px; background:transparent; width:100%; padding:9px 12px; }
.compose-pop button:hover,.compose-pop button:focus-visible { background:var(--panel-raised); }
.provider-chips { display:flex; flex-wrap:wrap; gap:6px; }
.provider-chips [aria-pressed=true] { background:var(--text); color:var(--panel); }
#provider-usage { margin:5px 5px 0; font-size:.72rem; }
#chat-error:empty { display:none; }
@media(max-width:620px){.assistant:has(#conversation-empty:not([hidden])){padding-bottom:clamp(20px,16dvh,120px);} .conversation-empty .fold{width:30px;height:30px;}}
#compose-menu summary { font:400 24px/1 system-ui; padding:7px; }
#models-menu { position:relative; margin-left:auto; min-width:0; }
#models-menu summary { display:block; list-style:none; }
#models-menu summary::-webkit-details-marker { display:none; }
#models-menu .compose-pop { left:auto; right:0; width:min(235px,65vw); }
#models-menu .provider-usage { padding:5px 6px 9px; border-bottom:1px solid var(--border); line-height:1.4; margin-bottom:4px; }

/* Chat uses the workspace header and a single column for reading and writing. */
.new-conversation { display:flex; align-items:center; gap:6px; min-height:36px; padding:4px 11px; background:transparent; border:1px solid var(--border); border-radius:9px; font-size:.82rem; font-weight:500; }
.new-conversation:hover { background:var(--panel-raised); }
.new-conversation span { font-size:1.15rem; line-height:1; }
#assistant { grid-template:"log" minmax(0,1fr) "compose" auto / minmax(0,1fr); min-height:0; padding-block:18px 22px; width:min(100%,880px); }
#assistant:has(#conversation-empty:not([hidden])) { padding-bottom:clamp(24px,32dvh,360px); }
#conversation:has(#conversation-empty:not([hidden])) { justify-items:center; padding:0 0 24px; }
#conversation-empty { margin:0; gap:14px; }
#conversation-empty h3 { font-size:clamp(2rem,4vw,3.4rem); font-weight:400; line-height:1.14; letter-spacing:-.045em; }
.chat-brand { width:34px; height:34px; }
.chat-brand::before,.chat-brand::after { width:26px; height:14px; }
.chat-form { padding:12px 12px 8px; border-color:#d6d1c9; border-radius:20px; box-shadow:0 2px 4px #31271e05,0 9px 24px #31271e05; }
.chat-form:focus-within { border-color:#a59d92; }
#question { width:100%; padding:5px 7px; border-radius:8px; min-height:62px; line-height:1.5; }
#question:focus-visible { outline:0; }
#compose-menu summary,#model-label,#chat-send { min-height:40px; }
#compose-menu summary { display:grid; place-items:center; width:40px; }
#model-label { display:flex; align-items:center; gap:7px; font-weight:500; }
.model-trigger::after { content:""; display:inline-block; width:6px; height:6px; border:solid currentColor; border-width:0 1.4px 1.4px 0; transform:translateY(-2px) rotate(45deg); flex:none; }
#chat-send { width:40px; height:40px; background:var(--text); color:white; border-radius:50%; }
#chat-send:disabled { background:#eae6e0; color:#726c64; opacity:1; }
#chat-send:hover:not(:disabled) { background:#524c45; }
#compose-menu #top-upload { background:transparent; border:0; border-radius:7px; padding:9px 12px; font-size:inherit; }
#compose-menu #top-upload:hover { background:var(--panel-raised); }
.compose-pop { max-height:min(40dvh,250px,var(--available-menu-height,250px)); overflow-y:auto; }
.chat-author { display:flex; gap:7px; align-items:center; font-size:.8rem; font-weight:600; margin-bottom:6px; }
.chat-author .brand-mark { width:18px; height:18px; }
.chat-author .brand-mark::before,.chat-author .brand-mark::after { width:12px; height:7px; border-width:1.4px; }
.chat-message { margin:10px 0 16px; }
.chat-message.user-message { max-width:85%; background:#eeebe6; border-radius:18px 18px 5px 18px; }
.chat-message.assistant-message { width:100%; }
.thinking .chat-message-content { color:var(--muted); }
.chat-sources { margin-bottom:8px; }
#invocation-hint { display:flex; flex-wrap:wrap; gap:4px; color:var(--muted); padding:3px 6px 7px; }
.skill-command { background:var(--panel-raised); border:0; border-radius:6px; padding:6px 9px; font-size:.8rem; overflow-wrap:anywhere; text-align:start; }
.skill-command:hover { background:#e2dcd4; }
@media(max-width:620px){
  .shell:has(#assistant:not([hidden])) { display:flex; flex-direction:column; height:100dvh; min-height:0; }
  .shell:has(#assistant:not([hidden])) .workspace { flex:1; min-height:0; }
  .shell:has(#assistant:not([hidden])) .topbar { flex-shrink:0; min-height:48px; }
  #assistant { height:100%; padding:12px 14px max(12px,env(safe-area-inset-bottom)); }
  #assistant:has(#conversation-empty:not([hidden])) { padding-bottom:clamp(18px,25dvh,210px); }
  #conversation-empty { gap:9px; }
  #conversation-empty h3 { font-size:clamp(1.7rem,8vw,2.35rem); }
  #compose-menu summary,#model-label,#chat-send { min-height:44px; }
  #compose-menu summary,#chat-send { width:44px; }
}
@media(max-height:520px){
  #assistant:has(#conversation-empty:not([hidden])) { padding-bottom:8px; }
  #conversation:has(#conversation-empty:not([hidden])) { padding-bottom:8px; }
}
#browse-workspace { display:none; }
.model-name { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
body:has(#assistant:not([hidden])) .toast { top:64px; bottom:auto; pointer-events:none; }
@media(max-width:620px){
  .shell:has(#assistant:not([hidden])) .sidebar { position:relative; z-index:4; flex-direction:row; gap:8px; align-items:center; padding:8px 12px; min-height:52px; }
  .shell:has(#assistant:not([hidden])) .sidebar .wordmark { margin:0; }
  .shell:has(#assistant:not([hidden])) #browse-workspace { display:block; min-height:36px; margin-left:auto; padding:4px 9px; border:0; background:transparent; color:var(--muted); font-size:.82rem; border-radius:8px; }
  .shell:has(#assistant:not([hidden])) .sidebar .account { position:static; margin:0; }
  .shell:has(#assistant:not([hidden])) #workspace-navigation { display:none; position:absolute; top:calc(100% - 4px); left:10px; right:10px; max-height:65dvh; overflow:auto; padding:6px; background:var(--panel); border:1px solid var(--border); border-radius:14px; box-shadow:0 8px 28px #42382e22; }
  .shell:has(#assistant:not([hidden])) #browse-workspace[aria-expanded=true] + nav { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .shell:has(#assistant:not([hidden])) .sidebar .nav-item { min-height:42px; }
  body:has(#assistant:not([hidden])) .toast { top:105px; }
}
#models-menu #model-label { display:grid; grid-template-columns:minmax(0,1fr) 14px; align-items:center; column-gap:9px; padding-inline:10px; }
#model-label::after { content:none; }
.model-chevron { display:block; justify-self:center; }
#models-menu[open] .model-chevron { transform:rotate(180deg); }
#chat-send { border:0; border-radius:12px; }
#chat-send:disabled { color:#938d85; background:#efede9; }
#chat-send svg { display:block; }
#models-menu .compose-pop { width:min(256px,69vw); padding:5px; }
#model-options { padding-bottom:4px; margin-bottom:4px; border-bottom:1px solid var(--border); }
#model-options .model-choice { display:grid; grid-template-columns:minmax(0,1fr) 17px; align-items:center; gap:8px; padding:8px 10px; }
.model-choice-text { display:grid; gap:3px; min-width:0; }
.model-choice-text strong { font-size:.87rem; font-weight:550; overflow-wrap:anywhere; }
.model-choice-text small,.skill-description,.skill-command small { color:var(--muted); font-size:.77rem; line-height:1.4; }
.choice-check { font-size:.85rem; }
#models-menu .compose-pop > button { font-size:.8rem; color:var(--muted); }
.skill-description,.skill-command small { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; white-space:normal; }
#invocation-hint:has(.skill-command) { display:grid; max-height:min(23dvh,160px); overflow:auto; }
.skill-command { text-align:left; }
.skill-command small { margin-top:2px; }
details.opens-down > .compose-pop { bottom:auto; top:calc(100% + 6px); }
.model-group {display:block;padding:8px 10px 3px;color:var(--muted);overflow-wrap:anywhere;}
#model-options .model-choice strong {min-width:0;overflow-wrap:anywhere;font-size:.84rem;font-weight:500;}
.subscription-row {display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;overflow-wrap:anywhere;}
#review-chip {justify-self:start;margin:2px 6px 5px;}

.reply-preview {margin:0;padding:12px 16px;border-inline-start:2px solid var(--border,#d6d1ca);max-height:12rem;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;font-weight:400}
.reply-edit summary {cursor:pointer;padding-block:6px;font-size:.9rem}
.reply-edit[open] .form-field {margin-top:8px}
.dialog-form:has(.reply-edit[open]) .reply-preview {display:none}

.retention-row {padding:.8rem 0;border-bottom:1px solid var(--border,#dedbd4)}
.retention-quote {white-space:pre-wrap;overflow-wrap:anywhere;margin:.35rem 0;line-height:1.5}
.dialog-actions button[aria-pressed=true]{background:var(--text,#322e2a);color:var(--surface,#fff)}

.admin-record{display:flex;flex-wrap:wrap;align-items:baseline;gap:.4rem .85rem;padding:.85rem 0;border-top:1px solid var(--border,#ddd)}
.admin-record strong,.admin-record small,.admin-record details{flex-basis:100%;overflow-wrap:anywhere}

.original-actions { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem 1rem; }
.original-actions .text-button { white-space: normal; overflow-wrap: anywhere; }

#choices.anchored { position: fixed; margin: 0; border-radius: 12px; box-shadow: 0 8px 28px #30292124; }
#choices.anchored[open] { display: flex; flex-direction: column; animation: none; }
#choices.anchored::backdrop { background: transparent; }
#choices.anchored .dialog-heading { position: absolute; width: 1px; height: 1px; overflow: hidden; padding: 0; clip-path: inset(50%); }
#choices.anchored #choices-close { display: none; }
#choices.anchored .choice-body { display: flex; flex-direction: column; min-height: 0; padding: 5px; }
#choices.anchored #choice-list { max-height: none; min-height: 0; overflow-y: auto; }
#choices.anchored #choice-search { margin-bottom: 4px; flex-shrink: 0; }
#choice-list .choice-row[aria-pressed=true] { background: var(--panel-raised); }
.dialog-form .form-field:has(select) { min-width: 0; }
.dialog-form .form-field select { width: 100%; text-overflow: ellipsis; }

#model-filter { position:sticky; top:0; z-index:1; width:100%; min-width:0; padding:8px 10px; background:var(--panel); border:1px solid var(--border); border-radius:8px; }
#model-no-results { margin:8px 10px; }
#model-options .model-choice[hidden], #model-options .model-group[hidden] { display:none; }

#workspace-title { display:flex; align-items:center; gap:.3em; }
.heading-mark { width:clamp(30px, .8em, 48px); height:auto; flex:none; }
.conversation-empty .heading-mark { width:36px; }
.map-card { background:#101a2b; border-color:#34415a; }
.map-header { padding:14px 18px; }
.map-header h2 { color:#f1f3fa; }
.map-stage { margin-top:0; border-top:1px solid #34415a; }
.map-legend { color:#c2ccdc; }
.map-legend span:nth-child(1) i { background:#e4ab83; }
.map-legend span:nth-child(2) i { background:#9eaddd; }
.map-legend span:nth-child(3) i { background:#dfc18b; }
.map-footer { background:#101a2b; color:#bcc8db; border-color:#34415a; }
.map-footer .text-button { color:#d7e5fa; }
.map-footer .text-button:hover { background:#293851; }

.map-footer .text-button:focus-visible { color:#fff; outline:2px solid #adcbfa; outline-offset:2px; }

.browser-screenshot { display: block; width: auto; max-width: 100%; height: auto; max-height: 65vh; object-fit: contain; object-position: left; margin: .65rem 0; border-radius: .5rem; }
