.pds-sce-app{font-family:Arial,sans-serif;max-width:1100px;margin:auto}.pds-topbar{display:flex;justify-content:space-between;align-items:center;background:var(--pds-primary);color:white;padding:12px 16px;border-radius:14px}.pds-card,.pds-login-card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:16px;margin:14px 0;box-shadow:0 1px 4px #0001}.pds-btn,.pds-mini{background:var(--pds-accent,#2563eb);color:white;border:0;border-radius:10px;padding:9px 13px;text-decoration:none;display:inline-block}.pds-mini.secondary{background:#64748b}.pds-row{display:flex;gap:10px;flex-wrap:wrap}.pds-muted{color:#64748b}.pds-bad,.pds-alert{background:#fee2e2;border:1px solid #fecaca;padding:8px;border-radius:8px}.pds-note{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:8px;margin:8px 0}.pds-sce-app label{display:block;margin:8px 0}.pds-sce-app input,.pds-sce-app select,.pds-sce-app textarea{max-width:100%;padding:8px;border:1px solid #cbd5e1;border-radius:8px}.pds-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px}.pds-kpis div{background:#f8fafc;padding:12px;border-radius:12px}.pds-kpis b{display:block;font-size:22px}


/* v1.9.0 mobile app polish */
.pds-sce-app{padding:10px;box-sizing:border-box;background:#f8fafc;min-height:100vh;color:#0f172a}.pds-topbar{position:sticky;top:8px;z-index:20;gap:10px}.pds-card,.pds-login-card{box-sizing:border-box}.pds-card h2,.pds-card h3{margin-top:0}.pds-btn,.pds-mini{cursor:pointer;touch-action:manipulation;line-height:1.2}.pds-btn:active,.pds-mini:active{transform:translateY(1px)}.pds-row>*,.pds-card form label{box-sizing:border-box}.pds-card form input,.pds-card form select,.pds-card form textarea,.pds-login-card input{width:100%;box-sizing:border-box;min-height:42px}.pds-card textarea{min-height:90px}.pds-card table{width:100%;border-collapse:collapse}.pds-card th,.pds-card td{padding:7px;border-bottom:1px solid #e2e8f0;vertical-align:top}.pds-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}.pds-pill{display:inline-block;border-radius:999px;background:#e0f2fe;color:#075985;padding:3px 8px;font-size:12px}.pds-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.pds-result,.pds-track-result{word-break:break-word}.pds-qr img,.qr img{max-width:100%;height:auto}
@media(max-width:720px){.pds-sce-app{padding:8px;font-size:14px}.pds-topbar{border-radius:0;margin:-8px -8px 10px -8px;top:0;align-items:flex-start;flex-direction:column}.pds-topbar h2,.pds-topbar h3{font-size:18px;margin:0}.pds-card,.pds-login-card{border-radius:12px;padding:12px;margin:10px 0;box-shadow:0 1px 2px #0001}.pds-row{display:block}.pds-sce-app .pds-btn,.pds-sce-app .pds-mini,.pds-sce-app button{width:100%;text-align:center;margin:4px 0;min-height:42px}.pds-actions .pds-btn,.pds-actions .pds-mini{width:auto;flex:1 1 140px}.pds-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.pds-kpis b{font-size:18px}.pds-sce-app table{display:block;overflow-x:auto;white-space:nowrap;-webkit-overflow-scrolling:touch}.pds-sce-app input[type="checkbox"]{width:auto;min-height:auto}.pds-card .pds-mini.secondary{display:block}}
@media(max-width:420px){.pds-kpis{grid-template-columns:1fr}.pds-actions .pds-btn,.pds-actions .pds-mini{flex-basis:100%}.pds-card th,.pds-card td{padding:6px;font-size:13px}}
@media print{.pds-sce-app{background:white;padding:0}.pds-sce-app .pds-topbar,.pds-sce-app .pds-btn,.pds-sce-app .pds-mini,.pds-sce-app button{display:none!important}.pds-card{box-shadow:none;border:0;margin:0;padding:0}}

/* v2.0.0 Full Software UI Layer */
body.pds-sce-app-mode{background:#eef2ff!important;overflow-x:hidden}body.pds-sce-app-mode #wpadminbar{display:none!important}body.pds-sce-app-mode{margin-top:0!important}body.pds-sce-app-mode .site-header,body.pds-sce-app-mode .elementor-location-header,body.pds-sce-app-mode .site-footer,body.pds-sce-app-mode .elementor-location-footer{display:none!important}body.pds-sce-app-mode .entry-content,body.pds-sce-app-mode .site-main,body.pds-sce-app-mode .content-area,body.pds-sce-app-mode article,body.pds-sce-app-mode .page-content{margin:0!important;padding:0!important;max-width:none!important;width:100%!important}
.pds-sce-app.pds-app-v2{max-width:none!important;margin:0!important;padding:0!important;min-height:100vh;display:grid;grid-template-columns:260px minmax(0,1fr);background:linear-gradient(135deg,#eef2ff 0%,#f8fafc 45%,#ecfeff 100%);font-family:Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;color:#0f172a}.pds-sidebar{background:#0f172a;color:#fff;padding:18px 14px;position:sticky;top:0;height:100vh;box-sizing:border-box}.pds-brand{display:flex;gap:10px;align-items:center;margin-bottom:22px}.pds-brand-mark{width:44px;height:44px;border-radius:14px;background:#fff;color:#2563eb;display:grid;place-items:center;font-weight:900}.pds-brand small{display:block;color:#cbd5e1;font-size:12px;margin-top:2px}.pds-app-nav{display:flex;flex-direction:column;gap:7px}.pds-app-nav a{color:#dbeafe;text-decoration:none;padding:11px 12px;border-radius:12px;font-weight:700}.pds-app-nav a:hover,.pds-app-nav a:focus{background:#1e293b;color:#fff}.pds-main-shell{min-width:0}.pds-app-v2 .pds-topbar{position:sticky;top:0;z-index:30;border-radius:0;background:rgba(255,255,255,.92);backdrop-filter:blur(12px);color:#0f172a;border-bottom:1px solid #e2e8f0;padding:14px 22px}.pds-app-v2 .pds-topbar small{display:block;color:#64748b}.pds-app-v2 .pds-logout{background:#eff6ff;color:#2563eb;padding:9px 12px;border-radius:10px;text-decoration:none;font-weight:800}.pds-app-content{padding:22px;box-sizing:border-box}.pds-dashboard-v2{display:grid;gap:16px}.pds-hero-card{background:linear-gradient(135deg,#111827,#1d4ed8);color:#fff;border-radius:24px;padding:26px;display:flex;justify-content:space-between;gap:16px;align-items:center;box-shadow:0 20px 50px #1d4ed830}.pds-hero-card h2{margin:4px 0 8px;font-size:30px;line-height:1.1;color:#fff}.pds-hero-card p{margin:0;max-width:760px;color:#dbeafe}.pds-kicker{text-transform:uppercase;letter-spacing:.13em;font-weight:900;font-size:12px!important;color:#93c5fd!important}.pds-action-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.pds-action-card{background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:18px;text-decoration:none;color:#0f172a;box-shadow:0 10px 28px #0f172a0d}.pds-action-card strong{display:block;font-size:18px;margin-bottom:5px}.pds-action-card span{color:#64748b}.pds-screen-card,.pds-app-v2 .pds-card{border:1px solid #e2e8f0;border-radius:20px;box-shadow:0 12px 32px #0f172a0d;background:#fff;margin:0;padding:20px}.pds-wide{grid-column:1/-1}.pds-job-wizard{display:block}.pds-wizard-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:0 0 16px}.pds-wizard-tabs button{border:1px solid #dbeafe;background:#eff6ff;color:#1d4ed8;border-radius:12px;padding:10px;font-weight:800;cursor:pointer}.pds-wizard-tabs button.active{background:#2563eb;color:#fff}.pds-step{display:none;animation:pdsFade .18s ease}.pds-step.active{display:block}.pds-step h4{font-size:19px;margin:0 0 12px}.pds-wizard-actions{display:flex;gap:10px;justify-content:flex-end;border-top:1px solid #e2e8f0;margin-top:16px;padding-top:14px}.pds-button-row{display:flex;gap:10px;flex-wrap:wrap}.pds-table-wrap{border:1px solid #e2e8f0;border-radius:16px;overflow:auto}.pds-table{margin:0}.pds-table thead th{background:#f8fafc;position:sticky;top:0;z-index:1}.pds-card input[type=checkbox]{width:24px!important;height:24px!important;min-height:24px!important;vertical-align:middle;accent-color:#2563eb}.pds-card label:has(input[type=checkbox]){display:flex;align-items:center;gap:10px;justify-content:flex-start}.pds-card label:has(input[type=checkbox]) input{order:-1}.pds-card input,.pds-card select,.pds-card textarea{border-radius:12px;border:1px solid #cbd5e1;background:#fff;padding:11px 12px}.pds-card input:focus,.pds-card select:focus,.pds-card textarea:focus{outline:2px solid #bfdbfe;border-color:#2563eb}.pds-btn,.pds-mini{border-radius:12px;font-weight:900;box-shadow:0 8px 18px #2563eb22}.pds-bottom-nav{display:none}@keyframes pdsFade{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
@media(max-width:1100px){.pds-sce-app.pds-app-v2{grid-template-columns:220px 1fr}.pds-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pds-hero-card{align-items:flex-start;flex-direction:column}.pds-hero-card h2{font-size:26px}}
@media(max-width:780px){.pds-sce-app.pds-app-v2{display:block;padding-bottom:74px}.pds-sidebar{display:none}.pds-app-content{padding:12px}.pds-app-v2 .pds-topbar{padding:12px 14px}.pds-hero-card{border-radius:18px;padding:18px}.pds-hero-card h2{font-size:22px}.pds-action-grid{grid-template-columns:1fr 1fr;gap:10px}.pds-action-card{padding:14px;border-radius:15px}.pds-screen-card,.pds-app-v2 .pds-card{border-radius:16px;padding:14px}.pds-wizard-tabs{display:flex;overflow-x:auto;padding-bottom:4px}.pds-wizard-tabs button{min-width:118px}.pds-row{display:block}.pds-wizard-actions{position:sticky;bottom:70px;background:#fff;margin-left:-14px;margin-right:-14px;padding:12px 14px}.pds-bottom-nav{display:block;position:fixed;left:0;right:0;bottom:0;z-index:60;background:#0f172a;border-top:1px solid #1e293b;padding:7px 6px}.pds-bottom-nav .pds-app-nav{display:grid;grid-template-columns:repeat(5,1fr);gap:4px}.pds-bottom-nav .pds-app-nav a{font-size:11px;text-align:center;padding:9px 3px;border-radius:10px;color:#dbeafe}.pds-bottom-nav .pds-app-nav a:hover{background:#1e293b}.pds-btn,.pds-mini{min-height:44px}.pds-table-wrap table,.pds-table{min-width:760px}}
@media(max-width:440px){.pds-action-grid{grid-template-columns:1fr}.pds-hero-card{padding:16px}.pds-app-v2 .pds-topbar{display:flex;flex-direction:row;align-items:center}.pds-app-v2 .pds-topbar small{display:none}.pds-card h3{font-size:20px}.pds-wizard-tabs button{min-width:106px;font-size:12px}.pds-bottom-nav .pds-app-nav a{font-size:10px}}

/* v2.0.2 Customer onboarding and true app-screen navigation */
.pds-login-shell{display:block!important;min-height:100vh;background:linear-gradient(145deg,#eef2ff,#ecfeff)!important}.pds-login-shell .pds-main-shell{max-width:980px;margin:0 auto}.pds-login-shell .pds-topbar{background:transparent!important;border:0!important;padding:18px 18px 0!important}.pds-login-shell .pds-app-content{padding:18px}.pds-login-grid{display:grid;grid-template-columns:minmax(280px,420px) minmax(280px,1fr);gap:16px;align-items:start}.pds-login-card{border-radius:24px!important;box-shadow:0 20px 50px #0f172a14!important;padding:26px!important}.pds-login-card h2{font-size:34px;line-height:1.05;margin:0 0 14px}.pds-login-links{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.pds-login-links .pds-mini{width:auto;box-shadow:none;background:#f1f5f9;color:#0f172a}.pds-auth-panel{animation:pdsFade .2s ease}.pds-tabbed-app .pds-app-screen{display:none}.pds-tabbed-app .pds-app-screen.pds-screen-active{display:grid;gap:16px}.pds-app-nav a.active,.pds-bottom-nav a.active{background:#1d4ed8!important;color:#fff!important}.pds-action-card.active{border-color:#2563eb;box-shadow:0 12px 28px #2563eb22}.pds-job-wizard .pds-step{display:none}.pds-job-wizard .pds-step.active{display:block}.pds-wizard-tabs button{white-space:normal;line-height:1.15}.pds-wizard-actions .pds-prev-step,.pds-wizard-actions .pds-next-step{background:#f1f5f9;color:#0f172a}.pds-wizard-actions button[type=submit]{background:var(--pds-accent,#2563eb);color:#fff}.pds-customer-suggestions .pds-mini{width:auto;margin:4px}.pds-device-history,.pds-duplicate-warning{margin-top:8px}
@media(max-width:780px){.pds-login-grid{display:block}.pds-login-card{padding:20px!important;margin:12px 0!important}.pds-login-card h2{font-size:30px}.pds-login-shell{padding-bottom:0!important}.pds-login-shell .pds-app-content{padding:10px 12px 24px}.pds-login-shell .pds-topbar{padding:14px 14px 0!important}.pds-login-links{display:grid;grid-template-columns:1fr;gap:8px}.pds-login-links .pds-mini{width:100%}.pds-tabbed-app .pds-app-screen.pds-screen-active{display:block}.pds-wizard-tabs{display:grid!important;grid-template-columns:repeat(5,minmax(54px,1fr));gap:5px;overflow:visible!important}.pds-wizard-tabs button{min-width:0!important;font-size:11px!important;padding:8px 4px!important;border-radius:11px!important}.pds-wizard-actions{position:sticky;bottom:70px;z-index:55;background:#fff;border-radius:16px 16px 0 0;box-shadow:0 -10px 28px #0f172a12}.pds-action-grid{grid-template-columns:1fr 1fr!important}.pds-action-card strong{font-size:15px}.pds-action-card span{font-size:12px}.pds-card input,.pds-card select,.pds-card textarea,.pds-login-card input{font-size:16px;min-height:48px}}
@media(max-width:420px){.pds-action-grid{grid-template-columns:1fr!important}.pds-wizard-tabs button{font-size:10px!important}.pds-login-card h2{font-size:28px}.pds-hero-card h2{font-size:21px}}

/* v2.1.0 App UX polish */
.pds-auth-panel.pds-modal-open{position:fixed!important;inset:0!important;z-index:99999!important;display:grid!important;place-items:center!important;background:rgba(15,23,42,.58)!important;padding:18px!important;margin:0!important;border-radius:0!important;box-shadow:none!important;overflow:auto!important}.pds-auth-panel.pds-modal-open>form,.pds-auth-panel.pds-modal-open h3,.pds-auth-panel.pds-modal-open p{max-width:520px;width:100%}.pds-auth-panel.pds-modal-open{color:#0f172a}.pds-auth-panel.pds-modal-open:before{content:"";position:absolute;inset:auto;display:none}.pds-auth-panel.pds-modal-open h3,.pds-auth-panel.pds-modal-open form,.pds-auth-panel.pds-modal-open .pds-track-form{background:#fff}.pds-auth-panel.pds-modal-open h3{margin:0;padding:22px 22px 0;border-radius:22px 22px 0 0}.pds-auth-panel.pds-modal-open form,.pds-auth-panel.pds-modal-open .pds-track-form{padding:16px 22px 22px;border-radius:0 0 22px 22px;box-shadow:0 24px 80px rgba(15,23,42,.28)}.pds-auth-close{position:fixed;right:22px;top:18px;width:44px;height:44px;border-radius:999px;border:0;background:#fff;color:#0f172a;font-size:26px;font-weight:900;box-shadow:0 12px 36px rgba(15,23,42,.25);z-index:100000}.pds-login-links{justify-content:center}.pds-login-links .pds-mini{border-radius:999px}.pds-profile-mini{display:flex;align-items:center;gap:12px;justify-content:space-between;background:#f8fafc;border:1px solid #e2e8f0;border-radius:16px;padding:12px 14px;margin-bottom:14px}.pds-profile-mini strong{display:block}.pds-profile-mini span{display:block;color:#64748b;font-size:13px;flex:1}.pds-divider{height:1px;background:#e2e8f0;margin:20px 0}.pds-customer-quick-job .pds-wizard-tabs-3{grid-template-columns:repeat(3,minmax(0,1fr))}.pds-customer-quick-job .pds-step h4{font-size:22px}.pds-customer-quick-job .pds-muted{font-size:14px}.pds-card input[readonly]{background:#f8fafc;color:#475569}.pds-bottom-nav .pds-app-nav{align-items:center}.pds-bottom-nav .pds-app-nav a{min-height:38px;display:grid;place-items:center}.pds-action-card{transition:transform .18s ease,box-shadow .18s ease}.pds-action-card:active{transform:scale(.98)}
@media(max-width:780px){.pds-login-card:first-child{margin-top:46px!important}.pds-login-card:first-child .pds-login-links{display:grid;grid-template-columns:1fr;gap:10px}.pds-login-card:first-child .pds-mini{padding:14px 16px;background:#f1f5f9!important;border-radius:16px}.pds-auth-panel.pds-modal-open{align-items:end!important;padding:0!important}.pds-auth-panel.pds-modal-open h3{max-width:none;border-radius:24px 24px 0 0;padding:24px 22px 4px}.pds-auth-panel.pds-modal-open form,.pds-auth-panel.pds-modal-open .pds-track-form{max-width:none;border-radius:0;padding:16px 22px 28px}.pds-auth-close{top:auto;bottom:calc(100vh - 62px);right:14px}.pds-profile-mini{display:block}.pds-profile-mini .pds-mini{margin-top:10px;width:100%;text-align:center}.pds-customer-quick-job .pds-wizard-tabs-3{grid-template-columns:repeat(3,1fr)!important}.pds-customer-quick-job .pds-wizard-tabs button{font-size:13px!important}.pds-customer-quick-job .pds-step h4{font-size:24px}.pds-wizard-actions{backdrop-filter:blur(10px);background:rgba(255,255,255,.92)!important}.pds-card textarea{min-height:120px}.pds-app-v2 .pds-topbar{box-shadow:0 8px 22px rgba(15,23,42,.06)}.pds-hero-card .pds-btn{width:100%;text-align:center}.pds-action-grid .pds-action-card{min-height:78px;display:flex;flex-direction:column;justify-content:center}.pds-login-shell .pds-topbar strong{font-size:18px}}

/* v2.1.1 mobile workflow fixes */
.pds-mobile-ticket-list{display:none}.pds-empty-card{padding:18px;border:1px solid #e2e8f0;border-radius:16px;background:#fff;color:#64748b}.pds-ticket-card-mobile{border:1px solid #e2e8f0;border-radius:18px;background:#fff;padding:14px;margin:12px 0;box-shadow:0 10px 24px rgba(15,23,42,.06)}.pds-ticket-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.pds-ticket-card-head strong{font-size:16px}.pds-ticket-card-head span{border-radius:999px;background:#eff6ff;color:#1d4ed8;padding:5px 9px;font-size:12px;font-weight:800}.pds-ticket-card-mobile p{margin:10px 0 4px}.pds-ticket-card-mobile small{color:#64748b}.pds-ticket-card-meta{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}.pds-ticket-card-meta span{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:8px;font-size:12px}.pds-form-result{margin-top:12px;font-weight:700}.pds-form-result:empty{display:none}.pds-customer-quick-job .pds-step label{margin-bottom:12px}.pds-customer-quick-job .pds-step{padding-bottom:92px}.pds-customer-quick-job .pds-wizard-actions{gap:12px}.pds-customer-quick-job .pds-wizard-actions button{flex:1}.pds-customer-quick-job .pds-profile-mini{position:relative;z-index:2}.pds-app-v2 .pds-card{max-width:100%;box-sizing:border-box}.pds-app-content{overflow-x:hidden}.pds-app-v2 select{appearance:none;background-image:linear-gradient(45deg,transparent 50%,#64748b 50%),linear-gradient(135deg,#64748b 50%,transparent 50%);background-position:calc(100% - 18px) calc(50% - 3px),calc(100% - 12px) calc(50% - 3px);background-size:6px 6px,6px 6px;background-repeat:no-repeat;padding-right:34px!important}
@media(max-width:780px){.pds-desktop-table{display:none!important}.pds-mobile-ticket-list{display:block}.pds-screen-card.pds-wide{overflow:hidden}.pds-app-content{padding-left:10px!important;padding-right:10px!important}.pds-customer-quick-job .pds-wizard-tabs-3{position:sticky;top:64px;z-index:20;background:rgba(255,255,255,.92);backdrop-filter:blur(8px);padding:8px 0}.pds-customer-quick-job .pds-wizard-tabs-3 button{min-height:52px!important}.pds-customer-quick-job .pds-wizard-actions{bottom:64px!important}.pds-card input,.pds-card select,.pds-card textarea{width:100%;box-sizing:border-box}.pds-app-v2 .pds-topbar{position:sticky;top:0;z-index:50;background:#fff!important}.pds-login-shell .pds-topbar{position:relative}.pds-ticket-card-mobile .pds-mini{width:100%;margin-top:8px}.pds-row{gap:0!important}.pds-customer-quick-job .pds-step h4{font-size:22px!important}.pds-profile-mini{margin-top:4px}.pds-profile-mini strong{font-size:16px}.pds-profile-mini span{margin-top:4px}.pds-profile-mini .pds-mini{min-height:42px!important}}
@media(max-width:420px){.pds-customer-quick-job .pds-wizard-tabs-3 button{font-size:12px!important;padding:8px 2px!important}.pds-card h3{font-size:24px!important}.pds-customer-quick-job .pds-step h4{font-size:21px!important}.pds-ticket-card-meta{grid-template-columns:1fr}.pds-bottom-nav .pds-app-nav a{font-size:11px!important}.pds-wizard-actions button{font-size:15px}}

/* v2.1.2 customer self-service polish */
.pds-customer-selfcare .pds-hero-card{background:linear-gradient(135deg,#0f172a 0%,#1d4ed8 70%,#2563eb 100%)}
.pds-live-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:14px 0}
.pds-live-card{background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:15px;text-decoration:none;color:#0f172a;box-shadow:0 10px 24px rgba(15,23,42,.06)}
.pds-live-card span{display:block;color:#64748b;font-size:12px;text-transform:uppercase;letter-spacing:.08em;font-weight:900}.pds-live-card strong{display:block;font-size:26px;margin:4px 0}.pds-live-card small{color:#64748b}.pds-live-card-due strong{color:#dc2626}
.pds-current-job-card{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;border:1px solid #dbeafe;border-radius:20px;padding:16px 18px;box-shadow:0 12px 30px rgba(37,99,235,.08);margin:12px 0}
.pds-current-job-card h3{margin:0 0 5px;font-size:18px}.pds-current-job-card p{margin:0;color:#64748b}.pds-empty-state{background:linear-gradient(135deg,#fff,#f8fafc)}
.pds-customer-ticket-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:14px}.pds-customer-ticket-card{background:#fff;border:1px solid #e2e8f0;border-radius:20px;padding:16px;box-shadow:0 10px 28px rgba(15,23,42,.06)}
.pds-ticket-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.pds-ticket-card-head strong{font-size:18px}.pds-ticket-card-head small{display:block;color:#64748b;margin-top:3px}.pds-ticket-card-head span{background:#eff6ff;color:#1d4ed8;border-radius:999px;padding:6px 10px;font-weight:900;font-size:12px;white-space:nowrap}
.pds-ticket-device{margin:14px 0 10px}.pds-ticket-device b{display:block}.pds-ticket-device small{display:block;color:#64748b;margin-top:3px}.pds-progress{height:8px;background:#e2e8f0;border-radius:999px;overflow:hidden;margin:12px 0}.pds-progress i{display:block;height:100%;background:linear-gradient(90deg,#2563eb,#16a34a);border-radius:999px}
.pds-profile-mini{background:#f8fafc;border:1px solid #e2e8f0;border-radius:18px;padding:14px;margin-bottom:14px}.pds-profile-mini strong{display:block;font-size:18px}.pds-profile-mini span{display:block;color:#64748b;margin:5px 0 10px}.pds-customer-quick-job .pds-step label{font-size:15px;color:#334155}.pds-customer-quick-job .pds-step input,.pds-customer-quick-job .pds-step select,.pds-customer-quick-job .pds-step textarea{font-size:16px!important;min-height:52px}
@media(max-width:780px){.pds-live-grid{grid-template-columns:repeat(2,1fr);gap:10px}.pds-live-card{padding:13px}.pds-live-card strong{font-size:22px}.pds-current-job-card{display:block;border-radius:18px}.pds-current-job-card .pds-mini{width:100%;margin-top:12px}.pds-action-grid-customer{grid-template-columns:1fr!important}.pds-customer-ticket-list{display:block}.pds-customer-ticket-card{margin:12px 0;border-radius:18px}.pds-customer-quick-job .pds-wizard-actions{position:sticky;bottom:64px!important;margin-left:-14px;margin-right:-14px;background:rgba(255,255,255,.96);backdrop-filter:blur(10px);box-shadow:0 -12px 32px rgba(15,23,42,.08)}body:has(.pds-customer-quick-job input:focus) .pds-bottom-nav,body:has(.pds-customer-quick-job textarea:focus) .pds-bottom-nav,body:has(.pds-customer-quick-job select:focus) .pds-bottom-nav{display:none}.pds-customer-quick-job .pds-step{padding-bottom:120px}.pds-app-content{padding-bottom:86px!important}.pds-wizard-tabs-3 button{min-width:0!important;flex:1;font-size:14px}.pds-ticket-card-meta{grid-template-columns:1fr 1fr}}

/* v2.1.5 Customer Professional Edition */
.pds-role-customer .pds-topbar strong{font-size:0;}
.pds-role-customer .pds-topbar strong:after{content:'PDS Service Portal';font-size:18px;font-weight:800;color:#111827;}
.pds-role-customer .pds-customer-hero{background:linear-gradient(135deg,#0f172a,#1d4ed8);border-radius:22px;box-shadow:0 18px 40px rgba(37,99,235,.22)}
.pds-role-customer .pds-current-job-card{border:1px solid #dbeafe;background:linear-gradient(180deg,#fff,#f8fbff);box-shadow:0 16px 34px rgba(15,23,42,.08)}
.pds-role-customer .pds-current-job-card h3{line-height:1.22;margin:.25rem 0 .45rem}
.pds-danger-text{color:#b91c1c;font-weight:800}
.pds-pro-ticket-card{border:1px solid #dbeafe;background:#fff;box-shadow:0 16px 38px rgba(15,23,42,.08)}
.pds-status-pill{display:inline-flex;align-items:center;padding:8px 14px;border-radius:999px;background:#eff6ff;color:#1d4ed8;font-weight:800;white-space:nowrap}
.pds-ticket-description{margin:10px 0;color:#475569;font-size:14px;line-height:1.5}
.pds-ticket-card-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}
.pds-ticket-card-meta span{background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;padding:12px;color:#64748b;font-size:13px}
.pds-ticket-card-meta b{display:block;color:#0f172a;font-size:15px;margin-top:4px;word-break:break-word}
.pds-pro-assistant{border:1px solid #bfdbfe;background:linear-gradient(180deg,#fff,#f8fbff);border-radius:18px;padding:18px}
.pds-assistant-summary{background:#f8fafc;border:1px solid #e2e8f0;border-radius:16px;padding:14px;margin:12px 0}
.pds-assistant-summary h4{margin:0 0 8px;font-size:18px}
.pds-pro-timeline{margin-top:18px;border:1px solid #e2e8f0;border-radius:18px;background:#fff;padding:12px}
.pds-pro-timeline summary{font-weight:800;cursor:pointer;padding:4px 2px}
.pds-pro-timeline ul{list-style:none;margin:12px 0 0;padding:0;display:grid;gap:12px}
.pds-pro-timeline li{display:flex;gap:10px;align-items:flex-start;padding:10px;border-radius:14px;background:#f8fafc;border:1px solid #eef2f7}
.pds-timeline-dot{width:26px;height:26px;border-radius:50%;background:#dcfce7;color:#15803d;display:inline-flex;align-items:center;justify-content:center;font-size:13px;flex:0 0 auto;font-weight:900}
.pds-pro-timeline li div{display:grid;gap:2px}.pds-pro-timeline small{color:#64748b}.pds-pro-timeline em{color:#475569;font-style:normal;font-size:13px}
.pds-role-customer .pds-action-card strong,.pds-role-customer .pds-live-card strong{letter-spacing:-.02em}
@media(max-width:720px){
  .pds-role-customer .pds-topbar{padding:14px 22px;min-height:72px}.pds-role-customer .pds-topbar strong:after{font-size:17px}
  .pds-ticket-card-meta{grid-template-columns:1fr 1fr}.pds-ticket-card-meta span{padding:10px;font-size:12px}.pds-ticket-card-meta b{font-size:14px}
  .pds-pro-ticket-card .pds-button-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
  .pds-pro-assistant{padding:14px}.pds-assistant-summary h4{font-size:16px}
}

/* v2.1.5 customer self-service polish */
.pds-filter-title{margin:10px 0 14px;padding:10px 12px;border:1px solid #dbeafe;background:#eff6ff;color:#1e40af;border-radius:14px;font-weight:800;display:flex;align-items:center;justify-content:space-between;gap:10px}.pds-filter-title button{border:0;background:#fff;color:#1d4ed8;border-radius:999px;padding:7px 10px;font-weight:800}.pds-pro-assistant{border-radius:18px}.pds-assistant-summary h4{margin-top:0}.pds-customer-ticket-card .pds-ticket-description{color:#475569}.pds-current-job-card .pds-mini{white-space:nowrap}
@media(max-width:780px){.pds-filter-title{font-size:13px}.pds-filter-title button{font-size:12px}.pds-current-job-card{padding:16px!important}.pds-current-job-card h3{font-size:22px!important}.pds-customer-ticket-card{overflow:hidden}.pds-customer-ticket-card .pds-button-row{display:grid;grid-template-columns:1fr;gap:9px}.pds-customer-ticket-card .pds-button-row .pds-mini{width:100%}}

/* v2.1.7 customer stable polish */
.pds-warranty-mini{margin:10px 0;padding:10px 12px;border-radius:14px;border:1px solid #dbeafe;background:#f8fafc;display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:13px}.pds-warranty-mini.active{border-color:#bbf7d0;background:#f0fdf4;color:#166534}.pds-warranty-mini.expired{border-color:#fecaca;background:#fef2f2;color:#991b1b}.pds-warranty-mini span{font-size:12px;color:inherit;opacity:.9}.pds-warranty-card{margin:14px 0;padding:14px;border-radius:16px;border:1px solid #dbeafe;background:#f8fafc}.pds-warranty-card.active{border-color:#bbf7d0;background:#f0fdf4}.pds-warranty-card.expired{border-color:#fecaca;background:#fef2f2}.pds-warranty-card p{margin:6px 0 10px}.pds-customer-ticket-card .pds-button-row{gap:8px;flex-wrap:wrap}.pds-customer-ticket-card .pds-button-row .pds-mini{flex:1 1 130px}.pds-ticket-card-meta b{word-break:normal}.pds-danger-text{color:#b91c1c!important;font-weight:800}
@media(max-width:720px){.pds-warranty-mini{display:block}.pds-customer-ticket-card .pds-button-row .pds-mini{flex:1 1 100%;}.pds-ticket-card-meta{grid-template-columns:repeat(2,minmax(0,1fr));}}

/* v2.1.8 customer support action polish */
.pds-mini.danger{background:#dc2626!important;color:#fff!important}.pds-mini.success{background:#16a34a!important;color:#fff!important}.pds-customer-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px;margin-top:12px}.pds-customer-actions .pds-mini{width:100%;text-align:center}.pds-warranty-card .pds-mini.success,.pds-warranty-mini+.pds-button-row .pds-mini.success{box-shadow:0 8px 20px rgba(22,163,74,.16)}@media(max-width:720px){.pds-customer-actions{grid-template-columns:1fr}.pds-customer-actions .pds-mini{min-height:44px}}


/* v2.2.1 Technician Professional Workflow */
.pds-tech-app .pds-hero-card{align-items:center}.pds-tech-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:14px 0}.pds-kpi-card{display:block;background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:14px;text-decoration:none;color:#111827;box-shadow:0 10px 22px rgba(15,23,42,.06)}.pds-kpi-card span{display:block;color:#64748b;font-size:12px}.pds-kpi-card strong{font-size:26px}.pds-tech-job-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px}.pds-tech-job-card{background:#fff;border:1px solid #e5e7eb;border-radius:20px;padding:16px;box-shadow:0 12px 26px rgba(15,23,42,.07)}.pds-tech-next{background:#f8fafc;border-left:4px solid #2563eb;padding:10px;border-radius:12px;margin:10px 0;color:#334155}.pds-handoff-box{background:#f8fafc;border:1px solid #e5e7eb;border-radius:16px;padding:12px;margin:10px 0}.pds-handoff-box h4{margin:0 0 6px}.pds-tech-cap-grid .pds-action-card{min-height:92px}.pds-tech-job-card[data-hide="1"]{display:none!important}@media(max-width:720px){.pds-tech-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.pds-kpi-card{padding:12px;border-radius:16px}.pds-kpi-card strong{font-size:22px}.pds-tech-job-list{grid-template-columns:1fr}.pds-tech-job-card{border-radius:18px;padding:14px}.pds-tech-app .pds-action-grid{grid-template-columns:1fr 1fr}.pds-tech-app .pds-action-card strong{font-size:14px}.pds-tech-app .pds-action-card span{font-size:12px}}

/* v2.2.2 Technician workflow polish */
.pds-role-technician .pds-app-content{padding-bottom:96px}.pds-tech-app .pds-app-screen{gap:16px}.pds-tech-job-card{border:1px solid #e2e8f0;border-radius:22px;background:#fff;padding:18px;margin:12px 0;box-shadow:0 14px 35px #0f172a0d}.pds-tech-job-card[data-hide="1"]{display:none!important}.pds-ticket-card-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.pds-ticket-card-head strong{font-size:24px}.pds-ticket-card-head small{display:block;color:#64748b;margin-top:4px}.pds-status-pill{display:inline-flex;padding:8px 13px;border-radius:999px;background:#eff6ff;color:#1d4ed8;font-weight:800}.pds-ticket-device b{font-size:18px;display:block;margin-top:14px}.pds-ticket-device small{color:#64748b}.pds-tech-next{background:#f8fafc;border:1px solid #e2e8f0;border-radius:16px;padding:12px;margin:14px 0}.pds-tech-job-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.pds-tech-job-head h2{margin:4px 0 8px;font-size:28px;line-height:1.1}.pds-tech-summary-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:14px 0}.pds-tech-summary-grid div{background:#f8fafc;border:1px solid #e2e8f0;border-radius:16px;padding:12px}.pds-tech-summary-grid small{display:block;color:#64748b;margin-bottom:5px}.pds-step-flow{display:flex;gap:6px;overflow-x:auto;padding:10px 0;margin:8px 0 14px}.pds-step-flow span{white-space:nowrap;background:#f1f5f9;border:1px solid #e2e8f0;color:#475569;border-radius:999px;padding:8px 12px;font-weight:800}.pds-step-flow span.active{background:#2563eb;color:#fff;border-color:#2563eb}.pds-step-card{background:#fff;border:1px solid #dbeafe;border-radius:22px;padding:18px;box-shadow:0 18px 45px #0f172a0d}.pds-step-card h3{margin-top:0}.pds-inline-form{background:#f8fafc;border:1px solid #e2e8f0;border-radius:18px;padding:14px;margin-top:12px}.pds-inline-form h4{margin:0 0 10px}.pds-inline-form details,.pds-tech-detail-panel details{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:10px}.pds-tech-secondary{margin-top:14px}.pds-role-technician .pds-app-nav a[href="#pds-job-detail"],.pds-role-technician .pds-bottom-nav a[href="#pds-job-detail"]{display:none!important}
@media(max-width:780px){.pds-tech-summary-grid{grid-template-columns:1fr}.pds-tech-job-head{display:block}.pds-step-card{padding:14px}.pds-tech-job-head h2{font-size:24px}.pds-role-technician .pds-card,.pds-role-technician .pds-screen-card{margin:10px 0}.pds-step-flow{margin-left:-4px;margin-right:-4px}.pds-topbar strong{font-size:18px}}


/* v2.2.3 technician/staff workflow polish */
.pds-role-technician .pds-topbar strong{font-size:22px;letter-spacing:-.02em}
.pds-role-technician .pds-app-content{padding-bottom:110px}
.pds-receive-any-staff{border:1px solid rgba(37,99,235,.35)!important;background:linear-gradient(180deg,#eff6ff,#fff)!important}
.pds-tech-job-card{margin-bottom:14px}
.pds-tech-job-card .pds-ticket-description{font-size:14px;color:#475569;margin:8px 0}
.pds-tech-next{background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;padding:10px 12px;margin:10px 0;color:#0f172a}
.pds-tech-detail-panel{border:0!important;box-shadow:none!important;padding:0!important;background:transparent!important}
.pds-tech-detail-panel .pds-job-summary{background:#fff;border:1px solid #dbe4ee;border-radius:20px;padding:18px;margin-bottom:16px}
.pds-tech-detail-panel .pds-step-pill-row{display:flex;gap:8px;overflow-x:auto;padding:4px 0 12px;scrollbar-width:none}
.pds-tech-detail-panel .pds-step-pill-row span{white-space:nowrap;border-radius:999px;padding:10px 14px;background:#eef4fb;color:#334155;font-weight:700}
.pds-tech-detail-panel .pds-step-pill-row span.active{background:#2563eb;color:#fff}
.pds-tech-detail-panel .pds-work-step-card{background:#fff;border:1px solid #dbe4ee;border-radius:22px;padding:18px;margin-top:14px}
.pds-tech-detail-panel details{background:#f8fafc;border:1px solid #e2e8f0;border-radius:16px;padding:12px;margin:12px 0}
.pds-tech-detail-panel summary{font-weight:800;cursor:pointer}
.pds-tech-detail-panel .pds-form-grid-compact label{margin-bottom:12px}
.pds-tech-detail-panel .pds-form-grid-compact input,.pds-tech-detail-panel .pds-form-grid-compact textarea,.pds-tech-detail-panel .pds-form-grid-compact select{min-height:48px}
.pds-customer-suggestions .pds-mini{display:block;width:100%;text-align:left;margin:6px 0;border-radius:12px;background:#eef4ff;color:#0f172a}
.pds-role-technician #pds-receive .pds-wizard-tabs button{font-size:13px;padding:10px 8px}
@media(max-width:700px){
  .pds-role-technician .pds-topbar{position:sticky;top:0;z-index:20;background:#fff}
  .pds-role-technician .pds-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pds-role-technician .pds-action-grid{grid-template-columns:1fr}
  .pds-tech-detail-panel .pds-work-step-card{padding:14px;border-radius:18px}
  .pds-tech-detail-panel h3,.pds-tech-detail-panel h4{font-size:28px;line-height:1.1}
}

/* v2.2.4 Field Service UI hardening */
.pds-role-technician #pds-receive .pds-wizard-actions{position:static!important;bottom:auto!important;margin:18px 0 0!important;padding:14px 0 0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important}
.pds-role-technician #pds-receive .pds-step{padding-bottom:22px!important}
.pds-role-technician #pds-receive .pds-primary-submit{display:block!important;width:100%!important;min-height:54px!important;font-size:16px!important;margin-top:12px!important;background:#2563eb!important;color:#fff!important}
.pds-role-technician #pds-receive .pds-checklist h4{font-size:20px!important;margin-top:0!important}
.pds-role-technician #pds-receive .pds-step>h4{font-size:26px!important;line-height:1.1!important}
.pds-role-technician .pds-l2-only{border-color:#fed7aa!important;background:#fff7ed!important}
.pds-role-technician .pds-l2-only summary{color:#c2410c!important}
.pds-role-technician .pds-tech-detail-panel .pds-work-step-card .pds-diagnosis-form{display:block}
.pds-role-technician .pds-tech-detail-panel .pds-inline-form:empty{display:none!important}
.pds-role-technician .pds-tech-detail-panel .pds-muted:empty{display:none!important}
.pds-role-technician .pds-customer-suggestions{position:relative;z-index:8}
.pds-role-technician .pds-customer-suggestions .pds-note{background:#fff;border:1px solid #bfdbfe;border-radius:16px;padding:10px;margin:8px 0;box-shadow:0 12px 28px rgba(15,23,42,.10)}
.pds-role-technician .pds-device-history{background:#f8fafc;border:1px solid #e2e8f0;border-radius:16px;padding:12px;margin:10px 0;color:#334155}
.pds-role-technician .pds-device-history b{display:block;margin-bottom:4px}
@media(max-width:780px){
  .pds-role-technician #pds-receive .pds-wizard-tabs{position:sticky;top:64px;z-index:18;background:rgba(255,255,255,.95);padding:8px 0!important;backdrop-filter:blur(8px)}
  .pds-role-technician #pds-receive .pds-wizard-tabs button{min-width:0!important;font-size:11px!important;padding:9px 4px!important}
  .pds-role-technician:has(#pds-receive input:focus) .pds-bottom-nav,.pds-role-technician:has(#pds-receive textarea:focus) .pds-bottom-nav,.pds-role-technician:has(#pds-receive select:focus) .pds-bottom-nav{display:none!important}
  .pds-role-technician #pds-receive .pds-primary-submit{margin-bottom:20px!important}
  .pds-role-technician .pds-step-card{margin-bottom:24px!important}
}

/* v2.2.5 staff simplicity, search, hold and delivery money polish */
.pds-tech-searchbar{margin:0 0 14px;padding:12px;border:1px solid #dbe4ee;background:#f8fafc;border-radius:18px}.pds-tech-searchbar label{font-size:13px;color:#475569;font-weight:700}.pds-tech-searchbar input{margin-top:6px;width:100%;min-height:46px;border-radius:14px;border:1px solid #cbd5e1;padding:10px 12px;background:#fff}.pds-ticket-mini-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0}.pds-ticket-mini-grid span{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:9px 10px;color:#334155;font-weight:700}.pds-tech-quick-tools{display:grid;gap:10px;margin:10px 0 16px}.pds-tech-quick-tools details{background:#f8fafc;border:1px solid #dbe4ee;border-radius:16px;padding:12px}.pds-tech-quick-tools summary{font-weight:900;cursor:pointer}.pds-money-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:10px 0 12px}.pds-money-summary div{border:1px solid #e2e8f0;background:#fff;border-radius:14px;padding:10px}.pds-money-summary small{display:block;color:#64748b;font-size:12px;margin-bottom:4px}.pds-money-summary b{font-size:15px;color:#0f172a}.pds-role-technician .pds-step-card>summary{font-size:16px}.pds-role-technician .pds-current-action>.pds-tech-quick-tools+.pds-step-card{margin-top:12px}.pds-role-technician .pds-inline-form select,.pds-role-technician .pds-inline-form input,.pds-role-technician .pds-inline-form textarea{font-size:15px}.pds-role-technician .pds-ticket-card-head strong:before{content:'Ticket ';font-size:13px;color:#64748b;font-weight:700}
@media(max-width:780px){.pds-money-summary{grid-template-columns:1fr 1fr}.pds-ticket-mini-grid{grid-template-columns:1fr 1fr}.pds-tech-searchbar{position:sticky;top:74px;z-index:10;background:rgba(248,250,252,.96);backdrop-filter:blur(8px)}.pds-tech-quick-tools details{padding:10px}.pds-role-technician .pds-step-card h3{font-size:24px!important}.pds-role-technician .pds-step-card{box-shadow:0 10px 28px rgba(15,23,42,.06)}}


/* v2.2.6 technician polish */
.pds-tech-app .pds-app-screen:not(.pds-screen-active){display:none!important;}
.pds-step-card{margin-top:16px;border:1px solid #e5e7eb;border-radius:18px;background:#fff;padding:20px;box-shadow:0 10px 28px rgba(15,23,42,.06)}
.pds-step-card h3{margin-top:0;margin-bottom:8px;font-size:24px;line-height:1.2}
.pds-locked-step{background:#f8fafc;border-style:dashed;color:#475569}
.pds-tech-job-card .pds-btn,.pds-current-action .pds-btn,.pds-current-action .pds-mini{min-height:48px;border-radius:14px;font-weight:700}
.pds-tech-summary-grid{display:grid;grid-template-columns:1fr;gap:10px;margin:12px 0}
.pds-tech-summary-grid>div{background:#f8fafc;border:1px solid #e5e7eb;border-radius:14px;padding:12px}
.pds-tech-summary-grid small{display:block;color:#64748b;margin-bottom:4px}
.pds-step-flow{display:flex;gap:8px;overflow-x:auto;padding:8px 0 14px;margin:8px 0}
.pds-step-flow span{white-space:nowrap;padding:10px 14px;border-radius:999px;background:#eef2f7;color:#334155;font-weight:700}
.pds-step-flow span.active{background:#2563eb;color:#fff}
.pds-receive-submit-sticky{position:sticky;bottom:82px;background:linear-gradient(180deg,rgba(255,255,255,.88),#fff);padding:14px 0;margin-top:12px;z-index:5}
.pds-ticket-wizard .pds-step-nav{position:sticky;bottom:82px;background:linear-gradient(180deg,rgba(255,255,255,.82),#fff);padding:14px 0;z-index:4}
@media(max-width:640px){.pds-card,.pds-screen-card{padding:22px!important;border-radius:22px}.pds-ticket-wizard .pds-step-tab{font-size:13px;padding:12px 10px}.pds-step-card{padding:16px}.pds-step-card h3{font-size:22px}.pds-bottom-nav{height:74px}.pds-dashboard-v2{padding-bottom:100px!important}}

/* v2.3.0 Professional Suite Responsive / SCOS polish */
.pds-sce-app{max-width:100%;}
.pds-main-shell{min-width:0;}
.pds-app-content{width:100%;}
.pds-tech-hero{margin-bottom:14px;}
.pds-tech-global-search,.pds-tech-toolbar{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin:12px 0;padding:12px;border:1px solid rgba(148,163,184,.35);border-radius:18px;background:#fff;}
.pds-tech-global-search label,.pds-tech-toolbar label{flex:1 1 260px;margin:0;}
.pds-tech-find-result{flex:1 1 100%;}
.pds-tech-filter-pills{display:flex;gap:8px;flex-wrap:wrap;}
.pds-responsive-table{width:100%;overflow-x:auto;border-radius:18px;border:1px solid rgba(148,163,184,.35);background:#fff;}
.pds-responsive-table table{width:100%;border-collapse:separate;border-spacing:0;min-width:920px;}
.pds-responsive-table th,.pds-responsive-table td{padding:12px 14px;text-align:left;border-bottom:1px solid rgba(148,163,184,.25);vertical-align:middle;}
.pds-responsive-table th{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:#64748b;background:#f8fafc;}
.pds-responsive-table td small{display:block;color:#64748b;margin-top:3px;}
.pds-tech-job-row{cursor:pointer;transition:background .15s ease;}
.pds-tech-job-row:hover{background:#f8fafc;}
.pds-tech-job-row[data-hide="1"],.pds-tech-job-card[data-hide="1"]{display:none!important;}
.pds-current-action{margin-top:14px;}
.pds-step-card.active{border:1px solid rgba(37,99,235,.18);background:#fff;border-radius:20px;padding:16px;}
.pds-step-tip{padding:10px 12px;border-radius:14px;background:#eff6ff;color:#1e3a8a;margin:10px 0;font-size:14px;}
.pds-l1-compact details,.pds-l2-only,.pds-inline-form details{border:1px solid rgba(148,163,184,.35);border-radius:16px;padding:12px;margin:10px 0;background:#fff;}
.pds-l1-compact summary,.pds-l2-only summary,.pds-inline-form summary{font-weight:700;cursor:pointer;}
.pds-tech-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:10px;}
.pds-tech-summary-grid>div{border:1px solid rgba(148,163,184,.35);border-radius:16px;padding:12px;background:#f8fafc;}
.pds-step-flow{display:flex;gap:8px;overflow-x:auto;margin:14px 0;padding-bottom:3px;}
.pds-step-flow span{white-space:nowrap;border:1px solid rgba(148,163,184,.35);padding:8px 10px;border-radius:999px;color:#64748b;background:#fff;}
.pds-step-flow span.active{background:var(--pds-accent,#2563eb);border-color:var(--pds-accent,#2563eb);color:#fff;}
.pds-search-results{display:flex;gap:8px;flex-wrap:wrap;align-items:center;}
.pds-app-v2 .pds-topbar{position:sticky;top:0;z-index:20;}
@media (min-width: 1024px){
  .pds-tabbed-app:not(.pds-login-shell){display:grid;grid-template-columns:260px minmax(0,1fr);}
  .pds-sidebar{min-height:100vh;position:sticky;top:0;align-self:start;}
  .pds-main-shell{max-width:none;width:100%;}
  .pds-app-content{padding:22px 28px 50px;}
  .pds-bottom-nav{display:none!important;}
  .pds-screen-card,.pds-card.pds-wide{max-width:none;}
}
@media (min-width: 700px) and (max-width: 1023px){
  .pds-sidebar{display:none;}
  .pds-main-shell{max-width:none;}
  .pds-app-content{padding:18px 18px 90px;}
  .pds-kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr));}
  .pds-action-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width: 699px){
  .pds-sidebar{display:none;}
  .pds-main-shell{max-width:none;width:100%;}
  .pds-app-content{padding:12px 10px 94px;}
  .pds-topbar{padding:14px 16px;}
  .pds-topbar small{display:none;}
  .pds-hero-card{border-radius:22px;padding:20px;}
  .pds-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
  .pds-action-grid{grid-template-columns:1fr;gap:10px;}
  .pds-card,.pds-screen-card{border-radius:20px;padding:16px;}
  .pds-tech-global-search,.pds-tech-toolbar{display:block;padding:10px;}
  .pds-tech-toolbar .pds-tech-filter-pills{margin-top:10px;}
  .pds-responsive-table{border:0;background:transparent;overflow:visible;}
  .pds-responsive-table table,.pds-responsive-table thead,.pds-responsive-table tbody,.pds-responsive-table th,.pds-responsive-table td,.pds-responsive-table tr{display:block;min-width:0;width:100%;}
  .pds-responsive-table thead{display:none;}
  .pds-responsive-table tr{background:#fff;border:1px solid rgba(148,163,184,.35);border-radius:18px;margin:10px 0;padding:10px;box-shadow:0 8px 24px rgba(15,23,42,.05);}
  .pds-responsive-table td{border:0;padding:7px 4px;}
  .pds-responsive-table td:before{content:attr(data-label);display:block;font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:#64748b;margin-bottom:2px;}
  .pds-responsive-table td[data-label="Action"]:before{display:none;}
  .pds-responsive-table .pds-mini{width:100%;justify-content:center;margin-top:6px;}
  .pds-tech-summary-grid{grid-template-columns:1fr;}
  .pds-row{grid-template-columns:1fr!important;}
  .pds-bottom-nav{height:auto;padding:8px 6px calc(8px + env(safe-area-inset-bottom));}
  .pds-bottom-nav .pds-app-nav{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;width:100%;}
  .pds-bottom-nav a{padding:10px 4px;border-radius:14px;text-align:center;font-size:13px;}
  .pds-bottom-nav a.active{background:var(--pds-accent,#2563eb);color:#fff;}
}


/* v3.1.0 Production responsive polish: desktop console + mobile APK shell */
:root{--pds-shell-bg:#eef4ff;--pds-card-border:#dbe4ee;--pds-text:#0f172a;--pds-muted:#64748b;}
.pds-sce-app{font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;color:var(--pds-text);background:linear-gradient(135deg,#f4f7ff 0%,#eefafe 100%);min-height:100vh;}
.pds-app-v2 .pds-topbar{background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border-bottom:1px solid rgba(148,163,184,.24);box-shadow:0 4px 18px rgba(15,23,42,.05);}
.pds-app-v2 .pds-topbar strong{font-size:18px;letter-spacing:-.02em}.pds-app-v2 .pds-topbar small{color:#64748b;margin-top:3px}.pds-logout{border-radius:14px!important;background:#eff6ff!important;color:#1d4ed8!important;font-weight:800!important;padding:12px 16px!important;text-decoration:none!important}
.pds-card,.pds-screen-card,.pds-hero-card,.pds-action-card{border:1px solid rgba(148,163,184,.28)!important;box-shadow:0 10px 32px rgba(15,23,42,.06)!important;}
.pds-card h3,.pds-screen-card h3{letter-spacing:-.03em}.pds-btn,.pds-mini,button.pds-btn{border-radius:14px!important;font-weight:850!important;min-height:42px}.pds-btn{background:linear-gradient(135deg,var(--pds-primary,#2563eb),#1d4ed8)!important;box-shadow:0 12px 24px rgba(37,99,235,.22)}
.pds-responsive-table{box-shadow:0 12px 28px rgba(15,23,42,.05)}.pds-responsive-table th{position:sticky;top:0;z-index:2;background:#f1f5f9!important}.pds-status-pill{display:inline-flex;align-items:center;gap:6px;border-radius:999px;background:#eef2ff;color:#1d4ed8;padding:6px 10px;font-weight:800;font-size:12px}.pds-empty-state{border:1px dashed #cbd5e1;border-radius:20px;background:#f8fafc;padding:22px;text-align:center;color:#475569}

/* Desktop and laptop: Manager/Operation becomes wide CRM console */
@media (min-width: 1180px){
  .pds-role-manager.pds-tabbed-app,.pds-role-admin.pds-tabbed-app{grid-template-columns:280px minmax(0,1fr)!important;background:#eaf1f8;}
  .pds-role-manager .pds-sidebar,.pds-role-admin .pds-sidebar{background:#0f253f;color:#fff;padding:18px 16px;box-shadow:14px 0 36px rgba(15,23,42,.12)}
  .pds-role-manager .pds-brand,.pds-role-admin .pds-brand{border-bottom:1px solid rgba(255,255,255,.14);padding-bottom:18px;margin-bottom:14px}.pds-role-manager .pds-brand small,.pds-role-admin .pds-brand small{color:#bfdbfe}.pds-brand-mark{background:#fff;color:#1d4ed8;border-radius:14px;padding:8px 10px;font-weight:900}
  .pds-role-manager .pds-sidebar .pds-app-nav,.pds-role-admin .pds-sidebar .pds-app-nav{display:grid;gap:8px}.pds-role-manager .pds-sidebar a,.pds-role-admin .pds-sidebar a{color:#dbeafe;text-decoration:none;border-radius:14px;padding:12px 14px;font-weight:800}.pds-role-manager .pds-sidebar a:hover,.pds-role-admin .pds-sidebar a:hover{background:rgba(255,255,255,.10);color:#fff}
  .pds-role-manager .pds-main-shell,.pds-role-admin .pds-main-shell{max-width:none!important;width:100%!important;min-width:0}.pds-role-manager .pds-app-content,.pds-role-admin .pds-app-content{padding:24px 30px 60px!important;max-width:none!important}.pds-role-manager .pds-dashboard-v2,.pds-role-admin .pds-dashboard-v2{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:18px;align-items:start}.pds-role-manager .pds-dashboard-v2>*,.pds-role-admin .pds-dashboard-v2>*{grid-column:span 12}.pds-role-manager .pds-hero-card,.pds-role-admin .pds-hero-card{grid-column:span 12;display:flex;align-items:center;justify-content:space-between}.pds-role-manager .pds-action-grid,.pds-role-admin .pds-action-grid{grid-column:span 12;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}.pds-role-manager #pds-new,.pds-role-admin #pds-new{grid-column:span 5}.pds-role-manager #pds-track,.pds-role-admin #pds-track{grid-column:span 7}.pds-role-manager #pds-receive-queue,.pds-role-admin #pds-receive-queue,.pds-role-manager #pds-queue,.pds-role-admin #pds-queue,.pds-role-manager #pds-ops,.pds-role-admin #pds-ops{grid-column:span 12}.pds-role-manager .pds-kpi-grid,.pds-role-admin .pds-kpi-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important}.pds-role-manager .pds-responsive-table table,.pds-role-admin .pds-responsive-table table{min-width:1150px}.pds-role-manager .pds-screen-card,.pds-role-admin .pds-screen-card{border-radius:20px!important;padding:22px!important}.pds-role-manager .pds-bottom-nav,.pds-role-admin .pds-bottom-nav{display:none!important}
}

/* Tablet: operation/manager wide enough without cramped cards */
@media (min-width: 768px) and (max-width: 1179px){
  .pds-role-manager .pds-app-content,.pds-role-admin .pds-app-content{padding:18px 18px 96px!important}.pds-role-manager .pds-action-grid,.pds-role-admin .pds-action-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.pds-role-manager .pds-kpi-grid,.pds-role-admin .pds-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}

/* Mobile / Website-to-APK: customer and technician app-like UX */
@media (max-width: 767px){
  html,body{max-width:100%;overflow-x:hidden}.pds-role-customer,.pds-role-technician{background:linear-gradient(160deg,#f4f7ff 0,#effffb 100%);}.pds-role-customer .pds-topbar,.pds-role-technician .pds-topbar{height:72px;padding:14px 20px!important;position:sticky!important;top:0!important;z-index:60!important}.pds-role-customer .pds-topbar strong,.pds-role-technician .pds-topbar strong{font-size:20px}.pds-role-customer .pds-app-content,.pds-role-technician .pds-app-content{padding:14px 12px 112px!important}.pds-role-customer .pds-card,.pds-role-customer .pds-screen-card,.pds-role-technician .pds-card,.pds-role-technician .pds-screen-card{border-radius:24px!important;padding:20px!important;margin-bottom:14px}.pds-role-customer .pds-hero-card,.pds-role-technician .pds-hero-card{border-radius:26px!important;padding:24px!important;background:linear-gradient(135deg,#13234b,#2563eb)!important;color:#fff}.pds-role-customer .pds-hero-card p,.pds-role-technician .pds-hero-card p{color:rgba(255,255,255,.82)!important}.pds-role-customer .pds-kpi-grid,.pds-role-technician .pds-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px}.pds-role-customer input,.pds-role-customer select,.pds-role-customer textarea,.pds-role-technician input,.pds-role-technician select,.pds-role-technician textarea{min-height:54px!important;border-radius:16px!important;font-size:16px!important}.pds-role-customer .pds-btn,.pds-role-customer .pds-mini,.pds-role-technician .pds-btn,.pds-role-technician .pds-mini{min-height:52px!important;width:100%;justify-content:center}.pds-role-customer .pds-bottom-nav,.pds-role-technician .pds-bottom-nav{position:fixed!important;left:0;right:0;bottom:0;z-index:80;background:#0f172a!important;border-top:1px solid rgba(255,255,255,.08);box-shadow:0 -12px 36px rgba(15,23,42,.22)}.pds-role-customer .pds-bottom-nav .pds-app-nav{grid-template-columns:repeat(5,1fr)!important}.pds-role-technician .pds-bottom-nav .pds-app-nav{grid-template-columns:repeat(5,1fr)!important}.pds-role-customer .pds-bottom-nav a,.pds-role-technician .pds-bottom-nav a{color:#e2e8f0!important;font-weight:800}.pds-role-customer .pds-bottom-nav a.active,.pds-role-technician .pds-bottom-nav a.active{background:#2563eb!important;color:#fff!important}.pds-role-customer .pds-responsive-table,.pds-role-technician .pds-responsive-table{overflow:visible!important}.pds-role-customer .pds-ticket-wizard .pds-step-nav,.pds-role-technician .pds-ticket-wizard .pds-step-nav,.pds-role-technician #pds-receive .pds-wizard-actions{position:static!important;background:transparent!important;box-shadow:none!important}.pds-role-customer:has(input:focus) .pds-bottom-nav,.pds-role-customer:has(textarea:focus) .pds-bottom-nav,.pds-role-customer:has(select:focus) .pds-bottom-nav,.pds-role-technician:has(input:focus) .pds-bottom-nav,.pds-role-technician:has(textarea:focus) .pds-bottom-nav,.pds-role-technician:has(select:focus) .pds-bottom-nav{display:none!important}.pds-role-technician .pds-tech-toolbar{position:sticky;top:76px;z-index:45;background:rgba(255,255,255,.96);backdrop-filter:blur(10px)}
}

/* Website2APK safe-area helper */
.pds-bottom-nav{padding-bottom:calc(8px + env(safe-area-inset-bottom))!important}.pds-sce-app a,.pds-sce-app button{-webkit-tap-highlight-color:transparent;touch-action:manipulation}


/* v3.1.2 Manager/Operation desktop full screen toggle + customer master form */
.pds-topbar-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.pds-fullscreen-toggle{border:0;border-radius:14px;background:#0f172a;color:#fff;font-weight:850;padding:12px 16px;cursor:pointer;box-shadow:0 10px 22px rgba(15,23,42,.18)}
.pds-fullscreen-toggle:hover{background:#1d4ed8}.pds-add-customer-form{max-width:980px}.pds-add-customer-form .pds-note{margin:10px 0 14px}.pds-add-customer-form .pds-form-result{margin-top:12px;font-weight:800;color:#166534}
@media (min-width:1180px){
  .pds-role-manager.pds-wide-mode,.pds-role-admin.pds-wide-mode{grid-template-columns:280px minmax(0,1fr)!important;max-width:none!important;width:100vw!important;margin:0!important;background:#eaf1f8!important}
  .pds-role-manager.pds-wide-mode .pds-main-shell,.pds-role-admin.pds-wide-mode .pds-main-shell{max-width:none!important;width:100%!important}
  .pds-role-manager.pds-wide-mode .pds-app-content,.pds-role-admin.pds-wide-mode .pds-app-content{padding:22px 34px 70px!important;max-width:none!important;width:100%!important}
  .pds-role-manager.pds-wide-mode .pds-dashboard-v2,.pds-role-admin.pds-wide-mode .pds-dashboard-v2{grid-template-columns:repeat(12,minmax(0,1fr))!important;max-width:none!important;width:100%!important}
  .pds-role-manager.pds-wide-mode .pds-card,.pds-role-manager.pds-wide-mode .pds-screen-card,.pds-role-admin.pds-wide-mode .pds-card,.pds-role-admin.pds-wide-mode .pds-screen-card{max-width:none!important;width:100%!important}
  .pds-role-manager.pds-wide-mode #pds-live,.pds-role-admin.pds-wide-mode #pds-live{grid-column:span 12!important}
  .pds-role-manager.pds-wide-mode .pds-kpi-grid,.pds-role-admin.pds-wide-mode .pds-kpi-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important}
  .pds-role-manager.pds-wide-mode #pds-customers,.pds-role-admin.pds-wide-mode #pds-customers{grid-column:span 6!important}
  .pds-role-manager.pds-wide-mode #pds-new,.pds-role-admin.pds-wide-mode #pds-new{grid-column:span 6!important}
  .pds-role-manager.pds-wide-mode #pds-track,.pds-role-admin.pds-wide-mode #pds-track{grid-column:span 6!important}
  .pds-role-manager.pds-wide-mode .pds-action-grid,.pds-role-admin.pds-wide-mode .pds-action-grid{grid-template-columns:repeat(7,minmax(0,1fr))!important}
  .pds-role-manager.pds-wide-mode .pds-responsive-table,.pds-role-admin.pds-wide-mode .pds-responsive-table{overflow:auto!important;max-width:100%!important}
  .pds-role-manager.pds-wide-mode .pds-responsive-table table,.pds-role-admin.pds-wide-mode .pds-responsive-table table{min-width:1280px!important;width:100%!important}
}
@media(max-width:767px){.pds-fullscreen-toggle{display:none!important}.pds-add-customer-form{max-width:none}}


/* v3.2.0 Enterprise Desktop Console Fix
   Manager/Operations: true full-width desktop layout with stable sidebar.
   Customer/Technician: existing mobile-first APK wrapper UI remains unchanged. */
body.pds-sce-app-mode,
body.pds-sce-app-mode html{width:100%!important;max-width:100%!important;}
body.pds-sce-app-mode .wp-site-blocks,
body.pds-sce-app-mode #page,
body.pds-sce-app-mode #content,
body.pds-sce-app-mode #primary,
body.pds-sce-app-mode main,
body.pds-sce-app-mode .site,
body.pds-sce-app-mode .site-content,
body.pds-sce-app-mode .ast-container,
body.pds-sce-app-mode .container,
body.pds-sce-app-mode .page,
body.pds-sce-app-mode .page-wrapper,
body.pds-sce-app-mode .entry-content,
body.pds-sce-app-mode .page-content,
body.pds-sce-app-mode .elementor,
body.pds-sce-app-mode .elementor-section,
body.pds-sce-app-mode .elementor-container,
body.pds-sce-app-mode .elementor-widget-container{
  width:100%!important;max-width:none!important;margin:0!important;padding-left:0!important;padding-right:0!important;
}
.pds-topbar-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.pds-sidebar-compact-toggle{border:0;border-radius:14px;background:#e2e8f0;color:#0f172a;font-weight:850;padding:12px 14px;cursor:pointer;box-shadow:0 10px 22px rgba(15,23,42,.10)}
.pds-sidebar-compact-toggle:hover{background:#cbd5e1}.pds-fullscreen-toggle{white-space:nowrap}
@media (min-width:1180px){
  .pds-role-manager.pds-tabbed-app,
  .pds-role-admin.pds-tabbed-app{
    width:100vw!important;max-width:none!important;margin:0!important;padding:0!important;
    display:grid!important;grid-template-columns:260px minmax(0,1fr)!important;
    align-items:stretch!important;background:#eaf1f8!important;min-height:100vh!important;
  }
  .pds-role-manager .pds-sidebar,
  .pds-role-admin .pds-sidebar{
    width:260px!important;max-width:260px!important;min-width:260px!important;flex:0 0 260px!important;
    position:sticky!important;top:0!important;height:100vh!important;overflow-y:auto!important;
    padding:18px 16px!important;box-sizing:border-box!important;z-index:70!important;
  }
  .pds-role-manager .pds-main-shell,
  .pds-role-admin .pds-main-shell{
    width:calc(100vw - 260px)!important;max-width:none!important;min-width:0!important;margin:0!important;overflow-x:hidden!important;
  }
  .pds-role-manager .pds-topbar,
  .pds-role-admin .pds-topbar{
    width:100%!important;box-sizing:border-box!important;padding:16px 28px!important;min-height:72px!important;
  }
  .pds-role-manager .pds-app-content,
  .pds-role-admin .pds-app-content{
    width:100%!important;max-width:none!important;box-sizing:border-box!important;padding:24px 32px 64px!important;margin:0!important;
  }
  .pds-role-manager .pds-dashboard-v2,
  .pds-role-admin .pds-dashboard-v2{
    display:grid!important;grid-template-columns:repeat(12,minmax(0,1fr))!important;gap:18px!important;width:100%!important;max-width:none!important;
  }
  .pds-role-manager .pds-dashboard-v2 > *,
  .pds-role-admin .pds-dashboard-v2 > *{grid-column:1 / -1!important;min-width:0!important;max-width:none!important;}
  .pds-role-manager .pds-hero-card,
  .pds-role-admin .pds-hero-card{border-radius:22px!important;min-height:118px!important;}
  .pds-role-manager .pds-kpis,
  .pds-role-admin .pds-kpis,
  .pds-role-manager .pds-kpi-grid,
  .pds-role-admin .pds-kpi-grid{display:grid!important;grid-template-columns:repeat(6,minmax(150px,1fr))!important;gap:14px!important;}
  .pds-role-manager .pds-kpis > div,
  .pds-role-admin .pds-kpis > div,
  .pds-role-manager .pds-kpi-grid > *,
  .pds-role-admin .pds-kpi-grid > *{min-height:96px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;}
  .pds-role-manager .pds-action-grid,
  .pds-role-admin .pds-action-grid{display:grid!important;grid-template-columns:repeat(8,minmax(120px,1fr))!important;gap:14px!important;width:100%!important;}
  .pds-role-manager .pds-card,
  .pds-role-manager .pds-screen-card,
  .pds-role-admin .pds-card,
  .pds-role-admin .pds-screen-card{width:100%!important;max-width:none!important;box-sizing:border-box!important;border-radius:20px!important;}
  .pds-role-manager .pds-responsive-table,
  .pds-role-admin .pds-responsive-table,
  .pds-role-manager .pds-table-wrap,
  .pds-role-admin .pds-table-wrap{width:100%!important;max-width:100%!important;overflow:auto!important;}
  .pds-role-manager table,
  .pds-role-admin table{width:100%!important;}
  .pds-role-manager .pds-bottom-nav,
  .pds-role-admin .pds-bottom-nav{display:none!important;}
  .pds-role-manager.pds-wide-mode,
  .pds-role-admin.pds-wide-mode{grid-template-columns:260px minmax(0,1fr)!important;}
  .pds-role-manager.pds-sidebar-compact,
  .pds-role-admin.pds-sidebar-compact{grid-template-columns:82px minmax(0,1fr)!important;}
  .pds-role-manager.pds-sidebar-compact .pds-sidebar,
  .pds-role-admin.pds-sidebar-compact .pds-sidebar{width:82px!important;min-width:82px!important;max-width:82px!important;padding:14px 10px!important;}
  .pds-role-manager.pds-sidebar-compact .pds-main-shell,
  .pds-role-admin.pds-sidebar-compact .pds-main-shell{width:calc(100vw - 82px)!important;}
  .pds-role-manager.pds-sidebar-compact .pds-brand span:not(.pds-brand-mark),
  .pds-role-admin.pds-sidebar-compact .pds-brand span:not(.pds-brand-mark){display:none!important;}
  .pds-role-manager.pds-sidebar-compact .pds-app-nav a,
  .pds-role-admin.pds-sidebar-compact .pds-app-nav a{font-size:0!important;text-align:center!important;padding:14px 8px!important;}
  .pds-role-manager.pds-sidebar-compact .pds-app-nav a::first-letter,
  .pds-role-admin.pds-sidebar-compact .pds-app-nav a::first-letter{font-size:16px!important;}
}
@media (max-width:1179px){.pds-sidebar-compact-toggle{display:none!important}}


/* v3.4.1 customer management and picker polish */
.pds-customer-picker-bar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:8px 0 12px;padding:10px;border:1px solid #e5e7eb;border-radius:14px;background:#f8fafc}
.pds-customer-browser{margin:8px 0 14px;padding:12px;border:1px solid #dbeafe;border-radius:16px;background:#eff6ff}
.pds-customer-browser-list{display:grid;gap:8px;max-height:360px;overflow:auto;padding-right:4px}
.pds-customer-browser-item{display:flex;flex-direction:column;gap:3px;text-align:left;border:1px solid #e5e7eb;background:#fff;border-radius:14px;padding:10px 12px;color:#111827;cursor:pointer}
.pds-customer-browser-item:hover{border-color:#2563eb;background:#f8fbff}
.pds-customer-management{display:grid;gap:12px}
.pds-customer-tools{align-items:flex-end}
.pds-customer-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px}
.pds-customer-row{border:1px solid #e5e7eb;border-radius:16px;background:#fff;padding:12px;display:grid;gap:10px}
.pds-customer-row strong{font-size:15px}
.pds-customer-meta{display:flex;gap:6px;flex-wrap:wrap}
.pds-pill{display:inline-flex;align-items:center;border-radius:999px;background:#f1f5f9;color:#334155;padding:4px 8px;font-size:12px}
@media (max-width:640px){.pds-customer-picker-bar .pds-mini,.pds-customer-tools .pds-mini{width:100%}.pds-customer-list{grid-template-columns:1fr}.pds-customer-browser{padding:10px}.pds-customer-browser-item{padding:12px}}

/* v4.0 production polish */
.pds-btn-loading{opacity:.72;pointer-events:none;filter:grayscale(.1)}
.pds-pwa-install-btn{touch-action:manipulation}
@media(max-width:720px){.pds-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}.pds-table-wrap table{min-width:780px}}


/* v4.0.2 Technician Mobile Queue: compact, countable, no horizontal cut */
.pds-tech-job-count{display:flex;align-items:center;gap:6px;background:#eff6ff;color:#1d4ed8;border:1px solid #bfdbfe;border-radius:16px;padding:10px 14px;font-weight:900;white-space:nowrap;box-shadow:0 8px 18px rgba(37,99,235,.10)}
.pds-tech-job-count strong{font-size:22px;line-height:1}.pds-tech-job-count span{text-transform:uppercase;font-size:11px;letter-spacing:.08em}.pds-tech-toolbar-compact{display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:end}.pds-tech-toolbar-compact .pds-tech-filter-pills{grid-column:1/-1}
@media(max-width:680px){
  html,body{overflow-x:hidden!important;max-width:100%!important}
  .pds-role-technician .pds-app-content{padding-left:8px!important;padding-right:8px!important;overflow-x:hidden!important}
  .pds-role-technician #pds-jobs{padding:12px!important;border-radius:20px!important;overflow:hidden!important}
  .pds-role-technician #pds-jobs>h3{font-size:22px!important;margin:0 0 6px!important}
  .pds-role-technician #pds-jobs>.pds-muted{font-size:13px!important;line-height:1.35!important;margin-bottom:10px!important}
  .pds-role-technician .pds-tech-toolbar{position:sticky!important;top:72px!important;z-index:55!important;margin:0 -2px 10px!important;padding:10px!important;border:1px solid #e2e8f0!important;border-radius:18px!important;background:rgba(255,255,255,.98)!important;box-shadow:0 8px 22px rgba(15,23,42,.07)!important}
  .pds-tech-toolbar-compact{grid-template-columns:74px 1fr!important;gap:8px!important;align-items:center!important}
  .pds-tech-job-count{height:54px!important;padding:8px 10px!important;justify-content:center;flex-direction:column;gap:1px;border-radius:14px!important}
  .pds-tech-job-count strong{font-size:24px!important}.pds-tech-job-count span{font-size:10px!important}
  .pds-role-technician .pds-tech-toolbar label{font-size:0!important;margin:0!important;display:block!important}
  .pds-role-technician .pds-tech-toolbar input{width:100%!important;min-height:54px!important;height:54px!important;box-sizing:border-box!important;border-radius:14px!important;font-size:16px!important;padding:0 14px!important}
  .pds-role-technician .pds-tech-filter-pills{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:6px!important;width:100%!important;margin-top:2px!important}
  .pds-role-technician .pds-tech-filter-pills .pds-mini{min-height:40px!important;height:40px!important;width:100%!important;border-radius:12px!important;font-size:12px!important;padding:0 4px!important;box-shadow:none!important}
  .pds-role-technician .pds-responsive-table.pds-tech-table{overflow:visible!important;width:100%!important;max-width:100%!important;border:0!important;background:transparent!important}
  .pds-role-technician .pds-tech-table table,.pds-role-technician .pds-tech-table thead,.pds-role-technician .pds-tech-table tbody,.pds-role-technician .pds-tech-table tr,.pds-role-technician .pds-tech-table td{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
  .pds-role-technician .pds-tech-table table{border-collapse:separate!important;border-spacing:0!important;table-layout:auto!important;background:transparent!important}
  .pds-role-technician .pds-tech-table thead{display:none!important}
  .pds-role-technician .pds-tech-job-card{position:relative!important;margin:0 0 10px!important;padding:12px 12px 12px 14px!important;border:1px solid #dbe4ee!important;border-radius:18px!important;background:#fff!important;box-shadow:0 10px 24px rgba(15,23,42,.06)!important;overflow:hidden!important}
  .pds-role-technician .pds-tech-job-card:before{content:'';position:absolute;left:0;top:0;bottom:0;width:4px;background:#2563eb}
  .pds-role-technician .pds-tech-job-card td{border:0!important;padding:0!important;margin:0!important;white-space:normal!important;overflow:visible!important;text-align:left!important;color:#0f172a!important}
  .pds-role-technician .pds-tech-job-card td:before{content:none!important}
  .pds-role-technician .pds-tech-job-card td[data-label="Ticket"]{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;margin-bottom:7px!important}
  .pds-role-technician .pds-tech-job-card td[data-label="Ticket"] strong{font-size:20px!important;letter-spacing:-.02em!important;color:#0f172a!important}
  .pds-role-technician .pds-tech-job-card td[data-label="Ticket"] small{font-size:12px!important;color:#94a3b8!important;white-space:nowrap!important}
  .pds-role-technician .pds-tech-job-card td[data-label="Customer"]{font-size:14px!important;font-weight:800!important;line-height:1.25!important;margin-bottom:6px!important;text-transform:none!important}
  .pds-role-technician .pds-tech-job-card td[data-label="Customer"] small{display:inline!important;margin-left:6px!important;font-size:12px!important;font-weight:700!important;color:#64748b!important}
  .pds-role-technician .pds-tech-job-card td[data-label="Device"]{font-size:14px!important;line-height:1.25!important;margin-bottom:8px!important}
  .pds-role-technician .pds-tech-job-card td[data-label="Device"] b{font-size:15px!important}.pds-role-technician .pds-tech-job-card td[data-label="Device"] small{display:block!important;margin-top:2px!important;font-size:12px!important;color:#64748b!important;word-break:break-word!important}
  .pds-role-technician .pds-tech-job-card td[data-label="Status"]{display:inline-block!important;width:auto!important;margin:0 6px 8px 0!important;vertical-align:middle!important}
  .pds-role-technician .pds-tech-job-card .pds-status-pill{font-size:12px!important;line-height:1!important;padding:9px 11px!important;border-radius:999px!important;white-space:nowrap!important}
  .pds-role-technician .pds-tech-job-card td[data-label="Due"]{display:inline-block!important;width:auto!important;font-size:13px!important;margin:0 0 8px!important;vertical-align:middle!important}
  .pds-role-technician .pds-tech-job-card td[data-label="Due"]:before{content:'Due ';font-weight:700;color:#64748b!important}.pds-role-technician .pds-tech-job-card td[data-label="Due"] b{font-size:14px!important}
  .pds-role-technician .pds-tech-job-card td[data-label="Next"]{clear:both!important;font-size:12px!important;line-height:1.35!important;color:#64748b!important;margin-bottom:10px!important;max-height:34px!important;overflow:hidden!important}
  .pds-role-technician .pds-tech-job-card td[data-label="Action"] .pds-mini{width:100%!important;min-height:46px!important;height:46px!important;border-radius:14px!important;font-size:15px!important}
}

/* v4.0.3 Technician HESK-style mobile queue: grouped, countable, no side cut */
.pds-tech-hesk-toolbar{gap:10px;align-items:center}
.pds-tech-hesk-toolbar .pds-tech-job-count{min-width:94px;border:1px solid rgba(37,99,235,.18);background:#eff6ff;border-radius:16px;padding:10px;text-align:center;color:#1d4ed8}
.pds-tech-hesk-toolbar .pds-tech-job-count strong{display:block;font-size:26px;line-height:1}.pds-tech-hesk-toolbar .pds-tech-job-count span{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.pds-tech-filter-pills .pds-mini b{margin-left:5px;background:rgba(255,255,255,.35);padding:2px 7px;border-radius:999px}
.pds-tech-hesk-queue{display:grid;gap:12px;margin-top:14px;max-width:100%;overflow:hidden}.pds-tech-status-group{background:#fff;border:1px solid rgba(148,163,184,.35);border-radius:18px;overflow:hidden;box-shadow:0 10px 28px rgba(15,23,42,.05)}
.pds-tech-group-head{width:100%;display:flex;justify-content:space-between;align-items:center;gap:10px;padding:13px 15px;border:0;background:#0f2a48;color:#fff;font-weight:900;font-size:15px;text-align:left}.pds-tech-group-head b{background:#fff;color:#0f2a48;border-radius:999px;padding:4px 10px;min-width:34px;text-align:center}.pds-tech-group-body{display:grid;gap:0}.pds-tech-ticket-line{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:13px 14px;border-bottom:1px solid rgba(148,163,184,.22);background:#fff}.pds-tech-ticket-line:last-child{border-bottom:0}.pds-tech-ticket-line:hover{background:#f8fafc}.pds-tech-ticket-main{min-width:0}.pds-tech-ticket-top{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:5px}.pds-tech-ticket-top strong{font-size:18px;color:#0f172a}.pds-tech-ticket-top span:not(.pds-status-pill){font-size:12px;color:#64748b}.pds-tech-ticket-line h4{margin:0 0 2px;font-size:15px;line-height:1.25;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pds-tech-contact{margin:0 0 6px;color:#64748b;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pds-tech-device{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:14px;color:#0f172a}.pds-tech-device span{font-size:12px;color:#64748b;background:#f1f5f9;border-radius:999px;padding:3px 7px}.pds-tech-problem{margin:6px 0 0;color:#334155;font-size:13px;line-height:1.35}.pds-tech-meta{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.pds-tech-meta span{font-size:12px;color:#475569;background:#f8fafc;border:1px solid rgba(148,163,184,.25);border-radius:999px;padding:4px 8px}.pds-tech-ticket-line .pds-mini{min-width:78px;padding:10px 12px!important}.pds-tech-status-group[data-hide="1"],.pds-tech-ticket-line[data-hide="1"]{display:none!important}
@media(max-width:699px){.pds-tech-hesk-toolbar{display:grid!important;grid-template-columns:80px minmax(0,1fr);padding:10px!important;border-radius:18px!important}.pds-tech-hesk-toolbar label{grid-column:2;margin:0}.pds-tech-hesk-toolbar .pds-tech-filter-pills{grid-column:1 / -1;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:8px}.pds-tech-filter-pills .pds-mini{width:100%;min-height:38px;padding:8px!important}.pds-tech-hesk-queue{gap:10px}.pds-tech-group-head{padding:12px 13px;font-size:14px}.pds-tech-ticket-line{grid-template-columns:1fr;gap:9px;padding:12px 12px}.pds-tech-ticket-line h4{font-size:14px;white-space:normal}.pds-tech-ticket-top .pds-status-pill{font-size:11px;padding:5px 8px}.pds-tech-ticket-line .pds-mini{width:100%;min-height:40px}.pds-tech-problem{font-size:12.5px}.pds-card#pds-jobs{padding:12px!important}.pds-card#pds-jobs>h3{margin-top:0}.pds-card#pds-jobs>.pds-muted{font-size:12px;margin-bottom:8px}}

/* v4.0.5 Technician queue ultra-compact: many tickets visible on mobile */
@media(max-width:699px){
  .pds-role-technician #pds-jobs{padding:10px!important;overflow:hidden!important}
  .pds-role-technician #pds-jobs>h3{font-size:20px!important;margin:0 0 4px!important}
  .pds-role-technician #pds-jobs>.pds-muted{display:none!important}
  .pds-tech-hesk-toolbar{position:sticky!important;top:72px!important;z-index:60!important;grid-template-columns:66px minmax(0,1fr)!important;gap:6px!important;margin:0 -2px 8px!important;padding:8px!important;border-radius:16px!important}
  .pds-tech-hesk-toolbar .pds-tech-job-count{min-width:0!important;height:46px!important;padding:5px!important;border-radius:12px!important}
  .pds-tech-hesk-toolbar .pds-tech-job-count strong{font-size:22px!important}.pds-tech-hesk-toolbar .pds-tech-job-count span{font-size:9px!important;letter-spacing:0!important}
  .pds-tech-hesk-toolbar input{height:46px!important;min-height:46px!important;border-radius:12px!important;padding:0 12px!important;font-size:14px!important}
  .pds-tech-hesk-toolbar .pds-tech-filter-pills{display:flex!important;gap:6px!important;overflow-x:auto!important;grid-column:1/-1!important;margin-top:4px!important;padding-bottom:2px!important;-webkit-overflow-scrolling:touch!important}
  .pds-tech-hesk-toolbar .pds-tech-filter-pills .pds-mini{flex:0 0 auto!important;width:auto!important;min-width:70px!important;height:34px!important;min-height:34px!important;padding:6px 9px!important;border-radius:11px!important;font-size:12px!important;white-space:nowrap!important}
  .pds-tech-hesk-toolbar .pds-tech-filter-pills .pds-mini b{padding:1px 6px!important;margin-left:3px!important}
  .pds-tech-hesk-queue{gap:8px!important;margin-top:8px!important}
  .pds-tech-status-group{border-radius:15px!important;box-shadow:0 6px 18px rgba(15,23,42,.05)!important}
  .pds-tech-group-head{padding:9px 11px!important;font-size:13px!important;min-height:40px!important}
  .pds-tech-group-head b{padding:2px 8px!important;min-width:28px!important;font-size:13px!important}
  .pds-tech-ticket-line{display:grid!important;grid-template-columns:minmax(0,1fr) 58px!important;gap:7px!important;align-items:center!important;padding:9px 10px!important;min-height:82px!important;border-bottom:1px solid #e5edf7!important}
  .pds-tech-ticket-main{min-width:0!important;overflow:hidden!important}
  .pds-tech-ticket-top{margin:0 0 2px!important;gap:5px!important;display:flex!important;flex-wrap:nowrap!important;align-items:center!important;min-width:0!important}
  .pds-tech-ticket-top strong{font-size:17px!important;line-height:1!important;white-space:nowrap!important}
  .pds-tech-ticket-top span:not(.pds-status-pill){font-size:11px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:70px!important}
  .pds-tech-ticket-top .pds-status-pill{margin-left:auto!important;font-size:10px!important;padding:4px 7px!important;max-width:112px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;line-height:1!important}
  .pds-tech-ticket-line h4{font-size:13.5px!important;line-height:1.15!important;margin:0 0 1px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;text-transform:uppercase!important}
  .pds-tech-contact{font-size:11px!important;line-height:1.15!important;margin:0 0 3px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .pds-tech-device{font-size:12.5px!important;line-height:1.15!important;display:flex!important;gap:5px!important;flex-wrap:nowrap!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .pds-tech-device b{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;min-width:0!important}
  .pds-tech-device span{font-size:10.5px!important;padding:2px 5px!important;flex:0 0 auto!important;max-width:88px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
  .pds-tech-problem{font-size:11.5px!important;line-height:1.15!important;margin:3px 0 0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;color:#475569!important}
  .pds-tech-meta{display:none!important}
  .pds-tech-ticket-line .pds-mini{width:58px!important;min-width:58px!important;height:42px!important;min-height:42px!important;padding:0!important;border-radius:12px!important;font-size:12px!important;align-self:center!important}
  .pds-tech-ticket-line .pds-mini::after{content:''}
  .pds-tech-status-group:not(:first-child) .pds-tech-group-body:empty{display:none!important}
}

/* v4.0.6 HESK table queue for technician mobile/PWA */
.pds-tech-table-queue{gap:10px!important}
.pds-tech-table-wrap{display:block!important;overflow:hidden!important}
.pds-tech-table-head,.pds-tech-table-row{display:grid;grid-template-columns:118px minmax(180px,1.2fr) minmax(150px,1fr) minmax(130px,1fr) 92px;align-items:center}
.pds-tech-table-head{background:#f8fafc;border-bottom:1px solid #dbe7f3;color:#475569;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}
.pds-tech-table-head span{padding:9px 10px;border-right:1px solid #e2e8f0}.pds-tech-table-head span:last-child{border-right:0}
.pds-tech-table-row{min-height:54px;background:#fff;border-bottom:1px solid #e2e8f0;cursor:pointer;transition:background .15s ease}
.pds-tech-table-row:nth-child(even){background:#f8fbff}.pds-tech-table-row:hover{background:#eef6ff}.pds-tech-table-row:last-child{border-bottom:0}
.pds-tech-table-row>span{min-width:0;padding:8px 10px;border-right:1px solid #edf2f7;color:#0f172a;font-size:13px;line-height:1.25}.pds-tech-table-row>span:last-child{border-right:0}
.pds-tech-table-row b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:900}.pds-tech-table-row small{display:block;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px;margin-top:2px}.pds-tech-col-ticket b{font-size:15px;color:#0f2a48}.pds-tech-col-ticket em{display:inline-block;margin-top:3px;padding:2px 6px;border-radius:999px;background:#eff6ff;color:#1d4ed8;font-size:10px;font-style:normal;font-weight:800;white-space:nowrap}.pds-tech-col-problem{color:#334155!important}.pds-tech-col-due{font-weight:900;text-align:right}.pds-tech-col-due .pds-internal-ticket{display:block;margin:4px 0 0 auto;border:0;background:#2563eb;color:#fff;border-radius:8px;padding:4px 8px;font-size:11px;font-weight:900;cursor:pointer}
.pds-tech-table-row[data-hide="1"],.pds-tech-status-group[data-hide="1"]{display:none!important}
@media(max-width:699px){
  .pds-tech-table-queue{margin-top:8px!important;gap:8px!important}.pds-tech-table-wrap{overflow-x:auto!important;-webkit-overflow-scrolling:touch!important;border-radius:0 0 14px 14px!important}.pds-tech-table-head,.pds-tech-table-row{grid-template-columns:76px 138px 128px 130px 70px;min-width:542px}.pds-tech-table-head span{padding:7px 8px;font-size:9.5px}.pds-tech-table-row{min-height:48px}.pds-tech-table-row>span{padding:7px 8px;font-size:12px}.pds-tech-col-ticket b{font-size:14px}.pds-tech-table-row small{font-size:10px}.pds-tech-col-ticket em{display:none}.pds-tech-col-due .pds-internal-ticket{padding:3px 6px;font-size:10px;border-radius:7px}.pds-tech-group-head{padding:9px 12px!important;font-size:13px!important}.pds-tech-group-head b{padding:2px 8px!important;min-width:28px!important}
}


/* v4.0.7 Technician PWA UI polish: no pinch zoom, no horizontal cut, clean HESK list */
html.pds-no-zoom, body.pds-sce-app-mode, .pds-sce-app{touch-action:manipulation!important;-webkit-text-size-adjust:100%!important;overscroll-behavior-x:none!important}
.pds-role-technician .pds-app-content{max-width:100vw!important;overflow-x:hidden!important}
@media(max-width:699px){
  body.pds-sce-app-mode{overflow-x:hidden!important;background:#eef7fb!important}
  .pds-role-technician .pds-main-shell{width:100%!important;max-width:100vw!important;overflow-x:hidden!important}
  .pds-role-technician .pds-topbar{min-height:64px!important;padding:14px 18px!important;position:sticky!important;top:0!important;z-index:90!important;background:#fff!important}
  .pds-role-technician .pds-topbar strong{font-size:20px!important;line-height:1.1!important}.pds-role-technician .pds-topbar small{display:none!important}
  .pds-role-technician .pds-app-content{padding:10px 10px 92px!important;width:100%!important;box-sizing:border-box!important}
  .pds-role-technician #pds-jobs{margin:0!important;padding:12px!important;border-radius:22px!important;box-shadow:0 12px 32px rgba(15,23,42,.08)!important;border:1px solid #e2e8f0!important;background:#fff!important;overflow:hidden!important}
  .pds-role-technician #pds-jobs>h3{font-size:24px!important;margin:0 0 10px!important;letter-spacing:-.03em!important}
  .pds-tech-hesk-toolbar{position:sticky!important;top:64px!important;z-index:70!important;display:grid!important;grid-template-columns:64px minmax(0,1fr)!important;gap:8px!important;margin:0 0 10px!important;padding:9px!important;background:rgba(255,255,255,.98)!important;border:1px solid #dbe7f3!important;border-radius:18px!important;box-shadow:0 12px 28px rgba(15,23,42,.08)!important;backdrop-filter:blur(12px)!important}
  .pds-tech-hesk-toolbar .pds-tech-job-count{width:64px!important;height:50px!important;padding:4px!important;border-radius:14px!important;box-shadow:none!important;background:#eff6ff!important}
  .pds-tech-hesk-toolbar .pds-tech-job-count strong{font-size:24px!important}.pds-tech-hesk-toolbar .pds-tech-job-count span{font-size:8.5px!important;line-height:1.05!important;text-align:center!important}
  .pds-tech-hesk-toolbar label{grid-column:2!important;min-width:0!important}.pds-tech-hesk-toolbar input{height:50px!important;min-height:50px!important;border-radius:14px!important;font-size:15px!important;padding:0 13px!important;width:100%!important;box-shadow:none!important}
  .pds-tech-hesk-toolbar .pds-tech-filter-pills{grid-column:1/-1!important;display:flex!important;gap:7px!important;overflow-x:auto!important;white-space:nowrap!important;padding:0 0 2px!important;scrollbar-width:none!important}.pds-tech-hesk-toolbar .pds-tech-filter-pills::-webkit-scrollbar{display:none!important}
  .pds-tech-hesk-toolbar .pds-tech-filter-pills .pds-mini{flex:0 0 auto!important;height:36px!important;min-height:36px!important;padding:7px 11px!important;border-radius:12px!important;font-size:12px!important;line-height:1!important;border:0!important}.pds-tech-hesk-toolbar .pds-tech-filter-pills .pds-mini b{margin-left:4px!important;background:rgba(255,255,255,.28)!important;border-radius:999px!important;padding:2px 7px!important}
  .pds-tech-table-queue{display:grid!important;gap:10px!important;margin-top:0!important;max-width:100%!important;overflow:hidden!important}
  .pds-tech-status-group{border-radius:18px!important;border:1px solid #dbe7f3!important;box-shadow:0 10px 26px rgba(15,23,42,.06)!important;overflow:hidden!important;background:#fff!important}
  .pds-tech-group-head{height:42px!important;padding:0 12px!important;background:#0d2b4c!important;color:#fff!important;font-size:14px!important;font-weight:900!important;letter-spacing:.01em!important}.pds-tech-group-head b{min-width:30px!important;height:26px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;background:#fff!important;color:#0d2b4c!important;border-radius:999px!important;padding:0 8px!important}
  .pds-tech-table-wrap{overflow:hidden!important;width:100%!important;max-width:100%!important;border-radius:0!important}
  .pds-tech-table-head,.pds-tech-table-row{display:grid!important;grid-template-columns:72px minmax(0,1.12fr) minmax(0,.95fr)!important;width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
  .pds-tech-table-head span:nth-child(n+4),.pds-tech-table-row>span:nth-child(n+4){display:none!important}
  .pds-tech-table-head{height:36px!important;background:#f8fafc!important;border-bottom:1px solid #e2e8f0!important}.pds-tech-table-head span{font-size:10px!important;letter-spacing:.04em!important;padding:11px 8px!important;border-right:1px solid #e8eef6!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .pds-tech-table-row{min-height:64px!important;background:#fff!important;border-bottom:1px solid #eef2f7!important;box-shadow:none!important;transition:background .15s ease!important}.pds-tech-table-row:nth-child(even){background:#fbfdff!important}.pds-tech-table-row:active{background:#eff6ff!important}
  .pds-tech-table-row>span{padding:10px 8px!important;border-right:1px solid #f1f5f9!important;font-size:12px!important;line-height:1.15!important;overflow:hidden!important;min-width:0!important}.pds-tech-table-row>span:last-child{border-right:0!important}
  .pds-tech-col-ticket b{font-size:15px!important;color:#0f172a!important;letter-spacing:-.02em!important}.pds-tech-col-ticket small{font-size:10px!important;max-width:54px!important;color:#94a3b8!important}.pds-tech-col-ticket em{display:none!important}
  .pds-tech-table-row b{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;font-weight:900!important}.pds-tech-table-row small{font-size:10.5px!important;line-height:1.2!important;color:#8a97a8!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;margin-top:4px!important}
  .pds-tech-col-customer b{font-size:13px!important;text-transform:uppercase!important}.pds-tech-col-device b{font-size:13px!important}.pds-tech-col-device small{font-size:10.5px!important;background:#f1f5f9!important;display:inline-block!important;max-width:100%!important;border-radius:999px!important;padding:2px 6px!important}
  .pds-bottom-nav{position:fixed!important;left:0!important;right:0!important;bottom:0!important;z-index:100!important;min-height:70px!important;background:#081226!important;box-shadow:0 -10px 28px rgba(15,23,42,.18)!important}.pds-bottom-nav .pds-app-nav{display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:0!important}.pds-bottom-nav .pds-app-nav a{min-width:0!important;text-align:center!important;font-size:12px!important;padding:15px 2px!important;border-radius:0!important}.pds-bottom-nav .pds-app-nav a.active{border-radius:14px!important;margin:8px 4px!important;padding:13px 2px!important;background:#2563eb!important;color:#fff!important}
}


/* v4.0.8 Senior UI audit: professional mobile technician queue, no pinch zoom, no side-cut */
html.pds-no-zoom, html.pds-no-zoom body{touch-action:pan-y!important;overscroll-behavior-x:none!important;-ms-touch-action:pan-y!important;-webkit-text-size-adjust:100%!important;}
.pds-role-technician *, .pds-role-courier *, .pds-role-customer *{max-width:100%;box-sizing:border-box;}
@media(max-width:699px){
  .pds-role-technician .pds-app-content{padding:8px 8px 92px!important;background:linear-gradient(180deg,#f7fbff 0,#eef8fb 100%)!important;}
  .pds-role-technician .pds-topbar{height:58px!important;min-height:58px!important;padding:12px 16px!important;border-bottom:1px solid #e8eef7!important;box-shadow:0 6px 18px rgba(15,23,42,.04)!important;}
  .pds-role-technician #pds-jobs{padding:10px!important;border-radius:20px!important;margin:0!important;box-shadow:0 12px 28px rgba(15,23,42,.07)!important;border:1px solid #e5edf7!important;overflow:visible!important;}
  .pds-role-technician #pds-jobs>h3{font-size:22px!important;margin:0 0 8px!important;line-height:1.1!important;}
  .pds-role-technician #pds-jobs>.pds-muted{display:none!important;}
  .pds-role-technician .pds-tech-hesk-toolbar{position:sticky!important;top:58px!important;z-index:80!important;margin:0 0 8px!important;padding:8px!important;border-radius:18px!important;display:grid!important;grid-template-columns:58px minmax(0,1fr)!important;gap:7px!important;background:rgba(255,255,255,.98)!important;border:1px solid #dce8f5!important;box-shadow:0 10px 24px rgba(15,23,42,.08)!important;backdrop-filter:blur(10px)!important;}
  .pds-role-technician .pds-tech-hesk-toolbar .pds-tech-job-count{width:58px!important;height:48px!important;min-width:58px!important;border-radius:14px!important;padding:4px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;}
  .pds-role-technician .pds-tech-hesk-toolbar .pds-tech-job-count strong{font-size:22px!important;line-height:1!important;}
  .pds-role-technician .pds-tech-hesk-toolbar .pds-tech-job-count span{font-size:8px!important;line-height:1.05!important;letter-spacing:0!important;}
  .pds-role-technician .pds-tech-hesk-toolbar label{grid-column:2!important;min-width:0!important;margin:0!important;font-size:0!important;}
  .pds-role-technician .pds-tech-hesk-toolbar input{height:48px!important;min-height:48px!important;font-size:14px!important;border-radius:14px!important;padding:0 12px!important;background:#fff!important;}
  .pds-role-technician .pds-tech-hesk-toolbar .pds-tech-filter-pills{grid-column:1/-1!important;display:flex!important;gap:6px!important;overflow-x:auto!important;white-space:nowrap!important;padding:0 0 1px!important;scrollbar-width:none!important;}
  .pds-role-technician .pds-tech-hesk-toolbar .pds-tech-filter-pills::-webkit-scrollbar{display:none!important;}
  .pds-role-technician .pds-tech-hesk-toolbar .pds-tech-filter-pills .pds-mini{flex:0 0 auto!important;height:34px!important;min-height:34px!important;border-radius:999px!important;padding:7px 10px!important;font-size:12px!important;box-shadow:none!important;}
  .pds-role-technician .pds-tech-hesk-toolbar .pds-tech-filter-pills .pds-mini b{font-size:11px!important;margin-left:3px!important;padding:1px 6px!important;}
  .pds-role-technician .pds-tech-table-queue{display:grid!important;gap:8px!important;margin:0!important;overflow:visible!important;}
  .pds-role-technician .pds-tech-status-group{border-radius:18px!important;overflow:hidden!important;border:1px solid #dce8f5!important;box-shadow:0 9px 22px rgba(15,23,42,.055)!important;background:#fff!important;}
  .pds-role-technician .pds-tech-group-head{height:40px!important;min-height:40px!important;padding:0 12px!important;background:linear-gradient(135deg,#0b2748,#123b69)!important;color:#fff!important;font-size:14px!important;letter-spacing:0!important;border:0!important;}
  .pds-role-technician .pds-tech-group-head b{min-width:28px!important;height:24px!important;padding:0 8px!important;font-size:13px!important;}
  .pds-role-technician .pds-tech-table-wrap{overflow:visible!important;width:100%!important;}
  .pds-role-technician .pds-tech-table-head{display:grid!important;grid-template-columns:70px minmax(0,1fr) minmax(0,.9fr)!important;width:100%!important;min-width:0!important;height:32px!important;background:#f8fafc!important;border-bottom:1px solid #edf2f8!important;}
  .pds-role-technician .pds-tech-table-head span{padding:9px 8px!important;border-right:1px solid #edf2f8!important;font-size:9px!important;letter-spacing:.05em!important;color:#64748b!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
  .pds-role-technician .pds-tech-table-head span:nth-child(n+4){display:none!important;}
  .pds-role-technician .pds-tech-table-row{display:grid!important;grid-template-columns:70px minmax(0,1fr) minmax(0,.9fr)!important;width:100%!important;min-width:0!important;min-height:58px!important;background:#fff!important;border-bottom:1px solid #eef2f7!important;border-left:3px solid #2563eb!important;border-radius:0!important;box-shadow:none!important;overflow:hidden!important;}
  .pds-role-technician .pds-tech-table-row:nth-child(even){background:#fbfdff!important;}
  .pds-role-technician .pds-tech-table-row:active{background:#eff6ff!important;transform:scale(.995);}
  .pds-role-technician .pds-tech-table-row>span{display:block!important;min-width:0!important;padding:8px 7px!important;border-right:1px solid #f1f5f9!important;overflow:hidden!important;line-height:1.15!important;}
  .pds-role-technician .pds-tech-table-row>span:nth-child(n+4){display:none!important;}
  .pds-role-technician .pds-tech-table-row>span:last-child{border-right:0!important;}
  .pds-role-technician .pds-tech-col-ticket b{font-size:14px!important;color:#0f172a!important;line-height:1.1!important;}
  .pds-role-technician .pds-tech-col-ticket small{font-size:9.5px!important;color:#94a3b8!important;max-width:58px!important;}
  .pds-role-technician .pds-tech-col-ticket em{display:none!important;}
  .pds-role-technician .pds-tech-col-customer b{font-size:12.5px!important;text-transform:uppercase!important;color:#0f172a!important;letter-spacing:-.01em!important;}
  .pds-role-technician .pds-tech-col-customer small{font-size:10px!important;color:#8a97a8!important;}
  .pds-role-technician .pds-tech-col-device b{font-size:12.5px!important;color:#111827!important;}
  .pds-role-technician .pds-tech-col-device small{font-size:9.5px!important;margin-top:3px!important;display:inline-block!important;background:#f1f5f9!important;color:#64748b!important;border-radius:999px!important;padding:2px 6px!important;max-width:100%!important;}
  .pds-role-technician .pds-tech-table-row b,.pds-role-technician .pds-tech-table-row small{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
  .pds-role-technician .pds-bottom-nav{height:70px!important;min-height:70px!important;background:#081226!important;border-top:1px solid rgba(255,255,255,.06)!important;}
  .pds-role-technician .pds-bottom-nav .pds-app-nav a{font-size:12px!important;padding:14px 1px!important;}
  .pds-role-technician .pds-bottom-nav .pds-app-nav a.active{margin:8px 4px!important;border-radius:15px!important;box-shadow:0 8px 18px rgba(37,99,235,.32)!important;}
}

/* v4.1.0 LTS stability + CRM/UI polish */
html.pds-no-zoom, html.pds-no-zoom body{touch-action:manipulation;-webkit-text-size-adjust:100%;overscroll-behavior:none}
.pds-crm-v41{display:grid;gap:14px}.pds-crm-tools{display:flex;align-items:end;gap:10px;flex-wrap:wrap;background:linear-gradient(135deg,#f8fafc,#eef6ff);border:1px solid #e5edf7;border-radius:18px;padding:12px}.pds-crm-tools label{min-width:min(320px,100%);flex:1}.pds-crm-table-wrap{width:100%;overflow:auto;border:1px solid #e5e7eb;border-radius:18px;background:#fff;box-shadow:0 12px 34px rgba(15,23,42,.06)}.pds-crm-table{width:100%;border-collapse:separate;border-spacing:0;min-width:840px}.pds-crm-table th{position:sticky;top:0;background:#0f172a;color:#fff;text-align:left;padding:11px 12px;font-size:12px;letter-spacing:.03em;text-transform:uppercase;z-index:1}.pds-crm-table td{padding:11px 12px;border-bottom:1px solid #eef2f7;vertical-align:middle}.pds-crm-table tr:hover td{background:#f8fbff}.pds-crm-table strong{display:block;color:#0f172a;font-size:14px;line-height:1.25}.pds-crm-table small{display:block;color:#64748b;font-size:11px;line-height:1.35;margin-top:3px}.pds-crm-actions{display:flex;gap:6px;flex-wrap:wrap}.pds-crm-result{position:sticky;bottom:78px;z-index:20}.pds-tech-app .pds-hero-card,.pds-dashboard-v2 .pds-hero-card{border-radius:22px}.pds-tech-hesk-queue{display:grid;gap:10px}.pds-tech-status-group{border:1px solid #e5e7eb;border-radius:18px;overflow:hidden;background:#fff;box-shadow:0 10px 28px rgba(15,23,42,.05)}.pds-tech-group-head{width:100%;display:flex;justify-content:space-between;align-items:center;padding:10px 12px;border:0;background:#f8fafc;color:#0f172a;font-weight:900}.pds-tech-table-wrap{overflow:hidden}.pds-tech-table-head,.pds-tech-table-row{display:grid;grid-template-columns:110px minmax(0,1.35fr) minmax(0,1fr) minmax(0,1fr) 82px;gap:8px;align-items:center}.pds-tech-table-head{padding:8px 10px;background:#eef2f7;color:#475569;font-size:11px;font-weight:900;text-transform:uppercase}.pds-tech-table-row{padding:9px 10px;border-top:1px solid #edf2f7;cursor:pointer}.pds-tech-table-row:hover{background:#f8fbff}.pds-tech-table-row span{min-width:0}.pds-tech-table-row b{display:block;font-size:13px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pds-tech-table-row small,.pds-tech-table-row em{display:block;font-size:10px;line-height:1.25;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-style:normal}.pds-tech-col-problem{font-size:12px;color:#334155;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pds-tech-col-due{font-weight:900;text-align:right}.pds-tech-col-due .pds-internal-ticket{display:block;margin:4px 0 0 auto;padding:5px 8px;border-radius:10px;font-size:11px}.pds-tech-toolbar{position:sticky;top:0;z-index:10;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border:1px solid #e5e7eb;border-radius:18px;padding:10px;box-shadow:0 10px 28px rgba(15,23,42,.08)}.pds-tech-filter-pills{display:flex;gap:7px;overflow-x:auto;padding-bottom:2px}.pds-tech-filter-pills .pds-mini{white-space:nowrap}.pds-app-nav{box-shadow:0 -10px 30px rgba(15,23,42,.08)}
@media(max-width:700px){.pds-crm-tools{align-items:stretch}.pds-crm-table{min-width:0}.pds-crm-table thead{display:none}.pds-crm-table,.pds-crm-table tbody,.pds-crm-table tr,.pds-crm-table td{display:block;width:100%}.pds-crm-table tr{padding:10px;border-bottom:1px solid #e5e7eb}.pds-crm-table td{border:0;padding:5px 0}.pds-crm-actions .pds-mini{flex:1;text-align:center}.pds-tech-table-head{display:none}.pds-tech-table-row{grid-template-columns:78px minmax(0,1fr) 64px;gap:6px;padding:8px}.pds-tech-col-device{display:none}.pds-tech-col-problem{grid-column:2/3;font-size:11px}.pds-tech-col-customer b{font-size:12px}.pds-tech-col-ticket b{font-size:12px}.pds-tech-col-due{font-size:12px}.pds-tech-col-due .pds-internal-ticket{padding:5px 7px;font-size:10px}.pds-tech-job-search{font-size:16px}.pds-card.pds-wide{padding:12px}.pds-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pds-action-grid{grid-template-columns:1fr}.pds-crm-result{bottom:72px}}

/* v4.2.0 Technician Workflow Polish */
.pds-tech-workflow-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:12px 0 16px}
.pds-tech-workflow-chip{display:flex;align-items:center;justify-content:space-between;gap:8px;text-decoration:none;background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:16px;padding:12px 14px;box-shadow:0 10px 24px rgba(15,23,42,.06);color:#0f172a}
.pds-tech-workflow-chip b{font-size:22px;line-height:1;color:#0b5fff}.pds-tech-workflow-chip span{font-size:12px;font-weight:700;color:#475569;text-transform:uppercase;letter-spacing:.03em}
.pds-tech-workflow-head{background:#f8fafc;color:#475569;text-transform:uppercase;font-size:11px;letter-spacing:.04em}
.pds-tech-table-row{position:relative;grid-template-columns:92px 1.15fr 1.05fr 1.15fr 108px;align-items:center;border-left:4px solid transparent}
.pds-tech-table-row.pds-age-fresh{border-left-color:#22c55e}.pds-tech-table-row.pds-age-warn{border-left-color:#f59e0b}.pds-tech-table-row.pds-age-critical{border-left-color:#ef4444}
.pds-tech-col-ticket,.pds-tech-col-customer,.pds-tech-col-device,.pds-tech-col-problem,.pds-tech-col-action{min-width:0}
.pds-tech-col-ticket b,.pds-tech-col-customer b,.pds-tech-col-device b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pds-tech-col-problem em{display:inline-flex;max-width:100%;padding:3px 7px;border-radius:999px;background:#eef2ff;color:#3730a3;font-style:normal;font-size:11px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pds-tech-col-problem small{display:block;margin-top:4px;color:#475569;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pds-due-chip{display:inline-block;margin-top:3px;padding:2px 6px;border-radius:999px;background:#fff7ed;color:#c2410c;font-size:10px;font-style:normal;font-weight:800}.pds-row-action-form{margin:0}.pds-row-action-form .pds-handoff-result{display:block;font-size:10px}.pds-row-action{width:100%;padding:7px 9px!important;border-radius:10px!important}.pds-tech-table-row[data-hide="1"],.pds-tech-status-group[data-hide="1"]{display:none!important}.pds-tech-status-group.pds-group-empty{display:none!important}
@media(max-width:720px){.pds-tech-workflow-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.pds-tech-workflow-chip{padding:10px 11px;border-radius:14px}.pds-tech-workflow-chip b{font-size:19px}.pds-tech-table-row,.pds-tech-table-head{grid-template-columns:70px 1fr 84px 86px!important;gap:7px}.pds-tech-table-head span:nth-child(4){display:none}.pds-tech-table-row .pds-tech-col-problem{display:none}.pds-tech-col-action{justify-self:stretch}.pds-tech-col-device small,.pds-tech-col-customer small{font-size:10px}.pds-row-action{font-size:11px!important;padding:7px 6px!important}.pds-tech-col-ticket small{font-size:10px}.pds-due-chip{font-size:9px;padding:1px 5px}}

/* v4.3 Courier & Accounts Polish */
.pds-v43-panel{display:block}.pds-v43-kpis{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}.pds-v43-split{display:grid;grid-template-columns:1.25fr .95fr;gap:14px;margin-top:14px}.pds-v43-inner{margin:0!important}.pds-v43-table table{width:100%;border-collapse:separate;border-spacing:0}.pds-v43-table th{font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:#64748b;background:#f8fafc;position:sticky;top:0;z-index:1}.pds-v43-table td,.pds-v43-table th{padding:10px 9px;border-bottom:1px solid #e5edf6;vertical-align:top}.pds-v43-table tr:hover td{background:#fbfdff}.pds-v43-courier .pds-hero-card{margin-bottom:12px}.pds-v43-courier-card{border:1px solid #e4ecf7;border-radius:18px;box-shadow:0 10px 28px rgba(15,23,42,.06);padding:14px}.pds-v43-courier-card h4{margin:8px 0 4px;font-size:16px}.pds-v43-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:8px}.pds-courier-route-table small{color:#64748b}.pds-courier-route-table .pds-mini{padding:7px 10px}.pds-v43-courier-cards{grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:12px}.pds-v43-courier .metric-card{min-height:92px}.pds-v43-courier input,.pds-v43-courier select{max-width:100%}
@media(max-width:760px){.pds-v43-split{grid-template-columns:1fr}.pds-v43-table{overflow-x:auto;-webkit-overflow-scrolling:touch}.pds-v43-table table{min-width:680px}.pds-v43-courier-cards{display:block}.pds-v43-courier-card{margin-bottom:12px}.pds-v43-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.pds-v43-courier .metric-card strong{font-size:20px}.pds-v43-courier .pds-row{grid-template-columns:1fr 1fr}.pds-v43-courier .pds-row label:last-child{grid-column:1/-1}}


/* v5.0 Commercial CRM + Manager Desktop */
.pds-v50-manager-desktop,.pds-v50-whatsapp-hub{background:linear-gradient(180deg,#ffffff,#f8fbff)}
.pds-v50-desktop{display:grid;gap:14px}.pds-v50-topbar{display:flex;justify-content:space-between;gap:14px;align-items:center;background:#07152f;color:#fff;border-radius:18px;padding:16px}.pds-v50-topbar strong{display:block;font-size:20px}.pds-v50-topbar span{display:block;color:#cbd5e1;font-size:13px;margin-top:3px}.pds-v50-global{display:flex;gap:8px;align-items:center}.pds-v50-global input{min-width:320px;border-radius:12px;border:1px solid #1e3a5f;background:#fff;color:#0f172a;padding:10px 12px}.pds-v50-kpis{display:grid;grid-template-columns:repeat(6,1fr);gap:10px}.pds-v50-kpis a{display:block;text-decoration:none;background:#fff;border:1px solid #dbeafe;border-radius:16px;padding:12px;box-shadow:0 8px 25px rgba(15,23,42,.06)}.pds-v50-kpis span{display:block;color:#64748b;font-size:12px}.pds-v50-kpis b{display:block;color:#0f172a;font-size:22px;margin-top:4px}.pds-v50-quickbar{display:flex;gap:8px;flex-wrap:wrap}.pds-v50-quickbar a,.pds-v50-action-list a{background:#eff6ff;border:1px solid #bfdbfe;color:#0f3b70;border-radius:999px;padding:8px 12px;text-decoration:none;font-weight:700;font-size:13px}.pds-v50-split{display:grid;grid-template-columns:2fr .9fr;gap:14px}.pds-v50-split h4{margin:0 0 8px}.pds-v50-mini-table{overflow:auto;border:1px solid #e5e7eb;border-radius:16px;background:#fff}.pds-v50-mini-table table{width:100%;border-collapse:collapse}.pds-v50-mini-table th,.pds-v50-mini-table td{padding:10px;border-bottom:1px solid #eef2f7;text-align:left;font-size:13px;vertical-align:top}.pds-v50-mini-table th{background:#f8fafc;color:#475569}.pds-v50-mini-table small{display:block;color:#64748b}.pds-linklike{border:0;background:transparent;color:#0b63ce;font-weight:800;padding:0;cursor:pointer}.pds-v50-action-list{display:grid;gap:9px;background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:12px}.pds-v50-action-list a{border-radius:12px;background:#fff}.pds-v50-template-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.pds-v50-template-grid article{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:12px;box-shadow:0 8px 25px rgba(15,23,42,.05)}.pds-v50-template-grid h4{margin:0 0 8px}.pds-v50-template-grid textarea{width:100%;font-size:12px;border-radius:12px;border:1px solid #dbe3ef;background:#f8fafc;padding:9px;resize:vertical}.pds-v50-crm-tools{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin-bottom:10px}.pds-v50-crm-tools label{min-width:280px}.pds-v50-customer-filter{border:1px solid #dbe3ef;border-radius:10px;padding:10px;background:#fff}.pds-v50-crm-table th{position:sticky;top:0;background:#f8fafc;z-index:1}.pds-v50-crm-table td:first-child strong{font-size:14px;color:#0f172a}.pds-v50-profile-drawer{margin-top:12px;background:#07152f;color:#fff;border-radius:18px;padding:14px;box-shadow:0 14px 30px rgba(15,23,42,.18)}.pds-v50-profile-drawer h4{margin:0 0 8px}.pds-v50-profile-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.pds-v50-profile-grid span{display:block;color:#cbd5e1;font-size:12px}.pds-v50-profile-grid b{display:block;color:#fff}.pds-v50-hidden{display:none!important}
@media(max-width:900px){.pds-v50-topbar,.pds-v50-split{display:block}.pds-v50-global{margin-top:12px}.pds-v50-global input{min-width:0;width:100%}.pds-v50-kpis{grid-template-columns:repeat(2,1fr)}.pds-v50-template-grid{grid-template-columns:1fr}.pds-v50-profile-grid{grid-template-columns:repeat(2,1fr)}.pds-v50-crm-table{min-width:760px}.pds-v50-crm-tools label{min-width:100%;width:100%}}


/* v5.0.1 Senior audit polish: manager/tech clarity + compact professional spacing */
.pds-tech-hesk-queue{display:grid;gap:12px}
.pds-tech-status-group{border:1px solid #dfe7f2;border-radius:18px;background:#fff;box-shadow:0 10px 28px rgba(15,23,42,.055);overflow:hidden}
.pds-tech-group-head{width:100%;border:0;background:linear-gradient(90deg,#0b1739,#123d7a);color:#fff;padding:11px 13px;display:flex;align-items:center;justify-content:space-between;font-weight:900;letter-spacing:.01em}
.pds-tech-group-head b{display:inline-flex;min-width:30px;height:24px;align-items:center;justify-content:center;border-radius:999px;background:rgba(255,255,255,.16);color:#fff}
.pds-tech-table-wrap{border:0;border-radius:0;background:#fff;overflow:hidden}
.pds-tech-table-head{padding:8px 10px;border-bottom:1px solid #e5edf6}
.pds-tech-table-row{margin:0;border-radius:0;border-left-width:3px;border-bottom:1px solid #eef2f7;box-shadow:none;min-height:54px}
.pds-tech-table-row:hover{background:#f8fbff}
.pds-tech-col-action .pds-mini,.pds-tech-col-due .pds-mini{font-weight:900}
.pds-v50-topbar{box-shadow:0 16px 35px rgba(7,21,47,.20)}
.pds-v50-kpis a:hover,.pds-v50-action-list a:hover,.pds-v50-quickbar a:hover{transform:translateY(-1px);box-shadow:0 10px 24px rgba(15,23,42,.09)}
.pds-crm-table td,.pds-crm-table th{vertical-align:middle}
.pds-crm-actions{display:flex;flex-wrap:wrap;gap:6px}
.pds-crm-actions .pds-mini{white-space:nowrap}
.pds-handoff-box{border:1px dashed #bfdbfe;background:#f8fbff;border-radius:16px;padding:12px;margin:12px 0}
.pds-handoff-box h4{margin-top:0}
@media(max-width:720px){.pds-tech-group-head{padding:10px 12px}.pds-tech-table-row{min-height:48px;padding:7px 8px!important}.pds-tech-col-ticket b,.pds-tech-col-customer b,.pds-tech-col-device b{font-size:12px}.pds-tech-col-ticket small,.pds-tech-col-customer small,.pds-tech-col-device small{font-size:10px}.pds-v50-topbar{border-radius:14px;padding:13px}.pds-v50-kpis a{padding:10px}.pds-v50-kpis b{font-size:19px}}


/* v5.0.2 senior audit polish */
.pds-v50-manager-desktop .pds-table,.pds-customer-crm-table{border-collapse:separate;border-spacing:0 7px;width:100%}
.pds-v50-manager-desktop .pds-table tr,.pds-customer-crm-table tr{background:#fff;border-radius:14px;box-shadow:0 8px 24px rgba(15,23,42,.06)}
.pds-v50-manager-desktop .pds-table td,.pds-v50-manager-desktop .pds-table th,.pds-customer-crm-table td,.pds-customer-crm-table th{padding:10px 12px;vertical-align:middle}
.pds-wa-open{white-space:nowrap}
.pds-tech-table-row{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
@media(max-width:720px){.pds-v50-manager-desktop .pds-table,.pds-customer-crm-table{font-size:12px}.pds-v50-manager-desktop .pds-table td,.pds-v50-manager-desktop .pds-table th,.pds-customer-crm-table td,.pds-customer-crm-table th{padding:8px 9px}.pds-mini{min-height:34px}}

/* v5.1.1 Production Stable critical stability + mobile scroll polish */
html.pds-no-zoom,
body.pds-sce-app-mode{
  height:auto!important;
  min-height:100%!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  -webkit-overflow-scrolling:touch!important;
  overscroll-behavior-y:auto!important;
}
body.pds-sce-app-mode .pds-sce-app,
body.pds-sce-app-mode .pds-main-shell,
body.pds-sce-app-mode .pds-app-content,
body.pds-sce-app-mode .pds-dashboard-v2,
body.pds-sce-app-mode .pds-app-screen,
body.pds-sce-app-mode .pds-card{
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow-y:visible!important;
}
@media(max-width:780px){
  body.pds-sce-app-mode{padding-bottom:84px!important;}
  .pds-sce-app.pds-app-v2{padding-bottom:92px!important;}
  .pds-app-content{padding-bottom:110px!important;}
  .pds-bottom-nav{position:fixed!important;bottom:0!important;left:0!important;right:0!important;z-index:9998!important;}
  .pds-wizard-actions{position:sticky!important;bottom:74px!important;}
  .pds-table-wrap,
  .pds-crm-table-wrap,
  .pds-tech-table-wrap{max-width:100%!important;overflow-x:auto!important;overflow-y:visible!important;-webkit-overflow-scrolling:touch!important;}
}
.pds-v51-manager-console{display:grid;gap:14px}.pds-v51-search-card{display:grid;grid-template-columns:minmax(280px,1fr) auto;gap:12px;align-items:end;background:linear-gradient(135deg,#f8fbff,#eef6ff);border:1px solid #dbeafe;border-radius:18px;padding:14px}.pds-v51-global-search-label{font-weight:900;color:#0f172a}.pds-v51-global-search-label input{margin-top:6px}.pds-v51-quick-actions{display:flex;gap:8px;flex-wrap:wrap}.pds-v51-kpi-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.pds-v51-kpi-grid>div{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:14px;box-shadow:0 8px 20px rgba(15,23,42,.06)}.pds-v51-kpi-grid b{display:block;font-size:24px;color:#0f2a48}.pds-v51-kpi-grid span{font-size:12px;color:#64748b;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.pds-v51-recent h4{margin:4px 0 10px}.pds-v51-recent-list{border:1px solid #e2e8f0;border-radius:16px;overflow:hidden}.pds-v51-job-row{display:grid;grid-template-columns:86px minmax(160px,1.3fr) minmax(150px,1fr) minmax(150px,1fr) 90px;gap:0;align-items:center;background:#fff;border-bottom:1px solid #e2e8f0}.pds-v51-job-row>*{padding:11px 12px;border-right:1px solid #eef2f7;min-width:0}.pds-v51-job-row:last-child{border-bottom:0}.pds-v51-job-row strong{font-size:16px;color:#0f2a48}.pds-v51-job-row b,.pds-v51-job-row small,.pds-v51-job-row em{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pds-v51-job-row small{color:#64748b;font-size:12px;margin-top:2px}.pds-v51-job-row em{font-style:normal;color:#1d4ed8;font-weight:900}.pds-v51-wa-hub textarea{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.pds-v51-template-vars{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.pds-v51-template-vars span{background:#eff6ff;color:#1d4ed8;border-radius:999px;padding:5px 9px;font-weight:800;font-size:12px}
@media(max-width:780px){.pds-v51-search-card{grid-template-columns:1fr}.pds-v51-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pds-v51-job-row{grid-template-columns:72px minmax(150px,1fr) minmax(130px,1fr);min-width:430px}.pds-v51-job-row span:nth-of-type(3),.pds-v51-job-row span:nth-of-type(4){display:none}.pds-v51-quick-actions .pds-mini{flex:1 1 45%;width:auto!important}}


/* v5.1.1 Production Stable final QA: mobile scroll + queue fit */
html.pds-no-zoom{touch-action:manipulation!important;-webkit-text-size-adjust:100%!important;}
body.pds-sce-app-mode{overflow-y:auto!important;overflow-x:hidden!important;position:static!important;touch-action:pan-y!important;}
body.pds-sce-app-mode .pds-main-shell,
body.pds-sce-app-mode .pds-app-content,
body.pds-sce-app-mode .pds-dashboard-v2{overflow:visible!important;height:auto!important;min-height:100vh!important;max-height:none!important;}
.pds-safe-module-error{border-left:4px solid #ef4444;background:#fff7f7;color:#7f1d1d;}
@media(max-width:780px){
  body.pds-sce-app-mode{padding-bottom:92px!important;}
  .pds-role-technician #pds-jobs{max-width:100%!important;overflow:hidden!important;}
  .pds-tech-hesk-toolbar{display:grid!important;grid-template-columns:72px minmax(0,1fr)!important;gap:8px!important;align-items:center!important;padding:8px!important;border-radius:18px!important;}
  .pds-tech-hesk-toolbar label{min-width:0!important;font-size:0!important;}
  .pds-tech-hesk-toolbar input{height:42px!important;font-size:14px!important;border-radius:14px!important;}
  .pds-tech-filter-pills{grid-column:1/-1!important;display:flex!important;overflow-x:auto!important;gap:7px!important;padding-bottom:2px!important;scrollbar-width:none!important;}
  .pds-tech-filter-pills::-webkit-scrollbar{display:none!important;}
  .pds-tech-filter-pills .pds-mini{flex:0 0 auto!important;width:auto!important;min-width:70px!important;min-height:36px!important;padding:8px 11px!important;border-radius:13px!important;font-size:12px!important;}
  .pds-tech-table-wrap{overflow:visible!important;width:100%!important;max-width:100%!important;}
  .pds-tech-table-head{display:grid!important;grid-template-columns:74px minmax(0,1.1fr) minmax(0,.95fr)!important;min-width:0!important;width:100%!important;}
  .pds-tech-table-head span:nth-child(n+4){display:none!important;}
  .pds-tech-table-row{display:grid!important;grid-template-columns:74px minmax(0,1.1fr) minmax(0,.95fr)!important;min-width:0!important;width:100%!important;min-height:58px!important;border-radius:14px!important;margin:5px 0!important;}
  .pds-tech-table-row>span:nth-child(n+4){display:none!important;}
  .pds-tech-table-row>span{padding:8px 7px!important;min-width:0!important;overflow:hidden!important;border-right:1px solid #eef2f7!important;}
  .pds-tech-table-row>span:last-child{border-right:0!important;}
  .pds-tech-table-row b{font-size:12.5px!important;line-height:1.18!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
  .pds-tech-table-row small{font-size:10px!important;line-height:1.15!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
  .pds-tech-col-ticket b{font-size:15px!important;}
  .pds-tech-group-head{position:sticky!important;top:0!important;z-index:2!important;border-radius:14px 14px 0 0!important;}
  .pds-bottom-nav a{touch-action:manipulation!important;}
}


/* v5.2.0 Production UX Polish: Manager/Operations commercial console */
:root{
  --pds-bg:#eef4fb;
  --pds-surface:#ffffff;
  --pds-ink:#0b1220;
  --pds-muted:#64748b;
  --pds-border:#dbe5ef;
  --pds-blue:#2563eb;
  --pds-navy:#0d2b4c;
  --pds-soft:#f7fbff;
  --pds-success:#16a34a;
  --pds-warning:#f59e0b;
  --pds-danger:#dc2626;
}
body.pds-sce-app-mode,
body:has(.pds-role-manager),
body:has(.pds-role-admin),
body:has(.pds-role-operation){background:var(--pds-bg)!important;overflow-x:hidden!important;touch-action:pan-x pan-y!important;}
body:has(.pds-role-manager) #wpadminbar,
body:has(.pds-role-admin) #wpadminbar,
body:has(.pds-role-operation) #wpadminbar{display:none!important}
html:has(.pds-role-manager),html:has(.pds-role-admin),html:has(.pds-role-operation){margin-top:0!important;overflow-x:hidden!important;}
.pds-role-manager,.pds-role-admin,.pds-role-operation{font-family:Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;color:var(--pds-ink)!important;letter-spacing:-.01em;}
.pds-role-manager .pds-sidebar,.pds-role-admin .pds-sidebar,.pds-role-operation .pds-sidebar{background:linear-gradient(180deg,#0d2b4c,#0b1e37)!important;border-right:1px solid rgba(255,255,255,.06);box-shadow:18px 0 44px rgba(15,23,42,.08)}
.pds-role-manager .pds-brand,.pds-role-admin .pds-brand,.pds-role-operation .pds-brand{padding-bottom:18px;border-bottom:1px solid rgba(255,255,255,.10)}
.pds-role-manager .pds-brand-mark,.pds-role-admin .pds-brand-mark,.pds-role-operation .pds-brand-mark{box-shadow:0 8px 22px rgba(37,99,235,.22)}
.pds-role-manager .pds-app-nav a,.pds-role-admin .pds-app-nav a,.pds-role-operation .pds-app-nav a{position:relative;border-radius:14px;font-weight:800;color:#cfe5ff!important;transition:background .16s ease,color .16s ease,transform .16s ease;padding:12px 14px!important}
.pds-role-manager .pds-app-nav a:hover,.pds-role-admin .pds-app-nav a:hover,.pds-role-operation .pds-app-nav a:hover{background:rgba(255,255,255,.10)!important;color:#fff!important;transform:translateX(2px)}
.pds-role-manager .pds-app-nav a:focus,.pds-role-admin .pds-app-nav a:focus,.pds-role-operation .pds-app-nav a:focus{outline:2px solid rgba(147,197,253,.45);outline-offset:2px}
.pds-role-manager .pds-topbar,.pds-role-admin .pds-topbar,.pds-role-operation .pds-topbar{background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px);box-shadow:0 10px 30px rgba(15,23,42,.07);border-bottom:1px solid var(--pds-border)!important;min-height:64px;z-index:80!important}
.pds-role-manager .pds-topbar h3,.pds-role-admin .pds-topbar h3,.pds-role-operation .pds-topbar h3{font-size:20px!important;margin:0!important;font-weight:900!important;color:#0f172a!important}
.pds-role-manager .pds-app-content,.pds-role-admin .pds-app-content,.pds-role-operation .pds-app-content{padding:24px 34px 88px!important;max-width:1680px!important;margin:0 auto!important;width:100%!important;box-sizing:border-box!important}
.pds-role-manager .pds-hero-card,.pds-role-admin .pds-hero-card,.pds-role-operation .pds-hero-card{border-radius:26px!important;padding:30px 34px!important;background:linear-gradient(135deg,#0b1e37 0%,#123a74 52%,#2563eb 100%)!important;box-shadow:0 24px 60px rgba(37,99,235,.22)!important;overflow:hidden;position:relative}
.pds-role-manager .pds-hero-card:after,.pds-role-admin .pds-hero-card:after,.pds-role-operation .pds-hero-card:after{content:"";position:absolute;right:-70px;top:-90px;width:260px;height:260px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.20),rgba(255,255,255,0) 65%);pointer-events:none}
.pds-role-manager .pds-hero-card h2,.pds-role-admin .pds-hero-card h2,.pds-role-operation .pds-hero-card h2{font-size:32px!important;font-weight:950!important;letter-spacing:-.03em!important}
.pds-role-manager .pds-screen-card,.pds-role-manager .pds-card,.pds-role-admin .pds-screen-card,.pds-role-admin .pds-card,.pds-role-operation .pds-screen-card,.pds-role-operation .pds-card{border:1px solid var(--pds-border)!important;border-radius:24px!important;background:rgba(255,255,255,.98)!important;box-shadow:0 14px 38px rgba(15,23,42,.08)!important;padding:24px!important;margin-bottom:18px!important;overflow:hidden!important}
.pds-role-manager .pds-card h2,.pds-role-manager .pds-screen-card h2,.pds-role-admin .pds-card h2,.pds-role-admin .pds-screen-card h2,.pds-role-operation .pds-card h2,.pds-role-operation .pds-screen-card h2{font-size:26px!important;line-height:1.16!important;letter-spacing:-.03em!important;margin:0 0 18px!important;color:#0b1220!important}
.pds-role-manager .pds-card h3,.pds-role-admin .pds-card h3,.pds-role-operation .pds-card h3{font-size:20px!important;letter-spacing:-.02em!important;color:#0b1220!important}
.pds-role-manager .pds-kpis,.pds-role-manager .pds-kpi-grid,.pds-role-admin .pds-kpis,.pds-role-admin .pds-kpi-grid,.pds-role-operation .pds-kpis,.pds-role-operation .pds-kpi-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(160px,1fr))!important;gap:14px!important}
.pds-role-manager .pds-kpis>div,.pds-role-manager .pds-kpi-grid>* , .pds-role-admin .pds-kpis>div,.pds-role-admin .pds-kpi-grid>* , .pds-role-operation .pds-kpis>div,.pds-role-operation .pds-kpi-grid>*{background:linear-gradient(180deg,#fff,#f8fbff)!important;border:1px solid var(--pds-border)!important;border-radius:18px!important;padding:16px!important;box-shadow:0 10px 24px rgba(15,23,42,.05)!important;min-height:76px!important}
.pds-role-manager .pds-kpis b,.pds-role-manager .pds-kpi-grid b,.pds-role-admin .pds-kpis b,.pds-role-admin .pds-kpi-grid b,.pds-role-operation .pds-kpis b,.pds-role-operation .pds-kpi-grid b{font-size:28px!important;line-height:1!important;color:#0f172a!important;font-weight:950!important}
.pds-role-manager .pds-kpis small,.pds-role-manager .pds-kpi-grid small,.pds-role-admin .pds-kpis small,.pds-role-admin .pds-kpi-grid small,.pds-role-operation .pds-kpis small,.pds-role-operation .pds-kpi-grid small{color:#64748b!important;font-weight:800!important;text-transform:uppercase!important;letter-spacing:.04em!important;font-size:11px!important}
.pds-role-manager .pds-action-grid,.pds-role-admin .pds-action-grid,.pds-role-operation .pds-action-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(175px,1fr))!important;gap:14px!important}
.pds-role-manager .pds-action-card,.pds-role-admin .pds-action-card,.pds-role-operation .pds-action-card{border:1px solid var(--pds-border)!important;border-radius:18px!important;background:#fff!important;box-shadow:0 10px 28px rgba(15,23,42,.06)!important;padding:18px!important;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.pds-role-manager .pds-action-card:hover,.pds-role-admin .pds-action-card:hover,.pds-role-operation .pds-action-card:hover{transform:translateY(-2px);border-color:#bfdbfe!important;box-shadow:0 18px 42px rgba(37,99,235,.13)!important}
.pds-role-manager .pds-table-wrap,.pds-role-admin .pds-table-wrap,.pds-role-operation .pds-table-wrap,.pds-role-manager .pds-responsive-table,.pds-role-admin .pds-responsive-table,.pds-role-operation .pds-responsive-table{border:1px solid var(--pds-border)!important;border-radius:18px!important;overflow:auto!important;background:#fff!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}
.pds-role-manager table,.pds-role-admin table,.pds-role-operation table{border-collapse:separate!important;border-spacing:0!important;width:100%!important;background:#fff!important}
.pds-role-manager th,.pds-role-admin th,.pds-role-operation th{position:sticky;top:0;z-index:5;background:#f5f9fe!important;color:#44546a!important;font-size:12px!important;text-transform:uppercase!important;letter-spacing:.055em!important;font-weight:950!important;border-bottom:1px solid var(--pds-border)!important;white-space:nowrap!important}
.pds-role-manager td,.pds-role-admin td,.pds-role-operation td{border-bottom:1px solid #edf2f7!important;color:#0f172a!important;vertical-align:middle!important;font-size:13px!important;line-height:1.35!important}
.pds-role-manager tr:hover td,.pds-role-admin tr:hover td,.pds-role-operation tr:hover td{background:#f8fbff!important}
.pds-role-manager input,.pds-role-manager select,.pds-role-manager textarea,.pds-role-admin input,.pds-role-admin select,.pds-role-admin textarea,.pds-role-operation input,.pds-role-operation select,.pds-role-operation textarea{border:1px solid #d2deea!important;border-radius:14px!important;min-height:42px!important;background:#fff!important;box-shadow:0 1px 0 rgba(15,23,42,.03)!important;transition:border-color .15s ease,box-shadow .15s ease}
.pds-role-manager input:focus,.pds-role-manager select:focus,.pds-role-manager textarea:focus,.pds-role-admin input:focus,.pds-role-admin select:focus,.pds-role-admin textarea:focus,.pds-role-operation input:focus,.pds-role-operation select:focus,.pds-role-operation textarea:focus{border-color:#2563eb!important;box-shadow:0 0 0 4px rgba(37,99,235,.12)!important;outline:none!important}
.pds-btn,.pds-mini,.pds-role-manager button,.pds-role-admin button,.pds-role-operation button{border-radius:13px!important;font-weight:900!important;letter-spacing:-.01em!important;transition:transform .14s ease,box-shadow .14s ease,filter .14s ease!important}
.pds-btn:hover,.pds-mini:hover,.pds-role-manager button:hover,.pds-role-admin button:hover,.pds-role-operation button:hover{filter:brightness(1.02);box-shadow:0 12px 26px rgba(37,99,235,.18)!important}.pds-btn:active,.pds-mini:active,.pds-role-manager button:active,.pds-role-admin button:active,.pds-role-operation button:active{transform:translateY(1px)!important}
.pds-mini.secondary,.pds-btn.secondary{background:#64748b!important;color:#fff!important}.pds-danger,.pds-btn.danger{background:#dc2626!important;color:#fff!important}.pds-success,.pds-btn.success{background:#16a34a!important;color:#fff!important}.pds-warning,.pds-btn.warning{background:#f59e0b!important;color:#111827!important}
.pds-pill,.pds-status-badge{display:inline-flex!important;align-items:center!important;gap:5px!important;border-radius:999px!important;padding:5px 10px!important;font-size:12px!important;font-weight:900!important;background:#eff6ff!important;color:#1d4ed8!important;white-space:nowrap!important}.pds-pill:before,.pds-status-badge:before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor;opacity:.65}
.pds-pwa-install-btn.show{font-family:Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;box-shadow:0 16px 40px rgba(15,23,42,.25)!important}
@media(min-width:1024px){.pds-pwa-install-btn.show{left:auto!important;right:28px!important;top:86px!important;bottom:auto!important;transform:none!important;min-width:0!important;border-radius:999px!important;padding:10px 15px!important;z-index:90!important;opacity:.94}.pds-pwa-install-btn.show:hover{opacity:1}.pds-role-manager .pds-dashboard-v2,.pds-role-admin .pds-dashboard-v2,.pds-role-operation .pds-dashboard-v2{gap:18px!important}.pds-role-manager .pds-card[id],.pds-role-admin .pds-card[id],.pds-role-operation .pds-card[id]{scroll-margin-top:90px!important}}
@media(max-width:1023px){.pds-pwa-install-btn.show{bottom:calc(82px + env(safe-area-inset-bottom))!important}}
@media(max-width:780px){
  .pds-role-manager .pds-app-content,.pds-role-admin .pds-app-content,.pds-role-operation .pds-app-content{padding:12px 12px 96px!important;max-width:100%!important;overflow-x:hidden!important}
  .pds-role-manager .pds-topbar,.pds-role-admin .pds-topbar,.pds-role-operation .pds-topbar{min-height:58px!important;padding:10px 12px!important}
  .pds-role-manager .pds-hero-card,.pds-role-admin .pds-hero-card,.pds-role-operation .pds-hero-card{padding:18px!important;border-radius:18px!important}
  .pds-role-manager .pds-hero-card h2,.pds-role-admin .pds-hero-card h2,.pds-role-operation .pds-hero-card h2{font-size:22px!important}
  .pds-role-manager .pds-screen-card,.pds-role-manager .pds-card,.pds-role-admin .pds-screen-card,.pds-role-admin .pds-card,.pds-role-operation .pds-screen-card,.pds-role-operation .pds-card{padding:15px!important;border-radius:18px!important;margin-bottom:12px!important}
  .pds-role-manager .pds-kpis,.pds-role-manager .pds-kpi-grid,.pds-role-admin .pds-kpis,.pds-role-admin .pds-kpi-grid,.pds-role-operation .pds-kpis,.pds-role-operation .pds-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
  .pds-role-manager .pds-kpis>div,.pds-role-manager .pds-kpi-grid>* , .pds-role-admin .pds-kpis>div,.pds-role-admin .pds-kpi-grid>* , .pds-role-operation .pds-kpis>div,.pds-role-operation .pds-kpi-grid>*{padding:12px!important;min-height:64px!important}
  .pds-role-manager .pds-action-grid,.pds-role-admin .pds-action-grid,.pds-role-operation .pds-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
  .pds-role-manager .pds-action-card,.pds-role-admin .pds-action-card,.pds-role-operation .pds-action-card{padding:13px!important;border-radius:15px!important}
  .pds-role-manager th,.pds-role-admin th,.pds-role-operation th{font-size:10px!important}.pds-role-manager td,.pds-role-admin td,.pds-role-operation td{font-size:12px!important}
  .pds-bottom-nav{box-shadow:0 -14px 40px rgba(15,23,42,.18)!important;border-top:1px solid rgba(255,255,255,.08)!important}
}
@media(max-width:440px){.pds-role-manager .pds-kpis,.pds-role-manager .pds-kpi-grid,.pds-role-admin .pds-kpis,.pds-role-admin .pds-kpi-grid,.pds-role-operation .pds-kpis,.pds-role-operation .pds-kpi-grid{grid-template-columns:1fr 1fr!important}.pds-role-manager .pds-action-grid,.pds-role-admin .pds-action-grid,.pds-role-operation .pds-action-grid{grid-template-columns:1fr!important}.pds-role-manager .pds-card h2,.pds-role-admin .pds-card h2,.pds-role-operation .pds-card h2{font-size:22px!important}}


/* v5.2.1 Desktop UX Fix: fixed sidebar + stable manager/operation scrolling */
@media (min-width:1180px){
  body.pds-sce-app-mode{
    overflow-x:hidden!important;
    background:var(--pds-bg,#eef4fb)!important;
  }
  .pds-role-manager.pds-tabbed-app,
  .pds-role-admin.pds-tabbed-app,
  .pds-role-operation.pds-tabbed-app{
    display:block!important;
    width:100vw!important;
    max-width:none!important;
    min-height:100vh!important;
    padding:0!important;
    margin:0!important;
    background:var(--pds-bg,#eef4fb)!important;
  }
  .pds-role-manager .pds-sidebar,
  .pds-role-admin .pds-sidebar,
  .pds-role-operation .pds-sidebar{
    position:fixed!important;
    left:0!important;
    top:0!important;
    bottom:0!important;
    width:260px!important;
    min-width:260px!important;
    max-width:260px!important;
    height:100vh!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    z-index:120!important;
    scrollbar-width:thin;
  }
  .pds-role-manager .pds-main-shell,
  .pds-role-admin .pds-main-shell,
  .pds-role-operation .pds-main-shell{
    margin-left:260px!important;
    width:calc(100vw - 260px)!important;
    min-width:0!important;
    max-width:none!important;
    overflow-x:hidden!important;
  }
  .pds-role-manager .pds-topbar,
  .pds-role-admin .pds-topbar,
  .pds-role-operation .pds-topbar{
    position:sticky!important;
    top:0!important;
    z-index:95!important;
    width:100%!important;
  }
  .pds-role-manager .pds-app-content,
  .pds-role-admin .pds-app-content,
  .pds-role-operation .pds-app-content{
    max-width:none!important;
    margin:0!important;
    padding:24px 28px 88px!important;
  }
  .pds-role-manager.pds-sidebar-compact .pds-sidebar,
  .pds-role-admin.pds-sidebar-compact .pds-sidebar,
  .pds-role-operation.pds-sidebar-compact .pds-sidebar{
    width:82px!important;
    min-width:82px!important;
    max-width:82px!important;
  }
  .pds-role-manager.pds-sidebar-compact .pds-main-shell,
  .pds-role-admin.pds-sidebar-compact .pds-main-shell,
  .pds-role-operation.pds-sidebar-compact .pds-main-shell{
    margin-left:82px!important;
    width:calc(100vw - 82px)!important;
  }
  .pds-role-manager .pds-card,
  .pds-role-admin .pds-card,
  .pds-role-operation .pds-card{
    scroll-margin-top:96px!important;
  }
}

/* v14.6.0 Customer App Experience */
.pds-role-customer .pds-topbar strong{
  display:block;
  max-width:min(62vw,420px);
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:18px!important;
}
.pds-role-customer .pds-topbar strong:after{content:none!important;display:none!important}
.pds-role-customer .pds-topbar small{font-size:11px}
.pds-role-customer .pds-logout{white-space:nowrap}
.pds-role-customer .pds-customer-hero{padding:22px!important}
.pds-role-customer .pds-customer-hero h2{max-width:760px}
.pds-role-customer .pds-action-grid-customer{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.pds-role-customer .pds-action-grid-customer .pds-action-card{
  min-height:88px;
  padding:15px;
}
.pds-role-customer .pds-action-grid-customer .pds-action-card strong{font-size:16px}
.pds-role-customer .pds-action-grid-customer .pds-action-card span{font-size:12px;line-height:1.4}
.pds-customer-next{
  margin:10px 0!important;
  padding:10px 12px;
  border-left:4px solid #2563eb;
  border-radius:0 12px 12px 0;
  background:#eff6ff;
  color:#1e3a8a!important;
  line-height:1.45;
}
.pds-customer-primary-action{margin-top:13px}
.pds-customer-primary-action .pds-btn{display:block;width:100%;text-align:center}
.pds-customer-help-menu{
  margin-top:9px;
  border:1px solid #dbe3ee;
  border-radius:13px;
  background:#f8fafc;
}
.pds-customer-help-menu>summary{
  min-height:42px;
  display:flex;
  align-items:center;
  padding:9px 12px;
  color:#334155;
  cursor:pointer;
  font-size:13px;
  font-weight:800;
}
.pds-customer-help-menu[open]>summary{border-bottom:1px solid #e2e8f0}
.pds-customer-help-actions{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:7px;
  padding:9px;
}
.pds-role-customer .pds-customer-help-actions .pds-mini{
  width:100%!important;
  min-height:40px!important;
  margin:0!important;
  box-shadow:none;
  font-size:12px;
}
.pds-customer-filter-strip{
  display:flex;
  gap:7px;
  max-width:100%;
  overflow-x:auto;
  padding:3px 0 10px;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
}
.pds-customer-filter-strip::-webkit-scrollbar{display:none}
.pds-customer-filter-strip button{
  flex:0 0 auto;
  min-height:36px;
  width:auto!important;
  margin:0!important;
  padding:7px 12px;
  border:1px solid #dbe3ee;
  border-radius:999px;
  background:#fff;
  color:#334155;
  font-weight:800;
}
.pds-customer-filter-strip button.active{border-color:#2563eb;background:#2563eb;color:#fff}

.pds-customer-statement{min-width:0}
.pds-statement-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:16px;
  margin-bottom:14px;
}
.pds-statement-head h3{margin:2px 0 4px}
.pds-statement-controls{display:flex;align-items:flex-end;gap:9px}
.pds-statement-controls label{margin:0;min-width:170px;font-size:12px;font-weight:800;color:#475569}
.pds-statement-controls select{margin-top:5px;min-height:42px!important}
.pds-role-customer .pds-statement-controls .pds-mini{
  width:auto!important;
  min-height:42px!important;
  margin:0!important;
  white-space:nowrap;
}
.pds-statement-kpis{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:9px;
  margin:12px 0;
}
.pds-statement-kpis>div{
  min-width:0;
  padding:12px;
  border:1px solid #dbe3ee;
  border-radius:14px;
  background:#f8fafc;
}
.pds-statement-kpis small{display:block;color:#64748b;font-size:11px;font-weight:800;text-transform:uppercase}
.pds-statement-kpis b{display:block;margin-top:5px;font-size:19px;overflow-wrap:anywhere}
.pds-statement-kpis .is-due{background:#fff7ed;border-color:#fed7aa}
.pds-statement-kpis .is-due b{color:#b45309}
.pds-statement-fy{
  display:flex;
  align-items:center;
  gap:12px;
  overflow-x:auto;
  margin:10px 0 12px;
  padding:10px 12px;
  border-radius:12px;
  background:#eef2ff;
  color:#3730a3;
  white-space:nowrap;
  scrollbar-width:none;
  font-size:12px;
}
.pds-statement-fy::-webkit-scrollbar{display:none}
.pds-statement-fy span{font-weight:900}
.pds-statement-list{display:grid;gap:7px}
.pds-statement-row{
  display:grid;
  grid-template-columns:minmax(145px,.9fr) minmax(190px,1.4fr) minmax(100px,.55fr) 90px;
  align-items:center;
  gap:10px;
  min-width:0;
  padding:10px 12px;
  border:1px solid #e2e8f0;
  border-radius:13px;
  background:#fff;
}
.pds-statement-row[hidden]{display:none!important}
.pds-statement-row>div{min-width:0}
.pds-statement-row b,.pds-statement-row small{display:block;overflow:hidden;text-overflow:ellipsis}
.pds-statement-row small{margin-top:3px;color:#64748b;white-space:nowrap;font-size:11px}
.pds-statement-row>strong{text-align:right;white-space:nowrap}
.pds-statement-row .pds-mini{width:auto!important;min-height:34px!important;margin:0!important;padding:7px 9px;text-align:center;font-size:11px;box-shadow:none}
.pds-statement-no-action{text-align:center;color:#94a3b8}
.pds-statement-type{
  display:inline-flex;
  width:max-content;
  max-width:100%;
  padding:4px 8px;
  border-radius:999px;
  background:#eff6ff;
  color:#1d4ed8;
  font-size:11px;
  font-weight:900;
}
.pds-statement-type.is-payment{background:#ecfdf5;color:#047857}
.pds-statement-type.is-credit{background:#f5f3ff;color:#6d28d9}
.pds-statement-help{margin-top:12px;border:1px solid #e2e8f0;border-radius:13px;background:#f8fafc;padding:10px 12px}
.pds-statement-help summary{cursor:pointer;font-weight:800}
.pds-statement-help p{margin:9px 0 0;color:#475569;line-height:1.55}

@media(max-width:780px){
  .pds-role-customer .pds-topbar{
    min-height:58px!important;
    height:auto!important;
    padding:9px 12px!important;
    flex-direction:row!important;
    align-items:center!important;
  }
  .pds-role-customer .pds-topbar strong{max-width:60vw;font-size:16px!important}
  .pds-role-customer .pds-topbar .pds-topbar-actions{margin-left:auto}
  .pds-role-customer .pds-topbar .pds-logout{padding:8px 10px;font-size:12px}
  .pds-role-customer .pds-app-content{padding:10px 9px 86px!important}
  .pds-role-customer .pds-screen-card{padding:14px!important}
  .pds-role-customer .pds-customer-hero{padding:17px!important}
  .pds-role-customer .pds-customer-hero h2{font-size:21px!important}
  .pds-role-customer .pds-customer-hero p:not(.pds-kicker){font-size:13px;line-height:1.5}
  .pds-role-customer .pds-customer-hero .pds-btn{min-height:44px!important}
  .pds-role-customer .pds-action-grid-customer{grid-template-columns:1fr 1fr!important}
  .pds-role-customer .pds-action-grid-customer .pds-action-card{min-height:76px!important;padding:11px!important}
  .pds-role-customer .pds-action-grid-customer .pds-action-card strong{font-size:13px}
  .pds-role-customer .pds-action-grid-customer .pds-action-card span{font-size:10.5px}
  .pds-role-customer .pds-live-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .pds-role-customer .pds-live-card{min-width:0;padding:11px!important}
  .pds-role-customer .pds-live-card strong{font-size:20px}
  .pds-role-customer .pds-live-card small{font-size:10px}
  .pds-customer-ticket-card .pds-ticket-card-head{align-items:flex-start}
  .pds-customer-ticket-card .pds-status-pill{max-width:48%;overflow:hidden;text-overflow:ellipsis}
  .pds-customer-ticket-card .pds-ticket-card-meta{gap:7px}
  .pds-customer-ticket-card .pds-ticket-card-meta span{min-width:0;padding:9px}
  .pds-customer-help-actions{grid-template-columns:1fr 1fr}
  .pds-statement-head{display:block}
  .pds-statement-controls{display:grid;grid-template-columns:1fr;gap:8px;margin-top:12px}
  .pds-statement-controls label{min-width:0}
  .pds-role-customer .pds-statement-controls .pds-mini{width:100%!important;text-align:center}
  .pds-statement-kpis{grid-template-columns:1fr 1fr;gap:7px}
  .pds-statement-kpis>div{padding:10px}
  .pds-statement-kpis b{font-size:16px}
  .pds-statement-row{
    grid-template-columns:minmax(0,1fr) auto;
    gap:7px 9px;
    padding:10px;
  }
  .pds-statement-row>div:nth-child(2){grid-column:1;grid-row:2}
  .pds-statement-row>strong{grid-column:2;grid-row:1;text-align:right}
  .pds-statement-row>.pds-mini,.pds-statement-row>.pds-statement-no-action{grid-column:2;grid-row:2;align-self:end}
  .pds-statement-row small{max-width:58vw}
  .pds-role-customer .pds-bottom-nav .pds-app-nav{gap:2px!important}
  .pds-role-customer .pds-bottom-nav a{
    min-width:0!important;
    padding:8px 2px!important;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-size:10px!important;
  }
}
@media(max-width:380px){
  .pds-role-customer .pds-topbar strong{max-width:56vw}
  .pds-role-customer .pds-action-grid-customer{grid-template-columns:1fr!important}
  .pds-role-customer .pds-action-grid-customer .pds-action-card{min-height:66px!important}
  .pds-customer-help-actions{grid-template-columns:1fr}
  .pds-statement-kpis{grid-template-columns:1fr 1fr}
}

/* v5.2.1 Sidebar polish */
.pds-sidebar .pds-app-nav a{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  min-height:42px!important;
  letter-spacing:-.01em!important;
}
.pds-sidebar .pds-app-nav a:hover{
  transform:translateX(2px);
}
.pds-role-manager.pds-sidebar-compact .pds-sidebar .pds-app-nav a,
.pds-role-admin.pds-sidebar-compact .pds-sidebar .pds-app-nav a,
.pds-role-operation.pds-sidebar-compact .pds-sidebar .pds-app-nav a{
  justify-content:center!important;
}

/* v5.2.1 Install button no longer blocks tables */
@media(min-width:1024px){
  .pds-pwa-install-btn.show{
    right:24px!important;
    top:84px!important;
    bottom:auto!important;
    z-index:94!important;
    opacity:.88!important;
  }
  .pds-pwa-install-btn.show:hover{opacity:1!important}
}


/* v5.2.2 Desktop fixed-sidebar content offset fix
   Keep the left menu fixed, but reserve real space for it so dashboard text never sits below it. */
@media (min-width:1180px){
  .pds-sce-app.pds-role-manager:not(.pds-login-shell),
  .pds-sce-app.pds-role-admin:not(.pds-login-shell),
  .pds-sce-app.pds-role-operation:not(.pds-login-shell){
    display:block!important;
    width:100%!important;
    max-width:none!important;
    overflow-x:hidden!important;
    position:relative!important;
  }
  .pds-sce-app.pds-role-manager:not(.pds-login-shell) .pds-sidebar,
  .pds-sce-app.pds-role-admin:not(.pds-login-shell) .pds-sidebar,
  .pds-sce-app.pds-role-operation:not(.pds-login-shell) .pds-sidebar{
    position:fixed!important;
    left:0!important;
    top:0!important;
    bottom:0!important;
    width:260px!important;
    min-width:260px!important;
    max-width:260px!important;
    height:100vh!important;
    z-index:1000!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
  }
  .pds-sce-app.pds-role-manager:not(.pds-login-shell) .pds-main-shell,
  .pds-sce-app.pds-role-admin:not(.pds-login-shell) .pds-main-shell,
  .pds-sce-app.pds-role-operation:not(.pds-login-shell) .pds-main-shell{
    margin-left:0!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    box-sizing:border-box!important;
    padding-left:260px!important;
    overflow-x:hidden!important;
    position:relative!important;
  }
  .pds-sce-app.pds-role-manager.pds-sidebar-compact:not(.pds-login-shell) .pds-sidebar,
  .pds-sce-app.pds-role-admin.pds-sidebar-compact:not(.pds-login-shell) .pds-sidebar,
  .pds-sce-app.pds-role-operation.pds-sidebar-compact:not(.pds-login-shell) .pds-sidebar{
    width:82px!important;
    min-width:82px!important;
    max-width:82px!important;
  }
  .pds-sce-app.pds-role-manager.pds-sidebar-compact:not(.pds-login-shell) .pds-main-shell,
  .pds-sce-app.pds-role-admin.pds-sidebar-compact:not(.pds-login-shell) .pds-main-shell,
  .pds-sce-app.pds-role-operation.pds-sidebar-compact:not(.pds-login-shell) .pds-main-shell{
    padding-left:82px!important;
  }
  .pds-sce-app.pds-role-manager:not(.pds-login-shell) .pds-topbar,
  .pds-sce-app.pds-role-admin:not(.pds-login-shell) .pds-topbar,
  .pds-sce-app.pds-role-operation:not(.pds-login-shell) .pds-topbar{
    width:100%!important;
    box-sizing:border-box!important;
  }
  .pds-sce-app.pds-role-manager:not(.pds-login-shell) .pds-app-content,
  .pds-sce-app.pds-role-admin:not(.pds-login-shell) .pds-app-content,
  .pds-sce-app.pds-role-operation:not(.pds-login-shell) .pds-app-content{
    width:100%!important;
    max-width:none!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
}


/* v5.2.3 Professional Responsive UI
   Desktop/Tablet polish without touching workflow or database logic. */
@media (min-width:1180px){
  .pds-sce-app.pds-role-manager:not(.pds-login-shell),
  .pds-sce-app.pds-role-admin:not(.pds-login-shell),
  .pds-sce-app.pds-role-operation:not(.pds-login-shell){
    background:linear-gradient(135deg,#eaf2fb 0%,#f7fbff 42%,#edf8ff 100%)!important;
  }
  .pds-sce-app.pds-role-manager:not(.pds-login-shell) .pds-main-shell,
  .pds-sce-app.pds-role-admin:not(.pds-login-shell) .pds-main-shell,
  .pds-sce-app.pds-role-operation:not(.pds-login-shell) .pds-main-shell{
    padding-left:260px!important;
    width:100%!important;
    max-width:none!important;
  }
  .pds-sce-app.pds-role-manager.pds-sidebar-compact:not(.pds-login-shell) .pds-main-shell,
  .pds-sce-app.pds-role-admin.pds-sidebar-compact:not(.pds-login-shell) .pds-main-shell,
  .pds-sce-app.pds-role-operation.pds-sidebar-compact:not(.pds-login-shell) .pds-main-shell{
    padding-left:82px!important;
  }
  .pds-role-manager .pds-app-content,
  .pds-role-admin .pds-app-content,
  .pds-role-operation .pds-app-content{
    width:100%!important;
    max-width:1840px!important;
    margin:0 auto!important;
    padding:24px clamp(22px,2.1vw,42px) 96px!important;
  }
  .pds-role-manager.pds-wide-mode .pds-app-content,
  .pds-role-admin.pds-wide-mode .pds-app-content,
  .pds-role-operation.pds-wide-mode .pds-app-content{
    max-width:none!important;
  }
  .pds-role-manager .pds-dashboard-v2,
  .pds-role-admin .pds-dashboard-v2,
  .pds-role-operation .pds-dashboard-v2{
    display:grid!important;
    grid-template-columns:repeat(12,minmax(0,1fr))!important;
    gap:22px!important;
    align-items:start!important;
    width:100%!important;
    max-width:none!important;
  }
  .pds-role-manager .pds-dashboard-v2 > .pds-hero-card,
  .pds-role-admin .pds-dashboard-v2 > .pds-hero-card,
  .pds-role-operation .pds-dashboard-v2 > .pds-hero-card,
  .pds-role-manager .pds-dashboard-v2 > .pds-wide,
  .pds-role-admin .pds-dashboard-v2 > .pds-wide,
  .pds-role-operation .pds-dashboard-v2 > .pds-wide{
    grid-column:1 / -1!important;
  }
  .pds-role-manager .pds-dashboard-v2 > .pds-card,
  .pds-role-admin .pds-dashboard-v2 > .pds-card,
  .pds-role-operation .pds-dashboard-v2 > .pds-card,
  .pds-role-manager .pds-dashboard-v2 > .pds-screen-card,
  .pds-role-admin .pds-dashboard-v2 > .pds-screen-card,
  .pds-role-operation .pds-dashboard-v2 > .pds-screen-card{
    grid-column:1 / -1!important;
    min-width:0!important;
  }
  .pds-role-manager .pds-hero-card,
  .pds-role-admin .pds-hero-card,
  .pds-role-operation .pds-hero-card{
    min-height:150px!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
  }
  .pds-role-manager .pds-hero-card p,
  .pds-role-admin .pds-hero-card p,
  .pds-role-operation .pds-hero-card p{
    max-width:920px!important;
    font-size:15px!important;
    line-height:1.55!important;
  }
  .pds-role-manager .pds-screen-card,
  .pds-role-manager .pds-card,
  .pds-role-admin .pds-screen-card,
  .pds-role-admin .pds-card,
  .pds-role-operation .pds-screen-card,
  .pds-role-operation .pds-card{
    border-radius:22px!important;
    padding:22px!important;
    overflow:visible!important;
  }
  .pds-role-manager .pds-card:has(.pds-table-wrap),
  .pds-role-admin .pds-card:has(.pds-table-wrap),
  .pds-role-operation .pds-card:has(.pds-table-wrap),
  .pds-role-manager .pds-card:has(.pds-responsive-table),
  .pds-role-admin .pds-card:has(.pds-responsive-table),
  .pds-role-operation .pds-card:has(.pds-responsive-table){
    overflow:hidden!important;
  }
  .pds-role-manager .pds-kpis,
  .pds-role-manager .pds-kpi-grid,
  .pds-role-admin .pds-kpis,
  .pds-role-admin .pds-kpi-grid,
  .pds-role-operation .pds-kpis,
  .pds-role-operation .pds-kpi-grid{
    grid-template-columns:repeat(auto-fit,minmax(150px,1fr))!important;
    gap:14px!important;
  }
  .pds-role-manager .pds-action-grid,
  .pds-role-admin .pds-action-grid,
  .pds-role-operation .pds-action-grid{
    grid-template-columns:repeat(auto-fit,minmax(150px,1fr))!important;
    gap:14px!important;
  }
  .pds-role-manager .pds-action-card,
  .pds-role-admin .pds-action-card,
  .pds-role-operation .pds-action-card{
    min-height:92px!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
  }
  .pds-role-manager .pds-card table,
  .pds-role-admin .pds-card table,
  .pds-role-operation .pds-card table{
    table-layout:auto!important;
  }
  .pds-role-manager .pds-card th,
  .pds-role-manager .pds-card td,
  .pds-role-admin .pds-card th,
  .pds-role-admin .pds-card td,
  .pds-role-operation .pds-card th,
  .pds-role-operation .pds-card td{
    padding:12px 14px!important;
  }
  .pds-role-manager .pds-table-wrap,
  .pds-role-admin .pds-table-wrap,
  .pds-role-operation .pds-table-wrap,
  .pds-role-manager .pds-responsive-table,
  .pds-role-admin .pds-responsive-table,
  .pds-role-operation .pds-responsive-table{
    max-width:100%!important;
    overflow:auto!important;
  }
  .pds-role-manager .pds-table-wrap::-webkit-scrollbar,
  .pds-role-admin .pds-table-wrap::-webkit-scrollbar,
  .pds-role-operation .pds-table-wrap::-webkit-scrollbar,
  .pds-role-manager .pds-responsive-table::-webkit-scrollbar,
  .pds-role-admin .pds-responsive-table::-webkit-scrollbar,
  .pds-role-operation .pds-responsive-table::-webkit-scrollbar{height:8px;width:8px}
  .pds-role-manager .pds-table-wrap::-webkit-scrollbar-thumb,
  .pds-role-admin .pds-table-wrap::-webkit-scrollbar-thumb,
  .pds-role-operation .pds-table-wrap::-webkit-scrollbar-thumb,
  .pds-role-manager .pds-responsive-table::-webkit-scrollbar-thumb,
  .pds-role-admin .pds-responsive-table::-webkit-scrollbar-thumb,
  .pds-role-operation .pds-responsive-table::-webkit-scrollbar-thumb{background:#b8c6d8;border-radius:999px}
}

@media (min-width:1180px) and (max-width:1500px){
  .pds-role-manager .pds-app-content,
  .pds-role-admin .pds-app-content,
  .pds-role-operation .pds-app-content{padding-left:20px!important;padding-right:20px!important;}
  .pds-role-manager .pds-kpis,
  .pds-role-manager .pds-kpi-grid,
  .pds-role-admin .pds-kpis,
  .pds-role-admin .pds-kpi-grid,
  .pds-role-operation .pds-kpis,
  .pds-role-operation .pds-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
  .pds-role-manager .pds-action-grid,
  .pds-role-admin .pds-action-grid,
  .pds-role-operation .pds-action-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
  .pds-role-manager .pds-hero-card h2,
  .pds-role-admin .pds-hero-card h2,
  .pds-role-operation .pds-hero-card h2{font-size:28px!important;}
}

@media (min-width:781px) and (max-width:1179px){
  .pds-sce-app.pds-role-manager:not(.pds-login-shell),
  .pds-sce-app.pds-role-admin:not(.pds-login-shell),
  .pds-sce-app.pds-role-operation:not(.pds-login-shell){
    display:block!important;
    background:linear-gradient(135deg,#eaf2fb,#f8fbff)!important;
  }
  .pds-role-manager .pds-sidebar,
  .pds-role-admin .pds-sidebar,
  .pds-role-operation .pds-sidebar{display:none!important;}
  .pds-role-manager .pds-main-shell,
  .pds-role-admin .pds-main-shell,
  .pds-role-operation .pds-main-shell{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;}
  .pds-role-manager .pds-app-content,
  .pds-role-admin .pds-app-content,
  .pds-role-operation .pds-app-content{width:100%!important;max-width:none!important;padding:18px 20px 92px!important;}
  .pds-role-manager .pds-dashboard-v2,
  .pds-role-admin .pds-dashboard-v2,
  .pds-role-operation .pds-dashboard-v2{display:grid!important;grid-template-columns:repeat(8,minmax(0,1fr))!important;gap:16px!important;}
  .pds-role-manager .pds-dashboard-v2 > *,
  .pds-role-admin .pds-dashboard-v2 > *,
  .pds-role-operation .pds-dashboard-v2 > *{grid-column:1 / -1!important;}
  .pds-role-manager .pds-kpis,
  .pds-role-manager .pds-kpi-grid,
  .pds-role-admin .pds-kpis,
  .pds-role-admin .pds-kpi-grid,
  .pds-role-operation .pds-kpis,
  .pds-role-operation .pds-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
  .pds-role-manager .pds-action-grid,
  .pds-role-admin .pds-action-grid,
  .pds-role-operation .pds-action-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
  .pds-role-manager .pds-hero-card,
  .pds-role-admin .pds-hero-card,
  .pds-role-operation .pds-hero-card{padding:24px!important;border-radius:22px!important;}
}

@media (max-width:780px){
  .pds-role-manager .pds-kpis,
  .pds-role-manager .pds-kpi-grid,
  .pds-role-admin .pds-kpis,
  .pds-role-admin .pds-kpi-grid,
  .pds-role-operation .pds-kpis,
  .pds-role-operation .pds-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .pds-role-manager .pds-action-grid,
  .pds-role-admin .pds-action-grid,
  .pds-role-operation .pds-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .pds-role-manager .pds-hero-card,
  .pds-role-admin .pds-hero-card,
  .pds-role-operation .pds-hero-card{display:block!important;}
  .pds-role-manager .pds-table-wrap,
  .pds-role-admin .pds-table-wrap,
  .pds-role-operation .pds-table-wrap,
  .pds-role-manager .pds-responsive-table,
  .pds-role-admin .pds-responsive-table,
  .pds-role-operation .pds-responsive-table{overflow-x:auto!important;-webkit-overflow-scrolling:touch!important;}
  .pds-pwa-install-btn.show{right:14px!important;bottom:82px!important;top:auto!important;}
}

@media (max-width:480px){
  .pds-role-manager .pds-kpis,
  .pds-role-manager .pds-kpi-grid,
  .pds-role-admin .pds-kpis,
  .pds-role-admin .pds-kpi-grid,
  .pds-role-operation .pds-kpis,
  .pds-role-operation .pds-kpi-grid{grid-template-columns:1fr 1fr!important;gap:8px!important;}
  .pds-role-manager .pds-action-grid,
  .pds-role-admin .pds-action-grid,
  .pds-role-operation .pds-action-grid{grid-template-columns:1fr!important;}
  .pds-role-manager .pds-app-content,
  .pds-role-admin .pds-app-content,
  .pds-role-operation .pds-app-content{padding-left:10px!important;padding-right:10px!important;}
}


/* v5.3 Professional queue/customer import polish */
.pds-import-panel{margin:16px 0;padding:14px;border:1px solid #dbe7f5;border-radius:18px;background:#f8fbff}
.pds-import-panel summary{cursor:pointer;font-weight:900;color:#0f2b4a}
.pds-import-panel textarea{width:100%;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;min-height:120px;margin:10px 0}
.pds-manager-queue-board{display:block;margin-top:14px}
.pds-board-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:4px 0 12px}
.pds-board-head h4{margin:0;font-size:22px}.pds-board-head input{max-width:420px;width:100%;height:42px;border-radius:12px;border:1px solid #cbd9ea;padding:0 14px;background:#fff}
.pds-queue-group-tabs{display:flex;gap:8px;overflow:auto;padding:4px 0 12px;scrollbar-width:thin}.pds-queue-group-tabs .pds-mini{white-space:nowrap}.pds-queue-group-tabs .is-active{background:#0f2b4a;color:#fff}
.pds-queue-group{border:1px solid #d9e5f3;border-radius:18px;overflow:hidden;margin:14px 0;background:#fff;box-shadow:0 14px 34px rgba(15,43,74,.06)}
.pds-queue-group-title{display:flex;justify-content:space-between;align-items:center;padding:11px 14px;background:#0f2b4a;color:#fff;font-weight:900}.pds-queue-group-title b{background:#fff;color:#0f2b4a;border-radius:999px;min-width:30px;text-align:center;padding:3px 8px}
.pds-queue-l1 .pds-queue-group-title{background:#1d4ed8}.pds-queue-l2 .pds-queue-group-title{background:#ea580c}.pds-queue-l3 .pds-queue-group-title{background:#7c2d12}.pds-queue-fitting .pds-queue-group-title{background:#be123c}.pds-queue-delivery .pds-queue-group-title{background:#047857}.pds-queue-hold .pds-queue-group-title{background:#a16207}.pds-queue-cancel .pds-queue-group-title{background:#991b1b}
.pds-compact-ticket-table{width:100%;overflow:hidden}.pds-compact-ticket-head,.pds-compact-ticket-row{display:grid;grid-template-columns:110px minmax(180px,1.3fr) minmax(170px,1fr) minmax(210px,1.3fr) 72px;align-items:center;gap:0;border-bottom:1px solid #e6edf5}
.pds-compact-ticket-head{background:#f5f8fc;color:#53657d;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}.pds-compact-ticket-head span,.pds-compact-ticket-row span{padding:10px 12px;border-right:1px solid #edf2f7;min-width:0}.pds-compact-ticket-row{width:100%;border:0;border-bottom:1px solid #e6edf5;background:#fff;text-align:left;cursor:pointer;color:#0f172a}.pds-compact-ticket-row:hover{background:#f8fbff}.pds-compact-ticket-row b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pds-compact-ticket-row small{display:block;color:#64748b;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pds-open-chip{justify-self:center;background:#2563eb!important;color:#fff!important;border-radius:10px;padding:7px 10px!important;font-size:12px;font-weight:800}.pds-status-mini{display:inline-block;padding:4px 8px;border-radius:999px;background:#eef4ff;color:#1d4ed8;font-style:normal;font-size:12px;font-weight:800;margin-bottom:3px;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pds-status-cancel_budget,.pds-status-cancel_by_customer,.pds-status-cancel_not_repairable,.pds-status-cancel_parts_unavailable,.pds-status-cancel_in_transit,.pds-status-cancel_return{background:#fff1f2;color:#be123c}.pds-compact-empty{padding:18px;color:#64748b;text-align:center;background:#f8fbff}.pds-editable-queue-detail{margin-top:12px}.pds-editable-queue-detail summary{font-weight:800;cursor:pointer;color:#1d4ed8}
.pds-tech-status-group .pds-tech-group-head{border-left:6px solid transparent}.pds-tech-status-group[data-tech-filter~="l3"] .pds-tech-group-head,.pds-tech-status-group.pds-tech-group-l3 .pds-tech-group-head{border-left-color:#7c2d12}.pds-tech-status-group[data-tech-filter~="cancel"] .pds-tech-group-head,.pds-tech-status-group.pds-tech-group-cancel .pds-tech-group-head{border-left-color:#991b1b}
@media (max-width:900px){.pds-board-head{display:block}.pds-board-head input{margin-top:10px;max-width:none}.pds-compact-ticket-head{display:none}.pds-compact-ticket-row{grid-template-columns:72px 1fr 92px;grid-template-areas:"ticket customer action" "ticket device action" "ticket problem action";border-left:5px solid #2563eb;margin:8px;border-radius:14px;box-shadow:0 8px 22px rgba(15,43,74,.06);border-bottom:0}.pds-compact-ticket-row span{border:0;padding:5px 9px}.pds-compact-ticket-row span:nth-child(1){grid-area:ticket}.pds-compact-ticket-row span:nth-child(2){grid-area:customer}.pds-compact-ticket-row span:nth-child(3){grid-area:device}.pds-compact-ticket-row span:nth-child(4){grid-area:problem}.pds-compact-ticket-row span:nth-child(5){grid-area:action}.pds-open-chip{padding:6px 8px!important}.pds-queue-group{border-radius:16px}.pds-compact-ticket-row b{font-size:13px}.pds-compact-ticket-row small{font-size:11px}}


/* PDS SCE v6.0 Enterprise Stable - UI/UX hardening */
:root{
  --pds-bg:#eef4fb;--pds-card:#ffffff;--pds-ink:#0f172a;--pds-muted:#60708a;--pds-line:#dce6f2;
  --pds-primary:#155eef;--pds-primary-2:#0b2b5a;--pds-success:#16a34a;--pds-warning:#d97706;--pds-danger:#dc2626;
  --pds-radius:20px;--pds-shadow:0 18px 45px rgba(15,35,65,.08);
}
html.pds-sce-app-page,body.pds-sce-app-page{max-width:100%;overflow-x:hidden;touch-action:pan-x pan-y;-webkit-text-size-adjust:100%;}
.pds-shell,.pds-app-shell{min-height:100vh;background:var(--pds-bg);color:var(--pds-ink);}
.pds-manager-shell{display:grid;grid-template-columns:260px minmax(0,1fr);align-items:start;}
.pds-manager-sidebar{position:sticky;top:0;align-self:start;height:100vh;overflow-y:auto;background:linear-gradient(180deg,#082744,#061b34);z-index:50;box-shadow:inset -1px 0 rgba(255,255,255,.08)}
.pds-manager-content{min-width:0;width:100%;padding:24px clamp(18px,2.2vw,34px);margin:0;}
.pds-manager-content .pds-dashboard-v2{max-width:none;width:100%;margin:0;}
.pds-card,.pds-screen-card{border:1px solid var(--pds-line)!important;border-radius:var(--pds-radius)!important;box-shadow:var(--pds-shadow)!important;background:rgba(255,255,255,.96)!important;}
.pds-hero-card{border-radius:26px!important;box-shadow:0 20px 55px rgba(21,94,239,.18)!important;background:linear-gradient(135deg,#082744,#155eef)!important;}
.pds-kpi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;width:100%;}
.pds-kpi-card{border-radius:16px!important;border:1px solid var(--pds-line)!important;background:linear-gradient(180deg,#fff,#f8fbff)!important;box-shadow:0 10px 24px rgba(15,35,65,.05)!important;}
.pds-kpi-card strong{font-size:clamp(22px,2.4vw,34px);line-height:1;}
.pds-btn,.pds-mini{border-radius:12px!important;font-weight:800!important;box-shadow:0 10px 22px rgba(21,94,239,.13);}
.pds-btn.secondary,.pds-mini.secondary{background:#64748b!important;color:#fff!important;}
.pds-mini.is-active,.pds-filter-jobs.is-active,.pds-manager-queue-filter.is-active{background:var(--pds-primary)!important;color:#fff!important;}
.pds-table-wrap,.pds-compact-ticket-table{width:100%;overflow:auto;border-radius:18px;border:1px solid var(--pds-line);background:#fff;}
.pds-compact-ticket-head{position:sticky;top:0;z-index:2;background:#f2f6fb!important;}
.pds-compact-ticket-row{min-height:46px;transition:.14s ease background,.14s ease transform;}
.pds-compact-ticket-row:hover{background:#eef6ff!important;transform:translateY(-1px)}
.pds-queue-group{border-radius:20px!important;border:1px solid var(--pds-line)!important;overflow:hidden;margin:14px 0 22px;background:#fff;}
.pds-queue-group-title{position:sticky;top:0;z-index:3;background:#0b2b5a!important;color:#fff!important;display:flex;justify-content:space-between;align-items:center;padding:12px 16px;font-weight:900;}
.pds-queue-group-title b{background:#fff;color:#0b2b5a;border-radius:999px;padding:4px 10px;min-width:34px;text-align:center;}
.pds-queue-l2 .pds-queue-group-title{background:#7c2d12!important}.pds-queue-l3 .pds-queue-group-title{background:#581c87!important}.pds-queue-fitting .pds-queue-group-title{background:#065f46!important}.pds-queue-delivery .pds-queue-group-title{background:#1e40af!important}.pds-queue-hold .pds-queue-group-title{background:#92400e!important}.pds-queue-cancel .pds-queue-group-title{background:#991b1b!important}
.pds-status-mini{border:1px solid transparent}.pds-status-l1{background:#eaf2ff!important;color:#1d4ed8!important}.pds-status-l2,.pds-status-repair_in_progress{background:#fff7ed!important;color:#c2410c!important}.pds-status-l3{background:#f5f3ff!important;color:#7e22ce!important}.pds-status-fitting_in_progress,.pds-status-testing,.pds-status-qc_pending,.pds-status-qc_passed{background:#ecfdf5!important;color:#047857!important}.pds-status-ready,.pds-status-in_transit{background:#eff6ff!important;color:#1e40af!important}.pds-status-hold_parts,.pds-status-hold_customer{background:#fffbeb!important;color:#b45309!important}
.pds-manager-queue-board{display:block;width:100%;}
.pds-board-head{display:flex;align-items:center;justify-content:space-between;gap:16px;position:sticky;top:0;background:rgba(255,255,255,.94);backdrop-filter:blur(10px);padding:10px 0;z-index:4;}
.pds-board-head input{max-width:420px;width:100%;border-radius:14px;}
.pds-queue-group-tabs{display:flex;gap:8px;overflow-x:auto;padding:8px 0 12px;position:sticky;top:58px;background:rgba(255,255,255,.94);z-index:4;}
.pds-install-app-floating{position:fixed!important;right:22px!important;bottom:22px!important;z-index:60!important;opacity:.92;transform:scale(.92);}
.pds-install-app-floating:hover{opacity:1;transform:scale(1)}
.pds-password-warning{border-color:#f59e0b!important;background:#fffbeb!important;margin-bottom:16px;}
.pds-action-grid{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))!important;gap:14px!important}.pds-action-card{min-height:92px;border-radius:16px!important;background:linear-gradient(180deg,#fff,#f7fbff)!important}
@media (min-width:1200px){.pds-manager-content .pds-dashboard-v2{display:grid;grid-template-columns:minmax(0,1fr);gap:20px}.pds-manager-content .pds-screen-card{padding:24px}.pds-v50-manager-desktop .pds-kpi-grid{grid-template-columns:repeat(6,minmax(0,1fr));}.pds-compact-ticket-head,.pds-compact-ticket-row{grid-template-columns:112px minmax(210px,1.4fr) minmax(200px,1.2fr) minmax(220px,1.3fr) 76px!important;}}
@media (max-width:1199px){.pds-manager-shell{grid-template-columns:220px minmax(0,1fr)}.pds-manager-content{padding:18px}.pds-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media (max-width:920px){.pds-manager-shell{display:block}.pds-manager-sidebar{position:fixed;left:0;right:0;bottom:0;top:auto;height:66px;display:flex;overflow-x:auto;overflow-y:hidden;z-index:80}.pds-manager-content{padding:12px 12px 86px}.pds-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.pds-board-head,.pds-queue-group-tabs{position:static}.pds-install-app-floating{right:14px!important;bottom:78px!important}.pds-compact-ticket-row{grid-template-columns:70px 1fr 64px!important;grid-template-areas:"ticket customer action" "ticket device action" "ticket problem action"!important;margin:7px;border-radius:13px}.pds-compact-ticket-row span{padding:4px 8px!important}.pds-open-chip{font-size:11px!important;padding:6px 7px!important}.pds-compact-ticket-row small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pds-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media (max-width:520px){.pds-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.pds-card,.pds-screen-card{border-radius:16px!important;padding:14px!important}.pds-hero-card{border-radius:18px!important;padding:18px!important}.pds-action-grid{grid-template-columns:1fr 1fr!important}.pds-action-card{min-height:78px;padding:12px!important}.pds-compact-ticket-row{grid-template-columns:64px minmax(0,1fr) 56px!important}.pds-compact-ticket-row b{font-size:12px!important}.pds-compact-ticket-row small{font-size:10.5px!important}.pds-status-mini{font-size:10.5px!important;padding:3px 6px!important}}
@media print{.pds-manager-sidebar,.pds-install-app-floating,.pds-topbar,.pds-bottom-nav{display:none!important}.pds-manager-content{padding:0!important}}

/* v6.0 existing shell compatibility: fixed left menu + content offset without overlap */
@media (min-width:921px){
  .pds-sce-app.pds-app-v2.pds-role-manager:not(.pds-login-shell),
  .pds-sce-app.pds-app-v2.pds-role-admin:not(.pds-login-shell),
  .pds-sce-app.pds-app-v2.pds-role-operation:not(.pds-login-shell){
    display:grid!important;grid-template-columns:260px minmax(0,1fr)!important;max-width:none!important;width:100%!important;overflow-x:hidden!important;
  }
  .pds-sce-app.pds-app-v2.pds-role-manager:not(.pds-login-shell) .pds-sidebar,
  .pds-sce-app.pds-app-v2.pds-role-admin:not(.pds-login-shell) .pds-sidebar,
  .pds-sce-app.pds-app-v2.pds-role-operation:not(.pds-login-shell) .pds-sidebar{
    position:sticky!important;top:0!important;height:100vh!important;display:block!important;width:260px!important;min-width:260px!important;max-width:260px!important;
  }
  .pds-sce-app.pds-app-v2.pds-role-manager:not(.pds-login-shell) .pds-main-shell,
  .pds-sce-app.pds-app-v2.pds-role-admin:not(.pds-login-shell) .pds-main-shell,
  .pds-sce-app.pds-app-v2.pds-role-operation:not(.pds-login-shell) .pds-main-shell{
    min-width:0!important;width:100%!important;max-width:none!important;overflow-x:hidden!important;
  }
  .pds-sce-app.pds-app-v2.pds-role-manager:not(.pds-login-shell) .pds-app-content,
  .pds-sce-app.pds-app-v2.pds-role-admin:not(.pds-login-shell) .pds-app-content,
  .pds-sce-app.pds-app-v2.pds-role-operation:not(.pds-login-shell) .pds-app-content{
    width:100%!important;max-width:none!important;margin:0!important;padding:24px clamp(18px,2vw,34px)!important;box-sizing:border-box!important;
  }
  .pds-sce-app.pds-sidebar-compact:not(.pds-login-shell){grid-template-columns:84px minmax(0,1fr)!important;}
  .pds-sce-app.pds-sidebar-compact:not(.pds-login-shell) .pds-sidebar{width:84px!important;min-width:84px!important;max-width:84px!important;}
  .pds-sce-app.pds-sidebar-compact:not(.pds-login-shell) .pds-brand span:not(.pds-brand-mark),
  .pds-sce-app.pds-sidebar-compact:not(.pds-login-shell) .pds-app-nav a span{display:none!important;}
}
@media (min-width:1400px){
  .pds-sce-app.pds-app-v2 .pds-dashboard-v2{max-width:1680px!important;margin:0 auto!important;}
  .pds-v50-manager-desktop .pds-kpi-grid,.pds-kpi-grid{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))!important;}
}
@media (max-width:920px){
  .pds-sce-app.pds-app-v2{display:block!important;padding-bottom:74px!important;}
  .pds-sce-app.pds-app-v2 .pds-sidebar{display:none!important;}
  .pds-sce-app.pds-app-v2 .pds-app-content{padding:12px!important;max-width:100%!important;}
}


/* v6.1.0 LTS workflow/UX stabilization */
html.pds-sce-html, body.pds-sce-body, body.pds-app-page{
  min-height:100%!important; height:auto!important; overflow-y:auto!important; overflow-x:hidden!important;
  -webkit-overflow-scrolling:touch!important; touch-action:manipulation!important;
}
.pds-app-shell,.pds-app-v2,.pds-manager-shell,.pds-manager-content,.pds-app-content{
  min-height:100vh!important; height:auto!important; overflow:visible!important;
}
@media (min-width:921px){
  .pds-manager-shell{display:grid!important;grid-template-columns:240px minmax(0,1fr)!important;align-items:start!important;}
  .pds-manager-sidebar{position:sticky!important;top:16px!important;align-self:start!important;max-height:calc(100vh - 32px)!important;overflow-y:auto!important;}
  .pds-manager-content{min-width:0!important;padding-left:20px!important;}
}
.pds-queue-group,.pds-tech-status-group{overflow:clip!important;}
.pds-compact-ticket-row,.pds-tech-table-row{touch-action:manipulation!important;}
.pds-status-cancel_budget,.pds-status-cancel_by_customer,.pds-status-cancel_not_repairable,.pds-status-cancel_parts_unavailable,.pds-status-cancel_in_transit,.pds-status-cancel_return{
  background:#fff1f2!important;color:#be123c!important;border:1px solid #fecdd3!important;
}
.pds-status-hold_parts,.pds-status-hold_customer{background:#fffbeb!important;color:#92400e!important;border:1px solid #fde68a!important;}
@media (max-width:920px){
  .pds-manager-sidebar{position:fixed!important;left:0!important;right:0!important;bottom:0!important;top:auto!important;height:66px!important;overflow-x:auto!important;overflow-y:hidden!important;z-index:90!important;}
  .pds-manager-content,.pds-app-content{padding-bottom:92px!important;}
  .pds-compact-ticket-head{display:none!important;}
  .pds-compact-ticket-row{grid-template-columns:72px minmax(0,1fr) 60px!important;grid-template-areas:'ticket customer action' 'ticket device action' 'ticket problem action'!important;}
}


/* v6.1.1 Production safety UX */
.pds-toast-stack{position:fixed;right:18px;bottom:18px;z-index:100000;display:grid;gap:10px;max-width:min(360px,calc(100vw - 28px))}
.pds-toast{transform:translateY(10px);opacity:0;border-radius:14px;padding:12px 14px;background:#111827;color:#fff;box-shadow:0 16px 40px rgba(15,23,42,.25);font:700 13px/1.35 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;transition:.22s ease}
.pds-toast.show{transform:translateY(0);opacity:1}
.pds-toast.success{background:#047857}.pds-toast.error{background:#b91c1c}.pds-toast.info{background:#1f2937}
.pds-busy-overlay{position:fixed;inset:0;z-index:99998;display:none;align-items:center;justify-content:center;background:rgba(15,23,42,.18);backdrop-filter:blur(2px)}
.pds-busy-overlay.show{display:flex}
.pds-busy-box{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:18px;padding:16px 20px;box-shadow:0 20px 60px rgba(15,23,42,.28);color:#111827}
.pds-spinner{width:18px;height:18px;border:3px solid #dbeafe;border-top-color:#2563eb;border-radius:50%;animation:pdsSpin .8s linear infinite}
@keyframes pdsSpin{to{transform:rotate(360deg)}}
@media(max-width:640px){.pds-toast-stack{left:14px;right:14px;bottom:calc(12px + env(safe-area-inset-bottom));max-width:none}.pds-busy-box{max-width:calc(100vw - 32px)}}

/* v7.0 Enterprise UX: desktop-first SaaS workspace, safer responsive grids */
@media (min-width: 1100px){
  body.pds-sce-app-page{background:#eef4fb!important;}
  .pds-sce-app.pds-app-v2.pds-role-manager:not(.pds-login-shell),
  .pds-sce-app.pds-app-v2.pds-role-admin:not(.pds-login-shell),
  .pds-sce-app.pds-app-v2.pds-role-operation:not(.pds-login-shell){
    grid-template-columns:260px minmax(0,1fr)!important;
    width:100%!important;min-height:100vh!important;background:#eef4fb!important;
  }
  .pds-sce-app.pds-app-v2 .pds-main-shell{width:100%!important;max-width:none!important;min-width:0!important;}
  .pds-sce-app.pds-app-v2 .pds-app-content{width:100%!important;max-width:none!important;padding:24px!important;overflow-x:hidden!important;}
  .pds-sce-app.pds-app-v2 .pds-dashboard-v2{width:100%!important;max-width:none!important;margin:0!important;display:grid!important;grid-template-columns:repeat(12,minmax(0,1fr))!important;gap:18px!important;align-items:start!important;}
  .pds-dashboard-v2 > .pds-hero-card{grid-column:1/-1!important;}
  .pds-dashboard-v2 > .pds-screen-card,
  .pds-dashboard-v2 > .pds-card{grid-column:1/-1!important;}
  .pds-dashboard-v2 > .pds-live-grid,
  .pds-dashboard-v2 > .pds-kpi-grid,
  .pds-dashboard-v2 > .pds-v43-kpis{grid-column:1/-1!important;display:grid!important;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))!important;gap:14px!important;}
  .pds-dashboard-v2 > .pds-action-grid{grid-column:1/-1!important;display:grid!important;grid-template-columns:repeat(auto-fit,minmax(190px,1fr))!important;gap:14px!important;}
  .pds-v50-manager-desktop,
  .pds-manager-desktop,
  .pds-v43-courier,
  .pds-role-operation .pds-dashboard-v2{max-width:none!important;}
  .pds-screen-card.pds-wide{grid-column:1/-1!important;max-width:none!important;}
  .pds-card:has(.pds-customer-crm-table),
  .pds-card:has(.pds-manager-queue-board),
  .pds-card:has(.pds-table-wrap),
  .pds-card:has(.pds-responsive-table){grid-column:1/-1!important;}
  .pds-card:has(.pds-job-wizard),
  .pds-card:has(.pds-customer-management){grid-column:span 6!important;min-width:0!important;}
  .pds-card:has(.pds-live-grid),
  .pds-card:has(.pds-v43-kpis){grid-column:1/-1!important;}
  .pds-hero-card{min-height:148px!important;padding:28px 34px!important;}
  .pds-hero-card h2{font-size:clamp(28px,2.2vw,40px)!important;}
  .pds-card,.pds-screen-card{padding:22px!important;border-radius:22px!important;}
  .pds-card h2,.pds-card h3,.pds-screen-card h2,.pds-screen-card h3{letter-spacing:-.02em!important;}
  .pds-table-wrap table,.pds-table,.pds-responsive-table{width:100%!important;min-width:980px!important;border-collapse:separate!important;border-spacing:0!important;}
  .pds-table th,.pds-table td,.pds-responsive-table th,.pds-responsive-table td{padding:12px 14px!important;vertical-align:middle!important;}
  .pds-table tr:hover td,.pds-responsive-table tr:hover td{background:#f8fbff!important;}
  .pds-compact-ticket-table{max-height:560px!important;overflow:auto!important;}
  .pds-compact-ticket-head,.pds-compact-ticket-row{display:grid!important;grid-template-columns:120px minmax(240px,1.3fr) minmax(240px,1.2fr) minmax(170px,.8fr) minmax(90px,.5fr)!important;align-items:center!important;}
  .pds-compact-ticket-row{min-height:54px!important;border-bottom:1px solid #e5edf7!important;}
  .pds-compact-ticket-row > *{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;}
  .pds-queue-group{margin:16px 0 20px!important;}
  .pds-board-head{top:0!important;padding:12px 0!important;}
  .pds-board-head input{min-width:320px!important;}
  .pds-install-app-floating{top:96px!important;bottom:auto!important;right:26px!important;}
}
@media (min-width: 1500px){
  .pds-sce-app.pds-app-v2 .pds-app-content{padding:28px 34px!important;}
  .pds-dashboard-v2 > .pds-screen-card:nth-of-type(1){grid-column:1 / span 8!important;}
  .pds-dashboard-v2 > .pds-screen-card:nth-of-type(2){grid-column:9 / span 4!important;}
  .pds-card:has(.pds-job-wizard), .pds-card:has(.pds-customer-management){grid-column:span 6!important;}
}
@media (min-width: 921px) and (max-width: 1199px){
  .pds-sce-app.pds-app-v2{grid-template-columns:220px minmax(0,1fr)!important;}
  .pds-sce-app.pds-app-v2 .pds-sidebar{width:220px!important;min-width:220px!important;max-width:220px!important;}
  .pds-sce-app.pds-app-v2 .pds-app-content{padding:18px!important;}
  .pds-dashboard-v2{display:block!important;max-width:100%!important;margin:0!important;}
  .pds-dashboard-v2 > *{margin-bottom:16px!important;}
  .pds-live-grid,.pds-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
  .pds-action-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
}
@media (max-width: 920px){
  .pds-sce-app.pds-app-v2 .pds-app-content{padding:12px 12px 92px!important;}
  .pds-dashboard-v2{display:block!important;}
  .pds-dashboard-v2 > *{margin-bottom:14px!important;}
  .pds-live-grid,.pds-kpi-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;}
  .pds-action-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;}
  .pds-table-wrap{max-width:100%!important;overflow:auto!important;-webkit-overflow-scrolling:touch!important;}
  .pds-compact-ticket-table{overflow:auto!important;max-height:62vh!important;}
  .pds-install-app-floating{right:12px!important;bottom:78px!important;top:auto!important;}
}
/* v7 staff login safety: staff login shows only Login/Forgot; customer login keeps register/track */
.pds-staff-login .pds-auth-panel[data-panel="register"],
.pds-staff-login .pds-auth-panel[data-panel="track"]{display:none!important;}

/* v7.0.1 Enterprise Desktop Layout Hard Fix
   Root fix: desktop manager/operation pages must not inherit phone-width containers.
   Desktop >=1024px uses full viewport workspace: sidebar + fluid main.
   Compact view only changes density/sidebar width, never forces mobile width. */
@media (min-width:1024px){
  html.pds-sce-html,
  body.pds-sce-body,
  body.pds-sce-app-mode,
  body.pds-app-page{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow-x:hidden!important;
    background:#eef4fb!important;
  }

  body.pds-sce-app-mode .wp-site-blocks,
  body.pds-sce-app-mode #page,
  body.pds-sce-app-mode #content,
  body.pds-sce-app-mode #primary,
  body.pds-sce-app-mode .site,
  body.pds-sce-app-mode .site-content,
  body.pds-sce-app-mode .content-area,
  body.pds-sce-app-mode .entry-content,
  body.pds-sce-app-mode .page-content,
  body.pds-sce-app-mode article,
  body.pds-sce-app-mode main,
  body.pds-sce-app-mode .ast-container,
  body.pds-sce-app-mode .container,
  body.pds-sce-app-mode .wp-block-group,
  body.pds-sce-app-mode .wp-block-group__inner-container,
  body.pds-sce-app-mode .wp-block-post-content,
  body.pds-sce-app-mode .elementor,
  body.pds-sce-app-mode .elementor-section,
  body.pds-sce-app-mode .elementor-container,
  body.pds-sce-app-mode .elementor-widget-container{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding-left:0!important;
    padding-right:0!important;
    overflow:visible!important;
  }

  .pds-sce-app.pds-app-v2.pds-role-manager:not(.pds-login-shell),
  .pds-sce-app.pds-app-v2.pds-role-admin:not(.pds-login-shell),
  .pds-sce-app.pds-app-v2.pds-role-operation:not(.pds-login-shell){
    position:relative!important;
    left:50%!important;
    right:50%!important;
    margin-left:-50vw!important;
    margin-right:-50vw!important;
    width:100vw!important;
    max-width:100vw!important;
    min-height:100vh!important;
    display:grid!important;
    grid-template-columns:260px minmax(0,1fr)!important;
    align-items:start!important;
    background:#eef4fb!important;
    overflow:visible!important;
  }

  .pds-sce-app.pds-app-v2.pds-role-manager:not(.pds-login-shell) .pds-sidebar,
  .pds-sce-app.pds-app-v2.pds-role-admin:not(.pds-login-shell) .pds-sidebar,
  .pds-sce-app.pds-app-v2.pds-role-operation:not(.pds-login-shell) .pds-sidebar{
    position:sticky!important;
    top:0!important;
    left:auto!important;
    width:260px!important;
    min-width:260px!important;
    max-width:260px!important;
    height:100vh!important;
    min-height:100vh!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    z-index:80!important;
    grid-column:1!important;
    box-sizing:border-box!important;
  }

  .pds-sce-app.pds-app-v2.pds-role-manager:not(.pds-login-shell) .pds-main-shell,
  .pds-sce-app.pds-app-v2.pds-role-admin:not(.pds-login-shell) .pds-main-shell,
  .pds-sce-app.pds-app-v2.pds-role-operation:not(.pds-login-shell) .pds-main-shell{
    grid-column:2!important;
    margin-left:0!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    overflow-x:hidden!important;
    box-sizing:border-box!important;
  }

  .pds-sce-app.pds-app-v2.pds-role-manager:not(.pds-login-shell) .pds-topbar,
  .pds-sce-app.pds-app-v2.pds-role-admin:not(.pds-login-shell) .pds-topbar,
  .pds-sce-app.pds-app-v2.pds-role-operation:not(.pds-login-shell) .pds-topbar{
    position:sticky!important;
    top:0!important;
    z-index:60!important;
    width:100%!important;
    max-width:none!important;
    box-sizing:border-box!important;
    margin:0!important;
    padding:16px 28px!important;
  }

  .pds-sce-app.pds-app-v2.pds-role-manager:not(.pds-login-shell) .pds-app-content,
  .pds-sce-app.pds-app-v2.pds-role-admin:not(.pds-login-shell) .pds-app-content,
  .pds-sce-app.pds-app-v2.pds-role-operation:not(.pds-login-shell) .pds-app-content{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:24px clamp(22px,2.2vw,40px) 72px!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }

  .pds-role-manager .pds-dashboard-v2,
  .pds-role-admin .pds-dashboard-v2,
  .pds-role-operation .pds-dashboard-v2{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    display:grid!important;
    grid-template-columns:repeat(12,minmax(0,1fr))!important;
    gap:20px!important;
    align-items:start!important;
  }

  .pds-role-manager .pds-dashboard-v2 > *,
  .pds-role-admin .pds-dashboard-v2 > *,
  .pds-role-operation .pds-dashboard-v2 > *{
    min-width:0!important;
    max-width:none!important;
    box-sizing:border-box!important;
  }

  .pds-role-manager .pds-dashboard-v2 > .pds-hero-card,
  .pds-role-admin .pds-dashboard-v2 > .pds-hero-card,
  .pds-role-operation .pds-dashboard-v2 > .pds-hero-card,
  .pds-role-manager .pds-dashboard-v2 > .pds-wide,
  .pds-role-admin .pds-dashboard-v2 > .pds-wide,
  .pds-role-operation .pds-dashboard-v2 > .pds-wide,
  .pds-role-manager .pds-dashboard-v2 > .pds-action-grid,
  .pds-role-admin .pds-dashboard-v2 > .pds-action-grid,
  .pds-role-operation .pds-dashboard-v2 > .pds-action-grid,
  .pds-role-manager .pds-dashboard-v2 > .pds-kpis,
  .pds-role-admin .pds-dashboard-v2 > .pds-kpis,
  .pds-role-operation .pds-dashboard-v2 > .pds-kpis,
  .pds-role-manager .pds-dashboard-v2 > .pds-kpi-grid,
  .pds-role-admin .pds-dashboard-v2 > .pds-kpi-grid,
  .pds-role-operation .pds-dashboard-v2 > .pds-kpi-grid{
    grid-column:1 / -1!important;
  }

  .pds-role-manager .pds-dashboard-v2 > .pds-card,
  .pds-role-admin .pds-dashboard-v2 > .pds-card,
  .pds-role-operation .pds-dashboard-v2 > .pds-card,
  .pds-role-manager .pds-dashboard-v2 > .pds-screen-card,
  .pds-role-admin .pds-dashboard-v2 > .pds-screen-card,
  .pds-role-operation .pds-dashboard-v2 > .pds-screen-card{
    grid-column:1 / -1!important;
    width:100%!important;
    max-width:none!important;
  }

  .pds-role-manager .pds-dashboard-v2 > #pds-customers,
  .pds-role-admin .pds-dashboard-v2 > #pds-customers,
  .pds-role-operation .pds-dashboard-v2 > #pds-customers,
  .pds-role-manager .pds-dashboard-v2 > #pds-new,
  .pds-role-admin .pds-dashboard-v2 > #pds-new,
  .pds-role-operation .pds-dashboard-v2 > #pds-new,
  .pds-role-manager .pds-dashboard-v2 > #pds-track,
  .pds-role-admin .pds-dashboard-v2 > #pds-track,
  .pds-role-operation .pds-dashboard-v2 > #pds-track{
    grid-column:span 6!important;
  }

  .pds-role-manager .pds-hero-card,
  .pds-role-admin .pds-hero-card,
  .pds-role-operation .pds-hero-card{
    min-height:138px!important;
    width:100%!important;
  }

  .pds-role-manager .pds-kpis,
  .pds-role-admin .pds-kpis,
  .pds-role-operation .pds-kpis,
  .pds-role-manager .pds-kpi-grid,
  .pds-role-admin .pds-kpi-grid,
  .pds-role-operation .pds-kpi-grid,
  .pds-role-manager .pds-live-grid,
  .pds-role-admin .pds-live-grid,
  .pds-role-operation .pds-live-grid,
  .pds-role-manager .pds-v43-kpis,
  .pds-role-admin .pds-v43-kpis,
  .pds-role-operation .pds-v43-kpis{
    display:grid!important;
    grid-template-columns:repeat(auto-fit,minmax(170px,1fr))!important;
    gap:14px!important;
    width:100%!important;
  }

  .pds-role-manager .pds-action-grid,
  .pds-role-admin .pds-action-grid,
  .pds-role-operation .pds-action-grid{
    display:grid!important;
    grid-template-columns:repeat(auto-fit,minmax(190px,1fr))!important;
    gap:14px!important;
    width:100%!important;
  }

  .pds-role-manager .pds-table-wrap,
  .pds-role-admin .pds-table-wrap,
  .pds-role-operation .pds-table-wrap,
  .pds-role-manager .pds-responsive-table,
  .pds-role-admin .pds-responsive-table,
  .pds-role-operation .pds-responsive-table,
  .pds-role-manager .pds-crm-table-wrap,
  .pds-role-admin .pds-crm-table-wrap,
  .pds-role-operation .pds-crm-table-wrap{
    width:100%!important;
    max-width:100%!important;
    overflow:auto!important;
    -webkit-overflow-scrolling:touch!important;
  }

  .pds-role-manager table,
  .pds-role-admin table,
  .pds-role-operation table{
    width:100%!important;
    min-width:980px!important;
    table-layout:auto!important;
  }

  .pds-role-manager .pds-card,
  .pds-role-manager .pds-screen-card,
  .pds-role-admin .pds-card,
  .pds-role-admin .pds-screen-card,
  .pds-role-operation .pds-card,
  .pds-role-operation .pds-screen-card{
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    overflow:visible!important;
  }

  .pds-sce-app.pds-app-v2.pds-sidebar-compact.pds-role-manager:not(.pds-login-shell),
  .pds-sce-app.pds-app-v2.pds-sidebar-compact.pds-role-admin:not(.pds-login-shell),
  .pds-sce-app.pds-app-v2.pds-sidebar-compact.pds-role-operation:not(.pds-login-shell){
    grid-template-columns:84px minmax(0,1fr)!important;
  }
  .pds-sce-app.pds-app-v2.pds-sidebar-compact.pds-role-manager:not(.pds-login-shell) .pds-sidebar,
  .pds-sce-app.pds-app-v2.pds-sidebar-compact.pds-role-admin:not(.pds-login-shell) .pds-sidebar,
  .pds-sce-app.pds-app-v2.pds-sidebar-compact.pds-role-operation:not(.pds-login-shell) .pds-sidebar{
    width:84px!important;min-width:84px!important;max-width:84px!important;
  }
  .pds-sce-app.pds-app-v2.pds-sidebar-compact.pds-role-manager:not(.pds-login-shell) .pds-main-shell,
  .pds-sce-app.pds-app-v2.pds-sidebar-compact.pds-role-admin:not(.pds-login-shell) .pds-main-shell,
  .pds-sce-app.pds-app-v2.pds-sidebar-compact.pds-role-operation:not(.pds-login-shell) .pds-main-shell{
    margin-left:0!important;width:100%!important;
  }

  .pds-role-manager .pds-bottom-nav,
  .pds-role-admin .pds-bottom-nav,
  .pds-role-operation .pds-bottom-nav{display:none!important;}
}

@media (min-width:1024px) and (max-width:1279px){
  .pds-sce-app.pds-app-v2.pds-role-manager:not(.pds-login-shell),
  .pds-sce-app.pds-app-v2.pds-role-admin:not(.pds-login-shell),
  .pds-sce-app.pds-app-v2.pds-role-operation:not(.pds-login-shell){grid-template-columns:220px minmax(0,1fr)!important;}
  .pds-sce-app.pds-app-v2.pds-role-manager:not(.pds-login-shell) .pds-sidebar,
  .pds-sce-app.pds-app-v2.pds-role-admin:not(.pds-login-shell) .pds-sidebar,
  .pds-sce-app.pds-app-v2.pds-role-operation:not(.pds-login-shell) .pds-sidebar{width:220px!important;min-width:220px!important;max-width:220px!important;}
  .pds-role-manager .pds-dashboard-v2 > #pds-customers,
  .pds-role-admin .pds-dashboard-v2 > #pds-customers,
  .pds-role-operation .pds-dashboard-v2 > #pds-customers,
  .pds-role-manager .pds-dashboard-v2 > #pds-new,
  .pds-role-admin .pds-dashboard-v2 > #pds-new,
  .pds-role-operation .pds-dashboard-v2 > #pds-new,
  .pds-role-manager .pds-dashboard-v2 > #pds-track,
  .pds-role-admin .pds-dashboard-v2 > #pds-track,
  .pds-role-operation .pds-dashboard-v2 > #pds-track{grid-column:1 / -1!important;}
}


/* v7.0.2 Enterprise desktop sidebar + workspace spacing fix
   Root fix: desktop must use a fixed sidebar and main workspace must begin immediately after it.
   Compact mode changes density/sidebar width only; it never forces a phone-width layout. */
@media (min-width:1180px){
  body.pds-sce-app-mode{overflow-x:hidden!important;background:#eaf1f8!important;}
  body.pds-sce-app-mode .pds-sce-app.pds-app-v2.pds-tabbed-app.pds-role-manager,
  body.pds-sce-app-mode .pds-sce-app.pds-app-v2.pds-tabbed-app.pds-role-admin,
  body.pds-sce-app-mode .pds-sce-app.pds-app-v2.pds-role-manager,
  body.pds-sce-app-mode .pds-sce-app.pds-app-v2.pds-role-admin{
    display:block!important;
    width:100vw!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    min-height:100vh!important;
    background:#eaf1f8!important;
  }
  body.pds-sce-app-mode .pds-role-manager .pds-sidebar,
  body.pds-sce-app-mode .pds-role-admin .pds-sidebar{
    position:fixed!important;
    left:0!important;
    top:0!important;
    bottom:0!important;
    width:248px!important;
    min-width:248px!important;
    max-width:248px!important;
    height:100vh!important;
    overflow-y:auto!important;
    z-index:900!important;
    margin:0!important;
    box-sizing:border-box!important;
    box-shadow:12px 0 28px rgba(15,23,42,.06)!important;
  }
  body.pds-sce-app-mode .pds-role-manager .pds-main-shell,
  body.pds-sce-app-mode .pds-role-admin .pds-main-shell{
    margin-left:248px!important;
    width:calc(100vw - 248px)!important;
    max-width:none!important;
    min-width:0!important;
    overflow-x:hidden!important;
    box-sizing:border-box!important;
  }
  body.pds-sce-app-mode .pds-role-manager .pds-topbar,
  body.pds-sce-app-mode .pds-role-admin .pds-topbar{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:14px 22px!important;
    box-sizing:border-box!important;
  }
  body.pds-sce-app-mode .pds-role-manager .pds-app-content,
  body.pds-sce-app-mode .pds-role-admin .pds-app-content{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:22px 24px 70px!important;
    box-sizing:border-box!important;
  }
  body.pds-sce-app-mode .pds-role-manager .pds-dashboard-v2,
  body.pds-sce-app-mode .pds-role-admin .pds-dashboard-v2{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    display:grid!important;
    grid-template-columns:repeat(12,minmax(0,1fr))!important;
    gap:18px!important;
    align-items:start!important;
  }
  body.pds-sce-app-mode .pds-role-manager .pds-dashboard-v2 > *,
  body.pds-sce-app-mode .pds-role-admin .pds-dashboard-v2 > *{
    min-width:0!important;
    max-width:none!important;
    box-sizing:border-box!important;
  }
  body.pds-sce-app-mode .pds-role-manager .pds-hero-card,
  body.pds-sce-app-mode .pds-role-admin .pds-hero-card,
  body.pds-sce-app-mode .pds-role-manager .pds-screen-card,
  body.pds-sce-app-mode .pds-role-admin .pds-screen-card,
  body.pds-sce-app-mode .pds-role-manager .pds-card,
  body.pds-sce-app-mode .pds-role-admin .pds-card{
    width:100%!important;
    max-width:none!important;
  }
  body.pds-sce-app-mode .pds-role-manager .pds-action-grid,
  body.pds-sce-app-mode .pds-role-admin .pds-action-grid{
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr))!important;
  }
  body.pds-sce-app-mode .pds-role-manager .pds-kpis,
  body.pds-sce-app-mode .pds-role-admin .pds-kpis,
  body.pds-sce-app-mode .pds-role-manager .pds-kpi-grid,
  body.pds-sce-app-mode .pds-role-admin .pds-kpi-grid{
    grid-template-columns:repeat(auto-fit,minmax(170px,1fr))!important;
  }
  body.pds-sce-app-mode .pds-role-manager .pds-table-wrap,
  body.pds-sce-app-mode .pds-role-admin .pds-table-wrap,
  body.pds-sce-app-mode .pds-role-manager .pds-responsive-table,
  body.pds-sce-app-mode .pds-role-admin .pds-responsive-table{
    max-width:100%!important;
    overflow:auto!important;
  }
  body.pds-sce-app-mode .pds-role-manager table,
  body.pds-sce-app-mode .pds-role-admin table{
    width:100%!important;
  }
  body.pds-sce-app-mode .pds-role-manager.pds-sidebar-compact .pds-sidebar,
  body.pds-sce-app-mode .pds-role-admin.pds-sidebar-compact .pds-sidebar{
    width:82px!important;min-width:82px!important;max-width:82px!important;
  }
  body.pds-sce-app-mode .pds-role-manager.pds-sidebar-compact .pds-main-shell,
  body.pds-sce-app-mode .pds-role-admin.pds-sidebar-compact .pds-main-shell{
    margin-left:82px!important;width:calc(100vw - 82px)!important;
  }
}
@media (min-width:1180px) and (max-width:1439px){
  body.pds-sce-app-mode .pds-role-manager .pds-sidebar,
  body.pds-sce-app-mode .pds-role-admin .pds-sidebar{width:230px!important;min-width:230px!important;max-width:230px!important;}
  body.pds-sce-app-mode .pds-role-manager .pds-main-shell,
  body.pds-sce-app-mode .pds-role-admin .pds-main-shell{margin-left:230px!important;width:calc(100vw - 230px)!important;}
  body.pds-sce-app-mode .pds-role-manager .pds-app-content,
  body.pds-sce-app-mode .pds-role-admin .pds-app-content{padding-left:18px!important;padding-right:18px!important;}
}


/* v7.0.3 Enterprise Route/Layout Stabilizer
   Fixes: hash-route blank screens, desktop sidebar fixed, reduced menu/content gap. */
@media (min-width:1024px){
  body.pds-sce-app-mode{overflow-x:hidden!important;background:#eaf1f8!important;}
  body.pds-sce-app-mode .pds-sce-app.pds-app-v2.pds-role-manager:not(.pds-login-shell),
  body.pds-sce-app-mode .pds-sce-app.pds-app-v2.pds-role-admin:not(.pds-login-shell),
  body.pds-sce-app-mode .pds-sce-app.pds-app-v2.pds-role-operation:not(.pds-login-shell){
    position:static!important;left:auto!important;right:auto!important;margin:0!important;padding:0!important;
    width:100vw!important;max-width:100vw!important;min-height:100vh!important;display:block!important;background:#eaf1f8!important;
    overflow:visible!important;
  }
  body.pds-sce-app-mode .pds-role-manager:not(.pds-login-shell) .pds-sidebar,
  body.pds-sce-app-mode .pds-role-admin:not(.pds-login-shell) .pds-sidebar,
  body.pds-sce-app-mode .pds-role-operation:not(.pds-login-shell) .pds-sidebar{
    position:fixed!important;top:0!important;left:0!important;bottom:0!important;height:100dvh!important;width:236px!important;min-width:236px!important;max-width:236px!important;
    z-index:1000!important;overflow-y:auto!important;overflow-x:hidden!important;margin:0!important;box-sizing:border-box!important;
  }
  body.pds-sce-app-mode .pds-role-manager:not(.pds-login-shell) .pds-main-shell,
  body.pds-sce-app-mode .pds-role-admin:not(.pds-login-shell) .pds-main-shell,
  body.pds-sce-app-mode .pds-role-operation:not(.pds-login-shell) .pds-main-shell{
    margin-left:236px!important;width:calc(100vw - 236px)!important;max-width:none!important;min-width:0!important;box-sizing:border-box!important;overflow-x:hidden!important;
  }
  body.pds-sce-app-mode .pds-role-manager:not(.pds-login-shell) .pds-app-content,
  body.pds-sce-app-mode .pds-role-admin:not(.pds-login-shell) .pds-app-content,
  body.pds-sce-app-mode .pds-role-operation:not(.pds-login-shell) .pds-app-content{
    width:100%!important;max-width:none!important;margin:0!important;padding:18px 18px 70px!important;box-sizing:border-box!important;
  }
  body.pds-sce-app-mode .pds-role-manager:not(.pds-login-shell) .pds-topbar,
  body.pds-sce-app-mode .pds-role-admin:not(.pds-login-shell) .pds-topbar,
  body.pds-sce-app-mode .pds-role-operation:not(.pds-login-shell) .pds-topbar{
    width:100%!important;margin:0!important;padding:14px 18px!important;box-sizing:border-box!important;position:sticky!important;top:0!important;z-index:70!important;
  }
  body.pds-sce-app-mode .pds-role-manager.pds-sidebar-compact:not(.pds-login-shell) .pds-sidebar,
  body.pds-sce-app-mode .pds-role-admin.pds-sidebar-compact:not(.pds-login-shell) .pds-sidebar,
  body.pds-sce-app-mode .pds-role-operation.pds-sidebar-compact:not(.pds-login-shell) .pds-sidebar{width:84px!important;min-width:84px!important;max-width:84px!important;}
  body.pds-sce-app-mode .pds-role-manager.pds-sidebar-compact:not(.pds-login-shell) .pds-main-shell,
  body.pds-sce-app-mode .pds-role-admin.pds-sidebar-compact:not(.pds-login-shell) .pds-main-shell,
  body.pds-sce-app-mode .pds-role-operation.pds-sidebar-compact:not(.pds-login-shell) .pds-main-shell{margin-left:84px!important;width:calc(100vw - 84px)!important;}
  .pds-dashboard-v2 > .pds-route-hidden{display:none!important;}
  .pds-dashboard-v2 > .pds-route-visible{display:block!important;grid-column:1/-1!important;width:100%!important;max-width:none!important;}
  .pds-dashboard-v2 > .pds-action-grid.pds-route-visible{display:grid!important;}
}


/* v7.1 LTS Enterprise Desktop Shell Final Fix
   Fixed sidebar + stable SPA routes. Compact mode changes density only; never phone width on desktop. */
@media (min-width:1024px){
  body:has(.pds-role-manager),body:has(.pds-role-admin),body:has(.pds-role-operation){
    overflow-x:hidden!important;
    background:#eaf2fb!important;
  }
  .pds-sce-app.pds-app-v2.pds-role-manager,
  .pds-sce-app.pds-app-v2.pds-role-admin,
  .pds-sce-app.pds-app-v2.pds-role-operation{
    display:block!important;
    min-height:100vh!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    background:#eaf2fb!important;
    overflow-x:hidden!important;
  }
  .pds-role-manager .pds-sidebar,
  .pds-role-admin .pds-sidebar,
  .pds-role-operation .pds-sidebar{
    position:fixed!important;
    left:0!important;
    top:0!important;
    bottom:0!important;
    width:260px!important;
    height:100vh!important;
    overflow-y:auto!important;
    z-index:1000!important;
    margin:0!important;
    border-radius:0!important;
  }
  .pds-role-manager .pds-main-shell,
  .pds-role-admin .pds-main-shell,
  .pds-role-operation .pds-main-shell{
    margin-left:260px!important;
    width:calc(100% - 260px)!important;
    max-width:none!important;
    min-width:0!important;
    min-height:100vh!important;
    overflow:visible!important;
    display:block!important;
  }
  .pds-role-manager .pds-topbar,
  .pds-role-admin .pds-topbar,
  .pds-role-operation .pds-topbar{
    position:sticky!important;
    top:0!important;
    width:100%!important;
    margin:0!important;
    left:auto!important;
    right:auto!important;
    box-sizing:border-box!important;
  }
  .pds-role-manager .pds-app-content,
  .pds-role-admin .pds-app-content,
  .pds-role-operation .pds-app-content{
    max-width:none!important;
    width:100%!important;
    margin:0!important;
    padding:20px 28px 72px!important;
    box-sizing:border-box!important;
  }
  .pds-role-manager .pds-dashboard-v2,
  .pds-role-admin .pds-dashboard-v2,
  .pds-role-operation .pds-dashboard-v2{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    display:grid!important;
    gap:18px!important;
  }
  .pds-role-manager .pds-route-hidden,
  .pds-role-admin .pds-route-hidden,
  .pds-role-operation .pds-route-hidden{
    display:none!important;
  }
  .pds-role-manager .pds-route-visible,
  .pds-role-admin .pds-route-visible,
  .pds-role-operation .pds-route-visible{
    display:block!important;
  }
  .pds-role-manager main.pds-dashboard-v2 > .pds-action-grid.pds-route-visible,
  .pds-role-admin main.pds-dashboard-v2 > .pds-action-grid.pds-route-visible,
  .pds-role-operation main.pds-dashboard-v2 > .pds-action-grid.pds-route-visible{
    display:grid!important;
  }
  .pds-role-manager .pds-hero-card,
  .pds-role-admin .pds-hero-card,
  .pds-role-operation .pds-hero-card,
  .pds-role-manager .pds-card,
  .pds-role-admin .pds-card,
  .pds-role-operation .pds-card{
    width:100%!important;
    max-width:none!important;
    box-sizing:border-box!important;
  }
  .pds-role-manager .pds-screen-card,
  .pds-role-admin .pds-screen-card,
  .pds-role-operation .pds-screen-card{
    width:100%!important;
    max-width:none!important;
  }
  .pds-role-manager .pds-kpis,
  .pds-role-admin .pds-kpis,
  .pds-role-operation .pds-kpis{
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr))!important;
  }
  .pds-role-manager .pds-action-grid,
  .pds-role-admin .pds-action-grid,
  .pds-role-operation .pds-action-grid{
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr))!important;
  }
  .pds-role-manager .pds-table-wrap,
  .pds-role-admin .pds-table-wrap,
  .pds-role-operation .pds-table-wrap,
  .pds-role-manager .pds-responsive-table,
  .pds-role-admin .pds-responsive-table,
  .pds-role-operation .pds-responsive-table{
    width:100%!important;
    max-width:none!important;
  }
  .pds-role-manager .pds-v7-status-board,
  .pds-role-admin .pds-v7-status-board,
  .pds-role-operation .pds-v7-status-board{
    width:100%!important;
    max-width:none!important;
  }
  .pds-role-manager.pds-compact-sidebar .pds-sidebar,
  .pds-role-admin.pds-compact-sidebar .pds-sidebar,
  .pds-role-operation.pds-compact-sidebar .pds-sidebar,
  .pds-role-manager .pds-sidebar.pds-compact,
  .pds-role-admin .pds-sidebar.pds-compact,
  .pds-role-operation .pds-sidebar.pds-compact{
    width:84px!important;
  }
  .pds-role-manager.pds-compact-sidebar .pds-main-shell,
  .pds-role-admin.pds-compact-sidebar .pds-main-shell,
  .pds-role-operation.pds-compact-sidebar .pds-main-shell,
  .pds-role-manager:has(.pds-sidebar.pds-compact) .pds-main-shell,
  .pds-role-admin:has(.pds-sidebar.pds-compact) .pds-main-shell,
  .pds-role-operation:has(.pds-sidebar.pds-compact) .pds-main-shell{
    margin-left:84px!important;
    width:calc(100% - 84px)!important;
  }
  .pds-role-manager.pds-compact-view .pds-app-content,
  .pds-role-admin.pds-compact-view .pds-app-content,
  .pds-role-operation.pds-compact-view .pds-app-content{
    max-width:none!important;
    padding:16px 22px 66px!important;
  }
}

/* v7.1.1 Desktop fixed viewport shell: sidebar and selected route stay in the same top row.
   The browser page itself no longer carries the manager scroll; only the main panel scrolls. */
@media (min-width:1024px){
  html:has(.pds-sce-app.pds-app-v2.pds-role-manager),
  html:has(.pds-sce-app.pds-app-v2.pds-role-admin),
  html:has(.pds-sce-app.pds-app-v2.pds-role-operation),
  body.pds-sce-app-mode:has(.pds-sce-app.pds-app-v2.pds-role-manager),
  body.pds-sce-app-mode:has(.pds-sce-app.pds-app-v2.pds-role-admin),
  body.pds-sce-app-mode:has(.pds-sce-app.pds-app-v2.pds-role-operation){
    margin:0!important;
    padding:0!important;
    height:100%!important;
    overflow:hidden!important;
    background:#eaf2fb!important;
  }
  body.pds-sce-app-mode:has(.pds-sce-app.pds-app-v2.pds-role-manager) > *:not(.pds-sce-app),
  body.pds-sce-app-mode:has(.pds-sce-app.pds-app-v2.pds-role-admin) > *:not(.pds-sce-app),
  body.pds-sce-app-mode:has(.pds-sce-app.pds-app-v2.pds-role-operation) > *:not(.pds-sce-app){
    max-width:none!important;
  }
  .pds-sce-app.pds-app-v2.pds-role-manager:not(.pds-login-shell),
  .pds-sce-app.pds-app-v2.pds-role-admin:not(.pds-login-shell),
  .pds-sce-app.pds-app-v2.pds-role-operation:not(.pds-login-shell){
    position:fixed!important;
    inset:0!important;
    display:block!important;
    width:100vw!important;
    height:100vh!important;
    min-height:100vh!important;
    overflow:hidden!important;
    margin:0!important;
    padding:0!important;
    background:#eaf2fb!important;
  }
  .pds-sce-app.pds-app-v2.pds-role-manager:not(.pds-login-shell) .pds-sidebar,
  .pds-sce-app.pds-app-v2.pds-role-admin:not(.pds-login-shell) .pds-sidebar,
  .pds-sce-app.pds-app-v2.pds-role-operation:not(.pds-login-shell) .pds-sidebar{
    position:fixed!important;
    left:0!important;
    top:0!important;
    bottom:0!important;
    width:260px!important;
    min-width:260px!important;
    max-width:260px!important;
    height:100vh!important;
    margin:0!important;
    border-radius:0!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    z-index:1000!important;
  }
  .pds-sce-app.pds-app-v2.pds-role-manager:not(.pds-login-shell) .pds-main-shell,
  .pds-sce-app.pds-app-v2.pds-role-admin:not(.pds-login-shell) .pds-main-shell,
  .pds-sce-app.pds-app-v2.pds-role-operation:not(.pds-login-shell) .pds-main-shell{
    position:fixed!important;
    top:0!important;
    right:0!important;
    bottom:0!important;
    left:260px!important;
    width:auto!important;
    height:100vh!important;
    min-height:100vh!important;
    margin:0!important;
    padding:0!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    background:#eaf2fb!important;
    box-sizing:border-box!important;
    scroll-behavior:auto!important;
  }
  .pds-sce-app.pds-app-v2.pds-role-manager.pds-sidebar-compact:not(.pds-login-shell) .pds-sidebar,
  .pds-sce-app.pds-app-v2.pds-role-admin.pds-sidebar-compact:not(.pds-login-shell) .pds-sidebar,
  .pds-sce-app.pds-app-v2.pds-role-operation.pds-sidebar-compact:not(.pds-login-shell) .pds-sidebar,
  .pds-sce-app.pds-app-v2.pds-role-manager.pds-compact-sidebar:not(.pds-login-shell) .pds-sidebar,
  .pds-sce-app.pds-app-v2.pds-role-admin.pds-compact-sidebar:not(.pds-login-shell) .pds-sidebar,
  .pds-sce-app.pds-app-v2.pds-role-operation.pds-compact-sidebar:not(.pds-login-shell) .pds-sidebar{
    width:84px!important;
    min-width:84px!important;
    max-width:84px!important;
  }
  .pds-sce-app.pds-app-v2.pds-role-manager.pds-sidebar-compact:not(.pds-login-shell) .pds-main-shell,
  .pds-sce-app.pds-app-v2.pds-role-admin.pds-sidebar-compact:not(.pds-login-shell) .pds-main-shell,
  .pds-sce-app.pds-app-v2.pds-role-operation.pds-sidebar-compact:not(.pds-login-shell) .pds-main-shell,
  .pds-sce-app.pds-app-v2.pds-role-manager.pds-compact-sidebar:not(.pds-login-shell) .pds-main-shell,
  .pds-sce-app.pds-app-v2.pds-role-admin.pds-compact-sidebar:not(.pds-login-shell) .pds-main-shell,
  .pds-sce-app.pds-app-v2.pds-role-operation.pds-compact-sidebar:not(.pds-login-shell) .pds-main-shell{
    left:84px!important;
  }
  .pds-sce-app.pds-app-v2.pds-role-manager:not(.pds-login-shell) .pds-topbar,
  .pds-sce-app.pds-app-v2.pds-role-admin:not(.pds-login-shell) .pds-topbar,
  .pds-sce-app.pds-app-v2.pds-role-operation:not(.pds-login-shell) .pds-topbar{
    position:sticky!important;
    top:0!important;
    z-index:80!important;
    width:100%!important;
    margin:0!important;
    border-radius:0!important;
    box-sizing:border-box!important;
  }
  .pds-sce-app.pds-app-v2.pds-role-manager:not(.pds-login-shell) .pds-app-content,
  .pds-sce-app.pds-app-v2.pds-role-admin:not(.pds-login-shell) .pds-app-content,
  .pds-sce-app.pds-app-v2.pds-role-operation:not(.pds-login-shell) .pds-app-content{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:20px 28px 80px!important;
    box-sizing:border-box!important;
  }
  .pds-sce-app.pds-app-v2.pds-role-manager:not(.pds-login-shell) main.pds-dashboard-v2,
  .pds-sce-app.pds-app-v2.pds-role-admin:not(.pds-login-shell) main.pds-dashboard-v2,
  .pds-sce-app.pds-app-v2.pds-role-operation:not(.pds-login-shell) main.pds-dashboard-v2{
    min-height:0!important;
    align-content:start!important;
  }
  .pds-sce-app.pds-app-v2.pds-role-manager:not(.pds-login-shell) .pds-route-visible,
  .pds-sce-app.pds-app-v2.pds-role-admin:not(.pds-login-shell) .pds-route-visible,
  .pds-sce-app.pds-app-v2.pds-role-operation:not(.pds-login-shell) .pds-route-visible{
    margin-top:0!important;
  }
  .pds-pwa-install-btn.show{
    position:fixed!important;
    top:92px!important;
    right:28px!important;
  }
}

/* v7.1.2 Route visibility hard stop for desktop manager shell. */
@media (min-width:1024px){
  .pds-sce-app.pds-app-v2.pds-role-manager:not(.pds-login-shell) main.pds-dashboard-v2 > section.pds-route-hidden,
  .pds-sce-app.pds-app-v2.pds-role-admin:not(.pds-login-shell) main.pds-dashboard-v2 > section.pds-route-hidden,
  .pds-sce-app.pds-app-v2.pds-role-operation:not(.pds-login-shell) main.pds-dashboard-v2 > section.pds-route-hidden,
  .pds-sce-app.pds-app-v2.pds-role-manager:not(.pds-login-shell) main.pds-dashboard-v2 > .pds-action-grid.pds-route-hidden,
  .pds-sce-app.pds-app-v2.pds-role-admin:not(.pds-login-shell) main.pds-dashboard-v2 > .pds-action-grid.pds-route-hidden,
  .pds-sce-app.pds-app-v2.pds-role-operation:not(.pds-login-shell) main.pds-dashboard-v2 > .pds-action-grid.pds-route-hidden{display:none!important;}
  .pds-sce-app.pds-app-v2.pds-role-manager:not(.pds-login-shell) main.pds-dashboard-v2 > section.pds-route-visible,
  .pds-sce-app.pds-app-v2.pds-role-admin:not(.pds-login-shell) main.pds-dashboard-v2 > section.pds-route-visible,
  .pds-sce-app.pds-app-v2.pds-role-operation:not(.pds-login-shell) main.pds-dashboard-v2 > section.pds-route-visible{display:block!important;width:100%!important;max-width:none!important;grid-column:1/-1!important;}
  .pds-sce-app.pds-app-v2.pds-role-manager:not(.pds-login-shell) main.pds-dashboard-v2 > .pds-action-grid.pds-route-visible,
  .pds-sce-app.pds-app-v2.pds-role-admin:not(.pds-login-shell) main.pds-dashboard-v2 > .pds-action-grid.pds-route-visible,
  .pds-sce-app.pds-app-v2.pds-role-operation:not(.pds-login-shell) main.pds-dashboard-v2 > .pds-action-grid.pds-route-visible{display:grid!important;width:100%!important;max-width:none!important;grid-column:1/-1!important;}
  .pds-sce-app.pds-app-v2.pds-role-manager:not(.pds-login-shell) .pds-app-nav a.active,
  .pds-sce-app.pds-app-v2.pds-role-admin:not(.pds-login-shell) .pds-app-nav a.active,
  .pds-sce-app.pds-app-v2.pds-role-operation:not(.pds-login-shell) .pds-app-nav a.active{background:#2563eb!important;color:#fff!important;}
}

/* v7.2.1 Enterprise Stable QA overrides */
@media (min-width:1024px){
  body.pds-sce-app-mode{overflow-x:hidden!important;background:#eaf1f8!important;}
  body.pds-sce-app-mode .pds-sce-app.pds-app-v2.pds-role-manager:not(.pds-login-shell),
  body.pds-sce-app-mode .pds-sce-app.pds-app-v2.pds-role-admin:not(.pds-login-shell),
  body.pds-sce-app-mode .pds-sce-app.pds-app-v2.pds-role-operation:not(.pds-login-shell){
    display:block!important;min-height:100vh!important;background:#eaf1f8!important;padding:0!important;margin:0!important;max-width:none!important;width:100%!important;
  }
  body.pds-sce-app-mode .pds-role-manager:not(.pds-login-shell) .pds-sidebar,
  body.pds-sce-app-mode .pds-role-admin:not(.pds-login-shell) .pds-sidebar,
  body.pds-sce-app-mode .pds-role-operation:not(.pds-login-shell) .pds-sidebar{
    position:fixed!important;left:0!important;top:0!important;bottom:0!important;width:244px!important;min-width:244px!important;height:100vh!important;max-height:100vh!important;z-index:10000!important;overflow-y:auto!important;background:#082744!important;box-shadow:12px 0 32px rgba(15,23,42,.08)!important;
  }
  body.pds-sce-app-mode .pds-role-manager:not(.pds-login-shell) .pds-main-shell,
  body.pds-sce-app-mode .pds-role-admin:not(.pds-login-shell) .pds-main-shell,
  body.pds-sce-app-mode .pds-role-operation:not(.pds-login-shell) .pds-main-shell{
    margin-left:244px!important;width:calc(100vw - 244px)!important;max-width:none!important;min-width:0!important;min-height:100vh!important;padding:0!important;overflow:visible!important;
  }
  body.pds-sce-app-mode .pds-role-manager.pds-sidebar-compact:not(.pds-login-shell) .pds-sidebar,
  body.pds-sce-app-mode .pds-role-admin.pds-sidebar-compact:not(.pds-login-shell) .pds-sidebar,
  body.pds-sce-app-mode .pds-role-operation.pds-sidebar-compact:not(.pds-login-shell) .pds-sidebar{width:84px!important;min-width:84px!important;}
  body.pds-sce-app-mode .pds-role-manager.pds-sidebar-compact:not(.pds-login-shell) .pds-main-shell,
  body.pds-sce-app-mode .pds-role-admin.pds-sidebar-compact:not(.pds-login-shell) .pds-main-shell,
  body.pds-sce-app-mode .pds-role-operation.pds-sidebar-compact:not(.pds-login-shell) .pds-main-shell{margin-left:84px!important;width:calc(100vw - 84px)!important;}
  .pds-role-manager .pds-app-content,.pds-role-admin .pds-app-content,.pds-role-operation .pds-app-content{padding:20px 26px 42px!important;max-width:none!important;width:100%!important;box-sizing:border-box!important;}
  .pds-role-manager .pds-dashboard-v2,.pds-role-admin .pds-dashboard-v2,.pds-role-operation .pds-dashboard-v2{max-width:none!important;width:100%!important;display:grid!important;gap:18px!important;}
  .pds-role-manager .pds-screen-card,.pds-role-admin .pds-screen-card,.pds-role-operation .pds-screen-card{width:100%!important;max-width:none!important;box-sizing:border-box!important;}
  .pds-role-manager .pds-topbar,.pds-role-admin .pds-topbar,.pds-role-operation .pds-topbar{position:sticky!important;top:0!important;z-index:999!important;}
  .pds-role-manager .pds-hero-card,.pds-role-admin .pds-hero-card,.pds-role-operation .pds-hero-card{width:100%!important;max-width:none!important;}
  .pds-role-manager .pds-action-grid,.pds-role-admin .pds-action-grid,.pds-role-operation .pds-action-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))!important;align-items:stretch!important;}
  .pds-role-manager .pds-kpi-grid,.pds-role-admin .pds-kpi-grid,.pds-role-operation .pds-kpi-grid{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))!important;}
  .pds-role-manager .pds-table-wrap,.pds-role-admin .pds-table-wrap,.pds-role-operation .pds-table-wrap{max-width:100%!important;overflow:auto!important;}
  .pds-role-manager .pds-compact-ticket-table,.pds-role-admin .pds-compact-ticket-table,.pds-role-operation .pds-compact-ticket-table{width:100%!important;overflow-x:auto!important;}
  .pds-route-hidden{display:none!important;}
  .pds-route-visible{display:block!important;}
  .pds-action-grid.pds-route-visible{display:grid!important;}
}
.pds-customer-selected-badge{display:flex;align-items:center;gap:10px;justify-content:space-between;border:1px solid #86efac;background:#f0fdf4;color:#14532d;border-radius:14px;padding:10px 12px;margin:10px 0;box-shadow:0 8px 20px rgba(22,163,74,.08)}
.pds-customer-selected-badge b{white-space:nowrap}.pds-customer-selected-badge span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pds-selected-field{border-color:#22c55e!important;box-shadow:0 0 0 3px rgba(34,197,94,.14)!important}.pds-customer-picked .pds-customer-picker-bar{border-color:#86efac!important;background:#f0fdf4!important}.pds-success-note{border-color:#86efac!important;background:#f0fdf4!important;color:#14532d!important}.pds-customer-suggestions{display:block}.pds-customer-suggestions .pds-note{border-radius:14px;border:1px solid #dbeafe;background:#eff6ff}.pds-customer-suggestions .pds-customer-pick{margin:5px 5px 0 0!important;white-space:normal!important;text-align:left!important}.pds-customer-browser-list{display:grid;gap:8px}.pds-customer-browser-item{display:block;width:100%;text-align:left;border:1px solid #dbeafe;background:#fff;border-radius:14px;padding:10px 12px}.pds-customer-browser-item:hover{border-color:#2563eb;background:#eff6ff}.pds-customer-browser-item strong{display:block}.pds-customer-browser-item span{display:block;color:#64748b;font-size:12px;margin-top:3px}


/* v7.2.1 receive success popup + receipt reference UX */
.pds-created-modal-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.45);z-index:999999;display:none;align-items:center;justify-content:center;padding:18px;backdrop-filter:blur(4px)}
.pds-created-modal-backdrop.show{display:flex}
.pds-created-modal{width:min(560px,96vw);background:#fff;border-radius:24px;box-shadow:0 28px 80px rgba(15,23,42,.28);overflow:hidden;border:1px solid rgba(148,163,184,.35)}
.pds-created-head{display:flex;gap:14px;align-items:center;padding:20px 22px;background:linear-gradient(135deg,#0f766e,#2563eb);color:#fff}
.pds-created-head span{width:44px;height:44px;border-radius:14px;background:rgba(255,255,255,.18);display:grid;place-items:center;font-size:24px;font-weight:800}
.pds-created-head h3{margin:0;font-size:21px;line-height:1.15;color:#fff}.pds-created-head p{margin:4px 0 0;opacity:.92;color:#fff}
.pds-created-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:18px 22px;background:#f8fafc}.pds-created-summary div{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:12px}.pds-created-summary .wide{grid-column:1/-1}.pds-created-summary small{display:block;text-transform:uppercase;letter-spacing:.05em;color:#64748b;font-size:11px;font-weight:700}.pds-created-summary b{display:block;margin-top:4px;color:#0f172a;font-size:15px;word-break:break-word}
.pds-created-actions{display:flex;flex-wrap:wrap;gap:10px;padding:16px 22px 22px;background:#fff}.pds-created-actions .pds-btn{margin:0;text-decoration:none}
.pds-selected-field{border-color:#16a34a!important;box-shadow:0 0 0 3px rgba(22,163,74,.13)!important;background:#f0fdf4!important}.pds-customer-selected-badge{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid #bbf7d0;background:#f0fdf4;color:#14532d;border-radius:14px;padding:10px 12px;margin:8px 0}.pds-customer-selected-badge b{font-size:12px;text-transform:uppercase;letter-spacing:.04em}.pds-customer-selected-badge span{font-weight:700}
@media(max-width:720px){.pds-created-summary{grid-template-columns:1fr}.pds-created-actions{display:grid}.pds-created-actions .pds-btn,.pds-created-actions .pds-mini{width:100%;text-align:center}}


/* v7.2.2 receive workflow polish */
.pds-live-customer-box{border:1px solid #dbeafe;background:#f8fbff;border-radius:16px;margin:10px 0;padding:8px;box-shadow:0 8px 24px rgba(15,23,42,.08)}
.pds-live-head{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:6px 8px 10px;color:#0f172a}.pds-live-head small{color:#64748b;font-weight:700}.pds-live-loading,.pds-live-empty{padding:12px 10px;color:#64748b;font-weight:700}.pds-live-customer-item{display:flex!important;flex-direction:column;align-items:flex-start;width:100%;text-align:left;background:#fff!important;color:#0f172a!important;border:1px solid #e5e7eb!important;border-radius:12px!important;margin:5px 0!important;padding:10px 12px!important;box-shadow:none!important}.pds-live-customer-item:hover,.pds-live-customer-item:focus{border-color:#2563eb!important;background:#eff6ff!important}.pds-live-customer-item strong{font-size:14px;font-weight:900}.pds-live-customer-item span{font-size:12px;color:#64748b;margin-top:3px}.pds-v722-selected{border:1px solid #86efac!important;background:#f0fdf4!important;border-radius:16px;padding:12px 14px;margin:10px 0;display:grid;gap:4px;box-shadow:0 8px 24px rgba(34,197,94,.14)}.pds-v722-selected b{color:#15803d;font-size:13px}.pds-v722-selected strong{font-size:16px;color:#0f172a}.pds-v722-selected span{color:#475569;font-weight:700}.pds-selected-field{border-color:#22c55e!important;box-shadow:0 0 0 3px rgba(34,197,94,.14)!important}.pds-created-print-direct{cursor:pointer}.pds-created-modal .pds-created-actions{gap:10px;flex-wrap:wrap}.pds-created-modal .pds-created-actions .pds-btn{min-width:170px}.pds-ticket-form [name="receive_slip_no"]{background:#fffef7;border-color:#facc15}.pds-ticket-form [name="receive_slip_no"]:focus{box-shadow:0 0 0 3px rgba(250,204,21,.22)}

/* v7.3.0 workflow polish: live customer search, workload board, photo preview */
.pds-live-search-box{background:#fff;border:1px solid #dbeafe;border-radius:16px;box-shadow:0 16px 40px rgba(15,23,42,.12);padding:10px;margin-top:8px;display:grid;gap:8px;position:relative;z-index:30}.pds-live-search-title{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:#2563eb;padding:2px 4px}.pds-live-customer-item{width:100%;text-align:left;border:1px solid #e5e7eb;background:#fff;border-radius:12px;padding:10px 12px;display:grid;gap:2px;cursor:pointer}.pds-live-customer-item:hover,.pds-live-customer-item.is-active{border-color:#2563eb;background:#eff6ff}.pds-live-customer-item b{font-size:14px;color:#0f172a}.pds-live-customer-item span{font-size:13px;color:#334155}.pds-live-customer-item small{font-size:12px;color:#64748b}.pds-searching{display:flex;align-items:center;gap:8px;color:#475569;font-weight:700}.pds-customer-selected-badge{border:1px solid #86efac;background:#f0fdf4;color:#14532d;border-radius:14px;padding:10px 12px;margin-top:8px;display:flex;align-items:center;gap:10px;justify-content:space-between;flex-wrap:wrap}.pds-customer-selected-badge b{font-size:13px}.pds-customer-selected-badge span{font-weight:700}.pds-selected-field{border-color:#22c55e!important;box-shadow:0 0 0 3px rgba(34,197,94,.12)!important}.pds-photo-preview{margin:8px 0 12px}.pds-photo-chip{display:flex;align-items:center;gap:10px;border:1px solid #e5e7eb;border-radius:14px;background:#f8fafc;padding:8px}.pds-photo-chip img{width:58px;height:58px;object-fit:cover;border-radius:10px;border:1px solid #e5e7eb}.pds-photo-chip span{font-size:12px;color:#475569;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pds-workload-board{background:linear-gradient(180deg,#fff,#f8fafc);border:1px solid #e5e7eb;border-radius:20px;padding:16px;margin:0 0 18px;box-shadow:0 12px 30px rgba(15,23,42,.06)}.pds-workload-table{overflow:auto;border:1px solid #e5e7eb;border-radius:16px;background:#fff}.pds-workload-head,.pds-workload-row{display:grid;grid-template-columns:minmax(180px,1.6fr) repeat(8,minmax(58px,.55fr));align-items:center;gap:0}.pds-workload-head{position:sticky;top:0;background:#0f172a;color:#fff;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.035em}.pds-workload-head span,.pds-workload-row span{padding:9px 10px;border-right:1px solid rgba(148,163,184,.25)}.pds-workload-row{width:100%;border:0;border-top:1px solid #e5e7eb;background:#fff;text-align:left;color:#0f172a;cursor:pointer}.pds-workload-row:hover,.pds-workload-row.active{background:#eff6ff}.pds-workload-row span:not(:first-child){text-align:center;font-weight:800}.pds-manager-queue-assignee.active{outline:2px solid #2563eb;outline-offset:-2px}@media(max-width:900px){.pds-workload-head,.pds-workload-row{grid-template-columns:minmax(150px,1.2fr) repeat(8,54px);min-width:650px}.pds-customer-selected-badge{align-items:flex-start}.pds-photo-chip span{white-space:normal}}

/* v7.4.0 Shared Hosting UX Stable - ticket detail modernization */
.pds-v74-ticket{background:#fff;border:1px solid #dbe6f3;border-radius:18px;padding:0;box-shadow:0 16px 40px rgba(15,35,65,.08);overflow:visible!important}
.pds-v74-sticky-actions{position:sticky;top:0;z-index:15;background:rgba(255,255,255,.96);backdrop-filter:blur(10px);border-bottom:1px solid #e1eaf5;border-radius:18px 18px 0 0;padding:16px 18px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.pds-v74-sticky-actions h2{margin:0;font-size:22px;line-height:1.15;color:#071326}.pds-v74-sticky-actions p{margin:4px 0 0;color:#52657f}.pds-v74-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.pds-v74-print-source{display:none!important}
.pds-v74-ticket-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:16px 18px;background:#f7fbff;border-bottom:1px solid #e6eef7}.pds-v74-ticket-summary>div{background:#fff;border:1px solid #dfe9f4;border-radius:14px;padding:12px}.pds-v74-ticket-summary small{display:block;color:#60748d;font-weight:800;text-transform:uppercase;font-size:11px}.pds-v74-ticket-summary b{display:block;margin-top:4px;color:#071326;font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pds-v74-tabs{position:sticky;top:76px;z-index:14;display:flex;gap:8px;overflow-x:auto;padding:12px 18px;background:rgba(255,255,255,.97);border-bottom:1px solid #e6eef7}.pds-v74-tab{border:0;border-radius:999px;background:#edf3fb;color:#53667e;font-weight:900;padding:10px 14px;white-space:nowrap;cursor:pointer}.pds-v74-tab.active{background:#2563eb;color:#fff;box-shadow:0 8px 18px rgba(37,99,235,.22)}
.pds-v74-tab-panel{display:none;padding:18px}.pds-v74-tab-panel.active{display:block}.pds-v74-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.pds-v74-card{background:#fff;border:1px solid #dfe9f4;border-radius:16px;padding:16px;margin-bottom:14px;box-shadow:0 10px 25px rgba(15,35,65,.04)}.pds-v74-card h3{margin:0 0 10px;font-size:20px}.pds-v74-form label{display:block;margin:0 0 12px}.pds-v74-card .pds-assistant,.pds-v74-card .pds-step-card{box-shadow:none!important;border:1px solid #e3ecf6!important;border-radius:14px!important;background:#fbfdff!important}.pds-v74-card details{border:1px solid #e3ecf6;border-radius:12px;padding:10px;margin:8px 0;background:#fbfdff}.pds-v74-card summary{font-weight:900;cursor:pointer}.pds-v74-card hr{border:0;border-top:1px solid #e6eef7;margin:16px 0}
.pds-v74-ticket .pds-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.pds-v74-ticket input,.pds-v74-ticket textarea,.pds-v74-ticket select{max-width:100%}.pds-v74-ticket .pds-mini,.pds-v74-ticket .pds-btn{min-height:38px}
.pds-job-detail-body>.pds-assistant.pds-v74-ticket{max-width:100%!important}.pds-role-manager #pds-job-detail,.pds-role-admin #pds-job-detail,.pds-role-operation #pds-job-detail{max-width:100%!important}.pds-role-manager #pds-job-detail .pds-job-detail-body,.pds-role-admin #pds-job-detail .pds-job-detail-body,.pds-role-operation #pds-job-detail .pds-job-detail-body{max-width:100%!important}
.pds-v74-saving{opacity:.72;pointer-events:none}.pds-v74-ticket .pds-form-result:empty,.pds-v74-ticket .pds-estimate-result:empty,.pds-v74-ticket .pds-billing-result:empty{display:none}
@media (max-width:900px){.pds-v74-sticky-actions{top:0;display:block}.pds-v74-actions{margin-top:10px;justify-content:flex-start}.pds-v74-ticket-summary{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px}.pds-v74-tabs{top:92px;padding:10px 12px}.pds-v74-tab-panel{padding:12px}.pds-v74-grid{grid-template-columns:1fr}.pds-v74-ticket .pds-row{grid-template-columns:1fr}.pds-v74-sticky-actions h2{font-size:18px}}
@media (max-width:560px){.pds-v74-ticket-summary{grid-template-columns:1fr}.pds-v74-sticky-actions,.pds-v74-card{border-radius:14px}.pds-v74-tab{padding:9px 12px;font-size:13px}.pds-v74-sticky-actions p{font-size:13px}.pds-v74-actions .pds-mini{flex:1 1 auto;text-align:center}}

/* v7.4.1 WhatsApp confirm popup - manual no API */
.pds-wa-confirm-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.45);z-index:99999;display:flex;align-items:center;justify-content:center;padding:16px;backdrop-filter:blur(3px)}
.pds-wa-confirm-modal{width:min(620px,100%);max-height:92vh;overflow:auto;background:#fff;border-radius:22px;box-shadow:0 28px 80px rgba(15,23,42,.35);padding:18px;border:1px solid #e5e7eb}
.pds-wa-confirm-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}.pds-wa-confirm-head h3{margin:2px 0 4px;font-size:22px}.pds-wa-confirm-head p{margin:0;color:#64748b;font-size:13px;line-height:1.45}.pds-wa-confirm-x{border:0;background:#f1f5f9;border-radius:12px;width:36px;height:36px;font-size:24px;line-height:1;cursor:pointer}.pds-wa-confirm-modal textarea{width:100%;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px;line-height:1.45;border:1px solid #cbd5e1;border-radius:14px;padding:12px;background:#f8fafc;color:#0f172a}.pds-wa-confirm-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end;margin-top:14px}.pds-wa-template-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}.pds-wa-template-grid details{border:1px solid #e5e7eb;border-radius:14px;padding:10px;background:#fff}.pds-wa-template-grid summary{cursor:pointer;font-weight:800}.pds-wa-template-grid pre{white-space:pre-wrap;background:#f8fafc;border:1px solid #e5e7eb;border-radius:12px;padding:10px;max-height:220px;overflow:auto;font-size:12px}
@media(max-width:560px){.pds-wa-confirm-backdrop{align-items:flex-end;padding:0}.pds-wa-confirm-modal{border-radius:22px 22px 0 0;max-height:88vh}.pds-wa-confirm-actions .pds-btn,.pds-wa-confirm-actions .pds-mini{width:100%;text-align:center}}

/* v7.4.3 WhatsApp workflow chooser polish */
.pds-wa-template-choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;margin:12px 0 4px}
.pds-wa-template-choice{border:1px solid #dbe7f5;background:#fff;border-radius:14px;padding:12px;text-align:left;cursor:pointer;box-shadow:0 6px 16px rgba(15,23,42,.06)}
.pds-wa-template-choice:hover{border-color:#2563eb;background:#f8fbff}
.pds-wa-template-choice b{display:block;font-size:14px;color:#0f172a;margin-bottom:4px}
.pds-wa-template-choice span{display:block;font-size:12px;color:#64748b}
.pds-wa-chooser{max-width:720px}
@media(max-width:700px){.pds-wa-template-choices{grid-template-columns:1fr}.pds-wa-confirm-modal{width:94vw;max-height:92vh;overflow:auto}.pds-wa-confirm-actions{position:sticky;bottom:0;background:#fff;padding-top:10px}}

/* v7.4.4 Technician workflow stabilization polish */
.pds-tech-v744{gap:10px;align-items:flex-start}.pds-tech-follow-count{background:#eef6ff;border-color:#cfe4ff}.pds-tech-compact-queue .pds-tech-table-row{min-height:58px;padding:10px 12px;grid-template-columns:1.05fr 1.35fr 1.25fr 1.1fr auto}.pds-tech-compact-queue .pds-tech-table-head{grid-template-columns:1.05fr 1.35fr 1.25fr 1.1fr auto}.pds-tech-table-row.pds-tech-following-row{background:#fbfdff;border-left:5px solid #94a3b8}.pds-tech-table-row.pds-tech-following-row:before{content:'VIEW';font-size:10px;font-weight:900;color:#64748b;background:#e2e8f0;border-radius:999px;padding:2px 6px;position:absolute;right:8px;top:6px}.pds-tech-table-row{position:relative}.pds-tech-col-ticket b,.pds-tech-col-customer b,.pds-tech-col-device b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}.pds-tech-col-ticket small,.pds-tech-col-customer small,.pds-tech-col-device small,.pds-tech-col-problem small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}.pds-tech-sticky-quick{position:sticky;top:0;z-index:50;display:flex;gap:8px;overflow-x:auto;padding:8px;background:rgba(255,255,255,.94);backdrop-filter:blur(10px);border:1px solid #e2e8f0;border-radius:16px;margin:10px 0}.pds-reassign-current summary{cursor:pointer;font-weight:900;color:#334155}.pds-reassign-current{border:1px dashed #bfd3ea;background:#f8fbff}.pds-current-action .pds-step-card>h3{font-size:28px}.pds-current-action details summary{font-size:18px}.pds-current-action .pds-inline-form{margin-top:12px}.pds-group-empty{display:none!important}
@media(max-width:700px){.pds-tech-compact-queue .pds-tech-table-head{display:none}.pds-tech-compact-queue .pds-tech-table-row{grid-template-columns:74px 1fr 92px;gap:8px;min-height:60px;padding:9px 10px}.pds-tech-compact-queue .pds-tech-col-problem{display:none}.pds-tech-compact-queue .pds-tech-col-device small{display:none}.pds-tech-compact-queue .pds-tech-col-action{align-self:center}.pds-tech-compact-queue .pds-row-action{padding:8px 10px!important;min-height:34px}.pds-tech-toolbar .pds-tech-job-search{min-height:46px}.pds-tech-filter-pills{max-height:118px;overflow:auto}.pds-current-action .pds-step-card,.pds-current-action .pds-inline-form{padding:18px!important;border-radius:22px}.pds-current-action .pds-step-card>h3{font-size:30px;line-height:1.1}.pds-print-tools .pds-mini{width:100%;justify-content:center;margin-bottom:8px}.pds-tech-sticky-quick .pds-mini{white-space:nowrap;min-width:max-content}.pds-tech-summary-grid{grid-template-columns:1fr!important}.pds-step-flow{overflow-x:auto;flex-wrap:nowrap}.pds-step-flow span{white-space:nowrap}}

/* v7.4.5 Stable QA polish */
.pds-tech-status-group[data-hide="1"]{display:block!important}
.pds-tech-table-row[data-hide="1"]{display:none!important}
.pds-tech-status-group.pds-group-empty{display:none!important}
.pds-tech-group-head[aria-expanded="false"] + .pds-tech-group-body{display:none!important}
.pds-tech-toolbar-compact .pds-tech-job-search{min-height:48px;font-size:16px}
.pds-tech-compact-queue .pds-tech-table-row{cursor:pointer}
.pds-tech-compact-queue .pds-tech-table-row:hover{background:#f8fbff}
.pds-tech-sticky-quick{box-shadow:0 10px 24px rgba(15,23,42,.08)}
.pds-role-technician .pds-print-tools .pds-mini[aria-disabled="true"]{display:none!important}
@media(max-width:640px){
  .pds-tech-toolbar-compact{position:sticky;top:0;z-index:45;background:rgba(255,255,255,.96);backdrop-filter:blur(10px);border-radius:18px;padding:10px;margin-bottom:10px}
  .pds-tech-filter-pills{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px;scrollbar-width:none}
  .pds-tech-filter-pills::-webkit-scrollbar{display:none}
  .pds-tech-filter-pills .pds-mini{white-space:nowrap;min-width:max-content}
  .pds-tech-compact-queue .pds-tech-table-row,.pds-tech-compact-queue .pds-tech-table-head{grid-template-columns:.8fr 1.1fr 1.05fr .9fr auto;gap:6px}
  .pds-tech-compact-queue .pds-tech-table-row{min-height:54px;padding:9px 8px}
  .pds-tech-col-action .pds-mini{padding:8px 10px;font-size:12px}
  .pds-current-action .pds-step-card>h3,.pds-step-card h3{font-size:24px;line-height:1.15}
  .pds-tech-summary-grid{grid-template-columns:1fr!important}
}

/* v7.4.7 Technician rollback-stable polish: keep proven grouped queue, fix mobile density/blank states */
.pds-role-technician .pds-tech-table-row.pds-internal-ticket{cursor:pointer;touch-action:manipulation}
.pds-role-technician .pds-tech-empty-filter{padding:18px;text-align:center;color:#64748b;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:16px;margin:10px;font-weight:700}
.pds-role-technician #pds-job-detail.pds-screen-active{display:block!important;min-height:0!important;padding-top:0!important;margin-top:0!important}
.pds-role-technician #pds-job-detail .pds-job-detail-body{margin-top:0!important;padding-top:0!important}
.pds-role-technician .pds-current-action{margin-top:0!important}
.pds-role-technician .pds-tech-following-row .pds-tech-col-action .pds-mini{background:#e2e8f0!important;color:#334155!important;box-shadow:none!important}
@media(max-width:720px){
  .pds-role-technician .pds-tech-table-head{display:none!important}
  .pds-role-technician .pds-tech-table-row{display:grid!important;grid-template-columns:72px minmax(0,1fr) 104px;grid-template-areas:"ticket customer stage" "ticket customer action";gap:4px 8px;align-items:center;min-height:64px!important;padding:9px 8px!important;overflow:hidden}
  .pds-role-technician .pds-tech-col-ticket{grid-area:ticket}.pds-role-technician .pds-tech-col-customer{grid-area:customer}.pds-role-technician .pds-tech-col-problem{grid-area:stage;min-width:0}.pds-role-technician .pds-tech-col-device{display:none!important}.pds-role-technician .pds-tech-col-action{grid-area:action;justify-self:stretch;align-self:end}
  .pds-role-technician .pds-tech-col-ticket b{font-size:15px!important}.pds-role-technician .pds-tech-col-ticket small{font-size:10px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pds-role-technician .pds-tech-col-customer b{font-size:14px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pds-role-technician .pds-tech-col-customer small{font-size:10px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pds-role-technician .pds-tech-col-problem em{max-width:96px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px!important;padding:3px 7px!important}.pds-role-technician .pds-tech-col-problem small{display:none!important}.pds-role-technician .pds-tech-col-action .pds-mini{font-size:10px!important;min-height:28px!important;padding:6px 7px!important;border-radius:10px!important;min-width:0!important;width:100%}
  .pds-role-technician .pds-tech-toolbar-compact{position:sticky;top:0;z-index:40;background:#fff;border-radius:20px!important;padding:10px!important;margin-bottom:10px!important}.pds-role-technician .pds-tech-filter-pills{display:flex;gap:7px;overflow-x:auto;overflow-y:hidden;padding-bottom:6px;scrollbar-width:none}.pds-role-technician .pds-tech-filter-pills::-webkit-scrollbar{display:none}.pds-role-technician .pds-tech-filter-pills .pds-mini{white-space:nowrap;font-size:12px!important;padding:8px 11px!important;min-height:34px!important}.pds-role-technician .pds-tech-job-search{font-size:16px!important;min-height:44px!important}
  .pds-role-technician .pds-step-card,.pds-role-technician .pds-inline-form{border-radius:20px!important;padding:14px!important}.pds-role-technician .pds-current-action .pds-step-card>h3,.pds-role-technician .pds-step-card h3{font-size:28px!important;line-height:1.12}.pds-role-technician .pds-app-nav a{font-size:13px!important;min-width:0!important}.pds-role-technician .pds-app-nav a.is-active,.pds-role-technician .pds-app-nav a.active{padding:11px 16px!important}
}

/* v7.4.8 Technician rollback polish: compact stable list, no horizontal cut, no blank filter */
@media(max-width:780px){
  .pds-role-technician .pds-app-content{padding:10px 10px 108px!important;}
  .pds-role-technician .pds-card,.pds-role-technician .pds-screen-card{border-radius:18px!important;padding:14px!important;box-shadow:0 12px 30px rgba(15,23,42,.06)!important;}
  .pds-role-technician .pds-topbar{padding:12px 14px!important;min-height:54px!important;}
  .pds-role-technician .pds-topbar h2{font-size:20px!important;line-height:1.1!important;}
  .pds-role-technician .pds-logout{padding:9px 12px!important;border-radius:14px!important;}
  .pds-role-technician .pds-hero-card{padding:18px!important;border-radius:22px!important;margin-bottom:14px!important;}
  .pds-role-technician .pds-hero-card h2{font-size:25px!important;line-height:1.14!important;}
  .pds-role-technician .pds-tech-hesk-toolbar{position:sticky!important;top:0!important;z-index:40!important;display:grid!important;grid-template-columns:68px 68px minmax(0,1fr)!important;gap:8px!important;padding:10px!important;border-radius:18px!important;background:rgba(255,255,255,.98)!important;}
  .pds-role-technician .pds-tech-job-count{min-width:0!important;text-align:center!important;border:1px solid #dbeafe!important;border-radius:14px!important;background:#f8fbff!important;padding:7px 4px!important;}
  .pds-role-technician .pds-tech-job-count strong{font-size:22px!important;line-height:1!important;color:#2563eb!important;display:block!important;}
  .pds-role-technician .pds-tech-job-count span{font-size:9px!important;text-transform:uppercase!important;font-weight:900!important;color:#1d4ed8!important;}
  .pds-role-technician .pds-tech-hesk-toolbar label{grid-column:auto!important;font-size:0!important;min-width:0!important;}
  .pds-role-technician .pds-tech-hesk-toolbar input{height:42px!important;font-size:14px!important;border-radius:16px!important;padding:9px 12px!important;}
  .pds-role-technician .pds-tech-filter-pills{grid-column:1/-1!important;display:flex!important;gap:7px!important;overflow-x:auto!important;padding:2px 0 4px!important;scrollbar-width:none!important;}
  .pds-role-technician .pds-tech-filter-pills::-webkit-scrollbar{display:none!important;}
  .pds-role-technician .pds-tech-filter-pills .pds-mini{flex:0 0 auto!important;min-width:auto!important;min-height:34px!important;height:34px!important;border-radius:999px!important;padding:7px 12px!important;font-size:12px!important;box-shadow:none!important;}
  .pds-role-technician .pds-tech-filter-pills .pds-mini.is-active{background:#0f172a!important;color:#fff!important;}
  .pds-role-technician .pds-tech-hesk-queue{display:block!important;margin-top:10px!important;}
  .pds-role-technician .pds-tech-status-group{border-radius:18px!important;overflow:hidden!important;margin:10px 0!important;box-shadow:0 10px 26px rgba(15,23,42,.06)!important;}
  .pds-role-technician .pds-tech-group-head{position:static!important;background:#0b3767!important;color:#fff!important;padding:12px 14px!important;border-radius:0!important;}
  .pds-role-technician .pds-tech-group-head b{background:#fff!important;color:#0b3767!important;min-width:30px!important;height:30px!important;border-radius:999px!important;display:grid!important;place-items:center!important;}
  .pds-role-technician .pds-tech-table-wrap{overflow:visible!important;width:100%!important;}
  .pds-role-technician .pds-tech-table-head{display:grid!important;grid-template-columns:82px minmax(0,1fr) 118px!important;width:100%!important;min-width:0!important;background:#f8fafc!important;}
  .pds-role-technician .pds-tech-table-head span:nth-child(n+4){display:none!important;}
  .pds-role-technician .pds-tech-table-row{display:grid!important;grid-template-columns:82px minmax(0,1fr) 118px!important;width:100%!important;min-width:0!important;min-height:58px!important;margin:0!important;border-radius:0!important;border-bottom:1px solid #edf2f7!important;padding:8px 7px!important;background:#fff!important;}
  .pds-role-technician .pds-tech-table-row>span:nth-child(n+4){display:none!important;}
  .pds-role-technician .pds-tech-table-row>span{min-width:0!important;overflow:hidden!important;padding:6px 7px!important;border-right:1px solid #f1f5f9!important;}
  .pds-role-technician .pds-tech-table-row>span:last-child{border-right:0!important;}
  .pds-role-technician .pds-tech-table-row b{font-size:13px!important;line-height:1.2!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
  .pds-role-technician .pds-tech-col-ticket b{font-size:15px!important;}
  .pds-role-technician .pds-tech-table-row small,.pds-role-technician .pds-tech-table-row em{font-size:10px!important;line-height:1.18!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
  .pds-role-technician .pds-tech-col-problem em{display:inline-block!important;max-width:100%!important;background:#eef2ff!important;color:#4338ca!important;border-radius:999px!important;padding:3px 8px!important;font-weight:900!important;}
  .pds-role-technician .pds-tech-global-empty{margin:12px 0!important;padding:18px!important;border:1px dashed #cbd5e1!important;border-radius:18px!important;background:#fff!important;}
  .pds-role-technician .pds-current-job-header h2,.pds-role-technician #pds-job-detail h2{font-size:24px!important;line-height:1.15!important;}
  .pds-role-technician .pds-quick-actions,.pds-role-technician .pds-button-row{gap:8px!important;}
  .pds-role-technician .pds-quick-actions .pds-btn,.pds-role-technician .pds-button-row .pds-btn{min-height:44px!important;border-radius:14px!important;}
  .pds-role-technician .pds-bottom-nav{height:72px!important;padding:6px 6px calc(6px + env(safe-area-inset-bottom))!important;background:#081226!important;}
  .pds-role-technician .pds-bottom-nav .pds-app-nav a{font-size:12px!important;padding:12px 2px!important;border-radius:14px!important;}
  .pds-role-technician .pds-bottom-nav .pds-app-nav a.active{background:#2563eb!important;color:#fff!important;box-shadow:0 9px 20px rgba(37,99,235,.35)!important;}
}

/* v7.4.9 technician stable polish */
.pds-role-technician .pds-screen-card{margin-bottom:96px!important;}
.pds-role-technician .pds-tech-toolbar{position:relative!important; overflow:visible!important;}
.pds-role-technician .pds-tech-filter-pills{display:flex!important; flex-wrap:wrap!important; gap:10px!important; max-height:none!important; overflow:visible!important; padding-bottom:4px!important;}
.pds-role-technician .pds-tech-filter-pills .pds-mini{min-height:44px!important; border-radius:18px!important; padding:9px 14px!important; white-space:nowrap!important;}
.pds-role-technician .pds-tech-filter-pills .pds-mini.is-active{background:#0f172a!important;color:#fff!important;}
.pds-role-technician .pds-tech-hesk-queue{margin-top:14px!important;}
.pds-role-technician .pds-tech-status-group{overflow:hidden!important; border-radius:22px!important; margin-bottom:16px!important;}
.pds-role-technician .pds-tech-table-wrap{overflow-x:hidden!important;}
.pds-role-technician .pds-tech-table-head{display:none!important;}
.pds-role-technician .pds-tech-table-row{display:grid!important; grid-template-columns:84px minmax(0,1fr) 128px!important; gap:8px!important; min-height:66px!important; padding:10px 12px!important; align-items:center!important; cursor:pointer!important;}
.pds-role-technician .pds-tech-col-device,.pds-role-technician .pds-tech-col-action{display:none!important;}
.pds-role-technician .pds-tech-col-ticket b,.pds-role-technician .pds-tech-col-customer b{font-size:17px!important; line-height:1.1!important; display:block!important; white-space:nowrap!important; overflow:hidden!important; text-overflow:ellipsis!important;}
.pds-role-technician .pds-tech-col-ticket small,.pds-role-technician .pds-tech-col-customer small,.pds-role-technician .pds-tech-col-problem small{font-size:12px!important; line-height:1.2!important; color:#94a3b8!important; display:block!important; white-space:nowrap!important; overflow:hidden!important; text-overflow:ellipsis!important;}
.pds-role-technician .pds-tech-col-problem em{display:inline-block!important; max-width:116px!important; padding:6px 9px!important; border-radius:999px!important; background:#eef2ff!important; color:#4338ca!important; font-style:normal!important; font-weight:800!important; font-size:12px!important; white-space:nowrap!important; overflow:hidden!important; text-overflow:ellipsis!important;}
.pds-role-technician .pds-age-warn{border-left-color:#f59e0b!important;}
.pds-role-technician .pds-age-critical{border-left-color:#ef4444!important;}
.pds-role-technician .pds-tech-following-row{border-left-color:#94a3b8!important; background:#fbfdff!important;}
.pds-role-technician .pds-tech-global-empty{margin:16px!important;}
.pds-role-technician #pds-jobs[style*="display: block"]{display:block!important;}
.pds-role-technician .pds-view-only-note{margin:0 0 14px 0!important;}
.pds-role-technician .pds-view-only-disabled{opacity:.72!important; pointer-events:none!important;}
.pds-role-technician .pds-current-action .pds-btn,.pds-role-technician .pds-quick-actions .pds-btn{border-radius:18px!important; min-height:50px!important;}
@media(max-width:600px){
 .pds-role-technician .pds-card,.pds-role-technician .pds-screen-card{padding:18px!important; border-radius:24px!important;}
 .pds-role-technician .pds-tech-toolbar{padding:14px!important;}
 .pds-role-technician .pds-tech-job-count{width:92px!important; height:78px!important;}
 .pds-role-technician .pds-tech-job-search{width:100%!important;}
 .pds-role-technician .pds-tech-table-row{grid-template-columns:78px minmax(0,1fr) 118px!important; padding:9px 10px!important; min-height:64px!important;}
 .pds-role-technician .pds-tech-col-problem em{max-width:108px!important;}
 .pds-role-technician .pds-app-shell-header{padding:14px 16px!important;}
 .pds-role-technician .pds-bottom-nav{height:78px!important;}
}

/* v7.4.10 Technician UX stability + compact polish */
.pds-role-technician .pds-app-screen{display:none!important;}
.pds-role-technician .pds-app-screen.pds-screen-active{display:block!important;}
.pds-role-technician #pds-jobs.pds-screen-active{display:block!important;}
.pds-role-technician .pds-tech-hesk-toolbar{position:sticky!important;top:0!important;z-index:45!important;background:rgba(255,255,255,.98)!important;border:1px solid #e2e8f0!important;box-shadow:0 12px 30px rgba(15,23,42,.08)!important;}
.pds-role-technician .pds-tech-hesk-queue{display:block!important;margin-top:12px!important;}
.pds-role-technician .pds-tech-status-group{overflow:hidden!important;border:1px solid #dbeafe!important;border-radius:18px!important;background:#fff!important;box-shadow:0 10px 24px rgba(15,23,42,.07)!important;margin-bottom:14px!important;}
.pds-role-technician .pds-tech-group-head{width:100%!important;border:0!important;border-radius:0!important;background:#073763!important;color:#fff!important;padding:12px 14px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;font-size:15px!important;font-weight:900!important;}
.pds-role-technician .pds-tech-group-head b{background:#fff!important;color:#073763!important;border-radius:999px!important;min-width:34px!important;height:34px!important;display:grid!important;place-items:center!important;}
.pds-role-technician .pds-tech-table-wrap{overflow:hidden!important;}
.pds-role-technician .pds-tech-table-head{display:none!important;}
.pds-role-technician .pds-tech-table-row{box-sizing:border-box!important;width:100%!important;min-width:0!important;display:grid!important;grid-template-columns:76px minmax(0,1fr) 126px!important;gap:7px!important;align-items:center!important;min-height:62px!important;padding:9px 10px!important;margin:0!important;border:0!important;border-bottom:1px solid #eef2f7!important;border-left:5px solid #2563eb!important;border-radius:0!important;background:#fff!important;box-shadow:none!important;cursor:pointer!important;}
.pds-role-technician .pds-tech-table-row.pds-age-warn{border-left-color:#f59e0b!important;}
.pds-role-technician .pds-tech-table-row.pds-age-critical{border-left-color:#ef4444!important;}
.pds-role-technician .pds-tech-table-row.pds-tech-following-row{border-left-color:#94a3b8!important;background:#fbfdff!important;}
.pds-role-technician .pds-tech-table-row>span{min-width:0!important;overflow:hidden!important;padding:0!important;border-right:0!important;}
.pds-role-technician .pds-tech-table-row>span:nth-child(n+4){display:none!important;}
.pds-role-technician .pds-tech-col-ticket b,.pds-role-technician .pds-tech-col-customer b{font-size:16px!important;font-weight:900!important;line-height:1.15!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;display:block!important;}
.pds-role-technician .pds-tech-col-ticket small,.pds-role-technician .pds-tech-col-customer small,.pds-role-technician .pds-tech-col-problem small{font-size:11px!important;color:#94a3b8!important;line-height:1.2!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;display:block!important;margin-top:3px!important;}
.pds-role-technician .pds-tech-col-problem em{display:inline-block!important;max-width:118px!important;background:#eef2ff!important;color:#4338ca!important;border-radius:999px!important;padding:5px 8px!important;font-size:12px!important;font-style:normal!important;font-weight:900!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
.pds-role-technician .pds-tech-table-row.pds-tech-following-row:before{content:'View only'!important;position:absolute!important;right:8px!important;top:4px!important;font-size:9px!important;border-radius:999px!important;background:#e2e8f0!important;color:#475569!important;padding:2px 6px!important;font-weight:900!important;}
.pds-role-technician .pds-tech-filter-pills{display:flex!important;flex-wrap:wrap!important;gap:8px!important;max-height:none!important;overflow:visible!important;}
.pds-role-technician .pds-tech-filter-pills .pds-mini{height:38px!important;min-height:38px!important;border-radius:999px!important;padding:8px 12px!important;font-size:13px!important;box-shadow:none!important;background:#64748b!important;color:#fff!important;}
.pds-role-technician .pds-tech-filter-pills .pds-mini.is-active{background:#0f172a!important;color:#fff!important;}
.pds-role-technician .pds-tech-filter-pills .pds-mini b{background:rgba(255,255,255,.22)!important;border-radius:999px!important;padding:2px 7px!important;margin-left:5px!important;}
.pds-role-technician .pds-tech-job-count{height:60px!important;border-radius:16px!important;display:grid!important;place-items:center!important;padding:6px!important;}
.pds-role-technician .pds-tech-job-count strong{font-size:28px!important;line-height:1!important;}
.pds-role-technician .pds-tech-job-count span{font-size:10px!important;text-transform:uppercase!important;font-weight:900!important;color:#2563eb!important;}
@media(max-width:700px){
  .pds-role-technician .pds-card#pds-jobs{padding:14px!important;}
  .pds-role-technician .pds-tech-hesk-toolbar{display:grid!important;grid-template-columns:64px 64px minmax(0,1fr)!important;gap:8px!important;padding:10px!important;border-radius:18px!important;}
  .pds-role-technician .pds-tech-hesk-toolbar label{grid-column:auto!important;font-size:0!important;min-width:0!important;}
  .pds-role-technician .pds-tech-hesk-toolbar input{height:44px!important;min-height:44px!important;font-size:15px!important;border-radius:16px!important;padding:8px 12px!important;}
  .pds-role-technician .pds-tech-filter-pills{grid-column:1/-1!important;}
  .pds-role-technician .pds-tech-filter-pills .pds-mini{font-size:12px!important;height:36px!important;min-height:36px!important;padding:7px 11px!important;}
  .pds-role-technician .pds-tech-table-row{grid-template-columns:72px minmax(0,1fr) 116px!important;min-height:60px!important;padding:8px 9px!important;}
  .pds-role-technician .pds-tech-col-ticket b,.pds-role-technician .pds-tech-col-customer b{font-size:15px!important;}
  .pds-role-technician .pds-tech-col-problem em{max-width:108px!important;font-size:11px!important;}
  .pds-role-technician .pds-bottom-nav{height:72px!important;}
}

/* v7.4.11 Technician queue real mobile polish */
.pds-role-technician #pds-jobs{padding-bottom:110px!important;}
.pds-role-technician .pds-tech-hesk-queue{overflow:visible!important;}
.pds-role-technician .pds-tech-table-wrap{overflow:visible!important;}
.pds-role-technician .pds-tech-table-head{display:none!important;}
.pds-role-technician .pds-tech-table-row{position:relative!important;}
.pds-role-technician .pds-tech-col-customer b{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;line-height:1.15!important;}
.pds-role-technician .pds-tech-col-problem em{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;line-height:1.15!important;}
@media(max-width:699px){
  .pds-role-technician .pds-card#pds-jobs{padding:14px!important;margin:10px 0 90px!important;}
  .pds-role-technician .pds-tech-hesk-toolbar{position:relative!important;top:auto!important;margin:0 0 12px!important;grid-template-columns:64px 64px minmax(0,1fr)!important;gap:8px!important;}
  .pds-role-technician .pds-tech-hesk-toolbar .pds-tech-job-count{height:54px!important;}
  .pds-role-technician .pds-tech-hesk-toolbar label{grid-column:3!important;}
  .pds-role-technician .pds-tech-hesk-toolbar .pds-tech-filter-pills{grid-column:1/-1!important;display:flex!important;gap:8px!important;overflow-x:auto!important;flex-wrap:nowrap!important;padding:2px 0 4px!important;}
  .pds-role-technician .pds-tech-hesk-toolbar .pds-tech-filter-pills .pds-mini{min-width:max-content!important;height:38px!important;border-radius:18px!important;padding:8px 12px!important;font-size:13px!important;}
  .pds-role-technician .pds-tech-status-group{border-radius:18px!important;overflow:hidden!important;}
  .pds-role-technician .pds-tech-group-head{border-radius:0!important;}
  .pds-role-technician .pds-tech-table-row{display:grid!important;grid-template-columns:74px minmax(0,1fr) 128px!important;gap:8px!important;min-height:72px!important;padding:10px 8px 10px 16px!important;align-items:center!important;background:#fff!important;}
  .pds-role-technician .pds-tech-table-row:before{content:'';position:absolute;left:0;top:0;bottom:0;width:5px;background:#2563eb;}
  .pds-role-technician .pds-tech-table-row.pds-age-old:before{background:#ef4444;}
  .pds-role-technician .pds-tech-table-row.pds-age-warn:before{background:#f59e0b;}
  .pds-role-technician .pds-tech-col-ticket{min-width:0!important;}
  .pds-role-technician .pds-tech-col-ticket b{font-size:16px!important;line-height:1.05!important;}
  .pds-role-technician .pds-tech-col-ticket small{font-size:10.5px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;display:block!important;max-width:68px!important;}
  .pds-role-technician .pds-tech-col-customer{min-width:0!important;}
  .pds-role-technician .pds-tech-col-customer b{font-size:14.5px!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;text-transform:uppercase!important;}
  .pds-role-technician .pds-tech-col-customer small{font-size:11.5px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;display:block!important;color:#64748b!important;}
  .pds-role-technician .pds-tech-col-problem{min-width:0!important;}
  .pds-role-technician .pds-tech-col-problem em{display:inline-block!important;max-width:125px!important;font-size:11.5px!important;padding:5px 8px!important;border-radius:999px!important;background:#eef2ff!important;color:#4338ca!important;font-style:normal!important;font-weight:800!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
  .pds-role-technician .pds-tech-col-problem small{display:block!important;margin-top:5px!important;font-size:11.5px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;color:#64748b!important;}
  .pds-role-technician .pds-tech-col-device,.pds-role-technician .pds-tech-col-action{display:none!important;}
  .pds-role-technician .pds-tech-following-row:after{content:'View only';position:absolute;left:8px;top:50%;transform:translateY(-50%);writing-mode:vertical-rl;text-orientation:mixed;font-size:10px;font-weight:900;color:#64748b;background:#e2e8f0;border-radius:10px;padding:5px 3px;}
  .pds-role-technician .pds-tech-following-row{padding-left:24px!important;}
  .pds-role-technician .pds-tech-global-empty{margin:14px 0 0!important;}
}

/* v7.4.12 technician mobile queue polish */
.pds-role-technician #pds-jobs{padding-bottom:110px!important;}
.pds-role-technician .pds-tech-real-empty{margin:16px 0!important;border:1px dashed #cbd5e1!important;border-radius:22px!important;background:#fff!important;padding:22px!important;text-align:center!important;}
.pds-role-technician .pds-tech-real-empty h3{margin:0 0 8px!important;font-size:24px!important;line-height:1.1!important;}
.pds-role-technician .pds-tech-real-empty p{margin:0 0 14px!important;color:#64748b!important;}
.pds-role-technician .pds-tech-filter-pills .pds-filter-jobs.is-active,
.pds-role-technician .pds-tech-filter-pills .pds-filter-jobs.active{background:#0f172a!important;color:#fff!important;box-shadow:0 8px 18px rgba(15,23,42,.16)!important;}
.pds-role-technician .pds-tech-status-group.pds-group-empty{display:none!important;}
.pds-role-technician .pds-tech-table-row[data-hide="1"]{display:none!important;}
.pds-role-technician .pds-tech-table-row[data-hide="0"]{display:grid!important;}
@media(max-width:720px){
  .pds-role-technician .pds-card#pds-jobs{padding-left:12px!important;padding-right:12px!important;}
  .pds-role-technician .pds-tech-toolbar{position:relative!important;top:auto!important;border-radius:20px!important;padding:12px!important;margin-bottom:12px!important;}
  .pds-role-technician .pds-tech-filter-pills{display:flex!important;flex-wrap:wrap!important;gap:8px!important;max-height:none!important;overflow:visible!important;}
  .pds-role-technician .pds-tech-filter-pills .pds-mini{min-height:38px!important;border-radius:999px!important;padding:8px 12px!important;font-size:13px!important;}
  .pds-role-technician .pds-tech-status-group{margin:12px 0!important;border-radius:18px!important;overflow:hidden!important;}
  .pds-role-technician .pds-tech-group-head{min-height:48px!important;padding:10px 13px!important;font-size:15px!important;}
  .pds-role-technician .pds-tech-table-row{grid-template-columns:72px minmax(0,1.25fr) minmax(92px,.9fr)!important;min-height:72px!important;padding:10px 9px!important;gap:8px!important;align-items:center!important;}
  .pds-role-technician .pds-tech-col-ticket b{font-size:16px!important;}
  .pds-role-technician .pds-tech-col-customer b{font-size:14px!important;line-height:1.12!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;white-space:normal!important;overflow:hidden!important;text-overflow:clip!important;}
  .pds-role-technician .pds-tech-col-customer small{font-size:11px!important;line-height:1.2!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
  .pds-role-technician .pds-tech-col-problem em{display:inline-block!important;max-width:100%!important;font-size:11px!important;line-height:1.15!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;padding:4px 8px!important;border-radius:999px!important;background:#eef2ff!important;color:#4338ca!important;font-weight:900!important;}
  .pds-role-technician .pds-tech-col-problem small{display:block!important;font-size:11px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;color:#64748b!important;margin-top:5px!important;}
  .pds-role-technician .pds-tech-table-row>span:nth-child(n+4){display:none!important;}
  .pds-role-technician .pds-tech-table-row.pds-tech-following-row:before{content:'View'!important;right:auto!important;left:6px!important;top:4px!important;}
}

/* v7.4.13 Technician final UI polish: compact readable jobs + stable filter states */
.pds-role-technician #pds-jobs{padding-bottom:110px!important;}
.pds-role-technician .pds-tech-toolbar-compact{position:relative!important;top:auto!important;margin:0 0 14px!important;padding:12px!important;border-radius:22px!important;background:#fff!important;box-shadow:0 14px 34px rgba(15,23,42,.06)!important;}
.pds-role-technician .pds-tech-filter-pills{display:flex!important;flex-wrap:wrap!important;gap:8px!important;max-height:none!important;overflow:visible!important;padding:2px 0 0!important;}
.pds-role-technician .pds-tech-filter-pills .pds-mini{border-radius:999px!important;min-height:36px!important;padding:8px 13px!important;font-size:13px!important;line-height:1!important;}
.pds-role-technician .pds-tech-filter-pills .pds-mini b{margin-left:6px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:22px!important;height:22px!important;border-radius:999px!important;background:rgba(255,255,255,.18)!important;}
.pds-role-technician .pds-tech-filter-pills .pds-mini.is-active,
.pds-role-technician .pds-tech-filter-pills .pds-mini.active{background:#071225!important;color:#fff!important;box-shadow:0 10px 24px rgba(15,23,42,.12)!important;}
.pds-role-technician .pds-tech-hesk-queue{margin-top:8px!important;}
.pds-role-technician .pds-tech-status-group{border-radius:22px!important;overflow:hidden!important;background:#fff!important;border:1px solid #dbe7f3!important;box-shadow:0 18px 38px rgba(15,23,42,.07)!important;margin-bottom:16px!important;}
.pds-role-technician .pds-tech-group-head{border-radius:0!important;margin:0!important;background:#073d68!important;color:#fff!important;padding:13px 16px!important;font-size:18px!important;}
.pds-role-technician .pds-tech-table-wrap{overflow:hidden!important;}
.pds-role-technician .pds-tech-table-head{display:none!important;}
.pds-role-technician .pds-tech-table-row{box-sizing:border-box!important;width:100%!important;min-width:0!important;display:grid!important;grid-template-columns:76px minmax(0,1fr)!important;grid-template-areas:"ticket customer" "ticket stage"!important;gap:2px 10px!important;align-items:center!important;min-height:76px!important;padding:10px 12px 10px 16px!important;margin:0!important;border:0!important;border-bottom:1px solid #edf2f7!important;border-left:5px solid #2563eb!important;border-radius:0!important;background:#fff!important;box-shadow:none!important;cursor:pointer!important;}
.pds-role-technician .pds-tech-table-row[data-hide="1"]{display:none!important;}
.pds-role-technician .pds-tech-table-row[data-hide="0"]{display:grid!important;}
.pds-role-technician .pds-tech-table-row.pds-age-warn{border-left-color:#f59e0b!important;}
.pds-role-technician .pds-tech-table-row.pds-age-critical{border-left-color:#ef4444!important;}
.pds-role-technician .pds-tech-table-row.pds-tech-following-row{border-left-color:#94a3b8!important;background:#fbfdff!important;}
.pds-role-technician .pds-tech-col-ticket{grid-area:ticket!important;align-self:center!important;}
.pds-role-technician .pds-tech-col-customer{grid-area:customer!important;min-width:0!important;}
.pds-role-technician .pds-tech-col-problem{grid-area:stage!important;min-width:0!important;display:flex!important;align-items:center!important;gap:8px!important;}
.pds-role-technician .pds-tech-col-device,.pds-role-technician .pds-tech-col-action{display:none!important;}
.pds-role-technician .pds-tech-col-ticket b{font-size:17px!important;font-weight:900!important;line-height:1.12!important;display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
.pds-role-technician .pds-tech-col-ticket small{font-size:11px!important;color:#94a3b8!important;line-height:1.2!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;display:block!important;margin-top:4px!important;}
.pds-role-technician .pds-tech-col-customer b{font-size:16px!important;font-weight:900!important;line-height:1.15!important;white-space:normal!important;overflow:hidden!important;text-overflow:clip!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;text-transform:uppercase!important;}
.pds-role-technician .pds-tech-col-customer small{font-size:12px!important;color:#64748b!important;line-height:1.2!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;display:block!important;margin-top:3px!important;}
.pds-role-technician .pds-tech-col-problem em{display:inline-flex!important;align-items:center!important;max-width:52%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;border-radius:999px!important;background:#eef2ff!important;color:#3730a3!important;font-size:12px!important;font-weight:900!important;font-style:normal!important;padding:4px 9px!important;}
.pds-role-technician .pds-tech-col-problem small{display:block!important;min-width:0!important;flex:1!important;font-size:12px!important;color:#94a3b8!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
.pds-role-technician .pds-tech-table-row.pds-tech-following-row:before{content:'View only'!important;position:absolute!important;right:10px!important;top:6px!important;font-size:9px!important;border-radius:999px!important;background:#e2e8f0!important;color:#475569!important;padding:2px 6px!important;font-weight:900!important;z-index:2!important;}
.pds-role-technician .pds-tech-empty-final{margin:16px 0!important;border:1px dashed #cbd5e1!important;border-radius:22px!important;background:#fff!important;padding:28px 18px!important;text-align:center!important;}
@media(max-width:420px){
  .pds-role-technician .pds-screen-card{padding:18px!important;border-radius:24px!important;}
  .pds-role-technician .pds-tech-toolbar-compact{padding:10px!important;}
  .pds-role-technician .pds-tech-job-count{min-width:86px!important;padding:9px!important;}
  .pds-role-technician .pds-tech-job-search{min-height:44px!important;font-size:15px!important;}
  .pds-role-technician .pds-tech-filter-pills{gap:7px!important;}
  .pds-role-technician .pds-tech-filter-pills .pds-mini{font-size:12px!important;padding:8px 11px!important;}
  .pds-role-technician .pds-tech-table-row{grid-template-columns:72px minmax(0,1fr)!important;min-height:74px!important;padding:9px 10px 9px 14px!important;}
  .pds-role-technician .pds-tech-col-customer b{font-size:15px!important;}
  .pds-role-technician .pds-tech-col-problem em{max-width:56%!important;font-size:11px!important;}
}


/* v7.4.15 Safe technician row rollback + device line polish */
.pds-role-technician .pds-tech-table-row{min-height:78px!important;}
.pds-role-technician .pds-tech-col-customer b{font-size:15px!important;line-height:1.15!important;font-weight:900!important;color:#0f172a!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;display:block!important;text-transform:none!important;}
.pds-role-technician .pds-tech-col-customer small{display:block!important;font-size:11.5px!important;line-height:1.22!important;color:#64748b!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;margin-top:2px!important;}
.pds-role-technician .pds-tech-col-problem em{max-width:100%!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
.pds-role-technician .pds-tech-col-problem small{display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
@media(max-width:420px){
  .pds-role-technician .pds-tech-table-row{min-height:82px!important;grid-template-columns:72px minmax(0,1fr)!important;grid-template-areas:"ticket customer" "ticket stage"!important;}
  .pds-role-technician .pds-tech-col-ticket{grid-area:ticket!important}.pds-role-technician .pds-tech-col-customer{grid-area:customer!important}.pds-role-technician .pds-tech-col-problem{grid-area:stage!important}
}

/* v7.4.16 Technician cache-bust + stable visible row fix */
.pds-role-technician .pds-tech-table-row,
.pds-role-technician .pds-tech-table-row[data-hide="0"]{
  display:grid!important;
  grid-template-columns:74px minmax(0,1fr)!important;
  grid-template-areas:"ticket customer" "ticket stage"!important;
  min-height:78px!important;
  padding:10px 12px!important;
  background:#fff!important;
  overflow:visible!important;
  opacity:1!important;
  visibility:visible!important;
}
.pds-role-technician .pds-tech-table-row>span{display:block!important;opacity:1!important;visibility:visible!important;min-width:0!important;overflow:hidden!important;}
.pds-role-technician .pds-tech-col-ticket{grid-area:ticket!important;display:flex!important;flex-direction:column!important;justify-content:center!important;}
.pds-role-technician .pds-tech-col-customer{grid-area:customer!important;display:block!important;}
.pds-role-technician .pds-tech-col-problem{grid-area:stage!important;display:flex!important;align-items:center!important;gap:7px!important;}
.pds-role-technician .pds-tech-col-device,
.pds-role-technician .pds-tech-col-action,
.pds-role-technician .pds-tech-table-row>span:nth-child(n+4){display:none!important;}
.pds-role-technician .pds-tech-col-ticket b{font-size:17px!important;line-height:1.1!important;}
.pds-role-technician .pds-tech-col-customer b{display:block!important;font-size:15px!important;font-weight:900!important;line-height:1.15!important;color:#0f172a!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
.pds-role-technician .pds-tech-col-customer small{display:block!important;font-size:11.5px!important;line-height:1.2!important;color:#64748b!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;margin-top:2px!important;}
.pds-role-technician .pds-tech-col-problem em{display:inline-flex!important;max-width:62%!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;padding:4px 9px!important;border-radius:999px!important;background:#eef2ff!important;color:#3730a3!important;font-size:11.5px!important;font-weight:900!important;font-style:normal!important;}
.pds-role-technician .pds-tech-col-problem small{display:block!important;min-width:0!important;flex:1!important;color:#94a3b8!important;font-size:11.5px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}

/* v8.0.0 Enterprise Stable Technician Collaboration + Polish */
.pds-role-technician .pds-support-grid{display:grid;gap:10px;margin-top:8px}
.pds-role-technician .pds-support-option{display:flex!important;align-items:center;gap:10px;padding:10px 12px;border:1px solid #dbe6f4;border-radius:14px;background:#fff;font-weight:800;color:#142033}
.pds-role-technician .pds-support-option input{width:20px;height:20px;accent-color:#2563eb}
.pds-role-technician .pds-collab-note{padding:12px 14px;border-radius:16px;background:#eef6ff;border:1px solid #d9e9ff;margin:8px 0 12px;color:#23344d}
.pds-role-technician .pds-tech-role-badge{display:inline-flex;align-items:center;width:max-content;margin-top:4px;padding:3px 8px;border-radius:999px;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}
.pds-role-technician .pds-tech-role-badge.primary{background:#dcfce7;color:#166534}
.pds-role-technician .pds-tech-role-badge.support{background:#fff7ed;color:#9a3412}
.pds-role-technician .pds-tech-role-badge.view{background:#f1f5f9;color:#475569}
.pds-role-technician .pds-support-line{margin-top:6px!important;color:#64748b;font-size:13px!important}
.pds-role-technician .pds-tech-sticky-quick .pds-wa-quick{background:#16a34a!important;color:#fff!important}
.pds-role-technician .pds-tech-sticky-quick .pds-hold-toggle{background:#f97316!important;color:#fff!important}
.pds-role-technician .pds-tech-sticky-quick .pds-scroll-to-action{background:#2563eb!important;color:#fff!important}
.pds-role-technician .pds-tech-sticky-quick a[href^="tel:"]{background:#0f766e!important;color:#fff!important}
.pds-role-technician .pds-tech-col-problem em{max-width:100%;white-space:normal;line-height:1.1;text-align:center}
.pds-role-technician .pds-tech-table-row{min-height:92px!important;grid-template-columns:95px minmax(0,1fr) minmax(130px,160px)!important}
.pds-role-technician .pds-tech-col-ticket small{white-space:normal!important}
.pds-role-technician .pds-tech-col-customer b{line-height:1.1;text-transform:uppercase}
@media(max-width:520px){
  .pds-role-technician .pds-tech-table-row{grid-template-columns:88px minmax(0,1fr)!important;padding:13px 10px 13px 16px!important;gap:6px 12px!important}
  .pds-role-technician .pds-tech-col-problem{grid-column:2!important;align-items:flex-start!important;text-align:left!important;margin-top:2px!important}
  .pds-role-technician .pds-tech-col-problem em{text-align:left!important;white-space:normal!important}
  .pds-role-technician .pds-tech-col-device,.pds-role-technician .pds-tech-col-action{display:none!important}
  .pds-role-technician .pds-tech-table-head{display:none!important}
}

/* v8.1.0 Transit Manifest & Handover Register */
.pds-transit-console{display:grid;gap:18px}.pds-transit-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.pds-transit-kpis .pds-v74-card{min-height:92px}.pds-transit-kpis small{display:block;color:#64748b;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.pds-transit-kpis b{display:block;font-size:34px;line-height:1;margin-top:8px;color:#0f172a}.pds-transit-form{border:1px solid #dbe7f3;background:#fff;border-radius:22px;padding:18px;box-shadow:0 18px 45px rgba(15,23,42,.06)}.pds-transit-form button{align-self:end}.pds-action-card[href="#pds-transit"]{border-color:#bfdbfe;background:linear-gradient(135deg,#fff,#eff6ff)}
@media(max-width:720px){.pds-transit-kpis{grid-template-columns:1fr}.pds-transit-form{padding:14px;border-radius:18px}.pds-transit-form button{width:100%}}

/* v9.0.0 Enterprise ERP Accounts Polish */
.pds-erp-v9 .pds-kpi-grid{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));}
.pds-erp-strip{margin:14px 0;padding:12px 14px;border:1px solid #dbeafe;background:#f8fbff;border-radius:14px;color:#334155;font-size:13px;line-height:1.45;}
.pds-erp-checklist{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px;margin:8px 0 12px;}
.pds-erp-checklist div{padding:10px 12px;border:1px solid #e5e7eb;border-radius:12px;background:#fff;font-weight:700;color:#0f172a;}
@media(max-width:720px){.pds-erp-v9 .pds-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.pds-erp-v9 .pds-kpi-card strong{font-size:22px}.pds-erp-strip{font-size:12px}.pds-erp-checklist{grid-template-columns:1fr}}

/* v10.5.0 Enterprise Accounts ERP polish */
.pds-erp-v10 .pds-kpi-grid{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));}
.pds-erp-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px;padding:16px;border:1px solid #dbeafe;background:linear-gradient(135deg,#ffffff,#f8fbff);border-radius:18px;box-shadow:0 14px 36px rgba(15,23,42,.05)}
.pds-erp-head h3{margin:0 0 4px;font-size:24px;color:#0f172a}.pds-erp-head p{margin:0;color:#64748b;line-height:1.45}.pds-erp-v10 .pds-card h4{font-size:22px;margin-top:0}.pds-erp-v10 .pds-status-pill{white-space:nowrap}.pds-erp-v10 .pds-v43-table table{min-width:760px}.pds-erp-v10 .pds-kpi-card strong{font-size:28px}.pds-erp-v10 .pds-kpi-card span{font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:#64748b}
@media(max-width:720px){.pds-erp-head{display:block}.pds-erp-head .pds-mini{margin-top:10px}.pds-erp-v10 .pds-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.pds-erp-v10 .pds-kpi-card strong{font-size:23px}.pds-erp-v10 .pds-card h4{font-size:20px}}

/* v10.5.0 final accounts widgets */
.pds-erp-mini-report{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:10px 0}.pds-erp-mini-report>div{border:1px solid #dbe6f3;border-radius:14px;padding:12px;background:#fff}.pds-erp-mini-report span{display:block;color:#66758a;font-size:12px;text-transform:uppercase;font-weight:800}.pds-erp-mini-report b{display:block;margin-top:5px;font-size:20px;color:#0f172a}.pds-erp-strip{border:1px solid #dbe6f3;background:#f8fbff;border-radius:12px;padding:10px 12px;margin:8px 0 12px;color:#1f2a44}


/* v10.6.0 Industry UI/UX Polish */
.pds-sce-app{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;letter-spacing:-.01em}
.pds-sce-app *{box-sizing:border-box}
.pds-skip-link{position:absolute;left:-999px;top:10px;background:#fff;color:#111827;border:2px solid var(--pds-accent,#2563eb);border-radius:10px;padding:10px 12px;z-index:9999}
.pds-skip-link:focus{left:12px}
.pds-system-status{position:fixed;left:50%;top:12px;transform:translateX(-50%);z-index:100000;max-width:min(92vw,560px);padding:10px 14px;border-radius:999px;background:#0f172a;color:#fff;box-shadow:0 18px 55px rgba(15,23,42,.22);font-size:13px;opacity:0;pointer-events:none;transition:opacity .2s ease,transform .2s ease}
.pds-system-status:not(:empty){opacity:1;transform:translateX(-50%) translateY(0)}
.pds-system-status.is-offline{background:#991b1b}.pds-system-status.is-online{background:#166534}
body.pds-is-offline .pds-topbar{box-shadow:0 0 0 2px rgba(220,38,38,.18),0 16px 50px rgba(15,23,42,.14)}
.pds-main-shell:focus{outline:0}
.pds-card,.pds-login-card,.pds-hero-card,.pds-screen-card{border:1px solid rgba(148,163,184,.28)!important;box-shadow:0 16px 45px rgba(15,23,42,.07)!important}
.pds-card:hover,.pds-screen-card:hover{box-shadow:0 22px 70px rgba(15,23,42,.10)!important}
.pds-topbar{backdrop-filter:saturate(160%) blur(12px);box-shadow:0 12px 35px rgba(15,23,42,.16)}
.pds-btn,.pds-mini,.pds-fullscreen-toggle,.pds-sidebar-compact-toggle,.pds-logout{transition:transform .16s ease,box-shadow .16s ease,filter .16s ease}
.pds-btn:hover,.pds-mini:hover,.pds-fullscreen-toggle:hover,.pds-sidebar-compact-toggle:hover,.pds-logout:hover{filter:brightness(1.04);box-shadow:0 10px 24px rgba(37,99,235,.20)}
.pds-touch-feedback{transform:scale(.985)!important}
.pds-sce-app input:focus-visible,.pds-sce-app select:focus-visible,.pds-sce-app textarea:focus-visible,.pds-sce-app button:focus-visible,.pds-sce-app a:focus-visible{outline:3px solid color-mix(in srgb,var(--pds-accent,#2563eb) 35%,transparent);outline-offset:2px}
.pds-responsive-table{width:100%;overflow:auto;-webkit-overflow-scrolling:touch;border-radius:14px}
.pds-responsive-table table{min-width:760px}
.pds-sce-app table th{position:sticky;top:0;background:#f8fafc;z-index:1}
.pds-empty-state{border:1px dashed #cbd5e1;border-radius:18px;background:linear-gradient(135deg,#f8fafc,#fff);padding:24px;text-align:center}
.pds-status-pill,.pds-pill{font-weight:700}
.pds-login-grid{background:radial-gradient(circle at top left,rgba(37,99,235,.14),transparent 35%),radial-gradient(circle at bottom right,rgba(213,16,24,.10),transparent 30%)}
.pds-login-card{animation:pdsCardIn .28s ease both}@keyframes pdsCardIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
.pds-admin-health{background:#fff;border:1px solid #dcdcde;border-left:4px solid #2271b1;border-radius:12px;padding:16px 18px;margin:12px 0 20px;max-width:1180px;box-shadow:0 8px 24px rgba(0,0,0,.05)}
.pds-admin-health.is-ok{border-left-color:#00a32a}.pds-admin-health.is-warn{border-left-color:#d63638}
.pds-health-head h3{margin:0 0 4px;font-size:18px}.pds-health-head p{margin:0 0 12px;color:#646970}
.pds-health-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:10px 0}
.pds-health-grid div{background:#f6f7f7;border:1px solid #dcdcde;border-radius:10px;padding:12px}
.pds-health-grid small{display:block;color:#646970}.pds-health-grid strong{display:block;font-size:22px;margin-top:4px}
.pds-health-ok{color:#007017}.pds-health-warn{color:#b32d2e}
@media (prefers-reduced-motion:reduce){.pds-login-card,.pds-btn,.pds-mini,.pds-system-status{animation:none!important;transition:none!important}}
@media(max-width:720px){.pds-system-status{top:8px}.pds-responsive-table table{min-width:680px}.pds-card:hover,.pds-screen-card:hover{box-shadow:0 16px 45px rgba(15,23,42,.07)!important}}


/* v10.7 Accounts ERP professional section navigation */
.pds-erp-v10{position:relative}
.pds-erp-subnav{position:sticky;top:72px;z-index:6;display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:14px 0 16px;padding:10px;border:1px solid #dbe7f5;border-radius:18px;background:rgba(255,255,255,.94);backdrop-filter:blur(10px);box-shadow:0 14px 34px rgba(15,23,42,.08)}
.pds-erp-subnav button{appearance:none;border:1px solid #d6e2f1;background:#f8fbff;color:#0f2544;border-radius:999px;padding:10px 14px;font-weight:800;cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,background .16s ease}
.pds-erp-subnav button:hover{transform:translateY(-1px);box-shadow:0 10px 22px rgba(15,23,42,.10)}
.pds-erp-subnav button.active{background:#2563eb;color:#fff;border-color:#2563eb;box-shadow:0 12px 26px rgba(37,99,235,.24)}
.pds-erp-v10 .pds-card,.pds-erp-v10 .pds-kpi-card{border-color:#dbe7f5;box-shadow:0 16px 46px rgba(15,23,42,.06)}
.pds-erp-v10 .pds-card h4{font-size:20px;margin-bottom:16px;letter-spacing:-.02em}
.pds-erp-v10 .pds-erp-strip{border-radius:14px;background:linear-gradient(135deg,#f8fbff,#eef6ff);border:1px solid #dbe7f5}
.pds-erp-v10 .pds-responsive-table{border:1px solid #e2edf8;background:#fff}
.pds-erp-v10 input,.pds-erp-v10 select,.pds-erp-v10 textarea{min-height:44px}
.pds-erp-v10 .pds-form-result{margin-top:10px}
@media(max-width:900px){.pds-erp-subnav{top:60px;overflow-x:auto;flex-wrap:nowrap}.pds-erp-subnav button{white-space:nowrap}.pds-erp-v10 .pds-v43-split{grid-template-columns:1fr!important}}


/* v10.7.1 Accounts ERP hotfix: tab isolation, no horizontal clipping, professional dense UI */
.pds-erp-v10{
  overflow:hidden;
  max-width:100%;
}
.pds-erp-v10 .pds-erp-head{
  position:relative;
  overflow:hidden;
}
.pds-erp-v10 .pds-erp-head>div:last-child{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.pds-erp-subnav{
  position:sticky;
  top:0;
  z-index:8;
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  align-items:center;
  margin:10px 0 14px;
  padding:10px;
  border:1px solid #dbeafe;
  border-radius:18px;
  background:rgba(255,255,255,.94);
  backdrop-filter:saturate(160%) blur(10px);
  box-shadow:0 12px 30px rgba(15,23,42,.06);
}
.pds-erp-subnav button{
  border:1px solid #d6e3f5;
  background:#f8fbff;
  color:#0f2544;
  border-radius:12px;
  padding:9px 13px;
  font-weight:900;
  cursor:pointer;
  transition:transform .15s ease,box-shadow .15s ease,background .15s ease;
}
.pds-erp-subnav button:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(37,99,235,.14)}
.pds-erp-subnav button.active,
.pds-erp-subnav button[aria-selected="true"]{
  background:#2563eb;
  border-color:#2563eb;
  color:#fff;
  box-shadow:0 10px 24px rgba(37,99,235,.24);
}
.pds-erp-v10 > .pds-kpi-grid,
.pds-erp-v10 > .pds-erp-group{display:none}
.pds-erp-v10[data-pds-erp-active="overview"] > .pds-kpi-grid{display:grid}
.pds-erp-v10[data-pds-erp-active="overview"] > .pds-erp-group-overview{display:block}
.pds-erp-v10[data-pds-erp-active="masters"] > .pds-erp-group-masters,
.pds-erp-v10[data-pds-erp-active="transactions"] > .pds-erp-group-transactions,
.pds-erp-v10[data-pds-erp-active="dues"] > .pds-erp-group-dues,
.pds-erp-v10[data-pds-erp-active="registers"] > .pds-erp-group-registers,
.pds-erp-v10[data-pds-erp-active="ledgers"] > .pds-erp-group-ledgers,
.pds-erp-v10[data-pds-erp-active="wallet"] > .pds-erp-group-wallet,
.pds-erp-v10[data-pds-erp-active="final"] > .pds-erp-group-final{display:block}
.pds-erp-v10 .pds-v43-split{
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:start;
}
.pds-erp-v10 .pds-v43-split>section,
.pds-erp-v10 .pds-v43-split>div,
.pds-erp-v10 .pds-card,
.pds-erp-v10 .pds-responsive-table{min-width:0;max-width:100%}
.pds-erp-v10 .pds-responsive-table{overflow:auto}
.pds-erp-v10 .pds-responsive-table table{min-width:720px}
.pds-final-accounts .pds-v43-split{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.pds-final-accounts h4{margin-top:8px}
.pds-final-accounts .pds-kpi-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}
.pds-v43-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
@media(max-width:1100px){
  .pds-erp-v10 .pds-v43-split,
  .pds-final-accounts .pds-v43-split{grid-template-columns:1fr}
}
@media(max-width:720px){
  .pds-erp-subnav{top:0;gap:6px;padding:8px;border-radius:14px;overflow-x:auto;flex-wrap:nowrap}
  .pds-erp-subnav button{white-space:nowrap;padding:8px 10px;font-size:12px}
  .pds-erp-v10 .pds-erp-head>div:last-child{justify-content:flex-start;margin-top:10px}
  .pds-erp-v10 .pds-responsive-table table{min-width:640px}
}

.pds-erp-v10[data-pds-erp-active="masters"] > .pds-v43-split.pds-erp-group-masters,
.pds-erp-v10[data-pds-erp-active="transactions"] > .pds-v43-split.pds-erp-group-transactions,
.pds-erp-v10[data-pds-erp-active="registers"] > .pds-v43-split.pds-erp-group-registers,
.pds-erp-v10[data-pds-erp-active="ledgers"] > .pds-v43-split.pds-erp-group-ledgers{display:grid}

/* v10.7.2 enterprise branding polish */
.pds-brand-logo{width:44px;height:44px;border-radius:14px;background:#fff;display:grid;place-items:center;overflow:hidden;border:1px solid rgba(255,255,255,.16);box-shadow:0 8px 18px rgba(0,0,0,.18)}
.pds-brand-logo img{max-width:100%;max-height:100%;object-fit:contain}
.pds-login-logo{display:flex;justify-content:center;margin:0 0 12px}
.pds-login-logo img{max-width:180px;max-height:74px;object-fit:contain;border-radius:14px}


/* v10.7.3 ticket detail tab hotfix: keep active tab content visible in injected manager views */
.pds-v74-ticket > .pds-v74-tab-panel,
.pds-v74-ticket .pds-v74-tab-panel[hidden]{display:none!important}
.pds-v74-ticket > .pds-v74-tab-panel.active,
.pds-v74-ticket .pds-v74-tab-panel.active{display:block!important}
.pds-v74-ticket > .pds-v74-tab-panel.active{min-height:220px}
.pds-v74-tabs .pds-v74-tab:focus-visible{outline:3px solid rgba(37,99,235,.28);outline-offset:2px}
.pds-v74-tab-panel .pds-v74-card:first-child{animation:pdsPanelIn .12s ease-out}
@keyframes pdsPanelIn{from{opacity:.55;transform:translateY(2px)}to{opacity:1;transform:none}}


/* v10.7.4 Internal Notes timeline */
.pds-internal-note-card{border:1px solid #dfe9f4;border-radius:18px;background:linear-gradient(180deg,#fff,#f8fbff);padding:16px;margin-top:14px;box-shadow:0 12px 28px rgba(15,35,65,.05)}
.pds-note-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}
.pds-note-card-head h3{margin:0 0 4px!important}
.pds-note-count{display:inline-flex;align-items:center;white-space:nowrap;border-radius:999px;background:#eef4ff;color:#1d4ed8;font-weight:900;padding:7px 11px;font-size:12px}
.pds-internal-note-form{border:1px solid #e3ecf6;background:#fff;border-radius:14px;padding:12px;margin:10px 0 14px}
.pds-note-legacy{border-left:4px solid #93c5fd;background:#f8fbff;border-radius:12px;padding:10px 12px;margin:10px 0;color:#334155}
.pds-note-timeline{display:grid;gap:10px;max-height:360px;overflow:auto;padding-right:4px}
.pds-note-item{border:1px solid #e3ecf6;background:#fff;border-radius:14px;padding:12px}
.pds-note-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;margin-bottom:6px;color:#64748b;font-size:12px}
.pds-note-meta b{color:#0f172a;font-size:13px}.pds-note-meta em{font-style:normal;background:#f1f5f9;border-radius:999px;padding:4px 8px;color:#334155}.pds-note-body{white-space:normal;line-height:1.55;color:#0f172a}
@media(max-width:900px){.pds-note-card-head{flex-direction:column}.pds-note-timeline{max-height:none}}


/* v10.7.7 pickup-to-L1 receive queue polish */
.pds-receive-queue-table td{vertical-align:top}
.pds-inline-action-form{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap;margin:.25rem 0}
.pds-inline-action-form select{min-width:220px}
.pds-direct-l1{margin-top:.55rem;border:1px dashed rgba(37,99,235,.25);border-radius:12px;padding:.45rem .6rem;background:rgba(37,99,235,.04)}
.pds-direct-l1 summary{cursor:pointer;font-weight:800;color:#334155;margin-bottom:.35rem}


/* v10.8.1 GST Accounts dashboard inspired by mature ERP layouts */
.pds-qikref-dashboard{background:linear-gradient(180deg,#ffffff,#fbfdff);border:1px solid #dbe8f5}
.pds-qikref-grid{display:grid;grid-template-columns:1fr 1.1fr 1fr;gap:14px;margin-top:12px}
.pds-qik-card{border:1px solid #dbe6f3;border-radius:16px;background:#fff;box-shadow:0 10px 24px rgba(15,35,65,.045);padding:14px}
.pds-qik-title{font-weight:900;color:#0f172a;margin-bottom:12px;font-size:15px}
.pds-qik-funnel-row{display:flex;justify-content:space-between;align-items:center;gap:10px;background:linear-gradient(90deg,#0f6b2f,#18a646);color:#fff;border-radius:8px;padding:10px 12px;margin:8px 0;font-weight:850}
.pds-qik-funnel-row:nth-child(2){background:linear-gradient(90deg,#0c4a6e,#0284c7)}
.pds-qik-funnel-row:nth-child(3){background:linear-gradient(90deg,#4c1d95,#7c3aed)}
.pds-qik-funnel-row:nth-child(4){background:linear-gradient(90deg,#92400e,#f59e0b)}
.pds-qik-funnel-row:nth-child(5){background:linear-gradient(90deg,#9f1239,#e11d48)}
.pds-qik-funnel-row b{font-size:18px}
.pds-qik-sales-row{position:relative;display:grid;grid-template-columns:1fr auto;gap:10px;padding:8px 0 14px;border-bottom:1px solid #edf2f7}
.pds-qik-sales-row:last-child{border-bottom:0}
.pds-qik-sales-row span{color:#334155;font-weight:800}.pds-qik-sales-row b{color:#0f172a}
.pds-qik-sales-row em{position:absolute;left:0;bottom:5px;height:5px;border-radius:999px;background:linear-gradient(90deg,#ffedd5,#f97316);min-width:14px}
.pds-qik-action-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.pds-qik-action{cursor:pointer;text-align:left;border:1px solid #cbd5e1;background:#f8fafc;border-radius:12px;padding:12px;min-height:76px;transition:.18s ease}
.pds-qik-action:hover{transform:translateY(-1px);box-shadow:0 12px 24px rgba(15,35,65,.08);border-color:#2563eb}
.pds-qik-action span{display:block;font-weight:850;color:#334155;margin-bottom:8px}.pds-qik-action b{font-size:18px;color:#0f172a}
.pds-qik-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:9px;margin:14px 0}
.pds-qik-shortcuts a,.pds-qik-shortcuts button{border:0;border-radius:9px;background:#0f2942;color:#fff;text-decoration:none;font-weight:900;text-align:center;padding:10px 12px;cursor:pointer;box-shadow:0 8px 18px rgba(15,41,66,.12)}
.pds-qik-shortcuts a:nth-child(n+4),.pds-qik-shortcuts button:nth-child(n+4){background:#08781f}
.pds-qik-mini-split{display:grid;grid-template-columns:1.3fr .8fr;gap:14px;margin-top:10px}
.pds-qik-mini-split h5{margin:0 0 10px;font-size:15px}
.pds-qik-stat-row{display:flex;justify-content:space-between;gap:12px;border:1px solid #e2e8f0;border-radius:12px;padding:12px;margin-bottom:9px;background:#fff}
.pds-qik-stat-row span{color:#475569;font-weight:800}.pds-qik-stat-row b{color:#0f172a}
@media(max-width:1100px){.pds-qikref-grid,.pds-qik-mini-split{grid-template-columns:1fr}.pds-qik-shortcuts{grid-template-columns:repeat(2,minmax(130px,1fr))}}
@media(max-width:620px){.pds-qik-action-grid,.pds-qik-shortcuts{grid-template-columns:1fr}}


/* v10.8.2 Smart Command Center Dashboard */
.pds-command-screen{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
.pds-command-center{--cmd-navy:#0f172a;--cmd-blue:#2563eb;--cmd-cyan:#06b6d4;--cmd-green:#16a34a;--cmd-amber:#f59e0b;--cmd-red:#dc2626;--cmd-soft:#eef6ff;--cmd-border:#d8e5f6;color:#0f172a}
.pds-command-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 10px;padding:16px 18px;background:linear-gradient(135deg,#0b1224,#1d4ed8 55%,#06b6d4);color:#fff;border-radius:22px;box-shadow:0 18px 42px rgba(15,23,42,.22)}
.pds-command-head h2{margin:0;font-size:28px;color:#fff;line-height:1.05}.pds-command-head p{margin:3px 0 0;color:#dbeafe}.pds-command-head .pds-kicker{letter-spacing:.08em;text-transform:uppercase;font-weight:800;font-size:11px;color:#bfdbfe}
.pds-command-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.pds-command-controls select,.pds-command-auto{background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.28);color:#fff;border-radius:12px;padding:10px 12px;font-weight:800}.pds-command-controls select option{color:#111827}.pds-command-auto{display:flex;align-items:center;gap:6px}.pds-command-refresh{background:#fff!important;color:#1d4ed8!important;border:0!important;box-shadow:0 10px 24px rgba(15,23,42,.24)!important}
.pds-command-meta{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:0 0 10px;color:#58708e;font-size:12px}.pds-command-center.is-loading .pds-command-updated:after{content:"";display:inline-block;width:9px;height:9px;margin-left:8px;border:2px solid #9db5d6;border-top-color:#2563eb;border-radius:50%;animation:pdsSpin .8s linear infinite}@keyframes pdsSpin{to{transform:rotate(360deg)}}
.pds-command-kpis{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:10px;margin-bottom:10px}.pds-smart-kpi{position:relative;display:block;text-decoration:none;color:#0f172a;background:#fff;border:1px solid var(--cmd-border);border-radius:18px;padding:12px 13px;min-height:88px;overflow:hidden;box-shadow:0 12px 28px rgba(15,23,42,.06)}.pds-smart-kpi:before{content:"";position:absolute;inset:auto 0 0;height:4px;background:#2563eb}.pds-smart-kpi small{display:block;color:#64748b;text-transform:uppercase;letter-spacing:.06em;font-size:10px;font-weight:900}.pds-smart-kpi strong{display:block;margin-top:4px;font-size:24px;line-height:1;font-weight:900}.pds-smart-kpi span{display:block;margin-top:5px;color:#64748b;font-size:11px}.pds-smart-kpi.tone-success:before{background:var(--cmd-green)}.pds-smart-kpi.tone-warning:before{background:var(--cmd-amber)}.pds-smart-kpi.tone-danger:before{background:var(--cmd-red)}.pds-smart-kpi.tone-info:before{background:var(--cmd-cyan)}
.pds-command-grid{display:grid;grid-template-columns:1.15fr 1fr .9fr .95fr;gap:10px;align-items:stretch}.pds-command-panel{background:#fff;border:1px solid var(--cmd-border);border-radius:20px;padding:13px;min-height:335px;box-shadow:0 12px 28px rgba(15,23,42,.06);overflow:hidden}.pds-panel-title{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:10px;border-bottom:1px solid #eef4fb;padding-bottom:8px}.pds-panel-title h3{margin:0;font-size:17px;font-weight:900;color:#0f172a}.pds-panel-title span{font-size:11px;font-weight:800;color:#64748b;background:#f1f5f9;border-radius:999px;padding:5px 8px}
.pds-ageing-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-bottom:10px}.pds-age-card{display:block;text-decoration:none;border:1px solid #dce8f7;background:linear-gradient(180deg,#f8fbff,#fff);border-radius:14px;padding:9px;color:#0f172a}.pds-age-card span{display:block;font-size:11px;color:#64748b;font-weight:900}.pds-age-card strong{display:block;font-size:18px;margin-top:2px}.pds-age-card small{color:#64748b}
.pds-mini-chart{border:1px solid #e1ebf8;border-radius:14px;padding:9px;margin-bottom:10px;background:#fbfdff}.pds-chart-caption{display:flex;justify-content:space-between;font-size:11px;color:#64748b;margin-bottom:5px}.pds-smart-line{width:100%;height:68px}.pds-smart-line polygon{fill:rgba(37,99,235,.12)}.pds-smart-line polyline{fill:none;stroke:#2563eb;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.pds-topdue>b{display:block;margin-bottom:6px}.pds-due-row{display:flex;justify-content:space-between;gap:8px;align-items:center;text-decoration:none;color:#0f172a;border:1px solid #e5edf7;border-radius:12px;padding:8px;margin:5px 0;background:#fff}.pds-due-row small{display:block;color:#64748b}.pds-due-row>b{color:#dc2626}
.pds-smart-bars,.pds-staff-load{display:grid;gap:8px}.pds-smart-bar,.pds-staff-row{position:relative;display:flex;justify-content:space-between;align-items:center;text-decoration:none;color:#0f172a;border:1px solid #e1ebf8;border-radius:13px;padding:9px 10px;overflow:hidden;background:#fff}.pds-smart-bar span,.pds-staff-row span{position:relative;z-index:1;font-weight:800}.pds-smart-bar b,.pds-staff-row b{position:relative;z-index:1}.pds-smart-bar i,.pds-staff-row i{position:absolute;left:0;top:0;bottom:0;background:linear-gradient(90deg,rgba(37,99,235,.16),rgba(6,182,212,.08));z-index:0}.pds-staff-row small{display:block;color:#64748b;font-weight:600}.pds-staff-row.risk i{background:linear-gradient(90deg,rgba(220,38,38,.18),rgba(245,158,11,.08))}.pds-staff-row.ok i{background:linear-gradient(90deg,rgba(22,163,74,.16),rgba(37,99,235,.06))}
.pds-sla-strip{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}.pds-sla-strip span,.pds-sla-strip b{font-size:11px;border-radius:999px;padding:6px 8px;background:#f1f5f9;color:#334155}.pds-sla-strip span{background:#fee2e2;color:#991b1b}
.pds-alert-row{display:flex;justify-content:space-between;gap:10px;text-decoration:none;color:#0f172a;border:1px solid #e1ebf8;border-left:4px solid #2563eb;border-radius:14px;padding:10px;margin-bottom:8px;background:#fff}.pds-alert-row strong{display:block}.pds-alert-row small{display:block;color:#64748b;margin-top:2px}.pds-alert-row b{align-self:center;white-space:nowrap;background:#eff6ff;color:#1d4ed8;border-radius:999px;padding:6px 9px;font-size:11px}.pds-alert-row.danger{border-left-color:#dc2626}.pds-alert-row.warning{border-left-color:#f59e0b}.pds-alert-row.success{border-left-color:#16a34a}.pds-empty-mini{padding:18px;border:1px dashed #cbd5e1;border-radius:14px;color:#64748b;background:#f8fafc;text-align:center}
@media (max-width:1500px){.pds-command-kpis{grid-template-columns:repeat(4,1fr)}.pds-command-grid{grid-template-columns:1fr 1fr}.pds-command-panel{min-height:300px}}@media (max-width:900px){.pds-command-head{display:block}.pds-command-controls{justify-content:flex-start;margin-top:12px}.pds-command-kpis{grid-template-columns:repeat(2,1fr)}.pds-command-grid{grid-template-columns:1fr}.pds-command-panel{min-height:auto}.pds-command-meta{display:block}.pds-smart-kpi strong{font-size:22px}}



/* v10.8.4 Advanced graphical dashboard polish */
.pds-command-controls select.pds-command-range,
.pds-command-controls .pds-command-range{
  min-width:118px;background:#ffffff!important;color:#0f172a!important;border:1px solid rgba(255,255,255,.55)!important;
  box-shadow:0 10px 24px rgba(15,23,42,.12);outline:none;
}
.pds-command-controls select.pds-command-range:focus{box-shadow:0 0 0 3px rgba(147,197,253,.45),0 10px 24px rgba(15,23,42,.12)}
.pds-command-panel{display:flex;flex-direction:column}
.pds-recovery-visual,.pds-bottleneck-visual{display:grid;grid-template-columns:.95fr 1.05fr;gap:10px;align-items:stretch;margin-bottom:10px}
.pds-donut-card{display:grid;grid-template-columns:126px 1fr;gap:10px;align-items:center;border:1px solid #e1ebf8;border-radius:16px;background:linear-gradient(180deg,#fbfdff,#fff);padding:10px;min-height:132px}
.pds-donut{width:118px;height:118px;border-radius:50%;position:relative;display:grid;place-items:center;box-shadow:inset 0 0 0 1px rgba(15,23,42,.04),0 10px 22px rgba(15,23,42,.08)}
.pds-donut:after{content:"";position:absolute;inset:22px;border-radius:50%;background:#fff;box-shadow:inset 0 0 0 1px #e6eef8}
.pds-donut>div{position:relative;z-index:1;text-align:center;line-height:1.05;max-width:70px}
.pds-donut b{display:block;font-size:14px;font-weight:950;color:#0f172a;white-space:normal;word-break:break-word}
.pds-donut small{display:block;margin-top:3px;font-size:9px;text-transform:uppercase;letter-spacing:.06em;color:#64748b;font-weight:900}
.pds-donut-legend{display:grid;gap:7px}
.pds-donut-legend span{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:11px;color:#334155;font-weight:800;border-bottom:1px dashed #e5edf7;padding-bottom:4px}
.pds-donut-legend i{width:10px;height:10px;border-radius:3px;display:inline-block;margin-right:5px;flex:0 0 auto}
.pds-donut-legend b{margin-left:auto;color:#0f172a}
.pds-ageing-grid.compact{grid-template-columns:repeat(2,1fr);margin:0}
.pds-ageing-grid.compact .pds-age-card{padding:8px;min-height:58px}
.pds-ageing-grid.compact .pds-age-card strong{font-size:15px}
.pds-mini-chart.advanced{padding:10px 10px 7px;background:linear-gradient(180deg,#ffffff,#f8fbff)}
.pds-chart-box{border:1px solid #e2ebf6;border-radius:14px;background:#fff;padding:6px}
.pds-line-chart{width:100%;height:144px;display:block}
.pds-line-chart .grid line{stroke:#e8f0fa;stroke-width:1}
.pds-line-chart .lines polyline{fill:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 3px 3px rgba(37,99,235,.12))}
.pds-line-chart .labels text{fill:#64748b;font-size:11px;font-weight:800}
.pds-chart-legend{display:flex;gap:10px;justify-content:flex-end;align-items:center;font-size:11px;font-weight:900;color:#475569;padding:3px 4px 0}
.pds-chart-legend span{display:flex;gap:5px;align-items:center}.pds-chart-legend i{display:inline-block;width:10px;height:10px;border-radius:999px}
.pds-tight-caption{margin:4px 0 6px}
.pds-graph-bars{display:grid;gap:7px}
.pds-graph-bar{position:relative;display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:38px;border:1px solid #e1ebf8;border-radius:13px;background:#fff;text-decoration:none;color:#0f172a;padding:8px 10px;overflow:hidden}
.pds-graph-bar span,.pds-graph-bar em{position:relative;z-index:1}.pds-graph-bar b{display:block}.pds-graph-bar small{display:block;color:#64748b;font-weight:700;margin-top:2px}.pds-graph-bar em{font-style:normal;font-weight:950}
.pds-graph-bar i{position:absolute;left:0;top:0;bottom:0;opacity:.18;border-radius:0 12px 12px 0}
.pds-graph-bar:hover{border-color:#93c5fd;box-shadow:0 8px 18px rgba(37,99,235,.10);transform:translateY(-1px)}
.pds-staff-graph .pds-graph-bar{min-height:46px}
.pds-staff-risk-mini{margin-top:10px;border:1px solid #e1ebf8;border-radius:14px;background:#fbfdff;padding:10px;display:grid;gap:6px}
.pds-staff-risk-mini>b{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:#64748b}
.pds-staff-risk-mini a{display:flex;justify-content:space-between;text-decoration:none;color:#0f172a;padding:7px 8px;border-radius:10px;background:#fff;border:1px solid #edf3fb;font-weight:900}
.pds-staff-risk-mini a.risk{background:#fff1f2;border-color:#fecdd3}.pds-staff-risk-mini a.risk b{color:#dc2626}
.pds-staff-risk-mini a.ok{background:#f0fdf4;border-color:#bbf7d0}.pds-staff-risk-mini a.ok b{color:#16a34a}
@media (min-width:1501px){
  .pds-command-grid{grid-template-columns:1.18fr 1fr .92fr .92fr}
  .pds-command-panel{min-height:390px}
}
@media (max-width:1300px){
  .pds-recovery-visual,.pds-bottleneck-visual{grid-template-columns:1fr}
  .pds-donut-card{grid-template-columns:110px 1fr}.pds-donut{width:104px;height:104px}
}
@media (max-width:620px){
  .pds-donut-card{grid-template-columns:1fr;text-align:center}.pds-donut{margin:0 auto}.pds-chart-legend{justify-content:flex-start;flex-wrap:wrap}
}

/* v10.8.3 dashboard finance restriction */
.pds-finance-locked{min-height:210px;border:1px dashed #cbd5e1;border-radius:18px;background:linear-gradient(135deg,#f8fafc,#eef6ff);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px;color:#475569}.pds-finance-locked b{font-size:18px;color:#0f172a;margin-bottom:8px}.pds-finance-locked span{max-width:420px;line-height:1.45}


/* v10.8.6 drill-down/filter polish */
.pds-command-range-wrap{display:flex;align-items:center;gap:7px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.25);border-radius:14px;padding:7px 8px;color:#e0f2fe;font-weight:900}
.pds-command-range-wrap span{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#dbeafe}
.pds-command-range-wrap select.pds-command-range{min-width:135px;height:38px;background:#fff!important;color:#0f172a!important;border:0!important;border-radius:10px!important;padding:0 32px 0 12px!important;font-weight:900!important;appearance:auto!important;-webkit-appearance:menulist!important}
.pds-dashboard-filter-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0 12px;padding:12px 14px;border:1px solid #bfdbfe;border-left:5px solid #2563eb;border-radius:16px;background:linear-gradient(90deg,#eff6ff,#fff);box-shadow:0 10px 22px rgba(37,99,235,.08)}
.pds-dashboard-filter-banner b{display:block;color:#0f172a;font-size:14px}
.pds-dashboard-filter-banner span{display:block;color:#64748b;font-size:12px;margin-top:2px}
.pds-drill-match{outline:2px solid rgba(37,99,235,.22);box-shadow:0 10px 22px rgba(37,99,235,.08)!important}
.pds-dashboard-no-match{margin:12px 0;padding:14px;border:1px dashed #94a3b8;border-radius:14px;background:#f8fafc;color:#64748b;text-align:center;font-weight:800}
.pds-command-center a[data-pds-dashboard-drill],.pds-command-center .pds-graph-bar,.pds-command-center .pds-age-card,.pds-command-center .pds-alert-row{cursor:pointer}
.pds-command-center a[data-pds-dashboard-drill]:hover,.pds-command-center .pds-graph-bar:hover,.pds-command-center .pds-age-card:hover,.pds-command-center .pds-alert-row:hover{transform:translateY(-1px);box-shadow:0 14px 30px rgba(37,99,235,.13);border-color:#93c5fd}
@media (max-width:900px){.pds-command-range-wrap{width:100%;justify-content:space-between}.pds-command-range-wrap select.pds-command-range{flex:1;min-width:0}}


/* v10.8.7 Smart Command Center polish: live ticket side panel + stronger drill-down filter */
.pds-live-ticket-panel{margin-top:12px;padding-top:10px;border-top:1px solid #e8f1fb}
.pds-panel-subtitle{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.pds-panel-subtitle b{font-size:13px;font-weight:900;color:#0f172a}
.pds-panel-subtitle span{font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;color:#64748b;background:#f1f5f9;border-radius:999px;padding:4px 7px}
.pds-command-live{display:grid;gap:7px;max-height:210px;overflow:auto;padding-right:2px}
.pds-live-ticket-row{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:8px;text-decoration:none;color:#0f172a;border:1px solid #e2eaf5;background:linear-gradient(90deg,#f8fbff,#fff);border-radius:13px;padding:8px 9px;box-shadow:0 6px 16px rgba(15,23,42,.035)}
.pds-live-ticket-row:hover{border-color:#93c5fd;box-shadow:0 10px 20px rgba(37,99,235,.1)}
.pds-live-ticket-row span{min-width:0}.pds-live-ticket-row b{display:block;font-size:12px;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pds-live-ticket-row small{display:block;color:#64748b;font-size:10px;margin-top:2px}.pds-live-ticket-row em{font-style:normal;font-size:10px;font-weight:900;color:#1d4ed8;background:#dbeafe;border-radius:999px;padding:5px 7px;white-space:nowrap}.pds-live-ticket-row strong{font-size:12px;font-weight:900;color:#0f172a;white-space:nowrap}
.pds-dashboard-filter-banner-v1087{position:sticky;top:0;z-index:4}
.pds-queue-group .pds-compact-ticket-row.pds-drill-hidden{display:none!important}
.pds-queue-group .pds-compact-ticket-row.pds-drill-match{display:grid!important}
.pds-manager-queue-filter.is-dashboard-filtered{opacity:.65}
.pds-row.compact{gap:8px;margin:6px 0}.pds-row.compact label{font-size:12px}
@media(max-width:1280px){.pds-command-grid{grid-template-columns:1fr 1fr}.pds-panel-alerts{grid-column:auto}}
@media(max-width:900px){.pds-live-ticket-row{grid-template-columns:1fr}.pds-command-live{max-height:none}}


/* v10.8.8 Modern technical report snapshot + staff-only ticket history drawer */
.pds-tech-report-console{
  border:1px solid rgba(148,163,184,.28);
  background:linear-gradient(135deg,#ffffff 0%,#f8fbff 60%,#eef6ff 100%);
  border-radius:22px;
  padding:18px;
  margin:14px 0 18px;
  box-shadow:0 18px 46px rgba(15,23,42,.08);
}
.pds-tech-report-head{
  display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px;
}
.pds-tech-report-head h3{margin:2px 0 2px;font-size:20px;letter-spacing:-.02em;}
.pds-latest-report-card{
  border:1px solid rgba(37,99,235,.18);
  border-radius:18px;
  background:#fff;
  padding:16px;
  box-shadow:0 12px 32px rgba(37,99,235,.08);
}
.pds-latest-report-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:8px;}
.pds-latest-report-meta span{
  background:#dbeafe;color:#1d4ed8;border-radius:999px;padding:6px 10px;font-weight:800;font-size:12px;
}
.pds-latest-report-meta b{color:#0f172a;font-size:13px;}
.pds-latest-report-meta em{font-style:normal;color:#64748b;font-size:12px;}
.pds-report-summary{margin:10px 0 14px;color:#0f172a;font-weight:700;line-height:1.45;}
.pds-report-field-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}
.pds-report-field-grid>div{
  border:1px solid #e2e8f0;
  background:linear-gradient(180deg,#f8fafc,#fff);
  border-radius:14px;
  padding:10px 12px;
  min-height:64px;
}
.pds-report-field-grid small{display:block;color:#64748b;font-size:11px;text-transform:uppercase;letter-spacing:.04em;font-weight:800;margin-bottom:5px;}
.pds-report-field-grid b{display:block;color:#0f172a;font-size:14px;line-height:1.3;word-break:break-word;}
.pds-report-photos{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px;}
.pds-report-photos a{font-weight:800;font-size:12px;border-radius:999px;background:#eff6ff;color:#1d4ed8;padding:7px 10px;text-decoration:none;}
.pds-report-mini-timeline{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:12px;
}
.pds-report-mini-timeline>div{border:1px dashed #cbd5e1;border-radius:14px;padding:10px;background:#f8fafc;}
.pds-report-mini-timeline span,.pds-report-mini-timeline b,.pds-report-mini-timeline em{display:block;}
.pds-report-mini-timeline span{font-size:11px;color:#2563eb;font-weight:800;}
.pds-report-mini-timeline b{font-size:12px;color:#0f172a;margin-top:3px;}
.pds-report-mini-timeline em{font-style:normal;font-size:11px;color:#64748b;margin-top:2px;}
.pds-empty-report{
  border:1px dashed #cbd5e1;border-radius:16px;background:#f8fafc;padding:18px;text-align:center;color:#64748b;
}
.pds-empty-report b{display:block;color:#0f172a;margin-bottom:4px;}

.pds-history-lock{overflow:hidden;}
.pds-history-drawer{position:fixed;inset:0;z-index:99999;pointer-events:none;}
.pds-history-drawer.open{pointer-events:auto;}
.pds-history-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.34);opacity:0;transition:opacity .2s ease;}
.pds-history-drawer.open .pds-history-backdrop{opacity:1;}
.pds-history-panel{
  position:absolute;right:0;top:0;height:100%;width:min(460px,92vw);
  background:#fff;border-left:1px solid #dbe6f3;
  box-shadow:-28px 0 70px rgba(15,23,42,.22);
  transform:translateX(105%);transition:transform .24s ease;
  display:flex;flex-direction:column;
}
.pds-history-drawer.open .pds-history-panel{transform:translateX(0);}
.pds-history-head{
  display:flex;align-items:flex-start;justify-content:space-between;gap:14px;
  padding:20px 20px 14px;border-bottom:1px solid #e2e8f0;
  background:linear-gradient(135deg,#0f172a,#1d4ed8);
  color:#fff;
}
.pds-history-head .pds-kicker{color:#bfdbfe;}
.pds-history-head h3{margin:2px 0;font-size:22px;}
.pds-history-head p{margin:0;color:#dbeafe;}
.pds-history-head .pds-history-close{
  border:0;background:rgba(255,255,255,.16);color:#fff;border-radius:12px;min-width:38px;height:38px;
  font-size:24px;line-height:1;cursor:pointer;
}
.pds-history-timeline{padding:16px 18px 26px;overflow:auto;}
.pds-history-date{
  position:sticky;top:0;z-index:1;margin:8px 0 12px;padding:7px 10px;
  border-radius:999px;background:#eff6ff;color:#1e40af;font-weight:900;font-size:12px;width:max-content;
}
.pds-history-item{
  display:grid;grid-template-columns:72px 1fr;gap:12px;position:relative;padding:0 0 18px;
}
.pds-history-item:before{content:'';position:absolute;left:82px;top:10px;width:10px;height:10px;border-radius:999px;background:#2563eb;box-shadow:0 0 0 4px #dbeafe;}
.pds-history-item:after{content:'';position:absolute;left:86px;top:22px;bottom:0;width:2px;background:#e2e8f0;}
.pds-history-item time{font-size:12px;color:#64748b;font-weight:800;padding-top:2px;}
.pds-history-item>div{border:1px solid #e2e8f0;border-radius:16px;background:#fff;padding:12px;box-shadow:0 10px 24px rgba(15,23,42,.05);}
.pds-history-item b{display:block;color:#0f172a;font-size:14px;margin-bottom:2px;}
.pds-history-item span{display:block;color:#64748b;font-size:12px;}
.pds-history-change{display:inline-block!important;background:#f1f5f9;color:#334155!important;border-radius:999px;padding:5px 8px;margin-top:7px;font-weight:800;}
.pds-history-item p{margin:8px 0 0;color:#334155;line-height:1.42;font-size:13px;}
@media (max-width: 900px){
  .pds-report-field-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .pds-report-mini-timeline{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width: 640px){
  .pds-tech-report-head{flex-direction:column;}
  .pds-report-field-grid,.pds-report-mini-timeline{grid-template-columns:1fr;}
  .pds-history-panel{top:auto;bottom:0;right:0;left:0;width:100%;height:min(82vh,720px);border-left:0;border-radius:24px 24px 0 0;transform:translateY(105%);}
  .pds-history-drawer.open .pds-history-panel{transform:translateY(0);}
  .pds-history-item{grid-template-columns:58px 1fr;gap:10px;}
  .pds-history-item:before{left:66px;}
  .pds-history-item:after{left:70px;}
}



/* v10.8.9 Universal Team Notes / internal conversation polish */
.pds-team-note-card{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(37,99,235,.16);
  border-radius:24px;
  background:
    radial-gradient(circle at top left, rgba(37,99,235,.10), transparent 34%),
    linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
  padding:18px;
  box-shadow:0 18px 48px rgba(15,23,42,.08);
}
.pds-team-note-card:before{
  content:"";
  position:absolute;inset:0 0 auto 0;height:4px;
  background:linear-gradient(90deg,#2563eb,#06b6d4,#22c55e,#f59e0b);
}
.pds-team-note-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:14px;
}
.pds-team-note-head h3{
  margin:2px 0 4px!important;
  font-size:20px;
  letter-spacing:-.02em;
}
.pds-team-note-metrics{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.pds-team-note-metrics span{
  min-width:76px;
  border:1px solid rgba(148,163,184,.26);
  background:rgba(255,255,255,.86);
  border-radius:16px;
  padding:9px 11px;
  text-align:center;
  box-shadow:0 10px 22px rgba(15,23,42,.05);
}
.pds-team-note-metrics span.hot{background:#fff1f2;border-color:#fecdd3;color:#b91c1c}
.pds-team-note-metrics b{display:block;font-size:18px;line-height:1;color:#0f172a}
.pds-team-note-metrics small{display:block;margin-top:4px;font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#64748b;font-weight:850}
.pds-team-note-compose{
  border:1px solid rgba(37,99,235,.14);
  border-radius:18px;
  background:linear-gradient(180deg,#fff,#f8fbff);
  padding:14px;
  margin:10px 0 16px;
}
.pds-team-compose-top{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-bottom:10px;
}
.pds-team-compose-top label,.pds-team-note-text{
  display:flex;
  flex-direction:column;
  gap:6px;
  font-weight:850;
  color:#0f172a;
}
.pds-team-compose-top select,.pds-team-note-compose textarea{
  width:100%;
  border:1px solid #d7e5f5;
  border-radius:14px;
  background:#fff;
  box-shadow:inset 0 1px 0 rgba(15,23,42,.02);
}
.pds-team-note-compose textarea{min-height:84px;resize:vertical}
.pds-team-compose-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:12px;
}
.pds-team-note-help{
  color:#64748b;
  font-size:12px;
  line-height:1.45;
}
.pds-team-note-stream{
  display:grid;
  gap:12px;
  max-height:420px;
  overflow:auto;
  padding-right:4px;
}
.pds-team-message{
  display:grid;
  grid-template-columns:42px 1fr;
  gap:12px;
  border:1px solid rgba(148,163,184,.22);
  background:#fff;
  border-radius:18px;
  padding:13px;
  box-shadow:0 10px 24px rgba(15,23,42,.045);
}
.pds-team-message.priority-important{border-color:#fde68a;background:linear-gradient(180deg,#fff,#fffbeb)}
.pds-team-message.priority-urgent{border-color:#fecaca;background:linear-gradient(180deg,#fff,#fff1f2)}
.pds-team-avatar{
  width:42px;height:42px;border-radius:14px;
  display:flex;align-items:center;justify-content:center;
  color:#fff;font-weight:950;
  background:linear-gradient(135deg,#1d4ed8,#06b6d4);
  box-shadow:0 10px 18px rgba(37,99,235,.20);
}
.pds-team-message-meta{
  display:flex;
  align-items:center;
  gap:8px 10px;
  flex-wrap:wrap;
  margin-bottom:6px;
}
.pds-team-message-meta b{color:#0f172a;font-size:14px}
.pds-team-message-meta span{color:#64748b;font-size:12px}
.pds-team-message-meta em{
  font-style:normal;
  background:#f1f5f9;
  color:#334155;
  border-radius:999px;
  padding:4px 8px;
  font-size:11px;
  font-weight:850;
}
.pds-team-badges{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
  margin-bottom:8px;
}
.pds-team-badges span,.pds-history-note-tags span{
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  background:#e0f2fe;
  color:#0369a1;
  padding:4px 8px;
  font-size:11px;
  font-weight:900;
}
.pds-team-badges .priority-important,.pds-history-note-tags .priority-important{background:#fef3c7;color:#92400e}
.pds-team-badges .priority-urgent,.pds-history-note-tags .priority-urgent{background:#fee2e2;color:#b91c1c}
.pds-team-badges .priority-normal,.pds-history-note-tags .priority-normal{background:#dcfce7;color:#166534}
.pds-team-note-body{
  color:#0f172a;
  line-height:1.55;
  white-space:normal;
  overflow-wrap:anywhere;
}
.pds-history-note-tags{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
  margin-top:6px;
}
@media(max-width:900px){
  .pds-team-note-head,.pds-team-compose-actions{flex-direction:column;align-items:stretch}
  .pds-team-note-metrics{justify-content:stretch}
  .pds-team-note-metrics span{flex:1}
  .pds-team-compose-top{grid-template-columns:1fr}
  .pds-team-message{grid-template-columns:36px 1fr;padding:11px}
  .pds-team-avatar{width:36px;height:36px;border-radius:12px;font-size:12px}
  .pds-team-note-stream{max-height:none}
}



/* v10.9.0 locked universal team notes polish */
.pds-note-lock{
  display:inline-flex;
  align-items:center;
  gap:4px;
  border-radius:999px;
  padding:3px 8px;
  background:#eef2ff;
  color:#334155;
  font-size:11px;
  font-weight:800;
  border:1px solid rgba(99,102,241,.2);
}
.pds-note-lock:before{content:'🔒';font-size:10px}
.pds-team-note-admin-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:10px;
  padding-top:10px;
  border-top:1px dashed rgba(148,163,184,.45);
}
.pds-team-note-admin-actions .danger{
  background:#fee2e2!important;
  color:#991b1b!important;
  border-color:#fecaca!important;
}
.pds-team-note-card .pds-team-note-help{
  color:#475569;
  font-weight:650;
}


/* v10.9.1 Operations Queue Professional Delivery Workflow */
.pds-ops-pro{display:flex;flex-direction:column;gap:16px}
.pds-ops-pro-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:16px 18px;border:1px solid #dbeafe;border-radius:18px;background:linear-gradient(135deg,#ffffff,#eef6ff);box-shadow:0 14px 34px rgba(15,23,42,.06)}
.pds-ops-pro-head h3{margin:0;font-size:24px}
.pds-ops-pro-head p{margin:4px 0 0;color:#52627a}
.pds-ops-filterbar{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
.pds-ops-filter{border:1px solid #cfe0f5;background:#fff;color:#0f2544;border-radius:999px;padding:9px 13px;font-weight:800;cursor:pointer}
.pds-ops-filter.active{background:#2563eb;color:#fff;border-color:#2563eb;box-shadow:0 8px 20px rgba(37,99,235,.22)}
.pds-ops-table-wrap{border:1px solid #d9e7f7;border-radius:18px;background:#fff;overflow:auto;box-shadow:0 16px 44px rgba(15,23,42,.08)}
.pds-ops-table{min-width:1180px;margin:0}
.pds-ops-table th{position:sticky;top:0;background:#f3f7fc;z-index:1}
.pds-ops-table td{vertical-align:top}
.pds-status-pill,.pds-otp-pill{display:inline-flex;align-items:center;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:900;background:#eff6ff;color:#1d4ed8}
.pds-otp-active{background:#dcfce7;color:#166534}.pds-otp-expired,.pds-otp-locked{background:#fee2e2;color:#991b1b}.pds-otp-verified,.pds-otp-override{background:#ede9fe;color:#5b21b6}.pds-otp-none{background:#f1f5f9;color:#475569}
.pds-ops-actions{display:flex;flex-direction:column;gap:8px;min-width:280px}
.pds-inline-form{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0}
.pds-inline-form select,.pds-inline-form input{min-width:120px;max-width:210px;height:38px;border-radius:12px;border:1px solid #d6e3f3;padding:8px 10px;background:#fff}
.pds-ops-otp-form{padding:8px;border:1px dashed #c7d8ef;border-radius:14px;background:#f8fbff}
.pds-ops-wa-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.pds-ops-wa-ready{margin-top:8px}
.pds-ops-card-row{display:none}
.pds-ops-result{margin-top:10px}
@media(max-width:900px){
  .pds-ops-pro-head{flex-direction:column}
  .pds-ops-filterbar{justify-content:flex-start}
  .pds-ops-table thead,.pds-ops-row{display:none!important}
  .pds-ops-card-row{display:table-row}
  .pds-ops-card{display:flex;flex-direction:column;gap:10px;border:1px solid #dbeafe;border-radius:16px;padding:12px;background:#fff;box-shadow:0 10px 22px rgba(15,23,42,.06)}
  .pds-ops-card>div{display:flex;justify-content:space-between;gap:8px}
  .pds-ops-actions{min-width:0}
  .pds-inline-form select,.pds-inline-form input{width:100%;max-width:none;min-width:0}
  .pds-inline-form .pds-mini{width:100%}
}


/* v10.9.3 Operations Queue UI Polish */
.pds-ops-pro{
  gap:12px!important;
  --ops-line:#dbe7f6;
  --ops-soft:#f7fbff;
  --ops-text:#0f172a;
}
.pds-ops-pro .pds-kicker{
  margin:0 0 4px!important;
  font-size:10px!important;
  letter-spacing:.12em!important;
  text-transform:uppercase!important;
  color:#2563eb!important;
  font-weight:950!important;
}
.pds-ops-pro-head{
  align-items:center!important;
  padding:14px 16px!important;
  border-radius:20px!important;
  background:linear-gradient(135deg,#ffffff 0%,#eff6ff 55%,#ecfeff 100%)!important;
  box-shadow:0 12px 30px rgba(15,23,42,.07)!important;
}
.pds-ops-pro-head h3{font-size:21px!important;letter-spacing:-.03em!important;margin:0!important}
.pds-ops-pro-head p{font-size:13px!important;line-height:1.35!important;max-width:720px!important}
.pds-ops-filterbar{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:7px!important;
  align-items:center!important;
}
.pds-ops-filter{
  min-height:34px!important;
  height:34px!important;
  padding:6px 8px 6px 12px!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:7px!important;
  border-radius:999px!important;
  font-size:12px!important;
  line-height:1!important;
  box-shadow:none!important;
}
.pds-ops-filter b{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:22px!important;
  height:22px!important;
  padding:0 7px!important;
  border-radius:999px!important;
  background:#eef4ff!important;
  color:#1e3a8a!important;
  font-size:11px!important;
}
.pds-ops-filter.active b{background:rgba(255,255,255,.22)!important;color:#fff!important}
.pds-ops-summary{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:10px!important;
}
.pds-ops-summary>div{
  min-height:72px!important;
  border:1px solid var(--ops-line)!important;
  border-radius:18px!important;
  padding:11px 13px!important;
  background:#fff!important;
  box-shadow:0 10px 24px rgba(15,23,42,.045)!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
}
.pds-ops-summary span{
  font-size:10px!important;
  text-transform:uppercase!important;
  letter-spacing:.08em!important;
  color:#64748b!important;
  font-weight:950!important;
}
.pds-ops-summary strong{
  font-size:24px!important;
  line-height:1.08!important;
  letter-spacing:-.04em!important;
  color:#0f172a!important;
}
.pds-ops-summary em{
  font-style:normal!important;
  font-size:11px!important;
  color:#64748b!important;
  margin-top:2px!important;
}
.pds-ops-table-wrap{
  border-radius:20px!important;
  max-height:calc(100vh - 320px)!important;
  min-height:360px!important;
  background:#fff!important;
  overflow:auto!important;
}
.pds-ops-table{
  width:100%!important;
  min-width:1240px!important;
  table-layout:fixed!important;
  border-collapse:separate!important;
  border-spacing:0!important;
  font-size:12px!important;
}
.pds-ops-table th{
  top:0!important;
  padding:10px 12px!important;
  height:42px!important;
  background:#f4f8fc!important;
  color:#334155!important;
  text-transform:uppercase!important;
  letter-spacing:.08em!important;
  font-size:10px!important;
  border-bottom:1px solid #dbe7f6!important;
}
.pds-ops-table td{
  padding:11px 12px!important;
  height:auto!important;
  min-height:0!important;
  vertical-align:middle!important;
  border-bottom:1px solid #edf3fb!important;
  background:#fff!important;
}
.pds-ops-table tr:hover td{background:#f8fbff!important}
.pds-ops-table th:nth-child(1),.pds-ops-table td:nth-child(1){width:82px!important}
.pds-ops-table th:nth-child(2),.pds-ops-table td:nth-child(2){width:250px!important}
.pds-ops-table th:nth-child(3),.pds-ops-table td:nth-child(3){width:185px!important}
.pds-ops-table th:nth-child(4),.pds-ops-table td:nth-child(4){width:150px!important}
.pds-ops-table th:nth-child(5),.pds-ops-table td:nth-child(5){width:100px!important;text-align:right!important}
.pds-ops-table th:nth-child(6),.pds-ops-table td:nth-child(6){width:120px!important}
.pds-ops-table th:nth-child(7),.pds-ops-table td:nth-child(7){width:120px!important}
.pds-ops-table th:nth-child(8),.pds-ops-table td:nth-child(8){width:300px!important}
.pds-ops-table td small{
  display:block!important;
  margin-top:4px!important;
  color:#64748b!important;
  font-size:10.5px!important;
  line-height:1.25!important;
}
.pds-status-pill,.pds-otp-pill{
  min-height:26px!important;
  padding:6px 9px!important;
  font-size:11px!important;
  border:1px solid rgba(37,99,235,.12)!important;
  white-space:normal!important;
}
.pds-status-ready{background:#dcfce7!important;color:#166534!important;border-color:#bbf7d0!important}
.pds-status-in_transit,.pds-status-cancel_in_transit{background:#dbeafe!important;color:#1d4ed8!important;border-color:#bfdbfe!important}
.pds-status-delivered_due{background:#fef3c7!important;color:#92400e!important;border-color:#fde68a!important}
.pds-status-cancel_return{background:#fee2e2!important;color:#991b1b!important;border-color:#fecaca!important}
.pds-ops-actions{
  min-width:0!important;
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:7px!important;
  align-items:stretch!important;
}
.pds-ops-actions .pds-inline-form{
  margin:0!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
.pds-ops-actions .pds-mini{
  width:100%!important;
  min-width:0!important;
  min-height:34px!important;
  height:34px!important;
  margin:0!important;
  padding:7px 10px!important;
  border-radius:11px!important;
  text-align:center!important;
  justify-content:center!important;
  font-size:12px!important;
  box-shadow:0 8px 18px rgba(37,99,235,.12)!important;
}
.pds-ops-assign-form{
  grid-column:1 / -1!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:7px!important;
  align-items:center!important;
  padding:7px!important;
  border:1px solid #e2ecf8!important;
  background:#f8fbff!important;
  border-radius:14px!important;
}
.pds-ops-assign-form select{
  min-width:0!important;
  max-width:none!important;
  width:100%!important;
  height:34px!important;
  min-height:34px!important;
  border-radius:10px!important;
  font-size:12px!important;
  padding:6px 9px!important;
}
.pds-ops-transit-form,.pds-ops-wa-form,.pds-ops-regenerate-form{display:block!important}
.pds-ops-otp-form{
  grid-column:1 / -1!important;
  display:grid!important;
  grid-template-columns:96px 1fr 84px 88px!important;
  gap:7px!important;
  padding:8px!important;
  border:1px solid #d7e5f8!important;
  border-radius:15px!important;
  background:linear-gradient(180deg,#ffffff,#f8fbff)!important;
}
.pds-ops-otp-form input,.pds-ops-otp-form select{
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  height:34px!important;
  min-height:34px!important;
  border-radius:10px!important;
  padding:6px 8px!important;
  font-size:12px!important;
}
.pds-ops-otp-form button{
  grid-column:1 / -1!important;
  background:linear-gradient(135deg,#2563eb,#1d4ed8)!important;
  color:#fff!important;
}
.pds-ops-wa-links{
  grid-column:1 / -1!important;
  margin:6px 0 0!important;
  padding:7px!important;
  background:#f0fdf4!important;
  border:1px solid #bbf7d0!important;
  border-radius:14px!important;
}
.pds-ops-wa-links .pds-mini{
  background:#16a34a!important;
  color:#fff!important;
  box-shadow:0 8px 18px rgba(22,163,74,.16)!important;
}
.pds-ops-result .pds-note,.pds-ops-result .pds-alert{
  border-radius:14px!important;
  padding:10px 12px!important;
  font-size:13px!important;
}
.pds-ops-card{
  border-radius:18px!important;
  padding:14px!important;
  background:linear-gradient(180deg,#ffffff,#f8fbff)!important;
}
@media(max-width:1180px){
  .pds-ops-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:900px){
  .pds-ops-pro-head{align-items:flex-start!important}
  .pds-ops-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .pds-ops-table-wrap{max-height:none!important;min-height:0!important;border:0!important;box-shadow:none!important;background:transparent!important}
  .pds-ops-table{min-width:0!important}
  .pds-ops-card-row{display:table-row!important}
  .pds-ops-card{
    gap:12px!important;
    border:1px solid #dbe7f6!important;
    box-shadow:0 12px 28px rgba(15,23,42,.07)!important;
  }
  .pds-ops-card>div{align-items:flex-start!important}
  .pds-ops-actions{grid-template-columns:1fr!important}
  .pds-ops-assign-form,.pds-ops-otp-form{grid-template-columns:1fr!important}
}
@media(max-width:560px){
  .pds-ops-pro-head{padding:13px!important}
  .pds-ops-filterbar{width:100%;overflow-x:auto;flex-wrap:nowrap!important;justify-content:flex-start!important;padding-bottom:4px}
  .pds-ops-filter{white-space:nowrap!important;flex:0 0 auto!important}
  .pds-ops-summary{grid-template-columns:1fr 1fr!important;gap:8px!important}
  .pds-ops-summary>div{min-height:64px!important;padding:9px 10px!important}
  .pds-ops-summary strong{font-size:20px!important}
}


/* v10.9.4 Technician App + Universal Team Notes Polish */
.pds-role-technician .pds-main-shell{
  background:
    radial-gradient(circle at top left, rgba(37,99,235,.12), transparent 34rem),
    linear-gradient(180deg,#f8fbff 0%,#eaf3fb 100%);
}
.pds-role-technician .pds-app-content{padding:16px 18px 92px}
.pds-tech-app .pds-tech-hero{
  border:1px solid rgba(37,99,235,.18);
  background:linear-gradient(135deg,#0f1d4a 0%,#2563eb 58%,#06b6d4 100%);
  color:#fff;
  box-shadow:0 18px 38px rgba(15,23,42,.18);
}
.pds-tech-app .pds-tech-hero .pds-kicker,
.pds-tech-app .pds-tech-hero p{color:rgba(255,255,255,.86)}
.pds-tech-global-search{
  display:grid;
  grid-template-columns:minmax(240px,1fr) auto;
  gap:10px;
  align-items:end;
  padding:12px;
  border:1px solid #dbeafe;
  border-radius:18px;
  background:rgba(255,255,255,.82);
  box-shadow:0 10px 28px rgba(15,23,42,.06);
  margin:12px 0;
}
.pds-tech-global-search label{font-weight:800;color:#24324a}
.pds-tech-global-search input{
  margin-top:6px;
  height:44px;
  border-radius:14px;
  border:1px solid #cbd5e1;
  background:#fff;
}
.pds-tech-kpis .pds-kpi-card{
  border-radius:18px;
  background:rgba(255,255,255,.94);
  border:1px solid #dbeafe;
  box-shadow:0 12px 30px rgba(15,23,42,.07);
}
.pds-tech-kpis .pds-kpi-card strong{font-size:30px}
.pds-tech-cap-grid .pds-action-card{
  border-radius:18px;
  border:1px solid #dbeafe;
  background:linear-gradient(180deg,#fff,#f8fbff);
  box-shadow:0 12px 28px rgba(15,23,42,.06);
}
.pds-tech-cap-grid .pds-action-card:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 36px rgba(37,99,235,.14);
}
.pds-tech-detail-panel{
  border-radius:24px;
  overflow:hidden;
  border:1px solid #dbeafe;
  background:rgba(255,255,255,.96);
  box-shadow:0 20px 42px rgba(15,23,42,.12);
}
.pds-tech-job-head{
  background:linear-gradient(135deg,#0f172a 0%,#1d4ed8 68%,#0891b2 100%);
  color:#fff;
  padding:18px;
  border-radius:22px;
  margin-bottom:12px;
}
.pds-tech-job-head .pds-kicker,
.pds-tech-job-head p{color:rgba(255,255,255,.84)}
.pds-tech-job-head .pds-status-pill{
  background:rgba(255,255,255,.16);
  border:1px solid rgba(255,255,255,.32);
  color:#fff;
  box-shadow:none;
}
.pds-tech-quick-v1094{
  position:sticky;
  top:76px;
  z-index:20;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  padding:10px;
  margin:0 0 12px;
  border:1px solid #dbeafe;
  border-radius:18px;
  background:rgba(255,255,255,.88);
  backdrop-filter:blur(10px);
  box-shadow:0 12px 28px rgba(15,23,42,.08);
}
.pds-tech-quick-v1094 .pds-mini{border-radius:999px;font-weight:900}
.pds-tech-quick-v1094 .pds-tech-notes-open{
  background:#7c3aed!important;
  color:#fff!important;
  border-color:#7c3aed!important;
}
.pds-tech-summary-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}
.pds-tech-summary-grid>div{
  border:1px solid #dbeafe;
  border-radius:18px;
  background:#fff;
  padding:13px;
  box-shadow:0 10px 24px rgba(15,23,42,.05);
}
.pds-step-flow{
  border-radius:999px;
  border:1px solid #dbeafe;
  background:#f8fbff;
  padding:8px;
  margin:12px 0;
}
.pds-step-flow span{
  border-radius:999px;
  padding:8px 12px;
}
.pds-step-flow span.active{
  background:linear-gradient(135deg,#2563eb,#7c3aed);
  color:#fff;
  box-shadow:0 8px 20px rgba(37,99,235,.25);
}
.pds-tech-collab-anchor{margin:14px 0}
.pds-role-technician .pds-team-note-card{
  border:1px solid #ddd6fe;
  border-radius:22px;
  background:
    linear-gradient(180deg,rgba(255,255,255,.98),rgba(250,245,255,.96));
  box-shadow:0 18px 38px rgba(88,28,135,.12);
}
.pds-role-technician .pds-team-note-head{
  display:flex;
  justify-content:space-between;
  gap:14px;
  align-items:flex-start;
  padding:16px;
  border-bottom:1px solid #ede9fe;
}
.pds-role-technician .pds-team-note-head h3{
  margin:2px 0 4px;
  font-size:20px;
}
.pds-role-technician .pds-team-note-metrics{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.pds-role-technician .pds-team-note-metrics span{
  min-width:72px;
  border-radius:16px;
  background:#fff;
  border:1px solid #e9d5ff;
  padding:8px 10px;
  text-align:center;
}
.pds-role-technician .pds-team-note-metrics b{display:block;font-size:18px;color:#581c87}
.pds-role-technician .pds-team-note-metrics small{display:block;color:#64748b;font-size:10px;text-transform:uppercase;letter-spacing:.06em}
.pds-role-technician .pds-team-note-metrics .hot{background:#fff1f2;border-color:#fecdd3}
.pds-role-technician .pds-team-note-metrics .hot b{color:#be123c}
.pds-role-technician .pds-team-note-compose{
  margin:14px;
  padding:12px;
  border:1px solid #e9d5ff;
  border-radius:18px;
  background:#fff;
}
.pds-role-technician .pds-team-compose-top{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.pds-role-technician .pds-team-note-compose select,
.pds-role-technician .pds-team-note-compose textarea{
  width:100%;
  border:1px solid #cbd5e1;
  border-radius:14px;
  background:#f8fafc;
}
.pds-role-technician .pds-team-note-compose textarea{
  min-height:94px;
  resize:vertical;
  font-size:15px;
  line-height:1.45;
}
.pds-role-technician .pds-team-compose-actions{
  display:flex;
  gap:10px;
  justify-content:space-between;
  align-items:center;
  margin-top:10px;
}
.pds-role-technician .pds-team-compose-actions .pds-mini{
  background:linear-gradient(135deg,#7c3aed,#2563eb);
  border:0;
  box-shadow:0 10px 22px rgba(124,58,237,.22);
}
.pds-role-technician .pds-team-note-help{
  color:#64748b;
  font-size:12px;
  line-height:1.35;
}
.pds-role-technician .pds-team-note-stream{
  padding:0 14px 14px;
  display:grid;
  gap:10px;
}
.pds-role-technician .pds-team-message{
  display:grid;
  grid-template-columns:44px 1fr;
  gap:10px;
  border:1px solid #e2e8f0;
  border-radius:18px;
  background:#fff;
  padding:12px;
}
.pds-role-technician .pds-team-message.priority-important{
  border-color:#fde68a;
  background:#fffbeb;
}
.pds-role-technician .pds-team-message.priority-urgent{
  border-color:#fecdd3;
  background:#fff1f2;
}
.pds-role-technician .pds-team-avatar{
  width:42px;
  height:42px;
  border-radius:14px;
  display:grid;
  place-items:center;
  font-weight:900;
  color:#fff;
  background:linear-gradient(135deg,#2563eb,#7c3aed);
  box-shadow:0 8px 20px rgba(37,99,235,.18);
}
.pds-role-technician .pds-team-message-meta{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  align-items:center;
  color:#64748b;
}
.pds-role-technician .pds-team-message-meta b{color:#0f172a}
.pds-role-technician .pds-team-message-meta em{
  font-style:normal;
  color:#2563eb;
  background:#eff6ff;
  border-radius:999px;
  padding:3px 8px;
  font-size:11px;
}
.pds-role-technician .pds-team-badges{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
  margin:6px 0;
}
.pds-role-technician .pds-team-badges span{
  border-radius:999px;
  padding:4px 8px;
  background:#f1f5f9;
  color:#334155;
  font-size:11px;
  font-weight:800;
}
.pds-role-technician .pds-team-badges .priority-urgent{background:#ffe4e6;color:#be123c}
.pds-role-technician .pds-team-badges .priority-important{background:#fef3c7;color:#92400e}
.pds-role-technician .pds-note-lock{background:#ede9fe!important;color:#5b21b6!important}
.pds-role-technician .pds-team-note-body{
  color:#0f172a;
  font-size:14px;
  line-height:1.5;
  white-space:normal;
}
.pds-team-mini-chip{
  display:inline-flex;
  margin-top:6px;
  width:max-content;
  border-radius:999px;
  padding:4px 8px;
  font-style:normal;
  font-size:11px;
  font-weight:900;
  color:#5b21b6;
  background:#ede9fe;
}
.pds-team-mini-chip.muted{
  color:#64748b;
  background:#f1f5f9;
}
.pds-focus-pulse{
  animation:pdsFocusPulse 1.1s ease-out 1;
}
@keyframes pdsFocusPulse{
  0%{box-shadow:0 0 0 0 rgba(124,58,237,.55)}
  100%{box-shadow:0 0 0 18px rgba(124,58,237,0)}
}
@media (max-width: 860px){
  .pds-role-technician .pds-app-content{padding:10px 10px 86px}
  .pds-tech-global-search{grid-template-columns:1fr}
  .pds-tech-summary-grid{grid-template-columns:1fr}
  .pds-tech-quick-v1094{top:64px;overflow-x:auto;flex-wrap:nowrap}
  .pds-tech-quick-v1094 .pds-mini{white-space:nowrap}
  .pds-role-technician .pds-team-note-head{display:block}
  .pds-role-technician .pds-team-note-metrics{margin-top:10px}
  .pds-role-technician .pds-team-compose-top{grid-template-columns:1fr}
  .pds-role-technician .pds-team-compose-actions{display:block}
  .pds-role-technician .pds-team-compose-actions .pds-mini{width:100%;margin-top:8px}
  .pds-role-technician .pds-team-message{grid-template-columns:36px 1fr;padding:10px}
  .pds-role-technician .pds-team-avatar{width:34px;height:34px;border-radius:12px;font-size:12px}
}


/* v10.9.5 Receive Queue Problem/Fault visibility polish */
.pds-receive-command{border:1px solid rgba(148,163,184,.28);border-radius:20px;background:linear-gradient(180deg,#fff,#fbfdff);box-shadow:0 14px 34px rgba(15,35,65,.055);overflow:hidden}
.pds-receive-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;border-bottom:1px solid rgba(148,163,184,.22);background:linear-gradient(90deg,#f8fbff,#eef7ff)}
.pds-receive-toolbar strong{display:block;color:#0f172a;font-size:15px;font-weight:900;letter-spacing:-.01em}
.pds-receive-toolbar span{display:block;color:#64748b;font-size:12px;margin-top:3px}
.pds-receive-count{display:inline-flex;align-items:center;justify-content:center;min-width:82px;border-radius:999px;background:#eaf2ff;border:1px solid #cfe0ff;color:#1d4ed8;font-weight:900;font-size:12px;padding:8px 12px;white-space:nowrap}
.pds-receive-queue-v1095{border:0!important;border-radius:0!important;box-shadow:none!important;margin:0!important}
.pds-receive-queue-v1095 th{position:sticky;top:0;z-index:2;background:#f2f7fc!important;color:#334155;font-size:11px;letter-spacing:.05em;text-transform:uppercase}
.pds-receive-queue-v1095 td{vertical-align:middle!important;padding:16px 14px!important}
.pds-receive-queue-v1095 tbody tr{transition:background .18s ease,transform .18s ease}
.pds-receive-queue-v1095 tbody tr:hover{background:#f8fbff}
.pds-receive-problem{border:1px solid rgba(245,158,11,.22);border-left:4px solid #f59e0b;border-radius:14px;background:linear-gradient(180deg,#fffaf0,#fff);padding:10px 12px;min-width:220px;max-width:360px}
.pds-receive-problem-text{font-weight:850;color:#0f172a;line-height:1.35;font-size:13px}
.pds-receive-problem-meta{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.pds-receive-problem-meta span{display:inline-flex;align-items:center;border-radius:999px;background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;font-size:11px;font-weight:800;padding:3px 8px}
.pds-mini-label{display:block;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.055em;color:#64748b;margin-bottom:4px}
.pds-status-chip{display:inline-flex;align-items:center;gap:6px;border-radius:999px;background:#eff6ff;color:#1d4ed8;border:1px solid #bfdbfe;padding:6px 10px;font-size:12px;font-weight:900;white-space:nowrap}
.pds-status-new{background:#ecfeff;color:#0e7490;border-color:#a5f3fc}
.pds-status-assigned,.pds-status-picked_up{background:#fff7ed;color:#c2410c;border-color:#fed7aa}
.pds-status-received{background:#f0fdf4;color:#15803d;border-color:#bbf7d0}
.pds-receive-queue-v1095 .pds-inline-action-form{background:#f8fafc;border:1px solid rgba(148,163,184,.22);border-radius:14px;padding:9px}
.pds-receive-queue-v1095 .pds-inline-action-form select{min-width:210px;background:#fff}
.pds-receive-queue-v1095 .pds-mini{min-height:38px;border-radius:12px}
@media(max-width:900px){
  .pds-receive-toolbar{align-items:flex-start;flex-direction:column}
  .pds-receive-count{align-self:flex-start}
  .pds-receive-command{border-radius:18px}
  .pds-receive-queue-v1095 thead{display:none}
  .pds-receive-queue-v1095,.pds-receive-queue-v1095 tbody,.pds-receive-queue-v1095 tr,.pds-receive-queue-v1095 td{display:block;width:100%}
  .pds-receive-queue-v1095 tr{border:1px solid #dbeafe;border-radius:18px;margin:12px;background:#fff;box-shadow:0 10px 24px rgba(15,35,65,.055);overflow:hidden}
  .pds-receive-queue-v1095 td{border:0!important;border-bottom:1px solid #eef2f7!important;padding:12px 14px!important}
  .pds-receive-queue-v1095 td:last-child{border-bottom:0!important}
  .pds-receive-queue-v1095 td:before{content:attr(data-label);display:block;font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:#64748b;font-weight:900;margin-bottom:5px}
  .pds-receive-problem{max-width:none;min-width:0}
  .pds-receive-queue-v1095 .pds-inline-action-form select{min-width:100%;width:100%}
  .pds-receive-queue-v1095 .pds-inline-action-form button{width:100%}
}


/* v10.9.6 route refresh polish */
.pds-section-refreshing{position:relative}
.pds-section-refreshing:after{content:"Refreshing...";position:absolute;right:18px;top:14px;z-index:30;background:#0f172a;color:#fff;border-radius:999px;padding:8px 12px;font-size:12px;font-weight:800;box-shadow:0 10px 30px rgba(15,23,42,.22)}
body.pds-route-loading .pds-app-nav a.active{box-shadow:0 0 0 3px rgba(37,99,235,.18) inset}


/* GST accounting interface polish */
.pds-gst-core{background:linear-gradient(135deg,#ffffff,#f8fafc);border:1px solid #dbeafe}
.pds-gst-core-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:12px 0 16px}
.pds-gst-tile{border:1px solid #e5e7eb;border-radius:16px;padding:12px;background:#fff;box-shadow:0 8px 22px rgba(15,23,42,.06)}
.pds-gst-tile span{display:block;color:#64748b;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.pds-gst-tile b{display:block;margin-top:5px;font-size:18px;color:#0f172a}
.pds-erp-group-gstcore .pds-v43-split{align-items:start}
.pds-erp-group-gstcore .pds-card{overflow:hidden}
.pds-erp-group-gstcore select,.pds-erp-group-gstcore input,.pds-erp-group-gstcore textarea{border-radius:12px;border:1px solid #cbd5e1;background:#fff}
@media(max-width:1100px){.pds-gst-core-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:640px){.pds-gst-core-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pds-gst-tile{padding:10px}.pds-gst-tile b{font-size:16px}}


/* v11.1 Ultimate Accounting Ledger Polish */
.pds-ledger-health{background:linear-gradient(135deg,#ffffff 0%,#f8fbff 100%);border:1px solid #dbeafe}
.pds-ledger-health .pds-status-pill.pds-ok{background:#dcfce7;color:#166534;border-color:#bbf7d0}
.pds-ledger-health .pds-status-pill.pds-warn{background:#fef3c7;color:#92400e;border-color:#fde68a}
.pds-ledger-sync-form{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:12px 0}
.pds-ledger-exports{margin-top:10px}
.pds-ledger-exports a{background:#eef2ff;color:#3730a3;border:1px solid #c7d2fe}


/* v11.1.1 Production Polish Stable */
/* Command Dashboard: keep controls structurally inside header and prevent overlap on all widths. */
.pds-command-center{max-width:100%;overflow:hidden}
.pds-command-head{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:16px!important;
}
.pds-command-head>div:first-child{min-width:0!important}
.pds-command-controls{
  min-width:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  max-width:100%!important;
}
.pds-command-range-wrap{display:flex!important;align-items:center!important;gap:7px!important;white-space:nowrap!important}
.pds-command-range{max-width:150px!important}
.pds-command-kpis,.pds-command-grid{max-width:100%!important}
@media(max-width:920px){
  .pds-command-head{grid-template-columns:1fr!important;align-items:start!important}
  .pds-command-controls{justify-content:flex-start!important;width:100%!important}
}
@media(max-width:520px){
  .pds-command-controls{display:grid!important;grid-template-columns:1fr!important}
  .pds-command-range-wrap,.pds-command-auto,.pds-command-refresh{width:100%!important}
  .pds-command-range{width:100%!important;max-width:none!important}
}

/* Accounts ERP tab display fallbacks. Existing v10 labels + future semantic aliases are both supported. */
.pds-erp-v10 > .pds-erp-group,
.pds-erp-v10 > .pds-kpi-grid{display:none}
.pds-erp-v10[data-pds-erp-active="overview"] > .pds-kpi-grid,
.pds-erp-v10[data-pds-erp-active="dashboard"] > .pds-kpi-grid{display:grid}
.pds-erp-v10[data-pds-erp-active="overview"] > .pds-erp-group-overview,
.pds-erp-v10[data-pds-erp-active="dashboard"] > .pds-erp-group-dashboard,
.pds-erp-v10[data-pds-erp-active="dashboard"] > .pds-erp-group-overview,
.pds-erp-v10[data-pds-erp-active="customers"] > .pds-erp-group-customers,
.pds-erp-v10[data-pds-erp-active="masters"] > .pds-erp-group-masters,
.pds-erp-v10[data-pds-erp-active="invoices"] > .pds-erp-group-invoices,
.pds-erp-v10[data-pds-erp-active="payments"] > .pds-erp-group-payments,
.pds-erp-v10[data-pds-erp-active="transactions"] > .pds-erp-group-transactions,
.pds-erp-v10[data-pds-erp-active="purchases"] > .pds-erp-group-purchases,
.pds-erp-v10[data-pds-erp-active="dues"] > .pds-erp-group-dues,
.pds-erp-v10[data-pds-erp-active="gstcore"] > .pds-erp-group-gstcore,
.pds-erp-v10[data-pds-erp-active="registers"] > .pds-erp-group-registers,
.pds-erp-v10[data-pds-erp-active="reports"] > .pds-erp-group-reports,
.pds-erp-v10[data-pds-erp-active="ledgers"] > .pds-erp-group-ledgers,
.pds-erp-v10[data-pds-erp-active="wallet"] > .pds-erp-group-wallet,
.pds-erp-v10[data-pds-erp-active="final"] > .pds-erp-group-final,
.pds-erp-v10[data-pds-erp-active="finalaccounts"] > .pds-erp-group-finalaccounts,
.pds-erp-v10[data-pds-erp-active="settings"] > .pds-erp-group-settings{display:block}
.pds-erp-v10[data-pds-erp-active="masters"] > .pds-v43-split.pds-erp-group-masters,
.pds-erp-v10[data-pds-erp-active="transactions"] > .pds-v43-split.pds-erp-group-transactions,
.pds-erp-v10[data-pds-erp-active="purchases"] > .pds-v43-split.pds-erp-group-purchases,
.pds-erp-v10[data-pds-erp-active="registers"] > .pds-v43-split.pds-erp-group-registers,
.pds-erp-v10[data-pds-erp-active="reports"] > .pds-v43-split.pds-erp-group-reports,
.pds-erp-v10[data-pds-erp-active="ledgers"] > .pds-v43-split.pds-erp-group-ledgers,
.pds-erp-v10[data-pds-erp-active="finalaccounts"] > .pds-v43-split.pds-erp-group-finalaccounts{display:grid}

/* Operations Queue final polish: Receive-Queue-like, compact, no collisions. */
.pds-ops-pro{--ops-border:#dbeafe;--ops-muted:#64748b;--ops-bg:#f8fbff;overflow:hidden!important}
.pds-ops-pro-head{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(280px,auto)!important}
.pds-ops-pro-head>div:first-child{min-width:0}
.pds-ops-pro-head h3,.pds-ops-pro-head p{overflow-wrap:anywhere}
.pds-ops-filterbar{max-width:620px!important}
.pds-ops-table-wrap{overflow:auto!important;-webkit-overflow-scrolling:touch!important}
.pds-ops-table{table-layout:fixed!important}
.pds-ops-table td,.pds-ops-table th{overflow-wrap:anywhere!important;word-break:normal!important}
.pds-ops-table td:nth-child(2) strong,
.pds-ops-table td:nth-child(3) b{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pds-ops-table td:nth-child(2) small,
.pds-ops-table td:nth-child(3) small{white-space:normal;overflow-wrap:anywhere}
.pds-ops-table td:nth-child(5) b{display:inline-flex;justify-content:flex-end;min-width:86px;font-size:13px;color:#0f172a}
.pds-ops-primary-actions{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:7px!important;
  align-items:stretch!important;
  width:100%!important;
}
.pds-ops-primary-actions>.pds-ops-assign-form,
.pds-ops-primary-actions>.pds-ops-otp-form{grid-column:1 / -1!important}
.pds-ops-actions{display:block!important;min-width:0!important;width:100%!important}
.pds-ops-actions .pds-form-result{grid-column:1 / -1!important;display:block!important;font-size:11px!important}
.pds-ops-more{grid-column:1 / -1!important;margin-top:7px!important;position:relative!important}
.pds-ops-more>summary{
  list-style:none!important;
  cursor:pointer!important;
  user-select:none!important;
  min-height:34px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:1px solid #cbd5e1!important;
  border-radius:11px!important;
  background:#f8fafc!important;
  color:#334155!important;
  font-weight:900!important;
  font-size:12px!important;
}
.pds-ops-more>summary::-webkit-details-marker{display:none}
.pds-ops-more-menu{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:7px!important;
  margin-top:7px!important;
  padding:8px!important;
  border:1px solid #e2e8f0!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:0 12px 28px rgba(15,23,42,.08)!important;
}
.pds-ops-more-menu .pds-inline-form{display:block!important}
.pds-ops-more-menu .pds-mini{width:100%!important}
.pds-ops-otp-form{grid-template-columns:92px minmax(110px,1fr) 84px 86px!important}
.pds-ops-otp-form input[name="delivery_otp"]{font-weight:900;letter-spacing:.08em;text-align:center}
.pds-ops-card-row{display:none}
.pds-ops-card{min-width:0!important}
.pds-ops-card .pds-ops-primary-actions{grid-template-columns:1fr!important}
.pds-ops-card .pds-ops-card-main{min-width:0!important}

/* v15.30.0: keep every Delivery / Ops control visible in its own usable area. */
@media(min-width:901px){
  .pds-ops-table{min-width:1540px!important}
  .pds-ops-table th:nth-child(8),.pds-ops-table td:nth-child(8){width:460px!important}
  .pds-ops-primary-actions{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    align-items:start!important;
    min-width:0!important;
  }
  .pds-ops-primary-actions>.pds-ops-decision-card,
  .pds-ops-primary-actions>.pds-ops-estimate-send-card,
  .pds-ops-primary-actions>.pds-ops-assign-form,
  .pds-ops-primary-actions>.pds-ops-otp-form,
  .pds-ops-primary-actions>.pds-warranty-zero-form{grid-column:1 / -1!important}
}
.pds-ops-actions,.pds-ops-primary-actions,.pds-ops-decision-card,.pds-ops-estimate-send-card{min-width:0!important;overflow:visible!important}
.pds-ops-decision-card{
  display:grid!important;
  gap:8px!important;
  padding:11px!important;
  border:1px solid #d7e5f7!important;
  border-radius:14px!important;
  background:#fbfdff!important;
}
.pds-ops-decision-card>b{font-size:13px!important;color:#102a43!important}
.pds-ops-decision-card>small{font-size:11px!important;line-height:1.4!important;color:#5b7083!important}
.pds-ops-decision-card .pds-phone-approval-form{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px!important;
  min-width:0!important;
}
.pds-ops-decision-card .pds-phone-approval-form label{display:grid!important;gap:4px!important;min-width:0!important;font-size:11px!important;font-weight:800!important;color:#233b53!important}
.pds-ops-decision-card .pds-phone-approval-form label:nth-of-type(3),
.pds-ops-decision-card .pds-phone-approval-form button,
.pds-ops-decision-card .pds-phone-approval-result{grid-column:1 / -1!important}
.pds-ops-decision-card .pds-phone-approval-form input,
.pds-ops-decision-card .pds-phone-approval-form select,
.pds-ops-decision-card .pds-phone-approval-form button{width:100%!important;min-width:0!important}
@media(max-width:900px){
  .pds-ops-decision-card .pds-phone-approval-form{grid-template-columns:1fr!important}
  .pds-ops-decision-card .pds-phone-approval-form label:nth-of-type(3),
  .pds-ops-decision-card .pds-phone-approval-form button,
  .pds-ops-decision-card .pds-phone-approval-result{grid-column:auto!important}
}
@media(max-width:1180px){
  .pds-ops-pro-head{grid-template-columns:1fr!important}
  .pds-ops-filterbar{max-width:100%!important;justify-content:flex-start!important}
}
@media(max-width:900px){
  .pds-ops-table-wrap{border:0!important;background:transparent!important;box-shadow:none!important}
  .pds-ops-table,.pds-ops-table tbody,.pds-ops-card-row,.pds-ops-card-row td{display:block!important;width:100%!important}
  .pds-ops-card-row td{padding:0!important;border:0!important;background:transparent!important}
  .pds-ops-card-row{margin:0 0 12px!important}
  .pds-ops-card{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:12px!important;
    margin:0 0 12px!important;
    border-radius:18px!important;
  }
  .pds-ops-card>div{display:flex!important;justify-content:space-between!important;gap:10px!important;min-width:0!important}
  .pds-ops-card b,.pds-ops-card small{overflow-wrap:anywhere!important}
  .pds-ops-actions,.pds-ops-primary-actions{width:100%!important}
  .pds-ops-primary-actions{grid-template-columns:1fr!important}
  .pds-ops-assign-form,.pds-ops-otp-form{grid-template-columns:1fr!important}
}
@media(max-width:560px){
  .pds-ops-pro{gap:10px!important}
  .pds-ops-card>div{flex-direction:column!important}
  .pds-ops-filterbar{display:flex!important;overflow:auto!important;padding-bottom:5px!important}
  .pds-ops-table td:nth-child(2) strong,.pds-ops-table td:nth-child(3) b{white-space:normal}
}


/* v11.1.2 Command Dashboard load stability */
.pds-dashboard-error-card{
  grid-column:1 / -1;
  background:#fff7ed;
  border:1px solid #fed7aa;
  color:#9a3412;
  border-radius:14px;
  padding:12px 14px;
  font-weight:800;
}
.pds-command-center.pds-command-render-error .pds-command-panel{
  border-color:#fed7aa;
}
.pds-command-center.is-loading .pds-command-panel{
  position:relative;
}
.pds-command-center.is-loading .pds-command-panel:after{
  content:"";
  position:absolute;
  inset:50px 14px 14px;
  border-radius:14px;
  background:linear-gradient(90deg,#f8fafc,#eef6ff,#f8fafc);
  background-size:200% 100%;
  animation:pdsDashPulse 1.2s linear infinite;
  opacity:.75;
  pointer-events:none;
}
.pds-command-center.pds-command-loaded .pds-command-panel:after{display:none!important}
@keyframes pdsDashPulse{to{background-position:-200% 0}}


/* v11.1.5 Dashboard fast-paint skeleton and cache polish */
.pds-smart-kpi.pds-kpi-skeleton{
  background:linear-gradient(90deg,#ffffff,#f4f8ff,#ffffff);
  background-size:200% 100%;
  animation:pdsDashPulse 1.2s linear infinite;
  color:#94a3b8;
}
.pds-smart-kpi.pds-kpi-skeleton strong{color:#cbd5e1}
.pds-dashboard-skeleton{display:grid;gap:10px;padding:6px 0}
.pds-dashboard-skeleton span{
  display:block;
  min-height:46px;
  border-radius:14px;
  background:linear-gradient(90deg,#f8fafc,#edf6ff,#f8fafc);
  background-size:200% 100%;
  animation:pdsDashPulse 1.2s linear infinite;
  border:1px solid #e5eefc;
}
.pds-dashboard-skeleton span:nth-child(1){min-height:92px}
.pds-dashboard-skeleton span:nth-child(2){min-height:68px}
.pds-dashboard-skeleton span:nth-child(3){min-height:44px}
.pds-command-center.pds-command-cache-hit .pds-command-updated{color:#2563eb}


/* v11.1.6 professional workflow polish */
.pds-sce-app,.pds-tech-app,.pds-manager-app{--pds-muted:#475569;--pds-border:#cbd5e1}
.pds-sce-app small,.pds-tech-app small,.pds-manager-app small,.pds-field-help,.description{color:var(--pds-muted)!important}
.pds-inline-form,.pds-workflow-actions details{border-color:var(--pds-border)!important}
.pds-workflow-actions h4,.pds-inline-form h4{color:#0f172a}
.pds-workflow-actions button,.pds-workflow-actions .pds-mini{min-height:36px;line-height:1.25}
.pds-empty,.pds-empty-state{padding:24px;text-align:center;border:1px dashed #94a3b8;border-radius:12px;color:#334155;background:#f8fafc}
.pds-toast,.pds-handoff-result{font-weight:600}
@media(max-width:782px){
 .pds-inline-form{padding:14px!important}
 .pds-workflow-actions select,.pds-workflow-actions textarea,.pds-workflow-actions button{width:100%;max-width:100%}
 .pds-workflow-actions table{display:block;overflow-x:auto;white-space:nowrap}
 .pds-card,.pds-live-card{padding:14px!important}
}


/* v11.1.8 dynamic workflow controls */
.pds-dynamic-handoff .pds-dynamic-assign{margin:10px 0}
.pds-dynamic-handoff .pds-assign-label{display:block;font-weight:600;margin-bottom:6px}
.pds-dynamic-handoff .pds-hidden{display:none!important}
.pds-dynamic-handoff select:disabled{opacity:.65}


/* v11.1.9 Reports, Payroll & Business Intelligence */
.pds-rp{display:grid;gap:16px}.pds-rp-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap}.pds-rp-head h3{margin:0 0 4px}.pds-rp-head p{margin:0;color:#475569}.pds-rp-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.pds-rp-actions form{margin:0}.pds-rp-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:10px}.pds-rp-kpis>div{border:1px solid #dbe3ee;border-radius:12px;padding:12px;background:#fff}.pds-rp-kpis span{display:block;color:#475569;font-size:12px;font-weight:600}.pds-rp-kpis strong{display:block;font-size:20px;margin-top:5px;color:#0f172a}.pds-rp details{border:1px solid #dbe3ee;border-radius:12px;background:#fff;overflow:hidden}.pds-rp summary{cursor:pointer;padding:13px 15px;font-weight:700;background:#f8fafc;color:#0f172a}.pds-rp details>[class],.pds-rp details>form,.pds-rp details>table{margin:14px}.pds-rp-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.pds-rp-payroll-form,.pds-rp-formgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;align-items:end}.pds-rp-payroll-form label,.pds-rp-settings label{margin:0;font-size:12px;font-weight:600;color:#334155}.pds-rp-payroll-form input,.pds-rp-payroll-form select,.pds-rp-settings input{width:100%;box-sizing:border-box;margin-top:4px}.pds-rp-payroll-form .pds-btn{min-height:40px}.pds-rp .pds-table th{white-space:nowrap;color:#334155}.pds-rp .pds-table td{vertical-align:top}.pds-rp-settings h4{margin:18px 0 8px}.pds-rp-settings .pds-btn{margin-top:16px}@media(max-width:760px){.pds-rp-grid{grid-template-columns:1fr}.pds-rp-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.pds-rp details>[class],.pds-rp details>form{margin:10px}.pds-rp-head{align-items:stretch}.pds-rp-actions{width:100%}.pds-rp-actions form,.pds-rp-actions input,.pds-rp-actions a{flex:1}.pds-rp .pds-responsive-table{overflow-x:auto;-webkit-overflow-scrolling:touch}.pds-rp .pds-table{min-width:760px}}

/* v11.1.11 professional release: theme-independent high-contrast application surface */
.pds-app,.pds-rp,.pds-modal,.pds-panel,.pds-card{color-scheme:light;--pds-bg:#f5f7fb;--pds-surface:#ffffff;--pds-surface-2:#eef2f7;--pds-text:#172033;--pds-muted:#526078;--pds-border:#c8d1df;--pds-primary:#124f8c;--pds-primary-hover:#0b3c70;--pds-success:#17603a;--pds-success-bg:#e7f6ed;--pds-warning:#7a4b00;--pds-warning-bg:#fff4d6;--pds-danger:#9b1c1c;--pds-danger-bg:#fdecec;color:var(--pds-text)!important}
.pds-app,.pds-rp{background:var(--pds-bg)!important}
.pds-app h1,.pds-app h2,.pds-app h3,.pds-app h4,.pds-app h5,.pds-app h6,.pds-rp h1,.pds-rp h2,.pds-rp h3,.pds-rp h4,.pds-rp h5,.pds-rp h6,.pds-rp summary{color:var(--pds-text)!important}
.pds-app p,.pds-app label,.pds-app td,.pds-app th,.pds-app small,.pds-app span,.pds-rp p,.pds-rp label,.pds-rp td,.pds-rp th,.pds-rp small,.pds-rp span{opacity:1}
.pds-muted,.pds-help,.pds-subtle,.pds-rp small,.pds-rp-head p{color:var(--pds-muted)!important}
.pds-app input,.pds-app select,.pds-app textarea,.pds-rp input,.pds-rp select,.pds-rp textarea{background:#fff!important;color:var(--pds-text)!important;border-color:#9eabbc!important}
.pds-app input::placeholder,.pds-app textarea::placeholder,.pds-rp input::placeholder,.pds-rp textarea::placeholder{color:#66748a!important;opacity:1}
.pds-app table,.pds-rp table,.pds-app .pds-card,.pds-rp details,.pds-rp-kpis>div{background:var(--pds-surface)!important;color:var(--pds-text)!important;border-color:var(--pds-border)!important}
.pds-app th,.pds-rp th{background:#e8edf4!important;color:#202b3d!important}
.pds-app tr:nth-child(even) td,.pds-rp tr:nth-child(even) td{background:#f8fafc}
.pds-mini,.pds-button,.pds-btn,.pds-rp button{background:var(--pds-primary)!important;color:#fff!important;border-color:var(--pds-primary)!important;text-shadow:none!important}
.pds-mini:hover,.pds-button:hover,.pds-btn:hover,.pds-rp button:hover{background:var(--pds-primary-hover)!important;color:#fff!important}
.pds-mini.secondary,.pds-button.secondary,.pds-btn.secondary{background:#fff!important;color:#163b63!important;border-color:#7890aa!important}
.pds-pay-flow{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:12px 0;padding:12px 14px;background:#eaf2fb;border:1px solid #a9c1db;border-radius:10px;color:#17324f}
.pds-pay-flow strong{margin-right:4px}.pds-pay-flow span{padding:5px 8px;background:#fff;border:1px solid #bfd0e2;border-radius:999px;color:#26364a!important;font-size:12px}
.pds-rp-notice{margin:10px 0;padding:11px 13px;border:1px solid #88c59f;border-radius:8px;background:var(--pds-success-bg);color:var(--pds-success);font-weight:600}
.pds-pay-status{display:inline-block;padding:4px 8px;border-radius:999px;font-size:12px;font-weight:700}.pds-pay-status.is-paid{background:var(--pds-success-bg);color:var(--pds-success)!important;border:1px solid #8cc6a1}.pds-pay-status.is-ready{background:var(--pds-warning-bg);color:var(--pds-warning)!important;border:1px solid #dfbd69}
.pds-pay-actions{display:flex;align-items:flex-start;gap:6px;flex-wrap:wrap}.pds-pay-box{position:relative;margin:0!important;border:0!important;background:transparent!important}.pds-pay-box>summary{list-style:none;cursor:pointer}.pds-pay-box>summary::-webkit-details-marker{display:none}.pds-pay-box form{position:absolute;right:0;z-index:30;width:290px;padding:14px;background:#fff;border:1px solid #9eadbf;border-radius:10px;box-shadow:0 14px 34px rgba(17,31,50,.2)}.pds-pay-box label{display:block;margin:0 0 9px;font-size:12px;font-weight:600;color:#29384d!important}.pds-pay-box input,.pds-pay-box select{display:block;width:100%;margin-top:4px;box-sizing:border-box}.pds-pay-help{margin:8px 0 0!important;font-size:11px;color:var(--pds-muted)!important}
@media(max-width:700px){.pds-pay-box form{position:fixed;left:12px;right:12px;bottom:12px;width:auto;max-height:80vh;overflow:auto}.pds-pay-flow{align-items:flex-start;flex-direction:column}.pds-pay-flow span{width:100%;box-sizing:border-box}}
@media print{.pds-pay-box,.pds-pay-flow,.pds-rp-actions,.pds-rp-notice{display:none!important}.pds-app,.pds-rp{background:#fff!important}}

/* v11.1.12 Customer 360 and Recovery */
#pds-customers.pds-customer-360-workspace{width:100%!important;max-width:none!important}
#pds-customers .pds-crm-table-wrap{width:100%;overflow:auto}
#pds-customers .pds-v50-crm-table{min-width:1180px;width:100%}
#pds-customers .pds-crm-actions,.pds-inline-actions{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.pds-pro-modal{position:fixed;inset:0;z-index:999999;display:grid;place-items:center;padding:24px}
.pds-pro-modal-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.72)}
.pds-pro-modal-card{position:relative;width:min(1180px,96vw);max-height:92vh;overflow:auto;background:#fff;color:#0f172a;border-radius:18px;padding:22px;box-shadow:0 28px 80px rgba(2,6,23,.35)}
.pds-pro-modal-card *{color:inherit}.pds-pro-modal-close{position:absolute;right:14px;top:10px;border:0;background:#e2e8f0;color:#0f172a;width:36px;height:36px;border-radius:50%;font-size:24px;cursor:pointer}
.pds-modal-loading,.pds-modal-sub{color:#475569}.pds-payment-summary{display:flex;justify-content:space-between;align-items:center;background:#eff6ff;border:1px solid #bfdbfe;border-radius:12px;padding:14px;margin:12px 0}.pds-payment-summary b{font-size:22px;color:#0f172a}
.pds-recovery-payment-form,.pds-combined-payment-form,.pds-reminder-form{display:grid;gap:13px}.pds-recovery-payment-form label,.pds-combined-payment-form>label,.pds-reminder-form label{display:grid;gap:6px;font-weight:700;color:#0f172a}
.pds-recovery-payment-form input,.pds-recovery-payment-form select,.pds-combined-payment-form input,.pds-combined-payment-form select,.pds-reminder-form textarea{background:#fff!important;color:#0f172a!important;border:1px solid #94a3b8!important;border-radius:10px;padding:11px}
.pds-check-row{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center}.pds-check-row input{width:auto}
.pds-success-panel{display:grid;gap:12px;padding:20px;border:1px solid #86efac;background:#f0fdf4;border-radius:14px;color:#14532d}
.pds-c360-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;padding-right:36px}.pds-c360-head h3{margin:0;font-size:24px}.pds-c360-head p{color:#475569}
.pds-c360-kpis{display:grid;grid-template-columns:repeat(6,minmax(130px,1fr));gap:10px;margin:16px 0}.pds-c360-kpis>div,.pds-c360-profile-grid>div{border:1px solid #cbd5e1;background:#f8fafc;border-radius:12px;padding:12px}.pds-c360-kpis small,.pds-c360-profile-grid small{display:block;color:#475569}.pds-c360-kpis b{font-size:20px}
.pds-c360-tabs{display:flex;gap:8px;border-bottom:1px solid #cbd5e1;margin-bottom:12px}.pds-c360-tabs button{border:0;background:transparent;color:#334155;padding:10px 14px;font-weight:700}.pds-c360-tabs button.active{color:#1d4ed8;border-bottom:3px solid #2563eb}
.pds-c360-panel{display:none}.pds-c360-panel.active{display:block}.pds-c360-panel table{min-width:900px}.pds-c360-panel td small{display:block;color:#475569}
.pds-c360-profile-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.pds-allocation-list{display:grid;gap:8px;max-height:46vh;overflow:auto}.pds-allocation-row{display:grid;grid-template-columns:auto 1fr auto 150px;gap:10px;align-items:center;border:1px solid #cbd5e1;border-radius:12px;padding:10px;background:#f8fafc}.pds-allocation-row small{display:block;color:#475569}
@media(max-width:900px){.pds-pro-modal{padding:8px}.pds-pro-modal-card{width:98vw;padding:16px}.pds-c360-head{display:block}.pds-c360-kpis{grid-template-columns:repeat(2,1fr)}.pds-c360-profile-grid{grid-template-columns:1fr}.pds-allocation-row{grid-template-columns:auto 1fr}.pds-allocation-row>span:nth-of-type(2),.pds-allocation-row input[type=number]{grid-column:2}}


/* v11.1.13 Customer 360 desktop/data-trust polish */
@media (min-width:901px){
  .pds-dashboard-v2 #pds-customers,
  .pds-manager-content #pds-customers,
  #pds-customers.pds-card.pds-wide{
    grid-column:1 / -1!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    justify-self:stretch!important;
  }
  #pds-customers .pds-customer-form{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(180px,1fr))!important;
    gap:12px 14px!important;
    align-items:end!important;
  }
  #pds-customers .pds-customer-form .pds-customer-picker-bar,
  #pds-customers .pds-customer-form .pds-customer-browser,
  #pds-customers .pds-customer-form .pds-note,
  #pds-customers .pds-customer-form .pds-form-result{
    grid-column:1 / -1!important;
  }
  #pds-customers .pds-customer-form .pds-row{display:contents!important}
  #pds-customers .pds-customer-form>button[type=submit]{justify-self:start!important}
  #pds-customers .pds-crm-v50,
  #pds-customers .pds-crm-table-wrap{width:100%!important;max-width:none!important}
  #pds-customers .pds-v50-crm-table{
    display:table!important;width:100%!important;min-width:1120px!important;table-layout:fixed!important
  }
  #pds-customers .pds-v50-crm-table thead{display:table-header-group!important}
  #pds-customers .pds-v50-crm-table tbody{display:table-row-group!important}
  #pds-customers .pds-v50-crm-table tr{display:table-row!important}
  #pds-customers .pds-v50-crm-table th,
  #pds-customers .pds-v50-crm-table td{display:table-cell!important;width:auto!important}
  #pds-customers .pds-v50-crm-table th:nth-child(1){width:22%}
  #pds-customers .pds-v50-crm-table th:nth-child(2){width:16%}
  #pds-customers .pds-v50-crm-table th:nth-child(3){width:8%}
  #pds-customers .pds-v50-crm-table th:nth-child(4){width:13%}
  #pds-customers .pds-v50-crm-table th:nth-child(5){width:10%}
  #pds-customers .pds-v50-crm-table th:nth-child(6){width:31%}
  #pds-customers .pds-v50-crm-table td{padding:14px 12px!important;vertical-align:top!important}
  #pds-customers .pds-crm-actions{display:flex!important;gap:7px!important;align-items:center!important}
}
.pds-c360-shell{width:100%;min-width:0}
.pds-c360-head{position:sticky;top:-22px;z-index:3;background:#fff;padding-top:4px;padding-bottom:12px;border-bottom:1px solid #e2e8f0}
.pds-c360-kpis>div{min-height:76px}
.pds-c360-panel .pds-responsive-table{max-height:55vh;overflow:auto;border:1px solid #cbd5e1;border-radius:12px}
.pds-c360-panel table{width:100%;border-collapse:collapse}
.pds-c360-panel th{position:sticky;top:0;z-index:2;background:#eaf0f7!important;color:#0f172a!important}
.pds-c360-panel td,.pds-c360-panel th{padding:11px 12px;border-bottom:1px solid #dbe3ee;text-align:left}
.pds-c360-panel tr:last-child td{border-bottom:0}
.pds-c360-panel td small{margin-top:4px}
.pds-c360-data-note{padding:9px 12px;margin:8px 0 12px;border:1px solid #bfdbfe;background:#eff6ff;color:#1e3a8a;border-radius:10px;font-size:12px}

/* v11.1.16 reminder ticket chooser */
.pds-reminder-ticket-list{display:grid;gap:10px;margin-top:12px}.pds-reminder-ticket-choice{width:100%;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 14px;border:1px solid #cbd5e1;border-radius:12px;background:#fff;color:#0f172a;text-align:left;cursor:pointer}.pds-reminder-ticket-choice:hover{border-color:#2563eb;background:#eff6ff}.pds-reminder-ticket-choice span{display:grid;gap:3px}.pds-reminder-ticket-choice small{color:#475569}.pds-reminder-ticket-choice strong{white-space:nowrap;color:#0f172a}

.pds-c360-consent-summary{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:16px;padding:14px;border:1px solid #d9e2ec;border-radius:12px;background:#f8fafc;color:#172033}
.pds-c360-consent-summary strong{margin-right:4px;color:#172033}
.pds-c360-consent-summary small{flex-basis:100%;color:#526173}


/* v11.4.2 Technician Fast Work Mode + overall contrast polish */
.pds-sce-app.pds-role-technician{
  --pds-tech-blue:#155eef;
  --pds-tech-cyan:#06b6d4;
  --pds-tech-ink:#10213a;
  --pds-tech-soft:#eef6ff;
  --pds-tech-border:#d7e5f5;
  --pds-tech-success:#0f9f6e;
  --pds-tech-warning:#d97706;
}
.pds-role-technician .pds-tech-detail-panel{
  padding-bottom:116px!important;
  max-width:100%!important;
}
.pds-role-technician .pds-tech-ticket-hero{
  position:relative;
  overflow:hidden;
  padding:18px;
  border:0!important;
  border-radius:22px;
  background:linear-gradient(135deg,#124bc4 0%,#1677e8 54%,#09a8c8 100%)!important;
  box-shadow:0 16px 36px rgba(20,82,180,.22);
}
.pds-role-technician .pds-tech-ticket-hero:after{
  content:"";
  position:absolute;
  width:150px;height:150px;right:-42px;top:-70px;
  border-radius:50%;background:rgba(255,255,255,.12);
}
.pds-role-technician .pds-tech-ticket-hero,
.pds-role-technician .pds-tech-ticket-hero h1,
.pds-role-technician .pds-tech-ticket-hero h2,
.pds-role-technician .pds-tech-ticket-hero p,
.pds-role-technician .pds-tech-ticket-hero b,
.pds-role-technician .pds-tech-ticket-hero small,
.pds-role-technician .pds-tech-ticket-hero .pds-kicker,
.pds-role-technician .pds-tech-ticket-hero .pds-support-line{
  color:#fff!important;
}
.pds-role-technician .pds-tech-ticket-hero h2{
  display:flex;flex-direction:column;gap:5px;margin:4px 0 6px;
  font-size:clamp(20px,5vw,30px);line-height:1.15;
}
.pds-role-technician .pds-tech-ticket-number{font-weight:900;letter-spacing:.02em}
.pds-role-technician .pds-tech-ticket-device{font-size:.72em;font-weight:750;color:#e9f8ff!important}
.pds-role-technician .pds-tech-customer-line{opacity:.94}
.pds-role-technician .pds-tech-ticket-hero .pds-status-pill{
  position:relative;z-index:1;
  background:#fff!important;color:#114aa9!important;border:0!important;
  box-shadow:0 8px 20px rgba(7,35,85,.18);
}
.pds-role-technician .pds-tech-contact-strip{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0;
}
.pds-role-technician .pds-tech-contact-btn{
  appearance:none;border:1px solid var(--pds-tech-border);border-radius:13px;
  min-height:44px;padding:8px 6px;background:#fff!important;color:#17335b!important;
  font-size:12px;font-weight:800;text-align:center;text-decoration:none;
  display:flex;align-items:center;justify-content:center;cursor:pointer;
  box-shadow:0 5px 14px rgba(21,57,103,.07);
}
.pds-role-technician .pds-tech-contact-btn:active{transform:translateY(1px)}
.pds-role-technician .pds-tech-fastbar{
  position:fixed;z-index:9996;left:50%;bottom:calc(66px + env(safe-area-inset-bottom));
  width:min(560px,calc(100vw - 18px));transform:translateX(-50%);
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;
  padding:8px;border-radius:20px;background:rgba(255,255,255,.97);
  border:1px solid rgba(184,208,237,.95);box-shadow:0 14px 40px rgba(12,43,88,.24);
  backdrop-filter:blur(14px);
}
.pds-role-technician .pds-tech-fast-action{
  appearance:none;border:0;border-radius:14px;background:#eef5ff!important;color:#21446f!important;
  min-height:52px;padding:5px 2px;display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:2px;font-size:11px;line-height:1;cursor:pointer;
}
.pds-role-technician .pds-tech-fast-action span{font-size:19px;font-weight:900}
.pds-role-technician .pds-tech-fast-action b{color:inherit!important;font-size:11px}
.pds-role-technician .pds-tech-fast-action.is-primary,
.pds-role-technician .pds-tech-fast-action.is-active{
  background:linear-gradient(135deg,var(--pds-tech-blue),var(--pds-tech-cyan))!important;color:#fff!important;
  box-shadow:0 7px 16px rgba(21,94,239,.23);
}
.pds-role-technician .pds-tech-summary-grid{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;
}
.pds-role-technician .pds-tech-summary-grid>div{
  min-width:0;padding:12px;border-radius:15px;background:#f7fbff;border:1px solid var(--pds-tech-border);
}
.pds-role-technician .pds-tech-summary-grid small{display:block;color:#56708f!important;font-weight:700}
.pds-role-technician .pds-tech-summary-grid b{display:block;color:#132d4e!important;overflow-wrap:anywhere}
.pds-role-technician .pds-step-flow{
  display:flex!important;overflow-x:auto;scroll-snap-type:x proximity;gap:7px;padding:10px 1px 7px;
  scrollbar-width:none;
}
.pds-role-technician .pds-step-flow::-webkit-scrollbar{display:none}
.pds-role-technician .pds-step-flow span{
  flex:0 0 auto;scroll-snap-align:start;border-radius:999px!important;padding:8px 12px!important;
  white-space:nowrap;background:#edf3fb!important;color:#3b5677!important;border:1px solid #d6e3f2!important;
}
.pds-role-technician .pds-step-flow span.active{
  background:linear-gradient(135deg,#155eef,#06b6d4)!important;color:#fff!important;border-color:transparent!important;
}
.pds-role-technician .pds-current-action,
.pds-role-technician .pds-tech-secondary,
.pds-role-technician .pds-tech-collab-anchor,
.pds-role-technician .pds-fast-work-section{
  scroll-margin-top:86px;
}
.pds-role-technician .pds-step-card,
.pds-role-technician .pds-inline-form,
.pds-role-technician details{
  border-radius:18px!important;border-color:var(--pds-tech-border)!important;
  box-shadow:0 7px 22px rgba(26,61,105,.07);
}
.pds-role-technician .pds-step-card h3,
.pds-role-technician .pds-inline-form h4,
.pds-role-technician details summary{color:var(--pds-tech-ink)!important}
.pds-role-technician input,
.pds-role-technician select,
.pds-role-technician textarea{
  color:#10213a!important;background:#fff!important;border-color:#b9cce3!important;
}
.pds-role-technician input::placeholder,
.pds-role-technician textarea::placeholder{color:#6f829b!important;opacity:1}
.pds-role-technician .pds-fast-form-actions{
  position:sticky;bottom:0;z-index:4;display:flex;gap:8px;padding:10px 0 2px;
  background:linear-gradient(to top,#fff 72%,rgba(255,255,255,0));
}
.pds-role-technician .pds-fast-form-actions .pds-btn{flex:1}
.pds-role-technician .pds-approval-shortcuts{
  margin-top:10px;padding:12px;border-radius:14px;background:#eef9ff;border:1px solid #cbeaf5;
}
.pds-role-technician.pds-fast-focus-open .pds-tech-summary-grid,
.pds-role-technician.pds-fast-focus-open .pds-step-flow,
.pds-role-technician.pds-fast-focus-open .pds-tech-secondary,
.pds-role-technician.pds-fast-focus-open .pds-tech-collab-anchor,
.pds-role-technician.pds-fast-focus-open .pds-tech-contact-strip{
  display:none!important;
}
.pds-role-technician .pds-fast-focus-card{
  position:fixed;z-index:9997;inset:10px 8px calc(72px + env(safe-area-inset-bottom));
  overflow:auto;border-radius:22px;background:#fff;padding:16px;
  box-shadow:0 20px 70px rgba(5,30,70,.35);
}
.pds-role-technician .pds-fast-focus-close{
  position:sticky;top:0;z-index:9;float:right;border:0;border-radius:999px;
  width:38px;height:38px;background:#102c52!important;color:#fff!important;font-size:22px;cursor:pointer;
}
.pds-role-technician .pds-fast-focus-title{
  margin:0 50px 12px 0;color:#10213a;font-size:20px;font-weight:900;
}
.pds-role-technician .pds-fast-more-menu{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;
}
.pds-role-technician .pds-fast-more-menu button{
  min-height:52px;border-radius:14px;border:1px solid var(--pds-tech-border);
  background:#f4f8fe!important;color:#17375e!important;font-weight:800;
}
@media(min-width:900px){
  .pds-role-technician .pds-tech-detail-panel{max-width:1180px!important;margin-inline:auto}
  .pds-role-technician .pds-tech-fastbar{bottom:18px}
  .pds-role-technician .pds-fast-focus-card{
    inset:50% auto auto 50%;width:min(720px,calc(100vw - 40px));max-height:84vh;
    transform:translate(-50%,-50%);padding:22px;
  }
}
@media(max-width:620px){
  .pds-role-technician .pds-tech-ticket-hero{padding:15px;border-radius:18px}
  .pds-role-technician .pds-tech-ticket-hero .pds-status-pill{position:absolute;right:12px;top:12px;max-width:42%;font-size:10px}
  .pds-role-technician .pds-tech-ticket-hero h2{padding-right:34%}
  .pds-role-technician .pds-tech-contact-strip{gap:6px}
  .pds-role-technician .pds-tech-contact-btn{min-height:40px;font-size:11px}
  .pds-role-technician .pds-tech-summary-grid{grid-template-columns:1fr!important}
  .pds-role-technician .pds-tech-summary-grid>div{padding:10px}
  .pds-role-technician .pds-fast-more-menu{grid-template-columns:1fr}
}
@media(max-width:380px){
  .pds-role-technician .pds-tech-fastbar{width:calc(100vw - 10px);gap:3px;padding:6px}
  .pds-role-technician .pds-tech-fast-action{min-height:48px}
  .pds-role-technician .pds-tech-ticket-hero h2{font-size:19px}
}

/* v11.4.5 single-language profile control */
.pds-app-language-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end;margin:14px 0;padding:14px;border:1px solid #dbe5f1;border-radius:14px;background:#f8fbff}
.pds-app-language-form label{margin:0;color:#172033!important;font-weight:700}
.pds-app-language-form select{margin-top:6px;min-height:44px;background:#fff!important;color:#172033!important}
.pds-app-language-form .pds-auth-result{grid-column:1/-1;margin:0}
@media(max-width:520px){.pds-app-language-form{grid-template-columns:1fr}.pds-app-language-form .pds-btn{width:100%}}


/* v11.4.5 Quick Workflow Control */
.pds-sce-app .pds-quick-workflow-open{margin-inline-start:6px;white-space:nowrap}
.pds-sce-app .pds-quick-workflow-modal{position:fixed;inset:0;z-index:100050;display:grid;place-items:center;padding:16px}
.pds-sce-app .pds-quick-workflow-backdrop{position:absolute;inset:0;background:rgba(6,18,38,.66);backdrop-filter:blur(5px)}
.pds-sce-app .pds-quick-workflow-card{position:relative;width:min(560px,100%);max-height:min(88dvh,760px);overflow:auto;background:#fff;color:#101828;border-radius:24px;padding:22px;box-shadow:0 28px 80px rgba(0,0,0,.3)}
.pds-sce-app .pds-quick-workflow-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}
.pds-sce-app .pds-quick-workflow-head small{color:#2563eb;font-weight:800;letter-spacing:.12em}
.pds-sce-app .pds-quick-workflow-head h3{margin:3px 0 0;color:#101828;font-size:1.5rem}
.pds-sce-app .pds-quick-workflow-close{width:42px;height:42px;border:0;border-radius:14px;background:#eef4ff;color:#14213d;font-size:24px;cursor:pointer}
.pds-sce-app .pds-quick-workflow-form{display:grid;gap:14px}
.pds-sce-app .pds-quick-workflow-form label{display:grid;gap:7px;color:#24324a;font-weight:700}
.pds-sce-app .pds-quick-workflow-form select,.pds-sce-app .pds-quick-workflow-form textarea{width:100%;min-height:48px;border:1px solid #b8c6da;border-radius:14px;background:#fff;color:#101828;padding:11px 13px;font:inherit}
.pds-sce-app .pds-quick-workflow-form textarea{resize:vertical;min-height:108px}
.pds-sce-app .pds-qw-source,.pds-sce-app .pds-qw-assignee{display:none}
.pds-sce-app .pds-qw-submit{min-height:52px;border-radius:15px}
.pds-sce-app .pds-qw-result{min-height:0;border-radius:12px;font-weight:700}
.pds-sce-app .pds-qw-result.is-error{padding:10px 12px;background:#fff1f2;color:#9f1239}
.pds-sce-app .pds-qw-result.is-success{padding:10px 12px;background:#ecfdf3;color:#166534}
@media(max-width:600px){
 .pds-sce-app .pds-quick-workflow-modal{align-items:end;padding:0}
 .pds-sce-app .pds-quick-workflow-card{width:100%;max-height:92dvh;border-radius:24px 24px 0 0;padding:18px 16px calc(20px + env(safe-area-inset-bottom))}
 .pds-sce-app .pds-quick-workflow-open{min-height:40px}
}

/* v11.4.5 manager/admin language control */
.pds-manager-language-control{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-left:8px}
.pds-manager-language-control label{display:flex;align-items:center;gap:6px;margin:0}
.pds-manager-language-control select{min-height:36px;padding:6px 30px 6px 10px}
.pds-manager-language-control .pds-auth-result{font-size:12px}
@media(max-width:700px){.pds-manager-language-control{width:100%;justify-content:flex-end}.pds-manager-language-control label span{display:none}}


/* v11.4.7 Quick Workflow ticket-aware polish */
.pds-sce-app .pds-quick-action-group{display:inline-flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.pds-sce-app .pds-quick-action-group>.pds-mini{margin:0!important}
.pds-sce-app .pds-qw-ticket-context{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 16px;padding:12px;border:1px solid #dbe7f5;border-radius:16px;background:#f6faff}
.pds-sce-app .pds-qw-ticket-context>div{min-width:0;padding:9px 10px;border-radius:12px;background:#fff;border:1px solid #e2eaf4}
.pds-sce-app .pds-qw-ticket-context small{display:block;margin-bottom:3px;color:#53657d!important;font-size:10px;font-weight:800;letter-spacing:.08em}
.pds-sce-app .pds-qw-ticket-context strong{display:block;color:#10213a!important;font-size:14px;line-height:1.35;overflow-wrap:anywhere}
.pds-sce-app .pds-quick-workflow-form label[hidden],.pds-sce-app .pds-qw-warning[hidden]{display:none!important}
.pds-sce-app .pds-qw-warning{margin:0 0 12px;padding:10px 12px;border:1px solid #f5c46b;border-radius:12px;background:#fff8e8;color:#7a3f00!important;font-weight:700}
.pds-sce-app .pds-qw-submit:disabled{opacity:.55;cursor:not-allowed}
.pds-sce-app .pds-qw-result{min-height:0;margin:0 0 10px}
.pds-sce-app .pds-qw-result.is-success,.pds-sce-app .pds-qw-result.is-error{padding:10px 12px;border-radius:12px;font-weight:700}
.pds-sce-app .pds-qw-result.is-success{background:#eafaf2;color:#08633a!important}
.pds-sce-app .pds-qw-result.is-error{background:#fff0f0;color:#9b1c1c!important}
@media(max-width:640px){
  .pds-sce-app .pds-quick-workflow-modal{align-items:end;padding:0}
  .pds-sce-app .pds-quick-workflow-card{width:100%;max-height:92dvh;border-radius:24px 24px 0 0;padding-bottom:calc(18px + env(safe-area-inset-bottom))}
  .pds-sce-app .pds-qw-ticket-context{grid-template-columns:1fr}
  .pds-sce-app .pds-quick-action-group{width:100%;justify-content:flex-start}
  .pds-sce-app .pds-quick-action-group>.pds-mini{flex:1 1 auto}
}


/* v11.4.7 Quick Action runtime repair */
.pds-sce-app .pds-compact-ticket-row{grid-template-columns:110px minmax(180px,1.3fr) minmax(170px,1fr) minmax(210px,1.3fr) minmax(150px,.75fr);cursor:default}
.pds-sce-app .pds-ticket-row-actions{display:flex!important;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap;padding:8px 10px!important;border-right:0!important}
.pds-sce-app .pds-ticket-row-actions .pds-mini{margin:0!important;white-space:nowrap}
.pds-sce-app .pds-ops-primary-actions>.pds-quick-workflow-open{display:block;width:100%;margin-top:6px}
@media(max-width:760px){
  .pds-sce-app .pds-compact-ticket-row{grid-template-columns:88px minmax(145px,1.2fr) minmax(135px,1fr) minmax(145px,1fr) minmax(130px,.8fr)}
  .pds-sce-app .pds-ticket-row-actions{align-items:stretch;flex-direction:column}
  .pds-sce-app .pds-ticket-row-actions .pds-mini{width:100%}
}

/* v11.5.0 fitting split */
.pds-status-fitting_in_ok,.pds-badge[data-status="fitting_in_ok"]{background:#dcfce7!important;color:#166534!important;border-color:#86efac!important}
.pds-status-fitting_in_cancel,.pds-badge[data-status="fitting_in_cancel"]{background:#ffedd5!important;color:#9a3412!important;border-color:#fdba74!important}
.pds-cancel-fitting-card{border-color:#fdba74!important;background:linear-gradient(135deg,#fff7ed,#fff)!important}

/* v11.5.3 BGA timer */
.pds-tech-ticket-hero{position:relative}
.pds-bga-badge{display:inline-flex;align-items:center;gap:8px;margin-top:10px;padding:8px 12px;border-radius:999px;font-weight:800;box-shadow:0 8px 24px rgba(0,0,0,.16);position:sticky;top:8px;z-index:8}
.pds-bga-badge.is-running{background:#fff3cd;color:#6b4b00;border:1px solid #ffd76a}
.pds-bga-badge.is-done{background:#dff7e8;color:#075c2e;border:1px solid #75d59d}
.pds-bga-time{font-variant-numeric:tabular-nums;font-size:1.05rem}
.pds-bga-reset{margin-left:8px;background:#fff!important;color:#7a1e1e!important}
.pds-tech-fastbar .pds-bga-control{background:linear-gradient(135deg,#7c3aed,#db2777)!important;color:#fff!important}
@media(max-width:600px){.pds-bga-badge{max-width:100%;white-space:nowrap}.pds-bga-reset{margin:8px 0 0}}


/* v11.5.4 technician approval fast-flow */
.pds-role-technician .pds-fast-focus-shell{max-height:100dvh;display:flex;flex-direction:column;padding:0!important;overflow:hidden}
.pds-role-technician .pds-fast-focus-header{position:sticky;top:0;z-index:8;display:flex;align-items:center;justify-content:space-between;padding:16px 18px;background:#fff;border-bottom:1px solid #dbe6f3}
.pds-role-technician .pds-fast-focus-header .pds-fast-focus-title{margin:0!important;min-width:0}
.pds-role-technician .pds-fast-focus-header .pds-fast-focus-close{position:static!important;flex:0 0 auto}
.pds-role-technician .pds-fast-focus-body{flex:1 1 auto;overflow:auto!important;padding:18px 18px 130px!important;overscroll-behavior:contain}
.pds-approval-sticky-footer{position:sticky;bottom:0;z-index:9;display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:rgba(255,255,255,.97);border-top:1px solid #dbe6f3;box-shadow:0 -12px 28px rgba(15,35,65,.12)}
.pds-approval-sticky-footer button{min-height:50px;border:0;border-radius:14px;font-weight:800}
.pds-approval-save-next{background:#175ca6;color:#fff}.pds-approval-phone-shortcut{background:#111827;color:#fff}
.pds-approval-structured-fields{display:grid;gap:12px;margin:12px 0}.pds-approval-structured-fields label{display:grid;gap:6px;font-weight:700}
.pds-approval-structured-fields input,.pds-approval-structured-fields select{width:100%;min-height:48px;border:1px solid #c8d6e8;border-radius:12px;background:#fff;color:#111827;padding:10px 12px}
.pds-approval-next-sheet,.pds-bga-confirm-sheet{position:fixed;inset:0;z-index:100050;background:rgba(7,18,38,.62);display:flex;align-items:flex-end;justify-content:center;padding:16px}
.pds-approval-next-sheet{background:#fff;inset:auto 14px calc(88px + env(safe-area-inset-bottom));border-radius:24px;box-shadow:0 24px 70px rgba(4,20,45,.32);padding:18px;display:block}
.pds-next-action-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.pds-next-action-head small{font-weight:900;color:#19705b}.pds-next-action-head h3{margin:4px 0 14px}
.pds-next-close,.pds-bga-confirm-close{border:0;border-radius:999px;width:42px;height:42px;background:#e9f1fb;font-size:25px}
.pds-next-action-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.pds-next-action-grid button{min-height:52px;border:0;border-radius:14px;background:#eaf2ff;color:#12345c;font-weight:800}.pds-next-action-grid button:first-child{background:#1764d8;color:#fff}
.pds-bga-confirm-sheet{align-items:center}.pds-bga-confirm-card{width:min(420px,100%);position:relative;background:#fff;border-radius:24px;padding:24px;box-shadow:0 28px 80px rgba(4,20,45,.35)}
.pds-bga-confirm-card>small{font-weight:900;color:#1764d8}.pds-bga-confirm-card h3{font-size:28px;margin:8px 0}.pds-bga-confirm-card>div:last-child{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:20px}.pds-bga-confirm-card button{min-height:50px;border:0;border-radius:14px;font-weight:800}.pds-bga-confirm-close{position:absolute;right:14px;top:14px}.pds-bga-cancel{background:#edf2f8}.pds-bga-start-confirm{background:#1764d8;color:#fff}
@media(max-width:520px){.pds-approval-sticky-footer,.pds-next-action-grid{grid-template-columns:1fr}.pds-role-technician .pds-fast-focus-body{padding-left:12px!important;padding-right:12px!important}.pds-approval-next-sheet{inset:auto 8px calc(84px + env(safe-area-inset-bottom))}}

/* v11.6.2 BGA usability */
.pds-bga-control.is-loading{opacity:.72;pointer-events:none}
@media(max-width:520px){.pds-bga-confirm-sheet{align-items:flex-end;padding:0}.pds-bga-confirm-card{width:100%;border-radius:24px 24px 0 0;padding:22px 18px calc(18px + env(safe-area-inset-bottom))}.pds-bga-confirm-card h3{font-size:24px}.pds-bga-confirm-card>div:last-child{grid-template-columns:1fr}.pds-bga-start-confirm{order:-1}}


/* Queue assignment manager v11.7.0 */
.pds-compact-ticket-head,.pds-compact-ticket-row{
  grid-template-columns:110px minmax(180px,1.25fr) minmax(165px,1fr) minmax(190px,1.1fr) minmax(190px,1.15fr) 150px;
}
.pds-assignment-summary{display:flex;flex-direction:column;align-items:flex-start;gap:3px}
.pds-assignment-summary small{width:100%;font-style:normal}
.pds-assignment-summary small b{display:inline}
.pds-assignee-name{font-style:normal;color:#075985;font-weight:800}
.pds-assignee-name.is-unassigned{color:#b45309}
.pds-assignment-summary .pds-queue-assignment-open{margin-top:5px}
.pds-queue-assignment-modal[hidden]{display:none!important}
.pds-queue-assignment-modal{position:fixed;inset:0;z-index:100000;display:grid;place-items:center;padding:18px}
.pds-queue-assignment-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.55)}
.pds-queue-assignment-dialog{position:relative;width:min(460px,100%);max-height:calc(100vh - 36px);overflow:auto;background:#fff;border-radius:18px;padding:22px;box-shadow:0 24px 70px rgba(15,23,42,.3)}
.pds-queue-assignment-close{position:absolute;right:12px;top:10px;border:0;background:transparent;font-size:28px;line-height:1;cursor:pointer}
.pds-queue-assignment-form{display:grid;gap:14px}
.pds-queue-assignment-form label{display:grid;gap:6px;font-weight:800}
.pds-queue-assignment-form select,.pds-queue-assignment-form textarea{width:100%}
.pds-queue-assignment-actions{display:flex;justify-content:flex-end;gap:10px}
@media(max-width:900px){
  .pds-compact-ticket-row{
    grid-template-columns:72px minmax(0,1fr) 92px;
    grid-template-areas:
      "ticket customer action"
      "ticket device action"
      "ticket assignment action"
      "ticket problem action";
  }
  .pds-compact-ticket-row>span:nth-child(1){grid-area:ticket}
  .pds-compact-ticket-row>span:nth-child(2){grid-area:customer}
  .pds-compact-ticket-row>span:nth-child(3){grid-area:device}
  .pds-compact-ticket-row>span:nth-child(4){grid-area:assignment}
  .pds-compact-ticket-row>span:nth-child(5){grid-area:problem}
  .pds-compact-ticket-row>span:nth-child(6){grid-area:action}
  .pds-assignment-summary{border-top:1px dashed #dbe4ef;border-bottom:1px dashed #dbe4ef}
  .pds-queue-assignment-modal{align-items:end;padding:0}
  .pds-queue-assignment-dialog{width:100%;max-height:88vh;border-radius:20px 20px 0 0;padding:20px}
}


/* v11.7.1 deployment stability and accessibility */
.pds-app :where(button,a,input,select,textarea,[tabindex]):focus-visible{
  outline:3px solid currentColor;
  outline-offset:3px;
}
.pds-app button:disabled,.pds-app [aria-disabled="true"]{cursor:not-allowed;opacity:.62}
.pds-responsive-table{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch}
.pds-responsive-table table{min-width:680px}
.pds-queue-assignment-dialog{overscroll-behavior:contain}
.pds-queue-assignment-dialog h2,.pds-queue-assignment-dialog h3{padding-right:42px}
@media(max-width:520px){
  .pds-queue-assignment-actions{display:grid;grid-template-columns:1fr}
  .pds-queue-assignment-actions button,.pds-queue-assignment-actions .button{width:100%;min-height:48px}
}
@media(prefers-reduced-motion:reduce){
  .pds-app *,.pds-app *::before,.pds-app *::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}


/* v11.7.2 Manager Queue density and single-scroll UX */
.pds-manager-queue-board{
  --pds-queue-row-pad-y:6px;
  --pds-queue-row-pad-x:10px;
}
.pds-manager-queue-board .pds-board-head{
  align-items:center;
  margin-bottom:8px;
}
.pds-manager-queue-board .pds-board-head h4{font-size:20px}
.pds-manager-queue-board .pds-board-head p{margin:2px 0 0;font-size:12px}
.pds-manager-queue-board .pds-board-head input{height:38px}
.pds-manager-queue-board .pds-queue-group-tabs{
  position:sticky;
  top:0;
  z-index:12;
  padding:6px 0 8px;
  background:rgba(255,255,255,.97);
  backdrop-filter:blur(10px);
}
.pds-manager-queue-board .pds-queue-group-tabs .pds-mini{
  min-height:34px;
  padding:6px 10px!important;
  font-size:11px;
}
.pds-manager-queue-board .pds-queue-group{
  margin:10px 0 14px!important;
  border-radius:14px!important;
  overflow:visible!important;
  box-shadow:0 6px 18px rgba(15,43,74,.045);
}
.pds-manager-queue-board .pds-queue-group-title{
  position:sticky;
  top:46px;
  z-index:9;
  padding:8px 12px!important;
  min-height:36px;
  border-radius:13px 13px 0 0;
  font-size:12px;
}
.pds-manager-queue-board .pds-queue-group-title b{
  min-width:26px;
  padding:2px 7px;
  font-size:11px;
}
.pds-manager-queue-board .pds-compact-ticket-table{
  max-height:none!important;
  height:auto!important;
  overflow:visible!important;
}
.pds-manager-queue-board .pds-compact-ticket-head{
  position:sticky;
  top:82px;
  z-index:8;
  min-height:32px;
  font-size:10px;
  background:#f4f7fb;
}
.pds-manager-queue-board .pds-compact-ticket-head span,
.pds-manager-queue-board .pds-compact-ticket-row>span{
  padding:var(--pds-queue-row-pad-y) var(--pds-queue-row-pad-x)!important;
}
.pds-manager-queue-board .pds-compact-ticket-row{
  min-height:48px!important;
  transform:none!important;
}
.pds-manager-queue-board .pds-compact-ticket-row:nth-child(odd){background:#fbfdff}
.pds-manager-queue-board .pds-compact-ticket-row:hover{background:#eef6ff!important}
.pds-manager-queue-board .pds-compact-ticket-row b{
  font-size:12px;
  line-height:1.2;
}
.pds-manager-queue-board .pds-compact-ticket-row small{
  font-size:10px;
  line-height:1.25;
  margin-top:1px;
}
.pds-manager-queue-board .pds-assignment-summary{
  display:grid;
  grid-template-columns:1fr auto;
  gap:1px 6px;
  align-items:center;
}
.pds-manager-queue-board .pds-assignment-summary small{grid-column:1}
.pds-manager-queue-board .pds-assignment-summary .pds-queue-assignment-open{
  grid-column:2;
  grid-row:1 / span 3;
  margin:0!important;
  padding:5px 7px!important;
  font-size:10px;
}
.pds-manager-queue-board .pds-status-mini{
  padding:3px 6px;
  margin-bottom:1px;
  font-size:10px;
}
.pds-manager-queue-board .pds-ticket-row-actions{
  flex-wrap:nowrap!important;
  gap:4px!important;
  padding:5px 7px!important;
}
.pds-manager-queue-board .pds-ticket-row-actions .pds-mini{
  padding:5px 7px!important;
  min-height:28px;
  font-size:10px;
}
.pds-manager-queue-board .pds-compact-empty{padding:10px;font-size:12px}

@media(min-width:1100px){
  .pds-manager-queue-board .pds-compact-ticket-head,
  .pds-manager-queue-board .pds-compact-ticket-row{
    grid-template-columns:82px minmax(180px,1.35fr) minmax(160px,1fr) minmax(190px,1.05fr) minmax(160px,1fr) 126px!important;
  }
}
@media(max-width:1099px) and (min-width:901px){
  .pds-manager-queue-board .pds-compact-ticket-head,
  .pds-manager-queue-board .pds-compact-ticket-row{
    grid-template-columns:78px minmax(150px,1.25fr) minmax(140px,1fr) minmax(170px,1fr) minmax(145px,.9fr) 118px!important;
  }
}
@media(max-width:900px){
  .pds-manager-queue-board .pds-queue-group-title{position:sticky;top:0}
  .pds-manager-queue-board .pds-compact-ticket-row{
    margin:5px!important;
    min-height:0!important;
  }
  .pds-manager-queue-board .pds-ticket-row-actions{flex-direction:column}
}


/* v11.7.3 readable dense queue */
#pds-queue .pds-manager-queue-board{font-size:13px}
#pds-queue .pds-board-head h4{font-size:20px;line-height:1.25}
#pds-queue .pds-board-head .pds-muted{font-size:12px}
#pds-queue .pds-manager-queue-search{
  width:min(520px,42vw);min-height:38px;padding:8px 12px;font-size:13px;
  border:1px solid #cbd5e1;border-radius:10px;background:#fff
}
#pds-queue .pds-manager-queue-search:focus{outline:3px solid rgba(37,99,235,.18);border-color:#2563eb}
#pds-queue .pds-queue-search-result{display:block;margin-top:4px;font-size:12px;font-weight:700;color:#334155}
#pds-queue .pds-queue-group-tabs .pds-mini{font-size:11px;min-height:30px;padding:6px 9px}
#pds-queue .pds-queue-group-title{min-height:38px;padding:8px 12px;font-size:13px}
#pds-queue .pds-compact-ticket-head{font-size:10.5px;letter-spacing:.02em}
#pds-queue .pds-compact-ticket-row{min-height:58px;font-size:12px;line-height:1.28}
#pds-queue .pds-compact-ticket-row>span{padding:7px 9px}
#pds-queue .pds-compact-ticket-row b{font-size:12px}
#pds-queue .pds-compact-ticket-row small{font-size:10.5px;line-height:1.3;margin-top:2px}
#pds-queue .pds-status-mini{font-size:10px;padding:4px 7px}
#pds-queue .pds-ticket-row-actions .pds-mini,
#pds-queue .pds-assignment-summary .pds-mini{font-size:10.5px;min-height:30px;padding:5px 8px}
#pds-queue .pds-dashboard-filter-banner{position:sticky;top:0;z-index:25}
#pds-queue .pds-drill-hidden{display:none!important}
#pds-queue .pds-drill-match{box-shadow:inset 4px 0 0 #2563eb}
@media (max-width:1200px){
 #pds-queue .pds-manager-queue-search{width:100%}
 #pds-queue .pds-compact-ticket-row{font-size:12px}
}

/* v11.8.0 invoice register and deterministic filtering */
.pds-search-hidden{display:none!important}
.pds-invoice-register-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:10px}
.pds-invoice-register-head h4{margin:0}
.pds-invoice-register-search{min-width:300px;max-width:460px}
.pds-invoice-kpis{display:flex;gap:10px;flex-wrap:wrap;margin:8px 0 14px}
.pds-invoice-kpis span{border:1px solid #86c58b;background:#f5fff5;border-radius:5px;padding:7px 10px}
.pds-invoice-table table{font-size:13px}
.pds-invoice-table th{white-space:nowrap}
@media(max-width:780px){.pds-invoice-register-head{align-items:stretch;flex-direction:column}.pds-invoice-register-search{min-width:0;width:100%}}


/* v11.8.1 stable search visibility and readable dense queue */
#pds-queue .pds-search-hidden,
#pds-queue .pds-search-hidden.pds-compact-ticket-row,
#pds-queue .pds-search-hidden.pds-queue-group,
.pds-invoice-register .pds-search-hidden {
  display: none !important;
}
#pds-queue .pds-compact-ticket-row {
  font-size: 12px;
  line-height: 1.3;
}
#pds-queue .pds-compact-ticket-row small {
  font-size: 10.5px;
}

/* v11.9.0 workflow polish */
.pds-tech-status-group.delivered-due{border-color:#f59e0b;background:#fffaf0}
.pds-tech-status-group.delivered-due .pds-tech-group-head{background:#92400e;color:#fff}
.pds-success-panel.pds-receipt-ready{display:grid;gap:10px;padding:16px;border:1px solid #86efac;background:#f0fdf4;border-radius:14px}
.pds-success-panel.pds-receipt-ready .pds-btn{justify-self:start}
.pds-success-panel.pds-receipt-ready .pds-created-actions{padding:0;background:transparent}
.pds-delivered-due-collection>summary{font-weight:900;color:#92400e}
.pds-delivered-due-payment-form input[readonly]{font-size:18px;font-weight:900;background:#fffdf5;border-color:#f59e0b}
.pds-erp-head>div:last-child{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
@media(max-width:780px){.pds-erp-head>div:last-child{justify-content:flex-start}.pds-tech-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* v11.9.4 consolidated customer due reminder */
.pds-reminder-ticket-choice.is-summary{cursor:default;display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;padding:12px 14px;border:1px solid #dbe4f0;border-radius:12px;background:#f8fbff;text-align:left}
.pds-reminder-ticket-choice.is-summary span{display:flex;flex-direction:column;gap:3px;min-width:0}
.pds-reminder-ticket-choice.is-summary small{color:#64748b;white-space:normal}
.pds-reminder-ticket-choice.is-summary strong{white-space:nowrap}
.pds-reminder-total{display:flex;align-items:center;justify-content:space-between;margin:12px 0;padding:13px 14px;border-radius:12px;background:#0f172a;color:#fff;font-weight:700}
.pds-reminder-form textarea{width:100%;min-height:250px;resize:vertical;font-family:inherit;line-height:1.45}
.pds-payment-message-mode{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0}.pds-payment-message-scope{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:52px;padding:11px 14px;border:1px solid #cbd5e1;border-radius:12px;background:#fff;color:#0f172a;font:inherit;font-weight:750;cursor:pointer}.pds-payment-message-scope small{color:#475569;font-weight:700}.pds-payment-message-scope.is-active{border-color:#2563eb;background:#eff6ff;color:#1d4ed8;box-shadow:0 0 0 2px rgba(37,99,235,.12)}.pds-payment-message-single{display:flex;flex-direction:column;gap:4px;margin:14px 0;padding:12px 14px;border:1px solid #bfdbfe;border-radius:12px;background:#eff6ff;color:#0f172a}.pds-payment-message-single span{color:#475569}.pds-payment-message-review{display:grid;gap:3px;margin:12px 0;padding:11px 13px;border:1px solid #f59e0b;border-radius:12px;background:#fffbeb;color:#78350f}.pds-payment-message-review span{color:#78350f}.pds-payment-message-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0 8px}.pds-payment-message-heading span{color:#64748b;font-size:13px}.pds-payment-message-body{min-height:0}
@media(max-width:600px){.pds-payment-message-mode{grid-template-columns:1fr}.pds-payment-message-scope{min-height:48px}.pds-payment-message-heading{align-items:flex-start}.pds-reminder-ticket-choice.is-summary{align-items:flex-start}.pds-reminder-ticket-choice.is-summary strong{font-size:14px}.pds-reminder-form textarea{min-height:210px}}


/* v12.0 GST filing centre */
.pds-gst-export-centre{display:flex;flex-direction:column;gap:8px;min-width:min(100%,520px);padding:12px 14px;border:1px solid #dbe5f3;border-radius:14px;background:#f8fbff}
.pds-gst-export-centre label{display:flex;align-items:center;justify-content:space-between;gap:12px;font-weight:700;color:#172033}
.pds-gst-export-centre label span{white-space:nowrap}
.pds-gst-export-centre input[type=month]{min-height:38px;border:1px solid #c9d7ea;border-radius:10px;padding:7px 10px;background:#fff;color:#172033;font:inherit}
.pds-gst-export-actions{display:flex;flex-wrap:wrap;gap:8px}
.pds-gst-export-centre small{color:#64748b;line-height:1.35}
@media(max-width:760px){.pds-gst-export-centre{min-width:0;width:100%}.pds-gst-export-centre label{align-items:flex-start;flex-direction:column}.pds-gst-export-centre input[type=month]{width:100%}.pds-gst-export-actions>*{flex:1 1 calc(50% - 8px);text-align:center}}

/* v14.0.1 final workflow polish */
body.pds-action-dialog-lock{overflow:hidden!important}
.pds-action-dialog{position:fixed;inset:0;z-index:100300;display:grid;place-items:center;padding:18px}
.pds-action-dialog-backdrop{position:absolute;inset:0;width:100%;height:100%;border:0;background:rgba(15,23,42,.58);backdrop-filter:blur(3px);cursor:default}
.pds-action-dialog-card{position:relative;width:min(480px,calc(100vw - 32px));max-height:calc(100vh - 36px);overflow:auto;border:1px solid rgba(255,255,255,.65);border-radius:22px;background:#fff;color:#0f172a;box-shadow:0 28px 90px rgba(15,23,42,.34)}
.pds-action-dialog-body{padding:24px 24px 18px}.pds-action-dialog-body h3{margin:0 0 8px;font-size:22px;line-height:1.2;letter-spacing:-.025em;color:#0f172a}.pds-action-dialog-body p{margin:0;color:#52627a;line-height:1.55;white-space:pre-line}
.pds-action-dialog-field{display:grid;gap:7px;margin-top:18px;font-weight:800;color:#334155}.pds-action-dialog-field input,.pds-action-dialog-field textarea{width:100%;min-height:44px;box-sizing:border-box;border:1px solid #cbd5e1;border-radius:12px;background:#fff;color:#0f172a;padding:10px 12px;font:inherit;line-height:1.45;resize:vertical}.pds-action-dialog-field input:focus,.pds-action-dialog-field textarea:focus{outline:3px solid rgba(37,99,235,.17);border-color:#2563eb}
.pds-action-dialog-error{min-height:18px;margin-top:6px;color:#b91c1c;font-size:12px;font-weight:800}.pds-action-dialog-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:14px 24px 22px;border-top:1px solid #eef2f7}.pds-action-dialog-actions button{min-height:46px;border:0;border-radius:13px;font-weight:900;cursor:pointer}.pds-action-dialog-cancel{background:#eef2f7;color:#334155}.pds-action-dialog-confirm{background:#175cd3;color:#fff;box-shadow:0 10px 24px rgba(37,99,235,.22)}.pds-action-dialog-confirm.is-danger{background:#b42318;box-shadow:0 10px 24px rgba(180,35,24,.2)}.pds-action-dialog-actions button:focus-visible{outline:3px solid currentColor;outline-offset:3px}
.pds-workspace-menu{position:relative}.pds-workspace-menu>summary{list-style:none;min-height:38px;display:inline-flex;align-items:center;gap:8px;padding:8px 13px;border:1px solid #cbd5e1;border-radius:12px;background:#fff;color:#172033;font-size:12px;font-weight:900;cursor:pointer;box-shadow:0 7px 18px rgba(15,23,42,.08)}.pds-workspace-menu>summary:after{content:"▾";font-size:11px;transition:transform .16s ease}.pds-workspace-menu[open]>summary:after{transform:rotate(180deg)}.pds-workspace-menu>summary::-webkit-details-marker{display:none}
.pds-workspace-menu-panel{position:absolute;right:0;top:calc(100% + 10px);z-index:120;width:min(360px,calc(100vw - 28px));display:grid;gap:12px;padding:14px;border:1px solid #dbe5f1;border-radius:18px;background:#fff;box-shadow:0 22px 60px rgba(15,23,42,.22)}.pds-workspace-view-controls{display:grid;grid-template-columns:1fr 1fr;gap:8px}.pds-workspace-view-controls .pds-fullscreen-toggle,.pds-workspace-view-controls .pds-sidebar-compact-toggle{width:100%;min-height:42px;padding:9px 10px;border-radius:11px;font-size:12px;box-shadow:none}
.pds-workspace-language-slot .pds-manager-language-control{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;align-items:end!important;width:100%!important;margin:0!important;padding:10px!important;border-radius:12px!important}.pds-workspace-language-slot .pds-manager-language-control label{display:grid!important;gap:4px!important;align-items:stretch!important;font-size:12px!important}.pds-workspace-language-slot .pds-manager-language-control select{width:100%!important;min-height:40px!important;margin:0!important}.pds-workspace-language-slot .pds-manager-language-control .pds-auth-result{grid-column:1/-1}.pds-workspace-menu #pdsPwaInstallBtn.show{position:static!important;inset:auto!important;display:flex!important;width:100%!important;max-width:none!important;min-width:0!important;min-height:42px!important;transform:none!important;margin:0!important;border-radius:12px!important;padding:10px 12px!important;opacity:1!important}
.pds-ops-filter-hidden{display:none!important}
#pds-accounts .pds-erp-subnav{position:sticky;top:0;z-index:22;display:flex;gap:7px;overflow-x:auto;overscroll-behavior-inline:contain;padding:8px;background:rgba(255,255,255,.97);border:1px solid #dbe5f1;border-radius:13px;box-shadow:0 8px 22px rgba(15,23,42,.07);scrollbar-width:thin}#pds-accounts .pds-erp-subnav>*{flex:0 0 auto;white-space:nowrap}
#pds-accounts .pds-erp-v10 .pds-responsive-table,#pds-reports .pds-rp .pds-responsive-table{max-height:min(62vh,680px);overflow:auto;border:1px solid #e2e8f0;border-radius:12px;overscroll-behavior:contain}#pds-accounts .pds-responsive-table thead th,#pds-reports .pds-responsive-table thead th{position:sticky;top:0;z-index:5;background:#f4f8fc!important;box-shadow:inset 0 -1px #dbe5f1}#pds-accounts .pds-table td,#pds-accounts .pds-table th,#pds-reports .pds-table td,#pds-reports .pds-table th{font-size:12.5px;line-height:1.4}
#pds-reports .pds-rp>details>summary{display:flex;align-items:center;justify-content:space-between;gap:10px}#pds-reports .pds-rp>details>summary:after{content:"Open";padding:4px 8px;border-radius:999px;background:#e8f0fb;color:#1d4ed8;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}#pds-reports .pds-rp>details[open]>summary:after{content:"Close";background:#dcfce7;color:#166534}
@media(max-width:700px){.pds-action-dialog{align-items:end;padding:0}.pds-action-dialog-card{width:100%;max-height:90vh;border-radius:22px 22px 0 0}.pds-action-dialog-actions{grid-template-columns:1fr}.pds-action-dialog-confirm{order:-1}.pds-workspace-menu-panel{position:fixed;right:10px;top:70px;width:calc(100vw - 20px)}.pds-workspace-view-controls{grid-template-columns:1fr}#pds-accounts .pds-erp-v10 .pds-responsive-table,#pds-reports .pds-rp .pds-responsive-table{max-height:68vh}}
/* v14.3.0 — simple internal notes and audited staff cash */
.pds-simple-notes{border:1px solid #cbdcf2!important;background:#fff!important;padding:18px!important}
.pds-simple-note-head,.pds-simple-inbox-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.pds-simple-note-head h3,.pds-simple-inbox-head h3{margin:2px 0 4px}
.pds-simple-note-count,.pds-unread-dot{display:inline-flex;align-items:center;white-space:nowrap;border-radius:999px;background:#eef4fb;color:#24517f;padding:6px 10px;font-size:12px;font-weight:800}
.pds-simple-note-count.is-unread,.pds-unread-dot{background:#fff0c7;color:#854d0e}
.pds-latest-note{margin:14px 0;padding:13px 15px;border-radius:12px;background:#f7faff;border-left:4px solid #2f6fad}
.pds-latest-note.is-important{background:#fff9e8;border-left-color:#f59e0b}
.pds-latest-note small{color:#58708b;font-weight:700}.pds-latest-note p{margin:6px 0 0;line-height:1.5}
.pds-simple-note-compose{margin:14px 0;padding:14px;border-radius:14px;background:#f8fafc;border:1px solid #dbe5ef}
.pds-simple-note-compose textarea{min-height:76px!important;resize:vertical}
.pds-simple-note-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:9px}
.pds-important-check{display:flex!important;align-items:center;gap:7px;margin:0!important;font-weight:700!important}
.pds-important-check input{width:18px!important;height:18px!important;margin:0!important}
.pds-simple-note-history{margin-top:12px;border-top:1px solid #e2e8f0;padding-top:10px}
.pds-simple-note-history>summary{cursor:pointer;font-weight:800;color:#24517f;padding:8px 2px}
.pds-simple-note-history .pds-team-note-stream{margin-top:10px}
.pds-simple-notes .pds-team-message{padding:12px!important;margin:0 0 10px!important}
.pds-simple-notes .pds-team-message-meta{display:flex;flex-wrap:wrap;gap:5px 10px}
.pds-row-note-preview{margin-top:4px;color:#52667b!important;line-height:1.25}
.pds-team-mini-chip.is-unread{background:#fff0c7!important;color:#854d0e!important;border-color:#f5cf6b!important}

.pds-notes-inbox-tools{display:flex;align-items:end;gap:15px;margin:18px 0;padding:13px;border-radius:13px;background:#f7faff}
.pds-notes-inbox-tools label:first-child{flex:1}.pds-notes-inbox-tools input[type=search]{margin-top:5px}
.pds-notes-inbox-tools label:last-child{display:flex;align-items:center;gap:7px;white-space:nowrap}
.pds-note-inbox-kpi,.pds-cash-manager-kpi{display:flex;flex-direction:column;align-items:flex-end;padding:10px 14px;border-radius:13px;background:#eef4fb}
.pds-note-inbox-kpi b,.pds-cash-manager-kpi b{font-size:24px}.pds-note-inbox-kpi span,.pds-cash-manager-kpi span{font-size:12px;color:#52667b}
.pds-notes-inbox-list{display:grid;gap:10px}
.pds-note-inbox-row{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(280px,1.6fr) auto;gap:14px;align-items:center;padding:14px;border:1px solid #dbe5ef;border-radius:14px;background:#fff}
.pds-note-inbox-row.is-unread{background:#fffdf5;border-color:#f4d77a;box-shadow:inset 4px 0 #f59e0b}
.pds-note-inbox-ticket,.pds-note-inbox-message,.pds-note-inbox-action{display:flex;flex-direction:column;gap:3px}
.pds-note-inbox-ticket span{font-weight:700}.pds-note-inbox-ticket small,.pds-note-inbox-message small{color:#64748b}
.pds-note-inbox-message p{margin:2px 0;line-height:1.45}.pds-note-inbox-action{align-items:flex-end}

.pds-cash-kpi{border-color:#8bd3a8!important;background:#f2fff6!important}.pds-cash-kpi strong{color:#087a37!important}
.pds-cash-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:15px 0}
.pds-cash-summary>div{display:flex;flex-direction:column;gap:3px;padding:16px;border-radius:14px;background:#f2fff6;border:1px solid #b6e3c6}
.pds-cash-summary b{font-size:27px;color:#087a37}.pds-cash-summary span{font-weight:800}.pds-cash-summary small{color:#567064}
.pds-cash-receipt-list,.pds-cash-batch-list{display:grid;gap:10px}
.pds-cash-receipt-row{display:grid;grid-template-columns:minmax(220px,1fr) auto auto;align-items:center;gap:14px;padding:14px;border:1px solid #d9e4df;border-radius:13px;background:#fff}
.pds-cash-receipt-row>div{display:flex;flex-direction:column;gap:3px}.pds-cash-receipt-row>strong{font-size:20px}
.pds-cash-status{display:inline-flex;align-self:flex-end;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:800;margin-bottom:5px}
.pds-cash-status.with-staff{background:#e7f8ee;color:#087a37}.pds-cash-status.waiting{background:#fff3cf;color:#854d0e}
.pds-cash-submit-box{display:grid;grid-template-columns:minmax(220px,1fr) minmax(220px,1fr) auto;align-items:end;gap:14px;margin-top:16px;padding:16px;border-radius:14px;background:#eef7ff;border:1px solid #bed9f0}
.pds-cash-submit-box>div{display:flex;flex-direction:column;gap:3px}.pds-cash-submit-box span{font-size:19px;font-weight:900}.pds-cash-submit-box small{color:#52667b}
.pds-cash-batch{padding:15px;border:1px solid #dbe5ef;border-radius:14px;background:#fff}.pds-cash-batch.status-submitted{border-color:#efce6c;background:#fffdf6}
.pds-cash-batch.status-accepted{border-color:#9ed8b5;background:#f7fff9}.pds-cash-batch.status-rejected{border-color:#f1b4b4}
.pds-cash-batch-head{display:grid;grid-template-columns:1.3fr .7fr auto;gap:14px;align-items:center}
.pds-cash-batch-head>div{display:flex;flex-direction:column;gap:3px}.pds-cash-batch-head strong{font-size:21px}.pds-cash-batch-head em{font-style:normal;font-weight:800;font-size:12px}
.pds-cash-batch-actions{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-top:12px}.pds-cash-batch-actions form{display:flex;align-items:center;gap:7px;margin:0}.pds-cash-batch-actions input{min-width:220px}
.pds-courier-wallet-details{margin-top:18px}.pds-courier-wallet-details>summary{cursor:pointer;font-weight:800;padding:12px;background:#f7faff;border-radius:10px}

@media(max-width:720px){
  .pds-simple-note-head,.pds-simple-inbox-head{align-items:flex-start}
  .pds-note-inbox-row,.pds-cash-receipt-row,.pds-cash-batch-head,.pds-cash-submit-box{grid-template-columns:1fr}
  .pds-note-inbox-action{align-items:flex-start;flex-direction:row}
  .pds-notes-inbox-tools{align-items:stretch;flex-direction:column}
  .pds-cash-summary{grid-template-columns:1fr}
  .pds-cash-status{align-self:flex-start}
  .pds-cash-batch-actions,.pds-cash-batch-actions form{align-items:stretch;flex-direction:column}
  .pds-cash-batch-actions input,.pds-cash-batch-actions .pds-mini,.pds-cash-batch-actions a{width:100%;min-width:0;text-align:center}
  .pds-simple-note-actions{align-items:stretch;flex-direction:column}.pds-simple-note-actions .pds-mini{width:100%}
}

/* v14.4.0 — technician-friendly shared workflow */
.pds-v144-queue-intro,.pds-v144-queue-summary,.pds-v144-ticket-main,.pds-v144-ticket-bottom,.pds-v144-handoff-card header{display:flex;align-items:center;justify-content:space-between;gap:12px}
.pds-v144-queue-intro{margin-bottom:14px}.pds-v144-queue-intro h3,.pds-v144-handoff-card h3{margin:0 0 4px}.pds-v144-queue-intro p{margin:0;color:#52667b}
.pds-v144-manual-badge{display:inline-flex;white-space:nowrap;border-radius:999px;padding:7px 11px;background:#ecfdf3;color:#087a37;border:1px solid #a7e4bd;font-size:12px;font-weight:900}
.pds-v144-technician-tools{display:grid;align-items:end;gap:10px;grid-template-columns:minmax(230px,1.4fr) repeat(3,minmax(150px,.7fr)) 82px auto minmax(90px,auto)!important}.pds-v144-technician-tools label{display:grid;gap:5px;font-weight:800}.pds-v144-technician-tools input,.pds-v144-technician-tools select{width:100%;min-height:44px}
.pds-v144-queue-summary{margin:16px 0 10px;padding:0 2px}.pds-v144-queue-summary b{font-size:18px}.pds-v144-queue-summary span{color:#64748b;font-weight:700}
.pds-v144-team-queue{display:grid;gap:10px}.pds-v144-team-ticket{display:grid;gap:11px;padding:15px;border:1px solid #dbe5ef;border-radius:16px;background:#fff;box-shadow:0 8px 22px rgba(15,23,42,.045)}
.pds-v144-ticket-main>div{display:flex;flex-direction:column;gap:3px}.pds-v144-ticket-main>div>b{font-size:16px}.pds-v144-ticket-main small{color:#64748b}
.pds-v144-ticket-facts{display:grid;grid-template-columns:1.25fr .8fr 1fr 1fr;gap:8px}.pds-v144-ticket-facts>span{display:flex;flex-direction:column;gap:3px;padding:9px 10px;border-radius:10px;background:#f7faff;color:#27364a}.pds-v144-ticket-facts b{font-size:10px;text-transform:uppercase;letter-spacing:.05em;color:#64748b}
.pds-v144-stage-people{display:flex;gap:6px;overflow-x:auto}.pds-v144-stage-people span{flex:0 0 auto;border-radius:999px;padding:5px 9px;background:#eef4fb;color:#334155;font-size:11px}.pds-v144-stage-people b{color:#1d5f99}
.pds-v144-ticket-bottom>small{color:#52667b;line-height:1.4}.pds-v144-ticket-bottom .pds-mini{flex:0 0 auto}
.pds-v144-handoff-card{margin:12px 0;padding:14px;border:1px solid #bcd7f2;border-radius:16px;background:linear-gradient(135deg,#f4f9ff,#fff)}.pds-v144-handoff-card header>span{border-radius:999px;background:#e7f1fb;color:#24517f;padding:5px 9px;font-size:11px;font-weight:800}
.pds-v144-handoff-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px;margin-top:10px}.pds-v144-handoff-facts>div{display:flex;flex-direction:column;gap:2px;padding:9px;background:#fff;border:1px solid #dbe8f5;border-radius:10px}.pds-v144-handoff-facts small{color:#64748b;font-weight:800}.pds-v144-handoff-facts em{font-style:normal;color:#74859a;font-size:10px}
.pds-v144-assign-card{margin:12px 0!important;border-color:#a7e4bd!important;background:#f6fff9!important}.pds-v144-assign-card>summary{font-size:16px;color:#075c2d}.pds-v144-assign-card>p{color:#52667b;line-height:1.45}.pds-stage-assignment-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.pds-stage-assignment-form label{display:grid;gap:5px}.pds-stage-assignment-form .pds-stage-assignment-note,.pds-stage-assignment-form .pds-handoff-result{grid-column:1/-1}.pds-stage-assignment-form button{justify-self:start}
.pds-v144-more-work{margin-top:14px!important}.pds-v144-more-work>summary{font-size:16px}.pds-v144-more-work .pds-tech-collab-anchor{margin-top:12px}

@media(max-width:900px){
  .pds-v144-technician-tools{grid-template-columns:repeat(2,minmax(0,1fr))!important}.pds-v144-technician-tools label:first-child{grid-column:1/-1}
  .pds-v144-ticket-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
  .pds-v144-queue-intro{align-items:flex-start}.pds-v144-queue-intro,.pds-v144-ticket-main,.pds-v144-ticket-bottom{flex-direction:column}.pds-v144-ticket-main,.pds-v144-ticket-bottom{align-items:stretch}
  .pds-v144-technician-tools{display:grid!important;grid-template-columns:1fr!important}.pds-v144-technician-tools>*{grid-column:1!important;width:100%!important}.pds-v144-technician-tools .pds-mini{min-height:46px}
  .pds-v144-ticket-facts,.pds-stage-assignment-form{grid-template-columns:1fr}.pds-stage-assignment-form .pds-stage-assignment-note{grid-column:auto}.pds-v144-ticket-bottom .pds-mini{width:100%;min-height:48px}
}

/* v14.5.0 — compact technician board: simple outside, powerful inside */
.pds-v145-technician-shell{position:relative}
.pds-v145-state-select{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;pointer-events:none!important}
.pds-v145-toolbar{position:relative;z-index:40;display:grid;gap:8px;margin:0 0 9px;padding:9px;border:1px solid #dce7f2;border-radius:15px;background:rgba(255,255,255,.98);box-shadow:0 7px 20px rgba(15,23,42,.055)}
.pds-v145-toolbar-top{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;align-items:center}
.pds-v145-scope-strip,.pds-v145-toolbar-actions,.pds-v145-stage-strip{display:flex;align-items:center;gap:6px;min-width:0}
.pds-v145-scope-strip,.pds-v145-stage-strip{overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.pds-v145-scope-strip::-webkit-scrollbar,.pds-v145-stage-strip::-webkit-scrollbar{display:none}
.pds-v145-scope-pick,.pds-v145-stage-pick,.pds-v145-icon-button,.pds-v145-more-filters>summary{appearance:none;border:1px solid #d8e3ef;background:#f5f8fc;color:#29445f;border-radius:10px;min-height:36px;padding:7px 10px;font-family:inherit;font-size:12px;font-weight:800;line-height:1.1;white-space:nowrap;cursor:pointer}
.pds-v145-scope-pick.is-active,.pds-v145-stage-pick.is-active{border-color:#1763a6;background:#1763a6;color:#fff;box-shadow:0 5px 14px rgba(23,99,166,.18)}
.pds-v145-stage-pick b{display:inline-flex;align-items:center;justify-content:center;min-width:21px;margin-left:4px;padding:2px 5px;border-radius:999px;background:rgba(15,23,42,.08);font-size:10px}
.pds-v145-stage-pick.is-active b{background:rgba(255,255,255,.22)}
.pds-v145-toolbar-actions{justify-content:flex-end}
.pds-v145-icon-button,.pds-v145-more-filters>summary{display:inline-flex;align-items:center;justify-content:center;gap:5px;list-style:none;background:#fff}
.pds-v145-more-filters>summary::-webkit-details-marker{display:none}
.pds-v145-more-filters{position:relative}
.pds-v145-filter-panel{position:absolute;right:0;top:calc(100% + 8px);z-index:80;width:min(330px,calc(100vw - 28px));display:grid;gap:10px;padding:13px;border:1px solid #d8e3ef;border-radius:15px;background:#fff;box-shadow:0 20px 55px rgba(15,23,42,.2)}
.pds-v145-filter-panel label{display:grid;gap:5px;color:#334155;font-size:12px;font-weight:800}
.pds-v145-filter-panel select{width:100%;min-height:40px;border-radius:10px}
.pds-v145-search-panel{position:relative;display:block;margin:0}
.pds-v145-search-panel input{width:100%;min-height:42px;padding:9px 40px 9px 12px;border:1px solid #cad8e7;border-radius:11px;background:#fff;font-size:14px}
.pds-v145-search-panel button{position:absolute;right:4px;top:4px;width:34px;height:34px;border:0;border-radius:8px;background:#eef3f8;color:#475569;font-size:20px;cursor:pointer}
.pds-v145-live-status{justify-self:end;color:#6b7d90;font-size:10px;font-weight:700}
.pds-v145-technician-board{display:grid;gap:8px}
.pds-v145-stage-strip{padding:1px 0 3px}
.pds-v145-result-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:2px 2px 0;color:#52667b;font-size:12px}
.pds-v145-result-summary b{color:#132a42;font-size:15px}.pds-v145-result-summary span{font-weight:800}
.pds-v145-owner-group{overflow:hidden;border:1px solid #dce6f0;border-radius:13px;background:#fff}
.pds-v145-owner-head{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;width:100%;min-height:38px;padding:7px 10px;border:0;background:#0d2f50;color:#fff;text-align:left;cursor:pointer}
.pds-v145-owner-head span{font-size:13px;font-weight:900}.pds-v145-owner-head small{color:#bfd1e1;font-size:10px}.pds-v145-owner-head b{display:inline-flex;align-items:center;justify-content:center;min-width:25px;height:23px;padding:0 7px;border-radius:999px;background:#fff;color:#0d2f50;font-size:11px}
.pds-v145-owner-head:before{content:"▾";grid-column:1;font-size:10px}.pds-v145-owner-head span{grid-column:2}.pds-v145-owner-head small{grid-column:2}.pds-v145-owner-head b{grid-column:3;grid-row:1 / span 2}
.pds-v145-owner-group.is-collapsed .pds-v145-owner-head:before{content:"▸"}.pds-v145-owner-group.is-collapsed .pds-v145-owner-rows{display:none}
.pds-v145-ticket-row{position:relative;display:grid;grid-template-columns:4px minmax(0,1fr) 64px;gap:9px;align-items:center;min-height:88px;padding:8px 9px 8px 0;border-bottom:1px solid #e8eef5;background:#fff;cursor:pointer;transition:background .14s ease}
.pds-v145-ticket-row:nth-child(even){background:#fbfdff}.pds-v145-ticket-row:last-child{border-bottom:0}.pds-v145-ticket-row:hover,.pds-v145-ticket-row:focus{background:#f0f7ff;outline:none}.pds-v145-ticket-row:focus-visible{box-shadow:inset 0 0 0 2px #2563eb}
.pds-v145-stage-accent{align-self:stretch;border-radius:0 5px 5px 0;background:#64748b}
.pds-v145-ticket-row[data-status="l1"] .pds-v145-stage-accent,.pds-v145-ticket-row[data-status="received"] .pds-v145-stage-accent{background:#f59e0b}
.pds-v145-ticket-row[data-status="l2"] .pds-v145-stage-accent,.pds-v145-ticket-row[data-status="diagnosis"] .pds-v145-stage-accent,.pds-v145-ticket-row[data-status="repair_in_progress"] .pds-v145-stage-accent{background:#2563eb}
.pds-v145-ticket-row[data-status="l3"] .pds-v145-stage-accent{background:#7c3aed}
.pds-v145-ticket-row[data-status^="fitting"] .pds-v145-stage-accent,.pds-v145-ticket-row[data-status^="qc_"] .pds-v145-stage-accent,.pds-v145-ticket-row[data-status="testing"] .pds-v145-stage-accent{background:#0f9f78}
.pds-v145-ticket-row[data-status="in_transit"] .pds-v145-stage-accent{background:#0891b2}.pds-v145-ticket-row[data-status="delivered_due"] .pds-v145-stage-accent{background:#d97706}.pds-v145-ticket-row[data-status="delivered_paid"] .pds-v145-stage-accent{background:#15803d}
.pds-v145-ticket-copy{display:grid;gap:3px;min-width:0}
.pds-v145-ticket-title,.pds-v145-ticket-device,.pds-v145-ticket-people,.pds-v145-work-trail{display:flex;align-items:center;gap:7px;min-width:0;white-space:nowrap}
.pds-v145-ticket-title strong{flex:0 0 auto;color:#0f2944;font-size:14px}.pds-v145-ticket-title>b{min-width:0;overflow:hidden;text-overflow:ellipsis;color:#172033;font-size:13px;text-transform:uppercase}.pds-v145-ticket-title em{flex:0 1 auto;margin-left:auto;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pds-v145-ticket-device{color:#334155;font-size:11.5px}.pds-v145-ticket-device>b{min-width:0;overflow:hidden;text-overflow:ellipsis}.pds-v145-ticket-device>span{flex:0 0 auto;max-width:145px;overflow:hidden;text-overflow:ellipsis;padding-left:7px;border-left:1px solid #dce5ee;color:#64748b}
.pds-v145-ticket-people{color:#64748b;font-size:10.5px}.pds-v145-ticket-people span{overflow:hidden;text-overflow:ellipsis}.pds-v145-ticket-people b{color:#274866}.pds-v145-ticket-people time{margin-left:auto;color:#8a98a8}
.pds-v145-work-trail{overflow-x:auto;scrollbar-width:none}.pds-v145-work-trail::-webkit-scrollbar{display:none}.pds-v145-work-trail span{flex:0 0 auto;padding:2px 6px;border-radius:999px;background:#edf4fb;color:#46617c;font-size:9.5px}.pds-v145-work-trail b{color:#1763a6}
.pds-v145-ticket-problem{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#5e6f82;font-size:10.5px}
.pds-v145-work-button{width:64px;min-height:38px;border:0;border-radius:10px;background:#1763a6;color:#fff;font-family:inherit;font-size:11px;font-weight:900;line-height:1;cursor:pointer;box-shadow:0 5px 13px rgba(23,99,166,.18)}
.pds-v145-empty{padding:22px!important}
.pds-v145-technician-board .pds-v14-pagination{margin-top:3px}
.pds-role-technician .pds-tech-contact-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
.pds-role-technician .pds-v144-assign-card{margin-top:16px!important}

@media(max-width:700px){
  .pds-role-technician #pds-jobs{padding:7px!important;border-radius:15px!important;box-shadow:0 5px 16px rgba(15,23,42,.055)!important}
  .pds-v145-toolbar{position:sticky;top:58px;z-index:82;gap:6px;margin:0 0 6px;padding:6px;border-radius:13px;box-shadow:0 6px 18px rgba(15,23,42,.07)}
  .pds-v145-toolbar-top{gap:5px}.pds-v145-scope-strip{gap:4px}
  .pds-v145-scope-pick{flex:0 0 auto;min-height:32px;padding:6px 8px;border-radius:9px;font-size:10.5px}
  .pds-v145-icon-button,.pds-v145-more-filters>summary{width:36px;min-height:32px;padding:5px;border-radius:9px}.pds-v145-icon-button b,.pds-v145-more-filters>summary b{display:none}
  .pds-v145-search-panel{display:none}.pds-v145-toolbar.is-search-open .pds-v145-search-panel{display:block}
  .pds-v145-search-panel input{min-height:38px;font-size:13px}.pds-v145-search-panel button{width:30px;height:30px}
  .pds-v145-live-status{display:none}
  .pds-v145-filter-panel{position:fixed;left:8px;right:8px;top:auto;bottom:76px;width:auto;max-height:70vh;overflow:auto;border-radius:18px;padding:14px;box-shadow:0 18px 65px rgba(15,23,42,.3)}
  .pds-v145-stage-strip{gap:5px;margin:0;padding:0 0 3px}.pds-v145-stage-pick{flex:0 0 auto;min-height:32px;padding:6px 8px;border-radius:9px;font-size:10.5px}
  .pds-v145-stage-pick b{min-width:18px;padding:1px 4px;font-size:9px}
  .pds-v145-result-summary{padding:0 2px;font-size:10px}.pds-v145-result-summary b{font-size:13px}
  .pds-v145-technician-board{gap:6px}.pds-v145-owner-group{border-radius:11px}
  .pds-v145-owner-head{min-height:34px;padding:5px 8px}.pds-v145-owner-head span{font-size:12px}.pds-v145-owner-head small{font-size:8.5px}.pds-v145-owner-head b{min-width:22px;height:20px;font-size:10px}
  .pds-v145-ticket-row{grid-template-columns:4px minmax(0,1fr) 48px;gap:6px;min-height:82px;padding:6px 6px 6px 0}
  .pds-v145-ticket-title{gap:5px}.pds-v145-ticket-title strong{font-size:13px}.pds-v145-ticket-title>b{font-size:11.5px}.pds-v145-ticket-title em{max-width:88px;padding:3px 5px;font-size:8.5px}
  .pds-v145-ticket-device{font-size:10.5px}.pds-v145-ticket-device>span{max-width:82px;padding-left:5px}
  .pds-v145-ticket-people{gap:6px;font-size:9.5px}.pds-v145-ticket-people time{display:none}
  .pds-v145-work-trail{gap:4px}.pds-v145-work-trail span{padding:1px 5px;font-size:8.5px}
  .pds-v145-ticket-problem{display:none}
  .pds-v145-work-button{width:48px;min-height:36px;border-radius:9px;font-size:10px;box-shadow:none}
  .pds-v145-technician-board .pds-v14-pagination{padding:6px!important}.pds-v145-technician-board .pds-v14-pagination>span{font-size:10px}.pds-v145-technician-board .pds-v14-pagination .pds-mini{min-height:30px;padding:5px 7px!important;font-size:10px}
}

/* v14.5.1 — technician runtime and mobile hotfix */
.pds-role-technician .pds-tech-empty-final,
.pds-role-technician .pds-tech-global-empty,
.pds-role-technician .pds-tech-real-empty{display:none!important}
.pds-role-technician .pds-v145-scope-strip,
.pds-role-technician .pds-v145-stage-strip{width:100%;max-width:100%}
.pds-role-technician .pds-v145-scope-pick,
.pds-role-technician .pds-v145-stage-pick,
.pds-role-technician .pds-v145-icon-button,
.pds-role-technician .pds-v145-more-filters>summary,
.pds-role-technician .pds-v145-search-panel button{width:auto!important;max-width:none!important;margin:0!important;text-align:center}
.pds-role-technician .pds-v145-scope-pick,
.pds-role-technician .pds-v145-stage-pick{flex:0 0 auto!important}
.pds-role-technician .pds-v144-more-work>.pds-print-tools,
.pds-role-technician .pds-v144-more-work>.pds-tech-quick-tools,
.pds-role-technician .pds-v144-more-work>.pds-v144-assign-card{margin:12px 0 0!important}
.pds-role-technician .pds-tech-bga-slot{display:flex;align-items:center;justify-content:flex-start;margin:0 0 10px}
.pds-role-technician .pds-tech-bga-slot:empty{display:none}
.pds-role-technician .pds-tech-bga-slot .pds-bga-control{display:inline-flex;align-items:center;justify-content:center;gap:7px;width:auto!important;min-height:38px;margin:0!important;background:linear-gradient(135deg,#7c3aed,#db2777)!important;color:#fff!important}
@media(max-width:700px){
  .pds-role-technician .pds-v145-toolbar-top{grid-template-columns:minmax(0,1fr) auto}
  .pds-role-technician .pds-v145-toolbar-actions{flex:0 0 auto}
  .pds-role-technician .pds-v145-scope-strip,
  .pds-role-technician .pds-v145-stage-strip{overflow-x:auto!important;overflow-y:hidden!important}
  .pds-role-technician .pds-v145-scope-pick,
  .pds-role-technician .pds-v145-stage-pick{width:auto!important;min-width:max-content!important}
}

/* v14.5.3 — final technician mobile UI polish */
.pds-role-technician .pds-v145-ticket-row{
  grid-template-columns:4px minmax(0,1fr) 22px;
  padding:8px 8px 8px 0!important;
  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
}
.pds-role-technician .pds-v145-ticket-row.pds-internal-ticket{cursor:pointer}
.pds-role-technician .pds-v145-ticket-title{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
}
.pds-role-technician .pds-v145-ticket-title>strong,
.pds-role-technician .pds-v145-ticket-title>b,
.pds-role-technician .pds-v145-ticket-title>em{min-width:0}
.pds-role-technician .pds-v145-ticket-device{
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(56px,.7fr) minmax(74px,.8fr);
}
.pds-role-technician .pds-v145-ticket-device>b,
.pds-role-technician .pds-v145-ticket-device>span{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.pds-role-technician .pds-v145-open-cue{
  display:grid;
  place-items:center;
  width:22px;
  height:36px;
  border-radius:9px;
  color:#1763a6;
  background:#edf6ff;
  font-size:24px;
  font-weight:900;
  line-height:1;
  pointer-events:none;
}
.pds-role-technician .pds-v145-work-button{display:none!important}

@media(max-width:700px){
  .pds-role-technician #pds-jobs{
    padding:6px!important;
    overflow:visible!important;
  }
  .pds-role-technician .pds-v145-toolbar{
    top:58px!important;
    width:100%;
    box-sizing:border-box;
    background:#fff!important;
    backdrop-filter:none!important;
  }
  .pds-role-technician .pds-v145-toolbar-top{align-items:center}
  .pds-role-technician .pds-v145-toolbar-actions{gap:4px}
  .pds-role-technician .pds-v145-technician-board{min-width:0}
  .pds-role-technician .pds-v145-stage-strip{
    position:relative;
    z-index:1;
    background:#fff;
  }
  .pds-role-technician .pds-v145-ticket-row{
    grid-template-columns:4px minmax(0,1fr) 20px;
    gap:5px;
    min-height:78px;
    padding:7px 6px 7px 0!important;
  }
  .pds-role-technician .pds-v145-ticket-title{
    gap:5px;
    grid-template-columns:auto minmax(0,1fr) auto;
  }
  .pds-role-technician .pds-v145-ticket-title em{
    max-width:100px;
    margin-left:0;
  }
  .pds-role-technician .pds-v145-ticket-device{
    gap:0;
    grid-template-columns:minmax(0,1.2fr) minmax(58px,.72fr) minmax(70px,.8fr);
  }
  .pds-role-technician .pds-v145-ticket-device>span{
    max-width:none;
    padding-left:5px;
  }
  .pds-role-technician .pds-v145-ticket-people{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:6px;
  }
  .pds-role-technician .pds-v145-ticket-people span{
    min-width:0;
    white-space:nowrap;
  }
  .pds-role-technician .pds-v145-open-cue{
    width:20px;
    height:34px;
    border-radius:8px;
    font-size:22px;
  }
}

@media(max-width:380px){
  .pds-role-technician .pds-v145-scope-pick{
    min-height:31px;
    padding:5px 7px;
    font-size:10px;
  }
  .pds-role-technician .pds-v145-ticket-title em{
    max-width:82px;
    font-size:8px;
  }
  .pds-role-technician .pds-v145-ticket-device{
    grid-template-columns:minmax(0,1fr) minmax(52px,.62fr);
  }
  .pds-role-technician .pds-v145-ticket-location{
    grid-column:1/-1;
    margin-top:2px;
    padding-left:0!important;
    border-left:0!important;
  }
  .pds-role-technician .pds-v145-ticket-row{
    min-height:84px;
  }
}

/* v14.5.4 — unified sticky technician toolbar stability */
.pds-role-technician .pds-v145-toolbar{
  isolation:isolate;
  background:#fff!important;
}
.pds-role-technician .pds-v145-stage-host{
  display:block;
  min-width:0;
  width:100%;
  overflow:hidden;
}
.pds-role-technician .pds-v145-stage-host[hidden]{display:none!important}
.pds-role-technician .pds-v145-stage-host .pds-v145-stage-strip{
  position:static!important;
  z-index:auto!important;
  width:100%;
  max-width:100%;
  margin:0;
  padding:0 0 2px;
  background:#fff;
}
.pds-role-technician .pds-v145-technician-board>.pds-v145-stage-strip{
  display:none!important;
}
.pds-role-technician .pds-v145-technician-shell.is-loading .pds-v145-stage-host{
  opacity:.68;
  pointer-events:none;
}

@media(max-width:700px){
  .pds-role-technician .pds-v145-toolbar{
    display:grid!important;
    grid-template-rows:auto auto auto;
    gap:5px!important;
    overflow:visible!important;
    box-shadow:0 8px 22px rgba(15,23,42,.11)!important;
  }
  .pds-role-technician .pds-v145-stage-host{min-height:33px}
  .pds-role-technician .pds-v145-stage-host[hidden]{min-height:0}
  .pds-role-technician .pds-v145-stage-host .pds-v145-stage-strip{
    min-height:32px;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    overscroll-behavior-inline:contain;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
  }
  .pds-role-technician .pds-v145-stage-host .pds-v145-stage-strip::-webkit-scrollbar{
    display:none;
  }
  .pds-role-technician .pds-v145-result-summary{
    position:relative;
    z-index:0;
    margin-top:1px;
    background:#fff;
  }
}
/* v14.7.0 — compact parts advance and arrival tracking */
.pds-parts-workspace{margin-top:18px;border-top:1px solid #dbe5f1;padding-top:16px}
.pds-parts-title h3,.pds-part-order-card h4{margin:0 0 4px}.pds-parts-title p{margin:0;color:#52637a}
.pds-parts-create{margin:12px 0;border:1px solid #cbd8e8;border-radius:14px;background:#f8fbff;padding:12px}
.pds-parts-create>summary{cursor:pointer;font-weight:800;color:#0b4f8a}
.pds-part-order-card{margin-top:12px;border:1px solid #cad8e8;border-radius:15px;padding:14px;background:#fff}
.pds-part-order-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;border-bottom:1px solid #e4ebf3;padding-bottom:9px}
.pds-part-order-card>header small{display:block;color:#52637a}.pds-part-order-card>header>span{white-space:nowrap;font-weight:800;color:#0b4f8a}
.pds-part-order-card form{margin-top:12px;padding-top:12px;border-top:1px dashed #cbd8e8}
.pds-parts-customer-card{margin:12px 0;border:1px solid #bdd8f1;border-radius:14px;padding:12px;background:#f7fbff}
.pds-parts-customer-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.pds-parts-customer-head small,.pds-parts-customer-head b{display:block}
.pds-parts-customer-head span{border-radius:999px;background:#e4f2ff;color:#0b5797;padding:5px 9px;font-size:12px;font-weight:800;white-space:nowrap}
.pds-parts-progress{height:8px;border-radius:99px;background:#dfe8f2;overflow:hidden;margin:11px 0 7px}.pds-parts-progress i{display:block;height:100%;background:#1686c5;border-radius:inherit}
.pds-parts-steps{display:grid;grid-template-columns:repeat(6,1fr);gap:3px;font-size:10px;color:#7a8798;text-align:center}.pds-parts-steps span.done{color:#0b5797;font-weight:800}
.pds-parts-eta{display:grid;gap:3px;margin-top:10px}.pds-parts-eta small{color:#52637a}
.pds-parts-staff-summary{margin:12px 0;border:1px solid #cbd8e8;border-radius:13px;padding:11px;background:#f8fbff}.pds-parts-staff-summary h4{margin:0 0 7px}.pds-parts-staff-summary p{margin:7px 0}
@media(max-width:640px){
  .pds-parts-customer-card,.pds-part-order-card{padding:10px}
  .pds-parts-customer-head,.pds-part-order-card>header{align-items:flex-start}
  .pds-parts-steps{font-size:9px;overflow:hidden}
  .pds-part-order-card .pds-row,.pds-parts-create .pds-row{grid-template-columns:1fr}
  .pds-part-order-card button,.pds-parts-create button{width:100%;min-height:44px}
}

/* v14.8.0 Staff / L1 Assign: strict duty roster and fair queue round */
.pds-l1-roster{margin:0 0 14px;border:1px solid #cfe0f2;border-radius:16px;background:#f8fbff;overflow:hidden}
.pds-l1-roster>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;cursor:pointer;list-style:none;color:#153b60;font-weight:900}
.pds-l1-roster>summary::-webkit-details-marker{display:none}
.pds-l1-roster>summary b{padding:4px 9px;border-radius:999px;background:#e6f2ff;color:#0b5b9c;font-size:11px}
.pds-l1-roster-body{padding:13px 14px;border-top:1px solid #dce8f4;background:#fff}
.pds-l1-roster-body>p{margin:0 0 11px;color:#53677c;font-size:12px}
.pds-l1-roster-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.pds-l1-roster-grid>label{display:flex;align-items:center;gap:9px;min-width:0;padding:9px 10px;border:1px solid #dbe6f1;border-radius:12px;background:#f8fafc;cursor:pointer}
.pds-l1-roster-grid input{flex:0 0 auto;width:18px;height:18px;margin:0}
.pds-l1-roster-grid span{display:grid;min-width:0}
.pds-l1-roster-grid b,.pds-l1-roster-grid small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pds-l1-roster-grid b{color:#16283b;font-size:12px}.pds-l1-roster-grid small{color:#718096;font-size:10px}
.pds-l1-roster-actions{display:flex;align-items:center;gap:10px;margin-top:11px}.pds-l1-roster-actions .pds-form-result{font-size:12px}
.pds-l1-queue-summary{display:grid;grid-template-columns:repeat(3,minmax(110px,.6fr)) minmax(260px,2fr);gap:8px;padding:11px 12px;border-bottom:1px solid #e3ebf4;background:#fff}
.pds-l1-queue-summary>div{display:grid;gap:2px;padding:9px 10px;border:1px solid #dae6f1;border-radius:12px;background:#f8fbff}
.pds-l1-queue-summary small{color:#687b8f;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.pds-l1-queue-summary b{min-width:0;overflow:hidden;text-overflow:ellipsis;color:#14263a;font-size:18px}
.pds-l1-queue-summary .pds-l1-plan-summary b{font-size:12px;line-height:1.4;white-space:normal}
.pds-receive-tabs{display:flex;align-items:center;gap:7px;padding:10px 12px;border-bottom:1px solid #e3ebf4;background:#f8fafc;overflow-x:auto}
.pds-receive-tab{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:38px;padding:7px 12px;border:1px solid #cddbeb;border-radius:11px;background:#fff;color:#284761;font-family:inherit;font-size:12px;font-weight:800;line-height:1.1;white-space:nowrap;cursor:pointer}
.pds-receive-tab b{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:20px;padding:0 6px;border-radius:999px;background:#edf3f9;font-size:10px}
.pds-receive-tab.is-active{border-color:#1763a6;background:#1763a6;color:#fff;box-shadow:0 5px 14px rgba(23,99,166,.17)}
.pds-receive-tab.is-active b{background:rgba(255,255,255,.22)}
.pds-l1-rebalance-form{display:flex;align-items:center;gap:7px;margin-left:auto}.pds-l1-rebalance-form .pds-form-result{font-size:11px}
.pds-l1-duty-warning{margin:10px 12px!important}.pds-l1-round-note{display:block;margin-top:3px;color:#718096;font-size:10px}
.pds-receive-hidden{display:none!important}.pds-receive-tab-empty{padding:24px;text-align:center;color:#64748b;font-weight:700}
@media(max-width:900px){
  .pds-l1-roster-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pds-l1-queue-summary{grid-template-columns:repeat(3,minmax(0,1fr))}
  .pds-l1-queue-summary .pds-l1-plan-summary{grid-column:1/-1}
  .pds-receive-queue-v1095 tr{margin:10px 0}
}
@media(max-width:600px){
  .pds-l1-roster>summary{padding:10px 11px}.pds-l1-roster-body{padding:10px}
  .pds-l1-roster-grid{grid-template-columns:1fr}
  .pds-l1-roster-actions{align-items:stretch;flex-direction:column}.pds-l1-roster-actions .pds-mini{width:100%}
  .pds-l1-queue-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:8px}
  .pds-l1-queue-summary>div{padding:7px}.pds-l1-queue-summary b{font-size:15px}
  .pds-l1-queue-summary small{font-size:8.5px}
  .pds-receive-tabs{align-items:stretch;flex-wrap:wrap;overflow:visible;padding:8px}
  .pds-receive-tab{flex:1 1 calc(50% - 4px);padding:7px 8px;font-size:11px}
  .pds-l1-rebalance-form{flex:1 1 100%;margin:0}.pds-l1-rebalance-form .pds-mini{width:100%;min-height:38px}
  .pds-receive-toolbar{padding:11px}.pds-receive-count{min-width:0;padding:6px 9px}
}

/* v14.9.0 Ultimate role polish: courier source-of-truth UI and mobile action safety */
.pds-v43-courier-card>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.pds-v43-courier-card .pds-status-pill{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pds-v43-courier-card .pds-v43-actions>a,
.pds-v43-courier-card .pds-v43-actions>button{min-height:40px;display:inline-flex;align-items:center;justify-content:center}
.pds-v43-courier-card .pds-courier-result{margin-top:8px;line-height:1.4}
.pds-role-courier .pds-courier-route-table{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.pds-role-courier .pds-courier-route-table table{width:100%}
.pds-role-courier .pds-empty-state{min-height:130px;display:grid;place-content:center;text-align:center}
@media(max-width:640px){
  .pds-role-courier .pds-app-content{padding-left:10px!important;padding-right:10px!important}
  .pds-role-courier .pds-v43-courier{gap:10px}
  .pds-role-courier .pds-v43-courier .pds-hero-card{padding:16px!important;min-height:0!important}
  .pds-role-courier .pds-v43-courier .pds-hero-card h2{font-size:24px;line-height:1.12}
  .pds-role-courier .pds-v43-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .pds-role-courier .pds-v43-kpis .metric-card{min-width:0;min-height:82px;padding:12px!important}
  .pds-role-courier .pds-v43-kpis .metric-card span,
  .pds-role-courier .pds-v43-kpis .metric-card small{overflow:hidden;text-overflow:ellipsis}
  .pds-role-courier .pds-screen-card{padding:12px!important;border-radius:16px!important}
  .pds-role-courier .pds-screen-card>h3{font-size:19px;margin:0 0 10px}
  .pds-role-courier .pds-courier-route-table table{min-width:610px!important}
  .pds-v43-courier-card{padding:12px;margin-bottom:9px}
  .pds-v43-courier-card h4{font-size:15px;overflow-wrap:anywhere}
  .pds-v43-courier-card p{overflow-wrap:anywhere}
  .pds-v43-courier-card .pds-v43-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .pds-v43-courier-card .pds-v43-actions>a,
  .pds-v43-courier-card .pds-v43-actions>button{width:100%;min-width:0;margin:0!important}
  .pds-wa-confirm-actions{padding-bottom:max(4px,env(safe-area-inset-bottom))}
  .pds-pro-modal-card{max-height:calc(100dvh - 16px);border-radius:16px}
}

/* v14.9.1 Financial modal safety and responsive allocation workflow */
/* v15.0.1 Payment recovery footer visibility hotfix.
   Some Chromium/theme combinations let the old flex-only ticket list consume
   the footer area.  Grid makes the list the only scroll region and reserves a
   visible payment footer for Cash / UPI / Bank / Card / Other / COD controls. */
body.pds-modal-open .pds-pro-modal-card.pds-allocation-modal-card{
  display:grid!important;
  grid-template-rows:minmax(0,1fr)!important;
  isolation:isolate;
}
.pds-pro-modal-card.pds-allocation-modal-card>.pds-allocation-modal{
  display:grid!important;
  grid-template-rows:auto minmax(0,1fr)!important;
  height:100%!important;
  min-height:0!important;
  overflow:hidden!important;
}
.pds-allocation-modal-card .pds-combined-payment-form{
  display:grid!important;
  grid-template-rows:auto auto minmax(120px,1fr) auto!important;
  min-height:0!important;
  height:100%!important;
  overflow:hidden!important;
}
.pds-allocation-modal-card .pds-allocation-list{
  grid-row:3;
  min-height:0!important;
  height:auto!important;
  max-height:none!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  flex:none!important;
}
.pds-allocation-modal-card .pds-allocation-footer{
  grid-row:4;
  position:relative!important;
  inset:auto!important;
  display:block!important;
  min-height:0;
  max-height:min(330px,48dvh);
  overflow-y:auto;
  overscroll-behavior:contain;
}
@media(max-width:700px){
  .pds-allocation-modal-card .pds-combined-payment-form{grid-template-rows:auto minmax(100px,1fr) auto!important}
  .pds-allocation-modal-card .pds-allocation-columns{display:none!important}
  .pds-allocation-modal-card .pds-allocation-list{grid-row:2}
  .pds-allocation-modal-card .pds-allocation-footer{grid-row:3;max-height:min(390px,56dvh)}
}
body.pds-modal-open{overflow:hidden!important;overscroll-behavior:none}
.pds-pro-modal-card.pds-allocation-modal-card{
  width:min(1040px,calc(100vw - 32px));
  height:min(820px,90dvh);
  max-height:90dvh;
  padding:0;
  overflow:hidden;
  border:1px solid #cbd5e1;
}
.pds-allocation-modal{height:100%;min-height:0;display:flex;flex-direction:column;background:#fff}
.pds-allocation-header{
  position:sticky;top:0;z-index:20;flex:0 0 auto;
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:17px 20px;border-bottom:1px solid #dbe4ef;background:#fff;
  box-shadow:0 4px 14px rgba(15,23,42,.05);
}
.pds-allocation-header h3{margin:0;font-size:24px;line-height:1.15;color:#0f172a}
.pds-allocation-header p{margin:5px 0 0;color:#64748b;font-size:14px}
.pds-allocation-header .pds-pro-modal-close{
  position:static;flex:0 0 42px;width:42px;height:42px;display:grid;place-items:center;
  background:#e8eef6;color:#0f172a;font-size:26px;line-height:1;
}
.pds-allocation-modal-card .pds-combined-payment-form{
  flex:1;min-height:0;display:flex;flex-direction:column;gap:0;
}
.pds-allocation-selectbar{
  flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:11px 20px;border-bottom:1px solid #e2e8f0;background:#f8fafc;color:#334155;
}
.pds-allocation-selectbar label{display:flex;align-items:center;gap:9px;font-weight:900;cursor:pointer}
.pds-allocation-selectbar input,
.pds-allocation-check{width:20px!important;height:20px!important;min-width:20px;margin:0;accent-color:#2563eb;cursor:pointer}
.pds-allocation-selectbar span{font-size:13px;text-align:right}
.pds-allocation-columns{
  flex:0 0 auto;display:grid;grid-template-columns:56px minmax(0,1fr) 160px 190px;
  gap:12px;padding:8px 16px;background:#eef3f9;border-bottom:1px solid #d7e0eb;
  color:#475569;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.035em;
}
.pds-allocation-list{
  flex:1 1 auto;min-height:120px;max-height:none;overflow-y:auto;overflow-x:hidden;
  display:grid;align-content:start;gap:8px;padding:10px 14px;background:#f8fafc;
  overscroll-behavior:contain;-webkit-overflow-scrolling:touch;
}
.pds-allocation-row{
  display:grid;grid-template-columns:56px minmax(0,1fr) 160px 190px;gap:12px;align-items:center;
  min-width:0;padding:10px 12px;border:1px solid #cbd5e1;border-radius:12px;background:#fff;
  transition:border-color .15s,box-shadow .15s,background .15s;cursor:pointer;
}
.pds-allocation-row:hover{border-color:#93b4df;background:#fbfdff}
.pds-allocation-row.is-selected{border-color:#60a5fa;background:#eff6ff;box-shadow:0 0 0 2px rgba(37,99,235,.08)}
.pds-allocation-row.has-error{border-color:#dc2626!important;background:#fef2f2!important;box-shadow:0 0 0 2px rgba(220,38,38,.12)!important}
.pds-allocation-check-cell{display:flex;align-items:center;justify-content:center;margin:0;cursor:pointer}
.pds-allocation-ticket{min-width:0}
.pds-allocation-ticket b{display:block;font-size:15px;color:#0f172a}
.pds-allocation-ticket small{display:block;margin-top:3px;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pds-allocation-due small,.pds-allocation-amount-cell span{display:none}
.pds-allocation-due b{font-size:15px;color:#0f172a}
.pds-allocation-amount-cell{display:block;margin:0}
.pds-allocation-amount-cell input{width:100%;min-width:0;box-sizing:border-box;background:#fff!important}
.pds-allocation-amount-cell input:disabled{background:#eef2f7!important;color:#64748b!important;opacity:.75;cursor:not-allowed}
.pds-allocation-footer{
  position:sticky;bottom:0;z-index:18;flex:0 0 auto;
  padding:12px 18px 14px;border-top:1px solid #cbd5e1;background:#fff;
  box-shadow:0 -8px 22px rgba(15,23,42,.08);
}
.pds-allocation-payment-fields{display:grid;grid-template-columns:180px 190px minmax(250px,1fr);gap:10px;align-items:start}
.pds-allocation-payment-fields label{display:grid;gap:5px;font-size:12px;font-weight:900;color:#334155}
.pds-allocation-payment-fields input,.pds-allocation-payment-fields select{
  width:100%;min-width:0;box-sizing:border-box;background:#fff!important;color:#0f172a!important;
  border:1px solid #94a3b8!important;box-shadow:none!important;
}
.pds-allocation-payment-fields input:focus,.pds-allocation-payment-fields select:focus{
  border-color:#2563eb!important;box-shadow:0 0 0 3px rgba(37,99,235,.14)!important;outline:0;
}
.pds-allocation-reference-field.is-hidden{display:none!important}
.pds-required-mark{color:#dc2626!important}.pds-reference-help{font-size:10px;color:#64748b;font-weight:600}
.pds-allocation-footer-note .pds-muted,.pds-allocation-footer-note .pds-alert{margin:8px 0 0;padding:6px 9px;font-size:11px}
.pds-allocation-totals{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:9px;
}
.pds-allocation-totals span{display:flex;justify-content:space-between;gap:8px;padding:8px 10px;border:1px solid #dbe4ef;border-radius:10px;background:#f8fafc;color:#475569;font-size:12px}
.pds-allocation-totals b{color:#0f172a}.pds-allocation-totals strong{color:#0f766e;font-size:16px}
.pds-allocation-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:10px}
.pds-allocation-actions .pds-btn{min-width:260px;margin:0}
.pds-allocation-actions .pds-mini{min-width:100px}
.pds-allocation-submit:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}
.pds-allocation-modal-card .pds-form-result:empty{display:none}
.pds-allocation-error{
  display:grid;gap:4px;margin-top:9px;padding:10px 12px;border:1px solid #f87171;
  border-left:5px solid #dc2626;border-radius:10px;background:#fef2f2;color:#7f1d1d;
}
.pds-allocation-error b{color:#991b1b}.pds-allocation-error span{font-size:13px;font-weight:800}.pds-allocation-error small{color:#7f1d1d}
.pds-allocation-error>div{display:flex;gap:7px;flex-wrap:wrap;margin-top:4px}

@media(max-width:700px){
  .pds-pro-modal{padding:6px}
  .pds-pro-modal-card.pds-allocation-modal-card{width:calc(100vw - 12px);height:calc(100dvh - 12px);max-height:calc(100dvh - 12px);border-radius:15px}
  .pds-allocation-header{padding:12px 13px}.pds-allocation-header h3{font-size:19px}.pds-allocation-header p{font-size:12px}
  .pds-allocation-header .pds-pro-modal-close{width:40px;height:40px;flex-basis:40px}
  .pds-allocation-selectbar{padding:9px 12px;align-items:flex-start;flex-wrap:wrap}.pds-allocation-selectbar span{flex:1;min-width:150px}
  .pds-allocation-columns{display:none}
  .pds-allocation-list{min-height:105px;padding:8px}
  .pds-allocation-row{
    grid-template-columns:30px minmax(0,1fr) minmax(112px,.72fr);
    grid-template-areas:"check ticket ticket" "check due amount";gap:7px 9px;padding:10px;cursor:default;
  }
  .pds-allocation-check-cell{grid-area:check;align-self:start;padding-top:2px}
  .pds-allocation-ticket{grid-area:ticket}.pds-allocation-due{grid-area:due}.pds-allocation-amount-cell{grid-area:amount}
  .pds-allocation-due small,.pds-allocation-amount-cell span{display:block;margin-bottom:4px;color:#64748b;font-size:10px;font-weight:800}
  .pds-allocation-ticket small{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
  .pds-allocation-amount-cell input{min-height:42px;padding:8px!important}
  .pds-allocation-footer{padding:9px 10px max(10px,env(safe-area-inset-bottom))}
  .pds-allocation-payment-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .pds-allocation-reference-field{grid-column:1/-1}
  .pds-allocation-payment-fields input,.pds-allocation-payment-fields select{min-height:42px;padding:8px!important;font-size:13px}
  .pds-allocation-footer-note .pds-muted,.pds-allocation-footer-note .pds-alert{display:none}
  .pds-allocation-totals{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin-top:7px}
  .pds-allocation-totals span{padding:6px 7px;font-size:10px;display:grid;gap:2px}
  .pds-allocation-totals span:last-child{grid-column:1/-1;display:flex;align-items:center}
  .pds-allocation-totals strong{font-size:17px}
  .pds-allocation-actions{display:grid;grid-template-columns:86px minmax(0,1fr);gap:7px;margin-top:7px}
  .pds-allocation-actions .pds-btn,.pds-allocation-actions .pds-mini{width:100%;min-width:0;min-height:44px}
  .pds-allocation-error{padding:8px 9px}.pds-allocation-error span{font-size:12px}
}
@media(max-height:650px){
  .pds-allocation-header{padding-top:8px;padding-bottom:8px}
  .pds-allocation-footer{max-height:52dvh;overflow-y:auto;overscroll-behavior:contain}
}

/* v14.9.2 WhatsApp reminder layer hotfix.
   Customer/financial modals use z-index 999999, so the explicit WhatsApp
   confirmation must sit above them or its final Open button is unreachable. */
.pds-wa-confirm-backdrop{
  z-index:1000001!important;
}

/* v14.9.3 final overlay, focus and feedback hierarchy.
   Dialogs opened from Customer/financial modals must remain visible, and
   success/error feedback must never be trapped behind an active modal. */
body.pds-wa-modal-open{overflow:hidden!important;overscroll-behavior:none}
.pds-action-dialog{z-index:1000002!important}
.pds-wa-confirm-backdrop{z-index:1000003!important}
.pds-busy-overlay{z-index:1000004!important}
.pds-toast-stack,.pds-system-status{z-index:1000005!important}
.pds-wa-confirm-modal:focus-visible,.pds-wa-confirm-modal button:focus-visible{
  outline:3px solid rgba(37,99,235,.42);outline-offset:2px
}

/* v14.9.5 financial-state integrity and compact CRM actions. */
.pds-financial-anomaly{
  display:flex;align-items:flex-start;justify-content:space-between;gap:12px;
  margin:10px 0;padding:12px 14px;border:1px solid #fca5a5;border-left:5px solid #dc2626;
  border-radius:12px;background:#fef2f2;color:#7f1d1d;
}

/* v14.9.6 shared-host request guard. */
.pds-request-guard-notice{
  position:fixed;
  left:50%;
  bottom:max(18px,env(safe-area-inset-bottom));
  z-index:2147483000;
  display:flex;
  align-items:flex-start;
  gap:14px;
  width:min(680px,calc(100vw - 28px));
  padding:14px 16px;
  border:1px solid #f59e0b;
  border-radius:14px;
  background:#fffbeb;
  color:#78350f;
  box-shadow:0 18px 45px rgba(15,23,42,.2);
  opacity:0;
  visibility:hidden;
  transform:translate(-50%,12px);
  transition:opacity .18s ease,transform .18s ease,visibility .18s ease;
}
.pds-request-guard-notice.is-visible{opacity:1;visibility:visible;transform:translate(-50%,0)}
.pds-request-guard-notice>div{display:grid;gap:3px;min-width:0}
.pds-request-guard-notice b{font-size:14px;line-height:1.35;color:#92400e}
.pds-request-guard-notice span{font-size:13px;line-height:1.45}
.pds-request-guard-notice button{
  flex:0 0 34px;
  width:34px;
  height:34px;
  margin:-4px -4px -4px auto;
  border:0;
  border-radius:10px;
  background:#fef3c7;
  color:#78350f;
  font-size:22px;
  line-height:1;
  cursor:pointer;
}
.pds-request-guard-notice button:focus-visible{outline:3px solid rgba(245,158,11,.35);outline-offset:2px}
@media(max-width:600px){
  .pds-request-guard-notice{
    bottom:calc(82px + env(safe-area-inset-bottom));
    padding:12px 13px;
  }
}
.pds-financial-anomaly strong{display:block;color:#991b1b}
.pds-financial-anomaly small{display:block;margin-top:3px;color:#7f1d1d;line-height:1.4}
.pds-closed-due-row td{background:#fff7f7!important}
.pds-closed-due-row:hover td{background:#feecec!important}
#pds-customers .pds-v50-crm-table .pds-crm-actions{
  display:grid!important;grid-template-columns:repeat(2,minmax(118px,1fr));gap:7px;align-items:stretch!important;min-width:250px;
}
#pds-customers .pds-v50-crm-table .pds-crm-actions .pds-mini,
#pds-customers .pds-v50-crm-table .pds-crm-actions button,
#pds-customers .pds-v50-crm-table .pds-crm-actions a{
  width:100%;min-width:0;min-height:36px;margin:0!important;padding:7px 9px!important;
  display:inline-flex;align-items:center;justify-content:center;text-align:center;line-height:1.2;white-space:normal!important;overflow-wrap:anywhere;
}
.pds-payment-action-request{border-color:#93c5fd!important;background:#eff6ff!important;color:#1d4ed8!important}
.pds-payment-action-reminder{border-color:#f6c453!important;background:#fff8dd!important;color:#7c4a03!important}
.pds-pro-modal-card.pds-payment-message-modal-card{width:min(900px,calc(100vw - 28px));max-height:90dvh;padding:20px;overflow-y:auto;overscroll-behavior:contain}
.pds-payment-message-modal-card .pds-reminder-form textarea{min-height:190px;max-height:30dvh;background:#fff!important}
.pds-payment-message-modal-card .pds-reminder-form>.pds-btn{position:sticky;bottom:0;z-index:4;margin-top:10px;box-shadow:0 -8px 18px rgba(255,255,255,.95)}
@media(max-width:700px){
  .pds-financial-anomaly{display:block}.pds-financial-anomaly .pds-mini{width:100%;margin-top:9px}
  #pds-customers .pds-v50-crm-table .pds-crm-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important;min-width:0}
  .pds-pro-modal-card.pds-payment-message-modal-card{width:calc(100vw - 12px);max-height:calc(100dvh - 12px);padding:14px}
  .pds-payment-message-modal-card .pds-reminder-form textarea{min-height:165px;max-height:28dvh}
}
/* v15.0.0 management intelligence; v14.9.7 reliable handoff baseline */
.pds-required-hint{margin:0 0 12px;padding:10px 12px;border:1px solid #f3cf78;border-radius:12px;background:#fff9e8;color:#714b00;font-size:13px;line-height:1.45}
.pds-dynamic-assign select:required:invalid,.pds-handoff-box select:required:invalid{border-color:#d89a19;background:#fffdf7;box-shadow:0 0 0 3px rgba(216,154,25,.12)}
button.pds-btn-loading,input.pds-btn-loading{cursor:wait;opacity:.78}
button.pds-btn-loading::after{content:' ';display:inline-block;width:12px;height:12px;margin-left:8px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;vertical-align:-2px;animation:pds-submit-spin .7s linear infinite}
@keyframes pds-submit-spin{to{transform:rotate(360deg)}}
@media (max-width:640px){.pds-required-hint{font-size:12px;padding:9px 10px}.pds-dynamic-assign select,.pds-handoff-box select{min-height:48px}}

/* v15.2.0 Customer 360 financial and cancellation clarity */
.pds-c360-kpis{grid-template-columns:repeat(auto-fit,minmax(125px,1fr))}
.pds-c360-financial-cell{display:grid;gap:3px;min-width:155px;font-variant-numeric:tabular-nums}
.pds-c360-financial-cell>span{font-weight:800;color:#0f172a}
.pds-c360-financial-cell>small{display:block!important;margin:0!important;line-height:1.35}
.pds-c360-estimate{display:block;color:#1d4ed8;font-size:13px}
.pds-c360-not-invoiced{color:#475569!important;font-weight:700}
.pds-c360-refund-review{margin-top:3px!important;padding:4px 6px;border:1px solid #f59e0b;border-radius:7px;background:#fffbeb;color:#92400e!important;font-weight:900}
.pds-c360-cancel-meta{color:#64748b!important;font-weight:700}
@media(max-width:700px){.pds-c360-financial-cell{min-width:0}.pds-c360-estimate{font-size:12px}}
.pds-gst-guard{position:fixed;inset:0;z-index:1000010;display:grid;align-content:center;width:min(920px,calc(100vw - 28px));height:max-content;max-height:90dvh;margin:auto;padding:20px;border:1px solid #f3c45b;border-radius:18px;background:#fff;box-shadow:0 28px 90px rgba(15,23,42,.32);overflow:auto}.pds-gst-guard:before{content:"";position:fixed;inset:0;z-index:-1;background:rgba(15,23,42,.56)}.pds-gst-guard-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.pds-gst-guard-head small{color:#92400e;font-weight:900;letter-spacing:.08em}.pds-gst-guard-head h3{margin:4px 0;font-size:25px}.pds-gst-guard-head p{margin:0;color:#64748b}.pds-gst-guard-close{flex:0 0 40px;width:40px;height:40px;border:0;border-radius:12px;background:#eef2f7;color:#0f172a;font-size:25px;cursor:pointer}.pds-gst-guard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:17px 0 10px}.pds-gst-filing-form{display:grid;gap:9px;padding:14px;border:1px solid #f3c45b;border-radius:14px;background:#fffbeb}.pds-gst-filing-form.is-overdue{border-color:#f87171;background:#fef2f2}.pds-gst-filing-form>div{display:flex;justify-content:space-between;gap:8px}.pds-gst-filing-form>div span{color:#9a3412;font-size:12px;font-weight:900}.pds-gst-filing-form label{display:grid;gap:4px;color:#334155;font-size:12px;font-weight:800}.pds-gst-filing-form input{width:100%;box-sizing:border-box;background:#fff!important}.pds-gst-filing-result{min-height:18px;color:#166534;font-size:12px;font-weight:800}.pds-gst-guard.is-banner-only{position:relative;inset:auto;z-index:auto;width:auto;max-height:none;margin:0 0 12px;padding:12px 14px;border-radius:14px;box-shadow:none;overflow:visible}.pds-gst-guard.is-banner-only:before,.pds-gst-guard.is-banner-only .pds-gst-guard-grid,.pds-gst-guard.is-banner-only>.pds-muted{display:none}.pds-gst-guard.is-banner-only .pds-gst-guard-head h3{font-size:17px}.pds-gst-guard.is-banner-only .pds-gst-guard-head p{font-size:12px}@media(max-width:700px){.pds-gst-guard{width:calc(100vw - 14px);max-height:calc(100dvh - 14px);padding:14px}.pds-gst-guard-head h3{font-size:20px}.pds-gst-guard-grid{grid-template-columns:1fr}.pds-gst-guard.is-banner-only{width:auto}}
.pds-gst-filing-register{margin-top:14px}.pds-gst-filing-register h4{margin:0}.pds-gst-filing-register table{min-width:780px}.pds-gst-filing-register td b{overflow-wrap:anywhere}

/* v15.9.6 GST return-period scope clarity */
.pds-gst-export-centre{display:grid;gap:10px;min-width:min(720px,58vw)}
.pds-gst-period-control{display:flex;align-items:end;justify-content:flex-end;gap:10px;flex-wrap:wrap}.pds-gst-period-control>label{display:grid;gap:5px;min-width:170px}.pds-gst-period-control>label>span{font-size:11px;font-weight:900;color:#334155;text-transform:uppercase;letter-spacing:.035em}
.pds-gst-period-snapshot{display:grid;grid-template-columns:minmax(170px,1.4fr) repeat(4,minmax(92px,.75fr));gap:7px;padding:9px;border:1px solid #cbdcf2;border-radius:13px;background:#f8fbff}.pds-gst-period-snapshot>div{display:grid;gap:2px;padding:7px 9px;border-radius:9px;background:#fff;border:1px solid #e2e8f0}.pds-gst-period-snapshot span{font-size:10px;font-weight:900;color:#64748b;text-transform:uppercase}.pds-gst-period-snapshot b,.pds-gst-period-snapshot strong{font-size:14px;color:#0f172a}.pds-gst-period-title small{color:#475569;font-weight:700}
.pds-gst-period-safety{display:flex;gap:8px;align-items:center;padding:8px 10px;border:1px solid #86efac;border-radius:10px;background:#f0fdf4;color:#166534;font-size:12px}.pds-gst-period-safety.is-open-period{border-color:#f59e0b;background:#fffbeb;color:#92400e}.pds-gst-period-safety b{white-space:nowrap}.pds-gst-period-filing{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 10px;border:1px solid #f3cf78;border-radius:11px;background:#fffaf0}.pds-gst-period-filing>div{display:grid;gap:2px}.pds-gst-period-filing span{font-size:10px;font-weight:900;text-transform:uppercase;color:#7c5a16}.pds-gst-period-filing small{color:#6b5a33}.pds-gst-export-centre.is-filing-recorded .pds-gst-period-filing{border-color:#86efac;background:#f0fdf4}.pds-gst-period-filing details{min-width:190px}.pds-gst-period-filing summary{cursor:pointer;font-weight:900;color:#1d4ed8}.pds-gst-period-filing-form{display:grid;gap:7px;margin-top:8px;padding:9px;border:1px solid #dbe5f1;border-radius:10px;background:#fff;box-shadow:0 10px 28px rgba(15,23,42,.12)}.pds-gst-period-filing-form label{display:grid;gap:3px;font-size:11px;font-weight:800}.pds-gst-period-filing-form input{min-height:36px}.pds-gst-filing-result{font-size:11px;font-weight:800;color:#166534}.pds-gst-export-note{color:#52667b!important;font-weight:700}
.pds-erp-scope-note{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:8px 0;padding:9px 12px;border:1px solid #dbe5f1;border-radius:11px;background:#f8fafc;color:#475569;font-size:12px}.pds-erp-scope-note b{color:#0f172a}.pds-period-hidden,.pds-search-hidden{display:none!important}.pds-invoice-period-empty td{padding:24px!important}.pds-invoice-period-empty .pds-empty-state{margin:0}
@media(max-width:900px){.pds-gst-export-centre{min-width:0;width:100%}.pds-gst-period-snapshot{grid-template-columns:repeat(2,minmax(0,1fr))}.pds-gst-period-title{grid-column:1/-1}.pds-gst-period-filing{align-items:flex-start;flex-direction:column}.pds-gst-period-filing details{width:100%}}
@media(max-width:600px){.pds-gst-period-control{display:grid;grid-template-columns:1fr}.pds-gst-export-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))}.pds-gst-period-snapshot{grid-template-columns:repeat(2,minmax(0,1fr))}.pds-erp-scope-note{display:grid}.pds-gst-period-safety{align-items:flex-start;flex-direction:column}}

/* v15.10.0 responsive workspace + cancel-accounting clarity */
.pds-kpi-report-link{display:block;text-decoration:none!important;color:inherit!important;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}
.pds-kpi-report-link:hover,.pds-kpi-report-link:focus-visible{transform:translateY(-2px);border-color:#60a5fa!important;box-shadow:0 14px 30px rgba(37,99,235,.13)!important;outline:0}
.pds-kpi-report-link small{display:block;margin-top:7px;color:#2563eb;font-size:11px;font-weight:800}
.pds-qik-report-link{text-decoration:none!important;color:inherit!important}.pds-qik-report-link small{display:block;margin-top:4px;color:#2563eb;font-size:10px;font-weight:800}
.pds-estimate-ref{display:block;color:#1d4ed8;font-weight:900;white-space:nowrap}.pds-not-collectible{display:block!important;color:#64748b!important;font-weight:800;margin-top:3px}.pds-no-cod-note{display:flex;align-items:center;min-height:38px;padding:7px 9px;border:1px solid #cbd5e1;border-radius:10px;background:#f8fafc;color:#475569;font-size:11px;font-weight:900}.pds-ops-financial small{display:block;margin-top:3px;color:#64748b}
.pds-status-cancel_ready{background:#f3e8ff!important;color:#7e22ce!important;border-color:#d8b4fe!important}

/* Standard laptops: reduce chrome, never shrink readable content. */
@media (min-width:921px) and (max-width:1700px){
  .pds-manager-shell{grid-template-columns:188px minmax(0,1fr)!important}
  .pds-manager-content{padding:14px!important}
  .pds-manager-sidebar{font-size:13px!important}
  .pds-manager-sidebar .pds-manager-brand{padding-left:12px!important;padding-right:12px!important}
  .pds-manager-sidebar a,.pds-manager-sidebar button{font-size:13px!important}
  .pds-screen-card,.pds-card.pds-wide{padding:16px!important}
  .pds-kpi-grid{grid-template-columns:repeat(auto-fit,minmax(135px,1fr))!important;gap:9px!important}
  .pds-kpi-card strong{font-size:clamp(19px,1.7vw,26px)!important}
  .pds-erp-subnav{overflow-x:auto!important;flex-wrap:nowrap!important;scrollbar-width:thin}
  .pds-erp-subnav button{white-space:nowrap!important}

  /* Delivery/Ops becomes readable cards before horizontal scrolling is needed. */
  .pds-ops-table-wrap{overflow:visible!important;border:0!important;background:transparent!important;box-shadow:none!important}
  .pds-ops-table,.pds-ops-table tbody{display:block!important;width:100%!important;min-width:0!important}
  .pds-ops-table thead,.pds-ops-row{display:none!important}
  .pds-ops-table tbody{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
  .pds-ops-card-row{display:block!important;width:100%!important;margin:0!important}
  .pds-ops-card-row[hidden]{display:none!important}
  .pds-ops-card-row td{display:block!important;width:100%!important;padding:0!important;border:0!important;background:transparent!important}
  .pds-ops-card{height:100%;display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important;margin:0!important;padding:14px!important;border:1px solid #dbeafe!important;border-radius:16px!important;background:#fff!important;box-shadow:0 8px 22px rgba(15,23,42,.06)!important}
  .pds-ops-card>div{display:flex!important;justify-content:space-between!important;gap:10px!important;min-width:0!important;align-items:flex-start!important}
  .pds-ops-card>div small,.pds-ops-card>div b{overflow-wrap:anywhere!important;white-space:normal!important}
  .pds-ops-card .pds-ops-actions,.pds-ops-card .pds-ops-primary-actions{width:100%!important}
  .pds-ops-card .pds-ops-primary-actions{grid-template-columns:1fr!important}
  .pds-ops-card .pds-ops-assign-form,.pds-ops-card .pds-ops-otp-form{grid-template-columns:1fr 1fr!important}
  .pds-ops-card .pds-ops-otp-form button,.pds-ops-card .pds-ops-otp-form .pds-form-result,.pds-ops-card .pds-no-cod-note{grid-column:1/-1!important}
  .pds-ops-filterbar{max-width:100%!important;justify-content:flex-start!important;flex-wrap:wrap!important}
  .pds-ops-summary{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))!important}
}
@media (min-width:921px) and (max-width:1180px){
  .pds-ops-table tbody{grid-template-columns:1fr!important}
  .pds-ops-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

/* Customer CRM: card table on laptop widths, no browser zoom required. */
@media (min-width:701px) and (max-width:1700px){
  #pds-customers .pds-crm-table-wrap{overflow:visible!important}
  #pds-customers .pds-v50-crm-table,#pds-customers .pds-v50-crm-table tbody{display:block!important;width:100%!important;min-width:0!important}
  #pds-customers .pds-v50-crm-table thead{display:none!important}
  #pds-customers .pds-v50-crm-table tbody{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
  #pds-customers .pds-v50-crm-table tr{display:block!important;border:1px solid #dbe4ef!important;border-radius:15px!important;background:#fff!important;box-shadow:0 7px 18px rgba(15,23,42,.05)!important;overflow:hidden!important}
  #pds-customers .pds-v50-crm-table td{display:grid!important;grid-template-columns:118px minmax(0,1fr)!important;gap:10px!important;width:100%!important;padding:9px 11px!important;border:0!important;border-bottom:1px solid #edf2f7!important;align-items:start!important;font-size:13px!important}
  #pds-customers .pds-v50-crm-table td:last-child{border-bottom:0!important}
  #pds-customers .pds-v50-crm-table td::before{content:attr(data-label);font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.04em;color:#64748b;padding-top:2px}
  #pds-customers .pds-v50-crm-table td[data-label="Actions"]{display:block!important}
  #pds-customers .pds-v50-crm-table td[data-label="Actions"]::before{display:block;margin-bottom:7px}
  #pds-customers .pds-crm-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
  #pds-customers .pds-crm-actions .pds-mini{width:100%!important;text-align:center!important;justify-content:center!important;min-width:0!important}
}
@media (min-width:701px) and (max-width:1180px){#pds-customers .pds-v50-crm-table tbody{grid-template-columns:1fr!important}}
@media (max-width:700px){
  #pds-customers .pds-crm-table td{display:grid!important;grid-template-columns:105px minmax(0,1fr)!important;gap:8px!important}
  #pds-customers .pds-crm-table td::before{content:attr(data-label);font-size:10px;font-weight:900;text-transform:uppercase;color:#64748b}
  #pds-customers .pds-crm-table td[data-label="Actions"]{display:block!important}
  #pds-customers .pds-crm-table td[data-label="Actions"]::before{display:block;margin-bottom:6px}
}

/* Customer 360: fluid modal and card-style histories on standard screens. */
.pds-pro-modal-card:has(.pds-c360-shell){width:min(1320px,calc(100vw - 20px))!important;max-height:94dvh!important}
@media (max-width:1700px){
  .pds-c360-head{position:sticky!important;top:-16px!important;z-index:6!important;background:#fff!important;padding:10px 32px 10px 0!important;border-bottom:1px solid #e2e8f0!important}
  .pds-c360-kpis{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .pds-c360-panel .pds-responsive-table{max-height:52dvh!important;overflow:auto!important;border:0!important}
  .pds-c360-panel table,.pds-c360-panel tbody{display:block!important;width:100%!important;min-width:0!important}
  .pds-c360-panel thead{display:none!important}
  .pds-c360-panel tbody{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  .pds-c360-panel tr{display:block!important;border:1px solid #dbe4ef!important;border-radius:13px!important;background:#fff!important;overflow:hidden!important}
  .pds-c360-panel td{display:grid!important;grid-template-columns:110px minmax(0,1fr)!important;gap:9px!important;width:100%!important;border:0!important;border-bottom:1px solid #edf2f7!important;padding:8px 10px!important;font-size:13px!important}
  .pds-c360-panel td:last-child{border-bottom:0!important}
  .pds-c360-panel td::before{content:attr(data-label);font-size:10px;font-weight:900;text-transform:uppercase;color:#64748b}
  .pds-c360-panel td[data-label="Action"]{display:block!important}.pds-c360-panel td[data-label="Action"]::before{display:block;margin-bottom:6px}
}
@media (max-width:900px){
  .pds-c360-panel tbody{grid-template-columns:1fr!important}
  .pds-c360-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .pds-c360-tabs{overflow-x:auto!important;white-space:nowrap!important}
}


/* Printable dashboard drill-downs stay legible and obvious. */
.pds-qik-funnel-row.pds-qik-report-link{display:flex!important;align-items:center;justify-content:space-between;gap:10px;border-radius:10px;padding:8px 9px;margin:2px -4px;transition:background .15s ease,transform .15s ease}
.pds-qik-funnel-row.pds-qik-report-link:hover,.pds-qik-funnel-row.pds-qik-report-link:focus-visible{background:#eff6ff;transform:translateX(2px);outline:0}
.pds-qik-funnel-row.pds-qik-report-link span small{display:block;color:#2563eb;font-size:9px;font-weight:900;margin-top:2px}
@media (min-width:921px) and (max-width:1700px){
  .pds-manager-content{min-width:0!important;overflow-x:hidden!important}
  .pds-v43-panel,.pds-v43-inner,.pds-erp-head,.pds-qikref-dashboard{min-width:0!important;max-width:100%!important}
  .pds-invoice-table{overflow-x:auto!important;max-width:100%!important;-webkit-overflow-scrolling:touch}
  .pds-invoice-table table{min-width:980px!important}
  .pds-c360-shell{min-width:0!important}
}
@media (max-width:1180px){
  .pds-ops-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .pds-kpi-report-link small{font-size:10px}
}

/* Avoid unreadably small form controls on workstations. */
.pds-manager-content input,.pds-manager-content select,.pds-manager-content textarea,.pds-manager-content button,.pds-manager-content .pds-mini{font-size:13px}

/* v15.12 Accounts Daily Ledger Desk / Vendor / Staff Wallet UX */
.pds-daily-ledger-desk{display:block!important;min-width:0;overflow:visible;background:linear-gradient(180deg,#fff 0,#fbfdff 100%)}
.pds-daily-ledger-desk>.pds-erp-head{align-items:flex-start;gap:16px;margin-bottom:14px}
.pds-daily-ledger-desk>.pds-erp-head h3{margin:0 0 4px;font-size:22px;line-height:1.2}
.pds-daily-ledger-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 14px}
.pds-daily-kpi{min-width:0;border:1px solid #d7e3f3;border-radius:14px;padding:12px 13px;background:#fff;box-shadow:0 5px 16px rgba(15,61,110,.055)}
.pds-daily-kpi span,.pds-daily-kpi small{display:block;color:#5c6f86}
.pds-daily-kpi span{font-size:10px;font-weight:900;letter-spacing:.05em;text-transform:uppercase}
.pds-daily-kpi b{display:block;margin:4px 0 2px;color:#10243d;font-size:20px;line-height:1.15;overflow-wrap:anywhere}
.pds-daily-kpi small{font-size:10px;line-height:1.3}
.pds-daily-kpi.is-danger{border-color:#f0aaa7;background:#fff5f4}
.pds-daily-kpi.is-danger b{color:#a4201a}
.pds-quick-ledger-tabs{display:flex;gap:7px;flex-wrap:wrap;padding:8px;border:1px solid #dbe7f5;border-radius:14px;background:#f5f9ff;margin-bottom:10px;position:sticky;top:4px;z-index:4}
.pds-quick-ledger-tabs button{appearance:none;border:1px solid #cddbee;background:#fff;color:#29425f;border-radius:10px;padding:9px 13px;font-weight:850;font-size:12px;cursor:pointer;white-space:nowrap}
.pds-quick-ledger-tabs button.active{background:#135ea9;border-color:#135ea9;color:#fff;box-shadow:0 5px 12px rgba(19,94,169,.18)}
.pds-quick-ledger-panels{border:1px solid #dbe7f5;border-radius:16px;background:#fff;padding:15px;margin-bottom:14px}
.pds-quick-ledger-panel{display:none!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;background:transparent!important}
.pds-quick-ledger-panel.active{display:block!important}
.pds-form-grid{display:grid;gap:10px 12px;align-items:end;margin-bottom:10px}
.pds-form-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.pds-form-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.pds-form-grid .span-2{grid-column:span 2}.pds-form-grid .span-3{grid-column:span 3}.pds-form-grid .span-4{grid-column:1/-1}
.pds-form-grid label,.pds-daily-ledger-desk>label,.pds-account-desk-lower label{min-width:0;margin:0;font-size:11px;font-weight:750;color:#334b67}
.pds-form-grid input,.pds-form-grid select,.pds-form-grid textarea,.pds-account-desk-lower input,.pds-account-desk-lower select,.pds-account-desk-lower textarea{width:100%;min-width:0;margin-top:5px}
.pds-form-grid label.is-required{color:#8e281f}.pds-form-grid label.is-required:after{content:' • reference required';font-size:9px;color:#b72b21;font-weight:700}
.pds-inline-money{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;align-items:end}.pds-inline-money .pds-mini{margin-bottom:0;white-space:nowrap;min-height:38px}
.pds-account-advanced{border:1px dashed #cbd9ea;border-radius:12px;background:#f8fbff;padding:9px 11px;margin:9px 0 11px}
.pds-account-advanced summary{cursor:pointer;font-size:11px;font-weight:850;color:#24527e}
.pds-account-advanced[open] summary{margin-bottom:10px}
.pds-check{display:flex!important;gap:7px!important;align-items:center!important;align-self:center;padding-top:18px}.pds-check input{width:auto!important;margin:0!important}
.pds-account-desk-lower{display:grid!important;grid-template-columns:minmax(0,.9fr) minmax(0,1.35fr)!important;gap:14px!important;margin-top:14px}
.pds-account-desk-lower>.pds-card{margin:0!important;min-width:0}
.pds-today-vouchers{margin-top:14px!important;min-width:0}
.pds-today-vouchers .pds-responsive-table{max-height:430px;overflow:auto}
.pds-wallet-settlement-desk{min-width:0;overflow:hidden}
.pds-wallet-settlement-desk .pds-responsive-table{overflow:auto;max-height:620px}
.pds-wallet-settlement-desk table{min-width:860px}
.pds-wallet-row-pay{min-width:70px}

/* Keep Accounts usable at normal 100% browser zoom on common 1366/1440/1600 workstations. */
@media (max-width:1500px){
  .pds-daily-ledger-kpis{grid-template-columns:repeat(4,minmax(145px,1fr))}
  .pds-form-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pds-form-grid-4 .span-3{grid-column:span 2}
  .pds-account-desk-lower{grid-template-columns:1fr!important}
}
@media (max-width:1180px){
  .pds-daily-ledger-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pds-form-grid-3,.pds-form-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pds-form-grid .span-3,.pds-form-grid .span-4{grid-column:1/-1}
  .pds-quick-ledger-tabs{position:static}
}
@media (max-width:760px){
  .pds-daily-ledger-desk>.pds-erp-head{display:block}.pds-daily-ledger-desk>.pds-erp-head>a{display:inline-flex;margin-top:8px}
  .pds-daily-ledger-kpis,.pds-form-grid-3,.pds-form-grid-4{grid-template-columns:1fr}
  .pds-form-grid .span-2,.pds-form-grid .span-3,.pds-form-grid .span-4{grid-column:1}
  .pds-quick-ledger-tabs{display:grid;grid-template-columns:1fr 1fr}.pds-quick-ledger-tabs button{white-space:normal;padding:10px 8px}
  .pds-quick-ledger-panels{padding:11px}
  .pds-inline-money{grid-template-columns:1fr}.pds-inline-money .pds-mini{width:100%}
}


/* v15.13.0 Smart Flow + Rewards */
.pds-smart-mission-host{margin:14px 0}.pds-smart-mission-loading,.pds-smart-mission-empty{display:flex;align-items:center;gap:10px;padding:12px 14px;border:1px solid #cbd5e1;border-radius:14px;background:#fff}.pds-smart-mission-empty{justify-content:space-between;background:#ecfdf5;border-color:#a7f3d0}.pds-smart-mission{border:1px solid #bfdbfe;border-radius:18px;background:linear-gradient(145deg,#eff6ff,#fff);padding:14px;box-shadow:0 10px 28px rgba(15,23,42,.06)}.pds-smart-mission-head,.pds-smart-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.pds-smart-mission-head h3,.pds-smart-head h2{margin:2px 0 4px}.pds-smart-mini-counts{display:flex;gap:6px;flex-wrap:wrap}.pds-smart-mini-counts span{border-radius:999px;padding:5px 9px;background:#e2e8f0;font-size:11px;font-weight:800}.pds-smart-mini-counts .critical{background:#fee2e2;color:#991b1b}.pds-smart-mini-counts .urgent{background:#ffedd5;color:#9a3412}.pds-smart-mission-list{display:grid;gap:8px;margin-top:10px}.pds-smart-mission-row{display:grid;grid-template-columns:32px 48px minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px;border:1px solid #dbeafe;border-radius:13px;background:#fff}.pds-smart-mission-row.is-critical{border-color:#fca5a5;background:#fff7f7}.pds-smart-mission-row.is-urgent{border-color:#fdba74;background:#fffaf5}.pds-smart-mission-row.is-blocked{border-color:#86efac;background:#f5fff8}.pds-smart-rank{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#0f172a;color:#fff;font-weight:900}.pds-smart-score{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;font-size:16px;font-weight:900;background:#e2e8f0}.pds-smart-score.is-critical{background:#dc2626;color:#fff}.pds-smart-score.is-urgent{background:#ea580c;color:#fff}.pds-smart-score.is-attention{background:#facc15;color:#422006}.pds-smart-score.is-blocked{background:#16a34a;color:#fff}.pds-smart-mission-main{min-width:0}.pds-smart-mission-main>b,.pds-smart-mission-main>span,.pds-smart-mission-main>small{display:block}.pds-smart-mission-main>span,.pds-smart-mission-main>small{color:#64748b}.pds-smart-mission-main p{margin:4px 0;font-weight:650}.pds-smart-mission-actions{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end}.pds-smart-modal{position:fixed;z-index:999999;inset:0;display:grid;place-items:center;padding:18px}.pds-smart-backdrop{position:absolute;inset:0;border:0;background:rgba(15,23,42,.62)}.pds-smart-modal>section{position:relative;z-index:1;width:min(720px,100%);max-height:88vh;overflow:auto;border-radius:18px;background:#fff;box-shadow:0 30px 80px rgba(15,23,42,.35);padding:18px}.pds-smart-modal header,.pds-smart-modal footer{display:flex;justify-content:space-between;align-items:center;gap:12px}.pds-smart-close{border:0;background:#f1f5f9;border-radius:50%;width:36px;height:36px;font-size:22px}.pds-smart-modal footer{margin-top:14px;justify-content:flex-end}.pds-smart-blocker-fields{display:grid;gap:10px}.pds-smart-blocker-fields label{display:grid;gap:5px}.pds-smart-blocker-fields input,.pds-smart-blocker-fields select,.pds-smart-blocker-fields textarea{width:100%}.pds-smart-blocker-error{color:#b91c1c;font-weight:700}.pds-smart-popup-list{display:grid;gap:8px;margin:12px 0}.pds-smart-popup-list article{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:10px;align-items:center;border:1px solid #fecaca;background:#fff7f7;border-radius:12px;padding:10px}.pds-smart-popup-list p{margin:3px 0}.pds-smart-kpis,.pds-reward-admin-kpis,.pds-reward-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0}.pds-smart-kpis button,.pds-reward-admin-kpis>div,.pds-reward-kpis>div{border:1px solid #cbd5e1;border-radius:14px;background:#fff;padding:12px;text-align:left}.pds-smart-kpis button{cursor:pointer}.pds-smart-kpis button.active{border-color:#2563eb;box-shadow:0 0 0 2px #dbeafe}.pds-smart-kpis span,.pds-reward-admin-kpis span,.pds-reward-kpis span{display:block;color:#64748b;font-size:11px;font-weight:800;text-transform:uppercase}.pds-smart-kpis b,.pds-reward-admin-kpis b,.pds-reward-kpis b{font-size:23px}.pds-smart-table-wrap{overflow:auto;border:1px solid #dbe3ee;border-radius:14px}.pds-smart-table{width:100%;border-collapse:collapse;min-width:1050px}.pds-smart-table th,.pds-smart-table td{padding:9px;border-bottom:1px solid #e2e8f0;vertical-align:top}.pds-smart-table th{background:#f8fafc;text-align:left}.pds-smart-table small{display:block;color:#64748b;margin-top:3px}.pds-reward-action-card{background:linear-gradient(145deg,#fff7ed,#fff)}.pds-reward-hero{border-radius:20px;padding:20px;display:flex;justify-content:space-between;gap:16px;align-items:center;background:linear-gradient(135deg,#334155,#0f172a);color:#fff}.pds-reward-hero.is-gold{background:linear-gradient(135deg,#a16207,#f59e0b)}.pds-reward-hero.is-platinum{background:linear-gradient(135deg,#334155,#64748b)}.pds-reward-hero h2{font-size:34px;margin:3px 0}.pds-referral-code{background:rgba(255,255,255,.14);padding:12px 16px;border-radius:14px;text-align:center}.pds-referral-code small,.pds-referral-code b{display:block}.pds-referral-code b{font-size:19px;letter-spacing:.08em}.pds-reward-tier{display:inline-block;border-radius:999px;padding:3px 9px;background:#e2e8f0;font-size:10px;font-weight:900;margin-right:8px}.pds-reward-tier.is-gold{background:#fef3c7;color:#92400e}.pds-reward-tier.is-platinum{background:#e2e8f0;color:#0f172a}.pds-reward-ticket-card{margin:12px 0;border:1px solid #fcd34d;background:#fffbeb;border-radius:14px;padding:12px;display:grid;gap:8px}.pds-reward-ticket-card>div:first-child>b,.pds-reward-ticket-card>div:first-child>small{display:block}.pds-reward-ticket-card.is-muted{border-color:#cbd5e1;background:#f8fafc}.pds-reward-redeem-form{display:flex;gap:8px;align-items:end;flex-wrap:wrap}.pds-reward-redeem-form label{display:grid;gap:4px}.pds-reward-redemptions{display:grid;gap:3px;border-top:1px dashed #d97706;padding-top:7px}.pds-link-btn{border:0;background:transparent;color:#1d4ed8;text-decoration:underline;cursor:pointer;padding:2px 4px}.pds-positive{color:#15803d;font-weight:800}.pds-negative{color:#b91c1c;font-weight:800}.pds-reward-settings{margin:12px 0;border:1px solid #cbd5e1;border-radius:14px;padding:10px}.pds-reward-settings summary{font-weight:800;cursor:pointer}.pds-reward-tools{display:flex;gap:8px;align-items:end;margin:14px 0}.pds-reward-tools label{display:grid;gap:4px;flex:1}.pds-reward-search-result{display:grid;gap:7px;margin-top:8px}.pds-reward-search-result article{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:9px;border:1px solid #e2e8f0;border-radius:12px;background:#fff}.pds-reward-search-result small{display:block;color:#64748b}.pds-smart-manager,.pds-rewards-manager,.pds-rewards-portal{max-width:100%}
@media(max-width:1100px){.pds-smart-mission-row{grid-template-columns:32px 44px minmax(0,1fr)}.pds-smart-mission-actions{grid-column:2/-1;justify-content:flex-start}.pds-smart-kpis,.pds-reward-admin-kpis,.pds-reward-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.pds-smart-head,.pds-smart-mission-head{flex-direction:column}.pds-reward-hero{align-items:flex-start}}
@media(max-width:680px){.pds-smart-mission-row{grid-template-columns:32px minmax(0,1fr)}.pds-smart-score{grid-row:1/3}.pds-smart-rank{display:none}.pds-smart-mission-actions{grid-column:1/-1}.pds-smart-kpis,.pds-reward-admin-kpis,.pds-reward-kpis{grid-template-columns:1fr 1fr}.pds-reward-hero{display:block}.pds-referral-code{margin-top:12px}.pds-reward-tools{display:grid}.pds-smart-modal{padding:8px}.pds-smart-modal>section{border-radius:14px;padding:14px}}
/* v15.14.0 protected cancellation handoff stage */
.pds-status-cancel_ready_return,.pds-badge[data-status="cancel_ready_return"]{background:#fff7ed!important;color:#9a3412!important;border-color:#fdba74!important}
.pds-ops-owned-note{border-color:#bfdbfe!important;background:#eff6ff!important}

/* v15.15 Warranty no-charge completion */
.pds-warranty-zero{display:inline-block;font-weight:900;color:#166534;background:#f0fdf4;border:1px solid #86efac;border-radius:999px;padding:4px 9px}.pds-warranty-zero-card{display:grid;gap:7px;min-width:260px;max-width:420px;padding:10px;border:1px solid #86efac;background:#f0fdf4;border-radius:12px}.pds-warranty-zero-card small{color:#166534}.pds-warranty-zero-card textarea,.pds-warranty-zero-card input{width:100%;min-height:40px;border:1px solid #bbf7d0;border-radius:9px;padding:8px;background:#fff}.pds-warranty-zero-form{margin:4px 0}@media(max-width:720px){.pds-warranty-zero-card{min-width:0;max-width:none;width:100%}}

/* v15.22 Simple Accounts + Courier Master */
.pds-simple-accounts{border:1px solid #d9e3ef;border-radius:18px;background:#fff;padding:18px;margin:4px 0 18px;box-shadow:0 10px 28px rgba(15,23,42,.05)}
.pds-simple-accounts-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}.pds-simple-accounts-head small{font-weight:800;letter-spacing:.08em;color:#64748b}.pds-simple-accounts-head h3{margin:2px 0 4px;font-size:24px}.pds-simple-accounts-head p{margin:0;color:#64748b;max-width:760px}
.pds-account-health{min-width:220px;border:1px solid #bbf7d0;background:#f0fdf4;border-radius:14px;padding:10px 12px}.pds-account-health.needs-review{border-color:#fed7aa;background:#fff7ed}.pds-account-health b,.pds-account-health span{display:block}.pds-account-health span{font-size:12px;color:#64748b;margin-top:3px}
.pds-simple-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:14px 0}.pds-simple-kpis>div{border:1px solid #dbe3ee;border-radius:14px;padding:12px;background:#fbfdff;min-width:0}.pds-simple-kpis span,.pds-simple-kpis b,.pds-simple-kpis small{display:block}.pds-simple-kpis span{font-size:11px;text-transform:uppercase;font-weight:800;color:#64748b}.pds-simple-kpis b{font-size:20px;margin-top:4px;white-space:nowrap}.pds-simple-kpis small{font-size:10px;color:#64748b;margin-top:3px}
.pds-account-action-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:15px 0}.pds-account-action{border:1px solid #cbd5e1;background:#fff;border-radius:14px;padding:13px;text-align:left;cursor:pointer;min-height:76px}.pds-account-action b,.pds-account-action span{display:block}.pds-account-action b{font-size:14px}.pds-account-action span{font-size:11px;color:#64748b;margin-top:4px;line-height:1.35}.pds-account-action.active{border-color:#2563eb;box-shadow:0 0 0 2px #dbeafe;background:#f8fbff}
.pds-simple-account-panels{border:1px solid #dbe3ee;border-radius:16px;background:#fbfdff;padding:14px}.pds-simple-account-panel[hidden]{display:none!important}.pds-simple-account-panel.active{display:block}.pds-simple-panel-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:12px}.pds-simple-panel-head h4{margin:0 0 3px;font-size:19px}.pds-simple-panel-head p{margin:0;color:#64748b}
.pds-simple-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:end;border:1px solid #e2e8f0;background:#fff;border-radius:14px;padding:12px;margin:10px 0}.pds-simple-form h5{grid-column:1/-1;margin:0}.pds-simple-form label{display:grid;gap:4px;font-size:12px;font-weight:700}.pds-simple-form input,.pds-simple-form select,.pds-simple-form textarea{width:100%;min-width:0}.pds-simple-form label.wide{grid-column:span 2}.pds-simple-form .pds-accounting-result,.pds-simple-form .pds-form-result{grid-column:1/-1}.pds-simple-form button{min-height:40px}.pds-compact-form{grid-template-columns:2fr 1fr 1fr auto}.pds-simple-split{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.pds-courier-master{border:1px solid #dbe3ee;border-radius:14px;background:#fff;padding:12px;margin-bottom:12px}.pds-courier-master>h5{margin:0 0 8px}.pds-courier-master-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.pds-courier-master-card{border:1px solid #dbe3ee;border-radius:13px;padding:11px;background:#fbfdff}.pds-courier-master-card>div strong,.pds-courier-master-card>div small,.pds-courier-master-card>div b{display:block}.pds-courier-master-card>div small{color:#64748b;margin:2px 0 5px}.pds-courier-master-card form{display:grid;grid-template-columns:1fr 1fr auto;gap:7px;align-items:end;margin-top:8px}.pds-courier-master-card form label{display:grid;gap:3px;font-size:11px}.pds-courier-master-card .pds-courier-disable{display:block;margin-top:6px}.pds-courier-master-card .pds-form-result{grid-column:1/-1}
.pds-courier-report-split section{min-width:0}.pds-courier-report-split table{min-width:560px}.pds-courier-correction{margin-top:12px;border-top:1px dashed #cbd5e1;padding-top:10px}.pds-courier-correction summary{cursor:pointer;font-weight:800}.pds-simple-empty-action{display:grid;place-items:start;gap:8px;padding:16px}.pds-simple-empty-action h4,.pds-simple-empty-action p{margin:0}.pds-simple-reconcile{margin-top:12px;border:1px solid #dbe3ee;border-radius:14px;padding:10px 12px;background:#fff}.pds-simple-reconcile summary{font-weight:800;cursor:pointer}.pds-reconcile-mini{display:flex;gap:10px;flex-wrap:wrap;align-items:center;padding-top:10px}.pds-reconcile-mini>span{border:1px solid #e2e8f0;border-radius:999px;padding:6px 9px;font-size:12px}.pds-reconcile-mini form{display:flex;gap:8px;align-items:center}
.pds-advanced-accounts{border:1px solid #cbd5e1;border-radius:16px;background:#f8fafc;margin:12px 0}.pds-advanced-accounts>summary{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:14px 16px;cursor:pointer}.pds-advanced-accounts>summary span{color:#64748b;font-size:12px}.pds-advanced-accounts[open]>summary{border-bottom:1px solid #dbe3ee}.pds-advanced-accounts-body{padding:12px;background:#fff;border-radius:0 0 16px 16px}
@media(max-width:1400px){.pds-simple-kpis,.pds-account-action-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.pds-courier-master-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:980px){.pds-simple-accounts-head{display:block}.pds-account-health{margin-top:10px;min-width:0}.pds-simple-form{grid-template-columns:repeat(2,minmax(0,1fr))}.pds-simple-form label.wide{grid-column:1/-1}.pds-simple-split{grid-template-columns:1fr}.pds-compact-form{grid-template-columns:1fr 1fr}.pds-courier-master-grid{grid-template-columns:1fr}}
@media(max-width:680px){.pds-simple-accounts{padding:11px;border-radius:14px}.pds-simple-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.pds-account-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pds-account-action{min-height:70px;padding:10px}.pds-simple-account-panels{padding:8px}.pds-simple-form,.pds-compact-form{grid-template-columns:1fr}.pds-simple-form label.wide{grid-column:1}.pds-courier-master-card form{grid-template-columns:1fr 1fr}.pds-courier-master-card form button{grid-column:1/-1}.pds-reconcile-mini{display:grid}.pds-advanced-accounts>summary{display:block}.pds-advanced-accounts>summary span{display:block;margin-top:3px}}

/* v15.24.1 Accounts drill-down, Payables Centre and safe invoice revision UI */
.pds-simple-kpis .pds-account-kpi-card{appearance:none;border:1px solid #d7dee8;background:#fff;border-radius:14px;padding:14px;text-align:left;color:inherit;cursor:pointer;min-height:92px;display:flex;flex-direction:column;gap:3px;transition:.16s ease;box-shadow:0 2px 8px rgba(15,23,42,.04)}
.pds-simple-kpis .pds-account-kpi-card:hover,.pds-simple-kpis .pds-account-kpi-card:focus-visible{border-color:#64748b;transform:translateY(-1px);box-shadow:0 8px 22px rgba(15,23,42,.09);outline:0}.pds-account-kpi-card span{font-size:12px;color:#64748b;font-weight:700}.pds-account-kpi-card b{font-size:19px;line-height:1.2}.pds-account-kpi-card small{color:#64748b;margin-top:auto}.pds-payables-card{background:linear-gradient(135deg,#fff,#f0fdf4)!important;border-color:#bbf7d0!important}
.pds-account-detail-workspace{margin-top:14px;border:1px solid #d7dee8;border-radius:16px;background:#fff;padding:14px}.pds-account-detail-toolbar{display:flex;justify-content:space-between;gap:8px;position:sticky;top:0;background:#fff;padding:3px 0 10px;z-index:2}.pds-account-detail-panel h3{margin:2px 0 4px}.pds-account-detail-panel h4{margin:18px 0 7px}.pds-account-detail-panel[hidden],.pds-account-detail-workspace[hidden]{display:none!important}.pds-payable-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0}.pds-payable-kpis>div{border:1px solid #dbe4ef;background:#f8fafc;border-radius:11px;padding:10px}.pds-payable-kpis span,.pds-payable-kpis b{display:block}.pds-payable-kpis span{font-size:11px;color:#64748b}.pds-payable-kpis b{font-size:17px;margin-top:3px}.pds-payable-pay-form{display:grid!important;grid-template-columns:120px 115px 100px minmax(120px,1fr) minmax(120px,1fr) auto;gap:5px;align-items:center;margin:0!important}.pds-payable-pay-form input,.pds-payable-pay-form select{min-width:0;padding:7px!important;font-size:11px!important}.pds-payable-pay-form .pds-form-result{grid-column:1/-1}
.pds-credit-revision-box{margin-top:10px}.pds-ticket-invoice-editor{border:1px solid #bfdbfe;background:#f8fbff;border-radius:14px;padding:12px;margin-top:12px}.pds-invoice-editor-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.pds-invoice-editor-head h4{margin:0 0 3px}.pds-invoice-editor-lines{display:flex;flex-direction:column;gap:9px;margin:10px 0}.pds-invoice-editor-line{display:grid;grid-template-columns:145px minmax(180px,1.1fr) minmax(220px,1.5fr) 110px 90px 110px 92px auto;gap:7px;align-items:end;border:1px solid #dbe4ef;background:#fff;border-radius:12px;padding:9px}.pds-invoice-editor-line label{margin:0;font-size:11px}.pds-invoice-editor-line label.wide{min-width:0}.pds-invoice-editor-line input,.pds-invoice-editor-line select{width:100%;min-width:0}.pds-invoice-line-preview{font-size:10px;color:#64748b;padding-bottom:8px}.pds-invoice-line-preview b{display:block;color:#0f172a;font-size:12px}.pds-invoice-editor-summary{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin:8px 0;font-weight:700}.pds-invoice-editor-total{font-size:18px}.pds-ticket-invoice-editor textarea{width:100%}.pds-ticket-invoice-editor .danger{background:#fff1f2!important;border-color:#fecdd3!important;color:#be123c!important}
@media(max-width:1100px){.pds-invoice-editor-line{grid-template-columns:repeat(3,minmax(0,1fr))}.pds-invoice-editor-line .wide{grid-column:span 2}.pds-payable-pay-form{grid-template-columns:repeat(3,minmax(0,1fr))}.pds-payable-pay-form button{width:100%}}
@media(max-width:720px){.pds-payable-kpis{grid-template-columns:1fr 1fr}.pds-account-detail-toolbar{position:static}.pds-payable-pay-form{grid-template-columns:1fr 1fr}.pds-payable-pay-form input[name="reference_no"],.pds-payable-pay-form input[name="note"],.pds-payable-pay-form .pds-form-result{grid-column:1/-1}.pds-invoice-editor-head{display:block}.pds-invoice-editor-line{grid-template-columns:1fr 1fr}.pds-invoice-editor-line .wide{grid-column:1/-1}.pds-invoice-editor-line .pds-invoice-line-preview{align-self:end}.pds-invoice-editor-line .pds-invoice-remove-line{width:100%}}
@media(max-width:440px){.pds-payable-kpis,.pds-payable-pay-form,.pds-invoice-editor-line{grid-template-columns:1fr}.pds-invoice-editor-line .wide{grid-column:auto}.pds-account-detail-toolbar{flex-direction:column}.pds-account-detail-toolbar button{width:100%}}
.pds-payables-centre{border-top:3px solid #16a34a}.pds-payables-centre>h3{color:#14532d}

/* v15.24.1 production polish: accessible account drill-down states and clear empty registers. */
.pds-account-kpi-card[aria-expanded="true"]{border-color:#1d4ed8!important;box-shadow:0 0 0 2px #dbeafe,0 8px 22px rgba(15,23,42,.09)!important;background:#f8fbff!important}
.pds-account-detail-workspace:focus{outline:2px solid #2563eb;outline-offset:3px}
.pds-empty-row{text-align:center!important;color:#64748b!important;padding:18px!important;font-style:italic;background:#f8fafc}
.pds-account-reference:required{border-color:#f59e0b}

/* v15.27.0 Smart Manager V1 ------------------------------------------------ */
.pds-smart-manager-v1{--pds-plan-ink:#0f2743;--pds-plan-soft:#f4f8ff;--pds-plan-line:#d7e3f3;--pds-plan-ok:#0f8a5f;--pds-plan-warn:#b96a09;--pds-plan-danger:#b42318;color:var(--pds-plan-ink)}
.pds-plan-loading{display:flex;align-items:center;gap:10px;padding:18px;border:1px solid var(--pds-plan-line);border-radius:18px;background:#fff}
.pds-plan-page-head,.pds-plan-tech-head,.pds-plan-editor-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.pds-plan-page-head h2,.pds-plan-tech-head h3,.pds-plan-editor-head h3{margin:4px 0 6px}
.pds-plan-page-head p,.pds-plan-tech-head p,.pds-plan-editor-head p{margin:0;max-width:760px}
.pds-plan-eyebrow,.pds-plan-tech-head small{font-size:11px;font-weight:800;letter-spacing:.12em;color:#47729f;text-transform:uppercase}
.pds-plan-state{min-width:220px;padding:14px 16px;border:1px solid var(--pds-plan-line);border-radius:18px;background:var(--pds-plan-soft);display:grid;gap:3px}
.pds-plan-state.finalized{border-color:#b8e2d1;background:#f0fbf6}.pds-plan-state.not-prepared{border-color:#f2d4a8;background:#fff8ed}
.pds-plan-state strong{font-size:15px}.pds-plan-state span,.pds-plan-state small{color:#60758a}
.pds-plan-manager-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:18px 0}
.pds-plan-manager-actions small{color:#6b7d90}
.pds-plan-dispatch{display:grid;grid-template-columns:minmax(220px,1fr) minmax(320px,1.7fr);gap:18px;align-items:center;border:1px solid var(--pds-plan-line);border-radius:20px;padding:16px 18px;margin:16px 0;background:linear-gradient(135deg,#f7fbff,#eef6ff)}
.pds-plan-dispatch.success{border-left:5px solid var(--pds-plan-ok)}.pds-plan-dispatch.warning{border-left:5px solid var(--pds-plan-warn)}
.pds-plan-dispatch>div:first-child{display:grid;gap:4px}.pds-plan-dispatch>div:first-child strong{font-size:18px}.pds-plan-dispatch>div:first-child small{color:#6a7b8d}
.pds-plan-dispatch-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.pds-plan-dispatch-kpis span{display:grid;gap:2px;border:1px solid #dbe7f5;border-radius:14px;padding:10px;background:#fff;font-size:12px;color:#61758a}.pds-plan-dispatch-kpis b{font-size:20px;color:var(--pds-plan-ink)}
.pds-plan-editor{border:1px solid var(--pds-plan-line);border-radius:22px;padding:18px;background:#fff;box-shadow:0 10px 35px rgba(19,51,89,.07)}
.pds-plan-editor-head{padding-bottom:14px;border-bottom:1px solid #e7eef7}.pds-plan-table{display:grid;gap:10px;margin:14px 0}
.pds-plan-edit-row{display:grid;grid-template-columns:minmax(260px,2fr) minmax(160px,.8fr) minmax(125px,.65fr) auto;gap:10px;align-items:end;border:1px solid #dfe8f3;border-radius:16px;padding:12px;background:#fbfdff}
.pds-plan-edit-ticket{display:grid;gap:3px}.pds-plan-edit-ticket strong{font-size:14px}.pds-plan-edit-ticket small{color:#63778d}.pds-plan-edit-ticket em{font-size:12px;color:#435d78;font-style:normal}
.pds-plan-edit-row label{font-size:11px;font-weight:700;color:#5d7186}.pds-plan-edit-row select{margin-top:4px;min-height:42px}
.pds-plan-row-actions{display:flex;gap:5px;align-items:center}.pds-plan-draft-actions{display:grid;grid-template-columns:minmax(220px,1fr) minmax(230px,.8fr) auto;gap:12px;align-items:end;border-top:1px solid #e7eef7;padding-top:14px}.pds-plan-draft-actions label{margin:0}.pds-plan-add{display:flex;gap:7px}.pds-plan-add input{min-width:150px}

.pds-plan-tech-shell{margin:14px 0;border:1px solid var(--pds-plan-line);border-radius:22px;padding:16px;background:#fff;box-shadow:0 10px 30px rgba(20,50,86,.08)}
.pds-plan-tech-shell.is-not-prepared{background:linear-gradient(135deg,#fffdf7,#fff8e9);border-color:#efd9b3}.pds-plan-tech-head{align-items:center}.pds-plan-tech-head h3{font-size:23px}.pds-plan-tech-head p{font-size:12px;color:#718398}
.pds-plan-status{white-space:nowrap;border-radius:999px;padding:8px 11px;font-size:12px;font-weight:800}.pds-plan-status.ok{background:#eaf8f1;color:#08744c}.pds-plan-status.warn{background:#fff0d7;color:#9a5700}
.pds-plan-tech-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:14px 0}.pds-plan-tech-stats span{display:grid;gap:2px;padding:9px 8px;border:1px solid #e0e9f4;border-radius:13px;text-align:center;font-size:10px;color:#6a7d91;background:#f9fbfe}.pds-plan-tech-stats b{font-size:17px;color:var(--pds-plan-ink)}
.pds-plan-section-title{display:flex;justify-content:space-between;align-items:end;gap:10px;margin:13px 1px 8px}.pds-plan-section-title b{font-size:12px;letter-spacing:.1em}.pds-plan-section-title span{font-size:11px;color:#728398}.pds-plan-section-title.compact{margin-top:16px}
.pds-plan-tech-item{position:relative;border:1px solid #dce6f2;border-radius:17px;padding:13px;background:#fbfdff;margin:8px 0}.pds-plan-tech-item.is-primary{border:2px solid #2d72e8;background:linear-gradient(145deg,#f5f9ff,#fff);box-shadow:0 8px 23px rgba(45,114,232,.12)}
.pds-plan-tech-item h4{margin:7px 0 4px;font-size:15px;line-height:1.25}.pds-plan-device{margin:0 0 7px;color:#687c91;font-size:12px;text-transform:capitalize}.pds-plan-why{margin:7px 0;font-size:12px;line-height:1.45}.pds-plan-tech-item>small{display:block;color:#788a9b;margin-bottom:9px}
.pds-plan-tech-badges{display:flex;align-items:center;justify-content:space-between;gap:8px}.pds-plan-source,.pds-plan-progress{display:inline-flex;align-items:center;border-radius:999px;padding:5px 8px;font-size:10px;font-weight:800;letter-spacing:.04em}.pds-plan-source{background:#e8f2ff;color:#175da8}.pds-plan-source.is-carry_in{background:#fff0e4;color:#a64500}.pds-plan-source.is-agartala{background:#e9f8f2;color:#08744c}.pds-plan-progress{background:#eef2f7;color:#4a6077;text-transform:uppercase}
.pds-plan-tech-actions{display:flex;gap:8px;align-items:center}.pds-plan-tech-actions .pds-btn{flex:1;min-height:42px}.pds-plan-tech-actions .pds-mini{min-height:42px}
.pds-plan-tech-next{display:grid;gap:6px}.pds-plan-tech-next .pds-plan-tech-item{margin:0}.pds-plan-tech-next .pds-plan-why{margin-bottom:5px}.pds-plan-all-clear{display:grid;gap:4px;padding:16px;border-radius:16px;background:#eefaf4;border:1px solid #c8ead9}.pds-plan-all-clear span{font-size:12px;color:#557467}
.pds-plan-progress-details{margin:13px 0;border:1px solid #e2e9f2;border-radius:14px;padding:10px}.pds-plan-progress-details summary{font-weight:700;cursor:pointer}.pds-plan-progress-details>div{display:grid;gap:6px;margin-top:8px}.pds-plan-done-row{border:0;border-radius:11px;padding:10px;background:#f5f7fa;text-align:left;display:flex;justify-content:space-between;gap:10px;color:#354b62}.pds-plan-done-row b{text-transform:capitalize;font-size:11px}
.pds-plan-tech-dispatch{margin-top:14px;border-radius:16px;padding:12px;border:1px solid #d9e6f4;background:#f7fbff}.pds-plan-tech-dispatch.is-covered{border-left:4px solid var(--pds-plan-ok)}.pds-plan-tech-dispatch.is-below{border-left:4px solid var(--pds-plan-warn)}.pds-plan-tech-dispatch>div:first-child{display:flex;justify-content:space-between;gap:10px;align-items:center}.pds-plan-tech-dispatch small{font-size:9px;font-weight:800;letter-spacing:.08em;color:#5f7892}.pds-plan-tech-dispatch>div:nth-child(2){display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin:9px 0}.pds-plan-tech-dispatch span{display:grid;font-size:9px;color:#718399}.pds-plan-tech-dispatch span b{font-size:14px;color:var(--pds-plan-ink)}.pds-plan-tech-dispatch p{margin:5px 0 0;font-size:11px;line-height:1.4;color:#516b83}

.pds-plan-deviation-modal{position:fixed;inset:0;z-index:100090;display:flex;align-items:flex-end;justify-content:center}.pds-plan-modal-backdrop{position:absolute;inset:0;background:rgba(9,24,43,.58);backdrop-filter:blur(2px)}.pds-plan-deviation-modal>section{position:relative;width:min(620px,calc(100% - 22px));max-height:min(84vh,720px);overflow:auto;background:#fff;border-radius:24px 24px 16px 16px;padding:20px;box-shadow:0 -15px 45px rgba(8,27,50,.25)}.pds-plan-modal-header small{font-size:10px;font-weight:800;letter-spacing:.1em;color:#356aa4}.pds-plan-modal-header h3{margin:5px 0 7px}.pds-plan-modal-header p{margin:0 0 14px;color:#62778c}.pds-plan-reason-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.pds-plan-reason{border:1px solid #d7e3f0;border-radius:13px;padding:12px;background:#f9fbfe;text-align:left;font-weight:700;color:#2e4965}.pds-plan-reason.active{border-color:#236bea;background:#eef5ff;box-shadow:inset 0 0 0 1px #236bea}.pds-plan-deviation-modal label{display:grid;gap:5px;margin-top:12px}.pds-plan-modal-footer{display:flex;gap:9px;margin-top:16px}.pds-plan-modal-footer .pds-btn{flex:1}

@media(max-width:780px){
  .pds-plan-page-head,.pds-plan-editor-head{display:grid}.pds-plan-state{min-width:0}.pds-plan-dispatch{grid-template-columns:1fr}.pds-plan-dispatch-kpis{grid-template-columns:repeat(2,1fr)}
  .pds-plan-edit-row{grid-template-columns:1fr 1fr}.pds-plan-edit-ticket{grid-column:1/-1}.pds-plan-row-actions{justify-content:flex-end}.pds-plan-draft-actions{grid-template-columns:1fr}.pds-plan-add{display:grid;grid-template-columns:1fr auto}
  .pds-plan-tech-shell{padding:13px;border-radius:18px}.pds-plan-tech-head h3{font-size:20px}.pds-plan-tech-stats{gap:5px}.pds-plan-tech-actions{display:grid;grid-template-columns:1.2fr .8fr}.pds-plan-tech-actions .pds-btn,.pds-plan-tech-actions .pds-mini{width:100%}
  .pds-plan-deviation-modal>section{padding:17px 15px calc(15px + env(safe-area-inset-bottom));border-radius:22px 22px 0 0}.pds-plan-reason-grid{grid-template-columns:1fr 1fr}.pds-plan-modal-footer{position:sticky;bottom:0;background:#fff;padding-top:8px}
}
@media(max-width:430px){.pds-plan-tech-stats{grid-template-columns:repeat(2,1fr)}.pds-plan-reason-grid{grid-template-columns:1fr}.pds-plan-tech-dispatch>div:nth-child(2){grid-template-columns:repeat(2,1fr)}.pds-plan-edit-row{grid-template-columns:1fr}.pds-plan-edit-ticket{grid-column:auto}.pds-plan-row-actions{justify-content:flex-start}}
.pds-plan-history{margin-top:16px;border:1px solid #dfe8f3;border-radius:16px;padding:11px 13px;background:#fbfdff}.pds-plan-history summary{cursor:pointer;font-weight:800}.pds-plan-history>div{display:grid;gap:6px;margin-top:10px}.pds-plan-history-row{display:grid;grid-template-columns:1fr auto auto;gap:10px;align-items:center;padding:9px 10px;border-radius:11px;background:#fff;border:1px solid #e7edf5}.pds-plan-history-row span,.pds-plan-history-row small{color:#708196;font-size:11px}
@media(max-width:520px){.pds-plan-history-row{grid-template-columns:1fr auto}.pds-plan-history-row small{grid-column:1/-1}}
.pds-plan-compliance-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin:12px 0}.pds-plan-compliance-strip span{display:grid;border:1px solid #e1e9f3;border-radius:12px;padding:9px;background:#f8fbff;color:#6a7c90;font-size:10px}.pds-plan-compliance-strip b{font-size:18px;color:#122e4c}.pds-plan-final-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:13px 0}.pds-plan-final-tech{border:1px solid #dfe8f3;border-radius:16px;background:#fff;overflow:hidden}.pds-plan-final-tech>header{display:flex;justify-content:space-between;align-items:center;padding:11px 12px;background:#f5f9fe;border-bottom:1px solid #e4ebf4}.pds-plan-final-tech header small{font-size:9px;font-weight:800;color:#6c8094}.pds-plan-final-tech h4{margin:2px 0}.pds-plan-final-tech>header>span{font-size:11px;color:#61758a}.pds-plan-final-tech>div{display:grid;gap:1px}.pds-plan-final-item{display:grid;grid-template-columns:auto 1fr auto;gap:6px 9px;align-items:center;padding:10px 12px;border-bottom:1px solid #edf1f6}.pds-plan-final-item:last-child{border-bottom:0}.pds-plan-final-item b{font-size:12px}.pds-plan-final-item small{grid-column:2/3;color:#62768b;font-size:10px}.pds-plan-final-item em{grid-column:3;grid-row:1/3;font-style:normal;font-size:10px;text-transform:uppercase;color:#526b84}.pds-plan-final-item.is-blocked{background:#fff9ec}.pds-plan-final-item.is-completed{background:#f1fbf6}
@media(max-width:760px){.pds-plan-compliance-strip{grid-template-columns:repeat(2,1fr)}.pds-plan-final-groups{grid-template-columns:1fr}.pds-plan-final-item{grid-template-columns:auto 1fr}.pds-plan-final-item em{grid-column:2;grid-row:auto}.pds-plan-final-item small{grid-column:2}}
.pds-plan-home-card{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:12px 0;padding:14px 16px;border:1px solid #d9e5f3;border-radius:17px;background:linear-gradient(135deg,#f8fbff,#edf5ff);text-decoration:none;color:#173450}.pds-plan-home-card>div{display:grid;gap:3px}.pds-plan-home-card small{font-size:9px;font-weight:800;letter-spacing:.1em;color:#567696}.pds-plan-home-card strong{font-size:17px}.pds-plan-home-card span{font-size:11px;color:#647a90}.pds-plan-home-card>b{white-space:nowrap;font-size:12px}.pds-plan-home-card.is-not-prepared{border-left:5px solid #b96a09}.pds-plan-home-card.is-draft{border-left:5px solid #2d72e8}.pds-plan-home-card.is-finalized{border-left:5px solid #0f8a5f}@media(max-width:600px){.pds-plan-home-card{align-items:flex-start}.pds-plan-home-card>b{display:none}}
.pds-plan-draft-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:12px 0}.pds-plan-draft-summary span{display:grid;gap:2px;padding:10px 11px;border:1px solid #e0e8f2;border-radius:13px;background:#fff;color:#65798d;font-size:10px}.pds-plan-draft-summary b{font-size:20px;color:#173450}@media(max-width:680px){.pds-plan-draft-summary{grid-template-columns:repeat(2,1fr)}}

/* v15.28.1 Smart Manager Live Operations — keyboard-safe mobile actions + v15.28.0 capacity/workforce UX */
.pds-plan-panel{margin:12px 0;padding:14px;border:1px solid #dfe8f3;border-radius:17px;background:#fff;box-shadow:0 6px 20px rgba(20,54,92,.05)}
.pds-plan-panel>header{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;margin-bottom:10px}.pds-plan-panel>header h3{margin:2px 0 0;font-size:16px}.pds-plan-panel>header small{max-width:430px;text-align:right;color:#65798d}
.pds-plan-reminder{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0;padding:11px 13px;border-radius:13px;border:1px solid #d8e6f5;background:#f6faff}.pds-plan-reminder.warning{border-left:5px solid #d97706;background:#fff9ed}.pds-plan-reminder.info{border-left:5px solid #2563eb}.pds-plan-reminder span{font-size:12px;color:#526b84}
.pds-plan-workforce-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.pds-plan-staff{display:flex;justify-content:space-between;gap:10px;padding:11px;border:1px solid #e0e8f2;border-radius:13px;background:#f9fbfe}.pds-plan-staff>div:first-child{display:grid;gap:2px}.pds-plan-staff span,.pds-plan-staff em{font-size:10px;color:#63788d;font-style:normal}.pds-plan-staff.is-absent,.pds-plan-staff.is-leave{border-left:4px solid #dc2626;background:#fff7f7}.pds-plan-staff.is-not_checked_in{border-left:4px solid #d97706;background:#fffaf0}.pds-plan-staff-actions{display:flex;align-items:center;gap:5px}.pds-plan-staff-actions .pds-mini{font-size:10px;padding:6px 8px}
.pds-plan-capacity-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.pds-plan-capacity-card{padding:11px;border:1px solid #e1e9f2;border-radius:13px;background:#fbfdff}.pds-plan-capacity-card>div:first-child{display:flex;justify-content:space-between;gap:8px}.pds-plan-capacity-card span,.pds-plan-capacity-card small{font-size:10px;color:#667b91}.pds-plan-cap-bar{height:7px;margin:8px 0 6px;border-radius:999px;background:#e9eff6;overflow:hidden}.pds-plan-cap-bar i{display:block;height:100%;background:linear-gradient(90deg,#2563eb,#06b6d4);border-radius:999px}
.pds-plan-live-list,.pds-customer-action-list{display:grid;gap:7px}.pds-plan-live-list>div{display:grid;gap:2px;padding:10px;border:1px solid #e3eaf3;border-radius:12px;background:#f8fbff}.pds-plan-live-list span,.pds-plan-live-list small{font-size:10px;color:#5e7389}.pds-empty-inline{padding:11px;border-radius:12px;background:#f7fafc;color:#65798d;font-size:12px}
.pds-customer-action-row{display:grid;grid-template-columns:minmax(190px,1.35fr) minmax(150px,.85fr) minmax(150px,1fr) minmax(170px,1fr) auto;gap:7px;align-items:end;padding:10px;border:1px solid #e1e8f1;border-radius:13px;background:#fff}.pds-customer-action-row>div:first-child{display:grid;gap:2px}.pds-customer-action-row>div:first-child span{font-size:10px;color:#63788e}.pds-customer-action-row label{font-size:10px}.pds-customer-action-row select,.pds-customer-action-row input{min-height:38px;margin:3px 0 0}.pds-customer-action-row.is-must_contact{border-left:4px solid #d97706}.pds-customer-action-row.is-escalated{border-left:4px solid #dc2626;background:#fff8f8}.pds-inline-error{grid-column:1/-1;color:#b42318;font-size:11px;min-height:0}
.pds-plan-tech-group{margin:12px 0;border:1px solid #dfe8f2;border-radius:16px;overflow:hidden;background:#fff}.pds-plan-tech-group>header{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:11px 13px;background:#f4f8fd;border-bottom:1px solid #e2eaf3}.pds-plan-tech-group>header small{font-size:9px;color:#6c8095;font-weight:800}.pds-plan-tech-group h4{margin:2px 0}.pds-plan-tech-group>header>span{font-size:11px;color:#526d88}.pds-plan-tech-group .pds-plan-table{margin:0}.pds-continuity-warning{display:block;margin-top:6px;color:#9a5a00;font-size:10px;font-weight:750}.pds-plan-continuity-override{grid-column:1/-1;display:grid;grid-template-columns:auto minmax(180px,1fr);gap:8px;align-items:center;padding:8px;border:1px dashed #e2a443;border-radius:10px;background:#fff9ed}.pds-plan-continuity-override[hidden]{display:none!important}.pds-plan-continuity-override label{display:flex!important;align-items:center;gap:5px;margin:0}.pds-plan-continuity-override input[type=text],.pds-plan-continuity-override .pds-continuity-reason{margin:0}
.pds-plan-editor-sticky-actions{position:sticky;bottom:0;z-index:15;display:flex;justify-content:flex-end;align-items:center;gap:8px;margin:12px -2px -2px;padding:10px 12px calc(10px + env(safe-area-inset-bottom));border:1px solid #dce6f0;border-radius:14px;background:rgba(255,255,255,.97);box-shadow:0 -8px 24px rgba(17,49,82,.12);backdrop-filter:blur(10px)}.pds-plan-dirty-state{margin-right:auto;color:#687d92;font-size:11px}.pds-plan-editor.is-dirty .pds-plan-dirty-state{color:#a35b00;font-weight:800}
.pds-plan-live-title{padding-top:3px;border-top:1px solid #e6edf5}.pds-plan-tech-next.is-live .pds-plan-tech-item{border-left:4px solid #7c3aed}.pds-plan-tech-item.is-carry-forward{opacity:.78;border-style:dashed}.pds-plan-tech-dispatch summary{display:flex;justify-content:space-between;gap:12px;align-items:center;cursor:pointer}.pds-plan-tech-dispatch summary span{display:grid}.pds-plan-tech-dispatch summary strong{font-size:12px}.pds-plan-tech-dispatch-body{display:grid!important;grid-template-columns:repeat(4,1fr);gap:6px;margin-top:9px}

/* Mobile bottom sheets: shell never scrolls; only body scrolls, footer is always reachable. */
.pds-plan-deviation-modal>section{display:flex;flex-direction:column;overflow:hidden;padding:0;max-height:min(calc(var(--pds-smart-vvh,100dvh) - 8px),760px)}
.pds-plan-deviation-modal>section>.pds-plan-modal-header{flex:0 0 auto;padding:17px 17px 10px}.pds-plan-modal-body{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:0 17px 14px}.pds-plan-deviation-modal>section>.pds-plan-modal-footer{position:sticky;bottom:0;z-index:5;flex:0 0 auto;margin:0;padding:10px 17px calc(10px + env(safe-area-inset-bottom));border-top:1px solid #e2e9f2;background:#fff;box-shadow:0 -6px 18px rgba(19,49,81,.09)}.pds-plan-dev-error,.pds-plan-blocker-error{margin-top:8px;color:#b42318;font-size:11px;font-weight:700;min-height:16px}.pds-plan-deviation-modal .pds-plan-other-note textarea{min-height:74px}

/* The fixed Work/Notes/History/More bar + bottom nav need real content clearance on technician mobile. */
@media(max-width:899px){.pds-role-technician .pds-tech-detail-panel{padding-bottom:calc(165px + env(safe-area-inset-bottom))!important}.pds-role-technician.pds-plan-input-focus .pds-tech-fastbar{display:none!important}.pds-role-technician.pds-plan-input-focus .pds-tech-detail-panel{padding-bottom:calc(88px + env(safe-area-inset-bottom))!important}}
@media(max-width:780px){.pds-plan-panel>header,.pds-plan-reminder{display:grid}.pds-plan-panel>header small{text-align:left}.pds-plan-workforce-grid,.pds-plan-capacity-grid{grid-template-columns:1fr}.pds-customer-action-row{grid-template-columns:1fr 1fr}.pds-customer-action-row>div:first-child,.pds-inline-error{grid-column:1/-1}.pds-plan-tech-group>header{align-items:flex-start}.pds-plan-editor-sticky-actions{flex-wrap:wrap}.pds-plan-editor-sticky-actions .pds-plan-dirty-state{width:100%}.pds-plan-editor-sticky-actions .pds-btn{flex:1}.pds-plan-deviation-modal>section{width:100%;max-height:calc(var(--pds-smart-vvh,100dvh) - 2px);border-radius:22px 22px 0 0}}
@media(max-width:480px){.pds-customer-action-row{grid-template-columns:1fr}.pds-customer-action-row>*{grid-column:1/-1}.pds-plan-staff{display:grid}.pds-plan-staff-actions{justify-content:flex-start}.pds-plan-continuity-override{grid-template-columns:1fr}.pds-plan-tech-dispatch-body{grid-template-columns:repeat(2,1fr)}}

/* v15.28.2: mobile modal actions stay visible independently of Android keyboard viewport quirks. */
.pds-plan-deviation-modal>section>.pds-plan-modal-header{position:sticky;top:0;z-index:7;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;flex:0 0 auto;padding:15px 17px 11px;background:#fff;border-bottom:1px solid #edf1f6}
.pds-plan-modal-copy{min-width:0}.pds-plan-modal-copy h3{margin:4px 0 3px}.pds-plan-modal-copy p{margin:0;color:#62778c;font-size:12px;line-height:1.35}
.pds-plan-modal-actions-top{display:flex;gap:8px;align-items:center;justify-content:flex-end}.pds-plan-modal-actions-top .pds-btn{min-height:40px;white-space:nowrap;padding:9px 12px;font-size:12px}
@media(max-width:780px){.pds-plan-deviation-modal>section{max-height:min(100dvh,760px)}.pds-plan-deviation-modal>section>.pds-plan-modal-header{grid-template-columns:1fr;padding:12px 14px 10px;gap:8px}.pds-plan-modal-actions-top{display:grid;grid-template-columns:minmax(90px,.7fr) minmax(0,1.3fr);width:100%}.pds-plan-modal-actions-top .pds-btn{width:100%;min-width:0}.pds-plan-modal-copy p{display:none}.pds-plan-modal-body{scroll-padding-bottom:18px}.pds-plan-deviation-modal>section>.pds-plan-modal-footer{padding-bottom:calc(10px + env(safe-area-inset-bottom))}}

/* v15.28.3: explicit class-based action containers survive the app shell semantic header/footer hide rule. */
.pds-plan-modal-header{position:sticky;top:0;z-index:7;display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;flex:0 0 auto;padding:15px 17px 11px;background:#fff;border-bottom:1px solid #edf1f6}
.pds-plan-modal-footer{position:sticky;bottom:0;z-index:5;display:flex!important;gap:9px;flex:0 0 auto;margin:0;padding:10px 17px calc(10px + env(safe-area-inset-bottom));border-top:1px solid #e2e9f2;background:#fff;box-shadow:0 -6px 18px rgba(19,49,81,.09)}
.pds-plan-modal-footer .pds-btn{flex:1}
@media(max-width:780px){.pds-plan-modal-header{grid-template-columns:1fr;padding:12px 14px 10px;gap:8px}.pds-plan-modal-footer{padding-bottom:calc(10px + env(safe-area-inset-bottom))}}

/* v15.29.0 operational access + at-a-glance collection amount */
.pds-v145-ticket-finance{display:inline-flex;align-items:center;flex:0 0 auto;border-radius:999px;padding:3px 7px;font-size:10px;font-weight:800;line-height:1.1;white-space:nowrap;border:1px solid rgba(15,23,42,.12);background:#fff;color:#334155}
.pds-v145-ticket-finance.is-due{background:#fff7ed;border-color:#fed7aa;color:#9a3412}
.pds-v145-ticket-finance.is-clear{background:#ecfdf5;border-color:#a7f3d0;color:#047857}
@media(max-width:640px){.pds-v145-ticket-finance{padding:3px 6px;font-size:9px}.pds-v145-ticket-title{flex-wrap:wrap}.pds-v145-ticket-title em{margin-left:auto}.pds-v145-ticket-finance{order:4;margin-left:0}}
