
:root{--ink:#164c56;--brand-gold:#f7b03a;--brand-leaf:#e0e058;--brand-blue:#09bbe9;--brand-aqua:#7ecfdf;--navy:#10343e;--mint:#7ecfdf;--paper:#f5fbfb;--line:#d3e8ed;font-family:Arial,Helvetica,sans-serif;color:var(--ink)}
*{box-sizing:border-box}body{margin:0;background:#afd7dd}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}button:focus-visible,a:focus-visible{outline:3px solid #098fa4;outline-offset:4px}input:focus{outline:2px solid #11a9bd;outline-offset:2px}[hidden]{display:none!important}a{color:inherit;text-decoration:none}
.login-layout{min-height:calc(100svh / var(--ui-zoom,1));position:relative;display:grid;place-items:center;isolation:isolate;background:radial-gradient(ellipse at 48% 40%,#e0f3f3 0%,#cce9eb 26%,#afd7dd 61%,#91c3cf 100%);overflow:hidden}
.login-layout:before,.login-layout:after{content:'';position:absolute;border-radius:50%;z-index:-1;pointer-events:none;border:1px solid #ffffff70;background:#ffffff14;width:340px;height:340px}.login-layout:before{top:-170px;right:-170px}.login-layout:after{bottom:-130px;left:-130px;width:250px;height:250px}
.auth-caption{position:absolute;top:28px;left:28px;font-size:10px;letter-spacing:2px;color:#53838b;font-weight:400}.auth-footer{position:absolute;bottom:24px;left:28px;right:28px;display:flex;justify-content:space-between;gap:15px;font-size:9px;color:#629096}.auth-footer>span:nth-child(2){color:#5a858d;font-size:8px;letter-spacing:.5px}
.signin-panel{width:330px;max-width:calc(calc(100vw / var(--ui-zoom,1)) - 48px);padding:76px 0 88px;position:relative}.auth-logo{display:block;width:100%;height:auto;margin:0 0 32px}.intro-playing .auth-logo{visibility:hidden}.signin-content{opacity:0;transform:translateY(18px);transition:opacity .55s .2s,transform .7s .15s}.login-ready .signin-content{opacity:1;transform:translateY(0)}.signin-content h2{font-size:26px;font-weight:400;letter-spacing:-1px;line-height:1.2;color:#264b52;margin:0 0 8px}.signin-subtitle{font-size:11px;color:#557b83;line-height:1.7;margin:0 0 26px}
label{display:block;font-size:10px;color:#587e84;margin-bottom:8px}input{width:100%;height:48px;padding:0 12px;border:1px solid #cce0e0;border-radius:3px;background:#ffffffa8;color:#244c55;font-size:12px;box-shadow:0 2px 5px #28636b03}input::placeholder{color:#91aaac}.password-label{margin-top:17px}.password-field{position:relative}.password-field input{padding-right:56px}.password-field button{position:absolute;top:16px;right:12px;background:none;border:0;font-size:10px;color:#5d8a91;padding:0}.primary{width:100%;height:48px;padding:0 14px;border:1px solid #087e9c;border-radius:4px;background:#087e9c;color:white;display:flex;align-items:center;justify-content:space-between;font-size:12px;box-shadow:0 5px 14px #119eb417;transition:background .2s,box-shadow .2s}.primary:hover:enabled{background:#086c85;box-shadow:0 5px 16px #119eb42b}.primary>span:last-child{font-size:18px;font-weight:400;color:#c9f3f4}.form-message{color:#a34c38;font-size:11px;line-height:1.7;margin:12px 0;min-height:1px}.form-message:empty{margin:11px 0}.setup-link{font-size:10px;line-height:1.7;color:#58868b;background:none;border:0;padding:17px 0 0;text-align:left}.setup-link:hover{text-decoration:underline}.access-note{margin-top:20px;text-align:center}.access-note p{margin:0;font-size:9px;color:#5d858d;line-height:1.7}.connection-note{font-size:11px;line-height:1.7;color:#497b7f;padding:12px;border:1px solid #badddd;background:#e3f6f3;border-radius:4px;margin-top:18px}.setup-explanation{font-size:11px;line-height:1.8;color:#6b9094;margin:0 0 20px}.setup-label{margin-top:16px}.setup-actions{display:flex;justify-content:space-between;padding-top:10px}.quiet-button{font-size:11px;background:none;border:0;color:#5b7e82;padding:8px 0}.section-number{font-size:10px;letter-spacing:1.3px;color:#3b725d}.eyebrow{font-size:10px;letter-spacing:2px}
.intro{position:fixed;inset:0;z-index:10;background:transparent;color:#537f87;overflow:hidden}.intro-logo{position:absolute;width:min(600px,74vw);left:50%;top:50%;translate:-50% -65%;transform-origin:top left}.intro-logo>img{width:100%;height:auto;display:block}.intro-status{position:absolute;left:50%;top:calc(50% + 153px);translate:-50% 0;text-align:center;transition:opacity .2s}.intro-status p{font-size:11px;letter-spacing:.5px;margin:0 0 21px;white-space:nowrap;display:flex;gap:10px;align-items:center;justify-content:center}.intro-status p>span:first-child{width:5px;height:5px;border-radius:50%;background:#10a6ba}.intro-progress{height:2px;background:#c0e4e4;width:124px;margin:auto;overflow:hidden}.intro-progress>span{display:block;height:100%;width:100%;background:#0eabc0;transform-origin:left;animation:progress-fill 5.1s ease-in-out both}.skip{position:absolute;right:28px;bottom:50px;font-size:9px;letter-spacing:.3px;color:#699ba1;background:none;border:0;padding:5px}.intro.done .intro-status,.intro.done .skip,.intro.done .bubbles{opacity:0;transition:opacity .2s}.intro.done .liquid-window{opacity:0}
.liquid-window{position:absolute;inset:0;clip-path:inset(44% 0 20% 19%);mask-image:url('/unified-logo.webp');mask-size:100% 100%;-webkit-mask-image:url('/unified-logo.webp');-webkit-mask-size:100% 100%;pointer-events:none;animation:liquid-fade 5.2s both}.liquid-fill{position:absolute;inset:0;background:linear-gradient(#09bbe9,#087c9c 70%);animation:liquid-rise 4.5s cubic-bezier(.3,.1,.2,1) both}.liquid-fill svg{position:absolute;width:200%;height:12%;top:-11%;left:0;animation:wave-drift 1.3s linear infinite}.bubbles{position:absolute;inset:0;pointer-events:none;animation:bubbles-fade 5.1s both}.bubbles i{position:absolute;left:35%;bottom:34%;width:8px;height:8px;border:1.5px solid #347f97cc;background:#ffffff38;box-shadow:inset 1px 1px 0 #ffffffa8;border-radius:50%;animation:bubble-rise 1.8s .15s infinite both}.bubbles i:nth-child(2){left:43%;width:11px;height:11px;animation-delay:.45s}.bubbles i:nth-child(3){left:51%;width:5px;height:5px;animation-delay:.05s}.bubbles i:nth-child(4){left:60%;width:12px;height:12px;animation-delay:.3s}.bubbles i:nth-child(5){left:69%;animation-delay:.55s}.bubbles i:nth-child(6){left:78%;width:5px;height:5px;animation-delay:.4s}.bubbles i:nth-child(7){left:88%;width:10px;height:10px;animation-delay:.25s}.bubbles i:nth-child(8){left:94%;width:6px;height:6px;animation-delay:.75s}
@keyframes progress-fill{from{scale:0 1}to{scale:1 1}}@keyframes liquid-rise{0%{transform:translateY(84%)}100%{transform:translateY(37%)}}@keyframes wave-drift{to{transform:translateX(-50%)}}@keyframes liquid-fade{0%,78%{opacity:1}100%{opacity:0}}@keyframes bubble-rise{0%{opacity:0;translate:0 0}25%{opacity:1}100%{opacity:0;translate:10px -100px}}@keyframes bubbles-fade{0%,70%{opacity:1}100%{opacity:0}}
.brand{display:inline-flex;align-items:center;gap:12px;font-size:22px;font-weight:700;letter-spacing:4px}
.workspace{display:flex;min-height:calc(100svh / var(--ui-zoom,1))}.sidebar{width:246px;background:var(--navy);color:#a5b3bd;padding:30px 17px 20px;display:flex;flex-direction:column;flex-shrink:0}.sidebar .brand{color:white;margin:0 9px 25px;font-size:18px;letter-spacing:3px}.nav-caption{font-size:8px;letter-spacing:1.7px;color:#607b8c;margin:23px 14px 10px}.nav-item{display:flex;gap:13px;align-items:center;text-align:left;background:none;border:0;border-radius:5px;color:#96aab7;font-size:15px;padding:11px 13px}.nav-item>span{font-size:11px}.nav-item.selected{color:var(--mint);background:#7ecfdf18}.nav-item:hover{background:#7ecfdf10;color:white}.sidebar-bottom{border-top:1px solid #ffffff12;margin:35px 6px 0;padding-top:20px;display:flex;gap:9px;align-items:center}.avatar{width:32px;height:32px;border-radius:50%;background:#7ecfdf22;color:var(--mint);display:grid;place-items:center;font-size:10px}.sidebar-bottom strong{display:block;font-size:10px;font-weight:500;color:#c7d1d5}.sidebar-bottom span{display:block;font-size:9px;color:#738f9b;margin-top:5px}.workspace-main{flex:1;min-width:0}.workspace-header{padding:21px 37px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:18px;font-size:11px;background:#fff}.breadcrumb{color:#8d9899;margin-left:13px}.workspace-header>div{display:flex;align-items:center;gap:24px}.admin-badge{font-size:8px;letter-spacing:1px;color:#356b78}.quiet-button{background:none;border:0;color:#356b78;font-size:11px;padding:8px 0}.workspace-content{padding:58px 42px;max-width:1250px;margin:auto}.eyebrow.dark{color:#356b78;font-size:9px}.workspace-content h1{font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:43px;letter-spacing:-1.4px;margin:19px 0 12px}.workspace-subtitle{color:#527982;font-size:13px;line-height:1.8;margin-bottom:37px}.foundation-card{background:#e6f5f8;border:1px solid #c5e4ed;border-radius:8px;padding:28px;display:flex;align-items:flex-start;gap:20px}.foundation-icon{width:42px;height:42px;border-radius:12px;background:#e0e058;color:#164c56;display:grid;place-items:center;flex-shrink:0}.foundation-card .section-number{font-size:8px}.foundation-card h2{font-size:17px;font-weight:500;margin:12px 0 8px}.foundation-card p{font-size:11px;color:#527982;line-height:1.8;max-width:450px;margin:0}.status-tag{font-size:8px;color:#356b78;letter-spacing:1px;white-space:nowrap}.foundation-card>.status-tag{margin-left:auto;margin-top:3px}.section-heading{display:flex;justify-content:space-between;align-items:center;margin:42px 0 20px;gap:15px}.section-heading h2{font-size:14px;font-weight:500}.section-heading>span{font-size:8px;letter-spacing:1.3px;color:#6a8c94}.module-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.module-card{text-align:left;background:#fff;border:1px solid #d3e8ed;border-radius:7px;padding:25px 22px;transition:transform .2s,border-color .2s;display:flex;flex-direction:column}.module-card:hover{transform:translateY(-3px);border-color:#7ecfdf}.module-icon{font-size:27px;color:#16829d}.module-card h3{font-size:14px;font-weight:500;margin:23px 0 10px}.module-card p{font-size:11px;line-height:1.8;color:#527982;margin:0 0 24px}.module-card>span:last-child{display:flex;justify-content:space-between;font-size:8px;letter-spacing:1px;color:#6a8c94;margin-top:auto}.module-card b{font-weight:400;font-size:15px}.roadmap-note{display:flex;gap:25px;align-items:center;border-top:1px solid var(--line);margin-top:34px;padding-top:22px}.roadmap-note>span{font-size:8px;letter-spacing:1.4px;white-space:nowrap;color:#356b78}.roadmap-note p{font-size:11px;line-height:1.8;color:#527982}.planned-panel{border:1px solid var(--line);border-radius:8px;background:#fff;padding:35px;max-width:750px}.planned-panel h2{font-size:23px;font-weight:400}.planned-panel p{font-size:14px;color:#527982;line-height:1.9;margin-bottom:30px}
@media(max-width:1000px){.sidebar{width:210px}.workspace-content{padding:35px 26px}.workspace-header{padding:20px 26px}.module-grid{grid-template-columns:1fr}.module-card{padding:22px}.module-card h3{margin-top:16px}.foundation-card>.status-tag{display:none}}
@media(max-width:600px){.auth-caption{font-size:8px;letter-spacing:1.5px;top:23px;left:22px}.auth-footer{left:22px;right:22px;bottom:20px;font-size:8px}.auth-footer>span:nth-child(2){display:none}.signin-panel{width:310px;padding-top:80px;padding-bottom:80px}.auth-logo{margin-bottom:30px}.intro-logo{width:86vw;translate:-50% -70%}.intro-status{top:calc(50% + 100px)}.skip{right:20px;bottom:42px}.workspace{flex-direction:column}.sidebar{width:100%;padding:20px;flex-direction:row;flex-wrap:wrap;gap:3px}.sidebar .brand{width:100%;margin-bottom:15px}.nav-caption,.sidebar-bottom{display:none}.nav-item{padding:8px;font-size:0;gap:0}.nav-item>span{font-size:10px}.workspace-header{padding:15px 22px;font-size:10px}.workspace-header>div{gap:12px}.admin-badge{display:none}.workspace-content{padding:35px 22px}.workspace-content h1{font-size:35px}.foundation-card{padding:20px;gap:12px}.foundation-card h2{line-height:1.5;font-size:15px}.section-heading>span{display:none}.roadmap-note{gap:15px}.planned-panel{padding:25px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}.intro{display:none}.intro-playing .auth-logo{visibility:visible}.signin-content{opacity:1;transform:none}}

/* Original owner-supplied logo and shared brand accents. */
.sidebar .brand{margin:0 12px 24px;display:block}.sidebar .brand img{display:block;width:100%;max-width:184px;height:auto}.nav-item.selected{color:var(--brand-gold);box-shadow:inset 2px 0 var(--brand-gold)}.admin-badge{padding:6px 9px;border-radius:4px;background:#f7b03a20;color:#76501c}.foundation-card{border-top:3px solid var(--brand-aqua)}.module-card:hover{border-color:var(--brand-gold)}.module-icon{color:#087e9c}.status-tag{color:#356b78}.intro-status p>span:first-child{background:var(--brand-blue)}.intro-progress>span{background:var(--brand-blue)}
@media(max-width:600px){.sidebar .brand{margin-left:8px}.sidebar .brand img{max-width:164px}}
.logo-surface{background-image:url("/logo-backing.svg");background-size:100% 100%;background-repeat:no-repeat}.login-logo-surface{margin-bottom:32px}.login-logo-surface .auth-logo{margin:0}.intro-playing .login-logo-surface{visibility:hidden}.sidebar .brand.logo-surface{width:calc(100% - 24px);max-width:184px}@media(prefers-reduced-motion:reduce){.intro-playing .login-logo-surface{visibility:visible}}
/* Center the entire authentication stack, including the logo and setup form. */
.login-layout{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:48px 24px;overflow:visible}
.login-layout:before,.login-layout:after{content:none}
.signin-panel{flex:none;width:360px;max-width:100%;margin-inline:auto;padding:24px 0}
.signin-content{width:100%;min-width:0}.signin-content h2,.signin-subtitle{text-align:center}
.login-logo-surface{width:100%;max-width:330px;margin:0 auto 32px}
.setup-link{display:block;width:100%;text-align:center}.setup-actions{justify-content:center}
.auth-footer{position:static;display:flex;justify-content:center;width:100%;margin:20px 0 0;text-align:center}
.auth-footer>span:nth-child(2){display:inline}
.workspace-content{padding-top:30px}.workspace-content h1{margin-top:0;margin-bottom:26px}
.module-card{flex-direction:row;align-items:center;gap:16px;padding:22px}.module-card h3{margin:0}.module-card:hover{transform:none}
@media(max-width:600px){.login-layout{padding:28px 24px}.signin-panel{padding:20px 0}.login-logo-surface{max-width:290px}.workspace-content{padding-top:26px}}
/* Customer CRM */
.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}.crm button,.crm-dialog button{font-family:inherit}.crm-toolbar{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:14px}.crm-filters{display:flex;gap:12px;flex:1}.crm-filters input{max-width:360px;height:42px;background:white;font-size:12px}.crm select,.crm-dialog select{height:42px;border:1px solid #cce0e0;background:white;border-radius:4px;padding:0 32px 0 12px;color:#315961;font:inherit;font-size:12px}.crm-primary,.crm-secondary{display:inline-flex;align-items:center;justify-content:center;border-radius:5px;padding:11px 16px;min-height:40px;font-size:12px;font-weight:500;white-space:nowrap}.crm-primary{border:1px solid #087e9c;background:#087e9c;color:white}.crm-primary:hover:enabled{background:#086c85}.crm-secondary{background:#fff;border:1px solid #d2e2e7;color:#456d78}.crm-secondary:hover:enabled{background:#edf7f9}.crm-message{font-size:12px;line-height:1.6;color:#9c4b35;min-height:20px;margin:10px 0}.crm-empty{border:1px dashed #b7d6df;border-radius:9px;background:#fff;padding:64px 28px;text-align:center}.crm-empty>span{display:inline-grid;place-items:center;width:60px;height:60px;font-size:34px;background:#e5f4f8;color:#087e9c;border-radius:18px}.crm-empty h2{font-size:21px;font-weight:400;margin:24px 0 12px}.crm-empty p{font-size:13px;line-height:1.8;color:#63808a;max-width:440px;margin:0 auto 25px}.crm-table-scroll{overflow-x:auto;border:1px solid #d3e6eb;border-radius:8px;background:white}.crm-table{width:100%;border-collapse:collapse;text-align:left}.crm-table th{font-size:9px;letter-spacing:1px;text-transform:uppercase;font-weight:600;padding:18px 20px;background:#eaf4f7;color:#63808b;white-space:nowrap}.crm-table td{padding:20px;border-top:1px solid #e8f0f2;font-size:12px;color:#436470;vertical-align:middle}.crm-table td:first-child{min-width:210px}.crm-table td:nth-child(2){min-width:170px}.crm-table small{display:block;font-size:10px;color:#7b96a0;margin-top:7px}.crm-customer-link{display:block;max-width:350px;text-align:left;white-space:normal;background:none;border:0;padding:0;font-size:13px;font-weight:600;color:#08728e;overflow-wrap:anywhere}.crm-customer-link:hover{text-decoration:underline}.crm-date{white-space:nowrap;font-size:10px!important}.crm-badge{display:inline-block;border:1px solid #b1dce7;background:#e5f5f9;color:#177b95;border-radius:20px;padding:5px 10px;font-size:10px;white-space:nowrap}.crm-badge.archived{border-color:#e2d8bf;background:#faf4e5;color:#8a6b2d}.crm-pagination{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:22px;font-size:11px;color:#6e8b94}.crm-pagination>div{display:flex;gap:8px}.crm-detail-actions{display:flex;justify-content:space-between;margin-bottom:25px}.crm-profile-heading{display:flex;align-items:center;gap:18px;background:white;border:1px solid #d3e6eb;border-top:3px solid #7ecfdf;border-radius:8px;padding:26px;margin-bottom:22px}.crm-company-avatar{height:54px;width:54px;background:#f7b03a25;border-radius:13px;color:#987021;display:grid;place-items:center;font-size:19px;flex-shrink:0}.crm-record-code{font-size:10px;letter-spacing:1px;color:#77939c}.crm-profile-heading h2{font-size:23px;font-weight:400;margin:8px 0 0;overflow-wrap:anywhere}.crm-profile-heading p{font-size:12px;color:#6e8d97;margin:8px 0 0}.crm-profile-heading>.crm-badge{margin-left:auto}.crm-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.crm-info-card{background:#fff;border:1px solid #d3e6eb;border-radius:8px;padding:26px}.crm-info-card h3,.crm-orders-placeholder h3{font-size:14px;font-weight:600;margin:0 0 22px}.crm-info-card dl{display:grid;grid-template-columns:110px minmax(0,1fr);gap:15px;font-size:12px;margin:0;line-height:1.7}.crm-info-card dt{color:#78929b}.crm-info-card dd{margin:0;color:#345b68;overflow-wrap:anywhere}.crm-address{font-size:13px;line-height:2;color:#416774}.crm-notes{font-size:12px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;color:#527582}.crm-muted{color:#849ba2}.crm-inline-note{font-size:9px;color:#668793;letter-spacing:.5px}.crm-orders-placeholder{background:#eaf4f7;border:1px solid #d3e6eb;border-radius:8px;padding:26px;margin-top:22px}.crm-orders-placeholder>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.crm-orders-placeholder h3{margin:0}.crm-orders-placeholder p{font-size:12px;color:#6c8790;line-height:1.8;margin:18px 0 0}.crm-record-footer{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:22px;font-size:10px;color:#79929a}.crm-dialog{width:680px;max-width:calc(calc(100vw / var(--ui-zoom,1)) - 32px);max-height:calc(calc(100svh / var(--ui-zoom,1)) - 40px);padding:0;border:1px solid #d0e3e8;border-radius:12px;box-shadow:0 25px 100px #12394145;color:#164c56}.crm-dialog::backdrop{background:#0f303e80;backdrop-filter:blur(3px)}.crm-dialog-header{position:sticky;top:0;background:white;z-index:2;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #dce9ed;padding:24px 30px}.crm-dialog-header h2{font-size:24px;font-weight:400;margin:10px 0 0}.crm-close{font-size:27px;line-height:1;background:none;border:0;color:#7a969e;padding:4px 8px}.crm-form-body{padding:0 30px 24px;background:#f9fcfd}.crm-form-intro{font-size:12px;line-height:1.8;color:#678691;padding:22px 0;margin:0}.crm-dialog fieldset{border:0;padding:20px 0;margin:0;border-top:1px solid #dce9ed}.crm-dialog legend{font-size:13px;font-weight:600;padding:0 8px 0 0}.crm-fields{display:grid;grid-template-columns:1fr 1fr;gap:19px 18px}.crm-fields .wide{grid-column:1/-1}.crm-dialog label{font-size:11px;color:#567882;margin-bottom:8px}.crm-dialog input{height:42px;font-size:12px;background:white}.crm-dialog select{width:100%}.crm-dialog small{display:block;color:#8ba1a9;font-size:10px;line-height:1.7;margin-top:6px}.required{color:#9c6a22}.crm-checkbox{display:flex;align-items:center;gap:10px;padding:14px 0 22px;line-height:1.6}.crm-checkbox input{height:16px;width:16px;accent-color:#087e9c}.crm-dialog fieldset:disabled{opacity:.4}.crm-dialog textarea{width:100%;resize:vertical;min-height:95px;border:1px solid #cce0e0;border-radius:4px;padding:12px;font:inherit;font-size:12px;line-height:1.8;color:#315961}.crm-dialog textarea:focus{outline:2px solid #11a9bd;outline-offset:2px}.crm-dialog-footer{position:sticky;bottom:0;background:#fff;border-top:1px solid #dce9ed;padding:18px 30px}.crm-dialog-footer>div:last-child{display:flex;justify-content:flex-end;gap:10px}.crm-dialog-footer [role=status]{font-size:12px;line-height:1.7;color:#a44935;max-height:100px;overflow:auto}.crm-dialog-footer [role=status]:not(:empty){margin-bottom:14px}
@media(max-width:850px){.crm-toolbar{align-items:stretch}.crm-filters{flex-direction:column}.crm-filters input{max-width:none}.crm-detail-grid{grid-template-columns:1fr}.crm-table th,.crm-table td{padding:16px}.crm-profile-heading{padding:20px}.crm-profile-heading h2{font-size:20px}}
@media(max-width:600px){.crm-toolbar{flex-direction:column}.crm-fields{grid-template-columns:1fr}.crm-fields>div{grid-column:1/-1}.crm-dialog{max-width:calc(calc(100vw / var(--ui-zoom,1)) - 16px);max-height:calc(calc(100svh / var(--ui-zoom,1)) - 16px)}.crm-dialog-header{padding:20px}.crm-form-body{padding:0 20px 18px}.crm-dialog-footer{padding:16px 20px}.crm-pagination,.crm-record-footer{align-items:flex-start;flex-direction:column}.crm-profile-heading{gap:12px;flex-wrap:wrap}.crm-profile-heading>.crm-badge{margin-left:0}.crm-orders-placeholder>div{align-items:flex-start;flex-direction:column}.crm-info-card{padding:20px}.crm-info-card dl{grid-template-columns:90px minmax(0,1fr)}}
/* Keep navigation available while customer profiles scroll. */
.workspace-main{background:var(--paper);min-height:calc(100svh / var(--ui-zoom,1))}.sidebar{position:sticky;top:0;align-self:flex-start;height:calc(100svh / var(--ui-zoom,1));overflow-y:auto}.workspace-content h1{overflow-wrap:anywhere}
@media(max-width:600px){.sidebar{position:static;height:auto;overflow:visible;align-self:stretch}}
.crm-confirm{width:420px;padding:28px}.crm-confirm h2{font-size:20px;font-weight:400;margin:0 0 16px}.crm-confirm p{font-size:13px;line-height:1.8;color:#547681;margin:0 0 24px}.crm-confirm-actions{display:flex;justify-content:flex-end;gap:10px}
/* Materials, product, and formula catalog. */
.catalog-tabs{display:flex;gap:8px;border-bottom:1px solid #cfe3e9;padding-bottom:14px;margin-bottom:18px}.catalog-tabs button{background:none;border:1px solid transparent;padding:10px 18px;color:#66848f;border-radius:5px;font-size:12px}.catalog-tabs button.selected{background:#087e9c;color:white}.catalog-context{border-left:3px solid #f7b03a;background:#fbf5e7;padding:12px 16px;font-size:11px;line-height:1.8;color:#866735;border-radius:0 5px 5px 0;margin-bottom:22px}.catalog-sample{display:inline-block;padding:3px 6px;border-radius:3px;background:#f7b03a25;color:#99712c;font-size:8px;letter-spacing:.6px;margin-left:6px}.catalog-count{font-size:11px;color:#71909a;margin-top:19px}.catalog-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:24px}.catalog-metric{border:1px solid #cee3ea;background:white;padding:22px;border-radius:7px}.catalog-metric>span{display:block;font-size:10px;color:#6b8d99;margin-bottom:13px}.catalog-metric strong{display:block;font-size:23px;font-weight:400;color:#1b6479;overflow-wrap:anywhere}.catalog-metric small{display:block;font-size:10px;color:#7998a3;line-height:1.7;margin-top:10px}.catalog-spaced{margin-top:22px}.catalog-help{font-size:11px;line-height:1.8;color:#72919b}.catalog-actions{display:flex;gap:10px}.catalog-section-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:20px}.catalog-section-heading h3{margin:0}.catalog-section-heading label{font-size:10px;width:155px;flex-shrink:0}.catalog-section-heading input{height:36px;margin-top:7px;font-size:12px}.catalog-total{padding:14px;border-radius:5px;background:#e6f5f9;color:#236a7d;font-size:12px;line-height:1.8}.catalog-total.invalid{background:#fbf0de;color:#946b2d}.catalog-cost-footnote{font-size:10px;color:#78949c;line-height:1.9}.catalog-pack-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.catalog-pack-fields input,.catalog-pack-fields select{width:100%;height:40px;margin-top:8px;font-size:11px}.catalog-pack-fields label{font-size:10px}.catalog-inline-estimate{padding:15px;border:1px solid #c0dfe9;background:#e4f4f8;border-radius:5px;color:#1b6a80;font-size:13px;line-height:1.8;margin:22px 0}.catalog-dialog{width:800px}.catalog-dialog .crm-fields{padding-top:10px}.catalog-label{margin:24px 0 10px;font-size:12px}.catalog-recipe-editor{border-top:1px solid #d6e7ec;margin-top:28px;padding-top:22px}.catalog-recipe-editor h3{font-size:14px;font-weight:500;margin:0 0 17px}.catalog-ingredient-row{display:grid;grid-template-columns:minmax(0,1fr) 105px 30px;gap:10px;margin-bottom:12px;align-items:center}.catalog-ingredient-row select{font-size:11px;padding-right:20px}.catalog-ingredient-row .crm-close{padding:0;font-size:22px}.catalog-ingredient-row input{width:100%}.catalog-recipe-editor>.crm-secondary{margin-top:5px}
@media(max-width:850px){.catalog-metrics{grid-template-columns:1fr}.catalog-pack-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-metric strong{font-size:22px}.catalog-metric{padding:18px}.catalog-section-heading{align-items:flex-start;flex-direction:column}}
@media(max-width:600px){.catalog-tabs button{padding:10px 13px}.catalog-pack-fields{grid-template-columns:1fr}.catalog-ingredient-row{grid-template-columns:minmax(0,1fr) 77px 22px;gap:6px}.catalog-ingredient-row select{font-size:10px;padding-left:7px}.catalog-actions{flex-direction:column}.crm-info-card .crm-table td,.crm-info-card .crm-table th{padding:12px}}
.catalog-metrics{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}.catalog-form-heading{grid-column:1/-1;font-size:13px;font-weight:600;color:#1b6479;margin:10px 0 -4px;border-top:1px solid #d6e7ec;padding-top:16px}.crm-table td.num,.crm-table th.num{text-align:right}
