:root {
    --bg: #fafafa;
    --fg: #222;
    --muted: #6b7280;
    --primary: #2563eb;
    --primary-600: #1d4ed8;
    --border: #e5e7eb;
    --card: #ffffff;
    --shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    --radius: 14px;
}
* {
    box-sizing: border-box;
}
html,
body {
    height: 100%;
}
body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--fg);
    line-height: 1.55;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, "Apple Color Emoji", "Segoe UI Emoji";
}
h1,
h2,
h3 {
    line-height: 1.2;
    margin: 0 0 0.6rem;
}
h1 {
    font-weight: 800;
    font-size: clamp(24px, 3.5vw, 26px);
}
h2 {
    font-weight: 700;
    /* font-size: clamp(18px, 2.5vw, 24px);
    margin-top: 1rem; */
}
h3 {
    font-weight: 700;
    font-size: 18px;
    margin-top: 0.6rem;
}
a {
    color: var(--primary);
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 24px;
}
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
nav {
    display: flex;
    gap: 10px;
}
nav a {
    padding: 8px 12px;
    border: 1px solid var(--border);
    background: var(--card);
    border-radius: 10px;
    box-shadow: var(--shadow);
}
nav a.router-link-active {
    background: #eff6ff;
    border-color: #bfdbfe;
}
.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow);
    margin-bottom: 16px;
    justify-self: left;
    max-width: 1031px;
}
.row {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}
.grid {
    display: grid;
    gap: 12px;
}
.table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
}
.table thead th {
    font-weight: 700;
    color: #374151;
}
.table tbody tr {
    background: var(--card);
    border: 1px solid var(--border);
}
.table th,
.table td {
    padding: 10px 12px;
}
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: #eef;
    border: 1px solid #c7dbff;
    font-size: 12px;
}
input,
textarea,
select,
button {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    color: var(--fg);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    outline: 0;
}
input[type="radio"],
input[type="checkbox"] {
    width: auto;
}
label {
    display: grid;
    gap: 6px;
    font-size: 14px;
}
textarea {
    min-height: 90px;
    resize: vertical;
}
button {
    width: auto;
    cursor: pointer;
    background: var(--primary);
    border-color: transparent;
    color: #fff;
    font-weight: 600;
    transition: 0.15s ease;
}
button:hover {
    background: var(--primary-600);
}
button.secondary {
    background: #fff;
    color: #111;
    border: 1px solid var(--border);
    margin: 5px;
}
button.ghost {
    background: transparent;
    border: 1px dashed var(--border);
    color: #111;
}
.muted {
    color: var(--muted);
}
.helper {
    font-size: 12px;
    color: var(--muted);
}
svg {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow);
}
.modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #0f172a80;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    width: 100%;
}
.modal {
    width: min(680px, 92vw);
    background: #fff;
    border-radius: 14px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 18px;
}
.modal header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 10px;
}
.modal .content {
    padding: 8px 2px;
}
.modal .close {
    background: #fff;
    border: 1px solid var(--border);
    color: #111;
}
.kbd {
    padding: 0.15rem 0.45rem;
    border: 1px solid var(--border);
    border-bottom-width: 2px;
    border-radius: 6px;
    background: #f8fafc;
    font-size: 12px;
}
html {
    font-size: 10pt;
    scroll-behavior: smooth;
}
.hstrip {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
}
.hstrip > .qcard {
    min-width: 560px;
    max-width: 760px;
    flex: 0 0 auto;
    scroll-snap-align: start;
}
.anchorbar {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    margin: 8px 0 12px;
}
.anchorbar .chip {
    padding: 6px 10px;
    border-radius: 999px;
    background: #c97777;
    box-shadow: var(--shadow);
    cursor: pointer;
    white-space: nowrap;
    font-size: 13px;
}
.anchorbar .chip.active {
    background: #5a8fd9;
    border-color: #5778a1;
}
.wrap {
    max-width: 980px;
    margin: 0 auto;
    padding: 24px;
}
.row {
    display: flex;
    gap: 6px;
}
.btn {
    padding: 8px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 2px 8px #0000000f;
}
.muted {
    color: #6b7280;
    font-size: 12px;
}
.toolbar[data-v-d82ad3bd] {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    margin-bottom: 8px;
}
.table[data-v-d82ad3bd] {
    width: 100%;
    border-collapse: collapse;
    margin-top: 8px;
    background: #fff;
}
.table th[data-v-d82ad3bd],
.table td[data-v-d82ad3bd] {
    border-bottom: 1px solid #e5e7eb;
    padding: 10px 8px;
    text-align: left;
}
.btn[data-v-d82ad3bd] {
    padding: 6px 10px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}
.secondary[data-v-d82ad3bd] {
    padding: 6px 10px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f8fafc;
    cursor: pointer;
}
.danger[data-v-d82ad3bd] {
    padding: 6px 10px;
    border: 1px solid #fecaca;
    border-radius: 8px;
    background: #fef2f2;
    color: #991b1b;
    cursor: pointer;
}
.badge[data-v-d82ad3bd] {
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    padding: 2px 8px;
    border-radius: 999px;
}
.row[data-v-d82ad3bd] {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 8px 0;
}
.wrap[data-v-d82ad3bd] {
    flex-wrap: wrap;
}
.muted[data-v-d82ad3bd] {
    color: #6b7280;
}
.err[data-v-d82ad3bd] {
    color: #b00;
}
.inp[data-v-d82ad3bd] {
    padding: 6px 10px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
}
.actions[data-v-d82ad3bd] {
    white-space: nowrap;
}
.abar[data-v-82036546] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    margin: 0 0 12px;
}
.link[data-v-82036546] {
    background: transparent;
    border: 0;
    color: #2563eb;
    cursor: pointer;
}
.left[data-v-82036546] {
    display: flex;
    align-items: center;
    gap: 10px;
}
.right[data-v-82036546] {
    display: flex;
    align-items: center;
}
.danger[data-v-82036546] {
    background: #ef4444;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
}
.danger[disabled][data-v-82036546] {
    opacity: 0.6;
    cursor: not-allowed;
}
.toolbar[data-v-fd008932] {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    margin-bottom: 8px;
}
.table[data-v-fd008932] {
    width: 100%;
    border-collapse: collapse;
    margin-top: 8px;
    background: #fff;
}
.table th[data-v-fd008932],
.table td[data-v-fd008932] {
    border-bottom: 1px solid #e5e7eb;
    padding: 10px 8px;
    text-align: center;
    vertical-align: middle;
}
.table tr.main[data-v-fd008932] {
    cursor: pointer;
}
.table tr.main[data-v-fd008932]:hover {
    background: #fafafa;
}
.table tr.main.open[data-v-fd008932] {
    background: #f8fafc;
}
.details-row td[data-v-fd008932] {
    padding: 0;
    border-bottom: none;
}
.details[data-v-fd008932] {
    padding: 12px 16px;
    background: #f8fafc;
    border-top: 1px dashed #e5e7eb;
}
.fio[data-v-fd008932] {
    font-weight: 600;
}
.caret[data-v-fd008932] {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #6b7280;
    margin-right: 8px;
    transform: translateY(-1px);
}
tr.open .caret[data-v-fd008932] {
    transform: rotate(180deg) translateY(2px);
}
.btn[data-v-fd008932] {
    padding: 6px 10px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    margin: 5px;
}
.secondary[data-v-fd008932] {
    padding: 6px 10px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f8fafc;
    cursor: pointer;
}
.danger[data-v-fd008932] {
    padding: 6px 10px;
    border: 1px solid #fecaca;
    border-radius: 8px;
    background: #fef2f2;
    color: #991b1b;
    cursor: pointer;
}
.badge[data-v-fd008932] {
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 12pt;
}
.row[data-v-fd008932] {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 8px 0;
}
.wrap[data-v-fd008932] {
    flex-wrap: wrap;
}
.muted[data-v-fd008932] {
    color: #6b7280;
}
.err[data-v-fd008932] {
    color: #b00;
}
.actions[data-v-fd008932] {
    white-space: nowrap;
}
.inp[data-v-fd008932] {
    padding: 6px 10px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
}
.qrow[data-v-fd008932] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-top: 1px dashed #e5e7eb;
    text-align: left;
}
.qrow[data-v-fd008932]:first-child {
    border-top: none;
}
.qtext[data-v-fd008932] {
    flex: 1;
}
.qtitle[data-v-fd008932] {
    font-weight: 600;
    margin-bottom: 4px;
}
.sep[data-v-fd008932] {
    margin-left: 8px;
}
.note[data-v-fd008932] {
    margin-top: 6px;
    background: #fff;
    border: 1px solid #e5e7eb;
    padding: 6px 8px;
    border-radius: 8px;
}
.bonus[data-v-fd008932] {
    width: 140px;
}
.bonus input[data-v-fd008932] {
    width: 100%;
    padding: 6px 8px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
}
.canvas[data-v-3af853c3] {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow);
    cursor: grab;
    -webkit-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    touch-action: none;
}
.canvas[data-v-3af853c3]:active {
    cursor: grabbing;
}
.compact .subcard[data-v-3af853c3] {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px;
    margin-bottom: 10px;
    box-shadow: var(--shadow);
}
.compact .mini-row[data-v-3af853c3] {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
}
.compact .mini-row.end[data-v-3af853c3] {
    justify-content: flex-end;
}
.compact .mini-field[data-v-3af853c3] {
    display: grid;
    gap: 4px;
    min-width: 160px;
}
.compact input[data-v-3af853c3],
.compact select[data-v-3af853c3],
.compact button[data-v-3af853c3] {
    padding: 8px 10px;
    font-size: 13px;
}
.compact .mini-btn[data-v-3af853c3] {
    white-space: nowrap;
}
.panel-scroll[data-v-3af853c3] {
    max-height: 450px;
    overflow-y: auto;
    padding-right: 6px;
}
.compact h3[data-v-3af853c3] {
    margin: 0 0 6px;
}
.badge-text[data-v-3af853c3] {
    fill: #1f2937;
}
.t-start[data-v-3af853c3] {
    background: #f0fdf4;
    border-left: 4px solid #86efac;
}
.t-action[data-v-3af853c3] {
    background: #eff6ff;
    border-left: 4px solid #93c5fd;
}
.t-decision[data-v-3af853c3] {
    background: #fffbeb;
    border-left: 4px solid #facc15;
}
.t-end[data-v-3af853c3] {
    background: #fef2f2;
    border-left: 4px solid #fca5a5;
}
.b-start[data-v-3af853c3] {
    background: #eafff2;
    border: 1px solid #86efac;
}
.b-action[data-v-3af853c3] {
    background: #eef2ff;
    border: 1px solid #93c5fd;
}
.b-decision[data-v-3af853c3] {
    background: #fff7db;
    border: 1px solid #facc15;
}
.b-end[data-v-3af853c3] {
    background: #ffecec;
    border: 1px solid #fca5a5;
}
.inp[data-v-3af853c3] {
    border: 1px solid var(--border);
    border-radius: 10px;
}
.i-start[data-v-3af853c3] {
    border-color: #86efac;
}
.i-action[data-v-3af853c3] {
    border-color: #93c5fd;
}
.i-decision[data-v-3af853c3] {
    border-color: #facc15;
}
.i-end[data-v-3af853c3] {
    border-color: #fca5a5;
}
.badge-bg[data-v-3af853c3] {
    fill: #fff;
    stroke: #c7dbff;
}
.badge-bg.t-start[data-v-3af853c3] {
    stroke: #86efac;
}
.badge-bg.t-action[data-v-3af853c3] {
    stroke: #93c5fd;
}
.badge-bg.t-decision[data-v-3af853c3] {
    stroke: #facc15;
}
.badge-bg.t-end[data-v-3af853c3] {
    stroke: #fca5a5;
}
.zoombar[data-v-3af853c3] {
    margin-left: auto;
    display: flex;
    gap: 8px;
    align-items: center;
}
.zv[data-v-3af853c3] {
    font-variant-numeric: tabular-nums;
}
.modal[data-v-0d4eeef1] {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #00000059;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
}
.modal-card[data-v-0d4eeef1] {
    background: #fff;
    border-radius: 14px;
    padding: 20px;
    min-width: 360px;
    box-shadow: 0 10px 30px #00000026;
}
.big[data-v-0d4eeef1] {
    font-size: 24px;
}
.secondary[data-v-0d4eeef1] {
    padding: 8px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f8fafc;
}
.badge[data-v-0d4eeef1] {
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    padding: 2px 8px;
    border-radius: 999px;
}
.row[data-v-0d4eeef1] {
    display: flex;
    gap: 8px;
    align-items: center;
}
.card[data-v-0d4eeef1] {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px;
    margin: 12px 0;
}
.muted[data-v-0d4eeef1] {
    color: #6b7280;
    font-size: 12px;
}
.login-card[data-v-6fa0a6f4] {
    max-width: 480px;
    margin: 60px auto;
    padding: 24px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 6px 20px #0000000d;
    width: 400px;
}
.form[data-v-6fa0a6f4] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
input[data-v-6fa0a6f4] {
    width: 100%;
    padding: 8px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
}
button[data-v-6fa0a6f4] {
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    background: #2563eb;
    color: #fff;
    cursor: pointer;
}
button[disabled][data-v-6fa0a6f4] {
    opacity: 0.6;
    cursor: not-allowed;
}
.row[data-v-6fa0a6f4] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
    justify-content: right;
}
.error[data-v-6fa0a6f4] {
    color: #b91c1c;
}
