/* Shared public-header actions; no article-content or admin selectors. */
.site-shortcuts{display:flex;gap:6px;align-items:center;min-width:0;margin-inline-start:auto}
.site-shortcuts[hidden],.site-shortcuts button[hidden]{display:none!important}
.site-shortcuts button{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:28px;padding:4px 9px;border:1px solid #37596e;border-radius:6px;background:transparent;color:#e5f3fc;font:inherit;font-size:12px;white-space:nowrap;cursor:pointer}
.site-shortcuts button:hover{background:#183c51;border-color:#78c5dc}
.site-shortcuts button:disabled{opacity:.65;cursor:wait}
.site-shortcuts svg{width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.site-shortcuts button:focus-visible,.site-shortcut-dialog :focus-visible{outline:2px solid #8cdcf2;outline-offset:3px}
.site-shortcut-dialog{box-sizing:border-box;width:min(560px,calc(100% - 24px));max-width:calc(100% - 24px);max-height:calc(100dvh - 32px);margin:auto;padding:24px;border:1px solid #52778c;border-radius:16px;background:#0b2234;color:#e5f3fc;box-shadow:0 24px 80px #0008;overflow:auto;line-height:1.65;font-family:inherit}
.site-shortcut-dialog:not([open]){display:none}
.site-shortcut-dialog::backdrop{background:#020d19b8}
.site-shortcut-heading{display:flex;align-items:start;justify-content:space-between;gap:12px;margin-bottom:18px}
.site-shortcut-heading h2{font-size:22px;line-height:1.35;margin:4px 0;overflow-wrap:anywhere}
.site-shortcut-dialog button,.site-shortcut-dialog select,.site-shortcut-dialog input{box-sizing:border-box;min-height:44px;border:1px solid #45697e;border-radius:8px;background:#132f44;color:#e5f3fc;font:inherit;padding:8px 12px;max-width:100%}
.site-shortcut-dialog button{cursor:pointer;background:#1b4259}
.site-shortcut-dialog button:hover{background:#285a73}
.site-shortcut-heading button{width:44px;flex:none;font-size:24px;line-height:1}
.site-shortcut-dialog label{display:block;margin-bottom:6px;color:#b5d7e8;font-size:14px}
.site-shortcut-dialog select{width:100%}
.site-shortcut-dialog ol{padding-inline-start:25px;margin:22px 0}
.site-shortcut-dialog li{padding-inline-start:4px;margin-block:10px;overflow-wrap:anywhere}
.site-shortcut-note{font-size:13px;color:#a6c4d7;margin:18px 0}
.site-shortcut-link{display:flex;gap:8px;align-items:start}
.site-shortcut-link input{width:0;flex:1;min-width:0;font-size:13px}
.site-shortcut-link button{flex:none;font-size:13px}
.site-shortcut-status{font-size:13px;color:#9ce8ca;margin:10px 0 0;min-height:22px;overflow-wrap:anywhere}
@media(min-width:901px){.legacy-header{grid-template-columns:160px minmax(0,1fr) auto;gap:12px}.legacy-header>nav{min-width:0}.legacy-header>nav a{padding-inline:9px}}
@media(max-width:600px){
 .site-shortcuts button{width:40px;min-height:40px;padding:8px}.site-shortcuts svg{width:20px;height:20px}.site-shortcuts button>span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .legacy-header{grid-template-columns:minmax(0,1fr) auto;padding-inline:12px;gap:8px}
 .legacy-header .legacy-brand{min-width:0}.legacy-header .legacy-brand img{max-width:96px;width:100%;height:auto}
 .legacy-header .legacy-actions,.site-shortcuts{gap:4px}
 .legacy-header .legacy-actions>details>summary{box-sizing:border-box;width:44px;height:44px;padding:10px;display:flex;align-items:center;justify-content:center;list-style:none}
 .legacy-header .legacy-actions>details>summary::-webkit-details-marker{display:none}
 .legacy-header .legacy-actions>details>summary::before{flex:none}
 .legacy-header .language-menu>summary::after{display:none}
 .legacy-header .legacy-actions>details>summary>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .legacy-header .header-search>summary::before{content:"";width:20px;height:20px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='10' cy='10' r='7' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='m15 15 6 6' stroke='black' stroke-width='2'/%3E%3C/svg%3E") center/contain no-repeat}
 .legacy-header .language-menu>summary::before{content:"";width:20px;height:20px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='black' stroke-width='1.7'/%3E%3Cellipse cx='12' cy='12' rx='4' ry='9' fill='none' stroke='black' stroke-width='1.7'/%3E%3Cpath d='M3 12h18' stroke='black' stroke-width='1.7'/%3E%3C/svg%3E") center/contain no-repeat}
 .site-shortcut-dialog{padding:18px}.site-shortcut-link{flex-direction:column}.site-shortcut-link input{width:100%;flex:auto}.site-shortcut-link button{width:100%}
}
