/* JUSTWIPE ENTERPRISE.CSS - DEFINITIVE BUILD 2.7.0 */
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;font-family:Inter,Segoe UI,Arial,sans-serif;background:#f8fafc;color:#111827}
:root{--green:#16a34a;--green-dark:#15803d;--orange:#f97316;--border:#e5e7eb;--muted:#6b7280;--card:#fff;--sidebar:256px}
.jw-app{min-height:100vh}
.jw-sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);background:#fff;border-right:1px solid var(--border);z-index:40;display:flex;flex-direction:column}
.jw-brand{height:89px;padding:22px 24px;display:flex;gap:12px;align-items:center;border-bottom:1px solid var(--border)}
.jw-brand-logo{width:76px;height:48px;object-fit:contain}
.jw-brand strong{display:block;font-size:15px}
.jw-brand span{display:block;font-size:9px;color:var(--muted);margin-top:2px}
.jw-nav{padding:14px 12px;overflow:auto;flex:1}
.jw-nav-link{display:flex;align-items:center;gap:12px;padding:10px 12px;margin:2px 0;border-radius:8px;color:#374151;text-decoration:none;font-size:13px;font-weight:600;transition:.15s}
.jw-nav-link:hover{background:#f3f4f6}
.jw-nav-link.active{background:#f0fdf4;color:#15803d}
.jw-nav-icon{width:22px;text-align:center;font-size:17px}
.jw-sidebar-contact{padding:17px 24px;border-top:1px solid var(--border);font-size:12px}
.jw-sidebar-contact strong,.jw-sidebar-contact a{display:block;margin:5px 0;color:#4b5563;text-decoration:none}
.jw-sidebar-contact strong{color:#111827}
.jw-main{margin-left:var(--sidebar);min-height:100vh}
.jw-topbar{height:89px;background:#fff;border-bottom:1px solid var(--border);padding:18px 28px;display:flex;align-items:center;justify-content:space-between;position:relative}
.jw-heading h1{font-size:24px;margin:0 0 5px}
.jw-heading p{margin:0;color:var(--muted);font-size:13px}
.jw-actions{display:flex;align-items:center;gap:11px}
.jw-whatsapp,.jw-icon-btn,.jw-user-button{border:1px solid var(--border);background:#fff;border-radius:8px;min-height:40px}
.jw-whatsapp{padding:10px 13px;color:#166534;text-decoration:none;font-size:13px;font-weight:700}
.jw-icon-btn{width:42px;position:relative;font-size:21px;cursor:pointer}
.jw-icon-btn span{position:absolute;right:-5px;top:-6px;background:#ef4444;color:#fff;width:20px;height:20px;border-radius:50%;font-size:11px;display:grid;place-items:center}
.jw-user-menu{position:relative}
.jw-user-button{display:flex;align-items:center;gap:9px;padding:5px 9px;cursor:pointer}
.jw-avatar{width:30px;height:30px;border-radius:50%;background:#dcfce7;color:#15803d;display:grid;place-items:center;font-weight:900}
.jw-user-copy{display:flex;flex-direction:column;text-align:left}
.jw-user-copy b{font-size:12px}
.jw-user-copy small{font-size:10px;color:var(--muted)}
.jw-user-button i{font-style:normal;color:#6b7280}
.jw-dropdown,.jw-notifications{display:none;position:absolute;background:#fff;border:1px solid var(--border);border-radius:10px;box-shadow:0 16px 38px #11182722;z-index:60}
.jw-dropdown{right:0;top:48px;width:180px;padding:7px}
.jw-dropdown.open,.jw-notifications.open{display:block}
.jw-dropdown a{display:block;padding:10px;border-radius:7px;color:#374151;text-decoration:none;font-size:13px}
.jw-dropdown a:hover{background:#f3f4f6}
.jw-dropdown .danger{color:#dc2626}
.jw-notifications{right:84px;top:73px;width:290px;padding:14px}
.jw-notifications strong{display:block;padding-bottom:9px;border-bottom:1px solid var(--border)}
.jw-notifications p{font-size:12px;border-bottom:1px solid #f1f5f9;padding:10px 0;margin:0}
.jw-notifications small{display:block;color:var(--muted);margin-top:4px}
.jw-content{padding:24px 28px 10px}
.jw-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.jw-card{background:#fff;border:1px solid var(--border);border-radius:11px;padding:20px;box-shadow:0 1px 2px #00000008}
.jw-stat{display:flex;justify-content:space-between;align-items:flex-start}
.jw-stat h3{font-size:13px;color:var(--muted);margin:0 0 9px}
.jw-stat strong{font-size:27px}
.jw-stat-icon{width:42px;height:42px;border-radius:10px;display:grid;place-items:center;font-size:20px;background:#f0fdf4;color:#15803d}
.jw-trend{font-size:11px;color:#16a34a;margin-top:10px}
.jw-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px}
.jw-card-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.jw-card-title h2{font-size:16px;margin:0}
.jw-link{font-size:12px;color:#15803d;font-weight:700;text-decoration:none}
.jw-list{list-style:none;padding:0;margin:0}
.jw-list li{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid #eef2f7}
.jw-list li:last-child{border:0}
.jw-list-main{flex:1}
.jw-list-main b{font-size:13px;display:block}
.jw-list-main span{font-size:12px;color:var(--muted)}
.jw-list-amount{text-align:right}
.jw-list-amount b{font-size:13px;display:block}
.jw-list-amount small{font-size:11px;color:var(--muted)}
.jw-badge{padding:5px 8px;border-radius:99px;font-size:10px;font-weight:800}
.green{background:#dcfce7;color:#166534}
.blue{background:#dbeafe;color:#1d4ed8}
.gray{background:#f3f4f6;color:#4b5563}
.orange{background:#ffedd5;color:#c2410c}
.jw-delivery-icon{width:39px;height:39px;border-radius:8px;background:#f3f4f6;display:grid;place-items:center}
.jw-asset-card{margin-top:18px}
.jw-asset-row{padding:12px 0}
.jw-asset-head{display:flex;justify-content:space-between;font-size:12px;margin-bottom:8px}
.jw-bar{height:8px;background:#f3f4f6;border-radius:9px;overflow:hidden;display:flex}
.jw-bar .available{background:#22c55e}
.jw-bar .inuse{background:#3b82f6}
.jw-bar .maintenance{background:#f97316}
.jw-legend{display:flex;gap:16px;font-size:10px;color:var(--muted);margin-top:7px}
.jw-dot{width:7px;height:7px;border-radius:50%;display:inline-block;margin-right:4px}
.jw-page-intro{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}
.jw-page-intro h2{margin:0 0 4px;font-size:20px}
.jw-page-intro p{margin:0;color:var(--muted);font-size:13px}
.jw-button{display:inline-flex;align-items:center;padding:10px 14px;border-radius:8px;background:#16a34a;color:#fff;text-decoration:none;font-size:12px;font-weight:800;border:none;cursor:pointer}
.jw-button:hover{background:#15803d}
.jw-module-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.jw-module-card{background:#fff;border:1px solid var(--border);border-radius:10px;padding:18px}
.jw-module-card h3{margin:0 0 8px;font-size:15px}
.jw-module-card p{color:var(--muted);font-size:12px;line-height:1.55;margin:0}
.jw-footer{padding:18px 28px 25px;color:#9ca3af;font-size:11px;display:flex;justify-content:space-between}
.jw-mobile-toggle,.jw-overlay{display:none}
/* ==== LOGIN PAGE ==== */
.jw-login-shell{min-height:100vh;display:grid;grid-template-columns:1.15fr .85fr;background:#fff}
.jw-login-hero{background:linear-gradient(145deg,#0f2340,#0755a6 58%,#10bce8);padding:70px;color:#fff;display:flex;flex-direction:column;justify-content:space-between}
.jw-login-hero h1{font-size:48px;line-height:1.05;margin:24px 0 14px}
.jw-login-hero p{max-width:520px;line-height:1.7;color:#f0fdf4}
.jw-login-logo{width:min(260px,72%);max-height:120px;object-fit:contain;filter:drop-shadow(0 12px 18px rgba(0,0,0,.12))}
.jw-login-panel{display:grid;place-items:center;padding:35px}
.jw-login-card{width:min(420px,100%)}
.jw-login-card h2{font-size:28px;margin-bottom:7px}
.jw-login-card>p{color:var(--muted);margin:0 0 25px}
.jw-login-form-logo{width:115px;height:48px;max-height:48px;object-fit:contain;object-position:left center}
.jw-field{margin-bottom:16px}
.jw-field label{font-size:12px;font-weight:800;display:block;margin-bottom:7px}
.jw-field input{width:100%;border:1px solid var(--border);border-radius:8px;padding:12px 13px;box-sizing:border-box}
.jw-login-submit{width:100%;border:0;border-radius:8px;background:#16a34a;color:#fff;padding:13px;font-weight:900;cursor:pointer}
.jw-login-submit:hover{background:#15803d}
.jw-error{background:#fef2f2;color:#b91c1c;padding:10px;border-radius:8px;margin-bottom:14px;font-size:12px}
@media(max-width:1050px){.jw-grid{grid-template-columns:repeat(2,1fr)}.jw-module-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:800px){.jw-sidebar{transform:translateX(-100%);transition:.2s}.jw-sidebar.open{transform:translateX(0)}.jw-main{margin-left:0}.jw-mobile-toggle{display:block;position:fixed;left:14px;top:20px;z-index:70;border:1px solid var(--border);background:#fff;width:40px;height:40px;border-radius:8px}.jw-overlay.open{display:block;position:fixed;inset:0;background:#0006;z-index:30}.jw-topbar{padding-left:66px}.jw-whatsapp,.jw-user-copy{display:none}.jw-columns{grid-template-columns:1fr}.jw-login-shell{grid-template-columns:1fr}.jw-login-hero{display:none}}
@media(max-width:580px){.jw-grid,.jw-module-grid{grid-template-columns:1fr}.jw-content{padding:18px}.jw-topbar{height:auto;min-height:82px}.jw-heading h1{font-size:20px}.jw-notifications{right:15px;top:75px;width:calc(100vw - 30px)}.jw-footer{flex-direction:column;gap:5px}}
/* ==== DASHBOARD BANNER VARIANT ==== */
.jw-dashboard-banner{background:linear-gradient(120deg,#0f2340,#0755a6 58%,#10bce8);border-radius:16px;padding:25px 27px;color:#fff;display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px;box-shadow:0 18px 38px rgba(7,85,166,.19)}
.jw-dashboard-banner h2{font-size:24px;margin:5px 0 7px}
.jw-dashboard-banner p{margin:0;color:#dff5ff;font-size:12px;max-width:680px;line-height:1.55}
.jw-banner-eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:9px;font-weight:900;color:#8ee8ff}
.jw-banner-actions{display:flex;gap:9px;flex-shrink:0}
.jw-button-light{background:#fff !important;color:#0755a6 !important}
.jw-stat-blue{border-left:4px solid #0578c9}
.jw-stat-cyan{border-left:4px solid #10bce8}
.jw-stat-green{border-left:4px solid #22c55e}
.jw-stat-orange{border-left:4px solid #f97316}
.jw-stat-blue .jw-stat-icon{background:#eef8ff;color:#0755a6}
.jw-stat-cyan .jw-stat-icon{background:#ecfbff;color:#087ea4}
.jw-stat-green .jw-stat-icon{background:#ecfdf3;color:#15803d}
.jw-stat-orange .jw-stat-icon{background:#fff7ed;color:#c2410c}
.jw-operations-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:16px}
.jw-operations-strip>div{background:#fff;border:1px solid var(--border);border-radius:11px;padding:15px 16px;box-shadow:0 3px 12px rgba(15,35,64,.04)}
.jw-operations-strip span{display:block;font-size:11px;font-weight:700;color:var(--muted)}
.jw-operations-strip strong{display:block;font-size:23px;margin:5px 0 2px;color:#0f2340}
.jw-operations-strip small{font-size:10px;color:var(--muted)}
.jw-quick-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}
.jw-quick-actions a{border:1px solid #e5eaf1;border-radius:10px;padding:12px;display:flex;gap:10px;align-items:center;background:#fbfdff;transition:.15s;text-decoration:none;color:inherit}
.jw-quick-actions a:hover{border-color:#88cef2;background:#eef8ff;transform:translateY(-1px)}
.jw-quick-actions a>b{width:33px;height:33px;border-radius:9px;display:grid;place-items:center;background:#eef8ff;color:#0755a6;font-size:16px}
.jw-quick-actions a>span{font-size:11px;font-weight:800;color:#0f2340;display:flex;flex-direction:column}
.jw-quick-actions small{display:block;font-size:9px;color:var(--muted);margin-top:3px;font-weight:500}
.jw-revenue-total{font-size:27px;font-weight:900;color:#0f2340;margin:12px 0 18px}
.jw-revenue-total small{display:block;font-size:10px;color:var(--muted);font-weight:500;margin-top:3px}
.jw-revenue-bars{height:150px;display:flex;align-items:flex-end;gap:10px;padding:5px 3px 0}
.jw-revenue-bars>div{height:100%;flex:1;display:flex;align-items:flex-end;position:relative;padding-bottom:20px}
.jw-revenue-bars span{display:block;width:100%;background:linear-gradient(180deg,#10bce8,#0755a6);border-radius:6px 6px 2px 2px;min-height:12px}
.jw-revenue-bars small{position:absolute;left:50%;bottom:0;transform:translateX(-50%);font-size:9px;color:var(--muted)}
.jw-icon-success{background:#ecfdf3;color:#15803d}
.jw-icon-blue{background:#eef8ff;color:#0755a6}
.jw-icon-orange{background:#fff7ed;color:#c2410c}
/* ==== ENGINE & COMPONENT STYLES ==== */
.jw-engine-layout{display:grid;grid-template-columns:minmax(300px,.8fr) minmax(0,1.7fr);gap:18px;align-items:start}
.jw-engine-form h2,.jw-engine-layout .jw-card>h2{font-size:17px;margin:0 0 16px}
.jw-engine-form label{display:block;font-size:12px;font-weight:800;color:#374151;margin-bottom:13px}
.jw-engine-form input,.jw-engine-form select,.jw-engine-form textarea{display:block;width:100%;margin-top:6px;border:1px solid var(--border);border-radius:8px;padding:10px 11px;background:#fff;font:inherit}
.jw-engine-form textarea{resize:vertical}
.jw-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}
.jw-form-grid .jw-full{grid-column:1/-1}
.jw-table-wrap{overflow:auto}
.jw-table{width:100%;border-collapse:collapse;font-size:12px}
.jw-table th{color:#6b7280;text-align:left;padding:10px;border-bottom:1px solid var(--border);white-space:nowrap}
.jw-table td{padding:11px 10px;border-bottom:1px solid #eef2f7;vertical-align:top}
.jw-detail-list{margin:0}
.jw-detail-list>div{display:grid;grid-template-columns:145px 1fr;padding:10px 0;border-bottom:1px solid #edf1f5}
.jw-detail-list dt{color:#64748b;font-size:11px}
.jw-detail-list dd{margin:0;color:#0f2340;font-size:11px;font-weight:700}
.jw-profile-tabs{display:flex;gap:5px;border-bottom:1px solid #dfe6ed;margin-bottom:16px;overflow-x:auto}
.jw-profile-tabs a{padding:10px 12px;color:#64748b;text-decoration:none;font-size:11px;font-weight:800;white-space:nowrap;border-bottom:2px solid transparent}
.jw-profile-tabs a.active{color:#0755a6;border-color:#0755a6}
.jw-timeline{position:relative;padding-left:8px}
.jw-timeline-item{display:grid;grid-template-columns:18px 1fr;gap:10px;padding-bottom:20px}
.jw-timeline-item>span{width:11px;height:11px;border-radius:50%;background:#16a34a;margin-top:5px;box-shadow:0 0 0 4px #dcfce7}
.jw-timeline-item b{font-size:13px}
.jw-timeline-item p{margin:4px 0;color:#4b5563;font-size:12px}
.jw-timeline-item small{color:#9ca3af;font-size:10px}
.jw-alert{padding:12px 14px;border-radius:8px;margin-bottom:14px;font-size:13px}
.jw-alert-success{background:#ecfdf5;color:#166534;border:1px solid #bbf7d0}
.jw-alert-error{background:#fef2f2;color:#991b1b;border:1px solid #fecaca}
.jw-button-secondary{background:#fff;color:#334155;border:1px solid #dce3ea}
.jw-empty-state{text-align:center;padding:55px 20px}
.jw-empty-state h3{margin:0 0 6px;color:#0f2340}
.jw-empty-state p{color:#64748b;font-size:12px}
.jw-customer-toolbar{padding:15px;display:flex;gap:10px;align-items:center;flex-wrap:wrap;border-bottom:1px solid #edf1f5;background:#fbfdff}
.jw-customer-toolbar input,.jw-customer-toolbar select{height:40px;border:1px solid #dce3ea;border-radius:8px;padding:0 12px;font:inherit;font-size:12px}
.jw-search-wrap{position:relative;flex:1;min-width:220px}
.jw-search-wrap input{width:100%;padding-left:34px}
.jw-search-wrap span{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#7b8794}
.jw-table-scroll{overflow-x:auto}
.jw-enterprise-table{width:100%;border-collapse:collapse;min-width:900px}
.jw-enterprise-table th{padding:11px 14px;background:#f8fafc;border-bottom:1px solid #e8edf3;text-align:left;font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:#64748b}
.jw-enterprise-table td{padding:13px 14px;border-bottom:1px solid #edf1f5;font-size:12px;vertical-align:middle}
.jw-enterprise-table tbody tr:hover{background:#fbfdff}
.jw-customer-cell{display:flex;align-items:center;gap:10px}
.jw-customer-avatar{width:38px;height:38px;min-width:38px;border-radius:10px;display:grid;place-items:center;background:#eaf6ff;color:#0755a6;font-weight:900}
.jw-customer-cell a{text-decoration:none;color:#0f2340}
.jw-type-pill{display:inline-block;background:#f1f5f9;color:#334155;border-radius:99px;padding:4px 8px;font-size:10px;font-weight:800}
.jw-status-pill{display:inline-flex;border-radius:99px;padding:5px 9px;font-size:10px;font-weight:900}
.jw-status-active{background:#dcfce7;color:#166534}
.jw-status-prospect{background:#dbeafe;color:#1d4ed8}
.jw-status-pending{background:#fef3c7;color:#92400e}
.jw-status-suspended{background:#fee2e2;color:#991b1b}
.jw-status-inactive{background:#f1f5f9;color:#475569}
.jw-row-actions{display:flex;gap:5px}
.jw-row-actions a,.jw-row-actions button{border:1px solid #dce3ea;background:#fff;color:#334155;border-radius:6px;padding:6px 8px;font-size:10px;font-weight:800;cursor:pointer;text-decoration:none}
.jw-row-actions button{color:#b91c1c}
.jw-pagination{display:flex;justify-content:space-between;align-items:center;padding:13px 15px;color:#64748b;font-size:11px}
.jw-pagination>div{display:flex;gap:5px}
.jw-pagination a{min-width:29px;height:29px;padding:0 8px;border:1px solid #dce3ea;border-radius:6px;background:#fff;display:grid;place-items:center;color:#334155;text-decoration:none;font-weight:800}
.jw-pagination a.active{background:#0755a6;color:#fff;border-color:#0755a6}
.jw-customer-hero{background:linear-gradient(120deg,#0f2340,#0755a6 62%,#10bce8);border-radius:14px;padding:22px 24px;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}
.jw-customer-hero h2{margin:3px 0 5px;font-size:22px}
.jw-customer-hero p{margin:0;color:#dff5ff;font-size:12px}
.jw-customer-insights{display:grid;grid-template-columns:2fr 1fr 1fr;gap:12px;margin-bottom:16px}
.jw-customer-insights article{background:#fff;border:1px solid #e2e9f0;border-radius:12px;padding:16px 18px}
.jw-customer-insights span{display:block;color:#64748b;font-size:10px;font-weight:800;text-transform:uppercase}
.jw-customer-insights strong{display:block;margin-top:5px;color:#0f2340;font-size:20px}
.jw-customer-insights small{display:block;margin-top:5px;color:#8a97a7;font-size:10px}
/* ==== HERO DASHBOARD VARIANT ==== */
.jw-dashboard-hero{background:linear-gradient(135deg,#1b2635,#2d3e50);color:#fff;padding:34px 40px;border-radius:16px;margin-bottom:22px;display:flex;justify-content:space-between;align-items:center;gap:24px}
.jw-hero-eyebrow{display:inline-block;background:rgba(239,127,26,.25);color:#ffb27a;padding:6px 12px;border-radius:20px;font-size:11px;font-weight:700}
.jw-dashboard-hero h1{font-size:30px;margin:10px 0 8px}
.jw-dashboard-hero p{margin:0;font-size:14px;opacity:.9}
.jw-hero-actions{display:flex;gap:10px;flex-shrink:0}
.jw-hero-actions .jw-button-primary{background:#ef7f1a}
.jw-hero-actions .jw-button-secondary{background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.25)}
.jw-stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:22px}
.jw-stat-card{background:#fff;border:1px solid var(--border);border-radius:12px;padding:20px;display:flex;align-items:center;gap:14px}
.jw-stat-card .jw-stat-icon{width:52px;height:52px;font-size:24px;color:#fff}
.jw-stat-card.jw-stat-blue .jw-stat-icon{background:linear-gradient(135deg,#3b82f6,#2563eb)}
.jw-stat-card.jw-stat-cyan .jw-stat-icon{background:linear-gradient(135deg,#06b6d4,#0891b2)}
.jw-stat-card.jw-stat-green .jw-stat-icon{background:linear-gradient(135deg,#22c55e,#16a34a)}
.jw-stat-card.jw-stat-orange .jw-stat-icon{background:linear-gradient(135deg,#f97316,#ea580c)}
.jw-stat-content h3{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.05em;margin:0 0 4px}
.jw-stat-content strong{font-size:26px;color:#0f2340;display:block}
.jw-stat-trend{font-size:11px;color:var(--muted);margin-top:4px}
.jw-trend-up{color:#16a34a;font-weight:700}
.jw-quick-stats-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:22px}
.jw-quick-stat{background:#fff;border:1px solid var(--border);border-radius:12px;padding:16px;text-align:center}
.jw-quick-label{display:block;font-size:10px;font-weight:800;color:var(--muted);text-transform:uppercase}
.jw-quick-stat strong{display:block;font-size:28px;color:#0f2340;margin:6px 0 2px}
.jw-quick-stat small{color:var(--muted);font-size:11px}
.jw-dashboard-grid{display:grid;grid-template-columns:2fr 1fr;gap:20px;margin-bottom:20px}
.jw-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px;padding-bottom:12px;border-bottom:1px solid #eef2f7}
.jw-card-header h2{margin:0;font-size:16px;color:#0f2340}
.jw-activity-feed,.jw-field-work-list{list-style:none;margin:0;padding:0}
.jw-activity-item,.jw-field-work-list li{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #eef2f7}
.jw-activity-item:last-child,.jw-field-work-list li:last-child{border-bottom:0}
.jw-activity-icon,.jw-work-icon{width:38px;height:38px;min-width:38px;border-radius:50%;display:grid;place-items:center;font-size:16px;background:#f3f4f6}
.jw-work-icon{border-radius:8px}
.jw-activity-content,.jw-work-content{flex:1}
.jw-activity-content strong,.jw-work-content strong{display:block;font-size:13px;color:#0f2340}
.jw-activity-content span,.jw-work-content span{font-size:12px;color:var(--muted)}
.jw-work-content small{font-size:11px;color:var(--muted)}
.jw-activity-time{font-size:11px;color:var(--muted);font-weight:700}
.jw-badge-gray{background:#f3f4f6;color:#4b5563}
.jw-badge-blue{background:#dbeafe;color:#1d4ed8}
.jw-badge-orange{background:#ffedd5;color:#c2410c}
.jw-badge-green{background:#dcfce7;color:#166534}
.jw-quick-actions-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.jw-quick-action{display:flex;align-items:center;gap:10px;padding:14px;border:1px solid #e5eaf1;border-radius:10px;background:#fbfdff;text-decoration:none;color:inherit}
.jw-quick-action:hover{border-color:#88cef2;background:#eef8ff}
.jw-quick-action-icon{width:36px;height:36px;min-width:36px;border-radius:8px;background:#e8f5ff;color:#0755a6;display:grid;place-items:center;font-size:16px}
.jw-quick-action strong{display:block;font-size:12px;color:#0f2340}
.jw-quick-action small{font-size:10px;color:var(--muted)}
.jw-revenue-summary{text-align:center}
.jw-revenue-chart{display:flex;align-items:flex-end;gap:8px;height:130px;margin-top:14px}
.jw-chart-bar{flex:1;display:flex;flex-direction:column;align-items:center;gap:6px;height:100%;justify-content:flex-end}
.jw-chart-bar span{width:100%;background:linear-gradient(180deg,#ef7f1a,#d96f15);border-radius:4px 4px 0 0;min-height:8px}
.jw-chart-bar small{font-size:10px;color:var(--muted)}
.jw-asset-availability{display:flex;flex-direction:column;gap:14px}
.jw-asset-item{background:#f7f8fa;border-radius:10px;padding:14px}
.jw-asset-header{display:flex;justify-content:space-between;font-size:12px;margin-bottom:8px}
.jw-asset-bar{height:8px;background:#e5e7eb;border-radius:9px;overflow:hidden;display:flex}
.jw-bar-available{background:#22c55e}
.jw-bar-inuse{background:#3b82f6}
.jw-bar-maintenance{background:#f97316}
.jw-asset-legend{display:flex;gap:14px;font-size:10px;color:var(--muted);margin-top:7px}
.jw-asset-legend i{width:8px;height:8px;border-radius:50%;display:inline-block;margin-right:4px}
/* ==== TOPBAR LOGOUT & SEARCH ==== */
.jw-logout-btn{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 14px;background:#fff;color:#b91c1c;border:1px solid #fecaca;border-radius:8px;font-size:12px;font-weight:800;text-decoration:none}
.jw-logout-btn:hover{background:#fef2f2;border-color:#fca5a5}
.jw-topbar-search{position:relative;width:260px}
.jw-topbar-search span{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#7b8794}
.jw-topbar-search input{width:100%;height:40px;border:1px solid var(--border);border-radius:8px;padding:0 12px 0 34px;font:inherit;font-size:12px;background:#fff}
.jw-topbar-search input:focus{outline:0;border-color:#0755a6;box-shadow:0 0 0 3px rgba(7,85,166,.12)}
.jw-user-menu{position:relative}
.jw-dropdown{right:0;top:48px}
.jw-notifications{right:60px;top:73px}
/* ==== GLOBAL FORM POLISH ==== */
.jw-card>h2{font-size:17px;margin:0 0 16px;color:#0f2340}
.jw-card form[method=post] label{display:block;font-size:12px;font-weight:800;color:#374151;margin-bottom:13px}
.jw-card form[method=post] input:not([type=checkbox]):not([type=hidden]),.jw-card form[method=post] select,.jw-card form[method=post] textarea{display:block;width:100%;margin-top:6px;border:1px solid #cfd9e4;border-radius:8px;padding:10px 11px;background:#fff;font:inherit;font-size:12px;box-sizing:border-box}
.jw-card form[method=post] input[type=checkbox]{display:inline-block;width:auto;margin:0 8px 0 0;vertical-align:middle}
.jw-card form[method=post] textarea{resize:vertical;min-height:80px}
.jw-card form[method=post] input:focus,.jw-card form[method=post] select:focus,.jw-card form[method=post] textarea:focus{outline:0;border-color:#1388cf;box-shadow:0 0 0 3px rgba(19,136,207,.12);background:#fcfeff}
.jw-card form[method=post]:not(:has(.jw-form-grid)){display:grid;grid-template-columns:1fr 1fr;gap:0 18px;align-items:start}
.jw-card form[method=post]:not(:has(.jw-form-grid))>h2,.jw-card form[method=post]:not(:has(.jw-form-grid))>.jw-alert,.jw-card form[method=post]:not(:has(.jw-form-grid))>.jw-full,.jw-card form[method=post]:not(:has(.jw-form-grid))>label:has(textarea){grid-column:1/-1}
.jw-card form[method=post]:not(:has(.jw-form-grid))>button{justify-self:start;margin-top:4px}
/* ==== SECTIONED FORM POLISH ==== */
.jw-customer-form{display:grid;gap:18px;max-width:none}
.jw-customer-form>.jw-card{padding:22px}
.jw-form-section-title{display:flex;gap:12px;align-items:flex-start;margin-bottom:20px;padding-bottom:14px;border-bottom:1px solid #edf1f5}
.jw-form-section-title>span{width:36px;height:36px;min-width:36px;border-radius:9px;background:#eaf6ff;color:#0755a6;display:grid;place-items:center;font-size:11px;font-weight:900}
.jw-form-section-title h3{margin:0 0 3px;font-size:16px;color:#0f2340}
.jw-form-section-title p{margin:0;color:#64748b;font-size:11px;line-height:1.5}
.jw-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:22px;row-gap:18px}
.jw-form-grid label{display:flex;flex-direction:column;min-width:0;font-size:11px;font-weight:800;color:#24364d;line-height:1.2}
.jw-form-grid label>span{margin-bottom:8px;font-size:11px;font-weight:800;color:#24364d}
.jw-form-grid input,.jw-form-grid select,.jw-form-grid textarea{display:block;box-sizing:border-box;width:100%;min-height:44px;border:1px solid #cfd9e4;border-radius:9px;padding:11px 12px;font-size:12px;line-height:1.35;color:#0f2340;background:#fff;font-family:inherit}
.jw-form-grid textarea{min-height:92px;resize:vertical}
.jw-form-grid input:focus,.jw-form-grid select:focus,.jw-form-grid textarea:focus{outline:0;border-color:#1388cf;box-shadow:0 0 0 3px rgba(19,136,207,.12);background:#fcfeff}
.jw-form-grid input::placeholder{color:#98a6b5}
.jw-field-wide,.jw-field-full,.jw-form-grid .jw-full{grid-column:1/-1}
.jw-form-grid label:has(>input[type=checkbox]),.jw-check{display:flex;flex-direction:row;align-items:center;gap:8px;font-weight:700}
.jw-form-grid label:has(>input[type=checkbox]) input,.jw-check input{width:auto;min-height:auto;margin:0}
.jw-form-actions{display:flex;justify-content:flex-end;gap:9px;padding-top:6px}
.jw-form-actions .jw-button{min-height:42px;padding:0 18px}
/* ==== RESPONSIVE ==== */
@media(max-width:1050px){.jw-stats-grid,.jw-quick-stats-strip{grid-template-columns:repeat(2,1fr)}.jw-dashboard-grid{grid-template-columns:1fr}.jw-engine-layout{grid-template-columns:1fr}.jw-customer-insights{grid-template-columns:1fr}}
@media(max-width:900px){.jw-topbar-search{display:none}}
@media(max-width:800px){.jw-user-copy{display:none}.jw-logout-btn{padding:0 10px}}
@media(max-width:760px){.jw-form-grid{grid-template-columns:1fr}.jw-field-wide,.jw-field-full,.jw-form-grid .jw-full{grid-column:auto}.jw-form-actions{flex-direction:column-reverse}.jw-form-actions .jw-button{width:100%;justify-content:center}.jw-card form[method=post]:not(:has(.jw-form-grid)){grid-template-columns:1fr}}
@media(max-width:640px){.jw-stats-grid,.jw-quick-stats-strip,.jw-quick-actions-grid{grid-template-columns:1fr}.jw-dashboard-hero{flex-direction:column;align-items:flex-start}}