/* Copyright © 2026 ProPest Hub. All Rights Reserved.
   GPT-v267.37.67 — approved structural visual redesign.
   Presentation/navigation shell only. Existing ids, handlers, authority, data,
   security, tenant isolation, persistence, integrations and business rules stay authoritative. */
:root{
  --pph67-bg:#04111d;--pph67-bg2:#071a29;--pph67-panel:#0a1d2e;--pph67-panel2:#0e263a;
  --pph67-panel3:#12324a;--pph67-line:#234761;--pph67-line2:#326783;--pph67-text:#f6fbff;
  --pph67-muted:#abc1d1;--pph67-faint:#7896aa;--pph67-teal:#20d7c1;--pph67-teal2:#16b99e;
  --pph67-blue:#409cff;--pph67-purple:#9868ec;--pph67-amber:#ffb548;--pph67-red:#ff646d;
  --pph67-sidebar:268px;--pph67-header:82px;--pph67-radius:18px;
  --pph67-shadow:0 18px 50px rgba(0,0,0,.22);--pph67-soft:0 10px 30px rgba(0,0,0,.14)
}
html{font-size:16px;background:var(--pph67-bg)}
body.pph-v67-ui{font-size:15px;line-height:1.5;color:var(--pph67-text);background:var(--pph67-bg);grid-template-columns:var(--pph67-sidebar) minmax(0,1fr);grid-template-rows:var(--pph67-header) minmax(0,1fr)}
body.pph-v67-ui #main-content{background:radial-gradient(circle at 72% -6%,rgba(39,145,225,.13),transparent 34rem),linear-gradient(145deg,var(--pph67-bg),var(--pph67-bg2) 58%,var(--pph67-bg));scrollbar-color:#315e78 transparent}

/* ===== Header: tenant-first brand + useful search + user controls ===== */
body.pph-v67-ui #app-header{height:var(--pph67-header);min-height:var(--pph67-header);padding:0 22px;display:grid;grid-template-columns:minmax(240px,340px) minmax(280px,1fr) auto;align-items:center;gap:22px;background:rgba(4,16,28,.985);border-bottom:1px solid #20435b;box-shadow:0 10px 34px rgba(0,0,0,.18);z-index:7700}
body.pph-v67-ui .header-brand{display:flex;align-items:center;gap:13px;min-width:0}
body.pph-v67-ui .header-logo{width:52px;height:52px;flex:0 0 52px;padding:2px;border-radius:15px;background:#fff;box-shadow:0 10px 28px rgba(0,0,0,.24)}
body.pph-v67-ui .header-title{font-size:23px;line-height:1.05;font-weight:860;letter-spacing:-.035em;color:#fff;max-width:285px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.pph-v67-ui .header-sub{margin-top:6px;color:#a9c1d1;font-size:13px;font-weight:720;letter-spacing:.01em}
body.pph-v67-ui #app-visible-build-version,body.pph-v67-ui .tenant-build-row,body.pph-v67-ui #setup-readiness-build{display:none!important}
body.pph-v67-ui #header-login-name{display:none!important}
body.pph-v67-ui #pph67-workspace-search{position:relative;display:flex;align-items:center;width:min(100%,720px);justify-self:center}
body.pph-v67-ui #pph67-workspace-search:before{content:'⌕';position:absolute;left:15px;top:50%;transform:translateY(-52%);font-size:22px;color:#8fb0c4;pointer-events:none}
body.pph-v67-ui #pph67-search-input{width:100%;height:46px!important;min-height:46px!important;padding:0 86px 0 44px!important;border:1px solid #2c5872!important;border-radius:13px!important;background:#081b2b!important;color:#f7fbff!important;font-size:14px!important;box-shadow:inset 0 1px rgba(255,255,255,.02)}
body.pph-v67-ui #pph67-search-input::placeholder{color:#83a0b3!important}
body.pph-v67-ui .pph67-search-hint{position:absolute;right:10px;top:50%;transform:translateY(-50%);padding:3px 7px;border-radius:7px;border:1px solid #294d65;background:#0d2639;color:#789bb3;font:700 10px/1.2 ui-monospace,monospace;pointer-events:none}
body.pph-v67-ui #pph67-search-results{display:none;position:absolute;top:52px;left:0;right:0;z-index:9200;padding:8px;border:1px solid #315e79;border-radius:14px;background:#071827;box-shadow:0 24px 60px rgba(0,0,0,.45);max-height:360px;overflow:auto}
body.pph-v67-ui #pph67-search-results.open{display:block}
body.pph-v67-ui .pph67-search-result{width:100%;display:flex;align-items:center;gap:10px;min-height:44px;padding:9px 11px;border:0;border-radius:10px;background:transparent;color:#dfeaf2;text-align:left;font:720 13px/1.25 var(--font-body)}
body.pph-v67-ui .pph67-search-result:hover,body.pph-v67-ui .pph67-search-result:focus-visible{background:#0f2d43;color:#fff;outline:none}
body.pph-v67-ui .pph67-search-result span:first-child{width:28px;height:28px;display:grid;place-items:center;border-radius:8px;background:#0f3550;color:#49dac9}
body.pph-v67-ui .header-right{display:flex;align-items:center;gap:8px;min-width:max-content}
body.pph-v67-ui .header-time{display:none!important}
body.pph-v67-ui .header-right .btn{width:42px;min-width:42px;height:42px;min-height:42px;padding:0;border-radius:12px;border-color:#2b536c;background:#0a2031;font-size:15px;color:#dce9f1}
body.pph-v67-ui .header-right .btn:hover{background:#103149;border-color:#3d728e}
body.pph-v67-ui #pph67-user-chip{height:48px;display:flex;align-items:center;gap:10px;padding:4px 9px 4px 5px;border-left:1px solid #1d3d53;margin-left:3px}
body.pph-v67-ui .pph67-avatar{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;background:linear-gradient(145deg,#2369d6,#314ab5);color:#fff;font-weight:850;font-size:13px;box-shadow:0 8px 20px rgba(28,78,174,.25)}
body.pph-v67-ui .pph67-user-copy{display:flex;flex-direction:column;min-width:0;max-width:150px}
body.pph-v67-ui .pph67-user-copy strong{font-size:12.5px;line-height:1.2;color:#f5f9fc;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.pph-v67-ui .pph67-user-copy small{font-size:10.5px;line-height:1.25;color:#8fa9ba;margin-top:3px}
body.pph-v67-ui .header-prohub-ai-launcher{height:46px!important;min-height:46px!important;padding:5px 11px 5px 5px!important;border-radius:13px!important;border:1px solid #2a9eb7!important;background:linear-gradient(135deg,#0b334b,#0b4c53)!important;box-shadow:0 0 0 1px rgba(34,214,194,.08),0 10px 24px rgba(0,0,0,.2)!important}
body.pph-v67-ui .header-prohub-ai-launcher .prohub-ai-launcher-logo{width:34px!important;height:34px!important;border-radius:10px!important;background:#f9ffff!important}
body.pph-v67-ui .header-prohub-ai-launcher .prohub-ai-launcher-logo img{width:30px!important;height:30px!important;object-fit:contain!important}
body.pph-v67-ui .header-prohub-ai-launcher .prohub-ai-launcher-copy strong{font-size:12px!important}.header-prohub-ai-launcher .prohub-ai-launcher-copy small{font-size:9.5px!important;color:#a5d8df!important}

/* ===== Sidebar ===== */
body.pph-v67-ui #nav-tabs{padding:15px 12px 16px;background:linear-gradient(180deg,#061725,#071929 70%,#061522);border-right:1px solid #1d4057;gap:4px;overflow:auto;scrollbar-width:thin}
body.pph-v67-ui .nav-group-label{padding:17px 12px 6px;font-size:10px;line-height:1.2;letter-spacing:.13em;color:#728fa5;font-weight:900;opacity:1}
body.pph-v67-ui .nav-tab{min-height:48px;padding:9px 11px;gap:11px;border:1px solid transparent;border-radius:12px;font-size:13.5px;font-weight:730;color:#abc1d1}
body.pph-v67-ui .nav-tab:hover{background:#0a273b;border-color:#214b66;color:#fff}
body.pph-v67-ui .nav-tab.active{background:linear-gradient(135deg,rgba(15,68,88,.98),rgba(10,57,68,.98));border-color:#2d7385;color:#fff;box-shadow:0 10px 25px rgba(0,0,0,.14)}
body.pph-v67-ui .nav-tab.active:before{top:10px;bottom:10px;left:-1px;width:4px;border-radius:4px;background:linear-gradient(#28e4d0,#4a9cff)}
body.pph-v67-ui .nav-tab .tab-icon{width:31px;height:31px;flex:0 0 31px;display:grid;place-items:center;border-radius:9px;background:#0d2c43;color:#45d9c8;font-size:15px}
body.pph-v67-ui .nav-tab.active .tab-icon{background:#14aa98;color:#fff}
body.pph-v67-ui .nav-shell-footer{margin-top:12px;padding:13px 10px;border:1px solid #1f425a;border-radius:12px;background:#071c2c;font-size:11px}.nav-shell-footer small{font-size:10px}

/* ===== Platform-wide readability ===== */
body.pph-v67-ui .tab-panel{padding:26px 28px 34px;max-width:1680px;margin:0 auto}
body.pph-v67-ui .section-header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}
body.pph-v67-ui .section-title{font-size:24px!important;line-height:1.2!important;letter-spacing:-.025em!important;color:#f6fbff!important;font-weight:850!important}
body.pph-v67-ui .card{padding:20px;border:1px solid var(--pph67-line);border-radius:var(--pph67-radius);background:linear-gradient(155deg,rgba(11,31,48,.97),rgba(7,24,38,.97));box-shadow:var(--pph67-soft)}
body.pph-v67-ui .card-title{font-size:17px;line-height:1.25;font-weight:820;color:#f7fbff;margin-bottom:14px;letter-spacing:-.015em}
body.pph-v67-ui .card-title small{font-size:12px!important;color:#a9c0d0!important}
body.pph-v67-ui .btn{min-height:44px;padding:10px 14px;border-radius:11px;font-size:13px;font-weight:760;line-height:1.2}
body.pph-v67-ui .btn-sm{min-height:40px;padding:8px 12px;font-size:12.5px}.btn-xs{min-height:36px;padding:7px 10px;font-size:12px}
body.pph-v67-ui .btn-ghost{background:#0b2234;border-color:#2b526a;color:#d9e7f0}.btn-ghost:hover{background:#123149;border-color:#3e718c;color:#fff}
body.pph-v67-ui .btn-primary{background:linear-gradient(135deg,#1474d4,#1e8bd5);box-shadow:0 8px 18px rgba(24,111,202,.2)}
body.pph-v67-ui .btn-teal{background:linear-gradient(135deg,#14b69f,#1bc7ae);box-shadow:0 8px 18px rgba(20,182,159,.16)}
body.pph-v67-ui .form-label,body.pph-v67-ui .form-group label{font-size:13px!important;line-height:1.35!important;color:#c7d8e4!important;font-weight:760!important}
body.pph-v67-ui .form-input,body.pph-v67-ui .search-input,body.pph-v67-ui input:not([type="checkbox"]):not([type="radio"]),body.pph-v67-ui select,body.pph-v67-ui textarea{min-height:46px!important;padding:10px 12px!important;border-radius:11px!important;border-color:#355e77!important;background:#061a29!important;color:#f6fbff!important;font-size:14px!important;line-height:1.35!important}
body.pph-v67-ui textarea{min-height:96px!important}
body.pph-v67-ui input::placeholder,body.pph-v67-ui textarea::placeholder{color:#7896aa!important;opacity:1}
body.pph-v67-ui .stat-label{font-size:12.5px!important;color:#a8bdcc!important}.stat-value{font-size:29px!important}
body.pph-v67-ui .badge,body.pph-v67-ui .home-status-pill,body.pph-v67-ui .company-setup-state{font-size:11px!important;line-height:1.25!important;padding:4px 8px!important}
body.pph-v67-ui #main-content small{font-size:12.5px;line-height:1.45}
body.pph-v67-ui #main-content [style*="font-size:7px"],body.pph-v67-ui #main-content [style*="font-size:8px"],body.pph-v67-ui #main-content [style*="font-size:9px"]{font-size:12px!important;line-height:1.42!important}
body.pph-v67-ui #main-content [style*="font-size:10px"],body.pph-v67-ui #main-content [style*="font-size:11px"]{font-size:12.5px!important;line-height:1.45!important}
body.pph-v67-ui #main-content [style*="font-size:12px"]{font-size:13px!important;line-height:1.45!important}
body.pph-v67-ui #main-content table{font-size:13.5px!important}body.pph-v67-ui #main-content th{font-size:11.5px!important;color:#a7c1d2!important}body.pph-v67-ui #main-content td{font-size:13.5px!important;line-height:1.45!important}

/* ===== Home: visibly new composition ===== */
body.pph-v67-ui #panel-home{padding-top:20px}
body.pph-v67-ui .home-command-hero{position:relative;min-height:174px;padding:31px 34px;margin-bottom:16px;display:flex;align-items:center;justify-content:space-between;overflow:hidden;border:1px solid #2d5b73;border-radius:24px;background:radial-gradient(circle at 83% 38%,rgba(42,214,194,.18),transparent 22rem),radial-gradient(circle at 97% -20%,rgba(66,150,255,.22),transparent 28rem),linear-gradient(135deg,#0d2d43,#091d2e 56%,#061622);box-shadow:var(--pph67-shadow)}
body.pph-v67-ui .home-command-hero:before{content:"";position:absolute;right:40px;top:22px;width:260px;height:126px;border-radius:34px;transform:skewX(-16deg);background:linear-gradient(135deg,rgba(66,159,255,.13),rgba(28,213,192,.08));border:1px solid rgba(91,194,218,.14);pointer-events:none}
body.pph-v67-ui .home-command-hero:after{content:"";position:absolute;right:72px;top:8px;width:160px;height:160px;border:1px solid rgba(70,211,202,.12);border-radius:50%;pointer-events:none}
body.pph-v67-ui .home-command-hero>div{position:relative;z-index:1}
body.pph-v67-ui .home-eyebrow{margin-bottom:9px;color:#51ded0;font-size:11px;font-weight:850;letter-spacing:.12em}
body.pph-v67-ui .home-command-hero h1{margin:0;font-size:38px;line-height:1.05;letter-spacing:-.045em;color:#fff;font-weight:880}
body.pph-v67-ui .home-command-hero p{margin:9px 0 0;max-width:780px;color:#b8cbd8;font-size:15px;line-height:1.5}
body.pph-v67-ui .home-hero-actions{align-self:center}.home-hero-actions .btn{min-height:44px}
body.pph-v67-ui .home-leadership-dashboard{display:block}
body.pph-v67-ui .home-metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}
body.pph-v67-ui .home-metric-card{position:relative;min-height:126px;padding:18px 18px 16px 76px;text-align:left;border:1px solid #28566f;border-radius:17px;background:linear-gradient(155deg,#0d2b42,#081c2d);box-shadow:0 9px 24px rgba(0,0,0,.12);overflow:hidden}
body.pph-v67-ui .home-metric-card:before{position:absolute;left:18px;top:21px;width:42px;height:42px;display:grid;place-items:center;border-radius:12px;font-size:20px;font-weight:800;background:#0b594f;color:#61eadb;box-shadow:inset 0 0 0 1px rgba(76,233,214,.16)}
body.pph-v67-ui #home-today-card:before{content:"▦";background:#075b4e;color:#56edda}body.pph-v67-ui #home-collections-card:before{content:"$";background:#173a72;color:#80b5ff}body.pph-v67-ui #home-followup-card:before{content:"↗";background:#50336f;color:#d4a4ff}body.pph-v67-ui #home-compliance-card:before{content:"✓";background:#0b5c5b;color:#6ce7e2}
body.pph-v67-ui .home-metric-card .home-metric-kicker{display:block;color:#abc0d0;font-size:11.5px;letter-spacing:.02em;font-weight:760}
body.pph-v67-ui .home-metric-card strong{display:block;margin:6px 0 4px;font:850 32px/1 var(--font-body);color:#fff}
body.pph-v67-ui .home-metric-card>span:last-child{display:block;color:#9fb5c5;font-size:12px;line-height:1.35;white-space:normal}
body.pph-v67-ui .home-main-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.78fr);gap:14px;margin-bottom:14px}
body.pph-v67-ui .home-focus-card,body.pph-v67-ui .home-system-card{min-height:250px}
body.pph-v67-ui .home-focus-card{border-color:#2d566e}.home-focus-card .card-title,.home-system-card .card-title{display:flex;align-items:center;justify-content:space-between}
body.pph-v67-ui .home-attention-summary{font-size:13.5px;color:#afc2d0;padding-bottom:13px;margin-bottom:12px;border-bottom:1px solid #24465d}
body.pph-v67-ui .home-live-label{font-size:10px!important;color:#7cd8c0!important}.home-live-label i{box-shadow:0 0 0 4px rgba(57,185,124,.09)}
body.pph-v67-ui .home-system-list>div{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:11px 0;border-bottom:1px solid #213f54;font-size:12.5px}.home-system-list span{color:#8faabd}.home-system-list strong{color:#eef6fb;text-align:right}
body.pph-v67-ui .home-quick-label{margin:18px 0 9px;color:#7fa2b8;font-size:10.5px;letter-spacing:.12em;font-weight:900}
body.pph-v67-ui .home-quick-actions{display:grid;grid-template-columns:repeat(6,minmax(130px,1fr));gap:8px;margin-bottom:14px}.home-quick-actions .btn{width:100%;min-height:48px}
body.pph-v67-ui .home-schedule-card{padding:0;overflow:hidden;border-color:#2e5d76;background:linear-gradient(155deg,#0c263a,#071a2a);margin-top:14px}
body.pph-v67-ui .home-schedule-card .card-title{margin:0;padding:17px 19px;border-bottom:1px solid #244a62;font-size:18px}
body.pph-v67-ui #home-today-jobs{padding:8px 14px 14px}
body.pph-v67-ui #pph67-home-ai-card{margin-top:14px;padding:18px;border:1px solid #1ba99e;border-radius:18px;background:radial-gradient(circle at 95% 0,rgba(33,216,194,.12),transparent 18rem),linear-gradient(145deg,#0c2537,#071b2a);box-shadow:var(--pph67-soft)}
body.pph-v67-ui .pph67-ai-head{display:flex;align-items:center;gap:12px}.pph67-ai-mark{width:52px;height:52px;flex:0 0 52px;display:grid;place-items:center;padding:4px;border-radius:14px;background:#f6ffff}.pph67-ai-mark img{width:100%;height:100%;object-fit:contain}.pph67-ai-copy strong{display:block;font-size:18px;letter-spacing:-.02em}.pph67-ai-copy span{display:block;margin-top:3px;color:#9db7c8;font-size:12.5px}.pph67-ai-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.pph67-ai-actions button{min-height:42px;padding:9px 12px;border:1px solid #2a6074;border-radius:11px;background:#0b2537;color:#dceaf2;font:730 12.5px/1.2 var(--font-body)}.pph67-ai-actions button:first-child{border-color:#1db7aa;background:#0e4c4b;color:#fff}
body.pph-v67-ui .department-ops-section{margin-top:14px}

/* ===== Settings and other workspaces ===== */
body.pph-v67-ui #panel-settings .settings-hub-nav{gap:11px!important;padding:12px!important;border-radius:20px!important;background:rgba(7,24,38,.98)!important;border:1px solid #2c5871!important;box-shadow:var(--pph67-soft)}
body.pph-v67-ui #panel-settings .settings-hub-tab{min-height:84px!important;padding:15px 16px!important;border-radius:14px!important;background:#0c2234!important;border-color:#2c4d63!important}
body.pph-v67-ui #panel-settings .settings-hub-tab.active{background:linear-gradient(135deg,#0a3d47,#0b333c)!important;border-color:#20c1ae!important;box-shadow:0 10px 24px rgba(0,0,0,.12)!important}
body.pph-v67-ui #panel-settings .settings-hub-tab strong{font-size:14.5px!important;line-height:1.2!important}.settings-hub-tab small{font-size:12px!important;line-height:1.4!important;color:#9eb6c7!important}
body.pph-v67-ui #panel-settings .settings-hub-context{margin-top:12px!important;padding:14px 16px!important;border-radius:14px!important;background:#0d2234!important;border:1px solid #2b4c62!important;font-size:13.5px!important}
body.pph-v67-ui #panel-settings .company-setup-summary{padding:18px!important;border-radius:18px!important}.company-setup-summary strong{font-size:16px!important}.company-setup-summary small{font-size:12.5px!important}.company-setup-ring{width:70px!important;height:70px!important;font-size:18px!important}.company-setup-step{padding:14px!important;gap:11px!important}.company-setup-step strong{font-size:14px!important}.company-setup-step small{font-size:12.5px!important}.company-setup-step-actions button{font-size:12px!important;min-height:36px!important}
body.pph-v67-ui .customer-card,body.pph-v67-ui .job-card,body.pph-v67-ui .template-card,body.pph-v67-ui .compliance-row,body.pph-v67-ui .dispatch-card,body.pph-v67-ui .department-ops-card,body.pph-v67-ui .settings-section,body.pph-v67-ui .doc-center-card{border-color:#294f66!important;background:linear-gradient(155deg,rgba(12,32,49,.97),rgba(8,25,39,.97))!important;box-shadow:0 10px 28px rgba(0,0,0,.10)!important}
body.pph-v67-ui .customer-card:hover,body.pph-v67-ui .job-card:hover,body.pph-v67-ui .template-card:hover,body.pph-v67-ui .doc-center-card:hover{border-color:#3a7895!important;transform:translateY(-1px)}
body.pph-v67-ui .dispatch-card-title{font-size:14.5px!important}.dispatch-card-meta{font-size:12.5px!important;color:#a4bccd!important}.dispatch-col-head{font-size:14.5px!important}.doc-center-hero h2{font-size:28px!important}.doc-center-hero p{font-size:13.5px!important}.doc-center-card strong{font-size:14.5px!important}.doc-center-card small{font-size:12.5px!important}
body.pph-v67-ui .modal-overlay{backdrop-filter:blur(7px)}body.pph-v67-ui .modal-box{border:1px solid #315b74!important;background:#091b2a!important;color:#f4f9fc!important;border-radius:20px!important;box-shadow:0 30px 90px rgba(0,0,0,.45)!important}.modal-title{font-size:19px!important}.prohub-ai-panel{border-color:#347089!important}.prohub-ai-head{padding:13px 15px!important}.prohub-ai-identity strong{font-size:14.5px!important}.prohub-ai-identity small{font-size:11px!important}

/* ===== Mobile: genuine responsive shell ===== */
#pph67-mobile-bottom-nav,#pph67-mobile-nav-drawer,#pph67-mobile-drawer-scrim{display:none}
@media(max-width:1100px){
  :root{--pph67-sidebar:232px}
  body.pph-v67-ui #app-header{grid-template-columns:minmax(220px,300px) minmax(220px,1fr) auto;gap:13px;padding:0 14px}.pph67-user-copy{display:none!important}#pph67-user-chip{padding-right:2px!important}
  body.pph-v67-ui .home-metric-grid{grid-template-columns:1fr 1fr}.home-quick-actions{grid-template-columns:repeat(3,1fr)!important}
}
@media(max-width:900px){
  body.pph-v67-ui{display:block;padding-bottom:calc(72px + env(safe-area-inset-bottom))}
  body.pph-v67-ui #app-header{position:sticky;top:0;display:grid;grid-template-columns:minmax(0,1fr) auto;height:auto;min-height:82px;padding:10px 12px;gap:8px 10px;align-items:center}
  body.pph-v67-ui .header-brand{grid-column:1}.header-logo{width:46px;height:46px;flex-basis:46px}.header-title{font-size:19px;max-width:60vw}.header-sub{font-size:12px;margin-top:4px}
  body.pph-v67-ui #pph67-workspace-search{grid-column:1/-1;grid-row:2;width:100%;max-width:none}.pph67-search-hint{display:none}.pph67-search-results{top:50px!important}
  body.pph-v67-ui .header-right{grid-column:2;grid-row:1;gap:6px}.header-right [data-pph-action="backupNow()"],.header-right [data-pph-action="softRefresh()"],body.pph-v67-ui #account-security-btn{display:none!important}.header-right .btn{width:40px;min-width:40px;height:40px;min-height:40px}.header-prohub-ai-launcher{width:42px!important;min-width:42px!important;height:42px!important;min-height:42px!important;padding:4px!important}.header-prohub-ai-launcher .prohub-ai-launcher-copy,.header-prohub-ai-launcher .prohub-ai-launcher-arrow{display:none!important}.pph67-user-copy{display:none!important}.pph67-avatar{width:36px;height:36px}
  body.pph-v67-ui #nav-tabs{position:fixed!important;left:-9999px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important;border:0!important;padding:0!important}
  body.pph-v67-ui #main-content{min-height:calc(100vh - 82px);padding-bottom:calc(12px + env(safe-area-inset-bottom));overflow-y:auto}
  body.pph-v67-ui .tab-panel{padding:14px 11px 20px;max-width:none}.section-header{align-items:flex-start!important}.section-title{font-size:21px!important}.section-header>div:last-child{display:flex!important;flex-wrap:wrap!important;gap:7px!important}
  body.pph-v67-ui .card{padding:16px;border-radius:16px}.card-title{font-size:16.5px;margin-bottom:12px}.btn{min-height:46px;font-size:13px}
  body.pph-v67-ui #panel-home{padding-top:11px}.home-command-hero{min-height:158px;padding:20px 18px;display:block;border-radius:20px}.home-command-hero:before{right:-30px;top:35px;width:180px}.home-command-hero:after{right:-20px;top:15px;width:130px;height:130px}.home-eyebrow{font-size:10px}.home-command-hero h1{font-size:29px;max-width:88%}.home-command-hero p{font-size:13px;max-width:87%}.home-hero-actions{margin-top:14px}
  body.pph-v67-ui .home-metric-grid{grid-template-columns:1fr 1fr;gap:8px}.home-metric-card{min-height:118px;padding:14px 12px 12px 60px}.home-metric-card:before{left:12px;top:16px;width:38px;height:38px;font-size:18px}.home-metric-card .home-metric-kicker{font-size:10.5px}.home-metric-card strong{font-size:28px}.home-metric-card>span:last-child{font-size:11.5px}
  body.pph-v67-ui .home-main-grid{display:block}.home-focus-card,.home-system-card{min-height:0}.home-system-card{margin-top:10px}.home-quick-actions{grid-template-columns:1fr 1fr!important;gap:8px}.home-quick-actions .btn{min-width:0;width:100%;font-size:12px}.home-schedule-card{margin-top:10px}.home-schedule-card .card-title{padding:15px}.pph67-ai-actions{display:grid;grid-template-columns:1fr 1fr}.pph67-ai-actions button{width:100%}.pph67-ai-actions button:first-child{grid-column:1/-1}
  body.pph-v67-ui .grid-2,body.pph-v67-ui .grid-3,body.pph-v67-ui .form-row,body.pph-v67-ui .form-row-3,body.pph-v67-ui .info-grid{grid-template-columns:1fr!important}
  body.pph-v67-ui .modal-box{width:min(96vw,720px)!important;max-width:96vw!important;max-height:91vh!important;padding:17px!important}
  body.pph-v67-ui #panel-settings .settings-hub-nav{top:6px!important;display:flex!important;overflow-x:auto!important;gap:8px!important;padding:7px!important;scroll-snap-type:x mandatory}.settings-hub-tab{flex:0 0 min(82vw,320px)!important;min-height:74px!important;scroll-snap-align:start}
  #pph67-mobile-bottom-nav{position:fixed;left:0;right:0;bottom:0;z-index:7800;display:grid;grid-template-columns:repeat(4,1fr);height:calc(66px + env(safe-area-inset-bottom));padding:5px 8px env(safe-area-inset-bottom);background:rgba(4,17,29,.985);border-top:1px solid #2d536b;box-shadow:0 -12px 30px rgba(0,0,0,.24);backdrop-filter:blur(18px)}
  #pph67-mobile-bottom-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:0;border-radius:12px;background:transparent;color:#9fb5c6;font:720 10.5px/1.1 var(--font-body);min-width:0;padding:4px 3px}#pph67-mobile-bottom-nav button .pph67-mob-icon{font-size:21px;line-height:1}#pph67-mobile-bottom-nav button.active{background:linear-gradient(180deg,rgba(28,213,192,.13),rgba(15,119,111,.09));color:#5de4d4;box-shadow:inset 0 0 0 1px rgba(39,213,194,.12)}
  #pph67-mobile-drawer-scrim{position:fixed;inset:0;z-index:7810;background:rgba(1,9,15,.7);backdrop-filter:blur(4px)}#pph67-mobile-drawer-scrim.open{display:block}
  #pph67-mobile-nav-drawer{position:fixed;left:10px;right:10px;bottom:calc(73px + env(safe-area-inset-bottom));z-index:7820;max-height:min(74vh,700px);overflow:auto;padding:14px;border:1px solid #315f79;border-radius:20px;background:#071827;box-shadow:0 28px 70px rgba(0,0,0,.48)}#pph67-mobile-nav-drawer.open{display:block}.pph67-mobile-drawer-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:2px 2px 12px;border-bottom:1px solid #203f55;margin-bottom:10px}.pph67-mobile-drawer-head strong{font-size:17px}.pph67-mobile-drawer-head button{width:40px;height:40px;border:1px solid #2d536b;border-radius:10px;background:#0c273a;color:#fff;font-size:19px}.pph67-mobile-drawer-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.pph67-mobile-drawer-grid button{min-height:50px;padding:10px 11px;border:1px solid #284b63;border-radius:11px;background:#0a2133;color:#dce9f2;text-align:left;font:730 12.5px/1.25 var(--font-body)}.pph67-mobile-drawer-grid button.active{border-color:#2bbdab;background:#0d3b42;color:#fff}.pph67-mobile-drawer-grid button[hidden]{display:none!important}
}
@media(max-width:520px){
  body.pph-v67-ui #app-header{padding:8px 10px}.header-brand{gap:9px}.header-logo{width:43px;height:43px;flex-basis:43px}.header-title{font-size:18px;max-width:58vw}.header-sub{font-size:11.5px}.header-right .btn{display:none}.header-right #bell-btn{display:inline-flex}.header-right .header-prohub-ai-launcher{display:flex!important}.pph67-user-chip{display:flex!important;border-left:0!important;margin-left:0!important;padding-left:0!important}
  body.pph-v67-ui .home-command-hero h1{font-size:27px}.home-command-hero p{font-size:12.5px}.home-metric-grid{gap:7px}.home-metric-card{min-height:114px;padding-left:56px}.home-metric-card:before{left:11px}.home-metric-card strong{font-size:26px}.pph67-mobile-drawer-grid{grid-template-columns:1fr}
  body.pph-v67-ui #main-content [style*="font-size:7px"],body.pph-v67-ui #main-content [style*="font-size:8px"],body.pph-v67-ui #main-content [style*="font-size:9px"]{font-size:11.5px!important}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* GPT-v267.37.67 mobile brand-fit correction: the approved phone header keeps
   the tenant identity fully readable. AI remains available from Home and More,
   so the duplicate header launcher is hidden on narrow screens. */
@media(max-width:520px){
  body.pph-v67-ui .header-prohub-ai-launcher{display:none!important}
  body.pph-v67-ui .header-brand{min-width:0;overflow:hidden}
  body.pph-v67-ui .header-brand>div:last-child{min-width:0}
  body.pph-v67-ui .header-title{font-size:17px;max-width:calc(100vw - 148px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  body.pph-v67-ui .header-sub{font-size:11.5px;white-space:nowrap}
  body.pph-v67-ui #pph67-user-chip{padding:0!important;margin:0!important}
}

/* ========================================================================== 
   2026-10-01 — functional-lock visual refinement over certified .67.
   Presentation only. Existing .67 ids, events, handlers, data authority,
   permissions and lifecycle stay authoritative.
   ========================================================================== */
:root{
  --pph80-sky:#1689f4;
  --pph80-sky2:#0d5bb7;
  --pph80-cyan:#20dbe3;
  --pph80-green:#19d2a0;
  --pph80-deep:#03111f;
}

/* Signed-out login: platform-owned, clean, crisp and deliberately de-boxed. */
#login-overlay{background:radial-gradient(circle at 12% 10%,rgba(44,196,225,.17),transparent 29rem),radial-gradient(circle at 88% 88%,rgba(54,193,140,.12),transparent 27rem),linear-gradient(135deg,#f7fcff,#e8f5fb 52%,#f7fcff)}
#login-overlay .login-card.login-landscape{width:min(1180px,calc(100vw - 72px));min-height:min(680px,calc(100vh - 70px));border:1px solid rgba(21,112,153,.16);border-radius:30px;box-shadow:0 32px 90px rgba(7,49,83,.18)}
#login-overlay .login-showcase{padding:34px 42px 38px;justify-content:center;background:radial-gradient(circle at 78% 16%,rgba(41,201,219,.21),transparent 26%),radial-gradient(circle at 13% 86%,rgba(47,191,129,.14),transparent 31%),linear-gradient(150deg,#e8f8fc,#dff2f6 52%,#eaf8f3)}
#login-overlay .platform-login-poster{width:min(500px,84%);max-height:360px;object-fit:contain;filter:drop-shadow(0 18px 30px rgba(6,65,103,.08))}
#login-overlay .login-showcase-copy{margin-top:2px;max-width:650px}
#login-overlay .login-showcase-kicker{margin-bottom:13px;background:rgba(255,255,255,.78);border-color:rgba(10,125,146,.18);box-shadow:0 7px 20px rgba(10,82,113,.05)}
#login-overlay .login-showcase-copy h1{font-size:clamp(34px,3.2vw,48px);max-width:620px;margin-inline:auto;color:#082f56}
#login-overlay .pph80-login-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:24px auto 0;max-width:610px}
#login-overlay .pph80-login-values>div{display:flex;align-items:center;gap:9px;min-height:60px;padding:10px 12px;border:1px solid rgba(24,127,153,.14);border-radius:16px;background:rgba(255,255,255,.63);color:#164b68;text-align:left;font-size:11px;line-height:1.25;box-shadow:0 9px 24px rgba(15,75,107,.05)}
#login-overlay .pph80-login-values span{flex:0 0 34px;width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:#fff;border:1px solid rgba(12,132,150,.16);color:#078693;font-size:16px}
#login-overlay .pph80-login-values strong{font-weight:850}
#login-overlay .login-form-panel{padding:50px 56px;background:rgba(255,255,255,.985)}
#login-overlay .login-form-panel .login-brand img{width:92px;height:92px;padding:0;border-radius:0;background:transparent;box-shadow:none;object-fit:contain}
#login-overlay .login-form-panel .login-product{font-size:34px;color:#072e58;letter-spacing:-.05em}
#login-overlay .login-form-panel .login-company{display:none}
#login-overlay .login-form-panel .login-tagline{margin-top:7px;color:#09869c;font-size:9px;line-height:1.5;letter-spacing:.13em}
#login-overlay .login-form-title{margin-top:8px;font-size:22px;color:#133f5c}
#login-overlay .login-form-intro{font-size:12px;color:#6f8797}
#login-overlay .login-form-panel .login-label{font-size:11px;color:#405f71}
#login-overlay .login-form-panel .login-input{min-height:50px;border-color:#c6dae4;background:#fbfdff;color:#123d58}
#login-overlay .login-form-panel .login-input:focus{border-color:#1b9fb0;box-shadow:0 0 0 4px rgba(20,158,176,.09)}
#login-overlay .login-form-panel .login-submit{min-height:51px;background:linear-gradient(135deg,#087f91,#0ca998);box-shadow:0 14px 28px rgba(8,133,145,.18)}

/* Authenticated desktop banner. The original controls keep their own DOM/event authority. */
@media(min-width:901px){
  body.pph-v67-ui{grid-template-rows:128px minmax(0,1fr)}
  body.pph-v67-ui #app-header{height:128px;min-height:128px;padding:14px 22px;grid-template-columns:minmax(255px,340px) minmax(320px,1fr) auto;grid-template-rows:54px 44px;gap:8px 20px;align-items:center;background:radial-gradient(circle at 83% 22%,rgba(71,215,232,.23),transparent 25rem),linear-gradient(108deg,#072845 0%,#0b4b88 45%,#0c7da3 100%);border-bottom:1px solid rgba(61,190,220,.48);box-shadow:0 13px 35px rgba(0,18,39,.28)}
  body.pph-v67-ui .header-brand{grid-column:1;grid-row:1/3;align-self:center}
  body.pph-v67-ui .header-logo{width:66px;height:66px;flex:0 0 66px;border-radius:18px;padding:4px;box-shadow:0 14px 30px rgba(0,18,39,.26)}
  body.pph-v67-ui .header-logo.tenant-logo-empty{visibility:hidden}
  body.pph-v67-ui .header-title{font-size:27px;max-width:250px;text-shadow:0 2px 14px rgba(0,0,0,.2)}
  body.pph-v67-ui .header-sub{font-size:13px;color:#d1e8f3;letter-spacing:.02em}
  body.pph-v67-ui #pph67-workspace-search{grid-column:2/4;grid-row:2;width:100%;max-width:none;justify-self:stretch}
  body.pph-v67-ui #pph67-search-input{height:44px!important;min-height:44px!important;border-color:rgba(160,220,240,.43)!important;background:rgba(3,27,51,.72)!important;box-shadow:inset 0 1px rgba(255,255,255,.06),0 7px 20px rgba(0,21,48,.12)}
  body.pph-v67-ui #pph67-search-input::placeholder{color:#b2ccda!important}
  body.pph-v67-ui .pph67-search-hint{background:rgba(4,39,70,.8);border-color:rgba(140,199,220,.35);color:#bbd3df}
  body.pph-v67-ui .header-right{grid-column:2/4;grid-row:1;justify-self:end;gap:7px}
  body.pph-v67-ui .header-time{display:block!important;min-width:105px;padding-right:10px;text-align:right;color:#e9f7fc;font-size:11px;line-height:1.32}
  body.pph-v67-ui .header-right .btn{border-color:rgba(173,222,239,.30);background:rgba(4,35,61,.67);color:#effaff;box-shadow:0 7px 18px rgba(0,21,47,.13)}
  body.pph-v67-ui .header-right .btn:hover{background:rgba(7,54,88,.82);border-color:rgba(181,231,245,.55)}
  body.pph-v67-ui #pph67-user-chip{height:42px;border-left-color:rgba(190,230,245,.22)}
  body.pph-v67-ui .header-prohub-ai-launcher{height:42px!important;min-height:42px!important;border-color:#31d6da!important;background:linear-gradient(135deg,rgba(3,57,83,.9),rgba(4,102,106,.9))!important;box-shadow:0 0 0 1px rgba(52,226,220,.1),0 9px 22px rgba(0,22,43,.2)!important}
}

/* Navigation and authenticated content: cleaner hierarchy and higher contrast. */
body.pph-v67-ui #nav-tabs{background:linear-gradient(180deg,#041421,#061a29 73%,#041522);border-right-color:#1d4a65}
body.pph-v67-ui .nav-group-label{color:#7fa9c4}
body.pph-v67-ui .nav-tab{font-size:14px;color:#bfd0dc}
body.pph-v67-ui .nav-tab .tab-icon{background:#0a3150;color:#72dfee}
body.pph-v67-ui .nav-tab.active{background:linear-gradient(135deg,#0c5590,#0b6680);border-color:#228fc1;box-shadow:0 9px 22px rgba(0,48,91,.18)}
body.pph-v67-ui .nav-tab.active .tab-icon{background:#188cf2;color:#fff}
body.pph-v67-ui .tab-panel{padding-top:22px}
body.pph-v67-ui .home-command-hero{min-height:166px;border-color:#28688b;background:radial-gradient(circle at 82% 35%,rgba(30,224,210,.17),transparent 20rem),radial-gradient(circle at 96% -22%,rgba(49,153,255,.27),transparent 28rem),linear-gradient(125deg,#0a365b,#0c4772 58%,#07536a);box-shadow:0 17px 42px rgba(0,17,35,.24)}
body.pph-v67-ui .home-command-hero:before{width:320px;height:150px;border-color:rgba(111,218,239,.16);background:linear-gradient(135deg,rgba(60,166,255,.13),rgba(27,222,197,.10))}
body.pph-v67-ui .home-command-hero h1{font-size:40px}
body.pph-v67-ui .home-command-hero p{font-size:15.5px;color:#d0e1ea}
body.pph-v67-ui .home-eyebrow{color:#49f1e0;letter-spacing:.18em}
body.pph-v67-ui .home-metric-card{border-color:#27617e;background:linear-gradient(150deg,#0b2840,#071a2c);box-shadow:0 12px 28px rgba(0,13,27,.16)}
body.pph-v67-ui .home-metric-card:hover{border-color:#3588ac;transform:translateY(-1px)}
body.pph-v67-ui .home-focus-card,body.pph-v67-ui .home-system-card,body.pph-v67-ui .home-schedule-card{border-color:#285d78;background:linear-gradient(150deg,#0a263a,#071a2a)}
body.pph-v67-ui .home-quick-actions .btn{border-radius:12px}
body.pph-v67-ui #pph67-home-ai-card{border-color:#2ac7c3;background:radial-gradient(circle at 93% 2%,rgba(29,224,207,.15),transparent 20rem),linear-gradient(145deg,#0b2a3d,#071b2a)}

/* Conversation controls retain fixed footprints so status copy cannot cover Stop. */
body.pph-v67-ui .prohub-ai-conversation-row{display:grid!important;grid-template-columns:minmax(132px,auto) 102px minmax(0,1fr);align-items:center;gap:7px!important}
body.pph-v67-ui #ai-conversation-btn{min-width:132px;max-width:180px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.pph-v67-ui #ai-conversation-stop{width:102px;min-width:102px;white-space:nowrap}
body.pph-v67-ui #ai-conversation-note{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}
body.pph-v67-ui #ai-voice-status{min-width:0;white-space:normal;overflow-wrap:anywhere}

/* Technician phone home: richer field look using only the established .67 nodes/data/actions. */
@media(max-width:520px){
  #login-overlay .login-card.login-landscape{width:min(440px,96vw)}
  #login-overlay .login-showcase{padding:19px 16px 18px}
  #login-overlay .platform-login-poster{width:min(245px,70vw)}
  #login-overlay .pph80-login-values{grid-template-columns:1fr;gap:6px;margin-top:16px}
  #login-overlay .pph80-login-values>div{min-height:44px;padding:7px 10px;font-size:10px}
  #login-overlay .pph80-login-values span{width:29px;height:29px;flex-basis:29px;font-size:14px}
  #login-overlay .login-form-panel{padding:22px 20px 26px}
  #login-overlay .login-form-panel .login-brand img{width:68px;height:68px}
  #login-overlay .login-form-panel .login-product{font-size:26px}

  body.pph-v67-ui.role-technician #app-header{background:linear-gradient(125deg,#06243c,#0a4265 70%,#07576b);border-bottom-color:#1a6885}
  body.pph-v67-ui.role-technician #panel-home{background:linear-gradient(180deg,#041522,#03101c)}
  body.pph-v67-ui.role-technician .home-command-hero{min-height:228px;padding:26px 20px 22px;border-radius:24px;border-color:#2580a5;background:radial-gradient(circle at 82% 29%,rgba(19,225,210,.20),transparent 34%),linear-gradient(145deg,#0a3150,#0a4d69);box-shadow:0 16px 36px rgba(0,0,0,.24)}
  body.pph-v67-ui.role-technician .home-command-hero:before{content:'⌖';right:17px;top:18px;width:auto;height:auto;border:0;background:none;transform:none;color:rgba(56,221,226,.19);font-size:96px;line-height:1}
  body.pph-v67-ui.role-technician .home-command-hero:after{right:-42px;top:55px;width:180px;height:180px;border-color:rgba(77,215,233,.12)}
  body.pph-v67-ui.role-technician .home-command-hero h1{font-size:34px;max-width:86%;line-height:1.02}
  body.pph-v67-ui.role-technician .home-command-hero p{font-size:14px;max-width:88%;color:#cce0e9}
  body.pph-v67-ui.role-technician .home-hero-actions{position:absolute;right:15px;bottom:15px;margin:0}
  body.pph-v67-ui.role-technician .home-hero-actions .btn{width:43px;min-width:43px;padding:0;font-size:0;border-radius:12px;background:rgba(5,33,51,.65)}
  body.pph-v67-ui.role-technician .home-hero-actions .btn:before{content:'↻';font-size:18px}
  body.pph-v67-ui.role-technician #home-technician-dashboard{margin-top:10px!important}
  body.pph-v67-ui.role-technician .home-tech-stats{display:grid!important;grid-template-columns:1fr 1fr!important;gap:9px!important}
  body.pph-v67-ui.role-technician .home-tech-stats .stat-box{min-height:116px;padding:17px;border:1px solid #285f7b;border-radius:20px;background:linear-gradient(145deg,#0a263a,#071a2b);box-shadow:0 12px 28px rgba(0,0,0,.15)}
  body.pph-v67-ui.role-technician .home-tech-stats .stat-value{font-size:34px!important;line-height:1!important;color:#fff!important}
  body.pph-v67-ui.role-technician .home-tech-stats .stat-label{margin-top:10px;font-size:11px!important;line-height:1.35!important;letter-spacing:.08em;color:#adc4d3!important;text-transform:uppercase}
  body.pph-v67-ui.role-technician #tech-pretrip-card,body.pph-v67-ui.role-technician .home-schedule-card,body.pph-v67-ui.role-technician #home-checklist-card{margin-top:10px!important;border-radius:20px!important;border-color:#285f7b!important;background:linear-gradient(145deg,#0a2437,#071a29)!important;box-shadow:0 12px 28px rgba(0,0,0,.15)!important}
  body.pph-v67-ui.role-technician .home-schedule-card .card-title{background:linear-gradient(90deg,rgba(11,58,84,.75),rgba(7,32,48,.4));border-bottom-color:#28566d}
  body.pph-v67-ui.role-technician #home-today-toggle{border-color:#1f8db4;background:#0b3b56;color:#dff8ff}
  body.pph-v67-ui.role-technician #tech-message-office{margin:10px 0}
  body.pph-v67-ui.role-technician #tech-message-office .btn{width:100%;border-color:#305a72;background:#0a2234}
  body.pph-v67-ui .prohub-ai-conversation-row{grid-template-columns:minmax(0,1fr) 92px!important}
  body.pph-v67-ui #ai-conversation-note{grid-column:1/-1}
  body.pph-v67-ui #ai-conversation-btn{min-width:0;max-width:none}
  body.pph-v67-ui #ai-conversation-stop{width:92px;min-width:92px}
}

/* 2026-10-01 tenant identity readability guard — keep ordinary company names
   visible in the authenticated banner without changing any branding authority. */
@media(min-width:901px){
  body.pph-v67-ui #app-header{grid-template-columns:minmax(330px,400px) minmax(260px,1fr) auto}
  body.pph-v67-ui .header-title{max-width:310px;font-size:25px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
}

/* ============================================================================
   2026-10-01 — Incremental login viewport-fit refinement (Step 1)
   Presentation only. Authentication/startup ids, handlers, event authority,
   tenant resolution, MFA and credential behavior remain unchanged.
   Goal: keep the complete signed-out welcome/sign-in surface visible in a
   normal desktop browser viewport, including shorter laptop-height windows.
   ============================================================================ */
@media (min-width:901px){
  #login-overlay{
    padding:clamp(10px,2vh,20px);
    overflow:hidden;
  }
  #login-overlay .login-card.login-landscape{
    width:min(1120px,calc(100vw - 32px));
    height:min(620px,calc(100vh - 24px));
    height:min(620px,calc(100dvh - 24px));
    min-height:0;
    max-height:calc(100vh - 24px);
    max-height:calc(100dvh - 24px);
    grid-template-columns:minmax(0,1.04fr) minmax(390px,.96fr);
  }
  #login-overlay .login-showcase{
    min-height:0;
    padding:18px 28px 20px;
    justify-content:center;
  }
  #login-overlay .platform-login-poster{
    width:min(390px,76%);
    max-height:min(35vh,270px);
    max-height:min(35dvh,270px);
  }
  #login-overlay .login-showcase-copy{
    margin-top:4px;
    max-width:560px;
    padding-bottom:0;
  }
  #login-overlay .login-showcase-kicker{
    margin-bottom:10px;
    padding:7px 11px;
    font-size:8px;
  }
  #login-overlay .login-showcase-copy h1{
    max-width:540px;
    font-size:clamp(28px,2.75vw,39px);
    line-height:1.01;
  }
  #login-overlay .pph80-login-values{
    gap:8px;
    margin:14px auto 0;
    max-width:560px;
  }
  #login-overlay .pph80-login-values>div{
    min-height:48px;
    padding:8px 10px;
    border-radius:14px;
    font-size:10px;
  }
  #login-overlay .pph80-login-values span{
    width:30px;
    height:30px;
    flex-basis:30px;
    font-size:14px;
  }
  #login-overlay .login-form-panel{
    min-height:0;
    padding:22px 42px;
    justify-content:center;
    overflow:auto;
    scrollbar-width:thin;
  }
  #login-overlay .login-form-panel .login-brand{
    margin-bottom:12px;
  }
  #login-overlay .login-form-panel .login-brand img{
    width:64px;
    height:64px;
    margin:0 0 7px;
  }
  #login-overlay .login-form-panel .login-product{
    font-size:28px;
    line-height:1.02;
  }
  #login-overlay .login-form-panel .login-tagline{
    margin-top:5px;
    font-size:7.5px;
    line-height:1.35;
  }
  #login-overlay .login-form-title{
    margin:4px 0 5px;
    font-size:20px;
  }
  #login-overlay .login-form-intro{
    margin:0 0 8px;
    font-size:10.5px;
    line-height:1.4;
  }
  #login-overlay .login-form-panel .login-label{
    margin:8px 0 5px;
    font-size:9.5px;
  }
  #login-overlay .login-form-panel .login-input{
    min-height:43px;
    font-size:13px;
    border-radius:11px;
  }
  #login-overlay .login-form-panel .login-help{
    margin:0 0 4px;
    font-size:8.5px;
    line-height:1.35;
  }
  #login-overlay .login-form-panel .login-error{
    min-height:13px;
    margin-top:4px;
    font-size:9px;
  }
  #login-overlay .login-form-panel .login-submit{
    min-height:44px;
    margin-top:7px;
    font-size:13px;
    border-radius:11px;
  }
  #login-overlay .login-form-panel .login-foot{
    margin-top:8px;
    font-size:8px;
  }
}

@media (min-width:901px) and (max-height:700px){
  #login-overlay{padding:8px 12px;}
  #login-overlay .login-card.login-landscape{
    width:min(1100px,calc(100vw - 24px));
    height:calc(100vh - 16px);
    height:calc(100dvh - 16px);
    max-height:calc(100vh - 16px);
    max-height:calc(100dvh - 16px);
  }
  #login-overlay .login-showcase{padding:12px 24px 14px;}
  #login-overlay .platform-login-poster{
    width:min(330px,70%);
    max-height:min(31vh,220px);
    max-height:min(31dvh,220px);
  }
  #login-overlay .login-showcase-kicker{margin-bottom:8px;padding:6px 10px;}
  #login-overlay .login-showcase-copy h1{font-size:clamp(27px,2.45vw,35px);}
  #login-overlay .pph80-login-values{margin-top:10px;gap:7px;}
  #login-overlay .pph80-login-values>div{min-height:42px;padding:6px 8px;font-size:9.5px;}
  #login-overlay .pph80-login-values span{width:27px;height:27px;flex-basis:27px;font-size:13px;}
  #login-overlay .login-form-panel{padding:14px 36px;}
  #login-overlay .login-form-panel .login-brand{margin-bottom:8px;}
  #login-overlay .login-form-panel .login-brand img{width:54px;height:54px;margin-bottom:5px;}
  #login-overlay .login-form-panel .login-product{font-size:24px;}
  #login-overlay .login-form-panel .login-tagline{margin-top:4px;font-size:7px;}
  #login-overlay .login-form-title{margin:2px 0 4px;font-size:18px;}
  #login-overlay .login-form-intro{margin-bottom:6px;font-size:9.5px;}
  #login-overlay .login-form-panel .login-label{margin:6px 0 4px;font-size:9px;}
  #login-overlay .login-form-panel .login-input{min-height:40px;font-size:12px;}
  #login-overlay .login-form-panel .login-help{font-size:8px;line-height:1.25;}
  #login-overlay .login-form-panel .login-error{min-height:10px;margin-top:2px;}
  #login-overlay .login-form-panel .login-submit{min-height:40px;margin-top:5px;font-size:12px;}
  #login-overlay .login-form-panel .login-foot{margin-top:5px;font-size:7.5px;}
}


/* STEP 2 — ProPest Hub AI fixed Conversation Mode control + dedicated Field Operations. */
body.pph-v67-ui .header-prohub-ai-launcher.pph-ai-conversation-control{
  display:flex;align-items:center;gap:8px;width:148px!important;min-width:148px!important;max-width:148px!important;height:42px!important;min-height:42px!important;max-height:42px!important;padding:5px 8px!important;overflow:hidden;white-space:nowrap;border-radius:12px!important;
}
body.pph-v67-ui .header-prohub-ai-launcher.pph-ai-conversation-control .prohub-ai-launcher-logo{flex:0 0 30px;width:30px!important;height:30px!important}
body.pph-v67-ui .header-prohub-ai-launcher.pph-ai-conversation-control .prohub-ai-launcher-logo img{width:27px!important;height:27px!important}
body.pph-v67-ui .header-prohub-ai-launcher.pph-ai-conversation-control .prohub-ai-launcher-copy{display:flex!important;min-width:0;overflow:hidden}
body.pph-v67-ui .header-prohub-ai-launcher.pph-ai-conversation-control .prohub-ai-launcher-copy strong{display:block;max-width:98px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px!important;line-height:1.05}
body.pph-v67-ui .header-prohub-ai-launcher.pph-ai-conversation-control .prohub-ai-launcher-copy small{display:block;max-width:98px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:7px!important;line-height:1.05;margin-top:3px}
body.pph-v67-ui .header-prohub-ai-launcher.pph-ai-conversation-control.conversation-active{border-color:rgba(52,220,217,.74);box-shadow:0 0 0 2px rgba(52,220,217,.13),0 10px 26px rgba(2,25,43,.30)}
body.pph-v67-ui .pph-ai-header-stop{display:inline-flex!important;align-items:center;justify-content:center;width:62px;min-width:62px;max-width:62px;height:42px;min-height:42px;max-height:42px;padding:0 7px!important;overflow:hidden;white-space:nowrap;visibility:hidden;opacity:0;pointer-events:none;border-color:rgba(239,83,80,.42)!important;color:#ffd0d0!important;background:rgba(110,24,34,.48)!important;transition:opacity .14s ease}
body.pph-v67-ui .pph-ai-header-stop.conversation-active{visibility:visible;opacity:1;pointer-events:auto}
body.pph-v67-ui .fieldops-command{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:22px;background:linear-gradient(135deg,rgba(7,45,74,.97),rgba(5,61,72,.92));border-color:rgba(43,155,185,.42)}
body.pph-v67-ui .fieldops-command-copy{min-width:0;max-width:760px}body.pph-v67-ui .fieldops-command h2{margin:5px 0 7px;font-size:24px;letter-spacing:-.03em}body.pph-v67-ui .fieldops-command p,body.pph-v67-ui .fieldops-card p{margin:0;color:var(--text-dim);font-size:11px;line-height:1.5}
body.pph-v67-ui .fieldops-sync-control{display:flex;align-items:center;gap:10px;flex:0 0 238px;min-height:62px;padding:10px 13px;border-radius:15px;border:1px solid var(--border2);background:linear-gradient(145deg,var(--card2),var(--card));color:var(--text);text-align:left;cursor:pointer}
body.pph-v67-ui .fieldops-sync-icon{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:12px;background:rgba(33,188,174,.12);color:var(--teal);font-size:20px;font-weight:900}body.pph-v67-ui .fieldops-sync-control strong,body.pph-v67-ui .fieldops-sync-control small{display:block;white-space:nowrap}body.pph-v67-ui .fieldops-sync-control strong{font-size:12px}body.pph-v67-ui .fieldops-sync-control small{margin-top:4px;color:var(--text-dim);font-size:9px}
body.pph-v67-ui .fieldops-sync-control.waiting{border-color:rgba(244,174,62,.52)}body.pph-v67-ui .fieldops-sync-control.waiting .fieldops-sync-icon{background:rgba(244,174,62,.12);color:var(--orange)}body.pph-v67-ui .fieldops-sync-control.needs-review{border-color:rgba(239,83,80,.58)}body.pph-v67-ui .fieldops-sync-control.needs-review .fieldops-sync-icon{background:rgba(239,83,80,.12);color:var(--red)}body.pph-v67-ui .fieldops-sync-control.synced{border-color:rgba(33,188,174,.42)}
body.pph-v67-ui .fieldops-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:12px}body.pph-v67-ui .fieldops-card{display:flex;flex-direction:column;gap:11px;min-height:165px}body.pph-v67-ui .fieldops-card .btn{margin-top:auto;align-self:flex-start}body.pph-v67-ui .fieldops-authority-note{margin-top:12px}
@media(max-width:900px){body.pph-v67-ui .fieldops-grid{grid-template-columns:1fr}body.pph-v67-ui .fieldops-command{align-items:flex-start;flex-direction:column}body.pph-v67-ui .fieldops-sync-control{width:100%;flex:0 0 auto}body.pph-v67-ui .pph-ai-header-stop{width:56px;min-width:56px;max-width:56px}}
@media(max-width:620px){body.pph-v67-ui .header-prohub-ai-launcher.pph-ai-conversation-control{width:116px!important;min-width:116px!important;max-width:116px!important;height:42px!important;min-height:42px!important;max-height:42px!important;border-radius:12px!important;padding:5px 7px!important}body.pph-v67-ui .header-prohub-ai-launcher.pph-ai-conversation-control .prohub-ai-launcher-copy{display:flex!important}body.pph-v67-ui .header-prohub-ai-launcher.pph-ai-conversation-control .prohub-ai-launcher-copy strong{max-width:67px;font-size:8px!important}body.pph-v67-ui .header-prohub-ai-launcher.pph-ai-conversation-control .prohub-ai-launcher-copy small{display:none!important}body.pph-v67-ui .pph-ai-header-stop{width:48px;min-width:48px;max-width:48px;font-size:9px!important}.fieldops-command h2{font-size:20px!important}}
/* STEP 2 geometry parity: the tenant and Control Plane use the same visible AI control treatment. */
body.pph-v67-ui .header-prohub-ai-launcher.pph-ai-conversation-control{
  background:linear-gradient(145deg,#082f4f,#0a4568)!important;
  border:1px solid rgba(67,176,194,.34)!important;
  color:#fff!important;
  box-shadow:0 9px 24px rgba(2,25,43,.20)!important;
}
/* STEP 2 mobile/stop override: keep the standardized AI + Stop pair reachable and reserve its lane. */
body.pph-v67-ui .header-right .pph-ai-header-stop{
  width:62px!important;min-width:62px!important;max-width:62px!important;height:42px!important;min-height:42px!important;max-height:42px!important;
}
@media(max-width:620px){
  body.pph-v67-ui .header-right .header-prohub-ai-launcher.pph-ai-conversation-control{display:flex!important;width:116px!important;min-width:116px!important;max-width:116px!important;}
  body.pph-v67-ui .header-right .pph-ai-header-stop{width:48px!important;min-width:48px!important;max-width:48px!important;}
}

/* ========================================================================== 
   2026-10-02 — TENANT AUTHENTICATED SHELL — PERMISSION-AWARE GLOBAL FINDER
   Presentation only. Record eligibility remains client-prefiltered and every
   underlying request/selection stays server-authoritative through canonical APIs.
   ========================================================================== */
body.pph-v67-ui #pph67-search-results{padding:7px!important}
body.pph-v67-ui .pph67-search-result{align-items:center!important;gap:10px!important;min-height:52px!important;padding:8px 10px!important}
body.pph-v67-ui .pph67-search-result .pph67-search-result-icon{width:30px!important;height:30px!important;flex:0 0 30px!important;display:grid!important;place-items:center!important;border-radius:9px!important;background:#0f3550!important;color:#49dac9!important;font-size:14px!important}
body.pph-v67-ui .pph67-search-result .pph67-search-result-copy{min-width:0;display:flex;flex:1;flex-direction:column;align-items:flex-start;gap:2px;line-height:1.2}
body.pph-v67-ui .pph67-search-result .pph67-search-result-copy strong{max-width:100%;font-size:13px;color:#f5fbff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.pph-v67-ui .pph67-search-result .pph67-search-result-copy small{max-width:100%;font-size:10.5px;color:#91adbf;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.pph-v67-ui .pph67-search-empty{padding:13px 12px;color:#91adbf;font-size:12px;text-align:center}
@media(max-width:900px){
  body.pph-v67-ui #pph67-search-input{font-size:13px!important;padding-right:16px!important}
  body.pph-v67-ui .pph67-search-result{min-height:50px!important}
  body.pph-v67-ui .pph67-search-result .pph67-search-result-copy small{white-space:normal;line-height:1.25}
}
