.crm-page-intro{color:var(--text-muted);margin:6px 0 0;font-size:13px}.customers-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px;display:grid}.customers-summary-card{padding:14px 16px}.customers-summary-label{color:var(--text-muted);letter-spacing:.05em;text-transform:uppercase;font-size:11px}.customers-summary-value{color:var(--text);font-size:24px;font-weight:var(--font-weight-bold);margin-top:5px}.customers-summary-value--green{color:var(--green)}.customers-summary-value--yellow{color:var(--yellow)}.customers-summary-value--blue{color:var(--blue)}.customers-summary-note{color:var(--text-muted);margin-top:3px;font-size:11px}.crm-form-layout{grid-template-columns:minmax(0,1.7fr) minmax(280px,.8fr);align-items:start;gap:16px;display:grid}.crm-form-side{gap:16px;display:grid}.crm-form-card .card-body{padding:18px}.required-mark{color:var(--red)}.form-error{min-height:16px;color:var(--red);margin-top:4px;font-size:11px}.crm-form-note{border:1px solid var(--border-color-light);border-radius:var(--radius-sm);background:var(--surface-soft);color:var(--text-muted);margin-top:14px;padding:11px 12px;font-size:12px;line-height:1.5}.representative-row,.representative-card,.work-row{border-bottom:1px solid var(--border-color-light);align-items:center;gap:10px;padding:11px 0;display:flex}.representative-row:last-child,.representative-card:last-child,.work-row:last-child{border-bottom:0}.representative-row>div:nth-child(2),.representative-card>div:nth-child(2),.work-row>div:first-child{flex:1;min-width:0}.representative-avatar,.detail-avatar{background:var(--primary-lt);color:var(--primary);font-weight:var(--font-weight-bold);border-radius:50%;flex:none;justify-content:center;align-items:center;display:inline-flex}.representative-avatar{width:32px;height:32px;font-size:12px}.detail-avatar{width:54px;height:54px;font-size:18px}.customer-avatar--teal{background:linear-gradient(135deg, var(--primary), var(--primary-dk));color:#fff}.customer-avatar--blue{background:linear-gradient(135deg, var(--blue), #0550a0);color:#fff}.customer-avatar--green{background:linear-gradient(135deg, var(--green), #1a8a32);color:#fff}.customer-avatar--purple{background:linear-gradient(135deg, var(--purple), #8a2da0);color:#fff}.customer-avatar--yellow{background:linear-gradient(135deg, var(--yellow), #c97f00);color:#fff}.customer-avatar--red{background:linear-gradient(135deg, var(--red), #a82b2b);color:#fff}.detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.customer-hero,.entity-hero{justify-content:space-between;align-items:center;gap:18px;margin-bottom:16px;padding:20px;display:flex}.customer-hero-main,.entity-hero>div:first-child{align-items:center;gap:14px;min-width:0;display:flex}.customer-hero-name,.entity-hero-name{font-size:19px;font-weight:var(--font-weight-bold)}.customer-hero-meta,.entity-hero-meta{color:var(--text-muted);overflow-wrap:anywhere;margin-top:4px;font-size:12px}.customer-hero-stats,.entity-hero-stats{flex-wrap:wrap;justify-content:flex-end;gap:22px;display:flex}.customer-hero-stats div,.entity-hero-stats div{text-align:right;gap:3px;display:grid}.customer-hero-stats strong,.entity-hero-stats strong{font-size:13px}.customer-hero-stats small,.entity-hero-stats small{color:var(--text-muted);font-size:10px}.detail-tabs{border-bottom:1px solid var(--border-color);gap:4px;margin-bottom:16px;display:flex;overflow-x:auto}.detail-tab{color:var(--text-muted);font:inherit;cursor:pointer;white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;padding:10px 13px;font-size:12px}.detail-tab.active{border-bottom-color:var(--primary);color:var(--primary);font-weight:var(--font-weight-bold)}.detail-tab span{background:var(--surface-soft);border-radius:10px;justify-content:center;min-width:18px;margin-left:4px;padding:2px 5px;font-size:10px;display:inline-flex}.detail-panel{display:none}.detail-panel.active{display:block}.detail-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.detail-facts div{gap:4px;min-width:0;display:grid}.detail-facts span,.confirm-card span{color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em;font-size:10px}.detail-facts strong{overflow-wrap:anywhere;font-size:13px}.compact-list{padding-top:4px;padding-bottom:4px}.work-row span{color:var(--text-muted);margin-top:4px;font-size:11px;display:block}.work-row>.status{flex:none}.related-table td small,.tax-entity-table td small{color:var(--text-muted);margin-top:3px;font-size:10px;display:block}.representative-list{padding-top:4px;padding-bottom:4px}.representative-card>.badge{flex:none}.activity-row{border-bottom:1px solid var(--border-color-light);align-items:flex-start;gap:11px;padding:10px 0;font-size:12px;display:flex}.activity-row:last-child{border-bottom:0}.activity-row div{flex:1;min-width:0}.activity-row small{color:var(--text-muted);margin-top:4px;font-size:10px;display:block}.activity-dot{background:var(--primary);border-radius:50%;width:8px;height:8px;margin-top:4px}.activity-dot--green{background:var(--green)}.activity-dot--teal{background:var(--primary)}.entity-type{font-size:10px;font-weight:var(--font-weight-bold);border-radius:4px;padding:3px 7px;display:inline-flex}.entity-type--business,.entity-type--individual{background:var(--primary-lt);color:var(--primary)}.entity-hero-icon{width:48px;height:48px;font-size:18px;font-weight:var(--font-weight-bold);border-radius:12px;justify-content:center;align-items:center;display:inline-flex}.entity-hero-icon.entity-type--business{background:var(--primary-lt);color:var(--primary)}.entity-hero-icon.entity-type--individual{background:var(--blue-lt);color:var(--blue)}.entity-history-card{margin-top:16px}.guidance-list{color:var(--text-muted);margin:0;padding-left:18px;font-size:12px;line-height:1.8}@media (width<=900px){.crm-form-layout,.detail-grid{grid-template-columns:1fr}.customers-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-hero,.entity-hero{flex-direction:column;align-items:flex-start}.customer-hero-stats,.entity-hero-stats{justify-content:space-between;width:100%}.customer-hero-stats div,.entity-hero-stats div{text-align:left}}@media (width<=640px){.customer-hero,.entity-hero{padding:15px}.customer-hero-main,.entity-hero>div:first-child{align-items:flex-start}.customer-hero-stats,.entity-hero-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.detail-facts{grid-template-columns:1fr;gap:12px}.crm-form-page .page-header-row,.tax-entity-form-page .page-header-row,.tax-entity-detail-page .page-header-row,.crm-detail-page .page-header-row{display:block}.crm-form-page .page-actions,.tax-entity-form-page .page-actions,.tax-entity-detail-page .page-actions,.crm-detail-page .page-actions{margin-top:14px}.crm-form-page .page-actions .btn,.tax-entity-form-page .page-actions .btn,.tax-entity-detail-page .page-actions .btn,.crm-detail-page .page-actions .btn{flex:150px;justify-content:center}.customers-summary{gap:8px}.customers-summary-card{padding:11px 12px}.customers-summary-value{font-size:20px}}.task-hero{grid-template-columns:minmax(0,1fr) repeat(3,auto);align-items:center;gap:22px;margin-bottom:14px;display:grid}.task-hero-main{align-items:center;gap:12px;min-width:0;display:flex}.task-hero-icon{background:var(--primary-lt);width:42px;height:42px;color:var(--primary);border-radius:12px;flex:0 0 42px;place-items:center;font-weight:800;display:grid}.task-hero h2{color:var(--text);margin:4px 0;font-size:17px}.task-hero p,.task-hero small{color:var(--text-muted);margin:0;font-size:11px}.task-hero-status{gap:4px;min-width:115px;display:grid}.task-hero-status strong{color:var(--text);font-size:12px}.task-hero-status small{font-size:10px}.workspace-grid{grid-template-columns:minmax(0,1fr) 280px;gap:14px;display:grid}.workspace-main,.workspace-side{align-content:start;gap:14px;display:grid}.overview-grid{grid-template-columns:repeat(4,1fr);gap:14px;display:grid}.overview-grid div{gap:4px;display:grid}.overview-grid span{color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em;font-size:10px}.overview-grid strong{color:var(--text);font-size:13px}.checklist-list{padding:0}.checklist-row{border-top:1px solid var(--border-color-light);cursor:pointer;grid-template-columns:18px 1fr auto;align-items:center;gap:10px;padding:13px 16px;display:grid}.checklist-row:first-child{border-top:0}.checklist-row input{opacity:0;position:absolute}.checkmark{border:1px solid var(--border-color);background:var(--bg-surface);border-radius:5px;width:18px;height:18px}.checklist-row input:checked+.checkmark{border-color:var(--primary);background:var(--primary);box-shadow:inset 0 0 0 4px var(--bg-surface)}.checklist-row input:focus-visible+.checkmark{outline:2px solid var(--primary);outline-offset:2px}.checklist-copy{gap:3px;display:grid}.checklist-copy strong{color:var(--text);font-size:12px}.checklist-copy small,.checklist-owner{color:var(--text-muted);font-size:10px}.checklist-owner{text-align:right}.reminder-grid{gap:0;padding:0;display:grid}.reminder-stage{border-top:1px solid var(--border-color-light);grid-template-columns:14px 1fr auto;align-items:center;gap:10px;padding:14px 16px;display:grid}.reminder-stage:first-child{border-top:0}.stage-dot{background:var(--azure);width:9px;height:9px;box-shadow:0 0 0 4px var(--primary-lt);border-radius:50%}.reminder-stage--sent .stage-dot{background:var(--green);box-shadow:0 0 0 4px var(--green-lt)}.reminder-stage div{gap:3px;display:grid}.reminder-stage strong{color:var(--text);font-size:12px}.reminder-stage small{color:var(--text-muted);font-size:10px}.reminder-stage .status{font-size:9px}.status-muted{color:var(--text-muted)}.status-muted:before{background:var(--text-muted)}.activity-list{gap:16px;display:grid}.activity-row{gap:10px;display:flex}.activity-row>div{gap:3px;display:grid}.activity-row strong{color:var(--text);font-size:12px}.activity-row small{color:var(--text-muted);font-size:10px}.activity-dot{background:var(--primary);border-radius:50%;flex:0 0 8px;width:8px;height:8px;margin-top:5px}.activity-dot--blue{background:var(--azure)}.activity-dot--yellow{background:var(--yellow)}.action-stack{gap:8px;display:grid}.action-stack .btn{justify-content:center}.source-card{gap:7px;display:grid}.source-card strong{color:var(--text);font-size:13px}.source-card span,.source-card p{color:var(--text-muted);font-size:10px}.detail-link{color:var(--primary);font-size:11px;font-weight:700;text-decoration:none}.detail-link:hover{text-decoration:underline}.task-note-card .card-body{background:var(--primary-lt);gap:10px;display:flex}.note-icon{background:var(--primary);color:#fff;border-radius:50%;flex:0 0 22px;place-items:center;width:22px;height:22px;font-size:12px;font-weight:700;display:grid}.task-note-card strong{color:var(--text);font-size:11px}.task-note-card p{color:var(--text-muted);margin:4px 0 0;font-size:10px;line-height:1.5}.danger-action{color:var(--red)!important}@media (width<=960px){.task-hero{grid-template-columns:1fr 1fr}.task-hero-main{grid-column:1/-1}.workspace-grid{grid-template-columns:1fr}.workspace-side{grid-template-columns:repeat(2,1fr)}.action-card,.task-note-card{grid-column:span 1}}@media (width<=680px){.task-hero{grid-template-columns:1fr 1fr;gap:14px}.overview-grid{grid-template-columns:repeat(2,1fr)}.workspace-side{grid-template-columns:1fr}.checklist-row{grid-template-columns:18px 1fr}.checklist-owner{text-align:left;grid-column:2}.reminder-stage{grid-template-columns:14px 1fr}.reminder-stage .status{grid-column:2;width:fit-content}}.email-thread-summary{justify-content:space-between;align-items:center;gap:18px;display:flex}.email-thread-summary>div{gap:5px;display:grid}.email-thread-summary strong{color:var(--text);font-size:14px}.email-thread-summary span,.email-thread-summary p{color:var(--text-muted);margin:0;font-size:10px}.email-thread-summary p{max-width:620px;line-height:1.5}@media (width<=680px){.email-thread-summary{flex-direction:column;align-items:flex-start}.email-thread-summary .btn{justify-content:center;width:100%}}
