/* Box identity changes accents only; community and personal tools keep AGLET. */
body[data-box-theme]{--color-accent:var(--box-accent);--color-accent-hover:var(--box-hover);--lime:var(--box-accent)}
body[data-box-theme] .btn.lime,body[data-box-theme] .wod-actions .btn:not(.outline),body[data-box-theme][data-workspace="box"] .nav-item.active{background:var(--box-accent);border-color:var(--box-accent);color:var(--box-foreground)}
body[data-box-theme] .btn.lime:hover,body[data-box-theme] .wod-actions .btn:not(.outline):hover{background:var(--box-hover)}
body[data-box-theme][data-workspace="box"] .nav-item.active .icon,body[data-box-theme][data-workspace="box"] .nav-item.active .nav-icon{color:var(--box-foreground)}
body[data-box-theme] .chip.active,body[data-box-theme] .tabs .active,body[data-box-theme] .box-settings-tabs a.active,body[data-box-theme] .booking-today,body[data-box-theme] .class-option.booked,body[data-box-theme] .booking-slot.is-booked{background:var(--box-soft);border-color:var(--box-border);color:var(--box-ink)}
body[data-box-theme] .mobile-nav a.active,body[data-box-theme] .mobile-nav a.active .icon,body[data-box-theme] .mobile-nav a.active .nav-icon{color:var(--box-ink)}
body[data-box-theme] .mobile-nav a.active .icon{background:var(--box-soft);box-shadow:0 0 0 5px var(--box-soft)}
body[data-box-theme] .wod-feature,body[data-box-theme] .flow-highlight,body[data-box-theme] .point-coach-summary,body[data-box-theme] .member-status-strip a{background:var(--box-soft);border-color:var(--box-border)}
body[data-box-theme] .wod-feature h2,body[data-box-theme] .wod-feature pre,body[data-box-theme] .wod-feature .wod-label,body[data-box-theme] .wod-kicker,body[data-box-theme] .flow-highlight,body[data-box-theme] .class-option.booked span,body[data-box-theme] .member-status-strip strong{color:var(--box-ink)}
body[data-box-theme] .wod-feature .wod-rule{background:var(--box-border)}
body[data-box-theme] .field:focus-within,body[data-box-theme] .booking-confirmed{color:var(--box-ink)}
body[data-box-theme] input:focus-visible,body[data-box-theme] textarea:focus-visible,body[data-box-theme] select:focus-visible{outline-color:var(--box-ink)}
body[data-box-theme] input[type=checkbox],body[data-box-theme] input[type=radio]{accent-color:var(--box-ink)}
/* Notes retain their individually selected colors. Errors and rejected states retain red. */
body[data-box-theme] #floating-notes input[type=checkbox]{accent-color:#6f8b38}
body[data-box-theme] .point-wallet span{color:var(--box-border)}
body[data-box-theme] .member-home-primary:not(:disabled){background:var(--box-accent);border-color:var(--box-accent);color:var(--box-foreground)}
body[data-box-theme] .member-home-primary:not(:disabled):hover{background:var(--box-hover)}
body[data-box-theme] .member-home-wod{border-color:var(--box-border)}
body[data-box-theme] .member-home-wod-section strong,body[data-box-theme] .member-home-inquiry,body[data-box-theme] .booking-slot .booking-roster-link{color:var(--box-ink)}
body[data-box-theme] .booking-times>summary,body[data-box-theme] .home-wod-calendar,body[data-box-theme] .booking-roster-person svg{background:var(--box-soft);color:var(--box-ink)}
body[data-box-theme] .member-home-wod[data-home-wod]:focus-visible{outline-color:var(--box-ink)}

/* A quieter identity: neutral workspace, color on actions and small accents. */
body[data-box-theme] .dashboard-head{border-bottom:1px solid var(--box-border);padding-bottom:18px}
body[data-box-theme] .dashboard-head>div:first-child,body[data-box-theme] .member-home-intro>div:first-child{border-left:3px solid var(--box-accent);padding-left:14px}
body[data-box-theme] .dashboard-metric{border-top:2px solid var(--box-border)}
body[data-box-theme] .dashboard-metric:hover{border-color:var(--box-border)}
body[data-box-theme] .dashboard-metric.needs-action,body[data-box-theme] .dashboard-visitor-link.needs-action{background:var(--box-soft);border-color:var(--box-border)}
body[data-box-theme] .dashboard-request-avatar{background:var(--box-soft);color:var(--box-ink)}
body[data-box-theme] .dashboard-wod .eyebrow,body[data-box-theme] .dashboard-wod .text-link,body[data-box-theme] .dashboard-wod-list span{color:var(--box-border)}
body[data-box-theme] .dashboard-box-tabs a.active{background:var(--box-soft);border-color:var(--box-border);color:var(--box-ink)}

/* Box identity belongs in navigation; dashboard cards keep an even border. */
body[data-box-theme][data-workspace="box"] .sidebar{background:var(--box-deep);color:#fff}
body[data-box-theme][data-workspace="box"] .sidebar .brand{color:#fff}
body[data-box-theme] .box-brand-logo{width:34px;height:34px;flex-shrink:0;display:block}
body[data-box-theme][data-workspace="box"] .sidebar .brand-sub{color:var(--box-border);font-size:12px;font-weight:600;letter-spacing:0;line-height:1.6;margin-top:12px;overflow-wrap:anywhere}
body[data-box-theme][data-workspace="box"] .sidebar .nav-caption,body[data-box-theme][data-workspace="box"] .sidebar .admin-nav-section{color:var(--box-border)}
body[data-box-theme][data-workspace="box"] .sidebar .nav-item:not(.active){color:#ffffffd9}
body[data-box-theme][data-workspace="box"] .sidebar .nav-item:hover:not(.active){background:#ffffff12;color:#fff}
body[data-box-theme][data-workspace="box"] .sidebar .side-bottom{border-color:#ffffff22}
body[data-box-theme][data-workspace="box"] .sidebar .side-bottom .tiny{color:#ffffffb3}
body[data-box-theme] .dashboard-metric,body[data-box-theme] .dashboard-metric.needs-action,body[data-box-theme] .dashboard-metric:hover{border:1px solid var(--box-border)}
@media(max-width:700px){body[data-box-theme][data-workspace="box"] .sidebar .brand-sub{display:block;margin-bottom:20px}body[data-box-theme] .box-brand-logo{width:32px;height:32px}}

/* Optional complementary color stays on secondary emphasis. */
body[data-box-theme][data-box-secondary] .chip.active,body[data-box-theme][data-box-secondary] .tabs .active,body[data-box-theme][data-box-secondary] .box-settings-tabs a.active,body[data-box-theme][data-box-secondary] .booking-today,body[data-box-theme][data-box-secondary] .class-option.booked,body[data-box-theme][data-box-secondary] .booking-slot.is-booked,body[data-box-theme][data-box-secondary] .member-management-tabs a.active{background:var(--box-secondary-soft);border-color:var(--box-secondary-border);color:var(--box-secondary-ink)}
body[data-box-theme][data-box-secondary] .dashboard-request-avatar,body[data-box-theme][data-box-secondary] .home-wod-calendar,body[data-box-theme][data-box-secondary] .booking-times>summary{background:var(--box-secondary-soft);color:var(--box-secondary-ink)}

/* Notification indicators share one app-wide color, independent of box branding. */
:root{--aglet-notification-color:#E45454}
.notification-badge,.notification-menu .notification-badge,.notification-dot,.visitor-nav-dot,.visitor-pending-dot,.my-request-dot,.join-alert-dot{background:var(--aglet-notification-color)!important}
