/* Belles & Boots interface finish — single brand pink #AF2447.
   Added after all department CSS so obsolete pink/gray rules cannot win. */
html[data-theme] {
 --bb-pink:#AF2447;
 --theme-brand:#AF2447;
 --theme-brand-solid:#AF2447;
 --maroon:#AF2447;
 accent-color:#AF2447;
}
html[data-theme="dark"] {
 --bg:#000000;--panel:#070707;--panel2:#111111;--stroke:#343434;
 --theme-canvas:#000000;--theme-surface:#070707;--theme-elevated:#111111;
 --theme-border:#383838;--theme-text:#FFFFFF;--theme-muted:#CECECE;
 --theme-hover:#171717;--theme-brand-soft:#1B1015;--theme-highlight:#251118;
 --theme-tan:#D8BFA8;
}
html[data-theme="light"] {
 --bg:#FAF5E8;--panel:#FFFDF8;--panel2:#F2EBDD;--stroke:#C3B5A1;
 --theme-canvas:#FAF5E8;--theme-surface:#FFFDF8;--theme-elevated:#F2EBDD;
 --theme-border:#C3B5A1;--theme-text:#41291F;--theme-muted:#625044;
 --theme-hover:#F6EAE9;--theme-brand-soft:#F7E7EC;--theme-highlight:#F4DCE2;
 --status-good:#195F38;--status-good-bg:#E1F2E4;--status-good-line:#4C8C62;
 --status-warn:#704700;--status-warn-bg:#FFF1C7;--status-warn-line:#AD7A12;
 --status-bad:#98222F;--status-bad-bg:#F9DEE1;--status-bad-line:#B94C57;
}
html[data-theme] input[type=checkbox],
html[data-theme] input[type=radio]{accent-color:#AF2447}
html[data-theme] #app.command-center-view{background:var(--theme-canvas);color:var(--theme-text)}
/* Real supplied emblem: cream artwork within a Belles-pink disc. */
html[data-theme] #app.command-center-view .gm-folder-brand{
 gap:10px;min-height:104px;padding:10px 4px 16px;
}
html[data-theme] #app.command-center-view .gm-brand-emblem{
 display:block;flex:0 0 74px;width:74px;height:74px;object-fit:contain;
 border-radius:50%;padding:5px;background:#AF2447;
 box-shadow:0 0 0 1px #AF2447,0 5px 12px #0000003D;
}
html[data-theme] #app.command-center-view .gm-folder-brand>div{min-width:0}
html[data-theme] #app.command-center-view .gm-folder-brand strong{
 font-family:"Bree Serif",Georgia,serif;font-size:17px;white-space:normal;
 line-height:1.15;overflow-wrap:normal;
}
html[data-theme] #app.command-center-view .gm-folder-brand small{
 font-size:10px;letter-spacing:.08em;
}
/* Black canvas with narrow bands of depth: borders, not gray slabs. */
html[data-theme="dark"] #app.command-center-view :is(.gm-shell,.gm-work-area,.gm-board,.gm-messages){
 background:#000000;color:#FFFFFF;
}
html[data-theme="dark"] #app.command-center-view .gm-folder-nav{
 background:#050505;border-right:1px solid #393939;
 box-shadow:inset -1px 0 #161616;
}
html[data-theme="dark"] #app.command-center-view :is(.gm-chat-wrap,.gm-outline:not(.gm-outline-closed),.gm-compose,.gm-metrics,.gm-active-topic){
 background:#070707;border-color:#383838;color:#FFFFFF;
}
html[data-theme="dark"] #app.command-center-view :is(
 .v-tile,.v-dashboard-clean .v-tile,.s-tile,.s-stat,.s-detail,.s-next,
 .gm-queue-item,.gm-fact,.gm-suggestion,.gm-add-related,
 .v-dashboard-fact,.v-peek-cell,.v-overview-card,.v-record,.sa-detail,.sa-reg-settings,.sa-stats,.sa-list
){
 background:#090909;border-color:#3C3C3C;color:#FFFFFF;
 box-shadow:inset 0 1px #4A4A4A52,0 5px 15px #00000080;
}
html[data-theme="dark"] #app.command-center-view :is(.v-tile,.s-tile,.gm-secondary,.v-action,.s-button):hover:not(:disabled){
 border-color:#AF2447;box-shadow:inset 0 1px #5B5B5B6B,0 0 0 1px #AF244733;
}
html[data-theme="dark"] #app.command-center-view :is(.gm-header,.gm-command-switch,.gm-folder-brand){
 background:#050505;border-color:#383838;
}
/* Light mode: never render faded white/pink foreground on cream. */
html[data-theme="light"] #app.command-center-view :is(
 .gm-folder-nav,.gm-work-area,.gm-board,.gm-messages,.gm-outline:not(.gm-outline-closed),
 .gm-compose,.v-folder,.s-root,.m-root,.gm-folder-brand,.gm-active-topic
){color:#41291F}
html[data-theme="light"] #app.command-center-view :is(
 .gm-folder-label,.gm-folder-helper,.gm-folder-brand small,.gm-queue-path,.gm-queue-bottom,
 .gm-subtle,.gm-no-data,.gm-metrics,.gm-input-help,.gm-compose form>label,
 .gm-section-head small,.gm-section-count,.gm-sender,.gm-fact small,
 .v-muted,.v-note,.v-small-warning,.v-folder-subtitle,.v-scope-warning,
 .v-dashboard-section-head small,.v-dashboard-glance summary small,
 .v-record-meta,.v-overview-meta,.v-tile-copy small,.v-tile-detail,
 .v-peek-item small,.v-history-row small,.s-heading p,.s-help,.s-notice,
 .s-stat span,.s-stat small,.sa-help,.sa-reg-settings small
){color:#625044}
html[data-theme="light"] #app.command-center-view :is(
 .gm-dept-folder:not(.active),.gm-folder-children button:not(.current),
 .gm-command-link:not(.active),.gm-settings-link:not(.active),
 .gm-back-command,.s-back,.s-link,.v-back-link,
 .v-section-toggle,.v-question-click,.v-overview-item,.v-action,.v-quiet,
 .gm-section-head,.gm-plain-btn,.gm-footer-link,.gm-small-row,.gm-folder-label
){color:#41291F}
html[data-theme="light"] #app.command-center-view :is(
 .gm-back-command,.s-back,.v-back-link
){
 font-weight:700;text-decoration:none;
}
html[data-theme="light"] #app.command-center-view .gm-folder-brand strong{color:#41291F}
html[data-theme="light"] #app.command-center-view .gm-folder-nav{
 background:#F2EBDD;border-right:1px solid #C3B5A1;
}
html[data-theme="light"] #app.command-center-view :is(.gm-work-area,.gm-board,.gm-messages){
 background:#FAF5E8;
}
html[data-theme="light"] #app.command-center-view .gm-header{background:#AF2447;color:#FFFFFF;border-color:#AF2447}
html[data-theme="light"] #app.command-center-view .gm-header :is(h1,h2,.gm-header-copy,.gm-eyebrow,.gm-folder-mobile-button){color:#FFFFFF}
html[data-theme="light"] #app.command-center-view :is(.gm-input-row textarea,.v-field input,.v-field select,.v-field textarea){
 background:#FFFDF8;color:#41291F;border-color:#C3B5A1;
}
html[data-theme="light"] #app.command-center-view :is(.gm-input-row textarea,.v-field input,.v-field textarea)::placeholder{color:#665247;opacity:1}
html[data-theme="light"] #app.command-center-view :is(.v-tile,.v-dashboard-clean .v-tile,.v-record,.v-dashboard-fact,.v-peek-cell,.s-stat,.s-detail,.s-tile){
 background:#FFFDF8;border-color:#C3B5A1;color:#41291F;
 box-shadow:0 2px 0 #5B2B1714;
}
html[data-theme="light"] #app.command-center-view :is(.v-tile,.s-tile):hover{border-color:#AF2447;background:#F8EEF0;}
/* One pink for normal brand accents — never rotate through pastel pink shades. */
html[data-theme] #app.command-center-view :is(
 .gm-folder-glyph,.gm-folder-brand>span,.gm-eyebrow,.s-eyebrow,
 .v-tile-icon,.v-tile-arrow,.gm-command-link span,.gm-folder-glyph,
 .gm-settings-link:not(.active) .gm-settings-glyph,.v-theme-option.active,
 .v-peek-link,.s-link,.s-back
){color:#AF2447}
html[data-theme] #app.command-center-view :is(
 .gm-command-switch button.active,.gm-command-link.active,.gm-dept-folder.active,
 .gm-settings-link.active,.gm-sidebar-switch button.active,.gm-folder-children button.current,
 .gm-send,.s-primary,.sa-approve,.sa-reg-settings button,
 .v-action.primary,.v-filter-button.active,.v-theme-option.active
){
 background:#AF2447;color:#FFFFFF;border-color:#AF2447;
 box-shadow:none;
}
html[data-theme] #app.command-center-view :is(
 .gm-command-switch button.active,.gm-command-link.active,.gm-dept-folder.active,
 .gm-settings-link.active,.gm-sidebar-switch button.active,.gm-folder-children button.current,
 .gm-send,.s-primary,.sa-approve,.sa-reg-settings button,.v-action.primary,.v-filter-button.active
) :is(span,strong,small){color:#FFFFFF}
html[data-theme] #app.command-center-view :is(
 .gm-command-switch button.active,.gm-command-link.active,.gm-dept-folder.active,
 .gm-settings-link.active,.gm-sidebar-switch button.active,.gm-folder-children button.current,
 .gm-send,.s-primary,.sa-approve,.sa-reg-settings button,.v-action.primary
):hover:not(:disabled){background:#AF2447;border-color:#AF2447;color:#FFFFFF;filter:brightness(1.05)}
html[data-theme] #app.command-center-view :is(
 .gm-command-switch button,.gm-dept-folder,.gm-folder-children button,.gm-secondary,
 .s-button,.v-action
):focus-visible{outline:2px solid #AF2447;outline-offset:2px}
/* Green = resolved/verified, amber = open/pending/review, red = high/urgent.
   Never classify an ordinary pending item as urgent. */
html[data-theme] #app.command-center-view :is(
 .v-tag[data-status="resolved"],.v-tag[data-status="verified"],.v-tag[data-status="complete"],
 .v-tag[data-status="active"],.s-badge.good
){background:var(--status-good-bg);color:var(--status-good);border-color:var(--status-good-line)}
html[data-theme] #app.command-center-view :is(
 .v-tag[data-status="open"],.v-tag[data-status="waiting"],.v-tag[data-status="in_progress"],
 .v-tag[data-status="draft"],.v-tag[data-status="pending"],.s-badge.warn
){background:var(--status-warn-bg);color:var(--status-warn);border-color:var(--status-warn-line)}
html[data-theme] #app.command-center-view :is(
 .v-tag[data-status="urgent"],.v-tag[data-status="blocked"],
 .v-tag[data-status="overdue"]
){background:var(--status-bad-bg);color:var(--status-bad);border-color:var(--status-bad-line)}
html[data-theme] #app.command-center-view .v-pending-record[data-status="resolved"]{border-left:4px solid var(--status-good-line)}
html[data-theme] #app.command-center-view .v-pending-record:not([data-status="resolved"]){border-left:4px solid var(--status-warn-line)}
html[data-theme] #app.command-center-view .v-pending-record:not([data-status="resolved"]):is([data-priority="high"],[data-priority="urgent"]){
 border-left:4px solid var(--status-bad-line);
}
html[data-theme] #app.command-center-view .v-pending-record:not([data-status="resolved"]):is([data-priority="high"],[data-priority="urgent"]) .v-tag{
 background:var(--status-bad-bg);color:var(--status-bad);border-color:var(--status-bad-line);
}
html[data-theme] #app.command-center-view .v-dashboard-fact[data-status="verified"]{border-left:3px solid var(--status-good-line)}
html[data-theme] #app.command-center-view .v-dashboard-fact[data-status="unasked"]{border-left:3px solid var(--status-warn-line)}
html[data-theme] #app.command-center-view .v-dashboard-fact:is([data-status="reported"],[data-status="partial"],[data-status="proposed"],[data-status="needs_verification"]){border-left:3px solid var(--status-warn-line)}
html[data-theme] #app.command-center-view :is(.v-dashboard-clean .v-tile-needs-attention,.v-tile-needs-attention){border-left:3px solid var(--status-warn-line)}
html[data-theme] #app.command-center-view .v-tile-notification-dot{background:var(--status-warn);width:8px;height:8px}
html[data-theme] #app.command-center-view .v-dashboard-clean .v-tile-needs-attention .v-tile-detail{color:var(--status-warn)}
html[data-theme] #app.command-center-view .v-knowledge-entry[data-status="unasked"] :is(.v-question-status,.v-question-mark,.v-kb-unanswered){color:var(--status-warn)}
html[data-theme] #app.command-center-view .v-knowledge-entry:is([data-status="verified"],[data-status="not_applicable"]) :is(.v-question-status,.v-question-mark){color:var(--status-good)}
html[data-theme] #app.command-center-view .v-knowledge-entry:is([data-status="reported"],[data-status="partial"],[data-status="needs_verification"],[data-status="proposed"]) :is(.v-question-status,.v-question-mark){color:var(--status-warn)}
/* Standalone staff pages: same one pink, contrasting dark/light text. */
html[data-theme="dark"] body:has(.staff-shell),
html[data-theme="dark"] body:has(#staff-app){background:#000000;color:#FFFFFF}
html[data-theme="light"] body:has(.staff-shell),
html[data-theme="light"] body:has(#staff-app){background:#FAF5E8;color:#41291F}
html[data-theme] :is(.staff-shell,.staff-app-shell,.staff-auth){
 --accent:#AF2447;
}
html[data-theme] :is(.staff-shell,.staff-app-shell,.staff-auth) :is(
 .wizard-next,#apply-button,.staff-auth button,.staff-app-shell header button
){background:#AF2447;color:#FFFFFF;border-color:#AF2447}
html[data-theme] :is(.staff-shell,.staff-app-shell,.staff-auth) :is(
 .eyebrow,.staff-card em,.tile-icon
){color:#AF2447}
html[data-theme] .wizard-progress-track span{background:#AF2447}
html[data-theme="light"] :is(.staff-shell,.staff-app-shell,.staff-auth) :is(
 p,small,label,.wizard-review-row span
){color:#625044}
html[data-theme="light"] :is(.staff-shell,.staff-app-shell,.staff-auth) :is(h1,h2,h3,strong,.wizard-back){color:#41291F}
html[data-theme="light"] .staff-app-shell header :is(.brand,.eyebrow){color:#FFFFFF}
/* Override the light-mode header exception for contrast. */
html[data-theme="light"] #app.command-center-view .gm-header .gm-eyebrow{color:#FFFFFF}

/* Keep editable controls readable on touch screens and avoid iOS focus zoom.
   This layer takes priority over page-specific !important font shorthands. */
@layer bb-touch-fields {
 @media (any-pointer: coarse), (max-width: 767px) {
  :is(
   input:not([type=hidden],[type=checkbox],[type=radio],[type=range],[type=color],[type=file],[type=button],[type=submit],[type=reset],[type=image]),
   select, textarea, [contenteditable=""], [contenteditable="true"], [contenteditable="plaintext-only"]
  ) {
   font-size:16px!important;
  }
 }
}
