:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--accent:#2f6bff;--accent-2:#2258e0;--accent-weak:#e9f0ff;--accent-weak-2:#f4f8ff;--bg:#eceff5;--surface:#fff;--surface-2:#f3f5fa;--surface-3:#eef1f7;--text:#191c22;--text-2:#565e6b;--muted:#8b93a2;--border:#e6eaf1;--ok:#1f9d55;--ok-weak:#e7f6ee;--danger:#e5484d;--danger-weak:#fdecec;--pend:#b45309;--pend-weak:#fff4e6;--pend-border:#ffddb8;--r-xs:10px;--r-sm:14px;--r-md:18px;--r-lg:24px;--r-pill:999px;--sh-sm:0 1px 2px #141c2d0d, 0 1px 3px #141c2d0d;--sh:0 10px 28px #141c2d12;--sh-lg:0 26px 60px #141c2d29;--font:-apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{font-family:var(--font);color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;font-size:15px;line-height:1.55}h1{letter-spacing:-.02em;margin:0 0 .3rem;font-size:1.7rem;font-weight:750}h2{letter-spacing:-.01em;font-weight:700}p{margin:0 0 .75rem}.muted{color:var(--muted)}.eyebrow{letter-spacing:.16em;color:var(--accent);margin:0 0 .6rem;font-size:.74rem;font-weight:700}label{color:var(--text-2);margin:0 0 .45rem .25rem;font-size:.82rem;font-weight:600;display:block}input,select{background:var(--surface-2);border-radius:var(--r-sm);width:100%;font:inherit;color:var(--text);border:1.5px solid #0000;padding:.85rem 1rem;transition:border-color .15s,background .15s,box-shadow .15s}input::placeholder{color:#aab1bd}input:focus,select:focus{background:var(--surface);border-color:var(--accent);box-shadow:0 0 0 4px var(--accent-weak);outline:none}input[aria-invalid=true]{border-color:var(--danger)}.field{margin-bottom:1rem}.field-error{color:var(--danger);margin:.35rem 0 0 .25rem;font-size:.8rem;display:block}.btn{border-radius:var(--r-pill);font:inherit;cursor:pointer;border:none;justify-content:center;align-items:center;gap:.5rem;min-height:46px;padding:.72rem 1.25rem;font-weight:600;transition:background .15s,box-shadow .15s,opacity .15s,transform 60ms;display:inline-flex}.btn:active{transform:translateY(1px)}.btn:disabled{opacity:.6;cursor:not-allowed}.btn-primary{background:var(--accent);color:#fff;box-shadow:0 8px 18px #2f6bff47}.btn-primary:hover:not(:disabled){background:var(--accent-2)}.btn-ghost{background:var(--surface-2);color:var(--text)}.btn-ghost:hover:not(:disabled){background:var(--surface-3)}.error{background:var(--danger-weak);color:var(--danger);border-radius:var(--r-sm);margin-top:1rem;padding:.7rem .9rem;font-size:.86rem}.full-page-loader{height:100%;min-height:240px;color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:.75rem;display:flex}.spinner{border:3px solid var(--border);border-top-color:var(--accent);border-radius:50%;width:28px;height:28px;animation:.7s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.badge{border-radius:var(--r-pill);background:var(--accent-weak);color:var(--accent-2);letter-spacing:.01em;align-items:center;gap:.3rem;padding:.18rem .6rem;font-size:.72rem;font-weight:700;display:inline-flex}.auth-screen{background:radial-gradient(900px 440px at 50% -6%, #dbe8ff 0%, #dbe8ff00 68%), radial-gradient(760px 420px at 96% 112%, #e6ecff 0%, #e6ecff00 60%), var(--bg);justify-content:center;align-items:center;min-height:100%;padding:2rem 1.25rem;display:flex}.auth-panel{background:var(--surface);width:100%;max-width:400px;box-shadow:var(--sh-lg);border-radius:28px;padding:2.4rem 2.1rem 2.1rem}.auth-panel.select-panel{max-width:460px}.auth-panel h1{font-size:1.9rem}.brand-logo{object-fit:contain;width:40px;height:40px;display:block}.brand-logo-lg{width:58px;height:58px;margin-bottom:.35rem}.visit-map-section{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg,14px);box-shadow:var(--sh-sm);margin-bottom:.7rem;padding:.85rem;overflow:hidden}.visit-map-head{justify-content:space-between;align-items:flex-start;gap:.75rem;margin-bottom:.65rem;display:flex}.visit-map-head h3{color:var(--text);margin:0;font-size:.86rem;font-weight:800}.visit-map-head p{color:var(--muted);margin:.12rem 0 0;font-size:.76rem}.visit-map-zoom{flex:none;gap:.25rem;display:flex}.visit-map-zoom button{border:1px solid var(--border);background:var(--surface);min-width:32px;height:32px;color:var(--text-2);font:inherit;cursor:pointer;box-shadow:var(--sh-sm);border-radius:9px;font-size:.8rem;font-weight:800}.visit-map-zoom button:disabled{opacity:.4;cursor:not-allowed}.visit-map{border:1px solid var(--border);border-radius:var(--r-md);isolation:isolate;background:#dce4ea;height:360px;position:relative;overflow:hidden}.visit-map-tiles{z-index:0;position:absolute;inset:0;overflow:hidden}.visit-map-tiles img{-webkit-user-select:none;user-select:none;-webkit-user-drag:none;max-width:none;position:absolute}.visit-map-geofence{z-index:1;pointer-events:none;background:#2f6bff1a;border:2px solid #2f6bff73;border-radius:50%;position:absolute}.visit-map-marker{z-index:3;background:var(--muted);color:#fff;width:30px;height:30px;font:inherit;cursor:pointer;transform-origin:50%;border:2px solid #fff;border-radius:50% 50% 50% 4px;place-items:center;padding:0;font-size:.72rem;font-weight:850;display:grid;position:absolute;transform:translate(-50%,-50%);box-shadow:0 4px 12px #141c2d47}.visit-map-marker-planned{background:var(--muted);transform:translate(-50%,-65%)}.visit-map-marker-planned.visit-map-marker-active{background:var(--accent)}.visit-map-marker-planned.visit-map-marker-completed{background:var(--ok)}.visit-map-marker-check_in,.visit-map-marker-check_out{border-radius:50%;width:22px;height:22px;font-size:.62rem;transform:translate(-50%,-50%)}.visit-map-marker-check_in{background:#7c3aed}.visit-map-marker-check_out{background:#0f766e}.visit-map-popup{z-index:6;border:1px solid var(--border);border-radius:var(--r-sm);width:min(230px,100% - 24px);color:var(--text);box-shadow:var(--sh);pointer-events:none;background:#fffffff7;flex-direction:column;gap:.12rem;padding:.6rem .7rem;display:flex;position:absolute;transform:translate(-50%,-100%)}.visit-map-popup strong{font-size:.8rem;line-height:1.3}.visit-map-popup span,.visit-map-popup small{color:var(--text-2);overflow-wrap:anywhere;font-size:.7rem;line-height:1.35}.visit-map-legend{z-index:5;box-shadow:var(--sh-sm);color:var(--text-2);background:#ffffffeb;border-radius:8px;flex-wrap:wrap;gap:.35rem .55rem;padding:.3rem .45rem;font-size:.64rem;font-weight:700;display:flex;position:absolute;bottom:8px;left:8px}.visit-map-legend span{align-items:center;gap:.25rem;display:inline-flex}.visit-map-dot{background:var(--muted);border-radius:50%;width:8px;height:8px}.visit-map-dot.checkin{background:#7c3aed}.visit-map-dot.checkout{background:#0f766e}.visit-map-attribution{z-index:5;color:#4b5563;text-align:right;background:#ffffffe0;border-radius:4px;max-width:55%;padding:1px 4px;font-size:9px;line-height:1.25;position:absolute;bottom:4px;right:4px}.visit-map-attribution a{color:inherit;text-decoration:none}.visit-map-attribution a:hover{text-decoration:underline}@media (width<=640px){.visit-map-head{flex-direction:column;align-items:stretch}.visit-map-zoom{align-self:flex-end}.visit-map{height:300px}.visit-map-legend{max-width:calc(100% - 16px);bottom:20px}}.sales-visit-overview{gap:1rem;display:grid}.sales-visit-group,.sales-visit-status-block,.sales-visit-location-progress{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);box-shadow:var(--sh-sm)}.sales-visit-group,.sales-visit-status-block{padding:1rem}.sales-visit-group-head{justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:.75rem;display:flex}.sales-visit-group-head>div{flex-direction:column;gap:.1rem;display:flex}.sales-visit-group-head strong{font-size:.92rem}.sales-visit-group-head span{color:var(--muted);font-size:.76rem}.sales-visit-kpi-grid,.sales-visit-status-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:.7rem;display:grid}.sales-visit-mini-kpi,.sales-visit-status-card{border:1px solid var(--border);border-radius:var(--r-md);background:var(--surface-2);min-width:0}.sales-visit-mini-kpi{flex-direction:column;gap:.12rem;padding:.8rem .9rem;display:flex}.sales-visit-mini-kpi>span,.sales-visit-status-card>span{color:var(--text-2);font-size:.74rem;font-weight:700}.sales-visit-mini-kpi>strong{font-size:1.35rem;line-height:1.2}.sales-visit-mini-kpi>small{color:var(--muted);font-size:.72rem}.sales-visit-mini-kpi-danger>strong{color:var(--danger)}.sales-visit-mini-kpi-warning>strong{color:var(--pend)}.sales-visit-location-progress{padding:.95rem 1rem}.sales-visit-location-head{justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:.65rem;display:flex}.sales-visit-location-head>div{flex-direction:column;gap:.1rem;display:flex}.sales-visit-location-head>div>strong{font-size:.9rem}.sales-visit-location-head span{color:var(--muted);font-size:.76rem}.sales-visit-location-head>strong{color:var(--ok);font-size:1rem}.sales-visit-location-meta{color:var(--text-2);flex-wrap:wrap;gap:.45rem 1rem;margin-top:.55rem;font-size:.74rem;display:flex}.sales-visit-status-card{justify-content:space-between;align-items:center;gap:.75rem;padding:.7rem .8rem;display:flex}.sales-visit-status-card>strong{font-size:1rem}@media (width<=900px){.sales-visit-kpi-grid,.sales-visit-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=560px){.sales-visit-kpi-grid,.sales-visit-status-grid{grid-template-columns:1fr}.sales-visit-location-meta{flex-direction:column;gap:.2rem}}.topbar-context{align-items:center;gap:.75rem;min-width:0;display:flex}.environment-badge{border:1px solid var(--pend-border);border-radius:var(--r-pill);background:var(--pend-weak);width:fit-content;color:var(--pend);letter-spacing:.06em;white-space:nowrap;justify-content:center;align-items:center;padding:.24rem .62rem;font-size:.68rem;font-weight:800;line-height:1.2;display:inline-flex}.auth-panel>.environment-badge{margin-bottom:.85rem}@media (width<=640px){.topbar-context{gap:.45rem}.topbar .environment-badge{padding:.2rem .5rem;font-size:.62rem}}.leaflet-pane,.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile-container,.leaflet-pane>svg,.leaflet-pane>canvas,.leaflet-zoom-box,.leaflet-image-layer,.leaflet-layer{position:absolute;top:0;left:0}.leaflet-container{overflow:hidden}.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow{-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.leaflet-tile::selection{background:0 0}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{-webkit-transform-origin:0 0;width:1600px;height:1600px}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-overlay-pane svg{max-width:none!important;max-height:none!important}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer,.leaflet-container .leaflet-tile{width:auto;padding:0;max-width:none!important;max-height:none!important}.leaflet-container img.leaflet-tile{mix-blend-mode:plus-lighter}.leaflet-container.leaflet-touch-zoom{-ms-touch-action:pan-x pan-y;touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{-ms-touch-action:pinch-zoom;touch-action:none;touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{-ms-touch-action:none;touch-action:none}.leaflet-container{-webkit-tap-highlight-color:transparent}.leaflet-container a{-webkit-tap-highlight-color:#33b5e566}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{box-sizing:border-box;z-index:800;width:0;height:0}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}.leaflet-vml-shape{width:1px;height:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{z-index:800;pointer-events:visiblePainted;pointer-events:auto;position:relative}.leaflet-top,.leaflet-bottom{z-index:1000;pointer-events:none;position:absolute}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{float:left;clear:both}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-popup{opacity:0;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{transform-origin:0 0}svg.leaflet-zoom-animated{will-change:transform}.leaflet-zoom-anim .leaflet-zoom-animated{-webkit-transition:-webkit-transform .25s cubic-bezier(0,0,.25,1);-moz-transition:-moz-transform .25s cubic-bezier(0,0,.25,1);transition:transform .25s cubic-bezier(0,0,.25,1)}.leaflet-zoom-anim .leaflet-tile,.leaflet-pan-anim .leaflet-tile{transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-popup-pane,.leaflet-control{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-image-layer,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-marker-icon.leaflet-interactive,.leaflet-image-layer.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive,svg.leaflet-image-layer.leaflet-interactive path{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{outline-offset:1px;background:#ddd}.leaflet-container a{color:#0078a8}.leaflet-zoom-box{background:#ffffff80;border:2px dotted #38f}.leaflet-container{font-family:Helvetica Neue,Arial,Helvetica,sans-serif;font-size:.75rem;line-height:1.5}.leaflet-bar{border-radius:4px;box-shadow:0 1px 5px #000000a6}.leaflet-bar a{text-align:center;color:#000;background-color:#fff;border-bottom:1px solid #ccc;width:26px;height:26px;line-height:26px;text-decoration:none;display:block}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50%;background-repeat:no-repeat;display:block}.leaflet-bar a:hover,.leaflet-bar a:focus{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom:none;border-bottom-right-radius:4px;border-bottom-left-radius:4px}.leaflet-bar a.leaflet-disabled{cursor:default;color:#bbb;background-color:#f4f4f4}.leaflet-touch .leaflet-bar a{width:30px;height:30px;line-height:30px}.leaflet-touch .leaflet-bar a:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.leaflet-touch .leaflet-bar a:last-child{border-bottom-right-radius:2px;border-bottom-left-radius:2px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{text-indent:1px;font:700 18px Lucida Console,Monaco,monospace}.leaflet-touch .leaflet-control-zoom-in,.leaflet-touch .leaflet-control-zoom-out{font-size:22px}.leaflet-control-layers{background:#fff;border-radius:5px;box-shadow:0 1px 5px #0006}.leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC);width:36px;height:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7EDqkmK6RrCEzqDjhNDWNE+XSMvkJRDWlZTmCW0l0PHQGRZY5t1L83kT0Y3l2SItk5JAWHl2dCOBm+fPu3fo5/3v61RMCO9Jx2EEYYhb0rmNQMX/vm7gqOEJLcXTGw3CAuRNeyaPWwjR8PRqKQ1PDA/dpv+on9Shox52WFnx0KY8onHayrJzm87i5h9xGw/tfkev0jGsQizqezUKjk12hBMKJ4kbCqGPVNXudyyrShovGw5CgxsRICxF6aRmSjlBnHRzg7Gx8fKqEubI2rahQYdR1YgDIRQO7JvQyD52hoIQx0mxa0ODtW2Iozn1le2iIRdzwWewedyZzewidueOGqlsn1MvcnQpuVwLGG3/IR1hIKxCjelIDZ8ldqWz25jWAsnldEnK0Zxro19TGVb2ffIZEsIO89EIEDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=);background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{width:44px;height:44px}.leaflet-control-layers .leaflet-control-layers-list,.leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{color:#333;background:#fff;padding:6px 10px 6px 6px}.leaflet-control-layers-scrollbar{padding-right:5px;overflow:hidden scroll}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{font-size:1.08333em;display:block}.leaflet-control-layers-separator{border-top:1px solid #ddd;height:0;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=)}.leaflet-container .leaflet-control-attribution{background:#fffc;margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{color:#333;padding:0 5px;line-height:1.4}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:hover,.leaflet-control-attribution a:focus{text-decoration:underline}.leaflet-attribution-flag{width:1em;height:.6669em;vertical-align:baseline!important;display:inline!important}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{white-space:nowrap;box-sizing:border-box;text-shadow:1px 1px #fff;background:#fffc;border:2px solid #777;border-top:none;padding:2px 5px 1px;line-height:1.1}.leaflet-control-scale-line:not(:first-child){border-top:2px solid #777;border-bottom:none;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{box-shadow:none}.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{background-clip:padding-box;border:2px solid #0003}.leaflet-popup{text-align:center;margin-bottom:20px;position:absolute}.leaflet-popup-content-wrapper{text-align:left;border-radius:12px;padding:1px}.leaflet-popup-content{min-height:1px;margin:13px 24px 13px 20px;font-size:1.08333em;line-height:1.3}.leaflet-popup-content p{margin:1.3em 0}.leaflet-popup-tip-container{pointer-events:none;width:40px;height:20px;margin-top:-1px;margin-left:-20px;position:absolute;left:50%;overflow:hidden}.leaflet-popup-tip{pointer-events:auto;width:17px;height:17px;margin:-10px auto 0;padding:1px;transform:rotate(45deg)}.leaflet-popup-content-wrapper,.leaflet-popup-tip{color:#333;background:#fff;box-shadow:0 3px 14px #0006}.leaflet-container a.leaflet-popup-close-button{text-align:center;color:#757575;background:0 0;border:none;width:24px;height:24px;font:16px/24px Tahoma,Verdana,sans-serif;text-decoration:none;position:absolute;top:0;right:0}.leaflet-container a.leaflet-popup-close-button:hover,.leaflet-container a.leaflet-popup-close-button:focus{color:#585858}.leaflet-popup-scrolled{overflow:auto}.leaflet-oldie .leaflet-popup-content-wrapper{-ms-zoom:1}.leaflet-oldie .leaflet-popup-tip{-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";width:24px;filter:progid:DXImageTransform.Microsoft.Matrix(M11=.707107, M12=.707107, M21=-.707107, M22=.707107);margin:0 auto}.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}.leaflet-tooltip{color:#222;white-space:nowrap;-webkit-user-select:none;user-select:none;pointer-events:none;background-color:#fff;border:1px solid #fff;border-radius:3px;padding:6px;position:absolute;box-shadow:0 1px 3px #0006}.leaflet-tooltip.leaflet-interactive{cursor:pointer;pointer-events:auto}.leaflet-tooltip-top:before,.leaflet-tooltip-bottom:before,.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{pointer-events:none;content:"";background:0 0;border:6px solid #0000;position:absolute}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{margin-left:-6px;left:50%}.leaflet-tooltip-top:before{border-top-color:#fff;margin-bottom:-12px;bottom:0}.leaflet-tooltip-bottom:before{border-bottom-color:#fff;margin-top:-12px;margin-left:-6px;top:0}.leaflet-tooltip-left{margin-left:-6px}.leaflet-tooltip-right{margin-left:6px}.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{margin-top:-6px;top:50%}.leaflet-tooltip-left:before{border-left-color:#fff;margin-right:-12px;right:0}.leaflet-tooltip-right:before{border-right-color:#fff;margin-left:-12px;left:0}@media print{.leaflet-control{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.app-shell{background:var(--bg);grid-template-columns:250px 1fr;height:100%;display:grid}.app-main{flex-direction:column;min-width:0;height:100%;display:flex}.app-content{flex:1;padding:1.75rem 2rem;overflow-y:auto}.sidebar{background:var(--surface);border-right:1px solid var(--border);flex-direction:column;gap:4px;padding:1.1rem .85rem;display:flex}.sidebar-brand{align-items:center;gap:.7rem;padding:.4rem .5rem 1rem;display:flex}.brand-text{letter-spacing:-.01em;font-size:1.02rem;font-weight:750}.sidebar-nav{flex-direction:column;flex:1;gap:3px;display:flex}.nav-link{border-radius:var(--r-sm);color:var(--text-2);align-items:center;gap:.75rem;padding:.72rem .8rem;font-size:.93rem;font-weight:600;text-decoration:none;transition:background .14s,color .14s;display:flex}.nav-link svg{flex:none;width:21px;height:21px}.nav-link:hover{background:var(--surface-2);color:var(--text)}.nav-link.active{background:var(--accent-weak);color:var(--accent-2);font-weight:700}.sidebar-footer{color:var(--muted);padding:.75rem .75rem .1rem;font-size:.74rem}.topbar{background:var(--surface);border-bottom:1px solid var(--border);flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;height:68px;padding:0 1.5rem;display:flex}.company-switcher{align-items:center;gap:.6rem;display:flex}.switcher-label{font-size:.78rem;font-weight:600}.switcher-select{background:var(--surface-2);border:1px solid var(--border);border-radius:var(--r-pill);width:auto;min-width:170px;padding:.5rem .9rem;font-size:.88rem;font-weight:650}.topbar-right{align-items:center;gap:1rem;display:flex}.user-chip{align-items:center;gap:.65rem;display:flex}.user-meta{text-align:right;line-height:1.15}.user-name{font-size:.9rem;font-weight:650;display:block}.user-sub{color:var(--muted);font-size:.76rem;display:block}.user-avatar{border-radius:var(--r-pill);background:var(--accent-weak);width:38px;height:38px;color:var(--accent-2);place-items:center;font-size:.85rem;font-weight:700;display:grid}.page{max-width:1000px}.page-header{margin-bottom:1.4rem}.section-title{margin:.2rem 0 .8rem;font-size:1.05rem;font-weight:700}.card-grid,.kpi-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:1rem;margin-bottom:1.6rem;display:grid}.card{background:var(--surface);border-radius:var(--r-lg);box-shadow:var(--sh-sm);padding:1.25rem 1.35rem}.card-label{color:var(--muted);margin:0 0 .6rem;font-size:.82rem;font-weight:600}.card-value{letter-spacing:-.02em;margin:0;font-size:1.35rem;font-weight:750}.kpi-card{min-height:96px}.kpi-value{letter-spacing:-.03em;margin:.1rem 0 0;font-size:2.05rem;font-weight:780;line-height:1}.kpi-error{color:var(--danger);font-size:.95rem}.notice{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);color:var(--muted);box-shadow:var(--sh-sm);padding:1.1rem 1.35rem}.notice p{margin:0}.company-list{flex-direction:column;gap:.6rem;margin:1.25rem 0 .5rem;padding:0;list-style:none;display:flex}.company-option{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-md);cursor:pointer;width:100%;font:inherit;text-align:left;align-items:center;gap:.8rem;padding:.95rem 1.05rem;transition:border-color .15s,background .15s,box-shadow .15s;display:flex}.company-option:hover:not(:disabled){border-color:var(--accent);background:var(--accent-weak-2);box-shadow:var(--sh-sm)}.company-option:disabled{opacity:.6;cursor:not-allowed}.company-code{border-radius:var(--r-xs);background:var(--accent);color:#fff;text-align:center;min-width:48px;padding:.35rem .55rem;font-size:.82rem;font-weight:800}.company-name{flex:1;font-weight:600}.company-loading{color:var(--muted);font-size:.78rem}.empty-state{background:var(--surface-2);border:1px dashed var(--border);border-radius:var(--r-md);text-align:center;margin-top:1.25rem;padding:1.5rem}.logout-link{width:100%;margin-top:1.4rem}.toolbar{gap:.6rem;margin-bottom:1.1rem;display:flex}.toolbar input[type=search]{border-radius:var(--r-pill);max-width:340px;padding:.7rem 1.1rem}.data-state{background:var(--surface);border-radius:var(--r-lg);box-shadow:var(--sh-sm);color:var(--muted);text-align:center;flex-direction:column;align-items:center;gap:.6rem;padding:2.75rem 1rem;display:flex}.data-state-title{color:var(--text);margin:0;font-weight:650}.table-wrap{background:var(--surface);border-radius:var(--r-lg);box-shadow:var(--sh-sm);overflow-x:auto}.data-table{border-collapse:collapse;width:100%;font-size:.92rem}.data-table th,.data-table td{text-align:left;border-bottom:1px solid var(--border);padding:.85rem 1.15rem}.data-table thead th{background:var(--surface-2);text-transform:uppercase;letter-spacing:.04em;color:var(--muted);font-size:.74rem;font-weight:700}.data-table tbody tr:last-child td{border-bottom:none}.data-table tbody tr:hover{background:var(--accent-weak-2)}.data-table a{color:var(--accent-2);font-weight:650;text-decoration:none}.data-table a:hover{text-decoration:underline}.status-badge{border-radius:var(--r-pill);background:var(--accent-weak);color:var(--accent-2);padding:.18rem .6rem;font-size:.74rem;font-weight:700;display:inline-block}.pagination{align-items:center;gap:1rem;margin-top:1rem;display:flex}.back-link{color:var(--accent-2);margin-bottom:.5rem;font-size:.86rem;font-weight:600;text-decoration:none;display:inline-block}.c360-header{margin-bottom:1rem}.c360-name{letter-spacing:-.02em;margin:0 0 .85rem;font-size:1.6rem;font-weight:760}.c360-chips{flex-wrap:wrap;gap:.65rem;display:flex}.c360-chip{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-sm);min-width:96px;box-shadow:var(--sh-sm);flex-direction:column;gap:.15rem;padding:.5rem .85rem;display:flex}.c360-chip-label{text-transform:uppercase;letter-spacing:.05em;color:var(--muted);font-size:.68rem}.c360-chip-value{font-size:.95rem;font-weight:700}.c360-chip-value.badge-ok{color:var(--ok)}.c360-chip-value.badge-off{color:var(--danger)}.tabs{background:var(--surface-2);border:1px solid var(--border);border-radius:var(--r-pill);flex-wrap:wrap;gap:3px;margin-bottom:1.25rem;padding:4px;display:inline-flex}.tab{appearance:none;font:inherit;color:var(--text-2);border-radius:var(--r-pill);cursor:pointer;background:0 0;border:none;padding:.5rem 1rem;font-size:.86rem;font-weight:600;transition:background .15s,color .15s,box-shadow .15s}.tab:hover{color:var(--text)}.tab.active{background:var(--surface);color:var(--accent);box-shadow:var(--sh-sm)}.detail-grid{background:var(--surface);border-radius:var(--r-lg);box-shadow:var(--sh-sm);overflow:hidden}.detail-row{border-bottom:1px solid var(--border);grid-template-columns:180px 1fr;gap:1rem;padding:.9rem 1.25rem;display:grid}.detail-row:last-child{border-bottom:none}.detail-label{color:var(--muted);font-size:.88rem}.detail-value{font-weight:600}.pending-api{background:var(--surface);border:1px dashed var(--border);border-radius:var(--r-lg);flex-direction:column;align-items:flex-start;gap:.55rem;padding:1.5rem;display:flex}.pending-badge{border-radius:var(--r-pill);background:var(--pend-weak);color:var(--pend);border:1px solid var(--pend-border);letter-spacing:.01em;padding:.18rem .6rem;font-size:.72rem;font-weight:700;display:inline-block}.pending-title{color:var(--text);margin:0;font-weight:650}.pending-endpoint{background:var(--surface-2);border:1px solid var(--border);border-radius:var(--r-xs);color:var(--text-2);padding:.3rem .55rem;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.8rem}.pending-foot{margin:0;font-size:.8rem}@media (width<=820px){.app-shell{grid-template-columns:1fr}.sidebar{border-right:none;border-bottom:1px solid var(--border);flex-direction:row;align-items:center;gap:.4rem;padding:.6rem .8rem;overflow-x:auto}.sidebar-brand{padding:.25rem .5rem .25rem .25rem}.sidebar-nav{flex-direction:row;flex:none}.nav-link span,.sidebar-footer{display:none}.app-content{padding:1.25rem}.detail-row{grid-template-columns:130px 1fr}.user-sub{display:none}}.activities{flex-direction:column;gap:1.1rem;display:flex}.activity-form{background:var(--surface-2);border:1px solid var(--line,#e6e9f0);border-radius:var(--r-lg,16px);padding:1rem 1.1rem 1.15rem}.activity-form-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;display:grid}.activity-form .field{margin-bottom:.75rem}.activity-form textarea{border-radius:var(--r-md,12px);background:var(--surface);width:100%;color:var(--text);font:inherit;resize:vertical;border:1px solid #0000;padding:.6rem .8rem}.activity-form textarea:focus{background:var(--surface);border-color:var(--accent);box-shadow:0 0 0 4px var(--accent-weak);outline:none}.badge-open{background:var(--surface-3);color:var(--text-2)}.badge-ok{background:var(--ok-weak);color:var(--ok)}.badge-off{background:var(--danger-weak);color:var(--danger)}.activity-timeline{flex-direction:column;gap:.6rem;margin:0;padding:0;list-style:none;display:flex}.activity-item{background:var(--surface);border:1px solid var(--line,#e6e9f0);border-radius:var(--r-lg,16px);box-shadow:var(--sh-sm);justify-content:space-between;align-items:flex-start;gap:1rem;padding:.85rem 1rem;display:flex}.activity-item-main{min-width:0}.activity-item-head{align-items:center;gap:.5rem;margin-bottom:.3rem;display:flex}.activity-type{letter-spacing:.04em;text-transform:uppercase;color:var(--accent-2);font-size:.72rem;font-weight:800}.activity-subject{color:var(--text);margin:0 0 .2rem;font-weight:650}.activity-note{white-space:pre-wrap;margin:0 0 .25rem;font-size:.88rem}.activity-meta{color:var(--muted);margin:0;font-size:.78rem}.activity-done-btn{white-space:nowrap;flex:none}@media (width<=640px){.activity-form-row{grid-template-columns:1fr}.activity-item{flex-direction:column}.activity-done-btn{align-self:flex-start}}.breakdown-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.breakdown-card{background:var(--surface);border:1px solid var(--line,#e6e9f0);border-radius:var(--r-lg,16px);box-shadow:var(--sh-sm);padding:.9rem 1rem 1rem}.breakdown-heading{margin:0 0 .5rem;font-size:.95rem;font-weight:700}.breakdown-count{text-align:right;color:var(--text);font-weight:700}@media (width<=640px){.breakdown-grid{grid-template-columns:1fr}}.toolbar{flex-wrap:wrap;align-items:center}.toolbar-filter{align-items:center;gap:.45rem;display:flex}.toolbar-filter label{font-size:.8rem;font-weight:600}.toolbar-filter select{border-radius:var(--r-pill);padding:.55rem .9rem}.toolbar-count{margin-left:auto;font-size:.85rem;font-weight:600}.company-scope{display:contents}.overview{flex-direction:column;gap:1.4rem;display:flex}.overview-heading{letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin:0 0 .7rem;font-size:.78rem;font-weight:800}.lead-page-header{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.lead-toolbar input[type=search]{min-width:280px}.lead-create-card,.lead-edit-card,.lead-action-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);box-shadow:var(--sh-sm);padding:1.1rem 1.25rem}.lead-create-card{margin-bottom:1.15rem}.lead-edit-card h3,.lead-action-card h3{margin:0 0 .35rem}.lead-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 1rem;display:grid}.lead-create-card textarea,.lead-edit-card textarea{border-radius:var(--r-sm);background:var(--surface-2);width:100%;color:var(--text);font:inherit;resize:vertical;border:1.5px solid #0000;padding:.75rem .9rem}.lead-create-card textarea:focus,.lead-edit-card textarea:focus{background:var(--surface);border-color:var(--accent);box-shadow:0 0 0 4px var(--accent-weak);outline:none}.lead-action-card{flex-direction:column;align-items:flex-start;gap:.7rem;display:flex}.lead-action-card p{margin:0}.lead-converted-notice{margin-bottom:1rem}.lead-converted-notice a,.lead-conversion-link a,.activities .notice a{color:var(--accent-2);font-weight:650}.lead-conversion-link{padding:.9rem 1.25rem}.lead-email{font-size:.78rem}.lead-temp-cold{background:var(--surface-3);color:var(--text-2)}.lead-temp-warm{background:var(--pend-weak);color:var(--pend)}.lead-temp-hot{background:var(--danger-weak);color:var(--danger)}@media (width<=640px){.lead-page-header{flex-direction:column}.lead-form-grid{grid-template-columns:1fr}.lead-toolbar input[type=search]{min-width:0}}.opportunity-page-header{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.opportunity-toolbar input[type=search]{min-width:280px}.opportunity-create-card,.opportunity-edit-card,.opportunity-history-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);box-shadow:var(--sh-sm);padding:1.1rem 1.25rem}.opportunity-create-card{margin-bottom:1.15rem}.opportunity-edit-card h3,.opportunity-history-card h3{margin:0 0 .8rem}.opportunity-form-grid,.customer-picker{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 1rem;display:grid}.opportunity-create-card textarea,.opportunity-edit-card textarea{border-radius:var(--r-sm);background:var(--surface-2);width:100%;color:var(--text);font:inherit;resize:vertical;border:1.5px solid #0000;padding:.75rem .9rem}.opportunity-create-card textarea:focus,.opportunity-edit-card textarea:focus{background:var(--surface);border-color:var(--accent);box-shadow:0 0 0 4px var(--accent-weak);outline:none}.opportunity-stage-open{background:var(--accent-weak);color:var(--accent-2)}.opportunity-stage-won{background:var(--ok-weak);color:var(--ok)}.opportunity-stage-lost{background:var(--danger-weak);color:var(--danger)}.opportunity-stage-summary{margin:0 0 1.25rem}.opportunity-stage-strip{grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:.45rem;margin:0;padding:.2rem 0 .45rem;display:grid;overflow-x:auto}.opportunity-stage-terminal-strip{border-top:1px dashed var(--border);justify-content:space-between;align-items:flex-start;gap:1rem;margin-top:.55rem;padding-top:.7rem;display:flex}.opportunity-stage-terminal-copy{flex-direction:column;gap:.15rem;min-width:190px;font-size:.78rem;display:flex}.opportunity-stage-terminal-options{grid-template-columns:repeat(2,minmax(120px,1fr));gap:.45rem;min-width:260px;display:grid}.opportunity-stage-step{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-sm);min-width:120px;color:var(--text-2);box-shadow:var(--sh-sm);flex-direction:column;gap:.2rem;padding:.65rem .75rem;font-size:.78rem;font-weight:700;display:flex}.opportunity-stage-step-position{color:var(--muted);font-size:.65rem;font-weight:700}.opportunity-stage-step.active{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-weak);color:var(--accent-2)}.opportunity-stage-step-won.active{border-color:var(--ok);box-shadow:0 0 0 3px var(--ok-weak);color:var(--ok)}.opportunity-stage-step-lost.active{border-color:var(--danger);box-shadow:0 0 0 3px var(--danger-weak);color:var(--danger)}.opportunity-history-list{flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.opportunity-history-list li{border-bottom:1px solid var(--border);justify-content:space-between;align-items:flex-start;gap:1rem;padding:.8rem 0;display:flex}.opportunity-history-list li:last-child{border-bottom:none}.opportunity-history-main{flex-direction:column;gap:.15rem;display:flex}.opportunity-history-list time{flex:none;font-size:.78rem}.opportunity-detail-link a{color:var(--accent-2);font-weight:650;text-decoration:none}.opportunity-detail-link a:hover{text-decoration:underline}@media (width<=640px){.opportunity-page-header{flex-direction:column}.opportunity-form-grid,.customer-picker{grid-template-columns:1fr}.opportunity-toolbar input[type=search]{min-width:0}.opportunity-history-list li{flex-direction:column;gap:.2rem}.opportunity-stage-terminal-strip{flex-direction:column}.opportunity-stage-terminal-options{width:100%;min-width:0}}.opportunity-activities-section{flex-direction:column;gap:1rem;display:flex}.opportunity-activities-section>h3{margin:0;font-size:1rem;font-weight:750}.customer-opportunities{flex-direction:column;gap:1rem;display:flex}.customer-opportunities-header{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.customer-opportunities-header h3{margin:0 0 .25rem}.customer-opportunities-header p{margin:0}.customer-opportunities-count{font-size:.82rem;font-weight:650}@media (width<=640px){.customer-opportunities-header{flex-direction:column}}.customer-relationship-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);box-shadow:var(--sh-sm);flex-direction:column;gap:.8rem;padding:1rem 1.25rem;display:flex}.customer-relationship-card h3,.customer-relationship-card p{margin:0}.customer-relationship-form{flex-wrap:wrap;align-items:flex-end;gap:.8rem;display:flex}.customer-relationship-form .field{min-width:220px;margin:0}.customer-relationship-success{color:var(--ok);font-size:.82rem;font-weight:650}@media (width<=640px){.customer-relationship-form{flex-direction:column;align-items:stretch}.customer-relationship-form .field{min-width:0}}.opportunity-view-toggle{border:1px solid var(--border);border-radius:var(--r-pill);background:var(--surface-2);gap:.35rem;margin-bottom:1rem;padding:.3rem;display:inline-flex}.opportunity-pipeline-board{grid-auto-columns:minmax(280px,320px);grid-auto-flow:column;align-items:start;gap:1rem;padding:.15rem .1rem 1rem;display:grid;overflow-x:auto}.pipeline-column{border:1px solid var(--border);border-radius:var(--r-lg);background:var(--surface-2);min-height:240px;padding:.8rem}.pipeline-column-won{background:linear-gradient(180deg, var(--ok-weak), var(--surface-2) 90px)}.pipeline-column-lost{background:linear-gradient(180deg, var(--danger-weak), var(--surface-2) 90px)}.pipeline-column-header{justify-content:space-between;align-items:flex-start;gap:.75rem;margin-bottom:.8rem;display:flex}.pipeline-column-header h2{margin:0;font-size:.9rem;font-weight:800}.pipeline-column-header p{margin:.15rem 0 0;font-size:.7rem;font-weight:700}.pipeline-column-summary{flex-direction:column;align-items:flex-end;gap:.3rem;display:flex}.pipeline-column-count{border-radius:var(--r-pill);background:var(--surface);border:1px solid var(--border);white-space:nowrap;justify-content:center;align-items:center;min-height:28px;padding:.3rem .55rem;font-size:.72rem;font-weight:800;display:inline-flex}.pipeline-column-total{color:var(--text-2);white-space:nowrap;font-size:.7rem;font-weight:750}.pipeline-terminal-group{border-left:1px dashed var(--border);flex-direction:column;gap:.65rem;padding-left:1rem;display:flex}.pipeline-terminal-header{align-items:baseline;gap:.65rem;min-height:28px;display:flex}.pipeline-terminal-header strong{font-size:.8rem}.pipeline-terminal-header span{font-size:.7rem}.pipeline-terminal-columns{align-items:flex-start;gap:1rem;display:flex}.pipeline-card-list{flex-direction:column;gap:.65rem;display:flex}.pipeline-card{border:1px solid var(--border);border-radius:var(--r-md);background:var(--surface);box-shadow:var(--sh-sm);flex-direction:column;gap:.6rem;padding:.85rem;transition:opacity .15s,transform .15s,box-shadow .15s;display:flex}.pipeline-card.moving{opacity:.65;pointer-events:none}.pipeline-card-title{color:var(--accent-2);font-weight:750;line-height:1.25;text-decoration:none}.pipeline-card-title:hover,.pipeline-card-customer a:hover{text-decoration:underline}.pipeline-card-customer{font-size:.8rem}.pipeline-card-customer a{color:var(--text-2);font-weight:650;text-decoration:none}.pipeline-card-meta{gap:.4rem;margin:0;display:grid}.pipeline-card-meta>div{justify-content:space-between;gap:.75rem;display:flex}.pipeline-card-meta dt{color:var(--muted);font-size:.72rem}.pipeline-card-meta dd{text-align:right;margin:0;font-size:.76rem;font-weight:700}.pipeline-card-move{border-top:1px solid var(--border);flex-direction:column;gap:.3rem;padding-top:.55rem;display:flex}.pipeline-card-move label{color:var(--muted);font-size:.7rem;font-weight:650}.pipeline-card-move select{width:100%;font-size:.78rem}.pipeline-column-empty{text-align:center;color:var(--muted);padding:1rem .5rem;font-size:.8rem}.pipeline-column-limit{margin:.8rem 0 0;font-size:.72rem;line-height:1.4}.pipeline-board-error{margin:0 0 .8rem}@media (width<=640px){.opportunity-pipeline-board{grid-auto-columns:minmax(260px,86vw)}.pipeline-terminal-group{padding-left:.75rem}.pipeline-terminal-header{flex-direction:column;align-items:flex-start;gap:.2rem}.pipeline-terminal-columns .pipeline-column{width:86vw}}.scopebar{flex-wrap:wrap;align-items:center;gap:.6rem;margin:.2rem 0 1.2rem;display:flex}.chip{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-pill);box-shadow:var(--sh-sm);align-items:center;gap:.35rem;padding:.3rem .8rem;font-size:.8rem;font-weight:600;display:inline-flex}.chip strong{color:var(--accent-2)}.org-tree-wrap{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);box-shadow:var(--sh-sm);padding:.6rem .5rem;overflow-x:hidden}ul.org-tree,ul.org-children{margin:0;padding:0;list-style:none}ul.org-children{padding-left:1.5rem;position:relative}ul.org-children:before{content:"";background:var(--border);width:1.5px;position:absolute;top:0;bottom:1.1rem;left:.62rem}.org-node{position:relative}.org-row{border-radius:var(--r-md);align-items:flex-start;gap:.5rem;min-width:0;margin:2px 0;padding:.5rem .55rem;display:flex}.org-row:hover{background:var(--surface-2)}ul.org-children .org-row:before{content:"";background:var(--border);width:.78rem;height:1.5px;position:absolute;top:1.4rem;left:-.88rem}.org-toggle{border:1px solid var(--border);background:var(--surface);cursor:pointer;width:24px;height:24px;color:var(--text-2);border-radius:8px;flex:none;place-items:center;margin-top:1px;padding:0;display:grid}.org-toggle:hover{background:var(--surface-2);color:var(--text)}.org-toggle svg{width:13px;height:13px;transition:transform .15s}.org-toggle.collapsed svg{transform:rotate(-90deg)}.org-toggle.leaf{visibility:hidden;background:0 0;border:none}.org-body{flex:1;min-width:0}.org-top{flex-wrap:wrap;align-items:center;gap:.5rem;min-width:0;display:flex}.org-name{color:var(--accent-2);white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-weight:680;text-decoration:none;overflow:hidden}.org-name:hover{text-decoration:underline}.org-code{letter-spacing:.02em;color:var(--text-2);background:var(--surface-3);border-radius:var(--r-pill);flex:none;padding:.1rem .5rem;font-size:.7rem;font-weight:700}.org-inactive{color:var(--danger);background:var(--danger-weak);border-radius:var(--r-pill);flex:none;padding:.1rem .5rem;font-size:.68rem;font-weight:700}.org-meta{color:var(--muted);flex-wrap:wrap;gap:.3rem .9rem;margin-top:.2rem;font-size:.78rem;display:flex}.org-loc{align-items:center;gap:.3rem;min-width:0;display:inline-flex}.org-loc svg{flex:none;width:13px;height:13px}.org-loc span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.org-count{color:var(--accent-2);align-items:center;gap:.3rem;font-weight:650;display:inline-flex}@media (width<=640px){ul.org-children{padding-left:1.05rem}ul.org-children:before{left:.5rem}ul.org-children .org-row:before{width:.5rem;left:-.6rem}}.owner-picker{position:relative}.owner-trigger{width:100%;font:inherit;text-align:left;border:1px solid var(--border);border-radius:var(--r-sm);background:var(--surface);color:var(--text);cursor:pointer;align-items:center;gap:.6rem;padding:.55rem .7rem;transition:border-color .12s;display:flex}.owner-trigger:hover:not(:disabled){border-color:var(--accent)}.owner-trigger:disabled{opacity:.6;cursor:not-allowed}.owner-trigger-main{flex-direction:column;flex:auto;gap:.1rem;min-width:0;display:flex}.owner-trigger-name{white-space:nowrap;text-overflow:ellipsis;align-items:center;gap:.4rem;font-weight:600;display:inline-flex;overflow:hidden}.owner-trigger-name.placeholder{color:var(--muted);font-weight:500}.owner-trigger-code{color:var(--muted);font-size:.72rem}.owner-trigger-caret{color:var(--muted);flex:none;font-size:.8rem}.owner-name{align-items:center;gap:.4rem;display:inline-flex}.owner-none{color:var(--muted);font-style:italic}.owner-inactive-tag{letter-spacing:.02em;color:var(--danger);background:var(--danger-weak);border-radius:var(--r-pill);white-space:nowrap;padding:.05rem .45rem;font-size:.62rem;font-weight:700}.toolbar-filter-owner{min-width:190px}.toolbar-filter-owner .owner-picker{min-width:170px}.owner-modal-overlay{z-index:60;background:#12182873;justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}.owner-modal{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);flex-direction:column;width:min(440px,100%);max-height:80vh;display:flex;overflow:hidden;box-shadow:0 20px 50px #0a14324d}.owner-modal-head{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:.9rem 1rem;display:flex}.owner-modal-close{color:var(--muted);cursor:pointer;background:0 0;border:0;font-size:1.3rem;line-height:1}.owner-modal-close:hover{color:var(--text)}.owner-modal-search{padding:.75rem 1rem}.owner-modal-search input{width:100%;font:inherit;border:1px solid var(--border);border-radius:var(--r-sm);background:var(--surface);color:var(--text);padding:.55rem .7rem}.owner-modal-list{padding:.3rem .6rem .8rem;overflow-y:auto}.owner-option{width:100%;font:inherit;text-align:left;border-radius:var(--r-sm);color:var(--text);cursor:pointer;background:0 0;border:0;justify-content:space-between;align-items:baseline;gap:.6rem;padding:.6rem;display:flex}.owner-option:hover,.owner-option.selected{background:var(--accent-weak)}.owner-option-name{font-weight:600}.owner-option-code{color:var(--muted);font-size:.72rem}.owner-option-none{border-bottom:1px solid var(--border);border-radius:0}.owner-modal-state{text-align:center;color:var(--muted);padding:1.1rem .7rem;font-size:.85rem}.owner-modal-state.error{color:var(--danger);flex-direction:column;align-items:center;gap:.5rem;display:flex}.owner-retry{font:inherit;border:1px solid var(--danger);background:var(--surface);color:var(--danger);border-radius:var(--r-sm);cursor:pointer;padding:.25rem .7rem;font-size:.8rem;font-weight:600}.owner-modal-foot{border-top:1px solid var(--border);color:var(--muted);background:var(--surface-2);padding:.5rem 1rem;font-size:.72rem}@media (width<=600px){.owner-modal{width:100%;max-height:88vh}.toolbar-filter-owner,.toolbar-filter-owner .owner-picker{width:100%;min-width:0}}.visit-page{max-width:760px}.visit-tabs{-webkit-overflow-scrolling:touch;gap:.35rem;margin:.4rem 0 .8rem;padding-bottom:.3rem;display:flex;overflow-x:auto}.visit-tab{font:inherit;border:1px solid var(--border);background:var(--surface);color:var(--text-2);border-radius:var(--pill);cursor:pointer;white-space:nowrap;flex:none;padding:.4rem .85rem;font-size:.8rem;font-weight:700}.visit-tab.active{background:var(--accent);color:#fff;border-color:var(--accent)}.visit-toolbar{gap:.5rem;margin-bottom:.6rem;display:flex}.visit-toolbar input{min-width:0;font:inherit;border:1px solid var(--border);border-radius:var(--pill);background:var(--surface);color:var(--text);flex:auto;padding:.6rem .8rem}.visit-filters{flex-wrap:wrap;gap:.6rem;margin-bottom:1rem;display:flex}.visit-filter{flex-direction:column;gap:.2rem;font-size:.74rem;display:flex}.visit-filter input{font:inherit;border:1px solid var(--border);border-radius:var(--r-sm);background:var(--surface);color:var(--text);padding:.45rem .55rem;font-size:.82rem}.visit-filter-owner{flex:200px;min-width:0}.visit-list{flex-direction:column;gap:.6rem;margin:0;padding:0;list-style:none;display:flex}.visit-card{color:inherit;background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg,14px);box-shadow:var(--sh-sm);padding:.85rem;text-decoration:none;display:block}.visit-card:hover{border-color:var(--accent)}.visit-card.target-missing,.visit-card.target-missing:hover{border-color:var(--danger);box-shadow:0 0 0 1px var(--danger-weak)}.visit-card-target.target-missing{color:var(--danger)}.visit-card-top{justify-content:space-between;align-items:flex-start;gap:.5rem;display:flex}.visit-card-target{overflow-wrap:anywhere;font-size:.98rem;font-weight:800}.visit-card-type{color:var(--muted);background:var(--surface-3);border-radius:var(--pill);white-space:nowrap;margin-left:.4rem;padding:.08rem .45rem;font-size:.64rem;font-weight:700}.visit-card-meta{flex-direction:column;gap:.2rem;margin-top:.4rem;font-size:.82rem;display:flex}.visit-card-purpose{background:var(--surface-2);border-radius:var(--r-sm);overflow-wrap:anywhere;margin:.45rem 0 0;padding:.4rem .55rem;font-size:.82rem}.visit-badge{border-radius:var(--pill);white-space:nowrap;flex:none;padding:.2rem .55rem;font-size:.64rem;font-weight:800}.visit-badge-planned{color:var(--accent);background:var(--accent-weak)}.visit-badge-in_progress{color:var(--pend,#b7791f);background:var(--pend-weak,#fdf3e2)}.visit-badge-completed{color:var(--ok);background:var(--ok-weak)}.visit-badge-cancelled{color:var(--danger);background:var(--danger-weak)}.visit-create-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg,14px);box-shadow:var(--sh-sm);margin-bottom:1rem;padding:1rem}.visit-target-selected-type{color:var(--muted);margin-top:.08rem;font-size:.7rem;font-weight:700}.visit-target-modal{width:min(520px,100%)}.visit-target-modal-help{color:var(--muted);margin-top:.12rem;font-size:.72rem;font-weight:500}.visit-target-option{align-items:center}.visit-target-type-badge{border-radius:var(--r-pill);background:var(--surface-3);color:var(--text-2);letter-spacing:.01em;flex:none;padding:.12rem .45rem;font-size:.65rem;font-weight:800}.visit-target-type-customer{background:var(--accent-weak);color:var(--accent-2,var(--accent))}.visit-target-type-lead{background:var(--pend-weak,#fdf3e2);color:var(--pend,#b7791f)}.visit-target-type-opportunity{background:var(--ok-weak);color:var(--ok)}.visit-target-trigger-row{align-items:center;gap:8px;display:flex}.visit-target-trigger-row .owner-trigger{flex:1;min-width:0}.visit-target-clear{border:1px solid var(--border-color,#d1d5db);width:36px;height:36px;color:var(--text-muted,#6b7280);cursor:pointer;background:0 0;border-radius:8px;flex:0 0 36px;justify-content:center;align-items:center;font-size:22px;display:inline-flex}.visit-target-clear:hover:not(:disabled){color:#dc2626;background:#fee2e2;border-color:#fca5a5}.visit-target-clear:disabled{opacity:.5;cursor:not-allowed}.visit-seg{background:var(--surface-3);border-radius:var(--r-sm);gap:.25rem;padding:.25rem;display:flex}.visit-seg button{font:inherit;color:var(--text-2);border-radius:calc(var(--r-sm) - 2px);cursor:pointer;background:0 0;border:0;flex:1;padding:.5rem .3rem;font-size:.82rem;font-weight:700}.visit-seg button.active{background:var(--surface);color:var(--accent-2,var(--accent));box-shadow:var(--sh-sm)}.visit-hero{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg,14px);box-shadow:var(--sh-sm);margin-bottom:.7rem;padding:.95rem}.visit-hero-target{overflow-wrap:anywhere;margin:.4rem 0 .15rem;font-size:1.2rem;font-weight:820}.visit-section{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg,14px);box-shadow:var(--sh-sm);margin-bottom:.7rem;padding:.9rem}.visit-section h3{color:var(--text-2);text-transform:uppercase;letter-spacing:.03em;margin:0 0 .5rem;font-size:.78rem;font-weight:800}.visit-drow{border-bottom:1px dashed var(--border);justify-content:space-between;gap:.8rem;padding:.35rem 0;font-size:.88rem;display:flex}.visit-drow:last-child{border-bottom:0}.visit-drow .k{color:var(--muted);flex:0 0 40%}.visit-drow .v{text-align:right;overflow-wrap:anywhere;font-weight:600}.visit-loc-ok{color:var(--ok);background:var(--ok-weak);border-radius:var(--r-sm);padding:.2rem .5rem;font-weight:700}.visit-actions{flex-direction:column;gap:.6rem;margin-top:.4rem;display:flex}.visit-actions .btn{width:100%}.visit-form-panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg,14px);box-shadow:var(--sh-sm);padding:.9rem}.btn-danger-ghost{background:var(--surface);color:var(--danger);border:1px solid #e0a3a3}.visit-hero-meta{grid-template-columns:1fr 1fr;gap:.5rem .8rem;margin:.6rem 0 0;display:grid}.visit-hero-meta dt{color:var(--text-2);text-transform:uppercase;letter-spacing:.03em;font-size:.7rem;font-weight:800}.visit-hero-meta dd{overflow-wrap:anywhere;margin:.1rem 0 0;font-size:.9rem;font-weight:600}.visit-progress{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg,14px);box-shadow:var(--sh-sm);margin-bottom:.7rem;padding:.75rem .9rem}.visit-progress-label{flex-wrap:wrap;align-items:baseline;gap:.4rem;font-size:.9rem;display:flex}.visit-progress-active{color:var(--accent-2,var(--accent));font-size:.82rem;font-weight:700}.visit-progress-bar{background:var(--surface-3);border-radius:999px;height:7px;margin-top:.5rem;overflow:hidden}.visit-progress-bar>span{background:var(--accent-2,var(--accent));border-radius:999px;height:100%;transition:width .25s;display:block}.visit-progress-cancelled{color:var(--danger);font-weight:700}.visit-locations{flex-direction:column;gap:.6rem;margin-bottom:.7rem;display:flex}.visit-loc-card{background:var(--surface);border:1px solid var(--border);border-left:4px solid var(--border);border-radius:var(--r-lg,14px);box-shadow:var(--sh-sm);padding:.85rem}.visit-loc-pending{border-left-color:var(--muted,#9aa4b2)}.visit-loc-active{border-left-color:var(--accent-2,var(--accent))}.visit-loc-completed{border-left-color:var(--ok,#2e9e5b)}.visit-loc-head{align-items:flex-start;gap:.6rem;display:flex}.visit-loc-seq{background:var(--surface-3);border-radius:999px;flex:none;place-items:center;width:1.6rem;height:1.6rem;font-size:.8rem;font-weight:800;display:grid}.visit-loc-target{overflow-wrap:anywhere;font-size:.8rem}.visit-task-attachment{gap:.5rem;min-width:0;display:grid}.visit-task-attachment-current{overflow-wrap:anywhere;flex-wrap:wrap;align-items:center;gap:.5rem;min-width:0;display:flex}.visit-task-attachment input[type=file]{min-width:0;max-width:100%}.visit-loc-title{flex:auto;min-width:0}.visit-loc-name{overflow-wrap:anywhere;font-weight:760}.visit-loc-address{color:var(--text-2);overflow-wrap:anywhere;font-size:.82rem}.visit-loc-badge{text-transform:uppercase;letter-spacing:.03em;background:var(--surface-3);color:var(--text-2);border-radius:999px;flex:none;padding:.2rem .5rem;font-size:.68rem;font-weight:800}.visit-loc-badge-active{background:var(--accent-weak,#3b82f61f);color:var(--accent-2,var(--accent))}.visit-loc-badge-completed{background:var(--ok-weak,#2e9e5b1f);color:var(--ok,#2e9e5b)}.visit-loc-meta{grid-template-columns:1fr 1fr;gap:.4rem .8rem;margin:.6rem 0 0;display:grid}.visit-loc-meta:empty{display:none}.visit-loc-meta dt{color:var(--text-2);text-transform:uppercase;letter-spacing:.03em;font-size:.68rem;font-weight:800}.visit-loc-meta dd{overflow-wrap:anywhere;margin:.05rem 0 0;font-size:.85rem}.visit-loc-action{width:100%;margin-top:.7rem}.visit-loc-checkout{background:var(--surface);border:1px solid var(--accent-2,var(--accent));color:var(--accent-2,var(--accent))}.visit-checkout-panel{margin-top:.5rem}.visit-loc-editor{border-top:1px dashed var(--border);margin-top:.4rem;padding-top:.8rem}.visit-loc-editor-head{justify-content:space-between;align-items:baseline;margin-bottom:.5rem;display:flex}.visit-loc-draft{border:1px solid var(--border);border-radius:var(--r-lg,14px);background:var(--surface-2,var(--surface));margin-bottom:.6rem;padding:.75rem}.visit-loc-draft-head{justify-content:space-between;align-items:center;margin-bottom:.5rem;display:flex}.visit-loc-draft-actions{gap:.3rem;display:flex}.visit-loc-draft-actions button{border:1px solid var(--border);background:var(--surface);border-radius:var(--r-sm);cursor:pointer;width:2rem;height:2rem;font-size:.95rem;line-height:1}.visit-loc-draft-actions button:disabled{opacity:.4;cursor:not-allowed}.visit-loc-add{width:100%}.visit-locpick{margin-top:.4rem}.visit-locpick-existing{margin-top:.5rem}.visit-locpick-existing input[type=search]{width:100%}.visit-locpick-selected{color:var(--accent-2,var(--accent));margin:.4rem 0;font-size:.85rem}.visit-locpick-list{flex-direction:column;gap:.35rem;max-height:220px;margin-top:.4rem;display:flex;overflow-y:auto}.visit-locpick-state{color:var(--text-2);text-align:center;padding:.6rem;font-size:.85rem}.visit-locpick-opt{text-align:left;border:1px solid var(--border);background:var(--surface);border-radius:var(--r-sm);cursor:pointer;font:inherit;flex-direction:column;gap:.1rem;padding:.55rem .65rem;display:flex}.visit-locpick-opt.selected{border-color:var(--accent-2,var(--accent));box-shadow:0 0 0 1px var(--accent-2,var(--accent)) inset}.visit-locpick-opt-name{font-size:.88rem;font-weight:700}.visit-locpick-opt-addr{color:var(--text-2);font-size:.78rem}.visit-locpick-new{margin-top:.6rem}.visit-locpick-help{color:var(--muted);margin:.3rem 0 0;font-size:.75rem}.visit-place-results{margin-top:-.15rem;margin-bottom:.75rem}.visit-place-selected{border:1px solid var(--border);border-radius:var(--r-md);background:var(--surface-2);margin-top:.75rem;padding:.8rem}.visit-place-selected-head{justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:.65rem;font-size:.75rem;display:flex}.visit-place-selected-head>span{color:var(--text-2);font-weight:700}.visit-place-selected-head>strong{color:var(--ok);font-size:.72rem}.visit-place-address{flex-direction:column;gap:.12rem;margin-top:.3rem;display:flex}.visit-place-address>span{color:var(--muted);font-size:.72rem}.visit-place-address>strong{font-size:.82rem;font-weight:600}.visit-place-coordinate-note{color:var(--muted);font-variant-numeric:tabular-nums;margin-top:.55rem;font-size:.7rem}.visit-place-map-preview{margin-top:.75rem}.visit-place-map-preview .visit-map-section{background:var(--surface);margin:0;padding:.7rem}.visit-place-map-preview .visit-map{height:260px}.visit-place-map-preview .visit-map-head h3{font-size:.82rem}.visit-place-map-preview .visit-map-head p{font-size:.72rem}.visit-locpick-state.error{color:var(--danger);flex-direction:column;gap:.4rem;display:flex}.visit-locpick-retry{font:inherit;border:1px solid var(--border);background:var(--surface);border-radius:var(--r-sm);cursor:pointer;align-self:center;padding:.35rem .8rem;font-weight:700}.visit-edit-panel{flex-direction:column;gap:.6rem;display:flex}@media (width>=720px){.visit-filter-owner{flex:0 0 240px}}.access-role-layout{grid-template-columns:minmax(220px,280px) minmax(0,1fr);align-items:start;gap:1rem;display:grid}.access-role-list,.access-permission-panel{border:1px solid var(--border);border-radius:var(--r-lg);background:var(--surface);box-shadow:var(--sh-sm)}.access-role-list{overflow:hidden}.access-role-list-head{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:.75rem;padding:.8rem .9rem;display:flex}.access-role-list-head span{border-radius:var(--r-pill);background:var(--surface-3);min-width:28px;color:var(--text-2);text-align:center;padding:.12rem .45rem;font-size:.72rem;font-weight:800}.access-role-item{border:0;border-bottom:1px solid var(--border);width:100%;color:var(--text);text-align:left;cursor:pointer;background:0 0;justify-content:space-between;align-items:center;gap:.75rem;padding:.75rem .9rem;display:flex}.access-role-item:last-child{border-bottom:0}.access-role-item:hover,.access-role-item.active{background:var(--accent-weak-2)}.access-role-item>span{flex-direction:column;gap:.08rem;min-width:0;display:flex}.access-role-item strong{font-size:.86rem}.access-role-item small{color:var(--muted);font-size:.68rem}.access-role-item em,.access-permission-check em{border-radius:var(--r-pill);background:var(--surface-3);color:var(--text-2);flex:none;padding:.12rem .42rem;font-size:.62rem;font-style:normal;font-weight:800}.access-permission-panel{min-width:0;padding:1rem}.access-permission-head{border-bottom:1px solid var(--border);justify-content:space-between;align-items:flex-start;gap:1rem;padding-bottom:.9rem;display:flex}.access-permission-head h2{margin:0;font-size:1.1rem}.access-permission-head p{margin:.2rem 0 0}.access-permission-groups{flex-direction:column;gap:.85rem;margin-top:.9rem;display:flex}.access-permission-group{border:1px solid var(--border);border-radius:var(--r-md);background:var(--surface-2);overflow:hidden}.access-permission-group-head{border-bottom:1px solid var(--border);justify-content:space-between;align-items:flex-start;gap:1rem;padding:.75rem .85rem;display:flex}.access-permission-group-head h3{margin:0;font-size:.86rem}.access-permission-group-head p{color:var(--muted);margin:.18rem 0 0;font-size:.7rem;line-height:1.4}.access-select-all{color:var(--text-2);flex:none;align-items:center;gap:.4rem;font-size:.7rem;font-weight:700;display:inline-flex}.access-permission-checks{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.access-permission-check{border-bottom:1px solid var(--border);cursor:pointer;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:.6rem;min-width:0;padding:.7rem .85rem;display:grid}.access-permission-check:nth-child(odd){border-right:1px solid var(--border)}.access-permission-check.locked{cursor:not-allowed;background:var(--surface-3)}.access-permission-check input{margin-top:.2rem}.access-permission-check>span{flex-direction:column;gap:.12rem;min-width:0;display:flex}.access-permission-check strong{font-size:.8rem;line-height:1.35}.access-permission-check small{color:var(--muted);font-size:.68rem;line-height:1.4}.access-savebar{z-index:2;border-top:1px solid var(--border);background:color-mix(in srgb, var(--surface) 96%, transparent);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);justify-content:space-between;align-items:center;gap:1rem;margin:1rem -1rem -1rem;padding:.8rem 1rem;display:flex;position:sticky;bottom:0}@media (width<=820px){.access-role-layout{grid-template-columns:1fr}.access-role-list{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.access-role-list-head{grid-column:1/-1}}@media (width<=640px){.access-role-list{display:block}.access-permission-group-head,.access-savebar{flex-direction:column;align-items:stretch}.access-permission-checks{grid-template-columns:1fr}.access-permission-check:nth-child(odd){border-right:0}.access-savebar .btn{width:100%}}.settings-access-tabs{border:1px solid var(--border);border-radius:var(--r-pill);background:var(--surface-2);gap:.35rem;margin-bottom:1rem;padding:.3rem;display:inline-flex}.settings-access-tab{border-radius:var(--r-pill);color:var(--text-2);padding:.48rem .75rem;font-size:.78rem;font-weight:750;text-decoration:none}.settings-access-tab.active{background:var(--accent);color:var(--surface)}.access-provision-card{border:1px solid var(--border);border-radius:var(--r-lg);background:var(--surface);box-shadow:var(--sh-sm);margin-bottom:1rem;padding:1rem}.access-provision-head h2{margin:0;font-size:1rem}.access-provision-head p{margin:.2rem 0 .9rem}.access-provision-grid{grid-template-columns:minmax(0,2fr) minmax(180px,1fr) minmax(220px,1fr);gap:.8rem;display:grid}.access-employee-results{flex-direction:column;gap:.3rem;max-height:210px;margin-top:.35rem;display:flex;overflow-y:auto}.access-employee-option{border:1px solid var(--border);border-radius:var(--r-sm);background:var(--surface-2);color:var(--text);font:inherit;text-align:left;cursor:pointer;justify-content:space-between;align-items:center;gap:.75rem;padding:.55rem .65rem;display:flex}.access-employee-option.selected{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}.access-employee-option strong{font-size:.8rem}.access-employee-option span{color:var(--muted);white-space:nowrap;font-size:.68rem}.access-selected-note{color:var(--ok);margin-top:.35rem;font-size:.72rem;font-weight:700;display:block}.access-assignment-section{border:1px solid var(--border);border-radius:var(--r-md);background:var(--surface-2);margin-top:.9rem;padding:.8rem}.access-assignment-heading{justify-content:space-between;align-items:baseline;gap:1rem;margin-bottom:.6rem;display:flex}.access-assignment-heading strong{font-size:.84rem}.access-assignment-heading span{font-size:.68rem}.access-role-checks{grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem;display:grid}.access-role-check{border:1px solid var(--border);border-radius:var(--r-sm);background:var(--surface);cursor:pointer;align-items:flex-start;gap:.55rem;padding:.6rem .65rem;display:flex}.access-role-check input{margin-top:.18rem}.access-role-check>span{flex-direction:column;min-width:0;display:flex}.access-role-check strong{font-size:.78rem}.access-role-check small{color:var(--muted);font-size:.66rem}.access-scope-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem;margin:.9rem 0;display:grid}.access-scope-card{border:1px solid var(--border);border-radius:var(--r-md);background:var(--surface-2);margin:0;padding:.75rem .8rem}.access-scope-card legend{padding:0 .25rem;font-size:.78rem;font-weight:800}.access-scope-option{cursor:pointer;align-items:flex-start;gap:.55rem;padding:.45rem 0;display:flex}.access-scope-option input{margin-top:.2rem}.access-scope-option>span{flex-direction:column;gap:.08rem;display:flex}.access-scope-option strong{font-size:.76rem}.access-scope-option small{color:var(--muted);font-size:.66rem}.access-user-layout{grid-template-columns:minmax(240px,300px) minmax(0,1fr);align-items:start;gap:1rem;display:grid}.access-user-list,.access-user-detail{border:1px solid var(--border);border-radius:var(--r-lg);background:var(--surface);box-shadow:var(--sh-sm)}.access-user-list{overflow:hidden}.access-user-item{border:0;border-bottom:1px solid var(--border);width:100%;color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;justify-content:space-between;align-items:center;gap:.75rem;padding:.72rem .85rem;display:flex}.access-user-item:last-child{border-bottom:0}.access-user-item:hover,.access-user-item.active{background:var(--accent-weak-2)}.access-user-item>span{flex-direction:column;gap:.08rem;min-width:0;display:flex}.access-user-item strong{overflow-wrap:anywhere;font-size:.82rem}.access-user-item small{color:var(--muted);font-size:.67rem}.access-user-item em{border-radius:var(--r-pill);flex:none;padding:.12rem .42rem;font-size:.62rem;font-style:normal;font-weight:800}.access-user-item em.active{background:var(--ok-weak);color:var(--ok)}.access-user-item em.inactive{background:var(--danger-weak);color:var(--danger)}.access-user-detail{min-width:0;padding:1rem}.access-user-detail-head{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.access-user-detail-head h2{margin:0;font-size:1.08rem}.access-user-detail-head p{margin:.2rem 0 0}.access-user-meta{grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem;margin:.9rem 0 0;display:grid}.access-user-meta>div{border:1px solid var(--border);border-radius:var(--r-sm);background:var(--surface-2);padding:.65rem .7rem}.access-user-meta dt{color:var(--muted);text-transform:uppercase;font-size:.65rem;font-weight:700}.access-user-meta dd{margin:.15rem 0 0;font-size:.78rem;font-weight:700}.access-user-actions{flex-wrap:wrap;gap:.55rem;margin-top:.9rem;display:flex}.access-credential-reveal{border:1px solid color-mix(in srgb, var(--pend) 45%, var(--border));border-radius:var(--r-md);background:var(--pend-weak);justify-content:space-between;align-items:center;gap:1rem;margin:.9rem 0;padding:.8rem .9rem;display:flex}.access-credential-reveal strong{font-size:.82rem;display:block}.access-credential-reveal p{color:var(--text-2);margin:.18rem 0 .45rem;font-size:.7rem}.access-credential-reveal code{border-radius:var(--r-sm);background:var(--surface);color:var(--text);overflow-wrap:anywhere;padding:.3rem .45rem;font-size:.78rem;display:inline-block}@media (width<=980px){.access-provision-grid,.access-role-checks{grid-template-columns:1fr 1fr}.access-user-layout{grid-template-columns:1fr}}@media (width<=640px){.settings-access-tabs,.access-provision-grid,.access-role-checks,.access-scope-grid,.access-user-meta{grid-template-columns:1fr}.settings-access-tabs{border-radius:var(--r-md);width:100%;display:grid}.settings-access-tab{text-align:center}.access-assignment-heading,.access-user-detail-head,.access-credential-reveal{flex-direction:column;align-items:stretch}.access-user-actions .btn,.access-credential-reveal .btn{width:100%}}.access-role-title-row{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.access-privileged-badge{border-radius:var(--r-pill);background:var(--pend-weak);color:var(--pend);align-items:center;padding:.16rem .48rem;font-size:.64rem;font-weight:800;display:inline-flex}.access-privileged-warning{border:1px solid color-mix(in srgb, var(--pend) 38%, var(--border));border-radius:var(--r-sm);background:var(--pend-weak);color:var(--text-2);align-items:flex-start;gap:.55rem;margin-top:.8rem;padding:.65rem .75rem;font-size:.72rem;line-height:1.45;display:flex}.access-privileged-warning strong{color:var(--pend);flex:none}.access-scope-card{padding:.7rem .75rem .65rem}.access-scope-segments{grid-template-columns:repeat(3,minmax(0,1fr));gap:.35rem;display:grid}.access-scope-segment{border:1px solid var(--border);border-radius:var(--r-sm);background:var(--surface);min-height:38px;color:var(--text-2);cursor:pointer;place-items:center;padding:.45rem .55rem;font-size:.72rem;font-weight:800;transition:border-color .14s,background .14s,color .14s,box-shadow .14s;display:grid;position:relative}.access-scope-segment input{opacity:0;pointer-events:none;position:absolute}.access-scope-segment:hover{border-color:var(--accent)}.access-scope-segment.active{border-color:var(--accent);background:var(--accent-weak);color:var(--accent-2);box-shadow:inset 0 0 0 1px var(--accent)}.access-scope-help{min-height:1.15rem;color:var(--muted);margin:.45rem 0 0;font-size:.67rem;line-height:1.4}.access-permission-group>summary{cursor:pointer;list-style:none}.access-permission-group>summary::-webkit-details-marker{display:none}.access-permission-group>summary:after{content:"▾";color:var(--muted);flex:none;align-self:center;margin-left:.25rem;font-size:.78rem;transition:transform .15s}.access-permission-group:not([open])>summary:after{transform:rotate(-90deg)}.access-permission-count{border-radius:var(--r-pill);background:var(--surface-3);min-width:42px;color:var(--text-2);text-align:center;flex:none;align-self:center;padding:.18rem .45rem;font-size:.66rem;font-weight:800}.access-permission-group-tools{border-bottom:1px solid var(--border);background:var(--surface);justify-content:flex-end;padding:.45rem .75rem;display:flex}.access-select-all{appearance:none;color:var(--accent-2);cursor:pointer;font:inherit;background:0 0;border:0;font-size:.69rem;font-weight:800}.access-select-all:hover{text-decoration:underline}.access-unsaved-note,.access-user-save-state{color:var(--pend);font-size:.72rem;font-weight:700}.access-user-save-state{min-height:1rem;margin-top:.35rem}.access-user-actions .btn:disabled,.access-savebar .btn:disabled{cursor:not-allowed;opacity:.55}@media (width<=640px){.access-scope-segments{grid-template-columns:1fr}.access-privileged-warning{flex-direction:column;gap:.2rem}.access-permission-group-head{flex-direction:row;align-items:center}}.visit-locations-head{justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:.1rem;padding:.2rem .1rem;display:flex}.visit-locations-head>div{align-items:baseline;gap:.5rem;min-width:0;display:flex}.visit-locations-head strong{font-size:.86rem}.visit-locations-head .muted,.visit-location-count{font-size:.7rem}.visit-location-count{border-radius:var(--r-pill);background:var(--surface-3);color:var(--text-2);flex:none;padding:.16rem .5rem;font-weight:750}.visit-location-accordion{border:1px solid var(--border);border-left:4px solid var(--border);border-radius:var(--r-md);background:var(--surface);box-shadow:var(--sh-sm);overflow:hidden}.visit-location-accordion.visit-loc-pending{border-left-color:var(--muted,#9aa4b2)}.visit-location-accordion.visit-loc-active{border-left-color:var(--accent-2,var(--accent))}.visit-location-accordion.visit-loc-completed{border-left-color:var(--ok,#2e9e5b)}.visit-location-accordion-toggle{width:100%;color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:.6rem;padding:.7rem .75rem;display:grid}.visit-location-accordion-toggle:hover{background:var(--surface-2)}.visit-location-accordion.expanded>.visit-location-accordion-toggle{background:var(--surface-2);border-bottom:1px solid var(--border)}.visit-location-accordion-copy{flex-direction:column;gap:.08rem;min-width:0;display:flex}.visit-location-accordion-copy strong{text-overflow:ellipsis;white-space:nowrap;font-size:.82rem;overflow:hidden}.visit-location-accordion-copy small{text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:.7rem;overflow:hidden}.visit-location-accordion-caret{width:1rem;color:var(--muted);text-align:center;font-size:1rem}.visit-location-accordion-body{padding:.7rem}.visit-location-accordion-body>.visit-loc-card{box-shadow:none;background:0 0;border:0;border-radius:0;padding:0}.visit-location-accordion-body>.visit-loc-card>.visit-loc-head{display:none}.visit-location-accordion-body>.visit-loc-card .visit-loc-meta{margin-top:0}.visit-activity{margin-top:.75rem}.visit-activity-title{text-transform:uppercase;letter-spacing:.03em;color:var(--text-2);margin:0 0 .5rem;font-size:.72rem;font-weight:800}.visit-activity-empty{margin:0;font-size:.85rem}.visit-timeline{margin:0;padding:0;list-style:none}.visit-timeline-item{gap:.6rem;padding:0 0 .8rem;display:flex;position:relative}.visit-timeline-item:last-child{padding-bottom:0}.visit-timeline-item:before{content:"";background:var(--border);width:2px;position:absolute;top:14px;bottom:0;left:5px}.visit-timeline-item:last-child:before{display:none}.visit-timeline-dot{background:var(--surface-3);border:2px solid var(--muted,#9aa4b2);z-index:1;border-radius:50%;flex:none;width:12px;height:12px;margin-top:3px}.visit-timeline-check_in .visit-timeline-dot{border-color:var(--accent-2,var(--accent));background:var(--accent-weak,#e9f0ff)}.visit-timeline-check_out .visit-timeline-dot{border-color:var(--ok,#1f9d55);background:var(--ok-weak,#e7f6ee)}.visit-timeline-body{flex:auto;min-width:0}.visit-timeline-head{flex-wrap:wrap;justify-content:space-between;gap:.3rem .8rem;font-size:.88rem;display:flex}.visit-timeline-time{color:var(--text-2)}.visit-timeline-gps{color:var(--text-2);flex-wrap:wrap;gap:.4rem;margin-top:.15rem;font-size:.8rem;display:flex}.visit-timeline-accuracy{font-weight:600}.visit-result-block{border-top:1px dashed var(--border);flex-direction:column;gap:.6rem;margin-top:.8rem;padding-top:.7rem;display:flex}.visit-result-label{text-transform:uppercase;letter-spacing:.03em;color:var(--text-2);margin-bottom:.15rem;font-size:.68rem;font-weight:800;display:block}.visit-result-text{overflow-wrap:anywhere;margin:0;font-size:.9rem}.visit-result-note{white-space:pre-wrap}.visit-loc-draft{padding:0;overflow:hidden}.visit-loc-draft-head{align-items:stretch;gap:.4rem;margin:0;padding:.4rem;display:flex}.visit-loc-draft-toggle{border-radius:var(--r-sm);min-width:0;color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;flex:auto;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:.55rem;padding:.35rem .4rem;display:grid}.visit-loc-draft-toggle:hover,.visit-loc-draft.expanded .visit-loc-draft-toggle{background:var(--surface)}.visit-loc-draft-seq{border-radius:var(--r-pill);background:var(--surface-3);place-items:center;width:1.55rem;height:1.55rem;font-size:.72rem;font-weight:800;display:grid}.visit-loc-draft-summary{flex-direction:column;gap:.06rem;min-width:0;display:flex}.visit-loc-draft-summary strong,.visit-loc-draft-summary small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.visit-loc-draft-summary strong{font-size:.78rem}.visit-loc-draft-summary small{color:var(--muted);font-size:.66rem}.visit-loc-draft-state{border-radius:var(--r-pill);background:var(--pend-weak);color:var(--pend);white-space:nowrap;flex:none;padding:.12rem .4rem;font-size:.62rem;font-weight:800}.visit-loc-draft-state.valid{background:var(--ok-weak);color:var(--ok)}.visit-loc-draft-caret{color:var(--muted);font-size:.95rem}.visit-loc-draft-actions{flex:none;align-items:center}.visit-loc-draft-body{border-top:1px solid var(--border);padding:0 .75rem .75rem}.visit-recurrence{border:1px solid var(--border);border-radius:var(--r-lg,14px);background:var(--surface);margin:.85rem 0;padding:.85rem}.visit-recurrence-toggle{cursor:pointer;align-items:center;gap:.7rem;font-weight:700;display:flex}.visit-recurrence-toggle input{flex:none;width:18px;height:18px}.visit-recurrence-body{gap:.65rem;margin-top:.7rem;display:grid}.visit-recurrence-body p{margin:0}.visit-recurrence-dates{grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem;display:grid}.visit-recurrence-dates input{box-sizing:border-box;width:100%;min-width:0}.visit-recurrence-preview{border:1px solid var(--border);border-radius:var(--r-sm);overflow-wrap:anywhere;gap:.25rem;padding:.55rem .7rem;display:grid}.visit-create-feedback{border:1px solid var(--border);border-radius:var(--r-sm);margin-bottom:.8rem;padding:.65rem .8rem}@media (width<=640px){.visit-recurrence-dates{grid-template-columns:minmax(0,1fr)}}.visit-create-savebar{z-index:3;border-top:1px solid var(--border);background:color-mix(in srgb, var(--surface) 96%, transparent);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);justify-content:space-between;align-items:center;gap:.75rem;margin:.9rem -.9rem -.9rem;padding:.7rem .9rem;display:flex;position:sticky;bottom:0}.visit-create-savebar>span{font-size:.7rem}@media (width<=640px){.visit-location-accordion-toggle,.visit-loc-draft-toggle{grid-template-columns:auto minmax(0,1fr) auto}.visit-location-accordion-caret,.visit-loc-draft-caret{display:none}.visit-loc-draft-head{flex-direction:column}.visit-loc-draft-actions{justify-content:flex-end;padding:0 .35rem .25rem}.visit-create-savebar{flex-direction:column;align-items:stretch}.visit-create-savebar .btn{width:100%}}.quotation-modal{width:100%;max-width:560px}.quotation-body{flex-direction:column;gap:.8rem;max-height:70vh;padding:.9rem;display:flex;overflow-y:auto}.quotation-for{margin:0;font-size:.9rem}.quotation-group{border:1px solid var(--border);border-radius:var(--r-sm);background:var(--surface-2,var(--surface));min-width:0;margin-bottom:.65rem;padding:.65rem}.quotation-group-head{justify-content:space-between;align-items:end;gap:.6rem;margin-bottom:.65rem;display:flex}.quotation-group-title{flex:auto;min-width:0}.quotation-group-title input{width:100%}.quotation-group-head>button{flex:none}@media (width<=620px){.quotation-group-head{flex-direction:column;align-items:stretch}.quotation-group-head>button{align-self:flex-end}}.quotation-items-head{justify-content:space-between;align-items:baseline;margin-bottom:.4rem;display:flex}.quotation-item{border:1px solid var(--border);border-radius:var(--r-sm);background:var(--surface-2,var(--surface));margin-bottom:.5rem;padding:.6rem}.quotation-item-nums{grid-template-columns:1fr 1fr auto;align-items:start;gap:.5rem;display:grid}.quotation-item-remove{border:1px solid var(--border);background:var(--surface);border-radius:var(--r-sm);cursor:pointer;align-self:center;width:2rem;height:2rem;line-height:1}.quotation-item-remove:disabled{opacity:.4;cursor:not-allowed}.quotation-add{width:100%}.quotation-meta{grid-template-columns:1fr 1fr;gap:.5rem .7rem;display:grid}.quotation-totals{border-top:1px dashed var(--border);flex-direction:column;gap:.25rem;margin:0;padding-top:.6rem;display:flex}.quotation-totals>div{justify-content:space-between;font-size:.88rem;display:flex}.quotation-totals dt{color:var(--text-2)}.quotation-totals dd{margin:0;font-weight:600}.quotation-grand{border-top:1px solid var(--border);margin-top:.1rem;padding-top:.3rem;font-size:1rem!important}.quotation-grand dt,.quotation-grand dd{color:var(--text)!important;font-weight:800!important}.quotation-estimate-note{margin:0;font-size:.76rem}.quotation-foot{justify-content:flex-end;gap:.5rem;display:flex}@media (width>=560px){.quotation-meta{grid-template-columns:1fr 1fr 1fr 1fr}}.quotation-modal{max-width:620px;max-height:min(92vh,900px)}.quotation-item-reference{margin:.25rem 0 0;font-size:.72rem}.quotation-item select{width:100%;min-width:0}.quotation-item-nums{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto}.quotation-body>.notice{padding:.65rem;font-size:.78rem}.quotation-foot{padding:.75rem .9rem}@media (width<=520px){.quotation-modal{width:100%;max-height:96vh}.quotation-body{max-height:72vh}.quotation-meta{grid-template-columns:1fr 1fr}.quotation-foot .btn{flex:1}}.quotation-modal{max-width:680px}.quotation-items .qtable{border:1px solid var(--border);border-radius:var(--r-sm);overflow:visible}.quotation-search-help{margin:0;font-size:.78rem}.qrow{position:relative}.qrow:focus-within{z-index:15}.qitem-picker{min-width:0;position:relative}.qitem-picker input{width:100%;min-width:0}.qitem-results{z-index:30;overscroll-behavior:contain;border:1px solid var(--border);border-radius:var(--r-sm);background:var(--surface);width:min(540px,max(100%,280px));max-width:min(540px,85vw);max-height:310px;padding:.3rem;position:absolute;top:calc(100% + 4px);left:0;overflow-y:auto;box-shadow:0 8px 24px #0003}.qitem-result{width:100%;color:var(--text);border:0;border-bottom:1px solid var(--border);text-align:left;font:inherit;cursor:pointer;white-space:normal;overflow-wrap:anywhere;background:0 0;gap:.1rem;padding:.6rem .7rem;font-size:.76rem;display:grid}.qitem-result:last-of-type{border-bottom:0}.qitem-result:hover,.qitem-result:focus-visible{background:var(--surface-3)}.qitem-selected{border-radius:var(--r-sm);background:var(--surface-2,var(--surface));overflow-wrap:anywhere;margin-top:.3rem;padding:.4rem .5rem;font-size:.75rem;line-height:1.5}.qitem-selected strong{display:block}.qrow{border-bottom:1px solid var(--border);grid-template-columns:26px minmax(0,1fr) 70px 82px 120px 32px;align-items:center;gap:.5rem;padding:.5rem .6rem;display:grid}.qrow:last-child{border-bottom:0}.qrow.qhead{background:var(--surface-3);text-transform:uppercase;letter-spacing:.03em;color:var(--text-2);font-size:.68rem;font-weight:800}.qrow.qhead .num{text-align:right}.qseq{background:var(--surface-3);border-radius:50%;place-items:center;width:22px;height:22px;font-size:.74rem;font-weight:800;display:grid}.qitem{min-width:0}.qitem select{width:100%;min-width:0}.qitem-price{margin-top:.2rem;font-size:.72rem;display:block}.qrow .qcell input{text-align:right;width:100%;padding:.4rem .45rem}.qsub{text-align:right;font-variant-numeric:tabular-nums;font-weight:700}.qdel{border:1px solid var(--border);background:var(--surface);width:28px;height:28px;color:var(--danger);cursor:pointer;border-radius:8px;line-height:1}.qdel:disabled{opacity:.4;cursor:not-allowed}.col-label{display:none}.qrow-error{grid-column:1/-1;margin:.1rem 0 0}@media (width<=620px){.qrow,.qrow.qhead{grid-template-columns:24px 1fr;gap:.35rem .5rem}.qrow.qhead{display:none}.qrow .qitem{grid-column:2}.qrow .qcell{grid-column:2;grid-template-columns:auto 1fr;align-items:center;gap:.5rem;display:grid}.qrow .qcell input{max-width:120px;margin-left:auto}.qrow .qsub{text-align:left;grid-column:2;justify-content:space-between;display:flex}.qrow .qseq{display:none}.qrow .qitem{grid-row:1}.qrow .qdel{grid-area:1/1}.col-label{color:var(--text-2);font-size:.74rem;font-weight:700;display:inline}}.visit-create-card textarea{border-radius:var(--r-sm);background:var(--surface-2);width:100%;font:inherit;color:var(--text);resize:vertical;border:1.5px solid #0000;padding:.75rem .9rem;line-height:1.5}.visit-create-card textarea::placeholder{color:var(--muted)}.visit-create-card textarea:focus{background:var(--surface);border-color:var(--accent);box-shadow:0 0 0 4px var(--accent-weak);outline:none}.visit-photo-evidence{min-width:0;margin-top:.5rem}.visit-photo-link{white-space:normal;text-align:left;max-width:100%}.visit-photo-preview{justify-items:start;gap:.5rem;min-width:0;display:grid}.visit-photo-preview img{object-fit:contain;border-radius:.5rem;width:auto;max-width:100%;height:auto;max-height:65vh;display:block}.visit-checkin-photo{flex-direction:column;gap:.55rem;min-width:0;display:flex}.visit-checkin-photo input[type=file]{width:100%;min-width:0;max-width:100%;display:block}.visit-tasks{border-top:1px dashed var(--border);margin-top:.8rem;padding-top:.75rem}.visit-tasks-head{justify-content:space-between;align-items:baseline;margin-bottom:.5rem;display:flex}.visit-tasks-empty{border:1px dashed var(--border);border-radius:var(--r-sm,12px);text-align:center;margin:0 0 .5rem;padding:.7rem;font-size:.84rem}.visit-task-list{flex-direction:column;gap:.6rem;display:flex}.visit-task{border:1px solid var(--border);border-radius:var(--r-sm,12px);background:var(--surface-2,var(--surface));flex-direction:column;gap:.5rem;padding:.6rem;display:flex}.visit-task-top{grid-template-columns:24px minmax(0,1fr) 150px 30px;align-items:end;gap:.5rem;display:grid}.visit-task-seq{background:var(--surface-3);border-radius:50%;place-items:center;width:22px;height:22px;margin-bottom:.35rem;font-size:.74rem;font-weight:800;display:grid}.visit-task-top .field{margin:0}.visit-task-lbl{text-transform:uppercase;letter-spacing:.03em;color:var(--text-2);margin:0 0 .2rem .1rem;font-size:.68rem;font-weight:800;display:block}.visit-task select,.visit-task textarea{width:100%}.visit-task-del{border:1px solid var(--border);background:var(--surface);width:30px;height:38px;color:var(--danger);cursor:pointer;border-radius:8px;line-height:1}.visit-task-add{width:100%;margin-top:.55rem}@media (width<=560px){.visit-task-top{grid-template-columns:24px 1fr;gap:.4rem .5rem}.visit-task-top .visit-task-seq{display:none}.visit-task-top .visit-task-type{grid-area:1/2}.visit-task-top .visit-task-status{grid-area:2/2}.visit-task-top .visit-task-del{grid-area:1/1;height:38px}}.quotation-history-heading,.quotation-history-pagination{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;display:flex}.quotation-history-heading>div{flex:220px;min-width:0}.quotation-history-heading p{margin:.35rem 0}.quotation-history-row{border:1px solid var(--border);border-radius:var(--r-sm);grid-template-columns:minmax(120px,1fr) minmax(240px,2fr) auto;align-items:center;gap:.8rem;min-width:0;padding:.8rem;display:grid}.quotation-history-meta dt{color:var(--text-muted,inherit);margin-bottom:.2rem;font-size:.75rem}.quotation-history-meta dd{overflow-wrap:anywhere;margin:0;font-size:.85rem}.quotation-history-amount{font-variant-numeric:tabular-nums;font-weight:650}@media (width<=1000px){.quotation-history-row{grid-template-columns:minmax(0,1fr)}.quotation-history-row>button{justify-self:start}}@media (width<=480px){.quotation-history-meta{grid-template-columns:repeat(2,minmax(0,1fr))}.quotation-history-meta>div:last-child{grid-column:1/-1}}.visit-create-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);box-shadow:var(--sh-sm);padding:1.25rem}.visit-create-card>.section-title{border-bottom:1px solid var(--border);margin:0 0 1.1rem;padding-bottom:.85rem}.visit-create-card .field{min-width:0;margin-bottom:1rem}.visit-create-card .field>.label,.visit-create-card .field>label{color:var(--text);margin-bottom:.4rem;font-size:.84rem;font-weight:650;display:block}.visit-create-card .field>input:not([type=checkbox]),.visit-create-card .field>select,.visit-create-card .field>textarea{box-sizing:border-box;border:1px solid var(--border);border-radius:var(--r-sm);background:var(--surface-2);width:100%;min-width:0;color:var(--text);font:inherit;padding:.68rem .8rem;font-size:.88rem;transition:border-color .15s,background .15s,box-shadow .15s;display:block}.visit-create-card .field>textarea{resize:vertical;line-height:1.5}.visit-create-card .field>input::placeholder,.visit-create-card .field>textarea::placeholder{color:var(--muted);opacity:.8}.visit-create-card .field>input:focus,.visit-create-card .field>select:focus,.visit-create-card .field>textarea:focus{background:var(--surface);border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-weak);outline:none}.visit-create-card .field>input:disabled,.visit-create-card .field>select:disabled,.visit-create-card .field>textarea:disabled{background:var(--surface-3);color:var(--muted);cursor:not-allowed;opacity:.75}.visit-create-card .owner-trigger{background:var(--surface-2);border-color:var(--border);border-radius:var(--r-sm);min-height:42px}.visit-create-card .owner-trigger:focus-visible{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-weak);outline:none}.visit-create-card .visit-recurrence{background:var(--surface-2);border:1px solid var(--border);border-radius:var(--r-md,12px);margin:1rem 0;padding:1rem}.visit-create-card .visit-recurrence-body{border-top:1px solid var(--border);padding-top:.85rem}.visit-create-card .visit-recurrence-preview{background:var(--surface);border-color:var(--accent-weak)}.visit-create-card .visit-loc-editor{border-top:1px solid var(--border);margin-top:1.25rem;padding-top:1.1rem}.visit-create-card .visit-loc-editor-head{margin-bottom:.8rem}.visit-create-card .visit-loc-editor-head>.label{font-size:.9rem;font-weight:750}.visit-create-card .visit-loc-draft{background:var(--surface-2);border-color:var(--border);border-radius:var(--r-md,12px);overflow:hidden}.visit-create-card .visit-loc-draft.expanded{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent-weak)}.visit-create-card .visit-loc-draft-head{margin-bottom:0}.visit-create-card .visit-loc-draft-body{background:var(--surface);padding:1rem .75rem .75rem}.visit-create-card .visit-loc-draft-body .field{margin-bottom:1rem}.visit-create-card .visit-create-savebar{border-top:1px solid var(--border);margin-top:1.1rem;padding-top:1rem}.visit-create-card .field-error{margin-top:.35rem;font-size:.78rem}.visit-location-map-picker{gap:.5rem;margin:.75rem 0;display:grid}.visit-location-map-canvas{border:1px solid var(--border);border-radius:var(--r-sm);width:100%;height:360px;overflow:hidden}.visit-location-map{z-index:0;width:100%;height:100%}@media (width<=640px){.visit-create-card{padding:.9rem}.visit-create-card .visit-loc-draft-body{padding:.85rem .65rem .65rem}}.quotation-history{min-width:0}.quotation-history .quotation-history-heading{align-items:center;gap:1rem;margin-bottom:1.25rem}.quotation-history-heading>div:first-child{flex:260px}.quotation-history-heading .overview-heading{margin-bottom:.35rem;font-size:1.05rem;font-weight:700}.quotation-history-heading p{margin:.35rem 0 0;font-size:.82rem;line-height:1.5}.quotation-history-heading>div:last-child{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.5rem;display:flex}.quotation-history-list{gap:.85rem;margin:1rem 0;display:grid}.quotation-history-row{border:1px solid var(--border);background:var(--surface);border-radius:12px;grid-template-columns:minmax(150px,1fr) minmax(260px,2fr) auto;align-items:center;gap:1.25rem;padding:1.1rem 1.2rem;transition:border-color .16s,box-shadow .16s,transform .16s;display:grid;position:relative}.quotation-history-row:hover{border-color:var(--accent,var(--border));transform:translateY(-1px);box-shadow:0 5px 18px #0000000d}.quotation-history-number{overflow-wrap:anywhere;gap:.35rem;min-width:0;display:grid}.quotation-history-number strong{color:var(--text);font-size:.95rem;font-weight:750}.quotation-history-number .muted{font-size:.76rem}.quotation-history-meta{grid-template-columns:repeat(3,minmax(0,1fr));gap:.85rem;min-width:0;margin:0;display:grid}.quotation-history-meta>div{align-content:center;gap:.3rem;min-width:0;display:grid}.quotation-history-meta dt{color:var(--text-muted,var(--text-2));font-size:.72rem}.quotation-history-meta dd{color:var(--text);overflow-wrap:anywhere;margin:0;font-size:.84rem;font-weight:550}.quotation-history-meta .quotation-history-amount{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:.9rem;font-weight:750}.quotation-history-row>button{white-space:nowrap;align-self:center}.quotation-history-row>button:hover:not(:disabled){border-color:var(--accent,var(--border))}.quotation-history-error{grid-column:1/-1;margin:0}.quotation-history-pagination{border-top:1px solid var(--border);padding-top:.75rem}.quotation-history-page-actions{flex-wrap:wrap;gap:.5rem;display:flex}@media (width<=1000px){.quotation-history-row{grid-template-columns:minmax(0,1fr) auto;gap:1rem}.quotation-history-meta{grid-area:2/1/auto/-1}.quotation-history-row>button{grid-area:1/2;justify-self:end}.quotation-history-row>.quotation-history-error{grid-area:auto/1/auto/-1}}@media (width<=560px){.quotation-history-heading{flex-direction:column;justify-content:flex-start;align-items:stretch;gap:.85rem}.quotation-history-heading>div{flex:0 auto;width:100%}.quotation-history-heading>div:last-child{justify-content:flex-start}.quotation-history-heading>div:last-child .btn{flex:1}.quotation-history-row{grid-template-columns:minmax(0,1fr);gap:1rem;padding:1rem}.quotation-history-meta{grid-template-columns:repeat(2,minmax(0,1fr));gap:.9rem}.quotation-history-meta>div:last-child{grid-column:1/-1}.quotation-history-row>button{grid-area:auto/1;justify-self:stretch;width:100%}.quotation-history-pagination{flex-direction:column;align-items:flex-start}.quotation-history-page-actions{width:100%}.quotation-history-page-actions .btn{flex:1}.quotation-history .quotation-history-heading>div:first-child{flex:none}.quotation-history .quotation-history-heading>div:last-child{flex:none;margin-top:0}}.activities,.opportunity-activities-section{flex-direction:column;gap:1rem;min-width:0;display:flex}.opportunity-activities-section>h3{color:var(--text);margin:0;font-size:1rem;font-weight:750}.activity-form{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);box-shadow:var(--sh-sm);flex-direction:column;gap:.15rem;padding:1.15rem;display:flex}.activity-form .field{min-width:0;margin-bottom:.85rem}.activity-form .field label{color:var(--text-2);margin-bottom:.4rem;font-size:.8rem;font-weight:650;display:block}.activity-form input,.activity-form select,.activity-form textarea{box-sizing:border-box;border:1px solid var(--border);border-radius:var(--r-md);background:var(--surface-2);width:100%;min-width:0;color:var(--text);font:inherit;font-size:.88rem;transition:border-color .15s,box-shadow .15s,background .15s}.activity-form input,.activity-form select{min-height:42px;padding:.6rem .8rem}.activity-form textarea{resize:vertical;padding:.7rem .8rem;line-height:1.5}.activity-form input:focus,.activity-form select:focus,.activity-form textarea:focus{border-color:var(--accent);background:var(--surface);box-shadow:0 0 0 3px var(--accent-weak);outline:none}.activity-form>button[type=submit]{align-self:flex-start;min-width:155px;margin-top:.15rem}.activity-timeline{gap:.75rem;display:grid}.activity-item{border:1px solid var(--border);border-radius:var(--r-lg);background:var(--surface);box-shadow:var(--sh-sm);align-items:center;gap:1.25rem;padding:1rem 1.1rem;transition:border-color .15s,box-shadow .15s,transform .15s;position:relative}.activity-item:hover{border-color:var(--accent);box-shadow:var(--sh-md,var(--sh-sm));transform:translateY(-1px)}.activity-item-main{flex:1;min-width:0}.activity-item-head{flex-wrap:wrap;align-items:center;gap:.5rem;margin-bottom:.55rem;display:flex}.activity-type{letter-spacing:.055em;font-size:.7rem;font-weight:800}.activity-item .badge{padding:.2rem .55rem;font-size:.68rem;font-weight:700}.activity-subject{overflow-wrap:anywhere;margin:0 0 .4rem;font-size:.94rem;font-weight:750;line-height:1.45}.activity-note{overflow-wrap:anywhere;margin:0 0 .6rem;font-size:.84rem;line-height:1.55}.activity-meta{align-items:center;gap:.35rem;font-size:.75rem;font-weight:550;display:flex}.activity-done-btn{white-space:nowrap;flex:none;min-width:125px}@media (width<=640px){.activity-form{padding:.9rem}.activity-form-row{grid-template-columns:minmax(0,1fr);gap:0}.activity-form>button[type=submit]{align-self:stretch;width:100%}.activity-item{flex-direction:column;align-items:stretch;gap:.85rem;padding:.9rem}.activity-item:hover{transform:none}.activity-done-btn{align-self:stretch;width:100%}}.quotation-modal{flex-direction:column;width:min(860px,100vw - 2rem);max-width:860px;max-height:min(92vh,960px);display:flex;overflow:hidden}.quotation-modal .owner-modal-head{border-bottom:1px solid var(--border);padding:1.1rem 1.35rem}.quotation-modal .owner-modal-head strong{font-size:1.05rem;font-weight:750}.quotation-body{flex:1;gap:1rem;min-height:0;max-height:none;padding:1.25rem}.quotation-for{border:1px solid var(--border);border-radius:var(--r-md);background:var(--surface-2);padding:.8rem 1rem;font-size:.88rem}.quotation-search-help{border-left:3px solid var(--accent);border-radius:var(--r-sm);background:var(--surface-2);padding:.75rem .9rem;line-height:1.6}.quotation-items-head{align-items:center;margin-bottom:.85rem}.quotation-items-head strong{font-size:.95rem}.quotation-items-head>span{font-size:.75rem;font-weight:650}.quotation-group{border:1px solid var(--border);border-radius:var(--r-md);background:var(--surface);box-shadow:var(--sh-sm);margin-bottom:.9rem;padding:1rem}.quotation-group-head{align-items:flex-end}.quotation-group-head .quotation-group-title{margin-bottom:0}.quotation-group-head>button{flex:none;align-self:flex-end;height:42px;min-height:42px;margin-bottom:0}.quotation-group-title .label{font-weight:700}.quotation-group-title input{min-height:42px}.quotation-group .qtable{border-radius:var(--r-md);background:var(--surface);overflow:visible}.quotation-group .qrow:not(.qhead){padding-top:.75rem;padding-bottom:.75rem}.quotation-group .qrow.qhead{padding-top:.7rem;padding-bottom:.7rem}.quotation-group .quotation-add{margin-top:.75rem}.quotation-meta{border:1px solid var(--border);border-radius:var(--r-md);background:var(--surface-2);grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem;padding:1rem}.quotation-meta .field{min-width:0;margin:0}.quotation-meta .field input{box-sizing:border-box;width:100%;min-height:42px}.quotation-totals{border:1px solid var(--border);border-radius:var(--r-md);background:var(--surface-2);gap:.65rem;padding:1rem}.quotation-grand{border-top:1px solid var(--border);margin-top:.35rem;padding-top:.85rem}.quotation-grand dd{font-size:1.15rem}.quotation-foot{border-top:1px solid var(--border);background:var(--surface);flex-shrink:0;padding:.9rem 1.25rem}.quotation-foot .btn{min-height:42px;padding-inline:1.2rem}@media (width<=620px){.quotation-modal{width:100%;max-height:96dvh}.quotation-body{padding:.85rem}.quotation-group{padding:.75rem}.quotation-group-head{flex-direction:column;align-items:stretch}.quotation-group-head>button{align-self:flex-end}.quotation-meta{grid-template-columns:minmax(0,1fr)}.quotation-foot{padding:.75rem}}.qrow{border-bottom:1px solid var(--border);grid-template-columns:26px minmax(0,1fr) 70px 82px 120px 32px;align-items:center;gap:.65rem;padding:.85rem .75rem;display:grid;position:relative}.qrow-item-head{display:contents}.qrow-item-head .qseq{background:0 0;border-radius:0;grid-area:1/1;width:auto;height:auto;font-size:.75rem}.qrow-item-head .qdel{grid-area:1/6}.qrow .qitem{grid-column:2;min-width:0}.qrow .qcell{min-width:0}.qrow .qsub{grid-column:5}.qrow .qcell input{box-sizing:border-box;border:1px solid var(--border);border-radius:var(--r-sm);background:var(--surface-2);min-width:0;min-height:38px;color:var(--text)}.qrow .qdel{place-items:center;transition:background .15s,border-color .15s;display:grid}.qrow .qdel:hover:not(:disabled){background:var(--danger-weak,var(--surface-2));border-color:var(--danger)}.qrow .qsub{font-variant-numeric:tabular-nums}.qrow .qsub strong{font-weight:750}@media (width<=620px){.quotation-items-head{align-items:flex-start;gap:.25rem}.quotation-items-head strong{font-size:.9rem}.quotation-items-head>span{font-size:.7rem}.quotation-group{border-radius:var(--r-md);padding:.8rem}.qrow{border:1px solid var(--border);border-radius:var(--r-md);background:var(--surface);box-shadow:var(--sh-sm);grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.85rem .7rem;margin:.35rem 0;padding:.9rem;display:grid}.qrow-item-head{border-bottom:1px solid var(--border);grid-column:1/-1;justify-content:space-between;align-items:center;padding-bottom:.65rem;display:flex}.qrow-item-head .qseq{color:var(--text);align-items:center;font-size:.82rem;font-weight:750;display:inline-flex}.qrow-item-head .qdel{border-radius:var(--r-sm);width:32px;height:32px;position:static}.qrow .qitem{grid-area:auto/1/auto/-1;min-width:0}.qitem-picker input{box-sizing:border-box;width:100%;min-height:44px}.qitem-selected{padding:.7rem;line-height:1.6}.qrow .qcell{flex-direction:column;grid-column:auto;gap:.4rem;min-width:0;display:flex}.qrow .qcell .col-label{color:var(--text-2);font-size:.75rem;font-weight:700;display:block}.qrow .qcell input{text-align:left;width:100%;max-width:none;min-height:42px;margin:0;padding:.55rem .7rem}.qrow .qsub{border-top:1px dashed var(--border);text-align:left;grid-column:1/-1;justify-content:space-between;align-items:center;padding-top:.75rem;display:flex}.qrow .qsub .col-label{color:var(--text-2);font-size:.78rem;display:block}.qrow .qsub strong{font-size:.95rem;font-weight:800}.qrow-error{grid-column:1/-1}.quotation-group .quotation-add{min-height:42px}.quotation-meta{grid-template-columns:minmax(0,1fr)}}.quotation-group-head{flex-direction:row;align-items:flex-end;gap:.65rem;display:flex}.quotation-group-title{flex:1;min-width:0;margin:0}.quotation-group-title input{box-sizing:border-box;width:100%}.quotation-group-delete{border:1px solid var(--border);border-radius:var(--r-sm);background:var(--surface-2);width:38px;height:42px;color:var(--danger);cursor:pointer;flex:0 0 38px;place-items:center;padding:0;font-size:1.5rem;line-height:1;transition:background .15s,border-color .15s;display:grid}.quotation-group-delete:hover:not(:disabled){background:var(--surface-3);border-color:var(--danger)}.quotation-group-delete:disabled{opacity:.35;cursor:not-allowed}.page{width:100%;max-width:1440px}.uat-data-notice{border:1px solid var(--pend-border);border-radius:var(--r-md);background:var(--pend-weak);color:var(--text-2);align-items:flex-start;gap:.7rem;margin:-.35rem 0 1.25rem;padding:.85rem 1rem;font-size:.84rem;line-height:1.45;display:flex}.uat-data-notice strong{color:var(--pend);flex:none}.source-badge{border-radius:var(--r-pill);background:var(--surface-3);color:var(--text-2);white-space:nowrap;padding:.18rem .6rem;font-size:.74rem;font-weight:700;display:inline-block}@media (width<=640px){.uat-data-notice{flex-direction:column;gap:.25rem}}.kpi-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr))}.kpi-card{min-width:0}.kpi-value{overflow-wrap:anywhere;line-height:1.15}.app-content,.page{min-width:0}.detail-value,.c360-chip-value,.activity-subject,.activity-note{overflow-wrap:anywhere}@media (width<=820px){.app-shell{grid-template-rows:auto minmax(0,1fr)}.app-main{min-height:0}}@media (width<=640px){.topbar{flex-wrap:wrap;height:auto;min-height:68px;padding:.75rem 1rem}.topbar-context{flex-wrap:wrap;min-width:0}.topbar-right{margin-left:auto}.switcher-select{min-width:0;max-width:100%}.detail-row{grid-template-columns:1fr;gap:.25rem}}.dashboard-page{padding-bottom:2rem}.executive-page-header{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.executive-page-header h1{margin-top:.1rem}.executive-eyebrow{color:var(--muted);letter-spacing:.09em;text-transform:uppercase;margin:0 0 .28rem;font-size:.68rem;font-weight:800}.executive-context-badge{border:1px solid var(--border);border-radius:var(--r-md);background:var(--surface);box-shadow:var(--sh-sm);flex-direction:column;flex:none;align-items:flex-end;gap:.15rem;padding:.65rem .8rem;display:flex}.executive-context-badge span{color:var(--muted);text-transform:uppercase;letter-spacing:.05em;font-size:.68rem;font-weight:700}.executive-context-badge strong{font-size:1.05rem}.dashboard-section{margin-top:1.8rem}.dashboard-section-heading{justify-content:space-between;align-items:flex-end;gap:1rem;margin-bottom:.8rem;display:flex}.dashboard-section-heading .section-title{margin-bottom:0;font-size:1.15rem}.executive-live-label{white-space:nowrap;padding-bottom:.1rem;font-size:.76rem;font-weight:650}.executive-kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin-bottom:1rem;display:grid}.executive-kpi-grid .kpi-card:first-child{border:1px solid color-mix(in srgb, var(--accent) 30%, var(--border));background:linear-gradient(145deg, var(--accent-weak-2), var(--surface) 62%)}.management-attention{border:1px solid var(--border);border-radius:var(--r-lg);background:var(--surface);box-shadow:var(--sh-sm);flex-direction:column;gap:.85rem;padding:1rem 1.1rem;display:flex}.management-attention-header{justify-content:space-between;align-items:flex-end;gap:1rem;display:flex}.management-attention-header h3{margin:0;font-size:1rem}.management-attention-header>span{font-size:.75rem}.management-attention-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem;display:grid}.management-signal{border:1px solid var(--border);border-radius:var(--r-md);background:var(--surface-2);gap:.7rem;min-width:0;padding:.8rem .85rem;display:flex}.management-signal-dot{background:var(--accent);border-radius:999px;flex:none;width:9px;height:9px;margin-top:.35rem}.management-signal-danger .management-signal-dot{background:var(--danger)}.management-signal-warning .management-signal-dot{background:var(--pend)}.management-signal-ok .management-signal-dot{background:var(--ok)}.management-signal strong{font-size:.84rem;line-height:1.3;display:block}.management-signal p{color:var(--muted);margin:.28rem 0 0;font-size:.75rem;line-height:1.45}.executive-health-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.executive-health-card{border:1px solid var(--border);border-radius:var(--r-lg);background:var(--surface);box-shadow:var(--sh-sm);padding:.95rem 1rem}.executive-health-head{justify-content:space-between;gap:1rem;margin-bottom:.7rem;display:flex}.executive-health-head strong{font-size:.85rem}.executive-health-head p{margin:.2rem 0 0;font-size:.74rem}.health-rate{color:var(--ok);font-size:1.05rem;font-weight:800}.health-rate-risk{color:var(--danger)}.health-track,.stage-visual-track{border-radius:var(--r-pill);background:var(--surface-3);width:100%;overflow:hidden}.health-track{height:7px}.health-fill{border-radius:inherit;background:var(--ok);height:100%;display:block}.health-fill-risk{background:var(--danger)}.stage-visualization{border:1px solid var(--border);border-radius:var(--r-lg);background:var(--surface);box-shadow:var(--sh-sm);flex-direction:column;gap:.8rem;margin-bottom:1rem;padding:1rem 1.1rem;display:flex}.stage-visual-row{flex-direction:column;gap:.45rem;display:flex}.stage-visual-meta{justify-content:space-between;align-items:flex-end;gap:1rem;display:flex}.stage-visual-meta>div{flex-direction:column;min-width:0;display:flex}.stage-visual-meta strong{font-size:.82rem}.stage-visual-meta span{color:var(--muted);font-size:.7rem}.stage-visual-track{height:8px}.stage-visual-fill{border-radius:inherit;background:var(--accent);height:100%;display:block}.stage-visual-fill-won{background:var(--ok)}.stage-visual-fill-lost{background:var(--danger)}.executive-stage-table{margin-top:.3rem}@media (width<=1080px){.executive-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.management-attention-grid{grid-template-columns:1fr}}@media (width<=640px){.executive-page-header,.dashboard-section-heading,.management-attention-header{flex-direction:column;align-items:flex-start}.executive-context-badge{align-items:flex-start}.executive-kpi-grid,.executive-health-grid{grid-template-columns:1fr}.executive-live-label{white-space:normal}.stage-visual-meta{flex-direction:column;align-items:flex-start;gap:.2rem}}.crm-page-header{justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1.2rem;display:flex}.crm-page-header h1{margin:.1rem 0 .25rem}.crm-page-header p.muted{max-width:720px;margin:0;line-height:1.5}.crm-toolbar{border:1px solid var(--border);border-radius:var(--r-lg);background:var(--surface);box-shadow:var(--sh-sm);padding:.8rem}.crm-toolbar input[type=search]{flex:260px;max-width:420px}.crm-result-count{border:1px solid var(--border);border-radius:var(--r-pill);background:var(--surface-2);color:var(--text-2);white-space:nowrap;margin-left:auto;padding:.35rem .65rem;font-size:.78rem;font-weight:700}.crm-detail-nav{margin-bottom:.75rem}.c360-hero{border:1px solid var(--border);border-radius:var(--r-lg);background:linear-gradient(145deg, var(--accent-weak-2), var(--surface) 58%);box-shadow:var(--sh-sm);padding:1rem 1.05rem}.c360-hero .c360-name{margin-bottom:.35rem}.c360-subtitle{max-width:760px;margin:0 0 .9rem;line-height:1.5}.c360-hero .c360-chips{margin-top:.8rem}.c360-hero .c360-chip{background:color-mix(in srgb, var(--surface) 92%, transparent)}.overview-section+.overview-section{margin-top:.2rem}.opportunity-view-toggle{box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--border) 45%, transparent)}.pipeline-column{box-shadow:var(--sh-sm)}.pipeline-card{border-color:color-mix(in srgb, var(--border) 90%, transparent)}.pipeline-card:hover{box-shadow:var(--sh-md);transform:translateY(-1px)}@media (width<=640px){.crm-page-header{flex-direction:column}.crm-toolbar{align-items:stretch}.crm-toolbar input[type=search],.crm-toolbar .btn,.crm-toolbar .toolbar-filter,.crm-toolbar .toolbar-filter select{width:100%;max-width:none}.crm-result-count{align-self:flex-start;margin-left:0}.c360-hero{padding:.9rem}}.analytics-period-toolbar{border:1px solid var(--border);border-radius:var(--r-lg);background:var(--surface);box-shadow:var(--sh-sm);justify-content:space-between;align-items:flex-end;gap:1rem;margin-bottom:1.25rem;padding:.9rem 1rem;display:flex}.analytics-period-copy{flex-direction:column;gap:.15rem;min-width:0;display:flex}.analytics-period-copy strong{font-size:.95rem}.analytics-period-copy>span{font-size:.74rem}.analytics-period-fields{flex-wrap:wrap;align-items:flex-end;gap:.55rem;display:flex}.analytics-period-fields label{color:var(--muted);flex-direction:column;gap:.25rem;font-size:.7rem;font-weight:700;display:flex}.analytics-period-fields input[type=date]{border:1px solid var(--border);border-radius:var(--r-sm);background:var(--surface-2);min-width:145px;color:var(--text);font:inherit;padding:.55rem .7rem;font-size:.8rem}.analytics-metric-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem;display:grid}.analytics-metric-card,.analytics-risk-card{border:1px solid var(--border);border-radius:var(--r-lg);background:var(--surface);min-width:0;box-shadow:var(--sh-sm);padding:.9rem 1rem}.analytics-metric-card>span,.analytics-risk-card>span{color:var(--muted);font-size:.74rem;font-weight:700;display:block}.analytics-metric-card>strong,.analytics-risk-card>strong{overflow-wrap:anywhere;margin-top:.35rem;font-size:1.45rem;line-height:1.1;display:block}.analytics-metric-card>small,.analytics-risk-card>small{margin-top:.4rem;font-size:.7rem;line-height:1.35;display:block}.analytics-change{color:var(--muted)}.analytics-change-up{color:var(--ok)}.analytics-change-down{color:var(--danger)}.analytics-risk-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:.8rem;margin-bottom:1rem;display:grid}.analytics-risk-card{background:linear-gradient(145deg, var(--surface), var(--surface-2))}.analytics-risk-card>strong{color:var(--danger)}.analytics-aging-card{border:1px solid var(--border);border-radius:var(--r-lg);background:var(--surface);box-shadow:var(--sh-sm);padding:1rem 1.1rem}.analytics-aging-header{justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:.9rem;display:flex}.analytics-aging-header>div{flex-direction:column;gap:.15rem;display:flex}.analytics-aging-header strong{font-size:.9rem}.analytics-aging-header span{font-size:.72rem}.analytics-aging-list{flex-direction:column;gap:.75rem;display:flex}.analytics-aging-row{flex-direction:column;gap:.35rem;display:flex}.analytics-aging-meta{justify-content:space-between;align-items:center;gap:.8rem;font-size:.76rem;display:flex}.analytics-aging-meta>span{color:var(--text-2);font-weight:650}.analytics-aging-meta>strong{text-align:right;font-size:.74rem}.analytics-aging-track{border-radius:var(--r-pill);background:var(--surface-3);height:7px;overflow:hidden}.analytics-aging-track>span{border-radius:inherit;background:var(--accent);height:100%;display:block}@media (width<=1080px){.analytics-metric-grid,.analytics-risk-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.analytics-period-toolbar{flex-direction:column;align-items:flex-start}}@media (width<=640px){.analytics-metric-grid,.analytics-risk-grid{grid-template-columns:1fr}.analytics-period-fields,.analytics-period-fields label,.analytics-period-fields input[type=date],.analytics-period-fields .btn{width:100%}.analytics-aging-meta{flex-direction:column;align-items:flex-start;gap:.15rem}.analytics-aging-meta>strong{text-align:left}}.ai-entry-card{border:1px solid color-mix(in srgb, var(--accent) 35%, var(--border));border-radius:var(--r-lg);background:linear-gradient(135deg, var(--accent-weak-2), var(--surface) 58%);box-shadow:var(--sh-sm);grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:1rem;margin-top:1rem;padding:1rem 1.1rem;display:grid}.ai-entry-mark{border-radius:var(--r-md);background:var(--accent);width:42px;height:42px;color:var(--surface);letter-spacing:.06em;place-items:center;font-size:.78rem;font-weight:900;display:grid}.ai-entry-copy{min-width:0}.ai-entry-copy h2{margin:0;font-size:1rem}.ai-entry-copy>p:last-child{max-width:760px;color:var(--muted);margin:.25rem 0 0;font-size:.76rem;line-height:1.45}.ai-entry-action{white-space:nowrap}.ai-drawer-backdrop{z-index:1200;background:#0000005c;justify-content:flex-end;display:flex;position:fixed;inset:0}.ai-drawer{border-left:1px solid var(--border);background:var(--surface);width:min(620px,100%);height:100%;box-shadow:var(--sh-lg);flex-direction:column;display:flex;overflow:hidden}.ai-drawer-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:flex-start;gap:1rem;padding:1rem 1.1rem;display:flex}.ai-drawer-header h2{margin:0;font-size:1.12rem}.ai-drawer-close{flex:none}.ai-context-strip{border-bottom:1px solid var(--border);background:var(--surface-2);gap:.45rem;padding:.7rem 1.1rem;display:flex;overflow-x:auto}.ai-context-strip>span{border:1px solid var(--border);border-radius:var(--r-pill);background:var(--surface);color:var(--text-2);flex:none;padding:.3rem .55rem;font-size:.7rem}.ai-drawer-body{flex-direction:column;flex:1;gap:1.1rem;min-height:0;padding:1rem 1.1rem 2rem;display:flex;overflow-y:auto}.ai-section-heading{justify-content:space-between;align-items:baseline;gap:1rem;margin-bottom:.6rem;display:flex}.ai-section-heading h3{margin:0;font-size:.88rem}.ai-section-heading span{color:var(--muted);font-size:.7rem}.ai-suggestion-list{flex-wrap:wrap;gap:.45rem;display:flex}.ai-suggestion{appearance:none;border:1px solid var(--border);border-radius:var(--r-pill);background:var(--surface-2);color:var(--text-2);font:inherit;cursor:pointer;padding:.42rem .62rem;font-size:.72rem;line-height:1.35}.ai-suggestion:hover{border-color:color-mix(in srgb, var(--accent) 45%, var(--border));background:var(--accent-weak-2);color:var(--text)}.ai-question-form{flex-direction:column;gap:.45rem;display:flex}.ai-question-form>label{font-size:.76rem;font-weight:750}.ai-question-form textarea{resize:vertical;border:1px solid var(--border);border-radius:var(--r-md);background:var(--surface-2);width:100%;min-height:96px;color:var(--text);font:inherit;padding:.7rem .8rem;font-size:.82rem;line-height:1.5}.ai-question-form textarea:focus{outline:2px solid color-mix(in srgb, var(--accent) 30%, transparent);outline-offset:1px;border-color:var(--accent)}.ai-question-footer{justify-content:space-between;align-items:center;gap:.75rem;display:flex}.ai-question-footer>span{font-size:.68rem}.ai-state-card{border:1px solid var(--border);border-radius:var(--r-md);background:var(--surface-2);padding:.9rem 1rem}.ai-state-card strong{font-size:.8rem}.ai-state-card p{color:var(--muted);margin:.25rem 0 0;font-size:.74rem;line-height:1.45}.ai-state-error{border-color:color-mix(in srgb, var(--danger) 35%, var(--border))}.ai-state-error .btn{margin-top:.6rem}.ai-analysis-result{flex-direction:column;gap:1rem;display:flex}.ai-analysis-hero{border:1px solid color-mix(in srgb, var(--accent) 32%, var(--border));border-radius:var(--r-lg);background:linear-gradient(145deg, var(--accent-weak-2), var(--surface) 64%);padding:1rem}.ai-analysis-hero h3{margin:0;font-size:1.05rem;line-height:1.35}.ai-analysis-hero>p:not(.executive-eyebrow){color:var(--text-2);margin:.45rem 0 0;font-size:.8rem;line-height:1.55}.ai-result-meta{flex-wrap:wrap;gap:.4rem;margin-top:.7rem;display:flex}.ai-result-meta>span{border:1px solid var(--border);border-radius:var(--r-pill);background:color-mix(in srgb, var(--surface) 90%, transparent);color:var(--muted);padding:.22rem .45rem;font-size:.65rem;font-weight:650}.ai-result-section{border:1px solid var(--border);border-radius:var(--r-lg);background:var(--surface);padding:.9rem 1rem}.ai-result-section h4{margin:0 0 .65rem;font-size:.82rem}.ai-finding-list,.ai-risk-list{flex-direction:column;gap:.6rem;display:flex}.ai-finding,.ai-risk-item{border:1px solid var(--border);border-radius:var(--r-md);background:var(--surface-2);padding:.7rem .75rem}.ai-finding p,.ai-risk-item p{color:var(--text-2);margin:.4rem 0 0;font-size:.76rem;line-height:1.5}.ai-finding-badges{flex-wrap:wrap;gap:.35rem;display:flex}.ai-badge,.ai-severity{border-radius:var(--r-pill);letter-spacing:.02em;align-items:center;padding:.2rem .42rem;font-size:.62rem;font-weight:800;display:inline-flex}.ai-badge-observed{background:var(--ok-weak);color:var(--ok)}.ai-badge-inference{background:var(--pend-weak);color:var(--pend)}.ai-badge-neutral{background:var(--surface-3);color:var(--muted)}.ai-severity-high{background:var(--danger-weak);color:var(--danger)}.ai-severity-medium{background:var(--pend-weak);color:var(--pend)}.ai-severity-low{background:var(--surface-3);color:var(--muted)}.ai-action-list,.ai-limitations ul{margin:0;padding-left:1.15rem}.ai-action-list li,.ai-limitations li{color:var(--text-2);margin:.35rem 0;font-size:.76rem;line-height:1.5}.ai-limitations{background:var(--surface-2)}@media (width<=760px){.ai-entry-card{grid-template-columns:auto minmax(0,1fr)}.ai-entry-action{grid-column:1/-1;width:100%}.ai-drawer{width:100%}}@media (width<=520px){.ai-entry-card{grid-template-columns:1fr}.ai-entry-mark{width:38px;height:38px}.ai-drawer-header,.ai-section-heading,.ai-question-footer{flex-direction:column;align-items:stretch}.ai-drawer-close,.ai-question-footer .btn{width:100%}.ai-context-strip,.ai-drawer-body{padding-inline:.8rem}.ai-suggestion{border-radius:var(--r-md);text-align:left;width:100%}}.topbar-content{justify-content:space-between;align-items:center;gap:12px;width:100%;display:flex}.sidebar-drawer{display:contents}.sidebar-backdrop,.mobile-nav-toggle,.sidebar-mobile-account{display:none}@media (width<=820px){.topbar{display:none}.sidebar-mobile-header{justify-content:space-between;align-items:center;width:100%;display:flex}.mobile-nav-toggle{border-radius:var(--r-sm);width:40px;height:40px;color:var(--text);cursor:pointer;z-index:1002;background:0 0;border:none;flex-shrink:0;justify-content:center;align-items:center;padding:0;font-size:1.5rem;display:flex}.mobile-nav-toggle:hover{background:var(--surface-2)}.sidebar-backdrop{z-index:999;-webkit-backdrop-filter:blur(2px);opacity:0;visibility:hidden;pointer-events:none;background:#0006;border:none;width:100%;height:100%;padding:0;transition:opacity .3s,visibility .3s;display:block;position:fixed;inset:0}.sidebar-backdrop.mobile-open{opacity:1;visibility:visible;pointer-events:auto}.sidebar-drawer{z-index:1000;background:var(--surface);border-left:1px solid var(--border);opacity:0;visibility:hidden;pointer-events:none;flex-direction:column;gap:1rem;width:70%;max-width:360px;height:100dvh;padding:5rem 1rem 1.5rem;transition:transform .3s,opacity .3s,visibility .3s;display:flex;position:fixed;top:0;right:0;overflow-y:auto;transform:translate(100%);box-shadow:-8px 0 24px #0000001f}.sidebar-drawer.mobile-open{opacity:1;visibility:visible;pointer-events:auto;transform:translate(0)}.sidebar-drawer .sidebar-nav{flex-direction:column;flex:none;gap:.25rem;width:100%;display:flex}.sidebar-drawer .nav-link{padding:.75rem}.sidebar-drawer .nav-link span{display:inline}.sidebar-drawer .sidebar-mobile-account{border-top:1px solid var(--border);padding-top:1rem;display:block}.sidebar-drawer .topbar-content{flex-direction:column;align-items:stretch;gap:1rem}.sidebar-drawer .topbar-context,.sidebar-drawer .topbar-right{flex-direction:column;align-items:stretch;gap:.75rem;display:flex}.sidebar-drawer .user-chip{justify-content:flex-start}.sidebar-drawer .user-meta{text-align:left}.sidebar-footer{display:none}.sidebar-mobile-header{min-height:42px;padding-right:3.5rem}.mobile-nav-toggle{z-index:1002;border:1px solid var(--border);border-radius:var(--r-md);background:var(--surface);width:42px;height:42px;box-shadow:var(--sh-sm);font-size:1.2rem;line-height:1;transition:background .15s,border-color .15s,box-shadow .15s;position:fixed;top:.85rem;right:.85rem}.mobile-nav-toggle:hover{border-color:var(--accent);background:var(--surface-2);box-shadow:var(--sh-md,var(--sh-sm))}.mobile-nav-toggle:focus-visible{outline:2px solid var(--accent);outline-offset:2px}}.owner-modal-overlay{z-index:1300}.owner-modal-head{gap:.85rem}.owner-modal-head>strong{min-width:0;line-height:1.35}.owner-modal-close{border-radius:var(--r-sm);background:0 0;border:1px solid #0000;flex:0 0 38px;place-items:center;width:38px;height:38px;padding:0;font-size:1.45rem;line-height:1;transition:color .15s,background .15s,border-color .15s;display:grid}.owner-modal-close:hover:not(:disabled){border-color:var(--border);background:var(--surface-2)}.owner-modal-close:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.owner-modal-close:disabled{opacity:.45;cursor:not-allowed}@media (width<=620px){.quotation-modal .owner-modal-head{padding:.8rem .9rem}.quotation-modal .owner-modal-close{flex-basis:40px;width:40px;height:40px}}
