/* V6.1: enlarge the existing boot mark and improve its contrast. */
.brand,.storefront-page .brand,.sidebar .brand,.login-brand{
  display:inline-flex;align-items:center;gap:9px;line-height:1.1;vertical-align:middle;
}
.brand .brand-symbol,.storefront-page .brand-symbol{
  display:inline-flex;align-items:center;justify-content:center;flex:0 0 80px;
  width:80px;height:54px;margin:0 3px 0 0;padding:0;
  background:linear-gradient(145deg,#236d49,#0d3826);border:1px solid #588b70;
  border-radius:14px;box-shadow:0 4px 12px #173d2524;overflow:hidden;
}
.brand .brand-symbol img,.storefront-page .brand-symbol img{
  display:block;width:76px;height:52px;max-width:none;object-fit:contain;
  filter:brightness(0) invert(1);transform:scale(1.1);opacity:1;
}
.storefront-page .nav{min-height:88px;gap:18px;}
.storefront-page .nav-links{margin-left:auto;gap:22px;}
.storefront-page .nav-links .admin-access{border:1px solid #7ca98d;border-radius:8px;padding:8px 12px;}
.storefront-page .nav-links .admin-access::before{display:none;}
.footer-admin{display:block;width:fit-content;margin:0 auto 18px;font-size:.875rem;text-decoration:underline;text-underline-offset:4px;}
.sidebar .brand{font-size:1.13rem;margin-left:0;margin-right:0;gap:4px;white-space:nowrap;}
.sidebar .brand .brand-symbol{flex-basis:60px;width:60px;height:46px;margin-right:2px;}
.sidebar .brand .brand-symbol img{width:58px;height:44px;}
.login-brand{justify-content:center;gap:9px;}
.catalog-mode-banner{padding:18px 22px;border:1px solid #d0a847;border-left:4px solid #be922c;border-radius:14px;background:#fff9e9;color:#4b3a0a;margin:0 0 22px;}
.catalog-mode-banner strong{font-size:1rem;}
.catalog-mode-banner p{font-size:.91rem;line-height:1.6;margin:8px 0 14px;max-width:85ch;}
.catalog-mode-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;}
.setup-guide{font-size:.88rem;text-decoration:underline;text-underline-offset:3px;}
.local-catalog-notice{margin:0;padding:12px 24px;background:#fff4cf;border-bottom:1px solid #d9c28c;color:#5b450c;font-size:.87rem;line-height:1.5;text-align:center;}
html[data-theme=dark] .brand .brand-symbol{background:linear-gradient(145deg,#153f2b,#0a281c);border-color:#87caa0;box-shadow:0 0 0 1px #9bdcaf18;}
html[data-theme=dark] .catalog-mode-banner,html[data-theme=dark] .local-catalog-notice{background:#302b1a;color:#ffe7a5;border-color:#8c743d;}
@media(max-width:980px){
 .storefront-page .nav{gap:12px 18px;padding:12px 0;}
 .storefront-page .nav-links{order:3;width:100%;padding:4px 0;gap:16px;}
 .storefront-page .theme-toggle{margin-left:auto;}
 .sidebar .brand{margin:4px 16px 4px 0;}
}
@media(max-width:640px){
 .brand .brand-symbol,.storefront-page .brand-symbol{flex-basis:68px;width:68px;height:48px;border-radius:12px;}
 .brand .brand-symbol img,.storefront-page .brand-symbol img{width:66px;height:46px;}
 .storefront-page .nav>.brand{font-size:1.2rem;gap:6px;}
 .storefront-page .nav-links{justify-content:space-between;gap:8px;flex-wrap:wrap;}
 .storefront-page .nav-links a{font-size:.83rem;}
 .storefront-page .nav-links .admin-access{padding:6px 8px;}
 .catalog-mode-banner{padding:16px;}
 .catalog-mode-actions .btn{white-space:normal;}
}
@media(max-width:360px){.storefront-page .nav-links{justify-content:flex-start;gap:12px;}}
.sidebar .brand{color:#f0fff6;}
.sidebar .brand>span:not(.brand-symbol){color:#b4f4c4;}
.admin-page .visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
.auth-shell{grid-template-columns:minmax(0,1fr);}
.login-card,.login-form,.login-card .field{min-width:0;max-width:100%;}
.login-form input{min-width:0;width:100%;}
@media(max-width:640px){
 .login-brand{font-size:1.25rem;gap:7px;}
 .admin-page .form-grid{grid-template-columns:minmax(0,1fr);}
 .admin-page .form-grid .field{min-width:0;}
 .admin-page .form-grid input:not([type=checkbox]),.admin-page .form-grid select,.admin-page .form-grid textarea{max-width:100%;min-width:0;}
}
