
/* Shared identity header for LINE booking public/customer/staff pages. */
.site-auth-slot{display:flex;align-items:center;justify-content:flex-end;flex:0 0 auto;min-width:0;position:relative;z-index:2}
.site-auth-inner{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap;min-width:0}
.site-auth-name{display:inline-flex;align-items:center;gap:7px;color:inherit;font-weight:750;font-size:13px;max-width:190px}
.site-auth-name .site-auth-avatar{display:inline-grid;place-items:center;flex:0 0 auto;height:27px;width:27px;border-radius:100%;background:#e5f7eb;color:#17654e;font-weight:850;font-size:12px}
.site-auth-name .site-auth-label{max-width:143px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.site-auth-button{font:inherit;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:39px;border:1px solid #cae4d6;border-radius:11px;background:#fff;color:#15573f;padding:7px 13px;font-size:13px;font-weight:800;white-space:nowrap;text-decoration:none;transition:background .16s,border-color .16s}
.site-auth-button:hover{background:#eaf8ef;border-color:#8ec8a5}
.site-auth-button:focus-visible{outline:3px solid #7ac9a0;outline-offset:3px}
.site-auth-button:disabled{opacity:.65;cursor:wait}
.site-auth-button.site-auth-login{background:#06c755;color:#fff;border-color:#06c755}
.site-auth-button.site-auth-login:hover{background:#00ac48}
.site-auth-button.site-auth-login::before{content:"";display:block;width:23px;height:23px;flex:0 0 23px;background:url("./line-app-icon.svg") center/contain no-repeat;filter:none}
.site-auth-button.site-auth-login{gap:8px}
@media(max-width:420px){.site-auth-button.site-auth-login::before{width:21px;height:21px;flex-basis:21px}}
.site-auth-feedback{font-size:12px;line-height:1.4;color:#8d3d2c}
.site-auth-dark .site-auth-name{color:#fff}
.site-auth-dark .site-auth-button:not(.site-auth-login){background:#ffffff18;border-color:#ffffff75;color:#fff}
.site-auth-dark .site-auth-button:not(.site-auth-login):hover{background:#ffffff30}
.site-auth-dark .site-auth-button.site-auth-login{color:#fff}
@media(max-width:780px){
 .site-auth-slot{width:auto}
 .site-auth-name{max-width:140px}
 .site-auth-name .site-auth-label{max-width:97px}
 .site-auth-button{padding:7px 10px;font-size:12px;min-height:37px}
}
@media(max-width:420px){
 .site-auth-inner{gap:5px}
 .site-auth-name .site-auth-avatar{height:22px;width:22px}
 .site-auth-name .site-auth-label{max-width:68px}
 .site-auth-button{padding:6px 9px;font-size:11px}
}


/* Reserve real header space rather than overlaying or blocking navigation. */
.site-head .nav{flex-wrap:wrap;row-gap:10px}
.site-head .site-auth-slot{margin-left:auto}
.page-header .header-row{flex-wrap:wrap}
.page-header .header-links{flex-wrap:wrap;justify-content:flex-end}
.page-header .site-auth-slot{color:#fff}
body:has(.shop-title) > header:has(.site-auth-slot){flex-wrap:wrap}
body:has(.shop-title) > header .site-auth-slot{margin-left:auto}
body:has(.shop-title) > header time{margin-left:auto}
body:has(.top) > header .top:has(.site-auth-slot){flex-wrap:wrap}
body:has(.top) > header .top > .site-auth-slot{margin-left:auto}
header:has(.site-auth-slot) > .wrap:has(.site-auth-slot){display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
header.top .top-inner:has(.site-auth-slot){flex-wrap:wrap;gap:10px}
header.top .top-inner > .site-auth-slot{margin-left:auto}
body:has(#qa-login-panel) > header:has(.site-auth-slot),
body:has(>main>h1) > header:has(.site-auth-slot){display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
body:has(#qa-login-panel) > header .site-auth-slot{margin-left:auto}
body:has(#qa-login-panel) > header > div:first-child{margin:0}
@media(max-width:820px){
 .site-head .site-auth-slot{margin-left:auto}
 .site-head .nav-actions{display:none}
 .page-header .header-row .header-links{width:100%;justify-content:space-between}
 .page-header .header-row .site-auth-slot{margin-left:auto}
 .site-auth-slot{justify-content:flex-end}
}
@media(max-width:480px){
 .page-header .header-links a{font-size:12px;padding:6px}
 body:has(.shop-title)>header .site-auth-slot{order:3;width:100%}
 header.top .top-inner > .site-auth-slot{margin-left:0}
}

/* Mobile header actions must remain comfortably tappable. */
@media(max-width:780px){.site-auth-button{min-height:44px!important;padding-block:9px}}

/* Clickable account identity and accessible shared account menu. */
.site-auth-profile{position:relative;min-width:0}
.site-auth-profile>summary.site-auth-name{cursor:pointer;list-style:none;border-radius:12px;padding:5px 7px;min-height:40px;max-width:200px;box-sizing:border-box}
.site-auth-profile>summary.site-auth-name::-webkit-details-marker{display:none}
.site-auth-profile>summary.site-auth-name::after{content:"⌄";font-size:13px;font-weight:800;margin-left:2px;opacity:.75}
.site-auth-profile>summary.site-auth-name:hover,.site-auth-profile[open]>summary.site-auth-name{background:rgba(128,92,157,.12)}
.site-auth-profile>summary.site-auth-name:focus-visible{outline:3px solid #9863bf;outline-offset:2px}
.site-auth-menu{position:absolute;top:calc(100% + 8px);right:0;z-index:200;width:min(300px,calc(100vw - 24px));box-sizing:border-box;padding:13px;background:#fff;border:1px solid #e3d5ec;border-radius:16px;box-shadow:0 18px 46px rgba(39,23,55,.17);color:#34223f;text-align:left}
.site-auth-menu-heading{font-size:13px;font-weight:850;margin:0 0 5px}
.site-auth-menu-email{color:#76677c;overflow-wrap:anywhere;font-size:12px;line-height:1.45;margin:0 0 12px}
.site-auth-menu-item{display:block;width:100%;font:inherit;text-align:left;border:0;border-radius:10px;padding:12px;background:#f7f1fa;color:#51336d;font-weight:800;cursor:pointer}
.site-auth-menu-item:hover,.site-auth-menu-item:focus-visible{background:#eddcf7;outline-offset:2px}
.site-auth-menu-item:disabled{opacity:.55;cursor:wait}
.site-auth-menu-note{font-size:12px;line-height:1.6;margin:0}
.site-auth-password-backdrop{position:fixed;inset:0;z-index:2147483000;background:rgba(20,13,29,.55);display:grid;place-items:center;padding:16px;box-sizing:border-box}
.site-auth-password-dialog{background:#fff;color:#30243b;border-radius:20px;padding:22px;box-sizing:border-box;width:min(100%,440px);max-height:calc(100dvh - 32px);overflow-y:auto;box-shadow:0 24px 80px #1b092b55}
.site-auth-password-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.site-auth-password-title{margin:0;font-size:21px;line-height:1.35;color:#352143}
.site-auth-password-close{border:0;background:#f5eff7;color:#58476a;border-radius:10px;height:34px;width:34px;font-size:25px;cursor:pointer;line-height:1}
.site-auth-password-hint{color:#6d6277;font-size:13px;line-height:1.6;margin:10px 0 18px}
.site-auth-password-form{display:grid;gap:13px}
.site-auth-password-field{display:grid;gap:6px;font-size:13px;font-weight:750;color:#4f3a60}
.site-auth-password-input{font:inherit;box-sizing:border-box;width:100%;height:45px;padding:10px 12px;border:1px solid #d7c9df;border-radius:11px;background:#fff;color:#30243b}
.site-auth-password-input:focus{outline:2px solid #9871bb;outline-offset:1px}
.site-auth-password-feedback{min-height:19px;font-size:13px;line-height:1.5;margin:0;color:#66536d}
.site-auth-password-feedback.error{color:#a43142}
.site-auth-password-feedback.success{color:#14734b}
.site-auth-password-actions{display:flex;justify-content:flex-end;gap:10px}
.site-auth-password-actions button{font:inherit;font-size:14px;font-weight:800;min-height:42px;border-radius:11px;padding:9px 16px;cursor:pointer}
.site-auth-password-secondary{background:#fff;border:1px solid #d7c9df;color:#55445f}
.site-auth-password-primary{background:#563575;border:1px solid #563575;color:white}
.site-auth-password-actions button:disabled{opacity:.6;cursor:wait}
@media(max-width:420px){.site-auth-profile>summary.site-auth-name{max-width:150px}.site-auth-password-dialog{padding:18px}}
