:root {
  color-scheme: light;
  --brand: #0965d7;
  --brand-strong: #074da7;
  --brand-soft: #eaf3ff;
  --brand-line: #bfd9fb;
  --bg: #f4f7fc;
  --paper: #fff;
  --ink: #122440;
  --muted: #50647e;
  --line: #dce6f2;
  --green: #0d6a52;
  --danger: #ab3043;
  --radius: 17px;
  --shadow: 0 7px 26px #1339680d;
  font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--ink); line-height: 1.5; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.035em; overflow-wrap: anywhere; }
h2 { font-size: clamp(22px, 2.4vw, 30px); }
h3 { font-size: 19px; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
button { color: inherit; }
button:disabled { opacity: .58; cursor: not-allowed; }
img { max-width: 100%; display: block; }
svg { flex: 0 0 auto; }
:focus-visible { outline: 3px solid #4797e9; outline-offset: 3px; }
[hidden] { display: none !important; }
.wrap { width: min(1184px, calc(100% - 56px)); margin-inline: auto; }
.main { min-height: 70vh; padding: 26px 0 52px; outline: none; }
.skip-link { position: fixed; top: -100px; left: 12px; padding: 12px; background: var(--paper); z-index: 100; }
.skip-link:focus { top: 12px; }
.header { position: sticky; top: 0; z-index: 8; border-bottom: 1px solid var(--line); background: #fffffff7; backdrop-filter: blur(12px); }
.header-inner { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.brand img { width: 40px; height: 40px; flex: 0 0 auto; }
.wordmark { color: #0d315d; font-size: 20px; font-weight: 850; letter-spacing: -.052em; white-space: nowrap; }
.desktop-nav, .header-actions, .actions { display: flex; align-items: center; gap: 8px; }
.actions { flex-wrap: wrap; }
.nav-link { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 9px 12px; border-radius: 10px; font-size: 14px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.nav-link:hover, .nav-link[aria-current] { color: var(--brand-strong); background: var(--brand-soft); }
.language { display: inline-flex; align-items: center; gap: 4px; padding: 0 4px; color: var(--muted); }
.language select { border: 0; min-height: 44px; background: transparent; font-size: 13px; font-weight: 770; color: inherit; }
.button, .icon-button, .chip {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 0;
  min-height: 44px; padding: 10px 15px; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: 10px; font-size: 14px; font-weight: 710; line-height: 1.26; text-align: center;
  transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
}
.button:hover:not(:disabled), .icon-button:hover:not(:disabled), .chip:hover { border-color: var(--brand-line); background: #f3f8ff; }
.button.primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.button.primary:hover:not(:disabled) { background: var(--brand-strong); border-color: var(--brand-strong); }
.button.secondary { background: var(--brand-soft); border-color: transparent; color: var(--brand-strong); }
.button.secondary:hover:not(:disabled) { background: #d8eaff; border-color: var(--brand-line); }
.button.danger { background: #fff3f5; color: var(--danger); border-color: #f3d8df; }
.button.compact { min-height: 37px; padding: 7px 12px; }
.icon-button { width: 44px; padding: 0; flex: 0 0 auto; }
.icon-button.active, .detail-bookmark.active { color: var(--brand-strong); background: var(--brand-soft); border-color: var(--brand-line); }
.icon-button.active svg, .detail-bookmark.active svg { fill: #bddbff; }
.text-button { border: 0; background: transparent; color: var(--brand-strong); padding: 0; text-align: left; font-weight: 730; }
.text-button:hover, .link-arrow:hover { text-decoration: underline; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--brand-strong); font-size: 14px; font-weight: 730; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; color: var(--brand-strong); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.page-head { display: grid; gap: 7px; margin-bottom: 22px; }
.page-head h1 { font-size: clamp(28px, 4.3vw, 43px); }
.page-head p { max-width: 66ch; color: var(--muted); }
.panel { min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.panel h2 { font-size: 22px; }
.stack { display: grid; gap: 15px; min-width: 0; }
.search-hero {
  position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 11px; padding: 32px 34px 29px;
  color: #fff; border-radius: 23px;
  background: radial-gradient(ellipse at 87% 8%, #2b80e4 0%, transparent 43%), linear-gradient(112deg, #092c60 10%, #0b4f9c 60%, #0965d7);
  box-shadow: 0 10px 24px #173d7224;
}
.search-hero-compact { padding-block: 19px 20px; }
.search-hero h1 { position: relative; font-size: clamp(31px, 4.8vw, 58px); font-weight: 840; letter-spacing: -.06em; }
.search-hero-compact h1 { font-size: clamp(29px, 4vw, 42px); }
.hero-label { display: flex; gap: 6px; align-items: center; width: fit-content; padding: 5px 9px; border: 1px solid #b8dbff52; border-radius: 30px; background: #e8f3ff12; color: #e2f1ff; font-size: 12px; font-weight: 750; }
.hero-copy { position: relative; color: #e6f2ff; font-size: 15px; max-width: 58ch; }
.search-decoration { position: absolute; top: 2px; right: 14px; z-index: -1; width: min(35%, 386px); pointer-events: none; }
.search-decoration svg { display: block; width: 100%; height: auto; }
.search-box {
  display: flex; align-items: center; gap: 5px; width: 100%; max-width: 790px; padding: 5px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 13px; color: var(--ink);
}
.search-hero .search-box { max-width: 735px; margin-top: 6px; border-color: transparent; box-shadow: 0 4px 16px #071e444d; }
.search-input { flex: 1.45; display: flex; align-items: center; gap: 9px; min-width: 0; padding: 0 12px; color: var(--brand); }
.search-input.region { flex: 1; border-left: 1px solid var(--line); }
.search-input :is(input, select) { min-width: 0; width: 100%; padding: 9px 0; border: 0; border-radius: 0; background: none; color: var(--ink); font-size: 15px; font-weight: 620; text-overflow: ellipsis; }
.search-input select:disabled { color: var(--muted); opacity: 1; cursor: default; }
.search-input input::placeholder { color: var(--muted); opacity: 1; font-weight: 500; }
.search-box .button { flex-shrink: 0; padding-inline: 18px; }
.quick-search { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 3px; color: #e4f1ff; font-size: 13px; }
.quick-search > span { margin-right: 3px; }
.chip { min-height: 34px; padding: 6px 11px; border-radius: 100px; color: var(--muted); font-size: 13px; font-weight: 670; }
.chip.selected { color: var(--brand-strong); background: var(--brand-soft); border-color: var(--brand-line); }
.quick-search .chip { background: #eaf6ff12; border-color: #b9deff59; color: #fff; }
.quick-search .chip:hover, .quick-search .chip.selected { color: #0c3c74; background: #e9f5ff; }
.catalog-section { margin-top: 25px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.section-head p { color: var(--muted); font-size: 14px; }
.section-head p:empty { display: none; }
.catalog-controls { display: flex; gap: 9px; align-items: center; flex-shrink: 0; }
.view-switch { display: inline-flex; align-items: center; padding: 3px; gap: 2px; border: 1px solid var(--line); border-radius: 11px; background: var(--paper); }
.view-switch > :is(span, a) { display: inline-flex; align-items: center; justify-content: center; gap: 5px; border-radius: 8px; min-height: 36px; padding: 7px 9px; color: var(--muted); font-size: 13px; font-weight: 700; white-space: nowrap; }
.view-switch > [aria-current], .view-switch > a:hover { color: var(--brand-strong); background: var(--brand-soft); }
.filter-count { min-width: 19px; height: 19px; display: inline-grid; place-items: center; padding: 0 4px; border-radius: 20px; background: var(--brand-strong); color: #fff; font-size: 11px; }
.applied-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin: 0 0 12px; }
.applied-filters .chip { max-width: 100%; overflow-wrap: anywhere; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 261px; gap: 16px; align-items: start; }
.results-area { min-width: 0; }
.job-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.job-card {
  position: relative; display: grid; align-content: start; gap: 9px; min-width: 0; min-height: 152px;
  padding: 16px; border: 1px solid var(--line); border-radius: 15px; background: var(--paper);
}
.job-card:hover, .job-card:focus-within { border-color: var(--brand-line); box-shadow: var(--shadow); }
.job-top { display: flex; align-items: center; gap: 9px; min-width: 0; }
.job-top .badge { margin-left: auto; }
.job-mark, .symbol { display: inline-grid; place-items: center; flex: 0 0 auto; width: 40px; height: 40px; overflow: hidden; border-radius: 10px; color: var(--brand-strong); background: var(--brand-soft); }
.job-mark img { width: 100%; height: 100%; object-fit: cover; }
.job-company { color: var(--muted); font-size: 13px; font-weight: 680; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.job-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 19px; font-weight: 780; }
.job-title svg { color: var(--brand); }
.job-title a:hover { color: var(--brand-strong); text-decoration: underline; }
.job-title a::after { content: ""; position: absolute; inset: 0; border-radius: 15px; }
.job-salary { color: var(--green); font-size: 14px; font-weight: 770; }
.job-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; color: var(--muted); font-size: 12px; }
.job-meta span, .meta-line { display: inline-flex; align-items: center; gap: 4px; }
.job-bookmark { position: relative; z-index: 1; margin-left: auto; width: 39px; min-height: 39px; }
.badge, .tag { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 99px; color: var(--brand-strong); background: var(--brand-soft); font-size: 12px; font-weight: 740; }
.badge.premium { background: #fff1ce; color: #795216; }
.badge.success { background: #e1f5eb; color: var(--green); }
.badge.danger { background: #fbe9ed; color: var(--danger); }
.empty {
  display: grid; align-content: center; justify-items: start; gap: 9px; min-height: 177px; padding: 22px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper);
}
.empty h3 { font-size: 21px; }
.empty p { max-width: 58ch; color: var(--muted); font-size: 14px; }
.empty.initial { justify-items: center; }
.empty .actions { margin-top: 2px; }
.status-line { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 14px; }
.spinner { display: inline-block; width: 17px; height: 17px; border: 2px solid #d6e6f8; border-top-color: var(--brand); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.employer-panel { display: grid; justify-items: start; gap: 9px; padding: 18px; border: 1px solid var(--brand-line); border-radius: var(--radius); background: linear-gradient(155deg, #fff 18%, #eef5ff); }
.employer-panel h3 { font-size: 20px; }
.employer-panel p { color: var(--muted); font-size: 14px; }
.employer-panel .button { margin-top: 4px; }
.employer-panel .link-arrow { margin-top: 3px; }
.pagination { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 15px; }
.filters-inline { display: flex; align-items: end; gap: 9px; flex-wrap: wrap; margin-bottom: 16px; }
.filters-inline .search-box { flex: 1 1 240px; }
.back-link { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 14px; color: var(--muted); font-size: 14px; font-weight: 710; }
.back-link:hover { color: var(--brand-strong); }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(246px, 310px); gap: 15px; align-items: start; }
.detail-hero { display: grid; gap: 10px; }
.detail-hero h1 { font-size: clamp(27px, 4vw, 45px); }
.detail-company { color: var(--muted); font-size: 16px; font-weight: 650; }
.detail-salary { color: var(--green); font-size: clamp(19px, 2vw, 25px); font-weight: 800; }
.description { overflow-wrap: anywhere; white-space: pre-wrap; }
.panel .description { margin-top: 10px; }
.contact-panel { display: grid; gap: 9px; position: sticky; top: 88px; grid-column: 2; grid-row: 1 / span 2; }
.detail-info { grid-column: 1; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(115px,1fr)); gap: 9px; margin-top: 11px; }
.photo-grid img { width: 100%; height: 133px; object-fit: cover; border-radius: 10px; background: var(--brand-soft); }
.fact-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(135px,1fr)); gap: 8px; margin-top: 12px; }
.fact { padding: 9px 11px; background: var(--bg); border-radius: 9px; overflow-wrap: anywhere; }
.fact span { display: block; color: var(--muted); font-size: 12px; }
.fact strong { font-size: 14px; }
.field { display: grid; align-content: start; gap: 6px; min-width: 0; color: var(--ink); font-size: 13px; font-weight: 720; }
.field > :is(input, select, textarea), .input, .form-grid :is(input:not([type=checkbox]):not([type=radio]), select, textarea) {
  color: var(--ink); width: 100%; min-width: 0; min-height: 44px; padding: 9px 11px;
  border: 1px solid #cddbea; border-radius: 9px; background: var(--paper); font-size: 15px; font-weight: 520;
}
.field :is(input[type=checkbox], input[type=radio]) { width: auto; min-height: auto; accent-color: var(--brand); }
.field :is(input, select, textarea):disabled { opacity: .68; cursor: not-allowed; background: var(--bg); }
textarea { min-height: 88px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
.form-grid .wide, .form-grid .full { grid-column: 1/-1; }
.form-error { color: var(--danger); background: #fff2f5; border: 1px solid #f5dbe1; border-radius: 9px; padding: 9px 11px; font-size: 13px; }
.form-error:empty { display: none; }
.dialog {
  width: min(460px, calc(100% - 24px)); max-height: calc(100% - 24px); margin: auto;
  padding: 0; border: 1px solid var(--line); border-radius: 19px; color: var(--ink); background: var(--paper); box-shadow: 0 25px 85px #12365343;
}
.dialog::backdrop { background: #0b244967; backdrop-filter: blur(2px); }
.dialog-inner { padding: 21px; display: grid; gap: 14px; }
.dialog-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.dialog-top h2 { margin: 3px 0 5px; font-size: 26px; }
.dialog-top .icon-button { min-height: 39px; width: 39px; }
.auth-mark { margin-bottom: 8px; }
.auth-dialog form { display: grid; gap: 12px; }
.auth-alt { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 13px; }
.phone-field { display: flex; align-items: center; gap: 8px; padding: 0 10px; border: 1px solid #cddbea; border-radius: 9px; background: var(--paper); }
.phone-field span { padding-right: 8px; border-right: 1px solid var(--line); color: var(--muted); font-weight: 770; }
.phone-field input { width: 100%; min-width: 0; min-height: 43px; padding: 9px 0; color: var(--ink); border: 0; background: transparent; font-size: 16px; }
.filters-dialog { width: min(570px, calc(100% - 24px)); }
.filter-more { padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); }
.filter-more > summary { cursor: pointer; color: var(--brand-strong); font-size: 14px; font-weight: 700; }
.filter-more[open] > summary { margin-bottom: 12px; }
.toast { position: fixed; right: 18px; bottom: 20px; z-index: 20; max-width: min(405px,calc(100% - 34px)); padding: 11px 14px; color: #fff; background: #142f50; border-radius: 11px; box-shadow: 0 9px 28px #102b4b3b; font-size: 14px; font-weight: 650; pointer-events: none; opacity: 0; transform: translateY(7px); transition: opacity .18s,transform .18s; }
.toast.show { opacity: 1; transform: translateY(0); }
.toast.error { background: #852e42; }
.list-row, .mini-card { min-width: 0; padding: 12px; overflow-wrap: anywhere; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.list-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 9px; }
.mini-card { display: grid; gap: 7px; }
.account-menu { position: relative; }
.account-menu summary { list-style: none; cursor: pointer; }
.account-menu summary::-webkit-details-marker { display: none; }
.account-menu summary span { max-width: 86px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-popover { position: absolute; top: calc(100% + 7px); right: 0; display: grid; min-width: 198px; padding: 6px; border: 1px solid var(--line); border-radius: 11px; background: var(--paper); box-shadow: 0 12px 32px #153d6d25; z-index: 9; }
.menu-signout { border: 0; background: none; text-align: left; }
.account-view { gap: 13px; }
.account-view .page-head { margin-bottom: 0; }
.account-view > nav { display: flex; flex-wrap: nowrap; max-width: 100%; padding: 4px 3px 6px; overflow-x: auto; }
.account-view > nav button { flex: 0 0 auto; }
.footer { padding: 21px 0; border-top: 1px solid var(--line); background: var(--paper); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 15px; flex-wrap: wrap; }
.footer-brand { gap: 6px; }
.footer-copy { color: var(--muted); font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 15px; align-items: center; color: var(--muted); font-size: 13px; font-weight: 660; }
.footer-links a { display: inline-flex; align-items: center; gap: 4px; }
.footer-links a:hover { color: var(--brand-strong); }
.mobile-nav { display: none; }
@media (max-width: 1000px) {
  .wrap { width: calc(100% - 40px); }
  .header-inner, .header-actions { gap: 7px; }
  .desktop-nav { gap: 2px; }
  .nav-link { padding-inline: 8px; }
  .header-actions .button { padding-inline: 10px; }
  .content-grid { grid-template-columns: minmax(0,1fr) 220px; }
  .search-decoration { right: 5px; opacity: .68; }
}
@media (max-width: 820px) {
  .desktop-nav { display: none; }
  .main { padding-top: 18px; }
  .content-grid, .detail-grid { grid-template-columns: minmax(0,1fr); }
  .contact-panel { position: static; grid-row: 2; grid-column: 1; }
  .detail-info { grid-row: 3; }
  .employer-panel { grid-template-columns: 1fr auto; }
  .employer-panel :is(.symbol,.eyebrow,h3,p,.link-arrow) { grid-column: 1; }
  .employer-panel .button { grid-column: 2; grid-row: 2 / span 3; align-self: center; }
  .mobile-nav {
    position: fixed; left: 0; bottom: 0; z-index: 8; display: flex; align-items: stretch; justify-content: space-around;
    width: 100%; padding: 3px 4px calc(4px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--paper);
  }
  .mobile-nav .nav-link { flex: 1; min-width: 0; display: grid; align-content: center; justify-items: center; gap: 3px; min-height: 52px; padding: 4px 2px; font-size: 11px; font-weight: 720; }
  .mobile-nav .nav-link svg { width: 19px; height: 19px; }
  .mobile-nav .mobile-publish svg { width: 25px; height: 25px; padding: 3px; border-radius: 8px; color: white; background: var(--brand); }
  .footer { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
  .toast { bottom: calc(70px + env(safe-area-inset-bottom)); }
}
@media (max-width: 535px) {
  .wrap { width: calc(100% - 26px); }
  .header-inner { min-height: 59px; }
  .brand { gap: 7px; }
  .brand img { width: 34px; height: 34px; }
  .wordmark { font-size: 18px; }
  .header-actions .publish-top { display: none; }
  .header-actions .button { min-height: 40px; font-size: 13px; }
  .header-actions .header-chat { width: 39px; min-height: 40px; }
  .account-menu summary span { display: none; }
  .language { padding-inline: 0; }
  .language select { font-size: 12px; }
  .main { padding-top: 13px; padding-bottom: 34px; }
  .search-hero { padding: 18px 13px 14px; border-radius: 17px; }
  .search-hero h1 { font-size: clamp(28px, 8vw, 38px); max-width: 21ch; }
  .search-hero-compact h1 { font-size: clamp(27px, 7vw, 34px); }
  .search-decoration { width: 210px; right: -74px; top: -18px; opacity: .25; }
  .hero-label { font-size: 11.5px; }
  .hero-copy { font-size: 13px; max-width: 40ch; }
  .search-hero .search-box { margin-top: 5px; }
  .search-box { flex-wrap: wrap; gap: 1px; }
  .search-box:has(.region) .search-input:first-child { flex: 1 1 100%; border-bottom: 1px solid var(--line); }
  .search-input { padding-inline: 8px; gap: 6px; }
  .search-input.region { border-left: 0; flex: 1; }
  .search-input :is(input,select) { font-size: 16px; }
  .search-box .button { padding-inline: 10px; min-height: 40px; font-size: 13px; }
  .quick-search { gap: 5px; margin-top: 2px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; }
  .quick-search .chip { flex: 0 0 auto; min-height: 31px; padding-inline: 8px; font-size: 12px; }
  .quick-search > span { display: none; }
  .catalog-section { margin-top: 18px; }
  .section-head { align-items: flex-start; flex-wrap: wrap; gap: 7px; margin-bottom: 10px; }
  .catalog-controls { gap: 5px; margin-left: auto; }
  .view-switch > span > span { display: none; }
  .view-switch > :is(span,a) { padding-inline: 7px; font-size: 12px; }
  .filter-toggle { padding-inline: 9px; font-size: 12px; }
  .job-grid { grid-template-columns: 1fr; }
  .job-card { padding: 13px; }
  .empty, .panel { padding: 16px; }
  .employer-panel { grid-template-columns: 1fr; }
  .employer-panel .button { grid-column: 1; grid-row: auto; }
  .form-grid { grid-template-columns: minmax(0,1fr); }
  .field > :is(input, select, textarea), .input { font-size: 16px; }
  .dialog-inner { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
.settings-panel > summary, .settings-content details > summary { cursor: pointer; color: var(--brand-strong); font-weight: 760; }
.settings-content { margin-top: 14px; }
.settings-content > .panel { background: var(--bg); box-shadow: none; }
.settings-content details[open] > summary { margin-bottom: 12px; }
.chat-bubble { justify-self: start; max-width: min(80%, 570px); background: var(--bg); }
.chat-bubble.chat-own { justify-self: end; background: var(--brand-soft); border-color: var(--brand-line); }
[data-chat-rows]:has(.chat-bubble) { gap: 8px; }
