@import url('/assets/organization.css');
@font-face{font-family:Manrope;font-style:normal;font-weight:500;font-display:swap;src:url('./assets/manrope.ttf') format('truetype')}
:root{--brand:#fb5100;--brand-dark:#bd3d00;--ink:#242a2e;--muted:#747b80;--line:#ececea;--paper:#fffefd;--bg:#f6f6f3;--orange-soft:#fff0e7;--green:#287563;--radius:18px;font-family:"Manrope","PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:#e9eae6;font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer;color:inherit}button{border:0;background:none}a{color:inherit;text-decoration:none}button:disabled{cursor:wait;opacity:.55}button:focus-visible,a:focus-visible{outline:3px solid #fca776;outline-offset:3px}input:focus,textarea:focus,select:focus{outline:2px solid #fa925e;outline-offset:2px}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}h1,h2,h3,p{margin:0}h1{font-size:27px;line-height:1.4;letter-spacing:-.8px}h2{font-size:18px;letter-spacing:-.3px}h3{font-size:16px;line-height:1.5}small{font-size:12px}#app{max-width:480px;min-height:100dvh;margin:auto;background:var(--bg);position:relative;overflow:clip}.page{padding:0 22px 120px;animation:enter .22s ease-out}.topbar{height:78px;display:flex;align-items:center;justify-content:space-between;gap:12px}.brand{display:flex;align-items:center;gap:12px}.brand img{width:86px;height:29px;object-fit:contain}.brand span{font-size:13px;font-weight:600;border-left:1px solid #d8dcd9;padding-left:12px;letter-spacing:1px}.avatar{height:40px;width:40px;border:1px solid #dce3da;background:#e5eadd;border-radius:50%;display:grid;place-items:center;font-size:13px;font-weight:700}.eyebrow{font-size:11px;color:var(--muted);font-weight:700;letter-spacing:1.4px}.hello{margin:13px 0 24px}.hello .eyebrow{margin-bottom:8px}.hello p:last-child{margin-top:8px;font-size:13px;color:var(--muted)}.dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:var(--brand);margin:0 6px 2px}.hero{position:relative;isolation:isolate;overflow:hidden;background:var(--brand);color:#fffaf6;border-radius:20px;padding:22px;margin-bottom:24px}.hero:after{content:"";position:absolute;z-index:-1;width:160px;height:160px;right:-53px;top:-35px;border:28px solid #ffffff12;border-radius:50%;box-shadow:0 0 0 24px #ffffff08}.hero .eyebrow{color:#fff2e9;letter-spacing:.5px}.hero h2{font-size:22px;margin:7px 0 18px}.hero-action{display:flex;align-items:center;justify-content:space-between;gap:12px}.hero-action p{font-size:12px;color:#fff1e9;line-height:1.8}.hero-action button{background:#fff9f3;color:#b83a00;min-height:46px;padding:0 16px;border-radius:12px;font-size:14px;font-weight:700;display:flex;align-items:center;gap:6px}.stats{display:grid;grid-template-columns:repeat(3,1fr);padding:0 0 24px;border-bottom:1px solid #e5e6e2;margin-bottom:23px}.stat{padding-left:20px;border-left:1px solid #dedfda}.stat:first-child{padding-left:0;border:0}.stat strong{font-size:28px;font-weight:800;letter-spacing:-1px}.stat span{font-size:12px;margin-left:4px;color:var(--muted)}.stat p{font-size:12px;color:var(--muted);margin-top:3px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px}.section-title .count{font-size:12px;font-weight:500;color:var(--muted);margin-left:6px}.text-btn{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:3px;color:var(--muted);font-size:12px}.text-btn svg{width:16px;height:16px}.text-btn.orange{color:var(--brand-dark);font-weight:600}.segment{display:flex;gap:6px;margin:0 0 15px}.segment button{padding:9px 15px;min-height:44px;font-size:13px;color:#757b7e;border-radius:10px}.segment button.active{background:var(--ink);color:#fffdf8}.customer{background:var(--paper);border-radius:16px;margin-bottom:12px;padding:17px;border:1px solid #eeefea}.customer-main{display:flex;gap:12px;align-items:flex-start;width:100%;text-align:left;padding:0;min-height:50px}.store-icon{width:43px;height:43px;display:grid;place-items:center;border-radius:12px;background:#f3eee4;color:#9c7944;flex-shrink:0}.store-icon.teal{background:#e8f1ed;color:#427967}.store-icon.blue{background:#edf0f4;color:#647c96}.store-icon.orange{background:#fff0e6;color:#d36b34}.store-icon svg{width:24px;height:24px}.customer-info{flex:1;min-width:0}.customer-info h3{font-size:15px;margin:0 0 6px;overflow-wrap:anywhere}.customer-info p{font-size:12px;color:var(--muted);line-height:1.6}.customer-main>.chevron{width:16px;margin:12px 0;color:#a3a6a6}.badge{font-size:10px;padding:4px 7px;border-radius:5px;white-space:nowrap;color:#926d32;background:#f8f0de;font-weight:600;display:inline-block}.badge.s1{color:#42687d;background:#edf2f7}.badge.s2{color:#5e6492;background:#f0eff8}.badge.s3{color:#b34b23;background:#fff0e7}.badge.s4{color:#34745f;background:#eaf4ed}.badge-row{display:flex;align-items:center;gap:8px;margin-top:9px}.badge-row span:last-child:not(.badge){font-size:11px;color:#8b9090}.customer-note{font-size:12px;color:#666e70;line-height:1.8;border-top:1px solid var(--line);padding-top:12px;margin-top:14px}.customer-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:10px;gap:8px}.due{font-size:11px;color:#858c8d;display:flex;gap:5px;align-items:center}.due svg{width:14px;height:14px}.due.late{color:#b84b24}.small-btn{min-height:38px;padding:0 12px;border-radius:8px;background:var(--orange-soft);color:#b9410b;font-size:12px;font-weight:600;display:inline-flex;align-items:center;gap:5px}.small-btn svg{width:15px;height:15px}.nav{position:fixed;z-index:20;bottom:0;left:50%;transform:translateX(-50%);max-width:480px;width:100%;height:calc(77px + env(safe-area-inset-bottom));padding:7px 9px calc(6px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(5,1fr);background:#fffefd;border-top:1px solid #e9eae5;box-shadow:0 -5px 18px #242a2e03}.nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;font-size:10px;color:#8a9090;min-height:54px}.nav a.active{color:#cf4400;font-weight:700}.nav .new-visit{transform:translateY(-16px);color:#565e61;font-weight:600;gap:5px}.nav .new-visit i{background:var(--brand);border:5px solid var(--bg);width:56px;height:56px;border-radius:19px;display:grid;place-items:center;color:#fff9f2;font-style:normal}.nav .new-visit svg{width:25px;height:25px}.subhead{display:flex;align-items:center;justify-content:space-between;min-height:72px;gap:10px}.subhead h1{font-size:20px;letter-spacing:0}.icon-btn{min-width:44px;min-height:44px;display:inline-grid;place-items:center}.heading{margin:9px 0 22px;display:flex;justify-content:space-between;align-items:center}.heading p{font-size:12px;color:var(--muted);margin-top:7px}.heading .small-btn{min-height:44px}.search{display:flex;align-items:center;gap:9px;background:#fffefd;border:1px solid #e4e6df;border-radius:12px;padding:0 13px;height:49px;margin:0 0 16px}.search svg{width:19px;color:#909793}.search input{width:100%;border:0;outline:none!important;background:transparent;font-size:14px;min-width:0}.filters{display:flex;overflow-x:auto;scrollbar-width:none;gap:8px;padding:0 0 15px;margin-bottom:1px}.filters button{flex-shrink:0;min-height:40px;padding:0 13px;border-radius:8px;color:#6f7779;font-size:12px;border:1px solid #e2e5df;background:transparent}.filters button.active{background:var(--orange-soft);color:#ba3d00;border-color:#f8cfb8}.list-count{font-size:11px;color:var(--muted);margin:0 0 13px}.empty{padding:38px 18px;text-align:center;color:var(--muted);font-size:13px;line-height:1.9}.empty svg{width:32px;height:32px;margin-bottom:10px}.empty h3{color:var(--ink);margin-bottom:6px}.empty .primary{margin-top:20px}.detail-hero{padding:10px 0 24px}.detail-hero .store-icon{width:56px;height:56px;border-radius:16px;margin-bottom:16px}.detail-hero h1{font-size:25px;letter-spacing:-.5px}.detail-hero p{font-size:13px;color:var(--muted);margin-top:10px;line-height:1.8}.detail-hero .badge{margin-top:12px}.panel{background:var(--paper);border:1px solid #eeefea;border-radius:16px;padding:18px;margin-bottom:18px}.panel h2{font-size:15px;margin-bottom:16px}.contact-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.contact-row p{font-size:12px;color:var(--muted);margin-top:5px}.contact-row a{width:44px;height:44px;background:var(--orange-soft);border-radius:50%;display:grid;place-items:center;color:var(--brand-dark)}.stepper{display:flex;margin:21px 0 4px}.step{flex:1;text-align:center;font-size:10px;color:#8d9493;position:relative}.step:before{content:"";height:2px;background:#e9eae6;position:absolute;left:-50%;right:50%;top:9px}.step:first-child:before{display:none}.step.reached:before{background:#faad87}.step i{position:relative;width:20px;height:20px;border-radius:50%;background:#efefea;display:grid;place-items:center;margin:0 auto 9px;font-style:normal;color:#a0a6a3;font-size:10px}.step.reached i{background:#ffdccc;color:#b84816}.step.current i{background:var(--brand);color:#fffaf6;box-shadow:0 0 0 4px #fff0e7}.step.current{color:#b53b00;font-weight:600}.timeline{border-left:1px solid #dce2d9;margin:0 0 15px 7px;padding-left:20px}.event{position:relative;padding-bottom:24px}.event:before{content:"";width:7px;height:7px;border-radius:50%;background:#aab5a5;position:absolute;left:-24px;top:6px;box-shadow:0 0 0 4px var(--bg)}.event:first-child:before{background:var(--brand)}.event time{font-size:11px;color:#7d8681}.event h3{font-size:14px;margin:9px 0 7px}.event p{font-size:12px;line-height:1.9;color:#68736d;overflow-wrap:anywhere}.event .badge{margin:8px 0}.thumbs{display:flex;gap:8px;margin-top:10px}.thumbs button{padding:0}.thumbs img{width:75px;height:66px;object-fit:cover;border-radius:9px}.action-bar{position:fixed;z-index:21;bottom:0;left:50%;transform:translateX(-50%);max-width:480px;width:100%;padding:13px 22px calc(13px + env(safe-area-inset-bottom));background:var(--paper);border-top:1px solid var(--line);display:flex;gap:10px}.primary{min-height:50px;background:var(--brand);color:#fffaf6;border-radius:12px;font-size:15px;font-weight:700;padding:0 20px;display:flex;align-items:center;justify-content:center;gap:8px;width:100%}.primary svg{width:20px;height:20px}.secondary{min-height:50px;border:1px solid #dde2d9;border-radius:12px;font-size:14px;padding:0 18px;background:#fffefd;display:flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap}.form-intro{margin:6px 0 20px}.form-intro h1{font-size:25px}.form-intro p{font-size:12px;color:var(--muted);margin-top:8px;line-height:1.8}.selected-customer{display:flex;align-items:center;gap:11px;padding:16px;background:var(--paper);border-radius:14px;border:1px solid #e9ece5;margin-bottom:23px}.selected-customer div:nth-child(2){flex:1;min-width:0}.selected-customer h3{font-size:14px}.selected-customer p{font-size:11px;color:var(--muted);margin-top:5px}.form-section{margin-bottom:25px}.form-label{font-size:14px;font-weight:700;display:flex;align-items:center;gap:7px;margin-bottom:12px}.form-label .number{font-size:11px;font-weight:700;color:#bf4b19;background:#fff0e5;width:24px;height:24px;border-radius:7px;display:inline-grid;place-items:center}.required{color:#c74619}.hint{font-size:11px;color:var(--muted);line-height:1.8;margin-top:8px}.location-box{background:#fffefd;border:1px solid #e0e5dc;border-radius:13px;padding:15px;display:flex;align-items:center;gap:11px}.location-box>svg{color:#708677}.location-copy{flex:1;min-width:0}.location-copy strong{font-size:13px}.location-copy p{font-size:11px;line-height:1.7;color:var(--muted);margin-top:5px}.location-box.success{border-color:#bdcfbd;background:#f4f9f1}.location-box.success>svg{color:var(--green)}.location-box .text-btn{color:var(--brand-dark);white-space:nowrap}.field{display:block;margin-bottom:18px}.field>span{font-size:13px;font-weight:600;display:block;margin-bottom:9px}.field input,.field textarea,.field select,textarea.full{width:100%;border:1px solid #e1e5dd;border-radius:11px;padding:13px 14px;background:var(--paper);font-size:14px;color:var(--ink);min-height:49px}.field textarea,textarea.full{resize:vertical;min-height:120px;line-height:1.8}.field input[type=date]{appearance:none;min-width:0}.photo-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.photo-slot{height:130px;border:1px dashed #cdd5c7;background:#fcfdf9;border-radius:13px;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;color:#73826f;cursor:pointer}.photo-slot svg{width:28px;height:28px}.photo-slot strong{font-size:12px;color:#515e4d}.photo-slot span{font-size:10px;color:#858f81}.photo-slot input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.photo-slot img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.photo-slot .photo-caption{position:absolute;bottom:0;left:0;right:0;background:#202c28ae;color:#fffaf6;padding:6px 9px;font-size:10px}.stage-select{display:flex;flex-wrap:wrap;gap:7px}.stage-select button{min-height:43px;padding:0 12px;border:1px solid #e0e4dc;border-radius:9px;background:#fffefd;font-size:12px;color:#717a75}.stage-select button.active{background:var(--orange-soft);color:#b9400a;border-color:#fac29f;font-weight:700}.draft-notice{padding:11px 13px;margin-bottom:17px;border-radius:9px;background:#edf2e8;color:#607157;font-size:11px;line-height:1.7}.error-text{color:#b74423;font-size:12px;line-height:1.7;margin:8px 0}.record{background:var(--paper);padding:18px;border-radius:14px;margin-bottom:12px;border:1px solid var(--line);width:100%;text-align:left}.record .row{display:flex;justify-content:space-between;gap:10px}.record h3{font-size:15px}.record p{font-size:12px;color:#768078;line-height:1.8;margin-top:11px}.record time{font-size:11px;color:#7d8580}.record-footer{font-size:11px;color:#8a928c;margin-top:12px;display:flex;gap:12px}.report-note{font-size:12px;line-height:1.9;color:var(--muted);margin:6px 0 20px}.chart{padding:20px 0 5px}.bar-row{display:grid;grid-template-columns:53px 1fr 35px;gap:10px;align-items:center;margin-bottom:17px;font-size:12px}.bar-track{height:34px;background:#efefea;border-radius:5px;overflow:hidden}.bar{height:100%;background:var(--brand);border-radius:5px;min-width:0}.bar-row:nth-child(2) .bar{background:#fc7938}.bar-row:nth-child(3) .bar{background:#fc985d}.bar-row:nth-child(4) .bar{background:#fbb080}.bar-row:nth-child(5) .bar{background:#f9c5a2}.bar-row strong{text-align:right;font-size:18px}.report-stats{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:20px 0}.report-stat{padding:19px;background:#fffefd;border:1px solid var(--line);border-radius:14px}.report-stat p{font-size:12px;color:var(--muted);margin-bottom:9px}.report-stat strong{font-size:28px;font-weight:800}.report-stat small{font-size:12px;margin-left:3px}.rule-list{font-size:12px;color:#757e77;line-height:2;padding-left:17px;margin:0}.profile{padding:27px 0;display:flex;align-items:center;gap:14px}.profile .avatar{width:60px;height:60px;font-size:18px}.profile h1{font-size:24px}.profile p{font-size:12px;color:var(--muted);margin-top:5px}.menu-row{display:flex;align-items:center;min-height:57px;gap:12px;border-bottom:1px solid var(--line);width:100%;text-align:left;font-size:13px;padding:4px 0}.menu-row:last-child{border:0}.menu-row>svg{color:#7f8b7c;width:20px}.menu-row span{flex:1}.menu-row small{color:var(--muted);font-size:11px}.demo-label{font-size:10px;color:#99806f;background:#f2e9df;padding:3px 7px;border-radius:5px}.success-screen{text-align:center;padding:65px 10px 20px}.success-mark{height:77px;width:77px;border-radius:50%;background:#e8f1e2;color:#4c7853;display:grid;place-items:center;margin:0 auto 22px}.success-mark svg{width:37px;height:37px}.success-screen h1{font-size:25px}.success-screen p{font-size:13px;color:var(--muted);line-height:1.9;margin:12px 0 26px}.success-screen .secondary{width:100%;margin-top:12px}.duplicate{background:#fff0e4;color:#a54b23;padding:12px;border-radius:9px;font-size:12px;line-height:1.8;margin-bottom:15px}.duplicate button{font-size:12px;display:block;text-align:left;color:#a53b05;min-height:44px;text-decoration:underline}.search-result{animation:none}#toast{position:fixed;left:50%;bottom:110px;transform:translate(-50%,10px);max-width:calc(100% - 44px);width:max-content;background:#29352f;color:#fffaf5;padding:12px 18px;border-radius:10px;font-size:12px;z-index:99;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;line-height:1.7}#toast.show{opacity:1;transform:translate(-50%,0)}.offline{background:#f9e5cf;padding:10px 22px;font-size:11px;color:#8d571d;line-height:1.8}.version{text-align:center;font-size:10px;color:#989f97;line-height:2.1;margin:30px 0}.lightbox{position:fixed;inset:0;background:#19231bf2;z-index:100;display:flex;align-items:center;justify-content:center;padding:20px}.lightbox img{max-width:100%;max-height:85dvh;object-fit:contain}.lightbox .icon-btn{position:absolute;right:15px;top:15px;color:#fffaf6}.checks{display:flex;align-items:flex-start;gap:9px;font-size:12px;color:#687268;line-height:1.8;margin:15px 0}.checks input{width:18px;height:18px;accent-color:var(--brand);flex-shrink:0;margin-top:3px}@keyframes enter{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@media(min-width:600px){#app{box-shadow:0 0 80px #2836230c;border-left:1px solid #dcdfd7;border-right:1px solid #dcdfd7}.topbar{height:83px}}@media(max-width:359px){.page{padding-left:16px;padding-right:16px}.hero{padding:18px}.hero-action button{padding:0 11px}.brand{gap:9px}.brand img{width:76px}.customer{padding:14px}.stage-select{gap:5px}.stage-select button{padding:0 10px}.hero h2{font-size:20px}.stat{padding-left:15px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}} 
/* Mobile field use: reachable actions, readable inputs, and a full first task above the fold. */
.topbar{height:72px}.hello{margin:5px 0 20px}.hero{padding:20px;margin-bottom:20px}.hero h2{margin-bottom:12px}.stats{padding-bottom:18px;margin-bottom:14px}.small-btn,.filters button,.stage-select button{min-height:44px}.field input,.field textarea,.field select,textarea.full,.search input{font-size:16px}.photo-slot:focus-within{outline:2px solid #f58b55;outline-offset:3px}.form-section textarea{scroll-margin-bottom:130px}.event p>svg{width:13px;height:13px;vertical-align:middle}.customer-bottom .due{min-width:0;overflow-wrap:anywhere}.customer-bottom .small-btn{flex-shrink:0}
@font-face{font-family:Manrope;font-style:normal;font-weight:600;font-display:swap;src:url('./assets/manrope-600.ttf') format('truetype')}
@font-face{font-family:Manrope;font-style:normal;font-weight:700;font-display:swap;src:url('./assets/manrope-700.ttf') format('truetype')}
@font-face{font-family:Manrope;font-style:normal;font-weight:800;font-display:swap;src:url('./assets/manrope-800.ttf') format('truetype')}
.spaced{margin-top:18px;margin-bottom:18px}.full{width:100%}.login-intro{padding:50px 0 42px}.login-intro h1{font-size:36px;line-height:1.55;margin:14px 0 20px;letter-spacing:-1px}.login-intro>p:last-child{font-size:14px;color:var(--muted);line-height:1.9}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.field{display:block;min-width:0}.field>span{display:block;font-size:13px;font-weight:600;margin-bottom:8px}.field input,.field select,.field textarea{width:100%;min-width:0}.field textarea{resize:vertical;min-height:96px;background:var(--paper);border:1px solid #dde2d9;border-radius:10px;padding:12px;line-height:1.7}.selected{background:var(--ink)!important;color:var(--paper)!important}.summary-text{font-size:14px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;margin:14px 0}.record{margin-bottom:15px}.record .hint svg{width:14px;height:14px;vertical-align:middle}.photo-slot{min-height:160px;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;overflow:hidden;padding:10px;position:relative}.photo-slot img{position:static;width:100%;height:120px;object-fit:cover;border-radius:8px}.photo-slot strong{font-size:13px}.photo-slot span{font-size:11px;color:var(--muted)}.photo-grid>input[hidden]{display:none}.photo-grid{align-items:stretch}.draft-footer{text-align:center;font-size:11px;color:var(--muted);padding:0 0 24px}.funnel{padding:4px 0 18px}.funnel-line{margin:16px 0 22px}.funnel-meta{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;font-size:14px}.funnel-meta strong{font-size:23px}.funnel-meta small{font-size:12px;font-weight:500;color:var(--muted)}.funnel-track{background:#e8e8e1;border-radius:5px;height:30px;overflow:hidden}.funnel-track>div{background:var(--brand);height:100%}.funnel-line:nth-child(2) .funnel-track>div{background:#e45c20}.funnel-line:nth-child(3) .funnel-track>div{background:#cb6436}.funnel-line:nth-child(4) .funnel-track>div{background:#a86b4f}.funnel-line:nth-child(5) .funnel-track>div{background:#877465}.funnel-line>small{display:block;color:var(--muted);margin-top:6px;font-size:11px}.goal-metrics{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}.goal-metrics span{font-size:12px;color:var(--muted)}.goal-metrics strong{display:block;font-size:26px;color:var(--brand-dark);margin:6px 0}.goal-metrics p{font-size:13px}.export-actions{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.export-actions a{flex:1;font-size:13px;padding:0 10px}.pagination{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:20px;font-size:12px}.pagination .secondary{font-size:12px;padding:0 12px;min-height:44px}.checks{display:block;border:1px solid var(--line);border-radius:12px;padding:12px}.checks legend{font-size:13px;font-weight:600;padding:0 6px}.checks label{display:flex;align-items:center;gap:10px;min-height:44px;color:var(--ink)}.checks input{margin:0}.region-tags{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.region-tags>span{background:var(--orange-soft);color:var(--brand-dark);border-radius:6px;padding:8px;font-size:12px}.admin-user{justify-content:space-between}.admin-user>div{min-width:0}.admin-user strong{overflow-wrap:anywhere}.admin-user p{margin:4px 0 0}.profile{display:flex;flex-direction:column;gap:10px;align-items:flex-start;padding:18px 0}.profile h1{font-size:27px}.profile p{font-size:13px;color:var(--muted)}details{margin-top:12px;font-size:12px}summary{min-height:44px;cursor:pointer}pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;line-height:1.7}.form-intro h1,.detail-hero h1{overflow-wrap:anywhere}.hero-action .secondary{font-size:13px;padding:0 12px;color:var(--brand-dark);background:var(--paper)}.hero-action{flex-wrap:wrap}.report-note{overflow-wrap:anywhere}.error-text:empty{display:none}.field input[type=date]{min-height:48px;padding-left:8px;padding-right:8px}.field select{min-height:48px;background:var(--paper);border:1px solid #dde2d9;border-radius:10px;padding:10px}.page>form{padding-bottom:16px}@media(max-width:359px){.goal-metrics strong{font-size:23px}.login-intro h1{font-size:32px}.form-row{gap:8px}.field input[type=date]{font-size:14px}}

.photo-item{min-width:0}.photo-item .photo-slot{width:100%}.photo-status{font-size:12px;line-height:1.6;overflow-wrap:anywhere}.photo-status:not(:empty){margin-top:8px}.photo-status .text-btn{min-height:44px}.location-copy{min-width:0;overflow-wrap:anywhere}.location-box .text-btn{flex-shrink:0;min-width:44px;min-height:44px}

.brand img{width:38px;height:38px;border-radius:10px}.brand span{border-left:0;padding-left:0;font-size:17px;font-weight:700;letter-spacing:.3px}

.powered-by{text-align:center;font-size:11px;font-weight:400;line-height:1.8;color:#68736c;margin:28px 0 0;padding:8px 0;overflow-wrap:anywhere}

/* Search forms must not inherit the page form's bottom padding. */
.page>form.search{height:50px;padding:0 10px 0 12px;gap:8px}
.search>svg{flex:0 0 18px;width:18px;height:18px}
.search>input{flex:1 1 0%;width:0;min-width:0;height:100%;margin:0;padding:0;line-height:normal}
.search>button[type=submit]{flex:0 0 48px;min-width:48px;height:44px;min-height:44px;margin:0;padding:0 4px;white-space:nowrap;line-height:1;font-size:13px}

/* Visit check-in and checkout */
.visit-clock{background:#fff5ec;border:1px solid #f1d6be;border-radius:16px;padding:22px;margin:12px 0 24px}.visit-clock>span{display:block;color:#6b5140}.visit-clock>strong{display:block;font-size:36px;line-height:1.5;color:#bf4b12;font-variant-numeric:tabular-nums}.visit-clock p{margin:4px 0;color:#6b5140;font-size:13px}.location-types{border:0;padding:0;margin:18px 0 26px;min-width:0}.location-types legend{font-size:14px;font-weight:600;margin-bottom:10px}.location-types label{display:inline-flex;align-items:center;gap:6px;min-height:44px;margin-right:16px}.location-types input{width:18px;height:18px;accent-color:#e75b16}.cancel-visit{margin:24px 0;color:#73685f}.cancel-visit summary{padding:12px 0;cursor:pointer}.resume-visit{display:block;margin-top:16px}.photo-slot{min-width:0}.visit-clock p,.record .hint{overflow-wrap:anywhere}

.photo-item .photo-slot{height:auto;min-height:176px}.photo-slot img{flex-shrink:0}.photo-slot span{line-height:1.5}.cancel-visit+footer{margin-top:24px}

/* Explicit next-customer action after checkout, alongside a repeat visit. */
.action-bar.visit-actions{display:flex;gap:10px}.action-bar.visit-actions>a{flex:1;min-width:0;white-space:nowrap;padding-left:8px;padding-right:8px}
#start-cancel-location[hidden]{display:none}
.promotion-choices{margin:22px 0 18px;padding:12px 14px;border:1px solid var(--line);border-radius:10px;min-width:0}
.promotion-choices legend{font-size:14px;font-weight:600;padding:0 5px;max-width:100%}
.promotion-choices label{display:flex;align-items:center;gap:10px;min-height:48px;font-size:14px;overflow-wrap:anywhere}
.promotion-choices input{width:20px;height:20px;flex-shrink:0;accent-color:var(--brand)}
.promotion-task h3,.promotion-task p{overflow-wrap:anywhere}
.promotion-task p{margin:10px 0;line-height:1.7}.promotion-task strong{font-variant-numeric:tabular-nums}
.promotion-choices input:focus-visible{outline:2px solid var(--brand);outline-offset:3px}

.accuracy-notice{display:inline-block;padding:3px 8px;border-radius:4px;background:#fff0d4;color:#805000;font-size:12px;line-height:1.5;font-weight:600}.location-accuracy-summary{overflow-wrap:anywhere;line-height:1.8}.location-accuracy-summary .accuracy-notice{margin-inline-start:5px}
