:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{margin:0;min-width:320px}.foundation-page{align-items:center;background:linear-gradient(135deg,#f8f3ec,#e9f0e8);box-sizing:border-box;display:flex;justify-content:center;min-height:100vh;padding:1.5rem}.foundation-card{background:#fff;border:1px solid #e8dfd4;border-radius:1rem;box-shadow:0 1.25rem 3.75rem #3a2b1c1f;max-width:38rem;padding:3rem}.loading-message{color:#5f584f;font-size:1rem}.eyebrow{color:#8a4b22;font-size:.875rem;font-weight:700;letter-spacing:.12em;margin:0 0 .75rem;text-transform:uppercase}.brand-home{background:transparent;color:#8a4b22;font-size:.875rem;letter-spacing:.12em;margin:0 0 .75rem;padding:0;text-transform:uppercase}.brand-home:hover:not(:disabled){background:transparent;color:#5b301a;text-decoration:underline}h1{color:#242019;font-size:clamp(2rem,6vw,3.25rem);line-height:1.05;margin:0}.intro,.next-step{color:#5f584f;line-height:1.65}.intro{font-size:1.125rem;margin:1.25rem 0}.login-form{display:grid;gap:.625rem;margin-top:2rem}.login-form label{color:#40382f;font-size:.9375rem;font-weight:700}.login-form input{border:1px solid #cfc4b7;border-radius:.5rem;color:#242019;font:inherit;padding:.75rem}.login-form input:focus{border-color:#8a4b22;box-shadow:0 0 0 3px #8a4b2229;outline:none}button{background:#8a4b22;border:0;border-radius:.5rem;color:#fff;cursor:pointer;font:inherit;font-weight:700;margin-top:.75rem;padding:.8125rem 1rem}button:hover:not(:disabled){background:#6e3b1b}button:disabled{cursor:wait;opacity:.7}.secondary-button{background:#5f584f;margin-top:1.5rem}.secondary-button:hover:not(:disabled){background:#403a33}.form-error{color:#aa2e25;font-size:.9375rem;line-height:1.5;margin:.5rem 0 0}.status{align-items:center;background:#eef7ee;border-radius:.5rem;color:#285a31;display:flex;font-weight:700;gap:.5rem;padding:.875rem 1rem}.status span{background:#3d9c50;border-radius:50%;height:.625rem;width:.625rem}.next-step{font-size:.9375rem;margin:1.5rem 0 0}.crm-shell{background:#f6f3ee;box-sizing:border-box;color:#242019;min-height:100vh;padding:2rem clamp(1rem,4vw,4rem) 4rem}.crm-header{align-items:flex-start;display:flex;gap:2rem;justify-content:space-between;margin:0 auto 2rem;max-width:90rem}.crm-header h1{font-size:clamp(2rem,4vw,3.5rem)}.crm-header>div:first-child>p:last-child{color:#696158;margin:.75rem 0 0}.account-block{align-items:flex-end;display:flex;flex-direction:column;gap:.15rem;min-width:11rem}.account-block span{font-weight:700}.account-block small{color:#746b62;text-transform:capitalize}.header-actions{align-items:center;display:flex;gap:1rem}.zoho-header-sync{align-items:flex-end;display:flex;flex-direction:column;gap:.25rem;margin-top:.5rem}.zoho-header-status{color:#625c55;font-size:.8rem;font-weight:700}.zoho-header-button{margin:0;min-width:auto}.zoho-header-message{margin:0;max-width:22rem;text-align:right}.text-button,.quiet-button{background:transparent;color:#7c4628;margin:.25rem 0 0;padding:.25rem 0}.text-button:hover:not(:disabled),.quiet-button:hover:not(:disabled){background:transparent;color:#4f2916;text-decoration:underline}.crm-grid{align-items:start;display:grid;gap:1.5rem;grid-template-columns:minmax(22rem,.9fr) minmax(28rem,1.25fr);margin:0 auto;max-width:90rem}.panel{background:#fff;border:1px solid #e4ddd3;border-radius:1rem;box-shadow:0 .9rem 2.5rem #48331f12;padding:clamp(1.25rem,3vw,2rem)}.panel-heading{align-items:center;display:flex;justify-content:space-between;margin-bottom:1.5rem}.panel-heading h2{font-size:1.55rem;margin:.15rem 0 0}.section-kicker{color:#8a4b22;font-size:.75rem;font-weight:800;letter-spacing:.1em;margin:0;text-transform:uppercase}.count-badge{align-items:center;background:#f2e9df;border-radius:999px;color:#74411f;display:inline-flex;font-weight:800;height:2.25rem;justify-content:center;min-width:2.25rem}.lead-form{display:grid;gap:1rem}.lead-form label{color:#40382f;display:grid;font-size:.9rem;font-weight:700;gap:.45rem}.lead-form input,.lead-form select,.lead-form textarea{background:#fff;border:1px solid #cfc6bb;border-radius:.55rem;box-sizing:border-box;color:#242019;font:inherit;padding:.75rem;width:100%}.lead-form textarea{resize:vertical}.lead-form input:focus,.lead-form select:focus,.lead-form textarea:focus{border-color:#8a4b22;box-shadow:0 0 0 3px #8a4b2221;outline:none}.field-row{display:grid;gap:1rem;grid-template-columns:1fr 1fr}.primary-button{justify-self:start;margin-top:.25rem;min-width:9rem}.warning-card{background:#fff7df;border:1px solid #e4bd58;border-radius:.65rem;color:#5d4413;padding:1rem}.warning-card p{font-size:.9rem;margin:.4rem 0 .75rem}.warning-card button{background:#725019;display:block;margin:.4rem 0 0;text-align:left;width:100%}.lead-list{display:grid;gap:.75rem}.lead-list-filters{display:grid;grid-template-columns:minmax(0,1fr) minmax(10rem,.45fr);gap:.75rem;margin:.5rem 0 1rem}.lead-list-filters label{color:var(--muted);display:grid;font-size:.82rem;font-weight:700;gap:.35rem}.lead-card{background:#fff;border:1px solid #e3ddd4;color:#3f382f;display:grid;gap:.45rem;margin:0;padding:1rem;width:100%}.lead-card:hover{background:#fbf8f4;border-color:#c7aa91}.lead-record-open,.customer-record-open,.dashboard-record-open{background:transparent;color:inherit;display:grid;gap:.45rem;margin:0;padding:0;text-align:left;width:100%}.lead-record-open:hover:not(:disabled),.customer-record-open:hover:not(:disabled),.dashboard-record-open:hover:not(:disabled){background:transparent;color:#8a4b22}.customer-record-open{align-items:center;display:flex;flex:1;justify-content:space-between;min-width:0}.lead-card-topline{align-items:center;display:flex;gap:1rem;justify-content:space-between}.lead-card strong{color:#242019;font-size:1.05rem}.lead-card small{color:#81766a}.status-pill{background:#eee9e3;border-radius:999px;color:#5f584f;font-size:.72rem;font-weight:800;padding:.35rem .6rem;white-space:nowrap}.status-new{background:#e8f0fa;color:#315b83}.status-contacted{background:#e5f3ec;color:#296044}.status-interested{background:#e8f4df;color:#426521}.status-follow-up-required{background:#fff1cc;color:#6b4e08}.status-not-interested,.status-lost{background:#f4e6e3;color:#7d3a32}.empty-state{color:#71685f;padding:2.5rem 1rem;text-align:center}.empty-state p{margin-bottom:0}.activity-section{border-top:1px solid #e5ddd4;margin-top:2rem;padding-top:2rem}.activity-heading{margin-bottom:1rem}.activity-heading h2{font-size:1.25rem}.activity-form{background:#f8f5f0;border:1px solid #e6ded4;border-radius:.75rem;display:grid;gap:.9rem;padding:1rem}.activity-form label{color:#40382f;display:grid;font-size:.88rem;font-weight:700;gap:.4rem}.activity-form input,.activity-form select,.activity-form textarea{background:#fff;border:1px solid #cfc6bb;border-radius:.5rem;box-sizing:border-box;color:#242019;font:inherit;padding:.7rem;width:100%}.activity-form input:focus,.activity-form select:focus,.activity-form textarea:focus{border-color:#8a4b22;box-shadow:0 0 0 3px #8a4b2221;outline:none}.activity-history{display:grid;gap:.75rem;margin-top:1rem}.activity-card{border-left:3px solid #b88964;padding:.15rem 0 .15rem .9rem}.activity-card>div{align-items:center;display:flex;gap:.5rem}.activity-card p{color:#4e463d;line-height:1.5;margin:.45rem 0;white-space:pre-wrap}.activity-card small{color:#81766a}.activity-icon{background:#8a4b22;border-radius:50%;height:.6rem;width:.6rem}.activity-note{background:#777169}.contact-badge,.note-badge{border-radius:999px;font-size:.68rem;font-weight:800;padding:.25rem .45rem;text-transform:uppercase}.follow-up-section{border-top:1px solid #e5ddd4;margin-top:2rem;padding-top:2rem}.conversion-section{align-items:center;background:#eef7ee;border:1px solid #cce3d1;border-radius:.75rem;display:flex;gap:1rem;justify-content:space-between;margin-top:2rem;padding:1rem}.conversion-section h2{font-size:1.12rem;margin:.2rem 0}.conversion-section p:not(.section-kicker):not(.form-error):not(.success-message){color:#48604e;font-size:.9rem;margin:0}.conversion-button{background:#2d7043;margin:0;white-space:nowrap}.conversion-button:hover:not(:disabled){background:#205434}.customers-panel{margin:0 auto;max-width:90rem}.customer-list{display:grid;gap:.7rem}.customer-card{align-items:center;border:1px solid #e6dfd6;border-radius:.65rem;display:flex;gap:1rem;justify-content:space-between;padding:.9rem}.customer-card>div:first-child,.customer-card-meta{display:grid;gap:.25rem}.customer-card small{color:#776d63}.customer-card-meta{justify-items:end}.customer-toolbar{display:grid;gap:.85rem;grid-template-columns:minmax(15rem,1.5fr) minmax(11rem,1fr) minmax(11rem,1fr);margin:1.25rem 0}.customer-toolbar label{color:#40382f;display:grid;font-size:.8rem;font-weight:800;gap:.35rem}.customer-toolbar input,.customer-toolbar select{background:#fff;border:1px solid #cfc4b7;border-radius:.5rem;color:#242019;font:inherit;font-weight:400;min-height:2.6rem;padding:.5rem .65rem}.customer-summary-card{background:#fff;color:#242019;margin:0;width:100%}.customer-summary-card:hover{background:#fffaf5;border-color:#ba7b45;box-shadow:0 .35rem 1rem #48331f14}.customer-card-primary,.customer-summary-meta{display:grid;gap:.3rem}.customer-summary-meta{justify-items:end}.customer-open-action{color:#8a4b22;font-size:.82rem;font-weight:800;white-space:nowrap}.whatsapp-action{background:#e4f1e8;border:1px solid #b9d5bf;border-radius:.45rem;color:#28613a;font-size:.78rem;font-weight:800;line-height:1.25;padding:.45rem .6rem;text-align:center;text-decoration:none;width:fit-content}.whatsapp-action:hover{background:#d5ebda;color:#1f5130;text-decoration:underline}.whatsapp-profile-action{display:inline-block;margin:-.5rem 0 1.5rem}.customer-bucket{width:fit-content}.bucket-recently-ordered{background:#e4f1e8;color:#28613a}.bucket-due-reorder{background:#fff0d1;color:#825313}.bucket-lost-customer{background:#f9dfdd;color:#96342d}.bucket-order-not-confirmed{background:#ece9e5;color:#625c55}.customer-detail-panel>.quiet-button{margin:0 0 1.25rem}.customer-profile-heading{align-items:flex-start}.customer-metric-grid{display:grid;gap:.75rem;grid-template-columns:repeat(4,minmax(0,1fr));margin:1rem 0 1.5rem}.customer-metric{background:#f8f5f0;border:1px solid #e8dfd4;border-radius:.65rem;display:grid;gap:.3rem;padding:.85rem}.customer-metric small{color:#776d63;font-weight:700}.customer-metric strong{color:#443124;font-size:1.05rem}.customer-contact-grid{display:grid;gap:.75rem;grid-template-columns:repeat(4,minmax(0,1fr));margin:0 0 1.5rem}.customer-detail-grid{display:grid;gap:1rem;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr)}.customer-detail-card{border:1px solid #e6dfd6;border-radius:.7rem;padding:1rem}.customer-detail-card h3{margin:0}.order-table-wrap{overflow-x:auto}.order-table{border-collapse:collapse;margin-top:1rem;min-width:31rem;width:100%}.order-table th,.order-table td{border-bottom:1px solid #eee7df;padding:.65rem .4rem;text-align:left}.order-table th{color:#776d63;font-size:.75rem;text-transform:uppercase}.order-table td:last-child,.order-table th:last-child{text-align:right}.communication-list{display:grid;gap:.7rem;list-style:none;margin:1rem 0 0;padding:0}.communication-list li{border-left:3px solid #c78c4d;display:grid;gap:.3rem;padding:.2rem 0 .2rem .75rem}.communication-list li>div{display:grid;gap:.2rem}.communication-list small{color:#776d63}.communication-list p{color:#51483f;line-height:1.45;margin:0}.activity-outcome{background:#eef3e9;border-radius:999px;color:#3c663c;font-size:.76rem;font-weight:800;padding:.22rem .5rem;width:fit-content}.follow-up-card{border-left:3px solid #d3a13d;display:grid;gap:.45rem;padding:.2rem 0 .25rem .9rem}.follow-up-card>div:first-child{align-items:center;display:flex;gap:.5rem}.follow-up-card small{color:#81766a}.follow-up-actions{display:flex;flex-wrap:wrap;gap:.5rem}.follow-up-actions button{background:#67594e;font-size:.82rem;margin:0;padding:.45rem .65rem}.reschedule-controls{display:flex;gap:.5rem}.reschedule-controls input{border:1px solid #cfc6bb;border-radius:.45rem;font:inherit;padding:.3rem .45rem}.dashboard-counts{display:grid;gap:1rem;grid-template-columns:repeat(4,1fr);margin:0 auto 1.5rem;max-width:90rem}.summary-card{background:#fff;border:1px solid #e4ddd3;border-radius:.9rem;box-shadow:0 .5rem 1.5rem #48331f0d;display:grid;gap:.35rem;padding:1.15rem}.summary-card-label{align-items:center;display:flex;gap:.5rem;justify-content:space-between}.summary-card-label>span{color:#6e645a;font-size:.86rem;font-weight:700}.summary-card-label>small{color:#2f613d;font-size:.72rem;font-weight:800;white-space:nowrap}.summary-recovery-insights{align-items:flex-end;display:flex;flex-direction:column;font-size:.68rem;gap:.15rem;line-height:1.2;text-align:right}.summary-revived{color:#2f613d}.summary-newly-lost{color:#a63e32}.summary-card strong{color:#29231d;font-size:2rem}.summary-card-clickable{color:#242019;cursor:pointer;margin:0;text-align:left;width:100%}.summary-card-clickable:hover:not(:disabled){background:#fffaf5;border-color:#ba7b45;box-shadow:0 .75rem 1.8rem #48331f1f}.summary-card-clickable small{color:#8a4b22;font-size:.78rem;font-weight:800}.summary-urgent{border-top:4px solid #b44b3e}.summary-new{border-top:4px solid #4d80b2}.summary-warm{border-top:4px solid #bd8526}.summary-muted{border-top:4px solid #81766a}.summary-ordered{border-top:4px solid #468458}.dashboard-grid{display:grid;gap:1.5rem;grid-template-columns:repeat(2,minmax(0,1fr));margin:0 auto;max-width:90rem}.dashboard-section{background:#fff;border:1px solid #e4ddd3;border-radius:1rem;box-shadow:0 .9rem 2.5rem #48331f12;padding:clamp(1.25rem,3vw,1.75rem)}.weekly-new-customers,.customer-recovery-section{margin:0 auto 1.5rem;max-width:90rem}.paid-sales-trend,.sales-graph-area{margin:1.5rem auto 0;max-width:90rem}.sales-graph-area .paid-sales-trend{margin-top:.75rem}.sales-graph-picker{align-items:center;color:#665748;display:flex;font-size:.82rem;font-weight:800;gap:.55rem;justify-content:flex-end}.sales-graph-picker select{background:#fffdf9;border:1px solid #d8c7b5;border-radius:.45rem;color:#403126;font:inherit;padding:.45rem 1.8rem .45rem .6rem}.paid-sales-private{background:#edf1f6;border-radius:999px;color:#45617c;font-size:.74rem;font-weight:800;padding:.4rem .6rem}.paid-sales-summary,.paid-sales-period-grid{display:grid;gap:.75rem;grid-template-columns:repeat(2,minmax(0,1fr))}.financial-year-summary{display:grid;gap:.75rem;grid-template-columns:repeat(3,minmax(0,1fr));margin:1rem 0}.financial-year-summary article{background:#fbfaf7;border:1px solid #e7e0d8;border-radius:.7rem;display:grid;gap:.3rem;padding:.85rem}.financial-year-summary article:nth-child(2){background:#fff8eb;border-color:#e5c98c}.financial-year-summary small,.financial-year-summary span{color:#746b62;font-size:.8rem;font-weight:700}.financial-year-summary strong{color:#413021;font-size:1.55rem}.paid-sales-summary{margin:1rem 0}.paid-sales-summary article,.paid-sales-period{background:#fbfaf7;border:1px solid #e7e0d8;border-radius:.7rem;display:grid;gap:.3rem;padding:.85rem}.paid-sales-summary article:first-child{background:#fff8eb;border-color:#e5c98c}.paid-sales-summary small,.paid-sales-summary span,.paid-sales-period span{color:#746b62;font-size:.8rem;font-weight:700}.paid-sales-summary strong{color:#413021;font-size:1.55rem}.paid-sales-chart-wrap{background:#fffdf9;border:1px solid #ece4da;border-radius:.75rem;margin:1rem 0;padding:.85rem}.paid-sales-legend{display:flex;flex-wrap:wrap;gap:1rem;margin-bottom:.5rem}.paid-sales-legend span,.paid-sales-period span{align-items:center;display:flex;gap:.35rem}.paid-sales-legend span{color:#5c5146;font-size:.8rem;font-weight:800}.paid-sales-current,.paid-sales-previous,.financial-sales-actual,.financial-sales-projected{border-radius:999px;display:inline-block;height:.5rem;width:.5rem}.paid-sales-current{background:#bd8526}.paid-sales-previous{background:#5a8870}.financial-sales-actual{background:#bd8526}.financial-sales-projected{background:#8e5c9f}.paid-sales-chart{display:block;height:auto;overflow:visible;width:100%}.paid-sales-gridline{stroke:#e9e1d7;stroke-width:1}.paid-sales-line{fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:4}.paid-sales-line-current{stroke:#bd8526}.paid-sales-line-previous{stroke:#5a8870}.financial-sales-line{fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:4}.financial-sales-line-actual{stroke:#bd8526}.financial-sales-line-previous{stroke:#5a8870}.financial-sales-line-projected{stroke:#8e5c9f;stroke-dasharray:7 6}.paid-sales-hover-target{cursor:crosshair;fill:transparent;outline:none}.paid-sales-hover-target:hover,.paid-sales-hover-target:focus{fill:#bd852614}.paid-sales-tooltip{align-items:center;background:#2f2923;border-radius:.55rem;color:#fff;display:flex;flex-wrap:wrap;gap:.45rem .9rem;margin:.6rem 0 0;padding:.55rem .7rem}.paid-sales-tooltip strong,.paid-sales-tooltip span{align-items:center;display:inline-flex;font-size:.78rem;gap:.35rem}.paid-sales-tooltip span{color:#f5eee5}.paid-sales-axis-label{fill:#81766a;font-size:12px;font-weight:700}.paid-sales-chart-caption{color:#81766a;font-size:.75rem;font-weight:700;margin:-.35rem 0 0;text-align:right}.paid-sales-period-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.paid-sales-period strong{color:#4a3b2e;font-size:.82rem}.paid-sales-empty{padding:1rem 0}.product-mix-table-wrap{overflow-x:auto}.product-mix-table{border-collapse:collapse;min-width:42rem;width:100%}.product-mix-table th,.product-mix-table td{border-bottom:1px solid #e6dfd6;padding:.9rem .75rem;text-align:right;vertical-align:middle}.product-mix-table thead th{color:#645a50;font-size:.78rem;text-transform:uppercase}.product-mix-table th:first-child{text-align:left}.product-mix-table tbody th{color:#2f2924}.product-mix-table td strong,.product-mix-table td span{display:block}.product-mix-table td strong{color:#29231f;font-size:.95rem}.product-mix-table td span{color:#72685e;font-size:.78rem;margin-top:.18rem}.product-mix-table tfoot th,.product-mix-table tfoot td{border-bottom:0;color:#7a471a;font-weight:800}.business-advisor-section{margin-bottom:1.25rem}.advisor-suggestions{display:flex;flex-wrap:wrap;gap:.55rem;margin:1rem 0}.advisor-suggestions button{background:#f3eee6;border:1px solid #dfd1bf;border-radius:999px;color:#754111;cursor:pointer;font:inherit;font-size:.85rem;padding:.42rem .7rem;text-align:left}.advisor-suggestions button:hover,.advisor-suggestions button:focus-visible{background:#fff8ef;border-color:#b7791f}.advisor-question-label{display:block;font-weight:700;margin-bottom:.4rem}.business-advisor-section textarea{border:1px solid #d8c9b7;border-radius:.55rem;box-sizing:border-box;font:inherit;min-height:5.5rem;padding:.7rem;resize:vertical;width:100%}.business-advisor-section textarea:focus{border-color:#9d641c;outline:3px solid rgba(157,100,28,.16)}.advisor-ask-button{margin-top:.75rem}.advisor-answer{background:#f8f4ed;border-left:4px solid #b7791f;margin-top:1rem;padding:.9rem 1rem}.advisor-answer p{line-height:1.55;margin:.35rem 0}.advisor-answer h3,.advisor-answer h4,.advisor-answer h5{color:#4b2e18;margin:1rem 0 .4rem}.advisor-answer h3{font-size:1.14rem}.advisor-answer h4{font-size:1rem}.advisor-answer h5{font-size:.92rem}.advisor-answer ol,.advisor-answer ul{line-height:1.55;margin:.5rem 0 .8rem;padding-left:1.35rem}.advisor-table-wrap{margin:.7rem 0 1rem;overflow-x:auto}.advisor-table{border-collapse:collapse;font-size:.9rem;min-width:620px;width:100%}.advisor-table th,.advisor-table td{border-bottom:1px solid #e2d7ca;padding:.55rem;text-align:left;vertical-align:top}.advisor-table th{background:#f1e8dc;color:#5f3917;font-weight:800}.recovery-week-comparison{display:grid;gap:1rem;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:1rem}.recovery-week{background:#fffdf9;border:1px solid #e8dfd4;border-radius:.75rem;padding:.9rem}.recovery-week-label{color:#51473c;font-size:.88rem}.recovery-metrics{display:grid;gap:.75rem;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:1rem}.recovery-metric{background:#f8f5f0;border:1px solid #e8dfd4;border-radius:.65rem;display:grid;gap:.35rem;padding:.85rem}.recovery-metric-clickable{cursor:pointer;margin:0;text-align:left}.recovery-metric-clickable:hover:not(:disabled){background:#f4f8f3;border-color:#8ab08b;box-shadow:0 .35rem 1rem #2f613d1f}.recovery-metric-clickable span{color:#2f613d;font-size:.72rem;font-weight:800;text-decoration:underline;text-underline-offset:.16rem}.recovery-metric small{color:#776d63;font-size:.78rem;font-weight:800}.recovery-metric strong{color:#443124;font-size:1.45rem}.recovery-metric-good{background:#eef5ed;border-color:#cfe1ce}.recovery-metric-good strong{color:#2f613d}.recovery-metric-bad{background:#fcf0ee;border-color:#efd0cb}.recovery-metric-bad strong{color:#a63e32}.recovery-net{border-radius:999px;font-size:.78rem;font-weight:800;padding:.4rem .65rem;white-space:nowrap}.recovery-net-good{background:#e4f1e8;color:#28613a}.recovery-net-bad{background:#f9dfdd;color:#96342d}.weekly-customer-comparison{display:grid;gap:.75rem;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:1rem}.weekly-customer-count{background:#eef5ed;border:1px solid #d7e5d6;border-radius:.65rem;color:inherit;cursor:pointer;display:grid;gap:.35rem;margin:0;padding:.9rem;text-align:left}.weekly-customer-count:hover:not(:disabled){background:#f4f8f3;border-color:#8ab08b;box-shadow:0 .5rem 1.3rem #2f613d1f}.weekly-customer-count:active:not(:disabled){background:#eef5ed;border-color:#8ab08b}.weekly-customer-count:focus-visible{outline:3px solid #b78436;outline-offset:2px}.weekly-customer-count small{color:#536653;font-weight:700;line-height:1.35}.weekly-customer-count strong{color:#2f613d;font-size:1.8rem}.weekly-customer-count span{color:#2f613d;font-size:.82rem;font-weight:800;text-decoration:underline;text-underline-offset:.16rem}.dashboard-section-heading,.dashboard-section summary{align-items:center;display:flex;justify-content:space-between}.dashboard-section h2,.dashboard-section summary strong{color:#2b241e;display:block;font-size:1.4rem;margin:.15rem 0 0}.dashboard-section summary{cursor:pointer;list-style:none}.dashboard-section summary::-webkit-details-marker{display:none}.dashboard-description{color:#746b62;font-size:.92rem;line-height:1.5;margin:.85rem 0}.dashboard-list{display:grid;gap:.5rem}.dashboard-row{align-items:center;background:#fff;border:1px solid #e6dfd6;color:#413a32;display:grid;gap:.7rem;grid-template-columns:auto minmax(0,1fr) auto;margin:0;padding:.75rem;text-align:left;width:100%}.dashboard-row:hover{background:#fbf8f4;border-color:#c7aa91}.dashboard-row-content{display:grid;gap:.2rem;min-width:0}.dashboard-row-content small{color:#776d63;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dashboard-row-actions{align-items:flex-end;display:grid;gap:.45rem;justify-items:end}.priority-dot{background:#d79a35;border-radius:50%;height:.65rem;width:.65rem}.priority-overdue{background:#b74436}.priority-neutral{background:#7993ab}.due-date{color:#765512;font-size:.78rem;font-weight:800;white-space:nowrap}.overdue-label{color:#a6372c}.dashboard-action{margin-top:1rem}.dashboard-empty{padding:1.5rem 0}.dashboard-section-muted{grid-column:1 / -1}.dashboard-error{margin:2rem auto;max-width:90rem}.bucket-subheading{color:#51473c;font-size:.9rem;margin:1.15rem 0 .6rem}.customer-bucket-row{align-items:center;border:1px solid #e6dfd6;border-radius:.6rem;display:flex;gap:.75rem;justify-content:space-between;padding:.75rem}.customer-bucket-open{background:transparent;color:#242019;display:grid;gap:.2rem;margin:0;padding:0;text-align:left}.customer-bucket-open:hover:not(:disabled){background:transparent;color:#8a4b22;text-decoration:underline}.customer-bucket-row small{color:#776d63}.customer-bucket-meta{align-items:center;display:flex;flex-wrap:wrap;gap:.5rem;justify-content:flex-end}.reminder-action{background:#725019;font-size:.76rem;margin:0;padding:.4rem .55rem}.team-activity-row{align-items:center;border:1px solid #e6dfd6;border-radius:.65rem;display:flex;gap:1rem;justify-content:space-between;padding:.75rem}.team-activity-row span{color:#6e645a;font-size:.88rem}.team-activity-row b{color:#2f613d}.team-grid{align-items:start;display:grid;gap:1.5rem;grid-template-columns:minmax(20rem,.8fr) minmax(26rem,1.2fr);margin:0 auto;max-width:90rem}.form-help{color:#746b62;font-size:.85rem;line-height:1.5;margin:-.25rem 0 0}.success-message{color:#28613a;font-size:.93rem;font-weight:700;line-height:1.5;margin:1rem 0 0}.user-list{display:grid;gap:.65rem}.user-card{align-items:center;border:1px solid #e6dfd6;border-radius:.65rem;display:flex;gap:1rem;justify-content:space-between;padding:.85rem}.user-card>div:first-child{display:grid;gap:.2rem}.user-card small{color:#776d63}.user-card-actions{align-items:center;display:flex;flex-wrap:wrap;gap:.45rem;justify-content:flex-end}.account-status{color:#776d63;font-size:.78rem;font-weight:800}.enabled-status{color:#2b7241}.disable-button{background:#7d3a32;font-size:.78rem;margin:0;padding:.45rem .6rem}.disable-button:hover:not(:disabled){background:#612c26}.contact-badge{background:#e4f1e8;color:#2c6340}.note-badge{background:#ece9e5;color:#625c55}@media(max-width:860px){.crm-grid{grid-template-columns:1fr}.crm-header{align-items:stretch;flex-direction:column}.account-block,.zoho-header-sync{align-items:flex-start}.zoho-header-message{text-align:left}.dashboard-counts{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr}.recovery-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.recovery-week-comparison{grid-template-columns:1fr}.paid-sales-period-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.financial-year-summary,.team-grid,.customer-toolbar,.customer-detail-grid{grid-template-columns:1fr}.customer-metric-grid,.customer-contact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-section-muted{grid-column:auto}}@media(max-width:560px){.field-row,.lead-list-filters{grid-template-columns:1fr}.crm-shell{padding:1.25rem .75rem 3rem}.dashboard-counts{grid-template-columns:1fr 1fr}.weekly-customer-comparison{grid-template-columns:1fr}.recovery-metrics{grid-template-columns:1fr 1fr}.paid-sales-summary,.paid-sales-period-grid,.financial-year-summary{grid-template-columns:1fr}.sales-graph-picker{justify-content:flex-start}.dashboard-row{grid-template-columns:auto minmax(0,1fr)}.user-card{align-items:flex-start;flex-direction:column}.team-activity-row{align-items:flex-start;flex-direction:column;gap:.25rem}.customer-bucket-row{align-items:flex-start;flex-direction:column}.customer-bucket-meta{justify-content:flex-start}.conversion-section,.customer-card{align-items:flex-start;flex-direction:column}.customer-card-meta{justify-items:start}.customer-summary-card{align-items:flex-start}.customer-record-open{align-items:flex-start;flex-direction:column}.customer-summary-meta{justify-items:start}.customer-metric-grid,.customer-contact-grid{grid-template-columns:1fr}.user-card-actions{justify-content:flex-start}.dashboard-row .status-pill,.dashboard-row .due-date,.dashboard-row-actions{grid-column:2;justify-self:start}.dashboard-row-actions{justify-items:start}}
