
/* ==========================================================================
   THE HABITUAL OVERTHINKER
   Capture. Sort. Release. Reset.

   Built from her React component, translated into the app's own vanilla
   conventions. ONE DELIBERATE DEPARTURE: the component used a dusty rose
   (#a17a81 / #f1e5e7) as its accent. Her ARTWORK is sage, navy and cream, and
   pink is not a Habitually U brand colour, so the accents follow the artwork
   instead. Every other value — the navy #24354b, the warm off-white #fbfaf8,
   the borders, the radii, the soft shadow — is hers.

   Class names avoid the -card / -tile / -tag / -pill / -badge suffixes.
   Prefix is ovt-.
   ========================================================================== */
#page-overthinker{
  background:#FBFAF8 !important;
  font-family:'Nunito',system-ui,-apple-system,sans-serif;
  color:#24354B;
}
#page-overthinker .ovt-wrap{ max-width:1180px; margin:0 auto; padding:0 clamp(16px,4vw,28px); }
#page-overthinker .ovt-wrap section, #page-overthinker .ovt-sec{ padding:0 !important; }
#page-overthinker .ovt-sec{ margin:0 0 clamp(38px,6vw,64px); }
#page-overthinker .ovt-body{ padding:clamp(24px,4vw,40px) 0 90px; }

/* ---- type ---------------------------------------------------------------- */
#page-overthinker .ovt-eb{
  font-size:.72rem; font-weight:800; letter-spacing:.18em; text-transform:uppercase; margin:0 0 8px;
  color:#5F7350 !important; -webkit-text-fill-color:#5F7350 !important;
}
#page-overthinker .ovt-h2{
  font-family:'Playfair Display',Georgia,serif !important;
  font-size:clamp(1.45rem,3.2vw,2.1rem) !important; font-weight:700 !important; line-height:1.18;
  margin:0 0 8px !important; color:#24354B !important; -webkit-text-fill-color:#24354B !important;
}
#page-overthinker .ovt-h3{
  font-family:'Nunito',system-ui,sans-serif !important;
  font-size:1.02rem !important; font-weight:800 !important; margin:0 !important;
  color:#24354B !important; -webkit-text-fill-color:#24354B !important;
}
#page-overthinker .ovt-lead{
  margin:0; font-size:1rem; line-height:1.72; max-width:62ch;
  color:#5A6472 !important; -webkit-text-fill-color:#5A6472 !important;
}
#page-overthinker .ovt-sub{ margin:6px 0 0; font-size:.88rem; line-height:1.62;
  color:#66707E !important; -webkit-text-fill-color:#66707E !important; }
#page-overthinker .ovt-hrow{ display:flex; align-items:flex-end; justify-content:space-between;
  gap:16px; flex-wrap:wrap; margin:0 0 20px; }
#page-overthinker .ovt-note{ margin:14px 0 0; font-size:.82rem; line-height:1.66;
  color:#66707E !important; -webkit-text-fill-color:#66707E !important; }

/* ---- hero ---------------------------------------------------------------- */
#page-overthinker .ovt-backbar{
  max-width:1180px; margin:0 auto; padding:6px clamp(16px,4vw,28px) 12px;
  display:flex; gap:10px; flex-wrap:wrap;
}
#page-overthinker .ovt-hero{ display:block; margin:0 0 clamp(16px,2.5vw,26px); width:100%; }
#page-overthinker .ovt-hero img{ display:block; width:100%; height:auto; }
#page-overthinker .ovt-sr{
  position:absolute !important; width:1px !important; height:1px !important;
  padding:0 !important; margin:-1px !important; overflow:hidden !important;
  clip:rect(0 0 0 0) !important; white-space:nowrap !important; border:0 !important;
}

/* ---- controls ------------------------------------------------------------- */
#page-overthinker .ovt-b, #ovtSheet .ovt-b{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  min-height:48px; padding:13px 22px; border-radius:999px; cursor:pointer; font:inherit;
  font-size:.9rem; font-weight:800; text-align:center;
  background:#fff !important; border:1px solid #DCD7D2 !important;
  color:#24354B !important; -webkit-text-fill-color:#24354B !important;
}
#page-overthinker .ovt-b:hover, #ovtSheet .ovt-b:hover{ background:#F2F5F0 !important; border-color:#CBDBC4 !important; }
#page-overthinker .ovt-b.is-navy, #ovtSheet .ovt-b.is-navy{
  background:#24354B !important; border-color:#24354B !important;
  color:#fff !important; -webkit-text-fill-color:#fff !important;
}
#page-overthinker .ovt-b.is-sage, #ovtSheet .ovt-b.is-sage{
  background:#5F7350 !important; border-color:#5F7350 !important;
  color:#fff !important; -webkit-text-fill-color:#fff !important;
}
#page-overthinker .ovt-b.is-sm, #ovtSheet .ovt-b.is-sm{ min-height:44px; padding:10px 16px; font-size:.82rem; }
#page-overthinker .ovt-b svg, #ovtSheet .ovt-b svg{ width:17px; height:17px; flex:none;
  stroke:currentColor; fill:none; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
#page-overthinker .ovt-b:focus-visible, #ovtSheet .ovt-b:focus-visible,
#page-overthinker .ovt-q:focus-visible, #page-overthinker .ovt-tool:focus-visible,
#page-overthinker .ovt-f:focus-visible, #page-overthinker .ovt-x:focus-visible{
  outline:3px solid #CF9E3F; outline-offset:2px;
}
#page-overthinker .ovt-acts{ display:flex; gap:11px; flex-wrap:wrap; }

/* ---- quick tools ---------------------------------------------------------- */
#page-overthinker .ovt-quick{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
#page-overthinker .ovt-q{
  display:flex; align-items:center; gap:16px; width:100%; text-align:left; cursor:pointer; font:inherit;
  background:#fff !important; border:1px solid #E3DFDA !important; border-radius:24px; padding:20px;
  min-height:96px; transition:transform .2s ease, box-shadow .2s ease;
}
#page-overthinker .ovt-q:hover{ transform:translateY(-3px); box-shadow:0 18px 40px rgba(36,53,75,.10); }
#page-overthinker .ovt-ic{
  width:48px; height:48px; border-radius:16px; flex:none;
  display:flex; align-items:center; justify-content:center;
}
#page-overthinker .ovt-ic svg{ width:22px; height:22px; stroke:currentColor; fill:none;
  stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
#page-overthinker .ovt-ic.t-sage{ background:#E8F0EC !important; color:#4E6640; }
#page-overthinker .ovt-ic.t-stone{ background:#F2EEE6 !important; color:#6E6553; }
#page-overthinker .ovt-ic.t-sky{ background:#ECEFF4 !important; color:#3F5468; }
#page-overthinker .ovt-ic.t-cream{ background:#F4F1EA !important; color:#6B6455; }
#page-overthinker .ovt-q-t{ flex:1; min-width:0; }
#page-overthinker .ovt-q-n{ display:block; font-size:.98rem; font-weight:800;
  color:#24354B !important; -webkit-text-fill-color:#24354B !important; }
#page-overthinker .ovt-q-d{ display:block; margin:4px 0 0; font-size:.86rem;
  color:#66707E !important; -webkit-text-fill-color:#66707E !important; }
#page-overthinker .ovt-chev{ flex:none; color:#98A0A8; }
#page-overthinker .ovt-chev svg{ width:18px; height:18px; stroke:currentColor; fill:none;
  stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }

/* ---- brain dump ----------------------------------------------------------- */
#page-overthinker .ovt-dump{
  overflow:hidden; border-radius:34px; border:1px solid #E4DFDA !important; background:#fff !important;
  box-shadow:0 18px 50px rgba(45,59,78,.07);
  display:grid; grid-template-columns:.8fr 1.2fr;
}
#page-overthinker .ovt-dump-l{ background:#24354B !important; padding:clamp(26px,3.5vw,40px); }
#page-overthinker .ovt-dump-l .ovt-h2{ color:#fff !important; -webkit-text-fill-color:#fff !important; }
#page-overthinker .ovt-dump-l .ovt-eb{ color:rgba(255,255,255,.62) !important; -webkit-text-fill-color:rgba(255,255,255,.62) !important; }
#page-overthinker .ovt-dump-l p{ color:rgba(255,255,255,.78) !important; -webkit-text-fill-color:rgba(255,255,255,.78) !important;
  line-height:1.72; }
#page-overthinker .ovt-dump-ic{
  width:50px; height:50px; border-radius:16px; display:flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,.12) !important; margin:0 0 26px;
}
#page-overthinker .ovt-dump-ic svg{ width:24px; height:24px; stroke:#fff; fill:none;
  stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
#page-overthinker .ovt-quote{
  margin:28px 0 0; padding:18px 20px; border-radius:22px; background:rgba(255,255,255,.10) !important;
}
#page-overthinker .ovt-quote strong{ display:block; font-size:.94rem; font-weight:800;
  color:#fff !important; -webkit-text-fill-color:#fff !important; }
#page-overthinker .ovt-dump-r{ padding:clamp(22px,3.5vw,40px); }
#page-overthinker .ovt-ta{
  width:100%; box-sizing:border-box; min-height:180px; resize:vertical;
  border-radius:24px; border:1px solid #DEDAD5 !important; background:#FBFAF8 !important;
  padding:22px; font:inherit; font-size:1.02rem; line-height:1.65;
  color:#24354B !important; -webkit-text-fill-color:#24354B !important;
}
#page-overthinker .ovt-ta:focus{ outline:none; border-color:#A9B8AE !important;
  box-shadow:0 0 0 3px rgba(125,158,119,.18); }
#page-overthinker .ovt-dump-f{ display:flex; align-items:center; justify-content:space-between;
  gap:16px; flex-wrap:wrap; margin:16px 0 0; }
/* NOT #7B848E / #79828C — both measured 3.8 and 3.9 on white, under AA */
#page-overthinker .ovt-hint{ font-size:.78rem; margin:0;
  color:#666F79 !important; -webkit-text-fill-color:#666F79 !important; }

/* ---- thought sorter -------------------------------------------------------- */
#page-overthinker .ovt-filters{
  display:inline-flex; border-radius:999px; border:1px solid #DEDAD6 !important;
  background:#fff !important; padding:4px; gap:2px; flex-wrap:wrap;
}
#page-overthinker .ovt-f{
  min-height:44px; padding:11px 18px; border-radius:999px; cursor:pointer; font:inherit;
  font-size:.85rem; font-weight:800; border:0 !important; background:transparent !important;
  color:#5B6675 !important; -webkit-text-fill-color:#5B6675 !important;
}
#page-overthinker .ovt-f[aria-pressed="true"]{
  background:#24354B !important; color:#fff !important; -webkit-text-fill-color:#fff !important;
}
#page-overthinker .ovt-rows{ display:flex; flex-direction:column; gap:12px; }
#page-overthinker .ovt-row{
  display:flex; gap:16px; flex-direction:column;
  background:#fff !important; border:1px solid #E4E0DB !important; border-radius:24px; padding:20px;
}
#page-overthinker .ovt-row-main{ display:flex; align-items:flex-start; gap:16px; flex:1; }
#page-overthinker .ovt-dot{
  width:42px; height:42px; border-radius:50%; flex:none;
  display:flex; align-items:center; justify-content:center;
}
#page-overthinker .ovt-dot svg{ width:19px; height:19px; stroke:currentColor; fill:none;
  stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }
#page-overthinker .ovt-dot.is-control{ background:#E5EFE9 !important; color:#4B6553; }
#page-overthinker .ovt-dot.is-release{ background:#EFF0F2 !important; color:#5D6876; }
#page-overthinker .ovt-dot.is-unsorted{ background:#F3F1EB !important; color:#6E6553; }
#page-overthinker .ovt-row-x{ font-size:1rem; font-weight:600; line-height:1.6; margin:0;
  color:#24354B !important; -webkit-text-fill-color:#24354B !important; }
#page-overthinker .ovt-row-m{ margin:5px 0 0; font-size:.83rem;
  color:#656E78 !important; -webkit-text-fill-color:#656E78 !important; }
#page-overthinker .ovt-row-acts{ display:flex; gap:9px; flex-wrap:wrap; align-items:center; }
#page-overthinker .ovt-pick{
  min-height:44px; padding:10px 17px; border-radius:999px; cursor:pointer; font:inherit;
  font-size:.8rem; font-weight:800; border:1px solid transparent !important;
}
#page-overthinker .ovt-pick.is-control{
  background:#EDF4F0 !important; color:#415A49 !important; -webkit-text-fill-color:#415A49 !important; }
#page-overthinker .ovt-pick.is-release{
  background:#EEF1F5 !important; color:#3F4C5C !important; -webkit-text-fill-color:#3F4C5C !important; }
#page-overthinker .ovt-x{
  width:44px; height:44px; min-height:44px; border-radius:50%; cursor:pointer; font:inherit;
  background:#fff !important; border:1px solid #E4E0DB !important;
  display:flex; align-items:center; justify-content:center;
  color:#6B7480 !important; -webkit-text-fill-color:#6B7480 !important;
}
#page-overthinker .ovt-x:hover{ background:#F4F2EF !important; }
#page-overthinker .ovt-x svg{ width:17px; height:17px; stroke:currentColor; fill:none;
  stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }
#page-overthinker .ovt-empty{
  margin:0; padding:40px 20px; text-align:center; border-radius:24px;
  border:1px dashed #DCD7D2 !important; background:transparent !important;
  font-size:.96rem; color:#666F79 !important; -webkit-text-fill-color:#666F79 !important;
}

/* ---- the reset ------------------------------------------------------------- */
#page-overthinker .ovt-reset{
  border-radius:34px; background:#E8EFEB !important; padding:clamp(26px,4vw,42px);
  display:grid; grid-template-columns:.8fr 1.2fr; gap:36px; align-items:center;
}
#page-overthinker .ovt-reset-ic{
  width:50px; height:50px; border-radius:16px; background:#fff !important;
  display:flex; align-items:center; justify-content:center; margin:0 0 22px;
}
#page-overthinker .ovt-reset-ic svg{ width:22px; height:22px; stroke:#4E6640; fill:none;
  stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
#page-overthinker .ovt-steps{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px; }
#page-overthinker .ovt-step{ border-radius:22px; background:rgba(255,255,255,.78) !important; padding:20px; }
#page-overthinker .ovt-step-n{ font-size:.74rem; font-weight:800; letter-spacing:.15em; margin:0;
  color:#6F8175 !important; -webkit-text-fill-color:#6F8175 !important; }
#page-overthinker .ovt-step h3{
  font-family:'Nunito',system-ui,sans-serif !important; font-size:1rem !important; font-weight:800 !important;
  margin:12px 0 0 !important; color:#24354B !important; -webkit-text-fill-color:#24354B !important; }
#page-overthinker .ovt-step p{ margin:8px 0 0; font-size:.87rem; line-height:1.6;
  color:#5A6A5F !important; -webkit-text-fill-color:#5A6A5F !important; }

/* ---- toolkit --------------------------------------------------------------- */
#page-overthinker .ovt-tools{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
#page-overthinker .ovt-tool{
  display:block; width:100%; text-align:left; cursor:pointer; font:inherit;
  border-radius:26px; border:1px solid #E3DFDA !important; background:#fff !important;
  padding:24px; transition:transform .2s ease, box-shadow .2s ease;
}
#page-overthinker .ovt-tool:hover{ transform:translateY(-3px); box-shadow:0 18px 40px rgba(36,53,75,.10); }
#page-overthinker .ovt-tool-top{ display:flex; align-items:flex-start; justify-content:space-between; }
#page-overthinker .ovt-tool h3{
  font-family:'Nunito',system-ui,sans-serif !important; font-size:1.08rem !important; font-weight:800 !important;
  margin:24px 0 0 !important; color:#24354B !important; -webkit-text-fill-color:#24354B !important; }
#page-overthinker .ovt-tool p{ margin:9px 0 0; font-size:.88rem; line-height:1.62;
  color:#6C7681 !important; -webkit-text-fill-color:#6C7681 !important; }

/* ---- mantra ---------------------------------------------------------------- */
#page-overthinker .ovt-mantra{
  border-radius:40px; background:#E8EFEB !important; padding:clamp(38px,6vw,60px) clamp(20px,5vw,64px);
  text-align:center;
}
#page-overthinker .ovt-mantra-i{ margin:0 auto 18px; display:block; width:28px; height:28px;
  stroke:#4E6640; fill:none; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
#page-overthinker .ovt-mantra-q{
  font-family:'Playfair Display',Georgia,serif !important; font-style:italic;
  font-size:clamp(1.5rem,4vw,2.7rem) !important; line-height:1.32; margin:0 auto; max-width:24ch;
  color:#33424E !important; -webkit-text-fill-color:#33424E !important;
}
/* the olive that clears AA on white measures 4.43 on the mantra's sage panel —
   a tint is enough to push it under. Deeper here only. */
#page-overthinker .ovt-mantra-c{
  margin:26px 0 0; font-size:.82rem; font-weight:800; letter-spacing:.18em; text-transform:uppercase;
  color:#4A5C3D !important; -webkit-text-fill-color:#4A5C3D !important;
}

/* ---- sheet ----------------------------------------------------------------- */
#ovtSheet{
  position:fixed; inset:0; z-index:9450; display:none; align-items:center; justify-content:center; padding:16px;
  background:rgba(28,32,38,.44); font-family:'Nunito',system-ui,sans-serif;
}
#ovtSheet.is-open{ display:flex; }
#ovtSheet .ovt-box{
  width:100%; max-width:580px; max-height:calc(100dvh - 40px); overflow-y:auto;
  background:#fff !important; border-radius:28px; padding:24px clamp(18px,4vw,28px) 26px;
  box-shadow:0 26px 64px rgba(28,32,38,.26);
}
#ovtSheet .ovt-box-h{ display:flex; align-items:flex-start; justify-content:space-between; gap:14px; margin:0 0 8px; }
#ovtSheet .ovt-box-t{
  font-family:'Playfair Display',Georgia,serif !important; font-size:1.36rem !important; font-weight:700 !important;
  margin:0 !important; color:#24354B !important; -webkit-text-fill-color:#24354B !important; }
#ovtSheet .ovt-box-x{
  flex:none; width:44px; height:44px; min-height:44px; border-radius:50%; cursor:pointer; font:inherit; font-size:1.05rem;
  background:#F4F2EF !important; border:1px solid #E4E0DB !important;
  color:#24354B !important; -webkit-text-fill-color:#24354B !important; }
#ovtSheet .ovt-box-b{ font-size:.95rem; line-height:1.72;
  color:#3F4A55 !important; -webkit-text-fill-color:#3F4A55 !important; }
#ovtSheet .ovt-box-b > p{ margin:0 0 14px; color:#3F4A55 !important; -webkit-text-fill-color:#3F4A55 !important; }
#ovtSheet .ovt-box-f{ display:flex; gap:10px; justify-content:flex-end; flex-wrap:wrap; margin:20px 0 0; }
#ovtSheet .ovt-fl{
  display:block; margin:0 0 7px; font-size:.79rem; font-weight:800;
  color:#3F4A55 !important; -webkit-text-fill-color:#3F4A55 !important; }
#ovtSheet .ovt-i{
  width:100%; box-sizing:border-box; min-height:48px; padding:12px 15px; border-radius:14px; font:inherit; font-size:.94rem;
  background:#fff !important; border:1px solid #DEDAD5 !important;
  color:#24354B !important; -webkit-text-fill-color:#24354B !important; }
#ovtSheet textarea.ovt-i{ min-height:96px; resize:vertical; }
#ovtSheet .ovt-i:focus{ outline:none; border-color:#A9B8AE !important; box-shadow:0 0 0 3px rgba(125,158,119,.18); }
#ovtSheet .ovt-f2{ display:block; margin:0 0 16px; }
#ovtSheet .ovt-big{
  text-align:center; font-family:'Playfair Display',Georgia,serif; font-size:3rem; font-weight:700;
  margin:10px 0; color:#24354B !important; -webkit-text-fill-color:#24354B !important; }
#ovtSheet .ovt-prog{ display:block; height:8px; border-radius:99px; background:#EDF1EA !important;
  overflow:hidden; margin:14px 0 0; }
#ovtSheet .ovt-prog i{ display:block; height:100%; border-radius:99px; background:#7D9E77 !important;
  transition:width .9s linear; }

/* ---- toast ------------------------------------------------------------------ */
#ovtToast{
  position:fixed; left:50%; bottom:26px; transform:translate(-50%,14px); z-index:9650;
  background:#24354B !important; color:#fff !important; -webkit-text-fill-color:#fff !important;
  padding:14px 24px; border-radius:999px; font-family:'Nunito',system-ui,sans-serif;
  font-size:.88rem; font-weight:700; opacity:0; pointer-events:none;
  transition:opacity .2s, transform .2s; max-width:calc(100vw - 32px); text-align:center;
}
#ovtToast.on{ opacity:1; transform:translate(-50%,0); }

/* ---- responsive -------------------------------------------------------------- */
@media (max-width:1000px){
  #page-overthinker .ovt-quick{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  #page-overthinker .ovt-tools{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  #page-overthinker .ovt-dump{ grid-template-columns:1fr; }
  #page-overthinker .ovt-reset{ grid-template-columns:1fr; gap:26px; }
}
@media (max-width:620px){
  #page-overthinker .ovt-quick{ grid-template-columns:1fr; }
  #page-overthinker .ovt-tools{ grid-template-columns:1fr; }
  #page-overthinker .ovt-steps{ grid-template-columns:1fr; }
  #page-overthinker .ovt-acts .ovt-b{ flex:1 1 auto; }
}

