.m11-board-heading { align-items: center; }
.m11-context-line {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 7px;
    color: var(--dq-muted);
    font-size: 11px;
}
.m11-view-tabs {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0 0 10px;
    border-bottom: 1px solid var(--dq-line);
}
.m11-view-tabs a {
    position: relative;
    padding: 8px 10px 9px;
    color: #56636c;
    text-decoration: none;
    font-size: 10px;
    font-weight: 700;
}
.m11-view-tabs a:hover { color: var(--dq-text); background: #f8f9fa; }
.m11-view-tabs a.is-active { color: var(--dq-blue); }
.m11-view-tabs a.is-active::after {
    content: "";
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: -1px;
    height: 2px;
    background: var(--dq-blue);
}
.m11-board-toolbar {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
    padding: 7px 10px;
    border: 1px solid var(--dq-line);
    border-radius: 7px;
    background: #fff;
}
.m11-board-toolbar-stats { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.m11-board-toolbar-stats span {
    padding: 5px 8px;
    border-radius: 5px;
    color: #53606a;
    font-size: 10px;
}
.m11-board-toolbar-stats span + span { border-left: 1px solid var(--dq-line); border-radius: 0; }
.m11-board-toolbar-stats strong { color: var(--dq-text); }
.m11-board-toolbar-note { color: var(--dq-muted); font-size: 10px; }
.m11-board { display: grid; gap: 12px; }
.m11-board-group {
    --group-accent: var(--dq-green);
    overflow: hidden;
    border-left: 3px solid var(--group-accent);
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(11,10,11,.03);
}
.m11-board-group:nth-child(4n + 2) { --group-accent: #4d7ecb; }
.m11-board-group:nth-child(4n + 3) { --group-accent: #cf6c83; }
.m11-board-group:nth-child(4n + 4) { --group-accent: #8b6bc1; }
.m11-board-group.is-archived { --group-accent: #98a0a7; opacity: .82; }
.m11-group-header {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 7px 9px;
    border: 1px solid var(--dq-line);
    border-left: 0;
    background: #fff;
}
.m11-group-title { display: flex; align-items: center; gap: 7px; min-width: 0; }
.m11-group-title strong { color: var(--group-accent); font-size: 12px; }
.m11-group-title > span:last-child { color: var(--dq-muted); font-size: 9px; }
.m11-group-caret { width: 15px; color: var(--group-accent); font-size: 13px; }
.m11-group-actions { display: flex; align-items: center; gap: 5px; }
.m11-board-table-wrap { overflow-x: auto; border-right: 1px solid var(--dq-line); border-bottom: 1px solid var(--dq-line); background: #fff; }
.m11-board-table {
    width: 100%;
    min-width: 1030px;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
}
.m11-board-table th,
.m11-board-table td {
    height: 38px;
    padding: 0 7px;
    border-right: 1px solid #eef0f2;
    border-bottom: 1px solid #eef0f2;
    vertical-align: middle;
    text-align: left;
}
.m11-board-table th {
    height: 30px;
    background: #f7f8fa;
    color: #78828a;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .035em;
    text-transform: uppercase;
}
.m11-board-table th:first-child,
.m11-board-table td:first-child { border-left: 0; }
.m11-board-table tr:last-child td { border-bottom: 0; }
.m11-board-table tbody tr:hover { background: #fafbfd; }
.m11-board-table tbody tr.is-archived { color: #879097; background: #fbfbfc; }
.m11-task-name-col { width: 34%; }
.m11-board-table th:nth-child(2) { width: 16%; }
.m11-board-table th:nth-child(3) { width: 12%; }
.m11-board-table th:nth-child(4) { width: 12%; }
.m11-board-table th:nth-child(5) { width: 9%; }
.m11-board-table th:nth-child(6) { width: 9%; }
.m11-board-table th:nth-child(7) { width: 8%; }
.m11-task-name-cell { display: flex; align-items: center; gap: 6px; }
.m11-task-name-cell > div { min-width: 0; }
.m11-task-name-cell strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; font-weight: 650; }
.m11-task-name-cell small { display: block; margin-top: 1px; color: var(--dq-muted); font-size: 8px; }
.m11-row-handle { color: #c0c6cb; font-size: 9px; letter-spacing: -2px; }
.m11-person { display: flex; align-items: center; gap: 6px; min-width: 0; }
.m11-person > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 9px; }
.m11-person .avatar-chip { width: 22px; height: 22px; font-size: 8px; }
.m11-person.is-empty { color: var(--dq-muted); }
.m11-status-cell,
.m11-priority-cell,
.m11-assessment-cell {
    min-height: 27px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 6px;
    border-radius: 2px;
    font-size: 9px;
    font-weight: 750;
    text-align: center;
}
.m11-status-not_started { background: #b6bcc2; color: #fff; }
.m11-status-in_progress { background: #f1bb45; color: #3e331c; }
.m11-status-completed { background: #2b9c8d; color: #fff; }
.m11-priority-cell { background: #eef0f2; color: #5e6971; }
.m11-priority-cell.is-high { background: #e45b76; color: #fff; }
.m11-assessment-cell { background: #eef4fb; color: #315d94; }
.m11-assessment-cell.is-missing { background: #f0f1f2; color: #788188; }
.m11-progress-cell { display: grid; grid-template-columns: 1fr 32px; align-items: center; gap: 6px; }
.m11-progress-cell > span { height: 6px; overflow: hidden; border-radius: 3px; background: #e9ecef; }
.m11-progress-cell i { display: block; height: 100%; background: var(--dq-green); border-radius: inherit; }
.m11-progress-cell strong { color: #59656d; font-size: 8px; text-align: right; }
.m11-actions-cell { white-space: nowrap; }
.m11-empty-row td { height: 42px; color: var(--dq-muted); text-align: center; font-size: 9px; }
.m11-empty-row .table-action { margin-left: 6px; }
.m11-control-section { margin-top: 24px; scroll-margin-top: 62px; }
.m11-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 9px; }
.m11-section-heading h2 { margin: 2px 0 0; font-size: 16px; }
.m11-secondary-table-section { margin-top: 24px; scroll-margin-top: 62px; }
#audit { scroll-margin-top: 62px; }

@media (max-width: 900px) {
    .m11-board-toolbar,
    .m11-section-heading { align-items: flex-start; flex-direction: column; }
    .m11-board-toolbar-note { padding-left: 8px; }
    .m11-view-tabs { overflow-x: auto; }
    .m11-view-tabs a { white-space: nowrap; }
}
