:root{--navy:#071a3a;--blue:#087dab;--cyan:#12b7e8;--orange:#f28c28;--ink:#15243b;--muted:#68798f;--line:#dbe8f2;--bg:#f4f8fc}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px Inter,"Segoe UI",system-ui,sans-serif}a{color:var(--blue);text-decoration:none}.shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:245px;background:var(--navy);color:#fff;padding:23px 15px;display:flex;flex-direction:column}.brand{color:#fff;display:flex;gap:11px;align-items:center;padding:3px 7px 28px}.brand:hover{text-decoration:none}.brand-mark{width:42px;height:42px;border-radius:12px;background:var(--orange);color:var(--navy);display:grid;place-items:center;font-weight:900}.brand b,.brand small{display:block}.brand b{font-size:16px}.brand small{color:#afbed1;font-size:10px;margin-top:3px}.nav-label,.eyebrow{font-size:10px;letter-spacing:1px;font-weight:800;color:#8996a7}.nav-label{padding:0 12px 10px;color:#8195b1}.sidebar nav{display:grid;gap:5px}.nav-link{display:flex;gap:13px;color:#b8c7da;padding:12px;border-radius:8px;font-size:13px}.nav-link:hover,.nav-link.selected{background:#ffffff18;color:white;text-decoration:none}.nav-link.selected{box-shadow:inset 3px 0 var(--orange);font-weight:700}.side-bottom{margin-top:auto;border-top:1px solid #ffffff20;padding:16px 3px 0;display:flex;gap:9px;align-items:center;font-size:10px}.side-bottom b,.side-bottom small{display:block}.side-bottom small{color:#afbed1;margin-top:3px}.env-dot{width:8px;height:8px;background:#65d39a;border-radius:50%}.side-bottom form{margin-left:auto}.logout{background:none;color:#bac7d8;border:0;font-size:18px}.main{margin-left:245px;min-height:100vh;display:flex;flex-direction:column}.topbar{height:67px;background:white;border-bottom:1px solid var(--line);position:sticky;top:0;display:flex;justify-content:space-between;align-items:center;padding:0 32px;font-size:11px}.muted{color:#7d899b}.slash{color:#c7ced7;padding:0 7px}.top-user{display:flex;align-items:center;gap:9px;color:#607087}.avatar{width:29px;height:29px;border-radius:50%;display:grid;place-items:center;background:#e8f0fa;color:var(--navy);font-weight:800}.content{width:min(1450px,100%);padding:29px 32px;flex:1;margin:auto}.footer{border-top:1px solid var(--line);padding:13px 32px;color:#98a3b0;font-size:10px;display:flex;justify-content:space-between}.page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:22px}.page-heading h1{font-size:25px;margin:6px 0}.page-heading p{margin:0;color:var(--muted);font-size:12px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin-bottom:16px}.stats article,.panel,.plan-card{background:#fff;border:1px solid var(--line);border-radius:10px}.stats article{padding:16px}.stats span{font-size:11px;color:#78869a;display:block}.stats strong{display:block;font-size:23px;margin:10px 0 4px}.stats small{font-size:10px;color:#929dac}.columns{display:grid;grid-template-columns:1.15fr 1fr;gap:15px}.panel{overflow:hidden}.panel-head{display:flex;justify-content:space-between;align-items:center;padding:15px 17px;border-bottom:1px solid var(--line)}.panel-head h2{font-size:13px;margin:0 0 4px}.panel-head p{margin:0;font-size:10px;color:#929dac}.panel-head>a{font-size:10px;font-weight:700}.table-wrap{width:100%;overflow-x:auto}table{width:100%;border-collapse:collapse;white-space:nowrap}th{text-align:left;font-size:9px;letter-spacing:.5px;text-transform:uppercase;color:#8793a3;background:#fbfcfd;padding:11px 13px;border-bottom:1px solid var(--line)}td{font-size:10px;color:#56657a;padding:12px 13px;border-bottom:1px solid #f0f2f5;vertical-align:middle}td b{color:#2d3d53}td small{display:block;font-size:9px;color:#99a3af;margin-top:4px}.empty{padding:25px;text-align:center;color:#8996a6}.list{padding:4px 16px}.list-row{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #eff2f5;color:var(--ink)}.list-row b{font-size:10px;display:block}.list-row small{font-size:9px;color:#919dac;display:block;margin-top:4px}.ticket-chip{width:28px;height:28px;border-radius:8px;background:#eaf2fc;color:#2865b5;display:grid;place-items:center}.spaced{margin-top:16px}.button{border:1px solid #dce3ec;background:#fff;color:#4e5d72;border-radius:7px;padding:9px 12px;display:inline-flex;justify-content:center;align-items:center;font-size:11px;font-weight:700;cursor:pointer}.button:hover{background:#f8fafc;text-decoration:none}.button.primary{background:var(--blue);border-color:var(--blue);color:white}.toolbar{padding:13px 15px;display:flex;gap:8px;align-items:center}.toolbar input{flex:1;min-width:100px}.toolbar select,.inline-form select{border:1px solid #dce3ec;border-radius:6px;padding:8px;background:white;color:#4e5d72;font:inherit;font-size:10px}.pill{display:inline-block;padding:4px 8px;border-radius:20px;font-weight:700;font-size:9px}.green{background:#e8f6ef;color:#21804e}.red{background:#fff0f0;color:#be4141}.amber{background:#fff5df;color:#9e690e}.gray{background:#eff2f5;color:#68768a}.detail-card{padding:17px}.detail-card h2{margin:0 0 14px;font-size:13px}.detail-card dl{margin:0;display:grid;grid-template-columns:145px 1fr;gap:12px;font-size:10px}.detail-card dt{color:#8a96a5}.detail-card dd{margin:0;color:#425168;font-weight:600}.form-panel{max-width:850px;padding:20px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.field-wrap{display:grid;gap:6px}.field-wrap label,.login-card label{font-size:10px;font-weight:700;color:#627188}.field-wrap input,.field-wrap select,.field-wrap textarea,.login-card input{border:1px solid #dce3ec;border-radius:7px;padding:10px 11px;font:inherit;font-size:11px;background:#fff;color:#36465c}.field-wrap textarea{min-height:85px}.field-wrap small{color:#8c97a6;font-size:9px}.form-actions{display:flex;justify-content:flex-end;gap:8px;border-top:1px solid var(--line);margin-top:20px;padding-top:15px}.error-text{color:#bd3535!important}.message{padding:10px 13px;margin-bottom:8px;background:#e9f6ed;color:#246a43;border-radius:6px;font-size:11px}.message.error{background:#fff0f0;color:#ac3333}.messages{margin-bottom:14px}.plan-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.plan-card{padding:17px}.plan-top{display:flex;justify-content:space-between;align-items:center;font-size:12px}.plan-card>strong{display:block;font-size:21px;margin:15px 0 3px;color:#18385d}.plan-card>small{color:#8d99a8;font-size:10px}.price{margin-top:18px;padding-top:13px;border-top:1px solid var(--line);font-weight:800;font-size:16px}.price small{font-size:10px;color:#8d99a8;font-weight:400}.inline-form{display:flex;gap:5px}.button.tiny{padding:6px 8px;font-size:9px}.login-wrap{min-height:100vh;display:grid;place-items:center;padding:20px;background:linear-gradient(130deg,#10294b,#1d4777)}.login-card{width:min(420px,100%);background:white;padding:31px;border-radius:14px}.login-card h1{margin:8px 0;font-size:22px}.login-card>p{font-size:11px}.login-card label{display:grid;gap:6px;margin:16px 0}.login-card input{width:100%}.full{width:100%;margin-top:6px}.small-note{font-size:9px!important;color:#8b97a6;line-height:1.5;margin-top:16px}.eyebrow{color:#8693a5}@media(max-width:1050px){.sidebar{width:215px}.main{margin-left:215px}.content{padding:25px 20px}.stats{grid-template-columns:repeat(2,1fr)}.columns{grid-template-columns:1fr}.plan-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){.sidebar{position:relative;width:auto;height:auto;inset:auto;padding:12px 14px}.sidebar nav,.nav-label,.side-bottom{display:none}.brand{padding:0}.main{margin:0}.topbar{height:55px;padding:0 14px}.content{padding:20px 13px}.footer{padding:12px 13px;display:block;line-height:1.8}.page-heading{display:block}.page-heading>.button,.page-heading>.actions{margin-top:14px}.actions{flex-wrap:wrap}.stats{gap:8px}.stats article{padding:12px}.stats strong{font-size:20px}.panel-head{padding:13px}.detail-card dl{grid-template-columns:120px 1fr}.plan-grid,.form-grid{grid-template-columns:1fr}.form-panel{padding:15px}.toolbar{flex-wrap:wrap}.toolbar input{flex-basis:100%}.top-user{font-size:0}.avatar{font-size:10px}}

/* DCT brand and warehouse module refinements */
.stats{grid-template-columns:repeat(6,minmax(0,1fr))}
.actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.checkbox-wrap{display:flex;align-items:center;gap:10px;padding:15px 0}
.checkbox-wrap input{accent-color:var(--blue)}
.material-row{padding:12px 0;border-bottom:1px solid var(--line)}
.pill.amber{background:#fff1dd;color:#a95a00}
.button.primary{background:var(--blue);border-color:var(--blue)}
.nav-link.selected{background:#0b3159;color:#fff;box-shadow:inset 3px 0 var(--orange)}
.brand-mark{background:var(--orange);color:var(--navy)}
@media(max-width:1250px){.stats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* DCT Connect dashboard v0.6: focused refinements */
.dashboard-heading{align-items:center;margin-bottom:17px}.dashboard-heading h1{color:var(--navy);font-size:24px}.dashboard-actions{display:flex;gap:8px;flex-wrap:wrap}.dashboard-actions .button{padding:9px 12px}.dashboard-stats{grid-template-columns:repeat(6,minmax(0,1fr));gap:11px}.dashboard-stats .dashboard-stat{position:relative;min-height:111px;padding:15px 13px 12px;border:1px solid var(--line);border-radius:9px;box-shadow:0 2px 8px #071a3a08}.dashboard-stats .dashboard-stat:before{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:var(--stat-color);border-radius:9px 9px 0 0}.dashboard-stat span{font-size:10px;font-weight:700;color:#6d7d91}.dashboard-stat strong{font-size:25px;color:#122743;margin:9px 0 3px}.dashboard-stat small{font-size:9px;color:#8b98a8}.stat-customers{--stat-color:#087dab}.stat-active{--stat-color:#14a97a}.stat-suspended{--stat-color:#f28c28}.stat-suspended-customers{--stat-color:#d85c49}.stat-tickets{--stat-color:#12b7e8}.stat-low-stock{--stat-color:#e87524;background:#fffaf4!important}.stat-stock-ok{--stat-color:#38a678}.dashboard-panels{gap:14px}.dashboard-panel{border-radius:10px}.dashboard-panel .panel-head{padding:14px 16px}.dashboard-panel .panel-head h2{font-size:13px;color:var(--navy)}.dashboard-kicker{display:block;color:#087dab;font-size:8px;letter-spacing:.8px;font-weight:800;margin-bottom:5px}.dashboard-link{font-size:10px;font-weight:700;white-space:nowrap}.dashboard-money{font-weight:800;color:#173956}.dashboard-support{border-top:3px solid var(--cyan)}.dashboard-support .panel-head{padding-top:12px}.dashboard-ticket{gap:9px}.dashboard-ticket .ticket-state{margin-left:auto;color:#22698b;background:#e8f6fb;border-radius:14px;padding:4px 7px;font-size:8px;white-space:nowrap}.dashboard-footnote{display:flex;align-items:center;gap:7px;margin-top:11px;color:#8996a5;font-size:9px}.dashboard-footnote span{width:7px;height:7px;border-radius:50%;background:var(--cyan)}
@media(max-width:1250px){.dashboard-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.dashboard-heading{align-items:flex-start}.dashboard-heading .dashboard-actions{margin-top:11px}.dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-stats .dashboard-stat{min-height:100px;padding:13px 10px}.dashboard-stats .dashboard-stat strong{font-size:22px}.dashboard-panel .panel-head{align-items:flex-start;gap:8px}.dashboard-ticket .ticket-state{font-size:7px;padding:4px 5px}}


/* Dashboard v0.7: stronger DCT palette and distinct KPIs */
.dashboard-stats .dashboard-stat{border:0;box-shadow:0 5px 15px #071a3a14;transition:transform .18s ease,box-shadow .18s ease}.dashboard-stats .dashboard-stat:hover{transform:translateY(-2px);box-shadow:0 9px 18px #071a3a20}.dashboard-stats .dashboard-stat:before{height:4px}.dashboard-stats .dashboard-stat span{font-weight:750}.dashboard-stats .dashboard-stat strong{font-size:27px}.dashboard-stats .dashboard-stat small{font-weight:600}.dashboard-stats .stat-customers{background:#071a3a!important;color:#fff}.dashboard-stats .stat-customers span,.dashboard-stats .stat-customers strong{color:#fff}.dashboard-stats .stat-customers small{color:#c7e7f2}.dashboard-stats .stat-customers:before{background:#12b7e8}.dashboard-stats .stat-active{background:#12b7e8!important}.dashboard-stats .stat-active span,.dashboard-stats .stat-active strong{color:#071a3a}.dashboard-stats .stat-active small{color:#163b54}.dashboard-stats .stat-active:before{background:#087dab}.dashboard-stats .stat-suspended-customers{background:#f28c28!important}.dashboard-stats .stat-suspended-customers span,.dashboard-stats .stat-suspended-customers strong{color:#071a3a}.dashboard-stats .stat-suspended-customers small{color:#57330d}.dashboard-stats .stat-suspended-customers:before{background:#d76e12}.dashboard-stats .stat-overdue{background:#eaf5fb!important}.dashboard-stats .stat-overdue span,.dashboard-stats .stat-overdue strong{color:#071a3a}.dashboard-stats .stat-overdue small{color:#526a7e}.dashboard-stats .stat-overdue:before{background:#f28c28}.dashboard-stats .stat-tickets{background:#087dab!important}.dashboard-stats .stat-tickets span,.dashboard-stats .stat-tickets strong{color:#fff}.dashboard-stats .stat-tickets small{color:#d6f2fb}.dashboard-stats .stat-tickets:before{background:#f28c28}.dashboard-stats .stat-low-stock{background:#fff3e4!important}.dashboard-stats .stat-low-stock span,.dashboard-stats .stat-low-stock strong{color:#713c0c}.dashboard-stats .stat-low-stock small,.dashboard-stats .stat-low-stock small a{color:#aa5b13}.dashboard-stats .stat-low-stock:before{background:#f28c28}.dashboard-stats .stat-stock-ok{background:#e8f6ef!important}.dashboard-stats .stat-stock-ok span,.dashboard-stats .stat-stock-ok strong{color:#155c3d}.dashboard-stats .stat-stock-ok small,.dashboard-stats .stat-stock-ok small a{color:#397d5d}.dashboard-stats .stat-stock-ok:before{background:#27a46b}.dashboard-support{border-top:4px solid #12b7e8}.dashboard-support .ticket-chip{background:#fff2e3;color:#aa5b13}.dashboard-panels .dashboard-panel:first-child{border-top:4px solid #f28c28}.dashboard-panels .dashboard-panel:first-child .panel-head{padding-top:11px}
@media(max-width:700px){.dashboard-stats .dashboard-stat{min-height:98px}.dashboard-stats .dashboard-stat strong{font-size:24px}}


/* Shared DCT brand palette across every menu and module */
:root{--navy:#071a3a;--blue:#087dab;--cyan:#12b7e8;--orange:#f28c28;--ink:#15243b;--muted:#68798f;--line:#d5e5f0;--bg:#f3f8fc}
.sidebar{background:linear-gradient(180deg,#071a3a 0%,#0a2b50 100%)}.brand-mark{background:linear-gradient(135deg,#f28c28 0 52%,#12b7e8 52% 100%);box-shadow:0 4px 12px #0003}.nav-link{transition:background .16s ease,color .16s ease}.nav-link:hover{background:#087dab55;color:#fff}.nav-link.selected{background:linear-gradient(90deg,#087dab65,#087dab25);box-shadow:inset 3px 0 #f28c28;color:white}.topbar{border-top:3px solid var(--cyan)}.avatar{background:#e1f6fc;color:#075a78;box-shadow:inset 0 0 0 1px #12b7e833}
.page-heading h1,.panel-head h2,.detail-card h2{color:var(--navy)}.eyebrow,.dashboard-kicker{color:var(--blue)}.panel,.plan-card{box-shadow:0 3px 12px #071a3a0a}.panel-head{background:linear-gradient(90deg,#f0faff 0%,#fff 58%);border-bottom-color:#d8eaf4}.panel-head>a{color:var(--blue)}.panel-head>a:hover,.dashboard-link:hover{color:#d66b13}
th{background:#eaf6fb;color:#123b59;border-bottom-color:#cfe5f0}tbody tr:nth-child(even){background:#fbfdff}tbody tr:hover{background:#f0faff}td{border-bottom-color:#e7eff4}td a{color:#087dab}td a:hover{color:#d66b13}
.button{border-color:#cbdfea;color:#075d7c;transition:background .16s ease,border-color .16s ease,color .16s ease}.button:hover{background:#eaf8fc;border-color:#12b7e8;color:#075d7c}.button.primary{background:#087dab;border-color:#087dab;color:#fff}.button.primary:hover{background:#12b7e8;border-color:#12b7e8;color:#071a3a}.button.orange{background:#f28c28;border-color:#f28c28;color:#071a3a}.button.orange:hover{background:#ffab4c;border-color:#ffab4c;color:#071a3a}
.field-wrap input:focus,.field-wrap select:focus,.field-wrap textarea:focus,.login-card input:focus,.toolbar select:focus,.toolbar input:focus,.inline-form select:focus{outline:0;border-color:#12b7e8;box-shadow:0 0 0 3px #12b7e82a}.field-wrap label{color:#123b59}.form-actions{border-top-color:#d8eaf4}.plan-card{border-top:3px solid var(--cyan);transition:transform .16s ease,box-shadow .16s ease}.plan-card:hover{transform:translateY(-2px);box-shadow:0 8px 20px #071a3a16}.plan-card>strong,.price{color:#087dab}.price{border-top-color:#d8eaf4}.ticket-chip{background:#e5f7fc;color:#087dab}.pill.green{background:#e5f6ee;color:#18784b}.pill.red{background:#fff0ed;color:#b94735}.pill.amber{background:#fff2df;color:#a95a00}.pill.gray{background:#edf3f7;color:#526b7d}.message{border-left:3px solid #23a675}.message.error{border-left-color:#e25b46}.env-dot{background:#12b7e8;box-shadow:0 0 0 3px #12b7e822}
@media(max-width:700px){.topbar{border-top-width:2px}.panel-head{background:#f3faff}.brand-mark{box-shadow:none}}


/* Shared DCT colors for all menus; layout and component sizing stay unchanged */
.page-heading{background:linear-gradient(100deg,#e9f7fc 0%,#f8fcff 70%,#fff 100%);box-shadow:inset 4px 0 #f28c28}.page-heading h1{color:var(--navy)}.page-heading .eyebrow{color:#087dab}
.panel{border-color:#d4e5ef;box-shadow:0 4px 15px #071a3a12}.panel-head{background:linear-gradient(105deg,#071a3a 0%,#0b3159 100%);border-bottom-color:#12b7e8;color:#fff}.panel-head h2{color:#fff!important}.panel-head p{color:#c3dfed!important}.panel-head>a,.panel-head .dashboard-link{color:#ffad54!important}.panel-head>a:hover,.panel-head .dashboard-link:hover{color:#fff!important}.panel-head .button{background:#f28c28;border-color:#f28c28;color:#071a3a}.panel-head .button:hover{background:#ffad54;border-color:#ffad54;color:#071a3a}
th{background:#087dab;color:#fff;border-bottom-color:#f28c28}tbody tr:nth-child(even){background:#f1f9fc}tbody tr:hover{background:#e1f5fb}td{border-bottom-color:#dcebf2}td a{font-weight:700;color:#087dab}td a:hover{color:#c45c0d}
.toolbar{background:#e9f7fc;border-bottom-color:#d3e9f2}.toolbar select,.inline-form select,.toolbar input{border-color:#bfd9e7}.toolbar input:focus,.toolbar select:focus,.inline-form select:focus{border-color:#12b7e8;box-shadow:0 0 0 3px #12b7e82a}
.list-row:hover{background:#effaff;box-shadow:inset 3px 0 #f28c28;text-decoration:none}.ticket-chip{background:#fff0dc;color:#9b510c}.pill.green{background:#dff5e9;color:#126e43}.pill.red{background:#ffebe6;color:#ad3f30}.pill.amber{background:#ffefd6;color:#96500a}.pill.gray{background:#e9f1f6;color:#3e6074}
.form-panel{box-shadow:inset 0 3px #12b7e8,0 4px 15px #071a3a12}.field-wrap input,.field-wrap select,.field-wrap textarea,.toolbar input{background:#fbfdff}.form-actions{background:linear-gradient(90deg,#f2faff,white)}.detail-card{box-shadow:inset 0 3px #f28c28,0 4px 15px #071a3a12}.detail-card h2,.detail-card dt{color:#087dab}.detail-card dd{color:#173956}.plan-card{border-top-color:#12b7e8;background:linear-gradient(180deg,#f3fbfe 0%,#fff 45%)}.plan-top b{color:#071a3a}.plan-card>strong{color:#087dab}.price{color:#c96513;border-top-color:#d8eaf4}.ticket-chip{background:#e5f7fc;color:#087dab}.stock-row:hover,.material-row:hover{background:#effaff}.dashboard-panel .panel-head{background:linear-gradient(105deg,#071a3a 0%,#0b3159 100%)}
.message{background:#e3f6ed;color:#145d3b;border-left-color:#20a46b}.message.error{background:#fff0ea;color:#a53c2d;border-left-color:#e65b42}


/* DCT Connect identity logo */
.brand-logo{display:block;width:48px;height:48px;flex:0 0 48px;object-fit:contain;border-radius:50%;border:2px solid var(--cyan);background:#020611;box-shadow:0 0 12px #12b7e84c}.login-logo{display:block;width:112px;height:103px;object-fit:contain;border-radius:50%;border:2px solid var(--cyan);background:#020611;box-shadow:0 0 18px #12b7e85c;margin:0 0 14px}.brand{gap:11px}.brand-logo + span{min-width:0}
@media(max-width:700px){.brand-logo{width:43px;height:43px;flex-basis:43px}.brand{gap:9px}.login-logo{width:94px;height:86px}}

/* DCT Connect technical work agenda */
.agenda-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.agenda-summary article{border:0;box-shadow:0 4px 14px #071a3a12}.agenda-summary article:before{content:"";display:block;height:4px;margin:-15px -13px 12px;background:var(--agenda-color);border-radius:9px 9px 0 0}.agenda-summary span{font-weight:700}.agenda-summary strong{color:var(--navy)}.agenda-total{--agenda-color:#087dab;background:#e8f6fb!important}.agenda-unplanned{--agenda-color:#f28c28;background:#fff3e4!important}.agenda-today{--agenda-color:#12b7e8;background:#e8fbff!important}.agenda-panel{border-top:3px solid var(--cyan)}.agenda-filter{gap:12px;flex-wrap:wrap}.agenda-filter label{display:flex;align-items:center;gap:7px;color:#123b59;font-size:10px;font-weight:700}.agenda-filter input,.agenda-filter select{border:1px solid #bfd9e7;border-radius:6px;padding:8px;background:#fff;color:#173956;font:inherit;font-size:10px}.agenda-table td{vertical-align:middle}.agenda-table td small{max-width:310px;white-space:normal}.agenda-table td:first-child b{color:#087dab}.blue-pill{background:#e3f6fb;color:#075d7c}.agenda-actions{display:flex;gap:5px;flex-wrap:wrap;min-width:120px}.agenda-footnote{display:flex;align-items:center;gap:8px;margin-top:11px;color:#64788a;font-size:10px}.agenda-footnote span{width:8px;height:8px;background:#12b7e8;border-radius:50%;box-shadow:0 0 0 3px #12b7e822}.schedule-context{border-top:3px solid var(--orange)}.schedule-context h2{color:#087dab}.agenda-summary article small{font-size:9px}
@media(max-width:1050px){.agenda-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.agenda-table{min-width:1050px}}
@media(max-width:700px){.agenda-summary{grid-template-columns:1fr 1fr;gap:8px}.agenda-summary article{padding:12px}.agenda-summary article:before{margin:-11px -10px 10px}.agenda-summary article strong{font-size:20px}.agenda-filter{align-items:stretch}.agenda-filter label{width:100%;justify-content:space-between}.agenda-filter input,.agenda-filter select{flex:1}.agenda-heading{display:block}.agenda-heading>.button{margin-top:10px}}
.repeater-badge{display:inline-block;margin-left:6px;padding:3px 7px;border-radius:999px;background:#fff0dc;color:#9b510c;font-size:9px;font-weight:800}.field-wrap input[type=checkbox]{width:17px;height:17px;accent-color:#087dab;vertical-align:middle}.agenda-heading .actions{display:flex;gap:8px;flex-wrap:wrap}
.install-context{padding:16px 19px;margin-bottom:16px}.install-context dl{display:grid;grid-template-columns:130px 1fr;gap:8px 12px;margin:12px 0 2px;font-size:11px}.install-context dt{font-weight:800;color:#087dab}.install-context dd{margin:0;color:#173956}.install-form-panel .panel-head{display:flex}.install-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:16px}.install-check{display:flex;align-items:flex-start;gap:10px;border:1px solid #d8eaf4;border-radius:8px;padding:12px;background:#f8fcff;color:#123b59;font-size:11px}.install-check input{width:17px;height:17px;margin:1px 0 0;accent-color:#087dab}.install-check b,.install-check small{display:block}.install-check small{margin-top:5px;color:#71869b;font-size:9px}.install-fields{padding:0 16px 16px}.repeater-section{margin:0 16px 16px;border:1px solid #f4d6b7;border-radius:9px;background:#fffaf4}.repeater-section h3{margin:0;padding:12px 14px;color:#9b510c;font-size:12px;border-bottom:1px solid #f4d6b7}.repeater-section .install-checks{padding:12px}.repeater-section .install-fields{padding:0 12px 12px}.install-inventory-note{margin:0 16px 15px;padding:11px 13px;border-left:3px solid #12b7e8;background:#effaff;color:#31566d;font-size:10px}.install-form-panel .form-actions{margin-top:0}
@media(max-width:700px){.install-checks{grid-template-columns:1fr}.install-context dl{grid-template-columns:95px 1fr}.install-form-panel>.panel-head{align-items:flex-start;gap:8px}}
.asset-summary{grid-template-columns:repeat(4,minmax(0,1fr))}.asset-summary article{border-top:3px solid var(--cyan);background:linear-gradient(135deg,#effaff,#fff)}.asset-summary article:nth-child(2){border-top-color:var(--orange)}.asset-summary article:nth-child(3){border-top-color:#087dab}.asset-summary article:nth-child(4){border-top-color:#94a5b6}.equipment-flow-note{margin:16px;padding:12px 14px;border-left:3px solid var(--orange);background:#fff7ee;color:#72420f;font-size:11px;line-height:1.6}.asset-summary strong{color:var(--navy)}
@media(max-width:700px){.asset-summary{grid-template-columns:1fr 1fr}}
.registration-section{padding:15px 18px;border-bottom:1px solid #e5eff5}.registration-section h3{margin:0 0 12px;color:#087dab;font-size:12px}.registration-section:last-of-type{border-bottom:0}.onboarding-panel .form-actions{margin:0}.scan-panel .form-grid{padding:16px}.scan-field textarea{min-height:230px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px;line-height:1.65;letter-spacing:.2px}.scan-rule{margin:0 16px 16px;padding:11px 13px;border-left:3px solid #f28c28;background:#fff7ee;color:#72420f;font-size:10px}

/* Órdenes de trabajo v2.0: jerarquía legible y estados de operación */
.work-order-heading{border-left:4px solid #f28c28}.work-order-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.work-order-summary article{padding:18px;border:1px solid #d4e5ef;border-radius:12px;box-shadow:0 4px 14px #071a3a12}.work-order-summary article span,.work-order-summary article small{display:block}.work-order-summary article span{font-size:14px;font-weight:750;color:#123b59}.work-order-summary article strong{display:block;margin:6px 0;font-size:30px;color:#071a3a}.work-order-summary article small{font-size:13px;color:#526b7d}.wo-total{border-top:4px solid #12b7e8;background:#effaff}.wo-outages{border-top:4px solid #f28c28;background:#fff5e9}.work-order-panel{overflow:hidden;border-top:3px solid #12b7e8}.wo-status-tabs{display:flex;gap:5px;overflow-x:auto;padding:12px 14px;background:#071a3a}.wo-status-tabs a{flex:0 0 auto;padding:10px 14px;border-radius:8px;color:#e7f6fc;font-size:14px;font-weight:700;text-decoration:none;transition:background .16s,transform .16s}.wo-status-tabs a:hover{background:#0d4771;transform:translateY(-1px)}.wo-status-tabs a.active{background:#12b7e8;color:#071a3a}.wo-filter{align-items:end;gap:12px}.wo-filter label{display:flex;align-items:center;gap:8px;color:#123b59;font-size:14px;font-weight:700}.wo-filter select,.wo-filter input{min-height:42px;border:1px solid #bfd9e7;border-radius:7px;padding:8px 11px;background:white;color:#173956;font-size:14px}.wo-search{margin-left:auto}.work-order-table{min-width:1120px}.work-order-table th{padding:13px 11px;font-size:13px;letter-spacing:.25px}.work-order-table td{padding:12px 11px;font-size:14px;line-height:1.4;vertical-align:middle}.work-order-table td small{display:block;margin-top:4px;color:#5a7183;font-size:12px;line-height:1.35;white-space:normal}.wo-number{color:#087dab;font-size:14px;letter-spacing:.2px}.wo-kind,.wo-priority,.wo-state{display:inline-flex;align-items:center;padding:5px 9px;border-radius:999px;font-size:12px;font-weight:800;line-height:1.2}.wo-kind{background:#e7f6fb;color:#075d7c}.kind-outage{background:#ffebe6;color:#aa3d2f}.kind-installation{background:#e5f6ee;color:#176b45}.kind-transfer,.kind-plan_change{background:#fff1df;color:#91500c}.kind-maintenance,.kind-brigade{background:#eeeaff;color:#5847a1}.wo-priority{background:#edf3f7;color:#526b7d}.priority-high{background:#ffebe6;color:#aa3d2f}.priority-normal{background:#fff1df;color:#91500c}.priority-low{background:#e5f6ee;color:#176b45}.wo-state{background:#edf3f7;color:#526b7d}.state-scheduled{background:#e6f2ff;color:#225c9b}.state-en_route{background:#e8f5ff;color:#076d96}.state-on_site,.state-working{background:#e5f6ee;color:#176b45}.state-completed,.state-resolved{background:#dff5e9;color:#126e43}.state-cancelled{background:#edf0f2;color:#52606b}.priority-outage td:first-child{box-shadow:inset 4px 0 #e65542}.priority-outage .wo-number{color:#b34031}.wo-actions{display:flex;gap:6px;flex-wrap:wrap;min-width:150px}.work-order-form{border-top:4px solid #12b7e8}.work-order-form-intro{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:18px 20px 0;color:#071a3a;font-size:16px}.work-order-form-intro span{color:#526b7d;font-size:14px}.work-order-form .form-grid{padding:20px;gap:18px}.work-order-form .field-wrap label{display:block;margin-bottom:7px;color:#123b59;font-size:15px;font-weight:750}.work-order-form .field-wrap input,.work-order-form .field-wrap select,.work-order-form .field-wrap textarea{width:100%;min-height:46px;padding:10px 12px;border:1px solid #bfd9e7;border-radius:8px;background:#fbfdff;color:#173956;font-size:16px}.work-order-form .field-wrap textarea{min-height:120px;line-height:1.5}.work-order-form .field-wrap small{display:block;margin-top:6px;color:#526b7d;font-size:13px;line-height:1.5}.work-order-form .field-wrap input[type=checkbox]{width:19px;height:19px;min-height:19px;accent-color:#087dab}.work-order-form .checkbox-wrap{display:flex;align-items:center;gap:9px}.work-order-form .checkbox-wrap label{margin:0}.work-order-form .form-actions{padding:15px 20px}.work-order-form .button{font-size:14px}
@media(max-width:800px){.work-order-summary{grid-template-columns:1fr 1fr}.wo-filter{align-items:stretch}.wo-filter label{width:100%;justify-content:space-between}.wo-filter select,.wo-filter input{flex:1;min-width:0}.wo-search{margin-left:0}.work-order-form-intro{align-items:flex-start;flex-direction:column}.work-order-form .form-grid{padding:15px;gap:14px}}
@media(max-width:520px){.work-order-summary{grid-template-columns:1fr}.wo-status-tabs{padding:10px}.wo-status-tabs a{padding:9px 11px;font-size:13px}.work-order-form .field-wrap label{font-size:15px}.work-order-form .field-wrap input,.work-order-form .field-wrap select,.work-order-form .field-wrap textarea{font-size:16px}}
.work-order-table .wo-state-form{display:flex;gap:4px;align-items:center;flex-wrap:nowrap}.wo-state-form select{max-width:125px;min-height:34px;border:1px solid #bfd9e7;border-radius:6px;padding:5px;background:#fff;color:#173956;font-size:12px}.work-order-table .wo-actions{min-width:195px}.work-order-form [hidden]{display:none!important}

.work-order-table{min-width:1280px}.wo-description{max-width:280px;min-width:200px}.wo-description>b{display:block;color:#123b59}.wo-description small{overflow-wrap:anywhere}

/* Finanzas v2.2: contabilidad legible, saldos y movimientos trazables */
.finance-heading{border-left:4px solid #12b7e8;padding:14px 18px;border-radius:10px;background:linear-gradient(110deg,rgba(18,183,232,.09),rgba(242,140,40,.06))}.finance-heading h1{font-size:28px}.finance-heading p{font-size:15px;line-height:1.5}.finance-v22-stats article{min-height:128px;border-top:3px solid #12b7e8}.finance-v22-stats article:nth-child(2){border-top-color:#12b7a0}.finance-v22-stats article:nth-child(3){border-top-color:#f28c28}.finance-v22-stats article:nth-child(4){border-top-color:#438ed5}.finance-v22-stats article span{font-size:14px}.finance-v22-stats article strong{font-size:24px}.finance-v22-stats article small{font-size:13px}.finance-v22-grid{display:grid;grid-template-columns:minmax(280px,.8fr) minmax(400px,1.2fr);gap:18px;margin-top:18px}.finance-result-card{padding:24px;border-top:4px solid #12b7e8;background:linear-gradient(140deg,#102f49,#164b70);color:#fff}.finance-result-card .section-kicker{color:#a6dcee}.finance-result-card h2{font-size:32px;margin:14px 0;color:#fff}.finance-result-card p{font-size:15px;color:#e5f4fa}.finance-result-card small{display:block;margin-top:22px;color:#c2d7e2;line-height:1.55;font-size:13px}.finance-shortcuts{display:grid;grid-template-columns:1fr 1fr;gap:8px}.finance-shortcuts a{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:13px;border:1px solid #d4e5ed;border-radius:9px;background:#f8fcfe;color:#123b59;font-size:15px;font-weight:750;text-decoration:none}.finance-shortcuts a:hover{border-color:#12b7e8;background:#eaf8fc}.finance-table{min-width:1020px}.finance-table th{font-size:13px;padding:13px;color:#244a61}.finance-table td{font-size:14px;padding:13px;line-height:1.45}.finance-table td small{display:block;margin-top:4px;color:#6b7f8d;font-size:12px}.finance-form-panel{max-width:1080px;border-top:4px solid #f28c28}.finance-form{padding:20px}.finance-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.finance-form .field-wrap{display:grid;gap:7px}.finance-form .field-wrap label{font-size:15px;font-weight:750;color:#173956}.finance-form .field-wrap input,.finance-form .field-wrap select,.finance-form .field-wrap textarea,.finance-filter input,.finance-filter select,.settle-details input,.settle-details select{width:100%;min-height:46px;padding:9px 12px;border:1px solid #bfd9e7;border-radius:8px;background:#fff;color:#173956;font-size:16px}.finance-form .field-wrap small{font-size:13px;color:#61788a;line-height:1.5}.finance-form .button{margin-top:18px;font-size:15px}.finance-filter{display:flex;align-items:end;gap:14px;flex-wrap:wrap;padding:14px;background:#f1f8fb;border:1px solid #d7e7ef;border-radius:10px;margin:18px 0}.finance-filter label{min-width:200px;display:grid;gap:6px;font-size:14px;font-weight:750;color:#173956}.finance-filter .button{min-height:46px}.finance-report-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:18px}.finance-report-card{padding:20px;border-radius:12px;color:#fff;background:linear-gradient(135deg,#0f8b83,#13b7a6);box-shadow:0 8px 22px rgba(16,59,87,.12)}.finance-report-card.expense{background:linear-gradient(135deg,#c86e18,#f39a32)}.finance-report-card.result{background:linear-gradient(135deg,#185d9b,#3397df)}.finance-report-card span{font-size:14px;font-weight:750}.finance-report-card strong{display:block;margin-top:12px;font-size:24px}.finance-report-grid+.panel table tfoot th{background:#eaf4f8;padding:11px;font-size:14px}.settle-details{min-width:150px}.settle-details summary{cursor:pointer;color:#087dab;font-weight:800;font-size:14px}.settle-details form{display:grid;gap:9px;padding:10px;min-width:220px}.settle-details label{font-size:13px;font-weight:700}.settle-details .button{font-size:13px}.journal-lines-title{margin:26px 0 12px;color:#143c59}.journal-line-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.journal-line-card{padding:15px;border:1px solid #d4e5ed;border-radius:10px;background:#f8fcfe}.journal-line-card>b{display:block;margin-bottom:8px;color:#087dab}.journal-line-card p{display:grid;gap:5px;margin:10px 0}.journal-line-card label{font-size:13px;font-weight:750}.journal-line-card input,.journal-line-card select{width:100%;min-height:40px;border:1px solid #bfd9e7;border-radius:7px;padding:8px;font-size:15px}.journal-line-card ul.errorlist{color:#b42929;font-size:12px}.error-text{color:#b42929!important}.finance-note p{font-size:14px;line-height:1.55}.finance-note b{font-size:15px}
@media(max-width:850px){.finance-v22-grid{grid-template-columns:1fr}.finance-report-grid{grid-template-columns:1fr}.finance-shortcuts{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.finance-form-grid,.journal-line-grid,.finance-shortcuts{grid-template-columns:1fr}.finance-filter label{min-width:100%;width:100%}.finance-heading{align-items:flex-start;flex-direction:column}.finance-heading .actions{width:100%;flex-wrap:wrap}.finance-report-card strong{font-size:22px}.finance-form{padding:14px}}

/* Almacén v2.1: lectura clara, trazabilidad y cierre técnico en un mismo flujo */
.warehouse-heading{border-left:4px solid #12b7e8;padding:14px 17px;border-radius:9px}.warehouse-heading h1{font-size:27px}.warehouse-heading p{font-size:15px;line-height:1.5}.warehouse-toolbar{gap:12px}.warehouse-toolbar label{display:grid;gap:6px;flex:1;color:#123b59;font-size:15px;font-weight:750}.warehouse-toolbar input{min-height:44px;padding:9px 12px;font-size:16px}.warehouse-row-actions{display:flex;flex-wrap:wrap;gap:6px;min-width:250px}.warehouse-row-actions .button{font-size:12px}.warehouse-table th{padding:13px;font-size:13px}.warehouse-table td{padding:13px;font-size:14px;line-height:1.45}.warehouse-table td small{font-size:12px;line-height:1.4}.inventory-retirement-summary .subtle-note{font-size:14px;line-height:1.55}.inventory-serialized-totals{font-size:14px}.barcode-receipt-panel,.warehouse-form-panel{max-width:960px;border-top:4px solid #f28c28}.barcode-receipt-panel .field-wrap label,.warehouse-form-panel .field-wrap label{font-size:16px}.barcode-receipt-panel .field-wrap input,.warehouse-form-panel .field-wrap input{min-height:46px;font-size:16px}.barcode-receipt-panel .field-wrap small,.warehouse-form-panel .field-wrap small{font-size:13px;line-height:1.5}.barcode-receipt-panel .button,.warehouse-form-panel .button{font-size:14px}.warehouse-item-context{max-width:960px;margin-top:14px;padding:18px}.warehouse-item-context h2{font-size:19px}.warehouse-item-context dl{font-size:15px;grid-template-columns:180px 1fr}.barcode-receipt-panel .notice-card,.warehouse-form-panel .notice-card{margin-bottom:18px}.barcode-receipt-panel .notice-card p,.warehouse-form-panel .notice-card p{font-size:14px;line-height:1.5}.scan-panel .field-wrap label{font-size:16px}.scan-panel .field-wrap select,.scan-panel .field-wrap input,.scan-panel .field-wrap textarea{font-size:16px;min-height:46px}.scan-panel .field-wrap small{font-size:13px;line-height:1.5}.close-equipment-section{margin-top:20px;padding:16px;border:1px solid #cce6f0;border-top:4px solid #12b7e8;border-radius:10px;background:#f8fcff}.close-equipment-section .panel-head{margin:-16px -16px 15px;border-radius:7px 7px 0 0}.close-equipment-section .notice-card{margin:12px 0 18px}.equipment-close-grid .field-wrap label,.ticket-close-form .field-wrap label{font-size:15px}.equipment-close-grid .field-wrap input,.equipment-close-grid .field-wrap select,.ticket-close-form .field-wrap input,.ticket-close-form .field-wrap select{min-height:44px;font-size:16px}.ticket-close-form .button{font-size:14px}.ticket-close-form [hidden]{display:none!important}.warehouse-heading .button,.warehouse-row-actions .button{white-space:nowrap}
@media(max-width:700px){.warehouse-row-actions{min-width:0;flex-direction:column}.warehouse-row-actions .button{width:100%}.warehouse-item-context dl{grid-template-columns:1fr;gap:5px}.warehouse-item-context dd{margin-bottom:8px}.close-equipment-section{padding:12px}.close-equipment-section .panel-head{margin:-12px -12px 12px}.warehouse-heading{padding:12px}.warehouse-toolbar label{flex-basis:100%}}

/* v2.3 · búsqueda de transacciones y cuadre diario */
.cash-close-heading{border-left-color:#08a99c;background:linear-gradient(110deg,rgba(8,169,156,.11),rgba(18,183,232,.07))}.cash-close-heading h1{font-size:30px}.cash-filter-panel{padding:20px;border-top:4px solid #12b7e8}.cash-filter-title{display:flex;align-items:center;gap:13px;margin-bottom:4px}.cash-filter-title h2{margin:0;color:#173956;font-size:21px}.cash-filter-title p{margin:5px 0 0;color:#61788a;font-size:15px}.cash-filter-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:#e6f7fc;color:#087dab;font-size:28px;font-weight:800}.cash-transaction-filter{align-items:end;margin:15px 0 8px;padding:16px;background:linear-gradient(120deg,#f1f9fc,#f8fbfd)}.cash-transaction-filter label{flex:1 1 185px;min-width:175px;font-size:15px}.cash-transaction-filter label input,.cash-transaction-filter label select{min-height:48px;font-size:16px}.cash-transaction-filter .cash-search-field{flex:2 1 260px}.cash-transaction-filter .opening-cash-field{flex:1 1 205px}.cash-transaction-filter .filter-actions{display:flex;gap:8px;flex:1 1 250px;flex-wrap:wrap}.cash-transaction-filter .filter-actions .button{min-height:48px;font-size:15px}.filter-or{padding-bottom:14px;color:#61788a;font-size:14px;font-weight:800}.filter-current-range{margin:10px 2px 0;color:#546d7d;font-size:15px}.filter-current-range strong{color:#123b59}.cash-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:16px 0}.cash-summary-card{min-height:112px;padding:17px 19px;border:1px solid #d7e7ef;border-top:4px solid #12b7e8;border-radius:11px;background:#fff;box-shadow:0 5px 16px rgba(16,59,87,.07)}.cash-summary-card span{display:block;color:#496477;font-size:14px;font-weight:800}.cash-summary-card strong{display:block;margin:9px 0 4px;color:#143c59;font-size:23px;line-height:1.2}.cash-summary-card small{color:#657e8e;font-size:13px}.cash-summary-card.total{background:linear-gradient(135deg,#123b59,#17658c);border-color:#17658c;border-top-color:#f28c28}.cash-summary-card.total span,.cash-summary-card.total small{color:#e0f3f9}.cash-summary-card.total strong{color:#fff}.cash-summary-card.method-cash{border-top-color:#10a887}.cash-summary-card.method-transfer{border-top-color:#438ed5}.cash-summary-card.method-card{border-top-color:#8156cf}.cash-summary-card.method-deposit{border-top-color:#f28c28}.cash-summary-card.method-other{border-top-color:#718096}.cash-reconciliation-panel{border-top:4px solid #10a887;overflow:hidden}.cash-reconciliation-panel>.panel-head{align-items:flex-start}.cash-reconciliation-panel .panel-head h2{margin:5px 0 4px;font-size:22px;color:#143c59}.cash-reconciliation-panel .panel-head p{max-width:900px;margin:0;color:#5a7182;font-size:14px;line-height:1.5}.cash-close-badge{padding:7px 11px;border-radius:999px;background:#e7f8f2;color:#087c68;font-size:13px;font-weight:850;white-space:nowrap}.cash-reconciliation-grid{display:grid;grid-template-columns:minmax(320px,1.1fr) minmax(280px,.9fr);gap:20px;padding:18px}.cash-calculation-list{border:1px solid #d7e7ef;border-radius:10px;overflow:hidden}.cash-calculation-list>div{display:flex;justify-content:space-between;gap:15px;padding:12px 15px;border-bottom:1px solid #e5edf1;color:#3e596b;font-size:15px}.cash-calculation-list>div:last-child{border-bottom:0}.cash-calculation-list strong{color:#173956;font-size:15px;white-space:nowrap}.cash-calculation-list .cash-minus{color:#bd5b20}.cash-calculation-list .cash-expected-row{padding:15px;background:linear-gradient(90deg,#e8f8f6,#effaff);color:#0b6057;font-weight:850}.cash-calculation-list .cash-expected-row strong{color:#075f57;font-size:21px}.cash-count-box{padding:18px;border:1px solid #d4e8f0;border-radius:10px;background:#f7fbfd}.cash-count-box>label{display:block;margin-bottom:8px;color:#173956;font-size:15px;font-weight:850}.cash-count-box>input{width:100%;min-height:50px;padding:10px 13px;border:1px solid #b9d5e2;border-radius:8px;background:#fff;color:#143c59;font-size:18px}.cash-difference{display:flex;justify-content:space-between;gap:10px;margin-top:13px;padding:13px;border-radius:8px;background:#e9f1f5;color:#3d5868;font-size:14px;font-weight:750}.cash-difference strong{font-size:16px;text-align:right}.cash-difference.shortage{background:#fff0ed;color:#a73224}.cash-difference.surplus{background:#fff7e8;color:#9b5a00}.cash-difference.balanced{background:#e7f8f2;color:#087c68}.cash-count-box>p{margin:12px 0 0;color:#667c8a;font-size:13px;line-height:1.5}.cash-transactions-panel{margin-top:18px;border-top:4px solid #438ed5}.cash-transactions-panel>.panel-head h2{font-size:21px;color:#143c59}.cash-transactions-panel>.panel-head p{margin:4px 0 0;color:#61788a;font-size:14px}.cash-transactions-table{min-width:1200px}.cash-transactions-table th{font-size:14px}.cash-transactions-table td{font-size:15px;line-height:1.45}.cash-transactions-table td small{font-size:13px}.cash-transactions-table .amount-cell{font-weight:850;color:#143c59;white-space:nowrap}.payment-method-pill{display:inline-block;padding:5px 9px;border-radius:999px;background:#eaf3f8;color:#31536a;font-size:13px;font-weight:800;white-space:nowrap}.payment-method-pill.method-cash{background:#e3f7f0;color:#087c68}.payment-method-pill.method-transfer{background:#e7f2fc;color:#2166a0}.payment-method-pill.method-card{background:#f0eaff;color:#6545a0}.payment-method-pill.method-deposit{background:#fff2dd;color:#955d00}.cash-pagination{display:flex;justify-content:center;align-items:center;gap:16px;padding:17px;color:#526d7d;font-size:14px}.cash-pagination a{padding:9px 13px;border:1px solid #c8dce6;border-radius:7px;background:#f7fbfd;color:#087dab;font-weight:800;text-decoration:none}.cash-pagination a:hover{background:#e5f6fb;border-color:#12b7e8}
@media(max-width:850px){.cash-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cash-reconciliation-grid{grid-template-columns:1fr}.filter-or{display:none}}
@media(max-width:560px){.cash-close-heading{align-items:flex-start;flex-direction:column}.cash-summary-grid{grid-template-columns:1fr}.cash-filter-panel{padding:14px}.cash-transaction-filter{padding:12px}.cash-transaction-filter label{min-width:100%;width:100%}.cash-transaction-filter .filter-actions{width:100%;flex-direction:column}.cash-transaction-filter .filter-actions .button{width:100%;justify-content:center}.cash-reconciliation-grid{padding:13px}.cash-calculation-list>div{font-size:14px;padding:11px}.cash-calculation-list strong{font-size:14px}.cash-calculation-list .cash-expected-row strong{font-size:18px}.cash-difference{align-items:flex-start;flex-direction:column}.cash-difference strong{text-align:left}}

/* v2.4 · cobros y promesas en una sola ventanilla */
.payment-entry-heading{border-left:4px solid #12b7e8;padding:15px 18px;border-radius:10px;background:linear-gradient(110deg,rgba(18,183,232,.10),rgba(16,169,135,.07))}.payment-entry-heading h1{font-size:30px}.payment-entry-heading p{font-size:15px;line-height:1.5}.payment-entry-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;margin:18px 0}.payment-entry-grid.promise-focused .payment-promise-card{box-shadow:0 0 0 2px rgba(242,140,40,.22),0 10px 26px rgba(16,59,87,.09)}.payment-entry-card{padding:0;overflow:hidden}.actual-payment-card{border-top:4px solid #12b7e8}.payment-promise-card{border-top:4px solid #f28c28}.entry-card-heading{display:flex;align-items:flex-start;gap:13px;padding:20px 20px 15px;border-bottom:1px solid #e4edf2;background:linear-gradient(120deg,#f1f9fc,#fff)}.payment-promise-card .entry-card-heading{background:linear-gradient(120deg,#fff7ec,#fff)}.entry-card-number{display:grid;place-items:center;flex:0 0 38px;height:38px;border-radius:12px;background:#def4fc;color:#067ba6;font-size:18px;font-weight:900}.entry-card-number.promise-number{background:#fff0d9;color:#a75b00}.entry-card-kicker{display:block;margin-bottom:4px;color:#087dab;font-size:12px;font-weight:900;letter-spacing:.6px}.entry-card-kicker.promise-kicker{color:#a75b00}.entry-card-heading h2{margin:0;color:#143c59;font-size:23px}.entry-card-heading p{margin:5px 0 0;color:#607889;font-size:14px;line-height:1.45}.payment-entry-form{padding:18px 20px 20px}.payment-entry-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.payment-entry-fields .wide{grid-column:1/-1}.payment-entry-fields .field-wrap{display:grid;align-content:start;gap:7px;min-width:0}.payment-entry-fields label{color:#173956;font-size:15px;font-weight:800}.payment-entry-fields input,.payment-entry-fields select,.payment-entry-fields textarea{width:100%;min-height:47px;padding:10px 12px;border:1px solid #bfd9e7;border-radius:8px;background:#fff;color:#173956;font-size:16px}.payment-entry-fields textarea{min-height:72px;resize:vertical}.payment-entry-fields select:focus,.payment-entry-fields input:focus,.payment-entry-fields textarea:focus{outline:3px solid rgba(18,183,232,.17);border-color:#12a6d4}.payment-entry-fields small{color:#61788a;font-size:13px;line-height:1.45}.payment-entry-fields .error-text{color:#b42929!important}.entry-help-note,.promise-warning{margin-top:15px;padding:13px 14px;border-radius:8px;font-size:14px;line-height:1.5}.entry-help-note{border:1px solid #ccebf4;background:#f0fbff;color:#31576a}.entry-help-note b{color:#0a7194}.promise-warning{border:1px solid #f3d4a6;background:#fff8ed;color:#765421}.promise-warning b{color:#a75b00}.entry-submit,.promise-submit{width:100%;min-height:49px;margin-top:15px;justify-content:center;font-size:16px;font-weight:850}.promise-submit{border-color:#d78118;background:linear-gradient(120deg,#e88919,#f2a336);color:#fff}.promise-submit:hover{background:#d97b0c}.promise-followup-panel{border-top:4px solid #10a987}.promise-followup-panel .panel-head h2{margin:3px 0;color:#143c59;font-size:21px}.promise-followup-panel .panel-head p{margin:4px 0 0;color:#61788a;font-size:14px}.promise-followup-table{min-width:850px}.promise-followup-table th{font-size:14px}.promise-followup-table td{font-size:15px;line-height:1.45}.promise-followup-table td small{display:block;margin-top:3px;color:#647c8b;font-size:13px}
@media(max-width:900px){.payment-entry-grid{grid-template-columns:1fr}}
@media(max-width:560px){.payment-entry-heading{align-items:flex-start;flex-direction:column}.payment-entry-heading .actions{width:100%;flex-wrap:wrap}.entry-card-heading{padding:16px}.payment-entry-form{padding:15px}.payment-entry-fields{grid-template-columns:1fr}.payment-entry-fields .wide{grid-column:auto}.entry-card-heading h2{font-size:21px}}
/* v2.5: explicit payment operation and auditable cash-close controls */
[hidden]{display:none!important}
.payment-operation-panel{display:grid;grid-template-columns:minmax(220px,.55fr) minmax(300px,1.45fr);align-items:center;gap:8px 18px;margin:16px 0;padding:19px 21px;border-top:4px solid #12b7e8;background:linear-gradient(110deg,#effaff,#fff)}
.payment-operation-panel>label{grid-column:1/-1;color:#143c59;font-size:17px;font-weight:850}
.payment-operation-panel select{width:100%;min-height:52px;padding:10px 13px;border:1px solid #9dc9db;border-radius:9px;background:#fff;color:#143c59;font-size:17px;font-weight:750}
.payment-operation-panel p{margin:0;color:#4c6879;font-size:15px;line-height:1.55}
.payment-entry-card.actual-payment-card{margin:16px 0;border-top-color:#10a987}
.actual-payment-card .entry-card-heading{background:linear-gradient(110deg,#effaf7,#fff)}
.actual-payment-card .entry-card-number{background:#dcf6ec;color:#087c68}
.activation-fields{grid-column:1/-1;padding:15px;border:1px solid #f0c48a;border-radius:10px;background:#fff8ed}
.activation-fields>.payment-entry-fields{grid-template-columns:1fr}
.activation-fields .field-wrap{display:grid;gap:8px}
.activation-fields label{color:#70440d}
.activation-fields select{border-color:#e6bf82}
.activation-confirmation{padding-top:5px}
.activation-confirmation input{width:22px!important;min-height:22px!important;accent-color:#10a987}
.activation-confirmation label{display:flex;align-items:flex-start;gap:10px}
.activation-confirmation small{margin-left:32px}
.cash-close-entry-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.cash-close-entry-fields .field-wrap,.cash-close-notes{display:grid;gap:7px}
.cash-close-entry-fields label,.cash-close-notes label{color:#143c59;font-size:15px;font-weight:850}
.cash-close-entry-fields input,.cash-close-notes textarea{width:100%;min-height:48px;padding:10px 12px;border:1px solid #b9d5e2;border-radius:8px;background:#fff;color:#143c59;font-size:17px}
.cash-close-notes{margin-top:14px}
.cash-close-notes textarea{min-height:83px;resize:vertical}
.cash-close-notes small{color:#61788a;font-size:13px}
.cash-close-submit{width:100%;min-height:51px;margin-top:14px;justify-content:center;background:linear-gradient(110deg,#078b74,#10a987);border-color:#078b74;color:#fff;font-size:17px;font-weight:850}
.cash-close-form>p{margin:12px 0 0;color:#546d7d;font-size:14px;line-height:1.55}
.cash-close-history-panel{margin-top:17px;border-top:4px solid #438ed5}
.cash-close-history-table{min-width:1000px}
.cash-close-history-table th,.cash-close-history-table td{font-size:14px;line-height:1.45}
.cash-history-shortage{color:#b42929;font-weight:850}.cash-history-surplus{color:#9b5a00;font-weight:850}.cash-history-balanced{color:#087c68;font-weight:850}
@media(max-width:760px){.payment-operation-panel{grid-template-columns:1fr}.cash-close-entry-fields{grid-template-columns:1fr}}
/* The operation selector is a GET form so the selected workflow also works if inline JavaScript is blocked. */
.payment-operation-panel{display:block}
.payment-operation-panel form{display:grid;grid-template-columns:minmax(220px,.65fr) minmax(260px,1.4fr) auto;align-items:end;gap:10px 14px}
.payment-operation-panel form>label{grid-column:1/-1;margin:0;color:#143c59;font-size:17px;font-weight:850}
.payment-operation-panel form>select{width:100%;min-height:52px;padding:10px 13px;border:1px solid #9dc9db;border-radius:9px;background:#fff;color:#143c59;font-size:17px;font-weight:750}
.payment-operation-panel form>.operation-continue{min-height:52px;white-space:nowrap}
.payment-operation-panel>p{margin:12px 0 0;color:#4c6879;font-size:15px;line-height:1.55}
@media(max-width:760px){.payment-operation-panel form{grid-template-columns:1fr}.payment-operation-panel form>label{grid-column:auto}.payment-operation-panel form>.operation-continue{width:100%;justify-content:center}}
/* v2.7: customer profile sections and readable account panels */
.customer-profile-heading{align-items:center;border-left:4px solid #12b7e8;padding:14px 17px;border-radius:11px;background:linear-gradient(110deg,#e9f8fc,#f7fbfd)}
.customer-profile-title{display:flex;align-items:center;gap:14px;min-width:0}
.customer-profile-title h1{margin:2px 0 3px;color:#143c59;font-size:30px}
.customer-profile-title p{margin:0;color:#5b7485;font-size:15px}
.customer-profile-avatar{display:grid;place-items:center;flex:0 0 52px;height:52px;border-radius:50%;background:linear-gradient(135deg,#11b9e7,#0c8f9f);color:#fff;font-size:23px;font-weight:900}
.customer-profile-tabs{display:flex;gap:5px;overflow-x:auto;margin:16px 0 14px;padding:6px;border-radius:10px;background:#18252d;scrollbar-width:thin}
.customer-profile-tabs a{display:inline-flex;align-items:center;gap:7px;flex:0 0 auto;padding:11px 14px;border-radius:7px;color:#d9e5eb;font-size:15px;font-weight:800;text-decoration:none;transition:background .18s ease,color .18s ease,transform .18s ease}
.customer-profile-tabs a:hover{background:#263b47;color:#fff;transform:translateY(-1px)}
.customer-profile-tabs a.selected{background:#fff;color:#087dab;box-shadow:0 3px 9px rgba(0,0,0,.15)}
.customer-profile-tabs a span{display:grid;place-items:center;min-width:22px;height:22px;padding:0 5px;border-radius:99px;background:#e7f5fa;color:#087dab;font-size:12px}
.customer-overview-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);gap:16px}
.customer-overview-card,.customer-notice-card,.customer-tab-panel,.customer-placeholder-panel{border-top:4px solid #12b7e8}
.customer-overview-card>.panel-head h2,.customer-notice-card>.panel-head h2,.customer-tab-panel>.panel-head h2{margin:3px 0;color:#143c59;font-size:22px}
.customer-overview-card>.panel-head p,.customer-notice-card>.panel-head p,.customer-tab-panel>.panel-head p{margin:4px 0;color:#607889;font-size:15px;line-height:1.5}
.customer-data-grid{display:grid;grid-template-columns:minmax(145px,.65fr) minmax(0,1.35fr);gap:0 13px;margin:2px 0 0}
.customer-data-grid dt,.customer-data-grid dd{margin:0;padding:12px 4px;border-bottom:1px solid #e4edf2;font-size:15px;line-height:1.45}
.customer-data-grid dt{color:#526d7d;font-weight:800}.customer-data-grid dd{color:#203d50;font-weight:650;overflow-wrap:anywhere}
.customer-data-grid dd small{display:block;margin-top:4px;color:#61788a;font-size:13px}
.customer-mini-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:11px 0 16px}
.customer-mini-stats div{display:grid;gap:8px;padding:14px 10px;border:1px solid #d8e8ef;border-radius:9px;background:#f7fbfd;text-align:center}
.customer-mini-stats span{color:#5d7484;font-size:13px;font-weight:800}.customer-mini-stats b{color:#143c59;font-size:25px}.customer-mini-stats .mini-green{color:#078a6d}.customer-mini-stats .mini-red{color:#c04a4a}
.customer-channel-note{padding:14px;border:1px solid #cbe7f0;border-radius:9px;background:#f1fafe}.customer-channel-note b{color:#146181;font-size:15px}.customer-channel-note p{margin:5px 0 0;color:#556f80;font-size:14px;line-height:1.5}
.customer-wide-action{display:flex;justify-content:center;margin-top:13px}
.customer-finance-actions{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:15px 18px;border-left:4px solid #10a987;border-radius:10px;background:#eef9f5}
.customer-finance-actions h2{margin:3px 0;color:#143c59;font-size:23px}.customer-finance-actions p{margin:3px 0;color:#587382;font-size:15px}
.customer-invoice-note{margin-top:13px}.customer-invoice-note p{font-size:14px;line-height:1.5}
.customer-tab-table{min-width:850px}.customer-tab-table th{font-size:14px}.customer-tab-table td{font-size:15px;line-height:1.45}.customer-tab-table td small{display:block;margin-top:3px;color:#61788a;font-size:13px}
.customer-placeholder-panel{display:grid;justify-items:start;gap:10px;max-width:800px;padding:26px;background:linear-gradient(130deg,#f2faff,#fff)}
.customer-placeholder-panel h2{margin:0;color:#143c59;font-size:24px}.customer-placeholder-panel p{max-width:690px;margin:0;color:#536e7e;font-size:16px;line-height:1.6}
.placeholder-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#dff4fb;color:#087dab;font-size:25px;font-weight:900}
.placeholder-contact-grid{display:grid;grid-template-columns:repeat(2,minmax(220px,1fr));gap:12px;width:100%;margin:8px 0}
.placeholder-contact-grid span{display:grid;gap:5px;padding:13px;border:1px solid #d8e8ef;border-radius:8px;background:#fff;color:#314f62;font-size:15px}.placeholder-contact-grid b{color:#087dab;font-size:13px;text-transform:uppercase;letter-spacing:.04em}
.customer-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.customer-stat-grid article{display:grid;gap:8px;min-height:112px;padding:17px;border:1px solid #d8e8ef;border-top:4px solid #12b7e8;border-radius:10px;background:#fff;box-shadow:0 5px 15px rgba(16,59,87,.06)}
.customer-stat-grid article:nth-child(2n){border-top-color:#10a987}.customer-stat-grid span{color:#587383;font-size:14px;font-weight:800}.customer-stat-grid strong{color:#143c59;font-size:23px;overflow-wrap:anywhere}
@media(max-width:950px){.customer-overview-grid{grid-template-columns:1fr}.customer-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-finance-actions{align-items:flex-start;flex-direction:column}}
@media(max-width:560px){.customer-profile-heading{align-items:flex-start;flex-direction:column}.customer-profile-heading .actions{width:100%;flex-wrap:wrap}.customer-profile-title h1{font-size:25px}.customer-profile-tabs{margin-inline:-3px}.customer-profile-tabs a{padding:10px 12px;font-size:14px}.customer-data-grid{grid-template-columns:1fr}.customer-data-grid dt{padding-bottom:2px;border-bottom:0}.customer-data-grid dd{padding-top:3px}.customer-stat-grid{grid-template-columns:1fr}.placeholder-contact-grid{grid-template-columns:1fr}.customer-credit-banner{align-items:flex-start;flex-wrap:wrap}}
/* v2.8: customer navigation, separated lists, and OSM readiness panel */
.customer-list-shortcuts{display:flex;gap:9px;flex-wrap:wrap;margin:0 0 14px;padding:8px;border-radius:11px;background:#e7f4f8}
.customer-list-shortcuts a{display:flex;align-items:center;min-height:46px;padding:10px 15px;border:1px solid #c8e0e9;border-radius:8px;background:#fff;color:#315469;font-size:15px;font-weight:800;text-decoration:none;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.customer-list-shortcuts a:hover{transform:translateY(-1px);border-color:#1baed7;box-shadow:0 4px 12px rgba(14,91,122,.12)}
.customer-list-shortcuts a.selected{border-color:#087dab;background:linear-gradient(110deg,#087dab,#12b7e8);color:#fff}
.customer-list-heading h1{color:#143c59}.customer-list-heading p{font-size:15px}
.map-readiness-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:15px}
.map-readiness-grid article{display:grid;gap:7px;padding:16px 19px;border:1px solid #cbe1eb;border-left:4px solid #12b7e8;border-radius:10px;background:#fff;box-shadow:0 4px 13px rgba(16,59,87,.05)}
.map-readiness-grid article:nth-child(2){border-left-color:#10a987}.map-readiness-grid span{color:#577283;font-size:14px;font-weight:800}.map-readiness-grid strong{color:#143c59;font-size:27px}
.client-map-placeholder{display:grid;justify-items:start;gap:11px;padding:24px;border-top:4px solid #10a987;background:linear-gradient(120deg,#f2fbf9,#fff)}
.client-map-placeholder h2{margin:0;color:#143c59;font-size:24px}.client-map-placeholder>p{max-width:900px;margin:0;color:#536e7e;font-size:15px;line-height:1.6}.client-map-placeholder .table-wrap{width:100%;margin-top:8px}
@media(max-width:560px){.customer-list-shortcuts{display:grid;grid-template-columns:1fr}.customer-list-shortcuts a{justify-content:center}.map-readiness-grid{grid-template-columns:1fr}.client-map-placeholder{padding:18px}}
/* v2.9: explicit allocation of customer payments to pending service charges */
.payment-allocation-panel{grid-column:1/-1;padding:18px;border:1px solid #c8e3ea;border-top:4px solid #12b7e8;border-radius:10px;background:linear-gradient(140deg,#f5fbfd,#fff)}
.allocation-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:13px}
.allocation-panel-heading div{display:grid;gap:5px}.allocation-panel-heading b{color:#143c59;font-size:18px}.allocation-panel-heading span{color:#587383;font-size:15px;line-height:1.45}
.allocation-panel-heading strong{flex-shrink:0;padding:9px 13px;border-radius:8px;background:#e6f7f3;color:#087f6b;font-size:16px}.allocation-panel-heading strong.allocation-over-limit{background:#fff0ef;color:#b63838}
.payment-allocation-table{min-width:820px}.payment-allocation-table th{background:#eaf4f7;color:#28495b;font-size:14px}.payment-allocation-table td{font-size:15px;vertical-align:middle}.payment-allocation-table td small{display:block;margin-top:3px;color:#5b7482;font-size:13px}.payment-allocation-table input[type=checkbox]{width:20px;height:20px;accent-color:#0c9c99}.payment-allocation-table .allocation-amount{width:145px;min-height:42px;font-size:16px;font-weight:750}
.allocation-credit-note,.allocation-empty{margin:12px 0 0;padding:12px 14px;border-left:4px solid #10a987;border-radius:6px;background:#effaf6;color:#315d54;font-size:15px;line-height:1.5}.allocation-empty{border-left-color:#12b7e8;background:#eff9fc;color:#315469}
@media(max-width:700px){.allocation-panel-heading{align-items:flex-start;flex-direction:column}.payment-allocation-panel{padding:13px}}
/* v2.10: customer debt by service at payment entry */
.service-debt-summary{grid-column:1/-1;padding:18px;border:1px solid #cde5eb;border-left:5px solid #10a987;border-radius:10px;background:linear-gradient(135deg,#f1fbf8,#fff)}
.service-debt-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px}.service-debt-heading h3{margin:3px 0;color:#143c59;font-size:22px}.service-debt-heading p{margin:0;color:#587383;font-size:15px}
.service-credit-badge{display:grid;gap:4px;min-width:190px;padding:11px 14px;border:1px solid #b9e4d8;border-radius:9px;background:#fff;text-align:right}.service-credit-badge span{color:#476f64;font-size:13px;font-weight:750}.service-credit-badge b{color:#07816a;font-size:19px}
.service-debt-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:12px}.service-debt-card{padding:14px;border:1px solid #d9e8ed;border-radius:9px;background:#fff;box-shadow:0 3px 10px rgba(16,59,87,.045)}
.service-debt-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding-bottom:10px;border-bottom:1px solid #e5eef1}.service-debt-card-head div{display:grid;gap:4px}.service-debt-card-head div b{color:#143c59;font-size:16px}.service-debt-card-head div span{color:#5b7482;font-size:13px;line-height:1.4}.service-debt-card-head strong{white-space:nowrap;color:#b14343;font-size:17px}
.service-debt-card ul{display:grid;gap:0;margin:0;padding:0;list-style:none}.service-debt-card li{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid #edf2f4;color:#456171;font-size:13px;line-height:1.4}.service-debt-card li:last-child{border-bottom:0}.service-debt-card li b{white-space:nowrap;color:#143c59;font-size:14px}.service-no-debt{margin:10px 0 2px;color:#07816a;font-size:14px;font-weight:750}.service-debt-summary>small{display:block;margin-top:12px;color:#587383;font-size:13px;line-height:1.5}
@media(max-width:650px){.service-debt-heading{align-items:flex-start;flex-direction:column}.service-credit-badge{width:100%;text-align:left}.service-debt-grid{grid-template-columns:1fr}}
/* Cobros: búsqueda y estado de cuenta en primer plano, con texto legible. */
.customer-lookup-panel{padding:22px;border-top:4px solid #12b7e8}.customer-lookup-panel form>label{display:block;margin-bottom:9px;color:#143c59;font-size:18px;font-weight:850}.customer-lookup-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}.customer-lookup-controls input[type=search]{width:100%;min-height:56px;padding:12px 16px;border:2px solid #b9dce8;border-radius:10px;background:#fff;color:#143c59;font-size:18px}.customer-lookup-controls input[type=search]:focus{outline:3px solid #12b7e833;border-color:#087dab}.customer-lookup-controls .button{min-height:56px;padding:12px 20px;font-size:16px}.customer-lookup-panel form>small{display:block;margin-top:8px;color:#526a7d;font-size:14px}.customer-lookup-error{margin:8px 0 0;color:#b42929;font-size:14px;font-weight:700}.selected-customer-banner{display:flex;align-items:center;gap:13px;margin-top:18px;padding:13px 15px;border:1px solid #cfe5ee;border-radius:10px;background:#f4fbfe}.selected-customer-icon{display:grid;place-items:center;flex:0 0 44px;height:44px;border-radius:50%;background:linear-gradient(135deg,#087dab,#12b7e8);color:white;font-size:20px;font-weight:900}.selected-customer-banner>div{display:grid;gap:3px;flex:1}.selected-customer-banner small{color:#087dab;font-size:11px;font-weight:900;letter-spacing:.7px}.selected-customer-banner b{color:#143c59;font-size:18px}.selected-customer-banner span{color:#526a7d;font-size:14px}.selected-customer-banner .button{font-size:14px}.cobros-account-summary{margin-top:16px;border-left-width:5px}.service-debt-heading{align-items:center}.customer-balance-badges{display:flex;gap:10px;flex-wrap:wrap}.customer-debt-badge,.service-credit-badge{display:grid;gap:4px;min-width:175px;padding:12px 15px;border-radius:9px}.customer-debt-badge{border:1px solid #f1c8c8;background:#fff6f5;color:#9a3333}.customer-debt-badge span,.service-credit-badge span{font-size:13px;font-weight:750}.customer-debt-badge b,.service-credit-badge b{font-size:20px}.customer-lookup-empty{display:flex;align-items:center;gap:15px;margin-top:16px;padding:22px;border-left:5px solid #f28c28;background:linear-gradient(110deg,#fff9f0,#fff)}.customer-lookup-empty h2{margin:0 0 5px;color:#143c59;font-size:19px}.customer-lookup-empty p{margin:0;color:#526a7d;font-size:15px;line-height:1.5}.lookup-empty-icon{display:grid;place-items:center;flex:0 0 46px;height:46px;border-radius:13px;background:#fff0dc;color:#b96407;font-size:25px;font-weight:900}
@media(max-width:650px){.customer-lookup-panel{padding:16px}.customer-lookup-controls{grid-template-columns:1fr}.customer-lookup-controls .button{width:100%}.selected-customer-banner{align-items:flex-start;flex-wrap:wrap}.selected-customer-banner .button{margin-left:57px}.service-debt-heading{align-items:flex-start;display:grid}.customer-balance-badges{width:100%}.customer-debt-badge,.service-credit-badge{flex:1;min-width:145px}.customer-lookup-empty{align-items:flex-start}}
/* Invoice entry: larger labels and controls for easier reading. */
.charge-form-panel{max-width:1000px;border-top:4px solid #f28c28}.charge-form-panel .field-wrap label{font-size:16px;color:#123b59}.charge-form-panel .field-wrap input,.charge-form-panel .field-wrap select{min-height:48px;font-size:16px}.charge-form-panel .field-wrap small{font-size:13px;line-height:1.5}.charge-form-panel .form-actions .button{font-size:15px}
/* Cobros: search tabs, detailed balances and browser-driven 80 mm receipt printing. */
.payment-workflow-tabs{display:flex;gap:8px;overflow-x:auto;margin:-5px 0 15px;padding:6px 0}.payment-workflow-tabs a{flex:0 0 auto;padding:12px 16px;border:1px solid #cfe2eb;border-radius:9px;background:#fff;color:#31566d;font-size:15px;font-weight:800}.payment-workflow-tabs a:hover,.payment-workflow-tabs a.active{background:#087dab;border-color:#087dab;color:#fff}.payment-workflow-tabs a.promise-tab-active{background:#f28c28;border-color:#f28c28;color:#172d3d}.payment-search-modes{display:flex;gap:24px;flex-wrap:wrap;margin:2px 0 15px}.payment-search-modes label{display:flex;align-items:center;gap:9px;color:#24495f;font-size:16px;font-weight:750}.payment-search-modes input{width:18px;height:18px;accent-color:#168edf}.lookup-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px}.invoice-search-fields{margin-top:0}.payment-debt-alert{display:flex;align-items:center;gap:12px;margin:16px 0;padding:15px 18px;border:1px solid #f2adad;border-radius:9px;background:#fff0ef;color:#9d2e2b;font-size:16px}.payment-debt-alert strong{font-size:19px}.debt-alert-symbol{display:grid;place-items:center;flex:0 0 30px;height:30px;border-radius:50%;background:#dc504c;color:#fff;font-weight:900}.service-debt-card-head>div>b{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.service-debt-card-head>div>small{display:block;margin-top:5px;color:#607889;font-size:13px}.service-state-label{display:inline-flex;padding:4px 8px;border-radius:99px;background:#e4f4e9;color:#197349;font-size:12px}.service-state-label.state-suspended{background:#ffebe8;color:#ac392f}.service-state-label.state-retired{background:#edf1f4;color:#516170}.print-format-field>label{color:#123b59;font-size:16px;font-weight:800}.receipt-print-options ul{display:flex;gap:10px;flex-wrap:wrap;list-style:none;margin:0;padding:0}.receipt-print-options li{display:flex;align-items:center;gap:6px;padding:10px 12px;border:1px solid #d3e6ee;border-radius:8px;background:#f7fcfe;color:#31566d;font-size:15px;font-weight:750}.receipt-print-options input{width:18px!important;min-height:18px!important;height:18px;accent-color:#087dab}.active-promises-page{margin-top:16px}
.receipt-page{margin:0;padding:24px;background:#edf3f7;color:#182d3f;font-family:Arial,"Segoe UI",sans-serif;font-size:14px}.receipt-sheet{width:min(760px,100%);margin:0 auto;padding:28px;background:#fff;border:1px solid #d6e2e9;border-radius:10px}.receipt-header{text-align:center;padding-bottom:18px;border-bottom:1px dashed #78909e}.receipt-header img{width:68px;height:68px;object-fit:cover;border-radius:50%}.receipt-header h1{font-size:19px;margin:9px 0 3px;color:#0b2d4a}.receipt-header p{margin:4px 0;color:#526c7d}.receipt-document-kind{display:inline-block;margin-top:8px;padding:5px 10px;border-radius:99px;background:#e8f7fb;color:#087dab;font-size:12px}.receipt-meta{padding:16px 0;border-bottom:1px dashed #78909e}.receipt-meta p{margin:6px 0;line-height:1.4}.receipt-lines{padding:12px 0;border-bottom:1px dashed #78909e}.receipt-lines h2{font-size:15px;margin:0 0 9px}.receipt-line{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px dotted #d4e0e6}.receipt-line span small{display:block;margin-top:3px;color:#637b8b}.receipt-totals{padding:10px 0}.receipt-totals p{display:flex;justify-content:space-between;gap:12px;margin:8px 0}.receipt-totals p:first-child{font-size:17px}.receipt-legal-note{padding:9px;border:1px solid #f0d4ad;border-radius:6px;background:#fff8ec;color:#765421;font-size:12px;line-height:1.4}.receipt-footer{margin-top:15px;padding-top:12px;border-top:1px dashed #78909e;text-align:center;color:#526c7d}.receipt-footer p{margin:5px 0}.receipt-actions{display:flex;justify-content:center;gap:10px;margin-top:20px}.receipt-actions button,.receipt-actions a{padding:10px 14px;border:1px solid #bcd5e0;border-radius:7px;background:#f4fafc;color:#13536f;font-size:14px;font-weight:750;text-decoration:none;cursor:pointer}.receipt-pos .receipt-sheet{width:72mm;max-width:100%;padding:3mm;border:0;border-radius:0;font-size:11px}.receipt-pos .receipt-header img{width:42px;height:42px}.receipt-pos .receipt-header h1{font-size:13px}.receipt-pos .receipt-header p{font-size:10px}.receipt-pos .receipt-document-kind{font-size:9px}.receipt-pos .receipt-meta p,.receipt-pos .receipt-line,.receipt-pos .receipt-totals p{font-size:10px}.receipt-pos .receipt-line span small{font-size:9px}.receipt-pos .receipt-lines h2{font-size:11px}.receipt-pos .receipt-footer{font-size:9px}.receipt-pos .receipt-legal-note{font-size:9px;padding:5px}.receipt-pos .receipt-actions{margin-top:12px}.receipt-pos .receipt-actions button,.receipt-pos .receipt-actions a{font-size:11px;padding:7px 9px}
@page receipt-pos{size:80mm auto;margin:0}
@media print{.receipt-page{margin:0;padding:0;background:#fff}.receipt-sheet{width:auto;max-width:none;margin:0;padding:0;border:0;border-radius:0}.receipt-actions{display:none}.receipt-pos{width:80mm;page:receipt-pos}.receipt-pos .receipt-sheet{width:72mm;margin:0 auto}.receipt-pos .receipt-header,.receipt-pos .receipt-meta,.receipt-pos .receipt-lines,.receipt-pos .receipt-totals,.receipt-pos .receipt-footer{break-inside:avoid}}
@media(max-width:650px){.payment-search-modes{gap:12px}.payment-search-modes label{font-size:14px}.lookup-actions{align-items:stretch;flex-direction:column}.payment-debt-alert{align-items:flex-start;font-size:14px}.receipt-page{padding:10px}.receipt-sheet{padding:18px}}
/* Cobros: invoice ledger always visible before choosing a payment action. */
.customer-invoice-ledger{margin:18px 0 22px;padding:18px;border:1px solid #d6e5ec;border-radius:12px;background:linear-gradient(135deg,#f7fcff,#fff)}.customer-invoice-ledger-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px}.customer-invoice-ledger-head h4{margin:3px 0;color:#153c58;font-size:20px}.customer-invoice-ledger-head p{margin:3px 0;color:#607889;font-size:14px}.invoice-count-chip{display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;border:1px solid #b7dfea;border-radius:99px;background:#e6f7fb;color:#066b85;font-size:14px;font-weight:800;white-space:nowrap}.customer-invoice-table{min-width:940px}.customer-invoice-table th,.customer-invoice-table td{padding:12px 10px;font-size:14px;line-height:1.4;vertical-align:middle}.customer-invoice-table thead th{background:#eaf4f8;color:#244a62;font-weight:800}.customer-invoice-table tbody tr:nth-child(even){background:#f6fafc}.customer-invoice-table td small{display:block;margin-top:3px;color:#61798a;font-size:13px}.customer-invoice-table .invoice-balance-cell{color:#a53b31;font-weight:850;white-space:nowrap}.customer-invoice-table tfoot th,.customer-invoice-table tfoot td{background:#e6f7f5;color:#174e52;font-size:14px;font-weight:850}.service-invoice-count{margin:8px 0 0;color:#456477;font-size:14px}
@media(max-width:720px){.customer-invoice-ledger{padding:12px}.customer-invoice-ledger-head{align-items:flex-start;flex-direction:column}.customer-invoice-ledger-head h4{font-size:18px}}
