:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:#172b45;background:#f3f6fb;font-size:14px;--blue:#0759ab;--border:#dce4ee;--muted:#66788d}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{outline-offset:3px}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}a{color:inherit}h1,h2,h3,p{margin:0}h1{font-size:29px;letter-spacing:-.7px;font-weight:650}h2{font-size:18px;font-weight:650}h3{font-size:16px}p{line-height:1.6}.muted{color:var(--muted)}.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:750;color:var(--muted)}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;font-size:22px;font-weight:750;letter-spacing:-.7px;white-space:nowrap}.brand img{width:38px;height:38px}.brand b{font-size:14px;font-weight:500;letter-spacing:0;margin-left:6px;color:var(--muted)}.topbar{height:75px;background:white;border-bottom:1px solid var(--border);padding:0 28px;display:flex;align-items:center;gap:34px}.top-context{font-size:12px;color:#677b92;border-left:1px solid var(--border);padding-left:28px}.top-right{margin-left:auto;display:flex;align-items:center;gap:24px}.private-pill{font-size:11px;color:#557668;background:#edf7f1;padding:7px 10px;border-radius:20px}.profile{display:flex;align-items:center;gap:10px;border:0;background:none;text-align:left}.profile small{display:block;font-size:10px;color:var(--muted);margin-top:3px}.avatar{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;background:#eaf2fc;border:1px solid #d4e5f7;color:#28649a;border-radius:50%;font-weight:650;font-size:12px;flex-shrink:0}.avatar.small{width:32px;height:32px;font-size:10px}.workspace-bar{background:white;height:49px;display:flex;align-items:center;padding:0 28px;gap:20px;border-bottom:1px solid var(--border)}.app-grid{font-size:27px;color:var(--blue)}.workspace-bar>strong{padding-right:24px;border-right:1px solid var(--border);font-size:15px}.workspace-bar nav{display:flex;height:100%;gap:8px}.nav-tab{border:0;border-bottom:3px solid transparent;background:none;padding:0 13px;color:#5b6d82;font-size:12px;font-weight:550}.nav-tab:hover{background:#f4f8fd}.nav-tab.active{border-color:var(--blue);color:var(--blue);background:#f7faff}.workspace{display:flex;min-height:calc(100vh - 124px)}.sidebar{width:204px;flex-shrink:0;background:#fff;border-right:1px solid var(--border);padding:26px 15px;display:flex;flex-direction:column;gap:8px}.sidebar>.eyebrow{font-size:9px;padding:0 9px;margin-bottom:8px}.channel-nav{border:1px solid transparent;background:none;border-radius:7px;min-height:53px;padding:11px 13px;text-align:left;display:flex;align-items:center;gap:9px;font-size:11px;color:#536b84;font-weight:600}.channel-nav.active{background:#edf4ff;border-color:#c9dff7}.channel-nav:hover{background:#f5f8fc}.channel-logo{max-width:145px;height:38px;object-fit:contain;object-position:left center}.channel-nav img{max-width:135px;height:29px}.channel-nav img[src*=medimax]{height:34px;width:135px}.mini-grid{font-size:24px}.sidebar-foot{margin-top:auto;padding:40px 8px 0;font-size:10px;color:#6d7e91}.sidebar-foot small{display:block;margin:7px 0 0 12px;color:#8795a5}.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#32a26c;margin-right:6px}.main{padding:30px 34px 45px;min-width:0;width:100%;max-width:1600px;margin:0 auto}.page-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:25px}.breadcrumb{font-size:10px;color:#8594a5;margin-bottom:8px}.page-head h1{margin-bottom:7px}.page-head>.muted,.page-head p.muted{font-size:12px}.primary,.secondary{border-radius:6px;padding:10px 15px;min-height:38px;font-weight:600;font-size:12px;border:1px solid var(--blue);white-space:nowrap}.primary{background:var(--blue);color:white}.primary:hover{background:#034889}.secondary{background:white;color:#285583;border-color:#cbd8e6}.secondary:hover{background:#eef5fc}.compact{padding:6px 9px;min-height:29px;font-size:10px}.wide{width:100%;display:flex;justify-content:space-between;align-items:center}.text-button{border:0;background:none;color:var(--blue);padding:10px 0;font-size:12px;text-align:left;font-weight:600}.danger{color:#b53748}.welcome{display:flex;justify-content:space-between;align-items:center;padding:30px 35px;border-radius:9px;background:linear-gradient(110deg,#e6effb,#f5f9ff);border:1px solid #d3e3f5;margin-bottom:28px}.welcome .eyebrow{color:#326db1;margin-bottom:13px}.welcome h2{font-size:29px;letter-spacing:-.6px;line-height:1.3}.welcome p:last-child{margin-top:13px;color:#62758b;font-size:12px}.welcome-mark{background:#d9e9ff;border:14px solid #e8f2ff;border-radius:50%;width:155px;height:155px;display:flex;flex-direction:column;justify-content:center;align-items:center;transform:rotate(-7deg);color:#1f65ad}.welcome-mark span{font-size:34px;font-weight:800;letter-spacing:-2px}.welcome-mark small{font-size:8px;letter-spacing:2px;margin-top:5px}.section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.section-title h2{font-size:16px}.section-title>span{font-size:10px;color:var(--muted)}.channel-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.channel-card{background:white;border:1px solid var(--border);border-top:3px solid #df001b;border-radius:8px;padding:24px 22px;text-align:left;color:#2b4059;box-shadow:0 2px 4px #17345203}.channel-card:hover{box-shadow:0 5px 18px #17345212;transform:translateY(-1px)}.channel-card.euronics{border-top-color:#003b80}.channel-card.expert{border-top-color:#ef7d00}.channel-card.leh{border-top-color:#157259}.logo-wrap{height:48px;display:flex;align-items:center;margin-bottom:12px}.logo-wrap img{height:42px;max-width:178px}.logo-wrap img[src*=medimax]{height:50px;width:170px}.card-sub{display:block;color:#8b99a8;font-size:10px}.card-line{border-top:1px solid #edf0f5;display:flex;justify-content:space-between;align-items:center;margin-top:17px;padding-top:14px;font-size:10px;color:#697e96}.card-line b{font-size:20px;font-weight:400;color:#0759ab}.home-bottom{display:grid;grid-template-columns:1.2fr 1fr;gap:18px;margin-top:24px}.panel{border:1px solid var(--border);border-radius:8px;background:white;padding:24px}.panel-head{display:flex;gap:10px;align-items:center;margin-bottom:14px}.icon-box{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;background:#edf4ff;color:#236eb8;border:1px solid #dbe8f9;border-radius:8px;font-size:19px}.panel p{font-size:12px;color:var(--muted)}.notice{background:#f3f7fc;border:1px solid #e1e9f3;border-radius:5px;padding:12px 14px;color:#617792;font-size:11px;line-height:1.6;margin-top:16px}.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:23px}.stat{padding:21px 24px;border:1px solid var(--border);background:white;border-radius:8px;display:flex;flex-direction:column;gap:8px}.stat>span{color:#647a92;font-size:11px}.stat strong{font-size:30px;font-weight:600;color:#1f5c96}.stat small{color:#8a97a7;font-size:10px}.list-panel{padding:0;overflow:hidden}.list-toolbar{display:flex;align-items:center;gap:12px;justify-content:space-between;padding:18px 22px;border-bottom:1px solid var(--border)}.list-toolbar strong{font-size:13px}.list-toolbar>div:first-child{display:flex;align-items:center;gap:10px}.badge{padding:3px 7px;border-radius:20px;font-size:10px;background:#edf3fb;color:#6e839b}.search{display:flex;align-items:center;gap:8px;margin-left:auto}.search span{font-size:20px;color:#8192a5}.search input{width:230px;height:33px;font-size:11px}.list-toolbar select{width:135px;font-size:11px;height:33px}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left}th{background:#f7f9fc;font-size:9px;color:#6d7e92;letter-spacing:.5px;font-weight:650;text-transform:uppercase;padding:14px 20px;white-space:nowrap}td{border-top:1px solid #edf0f5;padding:19px 20px;font-size:11px}tr:hover td{background:#fbfdff}.person{display:flex;align-items:center;gap:10px}.person strong{font-size:11px}.person small{display:block;color:#8a98a8;font-size:10px;margin-top:5px}.role{font-size:10px;border-radius:5px;padding:4px 8px;background:#f0f3f7;color:#6b7c91}.role.admin{background:#edf2ff;color:#5765a7}.status{font-size:9px;font-weight:600;padding:5px 8px;border-radius:20px;white-space:nowrap}.status.active{background:#eaf7ef;color:#248257}.status.pending{background:#fff5df;color:#997020}.status.blocked{background:#fbecef;color:#ad4254}.permission-chips{display:flex;flex-wrap:wrap;gap:4px;max-width:180px}.permission-chips span{font-size:9px;background:#f3f6fb;border:1px solid #e6ebf2;color:#5d7794;padding:3px 5px;border-radius:4px}.nowrap{white-space:nowrap}.table-foot{font-size:10px;color:#8797a9;padding:15px 22px;border-top:1px solid var(--border)}.no-results{text-align:center;padding:35px;color:var(--muted)}.empty{padding:65px 20px;text-align:center}.empty-symbol{color:#88abd0;background:#f0f6fc;display:inline-flex;align-items:center;justify-content:center;font-size:33px;width:70px;height:70px;border-radius:50%;margin-bottom:17px}.empty p{max-width:440px;margin:14px auto 20px}.auth-page{display:grid;grid-template-columns:1fr 1fr;min-height:100vh}.auth-intro{padding:50px 60px;color:white;background:linear-gradient(145deg,#092e58,#074e91);display:flex;flex-direction:column;justify-content:space-between;gap:45px}.auth-intro .brand img{border:1px solid #4386c0;border-radius:10px}.auth-intro .brand b{color:#b3d1ed}.auth-intro h1{font-size:44px;line-height:1.2;font-weight:650;margin:20px 0}.auth-intro p{color:#b8d2e9;font-size:14px;max-width:430px}.auth-intro .eyebrow{color:#88bce7;font-size:10px}.auth-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:30px}.auth-chips span{padding:8px 11px;border:1px solid #4d79a5;border-radius:6px;font-size:10px;color:#dfecfa}.auth-foot{font-size:10px!important;color:#8cb3d6!important}.auth-side{display:flex;align-items:center;justify-content:center;padding:35px;background:#f6f9fd}.auth-card{width:370px}.auth-card>.icon-box{margin-bottom:18px;width:45px;height:45px;font-size:23px}.auth-card h2{font-size:25px;letter-spacing:-.5px}.auth-card>p{font-size:12px;color:var(--muted);margin:12px 0 23px}.auth-card form label{margin-bottom:15px}.private-note{display:flex;align-items:center;gap:8px;font-size:10px;margin-top:28px;padding-top:20px;border-top:1px solid var(--border);color:#8a9aab}.private-note span{color:#527c98}.form-error{color:#b92b45;font-size:12px;line-height:1.5;margin-bottom:14px}.form-error:empty{display:none}label:not(.search):not(.checkbox){display:block;font-size:11px;font-weight:600;color:#52677e}input:not([type=checkbox]),select{display:block;width:100%;border:1px solid #cfdce9;border-radius:5px;height:40px;background:#fff;padding:8px 11px;color:#203a58;margin-top:7px}input:focus,select:focus{outline:2px solid #91bdeb;border-color:#4281bd}label small{display:block;font-size:10px;color:#8a9aab;font-weight:400;margin-top:7px;line-height:1.4}fieldset{border:0;padding:0;margin:21px 0}legend{font-size:12px;font-weight:650;margin-bottom:5px}fieldset p{font-size:11px}.check-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-top:15px}.checkbox{display:flex;align-items:center;gap:8px;font-size:12px;color:#4d647d;cursor:pointer}.checkbox input{width:16px;height:16px;accent-color:var(--blue)}dialog{border:1px solid #cfdae7;border-radius:12px;padding:0;width:min(570px,calc(100vw - 28px));max-height:90vh;box-shadow:0 24px 90px #081c4d40}dialog::backdrop{background:#0b244e77;backdrop-filter:blur(2px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;padding:20px 25px;background:#f7faff;border-bottom:1px solid var(--border)}.dialog-head h2{font-size:19px}.close{background:none;border:0;color:#708198;font-size:28px;padding:0 4px}.dialog-body{padding:24px 25px}.dialog-body>p{font-size:12px;margin-bottom:18px}.dialog-body form>label{margin:16px 0}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.reset-area{margin-top:25px;padding-top:16px;border-top:1px solid var(--border)}.reset-area p{font-size:11px}.profile-summary{margin-bottom:24px}.profile-summary strong{font-size:14px}.profile-summary small{font-size:11px}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);background:#163d64;color:white;border-radius:7px;padding:13px 20px;font-size:12px;box-shadow:0 6px 30px #17345230;opacity:0;pointer-events:none;transition:all .2s;z-index:20;max-width:90vw}#toast.visible{opacity:1;transform:translate(-50%,0)}.loading{padding:50px;color:var(--muted)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(min-width:1500px){.channel-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.channel-card{padding:22px 17px}.logo-wrap img{max-width:150px}.card-line{font-size:9px}}@media(max-width:1100px){.top-context{display:none}.brand b{display:none}.topbar{padding:0 20px}.workspace-bar{padding:0 20px;gap:12px}.workspace-bar>strong{padding-right:12px}.nav-tab{padding:0 8px;font-size:11px}.sidebar{width:170px}.sidebar img{max-width:112px}.main{padding:25px 22px}.channel-grid{grid-template-columns:repeat(2,1fr)}.welcome-mark{width:125px;height:125px}.home-bottom{grid-template-columns:1fr}.stat-grid{gap:10px}.stat{padding:18px}.search input{width:160px}.list-toolbar{padding:15px}.auth-intro{padding:40px}.auth-intro h1{font-size:36px}}@media(max-width:760px){.topbar{height:65px;padding:0 15px}.brand{font-size:20px}.private-pill{display:none}.profile>span:nth-child(2){display:none}.workspace-bar{height:auto;min-height:48px;overflow:auto;padding:0 12px;gap:10px}.workspace-bar nav{min-height:48px;gap:0}.workspace-bar>strong{display:none}.nav-tab{white-space:nowrap;padding:0 10px}.sidebar{width:130px;padding:20px 8px}.sidebar>.eyebrow{font-size:8px;letter-spacing:1px}.channel-nav{padding:8px;min-height:45px;font-size:9px}.channel-nav img{max-width:98px;height:23px}.channel-nav img[src*=medimax]{max-width:95px}.sidebar-foot{font-size:8px}.main{padding:20px 14px}.page-head{align-items:flex-start;flex-direction:column}.page-head h1{font-size:24px}.welcome{padding:20px}.welcome h2{font-size:23px}.welcome-mark{display:none}.channel-grid{grid-template-columns:1fr}.stat-grid{grid-template-columns:1fr}.stat{flex-direction:row;align-items:center;justify-content:space-between}.stat small{display:none}.list-toolbar{flex-wrap:wrap}.search{margin:0;width:100%}.search input{width:100%}.list-toolbar select{width:100%}.auth-page{grid-template-columns:1fr}.auth-intro{padding:28px;gap:28px}.auth-intro h1{font-size:29px}.auth-intro .brand b{display:inline}.auth-intro>div:nth-child(2)>p:not(.eyebrow),.auth-foot{display:none}.auth-intro h1{margin:15px 0 0}.auth-chips{margin-top:18px}.auth-side{padding:30px 25px}.auth-card{width:100%;max-width:390px}.form-grid{grid-template-columns:1fr}.check-grid{grid-template-columns:1fr 1fr}.dialog-body{padding:20px}}
/* White EURONICS lettering retains its official blue background. */
.channel-nav[data-channel=euronics] img,.channel-card.euronics img{background:#003b80;border-radius:4px;padding:7px 9px;object-position:center;}
.channel-nav[data-channel=euronics] img{height:34px;width:135px;}
.channel-card.euronics img{height:42px;width:178px;}
.logo-wrap img[src*=medimax]{height:34px;object-position:left center;}
@media(max-width:760px){.channel-nav[data-channel=euronics] img{height:29px;max-width:98px;padding:5px;}}
.brand img{width:48px;height:48px;object-fit:contain}.auth-intro .brand img{width:65px;height:65px;border:0;border-radius:0}.brand b{margin-left:0}.welcome-mark{transform:none}.welcome-mark img{width:73px;height:73px;object-fit:contain}.channel-card.b2b{border-top-color:#6654a4}
@media(max-width:600px){input:not([type=checkbox]),select{font-size:16px;min-height:44px}.primary,.secondary,.nav-tab,.profile,.close{min-height:44px}.workspace{display:block}.sidebar{width:100%;padding:10px 12px;display:flex;flex-direction:row;overflow-x:auto;gap:8px;border-right:0;border-bottom:1px solid var(--border)}.sidebar>.eyebrow,.sidebar-foot{display:none}.channel-nav{flex:0 0 auto;min-width:112px;min-height:48px}.channel-nav:first-of-type{min-width:139px}.main{padding:22px 16px 35px}.channel-grid,.home-bottom{grid-template-columns:1fr}.workspace-bar{position:sticky;top:0;z-index:2}.brand img{width:44px;height:44px}.brand b{display:inline;font-size:12px}.topbar{gap:8px}.top-right{gap:0}.welcome{padding:22px}.page-head>.primary{width:100%}.channel-card{min-height:156px}.dialog-actions{flex-wrap:wrap}.dialog-actions button{flex:1}.auth-intro{padding:24px}.auth-intro .brand img{width:52px;height:52px}.auth-side{padding:26px 20px}.auth-chips span{padding:8px}.check-grid{grid-template-columns:1fr}.checkbox{min-height:44px}.table-scroll{max-width:100%;-webkit-overflow-scrolling:touch}.dialog-body{padding-bottom:calc(20px + env(safe-area-inset-bottom))}}
.territory-bar{display:flex;align-items:center;gap:14px;background:#fff;border-bottom:1px solid var(--border);padding:10px 28px}.territory-bar label{font-size:11px;color:var(--muted)}.territory-bar select{margin:0;max-width:275px;height:36px;font-size:12px}.territory-bar>span{font-size:11px;color:var(--muted);margin-left:auto}.scope-summary{display:block;margin-top:5px;color:var(--muted);font-size:10px}fieldset>label{margin:14px 0}@media(max-width:600px){.territory-bar{padding:10px 15px;flex-wrap:wrap;gap:8px}.territory-bar select{flex:1;max-width:none;font-size:16px;min-height:44px}.territory-bar>span{width:100%;margin:0;font-size:10px}}
.area-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.area-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:20px}.area-person{display:block;font-size:16px;margin-bottom:8px}.area-panel p{font-size:11px}.area-source{margin-top:15px;font-size:10px!important;color:#8292a5!important}.area-panel>.secondary{margin-top:18px}.area-history{margin-top:24px}#assignment-form>p{font-size:11px;line-height:1.6;margin-top:14px}@media(max-width:1100px){.area-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-bar nav{overflow-x:auto;min-width:0}.workspace-bar>strong{flex-shrink:0}}@media(max-width:600px){.area-grid{grid-template-columns:1fr}.area-panel>.secondary{width:100%}.workspace-bar nav{overflow:visible}}
/* Anchor accessible labels inside their buttons so scrolled channels do not widen the page. */
.channel-nav{position:relative}.sr-only{left:0;top:0}@media(max-width:600px){.workspace-bar nav{position:relative;overflow-x:auto;flex:1}.workspace-bar{width:100%;max-width:100vw}.sidebar{max-width:100vw}}
textarea{font:inherit;width:100%;padding:12px;border:1px solid #cbd4df;border-radius:8px;resize:vertical;background:#fff;color:#172b4d}textarea:focus{outline:2px solid #487fba;outline-offset:1px}@media(max-width:600px){textarea{font-size:16px}}
.customer-summary,.score-grid,.contact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:18px 0}.customer-summary .panel p{margin-top:10px}.metric-number{display:block;font-size:29px;margin-top:15px;font-weight:650}.customer-tabs{display:flex;gap:8px;border-bottom:1px solid var(--border);margin:24px 0 18px}.customer-tabs button{background:transparent;border:0;border-bottom:3px solid transparent;padding:14px 18px;color:var(--muted)}.customer-tabs button.active{border-color:var(--blue);color:var(--blue);font-weight:650}.contact-person{margin-top:17px;border-top:1px solid var(--border);padding-top:14px}.contact-person p{margin-top:6px;font-size:12px;overflow-wrap:anywhere}.legacy-contact{margin-top:18px}.multiline{white-space:pre-wrap;overflow-wrap:anywhere}.score-section>p{margin-top:16px;font-size:12px}.fact-row{display:flex;justify-content:space-between;gap:14px;padding:14px 0;border-bottom:1px solid var(--border);font-size:12px}.fact-row strong{flex-shrink:0}.score-grid h3{margin-top:18px}.score-grid>section>button{margin-top:18px}.score-grid>section>p{margin-top:12px;font-size:12px}.source-details{margin-top:18px;font-size:11px;overflow-wrap:anywhere}.source-details summary{cursor:pointer;color:var(--blue);padding:8px 0}.source-details p{padding:12px 0;border-top:1px solid var(--border)}.customer-dialog{width:min(850px,calc(100vw - 28px))}.contact-editor{border:1px solid var(--border);border-radius:8px;padding:15px;margin:12px 0}.contact-editor-top{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:14px}.contact-editor-top label{flex:1}.customer-dialog fieldset+fieldset{padding-top:18px;border-top:1px solid var(--border)}.customer-dialog h3{margin:20px 0 14px}.customer-dialog fieldset>p{margin-top:15px}.customer-dialog .dialog-actions{position:sticky;bottom:0;background:white;padding:15px 0 5px;border-top:1px solid var(--border)}@media(max-width:600px){.customer-summary,.score-grid,.contact-grid{grid-template-columns:1fr}.customer-tabs button{min-height:44px;padding:13px 12px}.fact-row{flex-wrap:wrap}.contact-editor{padding:12px}.contact-editor-top{flex-wrap:wrap}.customer-dialog .dialog-actions{position:static}.customer-summary h2{overflow-wrap:anywhere}.metric-number{font-size:25px}}
.import-issue{margin-top:14px;padding:16px}.import-issue p{margin-top:10px;font-size:12px;overflow-wrap:anywhere}

.card-merge-field{border-bottom:1px solid #e0e5eb;padding:12px 0}.card-merge-field p{margin:8px 0}.card-merge-field label{display:block}.card-merge-field select,.card-merge-field input:not([type=checkbox]){width:100%}

.source-note{font-size:12px;overflow-wrap:anywhere}
.progress-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:18px;margin:20px 0}.progress-card progress{display:block;width:100%;height:18px;margin:16px 0;accent-color:#1565c0}.progress-card h2{margin-top:0}.progress-card .metric-number{display:block}
.visit-summary{grid-column:1/-1}.visit-summary table{min-width:480px}
.contact-filters{display:flex;flex-wrap:wrap;gap:14px;align-items:end;padding:0 20px 20px}.contact-filters label{flex:1 1 170px;margin:0}.contact-filters button{margin-bottom:0}.contact-location{display:block;color:#64748b;margin-top:5px}
.home-scan{margin-bottom:20px}.home-scan h2{margin-top:0}.scan-market-choice{display:block;width:100%;text-align:left;margin:8px 0;white-space:normal}.scan-market-choice small{display:block;margin-top:4px}
/* Sites design: OFA sales workspace, retained IONOS application and access model. */
:root{--blue:#174fc4;--border:#e4e8ef;--muted:#6a7586;color:#19243a;background:#f5f6f9;font-size:15px}body{background:#f5f6f9}button,input,select,textarea{font-family:inherit}.topbar{height:76px;padding:0 30px;gap:26px;background:#fff}.brand b{font-weight:700;color:#202c42}.top-context{color:#8892a2}.private-pill{background:#eef7f2;color:#397756}.workspace-bar{height:54px;padding:0 30px;background:#fff}.workspace-bar nav{gap:3px}.nav-tab{font-size:12px;padding:0 13px;font-weight:600}.nav-tab.active{background:#f1f5ff;color:#174fc4}.territory-bar{background:#fafbfc;padding:11px 30px}.territory-bar select{border-radius:8px}.sidebar{width:194px;padding:27px 14px;background:#fff}.channel-nav{border-radius:10px;min-height:57px}.channel-nav.active{background:#f0f4ff;border-color:#dce5fb}.main{padding:34px 34px 48px;max-width:1500px}.panel,.list-panel,.stat,.area-panel{border-radius:14px;box-shadow:0 3px 14px #24324b03}.primary,.secondary{border-radius:9px;min-height:42px;font-size:13px}.primary:hover{background:#123d98}.secondary{color:#34465f}.page-head h1{font-size:29px;font-weight:700;letter-spacing:-.9px}.page-head p.muted{font-size:13px}.breadcrumb{font-size:11px}.list-toolbar{padding:21px 23px}.list-toolbar strong{font-size:14px}.list-toolbar .search input{height:40px;font-size:13px;width:300px;margin:0}th{font-size:10px;padding:16px 20px;background:#f8f9fc}td{font-size:12px;padding:19px 20px}input:not([type=checkbox]),select,textarea{border-radius:8px}.dialog-head{background:#f8f9fc}.dialog-body>p{font-size:13px}dialog{border-radius:18px}.dialog-head h2{font-size:20px}.auth-intro{background:linear-gradient(150deg,#10213d,#153d6e);position:relative;overflow:hidden}.auth-intro:after{content:"";position:absolute;width:360px;height:360px;border:1px solid #ffffff12;border-radius:50%;right:-120px;bottom:-100px;pointer-events:none}.auth-intro .brand b{color:#fff;font-weight:600}.auth-intro h1{font-size:46px;letter-spacing:-1.7px}.auth-side{background:#f6f7fa}.auth-card{background:#fff;padding:32px;border:1px solid #e4e8ef;border-radius:20px;width:430px;box-shadow:0 18px 45px #26344808}.auth-card h2{font-weight:700}.auth-card .primary{min-height:46px}.auth-card form label{font-size:12px}.dashboard-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:26px}.dashboard-heading .eyebrow{letter-spacing:1.4px;font-size:10px;margin-bottom:12px}.dashboard-heading h1{font-size:38px;letter-spacing:-1.4px;margin-bottom:9px}.dashboard-heading p.muted{font-size:14px}.dashboard-date{font-size:12px;color:#768194;white-space:nowrap}.dashboard-hero{display:flex;align-items:center;justify-content:space-between;gap:32px;padding:36px 40px;border-radius:20px;background:linear-gradient(120deg,#152845,#224574);color:#fff;position:relative;overflow:hidden;margin-bottom:30px}.dashboard-hero>div:first-child{z-index:1}.hero-tag{font-size:10px;font-weight:700;letter-spacing:1.6px;color:#b0c8e8}.dashboard-hero h2{font-size:38px;letter-spacing:-1px;line-height:1.15;margin:16px 0}.dashboard-hero p{font-size:13px;color:#ccdaec;max-width:370px;line-height:1.75}.scan-main-button{background:#fff;color:#193653;border-color:#fff;margin-top:24px;display:inline-flex;gap:28px;align-items:center;padding:13px 18px;font-size:13px}.scan-main-button:hover{background:#e9f0fa;color:#193653;border-color:#e9f0fa}.scan-main-button span{font-size:19px}.hero-card{width:235px;min-width:200px;height:150px;background:#fff;border-radius:13px;padding:20px 23px;transform:rotate(-9deg);box-shadow:0 22px 40px #05142640;color:#182b46;position:relative;margin-right:30px}.hero-card-brand{font-weight:800;font-size:11px;letter-spacing:1px;color:#c81931}.hero-card-person{display:flex;align-items:center;gap:9px;margin:15px 0}.hero-card-person span{width:27px;height:27px;background:#e7edf5;border-radius:50%}.hero-card-person i{height:8px;width:84px;background:#cbd6e5;border-radius:5px}.hero-card-lines{display:flex;flex-direction:column;gap:6px}.hero-card-lines i{height:4px;width:120px;background:#e5ebf3;border-radius:3px}.hero-card-lines i:nth-child(2){width:100px}.hero-card-check{display:flex;align-items:center;justify-content:center;position:absolute;right:-16px;bottom:-12px;width:44px;height:44px;border-radius:50%;border:5px solid #274c78;background:#ccebdc;color:#21794f;font-size:19px}.dashboard-section-title{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:24px 0 15px}.dashboard-section-title h2{font-size:17px;letter-spacing:-.3px}.dashboard-section-title span{font-size:11px}.dashboard-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.dashboard-stat{padding:21px 19px;background:#fff;border:1px solid var(--border);border-radius:14px;display:flex;flex-direction:column;min-width:0}.dashboard-stat>span{font-size:11px;color:#6d798c}.dashboard-stat>strong{font-size:30px;letter-spacing:-1px;font-weight:700;color:#21385c;margin:15px 0 10px}.dashboard-stat>small{font-size:10px;color:#8a95a5;line-height:1.5}.dashboard-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.dashboard-action{display:flex;align-items:center;gap:13px;text-align:left;border:1px solid var(--border);background:#fff;border-radius:14px;padding:20px 17px;color:#263953;min-width:0}.dashboard-action:hover{border-color:#a5bdea;background:#fbfcff}.dashboard-action-icon{width:37px;height:37px;flex-shrink:0;background:#edf2fc;color:#365da1;display:inline-flex;align-items:center;justify-content:center;border-radius:10px;font-size:21px}.dashboard-action strong{display:block;font-size:13px}.dashboard-action small{display:block;color:#7d899a;font-size:10px;margin-top:6px;line-height:1.6}.dashboard-action>span:last-child{margin-left:auto;color:#8194b1;font-size:20px}.dashboard-note{display:flex;align-items:center;gap:12px;border-top:1px solid var(--border);margin-top:27px;padding-top:22px}.dashboard-note>span{color:#7896a1;font-size:22px}.dashboard-note p{font-size:11px;color:#7c899b;flex:1}.dashboard-note button{flex-shrink:0}.progress-card .metric-number{font-size:34px;color:#21385c}.contact-filters label{font-size:12px}
@media(max-width:1200px){.dashboard-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-actions{grid-template-columns:1fr}.hero-card{margin-right:8px;width:200px;min-width:175px}.dashboard-hero{padding:30px}.dashboard-date{display:none}.main{padding:28px 24px}.sidebar{width:170px}.dashboard-hero h2{font-size:32px}}
@media(max-width:760px){.topbar{height:65px;padding:0 16px}.workspace-bar{padding:0 12px}.main{padding:24px 16px}.auth-intro h1{font-size:32px;letter-spacing:-1px}.auth-card{padding:25px;width:100%;max-width:430px}.hero-card{display:none}.dashboard-hero{padding:27px;border-radius:16px}.dashboard-heading h1{font-size:31px}.dashboard-heading p.muted{font-size:12px}.dashboard-section-title{align-items:flex-start;flex-direction:column;gap:6px}.dashboard-note{flex-wrap:wrap}.dashboard-note p{min-width:200px}.list-toolbar .search input{width:100%}.auth-side{padding:24px 16px}}
@media(max-width:600px){.sidebar{width:100%;padding:9px 12px}.main{padding:24px 16px 38px}.territory-bar{padding:10px 16px}.workspace-bar{height:auto}.dashboard-stat-grid{gap:10px}.dashboard-stat{padding:17px 13px}.dashboard-stat>strong{font-size:27px}.dashboard-stat>span{font-size:10px;line-height:1.5}.dashboard-hero h2{font-size:32px}.dashboard-hero p{font-size:12px}.scan-main-button{width:100%;justify-content:space-between;min-height:48px;margin-top:21px}.dashboard-action{padding:18px 16px;min-height:80px}.dashboard-heading{margin-bottom:23px}.dashboard-section-title h2{font-size:17px}.page-head h1{font-size:26px}.auth-intro{padding:25px}.auth-intro h1{font-size:30px}.auth-card{padding:24px}.dashboard-note button{min-height:44px}}
.development-badge{display:block;font-size:9px;font-weight:600;color:#886021;background:#fff3d9;border-radius:4px;padding:2px 5px;margin-top:3px;line-height:1.1}.nav-tab:has(.development-badge){color:#788293}

.market-map-links{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.market-map-links a{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;min-height:44px}

.report-filters{display:flex;flex-wrap:wrap;gap:16px;align-items:end}.report-filters label{display:grid;gap:6px}.report-filters input{max-width:120px}.report-table td{max-width:380px;overflow-wrap:anywhere}@media print{.topbar,.workspace-bar,.sidebar,.territory-bar,.report-filters,.dialog-actions{display:none!important}.workspace{display:block}.main{padding:0}.table-scroll{overflow:visible}.report-table table{min-width:0;font-size:8px}.report-table td,.report-table th{padding:4px}.dashboard-stat-grid{display:flex}.panel{box-shadow:none} @page{size:A4 landscape;margin:12mm}}
/* Unified desktop and mobile workspace */
@media screen {
:root{--blue:#2858b8;--border:#e1e7ef;--muted:#69778b;background:#f4f6fa;color:#203049}
body{background:#f4f6fa}h1,h2,h3{line-height:1.25}button,a,input,select{touch-action:manipulation}button,a{transition:background-color .16s,border-color .16s,color .16s}button:focus-visible,a:focus-visible{outline:3px solid #91b6ff;outline-offset:3px}
.topbar{height:72px;padding:0 28px}.brand img{width:44px;height:44px}.brand b{font-size:16px}.profile{padding:6px 10px;border:1px solid transparent;border-radius:12px}.profile:hover{background:#f4f6fa;border-color:var(--border)}.profile small{font-size:11px;line-height:1.4}.private-pill{font-size:11px}
.workspace-bar{height:48px;padding:0 28px;gap:14px}.workspace-bar>strong{font-size:13px;padding-right:16px}.workspace-view{font-size:13px;color:var(--muted)}.workspace-menu{display:none;margin-left:auto}.territory-bar{padding:9px 28px;gap:12px}.territory-bar select{min-height:38px}.territory-bar>span{font-size:11px}
.workspace{align-items:flex-start;min-height:calc(100vh - 174px)}.sidebar{width:238px;position:sticky;top:0;min-height:calc(100vh - 174px);padding:23px 15px;gap:10px;border-right:1px solid var(--border)}.sidebar>.eyebrow,.channel-section>.eyebrow{font-size:9px;letter-spacing:1.4px;padding:0 12px;margin:0 0 9px}.workspace-navigation{display:flex;flex-direction:column;gap:3px;width:100%}.nav-tab{display:flex;align-items:center;justify-content:space-between;gap:9px;min-height:42px;padding:10px 12px;width:100%;text-align:left;border:0;border-radius:8px;font-size:12px;color:#53627a;background:transparent;white-space:normal}.nav-tab:hover{background:#f1f4fa}.nav-tab.active{background:#eaf0fc;color:#204fa8;box-shadow:inset 3px 0 #2858b8}.development-badge{display:inline-block;flex-shrink:0;font-size:8px;line-height:1.2;padding:4px 5px;margin:0;background:#f5eedf;color:#86682e;border-radius:5px}.channel-section{border-top:1px solid var(--border);padding-top:20px;margin-top:10px;display:flex;flex-direction:column;gap:4px}.channel-nav{min-height:45px;width:100%;padding:8px 12px;border-radius:8px}.channel-nav img{max-width:117px;max-height:25px}.channel-nav img[src*=medimax]{height:27px;width:117px}.channel-section>.eyebrow{margin-bottom:5px}.sidebar-foot{margin-top:20px;padding:15px 12px 0;border-top:1px solid var(--border)}
.main{padding:30px 32px 48px;max-width:1600px}.page-head{align-items:flex-start;margin-bottom:23px}.page-head h1{font-size:28px;letter-spacing:-.7px}.page-head p.muted{max-width:650px;line-height:1.6}.breadcrumb{font-size:11px;line-height:1.5}.panel{padding:24px;border-radius:13px;border-color:#e1e7ef;box-shadow:0 2px 8px #22385703}.list-panel{padding:0}.primary,.secondary{min-height:44px;padding:11px 16px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;line-height:1.3}.compact{min-height:36px;padding:8px 12px;font-size:12px}.dialog-actions{flex-wrap:wrap;gap:9px}.list-toolbar{padding:18px 20px;gap:12px;flex-wrap:wrap}.search{min-width:180px;flex:0 1 330px}.list-toolbar .search input{width:100%;height:44px;font-size:14px}.list-toolbar>strong{font-size:13px}.table-scroll{max-width:100%;overscroll-behavior-x:contain;scrollbar-width:thin}.table-scroll table{min-width:640px}th{font-size:10px;padding:14px 18px;letter-spacing:.5px}td{padding:17px 18px;font-size:13px;line-height:1.5;vertical-align:top}tbody tr:nth-child(even) td{background:#fcfdff}tbody tr:hover td{background:#f4f7fc}.scope-summary{font-size:11px;margin-top:5px;line-height:1.5}.status{font-size:10px}.customer-summary,.contact-grid,.score-grid{gap:18px}.customer-summary>section{min-width:0}.contact-person strong{font-size:14px}.contact-person p{font-size:13px}.customer-tabs{gap:6px;padding:4px;background:#eaf0f7;border:0;border-radius:10px;margin:22px 0}.customer-tabs button{border:0;border-radius:7px;padding:12px 18px;min-height:44px;font-size:13px}.customer-tabs button.active{background:#fff;box-shadow:0 2px 5px #2438570d;color:#234e9d}.fact-row{font-size:13px;line-height:1.5}.fact-row strong{max-width:50%;text-align:right;white-space:normal}.panel p{font-size:13px}.metric-number{overflow-wrap:anywhere}.market-map-links{margin:15px 0 0}.report-filters{gap:14px}.report-filters label{min-width:170px}.report-filters input{max-width:none}.report-table{padding:0;margin-top:20px}.report-table table{min-width:1000px}.dashboard-stat-grid{margin-bottom:20px}.dashboard-stat>strong{font-size:clamp(20px,2.3vw,30px);line-height:1.3;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.dashboard-stat>span{font-size:12px;line-height:1.5}.dashboard-heading h1{font-size:34px}.dashboard-hero{padding:32px 36px}.dashboard-hero h2{font-size:36px}.dashboard-actions{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-action{padding:18px 15px}.dashboard-action small{font-size:11px}.dashboard-note p{font-size:12px}.contact-filters{padding:0 20px 18px}.contact-filters label{min-width:130px}
dialog{max-height:calc(100dvh - 40px);border-radius:16px;overflow:auto}.dialog-head{position:sticky;top:0;z-index:2;background:#f8fafc;padding:18px 24px}.close{min-width:44px;min-height:44px}.dialog-body{padding:22px 24px}.dialog-head h2{font-size:19px;line-height:1.4}.form-grid{gap:16px}label:not(.search):not(.checkbox){font-size:12px;line-height:1.5}input:not([type=checkbox]),select,textarea{font-size:14px;min-height:44px;padding:10px 12px;border-radius:8px}.checkbox{line-height:1.6;min-height:40px}.check-grid{gap:10px}.contact-editor{padding:18px;background:#fafbfd}.auth-card{max-width:450px}.auth-card h2{font-size:27px}.auth-card input,.auth-card select{min-height:46px}.auth-card>p{line-height:1.65}
@media(max-width:1200px){.sidebar{width:218px;padding:20px 10px}.main{padding:26px 23px}.dashboard-actions{grid-template-columns:1fr}.dashboard-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.top-context{display:none}.page-head{flex-wrap:wrap}.page-head>.dialog-actions{margin-top:4px}}
@media(max-width:900px){.topbar{height:64px;padding:0 18px}.private-pill{display:none}.workspace-bar{height:58px;padding:0 18px}.workspace-menu{display:inline-flex;min-height:40px;padding:8px 14px}.workspace{display:block}.sidebar{display:none;position:static;width:100%;min-height:0;border-right:0;border-bottom:1px solid var(--border);padding:18px}.sidebar.menu-open{display:flex}.workspace-navigation{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.channel-section{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding-top:16px}.channel-section>.eyebrow{grid-column:1/-1}.channel-nav{border:1px solid var(--border);background:#fff;justify-content:center;text-align:center;font-size:12px}.channel-nav img,.channel-nav .mini-grid{display:none}.channel-nav .sr-only{position:static;clip:auto;clip-path:none;width:auto;height:auto;overflow:visible;white-space:normal}.sidebar-foot{display:none}.territory-bar{padding:9px 18px}.main{padding:24px 20px 40px}.dashboard-date{display:none}.page-head{gap:12px}.report-filters label{flex:1 1 180px}.table-scroll{-webkit-overflow-scrolling:touch}}
@media(max-width:600px){.topbar{padding:0 15px;gap:10px}.brand{gap:7px}.brand img{width:37px;height:37px}.brand b{font-size:13px;margin:0}.profile{padding:5px;gap:6px}.profile>span:nth-child(2){max-width:110px;font-size:12px}.profile small{font-size:9px;line-height:1.35}.avatar{width:32px;height:32px}.workspace-bar{padding:0 15px;gap:10px}.workspace-bar>strong{display:none}.app-grid{font-size:24px}.workspace-view{font-size:13px;font-weight:600;color:#33455f}.territory-bar{padding:10px 15px;flex-wrap:wrap;gap:8px}.territory-bar>span{display:none}.territory-bar label{font-size:11px}.territory-bar select{flex:1;max-width:none;min-width:0;margin:0;font-size:14px}.main{padding:22px 15px 32px}.workspace-navigation{grid-template-columns:1fr 1fr}.nav-tab{align-items:flex-start;justify-content:flex-start;flex-direction:column;gap:5px;min-height:48px;font-size:12px;padding:10px}.nav-tab:has(.development-badge){min-height:65px}.sidebar{padding:15px}.channel-section{grid-template-columns:repeat(2,minmax(0,1fr))}.page-head{margin-bottom:18px}.page-head h1{font-size:25px;overflow-wrap:anywhere}.breadcrumb{font-size:10px}.page-head p.muted{font-size:12px}.page-head>.dialog-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}.page-head>.dialog-actions>button{white-space:normal;font-size:12px;padding:10px}.page-head>.primary{width:100%}.panel{padding:19px}.list-panel,.report-table{padding:0}.list-toolbar{padding:16px;align-items:center}.list-toolbar .search{width:100%;flex:1 1 100%;margin:0}.list-toolbar .search input{font-size:16px}.list-toolbar .text-button{margin-left:auto;font-size:11px}.contact-filters{padding:0 16px 16px;gap:10px}.contact-filters label{flex-basis:100%}.contact-filters button{width:100%}.table-scroll table{min-width:600px}th,td{padding:13px 14px}td{font-size:12px}.customer-summary,.contact-grid,.score-grid{grid-template-columns:1fr;gap:13px}.customer-tabs button{flex:1;padding:12px 10px}.customer-summary h2{font-size:19px}.fact-row strong{max-width:100%}.fact-row{flex-wrap:wrap}.visit-summary table{min-width:450px}.market-map-links{display:grid;grid-template-columns:1fr 1fr}.dashboard-heading h1{font-size:29px;margin-bottom:7px}.dashboard-heading{margin-bottom:20px}.dashboard-hero{padding:26px;border-radius:15px;margin-bottom:24px}.dashboard-hero h2{font-size:31px}.dashboard-hero p{font-size:13px}.hero-card{display:none}.dashboard-stat-grid{gap:10px}.dashboard-stat{padding:16px 13px;border-radius:11px}.dashboard-stat>span{font-size:11px}.dashboard-stat>strong{font-size:25px;margin:12px 0 7px}.dashboard-action{padding:17px 14px}.dashboard-note{align-items:flex-start}.dashboard-note p{min-width:0;flex-basis:calc(100% - 40px)}.report-filters{display:grid;grid-template-columns:1fr 100px;align-items:end;gap:12px}.report-filters label{min-width:0}.report-filters button{grid-column:1/-1}.report-table table{min-width:900px}input:not([type=checkbox]),select,textarea{font-size:16px;min-height:46px}.form-grid{grid-template-columns:1fr!important}.check-grid{grid-template-columns:1fr}.dialog-head{padding:12px 16px}.dialog-head h2{font-size:17px}.dialog-body{padding:18px 16px}dialog,.customer-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 24px);border-radius:13px}.dialog-actions{gap:9px}.dialog-actions>.primary,.dialog-actions>.secondary{flex:1 1 auto;white-space:normal}.auth-intro{padding:25px 22px}.auth-intro h1{font-size:30px}.auth-side{padding:22px 15px}.auth-card{padding:23px;border-radius:15px}.auth-card h2{font-size:24px}}
@media(prefers-reduced-motion:reduce){button,a{transition:none}}
}
@media screen and (min-width:901px){.workspace-bar .workspace-menu{display:none}.sidebar{max-height:100vh;overflow-y:auto;scrollbar-width:thin}.nav-tab{font-size:12px}.nav-tab .development-badge{font-size:7px;padding:3px 4px}}
@media screen and (max-width:900px){.workspace-bar .workspace-menu{display:inline-flex}}
@media screen and (max-width:600px){table:has(#customer-rows),table:has(#contact-rows){display:block;min-width:0!important}table:has(#customer-rows) thead,table:has(#contact-rows) thead{display:none}#customer-rows,#contact-rows{display:block;padding:12px;background:#f6f8fb}#customer-rows tr,#contact-rows tr{display:block;border:1px solid var(--border);border-radius:11px;background:#fff;margin:0 0 12px;padding:5px 14px;overflow:hidden}#customer-rows td,#contact-rows td{display:block;border-top:1px solid #eff2f6;background:#fff!important;padding:10px 0;overflow-wrap:anywhere;font-size:13px}#customer-rows td:first-child,#contact-rows td:first-child{border:0;font-size:15px;padding-top:13px}#customer-rows td:nth-child(3),#customer-rows td:nth-child(4),#customer-rows td:nth-child(5){display:inline-block;width:50%;vertical-align:top;font-size:12px}#customer-rows td:last-child button{width:100%;min-height:44px}#contact-rows td:nth-child(2){color:var(--muted);padding-top:0;border:0}#contact-rows td:nth-child(5):before{content:'Telefon · ';color:var(--muted);font-size:11px}#contact-rows td:nth-child(6):before{content:'E-Mail · ';color:var(--muted);font-size:11px}#contact-rows .text-button{padding:0;min-height:32px;font-size:13px}#customer-rows .no-results,#contact-rows .no-results{padding:20px 0}}
@media screen and (max-width:900px){.sidebar.menu-open{flex-direction:column;align-items:stretch;overflow:visible}.sidebar.menu-open .channel-section{width:100%;flex-shrink:0}.sidebar.menu-open .workspace-navigation{width:100%;flex-shrink:0}}

@media screen{.dashboard-hero.customer-entry{padding:25px 30px;background:#fff;color:#203049;border:1px solid var(--border);box-shadow:0 2px 8px #22385703}.customer-entry .hero-tag{color:#69778b}.customer-entry h2{font-size:25px;margin:12px 0 10px;letter-spacing:-.5px}.customer-entry p{color:#69778b;max-width:650px}.entry-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.customer-entry .entry-actions .primary{background:#2858b8;color:#fff;border-color:#2858b8}.customer-entry .entry-actions .secondary{background:#f8fafc;font-size:12px}.quick-optional{margin:20px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border);padding:15px 0}.quick-optional summary{cursor:pointer;color:#2858b8;font-size:13px;font-weight:600}.quick-optional .form-grid{margin-top:16px}@media(max-width:600px){.dashboard-hero.customer-entry{padding:22px}.customer-entry h2{font-size:24px}.entry-actions{flex-direction:column;align-items:stretch}.entry-actions .primary{width:100%}.entry-actions .secondary{align-self:flex-start;padding:9px 13px;min-height:40px}}}
/* Sales Hub brand layer. */
@media screen {
:root{--blue:#1f4e99;--border:#e4e4e4;--muted:#747474;color:#1b1b1c;background:#f5f5f5;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif}body{background:#f5f5f5;color:#1b1b1c}.topbar{background:#111112;color:#fff;border-bottom:0;height:80px}.brand img{width:56px;height:56px}.brand b{color:#fff;font-size:17px;font-weight:600;letter-spacing:-.3px}.top-context{color:#aaa;border-color:#414141}.profile{color:#fff}.profile small{color:#b9b9b9}.profile:hover{background:#242424;border-color:#424242}.avatar{background:#333;color:#fff;border-color:#4a4a4a}.private-pill{color:#d1d1d1;background:#282828}.workspace-bar{background:#fff;border-bottom:1px solid #dedede}.app-grid{color:#1f4e99}.workspace-bar>strong,.workspace-view{color:#313131}.territory-bar{background:#efefef;border-bottom:1px solid #dfdfdf;color:#606060}.territory-bar>span{color:#747474}.sidebar{background:#fff}.sidebar>.eyebrow,.channel-section>.eyebrow{color:#8a8a8a}.nav-tab{color:#525252;border-radius:3px}.nav-tab:hover{background:#f4f4f4}.nav-tab.active{background:#eaf1fc;color:#1f4e99;box-shadow:inset 3px 0 #1f4e99}.nav-tab:has(.development-badge){color:#747474}.nav-tab.active:has(.development-badge){color:#1f4e99}.development-badge{background:#eeeae3;color:#7b6c50}.channel-nav{color:#494949;border-radius:3px}.channel-nav.active{background:#eaf1fc;border-color:#ead0cd}.channel-nav:hover{background:#f5f5f5}.sidebar-foot{color:#777}.sidebar-foot small{color:#949494}.breadcrumb{color:#888}.page-head h1{font-weight:500;letter-spacing:-.8px;color:#222}.page-head p.muted{color:#777}.panel,.list-panel,.stat,.area-panel,.dashboard-stat,.dashboard-action{border-radius:5px;box-shadow:none;border-color:#e2e2e2}.primary{background:#1f4e99;border-color:#1f4e99;color:#fff;border-radius:3px}.primary:hover{background:#173d7a;border-color:#173d7a}.secondary{color:#343434;border-color:#d6d6d6;background:#fff;border-radius:3px}.secondary:hover{background:#f2f2f2;border-color:#bcbcbc}.text-button{color:#1f4e99}.status.active{background:#eef4ef;color:#44694b}.status.pending{background:#f3eee4;color:#8b7448}.dashboard-heading h1{color:#252525;font-weight:500;letter-spacing:-1px}.dashboard-heading .eyebrow{color:#797979}.dashboard-heading p.muted{color:#727272}.dashboard-section-title h2{color:#222;font-weight:500;font-size:19px}.dashboard-section-title span{color:#888}.dashboard-hero.customer-entry{background:#1f4e99;color:#fff;border:0;border-left:4px solid #1f4e99;border-radius:4px;box-shadow:none}.customer-entry .hero-tag{color:#aaa;letter-spacing:1.8px}.customer-entry h2{font-weight:500;font-size:27px;color:#fff;letter-spacing:-.5px}.customer-entry p{color:#c5c5c5}.customer-entry .entry-actions .primary{background:#1f4e99;border-color:#1f4e99;color:#fff;border-radius:3px}.customer-entry .entry-actions .primary:hover{background:#173d7a}.customer-entry .entry-actions .secondary{background:transparent;border-color:#6c6c6c;color:#eee;border-radius:3px}.customer-entry .entry-actions .secondary:hover{background:#414143}.dashboard-stat>span{color:#777}.dashboard-stat>strong{color:#292929;font-weight:500;letter-spacing:-.6px}.dashboard-stat>small{color:#999}.dashboard-action{color:#333}.dashboard-action:hover{border-color:#cfaaa7;background:#fffafa}.dashboard-action-icon{color:#1f4e99;background:#eaf1fc;border-radius:3px}.dashboard-action>span:last-child{color:#888}.dashboard-action small{color:#888}.dashboard-note p{color:#888}.dashboard-note>span{color:#999}.progress-card .metric-number{color:#292929}.progress-card progress{accent-color:#1f4e99}.metric-number{color:#2b2b2b}.customer-tabs{background:#ededed;border-radius:4px}.customer-tabs button{border-radius:3px;color:#777}.customer-tabs button.active{color:#ad2620;box-shadow:none}.fact-row{border-color:#e9e9e9;color:#505050}.fact-row strong{color:#242424}.contact-person{border-color:#e8e8e8}.panel h2{font-weight:500}.panel p{color:#707070}.list-toolbar{border-color:#e5e5e5}.table-scroll th{background:#f2f2f2;color:#777}.table-scroll td{color:#404040;border-color:#eee}.table-scroll tbody tr:nth-child(even) td{background:#fcfcfc}.table-scroll tbody tr:hover td{background:#faf6f5}.scope-summary,.contact-location{color:#888}.role{background:#efefef;color:#666}.role.admin{background:#eaf1fc;color:#1f4e99}.permission-chips span{background:#f4f4f4;color:#666;border-color:#e5e5e5}.report-table{border-radius:4px}.report-filters label{color:#575757}.notice{background:#f6f6f6;border-color:#e5e5e5;color:#707070}.quick-optional summary{color:#1f4e99}input:not([type=checkbox]),select,textarea{border-color:#d8d8d8;color:#333;border-radius:3px}input:focus,select:focus,textarea:focus{outline:2px solid #a9c3ec;border-color:#1f4e99}.checkbox input{accent-color:#1f4e99}label:not(.search):not(.checkbox){color:#606060}button:focus-visible,a:focus-visible{outline-color:#df8f88}.contact-editor{background:#fafafa;border-color:#e4e4e4;border-radius:4px}dialog,.customer-dialog{border-radius:6px;border-color:#d9d9d9}.dialog-head{background:#f3f3f3;border-color:#e1e1e1}.dialog-head h2{font-weight:500;color:#2a2a2a}.close{color:#747474}.auth-intro{background:#242426}.auth-intro:after{border-color:#ffffff10}.auth-intro h1{font-weight:500}.auth-intro p{color:#c1c1c1}.auth-intro .eyebrow{color:#aaa}.auth-intro .brand b{color:#fff}.auth-side{background:#f4f4f4}.auth-card{border-radius:6px;box-shadow:0 12px 30px #00000006;border-color:#dedede}.auth-card h2{font-weight:500;color:#222}.auth-card>.icon-box{background:#eaf1fc;color:#1f4e99;border-color:#e9d6d3}.private-note{color:#888}.icon-box{background:#eaf1fc;color:#1f4e99;border-color:#e9d6d3}
@media(max-width:900px){.workspace-menu{background:#fff;border-color:#d1d1d1;color:#333}.sidebar.menu-open{background:#fff}.channel-nav{background:#fafafa}.channel-nav.active{background:#eaf1fc}.workspace-view{color:#333}}
@media(max-width:600px){.topbar{height:69px}.brand img{width:43px;height:43px}.brand b{font-size:13px}.profile small{color:#b9b9b9}.customer-entry h2{font-size:25px}.dashboard-heading h1{font-size:29px}.dashboard-stat>strong{font-size:26px}.dashboard-hero.customer-entry{border-radius:4px;padding:23px}.dashboard-stat,.dashboard-action{border-radius:5px}.customer-tabs{border-radius:4px}#customer-rows,#contact-rows{background:#f5f5f5}#customer-rows tr,#contact-rows tr{border-radius:5px;border-color:#e1e1e1}.auth-card{border-radius:6px}}
}
/* Top navigation, with a compact mobile menu. */
@media screen{.workspace-bar{height:auto;min-height:64px;padding:9px 24px;gap:15px;align-items:center;flex-wrap:wrap}.workspace-bar>.app-grid,.workspace-bar>strong,.workspace-bar>.workspace-view{display:none}.workspace-bar .workspace-navigation{display:flex;flex-direction:row;flex-wrap:wrap;gap:5px;width:100%;height:auto}.workspace-bar .nav-tab{width:auto;min-height:42px;padding:10px 13px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:5px;border-radius:4px;font-size:12px;border:1px solid transparent;box-shadow:none}.workspace-bar .nav-tab.active{background:#eaf1fc;color:#1f4e99;border-color:#c9d8f2;box-shadow:inset 0 -2px #1f4e99}.workspace-bar .nav-tab .development-badge{font-size:8px;padding:3px 5px}.sidebar{width:190px;min-height:calc(100vh - 195px)}.channel-section{border:0;padding-top:0;margin-top:0}.main{padding-top:28px}}
@media screen and (max-width:900px){.workspace-bar{padding:9px 18px;min-height:58px}.workspace-bar>.workspace-view{display:block;margin-right:auto}.workspace-bar .workspace-navigation{display:none;order:3}.workspace-bar.menu-open .workspace-navigation{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:10px 0}.workspace-bar .nav-tab{width:100%;min-height:48px}.workspace-bar .workspace-menu{margin-left:0}.sidebar{width:100%;min-height:0}.sidebar.menu-open{padding:15px 18px}.channel-section{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media screen and (max-width:600px){.workspace-bar{padding:9px 15px}.workspace-bar.menu-open .workspace-navigation{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-bar .nav-tab{padding:10px;font-size:12px}.workspace-bar .nav-tab:has(.development-badge){min-height:65px}.sidebar.menu-open{padding:15px}.sidebar.menu-open .channel-section{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Business email actions, including mobile contact cards. */
.email-link{color:#1f4e99;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere;display:inline-block;padding:8px 0;min-height:44px;box-sizing:border-box}.email-link:hover{color:#791713}.email-link:focus-visible{outline:2px solid #1f4e99;outline-offset:3px;border-radius:2px}

.phone-link{color:#1f4e99;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere;display:inline-block;padding:8px 0;min-height:44px;box-sizing:border-box}.phone-link:hover{color:#791713}.phone-link:focus-visible{outline:2px solid #1f4e99;outline-offset:3px;border-radius:2px}

/* Compact customer workspace, designed for touch and Home Screen use. */
.customer-workspace{max-width:1180px;margin:0 auto}.customer-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin:8px 0 18px}.customer-heading>div{min-width:0}.customer-heading h1{font-size:28px;line-height:1.2;overflow-wrap:anywhere;margin:9px 0}.customer-heading p{color:#606060;font-size:13px;overflow-wrap:anywhere}.customer-heading .eyebrow{font-size:10px;font-weight:700;color:#8a3b36}.customer-heading .customer-owner{font-size:12px;color:#777;margin-top:6px}.customer-back{min-height:44px}.customer-quick-actions{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:18px}.customer-quick-actions a,.customer-quick-actions button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;text-decoration:none;font-size:13px}.customer-quick-actions button:disabled{opacity:1;color:#737373;background:#eee;border-color:#ddd;cursor:default}.customer-at-a-glance{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:#fff;border:1px solid var(--border);border-radius:8px;margin:0 0 15px}.customer-at-a-glance>div{padding:18px 20px;min-width:0}.customer-at-a-glance>div+div{border-left:1px solid var(--border)}.customer-at-a-glance span,.customer-at-a-glance small{display:block;color:#737373;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.customer-at-a-glance strong{display:block;font-size:23px;font-weight:600;line-height:1.25;margin:8px 0;color:#252525;overflow-wrap:anywhere}.customer-background,.missing-contact-roles{background:#fff;border:1px solid var(--border);border-radius:7px;margin:14px 0}.customer-background>summary,.missing-contact-roles>summary{padding:14px 16px;min-height:48px;cursor:pointer;font-weight:600;line-height:1.5}.customer-background[open]>summary{border-bottom:1px solid var(--border)}.customer-background .customer-summary{margin:0;padding:16px;gap:12px}.customer-background .visit-summary{grid-column:auto}.customer-background .panel{padding:16px}.customer-workspace .customer-tabs{margin:20px 0 15px}.customer-workspace .contact-grid{margin:0 0 15px;gap:12px}.customer-workspace .contact-grid .panel{padding:18px}.customer-workspace .contact-person{margin-top:12px;padding-top:10px}.customer-workspace .phone-link,.customer-workspace .email-link{display:inline-block;min-height:44px;line-height:1.5;padding:11px 0;max-width:100%;overflow-wrap:anywhere}.customer-workspace .contact-person p{font-size:14px}.contact-edit-shortcut{min-height:44px}.missing-contact-roles ul{margin:0;padding:0 18px 16px 35px;color:#737373;line-height:1.9}.contact-empty p{margin-top:10px}.app-install-hint{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:18px;padding:18px 20px}.app-install-hint strong{font-size:14px}.app-install-hint p{margin-top:5px}.app-install-hint button{min-height:44px}.install-steps{padding-left:24px;font-size:14px;line-height:1.7}.install-steps li{margin-bottom:13px}button,a,input,select,textarea{-webkit-tap-highlight-color:rgba(207,41,35,.12)}
@media screen and (max-width:600px){.customer-heading{gap:10px}.customer-heading h1{font-size:24px}.customer-heading>button{padding:10px 12px;min-height:44px}.customer-heading .eyebrow{font-size:9px;letter-spacing:1px}.customer-quick-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.customer-quick-actions>*{min-width:0;white-space:normal;text-align:center}.customer-at-a-glance{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-at-a-glance>div{padding:14px}.customer-at-a-glance>div:nth-child(3){grid-column:1/-1;border-left:0;border-top:1px solid var(--border);display:grid;grid-template-columns:1fr 1fr;column-gap:10px;align-items:center}.customer-at-a-glance>div:nth-child(3)>strong{font-size:18px;margin:0;text-align:right}.customer-at-a-glance>div:nth-child(3)>small{grid-column:1/-1;margin-top:5px}.customer-at-a-glance strong{font-size:20px}.customer-background .customer-summary{padding:10px}.customer-workspace .contact-grid{grid-template-columns:1fr}.app-install-hint{padding:16px;align-items:flex-start}.app-install-hint button{flex-shrink:0}textarea{font-size:16px!important;min-height:110px}input:not([type=checkbox]),select{font-size:16px!important}.customer-workspace .customer-tabs{position:static}.customer-workspace .customer-tabs button{min-width:0;white-space:normal}.main{padding-left:max(14px,env(safe-area-inset-left));padding-right:max(14px,env(safe-area-inset-right));padding-bottom:calc(30px + env(safe-area-inset-bottom))}.topbar{padding-left:max(15px,env(safe-area-inset-left));padding-right:max(15px,env(safe-area-inset-right))}dialog,.customer-dialog{max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}#toast{bottom:calc(20px + env(safe-area-inset-bottom))}}
@media screen and (display-mode:standalone){html{min-height:100%;background:#111112}body{min-height:100dvh}.topbar{padding-top:env(safe-area-inset-top);height:calc(69px + env(safe-area-inset-top))}.auth-page{padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}}

/* Sales Hub CI: blue suit, red sneaker accent, light grey canvas. */
:root{--blue:#1f4e99;--accent:#e8483f;background:#f3f5fa;color:#16223d}
.nav-tab.active{box-shadow:inset 3px 0 var(--accent)}
.workspace-bar .nav-tab.active{box-shadow:inset 0 -2px var(--accent)}
.dashboard-hero.customer-entry{border-left-color:var(--accent)}
.brand img{width:32px;height:32px;border-radius:9px}
.auth-intro{position:relative}
.auth-mascot{width:120px;height:auto;align-self:flex-end;margin:8px 0 -8px}
.dashboard-heading{display:flex;align-items:center;gap:14px}
.heading-mascot{width:54px;height:auto;flex:none}
.dialog-mascot{display:block;width:76px;height:auto;margin:0 auto 8px}
@media (max-width:640px){.auth-mascot{width:84px}.heading-mascot{width:42px}}
.auth-intro{background:#1f4e99}
.auth-intro:after{border-color:#ffffff1a}
.auth-intro p{color:#dbe6f7}
.auth-intro .eyebrow{color:#b9cdee}
.auth-intro .brand img{border:0;border-radius:12px}
.topbar{background:#1f4e99}
.auth-mascot{background:#eaf1fc;border-radius:50%;padding:14px 18px 6px;box-sizing:content-box;width:96px;margin:8px 0 0}
.topbar .brand img,.auth-intro .brand img{box-shadow:0 0 0 2px #ffffff40}
@media (max-width:640px){.auth-mascot{width:70px;padding:10px 14px 4px}}
.dashboard-heading{justify-content:flex-start;text-align:left}
.dashboard-heading>div{flex:1}
.dashboard-heading .dashboard-date{margin-left:auto}
[hidden]{display:none!important}
/* Sales Hub layout: icon rail (desktop) / bottom bar (phone), minimal start page. */
.ico{width:22px;height:22px;flex:none}
.hub{display:flex;min-height:100vh;background:#f3f5fa}
.rail{position:fixed;inset:0 auto 0 0;width:84px;background:#1f4e99;display:flex;flex-direction:column;align-items:center;gap:6px;padding:14px 0;z-index:20}
.rail-brand img{width:42px;height:42px;border-radius:11px;display:block;margin-bottom:14px;box-shadow:0 0 0 2px #ffffff40}
.rail-item{width:68px;border:0;background:transparent;color:#dbe6f7;border-radius:12px;padding:9px 0 7px;display:flex;flex-direction:column;align-items:center;gap:4px;font:inherit;font-size:11px;cursor:pointer}
.rail-item:hover{background:#ffffff1a;color:#fff}
.rail-item.active{background:#fff;color:#1f4e99;font-weight:600}
.hub-main{flex:1;margin-left:84px;min-width:0;padding:0 32px 40px}
.hub-head{display:flex;align-items:center;gap:12px;padding:20px 0 10px}
.hub-title{font-size:24px;margin:0;font-weight:600;color:#16223d}
.hub-area{margin-left:auto;display:inline-flex;align-items:center;gap:6px;color:#5b6478;font-size:13px;background:#fff;border:1px solid #d9dfeb;border-radius:999px;padding:6px 12px}
.hub-area .ico{width:16px;height:16px;color:#1f4e99}
select.hub-area{width:auto;min-height:0}
.hub-profile{width:38px;height:38px;border-radius:50%;border:0;background:#1f4e99;color:#fff;font-weight:600;cursor:pointer}
.chips{display:flex;gap:8px;flex-wrap:wrap;padding:4px 0 14px}
.chip{border:1px solid #d9dfeb;background:#fff;color:#16223d;border-radius:999px;padding:6px 14px;font:inherit;font-size:13px;cursor:pointer;display:inline-flex;align-items:center;gap:6px}
.chip:hover{border-color:#1f4e99}
.chip.active{background:#1f4e99;border-color:#1f4e99;color:#fff}
.chip .ico{width:14px;height:14px}
.hub-content{max-width:1100px}
.greet{display:flex;align-items:center;gap:14px;margin:4px 0 16px}
.greet img{width:48px;height:auto}
.greet h2{margin:0;font-size:22px;color:#16223d}
.greet p{margin:2px 0 0;color:#5b6478;font-size:13px}
.kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.kpi{border:1px solid #e3e8f1;background:#fff;border-radius:14px;padding:14px 16px;text-align:left;font:inherit;cursor:pointer;display:grid;grid-template-columns:auto 1fr;column-gap:8px;align-items:center;color:#16223d}
.kpi:hover{border-color:#1f4e99;box-shadow:0 2px 10px #1f4e9914}
.kpi .ico{color:#1f4e99;width:20px;height:20px}
.kpi span{font-size:13px;color:#5b6478}
.kpi strong{grid-column:1/3;font-size:26px;font-weight:600;margin-top:6px}
.kpi small{grid-column:1/3;font-size:12px;color:#5b6478}
.care{background:#fff;border:1px solid #e3e8f1;border-radius:14px;padding:16px;margin-top:12px}
.care-head{display:flex;align-items:center}
.care-head h3{margin:0;font-size:16px;color:#16223d}
.care-head .text-button{margin-left:auto}
.care-bar{height:8px;background:#e6eaf3;border-radius:4px;margin:12px 0 6px;overflow:hidden}
.care-bar span{display:block;height:100%;background:#1f4e99;border-radius:4px;transition:width .4s}
.care-row{width:100%;display:flex;align-items:center;border:0;border-bottom:1px solid #eef1f6;background:transparent;padding:12px 2px;font:inherit;font-size:14px;color:#16223d;cursor:pointer;text-align:left}
.care-row:last-child{border-bottom:0}
.care-row:hover{background:#f7f9fd}
.care-row b{color:#e8483f}
.care-go{margin-left:auto;color:#1f4e99;display:inline-flex;align-items:center;gap:2px;font-size:13px}
.care-go .ico{width:16px;height:16px}
.care-done{display:flex;align-items:center;gap:12px}.care-done img{width:44px}
.fab{position:fixed;right:28px;bottom:28px;width:58px;height:58px;border-radius:50%;border:0;background:#e8483f;color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 18px #e8483f55;cursor:pointer;z-index:15}
.fab .ico{width:26px;height:26px}
.fab:hover{background:#d63c33}
.more-group{margin-bottom:18px}
.more-group h2{font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:#5b6478;margin:6px 0 8px}
.more-tile{width:100%;display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #e3e8f1;border-radius:12px;padding:12px 14px;margin-bottom:8px;font:inherit;text-align:left;cursor:pointer;color:#16223d}
.more-tile:hover{border-color:#1f4e99}
.more-tile>.ico:first-child{color:#1f4e99;background:#eaf1fc;border-radius:10px;padding:8px;width:38px;height:38px;box-sizing:border-box}
.more-tile span{flex:1}.more-tile strong{display:block;font-size:15px}.more-tile small{color:#5b6478;font-size:12px}
.more-tile em{font-style:normal;font-size:11px;background:#fde7e5;color:#a12b24;border-radius:999px;padding:1px 7px;margin-left:4px;font-weight:500}
.more-tile>.ico:last-child{color:#9aa3b5;width:18px;height:18px}
.new-menu .more-tile{margin-bottom:10px}
.soon{text-align:center;background:#fff;border:1px solid #e3e8f1;border-radius:16px;padding:32px 20px;max-width:520px;margin:20px auto}
.soon img{width:110px;height:auto}.soon h2{color:#16223d;margin:12px 0 6px}.soon p{color:#5b6478;margin:0 0 16px}
.filter-chip{margin-left:8px}
@media (max-width:760px){
 .rail{inset:auto 0 0 0;width:auto;height:calc(64px + env(safe-area-inset-bottom));flex-direction:row;justify-content:space-around;align-items:flex-start;padding:6px 6px env(safe-area-inset-bottom);gap:4px;border-top:0;box-shadow:0 -4px 16px rgba(22,34,61,.12)}
 .rail-brand{display:none}
 .rail-item{width:auto;flex:1;height:52px;padding:6px 0 4px;font-size:10px;border-radius:12px;justify-content:center}
 .hub-main{margin-left:0;padding:0 16px calc(96px + env(safe-area-inset-bottom))}
 .hub-head{padding:14px 0 8px}
 .hub-title{font-size:20px}
 .chips{flex-wrap:nowrap;overflow-x:auto;margin:0 -16px;padding:2px 16px 12px;scrollbar-width:none}
 .chip{flex:none}
 .kpis{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 .kpi{padding:10px;display:block}.kpi .ico{display:none}.kpi span{font-size:11px}.kpi strong{display:block;font-size:19px;margin-top:2px}.kpi small{display:none}
 .greet img{width:38px}.greet h2{font-size:19px}
 .fab{right:18px;bottom:calc(78px + env(safe-area-inset-bottom));width:54px;height:54px}
}
.page-head.slim{display:flex;align-items:center;gap:12px;margin:0 0 14px}
.page-head.slim p{margin:0;flex:1}
.care-bar span{width:0}
.verbund-filter{width:auto;min-height:0;padding:7px 10px;border-radius:999px}
.segment{display:inline-flex;background:#e6eaf3;border-radius:12px;padding:4px;gap:4px;margin-bottom:10px;max-width:100%}
.segment button{border:0;background:transparent;border-radius:9px;padding:8px 14px;font:inherit;font-size:14px;color:#3b4660;display:inline-flex;align-items:center;gap:6px;cursor:pointer}
.segment button .ico{width:18px;height:18px}
.segment button.active{background:#fff;color:#1f4e99;font-weight:600;box-shadow:0 1px 4px #16223d1f}
.visit-summary{margin:2px 0 12px}.visit-summary b{color:#16223d}
.visit-list{display:flex;flex-direction:column;gap:8px}
.visit-row{display:flex;align-items:center;gap:12px;width:100%;background:#fff;border:1px solid #e3e8f1;border-radius:12px;padding:12px 14px;font:inherit;text-align:left;cursor:pointer;color:#16223d}
.visit-row:hover{border-color:#1f4e99}
.visit-row>.ico{color:#9aa3b5;width:18px;height:18px;flex:none}
.visit-main{flex:1;min-width:0}.visit-main strong{display:block;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.visit-main small{color:#5b6478;font-size:12px}
.visit-side{display:flex;flex-direction:column;align-items:flex-end;gap:4px;text-align:right}.visit-side small{color:#5b6478;font-size:12px}
.pill{font-size:12px;border-radius:999px;padding:2px 9px;background:#eaf1fc;color:#1f4e99;white-space:nowrap}
.pill.red{background:#fde7e5;color:#a12b24}.pill.amber{background:#fdf1dc;color:#8a5a0f}
.gap{color:#e8483f;font-size:14px}
.mini-bar{width:110px;height:6px;background:#e6eaf3;border-radius:3px;overflow:hidden}.mini-bar span{display:block;height:100%;background:#1f4e99}
.more-rows{align-self:center;margin-top:6px}
@media (max-width:760px){.segment{display:flex}.segment button{flex:1;justify-content:center;padding:8px 6px;font-size:13px}.visit-row{align-items:flex-start}.mini-bar{width:80px}}
.mini-bar span.w0{width:0%}.mini-bar span.w5{width:5%}.mini-bar span.w10{width:10%}.mini-bar span.w15{width:15%}.mini-bar span.w20{width:20%}.mini-bar span.w25{width:25%}.mini-bar span.w30{width:30%}.mini-bar span.w35{width:35%}.mini-bar span.w40{width:40%}.mini-bar span.w45{width:45%}.mini-bar span.w50{width:50%}.mini-bar span.w55{width:55%}.mini-bar span.w60{width:60%}.mini-bar span.w65{width:65%}.mini-bar span.w70{width:70%}.mini-bar span.w75{width:75%}.mini-bar span.w80{width:80%}.mini-bar span.w85{width:85%}.mini-bar span.w90{width:90%}.mini-bar span.w95{width:95%}.mini-bar span.w100{width:100%}
/* Map */
.map-tools{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-bottom:10px}
.map-tools .segment{margin-bottom:0}
.map-wrap{position:relative}
.map-box{height:calc(100dvh - 250px);min-height:380px;border-radius:14px;overflow:hidden;border:1px solid #e3e8f1;background:#eef1f6}
.map-loading{padding:20px}
.map-legend{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:12px;color:#5b6478;margin:10px 2px 0}
.map-legend span{display:inline-flex;align-items:center;gap:6px}
.dot{width:11px;height:11px;border-radius:50%;display:inline-block;border:1.5px solid #fff;box-shadow:0 0 0 1px #d9dfeb}
.dot[data-c=red]{background:#e8483f}.dot[data-c=amber]{background:#f2a33a}.dot[data-c=green]{background:#1d9e75}.dot[data-c=grey]{background:#9aa3b5}
.dot[data-channel=mediamarkt]{background:#df001b}.dot[data-channel=euronics]{background:#003b80}.dot[data-channel=medimax]{background:#7d8597}.dot[data-channel=expert]{background:#ef7d00}.dot[data-channel=b2b]{background:#6654a4}.dot[data-channel=leh]{background:#157259}
.map-note{margin:6px 2px 0;font-size:12px}
.map-card{position:absolute;top:12px;right:12px;width:330px;max-height:calc(100% - 24px);overflow:auto;background:#fff;border-radius:14px;box-shadow:0 10px 30px #16223d33;padding:16px;z-index:500}
.map-card h3{margin:2px 0 2px;font-size:17px;color:#16223d;padding-right:28px}
.map-card .muted{margin:0 0 10px;font-size:13px}.map-card .small{font-size:12px;margin:4px 0 0}
.map-card-meta{margin:0;font-size:12px;color:#1f4e99;font-weight:600}
.map-card-close{position:absolute;top:10px;right:10px;border:0;background:#f3f5fa;border-radius:50%;width:30px;height:30px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#5b6478}
.map-card-close .ico{width:16px;height:16px}
.map-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:6px 0 8px}
.map-kpis div{background:#f3f5fa;border-radius:9px;padding:7px 8px}.map-kpis span{display:block;font-size:11px;color:#5b6478}.map-kpis b{font-size:14px;color:#16223d}
.map-kpis .warn{background:#fde7e5}.map-kpis .warn b,.map-kpis .warn span{color:#a12b24}
.mini-bar.wide{width:100%}
.map-visit{margin:10px 0;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.map-visit small{color:#5b6478;font-size:12px}
.map-actions{display:flex;flex-wrap:wrap;gap:6px}
.map-actions .primary,.map-actions .secondary{display:inline-flex;align-items:center;gap:6px;text-decoration:none;font-size:13px;padding:8px 12px}
.map-actions .ico{width:16px;height:16px}
.leaflet-container{font:inherit}
@media (max-width:760px){
 .map-box{height:calc(100dvh - 290px);min-height:300px;overscroll-behavior:contain}
 .map-card{position:fixed;left:8px;right:8px;top:auto;bottom:calc(72px + env(safe-area-inset-bottom));width:auto;max-height:60vh;border-radius:16px}
 .map-tools .segment{width:100%}
}
.legend-hint{color:#8a93a6}
.legal-name{margin:-4px 0 4px;color:#8a93a6;font-size:13px}
/* Projects */
.project-card{display:flex;align-items:center;gap:14px;width:100%;background:#fff;border:1px solid #e3e8f1;border-radius:14px;padding:16px;text-align:left;font:inherit;color:#16223d;cursor:pointer;margin-bottom:10px}
.project-card:hover{border-color:#1f4e99}
.project-icon .ico{width:40px;height:40px;padding:9px;box-sizing:border-box;background:#eaf1fc;color:#1f4e99;border-radius:12px}
.project-body{flex:1;display:flex;flex-direction:column;gap:6px}.project-body strong{font-size:16px}.project-body small{color:#5b6478;font-size:12px}
.project-card>.ico:last-child{color:#9aa3b5;width:18px;height:18px}
.project-head .kpis{margin:10px 0 4px}
.kpi.static{cursor:default}.kpi.static:hover{border-color:#e3e8f1;box-shadow:none}
.care-bar span[class^=w]{transition:none}
.area-table{width:100%;font-size:13px}.area-table td,.area-table th{padding:6px 8px}.area-table .num{text-align:right;white-space:nowrap}
.project-facts{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:10px}.project-facts h4{margin:0 0 6px;font-size:13px;color:#5b6478}.project-facts p{margin:2px 0;font-size:13px;display:flex;justify-content:space-between;max-width:260px}
.project-tools{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:14px 0 10px}.project-tools .segment{margin:0}.project-tools .search{flex:1;min-width:200px}
.pill.green{background:#e1f5ee;color:#0f6e56}
.project-hint{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #c9d8f2;border-left:4px solid #e8483f;border-radius:0;padding:12px 14px;margin-bottom:12px}
.project-hint>.ico{color:#1f4e99;width:26px;height:26px}.project-hint span{flex:1}.project-hint strong{display:block;font-size:14px;color:#16223d}.project-hint small{color:#5b6478;font-size:12px}
.capture-market{margin:0 0 10px;color:#16223d}
.capture-q{font-weight:600;color:#16223d;margin:14px 0 8px}
.capture-sub{font-size:12px;color:#5b6478;margin:10px 0 6px}
.count-buttons,.size-buttons{display:flex;gap:8px;flex-wrap:wrap}
.count-buttons button,.size-buttons button{border:1px solid #d9dfeb;background:#fff;border-radius:10px;padding:10px 16px;font:inherit;font-size:15px;color:#16223d;cursor:pointer;min-width:56px}
.count-buttons button.active,.size-buttons button.active{background:#1f4e99;border-color:#1f4e99;color:#fff;font-weight:600}
.board-editor{border:1px solid #e3e8f1;border-radius:12px;padding:10px 12px;margin:12px 0}
.board-editor legend{font-weight:600;color:#1f4e99;padding:0 6px}
.mount-count{color:#1f4e99;font-weight:600}
.mount-search{width:100%;margin-bottom:6px}
.mount-list{max-height:260px;overflow:auto;border:1px solid #eef1f6;border-radius:10px;padding:4px 8px;background:#fafbfd}
.mount-line{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:#8a93a6;margin:10px 0 4px}
.mount-item{display:flex;gap:8px;align-items:flex-start;padding:7px 2px;border-bottom:1px solid #eef1f6;font-size:13px;color:#16223d;cursor:pointer}
.mount-item input{margin-top:2px;flex:none}
.photo-pick{display:flex;align-items:center;gap:10px;border:1.5px dashed #a9c3ec;border-radius:12px;padding:14px;color:#1f4e99;cursor:pointer;background:#f7f9fd}
.photo-pick .ico{width:26px;height:26px}
.photo-preview{display:block;max-width:100%;max-height:260px;border-radius:10px;margin:10px 0}
@media (max-width:760px){.project-facts{grid-template-columns:1fr}.count-buttons button{flex:1;min-width:0;padding:12px 0}.size-buttons button{flex:1}}
.care-bar span.w0{width:0%}.care-bar span.w5{width:5%}.care-bar span.w10{width:10%}.care-bar span.w15{width:15%}.care-bar span.w20{width:20%}.care-bar span.w25{width:25%}.care-bar span.w30{width:30%}.care-bar span.w35{width:35%}.care-bar span.w40{width:40%}.care-bar span.w45{width:45%}.care-bar span.w50{width:50%}.care-bar span.w55{width:55%}.care-bar span.w60{width:60%}.care-bar span.w65{width:65%}.care-bar span.w70{width:70%}.care-bar span.w75{width:75%}.care-bar span.w80{width:80%}.care-bar span.w85{width:85%}.care-bar span.w90{width:90%}.care-bar span.w95{width:95%}.care-bar span.w100{width:100%}
.care-head .secondary{margin-left:auto}
.area-table td:nth-child(2){width:35%}
.hub-title{overflow:hidden;text-overflow:ellipsis}
.display-panel{background:#fff;border:1px solid #e3e8f1;border-radius:14px;padding:12px 14px;margin-bottom:12px}
.display-panel h3{margin:0 0 10px;font-size:14px;color:#16223d;display:flex;align-items:center;gap:8px}.display-panel h3 .ico{width:18px;height:18px;color:#1f4e99}
.display-buttons{display:flex;gap:10px;flex-wrap:wrap}
.display-btn{flex:1;min-width:200px;display:flex;flex-direction:column;align-items:flex-start;gap:3px;border-radius:12px;padding:10px 14px;font:inherit;text-align:left;cursor:pointer;border:1.5px solid #d9dfeb;background:#fff;color:#16223d}
.display-btn span{font-size:12px;color:#5b6478}.display-btn b{font-size:15px}
.display-btn.yes{border-color:#1d9e75;background:#e1f5ee}.display-btn.yes b{color:#0f6e56}
.display-btn.no{border-color:#d9dfeb;background:#f3f5fa}
.display-btn.open{border-style:dashed;border-color:#e8483f}.display-btn.open b{color:#a12b24}
.mount-list .mount-item{padding:9px 4px}
/* Visit flow */
.start-visit{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;max-width:420px;padding:13px;font-size:15px;margin:0 0 14px}
.start-visit .ico{width:20px;height:20px}
.visit-banner,.visit-panel{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #a9c3ec;border-radius:14px;padding:12px 14px;margin-bottom:12px}
.visit-banner{background:#eaf1fc}
.visit-banner>.ico,.visit-panel .ico{color:#1f4e99;width:24px;height:24px}
.visit-banner span,.visit-panel-text{flex:1}.visit-banner strong,.visit-panel strong{display:block;font-size:14px;color:#16223d}.visit-banner small,.visit-panel small{color:#5b6478;font-size:12px}
.visit-flow{max-width:640px}
.visit-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.stepper{list-style:none;display:flex;gap:6px;padding:0;margin:0 0 14px;overflow-x:auto}
.stepper li{flex:1;min-width:90px;display:flex;flex-direction:column;align-items:center;gap:4px;font-size:11px;color:#8a93a6;text-align:center}
.stepper li span{width:28px;height:28px;border-radius:50%;background:#e6eaf3;display:flex;align-items:center;justify-content:center;font-weight:600;color:#5b6478}
.stepper li.now{color:#1f4e99;font-weight:600}.stepper li.now span{background:#1f4e99;color:#fff}
.stepper li.done span{background:#1d9e75;color:#fff}
.step-body{background:#fff;border:1px solid #e3e8f1;border-radius:16px;padding:18px}
.step-body h2{margin:6px 0 6px;font-size:19px;color:#16223d}.step-body>p{color:#3b4660;margin:0 0 12px}
.step-mascot{width:64px;height:auto;display:block}
.step-state{background:#f3f5fa;border-radius:12px;padding:10px 12px;margin:10px 0;display:flex;flex-direction:column;gap:2px}.step-state span{font-size:12px;color:#5b6478}.step-state b{font-size:16px;color:#16223d}.step-state small{color:#0f6e56;font-size:12px}
.step-actions{display:flex;gap:10px;margin-top:14px;flex-wrap:wrap}.step-actions button{flex:1;min-width:140px;padding:13px;font-size:15px;display:inline-flex;align-items:center;justify-content:center;gap:6px}
.step-warn{background:#fdf1dc;color:#8a5a0f;border-radius:10px;padding:10px 12px}
.contact-step{border:1px solid #e3e8f1;border-radius:12px;padding:10px 12px;margin:10px 0}.contact-step legend{font-weight:600;color:#1f4e99;padding:0 6px}.contact-step input:not([type=checkbox]){width:100%;margin-top:6px}.contact-step .nl-check{align-items:flex-start;line-height:1.45}.contact-step .nl-check input{flex:0 0 18px;width:18px;height:18px;margin:2px 0 0}
.small{font-size:12px}
.stepper li{min-width:0}
.agreement-row{border-bottom:1px solid #eef1f6;padding-bottom:6px;margin-bottom:6px}
.pdf-link{display:inline-flex;align-items:center;gap:6px;text-decoration:none;margin-top:4px}.pdf-link .ico{width:16px;height:16px}
h3 [data-agreement-edit]{font-size:12px;margin-left:8px}
.empty-mascot{display:block;width:56px;height:auto;margin:6px auto 8px}
.empty-line{text-align:center}
.pick-mascot{width:34px;height:auto;flex:none}
.photo-pick .pick-mascot+.ico{display:none}
.more-group h2.with-mascot{display:flex;align-items:center;gap:8px}.with-mascot img{width:30px;height:auto}
.greet img{transition:none}
.dot[data-channel=ep]{background:#e0a800}
.nl-row{display:flex;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid #eef1f6}.nl-row span:first-child{flex:1}.nl-row strong{display:block;font-size:14px}.nl-row small{color:#5b6478;font-size:12px}
.pill.amber{background:#fdf1dc;color:#8a5a0f}
.nl-check{margin-top:8px;font-size:13px}
.dr-table{width:100%;font-size:13px;border-collapse:collapse;min-width:620px}
.dr-table th,.dr-table td{padding:8px;border-bottom:1px solid #eef1f6;text-align:left}
.dr-table .num{text-align:right;white-space:nowrap}.dr-table small{color:#8a93a6;font-size:11px}
.dr-table tbody tr{cursor:pointer}.dr-table tbody tr:hover td{background:#f4f7fc}.dr-table tbody tr.active td{background:#eaf1fc;font-weight:600}
.dr-filter{margin:0 0 10px;flex-wrap:wrap}.dr-filter button{flex:1 1 40%;white-space:nowrap}
.dr-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}.dr-tags .pill{white-space:normal}
.project-section{font-size:15px;color:#5b6478;margin:22px 2px 8px}
.maint-table td small{display:block;color:#8a93a6;font-size:11px;font-weight:400}.maint-table tbody tr{cursor:default}.maint-table tr.total td{font-weight:700;border-top:2px solid #e3e8f1}
.maint-table td:nth-child(3){width:90px;min-width:70px}
.dr-progress{display:grid;gap:4px;margin:8px 0 14px}
.dr-bar{display:grid;grid-template-columns:96px 1fr auto;align-items:center;gap:10px;border:0;background:transparent;font:inherit;font-size:13px;color:#16223d;text-align:left;padding:6px 4px;border-radius:8px;cursor:pointer}
.dr-bar:hover,.dr-bar.active{background:#eaf1fc}.dr-bar b{font-variant-numeric:tabular-nums;font-size:12px}
.mode-now{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;background:#f3f5fa;border-radius:10px;padding:10px 12px;margin:10px 0}
.mode-options{display:grid;gap:8px;margin-bottom:12px}
.mode-option{display:flex;flex-direction:column;gap:2px;text-align:left;border:1px solid #e3e8f1;background:#fff;border-radius:12px;padding:12px 14px;font:inherit;cursor:pointer;color:#16223d}
.mode-option small{color:#5b6478;font-size:12px}.mode-option.active{border-color:#1f4e99;background:#eaf1fc;box-shadow:0 0 0 1px #1f4e99}
.scan-person{display:flex;gap:12px;align-items:flex-start;background:#f3f5fa;border-radius:12px;padding:12px 14px;margin-bottom:14px}.scan-person .ico{width:22px;height:22px;color:#1f4e99;flex:none;margin-top:2px}
.scan-person span{display:flex;flex-direction:column;gap:2px;min-width:0}.scan-person small{color:#5b6478;font-size:12px;overflow-wrap:anywhere}
.scan-h{font-size:15px;margin:0 0 8px}.scan-picks{display:grid;gap:8px;margin:0 0 12px}
.scan-pick{display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:left;border:1px solid #e3e8f1;background:#fff;border-radius:12px;padding:11px 13px;font:inherit;cursor:pointer;color:#16223d}
.scan-pick span:first-child{display:flex;flex-direction:column;gap:2px;min-width:0}.scan-pick small{color:#5b6478;font-size:12px}.scan-pick .scan-why{color:#0f6e56}
.scan-pick.active{border-color:#1f4e99;background:#eaf1fc;box-shadow:0 0 0 1px #1f4e99}
#scan-assign-btn:disabled{opacity:.55}
.step-none{display:grid;gap:8px;margin-top:10px}.step-none .secondary{width:100%}
.home-today h3{margin:0 0 2px}.home-near{margin-top:8px}.care-row small{display:block;color:#5b6478;font-size:12px;font-weight:400}
.home-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}
.home-action{display:flex;flex-direction:column;align-items:center;gap:6px;padding:16px 10px;border-radius:14px;border:1px solid #c9d6ee;background:#fff;color:#1f4e99;font:inherit;font-weight:600;cursor:pointer}
.home-action .ico{width:26px;height:26px}.home-action.primary-action{background:#1f4e99;border-color:#1f4e99;color:#fff}
.home-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:12px}.home-stats div{background:#f3f5fa;border-radius:12px;padding:10px 12px}
.home-stats small{display:block;color:#5b6478;font-size:12px}.home-stats b{font-size:20px;color:#16223d}
.team-row{display:flex;justify-content:space-between;align-items:center;gap:8px;width:100%;padding:9px 0;border:0;border-top:1px solid #eef1f6;background:transparent;font:inherit;font-size:13px;text-align:left;color:#16223d}
.team-row:first-of-type{border-top:0}.team-row.mine{cursor:pointer;color:#0f6e56}.team-row .ico{width:16px;height:16px;flex:none}
.route-map{height:260px;border-radius:12px;overflow:hidden;margin:10px 0;border:1px solid #e3e8f1}
.route-pin{background:#1f4e99;color:#fff;border:2px solid #fff;border-radius:50%;display:flex!important;align-items:center;justify-content:center;font-weight:700;font-size:13px;box-shadow:0 1px 4px #16223d55}
.route-stop{display:flex;align-items:center;gap:8px;padding:8px 0;border-top:1px solid #eef1f6}
.route-no{flex:none;width:26px;height:26px;border-radius:50%;background:#1f4e99;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:13px}
.route-name{flex:1;min-width:0;text-align:left;border:0;background:transparent;font:inherit;color:#16223d;cursor:pointer;padding:0}.route-name strong,.route-name small{display:block}.route-name small{color:#5b6478;font-size:12px}
.route-nav{font-size:12px;color:#1f4e99;text-decoration:none;border:1px solid #c9d6ee;border-radius:8px;padding:5px 8px}
.route-del{border:0;background:#f3f5fa;border-radius:50%;width:28px;height:28px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#5b6478}.route-del .ico{width:14px;height:14px}
.route-go{display:grid;gap:8px;margin:12px 0 4px}.route-go a{display:flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;min-height:46px}.route-go a.off{opacity:.5;pointer-events:none}
.badge-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:#d52b1e;color:#fff;font-size:11px;font-weight:700}
.message-banner{display:flex;align-items:center;gap:12px;width:100%;margin:0 0 12px;padding:12px 14px;border:1px solid #c9d6ee;border-radius:14px;background:#eaf1fc;color:#16223d;font:inherit;text-align:left;cursor:pointer}
.message-banner span{flex:1;display:flex;flex-direction:column}.message-banner small{color:#5b6478;font-size:12px}.message-banner .ico{width:20px;height:20px;color:#1f4e99}
.thread-row{display:flex;align-items:center;gap:12px;width:100%;padding:11px 0;border:0;border-top:1px solid #eef1f6;background:transparent;font:inherit;text-align:left;cursor:pointer;color:#16223d}
.thread-avatar{flex:none;width:38px;height:38px;border-radius:50%;background:#eaf1fc;color:#1f4e99;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:13px}
.thread-main{flex:1;min-width:0;display:flex;flex-direction:column}.thread-main small{color:#5b6478;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.thread-side{display:flex;flex-direction:column;align-items:flex-end;gap:4px}.thread-side small{color:#8a93a6;font-size:11px}.thread-row.unread strong{color:#1f4e99}
.chat-back{margin-bottom:8px}.chat{display:flex;flex-direction:column;gap:8px;margin-bottom:12px}
.bubble{max-width:82%;align-self:flex-start;background:#fff;border:1px solid #e3e8f1;border-radius:14px 14px 14px 4px;padding:9px 12px}
.bubble.mine{align-self:flex-end;background:#1f4e99;border-color:#1f4e99;color:#fff;border-radius:14px 14px 4px 14px}
.bubble p{margin:0;font-size:14px}.bubble small{display:block;margin-top:4px;font-size:11px;color:#8a93a6}.bubble.mine small{color:#c9d6ee}
.bubble-market{display:inline-flex;align-items:center;gap:4px;margin-bottom:6px;border:0;border-radius:8px;padding:3px 8px;background:#eaf1fc;color:#1f4e99;font:inherit;font-size:12px;cursor:pointer}
.bubble.mine .bubble-market{background:#ffffff26;color:#fff}.bubble-market .ico{width:14px;height:14px}
.chat-form{position:sticky;bottom:calc(72px + env(safe-area-inset-bottom));display:flex;gap:8px;align-items:flex-end;background:#f6f8fc;padding:8px 0}
.chat-form textarea{flex:1;min-height:46px}.chat-form .form-error{position:absolute;top:-18px}
.home-messages{border:1px solid #c9d6ee;background:#f4f8ff}.home-messages h3{display:flex;align-items:center;gap:6px;margin:0}.home-messages h3 .ico{width:18px;height:18px;color:#1f4e99}
.home-message{display:flex;align-items:flex-start;gap:12px;width:100%;padding:10px 0;border:0;border-top:1px solid #e3e8f1;background:transparent;font:inherit;text-align:left;cursor:pointer;color:#16223d}
.home-message .home-message-text{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#33455f;font-size:13px}
.home-message .reply{font-size:12px;font-weight:600;color:#1f4e99}
.push-card h3{display:flex;align-items:center;gap:6px;margin:0 0 4px}.push-card h3 .ico{width:18px;height:18px;color:#1f4e99}.push-card .primary{width:100%;margin-top:6px}
.push-on{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:0}.push-on .ico{width:16px;height:16px;color:#0f6e56}
.route-start{display:flex;align-items:center;gap:10px;margin-bottom:8px}.route-start>span{font-weight:600;font-size:13px;color:#33455f}.route-start .segment{flex:1;margin:0}.route-start .segment button{flex:1}
.route-start button:disabled{opacity:.45}.route-back{margin:4px 0 6px;font-size:14px}.route-traffic{width:100%;display:flex;align-items:center;justify-content:center;gap:8px;margin-top:6px}
.home-address-ask{border:1px solid #f0c36d;background:#fff8e8}.home-address-ask h3{display:flex;align-items:center;gap:6px;margin:0 0 4px;color:#8a5a0f}.home-address-ask h3 .ico{width:18px;height:18px}
.home-address-ask form{display:grid;gap:8px}
.route-chains{margin:4px 0 6px;flex-wrap:wrap}
.display-tag{display:inline-block;margin-left:8px;font-size:11px;font-weight:600;border-radius:999px;padding:1px 8px;vertical-align:2px;white-space:nowrap}
.display-tag.done{background:#e1f5ee;color:#0f6e56}.display-tag.partial{background:#fdf1dc;color:#8a5a0f}.display-tag.open{background:#f3f5fa;color:#5b6478}
.display-tag.closed{background:#fde7e5;color:#a12b24}.closed-toggle{font-size:13px;margin:0}
.closed-banner{display:flex;gap:12px;align-items:flex-start;background:#fde7e5;border:1px solid #f3b9b3;border-radius:14px;padding:12px 14px;margin-bottom:12px;color:#a12b24}
.closed-banner .ico{width:20px;height:20px;flex:none}.closed-banner span{display:flex;flex-direction:column;gap:2px}.closed-banner small{color:#7a2a24;font-size:12px}
.head-messages{position:relative;flex:none;width:40px;height:40px;border-radius:50%;border:1px solid #dbe3f0;background:#fff;color:#1f4e99;display:flex;align-items:center;justify-content:center;cursor:pointer}
.head-messages .ico{width:20px;height:20px}
.head-dot{position:absolute;top:-4px;right:-4px;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#d52b1e;color:#fff;font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center;border:2px solid #fff}
.head-dot[hidden]{display:none}
.team-row.joined{color:#0f6e56}.team-row.joined .ico{width:16px;height:16px;vertical-align:-3px}
.team-news{border-top:1px solid #eef1f6;padding-top:8px;margin-top:4px}.team-news-head{display:flex;align-items:center;gap:6px;margin:0 0 4px;font-weight:600;font-size:13px;color:#1f4e99}.team-news-head .ico{width:16px;height:16px}
.team-news ul{margin:0;padding-left:18px;display:grid;gap:5px;font-size:13px;color:#16223d}.team-news li{line-height:1.45}
.user-actions{display:flex;gap:6px;align-items:center;justify-content:flex-end;flex-wrap:wrap}
.messages-title{margin:0 0 4px}.new-message{width:100%;display:flex;align-items:center;justify-content:center;gap:8px;margin:10px 0 6px}.new-message .ico{width:18px;height:18px}
.home-stats button{display:flex;flex-direction:column;align-items:flex-start;text-align:left;border:0;background:#f3f5fa;border-radius:12px;padding:10px 12px;font:inherit;cursor:pointer;color:#16223d}
.home-stats button:hover{background:#eaf1fc}.stat-go{display:flex;align-items:center;gap:2px;margin-top:2px;font-size:12px;font-weight:600;color:#1f4e99}.stat-go .ico{width:14px;height:14px}
/* Berichte: project tiles */
.report-projects{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:10px;margin-bottom:14px}
.report-project{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #e3e8f1;border-radius:12px;padding:14px;font:inherit;text-align:left;cursor:pointer;color:#16223d}
.report-project:hover{border-color:#1f4e99}
.report-project>.ico:first-child{color:#1f4e99;background:#eaf1fc;border-radius:10px;padding:8px;width:42px;height:42px;box-sizing:border-box;flex:none}
.report-project>.ico:last-child{color:#9aa3b5;width:18px;height:18px;flex:none}
.rp-body{flex:1;display:flex;flex-direction:column;gap:3px}.rp-body strong{font-size:16px}.rp-body small{color:#5b6478;font-size:12px}
.rp-line{display:flex;align-items:center;gap:8px}.rp-line .mini-bar{flex:1;width:auto;height:8px}.rp-line b{font-size:18px;color:#1f4e99}
.report-more summary{cursor:pointer;padding:4px 0}.report-more[open] summary{margin-bottom:10px}
#maint-panel,#display-panel{scroll-margin-top:70px}
@media print{.report-projects,.report-more:not([open]),.dialog-actions{display:none}}
.report-group{font-size:13px;text-transform:uppercase;letter-spacing:.04em;color:#5b6478;margin:6px 0 8px}
.rp-tag{display:inline-block;align-self:flex-start;font-size:11px;font-weight:600;background:#fde7e5;color:#a12b24;border-radius:999px;padding:1px 8px;margin-right:6px;vertical-align:middle}
#training-panel{scroll-margin-top:70px}
#training-panel .kpis{margin:10px 0}
.kpi small .ok,.num.ok{color:#1d7a46}.kpi small .warn,.num.warn,small.warn{color:#b4471f}
.training-chart{margin:8px 0 14px}.training-chart svg{width:100%;height:auto;display:block}
.tc-axis{stroke:#d5dbe7;stroke-width:1}.tc-plan{fill:none;stroke:#9aa3b5;stroke-width:2;stroke-dasharray:5 4}.tc-ist{fill:none;stroke:#1f4e99;stroke-width:3}
.tc-bar{fill:#e8483f;opacity:.75}.tc-goal{stroke:#e8483f;stroke-width:1;stroke-dasharray:2 3}.tc-today{stroke:#1f4e99;stroke-width:1;opacity:.35}
.tc-label{font-size:11px;fill:#5b6478}
.training-chart figcaption{font-size:12px;color:#5b6478;display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.tc-key{display:inline-block;width:16px;height:3px;margin-left:8px}.tc-key.ist{background:#1f4e99}.tc-key.plan{border-top:2px dashed #9aa3b5;height:0}.tc-key.bar{background:#e8483f;width:6px;height:10px}
.reason-list{display:flex;flex-direction:column;gap:6px;margin-bottom:8px}
#tr-staff input{width:70px;text-align:center}
.report-ended:empty{display:none}
.dr-table tr[data-tarea]{cursor:pointer}.dr-table tr.active td{background:#eaf1fc}
.dr-table td small{display:block;color:#5b6478;font-size:11px}
/* Berichte: detail pages */
.back-link{display:inline-flex;align-items:center;gap:4px;background:none;border:0;color:#1f4e99;font:inherit;font-weight:600;cursor:pointer;padding:4px 0;margin-bottom:8px}
.back-link .ico{width:16px;height:16px;transform:rotate(180deg)}
.report-detail .muted{margin-top:0}
.kpi-row{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:8px 0}
.kpi-row>div{background:#f6f8fc;border-radius:10px;padding:8px 10px;display:flex;flex-direction:column}
.kpi-row span{font-size:12px;color:#5b6478}.kpi-row strong{font-size:20px;color:#16223d;line-height:1.2}.kpi-row small{font-size:11px;color:#5b6478}
@media (max-width:600px){.kpi-row{grid-template-columns:repeat(2,1fr)}}
.dr-table.compact th,.dr-table.compact td{padding:6px 6px}
.secondary.wide{width:100%;justify-content:center}
.list-more{display:flex;gap:10px;align-items:center;justify-content:center;margin-top:8px;flex-wrap:wrap}
.report-ended details summary{cursor:pointer}.report-ended details[open] .report-projects{margin-top:10px}
.rp-body small .ok{color:#1d7a46}.rp-body small .warn{color:#b4471f}
@media print{.back-link{display:none}}
/* Welcome tour */
.tour{text-align:center}.tour-mascot{width:120px;height:auto;margin:0 auto 10px;display:block}
.tour p{font-size:15px;line-height:1.55;margin:0 auto 14px;max-width:380px}
.tour-dots{display:flex;justify-content:center;gap:6px;margin-bottom:14px}.tour-dots span{width:8px;height:8px;border-radius:50%;background:#d5dbe7}.tour-dots span.on{background:#1f4e99;width:20px;border-radius:4px}
.tour .dialog-actions{justify-content:space-between}
/* Abverkauf MMS */
.sellout-item{border:1px solid #e3e8f1;border-radius:12px;padding:12px 14px;margin:0 0 12px;background:#fff}
.sellout-item legend{padding:0 6px;font-size:15px}.sellout-tip{color:#1f4e99;margin:6px 0 8px;display:flex;gap:6px;align-items:flex-start}.sellout-tip .ico{width:16px;height:16px;flex:none;margin-top:2px}
.chip-choice{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}.chip-choice .chip{font-size:13px;padding:6px 10px}
.sellout-note{width:100%}
.visit-main small.ok{color:#1d7a46}.visit-main small.warn{color:#b4471f}
.sellout-panel h3 small{font-weight:400;font-size:12px}
/* Autoreplenishment MEDIMAX */
.ar-select{display:flex;flex-direction:column;gap:4px;font-size:13px;color:var(--muted);max-width:360px}
.ar-select select{font:inherit;font-size:15px;color:#19243a;padding:9px 10px;border:1px solid var(--border);border-radius:9px;background:#fff}
#ar-list .visit-main small{display:block}
.ar-sticky{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:14px;background:#fff;border:1px solid #e1e7ef;border-radius:13px;padding:10px 14px;margin-bottom:12px;box-shadow:0 6px 16px #2238571a}
.ar-bar-main{flex:1 1 auto;min-width:0;display:flex;flex-direction:column}
.ar-bar-main strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ar-bar-main small,.ar-bar-total small{color:var(--muted);font-size:12px}
.ar-bar-total{display:flex;flex-direction:column;align-items:flex-end;gap:3px;flex:0 0 auto}
.ar-bar-total #ar-total{font-size:22px;font-weight:700;color:#19243a;font-variant-numeric:tabular-nums;line-height:1.1}
.ar-bar-total .mini-bar{width:170px}
#ar-close{width:auto;flex:0 0 auto;min-height:42px;margin:0;padding:0 16px;border:0;border-radius:9px;font-weight:600;cursor:pointer}
#ar-close:disabled{background:#c5cedb;cursor:not-allowed}
.ar-info p{margin:0 0 8px}
.ar-tools{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.ar-tools .segment{width:auto;flex:1 1 320px}
.ar-tools .search{margin-left:0;flex:1 1 200px}
.ar-tools .search input{width:100%;height:38px;font-size:14px}
.ar-group{margin-top:12px;padding:0!important}
.ar-group>summary{display:flex;align-items:center;gap:10px;padding:14px 16px;cursor:pointer;font-size:16px;list-style:none}
.ar-group>summary::-webkit-details-marker{display:none}
.ar-group>summary::before{content:'›';display:inline-block;transition:transform .15s;color:var(--muted);font-size:20px;line-height:1}
.ar-group[open]>summary::before{transform:rotate(90deg)}
.ar-gsum{margin-left:auto;font-weight:700;color:#1f4e99;font-variant-numeric:tabular-nums}
.ar-group .table-scroll{padding:0 8px 8px}
.ar-table{width:100%;border-collapse:collapse;font-size:13px}
.ar-table th{background:#f7f9fc;font-size:11px;text-transform:uppercase;letter-spacing:.03em;color:var(--muted);font-weight:600}
.ar-table th,.ar-table td{padding:7px 6px;border-bottom:1px solid #eef1f6;text-align:left;vertical-align:middle}
.ar-table .num{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.ar-table td small{display:block;color:#8a93a6;font-size:11px;white-space:normal}
.ar-art{min-width:200px}
.ar-table input.ar-mm,.ar-table input.ar-remark,.ar-table select.ar-qty{font:inherit;font-size:14px;line-height:1.2;height:34px;min-height:0;margin:0;border:1px solid var(--border);border-radius:7px;padding:4px 6px;background:#fff;color:#19243a;box-sizing:border-box}
.ar-table input.ar-mm{width:58px;text-align:right}
.ar-table select.ar-qty{width:74px;text-align:right}
.ar-table input.ar-remark{width:130px}
.ar-table tr.ar-has td{background:#f1f6ff}
.ar-table tr.ar-has select.ar-qty{border-color:#1f4e99;font-weight:700}
.ar-table tr.ar-eol td{color:#9aa3b2}
.ar-table tr.ar-saving{opacity:.6}
.ar-sug{color:#1f4e99;font-weight:600}
@media (max-width:1180px){
 .ar-table thead{display:none}
 .ar-table,.ar-table tbody{display:block;min-width:0!important;width:100%}
 .ar-table tr{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px 10px;padding:10px 6px;border-bottom:1px solid #e6eaf1;align-items:end}
 .ar-table td{border:0;padding:0;text-align:left!important;min-width:0;background:transparent!important}
 .ar-table tr.ar-has{background:#f1f6ff}
 .ar-table td.ar-art{grid-column:span 2;align-self:start}
 .ar-table td[data-label="VPE"]{order:1}
 .ar-table td[data-label="Min"],.ar-table td[data-label="Max"],.ar-table td[data-label="Vorschlag"],.ar-table td[data-label="Menge"],.ar-table td[data-label="Wert"],.ar-table td[data-label="Bemerkung"]{order:2}
 .ar-table td[data-label]::before{content:attr(data-label);display:block;font-size:10px;text-transform:uppercase;color:var(--muted);letter-spacing:.03em;margin-bottom:2px}
 .ar-table td[data-label="Bemerkung"]{grid-column:auto}
 .ar-table input.ar-mm,.ar-table select.ar-qty,.ar-table input.ar-remark{width:100%}
}
@media (max-width:760px){
 .ar-sticky{flex-wrap:wrap;gap:8px 12px;border-radius:0 0 13px 13px;margin:0 -16px 12px}
 .ar-bar-main{flex-basis:100%}
 .ar-bar-total{align-items:flex-start;flex:1 1 auto}
 .ar-bar-total .mini-bar{width:130px}
 .ar-table tr{grid-template-columns:repeat(4,minmax(0,1fr))}
 .ar-table td.ar-art{grid-column:1/-1}
 .ar-table td[data-label="Bemerkung"]{grid-column:span 3}
}
@media print{.ar-sticky{position:static;box-shadow:none}.ar-table input,.ar-table select{border:0}}
.ar-head-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.ar-head-actions .secondary{width:auto;margin:0}
.ar-counts{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}
.ar-assign{display:flex;align-items:center;gap:12px;padding:10px 4px;border-bottom:1px solid #eef1f6}
.ar-assign-main{flex:1;min-width:0;display:flex;flex-direction:column}
.ar-assign-main small{color:var(--muted);font-size:12px}
.ar-assign-note{color:#1f4e99!important}
.ar-assign select{flex:0 0 240px;font:inherit;font-size:14px;padding:8px;border:1px solid var(--border);border-radius:8px;background:#fff;color:#19243a;min-height:0;height:38px}
.ar-assign.ar-saving{opacity:.6}
@media (max-width:640px){.ar-assign{flex-direction:column;align-items:stretch}.ar-assign select{flex-basis:auto;width:100%}}
.ar-week{border-top:1px solid #eef1f6;padding:6px 0}
.ar-week>summary{display:flex;justify-content:space-between;align-items:center;gap:12px;cursor:pointer;padding:8px 2px;list-style:none}
.ar-week>summary::-webkit-details-marker{display:none}
.ar-week-sum{text-align:right;display:flex;flex-direction:column;align-items:flex-end}
.ar-week-sum small{color:var(--muted);font-size:12px}
.ar-week .visit-main small,.ar-open .visit-main small{display:block}
.ar-select select{min-width:190px}
.ar-week-sum{white-space:nowrap}
.ar-mail{display:flex;flex-direction:column;gap:4px}
.ar-mail-item{display:flex!important;flex-direction:row!important;align-items:center;gap:10px;padding:8px 4px;border-bottom:1px solid #eef1f6;cursor:pointer}
.ar-mail-item input{width:20px!important;height:20px;min-height:0;flex:0 0 auto;margin:0}
.ar-mail-item span{display:flex;flex-direction:column}
.ar-mail-item small{color:var(--muted);font-size:12px}
.section-pill{margin-left:6px;font-size:11px;vertical-align:middle}
.section-field[hidden]{display:none!important}
.sellout-line{margin:10px 0 4px;border:1px solid #f1e3c4;background:#fdf8ee;border-radius:10px;padding:0 12px;font-size:14px}
.sellout-line>summary{display:flex;align-items:center;gap:8px;padding:9px 0;cursor:pointer;list-style:none;color:#7a5410}
.sellout-line>summary::-webkit-details-marker{display:none}
.sellout-line>summary .ico{width:16px;height:16px;flex:0 0 auto}
.sellout-line>summary>span:first-of-type{flex:1}
.sellout-line>summary small{color:#a07a3a;font-size:12px;margin-left:4px}
.sellout-more{font-size:12px;color:#a07a3a}
.sellout-line[open] .sellout-more{display:none}
.sellout-line ul{list-style:none;margin:0;padding:0 0 4px}
.sellout-line li{display:flex;justify-content:space-between;gap:10px;padding:5px 0;border-top:1px solid #f1e3c4;font-size:13px}
.sellout-line li span{color:#6a7586;text-align:right}
.sellout-line p{margin:4px 0 8px}
.visit-page .vrows{display:flex;flex-direction:column;border:1px solid #e1e7ef;border-radius:13px;background:#fff;margin:12px 0 6px;overflow:hidden}
.vrow{display:flex;align-items:center;gap:10px;padding:12px 14px;border-bottom:1px solid #eef1f6}
.vrow:last-child{border-bottom:0}
.vrow-mark{flex:0 0 22px;height:22px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:13px;background:#eef1f6;color:#8a93a6}
.vrow.ok .vrow-mark{background:#e3f4ea;color:#1f7a45}
.vrow-main{flex:1;min-width:0;display:flex;flex-direction:column}
.vrow-main strong{font-size:15px}
.vrow-main small{color:var(--muted);font-size:13px}
.vrow.ok .vrow-main small{color:#1f7a45}
.vrow-actions{display:flex;gap:6px;flex:0 0 auto;align-items:center}
.vrow-actions .secondary,.vrow-actions .primary{width:auto;margin:0;min-height:36px;padding:6px 14px;font-size:13px}
.visit-page .vnote{display:block;margin:12px 0 6px}
.visit-page .vnote textarea{width:100%}
@media (max-width:520px){.vrow{flex-wrap:wrap}.vrow-actions{width:100%;justify-content:flex-end;padding-left:32px}}
.push-home{margin:12px 0}
.push-home .primary{width:auto;padding:0 18px}
.push-home .text-button{margin-left:12px}
.sample-panel{margin-bottom:18px}.sample-panel>p.muted{margin:8px 0 6px}.sample-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.sample-people{display:flex;flex-direction:column;gap:6px}.sample-person{border:1px solid var(--border);border-radius:10px;padding:6px 12px;background:#fbfcfe}.sample-address{padding:4px 0 10px}.sample-address label{margin-top:8px}.sample-city{display:grid;grid-template-columns:110px 1fr;gap:10px}.sample-product{display:grid;grid-template-columns:90px 1fr auto;gap:10px;align-items:end;margin-bottom:8px}.sample-product .compact{min-height:44px}.sample-more{margin-top:12px}.sample-row{cursor:default}.sample-row .visit-side a{text-decoration:none}
.sample-mode{margin-bottom:12px}.sample-hits{display:flex;flex-direction:column;gap:6px;margin-top:8px}.sample-market .sample-head{padding-top:8px}
.sign-pad{display:block;width:100%;height:180px;border:1.5px dashed #a9c3ec;border-radius:12px;background:#fff;touch-action:none;cursor:crosshair}.sign-tools{display:flex;justify-content:space-between;gap:10px;margin:4px 0 6px}.sample-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.pill.green{background:#eaf7ef;color:#248257}
.sample-pdf-actions{flex-direction:column;align-items:stretch}.sample-pdf-actions>button{width:100%}
.pdf-viewer{position:fixed;inset:0;z-index:50;background:#e9eef5;display:flex;flex-direction:column;padding-top:env(safe-area-inset-top)}.pdf-viewer header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;background:#fff;border-bottom:1px solid var(--border)}.pdf-viewer header strong{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pdf-viewer iframe{flex:1;width:100%;border:0;background:#fff;padding-bottom:env(safe-area-inset-bottom)}
.pdf-viewer-actions{display:flex;gap:8px;flex-shrink:0}
.sample-sent{display:flex;align-items:center;gap:8px;background:#eaf7ef;color:#1f6b46;border-radius:8px;padding:8px 12px;font-size:12px;margin:8px 0}.sample-sent .ico{width:16px;height:16px}.sample-pdf-actions>a{text-align:center;text-decoration:none}
.sample-sent.rejected{background:#fbecef;color:#a3303f}.pill.red{background:#fbecef;color:#ad4254}
.sample-row{flex-wrap:wrap;row-gap:8px}.sample-row .visit-main{min-width:180px;flex:1 1 220px}.sample-row .visit-main small{display:block}.sample-row .sample-actions{flex:0 1 auto;margin-left:auto}
#ptr{position:fixed;left:50%;top:calc(env(safe-area-inset-top) + 6px);z-index:40;display:flex;align-items:center;gap:8px;padding:8px 14px;border-radius:20px;background:#fff;color:#1f4e99;font-size:13px;font-weight:600;box-shadow:0 4px 18px #17345226;transform:translate(-50%,calc(var(--ptr,0px) - 60px));opacity:0;pointer-events:none;transition:opacity .15s}
#ptr.visible{opacity:1}#ptr .ptr-icon{display:inline-block;transition:transform .2s}#ptr.ready .ptr-icon{transform:rotate(180deg)}
#ptr.busy{opacity:1;transform:translate(-50%,20px)}#ptr.busy .ptr-icon{animation:ptr-spin .8s linear infinite}@keyframes ptr-spin{to{transform:rotate(360deg)}}
#offline-bar{position:fixed;left:0;right:0;top:0;z-index:45;background:#8a5a0f;color:#fff;font-size:12px;font-weight:600;text-align:center;padding:calc(env(safe-area-inset-top) + 6px) 12px 6px}
#outbox-bar{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(env(safe-area-inset-bottom) + 86px);z-index:44;border:0;border-radius:20px;padding:9px 16px;background:#1f4e99;color:#fff;font-size:13px;font-weight:600;box-shadow:0 6px 22px #17345240;max-width:calc(100vw - 32px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#outbox-bar.failed{background:#a3303f}
@media(min-width:901px){#outbox-bar{bottom:24px}}
.outbox-list{display:flex;flex-direction:column;gap:8px;margin:10px 0}.outbox-item{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid var(--border);border-radius:10px;padding:10px 12px}.outbox-item small{display:block;color:var(--muted);font-size:11px;margin-top:2px}.outbox-item.failed{border-color:#e9b3bb;background:#fdf3f5}
.greet .home-weather{margin-top:2px;font-size:13px;color:#33455f;font-weight:600}

/* expert SCP */
.pill.blue{background:#e9f0fd;color:#2858b8}
.scp-panel h4{margin:14px 0 4px;font-size:14px}.scp-head{display:flex;justify-content:space-between;align-items:baseline;gap:10px;flex-wrap:wrap}
.scp-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0}.scp-kpis.wide{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));margin:0 0 14px}
.scp-kpis>div{background:#f5f7fb;border-radius:10px;padding:10px}.scp-kpis.wide>div{background:#fff;border:1px solid var(--border)}.scp-kpis b{display:block;font-size:20px}.scp-kpis span{font-size:11px;color:var(--muted)}
.scp-up{color:#248257}.scp-down{color:#ad4254}
.scp-chart{max-width:520px;display:block}.scp-bar{fill:#2858b8}.scp-bar.soft{fill:#c9d6f0}.scp-val{font-size:10px;fill:#203049}.scp-lab{font-size:10px;fill:#69778b}
.scp-areas{display:grid;grid-template-columns:minmax(90px,auto) 1fr 36px;gap:4px 10px;align-items:center;font-size:12px;max-width:520px;margin-top:8px}.scp-track{display:block;height:6px;background:#e6eaf3;border-radius:3px;overflow:hidden}.scp-track i{display:block;height:100%;background:#2858b8}.scp-areas b{text-align:right}
.scp-prep{background:#eef3fd;border-radius:10px;padding:10px 12px;margin:12px 0}.scp-prep ul{margin:6px 0 0;padding-left:18px}.scp-prep li{margin:3px 0}
.scp-tabs,.scp-rtabs{flex-wrap:wrap;margin-top:6px}
.scp-list{list-style:none;margin:6px 0;padding:0}.scp-list li{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-top:1px solid var(--border)}.scp-list li:first-child{border-top:0}
.scp-list small{color:var(--muted);font-size:12px}.scp-sub{display:block;margin-top:2px}.scp-list .num{text-align:right;white-space:nowrap;display:flex;flex-direction:column;align-items:flex-end;color:#2858b8}.scp-list .num b{color:#203049}
.scp-choice{display:flex;gap:6px;margin-top:6px;flex-wrap:wrap}.scp-choice button{font:inherit;font-size:12px;border:1px solid var(--border);background:#fff;border-radius:999px;padding:6px 12px;min-height:34px;cursor:pointer;color:#203049}
.scp-decided,.scp-changes{margin-top:10px}.scp-decided summary,.scp-changes summary{cursor:pointer;font-weight:600}
.scp-picks{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px;margin-bottom:14px}.scp-pick{text-align:left;border:2px solid transparent;border-radius:12px;padding:12px;font:inherit;cursor:pointer;display:flex;flex-direction:column;gap:2px}
.scp-pick b{font-size:22px}.scp-pick span{font-size:12px;color:#203049}.scp-pick small{font-size:11px;color:var(--muted)}.scp-pick.on{border-color:currentColor}
.scp-pick.up{background:#eaf7ef;color:#248257}.scp-pick.back{background:#e9f0fd;color:#2858b8}.scp-pick.down{background:#fbecef;color:#ad4254}.scp-pick.eol{background:#fdf1dc;color:#8a5a0f}
.scp-mk{color:#2858b8;font-weight:600;cursor:pointer;text-decoration:none}.scp-mk:hover{text-decoration:underline}

.scp-track i.w0{width:0%}.scp-track i.w5{width:5%}.scp-track i.w10{width:10%}.scp-track i.w15{width:15%}.scp-track i.w20{width:20%}.scp-track i.w25{width:25%}.scp-track i.w30{width:30%}.scp-track i.w35{width:35%}.scp-track i.w40{width:40%}.scp-track i.w45{width:45%}.scp-track i.w50{width:50%}.scp-track i.w55{width:55%}.scp-track i.w60{width:60%}.scp-track i.w65{width:65%}.scp-track i.w70{width:70%}.scp-track i.w75{width:75%}.scp-track i.w80{width:80%}.scp-track i.w85{width:85%}.scp-track i.w90{width:90%}.scp-track i.w95{width:95%}.scp-track i.w100{width:100%}
.scp-panel .table-scroll,.table-scroll[data-h]{max-height:520px;overflow:auto}.table-scroll[data-h=s]{max-height:340px}

/* Start page: compact team box and separate app news */
.home-team .care-head,.home-news .care-head{display:flex;justify-content:space-between;align-items:center;gap:8px}
.home-team h3,.home-news h3{font-size:15px;margin:0}
.home-team .team-row{font-size:13px;padding:7px 0}
.home-news h3{display:flex;align-items:center;gap:6px}.home-news h3 .ico{width:16px;height:16px}
.home-news ul{margin:6px 0 0;padding-left:18px;display:grid;gap:4px;font-size:13px}
.home-news li{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.4;cursor:pointer}
.home-news li[hidden]{display:none}.home-news li.full,.home-news.open li{-webkit-line-clamp:unset;display:list-item}

/* Top left: the Sales Hub figure always leads to the start page (on the phone; the computer has it in the side bar) */
.head-home{display:none;flex:none;width:40px;height:40px;border:0;padding:0;background:transparent;cursor:pointer}
.head-home img{width:40px;height:40px;border-radius:11px;display:block}
@media (max-width:760px){.head-home{display:block}}
.hub-title:empty{flex:1}

/* Morning briefing on the start page */
.br-lead{font-size:15px;line-height:1.45;padding:12px 16px}
.br-box h3{font-size:15px;margin:0}.br-box .care-head{justify-content:space-between;gap:8px;margin-bottom:2px}
.br-row{gap:10px}.br-row>.ico:first-child{flex:none;width:22px;height:22px;color:#1f4e99}.br-row>span:nth-child(2){flex:1;min-width:0;font-weight:600}.br-row small{font-weight:400;margin-top:2px}
.br-box .care-row:last-child{border-bottom:0}
.br-item{display:flex;align-items:center;gap:6px;border-bottom:1px solid #eef1f6}.br-item:last-child{border-bottom:0}.br-item .br-row{border-bottom:0;flex:1;min-width:0}
.br-later{flex:none;font-size:13px;padding:6px 4px;white-space:nowrap}
.br-point{display:block;padding-left:12px;position:relative}.br-point:before{content:"•";position:absolute;left:1px}
.br-side{float:right;font-weight:400;font-size:12px;color:#5b6478}
.br-target{cursor:default;gap:12px}.br-target>span{flex:1;min-width:0;font-weight:600}.br-target .mini-bar{display:block;width:100%;margin-top:6px}.br-target b{font-size:16px}
html[data-design=apple] .br-row>.ico:first-child{color:var(--ap-blue)}
html[data-design=apple] .br-item{border-bottom:.5px solid var(--ap-sep)}html[data-design=apple] .br-item:last-child{border-bottom:0}
/* Visit protocol page by page (visit.js) */
.vz{max-width:620px;margin:0 auto}
.vz-head{display:flex;justify-content:space-between;align-items:center;gap:10px}
.vz-timer{display:inline-flex;align-items:center;gap:5px;background:#e8f8ec;color:#1d7a36;border-radius:20px;padding:4px 10px;font-size:13px;font-weight:600;font-variant-numeric:tabular-nums}
.vz-timer .ico{width:14px;height:14px}
.vz-title{font-size:26px;font-weight:700;letter-spacing:-.4px;margin-top:4px}
.vz-sub{font-size:13px;color:#8e8e93;margin-top:2px;line-height:1.4}
.vz-dots{display:flex;gap:4px;margin:12px 0 16px}.vz-dots span{flex:1;height:4px;border-radius:2px;background:#d1d1d6}.vz-dots span.done{background:#007aff}.vz-dots span.cur{background:#007aff;opacity:.45}
.vz-card{background:#fff;border-radius:12px;padding:12px 14px;margin:12px 0}
.vz-card h3{font-size:13px;font-weight:600;color:#8e8e93;text-transform:uppercase;letter-spacing:.02em;margin-bottom:8px}.vz-card h3 small{text-transform:none;font-weight:400}
.vz-line{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:9px 0;border-bottom:.5px solid #e5e5ea;font-size:15px}.vz-line:last-of-type{border-bottom:0}.vz-line small{display:block;color:#8e8e93;font-size:13px}
.vz-q{font-size:19px;font-weight:600;line-height:1.3;margin:4px 0 6px}.vz-q.small{font-size:16px;margin:8px 0}
.vz-last{font-size:12px;color:#8e8e93;margin-bottom:12px}
.vz-label{display:block;font-size:13px!important;color:#8e8e93!important;font-weight:400!important;margin:12px 0 6px}
.vz-yn{display:flex;gap:10px}
.vz-yn button{flex:1;padding:14px 8px;border-radius:12px;border:1.5px solid #e5e5ea;background:#fff;font-size:17px;font-weight:600;color:#1c1c1e}
.vz-yn button.yes.on{border-color:#34c759;background:#e8f8ec;color:#1d7a36}.vz-yn button.no.on{border-color:#ff3b30;background:#ffecea;color:#c4271c}.vz-yn button.maybe.on{border-color:#007aff;background:#e5f0ff;color:#007aff}
.vz-chips{display:flex;flex-wrap:wrap;gap:8px;margin:4px 0}
.vz-chip{border:1.5px solid #e5e5ea;background:#fff;border-radius:18px;padding:7px 14px;font-size:15px;color:#1c1c1e}
.vz-chip.on{border-color:#007aff;background:#e5f0ff;color:#007aff;font-weight:600}
.vz input:not([type=checkbox]):not([type=file]),.vz select,.vz textarea{border:0;background:#f2f2f7;border-radius:10px;padding:10px 12px;font-size:16px;height:auto;margin-top:6px;color:#1c1c1e;width:100%}
.vz textarea{min-height:96px;resize:vertical;font:inherit;font-size:16px}
.vz input.vz-miss{background:#fff8e6;box-shadow:inset 0 0 0 1px #ffcc66}
.vz-person{margin:10px 0 4px}.vz-person legend{font-size:13px;color:#8e8e93;font-weight:600}
.vz-two{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.vz-hint{background:#fff8e6;color:#8a5a0f;border-radius:10px;padding:9px 12px;font-size:14px;line-height:1.4;margin-bottom:4px}
.vz-ok{color:#1d7a36;font-size:14px;margin:8px 0}
.vz-gps{display:flex;gap:10px;align-items:center;background:#e8f8ec;border-radius:12px;padding:10px 12px;font-size:14px;color:#1d7a36;line-height:1.35}.vz-gps b{display:block;font-size:15px}.vz-gps .ico{flex:none}
.vz-photos{display:flex;gap:8px;flex-wrap:wrap}
.vz-shot{position:relative;width:76px;height:76px}.vz-shot img{width:76px;height:76px;object-fit:cover;border-radius:10px}
.vz-shot-x{position:absolute;top:-6px;right:-6px;width:24px;height:24px;border-radius:50%;border:0;background:#1c1c1e;color:#fff;font-size:15px;line-height:1;padding:0}
.vz-add-photo{width:76px;height:76px;border-radius:10px;border:1.5px dashed #aeb6c4;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:#007aff!important;font-size:12px!important;cursor:pointer;margin:0!important}
.vz-project{border-left:4px solid #ff9500;background:#fffaf2}.vz-project h3{color:#b25d00}
.vz-row-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:8px}
.vz-todo{display:flex;gap:8px;align-items:center}.vz-todo input{flex:1}.vz-todo select{width:130px!important;flex:none}
.vz-actions{display:flex;gap:10px;margin:20px 0 12px}.vz-actions button{flex:1;min-height:50px;border-radius:12px;font-size:17px;font-weight:600;justify-content:center}
.vz-actions .danger{background:#ff3b30;color:#fff;border:0}
#vz-no-next{margin-top:4px}
.vz-hist{border:.5px solid #e5e5ea}.vz-hist-list{margin:6px 0;padding-left:18px;font-size:14px;line-height:1.5}.vz-hist-note{font-size:14px;margin:6px 0;white-space:pre-wrap}
.vz-thumb{width:76px;height:76px;object-fit:cover;border-radius:10px}

.vz-market{font-size:15px;font-weight:600;color:#1c1c1e;margin-top:10px}
@media(max-width:760px){.hub-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;flex:1 1 auto;font-size:20px!important;line-height:1.2}}
.vz-chip small{font-size:12px;color:#8e8e93;font-weight:400}.vz-chip.on small{color:#007aff}
.vz-new{background:#f7f9fc;border-radius:10px;padding:8px 10px!important}
.vz-chip.want{border-color:#ffcc66;background:#fff8e6;color:#8a5a0f}
.vz-person legend .text-button{font-size:13px;padding:0 0 0 8px;font-weight:400}
.home-actions>:only-child{grid-column:1/-1}
.nav-badge{position:absolute;top:2px;left:calc(50% + 6px);min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#ff3b30;color:#fff;font-size:11px;font-weight:700;line-height:18px;text-align:center}
.rail-item{position:relative}
.vp{max-width:620px;margin:0 auto}
.vp-box h3 small{color:#8e8e93;font-weight:400}
.vp-row{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:.5px solid #e5e5ea}.vp-row:last-child{border-bottom:0}
.vp-main{flex:1;min-width:0;border:0;background:none;text-align:left;padding:0;display:flex;flex-direction:column;gap:3px;color:#1c1c1e;font-size:15px}
.vp-main small{color:#8e8e93;font-size:13px}.vp-main .pill{align-self:flex-start}
.vp-empty p{margin:0 0 4px}
.vp-foot{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:14px 0}
.vp-near{display:inline-flex;align-items:center;gap:6px}.vp-near .ico{width:15px;height:15px}
/* ---- Planung (week with day plan and map, 12-month calendar); laid out for the computer, stacked on the phone ---- */
.pl-top{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:4px 0 12px}
.pl-top .segment{margin:0}.pl-grow{flex:1}
.pl-weeknav{display:flex;align-items:center;gap:8px}.pl-weeknav b{font-size:15px;color:#16223d;white-space:nowrap}
.pl-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-bottom:12px}
.pl-sday{display:flex;flex-direction:column;align-items:flex-start;gap:2px;text-align:left;background:#fff;border:2px solid transparent;border-radius:12px;padding:10px 12px;cursor:pointer;font:inherit;color:#16223d;min-width:0}
.pl-sday.active{border-color:#1f4e99;box-shadow:0 4px 14px #1f4e9922}.pl-sday.past{opacity:.6}.pl-sday.off{background:#f6f1e7}
.pl-sname{font-weight:700;font-size:14px}.pl-soff{font-size:12px;color:#9a6a00;font-weight:600}
.pl-sinfo{font-size:13px;color:#45506a}.pl-skm{font-size:12px;color:#6b7590}.pl-skm.warn{color:#b26b00;font-weight:600}
.pl-work{display:grid;grid-template-columns:minmax(340px,420px) minmax(0,1fr);gap:14px;align-items:start}
.pl-daypane .vz-card{margin:0 0 12px}.pl-daypane h2{margin:0;font-size:19px;color:#16223d}
.pl-dayhead .segment{margin:10px 0 0}
.pl-start{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px;margin-bottom:8px}
.pl-time{display:flex;flex-direction:column;font-size:12px;color:#6b7590;gap:2px}.pl-time input{font:inherit;font-size:15px;padding:6px 8px;border:1px solid #d6dbe6;border-radius:8px}
.pl-note{margin:4px 0 0;font-size:13px;color:#9a6a00;font-weight:600}
.pl-daypane h3{margin:0 0 8px;font-size:15px}.pl-daypane h3 small{color:#6b7590;font-weight:500}
.pl-stops{display:flex;flex-direction:column;gap:2px;margin-bottom:10px}
.pl-stop{display:flex;gap:10px;align-items:flex-start;padding:8px 0;border-bottom:1px solid #eef0f5}.pl-stop:last-child{border-bottom:0}
.pl-stop .route-no{flex:none;width:26px;height:26px;border-radius:50%;background:#1f4e99;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:13px}
.pl-stop.pl-home .route-no{background:#1d9e75}.pl-stop.done .route-no{background:#8a93a8}
.pl-stopmain{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.pl-stopmain small{color:#6b7590;font-size:12px}
.pl-stopname{all:unset;cursor:pointer;display:flex;flex-direction:column}.pl-stopname strong{color:#16223d;font-size:14px}.pl-stopname:hover strong{text-decoration:underline}
.pl-stopmeta{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.pl-stopedit{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end}.pl-stopedit label{display:flex;flex-direction:column;font-size:11px;color:#6b7590;gap:2px}
.pl-stopedit select{font:inherit;font-size:13px;padding:4px 6px;border:1px solid #d6dbe6;border-radius:8px;background:#fff}
.pl-calc{width:100%;justify-content:center}
.pl-sum{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.pl-sum div{display:flex;flex-direction:column}.pl-sum span{font-size:12px;color:#6b7590}.pl-sum b{font-size:17px;color:#16223d}
.pl-sum p{grid-column:1/-1;margin:0}
.pl-daynav{display:flex;justify-content:space-between;gap:10px}
.pl-mappane{position:sticky;top:12px}.pl-search{margin:0 0 6px}
.pl-mapwrap{position:relative}.pl-map{height:calc(100vh - 290px);min-height:420px;border-radius:12px;overflow:hidden;background:#e9edf3}
.pl-card{position:absolute;top:12px;right:12px;width:320px;max-height:calc(100% - 24px);overflow:auto;background:#fff;border-radius:14px;box-shadow:0 10px 30px #16223d33;padding:16px;z-index:500}
.pl-card h3{margin:2px 0;font-size:17px;color:#16223d;padding-right:28px}.pl-card .muted{margin:0 0 8px;font-size:13px}
.pl-ring{display:inline-block;width:10px;height:10px;border-radius:50%;border:3px solid #1f4e99;margin-right:5px;vertical-align:-2px}
.route-pin.done{background:#8a93a8}
.pl-yearhead p{margin:0 0 6px}.pl-gap{color:#b26b00}
.pl-months{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.pl-month{background:#fff;border-radius:12px;padding:10px 12px}.pl-month h3{margin:0 0 6px;font-size:14px;color:#16223d}
.pl-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:2px}
.pl-wd{font-size:10px;color:#8a93a8;text-align:center;font-weight:600}
.pl-cell{position:relative;aspect-ratio:1;border:0;border-radius:6px;background:#f4f6fa;font:inherit;font-size:12px;color:#16223d;cursor:pointer;padding:0;display:flex;align-items:center;justify-content:center}
.pl-cell:hover{outline:2px solid #1f4e99}.pl-cell.we{background:transparent;color:#a3abbd}.pl-cell.past{opacity:.45}
.pl-cell.today{outline:2px solid #16223d;font-weight:700}
.pl-cell.has{background:#dce7fb;color:#1f4e99;font-weight:700}
.pl-cell b{position:absolute;top:1px;right:2px;font-size:9px;line-height:1;color:#1f4e99}
.pl-cell.hol{background:#fde2c8;color:#8a4b00}.pl-cell.abs-vacation{background:#d6f0e4;color:#146c4f}.pl-cell.abs-office,.pl-cell.abs-away{background:#ece6f7;color:#5a3d8a}
.pl-legend{margin-top:12px}.pl-key{display:inline-block;width:12px;height:12px;border-radius:3px;margin-right:5px;vertical-align:-1px;background:#f4f6fa}
.pl-key.has{background:#dce7fb}.pl-key.hol{background:#fde2c8}.pl-key.abs-vacation{background:#d6f0e4}.pl-key.abs-office{background:#ece6f7}
@media (max-width:1100px){.pl-months{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:860px){.pl-work{grid-template-columns:1fr}.pl-mappane{position:relative;top:0;order:-1}.pl-map{height:360px;min-height:0}
 .pl-strip{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;margin:0 -16px 12px;padding:0 16px 4px}.pl-sday{flex:0 0 42%;scroll-snap-align:start}
 .pl-months{grid-template-columns:repeat(2,minmax(0,1fr))}.pl-card{left:8px;right:8px;width:auto;top:auto;bottom:8px;max-height:70%}}
@media (max-width:520px){.pl-months{grid-template-columns:1fr}.pl-weeknav b{font-size:13px}.pl-sum{grid-template-columns:repeat(2,1fr)}}
.visit-next{color:#1f4e99!important;font-weight:600}
.pl-mappane{z-index:5}.pl-mappane .scan-picks{position:absolute;left:0;right:0;top:44px;z-index:600;display:flex;flex-direction:column;gap:4px;box-shadow:0 10px 30px #16223d22;border-radius:12px}
.pl-mappane .scan-picks:empty{display:none}
.pl .pl-stopedit select{height:32px;min-height:32px;padding:2px 26px 2px 8px;font-size:13px;width:auto}
.pl-stop .route-no{font-size:14px}
.pl-top .segment button{white-space:nowrap}
.pl-pick{width:100%;justify-content:center;margin-bottom:8px}
dialog.plp-dialog{width:min(720px,calc(100vw - 20px))}
.plp-chips{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 10px}.plp-search{margin:0 0 6px}.plp-search input{width:100%;margin:0}
.plp-list{display:flex;flex-direction:column;max-height:52vh;overflow:auto;border-top:1px solid #eef0f5}
.plp-row{display:flex;align-items:center;gap:10px;padding:9px 2px;border-bottom:1px solid #eef0f5}.plp-row.in{background:#f2f8f4}
.plp-text{flex:1;min-width:0;display:flex;flex-direction:column}.plp-text strong{font-size:14px;color:#16223d}.plp-text small{font-size:12px;color:#6b7590}
.plp-dot{flex:none;width:10px;height:10px;border-radius:50%;background:#a3abbd}.plp-dot[data-c=red]{background:#d64545}.plp-dot[data-c=amber]{background:#e3a008}.plp-dot[data-c=green]{background:#1d9e75}
/* ---- Bericht Termine im Team ---- */
.tr-legend{display:flex;flex-wrap:wrap;gap:6px}.tr-legend .tr-stop{cursor:default}
.tr-total{margin:0 0 10px}
.tr-grid{display:grid;grid-template-columns:170px repeat(5,minmax(0,1fr)) 140px;gap:6px;margin-bottom:10px}
.tr-row{display:contents}
.tr-head>div{font-size:12px;font-weight:700;color:#6b7590;padding:4px 6px}.tr-head>.today{color:#1f4e99}
.tr-name,.tr-cell,.tr-sum{background:#fff;border-radius:10px;padding:8px;min-width:0;display:flex;flex-direction:column;gap:4px}
.tr-cell.today{box-shadow:inset 0 0 0 2px #1f4e99}
.tr-name .text-button{padding:0;font-size:14px}.tr-name small,.tr-sum small{font-size:12px;color:#6b7590}.tr-name small.warn,.tr-sum .warn{color:#c2410c;font-weight:600}
.tr-sum b{font-size:14px;color:#16223d}
.tr-dlabel{display:none}.tr-off{font-size:12px;font-weight:600;color:#9a6a00}.tr-meta{font-size:11px;color:#6b7590}.tr-empty{color:#a3abbd}
.tr-stop{display:flex;gap:6px;align-items:baseline;text-align:left;border:0;border-left:3px solid #1f4e99;background:#eef3fc;border-radius:6px;padding:4px 6px;font:inherit;font-size:12px;color:#16223d;cursor:pointer;min-width:0}
.tr-stop b{flex:none;font-size:11px}.tr-stop span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tr-stop.st-done{border-color:#1d9e75;background:#e7f6ef}.tr-stop.st-missed{border-color:#d64545;background:#fdecec}.tr-stop.st-unplanned{border-color:#1d9e75;background:#fff;border-style:dashed;border-width:1px 1px 1px 3px}
@media (max-width:860px){.tr-grid{display:block}.tr-head{display:none}.tr-row{display:block;background:#fff;border-radius:12px;padding:10px 12px;margin-bottom:10px}
 .tr-name,.tr-cell,.tr-sum{background:none;padding:6px 0;border-radius:0}.tr-cell{border-top:1px solid #eef0f5}.tr-cell.today{box-shadow:none}.tr-dlabel{display:block;font-size:12px;font-weight:700;color:#6b7590}.tr-sum{border-top:1px solid #eef0f5}}
@media (max-width:860px){.tr-row.tr-head,.tr-cell.empty{display:none}}
.pl-stopmeta .text-button{padding:0;font-size:12px}
.vz-photo{display:inline-flex;flex-direction:column;gap:2px;text-decoration:none;color:#6b7590;font-size:11px;max-width:150px}
#dialog .vz-photo .vz-thumb{width:140px;height:105px;object-fit:cover;border-radius:8px}
/* ---- Kundenakte (one file per market; computer first, lean on the phone) ---- */
.ck{max-width:1400px}
.ck-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;background:#fff;border-radius:16px;padding:20px 24px;margin:6px 0 12px}
.ck-id h1{margin:4px 0 2px;font-size:28px;color:#16223d}.ck-legal{margin:0;color:#8a93a8;font-size:12px}
.ck-contactline{margin:8px 0 0;font-size:14px;color:#45506a}.ck-owner{margin:2px 0 0;font-size:13px;color:#6b7590}
.ck-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;max-width:520px}.ck-actions a,.ck-actions button{white-space:nowrap}
.ck-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:12px}
.ck-kpis>div{background:#fff;border-radius:14px;padding:12px 16px;display:flex;flex-direction:column;gap:2px;min-width:0}
.ck-kpis span{font-size:12px;color:#6b7590}.ck-kpis b{font-size:19px;color:#16223d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ck-kpis small{font-size:12px;color:#8a93a8}
.ck-tabs{display:flex;gap:4px;border-bottom:1px solid #e4e8ef;margin:0 0 14px;overflow-x:auto}
.ck-tabs button{border:0;background:none;padding:12px 14px;font:inherit;font-size:14px;color:#6b7590;border-bottom:3px solid transparent;white-space:nowrap;cursor:pointer}
.ck-tabs button.active{color:#1f4e99;border-color:#1f4e99;font-weight:650}
.ck-cols{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:14px;align-items:start}
.ck-card{margin:0 0 14px}.ck-cardhead{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px}.ck-cardhead h2{margin:0;font-size:16px}.ck-cardhead .text-button{padding:0}
.ck-groups{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:8px}
.ck-group{border-radius:10px;padding:8px 10px;display:flex;flex-direction:column;gap:2px;background:#f4f6fa;border-left:4px solid #a3abbd}
.ck-group b{font-size:13px;color:#16223d}.ck-group span{font-size:12px;color:#45506a}.ck-group small{font-size:11px;color:#6b7590}
.ck-group.yes{border-color:#1d9e75;background:#eef8f3}.ck-group.no{border-color:#d64545;background:#fdf1f1}
.ck-facts{display:flex;flex-wrap:wrap;gap:6px 18px;margin:10px 0 0;font-size:13px;color:#45506a}
.ck-gaps{margin:10px 0 0;font-size:13px;color:#b45309;font-weight:600}.ck-ok{margin:10px 0 0;font-size:13px;color:#1d9e75;font-weight:600}
.ck-contact{display:flex;flex-direction:column;padding:7px 0;border-bottom:1px solid #eef0f5}.ck-contact:last-child{border-bottom:0}
.ck-contact strong{font-size:14px}.ck-contact span{font-size:12px;color:#6b7590}.ck-contact small{font-size:12px}
.ck-todo{padding:6px 0;border-bottom:1px solid #eef0f5;font-size:14px}.ck-todo small{display:block;color:#8a93a8;font-size:12px;margin-left:18px}
.ck-reports h2{font-size:16px;margin:4px 0 0}.ck-sub{margin-top:18px}
.ck-photogrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:12px}.ck-photogrid.small{grid-template-columns:repeat(3,1fr);gap:8px}
.ck-photo{display:flex;flex-direction:column;gap:4px;text-decoration:none;color:#45506a}
.ck-photo img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:10px;background:#e9edf3}
.ck-photo small{font-size:12px;line-height:1.35}.ck-photo small b{display:block;color:#16223d;font-weight:600}
.ck-photogrid.small small{display:none}
.ck-years{margin:0 0 12px}.ck-years small{color:#8a93a8;margin-left:4px}
.ck-month{margin:0 0 20px}.ck-month h3{font-size:16px;margin:0 0 10px;color:#16223d}.ck-month h3 small{color:#8a93a8;font-weight:500}
.ck #ck-visit .visit-panel{margin-top:0}
@media (max-width:1100px){.ck-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.ck-head{flex-direction:column}.ck-actions{justify-content:flex-start;max-width:none}}
@media (max-width:760px){.ck-desk{display:none!important}.ck-cols{grid-template-columns:1fr}.ck-kpis{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
 .ck-kpis>div{padding:8px 10px}.ck-kpis b{font-size:15px}.ck-head{padding:14px 16px}.ck-id h1{font-size:22px}.ck-tabs button{padding:10px 10px;font-size:13px}}
.ck .visit-panel-text{display:flex;flex-direction:column;align-items:flex-start;gap:2px}.ck .visit-panel-text .text-button{padding:2px 0}
.pl-addbtn{display:flex;align-items:center;gap:12px;width:100%;text-align:left;border:2px dashed #b9c7e3;background:#f5f8fe;border-radius:12px;padding:12px 14px;margin:0 0 10px;font:inherit;color:#1f4e99;cursor:pointer}
.pl-addbtn:hover{background:#eaf1fd;border-color:#1f4e99}.pl-addbtn .ico{width:22px;height:22px;flex:none}.pl-addbtn span{display:flex;flex-direction:column}.pl-addbtn small{color:#6b7590;font-size:12px}
.pl-addable h3{cursor:pointer}
/* ---- Terminbericht (visit report as protocol) ---- */
dialog.vr-dialog{width:min(820px,calc(100vw - 20px))}
.vr-head{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:6px 0 14px}.vr-head>div{background:#f4f6fa;border-radius:10px;padding:8px 10px;display:flex;flex-direction:column;gap:2px}
.vr-head span{font-size:11px;color:#6b7590}.vr-head b{font-size:14px;color:#16223d}.vr-head small{font-size:11px;color:#6b7590}
.vr-h{font-size:15px;margin:16px 0 6px;color:#16223d}
.vr-topic{border:1px solid #e4e8ef;border-radius:12px;padding:10px 12px;margin:0 0 8px}.vr-topic h4{margin:0 0 4px;font-size:14px;color:#1f4e99}
.vr-row{display:flex;justify-content:space-between;gap:14px;padding:5px 0;border-bottom:1px solid #f0f2f6;font-size:13px}.vr-row:last-child{border-bottom:0}.vr-row>span:first-child{color:#45506a}.vr-row>span:last-child{text-align:right;flex:none;max-width:55%}
.vr-yes{color:#1d9e75}.vr-no{color:#d64545}.vr-open{color:#a3abbd}
.vr-pics{display:flex;flex-wrap:wrap;gap:8px;margin:6px 0 4px}.vr-pics a{display:flex;flex-direction:column;gap:2px;text-decoration:none;color:#6b7590;font-size:11px}
.vr-pics img{width:150px;height:112px;object-fit:cover;border-radius:8px;background:#e9edf3}
.vr-note{white-space:pre-wrap;background:#f8f9fc;border-radius:8px;padding:8px 10px;margin:4px 0;font-size:13px}
@media (max-width:760px){.vr-head{grid-template-columns:1fr 1fr}.vr-pics img{width:120px;height:90px}}
.vp-del{color:#b42318!important;font-size:12px;padding:4px 0!important}
.vp-acts{display:flex;flex-direction:column;align-items:center;gap:2px;flex:none}
/* Termine: time column + days */
.vp-row{align-items:center}
.vp-time{flex:none;width:66px;display:flex;flex-direction:column;align-items:flex-start}.vp-time b{font-size:17px;color:#16223d;font-variant-numeric:tabular-nums}.vp-time small{font-size:11px;color:#8a93a8}
.vp-time .vp-late{font-size:13px;color:#d64545}
.vp-main{min-width:0}.vp-main small{display:block}
.vp-day{margin-top:6px}.vp-day h4{margin:12px 0 2px;font-size:13px;color:#1f4e99;text-transform:none}.vp-day h4 small{color:#8a93a8;font-weight:500}
.vp-more{margin:10px 0 0}
/* Kunden: whole row opens the Kundenakte; on the phone a compact card (name, place, channel) instead of a full table row */
tr.cust-row{cursor:pointer}tr.cust-row:hover td{background:#f7f9fd}
@media screen and (max-width:600px){
 table:has(#customer-rows) tr.cust-row{display:grid!important;grid-template-columns:1fr auto;gap:2px 10px;padding:12px 14px!important;margin:0 0 8px!important}
 table:has(#customer-rows) tr.cust-row td{padding:0!important;border:0!important;display:block!important}
 table:has(#customer-rows) tr.cust-row td::before{display:none!important}
 table:has(#customer-rows) tr.cust-row td:nth-child(1){grid-column:1/-1}
 table:has(#customer-rows) tr.cust-row td:nth-child(2){grid-column:1;display:flex!important;gap:6px;align-items:baseline}
 table:has(#customer-rows) tr.cust-row td:nth-child(2) strong{font-size:13px}table:has(#customer-rows) tr.cust-row td:nth-child(2) small{margin:0!important}
 table:has(#customer-rows) tr.cust-row td:nth-child(3){grid-column:2;grid-row:2;font-size:12px;color:#6b7590;text-align:right}
 table:has(#customer-rows) tr.cust-row td:nth-child(3) small,table:has(#customer-rows) tr.cust-row td:nth-child(4),table:has(#customer-rows) tr.cust-row td:nth-child(5),table:has(#customer-rows) tr.cust-row td:nth-child(6){display:none!important}
 table:has(#customer-rows) tr.cust-row td:nth-child(1) .scope-summary{font-size:12px}
}
@media screen and (max-width:600px){table:has(#customer-rows) tr.cust-row td:nth-child(3){white-space:nowrap;width:auto!important;min-width:0!important;max-width:none!important}
 table:has(#customer-rows) tr.cust-row td:nth-child(2){width:auto!important;min-width:0!important}}
.pl-fill{display:block;width:100%;height:5px;border-radius:3px;background:#e6eaf3;margin-top:4px;overflow:hidden}.pl-fill span{display:block;height:100%;background:#1d9e75;border-radius:3px}.pl-fill span.over{background:#e3a008}
.pl-fill span.w0{width:0}.pl-fill span.w5{width:5%}.pl-fill span.w10{width:10%}.pl-fill span.w15{width:15%}.pl-fill span.w20{width:20%}.pl-fill span.w25{width:25%}.pl-fill span.w30{width:30%}.pl-fill span.w35{width:35%}.pl-fill span.w40{width:40%}.pl-fill span.w45{width:45%}.pl-fill span.w50{width:50%}.pl-fill span.w55{width:55%}.pl-fill span.w60{width:60%}.pl-fill span.w65{width:65%}.pl-fill span.w70{width:70%}.pl-fill span.w75{width:75%}.pl-fill span.w80{width:80%}.pl-fill span.w85{width:85%}.pl-fill span.w90{width:90%}.pl-fill span.w95{width:95%}.pl-fill span.w100{width:100%}
/* review 2: channel dots, week total, fixed wizard button, room for titles on the phone */
.ch-dot{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:7px;vertical-align:1px;background:#a3abbd;flex:none}
.pl-weeksum{margin:2px 0 12px;font-size:13px;color:#45506a}.pl-weeksum:empty{display:none}.pl-weeksum .warn{color:#b26b00;font-weight:600}
@media (max-width:760px){
 .vz-actions{position:sticky;bottom:calc(64px + env(safe-area-inset-bottom));z-index:20;margin:16px -16px 0;padding:10px 16px 12px;background:linear-gradient(to bottom,rgba(242,242,247,0),#f2f2f7 28%)}
 span.hub-area{display:none}
 .pl-mappane{order:2!important}
}
/* ---- Kundenakte redesign 2026-11-13: three columns with history on the computer, folding sections on the phone ---- */
.ck3{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.55fr) minmax(0,1fr);gap:14px;align-items:start}
.ck-col{display:flex;flex-direction:column;gap:14px;min-width:0}
.ck-sec{margin:0;padding:14px 16px}
.ck-sec>summary{display:flex;justify-content:space-between;align-items:center;gap:8px;list-style:none;cursor:default}.ck-sec>summary::-webkit-details-marker{display:none}
.ck-sec>summary h2{margin:0;font-size:15px}.ck-count{font-size:12px;color:#8a93a8;font-weight:600}
.ck-secbody{margin-top:10px}
.ck-desk-view .ck-sec>summary{pointer-events:none}
.ck-range{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:7px 0;border-bottom:1px solid #eef0f5;font-size:13px}.ck-range:last-of-type{border-bottom:0}
.ck-range span{display:flex;flex-direction:column;color:#16223d}.ck-range small{font-size:11px;color:#8a93a8}.ck-range b{font-size:13px;white-space:nowrap}.ck-range b small{font-weight:500}
.ck-inline{display:flex;flex-wrap:wrap;gap:4px 16px;margin-top:6px}.ck-inline .text-button{padding:4px 0;font-size:12px}
.ck-hint{font-size:12px;color:#8a93a8;margin:8px 0 0}.ck-pdf{font-size:11px;color:#1f4e99}
.ck-contact{flex-direction:row;align-items:center;gap:10px}.ck-ctext{display:flex;flex-direction:column;min-width:0}
.ck-avatar{flex:none;width:34px;height:34px;border-radius:50%;background:#e8eefb;color:#1f4e99;font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center}
.ck-open-row{display:flex;align-items:center;gap:10px;width:100%;text-align:left;border:0;background:none;font:inherit;padding:8px 0;border-bottom:1px solid #eef0f5;color:#16223d;font-size:13px;cursor:pointer}
.ck-open-row:last-child{border-bottom:0}.ck-open-row>span:nth-child(2){flex:1;min-width:0;display:flex;flex-direction:column}.ck-open-row small{font-size:11px;color:#8a93a8}
.ck-open-row .ico{width:16px;height:16px;color:#a3abbd;flex:none}div.ck-open-row{cursor:default}
.ck-check{flex:none;width:28px;height:28px;border-radius:8px;border:1.5px solid #c9d2e3;background:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0}.ck-check .ico{color:#c9d2e3}.ck-check:hover{border-color:#1d9e75}.ck-check:hover .ico{color:#1d9e75}
.ck-filter{margin:0 0 10px;display:flex;gap:6px;flex-wrap:wrap}
.ck-item{display:flex;gap:12px;align-items:flex-start;padding:12px 0;border-bottom:1px solid #eef0f5}.ck-item:last-of-type{border-bottom:0}
.ck-item>.pill{flex:none;width:62px;text-align:center;margin-top:1px}
.ck-itext{flex:1;min-width:0}.ck-itext p{margin:0;font-size:13px;line-height:1.45}.ck-itext small{font-size:12px;color:#8a93a8}
.ck-res{margin:4px 0 0;padding-left:16px;font-size:13px;color:#45506a}.ck-res li{margin:1px 0}
.ck-sub{font-size:12px!important;color:#6b7590;margin-top:3px!important}.ck-note{background:#f8f9fc;border-radius:8px;padding:6px 8px;margin-top:5px!important;white-space:pre-wrap}
.ck-thumbs{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0 2px;align-items:center}.ck-thumbs img{width:64px;height:48px;object-fit:cover;border-radius:6px;background:#e9edf3;display:block}
.ck-itext .text-button{padding:4px 0;font-size:12px}
.ck-more{width:100%;justify-content:center;margin-top:10px}
.ck-big{font-size:22px;font-weight:700;color:#16223d;margin:0 0 6px}
details.ck-years{margin-top:10px;font-size:13px}details.ck-years>summary{cursor:pointer;color:#1f4e99;font-size:12px;font-weight:600;pointer-events:auto}
.ck-yearsel{margin:0 0 12px}.ck-yearsel small{color:#8a93a8;margin-left:4px}
.ck-actions .primary .ico{width:16px;height:16px}
@media (max-width:1100px){.ck3{grid-template-columns:minmax(0,1fr) minmax(0,1.3fr)}.ck3>.ck-col:last-child{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;align-items:start}}
@media (max-width:760px){
 .ck3{display:flex;flex-direction:column;gap:10px}.ck-col,.ck3>.ck-col:last-child{display:contents}
 .ck-sec{padding:12px 14px}.ck-sec>summary{cursor:pointer}
 .ck-sec>summary::after{content:"";width:8px;height:8px;border-right:2px solid #a3abbd;border-bottom:2px solid #a3abbd;transform:rotate(45deg);margin-left:4px;flex:none}.ck-sec[open]>summary::after{transform:rotate(-135deg)}
 .ck-sec>summary h2{flex:1}
 .ck-sec[data-sec=open]{order:1}.ck-sec[data-sec=range]{order:2}.ck-sec[data-sec=contacts]{order:3}.ck-sec[data-sec=timeline]{order:4}.ck-sec[data-sec=revenue]{order:5}.ck-sec[data-sec=lists]{order:6}.ck-sec[data-sec=notes]{order:7}
 .ck-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%}.ck-actions>*{justify-content:center;text-align:center}.ck-actions #ck-start{grid-column:1/-1;min-height:46px;font-size:15px}
 .ck-item>.pill{width:54px;font-size:11px}
}
/* ---- Start page redesign 2026-11-13 ---- */
.hd{display:flex;flex-direction:column;gap:12px;margin:0 0 12px}.hd .care{margin:0}
.hd-next{border:2px solid #1f4e99}
.hd-kicker{margin:0 0 2px;font-size:12px;font-weight:700;color:#1f4e99;text-transform:uppercase;letter-spacing:.4px}
.hd-nexttitle{all:unset;display:block;font-size:20px;font-weight:700;color:#16223d;cursor:pointer;line-height:1.25}
.hd-next .muted{margin:2px 0 10px;font-size:13px}
.hd-nextbtns{display:grid;grid-template-columns:1.4fr 1fr;gap:8px}.hd-nextbtns>*{justify-content:center;min-height:46px;display:inline-flex;align-items:center;gap:6px;font-size:15px}.hd-nextbtns .ico{width:17px;height:17px}
.hd-talk{margin-top:10px;padding-top:10px;border-top:1px solid #eef0f5;display:flex;flex-direction:column;gap:2px;font-size:13px;color:#45506a}.hd-talk b{font-size:12px;color:#8a93a8;font-weight:600}.hd-talk span::before{content:"· "}
.hd-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:12px;align-items:stretch}.hd-grid.nomap{grid-template-columns:1fr}
.hd-day h3 small,.hd-plan h3 small{font-size:12px;color:#8a93a8;font-weight:500;margin-left:4px}
.hd-row{display:flex;align-items:center;gap:10px;width:100%;text-align:left;border:0;background:none;font:inherit;padding:9px 0;border-bottom:1px solid #eef0f5;color:#16223d;cursor:pointer}.hd-row:last-child{border-bottom:0}
.hd-time{flex:none;width:48px;font-weight:700;font-size:15px;font-variant-numeric:tabular-nums}.hd-name{flex:1;min-width:0;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hd-side{flex:none;font-size:12px;color:#8a93a8}
.hd-row.done{color:#8a93a8}.hd-row.done .hd-time{color:#1d9e75}.hd-row.now .hd-name{font-weight:700}.hd-row.home{cursor:default;color:#8a93a8}.hd-side .warn{color:#c2410c}
.hd-empty .primary{margin-top:10px;display:inline-flex;gap:6px;align-items:center}
.hd-mapcard{padding:0!important;overflow:hidden;min-height:240px}.hd-map{height:100%;min-height:240px}
.hd-two{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;align-items:start}.hd-two>:only-child{grid-column:1/-1}
.hd-chips{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin-top:8px}
.hd-chip{border:0;border-radius:10px;background:#eef3fc;padding:7px 4px;font:inherit;display:flex;flex-direction:column;align-items:center;gap:1px;cursor:pointer;color:#1f4e99}
.hd-chip small{font-size:11px;color:#6b7590}.hd-chip b{font-size:15px}.hd-chip.gap{background:#fdf3d7;color:#9a6a00}.hd-chip.off{background:#f1f2f6;color:#8a93a8}.hd-chip.off b{font-size:11px}
.hd-figs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:4px 0 8px}.hd-figs div{background:#f4f6fa;border-radius:10px;padding:8px 10px;display:flex;flex-direction:column}.hd-figs b{font-size:20px;color:#16223d}.hd-figs span{font-size:12px;color:#6b7590}.hd-figs .warn b{color:#c2410c}
/* with the new day block the push hint and the figures move to the end of the page */
.hub-content:has(.hd){display:flex;flex-direction:column}.hub-content:has(.hd) .push-home{order:40}.hub-content:has(.hd) .home-stats{order:50}.hub-content:has(.hd) .home-team{order:45}
@media (max-width:900px){.hd-grid,.hd-two{grid-template-columns:1fr}.hd-mapcard{display:none}}
.hd-next{box-shadow:inset 0 0 0 2px #1f4e99;display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:6px 20px;align-items:center}
.hd-next .hd-talk{grid-column:1/-1}.hd-next .muted{margin-bottom:0}
@media (max-width:900px){.hd-next{grid-template-columns:1fr}.hd-next .muted{margin-bottom:6px}}
@media (max-width:760px){.ck3{align-items:stretch}.ck-sec{width:100%}}
/* ---- Kundenakte as ONE card (2026-11-13): label left, content right on the computer; folding rows on the phone ---- */
.ck1wrap{max-width:1080px}
.ck1{background:#fff;border-radius:16px;overflow:hidden}
.ck1-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:20px 24px 14px}
.ck1-id h1{margin:4px 0 2px;font-size:26px;color:#16223d}.ck1-sub{margin:0;font-size:12px;color:#8a93a8}
.ck1-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.ck1-actions>*{white-space:nowrap;display:inline-flex;align-items:center;gap:6px}.ck1-actions .ico{width:16px;height:16px}
.ck1-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:#eef0f5;border-top:1px solid #eef0f5;border-bottom:1px solid #eef0f5}
.ck1-kpis>div{background:#fafbfd;padding:10px 24px;display:flex;flex-direction:column;min-width:0}.ck1-kpis span{font-size:12px;color:#6b7590}.ck1-kpis b{font-size:17px;color:#16223d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ck1-kpis small{font-size:11px;color:#8a93a8}
.ck1-row{display:grid;grid-template-columns:200px minmax(0,1fr);gap:8px 20px;padding:14px 24px;border-bottom:1px solid #eef0f5}
.ck1-row[hidden]{display:none}
.ck1-label{all:unset;display:flex;flex-direction:column;gap:2px;align-self:start}.ck1-label span{font-size:14px;font-weight:650;color:#16223d}.ck1-label small{font-size:12px;color:#8a93a8}
.ck1-body{min-width:0;font-size:13px}
.ck1-line{display:flex;justify-content:space-between;gap:16px;padding:6px 0;border-bottom:1px solid #f3f4f8;width:100%;text-align:left;background:none;border-left:0;border-right:0;border-top:0;font:inherit;font-size:13px;color:#16223d}
.ck1-body>.ck1-line:last-of-type,.ck1-line:last-child{border-bottom:0}
.ck1-line>span:first-child{color:#6b7590;display:flex;flex-direction:column}.ck1-line>span:last-child{text-align:right;display:flex;flex-direction:column;align-items:flex-end;min-width:0}
.ck1-line small{font-size:11px;color:#8a93a8;font-weight:400}.ck1-line.cur b{font-size:16px}.ck1-line .mini-bar{margin-top:3px}
.ck1-proj{cursor:pointer}.ck1-proj:hover{background:#f7f9fd}
.ck-yes{color:#1d9e75}.ck-no{color:#d64545}.ck-na{color:#b26b00;font-weight:500}
.ck1-person{display:grid;grid-template-columns:190px minmax(0,1fr) minmax(0,1.2fr);gap:10px;padding:6px 0;border-bottom:1px solid #f3f4f8;align-items:baseline}
.ck1-role{color:#6b7590}.ck1-pname{font-weight:600;color:#16223d}.ck1-pcontact{font-size:12px;text-align:right;overflow:hidden;text-overflow:ellipsis}.ck1-person.missing{grid-template-columns:190px 1fr}
.ck1-links{display:flex;flex-wrap:wrap;gap:4px 18px;margin-top:6px}.ck1-links .text-button,.ck1-body>.text-button{padding:4px 0;font-size:12px}
.ck1-h{margin:10px 0 4px;font-size:12px;font-weight:700;color:#45506a}.ck1-h small{font-weight:400;color:#8a93a8;margin-left:4px}
.ck1-visit{display:grid;grid-template-columns:150px minmax(0,1fr) auto;gap:12px;width:100%;text-align:left;border:0;border-bottom:1px solid #f3f4f8;background:none;font:inherit;padding:8px 0;color:#16223d;cursor:pointer;align-items:start}
.ck1-visit:hover{background:#f7f9fd}.ck1-vdate{display:flex;flex-direction:column}.ck1-vdate b{font-size:13px}.ck1-visit small{font-size:11px;color:#8a93a8}
.ck1-vtext{display:flex;flex-direction:column;gap:1px;font-size:13px;color:#45506a;min-width:0}.ck1-vside{display:flex;align-items:center;gap:6px}.ck1-vside .ico{width:15px;height:15px;color:#a3abbd}
.ck1-open{display:flex;align-items:center;gap:10px;width:100%;text-align:left;border:0;border-bottom:1px solid #f3f4f8;background:none;font:inherit;font-size:13px;padding:7px 0;color:#16223d;cursor:pointer}
.ck1-open:last-child{border-bottom:0}.ck1-open>span:nth-child(2){flex:1;display:flex;flex-direction:column;min-width:0}.ck1-open small{font-size:11px;color:#8a93a8}.ck1-open .ico{width:15px;height:15px;color:#a3abbd;flex:none}div.ck1-open{cursor:default}
.ck1-bullet{flex:none;width:8px;height:8px;border-radius:50%;background:#e3a008;margin:0 10px}
.ck1-foot{display:flex;justify-content:space-between;gap:12px;padding:10px 24px}.ck1-foot .text-button{font-size:12px;padding:4px 0}
.ck1 #ck-lists>*{box-shadow:none!important;margin:0 0 12px!important}
.ck1-rec{margin:12px 0 0;font-size:13px;color:#45506a}
.ck-figs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:6px}.ck-figs div{background:#f4f6fa;border-radius:10px;padding:8px 10px;display:flex;flex-direction:column}.ck-figs b{font-size:19px;color:#16223d}.ck-figs span{font-size:11px;color:#6b7590}.ck-figs .warn b{color:#c2410c}
.ck-charts{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px 24px;margin-top:4px}
.ck-chart{width:100%;height:auto;display:block;max-width:560px}
.ck-axis{stroke:#dfe3ec;stroke-width:1}.ck-barv{fill:#9db8e8}.ck-barv.cur{fill:#1f4e99}.ck-barv.hit{fill:#1d9e75}.ck-barv.est{fill:#d5ddec}
.ck-goal{stroke:#e3a008;stroke-width:2.5;stroke-linecap:round}.ck-ct{font-size:11px;fill:#8a93a8}.ck-cv{font-size:11px;fill:#45506a;font-weight:600}
.ck-legend{margin:2px 0 6px;font-size:11px;color:#8a93a8}.ck-legend .k{display:inline-block;width:10px;height:10px;border-radius:2px;margin:0 4px 0 8px;vertical-align:-1px}.ck-legend .k:first-child{margin-left:0}.ck-legend .bar{background:#1f4e99}.ck-legend .goal{background:#e3a008;height:3px;vertical-align:3px}.ck-legend .est{background:#d5ddec}
.ck-hbar{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(60px,1fr) 44px;gap:8px;align-items:center;padding:4px 0;font-size:12px}.ck-hbar.dead{grid-template-columns:minmax(0,1fr) auto}
.ck-hname{display:flex;flex-direction:column;min-width:0;color:#16223d;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ck-hname small{font-size:11px;color:#8a93a8;overflow:hidden;text-overflow:ellipsis}
.ck-hbar b{text-align:right;font-size:12px;white-space:nowrap}.ck-hbar .mini-bar{width:100%}.ck-hbar .mini-bar.good span{background:#1d9e75}.ck-hbar.dead b{color:#c2410c}
@media (max-width:760px){
 .ck1{border-radius:14px}.ck1-head{flex-direction:column;padding:14px 16px 12px;gap:12px}.ck1-id h1{font-size:21px}
 .ck1-actions{display:grid;grid-template-columns:1fr 1fr 1fr;width:100%}.ck1-actions>*{justify-content:center}.ck1-actions #ck-start{grid-column:1/-1;min-height:46px;font-size:15px}
 .ck1-kpis{grid-template-columns:1fr 1fr}.ck1-kpis>div{padding:8px 16px}.ck1-kpis b{font-size:15px}
 .ck1-row{grid-template-columns:1fr;padding:0 16px;gap:0}
 .ck1-label{flex-direction:row;justify-content:space-between;align-items:center;padding:13px 0;cursor:pointer;width:100%}.ck1-label span{font-size:15px}
 .ck1-label::after{content:"";width:8px;height:8px;border-right:2px solid #a3abbd;border-bottom:2px solid #a3abbd;transform:rotate(-135deg);margin-left:10px;flex:none}.ck1-row.closed .ck1-label::after{transform:rotate(45deg)}
 .ck1-label small{margin-left:auto}.ck1-body{padding-bottom:12px}.ck1-row.closed .ck1-body{display:none}
 .ck1-person{grid-template-columns:1fr;gap:0;padding:7px 0}.ck1-pcontact{text-align:left}.ck1-person.missing{grid-template-columns:1fr auto}
 .ck1-visit{grid-template-columns:1fr auto}.ck1-vtext{grid-column:1/-1;grid-row:2}
 .ck-charts{grid-template-columns:1fr}.ck-figs{grid-template-columns:1fr 1fr}.ck1-foot{padding:10px 16px}
}
.ck1-more>summary{cursor:pointer;color:#1f4e99;font-size:13px;font-weight:600;padding:2px 0}.ck1-more[open]>summary{margin-bottom:10px}
/* ---- Motion (2026-11-13): small, quick, Apple-like. Entrance only on a page change (body[data-enter]); off with "reduce motion". ---- */
@keyframes rise-in{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@keyframes pop-in{0%{opacity:0;transform:scale(.86)}70%{transform:scale(1.04)}100%{opacity:1;transform:none}}
@keyframes nav-pop{0%{transform:scale(1)}45%{transform:scale(1.28) translateY(-2px)}100%{transform:scale(1)}}
@keyframes badge-pulse{0%,100%{transform:scale(1)}40%{transform:scale(1.28)}}
@keyframes mascot-in{0%{opacity:0;transform:translateY(18px) scale(.8) rotate(-8deg)}60%{transform:translateY(-4px) scale(1.05) rotate(3deg)}100%{opacity:1;transform:none}}
@keyframes mascot-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
@keyframes mascot-wave{0%,100%{transform:rotate(0)}20%{transform:rotate(-7deg)}45%{transform:rotate(6deg)}70%{transform:rotate(-3deg)}}
@keyframes dialog-in{from{opacity:0;transform:translateY(18px) scale(.97)}to{opacity:1;transform:none}}
@keyframes fade-in{from{opacity:0}to{opacity:1}}
@keyframes bar-grow{from{transform:scaleY(0)}to{transform:scaleY(1)}}
@keyframes bar-wide{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes dot-on{from{transform:scale(.4)}to{transform:scale(1)}}
@media (prefers-reduced-motion:no-preference){
 body[data-enter] #content>*{animation:rise-in .42s cubic-bezier(.2,.8,.2,1) both}
 body[data-enter] #content>*:nth-child(2){animation-delay:.05s}body[data-enter] #content>*:nth-child(3){animation-delay:.1s}body[data-enter] #content>*:nth-child(4){animation-delay:.15s}body[data-enter] #content>*:nth-child(5){animation-delay:.2s}body[data-enter] #content>*:nth-child(n+6){animation-delay:.25s}
 body[data-enter] #content>.fab{animation:pop-in .4s .3s both}
 body[data-enter] .rail-item.active .ico{animation:nav-pop .45s cubic-bezier(.3,1.4,.5,1)}
 body[data-enter] .nav-badge:not([hidden]){animation:badge-pulse .5s .35s 2}
 /* start page: the day builds up */
 .greet img{transform-origin:50% 90%;animation:mascot-wave 1.1s .25s ease-in-out}
 .hd>*{animation:rise-in .45s cubic-bezier(.2,.8,.2,1) both}.hd>*:nth-child(2){animation-delay:.08s}.hd>*:nth-child(3){animation-delay:.16s}
 .hd-row{animation:rise-in .35s both}.hd-row:nth-child(3){animation-delay:.06s}.hd-row:nth-child(4){animation-delay:.12s}.hd-row:nth-child(5){animation-delay:.18s}.hd-row:nth-child(n+6){animation-delay:.24s}
 .hd-chip{animation:pop-in .35s both}.hd-chip:nth-child(2){animation-delay:.06s}.hd-chip:nth-child(3){animation-delay:.12s}.hd-chip:nth-child(4){animation-delay:.18s}.hd-chip:nth-child(5){animation-delay:.24s}
 .hd-figs>div{animation:pop-in .4s both}.hd-figs>div:nth-child(2){animation-delay:.07s}.hd-figs>div:nth-child(3){animation-delay:.14s}.hd-figs>div:nth-child(4){animation-delay:.21s}
 /* dialogs and the "Neu im Sales Hub" windows */
 dialog[open]{animation:dialog-in .26s cubic-bezier(.2,.8,.2,1)}dialog[open]::backdrop{animation:fade-in .25s}
 .tour-mascot{animation:mascot-in .55s cubic-bezier(.2,.9,.3,1.2) both,mascot-float 3.2s .7s ease-in-out infinite}
 .tour h3{animation:rise-in .4s .18s both}.tour p{animation:rise-in .4s .28s both}.tour .dialog-actions{animation:rise-in .4s .38s both}
 .tour-dots span.on{animation:dot-on .3s both}
 /* charts and bars grow */
 .ck-barv{transform-box:fill-box;transform-origin:50% 100%;animation:bar-grow .6s cubic-bezier(.2,.8,.2,1) both}
 .ck-chart .ck-barv:nth-of-type(2){animation-delay:.03s}.ck-chart .ck-barv:nth-of-type(3){animation-delay:.06s}.ck-chart .ck-barv:nth-of-type(4){animation-delay:.09s}.ck-chart .ck-barv:nth-of-type(5){animation-delay:.12s}.ck-chart .ck-barv:nth-of-type(n+6){animation-delay:.15s}
 .ck-cv,.ck-goal{animation:fade-in .4s .45s both}
 .mini-bar>span,.pl-fill>span,.care-bar>span{transform-origin:0 50%;animation:bar-wide .7s cubic-bezier(.2,.8,.2,1) both}
 /* touch feedback */
 .primary,.secondary,.chip,.rail-item,.hd-chip,.pl-sday,.more-tile,.report-project{transition:transform .12s ease,background-color .15s ease,box-shadow .15s ease}
 .primary:active,.secondary:active,.chip:active,.hd-chip:active,.more-tile:active,.report-project:active{transform:scale(.97)}
 .rail-item:active .ico{transform:scale(.88)}
 .pl-sday.active{animation:pop-in .3s}
 .vz-dots span.cur{animation:dot-on .3s both}
}
.hd-overdue{margin:4px 0;font-size:13px;color:#b45309;font-weight:600}.hd-overdue .text-button{padding:0;font-size:13px}
/* ---- Mascot with day ring, speech bubble, progress (2026-11-13) ---- */
.head-home,.rail-brand{position:relative}
.day-ring{position:absolute;inset:-4px;width:calc(100% + 8px);height:calc(100% + 8px);pointer-events:none;overflow:visible}
.rail-brand .day-ring{inset:-4px -4px 10px -4px;height:auto}
.day-ring rect{fill:none;stroke-width:3.5}.day-ring .bg{stroke:#dfe4ee}.day-ring .fg{stroke:#34c759;stroke-linecap:round;transition:stroke-dashoffset .9s cubic-bezier(.2,.8,.2,1)}
.day-ring.full .fg{stroke:#ffb800}
@keyframes mascot-hop{0%,100%{transform:translateY(0) rotate(0)}30%{transform:translateY(-9px) rotate(-8deg)}60%{transform:translateY(0) rotate(6deg)}80%{transform:translateY(-4px)}}
.hop img{animation:mascot-hop .9s cubic-bezier(.3,1.3,.5,1)}
.greet{flex-wrap:wrap}
.greet-bubble{position:relative;flex-basis:100%;margin:10px 0 0;background:#fff;border-radius:14px;padding:11px 14px;font-size:15px;color:#16223d;line-height:1.4}
.greet-bubble::before{content:"";position:absolute;left:18px;top:-7px;width:14px;height:14px;background:#fff;transform:rotate(45deg);border-radius:3px}
.greet-bubble b{color:#1f4e99}
.hd-progress{display:flex;align-items:center;gap:10px;margin:0 0 6px}.hd-progress .mini-bar{flex:1;height:8px;border-radius:4px}.hd-progress .mini-bar span{background:#34c759;border-radius:4px}.hd-progress b{font-size:12px;color:#45506a;white-space:nowrap}
.hd-count{display:inline-block;margin-left:6px;background:#1f4e99;color:#fff;border-radius:999px;padding:1px 9px;font-size:11px;letter-spacing:0;text-transform:none}
@media (prefers-reduced-motion:no-preference){
 .greet-bubble{transform-origin:20px 0;animation:pop-in .45s .35s cubic-bezier(.2,.9,.3,1.2) both}
 body[data-enter] .head-home img,body[data-enter] .rail-brand img{animation:mascot-wave .9s .1s ease-in-out}
 .hd-count{animation:badge-pulse 1.6s 1s 2}
}
.hd-progress .mini-bar span{background:#34c759!important}
html[data-design=apple] .hd-progress .mini-bar span,html[data-design=apple] .ck-hbar .mini-bar.good span{background:#34c759!important}
/* ---- Vorgaben (2026-11-13) ---- */
.vg-box{margin:0}
.vg-row{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid #eef0f5}.vg-row:last-child{border-bottom:0}
.vg-row.new{background:#fff7e6;margin:0 -14px;padding:10px 14px;border-radius:10px;border-bottom:0}
.vg-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.vg-main b{font-size:15px;color:#16223d}.vg-main small{font-size:12px;color:#6b7590}.vg-main p{margin:2px 0 0;font-size:13px;color:#45506a}
.vg-prio{display:inline-block;background:#d64545;color:#fff;border-radius:999px;font-size:10px;font-weight:700;padding:1px 7px;vertical-align:2px;text-transform:uppercase;letter-spacing:.3px}
.vg-prog{display:flex;align-items:center;gap:8px;margin-top:4px}.vg-prog .mini-bar{flex:none;width:90px}.vg-acts{flex:none}
.vg-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:4px}.vg-top .primary{flex:none;display:inline-flex;align-items:center;gap:6px}.vg-top .ico{width:16px;height:16px}
.vg-cardhead{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.vg-cardhead h3{margin:0 0 4px;font-size:16px;text-transform:none}.vg-card.old{opacity:.7}
.vg-table{margin-top:8px}.vg-table th,.vg-table td{padding:8px 10px;font-size:13px}.vg-table small{color:#6b7590}
.vg-old{margin-top:14px}.vg-old>summary{cursor:pointer;color:#1f4e99;font-weight:600;font-size:13px;margin-bottom:8px}
.vg-users{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:4px 12px;margin:6px 0 10px}
.vg-chip{border-color:#d64545!important;color:#b42318!important}.vg-chip.active{background:#d64545!important;color:#fff!important}.plp-vg{font-size:10px;margin-left:4px}
@media (max-width:760px){.vg-row{flex-direction:column;align-items:stretch}.vg-acts>*{width:100%;justify-content:center}.vg-top{flex-direction:column;align-items:stretch}}
@media (prefers-reduced-motion:no-preference){.vg-row.new{animation:pop-in .45s .2s both}}
/* ---- Team view (lead / key account, computer) ---- */
.tm-figs{margin:0 0 12px}
.tm-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:14px;align-items:start}
.tm-side{display:flex;flex-direction:column;gap:12px;position:sticky;top:12px}.tm-side .care{margin:0}
.tm-map{height:300px;border-radius:10px;overflow:hidden;background:#e9edf3}
.tm-legend{display:flex;flex-direction:column;margin-top:8px}
.tm-rep{display:flex;align-items:center;gap:8px;border:0;background:none;font:inherit;text-align:left;padding:5px 0;cursor:pointer;color:#16223d}
.tm-rep span{display:flex;flex-direction:column;font-size:13px}.tm-rep small{font-size:11px;color:#8a93a8}
.tm-dot{flex:none;width:12px;height:12px;border-radius:50%}
.tm-c0{background:#1f4e99}.tm-c1{background:#d64545}.tm-c2{background:#1d9e75}.tm-c3{background:#e3a008}.tm-c4{background:#7a4fd3}.tm-c5{background:#0e8fa8}.tm-c6{background:#c2410c}.tm-c7{background:#5b6478}
.tm-vgrow .hd-name{white-space:normal;display:flex;flex-direction:column}.tm-vgrow small,.hd-today{font-size:11px;color:#8a93a8;font-weight:400;display:block}.hd-today.warn{color:#c2410c;font-weight:600}
.hd-row .hd-name:has(.hd-today){white-space:normal}
.tm-layout .tr-grid{grid-template-columns:150px repeat(5,minmax(0,1fr)) 120px}
@media (max-width:1250px){.tm-layout{grid-template-columns:1fr}.tm-side{position:static;display:grid;grid-template-columns:1fr 1fr}}
@media (max-width:760px){.rail-item[data-nav="team"]{display:none}.tm-side{grid-template-columns:1fr}}
.vg-prio{align-self:flex-start}.tm-vgrow .hd-name>.vg-prio{margin-bottom:2px}
.tr:has(.tm-figs) .tr-total{display:none}
/* ---- 2026-11-13 design round: check-in in the bar, screen after the visit, team timeline, day route, skeleton loading ---- */
.rail-check{display:none}
@media (max-width:760px){
 .rail-check{display:flex;flex:none;width:54px;height:54px;margin:-16px 2px 0;border-radius:50%;border:4px solid #f9f9f9;background:#c7ccd6;color:#fff;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 4px 12px rgba(22,34,61,.18);padding:0}
 .rail-check .ico{width:24px;height:24px}.rail-check.has-next{background:#007aff;box-shadow:0 6px 16px rgba(0,122,255,.4)}
 #content>.fab{display:none}
}
.hd-navi{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;margin-top:10px;padding-top:10px;border-top:1px solid #eef0f5}
.hd-navi .secondary{display:inline-flex;align-items:center;gap:6px;text-decoration:none}.hd-navi .ico{width:16px;height:16px}.hd-navi .text-button{font-size:12px;padding:0;text-decoration:none}
.vd{text-align:center}.vd h3{margin:10px 0 2px;font-size:19px}.vd-sum{margin:0 0 6px;color:#45506a}
.vd-check{width:76px;height:76px;margin:4px auto 0}.vd-check circle{fill:#e7f8ec;stroke:#34c759;stroke-width:2.5}.vd-check path{fill:none;stroke:#34c759;stroke-width:4.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:40;stroke-dashoffset:0}
.vd-card{text-align:left;background:#f4f6fa;border-radius:12px;padding:10px 12px;margin-top:10px;display:flex;flex-direction:column;gap:3px}.vd-card span{font-size:12px;color:#6b7590}.vd-card b{font-size:15px;color:#16223d}.vd-card small{font-size:12px;color:#6b7590}
.vd-card .mini-bar{width:100%;height:8px;border-radius:4px;margin-top:4px}html[data-design=apple] .vd-card .mini-bar span{background:#34c759!important}
.vd-next{background:#eef3fc;box-shadow:inset 0 0 0 2px #1f4e99}.vd-next .secondary{align-self:flex-start;margin-top:6px;display:inline-flex;gap:6px;align-items:center;text-decoration:none}.vd-next .ico{width:16px;height:16px}
.vd-all{background:#fff7e0;text-align:center}
.tm-time{margin:0 0 12px}.tl{width:100%;height:auto;display:block}
.tl-grid{stroke:#eef0f5;stroke-width:1}.tl-hour{font-size:11px;fill:#8a93a8}.tl-name{font-size:12.5px;fill:#16223d;font-weight:600}.tl-lane{fill:#f4f6fa}
.tl-b.done{fill:#34c759}.tl-b.unpl{fill:#9bdcae}.tl-b.here{fill:#007aff}.tl-b.plan{fill:#fff;stroke:#1f4e99;stroke-width:1.5}.tl-b.missed{fill:#fdecec;stroke:#d64545;stroke-width:1.5}
.tl-t{font-size:11px;fill:#fff;pointer-events:none}.tl-t.plan{fill:#1f4e99}.tl-t.missed{fill:#b42318}.tl-t.unpl{fill:#14532d}
.tl-note{font-size:11.5px;fill:#8a93a8}.tl-note.warn{fill:#c2410c;font-weight:600}.tl-now{stroke:#ff3b30;stroke-width:2}
.tl-legend{font-size:11px;color:#6b7590;display:flex;flex-wrap:wrap;gap:4px 10px;align-items:center}.tl-k{display:inline-block;width:12px;height:10px;border-radius:3px;margin-right:3px;vertical-align:-1px}
.tl-k.done{background:#34c759}.tl-k.here{background:#007aff}.tl-k.plan{border:1.5px solid #1f4e99;background:#fff}.tl-k.missed{border:1.5px solid #d64545;background:#fdecec}
/* loading: shimmering placeholder blocks instead of text */
@keyframes shimmer{from{background-position:200% 0}to{background-position:-200% 0}}
.loading{position:relative;padding:0;margin:8px 0;min-height:220px;color:transparent;font-size:0;border-radius:14px;
 background:linear-gradient(#fff,#fff) 0 0/100% 74px no-repeat,linear-gradient(#fff,#fff) 0 86px/100% 120px no-repeat;overflow:hidden}
.loading::before{content:"";position:absolute;inset:0;background:
 linear-gradient(#e9edf3,#e9edf3) 16px 16px/45% 14px no-repeat,linear-gradient(#eef1f6,#eef1f6) 16px 42px/70% 10px no-repeat,
 linear-gradient(#e9edf3,#e9edf3) 16px 104px/35% 14px no-repeat,linear-gradient(#eef1f6,#eef1f6) 16px 132px/82% 10px no-repeat,linear-gradient(#eef1f6,#eef1f6) 16px 154px/64% 10px no-repeat,linear-gradient(#eef1f6,#eef1f6) 16px 176px/74% 10px no-repeat}
.loading::after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent 30%,rgba(255,255,255,.75) 50%,transparent 70%) 0 0/200% 100%}
@media (prefers-reduced-motion:no-preference){
 .loading::after{animation:shimmer 1.4s linear infinite}
 .vd-check circle{transform-origin:50% 50%;animation:pop-in .45s cubic-bezier(.2,.9,.3,1.3) both}
 @keyframes draw-check{from{stroke-dashoffset:40}to{stroke-dashoffset:0}}
 .vd-check path{animation:draw-check .45s .3s ease-out both}
 .vd h3,.vd-sum{animation:rise-in .4s .35s both}.vd-card{animation:rise-in .4s .5s both}.vd-card+.vd-card{animation-delay:.6s}
 .rail-check.has-next{animation:badge-pulse 2.4s 1s 2}
 .tl-b{animation:fade-in .5s both}
}
.tl-legend{margin-left:auto}
/* ---- Bottom bar on the phone: solid and with more contrast for daylight (2026-11-13) ---- */
@media (max-width:760px){
 html[data-design=apple] .rail{background:#ffffff!important;border-top:1px solid #c9ced8!important;box-shadow:0 -6px 20px rgba(22,34,61,.14)!important;-webkit-backdrop-filter:none;backdrop-filter:none}
 html[data-design=apple] .rail-item,html[data-design=apple] .rail-item svg{color:#4a5468!important}
 html[data-design=apple] .rail-item{font-weight:600!important;font-size:10.5px}
 html[data-design=apple] .rail-item .ico{width:24px;height:24px;padding:3px 14px;box-sizing:content-box;border-radius:14px;transition:background-color .2s ease}
 html[data-design=apple] .rail-item.active,html[data-design=apple] .rail-item.active svg{color:#0064d6!important}
 html[data-design=apple] .rail-item.active .ico{background:rgba(0,122,255,.16)}
}
/* ---- take over director / buyer for the whole company ---- */
.fs-roles{display:flex;flex-direction:column;gap:2px;margin:8px 0 10px}
.fs-list{display:flex;flex-direction:column;max-height:50vh;overflow:auto;border-top:1px solid #eef0f5}
.fs-row{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;padding:8px 2px;border-bottom:1px solid #eef0f5;cursor:pointer;font-weight:400!important;margin:0!important}
.fs-row input{width:18px;height:18px;margin:0}.fs-row span{display:flex;flex-direction:column;min-width:0}.fs-row strong{font-size:14px;color:#16223d}.fs-row small{font-size:12px;color:#6b7590}
.fs-has{align-items:flex-end;text-align:right}.fs-new{color:#1d9e75!important;font-weight:600}.fs-row.done{opacity:.55;cursor:default}
#ck-share{color:#1d9e75}
.outbox-acts{display:flex;flex-direction:column;gap:6px;flex:none}
#sample-list .sample-head{flex-wrap:wrap;margin-bottom:8px}#sample-list .sample-head .chips{margin:0}.sample-search{margin:4px 0 10px}.sample-month{margin:14px 0 4px;text-transform:capitalize}
/* expert SCP at the check-in (visit step 1) */
.vz-scp{border:1px solid #dbe6f7}
.vz-scp-figs{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:10px}
.vz-scp-figs span{background:#f4f7fc;border-radius:10px;padding:8px 10px;font-size:12px;color:#5b6577;line-height:1.3}
.vz-scp-figs b{display:block;font-size:20px;color:#16223d}
.vz-scp-figs .warn{background:#fff4e5}.vz-scp-figs .warn b{color:#b45309}
.vz-scp-cols{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.vz-scp-h{font-weight:600;font-size:14px;margin:0 0 4px}.vz-scp-h small{font-weight:400;color:#8e8e93;font-size:11px}
.vz-scp-h.good{color:#15803d}.vz-scp-h.bad{color:#b91c1c}
.vz-scp ul{list-style:none;margin:0;padding:0}
.vz-scp li{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:5px 0;border-bottom:1px solid #eef1f6;font-size:13px}
.vz-scp li:last-child{border-bottom:0}
.vz-scp li span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.vz-scp li small{display:block;color:#8e8e93;font-size:11px}
.vz-scp li b{white-space:nowrap;font-size:13px}.vz-scp li b.good{color:#15803d}.vz-scp li b.bad{color:#b91c1c}
.vz-scp .text-button{margin-top:8px;padding:0}
@media (max-width:600px){.vz-scp-cols{grid-template-columns:1fr;gap:10px}.vz-scp-figs b{font-size:18px}}
.vz-scp-cols>div{min-width:0}.vz-scp li span{flex:1 1 auto}
.vz-scp-h{white-space:normal}
.ck1-row{scroll-margin-top:72px}
.vz-sub.warn{color:#b45309}
tr.row-back td{background:#fff4d6 !important;transition:background .6s}
.ck-pred{font-size:14px;color:#5b6577;margin:6px 0 10px}.ck-pred .text-button{padding:0;font-size:14px}
.head-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;align-items:center}
.head-actions .secondary{display:inline-flex;align-items:center;gap:6px}
@media(max-width:600px){.head-actions{width:100%;justify-content:stretch}.head-actions>button{flex:1 1 0;justify-content:center;white-space:nowrap}}
.quick-market{margin:12px 0 6px;font-size:15px}
.quick-fill{background:#ecf8ef;color:#14532d;border-radius:10px;padding:10px 12px;margin:8px 0}
.quick-keep{background:#f4f6fa;color:#475569;border-radius:10px;padding:10px 12px;margin:8px 0}.quick-keep small{display:block;color:#64748b;margin-top:2px}
.quick-ok{background:#f4f6fa;border-radius:10px;padding:10px 12px;margin:8px 0}
/* Kundenakte: team lead / key account actions (assign field rep, Vorgabe for this market) */
.ck1-lead{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 14px;padding:10px 14px;border-radius:12px;background:#f2f6fd;border:1px solid #dfe8f7}
.ck1-lead>span{font-size:12px;color:#6b7590;margin-right:4px}
.ck-areas{max-height:360px;overflow:auto;margin:6px 0 10px}
.vg-quick{display:flex;flex-wrap:wrap;gap:6px;margin:4px 0 10px}
/* ---- Design review 17.11.2026: one structure on computer and phone ---- */
/* start page: the same gap between all cards (some had none, some 24 px) */
#content:has(>.greet){display:flex;flex-direction:column;gap:12px}
#content:has(>.greet)>*{margin-top:0!important;margin-bottom:0!important}
#content:has(>.greet)>*:empty{display:none}
/* reports: tiles in two even columns, content starts at the top in every tile */
@media(min-width:761px){.report-projects{grid-template-columns:repeat(2,minmax(0,1fr))}}
.report-project{align-items:flex-start}.report-project>svg:first-child,.report-project>.report-icon{align-self:center}
/* Kundenakte: label and value on one line, also for phone and mail links */
.ck1-line{align-items:center}
@media(max-width:760px){
 /* page title on its own line instead of being cut off ("Planu…", "Autor…") */
 .hub-head{flex-wrap:wrap;row-gap:2px}
 .hub-head .hub-title{order:10;flex:1 0 100%;white-space:normal;overflow:visible;text-overflow:clip;font-size:28px!important;line-height:1.15;margin:2px 0 0}
 .hub-head .hub-title:empty{display:none}
 .hub-head #territory-filter,.hub-head .hub-area{margin-left:auto}
 /* start page: Vorgaben – title on its own line, state below */
 .hd-vg .hd-row{flex-wrap:wrap;row-gap:2px}.hd-vg .hd-name{flex:1 0 100%;white-space:normal}
 /* detail pages: buttons below the heading instead of running off the screen */
 .report-detail>.care-head{flex-wrap:wrap}.ar-head-actions{justify-content:flex-start}
 /* autoreplenishment lists: market on top, value and state below */
 #ar-list .visit-row,.ar-open .visit-row{flex-wrap:wrap}#ar-list .visit-main,.ar-open .visit-main{flex:1 0 calc(100% - 30px)}
 #ar-list .visit-side,.ar-open .visit-side{flex-direction:row;align-items:center;gap:8px;text-align:left;order:3;flex:1 0 100%}
}
.report-project>svg:last-child{align-self:center}
/* figure tiles (expert SCP, EURONICS, Kundenakte, start page): same height in a row, text starts at the top */
.scp-kpis,.ck-figs,.hd-figs,.eu-figs,.home-stats{align-items:stretch!important}
.scp-kpis>div,.ck-figs>div,.hd-figs>div{display:flex;flex-direction:column;justify-content:flex-start}
/* monthly chart in the reports: use the width of the card (it stopped at 520 px) */
.panel>.scp-chart{max-width:min(100%,720px)}
/* the main column never gets wider than the window (header select stays visible) */
.hub-main{min-width:0}
/* ---- design review 17.11.2026, part 2 ---- */
.dup-title{display:none}
.pl-scount{display:none}
/* computer: start page of team lead / key account in two columns */
@media(min-width:1100px){
 #content:has(>.greet):has(.hd-vg){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
 #content:has(>.greet):has(.hd-vg)>:is(.greet,.br-lead,.push-card,.home-actions,.home-today){grid-column:1/-1}
}
@media(max-width:600px){
 /* wide report tables as cards */
 table.as-cards{min-width:0!important;width:100%!important;border-collapse:separate}
 table.as-cards thead{display:none}
 table.as-cards tbody{display:block}
 table.as-cards tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 12px;padding:10px 12px;margin:0 0 8px;background:#fff;border:1px solid #e6eaf3;border-radius:12px}
 table.as-cards td{display:block;padding:0!important;border:0!important;text-align:left!important;white-space:normal!important;font-size:13px;min-width:0;background:none!important}
 table.as-cards td:first-child{grid-column:1/-1;font-weight:600;font-size:14px}
 table.as-cards td[data-label]:not(:first-child)::before{content:attr(data-label);display:block;font-size:10px;font-weight:500;text-transform:uppercase;letter-spacing:.03em;color:#8a93a8;margin-bottom:1px}
 table.as-cards tr:has(>td[colspan]){display:block}
 .table-scroll:has(>table.as-cards){overflow:visible}
 /* planning: the whole week at a glance – day, date and number of appointments */
 .pl-strip{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;overflow:visible;margin:0 0 12px!important;padding:0!important}
 .pl-sday{flex:none!important;align-items:center;text-align:center;padding:8px 2px;border-radius:14px;gap:0}
 .pl-sname{font-size:12px;line-height:1.25}.pl-sinfo,.pl-skm{display:none}.pl-soff{font-size:10px}
 .pl-scount{display:block;font-size:20px;font-weight:700;line-height:1.3;color:#1f4e99}
 .pl-sday.off .pl-scount{display:none}
 /* customer list: compact cards – market and pill, then postcode, place and channel */
 table:has(#customer-rows) tr.cust-row{padding:9px 12px!important;margin:0 0 6px!important}
 table:has(#customer-rows) tr.cust-row td:nth-child(1) .scope-summary{display:none!important}
 table:has(#customer-rows) tr.cust-row td:nth-child(1) strong{font-size:14px}
}
@media(max-width:600px){.report-filters{display:flex!important;flex-wrap:wrap}.report-filters>label{flex:1 1 100%;min-width:0}.report-filters select{width:100%}}

/* Auslauf WM-Halter */
.visit-main .eol-line,.visit-main .eol-todo{display:block}
.eol-todo{color:inherit;font-weight:500}
.eol-hints{margin:10px 0 0;padding-left:18px}
.eol-hints li{margin:4px 0}

/* Zurück: ein Schritt zurück unter dem Seitenkopf; ersetzt dann den Link im Inhalt */
.head-back{margin:0 0 6px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hub-main:has(#head-back) #content .back-link,.hub-main:has(#head-back) #content .customer-back{display:none}

/* Test-Server (test.mysaleshub.de): deutlich als Testumgebung erkennbar */
html[data-env=test] body::before{content:"TEST – nur zum Ausprobieren, nichts hier gilt für die echte App";position:fixed;left:0;right:0;top:0;z-index:9999;background:#ff9f0a;color:#1c1c1e;font:600 12px/1.2 -apple-system,system-ui,sans-serif;text-align:center;padding:calc(4px + env(safe-area-inset-top)) 8px 4px;pointer-events:none}
html[data-env=test] body{padding-top:calc(22px + env(safe-area-inset-top))}
html[data-env=test] .hub-head{top:calc(22px + env(safe-area-inset-top))!important}
