@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Barlow+Condensed:wght@600;700;800&display=swap');
:root{--brand:#891c2b;--accent:#ffe047;--ink:#211f22;--muted:#767078;--line:#e8e5e8;--surface:#fafafa;--white:#fff; font-family:'DM Sans',sans-serif;color:var(--ink);background:var(--surface)}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}a{color:inherit}button{border:0}button:disabled{opacity:.45;cursor:not-allowed}.demo{padding:9px 20px;background:#211f22;text-align:center;font-size:12px;letter-spacing:.02em}.shell{max-width:1180px;margin:auto;padding:0 34px 110px}.top{display:flex;align-items:center;justify-content:space-between;padding:27px 0;border-bottom:1px solid var(--line);gap:18px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none}.mark{width:43px;height:43px;border-radius:14px;background:var(--brand);color:#ffffff;display:grid;place-items:center;font:30px 'Barlow Condensed',sans-serif}.brand strong{display:block;font-size:20px}.brand small{display:block;color:var(--muted);font-size:11px;letter-spacing:.13em;margin-top:3px}.toplinks{display:flex;gap:6px;align-items:center}.navbtn{background:transparent;padding:10px 15px;border-radius:24px;color:var(--muted);font-size:14px}.navbtn.active{background:var(--brand);color:white}.intro{display:grid;grid-template-columns:1.3fr 1fr;align-items:center;gap:25px;margin:32px 0;background:var(--brand);border-radius:24px;padding:36px 40px;color:#fff;overflow:hidden;min-height:220px}.eyebrow{font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--accent);font-weight:700}.intro h1{font:40px/1.12 'Barlow Condensed','Arial Narrow',sans-serif;max-width:460px;margin:13px 0}.intro p{font-size:14px;line-height:1.65;color:#ffffff;max-width:400px}.introart{display:flex;align-items:center;justify-content:center}.introart svg{width:235px;filter:drop-shadow(0 12px 16px #4c0b15)}.tools{display:flex;align-items:center;gap:16px;margin:28px 0;flex-wrap:wrap}.search{background:white;border:1px solid var(--line);padding:13px 17px;border-radius:13px;flex:1;min-width:170px}.chips{display:flex;gap:8px;overflow:auto}.chip{white-space:nowrap;background:transparent;border:1px solid #ddd7dc;padding:11px 18px;border-radius:24px;font-size:14px;color:var(--muted)}.chip.selected{background:var(--brand);color:white;border-color:var(--brand)}.sectiontitle{display:flex;justify-content:space-between;align-items:center;margin:27px 0 18px}.sectiontitle h2{font:26px 'Barlow Condensed','Arial Narrow',sans-serif;margin:0}.sectiontitle small{color:var(--muted)}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.card{background:white;border:1px solid var(--line);border-radius:20px;overflow:hidden}.foodart{height:160px;background:#f5f3f5;display:grid;place-items:center;position:relative}.foodart svg{height:142px;width:190px;filter:drop-shadow(0 5px 4px #d3cbd0)}.tag{position:absolute;top:14px;left:14px;background:#ffe047;padding:5px 9px;border-radius:7px;font-size:11px;color:#211f22}.cardbody{padding:19px}.card h3{margin:0 0 8px;font-size:17px}.desc{font-size:13px;color:var(--muted);line-height:1.6;min-height:40px;margin:0 0 17px}.pricebar{display:flex;align-items:center;justify-content:space-between}.price{font-size:16px;font-weight:700}.add{background:var(--brand);color:white;width:34px;height:34px;border-radius:11px;font-size:22px}.stepper{display:flex;align-items:center;gap:12px}.stepper button{background:#f8ecef;width:28px;height:28px;border-radius:9px;color:var(--brand)}.rating{font-size:12px;color:#767078;margin-bottom:9px}.bottom{position:fixed;bottom:0;left:0;right:0;background:#fffffff5;backdrop-filter:blur(14px);border-top:1px solid var(--line);display:flex;justify-content:center;gap:20px;padding:12px 16px max(12px,env(safe-area-inset-bottom));z-index:10}.bottom button{background:transparent;padding:10px 19px;color:var(--muted);font-size:14px;border-radius:20px}.bottom button.active{color:var(--brand);background:#f8ecef}.cartdock{position:fixed;right:30px;bottom:85px;border-radius:18px;background:var(--brand);box-shadow:0 10px 24px #891c2b33;color:white;padding:15px 22px;z-index:12;display:flex;gap:35px;align-items:center}.pagehead{margin:35px 0 25px}.pagehead h1{font:32px 'Barlow Condensed','Arial Narrow',sans-serif;margin:8px 0}.muted{color:var(--muted);font-size:14px;line-height:1.6}.layout{display:grid;grid-template-columns:1.3fr 1fr;gap:25px}.panel{background:white;border:1px solid var(--line);padding:24px;border-radius:20px;margin-bottom:18px}.panel h2{font-size:18px;margin:0 0 20px}.row{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:14px 0;border-bottom:1px solid var(--line)}.row:last-child{border-bottom:0}.row small{display:block;color:var(--muted);margin-top:5px}.field{display:block;margin-bottom:17px;font-size:14px;font-weight:500}.field input,.field select,.field textarea{display:block;width:100%;margin-top:8px;padding:12px;border:1px solid #ddd7dc;border-radius:10px;background:#fff;min-height:44px}.btn{background:var(--brand);color:#fff;border-radius:12px;padding:13px 18px;font-weight:600;min-height:44px}.btn.secondary{background:#f8ecef;color:var(--brand)}.btn.danger{background:#fff0f3;color:#a61932}.wide{width:100%;margin-top:16px}.notice{font-size:13px;line-height:1.65;background:#f7f4fa;border:1px solid #e4dce9;border-radius:12px;padding:14px;color:#60566b;margin:15px 0}.empty{text-align:center;padding:65px 20px}.badge{display:inline-block;font-size:12px;padding:6px 10px;border-radius:20px;background:#f8ecef;color:#891c2b}.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:25px}.metric{background:white;border:1px solid var(--line);border-radius:18px;padding:22px}.metric small{color:var(--muted)}.metric strong{display:block;font-size:28px;margin-top:11px}.tabs{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.tablewrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:14px}th{text-align:left;color:var(--muted);font-size:12px;padding:15px 12px;border-bottom:1px solid var(--line)}td{padding:16px 12px;border-bottom:1px solid var(--line)}.timeline{list-style:none;padding:0;margin:20px 0}.timeline li{position:relative;padding:0 0 27px 32px;border-left:2px solid #e6dee2;margin-left:9px;color:var(--muted)}.timeline li:before{content:'';position:absolute;left:-8px;top:0;width:14px;height:14px;background:#e6dee2;border-radius:100%}.timeline li.done{color:var(--brand)}.timeline li.done:before{background:var(--brand)}.timeline li:last-child{border:0;padding-bottom:0}.timeline small{display:block;font-size:12px;margin-top:5px}.actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.kgrid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.statline{font-size:13px;color:var(--muted);padding-top:8px}.dangertext{color:#b31336}#toast{position:fixed;top:20px;left:50%;transform:translateX(-50%);background:#891c2b;color:white;padding:14px 22px;border-radius:12px;z-index:100;display:none;font-size:14px;max-width:90vw}.footnote{font-size:12px;color:var(--muted);margin-top:24px;line-height:1.6}.icon{display:block;font-size:18px;margin-bottom:3px}.stars button{background:transparent;font-size:29px;color:#c51d38;padding:4px}.stars{margin:8px 0}.review{border-top:1px solid var(--line);padding-top:18px;margin-top:18px}
@media(min-width:900px){.bottom button .icon{display:none}.bottom{gap:45px}.bottom button{padding:10px 30px}}
@media(max-width:700px){.demo{font-size:11px;padding:8px 10px}.shell{padding:0 18px 115px}.top{padding:19px 0}.brand strong{font-size:18px}.toplinks .navbtn:not(.adminlink){display:none}.navbtn{padding:8px 12px}.intro{grid-template-columns:1fr .6fr;padding:25px 22px;gap:0;margin:23px 0;min-height:210px;border-radius:20px}.intro h1{font-size:29px}.intro p{font-size:12px}.introart svg{width:140px;margin-right:-25px}.tools{gap:14px;margin:20px 0}.search{flex-basis:100%}.chips{width:100%}.chip{padding:9px 16px}.grid{grid-template-columns:repeat(2,1fr);gap:12px}.foodart{height:120px}.foodart svg{width:140px;height:106px}.cardbody{padding:13px}.card h3{font-size:15px;line-height:1.4}.desc{font-size:12px;min-height:58px;margin-bottom:12px}.price{font-size:13px}.add{width:30px;height:30px}.rating{font-size:11px}.tag{left:8px;top:8px;font-size:10px;padding:4px 6px}.sectiontitle h2{font-size:24px}.sectiontitle small{font-size:11px}.bottom{gap:0;justify-content:space-around}.bottom button{padding:6px 12px;font-size:11px;border-radius:12px}.cartdock{left:18px;right:18px;bottom:84px;justify-content:space-between;padding:13px 17px;border-radius:14px}.layout{grid-template-columns:1fr}.panel{padding:19px}.metrics{gap:8px}.metric{padding:15px 10px}.metric strong{font-size:19px}.metric small{font-size:11px}.kgrid{grid-template-columns:1fr}.pagehead h1{font-size:29px}.stepper{gap:8px}.introart{overflow:visible}.actions .btn{font-size:13px}}

/* Penyempurnaan prototype lokal */
.textbtn{background:none;color:var(--brand);text-decoration:underline;padding:5px;font-size:inherit}.food-label{padding:20px;text-align:center}.food-label span{display:block;font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:#767078}.food-label strong{display:block;font:22px 'Barlow Condensed','Arial Narrow',sans-serif;margin:10px 0}.food-label small{font-size:12px;color:var(--muted)}.introart figure{margin:0;width:100%;max-width:400px}.introart img{display:block;width:100%;height:210px;object-fit:cover;border-radius:16px}.introart figcaption{font-size:12px;color:#ffffff;margin-top:8px;line-height:1.5}.intro{min-height:unset;padding:28px 35px}.intro h1{font-size:35px}.desc{font-size:14px}.chip,.navbtn,.field,.bottom button{font-size:14px}.btn,.add,.stepper button{min-height:44px;min-width:44px}.panel h2{line-height:1.5}.foodart{height:150px}.tag{font-size:12px}.rating{font-size:12px}.brand small{font-size:12px}.food-label strong{font-size:23px}.footnote{font-size:13px}
@media(max-width:700px){.intro{grid-template-columns:1fr;padding:23px;margin-bottom:18px}.intro h1{font-size:31px;margin:10px 0}.intro p{font-size:14px}.introart figure{max-width:none}.introart img{height:160px}.introart{margin-top:8px}.foodart{height:130px}.food-label{padding:18px 10px}.food-label strong{font-size:19px}.desc{font-size:14px;min-height:85px}.card h3{font-size:16px}.price{font-size:14px}.pricebar{flex-wrap:wrap;gap:9px}.stepper{gap:6px}.stepper button{min-width:36px}.bottom button{font-size:12px;padding:6px 9px}.toplinks .navbtn{font-size:13px}.brand strong{font-size:19px}.tag{font-size:11px}.metric small{font-size:12px}.sectiontitle{gap:12px}.sectiontitle small{text-align:right;font-size:12px;max-width:145px}}

/* Direction Ahla : marun / blanc / noir / jaune */
.demo{color:#fff;background:#211f22}.mark{border-radius:3px;font-weight:800;text-transform:uppercase}.brand strong{text-transform:uppercase;letter-spacing:.04em;font:700 26px 'Barlow Condensed',sans-serif}.brand small{letter-spacing:.1em}.top{border-bottom:2px solid #211f22}.intro{border-radius:4px;background:#891c2b;border-left:7px solid #ffe047;grid-template-columns:1.15fr 1fr}.intro h1{text-transform:uppercase;font-size:49px;line-height:.98;letter-spacing:.01em;font-weight:800;font-style:italic;margin:14px 0}.intro p{color:#fff}.eyebrow{color:#891c2b}.intro .eyebrow{color:#ffe047}.introart img{border-radius:2px}.introart figcaption{color:#fff}.sectiontitle h2,.pagehead h1{font-weight:800;text-transform:uppercase;letter-spacing:.015em}.card{border-radius:5px;border-top:3px solid #891c2b}.foodart{background:#f6f4f6;border-bottom:1px solid #e8e5e8}.food-label strong{font-weight:700;text-transform:uppercase;color:#891c2b}.cardbody{padding-top:17px}.tag{border-radius:2px;font-weight:700;background:#ffe047;color:#211f22}.btn,.add,.stepper button,.search,.panel,.metric{border-radius:5px}.chip,.navbtn{border-radius:5px}.bottom{background:#fff;border-top:2px solid #211f22}.bottom button.active{background:#891c2b;color:white;border-radius:5px}.cartdock{border-radius:5px;background:#211f22;border-bottom:4px solid #ffe047}.cartdock strong{color:#ffe047}.notice{border-radius:5px;background:#f7f4fa;border-color:#e4dce9;color:#60566b}.badge{border-radius:4px}.price{color:#891c2b}.metric strong{font-weight:700}.introart figure{max-width:440px}.introart img{height:230px}
@media(max-width:700px){.intro{grid-template-columns:1fr;padding:22px;border-radius:3px;border-left-width:5px}.intro h1{font-size:40px;max-width:300px}.brand strong{font-size:24px}.introart img{height:175px}.card{border-radius:4px}.food-label strong{font-size:21px}.bottom button.active{border-radius:4px}}

.foodart{display:block;height:auto;background:#fff;overflow:hidden}.menu-photo{position:relative;width:100%;overflow:hidden;background:#f4f4f4}.menu-photo img{display:block;position:absolute;max-width:none;object-fit:fill}.introart img{height:290px;object-fit:contain;background:#891c2b}.card h3{min-height:45px}.desc{min-height:36px}.introart figure{max-width:330px}.introart figcaption{text-align:center}@media(max-width:700px){.foodart{height:auto}.introart img{height:235px}.introart figure{max-width:260px}.card h3{min-height:65px}.desc{min-height:40px}.cardbody{padding:12px}.menu-photo{min-height:0}}
.staff-login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #faf7f8;
}

.staff-login-card {
  width: min(100%, 440px);
}

.staff-login-card h1 {
  margin-bottom: 8px;
}

.staff-login-card form {
  display: grid;
  gap: 16px;
  margin: 24px 0 12px;
}

.staffbar small {
  margin-top: 6px;
  color: #5f4b50;
  font-weight: 700;
}

@media (max-width: 640px) {
  .staff-login-page {
    padding: 16px;
  }
}

/* Pengaturan bertab dan akun staf berbasis database */
.settings-tabs{display:flex;gap:8px;overflow-x:auto;position:sticky;top:0;z-index:8;padding:12px 0;margin:0 0 20px;background:var(--surface);scrollbar-width:thin}.settings-tabs .chip{flex:0 0 auto;font-weight:700}.staff-account-list{display:grid;gap:12px;margin-top:22px}.staff-account-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;border:1px solid var(--line);border-radius:14px;padding:16px}.staff-account-card small{display:block;color:var(--muted);margin-top:5px}.staff-account-card .actions{grid-column:1/-1;margin-top:0}.outlet-edit-form{margin-top:16px}@media(max-width:640px){.settings-tabs{margin-left:-18px;margin-right:-18px;padding-left:18px;padding-right:18px}.staff-account-card{grid-template-columns:1fr}.staff-account-card .badge{justify-self:start}}


/* Header khusus penjual */
.staff-top{align-items:center}.staff-brand{cursor:pointer}.staff-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px}.staff-outlet-label{font-size:13px;color:var(--muted)}.staff-outlet-label strong{color:var(--brand);font-weight:800}.staff-role-badge{font-weight:800}.staff-empty{max-width:760px;margin:40px auto;text-align:center}.staff-empty h2{font-size:28px;margin:12px 0}.staff-empty .muted{max-width:580px;margin:auto}@media(max-width:700px){.staff-top{align-items:flex-start}.staff-header-actions{flex-wrap:wrap;gap:8px}.staff-outlet-label{order:3;width:100%;font-size:11px}.staff-header-actions .btn{padding:9px 12px;min-height:38px}.staff-role-badge{font-size:11px}}


/* Filter pesanan ringkas */
.order-filter-panel{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:18px;align-items:end;margin:20px 0}.order-filter-groups{display:grid;grid-template-columns:repeat(3,minmax(150px,1fr));gap:10px}.order-group{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:52px;padding:11px 14px;border:1px solid #d9cdd1;border-radius:14px;background:#fff;color:var(--ink);font-weight:750;text-align:left}.order-group strong{display:grid;place-items:center;min-width:28px;height:28px;padding:0 7px;border-radius:9px;background:#f7eef0;color:var(--brand)}.order-group.selected{background:var(--brand);border-color:var(--brand);color:#fff;box-shadow:0 8px 20px #891c2b24}.order-group.selected strong{background:#ffffff26;color:#fff}
/* Warna status hanya menyala ketika terdapat pesanan pada kelompoknya. */
.order-group--action.has-items{background:#fff7e8;border-color:#e7ab4e;color:#8a5200}.order-group--action.has-items strong{background:#f9dda6;color:#744300}.order-group--refund.has-items{background:#faf5ff;border-color:#b99ae4;color:#65409a}.order-group--refund.has-items strong{background:#e9dcfb;color:#573685}.order-group--kitchen.has-items{background:#eff7ff;border-color:#87bce9;color:#155f9b}.order-group--kitchen.has-items strong{background:#d5ebff;color:#125484}.order-group--handover.has-items{background:#edfafa;border-color:#78c9c4;color:#126b68}.order-group--handover.has-items strong{background:#cff0ed;color:#0e5f5c}.order-group--completed.has-items{background:#f1f8f2;border-color:#9bc9a1;color:#287141}.order-group--completed.has-items strong{background:#d9eddb;color:#236238}.order-group--cancelled.has-items{background:#fff3f2;border-color:#e6a19b;color:#a5352b}.order-group--cancelled.has-items strong{background:#f8d9d5;color:#8d2b24}.order-group--all.has-items{background:#f9eef0;border-color:#bd6673;color:var(--brand)}.order-group--all.has-items strong{background:#f3dce1;color:var(--brand)}
.order-group.selected.order-group--action{background:#c57b08;border-color:#c57b08}.order-group.selected.order-group--refund{background:#7651a6;border-color:#7651a6}.order-group.selected.order-group--kitchen{background:#2477b6;border-color:#2477b6}.order-group.selected.order-group--handover{background:#147b77;border-color:#147b77}.order-group.selected.order-group--completed{background:#347b49;border-color:#347b49}.order-group.selected.order-group--cancelled{background:#b64238;border-color:#b64238}.order-group.selected.order-group--action,.order-group.selected.order-group--refund,.order-group.selected.order-group--kitchen,.order-group.selected.order-group--handover,.order-group.selected.order-group--completed,.order-group.selected.order-group--cancelled{color:#fff}.order-group.selected.order-group--action strong,.order-group.selected.order-group--refund strong,.order-group.selected.order-group--kitchen strong,.order-group.selected.order-group--handover strong,.order-group.selected.order-group--completed strong,.order-group.selected.order-group--cancelled strong{background:#ffffff26;color:#fff}.order-detail-filter{display:grid;gap:7px}.order-detail-filter label{font-size:12px;font-weight:800;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}.order-detail-filter select{width:100%;min-height:50px;padding:10px 12px;border:1px solid #d9cdd1;border-radius:12px;background:#fff}.order-detail-filter small{color:var(--muted)}@media(max-width:900px){.order-filter-panel{grid-template-columns:1fr}.order-filter-groups{display:flex;overflow-x:auto;padding-bottom:5px}.order-group{flex:0 0 auto;min-width:165px}.order-detail-filter{max-width:none}}@media(max-width:520px){.order-group{min-width:145px;min-height:48px;font-size:13px}.order-filter-panel{gap:12px}}


/* Tombol tampilkan/sembunyikan password */
.password-input-wrap{display:block;position:relative;margin-top:8px}
.field .password-input-wrap input{margin-top:0;padding-right:54px}
.password-toggle{position:absolute;top:50%;right:6px;transform:translateY(-50%);display:grid;place-items:center;width:42px;height:42px;border-radius:8px;background:transparent;color:#594e52;font-size:19px;line-height:1}
.password-toggle:hover,.password-toggle:focus-visible{background:#f8ecef;color:var(--brand)}
.password-toggle.is-visible{background:#f8ecef;color:var(--brand)}
.inventory-status{display:inline-flex;align-items:center;justify-content:center;min-width:112px;padding:8px 12px;border-radius:999px;font-size:13px;font-weight:800;letter-spacing:.01em;border:1px solid transparent}
.inventory-status-safe{background:#087443;color:#fff;border-color:#065f37;box-shadow:0 3px 10px rgba(8,116,67,.2)}
.inventory-status-low{background:#c7192d;color:#fff;border-color:#9f1021;box-shadow:0 3px 10px rgba(199,25,45,.24)}
.inventory-add-panel>summary{display:inline-flex;list-style:none;cursor:pointer;margin-bottom:0}
.inventory-add-panel>summary::-webkit-details-marker{display:none}
.inventory-add-panel[open]>summary{margin-bottom:24px}
.inventory-add-panel form{border-top:1px solid #eadde0;padding-top:22px}
.menu-bom-title{align-items:flex-end;margin-top:28px}
.menu-bom-table select,.menu-bom-table input{width:100%;min-width:150px;border:1px solid #d8c8cc;border-radius:10px;background:#fff;padding:11px 12px;font:inherit;color:#171717}
.menu-bom-table input{min-width:110px}
.menu-bom-table .bom-unit{font-weight:800;white-space:nowrap}
.menu-bom-table .bom-remove{padding:9px 12px;white-space:nowrap}
.menu-bom-add{display:flex;justify-content:flex-start;margin:14px 0 22px}
@media(max-width:640px){.menu-bom-title{align-items:stretch}.menu-bom-title .btn{width:100%}.menu-bom-table{min-width:640px}}
.menu-admin-grid{align-items:start}
.admin-menu-card{align-self:start}
.admin-menu-card-copy{min-width:0}
.menu-recipe-summary{margin:14px 0;padding:12px 14px;border-radius:12px;background:#f8f5f6;border:1px solid #eadfe2}
.menu-recipe-summary strong{display:block;font-size:12px;color:#891c2b;text-transform:uppercase;letter-spacing:.08em}
.menu-recipe-summary p{margin:7px 0 0;line-height:1.55;color:#4d4145;font-size:13px}
.menu-inline-editor{grid-column:1/-1;margin-top:12px;padding-top:22px;border-top:2px solid #eadfe2}
.menu-create-editor{margin-top:16px}
.menu-add-section{margin-top:22px}
.stock-safe-alert{border-left:4px solid #25834f;background:#effaf4}
.stock-safe-alert strong{color:#16653b}
.audit-row{align-items:flex-start}
.audit-row>span>small{display:block;margin-top:5px}
@media(max-width:700px){.menu-inline-editor{padding-top:18px}.menu-admin-card .sectiontitle{align-items:flex-start}.menu-recipe-summary{grid-column:1/-1}}
