/* ==========================================================================
   GOGI new look (ui2) - LIGHT-ONLY parts. Loaded BEFORE styles_ui2.css in the
   light theme only: generated grey remap, calendar and family tree colours.
   ========================================================================== */
/* ---- Grey remap (generated from styles.css greys; regenerate if base greys change) ---- */
/* Inline-style greys */
[style*="color:#6b7280" i], [style*="color: #6b7280" i] { color: #7a6a53 !important; }
[style*="color:#9ca3af" i], [style*="color: #9ca3af" i] { color: #7c6d55 !important; }
[style*="color:#374151" i], [style*="color: #374151" i] { color: #4a3d2c !important; }
[style*="color:#4b5563" i], [style*="color: #4b5563" i] { color: #5a4b37 !important; }
[style*="background:#f3f4f6" i], [style*="background: #f3f4f6" i] { background: #f6ebd7 !important; }
[style*="background:#e5e7eb" i], [style*="background: #e5e7eb" i] { background: #eadcc3 !important; }
[style*="background:#f9fafb" i], [style*="background: #f9fafb" i] { background: #fbf5e9 !important; }
[style*="solid #d1d5db" i] { border-color: #d9c49a !important; }
[style*="solid #e5e7eb" i] { border-color: #eadcc3 !important; }

/* Stylesheet greys */
select > hr {
    border-top: 1px solid #d9c49a;
}
td.td-notif-group {
    color: #7a6a53;
}
.section-no-data {
    color: #7c6d55;
}
.empty-state {
    color: #7c6d55;
}
.global-search-box {
    border: 1px solid #d9c49a;
}
.global-search-icon {
    color: #7c6d55;
}
.global-search-clear {
    color: #7a6a53;
}
.global-search-results {
    border: 1px solid #d9c49a;
}
.search-result-item:hover,
.search-result-item:focus {
    background: #f6ebd7;
}
.search-result-thumb {
    background: #eadcc3;
    color: #7a6a53;
}
.card-thumb-no-photo {
    color: #7c6d55;
}
.search-result-species {
    color: #7a6a53;
}
.search-no-results {
    color: #7a6a53;
}
.search-section-header {
    color: #7c6d55;
    background: #fbf5e9;
    border-bottom: 1px solid #f6ebd7;
}
.search-section-header:not(:first-child) {
    border-top: 1px solid #f6ebd7;
}
.header-user-label {
    color: #7a6a53;
}
.notif-badge-tooltip {
    color: #f6ebd7;
}
.user-menu-dropdown {
    border: 1px solid #d9c49a;
}
.user-menu-item:hover {
    background-color: #f6ebd7;
}
.user-menu-item-active {
    background-color: #f6ebd7;
}
.user-menu-divider {
    color: #7c6d55;
}
.user-menu-divider::before {
    border-top: 1px solid #d9c49a;
}
.user-menu-divider::after {
    border-top: 1px solid #d9c49a;
}
.pw-toggle-btn {
    color: #4a3d2c;
}
.gps-modal-body {
    color: #7a6a53;
}
.gps-modal-intro {
    color: #7a6a53;
}
.gps-modal-steps {
    color: #4a3d2c;
}
.gps-modal-btn-cancel {
    border: 1px solid #d9c49a;
    background: #eadcc3;
    color: #4a3d2c;
}
.gps-modal-btn-cancel:hover {
    background: #d9c49a;
}
#photoEditorHint {
    color: #7a6a53;
}
.footer-pill {
    background: #fbf5e9;
}
.footer-pill:hover {
    background: #eadcc3;
}
.footer-social-icon {
    color: #7a6a53;
}
.detail-close-x {
    color: #fbf5e9;
}
.date-picker-weekdays {
    color: #7a6a53;
}
.date-cell.disabled {
    color: #d9c49a;
}
.date-cell.enabled:hover {
    background: #eadcc3;
}
.date-picker-footer {
    border-top: 1px solid #eadcc3;
}
.date-picker-today-btn {
    border: 1px solid #d9c49a;
}
.date-picker-today-btn:disabled {
    color: #d9c49a;
}
.date-picker-month-cell.disabled {
    color: #d9c49a;
}
.date-picker-year-cell.disabled {
    color: #d9c49a;
}
.time-picker-item:hover {
    background: #eadcc3;
}
.time-picker-item.highlighted {
    background: #eadcc3;
}
.vote-cmt-meta {
    color: #7a6a53;
}
.vote-reply {
    background: var(--table-stripe, #fbf5e9);
}
#templateVarPicker li.template-var-selected {
    background: #eadcc3;
}
#templateVarPicker li:hover {
    background: #eadcc3;
}
#templateVarPickerHint {
    border-top: 1px solid #eadcc3;
    color: #7a6a53;
}
.pet-card-thumb {
    background: #eadcc3;
}
.pet-card-secondary {
    color: #7a6a53;
}
.species-card-thumb {
    background: #eadcc3;
}
.vet-card-thumb {
    background: #eadcc3;
}
.combo-box-section-header {
    color: #7c6d55;
}
.combo-box-section-header::before {
    border-top: 1px solid #d9c49a;
}
.combo-box-section-header::after {
    border-top: 1px solid #d9c49a;
}
.combo-box-divider {
    border-top: 1px solid #eadcc3;
}
.combo-box-item .combo-box-account {
    color: #7a6a53;
}
.combo-box-empty {
    color: #7a6a53;
}
#healthChartContainer {
    border: 1px solid #eadcc3;
}
.home-action-subheading {
    color: #7a6a53;
}
.home-stat-label {
    color: #7a6a53;
}
.home-news-names {
    color: #7a6a53;
}
.home-announcement-dismiss {
    color: #7c6d55;
}
.home-announcement-body {
    color: var(--text-color, #4a3d2c);
}
.home-announcement-meta {
    color: #7c6d55;
}
.home-upcoming-item .home-upcoming-detail {
    color: #7a6a53;
}
.home-upcoming-item .home-upcoming-date {
    color: #7c6d55;
    border-top: 1px solid #f6ebd7;
}
.home-feature-card {
    border: 1px solid var(--border-color, #eadcc3);
}
.home-feature-desc {
    color: #7a6a53;
}
.home-support-card {
    border: 1px solid var(--border-color, #eadcc3);
}
.gallery-pending-section {
    border-bottom: 1px solid #eadcc3;
}
.gallery-thumb {
    background: #f6ebd7;
}
.gallery-caption {
    color: #7a6a53;
}
.gallery-actions {
    border-top: 1px solid #f6ebd7;
}
.supplier-card-thumb {
    background: #eadcc3;
}
.icon-picker-popup {
    border: 1px solid #d9c49a;
}
.icon-picker-search {
    border: 1px solid #d9c49a;
}
.icon-picker-count {
    color: #7c6d55;
}
.icon-picker-more {
    color: #7c6d55;
}
.story-item {
    border-bottom: 1px solid #eadcc3;
}
.event-row {
    border-bottom: 1px solid #eadcc3;
}
.event-date {
    color: #4a3d2c;
}
.event-type-badge {
    background: #eadcc3;
    color: #4a3d2c;
}
.event-details {
    color: #7a6a53;
}
.event-meta {
    color: #7a6a53;
}
.policy-page h2 {
    border-bottom: 1px solid #7c6d55;
}
.policy-page p,
.policy-page li {
    color: #4a3d2c;
}
.policy-page th,
.policy-page td {
    border: 1px solid #d9c49a;
}
.policy-page th {
    background: #f6ebd7;
}
.policy-page .area-label {
    color: #7a6a53;
}
.policy-page .article-body {
    color: #4a3d2c;
}
.policy-page .article-meta {
    color: #7c6d55;
}
.article-content .area-label {
    color: #7a6a53;
}
.article-content .article-meta {
    color: #7c6d55;
}
.article-content .article-body h2 {
    border-bottom: 1px solid #d9c49a;
}
.article-content .article-body th,
.article-content .article-body td {
    border: 1px solid #d9c49a;
}
.article-content .article-body th {
    background: #f6ebd7;
}
.help-print-section {
    color: #4a3d2c;
}
.help-print-meta p {
    color: #4a3d2c;
}
.help-print-ftr-inner {
    color: #7a6a53;
}
.help-area {
    border: 1px solid #eadcc3;
}
.help-area-toggle {
    background: #fbf5e9;
    border-bottom: 1px solid #eadcc3;
}
.help-area-toggle:hover {
    background: #f6ebd7;
}
.help-area-count {
    background: #eadcc3;
    color: #7a6a53;
}
.help-area-chevron {
    color: #7a6a53;
}
.help-area-body li {
    color: #4a3d2c;
}
.help-area-body .help-empty {
    color: #7c6d55;
}
.help-art-title {
    color: #4a3d2c;
}
.help-art-meta {
    color: #7c6d55;
}
#gogi-ast-panel {
    border: 1px solid #eadcc3;
}
.gogi-ast-msg--assistant {
    background: #f6ebd7;
}
.gogi-ast-msg-time {
    color: #7c6d55;
}
.gogi-ast-copy-btn {
    color: #7c6d55;
}
#gogi-ast-input-row {
    border-top: 1px solid #eadcc3;
}
#gogi-ast-input {
    border: 1px solid #d9c49a;
}
#gogi-ast-char-count {
    color: #7c6d55;
}
#gogi-ast-quota {
    color: #7c6d55;
}


/* ---- Calendar (colour/border/radius only; layout untouched) ------------ */
:root {
    --clr-muted: #7a6a53;
}
.cal-day {
    border-color: var(--ui-line) !important;
    border-radius: var(--ui-radius-sm) !important;
    box-shadow: var(--ui-shadow-sm) !important;
}
.cal-day:hover {
    background: var(--ui-brand-50) !important;
    box-shadow: var(--ui-shadow-sm), inset 0 0 0 1px var(--ui-brand) !important;
}
.cal-day.cal-selected {
    background: var(--ui-brand-50) !important;
}
.cal-today-num {
    border-radius: 6px !important;
}
#calFilterPanel {
    border-color: var(--ui-line) !important;
    border-radius: var(--ui-radius) !important;
    box-shadow: var(--ui-shadow-lg) !important;
}
.cal-filter-label:hover {
    background: var(--ui-brand-50) !important;
}
.cal-filter-sep {
    border-top-color: var(--ui-line) !important;
}
.cal-nav-btn {
    border-color: var(--ui-line-strong) !important;
    border-radius: var(--ui-radius-sm) !important;
}

/* ---- Family tree (colours only; layout and connector drawing untouched) -- */
.ftree-node:not(.ftree-node-subject) {
    background: #fffdf8 !important;
}
.ftree-node-subject {
    background: var(--ui-brand-100) !important;
}
.ftree-thumb {
    background: var(--ui-sand) !important;
}
.ftree-sib-btn {
    background: #7a6a53 !important;
}
.ftree-sib-btn:hover {
    background: var(--ui-ink-2) !important;
}
.ftree-sib-panel {
    border-color: var(--ui-line) !important;
    border-radius: var(--ui-radius-sm) !important;
    box-shadow: var(--ui-shadow-lg) !important;
}
.ftree-sib-panel a {
    color: var(--ui-ink) !important;
}
.ftree-sib-panel a:hover {
    background: var(--ui-brand-50) !important;
}
