:root{--primary:#3268f5;--primary-dark:#1f4bd2;--bg:#f4f7fc;--surface:#fff;--surface-soft:#f8faff;--text:#15284d;--muted:#7f8da6;--line:#e9eef7;--shadow:0 5px 24px #1a448209;--green:#0ca87d;--blue-soft:#edf3ff;--hero:linear-gradient(115deg,#2562ed 0%,#447efa 55%,#6c9cff 100%);--sidebar:#fff;--danger:#e05e69;--input:#fff;color-scheme:light}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:14px/1.65 'Segoe UI','Microsoft YaHei',sans-serif;letter-spacing:.1px}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}a{color:var(--primary);text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid #96b7ff;outline-offset:3px}input,textarea,select{background:var(--input);color:var(--text);border:1px solid var(--line);border-radius:10px;padding:11px 13px;min-width:0;outline:none}input:focus,textarea:focus,select:focus{border-color:var(--primary);box-shadow:0 0 0 3px #3268f512}input::placeholder,textarea::placeholder{color:var(--muted)}label{display:block;font-size:13px;font-weight:600;margin-bottom:6px}h1,h2,h3,p{margin-top:0}h1{font-size:28px;line-height:1.4;letter-spacing:-.6px}h2{font-size:21px;letter-spacing:-.3px}h3{font-size:16px}.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;vertical-align:middle}.muted{color:var(--muted)}.small{font-size:12px}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:700;color:var(--muted)}.button{border:1px solid transparent;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:9px 17px;background:var(--primary);color:#fff;font-weight:600;transition:background .2s,transform .2s;white-space:nowrap}.button:hover{background:var(--primary-dark);transform:translateY(-1px)}.button.secondary{background:var(--surface);border-color:var(--line);color:var(--text)}.button.secondary:hover{background:var(--surface-soft)}.button.ghost{background:transparent;color:var(--muted);border-color:var(--line)}.button.soft{background:var(--blue-soft);color:var(--primary)}.button.small{min-height:32px;padding:5px 11px;font-size:12px}.button.danger{color:var(--danger);background:#e05e6910}.link-button{border:0;background:transparent;color:var(--primary);padding:5px;cursor:pointer}.pill{border-radius:6px;padding:4px 9px;font-size:11px;font-weight:600;display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.pill.open{background:#e8f7f2;color:#179a73}.pill.claimed{background:#edf2ff;color:#4e6de1}.pill.following{background:#fff4df;color:#ba861e}.pill.won{background:#ede8ff;color:#8260ce}.pill.invalid{background:#f0f1f4;color:#969bad}.dot{width:6px;height:6px;border-radius:50%;background:currentColor}.hidden{display:none!important}
.shell{display:grid;grid-template-columns:228px minmax(0,1fr);min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:228px;background:var(--sidebar);border-right:1px solid var(--line);display:flex;flex-direction:column;padding:30px 19px 18px;z-index:20}.brand{display:flex;align-items:center;gap:10px;padding:0 8px;margin-bottom:43px}.brand img{width:39px;height:39px}.brand-name{font-size:17px;font-weight:750;line-height:1.3;letter-spacing:-.5px}.brand-sub{font-size:9px;letter-spacing:1.65px;color:var(--muted);margin-top:3px}.nav-label{font-size:10px;color:var(--muted);letter-spacing:1.8px;margin:9px 15px 12px}.nav{display:flex;flex-direction:column;gap:7px}.nav-item{display:flex;align-items:center;gap:12px;border:0;width:100%;padding:12px 15px;border-radius:10px;background:transparent;color:var(--muted);text-align:left;font-size:13px;font-weight:600}.nav-item .icon{width:18px}.nav-item.active{background:var(--blue-soft);color:var(--primary)}.nav-item:hover{background:var(--surface-soft);color:var(--primary)}.nav-item.active:after{content:'';height:6px;width:6px;background:var(--primary);border-radius:50%;margin-left:auto}.sidebar-bottom{margin-top:auto}.help-card{border:1px solid var(--line);border-radius:14px;padding:16px;background:linear-gradient(130deg,var(--surface-soft),var(--surface));margin:25px 0 18px}.help-card .icon{color:var(--primary);margin-bottom:12px}.help-card strong{display:block;font-size:12px;margin-bottom:4px}.help-card p{font-size:11px;color:var(--muted);margin:0 0 12px}.profile{display:flex;align-items:center;gap:10px;padding:12px 5px 0;border-top:1px solid var(--line)}.avatar{width:35px;height:35px;border-radius:10px;background:var(--blue-soft);color:var(--primary);display:grid;place-items:center;font-weight:700;flex-shrink:0}.profile-meta{flex:1;min-width:0}.profile-meta strong{display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-meta span{font-size:10px;color:var(--muted)}.icon-button{background:transparent;color:var(--muted);border:0;padding:6px;border-radius:7px;display:inline-flex;align-items:center;justify-content:center}.icon-button:hover{color:var(--primary);background:var(--blue-soft)}.main{grid-column:2;min-width:0}.topbar{height:79px;padding:0 37px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:var(--surface);gap:12px}.breadcrumb{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:12px}.breadcrumb strong{font-weight:500;color:var(--text)}.topbar-right{display:flex;align-items:center;gap:22px;font-size:11px;color:var(--muted)}.live-badge{display:flex;align-items:center;gap:6px}.live-badge .dot{color:var(--green);box-shadow:0 0 0 4px #0ca87d0d}.role-chip{border:1px solid var(--line);border-radius:6px;padding:4px 10px;background:var(--surface-soft);color:var(--primary)}.content{max-width:1550px;margin:auto;padding:30px 37px 22px}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:23px;gap:16px}.page-heading h1{margin:0 0 5px;font-size:24px}.page-heading p{font-size:12px;color:var(--muted);margin:0}.heading-actions{display:flex;gap:9px;flex-wrap:wrap}.hero{position:relative;border-radius:17px;background:var(--hero);min-height:187px;padding:29px 34px;color:#fff;overflow:hidden;display:flex;align-items:center;justify-content:space-between;margin-bottom:24px;box-shadow:0 12px 28px #3268f518}.hero:before{content:'';position:absolute;width:360px;height:360px;right:-36px;top:-155px;border:1px solid #ffffff20;border-radius:50%;box-shadow:0 0 0 48px #ffffff06,0 0 0 96px #ffffff05}.hero-text{max-width:70%;position:relative;z-index:1}.hero-eyebrow{font-size:10px;letter-spacing:2.4px;color:#dce8ff;margin-bottom:10px}.hero h2{font-size:25px;font-weight:650;margin:0 0 9px;letter-spacing:0}.hero p{font-size:12px;color:#e2ebff;margin:0;max-width:620px}.hero-tag{display:inline-flex;align-items:center;gap:7px;border:1px solid #ffffff30;border-radius:25px;background:#ffffff10;padding:4px 10px;font-size:10px;margin-top:18px}.hero-art{position:relative;width:180px;height:130px;flex-shrink:0;transform:rotate(-9deg);margin-right:25px}.art-card{position:absolute;left:32px;top:5px;width:120px;height:114px;border-radius:15px;background:linear-gradient(145deg,#ffffff34,#ffffff0c);border:1px solid #ffffff65;backdrop-filter:blur(7px);box-shadow:12px 16px 0 #ffffff12;display:flex;align-items:center;justify-content:center}.art-card .icon{width:64px;height:64px;stroke-width:1}.art-dot{position:absolute;bottom:-3px;right:0;width:38px;height:38px;border:1px solid #ffffff80;border-radius:11px;background:#92c0ff;display:grid;place-items:center;box-shadow:0 8px 24px #194ccf28}.art-spark{position:absolute;left:0;top:8px;font-size:27px;font-weight:200;color:#d2e8ff}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:26px}.stat-card{border:1px solid var(--line);background:var(--surface);border-radius:13px;padding:19px 20px;box-shadow:var(--shadow);display:flex;justify-content:space-between;align-items:flex-start;gap:8px}.stat-label{font-size:12px;color:var(--muted);margin-bottom:8px}.stat-number{font:600 29px/1.1 'Segoe UI',sans-serif;letter-spacing:-.8px;color:var(--text)}.stat-number small{font-size:10px;font-weight:400;margin-left:7px;letter-spacing:0;color:var(--muted)}.stat-note{font-size:10px;color:var(--muted);margin-top:10px}.stat-note .positive{color:var(--green)}.stat-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:var(--blue-soft);color:var(--primary)}.stat-icon.green{color:#09a980;background:#e9f8f1}.stat-icon.purple{color:#8b69df;background:#f3edff}.stat-icon.orange{color:#dc9d31;background:#fff7e8}.section-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 16px;gap:12px}.section-heading h2{font-size:16px;margin:0;display:flex;align-items:center;gap:9px}.section-heading h2:before{content:'';width:4px;height:16px;background:var(--primary);border-radius:3px}.section-heading span{font-size:11px;color:var(--muted)}.panel{border:1px solid var(--line);background:var(--surface);border-radius:14px;box-shadow:var(--shadow)}.filters{display:flex;gap:12px;align-items:center;padding:16px 19px;flex-wrap:wrap;border-bottom:1px solid var(--line)}.tabs{display:flex;gap:6px;margin-right:auto}.tab{border:0;background:transparent;color:var(--muted);padding:7px 12px;border-radius:7px;font-size:12px}.tab.active{background:var(--blue-soft);color:var(--primary);font-weight:650}.search-box{position:relative;display:flex;align-items:center}.search-box .icon{position:absolute;left:12px;width:16px;color:var(--muted)}.search-box input{padding:9px 12px 9px 36px;font-size:12px;width:238px;border-radius:8px;background:var(--surface-soft)}.filters select{font-size:12px;padding:8px 11px;border-radius:8px}.list-meta{padding:16px 20px 0;font-size:11px;color:var(--muted);display:flex;align-items:center;justify-content:space-between}.list-meta strong{color:var(--primary);font-weight:600}.leads-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:18px 20px 20px}.lead-card{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--surface);transition:border-color .2s,box-shadow .2s}.lead-card:hover{border-color:#b6caff;box-shadow:0 7px 23px #3268f50b}.lead-card-body{padding:18px}.lead-card-top{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:15px}.lead-code{font-size:10px;letter-spacing:.9px;color:var(--muted);font-weight:600}.lead-location{font-size:16px;font-weight:650;display:flex;align-items:flex-start;gap:7px;margin-bottom:15px;line-height:1.6;min-height:26px}.lead-location .icon{color:var(--primary);width:18px;margin-top:4px}.lead-location span{overflow-wrap:anywhere}.lead-info-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;background:var(--surface-soft);padding:12px;border-radius:9px;margin-bottom:14px}.lead-info-title{font-size:10px;color:var(--muted);margin-bottom:5px;display:flex;align-items:center;gap:5px}.lead-info-title .icon{width:12px;height:12px}.lead-info-value{font-size:12px;font-weight:600;overflow-wrap:anywhere;line-height:1.6}.lead-owner{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:var(--muted);gap:8px}.lead-owner strong{font-weight:500;color:var(--text)}.lead-card-footer{border-top:1px solid var(--line);padding:12px 18px;display:flex;align-items:center;justify-content:space-between;background:var(--surface-soft);gap:8px}.lead-card-footer .button{font-size:11px;padding:6px 12px;min-height:31px}.lead-card-footer .small{font-size:10px}.lead-tag{display:inline-flex;align-items:center;gap:4px;color:var(--green);font-size:10px}.lead-tag .icon{height:13px;width:13px}.admin-line{font-size:11px;color:var(--muted);margin-bottom:8px;overflow-wrap:anywhere;display:flex;gap:6px}.admin-line span{color:var(--text)}.card-tools{display:flex;justify-content:space-between;align-items:center;margin-top:12px;padding-top:11px;border-top:1px dashed var(--line);gap:8px}.card-tools select{font-size:11px;padding:5px 7px;max-width:120px}.visibility{border:0;background:transparent;font-size:10px;display:flex;align-items:center;gap:4px;color:var(--green);padding:5px 0}.visibility.off{color:var(--muted)}.visibility .icon{width:14px;height:14px}.pagination{padding:18px 20px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--muted);font-size:11px}.pagination-buttons{display:flex;gap:7px;align-items:center}.pagination .button{font-size:11px;min-height:30px;padding:4px 11px}.empty{grid-column:1/-1;text-align:center;padding:58px 20px;color:var(--muted)}.empty .icon{width:44px;height:44px;color:#a8bbdf;margin-bottom:12px}.empty strong{display:block;font-size:15px;color:var(--text);margin-bottom:7px}.empty p{font-size:12px}.footer{display:flex;justify-content:space-between;margin-top:25px;font-size:10px;color:var(--muted);gap:12px}.footer-left{display:flex;gap:7px;align-items:center}.footer .icon{width:12px;height:12px}.mobile-menu{display:none}.content-panel{padding:25px}.content-panel h2{font-size:17px}.content-panel p{font-size:12px;color:var(--muted)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.form-field input,.form-field textarea,.form-field select{width:100%}.form-field.full{grid-column:1/-1}.form-field .hint{font-size:11px;color:var(--muted);margin-top:6px}.form-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:24px}.settings-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(240px,1fr);gap:22px}.theme-choices{display:grid;grid-template-columns:1fr 1fr;gap:14px}.theme-choice{position:relative;border:2px solid var(--line);border-radius:12px;padding:10px;background:var(--surface);color:var(--text);text-align:left}.theme-choice.selected{border-color:var(--primary)}.theme-choice strong{font-size:12px;display:block;margin:9px 1px 0}.theme-choice small{font-size:10px;color:var(--muted)}.theme-preview{height:95px;border-radius:6px;background:#eff4fc;padding:10px;display:flex;gap:6px}.theme-preview.dark{background:#101a2e}.preview-side{width:19%;border-radius:3px;background:#fff}.dark .preview-side{background:#1c2940}.preview-main{flex:1;display:flex;flex-direction:column;gap:7px}.preview-hero{height:32px;border-radius:4px;background:linear-gradient(100deg,#2c66ed,#8eb3ff)}.dark .preview-hero{background:linear-gradient(100deg,#2046ad,#172d5f)}.preview-rows{display:flex;gap:5px;flex:1}.preview-rows i{flex:1;background:#fff;border-radius:3px}.dark .preview-rows i{background:#1c2940}.settings-contact{border:1px solid var(--line);border-radius:12px;padding:23px;text-align:center;background:var(--surface-soft)}.qr-preview{width:160px;height:160px;object-fit:contain;background:#fff;border:1px solid var(--line);padding:6px;border-radius:11px;margin:12px auto;display:block}.qr-empty{border:1px dashed #bdcbe2;border-radius:12px;max-width:180px;min-height:155px;margin:15px auto;display:flex;align-items:center;justify-content:center;flex-direction:column;color:var(--muted);gap:10px;font-size:11px}.qr-empty .icon{height:40px;width:40px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:12px;text-align:left}th{color:var(--muted);font-weight:500;background:var(--surface-soft);white-space:nowrap}td,th{padding:15px 17px;border-bottom:1px solid var(--line)}td{white-space:nowrap}tr:last-child td{border-bottom:0}.api-banner{display:flex;gap:18px;align-items:center;border-radius:12px;background:var(--blue-soft);padding:20px;margin-bottom:24px}.api-banner>.icon{width:32px;height:32px;color:var(--primary)}.api-banner p{margin:3px 0 0}.code-box{font:12px/1.8 Consolas,monospace;background:var(--surface-soft);border:1px solid var(--line);padding:13px 15px;border-radius:9px;overflow-wrap:anywhere;white-space:pre-wrap;color:var(--text)}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:25px}.step{border:1px solid var(--line);border-radius:10px;padding:18px}.step-number{height:26px;width:26px;border-radius:8px;display:grid;place-items:center;background:var(--blue-soft);color:var(--primary);font-size:12px;margin-bottom:10px}.step strong{display:block;font-size:12px;margin-bottom:5px}.step p{margin:0;font-size:11px}.notice-block{border-radius:9px;background:var(--blue-soft);padding:13px 15px;font-size:12px;color:var(--primary);margin:16px 0;overflow-wrap:anywhere}.file-drop{border:1px dashed #bacbeb;background:var(--surface-soft);border-radius:12px;padding:30px;text-align:center}.file-drop .icon{display:block;width:35px;height:35px;margin:0 auto 12px;color:var(--primary)}.file-drop input{display:block;margin:16px auto 0;max-width:100%}.import-preview{max-height:300px;overflow:auto;margin-top:15px}.modal-overlay{position:fixed;inset:0;background:#0a1c4280;backdrop-filter:blur(4px);z-index:100;display:flex;align-items:center;justify-content:center;padding:22px}.modal{position:relative;width:100%;max-width:620px;max-height:90vh;overflow:auto;background:var(--surface);border-radius:19px;box-shadow:0 25px 100px #0003}.modal-header{padding:24px 27px 0;display:flex;justify-content:space-between;align-items:flex-start;gap:14px}.modal-header h2{margin:0;font-size:20px}.modal-header p{color:var(--muted);font-size:12px;margin:6px 0 0}.modal-body{padding:23px 27px 27px}.contact-modal{text-align:center}.success-icon{width:58px;height:58px;background:#e6f7f0;color:#0aa779;border-radius:18px;display:grid;place-items:center;margin:3px auto 15px}.success-icon .icon{width:29px;height:29px}.contact-modal h3{font-size:21px;margin-bottom:9px}.contact-modal .contact-number{font-size:22px;font-weight:650;color:var(--primary);margin:9px 0}.contact-modal .button{width:100%}.contact-modal .qr-preview{width:190px;height:190px}.contact-divider{height:1px;background:var(--line);margin:21px 0}.modal-close{border:0;background:var(--surface-soft);border-radius:8px;padding:5px;color:var(--muted);display:flex}.form-error{color:var(--danger);font-size:12px;margin:8px 0}.auth-page{min-height:100vh;display:grid;grid-template-columns:1.05fr 1fr;background:var(--surface)}.auth-art{background:linear-gradient(150deg,#184dd1,#347bf3 60%,#6ba7ff);color:#fff;position:relative;overflow:hidden;display:flex;flex-direction:column;padding:45px 60px;justify-content:space-between}.auth-art:after{content:'';position:absolute;border:1px solid #ffffff20;width:580px;height:580px;border-radius:50%;right:-180px;bottom:-250px;box-shadow:0 0 0 70px #ffffff06,0 0 0 140px #ffffff04}.auth-art .brand{margin:0;padding:0}.auth-art .brand-sub{color:#d2e1ff}.auth-art .brand img{box-shadow:0 5px 25px #153e9c33}.auth-pitch{position:relative;z-index:1;max-width:440px;margin:50px 0}.auth-pitch h1{font-size:42px;line-height:1.5;letter-spacing:1px;margin-bottom:20px;font-weight:600}.auth-pitch p{font-size:14px;color:#d7e5ff;line-height:2}.auth-points{display:flex;gap:28px;margin-top:35px;font-size:12px;color:#e6efff}.auth-points .icon{width:16px;height:16px;margin-right:5px}.auth-caption{position:relative;z-index:1;color:#bed5ff;font-size:10px;letter-spacing:1.4px}.auth-right{display:flex;align-items:center;justify-content:center;padding:40px}.auth-box{width:100%;max-width:345px}.auth-box .eyebrow{color:var(--primary);font-size:10px;margin-bottom:13px}.auth-box h2{font-size:26px;margin:0 0 8px}.auth-box>p{font-size:12px;color:var(--muted);margin-bottom:30px}.auth-box .form-field{margin-bottom:17px}.auth-box .button{width:100%;margin-top:8px;padding:12px}.auth-switch{text-align:center;margin-top:24px;font-size:12px;color:var(--muted)}.auth-tip{font-size:10px;line-height:1.9;color:var(--muted);padding-top:28px;text-align:center}.loading-screen{height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;color:var(--muted);font-size:12px}#toast{position:fixed;left:50%;top:23px;transform:translate(-50%,-15px);background:#15284d;color:#fff;border-radius:10px;padding:12px 22px;box-shadow:0 8px 30px #0002;z-index:200;opacity:0;pointer-events:none;transition:.2s;font-size:13px;max-width:90vw}#toast.visible{opacity:1;transform:translate(-50%,0)}#toast.error{background:#b83d4a}.refreshing{opacity:.55;pointer-events:none}
html[data-theme=dark]{--primary:#6c9dff;--primary-dark:#5186ed;--bg:#0c1424;--surface:#131f33;--surface-soft:#17263d;--text:#e5edfc;--muted:#8a9ab5;--line:#24324a;--shadow:0 6px 30px #00000012;--green:#4bd2af;--blue-soft:#21365b;--hero:linear-gradient(110deg,#1d3980,#1e4ba2 60%,#3267c6);--sidebar:#101b2e;--input:#142238;--danger:#ff8993;color-scheme:dark}html[data-theme=dark] .stat-icon.green{background:#143a38;color:#4bd2af}html[data-theme=dark] .stat-icon.purple{background:#302747;color:#b39bff}html[data-theme=dark] .stat-icon.orange{background:#3a3021;color:#e9ba71}html[data-theme=dark] .pill.open{background:#183b36;color:#55d5b1}html[data-theme=dark] .pill.claimed{background:#273b61;color:#92b4ff}html[data-theme=dark] .pill.following{background:#3d3420;color:#ecc37e}html[data-theme=dark] .pill.won{background:#35294d;color:#c5a8ff}html[data-theme=dark] .pill.invalid{background:#293344;color:#9da9bc}html[data-theme=dark] .success-icon{background:#183b36;color:#55d5b1}
@media(min-width:1600px){.content{padding-top:35px}.hero{min-height:205px}.lead-card-body{padding:22px}.lead-location{font-size:17px}}@media(max-width:1200px){.shell{grid-template-columns:205px minmax(0,1fr)}.sidebar{width:205px;padding-left:13px;padding-right:13px}.topbar{padding:0 25px}.content{padding:26px 25px}.leads-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stats-grid{gap:12px}.stat-card{padding:16px}.stat-icon{width:31px;height:31px}.hero-art{margin-right:0;width:150px}.hero-text{max-width:72%}.auth-art{padding:40px}.auth-pitch h1{font-size:34px}}@media(max-width:900px){.settings-grid{grid-template-columns:1fr}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.topbar-right .date-label{display:none}.hero{padding:25px}.hero h2{font-size:22px}.hero-art{width:110px;transform:scale(.8) rotate(-9deg);margin-right:10px}.auth-page{grid-template-columns:1fr}.auth-art{display:none}.auth-right{min-height:100vh}.steps{grid-template-columns:1fr}.step{display:grid;grid-template-columns:30px 1fr;gap:0 10px}.step-number{grid-row:1/3;margin:0}.step strong{margin:0}}
@media(max-width:700px){.shell{display:block}.sidebar{transform:translateX(-100%);transition:transform .2s;width:228px;box-shadow:20px 0 60px #0002}.shell.menu-open .sidebar{transform:translateX(0)}.shell.menu-open:before{content:'';position:fixed;inset:0;background:#0006;z-index:19}.main{width:100%}.topbar{height:65px;padding:0 17px}.mobile-menu{display:flex}.breadcrumb{gap:8px}.topbar-right{gap:10px}.topbar-right .live-badge{display:none}.content{padding:23px 16px}.page-heading{align-items:flex-start;margin-bottom:19px}.page-heading h1{font-size:22px}.page-heading p{font-size:11px;max-width:235px}.heading-actions{justify-content:flex-end;gap:5px}.heading-actions .button{padding:7px 10px;font-size:11px;min-height:35px}.heading-actions .button .icon{width:15px;height:15px}.hero{padding:22px;min-height:174px;margin-bottom:19px;border-radius:13px}.hero-text{max-width:100%}.hero h2{font-size:21px}.hero p{font-size:11px}.hero-art{display:none}.hero-tag{margin-top:13px}.stats-grid{gap:11px;margin-bottom:23px}.stat-card{padding:15px;border-radius:11px}.stat-number{font-size:27px}.stat-label{font-size:11px}.stat-note{font-size:9px;margin-top:8px}.stat-icon{width:31px;height:31px;border-radius:9px}.stat-icon .icon{width:17px;height:17px}.filters{padding:13px;gap:11px}.tabs{width:100%;margin-right:0}.tab{flex:1;padding:7px}.search-box{flex:1;min-width:150px}.search-box input{width:100%}.filters select{max-width:120px}.leads-grid{grid-template-columns:1fr;padding:15px 13px;gap:13px}.lead-card-body{padding:18px}.lead-location{font-size:17px}.lead-info-grid{padding:13px}.lead-info-value{font-size:13px}.lead-card-footer{padding:12px 18px}.lead-card-footer .button{padding:7px 15px;font-size:12px}.lead-owner{font-size:12px}.list-meta{padding-left:14px;padding-right:14px}.section-heading span{font-size:10px}.section-heading h2{font-size:15px}.pagination{padding:15px 13px;align-items:flex-start}.pagination-buttons{gap:5px}.footer{flex-direction:column;gap:4px;text-align:center;align-items:center}.content-panel{padding:19px}.form-grid{grid-template-columns:1fr;gap:14px}.form-field.full{grid-column:auto}.modal-overlay{padding:12px}.modal{max-height:93vh;border-radius:15px}.modal-header{padding:20px 20px 0}.modal-body{padding:20px}.auth-right{padding:30px}.auth-box{max-width:380px}.theme-preview{height:80px}.api-banner{padding:15px}.api-banner>.icon{width:27px;flex-shrink:0}.page-heading .button.secondary span{display:none}}
.profile-meta span{white-space:nowrap}.profile{gap:6px}.profile .icon-button{padding:3px}
/* Compact lead table: dense rows on desktop, readable two-column items on phones. */
.hero{min-height:148px;padding:25px 30px;margin-bottom:18px}.hero h2{font-size:22px}.hero-tag{margin-top:12px}.hero-art{transform:scale(.82) rotate(-9deg);transform-origin:center right}.stats-grid{gap:10px;margin-bottom:18px}.stat-card{padding:13px 15px;border-radius:10px}.stat-label{margin-bottom:5px}.stat-number{font-size:25px}.stat-note{margin-top:6px}.section-heading{margin-bottom:10px}.panel{border-radius:10px}.filters{padding:11px 14px;gap:9px}.list-meta{padding:11px 14px 0}.leads-grid{display:block;padding:10px 14px 14px}.compact-lead{display:grid;grid-template-columns:minmax(235px,2.1fr) minmax(105px,.95fr) minmax(90px,.75fr) minmax(145px,1.1fr) minmax(145px,1.2fr) minmax(190px,1.5fr);align-items:stretch;border:1px solid var(--line);border-radius:7px;margin:0;border-bottom:0;overflow:visible;box-shadow:none}.compact-lead:first-child{border-radius:8px 8px 0 0}.compact-lead:last-child{border-bottom:1px solid var(--line);border-radius:0 0 8px 8px}.compact-lead:hover{box-shadow:none;background:var(--surface-soft);border-color:var(--line)}.lead-cell{min-width:0;padding:9px 10px;border-right:1px solid var(--line);display:flex;flex-direction:column;justify-content:center;gap:3px;font-size:11px;line-height:1.35}.lead-cell:last-child{border-right:0}.lead-identity{gap:4px}.lead-code{font-size:9px;letter-spacing:.5px}.lead-identity .pill{align-self:flex-start;font-size:9px;padding:2px 6px}.compact-lead .lead-location{font-size:12px;line-height:1.35;min-height:0;margin:0;gap:4px;align-items:flex-start}.compact-lead .lead-location .icon{width:13px;height:13px;margin-top:1px;flex:none}.compact-lead .lead-owner{font-size:10px;display:flex;align-items:center;gap:4px;color:var(--muted);white-space:nowrap}.compact-lead .lead-owner b{color:var(--text);font-weight:600;overflow:hidden;text-overflow:ellipsis}.compact-lead .lead-owner time{margin-left:auto;font-size:9px}.compact-label{color:var(--muted);font-size:9px;white-space:nowrap}.compact-lead .lead-info-value{font-size:11px;line-height:1.35;overflow-wrap:anywhere}.lead-contact strong{font-size:11px;overflow-wrap:anywhere}.compact-sub{font-size:9px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lead-notes>span:not(.compact-label){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lead-notes small{font-size:9px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lead-actions{align-items:flex-start;gap:5px;flex-direction:row;flex-wrap:wrap;align-content:center}.lead-actions select{font-size:10px;padding:4px 5px;max-width:100px}.lead-actions .visibility{font-size:9px;padding:3px 0}.lead-actions .visibility .icon{width:12px;height:12px}.compact-lead .lead-tag{font-size:9px;white-space:nowrap}.compact-lead .lead-tag .icon{width:11px;height:11px}.lead-actions .button{font-size:10px;min-height:25px;padding:4px 8px;white-space:nowrap}.worker-lead{grid-template-columns:minmax(245px,2.4fr) minmax(130px,1fr) minmax(100px,.8fr) minmax(200px,1.4fr)}.pagination{padding:12px 14px}
@media(max-width:1200px){.compact-lead{grid-template-columns:minmax(205px,2fr) minmax(100px,.9fr) minmax(85px,.75fr) minmax(125px,1fr) minmax(125px,1.05fr) minmax(165px,1.35fr)}.worker-lead{grid-template-columns:minmax(215px,2.2fr) minmax(115px,1fr) minmax(90px,.8fr) minmax(175px,1.35fr)}.lead-cell{padding-left:8px;padding-right:8px}}
@media(max-width:1100px){.hero{min-height:132px;padding:21px 23px}.hero h2{font-size:20px}.hero-art{display:none}.compact-lead,.worker-lead{grid-template-columns:minmax(0,2fr) minmax(105px,1fr) minmax(85px,.8fr)}.compact-lead .lead-identity{grid-column:1/-1;border-right:0;border-bottom:1px solid var(--line);display:grid;grid-template-columns:auto auto 1fr;align-items:center;column-gap:8px}.compact-lead .lead-identity .lead-location{grid-column:1/-1}.compact-lead .lead-owner{grid-column:1/-1}.compact-lead .lead-cell:nth-last-child(1){border-right:0}.admin-lead .lead-contact{border-right:0}.admin-lead .lead-notes{grid-column:1/-1;border-top:1px solid var(--line);border-right:0;display:grid;grid-template-columns:auto 1fr;column-gap:8px}.admin-lead .lead-notes .compact-label{grid-row:1/3}.admin-lead .lead-actions{grid-column:1/-1;border-top:1px solid var(--line);border-right:0;flex-direction:row;align-items:center;flex-wrap:wrap;white-space:normal}.worker-lead .lead-actions{grid-column:1/-1;border-top:1px solid var(--line);border-right:0;flex-direction:row;align-items:center;flex-wrap:wrap;white-space:normal}.leads-grid{padding:8px 10px 12px}.filters{padding:9px 10px}.list-meta{padding-left:10px;padding-right:10px}}
@media(max-width:700px){.content{padding:17px 11px}.page-heading{margin-bottom:13px}.page-heading h1{font-size:20px}.page-heading p{display:none}.hero{min-height:0;padding:16px 17px;margin-bottom:13px}.hero h2{font-size:18px;margin-bottom:5px}.hero p{font-size:10px}.hero-tag{font-size:9px;padding:3px 7px;margin-top:9px}.stats-grid{gap:7px;margin-bottom:14px}.stat-card{padding:10px 11px}.stat-label{font-size:10px}.stat-number{font-size:21px}.stat-note{font-size:8px}.stat-icon{width:27px;height:27px;border-radius:8px}.stat-icon .icon{width:15px;height:15px}.section-heading{margin-bottom:7px}.section-heading h2{font-size:14px}.section-heading span{display:none}.filters{gap:7px}.tabs{gap:3px}.tab{font-size:10px;padding:6px 3px}.search-box{min-width:125px}.search-box input{font-size:11px;padding:8px 8px 8px 30px}.filters select{font-size:10px;padding:7px 7px;max-width:105px}.leads-grid{padding:6px 6px 9px}.compact-lead,.worker-lead{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}.compact-lead .lead-identity{padding:8px}.compact-lead .lead-cell{padding:8px 9px;font-size:10px}.compact-lead .lead-location{font-size:12px}.compact-lead .lead-owner{font-size:10px}.compact-label{font-size:9px}.compact-lead .lead-info-value,.lead-contact strong{font-size:11px}.admin-lead .lead-contact{border-right:1px solid var(--line)}.admin-lead .lead-notes{grid-column:1/-1}.admin-lead .lead-actions,.worker-lead .lead-actions{padding:7px 8px}.lead-actions .button{font-size:10px}.pagination{padding:10px 8px;font-size:10px}.pagination-buttons .button{font-size:10px;padding:3px 8px}.footer{margin-top:15px}}
/* Column guide and mobile card separation keep the compact layout scannable. */
.lead-table-head{display:grid;align-items:center;padding:7px 14px;border-bottom:1px solid var(--line);background:var(--surface-soft);color:var(--muted);font-size:9px;line-height:1.2}.lead-table-head.admin-head{grid-template-columns:minmax(235px,2.1fr) minmax(105px,.95fr) minmax(90px,.75fr) minmax(145px,1.1fr) minmax(145px,1.2fr) minmax(190px,1.5fr)}.lead-table-head.worker-head{grid-template-columns:minmax(245px,2.4fr) minmax(130px,1fr) minmax(100px,.8fr) minmax(200px,1.4fr)}.lead-table-head span{padding:0 10px}.compact-lead:nth-child(even){background:var(--surface-soft)}.compact-lead:nth-child(even):hover,.compact-lead:hover{background:var(--blue-soft)}.lead-actions{justify-content:center}.lead-actions .lead-tag{margin-right:auto}
@media(max-width:1200px){.lead-table-head.admin-head{grid-template-columns:minmax(205px,2fr) minmax(100px,.9fr) minmax(85px,.75fr) minmax(125px,1fr) minmax(125px,1.05fr) minmax(165px,1.35fr)}.lead-table-head.worker-head{grid-template-columns:minmax(215px,2.2fr) minmax(115px,1fr) minmax(90px,.8fr) minmax(175px,1.35fr)}}
@media(max-width:1100px){.lead-table-head{display:none}.compact-lead:nth-child(even){background:var(--surface)}.compact-lead:nth-child(even):hover,.compact-lead:hover{background:var(--surface-soft)}}
@media(max-width:700px){.compact-lead,.compact-lead:first-child,.compact-lead:last-child{border-radius:8px;border-bottom:1px solid var(--line);margin-bottom:7px}.compact-lead .lead-cell{background:transparent}.compact-lead .lead-actions{justify-content:flex-start}.lead-actions .lead-tag{margin-right:auto}}
/* Keep the desktop row truly one-line in the action column and align its identity block. */
@media(min-width:1101px){.lead-table-head.admin-head{grid-template-columns:minmax(220px,2fr) minmax(105px,.95fr) minmax(90px,.75fr) minmax(135px,1.05fr) minmax(130px,1fr) minmax(260px,1.8fr)}.compact-lead.admin-lead{grid-template-columns:minmax(220px,2fr) minmax(105px,.95fr) minmax(90px,.75fr) minmax(135px,1.05fr) minmax(130px,1fr) minmax(260px,1.8fr)}.lead-identity{display:grid;grid-template-columns:auto auto 1fr;align-items:center;column-gap:7px;row-gap:2px}.lead-identity .lead-location,.lead-identity .lead-owner{grid-column:1/-1}.lead-actions{flex-wrap:nowrap;white-space:nowrap;gap:7px}.lead-actions .lead-tag{margin-right:0}.lead-actions .button{flex:0 0 auto}.lead-actions .visibility{flex:0 0 auto}.compact-lead .lead-cell{padding-top:7px;padding-bottom:7px}}
.near-term{color:#d9363e!important;font-weight:750}.worker-contact{color:var(--primary);font-size:12px;font-weight:700;white-space:nowrap}.pill.failed{background:#fff0f0;color:#d9363e}html[data-theme=dark] .pill.failed{background:#45252a;color:#ff8993}html[data-theme=dark] .near-term{color:#ff8993!important}.nav{overflow-y:auto;min-height:0;padding-right:2px}
/* Centered lead rows and private contact display. */
.filters{flex-wrap:wrap}.filters .tabs{flex:1;justify-content:center;flex-wrap:wrap}.filters .search-box{flex:0 1 270px;margin-left:auto}.lead-table-head{text-align:center}.lead-table-head span{text-align:center}.compact-lead{min-height:88px}.compact-lead .lead-cell{align-items:center;justify-content:center;text-align:center;padding:12px 10px;gap:5px}.compact-lead .lead-identity{justify-items:center;align-content:center}.compact-lead .lead-location{justify-content:center;text-align:center;font-size:13px}.compact-lead .lead-owner{justify-content:center;white-space:normal;flex-wrap:wrap;line-height:1.45}.compact-lead .lead-owner time{margin-left:0}.compact-lead .lead-info-value,.lead-contact strong{font-size:12px}.compact-label{font-size:10px}.lead-actions{flex-wrap:wrap;white-space:normal;gap:7px}.lead-actions .lead-tag{margin:0}.contact-line,.worker-contact-wrap{display:flex;align-items:center;justify-content:center;gap:5px;min-width:0}.contact-value{font-variant-numeric:tabular-nums;letter-spacing:.3px;overflow-wrap:anywhere}.contact-toggle{width:27px;height:27px;min-width:27px;padding:4px;border:1px solid var(--line);border-radius:7px;background:var(--surface-soft);color:var(--muted);display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto}.contact-toggle:hover{color:var(--primary);border-color:var(--primary);background:var(--blue-soft)}.contact-toggle .icon{width:15px;height:15px}.pill.pending{background:#fff5df;color:#ad6a00}html[data-theme=dark] .pill.pending{background:#45371f;color:#f1c477}
@media(min-width:1101px){.compact-lead .lead-cell{padding-top:12px;padding-bottom:12px}.lead-actions{flex-wrap:wrap;white-space:normal}.lead-actions .lead-tag{margin:0}}
@media(max-width:700px){.filters .tabs{order:1;width:100%;flex-basis:100%;gap:5px}.filters .search-box{order:2;flex:1 1 100%;max-width:none;margin-left:0}.tab{flex:1 0 28%;padding:7px 4px}.compact-lead{min-height:0}.compact-lead .lead-cell{padding:11px 9px}.compact-lead .lead-identity{display:flex}.contact-toggle{width:25px;height:25px;min-width:25px}}
@media(min-width:1101px){.compact-lead .compact-label{display:none}}
.lead-notes small{display:none!important}
.filters .tabs{justify-content:flex-start!important}
.lead-tag{display:none!important}
.pill.pending{background:#fff4df;color:#ba861e}
.content-panel+.content-panel{margin-top:22px}
#content>.page-heading{margin-bottom:15px}
#content>.page-heading h1{font-size:23px}
#content>.page-heading p{font-size:11px}
#content>.page-heading .button{min-height:36px;padding:7px 14px}
#content>.content-panel{padding:17px 20px;border-radius:13px}
#content>.content-panel+.content-panel{margin-top:14px}
#content>.content-panel .api-banner{padding:14px 17px;margin-bottom:13px;border-radius:12px}
#content>.content-panel .api-banner h3{font-size:15px;margin-bottom:3px}
#content>.content-panel .api-banner p{font-size:11px}
#content>.content-panel .form-actions{margin-top:11px;margin-bottom:11px}
#content>.content-panel .file-drop{padding:21px 18px;border-radius:11px}
#content>.content-panel .file-drop .icon{width:29px;height:29px;margin-bottom:8px}
#content>.content-panel .file-drop p{font-size:11px;margin-bottom:10px}
#content>.content-panel .steps{gap:11px;margin-bottom:16px}
#content>.content-panel .step{padding:13px;border-radius:10px}
#content>.content-panel .step-number{height:23px;width:23px;margin-bottom:7px}
#content>.content-panel .step p{font-size:10px}
 .wechat-login-panel{border:1px solid var(--line);background:var(--surface-soft);border-radius:13px;padding:23px 18px 18px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:8px}.wechat-login-panel strong{font-size:14px}.wechat-login-panel span{font-size:11px;color:var(--muted)}.wechat-mark{width:48px;height:48px;border-radius:15px;background:#09b85b;color:#fff;display:grid;place-items:center;font-size:13px;font-weight:700;margin-bottom:4px}.wechat-login-panel .button{margin-top:10px}.code-input{display:flex;align-items:center;gap:9px}.code-input input{flex:1;min-width:0}.code-input span{font-size:10px;color:var(--muted);white-space:nowrap}
/* Phone app navigation is isolated from the existing desktop workspace. */
.app-tabbar,.app-back,.member-mobile{display:none}
@media(max-width:700px){
 body{font-size:14px}
 .shell{display:block;min-height:100dvh}
 .shell .sidebar,.shell .mobile-menu,.shell.menu-open:before{display:none}
 .main{width:100%;min-width:0}
 .shell .topbar{height:60px;padding:0 18px;position:sticky;top:0;z-index:30;background:var(--surface)}
 .breadcrumb{gap:6px;min-width:0}.breadcrumb>span,.breadcrumb>.icon{display:none}
 .breadcrumb strong{font-size:18px;font-weight:700;letter-spacing:.2px}
 .topbar-right{gap:0}.role-chip{font-size:10px;padding:4px 8px;border-radius:20px}
 .topbar-right .date-label,.topbar-right .live-badge{display:none}
 .app-back.show-back{display:inline-flex;min-height:40px;min-width:32px;margin-left:-8px}
 .app-back .icon{transform:rotate(180deg)}
 .shell .content{padding:18px 16px calc(94px + env(safe-area-inset-bottom));max-width:100%;min-width:0}
 .app-tabbar{position:fixed;inset:auto 0 0;z-index:50;background:var(--surface);border-top:1px solid var(--line);box-shadow:0 -4px 24px #162b4c06;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:7px 8px calc(7px + env(safe-area-inset-bottom));gap:4px}
 .app-tabbar button{min-width:0;min-height:55px;border:0;background:transparent;color:var(--muted);border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:11px;line-height:1.4;padding:5px 0;font-weight:500}
 .app-tabbar .icon{width:23px;height:23px;stroke-width:1.8}
 .app-tabbar button.active{color:var(--primary);background:var(--blue-soft);font-weight:700}
 .app-tabbar button.active .icon{stroke-width:2.1}
 .app-welcome{position:relative;isolation:isolate;overflow:hidden;background:var(--hero);color:#fff;border-radius:20px;padding:24px 21px;margin-bottom:16px;box-shadow:0 10px 22px #3268f518}
 .app-welcome:after{content:'';position:absolute;z-index:-1;right:-75px;bottom:-150px;width:270px;height:270px;border-radius:50%;border:1px solid #ffffff20;box-shadow:0 0 0 30px #ffffff06,0 0 0 60px #ffffff05}
 .app-eyebrow{font-size:11px;letter-spacing:1px;opacity:.8;margin-bottom:10px}
 .app-welcome h1{font-size:23px;line-height:1.5;margin:0 0 9px;overflow-wrap:anywhere;padding-right:15px;letter-spacing:0}
 .app-welcome p{font-size:12px;line-height:1.9;opacity:.86;margin:0;max-width:85%;overflow-wrap:anywhere}
 .app-hero-button{margin-top:21px;background:#fff;color:#285fe3;min-height:42px;font-size:12px;padding:9px 15px;border-radius:11px}
 .app-hero-button:hover{background:#edf3ff;color:#285fe3}
 .app-welcome-art{position:absolute;right:18px;bottom:22px;opacity:.24;transform:rotate(-12deg);pointer-events:none}
 .app-welcome-art .icon{width:68px;height:68px;stroke-width:1}
 .app-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:16px 6px;background:var(--surface);border:1px solid var(--line);border-radius:16px;margin-bottom:25px}
 .app-metric{display:flex;flex-direction:column;align-items:center;gap:3px;min-width:0;padding:0 7px}
 .app-metric+.app-metric{border-left:1px solid var(--line)}
 .app-metric>.icon{width:17px;height:17px;color:var(--primary);margin-bottom:3px}
 .app-metric strong{font-size:24px;line-height:1.3;font-weight:700}
 .app-metric span{font-size:11px;color:var(--muted);text-align:center}
 .app-section-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:23px 1px 12px}
 .app-section-title h2{font-size:16px;line-height:1.5;margin:0;font-weight:700}
 .app-section-title>span{font-size:10px;color:var(--muted)}
 .app-section-title .link-button{font-size:11px;padding:0;min-height:32px;display:flex;gap:2px;align-items:center}
 .app-section-title .icon{width:14px;height:14px}
 .app-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:17px 4px;gap:2px}
 .app-shortcuts button{border:0;background:transparent;display:flex;flex-direction:column;align-items:center;padding:0 2px;gap:5px;min-width:0;color:var(--text)}
 .app-shortcuts button>.icon{width:42px;height:42px;border-radius:13px;background:var(--blue-soft);color:var(--primary);padding:10px;margin-bottom:3px}
 .app-shortcuts button:nth-child(2)>.icon{background:#0ca87d12;color:#0ca87d}
 .app-shortcuts button:nth-child(3)>.icon{background:#b28bfc14;color:#9370db}
 .app-shortcuts button:nth-child(4)>.icon{background:#dc9d3114;color:#c38b2a}
 .app-shortcuts strong{font-size:11px;font-weight:600}.app-shortcuts small{font-size:9px;color:var(--muted);letter-spacing:0}
 .app-home-leads .lead-card{margin-bottom:12px}
 .app-home-leads .lead-card:last-child{margin-bottom:0}
 .app-endnote{color:var(--muted);font-size:10px;display:flex;align-items:center;justify-content:center;gap:6px;text-align:center;margin-top:25px}
 .app-endnote .icon{width:13px;height:13px}
 .app-profile-card{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:23px 17px;display:flex;align-items:center;gap:13px;margin-bottom:16px}
 .app-avatar{flex-shrink:0;width:56px;height:56px;display:grid;place-items:center;background:var(--blue-soft);color:var(--primary);border-radius:18px;font-size:24px;font-weight:700}
 .app-avatar>.icon{width:30px;height:30px}.app-profile-card>div:nth-child(2){flex:1;min-width:0}
 .app-profile-card h1{font-size:18px;margin:0 0 4px;overflow-wrap:anywhere;line-height:1.5}
 .app-profile-card p{font-size:11px;margin:0;color:var(--muted)}.app-profile-card small{font-size:11px;color:var(--muted)}
 .app-profile-card>.icon{color:var(--primary);width:22px}.app-profile-card>.button{font-size:11px;min-height:39px;padding:8px 11px}
 .app-profile-stats{display:flex;background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:18px 5px;justify-content:space-around;margin-bottom:25px;font-size:12px;color:var(--muted)}
 .app-profile-stats>button{flex:1;min-width:0;border:0;background:transparent;display:flex;flex-direction:column;align-items:center;gap:5px;color:var(--text);padding:0 2px;min-height:44px}
 .app-profile-stats>button+button{border-left:1px solid var(--line)}
 .app-profile-stats strong{font-size:23px;line-height:1.3;color:var(--text)}.app-profile-stats span{font-size:11px;color:var(--muted)}
 .app-link-group{border:1px solid var(--line);border-radius:16px;background:var(--surface);overflow:hidden}
 .app-link{width:100%;min-height:74px;display:flex;align-items:center;gap:12px;padding:15px;border:0;background:transparent;color:var(--text);text-align:left}
 .app-link+.app-link{border-top:1px solid var(--line)}.app-link:hover{background:var(--surface-soft)}
 .app-link-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;background:var(--blue-soft);color:var(--primary);flex-shrink:0}
 .app-link-icon .icon{width:19px;height:19px}.app-link>span:nth-child(2){flex:1;min-width:0}
 .app-link strong{display:block;font-size:13px;font-weight:600}.app-link small{display:block;color:var(--muted);font-size:10px;margin-top:3px;overflow-wrap:anywhere}
 .app-link>.icon{color:var(--muted);width:16px;height:16px}
 .app-logout{margin-top:22px;width:100%;padding:13px;border-radius:13px;border:1px solid var(--line);background:var(--surface);color:var(--danger);font-size:13px;min-height:46px}
 .app-ranking-hero{text-align:center;padding:23px 12px 28px;border-radius:20px;color:var(--text);background:linear-gradient(135deg,var(--surface),var(--blue-soft));border:1px solid var(--line);margin-bottom:16px}
 .app-ranking-hero>.icon{width:49px;height:49px;color:#dba636;margin:0 0 14px;stroke-width:1.6}
 .app-ranking-hero .app-eyebrow{color:var(--muted);font-size:10px;margin-bottom:7px}
 .app-ranking-hero h1{font-size:25px;margin:0 0 10px;letter-spacing:1px}.app-ranking-hero p{font-size:11px;margin:0 0 4px}.app-ranking-hero>small{font-size:10px;color:var(--muted)}
 .app-rank-list{background:var(--surface);border:1px solid var(--line);border-radius:16px;overflow:hidden}
 .app-rank-head{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);padding:14px 17px;background:var(--surface-soft)}
 .app-rank-row{display:flex;align-items:center;gap:13px;padding:16px;border-top:1px solid var(--line)}.app-rank-row.is-me{background:var(--blue-soft)}
 .app-rank-number{font-size:15px;width:25px;text-align:center;font-weight:700;color:var(--muted);flex-shrink:0}
 .app-rank-number.rank-1,.app-rank-number.rank-2,.app-rank-number.rank-3{width:28px;height:31px;border-radius:8px;background:#dba63619;color:#c98c1b;display:grid;place-items:center}
 .app-rank-number.rank-2{color:#8b9fb4;background:#8b9fb417}.app-rank-number.rank-3{color:#ba845f;background:#ba845f17}
 .app-rank-name{flex:1;min-width:0}.app-rank-name strong{font-size:13px;overflow-wrap:anywhere}.app-rank-name small{font-size:9px;padding:2px 5px;border-radius:4px;background:var(--primary);color:#fff;margin-left:6px;white-space:nowrap}
 .app-rank-score{text-align:right;flex-shrink:0}.app-rank-score strong{display:block;font-size:20px;color:var(--primary);line-height:1.4}.app-rank-score small{font-size:10px;color:var(--muted);font-weight:400}.app-rank-score>span{font-size:10px;color:var(--muted)}
 .app-empty{text-align:center;display:flex;align-items:center;flex-direction:column;gap:10px;padding:40px 16px;color:var(--muted);font-size:12px;background:var(--surface);border-radius:16px}
 .app-empty>.icon{width:34px;height:34px;color:var(--primary);opacity:.6}.app-empty strong{font-size:14px;color:var(--text)}.app-empty p{margin:0;font-size:11px}
 .page-heading h1{font-size:20px}.page-heading .button{min-height:40px;font-size:12px}.page-heading{gap:8px}
 .shell[data-page="leads"] .hero,.shell[data-page="mine"] .hero{display:none}
 .stats-grid{gap:9px;margin-bottom:20px}.stat-card{border-radius:13px;padding:13px 12px}.stat-label{font-size:11px}.stat-number{font-size:25px}.stat-note{font-size:9px}
 .filters{padding:12px;gap:12px}.filters .tabs{flex-wrap:nowrap;overflow-x:auto;flex-basis:auto;max-width:100%;padding-bottom:3px;scrollbar-width:none;gap:5px}.filters .tabs::-webkit-scrollbar{display:none}
 .filters .tab{flex:0 0 auto;min-height:37px;padding:8px 12px;font-size:12px;white-space:nowrap}
 .filters .search-box{min-width:0}.filters .search-box input{font-size:13px;min-height:42px;padding-left:34px}
 .list-meta{padding:13px 12px;font-size:10px}.leads-grid{display:block;padding:0 9px 9px}
 .compact-lead,.compact-lead:first-child,.compact-lead:last-child{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);border:1px solid var(--line);border-radius:15px;margin:0 0 12px;overflow:hidden;background:var(--surface)}
 .compact-lead .lead-identity{grid-column:1/-1;display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:flex-start;text-align:left;gap:6px 9px;padding:15px 14px 12px;border-bottom:1px solid var(--line)}
 .compact-lead .lead-code{font-size:10px}.compact-lead .lead-identity>.pill{margin-left:auto;font-size:10px;max-width:100%;white-space:normal}
 .compact-lead .lead-location{flex-basis:100%;font-size:16px;margin:4px 0;line-height:1.6;min-height:0;justify-content:flex-start;text-align:left}.compact-lead .lead-location .icon{width:17px;height:17px;margin-top:4px}
 .compact-lead .lead-owner{flex-basis:100%;font-size:11px;gap:5px;flex-wrap:wrap}.compact-lead .lead-owner time{font-size:9px;margin-left:auto;white-space:normal}
 .compact-lead .lead-cell{padding:12px 14px;min-width:0;font-size:12px;overflow-wrap:anywhere}.compact-lead .compact-label{font-size:10px;display:block;margin-bottom:4px}.compact-lead .lead-info-value{font-size:13px}
 .compact-lead .lead-notes{grid-column:1/-1;display:block}.compact-lead .lead-notes .compact-label{margin-bottom:4px}
 .compact-lead .lead-actions{grid-column:1/-1;display:flex;flex-direction:row;align-items:center;gap:9px;flex-wrap:wrap;padding:12px 14px;background:var(--surface-soft);border-top:1px solid var(--line);border-right:0}
 .lead-actions .lead-tag{margin-right:auto;font-size:10px}.lead-actions .button{min-height:40px;font-size:12px;padding:8px 12px;border-radius:10px}.lead-actions .visibility{min-height:36px;font-size:11px}
 .lead-contact strong{font-size:13px}.contact-toggle{min-height:36px;min-width:36px}.contact-toggle .icon{width:17px}
 .pagination{padding:12px;flex-wrap:wrap;font-size:10px}.pagination-buttons .button{min-height:38px;padding:7px 12px;font-size:11px}
 .member-desktop{display:none}.member-mobile{display:grid;gap:13px}.shell[data-page="users"] #user-list{border:0;background:transparent;box-shadow:none}
 .member-card{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:17px}
 .member-card-heading{display:flex;align-items:center;gap:11px}.member-card-heading>div:nth-child(2){flex:1;min-width:0}.member-card-heading strong{font-size:14px;overflow-wrap:anywhere;display:block}.member-card-heading span:not(.pill){font-size:10px;color:var(--muted);display:block}.member-card-heading .pill{font-size:10px}
 .member-details{display:grid;grid-template-columns:80px minmax(0,1fr);gap:7px 12px;font-size:12px;margin:17px 0 0}.member-details>span{color:var(--muted)}.member-details>strong{font-size:12px;font-weight:500;overflow-wrap:anywhere;text-align:right}
 .member-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:16px;border-top:1px solid var(--line);padding-top:14px}.member-actions .button{min-height:39px;padding:8px 13px}.member-protected{color:var(--muted);font-size:10px;text-align:right;border-top:1px solid var(--line);padding-top:12px;margin-top:15px}
 .content-panel{padding:18px}.form-grid{grid-template-columns:1fr}.form-field.full{grid-column:auto}.form-field input,.form-field textarea,.form-field select{font-size:16px}.form-actions{flex-wrap:wrap}.form-actions .button{min-height:42px}
 .settings-grid{grid-template-columns:1fr}.api-banner{padding:14px;gap:11px}.api-banner h3{font-size:14px}.api-banner p{font-size:11px}.file-drop{padding:23px 13px}.code-box{max-width:100%}
 .modal-overlay{padding:14px}.modal{max-height:calc(100dvh - 28px);border-radius:18px}.modal-header{padding:21px 19px 0}.modal-header h2{font-size:19px}.modal-body{padding:20px 19px}.modal-close{min-height:36px;min-width:36px;align-items:center;justify-content:center}
 .footer{font-size:9px;margin-top:23px}.table-wrap{max-width:100%}
}
@media(max-width:350px){
 .shell .content{padding-left:12px;padding-right:12px}.shell .topbar{padding:0 14px}.app-welcome{padding:22px 17px}.app-welcome h1{font-size:21px}.app-shortcuts small{font-size:8px}.app-profile-card{gap:10px;padding:20px 12px}.app-avatar{width:46px;height:46px;border-radius:15px}.app-profile-card h1{font-size:16px}.app-profile-card>.button{padding:7px 9px;font-size:10px}.app-rank-row{gap:10px;padding:14px 12px}
}
/* Worker mobile uses the bottom four-tab navigation as its only app navigation. */
@media(max-width:700px){
 .shell[data-role="worker"] .app-back{display:none!important}
 .shell[data-role="worker"] .stats-grid,.shell[data-role="worker"] .hero{display:none!important}
 .shell[data-role="worker"] .recent-filter{display:none!important}
 .shell[data-role="worker"][data-page="profile"] .app-profile-stats{display:none!important}
 .shell[data-role="worker"][data-page="profile"] [data-go="mine"],.shell[data-role="worker"][data-page="profile"] [data-go="ranking"]{display:none!important}
 .shell[data-role="worker"] .exit-confirm{text-align:center}
 .shell[data-role="worker"] .exit-confirm .form-actions{justify-content:center}
 .shell[data-role="worker"] .contact-action{min-height:38px;padding:8px 11px;font-size:11px}
}
/* Worker hall: retain the desktop workspace and expose customer details. */
.recent-filter{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--muted);white-space:nowrap;cursor:pointer}.recent-filter input{accent-color:var(--primary);width:16px;height:16px;margin:0}
.filters{flex-wrap:wrap}.page-jump{display:flex;align-items:center;gap:8px}.page-jump input{width:65px;min-height:36px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--text);text-align:center;padding:5px}.pagination{flex-wrap:wrap;gap:12px}
.worker-public-info{display:flex;flex-direction:column;gap:4px;color:var(--muted);font-size:11px;overflow-wrap:anywhere;white-space:normal;text-align:left;width:100%}
.worker-public-notes{grid-column:1/-1;padding:12px 18px;border-top:1px solid var(--line);line-height:1.7;font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere;background:var(--surface)}
.worker-public-notes .compact-label{display:block;color:var(--muted);margin-bottom:3px}.worker-lead .lead-owner b{white-space:normal;overflow:visible;text-overflow:clip}.worker-lead .lead-owner{flex-wrap:wrap}
.worker-lead .lead-actions{flex-direction:row;flex-wrap:wrap;justify-content:flex-end;gap:10px}.worker-lead .lead-actions>.lead-tag{flex-basis:100%;justify-content:flex-end;margin:0}.worker-lead .worker-contact-wrap{display:block;margin:0;text-align:left}.worker-contact-wrap .compact-label{display:block;font-size:10px;color:var(--muted);margin-bottom:3px}.worker-lead .worker-contact{font-size:13px;white-space:nowrap}
.shell[data-page="profile"] .app-profile-card,.shell[data-page="profile"] .app-link-group{max-width:900px}.shell[data-page="ranking"] .app-rank-list{max-width:900px}
@media(min-width:701px){.shell[data-page="profile"] .app-profile-card{display:flex;align-items:center;gap:20px;padding:28px;background:var(--surface);border:1px solid var(--line);border-radius:18px}.shell[data-page="profile"] .app-profile-card h1{font-size:24px}.shell[data-page="profile"] .app-profile-stats{display:flex;gap:12px;margin:20px 0}.shell[data-page="profile"] .app-profile-stats button{padding:15px 25px;background:var(--surface);border:1px solid var(--line);border-radius:12px;color:var(--text)}.shell[data-page="profile"] .app-profile-stats strong{display:block;font-size:22px}.app-link-group .app-link{width:100%;display:flex;align-items:center;gap:18px;text-align:left;padding:20px;border:1px solid var(--line);background:var(--surface);color:var(--text)}.app-link strong,.app-link small{display:block}.app-link small{color:var(--muted);margin-top:5px}.app-rank-row{display:flex;gap:20px;align-items:center;padding:20px;border-bottom:1px solid var(--line)}.app-rank-name{flex:1}.app-rank-score>span{display:block}.app-rank-head{display:flex;justify-content:space-between;padding:20px}.app-rank-list{background:var(--surface);border:1px solid var(--line);border-radius:18px}.app-ranking-hero{margin-bottom:25px}.app-ranking-hero>.icon{width:36px;height:36px}}
@media(max-width:700px){.recent-filter{font-size:11px;margin:0 0 4px}.filters .tabs{width:100%}.shell[data-page="leads"] .tabs [data-bucket]{flex:1;min-width:100px;justify-content:center}.worker-lead .worker-public-info{flex-basis:100%;font-size:11px;line-height:1.6}.worker-lead .lead-actions{flex-wrap:wrap;gap:10px;padding:12px}.worker-lead .lead-actions>.lead-tag{display:none}.worker-lead .worker-contact-wrap{margin-right:auto}.worker-lead .lead-actions .button{padding:8px 10px;font-size:11px}.worker-public-notes{padding:12px 14px}.page-jump input{min-height:38px;font-size:16px}.page-jump{margin-left:auto}.app-back.show-back{width:auto;min-width:38px;font-size:12px;padding:6px;color:var(--text)}}
.app-profile-card small{display:block;line-height:1.8}
.exit-actions{justify-content:center!important;width:100%;gap:12px}.exit-actions .button{min-width:106px}
.worker-profile-details{margin:18px 0;padding:18px}.worker-profile-details .section-heading{margin:0 0 18px;align-items:center;gap:12px}.worker-profile-details .section-heading h2{font-size:16px}.worker-profile-details dl{margin:0;display:grid;grid-template-columns:1fr;gap:6px}.worker-profile-details dt{font-size:11px;color:var(--muted);margin-top:10px}.worker-profile-details dd{font-size:14px;margin:0;overflow-wrap:anywhere;white-space:pre-wrap;line-height:1.7}.worker-profile-details p{margin:20px 0 0;line-height:1.7}
@media(max-width:700px){.shell[data-role="worker"] #home-metrics{display:none}.worker-profile-details{border-radius:16px}.worker-lead .lead-actions .contact-action{white-space:normal;max-width:100%;text-align:center}.exit-actions{justify-content:center!important}.exit-actions .button{flex:0 1 auto}}
/* Admin request alerts are handled in the pending order list. */
.shell[data-role="admin"] .topbar-right .date-label,
.shell[data-role="admin"] .topbar-right .live-badge,
.shell[data-role="admin"] .sidebar .help-card{display:none}
.lead-card.request-flash{animation:order-request-pulse 1.4s ease-in-out infinite;position:relative;z-index:1}
@keyframes order-request-pulse{0%,100%{background-color:#fffaf0;box-shadow:inset 0 0 0 2px #f5bf53}50%{background-color:#ffedb5;box-shadow:inset 0 0 0 3px #e7a528,0 0 16px #f5bf5340}}
@media(prefers-reduced-motion:reduce){.lead-card.request-flash{animation:none;background:#fff1c6;box-shadow:inset 0 0 0 3px #e7a528}}

.worker-quotes{display:grid;gap:20px}.quote-group h3,.quote-notes h3{font-size:15px;line-height:1.6;margin:0 0 10px;color:var(--text)}
.quote-group dl{margin:0;border:1px solid var(--line);border-radius:12px;overflow:hidden}.quote-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:12px 14px;align-items:center}.quote-row+.quote-row{border-top:1px solid var(--line)}.quote-row:nth-child(even){background:var(--bg)}.quote-row dt{font-size:13px;line-height:1.6;overflow-wrap:anywhere}.quote-row dd{margin:0;color:var(--primary);font-size:14px;font-weight:700;white-space:nowrap}.quote-notes{padding:14px;border-radius:12px;background:var(--bg)}.quote-notes p{font-size:13px;line-height:1.8;margin:6px 0;color:var(--text)}
@media(max-width:700px){.quote-row{padding:11px 10px;gap:10px}.quote-row dt{font-size:12px}.quote-row dd{font-size:13px}}

.quote-fields{border:1px solid var(--line);border-radius:12px;overflow:hidden}.quote-edit-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;padding:12px 14px}.quote-edit-row+.quote-edit-row{border-top:1px solid var(--line)}.quote-edit-row:nth-child(even){background:var(--bg)}.quote-edit-row>label{font-size:13px;line-height:1.7;overflow-wrap:anywhere}.quote-price-input{display:flex;align-items:center;gap:8px;white-space:nowrap;font-size:12px}.quote-price-input input{width:100px;min-height:40px;padding:8px;text-align:right;font-size:16px}.quote-price-input span{min-width:34px;color:var(--muted)}.quote-save-actions{position:sticky;bottom:-1px;background:var(--surface,#fff);padding:14px 0;margin-bottom:0;border-top:1px solid var(--line);z-index:2}.quote-save-actions .button{width:100%}.quote-save-status{line-height:1.8;margin:0 0 16px}
@media(max-width:700px){.quote-edit-row{padding:10px;gap:8px}.quote-edit-row>label{font-size:12px}.quote-price-input{gap:5px}.quote-price-input input{width:86px}.quote-price-input span{min-width:30px}}

/* Keep all customer contact actions in the same column, independent of their labels. */
.worker-lead .lead-actions{display:grid;grid-template-columns:minmax(0,1fr) 140px;align-items:center;column-gap:10px;row-gap:10px}
.worker-lead .lead-actions>.lead-tag,.worker-lead .lead-actions>[data-worker-edit]{grid-column:1/-1;justify-self:end}
.worker-lead .lead-actions>.worker-contact-wrap{grid-column:1;justify-self:start;margin:0;max-width:100%;min-width:0}
.worker-lead .lead-actions>.contact-action,.worker-lead .lead-actions>[data-claim]{grid-column:2;justify-self:stretch;box-sizing:border-box;width:100%;min-width:0;min-height:40px;margin:0;padding:8px 10px;font-size:11px;line-height:1.4;gap:6px;white-space:nowrap}
.worker-lead .lead-actions>.contact-action .icon{width:16px;height:16px;margin:0;flex:0 0 16px}
.worker-lead .worker-contact{white-space:normal;overflow-wrap:anywhere}
#toast.toast-center{top:50%;left:50%;transform:translate(-50%,-50%);text-align:center;line-height:1.7;max-width:min(360px,86vw);width:max-content;padding:14px 22px}
#toast.toast-center.visible{transform:translate(-50%,-50%)}
@media(max-width:360px){.worker-lead .lead-actions{grid-template-columns:minmax(0,1fr) 132px;column-gap:8px}.worker-lead .worker-contact{font-size:12px}}

.worker-detail-modal{max-width:760px}.worker-detail-section+.worker-detail-section{margin-top:26px;padding-top:22px;border-top:1px solid var(--line)}.worker-detail-section>h3{margin:0 0 14px;font-size:16px}.worker-detail-section>h3 small{color:var(--muted);font-size:12px;font-weight:400}.worker-detail-fields{display:grid;grid-template-columns:138px minmax(0,1fr);gap:10px 16px;margin:0;font-size:13px;line-height:1.8}.worker-detail-fields dt{color:var(--muted)}.worker-detail-fields dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.worker-detail-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.worker-detail-stats>div{display:grid;gap:4px;text-align:center;background:var(--surface-soft);border:1px solid var(--line);border-radius:10px;padding:12px}.worker-detail-stats strong{font-size:22px;color:var(--primary)}.worker-detail-stats span{font-size:12px;color:var(--muted)}.worker-history-card{padding:16px;border:1px solid var(--line);border-radius:12px;margin-top:12px}.worker-history-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px;flex-wrap:wrap}.worker-history-heading strong{font-size:13px}.worker-history-pagination{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-top:16px;flex-wrap:wrap}.worker-history-pagination>span{font-size:12px;color:var(--muted);margin-right:auto}.member-actions{flex-wrap:wrap}
@media(max-width:700px){.worker-detail-fields{grid-template-columns:108px minmax(0,1fr);gap:8px 10px;font-size:12px}.worker-history-card{padding:12px}.worker-detail-stats{gap:7px}.worker-detail-stats>div{padding:10px 6px}.worker-detail-modal .quote-row{gap:8px}}

.distance-sort{display:flex;gap:8px;align-items:center;font-size:12px;color:var(--muted)}.distance-sort select{min-height:38px;max-width:190px}.distance-list-hint{font-size:11px;color:var(--muted);line-height:1.7;margin:12px 20px 0}.order-distance{display:flex;align-items:center;justify-content:center;gap:4px;font-size:11px;color:var(--primary);grid-column:1/-1;line-height:1.6}.order-distance .icon{width:13px;height:13px}.map-config-check{display:flex;gap:8px;align-items:center;font-size:12px;margin:14px 0}.map-config-check input{width:auto;min-height:auto}#map-settings-form .form-field{margin-top:16px}
@media(max-width:700px){.distance-sort{width:100%;justify-content:space-between;font-size:11px}.distance-sort select{max-width:210px;flex:1}.distance-list-hint{margin:10px 12px 0;font-size:10px}.order-distance{justify-content:flex-start;font-size:11px}}

.member-desktop table{min-width:1080px}.member-desktop .member-residence{min-width:180px;max-width:300px;white-space:normal;overflow-wrap:anywhere;line-height:1.7}.member-desktop td:last-child{min-width:190px}

.worker-lead .lead-actions>.worker-public-notes{grid-column:1/-1;width:100%;min-width:0;box-sizing:border-box;padding:0 0 8px;border-top:0;border-bottom:1px solid var(--line);background:transparent;text-align:left;justify-self:stretch}

.worker-order-metrics,.member-order-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.worker-order-metrics>div,.member-order-metrics>div{min-width:0;display:flex;flex-direction:column;gap:5px;padding:12px;background:var(--surface-soft);border:1px solid var(--line);border-radius:10px}
.worker-order-metrics span,.member-order-metrics span{font-size:11px;color:var(--muted)}.worker-order-metrics strong,.member-order-metrics strong{font-size:17px;color:var(--primary);overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
#accepted-order-stats{margin:14px;padding:14px;border:1px solid var(--line);border-radius:12px}#accepted-order-stats[hidden]{display:none}#accepted-order-stats>p{margin:10px 0 0;font-size:10px;line-height:1.6}
.order-amount-label{margin-top:6px}.order-amount{font-size:12px;color:var(--primary);overflow-wrap:anywhere}
.member-summary-table{min-width:1120px!important;table-layout:fixed;width:100%}.member-summary-table th,.member-summary-table td{padding:12px 8px}.member-summary-table th:nth-child(1){width:11%}.member-summary-table th:nth-child(2){width:5%}.member-summary-table th:nth-child(3){width:10%}.member-summary-table th:nth-child(4){width:17%}.member-summary-table th:nth-child(5){width:10%}.member-summary-table th:nth-child(6){width:26%}.member-summary-table th:nth-child(7){width:7%}.member-summary-table th:nth-child(8){width:14%}.member-summary-table .member-residence{min-width:0;max-width:none}.member-account{display:block;font-size:10px;color:var(--muted);margin-top:4px;max-width:150px;overflow-wrap:anywhere;white-space:normal}.member-order-metrics{gap:6px}.member-order-metrics>div{padding:8px;border-radius:7px}.member-order-metrics strong{font-size:13px}.member-summary-actions{display:flex;flex-wrap:wrap;gap:5px;max-width:160px}.member-summary-table td:last-child{min-width:0!important}
.quote-image-preview{display:flex;align-items:center;flex-direction:column;gap:16px}.quote-image-preview img{display:block;width:100%;height:auto;border:1px solid var(--line);border-radius:8px;-webkit-touch-callout:default;user-select:auto}.quote-save-actions{flex-wrap:wrap}.quote-save-actions .button{flex:1;min-width:130px}
@media(max-width:700px){#accepted-order-stats{margin:12px;padding:10px}.worker-order-metrics{gap:7px}.worker-order-metrics>div{padding:10px 7px}.worker-order-metrics strong{font-size:15px}.member-card>.member-order-metrics{margin:14px 0}.member-order-metrics strong{font-size:14px}.member-details strong{overflow-wrap:anywhere;min-width:0}.member-details{grid-template-columns:minmax(90px,0.8fr) minmax(0,1.3fr)}.member-order-metrics{gap:7px}.worker-detail-fields dd{overflow-wrap:anywhere}}

/* Keep full order notes inside their own cell at every viewport width. */
.compact-lead .lead-notes>span:not(.compact-label){display:block;box-sizing:border-box;width:100%;max-width:100%;min-width:0;white-space:pre-wrap;overflow-wrap:anywhere;word-break:normal;overflow:visible;text-overflow:clip}

/* Member phone visibility controls. */
.member-phone,.member-phone-heading{display:inline-flex;align-items:center;gap:5px;max-width:100%;flex-wrap:wrap}.member-phone-value{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;min-width:0}.member-phone .contact-toggle,.member-phone-heading .contact-toggle{width:25px;height:25px;min-width:25px}.member-phone .contact-toggle[aria-pressed="true"],.member-phone-heading .contact-toggle[aria-pressed="true"]{color:var(--primary);background:var(--blue-soft)}

/* Current assignee date follows contact information in administrator orders. */
.claim-date-value{display:flex;flex-direction:column;align-items:center;gap:3px;max-width:100%;font-size:11px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.claim-date-value small{font-size:10px;color:var(--muted)}
@media(min-width:1101px){.lead-table-head.admin-head,.compact-lead.has-claim-date{grid-template-columns:minmax(0,1.8fr) minmax(0,.95fr) minmax(0,.7fr) minmax(0,1.05fr) minmax(0,.95fr) minmax(0,1.1fr) minmax(0,1.75fr)}.has-claim-date .lead-cell{padding-left:8px;padding-right:8px}.has-claim-date .contact-line{max-width:100%;flex-wrap:wrap}}
@media(min-width:701px) and (max-width:1100px){.has-claim-date .lead-claim-date{grid-column:1/-1;border-right:0;border-top:1px solid var(--line)}}
@media(max-width:700px){.has-claim-date .lead-claim-date{border-right:0}.claim-date-value{font-size:12px}}

.member-search-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 16px}.member-search-toolbar .search-box{flex:0 1 420px;min-width:0}.member-search-toolbar [role="status"]{font-size:12px;color:var(--muted)}#member-search-empty[hidden],[data-member-row][hidden]{display:none!important}@media(max-width:700px){.member-search-toolbar{gap:8px;margin-bottom:12px}.member-search-toolbar .search-box{flex:1;min-width:0}.member-search-toolbar input{font-size:13px;min-height:42px}.member-search-toolbar [role="status"]{flex-basis:100%;font-size:11px}}

.worker-filter{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted);min-width:0}.worker-filter[hidden]{display:none}.worker-filter select{min-height:38px;width:190px;max-width:100%}.worker-copy{font-family:inherit;border:1px solid transparent;cursor:pointer;text-align:left}.worker-copy:hover{filter:brightness(.94)}.worker-copy:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
@media(max-width:700px){.worker-filter{width:100%;justify-content:space-between;font-size:11px}.worker-filter select{max-width:210px;flex:1;min-width:0}}

.shell[data-role="admin"] .filters .distance-sort{display:none!important}

.place-filter{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted);min-width:0}.place-filter select{min-height:38px;width:190px;max-width:100%}.place-filter[hidden]{display:none}@media(max-width:700px){.place-filter{width:100%;justify-content:space-between;font-size:11px}.place-filter select{max-width:210px;flex:1;min-width:0}}

/* Worker waiting-order location filter belongs below the search row. */
.shell[data-role="worker"] .filters .place-filter{flex:0 0 100%;width:100%;min-width:0;order:3}

/* Worker distance sorting follows the construction location filter. */
.shell[data-role="worker"] .filters .distance-sort{flex:0 0 100%;width:100%;min-width:0;order:4}

.sms-code-row{display:flex;gap:10px;align-items:center}.sms-code-row input{min-width:0;flex:1}.sms-code-row .button{white-space:nowrap;flex-shrink:0}.sms-verification[hidden]{display:none}

/* Worker H5 presentation, shared with the existing phone interface. */
body[data-worker-h5] .auth-page{grid-template-columns:1fr}
body[data-worker-h5] .auth-art{display:none}
body[data-worker-h5] .auth-right{min-height:100dvh;padding:28px 22px}
body[data-worker-h5] .shell{display:block}
body[data-worker-h5] .sidebar{transform:translateX(-100%);transition:transform .2s;width:228px;box-shadow:20px 0 60px #0002}
body[data-worker-h5] .shell.menu-open .sidebar{transform:translateX(0)}
body[data-worker-h5] .shell.menu-open:before{content:'';position:fixed;inset:0;background:#0006;z-index:19}
body[data-worker-h5] .main{width:100%}
body[data-worker-h5] .topbar{height:65px;padding:0 17px}
body[data-worker-h5] .mobile-menu{display:flex}
body[data-worker-h5] .breadcrumb{gap:8px}
body[data-worker-h5] .topbar-right{gap:10px}
body[data-worker-h5] .topbar-right .live-badge{display:none}
body[data-worker-h5] .content{padding:23px 16px}
body[data-worker-h5] .page-heading{align-items:flex-start;margin-bottom:19px}
body[data-worker-h5] .page-heading h1{font-size:22px}
body[data-worker-h5] .page-heading p{font-size:11px;max-width:235px}
body[data-worker-h5] .heading-actions{justify-content:flex-end;gap:5px}
body[data-worker-h5] .heading-actions .button{padding:7px 10px;font-size:11px;min-height:35px}
body[data-worker-h5] .heading-actions .button .icon{width:15px;height:15px}
body[data-worker-h5] .hero{padding:22px;min-height:174px;margin-bottom:19px;border-radius:13px}
body[data-worker-h5] .hero-text{max-width:100%}
body[data-worker-h5] .hero h2{font-size:21px}
body[data-worker-h5] .hero p{font-size:11px}
body[data-worker-h5] .hero-art{display:none}
body[data-worker-h5] .hero-tag{margin-top:13px}
body[data-worker-h5] .stats-grid{gap:11px;margin-bottom:23px}
body[data-worker-h5] .stat-card{padding:15px;border-radius:11px}
body[data-worker-h5] .stat-number{font-size:27px}
body[data-worker-h5] .stat-label{font-size:11px}
body[data-worker-h5] .stat-note{font-size:9px;margin-top:8px}
body[data-worker-h5] .stat-icon{width:31px;height:31px;border-radius:9px}
body[data-worker-h5] .stat-icon .icon{width:17px;height:17px}
body[data-worker-h5] .filters{padding:13px;gap:11px}
body[data-worker-h5] .tabs{width:100%;margin-right:0}
body[data-worker-h5] .tab{flex:1;padding:7px}
body[data-worker-h5] .search-box{flex:1;min-width:150px}
body[data-worker-h5] .search-box input{width:100%}
body[data-worker-h5] .filters select{max-width:120px}
body[data-worker-h5] .leads-grid{grid-template-columns:1fr;padding:15px 13px;gap:13px}
body[data-worker-h5] .lead-card-body{padding:18px}
body[data-worker-h5] .lead-location{font-size:17px}
body[data-worker-h5] .lead-info-grid{padding:13px}
body[data-worker-h5] .lead-info-value{font-size:13px}
body[data-worker-h5] .lead-card-footer{padding:12px 18px}
body[data-worker-h5] .lead-card-footer .button{padding:7px 15px;font-size:12px}
body[data-worker-h5] .lead-owner{font-size:12px}
body[data-worker-h5] .list-meta{padding-left:14px;padding-right:14px}
body[data-worker-h5] .section-heading span{font-size:10px}
body[data-worker-h5] .section-heading h2{font-size:15px}
body[data-worker-h5] .pagination{padding:15px 13px;align-items:flex-start}
body[data-worker-h5] .pagination-buttons{gap:5px}
body[data-worker-h5] .footer{flex-direction:column;gap:4px;text-align:center;align-items:center}
body[data-worker-h5] .content-panel{padding:19px}
body[data-worker-h5] .form-grid{grid-template-columns:1fr;gap:14px}
body[data-worker-h5] .form-field.full{grid-column:auto}
body[data-worker-h5] .modal-overlay{padding:12px}
body[data-worker-h5] .modal{max-height:93vh;border-radius:15px}
body[data-worker-h5] .modal-header{padding:20px 20px 0}
body[data-worker-h5] .modal-body{padding:20px}
body[data-worker-h5] .auth-right{padding:30px}
body[data-worker-h5] .auth-box{max-width:380px}
body[data-worker-h5] .theme-preview{height:80px}
body[data-worker-h5] .api-banner{padding:15px}
body[data-worker-h5] .api-banner>.icon{width:27px;flex-shrink:0}
body[data-worker-h5] .page-heading .button.secondary span{display:none}
body[data-worker-h5] .content{padding:17px 11px}
body[data-worker-h5] .page-heading{margin-bottom:13px}
body[data-worker-h5] .page-heading h1{font-size:20px}
body[data-worker-h5] .page-heading p{display:none}
body[data-worker-h5] .hero{min-height:0;padding:16px 17px;margin-bottom:13px}
body[data-worker-h5] .hero h2{font-size:18px;margin-bottom:5px}
body[data-worker-h5] .hero p{font-size:10px}
body[data-worker-h5] .hero-tag{font-size:9px;padding:3px 7px;margin-top:9px}
body[data-worker-h5] .stats-grid{gap:7px;margin-bottom:14px}
body[data-worker-h5] .stat-card{padding:10px 11px}
body[data-worker-h5] .stat-label{font-size:10px}
body[data-worker-h5] .stat-number{font-size:21px}
body[data-worker-h5] .stat-note{font-size:8px}
body[data-worker-h5] .stat-icon{width:27px;height:27px;border-radius:8px}
body[data-worker-h5] .stat-icon .icon{width:15px;height:15px}
body[data-worker-h5] .section-heading{margin-bottom:7px}
body[data-worker-h5] .section-heading h2{font-size:14px}
body[data-worker-h5] .section-heading span{display:none}
body[data-worker-h5] .filters{gap:7px}
body[data-worker-h5] .tabs{gap:3px}
body[data-worker-h5] .tab{font-size:10px;padding:6px 3px}
body[data-worker-h5] .search-box{min-width:125px}
body[data-worker-h5] .search-box input{font-size:11px;padding:8px 8px 8px 30px}
body[data-worker-h5] .filters select{font-size:10px;padding:7px 7px;max-width:105px}
body[data-worker-h5] .leads-grid{padding:6px 6px 9px}
body[data-worker-h5] .compact-lead,body[data-worker-h5] .worker-lead{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}
body[data-worker-h5] .compact-lead .lead-identity{padding:8px}
body[data-worker-h5] .compact-lead .lead-cell{padding:8px 9px;font-size:10px}
body[data-worker-h5] .compact-lead .lead-location{font-size:12px}
body[data-worker-h5] .compact-lead .lead-owner{font-size:10px}
body[data-worker-h5] .compact-label{font-size:9px}
body[data-worker-h5] .compact-lead .lead-info-value,body[data-worker-h5] .lead-contact strong{font-size:11px}
body[data-worker-h5] .admin-lead .lead-contact{border-right:1px solid var(--line)}
body[data-worker-h5] .admin-lead .lead-notes{grid-column:1/-1}
body[data-worker-h5] .admin-lead .lead-actions,body[data-worker-h5] .worker-lead .lead-actions{padding:7px 8px}
body[data-worker-h5] .lead-actions .button{font-size:10px}
body[data-worker-h5] .pagination{padding:10px 8px;font-size:10px}
body[data-worker-h5] .pagination-buttons .button{font-size:10px;padding:3px 8px}
body[data-worker-h5] .footer{margin-top:15px}
body[data-worker-h5] .compact-lead,body[data-worker-h5] .compact-lead:first-child,body[data-worker-h5] .compact-lead:last-child{border-radius:8px;border-bottom:1px solid var(--line);margin-bottom:7px}
body[data-worker-h5] .compact-lead .lead-cell{background:transparent}
body[data-worker-h5] .compact-lead .lead-actions{justify-content:flex-start}
body[data-worker-h5] .lead-actions .lead-tag{margin-right:auto}
body[data-worker-h5] .filters .tabs{order:1;width:100%;flex-basis:100%;gap:5px}
body[data-worker-h5] .filters .search-box{order:2;flex:1 1 100%;max-width:none;margin-left:0}
body[data-worker-h5] .tab{flex:1 0 28%;padding:7px 4px}
body[data-worker-h5] .compact-lead{min-height:0}
body[data-worker-h5] .compact-lead .lead-cell{padding:11px 9px}
body[data-worker-h5] .compact-lead .lead-identity{display:flex}
body[data-worker-h5] .contact-toggle{width:25px;height:25px;min-width:25px}
body[data-worker-h5]{font-size:14px}
body[data-worker-h5] .shell{display:block;min-height:100dvh}
body[data-worker-h5] .shell .sidebar,body[data-worker-h5] .shell .mobile-menu,body[data-worker-h5] .shell.menu-open:before{display:none}
body[data-worker-h5] .main{width:100%;min-width:0}
body[data-worker-h5] .shell .topbar{height:60px;padding:0 18px;position:sticky;top:0;z-index:30;background:var(--surface)}
body[data-worker-h5] .breadcrumb{gap:6px;min-width:0}
body[data-worker-h5] .breadcrumb>span,body[data-worker-h5] .breadcrumb>.icon{display:none}
body[data-worker-h5] .breadcrumb strong{font-size:18px;font-weight:700;letter-spacing:.2px}
body[data-worker-h5] .topbar-right{gap:0}
body[data-worker-h5] .role-chip{font-size:10px;padding:4px 8px;border-radius:20px}
body[data-worker-h5] .topbar-right .date-label,body[data-worker-h5] .topbar-right .live-badge{display:none}
body[data-worker-h5] .app-back.show-back{display:inline-flex;min-height:40px;min-width:32px;margin-left:-8px}
body[data-worker-h5] .app-back .icon{transform:rotate(180deg)}
body[data-worker-h5] .shell .content{padding:18px 16px calc(94px + env(safe-area-inset-bottom));max-width:100%;min-width:0}
body[data-worker-h5] .app-tabbar{position:fixed;inset:auto 0 0;z-index:50;background:var(--surface);border-top:1px solid var(--line);box-shadow:0 -4px 24px #162b4c06;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:7px 8px calc(7px + env(safe-area-inset-bottom));gap:4px}
body[data-worker-h5] .app-tabbar button{min-width:0;min-height:55px;border:0;background:transparent;color:var(--muted);border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:11px;line-height:1.4;padding:5px 0;font-weight:500}
body[data-worker-h5] .app-tabbar .icon{width:23px;height:23px;stroke-width:1.8}
body[data-worker-h5] .app-tabbar button.active{color:var(--primary);background:var(--blue-soft);font-weight:700}
body[data-worker-h5] .app-tabbar button.active .icon{stroke-width:2.1}
body[data-worker-h5] .app-welcome{position:relative;isolation:isolate;overflow:hidden;background:var(--hero);color:#fff;border-radius:20px;padding:24px 21px;margin-bottom:16px;box-shadow:0 10px 22px #3268f518}
body[data-worker-h5] .app-welcome:after{content:'';position:absolute;z-index:-1;right:-75px;bottom:-150px;width:270px;height:270px;border-radius:50%;border:1px solid #ffffff20;box-shadow:0 0 0 30px #ffffff06,0 0 0 60px #ffffff05}
body[data-worker-h5] .app-eyebrow{font-size:11px;letter-spacing:1px;opacity:.8;margin-bottom:10px}
body[data-worker-h5] .app-welcome h1{font-size:23px;line-height:1.5;margin:0 0 9px;overflow-wrap:anywhere;padding-right:15px;letter-spacing:0}
body[data-worker-h5] .app-welcome p{font-size:12px;line-height:1.9;opacity:.86;margin:0;max-width:85%;overflow-wrap:anywhere}
body[data-worker-h5] .app-hero-button{margin-top:21px;background:#fff;color:#285fe3;min-height:42px;font-size:12px;padding:9px 15px;border-radius:11px}
body[data-worker-h5] .app-hero-button:hover{background:#edf3ff;color:#285fe3}
body[data-worker-h5] .app-welcome-art{position:absolute;right:18px;bottom:22px;opacity:.24;transform:rotate(-12deg);pointer-events:none}
body[data-worker-h5] .app-welcome-art .icon{width:68px;height:68px;stroke-width:1}
body[data-worker-h5] .app-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:16px 6px;background:var(--surface);border:1px solid var(--line);border-radius:16px;margin-bottom:25px}
body[data-worker-h5] .app-metric{display:flex;flex-direction:column;align-items:center;gap:3px;min-width:0;padding:0 7px}
body[data-worker-h5] .app-metric+.app-metric{border-left:1px solid var(--line)}
body[data-worker-h5] .app-metric>.icon{width:17px;height:17px;color:var(--primary);margin-bottom:3px}
body[data-worker-h5] .app-metric strong{font-size:24px;line-height:1.3;font-weight:700}
body[data-worker-h5] .app-metric span{font-size:11px;color:var(--muted);text-align:center}
body[data-worker-h5] .app-section-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:23px 1px 12px}
body[data-worker-h5] .app-section-title h2{font-size:16px;line-height:1.5;margin:0;font-weight:700}
body[data-worker-h5] .app-section-title>span{font-size:10px;color:var(--muted)}
body[data-worker-h5] .app-section-title .link-button{font-size:11px;padding:0;min-height:32px;display:flex;gap:2px;align-items:center}
body[data-worker-h5] .app-section-title .icon{width:14px;height:14px}
body[data-worker-h5] .app-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:17px 4px;gap:2px}
body[data-worker-h5] .app-shortcuts button{border:0;background:transparent;display:flex;flex-direction:column;align-items:center;padding:0 2px;gap:5px;min-width:0;color:var(--text)}
body[data-worker-h5] .app-shortcuts button>.icon{width:42px;height:42px;border-radius:13px;background:var(--blue-soft);color:var(--primary);padding:10px;margin-bottom:3px}
body[data-worker-h5] .app-shortcuts button:nth-child(2)>.icon{background:#0ca87d12;color:#0ca87d}
body[data-worker-h5] .app-shortcuts button:nth-child(3)>.icon{background:#b28bfc14;color:#9370db}
body[data-worker-h5] .app-shortcuts button:nth-child(4)>.icon{background:#dc9d3114;color:#c38b2a}
body[data-worker-h5] .app-shortcuts strong{font-size:11px;font-weight:600}
body[data-worker-h5] .app-shortcuts small{font-size:9px;color:var(--muted);letter-spacing:0}
body[data-worker-h5] .app-home-leads .lead-card{margin-bottom:12px}
body[data-worker-h5] .app-home-leads .lead-card:last-child{margin-bottom:0}
body[data-worker-h5] .app-endnote{color:var(--muted);font-size:10px;display:flex;align-items:center;justify-content:center;gap:6px;text-align:center;margin-top:25px}
body[data-worker-h5] .app-endnote .icon{width:13px;height:13px}
body[data-worker-h5] .app-profile-card{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:23px 17px;display:flex;align-items:center;gap:13px;margin-bottom:16px}
body[data-worker-h5] .app-avatar{flex-shrink:0;width:56px;height:56px;display:grid;place-items:center;background:var(--blue-soft);color:var(--primary);border-radius:18px;font-size:24px;font-weight:700}
body[data-worker-h5] .app-avatar>.icon{width:30px;height:30px}
body[data-worker-h5] .app-profile-card>div:nth-child(2){flex:1;min-width:0}
body[data-worker-h5] .app-profile-card h1{font-size:18px;margin:0 0 4px;overflow-wrap:anywhere;line-height:1.5}
body[data-worker-h5] .app-profile-card p{font-size:11px;margin:0;color:var(--muted)}
body[data-worker-h5] .app-profile-card small{font-size:11px;color:var(--muted)}
body[data-worker-h5] .app-profile-card>.icon{color:var(--primary);width:22px}
body[data-worker-h5] .app-profile-card>.button{font-size:11px;min-height:39px;padding:8px 11px}
body[data-worker-h5] .app-profile-stats{display:flex;background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:18px 5px;justify-content:space-around;margin-bottom:25px;font-size:12px;color:var(--muted)}
body[data-worker-h5] .app-profile-stats>button{flex:1;min-width:0;border:0;background:transparent;display:flex;flex-direction:column;align-items:center;gap:5px;color:var(--text);padding:0 2px;min-height:44px}
body[data-worker-h5] .app-profile-stats>button+button{border-left:1px solid var(--line)}
body[data-worker-h5] .app-profile-stats strong{font-size:23px;line-height:1.3;color:var(--text)}
body[data-worker-h5] .app-profile-stats span{font-size:11px;color:var(--muted)}
body[data-worker-h5] .app-link-group{border:1px solid var(--line);border-radius:16px;background:var(--surface);overflow:hidden}
body[data-worker-h5] .app-link{width:100%;min-height:74px;display:flex;align-items:center;gap:12px;padding:15px;border:0;background:transparent;color:var(--text);text-align:left}
body[data-worker-h5] .app-link+.app-link{border-top:1px solid var(--line)}
body[data-worker-h5] .app-link:hover{background:var(--surface-soft)}
body[data-worker-h5] .app-link-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;background:var(--blue-soft);color:var(--primary);flex-shrink:0}
body[data-worker-h5] .app-link-icon .icon{width:19px;height:19px}
body[data-worker-h5] .app-link>span:nth-child(2){flex:1;min-width:0}
body[data-worker-h5] .app-link strong{display:block;font-size:13px;font-weight:600}
body[data-worker-h5] .app-link small{display:block;color:var(--muted);font-size:10px;margin-top:3px;overflow-wrap:anywhere}
body[data-worker-h5] .app-link>.icon{color:var(--muted);width:16px;height:16px}
body[data-worker-h5] .app-logout{margin-top:22px;width:100%;padding:13px;border-radius:13px;border:1px solid var(--line);background:var(--surface);color:var(--danger);font-size:13px;min-height:46px}
body[data-worker-h5] .app-ranking-hero{text-align:center;padding:23px 12px 28px;border-radius:20px;color:var(--text);background:linear-gradient(135deg,var(--surface),var(--blue-soft));border:1px solid var(--line);margin-bottom:16px}
body[data-worker-h5] .app-ranking-hero>.icon{width:49px;height:49px;color:#dba636;margin:0 0 14px;stroke-width:1.6}
body[data-worker-h5] .app-ranking-hero .app-eyebrow{color:var(--muted);font-size:10px;margin-bottom:7px}
body[data-worker-h5] .app-ranking-hero h1{font-size:25px;margin:0 0 10px;letter-spacing:1px}
body[data-worker-h5] .app-ranking-hero p{font-size:11px;margin:0 0 4px}
body[data-worker-h5] .app-ranking-hero>small{font-size:10px;color:var(--muted)}
body[data-worker-h5] .app-rank-list{background:var(--surface);border:1px solid var(--line);border-radius:16px;overflow:hidden}
body[data-worker-h5] .app-rank-head{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);padding:14px 17px;background:var(--surface-soft)}
body[data-worker-h5] .app-rank-row{display:flex;align-items:center;gap:13px;padding:16px;border-top:1px solid var(--line)}
body[data-worker-h5] .app-rank-row.is-me{background:var(--blue-soft)}
body[data-worker-h5] .app-rank-number{font-size:15px;width:25px;text-align:center;font-weight:700;color:var(--muted);flex-shrink:0}
body[data-worker-h5] .app-rank-number.rank-1,body[data-worker-h5] .app-rank-number.rank-2,body[data-worker-h5] .app-rank-number.rank-3{width:28px;height:31px;border-radius:8px;background:#dba63619;color:#c98c1b;display:grid;place-items:center}
body[data-worker-h5] .app-rank-number.rank-2{color:#8b9fb4;background:#8b9fb417}
body[data-worker-h5] .app-rank-number.rank-3{color:#ba845f;background:#ba845f17}
body[data-worker-h5] .app-rank-name{flex:1;min-width:0}
body[data-worker-h5] .app-rank-name strong{font-size:13px;overflow-wrap:anywhere}
body[data-worker-h5] .app-rank-name small{font-size:9px;padding:2px 5px;border-radius:4px;background:var(--primary);color:#fff;margin-left:6px;white-space:nowrap}
body[data-worker-h5] .app-rank-score{text-align:right;flex-shrink:0}
body[data-worker-h5] .app-rank-score strong{display:block;font-size:20px;color:var(--primary);line-height:1.4}
body[data-worker-h5] .app-rank-score small{font-size:10px;color:var(--muted);font-weight:400}
body[data-worker-h5] .app-rank-score>span{font-size:10px;color:var(--muted)}
body[data-worker-h5] .app-empty{text-align:center;display:flex;align-items:center;flex-direction:column;gap:10px;padding:40px 16px;color:var(--muted);font-size:12px;background:var(--surface);border-radius:16px}
body[data-worker-h5] .app-empty>.icon{width:34px;height:34px;color:var(--primary);opacity:.6}
body[data-worker-h5] .app-empty strong{font-size:14px;color:var(--text)}
body[data-worker-h5] .app-empty p{margin:0;font-size:11px}
body[data-worker-h5] .page-heading h1{font-size:20px}
body[data-worker-h5] .page-heading .button{min-height:40px;font-size:12px}
body[data-worker-h5] .page-heading{gap:8px}
body[data-worker-h5] .shell[data-page="leads"] .hero,body[data-worker-h5] .shell[data-page="mine"] .hero{display:none}
body[data-worker-h5] .stats-grid{gap:9px;margin-bottom:20px}
body[data-worker-h5] .stat-card{border-radius:13px;padding:13px 12px}
body[data-worker-h5] .stat-label{font-size:11px}
body[data-worker-h5] .stat-number{font-size:25px}
body[data-worker-h5] .stat-note{font-size:9px}
body[data-worker-h5] .filters{padding:12px;gap:12px}
body[data-worker-h5] .filters .tabs{flex-wrap:nowrap;overflow-x:auto;flex-basis:auto;max-width:100%;padding-bottom:3px;scrollbar-width:none;gap:5px}
body[data-worker-h5] .filters .tabs::-webkit-scrollbar{display:none}
body[data-worker-h5] .filters .tab{flex:0 0 auto;min-height:37px;padding:8px 12px;font-size:12px;white-space:nowrap}
body[data-worker-h5] .filters .search-box{min-width:0}
body[data-worker-h5] .filters .search-box input{font-size:13px;min-height:42px;padding-left:34px}
body[data-worker-h5] .list-meta{padding:13px 12px;font-size:10px}
body[data-worker-h5] .leads-grid{display:block;padding:0 9px 9px}
body[data-worker-h5] .compact-lead,body[data-worker-h5] .compact-lead:first-child,body[data-worker-h5] .compact-lead:last-child{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);border:1px solid var(--line);border-radius:15px;margin:0 0 12px;overflow:hidden;background:var(--surface)}
body[data-worker-h5] .compact-lead .lead-identity{grid-column:1/-1;display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:flex-start;text-align:left;gap:6px 9px;padding:15px 14px 12px;border-bottom:1px solid var(--line)}
body[data-worker-h5] .compact-lead .lead-code{font-size:10px}
body[data-worker-h5] .compact-lead .lead-identity>.pill{margin-left:auto;font-size:10px;max-width:100%;white-space:normal}
body[data-worker-h5] .compact-lead .lead-location{flex-basis:100%;font-size:16px;margin:4px 0;line-height:1.6;min-height:0;justify-content:flex-start;text-align:left}
body[data-worker-h5] .compact-lead .lead-location .icon{width:17px;height:17px;margin-top:4px}
body[data-worker-h5] .compact-lead .lead-owner{flex-basis:100%;font-size:11px;gap:5px;flex-wrap:wrap}
body[data-worker-h5] .compact-lead .lead-owner time{font-size:9px;margin-left:auto;white-space:normal}
body[data-worker-h5] .compact-lead .lead-cell{padding:12px 14px;min-width:0;font-size:12px;overflow-wrap:anywhere}
body[data-worker-h5] .compact-lead .compact-label{font-size:10px;display:block;margin-bottom:4px}
body[data-worker-h5] .compact-lead .lead-info-value{font-size:13px}
body[data-worker-h5] .compact-lead .lead-notes{grid-column:1/-1;display:block}
body[data-worker-h5] .compact-lead .lead-notes .compact-label{margin-bottom:4px}
body[data-worker-h5] .compact-lead .lead-actions{grid-column:1/-1;display:flex;flex-direction:row;align-items:center;gap:9px;flex-wrap:wrap;padding:12px 14px;background:var(--surface-soft);border-top:1px solid var(--line);border-right:0}
body[data-worker-h5] .lead-actions .lead-tag{margin-right:auto;font-size:10px}
body[data-worker-h5] .lead-actions .button{min-height:40px;font-size:12px;padding:8px 12px;border-radius:10px}
body[data-worker-h5] .lead-actions .visibility{min-height:36px;font-size:11px}
body[data-worker-h5] .lead-contact strong{font-size:13px}
body[data-worker-h5] .contact-toggle{min-height:36px;min-width:36px}
body[data-worker-h5] .contact-toggle .icon{width:17px}
body[data-worker-h5] .pagination{padding:12px;flex-wrap:wrap;font-size:10px}
body[data-worker-h5] .pagination-buttons .button{min-height:38px;padding:7px 12px;font-size:11px}
body[data-worker-h5] .member-desktop{display:none}
body[data-worker-h5] .member-mobile{display:grid;gap:13px}
body[data-worker-h5] .shell[data-page="users"] #user-list{border:0;background:transparent;box-shadow:none}
body[data-worker-h5] .member-card{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:17px}
body[data-worker-h5] .member-card-heading{display:flex;align-items:center;gap:11px}
body[data-worker-h5] .member-card-heading>div:nth-child(2){flex:1;min-width:0}
body[data-worker-h5] .member-card-heading strong{font-size:14px;overflow-wrap:anywhere;display:block}
body[data-worker-h5] .member-card-heading span:not(.pill){font-size:10px;color:var(--muted);display:block}
body[data-worker-h5] .member-card-heading .pill{font-size:10px}
body[data-worker-h5] .member-details{display:grid;grid-template-columns:80px minmax(0,1fr);gap:7px 12px;font-size:12px;margin:17px 0 0}
body[data-worker-h5] .member-details>span{color:var(--muted)}
body[data-worker-h5] .member-details>strong{font-size:12px;font-weight:500;overflow-wrap:anywhere;text-align:right}
body[data-worker-h5] .member-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:16px;border-top:1px solid var(--line);padding-top:14px}
body[data-worker-h5] .member-actions .button{min-height:39px;padding:8px 13px}
body[data-worker-h5] .member-protected{color:var(--muted);font-size:10px;text-align:right;border-top:1px solid var(--line);padding-top:12px;margin-top:15px}
body[data-worker-h5] .content-panel{padding:18px}
body[data-worker-h5] .form-grid{grid-template-columns:1fr}
body[data-worker-h5] .form-field.full{grid-column:auto}
body[data-worker-h5] .form-field input,body[data-worker-h5] .form-field textarea,body[data-worker-h5] .form-field select{font-size:16px}
body[data-worker-h5] .form-actions{flex-wrap:wrap}
body[data-worker-h5] .form-actions .button{min-height:42px}
body[data-worker-h5] .settings-grid{grid-template-columns:1fr}
body[data-worker-h5] .api-banner{padding:14px;gap:11px}
body[data-worker-h5] .api-banner h3{font-size:14px}
body[data-worker-h5] .api-banner p{font-size:11px}
body[data-worker-h5] .file-drop{padding:23px 13px}
body[data-worker-h5] .code-box{max-width:100%}
body[data-worker-h5] .modal-overlay{padding:14px}
body[data-worker-h5] .modal{max-height:calc(100dvh - 28px);border-radius:18px}
body[data-worker-h5] .modal-header{padding:21px 19px 0}
body[data-worker-h5] .modal-header h2{font-size:19px}
body[data-worker-h5] .modal-body{padding:20px 19px}
body[data-worker-h5] .modal-close{min-height:36px;min-width:36px;align-items:center;justify-content:center}
body[data-worker-h5] .footer{font-size:9px;margin-top:23px}
body[data-worker-h5] .table-wrap{max-width:100%}
body[data-worker-h5] .shell[data-role="worker"] .app-back{display:none!important}
body[data-worker-h5] .shell[data-role="worker"] .stats-grid,body[data-worker-h5] .shell[data-role="worker"] .hero{display:none!important}
body[data-worker-h5] .shell[data-role="worker"] .recent-filter{display:none!important}
body[data-worker-h5] .shell[data-role="worker"][data-page="profile"] .app-profile-stats{display:none!important}
body[data-worker-h5] .shell[data-role="worker"][data-page="profile"] [data-go="mine"],body[data-worker-h5] .shell[data-role="worker"][data-page="profile"] [data-go="ranking"]{display:none!important}
body[data-worker-h5] .shell[data-role="worker"] .exit-confirm{text-align:center}
body[data-worker-h5] .shell[data-role="worker"] .exit-confirm .form-actions{justify-content:center}
body[data-worker-h5] .shell[data-role="worker"] .contact-action{min-height:38px;padding:8px 11px;font-size:11px}
body[data-worker-h5] .recent-filter{font-size:11px;margin:0 0 4px}
body[data-worker-h5] .filters .tabs{width:100%}
body[data-worker-h5] .shell[data-page="leads"] .tabs [data-bucket]{flex:1;min-width:100px;justify-content:center}
body[data-worker-h5] .worker-lead .worker-public-info{flex-basis:100%;font-size:11px;line-height:1.6}
body[data-worker-h5] .worker-lead .lead-actions{flex-wrap:wrap;gap:10px;padding:12px}
body[data-worker-h5] .worker-lead .lead-actions>.lead-tag{display:none}
body[data-worker-h5] .worker-lead .worker-contact-wrap{margin-right:auto}
body[data-worker-h5] .worker-lead .lead-actions .button{padding:8px 10px;font-size:11px}
body[data-worker-h5] .worker-public-notes{padding:12px 14px}
body[data-worker-h5] .page-jump input{min-height:38px;font-size:16px}
body[data-worker-h5] .page-jump{margin-left:auto}
body[data-worker-h5] .app-back.show-back{width:auto;min-width:38px;font-size:12px;padding:6px;color:var(--text)}
body[data-worker-h5] .shell[data-role="worker"] #home-metrics{display:none}
body[data-worker-h5] .worker-profile-details{border-radius:16px}
body[data-worker-h5] .worker-lead .lead-actions .contact-action{white-space:normal;max-width:100%;text-align:center}
body[data-worker-h5] .exit-actions{justify-content:center!important}
body[data-worker-h5] .exit-actions .button{flex:0 1 auto}
body[data-worker-h5] .quote-row{padding:11px 10px;gap:10px}
body[data-worker-h5] .quote-row dt{font-size:12px}
body[data-worker-h5] .quote-row dd{font-size:13px}
body[data-worker-h5] .quote-edit-row{padding:10px;gap:8px}
body[data-worker-h5] .quote-edit-row>label{font-size:12px}
body[data-worker-h5] .quote-price-input{gap:5px}
body[data-worker-h5] .quote-price-input input{width:86px}
body[data-worker-h5] .quote-price-input span{min-width:30px}
body[data-worker-h5] .worker-detail-fields{grid-template-columns:108px minmax(0,1fr);gap:8px 10px;font-size:12px}
body[data-worker-h5] .worker-history-card{padding:12px}
body[data-worker-h5] .worker-detail-stats{gap:7px}
body[data-worker-h5] .worker-detail-stats>div{padding:10px 6px}
body[data-worker-h5] .worker-detail-modal .quote-row{gap:8px}
body[data-worker-h5] .distance-sort{width:100%;justify-content:space-between;font-size:11px}
body[data-worker-h5] .distance-sort select{max-width:210px;flex:1}
body[data-worker-h5] .distance-list-hint{margin:10px 12px 0;font-size:10px}
body[data-worker-h5] .order-distance{justify-content:flex-start;font-size:11px}
body[data-worker-h5] #accepted-order-stats{margin:12px;padding:10px}
body[data-worker-h5] .worker-order-metrics{gap:7px}
body[data-worker-h5] .worker-order-metrics>div{padding:10px 7px}
body[data-worker-h5] .worker-order-metrics strong{font-size:15px}
body[data-worker-h5] .member-card>.member-order-metrics{margin:14px 0}
body[data-worker-h5] .member-order-metrics strong{font-size:14px}
body[data-worker-h5] .member-details strong{overflow-wrap:anywhere;min-width:0}
body[data-worker-h5] .member-details{grid-template-columns:minmax(90px,0.8fr) minmax(0,1.3fr)}
body[data-worker-h5] .member-order-metrics{gap:7px}
body[data-worker-h5] .worker-detail-fields dd{overflow-wrap:anywhere}
body[data-worker-h5] .has-claim-date .lead-claim-date{border-right:0}
body[data-worker-h5] .claim-date-value{font-size:12px}
body[data-worker-h5] .member-search-toolbar{gap:8px;margin-bottom:12px}
body[data-worker-h5] .member-search-toolbar .search-box{flex:1;min-width:0}
body[data-worker-h5] .member-search-toolbar input{font-size:13px;min-height:42px}
body[data-worker-h5] .member-search-toolbar [role="status"]{flex-basis:100%;font-size:11px}
body[data-worker-h5] .worker-filter{width:100%;justify-content:space-between;font-size:11px}
body[data-worker-h5] .worker-filter select{max-width:210px;flex:1;min-width:0}
body[data-worker-h5] .place-filter{width:100%;justify-content:space-between;font-size:11px}
body[data-worker-h5] .place-filter select{max-width:210px;flex:1;min-width:0}

body[data-worker-h5] #app{width:100%;max-width:480px;margin:0 auto;min-height:100dvh;background:var(--bg);box-shadow:0 0 40px #162b4c0a}
body[data-worker-h5] .shell{width:100%;display:block;min-height:100dvh}
body[data-worker-h5] .shell .sidebar,body[data-worker-h5] .lead-table-head{display:none!important}
body[data-worker-h5] .app-tabbar{width:min(100%,480px);left:50%;right:auto;transform:translateX(-50%)}
body[data-worker-h5] .shell .main{width:100%;min-width:0}
body[data-worker-h5] .shell .content{max-width:100%;margin:0;padding:18px 16px calc(94px + env(safe-area-inset-bottom))}
body[data-worker-h5] .leads-grid{display:block;padding:0 9px 9px}
body[data-worker-h5] .compact-lead{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
body[data-worker-h5] .modal{max-width:452px}
body[data-worker-h5] .app-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr))}
.rank-demo-notice{font-size:12px;line-height:1.8;color:var(--muted);background:var(--blue-soft);border:1px solid var(--line);border-radius:10px;padding:10px 12px;margin:0 0 12px}
.rank-demo-notice[hidden]{display:none}
.rank-demo-badge,body[data-worker-h5] .app-rank-name .rank-demo-badge{display:inline-block;color:var(--muted);background:var(--surface-soft);border:1px solid var(--line);font-size:10px;font-weight:400;border-radius:4px;padding:1px 5px;margin-left:6px;white-space:nowrap}
.ranking-settings-modal{max-width:960px}.ranking-demo-toggles{display:flex;gap:20px;flex-wrap:wrap;margin-bottom:10px}.ranking-demo-toggles label,.ranking-demo-entry .demo-visible{display:flex;align-items:center;gap:8px;font-size:13px}
.ranking-demo-entry{border:1px solid var(--line);border-radius:12px;padding:16px;margin:12px 0}.ranking-demo-entry-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.ranking-demo-entry-header strong{font-size:13px}.ranking-demo-fields{display:grid;grid-template-columns:minmax(150px,1.4fr) repeat(4,minmax(85px,1fr));gap:10px}.ranking-demo-fields label{display:grid;gap:6px;font-size:11px;color:var(--muted)}.ranking-demo-fields input{width:100%;min-width:0;font-size:14px}.ranking-demo-toolbar{display:flex;align-items:center;gap:12px;justify-content:space-between;flex-wrap:wrap}.ranking-demo-toolbar p{margin:0}.ranking-demo-actions{position:sticky;bottom:0;padding:12px 0;background:var(--surface);border-top:1px solid var(--line)}
@media(max-width:700px){.ranking-demo-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.ranking-demo-fields label:first-child{grid-column:1/-1}.ranking-demo-entry{padding:12px}.ranking-demo-fields input{font-size:16px}.ranking-demo-toggles{gap:14px}.ranking-demo-actions{bottom:0}.shell[data-role="admin"] .page-heading{flex-wrap:wrap}.shell[data-role="admin"] .heading-actions{justify-content:flex-start;width:100%}}

/* Unified member details and in-place profile editing. */
.member-editable{cursor:text;display:inline-block;min-width:48px;min-height:24px;border-radius:5px;outline-offset:3px}
.member-editable:hover{background:rgba(36,107,253,.07)}
.worker-detail-fields>dd.member-editable{display:block}
.member-editable.editing{background:transparent}
.member-inline-editor{display:flex;flex-direction:column;gap:6px;width:100%;min-width:0}
.member-inline-editor input,.member-inline-editor select{width:100%;min-width:0;box-sizing:border-box;padding:8px;border:1px solid #246bfd;border-radius:6px;color:inherit;background:var(--surface,#fff);font:inherit}
.member-inline-actions{display:flex;gap:6px}.member-inline-editor .form-error{white-space:normal}
.member-inline-editor .button{padding:5px 10px}.member-inline-editor .form-error:empty{display:none}

/* Lead notes can be edited in their own column. */
.lead-notes[data-note-edit]{cursor:text;outline-offset:-3px;border-radius:5px}
.lead-notes[data-note-edit]:hover,.lead-notes[data-note-edit]:focus-visible{outline:1px dashed #8da8ee;background:var(--surface-soft)}
.lead-notes.note-editing{outline:1px solid #648ef4;background:var(--surface-soft)}
.lead-note-editor{display:flex;flex-direction:column;gap:6px;width:100%;min-width:0;text-align:left;white-space:normal}
.lead-note-editor textarea{display:block;width:100%;min-width:0;min-height:90px;max-height:320px;box-sizing:border-box;resize:vertical;border:1px solid #a8bce8;border-radius:6px;padding:7px;font:inherit;font-size:12px;line-height:1.6;background:var(--surface);color:var(--text)}
.lead-note-editor textarea:focus{outline:1px solid #648ef4}
.lead-note-actions{display:flex;flex-wrap:wrap;gap:5px;justify-content:flex-end}
.lead-note-actions .button{font-size:11px;min-height:26px;padding:3px 8px}
.lead-notes .lead-note-editor .lead-note-hint{display:block!important;white-space:normal;color:var(--muted);font-size:10px;line-height:1.5}
.lead-note-error{color:#c73b4a;font-size:11px;white-space:pre-wrap;overflow-wrap:anywhere}
.lead-note-error:empty{display:none}

@media(min-width:1101px){.lead-table-head.admin-head,.compact-lead.has-followup{grid-template-columns:minmax(0,1.6fr) minmax(0,.8fr) minmax(0,.65fr) minmax(0,1fr) minmax(0,.8fr) minmax(0,.9fr) minmax(0,1.15fr) minmax(0,.85fr) minmax(0,1.75fr)}.has-followup .lead-actions{flex-wrap:wrap;white-space:normal}}

.lead-note-editor input{display:block;width:100%;min-width:0;box-sizing:border-box;border:1px solid #a8bce8;border-radius:6px;padding:7px;font:inherit;font-size:12px;background:var(--surface);color:var(--text)}
.lead-note-editor input:focus{outline:1px solid #648ef4}
.lead-deal-amount [data-note-value]{overflow-wrap:anywhere;color:var(--primary)}

[data-note-edit]{cursor:text;outline-offset:2px;border-radius:4px}
[data-note-edit]:hover,[data-note-edit]:focus-visible{outline:1px dashed #8da8ee}
[data-note-edit].note-editing{outline:1px solid #648ef4}
.detail-edit-value{min-height:38px;padding:9px 10px;border:1px solid var(--line);border-radius:6px;white-space:pre-wrap;overflow-wrap:anywhere;font-weight:400}
.member-inline-hint{display:block;color:var(--muted);font-size:10px;white-space:normal}

/* Preserve the original content in flow; controls occupy its existing space. */
.inline-edit-host{position:relative!important}
.inline-fitted-editor{position:absolute!important;display:block!important;min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;gap:0!important;visibility:visible!important;z-index:5;box-sizing:border-box;text-align:inherit}
.inline-fitted-editor input,.inline-fitted-editor textarea,.inline-fitted-editor select{display:block!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;max-height:none!important;box-sizing:border-box!important;margin:0!important;padding:0 3px!important;font:inherit!important;line-height:inherit!important;resize:none!important;border-radius:3px;visibility:visible;overflow:auto}
.inline-fitted-editor .lead-note-error,.inline-fitted-editor .form-error{position:absolute;top:100%;left:0;z-index:6;min-width:100%;width:max-content;max-width:260px;margin:3px 0 0;padding:5px 7px;border:1px solid #e8a6ad;border-radius:4px;background:var(--surface,#fff);color:#c73b4a;box-sizing:border-box;font-size:11px;line-height:1.5;white-space:normal;overflow-wrap:anywhere}
.inline-fitted-editor .lead-note-error:empty,.inline-fitted-editor .form-error:empty{display:none}

/* Lead metadata uses dedicated columns in the administrator list. */
.lead-columns-scroll{max-width:100%;min-width:0;overflow-x:auto;overscroll-behavior-x:contain}
.lead-followup-person .followup-person-copy{border:0;background:transparent;color:var(--primary);font:inherit;font-weight:600;padding:4px;max-width:100%;overflow-wrap:anywhere;text-align:center;border-radius:5px}
.lead-consultation-time time{font-size:11px;line-height:1.65;white-space:pre-wrap;font-variant-numeric:tabular-nums}
@media(min-width:1101px){
 .lead-columns-scroll{--lead-separated-grid:90px minmax(180px,1.4fr) 160px 110px 90px 145px 145px minmax(130px,1fr) 100px minmax(140px,1fr) 110px 390px}
 .lead-columns-scroll>.lead-table-head.admin-head,.lead-columns-scroll>.leads-grid{min-width:1920px}
 .lead-columns-scroll>.lead-table-head.admin-head,.compact-lead.admin-lead.has-separate-columns{grid-template-columns:var(--lead-separated-grid)}
 .has-separate-columns .lead-identity{grid-template-columns:auto auto;justify-content:center}
 .has-separate-columns .lead-customer .lead-info-value{font-size:12px}
}

.lead-scroll-top,.lead-header-scroll{display:none}
.lead-frozen-controls{display:contents}
.lead-sidebar-toggle{display:none}
@media(min-width:1101px){
 .shell[data-role="admin"] .lead-sidebar-toggle{display:inline-flex}
 .shell[data-role="admin"].lead-sidebar-hidden{grid-template-columns:0 minmax(0,1fr)}
 .shell[data-role="admin"].lead-sidebar-hidden>.sidebar{display:none}
 .shell[data-role="admin"].lead-sidebar-hidden .content{max-width:none}
 .shell[data-role="admin"][data-page="leads"]>.main{min-height:100dvh;display:block;overflow:visible}
 .shell[data-role="admin"][data-page="leads"] .content{display:block;width:100%;margin:0 auto;padding-top:16px;padding-bottom:12px;overflow:visible}
 .shell[data-role="admin"][data-page="leads"] .content>.hero,.shell[data-role="admin"][data-page="leads"] .content>.footer{display:none}
 .shell[data-role="admin"][data-page="leads"] .stats-grid{flex:0 0 auto;margin-bottom:14px}
 .shell[data-role="admin"][data-page="leads"] .section-heading{flex:0 0 auto;margin-bottom:10px}
 .shell[data-role="admin"][data-page="leads"] .lead-frozen-panel{min-height:0;display:block;overflow:visible;--lead-separated-grid:90px minmax(180px,1.4fr) 160px 110px 90px 145px 145px minmax(130px,1fr) 100px minmax(140px,1fr) 110px 390px}
 .lead-frozen-controls{position:static;z-index:auto;display:flex;flex-direction:column;background:var(--surface);border-radius:10px 10px 0 0}
 .lead-frozen-controls>.filters,.lead-frozen-controls>.list-meta,.lead-frozen-controls>.distance-list-hint,.lead-frozen-controls>#accepted-order-stats{flex:0 0 auto}
 .lead-frozen-panel>.lead-columns-scroll{height:auto;max-height:none;overflow-x:hidden;overscroll-behavior:auto}
 .lead-frozen-controls>.lead-scroll-top{display:block;flex:0 0 auto;height:18px;min-height:18px;max-width:100%;overflow-x:scroll;overflow-y:hidden;scrollbar-color:#a8b8d5 #eef2f8;background:#eef2f8}
 .lead-scroll-top>div{height:1px}
 .lead-frozen-controls>.lead-header-scroll{display:block;flex:0 0 auto;max-width:100%;overflow:hidden;background:var(--surface-soft);border-bottom:1px solid var(--line)}
 .lead-header-scroll>.lead-table-head.admin-head{min-width:1920px;grid-template-columns:var(--lead-separated-grid);box-sizing:border-box}
 .lead-frozen-panel>.lead-columns-scroll>.leads-grid{padding-top:0}
 .lead-frozen-panel>.lead-columns-scroll>.leads-grid .compact-lead:first-child{border-top-left-radius:0;border-top-right-radius:0}
}
@media(min-width:1101px) and (max-height:800px){
 .shell[data-role="admin"][data-page="leads"] .topbar{height:52px}
 .shell[data-role="admin"][data-page="leads"] .content{padding-top:10px;padding-bottom:8px}
 .shell[data-role="admin"][data-page="leads"] .stat-card{padding:10px 14px}
 .shell[data-role="admin"][data-page="leads"] .stat-number{font-size:25px}
 .shell[data-role="admin"][data-page="leads"] .stats-grid{margin-bottom:8px}
 .shell[data-role="admin"][data-page="leads"] .section-heading{margin-bottom:6px}
 .lead-frozen-controls>.filters{padding-top:8px;padding-bottom:8px}
 .lead-frozen-controls>.list-meta{padding-top:6px;padding-bottom:6px}
 .lead-frozen-controls>.distance-list-hint{margin-top:6px;margin-bottom:6px}
}

.has-separate-columns .lead-customer-code .lead-code{font-size:12px;color:var(--text);font-variant-numeric:tabular-nums;letter-spacing:.4px}

/* Make customer identifiers easy to find in both the hall and admin list. */
.compact-lead .lead-code,.has-separate-columns .lead-customer-code .lead-code,body[data-worker-h5] .compact-lead .lead-code{font-size:14px;font-weight:750;color:var(--primary);letter-spacing:.5px;font-variant-numeric:tabular-nums}

/* Administrator actions stay in one row at every viewport size. */
.shell[data-role="admin"] .has-separate-columns .lead-actions{display:flex;flex-direction:row;flex-wrap:nowrap;white-space:nowrap;gap:7px;overflow-x:auto}
.shell[data-role="admin"] .has-separate-columns .lead-actions>button{flex:0 0 auto;white-space:nowrap}
@media(max-width:1100px){.shell[data-role="admin"] .has-separate-columns .lead-actions{justify-content:flex-start}}
/* The frozen upper scrollbar controls the list; keep vertical scrolling below. */
@media(min-width:1101px){
 .lead-frozen-panel>.lead-columns-scroll::-webkit-scrollbar{width:12px;height:0}
 .lead-frozen-panel>.lead-columns-scroll::-webkit-scrollbar-thumb{background:#999;border:2px solid var(--surface);border-radius:8px}
 .lead-frozen-panel>.lead-columns-scroll::-webkit-scrollbar-track{background:var(--surface)}
}

/* Compact public order cards while retaining complete customer information. */
body[data-worker-h5] .compact-lead.worker-lead,
body[data-worker-h5] .compact-lead.worker-lead:first-child,
body[data-worker-h5] .compact-lead.worker-lead:last-child{margin-bottom:10px;border-radius:11px;min-height:0}
body[data-worker-h5] .compact-lead.worker-lead .lead-cell{padding:7px 10px;gap:4px}
body[data-worker-h5] .compact-lead.worker-lead .lead-identity{padding:11px 12px;gap:6px 8px}
body[data-worker-h5] .compact-lead.worker-lead .lead-location{font-size:14px;line-height:1.5;margin:1px 0}
body[data-worker-h5] .compact-lead.worker-lead .lead-location .icon{width:15px;height:15px;margin-top:2px}
body[data-worker-h5] .compact-lead.worker-lead .order-distance{font-size:10px;line-height:1.4}
body[data-worker-h5] .compact-lead.worker-lead .lead-owner{display:block;line-height:1.6;text-align:left}
body[data-worker-h5] .compact-lead.worker-lead .lead-owner b{white-space:normal;overflow-wrap:anywhere}
body[data-worker-h5] .compact-lead.worker-lead .lead-owner time{display:block;margin:5px 0 0;font-size:10px;line-height:1.5;white-space:normal}
body[data-worker-h5] .compact-lead.worker-lead>.lead-cell:not(.lead-identity):not(.lead-actions){flex-direction:row;align-items:center;gap:5px}
body[data-worker-h5] .compact-lead.worker-lead .compact-label{margin-bottom:0;flex-shrink:0}
body[data-worker-h5] .compact-lead.worker-lead .lead-info-value{font-size:12px;line-height:1.4}
body[data-worker-h5] .compact-lead.worker-lead .lead-actions{display:grid;grid-template-columns:minmax(0,1fr) 112px;gap:6px 8px;padding:8px 10px}
body[data-worker-h5] .compact-lead.worker-lead .lead-actions>.worker-public-notes{display:flex;align-items:baseline;gap:6px;padding:0 0 6px;font-size:12px;line-height:1.5}
body[data-worker-h5] .compact-lead.worker-lead .worker-public-notes>div{min-width:0;white-space:pre-wrap;overflow-wrap:anywhere}
body[data-worker-h5] .compact-lead.worker-lead .worker-contact-wrap{display:flex;flex-wrap:wrap;align-items:center;gap:3px 5px;margin:0}
body[data-worker-h5] .compact-lead.worker-lead .worker-contact{font-size:12px}
body[data-worker-h5] .compact-lead.worker-lead .lead-actions>.button{min-height:36px;padding:6px 9px;border-radius:8px;font-size:11px;line-height:1.4}
@media(max-width:360px){body[data-worker-h5] .compact-lead.worker-lead .lead-actions{grid-template-columns:minmax(0,1fr) 96px}}

/* Customer numbers are copy buttons with the original text appearance. */
button.lead-code[data-copy-customer-code]{border:0;background:transparent;padding:0;margin:0;line-height:inherit;cursor:pointer}
button.lead-code[data-copy-customer-code]:hover{text-decoration:underline;text-underline-offset:3px}

.lead-field-popup{width:min(560px,90vw);max-height:85dvh;margin:auto;border:1px solid var(--line);padding:0;border-radius:12px;background:var(--surface);color:var(--text);box-shadow:0 20px 60px #15284d33}
.lead-field-popup::backdrop{background:#15284d55}
.lead-field-popup .modal-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid var(--line)}
.lead-field-popup .modal-header h2{font-size:17px;margin:0}
.lead-field-popup .modal-close{position:static;flex-shrink:0}
.lead-field-popup-body{padding:18px}
.lead-field-popup-body>input,.lead-field-popup-body>textarea{display:block;width:100%;box-sizing:border-box;font-size:16px;line-height:1.6}
.lead-field-popup-body>textarea{min-height:180px;max-height:55dvh;resize:vertical}
.lead-field-popup-error{color:var(--danger);font-size:12px;line-height:1.6;margin:10px 0 0;white-space:pre-wrap}
.lead-field-popup-error:empty{display:none}

.distance-worker-filter{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted);min-width:0;margin:0}
.distance-worker-filter[hidden]{display:none}
.distance-worker-filter select{min-height:38px;width:190px;max-width:100%}
@media(max-width:700px){.distance-worker-filter{width:100%;justify-content:space-between;font-size:11px}.distance-worker-filter select{max-width:210px;flex:1;min-width:0}}

.dispatch-workers-modal{max-width:780px}
.dispatch-workers-modal #dispatch-search{width:100%}
.dispatch-worker-count{margin:12px 0 6px}
.dispatch-worker-table-wrap{max-height:36dvh;min-height:90px;overflow:auto;border:1px solid var(--line);border-radius:8px}
.dispatch-worker-table{width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed;font-size:13px}
.dispatch-worker-table th,.dispatch-worker-table td{padding:10px 12px;text-align:left;line-height:1.5;border-bottom:1px solid var(--line);overflow-wrap:anywhere}
.dispatch-worker-table th{position:sticky;top:0;z-index:1;background:var(--surface-soft);font-size:12px;color:var(--muted);font-weight:600}
.dispatch-worker-table th:first-child{width:56px}
.dispatch-worker-table th:nth-child(3){width:150px}
.dispatch-worker-table th:nth-child(4){width:140px}
.dispatch-worker-table tbody tr{cursor:pointer}
.dispatch-worker-table tbody tr:hover,.dispatch-worker-table tbody tr.selected{background:var(--blue-soft)}
.dispatch-worker-table tbody tr:last-child td{border-bottom:0}
.dispatch-worker-table input[type="radio"]{display:block;min-height:0;width:17px;height:17px;margin:0;padding:0;accent-color:var(--primary);cursor:pointer}
.dispatch-worker-phone{font-variant-numeric:tabular-nums;white-space:nowrap}
.dispatch-worker-distance{color:var(--primary)}
.dispatch-worker-table .dispatch-worker-empty{text-align:center;padding:24px;color:var(--muted)}
.dispatch-workers-modal #dispatch-address{margin:10px 0;min-height:18px}
.dispatch-workers-modal .form-actions{margin-top:12px}
@media(max-width:700px){.dispatch-worker-table{font-size:11px;min-width:310px}.dispatch-worker-table th,.dispatch-worker-table td{padding:8px 6px}.dispatch-worker-table th:first-child{width:36px}.dispatch-worker-table th:nth-child(3){width:100px}.dispatch-worker-table th:nth-child(4){width:83px}.dispatch-workers-modal .modal-body{padding:16px 14px}.dispatch-worker-table-wrap{max-height:38dvh}}

/* Stage-specific list columns and one compact order-details column. */
.shell[data-role="admin"] [data-list-column][hidden]{display:none!important}
.shell[data-role="admin"] .lead-order-details{display:flex;flex-direction:column;align-items:stretch;gap:5px;text-align:left}
.shell[data-role="admin"] .lead-order-details>.lead-order-line{display:grid;grid-template-columns:60px minmax(0,1fr);align-items:baseline;gap:4px;min-width:0;margin:0;padding:0;border:0;grid-column:auto;text-align:left}
.shell[data-role="admin"] .lead-order-line>.compact-label{display:block!important;font-size:10px;line-height:1.6;margin:0}
.shell[data-role="admin"] .lead-order-line>.compact-label::after{content:'：'}
.shell[data-role="admin"] .lead-order-line .lead-info-value,.shell[data-role="admin"] .lead-order-line .contact-value{font-size:11px;line-height:1.6;white-space:normal;overflow-wrap:anywhere}
.shell[data-role="admin"] .lead-order-line .contact-line{display:flex;align-items:center;gap:5px;min-width:0}
.shell[data-role="admin"] .lead-order-line .compact-sub{display:none}
@media(min-width:1101px){
 .shell[data-role="admin"] .lead-frozen-panel .admin-head,
 .shell[data-role="admin"] .lead-frozen-panel .has-separate-columns{grid-template-columns:var(--lead-stage-grid)!important}
 .shell[data-role="admin"] .lead-frozen-panel .admin-head,
 .shell[data-role="admin"] .lead-frozen-panel>.lead-columns-scroll>.leads-grid{min-width:var(--lead-stage-min-width)!important}
 .shell[data-role="admin"] .lead-frozen-panel .has-separate-columns>.lead-actions{overflow:visible}
}
@media(max-width:1100px){
 .shell[data-role="admin"] .has-separate-columns>.lead-order-details{grid-column:1/-1;border-right:0}
}

/* Copy the identifier with its own icon; keep all order details left aligned. */
.shell[data-role="admin"] .has-separate-columns>.lead-customer-code{padding-top:12px;padding-bottom:12px}
.shell[data-role="admin"] .lead-customer-code>.lead-code{cursor:default;text-decoration:none!important}
.lead-code-copy{position:absolute;top:4px;right:4px;width:22px;height:22px;min-height:0;padding:3px;border:0;border-radius:4px;display:inline-flex;align-items:center;justify-content:center;background:transparent;color:var(--muted);cursor:pointer}
.lead-code-copy>.icon{width:14px;height:14px}
.lead-code-copy:hover{background:var(--blue-soft);color:var(--primary);text-decoration:none}
.lead-code-copy:focus-visible{outline:2px solid var(--primary);outline-offset:1px}
.shell[data-role="admin"] .lead-order-line .contact-line{justify-content:flex-start;text-align:left}
.shell[data-role="admin"] .lead-order-line .contact-value{text-align:left;margin-left:0;margin-right:0}

/* Notes form the fourth labeled line of order details. */
.shell[data-role="admin"] .lead-order-details>.lead-order-line.lead-notes>[data-note-value]{min-width:0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;text-align:left;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}

.shell[data-role="admin"] .lead-order-details>.lead-order-line{grid-template-columns:76px minmax(0,1fr)}

/* Keep assignment and deal information in a single follow-up column. */
.shell[data-role="admin"] .lead-followup-summary{display:flex;flex-direction:column;align-items:stretch;gap:5px;text-align:left}
.shell[data-role="admin"] .lead-followup-summary>.lead-followup-line{display:grid;grid-template-columns:60px minmax(0,1fr);align-items:baseline;gap:4px;min-width:0;margin:0;padding:0;border:0;grid-column:auto;text-align:left}
.shell[data-role="admin"] .lead-followup-line>.compact-label{display:block!important;font-size:10px;line-height:1.6;margin:0}
.shell[data-role="admin"] .lead-followup-line>.compact-label::after{content:'：'}
.shell[data-role="admin"] .lead-followup-line .claim-date-value{display:block;font-size:11px;line-height:1.6;white-space:normal;text-align:left}
.shell[data-role="admin"] .lead-followup-line>[data-note-value]{min-width:0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;text-align:left;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
@media(max-width:1100px){.shell[data-role="admin"] .has-separate-columns>.lead-followup-summary{grid-column:1/-1;border-right:0}}

/* Customer consultation time on order cards. */
.compact-lead .lead-owner .lead-customer-consultation{color:#3268f5}

/* Keep the copy control beside the identifier, like a small superscript. */
.lead-code-group{position:relative;display:inline-flex;align-self:center;max-width:100%;line-height:inherit}
.shell[data-role="admin"] .lead-code-group>.lead-code{cursor:pointer;text-decoration:none!important}
.shell[data-role="admin"] .lead-code-group>.lead-code:hover{text-decoration:none!important}
.lead-code-group>.lead-code-copy{top:-6px;right:-16px;width:16px;height:16px;padding:1px}

/* Use one layout for order and follow-up details, with editing on values only. */
.shell[data-role="admin"] .lead-order-details,
.shell[data-role="admin"] .lead-followup-summary{justify-content:flex-start;align-items:stretch;gap:5px;text-align:left}
.shell[data-role="admin"] .lead-order-details>.lead-order-line,
.shell[data-role="admin"] .lead-followup-summary>.lead-followup-line{grid-template-columns:76px minmax(0,1fr);align-items:start;gap:4px;font-size:11px;line-height:1.6;text-align:left}
.shell[data-role="admin"] .lead-field-value{display:block;min-width:0;align-self:start;justify-self:stretch;font-size:11px;line-height:1.6;text-align:left;white-space:pre-wrap;overflow:visible;text-overflow:clip}
.shell[data-role="admin"] .lead-field-value>[data-note-value]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;min-width:0;overflow:hidden;overflow-wrap:anywhere;white-space:pre-wrap;text-align:left;font-size:11px;line-height:1.6}

/* Two-line list previews retain the full text for hover and editing. */
.shell[data-role="admin"] #leads .lead-list-text{display:block!important;-webkit-line-clamp:unset!important;line-clamp:unset;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;overflow-wrap:normal;min-width:0;max-width:100%}
.shell[data-role="admin"] #leads .lead-location>[data-note-edit]{min-width:0;max-width:100%}
.shell[data-role="admin"] #leads .lead-order-line>[data-note-edit],
.shell[data-role="admin"] #leads .lead-followup-line>[data-note-edit]{min-width:0;max-width:100%}

.lead-field-popup-body>select{display:block;width:100%;box-sizing:border-box;font-size:16px;line-height:1.6}

/* Order and follow-up details share typography and compact row spacing. */
.shell[data-role="admin"] #leads :is(.lead-order-line,.lead-followup-line){font-size:11px;font-weight:400;line-height:18px;letter-spacing:normal;min-height:18px;align-items:start}
.shell[data-role="admin"] #leads :is(.lead-order-line,.lead-followup-line)>.compact-label{grid-row:auto}
.shell[data-role="admin"] #leads :is(.lead-order-line,.lead-followup-line) :is(.compact-label,.lead-field-value,[data-note-value],.claim-date-value,.muted,.contact-line){font-family:inherit;font-size:11px;font-weight:400;line-height:18px;letter-spacing:normal;text-align:left;margin:0}
.shell[data-role="admin"] #leads :is(.lead-order-line,.lead-followup-line) :is(.lead-field-value,[data-note-value],.claim-date-value,.muted){color:var(--text)}
.shell[data-role="admin"] #leads .lead-order-line .contact-line{align-items:flex-start;flex-wrap:nowrap;gap:4px}
.shell[data-role="admin"] #leads .lead-order-line .contact-value{min-width:0}
.shell[data-role="admin"] #leads .lead-order-line .contact-toggle{width:16px;height:16px;min-width:16px;min-height:16px;padding:0;margin:1px 0 0;border-radius:4px;box-sizing:border-box}
.shell[data-role="admin"] #leads .lead-order-line .contact-toggle .icon{width:12px;height:12px}

.lead-text-tooltip{position:fixed;z-index:1200;width:max-content;max-width:min(360px,calc(100vw - 16px));max-height:min(320px,45vh);overflow:auto;box-sizing:border-box;padding:9px 12px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--text);box-shadow:0 4px 18px #15284d26;font-size:12px;font-weight:400;line-height:1.6;text-align:left;white-space:pre-wrap;overflow-wrap:anywhere;user-select:text}
.shell[data-role="admin"] .lead-scroll-top{display:none!important}
.shell[data-role="admin"] .lead-frozen-panel>.lead-columns-scroll{overflow-x:clip;scrollbar-width:none}
.shell[data-role="admin"] .lead-columns-scroll::-webkit-scrollbar{height:0}
.shell[data-role="admin"] #leads .lead-identity>.lead-location{min-width:0;max-width:100%;width:100%}
.shell[data-role="admin"] #leads .lead-location>[data-note-edit]{min-width:0;flex:0 1 auto;max-width:100%}
.shell[data-role="admin"] .lead-frozen-panel .filters{flex-direction:column;align-items:stretch;gap:12px}
.shell[data-role="admin"] .lead-frozen-panel .filters>.tabs{flex:0 0 auto;width:100%;max-width:100%;justify-content:flex-start;flex-wrap:wrap;order:0}
.shell[data-role="admin"] .lead-filter-controls{display:flex;flex-wrap:wrap;align-items:center;gap:12px;width:100%;min-width:0}
.shell[data-role="admin"] .lead-filter-controls>.search-box{flex:1 1 240px;min-width:180px;max-width:none;margin-left:0;order:0}
.shell[data-role="admin"] .lead-filter-controls>label:not([hidden]){flex:0 1 auto;max-width:100%;margin:0}
@media(max-width:700px){.shell[data-role="admin"] .lead-filter-controls{gap:9px}.shell[data-role="admin"] .lead-filter-controls>.search-box{flex-basis:100%;min-width:0}}

.lead-followup-select{width:100%;max-width:120px;min-width:0;min-height:28px;padding:4px 18px 4px 5px;border:1px solid var(--line);border-radius:5px;background:var(--surface);color:var(--primary);font-size:11px;font-weight:500;cursor:pointer}
.dispatch-assigned-label{display:block;margin-top:2px;color:var(--muted);font-size:10px}

.lead-followup-select.multiple-followers{color:#d9363e;font-weight:600;border-color:#f1c3c6}
.lead-order-status-select{width:100%;min-width:0;max-width:160px;min-height:28px;padding:4px 16px 4px 5px;border:1px solid var(--line);border-radius:5px;background:var(--surface);color:var(--text);font-size:11px;cursor:pointer}
@media(max-width:1100px){.shell[data-role="admin"] .has-separate-columns>.lead-order-status{grid-column:1/-1;border-right:0;align-items:flex-start}}

/* Keep labeled values readable when seven desktop columns no longer fit. */
@media(min-width:1101px) and (max-width:1279px){
 .shell[data-role="admin"] .lead-frozen-panel .admin-head{display:none!important}
 .shell[data-role="admin"] .lead-frozen-panel .has-separate-columns{grid-template-columns:90px minmax(0,1fr)!important}
 .shell[data-role="admin"] .has-separate-columns>.lead-identity{grid-column:2;border-right:0}
 .shell[data-role="admin"] .has-separate-columns>:is(.lead-order-details,.lead-followup-person,.lead-followup-summary,.lead-order-status,.lead-actions){grid-column:1/-1;border-right:0}
 .shell[data-role="admin"] .has-separate-columns>:is(.lead-followup-person,.lead-order-status){align-items:flex-start}
 .shell[data-role="admin"] .has-separate-columns>:is(.lead-followup-person,.lead-order-status)>.compact-label{display:block}
 .shell[data-role="admin"] .has-separate-columns>.lead-actions{justify-content:flex-start}
}


/* Editable worker availability, kept outside the scrolling order table. */
.worker-availability-popover{position:fixed;z-index:1250;width:290px;max-width:calc(100vw - 16px);box-sizing:border-box;padding:12px;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--text);box-shadow:0 6px 24px #15284d26;font-size:12px;line-height:1.6;text-align:left}
.worker-availability-popover .availability-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}
.worker-availability-popover .availability-heading .icon-button{padding:3px;min-height:24px}
.worker-availability-popover label{display:block;margin-bottom:5px}
.worker-availability-popover input{width:100%;box-sizing:border-box;min-height:36px;font-size:12px}
.worker-availability-popover .availability-help{margin:6px 0}
.worker-availability-popover .form-error:empty{display:none}
.worker-availability-popover .availability-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:9px}
.worker-availability-popover .availability-actions .button{min-height:30px;padding:5px 12px;font-size:12px}

/* Limit the two-row layout to order action buttons. */
.shell[data-role="admin"] .lead-frozen-panel[data-lead-stage="pending"] .has-separate-columns>.lead-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-flow:row;align-content:center;align-items:stretch;justify-content:stretch;gap:7px;overflow:visible;white-space:normal}
.shell[data-role="admin"] .lead-frozen-panel[data-lead-stage="pending"] .has-separate-columns>.lead-actions>button{width:100%;min-width:0;min-height:30px;max-width:none;margin:0;padding:6px 7px;font-size:11px;line-height:1.4;white-space:normal;overflow-wrap:anywhere;justify-content:center;box-sizing:border-box}
.shell[data-role="admin"] .lead-frozen-panel[data-lead-stage="pending"] .has-separate-columns>.lead-actions>button .icon{width:15px;height:15px;flex:0 0 15px}
.shell[data-role="admin"] .lead-frozen-panel[data-lead-stage="pending"] .has-separate-columns>.lead-actions>.lead-tag{display:none}

/* Availability stays editable without selecting or pushing an order. */
.dispatch-workers-modal{max-width:900px}
.dispatch-worker-table{min-width:680px}
.dispatch-worker-table th:nth-child(5){width:155px}
.dispatch-worker-availability [data-member-edit]{display:block;min-height:24px;line-height:24px;white-space:pre-wrap;cursor:text}
.dispatch-worker-availability .member-inline-editor{width:100%;min-width:0}
.dispatch-worker-availability .member-inline-editor input{width:100%;min-width:0;box-sizing:border-box}
@media(max-width:700px){.dispatch-worker-table{min-width:590px}.dispatch-worker-table th:nth-child(5){width:130px}}

.worker-availability-popover.worker-availability-tooltip{width:max-content;max-width:min(360px,calc(100vw - 16px));padding:9px 12px;pointer-events:none;white-space:pre-wrap;overflow-wrap:anywhere}

/* Scope editing and read-only cues to member management. */
#worker-detail .worker-detail-fields>dd.member-readonly{color:var(--muted);cursor:default}
#worker-detail .quote-unit{color:var(--muted);font-weight:400}
#worker-detail [data-admin-quote]{display:inline-block;min-width:64px;min-height:28px;line-height:28px;text-align:right}
.member-password-value{display:inline-block;min-width:90px;min-height:30px;line-height:30px;cursor:text}
.member-summary-table{min-width:1350px}
.member-summary-table th:nth-child(6),.member-summary-table td:nth-child(6){min-width:110px}
.member-inline-editor{z-index:40;min-height:36px;background:var(--surface);box-shadow:0 3px 14px #15284d20;border-radius:5px}
.member-inline-editor input,.member-inline-editor select{width:100%;box-sizing:border-box;min-height:36px}
.member-inline-editor .form-error{white-space:normal;background:var(--surface);max-width:360px}
.worker-media-item{padding:10px 0;border-bottom:1px solid var(--line)}
.worker-media-item video{display:block;width:100%;max-width:600px;max-height:340px;background:#111;border-radius:6px}
.worker-media-item audio{display:block;width:100%;max-width:600px}
#worker-media-form{margin-top:14px}
#worker-media-form input[type=file]{max-width:100%;width:100%}
.template-candidate{display:flex;align-items:center;flex-wrap:wrap;gap:9px;padding:10px 0;border-bottom:1px solid var(--line)}
.template-candidate span{color:var(--muted)}
.member-password-mobile{padding:8px 0}

.member-summary-table{min-width:1240px!important}
.member-summary-table th:nth-child(1){width:13%}.member-summary-table th:nth-child(2){width:5%}.member-summary-table th:nth-child(3){width:10%}.member-summary-table th:nth-child(4){width:16%}.member-summary-table th:nth-child(5){width:10%}.member-summary-table th:nth-child(6){width:8%}.member-summary-table th:nth-child(7){width:20%}.member-summary-table th:nth-child(8){width:6%}.member-summary-table th:nth-child(9){width:12%}
.member-inline-editor.inline-fitted-editor{height:36px!important;min-height:36px!important;z-index:40}

/* Admin-only customer nickname column beside the customer number. */
.shell[data-role="admin"] .lead-customer-nickname{min-width:0}
.shell[data-role="admin"] .lead-nickname-value{display:block;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
@media(max-width:1279px){.shell[data-role="admin"] .has-separate-columns>.lead-customer-nickname{grid-column:1/-1;border-right:0;align-items:flex-start}.shell[data-role="admin"] .lead-customer-nickname>.compact-label{display:block}}

/* Copy full customer nicknames with the same small icon as customer codes. */
.shell[data-role="admin"] .lead-nickname-group{position:relative;display:inline-flex;align-self:center;max-width:100%;min-width:0;box-sizing:border-box;padding-right:16px}
.shell[data-role="admin"] button.lead-nickname-value{border:0;background:transparent;padding:0;color:var(--primary);font-family:inherit;font-weight:600;line-height:inherit;text-align:center;cursor:pointer}
.shell[data-role="admin"] button.lead-nickname-value:disabled{color:var(--muted);cursor:default}
.shell[data-role="admin"] .lead-nickname-copy{top:-6px;right:0;width:16px;height:16px;padding:1px}
.shell[data-role="admin"] button.lead-nickname-value:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
@media(max-width:1279px){.shell[data-role="admin"] .lead-nickname-group{align-self:flex-start}}

/* Compact administrative group, notes and action columns. */
.shell[data-role="admin"] .lead-group-select{width:100%;max-width:80px;min-width:0;min-height:28px;padding:4px 16px 4px 5px;border:1px solid var(--line);border-radius:5px;background:var(--surface);color:var(--text);font-size:11px;cursor:pointer}
.shell[data-role="admin"] .lead-frozen-panel .has-separate-columns>.lead-actions{display:flex!important;flex-direction:column;flex-wrap:nowrap;align-items:stretch;justify-content:center;gap:7px;white-space:normal}
.shell[data-role="admin"] .lead-frozen-panel .has-separate-columns>.lead-actions>button{width:100%;min-width:0;max-width:100%;margin:0;padding:6px 5px;font-size:11px;line-height:1.4;white-space:normal;overflow-wrap:anywhere;box-sizing:border-box}
.shell[data-role="admin"] .lead-frozen-panel .has-separate-columns>.lead-actions>.lead-tag{display:none}
.shell[data-role="admin"] .has-separate-columns>[data-list-column="notes"]{min-width:0;text-align:left;align-items:stretch}
.shell[data-role="admin"] .has-separate-columns>[data-list-column="notes"]>[data-note-value]{max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden}
@media(max-width:1279px){.shell[data-role="admin"] .has-separate-columns>:is(.lead-group-created,[data-list-column="notes"]){grid-column:1/-1;border-right:0;align-items:flex-start}.shell[data-role="admin"] .lead-group-created>.compact-label,.shell[data-role="admin"] [data-list-column="notes"]>.compact-label{display:block}}

/* Persistent server-side administrative filters in the two column headers. */
.shell[data-role="admin"] .admin-head>[data-list-column] label{display:flex;flex-direction:column;align-items:stretch;gap:4px;min-width:0;font:inherit;color:inherit}
.shell[data-role="admin"] .admin-head .lead-column-filter{display:block;width:100%;min-width:0;max-width:100%;min-height:28px;padding:3px 15px 3px 4px;box-sizing:border-box;border:1px solid var(--line);border-radius:5px;background:var(--surface);color:var(--text);font-size:10px;cursor:pointer}
@media(max-width:1279px){.shell[data-role="admin"] .lead-column-filter-bar{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.shell[data-role="admin"] .lead-column-filter-bar label{display:flex;gap:5px;align-items:center;font-size:12px}.shell[data-role="admin"] .lead-column-filter-bar select{max-width:160px;min-height:30px;border:1px solid var(--line);border-radius:5px;background:var(--surface);color:var(--text)}}
@media(min-width:1280px){.shell[data-role="admin"] .lead-column-filter-bar{display:none}}

/* Excel-style checklist filters; row-level group selectors remain independent. */
.lead-excel-filter-trigger{display:inline-flex;align-items:center;justify-content:center;gap:4px;border:0;background:transparent;color:var(--muted);padding:3px 0;font:inherit;cursor:pointer;max-width:100%}
.lead-excel-filter-trigger .lead-filter-icon{width:14px;height:14px;flex:0 0 14px}
.lead-excel-filter-trigger.is-filtered{color:var(--primary);font-weight:700}.lead-excel-filter-trigger.is-filtered .lead-filter-icon{fill:var(--blue-soft)}
.lead-excel-filter-trigger:hover{color:var(--primary)}
.lead-excel-filter{position:fixed;z-index:1400;box-sizing:border-box;width:276px;max-width:calc(100vw - 16px);padding:12px;border:1px solid var(--line);border-radius:7px;background:var(--surface);color:var(--text);box-shadow:0 6px 24px #15284d30;display:flex;flex-direction:column;gap:9px;font-size:12px;text-align:left}
.lead-excel-title{font-weight:700;font-size:13px}.lead-excel-reset{border:0;background:none;color:var(--primary);padding:0;text-align:left;font:inherit;cursor:pointer}
.lead-excel-search{width:100%;box-sizing:border-box;min-height:31px;padding:5px 8px;border:1px solid var(--line);border-radius:4px;background:var(--surface);color:var(--text);font:inherit}
.lead-excel-tools{display:flex;align-items:center;justify-content:space-between;padding-bottom:6px;border-bottom:1px solid var(--line)}
.lead-excel-tools label,.lead-excel-options label{display:flex;align-items:center;gap:7px;cursor:pointer;min-width:0}
.lead-excel-tools button{border:0;background:none;color:var(--primary);font:inherit;cursor:pointer}
.lead-excel-filter input[type=checkbox]{width:14px;height:14px;min-height:0;flex:0 0 14px;margin:0;accent-color:var(--primary)}
.lead-excel-options{max-height:220px;min-height:32px;overflow:auto;overscroll-behavior:contain}.lead-excel-options label{padding:6px 4px;border-radius:3px}.lead-excel-options label:hover{background:var(--blue-soft)}
.lead-excel-options label>span{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lead-excel-options small,.lead-excel-count{color:var(--muted)}
.lead-excel-footer{display:flex;justify-content:flex-end;gap:7px;border-top:1px solid var(--line);padding-top:9px}.lead-excel-footer .button{padding:5px 12px;min-height:29px;font-size:12px}
.lead-excel-filter-trigger:focus-visible{outline:2px solid var(--primary);outline-offset:2px}

/* Keep filter header text and icon on one line. */
.shell[data-role="admin"] .admin-head .lead-excel-filter-trigger{white-space:nowrap;flex-wrap:nowrap}
.shell[data-role="admin"] .admin-head .lead-excel-filter-trigger>span{padding:0;white-space:nowrap;flex:0 0 auto}

/* Mobile administrators can read and dial an authorized customer number directly. */
@media(max-width:700px){
 .shell[data-role="admin"] #leads .contact-line>.admin-contact-call,
 .shell[data-role="admin"] .app-home-leads .contact-line>.admin-contact-call{
  display:inline-flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:4px;
  box-sizing:border-box;max-width:100%;min-height:36px;padding:7px 9px;
  border:1px solid #2563eb;border-radius:8px;background:#2563eb;color:#fff;
  font-family:inherit;font-size:12px;font-weight:600;line-height:18px;text-decoration:none;
  white-space:normal;overflow-wrap:anywhere;touch-action:manipulation;
 }
 .shell[data-role="admin"] .admin-contact-call .icon{width:14px;height:14px;flex:0 0 14px}
 .shell[data-role="admin"] .admin-contact-call:active{background:#1d4ed8;border-color:#1d4ed8}
 .shell[data-role="admin"] .admin-contact-call:focus-visible{outline:2px solid #60a5fa;outline-offset:2px}
}
/* Keep the mobile management card close to the worker card's compact footprint. */
@media(max-width:700px){
 .shell[data-role="admin"] .lead-frozen-panel .has-separate-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0;min-height:0}
 .shell[data-role="admin"] .lead-frozen-panel .has-separate-columns>.lead-cell{min-width:0;min-height:0;padding:7px 10px;gap:3px}
 .shell[data-role="admin"] .lead-frozen-panel .has-separate-columns>.lead-customer-code{grid-column:1;align-items:flex-start;border-right:1px solid var(--line);padding:7px 10px}
 .shell[data-role="admin"] .lead-frozen-panel .has-separate-columns>.lead-customer-nickname{grid-column:2;align-items:flex-start;padding:7px 10px}
 .shell[data-role="admin"] .lead-frozen-panel .lead-customer-code>.compact-label,
 .shell[data-role="admin"] .lead-frozen-panel .lead-customer-nickname>.compact-label{display:none}
 .shell[data-role="admin"] .lead-frozen-panel .has-separate-columns>.lead-identity{grid-column:1/-1;display:flex;align-items:flex-start;justify-content:flex-start;text-align:left;padding:8px 10px;gap:3px;border-right:0}
 .shell[data-role="admin"] .lead-frozen-panel .lead-identity .lead-location{font-size:14px;line-height:20px;justify-content:flex-start;text-align:left}
 .shell[data-role="admin"] .lead-frozen-panel .lead-identity .order-distance{font-size:11px;line-height:16px}
 .shell[data-role="admin"] .lead-frozen-panel .has-separate-columns>.lead-order-details{grid-column:1/-1;padding:8px 10px;gap:4px;border-right:0}
 .shell[data-role="admin"] .lead-frozen-panel .lead-order-details>.lead-order-line{grid-template-columns:64px minmax(0,1fr);gap:4px}
 .shell[data-role="admin"] .has-separate-columns:not(.mobile-details-expanded) .lead-order-line[data-order-field="consultation"],
 .shell[data-role="admin"] .has-separate-columns:not(.mobile-details-expanded)>:is(.lead-followup-summary){display:none!important}
 .shell[data-role="admin"] .lead-frozen-panel .has-separate-columns>:is(.lead-followup-person,.lead-order-status){grid-column:auto;align-items:stretch;justify-content:center;padding:6px 10px;border-top:1px solid var(--line);border-right:0}
 .shell[data-role="admin"] .lead-frozen-panel .lead-followup-person>.compact-label{display:none}
 .shell[data-role="admin"] .lead-frozen-panel .lead-followup-person :is(select,button),
 .shell[data-role="admin"] .lead-frozen-panel .lead-order-status-select{min-height:30px;font-size:11px;max-width:100%}
 .shell[data-role="admin"] .lead-frozen-panel .has-separate-columns>.lead-actions{display:flex!important;grid-column:1/-1;flex-direction:row;flex-wrap:nowrap;align-items:stretch;justify-content:flex-start;gap:6px;padding:8px 10px;overflow:visible}
 .shell[data-role="admin"] .lead-frozen-panel .has-separate-columns>.lead-actions>button{flex:1 1 0;width:0;min-width:0;min-height:34px;max-width:none;padding:6px 3px;border:1px solid #2563eb;border-radius:7px;background:#2563eb;color:#fff;font-size:11px;line-height:16px;white-space:nowrap;justify-content:center;gap:3px;box-shadow:none}
 .shell[data-role="admin"] .lead-frozen-panel .has-separate-columns>.lead-actions>button .icon{width:13px;height:13px;flex:0 0 13px}
 .shell[data-role="admin"] .lead-frozen-panel .has-separate-columns>.lead-actions>button:active{background:#1d4ed8;border-color:#1d4ed8}
}

/* Mobile contact values copy independently from the call action. Notes remain visible. */
@media(max-width:700px){
 .shell[data-role="admin"] #leads .lead-contact .contact-line{flex-wrap:wrap;align-items:center;gap:6px}
 .shell[data-role="admin"] .admin-contact-copy{border:0;background:transparent;color:var(--text);padding:4px 0;font:inherit;font-size:12px;line-height:20px;cursor:pointer;text-align:left;user-select:text;overflow-wrap:anywhere}
 .shell[data-role="admin"] .admin-contact-copy:focus-visible{outline:2px solid #60a5fa;outline-offset:2px}
 .shell[data-role="admin"] #leads .contact-line>.admin-contact-call{min-height:32px;padding:5px 8px;font-size:11px;gap:4px;flex-shrink:0}
 .shell[data-role="admin"] .lead-frozen-panel .has-separate-columns>[data-list-column="notes"]{display:grid!important;grid-column:1/-1;grid-template-columns:38px minmax(0,1fr);gap:6px;align-items:start;padding:7px 10px;border-top:1px solid var(--line)}
 .shell[data-role="admin"] .lead-frozen-panel .has-separate-columns>[data-list-column="notes"]>.compact-label{display:block;font-size:11px;line-height:18px}
 .shell[data-role="admin"] .lead-frozen-panel .has-separate-columns>[data-list-column="notes"]>[data-note-value]{display:block;-webkit-line-clamp:unset;overflow:visible;white-space:pre-wrap;font-size:11px;line-height:18px}
}

/* Mobile administrators can change group status directly on each compact card. */
@media(max-width:700px){
 .shell[data-role="admin"] .lead-frozen-panel .has-separate-columns>.lead-group-created{display:flex!important;grid-column:1/-1;flex-direction:row;align-items:center;justify-content:flex-start;gap:9px;padding:6px 10px;border-top:1px solid var(--line);border-right:0}
 .shell[data-role="admin"] .lead-frozen-panel .lead-group-created>.compact-label{display:block;font-size:11px;line-height:18px;margin:0}
 .shell[data-role="admin"] .lead-frozen-panel .lead-group-created>.lead-group-select{width:72px;max-width:72px;min-height:30px;font-size:11px}
}

/* Align mobile administrator labels and values to consistent column edges. */
@media(max-width:700px){
 .shell[data-role="admin"] .lead-frozen-panel .has-separate-columns{--mobile-order-label:64px;--mobile-order-gap:8px}
 .shell[data-role="admin"] .lead-frozen-panel .has-separate-columns :is(.lead-customer-code,.lead-customer-nickname,.lead-identity,.lead-order-details,.lead-group-created,[data-list-column="notes"],.lead-followup-person,.lead-order-status){text-align:left;box-sizing:border-box}
 .shell[data-role="admin"] .lead-frozen-panel .has-separate-columns :is(.lead-code-group,.lead-nickname-group){align-self:flex-start;justify-content:flex-start;text-align:left}
 .shell[data-role="admin"] .lead-frozen-panel .has-separate-columns .lead-nickname-value{text-align:left}
 .shell[data-role="admin"] .lead-frozen-panel .has-separate-columns .lead-order-details>.lead-order-line,
 .shell[data-role="admin"] .lead-frozen-panel .has-separate-columns>.lead-group-created,
 .shell[data-role="admin"] .lead-frozen-panel .has-separate-columns>[data-list-column="notes"]{display:grid!important;grid-template-columns:var(--mobile-order-label) minmax(0,1fr);column-gap:var(--mobile-order-gap);row-gap:0;justify-content:stretch;align-items:start}
 .shell[data-role="admin"] .lead-frozen-panel .has-separate-columns .lead-order-details>.lead-order-line[data-order-field="consultation"]{display:none!important}
 .shell[data-role="admin"] .lead-frozen-panel .has-separate-columns :is(.lead-order-line,.lead-group-created,[data-list-column="notes"])>.compact-label{display:block;grid-column:1;grid-row:1;min-width:0;margin:0;padding:0;line-height:20px;font-size:11px;font-weight:400;text-align:left;white-space:nowrap;align-self:start}
 .shell[data-role="admin"] .lead-frozen-panel .has-separate-columns :is(.lead-order-line,.lead-group-created,[data-list-column="notes"])>:not(.compact-label){grid-column:2;min-width:0;max-width:100%;margin:0;text-align:left;justify-self:stretch}
 .shell[data-role="admin"] .lead-frozen-panel .has-separate-columns .lead-order-line :is(.lead-field-value,[data-note-value],.contact-value){font-size:11px;font-weight:400;line-height:20px;letter-spacing:normal;text-align:left}
 .shell[data-role="admin"] #leads .has-separate-columns .lead-contact .contact-line{justify-content:flex-start;align-items:center;column-gap:7px;row-gap:5px;margin:0;padding:0}
 .shell[data-role="admin"] .lead-frozen-panel .has-separate-columns .admin-contact-copy{margin:0;padding:0;font-size:11px;line-height:20px;letter-spacing:normal;align-self:center;text-align:left}
 .shell[data-role="admin"] .lead-frozen-panel .has-separate-columns .lead-group-created>.compact-label{align-self:center}
 .shell[data-role="admin"] .lead-frozen-panel .has-separate-columns>.lead-group-created>.lead-group-select{justify-self:start;width:72px;max-width:72px;margin:0}
 .shell[data-role="admin"] .lead-frozen-panel .has-separate-columns>[data-list-column="notes"]>[data-note-value]{font-size:11px;line-height:20px;margin:0;padding:0;align-self:start}
 .shell[data-role="admin"] .lead-frozen-panel .has-separate-columns>:is(.lead-followup-person,.lead-order-status){align-items:stretch;justify-content:flex-start;text-align:left}
 .shell[data-role="admin"] .lead-frozen-panel .has-separate-columns :is(.lead-followup-person,.lead-order-status) select{margin:0;text-align:left;box-sizing:border-box;line-height:18px;min-height:30px}
 .shell[data-role="admin"] .lead-frozen-panel .has-separate-columns>.lead-actions>button{align-items:center;justify-content:center;text-align:center;min-height:34px;line-height:18px}
}

/* A real narrow viewport reuses the complete mobile layout on desktop. */
.display-mode-switch{white-space:nowrap;margin-right:10px}
body.desktop-mobile-display{overflow:hidden}
.desktop-mobile-host{height:100dvh;display:flex;flex-direction:column;align-items:center;background:var(--bg,#f3f6fc)}
.desktop-mobile-toolbar{flex:0 0 60px;box-sizing:border-box;width:100%;display:flex;align-items:center;justify-content:space-between;padding:10px 24px;background:var(--surface);border-bottom:1px solid var(--line);color:var(--text)}
.desktop-mobile-frame{display:block;flex:1 1 auto;min-height:0;width:420px;max-width:100%;border:0;background:var(--surface);box-shadow:0 0 24px #15284d14}

@media(max-width:700px){.display-mode-switch{display:none}.desktop-mobile-toolbar{padding:8px 12px}}

/* The contact label, number and dial action share one centered horizontal line. */
@media(max-width:700px){
 .shell[data-role="admin"] .lead-frozen-panel .has-separate-columns .lead-order-details>.lead-order-line.lead-contact{align-items:center!important}
 .shell[data-role="admin"] .lead-frozen-panel .has-separate-columns .lead-order-line.lead-contact>.compact-label{align-self:center!important;line-height:20px;margin:0;padding:0}
 .shell[data-role="admin"] #leads .has-separate-columns .lead-contact .contact-line{display:flex;align-items:center!important;justify-content:flex-start;gap:7px}
 .shell[data-role="admin"] .lead-frozen-panel .has-separate-columns .lead-contact .admin-contact-copy{align-self:center;display:inline-flex;align-items:center;min-height:32px;margin:0;padding:0;line-height:20px}
 .shell[data-role="admin"] #leads .lead-contact .admin-contact-call{align-self:center;align-items:center;justify-content:center;margin:0;vertical-align:middle}
 .shell[data-role="admin"] #leads .lead-contact .admin-contact-call>span{display:block;line-height:20px}
}
