/* Screen layout only: retain the established brand and separate print layout. */
@media screen{
 .workspace,main,#app,.form-layout>*,.columns>*,.page-intro>div{min-width:0}
 .form-layout{grid-template-columns:minmax(0,1.7fr) minmax(0,1fr)}
 .field input,.field select,.field textarea{min-width:0;max-width:100%}
 .filter-bar,.form-actions{flex-wrap:wrap;max-width:100%}
 .catalog-stat>div{min-width:0}.catalog-stat span{overflow-wrap:anywhere}
 .page-intro h1,.page-intro p,.form-message{overflow-wrap:anywhere}
}
@media screen and (max-width:1100px){
 .sidebar{padding-top:16px;padding-bottom:var(--menu-bottom-clearance,88px)}
 .sidebar nav{flex:1;min-height:0;overflow-y:auto}
}
@media screen and (max-width:1100px) and (max-height:480px){
 .sidebar .brand,.sidebar .nav-caption{display:none}
 .sidebar nav{margin-top:0}
}
@media screen and (max-width:900px){
 .form-layout{grid-template-columns:minmax(0,1fr)}
}
@media screen and (max-width:640px){
 .field input,.field select,.field textarea,.catalog-controls input,.catalog-controls select{font-size:16px}
 .page-intro p,.hero p{font-size:14px}
 .form-actions{gap:10px}.form-actions .btn{max-width:100%;white-space:normal}
 .panel{min-width:0}.panel .field{min-width:0}
 .catalog-uploader{max-width:100%;overflow-wrap:anywhere}
}
@media screen and (max-width:420px){
 .catalog-stats{grid-template-columns:minmax(0,1fr)}
 .catalog-stat:last-child{grid-column:auto}
 .catalog-stat{min-height:100px;align-items:center}
 .dashboard-stats{grid-template-columns:minmax(0,1fr)}
}
@media screen and (max-width:600px){
 .surat-sheet{padding-bottom:24px}
 .surat-sheet .surat-print-footer-row{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;margin-top:28px}
 .surat-sheet .surat-footer{position:static;left:auto;right:auto;bottom:auto;width:auto;margin:0;padding-top:6px;font-size:10px}
 .surat-sheet .surat-paraf{position:static;left:auto;right:auto;bottom:auto;width:auto;max-width:100%;max-height:none;justify-self:end;white-space:normal;flex-wrap:wrap}
 .surat-sheet .surat-sign-space-stamped{min-width:0;width:100%;max-width:100%}
}
@media screen and (max-width:760px){
 .workspace>footer{align-items:flex-start;flex-direction:column;font-size:12px}
 .workspace>footer .footer-policy-links{display:flex;flex-wrap:wrap;gap:10px 16px}
 .workspace>footer .footer-policy-links a{display:inline-flex;align-items:center;min-height:36px;font-size:12px}
}
