/* Hide only replaced launchers; their original handlers and panels stay intact. */
body.xmla-finish-ready .xf-original-trigger{visibility:hidden!important;clip-path:inset(100%)!important;pointer-events:none!important}
#xmla-finish-tools{position:fixed;right:76px;bottom:calc(20px + env(safe-area-inset-bottom,0px));display:flex;align-items:center;gap:12px;z-index:100010}
#xmla-finish-tools button{font-family:inherit;text-transform:none;letter-spacing:0;margin:0;min-height:44px;line-height:1.3;box-sizing:border-box;cursor:pointer}
#xmla-finish-tools>.xf-chat,#xmla-finish-tools>.xf-toggle{border:1px solid #75bdd9;background:#12354d;color:#f5fbff;box-shadow:0 5px 18px #0004;height:44px;border-radius:24px;padding:0 16px;font-size:14px;font-weight:700}
#xmla-finish-tools>.xf-chat{width:112px}
#xmla-finish-tools>.xf-toggle{width:44px;padding:0;font-size:20px;letter-spacing:2px}
#xmla-finish-tools button:hover{background:#235c78;color:#fff}
#xmla-finish-tools :focus-visible{outline:3px solid #93e4ee;outline-offset:3px}
#xmla-finish-tools [hidden]{display:none!important}
#xf-panel{position:absolute;right:0;bottom:58px;width:300px;max-width:calc(100vw - 36px);max-height:calc(100dvh - 120px);overflow:auto;background:#102b3e;color:#eff8fc;border:1px solid #648ca1;border-radius:16px;padding:20px;box-shadow:0 18px 60px #0008;text-align:left}
#xf-panel .xf-panel-head{display:flex;gap:16px;align-items:center;justify-content:space-between;margin-bottom:12px;font-size:17px}
#xf-panel .xf-close{width:44px;min-width:44px;background:transparent;border:1px solid #648ca1;color:#fff;border-radius:50%;font-size:24px;padding:0}
#xf-panel .xf-actions{display:grid;gap:7px}
#xf-panel .xf-actions button{width:100%;text-align:left!important;padding:12px 14px;background:#193d52;color:#eff8fc;border:1px solid #436879;border-radius:8px;font-size:15px;font-weight:500}
#xf-panel .xf-support{display:block;margin-top:18px;color:#9ee5e9;font-size:14px;text-decoration:underline;text-underline-offset:4px}
/* A quiet rhythm for dense specialist pages; keep each page's hero and artwork. */
body.xmla-wave-active.xmla-finish-ready #wrapper #main :is(.xhipaa-wrap,.xpci-wrap,.xada-wrap){max-width:1240px;width:calc(100% - 64px);margin-inline:auto}
body.xmla-wave-active.xmla-finish-ready #wrapper #main :is(.xhipaa-section,.xpci-section,.xada-section){padding-block:clamp(40px,5vw,76px)}
body.xmla-wave-active.xmla-finish-ready #wrapper #main :is(.xhipaa-section-head,.xpci-section-head,.xada-section-head){max-width:860px;margin-bottom:32px}
body.xmla-wave-active.xmla-finish-ready #wrapper #main :is(.xhipaa-section-head,.xpci-section-head,.xada-section-head) p{max-width:70ch;line-height:1.8}
body.xmla-wave-active.xmla-finish-ready #wrapper #main :is(.xhipaa-card,.xpci-card,.xada-card,.xhipaa-note,.xpci-note,.xada-note){border-radius:12px!important;box-shadow:none!important;padding:26px!important;background:#132f42!important;border:1px solid #395d70!important}
body.xmla-wave-active.xmla-finish-ready #wrapper #main :is(.xhipaa-step,.xpci-step,.xada-step){box-shadow:none!important;background:transparent!important;border:0!important;border-top:2px solid #599dad!important;border-radius:0!important;padding:24px 4px!important}
body.xmla-wave-active.xmla-finish-ready #wrapper #main :is(.xhipaa-card,.xpci-card,.xada-card,.xhipaa-note,.xpci-note,.xada-note,.xhipaa-step,.xpci-step,.xada-step) p{color:#c7dce6!important;line-height:1.75!important}
body.xmla-wave-active.xmla-finish-ready #wrapper #main :is(.xhipaa-control-grid,.xpci-control-grid,.xada-card-grid,.xhipaa-note-grid,.xpci-note-grid,.xada-note-grid,.xhipaa-flow,.xpci-flow,.xada-flow){gap:24px!important}
body.xmla-wave-active.xmla-finish-ready #wrapper #main :is(.xhipaa-actions,.xpci-actions,.xada-actions){display:flex;flex-wrap:wrap;gap:12px}
body.xmla-wave-active.xmla-finish-ready #wrapper #main :is(.xhipaa-actions,.xpci-actions,.xada-actions) a{margin:0!important;min-height:44px;white-space:normal}
body.xmla-wave-active.xmla-finish-ready #wrapper #main :is(.xhipaa-route,.xpci-route,.xada-route){box-shadow:none!important;border-radius:10px!important}
.xf-published-work{max-width:1240px;margin:60px auto!important;padding:40px 0!important;width:calc(100% - 64px);border-top:1px solid #527183;display:grid;grid-template-columns:1fr 1.3fr;gap:56px;color:#c7dce6}
.xf-published-work .xf-eyebrow{text-transform:uppercase;letter-spacing:.16em;font-size:12px;color:#90d8de}
.xf-published-work h2{color:#eff8fc!important;font-size:clamp(30px,3vw,42px)!important;line-height:1.2!important}
.xf-published-work p{max-width:48ch;line-height:1.8}
.xf-published-work a{color:#9ee5e9}
.xf-work-links{display:grid;gap:0}
.xf-work-links a{display:grid;grid-template-columns:1fr auto;gap:4px 18px;padding:20px 0;border-bottom:1px solid #3f6173;text-decoration:none}
.xf-work-links a>span:first-child{grid-column:1/-1;color:#b0c8d4;font-size:12px;text-transform:uppercase;letter-spacing:.08em}
.xf-work-links strong{color:#f5fbff;font-size:21px}
.xf-work-links a>span:last-child{font-size:13px;align-self:center}
@media(max-width:849px){#xmla-finish-tools{right:66px;bottom:calc(14px + env(safe-area-inset-bottom,0px))}}
@media(max-width:700px){
 #xf-panel{right:-56px;width:290px}
 body.xmla-wave-active.xmla-finish-ready #wrapper #main :is(.xhipaa-wrap,.xpci-wrap,.xada-wrap){width:calc(100% - 40px)}
 body.xmla-wave-active.xmla-finish-ready #wrapper #main :is(.xhipaa-card,.xpci-card,.xada-card,.xhipaa-note,.xpci-note,.xada-note){padding:22px!important}
 body.xmla-wave-active.xmla-finish-ready #wrapper #main :is(.xhipaa-control-grid,.xpci-control-grid,.xada-card-grid,.xhipaa-note-grid,.xpci-note-grid,.xada-note-grid,.xhipaa-flow,.xpci-flow,.xada-flow){grid-template-columns:1fr!important;gap:18px!important}
 .xf-published-work{width:calc(100% - 40px);grid-template-columns:1fr;gap:20px;margin-block:32px!important;padding-block:28px!important}
 .xf-work-links strong{font-size:19px}
}
@media print{#xmla-finish-tools{display:none!important}.xf-published-work{break-inside:avoid}}
