.owner-bank-review-modal{max-width:1080px}
.owner-bank-table-scroll{overflow:auto;max-height:52vh;border:1px solid var(--a7-line,var(--line,#dce3df));border-radius:10px}
.owner-bank-table{width:100%;border-collapse:collapse;table-layout:auto;font-size:14px;color:var(--a7-text,var(--text,#18211d))}
.owner-bank-table :is(th,td){padding:12px;vertical-align:top;text-align:left;border-bottom:1px solid var(--a7-line,var(--line,#dce3df))}
.owner-bank-review-modal .owner-bank-table tbody td{white-space:normal}
.owner-bank-review-modal .owner-bank-table td.bank-amount{white-space:nowrap}
.owner-bank-table .sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.owner-bank-table th{position:sticky;top:0;z-index:1;background:var(--a7-panel-soft,var(--panel-soft,#f4f7f5));font-weight:600}
.owner-bank-table td:first-child{width:42px}
.owner-bank-table td:nth-child(2){min-width:130px}
.owner-bank-table td:nth-child(3){min-width:240px;max-width:480px;overflow-wrap:anywhere}
.owner-bank-table td:last-child{width:140px}
.owner-bank-table .cell-note{display:block;margin-top:4px;color:var(--a7-muted,var(--muted,#69776f))}
.owner-bank-table tbody tr.is-selected td{background:var(--a7-brand-soft,#e7f1ec)}
.owner-bank-table input[type="checkbox"]{width:18px;height:18px;accent-color:var(--a7-brand,#24644d);cursor:pointer}
.owner-bank-table .bank-amount{text-align:right;white-space:nowrap;font-weight:650;font-variant-numeric:tabular-nums}
.bank-amount--incoming{color:#187247}
.bank-amount--outgoing{color:#bf3038}
.owner-bank-totals{display:flex;gap:12px 24px;flex-wrap:wrap;align-items:center;font-size:14px}
.owner-bank-review-modal .modal-body>.owner-bank-totals{margin-bottom:16px}
.owner-bank-selection{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;padding:14px 0;color:var(--a7-text,var(--text,#18211d))}
.owner-bank-confirm-form{display:grid;gap:16px;margin:0}
.owner-bank-confirm-form .form-group{margin:0;min-width:0}
.owner-bank-confirm-form .form-control{width:100%;box-sizing:border-box}
.owner-bank-confirm-form textarea{resize:vertical}
.owner-bank-target-fields{display:grid;gap:12px;padding:14px;border:1px solid var(--a7-line,var(--line,#dce3df));border-radius:10px;background:var(--a7-panel-soft,var(--panel-soft,#f4f7f5))}
.owner-bank-target-fields[hidden],.owner-bank-confirm-form [hidden],.owner-bank-confirm-modal .modal-footer [hidden]{display:none!important}
.owner-bank-confirm-form .cell-note{display:block;margin:5px 0 0;color:var(--a7-muted,var(--muted,#69776f));font-size:13px;line-height:1.45}
.owner-bank-confirm-form .notice{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.owner-bank-expense-list{display:grid;gap:6px;max-height:250px;overflow:auto}
.owner-bank-expense-option{display:flex;align-items:center;gap:10px;padding:8px;border:1px solid var(--a7-line,var(--line,#dce3df));border-radius:8px;cursor:pointer}
.owner-bank-expense-option[hidden]{display:none}
.owner-bank-expense-option span{display:grid;min-width:0;flex:1}
.owner-bank-expense-option small{color:var(--a7-muted,var(--muted,#69776f))}
.owner-bank-other-recipient{display:flex;align-items:flex-start;gap:8px;line-height:1.4;cursor:pointer}
html[data-theme="dark"] .bank-amount--incoming{color:#77dba5}
html[data-theme="dark"] .bank-amount--outgoing{color:#ff9299}
html[data-theme="dark"] :is(.owner-bank-review-modal,.owner-bank-confirm-modal){background:var(--a7-panel,#17231d);color:var(--a7-text,#e4f0e9)}
html[data-theme="dark"] :is(.owner-bank-review-modal,.owner-bank-confirm-modal) .modal-footer{background:var(--a7-panel-soft,#1c2c23)}
html[data-theme="dark"] .owner-bank-confirm-form :is(input,select,textarea){color:var(--a7-text,#e4f0e9)}
html[data-theme="dark"] .owner-bank-table tbody tr.is-selected td{background:#24493c}
@media(max-width:640px){
  .owner-bank-table-scroll{max-height:55vh;border:0}
  .owner-bank-table,.owner-bank-table tbody,.owner-bank-table tr,.owner-bank-table td{display:block;width:auto}
  .owner-bank-table thead{display:block;margin-bottom:8px}
  .owner-bank-table thead tr{display:flex}
  .owner-bank-table thead th:first-child{display:block;position:static;flex:1;border:1px solid var(--a7-line,var(--line,#dce3df));border-radius:8px}
  .owner-bank-table thead th:first-child::after{content:'Выбрать все показанные';margin-left:10px;font-weight:500}
  .owner-bank-table thead th:not(:first-child){display:none}
  .owner-bank-table tbody tr{margin:10px 0;border:1px solid var(--a7-line,var(--line,#dce3df));border-radius:10px;overflow:hidden}
  .owner-bank-table tbody td{padding:8px 12px;min-width:0!important;max-width:none!important;width:auto!important}
  .owner-bank-table tbody td:first-child{border-bottom:0;padding-bottom:0}
  .owner-bank-table tbody td:last-child{border-bottom:0}
  .owner-bank-table tbody td:not(:first-child)::before{content:attr(data-label);display:block;margin-bottom:3px;color:var(--a7-muted,var(--muted,#69776f));font-size:12px;font-weight:400}
  .owner-bank-table .bank-amount{text-align:left}
  .owner-bank-table td:last-child .btn{width:100%}
  .owner-bank-selection{align-items:flex-start;flex-direction:column}
  .owner-bank-totals{gap:6px 14px}
  .owner-bank-confirm-modal .modal-footer{flex-wrap:wrap}
}

html[data-ui="a7"] .owner-finance-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}
html[data-ui="a7"] .owner-finance-card{min-height:156px;display:grid;align-content:start;gap:8px;padding:20px;text-align:left}
html[data-ui="a7"] .owner-kpi-label{color:var(--a7-muted);font-size:14px;line-height:20px;font-weight:500}
html[data-ui="a7"] .owner-kpi-value{font-size:28px;line-height:36px;font-weight:600;font-variant-numeric:tabular-nums}
html[data-ui="a7"] .owner-finance-card>.owner-kpi-value{color:var(--a7-text)}
html[data-ui="a7"] .owner-finance-card.negative>.owner-kpi-value{color:var(--a7-danger)!important}
html[data-ui="a7"] .owner-finance-grid .negative-text,html[data-ui="a7"] .owner-finance-grid .negative-text>strong{color:var(--a7-danger)!important}
html[data-ui="a7"] .owner-finance-grid .positive-text,html[data-ui="a7"] .owner-finance-grid .positive-text>strong{color:var(--a7-success)!important}
@media screen {
  html[data-ui="a7"] .a7-page[data-page="report"] .summary-item .sub{font-size:14px;line-height:20px}
  html[data-ui="a7"] .a7-page[data-page="users-roles"] .register-row .cell-note{display:block;margin-top:3px;overflow-wrap:anywhere}
  html[data-ui="a7"] .a7-page[data-page="users-roles"] .register-row .link-btn{border:0;background:transparent;padding:0;text-align:left;color:var(--a7-accent);cursor:pointer}
  html[data-ui="a7"] .a7-page[data-page="users-roles"] .register-row .link-btn:hover{text-decoration:underline}
}
html[data-ui="a7"] .owner-kpi-footer{margin-top:auto;padding-top:12px;border-top:1px solid var(--a7-line)}
html[data-ui="a7"] .owner-kpi-footer-row{font-size:14px;line-height:20px;color:var(--a7-muted)}
html[data-ui="a7"] .owner-kpi-footer-row>strong{font-weight:600;color:var(--a7-text)}
html[data-ui="a7"] .owner-finance-card b{font-size:14px;line-height:20px;font-weight:600;color:var(--a7-brand)}
html[data-ui="a7"] .owner-finance-card.accent{background:var(--a7-success-soft);border-color:var(--a7-success)}
html[data-ui="a7"] .overview-attention-card{border-left:3px solid var(--a7-attention)}
html[data-ui="a7"] .priority-focus.tone-danger{border-left-color:var(--a7-danger);background:var(--a7-danger-soft)}
html[data-ui="a7"] .priority-focus.tone-success{border-left-color:var(--a7-success);background:var(--a7-success-soft)}
html[data-ui="a7"] .owner-finance-card.empty{display:none}
@media(max-width:1250px){html[data-ui="a7"] .owner-finance-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){html[data-ui="a7"] .owner-finance-grid{grid-template-columns:1fr}}
html[data-ui="a7"] .report-page.presentation{max-width:1440px;margin:0 auto}
html[data-ui="a7"] .report-page .report-period-toolbar{gap:12px;margin-bottom:24px}
html[data-ui="a7"] .report-page .report-period-toolbar label>span{font-size:14px;line-height:20px;font-weight:500;color:var(--a7-muted)}
html[data-ui="a7"] .report-page .report-presentation-hero{margin-bottom:24px;padding:24px;box-shadow:none;border-radius:var(--a7-radius-panel);background:var(--a7-panel-soft);color:var(--a7-text)}
html[data-ui="a7"] .report-page strong,html[data-ui="a7"] .report-page b{font-weight:600}
html[data-ui="a7"] .report-page .report-presentation-hero>div>strong{font-size:36px;line-height:44px;font-weight:600}
html[data-ui="a7"] .report-page .report-presentation-hero span,html[data-ui="a7"] .report-page .report-presentation-hero small{font-size:14px;line-height:20px;font-weight:400}
html[data-ui="a7"] .report-page .report-hero-split strong{font-size:20px;line-height:28px;font-weight:600}
html[data-ui="a7"] .report-page .report-owner-cards{margin-bottom:24px}
html[data-ui="a7"] .report-sales-section{padding:24px;background:var(--a7-panel-soft);border-color:var(--a7-line)}
html[data-ui="a7"] .report-sales-section .card-title{font-size:20px;line-height:28px;font-weight:600;color:var(--a7-text)}
html[data-ui="a7"] .report-page .task-detail{font-size:14px;line-height:20px;font-weight:400;color:var(--a7-muted)}
html[data-ui="a7"] .report-page .period-result-label{font-size:14px;line-height:20px;font-weight:400;color:var(--a7-muted)}
html[data-ui="a7"] .report-page .empty-text{font-size:14px;line-height:20px;font-weight:400;color:var(--a7-muted)}
html[data-ui="a7"] .a7-page{display:grid;align-content:start;gap:24px;min-width:0}
html[data-ui="a7"] .a7-page>.page-heading{margin-bottom:0}
html[data-ui="a7"] .a7-page :where(button,input,select,textarea,label,td,th,small,.task-detail,.cell-note,.badge,.kpi-label){font-size:14px;line-height:20px}
html[data-ui="a7"] .a7-page:not(.a7-page-family-overview):not(.a7-page-family-report){--text:var(--a7-text);--muted:var(--a7-muted);--muted-2:var(--a7-muted);--panel:var(--a7-panel);--panel-soft:var(--a7-panel-soft);--line:var(--a7-line);--line-strong:var(--a7-line-strong);--success:var(--a7-success);--success-bg:var(--a7-success-soft);--warning:var(--a7-attention);--warning-bg:var(--a7-attention-soft);--danger:var(--a7-danger);--danger-bg:var(--a7-danger-soft);--info:var(--a7-ai);--info-bg:var(--a7-ai-soft);color:var(--a7-text)}
html[data-ui="a7"] .a7-page:not(.a7-page-family-overview):not(.a7-page-family-report) :where(button,input,select,textarea,label,td,th,small,p,span,div,a,dt,dd,summary,code,time,strong,b,li){font-size:14px;line-height:20px;font-weight:400}
html[data-ui="a7"] .a7-page:not(.a7-page-family-overview):not(.a7-page-family-report) :where(strong,b,h1,h2,h3,.kpi-value,.value,.money-value){font-weight:600}
html[data-ui="a7"] .a7-page:not(.a7-page-family-overview):not(.a7-page-family-report) :where(input,select,textarea){font-size:16px;line-height:24px}
html[data-ui="a7"] .a7-page:not(.a7-page-family-overview):not(.a7-page-family-report) :where(.page-title,h1){font-size:28px;line-height:36px;font-weight:600}
html[data-ui="a7"] .a7-page:not(.a7-page-family-overview):not(.a7-page-family-report) :where(h2,.kpi-value,.summary-item .value,.money-value,.payment-total>strong){font-size:20px;line-height:28px;font-weight:600}
html[data-ui="a7"] .a7-page:not(.a7-page-family-overview):not(.a7-page-family-report) :where(h3,.card-title,.empty-title){font-size:16px;line-height:24px;font-weight:600}
html[data-ui="a7"] .a7-page :where(.grid,.two,.kpi-grid,.summary-grid){gap:16px}
html[data-ui="a7"] .a7-page :where(.card-header,.section-line){min-height:56px;padding:16px 20px;border-bottom:1px solid var(--a7-line)}
html[data-ui="a7"] .a7-page :where(.card-body,.form-card){padding:20px}
html[data-ui="a7"] .a7-page :where(.toolbar,.filterbar,.premium-filterbar,.stock-toolbar,.sales-period-toolbar,.invoice-period-toolbar){display:flex;align-items:end;gap:12px;flex-wrap:wrap;padding:16px;border:1px solid var(--a7-line);border-radius:12px;background:var(--a7-panel-soft)}
html[data-ui="a7"] .a7-page :where(.tabs,.record-tabs,.payroll-tabs,.segmented){display:flex;gap:4px;flex-wrap:wrap;padding:4px;border:1px solid var(--a7-line);border-radius:10px;background:var(--a7-panel-soft)}
html[data-ui="a7"] .a7-page :where(.tabs,.record-tabs,.payroll-tabs,.segmented) :where(button,.tab){min-height:32px;padding:6px 12px;border:0;border-radius:7px;background:transparent;color:var(--a7-muted);font-weight:500}
html[data-ui="a7"] .a7-page :where(.tabs,.record-tabs,.payroll-tabs,.segmented) :where(button,.tab).active{background:var(--a7-panel);color:var(--a7-brand);box-shadow:0 1px 3px rgba(20,30,22,.1)}
html[data-ui="a7"] .a7-page.a7-page-family-sales .cash-ytd-caption{font-size:14px;line-height:20px;font-weight:400;color:var(--a7-muted)}
html[data-ui="a7"] .a7-page-family-sales .cash-date-details>td,html[data-ui="a7"] .a7-page-family-sales .cash-register-breakdown table,html[data-ui="a7"] .a7-page-family-sales .cash-calendar-card{background:var(--a7-panel);color:var(--a7-text);border-color:var(--a7-line)}
html[data-ui="a7"] .a7-page-family-inventory :where(.catalog-layout,.stock-workspace,.price-tags-workspace){border-color:var(--a7-line);background:var(--a7-panel)}
html[data-ui="a7"] .a7-page.a7-page-family-inventory .catalog-tree-hint{font-size:14px;line-height:20px;font-weight:400;color:var(--a7-muted)}
html[data-ui="a7"] .a7-page-family-inventory .catalog-tree-row.active{background:var(--a7-brand-soft);color:var(--a7-text)}
html[data-ui="a7"] .a7-page-family-inventory :where(.catalog-tree-row:hover,.stock-toolbar,.price-head-card,.price-tag-preview){background:var(--a7-panel-soft);color:var(--a7-text);border-color:var(--a7-line)}
html[data-ui="a7"] .a7-page[data-page="stock"] .stock-view-button{background:var(--a7-panel);color:var(--a7-text);border-color:var(--a7-line)}
html[data-ui="a7"] .a7-page[data-page="stock"] .stock-view-button:hover{background:var(--a7-panel-soft);border-color:var(--a7-line-strong)}
html[data-ui="a7"] .a7-page[data-page="stock"] .stock-view-button.active{background:var(--a7-brand-soft);color:var(--a7-text);border-color:var(--a7-brand)}
html[data-ui="a7"] .a7-page[data-page="payroll"] .payroll-kpi{background:var(--a7-panel);border-color:var(--a7-line)}
html[data-ui="a7"] .a7-page-family-purchasing :where(.payment-layout,.supplier-table-scroll,.reconcile-filter-grid){min-width:0}
html[data-ui="a7"] .a7-page.a7-page-family-purchasing .payment-invoice-option small{font-size:14px;line-height:20px;font-weight:400;color:var(--a7-muted)}
html[data-ui="a7"] .a7-page-family-purchasing .act-heading,html[data-ui="a7"] .a7-page-family-purchasing .payment-liquidity-row,html[data-ui="a7"] .a7-page-family-purchasing .payment-table-card>.table-pagination{background:var(--a7-panel-soft);color:var(--a7-text);border-color:var(--a7-line)}
html[data-ui="a7"] .a7-page-family-finance :where(.money-card,.cash-day-card,.expense-month-card){border-color:var(--a7-line)}
html[data-ui="a7"] .a7-page.a7-page-family-finance .expense-main strong{font-size:14px;line-height:20px;font-weight:600;color:var(--a7-text)}
html[data-ui="a7"] .a7-page-family-finance .expense-stack>summary,html[data-ui="a7"] .a7-page-family-finance .expense-stack.depth-1>summary,html[data-ui="a7"] .a7-page-family-finance .money-workflow>div,html[data-ui="a7"] .a7-page-family-finance .legal-entity-card,html[data-ui="a7"] .a7-page-family-finance .royalty-stack-head,html[data-ui="a7"] .a7-page-family-finance .sber-day-detail{background:var(--a7-panel-soft);color:var(--a7-text);border-color:var(--a7-line);box-shadow:none}
html[data-ui="a7"] .a7-page-family-finance .legal-entity-card>p{color:var(--a7-muted)}
html[data-ui="a7"] .a7-page-family-finance :where(.expense-stack,.sber-day-detail .table-scroll,.contract-upload,.royalty-formula-card){background:var(--a7-panel);color:var(--a7-text);border-color:var(--a7-line)}
html[data-ui="a7"] .a7-page-family-analytics :where(.echart-panel,.chart-card){min-height:320px}
html[data-ui="a7"] .a7-page.a7-page-family-analytics .summary-item .label{font-size:14px;line-height:20px;font-weight:400;color:var(--a7-muted)}
html[data-ui="a7"] .a7-page-family-analytics .summary-item{background:var(--a7-panel);color:var(--a7-text);border-color:var(--a7-line)}
html[data-ui="a7"] .a7-page.a7-page-family-tasks .task-title{font-size:14px;line-height:20px;font-weight:600;color:var(--a7-text)}
html[data-ui="a7"] .a7-page-family-tasks .task-row{background:var(--a7-panel);color:var(--a7-text);border-color:var(--a7-line)}
html[data-ui="a7"] .a7-page-family-system :where(.integration-card,.system-file-card,.access-card){border-color:var(--a7-line)}
html[data-ui="a7"] .a7-page.a7-page-family-system .system-file-meta{font-size:14px;line-height:20px;font-weight:500;color:var(--a7-muted)}
html[data-ui="a7"] .a7-page-family-system .system-file-card,html[data-ui="a7"] .a7-page-family-system .system-file-card.featured{background:var(--a7-panel);color:var(--a7-text);border-color:var(--a7-line);box-shadow:none}
html[data-ui="a7"] .a7-page-family-system .system-file-card code{color:var(--a7-muted)}
html[data-ui="a7"] .a7-page[data-page="customer-chats"] [style*="font-size"]{font-size:14px!important;line-height:20px!important}
html[data-ui="a7"] .a7-page[data-page="customer-chats"] [style*="font-weight"]{font-weight:600!important}
html[data-ui="a7"] .a7-page[data-page="customer-chats"] [style*="background:"]{background:var(--a7-panel-soft)!important;color:var(--a7-text)!important}
html[data-ui="a7"] .a7-page[data-page="price-tags"] .price-tag-zone{font-size:14px!important;line-height:20px!important;font-weight:600!important}
html[data-ui="a7"] .a7-page-family-overview:has(.dashboard-mode [data-mode="operations"].active) :where(.kpi-label,.kpi-foot,.task-type,.task-title,.task-detail,.quick-tile,.quick-tile span,.empty-text){font-size:14px;line-height:20px;font-weight:400;color:var(--a7-muted)}
html[data-ui="a7"] .a7-page-family-overview:has(.dashboard-mode [data-mode="operations"].active) .kpi-card{min-height:156px;padding:20px}
html[data-ui="a7"] .a7-page-family-overview:has(.dashboard-mode [data-mode="operations"].active) .kpi-foot{position:static;margin-top:12px}
html[data-ui="a7"] .a7-page-family-overview:has(.dashboard-mode [data-mode="operations"].active) .kpi-value{font-size:28px;line-height:36px;font-weight:600;color:var(--a7-text)}
html[data-ui="a7"] .a7-page-family-overview:has(.dashboard-mode [data-mode="operations"].active) :where(.task-title,.quick-tile strong,.dashboard-widget strong){font-size:14px;line-height:20px;font-weight:600;color:var(--a7-text)}
@media(max-width:820px){
html[data-ui="a7"] .a7-page{gap:16px}
html[data-ui="a7"] .a7-page[data-page="report"]>*{min-width:0;max-width:100%}
html[data-ui="a7"] .report-page .page-header{display:grid;grid-template-columns:minmax(0,1fr)}
html[data-ui="a7"] .report-page .page-actions{min-width:0;max-width:100%;justify-content:flex-start}
html[data-ui="a7"] .a7-page[data-page="expenses"] .expense-register-row{grid-template-columns:48px 48px minmax(0,1fr) 105px}
html[data-ui="a7"] .a7-page[data-page="expenses"] .expense-row-delete{width:48px;min-width:48px}
html[data-ui="a7"] .a7-page :where(.card-header,.section-line){align-items:flex-start;flex-wrap:wrap}
html[data-ui="a7"] .a7-page :where(.toolbar,.filterbar,.premium-filterbar){align-items:stretch}
html[data-ui="a7"] .a7-page :where(.toolbar,.filterbar,.premium-filterbar)>*{max-width:100%;min-width:0}
html[data-ui="a7"] .a7-page :where(.tabs,.record-tabs,.payroll-tabs,.segmented) :where(button,.tab){min-height:48px}
html[data-ui="a7"] .a7-page[data-page="customer-chats"] .card>div{grid-template-columns:minmax(0,1fr)!important}
html[data-ui="a7"] .a7-page[data-page="customer-chats"] .card>div>div:nth-child(2)>div:last-child>.field{min-width:0}
html[data-ui="a7"] .a7-page :where(.table-pagination,.payment-selection-tools,.product-movement-period){flex-wrap:wrap}
}
html[data-ui="a7"] body.login-visible{background:var(--a7-bg)}
html[data-ui="a7"] .login-screen{min-height:100dvh;background:linear-gradient(135deg,var(--a7-sidebar),var(--a7-bg));padding:24px}
html[data-ui="a7"] .login-card{width:min(440px,100%);display:grid;gap:24px;padding:32px;border:1px solid var(--a7-line);border-radius:12px;background:var(--a7-panel);color:var(--a7-text);box-shadow:var(--a7-shadow-float)}
html[data-ui="a7"] .login-card :is(h1){font-size:28px;line-height:36px;font-weight:600;color:var(--a7-text)}
html[data-ui="a7"] .login-card :is(p,label,.login-card-field,.login-card-option-role,.login-card-option-name){font-size:14px;line-height:20px;font-weight:500;color:var(--a7-muted)}
html[data-ui="a7"] .login-card :is(input,summary,.login-submit){min-height:48px;font-size:16px;line-height:24px}
html[data-ui="a7"] .login-card :is(input,summary,.login-card-options){border-color:var(--a7-line-strong);background:var(--a7-panel);color:var(--a7-text)}
html[data-ui="a7"] .login-card :is(.login-card-option-name,strong){color:var(--a7-text);font-weight:600}
html[data-ui="a7"] .login-card-option{min-height:48px;color:var(--a7-text)}
html[data-ui="a7"] .login-card-option:hover{background:var(--a7-brand-soft)}
html[data-ui="a7"] .login-error{font-size:14px;line-height:20px;color:var(--a7-danger);background:var(--a7-danger-soft);border-color:var(--a7-danger)}
html[data-ui="a7"] .search-modal :is(.search-result,.global-search-item){min-height:48px;border-bottom:1px solid var(--a7-line)}
html[data-ui="a7"] .search-modal :is(.search-result-title,.search-result-meta){font-size:14px;line-height:20px;font-weight:400;color:var(--a7-text)}
html[data-ui="a7"] .search-modal .search-result-title{font-weight:500}
html[data-ui="a7"] .search-modal .search-result-meta{color:var(--a7-muted)}
html[data-ui="a7"] .search-modal .search-result:hover{background:var(--a7-panel-soft)}
html[data-ui="a7"] :is(.barcode-scanner-sheet,.ocr-catalog-sheet,.nested-product-sheet){background:var(--a7-panel);color:var(--a7-text)}
html[data-ui="a7"] :is(.barcode-scanner-sheet,.ocr-catalog-sheet,.nested-product-sheet) :is(button,input,select,textarea){min-height:48px;font-size:16px;line-height:24px}
@media(max-width:820px){
  html[data-ui="a7"] .login-screen{padding:16px}
  html[data-ui="a7"] .login-card{padding:24px}
}
html[data-ui="a7"] .login-card :is(input,summary,.login-submit){font-weight:500}
html[data-ui="a7"] :is(.barcode-scanner-sheet,.ocr-catalog-sheet,.nested-product-sheet) :where(*){font-size:14px;line-height:20px;font-weight:400}
html[data-ui="a7"] :is(.barcode-scanner-sheet,.ocr-catalog-sheet,.nested-product-sheet) :is(strong,b){font-weight:600}
html[data-ui="a7"] :is(.nested-sheet-head,.nested-sheet-footer,.ocr-catalog-toolbar,.ocr-catalog-tree,.ocr-catalog-product,.barcode-scanner-status,.barcode-scanner-footer){background:var(--a7-panel);color:var(--a7-text);border-color:var(--a7-line)}
html[data-ui="a7"] :is(.nested-sheet-head span,.ocr-catalog-count,.ocr-catalog-product small,.barcode-scanner-head span,.barcode-scanner-status){color:var(--a7-muted)}
html[data-ui="a7"] :is(.ocr-catalog-product:hover,.ocr-catalog-tree-row:hover,.ocr-catalog-tree-row.active){background:var(--a7-brand-soft);color:var(--a7-text)}
html[data-ui="a7"] .ocr-catalog-sheet{height:min(900px,100dvh);max-height:100dvh}
html[data-ui="a7"] .ocr-catalog-toolbar{flex-wrap:wrap}
@media(max-width:820px){
  html[data-ui="a7"] .ocr-catalog-browser{grid-template-columns:minmax(100px,30%) minmax(0,1fr)}
  html[data-ui="a7"] .ocr-catalog-toolbar .field{min-width:0;width:100%}
}

html[data-ui="a7"] :is(.modal,.inspector) :is(.form-label,.ocr-auto-detected,.ocr-summary-line,.ocr-row-warning,.table-sort-indicator,.table-pagination){font-size:14px}
html[data-ui="a7"] :is(.modal,.inspector) .table-pagination :is(span,select,button){font-size:14px}
html[data-ui="a7"] :is(.modal,.inspector) :is(.modal-title,strong,b,.ocr-invoice-total td){font-weight:600}
html[data-ui="a7"] .ocr-review-dock,html[data-ui="a7"] .ocr-review-dock>span{font-size:14px}

@keyframes a7-print-queue-pulse{0%,100%{background:var(--a7-attention-soft)}50%{background:#f3b36b;color:#4b2600}}
html[data-ui="a7"] .nav-item.has-print-queue{animation:a7-print-queue-pulse 2.4s ease-in-out infinite;border-color:var(--a7-attention)}
html[data-ui="a7"] .reconciliation-payment-row.is-active>td{background:#fff1df!important;border-color:#d97706!important}
html[data-ui="a7"] .reconciliation-linked-invoice>td{background:#e7f4ec!important;border-color:#178057!important}
html[data-ui="a7"] [data-page="suppliers"] table td:nth-child(2),html[data-ui="a7"] .suppliers-table td:nth-child(2){text-align:left!important}
html[data-ui="a7"] [data-page="supplier-payments"] .btn,html[data-ui="a7"] .payment-register .btn{min-height:30px;height:30px;display:inline-flex;align-items:center;justify-content:center}

/* Owner corrections: compact, aligned A7 registers. */
html[data-ui="a7"] [data-page="contacts"] .premium-filterbar{display:flex;gap:8px;align-items:center;padding:12px 0;margin:0 0 16px;border-bottom:1px solid var(--a7-line)}
html[data-ui="a7"] [data-page="contacts"] .premium-filterbar :is(input,select){height:36px;min-height:36px;border-radius:7px;font:500 12px/18px Montserrat,Arial,sans-serif}
html[data-ui="a7"] .contacts-register{border-radius:9px;overflow:hidden}
html[data-ui="a7"] .contacts-register th{height:36px;padding:8px 10px;font:500 11px/16px Montserrat,Arial,sans-serif}
html[data-ui="a7"] .contacts-register td{height:52px;padding:8px 10px;font:500 11px/16px Montserrat,Arial,sans-serif;vertical-align:middle}
html[data-ui="a7"] .contacts-register .btn{height:30px;min-height:30px}
html[data-ui="a7"] .contact-channel-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:12px;border:1px solid var(--a7-line);border-radius:8px;background:var(--a7-panel-soft)}
html[data-ui="a7"] .contact-channel-grid label{display:flex;align-items:center;gap:8px;min-height:32px}

html[data-ui="a7"] [data-page="expenses"]>.toolbar{min-height:44px;margin:0 0 16px;padding:8px 0;border-bottom:1px solid var(--a7-line)}
html[data-ui="a7"] [data-page="expenses"] .expense-month-grid{gap:16px;margin:18px 0}
html[data-ui="a7"] [data-page="expenses"] .expense-month-card{border:1px solid var(--a7-line);border-top:3px solid var(--a7-brand);border-radius:10px;box-shadow:0 3px 14px rgba(20,45,38,.05)}
html[data-ui="a7"] [data-page="expenses"] .expense-month-card.variable{border-top-color:var(--a7-attention)}
html[data-ui="a7"] [data-page="expenses"] .expense-month-card .card-header{min-height:68px;padding:14px 16px;background:#fbfcfb}
html[data-ui="a7"] [data-page="expenses"] .expense-plan-list{max-height:520px;background:#fff}
html[data-ui="a7"] [data-page="expenses"] .expense-register-row{min-height:70px;padding:9px 12px;border-bottom:1px solid var(--a7-line);background:#fff}
html[data-ui="a7"] [data-page="expenses"] .expense-register-row:hover{background:#f6faf8}
html[data-ui="a7"] [data-page="expenses"] :is(.expense-pay-button,.expense-inline-plus,.expense-circle-plus){display:inline-flex;align-items:center;justify-content:center;min-height:30px;height:30px;border-radius:7px}
html[data-ui="a7"] [data-page="expenses"] .expense-increment-input{height:34px;border-radius:7px}
html[data-ui="a7"] [data-page="expenses"] .collapsed-register{border-radius:10px;overflow:hidden}

/* Approved owner reference: compact paired expense ledgers. */
@media(min-width:981px){
html[data-ui="a7"] [data-page="expenses"] .expense-month-grid{gap:12px;margin:14px 0}
html[data-ui="a7"] [data-page="expenses"] .expense-month-card{border-radius:8px;box-shadow:none}
html[data-ui="a7"] [data-page="expenses"] .expense-month-card .card-header{box-sizing:border-box;min-height:58px;height:58px;padding:9px 12px;background:#fbfcfb}
html[data-ui="a7"] [data-page="expenses"] .expense-month-card .card-title{font-size:12px;line-height:18px;text-transform:uppercase;letter-spacing:.04em}
html[data-ui="a7"] [data-page="expenses"] .expense-month-card .task-detail{font-size:11px;line-height:14px}
html[data-ui="a7"] [data-page="expenses"] .expense-header-total{gap:9px;font-size:11px;white-space:nowrap}
html[data-ui="a7"] [data-page="expenses"] .expense-circle-plus{width:26px;min-width:26px;height:26px;min-height:26px;padding:0;border-radius:6px;font-size:15px;box-shadow:0 3px 8px rgba(14,83,74,.18)}
html[data-ui="a7"] [data-page="expenses"] .expense-plan-list{max-height:520px}
html[data-ui="a7"] [data-page="expenses"] .expense-register-row{box-sizing:border-box;grid-template-columns:minmax(126px,1fr) 102px 86px minmax(94px,118px) 68px!important;gap:5px;align-items:center;min-height:44px;height:44px;padding:5px 10px 5px 16px;font-size:11px}
html[data-ui="a7"] [data-page="expenses"] .expense-register-row:before{top:0;bottom:0;width:4px;border-radius:0}
html[data-ui="a7"] [data-page="expenses"] .expense-main{display:flex;align-items:center;gap:7px;min-width:0;height:32px}
html[data-ui="a7"] [data-page="expenses"] .expense-main-icon{flex:0 0 15px;width:15px;height:15px;color:#6f7974}
html[data-ui="a7"] [data-page="expenses"] .expense-main span{min-width:0}
html[data-ui="a7"] [data-page="expenses"] .expense-main strong{font-size:11px;line-height:14px}
html[data-ui="a7"] [data-page="expenses"] .expense-main small{display:none}
html[data-ui="a7"] [data-page="expenses"] .expense-amount{display:contents}
html[data-ui="a7"] [data-page="expenses"] .expense-amount>strong{grid-column:3;grid-row:1;justify-self:end;font-size:14px;line-height:20px;white-space:nowrap}
html[data-ui="a7"] [data-page="expenses"] .expense-register-row .expense-status{grid-column:2;grid-row:1;justify-self:stretch;align-self:center;display:flex!important;justify-content:center;box-sizing:border-box;min-width:0;padding:5px 8px;border-radius:999px;font-size:11px;line-height:14px;white-space:nowrap;text-align:center}
html[data-ui="a7"] [data-page="expenses"] .expense-register-row.status-paid .expense-status{background:#1e806f;color:#fff}
html[data-ui="a7"] [data-page="expenses"] .expense-add{grid-column:4;grid-row:1;display:grid;grid-template-columns:20px minmax(68px,1fr);gap:4px;align-items:center;height:30px}
html[data-ui="a7"] [data-page="expenses"] .expense-add small{display:none}
html[data-ui="a7"] [data-page="expenses"] .expense-inline-plus{grid-column:1;grid-row:1;width:20px;min-width:20px;height:20px;min-height:20px;padding:0;border-radius:50%;font-size:13px}
html[data-ui="a7"] [data-page="expenses"] .expense-increment-input{grid-column:2;grid-row:1;box-sizing:border-box;height:30px;min-height:30px;border-radius:15px;padding:0 9px;font-size:11px}
html[data-ui="a7"] [data-page="expenses"] .expense-pay-button{grid-column:5;grid-row:1;box-sizing:border-box;width:68px;min-width:68px;height:30px;min-height:30px;padding:3px 7px;border-radius:15px;font-size:11px;text-transform:lowercase}
html[data-ui="a7"] [data-page="expenses"] .expense-pay-button-static{opacity:1;color:var(--a7-muted);background:#fff;cursor:default}
html[data-ui="a7"] [data-page="expenses"] .expense-row-delete{position:absolute;z-index:3;right:6px;top:3px;width:18px;min-width:18px;height:18px;min-height:18px}
html[data-ui="a7"] [data-page="expenses"] .expense-select{position:absolute;z-index:3;left:1px;top:11px;width:14px;height:22px;opacity:0;pointer-events:none}
html[data-ui="a7"] [data-page="expenses"] .expense-register-row:hover .expense-select,html[data-ui="a7"] [data-page="expenses"] .expense-select:focus-within{opacity:1;pointer-events:auto}
html[data-ui="a7"] [data-page="expenses"] .expense-select input{width:13px;height:13px;min-height:13px;margin:0}
}

@keyframes a7RevaluationPending{0%,100%{box-shadow:0 0 0 0 rgba(224,122,47,0)}50%{box-shadow:0 0 0 4px rgba(224,122,47,.18)}}
html[data-ui="a7"] .revaluation-print-pending .summary-strip{border-radius:10px;animation:a7RevaluationPending 2.4s ease-in-out infinite}

/* Pricing follows the A7 ledgers and the owner's overview risk strip. */
html[data-ui="a7"] [data-page="pricing"] .pricing-workspace{min-width:0}
html[data-ui="a7"] [data-page="pricing"] .pricing-workspace-note{padding:14px 18px;background:var(--a7-panel,#fff);border:1px solid var(--a7-line,#dce3df);border-radius:10px;margin-bottom:16px;font-size:14px;line-height:1.55}
html[data-ui="a7"] [data-page="pricing"] .pricing-workspace-note p{margin:0}
html[data-ui="a7"] [data-page="pricing"] .pricing-workspace-note.needs-data{border-left:5px solid #e4b435}
html[data-ui="a7"] [data-page="pricing"] .pricing-sales-search{margin-bottom:16px}
html[data-ui="a7"] [data-page="pricing"] .pricing-sales-search input{max-width:520px;flex:1;min-width:0}
html[data-ui="a7"] [data-page="pricing"] .pricing-periods{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:start;margin-bottom:16px}
html[data-ui="a7"] [data-page="pricing"] .pricing-period{min-width:0;overflow:hidden;padding:0;border-radius:12px;box-shadow:none}
html[data-ui="a7"] [data-page="pricing"] .pricing-period-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px;border-bottom:1px solid var(--a7-line,#dce3df)}
html[data-ui="a7"] [data-page="pricing"] .pricing-period-header h2{margin:0;font-size:20px;line-height:1.3}
html[data-ui="a7"] [data-page="pricing"] .pricing-period-header p{margin:6px 0 0;font-size:14px;color:var(--a7-muted,#69776f)}
html[data-ui="a7"] [data-page="pricing"] .pricing-period-header .btn{flex-shrink:0;min-height:48px}
html[data-ui="a7"] [data-page="pricing"] .pricing-period-total{padding:16px 18px;display:grid;grid-template-columns:1fr auto;gap:6px 12px;background:var(--a7-panel-soft,#f4f7f5);font-size:14px}
html[data-ui="a7"] [data-page="pricing"] .pricing-period-total>strong{font-size:22px;white-space:nowrap}
html[data-ui="a7"] [data-page="pricing"] .pricing-period-total>small{grid-column:1/-1;font-size:14px;color:var(--a7-muted,#69776f)}
html[data-ui="a7"] [data-page="pricing"] .pricing-period table{width:100%;table-layout:auto;min-width:540px}
html[data-ui="a7"] [data-page="pricing"] .pricing-period th,html[data-ui="a7"] [data-page="pricing"] .pricing-period td{padding:14px 12px;font-size:14px;line-height:1.45;vertical-align:top}
html[data-ui="a7"] [data-page="pricing"] .pricing-period th:first-child{width:42%}
html[data-ui="a7"] [data-page="pricing"] .pricing-period th:not(:first-child),html[data-ui="a7"] [data-page="pricing"] .pricing-period td:not(:first-child){text-align:right}
html[data-ui="a7"] [data-page="pricing"] .pricing-period td:first-child{min-width:170px;overflow-wrap:anywhere}
html[data-ui="a7"] [data-page="pricing"] .pricing-period td small{display:block;margin-top:5px;font-size:14px;color:var(--a7-muted,#69776f)}
html[data-ui="a7"] [data-page="pricing"] .pricing-profit{white-space:nowrap}
html[data-ui="a7"] [data-page="pricing"] .pricing-profit small{white-space:normal;max-width:160px}
html[data-ui="a7"] [data-page="pricing"] .pricing-loss-row td:first-child{box-shadow:inset 3px 0 #c16648}
html[data-ui="a7"] [data-page="pricing"] .pricing-period-footer{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:12px 18px;border-top:1px solid var(--a7-line,#dce3df);font-size:14px}
html[data-ui="a7"] [data-page="pricing"] .pricing-period-footer>span{margin-right:auto}
html[data-ui="a7"] .is-loss{color:#b74c32}
html[data-ui="a7"] [data-page="products"] .catalog-title-row:has(.catalog-loss-banner){display:flex;align-items:stretch;justify-content:space-between;gap:22px;margin-bottom:16px}
html[data-ui="a7"] [data-page="products"] .catalog-loss-banner{display:flex;align-items:center;gap:18px;flex:1;max-width:840px;min-width:0;padding:14px 18px;border-left:8px solid #e5b032;border-radius:12px;background:#174f40;color:#fff}
html[data-ui="a7"] [data-page="products"] .catalog-loss-banner>div{min-width:0;flex:1}
html[data-ui="a7"] [data-page="products"] .catalog-loss-banner span{display:block;color:#f1c04b;font-size:14px;font-weight:650;letter-spacing:.04em}
html[data-ui="a7"] [data-page="products"] .catalog-loss-banner strong{display:block;font-size:20px;line-height:1.4}
html[data-ui="a7"] [data-page="products"] .catalog-loss-banner small{display:block;font-size:14px;line-height:1.4;color:#deebe5}
html[data-ui="a7"] [data-page="products"] .catalog-loss-banner b{font-size:30px;border-left:1px solid #668e7f;padding-left:18px}
html[data-ui="a7"] [data-page="products"] .catalog-loss-banner .btn{background:#e5b032;color:#173e32;border-color:#e5b032;white-space:nowrap;min-height:48px;font-size:14px}
html[data-ui="a7"] .pricing-loss-list{max-height:55vh;overflow:auto}
html[data-ui="a7"] .pricing-loss-list tr[hidden]{display:none}
html[data-ui="a7"] .revaluation-editor-table input[readonly]{background:var(--a7-panel-soft,#f0f5f2);font-weight:650;cursor:default}
html[data-ui="a7"] .a7-page[data-page="pricing"] .pricing-period :is(th,td,small,.btn){font-size:14px;line-height:20px}
html[data-ui="a7"] .a7-page[data-page="pricing"] .pricing-period th{overflow-wrap:normal;word-break:normal;text-transform:none;letter-spacing:0}
html[data-ui="a7"] .a7-page[data-page="pricing"] .pricing-period .btn{min-height:48px}
html[data-ui="a7"] .a7-page[data-page="pricing"] .pricing-period th:nth-child(1){width:36%}
html[data-ui="a7"] .a7-page[data-page="pricing"] .pricing-period th:nth-child(2){width:16%}
html[data-ui="a7"] .a7-page[data-page="pricing"] .pricing-period th:nth-child(3){width:18%}
html[data-ui="a7"] .a7-page[data-page="pricing"] .pricing-period th:nth-child(4){width:30%}
html[data-ui="a7"] .a7-page[data-page="pricing"] .pricing-period-total>strong{font-size:22px;line-height:28px}
html[data-ui="a7"] .a7-page[data-page="pricing"] .pricing-period{background:var(--a7-panel);color:var(--a7-text)}
html[data-ui="a7"] .a7-page[data-page="pricing"] :is(.pricing-period-header,.pricing-period-footer){background:var(--a7-panel);color:var(--a7-text)}
html[data-ui="a7"] .a7-page[data-page="pricing"] .pricing-period-header h2{color:var(--a7-text)}
html[data-ui="a7"] .a7-page[data-page="pricing"] .pricing-period-total{color:var(--a7-text)}
html[data-ui="a7"] .a7-page[data-page="pricing"] .pricing-period [data-a7-label]::before{font-size:14px}
html[data-ui="a7"] .a7-page[data-page="products"] .catalog-loss-banner strong{font-size:20px;line-height:28px}
html[data-ui="a7"] .a7-page[data-page="products"] .catalog-loss-banner b{font-size:30px;line-height:36px}
html[data-ui="a7"] .pricing-revaluation-editor.modal :is(th,td,small,.task-detail,.btn,.form-control,.form-label){font-size:14px;line-height:20px}
html[data-ui="a7"] .pricing-revaluation-editor.modal :is(.btn,.form-control){min-height:48px}
html[data-ui="a7"] .pricing-revaluation-editor.modal .receipt-lines-head .task-detail{font-size:14px;line-height:20px}
html[data-ui="a7"] .pricing-revaluation-editor.modal th{word-break:normal;overflow-wrap:normal}
html[data-ui="a7"][data-theme="dark"] .is-loss,html[data-ui="a7"] [data-theme="dark"] .is-loss{color:#ffa18a}
@media(max-width:1350px){
html[data-ui="a7"] [data-page="pricing"] .pricing-periods{grid-template-columns:minmax(0,1fr)}
html[data-ui="a7"] [data-page="products"] .catalog-title-row:has(.catalog-loss-banner){flex-direction:column;gap:12px}
html[data-ui="a7"] [data-page="products"] .catalog-loss-banner{max-width:none}
}
@media(max-width:600px){
html[data-ui="a7"] [data-page="products"] .catalog-loss-banner{flex-wrap:wrap;padding:12px;gap:12px}
html[data-ui="a7"] [data-page="products"] .catalog-loss-banner>div{flex-basis:70%}
html[data-ui="a7"] [data-page="products"] .catalog-loss-banner b{padding-left:12px}
html[data-ui="a7"] [data-page="products"] .catalog-loss-banner .btn{width:100%}
html[data-ui="a7"] [data-page="pricing"] .pricing-period-header{flex-wrap:wrap;padding:14px}
html[data-ui="a7"] [data-page="pricing"] .pricing-period-total{grid-template-columns:1fr}
html[data-ui="a7"] [data-page="pricing"] .pricing-period-footer{flex-wrap:wrap}
}

html[data-ui="a7"] :is(.pricing-period,.pricing-loss-list) tr[data-action="pricing-open-product"]{cursor:pointer}
html[data-ui="a7"] :is(.pricing-period,.pricing-loss-list) tr[data-action="pricing-open-product"]:hover>td{background:var(--a7-panel-soft,#edf5ef)}
html[data-ui="a7"] :is(.pricing-period,.pricing-loss-list) tr[data-action="pricing-open-product"]:focus-visible{outline:2px solid var(--a7-primary,#176b50);outline-offset:-2px}

/* Approved A7 product card: price tab. */
html[data-ui="a7"] .product-card-modal.modal{width:min(1360px,calc(100vw - 48px));max-height:calc(100vh - 40px);overflow:hidden;border-radius:16px}
html[data-ui="a7"] .product-card-modal .modal-header{padding:24px 40px 8px;border-bottom:0}
html[data-ui="a7"] .product-card-modal .modal-header h2{font-size:30px;line-height:1.15;letter-spacing:-.02em}
html[data-ui="a7"] .product-card-modal .modal-subtitle{display:none}
html[data-ui="a7"] .product-card-modal .modal-body{flex:1 1 auto;min-height:0;overflow:auto;padding:4px 40px 24px}
html[data-ui="a7"] .product-card-modal .modal-footer{padding:16px 20px;border-top:1px solid var(--a7-line,#dce3df);gap:20px}
html[data-ui="a7"] .product-card-modal .modal-footer .btn{min-width:176px;min-height:50px;font-size:16px}
html[data-ui="a7"] .product-card-modal .modal-footer [data-action="archive-product"]{margin-right:auto}
html[data-ui="a7"] .product-card-identity{padding:6px 0 22px}
html[data-ui="a7"] .product-card-identity h2{margin:0 0 10px;font-size:29px;line-height:1.25;letter-spacing:-.025em;color:var(--a7-text,#18211d)}
html[data-ui="a7"] .product-card-identity-meta{display:flex;align-items:center;gap:18px;color:var(--a7-muted,#69776f);font-size:17px}
html[data-ui="a7"] .product-card-identity-meta>i{width:1px;height:26px;background:var(--a7-line,#dce3df)}
html[data-ui="a7"] .product-card-status{display:inline-flex;align-items:center;gap:9px;padding:5px 13px;border-radius:999px;background:#dcefe5;color:#176b50;font-weight:700}
html[data-ui="a7"] .product-card-status b{width:8px;height:8px;border-radius:50%;background:currentColor}
html[data-ui="a7"] .product-card-status[data-status="archived"]{background:#ecefed;color:#69776f}
html[data-ui="a7"] .product-card-modal .product-tabs{gap:8px;padding-bottom:16px;border-bottom:1px solid var(--a7-line,#dce3df)}
html[data-ui="a7"] .product-card-modal .product-tab{min-width:144px;padding:12px 22px;border:1px solid var(--a7-line,#dce3df);border-radius:9px;background:var(--a7-panel,#fff);font-size:16px}
html[data-ui="a7"] .product-card-modal .product-tab.active{background:var(--a7-primary,#176b50);border-color:var(--a7-primary,#176b50);color:#fff;box-shadow:0 5px 12px rgba(23,107,80,.16)}
html[data-ui="a7"] .product-card-modal .product-tab-pane{padding-top:20px}
html[data-ui="a7"] .product-price-layout{display:grid;grid-template-columns:minmax(360px,.86fr) minmax(560px,1.14fr);gap:24px;min-height:430px}
html[data-ui="a7"] .product-price-summary{display:flex;flex-direction:column;min-width:0;padding:16px 24px 0 0;border-right:1px solid var(--a7-line,#dce3df)}
html[data-ui="a7"] .product-price-source{display:flex;align-items:flex-start;gap:14px;padding:14px 16px;margin-bottom:20px;border-radius:10px;background:#fff0c9;color:#3b3525}
html[data-ui="a7"] .product-price-source>svg{width:24px;height:24px;flex:0 0 24px;color:#c98600}
html[data-ui="a7"] .product-price-source strong,html[data-ui="a7"] .product-price-source span{display:block;line-height:1.35}
html[data-ui="a7"] .product-price-source span{margin-top:3px;font-size:13px;color:#71674e}
html[data-ui="a7"] .product-price-source .link-btn{font:inherit;color:inherit;text-decoration:underline}
html[data-ui="a7"] .product-price-stat{padding:17px 12px 22px;border-bottom:1px solid var(--a7-line,#dce3df)}
html[data-ui="a7"] .product-price-stat>span{display:block;margin-bottom:7px;color:var(--a7-muted,#69776f);font-size:16px;letter-spacing:.045em;text-transform:uppercase}
html[data-ui="a7"] .product-price-stat>strong{display:block;font-size:52px;line-height:1.05;letter-spacing:-.035em;color:var(--a7-text,#18211d)}
html[data-ui="a7"] .product-price-meta{display:grid;grid-template-columns:1fr 1fr;padding:18px 12px 22px}
html[data-ui="a7"] .product-price-meta>div+div{padding-left:48px;border-left:1px solid var(--a7-line,#dce3df)}
html[data-ui="a7"] .product-price-meta span,html[data-ui="a7"] .product-price-meta strong{display:block}
html[data-ui="a7"] .product-price-meta span{margin-bottom:5px;color:var(--a7-muted,#69776f);font-size:15px}
html[data-ui="a7"] .product-price-meta strong{font-size:22px;color:var(--a7-text,#18211d)}
html[data-ui="a7"] .product-price-analytics{margin-top:auto;display:inline-flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:54px;padding:0 20px;border:2px solid var(--a7-primary,#176b50);border-radius:9px;background:var(--a7-panel,#fff);color:var(--a7-primary,#176b50);font:700 18px/1 inherit;cursor:pointer}
html[data-ui="a7"] .product-price-analytics svg{width:21px;height:21px}
html[data-ui="a7"] .product-price-details{min-width:0;padding:4px 0 0}
html[data-ui="a7"] .product-price-section+ .product-price-section{margin-top:20px;padding-top:18px;border-top:1px solid var(--a7-line,#dce3df)}
html[data-ui="a7"] .product-price-section h3{margin:0 0 14px;font-size:24px;line-height:1.2;color:var(--a7-text,#18211d)}
html[data-ui="a7"] .product-card-modal .product-price-table{display:table;width:100%;min-width:560px;table-layout:fixed;border-collapse:separate;border-spacing:0;border:1px solid var(--a7-line,#dce3df);border-radius:10px;overflow:hidden}
html[data-ui="a7"] .product-card-modal .product-price-table thead{display:table-header-group}
html[data-ui="a7"] .product-card-modal .product-price-table tbody{display:table-row-group}
html[data-ui="a7"] .product-card-modal .product-price-table tr{display:table-row}
html[data-ui="a7"] .product-card-modal .product-price-table :is(th,td){display:table-cell;width:auto;min-width:0;height:40px;padding:8px 16px;border-right:1px solid var(--a7-line,#dce3df);border-bottom:1px solid var(--a7-line,#dce3df);font-size:16px;line-height:1.2;white-space:nowrap;text-transform:none}
html[data-ui="a7"] .product-price-table :is(th,td):not(:first-child){text-align:right}
html[data-ui="a7"] .product-price-table :is(th,td):last-child{border-right:0}
html[data-ui="a7"] .product-price-table tbody tr:last-child td{border-bottom:0}
html[data-ui="a7"] .product-price-table th{background:var(--a7-panel-soft,#f4f7f5);font-weight:500;color:var(--a7-text,#18211d)}
html[data-ui="a7"] .product-price-history-table col:nth-child(1){width:23%}
html[data-ui="a7"] .product-price-history-table col:nth-child(2){width:29%}
html[data-ui="a7"] .product-price-history-table col:nth-child(3){width:29%}
html[data-ui="a7"] .product-price-history-table col:nth-child(4){width:19%}
html[data-ui="a7"] .product-supplier-price-table col:nth-child(1){width:44%}
html[data-ui="a7"] .product-supplier-price-table col:nth-child(2){width:28%}
html[data-ui="a7"] .product-supplier-price-table col:nth-child(3){width:28%}
html[data-ui="a7"][data-theme="dark"] .product-price-source{background:#4b3f22;color:#fff2ca}
html[data-ui="a7"][data-theme="dark"] .product-price-source span{color:#e8d9a8}
@media(max-width:980px){html[data-ui="a7"] .product-price-layout{grid-template-columns:1fr;min-height:0}html[data-ui="a7"] .product-price-summary{padding-right:0;padding-bottom:20px;border-right:0;border-bottom:1px solid var(--a7-line,#dce3df)}html[data-ui="a7"] .product-price-analytics{margin-top:18px}html[data-ui="a7"] .product-card-modal .modal-body{padding-inline:24px}}
@media(max-height:950px) and (min-width:981px){html[data-ui="a7"] .product-price-source{padding:11px 14px;margin-bottom:12px}html[data-ui="a7"] .product-price-stat{padding:12px 10px 15px}html[data-ui="a7"] .product-price-stat>span{margin-bottom:4px;font-size:14px}html[data-ui="a7"] .product-price-stat>strong{font-size:44px}html[data-ui="a7"] .product-price-meta{padding:12px 10px 14px}html[data-ui="a7"] .product-price-meta span{font-size:13px}html[data-ui="a7"] .product-price-meta strong{font-size:19px}html[data-ui="a7"] .product-price-analytics{min-height:48px;font-size:16px}html[data-ui="a7"] .product-price-section h3{margin-bottom:10px;font-size:22px}html[data-ui="a7"] .product-price-section+ .product-price-section{margin-top:14px;padding-top:14px}}
@media(max-width:640px){html[data-ui="a7"] .product-card-modal.modal{width:100%;max-height:100vh;border-radius:0}html[data-ui="a7"] .product-card-modal .modal-header{padding:18px 18px 6px}html[data-ui="a7"] .product-card-modal .modal-body{padding-inline:18px}html[data-ui="a7"] .product-card-identity h2{font-size:23px}html[data-ui="a7"] .product-card-identity-meta{align-items:flex-start;flex-direction:column;gap:8px;font-size:14px}html[data-ui="a7"] .product-card-identity-meta>i{display:none}html[data-ui="a7"] .product-card-modal .product-tabs{overflow:auto;flex-wrap:nowrap}html[data-ui="a7"] .product-card-modal .product-tab{min-width:max-content}html[data-ui="a7"] .product-price-stat>strong{font-size:42px}html[data-ui="a7"] .product-price-meta>div+div{padding-left:18px}html[data-ui="a7"] .product-card-modal .modal-footer{flex-wrap:wrap;gap:8px}html[data-ui="a7"] .product-card-modal .modal-footer .btn{min-width:0;flex:1}html[data-ui="a7"] .product-card-modal .modal-footer [data-action="archive-product"]{flex-basis:100%}}

html[data-ui="a7"] .price-receipt-modal.modal{width:min(1200px,calc(100vw - 32px));max-height:min(820px,calc(100dvh - 32px));overflow:hidden;border-radius:14px}
html[data-ui="a7"] .price-receipt-modal .modal-header{padding:20px 24px 16px}
html[data-ui="a7"] .price-receipt-modal .modal-title{font:700 25px/1.2 Montserrat,Arial,sans-serif;letter-spacing:-.02em}
html[data-ui="a7"] .price-receipt-modal .modal-subtitle{margin-top:5px;font:400 14px/20px Montserrat,Arial,sans-serif}
html[data-ui="a7"] .price-receipt-modal .modal-body{padding:0;overflow:hidden}
html[data-ui="a7"] .price-receipt-picker{display:flex;min-height:0;flex-direction:column}
html[data-ui="a7"] .price-receipt-search{position:relative;padding:14px 22px;border-bottom:1px solid var(--a7-line)}
html[data-ui="a7"] .price-receipt-search svg{position:absolute;z-index:1;top:50%;left:36px;width:18px;height:18px;transform:translateY(-50%);color:var(--a7-muted);pointer-events:none}
html[data-ui="a7"] .price-receipt-modal .price-receipt-search .form-control{width:calc(67% - 12px);max-width:none;height:46px;min-height:46px;padding:10px 14px 10px 42px;border-color:var(--a7-line-strong,#b8c6be);border-radius:9px;font-size:14px}
html[data-ui="a7"] .price-receipt-layout{display:grid;min-height:430px;grid-template-columns:minmax(0,1.75fr) minmax(330px,.85fr)}
html[data-ui="a7"] .price-receipt-browser{display:flex;min-width:0;min-height:0;flex-direction:column;padding:14px 14px 16px 22px;border-right:1px solid var(--a7-line)}
html[data-ui="a7"] .price-receipt-filters{display:grid;grid-template-columns:142px 142px minmax(170px,1fr) 132px;gap:8px;margin-bottom:12px}
html[data-ui="a7"] .price-receipt-filters label{display:grid;gap:4px;min-width:0}
html[data-ui="a7"] .price-receipt-filters label>span{font-size:11px;font-weight:600;color:var(--a7-muted)}
html[data-ui="a7"] .price-receipt-modal .price-receipt-filters .form-control{width:100%;height:36px;min-height:36px;border-radius:8px;font-size:12px}
html[data-ui="a7"] .price-receipt-count{margin:0 0 7px;font-size:12px;font-weight:600;color:var(--a7-muted)}
html[data-ui="a7"] .price-receipt-list{min-height:0;overflow:auto;border:1px solid var(--a7-line);border-radius:9px;background:var(--a7-panel)}
html[data-ui="a7"] .price-receipt-row{display:grid;width:100%;grid-template-columns:18px minmax(118px,.8fr) minmax(155px,1.2fr) 76px 100px;align-items:center;gap:10px;padding:12px;border:0;border-bottom:1px solid var(--a7-line);background:transparent;color:var(--a7-text);font:500 12px/17px Montserrat,Arial,sans-serif;text-align:left;cursor:pointer}
html[data-ui="a7"] .price-receipt-row:last-child{border-bottom:0}
html[data-ui="a7"] .price-receipt-row:hover{background:var(--a7-panel-soft,#f5f8f6)}
html[data-ui="a7"] .price-receipt-row.selected{background:var(--a7-primary-soft,#e5f2ea)}
html[data-ui="a7"] .price-receipt-row>span:nth-child(2){display:grid;gap:1px}
html[data-ui="a7"] .price-receipt-row small{font-size:11px;color:var(--a7-muted)}
html[data-ui="a7"] .price-receipt-radio{width:16px;height:16px;border:1px solid var(--a7-line-strong,#a7b8ae);border-radius:50%;box-shadow:inset 0 0 0 4px var(--a7-panel)}
html[data-ui="a7"] .price-receipt-row.selected .price-receipt-radio{border-color:var(--a7-primary);background:var(--a7-primary);box-shadow:inset 0 0 0 4px var(--a7-primary-soft,#e5f2ea)}
html[data-ui="a7"] .price-receipt-empty{padding:36px 20px;color:var(--a7-muted);font-size:12px;line-height:18px;text-align:center}
html[data-ui="a7"] .price-receipt-preview{min-width:0;padding:20px;background:var(--a7-panel)}
html[data-ui="a7"] .price-receipt-preview-empty,html[data-ui="a7"] .price-receipt-preview-loading{display:grid;min-height:300px;place-items:center;color:var(--a7-muted);font-size:13px;text-align:center}
html[data-ui="a7"] .price-receipt-preview-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
html[data-ui="a7"] .price-receipt-preview-head>div{display:grid;gap:4px}
html[data-ui="a7"] .price-receipt-preview-head>div>strong{font-size:24px;line-height:29px}
html[data-ui="a7"] .price-receipt-preview-head>div>span{font-size:13px;color:var(--a7-muted)}
html[data-ui="a7"] .price-receipt-status{padding:4px 8px;border-radius:999px;background:var(--a7-primary-soft,#e5f2ea);color:var(--a7-primary);font-size:11px;font-weight:600}
html[data-ui="a7"] .price-receipt-status.cancelled{background:#f8e8e5;color:#9b332b}
html[data-ui="a7"] .price-receipt-preview-date{margin-top:14px;font-size:12px;color:var(--a7-muted)}
html[data-ui="a7"] .price-receipt-preview-totals{display:grid;grid-template-columns:1fr 1.25fr;gap:10px;margin-top:16px;padding:14px;border-radius:9px;background:var(--a7-primary-soft,#e5f2ea)}
html[data-ui="a7"] .price-receipt-preview-totals>div{display:grid;gap:3px}
html[data-ui="a7"] .price-receipt-preview-totals strong{font-size:18px}
html[data-ui="a7"] .price-receipt-preview-totals span{font-size:10px;color:var(--a7-muted)}
html[data-ui="a7"] .price-receipt-preview-products{margin-top:18px}
html[data-ui="a7"] .price-receipt-preview-products>strong{font-size:12px;color:var(--a7-muted)}
html[data-ui="a7"] .price-receipt-preview-products ul{margin:8px 0 0;padding:0;list-style:none}
html[data-ui="a7"] .price-receipt-preview-products li{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid var(--a7-line);font-size:11px;line-height:16px}
html[data-ui="a7"] .price-receipt-preview-products li span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[data-ui="a7"] .price-receipt-preview-products li strong{flex:0 0 auto}
html[data-ui="a7"] .price-receipt-more{display:block;margin-top:10px;color:var(--a7-primary);font-size:11px;font-weight:600}
html[data-ui="a7"] .price-receipt-modal .modal-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 22px}
html[data-ui="a7"] .price-receipt-summary{min-width:0;overflow:hidden;color:var(--a7-text);font-size:12px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}
html[data-ui="a7"] .price-receipt-footer-actions{display:flex;flex:0 0 auto;gap:8px}
html[data-ui="a7"] .price-receipt-modal .modal-footer .btn{min-height:40px;padding:8px 16px;font-size:13px}
@media(max-width:900px){html[data-ui="a7"] .price-receipt-modal .modal-body{overflow:auto}html[data-ui="a7"] .price-receipt-modal .price-receipt-search .form-control{width:100%}html[data-ui="a7"] .price-receipt-layout{grid-template-columns:1fr}html[data-ui="a7"] .price-receipt-browser{border-right:0;border-bottom:1px solid var(--a7-line)}html[data-ui="a7"] .price-receipt-filters{grid-template-columns:1fr 1fr}html[data-ui="a7"] .price-receipt-preview{min-height:300px}}
@media(max-width:620px){html[data-ui="a7"] .price-receipt-modal.modal{width:100%;max-height:100dvh;border-radius:0}html[data-ui="a7"] .price-receipt-modal .modal-header{padding:16px}html[data-ui="a7"] .price-receipt-search{padding:12px 14px}html[data-ui="a7"] .price-receipt-search svg{left:27px}html[data-ui="a7"] .price-receipt-browser{padding:12px 14px}html[data-ui="a7"] .price-receipt-filters{grid-template-columns:1fr}html[data-ui="a7"] .price-receipt-row{grid-template-columns:18px 1fr auto}html[data-ui="a7"] .price-receipt-row>span:nth-child(3),html[data-ui="a7"] .price-receipt-row>span:nth-child(4){grid-column:2}html[data-ui="a7"] .price-receipt-row>strong{grid-column:3;grid-row:1/3}html[data-ui="a7"] .price-receipt-modal .modal-footer{align-items:stretch;flex-direction:column}html[data-ui="a7"] .price-receipt-footer-actions .btn{flex:1}}

/* Approved A7 product card: overview, barcodes, movement and online preview. */
html[data-ui="a7"] .product-card-overview{display:grid;grid-template-columns:minmax(360px,.72fr) minmax(600px,1.28fr);gap:28px;align-items:start}
html[data-ui="a7"] .product-card-overview-media{min-width:0;padding:8px 28px 0 0;border-right:1px solid var(--a7-line,#dce3df)}
html[data-ui="a7"] .product-card-overview-media .product-profile-media{display:block;aspect-ratio:1/1;min-height:0;padding:0;border:1px solid var(--a7-line,#dce3df);border-radius:12px;background:#fff;overflow:hidden}
html[data-ui="a7"] .product-card-overview-media .product-photo-preview-button{display:block;width:100%;padding:0;border-radius:inherit;background:#fff}
html[data-ui="a7"] .product-card-overview-media .product-card-photo:not(.expanded-preview){width:100%;height:auto;max-width:none;max-height:none;aspect-ratio:1/1;object-fit:contain;padding:0;border:0;border-radius:12px;background:#fff}
html[data-ui="a7"] .product-card-overview-media img.product-card-photo:not(.expanded-preview){display:block}
html[data-ui="a7"] .product-card-image-action{display:flex;align-items:center;justify-content:center;gap:10px;min-height:46px;margin-top:14px;border:2px solid var(--a7-primary,#176b50);border-radius:9px;background:#fff;color:var(--a7-primary,#176b50);font-size:16px;font-weight:650;cursor:pointer}
html[data-ui="a7"] .product-card-image-action svg{width:21px;height:21px}
html[data-ui="a7"] .product-card-overview-details{min-width:0;padding-top:8px}
html[data-ui="a7"] .product-card-overview-category{margin:0 0 14px;font-size:24px;line-height:1.2;font-weight:750;color:var(--a7-text,#18211d)}
html[data-ui="a7"] .product-card-overview-table{border:1px solid var(--a7-line,#dce3df);border-radius:10px;overflow:hidden}
html[data-ui="a7"] .product-card-overview-table .product-spec-row{display:grid;grid-template-columns:minmax(190px,34%) minmax(0,66%);gap:18px;align-items:center;min-height:44px;padding:9px 14px;border-bottom:1px solid var(--a7-line,#dce3df)}
html[data-ui="a7"] .product-card-overview-table .product-spec-row:last-child{border-bottom:0}
html[data-ui="a7"] .product-card-overview-table .product-spec-row span{color:var(--a7-muted,#69776f);font-size:13px}
html[data-ui="a7"] .product-card-overview-table .product-spec-row strong{min-width:0;color:var(--a7-text,#18211d);font-size:14px;overflow-wrap:anywhere}
html[data-ui="a7"] .product-card-overview-table .product-edit-row{cursor:default}
html[data-ui="a7"] .product-card-overview-table .product-edit-row .form-control{width:100%;min-width:0;min-height:38px;padding:8px 10px;border:1px solid #cfd8d3;border-radius:7px;background:#fff;color:var(--a7-text,#18211d);font:500 14px/1.3 Montserrat,sans-serif}
html[data-ui="a7"] .product-card-overview-table .product-edit-row .form-control:focus{border-color:#176f52;box-shadow:0 0 0 3px rgba(23,111,82,.12);outline:0}
html[data-ui="a7"] .product-edit-inline{display:grid;grid-template-columns:minmax(120px,1fr) 110px;gap:8px;min-width:0}
html[data-ui="a7"] .product-card-related{margin-top:20px;padding-top:16px;border-top:1px solid var(--a7-line,#dce3df)}
html[data-ui="a7"] .product-card-related .product-side-label{margin-bottom:12px;font-size:22px;font-weight:700;color:var(--a7-text,#18211d)}
html[data-ui="a7"] .product-card-related .similar-product-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
html[data-ui="a7"] .product-card-related .related-product-actions{margin-top:12px}

html[data-ui="a7"] .product-barcode-layout{display:grid;grid-template-columns:minmax(330px,.76fr) minmax(560px,1.24fr);gap:28px;align-items:start}
html[data-ui="a7"] .product-barcode-active{min-width:0;padding:10px 28px 10px 0;border-right:1px solid var(--a7-line,#dce3df)}
html[data-ui="a7"] .product-barcode-history{min-width:0;padding-top:10px}
html[data-ui="a7"] .product-barcode-layout .section-label{margin-bottom:18px;font-size:22px;line-height:1.2;font-weight:700;color:var(--a7-text,#18211d);text-transform:none;letter-spacing:0}
html[data-ui="a7"] .product-pane-intro{margin:0 0 20px;color:var(--a7-muted,#69776f);font-size:13px;line-height:1.5}
html[data-ui="a7"] .product-barcode-primary{padding:14px 18px 12px;border-radius:12px;background:#fff4cf;text-align:center;overflow:hidden}
html[data-ui="a7"] .product-barcode-primary-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;text-align:left}
html[data-ui="a7"] .product-barcode-primary-meta>span{padding:5px 13px;border-radius:8px;background:#f4bf3b;color:#30270f;font-weight:750}
html[data-ui="a7"] .product-barcode-primary-meta small{color:var(--a7-muted,#69776f);font-size:14px}
html[data-ui="a7"] .product-barcode-delete{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:34px;padding:7px 10px;border:1px solid #e2c7c2;border-radius:8px;background:#fff;color:#9b3f35;font:650 12px/1 Montserrat,sans-serif;cursor:pointer}
html[data-ui="a7"] .product-barcode-delete:hover{border-color:#c96b60;background:#fff3f1;color:#7e2d25}
html[data-ui="a7"] .product-barcode-delete:focus-visible{outline:3px solid rgba(155,63,53,.18);outline-offset:2px}
html[data-ui="a7"] .product-barcode-delete svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8}
html[data-ui="a7"] .product-barcode-delete.icon-only{width:36px;padding:0}
html[data-ui="a7"] .product-barcode-primary canvas{display:block;width:100%;height:112px;background:#fff}
html[data-ui="a7"] .product-barcode-number{display:block;margin-top:5px;font-size:38px;line-height:1.1;letter-spacing:.035em;color:#111}
html[data-ui="a7"] .product-barcode-secondary-list{display:grid;gap:10px;margin-top:12px}
html[data-ui="a7"] .product-barcode-secondary{display:grid;grid-template-columns:130px minmax(0,1fr) auto auto;align-items:center;gap:12px;min-height:64px;padding:9px 12px;border:1px solid var(--a7-line,#dce3df);border-radius:10px;background:#fff}
html[data-ui="a7"] .product-barcode-secondary canvas{display:block;width:130px;height:42px;background:#fff}
html[data-ui="a7"] .product-barcode-secondary>strong{font-size:18px;letter-spacing:.025em;white-space:nowrap}
html[data-ui="a7"] .product-barcode-state{display:inline-flex;align-items:center;gap:7px;width:max-content;padding:5px 10px;border-radius:999px;font-size:14px;white-space:nowrap}
html[data-ui="a7"] .product-barcode-state b{width:7px;height:7px;border-radius:50%;background:currentColor}
html[data-ui="a7"] .product-barcode-state.active{background:#dff1e7;color:#176b50}
html[data-ui="a7"] .product-barcode-state.inactive{background:#ecefed;color:#69776f}
html[data-ui="a7"] .product-barcode-add{width:100%;margin-top:18px;justify-content:center}
html[data-ui="a7"] .product-barcode-history-table{width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0;border:1px solid var(--a7-line,#dce3df);border-radius:10px;overflow:hidden}
html[data-ui="a7"] .product-barcode-history-table :is(th,td){height:50px;padding:10px 14px;border-right:1px solid var(--a7-line,#dce3df);border-bottom:1px solid var(--a7-line,#dce3df);font-size:16px;vertical-align:middle;text-transform:none}
html[data-ui="a7"] .product-barcode-history-table th{background:var(--a7-panel-soft,#f4f7f5);font-weight:500}
html[data-ui="a7"] .product-barcode-history-table :is(th,td):first-child{width:28%}
html[data-ui="a7"] .product-barcode-history-table :is(th,td):nth-child(2){width:24%}
html[data-ui="a7"] .product-barcode-history-table :is(th,td):nth-child(3){width:20%}
html[data-ui="a7"] .product-barcode-history-table :is(th,td):nth-child(n+4){width:14%}
html[data-ui="a7"] .product-barcode-history-table :is(th,td):last-child{border-right:0}
html[data-ui="a7"] .product-barcode-history-table tbody tr:last-child td{border-bottom:0}

html[data-ui="a7"] .product-movement-layout{padding-top:4px}
html[data-ui="a7"] .product-movement-layout .product-movement-period{display:flex;align-items:end;gap:12px;padding:0;background:transparent}
html[data-ui="a7"] .product-movement-layout .product-movement-period label{display:flex;align-items:center;gap:9px;min-width:220px;padding-left:14px;border:1px solid var(--a7-line,#dce3df);border-radius:9px;color:var(--a7-text,#18211d);font-size:15px;font-weight:500;overflow:hidden}
html[data-ui="a7"] .product-movement-layout .product-movement-period label input{border:0;border-left:1px solid var(--a7-line,#dce3df);border-radius:0}
html[data-ui="a7"] .product-movement-layout .product-movement-period :is(input,.btn){min-height:48px;height:48px}
html[data-ui="a7"] .product-movement-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:18px 0;border:1px solid #e4c767;border-radius:10px;background:#fff4cf;overflow:hidden}
html[data-ui="a7"] .product-movement-summary>div{padding:15px 18px;border:0;border-right:1px solid #e4c767;border-radius:0;background:transparent}
html[data-ui="a7"] .product-movement-summary>div:last-child{border-right:0}
html[data-ui="a7"] .product-movement-summary span,html[data-ui="a7"] .product-movement-summary strong{display:block}
html[data-ui="a7"] .product-movement-summary span{margin-bottom:5px;color:#4e4a3c;font-size:16px}
html[data-ui="a7"] .product-movement-summary strong{font-size:28px;color:var(--a7-text,#18211d)}
html[data-ui="a7"] .product-movement-table{width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0;border:1px solid var(--a7-line,#dce3df);border-radius:10px;overflow:hidden}
html[data-ui="a7"] .product-movement-table :is(th,td){padding:8px 14px;border-right:1px solid var(--a7-line,#dce3df);border-bottom:1px solid var(--a7-line,#dce3df);font-size:16px;line-height:1.2;vertical-align:middle}
html[data-ui="a7"] .product-movement-table tbody td{height:38px}
html[data-ui="a7"] .product-movement-table tfoot td{height:52px;font-size:17px}
html[data-ui="a7"] .product-movement-table :is(th,td):last-child{border-right:0}
html[data-ui="a7"] .product-movement-table th{background:var(--a7-panel-soft,#f4f7f5);font-weight:650}
html[data-ui="a7"] .product-movement-table .movement-col-date{width:15%}
html[data-ui="a7"] .product-movement-table .movement-col-operation{width:24%}
html[data-ui="a7"] .product-movement-table .movement-col-document{width:29%}
html[data-ui="a7"] .product-movement-table .movement-col-change{width:16%}
html[data-ui="a7"] .product-movement-table .movement-col-balance{width:16%}

html[data-ui="a7"] .product-composition-layout{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(420px,.92fr);gap:28px;align-items:start}
html[data-ui="a7"] .product-composition-copy{min-width:0;padding:8px 28px 0 0;border-right:1px solid var(--a7-line,#dce3df)}
html[data-ui="a7"] .product-composition-facts{min-width:0;padding-top:8px}
html[data-ui="a7"] .product-composition-layout .section-label{margin-bottom:14px;font-size:22px;line-height:1.2;font-weight:700;color:var(--a7-text,#18211d)}
html[data-ui="a7"] .product-composition-block{padding:15px 16px;border:1px solid var(--a7-line,#dce3df);border-radius:10px;background:var(--a7-panel,#fff)}
html[data-ui="a7"] .product-composition-block+.product-composition-block{margin-top:12px}
html[data-ui="a7"] .product-composition-block>span{display:block;margin-bottom:7px;color:var(--a7-muted,#69776f);font-size:12px;font-weight:650;text-transform:uppercase;letter-spacing:.04em}
html[data-ui="a7"] .product-composition-block>p{margin:0;color:var(--a7-text,#18211d);font-size:14px;line-height:1.55;white-space:pre-wrap}
html[data-ui="a7"] .product-composition-nutrition{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid #e4c767;border-radius:10px;background:#fff4cf;overflow:hidden}
html[data-ui="a7"] .product-composition-nutrition>div{min-width:0;padding:15px 12px;border-right:1px solid #e4c767}
html[data-ui="a7"] .product-composition-nutrition>div:last-child{border-right:0}
html[data-ui="a7"] .product-composition-nutrition span,html[data-ui="a7"] .product-composition-nutrition strong{display:block}
html[data-ui="a7"] .product-composition-nutrition span{margin-bottom:6px;color:#746636;font-size:11px;text-transform:uppercase;letter-spacing:.035em}
html[data-ui="a7"] .product-composition-nutrition strong{font-size:21px;line-height:1.2;color:var(--a7-text,#18211d);white-space:nowrap}
html[data-ui="a7"] .product-composition-nutrition small{font-size:11px;font-weight:600}
html[data-ui="a7"] .product-composition-scale{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:16px;padding:13px 15px;border:1px solid var(--a7-line,#dce3df);border-radius:10px}
html[data-ui="a7"] .product-composition-scale span{color:var(--a7-muted,#69776f);font-size:13px}
html[data-ui="a7"] .product-composition-scale strong{font-size:18px;color:var(--a7-text,#18211d)}
html[data-ui="a7"] .product-composition-facts .product-pane-intro{margin-top:12px}

html[data-ui="a7"] .product-preview-layout{display:grid;grid-template-columns:1fr;min-height:520px}
html[data-ui="a7"] .product-preview-stage{display:flex;align-items:center;justify-content:center;min-width:0;padding:30px;border:1px solid var(--a7-line,#dce3df);border-radius:12px;background:#f6f8f7}
html[data-ui="a7"] .product-preview-stage .online-product-preview-card{width:100%;max-width:392px;grid-template-columns:1fr;border-radius:16px;overflow:hidden;box-shadow:0 10px 28px rgba(22,61,48,.1)}
html[data-ui="a7"] .product-preview-stage .online-preview-image{min-height:320px;height:320px;background:#fff}
html[data-ui="a7"] .product-preview-stage .online-preview-content{min-height:0;padding:18px 24px 24px;background:#fff;color:var(--a7-text,#18211d)}
html[data-ui="a7"] .product-preview-stage .online-preview-unit{color:var(--a7-muted,#69776f)}
html[data-ui="a7"] .product-preview-stage .online-preview-name{color:var(--a7-text,#18211d);font-size:25px;line-height:1.16}
html[data-ui="a7"] .product-preview-stage .online-preview-price{color:var(--a7-text,#18211d);font-size:31px}
html[data-ui="a7"] .product-preview-stage .online-preview-cart{background:var(--a7-primary,#176b50);color:#fff;border-color:var(--a7-primary,#176b50)}

html[data-ui="a7"][data-theme="dark"] :is(.product-barcode-primary,.product-movement-summary,.product-composition-nutrition){background:#4b3f22;color:#fff2ca}

/* Approved A7 expense creation modal: shared by fixed and variable expenses. */
html[data-ui="a7"] .expense-create-modal.modal{width:min(1040px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:hidden;border-radius:14px;--a7-expense-finance:#f1f7f3;--a7-expense-note:#fff1c9}
html[data-ui="a7"] .expense-create-modal .modal-header{padding:22px 28px 18px}
html[data-ui="a7"] .expense-create-modal .modal-title{font:700 27px/1.2 Montserrat,Arial,sans-serif;letter-spacing:-.02em}
html[data-ui="a7"] .expense-create-modal .modal-subtitle{margin-top:5px;font:400 16px/1.45 Montserrat,Arial,sans-serif}
html[data-ui="a7"] .expense-create-modal .modal-close{width:44px;min-width:44px;height:44px;min-height:44px;font-size:23px}
html[data-ui="a7"] .expense-create-modal .modal-body{padding:0;overflow:auto}
html[data-ui="a7"] .expense-create-layout{display:grid;grid-template-columns:minmax(0,1.62fr) minmax(320px,1fr);min-width:0;background:var(--a7-panel,#fff)}
html[data-ui="a7"] .expense-create-main,html[data-ui="a7"] .expense-create-finance{display:grid;align-content:start;min-width:0;padding:28px}
html[data-ui="a7"] .expense-create-main{gap:22px;padding-right:24px}
html[data-ui="a7"] .expense-create-finance{gap:20px;background:var(--a7-expense-finance)}
html[data-ui="a7"] .expense-create-modal .form-group{min-width:0;gap:8px}
html[data-ui="a7"] .expense-create-modal .form-label{font:500 14px/20px Montserrat,Arial,sans-serif;letter-spacing:.045em;color:var(--a7-muted,#69776f)}
html[data-ui="a7"] .expense-create-modal :is(.form-control,input:not([type="checkbox"]),select){box-sizing:border-box;width:100%;height:48px;min-height:48px;padding:11px 14px;border-color:var(--a7-line-strong,#c8d1cc);border-radius:8px;font:500 16px/24px Montserrat,Arial,sans-serif;color:var(--a7-text,#18211d)}
html[data-ui="a7"] .expense-create-modal :is(.form-control,input,select):focus{border-color:var(--a7-primary,#176b50);box-shadow:0 0 0 3px rgba(23,107,80,.12);outline:0}
html[data-ui="a7"] .expense-create-payment-grid{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.1fr) minmax(130px,.75fr);gap:18px;align-items:start;margin-top:12px}
html[data-ui="a7"] .expense-create-modal .form-hint{display:block;margin-top:-2px;color:var(--a7-muted,#69776f);font:400 12px/17px Montserrat,Arial,sans-serif}
html[data-ui="a7"] .expense-create-amount{display:flex;align-items:center;height:82px;min-height:82px;padding-right:18px;border:1px solid var(--a7-primary,#176b50);border-radius:8px;background:var(--a7-panel,#fff)}
html[data-ui="a7"] .expense-create-amount:focus-within{box-shadow:0 0 0 3px rgba(23,107,80,.12)}
html[data-ui="a7"] .expense-create-modal.modal .expense-create-finance .expense-create-amount .form-control{field-sizing:content;flex:0 1 auto;width:auto;min-width:1ch;max-width:calc(100% - 46px);height:80px;min-height:80px;padding:12px 7px 12px 18px;border:0;background:transparent;box-shadow:none;font:700 42px/1 Montserrat,Arial,sans-serif;font-variant-numeric:tabular-nums}
html[data-ui="a7"] .expense-create-amount>span{flex:0 0 auto;color:var(--a7-primary,#176b50);font:700 38px/1 Montserrat,Arial,sans-serif;pointer-events:none}
html[data-ui="a7"] .expense-create-daily{display:grid;gap:18px;margin-top:2px;padding-top:16px;border-top:1px solid var(--a7-line,#dce3df)}
html[data-ui="a7"] .expense-create-switch{display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:12px;color:var(--a7-text,#18211d);font:500 15px/1.45 Montserrat,Arial,sans-serif;cursor:pointer}
html[data-ui="a7"] .expense-create-switch>input{position:absolute;opacity:0;pointer-events:none}
html[data-ui="a7"] .expense-create-switch-track{position:relative;width:48px;height:26px;border-radius:999px;background:#c8cfcb;transition:background-color .16s ease}
html[data-ui="a7"] .expense-create-switch-track::after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.18);transition:transform .16s ease}
html[data-ui="a7"] .expense-create-switch>input:checked+.expense-create-switch-track{background:var(--a7-primary,#176b50)}
html[data-ui="a7"] .expense-create-switch>input:checked+.expense-create-switch-track::after{transform:translateX(22px)}
html[data-ui="a7"] .expense-create-switch>input:focus-visible+.expense-create-switch-track{outline:3px solid rgba(23,107,80,.18);outline-offset:2px}
html[data-ui="a7"] .expense-create-modal .form-control:disabled{background:#f2f3f2;color:#818b85;cursor:not-allowed}
html[data-ui="a7"] .expense-create-fixed-note{margin-top:2px;padding:14px 16px;border-top:1px solid var(--a7-line,#dce3df);color:var(--a7-muted,#69776f);font:400 14px/1.5 Montserrat,Arial,sans-serif}
html[data-ui="a7"] .expense-create-notice{grid-column:1/-1;margin:0 28px 26px;padding:14px 16px;border-radius:9px;background:var(--a7-expense-note);color:#403718;font:500 14px/1.45 Montserrat,Arial,sans-serif}
html[data-ui="a7"] .expense-create-modal .modal-footer{padding:16px 24px;background:var(--a7-panel,#fff);gap:12px}
html[data-ui="a7"] .expense-create-modal .modal-footer .btn{min-width:132px;min-height:46px;padding:10px 20px;font:600 15px/22px Montserrat,Arial,sans-serif}
html[data-ui="a7"][data-theme="dark"] .expense-create-modal.modal{--a7-expense-finance:#1b2b23;--a7-expense-note:#4b3f22}
html[data-ui="a7"][data-theme="dark"] .expense-create-notice{color:#fff2ca}
@media(max-width:820px){html[data-ui="a7"] .expense-create-modal.modal{width:min(640px,calc(100vw - 20px));max-height:calc(100dvh - 20px)}html[data-ui="a7"] .expense-create-modal .modal-header{padding:18px 20px 15px}html[data-ui="a7"] .expense-create-modal .modal-title{font-size:22px}html[data-ui="a7"] .expense-create-modal .modal-subtitle{font-size:14px}html[data-ui="a7"] .expense-create-layout{grid-template-columns:1fr}html[data-ui="a7"] .expense-create-main,html[data-ui="a7"] .expense-create-finance{padding:20px}html[data-ui="a7"] .expense-create-payment-grid{grid-template-columns:1fr}html[data-ui="a7"] .expense-create-notice{margin:0 20px 20px}html[data-ui="a7"] .expense-create-modal .modal-footer .btn{flex:1;min-width:0}}
@media(max-width:980px){html[data-ui="a7"] :is(.product-card-overview,.product-barcode-layout,.product-composition-layout,.product-preview-layout){grid-template-columns:1fr}html[data-ui="a7"] :is(.product-card-overview-media,.product-barcode-active,.product-composition-copy){padding-right:0;padding-bottom:24px;border-right:0;border-bottom:1px solid var(--a7-line,#dce3df)}html[data-ui="a7"] .product-card-related{grid-column:1}html[data-ui="a7"] .product-card-related .similar-product-strip{grid-template-columns:1fr}html[data-ui="a7"] .product-preview-stage{min-height:520px}}
@media(max-width:640px){html[data-ui="a7"] .product-card-overview-table .product-spec-row,html[data-ui="a7"] .product-preview-data-table>div{grid-template-columns:1fr;gap:4px}html[data-ui="a7"] .product-movement-layout .product-movement-period{align-items:stretch;flex-direction:column}html[data-ui="a7"] .product-movement-layout .product-movement-period label{min-width:0}html[data-ui="a7"] .product-movement-summary{grid-template-columns:1fr}html[data-ui="a7"] .product-movement-summary>div{border-right:0;border-bottom:1px solid #e4c767}html[data-ui="a7"] .product-movement-summary>div:last-child{border-bottom:0}html[data-ui="a7"] .product-composition-nutrition{grid-template-columns:repeat(2,minmax(0,1fr))}html[data-ui="a7"] .product-composition-nutrition>div:nth-child(2){border-right:0}html[data-ui="a7"] .product-composition-nutrition>div:nth-child(-n+2){border-bottom:1px solid #e4c767}html[data-ui="a7"] .product-preview-stage{padding:14px;min-height:0}}
/* A7 expense payment dialog */
.modal.expense-payment-modal{width:min(1120px,calc(100vw - 32px));max-width:1120px;overflow:hidden;border-radius:16px}
.expense-payment-modal .modal-header{padding:24px 28px 18px;border-bottom:1px solid #dfe4e0}
.expense-payment-modal .modal-title{font-size:24px;line-height:1.15;font-weight:750;color:#18211d}
.expense-payment-modal .modal-subtitle{margin-top:6px;font-size:13px;color:#778078}
.expense-payment-modal .modal-body{padding:0;overflow:auto;max-height:min(680px,calc(100vh - 190px))}
.expense-payment-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(340px,1fr);min-height:530px;background:#fff}
.expense-payment-main{padding:26px 30px 22px}
.expense-payment-aside{padding:26px 28px;background:#f1f8f4;border-left:1px solid #dce8e0}
.expense-payment-field{display:flex;flex-direction:column;gap:7px;margin:0 0 18px;min-width:0}
.expense-payment-field>span,.expense-payment-method-label{font-size:11px;font-weight:700;letter-spacing:.055em;text-transform:uppercase;color:#727a74}
.expense-payment-field .form-control{width:100%;height:44px;border:1px solid #cfd5d0;border-radius:8px;background:#fff;padding:0 12px;font:500 14px Montserrat,Arial,sans-serif;color:#1a211d;box-shadow:none}
.expense-payment-field .form-control:focus{outline:0;border-color:#167050;box-shadow:0 0 0 3px rgba(22,112,80,.12)}
.expense-payment-field small{margin-top:-2px;font-size:11px;line-height:1.35;color:#858d87}
.expense-payment-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.expense-vat-field{max-width:310px}
.expense-payment-amount{padding-bottom:22px;margin-bottom:22px;border-bottom:1px solid #d8e3dc}
.expense-payment-amount>div{display:flex;align-items:center;gap:10px}
html[data-ui="a7"] .modal.expense-payment-modal .expense-payment-amount input{width:100%;min-width:0;height:56px;min-height:56px;border:0;border-bottom:1px solid #b9cbc0;background:transparent;padding:4px 0 8px;font:700 36px/1 Montserrat,Arial,sans-serif;color:var(--a7-primary,#0c6948)}
.expense-payment-amount b{font-size:26px;color:#0c6948}
.expense-payment-method-label{margin:5px 0 8px}
.expense-payment-method{display:grid;grid-template-columns:1fr 1fr;padding:3px;margin-bottom:20px;border:1px solid #bfd0c5;border-radius:9px;background:#fff}
.expense-payment-method button{height:39px;border:0;border-radius:7px;background:transparent;font:600 13px Montserrat,Arial,sans-serif;color:#59635d;cursor:pointer}
.expense-payment-method button.active{background:#126847;color:#fff;box-shadow:0 2px 7px rgba(18,104,71,.2)}
#expense-bank-transfer-fields[hidden]{display:none}
.expense-documents{display:grid;grid-template-columns:1fr auto;gap:12px 16px;padding-top:22px;margin-top:8px;border-top:1px solid #e0e4e1}
.expense-documents h3{margin:0 0 4px;font-size:15px;color:#222b26}
.expense-documents p{margin:0;font-size:11px;color:#858d87}
.expense-document-upload{align-self:center;height:38px}
.expense-document-list{grid-column:1/-1;display:grid;gap:8px}
.expense-document-row{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid #dde3df;border-radius:8px;background:#fafbfa}
.expense-document-row>span:last-child{display:grid;gap:2px;min-width:0}
.expense-document-row strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#28312c}
.expense-document-row small{font-size:10px;color:#818982}
.expense-document-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:6px;background:#e3f1e9;color:#176b4d;font-size:9px;font-weight:800}
.expense-document-empty{padding:12px;border:1px dashed #cfd7d2;border-radius:8px;font-size:12px;color:#858d87;text-align:center}
.expense-payment-daily{display:grid;grid-template-columns:1.4fr 1fr;gap:14px;align-items:end;margin:2px 0 18px;padding:14px;border-radius:9px;background:#f7f8f7;font-size:12px}
.expense-payment-daily label{display:grid;gap:6px;color:#59625c}
.expense-payment-modal .modal-footer{display:flex;justify-content:space-between;gap:16px;padding:16px 28px;border-top:1px solid #dfe4e0;background:#fff}
.expense-payment-footer-left,.expense-payment-footer-right{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.expense-payment-footer-right{justify-content:flex-end;margin-left:auto}
.expense-payment-footer-right .btn,.expense-payment-footer-left .btn{height:42px;padding:0 16px;border-radius:8px}
.expense-payment-pay{min-width:178px}
.expense-payment-delete{color:#a13d38;border-color:#e3c9c6;background:#fff}
@media(max-width:820px){.expense-payment-layout{grid-template-columns:1fr}.expense-payment-aside{border-left:0;border-top:1px solid #dce8e0}.expense-payment-row{grid-template-columns:1fr}.expense-payment-modal .modal-footer{align-items:stretch;flex-direction:column}.expense-payment-footer-left,.expense-payment-footer-right{width:100%}.expense-payment-footer-right .btn{flex:1}.expense-payment-main,.expense-payment-aside{padding:20px}.expense-vat-field{max-width:none}}
