.team-board {
  --ink: #202d2a;
  --muted: #73807c;
  --line: #e6ece9;
  --green: #23775d;
  --green-soft: #e9f4ee;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
  background: #f8faf9;
  min-height: 100vh;
  text-align: left;
  color-scheme: light;
}
.team-board *, .team-board *::before, .team-board *::after { box-sizing: border-box; }
.team-board h1, .team-board h2, .team-board p { margin: 0; }
.team-board button, .team-board input, .team-board textarea, .team-board select { font: inherit; }
.team-board button { cursor: pointer; border: 0; color: inherit; background: transparent; }
.team-board button:disabled { cursor: not-allowed; opacity: .5; }
.team-board button:focus-visible, .team-board input:focus-visible, .team-board textarea:focus-visible, .team-board select:focus-visible { outline: 3px solid #53a487; outline-offset: 3px; }
.team-board input, .team-board textarea, .team-board select { min-width: 0; border: 1px solid #dbe4df; border-radius: 8px; color: var(--ink); background: white; padding: 11px 12px; }
.team-board input::placeholder, .team-board textarea::placeholder { color: #8b9792; }
.team-board textarea { resize: vertical; }
.team-board fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.team-board label { display: block; font-size: 13px; font-weight: 600; margin: 18px 0 7px; }
.team-board .eyebrow { color: var(--muted); letter-spacing: 1.4px; font-size: 10px; font-weight: 700; }
.team-board .primary-button, .team-board .secondary-button, .team-board .danger-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 17px; border-radius: 8px; font-weight: 600; font-size: 13px; transition: background .15s; }
.team-board .primary-button { background: var(--green); color: white; box-shadow: 0 3px 7px #23775d12; }
.team-board .primary-button:hover:not(:disabled) { background: #1b634c; }
.team-board .secondary-button { border: 1px solid #dce5df; background: white; }
.team-board .secondary-button:hover:not(:disabled) { background: #f2f6f4; }
.team-board .text-button { padding: 4px 5px; color: var(--green); font-weight: 600; font-size: 13px; }
.team-board .text-button:hover:not(:disabled) { text-decoration: underline; }
.team-board .icon-button { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 32px; height: 32px; border-radius: 7px; color: var(--muted); font-size: 20px; }
.team-board .icon-button:hover:not(:disabled) { color: var(--green); background: var(--green-soft); }
.team-board .board-brand { display: flex; align-items: center; gap: 10px; font-size: 25px; font-weight: 750; letter-spacing: -1px; }
.team-board .brand-dot { color: var(--green); }
.team-board .brand-symbol { display: flex; align-items: flex-start; gap: 3px; width: 31px; height: 30px; padding: 6px; border-radius: 8px; background: var(--green); }
.team-board .brand-symbol i { width: 5px; height: 18px; border-radius: 2px; background: white; }
.team-board .brand-symbol i:nth-child(2) { height: 12px; opacity: .9; }
.team-board .brand-symbol i:nth-child(3) { height: 15px; opacity: .7; }
.team-board .workspace { display: flex; min-height: 100vh; }
.team-board .board-sidebar { width: 230px; flex-shrink: 0; background: white; border-right: 1px solid var(--line); padding: 30px 20px 20px; display: flex; flex-direction: column; }
.team-board .board-sidebar .board-brand { padding: 0 8px; }
.team-board .workspace-label { display: flex; align-items: center; gap: 10px; padding: 17px 6px; margin-top: 34px; margin-bottom: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.team-board .workspace-avatar { background: #eef2ef; color: #536b5e; border-radius: 9px; width: 35px; height: 35px; display: grid; place-items: center; font-size: 11px; font-weight: 700; flex-shrink: 0; }
.team-board .workspace-label strong { display: block; font-size: 12px; }
.team-board .workspace-label small { display: block; color: var(--muted); font-size: 10px; margin-top: 2px; }
.team-board .sidebar-caption { color: #87928d; font-size: 10px; letter-spacing: 1.3px; padding: 0 12px; margin-bottom: 12px; }
.team-board .sidebar-link { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px; border-radius: 8px; font-weight: 600; font-size: 13px; }
.team-board .sidebar-link.active { background: var(--green-soft); color: var(--green); }
.team-board .sidebar-link span { margin-left: auto; font-size: 11px; background: #d8eadf; padding: 1px 6px; border-radius: 4px; }
.team-board .sidebar-tip { margin-top: auto; padding: 20px 15px; background: #f6f9f7; border: 1px solid var(--line); border-radius: 10px; }
.team-board .tip-icon { display: grid; place-items: center; width: 29px; height: 29px; background: #dfefe5; border-radius: 9px; color: var(--green); margin-bottom: 12px; }
.team-board .sidebar-tip strong { font-size: 12px; }
.team-board .sidebar-tip p { font-size: 11px; color: var(--muted); margin-top: 6px; line-height: 1.7; }
.team-board .sidebar-bottom { display: flex; align-items: center; gap: 8px; padding: 22px 6px 0; font-size: 10px; color: var(--muted); }
.team-board .sidebar-bottom svg { width: 13px; }
.team-board .board-main { min-width: 0; flex: 1; }
.team-board .topbar { height: 76px; background: white; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 38px; }
.team-board .breadcrumb { color: var(--muted); font-size: 12px; }
.team-board .breadcrumb span { margin: 0 12px; color: #b0bab4; }
.team-board .breadcrumb strong { color: var(--ink); font-weight: 500; }
.team-board .board-content { padding: 34px 38px 20px; max-width: 1800px; margin: 0 auto; }
.team-board .page-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 26px; }
.team-board .page-heading h1 { font-size: 34px; font-weight: 700; letter-spacing: -1.3px; margin: 5px 0; }
.team-board .heading-dot { color: var(--green); }
.team-board .page-heading p { color: var(--muted); font-size: 13px; }
.team-board .task-summary { display: flex; align-items: center; background: white; border: 1px solid var(--line); border-radius: 12px; padding: 20px 6px; margin-bottom: 28px; }
.team-board .summary-item { display: flex; align-items: center; gap: 12px; flex: 1; padding: 0 22px; border-right: 1px solid var(--line); }
.team-board .summary-icon { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 10px; flex-shrink: 0; }
.team-board .summary-icon.total { color: var(--green); background: #edf4ef; }
.team-board .summary-icon.todo { color: #647a99; background: #eef2f7; }
.team-board .summary-icon.doing { color: #b88829; background: #fff7e5; }
.team-board .summary-icon.done { color: #378869; background: #eaf5ee; }
.team-board .summary-item div > span { color: var(--muted); font-size: 11px; white-space: nowrap; display: block; }
.team-board .summary-item strong { font-size: 24px; line-height: 1.2; font-weight: 650; display: block; margin-top: 5px; }
.team-board .progress-summary { width: 180px; padding: 0 22px; }
.team-board .progress-summary div { display: flex; justify-content: space-between; gap: 10px; font-size: 10px; color: var(--muted); margin-bottom: 10px; }
.team-board .progress-summary strong { color: var(--green); }
.team-board progress { width: 100%; height: 5px; border: 0; border-radius: 20px; display: block; overflow: hidden; background: #edf2ee; accent-color: #438e6b; }
.team-board progress::-webkit-progress-bar { background: #edf2ee; border-radius: 20px; }
.team-board progress::-webkit-progress-value { background: #438e6b; border-radius: 20px; }
.team-board progress::-moz-progress-bar { background: #438e6b; }
.team-board .view-toolbar { display: flex; justify-content: space-between; gap: 18px; align-items: center; flex-wrap: wrap; }
.team-board .view-tabs { display: flex; background: #edf1ee; padding: 4px; border-radius: 9px; gap: 2px; }
.team-board .view-tabs button { display: flex; align-items: center; gap: 7px; padding: 8px 13px; color: var(--muted); font-size: 12px; border-radius: 6px; }
.team-board .view-tabs button.selected { background: white; color: var(--green); font-weight: 600; box-shadow: 0 1px 4px #263c2010; }
.team-board .view-tabs svg { width: 15px; height: 15px; }
.team-board .board-filters { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.team-board .board-filters select { font-size: 11px; padding: 9px 10px; max-width: 160px; }
.team-board .search-field { display: flex; align-items: center; gap: 7px; background: white; border: 1px solid #dbe4df; border-radius: 8px; padding-left: 11px; color: #89958f; }
.team-board .search-field input { width: 175px; border: 0; padding: 9px 8px; font-size: 11px; background: transparent; }
.team-board .search-field svg { width: 15px; }
.team-board .board-meta { display: flex; justify-content: space-between; gap: 15px; color: var(--muted); font-size: 10px; padding: 19px 0 14px; }
.team-board .kanban-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
.team-board .kanban-column { padding: 12px; background: #eff3f1; border: 1px solid #e7ece9; border-radius: 12px; min-height: 350px; transition: background .15s, border-color .15s; }
.team-board .kanban-column.drop-target { background: #e1eee5; border-color: #56987b; }
.team-board .column-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 3px 12px; }
.team-board .column-heading h2, .team-board .list-group h2 { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 650; }
.team-board .status-dot { width: 7px; height: 7px; display: inline-block; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.team-board .dot-todo { background: #8598b1; }
.team-board .dot-doing { background: #d0a049; }
.team-board .dot-done { background: #5a9e79; }
.team-board .column-count { font-size: 10px; font-weight: 500; color: #78867c; background: #e3eae5; padding: 1px 6px; border-radius: 5px; }
.team-board .column-tasks { display: flex; flex-direction: column; gap: 10px; }
.team-board .task-card { padding: 16px; background: white; border: 1px solid #e2e8e4; border-radius: 9px; box-shadow: 0 2px 3px #233d2c04; }
.team-board .task-card:hover { border-color: #c6d6cd; }
.team-board .task-card.dragging { opacity: .5; }
.team-board .task-title { display: block; width: 100%; text-align: left; font-size: 13px; font-weight: 650; line-height: 1.55; padding: 0; overflow-wrap: anywhere; }
.team-board .task-title:hover:not(:disabled) { color: var(--green); }
.team-board .task-tags { display: flex; gap: 5px; flex-wrap: wrap; }
.team-board .task-card > .task-tags:not(:empty) { margin-bottom: 12px; }
.team-board .task-tag { display: inline-flex; align-items: center; gap: 6px; border-radius: 4px; padding: 3px 7px; font-weight: 600; font-size: 9px; line-height: 1.5; overflow-wrap: anywhere; max-width: 100%; }
.team-board .tag-green { color: #286a43; background: #e0f0e2; }
.team-board .tag-blue { color: #345f96; background: #e7effb; }
.team-board .tag-purple { color: #6d4d9a; background: #f0e8f9; }
.team-board .tag-orange { color: #8d601d; background: #fff0d6; }
.team-board .tag-pink { color: #97557b; background: #fbe7f2; }
.team-board .tag-red { color: #a84b4b; background: #fbe6e5; }
.team-board .task-description { color: var(--muted); font-size: 11px; margin-top: 8px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.team-board .task-card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding-top: 12px; border-top: 1px solid #f0f3f1; gap: 8px; }
.team-board .status-select { border: 0; font-size: 10px; font-weight: 550; padding: 5px 8px; width: 113px; border-radius: 5px; }
.team-board .status-todo { color: #506781; background: #eef2f7; }
.team-board .status-doing { color: #956f22; background: #fff4da; }
.team-board .status-done { color: #35724f; background: #e9f4eb; }
.team-board .status-select option { background: white; color: var(--ink); }
.team-board .task-open { width: 25px; height: 25px; font-size: 17px; }
.team-board .column-empty { color: #829088; font-size: 11px; text-align: center; padding: 50px 12px; border: 1px dashed #d9e2dc; border-radius: 8px; }
.team-board .add-column-task { display: flex; gap: 8px; align-items: center; width: 100%; padding: 13px 5px 3px; color: #6d8174; font-size: 11px; }
.team-board .add-column-task:hover:not(:disabled) { color: var(--green); }
.team-board .add-column-task svg { width: 14px; }
.team-board .task-table-wrap { border: 1px solid var(--line); border-radius: 10px; background: white; overflow: auto; }
.team-board .task-table { width: 100%; border-collapse: collapse; min-width: 650px; }
.team-board .task-table th { background: #f3f6f4; text-align: left; font-size: 11px; font-weight: 600; color: #718177; padding: 13px 16px; }
.team-board .task-table td { border-top: 1px solid var(--line); padding: 17px 16px; vertical-align: middle; }
.team-board .task-table td:first-child { width: 43%; }
.team-board .table-description { font-size: 11px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 390px; margin-top: 4px; }
.team-board .table-date { color: var(--muted); font-size: 11px; white-space: nowrap; }
.team-board .muted { color: var(--muted); }
.team-board .table-empty { text-align: center; color: var(--muted); padding: 35px; font-size: 12px; }
.team-board .task-list { display: flex; flex-direction: column; gap: 24px; }
.team-board .list-group { background: white; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.team-board .list-group h2 { background: #f1f5f2; padding: 13px 18px; }
.team-board .list-task { display: flex; align-items: center; gap: 15px; padding: 18px; border-top: 1px solid var(--line); }
.team-board .list-task-info { flex: 1; min-width: 0; }
.team-board .list-task-info .table-description { max-width: 100%; }
.team-board .list-task-info .task-tags:not(:empty) { margin-top: 8px; }
.team-board .completion-button { width: 22px; height: 22px; border: 1.5px solid #cfdbd2; border-radius: 6px; padding: 1px; color: transparent; flex-shrink: 0; }
.team-board .completion-button:hover:not(:disabled) { color: var(--green); border-color: var(--green); }
.team-board .completion-button.completed { color: white; background: var(--green); border-color: var(--green); }
.team-board .list-empty { padding: 18px; font-size: 11px; color: var(--muted); }
.team-board .board-footer { display: flex; justify-content: space-between; gap: 15px; color: #849189; font-size: 10px; margin-top: 30px; padding-top: 16px; border-top: 1px solid var(--line); }
.team-board .board-footer span:first-child { font-weight: 600; }
.team-board .board-empty { padding: 65px 20px; text-align: center; background: white; border: 1px dashed #d8e2db; border-radius: 12px; }
.team-board .board-empty h2 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.team-board .board-empty p { color: var(--muted); font-size: 12px; margin-bottom: 18px; }
.team-board .empty-symbol { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--green-soft); color: var(--green); margin-bottom: 15px; }
.team-board .welcome-note { display: flex; align-items: center; gap: 14px; background: white; padding: 17px 20px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 18px; }
.team-board .welcome-note strong { font-size: 12px; }
.team-board .welcome-note p { font-size: 11px; color: var(--muted); margin-top: 3px; }
.team-board .error-message, .team-board .error-banner { color: #973c3c; background: #fff0ef; border: 1px solid #f2d5d2; border-radius: 8px; padding: 11px 14px; font-size: 12px; margin: 15px 0; overflow-wrap: anywhere; }
.team-board .error-banner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.team-board .info-message { background: var(--green-soft); color: var(--green); font-size: 12px; padding: 12px; border-radius: 8px; margin: 15px 0 24px; }
.team-board .task-dialog { width: min(570px, calc(100% - 30px)); max-height: 90vh; border: 1px solid var(--line); border-radius: 16px; background: white; color: var(--ink); padding: 27px; margin: auto; overflow: auto; box-shadow: 0 20px 80px #18372a30; }
.team-board .task-dialog::backdrop { background: #1c302a70; backdrop-filter: blur(3px); }
.team-board .dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.team-board .dialog-heading h2 { font-size: 24px; font-weight: 650; letter-spacing: -.5px; margin-top: 5px; }
.team-board .task-dialog fieldset > input, .team-board .task-dialog textarea, .team-board .task-dialog select { width: 100%; display: block; }
.team-board .required { color: var(--green); }
.team-board .field-hint { float: right; font-size: 11px; color: var(--muted); font-weight: 400; }
.team-board .tag-input { display: flex; gap: 8px; }
.team-board .tag-input input { flex: 1; width: 0; }
.team-board .tag-input button { width: 42px; font-size: 20px; padding: 4px; }
.team-board .color-picker { display: flex; gap: 9px; margin-top: 12px; }
.team-board .color-swatch { width: 24px; height: 24px; border-radius: 50%; border: 2px solid white; color: white; font-size: 12px; padding: 0; box-shadow: 0 0 0 1px transparent; }
.team-board .color-swatch.selected { box-shadow: 0 0 0 1px #708a79; }
.team-board .swatch-green { background: #4e995a; }
.team-board .swatch-blue { background: #6288bb; }
.team-board .swatch-purple { background: #9474b9; }
.team-board .swatch-orange { background: #bf8a3d; }
.team-board .swatch-pink { background: #be789f; }
.team-board .swatch-red { background: #c26d69; }
.team-board .editable-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 15px; }
.team-board .editable-tags .task-tag { font-size: 11px; }
.team-board .editable-tags button { font-size: 16px; padding: 0 1px; line-height: 1; }
.team-board .dialog-footer { display: flex; justify-content: space-between; gap: 12px; align-items: center; border-top: 1px solid var(--line); margin-top: 25px; padding-top: 20px; }
.team-board .dialog-actions { margin-left: auto; display: flex; gap: 8px; }
.team-board .danger-text { color: #a24444; }
.team-board .danger-button { color: white; background: #a24444; }
.team-board .delete-confirm { padding: 12px; border-radius: 8px; background: #fff2ef; font-size: 12px; margin-top: 15px; }
.team-board .delete-confirm p { margin-bottom: 10px; }
.team-board .delete-confirm button + button { margin-left: 8px; }
.team-board .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (min-width: 1600px) {
  .team-board .kanban-column { min-height: 480px; }
  .team-board .task-card { padding: 20px; }
}
@media (max-width: 1200px) {
  .team-board .board-sidebar { width: 205px; padding-left: 14px; padding-right: 14px; }
  .team-board .board-content { padding: 28px 25px 20px; }
  .team-board .topbar { padding: 0 25px; }
  .team-board .summary-item { padding: 0 14px; gap: 8px; }
  .team-board .progress-summary { width: 150px; padding: 0 14px; }
  .team-board .summary-icon { width: 30px; height: 30px; }
  .team-board .kanban-board { gap: 12px; }
  .team-board .kanban-column { padding: 9px; }
  .team-board .task-card { padding: 13px; }
}
@media (max-width: 960px) {
  .team-board .board-sidebar { display: none; }
  .team-board .task-summary { padding: 17px 6px; }
}
@media (max-width: 650px) {
  .team-board .topbar { height: 63px; padding: 0 18px; }
  .team-board .breadcrumb { font-size: 11px; }
  .team-board .breadcrumb span { margin: 0 7px; }
  .team-board .topbar > .secondary-button { padding: 8px 10px; font-size: 11px; white-space: nowrap; }
  .team-board .board-content { padding: 25px 16px 18px; }
  .team-board .page-heading { align-items: flex-start; gap: 10px; }
  .team-board .page-heading .eyebrow { font-size: 8px; letter-spacing: .9px; }
  .team-board .page-heading h1 { font-size: 29px; }
  .team-board .page-heading p { font-size: 11px; }
  .team-board .page-heading > .primary-button { padding: 10px 12px; font-size: 11px; white-space: nowrap; margin-top: 21px; }
  .team-board .page-heading .primary-button svg { width: 13px; }
  .team-board .task-summary { flex-wrap: wrap; padding: 0; margin-bottom: 22px; }
  .team-board .summary-item { flex: 0 0 50%; padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .team-board .summary-item:nth-child(even) { border-right: 0; }
  .team-board .summary-item strong { font-size: 22px; }
  .team-board .progress-summary { width: 100%; padding: 14px 16px; }
  .team-board .progress-summary div { margin-bottom: 6px; }
  .team-board .view-toolbar { gap: 13px; }
  .team-board .view-tabs { width: 100%; }
  .team-board .view-tabs button { flex: 1; justify-content: center; }
  .team-board .board-filters { width: 100%; }
  .team-board .search-field { width: 100%; }
  .team-board .search-field input { width: 100%; }
  .team-board .board-filters select { flex: 1; max-width: 100%; }
  .team-board .board-meta { font-size: 9px; }
  .team-board .board-meta span:last-child { max-width: 210px; text-align: right; }
  .team-board .kanban-board { grid-template-columns: 1fr; gap: 17px; }
  .team-board .kanban-column { min-height: 180px; padding: 12px; }
  .team-board .task-card { padding: 16px; }
  .team-board .column-empty { padding: 24px 10px; }
  .team-board .list-task { gap: 10px; padding: 14px 12px; flex-wrap: wrap; }
  .team-board .list-task-info { flex-basis: calc(100% - 36px); }
  .team-board .list-task > .status-select { margin-left: 32px; }
  .team-board .list-task > .icon-button { margin-left: auto; }
  .team-board .board-footer { font-size: 9px; }
  .team-board .board-footer span:last-child { text-align: right; }
  .team-board .task-dialog { padding: 22px 18px; max-height: 94vh; }
  .team-board .dialog-heading h2 { font-size: 21px; }
  .team-board .dialog-footer { flex-wrap: wrap; }
  .team-board .dialog-actions { margin-left: auto; }
  .team-board .dialog-actions button { padding: 10px 12px; font-size: 12px; }
  .team-board .error-banner { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .team-board * { transition: none !important; }
}
/* Standalone entry only; the federated app keeps its styles scoped to .team-board. */
body {
  margin: 0;
  min-width: 320px;
}

#root {
  min-height: 100vh;
}
/*$vite$:1*/