.apw-dialog{box-sizing:border-box;width:min(1050px,calc(100% - 26px));max-height:94dvh;padding:0;border:0;border-radius:24px;background:#f8fcfb;color:#244c51;box-shadow:0 24px 80px #123b4c55;font:15px/1.5 system-ui,-apple-system,sans-serif;overflow:hidden}.apw-dialog[open]{display:flex;flex-direction:column}.apw-dialog *{box-sizing:border-box}.apw-dialog::backdrop{background:#12313fd1;backdrop-filter:blur(5px)}.apw-header{position:relative;flex:none;padding:21px 26px;background:linear-gradient(115deg,#dcf2ed,#edf7f9);border-bottom:1px solid #d2e6df}.apw-eyebrow{font-size:10px;letter-spacing:1.4px;font-weight:750;color:#608778;padding-right:34px}.apw-title-row{display:flex;gap:13px;align-items:center;margin-top:10px}.apw-icon{display:grid;place-items:center;width:56px;height:58px;background:#bfe7df;border-radius:18px;color:#087e7f;font-size:30px;flex-shrink:0}.apw-dialog h2{font-size:27px;font-weight:800;letter-spacing:-.7px;line-height:1.2;color:#164f53;margin:0}.apw-title-row p{font-size:13px;color:#5b7c79;margin:5px 0 0}.apw-close{position:absolute;top:16px;right:17px;display:grid;place-items:center;border:0;background:#ffffffd9;color:#315b58;width:38px;height:38px;border-radius:50%;font:27px/1 system-ui;cursor:pointer}.apw-body{padding:18px 24px;overflow:auto;overscroll-behavior:contain;min-height:0}.apw-controls{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;align-items:end}.apw-controls label{display:grid;gap:5px;font-size:12px;font-weight:650;color:#638276;min-width:0}.apw-controls select{width:100%;min-height:44px;background:white;color:#274f4c;border:1px solid #cfe1d8;border-radius:11px;padding:10px 30px 10px 12px;font:650 14px system-ui}.apw-button{min-height:44px;padding:10px 12px;border:1px solid #cfe1d8;border-radius:11px;background:#fff;color:#236e65;cursor:pointer;font:650 12px system-ui;white-space:nowrap}.apw-location{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:15px 0 7px}.apw-location strong{color:#235e56;font-size:16px}.apw-location>span{font-size:11px;color:#648278}.apw-status{font-size:11px;color:#6b827b;line-height:1.5;margin:0 0 10px;min-height:17px}.apw-map{position:relative;height:clamp(360px,54dvh,600px);width:100%;overflow:hidden;border:1px solid #d4e4db;border-radius:15px;background:#eaf4ee}.apw-map iframe{display:block;width:100%;height:100%;border:0;background:#eaf4ee}.apw-placeholder{display:grid;place-content:center;text-align:center;height:100%;padding:20px;font-size:13px;color:#6c8c7c}.apw-placeholder>i{font-size:38px}.apw-help{display:flex;gap:9px;background:#eef5f2;border-radius:12px;border:1px solid #dfeae3;padding:12px;margin-top:12px;color:#5b796e}.apw-help>i{font-size:19px}.apw-help p{font-size:11px;line-height:1.6;margin:0}.apw-footer{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px;font-size:10px;color:#7e9285;margin-top:12px}.apw-expanded{width:calc(100% - 12px);height:calc(100dvh - 12px);max-height:calc(100dvh - 12px);margin:auto;border-radius:18px}.apw-expanded .apw-body{display:flex;flex-direction:column;flex:1;min-height:0}.apw-expanded .apw-map{flex:1;min-height:200px}.apw-expanded .apw-help,.apw-expanded .apw-footer{display:none}#apMobileServices [data-service-theme="transito-waze"]>.ap-m-service{background:linear-gradient(135deg,#e6f5f0,#dceff2);color:#195d62;border:1px solid #c0ded7}#apMobileServices [data-service-theme="transito-waze"] .ap-m-service-icon{color:#16817e}.apwaze-quick>.aprodap-access-card{background:linear-gradient(135deg,#e6f5f0,#dceff2)!important}.apw-dialog :focus-visible{outline:3px solid #278f7e;outline-offset:3px}@media(max-width:600px){.apw-dialog{width:calc(100% - 12px);max-height:96dvh;border-radius:20px}.apw-header{padding:18px 15px}.apw-body{padding:14px 12px}.apw-dialog h2{font-size:24px}.apw-title-row p{font-size:12px}.apw-icon{width:46px;height:52px;font-size:27px;border-radius:15px}.apw-controls{grid-template-columns:1fr auto;gap:8px}.apw-controls label{grid-row:1;grid-column:1}.apw-controls>#apWazeRefresh{grid-column:2;grid-row:1}.apw-controls>#apWazeExpand{grid-column:1/-1;justify-self:end;min-height:34px;padding:7px 10px;font-size:11px}.apw-location>span{font-size:10px}.apw-map{height:54dvh;min-height:350px}.apw-expanded{height:calc(100dvh - 12px);max-height:calc(100dvh - 12px)}.apw-expanded .apw-map{min-height:180px}.apw-expanded .apw-header{padding-top:12px;padding-bottom:12px}.apw-expanded .apw-title-row{margin-top:6px}.apw-expanded .apw-location{margin-top:8px}}
/* v2: local preferences, explicit geolocation, landmarks and compact expansion. */
.apw-dialog [hidden]{display:none!important}.apw-shortcuts{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 5px}.apw-mini{border:1px solid #cfe1d8;border-radius:10px;background:#fff;color:#286d63;padding:8px 11px;font:650 12px system-ui;min-height:38px;cursor:pointer}.apw-mini:disabled{opacity:.45;cursor:default}.apw-privacy{font-size:10px;color:#70877e;margin:5px 0 12px;line-height:1.5}.apw-feedback{font-size:11px;color:#316e5d;margin:8px 0}.apw-feedback:empty{display:none}.apw-sectors{background:#edf6f1;border:1px solid #d6e7dc;border-radius:12px;margin:12px 0}.apw-sectors>summary{padding:10px 12px;display:flex;justify-content:space-between;list-style:none;cursor:pointer;font-size:12px;font-weight:700;color:#3c7262}.apw-sectors>summary::-webkit-details-marker,.apw-help-details>summary::-webkit-details-marker{display:none}.apw-sector-buttons{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;padding:0 10px 10px}.apw-sector-buttons button{border:1px solid #c9ded1;border-radius:10px;background:white;padding:9px 8px;color:#316c5c;min-height:39px;font:650 11px system-ui;cursor:pointer}.apw-sector-buttons button[aria-pressed=true]{background:#d4ebdf;border-color:#78af97;color:#164f3e;box-shadow:inset 0 0 0 1px #96c1ab}.apw-map-tools{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:8px 0 10px}.apw-map-tools>div{display:flex;gap:6px}.apw-map-tools .apw-mini{font-size:11px;min-height:34px;padding:7px 9px}.apw-help-details{display:block;padding:0}.apw-help-details>summary{display:flex;align-items:center;gap:8px;list-style:none;cursor:pointer;padding:12px;font-size:12px;font-weight:650}.apw-help-details>summary>i:last-child{margin-left:auto}.apw-help-details>div{padding:0 12px 13px}.apw-help-details ol{font-size:12px;line-height:1.6;margin:0 0 10px;padding-left:19px}.apw-help-details p{margin:7px 0}.apw-text-button{border:0;background:transparent;color:#376e60;text-decoration:underline;padding:8px 0;font:12px system-ui;cursor:pointer}.apw-expanded .apw-shortcuts,.apw-expanded .apw-privacy,.apw-expanded .apw-sectors,.apw-expanded .apw-feedback,.apw-expanded .apw-status,.apw-expanded .apw-eyebrow,.apw-expanded .apw-title-row p,.apw-expanded .apw-icon{display:none}.apw-expanded .apw-header{padding:12px 60px 12px 16px}.apw-expanded .apw-title-row{margin:0}.apw-expanded h2{font-size:20px}.apw-expanded .apw-close{top:8px}.apw-expanded .apw-body{padding:10px 12px}.apw-expanded .apw-controls{grid-template-columns:minmax(0,1fr) auto auto;gap:6px}.apw-expanded .apw-controls>#apWazeExpand{grid-column:auto;grid-row:auto;min-height:44px;padding:9px}.apw-expanded .apw-location{margin:7px 0 0}.apw-expanded .apw-map-tools{margin:6px 0 8px}.apw-expanded .apw-map{min-height:140px}.apw-map iframe{min-height:0}@media(max-width:600px){.apw-sector-buttons{grid-template-columns:1fr 1fr}.apw-location{align-items:flex-start}.apw-location strong{font-size:14px;max-width:66%}.apw-location>span{max-width:42%;text-align:right}.apw-expanded .apw-controls select{font-size:13px;padding-left:8px}.apw-expanded .apw-button{font-size:10px;padding:8px}.apw-expanded .apw-controls label>span{display:none}.apw-expanded .apw-map-tools .apw-mini{font-size:10px;min-height:31px;padding:6px 8px}.apw-expanded .apw-location>span{display:none}.apw-expanded .apw-location strong{max-width:100%;font-size:12px}}

/* v3: scoped APRODAP themes. The Waze frame is neither recolored nor filtered. */
.apw-dialog{--apw-bg:#f8fcfb;--apw-panel:#ffffff;--apw-soft:#edf6f1;--apw-text:#244c51;--apw-muted:#5b786f;--apw-line:#cfe1d8;--apw-accent:#236e65;--apw-selected:#d4ebdf;--apw-title:#164f53;--apw-head1:#dcf2ed;--apw-head2:#edf7f9;--apw-notice:#fff2d4;--apw-notice-text:#735a25;background:var(--apw-bg);color:var(--apw-text)}
.apw-dialog[data-theme=dark]{--apw-bg:#101f2e;--apw-panel:#1a3041;--apw-soft:#162a3a;--apw-text:#e0edf1;--apw-muted:#aac1cb;--apw-line:#385566;--apw-accent:#a2e0d3;--apw-selected:#254e51;--apw-title:#e5f5f6;--apw-head1:#183849;--apw-head2:#142736;--apw-notice:#403923;--apw-notice-text:#f3daa0;box-shadow:0 25px 80px #0008}
.apw-header{background:linear-gradient(115deg,var(--apw-head1),var(--apw-head2));border-color:var(--apw-line)}.apw-dialog h2{color:var(--apw-title)}.apw-title-row p,.apw-eyebrow,.apw-controls label,.apw-location>span,.apw-status,.apw-privacy,.apw-footer{color:var(--apw-muted)}.apw-close{background:var(--apw-panel);color:var(--apw-accent)}.apw-icon{background:var(--apw-selected);color:var(--apw-accent)}.apw-controls select,.apw-theme select{background:var(--apw-panel);color:var(--apw-text);border-color:var(--apw-line)}.apw-dialog[data-theme=dark] select{color-scheme:dark}.apw-button,.apw-mini,.apw-sector-buttons button{background:var(--apw-panel);color:var(--apw-accent);border-color:var(--apw-line)}.apw-sector-buttons button[aria-pressed=true],.apw-quick-actions button[aria-pressed=true]{background:var(--apw-selected);border-color:#6b9f91;color:var(--apw-text);box-shadow:inset 0 0 0 1px #7da69b44}.apw-location strong,.apw-feedback{color:var(--apw-accent)}.apw-sectors,.apw-help,.apw-favorites,.apw-legend{background:var(--apw-soft);border-color:var(--apw-line);color:var(--apw-muted)}.apw-sectors>summary,.apw-help>summary,.apw-favorites>summary,.apw-legend>summary{color:var(--apw-accent)}.apw-text-button{color:var(--apw-accent)}.apw-map{border-color:var(--apw-line)}.apw-dialog :focus-visible{outline:3px solid #41bba5;outline-offset:3px}
.apw-eyebrow{max-width:calc(100% - 170px);padding-right:0;line-height:1.5}.apw-theme{position:absolute;right:64px;top:15px;display:flex;align-items:center;gap:6px;color:var(--apw-accent);background:var(--apw-panel);border:1px solid var(--apw-line);padding:0 8px;border-radius:12px;box-shadow:0 2px 7px #12262a08}.apw-theme i{font-size:16px}.apw-theme select{font:650 12px system-ui;border:0;padding:9px 0;min-height:40px;width:112px;cursor:pointer;outline-offset:2px}.apw-sr{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.apw-quick-actions{display:flex;gap:8px;margin:14px 0 9px;flex-wrap:wrap}.apw-quick-actions>button{display:flex;align-items:center;justify-content:center;gap:7px;flex:1;min-height:44px;padding:9px 10px;font-size:11px;white-space:nowrap}.apw-quick-actions i{font-size:15px}.apw-quick-actions>button:first-child{background:var(--apw-selected);color:var(--apw-text);border-color:#8fb9a9}.apw-favorites{border:1px solid var(--apw-line);border-radius:12px;margin:11px 0}.apw-favorites>summary,.apw-legend>summary{display:flex;gap:8px;align-items:center;cursor:pointer;list-style:none;padding:11px 12px;font-size:12px;font-weight:650}.apw-favorites>summary::-webkit-details-marker,.apw-legend>summary::-webkit-details-marker{display:none}.apw-favorites>summary>i:last-child,.apw-legend>summary>i:last-child{margin-left:auto;font-size:10px}.apw-favorites>summary>span{display:grid;place-items:center;width:19px;height:19px;font-size:10px;border-radius:50%;background:var(--apw-panel);color:var(--apw-accent)}#apWazeFavoriteList{display:flex;flex-wrap:wrap;gap:8px;padding:0 11px 7px}.apw-favorite-empty{font-size:11px;line-height:1.6;margin:0;color:var(--apw-muted)}.apw-favorite-chip{display:flex;max-width:100%;border:1px solid var(--apw-line);background:var(--apw-panel);border-radius:9px;overflow:hidden}.apw-favorite-chip button{font:650 11px/1.45 system-ui;background:transparent;border:0;min-height:42px;padding:9px 11px;color:var(--apw-accent);cursor:pointer;text-align:left;overflow-wrap:anywhere}.apw-favorite-chip button:first-child{flex:1;min-width:0}.apw-favorite-chip button[aria-pressed=true]{background:var(--apw-selected);color:var(--apw-text)}.apw-favorite-chip .apw-favorite-remove{border-left:1px solid var(--apw-line);flex:none;width:40px;text-align:center;font-size:19px}.apw-favorites>p{font-size:10px;line-height:1.6;margin:3px 12px;color:var(--apw-muted)}.apw-favorites>.apw-text-button{font-size:11px;margin:1px 12px 6px;min-height:35px}.apw-share-panel{border:1px solid var(--apw-line);border-radius:12px;background:var(--apw-soft);padding:13px;margin:11px 0}.apw-share-panel>strong{font-size:13px;color:var(--apw-accent)}.apw-share-panel>p{font-size:11px;color:var(--apw-muted);line-height:1.65;margin:7px 0 10px}.apw-share-panel>.apw-mini{margin-right:6px;min-height:42px}.apw-share-panel label{display:block;font-size:11px;color:var(--apw-muted);margin:8px 0}.apw-share-panel input{display:block;width:100%;min-width:0;margin-top:5px;font:12px/1.5 system-ui;padding:10px;border:1px solid var(--apw-line);border-radius:8px;background:var(--apw-panel);color:var(--apw-text)}.apw-share-status:empty{display:none}.apw-gps-note,.apw-offline{background:var(--apw-notice);color:var(--apw-notice-text);border-radius:9px;padding:9px 11px;margin:8px 0;font-size:11px;line-height:1.6}.apw-legend{border:1px solid var(--apw-line);border-radius:12px;margin-top:12px}.apw-legend>div{padding:0 12px 10px}.apw-legend p{font-size:11px;line-height:1.65;margin:7px 0}.apw-dialog button,.apw-theme{transition:background-color .16s,border-color .16s,box-shadow .16s}.apw-dialog button:hover:enabled{box-shadow:0 2px 10px #427a661c}.apw-dialog[data-theme=dark] button:hover:enabled{border-color:#79aeaa;box-shadow:0 2px 10px #0002}
/* Focus is optional and reversible; expansion retains the original controls. */
.apw-focus{height:calc(100dvh - 26px);max-height:calc(100dvh - 26px)}.apw-focus .apw-body{display:flex;flex-direction:column;flex:1;min-height:0}.apw-focus .apw-map{flex:1;min-height:160px}.apw-focus .apw-shortcuts,.apw-focus .apw-privacy,.apw-focus .apw-sectors,.apw-focus .apw-favorites,.apw-focus .apw-legend,.apw-focus .apw-help,.apw-focus .apw-footer,.apw-focus #apWazeFavorite,.apw-focus #apWazeShare,.apw-focus .apw-status,.apw-focus .apw-eyebrow,.apw-focus .apw-icon,.apw-focus .apw-title-row p{display:none}.apw-focus .apw-header{padding:12px 60px 12px 16px}.apw-focus .apw-title-row{margin:0;padding-right:130px}.apw-focus h2{font-size:18px;white-space:nowrap}.apw-focus .apw-close{top:8px}.apw-focus .apw-theme{top:8px;right:58px}.apw-focus .apw-quick-actions{margin:7px 0}.apw-focus .apw-quick-actions>button{flex:none;min-height:34px;font-size:11px;padding:6px 10px}.apw-focus .apw-location{margin-top:4px}.apw-expanded .apw-quick-actions,.apw-expanded .apw-favorites,.apw-expanded .apw-share-panel,.apw-expanded .apw-legend{display:none}.apw-expanded .apw-title-row{padding-right:118px}.apw-expanded .apw-theme{right:58px;top:7px;padding:0 5px;gap:4px}.apw-expanded .apw-theme i{display:none}.apw-expanded .apw-theme select{width:99px;min-height:35px;font-size:11px;padding:7px 0}.apw-expanded h2{font-size:18px;white-space:nowrap}.apw-expanded .apw-offline{font-size:10px;padding:5px 8px;margin:5px 0}.apw-expanded .apw-gps-note{display:none}
@media(max-width:600px){.apw-eyebrow{font-size:9px;letter-spacing:.7px;max-width:calc(100% - 175px);min-height:27px}.apw-theme{right:59px;top:14px;padding:0 6px;gap:4px}.apw-theme select{font-size:11px;width:103px;min-height:38px}.apw-theme i{font-size:14px}.apw-quick-actions{gap:6px}.apw-quick-actions>button{padding:9px 6px;gap:5px;font-size:10px;white-space:normal;min-height:44px}.apw-quick-actions i{font-size:14px}.apw-focus .apw-title-row{padding-right:108px}.apw-focus .apw-theme select{width:97px;min-height:35px}.apw-focus .apw-theme i{display:none}.apw-focus h2{font-size:16px;letter-spacing:-.4px}.apw-focus .apw-controls{grid-template-columns:minmax(0,1fr) auto auto;gap:5px}.apw-focus .apw-controls label>span{display:none}.apw-focus .apw-controls>#apWazeExpand{grid-column:auto;grid-row:auto;min-height:44px;padding:7px 6px;font-size:10px}.apw-focus .apw-controls>#apWazeRefresh{font-size:10px;padding:7px 6px}.apw-focus .apw-controls select{font-size:13px;padding-left:8px}.apw-focus .apw-location>span{display:none}.apw-focus .apw-body{padding:10px 12px}.apw-focus .apw-feedback{font-size:10px;margin:4px 0}.apw-focus .apw-map-tools .apw-mini{min-height:32px;font-size:10px;padding:6px 8px}.apw-expanded h2{font-size:16px;letter-spacing:-.4px}.apw-expanded .apw-title-row{padding-right:106px}.apw-expanded .apw-header{padding-left:12px}.apw-focus .apw-map{min-height:140px}}
@media(prefers-reduced-motion:reduce){.apw-dialog button,.apw-dialog .apw-theme{transition:none!important;animation:none!important}}
@media(max-width:360px){.apw-focus .apw-header,.apw-expanded .apw-header{padding-bottom:51px}.apw-focus .apw-title-row,.apw-expanded .apw-title-row{padding-right:0}.apw-focus .apw-theme,.apw-expanded .apw-theme{top:auto;bottom:8px}}
.apw-dialog button:disabled{opacity:.5;cursor:default}@media(max-width:600px){.apw-quick-actions>button{font-size:11px}}
