.customer-cases-page{display:grid;gap:16px;width:100%;min-width:0}.customer-cases-head{display:grid;gap:14px}.customer-cases-head h2{margin:0 0 5px}.customer-case-tabs{margin-bottom:-4px}.customer-case-filters form{display:grid;grid-template-columns:minmax(220px,1.5fr) minmax(160px,.8fr) minmax(160px,.8fr) auto;gap:12px;align-items:end}.customer-case-filters .field{margin:0}.customer-case-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.customer-case-card{display:flex;min-height:250px;flex-direction:column;gap:12px;cursor:pointer;border-color:rgba(73,103,239,.16);transition:border-color .18s ease,box-shadow .18s ease}.customer-case-card:hover{border-color:rgba(73,103,239,.38);box-shadow:0 14px 32px rgba(32,52,112,.12)}.customer-case-card-top,.customer-case-card-foot,.customer-case-import-actions{display:flex;align-items:center;justify-content:space-between;gap:10px}.customer-case-mark{font-weight:900;color:var(--action-primary)}.customer-case-card h3{margin:2px 0 0;font-size:21px;line-height:1.35}.customer-case-industry{font-size:13px;font-weight:800;color:var(--muted)}.customer-case-card p{margin:0;color:var(--muted);line-height:1.7}.customer-case-card-foot{margin-top:auto;padding-top:12px;border-top:1px solid var(--line);font-size:13px}.customer-case-card-foot strong{color:var(--action-primary)}.customer-case-empty{grid-column:1/-1;text-align:center}.customer-case-pager{display:flex;justify-content:center;align-items:center;gap:14px}.customer-case-import{width:100%;max-width:none;min-width:0}.customer-case-import textarea{min-height:180px}.customer-case-import-summary{margin:16px 0 8px;font-weight:900}.customer-case-import-list{display:grid;gap:8px}.customer-case-import-list>div{display:grid;grid-template-columns:minmax(100px,.5fr) minmax(0,2fr) auto;gap:12px;padding:12px;border:1px solid var(--line);border-radius:10px}.customer-case-import-list span{overflow-wrap:anywhere}.customer-case-import-list a{color:var(--action-primary);font-weight:800}@media(max-width:980px){.customer-case-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-case-filters form{grid-template-columns:1fr 1fr}.customer-case-filters button{min-height:42px}}@media(max-width:640px){.customer-case-grid,.customer-case-filters form{grid-template-columns:1fr}.customer-case-import-list>div{grid-template-columns:1fr}.customer-case-card{min-height:220px}}
.customer-case-progress-track{height:10px;margin:12px 0;border-radius:999px;background:var(--soft);overflow:hidden}.customer-case-progress-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--status-info),var(--status-success));transition:width .3s ease}
.customer-case-import-jobs{margin-top:20px;min-width:0}.customer-case-job{border-top:1px solid var(--line);padding:18px 0;overflow-wrap:anywhere}.customer-case-job-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.customer-case-job-heading-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.customer-case-job-heading-actions button{min-height:34px;padding:6px 12px}.customer-case-job p{line-height:1.6;margin:8px 0}.customer-case-job-url{overflow-wrap:anywhere}
.customer-case-organization{display:grid;gap:10px;padding:16px 18px}.customer-case-organization-main{display:flex;align-items:center;justify-content:space-between;gap:18px}.customer-case-organization-main h3{margin:0 0 4px;font-size:17px}.customer-case-organization-main p{margin:0;line-height:1.5}.customer-case-organization-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto}.customer-case-organization-actions button{min-height:38px;padding:8px 14px}.customer-case-organization-status{display:flex;align-items:center;gap:18px;min-width:0;padding-top:9px;border-top:1px solid var(--line);font-size:13px;color:var(--muted);line-height:1.4}.customer-case-latest-job{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.customer-case-overview{display:grid;gap:14px;padding:18px}.customer-case-overview-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.customer-case-overview-head h3{margin:0 0 4px;font-size:18px}.customer-case-overview-head p{margin:0}.customer-case-overview-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1px;overflow:hidden;border:1px solid var(--line);border-radius:10px;background:var(--line)}.customer-case-overview-metrics>div{min-width:0;padding:14px 16px;background:var(--panel)}.customer-case-overview-metrics span{display:block;color:var(--muted);font-size:12px}.customer-case-overview-metrics strong{display:inline-block;margin-top:4px;font-size:25px;line-height:1.15}.customer-case-overview-metrics small{margin-left:4px;color:var(--muted);font-size:12px}
.customer-case-organize-update{color:var(--action-primary);background:var(--panel);border:1px solid var(--action-primary)}.customer-case-organize-update:hover:not(:disabled){color:#fff;background:var(--action-primary)}.customer-case-organize-all{color:#fff;background:var(--action-primary);border:1px solid var(--action-primary)}
.customer-case-library-panel{display:grid;gap:12px;padding:18px}.customer-case-library-panel .customer-case-filters{padding-bottom:14px;border-bottom:1px solid var(--line)}.customer-case-library-panel .customer-case-pager{padding-top:4px}.customer-case-library-panel .customer-case-empty{margin:0;border:1px dashed var(--line);box-shadow:none}.customer-case-library-panel .customer-case-card{margin:0;background:var(--panel);box-shadow:0 7px 18px rgba(32,52,112,.055)}
.customer-case-grid{display:flex;flex-direction:column;gap:8px}.customer-case-card{display:grid;grid-template-columns:minmax(240px,1fr) auto minmax(170px,auto) auto;align-items:center;gap:18px;min-height:0;padding:14px 18px;cursor:default}.customer-case-card-identity{display:flex;align-items:center;gap:12px;min-width:0}.customer-case-card h3{margin:0;min-width:0;font-size:17px;line-height:1.35;overflow-wrap:anywhere}.customer-case-industry{display:inline-flex;align-items:center;flex:0 0 auto;padding:4px 9px;border-radius:999px;background:var(--soft);font-size:12px;line-height:1.2}.customer-case-organization-badge{display:inline-flex;align-items:center;justify-content:center;min-width:64px;padding:5px 10px;border-radius:999px;font-size:12px;font-weight:850;line-height:1.2}.customer-case-organization-badge.is-organized{color:var(--status-success);background:color-mix(in srgb,var(--status-success) 12%,transparent);border:1px solid color-mix(in srgb,var(--status-success) 28%,transparent)}.customer-case-organization-badge.is-unorganized{color:var(--status-warning);background:color-mix(in srgb,var(--status-warning) 12%,transparent);border:1px solid color-mix(in srgb,var(--status-warning) 30%,transparent)}.customer-case-card-meta{color:var(--muted);font-size:13px;white-space:nowrap}.customer-case-card-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}.customer-case-card-actions button{min-height:36px;padding:7px 12px;white-space:nowrap}
.customer-case-report-button{color:var(--action-primary);background:#fff;border:1px solid var(--action-primary)}.customer-case-report-button:hover:not(:disabled){color:#fff;background:var(--action-primary)}
@media(max-width:900px){.customer-case-overview-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.customer-case-card{grid-template-columns:minmax(220px,1fr) auto auto}.customer-case-card-meta{grid-column:1/2}.customer-case-card-actions{grid-column:3;grid-row:1/3}.customer-case-organization-main{align-items:flex-start}.customer-case-organization-status{align-items:flex-start;flex-direction:column;gap:5px}.customer-case-latest-job{width:100%}}
@media(max-width:640px){.customer-case-overview-head{display:grid}.customer-case-overview-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-case-organization-main{display:grid}.customer-case-organization-actions{width:100%}.customer-case-organization-actions button{flex:1}.customer-case-card{grid-template-columns:1fr auto;gap:10px 12px;padding:14px}.customer-case-card-identity{align-items:flex-start;flex-direction:column;gap:7px}.customer-case-card-meta{grid-column:1/3}.customer-case-card-actions{grid-column:1/3;grid-row:auto;justify-content:stretch}.customer-case-card-actions button{flex:1}.customer-case-organization-status{font-size:12px}}
.customer-case-import-list .skipped{border-color:#d8c99c;background:#fffbef}.customer-case-import-list .skipped strong{color:#8a6417}
.customer-case-selection{display:flex;align-items:center;gap:14px;flex-wrap:wrap;font-size:14px}.customer-case-selection label{display:inline-flex;align-items:center;gap:8px;cursor:pointer}.customer-case-selection button{margin-left:auto}.customer-case-selection input[type=checkbox],.customer-case-card input.customer-case-checkbox{width:18px;height:18px;min-width:18px;margin:0;padding:0;accent-color:var(--brand-primary,#2b62d9);cursor:pointer}.customer-case-card-identity{position:relative;padding-left:28px}.customer-case-card input.customer-case-checkbox{position:absolute;left:0;top:50%;transform:translateY(-50%)}
