/* CSV Reconciliation Studio — high-contrast scoped responsive visual system */
.cc-workspace{align-items:start;gap:20px}
.cc-workspace .ev-form-panel,.cc-workspace .ev-preview-panel{background:linear-gradient(155deg,#111d38,#122741 76%,#10243a);color:#f5f8ff;border:1px solid #35516e;box-shadow:0 20px 55px #0a1d3a32;min-width:0}
.cc-workspace .ev-panel-head h2{color:#f5f8ff}
.cc-workspace .ev-privacy{color:#d0fff0;background:#16524d;border:1px solid #388f83}
.cc-workspace .ev-live{color:#dcfff4;background:#195c4e}
.cc-workspace .ev-status{color:#8af0c0}.cc-workspace .ev-error{color:#ffcfca;background:#68262b}
.cc-workspace .ev-summary{color:#bed3e9;border-color:#365673}
.cc-workspace .ev-preview-content{display:block;min-height:0;overflow:visible;padding:0}
.cc-panel{background:#1a3151;border:1px solid #355674;border-radius:18px;padding:18px;margin:0 0 17px;box-shadow:inset 0 1px 0 #ffffff13}
.cc-panel-header{display:flex;align-items:center;gap:10px;justify-content:space-between;flex-wrap:wrap;margin-bottom:12px}
.cc-number{color:#fff;background:linear-gradient(135deg,#9d5bff,#6751e3);width:28px;height:28px;border-radius:10px;display:inline-grid;place-items:center;font-size:12px;font-weight:900}
.cc-panel h3,.cc-workspace h3{color:#fff;margin:0;font-size:16px;font-weight:850;line-height:1.35}
.cc-workspace p{line-height:1.6}.cc-muted,.cc-note{color:#bfd0e4;font-size:12px}
.cc-source-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.cc-source{min-width:0;padding:12px;background:#12243e;border:1px solid #38577a;border-radius:14px;display:flex;flex-direction:column;gap:9px}
.cc-source-head{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}
.cc-source-head strong{color:#fff;font-size:12px}
.cc-file{display:inline-flex;max-width:100%;background:#2f366e;color:#f5eaff;border:1px solid #8366f6;border-radius:10px;padding:8px 12px;font-size:12px;font-weight:800;cursor:pointer}
.cc-file input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}
.cc-file:focus-within{outline:3px solid #61d5ff;outline-offset:2px}
.cc-workspace textarea,.cc-workspace input:not([type=file]):not([type=checkbox]),.cc-workspace select{width:100%;max-width:100%;min-width:0;box-sizing:border-box;border:1px solid #51739b;background:#0d1c31;color:#fff;border-radius:11px;padding:11px 12px;font:inherit;font-size:14px;outline:0}
.cc-workspace textarea{resize:vertical;line-height:1.45;min-height:148px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px}
.cc-workspace input:focus,.cc-workspace textarea:focus,.cc-workspace select:focus{border-color:#84d8ff!important;box-shadow:0 0 0 3px #5dbdff35}
.cc-workspace label{color:#e2efff;font-size:12px;font-weight:750;display:grid;gap:6px}
.cc-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.cc-checkrow{display:flex;align-items:flex-start;gap:9px;margin:10px 0;cursor:pointer}
.cc-checkrow input,.cc-chip input{accent-color:#9d85ff;flex:none;margin-top:3px}
.cc-fields{display:flex;gap:7px;flex-wrap:wrap;max-height:156px;overflow:auto;padding:3px}
.cc-chip{display:flex!important;align-items:center;gap:7px;background:#253f61;padding:8px 10px;border-radius:9px;border:1px solid #52759a;font-size:12px}
.cc-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.cc-workspace button{border-radius:11px;padding:10px 13px;font:inherit;font-weight:780;font-size:12px;cursor:pointer;border:1px solid #6685af;background:#233f64;color:#f8fbff;transition:background .16s,transform .16s}
.cc-workspace button:hover:not(:disabled){background:#335c84;transform:translateY(-1px)}
.cc-workspace button:focus-visible{outline:3px solid #81dcff;outline-offset:2px}
.cc-workspace button:disabled{opacity:.45;cursor:not-allowed}
.cc-workspace button.cc-primary{background:linear-gradient(130deg,#9b48ff,#5a65f5);color:white;border-color:#a59dff;box-shadow:0 12px 22px #7153f143}
.cc-workspace button.cc-primary:hover{background:linear-gradient(120deg,#ae63ff,#7076ff)}
.cc-workspace button.cc-green{background:#126b5b;border-color:#46c4ab;color:#fff}
.cc-intro{padding:15px 16px;border-radius:15px;margin:0 0 14px;background:linear-gradient(105deg,#3e296c,#1d4875);border:1px solid #7358b6;color:#f9f8ff}
.cc-intro strong{font-size:16px;color:#fff}.cc-intro p{margin:7px 0 0;color:#e5dcff;font-size:12px}
.cc-stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:14px}
.cc-stat{background:#182f4c;border:1px solid #385b82;border-radius:15px;padding:13px;min-width:0}
.cc-stat small{display:block;font-size:11px;color:#d3e2ff}.cc-stat strong{font-size:30px;letter-spacing:-.04em;line-height:1.3;color:#fff;display:block;margin-top:6px}
.cc-stat.added{border-left:4px solid #43d8ab}.cc-stat.removed{border-left:4px solid #ff818f}.cc-stat.changed{border-left:4px solid #ffbb63}.cc-stat.unchanged{border-left:4px solid #83afff}
.cc-state{color:#d2e1f6;font-size:12px;padding:10px 12px;background:#172d48;border-radius:10px;margin-bottom:9px}
.cc-state.cc-warning{color:#ffdf9b;background:#493b31;border:1px solid #85683e}
.cc-views{display:flex;gap:7px;flex-wrap:wrap;margin:15px 0}
.cc-views button{flex:1;min-width:72px;padding:10px 7px}
.cc-views button.active{background:#715bf4;border-color:#b1a7ff;color:#fff}
.cc-list{max-height:550px;overflow:auto;display:grid;gap:9px;margin:10px 0}
.cc-record{background:#192f4c;border:1px solid #3b597a;border-radius:13px;padding:12px;min-width:0}
.cc-record.changed{border-left:3px solid #ffbd70}.cc-record.added{border-left:3px solid #45dfb2}.cc-record.removed{border-left:3px solid #ff899a}
.cc-record-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:9px}
.cc-record-head strong{color:white;font-size:12px;overflow-wrap:anywhere}
.cc-badge{border-radius:30px;color:#e5e3ff;background:#413b7d;text-transform:uppercase;letter-spacing:.055em;font-size:10px;font-weight:850;padding:4px 7px}
.cc-record-sub{font-size:11px;color:#ccdaee;overflow-wrap:anywhere;margin:0}
.cc-change{display:grid;grid-template-columns:minmax(65px,.7fr) minmax(0,1fr) 17px minmax(0,1fr);align-items:start;gap:7px;border-top:1px solid #33506f;padding:8px 0;font-size:11px;min-width:0}
.cc-change b{color:#b5dafa;overflow-wrap:anywhere}
.cc-before{color:#ffb5c0;overflow-wrap:anywhere}.cc-after{color:#a1efd2;overflow-wrap:anywhere}.cc-arrow{color:#d9ddf9;text-align:center}
.cc-empty{color:#cdd8e8;text-align:center;padding:25px 12px;border:1px dashed #527095;border-radius:13px}
.cc-export{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.cc-export button{width:100%;min-width:0}
.cc-helper{font-size:12px;color:#cde7ef;line-height:1.6;background:#113c4b;border:1px solid #267585;padding:12px;border-radius:11px}
.cc-workspace .ev-form-panel,.cc-workspace .ev-preview-panel{position:relative}
@media(max-width:900px){.cc-workspace{grid-template-columns:1fr}.cc-workspace .ev-preview-panel{position:static;top:auto}}
@media(max-width:530px){.cc-workspace .ev-form-panel,.cc-workspace .ev-preview-panel{padding:14px;border-radius:16px}.cc-panel{padding:12px}.cc-source-grid,.cc-options{grid-template-columns:1fr}.cc-source{padding:10px}.cc-stat strong{font-size:25px}.cc-change{grid-template-columns:minmax(0,.65fr) minmax(0,1fr) 15px minmax(0,1fr);gap:4px;font-size:10px}.cc-file{width:100%}.cc-actions button{flex:1}.cc-export button{font-size:11px;padding:10px 5px}}
@media(prefers-reduced-motion:reduce){.cc-workspace button{transition:none}}
