.topbar {flex-wrap:wrap;}
.workspace-clock {display:grid;grid-template-columns:auto auto;align-items:center;column-gap:18px;row-gap:3px;flex:1 0 100%;padding:12px 16px;border:1px solid #b99b57;border-radius:12px;background:var(--panel);color:var(--ink);}
.workspace-clock-label {font-size:14px;font-weight:650;color:var(--muted);}
.workspace-clock time {grid-column:2;grid-row:1 / 3;text-align:right;font-size:26px;font-weight:750;line-height:1.3;font-variant-numeric:tabular-nums;white-space:nowrap;}
.workspace-clock-date {font-size:14px;color:var(--muted);}
.work-card>.caller-local-clock {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 12px;margin:0 16px 12px;padding:9px 11px;border:1px solid var(--line);border-radius:9px;background:var(--soft);color:var(--ink);}
.caller-clock-label {font-size:13px;font-weight:650;color:var(--muted);}
.caller-clock-values {display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:6px 14px;min-width:0;font-size:13px;color:var(--muted);}
.caller-clock-option {display:flex;align-items:baseline;gap:8px;}
.caller-clock-option time {font-size:16px;font-weight:750;font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--ink);}
.caller-clock-option small,.caller-clock-ambiguity {font-size:12px;color:var(--muted);}
.caller-clock-ambiguity {flex-basis:100%;text-align:right;}
@media(max-width:480px) {.work-card>.caller-local-clock {gap:5px;padding:8px 10px;}.caller-clock-option time {font-size:15px;}}
@media(max-width:480px) {.workspace-clock {padding:10px 12px;column-gap:8px;}.workspace-clock time {font-size:20px;}.workspace-clock-label,.workspace-clock-date {font-size:12px;}}
#completedView {font:16px/1.6 "Segoe UI",Arial,sans-serif;}
#completedView .section-head h2 {font-size:26px;margin:0;}
#completedView .section-head p {font-size:15px;line-height:1.6;}
#completedView .completed-head-actions {display:flex;align-items:center;flex-wrap:wrap;gap:10px;}
#completedView .completed-count {font-size:15px;padding:7px 12px;}
#completedView .filters {gap:12px;}
#completedView .control,#completedView .btn {min-height:44px;font-size:16px;}
#completedView .filter-field label {font-size:14px;}
#completedView .completed-audit-controls {display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:18px;}
#completedView .completed-audit-controls label {font-size:15px;font-weight:650;}
#completedView .completed-audit-controls .control {width:auto;max-width:100%;}
#completedView .completed-audit-metrics {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;}
#completedView .audit-metric {display:flex;flex-direction:column;justify-content:space-between;gap:10px;min-height:116px;padding:17px;border:1px solid var(--line);border-radius:12px;background:var(--soft);}
#completedView .audit-metric span {font-size:14px;color:var(--muted);line-height:1.5;}
#completedView .audit-metric strong {font-size:30px;line-height:1.2;font-variant-numeric:tabular-nums;}
#completedView .audit-metric.unique {border-bottom:3px solid #31916d;}
#completedView .audit-metric.duplicate {border-bottom:3px solid #d36b74;}
#completedView .audit-metric.incomplete {border-bottom:3px solid #bc8b3a;}
#completedView .completed-audit-note {margin:16px 0;color:var(--muted);font-size:14px;line-height:1.7;}
#completedView .outcome-period-summary {padding:16px;margin:0 0 24px;}
#completedView .outcome-period-heading {margin-bottom:14px;}
#completedView .outcome-period-heading b {font-size:16px;}
#completedView .outcome-period-heading span {font-size:14px;}
#completedView .completed-employee-table {overflow:auto;}
#completedView .completed-employee-table table {min-width:580px;width:100%;}
#completedView .completed-employee-table th {position:static;white-space:normal;font-size:12px;padding:12px;}
#completedView .completed-employee-table td {font-size:16px;padding:12px;}
#completedItems.queue-grid {grid-template-columns:repeat(auto-fit,minmax(min(100%,440px),1fr));gap:18px;align-items:start;}
#completedItems .done-card {border:1px solid #b4cdbf;background:var(--panel);border-radius:13px;overflow:hidden;}
#completedItems .work-card-header {align-items:flex-start;padding:16px;gap:12px;}
#completedItems .identity {min-width:0;align-items:flex-start;gap:10px;}
#completedItems .identity>div {min-width:0;}
#completedItems .identity b {display:block;margin:6px 0;font-size:21px;line-height:1.4;max-width:none;white-space:normal;overflow:visible;overflow-wrap:anywhere;}
#completedItems .work-owner-meta,#completedItems .work-source-meta {display:block!important;width:fit-content;max-width:100%;font-size:14px!important;line-height:1.6!important;}
#completedItems .work-time-meta {display:block;font-size:14px;color:var(--muted);margin-top:7px;line-height:1.6;}
#completedItems .pill.done {font-size:13px;padding:6px 10px;}
#completedItems .work-card-body {grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:0 16px 16px;}
#completedItems .work-card-body .detail {padding:10px;border:1px solid var(--line);border-radius:9px;background:var(--soft);min-width:0;}
#completedItems .detail label {font-size:13px;line-height:1.5;}
#completedItems .detail span {font-size:16px;line-height:1.6;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;}
#completedItems .completion-identity-label {margin:0 16px 16px;padding:10px 12px;border:1px solid var(--line);border-radius:9px;font-size:14px;font-weight:650;line-height:1.6;overflow-wrap:anywhere;}
#completedItems .completion-identity-label.unique {color:#175b43;background:#eaf8f2;border-color:#9dceb9;}
#completedItems .completion-identity-label.duplicate {color:#922536;background:#fff0f2;border-color:#e6adb6;}
#completedItems .completion-identity-label.incomplete {color:#7b541d;background:#fff7e8;border-color:#dec298;}
#completedItems .completed-notes {font-size:16px;margin:0 16px 16px;line-height:1.6;}
#completedItems .work-history {margin:0 16px 16px;padding:12px 0 0;}
#completedItems .work-history summary,#completedItems .history-entry,#completedItems .history-detail {font-size:15px;line-height:1.6;}
#completedItems .completed-avatar {display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border:1px solid #b4cdbf;border-radius:10px;background:var(--soft);color:var(--ink);font-size:18px;font-weight:750;}
:root[data-theme="dark"] #completedItems .completion-identity-label.unique {color:#b2efd5;background:#17392f;border-color:#3d745f;}
:root[data-theme="dark"] #completedItems .completion-identity-label.duplicate {color:#ffbbc6;background:#3b202a;border-color:#8a4958;}
:root[data-theme="dark"] #completedItems .completion-identity-label.incomplete {color:#f2d09c;background:#362d20;border-color:#8b744f;}
@media(max-width:900px) {#completedView .completed-audit-metrics {grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:480px) {
  #completedView>.panel {padding:16px;}
  #completedView .audit-metric {padding:12px;min-height:110px;}
  #completedView .completed-audit-controls .control {width:100%;}
  #completedView .outcome-period-heading {align-items:flex-start;flex-direction:column;gap:6px;}
  #completedItems .work-card-header {flex-wrap:wrap;}
  #completedItems .work-card-body {grid-template-columns:minmax(0,1fr);}
}
