/*
 * V265 — day palette for the settlements archive and single settlement pages.
 * Dark mode and front-end editors remain untouched.
 */

/* ========================================================================== 
   Shared day tokens
   ========================================================================== */
html[data-ud-theme="day"] body.udgallu-settlements-archive,
html[data-ud-theme="day"] body.udgallu-single-settlement{
  color-scheme:light;
  --ud-bg:#f3efe5;
  --ud-panel:rgba(255,253,248,.91);
  --ud-panel-2:rgba(255,250,242,.80);
  --ud-text:#2b251e;
  --ud-muted:#756a5e;
  --ud-green:#d66f1f;
  --ud-gold:#b65c16;
  --ud-red:#a84432;
  --ud-border:rgba(151,98,47,.24);
  --ud-border-soft:rgba(76,55,35,.13);
  background:#f3efe5!important;
  color:#2b251e!important;
}
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-page,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-page{
  color:#2b251e!important;
  background:
    radial-gradient(circle at 17% 13%,rgba(210,111,31,.09),transparent 30%),
    radial-gradient(circle at 84% 40%,rgba(54,91,38,.06),transparent 28%),
    linear-gradient(180deg,#f8f4eb 0%,#f3efe5 50%,#ece4d7 100%)!important;
}
html[data-ud-theme="day"] body.udgallu-settlements-archive #udgallu-global-fireflies,
html[data-ud-theme="day"] body.udgallu-single-settlement #udgallu-global-fireflies{
  opacity:.68!important;
  mix-blend-mode:multiply!important;
}

/* ========================================================================== 
   Header, dropdowns and theme switches
   ========================================================================== */
html[data-ud-theme="day"] body.udgallu-settlements-archive header.ud-header,
html[data-ud-theme="day"] body.udgallu-single-settlement header.ud-header{
  background:linear-gradient(180deg,rgba(18,17,15,.73),rgba(18,17,15,.48))!important;
  border-bottom-color:rgba(235,142,58,.42)!important;
  box-shadow:0 10px 30px rgba(31,24,17,.18),inset 0 1px 0 rgba(255,255,255,.08)!important;
  backdrop-filter:blur(16px) saturate(110%)!important;
  -webkit-backdrop-filter:blur(16px) saturate(110%)!important;
}
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-header .ud-logo,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-header .ud-logo,
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-header .ud-desktop-nav>a,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-header .ud-desktop-nav>a,
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-header .ud-more-toggle,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-header .ud-more-toggle,
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-header .ud-language-toggle,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-header .ud-language-toggle,
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-header .ud-auth-link,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-header .ud-auth-link,
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-header .ud-auth-register,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-header .ud-auth-register{
  color:#f7f1e7!important;
  text-shadow:0 2px 8px rgba(0,0,0,.82)!important;
}
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-header .ud-logo>span,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-header .ud-logo>span{
  color:#f28a2d!important;
  text-shadow:0 2px 8px rgba(0,0,0,.72)!important;
}
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-header .ud-desktop-nav>a:hover,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-header .ud-desktop-nav>a:hover,
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-header .ud-desktop-nav>a.is-active,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-header .ud-desktop-nav>a.is-active,
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-header .ud-more-toggle:hover,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-header .ud-more-toggle:hover,
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-header .ud-language-toggle:hover,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-header .ud-language-toggle:hover{
  color:#ff9638!important;
}
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-header .ud-desktop-nav>a.is-active::after,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-header .ud-desktop-nav>a.is-active::after{
  background:linear-gradient(90deg,transparent,#ef8125,transparent)!important;
  box-shadow:0 0 15px rgba(239,129,37,.56)!important;
}
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-header .ud-language-menu,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-header .ud-language-menu,
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-header .ud-more-dropdown,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-header .ud-more-dropdown,
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-header .ud-user-dropdown,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-header .ud-user-dropdown{
  z-index:10120!important;
  color:#241c15!important;
  border-color:rgba(92,61,31,.32)!important;
  background:#fffaf0!important;
  box-shadow:0 22px 62px rgba(28,19,11,.26),inset 0 1px 0 rgba(255,255,255,.98)!important;
}
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-header .ud-language-menu a,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-header .ud-language-menu a,
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-header .ud-more-dropdown a,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-header .ud-more-dropdown a,
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-header .ud-user-dropdown a,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-header .ud-user-dropdown a{
  color:#241c15!important;
  border-color:rgba(92,61,31,.13)!important;
  background:transparent!important;
  text-shadow:none!important;
}
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-header .ud-language-menu a:hover,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-header .ud-language-menu a:hover,
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-header .ud-more-dropdown a:hover,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-header .ud-more-dropdown a:hover,
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-header .ud-user-dropdown a:hover,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-header .ud-user-dropdown a:hover{
  color:#a9460b!important;
  background:rgba(216,121,36,.13)!important;
}
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-burger,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-burger{
  border-color:rgba(255,255,255,.30)!important;
  background:rgba(0,0,0,.16)!important;
}
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-burger span,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-burger span{background:#fff8ed!important}

body.udgallu-settlements-archive .ud-theme-switch,
body.udgallu-single-settlement .ud-theme-switch{font:inherit;cursor:pointer}
body.udgallu-settlements-archive .ud-theme-switch-footer,
body.udgallu-single-settlement .ud-theme-switch-footer{
  min-height:36px;display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:7px 13px;border:1px solid rgba(145,173,104,.28);border-radius:999px;
  background:rgba(145,173,104,.07);color:#c9c1b3;
}
body.udgallu-settlements-archive .ud-user-dropdown .ud-theme-switch-menu,
body.udgallu-single-settlement .ud-user-dropdown .ud-theme-switch-menu{
  width:100%;min-height:42px;display:flex;align-items:center;gap:10px;margin-top:5px;
  padding:10px 11px;border:0;border-top:1px solid rgba(145,173,104,.15);
  background:transparent;color:#e9e1d2;text-align:left;
}
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-theme-switch-footer,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-theme-switch-footer{
  color:#34291f!important;border-color:rgba(134,83,36,.26)!important;background:rgba(255,255,255,.62)!important;
}
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-user-dropdown .ud-theme-switch-menu,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-user-dropdown .ud-theme-switch-menu{
  color:#241c15!important;border-top-color:rgba(92,61,31,.15)!important;
}
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-theme-switch:hover,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-theme-switch:hover{
  color:#a9460b!important;background:rgba(216,121,36,.11)!important;
}

/* ========================================================================== 
   Settlements archive hero
   ========================================================================== */
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-archive-hero{
  background-image:
    linear-gradient(90deg,rgba(20,15,10,.66) 0%,rgba(20,15,10,.28) 40%,rgba(20,15,10,.12) 100%),
    linear-gradient(180deg,rgba(20,15,10,.04) 0%,rgba(243,239,229,.06) 55%,#f3efe5 100%),
    var(--archive-bg)!important;
  background-size:cover!important;
  background-position:center!important;
}
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-archive-hero::after{
  background:linear-gradient(180deg,transparent 0%,rgba(243,239,229,.05) 54%,#f3efe5 100%)!important;
}
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-archive-hero h1{
  color:#fff8ee!important;text-shadow:0 3px 18px rgba(0,0,0,.82)!important;
}
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-breadcrumbs,
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-breadcrumbs a{
  color:rgba(255,248,237,.78)!important;text-shadow:0 2px 7px rgba(0,0,0,.72)!important;
}
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-archive-hero .ud-lead{
  color:#ff9a3d!important;text-shadow:0 2px 9px rgba(0,0,0,.72)!important;
}
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-archive-hero .ud-sublead{
  color:#fff8ed!important;text-shadow:0 2px 9px rgba(0,0,0,.78)!important;
}
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-title-line{
  background:linear-gradient(90deg,#f18a2e,transparent)!important;
}
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-title-line::before{background:#f18a2e!important}
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-archive-filter-trigger{
  color:#f8eee2!important;border-color:rgba(255,255,255,.32)!important;background:rgba(24,18,13,.34)!important;
  text-shadow:0 1px 5px rgba(0,0,0,.72)!important;
}
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-archive-filter-trigger:hover,
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-archive-filter-trigger.is-active{
  color:#fff!important;border-color:rgba(255,151,62,.60)!important;background:rgba(210,101,24,.34)!important;
}

/* ========================================================================== 
   Archive filters — all five dropdowns use one palette
   ========================================================================== */
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-section{
  background:linear-gradient(180deg,rgba(243,239,229,0),#f3efe5 82px)!important;
}
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-page .ud-filter-panel-wrap{
  border-color:rgba(124,82,41,.20)!important;background:transparent!important;box-shadow:none!important;
}
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-page .ud-filter-panel{
  border-top-color:rgba(91,63,38,.16)!important;background:transparent!important;box-shadow:none!important;
}
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-page .ud-filter-group{
  border-right-color:rgba(91,63,38,.16)!important;border-bottom-color:rgba(91,63,38,.16)!important;background:transparent!important;
}
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-page .ud-filter-summary{
  color:#3b3027!important;background:transparent!important;
}
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-page .ud-filter-summary-icon,
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-page .ud-filter-summary-arrow{
  color:#c35f17!important;text-shadow:none!important;
}
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-page .ud-filter-summary small{color:#756a5e!important}
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-page .ud-filter-summary strong{
  color:#33291f!important;text-shadow:none!important;
}
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-page .ud-filter-group .ud-filter-list{
  color-scheme:light!important;
  color:#33291f!important;
  border-color:rgba(138,84,35,.28)!important;
  background:#fffaf0!important;
  box-shadow:0 18px 48px rgba(53,35,18,.20),inset 0 1px 0 rgba(255,255,255,.98)!important;
  scrollbar-color:#cf6a20 #f2e8d8!important;
}
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-page .ud-filter-group .ud-filter-list .ud-filter-btn{
  color:#5d5146!important;background:transparent!important;text-shadow:none!important;
}
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-page .ud-filter-group .ud-filter-list .ud-filter-btn:hover,
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-page .ud-filter-group .ud-filter-list .ud-filter-btn.is-active{
  color:#a8460a!important;background:rgba(222,126,43,.12)!important;
}
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-page .ud-filter-group .ud-filter-list .ud-filter-icon{
  color:#bd570f!important;text-shadow:none!important;
}
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-page .ud-filter-group .ud-filter-list .ud-filter-text{
  color:inherit!important;text-shadow:none!important;
}
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-page .ud-filter-group .ud-filter-list .ud-filter-btn::after{
  border-color:rgba(104,132,65,.46)!important;background:rgba(255,255,255,.58)!important;box-shadow:none!important;
}
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-page .ud-filter-group .ud-filter-list .ud-filter-btn.is-active::after{
  color:#b9520e!important;border-color:rgba(185,82,14,.52)!important;background:#fff5e7!important;
}
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-page .ud-reset-btn{
  color:#b34f0e!important;border-color:rgba(126,79,35,.20)!important;background:transparent!important;box-shadow:none!important;
}
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-page .ud-reset-btn:hover{
  color:#8f3607!important;background:rgba(216,121,36,.10)!important;
}

/* ========================================================================== 
   Archive cards
   ========================================================================== */
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-settlement-card{
  color:#2d271f!important;
  border-color:rgba(124,82,41,.20)!important;
  background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(249,245,237,.98))!important;
  box-shadow:0 12px 34px rgba(72,50,28,.09)!important;
}
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-settlement-card:hover{
  border-color:rgba(216,121,36,.58)!important;
  box-shadow:0 18px 50px rgba(72,50,28,.17)!important;
}
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-settlement-image::after{
  background:linear-gradient(180deg,rgba(30,20,12,0) 0%,rgba(30,20,12,.05) 45%,rgba(30,20,12,.35) 72%,rgba(247,241,230,.97) 100%)!important;
}
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-settlement-title{
  color:#fff!important;text-shadow:0 2px 16px rgba(0,0,0,.96)!important;
}
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-settlement-body{
  color:#302820!important;background:linear-gradient(180deg,rgba(248,243,234,.98),rgba(255,253,248,1))!important;
}
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-settlement-meta{
  color:#62574b!important;text-shadow:none!important;
}
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-settlement-meta .ud-icon{
  color:#b9500d!important;text-shadow:none!important;
}
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-settlement-card p{
  color:#62574b!important;border-top-color:rgba(124,82,41,.16)!important;
}
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-status{color:#b9500d!important}
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-status.danger{color:#a84432!important}
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-status.neutral{color:#a9470d!important}
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-status.unknown{color:#756a5e!important}
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-more{color:#b9500d!important}
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-text{color:#62574b!important}
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-empty-message{
  color:#62574b!important;border-color:rgba(124,82,41,.20)!important;background:rgba(255,253,248,.80)!important;
}

/* ========================================================================== 
   Single settlement hero and metadata
   ========================================================================== */
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-hero{
  background:
    linear-gradient(90deg,rgba(20,15,10,.08),rgba(20,15,10,.22) 44%,rgba(20,15,10,.68)),
    linear-gradient(180deg,rgba(20,15,10,.02),rgba(243,239,229,.08) 56%,#f3efe5 100%),
    var(--settlement-bg)!important;
  background-size:cover!important;background-position:center!important;
}
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-hero::after{
  background:linear-gradient(180deg,transparent 0%,rgba(243,239,229,.05) 50%,rgba(243,239,229,.20) 68%,#f3efe5 100%)!important;
}
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-breadcrumbs,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-breadcrumbs a{
  color:rgba(255,248,237,.78)!important;text-shadow:0 2px 7px rgba(0,0,0,.72)!important;
}
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-hero h1{
  color:#fff8ed!important;text-shadow:0 3px 18px rgba(0,0,0,.86)!important;
}
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-hero .ud-lead{
  color:#ff9a3d!important;text-shadow:0 2px 9px rgba(0,0,0,.78)!important;
}
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-hero .ud-sublead{
  color:#fff8ed!important;text-shadow:0 2px 9px rgba(0,0,0,.82)!important;
}
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-meta-strip{border-top-color:rgba(255,255,255,.20)!important}
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-meta-item{border-right-color:rgba(255,255,255,.16)!important}
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-meta-icon{
  color:#ff9839!important;text-shadow:0 2px 8px rgba(0,0,0,.72)!important;
}
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-meta-item small{
  color:rgba(255,248,237,.66)!important;text-shadow:0 1px 5px rgba(0,0,0,.76)!important;
}
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-meta-item strong{
  color:#fff!important;text-shadow:0 2px 7px rgba(0,0,0,.86)!important;
}

/* ========================================================================== 
   Single settlement panels and text
   ========================================================================== */
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-main{color:#302820!important}
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-panel,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-about,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-map-panel,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-gallery,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-map-location-card,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-people,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-history,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-comments-collapse,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-trade-card,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-trade-network-card{
  color:#302820!important;
  border-color:rgba(124,82,41,.20)!important;
  background:
    radial-gradient(circle at 0 0,rgba(216,121,36,.06),transparent 34%),
    rgba(255,253,248,.86)!important;
  box-shadow:0 18px 52px rgba(68,46,25,.10)!important;
}
html[data-ud-theme="day"] body.udgallu-single-settlement h1,
html[data-ud-theme="day"] body.udgallu-single-settlement h2,
html[data-ud-theme="day"] body.udgallu-single-settlement h3,
html[data-ud-theme="day"] body.udgallu-single-settlement h4,
html[data-ud-theme="day"] body.udgallu-single-settlement h5,
html[data-ud-theme="day"] body.udgallu-single-settlement h6,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-h2,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-comments-head h2{
  color:#3b3026!important;
}
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-text,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-text p,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-about p,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-map-location-card p,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-people-body p,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-event p,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-trade-card p,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-trade-network-head p{
  color:#62574b!important;
}
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-quote-card{
  color:#9f450b!important;border-color:rgba(182,91,24,.26)!important;
  background:linear-gradient(90deg,rgba(246,220,191,.72),rgba(255,250,242,.90))!important;
}
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-settlement-emblem{
  filter:none!important;opacity:.95!important;
}
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-quote-card.has-emblem::after{
  opacity:.10!important;filter:grayscale(1) sepia(.18)!important;
}

/* Local map remains visually faithful to the original image. */
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-map{
  border-color:rgba(124,82,41,.24)!important;background:#e7ded0!important;
  box-shadow:0 12px 32px rgba(65,44,23,.12)!important;
}
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-map-layer{filter:none!important}
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-map-pin{
  color:#b9500d!important;border-color:#c6681e!important;background:rgba(255,250,241,.84)!important;
  box-shadow:0 0 0 4px rgba(255,250,241,.55),0 0 28px rgba(194,101,27,.26)!important;
}
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-map-pin::after{
  background:linear-gradient(180deg,#c6681e,transparent)!important;
}
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-map-pin.is-active{
  color:#fff!important;border-color:#bd570f!important;background:#bd570f!important;
  box-shadow:0 0 0 5px rgba(255,250,241,.72),0 0 30px rgba(194,101,27,.34)!important;
}
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-map-controls button{
  color:#33291f!important;border-color:rgba(124,82,41,.24)!important;background:rgba(255,250,241,.90)!important;
}
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-map-controls button:hover{
  color:#b9500d!important;border-color:rgba(185,80,13,.48)!important;
}
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-map-zoom-label,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-map-position-label{
  color:#62574b!important;border-color:rgba(124,82,41,.22)!important;background:rgba(255,250,241,.88)!important;
}
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-map-position-label{color:#a9470d!important}
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-map-location-icon{
  color:#b9500d!important;border-color:rgba(182,91,24,.34)!important;background:rgba(216,121,36,.08)!important;
}

/* Gallery and location links. */
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-gallery-img{
  border-color:rgba(124,82,41,.22)!important;box-shadow:none!important;
}
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-gallery-link,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-location-link{
  color:#3a3027!important;border-color:rgba(124,82,41,.18)!important;
}
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-gallery-link:hover,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-location-link:hover{color:#a9470d!important}
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-location-link b,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-location-link strong{color:#b9500d!important}
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-location-link span{color:#756a5e!important}

/* Residents. Images are not tinted. */
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-people-card{
  color:#302820!important;border-color:rgba(124,82,41,.20)!important;background:rgba(255,253,248,.86)!important;
  box-shadow:0 10px 28px rgba(65,44,23,.08)!important;
}
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-people-img{
  filter:none!important;background-color:#e9dfd1!important;
}
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-people-body h3{color:#3b3026!important}
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-people-body small{color:#b9500d!important}
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-people-card-link:hover h3{color:#a9470d!important}

/* History. */
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-timeline::before{
  background:linear-gradient(90deg,transparent,#c6681e,transparent)!important;
}
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-event::before{
  border-color:#c6681e!important;background:#fff9ef!important;
}
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-event strong{color:#a9470d!important}
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-event small{color:#b65c16!important}

/* ========================================================================== 
   Economy and trade network
   ========================================================================== */
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-trade-info,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-trade-card{
  color:#302820!important;border-color:rgba(124,82,41,.20)!important;background:rgba(255,253,248,.84)!important;
}
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-trade-info-icon{
  color:#b9500d!important;border-color:rgba(182,91,24,.34)!important;background:rgba(216,121,36,.08)!important;
}
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-trade-info h3,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-trade-card h3{
  color:#3b3026!important;
}
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-trade-info p{color:#62574b!important}
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-trade-map-wrap{border-top-color:rgba(124,82,41,.16)!important}
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-trade-map-title{color:#a9470d!important}
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-trade-map{
  border-color:rgba(124,82,41,.22)!important;
  background:
    radial-gradient(circle at 50% 50%,rgba(216,121,36,.10),transparent 34%),
    radial-gradient(circle at 50% 0%,rgba(54,91,38,.06),transparent 44%),
    rgba(250,246,238,.88)!important;
}
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-trade-line{
  stroke:rgba(184,82,15,.62)!important;filter:drop-shadow(0 0 4px rgba(184,82,15,.14))!important;
}
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-trade-arrow{
  fill:#b9500d!important;stroke:rgba(255,250,241,.94)!important;
}
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-trade-avatar{
  border-color:rgba(182,91,24,.68)!important;
  background-image:var(--trade-img)!important;
  filter:none!important;
  box-shadow:0 0 0 4px rgba(255,250,241,.88),0 12px 32px rgba(65,44,23,.18)!important;
}
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-trade-center .ud-trade-avatar{
  border-color:rgba(94,125,57,.78)!important;
  box-shadow:0 0 0 6px rgba(255,250,241,.90),0 0 28px rgba(94,125,57,.16),0 16px 42px rgba(65,44,23,.18)!important;
}
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-trade-node strong,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-trade-center strong{
  color:#33291f!important;text-shadow:none!important;
}
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-trade-node small,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-trade-center small{color:#756a5e!important}

/* ========================================================================== 
   Comments, forms and navigation
   ========================================================================== */
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-comments-head{
  border-bottom-color:rgba(124,82,41,.16)!important;background:rgba(247,240,229,.60)!important;
}
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-comments-arrow,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-comment-name{color:#b9500d!important}
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-comment{
  color:#302820!important;border-top-color:rgba(124,82,41,.16)!important;
}
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-comment-text{color:#62574b!important}
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-native-comments .comment-body{
  color:#302820!important;border-color:rgba(124,82,41,.20)!important;background:rgba(255,253,248,.82)!important;
}
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-native-comments .comment-content,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-native-comments .comment-content p,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-native-comments p{color:#62574b!important}
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-native-comments a,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-native-comments .fn,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-native-comments .fn a,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-native-comments .comment-author,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-native-comments .comment-author a,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-native-comments .comment-reply-link,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-native-comments .reply a{color:#b9500d!important}
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-native-comments .comment-meta,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-native-comments .comment-meta a,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-native-comments .comment-metadata,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-native-comments .comment-metadata a,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-native-comments .says,
html[data-ud-theme="day"] body.udgallu-single-settlement .logged-in-as,
html[data-ud-theme="day"] body.udgallu-single-settlement .logged-in-as a{color:#76695d!important}
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-native-comments .children{border-left-color:rgba(182,91,24,.24)!important}
html[data-ud-theme="day"] body.udgallu-single-settlement .comment-form label,
html[data-ud-theme="day"] body.udgallu-single-settlement .comment-notes{color:#6d6155!important}
html[data-ud-theme="day"] body.udgallu-single-settlement textarea,
html[data-ud-theme="day"] body.udgallu-single-settlement input[type="text"],
html[data-ud-theme="day"] body.udgallu-single-settlement input[type="email"],
html[data-ud-theme="day"] body.udgallu-single-settlement input[type="url"]{
  color:#2d261f!important;border-color:rgba(124,82,41,.22)!important;background:#fffdf8!important;
}
html[data-ud-theme="day"] body.udgallu-single-settlement input[type="submit"],
html[data-ud-theme="day"] body.udgallu-single-settlement .submit{
  color:#fff!important;border-color:#c85f0f!important;background:#c85f0f!important;
}
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-settlement-nav a{
  color:#3a3027!important;border-color:rgba(124,82,41,.20)!important;background:rgba(255,253,248,.80)!important;
}
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-settlement-nav a:hover{
  color:#a9470d!important;border-color:rgba(216,121,36,.54)!important;background:#fffaf1!important;
}

/* Keep the image lightbox dark so media retains its real colours. */
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-lightbox{
  color:#f2eadc!important;background:rgba(1,5,4,.94)!important;
}
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-lightbox-close,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-lightbox-tools button,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-lightbox-nav{
  color:#fff!important;border-color:rgba(255,255,255,.25)!important;background:rgba(5,12,11,.78)!important;
}

/* ========================================================================== 
   Shared footer
   ========================================================================== */
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-footer,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-footer{
  color:#4f453a!important;border-top-color:rgba(99,70,41,.17)!important;background:rgba(237,229,216,.94)!important;
}
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-footer .ud-logo,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-footer .ud-logo{color:#352d25!important;text-shadow:none!important}
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-footer .ud-logo span,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-footer .ud-logo span{color:#bd5913!important;text-shadow:none!important}
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-footer p,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-footer p,
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-footer-sources-bottom,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-footer-sources-bottom,
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-copyright,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-copyright{color:#6d6256!important}
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-footer-source b,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-footer-source b,
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-footer-feedback b,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-footer-feedback b{color:#493d32!important}
html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-footer-feedback,
html[data-ud-theme="day"] body.udgallu-single-settlement .ud-footer-feedback{
  border-color:rgba(124,82,41,.22)!important;background:rgba(255,255,255,.48)!important;
}

/* ========================================================================== 
   Mobile menu and mobile hero transition
   ========================================================================== */
@media(max-width:900px){
  html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-mobile-menu,
  html[data-ud-theme="day"] body.udgallu-single-settlement .ud-mobile-menu{
    color:#17130f!important;border-color:rgba(73,53,34,.20)!important;
    background:radial-gradient(circle at 30% 0%,rgba(216,121,36,.10),transparent 38%),rgba(248,243,233,.987)!important;
    box-shadow:0 28px 80px rgba(42,30,18,.24)!important;
  }
  html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-mobile-links a,
  html[data-ud-theme="day"] body.udgallu-single-settlement .ud-mobile-links a{
    color:#17130f!important;border-bottom-color:rgba(73,53,34,.14)!important;
  }
  html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-mobile-links a:hover,
  html[data-ud-theme="day"] body.udgallu-single-settlement .ud-mobile-links a:hover,
  html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-mobile-links a.is-active,
  html[data-ud-theme="day"] body.udgallu-single-settlement .ud-mobile-links a.is-active{color:#c85f0f!important}
  html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-mobile-language-title,
  html[data-ud-theme="day"] body.udgallu-single-settlement .ud-mobile-language-title,
  html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-mobile-more-title,
  html[data-ud-theme="day"] body.udgallu-single-settlement .ud-mobile-more-title{color:#6f5b48!important}
  html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-mobile-language-list a,
  html[data-ud-theme="day"] body.udgallu-single-settlement .ud-mobile-language-list a,
  html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-theme-switch-mobile,
  html[data-ud-theme="day"] body.udgallu-single-settlement .ud-theme-switch-mobile{
    color:#17130f!important;border:1px solid rgba(124,77,37,.24)!important;background:rgba(255,255,255,.58)!important;
  }
  body.udgallu-settlements-archive .ud-theme-switch-mobile,
  body.udgallu-single-settlement .ud-theme-switch-mobile{
    width:100%;min-height:44px;display:flex;align-items:center;justify-content:center;gap:9px;margin-top:18px;
    border:1px solid rgba(145,173,104,.26);border-radius:9px;background:rgba(145,173,104,.08);color:#e9e1d2;
  }
}
@media(max-width:700px){
  html[data-ud-theme="day"] body.udgallu-settlements-archive .ud-archive-hero{
    background-image:
      linear-gradient(180deg,rgba(20,15,10,.10) 0%,rgba(20,15,10,.24) 34%,rgba(243,239,229,.16) 62%,#f3efe5 100%),
      var(--archive-bg)!important;
  }
  html[data-ud-theme="day"] body.udgallu-single-settlement .ud-hero{
    background:
      linear-gradient(180deg,rgba(20,15,10,.08) 0%,rgba(20,15,10,.24) 36%,rgba(243,239,229,.14) 64%,#f3efe5 100%),
      var(--settlement-bg)!important;
  }
  html[data-ud-theme="day"] body.udgallu-single-settlement .ud-timeline::before{
    background:linear-gradient(180deg,transparent,#c6681e,transparent)!important;
  }
}
