.business-page{background:#fff;border:1px solid #e0e7e5;border-radius:16px;padding:26px;min-width:0}.business-header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px}.business-header h1{margin:0;font-size:32px;letter-spacing:-1px}.business-header p{margin:7px 0 0;color:#6c807c}.business-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:24px}.business-page .business-overview-stat{border:1px solid #dce5e2;border-radius:10px;padding:20px!important;min-height:130px;display:flex;flex-direction:column;align-items:flex-start}.business-page .business-overview-stat h3{font-size:15px;margin:0 0 8px}.business-page .business-overview-stat strong{font-size:30px!important;margin-top:auto;letter-spacing:-.8px}.business-page .business-overview-stat small{color:#70817d;line-height:1.5}.business-page .business-overview-stat:nth-child(2){border-top:3px solid #6faed5}.business-page .business-overview-stat:nth-child(3){border-top:3px solid #caa052}.business-page .business-overview-stat:nth-child(4){border-top:3px solid #6e9b78}.business-results{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:20px 0 12px}.business-results h2{font-size:18px;margin:0}.business-results small{font-weight:400;color:#70817d}.business-filters{display:flex;flex-wrap:wrap;gap:9px;align-items:end;margin-bottom:18px;padding:14px;background:#f6f8f7;border-radius:10px}.business-filters label{font-size:11px;font-weight:700;color:#627670;display:flex;flex-direction:column;gap:5px;min-width:100px;flex:1}.business-filters input,.business-filters select{width:100%;min-height:38px;border:1px solid #d5dfdc;border-radius:20px;padding:8px 12px;background:white;color:#244441;font:inherit;font-size:13px}.business-table-wrap{overflow:auto}.business-table{width:100%;border-collapse:collapse;min-width:850px}.business-table th{text-align:left;color:#6c807c;font-weight:500;font-size:12px;padding:13px 12px;border-bottom:2px solid #dce5e2;white-space:nowrap}.business-table td{font-size:13px;line-height:1.55;padding:17px 12px;border-bottom:1px solid #e0e7e5;vertical-align:top}.business-table small{color:#70817d}.business-table .actions{min-width:150px}.business-table .actions .btn{font-size:11px;padding:7px 9px}.business-name{border:0;background:none;padding:0;text-align:left;color:#244441;font-weight:700;cursor:pointer}.business-pill{display:inline-block;border-radius:20px;padding:3px 9px;font-size:11px;background:#edf1f0;white-space:nowrap}.business-pill:before{content:'●';margin-right:5px;font-size:9px}.business-pill.lead,.business-pill.new,.business-pill.sent,.business-pill.scheduled{background:#e5f2fc;color:#327aaf}.business-pill.active,.business-pill.approved,.business-pill.paid,.business-pill.completed{background:#e9f2e8;color:#3d753c}.business-pill.past_due,.business-pill.refund,.business-pill.lost,.business-pill.declined{background:#fbecea;color:#a34235}.business-pill.partially_paid,.business-pill.unpaid,.business-pill.pending,.business-pill.in_progress{background:#faf2d9;color:#8b721b}.business-tag{display:inline-block;margin:2px;padding:3px 8px;background:#edf4f1;border-radius:5px;font-size:11px}.business-more{position:relative}.business-more summary{list-style:none;cursor:pointer}.business-more[open] .business-menu{display:flex}.business-menu{position:absolute;right:0;top:44px;z-index:30;min-width:220px;flex-direction:column;background:white;border:1px solid #dce5e2;box-shadow:0 8px 28px #173b3322;border-radius:10px;padding:7px}.business-menu button{border:0;background:none;text-align:left;padding:12px;color:#244441;cursor:pointer;font:inherit;font-size:13px}.business-menu button:hover{background:#edf4f1}.business-tabs{display:flex;gap:24px;border-bottom:1px solid #dce5e2;margin-bottom:20px}.business-tabs button{background:none;border:0;border-bottom:3px solid transparent;padding:12px 4px;color:#70817d;font-weight:700;cursor:pointer}.business-tabs button.active{border-color:#508b65;color:#244441}.business-notice{padding:13px 16px;background:#fff6df;border-radius:8px;margin:10px 0;font-size:13px;line-height:1.5}.checklist-item{display:flex;gap:12px;align-items:flex-start;padding:13px 0;border-bottom:1px solid #e0e7e5}.checklist-item input{width:22px;height:22px;margin:0;flex-shrink:0}.checklist-item.done span{text-decoration:line-through;color:#70817d}.checklist-section{border:1px solid #dce5e2;border-radius:9px;padding:16px;margin:15px 0}.checklist-section h3{margin:0 0 8px}.business-preview{max-height:280px;overflow:auto}.business-preview table{min-width:500px}.business-merge{display:grid;grid-template-columns:1fr 1fr;gap:15px}.business-merge article{padding:15px;background:#f3f7f5;border-radius:8px}.business-merge p{font-size:13px;overflow-wrap:anywhere}.business-page .empty{padding:40px;text-align:center;color:#70817d}.business-warning{color:#a34235}.business-page .btn{white-space:nowrap}@media(max-width:900px){.business-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.business-header{align-items:flex-start;flex-direction:column}.business-page{padding:18px}.business-filters label{flex:1 1 135px}.business-header h1{font-size:28px}}@media(max-width:480px){.business-page{padding:14px;border-radius:12px}.business-page .business-overview-stat{padding:13px!important;min-height:110px}.business-page .business-overview-stat strong{font-size:25px!important}.business-merge{grid-template-columns:1fr}.business-results{align-items:flex-start}.business-header .actions{width:100%;flex-wrap:wrap}}
.business-table tbody tr.record-row,.table tr.record-row{cursor:pointer;transition:background-color .15s ease}.business-table tbody tr.record-row:hover,.table tr.record-row:hover{background:#e9efed}.business-table tbody tr.record-row:focus-visible,.table tr.record-row:focus-visible{outline:2px solid #286d68;outline-offset:-2px;background:#e9efed}.business-name:hover{color:#025259;text-decoration:underline}.business-name:focus-visible{outline:2px solid #286d68;outline-offset:4px;border-radius:3px}.record-detail-actions{flex-wrap:wrap;margin-bottom:24px}.record-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.record-detail-grid article{padding:18px;border:1px solid #dce5e2;border-radius:10px}.record-detail h2{font-size:20px;margin-top:28px}.record-text{white-space:pre-wrap;line-height:1.7;overflow-wrap:anywhere}@media(max-width:700px){.record-detail-grid{grid-template-columns:1fr}.record-detail h1{overflow-wrap:anywhere}}
.share-compose{display:grid;grid-template-columns:1.15fr 1fr;gap:22px}.share-compose aside{background:#f1f5f3;border-radius:12px;padding:18px}.share-message-preview{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65}.share-compose .field{margin-bottom:14px}.share-compose textarea{width:100%}.portal-notifications{margin-top:26px;border-top:1px solid #dce5e2;padding-top:22px}.portal-notification{display:flex;justify-content:space-between;align-items:center;gap:14px;border:1px solid #dce5e2;border-radius:9px;padding:15px;margin:10px 0}.portal-notification.unread{background:#edf5f1;border-left:4px solid #397d65}.portal-notification p,.portal-notification small{color:#6c807c;font-size:12px;line-height:1.5}.portal-notification .actions{flex-wrap:wrap}@media(max-width:650px){.share-compose{grid-template-columns:1fr}.portal-notification{align-items:flex-start;flex-direction:column}}
/* Compact column filters: headings stay in the table; only one editor opens. */
.column-filter{border:0;background:transparent;color:inherit;padding:8px 6px;margin:-8px -6px;font:inherit;font-weight:700;text-align:left;border-radius:6px;min-height:40px;white-space:nowrap}.column-filter:hover,.column-filter[aria-expanded="true"]{background:#dce8e3;color:#174c46}.column-filter.is-filtered{color:#02665c;background:#e5f1eb}.column-filter span{font-size:12px;margin-left:3px}.column-filter-popover{position:fixed;z-index:45;background:#fff;border:1px solid #d4ded9;border-radius:12px;padding:16px;box-shadow:0 12px 35px #163b3c30;max-height:calc(100dvh - 24px);overflow:auto}.column-filter-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.column-filter-title button{border:0;background:#eff4f1;border-radius:6px;font-size:22px;width:36px;height:36px;color:#31544e}.column-filter-popover label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:650;margin:0 0 14px}.column-filter-popover input,.column-filter-popover select{width:100%;padding:10px;border:1px solid #cbd7d1;border-radius:7px;background:#fff;color:#244441;min-height:42px}.business-active-filters{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.filter-chip,.filter-clear{border:1px solid #c9dcd3;border-radius:18px;background:#edf5f0;color:#24564a;padding:6px 12px;font-size:12px}.filter-clear{background:#fff}.filter-chip:hover,.filter-clear:hover{background:#dae9e1}

.compact-catalog td{white-space:nowrap;height:54px}.compact-catalog .catalog-summary{display:block;max-width:300px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.compact-catalog .business-name{white-space:nowrap}.compact-catalog tr:focus-visible{outline:3px solid #2478d4;outline-offset:-3px}
