.food-label-page { margin: 0; background: #f1f5f5; color: #173735; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
.food-label-page * { box-sizing: border-box; }
.food-label-page a { color: #087f72; }
.label-workspace { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: 300px minmax(0, 1fr); min-height: 100vh; }
.label-toolbar { padding: 40px 28px; background: #fff; border-right: 1px solid #e1e9e8; }
.label-back { display: inline-block; margin-bottom: 40px; text-decoration: none; font-size: 13px; font-weight: 600; }
.label-eyebrow { font-size: 10px; letter-spacing: .13em; font-weight: 700; color: #718684; }
.label-toolbar h1 { font-size: 28px; letter-spacing: -.8px; line-height: 1.15; margin: 12px 0; }
.label-intro { font-size: 14px; line-height: 1.6; color: #6a7e7b; }
.label-batch-summary { margin: 26px 0; padding: 16px 0; border-top: 1px solid #e6eeed; border-bottom: 1px solid #e6eeed; font-size: 12px; }
.label-batch-summary span { display: block; color: #718684; margin-bottom: 6px; }
.label-batch-summary strong { overflow-wrap: anywhere; }
.label-field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.label-field input { width: 100%; background: white; border: 1px solid #cddbd8; padding: 12px; border-radius: 10px; color: #173735; font: inherit; }
.label-field small { display: block; color: #718684; font-size: 11px; line-height: 1.5; margin-top: 8px; }
.label-checkbox { display: flex; align-items: center; gap: 9px; margin: 20px 0; font-size: 13px; line-height: 1.5; }
.label-checkbox input { accent-color: #087f72; width: 16px; height: 16px; }
.label-secondary, .label-print { display: flex; align-items: center; justify-content: center; gap: 18px; width: 100%; border-radius: 10px; padding: 13px; font: inherit; font-size: 13px; font-weight: 650; cursor: pointer; }
.label-secondary { color: #23665e; background: #fff; border: 1px solid #cddbd8; }
.label-print { color: #fff; background: #087f72; border: 1px solid #087f72; margin-top: 14px; }
.label-print:hover { background: #06695e; }
.label-help { font-size: 11px; line-height: 1.6; color: #718684; margin: 14px 0; }
.label-notice { padding: 12px; background: #fff7e5; border-radius: 8px; color: #765a1f; font-size: 12px; line-height: 1.5; }
.label-preview { padding: 44px; min-width: 0; }
.label-preview-heading { display: flex; justify-content: space-between; gap: 12px; color: #718684; font-size: 10px; letter-spacing: .08em; margin-bottom: 20px; }
.label-preview-heading span:last-child { letter-spacing: 0; }
.food-labels { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 24px; align-items: start; }
.food-label { page: food-labels; background: #fff; border: 1px solid #d4dfdd; border-top: 5px solid #087f72; border-radius: 16px; padding: 26px; box-shadow: 0 10px 30px #163e3510; break-inside: avoid; overflow-wrap: anywhere; }
.food-label p { margin: 0; }
.food-label-brand { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-bottom: 20px; border-bottom: 1px solid #e4ecea; }
.food-label-logo { display: block; max-width: 150px; max-height: 50px; width: auto; height: auto; object-fit: contain; margin-bottom: 7px; }
.food-label-business { font-size: 10px; color: #607772; line-height: 1.5; }
.food-label-category { font-size: 9px; letter-spacing: .15em; color: #6b8982; line-height: 1.7; text-align: right; flex-shrink: 0; }
.food-label-pet { margin-top: 22px; }
.food-label-caption { font-size: 9px; font-weight: 700; letter-spacing: .15em; color: #708780; }
.food-label h2 { margin: 6px 0 14px; font-size: 30px; letter-spacing: -.7px; line-height: 1.15; }
.food-label .food-label-meal { font-size: 16px; line-height: 1.4; font-weight: 650; }
.food-label .food-label-quantity { font-size: 11px; color: #6a7e77; margin-top: 8px; }
.food-label-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 15px; background: #eef7f3; border: 1px solid #dbece4; border-radius: 10px; margin: 22px 0; }
.food-label-dates span { display: block; font-size: 8px; font-weight: 650; letter-spacing: .12em; color: #55796a; margin-bottom: 6px; }
.food-label-dates strong { font-size: 17px; letter-spacing: -.3px; }
.food-label-detail { margin: 16px 0; }
.food-label-detail h3 { font-size: 10px; margin: 0 0 5px; font-weight: 750; }
.food-label-detail p { font-size: 11px; line-height: 1.6; color: #536c64; white-space: pre-line; }
.food-label-footer { border-top: 1px dashed #cddbd6; padding-top: 15px; margin-top: 22px; }
.food-label-footer p { display: flex; justify-content: space-between; gap: 14px; font-size: 9px; line-height: 1.5; }
.food-label-footer span { color: #667e74; flex-shrink: 0; }
.food-label-footer small { display: block; color: #7a8e85; font-size: 8px; margin-top: 7px; }
@media (max-width: 760px) { .label-workspace { grid-template-columns: 1fr; } .label-toolbar { padding: 24px; border-right: 0; border-bottom: 1px solid #e1e9e8; } .label-back { margin-bottom: 20px; } .label-preview { padding: 28px 20px; } .label-toolbar h1 { font-size: 26px; } .food-label { padding: 22px; } }
@media print { .label-toolbar, .label-preview-heading { display: none; } .food-label-page { background: #fff; color: #000; } .label-workspace { display: block; max-width: none; min-height: 0; } .label-preview { padding: 0; } .food-labels { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6mm; } .food-label { color: #000; box-shadow: none; border: .3mm solid #777; border-top-width: 1mm; border-radius: 3mm; padding: 5mm; } .food-label h2 { font-size: 22px; } .food-label-detail p, .food-label-business, .food-label-footer small, .food-label-caption, .food-label-category, .food-label .food-label-quantity { color: #333; } .food-label-dates { background: #fff; border-color: #999; margin: 4mm 0; padding: 3mm; } .food-label-dates strong { font-size: 14px; } .food-label-logo { max-width: 32mm; max-height: 12mm; } }
@page food-labels { size: A4; margin: 10mm; }
