/* Isolated notice + responsive styles */
.notice-nav-icon{width:20px;height:20px;border:2px solid currentColor;border-radius:50%;display:grid!important;place-items:center;font-weight:800}.notice-admin-list{display:grid;gap:12px}.notice-admin-card{display:flex;align-items:center;justify-content:space-between;gap:18px}.notice-admin-card h3{margin:0 0 6px}.notice-admin-actions{display:flex;gap:7px;flex-wrap:wrap}.editor-toolbar{display:flex;gap:6px;flex-wrap:wrap;padding:10px;background:#f6f0e9;border:1px solid var(--line);border-radius:12px 12px 0 0}.editor-toolbar button{min-height:35px;border:1px solid #dfd4ca;background:#fff;border-radius:8px;padding:0 10px}.rich-editor{min-height:360px;max-height:60vh;overflow:auto;background:#fff;border:1px solid var(--line);border-top:0;border-radius:0 0 12px 12px;padding:22px;line-height:1.8;outline:none}.rich-editor img,.rich-editor video,.notice-rich-content img,.notice-rich-content video{display:block;max-width:100%;height:auto;border-radius:15px;margin:20px auto}.rich-editor video,.notice-rich-content video{width:100%;background:#111;max-height:70vh}.rich-editor a,.notice-rich-content a{color:#a46068;text-decoration:underline;text-underline-offset:3px}.notice-reader-page{max-width:1050px}.notice-reader-list{display:grid;gap:24px}.notice-reader-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:clamp(22px,4vw,48px);box-shadow:var(--shadow)}.notice-reader-card>h2{font-size:28px;margin:0 0 22px;padding-bottom:16px;border-bottom:1px solid var(--line)}.notice-rich-content{max-width:780px;margin:auto;color:#3f3935;font-size:16px;line-height:1.85;overflow-wrap:anywhere}.notice-rich-content p{margin:0 0 16px}.notice-rich-content ul,.notice-rich-content ol{padding-left:24px}.notice-rich-content li{margin:10px 0}
@media(max-width:1100px) and (min-width:768px){#app{grid-template-columns:86px minmax(0,1fr)!important}#adminApp{grid-template-columns:218px minmax(0,1fr)!important}.overview-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:767px){#app,#adminApp{display:grid!important;grid-template-columns:76px calc(100vw - 76px)!important;width:100vw!important;min-height:100dvh}#sidebar,.admin-body #sidebar{position:fixed!important;inset:0 auto 0 0!important;width:76px!important;height:100dvh!important;padding:10px 6px!important;display:flex!important;transform:none!important}.brand{height:60px!important;justify-content:center!important;padding:2px 0 10px!important}.brand-logo{width:39px!important;height:39px!important}.brand>div:not(.brand-logo),.brand .icon-btn,#sidebar footer{display:none!important}#sidebar nav{display:flex!important;flex-direction:column!important;gap:3px!important;overflow:auto!important}.nav-item{min-height:45px!important;padding:4px 2px!important;justify-content:center!important;flex-direction:column!important;font-size:9px!important;text-align:center!important}.sidebar-logout{margin-top:auto!important}#app main,#adminApp main{grid-column:2!important;width:calc(100vw - 76px)!important;min-width:0!important;margin:0!important}.page{width:100%!important;padding:16px 10px 70px!important}.page-head{display:block!important}.page-head h1{font-size:21px!important}.page-head p{font-size:11px!important}.calendar-layout{display:block!important}.week,.days{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:1px!important}.grid,.stats{grid-template-columns:1fr!important}.form-grid{grid-template-columns:1fr!important}.overview-kpis{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}.notice-reader-card{padding:16px!important;border-radius:15px}.notice-reader-card>h2{font-size:19px}.notice-rich-content{font-size:13px;line-height:1.75}.notice-rich-content img,.notice-rich-content video{width:100%!important;max-width:100%!important}.notice-admin-card{display:block}.notice-admin-actions{margin-top:12px}.editor-toolbar{padding:7px}.editor-toolbar button{font-size:10px;padding:0 7px}.rich-editor{min-height:300px;padding:14px}.modal{left:76px!important;width:calc(100vw - 76px)!important}}

/* Payment modal compact override (loaded after style.css) */
.payment-box{display:grid;gap:8px;justify-items:center;text-align:center;padding:2px 0;max-width:320px;margin:0 auto}
.payment-amount{margin:0}
.payment-amount strong{font-size:28px;color:#4a3f35}
.payment-qr{width:220px;height:220px;max-width:220px;max-height:220px;object-fit:contain;border:1px solid var(--line);border-radius:12px;padding:8px;background:#fff;margin:4px auto 6px;display:block}
.payment-tip{color:#8a7d72;font-size:12px;margin:0}
.payment-box .meta{font-size:11.5px;color:#9a8d7d;word-break:break-all;margin:0}
.payment-jump{width:100%;text-decoration:none;margin-top:2px}
@media(max-width:767px){.payment-box{max-width:240px;gap:6px}.payment-amount strong{font-size:24px}.payment-qr{width:170px;height:170px;max-width:170px;max-height:170px}.payment-tip{font-size:11.5px}.payment-box .meta{font-size:10.5px}.payment-box .modal-actions{gap:6px}.payment-box .btn{min-height:38px;padding:0 12px}}

.pay-toggle{display:flex;align-items:center;gap:14px;cursor:pointer;padding:14px 16px;background:#faf6f0;border:1px solid var(--line);border-radius:14px;user-select:none;transition:border-color .2s}
.pay-toggle:hover{border-color:#dcc8c4}
.pay-toggle input{position:absolute;opacity:0;pointer-events:none}
.pay-toggle-track{width:52px;height:30px;border-radius:999px;background:#d9d0c6;position:relative;flex:none;transition:background .25s}
.pay-toggle-thumb{position:absolute;top:3px;left:3px;width:24px;height:24px;border-radius:50%;background:#fff;box-shadow:0 2px 6px rgba(70,55,40,.25);transition:left .25s}
.pay-toggle input:checked+.pay-toggle-track{background:var(--rose,#c58f91)}
.pay-toggle input:checked+.pay-toggle-track .pay-toggle-thumb{left:25px}
.pay-toggle-text{display:grid;gap:3px}
.pay-toggle-text b{font-size:14px;color:var(--text,#393431)}
.pay-toggle-text small{color:var(--muted,#817975);font-size:12px}

.notice-read-list{display:grid;gap:14px;max-height:58vh;overflow-y:auto;padding-right:2px}
.notice-read{background:var(--surface,#fffdf8);border:1px solid var(--line,#e8ded5);border-radius:14px;padding:16px}
.notice-read h3{font-size:16px;margin:0 0 8px;color:var(--text,#393431)}
.notice-read .rich-editor.read{font-size:14px;line-height:1.7;color:#5c534d;white-space:normal}
.notice-read .rich-editor.read img{max-width:100%;border-radius:10px}
.notice-read .rich-editor.read video{max-width:100%;border-radius:10px}


/* ==== 全局底部导航：替代左侧侧边栏（用户端 + 管理端） ==== */
#app,#adminApp{display:block!important;width:100vw!important;min-height:100dvh!important;overflow-x:hidden!important}
#sidebar,.admin-body #sidebar{
  position:fixed!important;left:12px!important;right:12px!important;bottom:12px!important;top:auto!important;
  width:auto!important;height:66px!important;z-index:80!important;padding:7px!important;
  display:flex!important;flex-direction:row!important;align-items:center!important;gap:8px!important;
  background:rgba(255,253,248,.96)!important;border:1px solid rgba(232,222,213,.92)!important;border-radius:22px!important;
  box-shadow:0 16px 42px rgba(91,70,55,.16)!important;backdrop-filter:blur(14px)!important;transform:none!important;
}
#sidebar .brand,.admin-body #sidebar .brand,#sidebar footer,.admin-body #sidebar footer,#closeNav,#adminCloseNav{display:none!important}
#sidebar nav,.admin-body #sidebar nav{
  flex:1 1 auto!important;min-width:0!important;height:100%!important;padding:0!important;margin:0!important;
  display:flex!important;flex-direction:row!important;align-items:center!important;gap:7px!important;
  overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none!important;-webkit-overflow-scrolling:touch!important;
}
#sidebar nav::-webkit-scrollbar,.admin-body #sidebar nav::-webkit-scrollbar{display:none!important}
.nav-item,#adminDesktopLogout,#desktopLogout{
  width:auto!important;min-width:86px!important;min-height:50px!important;height:50px!important;flex:0 0 auto!important;
  padding:0 12px!important;border-radius:16px!important;display:flex!important;align-items:center!important;justify-content:center!important;
  flex-direction:column!important;gap:3px!important;text-align:center!important;font-size:12px!important;line-height:1.1!important;
  background:transparent!important;border:0!important;color:#786f68!important;text-decoration:none!important;margin:0!important;
}
.nav-item svg,.nav-item .notice-nav-icon{width:18px!important;height:18px!important;flex:none!important}
.nav-item.active{background:var(--rose-soft,#ead6d4)!important;color:#674d4e!important;box-shadow:inset 0 0 0 1px rgba(197,143,145,.22)!important}
.nav-item:hover{background:#f4ece5!important}
#desktopLogout,#adminDesktopLogout{color:#9a5555!important;background:#f7e7e5!important;border:1px solid #ead0cd!important;min-width:78px!important}
main{min-width:0!important;width:100%!important;padding-bottom:92px!important}
.page{max-width:1500px!important;margin:0 auto!important;padding-bottom:32px!important}
.mobile-head{display:flex!important;position:sticky!important;top:0!important;z-index:50!important;background:rgba(246,241,233,.92)!important;backdrop-filter:blur(12px)!important;border-bottom:1px solid rgba(232,222,213,.7)!important}
#menuBtn,#adminMenu{display:none!important}
#scrim,#adminScrim{display:none!important}
@media(max-width:767px){
  #sidebar,.admin-body #sidebar{left:8px!important;right:8px!important;bottom:8px!important;height:62px!important;border-radius:20px!important;padding:6px!important}
  .nav-item,#adminDesktopLogout,#desktopLogout{min-width:70px!important;height:48px!important;min-height:48px!important;font-size:10px!important;padding:0 8px!important;border-radius:14px!important}
  #desktopLogout,#adminDesktopLogout{min-width:64px!important}
  main{padding-bottom:82px!important}
  .page{padding-bottom:24px!important}
}
@media(min-width:768px) and (max-width:1100px){
  #sidebar,.admin-body #sidebar{left:16px!important;right:16px!important;bottom:14px!important;height:66px!important}
  main{padding-bottom:96px!important}
}
@media(min-width:1101px){
  #sidebar,.admin-body #sidebar{left:24px!important;right:24px!important;bottom:18px!important;height:70px!important;padding:8px 10px!important}
  .nav-item,#adminDesktopLogout,#desktopLogout{min-width:104px!important;height:52px!important;min-height:52px!important;font-size:12px!important}
  main{padding-bottom:108px!important}
}


/* 底栏布局最终覆盖：清理旧手机侧栏 grid 宽度 */
#app main,#adminApp main{grid-column:auto!important;width:100vw!important;max-width:100vw!important;margin:0!important}
@media(max-width:767px){#app main,#adminApp main{grid-column:auto!important;width:100vw!important;max-width:100vw!important}.page{width:100%!important}}


/* 底栏模式下隐藏旧顶部移动标题栏，避免顶部出现“站点名 + 页面名 + 头像”重复信息 */
#app .mobile-head,#adminApp .mobile-head{display:none!important}
#app main,#adminApp main{padding-top:0!important}
@media(max-width:767px){.page{padding-top:18px!important}}
@media(min-width:768px){.page{padding-top:34px!important}}


/* 底栏品牌区：保留店铺 Logo，提升底栏协调性 */
#sidebar .brand,.admin-body #sidebar .brand{
  display:flex!important;align-items:center!important;gap:9px!important;flex:0 0 auto!important;
  height:52px!important;min-width:52px!important;padding:0 10px!important;margin:0!important;border:0!important;border-radius:16px!important;
  background:linear-gradient(135deg,#fff8f4,#f7eee7)!important;box-shadow:inset 0 0 0 1px rgba(232,222,213,.72)!important;
}
#sidebar .brand-logo,.admin-body #sidebar .brand-logo{
  width:38px!important;height:38px!important;border-radius:12px!important;overflow:hidden!important;display:grid!important;place-items:center!important;
  background:var(--rose,#c58f91)!important;color:#fff!important;font-size:14px!important;font-weight:800!important;flex:0 0 auto!important;
}
#sidebar .brand-logo img,.admin-body #sidebar .brand-logo img{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:inherit!important;display:block!important}
#sidebar .brand>div:not(.brand-logo),.admin-body #sidebar .brand>div:not(.brand-logo){display:grid!important;gap:1px!important;min-width:0!important}
#sidebar .brand b,.admin-body #sidebar .brand b{font-size:13px!important;line-height:1.1!important;color:#4a3f35!important;white-space:nowrap!important;max-width:112px!important;overflow:hidden!important;text-overflow:ellipsis!important}
#sidebar .brand small,.admin-body #sidebar .brand small{font-size:10px!important;line-height:1.1!important;color:#9a8f85!important;white-space:nowrap!important;max-width:112px!important;overflow:hidden!important;text-overflow:ellipsis!important}
#sidebar .brand .icon-btn,.admin-body #sidebar .brand .icon-btn{display:none!important}
@media(max-width:767px){
  #sidebar .brand,.admin-body #sidebar .brand{width:50px!important;min-width:50px!important;height:50px!important;padding:6px!important;border-radius:15px!important}
  #sidebar .brand-logo,.admin-body #sidebar .brand-logo{width:38px!important;height:38px!important}
  #sidebar .brand>div:not(.brand-logo),.admin-body #sidebar .brand>div:not(.brand-logo){display:none!important}
  .nav-item,#adminDesktopLogout,#desktopLogout{min-width:66px!important}
}
@media(min-width:768px) and (max-width:1100px){
  #sidebar .brand,.admin-body #sidebar .brand{min-width:150px!important;max-width:170px!important}
}
@media(min-width:1101px){
  #sidebar .brand,.admin-body #sidebar .brand{min-width:178px!important;max-width:220px!important;height:52px!important}
}


/* 预约页顶部协调：标题说明 + 新建预约按钮做成统一轻卡片 */
.page>.page-head{
  background:rgba(255,253,248,.86)!important;border:1px solid rgba(232,222,213,.88)!important;border-radius:22px!important;
  box-shadow:0 10px 26px rgba(91,70,55,.055)!important;padding:20px 22px!important;margin-bottom:26px!important;
  align-items:center!important;
}
.page>.page-head h1{font-size:26px!important;line-height:1.12!important;margin:0 0 7px!important;letter-spacing:-.02em!important;color:#332d29!important}
.page>.page-head p{font-size:13px!important;line-height:1.55!important;color:#8a7f78!important;margin:0!important;max-width:620px!important}
.page>.page-head .head-actions{align-items:center!important;gap:10px!important;flex:none!important}
.page>.page-head .head-actions .btn{min-height:40px!important;border-radius:13px!important;padding:0 15px!important;font-size:14px!important;box-shadow:0 8px 18px rgba(197,143,145,.18)!important}
@media(max-width:767px){
  .page>.page-head{padding:16px!important;border-radius:18px!important;margin-bottom:18px!important;display:block!important}
  .page>.page-head h1{font-size:22px!important;margin-bottom:6px!important}
  .page>.page-head p{font-size:12px!important;line-height:1.45!important}
  .page>.page-head .head-actions{margin-top:13px!important;display:flex!important;width:100%!important}
  .page>.page-head .head-actions .btn{width:100%!important;min-height:40px!important;font-size:13px!important;border-radius:13px!important}
}
@media(min-width:768px) and (max-width:1100px){
  .page>.page-head{padding:18px 20px!important;margin-bottom:24px!important;border-radius:20px!important}
  .page>.page-head h1{font-size:24px!important}
}


/* 预约页顶部只保留左上角 Logo */
.top-logo-only{display:flex;align-items:center;justify-content:flex-start;margin:0 0 18px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
.top-logo-only .brand-logo{width:54px!important;height:54px!important;border-radius:16px!important;overflow:hidden!important;box-shadow:0 10px 24px rgba(91,70,55,.12)!important;background:var(--rose,#c58f91)!important;color:#fff!important;display:grid!important;place-items:center!important;font-weight:800!important}
.top-logo-only .brand-logo img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important;border-radius:inherit!important}
@media(max-width:767px){.top-logo-only{margin-bottom:14px!important}.top-logo-only .brand-logo{width:48px!important;height:48px!important;border-radius:14px!important}}


/* 预约页已把 Logo 移到左上角：底栏只保留菜单，不再重复显示品牌块 */
#sidebar .brand,.admin-body #sidebar .brand{display:none!important}
#sidebar nav,.admin-body #sidebar nav{padding-left:0!important}
.top-logo-only{display:flex!important;align-items:center!important;justify-content:flex-start!important;margin:0 0 18px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
.top-logo-only .brand-logo{width:56px!important;height:56px!important;border-radius:17px!important;overflow:hidden!important;box-shadow:0 10px 24px rgba(91,70,55,.12)!important;background:var(--rose,#c58f91)!important;color:#fff!important;display:grid!important;place-items:center!important;font-weight:800!important}
.top-logo-only .brand-logo img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important;border-radius:inherit!important}
@media(max-width:767px){.top-logo-only{margin-bottom:14px!important}.top-logo-only .brand-logo{width:50px!important;height:50px!important;border-radius:15px!important}}


/* 去掉左上角 Logo + 底栏防穿模最终覆盖 */
.top-logo-only{display:none!important}
#sidebar,.admin-body #sidebar{
  overflow:hidden!important;box-sizing:border-box!important;align-items:center!important;
  height:64px!important;max-height:64px!important;padding:6px!important;
}
#sidebar nav,.admin-body #sidebar nav{height:52px!important;max-height:52px!important;align-items:center!important;overflow-x:auto!important;overflow-y:hidden!important;padding:0!important;margin:0!important}
.nav-item,#adminDesktopLogout,#desktopLogout{
  height:48px!important;min-height:48px!important;max-height:48px!important;box-sizing:border-box!important;
  border-radius:15px!important;overflow:hidden!important;line-height:1!important;padding:0 10px!important;
}
.nav-item span{max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
@media(max-width:767px){
  #sidebar,.admin-body #sidebar{left:8px!important;right:8px!important;bottom:calc(8px + env(safe-area-inset-bottom,0px))!important;height:58px!important;max-height:58px!important;padding:5px!important;border-radius:19px!important}
  #sidebar nav,.admin-body #sidebar nav{height:48px!important;max-height:48px!important;gap:5px!important}
  .nav-item,#adminDesktopLogout,#desktopLogout{height:46px!important;min-height:46px!important;max-height:46px!important;min-width:66px!important;border-radius:14px!important;font-size:10px!important;padding:0 7px!important}
  main{padding-bottom:calc(84px + env(safe-area-inset-bottom,0px))!important}
}
@media(min-width:768px) and (max-width:1100px){
  #sidebar,.admin-body #sidebar{height:64px!important;max-height:64px!important;bottom:14px!important;border-radius:21px!important}
  #sidebar nav,.admin-body #sidebar nav{height:52px!important;max-height:52px!important}
  .nav-item,#adminDesktopLogout,#desktopLogout{height:48px!important;min-height:48px!important;max-height:48px!important}
}
@media(min-width:1101px){
  #sidebar,.admin-body #sidebar{height:66px!important;max-height:66px!important;bottom:18px!important;border-radius:22px!important;padding:7px!important}
  #sidebar nav,.admin-body #sidebar nav{height:52px!important;max-height:52px!important}
  .nav-item,#adminDesktopLogout,#desktopLogout{height:50px!important;min-height:50px!important;max-height:50px!important}
}


/* 用户端个人中心 */
.profile-page{max-width:980px!important}
.profile-card{display:flex!important;align-items:center!important;gap:18px!important;padding:22px!important}
.profile-avatar{width:64px;height:64px;border-radius:20px;background:linear-gradient(135deg,var(--rose,#c58f91),#d9b2aa);color:#fff;display:grid;place-items:center;font-size:26px;font-weight:900;box-shadow:0 12px 26px rgba(197,143,145,.22);flex:none}
.profile-main h2{margin:0 0 6px;font-size:24px;color:#332d29}.profile-main p{margin:0;color:#8a7f78;font-size:13px}.profile-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.profile-tags span{background:#f4ece5;border:1px solid var(--line);border-radius:999px;padding:6px 10px;color:#6b625b;font-size:12px;font-weight:700}
.profile-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.profile-kpis .kpi-card{padding:18px!important}.profile-kpis .kpi-card span{display:block;color:#8a7f78;font-size:12px;margin-bottom:8px}.profile-kpis .kpi-card b{font-size:24px;color:#332d29}
.profile-detail{padding:22px!important}.profile-detail h3{margin:0 0 16px;font-size:18px}.detail-grid{display:grid;grid-template-columns:120px minmax(0,1fr);gap:13px 18px}.detail-grid span{color:#8a7f78}.detail-grid b{font-weight:700;color:#3b342f;word-break:break-all}.profile-actions{display:flex;gap:12px;justify-content:flex-end}
@media(max-width:767px){.profile-card{padding:18px!important;align-items:flex-start!important}.profile-avatar{width:54px;height:54px;border-radius:17px;font-size:22px}.profile-main h2{font-size:20px}.profile-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.profile-kpis .kpi-card{padding:14px!important}.profile-kpis .kpi-card b{font-size:20px}.detail-grid{grid-template-columns:88px minmax(0,1fr);font-size:13px;gap:11px}.profile-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}}
@media(min-width:768px) and (max-width:1100px){.profile-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* 用户端底栏：删除退出登录后，四个主按钮居中排布 */
body:not(.admin-body) #desktopLogout{display:none!important}
body:not(.admin-body) #sidebar{justify-content:center!important}
body:not(.admin-body) #sidebar nav{flex:0 1 auto!important;justify-content:center!important;gap:10px!important}
body:not(.admin-body) #sidebar .nav-item{min-width:88px!important}
@media(max-width:767px){
  body:not(.admin-body) #sidebar nav{width:100%!important;justify-content:space-around!important;gap:4px!important}
  body:not(.admin-body) #sidebar .nav-item{min-width:0!important;flex:1 1 0!important;max-width:86px!important;padding:0 4px!important}
}
@media(min-width:768px) and (max-width:1100px){body:not(.admin-body) #sidebar .nav-item{min-width:118px!important}}
@media(min-width:1101px){body:not(.admin-body) #sidebar .nav-item{min-width:132px!important}}


/* 弹窗全屏遮罩与手机端协调：覆盖底栏，不露旧侧栏区域 */
.modal{
  position:fixed!important;inset:0!important;z-index:999!important;display:flex!important;align-items:center!important;justify-content:center!important;
  padding:18px!important;background:rgba(50,38,30,.48)!important;backdrop-filter:blur(4px)!important;
}
.modal[hidden]{display:none!important}
.modal-box{
  width:min(560px,calc(100vw - 28px))!important;max-height:calc(100dvh - 36px)!important;overflow:auto!important;
  background:#fffdf8!important;border:1px solid rgba(232,222,213,.95)!important;border-radius:24px!important;
  box-shadow:0 24px 80px rgba(54,37,25,.28)!important;padding:22px!important;color:#393431!important;
}
.modal-box h2{margin:0 0 16px!important;font-size:22px!important;line-height:1.18!important;color:#332d29!important;letter-spacing:-.02em!important}
.modal-x{top:14px!important;right:14px!important;background:#f4ece5!important;border:1px solid var(--line)!important;color:#5d524b!important;border-radius:999px!important;width:34px!important;height:34px!important;display:grid!important;place-items:center!important}
.modal-form{gap:15px!important}.modal-form .field{gap:7px!important;color:#5b514b!important;font-weight:700!important}.modal-form input,.modal-form select,.modal-form textarea{border:1px solid var(--line)!important;background:#fffaf4!important;border-radius:13px!important;outline:none!important;box-shadow:none!important}.modal-form input:focus,.modal-form select:focus,.modal-form textarea:focus{border-color:var(--rose,#c58f91)!important;box-shadow:0 0 0 3px rgba(197,143,145,.16)!important}
.service-options{gap:9px!important}.service-option{background:#fffaf4!important;border:1px solid var(--line)!important;border-radius:15px!important;padding:11px!important}.service-option.selected{border-color:var(--rose,#c58f91)!important;background:#fff4f1!important;box-shadow:0 0 0 3px rgba(197,143,145,.12)!important}
.deposit-hint,.deposit-notice{background:#f8f1e8!important;border:1px dashed #dfcec1!important;border-radius:15px!important;color:#6d625a!important}
.modal-actions{gap:10px!important}.modal-actions .btn{min-height:40px!important;border-radius:13px!important}
.pay-nested-overlay{z-index:1001!important;inset:0!important;background:rgba(50,38,30,.5)!important;backdrop-filter:blur(4px)!important}
@media(max-width:767px){
  .modal{align-items:flex-start!important;padding:calc(12px + env(safe-area-inset-top,0px)) 10px calc(92px + env(safe-area-inset-bottom,0px))!important;overflow:auto!important}
  .modal-box{width:100%!important;max-height:calc(100dvh - 112px - env(safe-area-inset-bottom,0px))!important;border-radius:20px!important;padding:18px!important;margin:0 auto!important}
  .modal-box h2{font-size:20px!important;margin-bottom:14px!important}
  .modal-x{top:10px!important;right:10px!important;width:32px!important;height:32px!important}
  .service-options{grid-template-columns:1fr!important}
  .modal-actions{display:grid!important;grid-template-columns:1fr 1fr!important}.modal-actions .btn{width:100%!important;min-height:40px!important;padding:0 10px!important;font-size:13px!important}
}


/* Modal fixed viewport final override: 不受旧 76px 侧栏布局影响 */
html,body{width:100%!important;max-width:100%!important;overflow-x:hidden!important}
body>.modal,#modal.modal{
  left:0!important;right:0!important;top:0!important;bottom:0!important;width:100vw!important;max-width:100vw!important;min-width:100vw!important;height:100dvh!important;max-height:100dvh!important;
  margin:0!important;transform:none!important;
}
@media(max-width:767px){body>.modal,#modal.modal{width:100vw!important;min-width:100vw!important;max-width:100vw!important}.modal-box{max-width:calc(100vw - 20px)!important}}


/* ==== 底栏模式比例重算：彻底清理旧侧栏宽度，重新分配内容区 ==== */
html,body,#app,#adminApp{width:100vw!important;max-width:100vw!important;min-width:0!important;overflow-x:hidden!important}
#app,#adminApp{display:block!important;grid-template-columns:none!important}
#app main,#adminApp main{display:block!important;grid-column:auto!important;width:100vw!important;max-width:100vw!important;min-width:0!important;margin:0!important;padding-left:0!important;padding-right:0!important;box-sizing:border-box!important}
.page{width:100%!important;max-width:1380px!important;margin:0 auto!important;box-sizing:border-box!important;padding-left:clamp(18px,4vw,42px)!important;padding-right:clamp(18px,4vw,42px)!important;padding-top:34px!important;padding-bottom:112px!important}
.calendar-layout{width:100%!important;max-width:none!important;display:grid!important;grid-template-columns:minmax(340px,420px) minmax(0,1fr)!important;gap:30px!important;align-items:start!important}
.calendar-card{width:100%!important;align-self:start!important}.schedule-panel{width:100%!important;min-width:0!important}.calendar-card,.schedule-panel{padding:22px!important}
@media(min-width:768px) and (max-width:1100px){
  .page{max-width:none!important;padding-left:24px!important;padding-right:24px!important;padding-top:28px!important;padding-bottom:104px!important}
  .calendar-layout{grid-template-columns:minmax(300px,40%) minmax(0,60%)!important;gap:24px!important}
  .calendar-card,.schedule-panel{padding:18px!important}
}
@media(max-width:767px){
  html,body,#app,#adminApp,#app main,#adminApp main{width:100vw!important;max-width:100vw!important}
  .page{max-width:none!important;padding:14px 10px calc(88px + env(safe-area-inset-bottom,0px))!important;margin:0!important}
  .calendar-layout{display:grid!important;grid-template-columns:1fr!important;gap:20px!important;width:100%!important}
  .calendar-card,.schedule-panel{width:100%!important;padding:14px!important;border-radius:18px!important}
  .calendar-top h2,.schedule-title h2{font-size:18px!important}
  .schedule-title{margin-bottom:14px!important}
  .legend{margin-top:16px!important;padding-top:14px!important}
  .legend-list{grid-template-columns:1fr!important;gap:8px!important;font-size:12px!important}
  .slot{grid-template-columns:58px minmax(0,1fr)!important;min-height:58px!important;padding:8px!important;border-radius:13px!important}
  .slot-time{font-size:13px!important}.slot-body{font-size:12px!important}
}
@media(min-width:1300px){.calendar-layout{grid-template-columns:minmax(360px,430px) minmax(0,1fr)!important;gap:34px!important}}


/* 手机端弹窗视觉居中：遮罩已覆盖底栏，不再用底部预留把弹窗顶上去 */
@media(max-width:767px){
  .modal{
    align-items:center!important;
    justify-content:center!important;
    padding:14px!important;
    overflow:auto!important;
  }
  .modal-box{
    width:min(360px,calc(100vw - 28px))!important;
    max-width:calc(100vw - 28px)!important;
    max-height:calc(100dvh - 28px)!important;
    margin:auto!important;
  }
}


/* 个人中心头像上传 + dock 间距优化 */
.profile-page{gap:22px!important}
.profile-avatar-wrap{display:grid;justify-items:center;gap:7px;cursor:pointer;flex:none}
.profile-avatar-wrap input{display:none!important}
.profile-avatar{width:68px!important;height:68px!important;border-radius:22px!important;overflow:hidden!important;background:linear-gradient(135deg,var(--rose,#c58f91),#d9b2aa)!important;color:#fff!important;display:grid!important;place-items:center!important;font-size:26px!important;font-weight:900!important;box-shadow:0 12px 26px rgba(197,143,145,.22)!important;border:2px solid rgba(255,255,255,.9)!important}
.profile-avatar img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}.profile-avatar-wrap em{font-style:normal;font-size:11px;color:#9a7777;background:#f7e9e6;border:1px solid #edd4d0;border-radius:999px;padding:4px 8px;line-height:1}
.profile-kpis{margin-top:2px!important;margin-bottom:10px!important}.profile-detail{margin-top:8px!important;padding:24px!important}.profile-detail h3{padding-bottom:12px!important;border-bottom:1px solid rgba(232,222,213,.82)!important;margin-bottom:18px!important}.profile-actions{margin-top:2px!important}
@media(max-width:767px){.profile-page{gap:18px!important}.profile-card{gap:14px!important}.profile-avatar{width:58px!important;height:58px!important;border-radius:18px!important;font-size:22px!important}.profile-avatar-wrap em{font-size:10px;padding:3px 7px}.profile-kpis{margin-bottom:8px!important}.profile-detail{margin-top:6px!important;padding:18px!important}}


/* 日历月份切换按钮 */
.month-actions{display:flex;align-items:center;gap:6px}.month-actions button{width:32px;height:32px;border-radius:10px;border:1px solid var(--line);background:#fffaf4;color:#6d625a;font-weight:800;display:grid;place-items:center;box-shadow:0 4px 10px rgba(91,70,55,.05)}.month-actions button:hover{background:#f4ece5;color:#674d4e}.day.muted{opacity:.48}.calendar-card{touch-action:pan-y}
@media(max-width:767px){.month-actions button{width:30px;height:30px;border-radius:9px}.calendar-top h2{font-size:17px!important}}


/* 日历月份切换动效 */
.calendar-layout{will-change:transform,opacity}.calendar-layout.month-anim{animation:monthSlideIn .24s cubic-bezier(.16,1,.3,1) both}.calendar-layout.month-anim.from-right{--month-x:22px}.calendar-layout.month-anim.from-left{--month-x:-22px}
@keyframes monthSlideIn{from{opacity:.35;transform:translateX(var(--month-x)) scale(.992)}to{opacity:1;transform:translateX(0) scale(1)}}
.days .day{transition:background .18s ease,color .18s ease,transform .18s ease,opacity .18s ease}.days .day:active{transform:scale(.94)}.month-actions button{transition:background .18s ease,color .18s ease,transform .16s ease,box-shadow .18s ease}.month-actions button:active{transform:scale(.92)}
@media(prefers-reduced-motion:reduce){.calendar-layout.month-anim{animation:none!important}.days .day,.month-actions button{transition:none!important}}
@media(max-width:767px){.calendar-layout.month-anim.from-right{--month-x:18px}.calendar-layout.month-anim.from-left{--month-x:-18px}}


/* 日历跟手预览式滑动 */
.calendar-layout.month-dragging{animation:none!important;will-change:transform,opacity;filter:saturate(calc(1 - var(--drag-progress,0)*.08));cursor:grabbing}.calendar-card{user-select:none;-webkit-user-select:none}.calendar-card *{-webkit-tap-highlight-color:transparent}
@media(max-width:767px){.calendar-layout.month-dragging .calendar-card,.calendar-layout.month-dragging .schedule-panel{box-shadow:0 10px 30px rgba(91,70,55,.09)!important}}


/* 三屏日历轮播：上月/本月/下月真实预渲染，拖动时露出相邻月份 */
.calendar-swipe-viewport{width:100%;overflow:hidden;touch-action:pan-y;border-radius:14px;position:relative}
.calendar-track{display:grid;grid-template-columns:100% 100% 100%;width:100%;transform:translateX(-100%);will-change:transform;align-items:start}
.calendar-track.is-dragging{cursor:grabbing}.calendar-month-panel{width:100%;min-width:0;padding:0 1px}.calendar-month-panel .week{margin:18px 0 8px}.calendar-month-panel .days{min-width:0}
.calendar-track:not(.is-dragging){transition:transform .26s cubic-bezier(.16,1,.3,1)}
@media(max-width:767px){.calendar-swipe-viewport{border-radius:12px}.calendar-month-panel .week{margin:16px 0 7px}}
@media(prefers-reduced-motion:reduce){.calendar-track{transition:none!important}}


/* 订金须知里的预约时间/耗时摘要 */
.deposit-summary{display:grid;gap:7px;margin:0 0 12px;padding:10px 12px;background:#fffaf4;border:1px solid rgba(232,222,213,.9);border-radius:12px}.deposit-summary p{display:flex;justify-content:space-between;gap:12px;margin:0;font-size:13px;line-height:1.45}.deposit-summary b{color:#5c514a}.deposit-summary span{color:#8a6b6d;font-weight:800;text-align:right}
@media(max-width:767px){.deposit-summary{padding:9px 10px}.deposit-summary p{font-size:12px}}


/* 管理端预约管理里的今日预约明细 */
.admin-today-panel{padding:22px!important}.admin-today-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:12px;margin-top:14px}.admin-today-card{display:grid;grid-template-columns:72px minmax(0,1fr) auto;gap:12px;align-items:center;padding:13px 14px;border:1px solid var(--line);border-radius:16px;background:#fffaf5;box-shadow:0 8px 20px rgba(91,70,55,.045)}.admin-today-card time{font-weight:900;color:#7a5b5d}.admin-today-card div{border-left:4px solid var(--item-color,#c58f91);padding-left:10px;display:grid;gap:4px;min-width:0}.admin-today-card strong{font-size:15px;color:#342d29}.admin-today-card span,.admin-today-card small{color:#7f756f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.admin-today-card small{font-size:11px;color:#9a8f85}.admin-today-card em{font-style:normal;background:#f1e8df;border-radius:999px;padding:6px 9px;color:#6d625a;font-size:12px;font-weight:800}
@media(max-width:767px){.admin-today-panel{padding:16px!important}.admin-today-list{grid-template-columns:1fr;gap:10px}.admin-today-card{grid-template-columns:62px minmax(0,1fr);padding:12px}.admin-today-card em{grid-column:2;justify-self:start}.admin-today-card span,.admin-today-card small{white-space:normal}}


/* 今日预约卡片操作按钮 */
.admin-today-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}.admin-today-actions .btn{min-height:32px!important;border-radius:10px!important;padding:0 10px!important;font-size:12px!important}.admin-today-actions em{font-style:normal;background:#f1e8df;border-radius:999px;padding:6px 9px;color:#6d625a;font-size:12px;font-weight:800}
@media(max-width:767px){.admin-today-actions{grid-column:2;justify-content:flex-start}.admin-today-actions .btn{min-height:30px!important;padding:0 9px!important}}


/* 今日预约卡片紧凑版 */
.admin-today-panel{padding:16px!important}.admin-today-list{gap:8px!important;margin-top:10px!important}.admin-today-card{grid-template-columns:58px minmax(0,1fr) auto!important;gap:9px!important;padding:9px 10px!important;border-radius:13px!important;min-height:58px!important}.admin-today-card time{font-size:12px!important;line-height:1.2!important}.admin-today-card div{gap:2px!important;padding-left:8px!important;border-left-width:3px!important}.admin-today-card strong{font-size:13px!important;line-height:1.2!important}.admin-today-card span,.admin-today-card small{font-size:10.5px!important;line-height:1.25!important}.admin-today-actions{gap:5px!important}.admin-today-actions .btn{min-height:28px!important;height:28px!important;padding:0 8px!important;font-size:11px!important;border-radius:9px!important}.admin-today-actions em{font-size:11px!important;padding:5px 8px!important}
@media(max-width:767px){.admin-today-panel{padding:13px!important}.admin-today-list{gap:7px!important}.admin-today-card{grid-template-columns:52px minmax(0,1fr) auto!important;gap:7px!important;padding:8px!important;min-height:54px!important}.admin-today-card time{font-size:11px!important}.admin-today-card strong{font-size:12px!important}.admin-today-card span,.admin-today-card small{font-size:10px!important;white-space:nowrap!important}.admin-today-actions{grid-column:auto!important;justify-content:flex-end!important;display:grid!important;grid-template-columns:1fr!important}.admin-today-actions .btn{min-width:40px!important;height:24px!important;min-height:24px!important;font-size:10px!important;padding:0 6px!important}}

/* 用户端已确认预约紧凑显示 */
#app .schedule-panel .slot.appointment-span{min-height:52px!important;padding:6px 8px!important}
#app .schedule-panel .slot.appointment-span .slot-time{font-size:12px!important;line-height:1.15!important}
#app .schedule-panel .slot.appointment-span .slot-time small{font-size:10px!important}
#app .schedule-panel .slot.appointment-span .slot-body.booking{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:6px 10px!important;padding:2px 8px!important;align-items:center!important}
#app .schedule-panel .slot.appointment-span .booking b{font-size:13px!important;line-height:1.15!important}
#app .schedule-panel .slot.appointment-span .booking .tag:not(.booking-status){font-size:10px!important;padding:2px 6px!important;margin-top:3px!important}
#app .schedule-panel .slot.appointment-span .span-duration{font-size:10px!important;line-height:1.2!important;margin-top:3px!important}
#app .schedule-panel .slot.appointment-span .booking-note:empty{display:none!important}
#app .schedule-panel .booking-status{grid-column:2!important;grid-row:1!important;align-self:center!important;margin:0!important;padding:4px 8px!important;font-size:10px!important;white-space:nowrap!important}
@media(max-width:767px){
 #app .schedule-panel .slot.appointment-span{grid-template-columns:50px minmax(0,1fr)!important;min-height:48px!important;padding:5px 6px!important}
 #app .schedule-panel .slot.appointment-span .slot-body.booking{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;padding:1px 6px!important}
 #app .schedule-panel .slot.appointment-span .booking b{font-size:12px!important}
 #app .schedule-panel .booking-status{min-height:0!important;width:auto!important;padding:3px 6px!important;font-size:9px!important}
}

/* 管理端底栏规划：四个高频入口 + 更多 */
.admin-body #sidebar nav{justify-content:center!important;overflow:hidden!important;gap:8px!important}
.admin-body #sidebar .nav-item{flex:1 1 0!important;min-width:0!important;max-width:180px!important}
.admin-more-sheet{display:grid;gap:18px}.admin-more-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.admin-more-head h2{margin:0 0 5px}.admin-more-head p{margin:0;color:var(--muted);font-size:13px}.admin-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.admin-more-grid button{min-height:78px;border:1px solid var(--line);border-radius:14px;background:#fffaf5;padding:13px 14px;display:grid;gap:5px;text-align:left;color:var(--text)}.admin-more-grid button:hover{background:#f8ede7;border-color:#dfc7c0}.admin-more-grid b{font-size:14px}.admin-more-grid small{font-size:11px;color:var(--muted)}.admin-more-logout{width:100%}
@media(max-width:767px){.admin-body #sidebar nav{gap:5px!important}.admin-body #sidebar .nav-item{min-width:0!important;max-width:none!important;padding:0 4px!important;font-size:10px!important}.admin-more-grid{grid-template-columns:1fr 1fr;gap:8px}.admin-more-grid button{min-height:70px;padding:10px}.admin-more-head p{font-size:11px}}

/* 用户端时间选择：半小时按钮网格 */
#app .time-select-panel{padding:22px!important}
#app .time-select-heading{display:flex;align-items:center;gap:12px;margin-bottom:18px}
#app .time-select-heading>span{width:34px;height:34px;display:grid;place-items:center;flex:none;border-radius:10px;background:var(--rose,#c58f91);color:#fff;font-size:16px;font-weight:900;box-shadow:0 7px 16px rgba(197,143,145,.2)}
#app .time-select-heading h2{margin:0 0 3px;font-size:20px}
#app .time-select-heading p{margin:0;color:var(--muted);font-size:12px}
#app .time-choice-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
#app .time-choice{min-height:48px;border:1px solid #eadfd8;border-radius:14px;background:#fffdf9;color:#4c4541;display:grid;place-items:center;padding:6px;transition:transform .15s,border-color .15s,background .15s,box-shadow .15s}
#app .time-choice b{font-size:14px;line-height:1}
#app .time-choice small{font-size:9px;line-height:1;color:#9a8f88}
#app .time-choice.available:hover{border-color:var(--rose);background:#fff4f1;box-shadow:0 7px 16px rgba(197,143,145,.1);transform:translateY(-1px)}
#app .time-choice.available:active{transform:scale(.96)}
#app .time-choice.occupied{cursor:not-allowed;background:#f1ede8;border-color:#e5ddd5;color:#aaa19a;box-shadow:none}
#app .time-choice.occupied.mine{background:#f4e7e5;border-color:#e8ceca;color:#8e6667}
@media(max-width:767px){#app .time-select-panel{padding:15px!important}#app .time-select-heading{gap:10px;margin-bottom:14px}#app .time-select-heading>span{width:30px;height:30px;border-radius:9px;font-size:14px}#app .time-select-heading h2{font-size:18px}#app .time-select-heading p{font-size:10px}#app .time-choice-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}#app .time-choice{min-height:43px;border-radius:12px;padding:5px 2px}#app .time-choice b{font-size:12px}#app .time-choice small{font-size:8px}}
@media(max-width:350px){#app .time-choice-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}


.selected-time-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid #eadfd8;border-radius:12px;background:#fff8f3}.selected-time-summary small{color:var(--muted);font-size:12px}.selected-time-summary strong{font-size:14px;color:#6f5355}

/* 用户预约：款式图片与备注 */
.appointment-extra-fields{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:12px}.style-upload-button{min-height:92px;border:1.5px dashed #ddc8c0;border-radius:14px;background:#fff9f5;color:#665b55;display:grid;place-items:center;align-content:center;gap:3px;padding:12px}.style-upload-button span{width:28px;height:28px;border-radius:9px;background:#f1dedb;color:#94686a;display:grid;place-items:center;font-size:18px}.style-upload-button b{font-size:13px}.style-upload-button small{font-size:10px;color:var(--muted)}.style-upload-button:disabled{opacity:.6}.style-image-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:8px}.style-image-preview:empty{display:none}.style-image-preview figure{position:relative;margin:0;min-width:0}.style-image-preview img{display:block;width:100%;height:92px;object-fit:cover;border-radius:10px;border:1px solid var(--line)}.style-image-preview button{position:absolute;right:5px;top:5px;border:0;border-radius:8px;background:rgba(55,45,40,.76);color:#fff;padding:4px 6px;font-size:9px}.appointment-extra-fields textarea{min-height:92px!important;resize:vertical}
@media(max-width:767px){.appointment-extra-fields{grid-template-columns:1fr}.style-upload-button{min-height:76px}.style-image-preview img{height:88px}.appointment-extra-fields textarea{min-height:78px!important}}

/* 消息提醒始终显示在弹窗之上 */
#toast{position:fixed!important;z-index:3000!important;top:max(14px,env(safe-area-inset-top,0px))!important;right:14px!important;left:auto!important;display:grid!important;gap:8px!important;pointer-events:none!important}
#toast .toast{position:relative!important;max-width:min(360px,calc(100vw - 28px))!important;pointer-events:auto!important;box-shadow:0 12px 32px rgba(45,37,33,.25)!important;border:1px solid rgba(255,255,255,.16)!important}
@media(max-width:767px){#toast{left:50%!important;right:auto!important;transform:translateX(-50%)!important;width:calc(100vw - 24px)!important;justify-items:center!important}#toast .toast{width:auto!important;max-width:100%!important;text-align:center!important}}

/* 管理端预约详情：用户款式图片 */
.calendar-detail-images{margin-top:14px;padding:13px;border:1px solid var(--line);border-radius:15px;background:#fffaf5}.calendar-detail-section-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.calendar-detail-section-title strong{font-size:13px}.calendar-detail-section-title span{font-size:10px;color:var(--muted);background:#f1e8e1;border-radius:999px;padding:4px 8px}.calendar-detail-image-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.calendar-detail-image-grid button{padding:0;border:0;border-radius:11px;overflow:hidden;background:#eee;aspect-ratio:1;cursor:zoom-in}.calendar-detail-image-grid img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .18s}.calendar-detail-image-grid button:hover img{transform:scale(1.04)}.calendar-detail-images.empty p{margin:0;color:var(--muted);font-size:12px}.style-image-lightbox{position:relative;display:grid;gap:14px}.style-image-lightbox>img{display:block;max-width:100%;max-height:65vh;margin:auto;border-radius:14px;object-fit:contain;background:#f2ebe5}.style-image-lightbox-close{position:absolute;right:8px;top:8px;width:34px;height:34px;border:0;border-radius:50%;background:rgba(36,30,27,.72);color:#fff;font-size:22px;z-index:2}.style-image-lightbox .btn{display:grid;place-items:center;text-decoration:none}
@media(max-width:767px){.calendar-detail-image-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.calendar-detail-images{padding:10px}.style-image-lightbox>img{max-height:60vh}}

/* 管理端统一控件与会员页 */
.admin-body .btn{min-height:42px;border-radius:11px;padding:0 16px;font-size:13px;font-weight:750;line-height:1;box-shadow:none;transition:background .16s,border-color .16s,transform .12s,box-shadow .16s}.admin-body .btn:hover{transform:translateY(-1px);box-shadow:0 6px 14px rgba(74,57,48,.1)}.admin-body .btn:active{transform:scale(.97)}.admin-body .btn:focus-visible,.admin-body button:focus-visible{outline:3px solid rgba(197,143,145,.25);outline-offset:2px}.admin-body .btn:disabled{opacity:.55;cursor:not-allowed;transform:none}.admin-body .btn.sm{min-height:36px;border-radius:9px;padding:0 11px;font-size:12px}.admin-body .btn.primary{background:#bd8588;color:#fff}.admin-body .btn.primary:hover{background:#ae777a}.admin-body .btn.soft{background:#f1e9e2;color:#594f49;border:1px solid #e4d9d0}.admin-body .btn.sage{background:#e0eadb;color:#53624b;border:1px solid #cfddc8}.admin-body .btn.danger{background:#f6e4e1;color:#934f4f;border:1px solid #ebceca}
.admin-body .month-actions{display:grid;grid-template-columns:44px 62px 44px;gap:7px;align-items:center}.admin-body .month-actions button{width:auto!important;min-width:0!important;height:42px!important;min-height:42px!important;border-radius:11px!important;border:1px solid #ded3ca!important;background:#fffaf5!important;color:#4f4742!important;font-size:16px!important;font-weight:800!important;box-shadow:none!important}.admin-body .month-actions button[data-today]{font-size:13px!important}.admin-body .month-actions button:hover{background:#f2e8e1!important;border-color:#d2c2b8!important}.admin-body .modal-x{position:absolute!important;right:16px!important;top:16px!important;width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;border:1px solid #ded3ca!important;border-radius:12px!important;background:#fffaf5!important;color:#514943!important;font-size:0!important;line-height:1!important;display:grid!important;place-items:center!important;z-index:4!important}.admin-body .modal-x:after{content:'×';font-size:24px;font-weight:400;line-height:1}.admin-body .modal-box{padding-top:26px!important}.admin-body .modal-box>.modal-x+#modalBody>.calendar-detail,.admin-body .modal-box>.modal-x+#modalBody>.style-image-lightbox{padding-top:12px}
.member-toolbar{display:flex;gap:10px;align-items:center;margin:0 0 18px}.member-search-wrap{position:relative;flex:1;min-width:0}.member-search-wrap>span{position:absolute;left:14px;top:50%;transform:translateY(-50%);font-size:20px;color:#8a7e76;pointer-events:none}.member-search-wrap .search{width:100%;padding-left:42px;background:#fffdf9;border-color:#ded5cd}.member-grid{align-items:start}.member-empty{grid-column:1/-1;min-height:240px;border:1px dashed #dacdc3;border-radius:16px;background:#fffaf5;display:grid;place-items:center;align-content:center;text-align:center;padding:32px}.member-empty b{font-size:19px}.member-empty p{margin:7px 0 18px;color:var(--muted);font-size:13px}.modal-title-block{padding-right:48px;margin-bottom:18px}.modal-title-block>span{font-size:11px;font-weight:800;color:#9a6b6d;letter-spacing:.12em}.modal-title-block h2{margin:5px 0 3px!important}.modal-title-block p{margin:0;color:var(--muted);font-size:12px}.form-grid.two{display:grid;grid-template-columns:1fr 1fr;gap:13px}.member-create-form textarea{min-height:80px}
@media(max-width:767px){.admin-body .btn{min-height:42px!important;padding:0 13px!important;font-size:12px!important}.admin-body .btn.sm{min-height:38px!important}.admin-body .month-actions{grid-template-columns:42px 58px 42px;gap:6px;width:max-content}.admin-body .month-actions button{height:42px!important;min-height:42px!important}.booking-calendar-toolbar{align-items:flex-start!important}.booking-calendar-toolbar .month-actions{margin-left:auto}.admin-body .modal-x{right:12px!important;top:12px!important;width:40px!important;height:40px!important}.member-toolbar{align-items:stretch}.member-toolbar .btn{flex:none}.form-grid.two{grid-template-columns:1fr}.member-empty{min-height:210px;padding:24px}.admin-today-actions .btn{min-height:38px!important;min-width:48px!important}}

/* 管理端消息提示避开页面主操作区 */
.admin-body #toast{top:auto!important;bottom:96px!important;right:18px!important;left:auto!important;transform:none!important;width:auto!important;justify-items:end!important}.admin-body #toast .toast{max-width:min(360px,calc(100vw - 36px))!important}
@media(max-width:767px){.admin-body #toast{top:auto!important;bottom:96px!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;width:calc(100vw - 24px)!important;justify-items:center!important}}
