.print-editor-dialog{width:min(1560px,96vw);max-width:96vw;height:92vh;max-height:94vh;padding:0;border:1px solid #d7e5e7;border-radius:18px;background:#f8fafb;color:#203337}.print-editor-dialog form{display:flex;flex-direction:column;min-height:100%;padding:0}.pe-header{display:flex;align-items:flex-start;justify-content:space-between;padding:22px 26px 12px;border-bottom:1px solid #dce6e7;background:white}.pe-header h2{font-size:24px;margin:6px 0}.pe-header p{margin:0;color:#687e84;font-size:13px}.pe-toolbar{display:flex;align-items:center;gap:14px;padding:14px 24px;background:white;flex-wrap:wrap}.pe-toolbar label{min-width:230px}.pe-toolbar #peSaved{flex:1;font-size:12px;color:#55777e}.print-editor-dialog button{cursor:pointer}.pe-layout{display:grid;grid-template-columns:220px minmax(260px,1fr) minmax(330px,1.25fr);flex:1;min-height:0;align-items:start}.pe-blocks,.pe-writing,.pe-preview{padding:18px}.pe-blocks{background:#eff5f5;min-height:100%;border-right:1px solid #dce6e7}.pe-blocks h3,.pe-writing h3,.pe-preview h3{font-size:15px;margin:0 0 12px}.pe-block{display:flex;align-items:center;gap:8px;border-radius:9px;margin:3px 0;padding:6px}.pe-block.selected{background:white;box-shadow:0 1px 5px #24495314}.pe-block input{width:17px;height:17px;flex:none}.pe-block button{border:0;background:transparent;text-align:left;padding:4px;font-size:12px;line-height:1.4;flex:1;color:#29464e}.pe-block.selected button{font-weight:700}.pe-blocks #peAdd{margin-top:14px;width:100%;font-size:12px}.pe-actions{display:flex;gap:6px;margin-bottom:12px;flex-wrap:wrap}.pe-actions button{font-size:12px;padding:7px 10px}.pe-writing textarea{width:100%;resize:vertical;min-height:220px;font-size:13px;line-height:1.65;background:white}.pe-tokens{display:flex;flex-wrap:wrap;gap:5px}.pe-tokens button{border:1px solid #bcd9df;border-radius:6px;padding:6px 8px;background:#eef8fa;color:#19667a;font-size:11px}.pe-writing h4{margin:18px 0 6px}.pe-preview{background:#e8eef0;min-height:100%}.pe-preview-heading{display:flex;flex-wrap:wrap;align-items:end;gap:9px}.pe-preview-heading h3{width:100%;margin:0}.pe-preview-heading label{font-size:11px;max-width:180px}.pe-preview iframe{width:100%;height:660px;border:1px solid #cfdbdf;background:white;border-radius:8px}.pe-preview .hint{min-height:32px}#peError{margin:0 24px}.menu-preference-hidden{display:none!important}.menu-preferences{padding:12px 0}.menu-preferences fieldset{border:1px solid #dce6e7;border-radius:10px;margin:10px 0;padding:12px}.menu-preferences label{display:flex;align-items:center;gap:10px;font-size:13px;margin:8px 0}.menu-preferences input{width:17px;height:17px}.menu-preferences legend{font-weight:700;font-size:14px}@media(max-width:1100px){.pe-layout{grid-template-columns:190px 1fr}.pe-preview{grid-column:1/-1}.pe-preview iframe{height:600px}}@media(max-width:600px){.print-editor-dialog{width:96vw;height:94vh;border-radius:12px}.pe-header,.pe-toolbar{padding:14px}.pe-header h2{font-size:20px}.pe-layout{grid-template-columns:1fr}.pe-blocks{min-height:0;border-right:0}.pe-blocks #peBlocks{max-height:210px;overflow:auto}.pe-writing,.pe-preview{padding:14px}.pe-preview iframe{height:560px}}

.print-editor-dialog button:not(.icon-button),#menuPreferencesDialog button:not(.icon-button){font-family:inherit;border:1px solid #c8dadd;border-radius:8px;background:#fff;color:#25444b;padding:9px 12px;font-size:12px;font-weight:600}.print-editor-dialog #peSave,#menuPreferencesDialog .primary{background:#147b77;border-color:#147b77;color:white;padding:11px 16px}.print-editor-dialog button:disabled{opacity:.45;cursor:default}.print-editor-dialog .pe-block button{border:0;background:transparent;padding:4px;text-align:left}.print-editor-dialog .pe-tokens button{background:#eef8fa;color:#19667a;font-size:11px;padding:6px 8px;border-color:#bcd9df}.pe-frame-wrap{width:100%;overflow:hidden;border-radius:8px;background:#dfe6e8}.pe-preview iframe{display:block;max-width:none;transform-origin:top left}#menuPreferencesDialog{width:min(560px,94vw)}#menuPreferencesDialog form{padding:24px}.print-editor-dialog .pe-preview-heading button{padding:9px 12px}.pe-blocks #peBlocks{max-height:64vh;overflow:auto}.pe-header{position:sticky;top:0;z-index:2}.pe-toolbar{position:sticky;top:88px;z-index:1}@media(max-width:600px){.pe-blocks #peBlocks{max-height:180px}.pe-header,.pe-toolbar{position:static}.pe-toolbar label{min-width:0;width:100%}.pe-toolbar #peSave{width:100%}}

.pe-layout>*{min-width:0}.pe-frame-wrap{min-width:0;max-width:100%}.pe-toolbar>*{max-width:100%}.pe-writing textarea{min-width:0;box-sizing:border-box}.pe-layout{width:100%}
