/* Portfolio Partner home. Scoped to body.pp-workspace so other plan dashboards stay as they are.
   Colours sampled from the 4 December 2026 desktop concept: navy #101c2e, teal #087f72, surface #d2d8dc. */
body.pp-workspace{
  --pp-navy:#101c2e;
  --pp-teal:#087f72;
  --pp-teal-ink:#065e54;
  --pp-surface:#d2d8dc;
  --pp-page:#f7f6f3;
  --pp-ink:#101c2e;
  --pp-muted:#5c6770;
  background:var(--pp-page);
}
body.pp-workspace .foundation-header{
  max-width:1180px;
  margin:18px auto 0;
  padding:14px 22px 0;
  background:var(--pp-navy);
  border:0;
  border-radius:18px 18px 0 0;
  color:#fff;
  align-items:center;
}
body.pp-workspace .foundation-brand{
  color:#fff;
  font:700 15px/1 'Space Grotesk',sans-serif;
  letter-spacing:-.02em;
}
body.pp-workspace .pp-brand-rule{margin:0 7px;font-weight:400;opacity:.75}
body.pp-workspace .pp-brand-plan{font-weight:650;font-size:12.5px;letter-spacing:.14em}
body.pp-workspace .foundation-nav{
  order:3;
  flex:1 1 100%;
  width:calc(100% + 44px);
  margin:12px -22px 0;
  padding:11px 22px 2px;
  background:var(--pp-surface);
  gap:2px 18px;
  box-sizing:border-box;
}
body.pp-workspace .foundation-nav button{
  height:auto;
  padding:6px 0 8px;
  border-radius:0;
  background:transparent;
  color:var(--pp-teal);
  font:650 14.5px/1.2 'Space Grotesk',sans-serif;
}
body.pp-workspace .foundation-nav button:hover,
body.pp-workspace .foundation-nav button.active{
  background:transparent;
  color:var(--pp-teal-ink);
  box-shadow:inset 0 -2px 0 var(--pp-teal);
}
body.pp-workspace .foundation-account{gap:14px;color:#fff}
body.pp-workspace #tier-feature-chip{display:none !important}
body.pp-workspace .pp-plans{position:relative;font:600 13px/1 'Space Grotesk',sans-serif}
body.pp-workspace .pp-plans summary{cursor:pointer;color:rgba(255,255,255,.86);list-style:none}
body.pp-workspace .pp-plans summary::-webkit-details-marker{display:none}
body.pp-workspace .pp-plans[open] .td-tier-switch{
  position:absolute;right:0;top:26px;z-index:30;background:#fff;
  box-shadow:0 10px 28px rgba(16,28,46,.2);
}
body.pp-workspace #pp-lang-badge{
  color:#fff;font:650 14px/1 'Space Grotesk',sans-serif;pointer-events:none;margin-right:-2.15rem;
}
body.pp-workspace #lang-picker{
  color:transparent;background:transparent;border:0;width:2.5rem;max-width:none;padding:0;font-weight:700;
}
body.pp-workspace #foundation-profile,
body.pp-workspace #foundation-profile.logged-out{
  width:auto;height:auto;padding:0;border:0;border-radius:0;background:transparent;color:#fff;font-size:0;
}
body.pp-workspace #foundation-profile::after{content:'Account';font:650 14px/1 'Space Grotesk',sans-serif;color:#fff}
body.pp-workspace .foundation-admin{background:transparent;color:#fff;border-color:rgba(255,255,255,.4)}
body.pp-workspace .content{
  max-width:1180px;
  margin:0 auto;
  padding:8px 22px 28px;
  background:var(--pp-surface);
  border-radius:0 0 18px 18px;
}
body.pp-workspace .view[data-view="dashboard"] > :not(#tier-dashboard-root):not(#td-legacy-holder){display:none !important}
body.pp-workspace .disclaimer{
  color:#3d4850;border-top:1px solid rgba(16,28,46,.16);margin-top:16px;background:transparent;
}
body.pp-workspace #tier-dashboard-root .card{background:#fff}

.pp-home{color:var(--pp-ink,#101c2e)}
.pp-headline{
  margin:14px 0 16px;
  font:700 clamp(28px,3vw,34px)/1.15 'Space Grotesk',sans-serif;
  letter-spacing:-.03em;
  color:#101c2e;
}
.pp-hero-row{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);gap:14px;align-items:stretch}
.pp-ask{
  position:relative;
  background:#101c2e;color:#fff;border-radius:16px;padding:22px 22px 18px;min-height:250px;
  display:flex;flex-direction:column;align-items:flex-start;
}
.pp-ask-kicker{margin:0;font:700 18px/1.3 'Space Grotesk',sans-serif;color:#fff}
.pp-ask-kicker span{font-weight:500;color:#d5dde6}
.pp-voice{
  width:86px;height:86px;margin:18px 0 12px;border:0;border-radius:50%;
  background:#087f72;color:#fff;cursor:pointer;
  display:grid;place-items:center;font:700 13px/1 'Space Grotesk',sans-serif;letter-spacing:.08em;
}
.pp-voice:hover{background:#0a917f}
.pp-voice.is-on{box-shadow:0 0 0 6px rgba(8,127,114,.28)}
.pp-voice:focus-visible,.pp-tile:focus-visible,.pp-link:focus-visible,.pp-bottom-nav button:focus-visible{
  outline:2px solid #087f72;outline-offset:3px;
}
.pp-talk{margin:0;font:600 15px/1.35 'Space Grotesk',sans-serif;color:#fff}
.pp-voice-state{margin:6px 0 12px;min-height:1.3em;font:500 13px/1.4 'Space Grotesk',sans-serif;color:#c5d4dc}
.pp-voice-state[data-state="idle"]{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0}
.pp-voice-state[data-state="listening"],
.pp-voice-state[data-state="processing"],
.pp-voice-state[data-state="speaking"]{color:#8ee0d4}
.pp-voice-state[data-state="error"],
.pp-voice-state[data-state="reconnect"]{color:#f3d2a2}
.pp-ask-form{width:100%;margin-top:auto}
body.pp-workspace .pp-ask-form input{
  width:100%;box-sizing:border-box;border:0;border-radius:10px;
  background:#243246;color:#fff;padding:12px 14px;
  font:500 14px/1.4 'Space Grotesk',sans-serif;
}
body.pp-workspace .pp-ask-form input::placeholder{color:rgba(255,255,255,.72)}
body.pp-workspace .pp-ask-form input:focus{outline:2px solid #087f72;outline-offset:1px}
.pp-workspace-card{
  background:#fff;border-radius:16px;padding:18px 18px 14px;color:#101c2e;
  display:flex;flex-direction:column;
}
.pp-kicker{
  margin:0;font:650 12px/1.2 'Space Grotesk',sans-serif;letter-spacing:.08em;color:#5c6b73;
}
.pp-value{
  margin:10px 0 0;font:700 clamp(32px,4vw,40px)/1 'Space Grotesk',sans-serif;
  letter-spacing:-.03em;color:#101c2e;
}
.pp-value-note{margin:6px 0 0;font:500 13px/1.4 'Space Grotesk',sans-serif;color:#5c6770}
.pp-chart{margin-top:8px}
.pp-chart svg{display:block;width:100%;height:92px}
.pp-chart-note{margin:0;font:500 12px/1.35 'Space Grotesk',sans-serif;color:#5c6770}
.pp-links{margin:12px 0 0;display:flex;flex-wrap:wrap;align-items:center;gap:8px;font:650 14px/1 'Space Grotesk',sans-serif}
.pp-link{
  border:0;background:transparent;padding:0;color:#087f72;cursor:pointer;
  font:650 14.5px/1.3 'Space Grotesk',sans-serif;
}
.pp-link:hover{color:#065e54}
.pp-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px}
.pp-tile{
  text-align:left;background:#fff;border:0;border-radius:14px;padding:16px 16px 14px;min-height:92px;cursor:pointer;
  box-shadow:0 1px 0 rgba(16,28,46,.04);
}
.pp-tile:hover{box-shadow:0 4px 14px rgba(16,28,46,.08)}
.pp-tile b{display:block;font:650 16px/1.25 'Space Grotesk',sans-serif;color:#101c2e}
.pp-tile span{display:block;margin-top:4px;font:500 13.5px/1.35 'Space Grotesk',sans-serif;color:#68727a}
.pp-foot{margin:14px 2px 0;font:500 12px/1.45 'Space Grotesk',sans-serif;color:#4e5961}
.pp-foot .pp-link{font-size:12.5px}
.pp-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}
.pp-back{margin:0 0 12px;font:500 13px/1.4 'Space Grotesk',sans-serif;color:#3d4850}
body.pp-workspace #pp-tools [hidden]{display:none !important}
.pp-back-note{display:inline}
.pp-bottom-nav{display:none}

@media(max-width:760px){
  body.pp-workspace .foundation-header{margin:0;border-radius:0;max-width:none;padding:12px 16px}
  body.pp-workspace .foundation-nav{display:none}
  body.pp-workspace .content{max-width:none;border-radius:0;padding:12px 14px 92px}
  body.pp-workspace .pp-hero-row{grid-template-columns:1fr}
  body.pp-workspace .pp-tiles{grid-template-columns:1fr}
  body.pp-workspace .pp-headline{font-size:26px;margin-top:6px}
  .pp-bottom-nav{
    display:flex;position:fixed;left:0;right:0;bottom:0;z-index:40;
    background:#101c2e;color:#fff;justify-content:space-between;gap:2px;
    padding:8px 6px calc(8px + env(safe-area-inset-bottom));
  }
  .pp-bottom-nav button{
    flex:1 1 0;border:0;background:transparent;color:#d5e4e1;
    font:600 10px/1.2 'Space Grotesk',sans-serif;padding:6px 2px;cursor:pointer;border-radius:8px;
  }
  .pp-bottom-nav button.active{color:#fff;background:rgba(8,127,114,.35)}
}
