/* Original company artwork; simple login and work surfaces. */
:root{--navy:#252d38;--navy-2:#343c48;--blue:#c8102e;--blue-2:#ae1029;--ink:#252d38;--muted:#727b89;--line:#e5e8ed;--bg:#f5f6f8}
.company-logo{display:block;object-fit:contain;background:#fff;flex-shrink:0}
.sidebar{background:#fff;color:var(--ink);border-right:1px solid var(--line)}

@media(min-width:781px){.sidebar{position:sticky;top:0;align-self:flex-start;height:100vh;height:100dvh;overflow-y:auto}}
.brand{gap:8px;padding:0 2px 28px}.brand .company-logo{width:48px;height:48px}.brand strong{font-size:18px;letter-spacing:0}.brand small{color:var(--muted);font-size:10px}
.nav-item{color:#606a78}.nav-item:hover{background:#f7f7f8;color:var(--ink)}.nav-item.active{color:var(--blue);background:#fbeef1;box-shadow:none;font-weight:700}
.sidebar-footer,.sidebar-footer small{color:var(--muted);font-size:11px}.sidebar-footer a{color:inherit;text-decoration:none}.sidebar-footer a:hover{text-decoration:underline}
.btn{font-size:13px;box-shadow:none}.btn.small{font-size:12px}.btn.primary{box-shadow:none}.btn.primary:hover{background:#ac1029;border-color:#ac1029}
.btn:focus-visible,.table-link:focus-visible,.nav-item:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.topbar{background:#fff}.top-actions{gap:12px}.global-search{background:#fff;border-color:var(--line)}.global-search input{font-size:13px}.avatar{background:#f8e8ec;color:var(--blue)}
.heading-copy h1{font-size:30px;line-height:1.3;letter-spacing:0;color:var(--ink)}.heading-copy p{font-size:14px;color:var(--muted);line-height:1.7}
.section-card,.work-card,.metric-card{box-shadow:none;border-color:var(--line)}
.daily-summary{gap:0;background:white;border:1px solid var(--line);border-radius:10px;overflow:hidden;margin:20px 0}
.daily-summary>div{border:0;border-right:1px solid var(--line);border-radius:0;margin:20px 0;padding:0 26px}.daily-summary>div:last-child{border-right:0}.daily-summary strong{font-size:32px}.daily-summary>div:first-child strong{color:var(--blue)}
.todo-list{gap:0}.todo-item{border:0;border-bottom:1px solid var(--line);border-radius:0;padding:18px 0}.todo-item:last-child{border-bottom:0}.todo-item.overdue{border-left:3px solid #c68d49;padding-left:14px}.todo-item p{font-size:13px}.todo-item small{font-size:12px}
.metric-card{padding:16px;min-height:90px}.metric-icon{background:#f5f6f8!important;color:#687384!important}.metric-label{font-size:12px}
.phone-access-banner{background:#fff;border-color:var(--line)}.next-action,.case-focus{background:#f6f7f9}.cell-note{font-size:12px;line-height:1.6}.table-link{font-size:13px}.mobile-shortcuts button.active{background:#fbeef1}
.getting-started{margin:20px 0;background:#fff;border:1px solid var(--line);border-radius:10px;padding:24px;scroll-margin-top:20px}
.getting-started:focus{outline:2px solid #e9b2bd;outline-offset:3px}
.getting-started>header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}.getting-started>header>div{display:flex;gap:18px;align-items:baseline;flex-wrap:wrap}.getting-started h2{font-size:20px;margin:0;color:var(--ink)}.getting-started header span{font-size:12px;color:var(--muted)}
.getting-started ol{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:0;padding:0;gap:24px}.getting-started li{display:flex;gap:14px;padding-right:24px;border-right:1px solid var(--line);min-width:0}.getting-started li:last-child{padding-right:0;border:0}.guide-number{display:grid;place-items:center;flex-shrink:0;width:38px;height:38px;border-radius:50%;color:var(--blue);background:#fbeef1;font-size:18px;font-weight:700}.getting-started h3{font-size:16px;margin:7px 0 12px}.getting-started li p{font-size:13px;color:var(--muted);line-height:1.8;margin:0 0 14px}.getting-started .table-link{color:var(--blue);padding:6px 0;text-align:left}.getting-started .form-error:empty{display:none}
#guideBtn{white-space:nowrap}
.shared-tools{display:flex;align-items:center;gap:14px;flex-shrink:0}.shared-tools a{white-space:nowrap;text-decoration:none}.auth-install{display:block;text-align:center;margin-top:10px;font-size:13px;color:#b50024;text-decoration:none}.auth-install:hover{text-decoration:underline}
@media(max-width:800px){.shared-tools{align-items:flex-end;flex-direction:column;gap:2px}}
.auth-screen{display:flex;min-height:100vh;min-height:100svh;padding:0;background:#fff;color:var(--ink);align-items:stretch;justify-content:center}
.auth-main{width:100%;min-width:0;min-height:100vh;min-height:100svh;display:flex;align-items:center;flex-direction:column;padding:clamp(54px,10vh,110px) 24px 20px;background:#fff}
.auth-card{width:min(452px,100%);background:none;border:0;border-radius:0;padding:0;box-shadow:none}
.auth-identity{text-align:center;margin:0 0 36px}.auth-logo-frame{width:144px;height:144px;overflow:hidden;margin:0 auto 20px;position:relative}.auth-logo-frame .company-logo{width:204px;height:204px;max-width:none;position:absolute;left:-28px;top:-20px}
.auth-card .auth-identity h1{font-size:38px;line-height:1.4;letter-spacing:.04em;color:var(--ink);margin:0 0 6px}.auth-card .auth-identity p{font-size:16px;color:var(--muted);letter-spacing:.2em;line-height:1.7;margin:0}
.auth-card form{margin:0;gap:20px}.auth-login .field{display:flex;align-items:center;gap:14px;position:relative;border:1px solid #d9dee5;border-radius:6px;padding:0 18px;min-height:58px;font-size:16px;color:#465160;white-space:nowrap;font-weight:400;line-height:1.5}
.auth-login .field>svg{color:#788493;flex-shrink:0}.auth-login .field input{width:100%;min-width:0;height:56px;min-height:0;border:0;border-radius:0;background:transparent;padding:0 0 0 13px;margin:0;font-size:16px;color:var(--ink);box-shadow:none;background-image:linear-gradient(#edf0f3,#edf0f3);background-size:1px 20px;background-position:0 50%;background-repeat:no-repeat}
.auth-card input::placeholder{color:#929ba6}.auth-login .field:focus-within{border-color:#c8102e;box-shadow:0 0 0 3px #c8102e0a}.auth-login .field input:focus{outline:0;box-shadow:none}
.auth-password-row{position:relative}.auth-password-row .field{padding-right:48px}.auth-eye{position:absolute;right:3px;top:3px;width:44px;height:52px;padding:0;background:transparent;color:#738091;display:grid;place-items:center;border:0;border-radius:4px}.auth-eye:focus-visible{outline:2px solid var(--blue);outline-offset:-4px}
.auth-card .auth-submit{height:54px;min-height:54px;background:#c8102e;border-color:#c8102e;box-shadow:none;font-size:18px;font-weight:600;border-radius:6px;letter-spacing:.1em;margin:2px 0 0;justify-content:center}.auth-card .auth-submit:hover{background:#b40d28}.auth-card .auth-submit:disabled{opacity:.6;cursor:wait}
.auth-card .form-error{font-size:13px;line-height:1.7;color:#b71e37;margin:0;overflow-wrap:anywhere}.auth-card .form-error:empty{display:none}
.auth-card .auth-help{border:0;margin:14px 0 0;padding:0;text-align:center;font-size:13px;line-height:1.8;color:#828b97}
.auth-footer{margin-top:auto;padding-top:70px;text-align:center;font-size:12px;color:#7d8794;line-height:1.8}.auth-footer p{margin:0 0 12px;font-size:13px;letter-spacing:.06em}.auth-footer a{color:#8c949e;font-size:11px;text-decoration:none}.auth-footer a:hover{text-decoration:underline}
.auth-password-change .auth-identity{margin-bottom:24px}.auth-password-change .auth-logo-frame{width:90px;height:90px;margin-bottom:12px}.auth-password-change .auth-logo-frame .company-logo{width:128px;height:128px;left:-17px;top:-13px}.auth-password-change .auth-identity h1{font-size:28px}.auth-password-change h2{font-size:22px;margin:18px 0 8px}.auth-password-change .auth-description{margin:0 0 20px}.auth-password-change .field{font-size:14px}.auth-password-change input{height:48px}.auth-back{margin-top:14px;width:100%}
.auth-screen>.company-logo{width:72px;height:72px;margin:80px auto 12px}.auth-screen:has(>.company-logo){flex-direction:column;align-items:center;justify-content:flex-start}.auth-screen>strong,.auth-screen>p{text-align:center;margin:4px;color:var(--ink)}
@media(max-width:1000px){.getting-started ol{gap:14px}.getting-started li{gap:10px;padding-right:14px}.top-actions{gap:8px}.getting-started{padding:20px}}
@media(max-width:700px){
 .topbar{height:auto;min-height:76px;padding:12px 16px;gap:12px;flex-wrap:wrap}.top-actions{width:100%;justify-content:space-between}.top-actions .notification{display:none}.user-menu{gap:7px}.user-copy small{font-size:11px}.avatar{width:30px;height:30px;font-size:13px}
 .content{padding:22px 16px 90px}.heading-copy h1{font-size:25px}.heading-copy p{font-size:13px}.heading-actions{flex-wrap:wrap}.page-heading{align-items:flex-start}.btn{min-height:40px}.btn.small{min-height:36px}
 .getting-started{padding:18px;margin:18px 0}.getting-started>header{gap:10px;margin-bottom:14px;align-items:flex-start}.getting-started>header>div{display:block}.getting-started h2{font-size:18px;margin-bottom:5px}.getting-started header .btn{flex-shrink:0}.getting-started ol{grid-template-columns:1fr;gap:0}.getting-started li{border-right:0;border-bottom:1px solid var(--line);padding:16px 0;gap:14px}.getting-started li:last-child{padding-bottom:0}.getting-started h3{margin:6px 0 8px}.getting-started li p{margin-bottom:5px}.getting-started .table-link{min-height:36px}.guide-number{width:34px;height:34px;font-size:16px}
 .daily-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:0}.daily-summary>div{padding:0 18px;margin:18px 0}.daily-summary>div:nth-child(2n){border-right:0}.daily-summary strong{font-size:28px}
 .auth-main{padding:clamp(40px,9vh,86px) 24px 16px}.auth-card{max-width:380px}.auth-logo-frame{width:128px;height:128px;margin-bottom:16px}.auth-logo-frame .company-logo{width:182px;height:182px;left:-25px;top:-18px}.auth-card .auth-identity h1{font-size:32px}.auth-card .auth-identity p{font-size:14px;letter-spacing:.14em}.auth-identity{margin-bottom:44px}.auth-login .field{gap:10px;padding-left:14px;font-size:15px}.auth-password-row .field{padding-right:44px}.auth-login .field input{font-size:16px;padding-left:10px}.auth-card form{gap:16px}.auth-card .auth-submit{margin-top:8px}.auth-card .auth-help{font-size:12px}.auth-footer{padding-top:64px}.auth-footer p{font-size:12px;letter-spacing:0}
}
@media(max-height:740px){.auth-main{padding-top:36px}.auth-logo-frame{width:96px;height:96px;margin-bottom:12px}.auth-logo-frame .company-logo{width:137px;height:137px;left:-19px;top:-14px}.auth-identity{margin-bottom:28px}.auth-card .auth-identity h1{font-size:30px}.auth-footer{padding-top:40px}}
@media(max-width:380px){.auth-main{padding-left:20px;padding-right:20px}.user-copy{max-width:100px}.user-copy strong,.user-copy small{overflow-wrap:anywhere}.user-menu{flex-wrap:wrap}.global-search{max-width:none}}
@media(prefers-reduced-motion:reduce){.btn{transition:none}}
@media(max-width:800px){.topbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px}.top-actions{display:contents}.top-actions .notification{display:none}#guideBtn{width:auto;min-width:80px}.user-menu{grid-column:1/-1;display:flex;min-width:0}.user-menu .user-copy{flex:1;display:block}.user-menu .avatar{display:inline-flex}.global-search{max-width:none}}
.todo-list>.empty-state{padding:24px 12px;min-height:0}.nav-icon svg,.mobile-shortcuts button>span svg{width:21px;height:21px;display:block}.nav-icon{display:grid;place-items:center}


/* Password approvals: one clearly labelled entry and a compact inbox. */
.password-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.password-review-row{display:flex;justify-content:space-between;gap:16px;padding:16px 0;border-top:1px solid #edf0f3;align-items:center}
.password-review-row>div:first-child{min-width:0;overflow-wrap:anywhere}
.password-review-row p,.password-section-heading p{margin:6px 0 0}
.password-own-banner{display:flex;justify-content:space-between;align-items:center;gap:12px;background:#fff;padding:16px 20px;margin-bottom:18px;border:1px solid #e4e8ee;border-radius:12px}
.password-status{line-height:1.75;overflow-wrap:anywhere}
.password-own-banner .password-status{margin:0}
#passwordBtn{white-space:nowrap}
@media(max-width:600px){.password-review-row,.password-own-banner{align-items:flex-start;flex-direction:column}.password-actions{width:100%}.password-actions .btn{flex:1}.password-own-banner{padding:14px}}
.enterprise-tags{display:flex;flex-wrap:wrap;gap:4px;margin-top:5px;max-width:240px}.enterprise-tags span{font-size:11px;line-height:1.5;background:#f0f4f9;color:#425672;border-radius:4px;padding:2px 5px}.contact-batch{border:1px solid #d8e4f3;background:#f7faff;border-radius:12px;padding:14px 18px;margin:12px 0}.contact-batch>div{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:6px}.contact-batch small{color:#617187}.contact-batch .btn{margin-left:auto}.contact-status{display:block;color:#95620d;line-height:1.6;margin-bottom:6px}.pager[hidden]{display:none!important}@media(max-width:600px){.contact-batch{padding:12px}.contact-batch>div{gap:8px}.enterprise-tags{max-width:180px}}
.customer-address{display:block;color:#5b6878;font-size:12px;line-height:1.65;overflow-wrap:anywhere;word-break:break-word;white-space:normal;margin:6px 0;max-width:360px}.customer-address strong{display:inline;font-size:inherit;font-weight:500;color:inherit}.detail-address{grid-column:1/-1}.detail-address .customer-address,.talk-customer .customer-address{font-size:14px;max-width:none}.company-cell .customer-address{min-height:2.4em}@media(max-width:600px){.company-cell .customer-address{max-width:210px}}
.my-contact-summary{display:flex;flex-direction:column;align-items:flex-start;gap:3px;margin-top:7px;max-width:360px;white-space:normal}.my-contact-summary small{color:#657386;font-size:12px;line-height:1.6;overflow-wrap:anywhere}.my-contact-history-link{font-size:12px;padding:0;min-height:28px;text-align:left}.my-contact-company{font-weight:600;overflow-wrap:anywhere}.my-contact-history-summary{padding:12px;background:#f7faff;border-radius:8px;color:#425672;line-height:1.7}.my-contact-history-list{list-style:none;margin:0;padding:0}.my-contact-history-list li{padding:14px 0;border-bottom:1px solid #edf0f3;overflow-wrap:anywhere}.my-contact-history-list li>div{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap}.my-contact-history-list time{font-size:12px;color:#657386}.my-contact-history-list p{margin:7px 0 0;line-height:1.7}.my-contact-history-pager{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:16px}.my-contact-history-pager>div{display:flex;gap:8px}@media(max-width:600px){.my-contact-summary{max-width:210px}.my-contact-history-pager>div{width:100%}.my-contact-history-pager .btn{flex:1}}

.customer-company-actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:5px 0}.customer-company-actions .customer-detail-link,.customer-company-actions .customer-company-lookup{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:36px;width:fit-content;margin:0;padding:0 10px;border:1px solid #eed5da;border-radius:6px;background:#fff;color:var(--blue);font-size:13px;font-weight:600;line-height:1.4;text-decoration:none;white-space:nowrap}.customer-company-actions .customer-company-lookup{color:#505b6d;border-color:#dfe3e8}.customer-company-actions a:focus-visible{outline:2px solid var(--blue);outline-offset:2px}#closeModal{flex-shrink:0;white-space:nowrap}@media(max-width:780px){.customer-company-actions .customer-detail-link,.customer-company-actions .customer-company-lookup{min-height:44px}}

.auth-remember{display:flex;align-items:center;gap:9px;cursor:pointer;font-size:14px;color:#425672;line-height:1.6}.auth-remember input{width:18px;height:18px;flex:0 0 18px;accent-color:var(--blue)}.auth-device-note{color:#657386;line-height:1.6;font-size:12px}.auth-card .auth-description{overflow-wrap:anywhere}[data-xjr-standalone] [data-install-app]{display:none!important}@media(display-mode:standalone){[data-install-app]{display:none!important}}

/* Customer tabs stay reachable without moving away from the current row. */
.view-tabs[aria-label="客户分类"]{position:sticky;top:0;background:var(--bg);z-index:2}
