/* Laravel administration shell; copied to public/admin by build-assets.py. */
.board-column.delivering { grid-column:1/-1; }
.board-column.delivering .column-cards { display:grid;grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr));gap:12px; }
.board-column.delivering .status-dot { background:#4c7698; }
.board-column.delivering .count,.status-tag.delivering { background:#e7f0f6;color:#345a76; }
.order-card.delivering { background:#f0f6fa;border-color:#b8cedd; }
dialog#admin-navigation {
  border-right:0;
  border-top-right-radius:0;
  border-bottom-right-radius:0;
}
.admin-drawer .drawer-heading {
  padding:2px 0 2px 24px;
  gap:12px;
}
.admin-drawer .drawer-heading .eyebrow {
  display:block;
  font-size:9px;
  line-height:12px;
}
.admin-drawer .drawer-heading h2 {
  margin:0;
  font-size:18px;
  line-height:24px;
}
.admin-drawer .drawer-heading .icon-button { flex-shrink:0; }
#admin-menu-close {
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}

:root { --admin-footer-height:28px; }
html { scroll-padding-block-end:calc(var(--admin-footer-height) + 12px); }
.app { padding-bottom:var(--admin-footer-height); }
#dashboard,
.delivery-workspace {
  min-height:calc(100dvh - var(--topbar-height,64px) - var(--admin-footer-height));
}
.order-detail,
.order-workspace,
#delivery-view {
  height:calc(100dvh - var(--topbar-height,64px) - var(--admin-footer-height));
}
.app-footer {
  position:fixed;
  inset:auto 0 0;
  z-index:60;
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:0 14px;
  min-height:28px;
  padding:3px 16px;
  padding-bottom:calc(3px + env(safe-area-inset-bottom,0px));
  border-top:1px solid var(--line);
  background:var(--paper);
  color:var(--muted);
  font-size:11px;
  line-height:20px;
}
.app-footer>span { white-space:nowrap; }
.app-footer a { color:inherit;text-decoration:none; }
.app-footer a:hover { color:var(--brand-ink);text-decoration:underline; }
.app-footer-tools { display:flex;align-items:center;gap:14px;margin-inline-start:auto; }
.app-footer-version { font-variant-numeric:tabular-nums; }
.app-footer-help { display:inline-flex;align-items:center;gap:6px;min-height:22px;padding:0 4px;border:0;border-radius:4px;background:transparent;color:inherit;font:inherit;cursor:pointer; }
.app-footer-help:hover { color:var(--brand-ink);background:var(--brand-50); }
.app-footer-help:focus-visible { outline:2px solid var(--brand-ink);outline-offset:2px; }
.app-footer-help-dot { width:6px;height:6px;border-radius:50%;background:var(--muted); }
.app-footer-help.is-enabled .app-footer-help-dot { background:var(--brand-ink); }
@media(max-width:520px) {
  .admin-drawer .drawer-heading { padding-inline-start:16px; }
  .app-footer { padding-inline:12px;gap:0 10px; }
}

/* Keep help and order controls reachable when the desktop sidebar cannot fit. */
@media(max-width:700px) {
  #dashboard { grid-template-columns:minmax(0,1fr); }
  #dashboard .board { grid-template-columns:minmax(0,1fr); }
  #dashboard .order-detail { width:100%;position:static;height:auto;min-height:0;border-left:0;border-top:1px solid var(--line); }
  #dashboard .order-detail:not(:has(#detail-dialog[open])) { display:none; }
  #detail-dialog[open] { height:auto;overflow:visible; }
  #detail-content .detail-scroll { max-height:none; }
  .topbar:not(.is-delivery) .main-nav { display:flex;flex:0 0 auto;width:auto;order:0; }
  .topbar:not(.is-delivery) .topbar-right { flex:1;min-width:0;justify-content:flex-end; }
  .topbar #new-order { min-width:36px;padding:8px; }
  .topbar #new-order-label { display:none; }
  .topbar #reload-page { display:none; }
  .topbar .service-toggle { min-width:0;max-width:120px;padding-inline:8px; }
}

.sound-panel{max-height:min(75dvh,680px);overflow-y:auto}.push-settings{margin-top:16px;padding-top:16px;border-top:1px solid #dfe5dc}.push-settings h4{font-size:14px;margin:0 0 8px}.push-settings p,.push-settings small{display:block;font-size:12px;line-height:1.5;color:#607060}.push-settings .button{width:100%;margin:4px 0 8px;white-space:normal}.push-settings small{font-size:11px;margin-top:10px}

.order-form .fulfillment-choice { display:grid;grid-template-columns:repeat(3,minmax(0,1fr)); }
.order-form .fulfillment-choice span { padding-inline:4px;font-size:12px;white-space:nowrap; }
.order-form .fulfillment-choice .icon { display:none; }

.admin-updates{width:820px;max-width:calc(100% - 32px);max-height:calc(100dvh - 40px);padding:0;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:0 24px 80px #14201830;overflow-y:auto}
.admin-updates::backdrop{background:#16231bc2;backdrop-filter:blur(3px)}
.admin-updates-header{display:flex;align-items:flex-start;gap:12px;padding:20px 24px 18px;border-bottom:1px solid var(--brand-line);background:var(--brand-50)}
.admin-updates-header>div{flex:1;min-width:0}.admin-updates-header>.icon-button{flex:none;width:36px;height:36px;min-height:36px;padding:7px;border:0;background:transparent;color:var(--brand-ink)}
.admin-updates-date{display:block;color:var(--brand-ink);font-size:10px;font-weight:600;letter-spacing:.1em;margin-bottom:7px}
.admin-updates-header h2{margin:0;font-size:21px;font-weight:600;line-height:1.4;letter-spacing:-.015em;color:#203c28;outline:none}
.admin-updates-header p{margin:7px 0 0;font-size:13px;line-height:1.55;color:#536456}
.admin-updates-body{display:grid;grid-template-columns:1fr 1fr;column-gap:30px;padding:4px 24px}
.admin-update{display:grid;grid-template-columns:24px minmax(0,1fr);gap:14px;padding:17px 0;border-bottom:1px solid var(--line)}
.admin-update:nth-last-child(-n+2){border-bottom:0}.admin-update>.icon{margin-top:2px;color:var(--brand);width:23px;height:23px}
.admin-update h3{margin:0 0 5px;font-size:14px;line-height:1.5;font-weight:600;color:var(--ink)}
.admin-update p{margin:0;color:#59625c;font-size:13px;line-height:1.65}.admin-update strong{font-weight:600;color:#263c2b}
.admin-update small{display:block;margin-top:5px;color:#69726c;font-size:11px;line-height:1.6}
.admin-updates-footer{padding:14px 24px 16px;border-top:1px solid var(--line);background:#fafbf9}
.admin-updates-actions{display:flex;justify-content:flex-end;gap:10px}.admin-updates-actions .button{font-size:13px;min-height:44px}
.admin-updates-actions .icon{width:18px;height:18px}.admin-updates-footer>p:not(.error){margin:12px 0 0;color:#6b736d;font-size:11px;line-height:1.6;text-align:right}
@media(max-width:600px){.admin-updates{max-width:calc(100% - 20px);max-height:calc(100dvh - 20px);border-radius:16px}.admin-updates-header{padding:20px 18px 18px}.admin-updates-header h2{font-size:20px}.admin-updates-body{grid-template-columns:1fr;padding:2px 18px}.admin-update:nth-last-child(2){border-bottom:1px solid var(--line)}.admin-update{gap:10px;padding:14px 0}.admin-updates-footer{padding:16px 18px}.admin-updates-actions{display:grid;grid-template-columns:1fr 1.65fr}.admin-updates-actions .button{padding-inline:8px}.admin-updates-footer>p:not(.error){text-align:left}}

html:has(#admin-updates[open]){overflow:hidden}
