:root {
  --ytc-bg: #f6f8fb;
  --ytc-panel: #ffffff;
  --ytc-text: #152033;
  --ytc-muted: #66748a;
  --ytc-line: #dce4ef;
  --ytc-blue: #1868db;
  --ytc-blue-dark: #0f4fa8;
  --ytc-green: #158f61;
  --ytc-soft: #edf4ff;
  --ytc-shadow: 0 18px 50px rgba(17, 35, 64, .10);
  --ytc-radius: 22px;
}

body .ytc-app-shell,
body .ytc-login-wrap {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ytc-text);
}

.ytc-login-wrap {
  min-height: 78vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .72fr);
  gap: 28px;
  align-items: stretch;
  padding: 42px;
  background: radial-gradient(circle at 20% 12%, #dfeeff 0, transparent 34%), var(--ytc-bg);
  border-radius: 26px;
}

.ytc-brand-panel,
.ytc-login-card,
.ytc-panel,
.ytc-stat,
.ytc-soft-card {
  background: var(--ytc-panel);
  border: 1px solid var(--ytc-line);
  box-shadow: var(--ytc-shadow);
  border-radius: var(--ytc-radius);
}

.ytc-brand-panel {
  padding: 54px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.ytc-brand-panel:after {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  border-radius: 999px;
  right: -80px;
  bottom: -80px;
  background: rgba(21, 143, 97, .12);
}

.ytc-brand-panel h1,
.ytc-main-header h1 {
  font-size: clamp(34px, 5vw, 62px);
  line-height: .98;
  letter-spacing: -0.05em;
  margin: 12px 0 18px;
}

.ytc-brand-panel p,
.ytc-main-header p,
.ytc-muted,
.ytc-admin-note {
  color: var(--ytc-muted);
}

.ytc-login-card {
  padding: 34px;
  align-self: center;
}

.ytc-eyebrow {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .16em;
  font-weight: 800;
  color: var(--ytc-blue);
}

.ytc-login-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 8px;
}

.ytc-login-roles span,
.ytc-pill {
  border: 1px solid var(--ytc-line);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  color: var(--ytc-muted);
  background: #fff;
  white-space: nowrap;
}

.ytc-pill.is-complete {
  color: var(--ytc-green);
  border-color: rgba(21, 143, 97, .28);
  background: rgba(21, 143, 97, .07);
}

.ytc-form {
  display: grid;
  gap: 14px;
}

.ytc-form label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 750;
  color: #26344b;
}

.ytc-form input,
.ytc-form textarea,
.ytc-form select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--ytc-line);
  border-radius: 14px;
  padding: 12px 13px;
  font: inherit;
  background: #fff;
  color: var(--ytc-text);
}

.ytc-form textarea {
  resize: vertical;
}

.ytc-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ytc-inline-check {
  display: flex !important;
  align-items: center;
  grid-template-columns: none !important;
  gap: 10px !important;
  font-weight: 600 !important;
}

.ytc-inline-check input {
  width: auto !important;
}

.ytc-button,
.ytc-button-secondary,
.ytc-small-button,
.ytc-link-button,
.ytc-text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  text-decoration: none !important;
  font-weight: 800;
  border-radius: 14px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.ytc-button {
  background: var(--ytc-blue);
  color: #fff !important;
  padding: 12px 16px;
  box-shadow: 0 10px 22px rgba(24, 104, 219, .24);
}

.ytc-button:hover,
.ytc-small-button:hover,
.ytc-button-secondary:hover {
  transform: translateY(-1px);
}

.ytc-button-full {
  width: 100%;
}

.ytc-button-secondary {
  color: var(--ytc-blue) !important;
  background: var(--ytc-soft);
  border: 1px solid #cfe1ff;
  padding: 11px 14px;
}

.ytc-small-button {
  color: #fff !important;
  background: var(--ytc-green);
  padding: 8px 10px;
  font-size: 12px;
}

.ytc-text-button,
.ytc-link-button {
  background: transparent;
  color: var(--ytc-blue) !important;
  padding: 5px 0;
}

.ytc-inline-form {
  display: inline-flex;
  margin: 0;
}

.ytc-app-shell {
  min-height: 82vh;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  background: var(--ytc-bg);
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--ytc-line);
}

.ytc-sidebar {
  padding: 26px;
  background: #101a2e;
  color: #fff;
}

.ytc-sidebar h2 {
  margin: 14px 0 0;
  color: #fff;
  letter-spacing: -0.03em;
}

.ytc-sidebar p {
  margin-top: 4px;
  color: rgba(255,255,255,.66);
}

.ytc-logo-mark {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: var(--ytc-blue);
  font-weight: 900;
  letter-spacing: -0.05em;
}

.ytc-sidebar nav {
  display: grid;
  gap: 8px;
  margin: 28px 0;
}

.ytc-sidebar nav a {
  color: rgba(255,255,255,.86) !important;
  text-decoration: none !important;
  padding: 12px 13px;
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  font-weight: 800;
}

.ytc-sidebar nav a:hover {
  background: rgba(255,255,255,.12);
}

.ytc-sidebar .ytc-link-button {
  color: rgba(255,255,255,.78) !important;
}

.ytc-main {
  padding: 34px;
  min-width: 0;
}

.ytc-main-header {
  margin-bottom: 24px;
}

.ytc-main-header h1 {
  font-size: clamp(30px, 4vw, 48px);
  margin-bottom: 8px;
}

.ytc-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.ytc-stat {
  padding: 22px;
}

.ytc-stat strong {
  display: block;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.05em;
}

.ytc-stat span {
  display: block;
  margin-top: 6px;
  color: var(--ytc-muted);
  font-weight: 750;
}

.ytc-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.ytc-panel {
  padding: 24px;
  overflow: hidden;
}

.ytc-section-gap {
  margin-top: 18px;
}

.ytc-panel h2,
.ytc-panel h3 {
  margin-top: 0;
  letter-spacing: -0.03em;
}

.ytc-mini-form {
  padding: 16px;
  background: #f8fbff;
  border: 1px solid var(--ytc-line);
  border-radius: 18px;
  margin-bottom: 18px;
}

.ytc-list {
  display: grid;
  gap: 10px;
}

.ytc-list-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  border: 1px solid var(--ytc-line);
  border-radius: 16px;
  padding: 13px;
  background: #fff;
}

.ytc-list-link {
  text-decoration: none !important;
  color: inherit !important;
}

.ytc-list-item strong,
.ytc-list-item span,
.ytc-table td span {
  display: block;
}

.ytc-list-item span,
.ytc-table td span,
.ytc-list-item p {
  color: var(--ytc-muted);
  font-size: 13px;
  margin: 3px 0 0;
}

.ytc-table-wrap {
  overflow-x: auto;
}

.ytc-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
}

.ytc-table th {
  text-align: left;
  color: var(--ytc-muted);
  font-size: 12px;
  padding: 0 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.ytc-table td {
  background: #fff;
  border-top: 1px solid var(--ytc-line);
  border-bottom: 1px solid var(--ytc-line);
  padding: 13px 10px;
  vertical-align: middle;
}

.ytc-table td:first-child {
  border-left: 1px solid var(--ytc-line);
  border-radius: 14px 0 0 14px;
}

.ytc-table td:last-child {
  border-right: 1px solid var(--ytc-line);
  border-radius: 0 14px 14px 0;
}

.ytc-notice {
  background: #ecfdf4;
  color: #0f6844;
  border: 1px solid rgba(21, 143, 97, .25);
  padding: 12px 14px;
  border-radius: 14px;
  margin: 0 0 16px;
  font-weight: 700;
}

.ytc-client-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.ytc-client-header h2 {
  margin: 0;
}

.ytc-soft-card {
  margin-top: 16px;
  padding: 16px;
  background: #f8fbff;
  box-shadow: none;
}

.ytc-calendar-list {
  display: grid;
  gap: 10px;
}

.ytc-calendar-day {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 14px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--ytc-line);
  border-radius: 16px;
  background: #fff;
}

.ytc-calendar-day span {
  display: inline-flex;
  padding: 6px 9px;
  margin: 0 6px 6px 0;
  border-radius: 999px;
  background: var(--ytc-soft);
  color: var(--ytc-blue-dark);
  font-size: 12px;
  font-weight: 800;
}

@media (max-width: 950px) {
  .ytc-login-wrap,
  .ytc-app-shell,
  .ytc-grid-2,
  .ytc-stat-grid {
    grid-template-columns: 1fr;
  }
  .ytc-sidebar {
    border-radius: 0;
  }
  .ytc-sidebar nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ytc-form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .ytc-login-wrap,
  .ytc-main,
  .ytc-brand-panel,
  .ytc-login-card {
    padding: 22px;
  }
  .ytc-client-header,
  .ytc-list-item {
    align-items: flex-start;
    flex-direction: column;
  }
}

.ytc-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.ytc-admin-escape {
  border-left: 4px solid var(--ytc-blue);
}

/* Phase 2 Development Plan Builder */
.ytc-panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.ytc-panel-heading h3,
.ytc-panel-heading p {
  margin-top: 0;
}

.ytc-dev-plan-panel {
  border-left: 4px solid var(--ytc-green);
}

.ytc-dev-form textarea,
.ytc-checkin-form textarea {
  min-height: 70px;
}

.ytc-dev-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ytc-dev-summary .ytc-soft-card {
  margin-top: 0;
  border: 1px solid var(--ytc-line);
  border-radius: 16px;
}

.ytc-score-wrap {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 140px;
  margin-top: 8px;
}

.ytc-score-bar {
  height: 10px;
  width: 110px;
  background: #e8eef7;
  border-radius: 999px;
  overflow: hidden;
}

.ytc-score-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--ytc-blue), var(--ytc-green));
  border-radius: 999px;
}

.ytc-checkin-list .ytc-list-item {
  align-items: stretch;
}

.ytc-table .ytc-score-wrap {
  margin-top: 0;
}

@media (max-width: 950px) {
  .ytc-dev-summary {
    grid-template-columns: 1fr;
  }
}

/* Phase 3 Session Notes & Follow-Up */
.ytc-session-note-stack {
  display: grid;
  gap: 12px;
  margin-top: 10px;
}

.ytc-session-note-card {
  border: 1px solid var(--ytc-line);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
}

.ytc-session-note-card summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  font-weight: 850;
}

.ytc-session-note-card summary::-webkit-details-marker {
  display: none;
}

.ytc-session-note-card summary small {
  display: block;
  color: var(--ytc-muted);
  font-weight: 650;
  margin-top: 3px;
}

.ytc-session-notes-form {
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
  margin: 0;
}

.ytc-session-followups .ytc-list-item,
.ytc-shared-session-notes .ytc-list-item {
  align-items: flex-start;
}

.ytc-shared-session-notes p,
.ytc-session-followups p {
  max-width: 760px;
}

/* Phase 4 Tools Foundation */
.ytc-question-list {
  margin: 12px 0 0 18px;
  padding: 0;
}

.ytc-question-list li {
  margin: 0 0 10px;
  color: var(--ytc-text);
}

.ytc-question-list span {
  display: inline-block;
  margin-left: 6px;
  color: var(--ytc-muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.ytc-tool-client-card {
  align-items: flex-start;
}

.ytc-tool-client-card .ytc-mini-form {
  margin-top: 12px;
  border-top: 1px solid var(--ytc-line);
  padding-top: 12px;
}

/* Phase 5 Stakeholder 360 Requests */
.ytc-stakeholder-request-form {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ytc-line);
}

.ytc-stakeholder-requests {
  margin-bottom: 18px;
}

.ytc-public-feedback {
  max-width: 1180px;
  margin: 24px auto;
}

.ytc-public-feedback-card {
  align-self: stretch;
  overflow: auto;
}

.ytc-public-feedback-card .ytc-soft-card {
  box-shadow: none;
  padding: 14px;
  margin: 12px 0;
}

/* Phase 6 360 Request Follow-up Controls */
.ytc-stakeholder-request-item {
  align-items: flex-start;
}

.ytc-list-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.ytc-360-tracker .ytc-list-item {
  align-items: center;
}

@media (max-width: 720px) {
  .ytc-list-actions {
    justify-content: flex-start;
  }
}

/* Phase 7 Reports Center */
.ytc-report-intro {
  border-left: 4px solid var(--ytc-blue);
}

.ytc-report-privacy {
  margin-top: 14px;
  padding: 13px 14px;
  border: 1px solid rgba(24, 104, 219, .18);
  background: #f7fbff;
  border-radius: 16px;
  color: var(--ytc-blue-dark);
}

.ytc-report-list .ytc-list-item {
  align-items: center;
}

.ytc-report-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}

.ytc-progress-report {
  display: grid;
  gap: 20px;
}

.ytc-report-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  border-bottom: 1px solid var(--ytc-line);
  padding-bottom: 18px;
}

.ytc-report-header h2 {
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1;
  margin: 8px 0 8px;
}

.ytc-report-meta {
  min-width: 190px;
  padding: 14px;
  border: 1px solid var(--ytc-line);
  border-radius: 18px;
  background: #f8fbff;
}

.ytc-report-meta strong,
.ytc-report-meta span {
  display: block;
}

.ytc-report-meta span {
  color: var(--ytc-muted);
  margin-bottom: 8px;
}

.ytc-report-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.ytc-report-kpis div {
  padding: 16px;
  border: 1px solid var(--ytc-line);
  border-radius: 18px;
  background: #fff;
}

.ytc-report-kpis strong {
  display: block;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -.04em;
}

.ytc-report-kpis span {
  display: block;
  color: var(--ytc-muted);
  font-size: 13px;
  font-weight: 750;
  margin-top: 7px;
}

.ytc-report-section {
  padding: 18px;
  border: 1px solid var(--ytc-line);
  border-radius: 20px;
  background: #fbfdff;
}

.ytc-report-section h3 {
  margin-top: 0;
}

.ytc-report-footer-note {
  padding: 13px 14px;
  border-radius: 16px;
  background: rgba(21, 143, 97, .08);
  color: #0f6844;
  font-weight: 750;
}

@media (max-width: 950px) {
  .ytc-report-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ytc-report-header,
  .ytc-report-actions {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media print {
  body * {
    visibility: hidden;
  }
  .ytc-progress-report,
  .ytc-progress-report * {
    visibility: visible;
  }
  .ytc-progress-report {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    box-shadow: none !important;
    border: 0 !important;
  }
  .ytc-sidebar,
  .ytc-main-header,
  .ytc-report-actions {
    display: none !important;
  }
}

/* v1.1.0 Simple Workspace Cleanup */
.ytc-page-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.ytc-page-toolbar h2 {
  font-size: clamp(30px, 4vw, 48px);
  margin: 6px 0 8px;
  letter-spacing: -.04em;
}

.ytc-page-toolbar p {
  margin: 0;
  max-width: 760px;
}

.ytc-add-dropdown {
  position: relative;
  min-width: 190px;
  z-index: 5;
}

.ytc-add-dropdown summary {
  list-style: none;
  cursor: pointer;
  text-align: center;
}

.ytc-add-dropdown summary::-webkit-details-marker {
  display: none;
}

.ytc-floating-form {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  width: min(560px, calc(100vw - 42px));
  padding: 22px;
  z-index: 10;
}

.ytc-roster-table th,
.ytc-roster-table td {
  vertical-align: middle;
}

.ytc-roster-table td:first-child strong,
.ytc-roster-table td:first-child span,
.ytc-roster-table td strong,
.ytc-roster-table td span {
  display: block;
}

.ytc-roster-table td:first-child span,
.ytc-roster-table td strong + span {
  color: var(--ytc-muted);
  font-size: 12px;
  margin-top: 4px;
}

.ytc-attention-stack,
.ytc-attention-row {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  align-items: center;
}

.ytc-pill-alert {
  color: #9a4b00;
  border-color: rgba(186, 101, 16, .25);
  background: rgba(255, 184, 77, .12);
}

.ytc-pill-waiting {
  color: #1453a6;
  border-color: rgba(24, 104, 219, .25);
  background: rgba(24, 104, 219, .08);
}

.ytc-pill-soft {
  color: #59677c;
  background: #f8fafc;
}

.ytc-workspace-hero {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-top: 14px;
}

.ytc-workspace-hero h2 {
  font-size: clamp(34px, 5vw, 56px);
  margin: 8px 0;
  line-height: 1;
  letter-spacing: -.05em;
}

.ytc-workspace-hero p {
  color: var(--ytc-muted);
  margin: 0;
}

.ytc-workspace-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.ytc-workspace-summary div {
  border: 1px solid var(--ytc-line);
  background: #fbfdff;
  border-radius: 16px;
  padding: 13px 14px;
}

.ytc-workspace-summary strong,
.ytc-workspace-summary span {
  display: block;
}

.ytc-workspace-summary strong {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ytc-blue);
  margin-bottom: 5px;
}

.ytc-workspace-summary span {
  color: var(--ytc-text);
  font-weight: 750;
}

.ytc-attention-row {
  margin-top: 14px;
}

.ytc-workspace-section {
  display: grid;
  gap: 14px;
}

.ytc-workspace-section summary {
  cursor: pointer;
  list-style: none;
  font-size: 18px;
  font-weight: 850;
  letter-spacing: -.02em;
  padding: 4px 0 14px;
  border-bottom: 1px solid var(--ytc-line);
  margin-bottom: 16px;
}

.ytc-workspace-section summary::-webkit-details-marker {
  display: none;
}

.ytc-workspace-section summary:after {
  content: "+";
  float: right;
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--ytc-line);
  border-radius: 999px;
  color: var(--ytc-blue);
  background: #fff;
}

.ytc-workspace-section[open] summary:after {
  content: "–";
}

.ytc-panel-heading h3,
.ytc-panel-heading h2 {
  margin-bottom: 4px;
}

@media (max-width: 1100px) {
  .ytc-workspace-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ytc-floating-form {
    position: static;
    width: auto;
    margin-top: 12px;
  }
}

@media (max-width: 760px) {
  .ytc-page-toolbar,
  .ytc-workspace-hero {
    flex-direction: column;
  }
  .ytc-add-dropdown {
    width: 100%;
  }
  .ytc-workspace-summary {
    grid-template-columns: 1fr;
  }
}

/* v1.1.1 Compact polish: lighter menu, less bulk, daily dashboard first */
:root {
  --ytc-bg: #f7f9fc;
  --ytc-panel: #ffffff;
  --ytc-text: #172033;
  --ytc-muted: #6c7686;
  --ytc-line: #e2e8f0;
  --ytc-blue: #1768d8;
  --ytc-blue-dark: #0d4d9b;
  --ytc-soft: #eef5ff;
  --ytc-shadow: 0 8px 22px rgba(20, 35, 65, .06);
  --ytc-radius: 16px;
}

.ytc-app-shell {
  grid-template-columns: 220px minmax(0, 1fr);
  background: #f7f9fc;
  border-radius: 20px;
}

.ytc-sidebar {
  padding: 18px 16px;
  background: #f1f5f9;
  color: var(--ytc-text);
  border-right: 1px solid var(--ytc-line);
}

.ytc-sidebar h2 {
  color: var(--ytc-text);
  font-size: 17px;
  font-weight: 700;
  margin-top: 12px;
}

.ytc-sidebar p {
  color: var(--ytc-muted);
  font-size: 12px;
}

.ytc-logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--ytc-blue);
  color: #fff;
}

.ytc-sidebar nav {
  gap: 5px;
  margin: 18px 0;
}

.ytc-sidebar nav a {
  color: #2d3b50 !important;
  background: transparent;
  border-left: 3px solid transparent;
  border-radius: 10px;
  padding: 9px 10px;
  font-size: 14px;
  font-weight: 600;
}

.ytc-sidebar nav a:hover,
.ytc-sidebar nav a:focus {
  background: #ffffff;
  border-left-color: var(--ytc-blue);
  color: var(--ytc-blue-dark) !important;
}

.ytc-sidebar .ytc-link-button {
  color: var(--ytc-muted) !important;
  font-weight: 600;
}

.ytc-main {
  padding: 22px;
}

.ytc-main-header {
  margin-bottom: 14px;
}

.ytc-main-header h1,
.ytc-page-toolbar h2,
.ytc-workspace-hero h2,
.ytc-report-header h2 {
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.08;
  font-weight: 650;
  letter-spacing: -.035em;
}

.ytc-main-header p,
.ytc-page-toolbar p,
.ytc-workspace-hero p,
.ytc-muted {
  font-size: 13px;
}

.ytc-panel,
.ytc-stat,
.ytc-soft-card,
.ytc-mini-form,
.ytc-brand-panel,
.ytc-login-card {
  border-radius: 14px;
  box-shadow: 0 5px 16px rgba(20, 35, 65, .04);
}

.ytc-panel {
  padding: 16px;
}

.ytc-panel h2,
.ytc-panel h3 {
  font-weight: 650;
  letter-spacing: -.02em;
  margin-bottom: 8px;
}

.ytc-section-gap {
  margin-top: 14px;
}

.ytc-grid-2,
.ytc-admin-priority-grid {
  gap: 14px;
}

.ytc-admin-priority-grid {
  display: grid;
  grid-template-columns: minmax(360px, .9fr) minmax(0, 1.1fr);
}

.ytc-priority-panel,
.ytc-calendar-panel {
  min-height: 0;
}

.ytc-panel-heading {
  gap: 10px;
  margin-bottom: 10px;
  align-items: center;
}

.ytc-stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.ytc-stat-grid-compact {
  grid-template-columns: repeat(6, minmax(90px, 1fr));
}

.ytc-stat {
  padding: 12px 13px;
  box-shadow: none;
}

.ytc-stat strong {
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -.02em;
}

.ytc-stat span {
  margin-top: 3px;
  font-size: 12px;
  font-weight: 550;
}

.ytc-list {
  gap: 7px;
}

.ytc-list-item {
  gap: 10px;
  border-radius: 11px;
  padding: 9px 10px;
}

.ytc-list-item strong,
.ytc-table td strong,
.ytc-workspace-summary span {
  font-weight: 600;
}

.ytc-list-item span,
.ytc-table td span,
.ytc-list-item p {
  font-size: 12px;
}

.ytc-table {
  border-spacing: 0 5px;
}

.ytc-table th {
  padding: 0 8px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .06em;
}

.ytc-table td {
  padding: 8px 8px;
  font-size: 13px;
}

.ytc-table td:first-child {
  border-radius: 10px 0 0 10px;
}

.ytc-table td:last-child {
  border-radius: 0 10px 10px 0;
}

.ytc-pill,
.ytc-login-roles span,
.ytc-calendar-day span {
  padding: 3px 7px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 999px;
}

.ytc-attention-stack,
.ytc-attention-row {
  gap: 4px;
}

.ytc-button,
.ytc-button-secondary,
.ytc-small-button {
  border-radius: 10px;
  font-weight: 650;
  box-shadow: none;
}

.ytc-button {
  padding: 9px 12px;
}

.ytc-button-secondary {
  padding: 8px 11px;
}

.ytc-small-button {
  padding: 6px 8px;
  font-size: 12px;
}

.ytc-text-button,
.ytc-link-button {
  font-weight: 600;
}

.ytc-form {
  gap: 10px;
}

.ytc-form label {
  font-size: 12px;
  font-weight: 600;
}

.ytc-form input,
.ytc-form textarea,
.ytc-form select {
  border-radius: 10px;
  padding: 9px 10px;
  font-size: 13px;
}

.ytc-page-toolbar {
  align-items: center;
  margin-bottom: 10px;
}

.ytc-page-toolbar h2 {
  margin: 3px 0 4px;
}

.ytc-add-dropdown {
  min-width: 150px;
}

.ytc-floating-form {
  padding: 16px;
  width: min(520px, calc(100vw - 42px));
}

.ytc-workspace-summary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  margin-top: 12px;
}

.ytc-workspace-summary div {
  border-radius: 10px;
  padding: 8px 10px;
}

.ytc-workspace-summary strong {
  font-size: 10px;
  font-weight: 650;
}

.ytc-workspace-summary span {
  font-size: 13px;
}

.ytc-workspace-section summary {
  font-size: 15px;
  font-weight: 650;
  padding-bottom: 9px;
  margin-bottom: 10px;
}

.ytc-workspace-section summary:after {
  width: 23px;
  height: 23px;
}

.ytc-calendar-list {
  gap: 7px;
}

.ytc-calendar-day {
  grid-template-columns: 68px 1fr;
  gap: 10px;
  padding: 8px 9px;
  border-radius: 11px;
}

.ytc-calendar-day strong {
  font-weight: 600;
  font-size: 13px;
}

.ytc-metric-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.ytc-metric-row div {
  padding: 9px 10px;
  border: 1px solid var(--ytc-line);
  background: #fff;
  border-radius: 11px;
}

.ytc-metric-row strong,
.ytc-metric-row span {
  display: block;
}

.ytc-metric-row strong {
  font-size: 18px;
  font-weight: 650;
}

.ytc-metric-row span {
  color: var(--ytc-muted);
  font-size: 12px;
}

@media (max-width: 1100px) {
  .ytc-admin-priority-grid,
  .ytc-stat-grid-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 950px) {
  .ytc-app-shell {
    grid-template-columns: 1fr;
  }
  .ytc-sidebar nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .ytc-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .ytc-sidebar nav,
  .ytc-admin-priority-grid,
  .ytc-stat-grid,
  .ytc-stat-grid-compact,
  .ytc-metric-row {
    grid-template-columns: 1fr;
  }
  .ytc-main {
    padding: 16px;
  }
}

/* v1.1.2 Coach + Business roster refinement */
.ytc-toolbar-actions {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.ytc-toolbar-actions .ytc-add-dropdown {
  min-width: auto;
}

.ytc-workspace-hero-compact {
  padding-bottom: 8px;
  margin-bottom: 8px;
}

.ytc-business-info-line {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.ytc-business-info-line div {
  border: 1px solid var(--ytc-line);
  background: #fff;
  border-radius: 10px;
  padding: 8px 10px;
  min-width: 0;
}

.ytc-business-info-line strong,
.ytc-business-info-line span {
  display: block;
}

.ytc-business-info-line strong {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ytc-muted);
  font-weight: 600;
  margin-bottom: 3px;
}

.ytc-business-info-line span {
  color: var(--ytc-text);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.ytc-coach-table td:nth-child(2) span {
  display: block;
}

.ytc-row-dropdown {
  position: relative;
  display: inline-block;
}

.ytc-row-dropdown summary {
  list-style: none;
  cursor: pointer;
}

.ytc-row-dropdown summary::-webkit-details-marker,
.ytc-add-dropdown summary::-webkit-details-marker {
  display: none;
}

.ytc-row-form {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  width: 260px;
  background: #fff;
  border: 1px solid var(--ytc-line);
  box-shadow: 0 18px 42px rgba(15, 23, 42, .13);
  border-radius: 12px;
  padding: 10px;
  z-index: 20;
}

.ytc-row-form select {
  min-width: 100%;
}

.ytc-page-toolbar h2,
.ytc-panel-heading h2,
.ytc-panel-heading h3 {
  font-weight: 600;
}

@media (max-width: 900px) {
  .ytc-business-info-line {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .ytc-business-info-line {
    grid-template-columns: 1fr;
  }
  .ytc-toolbar-actions {
    justify-content: flex-start;
  }
}


/* v1.1.3: remove duplicate page titles and keep roster actions compact */
.ytc-page-toolbar-actions-only {
    justify-content: flex-end;
    align-items: center;
    min-height: 0;
    margin-bottom: 10px;
}
.ytc-page-toolbar-actions-only .ytc-toolbar-actions {
    margin-left: auto;
}
.ytc-page-toolbar-actions-only details.ytc-add-dropdown {
    margin-left: auto;
}
.ytc-page-toolbar-actions-only + .ytc-panel,
.ytc-page-toolbar-actions-only + .ytc-panel.ytc-section-gap {
    margin-top: 8px;
}
.ytc-main-header h1 {
    font-weight: 650;
}
.ytc-main-header p {
    margin-top: 4px;
}
.ytc-roster-table th,
.ytc-roster-table td {
    padding-top: 9px;
    padding-bottom: 9px;
}
