@font-face {
  font-family:Satoshi;
  src:url("marca/satoshi-400.woff2") format("woff2");
  font-weight:400;
  font-display:swap;
}

@font-face {
  font-family:Satoshi;
  src:url("marca/satoshi-500.woff2") format("woff2");
  font-weight:500 600;
  font-display:swap;
}

@font-face {
  font-family:Satoshi;
  src:url("marca/satoshi-700.woff2") format("woff2");
  font-weight:650 900;
  font-display:swap;
}

* {
  box-sizing:border-box;
}

:root {
  --paper:#f7f6f2;
  --card:#fffefa;
  --ink:#141414;
  --muted:#5c625f;
  --line:#deded5;
  --brand:#0E2F26;
  --deep:#08251d;
  --sage:#e8eee5;
  --sans:Satoshi,Inter,"Helvetica Neue",Arial,sans-serif;
  --display:var(--sans);
  font-family:var(--sans);
  color:var(--ink);
  background:var(--paper);
  font-size:100%;
}

body {
  margin:0;
  line-height:1.5;
}

a {
  color:inherit;
}

button,input,textarea,select {
  font:inherit;
}

button,a,summary,input,textarea,select {
  touch-action:manipulation;
}

button,summary {
  cursor:pointer;
}

:focus-visible {
  outline:3px solid #9a5c1a;
  outline-offset:3px;
}

h1,h2,h3,p {
  margin:0;
}

h1,h2,.footbrand,.brand {
  font-family:var(--display);
  font-weight:400;
}

h1,h2,h3 {
  font-weight:700;
}

h1 {
  font-size:clamp(2.45rem,4.4vw,4.15rem);
  letter-spacing:-.055em;
  line-height:1.09;
  text-wrap:balance;
}

h2 {
  font-size:clamp(1.4rem,2.1vw,1.8rem);
  letter-spacing:-.035em;
  line-height:1.2;
}

h3 {
  font-size:1.08rem;
}

small,.muted,.lead {
  color:var(--muted);
}

small {
  font-size:.875rem;
  line-height:1.45;
  display:block;
}

.lead {
  font-size:1.06rem;
  margin-top:.55rem;
}

.icon {
  width:1.22rem;
  height:1.22rem;
  flex-shrink:0;
  vertical-align:middle;
}

.skip {
  position:fixed;
  left:1rem;
  top:-6rem;
  z-index:20;
  background:white;
  padding:.8rem;
}

.skip:focus {
  top:1rem;
}

.shell {
  min-height:100vh;
  display:flex;
  flex-direction:column;
}

.top {
  background:var(--card);
  border-bottom:1px solid var(--line);
}

.topin {
  max-width:1192px;
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:75px;
  padding:0 36px;
}

.brand {
  display:inline-flex;
  align-items:center;
  gap:12px;
  font-size:1.55rem;
  text-decoration:none;
  line-height:1.05;
  letter-spacing:-.045em;
}

.brandlogo {
  display:block;
  width:165px;
  height:auto;
}

.brand {
  flex-direction:column;
  align-items:flex-start;
  gap:4px;
}

.brand small {
  font:600 .68rem/1.5 var(--sans);
  text-transform:uppercase;
  letter-spacing:.15em;
  margin-top:3px;
}

.mono {
  width:44px;
  height:44px;
  border:1px solid #9e8a85;
  color:var(--brand);
  display:grid;
  place-items:center;
  font-family:Georgia,serif;
  font-style:italic;
  font-size:2.45rem;
  letter-spacing:-.22em;
  line-height:.85;
  padding:0 9px 4px 0;
  border-radius:50%;
}

.account {
  display:flex;
  align-items:center;
  gap:12px;
}

.qa-label {
  border:1px solid #d5c9b1;
  border-radius:4px;
  color:#46534c;
  padding:2px 6px;
  font-size:.75rem;
  font-weight:650;
}

.account details,.mobile-nav {
  position:relative;
}

.account summary,.mobile-nav summary {
  list-style:none;
  display:flex;
  align-items:center;
  min-height:44px;
  gap:8px;
  font-size:.9rem;
  font-weight:600;
}

.account summary:after,summary:not(.account summary):not(.mobile-nav summary):not(.history summary):after {
  content:"";
  border-right:1.5px solid currentColor;
  border-bottom:1.5px solid currentColor;
  width:6px;
  height:6px;
  transform:rotate(45deg);
  margin:0 3px 4px auto;
}

.account summary:after {
  margin-left:3px;
}

summary::-webkit-details-marker {
  display:none;
}

.avatar {
  background:#e8e1d8;
  color:#0e2f26;
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  border-radius:100%;
  font:600 .83rem var(--sans);
}

.drop,.mobile-nav nav {
  position:absolute;
  right:0;
  top:100%;
  padding:14px;
  background:var(--card);
  border:1px solid var(--line);
  min-width:170px;
  z-index:10;
  box-shadow:0 8px 20px #30242612;
}

.drop a,.drop button {
  display:flex;
  align-items:center;
  gap:8px;
  min-height:44px;
  background:none;
  border:none;
  text-decoration:underline;
  font:inherit;
}

.drop p {
  font-weight:600;
  white-space:nowrap;
}

.main {
  width:100%;
  max-width:1192px;
  margin:0 auto;
  padding:42px 36px 52px;
  flex:1;
}

.main.narrow {
  max-width:840px;
}

.personal .fredhome {
  max-width:1000px;
}

.dateline {
  color:#52645b;
  display:flex;
  align-items:center;
  gap:9px;
  font-size:.77rem;
  letter-spacing:.11em;
  text-transform:uppercase;
  font-weight:700;
  margin-bottom:.7rem;
}

.dateline .icon {
  width:17px;
  height:17px;
}

.welcome {
  margin:0 0 24px;
}

.welcome h1,h2,h3 {
  font-weight:700;
}

h1 {
  font-size:clamp(2.65rem,5vw,4.35rem);
}

.decision-hero {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:var(--brand);
  color:#fffaf3;
  border-radius:13px;
  margin-bottom:20px;
  border:1px solid #0e2f26;
}

.hero-inner {
  padding:26px 32px;
  max-width:78%;
  position:relative;
}

.hero-top {
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:14px;
}

.hero-icon,.tile-icon,.stat-icon {
  display:inline-grid;
  place-items:center;
  width:38px;
  height:38px;
  border-radius:10px;
  flex:none;
}

.hero-icon {
  border:1px solid #92a99b;
  background:#ffffff0d;
  color:#fff7ef;
}

.counttag {
  background:#f5efdd;
  color:#0e2f26;
  font-size:.82rem;
  padding:3px 10px;
  border-radius:20px;
  font-weight:650;
}

.hero-inner h2 {
  font-size:clamp(1.72rem,3vw,2.5rem);
}

.quick-ask {
  margin-top:2px;
}

.sidebar .brand small {
  letter-spacing:.13em;
}

.sidebar .brandlogo {
  min-width:160px;
}

.hero-inner p {
  margin:7px 0 14px;
  color:#e8e1d8;
  font-size:1.04rem;
}

.hero-link,.textlink,.back,.panel-link,.pagination a,.listlink,.side-actions a {
  font-weight:600;
  font-size:.94rem;
  min-height:44px;
  display:inline-flex;
  align-items:center;
  gap:6px;
}

.hero-link {
  text-decoration:underline;
  text-underline-offset:4px;
}

.arches {
  position:absolute;
  right:-4%;
  top:-6%;
  height:132%;
  width:43%;
  overflow:hidden;
  z-index:-1;
  transform:rotate(-9deg);
  color:#ab9c8f;
  opacity:.36;
}

.arches i {
  display:block;
  position:absolute;
  bottom:-44%;
  height:135%;
  width:calc(100% - 16px);
  border:1px solid currentColor;
  border-radius:50% 50% 0 0;
}

.arches i:nth-child(2) {
  inset-inline-start:12%;
  height:123%;
  width:calc(88% - 16px);
}

.arches i:nth-child(3) {
  inset-inline-start:24%;
  height:111%;
  width:calc(76% - 16px);
}

.arches i:nth-child(4) {
  inset-inline-start:36%;
  height:99%;
  width:calc(64% - 16px);
}

.arches i:nth-child(5) {
  inset-inline-start:48%;
  height:87%;
  width:calc(52% - 16px);
}

.btn {
  min-height:46px;
  padding:10px 19px;
  display:inline-flex;
  justify-content:center;
  align-items:center;
  gap:8px;
  font-weight:600;
  text-decoration:none;
  border:1px solid transparent;
  border-radius:7px;
  font-size:1rem;
  line-height:1.4;
  text-align:center;
}

.btn.primary {
  background:var(--brand);
  color:#fff;
}

.btn.primary:hover {
  background:var(--deep);
}

.btn.ivory {
  background:#fffaf2;
  color:#0e2f26;
}

.btn.outlined {
  background:var(--card);
  border-color:#c6c4ba;
  color:#0e2f26;
}

.btn.outlined:hover,.panel-link:hover,.textlink:hover {
  background:#f1eee6;
}

.fredgrid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
  align-items:start;
}

.panel {
  background:var(--card);
  border:1px solid var(--line);
  border-radius:12px;
  padding:24px;
  min-width:0;
}

.section-head,.panelhead {
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:17px;
}

.panelhead {
  justify-content:space-between;
}

.tile-icon,.stat-icon {
  color:#244c3e;
  background:#f0ede3;
}

.highlight {
  padding:4px 0 14px;
}

.highlight p {
  margin-top:7px;
}

.pill {
  display:inline-flex;
  align-items:center;
  gap:4px;
  vertical-align:middle;
  line-height:1.35;
  font-size:.82rem;
  font-weight:650;
  padding:4px 9px;
  border-radius:5px;
  background:#edede8;
  color:#52554c;
}

.pill.gold {
  background:#f5ead3;
  color:#73551b;
}

.pill.green {
  background:#e3eddf;
  color:#35553a;
}

.pill.rust {
  background:#f4e2dc;
  color:#843d30;
}

.pill.blue {
  background:#e1eaed;
  color:#34515d;
}

.pill .icon {
  width:14px;
  height:14px;
}

.panel-link {
  display:flex;
  justify-content:space-between;
  border-top:1px solid var(--line);
  margin-top:12px;
  padding-top:7px;
  text-decoration:none;
  color:var(--brand);
}

.panel-link .icon,.textlink .icon,.hero-link .icon,.back .icon {
  width:15px;
}

.milestone {
  display:flex;
  align-items:center;
  gap:14px;
  padding:13px 0;
  border-bottom:1px solid var(--line);
}

.milestone:last-of-type {
  border-bottom:0;
}

.milestone strong,.taskname strong {
  font-size:1rem;
  font-weight:600;
  line-height:1.4;
  display:block;
}

.datebox {
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  min-width:48px;
  min-height:52px;
  border-radius:6px;
  border:1px solid #dedbcf;
  background:#f4f3eb;
  line-height:1.1;
}

.datebox b {
  font-family:var(--display);
  font-weight:700;
  font-size:1.45rem;
}

.datebox small {
  font-size:.67rem;
  text-transform:uppercase;
  font-weight:700;
  letter-spacing:.08em;
}

.askbar,.actions,.chips,.answer-actions {
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}

.askbar {
  margin-top:20px;
}

.textlink,.back,.actions>a:not(.btn),.listlink {
  color:var(--brand);
  text-underline-offset:4px;
}

.back {
  text-decoration:none;
  margin-bottom:12px;
}

.textlink {
  white-space:normal;
}

.chips {
  margin:12px 0 18px;
}

.headrow {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-bottom:25px;
}

footer {
  margin-top:auto;
  padding:17px 36px;
  border-top:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  color:var(--muted);
  font-size:.83rem;
}

.footbrand {
  font-size:1.15rem;
  color:#584844;
}

.sidebar {
  position:fixed;
  inset:0 auto 0 0;
  width:218px;
  display:flex;
  flex-direction:column;
  padding:30px 18px;
  background:#0e2f26;
  color:#faf5ed;
  border-right:1px solid #1c4438;
}

.sidebar .brand {
  padding:0;
}

.sidebar .mono {
  color:#f7eee4;
  border-color:#ab9c8f;
}

.sidebar .brand small,.sidetail {
  color:#dfded6;
}

.sidebar .brand {
  padding-inline:1px;
}

.sidebar nav {
  display:grid;
  gap:5px;
  margin-top:45px;
}

.sidebar nav a,.mobile-nav nav a {
  display:flex;
  align-items:center;
  gap:12px;
  border-radius:6px;
  padding:12px 14px;
  min-height:46px;
  text-decoration:none;
  font-weight:500;
}

.sidebar nav a[aria-current],.sidebar nav a:hover {
  background:#215141;
}

.sidebar nav .icon {
  color:#d6e1d9;
}

.sidetail {
  font-size:.86rem;
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:auto;
  padding:16px 8px;
  border-top:1px solid #3c584b;
}

.manager .shell {
  margin-left:218px;
}

.manager .topin {
  max-width:none;
  min-height:60px;
}

.location {
  font-weight:600;
  font-size:.9rem;
  color:var(--muted);
}

.location span {
  margin:0 8px;
  color:#a09c91;
}

.mobile-nav {
  display:none;
}

.manager .main {
  padding-top:34px;
}

.manager h1,h2,h3 {
  font-weight:700;
}

h1 {
  font-size:clamp(2.2rem,3.6vw,3.6rem);
}

.stats {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
  margin-bottom:22px;
}

.stats a {
  position:relative;
  display:flex;
  flex-direction:column;
  background:var(--card);
  padding:18px 20px;
  border:1px solid var(--line);
  border-radius:9px;
  text-decoration:none;
}

.stats a:hover,.projectcard:hover {
  border-color:#a99c8d;
}

.stats a b {
  font:normal 2.4rem/1.1 var(--display);
  margin-bottom:7px;
}

.stats a>span:last-child {
  font-size:.95rem;
  font-weight:550;
}

.stat-icon {
  position:absolute;
  right:14px;
  top:14px;
  width:30px;
  height:30px;
  border-radius:8px;
}

.stat-icon .icon {
  width:17px;
  height:17px;
}

.overview-grid {
  display:grid;
  grid-template-columns:minmax(0,1.75fr) minmax(255px,1fr);
  gap:18px;
  align-items:start;
}

.stack {
  display:grid;
  gap:16px;
}

.taskrow,.listlink,.side-actions a,.checkrow {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  border-top:1px solid var(--line);
  padding:14px 0;
  text-decoration:none;
}

.taskrow:hover strong,.listlink:hover strong {
  text-decoration:underline;
}

.taskname small:first-child {
  font-size:.78rem;
  color:#56675d;
}

.taskname strong {
  margin:3px 0;
}

.taskrow .pill {
  flex:none;
}

.side-actions a:first-of-type {
  margin-top:12px;
}

.side-actions a b {
  color:var(--brand);
}

.seednote {
  color:var(--muted);
  margin-top:20px;
  font-size:.9rem;
}

.narrow>h1,.narrow>.lead,.narrow>.decision-heading,.narrow>.panel {
  margin-bottom:19px;
}

.panel>h2 {
  margin-bottom:14px;
}

.panel>p,.panel .reading,.inbox-item p {
  margin:8px 0 15px;
}

.projectgrid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(250px,100%),1fr));
  gap:16px;
}

.projectcard {
  display:flex;
  flex-direction:column;
  gap:14px;
  text-decoration:none;
}

.projectcard .tile-icon {
  align-self:start;
}

.projectcard .textlink {
  margin-top:auto;
}

.projectcard p {
  margin:0;
}

.facts {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:0 22px;
}

.facts>div,.history dl>div {
  border-top:1px solid var(--line);
  padding:11px 0;
}

dt {
  color:var(--muted);
  font-size:.87rem;
}

dd {
  margin:3px 0 0;
  overflow-wrap:anywhere;
}

.panel a,.panel p,.panel strong,h1,h2 {
  overflow-wrap:anywhere;
}

.history summary small {
  display:block;
  font-weight:400;
}

.history summary {
  display:block;
  min-height:44px;
  padding:10px 0;
  border-top:1px solid var(--line);
}

.panel details summary,.help summary {
  list-style:none;
  display:flex;
  align-items:center;
  gap:9px;
  min-height:44px;
  font-weight:600;
}

.history details summary {
  display:block;
}

.panel details[open] summary {
  margin-bottom:9px;
}

label,.field label {
  display:block;
  font-weight:600;
  font-size:.95rem;
}

.fieldpair,.fields {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}

.taskform>.field,.taskform>.fieldpair {
  margin-bottom:18px;
}

input:not([type=checkbox]):not([type=hidden]),textarea,select {
  background:#fff;
  color:var(--ink);
  border:1px solid #a9b3ab;
  border-radius:6px;
  padding:10px 12px;
  min-height:46px;
  max-width:100%;
  width:100%;
  margin-top:5px;
  font-size:1rem;
}

input::placeholder,textarea::placeholder {
  color:#70736c;
}

textarea {
  resize:vertical;
  display:block;
}

.checkfield {
  display:flex;
  align-items:center;
  gap:10px;
  min-height:44px;
}

.checkfield input {
  width:20px;
  height:20px;
  order:-1;
}

.advanced,.help,.filters details {
  border-block:1px solid var(--line);
  padding:7px 0;
  margin:18px 0;
}

.help {
  margin-bottom:0;
}

.advanced .stack {
  margin:12px 0;
}

.filters {
  margin-bottom:20px;
}

.pagination {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:16px;
  padding-top:12px;
  border-top:1px solid var(--line);
}

.inlineform {
  display:flex;
  align-items:end;
  gap:10px;
}

.inlineform label {
  flex:1;
}

.actions a:not(.btn) {
  min-height:44px;
  display:inline-flex;
  align-items:center;
}

.notices,.errorlist {
  margin:0 0 12px;
}

.notice,.errorlist {
  border-radius:6px;
  background:#e4eddf;
  color:#294c36;
  padding:10px 14px;
  font-size:.94rem;
}

.notice.error,.errorlist {
  color:#742f2c;
  background:#fae9e4;
}

.errorlist {
  list-style:none;
}

.decision-copy>div+div {
  margin-top:18px;
}

.decision-copy h2 {
  font-size:1.35rem;
}

.decision-copy p {
  margin-top:7px;
}

.recommend {
  background:#efeee5;
  border-left:3px solid #8b7961;
  border-radius:4px;
  padding:14px 16px;
}

.recommend h2 {
  display:flex;
  align-items:center;
  gap:8px;
}

.costline {
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-block:1px solid var(--line);
  padding:12px 0;
}

.decision-heading .dateline {
  margin-top:12px;
}

.answer-actions {
  align-items:stretch;
}

.inbox-item+.inbox-item,.reading+.reading {
  border-top:1px solid var(--line);
  padding-top:16px;
}

.inbox-item h2 {
  margin:10px 0;
  font-size:1.4rem;
}

.inbox-item {
  padding:8px 0;
}

.auth {
  max-width:440px;
  margin:5vh auto;
  background:var(--card);
  border:1px solid var(--line);
  padding:32px;
  border-radius:14px;
}

.auth>.brand {
  margin-bottom:32px;
}

.auth h1,h2,h3 {
  font-weight:700;
}

h1 {
  font-size:2.5rem;
}

.auth .lead {
  margin-bottom:22px;
}

.actions form {
  margin:0;
}

.history .icon {
  width:16px;
}

@media(max-width:1120px) {
  .manager .shell {
    margin-left:182px;
  }
  .sidebar {
    width:182px;
    padding:24px 12px;
  }
  .main,.topin {
    padding-inline:24px;
  }
  .overview-grid {
    grid-template-columns:minmax(0,1.5fr) minmax(225px,1fr);
  }
  .stats a {
    padding:16px;
  }
  .panel {
    padding:20px;
  }
}

@media(max-width:850px) {
  .sidebar,.location {
    display:none;
  }
  .manager .shell {
    margin:0;
  }
  .mobile-nav {
    display:block;
  }
  .mobile-nav nav {
    left:0;
    right:auto;
  }
  .mobile-nav nav a[aria-current] {
    background:#f0ede3;
  }
  .overview-grid {
    grid-template-columns:1fr;
  }
  .overview-grid>.stack {
    grid-template-columns:1fr 1fr;
  }
  .fredgrid {
    gap:14px;
  }
  .personal .topin {
    min-height:66px;
  }
}

@media(max-width:600px) {
  .topin {
    padding:0 16px;
    min-height:62px;
  }
  .personal .topin {
    min-height:74px;
  }
  .main,.manager .main {
    padding:23px 16px 32px;
  }
  .brand {
    font-size:1.26rem;
    gap:2px;
  }
  .brandlogo {
    display:block;
    width:165px;
    height:auto;
  }
  .brand {
    flex-direction:column;
    align-items:flex-start;
    gap:4px;
  }
  .brand small {
    font-size:.61rem;
  }
  .mono {
    width:36px;
    height:36px;
    font-size:2rem;
  }
  .account summary {
    font-size:.8rem;
  }
  .account .avatar {
    width:28px;
    height:28px;
  }
  .fredgrid,.overview-grid>.stack {
    grid-template-columns:1fr;
  }
  .welcome {
    margin-bottom:18px;
  }
  .dateline {
    font-size:.73rem;
    letter-spacing:.09em;
  }
  .hero-inner {
    padding:19px 18px;
    max-width:100%;
  }
  .hero-inner p {
    max-width:83%;
  }
  .hero-top {
    margin-bottom:10px;
  }
  .hero-icon {
    width:32px;
    height:32px;
  }
  .hero-inner h2 {
    font-size:1.66rem;
  }
  .arches {
    width:40%;
    right:-14%;
    opacity:.22;
  }
  .decision-hero {
    margin-bottom:14px;
  }
  .hero-inner .btn {
    min-width:50%;
  }
  .panel {
    padding:18px;
  }
  .section-head {
    margin-bottom:10px;
    gap:9px;
  }
  .tile-icon {
    width:32px;
    height:32px;
  }
  .milestone {
    padding:10px 0;
  }
  .headrow {
    align-items:flex-start;
    flex-wrap:wrap;
    gap:12px;
  }
  .stats {
    grid-template-columns:1fr 1fr;
    gap:9px;
  }
  .stat-icon {
    top:10px;
    right:10px;
  }
  .stats a b {
    font-size:2.05rem;
  }
  .taskrow {
    align-items:flex-start;
    gap:7px;
  }
  .taskrow .pill {
    font-size:.75rem;
  }
  .fieldpair,.fields {
    grid-template-columns:1fr;
  }
  .facts {
    grid-template-columns:1fr;
  }
  .answer-actions {
    flex-direction:column;
    gap:8px;
  }
  .askbar .btn {
    flex:1;
  }
  .hero-inner h2,.section-head h2 {
    text-wrap:initial;
  }
  .auth {
    padding:23px;
    margin:4vh auto;
  }
  .inlineform {
    flex-wrap:wrap;
  }
  .history summary small {
    margin-top:3px;
  }
  .decision-heading h1,h2,h3 {
    font-weight:700;
  }
  h1 {
    font-size:2.25rem;
  }
  .decision-page .back {
    margin-bottom:3px;
  }
  .decision-copy>div+div {
    margin-top:14px;
  }
  footer {
    padding:15px 18px;
  }
  .main h1 {
    overflow-wrap:anywhere;
  }
  .checkrow .btn {
    padding:8px 10px;
  }
  .headrow .btn {
    white-space:nowrap;
  }
}
