.sales-workspace{display:grid;gap:18px;padding:20px 0 32px;color:#eef4f5}
.sales-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:190px;padding:23px 26px;border:1px solid #7b4b2f;border-radius:16px;background:radial-gradient(circle at 90% 20%,#80381855,transparent 45%),linear-gradient(125deg,#1a2a30,#0e171c)}
.sales-hero>div{min-width:0}.sales-hero>img{width:170px;height:150px;object-fit:contain;flex:none;filter:drop-shadow(0 12px 18px #000b)}
.sales-hero small,.sales-modal header small{color:#ff9b50;font-size:10px;font-weight:900;letter-spacing:.15em}
.sales-hero h2{margin:6px 0;font-size:clamp(23px,2.8vw,34px)}.sales-hero p{margin:0;color:#a9bcc4;font-size:12px}
.sales-hero-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:17px}.sales-hero-actions .btn{display:inline-flex;align-items:center;gap:7px}.sales-hero-actions img{width:28px;height:28px;object-fit:contain}
.sales-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.sales-kpi{display:grid;gap:5px;padding:16px;border:1px solid #35474f;border-radius:12px;background:#142128}.sales-kpi span{color:#a7b8c0;font-size:11px;font-weight:800}.sales-kpi strong{font-size:26px}.sales-kpi small{color:#ffae72;font-size:10px}
.sales-section{padding:18px;border:1px solid #35464e;border-radius:14px;background:#101b20}.sales-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:15px}.sales-section-head h3{margin:0;font-size:19px}.sales-section-head p{margin:4px 0 0;color:#a9b9c0;font-size:11px}
.sales-pipeline{display:flex;gap:8px;overflow:auto;padding:2px 0 12px;scrollbar-width:thin}.sales-pipeline button{display:flex;align-items:center;justify-content:space-between;gap:14px;flex:none;min-width:132px;padding:10px 12px;border:1px solid #43545c;border-radius:10px;background:#1a2930;color:#bacbd0;font-size:11px;font-weight:800;cursor:pointer}.sales-pipeline button b{display:grid;place-items:center;min-width:23px;height:23px;border-radius:50%;background:#28363d;color:#fff}.sales-pipeline button.active,.sales-pipeline button:hover{border-color:#f5893d;background:#4c2b1d;color:#fff}.sales-pipeline button.active b{background:#f78031;color:#111}
.sales-leads{display:grid;gap:7px}.sales-lead-card{display:flex;align-items:center;gap:12px;width:100%;padding:13px;border:1px solid #32444d;border-radius:10px;background:#17242b;color:#f0f5f6;text-align:left;cursor:pointer}.sales-lead-card:hover{border-color:#f6893b;background:#203039}.sales-lead-avatar{display:grid;place-items:center;width:38px;height:38px;flex:none;border:1px solid #995832;border-radius:50%;background:#493020;color:#ffbd8b;font-weight:900}.sales-lead-main{display:grid;gap:4px;min-width:0;flex:1}.sales-lead-main strong{font-size:13px}.sales-lead-main small,.sales-lead-side small{color:#aabcc4;font-size:10px}.sales-lead-side{display:grid;gap:4px;text-align:right}.sales-lead-side b{color:#ffaf71;font-size:11px}.sales-lead-card i{color:#ff9e5b;font-style:normal}
.sales-due-list{display:grid;gap:7px}.sales-due-card{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:10px 12px;border:1px solid #62452e;border-radius:9px;background:#2b211c;color:#f4eae3;text-align:left;cursor:pointer}.sales-due-card:hover{border-color:#f58d45}.sales-due-card span:first-child{display:grid;gap:3px}.sales-due-card b{font-size:11px}.sales-due-card small,.sales-due-card span:nth-child(2){color:#d0ad93;font-size:10px}.sales-due-card i{color:#ff9e5b;font-style:normal}
.sales-role-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}.sales-role-card{display:grid;justify-items:center;gap:6px;min-height:153px;padding:9px;border:1px solid #3b4c53;border-radius:12px;background:radial-gradient(circle at 50% 25%,#9d4b221b,transparent 60%),#172329;color:#eff4f5;text-align:center;cursor:pointer}.sales-role-card:hover,.sales-role-card.active{border-color:#f48438;box-shadow:0 7px 20px #0008}.sales-role-card img{width:92px;height:92px;object-fit:contain}.sales-role-card span{display:grid;gap:3px}.sales-role-card strong{font-size:11px}.sales-role-card small{color:#a9bac1;font-size:10px}
.sales-team-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(255px,1fr));gap:9px;margin-top:13px}.sales-person-card{display:flex;align-items:start;gap:10px;min-width:0;padding:13px;border:1px solid #35474f;border-radius:10px;background:#17242b}.sales-person-card>div:first-of-type{min-width:0;flex:1}.sales-person-card strong,.sales-person-card small{display:block}.sales-person-card strong{font-size:12px}.sales-person-card small{margin-top:3px;color:#a8bac1;font-size:10px}.sales-person-dot{width:8px;height:8px;flex:none;margin-top:5px;border-radius:50%;background:#58666c}.sales-person-dot.online{background:#40d795;box-shadow:0 0 8px #40d795}.sales-person-metrics{display:grid;gap:4px;min-width:112px;color:#aabcc3;font-size:9px;text-align:right}.sales-person-metrics b{color:#ffad70}.sales-team-map{height:310px;margin-top:14px;border:1px solid #43555d;border-radius:10px;overflow:hidden;background:#142028}.sales-team-map>.ops-empty{display:grid;place-items:center;height:100%}
.sales-note{color:#a8b8c0;font-size:11px;line-height:1.5}
.sales-modal-overlay{position:fixed;inset:0;z-index:10070;display:grid;place-items:center;padding:15px;background:#020609e5;backdrop-filter:blur(7px)}.sales-modal{width:min(720px,100%);max-height:calc(100vh - 30px);overflow:auto;border:1px solid #a2623b;border-radius:16px;background:radial-gradient(circle at 95% 0,#79381e55,transparent 45%),linear-gradient(145deg,#1b292f,#0d171c);box-shadow:0 25px 90px #000e;color:#eef4f5}.sales-modal-wide{width:min(960px,100%)}
.sales-modal header{display:flex;align-items:start;justify-content:space-between;gap:12px;padding:19px 22px;border-bottom:1px solid #3a4c54}.sales-modal header h2{margin:4px 0;font-size:22px}.sales-modal header p{margin:0;color:#a9b9c1;font-size:11px}.sales-modal header button{border:0;background:none;color:#eaf0f1;font-size:25px;cursor:pointer}
.sales-modal-body{display:grid;gap:13px;padding:18px 22px}.sales-modal-body h3{margin:12px 0 0;padding-bottom:5px;border-bottom:1px solid #3d4e55;color:#f4f7f8;font-size:14px}.sales-modal footer{display:flex;justify-content:flex-end;gap:9px;padding:14px 22px;border-top:1px solid #3a4c54}
.sales-modal-body>.btn{display:inline-flex;align-items:center;justify-self:start;gap:8px}.sales-modal-body>.btn img{width:28px;height:28px;object-fit:contain;flex:none}
.sales-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.sales-form-grid label,.sales-wide-field{display:grid;gap:5px;min-width:0;color:#c5d2d6;font-size:11px;font-weight:800}.sales-form-grid .input,.sales-wide-field .input,.sales-modal-body .input{width:100%;min-height:37px;background:#0d181e;color:#f0f5f6}.sales-wide-field textarea{min-height:80px;resize:vertical}.sales-lead-summary{display:flex;flex-wrap:wrap;gap:7px}.sales-lead-summary span{padding:5px 8px;border:1px solid #43535a;border-radius:999px;color:#adc0c7;font-size:10px}
.sales-stage-options,.sales-choice-grid{display:flex;flex-wrap:wrap;gap:7px}.sales-stage-options button,.sales-choice-grid button,.sales-followup-actions button{padding:8px 10px;border:1px solid #45565e;border-radius:8px;background:#1c2a30;color:#b9c9cf;font-size:11px;font-weight:800;cursor:pointer}.sales-stage-options button:hover,.sales-stage-options button.active,.sales-choice-grid button:hover,.sales-choice-grid button.active,.sales-followup-actions button.active{border-color:#f58b42;background:#4b2e1e;color:#fff}
.sales-record-list{display:grid;gap:8px}.sales-record{display:flex;align-items:start;gap:11px;padding:12px;border:1px solid #394b53;border-radius:10px;background:#142027}.sales-record>img{width:37px;height:37px;object-fit:contain;flex:none}.sales-record>div:nth-child(2){min-width:0;flex:1}.sales-record b,.sales-record small,.sales-record a{display:block}.sales-record b{font-size:12px}.sales-record small{margin-top:4px;color:#a9bac2;font-size:10px}.sales-record a{margin-top:5px;color:#ffad73;font-size:11px}.sales-record p{margin:6px 0;color:#d8e1e4;font-size:11px}.sales-record-actions,.sales-followup-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:5px}.sales-followup-actions{max-width:230px}.sales-followup-actions button{padding:5px 6px;font-size:9px}
.sales-doc-list{display:flex;flex-wrap:wrap;gap:7px}.sales-upload{display:grid;gap:6px;color:#c7d2d6;font-size:11px}.sales-upload input{color:#d7e2e5}.sales-modal-body fieldset{margin:0;padding:0;border:0}.sales-modal-body legend{margin-bottom:7px;font-size:11px;font-weight:800}.sales-quote-result{padding:14px;border:1px solid #e5833d;border-radius:9px;background:#432b1d}.sales-quote-result p{margin:6px 0;color:#d3e0e4;font-size:11px}.sales-quote-result a{color:#ffbb84;font-weight:800}
@media(max-width:1000px){.sales-role-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.sales-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.sales-workspace{padding:10px 0}.sales-hero{padding:16px;min-height:0}.sales-hero>img{width:86px;height:96px}.sales-hero h2{font-size:23px}.sales-section{padding:12px}.sales-role-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sales-lead-side{max-width:104px}.sales-form-grid{grid-template-columns:1fr}.sales-modal-body{padding:14px}.sales-record{flex-wrap:wrap}.sales-record-actions,.sales-followup-actions{width:100%;max-width:none;justify-content:flex-start}}
.sales-person-map-marker{border:2px solid #ff762c;border-radius:50%;background:#11181c;box-shadow:0 0 0 4px #ff762c38,0 7px 18px #0009;overflow:hidden}
.sales-person-map-marker img{display:block;width:100%;height:100%;object-fit:cover}
