/* XCRM interface styles. */
:root{--bg:#f8f8fc;--surface:#fff;--text:#242254;--muted:#8286a0;--border:#e8e8f0;--brand:#5955d1;--brand-dark:#4844bb;--brand-soft:#f5f5fc;--good:#009966;--bad:#e94b4b;--shadow:0 5px 16px rgba(2,2,76,.035)}
body.xcrm-body{background:#fdfdff;color:var(--bs-heading-color);font-family:'Instrument Sans',Inter,ui-sans-serif,system-ui,sans-serif}
.xcrm-menubar{display:flex;flex-direction:column;background:#fafafe;z-index:1035}
.xcrm-brand{padding:16px 20px;background:#fafafe;width:100%;border-bottom:1px solid var(--bs-border-color)}
.xcrm-brand-link{display:flex;align-items:center;gap:11px;color:var(--bs-heading-color);font-weight:800;font-size:20px;line-height:1.1;text-decoration:none;letter-spacing:-.04em}
.xcrm-brand-link:hover{color:var(--bs-heading-color)}
.xcrm-brand-link small{display:block;font-size:9px;line-height:1.3;letter-spacing:.11em;text-transform:uppercase;font-weight:700;color:#8e91a7;margin-top:3px}
.xcrm-brand-icon{display:grid;place-items:center;width:39px;height:39px;border-radius:10px;background:linear-gradient(145deg,#8985ee,#5955d1);color:#fff;font-size:23px;box-shadow:0 7px 14px #5955d133}
.xcrm-sidebar-scroll{flex:1;overflow-y:auto;padding:19px 12px 24px}
.xcrm-menu-heading{font-size:10px;font-weight:800;letter-spacing:.13em;color:#9b9eb3;padding:0 13px;margin:4px 0 9px}
.xcrm-menu-heading.spaced{margin-top:23px}
.xcrm-menu-link{display:flex;align-items:center;gap:12px;width:100%;min-height:40px;padding:9px 13px;margin:1px 0;border-radius:9px;color:#565a76;background:transparent;border:0;text-align:left;font-size:13px;font-weight:600;text-decoration:none;transition:background .15s,color .15s}
.xcrm-menu-link i{font-size:17px;width:21px;line-height:1;display:inline-flex;color:#7b7d98}
.xcrm-menu-link:hover,.xcrm-menu-link.active{background:#eeedfc;color:#5955d1}
.xcrm-menu-link:hover i,.xcrm-menu-link.active i{color:#5955d1}
.xcrm-menu-group{margin:5px 0}.xcrm-menu-group>summary{display:flex;align-items:center;gap:12px;min-height:41px;padding:9px 13px;border-radius:9px;color:#565a76;font-size:13px;font-weight:700;list-style:none;cursor:pointer;user-select:none}.xcrm-menu-group>summary::-webkit-details-marker{display:none}.xcrm-menu-group>summary::marker{content:''}.xcrm-menu-group>summary:hover,.xcrm-menu-group>summary.active{background:#eeedfc;color:#5955d1}.xcrm-menu-group>summary:focus-visible{outline:2px solid #8780e5;outline-offset:2px}.xcrm-menu-group>summary>i{font-size:17px;width:21px;line-height:1;display:inline-flex;color:#7b7d98}.xcrm-menu-group>summary.active>i,.xcrm-menu-group>summary:hover>i{color:#5955d1}.xcrm-menu-group>summary>span:not(.xcrm-menu-chevron){min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.xcrm-menu-chevron{margin-left:auto;color:#a0a1b5;font-size:19px;line-height:1;transition:transform .18s}.xcrm-menu-group[open] .xcrm-menu-chevron{transform:rotate(180deg)}.xcrm-menu-group-links{margin:1px 0 7px 23px;padding:3px 0 3px 10px;border-left:1px solid #e7e5f5}.xcrm-menu-group-links .xcrm-menu-link{min-height:36px;padding:7px 9px;gap:10px;font-size:12px}.xcrm-menu-group-links .xcrm-menu-link i{font-size:15px;width:18px}
.xcrm-sidebar-foot{border-top:1px solid var(--bs-border-color);padding:16px 23px;color:#676a81;font-size:11px;font-weight:700}
.xcrm-sidebar-foot small{display:block;font-size:10px;font-weight:500;color:#a0a3b6;margin-left:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.xcrm-status-dot{display:inline-block;width:7px;height:7px;background:#11b783;border-radius:50%;margin-right:6px}
.xcrm-header{z-index:1020;background:#fff}
.xcrm-header-inner{padding-left:24px}
.xcrm-header-start,.xcrm-header-end{display:flex;align-items:center;gap:14px}
.xcrm-header-title{display:flex;flex-direction:column;line-height:1.25}
.xcrm-header-title strong{font-size:15px;font-weight:700;color:var(--bs-heading-color)}
.xcrm-header-title span{color:#9698ad;font-size:11px;margin-top:3px}
.xcrm-header-end{margin-left:auto;gap:18px}
.xcrm-today{font-size:12px;color:#8589a1}
.xcrm-add{font-size:12px;font-weight:700;padding:9px 14px;border-radius:8px;white-space:nowrap}
.xcrm-add i{font-size:14px;vertical-align:middle;margin-right:3px}
.xcrm-avatar{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#eeedfc;color:#5955d1;font-weight:800}
.xcrm-menu-toggler{display:none;border:0;background:#f3f3fa;color:#4c4c6c;border-radius:8px;width:35px;height:35px;align-items:center;justify-content:center}
.xcrm-wrapper{background:#fdfdff;padding:23px 29px 60px;min-height:calc(100vh - 80px)}
.xcrm-container{max-width:1510px;padding:0}
.xcrm-breadcrumb{display:flex;align-items:center;gap:9px;color:#a0a2b5;font-size:12px;margin:0 0 22px}
.xcrm-breadcrumb a{color:#aaaec1}
.xcrm-breadcrumb span:last-child{color:#686b84}
.xcrm-content{max-width:none;padding:0;margin:0}
.xcrm-content .page-head{margin-bottom:21px}
.xcrm-content .page-head h1{font-size:27px;color:var(--bs-heading-color);font-weight:750}
.xcrm-content .page-head p{font-size:13px;color:#8a8da4}
.xcrm-content .card{height:auto;border-radius:11px;box-shadow:0 5px 13px rgba(2,2,76,.025);border-color:#ebebf2}
.xcrm-content .card-body{padding:20px}
.xcrm-content .card-head{padding:17px 20px;border-bottom:1px solid #ececf2}
.xcrm-content .card-head h2{font-size:15px;font-weight:700;color:var(--bs-heading-color)}
.xcrm-content .stat{min-height:143px;padding:19px 21px}
.xcrm-content .stat-label{font-size:12px;color:#646780}
.xcrm-content .stat-value{font-size:27px;color:#20244a}
.xcrm-content .stat-icon{background:#f0effd;color:#5955d1}
.xcrm-content .data-table{min-width:620px}
.xcrm-content .data-table th{background:#fafafe;color:#9b9fb2;font-size:10px;border-color:#eeeef3}
.xcrm-content .data-table td{border-color:#eeeef3;color:#5d6079}
.xcrm-content .data-table td strong{color:#20244a}
.xcrm-content .data-table tbody tr:hover{background:#fbfaff}
.xcrm-content .btn{border-radius:8px;font-weight:700;font-size:12px;box-shadow:none}
.xcrm-content .btn.primary,.xcrm-content .btn.btn-primary{background:#5955d1;border-color:#5955d1;color:white}
.xcrm-content .btn.primary:hover,.xcrm-content .btn.btn-primary:hover{background:#4641bf}
.xcrm-content .btn.good{background:#eefaf5;border-color:#c5eadb;color:#008b61}
.xcrm-content .field label{color:#4e526e;font-size:12px;font-weight:700}
.xcrm-content .field input,.xcrm-content .field select,.xcrm-content .field textarea{border:1px solid #e0e2ec;border-radius:8px;padding:9px 12px;background:white;color:#333650}
.xcrm-content .field input:focus,.xcrm-content .field select:focus,.xcrm-content .field textarea:focus{border-color:#5955d1;box-shadow:0 0 0 3px #5955d125}
.xcrm-content .summary-box{border-color:#e9e9f2;background:#fff}
.xcrm-content .summary-box.highlight{background:#f5f5fc;border-color:#deddf7}
.xcrm-content .summary-box strong{color:#20244a}
.xcrm-content .badge{border-radius:5px;padding:5px 9px}
.xcrm-content .quote-row{border-color:#e8e8f0;background:#fff}
.xcrm-quote-readiness{margin:0 0 18px;padding:17px 18px;border:1px solid #f1dfbb;border-radius:12px;background:#fffaf0}.xcrm-quote-readiness-heading{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin-bottom:13px}.xcrm-quote-readiness-heading strong{color:#74521b;font-size:14px}.xcrm-quote-readiness-heading>span{color:#8b7655;font-size:12px}.xcrm-quote-readiness-items{display:grid;grid-template-columns:repeat(auto-fit,minmax(245px,1fr));gap:10px}.xcrm-quote-readiness-item{display:flex;align-items:center;gap:10px;min-width:0;padding:11px 12px;border:1px solid #f0e5d1;border-radius:9px;background:#fff}.xcrm-quote-readiness-dot{display:grid;place-items:center;flex:none;width:26px;height:26px;border-radius:50%;background:#faecd3;color:#976717;font-size:11px;font-weight:800}.xcrm-quote-readiness-item>div{display:flex;flex-direction:column;min-width:0}.xcrm-quote-readiness-item strong{color:#5f5444;font-size:11px}.xcrm-quote-readiness-item small{color:#938774;font-size:10px;line-height:1.4}.xcrm-quote-readiness-item>a,.xcrm-quote-readiness-help{margin-left:auto;flex:none;color:#7858b9;font-size:10px;font-weight:800;white-space:nowrap}.xcrm-quote-readiness-help{color:#a0835f}.xcrm-quote-section-hint{font-size:11px;color:#9295a9}.xcrm-content .xcrm-quote-meta-grid{grid-template-columns:minmax(250px,1.4fr) minmax(170px,.8fr) minmax(190px,.9fr);align-items:start;gap:15px 18px}.xcrm-quote-meta-grid .field{min-width:0}.xcrm-quote-meta-grid .field.full{grid-column:1/-1}.xcrm-content .xcrm-quote-meta-grid textarea{min-height:76px;resize:vertical}.xcrm-percent-input{position:relative}.xcrm-percent-input input{padding-right:36px!important}.xcrm-percent-input>span{position:absolute;right:13px;top:50%;transform:translateY(-50%);color:#6c6f89;font-size:13px;font-weight:800;pointer-events:none}.xcrm-required-mark{color:#c45a74}.xcrm-optional-label{margin-left:4px;color:#9b9eb0;font-size:11px;font-weight:500}.xcrm-quote-info-card .card-body{padding:18px 20px}.xcrm-quote-info-card .field-hint{font-size:10px}@media(max-width:950px){.xcrm-content .xcrm-quote-meta-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.xcrm-quote-meta-grid [data-design-field="customer_id"]{grid-column:1/-1}}@media(max-width:760px){.xcrm-content .xcrm-quote-meta-grid{grid-template-columns:1fr}.xcrm-quote-meta-grid [data-design-field="customer_id"]{grid-column:auto}.xcrm-quote-readiness-item{flex-wrap:wrap}.xcrm-quote-readiness-item>a,.xcrm-quote-readiness-help{margin-left:36px}}
.xcrm-content .note{background:#f6f5ff;color:#625ea2}
.xcrm-content .alert{border-radius:9px}
.xcrm-menu-backdrop{display:none}
@media(max-width:1199.98px){.xcrm-menu-toggler{display:inline-flex}.xcrm-menubar.open{left:0}.xcrm-menu-backdrop.open{display:block;position:fixed;inset:0;background:#1b1b386b;z-index:1030}.xcrm-wrapper{padding:21px 20px 50px}}
@media(max-width:760px){.xcrm-header-inner{padding-left:12px}.xcrm-header-title span,.xcrm-today{display:none}.xcrm-header-end{gap:8px}.xcrm-add{padding:8px 9px}.xcrm-avatar{display:none}.xcrm-wrapper{padding:16px 14px 36px}.xcrm-content .page-head h1{font-size:23px}.xcrm-content .stat{padding:16px}.xcrm-content .stat-value{font-size:22px}}
.mail-alert-controls{display:flex;align-items:center;gap:6px}.mail-alert-button{position:relative;display:inline-grid;place-items:center;width:37px;height:37px;border-radius:10px;background:#f0efff;color:#6157c9;font-size:17px}.mail-alert-button.has-new-mail{background:#e9e5ff;box-shadow:0 0 0 4px #705ce529;animation:mail-alert-glow 1.8s ease-in-out infinite}.mail-alert-count{position:absolute;right:-7px;top:-6px;min-width:18px;height:18px;border-radius:10px;padding:0 4px;background:#e54567;color:white;text-align:center;line-height:18px;font-size:10px;font-weight:800}.mail-sound-button{display:inline-flex;align-items:center;gap:4px;min-height:33px;padding:4px 7px;border:1px solid #ddd9f4;border-radius:8px;background:white;color:#6d6889;font-size:11px}.mail-sound-button.enabled{color:#167e65;background:#eaf9f3;border-color:#b9e6d9}@keyframes mail-alert-glow{50%{box-shadow:0 0 0 8px #705ce50d,0 0 14px #7866e88c}}.mail-account-manage{display:grid;gap:10px;min-width:220px;padding:12px 0}.mail-share-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;margin-top:16px}.mail-message-body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;font-size:14px;color:#29354d}.mail-unread-row{background:#f8f7ff}@media(max-width:760px){.mail-sound-button span{display:none}.mail-share-grid{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){.mail-alert-button.has-new-mail{animation:none}}
.mail-signature-section-head{display:flex;align-items:center;justify-content:space-between;margin:24px 0 12px}.mail-signature-section-head h2{margin:0;font-size:18px}.mail-signature-section-head span{color:#9295a9;font-size:12px}.mail-signature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.mail-signature-card .card-head{display:flex;align-items:start;justify-content:space-between;gap:10px}.mail-signature-card .card-head h2{margin:0 0 4px}.mail-signature-preview{min-height:90px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;color:#29354d}.mail-signature-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:18px}.mail-signature-edit{width:100%}.mail-signature-edit summary{display:inline-flex;cursor:pointer}.mail-signature-edit[open]{order:2;margin-top:8px}.mail-signature-edit form{margin-top:14px;padding-top:14px;border-top:1px solid #eee}.mail-signature-default-choice{display:flex;align-items:center;gap:8px;margin-top:15px;font-size:13px;color:#48526a}.mail-signature-default-choice input{width:auto;flex:none;margin:0}.mail-signature-default-choice .xcrm-field-help{margin-left:1px}@media(max-width:760px){.mail-signature-grid{grid-template-columns:1fr}}
@media print{.xcrm-menubar,.xcrm-header,.xcrm-menu-backdrop,.xcrm-breadcrumb{display:none!important}.xcrm-wrapper{margin:0;padding:0}.xcrm-content{padding:0}.xcrm-content .card{border:0;box-shadow:none}}
.xcrm-about-page{max-width:1200px;margin:0 auto 30px}.xcrm-about-hero{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,.85fr);gap:34px;align-items:center;padding:clamp(25px,4vw,53px);border:1px solid #e8e9f5;border-radius:20px;background:radial-gradient(circle at 12% 0%,#e6efff 0,transparent 40%),radial-gradient(circle at 96% 96%,#f9eaf3 0,transparent 34%),#fff;box-shadow:0 12px 35px #29294b09}.xcrm-about-eyebrow,.xcrm-about-section-title>span{display:block;color:#5b59c9;font-size:10px;font-weight:800;letter-spacing:.17em}.xcrm-about-hero h1{max-width:700px;margin:15px 0 18px;color:#222447;font-size:clamp(30px,3.2vw,48px);font-weight:800;line-height:1.12;letter-spacing:-.045em}.xcrm-about-hero-copy>p{max-width:690px;margin:0;color:#646983;font-size:15px;line-height:1.75}.xcrm-about-brand-card{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:17px;min-height:245px;padding:30px;border:1px solid #e9eaf2;border-radius:16px;background:#fff;box-shadow:0 12px 32px #1d246a0c}.xcrm-about-brand-card>span{font-size:11px;font-weight:700;color:#9296ac;text-transform:uppercase;letter-spacing:.08em}.xcrm-about-brand-card img{display:block;width:100%;max-width:390px;height:auto;object-fit:contain}.xcrm-about-brand-card a{font-size:12px;font-weight:700;color:#5955d1}.xcrm-about-story,.xcrm-about-principles{padding-top:47px}.xcrm-about-section-title{margin-bottom:21px}.xcrm-about-section-title h2{margin:7px 0 0;color:#282b4d;font-size:clamp(22px,2.2vw,30px);font-weight:750;letter-spacing:-.03em}.xcrm-about-story-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(240px,.75fr);gap:24px;align-items:stretch}.xcrm-about-story-copy{padding:29px 32px;border:1px solid #e9eaf2;border-radius:15px;background:#fff}.xcrm-about-story-copy p{margin:0 0 18px;color:#565d75;font-size:14px;line-height:1.85}.xcrm-about-story-copy p:last-child{margin-bottom:0}.xcrm-about-statement{display:flex;flex-direction:column;justify-content:center;padding:30px;border-radius:15px;background:linear-gradient(145deg,#323b78,#20264f);color:white}.xcrm-about-statement-mark{height:48px;color:#9ca6ef;font-family:Georgia,serif;font-size:72px;line-height:1}.xcrm-about-statement p{margin:5px 0 20px;font-size:clamp(20px,2vw,27px);font-weight:600;line-height:1.4;letter-spacing:-.025em}.xcrm-about-statement>span:last-child{color:#c5cbf6;font-size:11px;font-weight:700;letter-spacing:.03em}.xcrm-about-pillars{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.xcrm-about-pillars article{padding:23px 24px;min-height:173px;border:1px solid #e9eaf2;border-radius:14px;background:#fff}.xcrm-about-pillar-number{display:block;margin-bottom:14px;color:#6865d7;font-size:13px;font-weight:800}.xcrm-about-pillars h3{margin:0 0 7px;color:#292d4e;font-size:17px;font-weight:750}.xcrm-about-pillars p{margin:0;color:#73788d;font-size:12px;line-height:1.7}.xcrm-about-source{margin-top:27px;color:#9a9db0;font-size:11px;line-height:1.6}.xcrm-about-source a{color:#6662be;text-decoration:underline}@media(max-width:850px){.xcrm-about-hero,.xcrm-about-story-grid{grid-template-columns:1fr}.xcrm-about-brand-card{min-height:0}.xcrm-about-pillars{grid-template-columns:1fr}}@media(max-width:550px){.xcrm-about-hero{gap:22px;padding:23px}.xcrm-about-story,.xcrm-about-principles{padding-top:34px}.xcrm-about-story-copy,.xcrm-about-statement{padding:22px}}
.xcrm-auth-layout{min-height:100vh;display:grid;grid-template-columns:minmax(360px,44%) 1fr;background:#fdfdff}
.xcrm-auth-art{background:#f4f3fe;display:flex;flex-direction:column;justify-content:space-between;padding:38px clamp(32px,5vw,80px);overflow:hidden;position:relative}
.xcrm-auth-brand{display:flex;align-items:center;gap:11px;color:#29294b;font-size:22px;font-weight:800;letter-spacing:-.04em;line-height:1.15}
.xcrm-auth-brand small{display:block;font-size:9px;letter-spacing:.1em;text-transform:uppercase;color:#77799b;margin-top:4px}
.xcrm-auth-illustration{width:min(100%,560px);max-height:53vh;object-fit:contain;margin:auto;display:block}
.xcrm-auth-art h1{font-size:clamp(31px,3.4vw,53px);line-height:1.07;letter-spacing:-.055em;color:#29294b;max-width:460px;margin-bottom:9px}
.xcrm-auth-art p{font-size:14px;color:#777a9c;max-width:360px;margin:0}
.xcrm-auth-panel{display:grid;place-items:center;padding:35px}
.xcrm-auth-card{width:min(450px,100%);border-radius:16px!important;box-shadow:0 17px 45px #29294b0a!important}
.xcrm-auth-card .card-body{padding:clamp(27px,4vw,48px)}
.xcrm-auth-card-brand{display:flex;align-items:center;gap:10px;font-size:20px;color:#29294b;margin-bottom:29px}
.xcrm-auth-card-brand .xcrm-brand-icon{width:34px;height:34px;font-size:20px}
.xcrm-auth-card h2{font-size:25px;letter-spacing:-.03em;color:#242254;margin:0 0 5px}
.xcrm-auth-card p{font-size:13px;color:#8a8ca3;margin-bottom:25px}
.xcrm-auth-card .form-label{font-size:12px;font-weight:700;color:#4d526e}
.xcrm-auth-card .form-control{min-height:43px;border-color:#e0e2ed}
.xcrm-auth-card .btn{padding:10px;font-size:13px;font-weight:700}
.xcrm-auth-card .xcrm-auth-help{font-size:11px;margin:23px 0 0}
@media(max-width:900px){.xcrm-auth-layout{grid-template-columns:1fr}.xcrm-auth-art{display:none}.xcrm-auth-panel{min-height:100vh}}
/* Field explanations work with touch, mouse, and keyboard through native details. */
.xcrm-field-label{display:flex;align-items:center;gap:7px;margin-bottom:5px}
.xcrm-field-label label,.xcrm-field-label .xcrm-field-label-text{margin:0;font-size:12px;font-weight:700;color:#4e526e}
.xcrm-field-help{position:relative;display:inline-flex;flex:none;line-height:1;z-index:5}
.xcrm-field-help[open]{z-index:60}
.xcrm-field-help summary{list-style:none;display:grid;place-items:center;width:19px;height:19px;border:1px solid #b9b7e9;border-radius:50%;background:#f5f4ff;color:#5955d1;font:700 11px/1 Arial,sans-serif;cursor:pointer;user-select:none}
.xcrm-field-help summary::-webkit-details-marker{display:none}
.xcrm-field-help summary:hover,.xcrm-field-help summary:focus-visible,.xcrm-field-help[open] summary{background:#5955d1;border-color:#5955d1;color:white;outline:none}
.xcrm-field-help summary:focus-visible{box-shadow:0 0 0 3px #5955d13a}
.xcrm-field-help-text{position:absolute;top:calc(100% + 8px);left:0;width:min(290px,80vw);padding:11px 13px;border:1px solid #dfdef2;border-radius:9px;background:#fff;box-shadow:0 12px 30px #29294b24;color:#424664;font:500 12px/1.48 'Instrument Sans',Inter,system-ui,sans-serif;text-align:left;white-space:normal}
.xcrm-field-help-text::before{content:'';position:absolute;top:-5px;left:8px;width:8px;height:8px;border-left:1px solid #dfdef2;border-top:1px solid #dfdef2;background:white;transform:rotate(45deg)}
.quote-row .xcrm-field-help-text{right:0;left:auto}
.quote-row .xcrm-field-help-text::before{left:auto;right:8px}
.xcrm-auth-card .xcrm-field-label{margin-bottom:8px}
.xcrm-auth-card .xcrm-field-label label{font-size:12px;color:#4d526e}
.xcrm-permission-card .card-body{padding:0}
.xcrm-permission-tabs{display:flex;gap:4px;overflow-x:auto;padding:14px 16px 0;border-bottom:1px solid #ececf2;scrollbar-width:thin}
.xcrm-permission-tab{flex:none;border:0;border-bottom:3px solid transparent;background:transparent;color:#777a95;padding:10px 12px 13px;font-size:12px;font-weight:700;white-space:nowrap;cursor:pointer}
.xcrm-permission-tab:hover,.xcrm-permission-tab.active{color:#5955d1}
.xcrm-permission-tab.active{border-bottom-color:#5955d1}
.xcrm-permission-panel{padding:23px}
.xcrm-permission-panel[hidden]{display:none}
.xcrm-permission-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:20px}
.xcrm-permission-heading h2{font-size:17px;color:#29294b;margin:0 0 4px}
.xcrm-permission-heading p{font-size:12px;color:#8589a1;margin:0}
.xcrm-permission-heading span{flex:none;background:#f3f2ff;color:#5e5bc0;border-radius:99px;padding:5px 9px;font-size:11px;font-weight:700}
.xcrm-permission-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.xcrm-permission-option{display:flex;gap:11px;align-items:flex-start;min-width:0;padding:14px;border:1px solid #e8e8f1;border-radius:10px;background:#fff;cursor:pointer}
.xcrm-permission-option:has(input:checked){background:#f8f7ff;border-color:#d9d6f6}
.xcrm-permission-option input{flex:none;width:16px;height:16px;margin-top:2px;accent-color:#5955d1}
.xcrm-permission-option-copy{display:grid;gap:4px;min-width:0}
.xcrm-permission-option-copy strong{font-size:12px;color:#343753}
.xcrm-permission-option-copy small{font-size:11px;line-height:1.45;color:#767b96}
.xcrm-permission-option-copy code{font-size:10px;color:#6b64af}
.xcrm-permission-admin-note{margin:0 23px 20px;padding:12px 14px;background:#f7f8fb;border-radius:9px;color:#676b86;font-size:12px}
.xcrm-permission-admin-note p{margin:3px 0 0}
.xcrm-permission-card .form-actions{margin:0 23px 23px;padding-top:18px;border-top:1px solid #ececf2}
.xcrm-permission-event{display:grid;grid-template-columns:1fr auto;gap:3px 14px;padding:10px 0;border-bottom:1px solid #eeeef4;font-size:12px}
.xcrm-permission-event:last-child{border-bottom:0}
.xcrm-permission-event span,.xcrm-permission-event small{color:#7d819c}
.xcrm-permission-event small{grid-column:1/-1;overflow-wrap:anywhere}
@media(max-width:760px){.xcrm-permission-grid{grid-template-columns:1fr}.xcrm-permission-panel{padding:16px}.xcrm-permission-tabs{padding-left:9px}}
.xcrm-menu-sub-link{width:calc(100% - 18px);margin-left:18px;padding-left:17px;border-left:2px solid #e7e5f5;border-radius:0 8px 8px 0}
.xcrm-menu-sub-link i{font-size:15px}
.xcrm-call-next{margin-bottom:18px}
.xcrm-call-next .card-body{display:flex;align-items:center;justify-content:space-between;gap:18px}
.xcrm-call-next h2{font-size:17px;margin:0 0 4px;color:#29294b}
.xcrm-call-next p{font-size:12px;color:#7d8199;margin:0}
.xcrm-call-next .btn{white-space:nowrap}
.xcrm-call-admin-grid,.xcrm-design-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.xcrm-design-layout{grid-template-columns:minmax(0,1.6fr) minmax(290px,1fr)}
.xcrm-call-admin-grid .card,.xcrm-design-layout .card{min-width:0}
.xcrm-call-admin-grid .field select[multiple]{min-height:170px}
.xcrm-call-check{display:flex;align-items:center;gap:8px;min-height:39px}
.xcrm-call-check input[type=checkbox]{width:17px;height:17px;accent-color:#5955d1}
.xcrm-call-check label{margin:0}
.xcrm-call-attempt{padding:15px 0;border-bottom:1px solid #ebebf3}
.xcrm-call-attempt:first-child{padding-top:0}
.xcrm-call-attempt:last-child{padding-bottom:0;border-bottom:0}
.xcrm-call-attempt-head{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px}
.xcrm-call-attempt-head strong{color:#343653}
.xcrm-call-attempt-head span,.xcrm-call-attempt small{color:#8589a1}
.xcrm-call-attempt p{font-size:12px;margin:8px 0}
.xcrm-call-answers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:12px 0 0}
.xcrm-call-answers div{background:#fafafe;border-radius:7px;padding:9px 11px}
.xcrm-call-answers dt{font-size:10px;font-weight:700;color:#9699ac}
.xcrm-call-answers dd{font-size:12px;color:#353854;margin:4px 0 0;overflow-wrap:anywhere}
@media(max-width:1050px){.xcrm-call-admin-grid,.xcrm-design-layout{grid-template-columns:1fr}}
@media(max-width:760px){.xcrm-call-next .card-body{align-items:stretch;flex-direction:column}.xcrm-call-next .btn{width:100%}.xcrm-call-answers{grid-template-columns:1fr}}

/* Screen design editor */
.xcrm-screen-editor .card-body{padding:20px}
.xcrm-screen-picker{display:flex;align-items:end;gap:12px;margin-bottom:20px}
.xcrm-screen-picker .field{width:min(520px,100%)}
.xcrm-screen-sections{display:grid;gap:14px}
.xcrm-screen-section{display:grid;grid-template-columns:minmax(170px,1fr) minmax(170px,260px);gap:14px 22px;padding:18px;border:1px solid #e8e8f1;border-radius:12px;background:#fff}
.xcrm-screen-section h3{font-size:15px;margin:0 0 3px;color:#293047}
.xcrm-screen-section p{font-size:12px;color:#83899e;margin:0}
.xcrm-screen-fields{grid-column:1/-1;border-top:1px solid #eeeef4;padding-top:14px;display:grid;gap:9px}
.xcrm-screen-fields-head{display:flex;justify-content:space-between;gap:12px;align-items:baseline;font-size:12px}
.xcrm-screen-fields-head span{color:#898ea2}
.xcrm-screen-field-row{display:grid;grid-template-columns:minmax(160px,1fr) minmax(95px,130px) minmax(130px,180px);align-items:end;gap:12px;padding:9px 12px;border:1px solid #eeeef4;border-radius:9px;background:#fafafe}
.xcrm-screen-field-row strong{font-size:12px;padding-bottom:9px}
.xcrm-screen-field-row .field label{font-size:11px}
.xcrm-screen-field-row input,.xcrm-screen-field-row select{min-height:35px}
@media(max-width:760px){.xcrm-screen-picker{align-items:stretch;flex-direction:column}.xcrm-screen-section{grid-template-columns:1fr}.xcrm-screen-fields{grid-column:1}.xcrm-screen-field-row{grid-template-columns:1fr 1fr}.xcrm-screen-field-row strong{grid-column:1/-1;padding-bottom:0}.xcrm-screen-fields-head{display:block}}

.xcrm-source-custom{margin-top:12px;padding:12px;border:1px solid #e8e8f1;border-radius:9px;background:#fafafe}
.xcrm-source-custom[hidden]{display:none!important}
.xcrm-contact-section{margin-top:26px;padding-top:23px;border-top:1px solid #ebebf2}
.xcrm-contact-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}
.xcrm-contact-section-head h2{margin:0 0 3px;font-size:16px;color:#2b344d}
.xcrm-contact-section-head p{margin:0;color:#858ba0;font-size:12px}
#customer-contact-list{display:grid;gap:12px}
.xcrm-contact-item{padding:15px;border:1px solid #e7e8f1;border-radius:11px;background:#fcfcff}
.xcrm-contact-item-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;font-size:12px;color:#3a3d5d}
.xcrm-contact-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.xcrm-contact-row .field{min-width:0}
.xcrm-contact-custom{margin-top:7px}
.xcrm-contact-custom[hidden]{display:none!important}
@media(max-width:760px){.xcrm-contact-section-head{align-items:stretch;flex-direction:column}.xcrm-contact-row{grid-template-columns:1fr}.xcrm-contact-section-head .btn{align-self:flex-start}}
.xcrm-margin-modes{display:flex;flex-wrap:wrap;gap:9px}
.xcrm-margin-modes label{display:inline-flex;align-items:center;gap:8px;padding:10px 13px;border:1px solid #e0e2ed;border-radius:9px;background:#fbfbff;cursor:pointer}
.xcrm-margin-modes input{width:16px;height:16px;min-height:0;accent-color:#5955d1}
.xcrm-quote-meta-grid>.field[hidden],.quote-row .manual-margin-field[hidden]{display:none!important}
.quote-row .manual-margin-field{grid-column:1/-1;max-width:260px}
.xcrm-integration-filters{display:flex;flex-wrap:wrap;gap:9px;margin:0 0 20px}.xcrm-integration-filters button{min-width:104px;padding:9px 16px;border:1px solid #e0e2eb;border-radius:999px;background:#fff;color:#6c7084;font-size:12px;font-weight:700;cursor:pointer}.xcrm-integration-filters button.active{border-color:#625bd5;background:#625bd5;color:#fff}.xcrm-integration-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.xcrm-integration-card{display:flex;flex-direction:column;min-height:335px;overflow:hidden;border:1px solid #e9eaf1;border-radius:13px;background:#fff;box-shadow:0 5px 16px #20244a0a}.xcrm-integration-card[hidden]{display:none!important}.xcrm-integration-card-art{display:flex;justify-content:center;align-items:center;gap:10px;min-height:100px;background:#f8f8fb;font-size:15px;letter-spacing:.18em}.xcrm-integration-card-art.parasut{color:#f05a50}.xcrm-integration-card-art.mail{color:#645ad3}.xcrm-integration-card-art.currency{color:#229b80}.xcrm-integration-card-art>i{font-size:31px;letter-spacing:0}.parasut-mark{display:inline-flex;align-items:end;gap:0;flex:none}.parasut-mark span:first-child{width:24px;height:24px;border-radius:50%;background:#fb5e58}.parasut-mark span:last-child{width:20px;height:20px;margin-left:-5px;border-radius:50%;background:#8b6465}.xcrm-integration-card-body{display:flex;flex:1;flex-direction:column;padding:20px}.xcrm-integration-type{color:#8c8fa5;font-size:10px;font-weight:800;letter-spacing:.09em;text-transform:uppercase}.xcrm-integration-card h2{margin:10px 0;font-size:17px;color:#26314b}.xcrm-integration-card p{flex:1;margin:0 0 20px;color:#72788b;font-size:12px;line-height:1.6}.xcrm-integration-card-foot{display:flex;align-items:center;justify-content:space-between;gap:10px}.parasut-status-card{display:flex;align-items:center;gap:16px;padding:18px 20px;margin-bottom:19px;border:1px solid #e8e8f2;border-radius:12px;background:#fff}.parasut-status-icon{display:grid;place-items:center;flex:none;width:48px;height:48px;border-radius:12px;background:#fff0ee}.parasut-status-card>div:nth-child(2){flex:1}.parasut-status-card strong{font-size:15px;color:#28344c}.parasut-status-card p{margin:3px 0 0;font-size:12px;color:#80859b}.parasut-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(290px,1fr);gap:18px;align-items:start}.parasut-layout .card{margin:0}.parasut-next-card{margin-top:18px!important}.parasut-next-card p,.parasut-layout .card-body>p{font-size:12px;line-height:1.6;color:#72788b}.parasut-config-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.parasut-company-grid{display:grid;grid-template-columns:1fr auto;align-items:end;gap:10px}.parasut-company-grid .field{min-width:0}.parasut-import-ready{margin-top:18px;padding-top:16px;border-top:1px solid #ececf2}.parasut-import-ready strong{font-size:13px;color:#25324b}.parasut-import-ready p{font-size:12px;color:#73788f;line-height:1.6}.parasut-note{margin-top:18px;padding:16px 18px;border:1px solid #ebe8d8;border-radius:11px;background:#fffcf3}.parasut-note strong{font-size:13px;color:#866d32}.parasut-note p{margin:5px 0 0;font-size:12px;line-height:1.6;color:#8b7c58}.parasut-pages{display:flex;justify-content:space-between;margin-top:15px}@media(max-width:1100px){.xcrm-integration-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.parasut-layout{grid-template-columns:1fr}}@media(max-width:700px){.xcrm-integration-grid,.parasut-config-grid{grid-template-columns:1fr}.parasut-company-grid{grid-template-columns:1fr}.parasut-status-card{flex-wrap:wrap}.xcrm-integration-filters button{min-width:0}}
