/* Price Label Maker functional compatibility bridge for Save More Framework v1.1.0. */
:root{--primary:var(--sm-primary);--primary-dark:var(--sm-primary-hover);--bg:var(--sm-bg);--surface:var(--sm-surface);--text:var(--sm-text);--muted:var(--sm-muted);--line:var(--sm-line)}
/* Override older application chrome but do not affect physical label/print styling. */
.site-header{position:relative;top:auto}.site-header .header-inner{max-width:1320px;align-items:center;gap:14px;min-height:70px;flex-wrap:wrap}
.site-header nav{display:flex;align-items:center;flex-wrap:wrap;gap:4px;min-width:0}.site-header nav a{display:inline-flex;align-items:center;gap:5px;font-size:13px;padding:8px 9px;min-height:36px}
.site-header nav a[aria-current=page]{background:var(--sm-primary-tint);color:var(--sm-primary);font-weight:700}
.site-header nav .icon{width:15px;height:15px;flex-shrink:0}.site-header .inline-form{margin:0}
.brand-word small{display:block}.brand-logo{display:inline-flex;align-items:center}.brand-logo img{max-height:var(--sm-logo-height);max-width:var(--sm-logo-width-max);object-fit:contain}
.page{max-width:var(--sm-page-max);min-width:0;width:100%}.page .card{min-width:0}.card input,.card select,.card textarea{min-width:0}
.form-grid,.form-grid.three,.form-grid.four{min-width:0}.form-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}
.site-footer{margin-top:auto}.auth-main{width:100%;flex:1}.auth-main .login-shell{max-width:480px;margin:38px auto}.auth-main .login-shell .card{padding:26px}
.auth-main .login-shell h1{font-size:var(--sm-font-login-h1)}.auth-main .login-shell .button-primary{justify-content:center}
.auth-main .login-shell .auth-divider{font-size:13px;color:var(--sm-muted);font-weight:700;margin:18px 0}
.auth-main .login-shell .identity-button,.auth-main .login-shell .local-button{width:100%;justify-content:center}
.admin-context-inner{max-width:var(--sm-page-max)}.stats-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr))}
.stat-card{min-width:0}.report-bar{height:12px;border-radius:7px;background:#e8eef2;overflow:hidden}.report-bar span{display:block;height:100%;background:var(--sm-primary)}
/* Older application tables receive responsive labels where a heading is available. */
.table-wrap{max-width:100%;min-width:0;overflow:visible}.table-wrap table{width:100%;min-width:0;table-layout:fixed}.table-wrap th,.table-wrap td{overflow-wrap:anywhere;min-width:0}
.table-wrap td>input,.table-wrap td>select{width:100%}.table-wrap td>.actions{display:flex;flex-wrap:wrap;gap:6px}
.admin-tabs{display:flex;flex-wrap:wrap;gap:6px}.admin-tabs a{min-height:36px;display:inline-flex;align-items:center}
.checkbox-inline{display:inline-flex;align-items:center;gap:5px}
/* Avoid restructuring high-density print-layout editors and preserve their numeric inputs. */
@media(max-width:900px){.form-grid.four{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:740px){.site-header .header-inner{flex-direction:column;align-items:stretch}.site-header nav{justify-content:flex-start}.site-header nav a{font-size:12px}.page{padding:20px 13px 35px}.form-grid,.form-grid.three,.form-grid.four,.split{grid-template-columns:minmax(0,1fr)}
.branch-context-form{min-width:0}.table-wrap:not(.plm-print-table) table:not(.keep-table) thead{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden}
.table-wrap:not(.plm-print-table) table:not(.keep-table),.table-wrap:not(.plm-print-table) table:not(.keep-table) tbody,.table-wrap:not(.plm-print-table) table:not(.keep-table) tr,.table-wrap:not(.plm-print-table) table:not(.keep-table) td{display:block;width:100%}
.table-wrap:not(.plm-print-table) table:not(.keep-table) tr{border:1px solid var(--sm-line);border-radius:10px;margin:9px 0;padding:8px}
.table-wrap:not(.plm-print-table) table:not(.keep-table) td{border:0;padding:6px 5px}
.table-wrap:not(.plm-print-table) table:not(.keep-table) td::before{content:attr(data-label);display:block;color:var(--sm-muted);font-size:10px;font-weight:800;letter-spacing:.03em;text-transform:uppercase}
.table-wrap:not(.plm-print-table) table:not(.keep-table) td:empty{display:none}}
@media print{.site-header,.site-footer,.admin-context-bar{display:none!important}}

/* Framework v1.2.0 consistent left-aligned footer */
.site-footer{text-align:left !important;} .site-footer>div{text-align:left !important;}
