/* Chat jurisdiction chip, menu and first-start question (jurisdiction.js). Portal tokens. */
html body .composer-shell .jurisdiction-chip { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 8px !important; white-space: nowrap; }
html body .composer-shell .jurisdiction-chip.two { color: var(--ws-primary, var(--accent)); }
html body .composer-shell.cx .cx-pop.jurisdiction-pop { width: min(420px, calc(100vw - 24px)); min-width: 0 !important; max-width: none !important; max-height: calc(100dvh - 120px); overflow-y: auto; padding: 14px !important; display: flex; flex-direction: column; gap: 12px; box-sizing: border-box; }
html body .composer-shell.cx .cx-pop.jurisdiction-pop .jp-sec { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
html body .composer-shell.cx .cx-pop.jurisdiction-pop .jp-sec + .jp-sec { padding-top: 12px; border-top: 1px solid var(--border); }
html body .composer-shell.cx .cx-pop.jurisdiction-pop .jp-h { font-size: 12px; font-weight: 500; line-height: 1.35; color: var(--muted); text-transform: none; padding: 0; }
html body .composer-shell.cx .cx-pop.jurisdiction-pop .jp-list, html body .composer-shell.cx .cx-pop.jurisdiction-pop .jp-many { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(150px, 100%), 1fr)); gap: 6px; }
html body .composer-shell.cx .cx-pop.jurisdiction-pop .jp-list button { display: flex !important; align-items: center; gap: 6px; width: 100% !important; min-width: 0; min-height: 38px; height: auto; padding: 7px 10px !important; border: 1px solid var(--border); border-radius: 10px; background: transparent; color: var(--text); font-size: 14px; line-height: 1.2; text-align: left; white-space: normal; cursor: pointer; }
html body .composer-shell.cx .cx-pop.jurisdiction-pop .jp-list button:hover, html body .composer-shell.cx .cx-pop.jurisdiction-pop .jp-many label:hover { border-color: var(--ws-primary, var(--accent)); }
html body .composer-shell.cx .cx-pop.jurisdiction-pop .jp-list button.active { border-color: var(--ws-primary, var(--accent)); color: var(--ws-primary, var(--accent)); font-weight: 600; }
html body .composer-shell.cx .cx-pop.jurisdiction-pop .jp-def { margin-left: auto; font-size: 10px; color: var(--muted); font-weight: 400; white-space: nowrap; }
html body .composer-shell.cx .cx-pop.jurisdiction-pop .jp-many label { display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 36px; margin: 0; padding: 6px 10px; border: 1px solid var(--border); border-radius: 10px; font-size: 13px; line-height: 1.2; color: var(--text); cursor: pointer; box-sizing: border-box; }
html body .composer-shell.cx .cx-pop.jurisdiction-pop .jp-many label:has(input:checked) { border-color: var(--ws-primary, var(--accent)); }
html body .composer-shell.cx .cx-pop.jurisdiction-pop .jp-list button, html body .composer-shell.cx .cx-pop.jurisdiction-pop .jp-two button { border: 1px solid var(--border) !important; background: transparent !important; }
html body .composer-shell.cx .cx-pop.jurisdiction-pop .jp-list button:hover, html body .composer-shell.cx .cx-pop.jurisdiction-pop .jp-two button:hover, html body .composer-shell.cx .cx-pop.jurisdiction-pop .jp-list button.active, html body .composer-shell.cx .cx-pop.jurisdiction-pop .jp-two button.active { border-color: var(--ws-primary, var(--accent)) !important; }
html body .composer-shell.cx .cx-pop.jurisdiction-pop .jp-list button:hover, html body .composer-shell.cx .cx-pop.jurisdiction-pop .jp-two button:hover { background: var(--hover) !important; }
html body .composer-shell.cx .cx-pop.jurisdiction-pop .jp-many label, html body .composer-shell.cx .cx-pop.jurisdiction-pop .jp-many label span, html body .composer-shell.cx .cx-pop.jurisdiction-pop .jp-default, html body .composer-shell.cx .cx-pop.jurisdiction-pop .jp-default span { text-transform: none !important; letter-spacing: normal !important; font-weight: 400 !important; }
html body .composer-shell.cx .cx-pop.jurisdiction-pop .jp-many label span { font-size: 13px !important; color: var(--text); }
html body .composer-shell.cx .cx-pop.jurisdiction-pop .jp-default span { font-size: 12px !important; color: var(--muted); }
html body .composer-shell.cx .cx-pop.jurisdiction-pop input[type="checkbox"] { flex: 0 0 16px; width: 16px !important; height: 16px; min-width: 0 !important; max-width: 16px; margin: 0; padding: 0; accent-color: var(--ws-primary, var(--accent)); }
html body .composer-shell.cx .cx-pop.jurisdiction-pop .jp-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 6px; }
html body .composer-shell.cx .cx-pop.jurisdiction-pop .jp-two button { display: flex !important; align-items: center; justify-content: center; width: 100% !important; min-height: 36px; height: auto; padding: 6px 10px !important; border: 1px solid var(--border); border-radius: 10px; background: transparent; color: var(--text); font-size: 13px; line-height: 1.2; text-align: center; white-space: normal; cursor: pointer; }
html body .composer-shell.cx .cx-pop.jurisdiction-pop .jp-two button:hover { border-color: var(--ws-primary, var(--accent)); }
html body .composer-shell.cx .cx-pop.jurisdiction-pop .jp-two button.active { border-color: var(--ws-primary, var(--accent)); color: var(--ws-primary, var(--accent)); font-weight: 600; }
html body .composer-shell.cx .cx-pop.jurisdiction-pop .jp-default { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 12px; line-height: 1.3; color: var(--muted); cursor: pointer; }
@media (max-width: 560px) { html body .composer-shell.cx .cx-pop.jurisdiction-pop { position: fixed !important; left: 12px !important; right: 12px; bottom: 12px !important; top: auto !important; width: auto; max-height: calc(100dvh - 24px); z-index: 90; } }
.jurisdiction-first { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; background: rgba(20, 19, 17, .45); }
.jurisdiction-first .jf-card { width: 100%; max-width: 440px; background: var(--card, #fff); color: var(--text); border: 1px solid var(--border); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 12px; box-sizing: border-box; }
.jurisdiction-first h3 { margin: 0; font-size: 18px; font-weight: 600; }
.jurisdiction-first p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.5; }
.jurisdiction-first .jf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.jurisdiction-first .jf-grid button { height: 42px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg, transparent); color: var(--text); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.jurisdiction-first .jf-grid button:hover, .jurisdiction-first .jf-grid button:focus-visible { border-color: var(--ws-primary, var(--accent)); color: var(--ws-primary, var(--accent)); }
.jurisdiction-first .jf-grid .jf-all { grid-column: 1 / -1; }
.jurisdiction-first .jf-later { align-self: center; border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 12px; cursor: pointer; }
.message-body .web-check-line { color: var(--muted); font-size: 12px; }
.message-body .web-check { display: inline-flex; align-items: center; gap: 6px; margin: 4px 0 2px; height: 30px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--border); background: var(--card, transparent); color: var(--ws-primary, var(--accent)); font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; }
.message-body .web-check:hover, .message-body .web-check:focus-visible { border-color: var(--ws-primary, var(--accent)); }
