/* Matched desktop workspaces and compact production branding. */
@media(min-width:801px){
 main{max-width:1680px;padding:24px 32px}
 .intro{padding:0 0 12px}.intro h1{font-size:28px;margin:6px 0}.intro p{margin:6px 0}
 .layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:stretch;height:calc(100dvh - 300px);min-height:560px}
 #editor,#preview{height:100%;min-height:0;max-height:none;margin:0}
 #editor{overflow-y:auto;scrollbar-width:thin;padding-right:16px;scroll-padding-top:16px}
 #editor section:first-child{padding-top:0}
 #preview{position:relative;top:0;padding:0;background:transparent;display:flex;flex-direction:column;gap:0}
 .previewHead{flex:none;height:44px;margin:0 0 12px}
 #paper{flex:1;min-height:0;max-height:none;width:100%;padding:24px 28px;overflow-y:auto;border:1px solid #edf0ed;box-shadow:none;font-size:13px}
 #preview>.hint{flex:none;margin:8px 0 0}
}
.brand .full-logo{width:194px;height:auto;max-height:54px;flex:none;object-fit:contain}
.document-brand .full-logo{width:125px;height:auto;max-height:38px}
@media(max-width:800px){.brand .full-logo{width:166px;height:auto;max-height:46px}}
@media print{.layout,#editor,#preview{height:auto!important;min-height:0!important}#paper{border:0!important;padding:0!important;overflow:visible!important;max-height:none!important}.previewHead{display:none!important}}
