.gm-crm-management { margin: 18px 0; }
.gm-crm-management h2 { margin-top: 26px; }
.gm-crm-management p { line-height: 1.6; }
.gm-crm-attention-row, .gm-crm-advice article { padding: 14px; margin: 10px 0; border: 1px solid #dbe3ee; border-radius: 10px; background: #f8fafc; }
.gm-crm-management textarea { display: block; width: 100%; margin: 10px 0; padding: 12px; border: 1px solid #cbd5e1; border-radius: 8px; }
.gm-crm-management details { margin: 14px 0; }
.gm-crm-management .table-wrap { overflow-x: auto; }
@media print { .gm-crm-management button, .gm-crm-management textarea { display: none; } }

.gm-crm-management > .card-body { padding: 28px; }
.gm-crm-executive { color: #17243b; }
.gm-crm-executive-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 22px; }
.gm-crm-eyebrow { font-size: 11px; font-weight: 750; letter-spacing: .14em; color: #65758a; }
.gm-crm-executive .gm-crm-executive-head h2 { margin: 8px 0 5px; font-size: 25px; letter-spacing: -.025em; }
.gm-crm-executive-head p { margin: 0; color: #65758a; font-size: 13px; }
.gm-crm-scope-chip { padding: 8px 12px; border: 1px solid #dbe4ef; border-radius: 24px; background: #f7f9fc; font-size: 12px; color: #52657c; white-space: nowrap; }
.gm-crm-kpis { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; margin-bottom: 28px; }
.gm-crm-kpi { min-width: 0; border: 1px solid #e0e7f0; border-radius: 12px; padding: 20px; background: #fff; box-shadow: 0 3px 12px #19344e05; border-top: 3px solid #355d92; }
.gm-crm-kpi.won { border-top-color: #167966; background: #f5fbf9; }
.gm-crm-kpi.expired { border-top-color: #c38c36; }
.gm-crm-kpi-label { display: block; color: #5d6d82; font-size: 12px; font-weight: 650; }
.gm-crm-kpi > strong { display: block; margin: 12px 0 8px; font-size: clamp(22px,1.8vw,32px); letter-spacing: -.035em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.gm-crm-kpi > small { display: block; font-size: 12px; color: #65758a; line-height: 1.6; }
.gm-crm-kpi-comparison { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; font-size: 11px; color: #65758a; }
.gm-crm-change { display: inline-block; width: fit-content; padding: 5px 9px; border-radius: 6px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.gm-crm-change.positive { color: #176853; background: #e6f4ee; }
.gm-crm-change.negative { color: #ad3d3d; background: #fbecec; }
.gm-crm-change.neutral { color: #64748b; background: #edf1f6; font-weight: 500; }
.gm-crm-comparison-head { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin: 0 0 14px; }
.gm-crm-comparison-head h3 { margin: 0; font-size: 16px; }
.gm-crm-comparison-head p { margin: 0; color: #65758a; font-size: 12px; }
.gm-crm-movement-wrap { width: 100%; overflow: auto; border: 1px solid #dce4ef; border-radius: 12px; }
.gm-crm-management .gm-crm-movement-table { width: 100% !important; min-width: 1080px; table-layout: auto !important; border-collapse: collapse; margin: 0; }
.gm-crm-management .gm-crm-movement-table th,
.gm-crm-management .gm-crm-movement-table td { width: auto !important; max-width: none !important; overflow: visible !important; text-overflow: clip !important; white-space: nowrap !important; padding: 17px 18px !important; border-bottom: 1px solid #e6ecf4; font-size: 13px; vertical-align: middle; text-align: right; font-variant-numeric: tabular-nums; }
.gm-crm-management .gm-crm-movement-table thead th { background: #f4f7fb; color: #607188; font-size: 11px; font-weight: 700; letter-spacing: .025em; text-transform: none; }
.gm-crm-management .gm-crm-movement-table tr > :first-child { text-align: left; min-width: 230px; }
.gm-crm-management .gm-crm-movement-table tbody th { background: transparent; text-transform: none; letter-spacing: normal; font-weight: 400; }
.gm-crm-movement-table strong { display: block; color: #1f314b; font-size: 14px; font-weight: 650; }
.gm-crm-movement-table td > span, .gm-crm-movement-table th > span, .gm-crm-movement-table small { display: block; margin-top: 6px; color: #738197; font-size: 11px; font-weight: 400; }
.gm-crm-movement-table td > .gm-crm-change { display: inline-block; color: inherit; font-weight: 700; font-size: 12px; margin-top: 0; }
.gm-crm-movement-table td > .gm-crm-change.positive { color: #176853; }
.gm-crm-movement-table td > .gm-crm-change.negative { color: #ad3d3d; }
.gm-crm-selected-period { background: #f0f6ff; }
.gm-crm-selected-period th { box-shadow: inset 3px 0 #426ca5; }
.gm-crm-period-tag { display: inline-block; margin-top: 8px; color: #42699c; font-size: 10px; font-style: normal; font-weight: 650; }
.gm-crm-movement-table tr:last-child > * { border-bottom: none; }
.gm-crm-report-note { display: flex; flex-wrap: wrap; gap: 8px 22px; padding-top: 14px; font-size: 11px; color: #718098; }
.gm-crm-method { padding: 13px 16px; border: 1px solid #e1e7ef; border-radius: 8px; background: #fafbfd; font-size: 12px; color: #627187; }
.gm-crm-method summary { cursor: pointer; font-weight: 600; }
.gm-crm-specific-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; padding: 22px 24px; margin: 18px 0; border: 1px solid #dce4ef; border-radius: 12px; background: #f7faff; }
.gm-crm-specific-summary > div > strong { display: block; margin-top: 8px; color: #203c62; font-size: 26px; font-variant-numeric: tabular-nums; }
.gm-crm-specific-description { flex: 1; min-width: 240px; }
.gm-crm-specific-description h2 { margin: 0 0 8px; font-size: 18px; }
.gm-crm-specific-description p { margin: 0; color: #65758a; font-size: 13px; line-height: 1.6; }
.gm-crm-support > .card-body { padding: 16px 22px; }
.gm-crm-support > .card-body > details { border: 1px solid #e1e7ef; border-radius: 8px; padding: 13px 16px; background: #fafbfd; }
.gm-crm-support > .card-body > details > summary { cursor: pointer; color: #344961; font-size: 13px; font-weight: 600; }
.gm-crm-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 1050px) { .gm-crm-kpis { grid-template-columns: repeat(2,minmax(0,1fr)); } .gm-crm-comparison-head { display: block; } .gm-crm-comparison-head p { margin-top: 6px; } }
@media (max-width: 560px) { .gm-crm-management > .card-body { padding: 16px; } .gm-crm-executive-head { align-items: flex-start; flex-direction: column; gap: 12px; } .gm-crm-kpis { gap: 10px; } .gm-crm-kpi { padding: 14px; } .gm-crm-kpi > strong { font-size: 22px; } }
@media print { .gm-crm-kpis { grid-template-columns: repeat(4,1fr); gap: 8px; } .gm-crm-kpi { padding: 10px; box-shadow: none; } .gm-crm-kpi > strong { font-size: 18px; } .gm-crm-movement-wrap { overflow: visible; } .gm-crm-management .gm-crm-movement-table { min-width: 0; } .gm-crm-management .gm-crm-movement-table th, .gm-crm-management .gm-crm-movement-table td { padding: 9px 6px !important; font-size: 9px; white-space: normal !important; } .gm-crm-management .gm-crm-movement-table tr > :first-child { min-width: 0; } .gm-crm-kpi, .gm-crm-movement-table tr { break-inside: avoid; } }
 .modal:has(.gm-crm-print-preview) .modal-panel { width: 96vw; max-width: 1500px; }
 .gm-crm-preview-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
 .gm-crm-preview-toolbar p { margin: 0; color: #53657a; }
 .gm-crm-print-preview iframe { width: 100%; height: 72vh; min-height: 450px; border: 1px solid #ccd6e0; background: #e9edf2; }
.customer360-filters { padding: 16px 20px; border-bottom: 1px solid #dbe3ee; }
.customer360-filter-main { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; }
.customer360-filter-main label { display: grid; gap: 6px; min-width: 160px; flex: 1; }
.customer360-filter-main label span, .customer360-filter-main legend { font-size: 12px; font-weight: 600; color: #53657a; }
.customer360-filter-main input, .customer360-filter-main select { padding: 9px 10px; border: 1px solid #ccd6e0; border-radius: 6px; min-height: 38px; }
.customer360-filter-main fieldset { border: 0; padding: 0; margin: 0; }
.customer360-filters details { margin-top: 10px; }
.customer360-filters details > summary { color: #53657a; cursor: pointer; font-size: 12px; }
.customer360-filters details[open] .customer360-filter-main { margin-top: 12px; }
.customer360-toolbar { padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 12px; color: #53657a; }
.customer360-column-chooser { position: relative; }
.customer360-column-chooser summary { cursor: pointer; }
.customer360-column-chooser > div { position: absolute; right: 0; top: 25px; z-index: 6; background: white; border: 1px solid #ccd6e0; border-radius: 6px; padding: 12px; width: 300px; max-height: 380px; overflow-y: auto; box-shadow: 0 4px 12px #17243b15; }
.customer360-column-chooser label { display: flex; gap: 10px; align-items: center; padding: 4px; }
.customer360-table-wrap { max-height: 65vh; overflow: auto; }
.customer360-table { table-layout: auto !important; width: max-content !important; min-width: 100%; }
.customer360-table th { position: sticky; top: 0; z-index: 2; background: #f3f6f9; }
.customer360-table th, .customer360-table td { padding: 9px 12px !important; max-width: none !important; white-space: nowrap !important; overflow: visible !important; text-overflow: clip !important; font-size: 12px; }
.customer360-table th button { white-space: normal; max-width: 115px; font-size: 11px; }
.customer360-table td:first-child { min-width: 270px; }
.customer360-table small { display: block; margin-top: 4px; color: #748196; }
.customer360-table tbody tr:hover td { background: #f0f5fa; }
.customer360-activity { display: inline-block; padding: 2px 6px; margin-left: 6px; border: 1px solid #d9e2ea; border-radius: 4px; background: #f5f7f9; font-size: 10px; color: #53657a; }
.customer360-detail .customer360-identity { display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: 12px; }
.customer360-compact-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; border: 1px solid #dbe3ee; background: #dbe3ee; margin: 16px 0; }
.customer360-compact-summary div { background: #f8fafc; padding: 10px 12px; }
.customer360-compact-summary dt { font-size: 11px; color: #63758b; }
.customer360-compact-summary dd { font-size: 14px; margin: 5px 0 0; font-weight: 600; }
.customer360-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 16px 0; }
.customer360-tabs .selected, .customer360-filter-main .selected { border-color: #819ab2; background: #edf3f8; }
.customer360-history { width: 100%; table-layout: auto !important; }
.customer360-history td { white-space: normal; overflow-wrap: anywhere; padding: 10px !important; }
.modal:has(.customer360-detail) .modal-panel { width: 95vw; max-width: 1350px; }
@media(max-width:700px) { .customer360-compact-summary { grid-template-columns: repeat(2,minmax(0,1fr)); } .customer360-toolbar { flex-wrap: wrap; } }
.customer360-table th:first-child, .customer360-table td:first-child { position: sticky; left: 0; background: white; z-index: 3; width: 300px; min-width: 280px; max-width: 340px !important; white-space: normal !important; }
.customer360-table th:first-child { z-index: 4; background: #f3f6f9; }
