/* Shared Claude-workbench theme. Loaded after each page's layout stylesheet. */
:root {
  color-scheme: dark;
  --bg: #070b13;
  --ink: #d5d9e0;
  --text: #d5d9e0;
  --muted: #9aa8bb;
  --line: #252d3b;
  --white: #101824;
  --sidebar: #101725;
  --teal: #88baff;
  --teal-light: #152b44;
  --surface: #101824;
  --inset: #101927;
  --control: #202a37;
  --control-border: #3d4b60;
  --accent: #2466cd;
  --success: #40c9a4;
  --danger: #ef9b9b;
  --font: Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}
body.theme-dark {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
}
.theme-dark :is(button, input, select, textarea) { font-family: inherit; }
.theme-dark :is(input, select, textarea) { color-scheme: dark; accent-color: #5798fa; }
.theme-dark :is(input, textarea)::placeholder { color: #8898ad; opacity: 1; }
.theme-dark :is(button, a, input, select, textarea):focus-visible {
  outline: 2px solid #5798fa;
  outline-offset: 3px;
}
.theme-dark :is(.sidebar, .app-nav) {
  width: 224px;
  padding: 30px 20px;
  gap: 35px;
  background: var(--sidebar);
  border-right: 1px solid #26313e;
  color: var(--text);
  z-index: 20;
}
.theme-dark :is(.sidebar .brand, .console-brand) {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: #e0e8f2;
  text-decoration: none;
}
.theme-dark :is(.sidebar .brand, .console-brand) > span { font-size: 17px; }
.theme-dark :is(.sidebar .brand, .console-brand) small {
  display: block;
  margin-top: 7px;
  font-size: 9px;
  letter-spacing: 1px;
  color: #8193a9;
}
.theme-dark :is(.sidebar, .app-nav) nav { display: grid; gap: 9px; }
.theme-dark :is(.sidebar, .app-nav) nav :is(a, button) {
  display: block;
  margin: 0;
  padding: 12px;
  border: 0;
  border-radius: 7px;
  color: #a9b6c7;
  background: transparent;
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
  text-decoration: none;
}
.theme-dark :is(.sidebar, .app-nav) nav :is(a, button):hover { background: #182334; color: #d5e6fc; }
.theme-dark :is(.sidebar, .app-nav) nav :is(.active, .nav-active) { background: #1d2a40; color: #88baff; }
.theme-dark :is(.sidebar-note, #worker-status) { margin-top: auto; padding: 0; color: #acb7c6; font-size: 12px; line-height: 1.7; }
.theme-dark :is(.sidebar, .app-nav) form button { background: var(--control); border: 1px solid var(--control-border); border-radius: 5px; padding: 8px 14px; color: var(--text); }
.theme-dark .main { margin-left: 224px; width: calc(100% - 224px); padding: 0 24px 45px; max-width: none; }
.theme-dark .topline { height: 60px; }
.theme-dark .page-header { margin: 28px 0 24px; }
.theme-dark .page-header h1 { font-size: 27px; letter-spacing: 0; }
.theme-dark .page-header .eyebrow, .theme-dark .login-card .eyebrow { color: #7395c0; font-size: 10px; letter-spacing: 2px; }
.theme-dark :is(.muted, .private-label, .footnote, .pagination, .text-button, .delivery-help,
  .delivery-options label, .delivery-total, .delivery-quantity small, .delivery-guide li p,
  .stat > span, .stat small, .dashboard-kpi > span, .dashboard-kpi > small,
  .dashboard-panel-heading small, .activity-heading p:last-child, .activity-filters label,
  .activity-range-label, .activity-kpis span, .activity-kpis small, .activity-kpis p,
  .activity-insights, .activity-charts p, .activity-breakdown dt, .activity-breakdown p,
  .activity-table-heading span, .activity-pagination span, .stock-overview-heading p,
  .dashboard-footnote, .profit-detail dt, .profit-detail dd, .profit-detail > div > p:last-child,
  .export-profit-card p, .export-profit-card dt, .login-note, .login-footer) { color: var(--muted); }
.theme-dark :is(.button, .batch-bar button, .export-history-footer .page-button) {
  color: var(--text);
  background: var(--control);
  border-color: var(--control-border);
  border-radius: 5px;
  box-shadow: none;
}
.theme-dark .button:hover { background: #2a3749; border-color: #6385ad; }
.theme-dark .button.primary { background: var(--accent); border-color: #438bf0; color: #fff; }
.theme-dark .button.primary:hover { background: #2d76e2; }
.theme-dark .button.danger { background: #7a303d; border-color: #ae5061; color: #ffe1e5; }
.theme-dark .button.danger:hover { background: #923b4b; }
.theme-dark :is(.stat, .inventory, .delivery-card, .dashboard-kpi, .dashboard-panel,
  .profit-detail, .activity-section, .login-card) {
  background: var(--surface);
  color: var(--text);
  border-color: var(--line);
  border-radius: 10px;
  box-shadow: none;
}
.theme-dark :is(.delivery-quantity, .delivery-guide, .export-stat-card, .activity-kpis article,
  .activity-insights div, .activity-breakdown article, .activity-definitions, .profit-detail dl > div,
  .upload-zone, .info-box, .dialog-footer) { background: var(--inset); border-color: var(--line); color: var(--text); }
.theme-dark :is(.delivery-quantity input, .delivery-options input, .delivery-options select,
  .search-box input, .filter-field select, .detail-field input, textarea,
  .page-size-controls select, .page-size-controls input, .account-time-filters input,
  .activity-filters input, .export-history-filters input, .login-form input[type=password],
  .inline-notes textarea) { color: var(--text); background: var(--control); border-color: var(--control-border); }
.theme-dark :is(.delivery-guide strong, .activity-kpis strong, .activity-insights b,
  .profit-detail dd b, .rate-item b, .email-button) { color: #d9e6f5; }
.theme-dark :is(thead, .activity-table-scroll th) { background: #202a37; color: #afbdd0; }
.theme-dark :is(th, td) { border-color: var(--line); }
.theme-dark td { color: var(--text); }
.theme-dark tbody tr:hover { background: #152136; }
.theme-dark tbody tr.is-selected { background: #142844; }
.theme-dark :is(.inventory .pagination, .activity-table-scroll td:first-child) { background: var(--surface); }
.theme-dark .delivery-order-time { color: var(--muted); }
.theme-dark :is(.batch-bar, .info-box, .delivery-result) { background: #112538; border-color: #2b4869; color: #bed9fb; }
.theme-dark .delivery-result strong { color: var(--success); }
.theme-dark :is(.badge, .count) { background: #202a37; border-color: #3d4b60; color: #bcc9db; }
.theme-dark .badge.positive { background: #113329; color: #67d9b5; }
.theme-dark .badge.sold { background: #28253e; color: #c1b4f3; }
.theme-dark .badge.available { background: #162c47; color: #9dc7ff; }
.theme-dark :is(.status-switch, .notes-button, .email-meta, .country-cell, .notes-cell,
  .selection-help, .view-button, .page-size-controls, .export-history-filters label,
  .detail-field label, .state-fields p, .export-stat-card h3, .export-stat-card dt,
  .payment-totals button, .sold-breakdown button, .unsold-breakdown button, .inventory-profit) { color: var(--muted); }
.theme-dark :is(.status-switch.on, .export-profit-card h3, .export-profit-card dd) { color: #88baff; }
.theme-dark :is(.status-switch:hover, .payment-totals button:hover, .sold-breakdown button:hover,
  .unsold-breakdown button:hover, .unsold-breakdown .saleable-segment) { background: #152b44; border-color: #355270; color: #bddbff; }
.theme-dark .switch-track { background: #46566c; }
.theme-dark .status-switch.on .switch-track { background: #3778cd; }
.theme-dark :is(.scrapped-switch.on, .delete-row-button, .batch-bar .scrap-action, .inline-error,
  .state-fields label:has(#detail-scrapped), .unsold-breakdown .scrapped-segment,
  .unsold-breakdown .scrapped-segment b, .rate-item.loss b) { color: var(--danger); }
.theme-dark :is(.scrapped-switch:hover, .unsold-breakdown .scrapped-segment:hover,
  .form-error, .dashboard-error) { background: #321a22; border-color: #6e3c49; color: #f0b0b9; }
.theme-dark .scrapped-switch.on .switch-track { background: #ae5061; }
.theme-dark :is(.activity-kpis .activity-profit, .export-profit-card, .profit-detail .profit-total,
  .dashboard-kpi.positive, .dashboard-kpi.profit) { background: #102522; border-color: #254940; }
.theme-dark .dashboard-kpi.loss { background: #27191e; border-color: #4f303b; }
.theme-dark .dashboard-kpi.loss > strong { color: #ef9b9b; }
.theme-dark .dashboard-kpi.sold > strong { color: #b0bdec; }
.theme-dark :is(.dashboard-kpi.positive > strong, .dashboard-kpi.profit > strong,
  .activity-kpis .activity-profit strong, .profit-detail strong) { color: var(--success); }
.theme-dark :is(.composition-bar, .rate-track) { background: #202d3d; }
.theme-dark .composition-sold { background: #939ed9; }
.theme-dark .composition-new { background: #40c9a4; }
.theme-dark .composition-non-new { background: #5e9fd9; }
.theme-dark .composition-loss { background: #dd8498; }
.theme-dark .composition-legend a, .theme-dark .rate-item span { color: #b3c2d5; }
.theme-dark .composition-legend a:hover { background: #18283c; color: #deebfc; }
.theme-dark .rate-track > span { background: #40c9a4; }
.theme-dark .rate-item.loss .rate-track > span { background: #dd8498; }
.theme-dark .activity-chart text { fill: #a5b4c8; }
.theme-dark .activity-chart .grid-line { stroke: #293549; }
.theme-dark .activity-chart .series-import { stroke: #69a9e8; fill: #69a9e8; }
.theme-dark .activity-chart .series-export { stroke: #40c9a4; fill: #40c9a4; }
.theme-dark .activity-chart circle { stroke: var(--surface); }
.theme-dark .import-color { background: #69a9e8; }
.theme-dark .export-color { background: #40c9a4; }
.theme-dark :is(.activity-status, .activity-table-scroll .unknown-cell, .export-stat-unknown, .sk-status.missing) { color: #dcb875; }
.theme-dark dialog { background: #101927; color: var(--text); border-color: #34455e; box-shadow: 0 24px 90px #0008; }
.theme-dark dialog::backdrop { background: #02050bcc; }
.theme-dark :is(.dialog-heading, .dialog-footer, .state-fields) { border-color: var(--line); }
.theme-dark .info-box p { color: var(--muted); }
.theme-dark #toast { background: #1b314c; color: #e3efff; border: 1px solid #385578; box-shadow: 0 8px 28px #0006; }
.theme-dark #toast.error { background: #512531; }
.theme-dark.login-page { background: var(--bg); }
.theme-dark .login-card { box-shadow: 0 20px 70px #0005; }
.theme-dark .brand-mark { background: #1d2a40; color: #a9cbff; border: 1px solid #385578; }
.theme-dark .login-note { border-color: var(--line); }
.theme-dark .empty-icon { background: #152b44; border-color: #355270; }
@media (max-width: 1100px) {
  .theme-dark :is(.sidebar, .app-nav) { position: relative; inset: auto; width: 100%; display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 16px; padding: 18px 20px; border-right: 0; border-bottom: 1px solid var(--line); }
  .theme-dark .workspace { display: block; }
  .theme-dark :is(.sidebar, .app-nav) nav { display: flex; flex-wrap: wrap; flex-basis: 100%; order: 3; gap: 6px; overflow-x: auto; }
  .theme-dark :is(.sidebar, .app-nav) nav :is(a, button) { white-space: nowrap; font-size: 13px; padding: 9px 12px; }
  .theme-dark :is(.sidebar-note, #worker-status) { margin: 0 0 0 auto; }
  .theme-dark :is(.sidebar, .app-nav) form { margin: 0; }
  .theme-dark :is(.main, .app-main) { width: 100%; max-width: none; margin-left: 0; padding: 20px; }
  .theme-dark .topline { height: 36px; }
}
@media (max-width: 600px) {
  .theme-dark :is(.main, .app-main) { padding: 16px; }
  .theme-dark :is(.sidebar-note, #worker-status) { display: none; }
  .theme-dark :is(.sidebar, .app-nav) form { margin-left: auto; }
  .theme-dark .page-header { flex-wrap: wrap; gap: 16px; }
  .theme-dark .login-card { padding: 28px; }
}
.theme-dark :is(.activity-kpis p, .inventory-profit, .export-profit-card dl > div:last-child) { border-color: var(--line); }
.theme-dark .dashboard-kpi[href]:hover { border-color: #6385ad; }

/* Shared workspace controls: compact grouping without changing dark surfaces. */
.inventory-filter-groups, .export-options {display:flex;gap:16px;flex-wrap:wrap;align-items:center;margin:14px 0;}
.inventory-filter-groups label {display:flex;gap:10px;align-items:center;font-size:13px;color:#b2c6df;}
.inventory-filter-groups select {min-width:180px;}
.inventory-filter-groups > .muted {font-size:12px;line-height:20px;}
.theme-dark :is(.inventory-views, .inventory-filter-groups, .batch-controls, .workspace-time, .task-controls) :is(button, select, input:not([type=checkbox])) {
  box-sizing:border-box;height:38px;min-height:38px;padding-block:8px;border-radius:7px;font-size:14px;line-height:20px;
}
.theme-dark :is(.inventory-filter-groups, .batch-controls, .workspace-time, .task-controls, .advanced) select {
  background-color:#111c2a;border-color:#334359;color:#d0dcec;padding:8px 36px 8px 12px;
}
.more-actions {position:relative;flex-shrink:0;}
.more-actions summary {cursor:pointer;padding:9px 14px;border:1px solid #354153;border-radius:8px;color:#d4dbe5;}
.more-actions[open]>div {position:absolute;right:0;top:42px;z-index:15;display:grid;gap:8px;min-width:230px;padding:12px;background:#111821;border:1px solid #354153;border-radius:10px;box-shadow:0 10px 30px #0008;}
#inventory-export-dialog {width:min(560px,90vw);}
#inventory-export-dialog>label {display:grid;grid-template-columns:90px 1fr;align-items:center;gap:12px;margin:14px 0;}
#inventory-export-dialog select {width:100%;}
#inventory-export-dialog .export-options {border:1px solid #354153;border-radius:8px;padding:12px;align-items:flex-start;flex-direction:column;}
.export-options label {display:flex;gap:8px;align-items:center;}
.export-options input[type=checkbox] {width:auto;}
#inventory-export-summary {padding:12px;background:#172131;border-radius:8px;}
.legacy-reports {margin-top:24px;border-top:1px solid #354153;padding:18px 0;}
.legacy-reports>summary {cursor:pointer;color:#9ea9ba;}
#operations-days td {padding:12px;}
#operations-kpis {margin:16px 0;}
#order-filters {display:flex;gap:12px;flex-wrap:wrap;align-items:end;margin:18px 0;}
#order-filters label {display:grid;gap:6px;}
@media(max-width:760px){.inventory-filter-groups label{width:100%;justify-content:space-between;}.inventory-filter-groups select{max-width:70%;}.task-controls{flex-wrap:wrap;}#operations-kpis{grid-template-columns:repeat(2,minmax(0,1fr));}}

#inventory-export-dialog .export-options label {flex-direction:row;margin:0;gap:10px;line-height:24px;}
#inventory-export-dialog .export-options input {margin:0;flex:0 0 auto;height:16px;width:16px;}

/* Give every select the same control shell, including newly added filters. */
.theme-dark select:not([multiple]) {
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  min-height: 38px;
  padding: 8px 36px 8px 12px;
  border: 1px solid #334359;
  border-radius: 7px;
  background-color: #111c2a;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23a7b8ce' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  color: #d0dcec;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}
.theme-dark select:hover:not(:disabled) { border-color: #6385ad; }
.theme-dark select:disabled { opacity: .45; cursor: not-allowed; }
.theme-dark select option { background: #111c2a; color: #d0dcec; }

/* Account filters: shortcuts first, secondary conditions on demand. */
.theme-dark .workspace-filters {border:1px solid #273447;border-radius:10px;background:#0d1521;padding:16px;margin:12px 0 18px;}
.theme-dark .filter-type-row,.theme-dark .filter-segments,.theme-dark .quick-filters,.theme-dark .filter-search-row,.theme-dark .applied-filter-row {display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.theme-dark .filter-caption {font-size:12px;color:#9aaac0;margin-right:6px;}
.theme-dark .workspace-filters :is(button,input,select,summary) {font-size:13px;line-height:20px;box-sizing:border-box;}
.theme-dark .workspace-filters button {min-height:36px;padding:7px 12px;border-radius:7px;}
.theme-dark .filter-segments {gap:3px;background:#080e18;padding:3px;border:1px solid #273447;border-radius:8px;}
.theme-dark .filter-segments button {min-height:30px;padding:4px 13px;border:1px solid transparent;background:transparent;}
.theme-dark :is(.filter-segments,.quick-filters) button.active {background:#213c60;border-color:#6197d5;color:#e4efff;}
.theme-dark .quick-filters {margin:12px 0;}
.theme-dark .quick-filters button {background:#111c2a;}
.theme-dark .filter-search-row {margin-top:14px;align-items:stretch;}
.theme-dark .filter-search-row .search {position:static;inset:auto;width:auto;margin:0;display:flex;gap:8px;align-items:center;flex:1 1 250px;min-width:200px;max-width:none;height:38px;border:1px solid #334359;border-radius:7px;background:#080f1b;padding:0 12px;}
.theme-dark .filter-search-row .search svg {width:16px;height:16px;}
.theme-dark .filter-search-row .search input {border:0;background:transparent;outline:0;box-shadow:none;padding:0;min-width:0;width:100%;height:36px;color:#d0dcec;}
.theme-dark .filter-picker {position:relative;min-width:140px;}
.theme-dark .filter-picker > summary {display:block;cursor:pointer;list-style:none;background:#111c2a;border:1px solid #334359;border-radius:7px;height:38px;padding:8px 30px 8px 12px;max-width:290px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}
.theme-dark .filter-picker > summary::after {content:'⌄';position:absolute;right:12px;top:8px;color:#9bb2ce;}
.theme-dark .filter-picker > summary::-webkit-details-marker {display:none;}
.theme-dark .filter-picker[open] > summary {border-color:#6197d5;}
.theme-dark .filter-popover {position:absolute;top:44px;right:0;z-index:40;width:360px;max-width:calc(100vw - 40px);padding:16px;background:#101b2a;border:1px solid #405572;border-radius:10px;box-shadow:0 14px 38px #0009;}
.theme-dark .filter-popover label {display:flex;flex-direction:column;align-items:stretch;gap:6px;font-size:12px;color:#afc0d6;margin-bottom:12px;}
.theme-dark .filter-popover :is(input,select) {width:100%;min-width:0;height:38px;background-color:#0a1220;color:#d0dcec;border:1px solid #334359;border-radius:7px;padding:8px 10px;color-scheme:dark;}
.theme-dark .date-shortcuts {display:flex;flex-wrap:wrap;gap:5px;margin:10px 0 14px;}
.theme-dark .date-shortcuts button {padding:5px 9px;min-height:30px;}
.theme-dark #date-error {font-size:12px;color:#ff9d9d;}
.theme-dark #date-error:empty {display:none;}
.theme-dark #batch-options {display:flex;flex-direction:column;gap:4px;max-height:290px;overflow:auto;}
.theme-dark #batch-options button {text-align:left;white-space:normal;overflow-wrap:anywhere;}
.theme-dark #batch-options button[aria-pressed=true] {border-color:#6197d5;background:#213c60;}
.theme-dark .workspace-filters .advanced {margin:14px 0 0;padding:14px 0 0;border:0;border-top:1px solid #273447;background:transparent;}
.theme-dark .workspace-filters .filter-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;}
.theme-dark .workspace-filters .filter-grid label {display:flex;flex-direction:column;gap:7px;font-size:12px;color:#afc0d6;}
.theme-dark .workspace-filters .filter-grid select {width:100%;min-width:0;}
.theme-dark .applied-filter-row {margin-top:14px;padding-top:12px;border-top:1px solid #223045;font-size:12px;}
.theme-dark #applied-filters {display:flex;flex-wrap:wrap;gap:6px;align-items:center;flex:1;min-width:0;}
.theme-dark .workspace-filters .filter-chip {font-size:12px;line-height:18px;min-height:28px;padding:4px 8px;background:#19293f;border:1px solid #334d6d;max-width:360px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.theme-dark #reset-filters {min-height:28px;padding:4px 6px;font-size:12px;border:0;background:transparent;color:#9dc0eb;}
.theme-dark #filter-result-count {color:#a9bdd5;white-space:nowrap;}
.theme-dark #filter-result-count[data-ready=false] {color:#e7ba72;}
.theme-dark .job-view-banner {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;background:#14273f;border:1px solid #355579;border-radius:8px;margin:12px 0;}
.theme-dark .filter-updating {opacity:.45;pointer-events:none;}
.theme-dark .core .task-controls {display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:14px 0 8px;margin:8px 0 0;border-top:1px solid #263246;}
.theme-dark #scope-note {font-size:12px;flex-basis:100%;}
.theme-dark #detection-source-note {font-size:12px;margin:0 0 14px;}
.theme-dark .composition > span {font-size:12px;margin-right:10px;}
.theme-dark .workspace-filters [hidden],.theme-dark #job-view-banner[hidden],.theme-dark #view-mode[hidden] {display:none!important;}
@media(max-width:760px){
  .theme-dark .workspace-filters {padding:12px;}
  .theme-dark .filter-search-row .search {flex-basis:100%;}
  .theme-dark .filter-picker {flex:1;min-width:0;}
  .theme-dark .filter-picker > summary {max-width:none;}
  .theme-dark .filter-popover {position:fixed;top:18vh;left:16px;right:16px;width:auto;max-width:none;max-height:75vh;overflow:auto;}
  .theme-dark .filter-chip {max-width:240px;}
  .theme-dark .applied-filter-row {align-items:flex-start;}
  .theme-dark .job-view-banner {flex-wrap:wrap;}
}

/* Batch menu keeps each full record at its natural height while the list scrolls. */
.theme-dark .filter-type-row #batch-picker {flex:0 0 auto;margin-left:12px;}
.theme-dark #batch-picker .batch-popover {position:fixed;right:auto;bottom:auto;box-sizing:border-box;display:flex;flex-direction:column;gap:12px;overflow:hidden;max-width:calc(100vw - 32px);padding:16px;}
.theme-dark .batch-popover > label {flex:0 0 auto;margin:0;}
.theme-dark #batch-options {flex:1 1 auto;min-height:0;max-height:none;gap:8px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;padding:3px 5px 3px 3px;scrollbar-gutter:stable;}
.theme-dark #batch-options button {flex:0 0 auto;display:flex;flex-direction:column;gap:6px;width:100%;height:auto;min-height:38px;padding:10px 12px;white-space:normal;line-height:20px;overflow:visible;}
.theme-dark .batch-option-heading {display:flex;align-items:baseline;justify-content:space-between;gap:12px;width:100%;}
.theme-dark .batch-option-heading strong {color:#d9e8fb;font-size:13px;}
.theme-dark .batch-option-count {font-size:12px;color:#9fb5d0;white-space:nowrap;}
.theme-dark .batch-option-name {font-size:13px;line-height:21px;overflow-wrap:anywhere;text-align:left;}
.theme-dark .batch-option-date {font-size:12px;line-height:19px;color:#94a9c3;overflow-wrap:anywhere;}
@media(max-width:520px){.theme-dark .filter-type-row #batch-picker{margin-left:0;}}

/* List tools no longer inherit coordinates from the former fixed toolbar. */
.theme-dark.claude-console .core .toolbar {position:relative;inset:auto;display:flex;align-items:center;flex-wrap:wrap;gap:8px;width:100%;height:auto;min-height:38px;margin-top:18px;}
.theme-dark.claude-console .toolbar .help {position:static;inset:auto;margin:0;flex:0 0 28px;height:38px;}
.theme-dark.claude-console .toolbar .sort {position:static;inset:auto;flex:0 0 auto;margin-left:auto;width:150px;height:38px;font-size:13px;font-weight:400;}
.theme-dark.claude-console .toolbar .more-actions {position:relative;flex:0 0 auto;}
.theme-dark.claude-console .toolbar .more-actions > summary {height:38px;box-sizing:border-box;padding:8px 12px;font-size:13px;line-height:20px;}
.theme-dark.claude-console .toolbar .more-actions[open] > div {left:auto;right:0;top:calc(100% + 8px);z-index:40;box-sizing:border-box;width:280px;min-width:0;max-width:calc(100vw - 32px);display:grid;grid-template-columns:minmax(0,1fr);gap:6px;padding:8px;background:#101b2a;}
.theme-dark.claude-console .toolbar .more-actions > div > button {position:static;inset:auto;display:flex;align-items:center;justify-content:flex-start;gap:8px;width:100%;height:auto;min-height:38px;margin:0;padding:9px 12px;box-sizing:border-box;font-size:13px;line-height:20px;font-weight:400;text-align:left;white-space:normal;overflow-wrap:anywhere;border:1px solid #334359;border-radius:6px;background:#152235;color:#d0dcec;}
.theme-dark.claude-console .toolbar .more-actions > div > button:not(:disabled):hover {background:#213c60;border-color:#6197d5;}
