:root {
  --page: #f7f7f2;
  --paper: #fff;
  --ink: #181818;
  --muted: #595954;
  --rule: #d5d5ce;
  --field: #a6a59c;
  --accent: #f04a2e;
  --accent-dark: #a43522;
  --focus: #a43522;
  --selection: #f8c5b8;
  --evidence: #eeeee7;
  --success: #276244;
  --error: #9d321f;
  color: var(--ink);
  background: var(--page);
  font: 100%/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
::selection { background: var(--selection); color: var(--ink); }
body { margin: 0; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 2.65rem; font-weight: 680; line-height: 1.1; letter-spacing: -.035em; text-wrap: balance; }
h2 { font-size: 1.19rem; line-height: 1.35; letter-spacing: -.018em; }
a { color: var(--accent-dark); text-underline-offset: .2em; }
button, textarea, input, select { font: inherit; }
button { cursor: pointer; color: inherit; }
button:disabled { cursor: default; opacity: .62; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
input, select, textarea { caret-color: var(--accent-dark); }
.frame { width: min(1216px, 100%); margin-inline: auto; padding-inline: 40px; }

label { font-size: .92rem; font-weight: 680; }
textarea, input, select { background: var(--paper); border: 1px solid var(--field); border-radius: 2px; color: var(--ink); }
input, select { min-width: 0; min-height: 44px; padding: 8px 10px; }
textarea:hover, input:hover, select:hover { border-color: var(--ink); }
textarea::placeholder, input::placeholder { color: var(--muted); }
.actions, .link-field { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 11px; }
.primary-button, .secondary-button, .danger-button { min-height: 44px; padding: 9px 14px; border: 1px solid transparent; border-radius: 2px; font-size: .92rem; font-weight: 700; }
.primary-button { background: var(--ink); color: var(--paper); }
.primary-button:hover:not(:disabled) { background: #353532; }
.primary-button:active:not(:disabled) { background: #4e4e47; }
.secondary-button { background: transparent; color: var(--ink); border-color: var(--field); }
.secondary-button:hover:not(:disabled) { background: var(--evidence); border-color: var(--ink); }
.secondary-button:active:not(:disabled) { background: #e5e4da; }
.danger-button { background: var(--error); color: var(--paper); }
.danger-button:hover:not(:disabled) { background: #7d281a; }

.notice { margin-top: 13px; color: var(--muted); font-size: .92rem; overflow-wrap: anywhere; }
.notice:empty { margin: 0; }
.notice[data-error="true"] { color: var(--error); }
.sign-in { max-width: 485px; padding-block: 48px; }
.sign-in > p:first-of-type { margin: 11px 0 22px; color: var(--muted); }
html[data-review="true"] #sign-in-panel { display: none; }
#review-form { display: grid; gap: 7px; max-width: 380px; }
#review-form > label:not(:first-child) { margin-top: 8px; }
#review-form button { justify-self: start; margin-top: 7px; }
#review-form .hint { margin-top: 1px; }
#review-sign-in, #review-return { margin-top: 10px; }
#review-return { display: inline-block; }
.callout { margin: 8px 0 15px; padding: 13px 16px; background: var(--evidence); font-weight: 620; }
.callout[data-error="true"] { color: var(--error); }

:is(.mailboxes, .behavior-page) { width: min(1120px, 100%); margin-inline: auto; padding: 35px 38px 60px; }
:is(.mailboxes, .behavior-page) > .secondary-button { margin-bottom: 20px; }
.section-heading, .register-heading {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px 24px;
  flex-wrap: wrap;
}
.section-heading p { color: var(--muted); margin-top: 9px; }
.section-heading > button { margin-top: 5px; }
.connect-panel { border: 1px solid var(--rule); border-top: 2px solid var(--accent); padding: 20px 22px 22px; background: var(--paper); margin-top: 25px; }
.connect-panel > p:not(.notice) { margin: 7px 0 16px; color: var(--muted); }
.email-field { display: block; max-width: 640px; margin-bottom: 12px; }
.email-field input { display: block; width: 100%; margin-top: 6px; }
.scope-fields { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .65fr); gap: 12px 17px; max-width: 640px; }
.scope-fields input, .scope-fields select, .scope-fields .hint { display: block; width: 100%; }
.scope-fields input, .scope-fields select { margin-top: 6px; }
.scope-fields .hint { margin-top: 5px; font-weight: 400; }
.invitation-result { max-width: 640px; margin-top: 15px; }
.link-field { flex-wrap: nowrap; margin-top: 5px; }
.link-field input { flex: 1; background: var(--page); }
.link-field button { flex-shrink: 0; }
.invitation-result .hint { margin-top: 7px; }
.mailbox-register { margin-top: 30px; }
.register-heading { align-items: center; margin-bottom: 9px; }
.register-heading button { font-size: .84rem; }
.mailbox { border-top: 1px solid var(--rule); }
.mailbox:last-child { border-bottom: 1px solid var(--rule); }
.mailbox-main { display: grid; grid-template-columns: minmax(120px, 1.5fr) minmax(100px, .8fr) minmax(115px, 1fr) minmax(100px, .65fr) 108px; align-items: center; gap: 10px 17px; padding-block: 13px; }
.mailbox-main h3 { font-size: 1rem; line-height: 1.35; overflow-wrap: anywhere; }
.mailbox-main p { color: var(--muted); font-size: .82rem; line-height: 1.4; }
.mailbox-main span { overflow-wrap: anywhere; }
.mailbox-main .status-label { justify-self: start; align-self: center; font-size: .81rem; padding: 3px 8px; max-width: 100%; background: var(--evidence); }
.mailbox-main .status-label[data-state="ready"] { color: var(--success); background: #e2ece2; }
.mailbox-main .status-label[data-state="needs_attention"] { color: var(--error); background: #f7e7e1; }
.mailbox-stat strong { display: block; font-size: .89rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.mailbox .secondary-button { justify-self: start; font-size: .84rem; }
.revocation-note { margin: 0 0 13px; color: var(--muted); font-size: .88rem; }
.disconnect-panel { background: var(--evidence); padding: 13px 15px 15px; margin: 0 0 12px; }
.disconnect-panel p { overflow-wrap: anywhere; }


:root { --masthead: 66px; --sidebar: #eeeee7; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.masthead { position: sticky; top: 0; z-index: 5; background: var(--ink); color: var(--paper); }
.masthead-inner { display: flex; width: 100%; align-items: center; justify-content: space-between; height: var(--masthead); gap: 16px; padding-inline: 28px; }
.identity, .account { display: flex; align-items: center; gap: 14px; min-width: 0; }
.wordmark { font-size: 1.85rem; line-height: .95; font-weight: 900; letter-spacing: -.04em; }
.product-name { padding-left: 14px; border-left: 1px solid #787770; color: #eeeade; font-size: .93rem; font-weight: 580; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account { flex: 0 0 auto; gap: 7px; }
.account select { color-scheme: dark; color: var(--paper); background: #252524; border-color: #77766f; max-width: 180px; }
.quiet-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 10px; border: 1px solid transparent; border-radius: 5px; color: var(--paper); background: transparent; white-space: nowrap; font-size: .91rem; font-weight: 620; }
.quiet-button:hover { background: #393934; }
.masthead :focus-visible { outline-color: var(--paper); }
.drawer-toggle, .drawer-close, .sidebar-scrim { display: none; }
.account-menu { position: relative; }
.account-menu summary { cursor: pointer; list-style: none; }
.account-menu summary::-webkit-details-marker { display: none; }
.account-menu summary::after { content: ""; width: 6px; height: 6px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); margin: -3px 0 0 9px; }
.account-actions { position: absolute; right: 0; top: calc(100% + 8px); z-index: 6; min-width: 155px; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); padding: 5px; }
.account-actions button { display: block; width: 100%; min-height: 42px; text-align: left; border: 0; background: none; padding: 7px 10px; border-radius: 3px; }
.account-actions button:hover { background: var(--sidebar); }
.account-actions :focus-visible { outline-color: var(--focus); }

.main { padding-top: 18px; padding-bottom: 42px; }
body[data-signed-in="true"] .main { width: 100%; padding: 0; }
body[data-signed-in="true"] .main > .callout { margin: 12px 28px; }
.workspace-layout { --tabs-height: 0px; display: grid; grid-template-columns: 252px minmax(0, 1fr); min-height: calc(100dvh - var(--masthead)); align-items: start; align-content: start; }
.workspace-layout:has(.workspace-tabs:not([hidden])) { --tabs-height: 50px; }
.workspace-tabs { grid-column: 1 / -1; position: sticky; top: var(--masthead); z-index: 4; display: flex; align-items: stretch; gap: 8px; height: var(--tabs-height); overflow-x: auto; padding: 2px 21px 4px; border-bottom: 1px solid var(--rule); background: var(--page); }
.workspace-tabs button { flex: 0 0 auto; padding: 0 14px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); white-space: nowrap; font-size: .94rem; font-weight: 650; }
.workspace-tabs button[aria-selected="true"] { border-bottom-color: var(--accent-dark); color: var(--ink); }
.workspace-tabs button:hover { background: var(--sidebar); color: var(--ink); }
.workspace-tabs button:focus-visible { outline-offset: -4px; }
.workspace-body { min-width: 0; }
.workspace-layout:is([data-page="policies"], [data-page="subjects"]) .workspace-body { grid-column: 1 / -1; }
.sidebar { position: sticky; top: calc(var(--masthead) + var(--tabs-height)); height: calc(100dvh - var(--masthead) - var(--tabs-height)); overflow: auto; border-right: 1px solid var(--rule); background: var(--sidebar); padding: 21px 15px 26px; }
.sidebar-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 13px; }
.sidebar-actions button { flex: 0 0 auto; border-radius: 5px; padding-inline: 11px; font-size: .84rem; }
.sidebar-actions .primary-button { flex-grow: 1; }
.sidebar-actions .secondary-button { border-color: transparent; }
.sidebar-actions .secondary-button:hover { border-color: var(--field); }
.sidebar-status { margin: 10px 4px; }
.sidebar-heading { margin: 11px 8px 6px; color: var(--muted); font-size: .78rem; font-weight: 680; }
.saved-folder { border-bottom: 1px solid var(--rule); margin-bottom: 7px; padding-bottom: 5px; }
.saved-list { padding: 0; margin: 0; list-style: none; }
.saved-folder .saved-list { margin-left: 11px; }
.saved-row { display: flex; align-items: center; gap: 2px; border-radius: 5px; min-width: 0; }
.saved-row:has([aria-current="true"]) { background: #deded1; }
.saved-row:hover { background: #e4e4d9; }
.saved-row > button { min-height: 39px; border: 0; background: transparent; border-radius: 5px; }
.saved-row .saved-chat, .saved-row .folder-toggle { min-width: 0; flex: 1 1 auto; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding: 7px 7px 7px 9px; text-align: left; font-size: .91rem; }
.saved-row .folder-toggle { font-weight: 710; }
.folder-toggle::before { content: ""; display: inline-block; margin: 0 10px 3px 0; width: 6px; height: 6px; border-right: 1.2px solid currentColor; border-bottom: 1.2px solid currentColor; transform: rotate(45deg); vertical-align: .1em; }
.folder-toggle[aria-expanded="false"]::before { transform: rotate(-45deg); margin-bottom: 1px; }
.saved-row .library-more { width: 35px; flex: 0 0 auto; display: grid; place-items: center; }
.library-more::before { content: ""; width: 3px; height: 3px; border-radius: 50%; background: currentColor; box-shadow: 5px 0 currentColor, -5px 0 currentColor; }
.saved-row .library-more:hover { background: #d7d7ca; }
.folder-empty { margin: 6px 9px 10px; color: var(--muted); font-size: .85rem; line-height: 1.4; }
.saved-folder > .folder-empty { margin-left: 25px; }

.chat { width: min(100%, 840px); min-height: calc(100dvh - var(--masthead) - var(--tabs-height)); margin-inline: auto; padding: clamp(88px, 17vh, 165px) 43px 45px; }
.chat[data-started="true"] { display: flex; flex-direction: column; padding-top: 26px; padding-bottom: 0; }
.chat[data-started="true"] #conversation { flex: 1; }
.chat-intro { text-align: center; margin: 0 auto 24px; }
.chat-intro h1 { font-size: 2.85rem; line-height: 1.08; }
.chat-intro p { margin-top: 10px; color: var(--muted); font-size: .98rem; }
.chat-composer { padding-bottom: 6px; background: var(--page); }
.chat[data-started="true"] .chat-composer { position: sticky; z-index: 1; bottom: 0; padding-block: 12px max(16px, env(safe-area-inset-bottom)); }
.chat-status { margin: 0 0 8px 3px; }
.chat-status:empty { display: none; }
:is(#question-form, #behavior-form) { border: 1px solid #aaa99d; border-radius: 13px; padding: 7px 9px 9px; background: var(--paper); }
:is(#question-form, #behavior-form):focus-within { border-color: var(--focus); }
:is(#question, #behavior-message) { display: block; width: 100%; min-height: 62px; max-height: 44vh; border: 0; border-radius: 5px; padding: 9px 10px; resize: vertical; background: transparent; font-size: 1.025rem; }
:is(#question, #behavior-message):focus { outline: none; }
.composer-actions { display: flex; justify-content: flex-end; align-items: center; gap: 8px; margin: 2px 1px 0; }
.composer-actions .primary-button { border-radius: 7px; min-width: 78px; }
.local-label { margin-right: auto; padding-left: 9px; color: var(--muted); font-size: .81rem; }
.examples { margin-top: 15px; }
.examples ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 3px 10px; margin: 0; padding: 0; list-style: none; }
.example { min-height: 43px; max-width: 100%; border: 0; background: transparent; border-radius: 5px; padding: 8px 9px; color: var(--muted); text-align: center; font-size: .88rem; }
.example:hover { background: var(--sidebar); color: var(--ink); }
.example::after { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 1px 1px 9px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); color: var(--accent-dark); }
.turn { padding: 11px 0 19px; margin-bottom: 8px; overflow-wrap: anywhere; scroll-margin-bottom: 130px; }
.turn-question { margin-inline-start: auto; margin-bottom: 19px; width: fit-content; max-width: 83%; padding: 10px 14px; border-radius: 12px 12px 3px 12px; background: #eaeade; white-space: pre-wrap; }
.turn-reply { scroll-margin-top: calc(var(--masthead) + var(--tabs-height) + 15px); padding: 0 0 1px; min-width: 0; }
.turn-reply:focus { outline: none; }
.turn-pending, .turn-note { color: var(--muted); }
.answer { display: flow-root; max-width: 71ch; overflow-wrap: anywhere; }
.answer p, .answer ul, .answer ol, .answer h2 { margin: .66em 0; }
.answer p:first-child, .answer ul:first-child, .answer ol:first-child, .answer h2:first-child { margin-top: 0; }
.answer ol, .answer ul { padding-left: 1.55em; }
.answer h2 { font-size: 1.08rem; }
.citation { display: inline-flex; justify-content: center; align-items: center; vertical-align: .12em; min-width: 19px; min-height: 19px; padding: 0 4px; margin-inline: 2px; border-radius: 4px; background: #f4e3db; color: #8a3324; font-size: .76em; font-weight: 760; text-decoration: none; }
.citation:hover { background: #ebc5b6; }
.turn-actions { margin-top: 5px; color: var(--muted); }
.copy-answer, .turn-sources summary { min-height: 40px; border: 0; padding: 9px 7px; border-radius: 4px; background: none; color: var(--muted); font-size: .85rem; }
.copy-answer { margin-left: -7px; }
.copy-answer:hover, .turn-sources summary:hover { background: var(--sidebar); color: var(--ink); }
.turn-sources { display: inline-block; vertical-align: top; }
.turn-sources[open] { display: block; }
.turn-sources summary { cursor: pointer; width: max-content; }
.source-list { border-top: 1px solid var(--rule); margin-top: 5px; }
.source { display: grid; gap: 5px; padding: 11px 10px; border-bottom: 1px solid var(--rule); scroll-margin: calc(var(--masthead) + var(--tabs-height) + 14px) 0 120px; overflow-wrap: anywhere; }
.source:target, .source:focus { outline: 2px solid var(--focus); outline-offset: -2px; }
.source-meta, .source-note, .source-ref, .hint { font-size: .83rem; line-height: 1.5; color: var(--muted); }
.source-meta { display: flex; gap: 3px 8px; flex-wrap: wrap; align-items: baseline; }
.source-id { color: var(--accent-dark); font-weight: 770; }
.source h3 { font-size: .96rem; }
.source blockquote { margin: 0; font-size: .94rem; white-space: pre-wrap; }
.source-ref { font-family: ui-monospace, monospace; }

.policy-library { width: min(100%, 1000px); min-height: calc(100dvh - var(--masthead) - var(--tabs-height)); margin-inline: auto; padding: 37px 35px 64px; }
.policy-library h1 { font-size: 2.35rem; }
.policy-search { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(130px, 1fr) max-content; gap: 10px; align-items: end; margin-top: 25px; }
.policy-search > label { display: grid; min-width: 0; gap: 5px; }
.policy-search :is(input, select) { width: 100%; }
.policy-toolbar { display: flex; min-height: 51px; align-items: center; justify-content: space-between; gap: 8px 15px; margin-top: 9px; }
.policy-toolbar .notice { margin: 0; }
.policy-toolbar .secondary-button { flex-shrink: 0; font-size: .85rem; }
.policy-entry { border-top: 1px solid var(--rule); padding: 20px 0 14px; overflow-wrap: anywhere; }
.policy-entry:last-child { border-bottom: 1px solid var(--rule); }
.policy-entry-meta, .subject-count { color: var(--muted); font-size: .83rem; }
.policy-entry-meta { margin-top: 5px; }
.policy-summary { max-width: 71ch; white-space: pre-wrap; margin-top: 10px; }
.policy-sources { margin-top: 4px; }
.policy-sources > summary { width: max-content; min-height: 44px; padding: 10px 5px; margin-left: -5px; cursor: pointer; color: var(--accent-dark); font-size: .87rem; font-weight: 650; }
.policy-sources > summary:hover { text-decoration: underline; text-underline-offset: .2em; }
#policy-more, #subjects-retry { margin-top: 14px; }
#subjects-list { margin-top: 18px; }
.subject-group { border-top: 1px solid var(--rule); }
.subject-group:last-child { border-bottom: 1px solid var(--rule); }
.subject-group > summary { min-height: 49px; padding: 12px 8px; font-weight: 690; cursor: pointer; overflow-wrap: anywhere; }
.subject-group > summary:hover { background: var(--sidebar); }
.subject-count { margin-left: 12px; font-weight: 500; }
.subject-browse, .subject-entry { min-height: 44px; padding: 8px 6px; border: 0; background: transparent; color: var(--accent-dark); text-align: left; text-underline-offset: .2em; }
.subject-browse { margin: 0 0 1px 19px; font-size: .86rem; }
.subject-browse:hover, .subject-entry:hover { text-decoration: underline; }
.subject-entries { padding: 0 0 10px 25px; margin: 0; list-style: none; }
.subject-entries > li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 2px 12px; border-top: 1px solid var(--rule); padding-right: 8px; }
.subject-entries .policy-entry-meta { margin: 0; }
.subject-entry { overflow-wrap: anywhere; }

.behavior-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 32%); align-items: start; gap: 24px; margin-top: 26px; }
.behavior-chat, .behavior-versions { min-width: 0; }
.behavior-chat .turn { padding: 5px 0 14px; margin-bottom: 8px; }
.behavior-chat .turn-question { margin-bottom: 10px; }
.behavior-chat .turn-reply { white-space: pre-wrap; }
.behavior-draft, .behavior-version { padding: 16px; border: 1px solid var(--rule); border-radius: 9px; background: var(--paper); }
.behavior-draft { margin-top: 18px; border-top: 2px solid var(--accent); }
.behavior-version + .behavior-version { margin-top: 10px; }
.behavior-version summary { cursor: pointer; font-weight: 700; }
.behavior-version .hint { margin-top: 3px; }
.behavior-version .secondary-button { font-size: .84rem; }
.behavior-rules, .behavior-examples { overflow-wrap: anywhere; }
.behavior-rules { margin-block: 5px 0; padding-inline-start: 20px; }
.behavior-rules li + li { margin-top: 5px; }
.behavior-examples { margin-block: 5px 0; }
.behavior-examples dt { font-weight: 680; }
.behavior-examples dd { margin-inline-start: 0; }
.behavior-examples dd + dt { margin-top: 9px; }
.behavior-draft h3, .behavior-version h3 { font-size: .95rem; margin-top: 12px; }
.behavior-retry { margin-top: 9px; }

.library-dialog { width: min(440px, calc(100% - 28px)); border: 1px solid var(--field); border-radius: 10px; padding: 22px; background: var(--paper); color: var(--ink); }
.library-dialog::backdrop { background: rgb(25 24 20 / .42); }
#library-form { display: grid; gap: 8px; }
#library-form input, #library-form select { display: block; width: 100%; }
#library-form h2 { margin-bottom: 7px; }
#library-folder-field label { display: block; margin: 4px 0; }

@media (max-width: 1000px) {
  .chat { padding-inline: 30px; }
  .workspace-layout { grid-template-columns: 228px minmax(0, 1fr); }
  .behavior-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 770px) {
  :root { --masthead: 61px; }
  .frame { padding-inline: 19px; }
  .masthead-inner { padding-inline: 16px; gap: 8px; }
  .identity { gap: 9px; }
  .wordmark { font-size: 1.58rem; }
  .product-name { padding-left: 9px; font-size: .83rem; }
  .account { gap: 2px; }
  .account select { max-width: 115px; padding-inline: 5px; }
  .quiet-button { min-height: 43px; padding-inline: 6px; font-size: .84rem; }
  .drawer-toggle, .drawer-close { display: inline-flex; align-items: center; justify-content: center; }
  .sidebar-scrim { position: fixed; display: block; inset: 0; z-index: 7; width: 100%; border: 0; background: rgb(26 25 21 / .45); }
  .workspace-layout { display: block; }
  .workspace-tabs { gap: 2px; padding-inline: 10px; }
  .workspace-tabs button { padding-inline: 9px; font-size: .87rem; }
  .sidebar { position: fixed; top: 0; left: 0; z-index: 8; width: min(315px, calc(100% - 30px)); height: 100dvh; padding: 15px; visibility: hidden; transform: translateX(-100%); }
  .workspace-layout[data-drawer-open="true"] .sidebar { visibility: visible; transform: translateX(0); }
  .sidebar-actions .drawer-close { font-size: .8rem; }
  .chat { padding: clamp(78px, 14vh, 120px) 19px 36px; }
  .chat[data-started="true"] { padding-top: 20px; }
  .chat-intro h1 { font-size: 2.2rem; }
  .chat-intro p { font-size: .93rem; }
  :is(.mailboxes, .behavior-page) { padding: 23px 19px 45px; }
  .policy-library { padding: 24px 19px 45px; }
  .policy-library h1 { font-size: 1.95rem; }
  .mailbox-main { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; }
}
@media (max-width: 475px) {
  .examples ul { display: grid; gap: 2px; }
  .connect-panel { padding-inline: 14px; }
  .scope-fields { grid-template-columns: minmax(0, 1fr); }
  .turn-question { max-width: 88%; }
  .policy-search { grid-template-columns: minmax(0, 1fr) max-content; }
  .policy-search > label:first-child { grid-column: 1 / -1; }
  .policy-toolbar .secondary-button { padding-inline: 9px; }
  .subject-entries > li { grid-template-columns: minmax(0, 1fr); gap: 0; padding-bottom: 8px; }
  .subject-entries .policy-entry-meta { margin-left: 6px; }
}
@media (max-width: 360px) {
  .workspace-tabs { gap: 1px; padding-inline: 6px; }
  .workspace-tabs button { padding-inline: 7px; font-size: .84rem; }
}
