:root{font-family:Inter,ui-sans-serif,system-ui,sans-serif;color:#17231e;background:#f4f7f5;--accent: #237d59;--line: #dfe8e3;--muted: #75827b;--panel: #fff;--soft-accent: #e9f4ef}*{box-sizing:border-box}body{margin:0;overflow-x:hidden}button,input,select,textarea{font:inherit}button{border:0;cursor:pointer}.loading,.auth-shell{min-height:100vh;display:grid;place-content:center;text-align:center;background:radial-gradient(circle at top,#fff,#edf4f0 65%)}.logo{width:35px;height:35px;display:inline-grid;place-items:center;border-radius:11px 4px;color:#fff;background:linear-gradient(145deg,#31916b,#176747);font-weight:800;box-shadow:0 8px 18px #237d5838}.loading .logo{margin:auto}.loading p,.auth-card>p{color:#6f7c75}.auth-card{width:min(90vw,430px);padding:45px;border:1px solid #dce6e0;border-radius:22px;background:#fff;box-shadow:0 25px 70px #1a382b1f}.auth-card h1{font-size:2.2rem}.auth-card button,.resource-title button,.modal button,.email-toolbar button,.message-heading button{padding:11px 16px;border-radius:9px;color:#fff;background:#237d59;font-weight:700}button:disabled{cursor:not-allowed;opacity:.5}.auth-card small{display:block;margin-top:18px;color:#89948e}.app-shell{min-height:100vh;min-width:0;width:100%;display:grid;grid-template-columns:290px 1fr}aside{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;padding:28px 18px;border-right:1px solid #e2e9e5;background:#fbfdfc;min-width:0}.brand{display:flex;align-items:center;gap:11px;padding:0 10px 30px;font-size:1.05rem}.tenant-brand{display:grid;justify-items:start;gap:4px}.tenant-brand img{display:block;width:auto;height:40px;max-width:100%}.tenant-brand>span{padding-left:3px;color:#68756e;font-size:.66rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase}.brand b{color:#247d59}nav{display:grid;gap:5px}nav button{display:flex;align-items:center;gap:12px;padding:11px 12px;border-radius:9px;color:#68756e;background:transparent;text-align:left;font-weight:600}nav button span{width:25px;height:25px;display:grid;place-items:center;border:1px solid #dce6e0;border-radius:7px;font-size:.72rem}nav button:hover,nav button.active{color:#176747;background:#e9f4ef}nav button.active span{color:#fff;border-color:#2d8964;background:#2d8964}.tenant-card{display:flex;align-items:center;gap:11px;margin-top:auto;padding:14px;border:1px solid #dfe8e3;border-radius:12px;background:#f7faf8}.tenant-card i{width:9px;height:9px;border-radius:50%;background:#38a875;box-shadow:0 0 0 4px #def3e9}.tenant-card b,.tenant-card small{display:block}.tenant-card small{margin-top:3px;color:#829088;font-size:.72rem}.workspace{min-width:0;padding:34px clamp(28px,5vw,68px) 60px}header{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}.eyebrow{margin:0 0 5px;color:#388466;font-size:.68rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}h1,h2{letter-spacing:-.035em}header h1{margin:0;font-size:2.2rem}.header-actions{display:flex;align-items:center;gap:12px}.refresh{width:38px;height:38px;border:1px solid #dce5e0;border-radius:10px;color:#597068;background:#fff;font-size:1.15rem}.avatar{width:39px;height:39px;display:grid;place-items:center;border-radius:50%;color:#fff;background:#253e34;font-weight:700}.error{display:flex;justify-content:space-between;margin-bottom:18px;padding:12px 16px;border:1px solid #efc8c4;border-radius:10px;color:#8d3730;background:#fff2f0}.error button{color:inherit;background:none}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:20px}.daily-metrics button{background:var(--panel);border:1px solid var(--line);border-radius:16px;color:inherit;cursor:pointer;padding:18px;text-align:left}.daily-metrics button:hover{border-color:var(--accent);transform:translateY(-1px)}.daily-metrics small,.daily-metrics b{display:block}.daily-metrics b{font-size:30px;margin-top:8px}.daily-heading{align-items:end;display:flex;justify-content:space-between;margin:28px 0 14px}.daily-heading h2{margin:3px 0 0}.daily-heading>small{color:var(--muted)}.daily-grid{display:grid;gap:16px;grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:30px}.daily-panel{min-height:190px}.daily-panel .panel-title button{background:transparent;border:0;color:var(--accent);cursor:pointer}.daily-row{align-items:center;border-top:1px solid var(--line);display:flex;gap:12px;padding:12px 0}.daily-row>div{display:grid;flex:1;gap:3px}.daily-row small,.daily-empty{color:var(--muted)}.daily-row em{color:var(--muted);font-size:11px;font-style:normal;text-transform:uppercase}.daily-row .score{align-items:center;background:var(--soft-accent);border-radius:10px;color:var(--accent);display:flex;font-weight:700;height:36px;justify-content:center;width:36px}.daily-row .task-check{background:transparent;border:1px solid var(--line);border-radius:50%;color:transparent;cursor:pointer;height:26px;width:26px}.daily-row .task-check:hover{background:var(--accent);border-color:var(--accent);color:#fff}.resource-actions{display:flex;gap:10px}.import-modal{max-width:880px;width:min(880px,calc(100vw - 32px))}.file-drop{align-items:center;border:2px dashed var(--line);border-radius:16px;cursor:pointer;display:flex;flex-direction:column;gap:8px;margin:22px 0;padding:42px}.file-drop input{margin-top:10px}.mapping-grid{display:grid;gap:10px;grid-template-columns:repeat(3,minmax(0,1fr));max-height:260px;overflow:auto}.import-preview{display:flex;gap:8px;margin:16px 0;overflow-x:auto}.import-preview pre{background:var(--surface-subtle, #f6f7f9);border-radius:10px;font-size:10px;min-width:180px;padding:10px}.duplicate-modal{max-height:85vh;max-width:760px;overflow-y:auto;width:min(760px,calc(100vw - 32px))}.duplicate-group{border:1px solid var(--line);border-radius:12px;margin:14px 0;padding:12px}.duplicate-group article{align-items:center;border-top:1px solid var(--line);display:flex;gap:12px;justify-content:space-between;padding:10px 0}.duplicate-group article div{display:grid;gap:3px}.duplicate-group article span{color:var(--muted);font-size:12px}.admin-intro{align-items:end;display:flex;justify-content:space-between;margin-bottom:20px}.admin-grid{display:grid;gap:16px;grid-template-columns:repeat(2,minmax(0,1fr))}.admin-grid>:last-child{grid-column:1 / -1}.admin-row{align-items:center;border-top:1px solid var(--line);display:flex;justify-content:space-between;padding:11px 0}.admin-row div{display:grid;gap:3px}.admin-row small{color:var(--muted)}.admin-row-actions{display:flex!important;grid-auto-flow:column;gap:8px!important}.relationships-workspace .admin-row{align-items:flex-start}.relationships-workspace .admin-row code{max-width:46%;overflow-wrap:anywhere;white-space:normal}.relationships-workspace .notice div{margin-top:.55rem}.relationships-workspace .notice span{display:block;margin-left:1rem}.admin-row-actions button{padding:6px 9px}.inline-admin-form{margin:0 0 12px}.danger-link{background:transparent;border:0;color:#a33;cursor:pointer}.admin-form{background:var(--surface-subtle, #f6f7f9);border-radius:12px;display:grid;gap:9px;margin-top:16px;padding:14px}@media(max-width:800px){.admin-grid{grid-template-columns:1fr}.admin-grid>:last-child{grid-column:auto}}.report-grid{display:grid;gap:16px;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:18px}.report-health{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;margin:16px 0;overflow:hidden;background:var(--line)}.report-health>div{display:grid;gap:5px;padding:20px;background:#fff}.report-health small,.report-health span{color:var(--muted)}.report-health strong{font-size:1.45rem}.report-row{align-items:center;border-top:1px solid var(--line);display:grid;gap:10px;grid-template-columns:1fr auto auto;padding:12px 0}.report-row span,.report-time{color:var(--muted)}.retention-row{align-items:center;border-top:1px solid var(--line);display:flex;flex-wrap:wrap;gap:14px;padding:14px 0}.retention-row>div{display:grid;flex:1;gap:3px;min-width:130px}.retention-row small{color:var(--muted)}.retention-row label{align-items:center;display:flex;gap:6px}.retention-row input[type=number]{width:90px}.sms-columns{display:grid;grid-template-columns:320px minmax(0,1fr);min-height:560px}.sms-conversations{border-right:1px solid var(--line);display:flex;flex-direction:column;gap:4px;padding-right:12px}.sms-conversations>button{background:transparent;border:0;border-radius:10px;display:grid;gap:4px;padding:12px;text-align:left}.sms-conversations>button.selected{background:var(--surface-subtle, #f6f7f9)}.sms-conversations span,.sms-conversations small,.sms-thread small{color:var(--muted)}.sms-thread{padding-left:20px}.sms-bubbles{display:flex;flex-direction:column;gap:10px;margin-top:20px}.sms-bubbles article{border-radius:14px;max-width:75%;padding:10px 14px}.sms-bubbles article.outbound{align-self:end;background:var(--accent);color:#fff}.sms-bubbles article.inbound{background:var(--surface-subtle, #f1f3f5)}.calling-workspace{display:grid;gap:16px}.call-form{align-items:end;display:grid;gap:12px;grid-template-columns:1fr 1fr auto;margin-top:18px}.call-form label{display:grid;gap:6px}.call-approved,.call-blocked{align-items:center;border-radius:12px;display:flex;gap:14px;justify-content:space-between;margin-top:16px;padding:14px}.call-approved{background:#e9f8ef;color:#176b3a}.call-blocked{background:#fff0ef;color:#9a2821}@media(max-width:800px){.call-form{grid-template-columns:1fr}}@media(max-width:800px){.sms-columns{grid-template-columns:1fr}.sms-conversations{border:0;max-height:260px;overflow:auto}.sms-thread{padding:16px 0 0}}.report-time{display:block;margin-top:14px}@media(max-width:800px){.report-grid,.report-health{grid-template-columns:1fr}}@media(max-width:800px){.daily-grid{grid-template-columns:1fr}.daily-heading{align-items:start;flex-direction:column;gap:6px}}.metric{padding:20px;border:1px solid #e0e8e3;border-radius:14px;background:#fff;box-shadow:0 4px 16px #2441340a}.metric p{margin:0 0 10px;color:#77847d;font-size:.78rem;font-weight:600}.metric strong{display:block;font-size:1.65rem}.metric small{display:block;margin-top:7px;color:#8a9690}.metric.accent{color:#fff;border-color:#237d59;background:linear-gradient(140deg,#2e8b66,#1d6c4d)}.metric.accent p,.metric.accent small{color:#d6eee3}.grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,.75fr);gap:20px}.panel{overflow:hidden;border:1px solid #e0e8e3;border-radius:15px;background:#fff;box-shadow:0 5px 20px #2441340a}.panel-title{display:flex;justify-content:space-between;align-items:center;padding:22px 24px 18px;border-bottom:1px solid #edf1ef}.panel-title h2,.resource-title h2,.modal h2{margin:0;font-size:1.05rem}.panel-title>small{color:#64736c}.opportunity{display:grid;grid-template-columns:38px minmax(0,1fr) 105px 55px;align-items:center;gap:13px;padding:15px 24px;border-bottom:1px solid #f0f3f1}.company{width:36px;height:36px;display:grid;place-items:center;border-radius:9px;color:#267354;background:#e8f3ee;font-weight:700}.opportunity b,.activity b{display:block;overflow:hidden;font-size:.86rem;text-overflow:ellipsis;white-space:nowrap}.opportunity small,.activity small{display:block;margin-top:3px;color:#8a9690;font-size:.72rem}.amount{text-align:right}.opportunity em{padding:5px 8px;border-radius:99px;color:#207653;background:#e6f4ed;font-size:.65rem;font-style:normal;font-weight:700;text-align:center;text-transform:uppercase}.activity{display:flex;align-items:center;gap:12px;padding:14px 20px}.activity>span{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;color:#276f54;background:#e6f3ed;font-weight:700}.activity>span.outbound{color:#7a5a25;background:#f8f0df}.empty{min-height:180px;display:grid;place-content:center;color:#8a9690;text-align:center}.empty span{font-size:2rem}.empty p{margin:5px}.resource-title{display:flex;justify-content:space-between;align-items:center;padding:24px}.resource-title p{margin:5px 0 0;color:#7d8a83}.table{overflow:auto}table{width:100%;border-collapse:collapse}th,td{padding:14px 24px;border-top:1px solid #edf1ef;text-align:left;white-space:nowrap}th{color:#7d8a83;background:#fafcfb;font-size:.72rem;text-transform:uppercase}td{font-size:.86rem}td small{display:block;margin-top:4px;color:#839088;font-size:.7rem}.lead-filters{display:grid;grid-template-columns:minmax(220px,1fr) repeat(3,minmax(145px,190px)) auto;align-items:center;gap:12px;padding:0 24px 20px}.resource-filters{display:grid;grid-template-columns:minmax(220px,1fr) 180px auto auto;align-items:center;gap:10px;padding:0 24px 18px}.resource-filters input,.resource-filters select{padding:9px 11px;border:1px solid #d7e1dc;border-radius:8px;background:#fff}.resource-filters span{color:var(--muted);font-size:.78rem}.lead-filters input,.lead-filters select,.lead-table select{padding:9px 11px;border:1px solid #d7e1dc;border-radius:8px;color:#35483f;background:#fff}.lead-filters span{color:#74827b;font-size:.78rem}.pagination-controls{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:16px 24px;border-top:1px solid #edf1ef}.pagination-controls span{color:#74827b;font-size:.78rem}.success-notice{padding:12px;border-radius:10px;color:#176142;background:#e4f5ec}.notice small,.success-notice small{display:block;margin-top:6px}.duplicate-confirmation{display:flex;flex-direction:row!important;align-items:flex-start;gap:8px;font-size:.8rem}.duplicate-confirmation input{width:auto;margin-top:2px}.lead-table td:first-child,.lead-table td:nth-child(2){min-width:180px}.table-action{padding:8px 11px;border-radius:7px;color:#176747;background:#e6f3ed;font-weight:700}.lead-form{width:min(100%,720px);max-height:90vh;overflow:auto}.record-workspace{min-height:680px;display:grid;grid-template-columns:290px minmax(0,1fr)}.record-list{position:static;width:auto;height:auto;padding:0;border-right:1px solid #e4ebe7;background:#fafcfb}.record-list-title{display:grid;gap:12px;padding:22px;border-bottom:1px solid #e4ebe7}.record-list-title select{width:100%;padding:8px 10px;border:1px solid #dbe4df;border-radius:8px;background:#fff}.record-list-empty{padding:18px;color:var(--muted);font-size:.8rem}.record-list-pagination{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border-top:1px solid var(--line)}.record-list-pagination button{padding:5px 9px}.record-list-title h2{margin:0}.record-list-title input{min-width:0;padding:9px 11px;border:1px solid #d7e1dc;border-radius:8px}.record-list>button{width:100%;display:grid;gap:4px;padding:15px 20px;border-bottom:1px solid #e7ede9;color:#2a3d34;background:transparent;text-align:left}.record-list>button:hover,.record-list>button.selected{background:#e8f3ee}.record-list>button small,.record-heading small,.record-section small{color:#7c8982}.record-detail{min-width:0;padding-bottom:30px}.record-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:28px;border-bottom:1px solid #e8eeeb}.record-heading h2{margin:0 0 5px;font-size:1.55rem}.record-heading button{padding:10px 14px;border-radius:8px;color:#fff;background:#237d59;font-weight:700}.record-metrics{display:flex;flex-wrap:wrap;gap:10px;padding:18px 28px;border-bottom:1px solid #edf1ef}.record-metrics span{padding:7px 10px;border-radius:8px;color:#5e6f66;background:#f1f5f3;font-size:.75rem}.record-section{padding:22px 28px 0}.record-section h3{margin:0 0 12px;font-size:.9rem}.record-section>article{display:grid;gap:3px;padding:11px 0;border-bottom:1px solid #edf1ef;font-size:.82rem}.record-section>p{color:#839088;font-size:.82rem}.record-section.timeline>article{grid-template-columns:28px 1fr}.record-section.timeline>article>span{width:26px;height:26px;display:grid;place-items:center;border-radius:50%;color:#237d59;background:#e8f3ee}.record-section.timeline p{margin:6px 0 0;color:#57675f;line-height:1.5}.pipeline-workspace{overflow:hidden;border:1px solid #e0e8e3;border-radius:15px;background:#fff;box-shadow:0 5px 20px #2441340a}.pipeline-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 24px;border-bottom:1px solid #e6ece8}.pipeline-toolbar h2,.pipeline-toolbar p{margin:0}.pipeline-toolbar p{margin-top:5px;color:#74827b;font-size:.8rem}.pipeline-toolbar button{padding:10px 14px;border-radius:8px;color:#fff;background:#237d59;font-weight:700}.pipeline-filters{display:grid;grid-template-columns:minmax(240px,1fr) 190px auto auto;align-items:center;gap:12px;margin-bottom:14px}.pipeline-filters input,.pipeline-filters select{padding:9px 11px;border:1px solid #d7e1dc;border-radius:8px;background:#fff}.pipeline-filters label{display:flex;flex-direction:row;align-items:center;gap:7px;font-size:.8rem}.pipeline-filters label input{width:auto}.pipeline-filters span{color:var(--muted);font-size:.78rem}.pipeline-board{display:grid;grid-auto-columns:minmax(245px,1fr);grid-auto-flow:column;gap:12px;overflow:auto;padding:18px;background:#f4f7f5}.pipeline-column{min-height:500px;border:1px solid #dfe7e2;border-radius:12px;background:#f9fbfa}.pipeline-column>header{position:static;display:flex;justify-content:space-between;margin:0;padding:14px 15px;border-bottom:1px solid #e3eae6}.pipeline-column>header span{min-width:23px;padding:3px 7px;border-radius:99px;color:#65756d;background:#e9efec;font-size:.7rem;text-align:center}.pipeline-column.won>header{color:#176747;background:#e8f5ee}.pipeline-column.lost>header{color:#8a443e;background:#fff0ee}.pipeline-cards{display:grid;gap:10px;padding:10px}.deal-card{display:grid;gap:7px;padding:14px;border:1px solid #e0e7e3;border-radius:10px;background:#fff;box-shadow:0 3px 10px #243c3108}.deal-card>small,.deal-card>span{color:#7b8982;font-size:.69rem}.deal-card>b{font-size:.86rem}.deal-card>strong{color:#237d59;font-size:.95rem}.deal-card label{display:grid;gap:4px;margin-top:5px;color:#75827b;font-size:.66rem}.deal-card select{min-width:0;padding:7px;border:1px solid #d8e1dc;border-radius:7px;background:#fff}.column-empty{padding:25px 8px;color:#98a29d;font-size:.75rem;text-align:center}.task-tabs{display:flex;gap:7px;padding:0 24px 18px;border-bottom:1px solid #e8eeeb}.task-tabs button{padding:7px 11px;border-radius:7px;color:#67776f;background:#f0f4f2;text-transform:capitalize}.task-tabs button.active{color:#fff;background:#237d59}.task-row{display:grid;grid-template-columns:34px minmax(180px,1fr) 80px 120px 170px 145px;align-items:center;gap:12px;padding:14px 24px;border-bottom:1px solid #edf1ef;border-left:4px solid #cad6d0;font-size:.78rem}.task-row.priority-high{border-left-color:#d79a43}.task-row.priority-urgent{border-left-color:#c95d54}.task-row.overdue{background:#fff9f8}.task-row b,.task-row small{display:block}.task-row small{margin-top:4px;color:#7d8a83}.task-row select{min-width:0;padding:7px;border:1px solid #d8e1dc;border-radius:7px;background:#fff}.task-check{width:28px;height:28px;border:1px solid #cdd9d3;border-radius:50%;color:#237d59;background:#fff;font-size:1rem}.due-overdue{color:#a13f38;font-weight:700}@media(max-width:1100px){.task-row{grid-template-columns:34px minmax(180px,1fr) 85px 150px}.task-row>span:nth-of-type(2),.task-row>select{display:none}}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.backdrop{position:fixed;inset:0;display:grid;place-items:center;padding:20px;background:#16261f75;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.modal{width:min(100%,430px);padding:28px;border-radius:17px;background:#fff;box-shadow:0 25px 80px #11231b3d}.modal h2{margin-bottom:22px;font-size:1.35rem}.modal label{display:grid;gap:6px;margin:13px 0;color:#4f6058;font-size:.8rem;font-weight:600}.modal input,.modal select,.modal textarea{padding:11px;border:1px solid #d7e1dc;border-radius:9px;font:inherit}.modal textarea{min-height:80px;resize:vertical}.modal>div{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.modal .secondary{color:#53675e;background:#edf2ef}.notice{margin:0 0 16px;padding:11px 13px;border:1px solid #ead9ad;border-radius:9px;color:#735b1f;background:#fff9e9;font-size:.78rem;line-height:1.45}.communications-readiness{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:.8rem;margin:0 0 1rem}.communications-readiness article{border:1px solid var(--line);border-radius:14px;padding:1rem;background:var(--surface)}.communications-readiness article.ready{border-color:#8fc8ae}.communications-readiness h3,.communications-readiness p{margin:.25rem 0}.communications-readiness small{color:var(--muted);font-weight:700;text-transform:uppercase;letter-spacing:.06em}.communications-readiness details{margin-top:.7rem}.communications-readiness ul{margin:.5rem 0 0;padding-left:1.1rem}.link-button{appearance:none;border:0;background:transparent;color:var(--accent);padding:0;text-align:left;text-decoration:underline}.phone-admin,.phone-admin-form{display:grid;gap:1rem}.activation-checks{display:flex;flex-wrap:wrap;gap:1rem}.email-compose{width:min(100%,620px)}.email-compose textarea{min-height:190px}.email-workspace{overflow:hidden;border:1px solid #e0e8e3;border-radius:15px;background:#fff;box-shadow:0 5px 20px #2441340a}.email-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 24px;border-bottom:1px solid #e6ece8}.email-toolbar h2,.email-toolbar p{margin:0}.email-toolbar p{margin-top:5px;color:#75827b;font-size:.8rem}.email-columns{min-height:540px;display:grid;grid-template-columns:minmax(270px,.38fr) minmax(0,1fr)}.email-controls{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}.email-controls input{flex:1;min-width:240px}.message-list button.unread b{font-weight:800}.message-list button.unread{border-left:3px solid var(--accent)}.message-list{overflow:auto;border-right:1px solid #e6ece8;background:#fafcfb}.message-list>button{width:100%;display:grid;gap:5px;padding:17px 20px;border-bottom:1px solid #e8eeeb;color:#263b32;background:transparent;text-align:left}.message-list>button:hover,.message-list>button.selected{background:#eaf4ef}.message-list span,.message-list small{overflow:hidden;color:#7b8982;font-size:.72rem;text-overflow:ellipsis;white-space:nowrap}.message-list b{overflow:hidden;font-size:.87rem;text-overflow:ellipsis;white-space:nowrap}.message-viewer{min-width:0}.message-heading{display:flex;justify-content:space-between;gap:20px;padding:28px;border-bottom:1px solid #edf1ef}.message-heading h2{margin:0 0 7px}.message-heading small{color:#77847d}.message-heading button{align-self:flex-start}.message-body{min-height:270px;padding:28px;color:#35483f;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}.attachments{display:grid;gap:8px;padding:20px 28px;border-top:1px solid #edf1ef;font-size:.8rem}.attachments a{color:#237d59}.billing-workspace{display:grid;gap:20px}.billing-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:28px;padding:28px;border:1px solid #dfe9e3;border-radius:18px;background:linear-gradient(135deg,#f8fbf9,#edf6f1)}.billing-hero h2,.billing-history h2{margin:4px 0 8px}.billing-hero p:last-child{max-width:680px;margin-bottom:0;color:#607168;line-height:1.55}.billing-mode{flex:none;padding:8px 12px;border-radius:999px;font-size:.78rem;font-weight:700}.billing-mode.locked{color:#775d1d;background:#fff3cf}.billing-mode.ready{color:#176142;background:#dff4e9}.billing-checklist{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.billing-checklist>div{display:flex;align-items:center;gap:12px;padding:18px;border:1px solid #e2eae6;border-radius:14px;background:#fff}.billing-checklist>div>span{color:#27805c;font-size:1.25rem}.billing-checklist b,.billing-checklist small,.billing-products td small,.billing-history-row small{display:block}.billing-checklist small,.billing-products td small,.billing-history-row small{margin-top:4px;color:#78877f}.billing-products{overflow:hidden}.billing-products .section-heading{padding:22px 24px}.billing-catalog-actions{display:flex;align-items:center;gap:14px}.billing-products table{width:100%;border-collapse:collapse}.billing-products th,.billing-products td{padding:14px 24px;border-top:1px solid #edf1ef;text-align:left;font-size:.82rem}.billing-products td:last-child{display:flex;align-items:center;justify-content:space-between;gap:12px}.table-action{padding:6px 10px;color:#2a6e52;background:#edf6f1}.billing-product-form{padding:0 24px 24px;border-top:1px solid #dfe8e3;background:#fbfdfc}.billing-product-form .section-heading{padding-right:0;padding-left:0}.billing-product-form h3{margin:4px 0 0}.billing-product-form .checkbox-label{display:flex;flex-direction:row;align-items:center;align-self:end;min-height:42px}.billing-product-form .checkbox-label input{width:auto}.form-help{color:#697970;font-size:.78rem}.form-actions{display:flex;justify-content:flex-end;gap:10px}.billing-history-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.billing-history{padding:22px 24px}.billing-history-row{display:flex;justify-content:space-between;gap:20px;padding:14px 0;border-top:1px solid #edf1ef}.billing-history-row>div:last-child{text-align:right}.empty-state{color:#78877f}@media(max-width:1000px){.metrics{grid-template-columns:repeat(2,1fr)}.grid,.billing-checklist{grid-template-columns:1fr}}@media(max-width:720px){.app-shell{grid-template-columns:1fr}aside{position:static;height:auto;padding:16px}.brand{padding-bottom:14px}.tenant-brand img{height:40px}nav{display:flex;max-width:calc(100vw - 32px);overflow:auto}nav button{flex:none}nav button span,.tenant-card{display:none}.workspace{padding:24px 16px}.resource-title{align-items:stretch;flex-direction:column;gap:16px}.resource-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.resource-actions button:last-child:nth-child(odd){grid-column:1 / -1}.opportunity{grid-template-columns:36px minmax(0,1fr) 80px}.email-columns{grid-template-columns:1fr}.message-list{max-height:300px;border-right:0;border-bottom:1px solid #e6ece8}.lead-filters,.form-grid,.resource-filters,.pipeline-filters,.record-workspace{grid-template-columns:1fr}.record-list{max-height:280px;overflow:auto;border-right:0;border-bottom:1px solid #e4ebe7}.opportunity em{display:none}.billing-hero{display:grid}.billing-history-grid{grid-template-columns:1fr}}@media(max-width:460px){.metrics{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}*:focus-visible{outline:3px solid #4aa77e;outline-offset:2px}.skip-link{position:fixed;top:8px;left:8px;z-index:1000;padding:10px 14px;border-radius:8px;color:#fff;background:#174c38;transform:translateY(-150%)}.skip-link:focus{transform:translateY(0)}.workspace h1:focus{outline:none}.import-preview{color:#000;text-align:left}.import-preview table{width:100%;border-collapse:collapse;color:#000}.import-preview th,.import-preview td{padding:8px;border:1px solid #000;text-align:left;vertical-align:top}.table-scroll{max-height:520px;overflow:auto;border:1px solid #000}
