/* Selected design A. Shared navigation plus the live client category board. */
.app-shell { --nav-width: 70px; }
.app-shell[data-sidebar="full"] { --nav-width: 228px; }
.app-shell[data-sidebar="hidden"] { --nav-width: 0px; }
.app-shell .sidebar {
  width: var(--nav-width);
  padding: 25px 13px 18px;
  overflow-y: auto;
  overflow-x: hidden;
}
.app-shell .workspace {
  margin-left: var(--nav-width);
  width: calc(100% - var(--nav-width));
}
.app-shell .brand { padding: 0 4px; white-space: nowrap; }
.app-shell .brand img { flex-shrink: 0; }
.nav-label { white-space: nowrap; }
.app-shell .topbar { height: 58px; padding: 0 28px; gap: 14px; }
.topbar .mobile-menu {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  min-height: 30px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
}
.topbar .breadcrumb { margin-right: auto; min-width: 0; }
.topbar .breadcrumb strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar-right { gap: 18px; flex-shrink: 0; }
.sidebar-controls { display: flex; align-items: center; gap: 2px; font-size: 10px; }
.sidebar-controls > span { color: var(--muted); margin-right: 8px; }
.sidebar-controls button { background: transparent; border: 0; padding: 6px 8px; border-radius: 5px; font-size: 11px; }
.sidebar-controls button[aria-pressed="true"] { background: #eaf0e4; color: var(--accent); font-weight: 750; }
.sidebar-controls button:hover { background: #f0f4eb; }
.rail-profile { display: none; }
.sidebar-backdrop { display: none; }
[data-sidebar="rail"] .brand > span,
[data-sidebar="rail"] .workspace-label,
[data-sidebar="rail"] .nav-label,
[data-sidebar="rail"] .nav-item .count,
[data-sidebar="rail"] .sidebar-bottom { display: none; }
[data-sidebar="rail"] #navigation { margin-top: 40px; }
[data-sidebar="rail"] .nav-item { padding: 13px 12px; }
[data-sidebar="rail"] .nav-divider { margin: 12px 5px; }
[data-sidebar="rail"] .rail-profile {
  display: grid;
  place-items: center;
  margin: auto auto 0;
  border: 0;
  flex-shrink: 0;
}
[data-sidebar="hidden"] .sidebar { padding: 0; border: 0; visibility: hidden; }
.toast { left: 50%; }

/* A quiet, compact header gives the three categories the available space. */
main.client-board-page { padding: 22px 28px 25px; }
.client-board-page .back-link { margin-bottom: 19px; font-size: 11px; }
.board-heading { margin-bottom: 0; align-items: center; }
.board-heading .eyebrow { font-size: 9px; letter-spacing: 1.5px; }
.board-heading h1 { margin-top: 6px; font-size: 28px; font-weight: 750; line-height: 1.3; }
.shared-client-tag {
  display: inline-block;
  vertical-align: middle;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0;
  padding: 4px 7px;
  margin-left: 13px;
  border: 1px solid #dae3d4;
  border-radius: 4px;
  color: #53684b;
  background: #e9eee4;
}
.board-heading p { margin-top: 8px; font-size: 11px; }
.board-team { margin-left: 12px; padding-left: 12px; border-left: 1px solid #d2dccb; }
.client-board-page .read-only { margin: 16px 0 0; }
.board-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 13px 22px;
  align-items: center;
  padding: 20px 0 17px;
  margin-bottom: 19px;
  border-bottom: 1px solid var(--border);
}
.board-metric { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 11px; }
.board-metric strong { color: var(--ink); font-size: 16px; font-weight: 750; }
.board-metric .dot { width: 6px; height: 6px; }
.board-coverage { display: flex; align-items: center; gap: 8px; margin-left: auto; color: var(--muted); font-size: 10px; }
.board-coverage strong { color: var(--ink); font-size: 12px; }
.board-coverage progress { width: 68px; height: 4px; }
.board-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 15px; }
.board-toolbar h2 { font-size: 14px; font-weight: 750; letter-spacing: -.2px; }
.board-toolbar p { font-size: 11px; color: var(--muted); margin-top: 5px; line-height: 1.6; }
.board-toolbar label { display: flex; align-items: center; gap: 9px; font-size: 11px; color: var(--muted); }
.board-toolbar select { min-width: 146px; font-size: 11px; }
.category-board { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.board-column {
  min-width: 0;
  background: #f0f3ec;
  border: 1px solid #dfe6d9;
  border-radius: 10px;
  overflow: hidden;
}
.board-column[data-category="pricing"] { background: #f7f3eb; border-color: #e8e1d3; }
.board-column[data-category="brand"] { background: #edf2f3; border-color: #dbe5e5; }
.board-column-head { min-height: 92px; padding: 16px 16px 12px; }
.board-column-head > div:first-child { display: flex; gap: 9px; align-items: center; }
.board-column-head h3 { font-size: 14px; font-weight: 750; letter-spacing: -.3px; line-height: 1.5; }
.board-column-head .category-icon { width: 27px; height: 27px; flex-shrink: 0; background: #e0e8d9; color: #5d7950; }
.board-column-head .category-icon svg { width: 16px; height: 16px; }
[data-category="pricing"] .category-icon { background: #ede4d2; color: #8c713e; }
[data-category="brand"] .category-icon { background: #dde9e9; color: #50747a; }
.board-column-head p { font-size: 10px; color: var(--muted); margin: 5px 0 0 36px; }
.board-status-track { display: flex; gap: 3px; height: 3px; margin-top: 10px; }
.board-status-track .dot { flex: 1; width: auto; height: 3px; border-radius: 3px; }
.board-cards { display: grid; gap: 7px; padding: 0 9px 9px; }
.board-card {
  width: 100%;
  display: block;
  text-align: left;
  padding: 11px 12px;
  border: 1px solid #e1e7da;
  border-radius: 7px;
  background: #fff;
}
.board-card:hover { border-color: #92a582; box-shadow: 0 2px 8px #27402d0a; }
.board-card-name { display: block; font-size: 13px; font-weight: 700; line-height: 1.5; overflow-wrap: anywhere; }
.board-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 7px; margin-top: 9px; }
.board-card .status { font-size: 10px; padding: 3px 6px; line-height: 1.4; }
.board-card .status.unreviewed { color: #74717e; background: #efedf3; }
.board-owner { color: var(--muted); font-size: 9px; font-weight: 650; }
.board-next { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 10px; line-height: 1.6; margin-top: 9px; }
.board-next > span:first-child { overflow-wrap: anywhere; }
.board-due { white-space: nowrap; font-size: 9px; text-align: right; }
.board-due.overdue { color: #9b6136; }
.board-due > span { display: block; font-size: 8px; }
.board-column-footer { border-top: 1px solid #dce4d5; margin: 0 9px; padding: 11px 5px 13px; font-size: 10px; color: var(--muted); }
[data-category="pricing"] .board-column-footer { border-color: #e7dfce; }
[data-category="brand"] .board-column-footer { border-color: #dbe4e5; }
.board-empty { font-size: 12px; padding: 22px 12px; color: var(--muted); line-height: 1.7; }
.board-footer { display: flex; justify-content: space-between; gap: 15px; font-size: 10px; color: var(--muted); margin-top: 18px; line-height: 1.7; }

@media (max-width: 1150px) {
  .topbar .sample-tag { display: none; }
  .category-board { gap: 12px; }
  .board-column-head { padding: 14px 12px 12px; }
  .board-column-head h3 { font-size: 12px; }
  .board-card-name { font-size: 12px; }
  .board-summary { gap: 12px 18px; }
  .board-coverage { margin-left: 0; }
  .board-next { flex-wrap: wrap; gap: 4px; }
  .board-due { display: flex; gap: 6px; align-items: center; text-align: left; }
}
@media (min-width: 761px) and (max-width: 1000px) {
  [data-sidebar="full"] .category-board { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .app-shell { --nav-width: 0px; }
  .app-shell .workspace { margin: 0; width: 100%; }
  .app-shell .sidebar { width: 228px; padding: 25px 13px 18px; }
  .app-shell .sidebar.open { transform: translateX(0); }
  .sidebar-backdrop:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 19; border: 0; background: #152c2552; }
  .app-shell .topbar { height: 56px; padding: 0 15px; gap: 10px; }
  .sidebar-controls { display: none; }
  .topbar-right { gap: 8px; }
  .topbar .breadcrumb { font-size: 10px; gap: 7px; }
  main.client-board-page { padding: 21px 16px 26px; }
  .client-board-page .back-link { margin-bottom: 16px; font-size: 10px; }
  .board-heading { margin-bottom: 0; gap: 14px; }
  .board-heading h1 { font-size: 25px; }
  .shared-client-tag { font-size: 8px; margin-left: 8px; padding: 3px 5px; }
  .board-heading p { font-size: 11px; }
  .board-team { display: block; border: 0; padding: 0; margin: 5px 0 0; }
  .board-heading .heading-actions { width: auto; }
  .board-summary { padding-top: 18px; gap: 11px 16px; }
  .board-metric { font-size: 10px; }
  .board-metric strong { font-size: 14px; }
  .board-coverage { width: 100%; font-size: 9px; }
  .board-toolbar { align-items: flex-start; gap: 10px; }
  .board-toolbar h2 { font-size: 13px; }
  .board-toolbar p { font-size: 10px; max-width: 200px; }
  .board-toolbar label { font-size: 0; }
  .board-toolbar select { min-width: 116px; padding: 8px 7px; font-size: 10px; }
  .category-board { grid-template-columns: 1fr; gap: 16px; }
  .board-column-head { min-height: 0; }
  .board-column-head h3 { font-size: 14px; }
  .board-card-name { font-size: 13px; }
  .board-next { flex-wrap: nowrap; font-size: 11px; gap: 12px; }
  .board-due { display: block; font-size: 10px; }
  .board-footer { flex-direction: column; gap: 4px; font-size: 9px; }
}
