﻿/* Extracted from app/helpers.php themeHeadAssets(). Keep this file as the compatibility baseline. */
html[data-ui-theme="warm-stone"] {
    --theme-bg: #efe8dd;
    --theme-panel: #fff8ee;
    --theme-panel-soft: #fbf1e2;
    --theme-input: #fffdf8;
    --theme-border: #eadfce;
    --theme-border-strong: #d8cdbc;
    --theme-text: #1f2933;
    --theme-muted: #6b5f52;
    --theme-primary: #0f766e;
    --theme-primary-dark: #0d625c;
    --theme-primary-soft: #e5f3e8;
    --theme-success-soft: #e5f3e8;
    --theme-success-text: #0d5d45;
    --theme-error-soft: #fae8e1;
    --theme-error-text: #8a2c18;
    --theme-shadow: rgba(84, 65, 43, 0.12);
}
html[data-ui-theme="soft-sage"] {
    --theme-bg: #edf0e7;
    --theme-panel: #fbfaf4;
    --theme-panel-soft: #f0f3e8;
    --theme-input: #fffef9;
    --theme-border: #d8ddcf;
    --theme-border-strong: #c0c9b6;
    --theme-text: #17231d;
    --theme-muted: #5f6b61;
    --theme-primary: #2f6f5e;
    --theme-primary-dark: #25594b;
    --theme-primary-soft: #e4f0ea;
    --theme-success-soft: #e4f0ea;
    --theme-success-text: #235442;
    --theme-error-soft: #f5e5df;
    --theme-error-text: #83321c;
    --theme-shadow: rgba(58, 76, 61, 0.12);
}
html[data-ui-theme="paper-grey"] {
    --theme-bg: #ebe5dc;
    --theme-panel: #f9f4ec;
    --theme-panel-soft: #f1ece4;
    --theme-input: #fffaf3;
    --theme-border: #d8cfc2;
    --theme-border-strong: #c5baaa;
    --theme-text: #20242a;
    --theme-muted: #66615a;
    --theme-primary: #155e63;
    --theme-primary-dark: #104d51;
    --theme-primary-soft: #e3eff0;
    --theme-success-soft: #e3f0e9;
    --theme-success-text: #135a42;
    --theme-error-soft: #f2e0db;
    --theme-error-text: #7d2b1b;
    --theme-shadow: rgba(61, 55, 48, 0.13);
}
html[data-ui-theme="classic"] {
    --theme-bg: #f3f6fb;
    --theme-panel: #ffffff;
    --theme-panel-soft: #f8fafc;
    --theme-input: #ffffff;
    --theme-border: #e2e8f0;
    --theme-border-strong: #cbd5e1;
    --theme-text: #0f172a;
    --theme-muted: #64748b;
    --theme-primary: #0f766e;
    --theme-primary-dark: #115e59;
    --theme-primary-soft: #ecfdf5;
    --theme-success-soft: #ecfdf5;
    --theme-success-text: #065f46;
    --theme-error-soft: #fef2f2;
    --theme-error-text: #991b1b;
    --theme-shadow: rgba(15, 23, 42, 0.09);
}
html[data-ui-theme="windows"] {
    --theme-bg: #eff6ff;
    --theme-panel: #ffffff;
    --theme-panel-soft: #f3f8ff;
    --theme-input: #ffffff;
    --theme-border: #d7e3f4;
    --theme-border-strong: #b8cce6;
    --theme-text: #102033;
    --theme-muted: #5b6f86;
    --theme-primary: #2563eb;
    --theme-primary-dark: #1d4ed8;
    --theme-primary-soft: #dbeafe;
    --theme-success-soft: #e8f7ee;
    --theme-success-text: #166534;
    --theme-error-soft: #fee2e2;
    --theme-error-text: #991b1b;
    --theme-shadow: rgba(37, 99, 235, 0.11);
}
html[data-ui-theme="simple-light"] {
    --theme-bg: #f7f7f7;
    --theme-panel: #ffffff;
    --theme-panel-soft: #f3f4f6;
    --theme-input: #ffffff;
    --theme-border: #e5e7eb;
    --theme-border-strong: #cbd5e1;
    --theme-text: #111827;
    --theme-muted: #6b7280;
    --theme-primary: #374151;
    --theme-primary-dark: #111827;
    --theme-primary-soft: #eef2f7;
    --theme-success-soft: #ecfdf5;
    --theme-success-text: #047857;
    --theme-error-soft: #fef2f2;
    --theme-error-text: #991b1b;
    --theme-shadow: rgba(17, 24, 39, 0.08);
}
html[data-ui-theme="ocean"] {
    --theme-bg: #e8f4f7;
    --theme-panel: #ffffff;
    --theme-panel-soft: #eef8fa;
    --theme-input: #ffffff;
    --theme-border: #cfe4ea;
    --theme-border-strong: #a7cbd5;
    --theme-text: #102a34;
    --theme-muted: #5a7280;
    --theme-primary: #0e7490;
    --theme-primary-dark: #155e75;
    --theme-primary-soft: #d8f0f5;
    --theme-success-soft: #e1f5ea;
    --theme-success-text: #166044;
    --theme-error-soft: #f8e2df;
    --theme-error-text: #8a2e25;
    --theme-shadow: rgba(14, 116, 144, 0.12);
}
html[data-ui-theme="plum"] {
    --theme-bg: #f3f0f7;
    --theme-panel: #ffffff;
    --theme-panel-soft: #f7f4fb;
    --theme-input: #ffffff;
    --theme-border: #ded6ea;
    --theme-border-strong: #c6b8d9;
    --theme-text: #211829;
    --theme-muted: #6d6275;
    --theme-primary: #7c3f58;
    --theme-primary-dark: #633044;
    --theme-primary-soft: #f2e4ea;
    --theme-success-soft: #e6f4ed;
    --theme-success-text: #176144;
    --theme-error-soft: #f8e2e5;
    --theme-error-text: #8b2430;
    --theme-shadow: rgba(54, 38, 70, 0.12);
}
html[data-ui-theme="copper"] {
    --theme-bg: #f4f2ed;
    --theme-panel: #fffdfa;
    --theme-panel-soft: #f7f1e9;
    --theme-input: #fffefa;
    --theme-border: #ded5c8;
    --theme-border-strong: #c7b6a2;
    --theme-text: #241f1a;
    --theme-muted: #6c6258;
    --theme-primary: #9a4f22;
    --theme-primary-dark: #7c3f1b;
    --theme-primary-soft: #f4e6dc;
    --theme-success-soft: #e7f3e5;
    --theme-success-text: #235d35;
    --theme-error-soft: #f6e2de;
    --theme-error-text: #842919;
    --theme-shadow: rgba(92, 64, 39, 0.13);
}
html[data-ui-theme="graphite"] {
    color-scheme: dark;
    --theme-bg: #111827;
    --theme-panel: #1f2937;
    --theme-panel-soft: #273449;
    --theme-input: #111827;
    --theme-border: #334155;
    --theme-border-strong: #475569;
    --theme-text: #f8fafc;
    --theme-muted: #cbd5e1;
    --theme-primary: #38bdf8;
    --theme-primary-dark: #7dd3fc;
    --theme-primary-soft: #0f2f44;
    --theme-success-soft: #123c2d;
    --theme-success-text: #86efac;
    --theme-error-soft: #4a1d26;
    --theme-error-text: #fecaca;
    --theme-shadow: rgba(0, 0, 0, 0.35);
}
html[data-ui-font="helvetica"] {
    --ui-font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
}
html[data-ui-font="times"] {
    --ui-font-family: "Times New Roman", Times, Georgia, serif;
}
html[data-ui-font="futura"] {
    --ui-font-family: Calibri, Carlito, "Segoe UI", Arial, sans-serif;
}
html[data-ui-font="garamond"] {
    --ui-font-family: Arial, Helvetica, sans-serif;
}
html[data-ui-font="gotham"] {
    --ui-font-family: Gotham, "Gotham SSm", "Aptos Display", Avenir, "Century Gothic", Arial, sans-serif;
}
html[data-ui-font-size="normal"] {
    --ui-body-font-size: 14px;
    --ui-control-font-size: 13px;
    --ui-table-font-size: 13px;
    --ui-small-button-font-size: 12px;
    --ui-tab-font-size: 14px;
    --ui-page-title-font-size: 36px;
    --ui-panel-title-font-size: 26px;
    --ui-card-title-font-size: 17px;
    --ui-section-heading-font-size: 14px;
    --ui-muted-font-size: 13px;
    --ui-sidebar-title-font-size: 11px;
    --ui-sidebar-item-font-size: 13px;
    --ui-sidebar-root-font-size: 14px;
    --ui-sidebar-company-font-size: 15px;
}
html[data-ui-font-size="comfortable"] {
    --ui-body-font-size: 15px;
    --ui-control-font-size: 14px;
    --ui-table-font-size: 14px;
    --ui-small-button-font-size: 13px;
    --ui-tab-font-size: 15px;
    --ui-page-title-font-size: 37px;
    --ui-panel-title-font-size: 27px;
    --ui-card-title-font-size: 18px;
    --ui-section-heading-font-size: 15px;
    --ui-muted-font-size: 14px;
    --ui-sidebar-title-font-size: 12px;
    --ui-sidebar-item-font-size: 14px;
    --ui-sidebar-root-font-size: 15px;
    --ui-sidebar-company-font-size: 16px;
}
html[data-ui-font-size="large"] {
    --ui-body-font-size: 16px;
    --ui-control-font-size: 15px;
    --ui-table-font-size: 15px;
    --ui-small-button-font-size: 14px;
    --ui-tab-font-size: 16px;
    --ui-page-title-font-size: 39px;
    --ui-panel-title-font-size: 29px;
    --ui-card-title-font-size: 19px;
    --ui-section-heading-font-size: 16px;
    --ui-muted-font-size: 15px;
    --ui-sidebar-title-font-size: 13px;
    --ui-sidebar-item-font-size: 15px;
    --ui-sidebar-root-font-size: 16px;
    --ui-sidebar-company-font-size: 17px;
}
html[data-ui-font-size="extra-large"] {
    --ui-body-font-size: 17px;
    --ui-control-font-size: 16px;
    --ui-table-font-size: 16px;
    --ui-small-button-font-size: 15px;
    --ui-tab-font-size: 17px;
    --ui-page-title-font-size: 41px;
    --ui-panel-title-font-size: 31px;
    --ui-card-title-font-size: 20px;
    --ui-section-heading-font-size: 17px;
    --ui-muted-font-size: 16px;
    --ui-sidebar-title-font-size: 14px;
    --ui-sidebar-item-font-size: 16px;
    --ui-sidebar-root-font-size: 17px;
    --ui-sidebar-company-font-size: 18px;
}
html[data-ui-font-size="maximum"] {
    --ui-body-font-size: 18px;
    --ui-control-font-size: 17px;
    --ui-table-font-size: 17px;
    --ui-small-button-font-size: 16px;
    --ui-tab-font-size: 18px;
    --ui-page-title-font-size: 43px;
    --ui-panel-title-font-size: 33px;
    --ui-card-title-font-size: 21px;
    --ui-section-heading-font-size: 18px;
    --ui-muted-font-size: 17px;
    --ui-sidebar-title-font-size: 15px;
    --ui-sidebar-item-font-size: 17px;
    --ui-sidebar-root-font-size: 18px;
    --ui-sidebar-company-font-size: 19px;
}
html[data-ui-font] body,
html[data-ui-font] body *:not(code):not(pre):not(kbd):not(samp) {
    font-family: var(--ui-font-family, inherit) !important;
}
html[data-ui-theme] body {
    background: var(--theme-bg) !important;
    color: var(--theme-text) !important;
    font-family: var(--ui-font-family, inherit) !important;
    font-size: var(--ui-body-font-size, inherit);
}
html[data-ui-theme] body.bee-form-shell:not(.bee-operational-shell) .wrap {
    background: var(--theme-bg) !important;
    border-color: transparent !important;
    box-shadow: none !important;
}
@media screen {
    html[data-ui-theme] body.bee-operational-shell .wrap {
        width: auto !important;
        max-width: 1280px !important;
        margin: 40px auto !important;
        padding: 28px !important;
        border-radius: 18px !important;
        background: var(--theme-panel, #fff) !important;
        box-shadow: 0 20px 40px var(--theme-shadow, rgba(15,23,42,.08)) !important;
    }
    html[data-ui-theme] body.bee-operational-shell.master-data-fullscreen .wrap {
        width: 100% !important;
        max-width: none !important;
        min-height: 100vh !important;
        margin: 0 !important;
        padding: 20px !important;
        border-radius: 0 !important;
        background: var(--theme-panel, #fff) !important;
        box-shadow: none !important;
    }
}
html[data-ui-theme] a {
    color: var(--theme-primary);
}
html[data-ui-theme] a:hover {
    color: var(--theme-primary-dark);
}
html[data-ui-theme] .dashboard-shell,
html[data-ui-theme] .card,
html[data-ui-theme] .panel,
html[data-ui-theme] .profile-panel,
html[data-ui-theme] .modal-content,
html[data-ui-theme] .box,
html[data-ui-theme] .content-card,
html[data-ui-theme] .form-card,
html[data-ui-theme] .table-card,
html[data-ui-theme] .module-card,
html[data-ui-theme] .tax-block,
html[data-ui-theme] body.auth-page .wrap {
    background: var(--theme-panel) !important;
    border-color: var(--theme-border) !important;
    box-shadow: 0 18px 42px var(--theme-shadow);
}
html[data-ui-theme] body.bee-form-shell .panel,
html[data-ui-theme] body.bee-form-shell .form-section,
html[data-ui-theme] body.bee-form-shell .form-section-card,
html[data-ui-theme] body.bee-form-shell .tax-block {
    box-shadow: none !important;
}
html[data-ui-theme] body.bee-form-shell .panel,
html[data-ui-theme] body.bee-form-shell .form-section,
html[data-ui-theme] body.bee-form-shell .form-section-card,
html[data-ui-theme] body.bee-form-shell .form-section-box,
html[data-ui-theme] body.bee-form-shell .summary-card,
html[data-ui-theme] body.bee-form-shell .preview-card,
html[data-ui-theme] body.bee-form-shell .detail-card,
html[data-ui-theme] body.bee-form-shell .tax-block,
html[data-ui-theme] body.bee-form-shell .subpanel,
html[data-ui-theme] .master-content .embedded-module form .panel,
html[data-ui-theme] .master-content .embedded-module form .form-section,
html[data-ui-theme] .master-content .embedded-module .form-section-card,
html[data-ui-theme] .master-content .embedded-module .form-section-box,
html[data-ui-theme] .master-content .embedded-module .standalone-form-shell,
html[data-ui-theme] .master-content .embedded-module .summary-card,
html[data-ui-theme] .master-content .embedded-module .preview-card,
html[data-ui-theme] .master-content .embedded-module .detail-card,
html[data-ui-theme] .master-content .embedded-module .tax-block,
html[data-ui-theme] .master-content .embedded-module .subpanel,
html[data-ui-theme] .master-content .embedded-module .operational-detail,
html[data-ui-theme] .master-content .embedded-module .pod-card {
    border: 1px solid var(--theme-border, #e5e7eb) !important;
    border-radius: 8px !important;
    background: var(--theme-panel, #fff) !important;
    padding: 12px 14px !important;
    margin-bottom: 10px !important;
    box-shadow: none !important;
}
html[data-ui-theme] body.bee-form-shell .panel-head,
html[data-ui-theme] body.bee-form-shell .section-head,
html[data-ui-theme] .master-content .embedded-module form .panel-head,
html[data-ui-theme] .master-content .embedded-module form .section-head,
html[data-ui-theme] .master-content .embedded-module .form-section-card .section-head,
html[data-ui-theme] .master-content .embedded-module .form-section-box .section-head {
    gap: 10px 12px !important;
    margin-bottom: 10px !important;
    align-items: flex-start !important;
}
html[data-ui-theme] body.bee-form-shell .section-title,
html[data-ui-theme] body.bee-form-shell .form-section-title,
html[data-ui-theme] body.bee-form-shell .panel > h2:first-child,
html[data-ui-theme] body.bee-form-shell .panel > h3:first-child,
html[data-ui-theme] .master-content .embedded-module form .section-title,
html[data-ui-theme] .master-content .embedded-module form .form-section-title,
html[data-ui-theme] .master-content .embedded-module form .panel > h2:first-child,
html[data-ui-theme] .master-content .embedded-module form .panel > h3:first-child,
html[data-ui-theme] .master-content .embedded-module .form-section-card > h2:first-child,
html[data-ui-theme] .master-content .embedded-module .form-section-card > h3:first-child,
html[data-ui-theme] .master-content .embedded-module .form-section-box > h2:first-child,
html[data-ui-theme] .master-content .embedded-module .form-section-box > h3:first-child {
    margin: 0 0 10px !important;
    font-size: var(--ui-card-title-font-size, 17px) !important;
    line-height: 1.22 !important;
}
html[data-ui-theme] body.bee-form-shell .module-shell,
html[data-ui-theme] .master-content .embedded-module .module-shell,
html[data-ui-theme] .master-content .embedded-module form {
    gap: 10px !important;
}
html[data-ui-theme] body.bee-form-shell.master-form .wrap > .panel {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}
html[data-ui-theme] .module-card,
html[data-ui-theme] .soft,
html[data-ui-theme] .summary,
html[data-ui-theme] details.profile summary {
    background: var(--theme-panel-soft) !important;
}
html[data-ui-theme] input,
html[data-ui-theme] select,
html[data-ui-theme] textarea,
html[data-ui-theme] button {
    font-family: var(--ui-font-family, inherit) !important;
}
html[data-ui-theme] button {
    font-size: var(--ui-control-font-size, inherit);
}
html[data-ui-theme] input,
html[data-ui-theme] select,
html[data-ui-theme] textarea {
    background: var(--theme-input) !important;
    border-color: var(--theme-border-strong) !important;
    color: var(--theme-text) !important;
    font-size: var(--ui-control-font-size, inherit);
}
html[data-ui-theme] input:focus,
html[data-ui-theme] select:focus,
html[data-ui-theme] textarea:focus {
    border-color: var(--theme-primary) !important;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--theme-primary) 16%, transparent) !important;
    outline: none;
}
html[data-ui-theme] body:not(.auth-page) table {
    font-size: var(--ui-table-font-size, 13px);
}
html[data-ui-theme] body:not(.auth-page) table[data-bee-column-classified="1"]:not(#masterTable) {
    table-layout: auto !important;
}
html[data-ui-theme] body:not(.auth-page) #masterTable[data-bee-column-classified="1"] {
    table-layout: fixed !important;
}
html[data-ui-theme] body:not(.auth-page) th,
html[data-ui-theme] body:not(.auth-page) td {
    vertical-align: middle;
}
html[data-ui-theme] body:not(.auth-page) .bee-col-index {
    width: 1%;
    min-width: 42px;
    max-width: 56px;
    white-space: nowrap !important;
}
html[data-ui-theme] body:not(.auth-page) .bee-col-code,
html[data-ui-theme] body:not(.auth-page) .bee-col-date,
html[data-ui-theme] body:not(.auth-page) .bee-col-status {
    width: 1%;
    white-space: nowrap !important;
}
html[data-ui-theme] body:not(.auth-page) .bee-col-code {
    min-width: 128px;
    max-width: 176px;
}
html[data-ui-theme] body:not(.auth-page) .bee-col-date {
    min-width: 108px;
    max-width: 128px;
}
html[data-ui-theme] body:not(.auth-page) .bee-col-status {
    min-width: 108px;
    max-width: 150px;
}
html[data-ui-theme] body:not(.auth-page) td.bee-col-code,
html[data-ui-theme] body:not(.auth-page) td.bee-col-date,
html[data-ui-theme] body:not(.auth-page) td.bee-col-status {
    overflow: hidden;
    text-overflow: ellipsis;
}
html[data-ui-theme] body:not(.auth-page) .bee-col-amount,
html[data-ui-theme] body:not(.auth-page) .bee-col-qty,
html[data-ui-theme] body:not(.auth-page) .bee-col-number,
html[data-ui-theme] body:not(.auth-page) .numeric-cell {
    width: 1%;
    min-width: 116px;
    max-width: 190px;
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap !important;
}
html[data-ui-theme] body:not(.auth-page) .bee-col-text {
    min-width: 220px;
    max-width: 520px;
    white-space: nowrap !important;
}
html[data-ui-theme] body:not(.auth-page) td.bee-col-text {
    overflow: hidden;
    text-overflow: ellipsis;
}
html[data-ui-theme] body:not(.auth-page) .bee-col-action,
html[data-ui-theme] body:not(.auth-page) .action-cell,
html[data-ui-theme] body:not(.auth-page) .master-action-cell {
    width: 1%;
    min-width: 112px;
    max-width: none;
    overflow: visible !important;
    white-space: nowrap !important;
}
html[data-ui-theme] body:not(.auth-page) .table-scroll,
html[data-ui-theme] body:not(.auth-page) .report-table-shell {
    overflow-x: auto;
}
html[data-ui-theme] body:not(.auth-page) .table-scroll input,
html[data-ui-theme] body:not(.auth-page) .table-scroll select,
html[data-ui-theme] body:not(.auth-page) .table-scroll textarea,
html[data-ui-theme] body:not(.auth-page) .report-table-shell input,
html[data-ui-theme] body:not(.auth-page) .report-table-shell select,
html[data-ui-theme] body:not(.auth-page) .report-table-shell textarea {
    font-size: var(--ui-control-font-size, 13px);
    padding: 8px 10px;
}
html[data-ui-theme] body:not(.auth-page) .btn-small,
html[data-ui-theme] body:not(.auth-page) td .btn,
html[data-ui-theme] body:not(.auth-page) .row-actions .btn {
    font-size: var(--ui-small-button-font-size, 12px);
    line-height: 1;
    padding: 6px 9px;
}
html[data-ui-theme] body:not(.auth-page) .tabs .tab,
html[data-ui-theme] body:not(.auth-page) .section-tab,
html[data-ui-theme] body:not(.auth-page) .subtab,
html[data-ui-theme] body:not(.auth-page) .status-pill,
html[data-ui-theme] body:not(.auth-page) .filter-link,
html[data-ui-theme] body:not(.auth-page) .role-tab,
html[data-ui-theme] body:not(.auth-page) .report-layout-button,
html[data-ui-theme] body:not(.auth-page) .material-tab-button {
    font-size: var(--ui-tab-font-size, 14px);
    line-height: 1;
    white-space: nowrap;
}
html[data-ui-theme] body:not(.auth-page) .tabs .tab,
html[data-ui-theme] body:not(.auth-page) .section-tab,
html[data-ui-theme] body:not(.auth-page) .status-pill,
html[data-ui-theme] body:not(.auth-page) .filter-link,
html[data-ui-theme] body:not(.auth-page) .role-tab,
html[data-ui-theme] body:not(.auth-page) .report-layout-button,
html[data-ui-theme] body:not(.auth-page) .material-tab-button {
    min-height: 32px;
    padding: 8px 13px;
}
html[data-ui-theme] body:not(.auth-page) .section-tab,
html[data-ui-theme] body:not(.auth-page) .status-pill,
html[data-ui-theme] body:not(.auth-page) .filter-link {
    min-height: 0;
    padding: 8px 11px;
    font-weight: 700;
}
html[data-ui-theme] body:not(.auth-page) .subtab {
    padding: 8px 11px;
}
html[data-ui-theme] body:not(.auth-page) .workspace-tab-main {
    font-size: var(--ui-tab-font-size, 14px);
    line-height: 1;
    white-space: nowrap;
}
html[data-ui-font-size] body:not(.auth-page) .master-content,
html[data-ui-font-size] body:not(.auth-page) .master-sidebar,
html[data-ui-font-size] body:not(.auth-page) .embedded-module,
html[data-ui-font-size] body:not(.auth-page) .settings-workspace,
html[data-ui-font-size] body:not(.auth-page) .card,
html[data-ui-font-size] body:not(.auth-page) .panel,
html[data-ui-font-size] body:not(.auth-page) .content-card,
html[data-ui-font-size] body:not(.auth-page) .form-card,
html[data-ui-font-size] body:not(.auth-page) .table-card,
html[data-ui-font-size] body:not(.auth-page) .module-card,
html[data-ui-font-size] body:not(.auth-page) .settings-card {
    font-size: var(--ui-body-font-size, 14px) !important;
}
html[data-ui-font-size] body:not(.auth-page) .settings-header h2,
html[data-ui-font-size] body:not(.auth-page) .embedded-module .module-topbar h2 {
    font-size: var(--ui-panel-title-font-size, 26px) !important;
    line-height: 1.15 !important;
}
html[data-ui-font-size] body:not(.auth-page) .settings-card h3,
html[data-ui-font-size] body:not(.auth-page) .theme-card h3,
html[data-ui-font-size] body:not(.auth-page) .module-card h3,
html[data-ui-font-size] body:not(.auth-page) .content-card h3,
html[data-ui-font-size] body:not(.auth-page) .table-card h3,
html[data-ui-font-size] body:not(.auth-page) .panel h3 {
    font-size: var(--ui-card-title-font-size, 17px) !important;
    line-height: 1.22 !important;
}
html[data-ui-font-size] body:not(.auth-page) .settings-section-title,
html[data-ui-font-size] body:not(.auth-page) .section-title {
    font-size: var(--ui-section-heading-font-size, 14px) !important;
}
html[data-ui-font-size] body:not(.auth-page) .settings-card p,
html[data-ui-font-size] body:not(.auth-page) .theme-card p,
html[data-ui-font-size] body:not(.auth-page) .module-card p,
html[data-ui-font-size] body:not(.auth-page) .content-card p,
html[data-ui-font-size] body:not(.auth-page) .table-card p,
html[data-ui-font-size] body:not(.auth-page) .panel p,
html[data-ui-font-size] body:not(.auth-page) .muted {
    font-size: var(--ui-muted-font-size, 13px) !important;
}
html[data-ui-font-size] body:not(.auth-page) .master-sidebar-title,
html[data-ui-font-size] body:not(.auth-page) .tree-menu-separator,
html[data-ui-font-size] body:not(.auth-page) .master-sidebar-rail-text {
    font-size: var(--ui-sidebar-title-font-size, 11px) !important;
}
html[data-ui-font-size] body:not(.auth-page) .master-tree summary,
html[data-ui-font-size] body:not(.auth-page) .tree-item,
html[data-ui-font-size] body:not(.auth-page) .tree-direct,
html[data-ui-font-size] body:not(.auth-page) .user-menu-copy strong,
html[data-ui-font-size] body:not(.auth-page) .profile-action-button,
html[data-ui-font-size] body:not(.auth-page) .user-menu-action,
html[data-ui-font-size] body:not(.auth-page) .more-menu-panel a {
    font-size: var(--ui-sidebar-item-font-size, 13px) !important;
}
html[data-ui-font-size] body:not(.auth-page) .tree-root-label,
html[data-ui-font-size] body:not(.auth-page) .tree-root-link {
    font-size: var(--ui-sidebar-root-font-size, 14px) !important;
}
html[data-ui-font-size] body:not(.auth-page) .sidebar-company-copy strong {
    font-size: var(--ui-sidebar-company-font-size, 15px) !important;
}
html[data-ui-font-size] body:not(.auth-page) .company-name {
    font-size: calc(var(--ui-panel-title-font-size, 26px) - 2px) !important;
}
html[data-ui-font-size] body:not(.auth-page) .sidebar-company-copy span,
html[data-ui-font-size] body:not(.auth-page) .user-menu-copy small,
html[data-ui-font-size] body:not(.auth-page) .settings-admin span,
html[data-ui-font-size] body:not(.auth-page) .settings-launch-meta {
    font-size: var(--ui-small-button-font-size, 12px) !important;
}
html[data-ui-font-size] body:not(.auth-page) .settings-admin strong,
html[data-ui-font-size] body:not(.auth-page) .settings-admin-action,
html[data-ui-font-size] body:not(.auth-page) .rows-choice span,
html[data-ui-font-size] body:not(.auth-page) .master-search {
    font-size: var(--ui-control-font-size, 13px) !important;
}
@media screen and (min-width: 761px) {
    html[data-ui-theme] body:not(.auth-page) th,
    html[data-ui-theme] body:not(.auth-page) td {
        padding: 7px 8px;
        vertical-align: middle;
        white-space: nowrap;
    }
}
html[data-ui-theme] th {
    background: var(--theme-panel-soft) !important;
    border-color: var(--theme-border) !important;
    color: var(--theme-text) !important;
}
html[data-ui-theme] td {
    border-color: var(--theme-border) !important;
}
html[data-ui-theme] label,
html[data-ui-theme] .tax-meta,
html[data-ui-theme] .tax-row-head,
html[data-ui-theme] .tax-line-number {
    color: var(--theme-muted) !important;
}
html[data-ui-theme] .section-title,
html[data-ui-theme] .panel h2,
html[data-ui-theme] .tax-block h2,
html[data-ui-theme] .content-card h2,
html[data-ui-theme] .table-card h2 {
    color: var(--theme-text) !important;
}
html[data-ui-theme] .tax-lines-wrap {
    background: var(--theme-panel) !important;
    border-color: var(--theme-border) !important;
}
html[data-ui-theme] .tax-row-head,
html[data-ui-theme] .tax-row {
    border-color: var(--theme-border) !important;
}
html[data-ui-theme] body:not(.auth-page) .topbar h1,
html[data-ui-theme] body:not(.auth-page) .form-top-actions h1,
html[data-ui-theme] body:not(.auth-page) .wrap > h1 {
    font-size: var(--ui-page-title-font-size, 36px) !important;
    line-height: 1.12 !important;
    letter-spacing: 0 !important;
    color: var(--theme-text) !important;
}
html[data-ui-theme] .master-sidebar,
html[data-ui-theme] .workspace-tabs-shell,
html[data-ui-theme] .account-identity,
html[data-ui-theme] .company-logo,
html[data-ui-theme] .user-company-logo,
html[data-ui-theme] details.profile summary,
html[data-ui-theme] .settings-launch,
html[data-ui-theme] .logout,
html[data-ui-theme] .sidebar-pin-toggle,
html[data-ui-theme] .sidebar-rail-pin {
    background: var(--theme-panel-soft) !important;
    border-color: var(--theme-border) !important;
    color: var(--theme-text) !important;
}
html[data-ui-theme] .workspace-tab {
    background: var(--theme-panel-soft) !important;
    border-color: var(--theme-border-strong) !important;
    color: var(--theme-muted) !important;
}
html[data-ui-theme] .workspace-tab.active {
    background: var(--theme-primary) !important;
    border-color: var(--theme-primary) !important;
    color: #fff !important;
    box-shadow: 0 10px 22px color-mix(in srgb, var(--theme-primary) 18%, transparent) !important;
}
html[data-ui-theme] .user-menu-avatar {
    background: var(--theme-primary) !important;
    color: #fff !important;
}
html[data-ui-theme] .company-name,
html[data-ui-theme] .profile-panel strong,
html[data-ui-theme] .master-tree summary,
html[data-ui-theme] .tree-root > summary {
    color: var(--theme-text) !important;
}
html[data-ui-theme] .master-tree summary:hover,
html[data-ui-theme] .tree-summary-link:hover,
html[data-ui-theme] .tree-item:hover,
html[data-ui-theme] .tree-direct:hover,
html[data-ui-theme] .user-menu-detail em,
html[data-ui-theme] .master-sidebar-rail-text,
html[data-ui-theme] .profile-actions a {
    color: var(--theme-primary) !important;
}
html[data-ui-theme] .tree-links .tree-direct {
    color: var(--theme-primary) !important;
}
html[data-ui-theme] .tree-menu-separator {
    color: var(--theme-primary) !important;
}
html[data-ui-theme] .tree-menu-separator::before,
html[data-ui-theme] .tree-menu-separator::after {
    background: color-mix(in srgb, var(--theme-primary) 48%, var(--theme-border)) !important;
}
html[data-ui-theme] .tree-branches,
html[data-ui-theme] .tree-items,
html[data-ui-theme] .tree-links,
html[data-ui-theme] .tree-category::before,
html[data-ui-theme] .tree-item::before,
html[data-ui-theme] .tree-links .tree-direct::before,
html[data-ui-theme] .tree-menu-separator,
html[data-ui-theme] .master-sidebar-toolbar,
html[data-ui-theme] .profile-actions {
    border-color: var(--theme-border) !important;
}
html[data-ui-theme] .muted,
html[data-ui-theme] .master-sidebar-title,
html[data-ui-theme] .account-identity span,
html[data-ui-theme] .settings-launch-meta,
html[data-ui-theme] .settings-dropdown-panel p span,
html[data-ui-theme] .profile-panel p {
    color: var(--theme-muted) !important;
}
select.lookup-source {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.lookup-combo {
    position: relative;
    width: 100%;
}
.lookup-combo::after {
    content: "";
    position: absolute;
    right: 12px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--theme-muted, #64748b);
    border-bottom: 2px solid var(--theme-muted, #64748b);
    transform: translateY(-65%) rotate(45deg);
    pointer-events: none;
}
.lookup-input {
    width: 100%;
    box-sizing: border-box;
    padding-right: 34px !important;
}
.lookup-options {
    position: fixed;
    z-index: 2000;
    max-height: min(280px, 45vh);
    overflow: auto;
    padding: 6px;
    border: 1px solid var(--theme-border-strong, #cbd5e1);
    border-radius: 10px;
    background: var(--theme-panel, #fff);
    box-shadow: 0 18px 38px rgba(15, 23, 42, .16);
}
.lookup-option {
    display: block;
    width: 100%;
    padding: 8px 10px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--theme-text, #0f172a);
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    text-align: left;
}
.lookup-option:hover,
.lookup-option.active {
    background: var(--theme-primary-soft, #ecfdf5);
    color: var(--theme-primary-dark, #115e59);
}
.lookup-option.selected {
    font-weight: 800;
}
.lookup-option:disabled {
    cursor: not-allowed;
    color: var(--theme-muted, #64748b);
    opacity: .68;
}
.lookup-option-note {
    padding: 8px 10px;
    color: var(--theme-muted, #64748b);
    font-size: 12px;
    font-weight: 700;
}
html[data-ui-theme] .btn-primary,
html[data-ui-theme] .btn-dark,
html[data-ui-theme] .tab.active,
html[data-ui-theme] .accounting-module .tabs .tab.active,
html[data-ui-theme] .purchasing-module .tabs .tab.active,
html[data-ui-theme] .material-movement-module .tabs .tab.active,
html[data-ui-theme] .sales-module .tabs .tab.active,
html[data-ui-theme] .ledger-module .tabs .tab.active,
html[data-ui-theme] .section-tab.active,
html[data-ui-theme] .subtab.active,
html[data-ui-theme] .status-pill.active,
html[data-ui-theme] .filter-link.active,
html[data-ui-theme] .role-tab.active,
html[data-ui-theme] .report-layout-button.active,
html[data-ui-theme] .page-current,
html[data-ui-theme] .audit-page-current,
html[data-ui-theme] .module-card h3,
html[data-ui-theme] body.auth-page button[type="submit"] {
    background: var(--theme-primary) !important;
    background-color: var(--theme-primary) !important;
    border-color: var(--theme-primary) !important;
    color: #fff !important;
}
html[data-ui-theme] .tab,
html[data-ui-theme] .section-tab,
html[data-ui-theme] .subtab,
html[data-ui-theme] .status-pill,
html[data-ui-theme] .filter-link,
html[data-ui-theme] .role-tab,
html[data-ui-theme] .report-layout-button {
    color: var(--theme-primary) !important;
}
html[data-ui-theme] .subtabs,
html[data-ui-theme] .section-tabs {
    border-color: var(--theme-border) !important;
}
html[data-ui-theme] .material-tab-button.is-active {
    background: var(--theme-primary-soft) !important;
    color: var(--theme-primary-dark) !important;
    box-shadow: inset 0 -3px 0 var(--theme-primary) !important;
}
html[data-ui-theme] .module-card h3 {
    background: transparent !important;
    color: var(--theme-primary) !important;
}
html[data-ui-theme] .alert-success,
html[data-ui-theme] .notice-success {
    background: var(--theme-success-soft) !important;
    color: var(--theme-success-text) !important;
}
html[data-ui-theme] .alert-error,
html[data-ui-theme] .notice-error {
    background: var(--theme-error-soft) !important;
    color: var(--theme-error-text) !important;
}
.bee-floating-success,
html[data-ui-theme] .alert-success,
html[data-ui-theme] .notice-success,
html[data-ui-theme] .sap-toast {
    position: fixed !important;
    left: 50% !important;
    right: auto !important;
    top: 18px !important;
    bottom: auto !important;
    transform: translateX(-50%) !important;
    z-index: 10000 !important;
    width: auto !important;
    min-width: min(480px, calc(100vw - 28px)) !important;
    max-width: min(860px, calc(100vw - 28px)) !important;
    margin: 0 !important;
    padding: 18px 22px 18px 20px !important;
    border: 2px solid currentColor !important;
    border-left-width: 8px !important;
    border-radius: 10px !important;
    box-shadow: 0 26px 70px rgba(15, 23, 42, .34), 0 0 0 1px rgba(255, 255, 255, .78) inset !important;
    font-weight: 900 !important;
    line-height: 1.38 !important;
    text-align: left !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    animation: beeNoticeEnter .18s ease-out, beeNoticePulse 1.05s ease-out .18s 1 !important;
}
.bee-floating-success::before,
html[data-ui-theme] .alert-success::before,
html[data-ui-theme] .notice-success::before,
html[data-ui-theme] .sap-toast::before {
    content: "!" !important;
    flex: 0 0 auto !important;
    width: 24px !important;
    height: 24px !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: currentColor !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    margin-top: -1px !important;
}
.bee-floating-success,
html[data-ui-theme] .alert-success,
html[data-ui-theme] .notice-success,
html[data-ui-theme] .sap-toast.success {
    background: var(--theme-success-soft, #ecfdf5) !important;
    color: var(--theme-success-text, #065f46) !important;
}
html[data-ui-theme] .sap-toast.error,
html[data-ui-theme] .sap-toast:not(.success) {
    background: var(--theme-error-soft, #fef2f2) !important;
    color: var(--theme-error-text, #991b1b) !important;
}
@keyframes beeNoticeEnter {
    from {
        opacity: 0;
        transform: translate(-50%, -12px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}
@keyframes beeNoticePulse {
    0% {
        box-shadow: 0 26px 70px rgba(15, 23, 42, .34), 0 0 0 0 rgba(15, 23, 42, .18), 0 0 0 1px rgba(255, 255, 255, .78) inset;
    }
    100% {
        box-shadow: 0 26px 70px rgba(15, 23, 42, .34), 0 0 0 14px rgba(15, 23, 42, 0), 0 0 0 1px rgba(255, 255, 255, .78) inset;
    }
}
@media print {
    .bee-floating-success,
    html[data-ui-theme] .alert-success,
    html[data-ui-theme] .notice-success,
    html[data-ui-theme] .sap-toast {
        display: none !important;
    }
}
@media (prefers-reduced-motion: reduce) {
    .bee-floating-success,
    html[data-ui-theme] .alert-success,
    html[data-ui-theme] .notice-success,
    html[data-ui-theme] .sap-toast {
        animation: none !important;
    }
}
@media screen and (max-width: 760px) {
    html[data-ui-theme] body.bee-operational-shell .wrap {
        margin: 16px !important;
        padding: 18px !important;
        border-radius: 18px !important;
    }
    html[data-ui-theme] body.bee-operational-shell.master-data-fullscreen .wrap {
        margin: 0 !important;
        padding: 12px !important;
        border-radius: 0 !important;
    }
}
.row-actions {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: visible;
    z-index: 1;
    width: max-content;
    max-width: none;
    white-space: nowrap;
}
.row-actions form {
    margin: 0;
    overflow: visible;
    display: inline-flex;
    flex: 0 0 auto;
}
.row-actions:hover,
.row-actions:focus-within {
    z-index: 50;
}
td:has(.icon-action),
th:has(.icon-action) {
    overflow: visible !important;
}
td:has(.row-actions),
th:has(.row-actions),
td:has(.icon-action),
th:has(.icon-action),
.action-cell,
.master-action-cell {
    width: 1%;
    min-width: 76px;
    max-width: none;
    overflow: visible !important;
    white-space: nowrap !important;
}
.inline-actions,
.opening-table-actions {
    display: inline-flex;
    flex-wrap: nowrap !important;
    align-items: center;
    gap: 8px;
    width: max-content;
    max-width: none;
    white-space: nowrap;
}
.icon-action {
    position: relative;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    padding: 0;
    border-radius: 9px;
    border: 1px solid var(--theme-border, #dbe7e3);
    background: var(--theme-panel-soft, #f4f8f6);
    color: var(--theme-primary, #0f766e);
    cursor: pointer;
    text-decoration: none;
    font: inherit;
    vertical-align: middle;
}
.icon-action svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.icon-action:hover,
.icon-action:focus-visible {
    background: var(--theme-primary-soft, #e7f3ef);
    border-color: var(--theme-primary, #0f766e);
    outline: none;
}
.icon-action.danger {
    color: #b91c1c;
    background: #fef2f2;
    border-color: #fecaca;
}
.icon-action.danger:hover,
.icon-action.danger:focus-visible {
    background: #fee2e2;
    border-color: #fca5a5;
}
.icon-action.success {
    color: #047857;
    background: #ecfdf5;
    border-color: #bbf7d0;
}
.icon-action.success:hover,
.icon-action.success:focus-visible {
    background: #dcfce7;
    border-color: #86efac;
}
.icon-action.warning {
    color: #b45309;
    background: #fffbeb;
    border-color: #fde68a;
}
.icon-action.warning:hover,
.icon-action.warning:focus-visible {
    background: #fef3c7;
    border-color: #fbbf24;
}
.icon-action:disabled,
.icon-action[aria-disabled="true"] {
    opacity: .55;
    cursor: not-allowed;
    filter: grayscale(.25);
}
.icon-action:disabled:hover,
.icon-action:disabled:focus-visible,
.icon-action[aria-disabled="true"]:hover,
.icon-action[aria-disabled="true"]:focus-visible {
    background: var(--theme-panel-soft, #f4f8f6);
    border-color: var(--theme-border, #dbe7e3);
}
.icon-action::after {
    content: attr(aria-label);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 7px);
    transform: translateX(-50%);
    padding: 5px 8px;
    border-radius: 6px;
    background: #111827;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .12s ease;
    z-index: 1000;
}
.row-actions .icon-action::after {
    left: auto;
    right: 0;
    transform: none;
}
.icon-action:hover::after,
.icon-action:focus-visible::after {
    opacity: 1;
}
.theme-setting {
    border-top: 1px solid var(--theme-border, #e2e8f0);
    margin-top: 14px;
    padding-top: 14px;
}
.theme-setting-title {
    display: block;
    color: var(--theme-text, #111827);
    font-weight: 800;
    margin-bottom: 8px;
}
.theme-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}
.theme-choice {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 7px 9px;
    border: 1px solid var(--theme-border, #e2e8f0);
    border-radius: 999px;
    background: var(--theme-panel-soft, #f8fafc);
    color: var(--theme-text, #111827);
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    text-align: left;
}
.theme-choice:hover {
    border-color: var(--theme-primary, #0f766e);
}
.theme-choice[aria-pressed="true"] {
    border-color: var(--theme-primary, #0f766e);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--theme-primary, #0f766e) 14%, transparent);
}
.theme-dot {
    width: 16px;
    height: 16px;
    border-radius: 999px;
    border: 1px solid var(--theme-border-strong, #cbd5e1);
    flex: 0 0 auto;
}

