.pj-canteen-tab { position: fixed; z-index: 120; }
.pj-entry-date-search { display: flex; flex-wrap: wrap; align-items: end; justify-content: flex-end; gap: 12px; margin: 0 0 12px; padding: 10px 12px; border: 1px solid rgba(255,255,255,.2); border-radius: 10px; background: rgba(15,23,42,.18); }
.pj-entry-date-search label { display: grid; min-width: 156px; gap: 5px; color: #d7f7f3; font-size: 11px; font-weight: 800; line-height: 1.1; white-space: nowrap; }
.pj-entry-date-search input { width: 156px; min-height: 38px; box-sizing: border-box; color-scheme: dark; cursor: pointer; border-color: rgba(45,212,191,.72) !important; background: linear-gradient(135deg, rgba(6,78,79,.92), rgba(8,47,73,.94)) !important; color: #ecfeff !important; }
.pj-entry-date-search input::-webkit-calendar-picker-indicator { opacity: 1; cursor: pointer; filter: brightness(0) invert(1); }
.pj-entry-date-search button { min-height: 38px; border: 1px solid rgba(94,234,212,.5); border-radius: 8px; padding: 0 14px; background: linear-gradient(135deg,#0d9488,#0f766e); color: #fff; font-size: 12px; font-weight: 800; cursor: pointer; white-space: nowrap; }
.pj-entry-date-search button:hover { background: linear-gradient(135deg,#14b8a6,#0d9488); }

.pj-boat-ride-history { margin-top: 20px; padding: 18px; border: 1px solid rgba(148,163,184,.28); border-radius: 10px; background: rgba(15,23,42,.62); color: #fff; }
.pj-boat-ride-history[hidden] { display: none !important; }
.pj-boat-history-tab-active { border-color: rgba(45,212,191,.8) !important; background: rgba(13,148,136,.35) !important; color: #fff !important; }
.pj-children-park-history { margin-top: 20px; padding: 18px; border: 1px solid rgba(148,163,184,.28); border-radius: 10px; background: rgba(15,23,42,.62); color: #fff; }
.pj-children-park-history[hidden] { display: none !important; }
.pj-children-history-tab-active { border-color: rgba(45,212,191,.8) !important; background: rgba(13,148,136,.35) !important; color: #fff !important; }
.pj-children-history-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 14px; }
.pj-children-history-heading h2 { margin: 0 0 4px; font-size: 19px; font-weight: 900; }
.pj-children-history-heading p { margin: 0; color: rgba(255,255,255,.62); font-size: 12px; }
.pj-children-history-filters { display: flex; flex-wrap: wrap; align-items: end; justify-content: flex-end; gap: 9px; }
.pj-children-history-filters label { display: grid; gap: 4px; color: rgba(255,255,255,.72); font-size: 11px; font-weight: 800; white-space: nowrap; }
.pj-children-history-filters input, .pj-children-history-filters button { box-sizing: border-box; min-height: 38px; border: 1px solid rgba(148,163,184,.4); border-radius: 8px; padding: 0 10px; font: inherit; }
.pj-children-history-filters input[type="date"] { width: 145px; color-scheme: dark; cursor: pointer; border-color: rgba(45,212,191,.72); background: rgba(8,47,73,.9); color: #ecfeff; }
.pj-children-history-filters input[type="search"] { width: 190px; background: rgba(15,23,42,.72); color: #fff; }
.pj-children-history-filters button { padding: 0 15px; background: linear-gradient(135deg,#0d9488,#0f766e); color: #fff; font-size: 12px; font-weight: 900; cursor: pointer; }
.pj-children-history-table-wrap { overflow-x: auto; }
.pj-children-park-history table { width: 100%; border-collapse: collapse; font-size: 12px; }
.pj-children-park-history th { padding: 10px 8px; background: rgba(13,78,79,.82); color: #e6fffb; text-align: left; white-space: nowrap; }
.pj-children-park-history td { padding: 10px 8px; border-bottom: 1px solid rgba(148,163,184,.16); color: rgba(255,255,255,.82); white-space: nowrap; }
@media (max-width: 850px) { .pj-children-history-heading { align-items: stretch; flex-direction: column; } .pj-children-history-filters { justify-content: flex-start; } }
.pj-children-ride-date-filter { width: 145px; min-height: 38px; box-sizing: border-box; color-scheme: dark; cursor: pointer; border: 1px solid rgba(45,212,191,.72); border-radius: 8px; padding: 0 10px; background: rgba(8,47,73,.9); color: #ecfeff; }
.pj-children-ride-date-search { min-height: 38px; border: 1px solid rgba(94,234,212,.5); border-radius: 8px; padding: 0 14px; background: linear-gradient(135deg,#0d9488,#0f766e); color: #fff; font-size: 12px; font-weight: 900; cursor: pointer; }
.pj-meal-menu-products-header { display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 16px !important; width: 100% !important; }
.pj-meal-menu-product-search { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.pj-meal-menu-product-search input { width: 210px; min-height: 38px; box-sizing: border-box; border: 1px solid rgba(148,163,184,.45); border-radius: 8px; padding: 0 10px; background: rgba(15,23,42,.72); color: #fff; }
.pj-meal-menu-product-search button { min-height: 38px; border: 1px solid rgba(94,234,212,.5); border-radius: 8px; padding: 0 15px; background: linear-gradient(135deg,#0d9488,#0f766e); color: #fff; font-size: 12px; font-weight: 900; cursor: pointer; }
.pj-meal-menu-product-search button:hover { background: linear-gradient(135deg,#14b8a6,#0d9488); }
.pj-stock-records-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pj-stock-records-search { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.pj-stock-records-search input { width: 210px; min-height: 38px; box-sizing: border-box; border: 1px solid rgba(148,163,184,.45); border-radius: 8px; padding: 0 10px; background: rgba(15,23,42,.72); color: #fff; }
.pj-stock-records-search button { min-height: 38px; border: 1px solid rgba(94,234,212,.5); border-radius: 8px; padding: 0 15px; background: linear-gradient(135deg,#0d9488,#0f766e); color: #fff; font-size: 12px; font-weight: 900; cursor: pointer; }
.pj-stock-records-search button:hover { background: linear-gradient(135deg,#14b8a6,#0d9488); }
.pj-stock-search-empty { margin: 14px 0 4px; padding: 14px; border: 1px dashed rgba(148,163,184,.45); border-radius: 8px; color: rgba(226,232,240,.75); text-align: center; font-size: 13px; font-weight: 700; }
@media (max-width: 700px) { .pj-meal-menu-products-header { align-items: stretch !important; flex-direction: column !important; } .pj-meal-menu-product-search { margin-left: 0; } .pj-meal-menu-product-search input { flex: 1; width: auto; } }
@media (max-width: 700px) { .pj-stock-records-header { align-items: stretch; flex-direction: column; } .pj-stock-records-search { margin-left: 0; } .pj-stock-records-search input { flex: 1; width: auto; } }
.pj-boat-history-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 14px; }
.pj-boat-history-heading h2 { margin: 0 0 4px; font-size: 19px; font-weight: 900; }
.pj-boat-history-heading p { margin: 0; color: rgba(255,255,255,.62); font-size: 12px; }
.pj-boat-history-filters { display: flex; flex-wrap: wrap; align-items: end; justify-content: flex-end; gap: 9px; }
.pj-boat-history-filters label { display: grid; gap: 4px; color: rgba(255,255,255,.72); font-size: 11px; font-weight: 800; white-space: nowrap; }
.pj-boat-history-filters input, .pj-boat-history-filters button { box-sizing: border-box; min-height: 38px; border: 1px solid rgba(148,163,184,.4); border-radius: 8px; padding: 0 10px; font: inherit; }
.pj-boat-history-filters input[type="date"] { width: 145px; color-scheme: dark; cursor: pointer; border-color: rgba(45,212,191,.72); background: rgba(8,47,73,.9); color: #ecfeff; }
.pj-boat-history-filters input[type="search"] { width: 190px; background: rgba(15,23,42,.72); color: #fff; }
.pj-boat-history-filters button { padding: 0 15px; background: linear-gradient(135deg,#0d9488,#0f766e); color: #fff; font-size: 12px; font-weight: 900; cursor: pointer; }
.pj-boat-history-table-wrap { overflow-x: auto; }
.pj-boat-ride-history table { width: 100%; border-collapse: collapse; font-size: 12px; }
.pj-boat-ride-history th { padding: 10px 8px; background: rgba(13,78,79,.82); color: #e6fffb; text-align: left; white-space: nowrap; }
.pj-boat-ride-history td { padding: 10px 8px; border-bottom: 1px solid rgba(148,163,184,.16); color: rgba(255,255,255,.82); white-space: nowrap; }
@media (max-width: 850px) { .pj-boat-history-heading { align-items: stretch; flex-direction: column; } .pj-boat-history-filters { justify-content: flex-start; } }
body.pj-canteen-open { overflow: hidden; }
.pj-canteen-overlay { position: fixed; inset: 0; z-index: 10000; background: rgba(3, 15, 22, .76); padding: 18px; backdrop-filter: blur(7px); }
.pj-canteen-overlay[hidden] { display: none !important; }
.pj-canteen-panel { width: min(1460px, 100%); height: 100%; margin: 0 auto; overflow: hidden; border: 1px solid rgba(148, 163, 184, .35); border-radius: 22px; background: #f4f7f8; box-shadow: 0 30px 90px rgba(0, 0, 0, .42); color: #17343c; }
.pj-canteen-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 28px; color: white; background: linear-gradient(135deg, #083b3e, #096b62); }
.pj-canteen-header span, .pj-canteen-section-title span { font-size: 11px; font-weight: 800; letter-spacing: .16em; opacity: .72; }
.pj-canteen-header h1 { margin: 3px 0 2px; font-size: clamp(22px, 3vw, 32px); font-weight: 800; }
.pj-canteen-header h1 small { display: inline; margin-left: 8px; font-size: .58em; font-weight: 600; opacity: .82; }
.pj-canteen-header p { margin: 0; font-size: 13px; opacity: .78; }
.pj-canteen-close { width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: rgba(255,255,255,.1); color: white; font-size: 28px; line-height: 1; }
.pj-canteen-body { height: calc(100% - 106px); overflow: auto; padding: 24px 28px 36px; }
.pj-canteen-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.pj-canteen-toolbar label, .pj-canteen-fields label, .pj-canteen-closing-form label, .pj-canteen-consumption-form label { display: grid; gap: 6px; font-size: 12px; font-weight: 750; color: #34545b; }
.pj-canteen-toolbar p { max-width: 700px; margin: 0; border-left: 3px solid #d49a32; padding: 8px 12px; border-radius: 5px; background: #fff8e7; color: #795919; font-size: 12px; }
.pj-canteen-toolbar [data-finalize-month] { border: 0; border-radius: 8px; padding: 10px 13px; background: #b87916; color: white; font-weight: 800; cursor: pointer; white-space: nowrap; }
.pj-canteen-lock-status { font-size: 12px; font-weight: 750; white-space: nowrap; }
.pj-canteen-lock-status.open { color: #8a5d12; }
.pj-canteen-lock-status.locked { color: #08766c; }
.pj-canteen-toolbar input { min-width: 190px; }
.pj-canteen-panel input, .pj-canteen-panel select, .pj-canteen-panel textarea { width: 100%; border: 1px solid #cbd8da; border-radius: 9px; background: white; padding: 10px 11px; color: #15343a; font: inherit; outline: none; }
.pj-canteen-panel input:focus, .pj-canteen-panel select:focus, .pj-canteen-panel textarea:focus { border-color: #0d8075; box-shadow: 0 0 0 3px rgba(13,128,117,.12); }
.pj-canteen-message { margin-bottom: 14px; padding: 11px 14px; border-radius: 9px; font-size: 13px; }
.pj-canteen-message.success { background: #def7ec; color: #086443; }
.pj-canteen-message.error { background: #fee8e7; color: #a52828; }
.pj-canteen-loading { margin-bottom: 12px; color: #517078; font-size: 13px; }
.pj-canteen-summary { display: grid; grid-template-columns: repeat(5, minmax(140px, 1fr)); gap: 12px; margin-bottom: 18px; }
.pj-canteen-card { position: relative; overflow: hidden; min-height: 112px; border: 1px solid #dbe4e5; border-radius: 14px; background: white; padding: 16px; box-shadow: 0 6px 20px rgba(19,52,60,.05); }
.pj-canteen-card::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 4px; background: #0d8075; }
.pj-canteen-card.card-3::before { background: #d49a32; }
.pj-canteen-card.card-4 { background: #e8f6f2; border-color: #b7ddd3; }
.pj-canteen-card span, .pj-canteen-card small { display: block; color: #668087; font-size: 11px; font-weight: 700; }
.pj-canteen-card strong { display: block; margin: 8px 0 5px; color: #123d43; font-size: clamp(18px, 2vw, 25px); }
.pj-canteen-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .75fr); gap: 16px; margin-bottom: 16px; }
.pj-canteen-box { border: 1px solid #dbe4e5; border-radius: 14px; background: white; padding: 19px; box-shadow: 0 6px 20px rgba(19,52,60,.04); }
.pj-canteen-section-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; }
.pj-canteen-section-title h2 { margin: 2px 0 0; font-size: 18px; color: #153f46; }
.pj-canteen-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pj-canteen-fields .wide { grid-column: 1 / -1; }
.pj-canteen-form-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 14px; }
.pj-canteen-panel button[type="submit"], .pj-canteen-actions button, .pj-canteen-cancel-edit { border: 0; border-radius: 8px; padding: 9px 13px; background: #08766c; color: white; font-weight: 750; cursor: pointer; }
.pj-canteen-panel button:disabled { cursor: wait; opacity: .58; }
.pj-canteen-cancel-edit { background: #dfe8e9; color: #35545a; }
.pj-canteen-closing-form, .pj-canteen-consumption-form { display: grid; align-content: start; gap: 13px; }
.pj-canteen-closing-form button[type="submit"] { width: 100%; margin-top: 2px; }
.pj-canteen-help { margin: -5px 0 0; color: #668087; font-size: 12px; line-height: 1.5; }
.pj-canteen-table-wrap { overflow-x: auto; }
.pj-canteen-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.pj-canteen-table th { background: #edf3f3; color: #45636a; font-size: 11px; letter-spacing: .04em; text-align: left; }
.pj-canteen-table th, .pj-canteen-table td { border-bottom: 1px solid #e3e9ea; padding: 10px 9px; white-space: nowrap; }
.pj-canteen-table td.pj-canteen-description { min-width: 220px; white-space: normal; }
.pj-canteen-table td.pj-canteen-amount { color: #0b6d64; font-weight: 800; text-align: right; }
.pj-canteen-actions { display: flex; gap: 5px; }
.pj-canteen-actions button { padding: 6px 8px; font-size: 11px; }
.pj-canteen-actions button.danger { background: #a43b3b; }
.pj-canteen-empty { padding: 28px !important; color: #6d858b; text-align: center; }
@media (max-width: 950px) {
  .pj-canteen-summary { grid-template-columns: repeat(2, minmax(140px, 1fr)); }
  .pj-canteen-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .pj-canteen-overlay { padding: 0; }
  .pj-canteen-panel { border: 0; border-radius: 0; }
  .pj-canteen-header { padding: 17px 18px; }
  .pj-canteen-header h1 small { display: block; margin: 3px 0 0; }
  .pj-canteen-header p { display: none; }
  .pj-canteen-body { height: calc(100% - 91px); padding: 16px 14px 28px; }
  .pj-canteen-toolbar { display: grid; align-items: stretch; }
  .pj-canteen-toolbar input { min-width: 0; }
  .pj-canteen-summary { grid-template-columns: 1fr 1fr; }
  .pj-canteen-card:last-child { grid-column: 1 / -1; }
  .pj-canteen-fields { grid-template-columns: 1fr; }
  .pj-canteen-fields .wide { grid-column: auto; }
}
