.packing-page dialog#editor{width:min(650px,calc(100% - 24px));max-height:90dvh;padding:0;border:1px solid var(--line);border-radius:14px;overflow:auto;background:var(--paper)}
#editor .dialog-heading{padding:17px 22px;margin:0;position:sticky;top:0;background:var(--paper);z-index:2;border-bottom:1px solid var(--line)}
#editor-fields{padding:18px 22px}#editor .dialog-actions{position:sticky;bottom:0;padding:12px 22px;background:var(--paper);border-top:1px solid var(--line)}
.item-editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px}.item-editor-grid>label{min-width:0;margin:0;display:flex;flex-direction:column;gap:5px;font-size:13px}.item-editor-grid>label.check-label{flex-direction:row;align-items:center;line-height:1.5;min-height:42px}.item-editor-grid input,.item-editor-grid select,.item-editor-grid textarea{width:100%;font:inherit;font-size:14px;border:1px solid #bfc7b6;border-radius:7px;background:#fffdf6;padding:8px}.item-editor-grid input[type=checkbox]{width:19px;height:19px;min-height:19px;flex-shrink:0}.editor-wide{grid-column:1/-1}.item-editor-grid textarea{resize:vertical;line-height:1.6}.editor-help{font-size:12px;color:var(--muted);line-height:1.7;margin:0 0 14px}.item-editor-grid+.editor-help{margin:16px 0 0}.detail-button{display:flex;align-items:center;justify-content:center;gap:3px}.detail-button span{font-size:10px}.detail-button img{width:13px;height:13px}.packing-howto{font-size:12px;line-height:1.8;color:var(--muted);margin:0 0 18px}.packing-howto strong{color:var(--ink)}
@media(max-width:600px){.item-editor-grid{grid-template-columns:1fr}.editor-wide{grid-column:auto}.item-editor-grid input,.item-editor-grid select,.item-editor-grid textarea{font-size:16px}#editor-fields{padding:16px}#editor .dialog-heading,#editor .dialog-actions{padding:12px 16px}.packing-page #editor .dialog-heading h2{font-size:20px}.packing-page #editor .dialog-actions button{min-height:44px;width:100%}}
