/* Administrator reading sizes. Keep the same sizes on phones. */
:root{
  --admin-reading-size:18px;
  --admin-control-size:17px;
  --admin-meta-size:16px;
}
body{font-size:var(--admin-reading-size);line-height:1.75}
.admin-shell p:not(.kicker):not(.product-band):not(.ops-kicker):not(.viewer3d-kicker),
.admin-shell li,.admin-shell .ops-report-body,#opsDialog .ops-report-body,
#opsDialog p,.ops-notice,.ops-empty,.ops-departments p,.ops-programs p{
  font-size:var(--admin-reading-size)!important;
  line-height:1.75;
}
.login-card{width:min(760px,100%);padding:40px}
.login-card h1{font-size:34px;line-height:1.3}
.admin-heading h1{font-size:36px;line-height:1.3}
.ops-heading h2,.panel-head h2{font-size:30px;line-height:1.45}
.ops-box h3,.ops-report-head h3,.product-summary h3{font-size:24px;line-height:1.5}
.option-card .option-info h3,.image-box h4,.viewer3d-copy h4,
.viewer3d-scene-copy h4{font-size:22px!important;line-height:1.5}
.admin-shell label,.field>span,.product-form label,.option-card label,
.upload-label,#opsDialog label{font-size:var(--admin-control-size)!important;line-height:1.6}
.field input,.field select,.field textarea,
.product-form input:not([type=checkbox]):not([type=range]):not([type=file]),
.product-form select,.product-form textarea,
.option-card input,.option-card select,.option-card textarea,
.ops-search input,#opsDialog input,#opsDialog select,#opsDialog textarea{
  font-size:var(--admin-reading-size)!important;
  min-height:48px;
  line-height:1.6;
  padding:12px 16px;
}
.admin-tabs button,.admin-link,.ghost-btn,.secondary-btn,.primary-btn,
.save-btn,.small-btn,.danger-btn,.upload-control{
  font-size:var(--admin-control-size)!important;
  min-height:48px;
  line-height:1.5;
  padding:12px 18px;
}
.admin-tabs{gap:10px;border-radius:20px}
.admin-tabs button{padding:12px 20px}
.ops-table{font-size:var(--admin-reading-size);min-width:960px}
.ops-table th{font-size:var(--admin-control-size);line-height:1.6}
.admin-shell .ops-table td p,.ops-table td strong{
  font-size:var(--admin-control-size)!important;line-height:1.75;
}
.ops-table td,.ops-table th{padding:16px 14px}
.ops-badge{font-size:var(--admin-control-size);padding:6px 12px;white-space:normal;line-height:1.6}
.ops-stats span{font-size:var(--admin-control-size)}
.ops-stats strong{font-size:36px}
.status-text,.db-badge,.quick-meta span,.sku,.ops-report-head span,
.ops-sources,.ops-sources a{font-size:var(--admin-control-size)!important;line-height:1.7}
.admin-shell small,.admin-shell .kicker,.admin-shell .product-band,
.admin-shell .ops-kicker,.admin-shell .viewer3d-kicker{
  font-size:var(--admin-meta-size)!important;line-height:1.6!important;
}
.viewer3d-toggle-copy b,.viewer3d-toggle-copy small,.viewer3d-source span,
.viewer3d-source strong,.viewer3d-status>span,.viewer3d-status strong,
.viewer3d-strength output,.viewer3d-strength>span b,.viewer3d-strength>span small,
.viewer3d-progress,.viewer3d-depth-preview summary,
.viewer3d-slot-head,.viewer3d-photo-slot,.viewer3d-file,
.viewer3d-slot-preview em,.viewer3d-scene-result em,.viewer360-result em{
  font-size:var(--admin-control-size)!important;line-height:1.7!important;
}
.viewer3d-toggle-copy b{white-space:normal}
.viewer3d-source,.viewer3d-status{flex-wrap:wrap}
#opsDialog h2{font-size:26px;line-height:1.5}
.ops-dialog-head h2{font-size:24px}
.ops-actions{align-items:center}
@media(max-width:1000px){
  .ops-form-grid{grid-template-columns:1fr}
  .viewer3d-settings{grid-template-columns:1fr}
  .ops-actions{align-items:stretch}
}
@media(max-width:620px){
  .admin-shell{width:calc(100% - 28px)}
  .login-card{padding:26px}
  .login-card h1,.admin-heading h1{font-size:30px}
  .ops-heading h2,.panel-head h2{font-size:26px}
  .ops-box h3,.ops-report-head h3,.product-summary h3{font-size:24px}
  .ops-stats strong{font-size:34px}
  .ops-stats{gap:12px}
  .ops-stats>div{padding:18px}
  .admin-tabs button{flex:1 1 42%;font-size:17px!important}
  .ops-heading,.panel-head{flex-wrap:wrap}
  .ops-actions{width:100%}
  .ops-actions button{width:100%}
  #opsDialog h2{font-size:24px}
}
