/* Same Nautilus palette; applies only to the new language and profile components. */
.nd-language{position:relative;margin-left:20px;z-index:40;flex-shrink:0;font-size:13px;color:#e5edfa}
.nd-language summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:9px;min-height:40px;padding:0 14px;border:1px solid #b276354d;border-radius:12px;background:#ff9f1909;transition:border-color .2s,background .2s}
.nd-language summary::-webkit-details-marker{display:none}
.nd-language summary:hover,.nd-language[open] summary{border-color:#f5a33899;background:#ff9f1912}
.nd-language summary>span:first-child{color:#ffad42;font-size:20px}.nd-language summary>span:last-child{color:#9baec6}
.nd-language-options{position:absolute;right:0;top:calc(100% + 10px);width:185px;display:grid;padding:7px;border:1px solid #334665;background:#101d31;border-radius:14px;box-shadow:0 16px 50px #0005}
.nd-language-options button{min-height:44px;display:flex;align-items:center;justify-content:space-between;padding:10px 13px;border:0;border-radius:8px;text-align:left;font:inherit;background:transparent;color:#dce8fa;cursor:pointer}
.nd-language-options button:hover{background:#ff9f1914}.nd-language-options button[aria-pressed=true]{background:#ff9f1917;color:#ffad42}.nd-language-options button[aria-pressed=true]::after{content:'✓'}
.nd-language :focus-visible{outline:2px solid #ffad42;outline-offset:3px}
.nd-login-logo>.nd-language,.nd-public>.nd-language{position:absolute;top:26px;right:32px;margin:0}
.nd-topbar>.nd-topnote{margin-left:auto}.nd-topbar{gap:12px}
.home-profile{padding:24px;scroll-margin-top:30px}.home-profile h2{font-size:17px;font-weight:500;margin:14px 0 18px}.home-profile>strong{display:block;font-size:18px;color:#e2edfc}.home-profile-username{color:#91a4c0;font-size:12px;margin:5px 0 20px}.home-profile-role{display:flex;justify-content:space-between;gap:12px;font-size:12px;border-top:1px solid #26374f;padding-top:17px}.home-profile-role>span{color:#90a3bd}.home-profile-role>strong{color:#ffb248;font-weight:500}.home-profile-note{font-size:12px;line-height:1.7;color:#91a4c0;margin:16px 0}.home-profile button{margin-top:4px}.home-profile-error{color:#ffc3b7}
.preview-strip{display:flex;gap:14px;align-items:center;flex-wrap:wrap;position:fixed;bottom:10px;left:50%;transform:translateX(-50%);z-index:95;width:max-content;max-width:94vw;padding:8px 15px;border:1px solid #485369;background:#101a2aed;border-radius:12px;font-size:11px;color:#a3b3cc;box-shadow:0 5px 25px #0003}.preview-strip a{color:#ffb145;text-decoration:none}.preview-strip button{background:transparent;border:0;color:#b0bdd1;cursor:pointer}
@media(min-width:1000px){.nd-home .home-person h1{font-size:clamp(27px,3.3vw,48px)}}
@media(max-width:760px){.nd-topbar .nd-topnote{display:none}.nd-topbar .nd-language{margin-left:auto}.nd-login-logo>.nd-language,.nd-public>.nd-language{top:16px;right:16px}.home-profile{padding:20px}.preview-strip{bottom:78px;gap:9px;font-size:10px}.nd-public header{padding-top:85px}}

.nd-language summary{min-width:90px;box-sizing:border-box}.nd-language [data-language-current]{color:#edf1fa!important;font-size:12px}

.nd-language-link{display:flex;align-items:center;gap:8px;flex-shrink:0;margin-left:16px;padding:10px 14px;border:1px solid #b276354d;border-radius:12px;color:#ffad42;text-decoration:none;font-size:13px}.nd-language-link:hover{border-color:#f5a33899;background:#ff9f1912}.nd-language-link:focus-visible{outline:2px solid #ffad42;outline-offset:3px}.nd-language-link span{color:#edf1fa}

/* Language control: override generic details padding, including desktop pages. */
.nd-language > summary,
.nd-ui details.nd-language > summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 104px;
  min-height: 42px;
  padding: 9px 16px;
  box-sizing: border-box;
  line-height: 1.25;
}
.nd-language > summary > span:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  line-height: 1;
}
.nd-language-link { padding-inline: 16px; gap: 10px; }
