:root {
  --bg:#fff;
  --ink:#171719;
  --muted:#63636b;
  --gold:#0067c5;
  --goldbg:#edf5ff;
  --border:#e5e5ea;
  --wine:#b82228;
  --winebg:#fff1f2;
  --panel:#f5f5f7;
  --brand:#d92d32;
  --control-line:#8e8e93;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
body {
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  line-height:1.57;
}
button,input,select,textarea {
  font-family:inherit;
  letter-spacing:normal;
}
h1,.h1 {
  font:650 28px/36px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
h2 {
  font-size:20px;
  line-height:28px;
}
.name {
  font-family:inherit;
}
label,.label {
  font:600 13px/18px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  letter-spacing:normal;
  text-transform:none;
  color:var(--ink);
}
.mono,.tag,.chip,summary {
  font-family:inherit;
}
.small,.mono,.tag {
  font-size:12px;
}
input,select,textarea {
  border-color:var(--control-line);
  border-radius:8px;
}
button {
  min-height:36px;
}
.app-sidebar .sidebar-legacy {border:0;padding:10px 12px;margin:16px 0 0;background:transparent}
.app-sidebar .sidebar-legacy summary {font-size:13px;font-weight:500;color:var(--muted);line-height:1.5}
.app-sidebar .sidebar-legacy a {font-size:13px;padding:10px 0}
.primary {
  background:var(--brand);
  border-color:var(--brand);
  border-radius:10px;
  font:600 14px/22px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  min-height:44px;
}
.primary:hover {
  background:#b82228;
}
input:focus,select:focus,textarea:focus {
  border-color:#0067c5;
}
:focus-visible {
  outline:3px solid #0067c5;
  outline-offset:3px;
}
.skip-link {
  position:fixed;
  left:16px;
  top:-100px;
  z-index:1000;
  padding:12px;
  background:#fff;
  color:#0067c5;
}
.skip-link:focus {
  top:12px;
}
.with-shell {
  background:#fff;
  color:#171719;
}
.with-shell main {
  max-width:1600px;
  margin-left:212px;
  padding:32px;
  min-height:100vh;
}
.app-sidebar {
  position:fixed;
  inset:0 auto 0 0;
  width:212px;
  background:#fafafa;
  border-right:1px solid #e5e5ea;
  padding:28px 16px;
  display:flex;
  flex-direction:column;
  z-index:50;
}
.puttsites-logo {
  font-size:30px;
  line-height:36px;
  letter-spacing:-1.7px;
  font-weight:750;
  color:#171719;
  text-decoration:none;
  margin:0 10px 64px;
}
.puttsites-logo span {
  color:#d92d32;
}
.app-sidebar nav {
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:6px;
}
.app-sidebar nav a {
  font:500 14px/22px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  letter-spacing:0;
  color:#63636b;
  padding:12px 14px;
  border-radius:9px;
  text-decoration:none;
  min-height:44px;
}
.app-sidebar nav a:hover {
  background:#f0f0f3;
}
.app-sidebar nav a[aria-current] {
  background:#ededf0;
  color:#171719;
  font-weight:650;
  box-shadow:inset 3px 0 #d92d32;
}
.sidebar-account {
  margin-top:auto;
  border-top:1px solid #e5e5ea;
  padding:20px 10px 0;
  font-size:12px;
  overflow-wrap:anywhere;
}
.sidebar-account .link {
  font:inherit;
  color:#0067c5;
}
.sidebar-account form {margin-top:10px}
.sidebar-account select,.workspace-menu footer select {width:100%;min-height:40px;border:1px solid #d6d6da;border-radius:9px;background:#fff;color:#171719;padding:7px 30px 7px 10px;font:500 12px/1.3 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.context-handoff {
  background:#fff1f2;
  border:1px solid #e5e5ea;
  border-radius:12px;
  padding:20px;
  margin-bottom:24px;
  color:#171719;
}
.context-handoff h2 {
  margin-top:0;
}
.context-handoff ul {
  margin-bottom:0;
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    animation-duration:.01ms!important;
    transition-duration:.01ms!important;
    scroll-behavior:auto!important;
  }
}
/* Shared workspace surfaces, including the legacy operational screens. */
:root {--line:#e5e5ea;--wa:#edf5ff;--accent:#d92d32;--accent-soft:#fff1f2}
.puttsites-wordmark {font:750 30px/36px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:-1.7px;color:#171719}
.puttsites-wordmark span {color:#d92d32}
.with-shell main {width:calc(100% - 212px);box-sizing:border-box}
.with-shell .pagehead {margin-bottom:28px}
.with-shell .pagehead h1 {font-size:30px;line-height:1.25;letter-spacing:-.9px;margin:0 0 8px}
.with-shell .pagehead p {font-size:14px;line-height:1.6;margin:0;color:#63636b;max-width:70ch}
.card {background:#fff;border:1px solid #e5e5ea;border-radius:12px;padding:22px;box-shadow:none}
.card h2,.card h3,.cname,.cthumb .ph,.avatar.ph {font-family:inherit}
summary {text-align:left;color:#63636b;border-color:#e5e5ea}
input,select,textarea {background:#fff;color:#171719}
button.link,.link,a.back {font-family:inherit;letter-spacing:0}
a.btn {font:500 13px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:0}
.st-card {background:#fff;border-color:#e5e5ea}
.dash-kpi {box-shadow:none}
.dash-tab,.dash-kpi-val,.tx-box,.call-outcome,.board,.kpis,.kpis b,.col header,.acard,.next {font-family:inherit}
.acard {background:#fff;border-color:#e5e5ea;border-radius:10px;box-shadow:none}
.col {background:#fafafa;border:1px solid #e5e5ea;border-radius:12px}
.col header {border-color:#e5e5ea;color:#63636b}
.board {max-width:100%;padding-bottom:18px}
.wa {border-radius:14px;font-family:inherit}
.wa-day span {text-transform:none;box-shadow:none}
.bub {box-shadow:none;padding:10px 12px}
.wa-chip {text-decoration:none;min-height:32px;display:inline-flex;align-items:center}
@media(max-width:767px){.with-shell main{width:100%}.card{padding:18px}.studio-grid{grid-template-columns:1fr}.with-shell .pagehead h1{font-size:27px}.with-shell .pagehead{flex-wrap:wrap}.wa{height:calc(100dvh - 230px);min-height:520px}}
.board .col {background:#fafafa;max-height:calc(100dvh - 300px);min-height:320px;overflow-y:auto;scrollbar-width:thin}
.board .col header {font:600 12px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:0;text-transform:none;position:sticky;top:-8px;background:#fafafa;color:#63636b;padding:10px 4px;z-index:1}
.board .acard .name {font:600 14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.board .acard {padding:14px 12px}
.portfolio-team {margin:0 0 20px}
.portfolio-team summary {display:inline-block;font-size:12px;border:0;padding:0}
@media(max-width:767px){.board .col{max-height:70dvh}}
.board .col,.board .acard {min-width:0}
.mobile-tabs {display:none}
.workspace-menu {width:min(440px,calc(100% - 24px));max-height:85dvh;border:1px solid var(--border);border-radius:24px;padding:24px;color:var(--ink);box-shadow:0 24px 80px #0002}
.workspace-menu::backdrop {background:#17171955;backdrop-filter:blur(5px)}
.workspace-menu header,.workspace-menu footer {display:flex;align-items:center;justify-content:space-between;gap:16px}
.workspace-menu h2 {margin:0;font-size:20px}
.workspace-menu header button {border:0;border-radius:50%;background:var(--panel);font-size:26px;width:44px;height:44px;color:var(--ink)}
.workspace-menu nav {display:grid;margin:16px 0}
.workspace-menu nav a {padding:13px 8px;border-bottom:1px solid var(--border);text-decoration:none;color:var(--ink);font-weight:600}
.workspace-menu nav a span {display:block;font-size:13px;font-weight:400;color:var(--muted)}
.workspace-menu footer {font-size:13px;color:var(--muted);flex-wrap:wrap}
.workspace-menu footer [data-language-form] {flex:1 1 150px}
html:has(.workspace-menu[open]) {overflow:hidden}
@media(max-width:767px) {
  .with-shell main {margin-left:0;padding:24px 16px calc(96px + env(safe-area-inset-bottom));min-height:calc(100dvh - 65px)}
  .app-sidebar {position:relative;width:auto;inset:auto;border-right:0;border-bottom:1px solid var(--border);padding:12px 20px;min-height:64px;gap:0}
  .app-sidebar>nav,.app-sidebar>.sidebar-account {display:none}
  .app-sidebar .puttsites-logo {font-size:25px;line-height:36px;align-self:flex-start;margin:0}
  .mobile-tabs {display:flex;position:fixed;z-index:80;bottom:0;left:0;right:0;padding:6px 10px calc(6px + env(safe-area-inset-bottom));background:#fffffff5;backdrop-filter:blur(20px);border-top:1px solid var(--border);justify-content:space-around}
  .mobile-tabs a,.mobile-tabs button {flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:52px;background:none;border:0;border-radius:10px;text-decoration:none;color:var(--muted);font:500 11px/16px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;padding:4px}
  .mobile-tabs [aria-current],.mobile-tabs [data-current] {color:var(--brand)}
  input,select,textarea {font-size:16px}
  button,a.btn,summary {min-height:44px}
  .workspace-menu {margin:auto auto calc(84px + env(safe-area-inset-bottom));padding:20px}
  .workspace-menu nav a {padding:10px 8px}
  .wa {height:calc(100dvh - 225px);min-height:360px}
}
.board .acard {overflow-wrap:anywhere}
@media(max-width:767px){.workspace-menu{max-height:calc(100dvh - 108px - env(safe-area-inset-bottom))}}

/* Global back control (all signed-in pages) */
.app-back{display:flex;align-items:center;max-width:1480px;margin:0 auto;padding:12px 32px 0}
.app-back[hidden]{display:none}
.app-back-btn{display:inline-flex;align-items:center;gap:6px;min-height:28px;padding:0 11px 0 8px;border:1px solid rgba(23,23,25,.1);border-radius:999px;background:#fff;color:#6b6b74;font:inherit;font-size:12px;font-weight:500;letter-spacing:0;cursor:pointer;box-shadow:0 1px 2px rgba(23,23,25,.04);transition:color .15s ease,border-color .15s ease,box-shadow .15s ease}
.app-back-btn:hover{color:#17171a;border-color:rgba(23,23,25,.28);box-shadow:0 2px 6px rgba(23,23,25,.08)}
.app-back-btn span{font-size:15px;line-height:1;margin-top:-1px}
.app-back+.gtm-shell,.app-back~.gtm-shell{padding-top:14px}
@media(max-width:680px){.app-back{padding:10px 16px 0}}
