@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&display=swap');

body.toplevel_page_campro,
body[class*="campro"]{background:#f4f7fb;}

body.toplevel_page_campro *,
body[class*="campro"] *{font-family:'Cairo',Tahoma,Arial,sans-serif;box-sizing:border-box;}
body[class*="campro"] .dashicons,
body[class*="campro"] .dashicons:before{font-family:dashicons !important;}

.campro-wrap{display:flex;flex-direction:row;min-height:calc(100vh - 32px);margin:0 0 0 -20px;color:#07101f;background:#f4f7fb;direction:rtl;overflow:hidden;}
.campro-side{width:260px;background:linear-gradient(180deg,#050b16 0%,#061426 55%,#07111e 100%);padding:28px 18px 22px;color:#fff;position:sticky;top:32px;height:calc(100vh - 32px);box-shadow:-14px 0 40px rgba(2,6,23,.18) inset;z-index:5;}
.campro-brand{display:flex;align-items:center;justify-content:center;gap:12px;margin-bottom:28px;font-size:26px;font-weight:900;letter-spacing:.2px;direction:ltr;}
.campro-brand img{width:48px;height:48px;object-fit:cover;border-radius:8px;}
.campro-side a{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#f8fafc;text-decoration:none;padding:13px 16px;border-radius:13px;margin:8px 0;font-size:17px;font-weight:800;transition:.2s ease;}
.campro-side a:hover,.campro-side a.active{background:linear-gradient(135deg,#168bff,#2354e8);color:#fff;box-shadow:0 12px 28px rgba(22,139,255,.32);}
.campro-side .campro-ico{opacity:.95;font-size:23px;width:23px;height:23px;line-height:23px;}
.campro-ver{position:absolute;bottom:20px;left:22px;right:22px;color:#94a3b8;font-size:13px;border-top:1px solid rgba(255,255,255,.08);padding-top:14px;}

.campro-main{flex:1;padding:0 34px 34px;min-width:0;}
.campro-hero{min-height:150px;background:radial-gradient(circle at 18% 6%,rgba(0,132,255,.32),transparent 25%),linear-gradient(135deg,#071a34 0%,#020716 58%,#00030d 100%);border-radius:0 0 30px 30px;margin-bottom:34px;display:grid;grid-template-columns:minmax(320px,400px) minmax(300px,1fr) minmax(220px,250px);align-items:center;gap:18px;color:#fff;box-shadow:0 18px 40px rgba(2,6,23,.24);overflow:hidden;padding:18px 22px;direction:ltr;}
.campro-hero-left{display:flex;align-items:center;gap:18px;min-width:0;}
.campro-hero-logo{display:flex;align-items:center;justify-content:flex-start;height:118px;width:155px;overflow:hidden;background:rgba(0,0,0,.22);border-radius:0 0 18px 18px;flex:0 0 155px;}
.campro-hero-logo img{width:145px;max-height:118px;object-fit:contain;object-position:left center;filter:drop-shadow(0 14px 24px rgba(0,0,0,.45));}
.campro-datebox{direction:rtl;display:flex;flex-direction:column;justify-content:center;gap:4px;min-width:150px;}
.campro-datebox strong{font-size:18px;line-height:1.1;font-weight:900;color:#FFD54A;text-shadow:0 0 13px rgba(255,213,74,.55);}
.campro-datebox span{font-size:14px;font-weight:800;color:#fff7cf;}
.campro-datebox em{font-style:normal;font-size:13px;font-weight:900;color:#ffc107;text-shadow:0 0 11px rgba(255,193,7,.52);}
.campro-datebox small{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:800;color:#a7f3d0;margin-top:5px;white-space:nowrap;}
.campro-datebox small i{display:inline-block;width:8px;height:8px;border-radius:50%;background:#22c55e;box-shadow:0 0 9px rgba(34,197,94,.95);}

.campro-search{direction:rtl;height:58px;border-radius:16px;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.12);display:flex;align-items:center;padding:0 16px 0 8px;box-shadow:inset 0 1px 0 rgba(255,255,255,.06);margin:0;min-width:0;}
.campro-search input{flex:1;background:transparent!important;border:0!important;box-shadow:none!important;outline:0!important;color:#fff!important;font-size:17px!important;font-weight:800!important;min-width:0;text-align:right;padding:0!important;}
.campro-search input::placeholder{color:#e2e8f0;opacity:1;}
.campro-search button{width:44px;height:44px;border:0;background:transparent;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;}
.campro-search .dashicons{font-size:30px;width:30px;height:30px;color:#fff;line-height:30px;}

.campro-userbox{direction:rtl;display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:0;padding-right:0;}
.campro-bell,.campro-user{min-height:58px;border-radius:16px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.12);display:flex;align-items:center;color:#fff;}
.campro-bell{width:58px;justify-content:center;flex:0 0 58px;margin-inline-start:0;}
.campro-bell .dashicons{font-size:29px;width:29px;height:29px;line-height:29px;}
.campro-user{padding:8px 12px;gap:9px;min-width:160px;max-width:178px;overflow:hidden;}
.campro-avatar{width:40px;height:40px;border-radius:50%;background:#fff;color:#10213a;display:flex;align-items:center;justify-content:center;flex:0 0 40px;}
.campro-avatar .dashicons{font-size:26px;width:26px;height:26px;line-height:26px;}
.campro-user strong{display:block;color:#fff;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.campro-user small{display:block;color:#cbd5e1;margin-top:2px;font-size:11px;}

.campro-grid{display:grid;gap:22px;}.cards{grid-template-columns:repeat(5,minmax(140px,1fr));direction:rtl;}.two{grid-template-columns:1.05fr 1.2fr;margin-top:28px;align-items:stretch;}.campro-card{background:#fff;border:1px solid #e6ebf2;border-radius:22px;padding:26px;box-shadow:0 18px 45px rgba(15,23,42,.07);margin-bottom:0;}
.stat{min-height:190px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:10px;padding:24px 18px;}
.stat .stat-icon{width:62px;height:62px;display:flex;align-items:center;justify-content:center;border-radius:10px;background:linear-gradient(135deg,#2354e8,#168bff);color:#fff;font-size:31px;line-height:62px;box-shadow:0 10px 22px rgba(35,84,232,.25);}
.stat small{display:block;color:#334155;margin:4px 0 0;font-size:16px;font-weight:800;line-height:1.2;}.stat strong{display:block;font-size:36px;line-height:1;font-weight:900;color:#07101f;}.stat a{color:#145cff;text-decoration:none;font-weight:900;font-size:15px;}
.campro-card h2{margin:0 0 22px;font-size:22px;font-weight:900;color:#07101f;text-align:center;}
.campro-alert-card{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:300px;overflow:hidden;}.campro-alert-icon{width:86px;height:86px;border-radius:24px;display:flex;align-items:center;justify-content:center;color:#2459eb;margin:10px auto 24px;}.campro-alert-icon .dashicons{font-size:66px;width:66px;height:66px;line-height:66px;}.big{font-size:25px;line-height:1.7;font-weight:900;margin:0 0 22px;color:#07101f;}
.campro-alert-card .button-primary,.campro-card .button-primary{background:linear-gradient(135deg,#2354e8,#168bff)!important;border:0!important;border-radius:6px!important;padding:8px 28px!important;font-weight:800!important;min-height:44px;box-shadow:0 10px 22px rgba(35,84,232,.18)!important;}
.campro-action{display:grid;grid-template-columns:60px 1fr 34px;align-items:center;border:1px solid #e6ebf2;border-radius:15px;padding:14px 18px;margin:12px 0;text-decoration:none;color:#0f172a;background:#fff;min-height:72px;font-weight:800;transition:.18s ease;}.campro-action span:first-child{color:#2563eb;font-size:33px;width:33px;height:33px;line-height:33px;text-align:center;justify-self:center;}.campro-action .plus{direction:ltr;font-size:30px;line-height:1;color:#07101f;font-weight:400;}.campro-action:hover{border-color:#168bff;color:#145cff;transform:translateY(-1px);}
.campro-footer{display:flex;justify-content:space-between;color:#334155;font-size:14px;margin-top:34px;direction:ltr;}
.campro-form{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;}.campro-form label span{font-weight:800;display:block;margin-bottom:6px;}.campro-form input,.campro-form select,.campro-form textarea{width:100%;max-width:none;border:1px solid #dbe1ea;border-radius:10px;padding:10px;background:#fff;}.campro-form textarea{min-height:80px}.campro-form button{grid-column:1/-1;justify-self:start}.widefat{border-radius:12px;overflow:hidden;border:1px solid #e5e7eb}.widefat th{font-weight:800}
@media(max-width:1350px){.campro-hero{grid-template-columns:minmax(280px,330px) minmax(260px,1fr) 210px;gap:14px}.campro-hero-logo{width:135px;flex-basis:135px}.campro-hero-logo img{width:126px}.campro-datebox strong{font-size:16px}.campro-datebox span{font-size:13px}.campro-side{width:230px}.campro-user{min-width:145px;max-width:155px}.campro-bell{width:54px;flex-basis:54px}.campro-search input{font-size:15px!important}.cards{grid-template-columns:repeat(5,minmax(115px,1fr))}.campro-card{padding:22px}.stat{min-height:176px}}

@media(max-width:1250px){.campro-hero{grid-template-columns:minmax(250px,310px) minmax(260px,1fr) 64px}.campro-user{display:none}.campro-userbox{justify-content:flex-end}.campro-bell{width:58px;flex-basis:58px}}
@media(max-width:1100px){.cards{grid-template-columns:repeat(2,1fr)}.two,.campro-form{grid-template-columns:1fr}.campro-hero{grid-template-columns:1fr;direction:rtl;height:auto}.campro-hero-left{justify-content:center}.campro-hero-logo{justify-content:center}.campro-userbox{justify-content:center;padding-right:0}.campro-search{max-width:620px;width:100%;justify-self:center}}
@media(max-width:782px){.campro-wrap{display:block;margin:0 -10px}.campro-side{position:relative;width:auto;height:auto;top:0}.campro-main{padding:0 12px 24px}.cards,.two,.campro-form{grid-template-columns:1fr}.campro-hero{height:auto;padding:24px}.campro-hero-left{flex-direction:column}.campro-hero-logo img{width:126px}.campro-datebox{text-align:center;align-items:center}.campro-footer{display:block;text-align:center}.campro-footer span{display:block;margin:8px 0}}

/* CamPro v1.1.0 Pro Module Upgrade */
.campro-mini-counts{display:flex;gap:6px;margin-top:8px;flex-wrap:wrap;justify-content:flex-start;direction:rtl}
.campro-mini-counts span{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.1);color:#eaf6ff;border-radius:999px;padding:3px 8px;font-size:11px;font-weight:900;line-height:1.4;white-space:nowrap}
.campro-module-head{display:flex;align-items:center;justify-content:space-between;gap:18px;background:linear-gradient(135deg,#ffffff,#f7fbff);border:1px solid #e6ebf2;border-radius:22px;padding:22px 26px;margin-bottom:22px;box-shadow:0 18px 45px rgba(15,23,42,.06)}
.campro-module-head>div{display:grid;grid-template-columns:56px 1fr;column-gap:14px;align-items:center}.campro-module-head .dashicons{grid-row:1/3;width:56px;height:56px;line-height:56px;text-align:center;border-radius:16px;background:linear-gradient(135deg,#2354e8,#168bff);color:#fff;font-size:31px;box-shadow:0 10px 22px rgba(35,84,232,.22)}
.campro-module-head h1{margin:0;font-size:27px;font-weight:900;color:#07101f}.campro-module-head p{margin:2px 0 0;color:#64748b;font-weight:800}.campro-module-head .button-primary{background:linear-gradient(135deg,#2354e8,#168bff)!important;border:0!important;border-radius:12px!important;padding:9px 20px!important;font-weight:900!important;min-height:44px;box-shadow:0 10px 22px rgba(35,84,232,.18)!important}
.campro-notice{display:flex;align-items:center;gap:8px;background:#ecfdf5;border:1px solid #bbf7d0;color:#047857;border-radius:14px;padding:12px 16px;margin-bottom:18px;font-weight:900}.campro-notice .dashicons{color:#16a34a}
.campro-table-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.campro-table-title h2{margin:0!important}.campro-table-title span{background:#eff6ff;color:#145cff;border-radius:999px;padding:5px 12px;font-weight:900;font-size:13px}
.campro-record-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.campro-record{display:grid;grid-template-columns:54px 1fr auto;align-items:center;gap:12px;border:1px solid #e6ebf2;background:#fff;border-radius:18px;padding:14px;transition:.18s ease}.campro-record:hover{border-color:#168bff;box-shadow:0 14px 28px rgba(15,23,42,.06);transform:translateY(-1px)}
.campro-record-icon{width:54px;height:54px;border-radius:16px;background:linear-gradient(135deg,#2354e8,#168bff);color:#fff;display:flex;align-items:center;justify-content:center}.campro-record-icon .dashicons{font-size:29px;width:29px;height:29px;line-height:29px}.campro-record h3{margin:0 0 4px;color:#07101f;font-size:17px;font-weight:900}.campro-record p{margin:0;color:#64748b;font-size:13px;font-weight:800}.campro-record-meta{display:flex;align-items:center;gap:8px;margin-top:9px;flex-wrap:wrap}.campro-record-meta>span:last-child{font-size:11px;color:#94a3b8;font-weight:800}.campro-record-actions{display:flex;flex-direction:column;gap:8px}.campro-record-actions a{text-decoration:none;font-weight:900;color:#145cff;background:#eff6ff;border-radius:9px;padding:6px 10px;text-align:center}.campro-record-actions a.delete{color:#dc2626;background:#fff1f2}
.campro-badge{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:4px 10px;font-size:12px;font-weight:900;line-height:1}.campro-badge.neutral{background:#f1f5f9;color:#334155}.campro-badge.success{background:#dcfce7;color:#15803d}.campro-badge.warning{background:#fff7ed;color:#c2410c}.campro-badge.danger{background:#fee2e2;color:#b91c1c}
.campro-list-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #e6ebf2;border-radius:15px;padding:13px 15px;margin:10px 0}.campro-list-row b{display:block;color:#07101f;font-weight:900}.campro-list-row span{display:block;color:#64748b;font-weight:800;font-size:13px;margin-top:4px}.campro-empty{color:#64748b;text-align:center;font-weight:800;margin:20px 0}.campro-recent{margin-top:28px}.campro-search-results{margin-bottom:24px}.campro-result-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.campro-result-box{border:1px solid #e6ebf2;border-radius:16px;padding:14px;background:#fbfdff}.campro-result-box h3{margin:0 0 10px;color:#07101f;font-weight:900}.campro-result-box a{display:block;text-decoration:none;color:#0f172a;border-radius:12px;padding:9px;background:#fff;border:1px solid #eef2f7;margin-top:8px}.campro-result-box b{display:block;font-weight:900}.campro-result-box small{display:block;color:#64748b;font-weight:800;margin-top:4px}
@media(max-width:1200px){.campro-record-grid,.campro-result-grid{grid-template-columns:1fr}.campro-module-head{display:block}.campro-module-head .button{margin-top:14px}}

/* CamPro v1.2.0 Customer Profile + Company Branding */
.campro-profile-head{display:grid;grid-template-columns:84px 1fr auto;align-items:center;gap:18px;background:linear-gradient(135deg,#061a34,#020716);color:#fff;border-radius:24px;padding:24px;margin-bottom:18px;box-shadow:0 18px 45px rgba(2,6,23,.18)}
.campro-profile-avatar{width:84px;height:84px;border-radius:22px;background:linear-gradient(135deg,#2354e8,#168bff);display:flex;align-items:center;justify-content:center;box-shadow:0 14px 28px rgba(35,84,232,.28)}
.campro-profile-avatar .dashicons{font-size:44px;width:44px;height:44px;line-height:44px;color:#fff}.campro-profile-head h1{margin:0;font-size:30px;font-weight:900;color:#fff}.campro-profile-head p{margin:5px 0 0;color:#cbd5e1;font-weight:800}.campro-profile-tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.campro-profile-tags span{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);border-radius:999px;padding:6px 11px;font-size:12px;font-weight:900;color:#eaf6ff}.campro-profile-actions{display:flex;gap:8px;align-items:center}.campro-profile-actions .button{border-radius:12px!important;font-weight:900!important;padding:8px 16px!important;min-height:42px!important}.campro-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 18px}.campro-tabs a{text-decoration:none;background:#fff;border:1px solid #e6ebf2;color:#0f172a;border-radius:14px;padding:10px 18px;font-weight:900;box-shadow:0 8px 18px rgba(15,23,42,.04)}.campro-tabs a.active,.campro-tabs a:hover{background:linear-gradient(135deg,#2354e8,#168bff);color:#fff;border-color:transparent;box-shadow:0 12px 28px rgba(35,84,232,.22)}
.campro-info-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.campro-info-grid>div{border:1px solid #e6ebf2;border-radius:16px;background:#fbfdff;padding:16px;min-height:86px}.campro-info-grid b{display:block;color:#64748b;font-weight:900;margin-bottom:8px}.campro-info-grid span{display:block;color:#07101f;font-weight:800;line-height:1.7}.campro-info-grid .wide{grid-column:1/-1}.campro-form .wide{grid-column:1/-1}.campro-upload-row{display:flex;gap:10px}.campro-upload-row input{flex:1}.campro-logo-preview{grid-column:1/-1;border:1px solid #e6ebf2;background:#061426;border-radius:18px;padding:16px;display:flex;align-items:center;justify-content:center;min-height:130px}.campro-logo-preview img{max-width:220px;max-height:110px;object-fit:contain}.campro-settings-form .button:not(.button-primary){border-radius:10px;font-weight:800}.campro-record-actions a:first-child:nth-last-child(3){background:#e0f2fe;color:#0369a1}
@media(max-width:900px){.campro-profile-head{grid-template-columns:1fr;text-align:center}.campro-profile-avatar{margin:auto}.campro-profile-tags,.campro-profile-actions{justify-content:center}.campro-info-grid{grid-template-columns:1fr}.campro-upload-row{display:block}.campro-upload-row .button{margin-top:10px}}

/* CamPro v1.3.0 Project 360 Profile */
.campro-grid.three{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:18px}.campro-project-head{background:linear-gradient(135deg,#061a34,#020716)}.campro-project-summary .stat{min-height:160px}.campro-coming{text-align:center;padding:48px 24px}.campro-coming-icon{width:86px;height:86px;border-radius:26px;background:linear-gradient(135deg,#2354e8,#168bff);display:flex;align-items:center;justify-content:center;margin:0 auto 18px;box-shadow:0 18px 34px rgba(35,84,232,.22)}.campro-coming-icon .dashicons{color:#fff;font-size:42px;width:42px;height:42px;line-height:42px}.campro-coming h2{margin:0 0 10px!important;font-size:28px!important}.campro-coming p{max-width:620px;margin:0 auto 20px;color:#64748b;font-weight:800;line-height:1.9}.campro-info-grid a{color:#145cff;text-decoration:none;font-weight:900}.campro-info-grid a:hover{text-decoration:underline}
@media(max-width:1100px){.campro-grid.three{grid-template-columns:1fr}}

/* CamPro v1.4.0 Device Profile */
.campro-device-head{background:linear-gradient(135deg,#061a34,#020716)}
.campro-device-summary .stat strong{font-size:18px;line-height:1.45;max-width:100%;word-break:break-word}
.campro-status-success{color:#16a34a!important;text-shadow:0 0 10px rgba(34,197,94,.18)}
.campro-status-warning{color:#f59e0b!important;text-shadow:0 0 10px rgba(245,158,11,.18)}
.campro-status-danger{color:#dc2626!important;text-shadow:0 0 10px rgba(220,38,38,.18)}
.campro-status-neutral{color:#64748b!important}
.campro-credentials{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.campro-credentials>div{border:1px solid #e6ebf2;border-radius:16px;background:#fbfdff;padding:15px;display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center}
.campro-credentials b{grid-column:1/-1;color:#64748b;font-weight:900}.campro-credentials code{direction:ltr;text-align:left;background:#07101f;color:#eaf6ff;border-radius:10px;padding:10px 12px;font-weight:800;display:block;overflow:auto}.campro-credentials .button{border-radius:10px!important;font-weight:900!important}
.campro-device-images{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.campro-device-images>div{border:1px solid #e6ebf2;border-radius:18px;background:#fbfdff;padding:14px;min-height:210px}.campro-device-images b{display:block;color:#07101f;font-weight:900;margin-bottom:12px}.campro-device-images img{width:100%;height:170px;object-fit:cover;border-radius:14px;border:1px solid #e6ebf2;background:#fff}.campro-empty-img{display:flex;align-items:center;justify-content:center;height:170px;border-radius:14px;background:#f8fafc;color:#94a3b8;font-weight:900;border:1px dashed #cbd5e1}.campro-field-preview{margin-top:10px;border:1px solid #e6ebf2;border-radius:14px;padding:8px;background:#fbfdff}.campro-field-preview img{max-width:100%;max-height:120px;border-radius:10px;display:block}
@media(max-width:1100px){.campro-credentials,.campro-device-images{grid-template-columns:1fr}}

/* CamPro v1.5.0 Professional Maintenance Contracts */
.campro-contract-head{background:linear-gradient(135deg,#061a34,#020716)}
.campro-contract-summary .stat strong{font-size:19px;line-height:1.45;max-width:100%;word-break:break-word}
.campro-progress{height:14px;background:#eaf1fb;border-radius:999px;overflow:hidden;margin:0 0 18px;border:1px solid #dbe7f5}
.campro-progress i{display:block;height:100%;border-radius:999px;background:linear-gradient(135deg,#2354e8,#168bff);box-shadow:0 0 18px rgba(35,84,232,.25)}
.campro-contract-files{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.campro-contract-files>div{border:1px solid #e6ebf2;border-radius:18px;background:#fbfdff;padding:18px;display:grid;grid-template-columns:60px 1fr auto;align-items:center;gap:12px;min-height:95px}
.campro-contract-files .dashicons{width:60px;height:60px;line-height:60px;text-align:center;border-radius:16px;background:linear-gradient(135deg,#2354e8,#168bff);color:#fff;font-size:32px}
.campro-contract-files b{font-weight:900;color:#07101f;font-size:17px}.campro-contract-files small{color:#94a3b8;font-weight:900}.campro-contract-files .button{border-radius:10px!important;font-weight:900!important}
@media(max-width:1100px){.campro-contract-files{grid-template-columns:1fr}.campro-contract-files>div{grid-template-columns:54px 1fr}.campro-contract-files .button{grid-column:1/-1}}


/* CamPro v1.6 Professional+ contract device linking */
.campro-contract-devices{display:block;width:100%}
.campro-device-picker-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:8px 0 14px}
.campro-device-picker-toolbar small{color:#64748b;font-weight:700}
.campro-device-picker-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-height:320px;overflow:auto;padding:4px}
.campro-device-check{display:grid!important;grid-template-columns:auto 44px 1fr;gap:10px;align-items:center;border:1px solid #dbeafe;border-radius:16px;padding:12px;background:#f8fbff;box-shadow:0 6px 18px rgba(15,23,42,.04);cursor:pointer}
.campro-device-check input{width:20px;height:20px}
.campro-device-check .dashicons{width:38px;height:38px;border-radius:13px;background:#1677ff;color:white;display:flex;align-items:center;justify-content:center;font-size:20px}
.campro-device-check b{display:block;color:#071427;font-size:14px}
.campro-device-check small{display:block;color:#64748b;font-weight:700;margin-top:3px}
.campro-device-check:has(input:checked){border-color:#1677ff;background:#eef6ff;box-shadow:0 12px 30px rgba(22,119,255,.12)}
.campro-contract-device-grid .campro-record{border-color:#bfdbfe}
@media(max-width:900px){.campro-device-picker-list{grid-template-columns:1fr}}


/* CamPro v1.6.1 Smart contract device picker */
.campro-field-devices_included{grid-column:1/-1}
.campro-contract-devices{width:100%}
.campro-device-picker-hint{display:flex;align-items:center;gap:12px;border:1px dashed #bfd7ff;background:#f8fbff;border-radius:16px;padding:14px 16px;margin:8px 0 14px;color:#31445f}
.campro-device-picker-hint .dashicons{width:36px;height:36px;border-radius:12px;background:#eaf2ff;color:#1677ff;display:flex;align-items:center;justify-content:center;font-size:20px;flex:0 0 36px}
.campro-device-picker-hint b{display:block;color:#071427;font-size:15px;margin-bottom:2px}
.campro-device-picker-hint small{display:block;color:#64748b;font-weight:700;line-height:1.7}
.campro-contract-devices.ready .campro-device-picker-hint{display:none}
.campro-contract-devices:not(.ready) .campro-device-picker-toolbar,
.campro-contract-devices:not(.ready) .campro-device-picker-list{display:none!important}
.campro-device-picker-toolbar{justify-content:flex-start;background:#f8fbff;border:1px solid #e2e8f0;border-radius:16px;padding:12px 14px}
.campro-device-picker-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;max-height:none;overflow:visible;padding:8px 2px 2px}
.campro-device-check{grid-template-columns:24px 52px 1fr!important;min-height:112px;text-align:right;padding:14px!important;position:relative;overflow:hidden}
.campro-device-check input{accent-color:#1677ff;justify-self:center}
.campro-device-check .dashicons{width:48px!important;height:48px!important;border-radius:16px!important;font-size:24px!important;box-shadow:0 12px 25px rgba(22,119,255,.20)}
.campro-device-check b{font-size:15px!important;line-height:1.45;word-break:break-word}
.campro-device-check small{line-height:1.65;word-break:break-word}
.campro-device-check[style*="display: none"]{display:none!important}
@media(max-width:1200px){.campro-device-picker-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.campro-device-picker-list{grid-template-columns:1fr}.campro-device-picker-hint{align-items:flex-start}}

/* CamPro v1.6.2 polished device picker cards */
.campro-device-picker-list{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:18px!important;
  width:100%;
}
.campro-device-check{
  display:grid!important;
  grid-template-columns:28px 92px 1fr!important;
  min-height:118px!important;
  align-items:center!important;
  gap:16px!important;
  padding:16px!important;
  border-radius:22px!important;
  background:linear-gradient(135deg,#ffffff,#f7fbff)!important;
  border:1px solid #dbeafe!important;
  box-shadow:0 14px 34px rgba(15,23,42,.06)!important;
  text-align:right!important;
  overflow:hidden!important;
  position:relative!important;
}
.campro-device-check input[type="checkbox"]{
  position:absolute!important;
  opacity:0!important;
  pointer-events:none!important;
}
.campro-device-checkmark{
  width:26px!important;
  height:26px!important;
  border-radius:50%!important;
  border:2px solid #cbd5e1!important;
  background:#fff!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:#fff!important;
  justify-self:center!important;
  box-shadow:0 8px 18px rgba(15,23,42,.08)!important;
}
.campro-device-checkmark .dashicons{font-size:16px!important;width:16px!important;height:16px!important;line-height:16px!important;background:none!important;box-shadow:none!important;color:inherit!important}
.campro-device-check input[type="checkbox"]:checked + .campro-device-checkmark{
  background:#1677ff!important;
  border-color:#1677ff!important;
  color:#fff!important;
}
.campro-device-thumb{
  width:92px!important;
  height:82px!important;
  border-radius:18px!important;
  background:linear-gradient(135deg,#eef6ff,#dbeafe)!important;
  border:1px solid #dbeafe!important;
  overflow:hidden!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-shadow:0 10px 24px rgba(22,119,255,.10)!important;
}
.campro-device-thumb img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}
.campro-device-thumb .dashicons{width:48px!important;height:48px!important;line-height:48px!important;border-radius:16px!important;background:linear-gradient(135deg,#2354e8,#168bff)!important;color:#fff!important;font-size:25px!important;text-align:center!important;box-shadow:0 12px 25px rgba(22,119,255,.20)!important}
.campro-device-info{min-width:0!important;display:block!important}
.campro-device-info b{
  display:block!important;
  color:#071427!important;
  font-size:16px!important;
  font-weight:900!important;
  line-height:1.5!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:anywhere!important;
  margin-bottom:8px!important;
}
.campro-device-info small{
  display:block!important;
  color:#64748b!important;
  font-size:12px!important;
  font-weight:800!important;
  line-height:1.8!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:anywhere!important;
}
.campro-device-check:has(input:checked){
  border-color:#1677ff!important;
  background:linear-gradient(135deg,#f8fbff,#eef6ff)!important;
  box-shadow:0 18px 44px rgba(22,119,255,.16)!important;
}
.campro-device-picker-toolbar{margin-bottom:14px!important}
@media(max-width:1200px){.campro-device-picker-list{grid-template-columns:1fr!important}.campro-device-check{grid-template-columns:28px 86px 1fr!important}.campro-device-thumb{width:86px!important;height:78px!important}}
@media(max-width:720px){.campro-device-check{grid-template-columns:28px 72px 1fr!important;padding:12px!important}.campro-device-thumb{width:72px!important;height:66px!important}.campro-device-info b{font-size:14px!important}}

/* CamPro v1.7 signed contract polish */
.campro-field-customer_signature_data{grid-column:1 / -1!important}
.campro-signature-pad{background:linear-gradient(135deg,#f8fbff,#ffffff);border:1px solid #dbeafe;border-radius:22px;padding:16px;box-shadow:0 12px 28px rgba(15,23,42,.05)}
.campro-signature-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;flex-wrap:wrap}.campro-signature-toolbar small{font-weight:800;color:#64748b}.campro-signature-pad canvas{width:100%;max-width:720px;height:190px;display:block;background:#fff;border:2px dashed #bfdbfe;border-radius:18px;cursor:crosshair;touch-action:none}.campro-signature-preview{margin-top:14px;display:inline-flex;align-items:center;gap:14px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:16px;padding:10px 14px}.campro-signature-preview img{max-width:220px;max-height:90px;object-fit:contain;background:white;border-radius:12px}.campro-company-sign-preview{margin-top:12px;min-height:86px;display:flex;align-items:center;justify-content:center;border:1px dashed #bfdbfe;border-radius:18px;background:#f8fbff}.campro-company-sign-preview img{max-height:90px;max-width:260px;object-fit:contain}.campro-company-sign-preview span{font-weight:800;color:#64748b}.campro-signature-box{min-height:150px;border:1px solid #dbeafe;border-radius:20px;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:18px;text-align:center}.campro-signature-box b{font-size:16px;color:#071427}.campro-signature-box img{max-width:100%;max-height:105px;object-fit:contain}.campro-signature-box small{color:#64748b;font-weight:800}

/* CamPro v1.7.1 signed contracts corrections */
.campro-help{display:block;margin-top:8px;color:#64748b;font-weight:800;font-size:12px}.campro-settings-previews{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:16px}.campro-settings-previews .campro-logo-preview{min-height:110px;border:1px dashed #bfdbfe;border-radius:18px;background:#f8fbff;display:flex;align-items:center;justify-content:center}.campro-settings-previews .campro-logo-preview img{max-height:95px;max-width:280px;object-fit:contain;background:#fff;border-radius:12px;padding:6px}.campro-contract-signatures .campro-signature-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.campro-contract-signatures .button{height:auto}.campro-signature-pad canvas{max-width:100%;min-height:190px;border-color:#1d6fff;background:#fff}.campro-field-customer_signature_data>span:after{content:' - توقيع حقيقي بالماوس أو الإصبع وليس كتابة اسم';font-size:12px;color:#64748b;margin-inline-start:8px}@media(max-width:900px){.campro-settings-previews,.campro-contract-signatures .campro-signature-grid{grid-template-columns:1fr}}

/* CamPro v1.7.2 signature canvas hotfix */
.campro-field-customer_signature_data > input:not([type="hidden"]){display:none!important}
.campro-signature-pad{width:100%!important;box-sizing:border-box!important}
.campro-signature-pad canvas#campro_customer_signature_canvas{width:100%!important;max-width:100%!important;height:210px!important;background:#fff!important;border:2px dashed #1d6fff!important;border-radius:18px!important;display:block!important;touch-action:none!important;cursor:crosshair!important}
.campro-signature-toolbar .button{border-color:#1d6fff!important;color:#1d6fff!important;font-weight:800!important}
.campro-signature-preview img{background:#fff!important;border:1px solid #e2e8f0!important;padding:6px!important}
.campro-side .campro-brand b{color:#fff!important}


/* CamPro v1.7.4 clean signature canvas rebuild */
.campro-signature-pad canvas#campro_customer_signature_canvas{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  height:220px!important;
  min-height:220px!important;
  background:#fff!important;
  border:2px dashed #1d6fff!important;
  border-radius:18px!important;
  touch-action:none!important;
  user-select:none!important;
  -webkit-user-select:none!important;
  cursor:crosshair!important;
}
.campro-signature-pad{
  overflow:hidden!important;
}


/* CamPro v1.7.7 SVG signature rebuild - event-safe */
.campro-svg-signature-pad{width:100%!important;box-sizing:border-box!important}
.campro-signature-svg-box{position:relative;width:100%;min-height:230px;background:#fff;border:2px dashed #1d6fff;border-radius:18px;overflow:hidden;touch-action:none;box-sizing:border-box}
.campro-signature-svg-box svg{display:block;width:100%;height:230px;background:#fff;cursor:crosshair;touch-action:none;user-select:none}
.campro-signature-placeholder{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#94a3b8;font-weight:900;font-size:22px;pointer-events:none}
.campro-signature-svg-box.has-signature .campro-signature-placeholder{display:none!important}
.campro-svg-signature-pad canvas{display:none!important}
.campro-signature-toolbar .button{border-color:#1d6fff!important;color:#1d6fff!important;font-weight:900!important}


/* CamPro v1.7.8 signature final hardening */
.campro-signature-svg-box{
  position:relative!important;
  width:100%!important;
  min-height:230px!important;
  background:#fff!important;
  border:2px dashed #1d6fff!important;
  border-radius:18px!important;
  overflow:hidden!important;
  touch-action:none!important;
  user-select:none!important;
  -webkit-user-select:none!important;
  cursor:crosshair!important;
}
.campro-signature-svg-box svg#campro_customer_signature_svg{
  position:absolute!important;
  inset:0!important;
  z-index:3!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-height:230px!important;
  background:transparent!important;
  pointer-events:auto!important;
  touch-action:none!important;
  cursor:crosshair!important;
}
.campro-signature-placeholder{
  z-index:2!important;
  pointer-events:none!important;
  user-select:none!important;
  -webkit-user-select:none!important;
}
.campro-signature-svg-box svg path{pointer-events:none!important;}

/* CamPro v1.7.8 signature click/reset protection */
.campro-field-customer_signature_data{cursor:default!important;}
.campro-field-customer_signature_data .campro-signature-svg-box, .campro-field-customer_signature_data .campro-signature-svg-box *{user-select:none!important;-webkit-user-select:none!important;}

/* CamPro v2.0.2 professional visit cards */
.campro-visit-card-pro{
  align-items:center;
  gap:18px;
  border:1px solid rgba(29,111,255,.18)!important;
  background:linear-gradient(135deg,#ffffff 0%,#f8fbff 100%)!important;
  box-shadow:0 12px 34px rgba(15,23,42,.06)!important;
}
.campro-visit-card-pro .campro-record-body h3{font-size:19px;margin-bottom:10px;}
.campro-visit-lines{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px 14px;
  color:#475569;
  font-weight:800;
  font-size:13px;
  line-height:1.6;
}
.campro-visit-lines span{
  background:#f1f6ff;
  border:1px solid #dbeafe;
  border-radius:12px;
  padding:7px 10px;
  white-space:normal;
  word-break:break-word;
}
.campro-visit-card-pro .campro-record-meta{margin-top:12px;gap:8px;flex-wrap:wrap;}
.campro-visit-card-pro .campro-record-actions{min-width:88px;}
.campro-visits-grid .campro-visit-card-pro{width:100%;}
@media(max-width:900px){.campro-visit-lines{grid-template-columns:1fr}.campro-visit-card-pro{align-items:stretch}}

/* CamPro v2.1.1 visit checklist save rebuild */
.campro-visit-checklist-editor{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  width:100%;
}
.campro-visit-checklist-editor .campro-help{grid-column:1/-1;margin:0 0 4px;color:#64748b;font-weight:800}
.campro-check-item{
  display:flex!important;
  align-items:center;
  gap:12px;
  background:#f8fbff;
  border:1px solid #dbeafe;
  border-radius:16px;
  padding:14px 16px;
  cursor:pointer;
  min-height:64px;
}
.campro-check-item input{display:none!important}
.campro-check-tick{
  width:26px;height:26px;border:2px solid #cbd5e1;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;background:#fff;flex:0 0 26px;
}
.campro-check-item input:checked + .campro-check-tick{background:#2563eb;border-color:#2563eb;box-shadow:0 8px 20px rgba(37,99,235,.25)}
.campro-check-item strong{font-size:14px;color:#071427;line-height:1.5}
.campro-visit-checklist-view{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.campro-check-done{display:flex;align-items:center;gap:10px;border:1px solid #bbf7d0;background:#f0fdf4;color:#166534;border-radius:14px;padding:12px 14px;font-weight:900}
.campro-check-done .dashicons{color:#16a34a}
@media(max-width:900px){.campro-visit-checklist-editor,.campro-visit-checklist-view{grid-template-columns:1fr}}


/* CamPro v2.2.0 Professional Visit Spare Parts + PDF */
.campro-spare-editor{border:1px solid #dbeafe;background:#f8fbff;border-radius:18px;padding:16px;display:grid;gap:10px}
.campro-help{margin:0;color:#64748b;font-weight:700}
.campro-spare-head,.campro-spare-row{display:grid;grid-template-columns:2fr 1fr 1fr 1fr auto;gap:8px;align-items:center}
.campro-spare-head{color:#64748b;font-size:12px;font-weight:900;padding:0 6px}
.campro-spare-row{background:#fff;border:1px solid #dbeafe;border-radius:14px;padding:8px}
.campro-spare-row input{width:100%;min-height:40px;border:1px solid #dbeafe;border-radius:10px;padding:8px;background:#fff}
.campro-spare-total{background:#eff6ff;border-radius:10px;padding:10px;text-align:center;color:#0f172a}
.campro-spare-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.campro-spare-table{width:100%;border-collapse:separate;border-spacing:0;margin-top:10px;overflow:hidden;border-radius:14px;border:1px solid #dbeafe}
.campro-spare-table th,.campro-spare-table td{padding:12px;border-bottom:1px solid #dbeafe;text-align:right}
.campro-spare-table th{background:#eff6ff;color:#0f172a;font-weight:900}
.campro-spare-table tfoot th{background:#f8fbff;color:#1d6fff}
@media(max-width:900px){.campro-spare-head{display:none}.campro-spare-row{grid-template-columns:1fr}.campro-spare-total{text-align:right}}


/* CamPro v2.3.0 Visit Invoices */
.campro-invoice-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px;margin-top:16px}
.campro-invoice-card{display:flex;align-items:center;gap:14px;background:#f8fbff;border:1px solid #dbeafe;border-radius:18px;padding:16px;box-shadow:0 10px 28px rgba(15,23,42,.06)}
.campro-invoice-card .campro-record-icon{width:58px;height:58px;min-width:58px;border-radius:16px;background:linear-gradient(135deg,#2563eb,#1d6fff);display:flex;align-items:center;justify-content:center;color:#fff}
.campro-invoice-card .campro-record-icon .dashicons{font-size:28px;width:28px;height:28px}
.campro-invoice-card .campro-record-body{flex:1}
.campro-invoice-card h3{margin:0 0 6px;font-size:18px}
.campro-invoice-card p{margin:0;color:#64748b;font-weight:700}
.campro-invoice-card .campro-record-actions a{display:inline-flex;align-items:center;justify-content:center;background:#e0f2fe;color:#075985;border-radius:10px;padding:8px 13px;text-decoration:none;font-weight:900}
/* v2.3.1 invoice PDF + WhatsApp polish */
.campro-invoice-card .campro-record-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.campro-invoice-card .campro-record-actions .campro-wa-link{background:#dcfce7;color:#166534}

/* CamPro v2.4.0 Inventory Integration */
.campro-inventory-spare-editor .campro-spare-head,
.campro-inventory-spare-editor .campro-spare-row{grid-template-columns:1.5fr 1.4fr .8fr .9fr .8fr auto;}
.campro-spare-row select.campro-spare-inventory{width:100%;min-height:40px;border:1px solid #dbeafe;border-radius:10px;padding:8px;background:#fff;font-weight:800;color:#0f172a;}
.campro-inventory-stock-card{border:1px solid #dbeafe;background:#f8fbff;border-radius:14px;padding:12px;}
.campro-badge.danger{background:#fee2e2;color:#dc2626;}
@media(max-width:900px){.campro-inventory-spare-editor .campro-spare-row{grid-template-columns:1fr}}


/* CamPro v2.4.1 Visit parts section layout fix */
.campro-form .campro-field-spare_parts_json{
  grid-column:1/-1!important;
  order:60;
  margin-top:10px;
}
.campro-form .campro-field-spare_parts_json>span{
  font-size:22px!important;
  font-weight:900!important;
  color:#071427!important;
  margin-bottom:12px!important;
}
.campro-form .campro-field-checklist_items,
.campro-form .campro-field-after_image_url{
  order:50;
}
.campro-form .campro-field-customer_signature_data{
  order:70;
  grid-column:1/-1!important;
}
.campro-form .campro-field-notes{
  order:80;
}
.campro-inventory-spare-editor{
  padding:18px!important;
  border-radius:22px!important;
  background:linear-gradient(135deg,#f8fbff,#ffffff)!important;
  box-shadow:0 14px 35px rgba(15,23,42,.05)!important;
}
.campro-inventory-spare-editor .campro-spare-head,
.campro-inventory-spare-editor .campro-spare-row{
  grid-template-columns:1.6fr 1.6fr 110px 130px 110px auto!important;
}
.campro-inventory-spare-editor input[name="spare_part_qty[]"]{
  text-align:center!important;
  font-weight:900!important;
}
.campro-spare-footer{
  border-top:1px dashed #dbeafe;
  padding-top:14px;
  margin-top:4px;
}
@media(max-width:1100px){
  .campro-inventory-spare-editor .campro-spare-head{display:none!important}
  .campro-inventory-spare-editor .campro-spare-row{grid-template-columns:1fr!important}
}

/* CamPro v2.4.2 Visit service section: before + after + checklist together */
.campro-visit-service-section{
  grid-column:1/-1!important;
  order:50;
  border:1px solid #dbeafe;
  border-radius:24px;
  background:linear-gradient(135deg,#f8fbff,#ffffff);
  padding:18px;
  box-shadow:0 14px 35px rgba(15,23,42,.05);
}
.campro-visit-service-section .campro-section-title{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:16px;
  padding-bottom:14px;
  border-bottom:1px dashed #dbeafe;
}
.campro-visit-service-section .campro-section-title .dashicons{
  width:48px;height:48px;line-height:48px;text-align:center;
  border-radius:16px;
  background:linear-gradient(135deg,#2354e8,#168bff);
  color:#fff;font-size:24px;
  box-shadow:0 12px 26px rgba(22,119,255,.18);
}
.campro-visit-service-section h3{margin:0 0 5px;font-size:22px;color:#071427;font-weight:900}
.campro-visit-service-section p{margin:0;color:#64748b;font-weight:800}
.campro-visit-service-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  align-items:start;
}
.campro-visit-service-grid>label{display:block!important;margin:0!important;min-width:0}
.campro-visit-service-grid .campro-field-checklist_items{grid-column:auto!important;order:initial!important}
.campro-visit-service-grid .campro-field-before_image_url,
.campro-visit-service-grid .campro-field-after_image_url{order:initial!important}
.campro-visit-service-grid .campro-field-preview{
  margin-top:10px;
  border:1px solid #dbeafe;
  border-radius:16px;
  overflow:hidden;
  background:#fff;
  min-height:130px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.campro-visit-service-grid .campro-field-preview img{width:100%;height:160px;object-fit:cover;display:block}
.campro-visit-service-grid .campro-visit-checklist-editor{grid-template-columns:1fr!important;gap:10px}
.campro-visit-service-grid .campro-visit-checklist-editor .campro-help{font-size:12px;line-height:1.7}
.campro-visit-service-grid .campro-check-item{min-height:58px;padding:12px}
.campro-form .campro-field-spare_parts_json{order:60;grid-column:1/-1!important}
.campro-form .campro-field-customer_signature_data{order:70;grid-column:1/-1!important}
.campro-form .campro-field-notes{order:80}
.campro-form button.button-primary{order:90}
@media(max-width:1200px){.campro-visit-service-grid{grid-template-columns:1fr 1fr}.campro-visit-service-grid .campro-field-checklist_items{grid-column:1/-1!important}}
@media(max-width:782px){.campro-visit-service-grid{grid-template-columns:1fr}.campro-visit-service-section{padding:14px}}

/* CamPro v2.5.0 Payment Ledger */
.campro-payment-ledger{scroll-margin-top:110px}
.campro-payment-summary{margin:14px 0 16px!important}
.campro-payment-summary .stat{min-height:120px!important;text-align:center!important}
.campro-payment-progress{margin:8px 0 24px!important;background:#eaf2ff!important;border-radius:999px;height:12px;overflow:hidden}
.campro-payment-progress i{display:block;height:100%;background:linear-gradient(90deg,#168bff,#22c55e);border-radius:999px;transition:.25s}
.campro-payment-form{grid-template-columns:repeat(4,minmax(0,1fr))!important;border:1px solid #dbeafe;background:linear-gradient(135deg,#f8fbff,#fff);padding:18px;border-radius:22px;margin:16px 0 22px;box-shadow:0 14px 35px rgba(15,23,42,.05)}
.campro-payment-form label{margin:0!important}
.campro-payment-form .wide{grid-column:1/-1!important}
.campro-payment-form button{justify-self:start;min-width:150px}
.campro-payment-grid .campro-record h3{font-size:22px;color:#071427;font-weight:900}
.campro-payment-grid .campro-record small{display:block;margin-top:8px;color:#64748b;font-weight:800}
@media(max-width:1100px){.campro-payment-form{grid-template-columns:1fr 1fr!important}}
@media(max-width:782px){.campro-payment-form{grid-template-columns:1fr!important}}

/* CamPro v2.5.1 - Payment Ledger readonly summary on contract edit */
.campro-payment-readonly{
    grid-column:1/-1;
    border:1px solid #dbeafe;
    background:#f8fbff;
    border-radius:18px;
    padding:18px;
    margin:6px 0 12px;
}
.campro-payment-readonly .campro-table-title{margin-bottom:12px}
.campro-payment-readonly .campro-payment-summary{margin:0 0 10px}
.campro-payment-readonly .button{margin-top:8px}

/* CamPro v2.6.0 - Dashboard Analytics Pro */
.campro-dashboard-head{margin-bottom:22px!important}
.campro-dashboard-head .dashicons{background:linear-gradient(135deg,#2354e8,#168bff)!important;color:#fff!important}
.campro-analytics-cards{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.campro-analytics-stat{position:relative;overflow:hidden;min-height:165px!important}
.campro-analytics-stat:after{content:"";position:absolute;inset:auto -40px -55px auto;width:130px;height:130px;border-radius:50%;background:rgba(22,139,255,.08)}
.campro-analytics-stat.warning .stat-icon{background:linear-gradient(135deg,#f59e0b,#facc15)!important}
.campro-analytics-stat.danger .stat-icon{background:linear-gradient(135deg,#ef4444,#fb7185)!important}
.campro-analytics-stat.success .stat-icon{background:linear-gradient(135deg,#16a34a,#22c55e)!important}
.campro-finance-overview{margin:22px 0!important;background:linear-gradient(135deg,#f8fbff,#fff)!important}
.campro-collection-track{height:14px;border-radius:999px;background:#eaf2ff;overflow:hidden;margin-top:14px}
.campro-collection-track i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#168bff,#22c55e);box-shadow:0 8px 24px rgba(34,197,94,.22)}
.campro-analytics-charts{align-items:stretch;margin:22px 0!important}
.campro-chart-card{min-height:310px!important;display:flex;flex-direction:column;justify-content:space-between}
.campro-chart-card h2,.campro-analytics-list h2{margin:0 0 18px!important;font-size:22px!important;font-weight:900!important;color:#071427!important}
.campro-bars{height:210px;display:flex;gap:14px;align-items:flex-end;justify-content:space-around;padding-top:25px;border-bottom:1px solid #dbeafe}
.campro-bar-item{height:100%;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:8px;position:relative;min-width:0}
.campro-bar-item i{display:block;width:100%;max-width:38px;min-height:8px;border-radius:14px 14px 0 0;background:linear-gradient(180deg,#168bff,#2354e8);box-shadow:0 12px 25px rgba(22,119,255,.18);transition:.25s}
.campro-bar-item b{font-size:12px;color:#64748b;font-weight:900;white-space:nowrap}
.campro-bar-value{position:absolute;top:-22px;font-size:11px;font-weight:900;color:#071427;background:#f1f7ff;border:1px solid #dbeafe;border-radius:999px;padding:3px 7px;white-space:nowrap}
.campro-analytics-list{min-height:310px!important}
.campro-progress-row{padding:12px 0;border-bottom:1px dashed #dbeafe}
.campro-progress-row:last-child{border-bottom:0}
.campro-progress-row>div{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
.campro-progress-row b{font-size:14px;color:#071427;font-weight:900}
.campro-progress-row span{font-size:12px;color:#64748b;font-weight:900}
.campro-progress-row em{display:block;height:10px;border-radius:999px;background:#eaf2ff;overflow:hidden}
.campro-progress-row em i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#168bff,#22c55e)}
.campro-recent .button{border-radius:12px!important;font-weight:900!important}
@media(max-width:1300px){.campro-analytics-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}.campro-analytics-charts{grid-template-columns:1fr!important}}
@media(max-width:782px){.campro-analytics-cards{grid-template-columns:1fr!important}.campro-bars{gap:8px}.campro-bar-value{display:none}}


/* CamPro v2.7.0 Customer Portal */
.campro-portal{font-family:'Cairo',sans-serif;max-width:1180px;margin:25px auto;padding:0 16px;color:#e8f3ff}
.campro-portal a{text-decoration:none}
.campro-portal-hero{background:linear-gradient(135deg,#07111f,#102846);border:1px solid rgba(52,148,255,.25);border-radius:26px;padding:28px;box-shadow:0 22px 60px rgba(0,0,0,.25);margin-bottom:18px}
.campro-portal-hero img{width:92px;height:auto;display:block;margin-bottom:10px}
.campro-portal-hero h1{margin:0;color:#fff;font-size:30px}
.campro-portal-hero p{margin:6px 0 0;color:#b9d4ef}
.campro-portal-login{max-width:520px;margin:0 auto;background:#fff;color:#102033}
.campro-portal-login input{width:100%;padding:14px 16px;border-radius:14px;border:1px solid #d7e3f4;margin:12px 0;font-family:'Cairo',sans-serif}
.campro-portal-head{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#fff;border-radius:22px;padding:18px 22px;margin-bottom:16px;color:#102033;box-shadow:0 14px 36px rgba(15,23,42,.08)}
.campro-portal-head h2{margin:0}
.campro-portal-head p{margin:4px 0 0;color:#607089}
.campro-portal-cards{margin-bottom:18px}
.campro-portal .campro-card{border-radius:22px}
.campro-mini-meta{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.campro-mini-meta span{background:#eef6ff;color:#17324d;border-radius:999px;padding:6px 10px;font-size:12px}
.campro-portal-images{display:flex;gap:10px;margin-top:12px}
.campro-portal-images img{width:92px;height:70px;object-fit:cover;border-radius:14px;border:1px solid #d9e8fb}
.campro-portal-visit h3{margin-bottom:6px}
@media(max-width:760px){.campro-portal-head{display:block}.campro-portal-head .button{margin-top:12px}.campro-portal-hero h1{font-size:24px}}


/* CamPro v2.7.1 Customer Portal UI Pro - Frontend only */
.campro-customer-portal{
  --cp-dark:#061426;
  --cp-dark2:#020816;
  --cp-blue:#1677ff;
  --cp-text:#0f172a;
  --cp-muted:#475569;
  --cp-border:#dbeafe;
  --cp-soft:#f8fbff;
  color:var(--cp-text)!important;
  max-width:1180px!important;
}
.campro-customer-portal *{font-family:'Cairo',Arial,sans-serif;box-sizing:border-box}
.campro-customer-portal .campro-portal-hero-pro{
  display:grid!important;
  grid-template-columns:170px 210px minmax(280px,1fr) 170px!important;
  gap:18px!important;
  align-items:center!important;
  background:radial-gradient(circle at 10% 10%,rgba(22,119,255,.22),transparent 32%),linear-gradient(135deg,var(--cp-dark),var(--cp-dark2))!important;
  border:1px solid rgba(255,255,255,.08)!important;
  border-radius:0 0 28px 28px!important;
  padding:18px 24px!important;
  min-height:132px!important;
  box-shadow:0 22px 60px rgba(2,8,23,.28)!important;
  margin-bottom:22px!important;
}
.campro-customer-portal .campro-portal-logo{background:rgba(8,29,57,.72);border-radius:18px;padding:10px;display:flex;align-items:center;justify-content:center;min-height:100px}
.campro-customer-portal .campro-portal-logo img{width:130px!important;max-height:92px!important;object-fit:contain!important;margin:0!important;display:block!important}
.campro-customer-portal .campro-portal-datebox{text-align:center;color:#fff;font-weight:900;line-height:1.35}
.campro-customer-portal .campro-portal-datebox strong{display:block;color:#ffd85a;font-size:19px;text-shadow:0 0 12px rgba(255,216,90,.35)}
.campro-customer-portal .campro-portal-datebox span{display:block;color:#fff;font-size:15px}
.campro-customer-portal .campro-portal-datebox em{display:block;color:#ffd85a;font-style:normal;font-size:14px}
.campro-customer-portal .campro-portal-datebox small{display:flex;align-items:center;justify-content:center;gap:7px;color:#88f5d0;font-weight:800;margin-top:8px}
.campro-customer-portal .campro-portal-datebox i{width:9px;height:9px;background:#22c55e;border-radius:50%;box-shadow:0 0 12px #22c55e;display:inline-block}
.campro-customer-portal .campro-portal-search{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);border-radius:18px;min-height:72px;padding:14px 18px;color:#fff;display:grid;grid-template-columns:42px 1fr;align-items:center;column-gap:12px}
.campro-customer-portal .campro-portal-search .dashicons{grid-row:1/3;width:42px;height:42px;line-height:42px;text-align:center;font-size:30px;color:#fff}
.campro-customer-portal .campro-portal-search b{font-size:20px;color:#fff;font-weight:900;line-height:1.2}
.campro-customer-portal .campro-portal-search small{color:#cfe4ff;font-size:13px;font-weight:800;line-height:1.5}
.campro-customer-portal .campro-portal-support a,.campro-customer-portal .campro-portal-support span{display:flex;align-items:center;justify-content:center;gap:8px;min-height:54px;border-radius:16px;background:#142033;border:1px solid rgba(255,255,255,.11);color:#fff!important;font-weight:900;text-decoration:none!important;padding:10px 12px}
.campro-customer-portal .campro-portal-head,.campro-customer-portal .campro-card{background:#fff!important;color:var(--cp-text)!important;border:1px solid #e2e8f0!important;box-shadow:0 18px 44px rgba(15,23,42,.08)!important}
.campro-customer-portal .campro-portal-head h2,.campro-customer-portal h2,.campro-customer-portal h3{color:var(--cp-text)!important;font-weight:900!important;text-shadow:none!important}
.campro-customer-portal .campro-portal-head p,.campro-customer-portal p,.campro-customer-portal small,.campro-customer-portal .campro-empty{color:var(--cp-muted)!important;font-weight:800!important;text-shadow:none!important}
.campro-customer-portal .campro-card.stat small{color:#64748b!important}
.campro-customer-portal .campro-card.stat strong{color:#071427!important;text-shadow:none!important}
.campro-customer-portal .campro-record-card{background:linear-gradient(135deg,#ffffff,#f8fbff)!important;border:1px solid var(--cp-border)!important;color:var(--cp-text)!important;box-shadow:0 12px 34px rgba(15,23,42,.06)!important}
.campro-customer-portal .campro-record-card h3{color:#071427!important;font-weight:900!important;opacity:1!important}
.campro-customer-portal .campro-record-card p,.campro-customer-portal .campro-mini-meta span{color:#475569!important;font-weight:800!important;opacity:1!important;background:#eef6ff!important;border-radius:999px;padding:7px 10px;display:inline-block;margin:3px}
.campro-customer-portal .campro-record-card strong{color:#0f172a!important;font-weight:900!important}
.campro-customer-portal .campro-badge.success{background:#dcfce7!important;color:#15803d!important;border-color:#bbf7d0!important;font-weight:900!important}
.campro-customer-portal .campro-badge.warning{background:#fff7ed!important;color:#ea580c!important;border-color:#fed7aa!important;font-weight:900!important}
.campro-customer-portal .campro-badge.danger{background:#fee2e2!important;color:#dc2626!important;border-color:#fecaca!important;font-weight:900!important}
.campro-customer-portal .campro-table-title span{color:#1677ff!important;background:#eef6ff!important;border-radius:999px;padding:7px 12px;font-weight:900!important}
.campro-customer-portal .campro-portal-images img{border:1px solid #dbeafe!important;box-shadow:0 10px 22px rgba(15,23,42,.08)!important}
.campro-customer-portal .campro-portal-ticket-box{margin-bottom:18px!important;border:1px solid #bfdbfe!important;background:linear-gradient(135deg,#ffffff,#f4f9ff)!important}
.campro-customer-portal .campro-ticket-top{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px}
.campro-customer-portal .campro-ticket-top h2{margin:0!important}.campro-customer-portal .campro-ticket-top p{margin:4px 0 0!important}
.campro-customer-portal .campro-open-ticket-btn{border-radius:14px!important;padding:10px 18px!important;font-weight:900!important;box-shadow:0 14px 30px rgba(22,119,255,.18)!important}
.campro-customer-portal .campro-portal-ticket-form{background:#fff;border:1px dashed #bfdbfe;border-radius:18px;padding:16px;margin-top:10px}
.campro-customer-portal .campro-portal-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:14px}
.campro-customer-portal .campro-portal-form-grid label{display:block;color:#0f172a!important;font-weight:900!important}
.campro-customer-portal .campro-portal-form-grid label.wide{grid-column:1/-1}
.campro-customer-portal .campro-portal-form-grid input,.campro-customer-portal .campro-portal-form-grid select,.campro-customer-portal .campro-portal-form-grid textarea{width:100%;min-height:48px;border:1px solid #dbe7f5;border-radius:14px;padding:10px 13px;margin-top:7px;background:#fbfdff;color:#0f172a!important;font-weight:800!important}
.campro-customer-portal .campro-portal-form-grid textarea{min-height:90px;resize:vertical}
.campro-customer-portal .campro-portal-notice{border-radius:16px;padding:12px 16px;margin:0 0 16px;font-weight:900;border:1px solid #bbf7d0;background:#dcfce7;color:#15803d}
.campro-customer-portal .campro-portal-notice.error{border-color:#fecaca;background:#fee2e2;color:#dc2626}
@media(max-width:980px){.campro-customer-portal .campro-portal-hero-pro{grid-template-columns:1fr!important;text-align:center}.campro-customer-portal .campro-portal-search{grid-template-columns:1fr!important}.campro-customer-portal .campro-portal-search .dashicons{grid-row:auto;margin:auto}.campro-customer-portal .campro-portal-form-grid{grid-template-columns:1fr}.campro-customer-portal .campro-ticket-top{display:block}.campro-customer-portal .campro-open-ticket-btn{margin-top:12px!important;display:inline-block!important}}


/* CamPro v2.7.2 - Customer Portal visual fixes only */
.campro-customer-portal,
.campro-customer-portal *{box-sizing:border-box}
.campro-customer-portal .dashicons,
.campro-customer-portal .stat-icon.dashicons,
.campro-customer-portal [class*="dashicons-"]{
  font-family:dashicons!important;
  font-style:normal!important;
  font-weight:400!important;
  speak:never!important;
  text-transform:none!important;
  -webkit-font-smoothing:antialiased!important;
  -moz-osx-font-smoothing:grayscale!important;
}
.campro-customer-portal .campro-portal-search b,
.campro-customer-portal .campro-portal-search small,
.campro-customer-portal .campro-portal-support a,
.campro-customer-portal .campro-portal-support span,
.campro-customer-portal .campro-portal-datebox,
.campro-customer-portal .campro-portal-datebox *{opacity:1!important;visibility:visible!important;text-shadow:none!important}
.campro-customer-portal .campro-portal-search b{color:#ffffff!important}
.campro-customer-portal .campro-portal-search small{color:#dbeafe!important}
.campro-customer-portal .campro-portal-support a{background:#152338!important;color:#fff!important;border:1px solid rgba(255,255,255,.18)!important}
.campro-customer-portal .campro-portal-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;min-height:auto!important}
.campro-customer-portal .campro-portal-head h2{color:#071427!important;font-size:28px!important;line-height:1.3!important}
.campro-customer-portal .campro-portal-head p{color:#334155!important;font-size:15px!important}
.campro-customer-portal .campro-portal-cards.cards{
  display:grid!important;
  grid-template-columns:repeat(6,minmax(130px,1fr))!important;
  gap:16px!important;
  align-items:stretch!important;
  direction:rtl!important;
}
.campro-customer-portal .campro-card.stat{
  min-height:150px!important;
  padding:22px 14px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  border-radius:22px!important;
  background:#fff!important;
  border:1px solid #e2e8f0!important;
}
.campro-customer-portal .campro-card.stat .stat-icon{
  width:58px!important;height:58px!important;line-height:58px!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  border-radius:15px!important;background:linear-gradient(135deg,#2563eb,#168bff)!important;
  color:#fff!important;font-size:29px!important;margin:0 0 12px!important;
}
.campro-customer-portal .campro-card.stat small{font-family:'Cairo',sans-serif!important;color:#64748b!important;font-size:16px!important;font-weight:900!important;margin:0 0 6px!important}
.campro-customer-portal .campro-card.stat strong{font-family:'Cairo',sans-serif!important;color:#020617!important;font-size:32px!important;font-weight:900!important;line-height:1.15!important}
.campro-customer-portal .campro-card.stat:nth-child(5) strong{color:#16a34a!important}
.campro-customer-portal .campro-card.stat:nth-child(6) strong{color:#ea580c!important}
.campro-customer-portal .campro-record-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:16px!important;
  align-items:start!important;
}
.campro-customer-portal .campro-record-card{
  min-height:auto!important;
  padding:22px!important;
  border-radius:22px!important;
  display:block!important;
  text-align:right!important;
  direction:rtl!important;
  background:#fff!important;
  color:#0f172a!important;
  opacity:1!important;
}
.campro-customer-portal .campro-record-card h3{font-size:21px!important;line-height:1.35!important;margin:0 0 10px!important;color:#071427!important}
.campro-customer-portal .campro-record-card p{display:block!important;background:transparent!important;padding:0!important;margin:0 0 10px!important;color:#334155!important;font-size:15px!important}
.campro-customer-portal .campro-mini-meta{display:flex!important;flex-wrap:wrap!important;gap:8px!important;margin:10px 0!important;align-items:center!important;justify-content:flex-start!important}
.campro-customer-portal .campro-mini-meta span{margin:0!important;color:#334155!important;background:#eef6ff!important;border:1px solid #dbeafe!important;border-radius:999px!important;padding:7px 11px!important;font-size:13px!important}
.campro-customer-portal .campro-portal-contract-card .campro-mini-meta span:first-child{color:#2563eb!important;font-weight:900!important}
.campro-customer-portal .campro-portal-contract-card .campro-mini-meta span:nth-child(2){color:#16a34a!important;font-weight:900!important}
.campro-customer-portal .campro-portal-contract-card .campro-mini-meta span:nth-child(3){color:#ea580c!important;font-weight:900!important}
.campro-customer-portal .campro-table-title{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin-bottom:18px!important}
.campro-customer-portal .campro-table-title h2{margin:0!important;color:#071427!important;font-size:28px!important}
.campro-customer-portal .campro-table-title span{color:#1677ff!important;background:#eef6ff!important}
.campro-customer-portal .campro-portal-images{justify-content:flex-start!important;display:flex!important;flex-wrap:wrap!important;gap:10px!important;margin-top:12px!important}
.campro-customer-portal .campro-portal-images img{width:96px!important;height:72px!important;object-fit:cover!important;border-radius:13px!important}
.campro-customer-portal .campro-badge{display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:7px 12px!important;border-radius:999px!important;border:1px solid transparent!important;font-family:'Cairo',sans-serif!important;font-weight:900!important;opacity:1!important}
.campro-customer-portal .campro-ticket-top h2{color:#071427!important;font-size:28px!important}
.campro-customer-portal .campro-ticket-top p{color:#334155!important}
.campro-customer-portal .button.button-primary,
.campro-customer-portal button.button-primary{background:#1677ff!important;border-color:#1677ff!important;color:#fff!important;border-radius:14px!important;font-family:'Cairo',sans-serif!important;font-weight:900!important;text-shadow:none!important}
@media(max-width:1150px){.campro-customer-portal .campro-portal-cards.cards{grid-template-columns:repeat(3,minmax(130px,1fr))!important}}
@media(max-width:760px){.campro-customer-portal .campro-portal-cards.cards,.campro-customer-portal .campro-record-grid{grid-template-columns:1fr!important}.campro-customer-portal .campro-portal-head{display:block!important}.campro-customer-portal .campro-card.stat strong{font-size:28px!important}}


/* CamPro v3.1.0 - Customer Portal Device Health + remove top gap */
.campro-customer-portal.campro-portal{
  margin-top:0!important;
  padding-top:0!important;
}
body .entry-content > .campro-customer-portal:first-child,
body .wp-block-post-content > .campro-customer-portal:first-child{
  margin-top:0!important;
}
.campro-customer-portal .campro-portal-hero-pro{
  margin-top:0!important;
}
.campro-customer-portal .campro-device-health{
  background:linear-gradient(135deg,#ffffff,#f8fbff)!important;
  border:1px solid #dbeafe!important;
}
.campro-customer-portal .campro-device-health-grid{
  display:grid!important;
  grid-template-columns:repeat(7,minmax(110px,1fr))!important;
  gap:12px!important;
  margin:12px 0 18px!important;
}
.campro-customer-portal .campro-health-card{
  min-height:128px!important;
  border-radius:20px!important;
  border:1px solid #e2e8f0!important;
  background:#fff!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  padding:16px 10px!important;
  box-shadow:0 12px 30px rgba(15,23,42,.06)!important;
}
.campro-customer-portal .campro-health-card .dashicons{
  width:48px!important;
  height:48px!important;
  line-height:48px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:15px!important;
  color:#fff!important;
  font-size:25px!important;
  margin:0 0 10px!important;
  font-family:dashicons!important;
}
.campro-customer-portal .campro-health-card.blue .dashicons{background:linear-gradient(135deg,#2563eb,#168bff)!important}
.campro-customer-portal .campro-health-card.green .dashicons{background:linear-gradient(135deg,#16a34a,#22c55e)!important}
.campro-customer-portal .campro-health-card.orange .dashicons{background:linear-gradient(135deg,#f59e0b,#fb923c)!important}
.campro-customer-portal .campro-health-card.red .dashicons{background:linear-gradient(135deg,#dc2626,#f43f5e)!important}
.campro-customer-portal .campro-health-card small{
  color:#64748b!important;
  font-size:13px!important;
  font-weight:900!important;
  margin-bottom:5px!important;
}
.campro-customer-portal .campro-health-card strong{
  color:#071427!important;
  font-size:28px!important;
  font-weight:900!important;
  line-height:1!important;
}
.campro-customer-portal .campro-health-summary{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:14px!important;
  margin:12px 0 18px!important;
}
.campro-customer-portal .campro-health-summary > div{
  border:1px solid #dbeafe!important;
  background:#f8fbff!important;
  border-radius:18px!important;
  padding:16px!important;
  min-height:90px!important;
}
.campro-customer-portal .campro-health-summary b{
  display:block!important;
  color:#64748b!important;
  font-weight:900!important;
  margin-bottom:6px!important;
}
.campro-customer-portal .campro-health-summary strong{
  display:block!important;
  color:#071427!important;
  font-size:18px!important;
  font-weight:900!important;
}
.campro-customer-portal .campro-health-summary small{
  display:block!important;
  color:#475569!important;
  margin-top:5px!important;
  font-weight:800!important;
}
.campro-customer-portal .campro-device-health-list{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
}
.campro-customer-portal .campro-health-device{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  border:1px solid #dbeafe!important;
  background:#fff!important;
  border-radius:18px!important;
  padding:13px!important;
}
.campro-customer-portal .campro-health-device > .dashicons{
  width:46px!important;height:46px!important;line-height:46px!important;
  border-radius:14px!important;background:#eff6ff!important;color:#1677ff!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  font-size:24px!important;flex:0 0 46px!important;font-family:dashicons!important;
}
.campro-customer-portal .campro-health-device div{flex:1!important;min-width:0!important}
.campro-customer-portal .campro-health-device b{
  display:block!important;color:#071427!important;font-weight:900!important;font-size:15px!important;
  white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
}
.campro-customer-portal .campro-health-device small{
  display:block!important;color:#64748b!important;font-weight:800!important;font-size:12px!important;margin-top:4px!important;
}
.campro-customer-portal .campro-health-device em{
  font-style:normal!important;border-radius:999px!important;padding:6px 10px!important;font-size:12px!important;font-weight:900!important;
  flex:0 0 auto!important;background:#f1f5f9!important;color:#64748b!important;
}
.campro-customer-portal .campro-health-device em.green{background:#dcfce7!important;color:#15803d!important}
.campro-customer-portal .campro-health-device em.orange{background:#fff7ed!important;color:#ea580c!important}
.campro-customer-portal .campro-health-device em.red{background:#fee2e2!important;color:#dc2626!important}
@media(max-width:1150px){
  .campro-customer-portal .campro-device-health-grid{grid-template-columns:repeat(3,minmax(110px,1fr))!important}
}
@media(max-width:760px){
  .campro-customer-portal .campro-device-health-grid,
  .campro-customer-portal .campro-health-summary,
  .campro-customer-portal .campro-device-health-list{grid-template-columns:1fr!important}
}

/* CamPro v3.2.0 Sales & Installation Module */
.campro-sales-editor{border:1px solid #d8e6ff;background:#f8fbff;border-radius:22px;padding:18px;grid-column:1/-1;overflow-x:auto}
.campro-sale-head,.campro-sale-row{display:grid;grid-template-columns:1.4fr .8fr 1.1fr 1fr 1fr .65fr .8fr .75fr .85fr .7fr;gap:8px;align-items:center;min-width:1100px}
.campro-sale-head{font-weight:800;color:#475569;margin-bottom:10px;font-size:13px;text-align:center}
.campro-sale-row{background:#fff;border:1px solid #e4eefb;border-radius:16px;padding:10px;margin-bottom:10px;box-shadow:0 8px 18px rgba(15,23,42,.04)}
.campro-sale-row input,.campro-sale-row select{width:100%;min-height:42px;border-radius:12px;border:1px solid #dbe7f5;background:#fff;text-align:center;font-weight:700}
.campro-sale-total{background:#eff6ff;color:#1769ff;border-radius:12px;padding:11px 8px;text-align:center;display:block}
.campro-generate-devices{display:flex;gap:10px;align-items:center;background:#ecfdf5;border:1px solid #bbf7d0;border-radius:16px;padding:12px 14px;margin-top:14px;font-weight:800;color:#166534}
.campro-generate-devices input{width:18px;height:18px}
.campro-field-items_json{grid-column:1/-1}.campro-field-items_json>span{font-size:18px;font-weight:900;color:#0f172a;margin-bottom:10px}
.campro-status-success{color:#16a34a!important}.campro-status-warning{color:#ea580c!important}.campro-status-danger{color:#dc2626!important}
@media(max-width:900px){.campro-sales-editor{padding:12px}.campro-sale-head{display:none}.campro-sale-row{grid-template-columns:1fr;min-width:0}.campro-sale-row input,.campro-sale-row select{text-align:right}}

/* v3.2.1 Sales invoice / quotation financial summary */
.campro-sale-summary-box{margin-top:18px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;direction:rtl}
.campro-sale-summary-box>div{background:#f8fbff;border:1px solid #dbe7f5;border-radius:16px;padding:14px;text-align:right}
.campro-sale-summary-box span{display:block;color:#64748b;font-weight:800;margin-bottom:6px}
.campro-sale-summary-box b{font-size:20px;color:#0f172a;font-weight:900}
.campro-sale-summary-box .grand{background:#eef6ff;border-color:#2478ff;box-shadow:0 8px 20px rgba(36,120,255,.10)}
.campro-sale-summary-box .grand b{color:#1769ff;font-size:26px}
@media(max-width:900px){.campro-sale-summary-box{grid-template-columns:1fr}}

/* CamPro v3.3.0 - Quotation Approval Portal */
.campro-quotation-approval{border:1px solid #bfdbfe;background:linear-gradient(180deg,#ffffff,#f8fbff);}
.campro-quote-card{border-color:#93c5fd!important;box-shadow:0 18px 45px rgba(37,99,235,.10)!important;}
.campro-quote-card>strong{display:block;font-size:26px;color:#1769ff;margin:10px 0;font-weight:900;}
.campro-quote-approval-form{margin-top:14px;border-top:1px dashed #dbe7f5;padding-top:14px;}
.campro-quote-approval-form textarea{width:100%;min-height:72px;margin:10px 0;border:1px solid #dbe7f5;border-radius:14px;padding:10px;font-family:Cairo,Arial,sans-serif;}
.campro-quote-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;}
.campro-portal-notice{padding:14px 18px;border-radius:16px;margin:14px 0;font-weight:800;}
.campro-portal-notice.success{background:#dcfce7;color:#166534;border:1px solid #86efac;}
.campro-portal-notice.error{background:#fee2e2;color:#991b1b;border:1px solid #fecaca;}
.campro-customer-portal .campro-record-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px;}
.campro-customer-portal .campro-record-actions a{background:#eef6ff;border:1px solid #dbeafe;color:#1769ff;border-radius:10px;padding:8px 12px;font-weight:800;text-decoration:none;}
.campro-customer-portal .campro-record-actions a:hover{background:#1769ff;color:#fff;}


/* CamPro AI Site Designer Professional */
.campro-site-map-pro{position:relative;max-width:760px;margin:18px auto;border-radius:22px;overflow:hidden;border:1px solid #dbeafe;background:#f8fbff;box-shadow:0 16px 40px rgba(15,23,42,.10)}
.campro-site-map-pro img{display:block;width:100%;height:auto;min-height:260px;object-fit:cover}
.campro-cam-point{position:absolute;transform:translate(-50%,-50%);width:44px;height:44px;border-radius:999px;background:#1463ff;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:900;box-shadow:0 8px 24px rgba(20,99,255,.35);border:3px solid #fff;z-index:3}
.campro-cam-point b{position:relative;z-index:4;font-size:13px}.campro-cam-point i{position:absolute;right:-26px;top:50%;width:74px;height:74px;margin-top:-37px;border-radius:0 80px 80px 0;background:rgba(20,99,255,.16);clip-path:polygon(0 50%,100% 0,100% 100%);transform-origin:left center;z-index:1}
.campro-camera-legend{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:12px 0}.campro-camera-legend strong{width:100%;text-align:center}.campro-camera-legend span{background:#eef6ff;color:#0f3b78;border:1px solid #dbeafe;border-radius:999px;padding:6px 10px;font-weight:700;font-size:12px}

/* CamPro v3.7.0 Smart Quote Generator */
.campro-site-map-v370 .campro-cam-point{width:50px;height:50px;flex-direction:column;gap:0;font-size:12px;line-height:1;background:#1463ff}
.campro-site-map-v370 .campro-cam-point em{position:absolute;top:48px;right:50%;transform:translateX(50%);font-style:normal;background:#fff;color:#0f172a;border:1px solid #dbeafe;border-radius:999px;padding:3px 8px;font-size:10px;font-weight:900;white-space:nowrap;box-shadow:0 6px 16px rgba(15,23,42,.12)}
.campro-site-map-v370 .campro-cam-point i{width:84px;height:84px;margin-top:-42px;background:rgba(20,99,255,.15)}
.campro-site-map-v370 .campro-cam-bullet{background:#1769ff}.campro-site-map-v370 .campro-cam-bullet i{background:rgba(23,105,255,.18)}
.campro-site-map-v370 .campro-cam-dome{background:#16a34a}.campro-site-map-v370 .campro-cam-dome i{background:rgba(22,163,74,.18)}
.campro-site-map-v370 .campro-cam-ptz{background:#f59e0b}.campro-site-map-v370 .campro-cam-ptz i{background:rgba(245,158,11,.20)}
.campro-ai-site-summary{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:center;margin:16px auto 10px;max-width:900px}
.campro-ai-site-summary div{width:100%;text-align:center;font-weight:900;color:#0f172a}
.campro-ai-site-summary .campro-pill{border-radius:999px;padding:8px 12px;font-size:12px;font-weight:900;border:1px solid #dbeafe;background:#eef6ff;color:#0f3b78}
.campro-ai-site-summary .bullet{background:#eff6ff;color:#1769ff}.campro-ai-site-summary .dome{background:#ecfdf5;color:#15803d}.campro-ai-site-summary .ptz{background:#fffbeb;color:#b45309}.campro-ai-site-summary .nvr,.campro-ai-site-summary .hdd{background:#f8fafc;color:#334155}


/* CamPro v3.8.0 Interactive Site Planner */
.campro-planner-toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;background:linear-gradient(135deg,#08142d,#123c88);border:1px solid rgba(59,130,246,.35);color:#fff;border-radius:18px;padding:14px 16px;margin:12px 0 14px;box-shadow:0 14px 30px rgba(15,23,42,.18)}
.campro-planner-toolbar strong{font-weight:900;margin-left:8px}
.campro-planner-toolbar .button{border-radius:12px!important;font-family:Cairo,Arial,sans-serif!important;font-weight:800!important}
.campro-planner-toolbar select{border-radius:12px;min-width:150px;height:36px;font-family:Cairo,Arial,sans-serif}
.campro-planner-toolbar .campro-help{color:#dbeafe;font-size:12px}
.campro-site-map-v380{position:relative;overflow:hidden;user-select:none;touch-action:none}
.campro-site-map-v380 img{pointer-events:none}
.campro-site-map-v380 .campro-cam-point{cursor:grab;z-index:5;transition:transform .12s ease, box-shadow .12s ease}
.campro-site-map-v380 .campro-cam-point:active{cursor:grabbing}
.campro-site-map-v380 .campro-cam-point.is-selected{transform:translate(-50%,-50%) scale(1.18);box-shadow:0 0 0 5px rgba(255,255,255,.95),0 0 0 9px rgba(37,99,235,.35),0 15px 30px rgba(15,23,42,.28)}
.campro-site-map-v380 .campro-cam-point em{pointer-events:none}
.campro-site-map-v380 .campro-cam-point b{pointer-events:none}
.campro-site-map-v380 .campro-cam-point i{pointer-events:none}
.campro-ai-quote-form{display:flex;flex-wrap:wrap;gap:10px;align-items:center}

/* CamPro v3.9.0 Interactive Coverage Designer */
.campro-planner-layout-v390{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:18px;align-items:start;direction:rtl}
.campro-planner-panel-v390{background:#fff;border:1px solid #dbeafe;border-radius:22px;padding:16px;box-shadow:0 18px 45px rgba(15,23,42,.10);position:sticky;top:20px}
.campro-planner-panel-v390 h3{margin:0 0 8px;font-size:20px;font-weight:900;color:#071427}
.campro-planner-panel-v390 label{display:block;margin:12px 0;font-weight:900;color:#334155}
.campro-planner-panel-v390 select,.campro-planner-panel-v390 input[type=range]{width:100%;margin-top:6px}
.campro-panel-stock{display:grid;gap:6px;background:#f8fbff;border:1px dashed #bfdbfe;border-radius:16px;padding:10px;color:#334155;font-size:12px;font-weight:800}
.campro-panel-stock b{color:#0f172a}.campro-panel-stock span{display:block}
.campro-site-map-v390 .campro-cam-point{--cam-rot:0deg;--cam-range:90px}
.campro-site-map-v390 .campro-cam-point i{width:var(--cam-range);height:var(--cam-range);transform:translate(50%,-50%) rotate(var(--cam-rot));transform-origin:center;clip-path:polygon(50% 50%,0 0,100% 0);opacity:.75}
.campro-site-map-v390 .campro-cam-point u{position:absolute;right:50%;top:50%;width:8px;height:26px;border-radius:999px;background:#fff;border:2px solid rgba(37,99,235,.8);transform:translate(50%,-110%) rotate(var(--cam-rot));transform-origin:50% 120%;box-shadow:0 4px 12px rgba(15,23,42,.22)}
.campro-site-map-v390 .campro-cam-point.is-selected u{background:#fef3c7;border-color:#f59e0b}
.campro-coverage-meter{margin-top:14px;background:linear-gradient(135deg,#eff6ff,#f8fafc);border:1px solid #dbeafe;border-radius:18px;padding:12px;display:grid;gap:5px}
.campro-coverage-meter strong{color:#0f172a}.campro-coverage-meter span{font-size:18px;font-weight:900;color:#1463ff}.campro-coverage-meter small{color:#64748b;font-weight:700}
.campro-pill.coverage{background:#dcfce7!important;color:#166534!important;border-color:#bbf7d0!important}.campro-pill.blind{background:#fff7ed!important;color:#c2410c!important;border-color:#fed7aa!important}.campro-pill.inventory{background:#eef2ff!important;color:#3730a3!important;border-color:#c7d2fe!important}.campro-pill.price{background:#f0fdf4!important;color:#15803d!important;border-color:#bbf7d0!important}
@media(max-width:1100px){.campro-planner-layout-v390{grid-template-columns:1fr}.campro-planner-panel-v390{position:relative;top:auto}}

/* CamPro v4.0 Phase 1 Professional Coverage Designer */
.campro-coverage-pro-v400{margin-top:12px;background:#f8fbff;border:1px solid #dbeafe;border-radius:26px;overflow:hidden;box-shadow:0 24px 70px rgba(15,23,42,.10);direction:rtl}
.campro-coverage-topbar{display:flex;align-items:center;gap:10px;padding:14px 16px;background:linear-gradient(135deg,#061226,#0b1f45);color:#fff;position:sticky;top:32px;z-index:20;flex-wrap:wrap}
.campro-cp-brand{display:flex;align-items:center;gap:10px;margin-left:auto}.campro-cp-logo{width:34px;height:34px;border-radius:12px;background:#1463ff;display:grid;place-items:center;box-shadow:0 0 22px rgba(20,99,255,.45)}.campro-cp-brand strong{display:block;font-size:19px}.campro-cp-brand em{font-size:12px;background:#1e293b;border:1px solid rgba(255,255,255,.22);border-radius:999px;padding:2px 7px;font-style:normal}.campro-cp-brand small{display:block;color:#cbd5e1;font-weight:700}.campro-coverage-topbar .button{border-radius:10px;border-color:rgba(255,255,255,.18);background:#0f1d36;color:#fff;font-weight:900}.campro-coverage-topbar .button-primary,.campro-v400-quote-top{background:#1463ff!important;border-color:#1463ff!important;color:#fff!important}.campro-coverage-topbar select{background:#fff;border-radius:10px;padding:5px 10px;font-weight:900}.campro-cp-stat{min-width:88px;text-align:center;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);border-radius:12px;padding:7px 12px}.campro-cp-stat b{display:block;font-size:20px;color:#22c55e;line-height:1}.campro-cp-stat.warn b{color:#f59e0b}.campro-cp-stat small{font-size:11px;color:#cbd5e1;font-weight:800}
.campro-coverage-grid-v400{display:grid;grid-template-columns:310px minmax(520px,1fr) 320px;gap:0;background:#fff;direction:ltr}.campro-coverage-grid-v400>*{direction:rtl}.campro-inventory-sidebar-v400{border-left:1px solid #e5eefb;padding:16px;background:#fff;max-height:780px;overflow:auto}.campro-inventory-sidebar-v400 h3,.campro-selected-panel-v400 h3{margin:0 0 14px;font-size:21px;font-weight:950;color:#071427}.campro-inventory-search-row{display:grid;grid-template-columns:1fr 44px;gap:8px;margin-bottom:12px}.campro-inventory-search-row input{border:1px solid #dbe5f5;border-radius:12px;padding:10px 12px;width:100%}.campro-inventory-tabs-v400{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-bottom:12px}.campro-inventory-tabs-v400 button{border:1px solid #dbe5f5;background:#f8fbff;border-radius:10px;padding:9px 5px;font-weight:900;cursor:pointer}.campro-inventory-tabs-v400 button.is-active{background:#eaf2ff;color:#1463ff;border-color:#bfdbfe}.campro-inv-group-v400 h4{display:flex;justify-content:space-between;align-items:center;margin:14px 0 8px;font-size:15px;font-weight:950;color:#0f172a}.campro-inv-group-v400 h4 span{background:#eef2ff;border-radius:999px;padding:2px 9px;color:#334155}.campro-inv-card-v400{width:100%;display:grid;grid-template-columns:58px 1fr;gap:10px;align-items:center;text-align:right;background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:9px;margin:8px 0;cursor:pointer;transition:.18s;box-shadow:0 8px 18px rgba(15,23,42,.04)}.campro-inv-card-v400:hover,.campro-inv-card-v400.is-selected{border-color:#1463ff;box-shadow:0 12px 28px rgba(20,99,255,.12);transform:translateY(-1px)}.campro-inv-thumb{width:52px;height:52px;border-radius:14px;background:linear-gradient(135deg,#f8fafc,#eaf2ff);display:grid;place-items:center;font-size:25px}.campro-inv-card-v400 b{display:block;color:#0f172a;font-size:13px}.campro-inv-card-v400 small{display:block;color:#64748b;font-weight:800}.campro-inv-card-v400 small i{display:inline-block;width:8px;height:8px;border-radius:50%;background:#16a34a;margin-left:5px}.campro-inv-card-v400 strong{display:block;color:#0f172a;margin-top:3px}.campro-empty.mini{font-size:12px;color:#94a3b8;text-align:center;background:#f8fafc;border-radius:12px;padding:8px}
.campro-plan-stage-v400{padding:16px;background:#f8fbff;min-width:0}.campro-stage-tools-v400{display:flex;gap:8px;align-items:center;margin-bottom:12px;flex-wrap:wrap}.campro-stage-tools-v400 .button{border-radius:10px;font-weight:900}.campro-zoom-fake{margin-right:auto;background:#fff;border:1px solid #dbe5f5;border-radius:10px;padding:7px 12px;font-weight:900;color:#334155}.campro-site-map-v400{background:#fff;border:1px solid #dbe5f5;border-radius:16px;overflow:hidden;box-shadow:0 16px 40px rgba(15,23,42,.08);max-width:none!important}.campro-site-map-v400 img{width:100%;display:block}.campro-site-map-v400 .campro-cam-point{box-shadow:0 10px 24px rgba(37,99,235,.30)}.campro-site-map-v400 .campro-cam-point em{font-size:10px;background:#1463ff;color:#fff;border-radius:999px;padding:2px 6px;top:-22px}.campro-site-map-v400 .campro-cam-ptz i{clip-path:circle(50% at 50% 50%)!important;border:2px dashed rgba(37,99,235,.70);background:radial-gradient(circle,rgba(37,99,235,.26),rgba(37,99,235,.08) 58%,rgba(37,99,235,.02));animation:camproPtzPulse 2.4s linear infinite}.campro-site-map-v400 .campro-cam-ptz i:after{content:'360°';position:absolute;right:50%;top:-18px;transform:translateX(50%);font-weight:950;color:#1463ff;font-size:13px}.campro-site-map-v400 .campro-cam-ptz u{animation:camproPtzSweep 2.8s linear infinite;transform-origin:50% 100%}.campro-site-map-v400 .campro-cam-bullet i,.campro-site-map-v400 .campro-cam-dome i{background:linear-gradient(90deg,rgba(37,99,235,.25),rgba(37,99,235,.05))}
@keyframes camproPtzPulse{0%{box-shadow:0 0 0 0 rgba(37,99,235,.25)}70%{box-shadow:0 0 0 18px rgba(37,99,235,0)}100%{box-shadow:0 0 0 0 rgba(37,99,235,0)}}@keyframes camproPtzSweep{from{transform:translateX(50%) rotate(0deg)}to{transform:translateX(50%) rotate(360deg)}}
.campro-selected-panel-v400{border-right:1px solid #e5eefb;border-left:0;box-shadow:none;border-radius:0;max-height:780px;overflow:auto;position:relative;top:auto}.campro-selected-camera-card{display:grid;grid-template-columns:64px 1fr;gap:10px;align-items:center;border:1px solid #bfdbfe;border-radius:14px;padding:10px;background:#fff;margin-bottom:14px}.campro-selected-thumb{width:56px;height:56px;border-radius:14px;background:#f8fafc;display:grid;place-items:center;font-size:25px}.campro-selected-type{display:inline-block;background:#1463ff;color:#fff;border-radius:999px;padding:2px 8px;font-weight:900}.campro-selected-name{display:block;margin-top:5px;color:#0f172a}.campro-selected-price{display:block;color:#0f172a;font-weight:900;margin-top:3px}.campro-panel-tabs{display:grid;grid-template-columns:1fr 1fr;margin:12px -16px 10px}.campro-panel-tabs button{border:0;border-top:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0;background:#f8fbff;padding:10px;font-weight:900;color:#64748b}.campro-panel-tabs .active{background:#eaf2ff;color:#1463ff}.campro-danger-wide{width:100%;border-color:#fecaca!important;color:#dc2626!important;background:#fff!important;border-radius:12px!important;padding:10px!important;margin-top:12px!important}.campro-bottom-summary-v400{display:grid;grid-template-columns:1.2fr 1.4fr 280px;gap:12px;padding:14px 16px;background:#fff;border-top:1px solid #e5eefb}.campro-bottom-summary-v400>div{background:#fff;border:1px solid #e5eefb;border-radius:16px;padding:12px;box-shadow:0 8px 22px rgba(15,23,42,.04)}.campro-extra-devices-v400{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.campro-extra-devices-v400 strong{width:100%;color:#0f172a}.campro-extra-devices-v400 span{background:#f8fbff;border:1px solid #e5eefb;border-radius:999px;padding:6px 10px;font-weight:850}.campro-quote-total-v400{text-align:center}.campro-quote-total-v400 small{display:block;color:#64748b;font-weight:900}.campro-quote-total-v400 b{display:block;font-size:24px;color:#16a34a;margin:5px}.campro-quote-total-v400 a{font-weight:900;text-decoration:none}.campro-pill.total{background:#eef2ff!important;color:#3730a3!important;border-color:#c7d2fe!important}
@media(max-width:1280px){.campro-coverage-grid-v400{grid-template-columns:260px minmax(420px,1fr)}.campro-selected-panel-v400{grid-column:1/-1;border-top:1px solid #e5eefb}.campro-bottom-summary-v400{grid-template-columns:1fr}}@media(max-width:900px){.campro-coverage-topbar{position:relative;top:auto}.campro-coverage-grid-v400{grid-template-columns:1fr}.campro-inventory-sidebar-v400{max-height:none}.campro-bottom-summary-v400{grid-template-columns:1fr}.campro-stage-tools-v400{justify-content:center}.campro-zoom-fake{margin-right:0}}


/* CamPro v4.1 Coverage Engine Fix + PTZ 360 Sweep
   - Bullet/Dome coverage starts from the camera point, not around it.
   - PTZ displays a 360 patrol radar sweep with the camera centered as the rotation pivot.
*/
.campro-coverage-pro-v400[data-campro-v="4.1.0"] .campro-coverage-topbar{
  min-height:68px; padding:12px 16px; align-items:center;
}
.campro-site-map-v400 .campro-cam-point{
  overflow:visible;
  isolation:isolate;
}
/* Directional cameras: cone begins at camera center and extends forward */
.campro-site-map-v400 .campro-cam-bullet i,
.campro-site-map-v400 .campro-cam-dome i,
.campro-site-map-v400 .campro-cam-camera i{
  right:auto!important;
  left:50%!important;
  top:50%!important;
  margin:0!important;
  width:var(--cam-range)!important;
  height:calc(var(--cam-range) * .78)!important;
  border-radius:0 999px 999px 0!important;
  transform:translate(0,-50%) rotate(var(--cam-rot))!important;
  transform-origin:0 50%!important;
  clip-path:polygon(0 50%,100% 7%,100% 93%)!important;
  background:linear-gradient(90deg,rgba(37,99,235,.34),rgba(37,99,235,.16) 48%,rgba(37,99,235,.03))!important;
  border-left:2px solid rgba(37,99,235,.55);
  z-index:0;
}
.campro-site-map-v400 .campro-cam-dome i{
  height:var(--cam-range)!important;
  border-radius:0 999px 999px 0!important;
  clip-path:polygon(0 50%,100% 0,100% 100%)!important;
  background:radial-gradient(circle at 0 50%,rgba(37,99,235,.30),rgba(37,99,235,.12) 52%,rgba(37,99,235,.03) 100%)!important;
}
/* camera body/direction needle anchored at the same point */
.campro-site-map-v400 .campro-cam-bullet u,
.campro-site-map-v400 .campro-cam-dome u,
.campro-site-map-v400 .campro-cam-camera u{
  right:auto!important;
  left:50%!important;
  top:50%!important;
  transform:translate(-50%,-115%) rotate(var(--cam-rot))!important;
  transform-origin:50% 115%!important;
  z-index:4;
}
/* PTZ: camera is the pivot, coverage is a 360 patrol ring with animated sweep */
.campro-site-map-v400 .campro-cam-ptz i{
  right:auto!important;
  left:50%!important;
  top:50%!important;
  margin:0!important;
  width:var(--cam-range)!important;
  height:var(--cam-range)!important;
  border-radius:50%!important;
  clip-path:circle(50% at 50% 50%)!important;
  transform:translate(-50%,-50%)!important;
  transform-origin:50% 50%!important;
  background:radial-gradient(circle,rgba(37,99,235,.24) 0%,rgba(37,99,235,.14) 42%,rgba(37,99,235,.045) 68%,rgba(37,99,235,.015) 100%)!important;
  border:2px dashed rgba(37,99,235,.75)!important;
  opacity:.88!important;
  animation:camproPtzPulse 2.6s ease-out infinite!important;
  z-index:0;
}
.campro-site-map-v400 .campro-cam-ptz i:before{
  content:'';
  position:absolute;
  inset:0;
  border-radius:50%;
  background:conic-gradient(from 0deg,rgba(37,99,235,.45) 0deg,rgba(37,99,235,.18) 38deg,rgba(37,99,235,.03) 72deg,transparent 100deg,transparent 360deg);
  animation:camproPtzRadarSweep 2.4s linear infinite;
  mix-blend-mode:multiply;
}
.campro-site-map-v400 .campro-cam-ptz i:after{
  content:'360°';
  position:absolute;
  right:50%;
  bottom:-24px;
  top:auto!important;
  transform:translateX(50%);
  font-weight:950;
  color:#1463ff;
  font-size:13px;
  text-shadow:0 2px 8px #fff;
}
.campro-site-map-v400 .campro-cam-ptz u{
  right:auto!important;
  left:50%!important;
  top:50%!important;
  width:9px!important;
  height:34px!important;
  background:#fff7ed!important;
  border-color:#f59e0b!important;
  transform:translate(-50%,-112%) rotate(var(--cam-rot))!important;
  transform-origin:50% 112%!important;
  animation:camproPtzNeedleSweep 2.4s linear infinite!important;
  z-index:5;
}
.campro-site-map-v400 .campro-cam-ptz:after{
  content:'';
  position:absolute;
  left:50%;
  top:50%;
  width:calc(var(--cam-range) * .22);
  height:calc(var(--cam-range) * .22);
  transform:translate(-50%,-50%);
  border-radius:50%;
  background:radial-gradient(circle,#fff 0,#dbeafe 45%,#1463ff 48%,#1463ff 100%);
  box-shadow:0 6px 18px rgba(20,99,255,.40);
  z-index:2;
  pointer-events:none;
}
@keyframes camproPtzRadarSweep{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}
@keyframes camproPtzNeedleSweep{from{transform:translate(-50%,-112%) rotate(0deg)}to{transform:translate(-50%,-112%) rotate(360deg)}}
/* compact labels so the drawing stays clean */
.campro-site-map-v400 .campro-cam-point em{
  max-width:82px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}


/* CamPro v4.4 Smart Workspace Pro
   Goal: keep the map big, move selected camera below collapsible inventory, and stop the top bar from hiding controls.
*/
.campro-coverage-pro-v400[data-campro-v="4.4.2"]{
  overflow:visible;
  border-radius:24px;
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-coverage-topbar{
  position:sticky;
  top:32px;
  z-index:60;
  min-height:58px;
  padding:10px 14px;
  gap:8px;
  border-radius:22px 22px 0 0;
  flex-wrap:wrap;
  box-shadow:0 18px 42px rgba(2,6,23,.24);
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-cp-brand{
  min-width:220px;
  margin-left:8px;
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-cp-brand strong{font-size:17px}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-cp-brand small{font-size:11px;line-height:1.2}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-cp-stat{
  min-width:78px;
  padding:6px 10px;
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-cp-stat b{font-size:18px}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-cp-stat small{font-size:10px}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-coverage-topbar .button,
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-coverage-topbar select{
  height:38px;
  padding:6px 12px;
  line-height:22px;
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-coverage-grid-v400{
  display:grid;
  grid-template-columns:330px minmax(740px,1fr);
  grid-template-rows:auto 1fr;
  grid-template-areas:
    "inventory stage"
    "selected  stage";
  gap:0;
  align-items:start;
  direction:ltr;
  min-height:760px;
  background:#f8fbff;
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-inventory-sidebar-v400{
  grid-area:inventory;
  border-left:1px solid #e5eefb;
  border-bottom:1px solid #e5eefb;
  max-height:430px;
  padding:14px;
  overflow:auto;
  background:#fff;
  transition:max-height .25s ease, opacity .2s ease;
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-inventory-sidebar-v400 h3{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  position:sticky;
  top:-14px;
  z-index:5;
  background:#fff;
  padding:8px 0 10px;
  margin:0 0 10px;
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-inventory-sidebar-v400 h3 span{
  font-size:18px;
  font-weight:950;
  color:#071427;
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-inventory-collapse-toggle{
  border-radius:999px!important;
  font-weight:900!important;
  font-size:12px!important;
  padding:4px 10px!important;
  min-height:30px!important;
  color:#1463ff!important;
  border-color:#bfdbfe!important;
  background:#eff6ff!important;
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"].campro-inventory-collapsed .campro-inventory-sidebar-v400{
  max-height:74px;
  overflow:hidden;
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"].campro-inventory-collapsed .campro-inventory-search-row,
.campro-coverage-pro-v400[data-campro-v="4.4.2"].campro-inventory-collapsed .campro-inventory-tabs-v400,
.campro-coverage-pro-v400[data-campro-v="4.4.2"].campro-inventory-collapsed .campro-inv-group-v400{
  opacity:0;
  pointer-events:none;
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-plan-stage-v400{
  grid-area:stage;
  padding:14px 16px 18px;
  min-width:0;
  background:linear-gradient(180deg,#f8fbff,#ffffff);
  border-left:1px solid #e5eefb;
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-stage-tools-v400{
  position:sticky;
  top:108px;
  z-index:40;
  background:rgba(248,251,255,.95);
  backdrop-filter:blur(8px);
  padding:8px;
  margin:-4px -6px 12px;
  border:1px solid #e5eefb;
  border-radius:16px;
  box-shadow:0 10px 28px rgba(15,23,42,.07);
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-site-map-v400{
  width:100%;
  min-height:680px;
  border-radius:18px;
  overflow:hidden;
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-site-map-v400 img{
  width:100%;
  min-height:680px;
  object-fit:contain;
  object-position:center top;
  background:#fff;
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-selected-panel-v400{
  grid-area:selected;
  border:0;
  border-left:1px solid #e5eefb;
  border-bottom:1px solid #e5eefb;
  border-radius:0;
  max-height:none;
  overflow:visible;
  padding:14px;
  background:#fff;
  box-shadow:none;
  position:sticky;
  top:112px;
  align-self:start;
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-selected-panel-v400 h3{
  font-size:18px;
  margin-bottom:10px;
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-selected-camera-card{
  grid-template-columns:54px 1fr;
  padding:9px;
  margin-bottom:10px;
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-selected-thumb{
  width:48px;height:48px;border-radius:14px;
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-panel-tabs{
  margin:8px -14px 8px;
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-planner-panel-v390 label{
  margin:8px 0;
  font-size:12px;
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-panel-stock,
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-coverage-meter{
  border-radius:14px;
  padding:9px;
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-danger-wide{
  margin-top:8px!important;
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-bottom-summary-v400{
  border-top:1px solid #e5eefb;
  display:grid;
  grid-template-columns:1fr 1.2fr 260px;
}
@media(max-width:1500px){
  .campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-coverage-grid-v400{
    grid-template-columns:300px minmax(640px,1fr);
  }
  .campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-site-map-v400,
  .campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-site-map-v400 img{min-height:600px}
}
@media(max-width:1100px){
  .campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-coverage-grid-v400{
    grid-template-columns:1fr;
    grid-template-areas:"inventory" "selected" "stage";
  }
  .campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-selected-panel-v400,
  .campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-stage-tools-v400{
    position:relative;top:auto;
  }
}


/* CamPro v4.4 Smart Workspace Pro refinements */
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-coverage-topbar{
  top:36px;
  align-items:center;
  overflow:visible;
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-coverage-grid-v400{
  grid-template-columns:330px minmax(860px,1fr);
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"].campro-inventory-collapsed .campro-inventory-sidebar-v400{
  max-height:62px;
  min-height:62px;
  padding:10px 14px;
  overflow:hidden;
  background:linear-gradient(135deg,#ffffff,#f8fbff);
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"].campro-inventory-collapsed .campro-inventory-sidebar-v400 h3{
  top:0;
  padding:0;
  margin:0;
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-inventory-collapse-toggle:before{
  content:'◀';
  display:inline-block;
  margin-left:6px;
  transition:transform .2s ease;
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"].campro-inventory-collapsed .campro-inventory-collapse-toggle:before{
  content:'▶';
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"].campro-inventory-collapsed .campro-selected-panel-v400{
  margin-top:0;
  border-top:1px solid #e5eefb;
  box-shadow:0 14px 34px rgba(15,23,42,.06);
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-selected-panel-v400{
  position:sticky;
  top:112px;
  align-self:start;
  max-height:calc(100vh - 150px);
  overflow:auto;
  background:#fff;
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-selected-camera-card{
  display:flex;
  gap:12px;
  align-items:center;
  padding:12px;
  border:1px solid #dbeafe;
  border-radius:16px;
  background:linear-gradient(135deg,#f8fbff,#ffffff);
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-selected-thumb{
  width:54px;height:54px;border-radius:16px;
  display:grid;place-items:center;
  background:#eff6ff;color:#1463ff;
  font-size:24px;font-weight:900;
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-selected-type{
  display:inline-flex;padding:3px 9px;border-radius:999px;background:#dbeafe;color:#1463ff;font-weight:900;
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-selected-name{display:block;font-size:15px;margin-top:4px;color:#071427;line-height:1.3}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-selected-price{display:block;color:#0f766e;font-weight:900;margin-top:4px}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-stage-tools-v400{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
  top:102px;
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-stage-tools-v400 .button{
  min-height:38px;
  border-radius:12px;
  font-weight:900;
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-site-map-v400{
  min-height:740px;
  box-shadow:0 20px 45px rgba(15,23,42,.08);
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-site-map-v400 img{
  min-height:740px;
}
@media (max-width:1280px){
  .campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-coverage-grid-v400{grid-template-columns:300px minmax(680px,1fr)}
}


/* CamPro v4.4 Smart Workspace Pro final layout polish
   - Inventory is closed by default but the selected camera stays visible under it.
   - Main plan stage gets priority width.
   - Toolbar becomes cleaner and less likely to be hidden.
*/
.campro-coverage-pro-v400[data-campro-v="4.4.2"]{
  --campro-left-col:300px;
  --campro-topbar-offset:32px;
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-coverage-topbar{
  top:var(--campro-topbar-offset);
  min-height:54px;
  padding:9px 12px;
  gap:7px;
  border-radius:22px 22px 0 0;
  overflow:visible!important;
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-cp-brand{
  min-width:190px;
  margin-left:6px;
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-cp-brand strong{font-size:16px!important}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-cp-brand small{font-size:10px!important}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-cp-stat{
  min-width:74px!important;
  padding:5px 8px!important;
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-coverage-grid-v400{
  grid-template-columns:var(--campro-left-col) minmax(900px,1fr)!important;
  grid-template-areas:"inventory stage" "selected stage"!important;
  background:#f6f9ff;
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-inventory-sidebar-v400{
  max-height:420px;
  border-left:1px solid #dbeafe;
  background:#fff;
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"].campro-inventory-collapsed .campro-inventory-sidebar-v400{
  max-height:58px!important;
  min-height:58px!important;
  padding:9px 12px!important;
  background:linear-gradient(135deg,#ffffff 0%,#eef6ff 100%);
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-inventory-sidebar-v400 h3{
  min-height:38px;
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"].campro-inventory-collapsed .campro-inventory-sidebar-v400 h3{
  min-height:38px;
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-inventory-sidebar-v400 h3 span{
  font-size:18px!important;
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-inventory-collapse-toggle{
  min-width:104px;
  box-shadow:0 8px 20px rgba(20,99,255,.10)!important;
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-selected-panel-v400{
  grid-area:selected!important;
  position:sticky!important;
  top:100px!important;
  max-height:calc(100vh - 125px)!important;
  overflow:auto!important;
  background:#fff!important;
  border-left:1px solid #dbeafe!important;
  border-top:1px solid #dbeafe!important;
  box-shadow:0 16px 40px rgba(15,23,42,.07)!important;
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-selected-panel-v400 h3{
  font-size:19px!important;
  margin-bottom:12px!important;
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-selected-camera-card{
  padding:14px!important;
  border-radius:18px!important;
  border-color:#bfdbfe!important;
  background:linear-gradient(135deg,#f8fbff,#ffffff)!important;
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-selected-thumb{
  width:62px!important;
  height:62px!important;
  border-radius:18px!important;
  font-size:28px!important;
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-selected-name{
  font-size:16px!important;
  font-weight:950!important;
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-plan-stage-v400{
  grid-area:stage!important;
  padding:12px 14px 18px!important;
  background:linear-gradient(180deg,#f8fbff,#fff)!important;
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-stage-tools-v400{
  top:94px!important;
  justify-content:flex-end!important;
  gap:7px!important;
  padding:8px!important;
  margin:0 0 12px!important;
  border-radius:18px!important;
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-stage-tools-v400 .button{
  min-height:36px!important;
  padding:6px 12px!important;
  border-radius:12px!important;
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-stage-tools-v400 .button-primary:before{content:'✥ ';}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-stage-tools-v400 .campro-planner-add:before{content:'＋ ';}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-stage-tools-v400 .campro-planner-delete:before{content:'🗑 ';font-size:12px;}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-site-map-v400{
  min-height:780px!important;
  border-radius:20px!important;
  box-shadow:0 22px 55px rgba(15,23,42,.09)!important;
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-site-map-v400 img{
  min-height:780px!important;
  object-fit:contain!important;
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-bottom-summary-v400{
  grid-template-columns:1fr 1.1fr 260px!important;
}
@media (min-width:1600px){
  .campro-coverage-pro-v400[data-campro-v="4.4.2"]{--campro-left-col:315px;}
  .campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-site-map-v400,
  .campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-site-map-v400 img{min-height:820px!important;}
}
@media (max-width:1350px){
  .campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-coverage-grid-v400{
    grid-template-columns:290px minmax(680px,1fr)!important;
  }
}
@media (max-width:1100px){
  .campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-coverage-grid-v400{
    grid-template-columns:1fr!important;
    grid-template-areas:"inventory" "selected" "stage"!important;
  }
  .campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-selected-panel-v400,
  .campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-stage-tools-v400{position:relative!important;top:auto!important;}
}


/* CamPro v4.4.2 Sticky Fix
   Real sticky selected-camera panel fix:
   1) .campro-wrap overflow:hidden was blocking sticky in Chrome.
   2) keep the selected card/header pinned inside the panel while its controls scroll.
*/
.campro-wrap:has(.campro-coverage-pro-v400[data-campro-v="4.4.2"]){
  overflow:visible!important;
}
.campro-main:has(.campro-coverage-pro-v400[data-campro-v="4.4.2"]){
  overflow:visible!important;
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"]{
  overflow:visible!important;
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-coverage-grid-v400{
  overflow:visible!important;
  align-items:start!important;
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-selected-panel-v400{
  position:sticky!important;
  top:118px!important;
  align-self:start!important;
  max-height:calc(100vh - 132px)!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  z-index:45!important;
  scrollbar-width:thin;
  isolation:isolate;
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-selected-panel-v400 h3{
  position:sticky!important;
  top:0!important;
  z-index:12!important;
  background:#fff!important;
  padding:10px 0 8px!important;
  margin:0 0 10px!important;
  border-bottom:1px solid #e5eefb!important;
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-selected-camera-card{
  position:sticky!important;
  top:48px!important;
  z-index:11!important;
  box-shadow:0 12px 30px rgba(15,23,42,.09)!important;
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-panel-tabs{
  position:sticky!important;
  top:135px!important;
  z-index:10!important;
  background:#fff!important;
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-selected-panel-v400:before{
  content:'مثبت';
  position:absolute;
  left:14px;
  top:14px;
  z-index:13;
  background:#dcfce7;
  color:#15803d;
  border:1px solid #bbf7d0;
  border-radius:999px;
  padding:2px 8px;
  font-size:11px;
  font-weight:900;
}
@media(max-width:1100px){
  .campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-selected-panel-v400,
  .campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-selected-panel-v400 h3,
  .campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-selected-camera-card,
  .campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-panel-tabs{
    position:relative!important;
    top:auto!important;
  }
}


/* CamPro v4.4.2 Sticky Header Fix
   Keep ONLY selected camera panel sticky. The main dark header must scroll normally
   so it does not cover the planner canvas or the floating stage toolbar.
*/
.campro-wrap:has(.campro-coverage-pro-v400[data-campro-v="4.4.2"]),
.campro-main:has(.campro-coverage-pro-v400[data-campro-v="4.4.2"]),
.campro-coverage-pro-v400[data-campro-v="4.4.2"],
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-coverage-grid-v400{
  overflow:visible!important;
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-coverage-topbar{
  position:relative!important;
  top:auto!important;
  z-index:20!important;
  box-shadow:0 12px 30px rgba(2,6,23,.16)!important;
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-stage-tools-v400{
  position:sticky!important;
  top:40px!important;
  z-index:55!important;
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-selected-panel-v400{
  position:sticky!important;
  top:40px!important;
  z-index:45!important;
  align-self:start!important;
  max-height:calc(100vh - 58px)!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-selected-panel-v400 h3{
  position:sticky!important;
  top:0!important;
  z-index:12!important;
  background:#fff!important;
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-selected-camera-card{
  position:sticky!important;
  top:48px!important;
  z-index:11!important;
}
.campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-panel-tabs{
  position:sticky!important;
  top:135px!important;
  z-index:10!important;
}
@media(max-width:1100px){
  .campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-stage-tools-v400,
  .campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-selected-panel-v400,
  .campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-selected-panel-v400 h3,
  .campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-selected-camera-card,
  .campro-coverage-pro-v400[data-campro-v="4.4.2"] .campro-panel-tabs{
    position:relative!important;
    top:auto!important;
  }
}


/* CamPro v4.4.3 Header Static Root Fix
   Root fix for the v4.4.2 overlap:
   - The dark main designer header is STATIC inside the section, never sticky/fixed.
   - Stage toolbar is also static inside the canvas row, so it cannot float over the right menu.
   - Only the selected camera panel is sticky.
   - The grid uses minmax(0,1fr) to prevent horizontal overflow behind the CamPro side menu.
*/
.campro-wrap:has(.campro-coverage-pro-v400[data-campro-v="4.5.0"]),
.campro-main:has(.campro-coverage-pro-v400[data-campro-v="4.5.0"]),
.campro-coverage-pro-v400[data-campro-v="4.5.0"]{
  overflow:visible!important;
}
.campro-coverage-pro-v400[data-campro-v="4.5.0"]{
  --campro-left-col:310px;
  border-radius:24px!important;
  isolation:isolate;
}
.campro-coverage-pro-v400[data-campro-v="4.5.0"] .campro-coverage-topbar{
  position:static!important;
  top:auto!important;
  left:auto!important;
  right:auto!important;
  transform:none!important;
  z-index:3!important;
  min-height:58px!important;
  padding:10px 12px!important;
  gap:8px!important;
  border-radius:22px 22px 0 0!important;
  overflow:visible!important;
  box-shadow:0 12px 30px rgba(2,6,23,.16)!important;
}
.campro-coverage-pro-v400[data-campro-v="4.5.0"] .campro-cp-brand{
  min-width:185px!important;
  margin-left:6px!important;
}
.campro-coverage-pro-v400[data-campro-v="4.5.0"] .campro-cp-brand strong{font-size:16px!important}
.campro-coverage-pro-v400[data-campro-v="4.5.0"] .campro-cp-brand small{font-size:10px!important;line-height:1.2!important}
.campro-coverage-pro-v400[data-campro-v="4.5.0"] .campro-cp-stat{
  min-width:74px!important;
  padding:5px 8px!important;
}
.campro-coverage-pro-v400[data-campro-v="4.5.0"] .campro-coverage-topbar .button,
.campro-coverage-pro-v400[data-campro-v="4.5.0"] .campro-coverage-topbar select{
  height:38px!important;
  line-height:22px!important;
  padding:6px 12px!important;
  border-radius:12px!important;
  white-space:nowrap!important;
}
.campro-coverage-pro-v400[data-campro-v="4.5.0"] .campro-coverage-grid-v400{
  display:grid!important;
  grid-template-columns:var(--campro-left-col) minmax(0,1fr)!important;
  grid-template-rows:auto 1fr!important;
  grid-template-areas:"inventory stage" "selected stage"!important;
  gap:0!important;
  align-items:start!important;
  overflow:visible!important;
  background:#f6f9ff!important;
  direction:ltr!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
}
.campro-coverage-pro-v400[data-campro-v="4.5.0"] .campro-inventory-sidebar-v400{
  grid-area:inventory!important;
  max-height:420px!important;
  overflow:auto!important;
  border-left:1px solid #dbeafe!important;
  border-bottom:1px solid #dbeafe!important;
  background:#fff!important;
  padding:14px!important;
}
.campro-coverage-pro-v400[data-campro-v="4.5.0"].campro-inventory-collapsed .campro-inventory-sidebar-v400{
  max-height:58px!important;
  min-height:58px!important;
  padding:9px 12px!important;
  overflow:hidden!important;
  background:linear-gradient(135deg,#ffffff 0%,#eef6ff 100%)!important;
}
.campro-coverage-pro-v400[data-campro-v="4.5.0"] .campro-inventory-sidebar-v400 h3{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px!important;
  min-height:38px!important;
  position:sticky!important;
  top:-14px!important;
  z-index:5!important;
  background:#fff!important;
  padding:8px 0 10px!important;
  margin:0 0 10px!important;
}
.campro-coverage-pro-v400[data-campro-v="4.5.0"].campro-inventory-collapsed .campro-inventory-sidebar-v400 h3{
  position:relative!important;
  top:auto!important;
  padding:0!important;
  margin:0!important;
  background:transparent!important;
}
.campro-coverage-pro-v400[data-campro-v="4.5.0"].campro-inventory-collapsed .campro-inventory-search-row,
.campro-coverage-pro-v400[data-campro-v="4.5.0"].campro-inventory-collapsed .campro-inventory-tabs-v400,
.campro-coverage-pro-v400[data-campro-v="4.5.0"].campro-inventory-collapsed .campro-inv-group-v400{
  display:none!important;
}
.campro-coverage-pro-v400[data-campro-v="4.5.0"] .campro-inventory-collapse-toggle{
  min-width:104px!important;
  border-radius:999px!important;
  color:#1463ff!important;
  border-color:#bfdbfe!important;
  background:#eff6ff!important;
  font-weight:900!important;
  box-shadow:0 8px 20px rgba(20,99,255,.10)!important;
}
.campro-coverage-pro-v400[data-campro-v="4.5.0"] .campro-inventory-collapse-toggle:before{
  content:'◀';display:inline-block;margin-left:6px;
}
.campro-coverage-pro-v400[data-campro-v="4.5.0"].campro-inventory-collapsed .campro-inventory-collapse-toggle:before{
  content:'▶';
}
.campro-coverage-pro-v400[data-campro-v="4.5.0"] .campro-selected-panel-v400{
  grid-area:selected!important;
  position:sticky!important;
  top:42px!important;
  z-index:30!important;
  align-self:start!important;
  max-height:calc(100vh - 60px)!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  background:#fff!important;
  border-left:1px solid #dbeafe!important;
  border-top:1px solid #dbeafe!important;
  border-bottom:1px solid #dbeafe!important;
  box-shadow:0 16px 40px rgba(15,23,42,.07)!important;
  padding:14px!important;
  isolation:isolate!important;
}
.campro-coverage-pro-v400[data-campro-v="4.5.0"] .campro-selected-panel-v400:before{
  content:'مثبت';
  position:absolute;left:14px;top:14px;z-index:13;
  background:#dcfce7;color:#15803d;border:1px solid #bbf7d0;
  border-radius:999px;padding:2px 8px;font-size:11px;font-weight:900;
}
.campro-coverage-pro-v400[data-campro-v="4.5.0"] .campro-selected-panel-v400 h3{
  position:sticky!important;
  top:0!important;
  z-index:12!important;
  background:#fff!important;
  padding:10px 0 8px!important;
  margin:0 0 10px!important;
  border-bottom:1px solid #e5eefb!important;
}
.campro-coverage-pro-v400[data-campro-v="4.5.0"] .campro-selected-camera-card{
  position:sticky!important;
  top:48px!important;
  z-index:11!important;
  display:flex!important;
  gap:12px!important;
  align-items:center!important;
  padding:14px!important;
  border:1px solid #bfdbfe!important;
  border-radius:18px!important;
  background:linear-gradient(135deg,#f8fbff,#ffffff)!important;
  box-shadow:0 12px 30px rgba(15,23,42,.09)!important;
}
.campro-coverage-pro-v400[data-campro-v="4.5.0"] .campro-panel-tabs{
  position:sticky!important;
  top:136px!important;
  z-index:10!important;
  background:#fff!important;
  margin:8px -14px 8px!important;
}
.campro-coverage-pro-v400[data-campro-v="4.5.0"] .campro-selected-thumb{
  width:62px!important;height:62px!important;border-radius:18px!important;
  display:grid!important;place-items:center!important;background:#eff6ff!important;color:#1463ff!important;
  font-size:28px!important;font-weight:900!important;
}
.campro-coverage-pro-v400[data-campro-v="4.5.0"] .campro-plan-stage-v400{
  grid-area:stage!important;
  min-width:0!important;
  width:100%!important;
  max-width:100%!important;
  overflow:hidden!important;
  padding:12px 14px 18px!important;
  background:linear-gradient(180deg,#f8fbff,#fff)!important;
  border-left:1px solid #e5eefb!important;
}
.campro-coverage-pro-v400[data-campro-v="4.5.0"] .campro-stage-tools-v400{
  position:static!important;
  top:auto!important;
  left:auto!important;
  right:auto!important;
  transform:none!important;
  z-index:2!important;
  display:flex!important;
  gap:8px!important;
  flex-wrap:wrap!important;
  justify-content:flex-end!important;
  padding:8px!important;
  margin:0 0 12px!important;
  border:1px solid #e5eefb!important;
  border-radius:18px!important;
  background:#f8fbff!important;
  box-shadow:0 8px 22px rgba(15,23,42,.06)!important;
}
.campro-coverage-pro-v400[data-campro-v="4.5.0"] .campro-stage-tools-v400 .button{
  min-height:36px!important;padding:6px 12px!important;border-radius:12px!important;font-weight:900!important;
}
.campro-coverage-pro-v400[data-campro-v="4.5.0"] .campro-site-map-v400{
  width:100%!important;
  max-width:100%!important;
  min-height:780px!important;
  border-radius:20px!important;
  overflow:hidden!important;
  box-shadow:0 22px 55px rgba(15,23,42,.09)!important;
}
.campro-coverage-pro-v400[data-campro-v="4.5.0"] .campro-site-map-v400 img{
  width:100%!important;
  min-height:780px!important;
  object-fit:contain!important;
  object-position:center top!important;
}
@media (max-width:1350px){
  .campro-coverage-pro-v400[data-campro-v="4.5.0"]{--campro-left-col:290px;}
}
@media (max-width:1100px){
  .campro-coverage-pro-v400[data-campro-v="4.5.0"] .campro-coverage-grid-v400{
    grid-template-columns:1fr!important;
    grid-template-areas:"inventory" "selected" "stage"!important;
  }
  .campro-coverage-pro-v400[data-campro-v="4.5.0"] .campro-selected-panel-v400,
  .campro-coverage-pro-v400[data-campro-v="4.5.0"] .campro-selected-panel-v400 h3,
  .campro-coverage-pro-v400[data-campro-v="4.5.0"] .campro-selected-camera-card,
  .campro-coverage-pro-v400[data-campro-v="4.5.0"] .campro-panel-tabs{
    position:relative!important;top:auto!important;
  }
}


/* CamPro v4.5 Smart Quote Pipeline */
.campro-ai-pipeline-box{grid-column:1/-1;display:grid;grid-template-columns:1fr 2fr;gap:14px;align-items:end;border:1px solid #bfdbfe;background:linear-gradient(135deg,#eff6ff,#fff);border-radius:18px;padding:14px 16px;margin:8px 0 12px;box-shadow:0 10px 28px rgba(29,111,255,.08)}
.campro-ai-pipeline-box h3{margin:0 0 5px;font-size:18px;font-weight:900;color:#071427}.campro-ai-pipeline-box p{margin:0;color:#64748b;font-weight:700}.campro-ai-pipeline-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.campro-ai-pipeline-grid label{display:block}.campro-ai-pipeline-grid select{width:100%;min-height:46px;border:1px solid #dbeafe;border-radius:12px;background:#fff;font-weight:800}.campro-ai-pipeline-grid small{display:block;margin-top:5px}.campro-ai-pipeline-summary{border:1px solid #bbf7d0;background:#f0fdf4;color:#14532d;border-radius:14px;padding:12px 14px;font-weight:800;margin-top:14px}.campro-ai-pipeline-summary strong{color:#166534}.campro-sale-pipeline-notice{border:1px solid #bfdbfe;background:#eff6ff;border-radius:16px;padding:14px 16px;margin:0 0 16px;font-weight:800;color:#0f172a}.campro-quote-details-modal{display:none;position:fixed;inset:0;background:rgba(15,23,42,.55);z-index:99999;padding:40px}.campro-quote-details-modal.is-open{display:grid;place-items:center}.campro-quote-details-box{width:min(880px,94vw);max-height:86vh;overflow:auto;background:#fff;border-radius:24px;padding:22px;box-shadow:0 30px 80px rgba(15,23,42,.3);direction:rtl}.campro-quote-details-box h2{margin-top:0}.campro-quote-details-box table{width:100%;border-collapse:collapse;margin:12px 0}.campro-quote-details-box th,.campro-quote-details-box td{border:1px solid #dbeafe;padding:10px;text-align:right}.campro-quote-details-box th{background:#eff6ff}.campro-quote-details-box .close{float:left}.campro-v400-show-details{cursor:pointer}
@media(max-width:900px){.campro-ai-pipeline-box{grid-template-columns:1fr}.campro-ai-pipeline-grid{grid-template-columns:1fr}}

/* CamPro v4.5.2 UI Polish + Contract Auto Flow */
.campro-head-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-start}
.campro-head-actions .button,
.campro-module-head .campro-head-actions .button{min-width:190px;min-height:48px;border-radius:14px!important;font-weight:900!important;display:inline-flex!important;align-items:center;justify-content:center;gap:8px;text-align:center;line-height:1.2;box-sizing:border-box;position:relative;overflow:hidden}
.campro-head-actions .button-primary{background:linear-gradient(135deg,#2563eb,#168bff)!important;color:#fff!important;border:0!important;box-shadow:0 12px 26px rgba(37,99,235,.22)!important}
.campro-ai-sales-button{background:linear-gradient(135deg,#4f46e5,#2563eb)!important;color:#fff!important;border:0!important;box-shadow:0 12px 26px rgba(79,70,229,.26)!important}
.campro-ai-sales-button .dashicons{width:22px!important;height:22px!important;line-height:22px!important;font-size:18px!important;background:rgba(255,255,255,.16)!important;color:#fff!important;border-radius:10px!important;display:inline-flex!important;align-items:center;justify-content:center;box-shadow:none!important;margin:0!important;position:static!important;transform:none!important}
.campro-ai-sales-button:before{content:'🤖';font-size:18px;line-height:1;margin-inline-end:2px}
.campro-ai-sales-button .dashicons{display:none!important}
.campro-sale-pipeline-notice{border:1px solid #bbf7d0;background:#f0fdf4;color:#166534;border-radius:16px;padding:14px 18px;margin:14px 0;font-weight:900;display:flex;align-items:center;gap:10px}
.campro-scope-notice{border-color:#bbf7d0!important;background:#f0fdf4!important;color:#166534!important;font-weight:900!important}
.campro-sale-summary-box .grand{background:#eff6ff!important;border-color:#2563eb!important}
.campro-quotation-workflow .campro-record-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}.campro-quotation-workflow .button{min-height:42px;border-radius:12px;font-weight:900;text-align:center}
@media(max-width:782px){.campro-head-actions .button,.campro-module-head .campro-head-actions .button{width:100%;min-width:0}.campro-head-actions{width:100%}}

/* CamPro v4.5.3 Back Scope + Button Layout Fix */
.campro-module-head > .campro-head-actions,
.campro-table-title > .campro-head-actions{
  display:flex!important;
  grid-template-columns:none!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:12px!important;
  flex-wrap:wrap!important;
  width:auto!important;
  min-width:0!important;
}
.campro-module-head > .campro-head-actions .button,
.campro-table-title > .campro-head-actions .button{
  position:relative!important;
  inset:auto!important;
  transform:none!important;
  margin:0!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  min-width:210px!important;
  max-width:260px!important;
  padding:0 18px!important;
}
.campro-module-head > .campro-head-actions .campro-ai-sales-button,
.campro-table-title > .campro-head-actions .campro-ai-sales-button{
  order:1!important;
}
.campro-module-head > .campro-head-actions .button-primary,
.campro-table-title > .campro-head-actions .button-primary{
  order:2!important;
}
.campro-module-head > .campro-head-actions .campro-ai-sales-button:before,
.campro-table-title > .campro-head-actions .campro-ai-sales-button:before{
  flex:0 0 auto!important;
}
@media(max-width:900px){
  .campro-module-head > .campro-head-actions,
  .campro-table-title > .campro-head-actions{width:100%!important;display:grid!important;grid-template-columns:1fr!important}
  .campro-module-head > .campro-head-actions .button,
  .campro-table-title > .campro-head-actions .button{max-width:none!important;width:100%!important;min-width:0!important}
}
/* CamPro v4.6 Smart Contracts */
.campro-smart-contract-link{margin-top:14px;padding:14px 16px;border:1px solid #bfdbfe;background:linear-gradient(135deg,#eff6ff,#f8fbff);border-radius:18px;display:flex;gap:12px;align-items:center;justify-content:flex-start;flex-wrap:wrap;box-shadow:0 10px 28px rgba(37,99,235,.08)}
.campro-smart-contract-link .dashicons{width:34px;height:34px;line-height:34px;border-radius:12px;background:#1d6fff;color:#fff;text-align:center}
.campro-smart-contract-link b{font-weight:900;color:#0f172a;margin-inline-end:auto}
.campro-contract-terms{margin:0;padding:0 22px;line-height:2;color:#334155;font-weight:700}
.campro-contract-terms li{margin:6px 0;padding:6px 10px;background:#f8fbff;border:1px solid #e0edff;border-radius:12px}
.campro-smart-contract-terms .campro-table-title span{background:#e0f2fe;color:#0369a1;border-radius:999px;padding:6px 12px;font-weight:900}

/* CamPro v4.8 Customer Portal Pro + Mobile App Mode */
.campro-mobile-portal-nav{display:none}
.campro-customer-portal .campro-record-actions a,
.campro-customer-portal .campro-record-actions .button{border-radius:14px!important;font-weight:900!important;text-align:center!important;text-decoration:none!important}
.campro-customer-portal .campro-record-card{transition:transform .18s ease, box-shadow .18s ease}
.campro-customer-portal .campro-record-card:hover{transform:translateY(-2px);box-shadow:0 18px 42px rgba(15,23,42,.1)!important}
@media(max-width:768px){
  html{scroll-behavior:smooth}
  body:has(.campro-customer-portal){background:#06162a!important;padding-bottom:84px!important;overflow-x:hidden!important}
  body:has(.campro-customer-portal) header,
  body:has(.campro-customer-portal) .site-header,
  body:has(.campro-customer-portal) .elementor-location-header{position:relative!important;z-index:3!important}
  .campro-customer-portal{width:100%!important;max-width:100%!important;margin:0!important;padding:12px 12px 92px!important;background:linear-gradient(180deg,#06162a,#0a2340)!important;border-radius:0!important;overflow:hidden!important}
  .campro-customer-portal:before{content:'Customer Portal Pro';display:block;color:#93c5fd;font-weight:900;text-align:center;margin:4px 0 10px;letter-spacing:.4px;font-size:12px;opacity:.85}
  .campro-customer-portal .campro-portal-hero-pro{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;padding:16px!important;border-radius:24px!important;margin:0 0 14px!important;background:linear-gradient(135deg,#071427,#0b2b52)!important;box-shadow:0 20px 45px rgba(0,0,0,.28)!important}
  .campro-customer-portal .campro-portal-logo{min-height:72px!important;padding:8px!important;border-radius:18px!important}
  .campro-customer-portal .campro-portal-logo img{width:96px!important;max-height:68px!important}
  .campro-customer-portal .campro-portal-datebox{display:none!important}
  .campro-customer-portal .campro-portal-search{min-height:auto!important;padding:14px!important;border-radius:18px!important;grid-template-columns:38px 1fr!important;text-align:right!important}
  .campro-customer-portal .campro-portal-search .dashicons{width:38px!important;height:38px!important;line-height:38px!important;font-size:26px!important;grid-row:1/3!important;margin:0!important}
  .campro-customer-portal .campro-portal-search b{font-size:18px!important;line-height:1.25!important}
  .campro-customer-portal .campro-portal-search small{font-size:12px!important;line-height:1.45!important}
  .campro-customer-portal .campro-portal-support a,.campro-customer-portal .campro-portal-support span{min-height:48px!important;border-radius:16px!important;background:linear-gradient(135deg,#16a34a,#22c55e)!important}
  .campro-customer-portal .campro-portal-head{display:block!important;border-radius:24px!important;padding:18px!important;margin:0 0 14px!important;text-align:right!important}
  .campro-customer-portal .campro-portal-head h2{font-size:24px!important;margin:0 0 4px!important}
  .campro-customer-portal .campro-portal-head p{font-size:13px!important;word-break:break-word!important}
  .campro-customer-portal .campro-portal-head .button{width:100%!important;margin-top:12px!important;min-height:48px!important;border-radius:16px!important;display:flex!important;align-items:center!important;justify-content:center!important}
  .campro-mobile-portal-nav{position:fixed;left:10px;right:10px;bottom:10px;z-index:999999;display:grid!important;grid-template-columns:repeat(5,1fr);gap:5px;background:rgba(7,20,39,.94);backdrop-filter:blur(14px);border:1px solid rgba(147,197,253,.28);border-radius:22px;padding:8px;box-shadow:0 16px 45px rgba(0,0,0,.38);direction:rtl}
  .campro-mobile-portal-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:54px;border-radius:16px;text-decoration:none!important;color:#dbeafe!important;font-weight:900!important;font-size:11px;line-height:1.1;background:transparent;transition:.18s ease}
  .campro-mobile-portal-nav a:hover,.campro-mobile-portal-nav a:focus{background:linear-gradient(135deg,#2563eb,#168bff);color:#fff!important;transform:translateY(-2px)}
  .campro-mobile-portal-nav span{font-size:18px;line-height:1}.campro-mobile-portal-nav b{font-size:10px;white-space:nowrap}
  .campro-customer-portal .campro-card{border-radius:24px!important;padding:16px!important;margin:0 0 14px!important;box-shadow:0 16px 38px rgba(15,23,42,.08)!important}
  .campro-customer-portal .campro-table-title{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;margin-bottom:12px!important}
  .campro-customer-portal .campro-table-title h2{font-size:22px!important;margin:0!important;line-height:1.25!important}
  .campro-customer-portal .campro-table-title span{font-size:12px!important;padding:7px 10px!important;white-space:nowrap!important}
  .campro-customer-portal .campro-portal-ticket-box{order:2!important;background:linear-gradient(135deg,#fff,#f8fbff)!important}
  .campro-customer-portal .campro-ticket-top{display:flex!important;flex-direction:column-reverse!important;align-items:stretch!important;gap:12px!important;text-align:right!important}
  .campro-customer-portal .campro-ticket-top h2{font-size:24px!important;text-align:right!important}
  .campro-customer-portal .campro-open-ticket-btn{width:100%!important;min-height:52px!important;border-radius:18px!important;display:flex!important;align-items:center!important;justify-content:center!important;margin:0!important;background:linear-gradient(135deg,#2563eb,#168bff)!important;color:#fff!important}
  .campro-customer-portal .campro-portal-ticket-form{padding:12px!important;border-radius:18px!important}
  .campro-customer-portal .campro-portal-form-grid{grid-template-columns:1fr!important;gap:10px!important}
  .campro-customer-portal .campro-portal-form-grid input,.campro-customer-portal .campro-portal-form-grid select,.campro-customer-portal .campro-portal-form-grid textarea{min-height:50px!important;border-radius:16px!important;font-size:14px!important}
  .campro-customer-portal .campro-portal-form-grid textarea{min-height:96px!important}
  .campro-customer-portal #campro-ticket-form button{width:100%!important;min-height:52px!important;border-radius:18px!important;font-weight:900!important}
  .campro-customer-portal .campro-portal-cards.cards,.campro-customer-portal .campro-grid.cards{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;margin:0 0 14px!important}
  .campro-customer-portal .campro-card.stat{min-height:118px!important;padding:14px 10px!important;border-radius:22px!important;text-align:center!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:7px!important}
  .campro-customer-portal .campro-card.stat .stat-icon{width:42px!important;height:42px!important;line-height:42px!important;font-size:22px!important;border-radius:15px!important;margin:0!important;background:linear-gradient(135deg,#2563eb,#168bff)!important;color:#fff!important}
  .campro-customer-portal .campro-card.stat small{font-size:12px!important;line-height:1.3!important;color:#475569!important}
  .campro-customer-portal .campro-card.stat strong{font-size:23px!important;line-height:1.1!important;color:#071427!important;word-break:break-word!important}
  .campro-customer-portal .campro-device-health-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  .campro-customer-portal .campro-health-card{min-height:112px!important;border-radius:20px!important;padding:12px!important;text-align:center!important}
  .campro-customer-portal .campro-health-card .dashicons{width:40px!important;height:40px!important;line-height:40px!important;font-size:20px!important;margin:0 auto 8px!important}
  .campro-customer-portal .campro-health-card small{font-size:12px!important}.campro-customer-portal .campro-health-card strong{font-size:22px!important}
  .campro-customer-portal .campro-health-summary{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;margin-top:12px!important}
  .campro-customer-portal .campro-health-summary > div{border-radius:18px!important;padding:14px!important;background:#f8fbff!important;border:1px solid #e2e8f0!important}
  .campro-customer-portal .campro-device-health-list{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;margin-top:12px!important}
  .campro-customer-portal .campro-health-device{display:grid!important;grid-template-columns:44px 1fr!important;gap:10px!important;align-items:center!important;border-radius:18px!important;padding:12px!important;background:#fff!important;border:1px solid #e2e8f0!important}
  .campro-customer-portal .campro-health-device em{grid-column:1/-1!important;justify-self:start!important;margin-top:4px!important;border-radius:999px!important;padding:6px 10px!important;font-style:normal!important;font-weight:900!important}
  .campro-customer-portal .campro-record-grid{display:grid!important;grid-template-columns:1fr!important;gap:12px!important}
  .campro-customer-portal .campro-record-card{border-radius:22px!important;padding:15px!important;text-align:right!important;box-shadow:0 12px 28px rgba(15,23,42,.06)!important}
  .campro-customer-portal .campro-record-card h3{font-size:18px!important;line-height:1.35!important;margin:0 0 8px!important}
  .campro-customer-portal .campro-record-card p{font-size:12px!important;line-height:1.7!important;margin:0 0 8px!important}
  .campro-customer-portal .campro-record-card strong{display:block!important;font-size:22px!important;color:#071427!important;margin:8px 0!important}
  .campro-customer-portal .campro-mini-meta{display:flex!important;flex-wrap:wrap!important;gap:6px!important;margin-top:8px!important}
  .campro-customer-portal .campro-mini-meta span,.campro-customer-portal .campro-record-card p{font-size:11px!important;padding:6px 8px!important}
  .campro-customer-portal .campro-record-actions{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;margin-top:10px!important}
  .campro-customer-portal .campro-record-actions a{min-height:44px!important;border-radius:16px!important;background:#eff6ff!important;color:#2563eb!important;border:1px solid #dbeafe!important;display:flex!important;align-items:center!important;justify-content:center!important}
  .campro-customer-portal .campro-badge{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:30px!important;border-radius:999px!important;padding:6px 10px!important;font-size:12px!important;margin-top:8px!important}
  .campro-customer-portal .campro-quote-card form{display:block!important;margin-top:12px!important}.campro-customer-portal .campro-quote-actions{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}.campro-customer-portal .campro-quote-actions button{min-height:48px!important;border-radius:16px!important;width:100%!important}
  .campro-customer-portal .campro-portal-images{display:grid!important;grid-template-columns:repeat(2,1fr)!important;gap:8px!important}.campro-customer-portal .campro-portal-images img{width:100%!important;height:120px!important;border-radius:16px!important}
  .campro-customer-portal .campro-empty{text-align:center!important;padding:18px 10px!important;border-radius:18px!important;background:#f8fbff!important;border:1px dashed #dbeafe!important;font-size:13px!important}
  .campro-customer-portal .campro-portal-login{margin:12px auto!important;border-radius:24px!important;padding:18px!important}.campro-customer-portal .campro-portal-login h2{font-size:24px!important}.campro-customer-portal .campro-portal-login button{width:100%!important;min-height:52px!important;border-radius:18px!important}
}
@media(max-width:420px){
  .campro-customer-portal{padding-left:9px!important;padding-right:9px!important}
  .campro-customer-portal .campro-portal-cards.cards,.campro-customer-portal .campro-grid.cards,.campro-customer-portal .campro-device-health-grid{grid-template-columns:1fr 1fr!important;gap:8px!important}
  .campro-customer-portal .campro-card.stat strong{font-size:20px!important}.campro-customer-portal .campro-table-title h2{font-size:20px!important}
  .campro-mobile-portal-nav{left:6px;right:6px;bottom:6px;padding:6px;border-radius:20px}.campro-mobile-portal-nav a{min-height:50px;border-radius:14px}.campro-mobile-portal-nav b{font-size:9px}
}

/* CamPro v4.9 Customer Experience */
.campro-cx-notification-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.campro-cx-notification{display:flex;align-items:center;gap:10px;border-radius:18px;padding:14px;background:#f8fbff;border:1px solid #dbeafe;font-weight:900}.campro-cx-notification b{font-size:22px}.campro-cx-notification.success{background:#ecfdf5;border-color:#bbf7d0;color:#166534}.campro-cx-notification.warning{background:#fffbeb;border-color:#fde68a;color:#92400e}.campro-cx-notification.danger{background:#fff1f2;border-color:#fecdd3;color:#991b1b}.campro-cx-device-detail{align-items:start!important}.campro-cx-device-detail details{grid-column:1/-1;background:#f8fbff;border:1px dashed #bfdbfe;border-radius:16px;padding:10px;margin-top:8px}.campro-cx-device-detail summary{cursor:pointer;font-weight:900;color:#2563eb}.campro-cx-device-more{display:grid;grid-template-columns:92px 1fr;gap:12px;align-items:center;margin-top:10px}.campro-cx-device-more img{width:84px;height:84px;border-radius:12px;background:#fff;border:1px solid #dbeafe;padding:5px}.campro-cx-device-more p{margin:0;font-size:12px;line-height:1.8}.campro-health-device em.success{background:#dcfce7!important;color:#15803d!important}.campro-health-device em.warning{background:#fef3c7!important;color:#b45309!important}.campro-health-device em.danger{background:#fee2e2!important;color:#b91c1c!important}.campro-health-device em.muted{background:#f1f5f9!important;color:#64748b!important}.campro-renew-link{display:inline-flex;margin-top:10px;padding:9px 14px;border-radius:999px;background:linear-gradient(135deg,#f59e0b,#fb923c);color:#fff!important;text-decoration:none!important;font-weight:900}.campro-cx-timeline-list{display:grid;grid-template-columns:1fr;gap:10px}.campro-cx-timeline-list>div{display:grid;grid-template-columns:44px 110px 1fr 130px;gap:10px;align-items:center;border:1px solid #e2e8f0;border-radius:16px;background:#f8fbff;padding:12px}.campro-cx-timeline-list b{width:36px;height:36px;display:grid;place-items:center;background:#eff6ff;border-radius:12px}.campro-cx-timeline-list span{font-weight:900;color:#2563eb}.campro-cx-timeline-list strong{font-weight:900}.campro-cx-timeline-list small{color:#64748b}.campro-cx-floating-actions{display:flex;gap:10px;margin-top:14px}.campro-cx-floating-actions a,.campro-pwa-install button{border:0;border-radius:16px;padding:12px 18px;background:linear-gradient(135deg,#2563eb,#168bff);color:#fff!important;text-decoration:none!important;font-weight:900}.campro-cx-whatsapp-float{position:fixed;right:18px;bottom:88px;z-index:999998;width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#16a34a,#22c55e);color:#fff!important;text-decoration:none!important;font-size:25px;box-shadow:0 14px 35px rgba(22,163,74,.35)}.campro-pwa-install{position:fixed;left:18px;bottom:88px;z-index:999998}.campro-mobile-portal-nav{grid-template-columns:repeat(6,1fr)}
@media(max-width:768px){.campro-cx-notification-list{grid-template-columns:1fr}.campro-cx-notification{padding:11px;border-radius:16px;font-size:12px}.campro-cx-device-more{grid-template-columns:74px 1fr}.campro-cx-device-more img{width:68px;height:68px}.campro-cx-timeline-list>div{grid-template-columns:34px 1fr;gap:6px}.campro-cx-timeline-list small{grid-column:2}.campro-cx-floating-actions{display:grid;grid-template-columns:1fr 1fr}.campro-cx-whatsapp-float{right:14px;bottom:86px;width:50px;height:50px}.campro-pwa-install{left:14px;bottom:86px}.campro-pwa-install button{padding:10px 12px;border-radius:14px;font-size:12px}.campro-mobile-portal-nav{grid-template-columns:repeat(6,1fr)!important}.campro-mobile-portal-nav a{min-height:50px!important}.campro-mobile-portal-nav b{font-size:8px!important}.campro-customer-portal{scroll-behavior:smooth}}

/* CamPro v4.9.2 - Real desktop device card markup fix */
.campro-customer-portal .campro-device-health-list{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(320px,1fr))!important;
  gap:14px!important;
  align-items:stretch!important;
}
.campro-customer-portal .campro-cx-device-card{
  direction:rtl!important;
  display:grid!important;
  grid-template-columns:56px minmax(0,1fr)!important;
  grid-template-areas:"icon main" "badges badges" "qr qr"!important;
  gap:10px 12px!important;
  align-items:start!important;
  min-height:0!important;
  height:auto!important;
  padding:16px!important;
  border:1px solid #dbeafe!important;
  background:#fff!important;
  border-radius:20px!important;
  overflow:hidden!important;
}
.campro-customer-portal .campro-cx-device-card>.dashicons{display:none!important}
.campro-customer-portal .campro-cx-device-icon{grid-area:icon!important;width:52px!important;height:52px!important;border-radius:16px!important;background:#eff6ff!important;display:flex!important;align-items:center!important;justify-content:center!important;flex:none!important}
.campro-customer-portal .campro-cx-device-icon .dashicons{font-family:dashicons!important;color:#1677ff!important;font-size:26px!important;width:26px!important;height:26px!important;line-height:26px!important}
.campro-customer-portal .campro-cx-device-main{grid-area:main!important;min-width:0!important;text-align:right!important;display:block!important;flex:none!important}
.campro-customer-portal .campro-cx-device-main h3{margin:0 0 8px!important;color:#071427!important;font-size:17px!important;line-height:1.35!important;font-weight:900!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.campro-customer-portal .campro-cx-device-lines,.campro-customer-portal .campro-cx-device-dates{display:flex!important;gap:8px!important;flex-wrap:wrap!important;align-items:center!important;margin-top:6px!important}
.campro-customer-portal .campro-cx-device-lines span,.campro-customer-portal .campro-cx-device-dates span{display:inline-flex!important;white-space:nowrap!important;border-radius:999px!important;background:#f8fbff!important;border:1px solid #e2e8f0!important;color:#475569!important;padding:5px 9px!important;font-size:12px!important;font-weight:800!important;line-height:1.2!important}
.campro-customer-portal .campro-cx-device-badges{grid-area:badges!important;display:flex!important;gap:8px!important;flex-wrap:wrap!important;align-items:center!important;justify-content:flex-start!important}
.campro-customer-portal .campro-cx-device-badges em{display:inline-flex!important;width:auto!important;max-width:none!important;white-space:nowrap!important;line-height:1.2!important;font-style:normal!important;border-radius:999px!important;padding:7px 11px!important;font-size:12px!important;font-weight:900!important;background:#f1f5f9!important;color:#64748b!important}
.campro-customer-portal .campro-cx-device-badges em.green,.campro-customer-portal .campro-cx-device-badges em.success{background:#dcfce7!important;color:#15803d!important}
.campro-customer-portal .campro-cx-device-badges em.orange,.campro-customer-portal .campro-cx-device-badges em.warning{background:#fff7ed!important;color:#ea580c!important}
.campro-customer-portal .campro-cx-device-badges em.red,.campro-customer-portal .campro-cx-device-badges em.danger{background:#fee2e2!important;color:#dc2626!important}
.campro-customer-portal .campro-cx-device-qr{grid-area:qr!important;width:100%!important;background:#f8fbff!important;border:1px dashed #bfdbfe!important;border-radius:16px!important;padding:10px!important;margin:0!important;box-sizing:border-box!important}
.campro-customer-portal .campro-cx-device-qr summary{cursor:pointer!important;font-weight:900!important;color:#2563eb!important;list-style:none!important;text-align:center!important}
.campro-customer-portal .campro-cx-device-qr summary::-webkit-details-marker{display:none!important}
@media(max-width:900px){
  .campro-customer-portal .campro-device-health-list{grid-template-columns:1fr!important}
}

/* CamPro v4.9.3 Service Desk */
.campro-service-desk-alert{border:1px solid #fecaca;background:linear-gradient(135deg,#fff,#fff7f7)!important}
.campro-service-desk-list{display:grid;gap:12px}.campro-ticket-row{border:1px solid #dbeafe;border-radius:18px;padding:14px;background:#fff}.campro-ticket-actions-mini{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.campro-ticket-head{border:1px solid #bfdbfe}.campro-ticket-workspace .campro-card{min-height:100%}.campro-ticket-followup-form label.wide,.campro-ticket-followup-form .wide{grid-column:1/-1}.campro-ticket-visit-form{margin-top:18px;padding:16px;border:1px dashed #93c5fd;border-radius:18px;background:#f8fbff}.campro-ticket-visit-form .button{width:100%;justify-content:center}.campro-ticket-timeline .campro-timeline{display:grid;gap:12px}.campro-ticket-timeline .campro-timeline>div{display:flex;justify-content:space-between;gap:12px;align-items:center;border:1px solid #dbeafe;background:#f8fbff;border-radius:14px;padding:12px 14px}.campro-ticket-timeline b{color:#071427}.campro-ticket-timeline span{color:#475569;font-weight:700}.campro-field-internal_notes{grid-column:1/-1}.campro-field-internal_notes textarea{min-height:120px}.campro-head-actions .button{margin-inline-start:6px}
@media (max-width: 900px){.campro-ticket-actions-mini{width:100%;justify-content:flex-start}.campro-ticket-timeline .campro-timeline>div{display:block}.campro-ticket-timeline span{display:block;margin-top:6px}.campro-ticket-workspace{grid-template-columns:1fr!important}}

/* CamPro v4.9.4 Ticket Acknowledgement */
.campro-bell{position:relative;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}
.campro-bell.has-alert{background:#ff3b59!important;color:#fff!important;box-shadow:0 10px 30px rgba(255,59,89,.35)}
.campro-bell b{position:absolute;top:-8px;right:-8px;min-width:22px;height:22px;border-radius:999px;background:#fff;color:#ff1744;border:2px solid #ff1744;font-size:12px;line-height:18px;text-align:center;font-weight:900}
.campro-ticket-new{border-color:#ff6b7a!important;background:linear-gradient(90deg,#fff7f8,#fff)!important;box-shadow:0 10px 28px rgba(255,59,89,.10)!important}
.campro-new-dot{display:inline-flex;align-items:center;gap:6px;background:#ffedf0;color:#e6002d;border:1px solid #ffc8d1;border-radius:999px;padding:5px 10px;margin-inline-end:8px;font-weight:900;font-size:12px}
.campro-new-dot:before{content:'';width:8px;height:8px;border-radius:50%;background:#ff1744;box-shadow:0 0 0 5px rgba(255,23,68,.13)}
.campro-ticket-actions-mini{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.campro-ticket-ack-form{background:#eefdf4;border:1px solid #b9f1cc;border-radius:18px;padding:16px;margin:0 0 18px;text-align:center}
.campro-ticket-ack-form .button{font-weight:900;font-size:16px;padding:10px 22px;border-radius:12px}
.campro-ticket-ack-ok{background:#e9fff2!important;border-color:#8be7ad!important;color:#087a35!important}
.campro-portal-ticket-card.is-new-ticket{border-color:#ffcad3!important;background:linear-gradient(180deg,#fff,#fff8f9)!important}
.campro-portal-ticket-card.is-acknowledged{border-color:#9af0bd!important;background:linear-gradient(180deg,#fff,#f4fff8)!important}
.campro-ticket-customer-notice{margin-top:12px;border-radius:14px;padding:10px 12px;background:#eef6ff;color:#0057d9;font-weight:900;text-align:center}
.campro-portal-ticket-card.is-acknowledged .campro-ticket-customer-notice{background:#e9fff2;color:#087a35}

/* CamPro v4.9.5 Mobile UX - full width mobile portal polish */
@media (max-width:768px){
  html,body{max-width:100%!important;overflow-x:hidden!important;}
  body:has(.campro-customer-portal){background:#06162a!important;padding-bottom:88px!important;}
  body:has(.campro-customer-portal) .entry-content,
  body:has(.campro-customer-portal) .wp-block-post-content,
  body:has(.campro-customer-portal) .site-content,
  body:has(.campro-customer-portal) main,
  body:has(.campro-customer-portal) .container,
  body:has(.campro-customer-portal) .content-area{
    width:100%!important;max-width:100%!important;margin:0!important;padding-inline:0!important;overflow-x:hidden!important;
  }
  .campro-customer-portal.campro-portal,
  .campro-customer-portal{
    width:100vw!important;max-width:100vw!important;margin:0!important;padding:10px 10px 96px!important;border-radius:0!important;background:linear-gradient(180deg,#06162a,#0a2340)!important;overflow:hidden!important;position:relative!important;left:50%!important;right:50%!important;margin-left:-50vw!important;margin-right:-50vw!important;
  }
  .campro-customer-portal:before{font-size:0!important;margin:0!important;height:0!important;display:none!important;}
  .campro-customer-portal .campro-portal-hero-pro{
    width:100%!important;max-width:100%!important;margin:8px 0 12px!important;padding:12px!important;border-radius:22px!important;gap:10px!important;box-shadow:0 16px 36px rgba(0,0,0,.22)!important;
  }
  .campro-customer-portal .campro-portal-logo{min-height:68px!important;border-radius:16px!important;padding:8px!important;}
  .campro-customer-portal .campro-portal-logo img{width:88px!important;max-height:62px!important;}
  .campro-customer-portal .campro-portal-search{padding:12px!important;border-radius:18px!important;grid-template-columns:34px 1fr!important;gap:8px!important;text-align:right!important;}
  .campro-customer-portal .campro-portal-search .dashicons{width:34px!important;height:34px!important;line-height:34px!important;font-size:26px!important;margin:0!important;grid-row:1/3!important;}
  .campro-customer-portal .campro-portal-search b{font-size:22px!important;line-height:1.2!important;}
  .campro-customer-portal .campro-portal-search small{font-size:13px!important;line-height:1.55!important;}
  .campro-customer-portal .campro-portal-support a{min-height:50px!important;border-radius:16px!important;background:linear-gradient(135deg,#16a34a,#22c55e)!important;font-size:17px!important;}
  .campro-customer-portal .campro-portal-head.campro-portal-account-card{
    display:block!important;width:100%!important;margin:0 0 12px!important;padding:16px!important;border-radius:22px!important;text-align:center!important;min-height:auto!important;
  }
  .campro-customer-portal .campro-portal-head h2{font-size:24px!important;line-height:1.25!important;margin:0 0 5px!important;}
  .campro-customer-portal .campro-portal-head p{font-size:12px!important;line-height:1.4!important;overflow-wrap:anywhere!important;margin:0!important;}
  .campro-customer-portal .campro-card{width:100%!important;max-width:100%!important;margin:0 0 12px!important;border-radius:22px!important;padding:16px!important;overflow:hidden!important;}
  .campro-customer-portal .campro-cx-notifications{padding-top:14px!important;}
  .campro-customer-portal .campro-table-title{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;margin-bottom:12px!important;}
  .campro-customer-portal .campro-table-title h2{font-size:23px!important;line-height:1.2!important;margin:0!important;}
  .campro-customer-portal .campro-table-title span{font-size:10px!important;padding:5px 8px!important;max-width:48%!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
  .campro-customer-portal .campro-ticket-top{display:block!important;text-align:center!important;}
  .campro-customer-portal .campro-ticket-top h2{font-size:28px!important;line-height:1.25!important;margin:0 0 8px!important;}
  .campro-customer-portal .campro-ticket-top p{font-size:16px!important;line-height:1.7!important;margin:0 0 12px!important;}
  .campro-customer-portal .campro-open-ticket-btn,
  .campro-customer-portal .campro-portal-ticket-form button.button-primary{width:100%!important;min-height:54px!important;font-size:18px!important;border-radius:16px!important;display:flex!important;align-items:center!important;justify-content:center!important;}
  .campro-customer-portal .campro-portal-ticket-form{padding:12px!important;border-radius:18px!important;}
  .campro-customer-portal .campro-portal-form-grid{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;}
  .campro-customer-portal .campro-portal-form-grid label{font-size:18px!important;text-align:right!important;}
  .campro-customer-portal .campro-portal-form-grid input,
  .campro-customer-portal .campro-portal-form-grid select,
  .campro-customer-portal .campro-portal-form-grid textarea{min-height:52px!important;border-radius:18px!important;font-size:15px!important;text-align:right!important;}
  .campro-customer-portal .campro-portal-cards.cards,
  .campro-customer-portal .campro-mobile-kpis{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;margin:0 0 12px!important;
  }
  .campro-customer-portal .campro-card.stat{
    min-height:132px!important;padding:14px 8px!important;border-radius:22px!important;margin:0!important;
  }
  .campro-customer-portal .campro-card.stat .stat-icon{width:50px!important;height:50px!important;line-height:50px!important;font-size:25px!important;margin-bottom:8px!important;border-radius:16px!important;}
  .campro-customer-portal .campro-card.stat small{font-size:13px!important;line-height:1.25!important;margin-bottom:6px!important;}
  .campro-customer-portal .campro-card.stat strong{font-size:24px!important;line-height:1.1!important;word-break:keep-all!important;}
  .campro-customer-portal .campro-device-health .campro-table-title h2{font-size:25px!important;}
  .campro-customer-portal .campro-device-health-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;}
  .campro-customer-portal .campro-health-card{min-height:118px!important;padding:12px 8px!important;border-radius:20px!important;}
  .campro-customer-portal .campro-health-card .dashicons{width:46px!important;height:46px!important;line-height:46px!important;font-size:24px!important;margin-bottom:8px!important;}
  .campro-customer-portal .campro-health-card small{font-size:12px!important;line-height:1.25!important;}
  .campro-customer-portal .campro-health-card strong{font-size:24px!important;}
  .campro-customer-portal .campro-health-summary{grid-template-columns:1fr!important;gap:10px!important;}
  .campro-customer-portal .campro-device-health-list{grid-template-columns:1fr!important;gap:12px!important;}
  .campro-customer-portal .campro-cx-device-card{grid-template-columns:48px minmax(0,1fr)!important;padding:14px!important;border-radius:20px!important;}
  .campro-customer-portal .campro-cx-device-main h3{font-size:20px!important;white-space:nowrap!important;max-width:100%!important;}
  .campro-customer-portal .campro-cx-device-lines,
  .campro-customer-portal .campro-cx-device-dates,
  .campro-customer-portal .campro-cx-device-badges{justify-content:flex-start!important;gap:6px!important;}
  .campro-customer-portal .campro-cx-device-lines span,
  .campro-customer-portal .campro-cx-device-dates span{font-size:11px!important;padding:5px 8px!important;}
  .campro-customer-portal .campro-cx-device-badges em{font-size:12px!important;padding:7px 10px!important;}
  .campro-customer-portal .campro-record-grid{grid-template-columns:1fr!important;gap:12px!important;}
  .campro-customer-portal .campro-record-card{padding:16px!important;border-radius:20px!important;text-align:right!important;}
  .campro-customer-portal .campro-record-card h3{font-size:20px!important;line-height:1.35!important;}
  .campro-customer-portal .campro-mini-meta{gap:6px!important;}
  .campro-customer-portal .campro-mini-meta span{font-size:11px!important;padding:6px 8px!important;}
  .campro-customer-portal .campro-cx-whatsapp-float{right:12px!important;bottom:100px!important;width:48px!important;height:48px!important;font-size:22px!important;}
  .campro-customer-portal .campro-cx-account .campro-cx-floating-actions{display:none!important;}
  .campro-mobile-portal-nav{display:grid!important;position:fixed!important;left:10px!important;right:10px!important;bottom:10px!important;width:auto!important;grid-template-columns:repeat(6,1fr)!important;gap:0!important;background:rgba(7,20,39,.94)!important;border:1px solid rgba(147,197,253,.25)!important;border-radius:20px!important;padding:8px 6px!important;z-index:999997!important;box-shadow:0 16px 35px rgba(0,0,0,.34)!important;backdrop-filter:blur(12px)!important;}
  .campro-mobile-portal-nav a{position:relative!important;color:#cbd5e1!important;text-decoration:none!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;min-height:52px!important;border-radius:14px!important;font-weight:900!important;}
  .campro-mobile-portal-nav a:hover,.campro-mobile-portal-nav a:focus{background:#1677ff!important;color:#fff!important;}
  .campro-mobile-portal-nav span{font-size:20px!important;line-height:1!important;}
  .campro-mobile-portal-nav b{font-size:10px!important;line-height:1.1!important;}
  .campro-mobile-portal-nav em{position:absolute!important;top:2px!important;right:10px!important;min-width:18px!important;height:18px!important;border-radius:999px!important;background:#ef4444!important;color:#fff!important;font-size:10px!important;line-height:18px!important;text-align:center!important;font-style:normal!important;border:2px solid #071427!important;}
}
@media (max-width:390px){
  .campro-customer-portal{padding-left:8px!important;padding-right:8px!important;}
  .campro-customer-portal .campro-card.stat strong{font-size:21px!important;}
  .campro-mobile-portal-nav b{font-size:9px!important;}
  .campro-mobile-portal-nav span{font-size:18px!important;}
}

/* CamPro v5.0 Help Center + User Manual */
.campro-help-head{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}
.campro-help-actions{display:flex;gap:10px;flex-wrap:wrap}
.campro-help-search-card{position:relative;overflow:hidden;background:linear-gradient(135deg,#ffffff 0%,#eef6ff 100%)}
.campro-help-search{display:flex;align-items:center;gap:12px;border:1px solid #d8e8ff;background:#fff;border-radius:18px;padding:10px 16px;box-shadow:0 12px 30px rgba(20,91,255,.08)}
.campro-help-search .dashicons{color:#1d74ff;font-size:26px;width:26px;height:26px}
.campro-help-search input{border:0!important;box-shadow:none!important;outline:0!important;width:100%;font-size:18px;font-weight:800;background:transparent;color:#061633}
.campro-help-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:18px}
.campro-help-item{display:grid;grid-template-columns:190px 1fr;gap:18px;align-items:stretch;transition:.2s ease}
.campro-help-item:hover{transform:translateY(-2px);box-shadow:0 22px 50px rgba(15,80,180,.12)}
.campro-help-visual{border-radius:22px;background:linear-gradient(145deg,#061a36,#0f64ff);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:170px;text-align:center;padding:18px;overflow:hidden;position:relative}
.campro-help-visual:before{content:"";position:absolute;inset:auto -30px -40px auto;width:110px;height:110px;border-radius:50%;background:rgba(255,255,255,.12)}
.campro-help-visual .dashicons{font-size:56px;width:56px;height:56px;margin-bottom:12px;color:#fff}
.campro-help-visual b{display:block;font-weight:900;font-size:16px}
.campro-help-visual small{display:block;opacity:.8;margin-top:5px}
.campro-help-copy h2{margin:0 0 10px;font-size:24px;color:#061633}
.campro-help-copy p{font-size:15px;font-weight:700;color:#41506a;margin:0 0 10px}
.campro-help-copy ul{margin:0;padding:0 22px 0 0;color:#53627a;line-height:1.9;font-weight:700}
.campro-help-manual,.campro-help-whatsapp{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:18px}
.campro-help-manual{background:linear-gradient(135deg,#edf7ff,#fff)}
.campro-help-whatsapp{background:linear-gradient(135deg,#eafff1,#fff)}
@media(max-width:1100px){.campro-help-grid{grid-template-columns:1fr}.campro-help-item{grid-template-columns:160px 1fr}}
@media(max-width:700px){.campro-help-head,.campro-help-manual,.campro-help-whatsapp{align-items:stretch}.campro-help-actions,.campro-help-manual .button,.campro-help-whatsapp .button{width:100%}.campro-help-actions .button{flex:1;text-align:center}.campro-help-grid{gap:12px}.campro-help-item{grid-template-columns:1fr;padding:14px!important}.campro-help-visual{min-height:120px}.campro-help-copy h2{font-size:20px}.campro-help-search input{font-size:15px}.campro-help-copy ul{font-size:13px}}
