:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #172033;
  background: #f4f6fa;
  --navy: #111a35;
  --navy-2: #1b2850;
  --blue: #4b5be8;
  --blue-dark: #3548cf;
  --blue-soft: #eef1ff;
  --blue-tint: #f7f8ff;
  --line: #e4e8f1;
  --line-strong: #d6ddea;
  --muted: #7b8498;
  --muted-2: #98a2b3;
  --success: #177a42;
  --success-soft: #e6f7ed;
  --warning: #966000;
  --warning-soft: #fff1d6;
  --danger: #a52d2d;
  --danger-soft: #ffe7e7;
  --orange: #a3481a;
  --orange-soft: #fff0e8;
  --shadow: 0 12px 30px rgba(25, 39, 76, .045);
  --shadow-focus: 0 10px 22px rgba(75, 91, 232, .11);
  --radius-sm: 8px;
  --radius-md: 12px;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: #f4f6fa; }
button, input, select { font: inherit; }
button { border: 1px solid var(--line-strong); background: #fff; border-radius: var(--radius-sm); padding: 9px 14px; cursor: pointer; color: #172033; transition: border-color .18s, background .18s, color .18s, box-shadow .18s, transform .18s; }
button:hover { border-color: #6878ee; }
button:active { transform: translateY(1px); }
button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid rgba(75, 91, 232, .18); outline-offset: 2px; }
button.primary { color: #fff; background: var(--blue); border-color: var(--blue); box-shadow: 0 6px 14px rgba(75, 91, 232, .2); }
button.primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
button.danger { color: #c93636; }
[hidden], .hidden { display: none !important; }

.app-shell { min-height: 100vh; display: flex; }
.sidebar { position: sticky; top: 0; height: 100vh; height: 100dvh; width: 224px; flex: 0 0 224px; background: var(--navy); color: #fff; display: flex; flex-direction: column; padding: 22px 12px 16px; }
.brand { display: flex; align-items: center; gap: 10px; padding: 0 10px 28px; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: linear-gradient(135deg, #7482ff, #4858e9); font-weight: 800; font-size: 17px; box-shadow: 0 8px 16px rgba(57, 72, 200, .35); }
.brand-copy { display: grid; gap: 3px; }
.brand-copy strong { font-size: 15px; letter-spacing: .2px; }
.brand-copy span { color: #8f9ac0; font-size: 11px; }
.sidebar-nav { display: grid; align-content: start; gap: 24px; flex: 1; min-height: 0; overflow-y: auto; padding: 3px; margin: -3px; }
.nav-group { display: grid; gap: 5px; }
.nav-group-title { padding: 0 12px 7px; color: #6f7ca5; font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.nav-item { width: 100%; border: 0; background: transparent; color: #aeb8d7; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 9px; text-align: left; font-size: 13px; }
.nav-item:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nav-item.active { color: #fff; background: #2a396b; }
.nav-icon { width: 18px; color: #8996c3; font-size: 17px; text-align: center; }
.nav-item.active .nav-icon { color: #aeb9ff; }
.nav-label { flex: 1; }
.nav-count { color: #9ca8d2; font-size: 11px; }
.nav-dot { width: 6px; height: 6px; background: #e4a83b; border-radius: 50%; opacity: 0; }
.nav-dot.configured { opacity: 1; background: #55cb87; }
.sidebar-footer { flex-shrink: 0; margin-top: 16px; display: grid; gap: 4px; padding: 16px 2px 0; border-top: 1px solid rgba(255, 255, 255, .12); color: #b7c2df; font-size: 12px; }
.sidebar-footer-label { padding: 0 10px 4px; color: #a2afcf; font-size: 11px; letter-spacing: .08em; }
.sidebar-health, .sidebar-session { width: 100%; min-height: 44px; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 0; background: transparent; color: inherit; text-align: left; font-size: 12px; }
.sidebar-health:hover, .sidebar-session:not(:disabled):hover { background: rgba(255, 255, 255, .06); border-color: transparent; color: #fff; }
.sidebar-health .health-dot { flex-shrink: 0; }
.sidebar-health-copy { display: grid; gap: 3px; flex: 1; min-width: 0; }
.sidebar-health-hint { color: #a2afcf; font-size: 11px; }
.sidebar-health[data-state="error"] #sidebarHealthText { color: #ffabab; }
.sidebar-health[data-state="checking"] #sidebarHealthText { color: #f1c875; }
.sidebar-health-arrow { flex-shrink: 0; color: #a2afcf; }
.sidebar-session:disabled { opacity: 1; color: #a2afcf; cursor: default; }
.sidebar-session #sessionLabel { overflow-wrap: anywhere; }
.session-icon { flex-shrink: 0; }
.health-dot { width: 7px; height: 7px; border-radius: 50%; background: #55cb87; display: inline-block; }
.health-dot.checking { background: #e0a638; }
.health-dot.error { background: #e26767; }

.main-shell { min-width: 0; flex: 1; }
.section-kicker { color: #8a94aa; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.pill, .status-chip, .metric-badge { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; border-radius: 999px; font-size: 11px; }
.pill { color: #59647d; background: #f1f3f8; padding: 7px 11px; }
.pill .health-dot { width: 6px; height: 6px; }
.pill.ok { color: var(--success); background: var(--success-soft); }
.pill.error { color: var(--danger); background: var(--danger-soft); }
.button-icon { font-size: 16px; line-height: 0; margin-right: 4px; }

.page-content { width: 100%; max-width: 1680px; margin: 0 auto; padding: 28px clamp(18px, 2.5vw, 36px) 32px; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.page-intro { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 18px; }
.page-intro h1, .page-intro h2 { margin: 5px 0 4px; font-size: 24px; letter-spacing: -.03em; }
.page-intro > button { flex-shrink: 0; }
.page-intro p { margin: 0; color: var(--muted); font-size: 13px; }
.status-chip { padding: 7px 11px; color: var(--success); background: var(--success-soft); }
.status-chip.neutral { color: #5e6980; background: #eef1f6; }
.secure-label { color: #78839a; font-size: 11px; }

.summary-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow); margin-bottom: 10px; overflow: hidden; }
.summary-item { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: 2px 12px; align-items: center; min-width: 0; border: 0; border-right: 1px solid #edf0f5; border-radius: 0; padding: 10px 14px; text-align: left; background: #fff; }
.summary-item:last-child { border-right: 0; }
.summary-item:hover { background: var(--blue-tint); }
.summary-item.active { background: var(--blue-tint); }
.summary-item.active::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--blue); }
.summary-label { grid-column: 1 / -1; color: #68738b; font-size: 11px; }
.summary-item strong { color: #172033; font-size: 22px; line-height: 1.05; letter-spacing: -.04em; }
.summary-caption { color: var(--muted-2); font-size: 10px; align-self: end; }

.filter-toolbar { display: flex; align-items: end; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow); margin-bottom: 10px; }
.filter-field { display: grid; gap: 6px; min-width: 0; }
.filter-search-field { flex: 1 1 auto; }
.status-filter-field { width: 196px; flex: 0 0 196px; }
.filter-field label, .provider-form label, .form-grid label { color: #63708a; font-size: 11px; font-weight: 700; }
.search-control { position: relative; }
.search-control input { padding-left: 34px; }
.filter-icon { position: absolute; top: 50%; left: 12px; color: #6f7ef0; font-size: 18px; line-height: 1; transform: translateY(-53%); pointer-events: none; }
.filter-toolbar input, .filter-toolbar select, .provider-form input, .provider-form select, .settings-panel input { width: 100%; border: 1px solid var(--line-strong); background: #fff; color: #172033; border-radius: var(--radius-sm); padding: 9px 11px; min-height: 38px; }
.filter-toolbar input::placeholder, .provider-form input::placeholder { color: #a0a8b8; }
.filter-toolbar input:focus, .filter-toolbar select:focus, .provider-form input:focus, .provider-form select:focus { border-color: #7280ed; box-shadow: 0 0 0 3px rgba(75, 91, 232, .08); outline: 0; }
.quiet-button { flex: 0 0 auto; color: #59647d; background: #f8f9fc; padding-inline: 12px; }
.quiet-button:hover { color: var(--blue); background: var(--blue-soft); }
.filter-hint { flex: 0 0 auto; color: var(--muted-2); font-size: 11px; padding-bottom: 10px; white-space: nowrap; }

.workspace-panel { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow); padding: 14px 16px; }
.content-grid { display: grid; grid-template-columns: minmax(330px, .86fr) minmax(0, 1.14fr); gap: 10px; align-items: start; }
.section-title { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-bottom: 10px; border-bottom: 1px solid #edf0f5; }
.section-title h3 { margin: 3px 0 0; font-size: 15px; letter-spacing: -.01em; }
.muted { color: var(--muted); font-size: 11px; }
.bug-list { display: grid; gap: 0; max-height: 570px; overflow: auto; }
.bug-item { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; border: 0; border-bottom: 1px solid #edf0f5; background: transparent; padding: 13px 3px 12px 10px; border-radius: 0; text-align: left; }
.bug-item:last-child { border-bottom: 0; }
.bug-item:hover { background: #fafbff; }
.bug-item.active { background: var(--blue-tint); }
.bug-item.active::before { content: ""; position: absolute; inset: 6px auto 6px 0; width: 3px; border-radius: 3px; background: var(--blue); }
.bug-item-main { display: grid; gap: 4px; min-width: 0; }
.bug-item-top { display: flex; align-items: center; gap: 7px; min-width: 0; }
.bug-id { color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .02em; white-space: nowrap; }
.bug-title { overflow: hidden; color: #202a40; font-size: 13px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.bug-meta { display: flex; gap: 7px; min-width: 0; overflow: hidden; color: var(--muted); font-size: 11px; white-space: nowrap; }
.bug-meta span { overflow: hidden; text-overflow: ellipsis; }
.bug-meta span + span::before { content: "·"; margin-right: 7px; color: #bdc4d2; }
.bug-item-side { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.bug-chevron { color: #a2aabd; font-size: 20px; line-height: 1; }
.status { display: inline-flex; align-items: center; border-radius: 999px; padding: 4px 8px; font-size: 10px; line-height: 1; white-space: nowrap; background: #edf0f6; color: #4d5870; }
.status.COMPLETED { background: var(--success-soft); color: var(--success); }
.status.QUEUED, .status.ANALYZING { background: var(--warning-soft); color: var(--warning); }
.status.BLOCKED { background: var(--orange-soft); color: var(--orange); }
.status.FAILED { background: var(--danger-soft); color: var(--danger); }

.detail-panel { min-height: 350px; position: sticky; top: 12px; }
.detail { min-width: 0; }
.detail-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid #edf0f5; }
.detail-heading { min-width: 0; }
.detail-kicker { color: #8a94aa; font-size: 10px; font-weight: 700; letter-spacing: .14em; }
.detail h2 { margin: 4px 0 8px; color: #172033; font-size: 19px; letter-spacing: -.025em; line-height: 1.35; }
.detail-meta { display: flex; gap: 7px; flex-wrap: wrap; }
.actions { display: flex; gap: 7px; flex-wrap: wrap; flex: 0 0 auto; }
.actions button { padding: 8px 11px; font-size: 12px; }
.detail-section { padding-top: 16px; }
.detail-section + .detail-section { border-top: 1px solid #edf0f5; margin-top: 16px; }
.detail-two-column { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.detail-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.detail h3 { margin: 0; font-size: 13px; }
.detail pre, .detail .report-text { margin: 0; white-space: pre-wrap; background: #f8f9fc; border: 1px solid #eef1f5; border-radius: var(--radius-sm); padding: 11px 12px; color: #4f5b73; line-height: 1.65; font-size: 12px; max-height: 250px; overflow: auto; }
.rich-text { white-space: normal !important; }
.rich-text p { margin: 0 0 8px; }
.rich-text p:last-child { margin-bottom: 0; }
.rich-text ul, .rich-text ol { margin: 6px 0; }
.rich-text img { display: block; max-width: 100%; height: auto; border-radius: 6px; }
.raw-details { margin-top: 8px; color: var(--muted); font-size: 11px; }
.raw-details summary { cursor: pointer; }
.raw-details pre { margin-top: 8px; max-height: 180px; }
.detail ul { margin: 6px 0 0; padding-left: 19px; color: #59647d; font-size: 12px; line-height: 1.7; }
.detail code { color: #4452b9; font-size: 11px; }
.empty { color: #8992a5; text-align: center; padding: 56px 10px; }
.detail-panel > .empty { min-height: 300px; display: grid; place-items: center; padding: 24px; }

.provider-list { display: grid; gap: 8px; margin-top: 16px; }
.provider-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid #e3e7f0; border-radius: 10px; padding: 11px 13px; }
.provider-info { display: grid; gap: 4px; min-width: 0; }
.provider-info .muted { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.provider-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.provider-form { margin-top: 18px; padding-top: 18px; border-top: 1px solid #edf0f5; }
.card-description { color: var(--muted); font-size: 12px; line-height: 1.7; margin: 10px 0 0; }
.form-grid { display: grid; grid-template-columns: repeat(4, minmax(160px, 1fr)); gap: 14px; }
.form-grid.two-columns { grid-template-columns: repeat(2, minmax(220px, 1fr)); }
.form-grid label { display: grid; gap: 7px; }
.form-actions { display: flex; gap: 8px; margin-top: 16px; }
.switch { display: flex !important; align-items: center; gap: 8px; cursor: pointer; color: #45516b !important; }
.switch input { display: none; }
.switch span { width: 36px; height: 20px; border-radius: 999px; background: #ccd3e3; position: relative; }
.switch span:after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: .2s; }
.switch input:checked + span { background: var(--blue); }
.switch input:checked + span:after { transform: translateX(16px); }
.setting-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid #edf0f5; }
.setting-row:last-child { border-bottom: 0; padding-bottom: 0; }
.setting-row strong { font-size: 14px; }
.setting-row p { color: var(--muted); margin: 6px 0 0; font-size: 12px; }
.setting-row.disabled { opacity: .72; }

.job-list { display: grid; gap: 7px; margin-top: 16px; }
.job-row { display: grid; grid-template-columns: 120px 150px 1fr 110px; gap: 10px; align-items: center; padding: 11px 0; border-bottom: 1px solid #edf0f5; font-size: 12px; }
.toast { position: fixed; right: 24px; bottom: 24px; background: #172033; color: #fff; padding: 11px 15px; border-radius: 9px; box-shadow: 0 10px 24px rgba(13, 22, 47, .2); opacity: 0; transform: translateY(10px); transition: .2s; pointer-events: none; z-index: 20; }
.toast.show { opacity: 1; transform: translateY(0); }

@media (max-width: 1080px) {
  .content-grid { grid-template-columns: minmax(290px, .9fr) minmax(0, 1.1fr); }
  .filter-hint { display: none; }
}
@media (max-width: 980px) {
  .sidebar { width: 76px; flex-basis: 76px; padding-left: 10px; padding-right: 10px; }
  .brand { justify-content: center; padding-left: 0; padding-right: 0; }
  .brand-copy, .nav-group-title, .nav-label, .nav-count, .sidebar-footer-label, .sidebar-health-arrow, #sessionLabel { display: none; }
  .nav-item { justify-content: center; padding-left: 10px; padding-right: 10px; }
  .nav-icon { font-size: 19px; }
  .sidebar-footer { padding-left: 0; padding-right: 0; }
  .sidebar-health, .sidebar-session { justify-content: center; padding: 10px; }
  .sidebar-health-copy { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .content-grid { grid-template-columns: 1fr; }
  .detail-panel { position: static; }
  .form-grid { grid-template-columns: repeat(2, minmax(140px, 1fr)); }
}
@media (max-width: 720px) {
  .page-intro { flex-direction: column; align-items: stretch; gap: 12px; }
  .page-content { padding: 16px 14px 24px; }
  .summary-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .summary-item { border-bottom: 1px solid #edf0f5; }
  .summary-item:nth-child(2n) { border-right: 0; }
  .summary-item:last-child { grid-column: 1 / -1; border-bottom: 0; }
  .filter-toolbar { align-items: stretch; flex-wrap: wrap; }
  .filter-search-field { flex-basis: 100%; }
  .status-filter-field { flex: 1 1 180px; width: auto; }
  .filter-hint { display: block; flex: 1 1 100%; padding: 0; }
  .detail-header { flex-direction: column; }
  .detail-two-column { grid-template-columns: 1fr; }
  .actions { width: 100%; }
  .actions button { flex: 1; }
  .form-grid, .form-grid.two-columns { grid-template-columns: 1fr; }
  .job-row { grid-template-columns: 1fr 1fr; }
  .provider-item { align-items: flex-start; flex-direction: column; }
  .provider-actions { width: 100%; }
}
@media (max-width: 480px) {
  .sidebar { width: 60px; flex-basis: 60px; padding-left: 8px; padding-right: 8px; }
  .brand-mark { width: 32px; height: 32px; }
  .summary-item { padding: 12px 13px; }
  .summary-item strong { font-size: 21px; }
  .bug-item { padding-left: 8px; }
  .bug-item-side { gap: 5px; }
  .bug-meta { max-width: 190px; }
  .bug-chevron { display: none; }
}
.rich-text { white-space: normal !important; overflow-wrap: anywhere; }
.rich-text p { margin: 0 0 10px; }.rich-text p:last-child { margin-bottom: 0; }.rich-text h1, .rich-text h2, .rich-text h3, .rich-text h4 { margin: 14px 0 8px; color: #26314a; font-size: 14px; }.rich-text ul, .rich-text ol { margin: 8px 0; padding-left: 22px; }.rich-text li { margin: 4px 0; }.rich-text blockquote { margin: 10px 0; padding: 8px 12px; border-left: 3px solid #aab5f5; background: #f0f2ff; color: #5d6780; }.rich-text a { color: #4458d9; text-decoration: underline; }.rich-text img { display: block; max-width: 100%; height: auto; max-height: 420px; margin: 10px 0; border-radius: 8px; object-fit: contain; background: #fff; }.rich-text code { padding: 2px 5px; border-radius: 4px; background: #eef1f7; color: #4452b9; }.raw-details { margin-top: 10px; border: 1px solid #edf0f5; border-radius: var(--radius-sm); background: #fbfcfe; }.raw-details summary { cursor: pointer; padding: 9px 11px; color: #7a8499; font-size: 11px; }.raw-details pre { margin: 0 !important; border: 0 !important; border-top: 1px solid #edf0f5 !important; border-radius: 0 !important; max-height: 220px !important; font-size: 11px !important; }

.rich-image-placeholder { display: flex; align-items: center; justify-content: center; min-height: 44px; margin: 10px 0; padding: 10px 12px; border: 1px dashed #d4dbea; border-radius: 8px; background: #fff; color: #8b94a8; font-size: 12px; }

/* Repair shares the existing detail hierarchy; no new navigation shell. */
.repair-section { border-top: 1px solid var(--border, #e2e8f0); }
.repair-result, .repair-running { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.repair-running { margin-top: 12px; }
.repair-evidence { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 14px 0; }
.repair-evidence > div { padding: 12px; border: 1px solid var(--border, #e2e8f0); border-radius: 8px; }
.repair-evidence strong { display: block; margin-top: 6px; font-size: 13px; }
.repair-diff, .repair-section details { margin-top: 12px; }
.repair-diff summary, .repair-section summary { cursor: pointer; font-size: 13px; }
.repair-diff pre, .repair-log { white-space: pre-wrap; overflow-wrap: anywhere; padding: 14px; background: #f6f8fa; border-radius: 8px; font-size: 12px; max-height: 360px; overflow: auto; line-height: 1.55; }
@media (max-width: 640px) { .repair-evidence { grid-template-columns: 1fr; } }

/* Review/publication stays within the existing repair detail hierarchy. */
.delivery-notice { margin: 0 0 12px; color: #4f5b73; font-size: 12px; line-height: 1.7; }
.delivery-scope { display: grid; gap: 8px; margin: 12px 0; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #f8f9fc; }
.delivery-scope > div { min-width: 0; }
.delivery-scope dt { color: var(--muted); font-size: 11px; }
.delivery-scope dd { margin: 3px 0 0; color: #4f5b73; font: 12px/1.6 ui-monospace, monospace; overflow-wrap: anywhere; white-space: pre-wrap; }
.delivery-warning { color: var(--warning); background: var(--warning-soft); border-radius: var(--radius-sm); padding: 9px 11px; font-size: 12px; line-height: 1.65; overflow-wrap: anywhere; white-space: pre-wrap; }
.delivery-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.review-form { margin-top: 14px; }
.review-form label { display: block; margin-bottom: 7px; color: #4f5b73; font-size: 12px; font-weight: 600; }
.review-form textarea { display: block; width: 100%; min-height: 100px; resize: vertical; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 10px 12px; font: inherit; font-size: 12px; line-height: 1.65; color: #4f5b73; background: #fff; }
.review-form textarea:focus { border-color: #7280ed; outline: 0; box-shadow: 0 0 0 3px rgba(75, 91, 232, .08); }
.review-form textarea[readonly] { background: #f8f9fc; }
.delivery-record { color: #4f5b73; font-size: 12px; overflow-wrap: anywhere; }
.delivery-comment { white-space: pre-wrap; }
.delivery-pr { color: var(--blue); text-decoration: underline; }
.status.APPROVED, .status.PUBLISHED { background: var(--success-soft); color: var(--success); }
.status.REJECTED { background: var(--danger-soft); color: var(--danger); }
.status.PUBLISHING, .status.NEEDS_ATTENTION { background: var(--warning-soft); color: var(--warning); }
.admin-auth-overlay { position:fixed; inset:0; z-index:1000; background:rgba(15,23,42,.35); display:flex; align-items:center; justify-content:center; padding:20px; }
.admin-auth-form { width:min(440px,100%); background:#fff; border:1px solid #e2e8f0; border-radius:14px; padding:24px; box-shadow:0 18px 60px rgba(15,23,42,.18); }
.admin-auth-form h2 { margin:0 0 12px; font-size:20px; }
.admin-auth-form label { display:block; margin:18px 0 8px; font-size:13px; }
.admin-auth-form input { width:100%; box-sizing:border-box; }
.admin-auth-form .actions { margin-top:20px; justify-content:flex-end; }
.delivery-actions button:disabled { opacity:.45; cursor:not-allowed; box-shadow:none; }
.publication-confirm { max-width:min(580px,calc(100vw - 40px)); border:1px solid #e2e8f0; border-radius:14px; padding:24px; box-shadow:0 18px 60px rgba(15,23,42,.18); color:var(--text); }
.publication-confirm::backdrop { background:rgba(15,23,42,.35); }
.publication-confirm h2 { margin:0 0 16px; font-size:20px; }
.publication-confirm-scope { white-space:pre-wrap; overflow-wrap:anywhere; font-size:13px; line-height:1.8; }
.publication-confirm .actions { justify-content:flex-end; margin-top:20px; }
@media (min-width:1000px) { .delivery-scope { grid-template-columns:repeat(2,minmax(0,1fr)); } .delivery-scope > div:nth-child(1), .delivery-scope > div:nth-child(2), .delivery-scope > div:nth-child(5), .delivery-scope > div:nth-child(6) { grid-column:1 / -1; } }

/* Workflow workbench: summary first, evidence on demand; existing palette preserved. */
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
button:focus-visible, a:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid #6674db; outline-offset: 3px; }
button:disabled { opacity: .5; cursor: not-allowed; }
.summary-strip { grid-template-columns: repeat(6,minmax(0,1fr)); }
.summary-item { min-width: 0; }
.summary-label { white-space: nowrap; }
.summary-caption { font-size: 10px; }
.readiness-banner { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; margin: 0 0 12px; border: 1px solid #dce2f5; border-radius: 10px; background: #f5f7fe; color: #485583; text-align: left; font-size: 12px; line-height: 1.5; }
.readiness-banner > span:last-child { flex-shrink: 0; font-weight: 650; }
.content-grid { grid-template-columns: minmax(265px,310px) minmax(0,1fr); gap: 16px; }
.detail-panel { min-width: 0; position: static; padding: 20px; }
.bug-panel { position: sticky; top: 12px; }
.bug-list { max-height: calc(100vh - 265px); overflow: auto; }
.bug-item { align-items: flex-start; flex-direction: column; gap: 8px; padding: 14px 10px; }
.bug-item-top { align-items: flex-start; flex-wrap: wrap; gap: 5px; }
.bug-title { flex-basis: 100%; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.5; }
.bug-meta { max-width: 270px; }
.bug-item-side { width: 100%; justify-content: space-between; }
.detail-expanded { grid-template-columns: 1fr; }
.detail-expanded > .bug-panel { display: none; }
.detail-header { border: 0; padding-bottom: 12px; }
.detail-heading h2 { font-size: 20px; line-height: 1.5; }
.detail-kicker { letter-spacing: .07em; }
.detail-header > button { flex-shrink: 0; }
.mock-badge { font-size: 9px; font-weight: 750; padding: 2px 5px; border: 1px solid #d7c6f6; background: #f4effd; color: #73539b; border-radius: 4px; }
.mock-notice { border-left: 3px solid #9a7abb; background: #f7f2fc; color: #674a82; padding: 9px 12px; font-size: 12px; line-height: 1.6; border-radius: 5px; margin-bottom: 12px; }
.workflow-outcome { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #f7f9fc; border: 1px solid #e2e7ef; padding: 16px; border-radius: 10px; }
.workflow-outcome h3 { margin: 5px 0 6px; font-size: 17px; }
.workflow-outcome p { margin: 0; color: #56627a; line-height: 1.7; font-size: 12px; overflow-wrap: anywhere; }
.workflow-outcome .primary { flex-shrink: 0; }
.workflow-outcome.workflow-attention { border-color: #edcf9f; background: #fffaf1; }
.workflow-outcome.workflow-done { border-color: #c9e4d7; background: #f3fbf7; }
.status.workflow-done { color: #267350; background: #e8f6ed; }
.status.workflow-attention { color: #92560c; background: #fff0d5; }
.status.workflow-review { color: #6950aa; background: #f0ebfc; }
.status.workflow-active { color: #355db4; background: #eaf1ff; }
.status.workflow-pending { color: #59667c; background: #eef1f6; }
.workflow-timeline { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); list-style: none; margin: 18px 0; padding: 0; gap: 4px; }
.workflow-timeline li { position: relative; display: flex; align-items: center; flex-direction: column; gap: 7px; color: #8791a3; font-size: 10px; text-align: center; }
.workflow-timeline li:not(:last-child)::after { content: ''; height: 1px; background: #e1e6ee; position: absolute; top: 13px; left: calc(50% + 18px); width: calc(100% - 32px); }
.step-marker { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #f1f4f9; border: 1px solid #e4e9f1; color: #79869c; font-size: 11px; }
.workflow-timeline .current { color: #4054b3; font-weight: 700; }
.workflow-timeline .current .step-marker { border-color: #5868cd; color: #fff; background: #5868cd; }
.workflow-timeline .complete .step-marker { color: #2e7b58; border-color: #cbe6d6; background: #edf8f1; }
.detail-tabs { display: flex; gap: 2px; border-bottom: 1px solid #e1e6ef; margin-bottom: 6px; overflow-x: auto; }
.detail-tabs button { flex: 1 0 auto; border: 0; border-radius: 0; padding: 12px 10px; background: transparent; color: #728096; font-weight: 500; box-shadow: none; }
.detail-tabs button[aria-selected="true"] { color: #4256b5; font-weight: 700; border-bottom: 2px solid #5265d3; }
.detail-tabs button span { font-size: 10px; background: #edf0fa; padding: 1px 5px; border-radius: 4px; }
.empty-state { padding: 24px 12px; line-height: 1.8; font-size: 13px; color: #758196; text-align: center; }
.detail summary { cursor: pointer; font-size: 12px; line-height: 1.8; color: #617088; }
#additionalActions .actions { margin-top: 10px; }
.execution-events { margin: 16px 0; padding: 0; list-style: none; }
.execution-events li { display: flex; gap: 14px; padding: 10px 0; border-bottom: 1px solid #eff2f7; font-size: 12px; }
.execution-events li > span { color: #8290a5; flex-shrink: 0; font-size: 11px; }
.execution-events strong { font-size: 12px; word-break: break-word; }
.execution-events p { margin: 5px 0; color: #62718a; overflow-wrap: anywhere; }
.diff-summary { display: flex; gap: 14px; font-size: 12px; align-items: center; flex-wrap: wrap; }
.diff-add { color: #27804d; }.diff-remove { color: #b74747; }
.diff-file-list { margin: 12px 0 !important; overflow-wrap: anywhere; }
.diff-view { overflow: auto; border: 1px solid #dfe5ed; border-radius: 8px; max-height: 560px; margin-top: 14px; }
.diff-table { width: 100%; border-collapse: collapse; font: 12px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace; }
.diff-table th { text-align: left; padding: 6px; background: #f1f4f8; color: #6d7a91; font-weight: 500; white-space: nowrap; }
.diff-table td { border: 0; padding: 1px 7px; vertical-align: top; }
.diff-table td:nth-child(-n+2) { color: #8793a5; width: 35px; text-align: right; user-select: none; border-right: 1px solid #e5eaf1; }
.diff-table code { white-space: pre; color: #354258; font-size: 12px; }
.diff-addition { background: #edf9f0; }.diff-deletion { background: #fff0ef; }.diff-hunk { background: #edf3fc; }.diff-meta { background: #f8fafc; }
.delivery-scope { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.delivery-scope > div:nth-child(n) { grid-column: auto; }
.delivery-scope > div:nth-child(-n+2) { grid-column: 1 / -1; }
.delivery-scope dd { display: flex; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.copy-id { font-size: 10px; padding: 2px 6px; border-radius: 4px; }
#immutableScope .delivery-scope dd { user-select: all; }
.readiness-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-top: 24px; }
.readiness-heading h3 { font-size: 21px; margin: 5px 0 8px; }
.readiness-heading p, .readiness-boundary { color: #66758c; font-size: 12px; line-height: 1.8; }
.readiness-boundary { padding: 10px 14px; background: #f4f7fc; border-radius: 8px; }
.readiness-checks { list-style: none; padding: 0; margin: 20px 0; }
.readiness-checks li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid #edf0f5; }
.check-icon { flex-shrink: 0; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #fff1dc; color: #a86c1e; }
.check-pass .check-icon { background: #e8f5ed; color: #29734a; }
.readiness-checks strong { font-size: 13px; }
.readiness-checks p { font-size: 12px; color: #758197; margin: 6px 0 0; line-height: 1.7; overflow-wrap: anywhere; }
.readiness-checks .check-action { color: #4b6188; }
.check-label { margin-left: auto; flex-shrink: 0; color: #7f8ca0; font-size: 11px; }
.admin-auth-dialog { border: 0; border-radius: 14px; padding: 0; max-width: min(440px,calc(100vw - 32px)); color: var(--text); }
.admin-auth-dialog::backdrop { background: rgba(15,23,42,.35); }
#sessionButton { max-width: 260px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
@media (max-width: 1180px) {
  .content-grid { grid-template-columns: minmax(235px,270px) minmax(0,1fr); }
  .summary-item { padding: 12px 10px; }.summary-label { font-size: 11px; }
}
@media (max-width: 980px) {
  .content-grid, .content-grid.detail-expanded { grid-template-columns: 1fr; }
  .bug-panel { position: static; }.bug-list { max-height: 235px; }
  .bug-item { flex-direction: row; align-items: center; }.bug-item-side { width: auto; flex-shrink: 0; }.bug-title { -webkit-line-clamp: 1; }
  .detail-header { flex-direction: row; }.detail-panel { padding: 16px; }
}
@media (max-width: 720px) {
  .summary-strip { grid-template-columns: repeat(3,minmax(0,1fr)); }.summary-item:last-child { grid-column: auto; }.summary-item:nth-child(2n) { border-right: 1px solid #edf0f5; }.summary-item:nth-child(3n) { border-right: 0; }
  .summary-caption { font-size: 9px; }.summary-label { font-size: 10px; }
  .readiness-banner { flex-direction: column; align-items: flex-start; gap: 4px; }
  .workflow-outcome { flex-direction: column; align-items: stretch; }
  .workflow-outcome button { align-self: flex-start; }
  .detail-heading h2 { font-size: 17px; }.detail-header { flex-direction: column; gap: 6px; }
  .detail-tabs button { padding: 10px 8px; font-size: 11px; }.workflow-timeline li { font-size: 9px; }
  .top-actions { flex-wrap: wrap; gap: 8px; }.delivery-scope { grid-template-columns: 1fr; }
  .repair-evidence { grid-template-columns: 1fr; }.readiness-heading { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
.repository-readiness { border: 1px solid #e3e8f0; border-radius: 8px; padding: 12px 16px; margin: 10px 0; }
.repository-readiness > summary { cursor: pointer; font-size: 13px; font-weight: 650; color: #526282; }
.repository-readiness .readiness-checks { margin: 8px 0; }

/* Task queue: business context first, raw diagnostics on demand. */
.jobs-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 12px; }
.jobs-toolbar p { margin: 0; color: #59647d; font-size: 13px; line-height: 1.6; }
.jobs-toolbar button { flex-shrink: 0; min-height: 44px; }
.jobs-panel { padding: 16px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); }
.jobs-panel .section-title { flex-wrap: wrap; }
.jobs-panel .section-title h2 { font-size: 15px; margin: 0; }
.jobs-panel .section-title .muted { font-size: 12px; color: #59647d; }
.jobs-panel .job-list { margin-top: 0; gap: 0; }
.job-record { padding: 18px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.job-record:last-child { border-bottom: 0; padding-bottom: 0; }
.job-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.job-heading h3 { margin: 0; font-size: 15px; font-weight: 650; line-height: 1.6; overflow-wrap: anywhere; }
.job-heading .status { flex-shrink: 0; font-size: 12px; padding: 6px 10px; line-height: 1.2; }
.job-heading .status.RUNNING { background: var(--blue-soft); color: var(--blue-dark); }
.job-heading .status.CANCELLED, .job-heading .status.UNKNOWN { background: #edf0f6; color: #4d5870; }
.job-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin: 6px 0 10px; color: #59647d; font-size: 12px; line-height: 1.6; }
.job-kind { color: #34415b; font-weight: 600; }
.job-failure { border-left: 3px solid #d99b28; background: #fff9ee; border-radius: 0 6px 6px 0; padding: 8px 12px; }
.job-failure strong { font-size: 13px; color: #855000; }
.job-failure p { margin: 3px 0 0; font-size: 12px; color: #785825; line-height: 1.7; }
.job-guidance, .job-unavailable, .job-boundary { font-size: 12px; line-height: 1.7; color: #59647d; margin: 6px 0; }
.job-footer { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 8px 20px; margin-top: 8px; }
.job-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.job-actions button, .job-copy { min-height: 44px; font-size: 12px; }
.job-actions .job-link { border-color: transparent; color: var(--blue-dark); background: transparent; }
.job-technical { min-width: 0; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.job-technical[hidden] { display: none; }
.job-actions .job-technical-toggle { display: inline-flex; align-items: center; gap: 6px; min-width: 132px; justify-content: flex-start; border-color: transparent; color: #526282; background: transparent; }
.job-technical-toggle:hover { color: var(--blue-dark); }
.job-technical-toggle:focus:not(:focus-visible) { outline: none; }
.job-technical-toggle:focus-visible { outline: 2px solid var(--blue-dark); outline-offset: 2px; }
.job-technical-chevron { width: 6px; height: 6px; flex-shrink: 0; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(-45deg); transition: transform 160ms ease-out; }
.job-technical-toggle[aria-expanded="true"] .job-technical-chevron { transform: rotate(45deg); }
@media (prefers-reduced-motion: reduce) { .job-technical-chevron { transition: none; } }
.job-technical dl { margin: 8px 0; display: grid; gap: 8px; }
.job-technical dl > div { display: grid; grid-template-columns: 130px minmax(0, 1fr); align-items: start; gap: 12px; }
.job-technical dt { color: #59647d; font-size: 12px; line-height: 1.7; }
.job-technical dd { margin: 0; display: flex; align-items: center; gap: 8px; min-width: 0; flex-wrap: wrap; }
.job-technical code, .job-raw-error pre { font-size: 12px; overflow-wrap: anywhere; white-space: pre-wrap; line-height: 1.7; }
.job-copy { padding: 6px 10px; color: var(--blue-dark); }
.job-raw-error { margin-top: 12px; }
.job-raw-error strong { font-size: 12px; }
.job-raw-error pre { margin: 6px 0; background: #f6f8fc; padding: 10px; border-radius: 6px; max-height: 200px; overflow: auto; }
@media (max-width: 640px) {
  .jobs-toolbar { gap: 10px; align-items: flex-start; }
  .jobs-panel { padding: 12px; }
  .job-heading { gap: 10px; }
  .job-heading h3 { font-size: 14px; }
  .job-meta { gap: 4px 12px; }
  .job-meta [data-job-timing] { flex-basis: 100%; }
  .job-footer { gap: 0 10px; }
  .job-technical dl > div { grid-template-columns: 1fr; gap: 2px; }
}

/* Reviewed delivery: make the irreversible boundary and evidence visually distinct. */
.delivery-gates { display: grid; gap: 9px; margin: 18px 0; }
.delivery-gate { display: grid; grid-template-columns: 30px minmax(0,1fr) auto; align-items: start; gap: 12px; padding: 13px 15px; border: 1px solid #dce4f0; border-radius: 10px; background: #f8faff; }
.delivery-gate.pass { background: #f3fbf7; border-color: #bfe2cf; }
.delivery-gate .gate-index { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #e4eafb; color: #344bbb; font-weight: 700; }
.delivery-gate.pass .gate-index { color: #236446; background: #d7efe2; }
.delivery-gate strong { color: #25324c; font-size: 14px; }
.delivery-gate p { margin: 5px 0 0; color: #59667d; line-height: 1.55; font-size: 12px; }
.gate-state { font-size: 12px; font-weight: 700; color: #785b13; white-space: nowrap; }
.delivery-gate.pass .gate-state { color: #236446; }
.target-evidence { margin: 14px 0; padding: 16px; border: 1px solid #bfe2cf; border-left: 4px solid #319267; border-radius: 9px; background: #f7fcf9; }
.target-evidence p { margin: 7px 0; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.target-evidence code { overflow-wrap: anywhere; }
.target-screenshot { display: block; width: min(100%, 640px); max-height: 300px; object-fit: contain; object-position: left top; margin-top: 12px; border: 1px solid #c7d6cc; border-radius: 6px; }
@media (max-width: 480px) { .delivery-gate { grid-template-columns: 28px minmax(0,1fr); padding: 12px; } .gate-state { grid-column: 2; } }

.target-screenshot[hidden] { display: none; }

/* Keep credential administration and per-repository read checks scannable. */
.git-readonly-card { margin-top: 16px; }
.credential-hint { color: var(--muted); font-size: 12px; line-height: 1.6; margin: 10px 0 0; }
.bound-repositories { margin-top: 24px; }
.bound-repositories .section-title { padding-bottom: 12px; }
.bound-repositories .muted { color: var(--muted); font-size: 11px; }
.git-repository-list { display: grid; margin-top: 12px; gap: 8px; }
.git-repository-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; background: var(--blue-tint); }
.git-repository-meta { flex: 1 1 200px; min-width: 0; display: grid; gap: 3px; }
.git-repository-meta strong { font-size: 13px; overflow-wrap: anywhere; }
.git-repository-meta span { font-size: 11px; color: var(--muted); overflow-wrap: anywhere; }
.git-repository-feedback { font-size: 11px; color: var(--muted); flex-basis: 100%; }
.git-repository-feedback[data-status="PASS"] { color: var(--success); }
.git-repository-feedback[data-status="AUTH_OR_PERMISSION"], .git-repository-feedback[data-status="CHECK_FAILED"] { color: var(--danger); }
.git-repository-row button:disabled { cursor: not-allowed; opacity: .5; }

.repository-commissioning { flex-basis: 100%; min-width: 0; border-top: 1px solid var(--line); padding-top: 10px; font-size: 12px; }
.repository-commissioning summary { cursor: pointer; color: var(--blue); font-weight: 700; width: fit-content; }
.repository-commissioning summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
.repository-commissioning-content { display: grid; gap: 8px; padding-top: 12px; }
.repository-commissioning-field { display: grid; grid-template-columns: minmax(90px, 130px) minmax(0, 1fr); gap: 12px; line-height: 1.5; }
.repository-commissioning-field strong { color: var(--text); }
.repository-commissioning-field span { color: var(--muted); overflow-wrap: anywhere; }
.repository-commissioning-field .repository-commissioning-verified { color: var(--success); }
.repository-commissioning-next { margin: 4px 0 0; padding: 10px 12px; border-left: 3px solid var(--blue); background: var(--blue-tint); line-height: 1.6; }
@media (max-width: 600px) { .repository-commissioning-field { grid-template-columns: 1fr; gap: 2px; } }

/* Integration settings reuse the existing configuration cards and responsive grid. */
.integration-form { display: grid; gap: 18px; margin-top: 18px; margin-bottom: 18px; }
.integration-form .settings-panel { margin: 0; }
.integration-form textarea { width: 100%; min-width: 0; resize: vertical; font: inherit; border: 1px solid var(--border, #dce1e8); border-radius: 8px; padding: 10px; background: var(--surface, #fff); color: inherit; }
.integration-clear { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13px; }
.integration-clear input { width: auto; }
#integrationSettings code { overflow-wrap: anywhere; }
#integrationSettings li { overflow-wrap: anywhere; margin: 8px 0; font-size: 13px; }
#integrationSettings .readiness-banner { display: flex; flex-wrap: wrap; gap: 10px; cursor: default; }
#integrationSettings .settings-panel { border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; padding: 20px; box-shadow: var(--shadow); }
#integrationSettings h2 { margin: 0; font-size: 17px; }
#integrationSettings .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; margin-top: 18px; }
#integrationSettings .form-grid > label, #integrationSettings .form-grid > div > label:first-child { display: grid; align-content: start; gap: 7px; color: #526078; font-size: 12px; font-weight: 600; }
#integrationSettings .integration-clear { display: flex; flex-direction: row; align-items: center; gap: 8px; color: #63708a; font-weight: 400; font-size: 12px; }
#integrationSettings input[type="checkbox"] { width: 16px; height: 16px; min-height: 16px; margin: 0; padding: 0; flex: 0 0 16px; }
#integrationSettings .form-actions { flex-wrap: wrap; align-items: center; }
#integrationSettings .readiness-banner > span { white-space: normal; flex-shrink: 1; }
#integrationSettings details { margin-top: 18px; font-size: 13px; }
@media (max-width: 720px) { #integrationSettings .form-grid { grid-template-columns: minmax(0,1fr); } #integrationSettings .section-title { flex-wrap: wrap; gap: 10px; } #integrationSettings .settings-panel { padding: 16px; } }

/* Thread-level confirmation: bounded native controls match the settings layout. */
.collaboration-form { display: grid; gap: 14px; min-width: 0; }
.collaboration-form > label { display: grid; gap: 7px; min-width: 0; font-size: 13px; }
.collaboration-form select, .integration-form select { display: block; width: 100%; max-width: 100%; min-width: 0; padding: 10px 12px; border: 1px solid #dce1e8; border-radius: 8px; background: #fff; color: #222b45; text-overflow: ellipsis; }
.collaboration-form .collaboration-confirm { display: flex; align-items: flex-start; gap: 8px; line-height: 1.6; }
.collaboration-form button { justify-self: start; }
#collaborationPanel { min-width: 0; }
#collaborationPanel .settings-panel { overflow-wrap: anywhere; }
