:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #253247; background: #f5f7fa; line-height: 1.55; font-size: 14px;
  --line: #e3e8ee; --muted: #657387; --accent: #087f75; --accent-soft: #e9f6f2; --ink: #172638;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
h1, h2, h3 { color: var(--ink); line-height: 1.3; letter-spacing: -.025em; }
h1 { margin: 0 0 10px; font-size: clamp(1.8rem, 2.6vw, 2.35rem); font-weight: 650; }
h2 { margin: 0 0 8px; font-size: 1.2rem; font-weight: 650; }
h3 { margin: 0 0 12px; font-size: 1rem; font-weight: 650; }
p { margin: 8px 0; }
.muted, footer { color: var(--muted); font-size: .86rem; }
.eyebrow { color: var(--muted); font-size: .67rem; font-weight: 700; letter-spacing: .12em; margin: 0 0 8px; }
.sidebar { width: 232px; position: fixed; inset: 0 auto 0 0; z-index: 3; display: flex; flex-direction: column; padding: 32px 16px 18px; background: #142131; color: #c2cdda; }
.brand { display: flex; align-items: center; gap: 11px; padding: 0 12px 36px; color: #fff; font-size: 1.25rem; font-weight: 650; letter-spacing: -.025em; }
.brand:hover { text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 37px; height: 40px; border-radius: 10px; background: #203d44; color: #7dddc4; flex-shrink: 0; }
.brand-mark svg { width: 26px; height: 26px; }
.brand-subtitle { display: block; margin-top: 2px; color: #92a4b8; font-size: .61rem; letter-spacing: .14em; font-weight: 500; }
.nav-label { color: #7f93aa; font-size: .65rem; letter-spacing: .14em; font-weight: 650; margin: 0 14px 12px; }
.task-nav { display: grid; gap: 6px; }
.task-nav a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 12px; border-radius: 7px; color: #b5c2d2; font-size: .84rem; font-weight: 500; }
.task-nav a:hover { background: #1f3043; color: #fff; text-decoration: none; }
.task-nav a[aria-current=page] { background: #23403f; color: #9de4d1; box-shadow: inset 3px 0 #59bfa6; }
.nav-icon { width: 20px; flex-shrink: 0; text-align: center; font-size: 1.25rem; line-height: 1; }
.sidebar-note { margin: auto 8px 22px; padding: 16px 12px; border: 1px solid #2e4051; border-radius: 9px; font-size: .79rem; }
.sidebar-note strong { display: block; color: #d9e4ec; font-weight: 550; margin: 10px 0 5px; }
.sidebar-note p { margin: 0; color: #91a5bb; font-size: .76rem; line-height: 1.7; }
.sidebar-note-dot { display: block; width: 8px; height: 8px; border-radius: 50%; background: #79c6b0; box-shadow: 0 0 0 4px #25423f; }
.sidebar-footer { border-top: 1px solid #2b3a4c; padding: 17px 12px 0; font-size: .75rem; color: #93a5ba; }
.platform-dot { display: inline-block; width: 6px; height: 6px; background: #91a5bb; border-radius: 50%; margin-right: 9px; vertical-align: middle; }
.app-shell { margin-left: 232px; min-width: 0; }
.topbar { min-height: 76px; padding: 16px 36px; border-bottom: 1px solid var(--line); background: #fff; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.breadcrumb { font-size: .84rem; color: var(--muted); }
.breadcrumb span { margin: 0 12px; color: #bdc7d1; }
.breadcrumb strong { color: #455368; font-weight: 500; }
.connection { display: grid; gap: 4px; justify-items: end; min-width: 0; max-width: 55%; }
.connection .badge { white-space: normal; overflow-wrap: anywhere; }
.connection .muted { font-size: .71rem; text-align: right; }
main { max-width: 1500px; margin: 0 auto; padding: 32px 36px 0; }
.page-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 28px; }
.page-heading .eyebrow { color: var(--accent); }
.page-description { color: var(--muted); margin: 0; font-size: .94rem; }
.button-link, button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--accent); color: #fff; border: 1px solid transparent; border-radius: 7px; padding: 10px 15px; font: inherit; font-size: .86rem; font-weight: 600; min-height: 42px; max-width: 100%; cursor: pointer; text-align: center; }
.button-link { flex-shrink: 0; box-shadow: 0 2px 3px #1726380c; }
.button-link:hover, button:hover:not(:disabled) { background: #066c63; text-decoration: none; }
.button-link > span { font-size: 1.2rem; font-weight: 400; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 26px; margin-bottom: 24px; min-width: 0; box-shadow: 0 2px 3px #17263803; scroll-margin-top: 24px; }
.section-heading, .workspace-heading { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.section-heading { margin-bottom: 18px; }
.section-heading h2 { margin-bottom: 0; }
.section-tag { font-size: .72rem; color: #607086; padding: 4px 9px; border: 1px solid var(--line); border-radius: 5px; background: #fafbfd; }
.access-panel { padding: 20px 24px; }
.access-panel .section-heading { margin-bottom: 4px; }
.access-panel h2 { font-size: .96rem; }
.access-panel .secondary { min-height: 34px; padding: 6px 11px; font-size: .76rem; }
.access-panel #permission { font-size: .76rem; margin: 10px 0 0; }
.quick-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 30px; }
.quick-action { display: flex; gap: 12px; align-items: center; padding: 20px 16px; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); }
.quick-action:hover { border-color: #a4c9c1; box-shadow: 0 3px 12px #14213108; text-decoration: none; }
.quick-icon { flex-shrink: 0; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 9px; background: var(--accent-soft); color: var(--accent); font-size: 1.35rem; }
.quick-action:nth-child(2) .quick-icon { background: #eef0fc; color: #6665b5; }
.quick-action:nth-child(3) .quick-icon { background: #edf3fc; color: #4778b6; }
.quick-action strong { display: block; font-size: .85rem; font-weight: 600; }
.quick-action strong + span { display: block; color: var(--muted); font-size: .75rem; margin-top: 4px; }
.quick-arrow { margin-left: auto; color: #91a0b1; font-size: 1.15rem; }
.workspace-heading { margin-bottom: 16px; }
.workspace-heading h2 { margin: 0; font-size: 1.15rem; }
.workspace-heading p { margin: 4px 0 0; }
.row { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; }
.field { min-width: 0; }
.grow { flex: 1 1 220px; }
label { display: block; font-size: .82rem; font-weight: 550; color: #3e4d62; margin: 12px 0 7px; }
label .muted { font-weight: 400; font-size: .78rem; }
input, select, textarea { font: inherit; font-size: .86rem; color: #253247; background: #fff; border: 1px solid #cbd4de; border-radius: 7px; padding: 10px 12px; min-height: 42px; min-width: 0; max-width: 100%; box-shadow: 0 1px 2px #17263803; }
input::placeholder, textarea::placeholder { color: #7a8798; opacity: 1; }
input:hover:not(:disabled), select:hover:not(:disabled), textarea:hover:not(:disabled) { border-color: #94a8bb; }
input:disabled, select:disabled, textarea:disabled { background: #f6f8fa; color: #778497; cursor: not-allowed; }
textarea { width: 100%; resize: vertical; line-height: 1.65; }
.field input, .field select, .jobs-panel > input, .jobs-panel > select { width: 100%; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid select, .form-grid input { width: 100%; }
.task-actions { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 18px; align-items: center; }
.task-actions p { flex: 1 1 250px; }
#max-repairs { width: 120px; }
input[type=checkbox] { min-height: 17px; width: 17px; box-shadow: none; accent-color: var(--accent); vertical-align: middle; margin: 0 7px 0 0; flex-shrink: 0; }
button.secondary { background: #fff; color: #46566c; border-color: #d5dde6; box-shadow: 0 1px 2px #17263806; }
button.secondary:hover:not(:disabled) { background: #f3f6f9; border-color: #acbac8; }
button.danger { background: #b93d45; color: #fff; }
button.danger:hover:not(:disabled) { background: #9e3038; }
button:disabled { opacity: .48; cursor: not-allowed; box-shadow: none; }
:where(button, a, input, select, textarea, summary, pre, [tabindex]):focus-visible { outline: 3px solid #159b88; outline-offset: 3px; }
.workspace { display: grid; grid-template-columns: minmax(260px, 320px) minmax(0, 1fr); gap: 20px; align-items: start; margin-bottom: 12px; scroll-margin-top: 24px; }
.workspace .panel { padding: 22px; }
.jobs-panel { position: sticky; top: 20px; max-height: calc(100dvh - 40px); overflow: auto; }
.jobs-panel .section-heading { margin-bottom: 10px; }
.jobs-panel .secondary { font-size: .76rem; min-height: 34px; padding: 6px 11px; }
.jobs-panel > label { font-size: .75rem; }
.refresh-options { padding: 5px 0 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.refresh-options label, .checkbox { display: flex; align-items: center; min-height: 36px; font-size: .76rem; font-weight: 400; }
#jobs { padding-top: 12px; color: var(--muted); font-size: .85rem; }
.job { display: block; width: 100%; text-align: left; background: transparent; color: var(--ink); border: 1px solid transparent; border-bottom-color: var(--line); border-radius: 6px; padding: 15px 10px; font-weight: 400; overflow-wrap: anywhere; }
.job:hover:not(:disabled) { background: #f5f8fa; }
.job[aria-pressed=true], .job[aria-pressed=true]:hover { background: var(--accent-soft); border-color: #c4e2da; box-shadow: inset 3px 0 var(--accent); }
.job-title { display: block; font-weight: 600; font-size: .86rem; }
.job-meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 9px; font-size: .7rem; color: var(--muted); }
.job-meta > span:not(.badge) { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.job-date { display: block; font-size: .71rem; margin-top: 8px; color: var(--muted); line-height: 1.7; }
.badge { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #dce3eb; border-radius: 5px; padding: 3px 8px; font-size: .7rem; line-height: 1.5; font-weight: 550; white-space: nowrap; color: #627186; background: #f5f7f9; }
.badge::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.badge[data-status=running], .badge[data-status=queued] { background: #edf3ff; color: #416cab; border-color: #d7e4fa; }
.badge[data-status=awaiting_approval] { color: #946015; border-color: #f0ddb1; background: #fff8e8; }
.badge[data-status=approved], .badge[data-status=merged], .badge[data-status=pass], #connection[data-state=connected] { color: #16755c; border-color: #c9e7db; background: #edf8f2; }
.badge[data-status=failed], .badge[data-status=merge_uncertain], .badge[data-status=fail], .badge[data-status=merge_blocked] { color: #ab3844; border-color: #f1d2d7; background: #fff1f2; }
#connection[data-state=reconnecting] { color: #946015; border-color: #f0ddb1; background: #fff8e8; }
.pagination { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; padding-top: 18px; margin-top: 10px; border-top: 1px solid var(--line); }
.pagination .muted { font-size: .72rem; }
.detail-panel { overflow-wrap: anywhere; min-height: 540px; }
#empty-detail { min-height: 494px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 25px; }
.empty-icon { display: grid; place-items: center; width: 76px; height: 76px; border: 1px solid #dce9e5; border-radius: 21px; background: #f0f7f5; color: #4a8c7c; margin-bottom: 23px; box-shadow: 0 0 0 8px #fafcfb; }
.empty-icon svg { width: 44px; height: 44px; }
#empty-detail h2 { font-size: 1.3rem; margin: 4px 0; }
#empty-detail .muted { max-width: 330px; margin: 8px auto; line-height: 1.8; }
.empty-workflow { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin: 16px 0 22px; font-size: .75rem; color: #576c68; }
.empty-workflow span:nth-child(even) { color: #9bb4ac; }
.text-link { font-size: .82rem; font-weight: 600; }
.commit-summary { font-size: .79rem; display: grid; grid-template-columns: 94px minmax(0, 1fr); gap: 11px 14px; margin: 20px 0; padding: 18px; background: #f8fafc; border: 1px solid var(--line); border-radius: 8px; }
dt { color: var(--muted); } dd { margin: 0; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .76rem; overflow-wrap: anywhere; }
.actions { margin: 22px 0; padding: 16px 0; align-items: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); gap: 8px; }
.actions button { font-size: .79rem; padding: 9px 12px; }
#progress { padding: 11px 13px; background: #f0f6fa; border-left: 3px solid #9bb9cd; color: #425a70; font-size: .83rem; border-radius: 0 5px 5px 0; }
#job-time { font-size: .74rem; }
.report-section { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 22px; }
.check { padding: 16px; border: 1px solid var(--line); border-radius: 8px; margin: 12px 0; min-width: 0; }
.check-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.command { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .77rem; overflow-wrap: anywhere; color: #55657a; }
pre { background: #152232; color: #d2dfed; border: 1px solid #27384b; padding: 18px; border-radius: 8px; max-height: 420px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .78rem; line-height: 1.8; }
#diff { white-space: pre; overflow-wrap: normal; }
.diff-add { color: #94dfbb; } .diff-remove { color: #ffb0b0; } .diff-hunk { color: #99c9fa; }
details { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 16px; min-width: 0; }
.check details { margin-top: 10px; }
summary { cursor: pointer; color: #405169; min-height: 44px; padding: 11px 0; font-size: .85rem; font-weight: 550; }
summary::marker { color: #8798aa; }
.notice { padding: 13px 16px; border: 1px solid; border-radius: 8px; overflow-wrap: anywhere; font-size: .86rem; }
.error { color: #a72f40; } .success { color: #127254; }
.notice.error { background: #fff2f3; border-color: #edcbd1; }
.notice.success { background: #edf8f2; border-color: #c6e7d7; }
.log-tools { align-items: center; margin: 12px 0; }
.audit-list { padding-left: 22px; overflow-wrap: anywhere; font-size: .82rem; }
.audit-list li { padding: 9px 0; }
.wizard-steps { display: flex; list-style: none; padding: 0 0 20px; margin: 0 0 18px; border-bottom: 1px solid var(--line); gap: 26px; flex-wrap: wrap; }
.wizard-steps li { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .78rem; }
.wizard-steps li > span { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid #d9e1e9; border-radius: 50%; font-size: .73rem; }
.wizard-steps li[aria-current=step] { color: var(--accent); font-weight: 600; }
.wizard-steps li[aria-current=step] > span { background: var(--accent); border-color: var(--accent); color: white; }
#repository-confirmation { width: 100%; }
#repository-permission { margin-bottom: 16px; }
#repository-progress:empty { display: none; }
footer { display: flex; align-items: flex-start; gap: 10px; max-width: 1500px; margin: 0 auto; padding: 8px 36px 28px; font-size: .74rem; }
.footer-mark { color: var(--accent); font-size: 1rem; line-height: 1.2; }
dialog { background: #fff; color: inherit; border: 1px solid #d8e1e9; border-radius: 14px; padding: 30px; width: min(620px, calc(100% - 28px)); max-height: calc(100dvh - 28px); overflow: auto; box-shadow: 0 24px 100px #0d1c3240; }
dialog::backdrop { background: #0d1c3280; backdrop-filter: blur(3px); }
dialog input { width: 100%; }
.dialog-actions { justify-content: flex-end; align-items: center; margin-top: 24px; }
.skip-link { position: fixed; top: 0; left: 14px; transform: translateY(-120%); color: #fff; background: var(--accent); padding: 12px; z-index: 10; border-radius: 0 0 7px 7px; }
.skip-link:focus { transform: translateY(0); }
[hidden] { display: none !important; }
@media (max-width: 1150px) {
  .sidebar { width: 210px; padding-inline: 12px; } .app-shell { margin-left: 210px; }
  main { padding: 26px 24px 0; } .topbar { padding-inline: 24px; } .page-heading { align-items: flex-start; }
  .quick-actions { gap: 10px; } .quick-action { padding: 16px 12px; gap: 9px; } .quick-arrow { display: none; }
  .workspace { grid-template-columns: minmax(240px, 290px) minmax(0, 1fr); gap: 16px; }
  .workspace .panel { padding: 18px; } footer { padding-inline: 24px; }
}
@media (max-width: 950px) {
  .page-heading { flex-direction: column; gap: 16px; }
  .quick-actions { grid-template-columns: 1fr; gap: 8px; } .quick-action { padding: 12px 16px; } .quick-arrow { display: block; }
  .workspace { grid-template-columns: 1fr; gap: 0; } .jobs-panel { position: static; max-height: none; }
  #jobs { max-height: 340px; overflow: auto; } .detail-panel { min-height: 400px; } #empty-detail { min-height: 350px; }
}
@media (max-width: 700px) {
  .sidebar { width: auto; position: static; padding: 16px 16px 10px; }
  .brand { padding: 0 0 16px; font-size: 1.16rem; } .brand-mark { width: 32px; height: 34px; border-radius: 8px; }
  .brand-mark svg { width: 23px; height: 23px; } .brand-subtitle { font-size: .57rem; }
  .nav-label, .sidebar-note, .sidebar-footer { display: none; }
  .task-nav { display: flex; overflow-x: auto; gap: 6px; padding-bottom: 4px; }
  .task-nav a { flex-shrink: 0; min-height: 44px; padding: 10px 12px; font-size: .78rem; }
  .task-nav a[aria-current=page] { box-shadow: inset 0 -2px #59bfa6; } .nav-icon { width: 16px; font-size: 1.1rem; }
  .app-shell { margin-left: 0; } .topbar { padding: 14px 18px; gap: 12px; flex-wrap: wrap; min-height: 70px; }
  .breadcrumb { font-size: .75rem; } .breadcrumb span { margin-inline: 6px; } .connection { max-width: 100%; }
  .connection .badge { font-size: .66rem; } .connection .muted { font-size: .67rem; }
  main { padding: 24px 16px 0; } .page-heading { margin-bottom: 22px; } h1 { font-size: 1.85rem; } .page-description { font-size: .88rem; }
  .panel, .workspace .panel { padding: 18px; margin-bottom: 18px; }
  .access-panel .row { align-items: stretch; } .access-panel .grow { flex-basis: 100%; }
  .access-panel #connect { width: 100%; } .access-panel label .muted { display: block; }
  .quick-actions { margin-bottom: 24px; } .workspace-heading { align-items: flex-start; gap: 10px; } .workspace-heading .section-tag { font-size: .66rem; }
  .form-grid { grid-template-columns: 1fr; gap: 0; } .section-heading { gap: 10px; } .section-heading .eyebrow { font-size: .6rem; }
  #empty-detail { padding: 22px 10px; } #empty-detail h2 { font-size: 1.2rem; } .empty-workflow { gap: 8px; font-size: .7rem; }
  .actions button { flex: 1 1 120px; min-height: 44px; } .commit-summary { grid-template-columns: 74px minmax(0, 1fr); gap: 10px; padding: 12px; }
  .wizard-steps { gap: 12px; } .wizard-steps li { gap: 6px; font-size: .71rem; } .wizard-steps li > span { width: 21px; height: 21px; }
  .task-actions > button { width: 100%; } footer { padding: 8px 18px 24px; } dialog { padding: 22px; } pre { padding: 13px; font-size: .73rem; }
}
@media (max-width: 380px) {
  .topbar { align-items: flex-start; flex-direction: column; } .connection { justify-items: start; } .connection .muted { text-align: left; }
  .wizard-steps { gap: 10px; } .wizard-steps li { font-size: .67rem; } .section-heading .section-tag { font-size: .65rem; }
}
@media (prefers-reduced-motion: no-preference) {
  button, .button-link, .quick-action, .task-nav a { transition: background .15s, border-color .15s, box-shadow .15s; }
}

/* Each document contains only its own task; the shell and session tools are shared. */
.session-tools { display: flex; align-items: center; justify-content: flex-end; gap: 16px; min-width: 0; }
.session-tools .connection { max-width: none; }
.session-tools > button { min-height: 34px; padding: 6px 11px; font-size: .76rem; }
.session-notice { color: #465d70; background: #edf4f8; border-color: #d5e2ea; margin-bottom: 22px; }
.session-notice a { margin-left: 8px; font-weight: 600; }
body[data-page=access] .access-panel { max-width: 740px; }
body[data-page=access] .access-panel #connect { flex-shrink: 0; }
body[data-page=development] #development-page,
body[data-page=repositories] #repository-page,
body[data-page=validation] #validation-page { max-width: 1120px; }
@media (max-width: 700px) {
  .topbar .breadcrumb { width: 100%; }
  .session-tools { width: 100%; gap: 10px; justify-content: space-between; }
  .session-tools .connection { max-width: calc(100% - 90px); justify-items: start; }
  .session-tools .connection .muted { text-align: left; }
  .session-tools > button { font-size: .68rem; }
}

/* Development task board */
.task-board-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 20px; }
.task-board-heading h2 { margin-bottom: 5px; }
.task-board-heading p { margin: 0; }
.task-board-panel { padding: 0; overflow: hidden; }
.task-toolbar { display: flex; align-items: end; flex-wrap: wrap; gap: 14px; padding: 22px 24px 12px; }
.task-toolbar .field { flex: 1 1 140px; }
.task-toolbar .task-search { flex: 2 1 260px; }
.task-toolbar label { margin-top: 0; font-size: .75rem; }
.task-toolbar input, .task-toolbar select { width: 100%; }
#tasks-state { margin: 4px 24px 18px; font-size: .76rem; }
.task-table-scroll { overflow-x: auto; width: 100%; }
.task-table { border-collapse: collapse; width: 100%; text-align: left; font-size: .82rem; }
.task-table thead { background: #f7f9fc; color: #596b80; }
.task-table th { font-size: .7rem; font-weight: 600; letter-spacing: .03em; padding: 13px 18px; border-block: 1px solid var(--line); white-space: nowrap; }
.task-table td { padding: 17px 18px; border-bottom: 1px solid #edf0f4; vertical-align: middle; }
.task-table tbody tr:hover { background: #fafcfd; }
.task-table .task-title-cell { min-width: 210px; max-width: 350px; }
.task-title-link { display: block; color: #293d57; font-weight: 600; overflow-wrap: anywhere; }
.task-title-link:hover { color: var(--accent); }
.task-id { display: block; font-family: ui-monospace, monospace; font-size: .67rem; color: #758498; margin-top: 5px; }
.task-repository-cell { min-width: 135px; max-width: 210px; overflow-wrap: anywhere; }
.task-branch { display: block; min-width: 110px; max-width: 180px; color: #60718a; font-family: ui-monospace, monospace; font-size: .71rem; overflow-wrap: anywhere; }
.task-updated-cell { min-width: 115px; color: var(--muted); font-size: .71rem; }
.task-action-heading { text-align: right; }
.task-table .task-row-actions { white-space: nowrap; text-align: right; min-width: 108px; }
.icon-button { min-width: 36px; min-height: 36px; padding: 8px; background: transparent; border: 1px solid transparent; color: #6d7d90; border-radius: 6px; margin-left: 4px; }
.icon-button svg { width: 17px; height: 17px; }
.icon-button:hover:not(:disabled) { background: #edf3f6; border-color: #dde6ed; color: #334b63; }
.delete-task:hover:not(:disabled) { color: #b02e40; background: #fff0f2; border-color: #f0d1d6; }
.start-task { color: var(--accent); background: #f0f8f5; }
.start-task:hover:not(:disabled) { color: #066c63; background: #e0f2eb; border-color: #bcded2; }
.task-type-badge { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; font-size: .75rem; color: #4e6177; }
.task-type-icon { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 5px; background: #e6f3ed; color: #22845f; font-size: .95rem; }
.task-type-badge[data-type=bugfix] .task-type-icon { background: #ffeaee; color: #c1435e; }
.task-type-badge[data-type=hotfix] .task-type-icon { background: #fff1df; color: #a66c16; }
.task-type-badge[data-type=release] .task-type-icon { background: #f0eaff; color: #7b58b1; }
.task-type-badge[data-type=chore] .task-type-icon { background: #edf0f4; color: #627188; }
.task-type-badge[data-type=docs] .task-type-icon { background: #e8f1ff; color: #477bbd; }
.task-type-badge[data-type=refactor] .task-type-icon { background: #e8f4fb; color: #397e9e; }
.task-type-badge[data-type=test] .task-type-icon { background: #e6f4f1; color: #228675; }
.badge[data-status=draft] { color: #6b6792; border-color: #e1dff0; background: #f4f2fb; }
.tasks-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; padding: 48px 24px; min-height: 240px; }
.tasks-empty .quick-icon { width: 44px; height: 44px; }
.tasks-empty h3, .tasks-empty p { margin: 0; }
.task-board-panel > .pagination { margin: 0; padding: 16px 24px; border-top: 0; }
#create-task-dialog { width: min(900px, calc(100% - 32px)); padding: 28px; }
#create-task-dialog .task-actions { align-items: end; }
#create-task-dialog .task-actions p { flex-basis: 230px; }
#create-task-dialog .section-heading { margin-bottom: 14px; }
#task-delete-name { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 700px) {
  .task-board-heading > button { width: 100%; }
  .task-toolbar { padding: 18px 16px 10px; gap: 10px; }
  .task-toolbar .field { flex-basis: 120px; }
  .task-toolbar .task-search { flex-basis: 100%; }
  .task-toolbar > button { width: 100%; }
  #tasks-state { margin-inline: 16px; }
  .task-table th, .task-table td { padding: 13px 12px; }
  .task-board-panel > .pagination { padding-inline: 16px; }
  #create-task-dialog { padding: 20px; }
  .icon-button { min-width: 44px; min-height: 44px; }
  #create-task-dialog .task-actions p { flex-basis: 100%; }
}
.task-table .task-action-heading { position: sticky; right: 0; background: #f7f9fc; }
.task-table .task-row-actions { position: sticky; right: 0; background: #fff; box-shadow: -1px 0 #edf0f4; }
.task-table tbody tr:hover .task-row-actions { background: #fafcfd; }

.badge[data-status=awaiting_development] { color: #6b6792; border-color: #e1dff0; background: #f4f2fb; }
#hybrid-handoff { margin-block: 20px; padding: 18px; border: 1px solid var(--line); border-radius: 10px; }
#dev-deployment { margin-block: 20px; padding: 18px; border: 1px solid var(--line); border-radius: 10px; }

.chat-message { border: 1px solid var(--line); border-radius: 8px; padding: 12px; margin-block: 10px; overflow-wrap: anywhere; }
.chat-message[data-role=user] { background: #f4f6fb; }
.chat-message p { white-space: pre-wrap; margin-bottom: 0; }
