:root{--green:#23643b;--green-dark:#17452a;--yellow:#f2bd35;--cream:#fffaf0;--ink:#243129;--line:#e2e7e3}*{box-sizing:border-box}body{color:var(--ink);background:#f5f7f4}.public-body{background:linear-gradient(140deg,#fff9e7,#eff8ee);min-height:100vh}.hero-card,.receipt{max-width:540px;background:#fff;padding:2rem;border-radius:24px;box-shadow:0 16px 45px #225c3520}.brand-logo{display:block;width:150px;max-width:55%;height:auto;margin:0 auto 1.25rem}.brand-inline{display:flex;align-items:center;gap:.55rem}.brand-inline img{width:38px;height:38px;border-radius:50%;object-fit:contain;background:#fff;padding:2px}.brand-mark,.check-mark{display:grid;place-items:center;width:68px;height:68px;border-radius:50%;background:var(--yellow);color:var(--green-dark);font-weight:800;font-size:1.25rem;margin-bottom:1rem}.check-mark{background:#d8f1df;color:var(--green);font-size:2rem;margin-inline:auto}.eyebrow{color:var(--green);text-transform:uppercase;font-size:.76rem;letter-spacing:.14em;font-weight:800}.hero-card h1 span{color:var(--green)}.admin-link{display:block;margin-top:1.5rem;color:#688171;text-align:center}.btn-primary{background:var(--green);border-color:var(--green)}.btn-primary:hover{background:var(--green-dark);border-color:var(--green-dark)}.page-shell{max-width:860px;margin:auto}.service-mode{padding:1.15rem;border-radius:18px;background:#fff;box-shadow:0 8px 22px #1e4f2d16}.service-mode-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.7rem}.service-mode-grid label{display:flex;align-items:center;gap:.7rem;padding:.85rem;border:1px solid var(--line);border-radius:12px;cursor:pointer}.service-mode-grid label:has(input:checked){border-color:var(--green);background:#f1faf2}.service-mode-grid span{display:flex;flex-direction:column}.service-mode-grid small{color:#6e7a73}.product-card{overflow:hidden;background:#fff;border:2px solid transparent;border-radius:20px;box-shadow:0 8px 22px #1e4f2d16;transition:.2s}.product-card:has(.product-radio:checked){border-color:var(--green);box-shadow:0 12px 30px #1e4f2d26}.product-summary{position:relative;display:grid;grid-template-columns:220px 1fr;min-height:190px;cursor:pointer}.product-summary>.form-check-input{position:absolute;right:18px;top:18px;width:1.25rem;height:1.25rem}.product-image{width:100%;height:100%;max-height:240px;object-fit:cover}.product-placeholder{display:grid;place-items:center;background:linear-gradient(135deg,#e7f2e8,#fff4ca);color:#6b806e;text-align:center;padding:1rem}.product-copy{display:flex;flex-direction:column;align-items:flex-start;gap:.55rem;padding:1.25rem 3.2rem 1.25rem 1.35rem}.product-copy strong{font-size:1.35rem}.product-copy b{color:var(--green);font-size:1.15rem}.select-hint{margin-top:auto;color:var(--green);font-weight:700}.type-badge{align-self:flex-start;color:var(--green);background:#e7f4e9}.product-config{display:none;border-top:1px solid var(--line)}.product-card:has(.product-radio:checked) .product-config{display:block}.choice-group header{display:flex;align-items:center;gap:1rem;padding:1rem 1.25rem;background:#edf0f2}.choice-group header>div{flex:1}.step-number{display:grid;place-items:center;flex:none;width:30px;height:30px;border-radius:50%;background:var(--green);color:#fff;font-size:.85rem;font-weight:800}.choice-group h3{margin:0;font-size:1rem}.choice-group p{margin:.2rem 0 0;color:#69736d;font-size:.86rem}.choice-limit{flex:none;padding:.35rem .5rem;border-radius:6px;background:#3c4541;color:#fff;font-size:.68rem;font-weight:800}.choice-row{display:flex;align-items:center;gap:1rem;padding:1rem 1.25rem;border-bottom:1px solid var(--line);cursor:pointer}.choice-row>span{display:flex;flex:1;flex-direction:column;gap:.2rem}.choice-row small{color:#758079}.choice-row b{font-size:.9rem;color:var(--green)}.choice-row img{width:72px;height:64px;border-radius:8px;object-fit:cover}.choice-row input{width:1.2rem;height:1.2rem}.order-bar{position:sticky;bottom:12px;z-index:5;display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-top:1rem;padding:.8rem 1rem;border-radius:14px;background:#fff;box-shadow:0 8px 28px #183a2340}.order-bar span{display:flex;flex-direction:column}.order-bar b{color:var(--green)}.receipt{text-align:center}.receipt-grid{display:grid;grid-template-columns:1fr 1.4fr;text-align:left;gap:.8rem;margin:1.5rem 0}.receipt-grid dd{margin:0}.receipt-options{text-align:left;padding:.7rem 1rem;margin-bottom:1rem;border-radius:10px;background:#f3f7f3}.receipt-options p{margin:.45rem 0}.receipt-options small{color:#6e7c73}.admin-nav{background:var(--green-dark)}.panel,.stat-card{background:#fff;padding:1.1rem;border-radius:14px;box-shadow:0 4px 15px #1a45280d}.stat-card span{display:block;color:#63736a;font-size:.8rem}.stat-card b{font-size:1.8rem;color:var(--green)}.metric-row{display:flex;justify-content:space-between;border-bottom:1px solid #edf0ed;padding:.7rem 0}.admin-thumb{display:inline-grid;place-items:center;width:68px;height:54px;border-radius:8px;object-fit:cover}.placeholder-thumb{background:#eef1ee;color:#7d8981;font-size:.67rem;text-align:center}.week-status{padding:.75rem;border:1px solid var(--line);border-radius:12px;background:#f8faf8;text-align:center}.week-status strong,.week-status span,.week-status small{display:block}.week-status strong{color:var(--green)}.week-status small{font-size:.72rem;color:#6d7b72}.week-status.is-ready{border-color:#b9dfc2;background:#f0faf2}.week-status.is-empty{border-style:dashed}.day-planner{border-left:5px solid #cfd8d2}.day-planner.is-ready{border-left-color:var(--green)}.day-planner.is-empty{border-left-color:#aab3ad}.model-panel{background:linear-gradient(135deg,#fff,#f2faf3)}.model-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:.75rem}.model-day{padding:.85rem;border:1px solid #dce8de;border-radius:12px;background:#fff}.model-day strong,.model-day span{display:block}.model-day strong{margin-bottom:.35rem;color:var(--green)}.model-day span{font-size:.8rem;color:#627169}.daily-menu-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:.75rem}.daily-menu-item{display:flex;align-items:center;gap:.75rem;padding:.65rem;border:1px solid var(--line);border-radius:12px;background:#fbfcfb}.daily-menu-item img,.daily-menu-placeholder{width:54px;height:44px;border-radius:8px;object-fit:cover;flex:none}.daily-menu-placeholder{display:grid;place-items:center;background:#eef1ee;color:#7d8981;font-size:.62rem;text-align:center}.daily-menu-item div{flex:1;min-width:0}.daily-menu-item b,.daily-menu-item small{display:block}.daily-menu-item small{color:#6f7b73}.table{margin-bottom:0}.print-actions{float:right}@media(max-width:768px){.model-grid{grid-template-columns:1fr 1fr}}@media(max-width:576px){.brand-logo{width:125px}.hero-card,.receipt{padding:1.35rem;border-radius:18px}.container{padding-inline:1rem}.admin-body main{padding-inline:.75rem!important}.table{font-size:.86rem}.model-grid{grid-template-columns:1fr}.service-mode-grid{grid-template-columns:1fr}.product-summary{grid-template-columns:1fr;min-height:auto}.product-image{height:175px}.product-copy{padding:1rem 2.8rem 1rem 1rem}.product-copy strong{font-size:1.12rem}.choice-group header,.choice-row{padding:.85rem 1rem}.choice-limit{font-size:.6rem}.order-bar{bottom:6px}.order-bar .btn{font-size:.92rem}}@media print{.admin-nav,footer,.print-actions,.btn{display:none!important}body{background:#fff}.panel{box-shadow:none;padding:.4rem}}
.model-manage-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:.85rem}.model-manage-card{display:flex;flex-direction:column;gap:.65rem;padding:.85rem;border:1px solid #dce8de;border-radius:12px;background:#fff}.model-manage-card.is-empty{border-style:dashed;background:#fafafa}.model-manage-card strong{color:var(--green)}.model-manage-body{display:flex;align-items:center;gap:.75rem}.model-manage-body img,.model-placeholder{width:64px;height:52px;border-radius:8px;object-fit:cover;flex:none}.model-placeholder{display:grid;place-items:center;background:#eef1ee;color:#7d8981;font-size:.66rem;text-align:center}.model-manage-body div{display:flex;flex-direction:column;min-width:0}.model-manage-body small{color:#6f7b73}
.standard-model-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:1rem;margin-bottom:6rem}.standard-day{display:flex;flex-direction:column;gap:1rem}.standard-day h2{color:var(--green);margin:0}.standard-model-card{padding:1rem;border:1px solid var(--line);border-radius:14px;background:#fbfcfb}.standard-model-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:.75rem}.standard-model-head strong{display:block;font-size:1rem}.standard-model-head img{width:92px;height:72px;border-radius:12px;object-fit:cover;flex:none}.standard-model-card textarea{resize:vertical}

.kitchen-toolbar{display:flex;justify-content:flex-end;gap:.5rem;margin-bottom:1rem}.kitchen-summary{max-width:1180px}.kitchen-print-sheet{display:grid;grid-template-columns:repeat(auto-fit,minmax(430px,1fr));gap:1.25rem;align-items:start}.kitchen-ticket{width:100%;max-width:560px;min-height:640px;padding:2rem;background:#fff;color:var(--ink);border:1px solid var(--line);border-left:6px solid var(--green);border-radius:18px;box-shadow:0 8px 22px #1e4f2d16;font-family:Arial,Helvetica,sans-serif;font-size:22px;line-height:1.28;break-inside:avoid;page-break-inside:avoid}.kitchen-order-number{display:inline-block;margin-bottom:12px;padding:6px 12px;border-radius:999px;background:#e7f4e9;color:var(--green-dark);font-size:20px;font-weight:900;letter-spacing:.03em}.kitchen-ticket-date{margin-bottom:8px;font-size:16px;color:#627169}.kitchen-company{font-size:20px;text-transform:uppercase;margin-bottom:6px;color:var(--green-dark)}.kitchen-employee{font-size:23px;font-weight:800;margin-bottom:10px;color:var(--ink)}.kitchen-period{font-size:21px;font-weight:600;margin-bottom:18px;color:#334039}.kitchen-location{font-size:21px;font-weight:800;text-transform:uppercase;margin-bottom:14px;color:var(--green)}.kitchen-product{font-size:21px;font-weight:600;text-transform:uppercase;margin-bottom:12px}.kitchen-product span{text-transform:none;color:#4d5d54}.kitchen-options{width:100%;border-collapse:collapse;margin:10px 0 14px;color:var(--ink)}.kitchen-options td{border:1px solid #cfd8d2;padding:4px 10px;font-size:21px;line-height:1.2;text-transform:uppercase}.kitchen-options td:first-child{width:50%}.kitchen-options td:nth-child(2){width:50%;font-weight:700}.kitchen-drink{font-size:21px;text-transform:uppercase;margin-top:8px;color:var(--green-dark);font-weight:700}.kitchen-note{margin-top:14px;padding-top:10px;border-top:1px dashed #b9c6bd;font-size:15px;color:#516057;word-break:break-word}
.delivery-report-actions{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem;padding:1rem 1.15rem;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 4px 15px #1a45280d}.delivery-report-toolbar{display:flex;align-items:end;justify-content:flex-end;gap:.55rem;flex-wrap:wrap}.delivery-date-field{display:flex;flex-direction:column;gap:.25rem;margin:0}.delivery-date-field span{font-size:.74rem;font-weight:800;color:#617169;text-transform:uppercase;letter-spacing:.08em}.delivery-date-field .form-control{min-width:160px}.delivery-report-toolbar .btn{min-width:112px;font-weight:700}.delivery-report-page{max-width:1120px;margin:auto;padding:16px;background:#fff;border-radius:10px;box-shadow:0 4px 15px #1a45280d}.delivery-report-table{width:100%;border-collapse:collapse;table-layout:fixed;font-family:Arial,Helvetica,sans-serif;color:#111}.delivery-report-table th,.delivery-report-table td{border:1px solid #222;padding:2px 4px;font-size:12px;line-height:1.08;text-align:center}.delivery-report-table th{background:#1d1d1d;color:#fff;font-weight:800}.delivery-report-table th:first-child,.delivery-report-table td:first-child{width:30%;text-align:left}.delivery-report-table thead tr:nth-child(2) th{background:#bdbdbd;color:#111}.delivery-location-row td{background:#cfcfcf;font-weight:800}.delivery-location-row td:not(:first-child){text-align:center}.delivery-drink-row td{background:#f7f7f7;font-weight:500}.delivery-total-title td{background:#cfcfcf;font-weight:800}.delivery-total-row td:first-child{background:#cfcfcf;font-weight:600}
.delivery-report-actions{float:none!important;clear:both;max-width:1120px;margin-left:0;margin-right:auto}.delivery-report-page{margin-left:0;margin-right:auto}

@page{size:80mm auto;margin:2mm}
@media print{
  body.public-body{width:80mm!important;margin:0!important;padding:0!important;background:#fff!important;color:#000!important}
  body.public-body *{visibility:hidden}
  .thermal-receipt,.thermal-receipt *{visibility:visible}
  .thermal-receipt{position:absolute;left:0;top:0;width:76mm!important;max-width:76mm!important;margin:0!important;padding:2mm!important;border-radius:0!important;box-shadow:none!important;background:#fff!important;text-align:left!important;font-family:"Courier New",Consolas,monospace!important;font-size:11px!important;line-height:1.22!important;color:#000!important}
  .thermal-receipt .check-mark{display:none!important}
  .thermal-receipt .eyebrow{text-align:center!important;color:#000!important;font-size:10px!important;letter-spacing:0!important;margin:0 0 1mm!important}
  .thermal-receipt h1{text-align:center!important;font-family:"Courier New",Consolas,monospace!important;font-size:14px!important;font-weight:700!important;margin:0 0 2mm!important;padding-bottom:1mm!important;border-bottom:1px dashed #000!important}
  .thermal-receipt .receipt-grid{display:block!important;margin:0 0 2mm!important;text-align:left!important}
  .thermal-receipt .receipt-grid dt{display:inline!important;font-weight:700!important}
  .thermal-receipt .receipt-grid dt::after{content:": "}
  .thermal-receipt .receipt-grid dd{display:block!important;margin:0 0 1mm!important;word-break:break-word!important}
  .thermal-receipt .receipt-options{margin:2mm 0!important;padding:2mm 0!important;border-top:1px dashed #000!important;border-bottom:1px dashed #000!important;border-radius:0!important;background:#fff!important;text-align:left!important}
  .thermal-receipt .receipt-options p{margin:0 0 1mm!important;break-inside:avoid!important}
  .thermal-receipt .receipt-options small{display:block!important;color:#000!important;font-weight:700!important}
  .thermal-receipt .text-muted{color:#000!important}
  .thermal-receipt .badge{border:0!important;background:#fff!important;color:#000!important;padding:0!important;font-size:11px!important}
  .thermal-receipt .btn,.thermal-receipt a.btn{display:none!important}
  body.public-body .container{width:80mm!important;max-width:80mm!important;margin:0!important;padding:0!important}
}
@media(max-width:768px){.delivery-report-actions{align-items:stretch;flex-direction:column}.delivery-report-toolbar{justify-content:stretch}.delivery-report-toolbar .btn,.delivery-date-field,.delivery-date-field .form-control{width:100%}}

@media print{
  body.admin-body{background:#fff!important}
  body.admin-body .admin-nav,body.admin-body footer,body.admin-body .kitchen-toolbar,body.admin-body .kitchen-summary{display:none!important}
  body.admin-body main{padding:0!important;margin:0!important;max-width:none!important;width:100%!important}
  body.admin-body .kitchen-print-sheet{display:block!important;margin:0!important;padding:0!important}
  body.admin-body .kitchen-ticket{display:block!important;width:100%!important;max-width:none!important;min-height:100vh!important;margin:0!important;padding:48px!important;border:1px solid #cfd8d2!important;border-left:6px solid #23643b!important;border-radius:0!important;box-shadow:none!important;background:#fff!important;color:#243129!important;page-break-after:always!important;break-after:page!important;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}
  body.admin-body .kitchen-ticket:last-child{page-break-after:auto!important;break-after:auto!important}
  body.admin-body .kitchen-options td{border-color:#cfd8d2!important;color:#243129!important}
}
@media print{
  body.admin-body:has(.delivery-report-page){background:#fff!important}
  body.admin-body:has(.delivery-report-page) .admin-nav,body.admin-body:has(.delivery-report-page) footer,body.admin-body:has(.delivery-report-page) .delivery-report-actions{display:none!important}
  body.admin-body:has(.delivery-report-page) main{padding:0!important;margin:0!important;width:100%!important;max-width:none!important}
  body.admin-body:has(.delivery-report-page) .delivery-report-page{max-width:none!important;width:100%!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important}
  body.admin-body:has(.delivery-report-page) .delivery-report-table{width:100%!important;page-break-inside:auto!important}
  body.admin-body:has(.delivery-report-page) .delivery-report-table th,body.admin-body:has(.delivery-report-page) .delivery-report-table td{border:1px solid #111!important;padding:2px 3px!important;font-size:10px!important;line-height:1.05!important;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}
  body.admin-body:has(.delivery-report-page) .delivery-report-table th{background:#1d1d1d!important;color:#fff!important}
  body.admin-body:has(.delivery-report-page) .delivery-report-table thead tr:nth-child(2) th,body.admin-body:has(.delivery-report-page) .delivery-location-row td,body.admin-body:has(.delivery-report-page) .delivery-total-title td,body.admin-body:has(.delivery-report-page) .delivery-total-row td:first-child{background:#cfcfcf!important;color:#111!important}
}
