.central-layout-band{direction:rtl;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:12px;padding:12px 20px;background:var(--portal-primary,#084d43);color:#fff;border-bottom:3px solid var(--portal-gold,#b39a62)}
.central-layout-band[data-part="footer"]{border-top:2px solid var(--portal-gold,#b39a62);border-bottom:0;margin-top:16px}
.central-layout-cell{min-width:0;display:flex;flex-direction:column;gap:6px;align-items:flex-start;text-align:right;overflow-wrap:anywhere;white-space:pre-wrap}
.central-layout-cell:nth-child(2){align-items:center;text-align:center}.central-layout-cell:nth-child(3){align-items:flex-end;text-align:left}
.central-layout-band a{color:inherit;text-decoration:underline}.central-layout-item{max-width:100%;overflow-wrap:anywhere}.central-layout-item:is(img){width:auto!important;height:auto!important;max-width:min(100%,200px)!important;max-height:70px!important;object-fit:contain}
.central-layout-icon{font-size:1.2em;margin-inline-end:6px}.institution-masthead.central-layout-configured>[data-official-logo],.institution-masthead.central-layout-configured>[data-official-name]{display:none!important}
.institution-masthead.central-layout-configured{justify-content:flex-end;padding-block:4px;border:0}.institution-masthead.central-layout-configured:not(:has(.portal-masthead-actions>*)){display:none!important}
.central-layout-editor{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.central-layout-editor fieldset{min-width:0}.central-layout-edit-item{display:grid;gap:7px;border:1px solid #c8d6d0;padding:8px;border-radius:6px;margin-block:6px}.central-layout-edit-item input,.central-layout-edit-item select{width:100%;min-width:0}.central-layout-edit-actions{display:flex;gap:5px;flex-wrap:wrap}.central-layout-edit-actions button{padding:5px 9px}
#centralPrintFooter{display:none!important}
@media(max-width:700px){.central-layout-editor{grid-template-columns:1fr}.central-layout-band{padding:8px;gap:6px;font-size:12px}.central-layout-item:is(img){max-height:46px!important}}
@media print{.central-layout-band{display:none!important}#centralPrintFooter{display:grid!important;position:static!important;break-inside:avoid;direction:rtl;margin-top:12px}.central-layout-item:is(img){max-height:60px!important}}

.central-layout-link{display:inline-flex;align-items:center;gap:.35em;max-width:100%;min-width:0;white-space:normal}.central-layout-link>span:last-child{min-width:0;overflow-wrap:anywhere}.central-layout-link .central-layout-icon{margin-inline-end:0;flex:none}.central-layout-link:focus-visible{outline:2px solid currentColor;outline-offset:3px}.central-layout-band{box-sizing:border-box;max-width:100%;height:auto}.central-layout-cell{overflow-wrap:anywhere;min-width:0}.central-layout-item{min-width:0}
/* Individual item sizes remain bounded by the actual column and viewport. */
.central-layout-image-icon{width:1.2em;height:1.2em;object-fit:contain;flex:none;max-width:100%}
.central-layout-item:is(img).identity-sized-image{width:auto!important;height:auto!important;max-width:100%!important;max-height:var(--identity-image-size)!important}
.central-layout-icon.identity-sized-image{font-size:var(--identity-image-size)!important;width:var(--identity-image-size);height:auto;max-width:100%;max-height:var(--identity-image-size);object-fit:contain}
.central-layout-item .central-layout-icon{flex-shrink:0}.central-layout-edit-item details{min-width:0}.portal-library-thumb{width:48px;height:48px;object-fit:contain;vertical-align:middle}.portal-library-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:8px;border-bottom:1px solid var(--portal-gold,#b39a62)}

.central-layout-link .central-layout-icon{max-width:35%;flex-shrink:1}.central-layout-band .central-layout-item{overflow-wrap:anywhere;max-width:100%}
