/* COLORv1 (Nov 3 2026) — the 3andfour.com colours on every personal page, colours ONLY (linked last in <head>).
   Aafaq: "change the colors to the new colors of the website, all across the dashboard — just like you did before".
   From the BRANDv1 palette (BRAND.md); layout and fonts unchanged. Untouched: --green / --green-soft as data (charts,
   states), --red, health / budget / gain-loss / category colours, the hub app-icon colours. */
:root{
  --forest:#16382B; --forest-deep:#0E1F18; --moss:#2F5A45;
  --orange-ink:#BC3F16; --orange-fill:#C7431B; --orange-tint:#FFEBE5;
  --ink:#17160F; --ink-2:#5C594F; --muted:#6E6A60;
  --line:#E6E1D7; --line-soft:#EFEBE3;
  --shadow-base:0 1px 2px rgba(22,50,39,.06),0 12px 32px -16px rgba(22,50,39,.18);
}
::selection{background:var(--orange-tint);color:var(--ink)}
:focus-visible{outline:2px solid var(--orange-ink);outline-offset:2px}
/* HEADERv1 (Nov 3 2026): the BRANDv1 header back — the wordmark leads the crumb / name line, clean uppercase crumbs,
   page titles in Fraunces 500, a hairline with the short orange rule under the header */
header{border-bottom:1px solid var(--line) !important;position:relative}
header:has(.greet){padding-bottom:16px}
header::after{content:"";position:absolute;left:0;bottom:-1px;width:56px;height:2px;background:#FF5D35}
.crumb,.brand{display:flex;align-items:center;flex-wrap:wrap;gap:4px 10px;font-weight:600;letter-spacing:.14em;color:var(--ink-2);font-size:11px;text-transform:uppercase}
.crumb::before,.brand::before{content:"";flex:none;width:96px;height:20px;background:url(/personal/brand/wordmark-ink.png) left center/contain no-repeat;padding-right:10px;border-right:1px solid var(--line);margin-right:0}
.crumb a{color:var(--orange-ink)}
h1,.greet{font-family:var(--font-head);font-weight:500;letter-spacing:-.01em}
@media (max-width:640px){.crumb::before,.brand::before{width:84px;height:18px}}
.navicon{color:var(--forest)}
.goarrow{color:var(--orange-ink)}
.app.live:hover .goarrow{background:var(--forest);border-color:var(--forest);color:#FAF8F5}
.foot a{color:var(--forest)}
.kpi:not(.red):not(.accent):not(.soft):not(.main){background:var(--forest)}
.tab.on,.pill.on,.ftab.on{background:var(--forest);border-color:var(--forest);color:#FAF8F5}
#toTop{color:var(--forest)}
/* SIGNCREAMv1 (Nov 5 2026): sign-in / unlock screens on the cream ground of the pages, white card (he found the forest ground awful). */
#authgate,#gate:not(.gate),#plock,.gover{background-color:#FAF8F5 !important;background-image:radial-gradient(circle at 88% 8%,rgba(22,56,43,.08),transparent 42%),radial-gradient(circle at 8% 96%,rgba(255,93,53,.07),transparent 40%) !important}
.gcard,.pcard,#loginBox{background:#fff}
.gmark{background:var(--forest)}
.gcard a,.pcard button,.pcard a.btn,#loginBtn,#gate a,#plock button,#plock a.btn{background:var(--forest);color:#FAF8F5}
.gcard a:hover,.pcard button:hover,.pcard a.btn:hover,#loginBtn:hover,#gate a:hover,#plock button:hover{background:var(--moss)}
.pcard .glink,.gcard .glink,#gate .gcard a.glink{background:none;color:var(--orange-ink)}
.gbrand{color:var(--orange-ink)}

/* SELARROWv1 (Nov 13 2026, Aafaq: "every dropdown in the dashboard has this error in the arrow, its not placed well"):
   the browser's own arrow sits flush against the right border once a dropdown has a custom border and radius. Every
   single-choice dropdown now draws one chevron, a fixed distance from the edge, with room kept for it. Sizes are in em
   so the small dropdowns scale with their text. */
select:not([multiple]):not([size]){
  -webkit-appearance:none;-moz-appearance:none;appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%2364748b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5'/%3E%3C/svg%3E") !important;
  background-repeat:no-repeat !important;background-position:right .75em center !important;background-size:.8em .8em !important;
  padding-right:2.2em !important;text-overflow:ellipsis;
}
select:not([multiple]):not([size])::-ms-expand{display:none}
