/* One library for customer and technician profiles, with a dedicated content editor. */
.xh-library,.xh-admin{color:#0b3b5b;font-family:inherit;min-width:0}
.xh-library *,.xh-admin *{box-sizing:border-box}
.xh-library svg,.xh-admin svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.xh-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px;border-radius:20px;background:radial-gradient(circle at 100% 0,#007cc080,transparent 65%),linear-gradient(125deg,#0b3b5b,#082b46);color:#fff;border-bottom:4px solid #89d443}
.xh-heading>div>span,.xh-admin-head>div>span{font-size:10px;letter-spacing:.12em;font-weight:800;color:#b2e773}
.xh-heading h3{font-size:28px;line-height:1.2;letter-spacing:-.03em;margin:12px 0}
.xh-library .xh-heading h3,#accountModal .account-profile-panel .xh-heading h3{color:#fff!important}
.xh-library .xh-heading p,#accountModal .account-profile-panel .xh-heading p{color:#d0e6f1!important}
.xh-library .xh-item.xh-navy .xh-item-copy strong{color:#fff!important}
.xh-library .xh-item.xh-navy .xh-item-copy small{color:#d0e6f1!important}
.xh-library .xh-item:not(.xh-navy) .xh-item-copy strong,.xh-library .xh-block-heading strong,.xh-library .xh-block>summary strong{color:#0b3b5b}
.xh-library .xh-item:not(.xh-navy) .xh-item-copy small,.xh-library .xh-block-heading small,.xh-library .xh-block>summary small{color:#4d687b}
.xh-admin .xh-admin-head h2{color:#fff!important}
.xh-admin .xh-admin-head p,.xh-admin .xh-save-bar p{color:#d0e6f1!important}
.xh-heading p{font-size:14px;line-height:1.6;margin:0;color:#d0e6f1;white-space:pre-line}
.xh-heading>i{display:grid;place-items:center;width:70px;height:80px;flex-shrink:0;border:1px solid #ffffff35;background:#ffffff0a;border-radius:18px;color:#b2e773;transform:rotate(8deg)}
.xh-heading>i svg{width:40px;height:40px}
.xh-blocks{display:grid;gap:16px;margin-top:20px}
.xh-block{border:1px solid #cbe1ec;border-radius:18px;padding:19px;background:#fff;min-width:0}
.xh-block.xh-green{background:linear-gradient(125deg,#f0f9e9,#fff);border-color:#cee4c5}
.xh-block.xh-purple{background:linear-gradient(125deg,#f5effa,#fff);border-color:#ddd1e9}
.xh-block.xh-blue{background:linear-gradient(125deg,#eef8ff,#fff)}
.xh-block.xh-navy{background:#f0f6fa}
.xh-block-heading,.xh-block>summary{display:flex;align-items:center;gap:12px;list-style:none;cursor:default}
.xh-block>summary{cursor:pointer}.xh-block>summary::-webkit-details-marker{display:none}
.xh-block-heading strong,.xh-block>summary strong{display:block;font-size:17px;line-height:1.4}
.xh-block-heading small,.xh-block>summary small{display:block;font-size:12px;line-height:1.5;color:#5b7b8e;margin-top:4px;white-space:pre-line}
.xh-block-icon,.xh-icon{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;border-radius:12px;background:#fff;border:1px solid #c9e2ec;color:#007cc0}
.xh-green .xh-block-icon,.xh-item.xh-green .xh-icon{color:#16815c;border-color:#c9e3bf}
.xh-purple .xh-block-icon,.xh-item.xh-purple .xh-icon{color:#74518e;border-color:#daccdf}
.xh-chevron{margin-left:auto;font-size:22px;color:#43839a;transition:transform .2s}
.xh-block[open] .xh-chevron{transform:rotate(180deg)}
.xh-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}
.xh-items:has(>.xh-item:only-child){grid-template-columns:1fr}
.xh-item{display:flex;align-items:center;gap:13px;min-width:0;min-height:86px;margin:0;padding:16px;text-align:left;background:#fff;border:1px solid #c9e1ee;border-radius:14px;color:#0b3b5b;text-decoration:none;font:inherit}
a.xh-item,button.xh-item{cursor:pointer;transition:transform .2s,box-shadow .2s,border-color .2s}
a.xh-item:hover,button.xh-item:hover{transform:translateY(-2px);box-shadow:0 7px 18px #0b3b5b12;border-color:#78bce0}
.xh-item-copy{display:block;min-width:0;flex:1;overflow-wrap:anywhere}
.xh-item-copy strong{display:block;font-size:14px;line-height:1.45}
.xh-item-copy small{display:block;font-size:12px;line-height:1.55;margin-top:5px;color:#5e7b8c;white-space:pre-line}
.xh-item.xh-green{background:#f6fbf0;border-color:#cfe6c5}.xh-item.xh-purple{background:#f8f4fc;border-color:#dfd2e9}
.xh-item.xh-navy{background:#0b3b5b;border-color:#0b3b5b;color:#fff}.xh-item.xh-navy small{color:#d0e6f1}.xh-item.xh-navy .xh-icon{background:#ffffff10;border-color:#ffffff25;color:#a5e35f}
.xh-arrow{font-size:18px;color:inherit}.xh-image{display:block;grid-column:1/-1;padding:12px}
.xh-image img{display:block;max-width:100%;max-height:500px;object-fit:contain;margin:auto;border-radius:10px}.xh-image figcaption{padding:13px 5px 3px}
.xh-empty{padding:20px;font-size:14px;color:#638093;line-height:1.6}
.xh-item:focus-visible,.xh-block>summary:focus-visible,.xh-admin button:focus-visible{outline:3px solid #007cc0;outline-offset:3px}
#accountModal .account-profile-panel.ah-profile{padding:18px}
.fc-portal .xh-library{margin-top:24px}.fc-portal .xh-heading h3{color:#fff}.fc-portal .xh-heading p{color:#d0e6f1}
.xh-admin{max-width:1200px;margin:auto}
.xh-admin-head{display:flex;justify-content:space-between;align-items:center;gap:20px;background:linear-gradient(120deg,#0b3b5b,#006d99);border-radius:20px;padding:26px;color:#fff;margin-bottom:22px}
.xh-admin-head h2{font-size:26px;line-height:1.25;margin:10px 0}.xh-admin-head p{line-height:1.6;margin:0;color:#d1e6f0;font-size:14px}
.xh-primary,.xh-secondary,.xh-row-actions button{border:1px solid #bdd8e8;border-radius:11px;padding:11px 16px;font:inherit;font-size:13px;font-weight:700;cursor:pointer;background:#fff;color:#0b3b5b;min-height:42px}
.xh-primary{background:#89d443;border-color:#89d443}.xh-primary:hover{background:#9ce158}.xh-primary:disabled{opacity:.6;cursor:wait}
.xh-secondary:hover{background:#eef8ff}.xh-secondary[aria-pressed=true]{background:#0b3b5b;color:#fff;border-color:#0b3b5b}
.xh-editor-intro{background:#fff;border:1px solid #d5e6ef;border-radius:16px;padding:22px;margin-bottom:22px}
.xh-editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.xh-editor-grid>label{display:grid;gap:7px;min-width:0;font-size:12px;font-weight:700;color:#315b73}
.xh-editor-grid>label:has(textarea),.xh-editor-grid>label:has([data-hub-field=url]){grid-column:1/-1}
.xh-editor-grid input:not([type=checkbox]),.xh-editor-grid textarea,.xh-editor-grid select{width:100%;min-width:0;border:1px solid #c6deeb;border-radius:10px;padding:11px 12px;background:#fff;color:#0b3b5b;font:inherit;font-size:14px;font-weight:400;min-height:43px}
.xh-editor-grid textarea{resize:vertical;line-height:1.6}.xh-editor-grid input:focus,.xh-editor-grid textarea:focus{outline:2px solid #007cc0;outline-offset:2px}
.xh-published{display:flex!important;align-items:center;gap:9px!important}.xh-published input{width:18px;height:18px;accent-color:#16815c}
.xh-editor-blocks{display:grid;gap:16px}.xh-editor-block{background:#fff;border:1px solid #cbdfe9;border-radius:18px;overflow:hidden}
.xh-editor-block>summary{list-style:none;padding:20px;background:linear-gradient(110deg,#edf7e6,#eff8fc);cursor:pointer}.xh-editor-block>summary::-webkit-details-marker{display:none}
.xh-editor-block>summary>span{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.xh-editor-block>summary strong{font-size:16px}.xh-editor-block>summary small{color:#628292;font-size:12px;margin-left:auto}
.xh-block-editor-body{padding:20px}.xh-row-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}.xh-row-head h3{margin:0;font-size:16px}.xh-row-head>strong{font-size:14px}
.xh-row-actions{display:flex;gap:7px;flex-shrink:0}.xh-row-actions button{padding:7px 11px;min-height:36px}.xh-row-actions button:disabled{opacity:.35;cursor:default}.xh-row-actions .xh-delete{color:#b54747;background:#fff6f5;border-color:#efd5d3}
.xh-entry-editors{display:grid;gap:16px;margin:22px 0}.xh-entry-editor{padding:18px;background:#f6fafc;border:1px solid #d9e8ef;border-radius:14px}
.xh-save-bar{position:sticky;top:12px;z-index:5;display:flex;align-items:center;gap:12px;background:#0b3b5b;color:#fff;padding:15px 18px;border-radius:15px;margin:0 0 22px;box-shadow:0 8px 25px #0b3b5b22}
.xh-save-bar p{font-size:12px;line-height:1.5;margin:0;margin-right:auto}.xh-preview-section{margin-top:28px;border-top:1px solid #d5e4ed;padding-top:22px}.xh-preview-section>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.xh-preview-section h3{margin:0;font-size:20px}.xh-preview-section>header>div{display:flex;gap:8px}.xh-preview{pointer-events:none}
@media(max-width:650px){.xh-heading{padding:22px;gap:12px}.xh-heading h3{font-size:24px}.xh-heading>i{width:45px;height:57px}.xh-heading>i svg{width:30px;height:30px}.xh-items,.xh-editor-grid{grid-template-columns:1fr}.xh-item{padding:14px}.xh-block{padding:15px}.xh-admin-head{align-items:flex-start;flex-direction:column;padding:21px}.xh-admin-head h2{font-size:22px}.xh-row-head{align-items:flex-start;flex-wrap:wrap}.xh-row-actions{margin-left:auto}.xh-save-bar{flex-wrap:wrap;bottom:5px}.xh-save-bar p{width:100%}.xh-save-bar>.xh-primary{flex:1}.xh-editor-block>summary small{margin-left:36px}.xh-editor-intro,.xh-block-editor-body{padding:17px}.xh-entry-editor{padding:14px}.xh-preview-section>header{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.xh-item,.xh-chevron{transition:none}a.xh-item:hover,button.xh-item:hover{transform:none}}
/* Administration follows the same light panels and compact hierarchy as the dashboard. */
#adminContent.xh-admin,#adminContent.xh-library{max-width:1200px;margin:auto}
.xh-office-head,.xh-admin .xh-admin-head{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:25px 28px;background:linear-gradient(110deg,#edf8e9,#edf7fc);border:1px solid #d3e6db;border-radius:20px;margin-bottom:22px;color:#0b3b5b}
.xh-office-head>div>span,.xh-admin .xh-admin-head>div>span{color:#238143;font-size:14px;font-weight:700;letter-spacing:0;text-transform:none}
.xh-office-head h2,.xh-admin .xh-admin-head h2{color:#0b3b5b!important;font-size:28px;line-height:1.25;margin:8px 0 10px;letter-spacing:-.025em}
.xh-office-head p,.xh-admin .xh-admin-head p{color:#4d687b!important;font-size:15px;line-height:1.6;margin:0;max-width:690px}
.xh-office-head>i{display:grid;place-items:center;flex:0 0 64px;height:64px;border:1px solid #c6e1bf;border-radius:18px;background:#fff;color:#248443}.xh-office-head>i svg{width:32px;height:32px}
.xh-office-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}.xh-office-toolbar p{color:#4d687b;font-size:14px}.xh-office-toolbar button{display:flex;align-items:center;gap:9px;border-radius:999px}
.xh-office-groups{display:grid;gap:14px}.xh-office-group{background:#fff;border:1px solid #d3e5ee;border-radius:18px;padding:0 22px;overflow:hidden}.xh-office-group>summary{display:flex;align-items:center;gap:14px;list-style:none;cursor:pointer;padding:20px 0;min-height:94px}.xh-office-group>summary::-webkit-details-marker{display:none}.xh-office-group strong{display:block;font-size:17px;color:#0b3b5b}.xh-office-group small{display:block;color:#4d687b;font-size:14px;margin-top:5px;line-height:1.5}.xh-office-group b{margin-left:auto;border-radius:999px;background:#eff7fc;color:#007cc0;font-size:13px;min-width:29px;padding:6px;text-align:center}.xh-office-group .xh-chevron{margin-left:0}.xh-office-group[open] .xh-chevron{transform:rotate(180deg)}.xh-office-group .xh-items{margin:0 0 22px;padding-top:18px;border-top:1px solid #e3edf2}
.xh-admin .xh-primary,.xh-admin .xh-secondary,.xh-office-toolbar .xh-secondary{font-size:14px;border-radius:999px;min-height:46px;padding:11px 18px}
.xh-admin .xh-save-bar{background:#fff;color:#0b3b5b;border:1px solid #d3e5ee;box-shadow:0 4px 14px #0b3b5b08;border-radius:16px}.xh-admin .xh-save-bar p{color:#4d687b!important;font-size:14px}
.xh-intro-disclosure,.xh-preview-disclosure{border:1px solid #d3e5ee;border-radius:18px;background:#fff;overflow:hidden;margin-bottom:18px}
#adminContent.xh-admin > .xh-preview-disclosure{margin-top:20px!important}
.xh-intro-disclosure>summary,.xh-preview-disclosure>summary,.xh-admin .xh-entry-editor>summary{display:flex;align-items:center;gap:12px;padding:19px 22px;list-style:none;cursor:pointer;color:#0b3b5b}
.xh-intro-disclosure>summary::-webkit-details-marker,.xh-preview-disclosure>summary::-webkit-details-marker,.xh-admin .xh-entry-editor>summary::-webkit-details-marker{display:none}
.xh-intro-disclosure summary strong,.xh-preview-disclosure summary strong,.xh-admin .xh-entry-editor summary strong{display:block;font-size:16px;font-weight:700}.xh-intro-disclosure summary small,.xh-preview-disclosure summary small,.xh-admin .xh-entry-editor summary small{display:block;font-size:13px;color:#4d687b;margin-top:5px;line-height:1.5}
.xh-intro-disclosure>summary::after,.xh-preview-disclosure>summary::after,.xh-admin .xh-entry-editor>summary::after,.xh-admin .xh-editor-block>summary::after{content:'⌄';margin-left:auto;font-size:22px;color:#007cc0;transition:transform .2s}.xh-intro-disclosure[open]>summary::after,.xh-preview-disclosure[open]>summary::after,.xh-admin .xh-entry-editor[open]>summary::after,.xh-admin .xh-editor-block[open]>summary::after{transform:rotate(180deg)}
.xh-intro-disclosure .xh-editor-intro{margin:0;border:0;border-top:1px solid #e3edf2;border-radius:0}.xh-preview-disclosure .xh-preview-section{margin:0;padding:22px;border-top:1px solid #e3edf2}
.xh-admin .xh-editor-block>summary{display:flex;align-items:center;gap:12px;background:#fff;padding:22px;min-height:85px}.xh-admin .xh-editor-block>summary>span{flex:1;min-width:0}.xh-admin .xh-editor-block>summary svg{color:#007cc0}.xh-admin .xh-editor-block>summary strong{font-size:17px}.xh-admin .xh-editor-block>summary small{font-size:13px;color:#4d687b}.xh-admin .xh-block-editor-body{border-top:1px solid #e3edf2;background:#f7fafc;padding:22px}
.xh-admin .xh-entry-editor{background:#fff;padding:0;border-radius:15px}.xh-admin .xh-entry-editor>summary{padding:16px 18px}.xh-admin .xh-entry-editor>summary svg{color:#248443}.xh-entry-body{padding:20px;border-top:1px solid #e3edf2}.xh-admin .xh-editor-grid>label{font-size:14px}.xh-admin .xh-editor-grid input:not([type=checkbox]),.xh-admin .xh-editor-grid textarea,.xh-admin .xh-editor-grid select{font-size:15px;background:#fff;border-radius:12px;min-height:46px}.xh-admin .xh-row-actions button{border-radius:10px;font-size:13px}.xh-admin .xh-preview-section h3{font-size:18px}
.xh-admin summary:focus-visible,.xh-library .xh-office-group>summary:focus-visible{outline:3px solid #007cc0;outline-offset:-3px}
@media(max-width:650px){.xh-office-head,.xh-admin .xh-admin-head{padding:22px 18px;align-items:flex-start}.xh-office-head h2,.xh-admin .xh-admin-head h2{font-size:23px}.xh-office-head>i{flex-basis:45px;height:45px}.xh-office-toolbar{align-items:flex-start;flex-direction:column;gap:5px}.xh-office-group{padding:0 16px}.xh-office-group>summary{gap:10px}.xh-office-group small{font-size:13px}.xh-office-group b{display:none}.xh-office-group .xh-items{grid-template-columns:1fr}.xh-admin .xh-editor-block>summary,.xh-intro-disclosure>summary,.xh-preview-disclosure>summary{padding:18px 16px}.xh-admin .xh-editor-block>summary>span{align-items:flex-start}.xh-admin .xh-editor-block>summary small{margin-left:36px;width:100%}.xh-admin .xh-block-editor-body,.xh-entry-body{padding:17px}.xh-admin .xh-save-bar{top:8px;bottom:auto}.xh-preview-disclosure .xh-preview-section{padding:16px}}
@media(prefers-reduced-motion:reduce){.xh-admin summary::after{transition:none}}
