@font-face {
  font-family: Manrope;
  src: url(/fonts/manrope-52b571ea7c.woff2) format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url(/fonts/manrope-b74651ef00.woff2) format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
:root {
  color-scheme: light;
  --ink: #30283d;
  --muted: #675f74;
  --purple: #60497f;
  --line: #e4deea;
  --soft: #f6f3fa;
  font: 15px/1.5 Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; background: radial-gradient(ellipse 65% 260px at 92% 0%,#f8e8df99,transparent), linear-gradient(#f3effa,#f8f7fb 460px); }
button, input, textarea { font: inherit; }
button, summary { -webkit-tap-highlight-color: transparent; cursor: pointer; }
button { min-height: 42px; padding: 9px 16px; border: 1px solid #d9d2e2; border-radius: 12px; color: var(--purple); font-weight: 750; background: #fff; }
button:hover { border-color: #a796bc; background-color: #faf8fc; }
button.primary { color: #382743; background: linear-gradient(108deg,#ceb9ed,#e3c5de 63%,#f2cdb7); border-color: #cbbbd7; }
button:disabled { opacity: .58; cursor: wait; }
button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #866ab4; outline-offset: 3px; }
h1,h2,h3,p,dl,dd { margin: 0; }
h1,h2,h3 { line-height: 1.15; letter-spacing: -.045em; }
h1 { font-size: clamp(30px,4.5vw,46px); font-weight: 800; }
h2 { font-size: clamp(23px,3vw,30px); }
h3 { font-size: 18px; }
.muted, small, .minor, dt { color: var(--muted); }
.top { border-bottom: 1px solid #ddd6e4; background: #ffffffe0; }
.top-inner,.shell { max-width: 1080px; margin: auto; padding-inline: clamp(16px,4vw,44px); }
.top-inner { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.brand { display: block; width: 132px; height: 44px; object-fit: contain; }
.workspace-name { border-left: 1px solid var(--line); padding-left: 16px; font-size: 14px; color: var(--muted); font-weight: 700; }
.session-bar { display: flex; align-items: center; justify-content: end; gap: 14px; margin-left: auto; min-width: 0; }
#actor { font-size: 13px; overflow-wrap: anywhere; color: var(--muted); }
.quiet { min-height: 36px; padding: 6px 12px; }
.shell { padding-bottom: 64px; }
.gate { display: grid; place-content: center; min-height: min(760px,calc(100svh - 90px)); padding-block: 32px; }
.panel, .extras details, .fact { border: 1px solid var(--line); background: #fff; border-radius: 20px; }
.login { width: min(410px,calc(100vw - 32px)); padding: clamp(24px,5vw,40px); box-shadow: 0 18px 60px #4231540d; }
.login h1 { font-size: 30px; margin: 16px 0 24px; }
.brand-mark { display: block; object-fit: contain; }
label { display: grid; gap: 6px; font-size: 14px; font-weight: 700; }
input,textarea { width: 100%; border: 1px solid #d9d2e2; border-radius: 10px; padding: 11px 12px; color: var(--ink); background: #fff; }
textarea { resize: vertical; min-height: 90px; }
.login form,.action-form { display: grid; gap: 16px; }
.intro { padding-block: clamp(30px,5vw,60px) 28px; }
.search-form { margin-top: 24px; }
.search-field { display: flex; align-items: center; gap: 10px; padding: 5px 6px 5px 15px; background: white; border: 1px solid #d8cee3; border-radius: 16px; margin-top: 6px; box-shadow: 0 3px 10px #57406808; color: #746785; }
.search-field input { min-width: 0; flex: 1; border: 0; padding: 8px 2px; font-size: 16px; background: transparent; }
.search-field input:focus { outline: none; }
.search-field:focus-within { outline: 2px solid #977ab6; outline-offset: 1px; }
.search-field svg { flex: none; }
.search-field button { min-width: 88px; }
.search-form p, .minor { font-size: 13px; }
.search-form p { margin-top: 8px; }
.notice { padding: 11px 14px; margin-top: 12px; background: #f0ebf7; border-radius: 10px; color: #57436f; font-size: 14px; overflow-wrap: anywhere; }
.notice.bad { background: #fae9ec; color: #89324a; }
#matches { display: grid; gap: 6px; margin-top: 8px; }
.feed-grid { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); align-items: start; gap: 16px; margin-top: 16px; }
.feed { padding: clamp(14px,2.2vw,23px); min-width: 0; scroll-margin-top: 12px; }
.feed-head { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: space-between; }
.feed-head h2 { font-size: clamp(19px,2.2vw,25px); }
.feed-refresh { display: grid; flex: none; place-items: center; width: 38px; height: 38px; padding: 0; }
.feed-caption,.feed-filter,.feed-coverage { margin-top: 10px; color: var(--muted); font-size: 13px; }
.feed-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.feed-filter select { max-width: 100%; min-height: 36px; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--ink); font: inherit; padding: 3px 8px; }
.feed-filter select:focus-visible,.feed-list:focus-visible,.feed-jumps a:focus-visible { outline: 3px solid #866ab4; outline-offset: 2px; }
.feed-list { padding: 0; list-style: none; margin: 12px 0 0; max-height: min(56vh,510px); overflow: auto; }
.feed-list:empty { display: none; }
.feed-list li { border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.feed-list small,.feed-code { font-size: 12px; }
.feed-user { display: block; width: 100%; border: 0; border-radius: 6px; background: transparent; text-align: left; padding: 11px 5px; }
.feed-user:focus-visible { outline-offset: -3px; }
.feed-user small { display: block; font-weight: 500; }
.feed-error { padding: 12px 4px; font-size: 14px; }
.feed-error p { margin: 4px 0; }
.feed-meta { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 10px; margin-bottom: 3px; }
.feed-channel,.feed-code { color: var(--muted); }
.feed-channel { font-size: 12px; }
.feed-owner { margin-top: 3px; }
.feed-case-link { min-height: 32px; text-align: left; max-width: 100%; padding: 3px 2px; border: 0; border-radius: 4px; font-size: 13px; text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.feed-jumps { display: none; }
.feed-pager { flex-wrap: wrap; padding-top: 6px; }
.case-feed .feed-list { max-height: none; }
.match { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; justify-content: space-between; width: 100%; text-align: left; overflow-wrap: anywhere; }
.match small { font-weight: 500; }
.case-head,.customer,.buttons,.row-head,.section-head,.pager,.dialog-head { display: flex; align-items: center; gap: 12px; }
.case-head, .row-head,.section-head,.dialog-head { justify-content: space-between; }
.case-head { border-top: 1px solid #dcd6e5; padding-top: 26px; flex-wrap: wrap; }
.customer { min-width: 0; }
.customer > div { min-width: 0; overflow-wrap: anywhere; }
.customer p { font-size: 13px; margin-top: 4px; }
.avatar { display: grid; place-items: center; width: 52px; height: 52px; flex: none; color: #5b426f; font-size: 20px; font-weight: 800; border-radius: 16px; background: linear-gradient(135deg,#e0d2f3,#f3dbd0); }
.buttons { flex-wrap: wrap; gap: 8px; }
.facts { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; margin-top: 20px; }
.fact { padding: 16px 20px; border-radius: 16px; }
.fact:first-child { background: #efe8f7; border-color: #dcd0e8; }
.fact small { display: block; font-size: 13px; }
.fact strong { display: block; font-size: clamp(21px,3vw,27px); line-height: 1.4; font-variant-numeric: tabular-nums; }
.extras { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin: 12px 0 20px; align-items: start; }
.extras details { padding: 12px 16px; border-radius: 14px; }
summary { font-weight: 700; color: var(--purple); }
details[open] > summary { margin-bottom: 12px; }
dl { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 6px 12px; font-size: 13px; }
dd,.break { overflow-wrap: anywhere; }
.activity { overflow: hidden; }
.tabs { display: flex; gap: 4px; flex-wrap: wrap; padding: 10px; border-bottom: 1px solid var(--line); }
.tab { border: 0; background: transparent; }
.tab[aria-pressed="true"] { background: #eee7f5; color: #493361; }
#activity { padding: clamp(16px,3vw,26px); }
.section-head { margin-bottom: 14px; }
.row { padding: 15px 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.row-head { align-items: baseline; gap: 10px; }
.row-head > strong,.section-head > div { min-width: 0; }
.row-head > strong { font-size: 16px; }
.row p { margin-top: 5px; }
.row details { margin-top: 8px; font-size: 13px; }
.row button { min-height: 36px; margin-top: 10px; padding: 6px 12px; }
.tag { flex-shrink: 0; max-width: 50%; overflow-wrap: normal; padding: 3px 9px; border-radius: 8px; background: var(--soft); color: var(--muted); font-size: 12px; font-weight: 700; text-align: center; }
.tag.good { background: #e8f4ee; color: #2d6249; }
.tag.warn { background: #faefdc; color: #775420; }
.pager { justify-content: center; margin-top: 8px; }
.pager span { font-size: 13px; }
.empty { border-top: 1px solid var(--line); padding-top: 16px; color: var(--muted); }
.pack { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; border-top: 1px solid var(--line); padding: 6px 0; font-size: 13px; }
.note-text { white-space: pre-wrap; }
.found { color: var(--purple); font-size: 13px; font-weight: 800; padding-bottom: 6px; }
.checking-session #workspace,.checking-session #sessionBar,.checking-session #actionDialog { visibility: hidden; }
.checking-session #actionDialog::backdrop { background: transparent; }
body:not(.checking-session) #retrySession { display: none; }
.action-form:not(:first-child) { margin-top: 16px; }
.login a { color: var(--purple); }
dialog { border: 1px solid var(--line); border-radius: 22px; width: min(460px,calc(100vw - 28px)); max-height: 90vh; max-height: 90dvh; padding: 24px; color: var(--ink); box-shadow: 0 20px 80px #33244338; }
dialog::backdrop { background: #32273b59; }
.dialog-head h2 { font-size: 23px; }
.close { font: 26px/1 Arial,sans-serif; min-height: 36px; width: 36px; padding: 2px; flex: none; border-radius: 50%; }
#dialogFor { margin: 5px 0 18px; font-size: 13px; overflow-wrap: anywhere; }
.form-total { background: var(--soft); padding: 12px; border-radius: 10px; }
.form-total strong { display: block; }
@media(max-width:640px) {
  .feed-grid { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .feed-jumps { display: flex; gap: 16px; margin-top: 12px; }
  .feed-jumps a { color: var(--purple); font-weight: 700; }
  .feed-jumps a:focus-visible { border-radius: 4px; }
  .feed-list { max-height: min(48vh,380px); }
  .top-inner { min-height: 60px; gap: 10px; flex-wrap: wrap; padding-block: 6px; }
  .brand { width: 108px; height: 36px; }
  .workspace-name { padding-left: 10px; }
  #actor { display: none; }
  .facts { gap: 6px; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .fact { padding: 11px 9px; border-radius: 12px; }
  .fact small { font-size: 11px; }
  .fact strong { font-size: 19px; }
  .extras { grid-template-columns: 1fr; }
  .tabs { padding: 6px; gap: 1px; }
  .tab { padding: 7px 8px; min-height: 38px; font-size: 13px; }
  .search-field { gap: 4px; padding-left: 10px; }
  .search-field button { min-width: 65px; padding-inline: 10px; }
}
