@font-face{font-family:Inter;src:url('/assets/font-0.woff') format('woff');font-weight:400;font-display:swap}@font-face{font-family:Inter;src:url('/assets/font-1.woff') format('woff');font-weight:500;font-display:swap}@font-face{font-family:Inter;src:url('/assets/font-2.woff') format('woff');font-weight:600;font-display:swap}@font-face{font-family:Inter;src:url('/assets/font-3.woff') format('woff');font-weight:700;font-display:swap}@font-face{font-family:Montserrat;src:url('/assets/font-5.woff') format('woff');font-weight:700;font-display:swap}
:root{--ink:#173f49;--teal:#2b746d;--orange:#f46b13;--muted:#7b8a8b;--line:#e5ebe9;--bg:#f5f7f6;--pale:#edf4f0;--red:#b85950;--sidebar:240px}*{box-sizing:border-box}body{margin:0;font-family:Inter,Arial,sans-serif;font-size:13px;color:var(--ink);background:var(--bg);line-height:1.5}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button,a{touch-action:manipulation}a{color:var(--teal);text-decoration:none}button{color:inherit}button:focus-visible,a:focus-visible{outline:3px solid #f6b37f;outline-offset:3px}input:focus,select:focus,textarea:focus{outline:2px solid #a9c9bf;outline-offset:1px}svg.icon{width:19px;height:19px;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}button svg.icon{width:17px;height:17px}h1,h2,h3,h4,p{margin:0}h1{font-family:Montserrat,Inter,sans-serif;font-weight:700;font-size:27px;letter-spacing:-1px;line-height:1.25}h2{font-size:15px;font-weight:600;letter-spacing:-.25px}h3{font-size:14px;font-weight:600}small,.muted{color:var(--muted)}.loading{height:100vh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:24px}.loading img{width:170px}.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);background:white;border-right:1px solid var(--line);display:flex;flex-direction:column;z-index:30;padding:31px 18px 16px}.brand{padding:0 17px}.brand img{width:153px;display:block}.brand-label{font-size:9px;letter-spacing:2px;font-weight:600;color:#9aaba6;margin-top:12px}.workspace{display:flex;align-items:center;gap:10px;border:1px solid var(--line);background:#fafcfb;border-radius:8px;padding:12px 10px;margin:29px 3px 24px}.workspace .workspace-icon{width:31px;height:31px;border-radius:7px;background:#e9f2ed;color:var(--teal);display:grid;place-items:center}.workspace strong{font-size:11px;display:block;font-weight:600}.workspace span{font-size:10px;color:var(--muted)}.workspace .icon:last-child{margin-left:auto;width:14px;color:#899a94}.nav-label{font-size:9px;font-weight:600;letter-spacing:1.5px;color:#a3b0aa;padding:0 15px;margin:4px 0 10px}.nav{display:flex;flex-direction:column;gap:5px}.nav button{display:flex;align-items:center;gap:12px;text-align:left;background:none;border:0;padding:12px 15px;border-radius:7px;font-size:12px;color:#73847f;font-weight:500;position:relative}.nav button.active{background:#ebf3ee;color:var(--teal);font-weight:600}.nav button.active:before{content:'';position:absolute;left:-18px;width:3px;height:23px;background:var(--teal);border-radius:0 3px 3px 0}.nav button:hover:not(.active){background:#f7f9f8;color:var(--ink)}.nav-badge{margin-left:auto;min-width:20px;text-align:center;background:white;font-size:10px;border-radius:4px;padding:1px 5px}.nav-sep{height:1px;background:var(--line);margin:23px 13px 20px}.sidebar-footer{margin-top:auto;padding-top:22px}.local-badge{margin:0 9px 17px;padding:12px;background:#f7f9f7;border:1px solid #edf0e8;border-radius:7px;color:#89968d;font-size:10px;display:flex;align-items:center;gap:8px}.dot{width:6px;height:6px;background:#66a188;border-radius:50%;display:inline-block;flex-shrink:0}.account{border-top:1px solid var(--line);padding:17px 9px 1px;display:flex;align-items:center;gap:10px}.avatar{width:33px;height:33px;background:#edf3ef;color:var(--teal);border-radius:50%;display:grid;place-items:center;font-size:11px;font-weight:600;flex-shrink:0}.account strong{font-size:11px;display:block}.account small{font-size:10px}.account button{margin-left:auto}.icon-button{display:inline-flex;align-items:center;justify-content:center;background:transparent;border:0;padding:7px;border-radius:6px;color:#85958e;min-width:32px;min-height:32px}.icon-button:hover{background:var(--pale);color:var(--ink)}.shell{margin-left:var(--sidebar)}.topbar{height:75px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px;gap:22px;position:sticky;top:0;z-index:20}.breadcrumbs{font-size:11px;color:#9aa7a1;display:flex;align-items:center;gap:10px}.breadcrumbs strong{color:#50675d;font-weight:500}.breadcrumbs .icon{width:13px;height:13px}.top-actions{display:flex;align-items:center;gap:17px}.search{position:relative;display:flex;align-items:center;gap:9px;color:#9aa7a1}.search input{border:0;background:none;width:190px;padding:8px 0;font-size:11px;color:var(--ink);outline:none}.search .icon{width:16px;height:16px}.shortcut{font-size:9px;border:1px solid #e8ece9;border-radius:4px;padding:1px 5px}.top-divider{height:22px;width:1px;background:var(--line)}.notification{position:relative}.notification:after{content:'';position:absolute;right:8px;top:7px;width:5px;height:5px;background:var(--orange);border:2px solid white;border-radius:50%;box-sizing:content-box}.top-date{font-size:11px;color:#8c9a92}.mobile-menu{display:none}.main{padding:32px 38px 32px;max-width:1600px;margin:auto}.page-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:26px}.eyebrow{font-size:9px;text-transform:uppercase;letter-spacing:1.6px;color:#8b9b91;margin-bottom:7px;font-weight:600}.subtitle{font-size:12px;color:#89988f;margin-top:8px}.head-actions{display:flex;gap:10px;align-items:center}.button{display:inline-flex;justify-content:center;align-items:center;gap:8px;border:1px solid var(--line);background:white;padding:10px 14px;border-radius:7px;font-size:11px;font-weight:500;white-space:nowrap;min-height:37px;transition:background .15s}.button:hover{background:#f1f6f2}.button.primary{background:var(--orange);border-color:var(--orange);color:#fff;box-shadow:0 2px 4px #bd520d10}.button.primary:hover{background:#dd5d0e}.button.teal{background:var(--teal);border-color:var(--teal);color:#fff}.button.danger{color:var(--red);border-color:#eddbd5}.button.small{font-size:10px;padding:6px 10px;min-height:29px}.button.ghost{background:transparent;border-color:transparent;color:var(--teal)}.text-link{color:var(--teal);background:transparent;border:0;font-size:10px;display:inline-flex;gap:5px;align-items:center;font-weight:500;padding:3px 0}.text-link .icon{width:13px;height:13px}.filterbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}.filter-left{display:flex;align-items:center;gap:8px}.filterbar select,.inline-select{background:#fff;border:1px solid var(--line);border-radius:6px;padding:8px 30px 8px 11px;color:#677d6e;font-size:10px;max-width:200px}.filter-note{display:flex;align-items:center;gap:6px;font-size:10px;color:#99a69d}.filter-note .icon{width:12px;height:12px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:23px}.stat{background:white;border:1px solid var(--line);border-radius:9px;padding:19px 20px 17px;min-width:0}.stat-top{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#82928a;gap:8px}.stat-icon{display:grid;place-items:center;width:28px;height:28px;border-radius:7px;background:#eff5f1;color:#67917c}.stat-icon.orange{color:#d7965e;background:#fdf4e9}.stat-icon.blue{color:#7792ab;background:#f1f5f9}.stat-top .icon{width:15px;height:15px}.stat-value{font-size:27px;letter-spacing:-1px;font-weight:600;line-height:1.25;margin:9px 0 10px;white-space:nowrap}.stat-value.currency{font-size:25px}.stat-foot{font-size:9px;color:#a1ada5;display:flex;align-items:center;gap:5px}.stat-foot .accent{color:#528b6d;font-weight:500}.stat-foot .icon{width:12px;height:12px}.grid-2{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(270px,1fr);gap:22px;margin-bottom:23px}.panel{background:white;border:1px solid var(--line);border-radius:9px;overflow:hidden}.panel-head{padding:20px 21px;display:flex;align-items:center;justify-content:space-between;gap:12px}.panel-head small{font-size:10px;display:block;margin-top:4px;color:#9aa69e}.panel-head h2{font-size:13px}.panel-body{padding:0 21px 21px}.pill{display:inline-flex;align-items:center;gap:5px;font-size:9px;font-weight:500;padding:4px 8px;border-radius:5px;background:#f0f4f1;color:#6f8575;white-space:nowrap}.pill:before{content:'';width:4px;height:4px;border-radius:50%;background:currentColor}.pill.new{color:#628ba0;background:#edf4f8}.pill.contact{color:#8c7baf;background:#f4f0f8}.pill.visit{color:#b4945d;background:#fbf5e9}.pill.preparing{color:#b9825d;background:#fcf0e9}.pill.offered,.pill.pending{color:#b38b4c;background:#fcf4e6}.pill.won,.pill.released,.pill.accepted{color:#4d9272;background:#ebf5ee}.pill.lost,.pill.cancelled,.pill.review{color:#b2736e;background:#f9efec}.pill.draft{color:#8d9690;background:#f0f3f0}.pill.final{color:#628ba0;background:#edf4f8}.pipeline-chart{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;padding-top:8px}.chart-col{display:flex;flex-direction:column;align-items:stretch;text-align:center;min-width:0}.bar-track{height:106px;display:flex;align-items:flex-end;padding:0 8px}.bar{width:100%;min-height:8px;max-width:59px;margin:auto auto 0;border-radius:4px 4px 0 0;background:#edf1ed;position:relative}.bar span{position:absolute;top:-21px;left:0;right:0;font-size:10px;color:#617e69;font-weight:600}.bar.c0{background:#b7cdd4}.bar.c1{background:#a5c4b9}.bar.c2{background:#91b8a3}.bar.c3{background:#70a58d}.bar.c4{background:#4a8a73}.bar.c5{background:#2b746d}.chart-label{font-size:8px;color:#9aa69e;border-top:1px solid #edf1ec;padding-top:10px;margin-top:0;line-height:1.45;min-height:40px}.chart-footer{display:flex;gap:18px;align-items:center;margin-top:15px;padding-top:15px;border-top:1px solid #f0f3ee;font-size:9px;color:#95a198}.chart-footer b{color:#486a56;font-weight:500}.network{background:var(--ink);color:white;border:0;position:relative;isolation:isolate}.network:after{content:'';position:absolute;border:1px solid #ffffff08;border-radius:50%;width:230px;height:230px;top:-125px;right:-110px;box-shadow:0 0 0 28px #ffffff04,0 0 0 56px #ffffff03;z-index:-1}.network .panel-head{padding-bottom:16px}.network .panel-head h2{color:#fff}.network .panel-head small{color:#94b2ad}.network .panel-head .icon{color:#8ab4a9}.network-row{display:flex;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid #ffffff0d}.network-row:last-child{border:0}.network-row .region-square{height:29px;width:33px;border:1px solid #ffffff20;background:#ffffff06;border-radius:5px;display:grid;place-items:center;font-size:9px;color:#bdd2c6}.network-row strong{font-size:10px;font-weight:500;display:block}.network-row small{font-size:8px;color:#87aaa0;display:block;margin-top:2px}.network-row .count{margin-left:auto;font-size:10px;color:#d1e1d7}.network-foot{display:flex;align-items:center;gap:5px;color:#91b7a3;font-size:9px;padding-top:15px}.network-foot .dot{background:#81ad8f}.table-wrap{width:100%;overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{font-size:9px;font-weight:500;color:#9da99f;background:#fafcf9;border-top:1px solid #edf1eb;border-bottom:1px solid #edf1eb;padding:10px 18px}td{padding:14px 18px;border-bottom:1px solid #eff2ed;font-size:10px;color:#74877a}tbody tr:last-child td{border-bottom:0}tr.clickable{cursor:pointer}tr.clickable:hover{background:#fbfdfb}.customer-cell{display:flex;align-items:center;gap:10px}.customer-avatar{width:30px;height:30px;border-radius:7px;background:#eef3ee;display:grid;place-items:center;font-size:10px;color:#7a9784;flex-shrink:0}.customer-name{display:block;color:#365446;font-size:11px;font-weight:500;max-width:260px;overflow:hidden;text-overflow:ellipsis}.customer-sub{font-size:9px;color:#a1aea3;margin-top:2px}.money{font-weight:500;color:#486851}.row-more{width:14px!important;color:#aab6ac}.table-footer{padding:11px 19px;border-top:1px solid #eff2ed;color:#a2aea3;font-size:9px;display:flex;align-items:center;justify-content:space-between}.task{display:flex;align-items:flex-start;gap:10px;padding:14px 0;border-bottom:1px solid #edf1eb}.task:last-child{border-bottom:0}.task-check{width:16px;height:16px;flex-shrink:0;border:1px solid #d7e1d5;background:white;border-radius:5px;padding:0;margin-top:2px;display:grid;place-items:center}.task-check.done{background:var(--teal);border-color:var(--teal);color:#fff}.task-check .icon{width:11px;height:11px}.task strong{font-size:10px;font-weight:500;display:block;color:#536e59}.task small{font-size:9px;color:#a0ad9f;display:block;margin-top:4px}.task .task-date{margin-left:auto;white-space:nowrap;font-size:8px;padding:3px 6px;border-radius:4px;background:#f5f8f2;color:#91a085}.task .task-date.overdue{background:#fcf2ea;color:#bf8e69}.task.done strong{text-decoration:line-through;color:#a1afa2}.activity-row{display:flex;align-items:flex-start;gap:11px;padding:11px 0}.activity-mark{width:28px;height:28px;background:#eef4ee;color:#769881;border-radius:50%;display:grid;place-items:center;flex-shrink:0}.activity-mark .icon{width:13px;height:13px}.activity-row strong{font-size:10px;font-weight:500;color:#5c765f;display:block}.activity-row small{font-size:9px;display:block;margin-top:3px;color:#a1afa1}.activity-time{font-size:9px;color:#9fac9e;margin-left:auto;white-space:nowrap}.footer{display:flex;justify-content:space-between;align-items:center;color:#a8b2a5;font-size:9px;padding-top:2px;gap:15px}.footer span{display:flex;align-items:center;gap:5px}.footer .icon{width:11px;height:11px}.kanban{display:flex;gap:15px;overflow-x:auto;padding-bottom:24px;min-height:60vh}.kanban-col{min-width:237px;flex:1;background:#edf1ed;border:1px solid #e8ede6;border-radius:9px;padding:12px}.kanban-head{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:500;padding:1px 2px 14px}.kanban-head .dot{width:5px;height:5px}.kanban-head span:last-child{margin-left:auto;font-size:10px;color:#8e9e8c;background:#fff;padding:0 6px;border-radius:4px}.kanban-card{background:#fff;border:1px solid #e4ebe1;border-radius:8px;padding:14px;margin-bottom:10px;cursor:pointer;box-shadow:0 2px 2px #183f4902}.kanban-card:hover{border-color:#a7c4b0;box-shadow:0 4px 14px #173f4908}.kanban-card .ref{font-size:8px;color:#a1afa0;letter-spacing:.3px}.kanban-card h3{font-size:11px;margin:8px 0 3px;font-weight:600}.kanban-card .location{color:#91a18d;font-size:9px;display:flex;gap:4px;align-items:center}.kanban-card .location .icon{width:11px;height:11px}.kanban-card .service{font-size:9px;margin-top:13px;color:#83947e}.kanban-card .card-bottom{border-top:1px solid #edf1e9;margin-top:13px;padding-top:11px;display:flex;justify-content:space-between;align-items:center;font-size:10px;font-weight:500}.kanban-card .mini-avatar{font-size:8px;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#edf4ed;color:#80997c}.kanban-empty{font-size:10px;text-align:center;color:#9bad97;padding:27px 10px;border:1px dashed #d9e3d4;border-radius:8px}.view-toggle{display:flex;border:1px solid var(--line);background:#fff;padding:3px;border-radius:6px;gap:3px}.view-toggle button{display:flex;align-items:center;gap:5px;background:none;border:0;border-radius:4px;padding:5px 9px;font-size:10px;color:#8d9d87}.view-toggle button.active{background:#edf4ed;color:var(--teal)}.view-toggle .icon{width:13px;height:13px}.empty{text-align:center;padding:46px 20px;color:#91a089;font-size:12px}.empty .icon{width:31px;height:31px;display:block;margin:0 auto 14px;color:#afc0a5}.empty p{margin-bottom:15px}.notice{display:flex;align-items:flex-start;gap:9px;border-radius:7px;background:#faf6ed;border:1px solid #f0e9d6;color:#a58d62;padding:12px 14px;font-size:10px;margin-bottom:20px;line-height:1.65}.notice .icon{width:15px;height:15px;margin-top:2px}.notice.green{background:#edf5ef;border-color:#dfece0;color:#668b6a}.preview-banner{padding:10px 38px;background:#e8f1ec;color:var(--teal);display:flex;align-items:center;justify-content:space-between;font-size:11px;border-bottom:1px solid #dce8de;position:sticky;top:75px;z-index:19}.preview-banner span{display:flex;gap:8px;align-items:center}.preview-banner .icon{width:15px;height:15px}.commission-rule{display:flex;align-items:center;gap:15px;background:#edf4ef;border:1px solid #dfebe0;border-radius:8px;padding:17px 21px;margin-bottom:23px}.commission-rule strong{font-size:24px;color:var(--teal);letter-spacing:-.8px}.commission-rule p{font-size:11px;font-weight:500}.commission-rule small{font-size:10px;display:block;margin-top:2px}.commission-rule .icon{width:27px;height:27px;color:#88ab8b}.tabs{display:flex;gap:22px;border-bottom:1px solid var(--line);margin-bottom:22px}.tabs button{background:none;border:0;border-bottom:2px solid transparent;padding:12px 0;color:#90a088;font-size:11px}.tabs button.active{border-color:var(--teal);color:var(--teal);font-weight:600}.partner-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:23px}.partner-card{padding:21px}.partner-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.partner-card .big-avatar{width:43px;height:43px;display:grid;place-items:center;border-radius:9px;background:#edf4ed;font-size:13px;color:var(--teal);font-weight:500}.partner-card h3{font-size:14px;margin-bottom:4px}.partner-card p{font-size:11px;color:#92a088}.partner-meta{display:flex;justify-content:space-between;padding:15px 0;margin:16px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.partner-meta strong{display:block;font-size:18px;font-weight:500}.partner-meta small{display:block;font-size:9px;margin-top:4px}.partner-actions{display:flex;gap:8px;flex-wrap:wrap}.contractor-detail{padding:18px 0 0;color:#8b9d83;font-size:11px;line-height:1.9}.contractor-detail div{display:flex;gap:7px;align-items:center}.contractor-detail .icon{width:13px;height:13px}.calc-layout{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(260px,1fr);gap:23px;align-items:start}.calc-section{margin-bottom:20px}.section-number{display:grid;place-items:center;background:#edf4ed;color:var(--teal);width:23px;height:23px;border-radius:6px;font-size:10px;margin-right:9px}.calc-head{display:flex;align-items:center}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.form-grid .wide{grid-column:1/-1}label.field{display:flex;flex-direction:column;gap:7px;min-width:0;font-size:10px;font-weight:500;color:#6f856b}input,select,textarea{width:100%;border:1px solid #dfe7da;background:white;color:var(--ink);border-radius:6px;padding:10px 11px;font-size:11px;min-height:37px}input::placeholder,textarea::placeholder{color:#b1bcaa}textarea{resize:vertical;min-height:82px}label.field small{font-size:9px;font-weight:400;color:#9caa93}.product-row{display:grid;grid-template-columns:minmax(0,1fr) 82px 90px 27px;gap:10px;align-items:end;margin-bottom:13px}.product-row .line-total{font-size:11px;text-align:right;padding-bottom:10px}.product-row .icon-button{margin-bottom:2px}.quantity-helper{padding:13px;background:#f6f9f3;border:1px dashed #dce6d4;border-radius:7px;margin-bottom:18px}.quantity-helper>summary{font-size:10px;color:#879c7d;cursor:pointer}.quantity-helper .helper-grid{display:flex;gap:10px;align-items:end;margin-top:12px}.helper-grid label{flex:1}.calc-add{display:flex;align-items:center;gap:7px;border:1px dashed #ceddc4;background:#fbfdf8;color:#809b71;width:100%;padding:11px;border-radius:6px;justify-content:center;font-size:10px}.calc-add:hover{background:#f0f7ea}.calc-add .icon{width:14px;height:14px}.calc-summary{position:sticky;top:99px}.summary-price{font-size:31px;font-weight:600;letter-spacing:-1px;margin:12px 0 3px}.summary-line{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid #edf1e8;font-size:11px;color:#8a9e7f}.summary-line.total{font-weight:600;color:var(--ink);font-size:13px;border:0;margin:7px 0}.summary-commission{background:#edf5e9;padding:13px;border-radius:7px;margin:16px 0;font-size:10px;color:#78936a}.summary-commission strong{display:block;font-size:17px;color:var(--teal);margin-top:3px}.summary-action{width:100%;margin-top:8px}.summary-note{font-size:9px;color:#a3b199;text-align:center;margin-top:10px}.overlay{position:fixed;inset:0;background:#102b3280;backdrop-filter:blur(3px);z-index:70;display:flex;align-items:center;justify-content:center;padding:30px;animation:fade .15s ease}.modal{width:550px;max-width:100%;max-height:90vh;overflow:auto;background:#fff;border-radius:12px;box-shadow:0 20px 70px #0c242540}.modal.large{width:700px}.modal-head{padding:24px 26px 20px;display:flex;justify-content:space-between;align-items:flex-start;border-bottom:1px solid var(--line);gap:20px}.modal-head h2{font-size:18px}.modal-head p{font-size:11px;color:#93a18a;margin-top:5px}.modal-body{padding:23px 26px}.modal-footer{display:flex;justify-content:flex-end;gap:10px;padding:18px 26px;border-top:1px solid var(--line);background:#fbfdf8}.form-error{display:none;padding:10px;border:1px solid #efdbd4;background:#fcf1ec;color:#b46c5b;font-size:11px;border-radius:6px;margin-bottom:15px}.form-error:not(:empty){display:block}.drawer-wrap{justify-content:flex-end;padding:0;background:#102b3255}.drawer{height:100%;width:620px;max-width:100%;background:#fff;overflow:auto;box-shadow:-10px 0 50px #102b321a;animation:slide .2s ease}.drawer-head{position:sticky;top:0;background:#fff;z-index:2;padding:23px 27px 20px;border-bottom:1px solid var(--line)}.drawer-title{display:flex;align-items:center;justify-content:space-between;gap:15px}.drawer-title h2{font-family:Montserrat,Inter,sans-serif;font-size:21px;letter-spacing:-.6px;margin-top:6px}.drawer-subtitle{display:flex;gap:9px;align-items:center;margin-top:12px}.drawer-body{padding:23px 27px}.detail-block{margin-bottom:25px;padding-bottom:23px;border-bottom:1px solid var(--line)}.detail-block:last-child{border:0}.detail-block h3{font-size:11px;margin-bottom:14px;display:flex;justify-content:space-between;align-items:center}.detail-data{display:grid;grid-template-columns:1fr 1fr;gap:17px}.detail-data dt{font-size:9px;color:#9cac92;margin-bottom:5px}.detail-data dd{font-size:11px;margin:0;color:#607854;overflow-wrap:anywhere}.detail-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}.note-box{background:#f6f9f2;padding:14px;border-radius:7px;color:#839877;font-size:11px;margin-top:10px;white-space:pre-wrap}.file-row{display:flex;align-items:center;gap:11px;padding:12px 0;border-bottom:1px solid #edf1e8;font-size:11px}.file-row .icon{color:#86a178}.file-row small{display:block;font-size:9px;margin-top:3px}.file-row a{margin-left:auto}.file-upload{display:flex;align-items:center;gap:9px;padding:14px;border:1px dashed #cbdcc0;border-radius:7px;color:#86a079;font-size:11px;cursor:pointer;margin-top:14px}.file-upload input{display:none}.input-row{display:flex;gap:10px;align-items:center}.input-row input{flex:1}.report-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.source-row{display:grid;grid-template-columns:110px 1fr 30px;gap:14px;align-items:center;margin:17px 0;font-size:10px;color:#819574}.source-track{height:7px;background:#edf3e7;border-radius:6px;overflow:hidden}.source-track i{display:block;height:100%;background:#7aa77d;border-radius:6px}.login{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:white}.login-story{background:var(--ink);padding:75px 11%;display:flex;flex-direction:column;justify-content:center;color:white;position:relative;overflow:hidden}.login-story:before{content:'';position:absolute;width:500px;height:500px;border:1px solid #ffffff0b;border-radius:50%;top:-250px;right:-260px;box-shadow:0 0 0 65px #ffffff04,0 0 0 130px #ffffff03}.login-story .eyebrow{color:#99b9ad}.login-story h1{font-size:42px;line-height:1.3;letter-spacing:-1.8px;max-width:470px}.login-story h1 span{color:#a4c5b4}.login-story>p{font-size:14px;line-height:1.9;color:#a1beb1;max-width:370px;margin-top:23px}.login-benefits{margin-top:48px;display:flex;flex-direction:column;gap:17px}.login-benefits div{font-size:12px;color:#bfd3c5;display:flex;align-items:center;gap:12px}.login-benefits .icon{width:17px;height:17px;color:#8fbaa4}.login-story .login-foot{font-size:10px;color:#7c9e8b;margin-top:65px;display:flex;align-items:center;gap:7px}.login-form{display:flex;justify-content:center;flex-direction:column;max-width:480px;width:100%;margin:auto;padding:50px}.login-logo{width:175px;margin-bottom:44px}.login-form h2{font-size:24px;letter-spacing:-.8px;font-family:Montserrat,sans-serif}.login-form>p{font-size:12px;color:#95a48a;margin:10px 0 27px}.login-form .field{margin-bottom:17px}.login-form .button{width:100%;padding:12px}.login-demo{border-top:1px solid var(--line);margin-top:28px;padding-top:20px}.login-demo .eyebrow{font-size:9px;margin-bottom:12px}.demo-accounts{display:flex;gap:8px}.demo-accounts .button{font-size:10px;min-height:34px;padding:8px}.login-hint{font-size:10px;color:#a0ae96;margin-top:14px;line-height:1.8}.login-hint code{color:#829675}.settings-row{display:flex;align-items:center;gap:13px;border-bottom:1px solid var(--line);padding:17px 0}.settings-row:last-child{border:0}.settings-row strong{display:block;font-size:11px}.settings-row small{font-size:10px;display:block;margin-top:4px}.settings-row>.button{margin-left:auto}.check-list{display:flex;flex-direction:column;gap:14px;font-size:11px;color:#7d9270}.check-list>div{display:flex;gap:9px;align-items:center}.check-list .icon{width:15px;height:15px;color:#60946e}#toast{position:fixed;bottom:26px;left:calc(50% + 100px);transform:translate(-50%,20px);background:var(--ink);color:#fff;padding:12px 21px;border-radius:8px;box-shadow:0 8px 35px #173f4925;font-size:12px;z-index:110;opacity:0;pointer-events:none;transition:all .2s;max-width:90vw}#toast.show{opacity:1;transform:translate(-50%,0)}#toast.error{background:#a45e4f}.menu-backdrop{display:none}.due-today{color:#be9163!important}.data-actions{display:flex;align-items:center;gap:10px}.muted-tag{display:inline-flex;align-items:center;gap:5px;font-size:9px;color:#9ba98f;padding:4px 7px;border:1px solid #e8eddf;border-radius:4px}.search-empty{padding:30px}.metrics-table .button{padding:5px 8px;font-size:9px}.backup-description{max-width:500px;line-height:1.8}.table-compact td{padding:11px 12px}.table-compact th{padding:9px 12px}.offer-totals{width:260px;margin:15px 0 20px auto}.offer-totals div{display:flex;justify-content:space-between;padding:7px 0;font-size:11px;color:#8a9b7d}.offer-totals div:last-child{font-size:16px;font-weight:600;color:var(--ink);border-top:1px solid var(--line);margin-top:7px;padding-top:12px}.upload-progress{font-size:10px;color:#9aaa8d;padding:10px}.read-only .write-action{cursor:not-allowed;opacity:.55}.today-dot{display:inline-block;background:#f46b13;width:5px;height:5px;border-radius:50%;margin-right:5px}@keyframes fade{from{opacity:0}to{opacity:1}}@keyframes slide{from{transform:translateX(25px);opacity:.4}to{transform:none;opacity:1}}
@media(min-width:1500px){.main{padding-top:40px}.stats{gap:22px}.stat{padding:22px 24px}.grid-2{grid-template-columns:minmax(0,2.1fr) minmax(300px,1fr)}.bar-track{height:125px}}
@media(max-width:1200px){:root{--sidebar:215px}.sidebar{padding-left:13px;padding-right:13px}.brand{padding-left:12px}.brand img{width:140px}.main{padding:27px 25px}.topbar{padding:0 25px}.stats{gap:12px}.stat{padding:16px}.stat-value{font-size:25px}.stat-value.currency{font-size:22px}.grid-2{gap:17px;grid-template-columns:minmax(0,1.7fr) minmax(245px,1fr)}.partner-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.search input{width:150px}.top-date{display:none}.bar-track{padding:0 5px}.panel-head{padding:18px}.panel-body{padding:0 18px 18px}th,td{padding-left:14px;padding-right:14px}.calc-layout{grid-template-columns:minmax(0,1.5fr) 270px}}
@media(max-width:950px){.grid-2{grid-template-columns:1fr}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.network .panel-body{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.network-row{border:0}.network-foot{grid-column:1/-1;padding-top:0}.top-actions{gap:8px}.search input{width:130px}.shortcut{display:none}.calc-layout{grid-template-columns:1fr}.calc-summary{position:static}.report-grid{grid-template-columns:1fr}.login-story{padding:50px 12%}.login-story h1{font-size:31px}.login-form{padding:35px}.head-actions{gap:7px}.page-head{align-items:flex-start}.head-actions .button{font-size:10px;padding:9px 11px}.breadcrumbs{font-size:10px}.partner-grid{gap:15px}.product-row{grid-template-columns:minmax(0,1fr) 75px 80px 26px}}
@media(max-width:700px){:root{--sidebar:240px}.sidebar{transform:translateX(-100%);transition:transform .2s}.sidebar.open{transform:translateX(0)}.menu-backdrop.open{display:block;position:fixed;inset:0;z-index:29;background:#102b3266}.shell{margin-left:0}.topbar{height:60px;padding:0 18px;gap:8px}.mobile-menu{display:flex}.topbar .breadcrumbs{margin-right:auto}.breadcrumbs>span,.breadcrumbs>.icon{display:none}.search{display:none}.top-actions{gap:7px}.top-divider{display:none}.topbar .avatar{width:29px;height:29px}.main{padding:24px 18px}.page-head{gap:14px;margin-bottom:21px}h1{font-size:23px}.subtitle{font-size:10px;max-width:250px}.eyebrow{font-size:8px}.head-actions .button{padding:9px 10px}.head-actions .button.secondary-action{display:none}.stats{gap:11px;margin-bottom:18px}.stat{padding:14px}.stat-top{font-size:9px}.stat-icon{height:23px;width:23px}.stat-value{font-size:24px;margin:9px 0}.stat-value.currency{font-size:21px}.stat-foot{font-size:8px}.grid-2{gap:18px;margin-bottom:18px}.panel-head{padding:17px}.panel-head h2{font-size:12px}.panel-body{padding:0 17px 17px}.filterbar{align-items:flex-start;gap:10px}.filter-left{gap:6px;flex-wrap:wrap}.filterbar select{font-size:9px;padding:8px 23px 8px 9px;max-width:160px}.filter-note{display:none}.pipeline-chart{gap:5px}.bar-track{padding:0 7px}.chart-label{font-size:8px}.chart-footer{font-size:8px;gap:12px}.network .panel-body{gap:6px}.network-row{gap:7px;flex-wrap:wrap}.network-row strong{font-size:9px}.network-row small{font-size:8px}.network-row .count{font-size:9px;display:none}.network-row .region-square{width:27px;height:27px}.network-foot{font-size:8px}.footer{font-size:8px;align-items:flex-start;gap:10px}.footer span:last-child{display:none}.partner-grid{grid-template-columns:1fr}.commission-rule{padding:14px}.commission-rule strong{font-size:20px}.commission-rule p{font-size:10px}.commission-rule small{font-size:9px}.preview-banner{top:60px;padding:9px 18px;font-size:10px}.preview-banner .button{font-size:9px}.overlay{padding:16px}.drawer-wrap{padding:0}.drawer-head{padding:20px}.drawer-body{padding:20px}.drawer-title h2{font-size:19px}.modal-head{padding:20px}.modal-body{padding:20px}.modal-footer{padding:16px 20px}.form-grid{gap:14px}.product-row{grid-template-columns:minmax(0,1fr) 60px 65px 22px;gap:7px}.product-row label.field{font-size:9px}.product-row input,.product-row select{font-size:10px;padding:9px 7px}.product-row .line-total{font-size:10px}.tabs{gap:20px}.tabs button{font-size:10px}.detail-data{gap:14px}.detail-data dd{font-size:10px}.kanban-col{min-width:235px}.login{grid-template-columns:1fr}.login-story{display:none}.login-form{max-width:420px;padding:45px 30px;min-height:100vh}.login-logo{margin-bottom:40px;width:160px}.login-form h2{font-size:25px}#toast{left:50%;font-size:11px}.view-toggle button{font-size:9px}.view-toggle button .icon{width:12px}.head-actions{align-self:center}.calc-section .panel-body{padding-bottom:20px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Keep the complete navigation reachable on smaller desktop windows. */
.sidebar{overflow-y:auto;scrollbar-width:thin;scrollbar-color:#d9e4d7 transparent}.sidebar>.brand,.sidebar>.workspace,.sidebar>.nav,.sidebar>.nav-sep,.sidebar>.nav-label,.sidebar>.sidebar-footer{flex-shrink:0}
/* Simplified workspace: four working areas, one global context. */
:root{--sidebar:220px}.sidebar{padding-top:32px}.sidebar>.nav-label{margin-top:45px;margin-bottom:13px;font-size:9px}.sidebar .nav button{font-size:13px;padding:13px 15px;gap:12px}.sidebar .nav-sep{margin-top:25px;margin-bottom:20px}.sidebar-footer{padding-top:38px}.sidebar-help{display:flex;align-items:flex-start;gap:9px;padding:0 11px 21px;color:#97a59c;font-size:11px;line-height:1.7}.sidebar-help .icon{width:15px;height:15px;margin-top:3px}.account-settings{border:0;cursor:pointer}.main{max-width:1400px;padding-top:38px}.main>.page-head{margin-bottom:30px}.page-head .eyebrow{margin-bottom:9px}.page-head .subtitle{font-size:13px;line-height:1.6}.topbar{gap:20px}.context-switch{display:flex;align-items:center;position:relative;border:1px solid #e1e8e2;background:#fff;border-radius:8px;padding:0 12px;gap:10px;min-width:320px;max-width:440px}.context-switch>.icon{width:17px;height:17px;color:var(--teal)}.context-switch select{appearance:none;-webkit-appearance:none;border:0;outline:none;background:none;padding:11px 22px 11px 0;font-size:12px;font-weight:500;color:var(--ink);min-height:42px;cursor:pointer}.context-switch>.icon:last-child{position:absolute;right:12px;pointer-events:none;width:13px;height:13px;color:#82978a}.workspace-static{display:flex;align-items:center;gap:9px;font-size:13px;font-weight:500}.workspace-static>.icon{color:var(--teal);width:17px;height:17px}.top-role{font-size:11px;color:#8c9b91}.simple-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:30px}.simple-stats .stat{text-align:left;padding:22px 24px;box-shadow:none}.simple-stats button.stat:hover{border-color:#bbd1c2;background:#fdfefd}.simple-stats .stat-top{font-size:12px}.simple-stats .stat-top>.icon{width:17px;height:17px;color:#92aa99}.simple-stats .stat-value{font-size:30px;margin:12px 0 7px}.simple-stats .stat-value.currency{font-size:28px}.simple-stats .stat-foot{font-size:11px;color:#93a18f}.focus-panel{margin-bottom:18px}.focus-panel .panel-head{padding:24px}.panel-head h2{font-size:15px}.panel-head small{font-size:11px;line-height:1.6}.table-wrap th{font-size:11px;padding:13px 21px}.table-wrap td{font-size:12px;padding:19px 21px}.customer-name{font-size:13px;max-width:300px}.customer-sub{font-size:10px;margin-top:4px}.customer-avatar{width:34px;height:34px;font-size:11px}.pill{font-size:10px;padding:5px 9px}.owner-label{font-size:12px;color:#71856f}.next-step{font-size:11px;white-space:normal;max-width:230px;display:block}.assign-button{background:#fff5e9;border-color:#f2dfc7;color:#ac763e;font-size:11px!important;padding:6px 11px!important}.assign-button:hover{background:#ffedd8}.overview-bottom{display:flex;justify-content:space-between;gap:20px;align-items:center;font-size:11px;color:#96a18e;padding:10px 3px 25px}.overview-bottom>div{display:flex;gap:8px;align-items:center}.overview-bottom>.text-link{font-size:11px}.overview-bottom .icon{width:15px;height:15px}.overview-bottom strong{font-weight:500;color:#6e856a}.footer{padding-top:14px;border-top:1px solid #e8ede4;margin-top:22px}.quiet-action{display:flex;justify-content:center;padding:0 20px 26px}.lead-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}.lead-filters{display:flex;gap:6px;flex-wrap:wrap}.lead-filters>button{display:flex;align-items:center;gap:8px;border:1px solid transparent;background:transparent;padding:8px 12px;border-radius:7px;color:#84957b;font-size:11px;white-space:nowrap}.lead-filters>button.active{background:white;border-color:var(--line);color:var(--teal);font-weight:500}.lead-filters>button>span{background:#edf2e9;color:#8a9c7e;font-size:9px;padding:1px 5px;border-radius:4px}.lead-filters>button.active>span{background:#e7f0e7;color:var(--teal)}.optional-fields{margin-top:20px;padding-top:16px;border-top:1px solid var(--line)}.optional-fields>summary{cursor:pointer;color:#8e9e83;font-size:11px}.optional-fields>.form-grid{margin-top:18px}.assignment-field{margin-top:2px}.assignment-field select{background:#f9fcf6;border-color:#d5e2cc}.record-tabs{display:flex;gap:24px;margin-top:22px;margin-bottom:-21px;border-bottom:1px solid var(--line)}.record-tabs button{display:flex;align-items:center;gap:5px;border:0;border-bottom:2px solid transparent;background:none;padding:10px 0 13px;color:#96a68b;font-size:11px}.record-tabs button.active{color:var(--teal);border-bottom-color:var(--teal);font-weight:500}.record-tabs button>span{font-size:9px;background:#edf3e8;padding:0 5px;border-radius:3px}.record-panel[hidden],section[hidden]{display:none!important}.admin-catalog-action{display:flex;justify-content:flex-end;margin-bottom:15px}.partner-card p{line-height:1.7}.table-footer{font-size:10px}.text-link{font-size:11px}.form-grid{gap:17px}label.field{font-size:11px}input,select,textarea{font-size:12px}.button{font-size:12px}.button.small{font-size:11px}.detail-block .form-grid input,.detail-block .form-grid select{font-size:11px}.detail-block h3{font-size:12px}.detail-data dt{font-size:10px}.detail-data dd{font-size:12px}.account strong{font-size:11px}.account small{font-size:10px}
@media(max-width:1100px){.context-switch{min-width:280px;max-width:330px}.top-actions .search input{width:145px}.top-role{display:none}.top-divider{display:none}.simple-stats{gap:14px}.simple-stats .stat{padding:19px}.simple-stats .stat-value.currency{font-size:25px}.simple-stats .stat-top{font-size:11px}.main{padding-left:26px;padding-right:26px}.partner-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){:root{--sidebar:230px}.main{padding:25px 18px}.main>.page-head{margin-bottom:24px}.page-head h1{font-size:23px}.page-head .subtitle{font-size:11px;max-width:210px}.page-head .head-actions .button{font-size:10px}.context-switch{min-width:0;max-width:none;flex:1;padding-left:10px;gap:8px;border-color:#e9eee6}.context-switch select{font-size:11px;min-height:38px;width:100%}.topbar{gap:10px;padding:0 14px}.top-actions{display:none}.topbar .mobile-menu{flex-shrink:0}.workspace-static{font-size:12px}.simple-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:23px}.simple-stats .stat{padding:13px 10px}.simple-stats .stat-top{font-size:9px;line-height:1.5;min-height:28px;align-items:flex-start}.simple-stats .stat-top>.icon{display:none}.simple-stats .stat-value{font-size:24px;margin:9px 0 7px}.simple-stats .stat-value.currency{font-size:18px;letter-spacing:-.6px}.simple-stats .stat-foot{font-size:8px;line-height:1.7;display:block}.focus-panel .panel-head{padding:17px}.panel-head h2{font-size:13px}.panel-head small{font-size:10px}.table-wrap th{padding:11px 14px;font-size:10px}.table-wrap td{padding:16px 14px;font-size:11px}.customer-name{font-size:12px;max-width:180px}.customer-sub{font-size:9px}.pill{font-size:9px}.customer-avatar{display:none}.overview-bottom{align-items:flex-start;flex-direction:column;font-size:10px;gap:12px}.lead-toolbar{align-items:flex-start;gap:8px}.lead-filters{gap:2px}.lead-filters>button{font-size:10px;padding:7px 8px;gap:5px}.lead-filters>button>span{font-size:8px}.view-toggle{flex-shrink:0;margin-top:2px}.view-toggle button{padding:5px}.record-tabs{gap:19px}.record-tabs button{font-size:11px}.partner-grid{grid-template-columns:1fr}.sidebar>.nav-label{margin-top:39px}.sidebar .nav button{font-size:13px}.sidebar-help{font-size:11px}.footer{margin-top:18px}}
[hidden]{display:none!important}.context-switch select{min-width:0}.topbar .context-switch{flex-shrink:1}
@media(max-width:700px){.focus-panel th,.focus-panel td{padding-left:10px;padding-right:10px}.focus-panel th:last-child,.focus-panel td:last-child{display:none}.focus-panel .customer-name,.focus-panel .customer-sub{white-space:normal;max-width:125px}.focus-panel .assign-button{font-size:10px!important;padding:6px 8px!important}.focus-panel .assign-button .icon{display:none}}
/* Module calculator and a single, customer-linked pipeline. */
.pipeline-hint{font-size:10px;color:#9aa88f}.kanban{min-height:65vh}.kanban-col{min-width:245px;max-width:285px}.kanban-head{line-height:1.5;min-height:44px}.kanban-card .card-bottom{gap:8px}.kanban-card .card-bottom>span:first-child{font-size:9px}.kanban-quote{margin-top:14px;border-top:1px solid #e8eee3;padding-top:11px}.kanban-quote button{display:flex;align-items:center;gap:7px;border:0;background:#f2f7ee;padding:9px;border-radius:6px;color:var(--teal);width:100%;text-align:left;font-size:9px}.kanban-quote button>.icon{width:13px;height:13px}.kanban-quote button>.icon:last-child{margin-left:auto;width:11px}.kanban-quote strong{display:block;font-size:11px;margin-top:3px;font-weight:500}.overview-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.workspace-information{margin-top:8px}.workspace-information .detail-data{grid-template-columns:repeat(4,minmax(0,1fr));margin:0;padding:8px 0}.workspace-information dt{font-size:11px}.workspace-information dd{font-size:13px;margin-top:9px;line-height:1.7}.module-group-label{font-size:12px;font-weight:600;padding:19px 0 11px;color:var(--ink)}.module-choice{border:1px solid #e6ecdf;border-radius:7px;margin-bottom:9px;padding:12px 13px}.module-choice.selected{background:#f7fbf3;border-color:#c7dbbd}.module-label{display:flex;gap:7px;align-items:flex-start}.module-label>label{display:flex;align-items:flex-start;gap:9px;font-size:11px;font-weight:500;flex:1;line-height:1.6;cursor:pointer}.module-label input,.attachment-options input{width:15px;height:15px;min-height:0;padding:0;accent-color:var(--teal);margin:2px 0 0;flex-shrink:0}.module-code{font-size:10px;color:#8da27d;min-width:28px;padding-top:1px}.module-description{font-size:10px;position:relative}.module-description summary{list-style:none;cursor:pointer;color:#8ba17b}.module-description summary::-webkit-details-marker{display:none}.module-description summary .icon{width:15px;height:15px;margin-top:2px}.module-description>p{position:absolute;right:0;top:20px;width:min(350px,70vw);background:#fff;box-shadow:0 8px 30px #173f4920;border:1px solid #dce7d4;border-radius:7px;padding:15px;color:#7b8e6d;line-height:1.8;z-index:10}.module-inputs{display:grid;grid-template-columns:1fr 1fr 1fr;gap:14px;padding:14px 0 0 26px;align-items:end}.module-inputs .field{font-size:10px}.module-inputs input{font-size:12px;padding:9px 10px}.module-amount{text-align:right;padding-bottom:8px}.module-amount small{display:block;font-size:9px;color:#9baa8e;margin-bottom:8px}.module-amount strong{font-size:13px;font-weight:500}.variant-picker{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding-bottom:13px;border-bottom:1px solid var(--line)}.variant-picker .field{font-size:10px}.variant-picker select{font-size:11px}.restoration-modules{margin-top:20px;border-top:1px solid var(--line);padding-top:14px}.restoration-modules>summary{font-size:12px;font-weight:600;cursor:pointer;padding:3px 0 15px}.module-included{font-size:10px;line-height:1.8;color:#9bab8e;margin-top:15px}.attachment-options{display:flex;flex-direction:column;gap:11px;margin-top:18px}.attachment-options>label{display:flex;align-items:center;gap:9px;font-size:11px;color:#819572}.template-preview{display:flex;align-items:center;gap:13px;padding:14px;background:#f5f8f1;border:1px solid #e8efdf;border-radius:8px;margin-bottom:24px}.template-preview img{width:68px;height:96px;object-fit:contain;background:#fff;border:1px solid #e0e7d8;box-shadow:0 3px 8px #173f490c}.template-preview>span{font-size:11px;line-height:1.8;color:#869c77}.calc-summary .summary-price{font-size:29px}.calc-summary>.panel-head{padding-bottom:15px}.calc-summary .summary-action{white-space:normal}.calc-layout{grid-template-columns:minmax(0,1.75fr) minmax(280px,1fr)}
@media(max-width:1050px){.workspace-information .detail-data{grid-template-columns:1fr 1fr;gap:25px}.calc-layout{grid-template-columns:1fr}.calc-summary{position:static}.template-preview img{width:55px;height:78px}}
@media(max-width:700px){.overview-stats{grid-template-columns:1fr 1fr;gap:11px}.overview-stats .stat{padding:15px}.overview-stats .stat-value.currency{font-size:22px}.overview-stats .stat-top{font-size:10px}.overview-stats .stat-foot{font-size:9px}.workspace-information .detail-data{grid-template-columns:1fr;gap:20px}.pipeline-hint{display:none}.kanban-col{min-width:265px}.module-inputs{padding-left:0;gap:9px;grid-template-columns:1fr 1fr}.module-amount{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;text-align:left;padding:2px 0}.module-amount small{margin:0}.module-label>label{font-size:11px}.variant-picker{grid-template-columns:1fr}.calc-summary .summary-price{font-size:28px}}
/* Finance overview: DUB-inspired hierarchy in the original wetBLOC palette. */
:root{--finance-teal:#347e75}.main{max-width:1600px}.brand img{width:165px;max-width:100%;height:auto;object-fit:contain}.brand{overflow:visible}.sidebar-footer{margin-top:auto;padding-top:28px}.sidebar .account{border-top:1px solid #e9eeea;padding-top:22px}.top-actions .search{display:flex;align-items:center;gap:10px;background:#f7f9f8;border:1px solid #e0e7e2;border-radius:100px;padding:0 16px;min-height:42px}.top-actions .search input{width:230px;background:transparent;border:0;padding:10px 0;outline:0;color:var(--ink);font-size:12px}.search:focus-within{border-color:#75a69c;box-shadow:0 0 0 3px #347e7510}.top-actions .search>.icon{width:17px;height:17px;color:#8b9a93}.page-head:has(.period-select){align-items:center}.period-select{display:flex;align-items:center;gap:10px;background:white;border:1px solid var(--line);border-radius:9px;padding:0 14px;color:#38574e;position:relative}.period-select .icon{width:16px;height:16px}.period-select select{appearance:none;background:none;border:0;outline:0;padding:12px 23px 12px 0;color:var(--ink);font-size:12px;cursor:pointer}.period-select>.icon:last-child{width:12px;position:absolute;right:13px;pointer-events:none}.overview-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px;margin:0 3px 30px;max-width:900px}.overview-metrics>div{border-right:1px solid #dfe7df;padding-right:15px}.overview-metrics>div:last-child{border:0}.overview-metrics span{display:block;font-size:12px;color:#829187;margin-bottom:11px}.overview-metrics strong{font-size:27px;font-weight:600;letter-spacing:-.7px;color:var(--ink)}.finance-surface{padding:16px;background:#edf1ed;border:1px solid #e8ede8;border-radius:18px}.finance-main{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(280px,1fr);gap:18px;align-items:stretch}.finance-surface .panel{box-shadow:none;border:1px solid #dde5df;border-radius:13px;margin:0;overflow:hidden;background:#fff}.finance-surface .panel-head{padding:22px 23px 13px;gap:15px;min-height:65px}.finance-surface .panel-head h2{font-family:Inter,sans-serif;font-size:15px;font-weight:600;letter-spacing:-.25px}.plain{background:white;border-color:#e0e6e2;box-shadow:0 1px 1px #16372d04;color:#51685d}.plain:hover{background:#f5f8f5;border-color:#b6cbbd}.earnings-total{font-size:32px;font-weight:600;letter-spacing:-1px;margin:6px 24px 9px;color:#34564b}.earnings-total>span{display:block;font-size:11px;letter-spacing:0;color:#93a096;font-weight:400;margin-top:6px}.earnings-chart{padding:8px 18px 20px}.earnings-chart svg{display:block;width:100%;min-height:245px;overflow:visible}.chart-axis{fill:#94a198;font-family:Inter,sans-serif;font-size:10px}.chart-tooltip{display:none;pointer-events:none}.chart-day:hover .chart-tooltip,.chart-day:focus .chart-tooltip{display:block}.chart-day:focus{outline:none}.chart-tip-date{font-family:Inter,sans-serif;font-size:10px;fill:#7a8f83}.chart-tip-value{font-family:Inter,sans-serif;font-size:12px;font-weight:600;fill:#244f46}.payout-card{display:flex;flex-direction:column}.payout-balance{padding:7px 23px 20px}.payout-balance>span{font-size:11px;color:#8a9a8d}.payout-balance>strong{display:block;font-size:28px;letter-spacing:-.6px;font-weight:600;margin:8px 0 17px}.payout-balance>div{display:flex;justify-content:space-between;gap:10px;font-size:11px;color:#8b998c}.payout-balance b{font-size:12px;font-weight:500;color:#ad8044}.payout-history{border-top:1px solid #edf0eb;margin:0 23px;padding-top:18px;flex:1}.payout-history h3{font-size:11px;font-weight:500;color:#859384;margin-bottom:12px}.payout-entry{display:flex;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid #edf1ed}.payout-entry:last-child{border:0}.payout-entry>div{flex:1}.payout-entry strong{font-size:13px;font-weight:500}.payout-entry small{display:block;font-size:10px;color:#8e9c90;margin-top:5px}.payout-icon,.earning-symbol{display:grid;place-items:center;flex-shrink:0;width:31px;height:31px;border:1px solid #e6ede7;border-radius:8px;color:#669d8d;background:#f6faf6}.payout-icon .icon,.earning-symbol .icon{width:16px;height:16px}.pill.paid{color:#3b8c64;background:#e9f7ef;white-space:nowrap}.payout-empty{min-height:118px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;color:#94a295;text-align:center;padding:10px}.payout-empty>.icon{width:22px;height:22px;color:#b0c3b6;margin-bottom:4px}.payout-empty strong{font-size:12px;font-weight:500;color:#6b8575}.payout-empty>span{font-size:10px}.payout-total{display:flex;align-items:center;justify-content:space-between;margin:0 23px;padding:17px 0;border-top:1px solid #edf1ed;gap:12px;font-size:11px;color:#8c9c8d}.payout-total strong{font-size:12px;font-weight:500;color:#526c5b}.finance-bottom{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:18px;margin-top:18px}.pipeline-total{display:flex;align-items:baseline;gap:10px;margin:5px 23px 20px}.pipeline-total strong{font-size:28px;font-weight:600}.pipeline-total span{font-size:11px;color:#93a18f}.pipeline-stages{display:grid;gap:14px;padding:0 23px 24px}.pipeline-stages>button{display:grid;grid-template-columns:145px 1fr 20px;align-items:center;gap:12px;border:0;background:none;padding:0;text-align:left;font-size:11px;color:#7b8f7b;cursor:pointer}.pipeline-stages>button:hover{color:#2a7669}.pipeline-stages strong{text-align:right;font-size:11px;font-weight:500;color:#49694d}.stage-track{height:6px;border-radius:20px;background:#f0f4ed;overflow:hidden}.stage-track>i{display:block;height:100%;background:#75a78c;border-radius:20px;min-width:0}.pipeline-stages>button:nth-last-child(1) .stage-track>i{background:#e8a36c}.recent-earnings{padding:0 23px 13px}.earning-entry{display:flex;align-items:center;gap:12px;width:100%;padding:17px 0;background:none;border:0;border-bottom:1px solid #edf1ed;text-align:left;color:var(--ink);cursor:pointer}.earning-entry:last-child{border-bottom:0}.earning-entry:hover .earning-person strong{color:#2e8470}.earning-person{flex:1;min-width:0}.earning-person strong{display:block;font-size:12px;font-weight:500;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.earning-person small{display:block;font-size:10px;color:#95a28f;margin-top:6px}.earning-money{font-size:12px;font-weight:600;white-space:nowrap;margin-left:3px}.earning-entry .pill{font-size:9px}.finance-tabs{display:flex;gap:25px;border-bottom:1px solid #dde6de;margin-bottom:26px}.finance-tabs button{font-size:13px;color:#91a18b;background:none;border:0;border-bottom:2px solid transparent;padding:0 2px 15px;cursor:pointer}.finance-tabs button.active{color:var(--teal);border-bottom-color:var(--teal);font-weight:500}.finance-tabs button>span{padding:1px 5px;font-size:10px;background:#e7eee6;border-radius:4px;margin-left:5px}.commission-stats{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}.commission-stats .stat-value{margin-bottom:0}.assignment-choices{border:1px solid #e2e9e0;border-radius:9px;padding:15px;margin:9px 0 0;min-width:0}.assignment-choices legend{font-size:12px;color:var(--ink);padding:0 6px}.assignment-choices>label{display:flex;align-items:center;gap:11px;padding:10px 4px;color:#5d785f;font-size:12px;cursor:pointer}.assignment-choices>label[hidden]{display:none}.assignment-choices input,.payout-position input{width:16px;height:16px;accent-color:#377c70;margin:0;flex-shrink:0}.assignment-choices label small{display:block;color:#97a18e;font-size:10px;margin-top:4px}.assignment-choices>small{display:block;margin:12px 3px 3px;color:#9aa58f;font-size:10px;line-height:1.6}.contractor-owners{display:flex;flex-wrap:wrap;gap:5px}.contractor-owners>span{font-size:10px;border-radius:4px;background:#edf3e9;color:#7b9370;padding:4px 7px}.partner-actions{gap:8px;flex-wrap:wrap}.inline-admin-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.inline-admin-actions>.button{font-size:10px;padding:6px 9px}.inline-admin-actions .icon{width:12px;height:12px}.payout-position{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid var(--line);font-size:12px;cursor:pointer}.payout-position>span{flex:1}.payout-position strong{font-size:12px;font-weight:500}.payout-position small{display:block;font-size:10px;color:#97a48b;margin-top:5px}.payout-position>b{font-weight:500}.payout-note{font-size:11px;color:#8a9a85;line-height:1.6;margin-top:20px}.finance-bottom .empty{min-height:180px}.finance-bottom .empty p{font-size:11px}
@media(min-width:1450px){.earnings-chart svg{min-height:290px}.finance-main{grid-template-columns:minmax(0,1.9fr) minmax(320px,1fr)}}
@media(max-width:1150px){.finance-main{grid-template-columns:minmax(0,1.5fr) minmax(265px,1fr)}.finance-surface{padding:12px}.finance-main,.finance-bottom{gap:12px}.finance-bottom{margin-top:12px;grid-template-columns:1fr}.earnings-chart svg{min-height:220px}.earning-entry .pill{font-size:10px}.pipeline-stages{grid-template-columns:1fr 1fr;column-gap:30px}.pipeline-stages>button{grid-template-columns:135px 1fr 15px}.top-actions .search input{width:190px}}
@media(max-width:950px){.finance-main{grid-template-columns:1fr}.payout-card .payout-history{min-height:120px}.overview-metrics strong{font-size:23px}.overview-metrics{gap:15px}.top-actions .search input{width:145px}.context-switch{min-width:255px}.context-switch select{max-width:220px}.finance-surface .panel-head{padding:20px 20px 12px}.earnings-chart svg{min-height:200px}}
@media(max-width:700px){.main{padding:25px 17px}.main>.page-head{margin-bottom:25px}.finance-surface{padding:8px;margin:0 -6px;border-radius:13px}.overview-metrics{gap:12px;margin-bottom:22px}.overview-metrics>div{padding-right:6px}.overview-metrics span{font-size:9px;line-height:1.5;margin-bottom:7px}.overview-metrics strong{font-size:18px;letter-spacing:-.5px}.period-select{padding:0 10px;gap:6px}.period-select select{font-size:10px;padding-right:15px;max-width:122px}.period-select>.icon:first-child{width:13px}.period-select>.icon:last-child{width:10px;right:10px}.finance-surface .panel-head h2{font-size:13px}.finance-surface .panel-head{padding:18px 16px 10px}.finance-surface .panel-head .button{font-size:9px;padding:6px 9px}.earnings-total{font-size:28px;margin-left:17px;margin-top:10px}.earnings-chart{padding:6px 9px 15px}.earnings-chart svg{min-height:165px}.chart-axis{font-size:22px}.earning-entry{gap:8px;flex-wrap:wrap}.earning-person strong{font-size:11px}.earning-entry .pill{font-size:8px}.earning-money{font-size:11px}.recent-earnings{padding-left:16px;padding-right:16px}.pipeline-stages{grid-template-columns:1fr;padding-left:17px;padding-right:17px}.pipeline-stages>button{grid-template-columns:145px 1fr 20px}.pipeline-total{margin-left:17px}.commission-stats{grid-template-columns:1fr}.top-actions .search{display:none}.partner-actions .button{font-size:10px}.brand img{width:165px}.finance-tabs button{font-size:12px}}
/* Personal tasks on the start page, finance details in their own workspace. */
.todo-panel{display:flex;flex-direction:column;min-width:0}.todo-count{display:flex;align-items:baseline;gap:9px;margin:6px 23px 19px}.todo-count strong{font-size:28px;font-weight:600;letter-spacing:-.6px}.todo-count>span{color:#8d9c8e;font-size:11px}.todo-list{padding:0 23px;max-height:300px;overflow-y:auto;scrollbar-width:thin;flex:1}.personal-todo{display:flex;align-items:flex-start;gap:11px;border-bottom:1px solid #edf1ed;padding:15px 0}.personal-todo:last-child{border-bottom:0}.todo-check{border:1.5px solid #cedbcf;background:white;border-radius:50%;width:19px;height:19px;flex:0 0 19px;padding:0;margin-top:1px;display:grid;place-items:center;cursor:pointer;color:#fff}.todo-check:hover{border-color:#579383;background:#eff7ee}.todo-check.checked{background:#669582;border-color:#669582}.todo-check .icon{width:12px;height:12px}.todo-text{flex:1;min-width:0;padding-top:1px}.todo-text>strong{display:block;overflow-wrap:anywhere;font-size:12px;line-height:1.6;font-weight:500;color:#52705a}.todo-text small{display:flex;align-items:center;gap:5px;font-size:10px;color:#98a18e;margin-top:7px}.todo-text small>.icon{width:12px;height:12px}.todo-text small.overdue{color:#b27e51}.personal-todo.done .todo-text>strong{text-decoration:line-through;color:#a1ad9e}.todo-edit{padding:3px;color:#9aab94;flex:0 0 21px;height:23px;width:21px}.todo-edit .icon{width:13px;height:13px}.todo-edit:hover{color:#437866;background:#f1f6ed}.todo-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;padding:34px 10px;min-height:232px;text-align:center;color:#9aab93}.todo-empty>.icon{width:30px;height:30px;border-radius:50%;padding:8px;box-sizing:content-box;color:#83ac91;background:#f0f7ee;margin-bottom:5px}.todo-empty>strong{color:#698c70;font-size:13px;font-weight:500}.todo-empty>span{font-size:11px;line-height:1.6}.todo-empty>.button{margin-top:7px;font-size:10px}.todo-completed{border-top:1px solid #e8eee5;margin:15px 23px 18px;padding-top:15px}.todo-completed>summary{cursor:pointer;color:#91a185;font-size:11px;display:flex;align-items:center;gap:8px;list-style:none}.todo-completed>summary:before{content:'›';display:inline-block;font-size:16px;line-height:12px;transform:rotate(0);transition:transform .15s}.todo-completed[open]>summary:before{transform:rotate(90deg)}.todo-completed>summary>span{font-size:10px;background:#edf3e8;border-radius:4px;padding:1px 5px}.todo-completed>div{max-height:200px;overflow-y:auto}.overview-pipeline{margin-top:18px}.overview-pipeline .pipeline-stages{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 32px}.overview-pipeline .pipeline-stages>button{grid-template-columns:minmax(90px,155px) 1fr 18px}.rate-list{padding:0 23px 15px}.rate-list>div{display:flex;gap:15px;align-items:center;padding:18px 0;border-bottom:1px solid #edf1ed}.rate-list>div:last-child{border:0}.rate-list>div>span{flex:1;min-width:0}.rate-list strong{font-size:12px;font-weight:500;color:#57715b;display:block}.rate-list small{font-size:10px;display:block;color:#98a28c;margin-top:6px}.rate-list b{font-size:24px;font-weight:500;letter-spacing:-.5px;color:#386d5d}.rate-list .button{font-size:10px;padding:7px 9px}.commission-overview .finance-bottom{grid-template-columns:minmax(250px,1fr) minmax(0,1.5fr)}.head-actions .period-select{flex-shrink:0}
@media(max-width:1150px){.overview-pipeline .pipeline-stages{grid-template-columns:repeat(2,minmax(0,1fr))}.commission-overview .finance-bottom{grid-template-columns:1fr}}
@media(max-width:700px){.todo-count{margin-left:17px;margin-right:17px}.todo-list{padding-left:17px;padding-right:17px}.todo-completed{margin-left:17px;margin-right:17px}.todo-empty{min-height:170px}.overview-pipeline{margin-top:12px}.overview-pipeline .pipeline-stages{grid-template-columns:1fr;gap:15px}.overview-pipeline .pipeline-stages>button{grid-template-columns:145px 1fr 20px}.head-actions:has(.period-select){flex-wrap:wrap;justify-content:flex-end;gap:8px}.page-head:has(.period-select):has(.primary){align-items:flex-start}.page-head .head-actions .primary{font-size:9px;padding:8px}.rate-list{padding-left:17px;padding-right:17px}}
/* Remove redundant navigation chrome; give the actual work more room. */
.main{padding-top:42px}.main>.page-head{margin-bottom:27px}.page-head>div:first-child{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.page-head .subtitle{flex-basis:100%;margin-top:0}.sidebar>.brand{margin-bottom:44px}.sidebar-context{margin:-10px 0 24px}.sidebar-context .context-switch{min-width:0;max-width:none;width:100%;padding:0 8px;gap:5px;background:#f8faf7;border-radius:7px}.sidebar-context .context-switch select{min-width:0;max-width:100%;width:100%;font-size:10px;text-overflow:ellipsis;padding-right:16px;min-height:40px}.sidebar-context .context-switch>.icon:first-child{width:13px;flex:0 0 13px}.sidebar-context .context-switch>.icon:last-child{right:7px;width:10px}.sidebar .nav button{padding-top:13px;padding-bottom:13px}.sidebar .account small{max-width:105px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pipeline-search{display:flex;align-items:center;gap:9px;background:#fff;border:1px solid #dfe7df;border-radius:100px;padding:0 13px;min-height:38px}.pipeline-search .icon{width:15px;height:15px;color:#8ca08d}.pipeline-search input{background:none;outline:0;border:0;min-width:0;width:170px;padding:9px 0;font-size:11px}.lead-toolbar{flex-wrap:wrap}.commission-overview .finance-bottom{grid-template-columns:repeat(3,minmax(0,1fr))}.commission-overview .finance-bottom .panel-head{padding:19px 19px 12px}.commission-overview .finance-bottom .panel-head h2{font-size:13px}.commission-overview .finance-bottom .panel-head .button{font-size:9px;padding:6px 8px}.commission-overview .recent-earnings{padding-left:19px;padding-right:19px}.commission-overview .earning-entry{gap:8px;flex-wrap:wrap}.commission-overview .earning-entry .earning-person{flex-basis:calc(100% - 45px)}.commission-overview .earning-entry .pill{margin-left:39px}.commission-overview .earning-money{margin-left:auto}.order-basis-body{padding:12px 21px 25px}.order-basis-body>strong{display:block;font-size:29px;font-weight:600;color:#326c5c;letter-spacing:-.7px}.order-basis-body>span{display:block;font-size:10px;color:#98a48d;margin-top:7px}.order-basis-body>div{display:flex;align-items:baseline;gap:10px;border-top:1px solid #edf1e9;margin-top:24px;padding-top:17px;margin-bottom:20px}.order-basis-body b{font-size:23px;font-weight:500;color:#5e7e61}.order-basis-body>div>span{font-size:11px;color:#91a085}.order-basis-body .button{font-size:10px}.preview-columns{display:grid;grid-template-columns:repeat(7,minmax(155px,1fr));gap:9px;padding:6px 20px 22px;overflow-x:auto;scrollbar-width:thin}.preview-column{min-width:0;background:#f3f6f1;border:1px solid #edf1e9;border-radius:8px;padding:11px 9px;display:flex;flex-direction:column}.preview-stage{display:flex;align-items:flex-start;gap:6px;min-height:43px}.preview-stage .dot{background:#8caaa8;width:5px;height:5px;flex:0 0 5px;margin-top:6px}.preview-stage h3{font-family:Inter,sans-serif;font-size:10px;line-height:1.5;flex:1;font-weight:500;color:#718c72;margin:0}.preview-stage>b{background:white;border-radius:4px;font-size:9px;padding:2px 5px;color:#8ea18a;font-weight:500}.preview-won .dot{background:#6f9f78}.preview-lost .dot{background:#bd998a}.preview-preparing .dot,.preview-offered .dot{background:#c0a37c}.preview-cards{display:grid;gap:8px}.preview-lead{width:100%;min-width:0;background:white;border:1px solid #e5ece1;border-radius:6px;padding:11px 9px;text-align:left;cursor:pointer;min-height:91px;box-shadow:0 1px 2px #1d4c2c02}.preview-lead:hover{border-color:#a9c5ac;transform:translateY(-1px)}.preview-lead>small{font-size:7px;color:#a1b09a;display:block}.preview-lead>strong{display:block;font-size:10px;line-height:1.5;margin:7px 0;color:#48684d;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.preview-lead>span{font-size:9px;color:#9bad8f;display:flex;align-items:center;gap:4px}.preview-lead .icon{width:10px;height:10px}.preview-empty{font-size:9px;color:#b1bda6;text-align:center;padding:30px 3px}.preview-more{font-size:9px;background:none;border:0;color:#7b9871;justify-content:center;margin-top:9px;padding:4px;box-shadow:none}.lead-record-body .detail-block[data-record-panel]{display:block!important}.lead-record-body .detail-block{scroll-margin-top:20px}.lead-record-body .detail-block>h3{font-size:13px}.page-head .mobile-menu{display:none}
@media(max-width:1100px){.commission-overview .finance-bottom{grid-template-columns:1fr 1fr}.commission-overview .finance-bottom>.order-basis{grid-column:1/-1}.preview-columns{grid-template-columns:repeat(7,165px)}}
@media(max-width:700px){.main{padding-top:24px}.page-head .mobile-menu{display:flex;padding:0;width:22px;height:26px;flex:0 0 22px}.page-head>div:first-child{gap:9px}.page-head h1{font-size:23px}.page-head{align-items:center}.main>.page-head{margin-bottom:23px}.head-actions{gap:7px}.commission-overview .finance-bottom{grid-template-columns:1fr}.commission-overview .finance-bottom>.order-basis{grid-column:auto}.order-basis-body>strong{font-size:26px}.preview-columns{padding-left:15px;padding-right:15px;grid-template-columns:repeat(7,160px);gap:8px}.pipeline-search{width:100%;min-height:38px}.pipeline-search input{width:100%}.lead-filters{width:100%;gap:3px}.lead-filters>button{font-size:10px;padding:7px 8px}.page-head .head-actions .button{font-size:10px}.sidebar-context .context-switch{min-width:0}.sidebar>.brand{margin-bottom:39px}.lead-record-body .detail-actions{gap:8px}}
/* Clear lead actions, an always-visible task block and a quiet audit trail. */
.lead-header-actions{display:flex;align-items:center;gap:11px;flex-shrink:0;margin-left:15px}.lead-header-actions .button{font-size:10px;padding:7px 10px}.lead-header-actions .icon-button{width:25px;height:28px}.drawer-title:has(.lead-header-actions){align-items:flex-start}.drawer-title:has(.lead-header-actions)>div:first-child{min-width:0}.drawer-title:has(.lead-header-actions) h2{overflow-wrap:anywhere}.record-block-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}.record-block-heading h3{margin:0!important;display:flex;align-items:center;gap:8px}.record-block-heading h3>span{font-size:10px;color:#94a28b;font-weight:400;background:#eff4e9;border-radius:4px;padding:2px 5px}.record-block-heading>.button{font-size:10px;padding:7px 10px}.record-empty{font-size:11px;color:#a1ad94;padding:12px 0 5px}.lead-task-section .task{padding:14px 0}.lead-task-section .task>div{min-width:0;flex:1}.lead-task-section .task strong{white-space:normal;overflow-wrap:anywhere}.lead-task-section .task .text-link{text-align:left;line-height:1.6}.record-notes:empty{display:none}.record-notes{margin-top:20px}.lead-record-body .activity-row{gap:10px;align-items:flex-start}.lead-record-body .activity-row>div{flex:1;min-width:0}.lead-record-body .activity-row strong{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;font-size:11px}.lead-record-body .activity-row small{font-size:10px;margin-top:5px;color:#9aaa90}.lead-record-body .activity-time{font-size:9px;white-space:normal;line-height:1.7;text-align:right;max-width:95px;flex:0 0 95px;color:#9ead95}.record-changelog{margin-top:24px;border:1px solid #e6ece1;border-radius:8px;background:#fcfdfa;padding:0 14px}.record-changelog>summary{display:flex;align-items:center;gap:8px;list-style:none;cursor:pointer;padding:13px 0;color:#8c9d7e;font-size:11px}.record-changelog>summary::-webkit-details-marker{display:none}.record-changelog>summary>.icon:first-child{width:14px;height:14px;color:#a0af93}.record-changelog>summary>span{flex:1}.record-changelog>summary>b{font-weight:400;font-size:9px;background:#edf3e7;padding:1px 5px;border-radius:4px}.record-changelog>summary>.icon:last-child{width:12px;height:12px;transition:transform .15s}.record-changelog[open]>summary>.icon:last-child{transform:rotate(180deg)}.record-changelog>div{border-top:1px solid #e8eee2;padding-bottom:8px}.record-changelog .activity-mark{width:23px;height:23px;flex:0 0 23px}.record-changelog .activity-mark .icon{width:12px;height:12px}.record-changelog .activity-row{padding:13px 0}.record-changelog .activity-time{max-width:90px;flex-basis:90px}.record-changelog .activity-row strong{font-size:10px}
@media(max-width:700px){.lead-header-actions{gap:5px;margin-left:8px}.lead-header-actions .button{font-size:9px;padding:7px}.lead-header-actions .button .icon{width:12px;height:12px}.drawer-title:has(.lead-header-actions) h2{font-size:17px}.record-block-heading{gap:8px}.record-block-heading>.button{font-size:9px;padding:7px 8px}.lead-record-body .activity-time{max-width:76px;flex-basis:76px;font-size:8px}.record-changelog{padding:0 10px}.record-changelog .activity-time{max-width:70px;flex-basis:70px}}
.inline-task-form{border:1px solid #e4ebde;border-radius:8px;background:#fcfdfa;padding:13px;margin-bottom:14px}.inline-task-form .form-error:empty{display:none}.inline-task-title>span,.inline-task-options label>span{font-size:10px;color:#8d9f7e}.inline-task-form input{background:white;font-size:11px;min-width:0;padding:9px 10px}.inline-task-title input{width:100%;margin-top:5px}.inline-task-options{display:flex;align-items:flex-end;gap:12px;margin-top:10px}.inline-task-options>label{flex:1;max-width:230px;min-width:0}.inline-task-options input{margin-top:5px;width:100%}.inline-task-options>.button{font-size:10px;padding:9px 12px;min-height:35px;flex-shrink:0}.lead-task-section .task>div>strong{font-size:11px;line-height:1.6;font-weight:500;color:#66805e;white-space:pre-wrap;overflow-wrap:anywhere}.lead-task-section .task.done>div>strong{text-decoration:line-through;color:#a6b299}.lead-task-section .task-check:focus-visible{outline:2px solid #7bab8e;outline-offset:3px}.lead-task-section .task .task-date{flex-shrink:0}
@media(max-width:700px){.inline-task-form{padding:11px}.inline-task-options{gap:9px}.inline-task-options>.button{font-size:9px;padding:9px}.inline-task-options input{font-size:10px}}
/* Offer register following the supplied list reference. */
.offers-list{overflow:visible;box-shadow:none;border-radius:10px;border-color:#e1e7e2}.offers-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 22px;border-bottom:1px solid #e2e8e3;min-height:77px}.offer-status-tabs{min-width:0;overflow-x:auto;scrollbar-width:thin;align-self:stretch;display:flex}.offer-status-tabs>div{display:flex;gap:23px;align-items:stretch}.offer-status-tabs button{border:0;border-bottom:2px solid transparent;background:none;padding:25px 1px 23px;font-size:12px;font-weight:500;color:#a2ada2;white-space:nowrap;cursor:pointer}.offer-status-tabs button:hover{color:#4a7a64}.offer-status-tabs button.active{color:#284f46;border-bottom-color:#ed8138;font-weight:600}.offers-tools{display:flex;gap:8px;flex-shrink:0}.offers-tools>.button{font-size:11px;padding:9px 12px;background:#fff;border-color:#dde5de}.offers-tools>.button.selected{border-color:#a9c7b3;background:#f2f8ee}.offers-tools .icon{width:14px;height:14px}.offers-table{min-width:790px;width:100%;table-layout:fixed}.offers-table th:nth-child(1){width:16%}.offers-table th:nth-child(2){width:18%}.offers-table th:nth-child(3){width:38%}.offers-table th:nth-child(4){width:13%}.offers-table th:nth-child(5){width:15%}.offers-table thead th{background:white;font-size:12px;font-weight:600;color:#45604e;letter-spacing:0;text-transform:none;padding:24px 24px 20px;border-bottom:2px solid #e5ebe4}.offers-table tbody td{padding:24px;vertical-align:middle;font-size:12px;border-bottom:1px solid #edf1eb;color:#72866e;white-space:normal}.offers-table tr:last-child td{border-bottom:0}.offers-table tbody tr:hover{background:#fafcf8}.offers-table th:last-child,.offers-table td:last-child{text-align:right;white-space:nowrap}.offers-table td.money{font-size:13px;font-weight:500;color:#3c6551}.offer-status{display:flex;align-items:center;gap:9px;font-size:11px;white-space:nowrap;color:#7c8b77}.offer-status>i{width:19px;height:19px;flex:0 0 19px;border-radius:50%;background:#f3f5f1;border:1px solid #cbd4c6;position:relative}.offer-status>i:after{content:'';position:absolute;width:5px;height:5px;border-radius:50%;background:#acb8a3;top:6px;left:6px}.offer-status.final>i{background:#fff4d7;border-color:#efc36a}.offer-status.final>i:after{background:#e7b045}.offer-status.accepted>i{background:#eaf4e8;border-color:#83ad84}.offer-status.accepted>i:after{background:#6b9c71}.offer-status.rejected>i{background:#fff0ea;border-color:#dcb09f}.offer-status.rejected>i:after{background:#c88f7b}.offer-status.cancelled>i{background:#f3eeee;border-color:#c8b6b0}.offer-status.cancelled>i:after{background:#b49990}.offer-number{font-size:11px;font-weight:400;color:#5f785f;overflow-wrap:anywhere}.offer-version{display:block;color:#a1af97;font-size:9px;margin-top:5px}.offer-customer{display:block;font-size:13px;line-height:1.6;color:#4e694f;font-weight:600;overflow-wrap:anywhere}.offer-subject{display:block;font-size:11px;color:#8b9c82;line-height:1.7;margin-top:5px;overflow-wrap:anywhere}.offers-table time{font-size:11px;white-space:nowrap;color:#829179}.offers-filter-form{display:grid;grid-template-columns:minmax(160px,1.4fr) minmax(130px,1fr) minmax(130px,1fr) minmax(180px,1.4fr);gap:15px;padding:21px 24px;background:#fbfcf9;border-bottom:1px solid #e4ebe0}.offers-filter-form .field{font-size:10px;color:#8da07f;min-width:0}.offers-filter-form input,.offers-filter-form select{font-size:11px;background:white;width:100%;min-width:0}.offers-filter-form .form-error{grid-column:1/-1}.offers-filter-form .form-error:empty{display:none}.offers-filter-actions{display:flex;justify-content:flex-end;gap:8px;grid-column:1/-1}.offers-list .empty{min-height:200px}.pill.rejected{color:#a97862;background:#fbede6}
@media(max-width:1200px){.offers-toolbar{padding:0 18px;gap:15px}.offer-status-tabs>div{gap:17px}.offer-status-tabs button{font-size:11px}.offers-tools>.button{font-size:10px;padding:8px 10px}.offers-table thead th,.offers-table tbody td{padding-left:18px;padding-right:18px}}
@media(max-width:950px){.offers-toolbar{align-items:flex-start;flex-direction:column;gap:0;padding-top:15px}.offers-tools{align-self:flex-end;order:-1;margin-bottom:3px}.offer-status-tabs{width:100%}.offer-status-tabs button{padding-top:18px;padding-bottom:16px}.offers-filter-form{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.offers-toolbar{padding-left:15px;padding-right:15px}.offer-status-tabs>div{gap:21px}.offer-status-tabs button{font-size:11px}.offers-list{border-radius:8px}.offers-filter-form{padding:17px 15px;grid-template-columns:1fr 1fr;gap:13px}.offers-filter-form>.field:first-of-type,.offers-filter-form>.field:last-of-type{grid-column:1/-1}.offers-table tbody td{padding-top:19px;padding-bottom:19px}.offers-table thead th{padding-top:20px;padding-bottom:18px}.offers-table{min-width:760px}.offers-tools>.button{font-size:10px}.offers-list .empty p{font-size:11px}}
/* A personal welcome and four clear entry points for daily work. */
.welcome-heading>.page-head{margin-bottom:31px;align-items:center}.welcome-heading h1{font-family:Inter,sans-serif;font-size:32px;font-weight:400;line-height:1.3;letter-spacing:-1.1px;color:#254e43}.dashboard-quickstart{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:25px}.quickstart-card{position:relative;min-width:0;min-height:152px;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:21px;padding:23px 24px;background:#397a61;border:1px solid #397a61;border-radius:11px;color:#fff;text-align:left;cursor:pointer;transition:background .16s,border-color .16s,transform .16s;box-shadow:0 2px 4px #28583c04}.quickstart-card:hover{background:#306b54;border-color:#306b54;transform:translateY(-2px)}.quickstart-card:focus-visible{outline:3px solid #eb9d61;outline-offset:4px}.quickstart-icon{display:grid;place-items:center;width:34px;height:34px;color:#dcecdf;background:#ffffff0e;border:1px solid #ffffff19;border-radius:7px}.quickstart-icon>.icon{width:20px;height:20px;stroke-width:1.4}.quickstart-label{font-size:15px;font-weight:500;line-height:1.5;letter-spacing:-.15px;padding-right:18px}.quickstart-arrow{position:absolute;right:21px;bottom:25px;width:16px;height:16px;color:#aecfb7;transition:transform .16s}.quickstart-card:hover .quickstart-arrow{transform:translateX(3px);color:#fff}.dashboard-chart-toolbar{display:flex;justify-content:flex-end;margin:0 0 14px}.dashboard-chart-toolbar .period-select{background:#fff}.welcome-heading .head-actions:empty{display:none}
@media(max-width:1200px){.dashboard-quickstart{gap:13px}.quickstart-card{padding:20px;min-height:145px}.quickstart-label{font-size:13px}.quickstart-arrow{right:16px;bottom:23px}.welcome-heading h1{font-size:28px}}
@media(max-width:950px){.dashboard-quickstart{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.quickstart-card{min-height:133px}.quickstart-label{font-size:14px}.welcome-heading h1{font-size:26px;letter-spacing:-.8px}}
@media(max-width:700px){.welcome-heading>.page-head{margin-bottom:23px}.welcome-heading>.page-head>div:first-child{flex-wrap:nowrap;align-items:flex-start;gap:12px}.welcome-heading .mobile-menu{margin-top:3px;flex-shrink:0}.welcome-heading h1{font-size:25px;line-height:1.35;letter-spacing:-.8px;overflow-wrap:anywhere}.dashboard-quickstart{gap:11px;margin-bottom:21px}.quickstart-card{min-height:136px;padding:17px 15px;gap:17px;border-radius:9px}.quickstart-icon{width:29px;height:29px}.quickstart-icon>.icon{width:17px;height:17px}.quickstart-label{font-size:12px;padding-right:14px}.quickstart-arrow{width:13px;height:13px;right:13px;bottom:21px}.dashboard-chart-toolbar{margin-bottom:12px}.dashboard-chart-toolbar .period-select{background:#fff}}
/* Lighter, more compact entry points and an uncluttered overview. */
.welcome-heading{padding-top:23px}.welcome-heading>.page-head{margin-bottom:29px}.dashboard-quickstart{gap:15px;margin-bottom:29px}.quickstart-card{display:grid;grid-template-columns:43px minmax(0,1fr) 15px;align-items:center;justify-content:normal;gap:14px;min-height:110px;padding:21px;background:#fff;border:1px solid #dce6dc;box-shadow:0 2px 5px #20482e03;border-radius:10px;color:#264f42}.quickstart-card:hover{background:#f5faf3;border-color:#b5d0ba;transform:translateY(-1px)}.quickstart-icon{width:43px;height:43px;border:0;background:#edf5e9;color:#4d8866;border-radius:10px}.quickstart-icon>.icon{width:23px;height:23px;stroke-width:1.6}.quickstart-label{font-size:14px;font-weight:500;line-height:1.55;padding:0;color:#2e5548;letter-spacing:0}.quickstart-arrow{position:static;width:15px;height:15px;color:#97b29b}.quickstart-card:hover .quickstart-arrow{color:#39795a;transform:translateX(2px)}.dashboard-reports{padding:0;background:transparent;border:0;border-radius:0}.dashboard-reports .finance-main{gap:19px}.earnings-panel-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-shrink:0}.earnings-panel-actions .period-select{border-radius:7px;padding:0 10px;gap:7px;min-height:31px;background:white}.earnings-panel-actions .period-select select{font-size:10px;padding:8px 15px 8px 0;min-height:0}.earnings-panel-actions .period-select>.icon:first-child{width:13px;height:13px}.earnings-panel-actions .period-select>.icon:last-child{width:10px;height:10px;right:10px}.dashboard-reports .earnings-panel .panel-head{flex-wrap:wrap;align-items:center}.earnings-panel-actions .button{white-space:nowrap}.dashboard-reports .earnings-panel .panel-head h2{white-space:nowrap}
@media(max-width:1200px){.quickstart-card{padding:18px;grid-template-columns:36px minmax(0,1fr) 12px;gap:10px;min-height:105px}.quickstart-icon{width:36px;height:36px;border-radius:8px}.quickstart-icon>.icon{width:21px;height:21px}.quickstart-label{font-size:12px}.quickstart-arrow{width:12px;height:12px}}
@media(max-width:950px){.quickstart-card{min-height:99px;grid-template-columns:40px minmax(0,1fr) 15px;padding:18px 20px;gap:14px}.quickstart-label{font-size:13px}.quickstart-icon{width:40px;height:40px}.quickstart-arrow{width:14px;height:14px}.dashboard-reports .finance-main{gap:17px}.earnings-panel-actions{margin-left:auto}}
@media(max-width:700px){.welcome-heading{padding-top:15px}.welcome-heading>.page-head{margin-bottom:23px}.dashboard-quickstart{gap:11px;margin-bottom:23px}.quickstart-card{grid-template-columns:36px 1fr 13px;grid-template-rows:auto auto;min-height:128px;padding:16px 15px;gap:15px 8px;align-items:start}.quickstart-icon{grid-column:1;grid-row:1;width:34px;height:34px;border-radius:8px}.quickstart-icon>.icon{width:20px;height:20px}.quickstart-arrow{grid-column:3;grid-row:1;align-self:center;width:13px;height:13px}.quickstart-label{grid-column:1/-1;grid-row:2;font-size:12px;line-height:1.55;align-self:end}.dashboard-reports{margin:0 -2px}.dashboard-reports .earnings-panel .panel-head>div:first-child{flex-basis:100%}.earnings-panel-actions{width:100%;justify-content:flex-end;margin-top:3px}.dashboard-reports .earnings-panel .panel-head{gap:9px;padding-bottom:12px}.earnings-panel-actions .button{font-size:9px;padding:7px 9px}.earnings-panel-actions .period-select select{font-size:10px;padding-top:7px;padding-bottom:7px}}

/* Compact green dashboard actions. */
.dashboard-quickstart{width:calc(80% + 9px)}
.quickstart-card{background:#397a61;border-color:#397a61;color:#fff;padding:18px;gap:11px;grid-template-columns:39px minmax(0,1fr) 13px}
.quickstart-card:hover{background:#2f6953;border-color:#2f6953}
.quickstart-icon{width:39px;height:39px;background:#ffffff1c;color:#fff}
.quickstart-label{color:#fff;font-weight:500}
.quickstart-arrow,.quickstart-card:hover .quickstart-arrow{color:#e0eee5}
@media(max-width:950px){.dashboard-quickstart{width:100%}}
@media(max-width:700px){.quickstart-card{grid-template-columns:36px 1fr 13px;padding:16px 15px;gap:15px 8px}.quickstart-icon{width:34px;height:34px}}

.dashboard-update-notice{display:flex;align-items:center;gap:10px;margin-top:24px;padding:14px 18px;width:fit-content;max-width:100%;border-radius:9px;background:#e8f1eb;color:#4b7161;font-size:12px;line-height:1.6}.dashboard-update-notice>.icon{width:18px;height:18px;flex-shrink:0}

/* Neutral, compact customer pipeline. */
.shell:has(.kanban){background:#fff;min-height:100vh}
.kanban{align-items:flex-start;gap:18px;padding:2px 2px 24px;min-height:0}
.kanban-col{flex:0 0 270px;min-width:270px;max-width:270px;background:#f7f8fa;border:0;border-radius:12px;padding:12px 10px 3px}
.kanban-head{padding:3px 5px 14px;gap:8px;min-height:45px;align-items:center}
.kanban-head .stage-label{display:inline-flex;align-items:center;min-width:0;padding:4px 8px;font-size:11px;line-height:1.5;border:1px solid #e4e7ec;border-radius:6px;background:#f1f3f6;color:#586574;font-weight:500}
.kanban-head .stage-count{margin-left:0;background:none;padding:0;color:#8490a1;font-size:11px}
.kanban-head .stage-new{background:#eef7ff;border-color:#dbeafb;color:#357db5}
.kanban-head .stage-contact{background:#f6f1ff;border-color:#eae1fa;color:#8962bb}
.kanban-head .stage-visit{background:#f1f3ff;border-color:#e3e5fa;color:#6975ba}
.kanban-head .stage-preparing,.kanban-head .stage-offered{background:#fff7ed;border-color:#ffead4;color:#b87c38}
.kanban-head .stage-won{background:#edf7f2;border-color:#d8eee1;color:#548770}
.kanban-head .stage-lost{background:#fff1f1;border-color:#ffe0e0;color:#c27171}
.kanban-card{padding:17px 15px 13px;margin-bottom:11px;background:#fff;border:1px solid #e6e9ee;border-radius:10px;box-shadow:0 2px 3px #1c27360a;color:#344054;transition:border-color .15s,box-shadow .15s}
.kanban-card:hover{border-color:#c6cfdc;box-shadow:0 4px 9px #1c27360e}
.kanban-card:focus-visible{outline:2px solid #719bc1;outline-offset:2px}
.pipeline-card-heading{display:flex;gap:11px;align-items:center;min-height:47px}
.contact-avatar{display:grid;place-items:center;flex:0 0 33px;width:33px;height:33px;border-radius:50%;background:#eaf1fb;color:#537aac;font-size:11px;font-weight:500}
.pipeline-card-heading>div{min-width:0}
.kanban-card h3{margin:0;color:#344054;font-size:13px;font-weight:500;line-height:1.5;overflow-wrap:anywhere}
.pipeline-card-city{display:block;font-size:10px;color:#97a0af;margin-top:3px;line-height:1.5}
.pipeline-card-date{display:flex;align-items:center;gap:6px;border-top:1px solid #f0f1f4;padding-top:11px;margin-top:15px;color:#96a0af;font-size:10px;line-height:1.5}
.pipeline-card-date>.icon{width:13px;height:13px;flex-shrink:0}
.pipeline-offer{display:block;width:100%;margin-top:15px;padding:10px 11px;border:1px solid #e9ecf0;border-radius:7px;background:#fafbfc;text-align:left;color:#475467;cursor:pointer}
.pipeline-offer:hover{border-color:#cad3df;background:#f4f6f9}
.pipeline-offer-title{display:flex;align-items:center;gap:5px;font-size:9px;color:#8b95a5}
.pipeline-offer-title>.icon{width:12px;height:12px}
.pipeline-offer-status{margin-left:auto;font-size:9px;color:#8c7957}
.pipeline-offer-status.accepted{color:#548770}
.pipeline-offer-status.draft{color:#98a2b3}
.pipeline-offer-value{display:flex;align-items:center;gap:5px;margin-top:6px;font-size:13px;font-weight:500;color:#475467}
.pipeline-offer-value small{font-size:9px;font-weight:400;color:#98a2b3}
.pipeline-offer-value>.icon{margin-left:auto;width:12px;height:12px;color:#98a2b3}
.pipeline-card-owner{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:11px;font-size:9px;color:#98a2b3}
.kanban-card .mini-avatar{background:#f0f2f6;color:#7c889c}
.kanban-empty{border:0;color:#a0a8b5;font-size:10px;padding:14px 5px 23px}
.shell:has(.kanban) .lead-filters>button{color:#8893a3}
.shell:has(.kanban) .lead-filters>button.active{border-color:#e2e7ed;color:#475467;background:#f8f9fb}
.shell:has(.kanban) .lead-filters>button>span{background:#f0f2f6;color:#8893a3}
.shell:has(.kanban) .pipeline-search{border-color:#e4e7ec;border-radius:8px}
@media(max-width:700px){.kanban-col{flex-basis:260px;min-width:260px;max-width:260px}.kanban{gap:13px}}

/* Fill the viewport with narrower pipeline columns. */
.main:has(>.kanban){display:flex;flex-direction:column;height:100dvh;padding-bottom:0}
.main:has(>.kanban)>.page-head,.main:has(>.kanban)>.lead-toolbar{flex-shrink:0}
.kanban{flex:1;min-height:0;align-items:stretch;gap:14px;padding-bottom:0}
.kanban-col{flex:0 0 216px;min-width:216px;max-width:216px;min-height:100%;border-radius:10px 10px 0 0;padding:11px 9px 12px}
.kanban-head{padding:3px 3px 12px;gap:6px;min-height:42px;align-items:center}
.kanban-head .stage-label{font-size:10px;padding:4px 6px}
.kanban-head .stage-count{font-size:10px;flex-shrink:0}
.kanban-card{padding:14px 12px 11px}
.pipeline-card-heading{display:block;min-height:38px}
.kanban-card h3{font-size:12px;line-height:1.5}
.pipeline-card-city{font-size:9px}
.pipeline-card-date{font-size:9px;gap:5px;margin-top:12px;padding-top:10px}
.pipeline-card-date>.icon{width:12px;height:12px}
.pipeline-offer{padding:9px;margin-top:12px}
.pipeline-offer-title,.pipeline-offer-status{font-size:8px}
.pipeline-offer-value{font-size:12px}
.pipeline-offer-value small{font-size:8px}
.pipeline-next-task{display:flex;align-items:flex-start;gap:6px;margin-top:12px;padding-top:10px;border-top:1px solid #f0f1f4;color:#7f8b9c}
.pipeline-next-task>.icon{width:12px;height:12px;flex-shrink:0;margin-top:2px}
.pipeline-next-task>div{min-width:0}
.pipeline-next-task span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:10px;line-height:1.5}
.pipeline-next-task small{display:block;margin-top:3px;font-size:9px;color:#98a2b3}
.pipeline-next-task small.overdue{color:#b77762}
.kanban-empty{font-size:9px}
@media(max-width:700px){.kanban-col{flex-basis:208px;min-width:208px;max-width:208px}.kanban{gap:11px}}

/* One consistent card layout, regardless of offer or customer name length. */
.kanban-card{height:178px;display:flex;flex-direction:column;padding:14px 12px 10px;overflow:hidden;box-shadow:0 1px 3px #1c273607}
.pipeline-card-heading{height:51px;min-height:51px;flex:0 0 51px}
.kanban-card h3{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:18px;max-height:36px;font-size:12px;font-weight:500;margin:0}
.pipeline-card-city{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:14px;margin-top:3px}
.pipeline-offer{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;flex:0 0 43px;height:43px;min-height:43px;margin:8px 0 0;padding:0;border:0;border-radius:0;background:transparent}
.pipeline-offer:hover{background:transparent;border:0}
.pipeline-offer-title{font-size:9px;line-height:14px;color:#98a2b3;gap:5px}
.pipeline-offer-title>.icon{display:none}
.pipeline-offer-status{font-size:9px;font-weight:400}
.pipeline-offer-value{font-size:14px;font-weight:500;line-height:21px;margin-top:4px;gap:5px;color:#475467}
.pipeline-offer-value small{font-size:9px;color:#98a2b3}
.pipeline-offer-value>.icon{width:12px;height:12px}
.pipeline-offer:hover .pipeline-offer-value{color:#316e87}
.pipeline-offer-empty{cursor:inherit}
.pipeline-offer-empty .pipeline-offer-value{font-size:11px;color:#b0b7c2;font-weight:400}
.pipeline-card-date{flex:0 0 25px;height:25px;margin-top:auto;padding-top:9px;border-top:1px solid #f0f1f4;font-size:9px;color:#a1a9b6}
.pipeline-card-owner{flex:0 0 22px;height:22px;margin-top:4px;min-width:0}
.pipeline-card-owner>span:first-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pipeline-card-owner .mini-avatar{display:none}
.pipeline-card-owner .assign-button{min-height:20px;padding:2px 5px;font-size:8px}

/* Compact cards with a consistent owner footer. */
.kanban-card{height:148px;display:grid;grid-template-rows:48px 24px 18px 24px;gap:2px;padding:10px 11px}
.pipeline-card-heading{height:48px;min-height:48px}
.kanban-card h3{font-size:11px;line-height:16px;max-height:32px}
.pipeline-card-city{font-size:9px;line-height:12px;margin-top:2px}
.pipeline-offer,.pipeline-offer-slot{height:24px;min-height:24px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:5px;margin:0;padding:0;min-width:0}
.pipeline-offer-value{font-size:12px;line-height:18px;margin:0;gap:3px;white-space:nowrap}
.pipeline-offer-value small{font-size:8px}
.pipeline-offer-status{margin:0;font-size:8px;white-space:nowrap}
.pipeline-card-date{height:18px;min-height:18px;padding:2px 0 0;margin:0;border:0;font-size:8px;line-height:14px;color:#a1a9b6}
.pipeline-card-owner{height:24px;min-height:24px;margin:0;padding-top:5px;border-top:1px solid #f0f1f4;gap:5px;min-width:0}
.pipeline-owner-person{display:flex;align-items:center;gap:6px;min-width:0}
.pipeline-owner-person>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px;line-height:18px;color:#7e8999}
.pipeline-owner-photo{width:18px;height:18px;flex:0 0 18px;border-radius:50%;object-fit:cover;object-position:center 38%;background:#edf0f4}
.pipeline-card-owner .assign-button{height:18px;min-height:18px;padding:1px 4px;font-size:8px;flex-shrink:0}

/* Fit every pipeline stage into the desktop workspace. */
.kanban{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;overflow-x:hidden;overflow-y:auto;align-items:stretch;min-width:0}
.kanban-col{width:auto;min-width:0;max-width:none;min-height:100%;padding:10px 6px 12px;border-radius:6px 6px 0 0}
.kanban-head{padding:2px 2px 12px;gap:4px;min-height:44px}
.kanban-head .stage-label{white-space:normal;font-size:9px;padding:3px 5px;line-height:13px}
.kanban-head .stage-count{font-size:9px;margin-left:auto}
.kanban-card{height:124px;min-width:0;display:grid;grid-template-rows:12px 43px 13px 22px;gap:3px;padding:7px 8px;border-radius:3px;margin-bottom:8px;border-color:#e4e7ec;box-shadow:0 2px 3px #1726340d;overflow:hidden}
.pipeline-card-top{display:flex;align-items:center;justify-content:space-between;min-width:0;height:12px}
.pipeline-stage-mark{display:block;width:25px;height:3px;border-radius:3px;background:#8ba9c9}
.mark-contact{background:#ab92c9}.mark-visit{background:#8a94c5}.mark-preparing{background:#c7b86b}.mark-offered{background:#cea16c}.mark-won{background:#73a48e}.mark-lost{background:#c49595}
.pipeline-menu-toggle{display:grid;place-items:center;width:22px;height:20px;margin-right:-4px;padding:0;border:0;border-radius:4px;background:transparent;color:#a1a9b6;cursor:pointer}
.pipeline-menu-toggle>.icon{width:15px;height:15px;stroke-width:2.4}
.pipeline-menu-toggle:hover{color:#53657c;background:#f0f3f6}
.pipeline-menu-toggle:focus-visible{outline:2px solid #8faac4;outline-offset:0}
.pipeline-card-heading{height:43px;min-height:43px;min-width:0}
.kanban-card h3{font-size:11px;font-weight:600;line-height:15px;max-height:30px}
.pipeline-card-city{line-height:11px;font-size:9px;margin-top:1px}
.pipeline-card-date{height:13px;min-height:13px;font-size:7px;line-height:12px;padding:0;color:#a4acb8}
.pipeline-card-owner{height:22px;min-height:22px;padding:3px 0 0;margin:0;gap:3px}
.pipeline-owner-person{gap:4px;flex:1;min-width:0}
.pipeline-owner-photo{width:16px;height:16px;flex-basis:16px}
.pipeline-owner-person>span{font-size:8px;line-height:16px}
.pipeline-deal-value{border:0;background:none;padding:0;margin:0;flex-shrink:0;font-size:9px;font-weight:500;line-height:16px;color:#536071;white-space:nowrap;text-decoration:none;cursor:pointer}
.pipeline-deal-value:hover{color:#2e6d85}
.pipeline-deal-value.estimate{font-size:8px;color:#929aa7;cursor:inherit;font-weight:400}
.pipeline-card-menu{position:fixed;inset:auto;margin:0;padding:5px;width:190px;border:1px solid #e2e7ee;border-radius:8px;background:#fff;box-shadow:0 6px 24px #182b4726;color:#475467}
.pipeline-card-menu::backdrop{background:transparent}
.pipeline-card-menu .button{display:flex;width:100%;border:0;box-shadow:none;background:none;text-align:left;justify-content:flex-start;gap:8px;border-radius:4px;font-size:11px;font-weight:400;padding:8px 9px;min-height:32px;color:#536071}
.pipeline-card-menu .button:hover{background:#f3f5f8}
.pipeline-card-menu .button>.icon{width:13px;height:13px}
@media(max-width:1150px){.kanban{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:minmax(360px,1fr)}.kanban-col{min-height:360px}}
@media(max-width:700px){.kanban{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;grid-auto-rows:minmax(320px,1fr)}.kanban-col{width:auto;min-width:0;max-width:none;min-height:320px}.kanban-head{min-height:44px}.kanban-card{padding-left:6px;padding-right:6px}}

/* Compact commission basis, without a second earnings list. */
.commission-keyfigures{display:grid;grid-template-columns:1fr 1fr .8fr;align-items:start;margin-top:14px;padding:18px 8px 8px;border-top:1px solid #dce5de;gap:0}
.commission-keyfigures>div{min-width:0;padding:0 22px;border-left:1px solid #dce5de}
.commission-keyfigures>div:first-child{border-left:0;padding-left:6px}
.commission-keyfigures h2{font-family:Inter,sans-serif;font-size:10px;font-weight:400;line-height:1.5;color:#8a9b90;margin:0 0 9px}
.commission-key-value{display:flex;align-items:center;gap:10px;min-height:29px}
.commission-key-value>strong{font-size:22px;font-weight:500;line-height:1.3;letter-spacing:-.5px;color:#365e51}
.commission-keyfigures .icon-button{width:24px;height:24px;padding:4px;min-height:0;color:#8ca195}
.commission-keyfigures .icon-button>.icon{width:13px;height:13px}
.commission-key-rates{display:grid;gap:6px}
.commission-key-rates>div{display:flex;align-items:center;gap:7px;font-size:10px;line-height:1.5;color:#657e70}
.commission-key-rates>div>span{flex:1;min-width:0}
.commission-key-rates b{font-weight:500;white-space:nowrap}
@media(max-width:950px){.commission-keyfigures>div{padding:0 15px}.commission-key-value>strong{font-size:19px}}
@media(max-width:600px){.commission-keyfigures{grid-template-columns:1fr;gap:15px;padding:16px 8px 8px}.commission-keyfigures>div,.commission-keyfigures>div:first-child{padding:0;border-left:0;display:flex;align-items:center;justify-content:space-between;gap:15px}.commission-keyfigures h2{margin:0}.commission-key-rates{width:65%}.commission-key-value>strong{font-size:18px}}

/* A compact contact block, followed by an optional structured object survey. */
.lead-record-body .detail-block{padding-bottom:20px;margin-bottom:20px}
.lead-record-body .record-block-heading{margin-bottom:12px;min-height:28px}
.lead-contact-data{margin:0;display:grid;gap:8px}
.lead-contact-data>div{display:grid;grid-template-columns:145px minmax(0,1fr);align-items:baseline;gap:12px}
.lead-contact-data dt{font-size:9px;line-height:1.6;color:#96a28f;margin:0}
.lead-contact-data dd{font-size:11px;line-height:1.6;color:#617558;margin:0;overflow-wrap:anywhere}
.lead-contact-data .lead-estimate-row{align-items:center;margin-top:2px}
.lead-estimate-row dd{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.lead-estimate-row .button{font-size:9px;min-height:28px;padding:6px 8px}
.lead-estimate-row .button .icon{width:12px;height:12px}
.lead-assignment-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;padding-top:10px;border-top:1px solid #edf1e9;color:#8a9b80;font-size:10px}
.object-teaser-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 15px;margin:0 0 12px}
.object-teaser-grid dt{font-size:9px;color:#95a18f;line-height:1.5;margin-bottom:3px}
.object-teaser-grid dd{font-size:11px;line-height:1.6;margin:0;color:#607456;overflow-wrap:anywhere}
.object-teaser-note{font-size:11px;line-height:1.7;color:#98a28e;margin:0 0 4px;white-space:pre-wrap}
.object-details{margin-top:14px}
.object-details>summary{display:flex;align-items:center;gap:8px;list-style:none;cursor:pointer;font-size:10px;color:#71866a;min-height:24px}
.object-details>summary::-webkit-details-marker{display:none}
.object-details>summary span{font-size:9px;color:#96a28d;background:#f0f4eb;padding:1px 5px;border-radius:4px}
.object-details>summary>.icon{width:12px;height:12px;margin-left:auto}
.object-details[open]>summary>.icon{transform:rotate(180deg)}
.object-answer-group{padding-top:16px}
.object-answer-group h4{font-size:10px;font-weight:500;color:#607754;margin:0 0 8px}
.object-answer-group dl{margin:0;display:grid;gap:0}
.object-answer-group dl>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:18px;padding:8px 0;border-bottom:1px solid #f0f3ed}
.object-answer-group dt{font-size:10px;line-height:1.6;color:#95a18d}
.object-answer-group dd{font-size:11px;line-height:1.6;margin:0;color:#65795b;white-space:pre-wrap;overflow-wrap:anywhere}
.object-data-form fieldset{margin:0 0 18px;padding:0;border:0;min-width:0}
.object-data-form legend{font-size:11px;font-weight:500;color:#617856;margin-bottom:12px}
.object-data-form .form-grid{gap:12px}
.object-data-form .field{font-size:9px;gap:5px;color:#8c9c80}
.object-data-form .field input,.object-data-form .field textarea{font-size:10px;padding:8px 9px;min-width:0;width:100%;background:#fff}
.object-data-form .field textarea{min-height:65px}
.object-data-form .form-error:empty{display:none}
.object-form-actions{display:flex;align-items:center;gap:9px;padding-top:3px}
.lead-task-section .inline-task-form[hidden],.object-data-form[hidden],[data-object-read][hidden]{display:none!important}
@media(max-width:700px){.lead-contact-data>div{grid-template-columns:112px minmax(0,1fr);gap:10px}.lead-contact-data dt{font-size:8px}.lead-contact-data dd{font-size:10px}.lead-estimate-row dd{gap:7px}.lead-estimate-row .button{font-size:8px;padding:5px 6px}.object-teaser-grid{grid-template-columns:1fr 1fr;gap:10px}.object-answer-group dl>div{grid-template-columns:1fr;gap:3px}.object-data-form .form-grid{grid-template-columns:1fr}.object-form-actions{flex-wrap:wrap}}

/* Customer record: match the supplied side-panel reference. */
.lead-record-drawer{width:620px;max-width:100%;background:#fff;border-radius:0}
.lead-record-drawer .drawer-head{padding:23px 27px 20px;border-bottom:1px solid #e2eae7}
.lead-record-drawer .drawer-title h2{font-family:Montserrat,Inter,sans-serif;font-size:21px;line-height:1.25;letter-spacing:-.6px}
.lead-record-drawer .drawer-subtitle{margin-top:12px}
.lead-record-drawer .drawer-body{padding:23px 27px}
.lead-record-drawer .lead-contact-data>div{grid-template-columns:145px minmax(0,1fr);gap:12px}
.lead-record-drawer .record-block-heading{align-items:center}
.lead-record-drawer .record-block-heading>.button{flex-shrink:0}
@media(max-width:700px){.lead-record-drawer .drawer-head,.lead-record-drawer .drawer-body{padding:20px}.lead-record-drawer .drawer-title h2{font-size:17px}.lead-record-drawer .lead-contact-data>div{grid-template-columns:112px minmax(0,1fr);gap:10px}}

/* Preserve the reference's visual proportions on wider desktop windows. */
.lead-record-drawer{--record-scale:1;zoom:var(--record-scale);width:620px;max-width:calc(100vw / var(--record-scale));height:100%}
