    :root {
      --ink: #112437;
      --muted: #54697f;
      --paper: #f4f8fc;
      --card: #ffffff;
      --line: #d7e2ed;
      --accent: #0e5a87;
      --accent-2: #f15a29;
      --good: #148061;
      --warn: #b77807;
      --bad: #b3414b;
      --radius: 16px;
    }

    * { box-sizing: border-box; }

    body {
      margin: 0;
      color: var(--ink);
      font-family: "Manrope", "Segoe UI", sans-serif;
      background:
        radial-gradient(920px 370px at 110% -20%, #d8eef7 0%, transparent 58%),
        radial-gradient(780px 340px at -20% 100%, #ffe7dc 0%, transparent 58%),
        var(--paper);
      line-height: 1.45;
    }

    .wrap {
      width: min(1440px, calc(100vw - 14px));
      margin: 6px auto 10px;
      display: grid;
      gap: 8px;
      align-content: start;
    }

    .hero {
      border-radius: 20px;
      padding: 10px 12px;
      background: linear-gradient(125deg, #0d2f4f, #0672a8);
      color: #fff;
      box-shadow: 0 14px 30px rgba(13, 47, 79, 0.25);
    }

    .head {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      align-items: center;
      justify-content: space-between;
    }

    .brand-lockup {
      display: flex;
      align-items: center;
      gap: 10px;
      min-width: 0;
    }

    .brand-logo {
      width: clamp(36px, 4.8vw, 50px);
      height: auto;
      flex: 0 0 auto;
    }

    .head-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      align-items: center;
      justify-content: flex-end;
    }

    .hero-note {
      margin: 8px 0 0;
      font-size: 12px;
      font-weight: 700;
      color: rgba(255, 255, 255, 0.9);
    }

    .hero-note.good { color: #c7f3de; }
    .hero-note.warn { color: #ffe8b0; }
    .hero-note.bad { color: #ffc7c9; }

    .title {
      margin: 0;
      font-family: "Outfit", "Manrope", sans-serif;
      font-size: clamp(22px, 3vw, 30px);
      line-height: 1.06;
      letter-spacing: -0.02em;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .sub {
      margin: 3px 0 0;
      font-size: clamp(12px, 1.35vw, 14px);
      opacity: 0.94;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .hub-tabs {
      margin-top: 8px;
      display: flex;
      align-items: center;
      gap: 14px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.35);
      padding-bottom: 0;
      overflow-x: auto;
    }

    .hub-tab {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 34px;
      padding: 0 4px;
      color: rgba(255, 255, 255, 0.9);
      text-decoration: none;
      font-size: 15px;
      font-weight: 700;
      border-bottom: 3px solid transparent;
      white-space: nowrap;
    }

    .hub-tab.active {
      border-bottom-color: #fff;
      color: #fff;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, 0.35);
      color: #fff;
      text-decoration: none;
      background: rgba(255, 255, 255, 0.14);
      font-weight: 700;
      padding: 7px 11px;
      font-size: 12px;
      font-family: "Manrope", "Segoe UI", sans-serif;
      cursor: pointer;
    }

    .btn:hover {
      background: rgba(255, 255, 255, 0.24);
    }

    .meta {
      margin-top: 8px;
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }

    .chip {
      border: 1px solid rgba(255, 255, 255, 0.3);
      background: rgba(255, 255, 255, 0.15);
      border-radius: 999px;
      padding: 4px 9px;
      font-size: 12px;
      font-weight: 700;
      white-space: nowrap;
    }

    .card {
      margin-top: 0;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: var(--card);
      box-shadow: 0 10px 24px rgba(17, 36, 55, 0.08);
      padding: 10px;
    }

    h2 {
      margin: 0;
      font-family: "Outfit", "Manrope", sans-serif;
      font-size: 20px;
      letter-spacing: -0.01em;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .card-sub {
      margin: 3px 0 6px;
      color: var(--muted);
      font-size: 12px;
      font-weight: 700;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .kpi-grid {
      margin-top: 6px;
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 5px;
    }

    .kpi {
      border: 1px solid #dbe6f0;
      border-radius: 12px;
      background: #f9fcff;
      padding: 8px;
      min-height: 82px;
    }

    .kpi-link {
      cursor: pointer;
      transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
    }

    .kpi-link:hover {
      border-color: #9cb6cf;
      box-shadow: 0 6px 14px rgba(20, 48, 74, 0.08);
      transform: translateY(-1px);
    }

    .kpi-link:focus-visible {
      outline: 3px solid #8bb3d8;
      outline-offset: 2px;
    }

    .kpi .label {
      margin: 0;
      font-size: 10px;
      color: var(--muted);
      text-transform: uppercase;
      letter-spacing: 0.05em;
      font-weight: 800;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .kpi .value {
      margin: 2px 0 0;
      font-family: "Outfit", "Manrope", sans-serif;
      font-size: 20px;
      font-weight: 800;
      letter-spacing: -0.02em;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .kpi .value.good { color: var(--good); }
    .kpi .value.warn { color: var(--warn); }
    .kpi .value.bad { color: var(--bad); }

    .kpi-hint {
      margin: 4px 0 0;
      font-size: 10px;
      font-weight: 800;
      color: #48627b;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .rep-snapshot-label {
      margin: 6px 0 4px;
      font-size: 11px;
      color: #3f5a73;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      font-weight: 800;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .rep-snapshot-row {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 5px;
    }

    .rep-snapshot-row.paces {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .rep-snapshot-row.pipeline {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .rep-snapshot-metric {
      border: 1px solid #dbe6f0;
      border-radius: 11px;
      background: #f9fcff;
      padding: 8px;
      min-height: 72px;
      cursor: pointer;
      transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
    }

    .rep-snapshot-metric:hover {
      border-color: #9cb6cf;
      box-shadow: 0 6px 14px rgba(20, 48, 74, 0.08);
      transform: translateY(-1px);
    }

    .rep-snapshot-metric:focus-visible {
      outline: 3px solid #8bb3d8;
      outline-offset: 2px;
    }

    .rep-snapshot-metric-label {
      margin: 0;
      font-size: 10px;
      color: var(--muted);
      text-transform: uppercase;
      letter-spacing: 0.05em;
      font-weight: 800;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .rep-snapshot-metric .value {
      margin: 2px 0 0;
      font-family: "Outfit", "Manrope", sans-serif;
      font-size: 20px;
      font-weight: 800;
      letter-spacing: -0.02em;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .rep-snapshot-metric .value.good { color: var(--good); }
    .rep-snapshot-metric .value.warn { color: var(--warn); }
    .rep-snapshot-metric .value.bad { color: var(--bad); }

    .rep-snapshot-metric-note {
      margin: 4px 0 0;
      font-size: 10px;
      color: #48627b;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      font-weight: 800;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .annual-kpi-grid {
      margin-top: 8px;
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 6px;
    }

    .annual-kpi-grid .kpi {
      padding: 8px;
      min-height: 82px;
    }

    .annual-kpi-grid .kpi .value {
      font-size: 19px;
    }

    .annual-report-shell {
      margin-top: 8px;
    }

    .snapshot-graphs {
      margin-top: 6px;
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 5px;
    }

    .snapshot-graph {
      border: 1px solid #dbe6f0;
      border-radius: 12px;
      background: #fff;
      padding: 8px 9px 9px;
      transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
    }

    .snapshot-graph-title {
      margin: 0;
      font-size: 10px;
      font-weight: 800;
      color: #48627b;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .snapshot-graph-pct {
      margin: 2px 0 0;
      font-family: "Outfit", "Manrope", sans-serif;
      font-size: 18px;
      font-weight: 800;
      letter-spacing: -0.02em;
      color: #0f2f49;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .snapshot-track {
      margin-top: 6px;
      width: 100%;
      height: 8px;
      border-radius: 999px;
      background: #edf3f9;
      overflow: hidden;
    }

    .snapshot-bar {
      width: 0%;
      height: 100%;
      border-radius: 999px;
      transition: width 220ms ease;
      background: #2a70a8;
    }

    .snapshot-bar.good { background: #148a4f; }
    .snapshot-bar.warn { background: #b77a09; }
    .snapshot-bar.bad { background: #b94244; }

    .snapshot-meta {
      margin: 4px 0 0;
      font-size: 11px;
      font-weight: 700;
      color: #48627b;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .snapshot-link {
      cursor: pointer;
    }

    .snapshot-link:hover {
      border-color: #9cb6cf;
      box-shadow: 0 6px 14px rgba(20, 48, 74, 0.08);
      transform: translateY(-1px);
    }

    .snapshot-link:focus-visible {
      outline: 3px solid #8bb3d8;
      outline-offset: 2px;
    }

    .snapshot-target-focus {
      box-shadow: 0 0 0 3px rgba(83, 143, 197, 0.35), 0 10px 24px rgba(17, 36, 55, 0.08);
      transition: box-shadow 220ms ease;
    }

    .layout-2 {
      margin-top: 0;
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
      align-items: start;
    }

    .layout-2 > .card {
      margin-top: 0;
      min-height: 100%;
    }

    .grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 6px;
    }

    .grid .full {
      grid-column: 1 / -1;
    }

    label {
      display: block;
      margin-bottom: 5px;
      font-size: 11px;
      color: var(--muted);
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .input,
    .text {
      width: 100%;
      border: 1px solid var(--line);
      border-radius: 10px;
      padding: 8px 10px;
      font-family: "Manrope", "Segoe UI", sans-serif;
      font-size: 13px;
      color: var(--ink);
      background: #fff;
      font-weight: 700;
    }

    .input {
      min-height: 44px;
    }

    .input:disabled {
      background: #f2f6fa;
      color: #5b6d82;
    }

    .text {
      min-height: 90px;
      resize: vertical;
      line-height: 1.35;
    }

    .actions {
      margin-top: 10px;
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .btn-light {
      border: 1px solid #c9d8e8;
      border-radius: 999px;
      padding: 7px 11px;
      font-size: 13px;
      font-weight: 800;
      color: var(--ink);
      background: #fff;
      cursor: pointer;
      font-family: "Manrope", "Segoe UI", sans-serif;
    }

    .btn-light:hover {
      background: #f2f7fd;
    }

    .btn-light:disabled {
      opacity: 0.55;
      cursor: not-allowed;
      background: #eef3f8;
    }

    .btn-light.primary {
      color: #fff;
      background: var(--accent);
      border-color: var(--accent);
    }

    .btn-light.primary:hover {
      background: #0c4d72;
    }

    .helper {
      margin: 8px 0 0;
      color: var(--muted);
      font-size: 12px;
      font-weight: 700;
    }

    .compact-text {
      margin: 0;
      max-width: 100%;
    }

    .compact-text > summary {
      list-style: none;
      cursor: pointer;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      color: inherit;
      max-width: 100%;
    }

    .compact-text > summary::-webkit-details-marker {
      display: none;
    }

    .compact-text > summary:focus-visible {
      outline: 2px solid #8bb3d8;
      outline-offset: 2px;
      border-radius: 4px;
    }

    .compact-text > .compact-text-full {
      margin-top: 4px;
      white-space: normal;
      line-height: 1.45;
      color: inherit;
    }

    .compact-text-inline {
      display: inline-block;
      max-width: 100%;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      vertical-align: top;
      color: inherit;
    }

    .helper.good { color: var(--good); }
    .helper.warn { color: var(--warn); }
    .helper.bad { color: var(--bad); }

    .mini-action {
      border: 1px solid #c9d8e8;
      border-radius: 999px;
      padding: 4px 10px;
      font-size: 12px;
      font-weight: 800;
      color: var(--ink);
      background: #fff;
      cursor: pointer;
      font-family: "Manrope", "Segoe UI", sans-serif;
    }

    .mini-action:hover {
      background: #f2f7fd;
    }

    .mini-action:disabled {
      opacity: 0.55;
      cursor: not-allowed;
      background: #eef3f8;
    }

    .entry-actions {
      display: flex;
      gap: 6px;
      flex-wrap: wrap;
      overflow: visible;
    }

    #recentEntriesSection td:last-child {
      white-space: normal;
      overflow: visible;
      text-overflow: clip;
    }

    .table-shell {
      margin-top: 8px;
      border: 1px solid var(--line);
      border-radius: 12px;
      overflow: auto;
      background: #fff;
    }

    .plan-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
    }

    .plan-grid > div {
      grid-column: span 1;
    }

    .plan-grid > .full {
      grid-column: 1 / -1;
    }

    .plan-card h2 {
      font-size: 21px;
    }

    .plan-card .card-sub {
      font-size: 13px;
      margin-bottom: 7px;
    }

    .plan-card label {
      font-size: 11px;
      letter-spacing: 0.05em;
    }

    .plan-card .input {
      min-height: 44px;
      font-size: 13px;
    }

    .plan-card .btn-light {
      font-size: 13px;
      padding: 7px 12px;
    }

    .plan-card .helper {
      font-size: 13px;
    }

    .plan-card table {
      min-width: 460px;
      font-size: 12px;
      table-layout: fixed;
    }

    .plan-card th {
      font-size: 10px;
    }

    .plan-card th,
    .plan-card td {
      padding: 6px 7px;
    }

    .plan-card th:first-child,
    .plan-card td:first-child {
      min-width: 150px;
    }

    .activity-pie-wrap {
      margin-top: 8px;
      border: 1px solid #d7e4ef;
      border-radius: 12px;
      background: #f8fbff;
      padding: 10px;
      display: grid;
      grid-template-columns: 150px 1fr;
      gap: 10px;
      align-items: center;
    }

    .activity-pie-figure {
      display: grid;
      justify-items: center;
      gap: 6px;
    }

    .activity-pie {
      width: 126px;
      height: 126px;
      border-radius: 50%;
      border: 1px solid #c8d9ea;
      background: conic-gradient(#e4edf6 0deg 360deg);
      position: relative;
      flex: 0 0 auto;
    }

    .activity-pie::after {
      content: "";
      position: absolute;
      inset: 26px;
      border-radius: 50%;
      background: #fff;
      border: 1px solid #e1eaf3;
      box-shadow: inset 0 0 0 1px #f3f7fb;
    }

    .activity-pie-total {
      margin: 0;
      font-size: 12px;
      font-weight: 800;
      color: #2d4c66;
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }

    .activity-pie-legend {
      display: grid;
      gap: 5px;
      align-content: start;
    }

    .activity-pie-legend-item {
      display: grid;
      grid-template-columns: 10px minmax(0, 1fr) auto auto;
      gap: 7px;
      align-items: center;
      font-size: 12px;
      line-height: 1.2;
      color: #24445f;
      font-weight: 700;
    }

    .activity-pie-legend-item.zero {
      color: #647c93;
      opacity: 0.78;
    }

    .activity-pie-dot {
      width: 10px;
      height: 10px;
      border-radius: 999px;
      box-shadow: 0 0 0 1px #d7e4ef inset;
    }

    .activity-pie-legend-label {
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .activity-pie-legend-value,
    .activity-pie-legend-pct {
      font-variant-numeric: tabular-nums;
      text-align: right;
      white-space: nowrap;
    }

    .activity-pie-empty {
      border: 1px dashed #d2deea;
      border-radius: 10px;
      padding: 7px 9px;
      font-size: 12px;
      font-weight: 700;
      color: #587189;
      background: #ffffff;
    }

    table {
      width: 100%;
      border-collapse: collapse;
      min-width: 100%;
      table-layout: fixed;
      font-size: 12px;
    }

    th, td {
      border-bottom: 1px solid #e2e9f0;
      padding: 7px 8px;
      text-align: left;
      vertical-align: top;
      max-width: 0;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    th {
      font-size: 10px;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: #4d627b;
      background: #f4f8fc;
      font-weight: 800;
    }

    .metric-up { color: var(--good); font-weight: 800; }
    .metric-down { color: var(--bad); font-weight: 800; }
    .metric-flat { color: var(--muted); font-weight: 800; }

    .empty {
      border: 1px dashed var(--line);
      border-radius: 12px;
      padding: 12px;
      background: #fbfdff;
      color: var(--muted);
      font-size: 14px;
      font-weight: 700;
    }

    .rep-switch {
      margin-top: 8px;
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }

    .rep-switch-link {
      border: 1px solid rgba(255, 255, 255, 0.35);
      background: rgba(255, 255, 255, 0.12);
      color: #fff;
      text-decoration: none;
      border-radius: 999px;
      padding: 6px 11px;
      font-size: 13px;
      font-weight: 800;
      letter-spacing: 0.01em;
    }

    .rep-switch-link:hover {
      background: rgba(255, 255, 255, 0.2);
    }

    .rep-switch-link.active {
      background: #fff;
      color: #0f3555;
      border-color: #fff;
    }

    .performance-alert {
      margin-top: 8px;
      border: 1px solid #d6e2ee;
      border-radius: 12px;
      padding: 10px 11px;
      background: #f6fbff;
    }

    .performance-alert.good {
      border-color: #b5e0d2;
      background: #eefaf4;
    }

    .performance-alert.warn {
      border-color: #e6d3a0;
      background: #fff8ea;
    }

    .performance-alert.bad {
      border-color: #e7b7bd;
      background: #fff0f2;
    }

    .performance-alert-title {
      margin: 0;
      font-size: 13px;
      font-weight: 800;
      letter-spacing: 0.02em;
      text-transform: uppercase;
      color: #2f4054;
    }

    .performance-alert-text {
      margin: 4px 0 0;
      font-size: 13px;
      color: #2f4054;
      font-weight: 700;
      line-height: 1.4;
    }

    .coach-list {
      margin-top: 8px;
      display: grid;
      gap: 8px;
    }

    .coach-item {
      border: 1px solid #d8e4ef;
      border-radius: 12px;
      background: #f9fcff;
      padding: 10px;
      display: grid;
      gap: 6px;
    }

    .coach-head {
      display: flex;
      justify-content: space-between;
      gap: 8px;
      align-items: baseline;
      flex-wrap: wrap;
    }

    .coach-title {
      margin: 0;
      font-family: "Outfit", "Manrope", sans-serif;
      font-size: 18px;
      letter-spacing: -0.01em;
      line-height: 1.1;
      color: #17344d;
    }

    .coach-meta {
      margin: 0;
      font-size: 12px;
      color: #3e5870;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }

    .coach-action {
      margin: 0;
      font-size: 13px;
      color: #29435a;
      font-weight: 700;
      line-height: 1.35;
    }

    .coach-plan-grid {
      display: grid;
      grid-template-columns: 170px 1fr auto;
      gap: 8px;
      align-items: end;
    }

    .coach-plan-grid .input {
      min-height: 40px;
      font-size: 13px;
    }

    .coach-save-cell {
      display: flex;
      justify-content: flex-end;
      align-items: flex-end;
    }

    .coach-save-meta {
      margin: 0;
      font-size: 12px;
      color: #5b7086;
      font-weight: 700;
    }

    .coach-status-row {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      align-items: center;
    }

    .coach-done-flag {
      display: inline-flex;
      align-items: center;
      border-radius: 999px;
      border: 1px solid #c9d8e8;
      background: #fff;
      color: #3e5870;
      font-size: 11px;
      font-weight: 800;
      padding: 4px 10px;
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }

    .coach-done-flag.done {
      background: #eaf9f3;
      border-color: #a6d7c4;
      color: #166349;
    }

    .coach-done-flag.pending {
      background: #fff8ea;
      border-color: #e6d3a0;
      color: #8d5e0b;
    }

    .coach-card-compact {
      padding: 10px 12px;
    }

    .coach-card-compact h2 {
      font-size: 18px;
    }

    .coach-card-compact .card-sub {
      font-size: 12px;
      margin: 3px 0 6px;
    }

    .coach-card-compact .helper {
      font-size: 12px;
      margin-top: 6px;
    }

    .coach-card-compact .coach-list {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 6px;
    }

    .coach-card-compact .coach-item {
      padding: 8px;
      gap: 4px;
    }

    .coach-card-compact .coach-title {
      font-size: 15px;
      line-height: 1.1;
    }

    .coach-card-compact .coach-meta {
      font-size: 10px;
    }

    .coach-card-compact .coach-action {
      font-size: 12px;
      line-height: 1.25;
    }

    .coach-card-compact .coach-action-why {
      display: none;
    }

    .coach-card-compact .coach-plan-grid {
      grid-template-columns: 120px 1fr auto;
      gap: 6px;
      align-items: end;
    }

    .coach-card-compact .coach-plan-grid label {
      font-size: 10px;
      margin-bottom: 4px;
    }

    .coach-card-compact .coach-plan-grid .input {
      min-height: 36px;
      padding: 8px 10px;
      font-size: 12px;
    }

    .coach-card-compact .btn-light {
      font-size: 12px;
      padding: 6px 10px;
    }

    .coach-card-compact .coach-save-meta {
      font-size: 11px;
    }

    .coach-gift-wrap {
      margin-top: 8px;
      border-top: 1px dashed #c9d8e8;
      padding-top: 8px;
    }

    .coach-gift-title {
      margin: 0;
      font-family: "Outfit", "Manrope", sans-serif;
      font-size: 14px;
      letter-spacing: -0.01em;
      color: #173b56;
    }

    .coach-dropoff-wrap {
      margin-top: 8px;
      border-top: 1px dashed #c9d8e8;
      padding-top: 8px;
    }

    .coach-dropoff-title {
      margin: 0;
      font-family: "Outfit", "Manrope", sans-serif;
      font-size: 14px;
      letter-spacing: -0.01em;
      color: #173b56;
    }

    .coach-dropoff-list {
      margin-top: 6px;
      display: grid;
      gap: 6px;
    }

    .coach-dropoff-item {
      border: 1px solid #d8e4ef;
      border-radius: 10px;
      background: #f9fcff;
      padding: 8px;
      display: grid;
      gap: 4px;
    }

    .coach-dropoff-head {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
    }

    .coach-dropoff-name {
      margin: 0;
      font-size: 13px;
      font-weight: 800;
      color: #153851;
    }

    .coach-dropoff-stage {
      margin: 0;
      font-size: 11px;
      font-weight: 800;
      color: #3e5870;
      text-transform: uppercase;
      letter-spacing: 0.03em;
    }

    .coach-dropoff-note {
      margin: 0;
      font-size: 12px;
      color: #2f4a63;
      line-height: 1.32;
      font-weight: 700;
    }

    .coach-dropoff-actions {
      margin-top: 2px;
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      align-items: center;
    }

    .toggle-chip.on {
      background: #eaf9f3;
      border-color: #a6d7c4;
      color: #166349;
    }

    .coach-ideas-wrap {
      margin-top: 8px;
      border-top: 1px dashed #c9d8e8;
      padding-top: 8px;
    }

    .coach-ideas-title {
      margin: 0;
      font-family: "Outfit", "Manrope", sans-serif;
      font-size: 14px;
      letter-spacing: -0.01em;
      color: #173b56;
    }

    .coach-ideas-grid {
      margin-top: 6px;
      display: grid;
      grid-template-columns: 1.2fr 0.9fr 0.9fr;
      gap: 6px;
      align-items: end;
    }

    .coach-ideas-grid .full {
      grid-column: 1 / -1;
    }

    .coach-ideas-grid .input,
    .coach-ideas-grid .text {
      min-height: 36px;
      padding: 8px 10px;
      font-size: 12px;
    }

    .coach-ideas-grid .text {
      min-height: 58px;
    }

    .coach-ideas-actions {
      margin-top: 6px;
      display: flex;
      gap: 6px;
      flex-wrap: wrap;
    }

    .coach-ideas-list {
      margin-top: 6px;
      display: grid;
      gap: 6px;
    }

    .coach-idea-item {
      border: 1px solid #d8e4ef;
      border-radius: 10px;
      background: #f9fcff;
      padding: 8px;
      display: grid;
      gap: 4px;
    }

    .coach-idea-head {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      gap: 8px;
      flex-wrap: wrap;
    }

    .coach-idea-name {
      margin: 0;
      font-size: 13px;
      font-weight: 800;
      color: #153851;
    }

    .coach-idea-meta {
      margin: 0;
      font-size: 11px;
      font-weight: 800;
      color: #3e5870;
      text-transform: uppercase;
      letter-spacing: 0.03em;
    }

    .coach-idea-body {
      margin: 0;
      font-size: 12px;
      line-height: 1.3;
      color: #29435a;
      font-weight: 700;
    }

    .sim-grid {
      margin-top: 8px;
      display: grid;
      grid-template-columns: 1.1fr 1fr;
      gap: 10px;
      align-items: start;
    }

    .sim-slider-box {
      border: 1px solid #d7e4ef;
      border-radius: 12px;
      background: #f8fbff;
      padding: 10px;
    }

    .sim-range {
      width: 100%;
      margin: 2px 0 0;
      accent-color: var(--accent);
      cursor: pointer;
    }

    .sim-range-row {
      margin-top: 6px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
    }

    .sim-pill {
      display: inline-flex;
      align-items: center;
      border: 1px solid #c9d8e8;
      border-radius: 999px;
      padding: 3px 9px;
      font-size: 12px;
      font-weight: 800;
      background: #fff;
      color: #1f3f5a;
    }

    .sim-hint {
      font-size: 12px;
      font-weight: 700;
      color: #3c5670;
    }

    .sim-notes {
      margin: 8px 0 0;
      font-size: 12px;
      font-weight: 700;
      color: #49627b;
      line-height: 1.35;
    }

    .sim-kpi-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
    }

    .sim-kpi {
      border: 1px solid #dbe6f0;
      border-radius: 12px;
      background: #f9fcff;
      padding: 8px;
    }

    .sim-kpi-label {
      margin: 0;
      font-size: 11px;
      color: #4f657d;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      font-weight: 800;
      line-height: 1.25;
    }

    .sim-kpi-value {
      margin: 4px 0 0;
      font-family: "Outfit", "Manrope", sans-serif;
      font-size: 22px;
      line-height: 1.05;
      font-weight: 800;
      letter-spacing: -0.02em;
      color: #163954;
    }

    .sim-kpi-value.good { color: var(--good); }
    .sim-kpi-value.warn { color: var(--warn); }
    .sim-kpi-value.bad { color: var(--bad); }

    .sim-ideal-wrap {
      margin-top: 8px;
      border: 1px solid #d7e4ef;
      border-radius: 12px;
      background: #f8fbff;
      padding: 10px;
    }

    .sim-ideal-title {
      margin: 0;
      font-family: "Outfit", "Manrope", sans-serif;
      font-size: 16px;
      letter-spacing: -0.01em;
      color: #153851;
    }

    .sim-ideal-sub {
      margin: 4px 0 0;
      font-size: 12px;
      font-weight: 700;
      color: #476079;
    }

    .sim-ideal-grid {
      margin-top: 8px;
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 8px;
    }

    .sim-ideal-kpi {
      border: 1px solid #dbe6f0;
      border-radius: 10px;
      background: #fff;
      padding: 7px;
    }

    .sim-ideal-label {
      margin: 0;
      font-size: 10px;
      color: #4f657d;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      font-weight: 800;
      line-height: 1.2;
    }

    .sim-ideal-value {
      margin: 4px 0 0;
      font-family: "Outfit", "Manrope", sans-serif;
      font-size: 20px;
      line-height: 1.05;
      font-weight: 800;
      letter-spacing: -0.02em;
      color: #163954;
    }

    .sim-ideal-value.good { color: var(--good); }
    .sim-ideal-value.warn { color: var(--warn); }
    .sim-ideal-value.bad { color: var(--bad); }

    .sim-ideal-table table {
      min-width: 0;
      font-size: 12px;
    }

    .sim-ideal-table th {
      font-size: 10px;
    }

    .sim-ideal-table th,
    .sim-ideal-table td {
      padding: 6px 7px;
    }

    .sim-benchmark-wrap {
      margin-top: 8px;
      border: 1px solid #d7e4ef;
      border-radius: 12px;
      background: #f8fbff;
      padding: 10px;
    }

    .sim-benchmark-title {
      margin: 0;
      font-family: "Outfit", "Manrope", sans-serif;
      font-size: 16px;
      letter-spacing: -0.01em;
      color: #153851;
    }

    .sim-benchmark-list {
      margin-top: 7px;
      display: grid;
      gap: 6px;
    }

    .sim-benchmark-item {
      border: 1px solid #dbe6f0;
      border-radius: 10px;
      background: #fff;
      padding: 7px 8px;
      display: grid;
      gap: 3px;
    }

    .sim-benchmark-main {
      margin: 0;
      font-size: 13px;
      color: #1e405c;
      font-weight: 800;
      line-height: 1.25;
    }

    .sim-benchmark-meta {
      margin: 0;
      font-size: 11px;
      color: #4f657d;
      font-weight: 700;
      line-height: 1.25;
    }

    .table-tight table {
      min-width: 0;
      font-size: 12px;
    }

    .table-tight th {
      font-size: 10px;
    }

    .table-tight th,
    .table-tight td {
      padding: 6px 7px;
    }

    .upload-note {
      margin: 4px 0 0;
      font-size: 12px;
      color: #4f657d;
      font-weight: 700;
    }

    .screenshot-thumb {
      width: 74px;
      height: 48px;
      object-fit: cover;
      border-radius: 8px;
      border: 1px solid #ccdbe9;
      background: #fff;
      display: block;
    }

    .thumb-link {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      color: var(--accent);
      font-weight: 700;
      font-size: 12px;
      text-decoration: none;
    }

    .thumb-link:hover {
      text-decoration: underline;
    }

    .drop-zone {
      border: 1px dashed #9eb7cd;
      border-radius: 10px;
      background: #f7fbff;
      padding: 11px 12px;
      font-size: 12px;
      font-weight: 700;
      color: #35526b;
      line-height: 1.35;
      cursor: pointer;
      transition: border-color 0.2s ease, background 0.2s ease;
    }

    .drop-zone:hover {
      border-color: #6e94b5;
      background: #eef6ff;
    }

    .drop-zone:focus-visible {
      outline: 2px solid #3e78a3;
      outline-offset: 2px;
    }

    .drop-zone.drag-over {
      border-color: var(--accent);
      background: #eaf4ff;
      box-shadow: inset 0 0 0 1px rgba(14, 90, 135, 0.12);
    }

    .drop-zone-title {
      margin: 0;
      font-size: 12px;
      font-weight: 800;
      color: #27445d;
    }

    .drop-zone-sub {
      margin: 3px 0 0;
      font-size: 11px;
      font-weight: 700;
      color: #4f657d;
    }

    .drop-zone-file {
      margin: 6px 0 0;
      font-size: 11px;
      font-weight: 800;
      color: #143a59;
    }

    .process-update,
    .prospect-update,
    .meeting-note {
      margin: 0;
      font-size: 12px;
      line-height: 1.35;
      color: #27445d;
      max-width: 300px;
      white-space: pre-wrap;
    }

    .pipeline-link-row {
      margin-top: 8px;
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 8px;
    }

    .pipeline-link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      min-height: 38px;
      text-decoration: none;
      text-align: center;
    }

    .pipeline-grid {
      margin-top: 8px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
      align-items: start;
    }

    .pipeline-panel {
      border: 1px solid #d7e4ef;
      border-radius: 12px;
      background: #f8fbff;
      padding: 10px;
      min-width: 0;
    }

    .pipeline-panel h3 {
      margin: 0;
      font-family: "Outfit", "Manrope", sans-serif;
      font-size: 17px;
      letter-spacing: -0.01em;
      color: #173b56;
    }

    .pipeline-panel-sub {
      margin: 3px 0 0;
      font-size: 12px;
      font-weight: 700;
      color: #48627b;
    }

    #weeklyEntrySection,
    #processWidgetSection {
      padding: 10px;
    }

    #weeklyEntrySection h2,
    #processWidgetSection h2 {
      font-size: 18px;
    }

    #weeklyEntrySection .card-sub,
    #processWidgetSection .card-sub {
      font-size: 11px;
      margin: 2px 0 5px;
    }

    #weeklyEntrySection .weekly-grid {
      grid-template-columns: repeat(6, minmax(0, 1fr));
      gap: 5px;
    }

    #weeklyEntrySection .weekly-notes {
      grid-column: span 3;
    }

    #processWidgetSection .process-grid {
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 5px;
    }

    #processWidgetSection .process-full {
      grid-column: 1 / -1;
    }

    #processWidgetSection .process-half {
      grid-column: span 2;
    }

    #weeklyEntrySection label,
    #processWidgetSection label {
      margin-bottom: 4px;
      font-size: 10px;
      letter-spacing: 0.04em;
    }

    #weeklyEntrySection .input,
    #processWidgetSection .input {
      min-height: 38px;
      padding: 6px 8px;
      font-size: 12px;
    }

    #weeklyEntrySection .text,
    #processWidgetSection .text {
      min-height: 64px;
      padding: 6px 8px;
      font-size: 12px;
      line-height: 1.25;
    }

    #weeklyEntrySection .actions,
    #processWidgetSection .actions {
      margin-top: 6px;
      gap: 6px;
    }

    #weeklyEntrySection .btn-light,
    #processWidgetSection .btn-light {
      padding: 6px 10px;
      font-size: 12px;
    }

    #processWidgetSection .table-shell {
      margin-top: 6px;
    }

    #processWidgetSection .process-table th,
    #processWidgetSection .process-table td {
      padding: 5px 6px;
      font-size: 11px;
      line-height: 1.2;
    }

    #pipelineActivitySection .table-shell {
      margin-top: 6px;
      overflow-x: hidden;
    }

    #pipelineActivitySection table {
      min-width: 0;
      width: 100%;
      table-layout: fixed;
    }

    #pipelineActivitySection th,
    #pipelineActivitySection td {
      white-space: normal;
      overflow-wrap: anywhere;
      text-overflow: clip;
      line-height: 1.25;
      vertical-align: middle;
    }

    #pipelineActivitySection .pipeline-table-active th:nth-child(1),
    #pipelineActivitySection .pipeline-table-active td:nth-child(1) {
      width: 42%;
    }

    #pipelineActivitySection .pipeline-table-active th:nth-child(2),
    #pipelineActivitySection .pipeline-table-active td:nth-child(2) {
      width: 17%;
    }

    #pipelineActivitySection .pipeline-table-active th:nth-child(3),
    #pipelineActivitySection .pipeline-table-active td:nth-child(3) {
      width: 18%;
      white-space: nowrap;
    }

    #pipelineActivitySection .pipeline-table-active th:nth-child(4),
    #pipelineActivitySection .pipeline-table-active td:nth-child(4) {
      width: 23%;
      white-space: nowrap;
    }

    #pipelineActivitySection .pipeline-table-dead th:nth-child(1),
    #pipelineActivitySection .pipeline-table-dead td:nth-child(1) {
      width: 30%;
    }

    #pipelineActivitySection .pipeline-table-dead th:nth-child(2),
    #pipelineActivitySection .pipeline-table-dead td:nth-child(2) {
      width: 14%;
    }

    #pipelineActivitySection .pipeline-table-dead th:nth-child(3),
    #pipelineActivitySection .pipeline-table-dead td:nth-child(3) {
      width: 14%;
      white-space: nowrap;
    }

    #pipelineActivitySection .pipeline-table-dead th:nth-child(4),
    #pipelineActivitySection .pipeline-table-dead td:nth-child(4) {
      width: 24%;
    }

    #pipelineActivitySection .pipeline-table-dead th:nth-child(5),
    #pipelineActivitySection .pipeline-table-dead td:nth-child(5) {
      width: 18%;
      white-space: nowrap;
    }

    .mini-link {
      display: inline-flex;
      align-items: center;
      text-decoration: none;
      border: 1px solid #c9d8e8;
      border-radius: 999px;
      padding: 4px 10px;
      font-size: 12px;
      font-weight: 800;
      color: var(--accent);
      background: #fff;
    }

    .mini-link:hover {
      background: #f2f7fd;
      text-decoration: underline;
    }

    .deal-link {
      color: #173b56;
      font-weight: 800;
      text-decoration: underline;
      text-decoration-color: #9cb8d3;
      text-underline-offset: 2px;
    }

    .deal-link:hover,
    .deal-link:focus-visible {
      color: var(--accent);
      text-decoration-color: var(--accent);
    }

    .deal-sub-link {
      color: #48627b;
      font-size: 11px;
      font-weight: 700;
      text-decoration: underline;
      text-decoration-color: #bfd1e2;
      text-underline-offset: 2px;
    }

    .deal-sub-link:hover,
    .deal-sub-link:focus-visible {
      color: var(--accent);
      text-decoration-color: var(--accent);
    }

    .status-pill {
      display: inline-flex;
      align-items: center;
      border-radius: 999px;
      border: 1px solid #c9d8e8;
      background: #fff;
      color: #1f3f5a;
      font-size: 11px;
      font-weight: 800;
      padding: 3px 9px;
      letter-spacing: 0.03em;
      text-transform: uppercase;
    }

    .layout-tools {
      margin-top: 8px;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 8px;
    }

    .layout-tools .helper {
      margin: 0;
      font-size: 12px;
      font-weight: 700;
    }

    .dashboard-widget {
      position: relative;
      margin: 0;
    }

    .wrap > .card,
    .wrap > .layout-2,
    .wrap > .dashboard-widget {
      margin-top: 0 !important;
    }

    .widget-edit-controls {
      display: flex;
      justify-content: flex-end;
      align-items: center;
      gap: 6px;
      margin-bottom: 6px;
    }

    .widget-edit-controls .btn-light {
      font-size: 11px;
      padding: 5px 9px;
    }

    .widget-edit-controls .widget-dropdown-tab {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 11px;
      padding: 4px 10px;
      letter-spacing: 0.03em;
      text-transform: uppercase;
      color: #23405e;
      background: #f6faff;
      border-color: #c8d9ef;
    }

    .widget-edit-controls .widget-dropdown-tab .widget-collapse-caret {
      font-size: 12px;
      line-height: 1;
    }

    .widget-edit-controls .widget-dropdown-tab .widget-collapse-label {
      line-height: 1;
    }

    .widget-edit-controls [data-widget-move] {
      display: none;
    }

    .widget-collapse-summary {
      display: none;
      margin-right: auto;
      color: #48627b;
      font-size: 11px;
      font-weight: 800;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }

    .layout-2.dashboard-widget .widget-edit-controls {
      grid-column: 1 / -1;
    }

    .wrap.layout-edit-mode .dashboard-widget {
      border-style: dashed;
    }

    .wrap.layout-edit-mode .widget-edit-controls [data-widget-move] {
      display: inline-flex;
    }

    .dashboard-widget.widget-collapsed > *:not(.widget-edit-controls) {
      display: none !important;
    }

    .dashboard-widget.widget-collapsed .widget-edit-controls {
      margin-bottom: 0;
    }

    .dashboard-widget.widget-collapsed .widget-collapse-summary {
      display: inline-flex;
    }

    @media (max-width: 1040px) {
      .kpi-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
      .annual-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .snapshot-graphs { grid-template-columns: 1fr 1fr; }
      .rep-snapshot-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .rep-snapshot-row.paces { grid-template-columns: repeat(3, minmax(0, 1fr)); }
      .rep-snapshot-row.pipeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .layout-2 { grid-template-columns: 1fr; }
      .grid { grid-template-columns: 1fr 1fr; }
      .plan-grid { grid-template-columns: 1fr 1fr; }
      .plan-grid > div { grid-column: span 1; }
      .activity-pie-wrap { grid-template-columns: 1fr; }
      .sim-grid { grid-template-columns: 1fr; }
      .sim-ideal-grid { grid-template-columns: 1fr 1fr; }
      .pipeline-grid { grid-template-columns: 1fr; }
      .pipeline-link-row { grid-template-columns: 1fr; }
      #weeklyEntrySection .weekly-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
      #weeklyEntrySection .weekly-notes { grid-column: 1 / -1; }
      #processWidgetSection .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      #processWidgetSection .process-half { grid-column: 1 / -1; }
      .coach-plan-grid { grid-template-columns: 1fr 1fr; }
      .coach-plan-grid > .coach-save-cell { grid-column: 1 / -1; }
      .coach-card-compact .coach-list { grid-template-columns: 1fr; }
      .coach-card-compact .coach-plan-grid { grid-template-columns: 1fr 1fr; }
      .coach-card-compact .coach-plan-grid > .coach-save-cell { grid-column: 1 / -1; }
      .coach-ideas-grid { grid-template-columns: 1fr 1fr; }
      .coach-ideas-grid .full { grid-column: 1 / -1; }
    }

    @media (max-width: 700px) {
      .wrap { width: min(1440px, calc(100vw - 8px)); }
      .brand-lockup { width: 100%; flex-direction: column; align-items: flex-start; gap: 8px; }
      .brand-logo { width: min(50px, 16vw); }
      .kpi-grid { grid-template-columns: 1fr 1fr; }
      .annual-kpi-grid { grid-template-columns: 1fr; }
      .snapshot-graphs { grid-template-columns: 1fr; }
      .rep-snapshot-row { grid-template-columns: 1fr 1fr; }
      .rep-snapshot-row.paces { grid-template-columns: 1fr; }
      .rep-snapshot-row.pipeline { grid-template-columns: 1fr; }
      .grid { grid-template-columns: 1fr; }
      .plan-grid { grid-template-columns: 1fr; }
      .activity-pie-wrap { grid-template-columns: 1fr; }
      .sim-kpi-grid { grid-template-columns: 1fr; }
      .sim-ideal-grid { grid-template-columns: 1fr; }
      .pipeline-link-row { grid-template-columns: 1fr; }
      .coach-plan-grid { grid-template-columns: 1fr; }
      .coach-ideas-grid { grid-template-columns: 1fr; }
      .card { padding: 10px; }
      #weeklyEntrySection .weekly-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      #weeklyEntrySection .weekly-notes { grid-column: 1 / -1; }
      #processWidgetSection .process-grid { grid-template-columns: 1fr; }
      #processWidgetSection .process-half { grid-column: 1 / -1; }
    }
