/* v25 — recognizable bluebonnet/paisley botanical identity across all app pages. */
:root{
  --v25-cyan:#4F8F99;
  --v25-cyan-dark:#3F7781;
  --v25-periwinkle:#7779A9;
  --v25-sage:#91AA92;
  --v25-sage-soft:#E7EEE5;
  --v25-coral:#C58C79;
  --v25-gold:#C7A765;
  --v25-burgundy:#7A4054;
  --v25-outer:#E8EDF0;
  --v25-screen:#F8F5EF;
  --v25-rail:#F1F0EC;
  --v25-ink:#314746;
}
html,body{background:var(--v25-outer) !important;}
body{position:relative;}
/* Main work surface: subtly distinct from the surrounding page. */
.app,.wrap{background:var(--v25-screen);}
@media (min-width:981px){
  .app{min-height:100vh;box-shadow:-12px 0 34px rgba(56,78,83,.055);border-left:1px solid rgba(79,143,153,.12);}
}
/* Recognizable botanical echoes at the frame only — never inside form fields. */
body::before,body::after{
  content:"";position:fixed;pointer-events:none;z-index:0;background:url('./bluebonnet-paisley.svg') no-repeat center/contain;
  opacity:.105;filter:saturate(.92);
}
body::before{width:210px;height:620px;right:-82px;top:70px;transform:rotate(7deg);}
body::after{width:155px;height:470px;right:-48px;bottom:-120px;transform:rotate(178deg);opacity:.07;}
@media(max-width:980px){body::before{width:118px;height:360px;right:-54px;top:82px;opacity:.055}body::after{display:none}}

/* Sidebar / rail: pale, elegant frame with a clearly recognizable bluebonnet + paisley trail. */
.app-rail{
  background:linear-gradient(180deg,#F5F2EC 0%,#EDF1EF 54%,#E7EDF0 100%) !important;
  color:var(--v25-ink) !important;
  border-right:1px solid rgba(79,143,153,.18) !important;
  box-shadow:8px 0 28px rgba(53,78,83,.045) !important;
  overflow:hidden;
}
.app-rail::before{
  content:"" !important;position:absolute !important;inset:auto -34px -62px -26px !important;
  width:285px !important;height:780px !important;background:url('./bluebonnet-paisley.svg') no-repeat bottom center/contain !important;
  opacity:.30 !important;transform:none !important;filter:none !important;pointer-events:none !important;z-index:0 !important;
}
.app-rail::after{
  content:"" !important;position:absolute !important;top:116px !important;right:-94px !important;width:190px !important;height:430px !important;
  background:url('./bluebonnet-paisley.svg') no-repeat center/contain !important;opacity:.095 !important;transform:rotate(180deg) !important;pointer-events:none !important;z-index:0 !important;
}
.app-rail>*{position:relative;z-index:2}
.app-rail .rail-brand{border-bottom:1px solid rgba(79,143,153,.17) !important;background:rgba(248,245,239,.54);border-radius:14px;padding:.55rem .55rem 1rem !important;}
.app-rail .rail-brand strong{color:#315755 !important;}
.app-rail .rail-brand span{color:#6E7D7B !important;}
.app-rail a{color:#47625F !important;}
.app-rail a:hover{background:rgba(79,143,153,.10) !important;color:#315755 !important;}
.app-rail a.active{background:linear-gradient(90deg,rgba(79,143,153,.18),rgba(119,121,169,.10)) !important;color:#315755 !important;border:1px solid rgba(79,143,153,.13);}
.app-rail .rail-home{background:rgba(255,255,255,.64) !important;color:#315755 !important;border:1px solid rgba(79,143,153,.13) !important;}
.app-rail .rail-foot{background:rgba(248,245,239,.72) !important;color:#6E7D7B !important;border-top:1px solid rgba(79,143,153,.14) !important;border-radius:10px;padding:.7rem !important;}

/* Clean in-app mark; leaf color now echoes bluebonnet/cyan identity. */
.leaf-mark{background:linear-gradient(145deg,var(--v25-cyan-dark),var(--v25-periwinkle)) !important;box-shadow:0 5px 14px rgba(79,143,153,.14);}
.brandmark .ot-back{color:rgba(79,143,153,.095) !important;}
.brandmark .initials{color:#315755 !important;}
.app-rail .brandmark .ot-back{color:rgba(79,143,153,.10) !important;}
.app-rail .brandmark .initials{color:#315755 !important;}

/* Gentle multicolor accents retained across the full original palette. */
.accent-card{border-left-color:var(--v25-sage) !important;}
.accent-card.accent-blue{border-left-color:var(--v25-cyan) !important;}
.accent-card.accent-coral{border-left-color:var(--v25-coral) !important;}
.accent-card.accent-gold{border-left-color:var(--v25-gold) !important;}
.card{box-shadow:0 6px 20px rgba(49,71,70,.045) !important;}
header.masthead{box-shadow:0 7px 24px rgba(49,71,70,.05) !important;}

/* Landing page also carries the same botanical family, not a separate visual language. */
.practice-tile{position:relative;overflow:hidden;}
.practice-tile::after{content:"";position:absolute;width:150px;height:285px;right:-54px;bottom:-92px;background:url('./bluebonnet-paisley.svg') no-repeat center/contain;opacity:.075;pointer-events:none;}
.practice-tile:nth-child(2)::after{transform:rotate(18deg);opacity:.09;}

/* Keep decoration out of actual working fields. */
input,textarea,select,.field,.ref-panel,.quickref-panel,.goal-area-panel{position:relative;z-index:1;}
