[hidden]{display:none!important}body{padding:0;background:#f5f7f4;font-size:14px}.app-shell{display:grid;grid-template-columns:220px minmax(0,1fr);min-height:100vh}.app-nav{background:#254a3c;color:#d8e5dc;padding:30px 18px;min-height:100vh;z-index:1;position:sticky;top:0;height:100vh;display:flex;flex-direction:column}.brand{display:flex;gap:10px;align-items:center;font-weight:750;letter-spacing:1px;color:#fff;font-size:15px;padding:0 6px 38px}.brand-mark{width:37px;height:37px;display:grid;place-items:center;border:1px solid #8cae97;border-radius:11px;color:#d7e9c8;font-size:23px}.brand small{display:block;font-size:8px;letter-spacing:1.4px;margin:4px 0 0;color:#a1b9a9}.nav-caption{font-size:10px;letter-spacing:1px;color:#9eb5a6;padding:0 14px 12px}.app-nav nav{display:flex;flex-direction:column;gap:7px;border:0;padding:0}.app-nav nav button{background:transparent;color:#bfd1c5;text-align:left;padding:14px 12px;font-size:13px;display:flex;align-items:center;gap:12px;min-height:48px}.app-nav nav button span{font-size:19px;color:#b4cfbb;min-width:20px}.app-nav nav button b{font-size:11px;margin-left:auto;background:#ffffff12;border-radius:6px;padding:2px 6px;font-weight:500}.app-nav nav button.active{background:#426753;color:white}.nav-note{margin:35px 10px;padding:22px 0;border-top:1px solid #ffffff1c;font-size:12px;color:#cfdfcf}.nav-note p{color:#9db3a4;font-size:11px;line-height:1.9;margin-top:8px}.nav-bottom{margin-top:auto;display:flex;flex-direction:column;gap:7px}.nav-bottom button{background:transparent;color:#b8cabc;border-color:#ffffff20;font-size:11px;padding:9px}.nav-bottom>div{font-size:10px;color:#8fa898;line-height:1.9;padding:14px 2px 0}.workspace{padding:34px 30px 16px;min-width:0}header{margin-bottom:24px;gap:20px}h1{font-size:29px;margin:10px 0 6px}.eyebrow{font-size:10px;letter-spacing:2px}header p{font-size:12px;color:#7c8b81}.actions{gap:7px;flex-wrap:wrap;justify-content:end}.actions button{padding:10px 14px;font-size:12px;border-radius:9px}.stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:22px}.stat{text-align:left;font-weight:400;border-radius:13px;padding:20px;color:#89958d;min-height:115px}.stat span{font-size:11px;margin-bottom:11px}.stat strong{font-size:29px;font-weight:700}.stat:hover{border-color:#9fb9a5}.filterbar{display:flex;gap:8px;align-items:center;margin-bottom:15px;flex-wrap:wrap}.filterbar .search{flex:1;min-width:220px;margin:0;background:white;padding:7px 12px;min-height:40px}.filterbar select{border:1px solid var(--line);border-radius:8px;background:white;color:#617566;font-size:11px;padding:11px 9px;max-width:175px}.light-btn{font-size:11px;padding:9px 11px;background:#fff}.filterbar .light-btn{color:#87958a}.table-panel{background:white;border:1px solid var(--line);border-radius:14px;overflow:hidden}.table-heading{display:flex;align-items:center;justify-content:space-between;padding:19px 20px;border-bottom:1px solid var(--line);gap:12px}.table-heading b{font-size:14px}.table-heading span{font-size:11px;color:#859b88;margin-left:8px}.table-heading .table-help{font-size:10px;color:#91a193}.table-scroll{overflow:auto;max-height:calc(100vh - 375px);min-height:240px}#customerTable{white-space:nowrap;font-size:11px;width:100%}#customerTable thead{position:sticky;top:0;z-index:2}#customerTable th{background:#f3f6f1;color:#7d8d7e;font-weight:600;font-size:10px;padding:14px 13px;border-bottom:1px solid #e3e9df}#customerTable td{padding:13px;border-bottom:1px solid #eff2ec;color:#59695e;max-width:250px;height:53px}#customerTable tbody tr:hover{background:#f7faf5}#customerTable .name-cell{position:sticky;left:0;background:#fff;z-index:1;min-width:100px}#customerTable tr:hover .name-cell{background:#f7faf5}#customerTable td.num{color:#9ca89d;font-size:10px;width:45px}#customerTable .name-link{font-size:12px;border:0;background:transparent;padding:0;color:#314d3d;font-weight:650}.phone{font-variant-numeric:tabular-nums}#customerTable td.memo{max-width:180px;overflow:hidden;text-overflow:ellipsis;color:#93a092}.mini-btn{font-size:10px;border:0;background:#f2f6ef;border-radius:5px;padding:5px 7px;margin:0 3px 0 0;font-weight:500;color:#69806c}.ta-toggle{font-size:11px;min-width:27px;height:27px;padding:2px 7px;border-radius:7px;background:#f5f6f2;border-color:#e6eae1;color:#94a18f}.ta-toggle.done{background:#e8f3e7;color:#407341;border-color:#d8e9d4}.badge{padding:3px 9px;border-radius:6px;font-size:10px}.badge-green{background:#e6f3e7;color:#41734b}.badge-neutral{background:#f0f2ed;color:#97a08d}.muted{color:#acb4a9;font-size:10px}#customerTable td.status-red,#customerTable .name-cell.status-red,.record-grid .status-red{background:#ffebe9!important;color:#be534a!important}#customerTable .status-red .name-link{color:#be534a}#customerTable td.status-yellow,#customerTable .name-cell.status-yellow,.record-grid .status-yellow{background:#fff4cc!important;color:#a08121!important}#customerTable .status-yellow .name-link{color:#a08121}.status-label{font-size:10px}.table-foot{padding:12px 18px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);color:#98a491;font-size:10px;gap:12px}.pagination{display:flex;align-items:center;gap:10px}.pagination button{padding:6px 9px;border-radius:6px;font-size:10px}.table-panel .empty{padding:50px 20px;min-height:240px}.table-panel:has(#tableEmpty:not([hidden])) .table-scroll{min-height:0;max-height:0}#mapView{height:calc(100vh - 305px);min-height:520px;grid-template-columns:285px minmax(0,1fr);border-radius:14px}#mapView aside{z-index:1}.customer{padding:17px;gap:10px}.customer .info p{font-size:11px}.map-badge{max-width:60%;font-size:10px}.map-tools button{font-size:10px}#detail{max-height:85%;overflow:auto;width:310px;padding:20px}#detail h2{margin:5px 0;font-size:22px}#detail .record-grid{grid-template-columns:1fr 1fr;gap:10px}#detail .record-grid b{font-size:11px}#detail .record-grid span{font-size:9px}#detail .record-address p,#detail .record-notes p{font-size:11px}.cluster-choice{display:block;width:100%;padding:9px;font-size:12px;margin-top:5px}#record{width:580px}#editor{width:600px}.form-section{border-top:1px solid var(--line);padding-top:16px;margin-top:18px;font-size:12px;color:#4e7157;font-weight:700}.review-hint{font-size:11px;color:#66845e;background:#f1f6eb;padding:11px;border-radius:8px;margin-bottom:13px}.record-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:20px}.record-grid span,.record-address>span,.record-notes>span{display:block;color:#99a695;font-size:11px;margin-bottom:5px}.record-grid b{font-size:13px;font-weight:500;display:inline-block;border-radius:4px;padding:2px 0}.record-address,.record-notes{border-top:1px solid var(--line);padding-top:15px;margin-top:18px}.record-address p{font-size:13px;color:#4f6857}.record-address small{display:block;font-size:10px;margin:5px 0 0;color:#98a68f}.record-notes p{white-space:pre-wrap;color:#6e7e6c;overflow-wrap:anywhere;font-size:12px;max-height:200px;overflow:auto}.record-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:22px}.record-actions button,.record-actions a{font-size:11px;padding:9px 12px;border-radius:8px;text-decoration:none}.record-actions .call{display:inline-block;background:var(--green);color:white;margin:0!important}.record-actions .delete{margin-left:auto}.convert-btn{color:#48743e;border-color:#cadaC3;background:#f3f7ec}.extra-fields{margin-top:15px;color:#879580;font-size:11px}.extra-fields p{font-size:11px}.checkline{display:flex;gap:8px;align-items:center;font-size:11px}.checkline input{width:16px;height:16px;margin:0}.initializing{position:absolute!important;left:-20000px;top:0;width:1100px;visibility:hidden}.storage{line-height:1.7}footer{margin-top:15px;color:#a3ae9e}.app-nav .nav-bottom{border-top:1px solid #ffffff1c;padding-top:18px}.record-actions a:focus-visible{outline:3px solid #83b5a1}#tableEmpty[hidden]{display:none}#tableEmpty button{margin:14px 4px 0}
@media(min-width:1800px){body{padding:0}.workspace{padding:40px}.stats .stat{padding:25px}.table-scroll{max-height:calc(100vh - 395px)}}
@media(max-width:1150px){.app-shell{grid-template-columns:185px minmax(0,1fr)}.workspace{padding:26px 20px}.app-nav{padding:26px 12px}.brand{font-size:12px;gap:7px}.brand-mark{width:30px;height:34px;font-size:21px}.brand small{font-size:7px}.actions button{font-size:10px;padding:9px 11px}h1{font-size:25px}.stats{gap:9px}.stat{padding:16px}.stat span{font-size:10px}#mapView{grid-template-columns:235px minmax(0,1fr)}#detail{width:270px}}
@media(max-width:800px){.app-shell{display:block}.app-nav{position:static;min-height:0;height:auto;padding:14px 18px;display:block}.brand{padding:0 0 12px}.brand small{display:none}.nav-caption,.nav-note,.nav-bottom>div{display:none}.app-nav nav{flex-direction:row;gap:6px}.app-nav nav button{flex:1;justify-content:center;padding:8px 6px;font-size:11px;gap:5px;min-height:35px}.app-nav nav button b{margin:0;padding:2px 4px}.app-nav nav button span{display:none}.app-nav .nav-bottom{padding:10px 0 0;display:flex;flex-direction:row;border:0;margin:0;gap:10px}.nav-bottom button{border:0;font-size:9px;padding:3px 0}.workspace{padding:22px 14px}header{flex-direction:column;align-items:start;gap:14px}.actions{justify-content:start;flex-wrap:wrap;width:100%}.actions button{flex:1}.stats{grid-template-columns:repeat(2,1fr);gap:9px}.stat{min-height:92px;padding:15px}.stat strong{font-size:26px}.filterbar{gap:6px}.filterbar .search{flex-basis:100%;min-height:39px}.filterbar select{flex:1;max-width:none;min-width:100px;padding:9px 5px}.table-scroll{max-height:54vh}.table-heading{padding:15px 13px}.table-help{display:none}.table-foot{padding:10px 12px}#mapView{display:flex;flex-direction:column-reverse;height:auto;min-height:0}#map{height:470px}#mapView aside{height:320px}.map-badge{display:block;max-width:65%;font-size:9px;left:9px;top:12px}.map-tools{right:9px;top:12px}.map-tools button{padding:9px;font-size:10px}#detail{max-height:80%;width:265px;bottom:32px;right:10px}.map-badge span{margin-left:0}.legend>span:last-child{display:none}.initializing{width:700px!important}footer{gap:10px;font-size:8px}.two{gap:10px}}
/* Original workbook conditional formatting. */
.badge-green{background:#bdd7ee;color:#1f4e78}.badge-neutral{background:#ffc7ce;color:#9c0006}#customerTable td.status-red,#customerTable .name-cell.status-red,.record-grid .status-red{background:#f00!important;color:#fff!important}#customerTable .status-red .name-link{color:#fff}#customerTable td.status-yellow,#customerTable .name-cell.status-yellow,.record-grid .status-yellow{background:#ff0!important;color:#000!important}#customerTable .status-yellow .name-link{color:#000}

.table-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.table-tools #clearPotential{border:1px solid #edd3cd;background:#fff7f5;color:#ab5146;padding:7px 10px}.table-tools #undoClearPotential{padding:7px 10px}
.target-month{display:flex;align-items:center;gap:7px;margin:0;font-size:10px;white-space:nowrap}.target-month input{margin:0;padding:8px;font-size:11px;width:135px;background:white}.target-board-intro{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:20px 0 10px}.target-board-intro b{font-size:15px}.target-board-intro span{font-size:11px;color:#849683;margin-left:12px}.target-board-intro button{font-size:11px;padding:10px 13px}.target-help{font-size:10px;margin-bottom:15px}.target-board{display:grid;grid-template-columns:repeat(5,minmax(205px,1fr));gap:12px;overflow:auto;padding-bottom:14px;align-items:start;min-height:420px}.target-column{background:#edf1eb;border:1px solid #e1e8dc;border-radius:13px;min-height:400px}.target-column.drag-over{border:2px solid var(--stage-color);background:#e2ecdd}.target-column-head{padding:18px 15px 14px;border-top:4px solid var(--stage-color);border-radius:13px 13px 0 0}.target-column-head>div{display:flex;justify-content:space-between;align-items:center;color:var(--stage-color)}.target-column-head b{font-size:17px}.target-column-head>div>span{background:white;padding:2px 8px;border-radius:6px;font-size:11px}.target-column-head h3{font-size:12px;margin:7px 0 4px}.target-column-head p{font-size:10px;color:#9aa492}.target-cards{padding:0 9px 10px;max-height:calc(100vh - 445px);min-height:250px;overflow:auto}.target-card{border:1px solid #e0e7da;background:white;border-radius:10px;margin-bottom:9px;padding:14px 12px;cursor:grab;box-shadow:0 2px 4px #29452406}.target-card:active{cursor:grabbing}.target-card-name{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:7px}.target-card-name button{padding:0;border:0;font-size:13px;background:none;text-align:left}.target-card-name span{font-size:8px;color:#92a08d;background:#f2f5ee;padding:2px 5px;border-radius:4px}.target-card>p{font-size:10px;color:#9ba694;margin:5px 0;overflow-wrap:anywhere}.target-date{font-size:10px;background:#edf4f9;color:#557c9b;padding:8px;border-radius:6px;margin-top:12px;white-space:nowrap}.target-date.missing{background:#fff1dd;color:#a77b2c}.target-task{font-size:10px;margin-top:10px;color:#7d8b6e;line-height:1.8}.target-card .target-card-note{border-top:1px solid #edf0e9;padding-top:9px;margin-top:9px;color:#839177;max-height:68px;overflow:auto;white-space:pre-wrap}.target-card-actions{display:flex;gap:5px;margin-top:13px;flex-wrap:wrap}.target-card-actions button{padding:5px 6px;border:0;background:#f0f4ec;color:#7d8e71;font-size:9px;border-radius:5px}.target-card-actions .next-stage{color:var(--stage-color);margin-left:auto}.target-column-empty{text-align:center;font-size:10px;padding:34px 8px;color:#a0ad96;line-height:1.9}.target-add{color:#4a7443!important;background:#eaf3e4!important}#targetDialog{width:580px}#targetFormError{color:#b54e3e;font-size:12px}#targetHistory{font-size:10px;color:#94a389;margin-top:16px;max-height:140px;overflow:auto}#targetHistory p{font-size:10px;line-height:1.8}#targetHistory summary{cursor:pointer}.target-record-summary{background:#eef4e8;padding:13px;border-radius:8px;margin-top:16px;font-size:12px}.target-record-summary span{display:block;color:#92a18a;font-size:10px;margin-top:5px}.target-record-summary p{font-size:11px;color:#718365;white-space:pre-wrap}#removeTarget{margin-right:auto}#targetView{min-width:0}#targetPickList{max-height:370px;overflow:auto;margin-top:15px}.pick-customer{display:flex;gap:10px;align-items:center;padding:10px;border-bottom:1px solid #edf1e9}.pick-customer input{width:16px;height:16px;margin:0;accent-color:#355f4d}.pick-customer small{display:block;font-size:10px;margin:5px 0 0;color:#96a38e}#targetPickSearch{width:100%;padding:11px;border:1px solid #dfe7d9;border-radius:8px;margin-top:12px}
@media(max-width:800px){.target-board{grid-template-columns:repeat(5,230px)}.target-board-intro{align-items:start;flex-direction:column;gap:7px}.target-cards{max-height:65vh}.app-nav nav button{font-size:10px}.app-nav nav button b{font-size:9px}}

.target-card-actions .target-call{display:inline-block;text-decoration:none;background:#355f4d;color:white;padding:5px 8px;font-size:10px;border-radius:5px}.target-card-actions .target-call:hover{background:#284b3a}.target-card-actions .target-call:focus-visible{outline:3px solid #83b5a1;outline-offset:2px}

.return-prospect{display:block;width:100%;margin-top:9px;padding:7px;border:1px solid #e1e8dd;border-radius:6px;font-size:9px;color:#7b8b72;background:#fafbf8}.return-prospect:hover{background:#eef4e8}

.table-tools #clearExisting{border:1px solid #edd3cd;background:#fff7f5;color:#ab5146;padding:7px 10px}.table-tools #undoClearExisting{padding:7px 10px}

#customerTable .row-delete{color:#b35448;background:#fff0ed}#deleteCustomerName{font-weight:700;color:#485c4a}

#customerError:not([hidden]){padding:12px 14px;margin:14px 0 0;border:1px solid #e6c6b4;border-radius:10px;background:#fff5ec;color:#874a2f;font-size:14px;line-height:1.6}
