/* V952: Front Desk-based interface system across the OTHER pages only.
   Root CSS is within admin-layout (later cascade layer than legacy admin-design).
   Front Desk operational markup and styles are untouched. */
@layer admin-design {
:root{--celebrate-ink:#102d46;--celebrate-teal:#aedfdf;--celebrate-border:#bfd3e6;--celebrate-muted:#537087;--celebrate-bg:#e8f0f7;}
body#celebrate-admin #appView .main{background:var(--celebrate-bg)!important;padding:20px 18px 30px!important;font-size:14px!important;line-height:1.45!important}
body#celebrate-admin #appView .main>.section:not(#section-frontdesk){width:100%!important;max-width:100%!important;padding:0!important;margin:0!important;min-width:0!important;background:transparent!important;box-shadow:none!important}
/* The Front Desk is the design source; other sections get the same compact bordered surface. */
body#celebrate-admin #appView .main>.section:not(#section-frontdesk) :is(.customer-directory-card,.gift-workspace,.business-master-card,.events-list-panel,.marketing-page-head,.settings-v919-hero,.admin-group-module,.gift-directory-card,.business-table-workspace){box-shadow:none!important;max-width:100%!important;min-width:0!important}
/* Page titles become restrained, operational headers with no giant navy hero. */
body#celebrate-admin #appView #section-people .directory-head,
body#celebrate-admin #appView #section-giftcards .gift-page-head,
body#celebrate-admin #appView #section-business .business-hero-head,
body#celebrate-admin #appView #section-events .events-page-head,
body#celebrate-admin #appView #section-marketing .marketing-page-head>.panel-head,
body#celebrate-admin #appView #section-system .settings-v919-hero>.panel-head,
body#celebrate-admin #appView #section-services .admin-module-heading{
 display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;flex-wrap:wrap!important;
 background:linear-gradient(110deg,#c9efed,#ade3e1)!important;border:0!important;border-bottom:1px solid #91c9cb!important;
 border-radius:11px 11px 0 0!important;padding:13px 18px!important;min-height:56px!important;margin:0!important;box-shadow:none!important;color:var(--celebrate-ink)!important;
}
body#celebrate-admin #appView #section-people .directory-head h2,
body#celebrate-admin #appView #section-giftcards .gift-page-head h2,
body#celebrate-admin #appView #section-business .business-hero-head h1,
body#celebrate-admin #appView #section-events .events-page-head h2,
body#celebrate-admin #appView #section-marketing .marketing-page-head h2,
body#celebrate-admin #appView #section-system .settings-v919-hero h2,
body#celebrate-admin #appView #section-services .admin-module-heading h2{
 font-size:22px!important;font-weight:800!important;line-height:1.25!important;letter-spacing:-.3px!important;color:var(--celebrate-ink)!important;margin:0!important;
}
/* Functional surfaces not giant decorative cards. */
body#celebrate-admin #appView #section-people .customer-directory-card,
body#celebrate-admin #appView #section-giftcards .gift-workspace,
body#celebrate-admin #appView #section-business .business-master-card,
body#celebrate-admin #appView #section-services .admin-module-card,
body#celebrate-admin #appView #section-events .events-list-panel,
body#celebrate-admin #appView #section-marketing .marketing-page-head,
body#celebrate-admin #appView #section-system .settings-v919-hero{
 background:#fff!important;border:1px solid var(--celebrate-border)!important;border-radius:12px!important;box-shadow:0 3px 8px #18385812!important;overflow:hidden!important;margin:0 0 14px!important;padding:0!important;
}
body#celebrate-admin #appView #section-people .customer-filters,
body#celebrate-admin #appView #section-giftcards .gift-filters,
body#celebrate-admin #appView #section-business .v926-business-tabs,
body#celebrate-admin #appView #section-services .admin-group-module-body>.panel>.panel-head{
 background:#fff!important;border:0!important;border-bottom:1px solid #d5e5ec!important;padding:13px 16px!important;margin:0!important;box-shadow:none!important;
}
body#celebrate-admin #appView #section-services .admin-group-module-body{padding:16px!important;background:#fff!important}
body#celebrate-admin #appView #section-business .business-master-content{padding:14px!important;background:#fff!important}
body#celebrate-admin #appView #section-giftcards .gift-directory-card{margin:12px 16px 16px!important;border:1px solid #d2e3e9!important;border-radius:9px!important;overflow:hidden!important;background:#fff!important;padding:0!important}
body#celebrate-admin #appView #section-giftcards .gift-physical-heading,
body#celebrate-admin #appView #section-giftcards .gift-online-heading,
body#celebrate-admin #appView #section-business .business-table-head,
body#celebrate-admin #appView #section-system :is(.panel-head,.settings-group-title){
 background:#e0f2f0!important;padding:12px 16px!important;border:0!important;border-bottom:1px solid #b6d8d5!important;min-height:44px!important;border-radius:0!important;
}
/* Consistent readable controls match Front Desk, without impacting it. */
body#celebrate-admin #appView .main>.section:not(#section-frontdesk) :is(input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]),select){height:auto!important;min-height:40px!important;max-height:none!important;padding:9px 12px!important;border:1px solid #b9cde0!important;border-radius:7px!important;background:#fff!important;color:#16334c!important;font-size:14px!important;line-height:1.35!important;box-shadow:none!important;max-width:100%!important;min-width:0!important}
body#celebrate-admin #appView .main>.section:not(#section-frontdesk) textarea{font-size:14px!important;line-height:1.5!important;padding:10px 12px!important;min-height:85px!important;border-radius:7px!important}
body#celebrate-admin #appView .main>.section:not(#section-frontdesk) :is(.action-btn,button:not(.nav-btn)){min-height:36px!important;height:auto!important;font-size:13px!important;line-height:1.3!important;padding:8px 12px!important;border-radius:7px!important}
body#celebrate-admin #appView .main>.section:not(#section-frontdesk) :is(label,.panel-subtitle,.muted-line){font-size:13px!important;line-height:1.45!important}
/* Customers: directory rows visible and aligned; details on demand. */
body#celebrate-admin #appView #section-people #customersTable{background:#fff!important;padding:0 16px 12px!important}
body#celebrate-admin #appView #section-people .customer-work-item{min-height:61px!important;height:auto!important;padding:10px 6px!important;border-bottom:1px solid #d6e5ed!important;grid-template-columns:minmax(0,1fr) 95px 18px!important;gap:10px!important;background:#fff!important;box-shadow:none!important;border-radius:0!important}
body#celebrate-admin #appView #section-people .customer-work-info strong{font-size:15px!important;line-height:1.3!important}
body#celebrate-admin #appView #section-people .customer-work-contact{font-size:12.5px!important;line-height:1.4!important}
body#celebrate-admin #appView #section-people .customer-detail-panel{background:#fff!important;border:1px solid #bfd3e6!important;border-radius:10px!important;padding:14px!important;box-shadow:none!important}
/* Gift Certificates: summary as one compact status strip, no four big cards. */
body#celebrate-admin #appView #section-giftcards .gift-stats{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;margin:0!important;padding:10px 15px!important;background:#fff!important;border-bottom:1px solid #dae8ee!important}
body#celebrate-admin #appView #section-giftcards .gift-stat{display:flex!important;flex-direction:row!important;align-items:center!important;gap:9px!important;min-height:48px!important;padding:5px 14px!important;border:0!important;border-right:1px solid #deeaef!important;border-radius:0!important;background:#fff!important;box-shadow:none!important}
body#celebrate-admin #appView #section-giftcards .gift-stat:last-child{border-right:0!important}
body#celebrate-admin #appView #section-giftcards .gift-stat>span{display:none!important}
body#celebrate-admin #appView #section-giftcards .gift-stat>div{display:flex!important;align-items:baseline!important;gap:8px!important;flex-wrap:wrap!important}
body#celebrate-admin #appView #section-giftcards .gift-stat strong{font-size:17px!important;font-weight:800!important;color:#10334b!important;line-height:1.3!important}
body#celebrate-admin #appView #section-giftcards .gift-stat small{font-size:12px!important;color:#4d6978!important;line-height:1.3!important}
body#celebrate-admin #appView #section-giftcards :is(.gift-physical-heading h3,.gift-online-heading h3){font-size:16px!important;font-weight:800!important;color:#102d46!important;margin:0!important}
/* Finance: compact tabs and totals, honor operational figures. */
body#celebrate-admin #appView #section-business .v926-business-tabs{display:flex!important;gap:8px!important;flex-wrap:wrap!important}
body#celebrate-admin #appView #section-business .v926-business-tab{flex:1 1 125px!important;min-height:40px!important;padding:9px 12px!important;font-size:14px!important;font-weight:700!important;border:1px solid #bfd3e6!important;border-radius:7px!important;background:#eaf3f6!important;color:#17374d!important}
body#celebrate-admin #appView #section-business .v926-business-tab.active{background:#087f87!important;color:#fff!important;border-color:#087f87!important}
body#celebrate-admin #appView #section-business .v951-day-summary{background:#fff!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;border-top:1px solid #d7e5eb!important;margin-top:10px!important;padding:10px 0!important;gap:0!important}
body#celebrate-admin #appView #section-business .v951-day-summary>div{padding:5px 12px!important;display:flex!important;flex-wrap:wrap!important;align-items:baseline!important;justify-content:space-between!important;gap:6px!important;background:transparent!important;border:0!important;border-right:1px solid #dce7ed!important;min-height:0!important}
body#celebrate-admin #appView #section-business .v951-day-summary>div:last-child{border-right:0!important}
body#celebrate-admin #appView #section-business .v951-day-summary strong{font-size:16px!important}
body#celebrate-admin #appView #section-business .v951-month-summary{display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:wrap!important;gap:10px 20px!important;background:#102d46!important;color:#fff!important;padding:13px 16px!important;border-radius:8px!important;margin:12px 0!important}
body#celebrate-admin #appView #section-business .v951-month-heading{font-size:16px!important;font-weight:800!important}
body#celebrate-admin #appView #section-business .v951-month-values{display:flex!important;gap:10px 17px!important;flex-wrap:wrap!important;align-items:center!important}
body#celebrate-admin #appView #section-business .v951-month-values span{font-size:13px!important;white-space:nowrap!important}
body#celebrate-admin #appView #section-business .v951-month-values b{font-size:14px!important}
body#celebrate-admin #appView #section-business .v951-month-net{border-radius:6px!important;padding:6px 10px!important;background:#07858b!important}
/* Booking responses: grouped, not a two-column wall of gray tiles. */
body#celebrate-admin #appView #section-services .v950-form-review{padding:18px 20px!important;border:1px solid #ccdfeb!important;border-radius:10px!important;background:#fff!important}
body#celebrate-admin #appView #section-services .v950-form-review .v950-answer-section{margin:0 0 22px!important;padding:0!important;background:none!important;border:0!important}
body#celebrate-admin #appView #section-services .v950-form-review .v950-answer-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px 24px!important}
body#celebrate-admin #appView #section-services .v950-form-review .v950-answer{background:none!important;border:0!important;border-bottom:1px solid #e1ebf1!important;border-radius:0!important;padding:0 0 11px!important;min-height:0!important;box-shadow:none!important}
body#celebrate-admin #appView #section-services .v950-form-review .v950-answer dt{font-size:12px!important;color:#597587!important}
body#celebrate-admin #appView #section-services .v950-form-review .v950-answer dd{font-size:15px!important;line-height:1.45!important;color:#102d46!important}
body#celebrate-admin #appView #section-services .party-prep-inline .prep-fields{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px 22px!important}
body#celebrate-admin #appView #section-services .party-prep-inline .prep-fields>label{display:flex!important;flex-direction:column!important;gap:7px!important;font-size:14px!important}
body#celebrate-admin #appView #section-services .party-prep-inline :is(input,select,textarea){font-size:14px!important;min-height:40px!important}
/* Marketing and Settings: readable rows and purposeful sections, not oversized metric tiles. */
body#celebrate-admin #appView #section-marketing .compact-cards{display:flex!important;gap:0!important;flex-wrap:wrap!important;padding:10px 16px!important;margin:0!important;border-bottom:1px solid #d5e5ed!important}
body#celebrate-admin #appView #section-marketing .compact-cards>.metric{display:flex!important;align-items:baseline!important;gap:10px!important;min-width:140px!important;min-height:0!important;padding:8px 15px!important;border:0!important;border-right:1px solid #d9e6eb!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
body#celebrate-admin #appView #section-marketing .compact-cards>.metric strong{font-size:18px!important}
body#celebrate-admin #appView #section-system .settings-row{padding:11px 12px!important;min-height:45px!important;border-bottom:1px solid #e0e9ef!important}
body#celebrate-admin #appView #section-system .settings-row :is(b,strong){font-size:14px!important}
body#celebrate-admin #appView #section-system .settings-row small{font-size:12px!important;line-height:1.45!important}
/* Modal editors are separate from #appView. Keep them readable and compact. */
body#celebrate-admin #adminModal .modal-card{width:min(920px,calc(100vw - 30px))!important;max-width:920px!important;background:#fff!important}
body#celebrate-admin #adminModal .modal-body{padding:20px 22px!important}
body#celebrate-admin #adminModal .form-grid{gap:15px 20px!important}
body#celebrate-admin #adminModal :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select){font-size:14px!important;line-height:1.35!important;min-height:41px!important;max-height:none!important;height:auto!important;padding:9px 12px!important}
body#celebrate-admin #adminModal textarea{font-size:14px!important;line-height:1.5!important;min-height:92px!important;padding:10px 12px!important}
body#celebrate-admin #adminModal label{font-size:14px!important;line-height:1.4!important;gap:7px!important}
@media(max-width:900px){
 body#celebrate-admin #appView #section-giftcards .gift-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body#celebrate-admin #appView #section-giftcards .gift-stat:nth-child(2){border-right:0!important}
 body#celebrate-admin #appView #section-business .v951-day-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body#celebrate-admin #appView #section-business .v951-day-summary>div:nth-child(2){border-right:0!important}
}
@media(max-width:700px){
 body#celebrate-admin #appView .main{padding:12px!important}
 body#celebrate-admin #appView #section-services .v950-form-review .v950-answer-grid,
 body#celebrate-admin #appView #section-services .party-prep-inline .prep-fields{grid-template-columns:1fr!important}
 body#celebrate-admin #appView #section-people .customer-work-item{grid-template-columns:minmax(0,1fr) auto!important}
 body#celebrate-admin #appView #section-people .customer-work-chevron{display:none!important}
 body#celebrate-admin #appView #section-people .customer-work-visits{grid-column:2!important;grid-row:1!important}
 body#celebrate-admin #appView #section-giftcards .gift-stats{padding:8px!important}
 body#celebrate-admin #appView #section-giftcards .gift-stat{padding:8px!important}
 body#celebrate-admin #appView #section-giftcards .gift-stat>div{display:block!important}
 body#celebrate-admin #appView #section-business .business-master-content{padding:9px!important}
 body#celebrate-admin #adminModal .modal-body{padding:12px!important}
}
}
/* Critical legacy Front Desk stylesheet included global selectors outside #section-frontdesk.
   Their !important rules occupy the earlier 'frontdesk' layer. Override ONLY other pages
   in the same layer, leaving #section-frontdesk completely untouched. */
@layer frontdesk {
body#celebrate-admin #appView .main #section-business#section-business .business-hero-head,
body#celebrate-admin #appView .main #section-services#section-services .admin-module-heading{
 background:#b5e5e2!important;background-image:linear-gradient(110deg,#c9efed,#ade3e1)!important;
 border:0!important;border-bottom:1px solid #91c9cb!important;border-radius:11px 11px 0 0!important;
 padding:13px 18px!important;min-height:56px!important;box-shadow:none!important;color:#102d46!important;
}
body#celebrate-admin #appView .main #section-business#section-business .business-hero-head :is(h1,h2,label),
body#celebrate-admin #appView .main #section-services#section-services .admin-module-heading h2{
 color:#102d46!important;-webkit-text-fill-color:#102d46!important;font-size:22px!important;line-height:1.3!important;font-weight:800!important;
}
}
