.tc-shell{--tc-ink:#2a3038;--tc-soft:#f3f5f8;--tc-line:#e3e6eb;color:var(--tc-ink)}
.tc-intro{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin:0 0 18px}
.tc-intro p{font-size:11px;line-height:1.7;color:#858d99;max-width:760px}
.tc-connection{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--tc-line);background:#fafbfc;border-radius:6px;padding:7px 10px;color:#697584;font-size:10px;white-space:nowrap}
.tc-connection i{width:7px;height:7px;border-radius:50%;background:#aab1ba}
.tc-filterbar{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin:0 0 17px}
.tc-filterbar label{display:grid;gap:5px;color:#7f8997;font-size:9px;font-weight:650;letter-spacing:.25px}
.tc-filterbar input,.tc-filterbar select,.tc-inline-select{border:1px solid #dfe3e9;border-radius:6px;background:#fff;color:#536174;font-size:11px;padding:8px 10px;min-width:135px}
.tc-filterbar input[type=date]{min-width:140px}
.tc-stat-band{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin-bottom:17px}
.tc-stat{background:#fff;border:1px solid var(--tc-line);border-radius:9px;padding:14px 16px;min-width:0}
.tc-stat small{display:block;color:#87909c;font-size:9px;letter-spacing:.5px;text-transform:uppercase}
.tc-stat strong{display:block;font-size:22px;line-height:1.25;margin-top:7px;font-variant-numeric:tabular-nums;letter-spacing:-.5px}
.tc-stat span{display:block;font-size:9px;color:#9aa2ad;margin-top:4px;line-height:1.5}
.tc-stat.attention strong{color:#8a6b31}
.tc-panel-head{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:17px 20px;border-bottom:1px solid #edf0f3}
.tc-panel-head p{font-size:10px;color:#929ba6;margin-top:4px}
.tc-badge{display:inline-flex;padding:3px 7px;border-radius:4px;background:#f0f2f5;color:#727f8e;font-size:9px;white-space:nowrap}
.tc-badge.good{background:#eaf3ef;color:#527f6c}
.tc-badge.warn{background:#fbf2df;color:#9a7533}
.tc-badge.pending{background:#f1f2f3;color:#777f89}
.tc-daily{padding:15px 20px 19px;display:grid;grid-template-columns:repeat(7,minmax(54px,1fr));gap:8px}
.tc-day{border-radius:6px;background:#f6f7f9;padding:9px 8px;text-align:center}
.tc-day span{display:block;color:#9099a5;font-size:9px}
.tc-day strong{display:block;margin-top:4px;font-size:11px;font-variant-numeric:tabular-nums;color:#566578}
.tc-empty{padding:38px 22px;text-align:center}
.tc-empty-mark{width:36px;height:36px;margin:0 auto 10px;border-radius:9px;background:#eef1f6;color:#687a96;display:grid;place-items:center;font-size:14px;font-weight:700}
.tc-empty h3{font-size:13px;color:#566477;margin-bottom:6px}
.tc-empty p{max-width:450px;margin:auto;color:#8c96a2;font-size:10px;line-height:1.7}
.tc-disclosure{display:flex;align-items:center;gap:8px;padding:12px 18px;background:#fafbfc;border-top:1px solid #edf0f3;color:#828c99;font-size:9px;line-height:1.6}
.tc-disclosure strong{color:#687587}
.tc-table td{padding-top:12px;padding-bottom:12px}
.tc-warning{color:#96743a}
.tc-preview-rows{max-height:440px;overflow:auto;margin:14px 18px 18px;border:1px solid #e7e9ed;border-radius:7px}
.tc-preview-rows th{position:sticky;top:0;z-index:1}
.tc-change-row{display:grid;grid-template-columns:minmax(74px,.65fr) minmax(170px,1.35fr);gap:7px;min-width:245px;margin:0 0 5px;font-size:9px;line-height:1.45}
.tc-change-row strong{color:#586678;overflow-wrap:anywhere}
.tc-change-row span{color:#778391;overflow-wrap:anywhere}
.tc-change-row i{font-style:normal;color:#a28345;padding:0 3px}
.tc-entry-detail{padding:13px 15px;border:1px solid #e8ebef;border-radius:6px;background:#fafbfd}
.tc-entry-detail>strong{display:block;margin-bottom:11px;color:#586678;font-size:10px}
.tc-detail-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 14px}
.tc-detail-grid>div{min-width:0}
.tc-detail-grid b{display:block;color:#929ba6;font-size:8px;font-weight:650;letter-spacing:.35px;text-transform:uppercase}
.tc-detail-grid span{display:block;margin-top:3px;color:#626f7f;font-size:9px;line-height:1.55;overflow-wrap:anywhere}
.tc-project-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.tc-project-link{width:100%;border:1px solid var(--tc-line);border-radius:8px;background:#fff;padding:13px 15px;text-align:left;display:flex;justify-content:space-between;align-items:center;gap:12px;color:#455365}
.tc-project-link:hover{border-color:#aeb8c7;background:#fcfcfd}
.tc-project-link strong{display:block;font-size:11px}
.tc-project-link span{display:block;color:#929ba6;font-size:9px;margin-top:3px}
.tc-expand{border:0;background:none;color:#28397D;font-size:10px;font-weight:650;padding:4px}
.tc-week-list{display:flex;gap:7px;flex-wrap:wrap;padding:0 20px 18px}
.tc-week-pill{border:1px solid #e6e9ed;border-radius:5px;padding:6px 9px;color:#738091;font-size:9px}
.tc-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.tc-upload-box{padding:18px;background:#f8f9fb;border:1px dashed #cbd2dc;border-radius:8px;margin:15px 18px}
.tc-upload-box h3{font-size:12px;margin-bottom:5px;color:#536174}
.tc-upload-box p{font-size:10px;color:#8c96a2;line-height:1.65;margin-bottom:12px}
.tc-upload-box input{display:block;max-width:100%;font-size:10px;margin:10px 0}
.tc-preview{margin:0 18px 18px;border:1px solid #e7e9ed;border-radius:7px;padding:13px 15px;font-size:10px;color:#737f8d;line-height:1.7}
.tc-mapping{padding:14px 18px;border-bottom:1px solid #edf0f3;display:grid;grid-template-columns:minmax(140px,1fr) minmax(140px,1fr) minmax(160px,1.2fr) auto;gap:10px;align-items:center}
.tc-mapping:last-child{border-bottom:0}
.tc-mapping strong{display:block;font-size:10px;color:#586678}
.tc-mapping small{display:block;font-size:9px;color:#99a2ae;margin-top:3px}
.tc-mapping .tc-inline-select{width:100%;min-width:0}
.tc-mapping-status{grid-column:1/-1;color:#9a7533;font-size:9px}
.tc-new-mappings{margin:0 18px 18px;border:1px solid #e7e9ed;border-radius:7px;background:#fbfcfd}
.tc-new-mappings .tc-panel-head{padding:12px 15px}
.tc-new-mapping-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px}
.tc-new-mapping{display:grid;align-content:start;gap:9px;padding:13px;border:1px solid #e8ebef;border-radius:6px;background:#fff}
.tc-new-mapping strong{font-size:10px;color:#586678}
.tc-new-mapping input,.tc-new-mapping select{width:100%;min-width:0;border:1px solid #dfe3e9;border-radius:6px;background:#fff;color:#536174;font:inherit;font-size:11px;padding:8px 10px}
.tc-new-mapping .btn{justify-self:start}
.tc-project-open{font-family:inherit;background:#fff;cursor:pointer}
.tc-project-open:hover{border-color:#aeb8c7;background:#fcfcfd}
.tc-skeleton{height:46px;margin:12px 18px;border-radius:6px;background:#f1f3f6;animation:tc-shimmer 1.3s ease-in-out infinite}
@keyframes tc-shimmer{50%{opacity:.48}}
.tc-sync-notice{display:flex;align-items:center;gap:10px;margin:0 0 14px;padding:10px 13px;border:1px solid #e9d9b7;border-radius:7px;background:#fcf8ef;color:#786338;font-size:10px;line-height:1.5}
.tc-sync-notice strong{color:#725b2c;white-space:nowrap}
.tc-sync-notice span{flex:1}
.tc-sync-notice.error{border-color:#e5c5bf;background:#fbf3f1;color:#87574e}
.tc-sync-notice.error strong{color:#7c453a}
.tc-sync-panel{margin-bottom:16px}
.tc-sync-panel .tc-panel-head{align-items:flex-start}
.tc-sync-content{padding:15px 18px 18px}
.tc-sync-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.tc-sync-summary>div{min-width:0;padding:10px 11px;border:1px solid #e8ebef;border-radius:6px;background:#fafbfd}
.tc-sync-summary small{display:block;color:#8993a0;font-size:8px;letter-spacing:.4px;text-transform:uppercase}
.tc-sync-summary strong{display:block;margin-top:5px;color:#566477;font-size:10px;line-height:1.5;overflow-wrap:anywhere}
.tc-sync-reason{margin:12px 0;color:#8b6b36;font-size:10px;line-height:1.6}
.tc-sync-actions{display:flex;gap:8px;flex-wrap:wrap}
.tc-sync-actions button:disabled,.tc-reconcile-fields button:disabled{opacity:.55;cursor:not-allowed}
.tc-reconcile,.tc-sync-settings{margin-top:14px;padding-top:13px;border-top:1px solid #edf0f3}
.tc-reconcile>strong,.tc-sync-settings>strong,.tc-sync-runs>strong{display:block;color:#5d6a7a;font-size:10px}
.tc-reconcile>span,.tc-sync-settings>span{display:block;margin-top:4px;color:#929ba6;font-size:9px;line-height:1.5}
.tc-reconcile-fields{display:flex;align-items:end;gap:9px;flex-wrap:wrap;margin-top:10px}
.tc-reconcile-fields label{display:grid;gap:5px;color:#7f8997;font-size:9px;font-weight:650}
.tc-reconcile-fields input[type=date],.tc-reconcile-fields input[type=time]{min-width:135px;border:1px solid #dfe3e9;border-radius:6px;background:#fff;color:#536174;font-size:11px;padding:8px 10px}
.tc-reconcile-fields .tc-check-label{display:flex;align-items:center;gap:7px;min-height:32px}
.tc-sync-inline-error{margin:0 18px 14px;padding:9px 12px;border-radius:6px;background:#fbf2df;color:#8b6731;font-size:10px;line-height:1.5}
.tc-sync-runs{padding:13px 18px 17px;border-top:1px solid #edf0f3}
.tc-sync-runs .table-wrap{margin-top:9px;max-height:240px;overflow:auto}
.tc-sync-runs .tc-table td{font-size:9px;overflow-wrap:anywhere}
@media(max-width:760px){.tc-intro{display:block}.tc-connection{margin-top:12px}.tc-stat-band{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.tc-stat{padding:12px}.tc-stat strong{font-size:19px}.tc-daily{grid-template-columns:repeat(4,minmax(0,1fr));padding:12px}.tc-project-list{grid-template-columns:1fr}.tc-mapping{grid-template-columns:1fr 1fr}.tc-mapping>button{grid-column:1/-1}.tc-new-mapping-grid{grid-template-columns:1fr;padding:10px}.tc-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tc-filterbar{display:grid;grid-template-columns:1fr 1fr}.tc-filterbar label,.tc-filterbar input,.tc-filterbar select{min-width:0;width:100%}.tc-filterbar .btn{grid-column:1/-1}}
@media(max-width:760px){.tc-sync-notice{align-items:flex-start;flex-wrap:wrap}.tc-sync-notice strong{white-space:normal}.tc-sync-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.tc-reconcile-fields{display:grid;grid-template-columns:1fr 1fr}.tc-reconcile-fields label,.tc-reconcile-fields input{min-width:0;width:100%}.tc-reconcile-fields button{grid-column:1/-1}.tc-sync-panel .tc-panel-head{display:block}.tc-sync-panel .tc-panel-head>.tc-badge{margin:8px 18px 0}}
.tc-initial-preview{margin-top:13px;padding:13px;border:1px solid #e4e8ed;border-radius:7px;background:#fbfcfd}
.tc-initial-preview-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.tc-initial-preview-head strong{display:block;color:#536174;font-size:11px}
.tc-initial-preview-head span:not(.tc-badge){display:block;margin-top:4px;color:#8993a0;font-size:9px;line-height:1.5}
.tc-initial-preview-head b{color:#657386;font-weight:650}
.tc-initial-counts{display:flex;gap:7px;flex-wrap:wrap;margin:11px 0}
.tc-initial-counts span{padding:5px 8px;border:1px solid #e6e9ed;border-radius:5px;background:#fff;color:#697686;font-size:9px}
.tc-initial-warnings{display:grid;gap:5px;margin:10px 0;padding:9px 10px;border-radius:5px;background:#fcf7eb;color:#8c713e;font-size:9px;line-height:1.5}
.tc-initial-warnings strong{color:#785f32}
.tc-initial-preview .table-wrap{max-height:330px;overflow:auto;border:1px solid #e7e9ed;border-radius:6px;background:#fff}
.tc-initial-preview .tc-table th{position:sticky;top:0;z-index:1}
.tc-initial-preview .tc-table td{font-size:9px;overflow-wrap:anywhere}
.tc-initial-preview>.tc-sync-actions{margin-top:12px}
.tc-initial-disclaimer{margin-top:9px;color:#929ba6;font-size:9px;line-height:1.5}
@media(max-width:760px){.tc-initial-preview{padding:10px}.tc-initial-preview-head{flex-direction:column}.tc-initial-preview .table-wrap{margin-left:-2px;margin-right:-2px}}
.tc-source-name{display:block;margin-bottom:5px;color:#536174;font-size:9px;font-weight:650}
.tc-source-ids{display:grid;gap:5px;min-width:210px}
.tc-source-id{display:flex;align-items:center;gap:5px;color:#778391;font-size:8px;line-height:1.4}
.tc-source-id b{color:#657386;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-weight:600}
.tc-source-id code{overflow-wrap:anywhere;color:#5e6c7d;font-size:8px}
.tc-copy-id{flex:0 0 auto;border:1px solid #e1e5ea;border-radius:4px;background:#fff;padding:2px 5px;color:#667486;font:inherit;font-size:8px;cursor:pointer}
.tc-copy-id:hover{border-color:#aeb8c7;background:#f8f9fb}
.tc-worker-note{margin:0 18px 15px;padding:10px 12px;border-left:2px solid #c7d0dd;background:#f8f9fb;color:#7a8795;font-size:9px;line-height:1.6}
@media(max-width:760px){.tc-source-ids{min-width:190px}.tc-worker-note{margin-left:12px;margin-right:12px}}
.project-labor-total{min-width:125px}
.tc-row-total{display:block;color:#536174;font-size:10px;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}
.tc-row-total.pending,.tc-row-total.unavailable,.tc-row-total.not-synced{color:#8993a0;font-weight:600}
.tc-row-total-note{display:block;max-width:190px;margin-top:4px;color:#9a7533;font-size:8px;line-height:1.45}
.tc-labor-summary{display:grid;grid-template-columns:minmax(220px,1.1fr) minmax(210px,1fr);gap:12px;margin:0 0 16px;padding:16px 18px;border:1px solid #dfe5e8;border-radius:9px;background:#f8faf9}
.tc-labor-primary,.tc-labor-secondary{display:grid;align-content:start;gap:5px}
.tc-labor-primary>span,.tc-labor-secondary>span{color:#78858a;font-size:9px;font-weight:650;letter-spacing:.35px;text-transform:uppercase}
.tc-labor-primary strong{color:#425f55;font-size:26px;line-height:1.2;font-variant-numeric:tabular-nums}
.tc-labor-secondary strong{color:#526d63;font-size:18px;line-height:1.3;font-variant-numeric:tabular-nums}
.tc-labor-primary small,.tc-labor-secondary small{color:#909b9d;font-size:9px;line-height:1.5}
.tc-labor-caveat{grid-column:1/-1;padding:8px 10px;border-left:2px solid #c9ad70;background:#fbf7ec;color:#846d41;font-size:9px;line-height:1.55}
.tc-labor-exclusions{grid-column:1/-1;display:flex;gap:7px;flex-wrap:wrap}
.tc-labor-exclusions span{padding:5px 8px;border:1px solid #e3e8e7;border-radius:5px;background:#fff;color:#78858a;font-size:8px}
.tc-employee-row{grid-template-columns:minmax(150px,1fr) minmax(200px,1.5fr) auto}
.tc-employee-totals{display:grid;gap:4px;color:#839096;font-size:9px}
.tc-employee-totals b{margin-left:5px;color:#536174;font-variant-numeric:tabular-nums}
.tc-employee-detail{grid-column:1/-1;width:100%}
.tc-project-work-item{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:5px 0;color:#78858a;font-size:9px}
@media(max-width:760px){.tc-labor-summary{grid-template-columns:1fr;padding:13px}.tc-labor-caveat,.tc-labor-exclusions{grid-column:1}.tc-employee-row{grid-template-columns:1fr}.tc-employee-totals{grid-column:1}.tc-employee-row>button{justify-self:start}.project-labor-total{min-width:0}.tc-row-total-note{min-width:140px}}
.tc-reconciliation{margin:0 0 14px;padding:12px 15px;border:1px solid #dfe7e3;border-radius:7px;background:#f7faf8}
.tc-reconciliation-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.tc-reconciliation-head>strong{color:#536b60;font-size:10px}
.tc-reconciliation-period{margin-top:5px;color:#879391;font-size:9px}
.tc-reconciliation-label{display:inline-block;margin-top:7px;padding:4px 7px;border-radius:4px;background:#edf2ef;color:#637a6d;font-size:9px}
.tc-reconciliation-label.partial{background:#fbf2df;color:#94743c}
.tc-reconciliation-metrics{display:grid;grid-template-columns:repeat(4,minmax(105px,1fr));gap:8px;margin-top:9px}
.tc-reconciliation-metrics>div{padding:8px 9px;border:1px solid #e6ece8;border-radius:5px;background:#fff}
.tc-reconciliation-metrics small{display:block;color:#929d98;font-size:8px;text-transform:uppercase;letter-spacing:.35px}
.tc-reconciliation-metrics strong{display:block;margin-top:4px;color:#536b60;font-size:13px;font-variant-numeric:tabular-nums}
.tc-reconciliation-metrics .excluded{border-color:#eee2c8;background:#fdfaf3}
.tc-reconciliation-metrics .excluded strong{color:#94743c}
@media(max-width:760px){.tc-reconciliation{padding:10px}.tc-reconciliation-metrics{grid-template-columns:repeat(2,minmax(100px,1fr))}.tc-reconciliation-head{align-items:flex-start;flex-direction:column}}
.tc-direct-setup,.tc-history{margin-top:15px;padding:14px 15px;border:1px solid #e3e7ec;border-radius:7px;background:#fafbfd}
.tc-direct-head,.tc-history-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.tc-direct-head>div,.tc-history-head>div{display:grid;gap:4px}
.tc-direct-head strong,.tc-history-head strong{color:#596879;font-size:10px}
.tc-direct-head span:not(.tc-badge),.tc-history-head span:not(.tc-badge){color:#8993a0;font-size:9px;line-height:1.55}
.tc-direct-setup>p{margin-top:9px;color:#858f9c;font-size:9px;line-height:1.65}
.tc-direct-setup code{padding:2px 4px;border:1px solid #e3e7ec;border-radius:3px;background:#fff;color:#576678;font-size:9px}
.tc-direct-safe-state,.tc-direct-feedback,.tc-history-lock,.tc-history-next{margin-top:9px;padding:8px 10px;border-left:2px solid #c7d0dd;background:#f5f7f9;color:#758292;font-size:9px;line-height:1.55}
.tc-direct-safe-state.warn{border-color:#d9c696;background:#fcf8ef;color:#8a713f}
.tc-direct-account{display:grid;gap:3px;margin:11px 0;padding:9px 10px;border:1px solid #e7eaee;border-radius:5px;background:#fff}
.tc-direct-account small{color:#8993a0;font-size:8px;letter-spacing:.35px;text-transform:uppercase}
.tc-direct-account strong{color:#586779;font-size:10px;overflow-wrap:anywhere}
.tc-direct-account span,.tc-direct-admin-note{color:#8c96a2;font-size:9px}
.tc-direct-setup>.tc-sync-actions{margin-top:10px}
.tc-history{padding:12px 0 0;border:0;border-top:1px solid #e8ebef;border-radius:0;background:transparent}
.tc-history-plan{display:flex;align-items:end;gap:9px;flex-wrap:wrap;margin-top:10px}
.tc-history-plan label{display:grid;gap:5px;color:#7f8997;font-size:9px;font-weight:650}
.tc-history-plan input[type=date]{min-width:135px;border:1px solid #dfe3e9;border-radius:6px;background:#fff;color:#536174;font-size:11px;padding:8px 10px}
.tc-history-plan button:disabled{opacity:.55;cursor:not-allowed}
.tc-history-ledger{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}
.tc-history-ledger section{min-width:0;padding:9px 10px;border:1px solid #e8ebef;border-radius:5px;background:#fff}
.tc-history-ledger section>strong,.tc-history-failed>strong{display:block;color:#687687;font-size:9px}
.tc-history-ledger section>p{margin-top:6px;color:#969faa;font-size:9px}
.tc-history-ledger ul{display:grid;gap:7px;margin:8px 0 0;padding:0;list-style:none}
.tc-history-ledger li{display:grid;gap:3px;padding-top:6px;border-top:1px solid #eff1f3;color:#687687;font-size:9px}
.tc-history-ledger li small{color:#939ca7;font-size:8px}
.tc-history-failed{display:grid;gap:4px;margin-top:9px;padding:8px 10px;border-left:2px solid #d9c696;background:#fcf8ef;color:#8a713f;font-size:9px;line-height:1.5}
.tc-history-next{border-left-color:#bfcbd8;background:#f6f8fa}
@media(max-width:760px){.tc-direct-head,.tc-history-head{align-items:flex-start;flex-direction:column}.tc-history-plan{display:grid;grid-template-columns:1fr 1fr}.tc-history-plan label,.tc-history-plan input{min-width:0;width:100%}.tc-history-plan button{grid-column:1/-1}.tc-history-ledger{grid-template-columns:1fr}.tc-direct-setup,.tc-history{padding-left:11px;padding-right:11px}}
.board-project-labor{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:7px;row-gap:2px;margin-top:3px;color:var(--muted);font-size:11px;line-height:1.45}
.board-project-labor>span{font-weight:600}
.board-project-labor>strong{font-size:12px;color:var(--navy);font-variant-numeric:tabular-nums}
.board-project-labor>small{flex-basis:100%;color:var(--muted);font-size:10px;line-height:1.4}
.board-card-header:has(.board-project-labor)>.badge{align-self:flex-start}
.tc-mapping-panel>.tc-panel-head{background:#fbfcfb}
.tc-mapping-review{padding:0 17px 18px}
.tc-map-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:14px 2px 11px}
.tc-map-toolbar>div,.tc-map-bulk>div{display:grid;gap:4px}
.tc-map-toolbar strong,.tc-map-bulk strong{color:#54695f;font-size:11px}
.tc-map-toolbar span,.tc-map-bulk span{max-width:760px;color:#88958f;font-size:9px;line-height:1.6}
.tc-map-summary{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 10px}
.tc-map-summary span{padding:5px 8px;border:1px solid #e2e9e4;border-radius:5px;background:#f8faf8;color:#718078;font-size:9px}
.tc-map-bulk{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px;padding:10px 12px;border:1px solid #e4e9e5;border-radius:6px;background:#f7faf8}
.tc-map-reconciliation{margin:0 0 14px;padding:12px;border:1px solid #e4e9e5;border-radius:6px;background:#f8faf9}
.tc-map-reconciliation>strong{display:block;color:#5d7067;font-size:10px}
.tc-map-reconciliation>span,.tc-map-reconciliation>small{display:block;margin-top:4px;color:#8a9690;font-size:9px;line-height:1.5}
.tc-map-metrics{display:grid;grid-template-columns:repeat(5,minmax(90px,1fr));gap:7px;margin-top:9px}
.tc-map-metrics>div{min-width:0;padding:7px 8px;border:1px solid #e6ebe7;border-radius:5px;background:#fff}
.tc-map-metrics small{display:block;color:#929d97;font-size:8px;letter-spacing:.3px;text-transform:uppercase}
.tc-map-metrics strong{display:block;margin-top:4px;color:#54695f;font-size:12px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.tc-map-table-section{margin-top:13px;border:1px solid #e5e9e6;border-radius:7px;background:#fff;overflow:hidden}
.tc-map-table-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 12px;background:#f8faf9;border-bottom:1px solid #e9eeea}
.tc-map-table-head>div{display:grid;gap:3px}
.tc-map-table-head h3{margin:0;color:#576b61;font-size:11px}
.tc-map-table-head span{color:#89958f;font-size:9px}
.tc-map-note{max-width:48%;text-align:right;line-height:1.45}
.tc-map-table-wrap{max-height:420px;overflow:auto}
.tc-mapping-review{width:100%;min-width:760px;border-collapse:collapse}
.tc-mapping-review th{position:sticky;top:0;z-index:1;background:#f5f8f6;color:#7e8a84;font-size:8px;letter-spacing:.3px;text-align:left}
.tc-mapping-review th,.tc-mapping-review td{padding:9px 10px;border-bottom:1px solid #edf0ee;vertical-align:top}
.tc-mapping-review td{color:#68766f;font-size:9px;line-height:1.5}
.tc-mapping-review tbody tr:last-child td{border-bottom:0}
.tc-mapping-review .tc-select-col{width:48px}
.tc-mapping-review input[type=checkbox]{accent-color:#526f62}
.tc-mapping-review tr.tc-map-selected{background:#f6faf7}
.tc-mapping-review td>strong{display:block;color:#53645b;font-size:10px;overflow-wrap:anywhere}
.tc-map-meta{margin:3px 0;color:#939e98;font-size:8px}
.tc-map-destination{margin:4px 0 6px;color:#64746a;font-size:9px;font-weight:650;overflow-wrap:anywhere}
.tc-map-reason{display:block;max-width:240px;color:#8a948e;font-size:9px;line-height:1.55;overflow-wrap:anywhere}
.tc-map-controls{min-width:190px}
.tc-map-controls .tc-inline-select{width:100%;min-width:0;padding:7px 8px;font-size:9px}
.tc-map-buttons{display:flex;gap:5px;flex-wrap:wrap;margin-top:6px}
.tc-map-buttons .btn{padding:5px 8px}
.tc-map-feedback,.tc-map-stale{margin:9px 0;padding:9px 11px;border-left:2px solid #aabdaf;background:#f4f8f5;color:#5d7667;font-size:9px;line-height:1.55}
.tc-map-stale{border-left-color:#d0af6c;background:#fcf8ef;color:#866d3e}
.tc-history-plan .tc-check-label{display:flex;align-items:center;gap:7px;max-width:255px;min-height:34px;color:#78857f;font-size:9px;line-height:1.45}
.tc-history-plan .tc-check-label input{width:14px;height:14px;min-width:14px;accent-color:#526f62}
.tc-warning-summary{gap:3px}
.tc-warning-summary>span{color:#8c713e}
.tc-final-reconciliation{background:#f5f9f6;border-color:#dce7df}
.tc-final-reconciliation .tc-final-partition{margin-top:7px;color:#7e8d83;font-size:9px;line-height:1.5}
.tc-final-reconciliation .tc-reconciliation-metrics{grid-template-columns:repeat(4,minmax(100px,1fr))}
.tc-final-reconciliation .tc-reconciliation-metrics .excluded{border-color:#e6e9e7;background:#fafcfb}
.tc-final-check{margin-top:8px;color:#78877e;font-size:9px;font-variant-numeric:tabular-nums}
@media(max-width:760px){
 .tc-mapping-review{padding:0 11px 13px}
 .tc-map-toolbar,.tc-map-bulk{align-items:flex-start;flex-direction:column}
 .tc-map-toolbar>.btn,.tc-map-bulk>.btn{width:100%}
 .tc-map-summary{gap:5px}
 .tc-map-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
 .tc-map-table-head{align-items:flex-start;flex-direction:column}
 .tc-map-note{max-width:none;text-align:left}
 .tc-map-table-wrap{margin:0 -1px}
 .tc-history-plan .tc-check-label{grid-column:1/-1;max-width:none}
 .tc-final-reconciliation .tc-reconciliation-metrics{grid-template-columns:repeat(2,minmax(100px,1fr))}
}
