:root {
  color-scheme: light;
  --surface: #fff;
  --canvas: #f6f7fb;
  --ink: #1c2333;
  --muted: #596275;
  --line: #e5e8ef;
  --brand: #f39150;
  --dark: #191e2e;
  --orange-ink: #853b13;
  --focus: #96502c;
  font: 15px/1.45 Inter, Geist, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: var(--ink); min-width: 320px; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .62; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
[hidden] { display: none !important; }
.skip { position: fixed; z-index: 10; top: 8px; left: 8px; background: white; padding: 10px; transform: translateY(-140%); }
.skip:focus { transform: none; }
.shell { display: grid; grid-template-columns: 238px minmax(0, 1fr); min-height: 100dvh; }
.sidebar {
  background: var(--dark); color: #fff; position: sticky; top: 0; align-self: start;
  min-height: 100dvh; display: flex; flex-direction: column; gap: 48px; padding: 31px 18px 22px;
}
.brand { background: white; padding: 7px 5px; border-radius: 5px; }
.brand img { display: block; width: 100%; height: auto; }
nav { display: grid; gap: 5px; }
.nav-button { background: transparent; color: #c8ccd7; border: 0; text-align: left; padding: 10px 12px; min-height: 43px; display: flex; align-items: center; gap: 11px; border-radius: 9px; font-weight: 600; }
.nav-button:hover { background: #252b3b; color: white; }
.nav-button[aria-current="page"] { background: #342b2e; color: #ffc59e; }
.nav-button .icon { width: 19px; height: 19px; flex: none; }
.nav-count { margin-left: auto; background: #3a4154; border-radius: 20px; color: #fff; padding: 1px 7px; font-size: .73rem; font-variant-numeric: tabular-nums; }
.profile { margin: auto 3px 0; border-top: 1px solid #34394a; padding: 16px 5px 0; display: flex; align-items: center; gap: 9px; }
.profile:empty { display: none; }
.avatar { width: 35px; height: 35px; border-radius: 50%; display: grid; place-items: center; background: #3a4051; color: #fff; font-weight: 750; flex: none; }
.profile strong, .profile small { display: block; }
.profile small { color: #c2c7d4; }
.profile-exit { margin-left: auto; color: #fff; border: 1px solid #666c7c; background: transparent; border-radius: 6px; padding: 4px 8px; }
#content { min-width: 0; }
.workspace { max-width: 1380px; margin: 0 auto; padding: 34px clamp(20px, 3.5vw, 52px) 60px; }
#heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 23px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(1.9rem, 3.35vw, 2.85rem); font-weight: 750; letter-spacing: -.058em; line-height: 1.08; margin-bottom: 7px; }
h2 { font-size: 1.2rem; letter-spacing: -.032em; line-height: 1.25; margin-bottom: 5px; }
h3 { font-size: 1rem; line-height: 1.3; margin-bottom: 3px; }
.sub, .muted { color: var(--muted); }
.sub { margin: 0; }
.muted { font-size: .86rem; }
.eyebrow { font-size: .72rem; letter-spacing: .08em; color: var(--muted); font-weight: 750; text-transform: uppercase; margin-bottom: 7px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 39px; padding: 7px 12px; background: white; color: var(--ink); border: 1px solid #dce1ea; border-radius: 8px; font-size: .87rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.btn:hover { background: #f5f7fb; border-color: #c4cbd8; }
.btn.primary { background: var(--dark); color: #fff; border-color: var(--dark); }
.btn.primary:hover { background: #31384b; }
.btn.secondary { background: #fff1e7; color: #7c3715; border-color: #ffddc6; }
.btn.danger { color: #942b35; }
.btn.icon-only { width: 38px; padding: 0; }
.icon { width: 17px; height: 17px; display: inline-block; vertical-align: middle; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; margin-bottom: 19px; }
.kpi {
  min-width: 0; width: 100%; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: 13px;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 11px; padding: 14px; color: inherit;
}
.kpi:hover { border-color: #c7cdd9; }
.kpi-icon { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 9px; background: #fff0e5; color: #934318; }
.kpi:nth-child(2) .kpi-icon { background: #e9efff; color: #3e53ac; }
.kpi:nth-child(3) .kpi-icon { background: #e7f5ed; color: #246e47; }
.kpi b { display: block; font-size: 1.47rem; font-weight: 750; line-height: 1.05; letter-spacing: -.045em; }
.kpi small { display: block; line-height: 1.22; color: var(--muted); margin-top: 4px; }
.kpi .arr { color: #646e80; }
.card { min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 15px; overflow: hidden; }
.card + .card { margin-top: 16px; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 17px 19px; }
.card-head p { margin: 0; }
.card-body { padding: 0 19px 19px; }
.period-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.period-nav .range { font-size: .87rem; font-weight: 750; margin-right: 3px; }
.table-wrap { overflow: auto; }
table { width: 100%; border-collapse: collapse; }
.schedule th, .schedule td { border-top: 1px solid var(--line); min-width: 88px; padding: 11px 7px; text-align: center; }
.schedule thead th { background: #f7f8fb; text-align: center; font-weight: 650; padding: 10px 7px; color: var(--muted); }
.schedule thead th strong { display: block; font-size: 1.06rem; color: var(--ink); line-height: 1.17; }
.schedule thead th.today, .schedule td.today { background: #fff8f2; }
.schedule th:first-child { text-align: left; padding-left: 19px; white-space: nowrap; min-width: 113px; }
.schedule tbody th { font-weight: 700; }
.schedule tfoot td, .schedule tfoot th { background: #f7f8fb; font-size: .8rem; }
.cell { min-height: 42px; display: flex; justify-content: center; align-content: center; align-items: center; gap: 4px; flex-wrap: wrap; }
.dot { color: #8991a1; }
.tag {
  display: inline-flex; align-items: center; justify-content: center; padding: 3px 6px; border-radius: 5px;
  min-height: 22px; font-size: .74rem; line-height: 1.18; font-weight: 720; white-space: nowrap;
}
.tag.lunch { background: #e9f0ff; color: #294c91; }
.tag.dinner { background: #ffeddc; color: #823f18; }
.tag.extra { background: #e2f5e9; color: #2b6848; }
.tag.closed, .tag.wait { background: #eef0f4; color: #4b5364; }
.tag.warn { background: #ffeced; color: #8d2d32; }
.tag.pending { background: #fff2d9; color: #775117; }
.tag.approved { background: #e6f5eb; color: #2e6547; }
.legend { display: flex; gap: 9px 15px; align-items: center; flex-wrap: wrap; padding: 13px 19px; border-top: 1px solid var(--line); color: var(--muted); font-size: .81rem; }
.legend .tag { margin-right: 4px; }
.mobile-schedule { display: none; }
.rows { display: grid; }
.record { padding: 13px 19px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.record .record-main { min-width: 0; }
.record p { margin: 3px 0 0; overflow-wrap: anywhere; }
.record-name { font-weight: 730; }
.stack { display: grid; gap: 12px; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.two .card { margin-top: 0; }
.empty { padding: 22px 19px; color: var(--muted); margin: 0; border-top: 1px solid var(--line); }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
label { display: grid; gap: 5px; color: #353f51; font-size: .87rem; font-weight: 650; min-width: 0; }
label.full, .field-full { grid-column: 1 / -1; }
label.check { display: flex; align-items: center; gap: 8px; }
input, select, textarea { min-width: 0; max-width: 100%; width: 100%; color: var(--ink); border: 1px solid #d9deea; background: #fff; border-radius: 8px; padding: 8px 9px; min-height: 40px; }
input[type="checkbox"] { width: 1.05rem; min-height: 0; height: 1.05rem; margin: 0; }
input[type="month"] { width: auto; }
textarea { resize: vertical; }
.field-help { color: var(--muted); font-size: .8rem; margin: -3px 0 0; }
.summary { padding: 13px 19px; border-top: 1px solid var(--line); background: #fafbfe; }
.summary strong { font-size: 1.05rem; }
.form-inline { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.form-inline select { width: auto; max-width: 100%; }
.tabs { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.tab { border: 0; background: #f0f2f7; color: var(--muted); padding: 6px 9px; border-radius: 7px; font-size: .82rem; font-weight: 700; min-height: 35px; }
.tab[aria-pressed="true"] { background: #e1e7f4; color: var(--ink); }
dialog { width: min(540px, calc(100% - 24px)); color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 16px; padding: 0; box-shadow: 0 20px 70px #0d122141; max-height: min(90dvh, 740px); }
.backup-counts th, .backup-counts td { padding: 7px 8px; border-bottom: 1px solid var(--line); text-align: left; overflow-wrap: anywhere; }
.backup-counts th:last-child, .backup-counts td:last-child { text-align: right; }
.backup-counts tbody th { font-weight: 500; }
dialog::backdrop { background: #14192ab0; }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 17px 20px; border-bottom: 1px solid var(--line); }
.dialog-head h2 { margin: 0; }
.dialog-body { padding: 17px 20px; }
.dialog-note { font-size: .86rem; color: var(--muted); margin-bottom: 13px; }
.dialog-foot { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 17px; }
#status, .dialog-error { border-radius: 8px; background: #e7f5eb; color: #265e42; padding: 9px 12px; margin: 0 0 14px; font-size: .88rem; }
#status.error, .dialog-error { background: #ffeded; color: #822b30; }
.loading { margin-top: 25px; color: var(--muted); }
.access { padding: 26px 20px; }
.access p { margin-bottom: 13px; }
@media (max-width: 1080px) { .shell { grid-template-columns: 195px minmax(0, 1fr); } .sidebar { padding-inline: 12px; } }
@media (max-width: 880px) {
  .shell { display: block; }
  .sidebar { position: static; min-height: auto; padding: 11px 17px 0; gap: 10px; }
  .brand { width: min(230px, calc(100% - 96px)); }
  nav { display: flex; overflow-x: auto; gap: 3px; margin: 0 -5px 0; padding: 2px 5px 7px; scrollbar-width: thin; }
  .nav-button { min-height: 41px; white-space: nowrap; gap: 6px; font-size: .82rem; padding: 7px 8px; }
  .nav-button .icon { width: 15px; height: 15px; }
  .nav-count { padding-inline: 4px; }
  .profile { position: absolute; top: 11px; right: 15px; margin: 0; border: 0; padding: 0; }
  .profile > div:nth-child(2) { display: none; }
  .workspace { padding-top: 23px; }
}
@media (max-width: 650px) {
  .workspace { padding: 20px 13px 36px; }
  #heading { gap: 9px; margin-bottom: 15px; align-items: flex-start; }
  #heading .sub { font-size: .88rem; }
  #heading .btn { min-height: 37px; padding-inline: 8px; align-self: end; }
  .kpis { gap: 6px; margin-bottom: 12px; }
  .kpi { padding: 8px 7px; grid-template-columns: 1fr; gap: 5px; align-content: start; }
  .kpi-icon { width: 26px; height: 26px; border-radius: 6px; }
  .kpi b { font-size: 1.1rem; }
  .kpi small { font-size: .68rem; }
  .kpi .arr { display: none; }
  .card-head, .card-body, .record { padding-left: 13px; padding-right: 13px; }
  .card-head { flex-wrap: wrap; padding-top: 13px; padding-bottom: 12px; }
  .desktop-schedule { display: none; }
  .mobile-schedule { display: block; border-top: 1px solid var(--line); }
  .day-tabs { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; padding: 8px; background: #f7f8fb; }
  .day-tabs button { border: 1px solid transparent; min-height: 46px; border-radius: 7px; background: transparent; color: var(--muted); font-size: .74rem; font-weight: 700; padding: 2px; }
  .day-tabs button strong { display: block; font-size: .93rem; line-height: 1.2; }
  .day-tabs button[aria-pressed="true"] { background: #fff0e5; color: #773615; border-color: #f7cfb4; }
  .mobile-slots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; padding: 11px; }
  .mobile-slots section { background: #f7f8fb; border-radius: 8px; padding: 9px; min-width: 0; }
  .mobile-slots h3 { margin-bottom: 7px; }
  .mobile-slots ul { list-style: none; margin: 0; padding: 0; }
  .mobile-slots li { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; padding: 4px 0; font-size: .82rem; overflow-wrap: anywhere; }
  .legend { gap: 6px 9px; padding: 10px; font-size: .69rem; }
  .record { align-items: start; flex-direction: column; gap: 8px; }
  .two { grid-template-columns: 1fr; gap: 12px; }
  .summary { padding: 10px 13px; }
  input, select, textarea { font-size: 16px; }
}

.order-products { margin-block: 8px 14px; }
.order-product-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(2, minmax(0, clamp(4.6rem, 19vw, 8rem)));
  align-items: center;
  gap: clamp(5px, 2vw, 14px);
  padding-block: 4px;
  border-bottom: 1px solid #e4e8f0;
}
.order-product-row > div { min-width: 0; overflow-wrap: anywhere; }
.order-product-row small { display: block; color: #566178; }
.order-product-row input { min-height: 34px; padding: 4px 6px; }
.order-product-head { font-size: .76rem; font-weight: 700; }

.haccp-main { width: min(100% - 24px, 900px); margin: 24px auto; }
.haccp-main section, .haccp-main fieldset { margin-block: 12px; }
.haccp-main fieldset { min-width: 0; border: 1px solid #d9deea; border-radius: 8px; }
.haccp-main [hidden] { display: none; }
.haccp-main textarea { resize: vertical; }

.settings-groups { display: grid; gap: 14px; }
.personnel-settings > summary { cursor: pointer; font-weight: 700; padding: 6px 0; }
.settings-content { margin-top: 18px; min-width: 0; }
.settings-content .card { box-shadow: none; margin-bottom: 12px; }
@media (max-width: 600px) {
  #heading .actions { justify-content: flex-end; flex-wrap: wrap; }
  .personnel-settings { padding: 16px; }
}

.haccp-heading { display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; }
.haccp-banners { display:grid; grid-template-columns:1fr 1fr; gap:18px; margin:28px 0; }
.haccp-banner { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:16px; padding:32px 18px; min-height:160px; background:white; border:1px solid #d9deea; border-radius:16px; color:#181d2c; text-decoration:none; text-align:center; font-size:1.3rem; }
.haccp-banner span { font-size:2.5rem; }
.haccp-banner:focus-visible, .haccp-banner:hover { outline:3px solid #df8b3e; outline-offset:2px; }
@media(max-width:480px) { .haccp-banners { grid-template-columns:1fr; gap:12px; } .haccp-banner { min-height:120px; padding:22px 14px; } }

/* Supplier-order presentation is scoped to its own screen. */
.supplier-orders { --order-blue:#eaf5fc; --order-sand:#fbf4e4; --order-green:#eaf6ed; }
.supplier-orders > .card { border-radius:18px; box-shadow:0 3px 12px #18243806; }
.supplier-orders > .card:has([name="orderSupplier"]) { background:var(--order-blue); border-color:#c9e2f2; }
.supplier-orders > .card:has(#reorder-settings) { background:var(--order-sand); border-color:#eadcba; }
.supplier-orders > .card:has(#order-form) { border-color:#c4e1cb; }
.supplier-orders > .card:has(#order-form) > .card-head { background:var(--order-green); margin-bottom:16px; }
.supplier-orders .card-head h2 { font-size:1.12rem; }
.supplier-orders select, .supplier-orders input { font-size:16px; min-height:44px; }
.supplier-orders #reorder-settings > summary { cursor:pointer; font-weight:650; padding:8px 0; color:#6a5129; }
.supplier-orders .order-product-row { grid-template-columns:minmax(0,1fr) 105px 110px; gap:10px; padding:10px 0; align-items:center; border-bottom:1px solid #edf0f2; }
.supplier-orders .order-product-row > div:first-child { font-weight:600; line-height:1.4; }
.supplier-orders .order-product-row > div:nth-child(2) input { background:#f0f6fb; border-color:#c7d9e9; color:#244d6d; }
.supplier-orders .order-product-row > div:nth-child(3) input { background:#eff8f0; border-color:#b9d9c1; color:#205638; font-weight:700; }
.supplier-orders .order-product-head { border-bottom:2px solid #dce7df; font-size:.78rem; }
.supplier-orders .order-product-head > span:nth-child(2) { color:#244d6d; }
.supplier-orders .order-product-head > span:nth-child(3) { color:#205638; }
.supplier-orders .btn { min-height:44px; border-radius:10px; white-space:normal; text-align:center; }
.supplier-orders #order-form button[type="submit"],
.supplier-orders a[href^="https://wa.me/"] { background:#287549; border-color:#287549; color:white; }
.supplier-orders [data-order-action="newOrder"] { background:white; border-color:#90b99b; color:#205638; }
.supplier-orders [data-order-action="askSent"], .supplier-orders [data-send-order] button[type="submit"] { background:#e6f0fb; color:#24547c; border-color:#bbd2ec; }
.supplier-orders [data-order-action="openHistory"] { width:100%; background:#eaf0fa; border-color:#c9d6eb; color:#284d80; font-size:1rem; }
.supplier-orders .actions { flex-wrap:wrap; }
.supplier-orders .record { overflow-wrap:anywhere; }
.supplier-orders > .order-disclosure { padding:0; overflow:hidden; }
.supplier-orders .order-disclosure > summary { display:flex; align-items:center; justify-content:space-between; gap:14px; cursor:pointer; padding:20px 22px; min-height:64px; list-style:none; font-size:1.12rem; }
.supplier-orders .order-disclosure > summary::-webkit-details-marker { display:none; }
.supplier-orders .order-disclosure > summary::after, .supplier-orders .order-history-banner::after { content:''; width:9px; height:9px; border-right:2px solid currentColor; border-bottom:2px solid currentColor; transform:rotate(45deg); flex:none; margin:0 4px; }
.supplier-orders .order-disclosure[open] > summary::after { transform:rotate(225deg); }
.supplier-orders .order-disclosure > summary:focus-visible { outline:3px solid #dc8a4b; outline-offset:-3px; }
.supplier-orders .order-disclosure-body { padding:18px 22px; background:white; border-top:1px solid #dde4e8; }
.supplier-orders .order-disclosure-body > .actions { margin-bottom:16px; }
.supplier-orders .order-green { background:var(--order-green); border-color:#c4e1cb; color:#205638; }
.supplier-orders .order-sand { background:var(--order-sand); border-color:#eadcba; color:#6a5129; }
.supplier-orders .order-lilac { background:#f1eef9; border-color:#dcd4ed; color:#51436b; }
.supplier-orders .order-blue { background:var(--order-blue); border-color:#c9e2f2; color:#244d6d; }
.supplier-orders .order-peach { background:#fcf0e9; border-color:#edd8c9; color:#77503a; }
.supplier-orders .order-disclosure-body { color:var(--ink,#202735); }
.supplier-orders #reorder-settings > summary { padding:20px 22px; }
.supplier-orders .order-history-banner { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:20px 22px; min-height:64px; border:1px solid #c9d6eb; border-radius:18px; font-weight:700; }
.supplier-orders .order-history-banner::after { transform:rotate(-45deg); }
@media(max-width:480px) {
  .supplier-orders .order-disclosure > summary, .supplier-orders #reorder-settings > summary, .supplier-orders .order-history-banner { padding:16px; }
  .supplier-orders .order-disclosure-body { padding:16px 12px; }
}
@media(max-width:600px) {
  .supplier-orders .order-product-row { grid-template-columns:minmax(0,1fr) 78px 82px; gap:6px; }
  .supplier-orders .order-product-head { font-size:.72rem; }
  .supplier-orders .order-product-row input { width:100%; padding:6px; }
  .supplier-orders #order-form > .actions { display:grid; grid-template-columns:1fr; }
  .supplier-orders .record { flex-wrap:wrap; }
  .supplier-orders .record > * { min-width:0; max-width:100%; }
}

.personnel-banners { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.personnel-banner { display:flex; flex-direction:column; align-items:flex-start; justify-content:center; gap:14px; min-height:200px; padding:26px; border:1px solid #cbdfea; border-radius:18px; text-align:left; color:#233a4b; background:#eaf5fc; }
.personnel-banner strong { font-size:1.4rem; }
.personnel-banner span { font-size:.95rem; line-height:1.5; }
.personnel-banner .icon { width:30px; height:30px; }
.personnel-covers { background:#eaf6ed; border-color:#c4e1cb; color:#245238; }
.personnel-extras { background:#fbf4e4; border-color:#eadcba; color:#624c2a; }
.personnel-banner:hover, .personnel-banner:focus-visible { outline:3px solid #a5bbc7; outline-offset:2px; }
@media(max-width:650px) { .personnel-banners { grid-template-columns:1fr; gap:12px; } .personnel-banner { min-height:140px; padding:22px; } }

.personnel-week { background:#f1eefb; border-color:#d9d0ee; color:#514278; }

.haccp-frame { display:block; width:100%; height:80vh; min-height:480px; border:0; border-radius:15px; }
.haccp-embedded .haccp-main { margin:0 auto; }
.haccp-embedded .haccp-heading > div, .haccp-embedded [data-haccp-exit] { display:none; }
.haccp-tools { display:flex; gap:10px; margin-left:auto; }
.haccp-tools .btn { flex:1; white-space:normal; text-align:center; min-height:44px; }
@media(max-width:600px) { .haccp-tools { width:100%; margin-left:0; } .haccp-frame { height:78vh; } }

#save-feedback {
  position: fixed;
  z-index: 20;
  inset: max(12px, env(safe-area-inset-top)) 12px auto;
  margin: 0 auto;
  width: fit-content;
  max-width: min(28rem, calc(100% - 24px));
  box-sizing: border-box;
  pointer-events: none;
  border: 0;
  border-radius: 10px;
  padding: 12px 16px;
  color: #fff;
  background: #265e42;
  font-weight: 600;
  box-shadow: 0 4px 18px #0d122140;
}
#save-feedback:empty { visibility: hidden; }
#save-feedback[data-state="error"] { background: #822b30; }
#save-feedback[data-state="pending"] { background: #263754; }
#save-feedback[data-state="pending"]::before {
  content: '';
  display: inline-block;
  width: .8em;
  height: .8em;
  margin-inline-end: .5em;
  border: 2px solid currentColor;
  border-inline-end-color: transparent;
  border-radius: 50%;
  animation: save-spin .8s linear infinite;
}
@keyframes save-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  #save-feedback[data-state="pending"]::before { animation: none; }
}


.haccp-banner { margin-block: 12px; }
.haccp-banner > summary, .production-register summary { cursor: pointer; font-weight: 600; }
.haccp-banner > summary { min-height: 44px; align-content: center; }
.production-register form, .lot-detail { margin-block: 12px; }
.production-register .lot-values { display: grid; grid-template-columns: repeat(auto-fit,minmax(140px,1fr)); gap: 10px; }
.lot-values dt { font-weight: 600; }
.lot-values dd { margin: 2px 0 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.lot-revision { padding-block: 8px; }
#lot-print { display: none; }
@media print {
  .production-register > a, .production-register > p, #lots-error, #save-feedback,
  #lots-app > :not(#lot-print) { display: none !important; }
  #lot-print { display: block; }
  #lot-print article { break-inside: avoid; border-bottom: 1px solid #ccc; }
}
