
#evc-app,#evc-app *{box-sizing:border-box}#evc-app{--gold:#c99a2e;--black:#0b0b0b;--dark:#171717;--bg:#f5f5f3;--card:#fff;--text:#111;--muted:#666;--line:#e5e5e5;--danger:#b42318;--green:#067647;font-family:Tahoma,Arial,sans-serif;color:var(--text);max-width:1220px;margin:28px auto;padding:0 12px;direction:rtl}#evc-app.evc-ltr{direction:ltr;font-family:Arial,Tahoma,sans-serif}#evc-app .evc-shell{background:var(--bg);border-radius:24px;padding:18px;box-shadow:0 18px 55px rgba(0,0,0,.13)}#evc-app .evc-head{display:flex;align-items:center;gap:12px;margin-bottom:16px}#evc-app .evc-logo{width:56px;height:56px;border-radius:17px;background:var(--black);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:900}#evc-app h2,#evc-app h3,#evc-app h4,#evc-app p{margin:0;color:var(--text)}#evc-app h3{font-size:24px;margin-bottom:14px}#evc-app .evc-head p{color:var(--muted);margin-top:3px}#evc-app .evc-lang{margin-right:auto;display:flex;gap:6px}#evc-app.evc-ltr .evc-lang{margin-right:0;margin-left:auto}#evc-app .evc-lang a{background:#fff;color:#111!important;border:1px solid var(--line);padding:8px 11px;border-radius:10px;text-decoration:none;font-weight:800}#evc-app .evc-login{background:#fff;max-width:430px;margin:24px auto;padding:28px;border-radius:20px;border:1px solid var(--line);box-shadow:0 10px 30px rgba(0,0,0,.08)}#evc-app label{display:block;margin:10px 0 6px;color:#111;font-weight:800}#evc-app input,#evc-app select,#evc-app textarea{width:100%;background:#fff!important;color:#111!important;border:1px solid #cfcfcf!important;border-radius:12px!important;padding:11px!important;outline:none;min-height:42px}#evc-app textarea{min-height:86px}#evc-app button,#evc-app .evc-btn,#evc-app .evc-mini{background:var(--gold);color:#111!important;border:0;border-radius:12px;padding:10px 16px;font-weight:900;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:6px}#evc-app .evc-secondary{background:#111;color:#fff!important}#evc-app .evc-danger-btn{background:#fee4e2;color:#912018!important}#evc-app .evc-login button{width:100%;margin-top:16px}#evc-app .evc-alert{padding:12px;border-radius:12px;margin:10px auto;max-width:430px}.evc-danger{background:#ffe8e8;color:#8a0000!important}#evc-app .evc-userbar{display:flex;justify-content:space-between;align-items:center;background:#111;color:#fff;border-radius:14px;padding:12px 14px;margin-bottom:12px}#evc-app .evc-userbar span,#evc-app .evc-userbar a,#evc-app .evc-userbar small{color:#fff!important}#evc-app .evc-tabs{display:flex;gap:8px;overflow-x:auto;background:#111;border-radius:16px;padding:10px;margin-bottom:16px}#evc-app .evc-tabs a{background:#2b2b2b;color:#fff!important;white-space:nowrap;text-decoration:none;border-radius:12px;padding:11px 16px;font-weight:900}#evc-app .evc-tabs a.active{background:var(--gold);color:#111!important}#evc-app .evc-panel{background:#fff;border:1px solid var(--line);border-radius:20px;padding:18px}#evc-app .evc-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:14px 0}#evc-app .evc-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px;box-shadow:0 8px 24px rgba(0,0,0,.045)}#evc-app .evc-card span{font-size:26px}#evc-app .evc-card strong{display:block;font-size:34px;color:#111;margin-top:12px}#evc-app .evc-card p{color:#555;margin-top:5px}#evc-app .evc-table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:14px;background:#fff;margin-top:12px}#evc-app table{width:100%;border-collapse:collapse;background:#fff;color:#111}#evc-app th,#evc-app td{padding:12px;border-bottom:1px solid var(--line);text-align:right;color:#111;vertical-align:top}#evc-app.evc-ltr th,#evc-app.evc-ltr td{text-align:left}#evc-app th{background:#f4f4f4;font-weight:900}#evc-app .evc-box{background:#fafafa;border:1px solid var(--line);border-radius:16px;padding:16px;margin-top:14px;line-height:1.9}#evc-app .evc-details{background:#fafafa;border:1px solid var(--line);border-radius:16px;padding:14px;margin:14px 0}#evc-app .evc-details summary{cursor:pointer;font-weight:900;color:#111}#evc-app .evc-form-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:12px}#evc-app .evc-form-grid .wide,#evc-app .wide{grid-column:1/-1}#evc-app .evc-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}#evc-app .evc-inline{display:flex;gap:8px;align-items:center;margin-top:8px;flex-wrap:wrap}#evc-app .evc-question{display:grid;grid-template-columns:minmax(220px,1fr) auto;gap:12px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:14px;padding:11px 12px;margin-bottom:8px}#evc-app .evc-options{display:flex;gap:8px;flex-wrap:wrap}#evc-app .evc-pill{display:inline-flex;align-items:center;gap:6px;background:#f7f7f7;border:1px solid var(--line);border-radius:999px;padding:7px 10px;font-weight:800}#evc-app .evc-pill input{width:auto;min-height:auto;margin:0}#evc-app .evc-check-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}#evc-app .evc-check{background:#fff;border:1px solid var(--line);border-radius:12px;padding:10px;display:flex;gap:7px;align-items:center;font-weight:800}#evc-app .evc-check input{width:auto;min-height:auto}#evc-app .evc-dvm td:not(:first-child),#evc-app .evc-dvm th:not(:first-child){text-align:center}#evc-app .evc-tech-row{background:#fafafa;border:1px solid var(--line);border-radius:12px;padding:10px;margin-bottom:8px}#evc-app .evc-request{border:1px dashed #d6bbfb;background:#f9f5ff;border-radius:12px;padding:10px;margin-top:8px}#evc-app .evc-badge{display:inline-flex;border-radius:999px;padding:4px 9px;background:#eee;font-size:12px;font-weight:900}.evc-badge.green{background:#dcfae6;color:#067647}.evc-badge.red{background:#fee4e2;color:#b42318}.evc-badge.gold{background:#fef0c7;color:#93370d}@media(max-width:900px){#evc-app .evc-grid,#evc-app .evc-form-grid,#evc-app .evc-check-grid{grid-template-columns:1fr 1fr}#evc-app .evc-two{grid-template-columns:1fr}}@media(max-width:620px){#evc-app{margin:16px auto;padding:0 8px}#evc-app .evc-shell{padding:12px;border-radius:16px}#evc-app .evc-head h2{font-size:20px}#evc-app .evc-lang{margin:0;display:flex}#evc-app .evc-userbar{display:block;line-height:2}#evc-app .evc-tabs{position:sticky;top:0;z-index:5;border-radius:12px}#evc-app .evc-grid,#evc-app .evc-form-grid,#evc-app .evc-check-grid{grid-template-columns:1fr}#evc-app .evc-card{padding:15px}#evc-app .evc-question{grid-template-columns:1fr;gap:8px}#evc-app .evc-options{justify-content:flex-start}#evc-app th,#evc-app td{padding:9px;font-size:13px}#evc-app .evc-panel{padding:13px}}

/* v1.2 hard isolation: prevent theme colors from hiding text */
#evc-app input,#evc-app select,#evc-app textarea,#evc-app option,
#evc-app input[type="text"],#evc-app input[type="email"],#evc-app input[type="password"],#evc-app input[type="number"]{
  color:#111111!important;background:#ffffff!important;-webkit-text-fill-color:#111111!important;caret-color:#111111!important;
}
#evc-app input::placeholder,#evc-app textarea::placeholder{color:#777777!important;opacity:1!important;-webkit-text-fill-color:#777777!important}
#evc-app .evc-warning{background:#fff7d6!important;color:#7a4b00!important;border:1px solid #f4d27a!important}
#evc-app .evc-role-presets{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}
#evc-app .evc-role-presets>div{background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px}
#evc-app .evc-mini-details summary{cursor:pointer;font-weight:900;color:#111;background:#f4f4f4;border-radius:10px;padding:8px}
#evc-app .evc-employee-edit{min-width:520px;max-width:760px;padding-top:10px}
#evc-app .evc-custom-toggle{border-color:var(--gold);background:#fff8e6}
@media(max-width:700px){#evc-app .evc-role-presets{grid-template-columns:1fr}#evc-app .evc-employee-edit{min-width:280px}}

/* v1.6 employee guide and clean mobile cards */
#evc-app .evc-guide-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:14px}
#evc-app .evc-file-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px;display:flex;flex-direction:column;gap:8px;box-shadow:0 6px 18px rgba(0,0,0,.04)}
#evc-app .evc-file-card b{color:#111}
#evc-app .evc-file-card small{color:#666}
#evc-app .evc-file-card a{background:#111;color:#fff!important;text-decoration:none;border-radius:10px;padding:9px 12px;text-align:center;font-weight:900}
@media(max-width:900px){#evc-app .evc-guide-grid{grid-template-columns:1fr 1fr}}
@media(max-width:620px){#evc-app .evc-guide-grid{grid-template-columns:1fr}#evc-app .evc-file-card{padding:12px}#evc-app .evc-inline{display:grid;grid-template-columns:1fr;gap:8px}}

/* v1.8 mobile and notification polish */
#evc-app .evc-notify{display:inline-flex;align-items:center;gap:6px;background:#2b2b2b;color:#fff!important;text-decoration:none;border-radius:999px;padding:8px 12px;font-weight:900;margin-inline:8px}
#evc-app .evc-notify span{background:#777;color:#fff!important;border-radius:999px;min-width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;font-size:12px}
#evc-app .evc-notify.has-unread{background:#b42318!important;animation:evcPulse 1.1s infinite}
#evc-app .evc-notify.has-unread span{background:#fff;color:#b42318!important}
#evc-app .evc-notice-row{display:block;text-decoration:none;color:#111!important;border-right:5px solid #b42318}
#evc-app .evc-filter{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin:12px 0;background:#fafafa;border:1px solid var(--line);padding:12px;border-radius:14px}
#evc-app .evc-report-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:10px}
#evc-app .evc-report-tabs .active{background:#111!important;color:#fff!important}
#evc-app .evc-card{cursor:pointer}
#evc-app .evc-cancel-form{border:1px solid #fda29b;background:#fff1f0;border-radius:14px;padding:10px;margin-top:10px}
@keyframes evcPulse{0%{transform:scale(1)}50%{transform:scale(1.06)}100%{transform:scale(1)}}
@media(max-width:620px){
  #evc-app .evc-head{align-items:flex-start;flex-wrap:wrap}
  #evc-app .evc-userbar{display:grid;grid-template-columns:1fr;gap:8px}
  #evc-app .evc-notify{justify-content:center;width:100%;margin:0}
  #evc-app .evc-tabs{display:grid;grid-template-columns:1fr 1fr;gap:7px;position:relative;top:auto;overflow:visible}
  #evc-app .evc-tabs a{font-size:13px;padding:10px 8px;text-align:center;justify-content:center;display:flex}
  #evc-app .evc-filter{grid-template-columns:1fr}
  #evc-app .evc-table-wrap{border:0;background:transparent;overflow:visible}
  #evc-app .evc-table-wrap table,#evc-app .evc-table-wrap thead,#evc-app .evc-table-wrap tbody,#evc-app .evc-table-wrap th,#evc-app .evc-table-wrap td,#evc-app .evc-table-wrap tr{display:block;width:100%}
  #evc-app .evc-table-wrap thead{display:none}
  #evc-app .evc-table-wrap tr{background:#fff;border:1px solid var(--line);border-radius:14px;margin:10px 0;padding:8px;box-shadow:0 4px 14px rgba(0,0,0,.04)}
  #evc-app .evc-table-wrap td{border:0!important;border-bottom:1px solid #eee!important;padding:8px!important;white-space:normal!important}
  #evc-app .evc-table-wrap td:last-child{border-bottom:0!important}
  #evc-app button,#evc-app .evc-btn,#evc-app .evc-mini{width:100%;min-height:44px}
}

/* v1.9 notifications, technician view, clickable reports, mobile refinement */
#evc-app .evc-tab-badge{background:#b42318;color:#fff!important;border-radius:999px;padding:2px 7px;margin-inline-start:5px;font-size:12px;display:inline-flex;min-width:20px;justify-content:center}
#evc-app .evc-info{background:#eef4ff!important;color:#1849a9!important;border:1px solid #b2ccff!important}
#evc-app .evc-notice-row.unread{background:#fff1f0!important;border-right:7px solid #b42318!important;box-shadow:0 6px 22px rgba(180,35,24,.12)}
#evc-app.evc-ltr .evc-notice-row.unread{border-right:1px solid var(--line)!important;border-left:7px solid #b42318!important}
#evc-app .evc-summary-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:12px}
#evc-app .evc-summary-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px;line-height:1.9}
#evc-app .evc-summary-card h4{margin-bottom:8px;color:#111}
#evc-app .evc-card-link{text-decoration:none;color:#111!important;display:block}
#evc-app .evc-card-link small{display:block;margin-top:8px;color:#666;font-weight:800}
#evc-app .evc-report-tabs{align-items:center}
@media(max-width:760px){
  #evc-app .evc-summary-grid{grid-template-columns:1fr}
  #evc-app .evc-head{gap:8px}
  #evc-app .evc-head .evc-logo{width:48px;height:48px}
  #evc-app .evc-card strong{font-size:28px}
  #evc-app .evc-report-tabs{display:grid;grid-template-columns:1fr 1fr}
  #evc-app .evc-report-tabs a{width:100%}
  #evc-app .evc-form-grid{gap:8px}
  #evc-app .evc-summary-card p{font-size:14px}
}
@media(max-width:420px){
  #evc-app .evc-tabs{grid-template-columns:1fr}
  #evc-app .evc-report-tabs{grid-template-columns:1fr}
}

/* v2.0: stronger mobile/card/readability fixes */
#evc-app .evc-help{display:block;color:#666;margin-top:6px;font-weight:700}
#evc-app .evc-summary-card p{border-bottom:1px dashed #eee;padding-bottom:6px;margin-bottom:6px}
#evc-app .evc-summary-card p:last-child{border-bottom:0}
#evc-app .evc-order>h3{background:#111;color:#fff!important;border-radius:14px;padding:12px;margin:12px 0}
#evc-app .evc-order>h3 *{color:#fff!important}
#evc-app .evc-tech-row b{display:block;font-size:15px;margin-bottom:4px;color:#111!important}
#evc-app .evc-tech-row small{color:#555!important}
#evc-app .evc-notify.has-unread{position:relative}
#evc-app .evc-notify.has-unread:after{content:"";position:absolute;inset:-3px;border:2px solid #b42318;border-radius:999px;animation:evcRing 1.4s infinite}
@keyframes evcRing{0%{opacity:.9;transform:scale(1)}100%{opacity:0;transform:scale(1.18)}}
@media(max-width:620px){
  #evc-app .evc-order>h3{font-size:18px;line-height:1.5}
  #evc-app .evc-details{padding:10px}
  #evc-app .evc-question b{font-size:14px}
  #evc-app .evc-pill{justify-content:center}
  #evc-app .evc-dvm td:first-child{font-weight:800;background:#fafafa;border-radius:8px;margin-bottom:6px}
  #evc-app .evc-summary-card{padding:12px}
  #evc-app input[list]{font-size:16px}
}
/* v2.2 hardening: technician media/notes + mobile readability */
.evc-media-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px;margin-top:14px}
.evc-media-card{background:#fff;border:1px solid #e8e8e8;border-radius:14px;padding:10px;overflow:hidden}
.evc-media-card img,.evc-media-card video{width:100%;max-height:180px;object-fit:cover;border-radius:10px;background:#eee;display:block}
.evc-note-form textarea,.evc-media-form input,.evc-media-form select{width:100%}
.evc-notify.has-unread{background:#b30000!important;color:#fff!important;animation:evcPulse 1.1s infinite}
.evc-notify.has-unread span,.evc-tab-badge{background:#fff!important;color:#b30000!important;border-radius:999px;padding:2px 7px;margin-inline-start:5px;font-weight:800}
@keyframes evcPulse{0%{box-shadow:0 0 0 0 rgba(179,0,0,.45)}70%{box-shadow:0 0 0 10px rgba(179,0,0,0)}100%{box-shadow:0 0 0 0 rgba(179,0,0,0)}}
@media(max-width:720px){
  #evc-app .evc-shell{padding:8px!important}
  #evc-app .evc-head{gap:8px!important;align-items:flex-start!important}
  #evc-app .evc-tabs{display:flex!important;overflow-x:auto!important;gap:8px!important;padding-bottom:8px!important;white-space:nowrap!important}
  #evc-app .evc-form-grid,#evc-app .evc-two,#evc-app .evc-summary-grid,#evc-app .evc-grid{grid-template-columns:1fr!important;display:grid!important}
  #evc-app .evc-table-wrap table,#evc-app .evc-table-wrap thead,#evc-app .evc-table-wrap tbody,#evc-app .evc-table-wrap tr,#evc-app .evc-table-wrap td,#evc-app .evc-table-wrap th{display:block!important;width:100%!important}
  #evc-app .evc-table-wrap thead{display:none!important}
  #evc-app .evc-table-wrap tr{background:#fff;border:1px solid #e5e5e5;border-radius:14px;margin:10px 0;padding:10px}
  #evc-app .evc-table-wrap td{border:0!important;padding:7px 4px!important}
  #evc-app button,#evc-app .evc-mini,#evc-app .evc-secondary,#evc-app .evc-danger-btn{width:100%;margin:4px 0;text-align:center}
  .evc-media-grid{grid-template-columns:1fr 1fr}
}

/* v2.5 fixes */
#evc-app .evc-supervisor-final{border:2px solid #c99a2e;}
#evc-app .evc-pending-in-card{border:2px solid #c0392b;}
#evc-app .evc-request-inline{background:#fff8f8;border:1px solid #f2c2c2;}
#evc-app .evc-tech-row b,#evc-app table td,#evc-app table th{color:#111!important;}
#evc-app .evc-notify.has-unread{background:#b90000!important;color:#fff!important;animation:evcBellPulse 1s infinite;}
@keyframes evcBellPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.04)}}
@media(max-width:768px){#evc-app .evc-order h3{font-size:18px}#evc-app .evc-supervisor-final .evc-inline,#evc-app .evc-cancel-form{display:block;width:100%;margin:8px 0}#evc-app .evc-supervisor-final button{width:100%}}

/* v2.7: force technician names visible and protect financial columns from theme styles */
#evc-app .evc-tech-name,#evc-app .evc-tech-name a{color:#111!important;font-weight:900!important;opacity:1!important;visibility:visible!important;display:table-cell;}
#evc-app .evc-tech-name a{display:inline-flex!important;background:#fff!important;border:1px solid #e5e5e5;border-radius:10px;padding:6px 10px;text-decoration:none!important;}
#evc-app .evc-table-wrap td,#evc-app .evc-table-wrap th{color:#111!important;}

/* v3.0 accounting/readability polish */
#evc-app .evc-money,
#evc-app .evc-money a,
#evc-app .evc-report-link,
#evc-app td.evc-revenue,
#evc-app td.evc-material,
#evc-app td.evc-labor,
#evc-app td.evc-operating,
#evc-app td.evc-cost{
  color:#111!important;
  -webkit-text-fill-color:#111!important;
  opacity:1!important;
  visibility:visible!important;
  font-weight:900!important;
}
#evc-app .evc-report-link{background:#fff;border-bottom:2px solid #c99a2e;text-decoration:none!important;padding:2px 4px;border-radius:4px}
#evc-app .evc-profit,#evc-app .evc-profit strong{color:#067647!important;-webkit-text-fill-color:#067647!important;font-weight:900!important}
#evc-app .evc-loss,#evc-app .evc-loss strong{color:#b42318!important;-webkit-text-fill-color:#b42318!important;font-weight:900!important}
#evc-app tr:hover td{background:#fffdf6!important}
#evc-app .evc-table-wrap td{opacity:1!important;text-shadow:none!important}


#evc-app .evc-brand-preview{max-width:220px;max-height:140px;object-fit:contain;border:1px solid var(--line);border-radius:14px;background:#fff;padding:8px}
#evc-app .evc-money,#evc-app .evc-revenue,#evc-app .evc-cost{color:#111!important;font-weight:800}
#evc-app .evc-profit-pos{color:#067647!important;font-weight:900}
#evc-app .evc-profit-neg{color:#b42318!important;font-weight:900}

/* v3.4: required technician selection clarity */
.evc-field-title{font-weight:800;color:#111;margin:10px 0 6px}
.evc-tech-choice{border:1px solid #e5e7eb;background:#fff;border-radius:10px;padding:10px 12px;display:inline-flex;align-items:center;gap:8px;margin:4px 6px 4px 0;color:#111}
.evc-tech-choice input{accent-color:#c89b3c}

/* v3.10 intake/service updates */
.evc-intake-section{border:1px solid rgba(148,163,184,.35);border-radius:14px;padding:12px;margin:10px 0;background:rgba(15,23,42,.03)}
.evc-field-title{font-weight:700;margin:12px 0 6px;color:#0f172a}
.evc-success{background:#ecfdf5;border-color:#10b981;color:#065f46}
.evc-form-grid [data-service-price]{max-width:220px}

/* v3.11 service picker */
.evc-service-picker{position:relative;min-width:260px;width:100%;}
.evc-service-picker input[type="search"]{width:100%;}
.evc-service-dropdown{display:none;position:absolute;z-index:50;top:100%;right:0;left:0;max-height:320px;overflow:auto;background:#fff;border:1px solid #d7dce3;border-radius:14px;box-shadow:0 14px 34px rgba(15,23,42,.18);padding:6px;margin-top:6px;}
.evc-service-picker.is-open .evc-service-dropdown{display:block;}
.evc-service-option{display:block;width:100%;text-align:start;background:#fff;border:0;border-bottom:1px solid #eef1f5;padding:12px 10px;cursor:pointer;color:#111827;}
.evc-service-option:hover,.evc-service-option:focus{background:#f4f7fb;}
.evc-service-main{display:block;font-weight:700;font-size:14px;}
.evc-service-meta,.evc-service-alt{display:block;font-size:12px;color:#667085;margin-top:3px;}
.evc-empty-service{padding:12px;color:#667085;}
.evc-price-edit{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin-bottom:6px;}
.evc-price-edit input{max-width:120px;}
.evc-service-delete{margin-top:4px;}
@media(max-width:700px){.evc-service-dropdown{position:fixed;top:18%;left:12px;right:12px;max-height:62vh}.evc-service-option{padding:14px 12px}.evc-service-main{font-size:15px}}

/* v3.12: service picker and in-card service actions hardening */
#evc-app .evc-add-service-form{border:2px solid #d0a23a;background:#fffdf5;border-radius:16px;padding:12px}
#evc-app .evc-service-picker{position:relative;min-width:260px;width:100%;z-index:20}
#evc-app .evc-service-picker input[type="search"]{width:100%;min-height:48px;font-size:16px;border:2px solid #d0d5dd;border-radius:12px;background:#fff;color:#111}
#evc-app .evc-service-picker.is-open input[type="search"]{border-color:#c89b3c;box-shadow:0 0 0 4px rgba(200,155,60,.14)}
#evc-app .evc-service-dropdown{display:none;position:absolute;z-index:9999;top:calc(100% + 6px);right:0;left:0;max-height:360px;overflow:auto;background:#fff;border:2px solid #d0d5dd;border-radius:16px;box-shadow:0 18px 45px rgba(15,23,42,.22);padding:8px;margin-top:0}
#evc-app .evc-service-picker.is-open .evc-service-dropdown{display:block}
#evc-app .evc-service-list-title{position:sticky;top:0;background:#fff;padding:10px;border-bottom:1px solid #eef1f5;font-weight:900;color:#111;z-index:2}
#evc-app .evc-service-option{display:block!important;width:100%!important;text-align:start!important;background:#fff!important;border:0!important;border-bottom:1px solid #eef1f5!important;padding:13px 10px!important;cursor:pointer!important;color:#111827!important;min-height:54px!important}
#evc-app .evc-service-option[hidden]{display:none!important}
#evc-app .evc-service-option:hover,#evc-app .evc-service-option:focus{background:#fff7e6!important;outline:2px solid rgba(200,155,60,.25)}
#evc-app .evc-service-main{display:block;font-weight:900;font-size:15px;color:#111!important}
#evc-app .evc-service-meta{display:block;font-size:12px;color:#667085;margin-top:3px}
#evc-app .evc-no-service-results{padding:14px;color:#b42318;font-weight:800;text-align:center}
#evc-app .evc-price-edit input{min-width:130px;max-width:180px;border:2px solid #d0d5dd;border-radius:10px;font-weight:900}
#evc-app .evc-service-delete .evc-danger-btn{background:#b42318!important;color:#fff!important}
@media(max-width:700px){
  #evc-app .evc-service-picker{position:static}
  #evc-app .evc-service-dropdown{position:fixed;top:88px;left:10px;right:10px;max-height:70vh;border-radius:18px;padding:8px;z-index:100000}
  #evc-app .evc-service-option{padding:15px 12px!important;min-height:60px!important}
  #evc-app .evc-service-main{font-size:16px}
  #evc-app .evc-price-edit{display:grid!important;grid-template-columns:1fr!important;gap:6px!important}
  #evc-app .evc-price-edit input{max-width:none;width:100%}
}

/* v3.13: service names are intentionally bold in picker, order cards, and settings */
#evc-app .evc-service-name,
#evc-app .evc-service-main{
  font-weight: 900 !important;
  color: #101828 !important;
}
#evc-app .evc-service-option .evc-service-main{
  font-size: 16px !important;
  line-height: 1.35 !important;
}

/* v3.14: mobile service picker with visible search field */
@media(max-width:700px){
  #evc-app .evc-service-picker.is-open input[type="search"]{
    position:fixed!important;
    top:20px!important;
    left:10px!important;
    right:10px!important;
    width:calc(100vw - 20px)!important;
    z-index:100002!important;
    background:#fff!important;
    box-shadow:0 14px 30px rgba(15,23,42,.22)!important;
  }
  #evc-app .evc-service-picker.is-open .evc-service-dropdown{
    top:82px!important;
    left:10px!important;
    right:10px!important;
    max-height:calc(100vh - 100px)!important;
  }
  #evc-app .evc-service-list-title::after{
    content:" — اكتب أي حرف للبحث";
    color:#667085;
    font-weight:700;
  }
}


/* v3.15: technician diagnostic report redesign */
#evc-app .evc-tech-report{border:2px solid #d0a23a;background:#fffdf5}
#evc-app .evc-diagnostic-report{display:grid;gap:12px;margin-top:10px}
#evc-app .evc-diag-head{display:flex;justify-content:space-between;align-items:center;gap:10px;background:#101828;color:#fff;border-radius:16px;padding:14px 16px}
#evc-app .evc-diag-head h4{color:#fff!important;margin:0;font-size:18px;font-weight:900}
#evc-app .evc-diag-head span{background:#fff;color:#101828;border-radius:999px;padding:6px 12px;font-weight:900;font-size:13px}
#evc-app .evc-diag-block{background:#fff;border:1px solid #e6e8ef;border-radius:16px;padding:12px 14px;box-shadow:0 6px 18px rgba(16,24,40,.05)}
#evc-app .evc-diag-block h5{margin:0 0 8px;font-size:15px;font-weight:900;color:#101828;border-bottom:1px solid #eef1f5;padding-bottom:7px}
#evc-app .evc-diag-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px}
#evc-app .evc-diag-list li{display:flex;align-items:center;gap:8px;background:#f9fafb;border:1px solid #eef1f5;border-radius:12px;padding:9px 10px;color:#111827}
#evc-app .evc-diag-list li span{font-size:15px;line-height:1}
#evc-app .evc-diag-list li b{font-weight:900;color:#111827;line-height:1.45}
#evc-app .evc-diag-note{display:flex;gap:8px;align-items:flex-start;line-height:1.7;font-weight:800;color:#111827;white-space:normal}
#evc-app .evc-diag-skip{border-color:#f4c044;background:#fff8e1}
#evc-app .evc-diag-foot{font-size:12px;color:#667085;text-align:end;padding:4px 2px;font-weight:700}
@media(max-width:700px){
  #evc-app .evc-diag-head{display:block;text-align:start}
  #evc-app .evc-diag-head span{display:inline-block;margin-top:8px}
  #evc-app .evc-diag-list{grid-template-columns:1fr}
}


/* v3.23 ERP stable old UI polish: mobile completeness, report colors, notification visibility */
#evc-app{width:100%;max-width:1220px}
#evc-app *{box-sizing:border-box}
#evc-app .evc-notify{position:relative}
#evc-app .evc-notify.has-unread,
#evc-app .evc-tab-badge{
  background:#fff7d6!important;
  color:#7a4b00!important;
  border:1px solid #c99a2e!important;
  font-weight:900!important;
}
#evc-app .evc-notify.has-unread span,
#evc-app .evc-tab-badge{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:22px!important;
  height:22px!important;
  border-radius:999px!important;
  background:#b42318!important;
  color:#fff!important;
  margin-inline-start:6px!important;
  padding:0 6px!important;
}
#evc-app .evc-money-pos,
#evc-app .evc-profit,
#evc-app .profit,
#evc-app [data-money="profit"]{
  color:#067647!important;
  background:#dcfae6!important;
  border-radius:8px!important;
  padding:3px 7px!important;
  font-weight:900!important;
}
#evc-app .evc-money-neg,
#evc-app .evc-loss,
#evc-app .loss,
#evc-app [data-money="loss"]{
  color:#b42318!important;
  background:#fee4e2!important;
  border-radius:8px!important;
  padding:3px 7px!important;
  font-weight:900!important;
}
#evc-app table{max-width:100%}
#evc-app .evc-table-wrap,
#evc-app .evc-report-table,
#evc-app .evc-scroll,
#evc-app .evc-table-scroll{
  overflow-x:auto!important;
  -webkit-overflow-scrolling:touch!important;
}
#evc-app .evc-table-wrap table,
#evc-app .evc-report-table table,
#evc-app .evc-scroll table,
#evc-app .evc-table-scroll table{
  min-width:760px;
}
#evc-app .evc-smart-suggest{
  display:none;
  margin-top:5px;
  background:#dcfae6;
  color:#067647;
  border:1px solid #10b981;
  border-radius:10px;
  padding:6px 8px;
  font-size:12px;
  font-weight:800;
}
@media(max-width:760px){
  #evc-app{
    margin:0 auto!important;
    padding:0 6px!important;
    font-size:14px!important;
  }
  #evc-app .evc-shell{
    border-radius:16px!important;
    padding:10px!important;
    box-shadow:none!important;
  }
  #evc-app .evc-head{
    display:grid!important;
    grid-template-columns:48px 1fr!important;
    gap:8px!important;
    align-items:center!important;
  }
  #evc-app .evc-logo{
    width:48px!important;
    height:48px!important;
    border-radius:14px!important;
  }
  #evc-app h3{font-size:20px!important}
  #evc-app .evc-userbar{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
  }
  #evc-app .evc-tabs{
    position:sticky!important;
    top:0!important;
    z-index:40!important;
    overflow-x:auto!important;
    flex-wrap:nowrap!important;
    -webkit-overflow-scrolling:touch!important;
    padding:8px!important;
    gap:8px!important;
  }
  #evc-app .evc-tabs a,
  #evc-app .evc-tab{
    white-space:nowrap!important;
    flex:0 0 auto!important;
  }
  #evc-app input,
  #evc-app select,
  #evc-app textarea,
  #evc-app button{
    font-size:16px!important;
    max-width:100%!important;
  }
  #evc-app .evc-form-grid,
  #evc-app .evc-grid,
  #evc-app .evc-cards,
  #evc-app .evc-report-cards{
    grid-template-columns:1fr!important;
  }
  #evc-app .evc-card,
  #evc-app .evc-box,
  #evc-app .evc-order,
  #evc-app .evc-panel{
    border-radius:14px!important;
    padding:12px!important;
    margin:10px 0!important;
  }
  #evc-app details summary{
    min-height:44px!important;
    display:flex!important;
    align-items:center!important;
  }
}
@media(max-width:420px){
  #evc-app .evc-tabs a,
  #evc-app .evc-tab{
    padding:9px 11px!important;
    font-size:13px!important;
  }
}


/* v3.24 full requirements patch */
#evc-app .evc-notify{font-size:15px!important}
#evc-app .evc-notify.has-unread{
  background:#fee4e2!important;
  color:#b42318!important;
  border-color:#fda29b!important;
  animation:evcBellPulse 1.2s infinite;
}
@keyframes evcBellPulse{0%{box-shadow:0 0 0 0 rgba(180,35,24,.35)}70%{box-shadow:0 0 0 8px rgba(180,35,24,0)}100%{box-shadow:0 0 0 0 rgba(180,35,24,0)}}
#evc-app .evc-money.evc-profit,
#evc-app td.evc-profit,
#evc-app span.evc-profit{color:#067647!important;background:#dcfae6!important;border-radius:8px!important;padding:4px 8px!important;font-weight:900!important}
#evc-app .evc-money.evc-loss,
#evc-app td.evc-loss,
#evc-app span.evc-loss{color:#b42318!important;background:#fee4e2!important;border-radius:8px!important;padding:4px 8px!important;font-weight:900!important}
#evc-app .evc-smart-suggest{display:none;margin-top:5px;background:#dcfae6;color:#067647;border:1px solid #10b981;border-radius:10px;padding:6px 8px;font-size:12px;font-weight:800}
#evc-app .evc-table-wrap{overflow-x:auto!important;-webkit-overflow-scrolling:touch!important}
#evc-app .evc-table-wrap table{min-width:780px}
#evc-app .evc-lang{display:flex!important;gap:6px!important;flex-wrap:wrap!important}
#evc-app .evc-lang a{background:#fff7d6!important;color:#7a4b00!important;border:1px solid #c99a2e!important;border-radius:999px!important;padding:7px 12px!important;text-decoration:none!important;font-weight:900!important}
@media(max-width:760px){
  #evc-app .evc-head{grid-template-columns:46px 1fr!important}
  #evc-app .evc-head .evc-lang{grid-column:1/-1;justify-content:center}
  #evc-app .evc-userbar{display:grid!important;grid-template-columns:1fr!important}
  #evc-app .evc-notify{justify-content:center!important;text-align:center!important}
  #evc-app .evc-report-tabs{overflow-x:auto!important;flex-wrap:nowrap!important}
  #evc-app .evc-report-tabs a{white-space:nowrap!important;flex:0 0 auto!important}
  #evc-app .evc-table-wrap table{min-width:920px}
}


/* v3.25 dashboard/customer/return enhancements */
#evc-app .evc-dashboard-cards{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))!important}
#evc-app .evc-dash-card{
  border:0!important;
  color:#111!important;
  min-height:112px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  gap:5px!important;
  border-radius:18px!important;
  box-shadow:0 8px 20px rgba(16,24,40,.08)!important;
}
#evc-app .evc-dash-card strong{font-size:30px!important;line-height:1!important}
#evc-app .evc-dash-card p{font-weight:900!important;margin:0!important}
#evc-app .evc-dash-icon{font-size:24px!important}
#evc-app .dash-inside{background:#eef4ff!important;border-right:6px solid #1849a9!important}
#evc-app .dash-new{background:#f9fafb!important;border-right:6px solid #667085!important}
#evc-app .dash-progress{background:#dcfae6!important;border-right:6px solid #067647!important}
#evc-app .dash-wait{background:#fef0c7!important;border-right:6px solid #93370d!important}
#evc-app .dash-ready{background:#fff7d6!important;border-right:6px solid #c99a2e!important}
#evc-app .dash-return{background:#f9f5ff!important;border-right:6px solid #7a4b00!important}
#evc-app .dash-delivered{background:#f4f4f4!important;border-right:6px solid #777!important}
#evc-app .dash-cancel{background:#fee4e2!important;border-right:6px solid #b42318!important}
#evc-app .dash-orders{background:#eef4ff!important;border-right:6px solid #1849a9!important}
#evc-app .dash-services{background:#ecfdf5!important;border-right:6px solid #067647!important}
#evc-app .dash-hours{background:#fff7e6!important;border-right:6px solid #c99a2e!important}
#evc-app .dash-month{background:#f9f5ff!important;border-right:6px solid #7a4b00!important}
#evc-app .evc-mini-list{list-style:none!important;margin:10px 0 0!important;padding:0!important}
#evc-app .evc-mini-list li{display:flex!important;justify-content:space-between!important;gap:10px!important;padding:8px 0!important;border-bottom:1px solid #eee!important}
#evc-app .evc-return-box{border-right:5px solid #c99a2e!important}
#evc-app .evc-customer-upload{border-right:5px solid #067647!important;background:#ecfdf5!important}
@media(max-width:760px){
  #evc-app .evc-dashboard-cards{grid-template-columns:1fr 1fr!important}
  #evc-app .evc-dash-card{min-height:96px!important;padding:12px!important}
  #evc-app .evc-dash-card strong{font-size:25px!important}
}
@media(max-width:420px){
  #evc-app .evc-dashboard-cards{grid-template-columns:1fr!important}
}


/* v3.26 reports/language fixes */
#evc-app.evc-lang-ar{direction:rtl!important}
#evc-app.evc-lang-ar .evc-report-tabs,
#evc-app.evc-lang-ar .evc-filter,
#evc-app.evc-lang-ar .evc-actions{direction:rtl!important}
#evc-app .evc-material,
#evc-app .evc-money.evc-material{
  color:#7a4b00!important;
  background:#fff7d6!important;
  border-radius:8px!important;
  padding:4px 8px!important;
  font-weight:900!important;
}
#evc-app .evc-card strong.evc-profit{color:#067647!important;background:#dcfae6!important;border-radius:8px!important;padding:4px 8px!important}
#evc-app .evc-card strong.evc-loss{color:#b42318!important;background:#fee4e2!important;border-radius:8px!important;padding:4px 8px!important}
#evc-app .evc-report-link{font-weight:900;text-decoration:underline}


/* v3.27 install/lang */
#evc-app.evc-lang-en{direction:ltr!important;text-align:left!important}
#evc-app.evc-lang-en table th,
#evc-app.evc-lang-en table td{text-align:left!important}
#evc-app.evc-lang-en .evc-head,
#evc-app.evc-lang-en .evc-tabs,
#evc-app.evc-lang-en .evc-filter,
#evc-app.evc-lang-en .evc-actions{direction:ltr!important}
#evc-app.evc-lang-ar{direction:rtl!important;text-align:right!important}
#evc-app.evc-lang-ar table th,
#evc-app.evc-lang-ar table td{text-align:right!important}


/* v3.28 strict language/permissions */
#evc-app .evc-service-media-upload{margin-top:10px!important;background:#f9fafb!important;border:1px dashed #c99a2e!important;border-radius:12px!important;padding:8px!important}
#evc-app .evc-service-media-upload input[type=file]{max-width:220px}
#evc-app .evc-return-required{border:2px solid #c99a2e!important;border-radius:14px!important;padding:8px!important;background:#fff7d6!important}
#evc-app.evc-lang-en{direction:ltr!important;text-align:left!important}
#evc-app.evc-lang-en table th,#evc-app.evc-lang-en table td{text-align:left!important}
#evc-app.evc-lang-en .evc-tabs,#evc-app.evc-lang-en .evc-filter,#evc-app.evc-lang-en .evc-actions,#evc-app.evc-lang-en .evc-form-grid{direction:ltr!important}
#evc-app.evc-lang-ar{direction:rtl!important;text-align:right!important}
#evc-app.evc-lang-ar table th,#evc-app.evc-lang-ar table td{text-align:right!important}
@media(max-width:760px){
  #evc-app .evc-service-media-upload{display:grid!important;grid-template-columns:1fr!important}
  #evc-app .evc-service-media-upload input[type=file]{max-width:100%!important}
}


/* v3.29 server-side language lock */
#evc-app.evc-lang-en{direction:ltr!important;text-align:left!important}
#evc-app.evc-lang-en table th,#evc-app.evc-lang-en table td{text-align:left!important}
#evc-app.evc-lang-en .evc-tabs,#evc-app.evc-lang-en .evc-filter,#evc-app.evc-lang-en .evc-actions,#evc-app.evc-lang-en .evc-form-grid{direction:ltr!important}
#evc-app.evc-lang-ar{direction:rtl!important;text-align:right!important}
#evc-app.evc-lang-ar table th,#evc-app.evc-lang-ar table td{text-align:right!important}
#evc-app .evc-return-required{border:2px solid #c99a2e!important;border-radius:14px!important;padding:8px!important;background:#fff7d6!important}


/* v3.30 vehicle year revenue + filters */
#evc-app .evc-year-report table td:first-child{font-weight:900}
#evc-app .evc-order-search select[name="status_filter"]{min-width:170px}


/* v3.31 clean dictionary/restored work order report */
#evc-app .evc-year-report td:first-child{font-weight:900}
#evc-app .evc-smart-suggest b{direction:ltr;unicode-bidi:embed}


/* v3.32 work order search */
#evc-app .evc-order-search input[name="q"]{min-width:260px}
#evc-app table td b{font-weight:900}


/* v3.33 isolated clean dictionary */
#evc-app .evc-dict-table-clean td:nth-child(2),
#evc-app .evc-dict-table-clean th:nth-child(2){
  direction:ltr!important;
  unicode-bidi:embed!important;
  text-align:center!important;
  font-family:Arial, sans-serif!important;
}
#evc-app .evc-dict-table-clean td:nth-child(3){
  direction:ltr!important;
  unicode-bidi:plaintext!important;
}
#evc-app .evc-smart-suggest b[dir="ltr"]{direction:ltr!important;unicode-bidi:embed!important}


/* v3.34 restored work order analytics */
#evc-app .evc-workorder-summary{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))!important}
#evc-app .evc-workorder-summary .evc-card strong{font-size:25px!important}
#evc-app .evc-workorder-analytics .evc-box{overflow:hidden}
#evc-app .evc-workorder-analytics table{min-width:520px}
@media(max-width:760px){
  #evc-app .evc-workorder-summary{grid-template-columns:1fr 1fr!important}
}


/* v3.35 hard-lock dictionary English column */
#evc-app .evc-dict-table-clean td:nth-child(2),
#evc-app .evc-dict-table-clean th:nth-child(2){
  direction:ltr!important;
  unicode-bidi:isolate!important;
  text-align:center!important;
  font-family:Arial, sans-serif!important;
}
#evc-app .evc-dict-table-clean td:nth-child(2){
  color:#101828!important;
  font-weight:700!important;
}
#evc-app .evc-dict-table-clean td:nth-child(3){
  direction:ltr!important;
  unicode-bidi:plaintext!important;
  font-family:Arial, sans-serif!important;
}


/* v3.36 language-only lock */
#evc-app.notranslate,
#evc-app .notranslate{
  translate: no;
}
#evc-app .evc-dict-table-clean .evc-dict-en,
#evc-app .evc-dict-table-clean .evc-dict-en span,
#evc-app .evc-dict-table-clean th[lang="en"]{
  direction:ltr!important;
  unicode-bidi:isolate!important;
  text-align:center!important;
  font-family:Arial, sans-serif!important;
  color:#101828!important;
  font-weight:800!important;
}
#evc-app .evc-dict-table-clean td:nth-child(3){
  direction:ltr!important;
  unicode-bidi:plaintext!important;
}


/* v3.37 language switch stability */
#evc-app.evc-lang-en{direction:ltr!important;text-align:left}
#evc-app.evc-lang-ar{direction:rtl!important;text-align:right}
#evc-app.evc-lang-en table th,
#evc-app.evc-lang-en table td{text-align:left}
#evc-app.evc-lang-ar table th,
#evc-app.evc-lang-ar table td{text-align:right}
#evc-app .evc-dict-table-clean td,
#evc-app .evc-dict-table-clean th{text-align:center!important}


/* v3.38 root language persistence */
#evc-app[data-lang="en"]{direction:ltr!important;text-align:left}
#evc-app[data-lang="ar"]{direction:rtl!important;text-align:right}
#evc-app[data-lang="en"] table th,#evc-app[data-lang="en"] table td{text-align:left}
#evc-app[data-lang="ar"] table th,#evc-app[data-lang="ar"] table td{text-align:right}
#evc-app .evc-dict-table-clean td,#evc-app .evc-dict-table-clean th{text-align:center!important}


/* v3.49 old-size mobile fix: preserve v3.39 table sizes; only contain width */
#evc-app .evc-service-name{
  display:block;
  font-weight:900!important;
  font-size:17px!important;
  line-height:1.45!important;
  white-space:normal!important;
}
#evc-app .evc-service-list-head{
  position:sticky;
  top:0;
  z-index:3;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  background:#fff;
  padding:10px;
  border-bottom:1px solid #eef1f5;
}
#evc-app .evc-service-list-head .evc-service-list-title{
  position:static!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
}
#evc-app .evc-service-close{
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  border-radius:999px!important;
  border:1px solid #d7dce3!important;
  background:#fff!important;
  color:#111!important;
  font-size:24px!important;
  line-height:1!important;
  padding:0!important;
}
#evc-app .evc-delete-locked{
  display:inline-flex;
  align-items:center;
  gap:5px;
}
#evc-app .evc-tech-choice{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  gap:8px!important;
  white-space:normal!important;
}
#evc-app .evc-tech-choice input[type="checkbox"]{
  width:20px!important;
  min-width:20px!important;
  max-width:20px!important;
  height:20px!important;
  min-height:20px!important;
  flex:0 0 20px!important;
  margin:0!important;
}
#evc-app .evc-tech-name{
  display:block;
  min-width:0;
  overflow-wrap:break-word;
}

@media(max-width:700px){
  /* keep old layout, but prevent page overflow */
  #evc-app,
  #evc-app .evc-shell,
  #evc-app .evc-panel,
  #evc-app .evc-details,
  #evc-app .evc-box,
  #evc-app form{
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }

  /* add-service field only */
  #evc-app .evc-add-service-form,
  #evc-app .evc-add-service-form .evc-form-grid,
  #evc-app .evc-add-service-form .evc-check-grid,
  #evc-app .evc-service-picker{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  #evc-app .evc-add-service-form .evc-form-grid,
  #evc-app .evc-add-service-form .evc-check-grid{
    grid-template-columns:1fr!important;
  }
  #evc-app [data-service-picker-input],
  #evc-app [data-service-price],
  #evc-app .evc-service-reopen{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  #evc-app .evc-service-reopen{
    min-height:46px!important;
    margin-top:8px!important;
  }

  /* old dropdown size, just inside phone */
  #evc-app .evc-service-dropdown{
    position:fixed!important;
    top:18%!important;
    left:12px!important;
    right:12px!important;
    width:auto!important;
    max-width:calc(100vw - 24px)!important;
    min-width:0!important;
    max-height:62vh!important;
    overflow:auto!important;
    z-index:99999!important;
  }
  #evc-app .evc-service-option,
  #evc-app .evc-service-main,
  #evc-app .evc-service-meta{
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:break-word!important;
  }
  #evc-app .evc-service-main{
    font-size:15px!important;
    font-weight:900!important;
    line-height:1.45!important;
  }

  /* services table: old table with contained horizontal scroll, not cards */
  #evc-app .evc-table-wrap{
    max-width:100%!important;
    overflow-x:auto!important;
    overflow-y:visible!important;
    -webkit-overflow-scrolling:touch!important;
  }
  #evc-app .evc-table-wrap table{
    width:max-content!important;
    max-width:none!important;
  }
  #evc-app .evc-table-wrap th,
  #evc-app .evc-table-wrap td{
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:break-word!important;
  }
  #evc-app .evc-service-name{
    min-width:180px!important;
    max-width:260px!important;
    font-size:17px!important;
    font-weight:900!important;
  }
  #evc-app .evc-tech-row{
    min-width:180px!important;
    max-width:260px!important;
  }

  /* DVM: old table, clear size, contained inside its scroll box */
  #evc-app table.evc-dvm{
    table-layout:fixed!important;
    width:520px!important;
    max-width:none!important;
    min-width:520px!important;
  }
  #evc-app table.evc-dvm th,
  #evc-app table.evc-dvm td{
    padding:9px!important;
    font-size:13px!important;
    line-height:1.45!important;
    white-space:normal!important;
    word-break:normal!important;
  }
  #evc-app table.evc-dvm th:first-child,
  #evc-app table.evc-dvm td:first-child{
    width:250px!important;
    min-width:250px!important;
    max-width:250px!important;
    font-weight:900!important;
  }
  #evc-app table.evc-dvm th:not(:first-child),
  #evc-app table.evc-dvm td:not(:first-child){
    width:90px!important;
    min-width:90px!important;
    max-width:90px!important;
    text-align:center!important;
  }
  #evc-app table.evc-dvm input[type="radio"]{
    width:22px!important;
    height:22px!important;
    min-width:22px!important;
    min-height:22px!important;
    margin:0 auto!important;
  }
}






/* v3.53 services table old style - no squeezing, no stacked words, DVM untouched */
@media(max-width:700px){
  #evc-app .evc-added-services-wrap{
    width:100%!important;
    max-width:100%!important;
    overflow-x:auto!important;
    overflow-y:visible!important;
    -webkit-overflow-scrolling:touch!important;
    border:1px solid var(--line)!important;
    border-radius:14px!important;
    background:#fff!important;
  }

  #evc-app table.evc-added-services-table{
    width:auto!important;
    min-width:760px!important;
    max-width:none!important;
    table-layout:auto!important;
    border-collapse:collapse!important;
  }

  #evc-app table.evc-added-services-table th,
  #evc-app table.evc-added-services-table td{
    padding:10px!important;
    font-size:13px!important;
    line-height:1.45!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:break-word!important;
    vertical-align:top!important;
  }

  #evc-app table.evc-added-services-table th:nth-child(1),
  #evc-app table.evc-added-services-table td:nth-child(1){
    width:230px!important;
    min-width:230px!important;
    max-width:230px!important;
  }

  #evc-app table.evc-added-services-table th:nth-child(2),
  #evc-app table.evc-added-services-table td:nth-child(2){
    width:220px!important;
    min-width:220px!important;
    max-width:220px!important;
  }

  #evc-app table.evc-added-services-table th:nth-child(3),
  #evc-app table.evc-added-services-table td:nth-child(3){
    width:105px!important;
    min-width:105px!important;
    max-width:105px!important;
    text-align:center!important;
  }

  #evc-app table.evc-added-services-table th:nth-child(4),
  #evc-app table.evc-added-services-table td:nth-child(4){
    width:205px!important;
    min-width:205px!important;
    max-width:205px!important;
  }

  #evc-app table.evc-added-services-table th:nth-child(5),
  #evc-app table.evc-added-services-table td:nth-child(5){
    width:230px!important;
    min-width:230px!important;
    max-width:230px!important;
  }

  #evc-app table.evc-added-services-table .evc-service-name{
    display:block!important;
    min-width:0!important;
    max-width:100%!important;
    font-size:16px!important;
    font-weight:900!important;
    line-height:1.45!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:break-word!important;
  }

  #evc-app table.evc-added-services-table .evc-tech-row{
    min-width:0!important;
    max-width:100%!important;
    padding:8px!important;
    margin-bottom:7px!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:break-word!important;
  }

  #evc-app table.evc-added-services-table .evc-price-edit,
  #evc-app table.evc-added-services-table .evc-service-delete{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    display:flex!important;
    flex-wrap:wrap!important;
    gap:6px!important;
    align-items:center!important;
  }

  #evc-app table.evc-added-services-table .evc-price-edit input[type="number"]{
    width:100px!important;
    max-width:100px!important;
    min-width:100px!important;
  }

  #evc-app table.evc-added-services-table .evc-price-edit button,
  #evc-app table.evc-added-services-table .evc-service-delete button{
    width:auto!important;
    max-width:100%!important;
    min-width:0!important;
    padding:8px 10px!important;
    white-space:normal!important;
  }
}


/* v3.54 work orders table width/open button only */
@media(max-width:700px){
  #evc-app .evc-workorders-wrap{
    width:100%!important;
    max-width:100%!important;
    overflow-x:auto!important;
    overflow-y:visible!important;
    -webkit-overflow-scrolling:touch!important;
    border:1px solid var(--line)!important;
    border-radius:14px!important;
    background:#fff!important;
  }

  #evc-app table.evc-workorders-table{
    width:auto!important;
    min-width:620px!important;
    max-width:none!important;
    table-layout:auto!important;
    border-collapse:collapse!important;
  }

  #evc-app table.evc-workorders-table th,
  #evc-app table.evc-workorders-table td{
    padding:9px!important;
    font-size:13px!important;
    line-height:1.45!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:break-word!important;
    vertical-align:top!important;
  }

  /* keep the first columns readable and stop the action button from going too far */
  #evc-app table.evc-workorders-table th:nth-child(1),
  #evc-app table.evc-workorders-table td:nth-child(1){
    width:70px!important;
    min-width:70px!important;
    max-width:70px!important;
  }

  #evc-app table.evc-workorders-table th:nth-child(2),
  #evc-app table.evc-workorders-table td:nth-child(2){
    width:170px!important;
    min-width:170px!important;
    max-width:170px!important;
  }

  #evc-app table.evc-workorders-table th:nth-child(3),
  #evc-app table.evc-workorders-table td:nth-child(3){
    width:135px!important;
    min-width:135px!important;
    max-width:135px!important;
  }

  #evc-app table.evc-workorders-table th:nth-child(4),
  #evc-app table.evc-workorders-table td:nth-child(4){
    width:115px!important;
    min-width:115px!important;
    max-width:115px!important;
    text-align:center!important;
  }

  #evc-app table.evc-workorders-table th:last-child,
  #evc-app table.evc-workorders-table td:last-child{
    width:100px!important;
    min-width:100px!important;
    max-width:100px!important;
    text-align:center!important;
  }

  #evc-app table.evc-workorders-table td:last-child a,
  #evc-app table.evc-workorders-table td:last-child button,
  #evc-app table.evc-workorders-table td:last-child .evc-btn,
  #evc-app table.evc-workorders-table td:last-child .evc-mini{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    padding:8px 9px!important;
    white-space:normal!important;
    line-height:1.3!important;
    justify-content:center!important;
  }
}


/* v3.66 mobile top cleanup and live notification toast */
body.evc-staff-page-active #evc-app{
  margin-top:8px!important;
}
body.evc-staff-page-active .entry-title,
body.evc-staff-page-active .page-title,
body.evc-staff-page-active .wp-block-post-title,
body.evc-staff-page-active .entry-header,
body.evc-staff-page-active .page-header{
  display:none!important;
}
#evc-app .evc-live-toast{
  position:fixed;
  top:16px;
  inset-inline-end:16px;
  z-index:999999;
  max-width:340px;
  background:#111;
  color:#fff;
  border:2px solid var(--gold);
  border-radius:16px;
  padding:14px 16px;
  box-shadow:0 18px 50px rgba(0,0,0,.28);
  cursor:pointer;
  transform:translateY(-12px);
  opacity:0;
  pointer-events:none;
  transition:.25s ease;
}
#evc-app .evc-live-toast.show{
  transform:translateY(0);
  opacity:1;
  pointer-events:auto;
}
#evc-app .evc-live-toast b,
#evc-app .evc-live-toast p{
  color:#fff!important;
}
#evc-app .evc-live-toast p{
  margin-top:6px;
  font-size:13px;
  line-height:1.5;
}
@media(max-width:700px){
  body.evc-staff-page-active #evc-app{
    margin:4px auto 0!important;
    padding-top:0!important;
  }
  body.evc-staff-page-active main,
  body.evc-staff-page-active .site-main,
  body.evc-staff-page-active .content-area,
  body.evc-staff-page-active .entry-content{
    padding-top:0!important;
    margin-top:0!important;
  }
  #evc-app .evc-shell{
    margin-top:0!important;
  }
  #evc-app .evc-live-toast{
    top:10px;
    left:10px;
    right:10px;
    max-width:none;
  }
}


/* v3.73 /staff internal-app mode: hide public website chrome only on staff page */
body.evc-staff-page-active{
  background:#050505!important;
}
body.evc-staff-page-active header:not(.evc-head):not(.evc-userbar):not(.evc-tabs),
body.evc-staff-page-active footer,
body.evc-staff-page-active .site-header,
body.evc-staff-page-active .site-footer,
body.evc-staff-page-active #masthead,
body.evc-staff-page-active #colophon,
body.evc-staff-page-active .main-header-bar,
body.evc-staff-page-active .ast-header-break-point,
body.evc-staff-page-active .elementor-location-header,
body.evc-staff-page-active .elementor-location-footer,
body.evc-staff-page-active .wp-site-blocks > header,
body.evc-staff-page-active .wp-site-blocks > footer,
body.evc-staff-page-active .entry-header,
body.evc-staff-page-active .page-header,
body.evc-staff-page-active .wp-block-post-title,
body.evc-staff-page-active h1.entry-title,
body.evc-staff-page-active .entry-title,
body.evc-staff-page-active .page-title,
body.evc-staff-page-active .floating-whatsapp,
body.evc-staff-page-active .float-whatsapp,
body.evc-staff-page-active .whatsapp_float,
body.evc-staff-page-active .whatsapp-floating,
body.evc-staff-page-active .whatsapp-button,
body.evc-staff-page-active .call-now-button,
body.evc-staff-page-active .call-button,
body.evc-staff-page-active .phone-call,
body.evc-staff-page-active .floating-call,
body.evc-staff-page-active .float-call,
body.evc-staff-page-active a[href^="https://wa.me"],
body.evc-staff-page-active a[href*="whatsapp"],
body.evc-staff-page-active a[href^="tel:"]{
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
}
body.evc-staff-page-active .site,
body.evc-staff-page-active .site-content,
body.evc-staff-page-active .content-area,
body.evc-staff-page-active .site-main,
body.evc-staff-page-active main,
body.evc-staff-page-active .entry-content,
body.evc-staff-page-active .wp-site-blocks{
  margin-top:0!important;
  padding-top:0!important;
  max-width:none!important;
}
body.evc-staff-page-active #evc-app{
  min-height:100vh;
  margin-top:0!important;
  padding-top:0!important;
}

/* v3.73 English color fix: prevent white/washed links on white panel */
#evc-app .evc-tabs,
#evc-app .evc-tabbar,
#evc-app nav.evc-tabs{
  background:#111!important;
  border-radius:14px!important;
  padding:8px!important;
  gap:8px!important;
}
#evc-app .evc-tabs a,
#evc-app .evc-tabbar a,
#evc-app nav.evc-tabs a,
#evc-app a.evc-tab{
  color:#111!important;
  background:#f4f4f4!important;
  border:1px solid rgba(0,0,0,.08)!important;
  text-decoration:none!important;
  opacity:1!important;
}
#evc-app .evc-tabs a.active,
#evc-app .evc-tabbar a.active,
#evc-app nav.evc-tabs a.active,
#evc-app a.evc-tab.active{
  color:#fff!important;
  background:#222!important;
  border-color:#d6a11e!important;
}
#evc-app .evc-panel,
#evc-app .evc-card,
#evc-app .evc-box,
#evc-app .evc-table-wrap,
#evc-app details.evc-details{
  color:#111!important;
}
#evc-app .evc-panel h1,
#evc-app .evc-panel h2,
#evc-app .evc-panel h3,
#evc-app .evc-panel h4,
#evc-app .evc-panel h5,
#evc-app .evc-panel p,
#evc-app .evc-panel span,
#evc-app .evc-panel small,
#evc-app .evc-panel label,
#evc-app .evc-panel td,
#evc-app .evc-panel th,
#evc-app .evc-panel li{
  opacity:1!important;
}
#evc-app .evc-panel a:not(.evc-mini):not(.evc-tab):not(.button):not(button){
  color:#0b57d0!important;
}
#evc-app .evc-userbar,
#evc-app .evc-head{
  color:#111!important;
}
#evc-app .evc-userbar{
  background:#111!important;
  color:#fff!important;
}
#evc-app .evc-userbar *,
#evc-app .evc-userbar a{
  color:#fff!important;
}
#evc-app .evc-notify,
#evc-app .evc-notify *,
#evc-app .evc-top-notify,
#evc-app .evc-top-notify *{
  color:#fff!important;
}
#evc-app .evc-lang a,
/* Keep mobile sizing intact: only remove theme chrome and top spacing */
@media(max-width:700px){
  body.evc-staff-page-active #evc-app{
    margin:0 auto!important;
    padding:0!important;
  }
  body.evc-staff-page-active .evc-shell{
    margin-top:0!important;
  }
}


/* v3.74 final tabs color fix
   Do not target a[href*="evc_lang"] globally because every staff tab URL contains evc_lang.
   Language buttons only: .evc-head .evc-lang a
   Navigation tabs only: nav.evc-tabs > a
*/
body.evc-staff-page-active #evc-app .evc-head .evc-lang a,
#evc-app .evc-head .evc-lang a{
  color:#7a4e00!important;
  background:#fff6dc!important;
  border:1px solid #d6a11e!important;
  border-radius:999px!important;
  text-decoration:none!important;
  opacity:1!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:34px!important;
  padding:8px 14px!important;
  font-weight:900!important;
}

body.evc-staff-page-active #evc-app nav.evc-tabs,
#evc-app nav.evc-tabs{
  display:flex!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  gap:8px!important;
  overflow-x:auto!important;
  -webkit-overflow-scrolling:touch!important;
  background:#111!important;
  border:1px solid rgba(255,255,255,.08)!important;
  border-radius:16px!important;
  padding:10px!important;
  margin:12px 0 16px!important;
  box-shadow:none!important;
  text-decoration:none!important;
}

body.evc-staff-page-active #evc-app nav.evc-tabs > a,
#evc-app nav.evc-tabs > a{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
  white-space:nowrap!important;
  gap:5px!important;
  min-height:38px!important;
  padding:10px 14px!important;
  border-radius:12px!important;
  border:1px solid rgba(255,255,255,.08)!important;
  background:#2b2b2b!important;
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  text-decoration:none!important;
  text-shadow:none!important;
  opacity:1!important;
  font-weight:900!important;
  line-height:1.2!important;
  box-shadow:none!important;
}

body.evc-staff-page-active #evc-app nav.evc-tabs > a:hover,
#evc-app nav.evc-tabs > a:hover{
  background:#333!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  text-decoration:none!important;
}

body.evc-staff-page-active #evc-app nav.evc-tabs > a.active,
#evc-app nav.evc-tabs > a.active{
  background:#d6a11e!important;
  color:#111!important;
  -webkit-text-fill-color:#111!important;
  border-color:#d6a11e!important;
  text-decoration:none!important;
}

body.evc-staff-page-active #evc-app nav.evc-tabs > a *,
#evc-app nav.evc-tabs > a *{
  color:inherit!important;
  -webkit-text-fill-color:inherit!important;
  text-decoration:none!important;
  opacity:1!important;
}

body.evc-staff-page-active #evc-app nav.evc-tabs .evc-tab-badge,
#evc-app nav.evc-tabs .evc-tab-badge{
  background:#fff!important;
  color:#111!important;
  -webkit-text-fill-color:#111!important;
  border-radius:999px!important;
  padding:2px 7px!important;
  margin-inline-start:4px!important;
  font-size:12px!important;
}

/* Keep panels readable in both Arabic and English without changing mobile sizing */
body.evc-staff-page-active #evc-app .evc-panel,
body.evc-staff-page-active #evc-app .evc-panel *,
#evc-app .evc-panel,
#evc-app .evc-panel *{
  text-shadow:none!important;
}


/* v3.75 hard tab bar repair - targets actual top tab links even when container is not nav.evc-tabs */
body.evc-staff-page-active #evc-app .evc-tabs,
body.evc-staff-page-active #evc-app .evc-tabbar,
body.evc-staff-page-active #evc-app nav.evc-tabs,
body.evc-staff-page-active #evc-app [class*="tabs"],
body.evc-staff-page-active #evc-app [class*="tabbar"]{
  background:#111!important;
  border:1px solid rgba(255,255,255,.10)!important;
  border-radius:16px!important;
  padding:10px!important;
  margin:12px 0 16px!important;
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  gap:8px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  -webkit-overflow-scrolling:touch!important;
  box-shadow:none!important;
}

/* any direct tab link inside the CRM top navigation */
body.evc-staff-page-active #evc-app .evc-tabs > a,
body.evc-staff-page-active #evc-app .evc-tabbar > a,
body.evc-staff-page-active #evc-app nav.evc-tabs > a,
body.evc-staff-page-active #evc-app [class*="tabs"] > a,
body.evc-staff-page-active #evc-app [class*="tabbar"] > a{
  display:inline-flex!important;
  flex:0 0 auto!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  white-space:nowrap!important;
  min-height:38px!important;
  padding:10px 14px!important;
  border-radius:12px!important;
  border:1px solid rgba(255,255,255,.12)!important;
  background:#2a2a2a!important;
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  text-decoration:none!important;
  text-shadow:none!important;
  opacity:1!important;
  font-weight:900!important;
  line-height:1.2!important;
  box-shadow:none!important;
}

/* active tab */
body.evc-staff-page-active #evc-app .evc-tabs > a.active,
body.evc-staff-page-active #evc-app .evc-tabbar > a.active,
body.evc-staff-page-active #evc-app nav.evc-tabs > a.active,
body.evc-staff-page-active #evc-app [class*="tabs"] > a.active,
body.evc-staff-page-active #evc-app [class*="tabbar"] > a.active{
  background:#d6a11e!important;
  border-color:#d6a11e!important;
  color:#111!important;
  -webkit-text-fill-color:#111!important;
}

/* inherit color into emojis/spans in tab labels */
body.evc-staff-page-active #evc-app .evc-tabs > a *,
body.evc-staff-page-active #evc-app .evc-tabbar > a *,
body.evc-staff-page-active #evc-app nav.evc-tabs > a *,
body.evc-staff-page-active #evc-app [class*="tabs"] > a *,
body.evc-staff-page-active #evc-app [class*="tabbar"] > a *{
  color:inherit!important;
  -webkit-text-fill-color:inherit!important;
  opacity:1!important;
  text-decoration:none!important;
  text-shadow:none!important;
}

/* keep language buttons separate from page tabs */
body.evc-staff-page-active #evc-app .evc-head .evc-lang a,
body.evc-staff-page-active #evc-app .evc-lang a{
  color:#7a4e00!important;
  -webkit-text-fill-color:#7a4e00!important;
  background:#fff6dc!important;
  border:1px solid #d6a11e!important;
  border-radius:999px!important;
  text-decoration:none!important;
  opacity:1!important;
}

/* keep content text readable, no washed out white links inside panel headings */
body.evc-staff-page-active #evc-app .evc-panel,
body.evc-staff-page-active #evc-app .evc-panel .evc-box,
body.evc-staff-page-active #evc-app .evc-panel .evc-card,
body.evc-staff-page-active #evc-app .evc-panel .evc-table-wrap{
  color:#111!important;
}
body.evc-staff-page-active #evc-app .evc-panel a:not(.evc-mini):not(.evc-tab):not(.button):not(button){
  color:#0b57d0!important;
  -webkit-text-fill-color:#0b57d0!important;
}

/* no mobile size changes; only color/visibility */
@media(max-width:700px){
  body.evc-staff-page-active #evc-app .evc-tabs,
  body.evc-staff-page-active #evc-app .evc-tabbar,
  body.evc-staff-page-active #evc-app nav.evc-tabs,
  body.evc-staff-page-active #evc-app [class*="tabs"],
  body.evc-staff-page-active #evc-app [class*="tabbar"]{
    flex-wrap:nowrap!important;
    overflow-x:auto!important;
  }
}


/* v3.76 stable top tabs: JS adds .evc-tabs-v376 and .evc-top-tab-v376.
   This fixes Arabic/English tab colors without changing mobile sizes. */
body.evc-staff-page-active #evc-app .evc-tabs-v376{
  background:#111!important;
  border:1px solid rgba(255,255,255,.12)!important;
  border-radius:16px!important;
  padding:10px!important;
  margin:12px 0 16px!important;
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  gap:8px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  -webkit-overflow-scrolling:touch!important;
  box-shadow:none!important;
}
body.evc-staff-page-active #evc-app a.evc-top-tab-v376{
  display:inline-flex!important;
  flex:0 0 auto!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  white-space:nowrap!important;
  min-height:38px!important;
  padding:10px 14px!important;
  border-radius:12px!important;
  border:1px solid rgba(255,255,255,.12)!important;
  background:#2a2a2a!important;
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  text-decoration:none!important;
  text-shadow:none!important;
  opacity:1!important;
  font-weight:900!important;
  line-height:1.2!important;
  box-shadow:none!important;
}
body.evc-staff-page-active #evc-app a.evc-top-tab-v376:hover{
  background:#333!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
body.evc-staff-page-active #evc-app a.evc-top-tab-v376.evc-top-tab-active-v376,
body.evc-staff-page-active #evc-app a.evc-top-tab-v376.active{
  background:#d6a11e!important;
  border-color:#d6a11e!important;
  color:#111!important;
  -webkit-text-fill-color:#111!important;
}
body.evc-staff-page-active #evc-app a.evc-top-tab-v376 *,
body.evc-staff-page-active #evc-app a.evc-top-tab-v376.evc-top-tab-active-v376 *{
  color:inherit!important;
  -webkit-text-fill-color:inherit!important;
  opacity:1!important;
  text-decoration:none!important;
  text-shadow:none!important;
}

/* language switch buttons stay separate */
body.evc-staff-page-active #evc-app .evc-head .evc-lang a,
body.evc-staff-page-active #evc-app .evc-lang a:not(.evc-top-tab-v376){
  color:#7a4e00!important;
  -webkit-text-fill-color:#7a4e00!important;
  background:#fff6dc!important;
  border:1px solid #d6a11e!important;
  border-radius:999px!important;
  opacity:1!important;
  text-decoration:none!important;
}

/* v3.77 return after service UI */
#evc-app .evc-return-case{border-inline-start:4px solid #d6a11e!important}
#evc-app .evc-return-case textarea{min-height:110px}
#evc-app .evc-return-box .evc-box{margin:12px 0}

/* v3.78 return report breakdown */
#evc-app .evc-return-cost-mini{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0}
#evc-app .evc-return-cost-mini span{display:inline-flex;gap:4px;align-items:center;background:#f7f7f7;border:1px solid rgba(0,0,0,.08);border-radius:999px;padding:6px 10px;font-size:12px}
#evc-app .evc-return-summary .evc-card strong{font-size:20px}


/* v3.79 return report layout fix: keep return analytics inside the report panel */
#evc-app .evc-return-summary{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(170px,1fr))!important;
  gap:12px!important;
  align-items:stretch!important;
}
#evc-app .evc-return-summary .evc-card{
  min-width:0!important;
  width:auto!important;
  max-width:none!important;
}
#evc-app .evc-return-analysis{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr))!important;
  gap:12px!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow:hidden!important;
  margin:14px 0!important;
}
#evc-app .evc-return-analysis .evc-box{
  min-width:0!important;
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}
#evc-app .evc-return-analysis .evc-table-wrap,
#evc-app #evc-return-details + .evc-table-wrap{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  box-sizing:border-box!important;
}
#evc-app .evc-return-analysis table,
#evc-app #evc-return-details + .evc-table-wrap table{
  width:100%!important;
  max-width:100%!important;
  table-layout:auto!important;
}
#evc-app .evc-return-analysis th,
#evc-app .evc-return-analysis td{
  white-space:nowrap!important;
}
#evc-app #evc-return-details{
  margin-top:14px!important;
}

/* Keep generic two-column blocks from escaping panel on medium screens */
#evc-app .evc-panel .evc-two{
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
@media(max-width:1050px){
  #evc-app .evc-panel .evc-two{
    grid-template-columns:1fr!important;
  }
}
@media(max-width:700px){
  #evc-app .evc-return-summary{
    grid-template-columns:repeat(auto-fit,minmax(145px,1fr))!important;
  }
  #evc-app .evc-return-analysis{
    grid-template-columns:1fr!important;
  }
}

/* v3.82 work order report additions only - preserve old report layout */
#evc-app .evc-workorder-mix-cards{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(170px,1fr))!important;
  gap:12px!important;
  margin-bottom:14px!important;
}
#evc-app .evc-workorder-mix-cards .evc-card{min-width:0!important}
#evc-app .evc-workorder-mix-tables{
  max-width:100%!important;
  min-width:0!important;
  overflow:hidden!important;
  margin-bottom:14px!important;
}
#evc-app .evc-workorder-mix-tables .evc-box{
  min-width:0!important;
  overflow:hidden!important;
}
#evc-app .evc-workorder-mix-tables .evc-table-wrap{
  max-width:100%!important;
  overflow-x:auto!important;
}

/* v3.87 live spellchecker */
#evc-app .evc-spellbox{
  position:fixed;
  z-index:999999;
  max-width:320px;
  background:#fff;
  border:1px solid rgba(0,0,0,.14);
  box-shadow:0 12px 35px rgba(0,0,0,.18);
  border-radius:12px;
  padding:8px;
  font-size:13px;
  color:#111;
}
#evc-app .evc-spellbox[hidden]{display:none!important}
#evc-app .evc-spellbox-title{
  font-weight:800;
  margin-bottom:6px;
  color:#111827;
}
#evc-app .evc-spell-suggestion{
  display:flex;
  justify-content:space-between;
  gap:8px;
  width:100%;
  padding:7px 8px;
  margin:4px 0;
  border:1px solid #eee;
  border-radius:10px;
  background:#f9fafb;
  cursor:pointer;
  text-align:start;
  color:#111;
}
#evc-app .evc-spell-suggestion:hover{
  background:#fff7df;
  border-color:#d3a126;
}
#evc-app .evc-spell-word{
  color:#b91c1c;
  font-weight:800;
}
#evc-app .evc-spell-good{
  color:#047857;
  font-weight:800;
}
#evc-app textarea.evc-spell-active,
#evc-app input[type="text"].evc-spell-active{
  outline:2px solid rgba(211,161,38,.25)!important;
}

/* v3.99 notifications direct fallback */
#evc-app .evc-note-card{
  background:#fff;
  border:1px solid #e5e7eb;
  border-right:5px solid #c81e1e;
  border-radius:14px;
  padding:14px 16px;
  margin:10px 0;
  box-shadow:0 4px 14px rgba(0,0,0,.04);
}
#evc-app .evc-note-card p{margin:8px 0;color:#1f2937}
#evc-app .evc-note-card small{color:#64748b}

/* v4.01 alerts page safe rows */
#evc-app .evc-alerts-page .evc-notice-row{
  display:block;
  text-decoration:none;
  border-right:5px solid #c81e1e;
  margin:10px 0;
}
#evc-app .evc-alerts-page .evc-notice-row span{color:#1f2937}
#evc-app .evc-alerts-page .evc-notice-row small{color:#64748b}

/* v4.02 robust alerts rows */
#evc-app .evc-alerts-page .evc-notice-row{
  display:block;
  text-decoration:none;
  border-right:5px solid #c81e1e;
  margin:10px 0;
  line-height:1.6;
}
#evc-app.evc-ltr .evc-alerts-page .evc-notice-row{
  border-right:1px solid #e5e7eb;
  border-left:5px solid #c81e1e;
}
#evc-app .evc-alerts-page .evc-notice-row span{color:#1f2937}
#evc-app .evc-alerts-page .evc-notice-row small{color:#64748b}

/* v4.03 live alerts list */
#evc-app #evc-alerts-live-list{
  min-height:60px;
}
#evc-app .evc-alerts-page .evc-notice-row.unread{
  background:#fff8f8;
}

/* v4.06 return/category/language fixes */
#evc-app .evc-return-badge{display:inline-block;padding:4px 10px;border-radius:999px;background:#fff7ed;border:1px solid #f59e0b;color:#92400e;font-weight:800;}

/* v4.09 return parent picker */
#evc-app .evc-return-parent-picker{
  border:1px solid #d99a00;
  background:#fffaf0;
  border-radius:14px;
  padding:14px;
  margin:12px 0;
}
#evc-app .evc-return-parent-results{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:8px;
}
