
/* CRM and Calendar operational notifications. */
html body .vario-crm-page,
html body .vario-calendar-page,
html[data-vario-theme] body .vario-crm-page,
html[data-vario-theme] body .vario-calendar-page {
    height: 100%;
    min-height: 0;
    padding: 12px;
    background: #eef3f8;
    overflow: auto;
}

html body .vario-crm-dashboard,
html[data-vario-theme] body .vario-crm-dashboard {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    min-height: 0;
}

html body .vario-crm-panel,
html body .vario-calendar-board,
html[data-vario-theme] body .vario-crm-panel,
html[data-vario-theme] body .vario-calendar-board {
    border: 1px solid #c8d5e6;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(15, 35, 64, 0.08);
}

html body .vario-crm-panel,
html[data-vario-theme] body .vario-crm-panel {
    min-height: 156px;
    padding: 12px;
}

html body .vario-crm-panel.primary,
html[data-vario-theme] body .vario-crm-panel.primary {
    background: linear-gradient(135deg, #0f4f8c 0%, #1767bf 100%);
    border-color: #0d4782;
    color: #fff;
}

html body .vario-crm-panel.wide,
html[data-vario-theme] body .vario-crm-panel.wide {
    grid-column: 1 / -1;
}

html body .vario-crm-panel-header,
html body .vario-calendar-toolbar,
html[data-vario-theme] body .vario-crm-panel-header,
html[data-vario-theme] body .vario-calendar-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

html body .vario-crm-panel-header.compact,
html[data-vario-theme] body .vario-crm-panel-header.compact {
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #d7e1ee;
}

html body .vario-crm-panel-header span,
html body .vario-calendar-toolbar span,
html[data-vario-theme] body .vario-crm-panel-header span,
html[data-vario-theme] body .vario-calendar-toolbar span {
    display: block;
    color: #5e718c;
    font: 800 10px/13px var(--vario-font-family-ui);
    text-transform: uppercase;
}

html body .vario-crm-panel.primary .vario-crm-panel-header span,
html[data-vario-theme] body .vario-crm-panel.primary .vario-crm-panel-header span {
    color: rgba(255, 255, 255, 0.76);
}

html body .vario-crm-panel-header strong,
html body .vario-calendar-toolbar strong,
html[data-vario-theme] body .vario-crm-panel-header strong,
html[data-vario-theme] body .vario-calendar-toolbar strong {
    color: #08264d;
    font: 900 18px/22px var(--vario-font-family-ui);
}

html body .vario-crm-panel.primary .vario-crm-panel-header strong,
html[data-vario-theme] body .vario-crm-panel.primary .vario-crm-panel-header strong {
    color: #fff;
}

html body .vario-crm-metrics,
html body .vario-calendar-summary-grid,
html[data-vario-theme] body .vario-crm-metrics,
html[data-vario-theme] body .vario-calendar-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

html body .vario-calendar-summary-grid,
html[data-vario-theme] body .vario-calendar-summary-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 12px;
    border-bottom: 1px solid #d7e1ee;
}

html body .vario-crm-metrics div,
html body .vario-calendar-summary-grid div,
html[data-vario-theme] body .vario-crm-metrics div,
html[data-vario-theme] body .vario-calendar-summary-grid div {
    border: 1px solid rgba(155, 174, 201, 0.55);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.84);
    padding: 10px;
}

html body .vario-crm-metrics span,
html body .vario-calendar-summary-grid span,
html[data-vario-theme] body .vario-crm-metrics span,
html[data-vario-theme] body .vario-calendar-summary-grid span {
    display: block;
    color: #566a84;
    font: 800 10px/13px var(--vario-font-family-ui);
    text-transform: uppercase;
}

html body .vario-crm-metrics strong,
html body .vario-calendar-summary-grid strong,
html[data-vario-theme] body .vario-crm-metrics strong,
html[data-vario-theme] body .vario-calendar-summary-grid strong {
    color: #08264d;
    font: 900 24px/28px var(--vario-font-family-ui);
}

html body .vario-calendar-board,
html[data-vario-theme] body .vario-calendar-board {
    min-height: 100%;
    overflow: hidden;
}

html body .vario-calendar-toolbar,
html[data-vario-theme] body .vario-calendar-toolbar {
    margin: 0;
    padding: 12px;
    border-bottom: 1px solid #c8d5e6;
    background: #f8fbff;
}

html body .vario-calendar-toolbar-actions,
html[data-vario-theme] body .vario-calendar-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

html body .vario-calendar-toolbar-actions input,
html[data-vario-theme] body .vario-calendar-toolbar-actions input {
    width: 142px;
    height: 28px;
    border: 1px solid #b8cbe3;
    border-radius: 7px;
    padding: 0 8px;
    color: #08264d;
    font: 800 12px/16px var(--vario-font-family-ui);
}

html body .vario-calendar-columns,
html[data-vario-theme] body .vario-calendar-columns {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 12px;
    padding: 12px;
}

html body .vario-calendar-column,
html[data-vario-theme] body .vario-calendar-column {
    min-height: 360px;
    border: 1px solid #d2deec;
    border-radius: 8px;
    background: #fbfdff;
    padding: 10px;
}

html body .vario-calendar-column.selected,
html[data-vario-theme] body .vario-calendar-column.selected {
    background: #f4f8ff;
    border-color: #9cb9df;
}

html body .vario-calendar-column h2,
html[data-vario-theme] body .vario-calendar-column h2 {
    margin: 0 0 10px;
    color: #08264d;
    font: 900 14px/18px var(--vario-font-family-ui);
}

html body .vario-calendar-event-list,
html[data-vario-theme] body .vario-calendar-event-list {
    display: grid;
    gap: 7px;
}

html body .vario-calendar-event,
html[data-vario-theme] body .vario-calendar-event {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    min-height: 48px;
    padding: 7px 9px;
    border: 1px solid #d7e1ee;
    border-left-width: 4px;
    border-radius: 7px;
    background: #fff;
    color: #08264d;
    text-decoration: none;
}

html body .vario-calendar-event:hover,
html[data-vario-theme] body .vario-calendar-event:hover {
    border-color: #9db7d7;
    background: #f7fbff;
}

html body .vario-calendar-event.warning,
html[data-vario-theme] body .vario-calendar-event.warning {
    border-left-color: #f59e0b;
}

html body .vario-calendar-event.danger,
html[data-vario-theme] body .vario-calendar-event.danger {
    border-left-color: #dc2626;
}

html body .vario-calendar-event.info,
html[data-vario-theme] body .vario-calendar-event.info {
    border-left-color: #1767bf;
}

html body .vario-calendar-event-date,
html[data-vario-theme] body .vario-calendar-event-date {
    border-radius: 6px;
    background: #e8f1ff;
    color: #0f4f8c;
    padding: 5px 0;
    text-align: center;
    font: 900 12px/14px var(--vario-font-family-ui);
}

html body .vario-calendar-event-body,
html[data-vario-theme] body .vario-calendar-event-body {
    min-width: 0;
}

html body .vario-calendar-event-body strong,
html[data-vario-theme] body .vario-calendar-event-body strong {
    display: block;
    overflow: hidden;
    color: #08264d;
    font: 900 12px/15px var(--vario-font-family-ui);
    text-overflow: ellipsis;
    white-space: nowrap;
}

html body .vario-calendar-event-body small,
html[data-vario-theme] body .vario-calendar-event-body small {
    display: block;
    overflow: hidden;
    color: #526780;
    font: 700 11px/14px var(--vario-font-family-ui);
    text-overflow: ellipsis;
    white-space: nowrap;
}

html body .vario-calendar-event-number,
html[data-vario-theme] body .vario-calendar-event-number {
    color: #0f4f8c;
    font: 900 11px/14px var(--vario-font-family-ui);
}

html body .vario-crm-empty,
html[data-vario-theme] body .vario-crm-empty {
    display: grid;
    min-height: 74px;
    place-items: center;
    border: 1px dashed #c9d6e7;
    border-radius: 7px;
    color: #61758f;
    font: 800 12px/16px var(--vario-font-family-ui);
}

html body .vario-notification-item.calendar-deadline,
html[data-vario-theme] body .vario-notification-item.calendar-deadline {
    text-decoration: none;
}

html body .vario-notification-date,
html[data-vario-theme] body .vario-notification-date {
    display: inline-grid;
    width: 38px;
    min-width: 38px;
    height: 26px;
    place-items: center;
    border-radius: 6px;
    background: #e8f1ff;
    color: #0f4f8c;
    font: 900 11px/13px var(--vario-font-family-ui);
}

html body .vario-topbar-calendar,
html[data-vario-theme] body .vario-topbar-calendar {
    position: relative;
    display: inline-flex;
}

html body .vario-topbar-calendar-panel,
html[data-vario-theme] body .vario-topbar-calendar-panel {
    position: absolute;
    top: 42px;
    right: -8px;
    z-index: 20000;
    width: 318px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #d9e3f1;
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.20);
}

html body .vario-topbar-calendar-panel-header,
html[data-vario-theme] body .vario-topbar-calendar-panel-header {
    display: grid;
    grid-template-columns: 28px 1fr 28px;
    align-items: center;
    gap: 8px;
    padding: 9px 10px;
    background: linear-gradient(90deg, #081B3A 0%, #134f8c 72%, #2563EB 100%);
}

html body .vario-topbar-calendar-panel-header strong,
html[data-vario-theme] body .vario-topbar-calendar-panel-header strong {
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    text-align: center;
}

html body .vario-topbar-calendar-panel-header button,
html[data-vario-theme] body .vario-topbar-calendar-panel-header button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 6px;
}

html body .vario-topbar-calendar-panel-header .nav-icon,
html[data-vario-theme] body .vario-topbar-calendar-panel-header .nav-icon {
    width: 16px;
    height: 16px;
    stroke-width: 2.4;
}

html body .vario-topbar-calendar-grid,
html[data-vario-theme] body .vario-topbar-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
    padding: 10px 12px 8px;
    background: #f7faff;
    border-bottom: 1px solid #e5edf8;
}

html body .vario-topbar-calendar-grid span,
html[data-vario-theme] body .vario-topbar-calendar-grid span {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    height: 26px;
    color: #11284c;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 750;
}

html body .vario-topbar-calendar-grid .weekday,
html[data-vario-theme] body .vario-topbar-calendar-grid .weekday {
    height: 18px;
    color: #60728e;
    font-size: 10px;
    font-weight: 800;
}

html body .vario-topbar-calendar-grid .day.empty,
html[data-vario-theme] body .vario-topbar-calendar-grid .day.empty {
    background: transparent;
}

html body .vario-topbar-calendar-grid .day.today,
html[data-vario-theme] body .vario-topbar-calendar-grid .day.today {
    color: #ffffff;
    background: #1263f1;
    box-shadow: 0 6px 14px rgba(18, 99, 241, 0.24);
}

html body .vario-topbar-calendar-grid .day.has-event:not(.today),
html[data-vario-theme] body .vario-topbar-calendar-grid .day.has-event:not(.today) {
    color: #0f3c7a;
    background: #e8f1ff;
    box-shadow: inset 0 0 0 1px #c9dcfb;
}

html body .vario-topbar-calendar-grid .day.has-event::after,
html[data-vario-theme] body .vario-topbar-calendar-grid .day.has-event::after {
    content: "";
    position: absolute;
    width: 4px;
    height: 4px;
    bottom: 4px;
    background: currentColor;
    border-radius: 999px;
}

html body .vario-topbar-calendar-today,
html[data-vario-theme] body .vario-topbar-calendar-today {
    display: grid;
    gap: 8px;
    padding: 10px 12px 12px;
    background: #ffffff;
}

html body .vario-topbar-calendar-today h3,
html[data-vario-theme] body .vario-topbar-calendar-today h3 {
    margin: 0;
    color: #102342;
    font-size: 13px;
    font-weight: 800;
}

html body .vario-topbar-calendar-today p,
html[data-vario-theme] body .vario-topbar-calendar-today p {
    margin: 0;
    color: #66758c;
    font-size: 12px;
    font-weight: 600;
}

html body .vario-topbar-calendar-event-list,
html[data-vario-theme] body .vario-topbar-calendar-event-list {
    display: grid;
    gap: 6px;
    max-height: 188px;
    overflow-y: auto;
}

html body .vario-topbar-calendar-event,
html[data-vario-theme] body .vario-topbar-calendar-event {
    display: grid;
    gap: 3px;
    padding: 8px 9px;
    color: #102342;
    text-decoration: none;
    background: #f7faff;
    border: 1px solid #e2eaf5;
    border-left: 3px solid #2563eb;
    border-radius: 7px;
}

html body .vario-topbar-calendar-event.warning,
html[data-vario-theme] body .vario-topbar-calendar-event.warning {
    border-left-color: #f59e0b;
}

html body .vario-topbar-calendar-event.danger,
html[data-vario-theme] body .vario-topbar-calendar-event.danger {
    border-left-color: #dc2626;
}

html body .vario-topbar-calendar-event strong,
html[data-vario-theme] body .vario-topbar-calendar-event strong {
    font-size: 12px;
    font-weight: 800;
}

html body .vario-topbar-calendar-event span,
html[data-vario-theme] body .vario-topbar-calendar-event span {
    color: #5d6d84;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.25;
}

@media (max-width: 1180px) {

    html body .vario-crm-dashboard,
    html body .vario-calendar-columns,
    html[data-vario-theme] body .vario-crm-dashboard,
    html[data-vario-theme] body .vario-calendar-columns {
        grid-template-columns: minmax(0, 1fr);
    }

    html body .vario-calendar-summary-grid,
    html[data-vario-theme] body .vario-calendar-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

html body .vario-ksef-workbench,
html[data-vario-theme] body .vario-ksef-workbench {
    display: grid !important;
    grid-template-rows: minmax(0, 1fr) !important;
    min-height: 0 !important;
    height: 100% !important;
    max-height: 100% !important;
    overflow: hidden !important;
    background: #eef3f8 !important;
}

html body .vario-ksef-shell,
html[data-vario-theme] body .vario-ksef-shell {
    display: grid !important;
    grid-template-rows: 30px minmax(0, 1fr) !important;
    min-height: 0 !important;
    margin: 0 10px 10px !important;
    overflow: hidden !important;
    border-right: 2px solid rgba(78, 91, 108, 0.58) !important;
    border-bottom: 2px solid rgba(78, 91, 108, 0.58) !important;
    border-left: 2px solid rgba(78, 91, 108, 0.58) !important;
    border-radius: 0 0 8px 8px !important;
    background: #f6f9fd !important;
}

html body .vario-ksef-command-rail,
html[data-vario-theme] body .vario-ksef-command-rail {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-width: 0 !important;
    padding: 3px 8px !important;
    overflow: hidden !important;
    border-bottom: 1px solid rgba(10, 36, 72, 0.42) !important;
    background: #134f8c !important;
    box-shadow: 0 5px 12px rgba(2, 20, 47, 0.26) !important;
}

html body .vario-ksef-tab,
html[data-vario-theme] body .vario-ksef-tab {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    height: 23px !important;
    min-width: 0 !important;
    padding: 0 14px !important;
    border: 1px solid transparent !important;
    border-radius: 7px !important;
    background: transparent !important;
    color: #f0f6ff !important;
    font: 800 11px/21px Inter, "Segoe UI", Arial, sans-serif !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

html body .vario-ksef-tab.active,
html[data-vario-theme] body .vario-ksef-tab.active {
    background: #ffffff !important;
    color: #134f8c !important;
    box-shadow: 0 5px 12px rgba(2, 20, 47, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.98) !important;
}

html body .vario-ksef-tab .nav-icon,
html[data-vario-theme] body .vario-ksef-tab .nav-icon {
    width: 13px !important;
    height: 13px !important;
}

html body .vario-ksef-content,
html[data-vario-theme] body .vario-ksef-content {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px) !important;
    gap: 12px !important;
    min-height: 0 !important;
    padding: 12px !important;
    overflow: hidden !important;
    background: linear-gradient(180deg, #f8fbff 0%, #eef3f8 100%) !important;
}

html body .vario-ksef-card,
html body .vario-ksef-side-panel,
html[data-vario-theme] body .vario-ksef-card,
html[data-vario-theme] body .vario-ksef-side-panel {
    min-width: 0 !important;
    overflow: hidden !important;
    border: 1px solid rgba(177, 196, 219, 0.86) !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    box-shadow: 0 10px 24px rgba(15, 45, 82, 0.08) !important;
}

html body .vario-ksef-card,
html[data-vario-theme] body .vario-ksef-card {
    display: grid !important;
    grid-template-rows: auto minmax(0, 1fr) !important;
}

html body .vario-ksef-card-header,
html[data-vario-theme] body .vario-ksef-card-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
    min-height: 66px !important;
    padding: 12px 14px !important;
    border-bottom: 1px solid #d8e4f2 !important;
    background: #f7faff !important;
}

html body .vario-ksef-card-title,
html[data-vario-theme] body .vario-ksef-card-title {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    min-width: 0 !important;
}

html body .vario-ksef-card-icon,
html[data-vario-theme] body .vario-ksef-card-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 34px !important;
    width: 34px !important;
    height: 34px !important;
    color: #1263f1 !important;
    border: 1px solid #cfe0fb !important;
    border-radius: 9px !important;
    background: #eaf2ff !important;
}

html body .vario-ksef-card-icon .nav-icon,
html[data-vario-theme] body .vario-ksef-card-icon .nav-icon {
    width: 18px !important;
    height: 18px !important;
}

html body .vario-ksef-card-title h2,
html[data-vario-theme] body .vario-ksef-card-title h2 {
    margin: 0 !important;
    color: #071b3d !important;
    font: 900 18px/21px Inter, "Segoe UI", Arial, sans-serif !important;
}

html body .vario-ksef-card-title p,
html[data-vario-theme] body .vario-ksef-card-title p {
    margin: 2px 0 0 !important;
    color: #526987 !important;
    font: 700 11px/14px Inter, "Segoe UI", Arial, sans-serif !important;
}

html body .vario-ksef-status-badge,
html[data-vario-theme] body .vario-ksef-status-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 20px !important;
    padding: 2px 9px !important;
    border: 1px solid transparent !important;
    border-radius: 999px !important;
    font: 900 10.5px/14px Inter, "Segoe UI", Arial, sans-serif !important;
    white-space: nowrap !important;
}

html body .vario-ksef-status-badge.status-success,
html[data-vario-theme] body .vario-ksef-status-badge.status-success {
    border-color: #9bd8b3 !important;
    background: #eafaf0 !important;
    color: #15803d !important;
}

html body .vario-ksef-status-badge.status-primary,
html[data-vario-theme] body .vario-ksef-status-badge.status-primary {
    border-color: #9fc0f8 !important;
    background: #eaf2ff !important;
    color: #1263f1 !important;
}

html body .vario-ksef-status-badge.status-danger,
html[data-vario-theme] body .vario-ksef-status-badge.status-danger {
    border-color: #efb8c1 !important;
    background: #fff1f3 !important;
    color: #b42332 !important;
}

html body .vario-ksef-fetch-card form,
html[data-vario-theme] body .vario-ksef-fetch-card form {
    display: grid !important;
    grid-template-rows: auto auto minmax(0, 1fr) auto !important;
    gap: 12px !important;
    min-height: 0 !important;
    padding: 14px !important;
}

html body .vario-ksef-form-grid,
html[data-vario-theme] body .vario-ksef-form-grid {
    display: grid !important;
    grid-template-columns: minmax(150px, 190px) minmax(150px, 190px) minmax(180px, 240px) !important;
    gap: 10px 12px !important;
    align-items: start !important;
}

html body .vario-ksef-form-grid label,
html[data-vario-theme] body .vario-ksef-form-grid label {
    display: grid !important;
    gap: 4px !important;
    min-width: 0 !important;
}

html body .vario-ksef-form-grid label>span,
html[data-vario-theme] body .vario-ksef-form-grid label>span {
    overflow: hidden !important;
    color: #12335f !important;
    font: 900 10.5px/12px Inter, "Segoe UI", Arial, sans-serif !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

html body .vario-ksef-form-grid input,
html[data-vario-theme] body .vario-ksef-form-grid input {
    width: 100% !important;
    height: 27px !important;
    min-height: 27px !important;
    padding: 3px 9px !important;
    border: 1px solid #bfd1e7 !important;
    border-radius: 7px !important;
    background: #ffffff !important;
    color: #061b3f !important;
    font: 800 11px/15px Inter, "Segoe UI", Arial, sans-serif !important;
}

html body .vario-ksef-form-grid input:focus,
html[data-vario-theme] body .vario-ksef-form-grid input:focus {
    border-color: #7daaf3 !important;
    box-shadow: none !important;
    outline: none !important;
}

html body .vario-ksef-form-help,
html[data-vario-theme] body .vario-ksef-form-help {
    max-width: 680px !important;
    padding: 9px 10px !important;
    border: 1px solid #d8e4f2 !important;
    border-radius: 7px !important;
    background: #f7faff !important;
    color: #3f5572 !important;
    font: 700 11px/15px Inter, "Segoe UI", Arial, sans-serif !important;
}

html body .vario-ksef-card-footer,
html[data-vario-theme] body .vario-ksef-card-footer {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
    padding-top: 4px !important;
    align-self: end !important;
}

html body .vario-ksef-card-footer .vario-list-document-button,
html[data-vario-theme] body .vario-ksef-card-footer .vario-list-document-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    min-height: 27px !important;
    padding: 4px 12px !important;
    border: 1px solid #bfd1e7 !important;
    border-radius: 7px !important;
    font: 900 11px/15px Inter, "Segoe UI", Arial, sans-serif !important;
    white-space: nowrap !important;
}

html body .vario-ksef-card-footer .vario-list-document-button.primary,
html[data-vario-theme] body .vario-ksef-card-footer .vario-list-document-button.primary {
    border-color: #1263f1 !important;
    background: #1263f1 !important;
    color: #ffffff !important;
    box-shadow: 0 7px 16px rgba(18, 99, 241, 0.2) !important;
}

html body .vario-ksef-card-footer .vario-list-document-button.secondary,
html[data-vario-theme] body .vario-ksef-card-footer .vario-list-document-button.secondary {
    background: #ffffff !important;
    color: #28415f !important;
}

html body .vario-ksef-card-footer .vario-list-document-button:disabled,
html[data-vario-theme] body .vario-ksef-card-footer .vario-list-document-button:disabled {
    cursor: not-allowed !important;
    opacity: 0.58 !important;
}

html body .vario-ksef-card-footer .vario-list-document-button .nav-icon,
html[data-vario-theme] body .vario-ksef-card-footer .vario-list-document-button .nav-icon {
    width: 13px !important;
    height: 13px !important;
}

html body .vario-ksef-empty,
html[data-vario-theme] body .vario-ksef-empty {
    display: grid !important;
    place-content: center !important;
    gap: 4px !important;
    min-height: 220px !important;
    padding: 18px !important;
    text-align: center !important;
}

html body .vario-ksef-empty strong,
html[data-vario-theme] body .vario-ksef-empty strong {
    color: #071b3d !important;
    font: 900 15px/18px Inter, "Segoe UI", Arial, sans-serif !important;
}

html body .vario-ksef-empty span,
html[data-vario-theme] body .vario-ksef-empty span {
    color: #526987 !important;
    font: 700 11px/15px Inter, "Segoe UI", Arial, sans-serif !important;
}

html body .vario-ksef-side-panel,
html[data-vario-theme] body .vario-ksef-side-panel {
    display: grid !important;
    align-content: start !important;
    gap: 10px !important;
    padding: 12px !important;
    overflow-y: auto !important;
}

html body .vario-ksef-status-card,
html[data-vario-theme] body .vario-ksef-status-card {
    display: grid !important;
    gap: 4px !important;
    min-width: 0 !important;
    padding: 10px 11px !important;
    border: 1px solid #d8e4f2 !important;
    border-left: 4px solid #7a8ca5 !important;
    border-radius: 8px !important;
    background: #ffffff !important;
}

html body .vario-ksef-status-card.status-success,
html[data-vario-theme] body .vario-ksef-status-card.status-success {
    border-left-color: #20a464 !important;
    background: #f5fff9 !important;
}

html body .vario-ksef-status-card.status-warning,
html[data-vario-theme] body .vario-ksef-status-card.status-warning {
    border-left-color: #f59e0b !important;
    background: #fffaf0 !important;
}

html body .vario-ksef-status-card.status-primary,
html[data-vario-theme] body .vario-ksef-status-card.status-primary {
    border-left-color: #1263f1 !important;
    background: #f5f8ff !important;
}

html body .vario-ksef-status-card.status-danger,
html[data-vario-theme] body .vario-ksef-status-card.status-danger {
    border-left-color: #dc2626 !important;
    background: #fff5f6 !important;
}

html body .vario-ksef-status-card span,
html[data-vario-theme] body .vario-ksef-status-card span {
    color: #526987 !important;
    font: 900 10px/12px Inter, "Segoe UI", Arial, sans-serif !important;
    text-transform: uppercase !important;
}

html body .vario-ksef-status-card strong,
html[data-vario-theme] body .vario-ksef-status-card strong {
    overflow: hidden !important;
    color: #071b3d !important;
    font: 900 14px/17px Inter, "Segoe UI", Arial, sans-serif !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

html body .vario-ksef-status-card small,
html[data-vario-theme] body .vario-ksef-status-card small {
    color: #526987 !important;
    font: 700 11px/15px Inter, "Segoe UI", Arial, sans-serif !important;
}

html body .vario-ksef-admin-dialog .modal-content,
html[data-vario-theme] body .vario-ksef-admin-dialog .modal-content {
    border: 1px solid #134f8c !important;
    border-radius: 10px !important;
    box-shadow: 0 24px 70px rgba(2, 20, 47, 0.28) !important;
    overflow: hidden !important;
}

html body .vario-ksef-admin-dialog .modal-header,
html[data-vario-theme] body .vario-ksef-admin-dialog .modal-header {
    min-height: 50px !important;
    padding: 10px 12px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16) !important;
    color: #ffffff !important;
    background: #134f8c !important;
}

html body .vario-ksef-admin-dialog .modal-header h5,
html[data-vario-theme] body .vario-ksef-admin-dialog .modal-header h5 {
    margin: 0 !important;
    color: #ffffff !important;
    font: 900 15px/18px Inter, "Segoe UI", Arial, sans-serif !important;
}

html body .vario-ksef-admin-dialog .modal-header small,
html[data-vario-theme] body .vario-ksef-admin-dialog .modal-header small {
    color: #dceaff !important;
    font: 750 10.5px/14px Inter, "Segoe UI", Arial, sans-serif !important;
}

html body .vario-ksef-admin-dialog .modal-body,
html[data-vario-theme] body .vario-ksef-admin-dialog .modal-body {
    padding: 10px !important;
    background: #f6f9fd !important;
}

html body .vario-ksef-admin-dialog-grid,
html[data-vario-theme] body .vario-ksef-admin-dialog-grid {
    display: grid !important;
    gap: 8px !important;
}

html body .vario-ksef-admin-dialog-card,
html[data-vario-theme] body .vario-ksef-admin-dialog-card {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    gap: 10px !important;
    align-items: start !important;
    padding: 10px !important;
    border: 1px solid #d5e2f2 !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    box-shadow: 0 5px 14px rgba(15, 47, 84, 0.08) !important;
}

html body .vario-ksef-admin-dialog-icon,
html[data-vario-theme] body .vario-ksef-admin-dialog-icon {
    display: inline-grid !important;
    place-items: center !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 8px !important;
    color: #0d6efd !important;
    background: #eaf2ff !important;
}

html body .vario-ksef-admin-dialog-icon .nav-icon,
html[data-vario-theme] body .vario-ksef-admin-dialog-icon .nav-icon {
    width: 16px !important;
    height: 16px !important;
}

html body .vario-ksef-admin-dialog-card h3,
html[data-vario-theme] body .vario-ksef-admin-dialog-card h3 {
    margin: 0 0 2px !important;
    color: #071b3d !important;
    font: 900 13px/16px Inter, "Segoe UI", Arial, sans-serif !important;
}

html body .vario-ksef-admin-dialog-card p,
html[data-vario-theme] body .vario-ksef-admin-dialog-card p {
    margin: 0 0 6px !important;
    color: #526987 !important;
    font: 750 10.5px/14px Inter, "Segoe UI", Arial, sans-serif !important;
}

html body .vario-ksef-admin-dialog-card strong,
html[data-vario-theme] body .vario-ksef-admin-dialog-card strong {
    display: block !important;
    color: #0b2857 !important;
    font: 900 12px/15px Inter, "Segoe UI", Arial, sans-serif !important;
}

html body .vario-ksef-admin-dialog-card small,
html[data-vario-theme] body .vario-ksef-admin-dialog-card small {
    display: block !important;
    color: #63758f !important;
    font: 750 10px/14px Inter, "Segoe UI", Arial, sans-serif !important;
}

html body .vario-ksef-admin-dialog-footer,
html[data-vario-theme] body .vario-ksef-admin-dialog-footer {
    justify-content: flex-start !important;
    min-height: 42px !important;
    padding: 8px 10px !important;
    border-top: 1px solid #dce7f5 !important;
    background: #f8fbff !important;
}

html body .vario-ksef-admin-dialog-footer .btn,
html[data-vario-theme] body .vario-ksef-admin-dialog-footer .btn {
    min-height: 28px !important;
    padding: 3px 12px !important;
    border-radius: 7px !important;
    font: 900 11px/15px Inter, "Segoe UI", Arial, sans-serif !important;
}

@media (max-width: 1180px) {

    html body .vario-ksef-content,
    html[data-vario-theme] body .vario-ksef-content {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    html body .vario-ksef-form-grid,
    html[data-vario-theme] body .vario-ksef-form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 760px) {

    html body .vario-ksef-form-grid,
    html[data-vario-theme] body .vario-ksef-form-grid,
    html body .vario-ksef-card-header,
    html[data-vario-theme] body .vario-ksef-card-header {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    html body .vario-ksef-card-header,
    html[data-vario-theme] body .vario-ksef-card-header {
        display: grid !important;
        justify-items: start !important;
    }
}
