.business-brand{display:inline-flex;align-items:center;gap:14px;min-width:0;max-width:340px;text-decoration:none;color:var(--brand-color,#15211c);flex:0 1 auto}.business-brand:hover{text-decoration:none}.business-brand>img{display:block;flex-shrink:0;width:72px;height:72px;object-fit:cover;object-position:center;background:white;border-radius:50%;border:1px solid #edf0ec}.business-brand-copy{display:flex;flex-direction:column;min-width:0;gap:7px}.business-brand-copy>strong{font-size:19px;font-weight:700;letter-spacing:1.3px;line-height:1.25;overflow-wrap:anywhere}.business-brand-copy>small{font-size:7px;letter-spacing:2px;line-height:1.6;color:var(--brand-color,#85908a)}.topbar:has(.business-brand){padding-left:24px;padding-top:12px;padding-bottom:12px;min-height:96px}.client-header:has(.business-brand){padding-top:12px;padding-bottom:12px;min-height:96px}.client-header-actions{min-width:0;flex-shrink:0}.client-header-actions>span{max-width:90px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.worker-topbar .business-brand{max-width:340px}.business-brand-large{display:flex;flex-direction:column;gap:16px;max-width:100%;text-align:center}.business-brand-large>img{width:172px;height:172px;border-radius:32px}.business-brand-large .business-brand-copy{align-items:center;gap:9px}.business-brand-large .business-brand-copy>strong{font-size:23px;letter-spacing:2.3px}.business-brand-large .business-brand-copy>small{font-size:8px;letter-spacing:2.5px}.login-identity:has(.business-brand-large){margin-bottom:36px}.business-preview-logo:has(img){background:#fff}.business-preview-logo img{width:100%;height:100%;object-fit:contain}
@media(max-width:639px){.business-brand{gap:10px;max-width:210px}.business-brand>img{width:56px;height:56px}.business-brand-copy{gap:5px}.business-brand-copy>strong{font-size:15px;letter-spacing:.8px}.business-brand-copy>small{font-size:6px;letter-spacing:1.2px;max-width:112px}.topbar:has(.business-brand){gap:12px;min-height:82px;padding-top:calc(12px + env(safe-area-inset-top,0px));padding-bottom:12px}.topbar:has(.business-brand) nav{gap:10px;font-size:10px}.topbar:has(.business-brand) nav .link{font-size:10px}.client-header:has(.business-brand){padding:10px 16px;padding-top:calc(10px + env(safe-area-inset-top,0px));gap:10px;min-height:78px}.client-header .business-brand{max-width:190px}.client-header-actions{gap:8px;font-size:10px}.client-header-actions>span{max-width:62px}.client-header-actions .client-bell{min-width:32px;padding:4px}.client-header .client-logout{font-size:9px}.worker-topbar .business-brand{max-width:230px}.business-brand-large{gap:14px;max-width:100%}.business-brand-large>img{width:156px;height:156px}.business-brand-large .business-brand-copy>strong{font-size:21px}.business-brand-large .business-brand-copy>small{max-width:none;font-size:7px}.login-identity:has(.business-brand-large){margin-bottom:32px}}

.login-page.staff-login{box-sizing:border-box;justify-content:flex-start;min-height:100dvh;padding:clamp(62px,10vh,100px) 24px 36px;background:#fff;color:#121212}
.staff-login .login-form{width:100%;max-width:360px;box-sizing:border-box;padding:0;text-align:center}
.staff-login .login-identity{display:flex;justify-content:center;align-items:center;gap:12px;margin:0 auto clamp(20px,3.5vh,32px);max-width:100%}
.staff-mark{flex:0 0 auto;display:grid;place-items:center;width:clamp(144px,39vw,176px);aspect-ratio:1;color:#171717;font-weight:700;font-size:26px}
.staff-mark img{display:block;width:100%;height:100%;min-width:0;min-height:0;border-radius:50%;object-fit:cover;object-position:center}
.staff-login .login-identity strong{font-size:clamp(19px,5vw,25px);line-height:1.15;letter-spacing:.045em;text-align:left;overflow-wrap:anywhere}
.staff-login .login-form h1{font-size:17px;line-height:1.4;text-transform:uppercase;letter-spacing:.1em;margin:0 0 8px}
.staff-login .login-description{margin:0 0 22px;color:#626262;font-size:14px;line-height:1.5}
.staff-login .login-form label{text-align:left;font-size:12px;margin:0 0 5px;color:#4a4a4a}
.staff-login .login-form input{width:100%;box-sizing:border-box;text-align:center;height:46px;border:0;border-bottom:1px solid #ccc;border-radius:0;background:#fff;color:#141414}
.staff-login .login-form input#username{margin-bottom:16px}
.staff-login .login-form #password{padding-inline:46px}
.staff-login .login-submit{width:100%;min-height:46px;margin-top:22px;background:#101010;color:white;border:0;border-radius:3px;text-transform:uppercase;letter-spacing:.1em;font-weight:650}
.staff-login .login-submit:hover{background:#303030}
.staff-login .login-help{margin:18px 0 0;color:#606060;font-size:12px;text-align:center}
.staff-login :focus-visible{outline:2px solid #444;outline-offset:3px}

/* Personal login: tenant identity with responsive photo panel. */
.login-page.staff-login{display:grid;grid-template-columns:minmax(280px,40%) minmax(0,60%);grid-template-rows:1fr;position:relative;padding:0;min-height:100dvh;align-items:stretch;overflow:hidden}
.staff-login-visual{grid-column:1;grid-row:1;position:relative;min-height:100%;background:#151515 center/cover no-repeat var(--staff-photo);overflow:hidden;display:flex;align-items:flex-end;padding:clamp(28px,5vw,72px);clip-path:ellipse(92% 85% at 8% 50%)}
.staff-visual-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.76))}
.staff-visual-copy{position:relative;color:#fff;display:grid;gap:14px;max-width:360px}.staff-visual-copy span{font-size:13px;letter-spacing:.12em}.staff-visual-copy strong{font-size:clamp(28px,3vw,52px);line-height:1.04;letter-spacing:-.04em}
.staff-login>.login-form{grid-column:2;grid-row:1;justify-self:center;align-self:center;width:min(560px,calc(100% - 64px));max-width:none;padding:48px 0;text-align:left;z-index:1}.staff-login .login-back{position:absolute;top:28px;left:32px;z-index:2}.staff-login .login-identity{margin:0 auto 36px;justify-content:center;gap:16px}.staff-turno-mark{display:flex;align-items:center;gap:8px;font-size:28px;font-weight:750;letter-spacing:-.04em}.staff-turno-mark img{object-fit:contain}.staff-turno-mark small{display:block;font-size:7px;letter-spacing:.16em;font-weight:500;color:#777}.staff-divider{width:1px;height:44px;background:#d8d8d8}.staff-shop-logo{object-fit:contain}.staff-shop-name{font-size:24px;letter-spacing:.04em}.staff-login .login-form h1{text-align:center;font-size:clamp(28px,3vw,44px);letter-spacing:-.04em;text-transform:none;margin-bottom:10px}.staff-login .login-description{text-align:center;font-size:16px;max-width:46ch;margin:0 auto 38px}.staff-login .login-form label{font-size:14px;margin-bottom:8px}.staff-login .login-form input{height:56px;border:1px solid #dedede;border-radius:12px;text-align:left;padding:0 18px;background:#fff}.staff-login .login-form input#username{margin-bottom:20px}.staff-login .login-form #password{padding-right:52px}.staff-login .login-submit{height:56px;border-radius:12px;text-transform:none;letter-spacing:0;font-size:16px;margin-top:28px}.staff-login .login-help{background:#f5f5f5;border-radius:16px;padding:18px 20px;margin-top:24px;text-align:center;font-size:14px}.staff-login .login-footer{position:absolute;bottom:22px;right:0;width:60%;padding:0;text-align:center}
@media(max-width:760px){.login-page.staff-login{display:flex;flex-direction:column;overflow:auto}.staff-login-visual{order:0;min-height:220px;height:31vh;max-height:280px;clip-path:ellipse(105% 88% at 50% 8%);padding:24px}.staff-visual-copy{display:none}.staff-login>.login-form{order:1;width:calc(100% - 40px);padding:18px 0 38px;align-self:center}.staff-login .login-back{top:20px;left:20px;color:#fff}.staff-login .login-identity{margin:0 auto 28px;gap:10px}.staff-turno-mark{font-size:22px}.staff-turno-mark img{width:30px;height:30px}.staff-divider{height:34px}.staff-shop-logo{width:68px;height:68px}.staff-login .login-form h1{font-size:30px}.staff-login .login-description{font-size:15px;margin-bottom:28px}.staff-login .login-footer{position:static;order:2;width:100%;padding:0 20px 28px;font-size:12px}.staff-login .login-help{margin-top:20px}}

/* El identificador horizontal de Bunker conserva la cinta y el texto completos. */
:is(header,.home-shop,.login-identity,.staff-login-brand,.sidebar) img[src="/assets/bunker-public-wordmark.png"]{
  width:clamp(104px,16vw,170px);height:auto;max-width:100%;aspect-ratio:3/1;
  border:0;border-radius:0;object-fit:contain;clip-path:none;
}
/* En el raíl estrecho del panel, la marca va sola: el texto ya está dentro del wordmark. */
.home-shop img[src="/assets/bunker-public-wordmark.png"]{width:104px;height:auto;max-width:100%}
.home-shop strong{display:none}

/* Avatar de marca por sucursal: c?rculo lleno, sin anillo ni bordes */
.business-brand-avatar{display:flex;flex:0 0 auto;justify-content:center;align-items:center;width:72px;height:72px;border-radius:50%;overflow:hidden;background:#000;border:0;padding:0;box-shadow:none}
.business-brand-avatar img{display:block;box-sizing:border-box;width:100%;height:100%;padding:14%;object-fit:contain;object-position:center}
.business-brand-avatar.has-brand-background img{padding:0}
.business-brand-placeholder{background:#efefef;color:#555;font-size:24px;font-weight:650;letter-spacing:.02em}
.business-brand-large .business-brand-avatar{width:172px;height:172px;border-radius:32px}
@media(max-width:639px){
  .business-brand-avatar{width:56px;height:56px}
  .business-brand-placeholder{font-size:18px}
  .business-brand-large .business-brand-avatar{width:156px;height:156px}
}

.sa-shop-cell .business-brand-avatar{width:38px;height:38px;font-size:13px}

.staff-login .login-form > .login-identity {
  margin: 0 auto 12px;
  gap: 0;
}
.staff-login .staff-shop-logo {
  display: block;
  width: 180px;
  height: auto;
  object-fit: contain;
}
.staff-login .staff-shop-logo.has-brand-background{aspect-ratio:1;border-radius:50%;object-position:center;background:var(--brand-color,#000)}
.staff-login .staff-shop-name {font-size:26px;letter-spacing:.04em;text-align:center}
@media (max-width:760px) {
  .staff-login .staff-shop-logo {width:145px}
  .staff-login .staff-shop-name {font-size:23px}
}
