:root {
}

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

body {
}

a {
}

.layout {
}

.brand {
    margin: 0;
}

.subtle {
}

.panel-head h3 {
    margin: 0;
}

.main {
    flex: 1;
    min-width: 0;
    overflow-y: auto;
    overflow-x: hidden;
    transition: padding-left 240ms ease;
}

.main > * {
}

.main {
    -ms-overflow-style: none;
}

.main::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.page-header {
}

.title h1,
.title h2,
.page-header h1,
.login-panel h1 {
    margin: 0;
    font-size: 34px;
    font-weight: var(--sempo-desktop-weight-heading, 760);
}

.title p,
.page-header p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.eyebrow {
}

.actions {
}

.button {
    background: linear-gradient(180deg, var(--sempo-desktop-surface, rgba(12, 20, 33, 0.96)), var(--sempo-desktop-surface, rgba(8, 14, 24, 0.98)));
}

.button.primary {
}

.button.secondary {
}

.control-select,
.control-input,
.control-date {
    border: 1px solid var(--line);
    background: var(--surface-input);
    color: var(--text);
    padding: 12px 16px;
    border-radius: var(--radius-ui);
    font-size: var(--sempo-mobile-entry-size, 14px);
    min-height: 58px;
}

.control-select.compact {
}

.control-input {
}

.grid {
}

.grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.login-panel {
    background: var(--panel2);
    border: 1px solid var(--line);
    border-radius: var(--radius-panel);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.panel {
}

.card,
.login-panel {
    padding: 18px;
}

.panel-head {
    background: linear-gradient(180deg, var(--sempo-desktop-surface, rgba(14, 24, 40, 0.88)), var(--sempo-desktop-surface, rgba(9, 16, 28, 0.92)));
}

.stat-value,
.v {
    font-size: 22px;
    font-weight: var(--sempo-desktop-weight-control, 700);
    margin-top: 8px;
    line-height: 1.25;
}

.projects {
}

.project {
}

.meta {
}

.tag,
.badge {
}

.road {
}

.list,
.stack {
}

table {
}

th,
td {
    padding: 14px 14px;
    text-align: left;
    font-size: 14px;
    white-space: nowrap;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
}

thead th {
    background: linear-gradient(180deg, var(--sempo-desktop-table-header-background, rgba(14, 24, 40, 0.88)), var(--sempo-desktop-table-header-background, rgba(9, 16, 28, 0.92)));
}

tbody td {
}

.empty-state {
}

.ok {
    color: var(--sempo-desktop-success, #9bf1c7);
}

.warn {
    color: var(--sempo-desktop-warning, #ffd58a);
}

.vio {
    color: var(--sempo-desktop-violet, #d6c2ff);
}

.cyan {
    color: var(--sempo-desktop-info, #a6f2ff);
}

.rose {
    color: var(--sempo-desktop-danger, #ffc1cb);
}

.num {
}

.n-c {
}

.form-stack {
}

label {
}

input {
}

.error {
    color: var(--sempo-desktop-warning, #ffe1a4);
}

.sync-feedback {
}

.sync-feedback.info {
}

.finance-section-tabs {
    margin: -4px 0 18px;
}

.finance-section-tab {
    background: linear-gradient(180deg, var(--sempo-desktop-surface, rgba(12, 20, 33, 0.96)), var(--sempo-desktop-surface, rgba(8, 14, 24, 0.98)));
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.finance-section-tab:hover {
}

.finance-section-tab.active {
}

.counterparty-payment-row {
    padding: 12px 16px;
    border-top: 1px solid var(--line);
}

.counterparty-payment-date {
    font-size: 13px;
    font-weight: var(--sempo-desktop-weight-body, 700);
    line-height: 1.25;
}

.counterparty-payment-date span {
    color: var(--muted);
    font-weight: var(--sempo-desktop-weight-body, 500);
    margin-left: 5px;
}

.counterparty-payment-number {
    color: var(--muted);
    font-size: 12px;
    white-space: nowrap;
}

.counterparty-payment-amount {
    font-size: 14px;
    font-weight: var(--sempo-desktop-weight-body, 760);
    color: var(--sempo-desktop-warning, #ffd58a);
    white-space: nowrap;
}

.counterparty-payment-purpose {
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 8px;
}

.counterparty-payment-empty {
    color: var(--muted);
    font-size: 12px;
}

.finance-detail-panel {
    margin-bottom: 18px;
}

.finance-filters-panel {
    padding: 16px;
    margin-bottom: 18px;
}

.finance-flow-tabs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.finance-flow-tab {
    border: 0;
    background: transparent;
    color: var(--muted);
    padding: 4px 0 7px;
    font: inherit;
    font-size: 14px;
    font-weight: var(--sempo-desktop-weight-control, 700);
    cursor: pointer;
}

.finance-flow-tab.active {
    color: var(--text);
    border-bottom-color: var(--sempo-desktop-primary-border, rgba(96, 165, 250, 0.88));
}

.finance-filters-bottom {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
}

.finance-filters-bottom {
    align-items: flex-end;
}

.finance-filter-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.finance-filter-field span {
    color: var(--muted);
    font-size: 11px;
    font-weight: var(--sempo-desktop-weight-body, 700);
    line-height: 1.2;
}

.finance-filter-field .control-input,
.finance-filter-field .control-select,
.finance-filter-field .control-date {
    min-height: 46px;
    height: 46px;
    width: 100%;
    min-width: 0;
    padding: 10px 14px;
    border-radius: var(--radius-ui);
    font-size: var(--sempo-mobile-entry-size, 13px);
}

.finance-filter-search .control-input {
    min-height: 46px;
    height: 46px;
}

.finance-filter-actions {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    flex: 0 0 auto;
}

.finance-filter-actions .button {
    min-height: 46px;
    height: 46px;
    padding: 0 14px;
    border-radius: var(--radius-ui);
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.finance-filter-search {
    flex: 1 1 auto;
    min-width: 0;
    gap: 0;
}

.finance-ledger-button {
    width: 100%;
    border: 0;
    background: transparent;
    color: var(--text);
    font: inherit;
    cursor: pointer;
    text-align: left;
}

.finance-ledger-cell {
    min-width: 0;
}

.finance-ledger-type {
    display: flex;
    gap: 10px;
    align-items: center;
    font-weight: var(--sempo-desktop-weight-body, 700);
    min-width: 0;
}

.finance-direction-icon {
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: var(--sempo-desktop-weight-heading, 700);
    flex: 0 0 auto;
}

.finance-direction-icon.in {
    color: var(--link-blue);
    background: var(--sempo-desktop-primary-soft, rgba(96, 165, 250, 0.12));
    border: 1px solid var(--sempo-desktop-primary-border, rgba(96, 165, 250, 0.22));
}

.finance-direction-icon.out {
    color: var(--accent-blue);
    background: var(--sempo-desktop-primary-soft, rgba(96, 165, 250, 0.1));
    border: 1px solid var(--sempo-desktop-primary-border, rgba(96, 165, 250, 0.18));
}

.finance-ledger-date {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.finance-ledger-number,
.finance-ledger-amount {
    font-size: 14px;
    font-weight: var(--sempo-desktop-weight-body, 700);
    line-height: 1.35;
}

.finance-ledger-amount.out {
    color: var(--link-blue);
}

.finance-ledger-title {
    font-size: 13px;
    font-weight: var(--sempo-desktop-weight-body, 760);
    margin-bottom: 4px;
    line-height: 1.45;
}

.finance-ledger-subtitle {
    color: var(--muted);
    line-height: 1.45;
    font-size: 12px;
}

.finance-ledger-type span:last-child {
    font-size: 13px;
    line-height: 1.35;
}

.finance-ledger-date > div:first-child,
.finance-ledger-number {
    font-size: 13px;
    font-weight: var(--sempo-desktop-weight-body, 700);
}

.finance-ledger-date .muted {
    font-size: 12px;
    line-height: 1.35;
}

.finance-ledger-tags {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    min-width: 0;
}

.finance-tag-pill.goods {
    background: var(--sempo-desktop-primary-soft, rgba(96, 165, 250, 0.12));
    border-color: var(--sempo-desktop-primary-border, rgba(96, 165, 250, 0.22));
    color: var(--link-blue);
}

.finance-tag-pill.services {
    background: var(--sempo-desktop-primary-soft, rgba(96, 165, 250, 0.1));
    border-color: var(--sempo-desktop-primary-border, rgba(96, 165, 250, 0.2));
    color: var(--sidebar-text);
}

.finance-tag-pill.taxes {
    background: var(--sempo-desktop-primary-soft, rgba(96, 165, 250, 0.09));
    border-color: var(--sempo-desktop-primary-border, rgba(96, 165, 250, 0.18));
    color: var(--link-blue);
}

.finance-tag-pill.personal {
    background: var(--sempo-desktop-primary-soft, rgba(96, 165, 250, 0.08));
    border-color: var(--sempo-desktop-primary-border, rgba(96, 165, 250, 0.16));
    color: var(--sidebar-text);
}

.finance-tag-pill.commission {
    background: var(--sempo-desktop-primary-soft, rgba(96, 165, 250, 0.08));
    border-color: var(--sempo-desktop-primary-border, rgba(96, 165, 250, 0.16));
    color: var(--muted);
}

.finance-tag-pill.fop-expenses {
    background: var(--sempo-desktop-primary-soft, rgba(96, 165, 250, 0.1));
    border-color: var(--sempo-desktop-primary-border, rgba(96, 165, 250, 0.18));
    color: var(--link-blue);
}

.finance-tag-pill {
    padding: 5px 9px;
    font-size: 11px;
}

.finance-tag-picker {
    position: relative;
}

.finance-tag-trigger {
    list-style: none;
    min-width: 28px;
    min-height: 28px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface-input);
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    appearance: none;
}

.finance-tag-trigger.tagged {
    border-color: transparent;
    background: transparent;
    padding: 0;
    min-width: 0;
    min-height: 0;
}

.finance-tag-trigger::-webkit-details-marker {
    display: none;
}

.finance-tag-trigger::marker {
    display: none;
    content: "";
}

.finance-tag-plus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.finance-tag-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 132px;
    border: var(--sempo-select-menu-border, 1px solid var(--line));
    border-radius: var(--sempo-select-menu-radius, var(--radius-ui));
    background: var(--sempo-select-menu-background, linear-gradient(180deg, var(--sempo-desktop-surface, rgba(12, 20, 33, 0.98)), var(--sempo-desktop-surface, rgba(8, 14, 24, 0.99))));
    box-shadow: var(--sempo-select-menu-shadow, var(--shadow));
    padding: var(--sempo-select-menu-padding, 8px);
    display: flex;
    flex-direction: column;
    gap: var(--sempo-select-menu-gap, 6px);
    z-index: 3;
}

.finance-tag-option {
    border: 1px solid transparent;
    background: var(--sempo-desktop-surface, rgba(11, 19, 33, 0.94));
    color: var(--text);
    border-radius: var(--radius-ui);
    padding: 8px 10px;
    text-align: left;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
}

.finance-tag-option:hover {
    background: var(--surface-hover);
    border-color: var(--sempo-desktop-primary-border, rgba(96, 165, 250, 0.22));
}

.finance-tag-option.clear {
    color: var(--sempo-desktop-text-strong, #d8e1f0);
}

.finance-empty-state {
    padding: 28px 20px;
}

.finance-detail-panel {
    padding: 20px;
}

.finance-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 60;
    background: var(--sempo-desktop-backdrop, rgba(2, 5, 10, 0.78));
    backdrop-filter: blur(8px);
    padding: 22px;
    overflow-y: auto;
}

.finance-modal-shell {
    width: min(920px, 100%);
    margin: 0 auto;
    position: relative;
}

.finance-detail-modal {
    margin: 0;
}

.finance-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--sempo-desktop-surface, rgba(10, 18, 30, 0.92));
    color: var(--text);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
}

.finance-detail-header {
    display: flex;
    justify-content: flex-start;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: var(--sempo-mobile-block-gap, 14px);
    padding-right: 44px;
}

.finance-detail-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: var(--sempo-desktop-weight-heading, 760);
}

.finance-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    color: var(--muted);
    margin-top: 10px;
}

.finance-detail-amount {
    font-size: 34px;
    font-weight: var(--sempo-desktop-weight-body, 800);
    line-height: 1.05;
    margin: var(--sempo-mobile-block-gap, 16px) 0 var(--sempo-mobile-block-gap, 22px);
}

.finance-detail-block {
    margin-bottom: var(--sempo-mobile-block-gap, 18px);
}

.finance-detail-label,
.finance-party-field {
    color: var(--muted);
}

.finance-detail-purpose {
    font-size: 15px;
    line-height: 1.5;
    margin-top: 8px;
}

.finance-detail-parties {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr);
    gap: var(--sempo-mobile-block-gap, 14px);
    align-items: center;
}

.finance-party-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-panel);
    background: var(--panel2);
    padding: 18px;
}

.finance-party-arrow {
    font-size: 36px;
    color: var(--muted);
    text-align: center;
}

.finance-party-name {
    font-size: 16px;
    font-weight: var(--sempo-desktop-weight-body, 800);
    margin: 8px 0 16px;
}

.finance-party-field {
    margin-top: 10px;
}

.finance-party-value {
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.45;
}

.finance-detail-footer {
    margin-top: var(--sempo-mobile-block-gap, 18px);
    color: var(--muted);
    font-size: 13px;
}

.login-panel {
    width: min(100%, 460px);
}

.demo-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: var(--muted);
}

.register-upload-form {
    display: flex;
    gap: 14px;
    align-items: flex-end;
}

.registers-list {
    display: flex;
    flex-direction: column;
}

.register-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    padding: 18px 20px;
    border-top: 1px solid var(--line);
    cursor: pointer;
    transition: background 0.18s ease;
}

.register-row:first-child {
    border-top: 0;
}

.register-row:hover {
    background: var(--surface-hover-soft);
}

.register-row-main {
    min-width: 0;
}

.register-row-title {
    font-size: 16px;
    font-weight: var(--sempo-desktop-weight-body, 760);
    margin-bottom: 4px;
}

.register-row-subtitle {
    color: var(--muted);
    font-size: 13px;
}

.register-row-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(110px, 1fr));
    gap: 12px;
    min-width: 520px;
}

.register-row-metric {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: right;
}

.register-row-metric span {
    color: var(--muted);
    font-size: 11px;
    font-weight: var(--sempo-desktop-weight-body, 700);
}

.register-row-metric strong {
    font-size: 14px;
    font-weight: var(--sempo-desktop-weight-body, 760);
}

.register-modal-shell,
.register-detail-modal {
    max-width: 1220px;
}

.register-detail-header {
    margin-bottom: 18px;
}

.register-detail-meta {
    gap: 16px;
}

.register-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--sempo-mobile-block-gap, 12px);
    margin-bottom: var(--sempo-mobile-block-gap, 18px);
}

.register-summary-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-panel);
    padding: 14px 16px;
    background: var(--panel2);
}

.register-summary-value {
    font-size: 15px;
    font-weight: var(--sempo-desktop-weight-body, 700);
    line-height: 1.4;
}

.register-lines-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius-panel);
}

.register-lines-table {
    width: 100%;
    min-width: 1120px;
    border-collapse: collapse;
}

.register-lines-table th,
.register-lines-table td {
    padding: 12px 14px;
    border-top: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
    font-size: 13px;
}

.register-lines-table thead th {
    border-top: 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: var(--sempo-desktop-weight-control, 700);
    background: linear-gradient(180deg, var(--sempo-desktop-table-header-background, rgba(14, 24, 40, 0.88)), var(--sempo-desktop-table-header-background, rgba(9, 16, 28, 0.92)));
    position: sticky;
    top: 0;
}

.warehouse-feedback {
    margin: 18px 18px 0;
    padding: 12px 16px;
    border-radius: var(--radius-ui);
    border: 1px solid var(--line);
    font-size: 14px;
    font-weight: var(--sempo-desktop-weight-body, 600);
    transition: opacity 180ms ease, transform 180ms ease;
}

.hidden {
    display: none !important;
}

@media (max-width: 1400px) {

}

@media (max-width: 1100px) {

    .grid-2,
    .projects {
        grid-template-columns: 1fr;
    }

    .main {
        padding: 18px;
    }

    .title h1,
    .title h2,
    .page-header h1 {
        font-size: 28px;
    }

    .control-input,
    .control-select,
    .control-select.compact {
        min-width: 0;
        width: 100%;
    }

    .page-header {
        flex-direction: column;
    }

    .finance-filters-bottom {
        display: grid;
        grid-template-columns: 1fr;
    }

    .finance-filter-search,
    .finance-filter-actions {
        grid-column: auto;
    }

    .finance-filter-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .finance-filter-actions .button {
        width: 100%;
        text-align: center;
    }

    .finance-detail-header,
    .finance-detail-parties {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .finance-party-arrow {
        display: none;
    }

    .finance-detail-amount {
        font-size: 38px;
    }

    .finance-modal-backdrop {
        padding: 14px;
    }

}

/* Recovered current SEMPO UI layer from the open local app. */
:root { --bg: #02050a; --bg2: #07111b; --sidebar-bg: #121b27; --sidebar-bg-2: #121b27; --sidebar-surface: #121b27; --panel: linear-gradient(180deg, rgba(11, 19, 33, 0.97), rgba(6, 11, 19, 0.99)); --panel2: linear-gradient(180deg, rgba(13, 22, 36, 0.96), rgba(8, 14, 24, 0.98)); --surface-input: rgba(10, 18, 30, 0.94); --surface-hover: rgba(96, 165, 250, 0.08); --surface-hover-soft: rgba(96, 165, 250, 0.06); --line: rgba(96, 165, 250, 0.14); --line-2: rgba(96, 165, 250, 0.12); --line-3: rgba(96, 165, 250, 0.10); --line-4: rgba(96, 165, 250, 0.09); --text: #f3f8ff; --sidebar-text: #eff6ff; --muted: #97aac3; --sidebar-muted: #9cb0c9; --sidebar-secondary: #ccdbef; --accent-blue: #60a5fa; --cta-blue: #2563eb; --link-blue: #93c5fd; --active-sidebar: linear-gradient(90deg, #1d3558, #162844); --button-primary: linear-gradient(180deg, rgba(37, 99, 235, 0.92), rgba(29, 78, 216, 0.98)); --shadow: 0 20px 60px rgba(0, 0, 0, 0.35); --violet: #60a5fa; --cyan: #93c5fd; --emerald: #60a5fa; --amber: #60a5fa; --rose: #93c5fd; --radius-ui: 15px; --radius-panel: 25px; }

body.site-project-view {
    --site-panel: var(--sempo-block-background);
    --site-panel-soft: var(--sempo-block-background);
    --site-line: rgba(135, 196, 210, 0.14);
    --site-border-fade: var(--sempo-framed-border);
    --site-text: #f4f6f8;
    --site-muted: #858b96;
    --site-dim: #626974;
    --site-green: #2fd052;
    --site-red: #ff2538;
    --site-amber: #ffac0a;
    --site-blue: #2389ff;
}

.site-project { display: grid; color: rgb(244, 246, 248); }

.site-project svg { fill: none; stroke: currentcolor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

 .site-project-panel  { border: 1px solid rgba(130, 194, 201, 0.18); border-radius: 7px; background: linear-gradient(rgba(9, 19, 28, 0.92), rgba(5, 11, 17, 0.96)), radial-gradient(circle at 0px 0px, rgba(50, 115, 255, 0.08), transparent 34%); }

.site-project-workspace { display: grid; grid-template-columns: minmax(0px, 1fr); gap: var(--sempo-workspace-gap, 10px); align-items: start; }

.site-project-panel { min-width: 0px; overflow: visible; }

.site-project-table { width: 100%; overflow: hidden; border-radius: 6px; border: 1px solid rgba(130, 194, 201, 0.08); }

.site-project-table .head, .site-project-table .row { display: grid; grid-template-columns: var(--site-column-widths, 34px minmax(0px, 1.45fr) minmax(0px, 0.58fr) minmax(0px, 0.64fr) minmax(0px, 0.72fr) 110px 80px minmax(0px, 0.74fr) 124px); align-items: center; width: var(--site-table-width, 100%); min-width: var(--site-table-width, 0px); column-gap: 9px; border-bottom: 1px solid rgba(130, 194, 201, 0.08); }

.site-project-table .head { padding: 0px 10px; background: rgba(130, 194, 201, 0.07); color: rgb(159, 168, 179); font-size: 12px; font-weight: var(--sempo-desktop-weight-control, 620); }

.site-project-table .row { min-height: 66px; padding: 7px 10px; color: rgb(223, 229, 237); font-size: 13px; }

.site-project-table .row.selected { background: rgba(130, 194, 201, 0.08); }

.site-project-table .row > div, .site-project-table .head > span { min-width: 0px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.site-project-table .row > .site-project-check, .site-project-table .head > .site-project-check, .site-project-table .row > .site-project-row-actions, .site-project-table .row > .site-project-status-cell, .site-project-table .head > span:last-child { overflow: visible; }

.site-project-check { display: grid; place-items: center; }

.site-project-check input { width: 18px; height: 18px; margin: 0px; accent-color: rgb(255, 37, 56); }

.site-project-page-name { display: flex; align-items: center; gap: 10px; white-space: normal; }

.site-project-page-thumb { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 42px; overflow: hidden; border: 1px solid rgba(130, 194, 201, 0.12); border-radius: 6px; background: rgba(255, 255, 255, 0.05); }

.site-project-page-thumb img { width: 100%; height: 100%; object-fit: cover; }

.site-project-page-thumb svg { width: 22px; height: 22px; color: rgb(199, 206, 216); }

.site-project-page-name strong, .site-project-page-name small { display: block; min-width: 0px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.site-project-page-name strong { color: rgb(245, 248, 252); font-weight: var(--sempo-desktop-weight-body, 700); }

.site-project-page-name small { margin-top: 2px; color: rgb(143, 152, 164); font-size: 12px; }

.site-project-page-text { display: grid; gap: 2px; min-width: 0px; }

.site-project-page-url { color: rgb(190, 226, 232); font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 12px; }

.site-project-page-url-list { display: grid; gap: 4px; line-height: 1.15; }

.site-project-page-url-list span { display: flex; align-items: center; gap: 6px; min-width: 0px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.site-project-page-url-list b { min-width: 22px; color: rgb(143, 152, 164); font-size: 10px; font-weight: var(--sempo-desktop-weight-body, 800); }

.site-project-page-category { color: rgb(211, 218, 227); }

.site-project-page-updated { display: grid; gap: 2px; line-height: 1.2; }

.site-project-page-updated small { color: rgb(127, 135, 147); font-size: 11px; }

.site-project-type { min-height: 24px; display: inline-flex; align-items: center; padding: 0px 10px; border-radius: 6px; background: rgba(96, 165, 250, 0.12); color: rgb(135, 186, 255); font-style: normal; font-size: 12px; font-weight: var(--sempo-desktop-weight-body, 700); }

.site-project-type--purple { background: rgba(168, 85, 247, 0.14); color: rgb(218, 184, 255); }

.site-project-type--green { background: rgba(47, 208, 82, 0.12); color: rgb(135, 224, 146); }

.site-project-type--amber { background: rgba(255, 172, 10, 0.12); color: rgb(255, 197, 86); }

.site-project-type--gray { background: rgba(148, 163, 184, 0.12); color: rgb(197, 207, 219); }

.site-page-status { min-height: 24px; display: inline-flex; align-items: center; gap: 7px; padding: 0px 10px; border-radius: 6px; background: rgba(47, 208, 82, 0.12); color: rgb(116, 220, 130); font-style: normal; font-size: 12px; font-weight: var(--sempo-desktop-weight-control, 650); }

.site-page-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentcolor; }

.site-page-status--draft { background: rgba(255, 172, 10, 0.14); color: rgb(255, 179, 64); }

.site-project-status-cell { white-space: normal; }

.site-project-status-list { display: flex; gap: 5px; align-items: center; flex-wrap: wrap; min-width: 0px; }

.site-project-status-row { min-height: 24px; display: inline-flex; align-items: center; gap: 7px; max-width: 100%; padding: 0px 9px; border-radius: 6px; background: rgba(47, 208, 82, 0.12); color: rgb(116, 220, 130); font-size: 12px; font-weight: var(--sempo-desktop-weight-body, 700); text-decoration: none; }

.site-project-status-row::before { content: ""; width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: currentcolor; }

.site-project-status-row b { color: rgb(244, 247, 251); font-size: 10px; font-weight: var(--sempo-desktop-weight-body, 850); letter-spacing: 0; }

.site-project-status-row span { min-width: 0px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.site-project-status-row--draft { background: rgba(255, 172, 10, 0.14); color: rgb(255, 179, 64); }

.site-seo-score { min-height: 27px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0px 8px; border: 1px solid rgba(130, 194, 201, 0.13); border-radius: 6px; background: rgba(130, 194, 201, 0.06); color: rgb(203, 211, 221); font-style: normal; }

.site-seo-score span { min-width: 26px; color: currentcolor; font-size: 13px; font-weight: var(--sempo-desktop-weight-body, 800); text-align: center; }

.site-seo-score small { display: none; color: currentcolor; font-size: 11px; font-weight: var(--sempo-desktop-weight-body, 560); }

.site-seo-score--good { border-color: rgba(47, 208, 82, 0.26); background: rgba(47, 208, 82, 0.09); color: rgb(116, 220, 130); }

.site-seo-score--warning { border-color: rgba(255, 172, 10, 0.3); background: rgba(255, 172, 10, 0.1); color: rgb(255, 179, 64); }

.site-seo-score--neutral { border-color: rgba(96, 165, 250, 0.24); color: rgb(158, 213, 218); }

.site-seo-score--muted { color: rgb(133, 141, 152); }

.site-project-row-actions { display: flex; align-items: center; justify-content: flex-end; gap: 5px; }

.site-project-row-actions a, .site-project-row-actions button:not(.orders-row-view-button) { width: 29px; height: 29px; min-height: 29px; display: grid; place-items: center; padding: 0px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: rgb(203, 211, 221); font: inherit; font-size: 18px; line-height: 1; }

.site-project-row-actions a:hover, .site-project-row-actions button:not(.orders-row-view-button):hover { border-color: rgba(130, 194, 201, 0.2); background: rgba(130, 194, 201, 0.06); color: rgb(244, 247, 251); }

.site-project-row-actions a svg, .site-project-row-actions button svg { width: 16px; height: 16px; }

@media (min-width: 1024px) and (max-width: 1279px) {

  .site-project-table .head, .site-project-table .row { grid-template-columns: var(--site-column-widths, 32px minmax(0px, 1.32fr) minmax(0px, 0.56fr) minmax(0px, 0.62fr) minmax(0px, 0.68fr) 110px 80px minmax(0px, 0.68fr) 112px); column-gap: 7px; }
}

@media (min-width: 768px) and (max-width: 1023px) {

  .site-project-workspace { grid-template-columns: minmax(0px, 1fr); }
  .site-project-table { overflow-x: auto; }
  .site-project-table .head, .site-project-table .row { min-width: var(--site-table-width, 1080px); }
}

@media (min-width: 320px) and (max-width: 767px) {

  .site-project-workspace { grid-template-columns: minmax(0px, 1fr); }
  .site-project-table { overflow-x: auto; }
  .site-project-table .head, .site-project-table .row { min-width: var(--site-table-width, 980px); grid-template-columns: var(--site-column-widths, 34px minmax(210px, 1.4fr) minmax(108px, 0.75fr) minmax(102px, 0.68fr) minmax(128px, 0.8fr) 110px 68px minmax(120px, 0.8fr) 118px); }
}

body.dashboard-view { --dash-bg: #03070a; --dash-bg-deep: #020507; --dash-panel: linear-gradient(180deg, #071218 0%, #040A0E 100%); --dash-panel-soft: linear-gradient(180deg, #08141A 0%, #050B10 100%); --dash-panel-lift: #071218; --dash-line: rgba(135, 196, 210, 0.14); --dash-line-strong: rgba(158, 218, 230, 0.22); --dash-border-fade: linear-gradient(
        180deg,
        rgba(132, 207, 197, 0.42) 0%,
        rgba(116, 188, 187, 0.32) 24%,
        rgba(92, 154, 160, 0.16) 52%,
        rgba(72, 124, 132, 0.045) 74%,
        rgba(72, 124, 132, 0) 100%
    ); --dash-text: #f4f6f8; --dash-muted: #858b96; --dash-dim: #626974; --dash-red: #ff2538; --dash-green: #2fd052; --dash-blue: #2389ff; --dash-teal: #12c4b5; --dash-purple: #b13ae3; --dash-amber: #ffac0a; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif; background: linear-gradient(180deg, var(--dash-bg) 0%, var(--dash-bg-deep) 100%); }

body.dashboard-view .layout { background: transparent; }

body.dashboard-view .main { padding: 16px 20px 14px; background: linear-gradient(var(--sempo-desktop-canvas, rgb(3, 7, 10)) 0%, var(--sempo-desktop-canvas, rgb(2, 5, 7)) 100%); }

* { box-sizing: border-box; }

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

body { font-family: Manrope, "Segoe UI", sans-serif; color: var(--text); overflow: hidden; background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%); }

a { color: inherit; text-decoration: none; }

.layout { height: 100vh; min-height: 100vh; display: flex; overflow: hidden; position: relative; }

.brand { margin: 0px; font-size: 20px; letter-spacing: 0.4px; }

.subtle { color: var(--muted); line-height: 1.5; }

.panel-head h3 { margin: 0px; }

.main { flex: 1 1 0%; min-width: 0px; height: 100vh; padding: 28px; position: relative; overflow: hidden auto; overscroll-behavior: contain; background: radial-gradient(circle at 42% 14%, var(--sempo-desktop-primary-soft, rgba(96, 165, 250, 0.07)), transparent 24%),
        radial-gradient(circle at 84% 10%, var(--sempo-desktop-primary-soft, rgba(96, 165, 250, 0.05)), transparent 22%),
        linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%); transition: padding-left 240ms; }

.main::before { display: none; }

.main > * { position: relative; z-index: 1; }

.main { scrollbar-width: none; }

.main::-webkit-scrollbar { width: 0px; height: 0px; display: none; }

.page-header { display: flex; gap: 20px; justify-content: space-between; }

.title h1, .title h2, .page-header h1, .login-panel h1 { margin: 0px; font-size: 34px; font-weight: var(--sempo-desktop-weight-heading, 760); }

.title p, .page-header p { margin: 8px 0px 0px; color: var(--muted); font-size: 14px; }

.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 12px; color: var(--accent-blue); font-weight: var(--sempo-desktop-weight-body, 700); margin-bottom: 6px; }

.actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: flex-end; }

.button { border: 1px solid var(--line); background: linear-gradient(var(--sempo-desktop-surface, rgba(12, 20, 33, 0.96)), var(--sempo-desktop-surface, rgba(8, 14, 24, 0.98))); color: var(--text); padding: 12px 16px; border-radius: var(--radius-ui); font-size: 14px; cursor: pointer; font-weight: var(--sempo-desktop-weight-control, 600); }

.button.primary { background: var(--button-primary); border-color: var(--sempo-desktop-primary-border, rgba(96, 165, 250, 0.22)); }

.button.secondary { width: 100%; margin-top: 12px; }

.control-select, .control-input, .control-date { border: 1px solid var(--line); background: var(--surface-input); color: var(--text); padding: 12px 16px; border-radius: var(--radius-ui); font-size: var(--sempo-mobile-entry-size, 14px); min-height: 58px; }

.control-select { min-width: 204px; }

.control-select.compact { min-width: 190px; min-height: 48px; padding: 10px 14px; }

.control-input { min-width: 360px; max-width: 100%; }

.control-date { min-width: 180px; }

.grid { display: grid; margin-bottom: var(--sempo-workspace-gap, 18px); }

.grid-2 { grid-template-columns: repeat(2, minmax(0px, 1fr)); }

.card, .login-panel { background: var(--panel2); border: 1px solid var(--sempo-mobile-surface-border, var(--line)); border-radius: var(--radius-panel); box-shadow: var(--shadow); overflow: hidden; }

.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-panel); box-shadow: var(--shadow); overflow: hidden; }

.card, .login-panel { padding: 18px; }

.panel-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 18px 14px; border-bottom: 1px solid var(--line); background: linear-gradient(var(--sempo-desktop-surface, rgba(14, 24, 40, 0.88)), var(--sempo-desktop-surface, rgba(9, 16, 28, 0.92))); }

.panel-head span,
.stat-label,
.muted { color: var(--muted); }

.panel-body { padding: 18px; }

.stat-value, .v { font-size: 22px; font-weight: var(--sempo-desktop-weight-control, 700); margin-top: 8px; line-height: 1.25; }

.projects { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.project { background: var(--panel2); border: 1px solid var(--line); border-radius: var(--radius-panel); padding: 16px; }

.meta { display: flex; justify-content: space-between; gap: 12px; }

.tag,
.badge { border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; font-weight: var(--sempo-desktop-weight-body, 600); white-space: nowrap; }

.road { background: var(--panel2); border: 1px solid var(--line); border-radius: var(--radius-panel); padding: 13px 14px; color: var(--text); }

.list,
.stack { display: flex; flex-direction: column; gap: 10px; }

.simple-list { margin: 0px; color: var(--text); line-height: 1.8; }

table { width: max-content; min-width: 1580px; }

th, td { padding: 14px; text-align: left; font-size: 14px; white-space: nowrap; box-sizing: border-box; overflow: hidden; text-overflow: ellipsis; }

thead th { color: var(--muted); font-weight: var(--sempo-desktop-weight-control, 600); background: linear-gradient(var(--sempo-desktop-table-header-background, rgba(14, 24, 40, 0.88)), var(--sempo-desktop-table-header-background, rgba(9, 16, 28, 0.92))); border-bottom: 1px solid var(--line); }

.sr-only { padding: 0px; clip: rect(0px, 0px, 0px, 0px); border: 0px; }

tbody td { border-top: 1px solid var(--line); color: var(--text); }

tbody tr:hover { background: var(--surface-hover-soft); }

.empty-state { text-align: center; color: var(--muted); padding: 26px 14px; }

.ok { background: var(--sempo-desktop-primary-soft, rgba(16, 185, 129, 0.14)); border-color: var(--sempo-desktop-primary-border, rgba(16, 185, 129, 0.28)); color: var(--sempo-desktop-success, rgb(155, 241, 199)); }

.warn { background: var(--sempo-desktop-warning-soft, rgba(245, 158, 11, 0.14)); border-color: var(--sempo-desktop-warning-border, rgba(245, 158, 11, 0.28)); color: var(--sempo-desktop-warning, rgb(255, 213, 138)); }

.vio { background: var(--sempo-desktop-primary-soft, rgba(139, 92, 246, 0.14)); border-color: var(--sempo-desktop-primary-border, rgba(139, 92, 246, 0.28)); color: var(--sempo-desktop-violet, rgb(214, 194, 255)); }

.cyan { background: var(--sempo-desktop-primary-soft, rgba(34, 211, 238, 0.14)); border-color: var(--sempo-desktop-primary-border, rgba(34, 211, 238, 0.28)); color: var(--sempo-desktop-info, rgb(166, 242, 255)); }

.rose { background: var(--sempo-desktop-primary-soft, rgba(251, 113, 133, 0.14)); border-color: var(--sempo-desktop-primary-border, rgba(251, 113, 133, 0.26)); color: var(--sempo-desktop-danger, rgb(255, 193, 203)); }

.num { width: 28px; height: 28px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: var(--sempo-desktop-weight-body, 800); }

.n-c { background: var(--sempo-desktop-primary-soft, rgba(96, 165, 250, 0.1)); color: var(--link-blue); }

.form-stack { display: flex; flex-direction: column; gap: 14px; }

label { display: flex; flex-direction: column; font-weight: var(--sempo-desktop-weight-control, 600); color: var(--text); }

input { border-radius: var(--radius-ui); border: 1px solid var(--line); padding: 12px 14px; font: inherit; font-size: var(--sempo-mobile-entry-size, inherit); color: var(--text); background: var(--surface-input); }

.error { padding: 12px 14px; border-radius: var(--radius-ui); background: var(--sempo-desktop-danger-soft, rgba(245, 158, 11, 0.12)); border: 1px solid var(--sempo-desktop-danger-border, rgba(245, 158, 11, 0.24)); color: var(--sempo-desktop-warning, rgb(255, 225, 164)); }

.sync-feedback { border-radius: var(--radius-panel); border: 1px solid var(--line); background: var(--panel2); color: var(--text); }

.sync-feedback.error { margin-bottom: 16px; }

.sync-feedback.info { background: var(--sempo-desktop-primary-soft, rgba(96, 165, 250, 0.12)); border-color: var(--sempo-desktop-primary-border, rgba(96, 165, 250, 0.22)); color: var(--link-blue); }

.finance-section-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin: -4px 0px 18px; }

.finance-section-tab { border: 1px solid var(--line); background: linear-gradient(var(--sempo-desktop-surface, rgba(12, 20, 33, 0.96)), var(--sempo-desktop-surface, rgba(8, 14, 24, 0.98))); color: var(--muted); padding: 10px 14px; border-radius: var(--radius-ui); font-size: 14px; font-weight: var(--sempo-desktop-weight-control, 700); transition: background 0.18s, border-color 0.18s, color 0.18s; }

.finance-section-tab:hover { background: var(--surface-hover); color: var(--text); }

.finance-section-tab.active { background: linear-gradient(90deg, var(--sempo-desktop-primary-soft, rgba(59, 130, 246, 0.2)), var(--sempo-desktop-primary-soft, rgba(30, 64, 175, 0.1))); border-color: var(--sempo-desktop-primary-border, rgba(96, 165, 250, 0.22)); color: var(--sidebar-text); }

/* Dashboard-parity sidebar for CRM, site projects and other e-commerce modules. */
body.orders-view {
    --dash-bg: #03070a;
    --dash-bg-deep: #020507;
    --dash-panel: linear-gradient(180deg, #071218 0%, #040A0E 100%);
    --dash-panel-soft: linear-gradient(180deg, #08141A 0%, #050B10 100%);
    --dash-line: rgba(135, 196, 210, 0.14);
    --dash-border-fade: linear-gradient(
        180deg,
        rgba(132, 207, 197, 0.42) 0%,
        rgba(116, 188, 187, 0.32) 24%,
        rgba(92, 154, 160, 0.16) 52%,
        rgba(72, 124, 132, 0.045) 74%,
        rgba(72, 124, 132, 0) 100%
    );
    --dash-text: #f4f6f8;
    background: linear-gradient(180deg, var(--dash-bg) 0%, var(--dash-bg-deep) 100%);
}

body.orders-view .layout {
    background: transparent;
}

@media (min-width: 768px) and (max-width: 1023px) {
    body.orders-view .layout {
        flex-direction: row;
    }

}

@media (min-width: 320px) and (max-width: 767px) {
    body.orders-view .layout {
        flex-direction: column;
    }

}

/* CRM / Заявки page restore. */
body.orders-view .orders-workspace {
    display: grid;
    color: var(--text);
}

body.orders-view .orders-table-panel {
    border: 1px solid var(--sempo-desktop-primary-border, rgba(135, 196, 210, 0.14));
    border-radius: 7px;
    background: linear-gradient(180deg, var(--sempo-desktop-surface, #071218) 0%, var(--sempo-desktop-surface, #040A0E) 100%);
}

body.orders-view .orders-table-scroll {
    overflow-x: auto;
    overflow-y: hidden;
}

body.orders-view .orders-command-table {
    width: 100%;
    min-width: 1440px;
    border-collapse: collapse;
}

body.orders-view .orders-command-table th,
body.orders-view .orders-command-table td {
    padding: 11px 12px;
    border-bottom: 1px solid var(--sempo-desktop-primary-border, rgba(135, 196, 210, 0.09));
    color: var(--sempo-desktop-text-strong, #d8dee8);
    line-height: 1.3;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.orders-view .orders-command-table thead th {
    color: var(--sempo-desktop-text-secondary, #8f98a6);
    font-weight: var(--sempo-desktop-weight-control, 560);
    background: var(--sempo-desktop-table-header-background, rgba(255, 255, 255, 0.035));
}

body.orders-view .orders-command-table tbody tr:hover td {
    background: var(--sempo-desktop-hover, rgba(255, 255, 255, 0.025));
}

body.orders-view .orders-command-table strong {
    color: var(--sempo-desktop-text-strong, #f4f6f8);
    font-weight: var(--sempo-desktop-weight-body, 650);
}

body.orders-view .orders-command-table span:where(:not(.payment-method-icon-visual, .orders-customer-order-count)) {
    color: var(--sempo-desktop-text-muted, #858b96);
}

body.orders-view .orders-check {
    width: 40px;
    text-align: center !important;
}

body.orders-view .orders-check input {
    width: 16px;
    height: 16px;
    accent-color: var(--sempo-desktop-danger, #ff2538);
}

body.orders-view .orders-id-link {
    color: var(--sempo-desktop-info, #8fc7ff);
    font-weight: var(--sempo-desktop-weight-body, 650);
}

body.orders-view .orders-manager {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--sempo-desktop-text-strong, #d8dee8) !important;
}

body.orders-view .orders-status-chip {
    display: inline-flex;
    min-height: 24px;
    align-items: center;
    justify-content: center;
    padding: 0 9px;
    border: 1px solid var(--sempo-desktop-primary-border, rgba(135, 196, 210, 0.12));
    border-radius: 999px;
    background: var(--sempo-desktop-hover, rgba(255, 255, 255, 0.04));
    color: var(--sempo-desktop-text-strong, #d8dee8) !important;
    font-size: 11px;
    font-weight: var(--sempo-desktop-weight-control, 650);
}

body.orders-view .ok {
    border-color: var(--sempo-desktop-primary-border, rgba(47, 208, 82, 0.22));
    background: var(--sempo-desktop-primary-soft, rgba(47, 208, 82, 0.1));
    color: var(--sempo-desktop-success, #75e68a) !important;
}

body.orders-view .rose {
    border-color: var(--sempo-desktop-primary-border, rgba(255, 79, 97, 0.24));
    background: var(--sempo-desktop-primary-soft, rgba(255, 79, 97, 0.1));
    color: var(--sempo-desktop-danger, #ff8b99) !important;
}

body.orders-view .orders-dash,
body.orders-view .orders-empty {
    color: var(--sempo-desktop-text-muted, #858b96) !important;
}

html.orders-modal-active,
html.orders-modal-active body {
    overflow: hidden;
}

body.orders-view .orders-create-close {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    border: 1px solid var(--sempo-desktop-primary-border, rgba(135, 196, 210, 0.14));
    border-radius: 7px;
    background: var(--sempo-desktop-surface, rgba(3, 9, 15, 0.58));
    color: var(--sempo-desktop-text-strong, #d8dee8);
    cursor: pointer;
}

body.orders-view .orders-create-close svg,
body.orders-view .orders-create-submit svg {
    width: 17px;
    height: 17px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body.orders-view .orders-create-secondary,
body.orders-view .orders-create-submit {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 16px;
    border: 1px solid var(--sempo-desktop-primary-border, rgba(135, 196, 210, 0.14));
    border-radius: 7px;
    background: linear-gradient(180deg, var(--sempo-desktop-surface, #08141A) 0%, var(--sempo-desktop-surface, #050B10) 100%);
    color: var(--sempo-desktop-text-strong, #f4f6f8);
    font: inherit;
    font-size: 13px;
    font-weight: var(--sempo-desktop-weight-control, 560);
    cursor: pointer;
}

body.orders-view .orders-create-submit {
    border-color: var(--sempo-desktop-primary-border, rgba(255, 37, 56, 0.62));
    background: var(--sempo-desktop-primary-deep, linear-gradient(180deg, #ff2639 0%, #ce1023 100%));
    box-shadow: rgba(255, 37, 56, 0.18) 0 12px 28px;
}

@media (min-width: 320px) and (max-width: 767px) {

    body.orders-view .orders-create-secondary,
    body.orders-view .orders-create-submit {
        width: 100%;
    }
}

/* Dashboard sidebar restore after details-based navigation. */

/* Dashboard expanded E-commerce menu ordering/state. */

/* E-commerce warehouse command surface. */
body.warehouse-view .main {
    background:
        radial-gradient(circle at 78% 4%, var(--sempo-desktop-primary-soft, rgba(96, 165, 250, 0.06)), transparent 26%),
        linear-gradient(180deg, var(--sempo-desktop-canvas, #02070d) 0%, var(--sempo-desktop-canvas, #020508) 100%);
}

body.warehouse-view .warehouse-command {
    gap: 16px;
    color: var(--text);
}

body.warehouse-view [data-category-card] {
    cursor: grab;
}

body.warehouse-view [data-category-card]:active,
body.warehouse-view [data-category-card].is-dragging {
    cursor: grabbing;
}

body.warehouse-view [data-category-card].is-dragging {
    opacity: 0.42;
    transform: scale(0.985);
}

body.warehouse-view [data-category-card].is-drop-target {
    border-color: var(--sempo-desktop-primary-border, rgba(47, 208, 82, 0.42));
    box-shadow: rgba(47, 208, 82, 0.16) 0 0 0 2px inset;
}

body.warehouse-view.warehouse-resizing-column {
    cursor: col-resize;
    user-select: none;
}

body.warehouse-view .warehouse-margin-value {
    font-weight: var(--sempo-desktop-weight-body, 800);
}

body.warehouse-view .warehouse-margin-value.is-good {
    color: var(--sempo-desktop-success, #75e68a);
}

body.warehouse-view .warehouse-margin-value.is-low {
    color: var(--sempo-desktop-danger, #ff7b8a);
}

body.warehouse-view .warehouse-thumb {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border: 1px solid var(--sempo-desktop-primary-border, rgba(96, 165, 250, 0.14));
    border-radius: 7px;
    background: linear-gradient(135deg, var(--sempo-desktop-primary-soft, rgba(96, 165, 250, 0.26)), var(--sempo-desktop-surface, rgba(15, 23, 42, 0.96)));
}

body.warehouse-view .warehouse-thumb.has-image {
    background: var(--sempo-desktop-surface, rgba(5, 12, 18, 0.72));
}

body.warehouse-view .warehouse-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center center;
}

body.warehouse-view .warehouse-thumb.tone-2 {
    background: linear-gradient(135deg, var(--sempo-desktop-warning-soft, rgba(255, 172, 10, 0.24)), var(--sempo-desktop-surface, rgba(15, 23, 42, 0.96)));
}

body.warehouse-view .warehouse-thumb.tone-3 {
    background: linear-gradient(135deg, var(--sempo-desktop-success-soft, rgba(47, 208, 82, 0.22)), var(--sempo-desktop-surface, rgba(15, 23, 42, 0.96)));
}

body.warehouse-view [data-warehouse-pagination-summary] {
    justify-self: start;
    color: var(--sempo-desktop-text-muted, #858b96);
    font-size: 12px;
    font-weight: var(--sempo-desktop-weight-body, 720);
}

@media (min-width: 1024px) and (max-width: 1279px) {

}

@media (min-width: 768px) and (max-width: 1023px) {

}

@media (min-width: 320px) and (max-width: 767px) {
    body.warehouse-view .warehouse-command {
        gap: 12px;
    }

}

body.warehouse-view .warehouse-command svg,
body.warehouse-view .warehouse-product-page svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Align warehouse with the global SEMPO dashboard shell. */
body.warehouse-view {
    --warehouse-panel: linear-gradient(180deg, #071218 0%, #040a0e 100%);
    --warehouse-panel-soft: linear-gradient(180deg, #08141a 0%, #050b10 100%);
    --warehouse-line: rgba(135, 196, 210, 0.14);
    --warehouse-line-strong: rgba(158, 218, 230, 0.22);
    --warehouse-line-soft: rgba(135, 196, 210, 0.09);
    --warehouse-text: #f4f6f8;
    --warehouse-muted: #858b96;
    --warehouse-dim: #626974;
    --warehouse-green: #2fd052;
    --warehouse-teal: #12c4b5;
    --warehouse-red: #ff2538;
    --warehouse-amber: #ffac0a;
}

body.warehouse-view .main {
    background: linear-gradient(var(--sempo-desktop-canvas, rgb(3, 7, 10)) 0%, var(--sempo-desktop-canvas, rgb(2, 5, 7)) 100%);
}

body.dashboard-view.warehouse-view .main {
    padding: 16px 20px 14px;
}

body.warehouse-view .warehouse-command {
    color: var(--warehouse-text);
}

body.warehouse-view .warehouse-thumb {
    border-color: var(--warehouse-line);
    background: linear-gradient(135deg, var(--sempo-desktop-primary-soft, rgba(47, 208, 82, 0.18)), var(--sempo-desktop-surface, rgba(7, 18, 24, 0.98)));
}

body.warehouse-view .warehouse-thumb.tone-2 {
    background: linear-gradient(135deg, var(--sempo-desktop-warning-soft, rgba(255, 172, 10, 0.2)), var(--sempo-desktop-surface, rgba(7, 18, 24, 0.98)));
}

body.warehouse-view .warehouse-thumb.tone-3 {
    background: linear-gradient(135deg, var(--sempo-desktop-info-soft, rgba(18, 196, 181, 0.2)), var(--sempo-desktop-surface, rgba(7, 18, 24, 0.98)));
}

/* Desktop density pass for the warehouse list command surface. */
@media (min-width: 1280px) {
    body.dashboard-view.warehouse-view .main {
        padding: 14px 18px;
    }

    body.warehouse-view .warehouse-command {
        gap: 12px;
    }

}

@media (min-width: 1280px) and (max-width: 1439px) {

}

@media (min-width: 1440px) {

}

/* E-commerce warehouse product card surface. */
body.warehouse-view .warehouse-product-page {
    display: grid;
    min-width: 0;
    color: var(--sempo-desktop-text-strong, #f4f6f8);
}

body.warehouse-view .warehouse-product-page *,
body.warehouse-view .warehouse-command * {
    letter-spacing: 0;
}

body.warehouse-view .warehouse-product-titleline,
body.warehouse-view .warehouse-product-actions,
body.warehouse-view .warehouse-product-tabs {
    min-width: 0;
}

body.warehouse-view .warehouse-product-secondary,
body.warehouse-view .warehouse-product-save,
body.warehouse-view .warehouse-product-page button,
body.warehouse-view .warehouse-product-page a.button {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--sempo-desktop-primary-border, rgba(135, 196, 210, 0.14));
    border-radius: 7px;
    background: var(--sempo-desktop-surface, rgba(5, 12, 18, 0.72));
    color: var(--sempo-desktop-text-strong, #f4f6f8);
    font: inherit;
    font-size: 13px;
    font-weight: var(--sempo-desktop-weight-control, 650);
    cursor: pointer;
}

body.warehouse-view .warehouse-product-hero {
    min-width: 0;
    border: 1px solid var(--sempo-desktop-primary-border, rgba(135, 196, 210, 0.12));
    border-radius: 8px;
    background: linear-gradient(180deg, var(--sempo-desktop-surface, rgba(8, 20, 26, 0.94)), var(--sempo-desktop-surface, rgba(3, 9, 15, 0.98)));
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.2);
}

body.warehouse-view .warehouse-product-hero {
    grid-template-columns: 180px minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    gap: 14px 22px;
    align-items: start;
    padding: 0 0 12px;
    border: 0;
    border-bottom: 1px solid var(--sempo-desktop-primary-border, rgba(135, 196, 210, 0.12));
    border-radius: 0;
    box-shadow: none;
}

body.warehouse-view .warehouse-product-main-photo {
    position: relative;
    width: 180px;
    height: 148px;
    grid-row: 1 / span 2;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--sempo-desktop-primary-border, rgba(135, 196, 210, 0.14));
    border-radius: 8px;
    background: var(--sempo-desktop-surface, rgba(5, 12, 18, 0.58));
}

body.warehouse-view .warehouse-product-main-photo span {
    display: grid;
    place-items: center;
    gap: 8px;
    color: var(--sempo-desktop-text-muted, #858b96);
    font-size: 12px;
    font-style: normal;
    font-weight: var(--sempo-desktop-weight-body, 650);
}

body.warehouse-view .warehouse-product-main-photo img {
    display: block;
}

body.warehouse-view .warehouse-product-main-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center center;
}

body.warehouse-view .warehouse-product-titleblock {
    min-width: 0;
    display: grid;
    gap: 8px;
    align-self: start;
}

body.warehouse-view .warehouse-product-titleline {
    display: flex;
    align-items: center;
    gap: 10px;
}

body.warehouse-view .warehouse-product-titleline h1 {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    color: var(--sempo-desktop-text-strong, #f4f6f8);
    font-size: 25px;
    line-height: 1.15;
    font-weight: var(--sempo-desktop-weight-heading, 780);
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.warehouse-view .warehouse-product-titleblock p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: var(--sempo-desktop-text-secondary, #a7b0be);
}

body.warehouse-view .warehouse-product-titleblock p strong {
    color: var(--sempo-desktop-info, #8fc7ff);
}

body.warehouse-view .warehouse-product-status {
    min-height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 9px;
    border-radius: 999px;
    border: 1px solid rgba(135, 196, 210, 0.12);
    background: rgba(135, 196, 210, 0.07);
    color: #d8f4ff;
    font-style: normal;
    font-weight: var(--sempo-desktop-weight-control, 760);
    white-space: nowrap;
}

body.warehouse-view .history-type {
    min-height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(135, 196, 210, 0.12);
    background: rgba(135, 196, 210, 0.07);
    color: #d8f4ff;
    font-style: normal;
    font-weight: var(--sempo-desktop-weight-body, 760);
    white-space: nowrap;
}

body.warehouse-view .warehouse-product-status--published,
body.warehouse-view .warehouse-product-status--active {
    border-color: rgba(55, 238, 79, 0.54);
    background: rgba(55, 238, 79, 0.14);
    color: #8aff98;
}

body.warehouse-view .warehouse-product-status--draft {
    border-color: rgba(255, 172, 10, 0.18);
    background: rgba(255, 172, 10, 0.1);
    color: #ffcf70;
}

body.warehouse-view .warehouse-product-titleline .warehouse-product-status {
    gap: 7px;
    min-height: 28px;
    padding: 0 11px;
    border-radius: 999px;
}

body.warehouse-view .warehouse-product-titleline .warehouse-product-status::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}

body.warehouse-view .warehouse-product-titleline .warehouse-product-status--draft {
    border-color: var(--sempo-desktop-danger-border, rgba(255, 123, 138, 0.34));
    background: var(--sempo-desktop-danger-soft, rgba(255, 123, 138, 0.1));
    color: var(--sempo-desktop-danger, #ff7b8a);
}

body.warehouse-view .warehouse-product-status--archived {
    border-color: rgba(255, 79, 97, 0.2);
    background: rgba(255, 79, 97, 0.1);
    color: #ff8b99;
}

body.warehouse-view .warehouse-product-page button.warehouse-product-switch {
    width: 43px;
    min-width: 43px;
    height: 24px;
    min-height: 24px;
    display: block;
    padding: 2px;
    border-color: var(--sempo-desktop-primary-border, rgba(67, 246, 92, 0.72));
    background: linear-gradient(180deg, var(--sempo-desktop-primary, #5cf66f), var(--sempo-desktop-primary, #26c945));
    box-shadow: 0 0 18px rgba(47, 208, 82, 0.2);
}

body.warehouse-view .warehouse-product-active-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

body.warehouse-view .warehouse-product-active-toggle input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

body.warehouse-view .warehouse-product-active-toggle span {
    width: 44px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    padding: 2px;
    border: 1px solid var(--sempo-desktop-primary-border, rgba(67, 246, 92, 0.72));
    border-radius: 999px;
    background: linear-gradient(180deg, #5cf66f, #26c945);
    box-shadow: 0 0 18px rgba(47, 208, 82, 0.2);
    pointer-events: none;
    transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

body.warehouse-view .warehouse-product-active-toggle i {
    width: 18px;
    height: 18px;
    display: block;
    margin-left: auto;
    border-radius: 50%;
    background: var(--sempo-desktop-surface, #f7fbf8);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
    transition: margin 0.18s ease;
}

body.warehouse-view .warehouse-product-active-toggle input:not(:checked) + span {
    border-color: var(--sempo-desktop-primary-border, rgba(255, 123, 138, 0.46));
    background: linear-gradient(180deg, var(--sempo-desktop-primary-soft, rgba(255, 123, 138, 0.35)), rgba(120, 32, 42, 0.72));
    box-shadow: 0 0 16px rgba(255, 123, 138, 0.14);
}

body.warehouse-view .warehouse-product-active-toggle input:not(:checked) + span i {
    margin-left: 0;
}

body.warehouse-view .warehouse-product-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
    align-self: start;
}

body.warehouse-view .warehouse-product-secondary,
body.warehouse-view .warehouse-product-save {
    padding: 0 14px;
    text-decoration: none;
    white-space: nowrap;
}

body.warehouse-view .warehouse-product-save-wrap {
    position: relative;
    display: inline-flex;
}

body.warehouse-view .warehouse-product-save {
    border-color: var(--sempo-desktop-primary-border, rgba(47, 208, 82, 0.48));
    background: linear-gradient(180deg, var(--sempo-desktop-primary, #2fd052), var(--sempo-desktop-primary, #179235));
    color: var(--sempo-desktop-text-strong, #fff);
    box-shadow: 0 12px 28px rgba(47, 208, 82, 0.16);
}

body.warehouse-view .warehouse-product-page button.primary {
    border-color: var(--sempo-desktop-primary-border, rgba(255, 16, 36, 0.42));
    background: var(--sempo-desktop-primary-deep, linear-gradient(180deg, #ff1024, #d30d1e));
    color: var(--sempo-desktop-on-primary, #fff);
}

body.warehouse-view .warehouse-product-page button.warehouse-product-save {
    border-color: var(--sempo-desktop-primary-border, rgba(47, 208, 82, 0.58));
    background: var(--sempo-desktop-primary-deep, linear-gradient(180deg, #2fd052, #179235));
    color: var(--sempo-desktop-on-primary, #fff);
}

body.warehouse-view .warehouse-product-actions-menu {
    position: relative;
}

body.warehouse-view .warehouse-product-actions-menu summary {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 14px;
    border: 1px solid var(--sempo-desktop-primary-border, rgba(135, 196, 210, 0.14));
    border-radius: 7px;
    background: var(--sempo-desktop-surface, rgba(5, 12, 18, 0.72));
    color: var(--sempo-desktop-text-strong, #f4f6f8);
    font-size: 13px;
    font-weight: var(--sempo-desktop-weight-control, 650);
    list-style: none;
    cursor: pointer;
}

body.warehouse-view .warehouse-product-actions-menu summary::-webkit-details-marker {
    display: none;
}

body.warehouse-view .warehouse-product-actions-menu summary::after {
    content: "⌄";
    color: var(--sempo-desktop-success, #9ee6d5);
    font-size: 13px;
}

body.warehouse-view .warehouse-product-actions-menu[open] summary {
    border-color: var(--sempo-desktop-primary-border, rgba(158, 230, 213, 0.34));
    background: var(--sempo-desktop-primary-soft, rgba(158, 230, 213, 0.08));
}

body.warehouse-view .warehouse-product-actions-menu > div {
    position: absolute;
    z-index: 22;
    right: 0;
    top: calc(100% + 7px);
    min-width: 150px;
    display: grid;
    gap: 4px;
    padding: 6px;
    border: 1px solid var(--sempo-desktop-primary-border, rgba(135, 196, 210, 0.16));
    border-radius: 8px;
    background: var(--sempo-desktop-surface, #07111b);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.36);
}

body.warehouse-view .warehouse-product-actions-menu button {
    width: 100%;
    min-height: 34px;
    justify-content: flex-start;
    padding: 0 10px;
    border: 0;
    background: transparent;
    color: var(--sempo-desktop-danger, #ff8b99);
    font-size: 12px;
    box-shadow: none;
}

body.warehouse-view .warehouse-product-actions-menu button:disabled {
    opacity: 0.48;
    cursor: not-allowed;
}

body.warehouse-view .warehouse-product-page label > span {
    color: var(--sempo-desktop-text-secondary, #a7b0be);
    line-height: 1.35;
}

body.warehouse-view .is-green {
    color: var(--sempo-desktop-success, #69ff7e) !important;
}

body.warehouse-view .is-amber,
body.warehouse-view .is-yellow {
    color: var(--sempo-desktop-warning, #ffd36a) !important;
}

body.warehouse-view .is-red {
    color: var(--sempo-desktop-danger, #ff8b99) !important;
}

body.warehouse-view .is-blue {
    color: var(--sempo-desktop-info, #8fc7ff) !important;
}

body.warehouse-view .warehouse-product-tabs {
    padding: 0 0 10px;
    border: 0;
    border-bottom: 1px solid var(--sempo-desktop-primary-border, rgba(135, 196, 210, 0.12));
    border-radius: 0;
    background: transparent;
}

body.warehouse-view .warehouse-product-tabs a {
    position: relative;
    min-height: 28px;
    gap: 8px;
    padding: 0;
    border-radius: 0;
    color: var(--sempo-desktop-text-secondary, #a7b0be);
    font-weight: var(--sempo-desktop-weight-control, 650);
    white-space: nowrap;
}

body.warehouse-view .warehouse-product-tabs a.active {
    background: transparent;
    color: var(--sempo-desktop-text-strong, #f4f6f8);
    box-shadow: none;
}

body.warehouse-view .warehouse-product-tabs a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    height: 2px;
    border-radius: 999px;
    background: #ff1024;
}

body.warehouse-view .warehouse-product-fields {
    display: grid;
    gap: 10px;
}
body.warehouse-view .warehouse-product-fields.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.warehouse-view .warehouse-product-fields.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.warehouse-view .warehouse-product-page label {
    min-width: 0;
    display: grid;
    gap: 7px;
}

body.warehouse-view .warehouse-product-page input:not([type="hidden"]):not([data-sempo-frameless-control]):not([type="checkbox"]):not([type="radio"]):not([type="range"]),
body.warehouse-view .warehouse-product-page select,
body.warehouse-view .warehouse-product-page textarea {
    width: 100%;
    min-width: 0;
    border: 1px solid var(--sempo-desktop-primary-border, rgba(135, 196, 210, 0.14));
    border-radius: 7px;
    outline: 0;
    background: var(--sempo-desktop-surface-input, rgba(2, 7, 12, 0.72));
    color: var(--sempo-desktop-text-strong, #f4f6f8);
    font: inherit;
    font-size: var(--sempo-mobile-entry-size, 13px);
    padding: var(--warehouse-product-control-padding, 8px 12px);
}

body.warehouse-view .warehouse-product-page textarea {
    min-height: 58px;
    resize: vertical;
}

body.warehouse-view .site {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

body.warehouse-view .site strong {
    min-width: 0;
    display: grid;
    gap: 2px;
    color: var(--sempo-desktop-text-strong, #f4f6f8);
    font-size: 13px;
}

body.warehouse-view .site small {
    overflow: hidden;
    color: var(--sempo-desktop-text-muted, #858b96);
    font-size: 11px;
    text-overflow: ellipsis;
}

body.warehouse-view .status-dot {
    width: 8px;
    height: 8px;
    display: inline-block;
    margin-right: 6px;
    border-radius: 50%;
    background: currentColor;
}

body.warehouse-view .status-text {
    color: var(--sempo-desktop-text-secondary, #a7b0be);
    font-weight: var(--sempo-desktop-weight-body, 760);
}

body.warehouse-view .status-text--published,
body.warehouse-view .status-dot--published {
    color: var(--sempo-desktop-success, #21d647);
}

body.warehouse-view .status-text--draft,
body.warehouse-view .status-dot--draft {
    color: var(--sempo-desktop-warning, #ffbd24);
}

body.warehouse-view .status-text--missing,
body.warehouse-view .status-dot--missing {
    color: var(--sempo-desktop-text-secondary, #8a929e);
}

body.warehouse-view .actions {
    display: grid;
    justify-content: stretch;
    gap: 6px;
}

body.warehouse-view .actions button,
body.warehouse-view .actions a {
    width: 100%;
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    justify-content: flex-start;
    padding: 0 10px;
    border: 1px solid var(--sempo-desktop-primary-border, rgba(135, 196, 210, 0.14));
    border-radius: 6px;
    background: var(--sempo-desktop-surface, rgba(255, 255, 255, 0.02));
    color: var(--sempo-desktop-text-strong, #d7dde6);
    font-size: 12px;
    text-decoration: none;
}

body.warehouse-view .actions button svg,
body.warehouse-view .actions a svg {
    width: 15px;
    height: 15px;
}

body.warehouse-view .actions button.danger {
    border-color: var(--sempo-desktop-danger-border, rgba(255, 16, 36, 0.48));
    background: var(--sempo-desktop-danger-soft, rgba(255, 16, 36, 0.12));
    color: var(--sempo-desktop-danger, #ff8b99);
}

body.warehouse-view .history-type {
    min-height: 22px;
    padding: 0 9px;
    border-radius: 5px;
    font-size: 11px;
}

@media (min-width: 1024px) and (max-width: 1279px) {

}

@media (min-width: 768px) and (max-width: 1023px) {
    body.warehouse-view .warehouse-product-hero {
        align-items: stretch;
        grid-template-columns: minmax(0, 1fr);
        flex-direction: column;
    }

    body.warehouse-view .warehouse-product-actions {
        width: 100%;
        flex-wrap: wrap;
    }

}

@media (min-width: 320px) and (max-width: 767px) {
    body.warehouse-view .warehouse-product-actions {
        align-items: stretch;
        flex-direction: column;
    }

    body.warehouse-view .warehouse-product-secondary,
    body.warehouse-view .warehouse-product-save,
    body.warehouse-view .warehouse-product-save-wrap,
    body.warehouse-view .warehouse-product-actions-menu,
    body.warehouse-view .warehouse-product-actions-menu summary {
        width: 100%;
    }

    body.warehouse-view .warehouse-product-save-wrap {
        display: flex;
    }

    body.warehouse-view .warehouse-product-actions-menu > div {
        left: 0;
        right: auto;
        width: 100%;
    }

body.warehouse-view .warehouse-product-hero,
body.warehouse-view .warehouse-product-fields.two,
body.warehouse-view .warehouse-product-fields.three {
        grid-template-columns: minmax(0, 1fr);
    }

    body.warehouse-view .warehouse-product-titleline {
        align-items: flex-start;
        flex-direction: column;
    }

    body.warehouse-view .warehouse-product-titleline h1 {
        white-space: normal;
        font-size: 22px;
    }

    body.warehouse-view .warehouse-product-main-photo {
        width: 74px;
    }
}
