.confirmed-workbench {
  --cw-line: #dce3e9;
  --cw-muted: #5d6e80;
  --cw-ink: #182632;
  color: var(--cw-ink);
  background: #fff;
  padding: 22px 24px;
  min-width: 0;
}
.confirmed-workbench *, .confirmed-workbench *::before, .confirmed-workbench *::after { box-sizing: border-box; letter-spacing: 0; }
.confirmed-workbench .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.confirmed-workbench .cw-header { margin: 0; padding: 0 0 20px; gap: 14px; }
.confirmed-workbench .cw-header h2 { font-size: 23px; }
.confirmed-workbench .view-actions { flex-wrap: wrap; gap: 8px; }
.confirmed-workbench button { border-radius: 5px; }
.cw-overview { display: flex; flex-wrap: wrap; gap: 12px 36px; padding: 18px 0; border-top: 1px solid var(--cw-line); border-bottom: 1px solid var(--cw-line); }
.cw-overview > span { display: flex; align-items: baseline; gap: 16px; color: var(--cw-muted); font-size: 14px; }
.cw-overview strong { font-size: 22px; color: var(--cw-ink); font-variant-numeric: tabular-nums; }
.cw-layout { display: grid; grid-template-columns: minmax(0, 1fr) 292px; min-width: 0; }
.cw-ledger { min-width: 0; padding: 22px 22px 0 0; }
.cw-toolbar { display: flex; align-items: end; gap: 10px; padding-bottom: 20px; flex-wrap: wrap; }
.confirmed-workbench .confirmed-search { flex: 1 1 180px; min-width: 120px; display: grid; gap: 6px; margin: 0; font-size: 12px; }
.confirmed-workbench .confirmed-search input { width: 100%; height: 38px; font-size: 14px; border-radius: 5px; }
.cw-progress { display: grid; gap: 6px; font-size: 12px; color: var(--cw-muted); }
.cw-progress select { width: 126px; height: 38px; background: #fff; border: 1px solid #c1cfdb; border-radius: 5px; padding: 6px 9px; font: inherit; font-size: 13px; color: var(--cw-ink); }
.cw-toolbar .seg-group { height: 38px; flex-shrink: 0; }
.cw-toolbar .seg-btn { min-width: 43px; padding: 7px 10px; }
.cw-table-scroll { overflow: auto; max-height: 520px; min-height: 280px; scrollbar-gutter: stable; }
.cw-table { width: 100%; min-width: 660px; table-layout: fixed; border-collapse: separate; border-spacing: 0; font-size: 14px; }
.cw-table th { position: sticky; top: 0; z-index: 1; background: #f2f5f7; border-bottom: 1px solid var(--cw-line); text-align: left; color: #42566a; font-size: 13px; font-weight: 650; padding: 12px 8px; }
.cw-table th:nth-child(2) { width: 96px; }
.cw-table th:nth-child(3) { width: 25%; }
.cw-table th:last-child { width: 120px; }
.cw-table td { padding: 11px 8px; border-bottom: 1px solid #e7ecf0; vertical-align: middle; overflow-wrap: anywhere; }
.cw-table .cw-check { width: 30px; text-align: center; padding-left: 5px; padding-right: 5px; }
.cw-check input { width: 15px; height: 15px; accent-color: #2c6184; cursor: pointer; }
.cw-table .cw-number { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cw-table small { display: block; font-size: 11px; margin-top: 5px; font-weight: 400; color: var(--cw-muted); }
.cw-date { white-space: nowrap; font-size: 12px; color: var(--cw-muted); }
.cw-company button { display: block; padding: 0; border: 0; background: transparent; box-shadow: none; text-align: left; font: inherit; font-weight: 650; line-height: 1.5; color: var(--cw-ink); cursor: pointer; max-width: 100%; overflow-wrap: anywhere; }
.cw-company small { line-height: 1.5; }
.cw-table .cw-issued { color: var(--cw-muted); }
.cw-table .cw-remaining { font-weight: 750; color: #116964; }
.cw-table tbody tr { cursor: pointer; }
.cw-table tbody tr:hover { background: #f4f8fc; }
.cw-table tbody tr.is-selected { background: #eaf3fb; }
.cw-table tr.is-selected td:first-child { box-shadow: inset 3px 0 #347ab5; }
.cw-table .cw-empty { text-align: center; color: var(--cw-muted); height: 240px; }
.cw-list-total { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; border-top: 1px solid var(--cw-line); padding: 14px 0; color: var(--cw-muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.cw-inspector { min-width: 0; border-left: 1px solid var(--cw-line); padding: 24px 0 20px 22px; }
.cw-inspector header h3 { font-size: 22px; line-height: 1.4; overflow-wrap: anywhere; margin: 0 0 6px; }
.cw-inspector header > span { color: var(--cw-muted); font-size: 13px; }
.cw-facts { margin: 18px 0 24px; }
.cw-facts > div { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 5px 12px; border-bottom: 1px solid #e7ecf0; padding: 11px 0; font-size: 14px; }
.cw-facts dt { color: var(--cw-muted); }
.cw-facts dd { margin: 0; font-weight: 550; font-variant-numeric: tabular-nums; }
.cw-facts .cw-available dd { font-size: 22px; font-weight: 750; color: #116964; }
.cw-inspector h4 { font-size: 15px; margin: 0 0 15px; }
.cw-issue-form { display: grid; gap: 14px; }
.cw-issue-form h4 { margin: 0; }
.cw-issue-form label { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 2px 8px; align-items: center; font-size: 13px; color: var(--cw-muted); }
.cw-issue-form label > span { grid-column: 1; grid-row: 2; font-size: 11px; }
.cw-issue-form input:not([type=hidden]), .cw-issue-form textarea { grid-column: 2; grid-row: 1 / span 2; width: 100%; min-width: 0; height: 40px; border: 1px solid #bfceda; border-radius: 5px; background: #fff; color: var(--cw-ink); font: inherit; font-size: 14px; padding: 8px; }
.cw-issue-form textarea { height: 62px; resize: vertical; }
.cw-issue-form .cw-submit { background: #127b75; border-color: #127b75; height: 42px; width: 100%; font-size: 15px; box-shadow: none; }
.cw-issue-form .cw-submit:hover { background: #09645e; }
.cw-issue-form .cw-submit:disabled { opacity: .6; cursor: wait; }
.cw-error { color: #b42331; background: #fff1f2; border-left: 3px solid #bd3342; padding: 10px; margin: 0; font-size: 13px; overflow-wrap: anywhere; }
.cw-error[hidden] { display: none; }
.cw-record-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.cw-record-actions button { background: #fff; border: 1px solid #c4d0da; padding: 6px 9px; color: #536678; font-size: 12px; }
.cw-record-actions button:disabled { opacity: .5; cursor: default; }
.cw-history { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--cw-line); }
.cw-history h4 { display: flex; justify-content: space-between; }
.cw-history h4 span, .cw-history p { font-size: 12px; color: var(--cw-muted); font-weight: 400; }
.cw-history ul { list-style: none; padding: 0; margin: 0; max-height: 210px; overflow: auto; }
.cw-history li { border-bottom: 1px solid #e7ecf0; padding: 10px 0; }
.cw-history li div { display: flex; gap: 10px; justify-content: space-between; font-size: 13px; }
.cw-history small { display: block; font-size: 12px; color: var(--cw-muted); overflow-wrap: anywhere; margin-top: 6px; }
.cw-export, .cw-readonly, .cw-inspector-empty { color: var(--cw-muted); font-size: 13px; line-height: 1.6; }
.cw-pricing { border-top: 1px solid var(--cw-line); padding-top: 14px; margin-top: 8px; }
.cw-pricing summary { cursor: pointer; font-size: 14px; font-weight: 650; }
.cw-pricing .confirmed-summary-panel { border: 0; border-radius: 0; box-shadow: none; margin-top: 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; background: transparent; }
.cw-pricing .confirmed-summary-panel > header { display: none; }
.cw-pricing .confirmed-summary-group { padding: 0; border: 0; min-width: 0; }
.cw-pricing .confirmed-summary-row { background: transparent; border: 0; border-radius: 0; border-bottom: 1px solid var(--cw-line); padding: 12px 0; }
.confirmed-workbench :is(button, input, select, textarea, summary):focus-visible { outline: 2px solid #347ab5; outline-offset: 3px; }
@media (min-width: 1200px) and (max-width: 1359px) {
  .cw-layout { grid-template-columns: minmax(0, 1fr) 248px; }
  .cw-ledger { padding-right: 16px; }
  .cw-inspector { padding-left: 16px; }
  .cw-table { min-width: 640px; }
}
@media (max-width: 1199px) {
  .cw-layout { grid-template-columns: minmax(0, 1fr); }
  .cw-ledger { padding-right: 0; }
  .cw-inspector { border-left: 0; border-top: 1px solid var(--cw-line); margin-top: 22px; padding-left: 0; scroll-margin-top: 110px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 30px; }
  .cw-inspector > header, .cw-inspector > .cw-facts, .cw-inspector > .cw-export, .cw-inspector > .cw-readonly { grid-column: 1; }
  .cw-inspector > .cw-issue-form { grid-column: 2; grid-row: 1 / span 3; }
  .cw-inspector > .cw-record-actions { grid-column: 2; }
  .cw-inspector > .cw-history { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .confirmed-workbench { padding: 16px 12px; }
  .cw-header { flex-direction: column; align-items: stretch; }
  .cw-layout .cw-inspector { display: block; }
  .cw-overview { gap: 12px; }
  .cw-overview > span { justify-content: space-between; width: 100%; }
  .cw-pricing .confirmed-summary-panel { grid-template-columns: 1fr; }
  .cw-table-scroll { max-height: 390px; }
}
