/*
 * KOL User Engagement Hub — BMMPlay professional design system.
 * This final layer replaces the plugin's older blue/teal theme rules with
 * the same shared light/dark tokens used by the live /demo/ direction.
 */

html .kol-hub-wrapper {
    --kol-hub-canvas: var(--bmm-ui-canvas, #f2f4f1);
    --kol-hub-surface: var(--bmm-ui-surface, #ffffff);
    --kol-hub-surface-raised: var(--bmm-ui-surface-raised, #fbfcfa);
    --kol-hub-surface-muted: var(--bmm-ui-surface-muted, #f7f8f6);
    --kol-hub-surface-strong: var(--bmm-ui-surface-strong, #ecefeb);
    --kol-hub-text: var(--bmm-ui-text, #202722);
    --kol-hub-title: var(--bmm-ui-title, #121713);
    --kol-hub-muted: var(--bmm-ui-muted, #667069);
    --kol-hub-border: var(--bmm-ui-border, #d6dcd6);
    --kol-hub-border-strong: var(--bmm-ui-border-strong, #b9c1ba);
    --kol-hub-green: var(--bmm-ui-green, #496a52);
    --kol-hub-green-strong: var(--bmm-ui-green-strong, #385440);
    --kol-hub-green-soft: var(--bmm-ui-green-soft, #e2ebe3);
    --kol-hub-green-border: var(--bmm-ui-green-border, #a9bbaa);
    --kol-hub-gold: var(--bmm-ui-gold, #766331);
    --kol-hub-red: var(--bmm-ui-red, #8a4c4c);
    --kol-hub-focus: var(--bmm-ui-focus, 0 0 0 3px rgba(73, 106, 82, 0.18));
    --kol-hub-card-shadow: var(--bmm-ui-card-shadow, 0 1px 2px rgba(24, 34, 26, 0.05), 0 6px 18px rgba(24, 34, 26, 0.035));
    --kol-hub-button-bg: var(--bmm-ui-button-bg, linear-gradient(#fbfcfa, #e7eae6));
    --kol-hub-button-text: var(--bmm-ui-button-text, #263029);
    --kol-hub-button-edge: var(--bmm-ui-button-edge, #a8b0aa);
    --kol-hub-button-highlight: var(--bmm-ui-button-highlight, #ffffff);
    --kol-hub-button-shadow: var(--bmm-ui-button-shadow, 0 2px 0 #a8b0aa, 0 3px 6px rgba(25, 35, 28, 0.12));
    --kol-hub-primary-bg: var(--bmm-ui-primary-bg, linear-gradient(#5f7e66, #47624f));
    --kol-hub-primary-text: var(--bmm-ui-primary-text, #ffffff);
    --kol-hub-primary-edge: var(--bmm-ui-primary-edge, #2f4636);
    --kol-hub-primary-highlight: var(--bmm-ui-primary-highlight, #79927f);
    --kol-hub-primary-shadow: var(--bmm-ui-primary-shadow, 0 2px 0 #293e30, 0 3px 7px rgba(31, 51, 37, 0.2));
    --kol-hub-overlay: var(--bmm-ui-overlay, rgba(20, 28, 22, 0.58));
    --kol-hub-radius: var(--bmm-ui-radius, 5px);
    --kol-hub-control-radius: var(--bmm-ui-control-radius, 3px);

    background: transparent !important;
    color: var(--kol-hub-text) !important;
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    margin: 0 auto;
    max-width: var(--bmm-ui-content-max, 1440px);
    width: 100%;
}

/*
 * The customization dialog is rendered beside the wrapper, rather than
 * inside it, so it needs the same local token bridge of its own.
 */
html .kol-hub-modal {
    --kol-hub-canvas: var(--bmm-ui-canvas, #f2f4f1);
    --kol-hub-surface: var(--bmm-ui-surface, #ffffff);
    --kol-hub-surface-raised: var(--bmm-ui-surface-raised, #fbfcfa);
    --kol-hub-surface-muted: var(--bmm-ui-surface-muted, #f7f8f6);
    --kol-hub-surface-strong: var(--bmm-ui-surface-strong, #ecefeb);
    --kol-hub-text: var(--bmm-ui-text, #202722);
    --kol-hub-title: var(--bmm-ui-title, #121713);
    --kol-hub-muted: var(--bmm-ui-muted, #667069);
    --kol-hub-border: var(--bmm-ui-border, #d6dcd6);
    --kol-hub-border-strong: var(--bmm-ui-border-strong, #b9c1ba);
    --kol-hub-green: var(--bmm-ui-green, #496a52);
    --kol-hub-green-strong: var(--bmm-ui-green-strong, #385440);
    --kol-hub-green-soft: var(--bmm-ui-green-soft, #e2ebe3);
    --kol-hub-green-border: var(--bmm-ui-green-border, #a9bbaa);
    --kol-hub-gold: var(--bmm-ui-gold, #766331);
    --kol-hub-red: var(--bmm-ui-red, #8a4c4c);
    --kol-hub-focus: var(--bmm-ui-focus, 0 0 0 3px rgba(73, 106, 82, 0.18));
    --kol-hub-button-bg: var(--bmm-ui-button-bg, linear-gradient(#fbfcfa, #e7eae6));
    --kol-hub-button-text: var(--bmm-ui-button-text, #263029);
    --kol-hub-button-edge: var(--bmm-ui-button-edge, #a8b0aa);
    --kol-hub-button-highlight: var(--bmm-ui-button-highlight, #ffffff);
    --kol-hub-button-shadow: var(--bmm-ui-button-shadow, 0 2px 0 #a8b0aa, 0 3px 6px rgba(25, 35, 28, 0.12));
    --kol-hub-primary-bg: var(--bmm-ui-primary-bg, linear-gradient(#5f7e66, #47624f));
    --kol-hub-primary-text: var(--bmm-ui-primary-text, #ffffff);
    --kol-hub-primary-edge: var(--bmm-ui-primary-edge, #2f4636);
    --kol-hub-primary-highlight: var(--bmm-ui-primary-highlight, #79927f);
    --kol-hub-primary-shadow: var(--bmm-ui-primary-shadow, 0 2px 0 #293e30, 0 3px 7px rgba(31, 51, 37, 0.2));
    --kol-hub-overlay: var(--bmm-ui-overlay, rgba(20, 28, 22, 0.58));
    --kol-hub-radius: var(--bmm-ui-radius, 5px);
    --kol-hub-control-radius: var(--bmm-ui-control-radius, 3px);
}

html .kol-hub-wrapper,
html .kol-hub-wrapper *,
html .kol-hub-modal,
html .kol-hub-modal * {
    box-sizing: border-box;
}

html .kol-hub-header {
    align-items: center;
    background: var(--kol-hub-surface) !important;
    border: 1px solid var(--kol-hub-border) !important;
    border-left: 4px solid var(--kol-hub-green) !important;
    border-radius: var(--kol-hub-radius) !important;
    box-shadow: var(--kol-hub-card-shadow) !important;
    color: var(--kol-hub-text) !important;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    margin: 0 0 16px !important;
    min-height: 110px;
    padding: 20px 24px !important;
}

html .kol-hub-heading {
    min-width: 0;
}

html .kol-hub-eyebrow {
    color: var(--kol-hub-green-strong) !important;
    font-size: 11px !important;
    font-weight: 800;
    letter-spacing: 0.13em;
    line-height: 1.3;
    margin: 0 0 5px !important;
    text-transform: uppercase;
}

html .kol-hub-header h1 {
    color: var(--kol-hub-title) !important;
    font-size: clamp(24px, 2.6vw, 32px) !important;
    font-weight: 760 !important;
    letter-spacing: -0.03em !important;
    line-height: 1.15 !important;
    margin: 0 !important;
}

html .kol-hub-subtitle {
    color: var(--kol-hub-muted) !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
    margin: 8px 0 0 !important;
    max-width: 680px;
}

html .kol-hub-header-actions {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
    margin: 0 !important;
}

html .kol-hub-container {
    background: transparent !important;
    margin: 0 !important;
    max-width: none !important;
    padding: 0 !important;
}

html .kol-hub-modules {
    align-items: start;
    display: grid;
    gap: 16px !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    margin: 0 0 20px !important;
}

html .kol-hub-module {
    background: var(--kol-hub-surface) !important;
    border: 1px solid var(--kol-hub-border) !important;
    border-radius: var(--kol-hub-radius) !important;
    box-shadow: var(--kol-hub-card-shadow) !important;
    color: var(--kol-hub-text) !important;
    cursor: default !important;
    min-width: 0;
    overflow: hidden;
    padding: 0 !important;
    position: relative;
    transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

html .kol-hub-module:hover {
    border-color: var(--kol-hub-border-strong) !important;
    box-shadow: 0 2px 3px rgba(24, 34, 26, 0.08), 0 10px 24px rgba(24, 34, 26, 0.07) !important;
    transform: translateY(-1px);
}

html.dark-mode .kol-hub-module:hover {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.34), 0 12px 28px rgba(0, 0, 0, 0.17) !important;
}

html .kol-hub-module.dragging {
    border-color: var(--kol-hub-green) !important;
    box-shadow: var(--kol-hub-card-shadow), var(--kol-hub-focus) !important;
    cursor: grabbing !important;
    opacity: 0.72;
    transform: scale(0.992);
}

html .kol-hub-module-header {
    align-items: center;
    background: var(--kol-hub-surface-muted) !important;
    border-bottom: 1px solid var(--kol-hub-border) !important;
    cursor: grab;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin: 0 !important;
    min-height: 58px;
    padding: 12px 14px !important;
}

html .kol-hub-module-title {
    align-items: center;
    color: var(--kol-hub-title) !important;
    display: flex;
    font-size: 16px !important;
    font-weight: 760 !important;
    gap: 9px !important;
    letter-spacing: -0.015em;
    line-height: 1.25 !important;
    margin: 0 !important;
    min-width: 0;
}

html .kol-hub-module-title i {
    align-items: center;
    color: var(--kol-hub-green) !important;
    display: inline-flex;
    font-size: 16px !important;
    height: 22px;
    justify-content: center;
    width: 22px;
}

html .kol-hub-module-actions {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    gap: 5px !important;
}

html .kol-hub-module-action-link,
html .kol-hub-module-close,
html .kol-hub-modal-close {
    align-items: center;
    background: var(--kol-hub-button-bg) !important;
    border: 1px solid var(--kol-hub-button-edge) !important;
    border-left-color: var(--kol-hub-button-highlight) !important;
    border-radius: var(--kol-hub-control-radius) !important;
    border-top-color: var(--kol-hub-button-highlight) !important;
    box-shadow: 0 1px 0 var(--kol-hub-button-edge), 0 2px 4px rgba(25, 35, 28, 0.09) !important;
    color: var(--kol-hub-button-text) !important;
    cursor: pointer;
    display: inline-flex;
    font-size: 13px !important;
    height: 30px !important;
    justify-content: center;
    line-height: 1 !important;
    padding: 0 !important;
    text-decoration: none !important;
    transition: filter 120ms ease, transform 120ms ease;
    width: 30px !important;
}

html .kol-hub-module-close,
html .kol-hub-modal-close {
    font-family: Arial, sans-serif;
    font-size: 22px !important;
    font-weight: 400 !important;
}

html .kol-hub-module-action-link:hover,
html .kol-hub-module-close:hover,
html .kol-hub-modal-close:hover {
    color: var(--kol-hub-title) !important;
    filter: brightness(1.04);
    transform: translateY(-1px) !important;
}

html .kol-hub-module-close:hover,
html .kol-hub-modal-close:hover {
    border-color: var(--kol-hub-red) !important;
    color: var(--kol-hub-red) !important;
}

html .kol-hub-module-action-link:focus-visible,
html .kol-hub-module-close:focus-visible,
html .kol-hub-modal-close:focus-visible,
html .kol-hub-btn:focus-visible,
html .kol-hub-module-link:focus-visible {
    box-shadow: var(--kol-hub-focus) !important;
    outline: 1px solid var(--kol-hub-green) !important;
    outline-offset: 1px;
}

html .kol-hub-module-content {
    background: var(--kol-hub-surface) !important;
    color: var(--kol-hub-text) !important;
    padding: 4px 16px 8px !important;
}

html .kol-hub-stat {
    align-items: center;
    border-bottom: 1px solid var(--kol-hub-border) !important;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    min-height: 43px;
    padding: 9px 0 !important;
}

html .kol-hub-stat:last-child {
    border-bottom: 0 !important;
}

html .kol-hub-stat-label {
    color: var(--kol-hub-muted) !important;
    font-size: 13px !important;
    font-weight: 550 !important;
    line-height: 1.4;
}

html .kol-hub-stat-value {
    color: var(--kol-hub-green-strong) !important;
    font-size: 16px !important;
    font-variant-numeric: tabular-nums;
    font-weight: 800 !important;
    line-height: 1.25;
    text-align: right;
}

html .kol-hub-stat-value.green {
    color: var(--kol-hub-green) !important;
}

html .kol-hub-stat-value.orange {
    color: var(--kol-hub-gold) !important;
}

html .kol-hub-stat-value.red {
    color: var(--kol-hub-red) !important;
}

html .kol-hub-module-content > p {
    color: var(--kol-hub-muted) !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    margin: 8px 0 4px !important;
}

html .kol-hub-progress {
    background: var(--kol-hub-surface-strong) !important;
    border: 1px solid var(--kol-hub-border) !important;
    border-radius: 999px !important;
    height: 8px !important;
    margin: 10px 0 7px !important;
    overflow: hidden;
    width: 100%;
}

html .kol-hub-progress-bar {
    background: linear-gradient(90deg, var(--kol-hub-green), var(--kol-hub-green-strong)) !important;
    border-radius: inherit !important;
    height: 100%;
    transition: width 220ms ease;
}

html .kol-hub-progress-bar.warning {
    background: linear-gradient(90deg, var(--kol-hub-gold), #9a8040) !important;
}

html .kol-hub-progress-bar.critical {
    background: linear-gradient(90deg, var(--kol-hub-red), #a65d59) !important;
}

html .kol-hub-module-footer {
    background: var(--kol-hub-surface-muted) !important;
    border-top: 1px solid var(--kol-hub-border) !important;
    display: flex;
    gap: 9px !important;
    margin: 0 !important;
    padding: 12px 14px 14px !important;
}

html .kol-hub-module-link,
html .kol-hub-btn {
    align-items: center;
    background: var(--kol-hub-button-bg) !important;
    border: 1px solid var(--kol-hub-button-edge) !important;
    border-left-color: var(--kol-hub-button-highlight) !important;
    border-radius: var(--kol-hub-control-radius) !important;
    border-top-color: var(--kol-hub-button-highlight) !important;
    box-shadow: var(--kol-hub-button-shadow) !important;
    color: var(--kol-hub-button-text) !important;
    cursor: pointer;
    display: inline-flex;
    font-size: 13px !important;
    font-weight: 750 !important;
    gap: 7px;
    height: 38px !important;
    justify-content: center;
    line-height: 1 !important;
    min-height: 38px !important;
    padding: 0 14px !important;
    text-align: center;
    text-decoration: none !important;
    text-shadow: none !important;
    transition: filter 120ms ease, box-shadow 120ms ease, transform 120ms ease;
}

html .kol-hub-module-link {
    flex: 1 1 0;
    min-width: 0;
}

html .kol-hub-module-link:hover,
html .kol-hub-btn:hover {
    color: var(--kol-hub-button-text) !important;
    filter: brightness(1.035);
    transform: translateY(-1px);
}

html .kol-hub-module-link:active,
html .kol-hub-btn:active {
    box-shadow: 0 1px 0 var(--kol-hub-button-edge) !important;
    transform: translateY(1px);
}

html .kol-hub-module-link.primary,
html .kol-hub-btn-primary {
    background: var(--kol-hub-primary-bg) !important;
    border-color: var(--kol-hub-primary-edge) !important;
    border-left-color: var(--kol-hub-primary-highlight) !important;
    border-top-color: var(--kol-hub-primary-highlight) !important;
    box-shadow: var(--kol-hub-primary-shadow) !important;
    color: var(--kol-hub-primary-text) !important;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.14) !important;
}

html .kol-hub-module-link.primary:hover,
html .kol-hub-btn-primary:hover {
    color: var(--kol-hub-primary-text) !important;
}

html .kol-hub-customize-btn {
    flex: 0 0 auto;
    min-width: 132px;
}

html .kol-hub-customize-btn i {
    font-size: 13px !important;
    margin: 0 !important;
}

html .kol-hub-btn-secondary {
    background: var(--kol-hub-button-bg) !important;
    color: var(--kol-hub-button-text) !important;
}

html .kol-hub-module[data-module="user_uploads"] {
    display: block !important;
    grid-column: 1 / -1 !important;
}

html .kol-hub-module[data-module="user_uploads"] .kol-hub-module-header {
    grid-column: auto !important;
}

html .kol-hub-module[data-module="user_uploads"] .kol-hub-module-content {
    display: block !important;
}

html .kol-hub-module[data-module="user_uploads"] .kol-hub-module-footer {
    grid-column: auto !important;
}

html .kol-hub-storage-meter {
    background: var(--kol-hub-surface-muted);
    border: 1px solid var(--kol-hub-border);
    border-radius: var(--kol-hub-control-radius);
    margin: 14px 0 4px !important;
    padding: 12px;
}

html .kol-hub-storage-label {
    align-items: center;
    color: var(--kol-hub-muted);
    display: flex;
    font-size: 13px;
    font-weight: 650;
    justify-content: space-between;
}

html .kol-hub-storage-percentage {
    color: var(--kol-hub-green-strong) !important;
    font-variant-numeric: tabular-nums;
    font-weight: 800;
}

html .kol-hub-storage-percentage.warning {
    color: var(--kol-hub-gold) !important;
}

html .kol-hub-storage-percentage.critical {
    color: var(--kol-hub-red) !important;
}

html .kol-hub-file-breakdown {
    border-top: 0 !important;
    display: block !important;
    margin: 12px 0 4px !important;
    padding: 0 !important;
}

html .kol-hub-file-type {
    align-items: center;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid var(--kol-hub-border) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: var(--kol-hub-text) !important;
    display: grid !important;
    gap: 10px;
    grid-template-columns: 30px minmax(0, 1fr) auto;
    min-height: 43px;
    min-width: 0;
    padding: 9px 0 !important;
    text-align: left !important;
    transition: none !important;
}

html .kol-hub-file-type:hover {
    background: transparent !important;
    border-bottom-color: var(--kol-hub-border) !important;
    box-shadow: none !important;
    transform: none !important;
}

html .kol-hub-file-type:last-child {
    border-bottom: 0 !important;
}

html .kol-hub-file-type-icon {
    align-items: center;
    background: var(--kol-hub-green-soft) !important;
    border: 1px solid var(--kol-hub-green-border);
    border-radius: var(--kol-hub-control-radius);
    color: var(--kol-hub-green-strong) !important;
    display: inline-flex;
    height: 28px;
    justify-content: center;
    margin: 0 !important;
    width: 28px;
}

html .kol-hub-file-type-label {
    color: var(--kol-hub-muted) !important;
    font-size: 13px !important;
    font-weight: 550 !important;
    line-height: 1.4;
}

html .kol-hub-file-type-value {
    align-items: baseline;
    color: var(--kol-hub-green-strong) !important;
    display: inline-flex;
    font-size: 14px !important;
    font-variant-numeric: tabular-nums;
    font-weight: 800 !important;
    gap: 5px;
    justify-content: flex-end;
    line-height: 1.25;
    text-align: right;
    white-space: nowrap;
}

html .kol-hub-file-type-count,
html .kol-hub-file-type-size {
    color: inherit !important;
    font: inherit !important;
}

html .kol-hub-file-type-separator {
    color: var(--kol-hub-muted) !important;
    font-weight: 550;
}

html .kol-hub-login-message,
html .kol-hub-notice,
html .kol-hub-loading {
    background: var(--kol-hub-surface) !important;
    border: 1px solid var(--kol-hub-border) !important;
    border-left: 4px solid var(--kol-hub-green) !important;
    border-radius: var(--kol-hub-radius) !important;
    box-shadow: var(--kol-hub-card-shadow) !important;
    color: var(--kol-hub-muted) !important;
    padding: 24px !important;
    text-align: center;
}

html .kol-hub-login-message h2 {
    color: var(--kol-hub-title) !important;
}

html .kol-hub-notice-error {
    background: var(--bmm-ui-danger-bg, #f3e7e6) !important;
    border-color: var(--kol-hub-red) !important;
    color: var(--bmm-ui-danger-text, #7a4242) !important;
}

html .kol-hub-modal {
    align-items: center;
    background: var(--kol-hub-overlay) !important;
    bottom: 0;
    display: none;
    justify-content: center;
    left: 0;
    overflow-y: auto;
    padding: 20px;
    position: fixed;
    right: 0;
    top: 0;
    z-index: var(--bmm-ui-z-modal, 100020);
}

html .kol-hub-modal.open {
    display: flex !important;
}

html .kol-hub-modal-content {
    background: var(--kol-hub-surface) !important;
    border: 1px solid var(--kol-hub-border-strong) !important;
    border-radius: var(--kol-hub-radius) !important;
    box-shadow: 0 18px 56px rgba(18, 27, 20, 0.28) !important;
    color: var(--kol-hub-text) !important;
    margin: auto;
    max-height: calc(100dvh - 40px);
    max-width: 560px !important;
    overflow-y: auto;
    padding: 0 !important;
    width: 100% !important;
}

html.dark-mode .kol-hub-modal-content {
    box-shadow: 0 18px 56px rgba(0, 0, 0, 0.55) !important;
}

html .kol-hub-modal-header {
    align-items: center;
    background: var(--kol-hub-surface-muted) !important;
    border-bottom: 1px solid var(--kol-hub-border) !important;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    padding: 16px 18px !important;
}

html .kol-hub-modal-header h2 {
    color: var(--kol-hub-title) !important;
    font-size: 21px !important;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0 !important;
}

html .kol-hub-modal-header .kol-hub-eyebrow {
    margin-bottom: 3px !important;
}

html .kol-hub-modal-body {
    color: var(--kol-hub-text) !important;
    padding: 18px !important;
}

html .kol-hub-modal-body > p {
    color: var(--kol-hub-muted) !important;
    font-size: 14px !important;
    margin: 0 0 12px !important;
}

html .kol-hub-module-list {
    border: 1px solid var(--kol-hub-border);
    border-radius: var(--kol-hub-control-radius);
    overflow: hidden;
}

html .kol-hub-module-preference {
    align-items: center;
    background: var(--kol-hub-surface) !important;
    border-bottom: 1px solid var(--kol-hub-border) !important;
    color: var(--kol-hub-text) !important;
    cursor: move;
    display: flex !important;
    gap: 10px !important;
    padding: 12px !important;
    transition: background-color 120ms ease, opacity 120ms ease;
}

html .kol-hub-module-preference:last-child {
    border-bottom: 0 !important;
}

html .kol-hub-module-preference:hover {
    background: var(--kol-hub-surface-muted) !important;
}

html .kol-hub-module-preference.is-dragging {
    background: var(--kol-hub-green-soft) !important;
    opacity: 0.68;
}

html .kol-module-drag-handle {
    color: var(--kol-hub-muted) !important;
    cursor: grab;
    flex: 0 0 auto;
    font-size: 20px;
    line-height: 1;
}

html .kol-hub-module-preference label {
    align-items: center;
    color: var(--kol-hub-text) !important;
    cursor: pointer;
    display: flex !important;
    flex: 1;
    font-size: 14px !important;
    font-weight: 650 !important;
    gap: 9px !important;
    margin: 0 !important;
}

html .kol-hub-module-preference input[type="checkbox"] {
    accent-color: var(--kol-hub-green);
    flex: 0 0 auto;
    height: 18px !important;
    margin: 0 !important;
    width: 18px !important;
}

html .kol-hub-modal-footer {
    align-items: center;
    background: var(--kol-hub-surface-muted) !important;
    border-top: 1px solid var(--kol-hub-border) !important;
    display: flex;
    gap: 10px !important;
    justify-content: flex-end;
    padding: 14px 18px 17px !important;
}

@media (max-width: 960px) {
    html .kol-hub-modules {
        grid-template-columns: 1fr !important;
    }

    html .kol-hub-module[data-module="user_uploads"] {
        grid-column: auto !important;
    }
}

@media (max-width: 680px) {
    html .kol-hub-header {
        align-items: stretch;
        flex-direction: column;
        gap: 16px;
        min-height: 0;
        padding: 18px 16px !important;
    }

    html .kol-hub-header h1 {
        font-size: 25px !important;
    }

    html .kol-hub-header-actions,
    html .kol-hub-customize-btn {
        width: 100%;
    }

    html .kol-hub-modules {
        gap: 12px !important;
    }

    html .kol-hub-module:hover {
        transform: none;
    }

    html .kol-hub-module-header {
        padding: 11px 12px !important;
    }

    html .kol-hub-module-content {
        padding: 4px 13px 8px !important;
    }

    html .kol-hub-module-footer {
        flex-direction: column;
        padding: 11px 12px 14px !important;
    }

    html .kol-hub-module-link {
        flex-basis: auto;
        width: 100%;
    }

    html .kol-hub-file-type {
        gap: 8px;
        grid-template-columns: 28px minmax(0, 1fr) auto;
    }

    html .kol-hub-modal {
        align-items: flex-end;
        padding: 10px;
    }

    html .kol-hub-modal-content {
        max-height: calc(100dvh - 20px);
    }

    html .kol-hub-modal-footer {
        align-items: stretch;
        flex-direction: column;
    }

    html .kol-hub-modal-footer .kol-hub-btn {
        width: 100%;
    }
}

@media (max-width: 380px) {
    html .kol-hub-file-type-value {
        font-size: 13px !important;
    }
}
