/* Shared catalog cards: icon and name are independent rows, in every entry point. */
.material-grid .material-card{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:8px;background:var(--control78);color:var(--panel-ink78);border:1px solid var(--line78);border-radius:7px;padding:10px 6px;min-width:0;min-height:104px;cursor:pointer}
.material-grid .material-card>svg{display:block;flex:none;width:56px;height:52px;position:static!important;transform:none!important;margin:0!important}
.material-grid .material-card>span{display:block;width:100%;text-align:center;line-height:1.5;font-size:14px;min-height:42px;overflow-wrap:anywhere;white-space:normal;position:static!important;transform:none!important}
.gallery-grid58{grid-template-columns:repeat(auto-fill,minmax(116px,1fr));gap:12px}
.template-dialog59[open]{display:flex;flex-direction:column;max-height:90vh;overflow:hidden}
.template-dialog59>header,.template-footer59{flex:none;background:#fff}.template-dialog59>header{flex:none;background:var(--control78)}
.template-dialog59 .dialog-body58{flex:1;min-height:0;max-height:none;overflow:auto}
.template-dialog59 .template-preview58{position:static}
.template-footer59{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 18px;border-top:1px solid #cbdbe3}
.template-footer59 #template-status58{margin:0;font-size:15px;line-height:1.5}
.template-footer59 button{min-width:140px;flex:none;font-size:16px}
.panel-heading59{display:flex;align-items:center;justify-content:space-between;gap:8px;flex:none;margin-bottom:12px;font-size:16px}
.panel-heading59 .btn{padding:5px 8px;font-size:14px;min-height:32px}
.side .panel-heading59{color:white}.side .panel-heading59 .btn{color:var(--panel-ink78);background:var(--control78)}
.panel-restore59{position:absolute;z-index:80;top:8px;font-size:14px;padding:6px}.panel-restore59.restore-left{left:8px}.panel-restore59.restore-right{right:8px}
.app.left-collapsed .main>.top{padding-left:100px}.app.right-collapsed .main>.top{padding-right:100px}
#ribbon-panel-view{gap:12px;align-items:stretch}
.view-group59{display:flex;align-items:center;flex-wrap:wrap;gap:10px 14px;padding:6px 12px 6px 0;border-right:1px solid #c9d7df}
.view-group59:last-child{border:0}.view-group59>strong{font-size:14px;color:#526577}.view-group59 label{display:flex;align-items:center;gap:5px;font-size:15px;white-space:nowrap;margin:0}
.view-group59 input[type=checkbox]{width:16px;height:16px;margin:0}.view-group59 .btn,.view-group59 summary{font-size:15px;min-height:34px}
.paper-preview-dialog header label{font-size:14px}.paper-preview-dialog header{flex-wrap:wrap;gap:8px 12px}
@media(max-width:700px){.template-footer59{align-items:stretch;flex-direction:column;gap:8px}.view-group59{width:100%;border:0}}
@media print{.panel-heading59,.panel-restore59{display:none!important}}

.chair-options59{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.chair-options59 .btn{display:flex;flex-direction:column;align-items:center;gap:4px;padding:7px 3px;font-size:14px}.chair-options59 svg.chair-pictogram{position:static!important;inset:auto!important;transform:rotate(180deg)!important;width:42px!important;height:42px!important;stroke:currentColor;stroke-width:3;fill:none;pointer-events:none}
