:root {
      --bg-primary:    #0D0D0D;
      --bg-secondary:  #141414;
      --bg-tertiary:   #1C1C1C;
      --border:        #2A2A2A;
      --border-bright: #3A3A3A;
 
      --text-primary:   #F0EDE6;
      --text-secondary: #8A8680;
      --text-disabled:  #4A4845;
 
      --accent:      #E8C547;
      --accent-dim:  rgba(232, 197, 71, 0.12);
 
      --status-green: #4A9B6F;
      --status-amber: #C4823A;
      --status-red:   #B85450;
      --status-blue:  #5A7FA8;
 
      --tag-code-bg:     rgba(90, 127, 168, 0.15);
      --tag-code-text:   #7AABCF;
      --tag-art-bg:      rgba(180, 110, 180, 0.15);
      --tag-art-text:    #C98ECC;
      --tag-audio-bg:    rgba(196, 130, 58, 0.15);
      --tag-audio-text:  #D4A060;
      --tag-design-bg:   rgba(74, 155, 111, 0.15);
      --tag-design-text: #6BBF96;
      --tag-qa-bg:       rgba(184, 84, 80, 0.15);
      --tag-qa-text:     #D47A77;
      --tag-writing-bg:  rgba(138, 134, 128, 0.15);
      --tag-writing-text:#A8A49E;
 
      --font-ui:   'Syne', sans-serif;
      --font-mono: 'DM Mono', monospace;
 
      --sidebar-w:   240px;
      --radius-card: 6px;
      --radius-btn:  4px;
    }
 
    /* ============================================================
       RESET & BASE
    ============================================================ */
    *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
    html { font-size: 14px; }
    body {
      font-family: var(--font-ui);
      background: var(--bg-primary);
      color: var(--text-primary);
      min-height: 100vh;
      line-height: 1.5;
      -webkit-font-smoothing: antialiased;
    }
    a { text-decoration: none; color: inherit; }
    ul, ol { list-style: none; }
    button { font-family: var(--font-ui); cursor: pointer; }
 
    /* ============================================================
       APP SHELL
    ============================================================ */
    .app-shell { display: flex; min-height: 100vh; }
 
    /* ============================================================
       SIDEBAR
    ============================================================ */
    .sidebar {
      width: var(--sidebar-w);
      min-width: var(--sidebar-w);
      background: var(--bg-secondary);
      border-right: 1px solid var(--border);
      display: flex;
      flex-direction: column;
      position: fixed;
      top: 0; left: 0;
      height: 100vh;
      z-index: 100;
    }
 
    .sidebar-header {
      padding: 28px 24px 24px;
      border-bottom: 1px solid var(--border);
    }
 
    .logo-text {
      display: block;
      font-weight: 700;
      font-size: 15px;
      letter-spacing: 0.12em;
      color: var(--text-primary);
    }
 
    .studio-name {
      display: block;
      font-family: var(--font-mono);
      font-size: 11px;
      color: var(--text-secondary);
      margin-top: 4px;
    }
 
    .sidebar-nav { flex: 1; padding: 16px 0; overflow-y: auto; }
 
    .nav-item {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 11px 24px;
      color: var(--text-secondary);
      cursor: pointer;
      transition: color 0.15s, background 0.15s;
      border-left: 2px solid transparent;
      font-size: 13.5px;
      font-weight: 500;
    }
 
    .nav-item:hover { color: var(--text-primary); background: var(--bg-tertiary); }
 
    .nav-item--active {
      color: var(--accent);
      background: var(--accent-dim);
      border-left-color: var(--accent);
    }
 
    .nav-icon {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 18px;
      flex-shrink: 0;
      overflow: visible;
    }
 
    .nav-icon svg {
        width: 16px;
        height: 16px;
        min-width: 16px;
        min-height: 16px;
        stroke: currentColor;
        stroke-width: 1.75;
        display: block;
      }
 
    .sidebar-footer {
      padding: 20px 24px;
      border-top: 1px solid var(--border);
      display: flex;
      align-items: center;
      gap: 12px;
    }
 
    .user-avatar {
      width: 32px; height: 32px;
      border-radius: 50%;
      background: var(--bg-tertiary);
      border: 1px solid var(--border-bright);
      display: flex; align-items: center; justify-content: center;
      font-size: 12px; font-weight: 500;
      color: var(--text-secondary);
      flex-shrink: 0;
    }
 
    .user-name  { display: block; font-size: 13px; font-weight: 500; color: var(--text-primary); }
    .user-status { display: block; font-family: var(--font-mono); font-size: 11px; color: var(--status-green); }
 
    /* ============================================================
       MAIN CONTENT
    ============================================================ */
    .main-content {
      margin-left: var(--sidebar-w);
      flex: 1;
      min-height: 100vh;
      padding: 40px 48px;
    }
 
    .screen { display: none; }
    .screen.screen--active { display: block; }
 
    /* ============================================================
       SHARED — PAGE HEADER
    ============================================================ */
    .page-header {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      margin-bottom: 32px;
    }
 
    .page-title {
      font-size: 24px; font-weight: 700;
      color: var(--text-primary); line-height: 32px;
    }
 
    .page-subtitle {
      font-family: var(--font-mono);
      font-size: 12px; color: var(--text-secondary); margin-top: 4px;
    }
 
    /* ============================================================
       SHARED — BUTTONS
    ============================================================ */
    .btn {
      display: inline-flex; align-items: center; gap: 6px;
      padding: 8px 16px;
      border-radius: var(--radius-btn);
      font-size: 13px; font-weight: 500;
      border: 1px solid transparent;
      transition: background 0.15s, opacity 0.15s;
    }
 
    .btn--primary  { background: var(--accent); color: #0D0D0D; border-color: var(--accent); }
    .btn--primary:hover { opacity: 0.88; }
    .btn--secondary { background: transparent; color: var(--accent); border-color: var(--accent); }
    .btn--secondary:hover { background: var(--accent-dim); }
 
    /* ============================================================
       SHARED — TYPE TAGS
    ============================================================ */
    .task-tag {
      font-family: var(--font-mono);
      font-size: 11px; padding: 3px 7px;
      border-radius: 3px; white-space: nowrap;
    }
    .task-tag--code    { background: var(--tag-code-bg);    color: var(--tag-code-text); }
    .task-tag--art     { background: var(--tag-art-bg);     color: var(--tag-art-text); }
    .task-tag--audio   { background: var(--tag-audio-bg);   color: var(--tag-audio-text); }
    .task-tag--design  { background: var(--tag-design-bg);  color: var(--tag-design-text); }
    .task-tag--qa      { background: var(--tag-qa-bg);      color: var(--tag-qa-text); }
    .task-tag--writing { background: var(--tag-writing-bg); color: var(--tag-writing-text); }
 
    /* ============================================================
       SHARED — SMALL ASSIGNEE AVATAR
    ============================================================ */
    .assignee-avatar {
      display: inline-flex; align-items: center; justify-content: center;
      width: 22px; height: 22px; border-radius: 50%;
      background: var(--bg-tertiary); border: 1px solid var(--border-bright);
      font-family: var(--font-mono); font-size: 9px;
      color: var(--text-secondary); flex-shrink: 0;
    }
 
    /* ============================================================
       SHARED — STATUS DOTS
    ============================================================ */
    .avatar-status {
      position: absolute; bottom: 0; right: 0;
      width: 9px; height: 9px; border-radius: 50%;
      border: 2px solid var(--bg-secondary);
    }
    .avatar-status--active  { background: var(--status-green); }
    .avatar-status--away    { background: var(--status-amber); }
    .avatar-status--offline { background: var(--text-disabled); }
 
    /* ============================================================
       SHARED — PROGRESS BARS
    ============================================================ */
    .progress-bar {
      height: 4px; background: var(--border);
      border-radius: 2px; overflow: hidden; margin-top: 12px;
    }
    .progress-bar-fill {
      height: 100%; background: var(--accent); border-radius: 2px;
      width: 0; transition: width 0.6s ease-out;
    }
 
    /* ============================================================
       SCREEN 1 — OVERVIEW
    ============================================================ */
    .project-header { margin-bottom: 40px; }
 
    .project-title {
      font-size: 40px; font-weight: 700;
      letter-spacing: 0.04em; line-height: 1.1;
    }
 
    .project-build {
      font-family: var(--font-mono);
      font-size: 13px; color: var(--text-secondary); margin-top: 8px;
    }
 
    .milestone-countdown {
      display: flex; align-items: center; gap: 8px; margin-top: 16px;
    }
 
    .countdown-icon svg { width: 16px; height: 16px; stroke: var(--accent); stroke-width: 1.75; }
    .countdown-number { font-family: var(--font-mono); font-size: 18px; font-weight: 500; color: var(--accent); }
    .countdown-label  { font-size: 14px; color: var(--text-secondary); }
 
    .stat-cards {
      display: grid; grid-template-columns: repeat(3, 1fr);
      gap: 16px; margin-bottom: 24px;
    }
 
    .stat-card {
      background: var(--bg-secondary);
      border: 1px solid var(--border);
      border-radius: var(--radius-card);
      padding: 24px;
    }
 
    .stat-label {
      font-family: var(--font-mono); font-size: 10px;
      letter-spacing: 0.1em; color: var(--text-secondary); text-transform: uppercase;
    }
 
    .stat-value {
      font-size: 40px; font-weight: 700; color: var(--accent);
      line-height: 1.1; margin-top: 10px;
    }
 
    .stat-value--mono { font-family: var(--font-mono); font-size: 32px; }
 
    .stat-breakdown {
      font-size: 12px; color: var(--text-secondary);
      margin-top: 10px; line-height: 1.8;
    }
    .stat-breakdown .sep { margin: 0 4px; }
 
    .stat-sprint-name      { font-size: 13px; color: var(--text-primary); margin-top: 8px; }
    .stat-sprint-remaining { font-family: var(--font-mono); font-size: 12px; color: var(--text-secondary); margin-top: 4px; }
 
    .two-col {
      display: grid; grid-template-columns: 1fr 1fr;
      gap: 16px; margin-bottom: 24px;
    }
 
    .panel {
      background: var(--bg-secondary);
      border: 1px solid var(--border);
      border-radius: var(--radius-card);
      padding: 24px;
    }
 
    .panel-title { font-size: 15px; font-weight: 600; color: var(--text-primary); margin-bottom: 20px; }
 
    .blocker-list { display: flex; flex-direction: column; gap: 18px; }
 
    .blocker-item { display: flex; align-items: flex-start; gap: 12px; }
 
    .blocker-dot {
      width: 8px; height: 8px; border-radius: 50%;
      background: var(--status-red); flex-shrink: 0; margin-top: 4px;
    }
 
    .blocker-task     { font-size: 13px; color: var(--text-primary); line-height: 1.45; }
    .blocker-assignee { font-family: var(--font-mono); font-size: 11px; color: var(--text-secondary); margin-top: 3px; }
 
    .activity-list { display: flex; flex-direction: column; gap: 16px; }
 
    .activity-item { display: flex; align-items: flex-start; gap: 10px; }
 
    .activity-icon { display: flex; align-items: center; width: 20px; flex-shrink: 0; margin-top: 1px; }
    .activity-icon svg { width: 14px; height: 14px; stroke: var(--text-disabled); stroke-width: 2; }
 
    .activity-text { font-size: 13px; color: var(--text-primary); line-height: 1.45; }
    .activity-time { font-family: var(--font-mono); font-size: 11px; color: var(--text-secondary); margin-top: 2px; display: block; }
 
    .team-status {
      background: var(--bg-secondary); border: 1px solid var(--border);
      border-radius: var(--radius-card); padding: 24px;
    }
 
    .team-list {
      display: grid; grid-template-columns: repeat(4, 1fr);
      gap: 16px; margin-top: 0;
    }
 
    .team-member { display: flex; align-items: center; gap: 12px; }
 
    .member-avatar { position: relative; flex-shrink: 0; }
 
    .avatar-initials {
      display: flex; align-items: center; justify-content: center;
      width: 36px; height: 36px; border-radius: 50%;
      background: var(--bg-tertiary); border: 1px solid var(--border-bright);
      font-family: var(--font-mono); font-size: 11px; font-weight: 500;
      color: var(--text-secondary);
    }
 
    .member-name { font-size: 13px; font-weight: 500; color: var(--text-primary); }
    .member-task { font-family: var(--font-mono); font-size: 11px; color: var(--text-secondary); margin-top: 2px; }
 
    /* ============================================================
       SCREEN 2 — TASKS
    ============================================================ */
    .filter-bar {
      display: flex; align-items: center; gap: 10px;
      padding: 14px 16px;
      background: var(--bg-secondary); border: 1px solid var(--border);
      border-radius: var(--radius-card); margin-bottom: 28px; flex-wrap: wrap;
    }
 
    .filter-bar-label {
      display: flex; align-items: center; gap: 6px;
      font-size: 12px; color: var(--text-secondary); margin-right: 4px;
    }
    .filter-bar-label svg { width: 13px; height: 13px; stroke: var(--text-secondary); }
 
    .filter-group { display: flex; align-items: center; gap: 6px; }
 
    .filter-pill {
      padding: 5px 13px; border-radius: 20px;
      border: 1px solid var(--border); background: transparent;
      color: var(--text-secondary); font-size: 12px; font-weight: 500;
      transition: border-color 0.15s, color 0.15s, background 0.15s;
    }
    .filter-pill:hover { border-color: var(--border-bright); color: var(--text-primary); }
    .filter-pill[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }
 
    .board {
      display: grid; grid-template-columns: repeat(4, 1fr);
      gap: 16px; align-items: start;
    }
 
    .board-column { display: flex; flex-direction: column; gap: 10px; }
 
    .column-header {
      display: flex; align-items: center; gap: 8px;
      padding: 0 4px 10px; border-bottom: 1px solid var(--border);
    }
 
    .column-title {
      font-family: var(--font-mono); font-size: 11px;
      font-weight: 500; letter-spacing: 0.08em;
      text-transform: uppercase; color: var(--text-secondary);
    }
 
    .column-count {
      font-family: var(--font-mono); font-size: 10px;
      color: var(--text-disabled); background: var(--bg-tertiary);
      border: 1px solid var(--border); border-radius: 10px; padding: 1px 7px;
    }
 
    .card-list { display: flex; flex-direction: column; gap: 8px; }
 
    .task-card {
      background: var(--bg-secondary); border: 1px solid var(--border);
      border-radius: var(--radius-card); padding: 14px 14px 12px;
      border-left-width: 3px; border-left-color: transparent;
      transition: border-color 0.15s; cursor: pointer;
    }
    .task-card:hover { border-color: var(--border-bright); }
    .task-card--priority-critical { border-left-color: var(--status-red); }
    .task-card--priority-critical:hover { border-left-color: var(--status-red); }
    .task-card--done { opacity: 0.45; }
 
    .task-card-top { display: flex; align-items: center; gap: 6px; margin-bottom: 9px; flex-wrap: wrap; }
    .task-milestone { font-family: var(--font-mono); font-size: 10px; color: var(--text-disabled); margin-left: auto; }
    .task-title { font-size: 13px; color: var(--text-primary); line-height: 1.45; margin-bottom: 10px; }
 
    .task-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
    .task-assignee    { display: flex; align-items: center; gap: 6px; }
    .assignee-name    { font-size: 12px; color: var(--text-secondary); }
 
    /* ============================================================
       SCREEN 3 — MILESTONES
    ============================================================ */
    .timeline-section { margin-bottom: 40px; padding: 32px 0 20px; }
 
    .timeline-track {
      position: relative; display: flex;
      align-items: center; justify-content: space-between;
      padding: 0 32px;
    }
 
    .timeline-line {
      position: absolute; top: 16px; left: 32px; right: 32px;
      height: 2px; background: var(--border); z-index: 0;
    }
 
    .timeline-line-completed {
      position: absolute; top: 0; left: 0;
      width: 16.66%; height: 100%; background: var(--accent);
    }
 
    .timeline-node {
      position: relative; z-index: 1;
      display: flex; flex-direction: column; align-items: center; gap: 12px;
    }
 
    .node-dot {
      width: 32px; height: 32px; border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      position: relative;
    }
 
    .node-dot--completed { background: var(--accent); border: 2px solid var(--accent); }
    .node-dot--completed::after {
      content: '';
      display: block; width: 10px; height: 6px;
      border-left: 2px solid #0D0D0D; border-bottom: 2px solid #0D0D0D;
      transform: rotate(-45deg) translateY(-2px);
    }
 
    .node-dot--current { background: var(--bg-primary); border: 2px solid var(--accent); }
    .node-dot--current::before {
      content: ''; position: absolute; inset: -6px; border-radius: 50%;
      border: 2px solid var(--accent); opacity: 0;
      animation: pulse-ring 2s ease-out infinite;
    }
    .node-dot-pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
 
    @keyframes pulse-ring {
      0%   { inset: -4px; opacity: 0.7; }
      100% { inset: -14px; opacity: 0; }
    }
 
    .node-dot--upcoming { background: var(--bg-secondary); border: 2px solid var(--border); }
 
    .node-label { font-size: 12px; font-weight: 500; color: var(--text-secondary); white-space: nowrap; }
    .timeline-node--completed .node-label,
    .timeline-node--current .node-label { color: var(--text-primary); }
 
    .milestone-cards {
      display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
    }
 
    .milestone-card {
      background: var(--bg-secondary); border: 1px solid var(--border);
      border-radius: var(--radius-card); padding: 20px;
    }
    .milestone-card--current  { border-color: var(--accent); }
    .milestone-card--completed { opacity: 0.7; }
    .milestone-card--upcoming  { opacity: 0.75; }
 
    .milestone-card-header {
      display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px;
    }
 
    .milestone-card-title { font-size: 15px; font-weight: 600; color: var(--text-primary); }
 
    .milestone-status-badge {
      font-family: var(--font-mono); font-size: 10px; padding: 3px 8px; border-radius: 3px;
    }
    .milestone-status-badge--completed { background: rgba(74,155,111,0.15); color: var(--status-green); }
    .milestone-status-badge--on-track  { background: rgba(74,155,111,0.15); color: var(--status-green); }
    .milestone-status-badge--at-risk   { background: rgba(196,130,58,0.15); color: var(--status-amber); }
    .milestone-status-badge--delayed   { background: rgba(184,84,80,0.15);  color: var(--status-red); }
    .milestone-status-badge--upcoming  { background: var(--bg-tertiary); color: var(--text-disabled); }
 
    .milestone-date { font-family: var(--font-mono); font-size: 12px; color: var(--text-secondary); margin-bottom: 14px; }
    .milestone-completion-label {
      font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em;
      color: var(--text-secondary); text-transform: uppercase; margin-bottom: 6px;
    }
 
    .milestone-progress { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
 
    .milestone-progress-bar { flex: 1; height: 4px; background: var(--border); border-radius: 2px; overflow: hidden; }
    .milestone-progress-fill {
      height: 100%; background: var(--accent); border-radius: 2px;
      width: 0; transition: width 0.6s ease-out;
    }
 
    .milestone-progress-value {
      font-family: var(--font-mono); font-size: 12px; font-weight: 500;
      color: var(--text-primary); min-width: 32px; text-align: right;
    }
 
    .milestone-tasks { font-family: var(--font-mono); font-size: 11px; color: var(--text-secondary); }
 
    /* ============================================================
       SCREEN 4 — BUGS
    ============================================================ */
    .bug-toolbar {
      display: flex; align-items: center; gap: 10px; margin-bottom: 20px; flex-wrap: wrap;
    }
 
    .bug-search {
      display: flex; align-items: center; gap: 8px;
      background: var(--bg-secondary); border: 1px solid var(--border);
      border-radius: var(--radius-btn); padding: 8px 14px;
      flex: 1; min-width: 200px; transition: border-color 0.15s;
    }
    .bug-search:focus-within { border-color: var(--border-bright); }
    .bug-search svg { width: 14px; height: 14px; stroke: var(--text-secondary); flex-shrink: 0; }
 
    .search-input {
      background: transparent; border: none; outline: none;
      color: var(--text-primary); font-family: var(--font-ui); font-size: 13px; width: 100%;
    }
    .search-input::placeholder { color: var(--text-disabled); }
 
    .bug-filters { display: flex; align-items: center; gap: 8px; }
 
    .filter-dropdown {
      display: flex; align-items: center; gap: 6px;
      padding: 8px 14px;
      background: var(--bg-secondary); border: 1px solid var(--border);
      border-radius: var(--radius-btn); color: var(--text-secondary);
      font-size: 12px; font-weight: 500;
      transition: border-color 0.15s, color 0.15s;
    }
    .filter-dropdown:hover { border-color: var(--border-bright); color: var(--text-primary); }
    .filter-dropdown svg   { width: 12px; height: 12px; stroke: currentColor; }
 
    .table-wrapper {
      background: var(--bg-secondary); border: 1px solid var(--border);
      border-radius: var(--radius-card); overflow: hidden;
    }
 
    .bug-table { width: 100%; border-collapse: collapse; }
 
    .bug-table thead tr { border-bottom: 1px solid var(--border); }
 
    .bug-table th {
      font-family: var(--font-mono); font-size: 10px;
      letter-spacing: 0.1em; text-transform: uppercase;
      color: var(--text-secondary); font-weight: 400;
      padding: 14px 16px; text-align: left; white-space: nowrap;
    }
 
    .bug-row { border-bottom: 1px solid var(--border); transition: background 0.12s; }
    .bug-row:last-child { border-bottom: none; }
    .bug-row:nth-child(even) { background: rgba(255,255,255,0.013); }
    .bug-row:hover { background: var(--bg-tertiary); }
 
    .bug-table td { padding: 0 16px; height: 52px; vertical-align: middle; }
 
    .col-number { font-family: var(--font-mono); font-size: 12px; color: var(--text-secondary); width: 48px; }
 
    .bug-title-link { font-size: 13px; color: var(--text-primary); transition: color 0.12s; }
    .bug-title-link:hover { color: var(--accent); }
 
    .build-tag { font-family: var(--font-mono); font-size: 12px; color: var(--text-secondary); }
 
    .col-reported time { font-family: var(--font-mono); font-size: 12px; color: var(--text-secondary); }
 
    .assignee-cell { display: flex; align-items: center; gap: 8px; }
 
    .severity-badge, .status-badge {
      font-family: var(--font-mono); font-size: 11px; padding: 3px 8px; border-radius: 3px;
    }
    .severity-badge--critical { color: var(--status-red);   background: rgba(184,84,80,0.15); }
    .severity-badge--major    { color: var(--status-amber); background: rgba(196,130,58,0.15); }
    .severity-badge--minor    { color: var(--status-blue);  background: rgba(90,127,168,0.15); }
    .severity-badge--polish   { color: var(--text-secondary); background: var(--bg-tertiary); }
 
    .status-badge--open        { color: var(--status-blue);  background: rgba(90,127,168,0.15); }
    .status-badge--in-progress { color: var(--status-amber); background: rgba(196,130,58,0.15); }
    .status-badge--resolved    { color: var(--status-green); background: rgba(74,155,111,0.15); }
 
    /* ============================================================
       SCREEN 5 — TEAM
    ============================================================ */
    .team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
 
    .team-card {
      background: var(--bg-secondary); border: 1px solid var(--border);
      border-radius: var(--radius-card); padding: 24px;
    }
 
    .team-card-header { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
 
    .team-avatar-wrap { position: relative; flex-shrink: 0; }
 
    .team-avatar {
      width: 48px; height: 48px; border-radius: 50%;
      background: var(--bg-tertiary); border: 1px solid var(--border-bright);
      display: flex; align-items: center; justify-content: center;
      font-family: var(--font-mono); font-size: 13px; font-weight: 500;
      color: var(--text-secondary);
    }
 
    .team-status-dot {
      position: absolute; bottom: 1px; right: 1px;
      width: 11px; height: 11px; border-radius: 50%;
      border: 2px solid var(--bg-secondary);
    }
    .team-status-dot--active  { background: var(--status-green); }
    .team-status-dot--away    { background: var(--status-amber); }
    .team-status-dot--offline { background: var(--text-disabled); }
 
    .team-identity { flex: 1; }
    .team-member-name { font-size: 15px; font-weight: 600; color: var(--text-primary); }
    .team-member-role { font-size: 12px; color: var(--text-secondary); margin-top: 2px; }
 
    .team-status-label { font-family: var(--font-mono); font-size: 11px; margin-left: auto; flex-shrink: 0; }
    .team-status-label--active { color: var(--status-green); }
    .team-status-label--away   { color: var(--status-amber); }
 
    .team-card-body { display: flex; flex-direction: column; gap: 16px; }
 
    .team-section-label {
      font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em;
      text-transform: uppercase; color: var(--text-secondary); margin-bottom: 6px;
    }
 
    .team-assignment { display: flex; align-items: center; gap: 10px; }
    .team-assignment-title { font-size: 14px; font-weight: 500; color: var(--text-primary); }
 
    .team-workload-header {
      display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px;
    }
 
    .team-workload-value { font-family: var(--font-mono); font-size: 11px; color: var(--text-secondary); }
 
    .workload-bar { height: 4px; background: var(--border); border-radius: 2px; overflow: hidden; }
    .workload-bar-fill {
      height: 100%; background: var(--accent); border-radius: 2px;
      width: 0; transition: width 0.6s ease-out;
    }
 
    .team-focus-note {
      font-size: 13px; color: var(--text-secondary); font-style: italic;
      background: var(--bg-tertiary); border-left: 2px solid var(--border-bright);
      padding: 10px 14px; border-radius: 0 3px 3px 0; line-height: 1.5;
    }
 
    .team-last-active { font-family: var(--font-mono); font-size: 11px; color: var(--text-secondary); }
 
    /* ============================================================
       SCREEN 6 — SETTINGS
    ============================================================ */
    .settings-content { display: flex; flex-direction: column; gap: 24px; max-width: 760px; }
 
    .settings-section {
      background: var(--bg-secondary); border: 1px solid var(--border);
      border-radius: var(--radius-card); overflow: hidden;
    }
 
    .settings-section-title {
      font-size: 14px; font-weight: 600; color: var(--text-primary);
      padding: 18px 24px; border-bottom: 1px solid var(--border);
    }
 
    .settings-group { padding: 0 24px; }
 
    .settings-row {
      display: flex; align-items: center;
      justify-content: space-between; padding: 16px 0;
    }
 
    .settings-label { font-size: 13px; color: var(--text-secondary); }
    .settings-value { font-size: 13px; color: var(--text-primary); }
    .settings-value--mono { font-family: var(--font-mono); font-size: 12px; }
    .settings-value--enabled  { font-family: var(--font-mono); font-size: 12px; color: var(--status-green); }
    .settings-value--disabled { font-family: var(--font-mono); font-size: 12px; color: var(--text-disabled); }
 
    .settings-divider { height: 1px; background: var(--border); }
 
    /* ============================================================
       PROGRESS BAR ANIMATION — RE-TRIGGERS ON SCREEN SWITCH
    ============================================================ */
    @keyframes bar-in { from { width: 0 !important; } }