/* Brand artwork (双叶听花 + 竹叶风雅 C-1). Keep colour on the identity,
   not on navigation controls. Shared by the learning and account shells. */
.koetabi-brand { display: inline-flex; align-items: center; flex-shrink: 0; gap: 10px; }
.koetabi-brand .koetabi-symbol { display: block; width: 36px; height: 36px; flex: 0 0 36px; object-fit: contain; }
.koetabi-wordmark { display: inline-flex; align-items: center; flex-shrink: 0; line-height: 0; }
.koetabi-wordmark img { display: none; height: 36px; width: auto; max-width: none; object-fit: contain; }
html:not([data-color-mode='light']):not([lang='en']) .koetabi-wordmark .brand-wm-bi-dark,
html[data-color-mode='light']:not([lang='en']) .koetabi-wordmark .brand-wm-bi-light,
html:not([data-color-mode='light'])[lang='en'] .koetabi-wordmark .brand-wm-en-dark,
html[data-color-mode='light'][lang='en'] .koetabi-wordmark .brand-wm-en-light { display: block; }
html[lang='en'] .koetabi-wordmark img { height: 24px; }
@media (min-width: 901px) and (max-width: 1279px) {
  html[data-design='focus'] .product-identity .koetabi-wordmark { display: none; }
}
@media (max-width: 900px) {
  html[data-design='focus'] .product-identity .koetabi-wordmark img { height: 30px; }
  html[data-design='focus'][lang='en'] .product-identity .koetabi-wordmark img { height: 20px; }
}
@media (max-width: 480px) {
  html[data-design='focus'] .product-identity .koetabi-wordmark img { height: 28px; }
  html[data-design='focus'][lang='en'] .product-identity .koetabi-wordmark img { height: 18px; }
}
@media (max-width: 360px) {
  /* Six admin actions + 36px mark + 8px gap fit a 288px inner header. */
  .portal-rail-layout .topbar { gap: 8px; }
  .portal-rail-layout .topbar nav { gap: 0; }
}
