/* NexWave field service interactive demo */
.nw-fs { --nw-fs-bg: #edf2f4; }
.nw-fs #nw-fs-shell,
.nw-fs .nw-fs-mock-shell { position: relative; display: flex; flex-direction: column; height: 640px; max-height: min(640px, 78vh); overflow: hidden; font-size: 13px; color: #2c3e50; box-sizing: border-box; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; border-radius: 10px; background: #F4F6F8; box-shadow: 0 8px 40px rgba(0,0,0,.12); border: 1px solid #D0D8DC; }
.nw-fs #nw-fs-shell #nw-fs-body { display: flex; flex: 1; overflow: hidden; min-height: 0; }
.nw-fs #nw-fs-shell #main,
.nw-fs #nw-fs-shell .nw-fs-main-scroll { flex: 1; overflow-y: auto; overflow-x: hidden; min-width: 0; min-height: 0; position: relative; background: #fff; overscroll-behavior: contain; }
.nw-fs #nw-fs-shell #nw { position: relative; min-height: 0; display: flex; flex-direction: column; }
.nw-fs #nw-fs-shell .nw-fs-actionbar { flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; background: #fff; border-top: 1px solid #E0EAED; z-index: 50; position: relative; }
.nw-fs #nw-fs-shell .nw-fs-actionbar.is-hidden { display: none; }
.nw-fs #nw-fs-shell .nw-fs-action-hint { margin: 0; font-size: 11px; color: #7a8a99; line-height: 1.4; flex: 1; min-width: 0; }
.nw-fs #nw-fs-shell .nw-fs-action-btn { flex-shrink: 0; white-space: nowrap; }
.nw-fs #nw-fs-shell.is-pwa-step .nw-fs-actionbar { display: none; }
html.dark .nw-fs #nw-fs-shell.nw-mock-light { color-scheme: light; background-color: #f4f6f8 !important; }
.nw-fs #nw-fs-shell .nw-guide-target-active { position: relative; z-index: 1201 !important; box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.55); border-radius: 6px; }
.nw-fs #nw-fs-shell #pwa-overlay .nw-guide-target-active { z-index: 1202 !important; }
.nw-fs .nw-fs-trial-overlay { z-index: 1300; }

.nw-fs #nw-fs-shell #topbar{background:#1B7D8D;color:#fff;height:40px;display:flex;align-items:center;padding:0 14px;gap:10px;flex-shrink:0;position:relative;z-index:100}
.nw-fs #nw-fs-shell #topbar .logo{width:28px;height:28px;background:#27AE60;border-radius:6px;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:13px;color:#fff}
.nw-fs #nw-fs-shell #topbar .nw-badge{background:#27AE60;border-radius:20px;padding:2px 10px;font-size:11px;font-weight:700;color:#fff;letter-spacing:.5px}
.nw-fs #nw-fs-shell #topbar .bc{flex:1;font-size:12px;opacity:.9;display:flex;align-items:center;gap:5px}
.nw-fs #nw-fs-shell #topbar .bc span{opacity:.7}
.nw-fs #nw-fs-shell #topbar .bc b{opacity:1;font-weight:600}
.nw-fs #nw-fs-shell #topbar .search-bar{background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.3);border-radius:6px;padding:4px 10px;color:#fff;font-size:12px;width:220px}
.nw-fs #nw-fs-shell #topbar .search-bar::placeholder{color:rgba(255,255,255,.6)}
.nw-fs #nw-fs-shell #topbar .ti-bell{font-size:18px;opacity:.8;cursor:pointer}
.nw-fs #nw-fs-shell #topbar .help{font-size:12px;opacity:.8;cursor:pointer}
.nw-fs #nw-fs-shell #topbar .avatar{width:28px;height:28px;background:#E67E22;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:11px;color:#fff;cursor:pointer}
.nw-fs #nw-fs-shell #prog{background:#fff;border-bottom:1px solid #E0EAED;padding:8px 14px;display:flex;align-items:center;gap:0;flex-shrink:0;overflow-x:auto;min-height:36px}
.nw-fs #nw-fs-shell .p-step{display:flex;align-items:center;gap:6px;cursor:pointer;padding:3px 8px;border-radius:20px;transition:background .15s;white-space:nowrap}
.nw-fs #nw-fs-shell .p-step:hover{background:#f0f9fb}
.nw-fs #nw-fs-shell .p-step .dot{width:9px;height:9px;border-radius:50%;background:#C5E5EC;border:2px solid #C5E5EC;transition:all .2s;flex-shrink:0}
.nw-fs #nw-fs-shell .p-step.done .dot{background:#1AB8C8;border-color:#1AB8C8}
.nw-fs #nw-fs-shell .p-step.active .dot{background:#1B7D8D;border-color:#1B7D8D;box-shadow:0 0 0 3px rgba(27,125,141,.2)}
.nw-fs #nw-fs-shell .p-step .lbl{font-size:11px;color:#8faabc;font-weight:500}
.nw-fs #nw-fs-shell .p-step.done .lbl{color:#1AB8C8}
.nw-fs #nw-fs-shell .p-step.active .lbl{color:#1B7D8D;font-weight:700}
.nw-fs #nw-fs-shell .p-arr{color:#C5E5EC;font-size:14px;margin:0 2px;flex-shrink:0}
.nw-fs #nw-fs-shell #shell{display:flex;flex:1;overflow:hidden;position:relative}
.nw-fs #nw-fs-shell #leftnav{width:180px;background:#fff;border-right:1px solid #E0EAED;padding:8px 0;flex-shrink:0;overflow-y:auto}
.nw-fs #nw-fs-shell #leftnav .nav-item{padding:7px 16px;font-size:12px;color:#556;cursor:pointer;display:flex;align-items:center;gap:8px;border-left:3px solid transparent;transition:all .1s}
.nw-fs #nw-fs-shell #leftnav .nav-item:hover{background:#f5f9fa;color:#1B7D8D}
.nw-fs #nw-fs-shell #leftnav .nav-item.active{background:#EBF8FA;color:#1B7D8D;font-weight:600;border-left-color:#1AB8C8}
.nw-fs #nw-fs-shell #leftnav .nav-section{padding:14px 16px 4px;font-size:10px;font-weight:700;color:#aab;text-transform:uppercase;letter-spacing:.8px}
.nw-fs #nw-fs-shell #leftnav .nav-item .ti{font-size:15px;opacity:.7}
.nw-fs #nw-fs-shell #main{flex:1;overflow-y:auto;padding:0;position:relative;min-height:0}
.nw-fs #nw-fs-shell #nw{position:relative;min-height:0;display:flex;flex-direction:column}
.nw-fs #nw-fs-shell #nw.pwa-nw{height:100%;overflow:hidden}
.nw-fs #nw-fs-shell #titlebar{background:#fff;border-bottom:1px solid #E0EAED;padding:10px 20px;display:flex;align-items:center;gap:10px}
.nw-fs #nw-fs-shell #titlebar .doctitle{font-size:17px;font-weight:700;color:#1a2a35}
.nw-fs #nw-fs-shell #titlebar .status-badge{padding:2px 10px;border-radius:12px;font-size:11px;font-weight:600}
.nw-fs #nw-fs-shell .st-draft{background:#FEF0E4;color:#E67E22}
.nw-fs #nw-fs-shell .st-open{background:#EAF5EA;color:#27AE60}
.nw-fs #nw-fs-shell .st-saved{background:#EBF8FA;color:#1B7D8D}
.nw-fs #nw-fs-shell .st-submitted{background:#EAF5EA;color:#27AE60}
.nw-fs #nw-fs-shell .st-converted{background:#F0EBF8;color:#8E44AD}
.nw-fs #nw-fs-shell .st-scheduled{background:#EBF8FA;color:#1AB8C8}
.nw-fs #nw-fs-shell #titlebar .spacer{flex:1}
.nw-fs #nw-fs-shell #titlebar .btn{padding:5px 12px;border-radius:5px;font-size:12px;font-weight:600;cursor:pointer;border:none;display:inline-flex;align-items:center;gap:5px;transition:all .15s}
.nw-fs #nw-fs-shell .btn-primary{background:#1AB8C8;color:#fff}
.nw-fs #nw-fs-shell .btn-primary:hover{background:#159aaa}
.nw-fs #nw-fs-shell .btn-save{background:#1B7D8D;color:#fff}
.nw-fs #nw-fs-shell .btn-save:hover{background:#156574}
.nw-fs #nw-fs-shell .btn-outline{background:#fff;color:#445;border:1px solid #C5E5EC}
.nw-fs #nw-fs-shell .btn-outline:hover{border-color:#1AB8C8;color:#1AB8C8}
.nw-fs #nw-fs-shell .btn-success{background:#27AE60;color:#fff}
.nw-fs #nw-fs-shell .btn-success:hover{background:#1e8a4a}
.nw-fs #nw-fs-shell .btn-orange{background:#E67E22;color:#fff}
.nw-fs #nw-fs-shell .btn-orange:hover{background:#ca6c1b}
.nw-fs #nw-fs-shell .btn-gray{background:#f0f4f7;color:#556;border:1px solid #dde}
.nw-fs #nw-fs-shell .btn-gray:hover{background:#e4e9ec}
.nw-fs #nw-fs-shell #content{padding:20px}
.nw-fs #nw-fs-shell #content.pwa-mode{padding:0;display:flex;justify-content:center;background:#e8eef2}
.nw-fs #nw-fs-shell .card{background:#fff;border:1px solid #E0EAED;border-radius:8px;margin-bottom:14px}
.nw-fs #nw-fs-shell .card-head{padding:12px 16px;border-bottom:1px solid #E0EAED;font-size:13px;font-weight:700;color:#1B7D8D;display:flex;align-items:center;gap:8px}
.nw-fs #nw-fs-shell .card-head .ti{font-size:16px}
.nw-fs #nw-fs-shell .card-body{padding:16px}
.nw-fs #nw-fs-shell .fgrid{display:grid;grid-template-columns:1fr 1fr;gap:14px 20px}
.nw-fs #nw-fs-shell .fgrid.full{grid-template-columns:1fr}
.nw-fs #nw-fs-shell .f-grp{display:flex;flex-direction:column;gap:3px}
.nw-fs #nw-fs-shell .f-grp label{font-size:11px;color:#7a8a99;font-weight:500}
.nw-fs #nw-fs-shell .f-grp .hint{font-size:10px;color:#aab;margin-top:2px}
.nw-fs #nw-fs-shell .f-grp input, .nw-fs #nw-fs-shell .f-grp select, .nw-fs #nw-fs-shell .f-grp textarea{border:1px solid #C5E5EC;border-radius:5px;padding:6px 9px;font-size:12px;color:#2c3e50;background:#fff;outline:none;width:100%;transition:border-color .15s}
.nw-fs #nw-fs-shell .f-grp input:focus, .nw-fs #nw-fs-shell .f-grp select:focus{border-color:#1AB8C8}
.nw-fs #nw-fs-shell .f-grp input.ro, .nw-fs #nw-fs-shell .f-grp .ro{background:#F5F9FA;color:#556}
.nw-fs #nw-fs-shell .f-grp textarea{min-height:60px;resize:vertical}
.nw-fs #nw-fs-shell .info-banner{background:#EBF8FA;border:1px solid #C5E5EC;border-radius:6px;padding:8px 12px;font-size:11px;color:#1B7D8D;display:flex;align-items:center;gap:8px;margin-bottom:14px}
.nw-fs #nw-fs-shell .info-banner .ti{font-size:14px;flex-shrink:0}
.nw-fs #nw-fs-shell .info-banner .close-x{margin-left:auto;cursor:pointer;opacity:.6}
.nw-fs #nw-fs-shell .ws-hero{background:#fff;border:1px solid #E0EAED;border-radius:8px;padding:20px;margin-bottom:16px}
.nw-fs #nw-fs-shell .ws-hero h2{font-size:18px;font-weight:700;color:#1a2a35;margin-bottom:12px}
.nw-fs #nw-fs-shell .ws-kpis{display:flex;gap:20px;flex-wrap:wrap;margin-bottom:16px}
.nw-fs #nw-fs-shell .ws-kpi{display:flex;flex-direction:column;gap:2px}
.nw-fs #nw-fs-shell .ws-kpi a{font-size:12px;color:#1AB8C8;text-decoration:none;cursor:pointer;font-weight:600}
.nw-fs #nw-fs-shell .ws-kpi a:hover{text-decoration:underline}
.nw-fs #nw-fs-shell .ws-kpi .badge{display:inline-block;background:#E67E22;color:#fff;border-radius:12px;padding:1px 7px;font-size:10px;font-weight:700;margin-left:4px}
.nw-fs #nw-fs-shell .ws-kpi .badge.teal{background:#1AB8C8}
.nw-fs #nw-fs-shell .ops-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:14px}
.nw-fs #nw-fs-shell .ops-card{background:#fff;border:1px solid #E0EAED;border-radius:8px;padding:14px}
.nw-fs #nw-fs-shell .ops-card h4{font-size:12px;font-weight:700;color:#1AB8C8;margin-bottom:10px}
.nw-fs #nw-fs-shell .ops-card ul{list-style:none;display:flex;flex-direction:column;gap:6px}
.nw-fs #nw-fs-shell .ops-card ul li{font-size:12px;color:#1AB8C8;cursor:pointer;display:flex;align-items:center;gap:5px}
.nw-fs #nw-fs-shell .ops-card ul li:hover{text-decoration:underline}
.nw-fs #nw-fs-shell .ops-card ul li .ti{font-size:11px;opacity:.6}
.nw-fs #nw-fs-shell .list-toolbar{display:flex;align-items:center;gap:8px;margin-bottom:12px;flex-wrap:wrap}
.nw-fs #nw-fs-shell .list-toolbar input{border:1px solid #C5E5EC;border-radius:5px;padding:5px 9px;font-size:12px;width:120px;outline:none}
.nw-fs #nw-fs-shell .list-toolbar input:focus{border-color:#1AB8C8}
.nw-fs #nw-fs-shell .list-table{background:#fff;border:1px solid #E0EAED;border-radius:8px;overflow:hidden}
.nw-fs #nw-fs-shell .list-table table{width:100%;border-collapse:collapse}
.nw-fs #nw-fs-shell .list-table th{background:#F5F9FA;padding:8px 14px;text-align:left;font-size:11px;font-weight:700;color:#7a8a99;border-bottom:1px solid #E0EAED}
.nw-fs #nw-fs-shell .list-table td{padding:9px 14px;border-bottom:1px solid #F0F4F7;font-size:12px}
.nw-fs #nw-fs-shell .list-table tr:last-child td{border-bottom:none}
.nw-fs #nw-fs-shell .list-table tr:hover td{background:#f9fdfd;cursor:pointer}
.nw-fs #nw-fs-shell .pill{display:inline-block;border-radius:12px;padding:2px 8px;font-size:10px;font-weight:600}
.nw-fs #nw-fs-shell .pill-green{background:#EAF5EA;color:#27AE60}
.nw-fs #nw-fs-shell .pill-orange{background:#FEF0E4;color:#E67E22}
.nw-fs #nw-fs-shell .pill-teal{background:#EBF8FA;color:#1AB8C8}
.nw-fs #nw-fs-shell .pill-purple{background:#F0EBF8;color:#8E44AD}
.nw-fs #nw-fs-shell .rel-wrap{position:relative;display:inline-block}
.nw-fs #nw-fs-shell .inline-dd{position:absolute;top:calc(100% + 2px);left:0;background:#fff;border:1px solid #C5E5EC;border-radius:6px;box-shadow:0 4px 16px rgba(0,0,0,.12);z-index:200;min-width:160px;padding:4px 0}
.nw-fs #nw-fs-shell .inline-dd .dd-item{padding:8px 14px;font-size:12px;color:#2c3e50;cursor:pointer;display:flex;align-items:center;gap:8px}
.nw-fs #nw-fs-shell .inline-dd .dd-item:hover{background:#EBF8FA;color:#1B7D8D}
.nw-fs #nw-fs-shell .cust-dd{position:absolute;top:100%;left:0;right:0;background:#fff;border:1px solid #C5E5EC;border-radius:6px;box-shadow:0 4px 16px rgba(0,0,0,.12);z-index:300;max-height:220px;overflow-y:auto}
.nw-fs #nw-fs-shell .cust-dd .cust-item{padding:8px 12px;cursor:pointer;border-bottom:1px solid #f0f4f7}
.nw-fs #nw-fs-shell .cust-dd .cust-item:last-child{border-bottom:none}
.nw-fs #nw-fs-shell .cust-dd .cust-item:hover{background:#EBF8FA}
.nw-fs #nw-fs-shell .cust-dd .cust-item .cn{font-size:12px;font-weight:600;color:#1a2a35}
.nw-fs #nw-fs-shell .cust-dd .cust-item .cd{font-size:11px;color:#7a8a99}
.nw-fs #nw-fs-shell .conn-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.nw-fs #nw-fs-shell .conn-tag{display:inline-flex;align-items:center;gap:5px;background:#F5F9FA;border:1px solid #C5E5EC;border-radius:5px;padding:4px 10px;font-size:11px;color:#445;font-weight:600}
.nw-fs #nw-fs-shell .conn-tag.linked{background:#EBF8FA;border-color:#1AB8C8;color:#1B7D8D;cursor:pointer}
.nw-fs #nw-fs-shell .conn-tag.linked:hover{background:#d6f0f5}
.nw-fs #nw-fs-shell .conn-plus{width:22px;height:22px;border:1px solid #C5E5EC;border-radius:4px;display:inline-flex;align-items:center;justify-content:center;color:#1AB8C8;cursor:pointer;font-size:14px}
.nw-fs #nw-fs-shell .conn-plus:hover{background:#EBF8FA}
.nw-fs #nw-fs-shell .conn-sections{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px}
.nw-fs #nw-fs-shell .conn-section h5{font-size:10px;font-weight:700;color:#aab;text-transform:uppercase;letter-spacing:.7px;margin-bottom:6px}
.nw-fs #nw-fs-shell #docside{width:220px;background:#fff;border-right:1px solid #E0EAED;padding:16px 14px;flex-shrink:0;overflow-y:auto;font-size:12px}
.nw-fs #nw-fs-shell #docside .ds-head{font-size:11px;font-weight:700;color:#7a8a99;text-transform:uppercase;letter-spacing:.7px;margin-bottom:8px;display:flex;align-items:center;gap:6px;cursor:pointer}
.nw-fs #nw-fs-shell #docside .ds-item{display:flex;align-items:center;gap:8px;padding:5px 0;color:#445;cursor:pointer}
.nw-fs #nw-fs-shell #docside .ds-item:hover{color:#1AB8C8}
.nw-fs #nw-fs-shell #docside .ds-item .ti{font-size:14px;color:#1AB8C8}
.nw-fs #nw-fs-shell #docside .ds-item .plus-ic{margin-left:auto;color:#aab;font-size:14px}
.nw-fs #nw-fs-shell #docside .ds-divider{border:none;border-top:1px solid #E0EAED;margin:10px 0}
.nw-fs #nw-fs-shell #docside .ds-meta{font-size:11px;color:#aab;margin-bottom:3px}
.nw-fs #nw-fs-shell #ov{display:none;position:absolute;inset:0;background:rgba(27,125,141,.18);z-index:500;align-items:center;justify-content:center}
.nw-fs #nw-fs-shell #ov.show{display:flex}
.nw-fs #nw-fs-shell .modal{background:#fff;border-radius:10px;box-shadow:0 8px 40px rgba(0,0,0,.18);padding:0;min-width:320px;max-width:500px;width:90%;overflow:hidden}
.nw-fs #nw-fs-shell .modal-head{background:#1B7D8D;color:#fff;padding:14px 18px;display:flex;align-items:center;gap:10px}
.nw-fs #nw-fs-shell .modal-head h3{font-size:14px;font-weight:700;flex:1}
.nw-fs #nw-fs-shell .modal-head .ti{font-size:16px}
.nw-fs #nw-fs-shell .modal-body{padding:18px}
.nw-fs #nw-fs-shell .modal-footer{padding:12px 18px;border-top:1px solid #E0EAED;display:flex;justify-content:flex-end;gap:8px}
.nw-fs #nw-fs-shell .sched-filters{background:#fff;border:1px solid #E0EAED;border-radius:8px;padding:14px 16px;margin-bottom:14px}
.nw-fs #nw-fs-shell .sched-filters h3{font-size:14px;font-weight:700;margin-bottom:12px;color:#1a2a35}
.nw-fs #nw-fs-shell .filter-row{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap}
.nw-fs #nw-fs-shell .filter-row .f-grp{flex:1;min-width:120px}
.nw-fs #nw-fs-shell .kpi-row{display:flex;gap:10px;margin-bottom:14px;flex-wrap:wrap}
.nw-fs #nw-fs-shell .kpi-box{background:#fff;border:1px solid #E0EAED;border-radius:8px;padding:12px 16px;flex:1;min-width:80px}
.nw-fs #nw-fs-shell .kpi-box .kv{font-size:22px;font-weight:700;color:#1a2a35}
.nw-fs #nw-fs-shell .kpi-box .kl{font-size:11px;color:#7a8a99;margin-top:2px}
.nw-fs #nw-fs-shell .warn-cards{display:flex;gap:10px;margin-bottom:14px;flex-wrap:wrap}
.nw-fs #nw-fs-shell .warn-card{border:2px solid #E67E22;border-radius:8px;padding:10px 14px;flex:1;min-width:180px}
.nw-fs #nw-fs-shell .warn-card .wc-head{display:flex;align-items:center;gap:6px;margin-bottom:6px}
.nw-fs #nw-fs-shell .warn-card .wc-head b{font-size:12px;font-weight:700;color:#1a2a35}
.nw-fs #nw-fs-shell .warn-card .wc-date{font-size:11px;color:#7a8a99;margin-left:auto}
.nw-fs #nw-fs-shell .warn-tag{display:inline-block;border-radius:4px;padding:2px 6px;font-size:10px;font-weight:700;margin-right:4px}
.nw-fs #nw-fs-shell .wt-skills{background:#FEF0E4;color:#E67E22}
.nw-fs #nw-fs-shell .wt-capacity{background:#FEF0E4;color:#E67E22}
.nw-fs #nw-fs-shell .warn-card ul{list-style:none;padding:0;display:flex;flex-direction:column;gap:3px}
.nw-fs #nw-fs-shell .warn-card ul li{font-size:11px;color:#556}
.nw-fs #nw-fs-shell .warn-card ul li::before{content:'• ';color:#E67E22}
.nw-fs #nw-fs-shell .sched-map{background:#fff;border:1px solid #E0EAED;border-radius:8px;margin-bottom:14px;overflow:hidden}
.nw-fs #nw-fs-shell .sched-map .map-head{padding:10px 14px;font-size:12px;font-weight:700;color:#1a2a35;border-bottom:1px solid #E0EAED;display:flex;align-items:center;justify-content:space-between}
.nw-fs #nw-fs-shell .map-vis{height:160px;background:linear-gradient(135deg,#c8dde0 0%,#d8edf0 40%,#b8d4d8 60%,#c0dce0 100%);position:relative;overflow:hidden}
.nw-fs #nw-fs-shell .map-vis .map-bg{position:absolute;inset:0;opacity:.4;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='160'%3E%3Cellipse cx='100' cy='80' rx='80' ry='60' fill='%2390c090' opacity='.4'/%3E%3Cellipse cx='60' cy='50' rx='50' ry='35' fill='%2380b080' opacity='.3'/%3E%3C/svg%3E") center/cover}
.nw-fs #nw-fs-shell .map-marker{position:absolute;width:22px;height:22px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:700;color:#fff;border:2px solid #fff;box-shadow:0 2px 6px rgba(0,0,0,.25)}
.nw-fs #nw-fs-shell .mm-blue{background:#2980B9}
.nw-fs #nw-fs-shell .mm-green{background:#27AE60}
.nw-fs #nw-fs-shell .mm-dark{background:#2c3e50}
.nw-fs #nw-fs-shell .map-line{position:absolute;height:2px;transform-origin:left center}
.nw-fs #nw-fs-shell .map-legend{padding:8px 12px;display:flex;gap:14px;font-size:10px;color:#556}
.nw-fs #nw-fs-shell .map-legend span{display:flex;align-items:center;gap:4px}
.nw-fs #nw-fs-shell .map-legend .dot{width:8px;height:8px;border-radius:50%}
.nw-fs #nw-fs-shell .sched-grid{background:#fff;border:1px solid #E0EAED;border-radius:8px;overflow:hidden}
.nw-fs #nw-fs-shell .sched-grid table{width:100%;border-collapse:collapse;font-size:11px}
.nw-fs #nw-fs-shell .sched-grid th{background:#F5F9FA;padding:7px 10px;text-align:left;font-weight:700;color:#7a8a99;border-bottom:1px solid #E0EAED;border-right:1px solid #E0EAED}
.nw-fs #nw-fs-shell .sched-grid td{padding:6px 8px;border-bottom:1px solid #E0EAED;border-right:1px solid #E0EAED;vertical-align:top}
.nw-fs #nw-fs-shell .sched-grid tr:last-child td{border-bottom:none}
.nw-fs #nw-fs-shell .sched-tech{font-size:11px}
.nw-fs #nw-fs-shell .sched-tech b{display:block;color:#1a2a35;font-weight:700}
.nw-fs #nw-fs-shell .sched-tech span{color:#7a8a99;font-size:10px}
.nw-fs #nw-fs-shell .visit-card-s{background:#F5F9FA;border:1px solid #E0EAED;border-radius:5px;padding:5px 8px;margin-bottom:4px;cursor:pointer}
.nw-fs #nw-fs-shell .visit-card-s:hover{border-color:#1AB8C8;background:#EBF8FA}
.nw-fs #nw-fs-shell .visit-card-s b{font-size:11px;font-weight:600;color:#1a2a35;display:block}
.nw-fs #nw-fs-shell .visit-card-s .vc-date{font-size:10px;color:#7a8a99}
.nw-fs #nw-fs-shell .vc-status{font-size:9px;font-weight:700;float:right}
.nw-fs #nw-fs-shell .vc-onsite{color:#27AE60}
.nw-fs #nw-fs-shell .vc-scheduled{color:#1AB8C8}
.nw-fs #nw-fs-shell .vc-submitted{color:#8E44AD}
.nw-fs #nw-fs-shell .vc-cap{background:#FEF0E4;color:#E67E22;border-radius:3px;padding:1px 4px;font-size:9px;margin-top:3px;display:inline-block}
.nw-fs #nw-fs-shell .vc-skills{background:#EBF8FA;color:#1AB8C8;border-radius:3px;padding:1px 4px;font-size:9px;margin-top:3px;display:inline-block}
.nw-fs #nw-fs-shell .unassigned-row{background:#FFF8F2}
.nw-fs #nw-fs-shell #pwa-overlay{display:none;position:absolute;inset:0;z-index:820;background:linear-gradient(135deg,#0f4c5c 0%,#1B7D8D 45%,#156574 100%);align-items:center;justify-content:center;flex-direction:column;gap:12px;padding:12px;box-sizing:border-box}
.nw-fs #nw-fs-shell #pwa-overlay.active{display:flex}
.nw-fs #nw-fs-shell #pwa-back-btn{position:absolute;top:20px;left:24px;color:rgba(255,255,255,.85);font-size:12px;font-weight:600;cursor:pointer;display:flex;align-items:center;gap:6px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.25);border-radius:20px;padding:6px 14px;transition:all .15s}
.nw-fs #nw-fs-shell #pwa-back-btn:hover{background:rgba(255,255,255,.22);color:#fff}
.nw-fs #nw-fs-shell #pwa-device{width:min(340px,100%);height:min(620px,calc(100% - 48px));max-height:620px;background:#111;border-radius:40px;padding:10px;box-shadow:0 0 0 2px #2a2a2a,0 0 0 5px #111,0 24px 60px rgba(0,0,0,.55),inset 0 0 0 1px rgba(255,255,255,.06);display:flex;flex-direction:column;position:relative;flex-shrink:0}
.nw-fs #nw-fs-shell #pwa-device::before{content:'';position:absolute;left:-4px;top:120px;width:4px;height:32px;background:#1a1a1a;border-radius:2px 0 0 2px;box-shadow:0 46px 0 #1a1a1a,0 86px 0 #1a1a1a}
.nw-fs #nw-fs-shell #pwa-device::after{content:'';position:absolute;right:-4px;top:150px;width:4px;height:64px;background:#1a1a1a;border-radius:0 2px 2px 0}
.nw-fs #nw-fs-shell #pwa-notch{height:28px;display:flex;align-items:flex-start;justify-content:center;flex-shrink:0;padding-top:0}
.nw-fs #nw-fs-shell .notch-pill{width:126px;height:28px;background:#111;border-radius:0 0 18px 18px;position:relative;display:flex;align-items:center;justify-content:center;gap:8px}
.nw-fs #nw-fs-shell .notch-pill::after{content:'';width:10px;height:10px;background:#222;border-radius:50%;border:1.5px solid #333}
.nw-fs #nw-fs-shell #pwa-screen{flex:1;background:#fff;border-radius:6px;overflow:hidden;display:flex;flex-direction:column}
.nw-fs #nw-fs-shell #pwa-home-bar{height:22px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.nw-fs #nw-fs-shell .home-pill{width:130px;height:4px;background:#3a3a3a;border-radius:3px}
.nw-fs #nw-fs-shell #pwa-status-bar{background:#1B7D8D;height:22px;display:flex;align-items:center;justify-content:space-between;padding:0 16px;flex-shrink:0}
.nw-fs #nw-fs-shell #pwa-status-bar .sb-time{color:#fff;font-size:10px;font-weight:700}
.nw-fs #nw-fs-shell #pwa-status-bar .sb-icons{display:flex;align-items:center;gap:4px;color:rgba(255,255,255,.9);font-size:9px}
.nw-fs #nw-fs-shell #pwa-inner{flex:1;display:flex;flex-direction:column;overflow:hidden}
.nw-fs #nw-fs-shell .pwa-topbar{background:#1B7D8D;color:#fff;padding:7px 12px;display:flex;align-items:center;justify-content:space-between;flex-shrink:0}
.nw-fs #nw-fs-shell .pwa-topbar .pwa-brand small{font-size:8px;font-weight:700;color:#a8dde5;text-transform:uppercase;letter-spacing:1px;display:block}
.nw-fs #nw-fs-shell .pwa-topbar .pwa-brand h3{font-size:14px;font-weight:700;color:#fff;line-height:1.2;margin:0}
.nw-fs #nw-fs-shell .pwa-topbar .pwa-btns{display:flex;gap:5px;align-items:center}
.nw-fs #nw-fs-shell .pwa-topbar .btn-sm{padding:3px 8px;font-size:10px;font-weight:600;border-radius:5px;cursor:pointer;border:1px solid rgba(255,255,255,.45);background:rgba(255,255,255,.14);color:#fff}
.nw-fs #nw-fs-shell .pwa-topbar .btn-sm:hover{background:rgba(255,255,255,.28)}
.nw-fs #nw-fs-shell .pwa-tabs{background:#1B7D8D;border-bottom:2px solid rgba(255,255,255,.15);display:flex;flex-shrink:0}
.nw-fs #nw-fs-shell .pwa-tabs .pt{flex:1;text-align:center;padding:6px 2px;font-size:9px;font-weight:600;color:rgba(255,255,255,.5);cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-2px;white-space:nowrap}
.nw-fs #nw-fs-shell .pwa-tabs .pt.active{color:#fff;border-bottom-color:#fff}
.nw-fs #nw-fs-shell .pwa-body{flex:1;overflow-y:auto;background:#F4F6F8;-webkit-overflow-scrolling:touch}
.nw-fs #nw-fs-shell .pwa-body::-webkit-scrollbar{width:3px}
.nw-fs #nw-fs-shell .pwa-body::-webkit-scrollbar-track{background:transparent}
.nw-fs #nw-fs-shell .pwa-body::-webkit-scrollbar-thumb{background:#C5E5EC;border-radius:2px}
.nw-fs #nw-fs-shell .pwa-pad{padding:8px}
.nw-fs #nw-fs-shell .pwa-visit-card{background:#fff;border:1px solid #E0EAED;border-radius:8px;padding:9px 10px;margin-bottom:6px;cursor:pointer;display:flex;align-items:center;gap:8px}
.nw-fs #nw-fs-shell .pwa-visit-card.selected{border:2px solid #1AB8C8;background:#f0fbfc}
.nw-fs #nw-fs-shell .pwa-visit-card .dot-status{width:9px;height:9px;border-radius:50%;flex-shrink:0}
.nw-fs #nw-fs-shell .ds-green{background:#27AE60}
.nw-fs #nw-fs-shell .ds-gray{background:#bbb}
.nw-fs #nw-fs-shell .ds-orange{background:#E67E22}
.nw-fs #nw-fs-shell .pwa-visit-card .vc-info{flex:1;min-width:0}
.nw-fs #nw-fs-shell .pwa-visit-card .vc-info b{font-size:11px;font-weight:700;color:#1a2a35;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nw-fs #nw-fs-shell .pwa-visit-card .vc-info .vc-id{font-size:9px;color:#7a8a99}
.nw-fs #nw-fs-shell .pwa-show-more{background:#F5F9FA;border:1px solid #E0EAED;border-radius:6px;font-size:9px;font-weight:600;color:#7a8a99;cursor:pointer;display:flex;align-items:center;justify-content:space-between;padding:6px 10px}
.nw-fs #nw-fs-shell .pwa-section-head{font-size:8px;font-weight:700;text-transform:uppercase;letter-spacing:.8px;color:#7a8a99;display:flex;align-items:center;justify-content:space-between;margin-bottom:5px}
.nw-fs #nw-fs-shell .pwa-visit-info{background:#fff;padding:9px 12px;border-bottom:1px solid #E0EAED}
.nw-fs #nw-fs-shell .pwa-visit-info .vi-id{font-size:8px;color:#7a8a99;font-weight:600;letter-spacing:.4px;text-transform:uppercase}
.nw-fs #nw-fs-shell .pwa-visit-info h3{font-size:14px;font-weight:700;color:#1a2a35;margin:1px 0 3px;line-height:1.3}
.nw-fs #nw-fs-shell .pwa-visit-info .vi-addr{font-size:9px;color:#556;line-height:1.5}
.nw-fs #nw-fs-shell .pwa-action-btns{display:flex;gap:4px;margin-top:7px;flex-wrap:wrap}
.nw-fs #nw-fs-shell .pab{padding:5px 9px;border-radius:6px;font-size:9px;font-weight:700;cursor:pointer;border:none;background:#2c3e50;color:#fff;transition:all .15s;white-space:nowrap}
.nw-fs #nw-fs-shell .pab:hover{opacity:.85}
.nw-fs #nw-fs-shell .pab.active-pab{background:#1AB8C8}
.nw-fs #nw-fs-shell .pab.done-pab{background:#27AE60}
.nw-fs #nw-fs-shell .pab.warn-pab{background:#E67E22}
.nw-fs #nw-fs-shell .pwa-detail-tabs{background:#fff;border-bottom:1px solid #E0EAED;display:flex;overflow-x:auto;flex-shrink:0}
.nw-fs #nw-fs-shell .pwa-detail-tabs::-webkit-scrollbar{display:none}
.nw-fs #nw-fs-shell .pwa-detail-tabs .dt{padding:6px 8px;font-size:9px;font-weight:600;color:#7a8a99;cursor:pointer;border-bottom:2px solid transparent;white-space:nowrap}
.nw-fs #nw-fs-shell .pwa-detail-tabs .dt.active{color:#1B7D8D;border-bottom-color:#1AB8C8}
.nw-fs #nw-fs-shell .pwa-detail-tabs .dt.highlight{background:#E67E22;color:#fff;border-radius:3px;margin:3px 3px 0}
.nw-fs #nw-fs-shell .pwa-tab-content{padding:8px;padding-bottom:16px}
.nw-fs #nw-fs-shell .pwa-overview-field{background:#fff;border:1px solid #E0EAED;border-radius:5px;padding:6px 9px;margin-bottom:4px}
.nw-fs #nw-fs-shell .pwa-overview-field .of-label{font-size:8px;color:#7a8a99;font-weight:500;text-transform:uppercase;letter-spacing:.3px}
.nw-fs #nw-fs-shell .pwa-overview-field .of-val{font-size:11px;font-weight:600;color:#1a2a35}
.nw-fs #nw-fs-shell .pwa-time-row{background:#fff;border:1px solid #E0EAED;border-radius:5px;padding:6px 9px;display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}
.nw-fs #nw-fs-shell .pwa-time-row b{font-size:10px}
.nw-fs #nw-fs-shell .pwa-time-row span{font-size:10px;color:#1B7D8D;font-weight:700}
.nw-fs #nw-fs-shell .pwa-time-form{background:#fff;border:1px solid #E0EAED;border-radius:6px;padding:9px}
.nw-fs #nw-fs-shell .pwa-time-form select, .nw-fs #nw-fs-shell .pwa-time-form input{width:100%;border:1px solid #C5E5EC;border-radius:5px;padding:6px 8px;font-size:11px;margin-bottom:6px;outline:none;background:#fff}
.nw-fs #nw-fs-shell .pwa-time-form select:focus, .nw-fs #nw-fs-shell .pwa-time-form input:focus{border-color:#1AB8C8}
.nw-fs #nw-fs-shell .pwa-add-btn{width:100%;background:#1B7D8D;color:#fff;border:none;border-radius:6px;padding:8px;font-size:11px;font-weight:700;cursor:pointer}
.nw-fs #nw-fs-shell .pwa-add-btn:hover{background:#156574}
.nw-fs #nw-fs-shell .empty-msg{text-align:center;color:#bbb;font-size:10px;padding:16px 8px}
.nw-fs #nw-fs-shell .vc-onsite-pill{color:#27AE60;font-size:9px;font-weight:700}
.nw-fs #nw-fs-shell .vc-work-complete-pill{color:#1AB8C8;font-size:9px;font-weight:700}
.nw-fs #nw-fs-shell .vc-scheduled-pill{color:#7a8a99;font-size:9px;font-weight:600}
.nw-fs #nw-fs-shell .vc-submitted-pill{color:#8E44AD;font-size:9px;font-weight:700}
.nw-fs-coach-track {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.25rem 0.35rem;
  row-gap: 0.5rem;
}

.nw-fs-coach-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border-radius: 9999px;
  padding: 0.35rem 0.65rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid rgba(6, 182, 212, 0.35);
  background: rgba(255, 255, 255, 0.75);
  color: #64748b;
  white-space: nowrap;
}

.dark .nw-fs-coach-pill {
  background: rgba(15, 23, 42, 0.85);
  color: #94a3b8;
  border-color: rgba(34, 211, 238, 0.25);
}

.nw-fs-coach-pill.is-upcoming {
  opacity: 0.55;
  border-style: dashed;
}

.nw-fs-coach-pill.is-active {
  border-color: #0891b2;
  background: linear-gradient(135deg, #ecfeff 0%, #cffafe 100%);
  color: #0e7490;
  box-shadow: 0 0 0 2px rgba(6, 182, 212, 0.25);
}

.dark .nw-fs-coach-pill.is-active {
  background: rgba(8, 145, 178, 0.25);
  color: #67e8f9;
  border-color: #22d3ee;
  box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.15);
}

.nw-fs-coach-pill.is-done {
  border-color: rgba(34, 197, 94, 0.45);
  background: rgba(240, 253, 244, 0.95);
  color: #166534;
}

.dark .nw-fs-coach-pill.is-done {
  background: rgba(20, 83, 45, 0.35);
  color: #86efac;
  border-color: rgba(74, 222, 128, 0.4);
}

.nw-fs-coach-arrow {
  display: inline-flex;
  align-items: center;
  color: #0891b2;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0 0.1rem;
  user-select: none;
}

.dark .nw-fs-coach-arrow {
  color: #22d3ee;
}

/* In-mock guide overlay (dims only #nw-fs-shell; hole passes clicks through) */
.nw-fs #nw-fs-shell .nw-fs-guide-layer {
  position: absolute;
  inset: 0;
  z-index: 1200;
  pointer-events: none;
}
.nw-fs #nw-fs-shell .nw-fs-guide-layer.is-on {
  display: block !important;
}
.nw-fs #nw-fs-shell .nw-fs-show-hints {
  margin-left: 6px;
  padding: 0;
  border: none;
  background: none;
  color: #0891b2;
  font-size: 11px;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

/* Always-on inline wayfinding (works even if overlay layer fails) */
.nw-fs #nw-fs-shell .nw-fs-wayfind,
.nw-fs #nw-fs-shell .nw-fs-action-btn.nw-fs-wayfind {
  position: relative;
  z-index: 1201 !important;
  outline: 3px solid #22d3ee !important;
  outline-offset: 3px;
  box-shadow:
    0 0 0 6px rgba(34, 211, 238, 0.35),
    0 0 28px rgba(34, 211, 238, 0.55) !important;
  animation: nw-fs-wayfind-pulse 1.2s ease-in-out infinite;
}
@keyframes nw-fs-wayfind-pulse {
  0%, 100% {
    outline-color: #22d3ee;
    box-shadow: 0 0 0 6px rgba(34, 211, 238, 0.35), 0 0 28px rgba(34, 211, 238, 0.55);
  }
  50% {
    outline-color: #67e8f9;
    box-shadow: 0 0 0 10px rgba(34, 211, 238, 0.5), 0 0 36px rgba(34, 211, 238, 0.75);
  }
}
.nw-fs #nw-fs-shell .nw-fs-guide-card.is-dismissed {
  display: none !important;
}
@keyframes nw-fs-cta-pulse {
  0%, 100% { box-shadow: 0 0 0 3px #22d3ee, 0 0 16px rgba(34, 211, 238, 0.45); }
  50% { box-shadow: 0 0 0 5px #22d3ee, 0 0 28px rgba(34, 211, 238, 0.65); }
}
.nw-fs #nw-fs-shell .nw-fs-action-btn.nw-guide-target-active {
  animation: nw-fs-cta-pulse 1.6s ease-in-out infinite;
}

.nw-fs-dim {
  position: absolute;
  display: none;
  background: rgba(15, 23, 42, 0.34);
  z-index: 1;
  pointer-events: none;
}

.dark .nw-fs-dim {
  background: rgba(0, 0, 0, 0.42);
}

.nw-fs-guide-rim {
  position: absolute;
  display: none;
  border: 3px solid #22d3ee;
  border-radius: 10px;
  box-shadow:
    0 0 0 2px rgba(34, 211, 238, 0.45),
    0 0 24px rgba(34, 211, 238, 0.35);
  z-index: 2;
  pointer-events: none;
}

.nw-fs-guide-pointer {
  position: absolute;
  display: none;
  font-size: 2.25rem;
  line-height: 1;
  color: #67e8f9;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  z-index: 3;
  pointer-events: none;
  transform: translateX(-50%);
}

.nw-fs-guide-card {
  position: absolute;
  top: 88px;
  left: 12px;
  max-width: 18rem;
  width: min(18rem, calc(100% - 1.5rem));
  bottom: auto;
  padding: 1.1rem 1.25rem 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(6, 182, 212, 0.35);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  z-index: 4;
  pointer-events: none;
  text-align: left;
}
.nw-fs #nw-fs-shell .nw-fs-guide-dismiss {
  pointer-events: auto;
}

.dark .nw-fs-guide-card {
  background: rgba(15, 23, 42, 0.97);
  border-color: rgba(34, 211, 238, 0.35);
}

.nw-fs-guide-dismiss {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 0.5rem;
  background: transparent;
  color: #64748b;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.nw-fs-guide-dismiss:hover {
  background: rgba(6, 182, 212, 0.12);
  color: #0e7490;
}

.nw-fs-guide-kicker {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0891b2;
  margin: 0 0 0.75rem;
  padding-right: 2rem;
}

.dark .nw-fs-guide-kicker {
  color: #67e8f9;
}

.nw-fs-guide-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

.dark .nw-fs-guide-title {
  color: #f8fafc;
}

.nw-fs-guide-body {
  font-size: 0.8125rem;
  color: #475569;
  line-height: 1.55;
  margin: 0 0 0.75rem;
}

.dark .nw-fs-guide-body {
  color: #cbd5e1;
}

.nw-fs-guide-next {
  font-size: 0.8125rem;
