#editor .haccp-guide-editor{display:grid;gap:16px;min-width:0;margin:20px 0;padding:20px;border:1px solid var(--line);border-radius:14px}
#editor .haccp-guide-editor legend{padding:0 6px;font-weight:600}#editor .haccp-guide-editor label{min-width:0;margin:0}#editor .haccp-guide-editor p{margin:0;line-height:1.6}
#editor .haccp-guide-tools{display:flex;flex-wrap:wrap;align-items:center;gap:10px;min-width:0}#editor .haccp-guide-tools button{max-width:100%;white-space:normal;min-height:44px}
#editor .haccp-guide{min-width:0;max-width:100%;padding:18px;border:1px solid var(--line);border-radius:12px;margin:0 0 20px;overflow-wrap:anywhere}#editor .haccp-guide h3{margin:0 0 12px;font-size:18px}#editor .haccp-guide p{margin:0 0 16px;line-height:1.65}#editor .haccp-guide p:last-child{margin-bottom:0}
#editor .haccp-guide-image-preview{min-width:0;max-width:100%;margin:0 0 14px}#editor .haccp-guide-image-preview img{display:block;width:100%;height:auto;max-height:320px;object-fit:contain;border-radius:10px}
#editor .haccp-guide-video-wrap{min-width:0;max-width:100%;margin-top:16px}#editor .haccp-guide-video{display:block;width:100%;max-width:100%;max-height:360px;border-radius:10px;background:#111}#editor .haccp-guide-link{display:inline-block;max-width:100%;overflow-wrap:anywhere}
body.ge-app #editor:has([data-haccp-guide-editor]) select,body.ge-app #editor:has(.haccp-guide) select{padding-right:48px!important;background-position:right 18px center!important}
@media(max-width:600px){#editor .haccp-guide-editor{padding:16px;gap:14px}#editor .haccp-guide{padding:16px}#editor .haccp-guide-tools button{flex:1 1 160px}}
#editor .haccp-guide .media-youtube-load{display:grid!important;grid-template-columns:24px minmax(0,1fr);gap:6px 10px;align-items:start;width:100%;max-width:100%;text-align:left;white-space:normal}
#editor .haccp-guide .media-youtube-load>span{grid-column:1;grid-row:1 / span 2;align-self:center}
#editor .haccp-guide .media-youtube-load>strong{grid-column:2;grid-row:1;font-size:15px;line-height:1.45}
#editor .haccp-guide .media-youtube-load>small{grid-column:2;grid-row:2;font-size:12px;line-height:1.5;font-weight:400}
#editor .haccp-guide .media-youtube>a{display:inline-block;margin-top:10px;line-height:1.5}
