/* Shared MART surfaces; the contact stays in the page layout, never over the text. */
html[data-skin] body.hbs-portal26 .hbs-home26{display:flex!important;flex-direction:column!important;gap:32px}
html[data-skin] body.hbs-portal26 .hbs-home26 .home-choice-panel{margin-block:auto!important;padding:16px!important}
html[data-skin] body.hbs-portal26 .hbs-home26 .home-choice-group{gap:16px!important}
html[data-skin] body.hbs-portal26 .hbs-home26 .home-choice-group .hbs-card{display:flex!important;flex-direction:row!important;justify-content:flex-start!important;align-items:center!important;text-align:left!important;gap:22px!important}
html[data-skin] body.hbs-portal26 .home-choice-group .hbs-card>span:last-child{display:block!important;min-width:0;text-align:left!important}
html[data-skin] body.hbs-portal26 .home-choice-group .hbs-card strong{display:block!important;font-size:25px!important;line-height:1.25!important}
html[data-skin] body.hbs-portal26 .home-choice-group .hbs-card small{display:block!important;white-space:normal!important;margin-top:8px;font-size:15px;line-height:1.5;color:var(--muted)}
html[data-skin] body.hbs-portal26 .home-choice-group .hbs-card-icon{flex:0 0 42px!important;width:42px!important;height:42px!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important}
html[data-skin] body.hbs-portal26 .home-choice-group .hbs-card-icon svg{width:42px!important;height:42px!important}
html[data-skin] body.hbs-portal26 .guide-home-footer{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:24px!important;margin-top:0!important;position:static!important;padding:0!important}
html[data-skin] body.hbs-portal26 .roman-card{display:block!important;position:static!important;flex:0 1 auto;padding:16px 21px!important;text-align:left!important;width:auto!important;min-height:72px;max-width:100%;margin:0!important;color:var(--ink)!important;background:var(--surface)!important;border:1px solid var(--line)!important;border-radius:var(--hbs-panel-radius)!important;box-shadow:var(--hbs-popup-shadow,0 8px 26px rgb(20 35 42 / .12))!important;cursor:pointer}
.roman-info strong{display:block;font:500 17px/1.4 var(--hbs-ui);letter-spacing:0}.roman-info small{display:block;font:400 13px/1.5 var(--hbs-ui);color:var(--muted);margin-top:3px}
html[data-skin] body.hbs-portal26 .roman-card:hover{background:var(--navActive)!important;border-color:var(--accent)!important}
#upDialog.roman-dialog{width:min(440px,calc(100vw - 24px));max-height:calc(100dvh - 24px)}.roman-role{margin:0 0 18px;color:var(--muted)}
html[data-skin] body.hbs-portal26 .appbar .bar.has-amboss :is(.hbs-header-shortcut28,.amboss-shortcut,.hbs-actions>button,.hbs-download-wrap>button){height:44px!important;min-height:44px!important;box-sizing:border-box!important;border:1px solid var(--line)!important;border-radius:var(--hbs-control-radius)!important;background:var(--tile,var(--surface))!important;color:var(--ink)!important;box-shadow:0 1px 2px rgb(0 0 0 / .05)!important;text-decoration:none!important}
html[data-skin] body.hbs-portal26 .appbar .bar.has-amboss :is(.hbs-header-shortcut28,.amboss-shortcut,.hbs-actions>button,.hbs-download-wrap>button):is(:hover,:focus-visible,:active,[aria-expanded=true]){background:var(--navActive)!important;color:var(--ink)!important;border-color:var(--accent)!important}
html[data-skin] .appbar .hbs-header-shortcut28 svg{color:inherit!important}.hbs-actions{gap:5px}
html[data-skin=desktop] body.hbs-portal26 .appbar .bar.has-amboss :is(.hbs-header-shortcut28,.amboss-shortcut,.hbs-actions>button,.hbs-download-wrap>button){border-color:var(--fieldEdge)!important;color:var(--tileInk)!important;box-shadow:var(--hbs-classic-raised)!important}
html[data-skin=desktop] body.hbs-portal26 .appbar .bar.has-amboss :is(.hbs-header-shortcut28,.amboss-shortcut,.hbs-actions>button,.hbs-download-wrap>button):active{box-shadow:var(--hbs-classic-sunken)!important}
html[data-skin] :is(a,button,input,textarea,select,summary,[tabindex]):focus-visible{outline:3px solid var(--accent)!important;outline-offset:3px!important}#main:focus-visible{outline:0!important}
.pathway-steps{display:grid;gap:14px}.pathway-step{padding-block:8px;border-bottom:1px solid var(--line)}.pathway-step:last-child{border-bottom:0}.pathway-step h2{margin-top:0}.pathway-step .actions{margin-top:12px}
.befund-practice textarea{width:100%;min-height:230px;font:16px/1.65 var(--hbs-ui)}.befund-practice .selfcheck{margin-top:20px}.befund-practice .doc-preview{font-size:16px}.case-rubric{display:grid;gap:12px;list-style:none;padding:0}.case-rubric label{display:flex;align-items:flex-start;gap:10px}.case-rubric input{flex-shrink:0;margin-top:5px}
@media(min-width:781px){html[data-skin] body.hbs-portal26.hbs-contents-open #hbsWorkspace{padding-left:calc(clamp(216px,19vw,264px) + 12px)!important;margin:0!important;width:100%!important}html[data-skin] body.hbs-portal26 #contents{left:12px!important}}
@media(max-width:780px){
 html[data-skin] body.hbs-portal26 .hbs-home26{gap:28px!important;min-height:calc(100dvh - var(--bar-height) - 110px)!important}
 html[data-skin] body.hbs-portal26 .hbs-home26 .home-choice-panel{width:100%!important;max-width:540px!important;padding:12px!important;margin:clamp(20px,7dvh,60px) auto auto!important}
 html[data-skin] body.hbs-portal26 .hbs-home26 .home-choice-group{grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
 html[data-skin] body.hbs-portal26 .hbs-home26 .home-choice-group .hbs-card{min-height:112px!important;padding:20px 18px!important;gap:18px!important}
 html[data-skin] body.hbs-portal26 .home-choice-group .hbs-card strong{font-size:23px!important}
 html[data-skin] body.hbs-portal26 .home-choice-group .hbs-card small{font-size:14px!important;margin-top:6px!important}
 html[data-skin] body.hbs-portal26 .home-choice-group .hbs-card-icon{flex-basis:34px!important;width:34px!important;height:34px!important}
 html[data-skin] body.hbs-portal26 .home-choice-group .hbs-card-icon svg{width:34px!important;height:34px!important}
 html[data-skin] body.hbs-portal26 .guide-home-footer{flex-direction:column!important;align-items:stretch!important;gap:20px!important;max-width:540px!important}
 html[data-skin] body.hbs-portal26 .roman-card{align-self:flex-start!important;padding:14px 18px!important}
 .guide-home-footer .hbs-signature{margin:0!important;align-self:flex-end!important;max-width:100%;overflow-wrap:anywhere}
 .guide-tabs{flex-direction:column;align-items:stretch}.guide-tabs a{justify-content:flex-start!important;text-align:left!important}
}
@media(max-width:360px){html[data-skin] body.hbs-portal26 .hbs-home26 .home-choice-group .hbs-card{padding:18px 14px!important;gap:14px!important}}
@media print{.roman-card,.guide-tabs,.practice-tabs,.pathway-steps .actions{display:none!important}.pathway-step{break-inside:avoid}}
@media(max-width:780px){html[data-skin] body.hbs-portal26 .hbs-home26 .home-choice-group{grid-auto-rows:1fr!important}}
html[data-skin] body.hbs-portal26 .appbar .bar.has-amboss :is(.hbs-header-shortcut28,.amboss-shortcut,.hbs-actions>button,.hbs-download-wrap>button) svg{color:inherit!important}

html[data-skin] body.hbs-portal26 .appbar .bar.has-amboss :is(#ambossShortcut,#radiopaediaShortcut,.hbs-header-shortcut28,.hbs-actions>button,.hbs-download-wrap>button){color:var(--accent)!important}
html[data-skin] body.hbs-portal26 .appbar .bar.has-amboss :is(#ambossShortcut,#radiopaediaShortcut,.hbs-header-shortcut28,.hbs-actions>button,.hbs-download-wrap>button):is(:hover,:focus-visible,:active,[aria-expanded=true]){color:var(--accent)!important}
.ir-filters{display:grid;grid-template-columns:1fr 1fr auto;align-items:end;gap:14px;margin:24px 0}.ir-filters .field{margin:0}.ir-filters p{color:var(--muted);font-size:14px}.ir-list{background:var(--surface);border:1px solid var(--line);border-radius:var(--hbs-panel-radius);padding:4px 20px;box-shadow:0 6px 20px rgb(20 35 42 / .06)}.ir-entry{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;padding:18px 0;border-bottom:1px solid var(--line)}.ir-entry:last-child{border-bottom:0}.ir-title{font-size:17px;font-weight:500;line-height:1.45;color:var(--ink)}.ir-entry p{margin:5px 0 0;color:var(--muted);font-size:14px;line-height:1.5}.ir-entry-actions{display:flex;flex-wrap:wrap;gap:8px}.ir-entry-actions a{padding:10px 12px;border:1px solid var(--line);border-radius:var(--hbs-control-radius);background:var(--tile);color:var(--accent);font-size:14px;min-height:44px;display:inline-flex;align-items:center}.ir-entry-actions a:hover{background:var(--navActive);border-color:var(--accent)}.ir-entry[hidden],.ir-section[hidden]{display:none!important}
@media(max-width:1000px){.ir-entry{grid-template-columns:minmax(0,1fr);gap:10px}.ir-entry-actions a{flex:0 1 auto}}
@media(max-width:600px){.ir-filters{grid-template-columns:minmax(0,1fr)}.ir-filters p{margin:0}.ir-list{padding:0 14px}.ir-entry-actions{gap:7px}.ir-entry-actions a{padding:8px 10px}}

/* Fillable fields use each theme's accent without changing copied text. */
.doc-preview .placeholder,.copy-block .placeholder,.placeholder{color:var(--accent)!important;background:color-mix(in srgb,var(--accent) 12%,transparent)!important;border-bottom:1px dashed currentColor;border-radius:4px;padding:1px 3px;box-decoration-break:clone;-webkit-box-decoration-break:clone;font-weight:600}
.offline-notice{max-width:1180px;margin:16px auto 0;padding:12px 18px;border:1px solid var(--line);border-radius:16px;background:var(--surface);color:var(--ink);font-size:.875rem;line-height:1.55}
.offline-notice strong{color:var(--accent)}
.offline-website{display:inline-flex;align-items:center;justify-content:center;gap:7px;color:var(--accent);text-decoration:none;padding:8px 10px;border:1px solid var(--line);border-radius:12px;min-height:40px}
.offline-website svg{width:20px;height:20px}
@media(max-width:700px){.offline-notice{margin:12px 14px 0;padding:12px 14px}.offline-website{font-size:.875rem}}
@media print{.offline-notice,.offline-website{display:none!important}.placeholder{color:#222!important;background:none!important;border-bottom:1px dashed #666}}

.hbs-signature{display:flex;flex-direction:column;align-items:flex-end;gap:12px}
html[data-skin] body.hbs-portal26 .hbs-signature .support-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;font:500 15px/1.4 var(--hbs-ui);color:var(--accent)!important;background:var(--surface)!important;border:1px solid var(--line)!important;border-radius:var(--hbs-control-radius)!important;box-shadow:0 4px 14px rgb(20 35 42 / .06);text-decoration:none}
html[data-skin] body.hbs-portal26 .hbs-signature .support-button:hover{background:var(--navActive)!important;border-color:var(--accent)!important}
html[data-skin=desktop] .offline-notice,html[data-skin=desktop] .offline-website,html[data-skin=desktop] .placeholder{border-radius:0}
@media print{.support-button{display:none!important}}
