.pm-shell{direction:rtl;box-sizing:border-box;max-width:680px;margin:22px auto;padding:24px;background:#fff;border:1px solid #dce8f6;border-radius:20px;box-shadow:0 8px 35px #0b438312;color:#173451;font-family:inherit}.pm-shell *{box-sizing:border-box}.pm-shell h2,.pm-shell h3{color:#0c4285;margin:0 0 14px}.pm-muted{color:#718198;font-size:14px}.pm-steps{display:flex;justify-content:space-between;gap:4px;margin:25px 0;overflow:auto}.pm-steps span{font-size:12px;color:#677991;padding:8px 5px;border-bottom:3px solid #e1e9f3;white-space:nowrap}.pm-steps .active{color:#0863d3;border-color:#0863d3;font-weight:bold}.pm-panel{display:none}.pm-panel.active{display:block}.pm-shell label{display:block;font-weight:600;margin:14px 0 7px}.pm-shell input:not([type=checkbox]):not([type=file]),.pm-shell select,.pm-shell textarea{display:block;width:100%;background:white;color:#203951;padding:13px;border:1px solid #cbd8e6;border-radius:10px;font:inherit}.pm-shell textarea{min-height:110px}.pm-actions{display:flex;gap:10px;justify-content:space-between;margin-top:24px}.pm-shell button{font:inherit;border:0;border-radius:10px;padding:13px 20px;cursor:pointer;background:#e9eff7;color:#16416d}.pm-shell button.pm-next,.pm-shell button.pm-submit,.pm-tech .pm-submit{background:#0863d3;color:white;font-weight:700}.pm-checks{display:grid;grid-template-columns:1fr 1fr;gap:9px}.pm-checks label{border:1px solid #dce6f1;padding:12px;border-radius:10px;margin:0;font-weight:400}.pm-upload{border:2px dashed #a8c6e9;padding:35px 15px;text-align:center;border-radius:14px;color:#0863d3;cursor:pointer}.pm-upload input{display:block;margin:10px auto;max-width:100%}.pm-previews{display:flex;gap:8px;flex-wrap:wrap}.pm-previews img{width:90px;height:90px;object-fit:cover;border-radius:9px}.pm-success{padding:17px;background:#e5f7ec;color:#176338;border-radius:10px}.pm-error{padding:17px;background:#fff0ef;color:#9b2520;border-radius:10px}.pm-review{background:#f4f8fd;border-radius:12px;padding:12px}.pm-review p{overflow-wrap:anywhere}.pm-track-link{text-align:center;margin-top:28px}.pm-timeline{border-right:3px solid #b7d3f4;padding-right:18px;margin:18px 0}.pm-timeline div{padding:10px}.pm-timeline .current{background:#e5f1ff;color:#095bbf;font-weight:700}.pm-float{position:fixed;z-index:99990;right:16px;bottom:20px;background:#0863d3;color:white!important;text-decoration:none!important;border-radius:35px;padding:12px 18px;box-shadow:0 5px 22px #092d5c50;font-weight:700;direction:rtl}.pm-honey{position:absolute!important;left:-9999px!important;opacity:0}.pm-gps{margin-top:16px;padding:14px;background:#f4f8fd;border:1px solid #dce8f6;border-radius:12px}.pm-gps button{background:#0863d3;color:white}.pm-gps button:disabled{opacity:.5}.pm-tech .pm-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:20px 0}.pm-stats>div{padding:14px;background:#eff6ff;border-radius:12px;font-size:13px}.pm-stats strong{display:block;font-size:24px;color:#0753aa}.pm-tech-item{display:flex;flex-direction:column;gap:4px;border:1px solid #dce8f6;border-radius:12px;padding:14px;margin:10px 0;text-decoration:none!important;color:#173451!important}.pm-tech-item small{color:#0753aa}.pm-tech-action{display:inline-block;background:#e8f2ff;color:#0753aa;padding:12px 15px;border-radius:10px}.pm-tech-settings{border-top:1px solid #e4ebf5;margin-top:24px;padding-top:15px}@media(max-width:600px){.pm-shell{margin:12px 7px;padding:16px;border-radius:14px}.pm-checks{grid-template-columns:1fr}.pm-steps span{font-size:11px}.pm-float{bottom:12px;right:10px;font-size:13px;padding:10px 13px}}@media(max-width:767px){a.pm-float{position:fixed!important;right:auto!important;left:14px!important;bottom:calc(94px + env(safe-area-inset-bottom, 0px))!important;z-index:99990!important;max-width:calc(100vw - 28px)!important;white-space:nowrap!important;font-size:14px!important;padding:11px 16px!important}}

/* v3.1 mobile layout isolation */
html body.pm-repair-standalone,body.pm-repair-standalone .pm-repair-page,body.pm-repair-standalone .pm-shell{min-width:0!important;box-sizing:border-box!important;}
body.pm-repair-standalone .pm-repair-page{display:block!important;width:100%!important;max-width:760px!important;float:none!important;clear:both!important;}
body.pm-repair-standalone .pm-shell{display:block!important;width:100%!important;max-width:100%!important;float:none!important;min-width:0!important;}
body.pm-repair-standalone .pm-shell form,body.pm-repair-standalone .pm-panel{width:100%!important;min-width:0!important;}
body.pm-repair-standalone .pm-panel:not(.active){display:none!important;}
body.pm-repair-standalone .pm-panel.active{display:block!important;}
@media(max-width:600px){body.pm-repair-standalone .pm-repair-page{padding:10px!important;}body.pm-repair-standalone .pm-shell{margin:10px 0!important;padding:16px!important;}}

/* v3.2 mobile standalone normalization */
html:has(body.pm-repair-standalone){width:100%!important;max-width:100%!important;overflow-x:hidden!important;}
body.pm-repair-standalone{width:100%!important;min-width:0!important;max-width:100vw!important;margin:0!important;}
body.pm-repair-standalone .pm-repair-page{width:100%!important;max-width:760px!important;min-width:0!important;margin-left:auto!important;margin-right:auto!important;display:block!important;}
body.pm-repair-standalone .pm-shell{width:100%!important;max-width:none!important;min-width:0!important;display:block!important;margin-left:0!important;margin-right:0!important;}
body.pm-repair-standalone .pm-shell form,body.pm-repair-standalone .pm-panel,body.pm-repair-standalone .pm-gps{width:100%!important;max-width:100%!important;min-width:0!important;}
.pm-nav-links{padding:12px;background:#f4f8fd;border-radius:12px;margin:12px 0}.pm-nav-links a{margin:4px}.pm-gps #pm-map-panel[hidden]{display:none!important}
@media(max-width:600px){body.pm-repair-standalone .pm-repair-page{padding:10px!important}body.pm-repair-standalone .pm-shell{padding:16px!important;margin:8px 0!important}.pm-tech-action{font-size:13px;padding:10px}}

/* v3.2.1: prevent RTL offscreen honeypot from expanding document scroll width */
body.pm-repair-standalone .pm-honey{display:none!important;position:static!important}
html:has(body.pm-repair-standalone),body.pm-repair-standalone{width:100%!important;min-width:0!important;overflow-x:clip!important}
body.pm-repair-standalone .pm-repair-page,body.pm-repair-standalone .pm-shell{min-width:0!important;max-width:100%!important;overflow-wrap:anywhere!important}
body.pm-repair-standalone .pm-steps{max-width:100%!important;min-width:0!important;overflow-x:auto!important}
body.pm-repair-standalone .pm-panel,body.pm-repair-standalone #pm-wizard{min-width:0!important;max-width:100%!important}
body.pm-repair-standalone #pm-customer-map{max-width:100%!important;min-width:0!important}
.pm-location-confirmed{background:#e5f7ec;color:#176338!important;border:1px solid #b4dfc2;border-radius:10px;padding:12px;font-weight:700}
#pm-submit-feedback:not(:empty){margin:12px 0}
.pm-shell button:disabled{opacity:.65;cursor:wait}

#pm-map-toast:not([hidden]){display:block;position:absolute;z-index:1000;top:16px;left:12px;right:12px;padding:13px 16px;background:#e3f9eb;color:#126437;border:2px solid #44aa72;border-radius:12px;text-align:center;font-size:16px;font-weight:800;box-shadow:0 4px 18px #0002;pointer-events:none}#pm-map-toast[hidden]{display:none!important}

/* Photo management in the mobile repair form */
.pm-photo-tile{position:relative;width:96px;height:96px;flex:0 0 96px}
.pm-previews .pm-photo-tile img{width:100%;height:100%;object-fit:cover;border-radius:10px;border:1px solid #d5e0ed}
.pm-photo-remove{position:absolute!important;top:-7px;left:-7px;right:auto!important;display:flex!important;align-items:center;justify-content:center;width:29px!important;height:29px!important;min-width:29px!important;min-height:29px!important;padding:0!important;border:2px solid #fff!important;border-radius:50%!important;background:#d71920!important;color:#fff!important;font-size:23px!important;font-weight:800!important;line-height:1!important;box-shadow:0 2px 8px #0003;cursor:pointer;z-index:2}
#pm-gps-status[hidden]{display:none!important}

.pm-tech-filters{display:grid;gap:8px;margin:15px 0 20px;padding:14px;background:#f4f8fd;border-radius:12px}.pm-tech-filters label{margin:0}.pm-tech-filters button{background:#0863d3;color:#fff}.pm-tech-pages{display:flex;flex-wrap:wrap;gap:7px;margin:18px 0}.pm-tech-pages a{display:inline-block;padding:8px 13px;border-radius:9px;background:#edf4fc;text-decoration:none}.pm-tech-pages a[aria-current=page]{background:#0863d3;color:#fff}.pm-tech-all a{display:block;text-align:center;padding:14px;border-radius:12px;background:#e9f2ff;color:#0753aa;font-weight:700;text-decoration:none}

/* v3.2.8: stable map controls and technician quick navigation */
.pm-gps .pm-map-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:stretch;margin-top:12px}
.pm-gps .pm-map-buttons button{display:flex;align-items:center;justify-content:center;min-width:0;width:100%;margin:0;white-space:normal;line-height:1.6;padding:12px 8px}
.pm-tech-toolbar{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0 18px}
.pm-tech-toolbar-link{display:inline-flex;align-items:center;justify-content:center;flex:1 1 130px;padding:12px 15px;border-radius:11px;background:#0863d3;color:#fff!important;font-weight:700;text-decoration:none!important;text-align:center}
@media(max-width:380px){.pm-gps .pm-map-buttons{gap:6px}.pm-gps .pm-map-buttons button{font-size:13px;padding:11px 5px}}

/* Dedicated technician app branding */
.pm-tech-heading{display:flex;align-items:center;gap:12px;line-height:1.5}
.pm-tech-heading img{width:44px;height:44px;object-fit:contain;border-radius:10px;flex:none}

/* v3.2.15: receipt and customer history */
.pm-receipt{text-align:center;background:linear-gradient(160deg,#f0fdf6,#fff);border:1px solid #c4ead6;border-radius:20px;padding:28px 15px;margin:18px 0;box-shadow:0 8px 22px #143a2410}.pm-receipt-icon{display:grid;place-items:center;width:70px;height:70px;margin:0 auto 12px;border-radius:50%;background:#198754;color:white;font-size:38px;font-weight:bold}.pm-receipt h3{font-size:20px;margin:8px 0 16px}.pm-receipt-code{display:block;font-size:38px;letter-spacing:4px;color:#173a6c;direction:ltr;margin:10px auto}.pm-receipt-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin:18px 0}.pm-receipt-actions a,.pm-receipt-actions button{border:0;border-radius:10px;background:#1765ae;color:white!important;text-decoration:none;padding:12px 18px;font:inherit;cursor:pointer}.pm-receipt-actions button{background:#ecf3fb;color:#174477!important}.pm-customer-history{background:#f8fafc;border:1px solid #e1e8ef;border-radius:14px;padding:14px;margin:18px 0}.pm-history-item{display:flex;flex-wrap:wrap;gap:7px 14px;align-items:center;padding:12px 8px;border-bottom:1px solid #e3e9ef;text-decoration:none!important;color:#203858!important}.pm-history-item:last-child{border-bottom:0}.pm-history-item span{font-size:13px}.pm-history-item strong{color:#145fa4}

/* Public completion note, visible only when the repair is complete. */
.pm-public-repair-note{margin-top:20px;padding:16px;border:1px solid #cbd5e1;border-radius:14px;background:#f8fafc;line-height:1.9;overflow-wrap:anywhere}
.pm-public-repair-note p{margin:8px 0 0;white-space:normal}

/* Technician push opt-in: shown only on first visit per device/account. */
.pm-push-dialog[hidden]{display:none!important}
.pm-push-dialog{position:fixed;inset:0;z-index:999999;background:rgba(10,24,43,.48);display:flex;align-items:center;justify-content:center;padding:20px;direction:rtl}
.pm-push-card{width:min(100%,390px);box-sizing:border-box;background:#fff;border-radius:18px;padding:22px;box-shadow:0 12px 42px rgba(0,0,0,.22);text-align:right;color:#17314a}
.pm-push-card h3{margin:0 0 12px;font-size:20px}
.pm-push-card p{line-height:1.9;margin:0 0 14px}
.pm-push-actions{display:flex;gap:10px;flex-wrap:wrap}
.pm-push-actions button{flex:1;min-width:120px;border:0;border-radius:10px;padding:12px 10px;cursor:pointer;background:#1265c5;color:#fff;font:inherit}
.pm-push-actions #pm-push-later{background:#e9eef4;color:#25415e}

/* Customer history: show latest three, expand older entries on demand */
.pm-history-more{margin-top:6px}.pm-history-more>summary{cursor:pointer;color:#145fa4;font-weight:600;padding:12px 8px;list-style:revert}.pm-history-more[open]>summary{margin-bottom:4px}.pm-history-more .pm-history-item:last-child{border-bottom:0}
/* Technician app settings v3.2.27 */
.pm-tech{position:relative}.pm-settings-header{position:absolute;top:12px;left:12px;z-index:5}.pm-settings-header button{background:#e8f0fa;color:#14518a;border:0;border-radius:10px;padding:7px 12px;font-size:24px;cursor:pointer}.pm-settings-panel[hidden]{display:none!important}.pm-settings-panel{position:relative;z-index:3;background:#fff;border:1px solid #dce6f2;box-shadow:0 10px 28px #102a4420;border-radius:16px;padding:48px 16px 16px;margin:12px 0;color:#203858}.pm-settings-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.pm-settings-title button{font-size:26px;border:0;background:transparent;color:inherit}.pm-settings-panel>label{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid #e6edf5;padding:12px 0;font-size:14px}.pm-settings-panel input[type=checkbox]{width:20px;height:20px;flex:none}.pm-settings-panel select{max-width:160px;padding:7px;border:1px solid #cbd5e1;border-radius:8px}.pm-settings-about{border-top:1px solid #e6edf5;padding-top:12px;font-size:13px}.pm-settings-about p{margin:7px 0}.pm-tech[data-pm-theme=dark]{background:#152235!important;color:#e9f1fa!important}.pm-tech[data-pm-theme=dark] .pm-settings-panel,.pm-tech[data-pm-theme=dark] .pm-customer-history,.pm-tech[data-pm-theme=dark] .pm-nav-links,.pm-tech[data-pm-theme=dark] .pm-tech-filters,.pm-tech[data-pm-theme=dark] .pm-stats>div{background:#24354b!important;border-color:#40536a!important;color:#e9f1fa!important}.pm-tech[data-pm-theme=dark] .pm-history-item,.pm-tech[data-pm-theme=dark] .pm-history-item strong,.pm-tech[data-pm-theme=dark] label,.pm-tech[data-pm-theme=dark] p,.pm-tech[data-pm-theme=dark] h3,.pm-tech[data-pm-theme=dark] h2{color:#e9f1fa!important}.pm-tech[data-pm-theme=dark] input,.pm-tech[data-pm-theme=dark] select,.pm-tech[data-pm-theme=dark] textarea{background:#1a2b40;color:#f5f9ff;border-color:#53677f}.pm-tech[data-pm-theme=dark] .pm-tech-item{background:#24354b;color:#e9f1fa!important}.pm-tech[data-pm-theme=dark] .pm-tech-item span,.pm-tech[data-pm-theme=dark] .pm-tech-item small{color:#e9f1fa!important}.pm-tech[data-pm-lang=en]{text-align:left}.pm-tech[data-pm-lang=en] .pm-settings-header{left:auto;right:12px}.pm-tech-heading{padding-left:45px}.pm-tech[data-pm-lang=en] .pm-tech-heading{padding-left:0;padding-right:45px}
