/* Owner-approved Gate 1 follow-ups: presentation only. */
#menu .menu-close{display:none}
#menu[aria-expanded=true] .menu-lines{display:none}
#menu[aria-expanded=true] .menu-close{display:inline}
#menu .ui-icon{pointer-events:none}
@media(min-width:701px){
 body[data-view=home] .illustration-caption{display:none}

 /* Gate 2: desktop dashboard only; landing and iPhone layout untouched. */
 body[data-view=dashboard]{--design-header-height:96px;--design-rail-width:76px;--design-navy:#001d3d;--design-ink:#0a1d3d;--design-blue:#0862c9;--design-cyan:#41c9f5;--design-workspace:#f2f6fa;--design-line:#d8e2ec;--design-muted:#65758b;background:#f2f6fa}
 body[data-view=dashboard] #app-header{height:96px;min-height:96px;padding:3px 40px;background:#001d3d;border-bottom:2px solid #41c9f5}
 body[data-view=dashboard] #app-header:before{left:37%;top:-28px;bottom:auto;width:660px;height:180px;opacity:.75;clip-path:inset(0 0 56px 0);background:url('/assets/design/v3/hexagons-sparse.svg') center/contain no-repeat}
 body[data-view=dashboard] .brand img{content:url('/assets/design/v3/field-advisor-landing.svg');width:275px;height:83px;object-fit:contain}
 body[data-view=dashboard] .header-actions{gap:24px}
 body[data-view=dashboard] .header-home{font-size:18px;font-weight:400}
 body[data-view=dashboard] #menu{width:48px;height:48px;min-height:48px;padding:9px;border:0;border-radius:2px;background:transparent;box-shadow:none;color:white}
 body[data-view=dashboard] #menu .ui-icon{width:30px;height:30px;stroke-width:2}
 body[data-view=dashboard] #menu:focus:not(:focus-visible){outline:none}
 body[data-view=dashboard] #menu:focus-visible{outline:3px solid #41c9f5;outline-offset:4px}
 body[data-view=dashboard] #desktop-rail{top:96px;width:76px;min-height:calc(100svh - 96px);padding:18px 10px;gap:8px;background:linear-gradient(180deg,#062650,#001d3d)}
 body[data-view=dashboard] #desktop-rail button{width:56px;height:48px;min-height:48px;padding:12px;justify-content:center;gap:0;border-radius:8px}
 body[data-view=dashboard] #desktop-rail button span{display:none}
 body[data-view=dashboard] #desktop-rail .ui-icon{width:25px;height:25px;stroke-width:2}
 body[data-view=dashboard] #desktop-rail .selected{background:linear-gradient(180deg,#087bd6,#0862c9);box-shadow:0 3px 8px #000c2440}
 body[data-view=dashboard] #desktop-rail .rail-home{margin-top:28px!important}
 body[data-view=dashboard] main{max-width:1444px;margin-left:76px;margin-right:auto;padding:34px 40px 28px;min-height:calc(100svh - 150px)}
 body[data-view=dashboard] .workspace-title{font-size:26px;line-height:1.2;letter-spacing:-.6px;margin:0 0 26px}
 body[data-view=dashboard] .metric-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
 body[data-view=dashboard] .metric-card{min-height:190px;padding:24px;border-radius:12px;border:1px solid #d8e2ec;background:linear-gradient(135deg,#fff,#f8fbfd);box-shadow:0 3px 10px #092b5021;color:#0a1d3d}
 body[data-view=dashboard] .metric-card>.ui-icon{width:32px;height:32px;stroke-width:2;color:#0862c9;margin-bottom:14px}
 body[data-view=dashboard] .metric-card>span{font-size:14px;font-weight:600;line-height:1.3;max-width:180px}
 body[data-view=dashboard] .metric-card strong{font-size:32px;line-height:1.1;margin-top:10px;font-weight:700}
 body[data-view=dashboard] .metric-card:last-child>.ui-icon{color:#f59e0b}
 body[data-view=dashboard] .metric-card:last-child strong{color:#f97316}
 body[data-view=dashboard] .dashboard-columns{grid-template-columns:minmax(0,1.65fr) minmax(320px,1fr);gap:32px;margin-top:34px}
 body[data-view=dashboard] .recent-activity h2,body[data-view=dashboard] .dashboard-actions h2{font-size:20px;line-height:1.25;letter-spacing:-.4px;margin:0 0 16px}
 body[data-view=dashboard] .activity-list{border:1px solid #d8e2ec;border-radius:12px;min-height:196px;background:white;box-shadow:0 3px 10px #092b500c}
 body[data-view=dashboard] .activity-list>button{background:#fff;min-height:66px;padding:16px 20px;font-size:15px;gap:14px;border-bottom:1px solid #d8e2ec;line-height:1.35}
 body[data-view=dashboard] .activity-list>button:hover{background:#eef7ff}
 body[data-view=dashboard] .activity-list small{font-size:13px;color:#65758b;margin-top:3px}
 body[data-view=dashboard] .activity-list time{font-size:12px;color:#65758b}
 body[data-view=dashboard] .activity-dot{width:11px;height:11px}
 body[data-view=dashboard] .activity-dot.green{background:#16a34a}
 body[data-view=dashboard] .activity-dot.amber{background:#f59e0b}
 body[data-view=dashboard] .activity-dot.cyan{background:#087bd6}
 body[data-view=dashboard] .activity-empty{padding:24px;font-size:15px;line-height:1.5;color:#65758b}
 body[data-view=dashboard] .quick-action-list{gap:12px}
 body[data-view=dashboard] .quick-action-list button{min-height:56px;padding:14px 16px;border-radius:9px;font-size:15px;font-weight:600;line-height:1.3;gap:14px}
 body[data-view=dashboard] .quick-action-list button>.ui-icon{width:25px;height:25px;stroke-width:2}
 body[data-view=dashboard] .quick-action-list button>.ui-icon:last-child{width:18px;height:18px}
 body[data-view=dashboard] .quick-action-list .new-assessment{background:linear-gradient(180deg,#087ad7,#0647a9);border-color:#0862c9}
 body[data-view=dashboard] .quick-action-list .new-quick{background:linear-gradient(90deg,#dcefff,#b8ddfb);border-color:#b8ddfb;color:#062650}
 body[data-view=dashboard] .quick-action-list .find-customer{background:linear-gradient(#fff,#f5f7fa);border-color:#d8e2ec;color:#0a1d3d}
 body[data-view=dashboard] .dashboard-signin{margin:16px 0 0}
 body[data-view=dashboard] .dashboard-signin button{font-size:14px;color:#0862c9}
 body[data-view=dashboard] .dashboard-utility-region{margin-top:32px;border-top:1px solid #d8e2ec;padding-top:18px;color:#65758b}
 body[data-view=dashboard] .dashboard-utility-region>summary{width:max-content;max-width:100%;cursor:pointer;padding:10px 8px;font-size:14px;font-weight:600;min-height:44px;border-radius:6px;color:#062650}
 body[data-view=dashboard] .workspace-utilities{margin:12px 0 0;padding:20px;border:1px solid #d8e2ec;border-radius:12px;background:#fff}
 body[data-view=dashboard] .workspace-utilities h2{display:none}
 body[data-view=dashboard] .workspace-utilities .actions{margin-top:0;gap:10px}
 body[data-view=dashboard] .workspace-utilities button{font-size:13px;min-height:44px;padding:10px 14px}
 body[data-view=dashboard] .workspace-utilities .dashboard-media{display:inline-flex;align-items:center;gap:8px}
 body[data-view=dashboard] .workspace-utilities .dashboard-media .ui-icon{width:20px;height:20px}
 body[data-view=dashboard] #record-tools{display:none}
 body[data-view=dashboard] footer{margin-left:76px;padding:14px 40px;color:#65758b;font-size:11px}
}
@media(min-width:701px) and (max-width:1100px){
 body[data-view=dashboard] main{padding:28px 28px 24px}
 body[data-view=dashboard] .metric-grid{gap:16px;grid-template-columns:repeat(2,minmax(0,1fr))}
 body[data-view=dashboard] .metric-card{min-height:168px}
 body[data-view=dashboard] .dashboard-columns{grid-template-columns:1fr;gap:28px;margin-top:28px}
 body[data-view=dashboard] #app-header{padding-left:28px;padding-right:28px}
}

@media(min-width:701px){
 body[data-view=dashboard] #secondary{top:83px;right:40px;width:312px;padding:7px;border-radius:14px;border:1px solid #d8e2ec;background:#fff;box-shadow:0 12px 28px #00173938}
 body[data-view=dashboard] #secondary .menu-row{height:46px;min-height:46px;padding:9px 14px!important;gap:18px;border-bottom:1px solid #d8e2ec!important;background:linear-gradient(90deg,#fff,#fafcff)!important;font:500 18px/1.3 Arial,Helvetica,sans-serif!important;color:#0a1d3d!important}
 body[data-view=dashboard] #secondary .menu-row:first-child{background:linear-gradient(90deg,#dcefff,#b8ddfb)!important;border-radius:8px!important}
 body[data-view=dashboard] #secondary .menu-row:last-child{border-bottom:0!important}
 body[data-view=dashboard] #secondary .menu-row .ui-icon{width:27px;height:27px;stroke-width:2;color:#062650}
 body[data-view=dashboard] #secondary .menu-row[data-design-route=quick]{margin-left:17px;width:calc(100% - 17px);background:linear-gradient(90deg,#e9f5ff,#b8ddfb)!important;border-radius:8px!important}
 body[data-view=dashboard] #secondary .menu-row:hover,body[data-view=dashboard] #secondary .menu-row:focus{background:linear-gradient(90deg,#dcefff,#b8ddfb)!important;border-radius:8px!important}
 body[data-view=dashboard] #secondary .menu-row:focus-visible{outline:3px solid #087bd6;outline-offset:-3px}
}
