﻿:root {
    --sv2-bg: #f3f6f8;
    --sv2-panel: #ffffff;
    --sv2-line: #d6e0ea;
    --sv2-soft-line: #e8eef4;
    --sv2-text: #172233;
    --sv2-muted: #627185;
    --sv2-resource: 250px;
    --sv2-active-day: 190px;
    --sv2-empty-day: 72px;
    --sv2-head-height: 38px;
    color-scheme: light;
    scrollbar-gutter: stable;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    background: var(--sv2-bg);
    color: var(--sv2-text);
    font: 14px/1.35 Arial, Helvetica, sans-serif;
}

button,
input,
select {
    font: inherit;
}

button,
a,
input,
select {
    touch-action: manipulation;
}

svg {
    display: block;
    fill: currentColor;
}

.sv2-sr-only {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.sv2-page {
    margin: 0 auto;
    max-width: 1780px;
    min-width: 0;
    padding: 14px clamp(12px, 2vw, 26px) 34px;
    width: 100%;
}

.sv2-topbar {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-bottom: 10px;
}

.sv2-brand {
    display: grid;
    gap: 1px;
    min-width: 0;
}

.sv2-brand b {
    font-size: 17px;
    line-height: 1.15;
}

.sv2-brand span {
    color: var(--sv2-muted);
    font-size: 12px;
}

.sv2-nav {
    display: flex;
    gap: 8px;
    white-space: nowrap;
}

.sv2-nav a,
.sv2-today {
    align-items: center;
    background: var(--sv2-panel);
    border: 1px solid #c8d4df;
    border-radius: 7px;
    color: #213145;
    display: inline-flex;
    font-weight: 700;
    justify-content: center;
    text-decoration: none;
}

.sv2-nav a {
    height: 34px;
    padding: 0 11px;
}

.sv2-toolbar {
    align-items: start;
    background: #f8fafc;
    border: 1px solid var(--sv2-line);
    border-radius: 9px;
    display: grid;
    gap: 8px 12px;
    grid-template-columns: minmax(430px, auto) minmax(260px, 1fr);
    margin-bottom: 10px;
    min-width: 0;
    padding: 8px 10px;
}

.sv2-controls {
    align-items: start;
    display: flex;
    gap: 12px;
    min-width: 0;
}

.sv2-filter-block {
    display: grid;
    gap: 5px;
    flex: 0 1 320px;
    min-width: 0;
}

.sv2-city select,
.sv2-date-field input,
.sv2-place-button,
.sv2-place-search input {
    background: var(--sv2-panel);
    border: 1px solid #c8d4df;
    border-radius: 7px;
    color: var(--sv2-text);
    height: 34px;
    min-width: 0;
    width: 100%;
}

.sv2-city select {
    padding: 0 9px;
}

.sv2-inline-empty {
    align-items: center;
    color: var(--sv2-muted);
    display: flex;
    font-size: 12px;
    min-height: 34px;
}

.sv2-place-picker {
    min-width: 0;
    position: relative;
}

.sv2-place-button {
    align-items: center;
    cursor: pointer;
    display: grid;
    gap: 0 7px;
    grid-template-columns: 18px minmax(0, 1fr);
    padding: 4px 9px;
    text-align: left;
}

.sv2-place-button svg {
    color: #446179;
    grid-row: 1 / span 2;
    width: 17px;
}

.sv2-place-button span {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.05;
}

.sv2-place-button small {
    color: var(--sv2-muted);
    font-size: 10px;
    line-height: 1.05;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sv2-place-panel {
    background: var(--sv2-panel);
    border: 1px solid #c8d4df;
    border-radius: 9px;
    box-shadow: 0 16px 34px rgba(17, 29, 44, .22);
    left: 0;
    min-width: min(440px, calc(100vw - 28px));
    padding: 10px;
    position: absolute;
    top: calc(100% + 6px);
    z-index: 100;
}

.sv2-place-search input {
    padding: 0 9px;
}

.sv2-place-actions,
.sv2-place-footer {
    align-items: center;
    display: flex;
    gap: 8px;
    justify-content: space-between;
    margin-top: 8px;
}

.sv2-place-actions button {
    background: transparent;
    border: 0;
    color: #246176;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    padding: 4px 0;
}

.sv2-place-list {
    border-bottom: 1px solid var(--sv2-soft-line);
    border-top: 1px solid var(--sv2-soft-line);
    display: grid;
    gap: 2px;
    margin-top: 8px;
    max-height: 278px;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 6px 0;
}

.sv2-place-option {
    align-items: center;
    border-radius: 7px;
    color: #25364b;
    cursor: pointer;
    display: flex;
    gap: 8px;
    margin: 0;
    min-height: 32px;
    padding: 5px 8px;
}

.sv2-place-option:hover {
    background: #f1f5f8;
}

.sv2-place-option.is-selected {
    background: #e7f3ef;
}

.sv2-place-option.is-hidden {
    display: none;
}

.sv2-place-option input {
    flex: 0 0 auto;
    height: 15px;
    margin: 0;
    width: 15px;
}

.sv2-place-footer span {
    color: var(--sv2-muted);
    font-size: 13px;
}

.sv2-place-footer button {
    background: #213145;
    border: 0;
    border-radius: 7px;
    color: #fff;
    cursor: pointer;
    font-weight: 700;
    min-height: 34px;
    padding: 0 12px;
}

.sv2-date-block {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    gap: 5px;
}

.sv2-date-field {
    flex: 0 0 auto;
    margin: 0;
    position: relative;
    width: 156px;
}

.sv2-date-field svg {
    color: #4e6278;
    left: 8px;
    pointer-events: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 17px;
}

.sv2-date-field input {
    padding: 0 7px 0 31px;
}

.sv2-today {
    flex: 0 0 auto;
    font-size: 13px;
    height: 34px;
    padding: 0 10px;
    width: 100%;
}

.sv2-kpi {
    align-items: center;
    color: var(--sv2-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 4px 9px;
    justify-content: flex-end;
    min-width: 0;
    padding-top: 2px;
}

.sv2-kpi span {
    font-size: 11px;
    white-space: nowrap;
}

.sv2-kpi b {
    color: var(--sv2-text);
    font-size: 13px;
}

.sv2-alert,
.sv2-empty {
    background: #fff8e5;
    border: 1px solid #edcf7b;
    border-radius: 9px;
    color: #594512;
    margin: 10px 0;
    padding: 11px 13px;
}

.sv2-empty {
    background: #f8fafc;
    border-color: var(--sv2-line);
    color: var(--sv2-muted);
}

.sv2-board-shell {
    position: relative;
}

.sv2-board {
    background: var(--sv2-panel);
    border: 1px solid var(--sv2-line);
    border-radius: 9px;
    overflow: visible;
    width: 100%;
}

.sv2-head-scroll {
    background: var(--sv2-panel);
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    position: sticky;
    scrollbar-width: none;
    top: 0;
    z-index: 70;
}

.sv2-head-scroll::-webkit-scrollbar {
    display: none;
}

.sv2-scroll {
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    position: relative;
    width: 100%;
}

.sv2-grid {
    display: grid;
    grid-template-columns: var(--sv2-grid-columns);
    min-width: var(--sv2-grid-min-width);
    width: 100%;
}

.sv2-grid-head {
    position: relative;
    z-index: 40;
}

.sv2-resource-head,
.sv2-day-head,
.sv2-resource,
.sv2-day {
    border-right: 1px solid var(--sv2-line);
    min-width: 0;
}

.sv2-resource-head,
.sv2-day-head {
    align-items: center;
    background: #edf3f7;
    border-bottom: 1px solid var(--sv2-line);
    color: #24364c;
    display: flex;
    min-height: var(--sv2-head-height);
}

.sv2-resource-head {
    font-weight: 700;
    left: 0;
    padding: 0 12px;
    position: sticky;
    z-index: 50;
}

.sv2-day-head {
    gap: 4px;
    justify-content: center;
    line-height: 1;
    padding: 0 7px;
    text-decoration: none;
}

.sv2-day-head.is-month-start {
    background: #e7f1f5;
    justify-content: flex-start;
}

.sv2-day-head b {
    color: #162235;
    font-size: 16px;
}

.sv2-day-head.is-month-start b {
    font-size: 20px;
    line-height: 1.08;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sv2-day-head span {
    color: #5f7083;
    font-size: 12px;
    font-weight: 700;
}

.sv2-day-head.is-weekend {
    background: #fff3ef;
}

.sv2-day-head.is-today {
    background: #fff1bd;
    box-shadow: inset 0 -3px 0 #d39b00;
}

.sv2-day-head.has-events {
    color: #14243a;
}

.sv2-row {
    border-bottom: 1px solid var(--sv2-soft-line);
}

.sv2-place + .sv2-place .sv2-row.is-place-start {
    border-top: 3px solid #aebdcb;
}

.sv2-resource {
    background: #fff;
    border-left: 6px solid var(--group-color, #d9e4ed);
    box-shadow: 6px 0 12px rgba(23, 34, 51, .08);
    display: grid;
    gap: 3px;
    left: 0;
    min-height: 42px;
    padding: 8px 10px;
    position: sticky;
    z-index: 20;
}

.sv2-resource .sv2-place-label {
    color: #1f5f8f;
    display: block;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.16;
    margin-bottom: 3px;
    overflow-wrap: anywhere;
}

.sv2-resource b {
    color: #172233;
    font-size: 13px;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.sv2-resource span,
.sv2-resource small {
    color: #647489;
    font-size: 11px;
    line-height: 1.18;
    overflow-wrap: anywhere;
}

.sv2-day {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-height: 42px;
    padding: 3px;
}

.sv2-day.has-events {
    background: #fbfcfd;
}

.sv2-day.is-weekend {
    background: #fffaf8;
}

.sv2-day.is-today,
.sv2-day.is-today.has-events {
    background: #fff7d7;
    box-shadow: inset 0 0 0 1px rgba(211, 155, 0, .18);
}

.sv2-card {
    background: #fff;
    border: 1px solid #aebdcb;
    border-left: 3px solid #337f67;
    border-radius: 5px;
    box-shadow: none;
    color: #172233;
    cursor: pointer;
    display: grid;
    gap: 4px;
    grid-template-columns: minmax(0, 1fr);
    margin: 0;
    min-height: 82px;
    padding: 5px;
    text-align: left;
    width: 100%;
}

.sv2-card:hover {
    border-color: #337f67;
    box-shadow: 0 1px 4px rgba(17, 29, 44, .14);
}

.sv2-card.is-empty {
    border-left-color: #8b98a7;
}

.sv2-card.is-past {
    background: #f8fafb;
}

.sv2-card.is-today {
    border-color: #d39b00;
    border-left-color: #d39b00;
}

.sv2-card.is-active {
    box-shadow: 0 0 0 3px rgba(45, 103, 134, .2);
}

.sv2-card-time {
    align-items: baseline;
    display: flex;
    gap: 6px;
    min-width: 0;
}

.sv2-card-time span:first-child {
    color: #3d4d61;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.sv2-load {
    background: #e6edf3;
    border-radius: 999px;
    display: inline-block;
    flex: 1 1 auto;
    height: 5px;
    min-width: 32px;
    overflow: hidden;
}

.sv2-load i {
    background: #338766;
    display: block;
    height: 100%;
    width: var(--load);
}

.sv2-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    justify-content: flex-start;
}

.sv2-metric {
    align-items: center;
    border-radius: 6px;
    display: inline-flex;
    gap: 2px;
    min-height: 20px;
    padding: 1px 5px 1px 4px;
}

.sv2-metric svg {
    width: 13px;
}

.sv2-metric b {
    font-size: 13px;
    line-height: 1;
}

.sv2-metric-buy { background: #e8f1fa; color: #244d73; }
.sv2-metric-trial { background: #e8f6ec; color: #28623e; }
.sv2-metric-came { background: #eef7eb; color: #3f6d2c; }
.sv2-metric-miss { background: #faeceb; color: #8a3830; }
.sv2-metric-trial-miss { background: #f4eafa; color: #6d3f8f; }
.sv2-metric-freeze { background: #edf3fb; color: #365f89; }

.sv2-trainers {
    display: grid;
    gap: 2px;
}

.sv2-trainer {
    align-items: center;
    border-radius: 4px;
    color: #213044;
    display: grid;
    gap: 3px;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 21px;
    padding: 2px 5px;
}

.sv2-trainer span {
    font-size: 12px;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sv2-trainer em {
    color: #28384b;
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
    white-space: nowrap;
}

.sv2-trainer--neutral { background: #eef1f4; border: 1px solid #cbd3dc; border-left: 6px solid #a6adb5; }
.sv2-trainer--success { background: #e3f3e9; border: 1px solid #c7e4d2; border-left: 6px solid #2f8f4e; }
.sv2-trainer--danger { background: #fae7e5; border: 1px solid #efc9c4; border-left: 6px solid #d33f32; }
.sv2-trainer--warning { background: #fff1d9; border: 1px solid #f1d79e; border-left: 6px solid #d37a00; }
.sv2-trainer--planned { background: #e7eef9; border: 1px solid #cbd9ed; border-left: 6px solid #244f9a; }
.sv2-trainer--done { background: #e5e7eb; border: 1px solid #cdd3dc; border-left: 6px solid #30343b; }

.sv2-trainer-empty {
    color: #667386;
    font-size: 11px;
    min-height: 23px;
    padding: 3px 6px;
}

.sv2-legend {
    align-items: center;
    color: #53657a;
    display: grid;
    gap: 5px;
    margin: 9px 0 0;
    min-width: 0;
}

.sv2-legend-row {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    min-width: 0;
}

.sv2-legend-row > b {
    color: #2a394d;
    font-size: 12px;
    margin-right: 2px;
    white-space: nowrap;
}

.sv2-legend-status {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: 11px;
    gap: 5px;
    min-height: 22px;
    padding: 2px 8px;
    white-space: nowrap;
}

.sv2-legend-status i {
    background: currentColor;
    border-radius: 50%;
    display: block;
    height: 6px;
    opacity: .75;
    width: 6px;
}

.sv2-modal[hidden] {
    display: none;
}

.sv2-modal {
    inset: 0;
    position: fixed;
    z-index: 200;
}

.sv2-modal-backdrop {
    background: rgba(13, 20, 31, .44);
    border: 0;
    cursor: default;
    inset: 0;
    margin: 0;
    padding: 0;
    position: absolute;
    width: 100%;
}

.sv2-modal-dialog {
    background: #fff;
    border-radius: 9px;
    box-shadow: 0 24px 55px rgba(13, 20, 31, .3);
    max-height: calc(100vh - 48px);
    max-width: min(1040px, calc(100vw - 32px));
    overflow-y: auto;
    padding: 20px;
    position: absolute;
    right: 24px;
    top: 24px;
    width: 980px;
}

.sv2-modal-close {
    align-items: center;
    background: #f2f5f8;
    border: 1px solid #d7e0e8;
    border-radius: 7px;
    color: #344255;
    cursor: pointer;
    display: inline-flex;
    font-size: 24px;
    height: 34px;
    justify-content: center;
    line-height: 1;
    padding: 0;
    position: absolute;
    right: 12px;
    top: 12px;
    width: 34px;
}

.sv2-modal h2 {
    font-size: 20px;
    line-height: 1.25;
    margin: 0;
}

.sv2-modal p {
    color: var(--sv2-muted);
    font-size: 13px;
    margin: 0;
}

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

.sv2-detail-header {
    align-items: start;
    border-bottom: 1px solid var(--sv2-soft-line);
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 0 46px 14px 0;
}

.sv2-detail-header span {
    color: #647589;
    display: block;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 3px;
}

.sv2-detail-header p {
    margin-top: 4px;
}

.sv2-detail-grid {
    display: grid;
    gap: 6px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
}

.sv2-detail-grid div {
    background: #f6f8fa;
    border: 1px solid #e0e6ed;
    border-radius: 7px;
    padding: 8px;
}

.sv2-detail-grid span {
    color: #69778a;
    display: block;
    font-size: 11px;
}

.sv2-detail-grid b {
    color: var(--sv2-text);
    display: block;
    font-size: 16px;
    margin-top: 2px;
}

.sv2-detail-loading {
    background: #f6f8fa;
    border: 1px solid #e0e7ef;
    border-radius: 8px;
    display: grid;
    gap: 4px;
    padding: 18px;
}

.sv2-detail-loading span {
    color: var(--sv2-muted);
}

.sv2-detail-error,
.sv2-form-error {
    background: #fff1ef;
    border: 1px solid #efc7c0;
    border-radius: 7px;
    color: #8a3830;
    font-size: 13px;
    padding: 8px 10px;
}

.sv2-form-error:empty {
    display: none;
}

.sv2-detail-saved {
    background: #e7f5ed;
    border: 1px solid #badfcc;
    border-radius: 7px;
    color: #28623e;
    font-weight: 700;
    padding: 8px 10px;
}

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

.sv2-role {
    border-radius: 8px;
    display: grid;
    gap: 10px;
    padding: 12px;
}

.sv2-role-empty {
    background: #f7f9fb;
    border: 1px solid #dfe7ef;
    color: #5d6c7f;
    min-height: 118px;
}

.sv2-role-head {
    display: grid;
    gap: 2px;
}

.sv2-role h3 {
    color: #506076;
    font-size: 12px;
    margin: 0;
    text-transform: uppercase;
}

.sv2-role-head b {
    font-size: 17px;
    line-height: 1.25;
}

.sv2-role-controls {
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) 124px;
}

.sv2-role-controls label {
    display: grid;
    gap: 4px;
    margin: 0;
    min-width: 0;
}

.sv2-role-controls label > span,
.sv2-report > span {
    color: #58687b;
    font-size: 12px;
    font-weight: 700;
}

.sv2-role-controls select,
.sv2-role-controls input {
    background: #fff;
    border: 1px solid #c8d4df;
    border-radius: 7px;
    color: var(--sv2-text);
    height: 34px;
    min-width: 0;
    padding: 0 8px;
    width: 100%;
}

.sv2-role-controls small {
    color: #9a3b34;
    font-size: 11px;
    min-height: 13px;
}

.sv2-role-readonly {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
}

.sv2-role-readonly span {
    color: #506076;
    font-size: 13px;
}

.sv2-report {
    display: grid;
    gap: 5px;
}

.sv2-report-text {
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(125, 143, 163, .28);
    border-radius: 7px;
    color: #26364a;
    line-height: 1.4;
    max-height: 168px;
    min-height: 48px;
    overflow-y: auto;
    padding: 8px;
    white-space: normal;
}

.sv2-report-text.is-empty {
    color: #6c7b8d;
    font-style: italic;
}

.sv2-client-sections {
    display: grid;
    gap: 7px;
}

.sv2-client-section {
    border-bottom: 1px solid var(--sv2-soft-line);
    padding-bottom: 7px;
}

.sv2-client-section summary {
    color: #27384d;
    cursor: pointer;
    font-weight: 700;
    list-style-position: outside;
    padding: 4px 0;
}

.sv2-client-section summary b {
    background: #eef3f7;
    border-radius: 999px;
    color: #4b5d72;
    display: inline-flex;
    font-size: 12px;
    margin-left: 5px;
    min-width: 24px;
    padding: 1px 7px;
}

.sv2-client-section ul {
    display: grid;
    gap: 5px;
    list-style: none;
    margin: 6px 0 0;
    padding: 0;
}

.sv2-client-section li {
    align-items: center;
    background: #f7f9fb;
    border-radius: 6px;
    display: grid;
    gap: 4px;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 34px;
    padding: 6px 8px;
}

.sv2-client-section li b {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sv2-client-section li span,
.sv2-client-section li small {
    color: #5d6c7f;
    font-size: 12px;
}

.sv2-client-section li small {
    grid-column: 1 / -1;
}

.sv2-client-section p {
    color: #6a7888;
    margin: 6px 0 0;
}

.sv2-modal-actions {
    align-items: center;
    border-top: 1px solid var(--sv2-soft-line);
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    padding-top: 12px;
}

.sv2-modal-actions button {
    border-radius: 7px;
    cursor: pointer;
    font-weight: 700;
    min-height: 36px;
    padding: 0 13px;
}

.sv2-modal-actions button[data-action="close-modal"] {
    background: #fff;
    border: 1px solid #c8d4df;
    color: #25364b;
}

.sv2-save {
    background: #213145;
    border: 1px solid #213145;
    color: #fff;
}

.sv2-save:disabled {
    cursor: wait;
    opacity: .7;
}

.sv2-detail-link {
    align-items: center;
    background: #213145;
    border-radius: 7px;
    color: #fff;
    display: inline-flex;
    font-weight: 700;
    min-height: 36px;
    padding: 8px 12px;
    text-decoration: none;
}

.sv2-nav a:focus,
.sv2-city select:focus,
.sv2-date-field input:focus,
.sv2-place-button:focus,
.sv2-place-actions button:focus,
.sv2-place-option:focus-within,
.sv2-place-footer button:focus,
.sv2-today:focus,
.sv2-day-head:focus,
.sv2-card:focus,
.sv2-modal-close:focus,
.sv2-detail-link:focus,
.sv2-role-controls select:focus,
.sv2-role-controls input:focus,
.sv2-modal-actions button:focus,
.sv2-client-section summary:focus {
    outline: 3px solid #f2c94c;
    outline-offset: 2px;
}

@media (max-width: 1440px) {
    :root {
        --sv2-resource: 238px;
        --sv2-active-day: 184px;
        --sv2-empty-day: 68px;
    }

    .sv2-toolbar {
        grid-template-columns: minmax(395px, auto) minmax(220px, 1fr);
    }
}

@media (max-width: 1120px) {
    .sv2-toolbar {
        grid-template-columns: 1fr;
    }

    .sv2-controls {
        flex-wrap: wrap;
    }

    .sv2-kpi {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    :root {
        --sv2-resource: 190px;
        --sv2-active-day: 166px;
        --sv2-empty-day: 62px;
    }

    .sv2-page {
        padding-left: 0;
        padding-right: 0;
    }

    .sv2-topbar,
    .sv2-toolbar {
        border-left: 0;
        border-right: 0;
        border-radius: 0;
        margin-left: 0;
        margin-right: 0;
    }

    .sv2-topbar {
        align-items: stretch;
        flex-direction: column;
        padding: 0 12px;
    }

    .sv2-nav {
        flex-wrap: wrap;
    }

    .sv2-date-block {
        flex-direction: row;
    }

    .sv2-today {
        width: auto;
    }

    .sv2-board {
        border-left: 0;
        border-right: 0;
        border-radius: 0;
    }

    .sv2-modal-dialog {
        bottom: 0;
        left: 0;
        max-height: 86vh;
        max-width: none;
        right: 0;
        top: auto;
        width: auto;
    }

    .sv2-detail-grid {
        grid-template-columns: 1fr;
    }

    .sv2-detail-header,
    .sv2-roles,
    .sv2-role-controls {
        grid-template-columns: 1fr;
    }

    .sv2-detail-header {
        padding-right: 42px;
    }

    .sv2-modal-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }
}
