/* The map owns the viewport; controls open only when needed. */
:root{--app-header:60px;--app-nav:calc(72px + env(safe-area-inset-bottom))}
body{overflow:hidden}.topbar{height:var(--app-header);padding:0 20px}.brand{font-size:20px}.brand-icon{width:32px;height:32px;font-size:24px}.brand small{font-size:10px}.install{padding:9px 13px}body main{position:relative;display:block;height:calc(100dvh - var(--app-header) - var(--app-nav))}body .map-wrap{position:absolute;inset:0;visibility:visible}.intro{display:none!important}body #sidebar{display:none;position:absolute;inset:0;left:50%;transform:translateX(-50%);width:min(880px,100%);border:0;z-index:600}body.list-mode #sidebar{display:flex}body.list-mode .map-wrap{visibility:hidden}body .filters{display:none;max-height:none;padding:0 20px 16px;overflow:visible;box-shadow:none}body.list-mode .results{display:block;padding:0 18px 18px}body.list-mode .result-head,body.list-mode .data-note{display:flex}body.list-mode .result-head{padding:18px 24px 10px}.filter-sheet-header{display:none}.filter-footer{display:flex;gap:16px;align-items:center;justify-content:space-between;margin-top:16px}.filter-footer #filter-apply{padding:13px 30px;border-radius:10px;background:#103f38;color:white;font-weight:600}body.filter-open #sidebar{display:flex;position:fixed;top:auto;bottom:var(--app-nav);left:50%;width:min(540px,100%);max-height:calc(100dvh - var(--app-header) - var(--app-nav) - 24px);height:auto;border-radius:22px 22px 0 0;box-shadow:0 -10px 40px #103f3822;overflow:auto;overscroll-behavior:contain}body.filter-open .filters{display:block}body.filter-open .results,body.filter-open .result-head{display:none}body.filter-open .filter-sheet-header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px 8px;position:sticky;top:0;background:white;z-index:2}body.filter-open .data-note{display:flex;padding:8px 20px}#filter-scrim{position:fixed;inset:var(--app-header) 0 var(--app-nav);z-index:590;background:#142c2945;cursor:default}.filter-sheet-header strong{font-size:17px}.filter-sheet-header .close{width:36px;height:36px}.map-floating{position:absolute;right:16px;bottom:24px;z-index:450;display:flex;flex-direction:column;align-items:center;gap:10px}.map-floating button{width:52px;height:52px;border-radius:17px;box-shadow:0 3px 15px #122c3433;border:1px solid #dce8e2;padding:0;margin:0;font-size:0!important;background:white;color:#25514a}.map-floating #gps-start{background:white;color:#246bb3}.map-floating #gps-start[aria-pressed=true]{background:#2869af;color:white}.map-floating #gps-start:before{content:'◎';font-size:31px}.map-floating #fit:before{content:'⤢';font-size:27px}.map-summary-stack{position:absolute;left:16px;bottom:24px;max-width:min(340px,calc(100% - 100px));z-index:450;display:flex;flex-direction:column;align-items:start;gap:7px}#map-summary{width:100%;min-width:190px;background:#fffffff5;border:1px solid #e2ebe7;box-shadow:0 3px 15px #122c3426;border-radius:14px;padding:11px 15px;text-align:left;color:#173d36}#map-summary strong,#map-summary small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#map-summary strong{font-size:14px}#map-summary small{font-size:11px;color:#617b72;margin-top:5px}#gps-peek{max-width:100%;border-radius:20px;padding:7px 11px;background:#ffffffef;color:#276da4;box-shadow:0 2px 8px #122c341a;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.map-error{top:12px;left:16px;right:75px;font-size:12px;padding:10px}.leaflet-control-zoom{margin-top:12px!important;margin-right:16px!important}.map-top,.map-bottom{display:none!important}
body .mobile-nav{display:flex;position:fixed;inset:auto 0 0;height:var(--app-nav);padding:6px max(10px,calc((100vw - 600px)/2)) calc(6px + env(safe-area-inset-bottom));gap:4px;background:#fff;z-index:700;box-shadow:0 -3px 18px #183b3410;border-top:1px solid #e0e9e5}body .mobile-nav button{min-width:0;flex:1;background:white;border-radius:12px;color:#74867f;font-size:12px;padding:5px 2px;position:relative;white-space:nowrap}body .mobile-nav button:before{display:block;font-size:23px;line-height:27px;margin-bottom:3px;font-weight:500}#view-map:before{content:'◇'}#view-list:before{content:'☷'}#crm-new:before{content:'＋';border-radius:12px;background:#cef56b;color:#16463b;width:45px;margin:0 auto 3px!important;font-size:27px!important}#crm-work:before{content:'▥'}#filter-open:before{content:'☷';transform:rotate(90deg)}body .mobile-nav button.active,body.workspace-open .mobile-nav #crm-work{background:#edf5f0;color:#174d3e;font-weight:700}body.workspace-open .mobile-nav #view-map,body.workspace-open .mobile-nav #view-list{background:white;color:#74867f;font-weight:400}#filter-open[aria-expanded=true]{background:#edf5f0;color:#174d3e}#filter-open.has-filters:after{content:'';position:absolute;width:7px;height:7px;border-radius:50%;background:#cf963a;top:7px;right:calc(50% - 18px)}body.workspace-open .map-wrap,body.workspace-open #sidebar{visibility:hidden}body #crm.workspace-mode{position:fixed;top:var(--app-header);bottom:var(--app-nav);left:0;right:0;margin:0 auto;width:min(900px,100%);height:calc(100dvh - var(--app-header) - var(--app-nav));max-height:none;border:0;border-radius:0;box-shadow:none;padding:18px 24px;z-index:650;background:#fff}body.workspace-open{background:white}#connection{bottom:calc(var(--app-nav) + 135px);font-size:12px;pointer-events:none}#crm-pick-cancel{bottom:calc(var(--app-nav) + 145px)}#crm-message{bottom:calc(var(--app-nav) + 15px)}
@media(max-width:760px){:root{--app-header:44px;--app-nav:calc(70px + env(safe-area-inset-bottom))}.topbar{padding:0 12px}.brand{font-size:16px;letter-spacing:1px;gap:7px}.brand-icon{width:25px;height:25px;font-size:19px;border-radius:7px}.brand small{display:none}.quiet{font-size:11px;padding:7px}.install{font-size:10px;padding:7px 9px}.top-actions{gap:2px}.map-floating{right:13px;bottom:24px}.map-summary-stack{left:13px;max-width:calc(100% - 92px)}.map-floating button{width:48px;height:48px;border-radius:15px}#map-summary{min-width:0;padding:10px 12px}#map-summary strong{font-size:13px}body .mobile-nav button{font-size:10px}body #crm.workspace-mode{padding:14px 16px}body .filters{padding:0 16px 14px}body.filter-open .filter-sheet-header{padding:12px 16px 8px}body.filter-open .data-note{padding:7px 16px}.radius-controls{margin:12px 0}.radius-controls button{min-height:40px;min-width:55px}.chips button{min-height:36px}.crm-filter select{min-height:38px}.crm-filter label{min-height:38px}.search input{padding:12px 0}.leaflet-control-zoom{margin-right:13px!important}.crm-dashboard-head{margin-top:12px}}

.leaflet-bottom.leaflet-right .leaflet-control-zoom{margin-bottom:155px!important}

/* Sculpted navigation: shared vector strokes, circular selected surface. */
body .mobile-nav{left:10px;right:10px;bottom:max(6px,env(safe-area-inset-bottom));height:64px;max-width:600px;margin:auto;padding:3px 8px;gap:2px;border:1px solid #e6ede7;border-radius:34px;background:#fffffff7;box-shadow:0 5px 24px #153e3921,0 1px 3px #153e3910;backdrop-filter:blur(16px)}
body .mobile-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;padding:0 2px;border-radius:28px;background:transparent!important;color:#6a7771;font-size:10px;font-weight:500;letter-spacing:.15px;-webkit-tap-highlight-color:transparent;transition:color .18s ease,transform .18s ease}body .mobile-nav button:before{content:""!important;display:block;flex-shrink:0;width:36px!important;height:36px;line-height:36px;margin:0!important;border-radius:50%!important;background-color:transparent;background-size:25px 25px;background-repeat:no-repeat;background-position:center;transform:none!important;opacity:.72;transition:background-color .18s ease,box-shadow .18s ease,opacity .18s ease}body .mobile-nav button.active:before,body.workspace-open .mobile-nav #crm-work:before,#filter-open[aria-expanded=true]:before{background-color:#d3f572;box-shadow:0 2px 7px #86a63825;opacity:1}body .mobile-nav button.active,body.workspace-open .mobile-nav #crm-work,#filter-open[aria-expanded=true]{color:#173e32;font-weight:700}body.workspace-open .mobile-nav #view-map:before,body.workspace-open .mobile-nav #view-list:before{background-color:transparent;box-shadow:none;opacity:.72}body .mobile-nav #crm-new:before{background-color:#153f35;box-shadow:0 3px 8px #153f3533;opacity:1}body .mobile-nav #crm-new{color:#24493d;font-weight:650}body .mobile-nav button:active{transform:scale(.94)}body .mobile-nav button:focus-visible{outline:2px solid #368567;outline-offset:1px}#filter-open.has-filters:after{top:5px;right:calc(50% - 16px);width:6px;height:6px;border:2px solid white} @media(prefers-reduced-motion:reduce){body .mobile-nav button,body .mobile-nav button:before{transition:none}}
body .mobile-nav #view-map:before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23173e32%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m3%207%206-3%206%203%206-3v16l-6%203-6-3-6%203Z%22%2F%3E%3Cpath%20d%3D%22M9%204v16m6-13v16%22%2F%3E%3C%2Fsvg%3E")}
body .mobile-nav #view-list:before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23173e32%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2011v10h16V11M3%207l2-4h14l2%204v2a3%203%200%200%201-4.5%202.6%203%203%200%200%201-4.5%200%203%203%200%200%201-4.5%200A3%203%200%200%201%203%209Z%22%2F%3E%3Cpath%20d%3D%22M9%2021v-6h6v6M3%207h18%22%2F%3E%3C%2Fsvg%3E")}
body .mobile-nav #crm-new:before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23d3f572%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M8%204H6a2%202%200%200%200-2%202v14a2%202%200%200%200%202%202h12a2%202%200%200%200%202-2V6a2%202%200%200%200-2-2h-2%22%2F%3E%3Crect%20x%3D%228%22%20y%3D%222%22%20width%3D%228%22%20height%3D%225%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M12%2011v7m-3.5-3.5h7%22%2F%3E%3C%2Fsvg%3E")}
body .mobile-nav #crm-work:before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23173e32%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%223%22%20width%3D%2218%22%20height%3D%2218%22%20rx%3D%224%22%2F%3E%3Cpath%20d%3D%22M7.5%2016v-3m4.5%203V8m4.5%208v-5%22%2F%3E%3C%2Fsvg%3E")}
body .mobile-nav #filter-open:before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23173e32%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%206h16M4%2012h16M4%2018h16%22%2F%3E%3Crect%20x%3D%227%22%20y%3D%224%22%20width%3D%224%22%20height%3D%224%22%20rx%3D%221.5%22%20fill%3D%22white%22%2F%3E%3Crect%20x%3D%2214%22%20y%3D%2210%22%20width%3D%224%22%20height%3D%224%22%20rx%3D%221.5%22%20fill%3D%22white%22%2F%3E%3Crect%20x%3D%227%22%20y%3D%2216%22%20width%3D%224%22%20height%3D%224%22%20rx%3D%221.5%22%20fill%3D%22white%22%2F%3E%3C%2Fsvg%3E")}

/* Context belongs to the selected location, not a persistent map overlay. */
.map-summary-stack{display:none!important}
#position-card{position:fixed;inset:auto 0 0;margin:0 auto;width:min(540px,100%);max-height:80dvh;padding:22px 22px calc(22px + env(safe-area-inset-bottom));border:0;border-radius:24px 24px 0 0;box-shadow:0 -10px 40px #103f3822;box-sizing:border-box}
#position-card::backdrop{background:#142c2933}#position-address{font-size:17px;font-weight:650;line-height:1.5;margin:18px 0 8px}.position-meta{font-size:12px;color:#687c74;line-height:1.6}.position-radii{display:flex;gap:10px;margin:18px 0}.position-radii button{flex:1;padding:12px;background:#f1f5f2;border-radius:12px;color:#294e41;border:1px solid transparent}.position-radii button[aria-pressed=true]{background:#e3f4c3;border-color:#a9cf68;font-weight:700}#position-card>.primary-link,#position-card>.secondary-link{display:block;width:100%;margin-top:10px;padding:14px;border-radius:12px}#position-warning{font-size:13px;color:#96611e}
.leaflet-tooltip.poi-label{display:none;max-width:126px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border:1px solid #dce6df;border-radius:7px;padding:4px 7px;background:#fffffff2;color:#244439;font-size:11px;font-weight:600;box-shadow:0 2px 5px #173e3217;pointer-events:none}.labels-hubs .hub-label,.labels-restaurants .restaurant-label{display:block}.leaflet-tooltip.poi-label:before{display:none}.gps-dot{cursor:pointer}

[hidden]{display:none!important}#system-sheet{width:min(500px,calc(100% - 28px));max-height:85dvh;border:0;border-radius:24px;padding:22px;color:#173e32;box-shadow:0 12px 50px #103f3833}#system-sheet::backdrop{background:#142c2955}.system-menu{display:grid;gap:12px;margin-top:20px}.system-menu button{display:grid;grid-template-columns:42px 1fr;text-align:left;align-items:center;background:#f1f6f2;border-radius:16px;padding:17px;gap:5px 12px;color:#173e32}.system-menu span{grid-row:span 2;font-size:28px}.system-menu small{font-size:12px;color:#6a7e74}.system-help{font-size:13px;line-height:1.7;color:#657b70}.profile-section{padding:12px 0;border-bottom:1px solid #e5ece7}.profile-section h3{font-size:15px}.language-options{display:flex;gap:8px}.language-options button{flex:1;padding:12px 5px;border-radius:12px;background:#f0f4f1;color:#37574b}.language-options [aria-pressed=true]{background:#d3f572;font-weight:700}.setup-tag{display:inline-block;padding:7px 10px;background:#fff3d6;border-radius:8px;font-size:12px}.source-list p{display:flex;justify-content:space-between;gap:10px;font-size:12px;border-bottom:1px solid #e6ece8;padding:12px 0}.source-list span{color:#6a7e74}.profile-actions{display:grid;gap:8px;margin-top:15px}#system-sheet input,#system-sheet select{display:block;box-sizing:border-box;width:100%;margin:8px 0 14px;padding:12px;border:1px solid #d7e3da;border-radius:10px}#system-sheet form button,.profile-actions button,#update-retry{padding:12px;border-radius:10px;background:#edf3ed;color:#214e3c}#account-status,#update-status{font-size:13px;line-height:1.6}#profile-open{border:1px solid #ffffff30;border-radius:20px;padding:7px 12px;color:#eef7ee}body .mobile-nav #filter-open:before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23173e32' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='2'/%3E%3Crect x='14' y='3' width='7' height='7' rx='2'/%3E%3Crect x='3' y='14' width='7' height='7' rx='2'/%3E%3Crect x='14' y='14' width='7' height='7' rx='2'/%3E%3C/svg%3E")}

/* Each full-screen panel owns a scroll container. */
body #crm.workspace-mode{overflow-y:auto;overflow-x:hidden;box-sizing:border-box;min-height:0;touch-action:pan-y;-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain;padding-bottom:36px}#crm.workspace-mode #crm-close{display:none}#crm.workspace-mode .dialog-top{position:static}
.merchant-tools{display:none}body.list-mode:not(.filter-open) .merchant-tools{display:block;flex-shrink:0;padding:14px 16px 10px;background:white;border-bottom:1px solid #e3ebe6}.merchant-tools input{width:100%;box-sizing:border-box;padding:12px 14px;background:#f2f6f3;border:1px solid #d9e4dd;border-radius:12px;color:#23473b;font-size:16px}.merchant-types{display:flex;gap:6px;margin-top:12px}.merchant-types button{flex:1;min-width:0;font-size:12px;padding:10px 3px;border-radius:18px;color:#61786d;background:#f0f4f1}.merchant-types button[aria-pressed=true]{background:#d3f572;color:#173e32;font-weight:700}#merchant-context{font-size:11px;color:#697e73;line-height:1.5;margin:10px 0 0}body.list-mode #sidebar{min-height:0;overflow:hidden}body.list-mode .results{flex:1;min-height:0;overflow-y:auto;touch-action:pan-y}body.list-mode .result-head{flex-shrink:0;padding:10px 16px}.pin.dinein{background:#7c86a1;color:white}.card-icon.dinein,.status.dinein{background:#edf0f7;color:#5c6682}.manual-pin{width:28px;height:28px;border-radius:50% 50% 50% 0;background:#e78a2e;border:3px solid white;box-shadow:0 2px 8px #0005;transform:rotate(-45deg);display:block}.merchant-distance{font-weight:700;color:#194f40}

/* Crisp map actions: optically centred vector icons, independent of font glyphs. */
.map-floating{right:16px;gap:10px}
.map-floating button{width:48px;height:48px;display:grid;place-items:center;border-radius:16px;border:1px solid rgba(16,63,56,.10);background:#fff;box-shadow:0 4px 16px rgba(16,40,35,.12),0 1px 3px rgba(16,40,35,.06);line-height:1;transition:background .16s,box-shadow .16s,transform .16s;-webkit-tap-highlight-color:transparent}
.map-floating button:active{transform:scale(.94);box-shadow:0 2px 6px rgba(16,40,35,.12)}
.map-floating button:focus-visible{outline:3px solid #cef56b;outline-offset:3px}
.map-floating #gps-start{color:#265f79}
.map-floating #gps-start[aria-pressed=true]{background:#e8f3ef;color:#17614d;border-color:#bcd9cc}
.map-floating #gps-start:before,.map-floating #fit:before{content:'';display:block;width:24px;height:24px;font-size:0;transform:none;position:static;margin:0;background:currentColor;mask-position:center;mask-size:24px 24px;mask-repeat:no-repeat}
.map-floating #gps-start:before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='6.5'/%3E%3Ccircle cx='12' cy='12' r='2.3' fill='black' stroke='none'/%3E%3Cpath d='M12 2v3M12 19v3M2 12h3M19 12h3'/%3E%3C/svg%3E")}
.map-floating #fit:before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 4H4v4m12-4h4v4M4 16v4h4m12-4v4h-4'/%3E%3Crect x='8.5' y='8.5' width='7' height='7' rx='1.8' stroke-width='1.5'/%3E%3C/svg%3E")}
@media(prefers-reduced-motion:reduce){.map-floating button{transition:none}}
.map-floating button{position:relative;display:block}.map-floating #gps-start:before,.map-floating #fit:before{position:absolute;inset:0;margin:auto}

/* Merchant details: identity, evidence, then sales actions. */
#detail{padding:22px;border-radius:24px;width:min(560px,calc(100% - 24px))}
#detail .dialog-top{margin-bottom:12px}#detail-tag{font-size:12px;color:#7b8c86}
.merchant-title-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding-right:4px}
#detail .detail-title{font-size:25px;line-height:1.25;margin:0;letter-spacing:-.5px;overflow-wrap:anywhere}
.merchant-state{font-size:11px;line-height:1.4;padding:4px 8px;border-radius:7px;background:#eef2f0;color:#61716b;white-space:nowrap}
.merchant-state.pending{background:#f7f2e6;color:#8b754a}.merchant-state.delivery{background:#e9f3ec;color:#357051}
.merchant-meta{display:flex;gap:8px 16px;flex-wrap:wrap;font-size:12px;color:#73827c;margin:12px 0}
.merchant-address-row{display:flex;gap:14px;align-items:center;padding:14px 0;border-top:1px solid #edf0ee}
#detail .detail-address{font-size:15px;line-height:1.6;margin:0;flex:1;color:#405b51;overflow-wrap:anywhere}
.merchant-nav{flex:none;padding:9px 12px;border:1px solid #dce6e0;border-radius:10px;font-size:13px;text-decoration:none;color:#305e4e;background:#f8faf8}
.merchant-verification{font-size:12px;line-height:1.7;color:#7a8175;margin:0;padding:10px 0}
.merchant-source{border-top:1px solid #edf0ee;padding:13px 0;color:#77847d;font-size:12px}
.merchant-source summary{cursor:pointer;line-height:1.7}.merchant-source summary span{float:right;font-variant-numeric:tabular-nums}.merchant-source .facts{border:0;padding:8px 0;margin:0;font-size:12px}
#detail .crm-detail{background:#f5f8f5;border:1px solid #e7eee8;border-radius:17px;padding:16px;margin-top:12px}
#detail .crm-detail h3{font-size:15px;margin:0 0 14px}#detail .crm-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:0}
#detail .crm-actions button{min-height:44px;padding:10px;border-radius:10px;background:white;border:1px solid #e0e8e2;font-size:13px}
#detail .crm-actions [data-crm=edit]{background:#174d3f;color:white;border-color:#174d3f}
#detail .crm-actions [data-crm=hide]{color:#87938b;background:transparent;border-color:transparent}
#detail .crm-help{font-size:11px;line-height:1.65;margin:12px 0 0;color:#839088}

/* Option A: compact map detail, clear full-width exploration and quiet overflow. */
#detail .merchant-address-row{border:0;padding:4px 0 12px;gap:12px}
#detail .merchant-nav{display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:6px 9px;min-height:34px;border-radius:18px;background:#f4f7f5;font-size:12px;white-space:nowrap}
#detail .merchant-nav svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#detail .detail-actions{display:block;margin:6px 0 0;padding:0;border-top:1px solid #e9eeeb}
#detail .merchant-nearby{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:48px;padding:12px 0;background:transparent;border:0;border-radius:0;font-size:14px;text-align:left;white-space:nowrap}
#detail .merchant-nearby small{flex:none;font-size:12px;color:#75877d;white-space:nowrap}
#detail .merchant-nearby small span{margin-left:8px;font-size:20px}
#detail .merchant-verification{padding:6px 0 12px;font-size:12px}
#detail .crm-detail{padding:18px 0 14px;border:0;border-top:1px solid #e9eeeb;border-radius:0;background:transparent;margin-top:4px}
#detail .crm-detail h3{font-size:14px;margin-bottom:12px}
#detail .crm-actions{display:flex;flex-wrap:wrap;gap:8px}
#detail .crm-actions button{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:1 0 auto;min-height:44px;white-space:nowrap;padding:10px 12px;font-size:13px;border-radius:12px}
#detail .merchant-more{margin-top:14px;color:#718078;font-size:12px}
#detail .merchant-more summary{cursor:pointer;min-height:28px}
#detail .merchant-more .crm-actions{margin-top:8px}
#detail .merchant-source{margin-top:0;padding-top:14px}
@media(pointer:coarse){#detail .merchant-nav{min-height:44px;background:transparent;border:0}}

.frequency-picker{grid-column:1/-1;display:grid;gap:10px}.frequency-presets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.frequency-presets button{min-height:44px;padding:8px 5px;font-size:12px;border:1px solid #dce6e0;border-radius:12px;background:#fff;color:#49635b;white-space:normal}.frequency-presets button[aria-pressed="true"]{background:#154f41;color:#fff;border-color:#154f41}.frequency-custom:not([hidden]){display:grid;grid-template-columns:1fr 1fr;gap:12px}.frequency-result{color:#647b71;font-size:12px}

#results .merchant-photo-row{display:flex;gap:12px;align-items:center;padding:14px;width:100%;box-sizing:border-box}.merchant-thumb{flex:0 0 72px;width:72px;height:72px;border:0;border-radius:14px;overflow:hidden;padding:0;background:#eef3ef;color:#96aaa0;display:grid;place-items:center}.merchant-thumb:disabled{opacity:1}.merchant-thumb svg{width:32px;height:32px}.merchant-thumb img{width:72px;height:72px;object-fit:cover}.merchant-info{flex:1;min-width:0;border:0;background:none;padding:0;text-align:left;color:inherit}.merchant-info .card-body{display:block;min-width:0}.merchant-info h2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:15px;margin:0 0 6px}.merchant-info p{font-size:12px;line-height:1.5;margin:0 0 7px}.merchant-info .card-meta{flex-wrap:wrap}#merchant-photo-view{padding:16px;border:0;border-radius:20px;width:min(90vw,640px);box-sizing:border-box}#merchant-photo-view img{display:block;width:100%;max-height:70vh;object-fit:contain}#merchant-photo-view>button{display:block;margin:0 0 12px auto;width:44px;height:44px;border:0;border-radius:50%;font-size:24px}#merchant-photo-view p{margin:12px 0 0}#merchant-photo-view::backdrop{background:#102e29b3}

.merchant-sales-filter{display:flex;align-items:center;justify-content:flex-end;gap:8px;font-size:12px;color:#60796e;margin:8px 0}.merchant-sales-filter select{max-width:185px;padding:8px;border:1px solid #dce6e0;border-radius:10px;background:#fff;color:#254f42}

.pin.visited{background:#2879d8!important;color:#fff!important;border-color:#fff}.pin.signed{background:#8054c7!important;color:#fff!important;border-color:#fff}.pin.hub-visited{position:relative}.visit-tick{position:absolute;right:-6px;bottom:-5px;width:15px;height:15px;display:grid;place-items:center;border:1.5px solid white;border-radius:50%;background:#2879d8;color:#fff;font-style:normal;font-size:10px;line-height:1}

.merchant-types{overflow-x:auto;scrollbar-width:none}.merchant-types::-webkit-scrollbar{display:none}.merchant-types button{flex:0 0 auto;white-space:nowrap;padding:10px 13px}

.platform-field{border:0;margin:0;padding:0;min-width:0;grid-column:1/-1}.platform-field legend{margin-bottom:10px}.platform-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.platform-choice{display:flex!important;flex-direction:row!important;align-items:center;gap:9px;border:1px solid #dce6e0;border-radius:12px;padding:12px;min-height:44px}.platform-choice input{width:18px!important;height:18px;margin:0;accent-color:#176f61}.platform-choice:has(input:checked){background:#edf6f0;border-color:#176f61}.platform-choice span{overflow-wrap:anywhere}

.dossier{font-size:14px;line-height:1.6}.dossier-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.dossier-toolbar button{padding:9px 14px;border-radius:12px;background:#edf4ef;color:#174e40}.dossier section{padding:18px 0;border-bottom:1px solid #e5ebe7}.dossier h2{font-size:24px;margin:0 0 8px}.dossier h3{font-size:17px;margin:0 0 14px}.dossier h4{margin:0 0 12px;font-size:16px}.dossier dl{margin:0}.dossier dl>div{display:grid;grid-template-columns:100px minmax(0,1fr);gap:12px;padding:7px 0}.dossier dt,.dossier-muted,.dossier-empty{color:#7a8c83}.dossier dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.dossier-gallery{display:flex;gap:10px;overflow-x:auto;padding:4px 0 10px;scroll-snap-type:x mandatory}.dossier-photo{flex:0 0 160px;height:120px;background:#edf2ef;color:#788d82;border-radius:14px;overflow:hidden;padding:0;scroll-snap-align:start}.dossier-photo img{width:100%;height:100%;object-fit:cover}.dossier-purchase{border:1px solid #e2e9e4;border-radius:16px;padding:16px;margin-bottom:12px;background:#f7faf7}.dossier-purchase summary{padding-top:12px;color:#326957;cursor:pointer}.dossier-visit{border-left:2px solid #c5d9cb;padding:0 0 16px 15px;margin-left:4px}.dossier-visit time{color:#678575;font-size:12px}.dossier-visit p{white-space:pre-wrap;margin:5px 0}.dossier-viewer{border:0;border-radius:18px;padding:14px;max-width:92vw}.dossier-viewer img{display:block;max-width:85vw;max-height:75vh;object-fit:contain}.dossier-viewer button{display:block;margin-left:auto;font-size:25px;padding:8px 14px;border-radius:50%}.dossier-viewer::backdrop{background:#16392bbb}

.pin.closed,.pin.closed.visited,.pin.closed.signed,.pin.anchor.closed.approximate{background:#7b8388!important;color:white!important;border-color:white!important}.business-state{font-size:13px;color:#62766a}#business-form{display:grid;gap:16px}#business-form label{display:grid;gap:8px}#business-form select,#business-form textarea{width:100%;padding:12px;border:1px solid #dbe4df;border-radius:12px}#business-form button{padding:13px;border-radius:12px;background:#174f41;color:white}

/* Park and brand customer hierarchy */
.park-tenants{padding:20px 0;border-bottom:1px solid #e9eeeb}.park-tenants h3{margin:0 0 8px}.park-stats{display:flex;gap:8px;margin:14px 0}.park-stats span{flex:1;background:#f3f6f3;border-radius:12px;padding:10px;font-size:13px}.park-stats b{display:block;font-size:21px;color:#174c41;margin-top:5px}.park-add{width:100%;padding:13px!important;border-radius:12px!important;background:#eaf2e9!important;color:#174c41!important}.park-brand-list button{display:grid;grid-template-columns:1fr auto;width:100%;text-align:left;padding:14px 0!important;border:0!important;border-bottom:1px solid #edf0ed!important;border-radius:0!important;background:transparent!important}.park-brand-list small{grid-row:2;color:#6c7b75;margin-top:5px}.park-brand-list button>span{grid-column:2;grid-row:1/3;align-self:center}.park-fields{padding:14px;background:#f2f6f2;border-radius:14px;margin:12px 0}.park-affiliation{font-size:12px!important;color:#477263!important}

#map-search svg{width:23px;height:23px;position:absolute;inset:0;margin:auto}#map-search-sheet{box-sizing:border-box;position:fixed;inset:auto 0 0;margin:0 auto;width:min(100%,540px);max-width:100%;max-height:75dvh;border:0;border-radius:24px 24px 0 0;padding:22px 20px max(24px,env(safe-area-inset-bottom));color:#173f36;overflow:auto}#map-search-sheet::backdrop{background:#102e294d}#map-search-sheet header{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}#map-search-close{border:0;border-radius:50%;width:36px;height:36px;font-size:23px;background:#f1f5f2}#map-search-input{box-sizing:border-box;width:100%;font-size:16px;padding:14px;border:1px solid #d8e4dc;border-radius:13px;background:#f6f8f5}#map-search-note{font-size:12px;color:#77877e}#map-search-results .map-search-result{display:flex;flex-direction:column;gap:6px;padding:15px 0;width:100%;border:0;border-bottom:1px solid #e9eeeb;background:transparent;text-align:left;color:#173f36} .map-search-result strong{font-size:16px}.map-search-result small{font-size:12px;color:#517365}.map-search-result span{font-size:13px;color:#7b8780}

/* Unified map tools: one flow prevents zoom/search collisions. */
.map-floating{gap:10px;bottom:24px;right:16px}.map-floating .leaflet-control-zoom{float:none!important;clear:none!important;margin:0 0 4px!important;width:48px;border:1px solid #dfe7e3!important;border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 4px 16px #10282318}.map-floating .leaflet-control-zoom a{display:grid;place-items:center;width:46px;height:44px;line-height:1;background:#fff;color:#25514a;font-size:24px;font-family:Arial,sans-serif;font-weight:400;border-radius:0!important}.map-floating .leaflet-control-zoom a:first-child{border-bottom:1px solid #e8eeea}.map-floating .leaflet-control-zoom a:hover{background:#f2f7f3}.map-floating .leaflet-control-zoom a.leaflet-disabled{color:#bbc7c1}.map-floating #map-search{background:#103f38;color:#fff;border-color:#103f38}.map-floating #map-search:active{background:#19584c}@media(max-height:520px){.map-floating{display:grid;grid-template-columns:48px 48px;gap:8px;bottom:20px}.map-floating .leaflet-control-zoom{grid-row:span 2;margin:0!important}.map-floating #fit{grid-column:2}}

#merchant-attributes{margin:6px 20px 12px}#merchant-attributes summary{width:fit-content;cursor:pointer;padding:8px 14px;border:1px solid #dfe7e2;border-radius:20px;color:#365d50;font-size:13px}#merchant-attributes[open]{padding:12px;background:#f3f7f3;border-radius:16px}.merchant-attribute-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding-top:14px}.merchant-attribute-fields label{font-size:12px;color:#657b70}.merchant-attribute-fields select{margin-top:6px;padding:11px 8px;border-radius:10px}.merchant-attribute-fields button{align-self:end;padding:12px;border-radius:10px;background:#e6eee7;color:#325d4d}

.merchant-search-row{display:flex;gap:8px;align-items:center}.merchant-search-row #merchant-search{flex:1;min-width:0;height:42px;padding:10px 12px}.merchant-search-row #merchant-filter-button{position:relative;flex:0 0 42px;width:42px;height:42px;padding:10px;border:1px solid #d9e4dd;background:white;color:#34594c;border-radius:12px}#merchant-filter-button svg{width:22px;height:22px}#merchant-filter-button b{position:absolute;right:-4px;top:-5px;min-width:17px;height:17px;padding:1px 4px;border-radius:10px;background:#194f40;color:white;font-size:10px;border:2px solid white}#merchant-context{display:none!important}.merchant-distance:empty{display:none}#merchant-attributes{position:fixed;inset:auto 0 0;margin:0 auto;box-sizing:border-box;width:min(100%,540px);max-width:100%;max-height:85dvh;overflow:auto;border:0;border-radius:24px 24px 0 0;padding:22px 20px max(24px,env(safe-area-inset-bottom));color:#23473b}#merchant-attributes[open]{padding:22px 20px max(24px,env(safe-area-inset-bottom));background:white;border-radius:24px 24px 0 0}#merchant-attributes::backdrop{background:#102e2959}#merchant-attributes header{display:flex;align-items:center;justify-content:space-between}#merchant-filter-close{width:36px;height:36px;border-radius:50%;background:#f1f5f2;font-size:22px}#merchant-attributes .merchant-attribute-fields{grid-template-columns:1fr;gap:16px}#merchant-filter-apply{width:100%;padding:13px;margin-top:12px;border-radius:12px;background:#103f38;color:white}

.spec-structured{display:grid;gap:12px;padding:14px;background:#f3f7f1;border-radius:14px}.spec-dimensions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.spec-structured label{min-width:0}.spec-structured input,.spec-structured select{width:100%;box-sizing:border-box}.spec-presets{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.spec-presets button,[data-copy-spec]{padding:8px 12px;border-radius:10px;background:#e6efe0;color:#315c42;font-size:12px}.spec-structured [hidden]{display:none!important}.spec-structured summary{font-size:13px;color:#66816d}
.route-entry{display:block;width:100%;padding:12px;border-radius:12px;background:#eef4ee;color:#245446;margin:12px 0}#route-sheet{position:fixed;inset:auto 0 0;margin:0 auto;width:min(100%,560px);max-width:100%;max-height:85dvh;overflow-y:auto;box-sizing:border-box;border:0;border-radius:24px 24px 0 0;padding:22px 20px max(24px,env(safe-area-inset-bottom));color:#20473c}#route-sheet::backdrop{background:#102e2959}#route-sheet header,.route-stop-title{display:flex;align-items:center;justify-content:space-between}#route-sheet button{padding:10px 12px;border-radius:10px;background:#eef4ee;color:#245446}#route-sheet button:disabled{opacity:.5;cursor:default}#route-close{font-size:22px}.route-modes{display:flex;gap:8px}.route-modes button{flex:1;font-size:12px}.route-modes button[aria-pressed=true]{background:#d7f58c!important}.route-muted,#route-count{font-size:12px;color:#73877a;line-height:1.5}.route-options{display:flex;gap:12px;margin:12px 0;align-items:center}.route-options>label{flex:1;font-size:13px}.route-options input[type=checkbox]{width:auto}#route-query{box-sizing:border-box;width:100%;padding:12px;border:1px solid #dbe5dd;border-radius:12px;font-size:16px}#route-candidates{max-height:35dvh;overflow:auto}.route-candidate{display:flex;gap:10px;padding:12px 0;border-bottom:1px solid #edf1ed;align-items:center}.route-candidate input{width:20px;height:20px;flex-shrink:0}.route-candidate small{display:block;color:#77897e;font-size:12px;margin-top:5px}.route-selected{display:flex;gap:6px;flex-wrap:wrap}.route-selected button{font-size:11px}.route-primary{display:block;width:100%;background:#103f38!important;color:#fff!important;margin-top:14px;padding:14px!important}.route-stops article{border:1px solid #e0e9e1;border-radius:14px;padding:12px;margin:12px 0}.route-stops small{font-size:12px;color:#788b7f}.route-member{padding-top:10px;border-top:1px solid #edf1ed;margin-top:10px}.route-member>div{display:flex;gap:6px;margin-top:7px}.route-member button{font-size:12px}#route-peek{position:absolute;left:12px;bottom:24px;z-index:470;max-width:calc(100% - 88px);padding:14px;border-radius:14px;background:#103f38;color:#fff;box-shadow:0 3px 12px #173d3633;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.route-number{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;border:2px solid white;background:#287467;color:white;font-weight:700;box-shadow:0 2px 5px #0003}#route-message{color:#946228;font-size:13px}

body.list-mode #sidebar > .data-note,body.list-mode #cloud-sync-status[data-state="ok"]{display:none!important}

/* Main already reserves the bottom navigation; do not reserve it twice. */
body.list-mode:not(.filter-open) #sidebar{bottom:0;height:100%}body.list-mode:not(.filter-open) #results{padding-bottom:8px}

#location-reports{width:min(540px,94vw);max-height:85dvh;overflow:auto;box-sizing:border-box;border:0;border-radius:22px;padding:22px;color:#20473c}#location-reports::backdrop{background:#102e2959}#location-reports header{display:flex;justify-content:space-between;align-items:center}#location-reports label{display:block;margin:14px 0}#location-reports input,#location-reports select,#location-reports textarea{box-sizing:border-box;width:100%;padding:10px;border:1px solid #dce5dd;border-radius:10px;margin-top:7px;font-size:16px}#location-reports button{padding:10px 14px;border-radius:10px;background:#edf3ec;color:#245444}#location-reports p{white-space:pre-wrap;overflow-wrap:anywhere}.report-muted{font-size:12px;color:#6f8276}.report-counts{display:flex;flex-wrap:wrap;gap:8px;font-size:12px}.report-counts span{padding:8px;background:#f0f5ef;border-radius:9px}#location-reports details{padding:14px 0;border-bottom:1px solid #e2e9e2}#location-reports img{max-width:100%;border-radius:10px;margin-top:8px}

.pin.dark,.pin.dark.visited,.pin.dark.signed{position:relative;background:#d66522!important;color:#fff!important;border-color:#fff}.pin.dark svg{width:18px;height:18px;display:block}.pin.dark.closed{background:#7b8388!important}.dk-stage{position:absolute;right:-6px;bottom:-5px;width:15px;height:15px;border:1.5px solid white;border-radius:50%;display:grid;place-items:center;font-size:10px;line-height:1;font-style:normal;background:#2879d8}.dk-stage.signed{background:#8054c7}

/* Compact count for the current nearby query, independent of pagination. */
#nearby-count-pill{position:absolute;z-index:450;top:12px;left:12px;max-width:calc(100% - 92px);min-height:36px;padding:8px 13px;border:1px solid #dde6e0;border-radius:18px;background:rgba(255,255,255,.96);color:#174e42;font-size:13px;font-weight:600;line-height:1.35;box-shadow:0 2px 10px #183f3815;text-align:left}#nearby-count-pill[hidden],body.list-mode #nearby-count-pill{display:none}#nearby-count-pill:disabled{opacity:.8}

.gps-bearing{position:absolute;left:11px;top:11px;width:0;height:0;pointer-events:none;transform-origin:0 0}.gps-bearing[hidden]{display:none}.gps-bearing:before{content:'';position:absolute;width:66px;height:60px;left:-33px;top:-58px;clip-path:polygon(0 0,100% 0,50% 100%);background:linear-gradient(to top,#318aeb88,#318aeb08)}.gps-bearing i{position:absolute;left:-7px;top:-25px;width:14px;height:13px;background:#2879d8;clip-path:polygon(50% 0,100% 100%,50% 76%,0 100%)}.gps-dot{position:relative}.gps-bearing[data-source=motion]:before{opacity:.5}.position-heading{display:flex;align-items:center;gap:10px;margin:10px 0 16px}.position-heading button{flex:none;padding:8px 12px;font-size:13px;border:1px solid #dce7e1;background:#f4f8f6;border-radius:12px;color:#175246}.position-heading p{margin:0;color:#697b74;font-size:12px;line-height:1.5}

.google-entry{border:1px solid #d7e1df!important;background:#f7faf9!important;color:#22564d!important;border-radius:12px!important;padding:10px 14px!important;font-size:13px!important;margin:8px 0;min-height:40px}#google-places-sheet{box-sizing:border-box;width:100%;max-width:680px;height:100dvh;max-height:100dvh;margin:0 auto;padding:20px 20px max(24px,env(safe-area-inset-bottom));border:0;border-radius:0;background:#fff;color:#214c42;overflow-y:auto}#google-places-sheet::backdrop{background:#fff}#google-places-sheet header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}#google-places-sheet header button{border:0;border-radius:50%;width:38px;height:38px;background:#f0f4f2;font-size:24px}#google-search-form{display:flex;gap:10px;align-items:end}#google-search-form label{flex:1;min-width:0;font-size:13px}#google-query{box-sizing:border-box;width:100%;padding:12px;border:1px solid #dbe5e0;border-radius:12px;margin-top:5px;font-size:16px}#google-places-sheet button{cursor:pointer}#google-text,#google-near{border:0;border-radius:12px;background:#174f43;color:white;padding:12px 16px;white-space:nowrap}#google-places-sheet button:disabled{opacity:.45;cursor:default}.google-nearby{margin:16px 0;padding:14px;background:#f5f8f6;border-radius:14px}.google-nearby p{font-size:13px;margin:0 0 10px}.google-nearby div{display:flex;gap:10px}.google-nearby select{padding:9px;border:1px solid #d8e3dc;border-radius:10px;background:white}#google-message{font-size:14px}#google-usage{color:#728078}.google-content{margin-top:18px;border-top:1px solid #e5ebe7;padding-top:14px}.google-attribution{font:400 14px/1.5 system-ui,sans-serif;letter-spacing:normal;white-space:nowrap;color:#5e5e5e}.google-notice{font-size:12px;color:#6b7871}#google-results article{padding:16px 0;border-bottom:1px solid #e5ebe7}#google-results h3{font-size:17px;margin:0 0 6px}#google-results p{font-size:14px;color:#647269;margin:0 0 10px}#google-results a{font-size:13px;color:#22665b}#google-results small{display:block;font-size:12px}#google-places-sheet footer{margin-top:24px;font-size:12px;color:#69776e}#google-field-add{border:1px solid #d8e4dd;border-radius:12px;background:#f4f8f5;padding:11px 16px;color:#245447}

.route-visit-badge{display:inline-block!important;width:fit-content;vertical-align:middle;margin:5px 0 5px 7px;padding:3px 7px;border-radius:6px;font-size:11px;line-height:1.4;font-weight:500;white-space:nowrap}.route-visit-badge.visited{color:#2265a8;background:#eaf3ff}.route-visit-badge.unvisited{color:#758078;background:#f0f3f1}.route-run-status{display:block;font-size:11px;color:#39765e;margin-top:5px}.route-member>span{min-width:0;overflow-wrap:anywhere}.route-candidate .route-visit-badge{margin-left:0}

/* Full-screen photo inspection, shared by saved dossiers and unsaved forms. */
dialog.crm-photo-viewer{position:fixed;inset:0;margin:0;width:100vw;height:100dvh;max-width:none;max-height:none;padding:0;border:0;border-radius:0;background:#10201d;color:white;box-sizing:border-box;overflow:hidden}dialog.crm-photo-viewer[open]{display:flex;flex-direction:column}.crm-photo-viewer::backdrop{background:#10201d}.photo-viewer-toolbar{display:flex;gap:8px;align-items:center;justify-content:center;flex-shrink:0;padding:calc(12px + env(safe-area-inset-top)) 12px 12px}.photo-viewer-toolbar button{min-width:44px;min-height:44px;padding:8px 12px;border:1px solid #ffffff40;border-radius:12px;background:#ffffff18;color:white;font-size:20px}.photo-viewer-toolbar button:last-child{margin-left:auto}.photo-viewer-toolbar span{font-size:13px;min-width:40px}.photo-viewer-stage{flex:1;min-height:0;overflow:auto;padding-bottom:env(safe-area-inset-bottom);touch-action:pan-x pan-y pinch-zoom;overscroll-behavior:contain}.photo-viewer-stage img{display:block;height:auto;object-fit:contain;margin:auto;max-width:none}.photo-viewer-stage:not(.zoomed){display:flex;align-items:center}.crm-photo-tile img[role=button]{cursor:zoom-in}.crm-photo-tile img[role=button]:focus-visible{outline:3px solid #174e40;outline-offset:-3px}
#merchant-context:not([hidden]){display:block!important}#merchant-scope{padding:3px 0;background:transparent;border:0;color:#476b5c;font-size:12px;text-align:left;text-decoration:underline;text-underline-offset:3px}

.crm-metrics .crm-metric-link{display:flex;flex-direction:column;gap:10px;min-width:0;text-align:left;padding:18px;border:1px solid #d9e4dd;border-radius:16px;background:#f0f6f2;color:#173e32;cursor:pointer}.crm-metric-link strong{font-size:36px;line-height:1.2}.crm-metric-link small{font-size:12px;color:#61786d}.crm-metric-link:focus-visible{outline:3px solid #246bb3;outline-offset:2px}
