/* V914 — visual uniform across secondary admin pages. Existing sidebar and approved Front Desk left unchanged. */
:root{--c14-navy:#102D46;--c14-green:#A9D9D3;--c14-petrol:#326F80;--c14-blue:#A9C9DC;--c14-teal:#4C9A98;--c14-border:#D3E2E9;}
/* The only valid exception to navy lettering is text within dark petroleum-colored buttons/bars. */
#section-services,#section-events,#section-people,#section-giftcards,#section-business,#section-marketing,#section-system{color:var(--c14-navy)!important;background:#fff!important;font-size:15px!important;line-height:1.5!important;}
#section-services :is(input,select,textarea,button),#section-events :is(input,select,textarea,button),#section-people :is(input,select,textarea,button),#section-giftcards :is(input,select,textarea,button),#section-business :is(input,select,textarea,button),#section-marketing :is(input,select,textarea,button),#section-system :is(input,select,textarea,button){font-size:14px;max-width:100%;}
#section-services :is(input,select,textarea),#section-events :is(input,select,textarea),#section-people :is(input,select,textarea),#section-giftcards :is(input,select,textarea),#section-business :is(input,select,textarea),#section-marketing :is(input,select,textarea),#section-system :is(input,select,textarea){min-height:42px;border-radius:8px;}
#section-services :is(.panel,.admin-module-card),#section-events .panel,#section-people :is(.customer-directory-card,.admin-module-card),#section-giftcards :is(.gift-workspace,.gift-directory-card),#section-business .business-master-card,#section-marketing :is(.panel,.admin-module-card),#section-system :is(.panel,.admin-module-card){box-shadow:0 3px 16px rgba(16,45,70,.07)!important;border:1px solid var(--c14-border)!important;border-radius:14px!important;overflow:visible;}
/* Unified mint service headers, with navy labels. */
#section-events > .events-page-head,#section-people .customer-directory-card > .directory-head,#section-giftcards .gift-page-head,#section-business .business-hero-head,#section-marketing .admin-group-module > .admin-module-heading,#section-system .admin-group-module > .admin-module-heading,#section-marketing .admin-group-page-head,#section-system .admin-group-page-head{background:var(--c14-green)!important;color:var(--c14-navy)!important;min-height:68px!important;border-radius:13px 13px 0 0!important;display:flex!important;align-items:center!important;padding:16px 22px!important;gap:14px!important;border-bottom:1px solid #8CBEB8!important;}
#section-events > .events-page-head h2,#section-people .directory-head h2,#section-giftcards .gift-page-head h2,#section-business .business-hero-head h2,#section-marketing .admin-module-heading h2,#section-system .admin-module-heading h2{font-size:24px!important;line-height:1.25!important;font-weight:800!important;color:var(--c14-navy)!important;margin:0!important;}
/* Secondary headers use serene blue; never let headings collide with content. */
#section-events .events-table-head,#section-people .customer-more-filters,#section-giftcards .gift-directory-card thead,#section-giftcards .gift-directory-card thead th,#section-marketing .subpanel > .panel-head,#section-marketing .admin-group-module .panel-head,#section-system .admin-group-module .panel-head,#section-business .business-table-head{background:var(--c14-blue)!important;color:var(--c14-navy)!important;}
/* Teal actions, navy copy, and accessible interaction states. */
#section-events .action-btn:not(.secondary),#section-people .directory-head .action-btn,#section-giftcards .gift-page-actions .action-btn:not(.secondary),#section-marketing .action-btn:not(.secondary),#section-system .action-btn:not(.secondary){background:var(--c14-teal)!important;border-color:var(--c14-teal)!important;color:#fff!important;border-radius:9px!important;font-weight:750!important;}
#section-events button:focus-visible,#section-people button:focus-visible,#section-giftcards button:focus-visible,#section-business button:focus-visible,#section-marketing button:focus-visible,#section-system button:focus-visible{outline:3px solid #227A86!important;outline-offset:3px!important;}
/* EVENTS: spacious rows and no cramped actions. */
#section-events .events-list-panel{margin-top:18px!important;background:#fff!important;overflow:hidden!important;}
#section-events .events-table-wrap{width:100%;overflow-x:auto!important;}
#section-events .events-table-head{min-height:46px!important;padding:12px 18px!important;font-size:13px!important;font-weight:800!important;}
#section-events .events-table-wrap > :not(.events-table-head){min-width:0;}
#section-events .events-list-panel button{min-height:39px;white-space:normal;}
/* CUSTOMERS: ONE readable directory, no 2-column crowded phone/name matrix. */
#section-people .customer-workspace{background:#fff!important;border-radius:14px!important;}
#section-people .customer-directory-card{background:#fff!important;overflow:hidden!important;}
#section-people .customer-filters{background:#fff!important;padding:18px 22px!important;display:flex!important;flex-wrap:wrap!important;gap:12px!important;align-items:center!important;}
#section-people .customer-workspace-grid{padding:0 22px 22px!important;display:block!important;}
#section-people .customer-work-list{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:7px!important;background:#fff!important;}
#section-people .customer-work-item{display:flex!important;width:100%!important;min-width:0!important;align-items:center!important;gap:16px!important;padding:13px 18px!important;border:1px solid var(--c14-border)!important;border-radius:11px!important;background:#F8FCFD!important;color:var(--c14-navy)!important;line-height:1.35!important;min-height:76px!important;text-align:left!important;}
#section-people .customer-work-item:hover,#section-people .customer-work-item:focus-visible{background:#E8F5F4!important;border-color:#6BA9AA!important;}
#section-people .customer-work-avatar{width:46px!important;height:46px!important;flex:0 0 46px!important;font-size:16px!important;border-radius:12px!important;display:grid!important;place-items:center!important;}
#section-people .customer-work-info{min-width:0!important;flex:1!important;display:flex!important;flex-direction:column!important;gap:2px!important;}
#section-people .customer-work-info strong{font-size:16px!important;letter-spacing:0!important;color:var(--c14-navy)!important;}
#section-people .customer-work-info small,#section-people .customer-work-meta{font-size:13px!important;color:#45677A!important;}
#section-people .customer-work-chevron{font-size:22px!important;color:var(--c14-petrol)!important;flex-shrink:0!important;}
#section-people .customer-detail-panel{border:1px solid var(--c14-border)!important;border-radius:12px!important;padding:16px!important;background:#fff!important;}
/* GIFT CERTIFICATES: four equal KPI cards and readable record table. */
#section-giftcards .gift-workspace{background:#fff!important;padding:0 0 18px!important;overflow:hidden!important;}
#section-giftcards .gift-page-head{margin:0!important;}
#section-giftcards .gift-stats{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;margin:18px 20px!important;padding:0!important;}
#section-giftcards .gift-stat{min-width:0!important;min-height:102px!important;padding:16px!important;background:#E6F1F3!important;border:1px solid var(--c14-border)!important;border-radius:12px!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:5px!important;box-shadow:none!important;}
#section-giftcards .gift-stat :is(b,strong){font-size:24px!important;font-weight:800!important;color:var(--c14-navy)!important;}
#section-giftcards .gift-stat :is(small,span){color:#33576B!important;}
#section-giftcards .gift-directory-card{background:#fff!important;margin:12px 20px!important;overflow:auto!important;}
#section-giftcards .gift-filters{display:flex!important;flex-wrap:wrap!important;gap:12px!important;align-items:center!important;padding:16px!important;}
#section-giftcards #giftCardsTable{overflow-x:auto!important;font-size:15px!important;}
#section-giftcards #giftCardsTable table{width:100%!important;border-collapse:separate!important;border-spacing:0!important;}
#section-giftcards #giftCardsTable :is(td,th){padding:12px!important;font-size:14px!important;vertical-align:middle!important;}
#section-giftcards #giftCardsTable th{background:var(--c14-blue)!important;color:var(--c14-navy)!important;}
#section-giftcards #giftCardsTable tr:nth-child(even){background:#F3F9FA!important;}
/* Marketing & Settings: consistent separated card modules, not empty giant blocks. */
#section-marketing,#section-system{padding-bottom:28px!important;}
#section-marketing > .admin-group-module,#section-system > .admin-group-module{margin-top:16px!important;overflow:hidden!important;background:#fff!important;}
#section-marketing .admin-group-module-body,#section-system .admin-group-module-body{background:#fff!important;padding:18px 20px!important;min-width:0!important;}
#section-marketing :is(.primary-metrics,.compact-cards),#section-system :is(.primary-metrics,.compact-cards){display:flex!important;flex-wrap:wrap!important;gap:12px!important;}
#section-marketing .metric,#section-system .metric{flex:1 1 185px!important;min-width:185px!important;max-width:100%!important;background:#E6F1F3!important;border:1px solid var(--c14-border)!important;border-radius:12px!important;padding:14px 18px!important;box-shadow:none!important;}
#section-marketing .metric strong,#section-system .metric strong{font-size:22px!important;color:var(--c14-navy)!important;}
#section-marketing .panel.subpanel,#section-system .panel{margin-top:14px!important;overflow:hidden!important;}
#section-marketing :is(.toolbar,.campaign-grid),#section-system :is(.toolbar,.settings-list){max-width:100%!important;min-width:0!important;}
#section-system .settings-list > *{min-width:0!important;overflow-wrap:anywhere!important;}
/* Existing signed records: accessible only when owner intentionally expands archive in Settings. */
#section-system .celebrate-waiver-archive{margin-top:18px!important;border:1px solid var(--c14-border)!important;border-radius:12px!important;overflow:hidden!important;background:#fff!important;}
#section-system .celebrate-waiver-archive > summary{cursor:pointer;padding:20px!important;background:var(--c14-green)!important;color:var(--c14-navy)!important;font-size:18px!important;font-weight:800!important;}
#section-system .celebrate-waiver-archive[open] > .waiver-directory{display:block!important;max-width:100%!important;padding:18px!important;box-shadow:none!important;border:0!important;}
#section-system .waiver-directory :is(input,select){max-width:100%!important;}
/* Responsive: no clipped cards, no min-width overflow. */
@media(max-width:1050px){#section-giftcards .gift-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;}}
@media(max-width:680px){#section-giftcards .gift-stats{grid-template-columns:minmax(0,1fr)!important;}#section-people .customer-filters{display:grid!important;grid-template-columns:1fr!important;}#section-events .events-table-wrap{overflow:auto!important;}#section-people .customer-work-item{padding:12px!important;}}
