
/* MENUPILOT - QR MENU DESIGN */

:root {
  --primary: #176b4d;
  --background: #f5f7f6;
  --text: #17251e;
  --muted: #718078;
  --border: #e2e9e4;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--background);
  color: var(--text);
}

.topbar {
  background: #ffffff;
  padding: 20px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.brand {
  font-size: 25px;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
}

.container {
  max-width: 1100px;
  margin: 35px auto;
  padding: 20px;
  min-height: 70vh;
}

h1 {
  font-size: 32px;
  margin-bottom: 12px;
}

h2 {
  font-size: 23px;
}

p {
  line-height: 1.6;
}

.card,
.panel {
  background: white;
  padding: 25px;
  border-radius: 15px;
  border: 1px solid var(--border);
  margin-bottom: 20px;
}

button,
.btn {
  background: var(--primary);
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 9px;
  cursor: pointer;
  font-size: 15px;
  font-weight: bold;
}

button:hover,
.btn:hover {
  opacity: 0.9;
}

input,
textarea,
select {
  width: 100%;
  padding: 12px;
  margin: 8px 0 15px;
  border: 1px solid #d7dfd9;
  border-radius: 8px;
  font-size: 15px;
}

label {
  font-weight: bold;
  font-size: 14px;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.menu-item {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.menu-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.menu-item-content {
  padding: 18px;
}

.price {
  color: var(--primary);
  font-size: 20px;
  font-weight: bold;
}

.allergen {
  font-size: 12px;
  color: #8a4c27;
  background: #fff3e7;
  padding: 6px 10px;
  border-radius: 6px;
  display: inline-block;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

footer {
  text-align: center;
  padding: 25px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 768px) {
  .container {
    margin: 10px auto;
    padding: 12px;
  }

  .topbar {
    padding: 15px;
  }

  .menu-grid,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 25px;
  }

  .menu-item img {
    height: 180px;
  }
}

/* Yönetim paneli ürün küçük resimleri */
#view .card img {
  width: 80px;
  height: 80px;
  max-width: 80px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

/* Ürün kartlarının düzeni */
#view .card {
  align-items: center;
}


/* Sipariş paneli */
.mp-order-card{margin-top:12px}
.mp-order-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.mp-order-muted{font-size:12px;color:#718078;margin-top:6px}
.mp-order-line{border-bottom:1px solid #e2e9e4;padding:8px 0;margin:0;display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap}
.mp-order-line small{display:block;width:100%;color:#718078}
.mp-order-actions{display:flex;gap:8px;flex-wrap:wrap}
.mp-order-actions button[data-order-status="cancelled"]{background:#a23b32}

/* Delivery map: contained on mobile and desktop */
#mp-delivery-map { position:relative; width:100%; max-width:100%; height:320px; overflow:hidden; border-radius:10px; }
#mp-delivery-map .leaflet-container { max-width:100%; }

/* MenuPilot Siparis Merkezi: dashboard-only layout; public QR menu remains unchanged */
body:has(.mp-admin-shell){background:#f3f6f4}
body:has(.mp-admin-shell) .topbar,body:has(.mp-admin-shell)>footer{display:none}
body:has(.mp-admin-shell) .container{max-width:none;margin:0;padding:0;min-height:100vh}
.mp-admin-shell{display:grid;grid-template-columns:245px minmax(0,1fr);min-height:100vh}
.mp-sidebar{background:#153b31;color:#e9f6ef;padding:25px 14px;display:flex;flex-direction:column;gap:20px;min-width:0;position:sticky;top:0;height:100vh;overflow-y:auto}
.mp-sidebar-brand{padding:4px 12px;display:flex;flex-direction:column;gap:4px}
.mp-sidebar-brand strong{font-size:25px;letter-spacing:-.6px;color:white}
.mp-sidebar-brand small{font-size:12px;color:#b5d1c4}
.mp-sidebar-restaurant{margin:0 10px;padding:11px;border:1px solid #3b6656;border-radius:10px;overflow-wrap:anywhere;font-weight:700;font-size:14px}
.mp-sidebar-nav{display:flex;flex-direction:column;gap:5px}
.mp-sidebar .mp-nav-item{display:flex;align-items:center;text-align:left;gap:12px;width:100%;background:transparent;color:#d7e7de;padding:12px 14px;font-size:14px;border-radius:10px}
.mp-sidebar .mp-nav-item span:first-child{font-size:18px;width:22px;text-align:center}
.mp-sidebar .mp-nav-item:hover{background:#245547}
.mp-sidebar .mp-nav-item.is-active{background:#267457;color:#fff}
.mp-sidebar-footer{margin-top:auto;padding:10px;display:flex;flex-direction:column;gap:10px}
.mp-sidebar-footer a{color:#d8f4e6;font-size:13px}
.mp-sidebar-footer button{background:#315e4e;text-align:left}
.mp-admin-main{min-width:0;padding:25px clamp(15px,3vw,42px)}
.mp-admin-header{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px;flex-wrap:wrap}
.mp-admin-header h1{font-size:29px;line-height:1.2;margin:4px 0 0}
.mp-admin-eyebrow{font-size:13px;color:#677a70;font-weight:600}
.mp-admin-language select{margin:0}
.mp-admin-content{min-width:0}
.mp-admin-content>h2:first-child{display:none}
.mp-admin-content .mp-order-grid{gap:14px}
.mp-admin-content .mp-compact-order{padding:20px;border-radius:15px;box-shadow:0 4px 16px #173b3010}
.mp-admin-content .mp-order-info>strong:first-child{font-size:17px}
.mp-admin-content .mp-order-toolbar{margin:0 0 12px}
.mp-admin-content .mp-order-toolbar button{padding:11px 14px}
@media(max-width:800px){.mp-admin-shell{grid-template-columns:1fr}.mp-sidebar{position:relative;height:auto;padding:12px;gap:8px}.mp-sidebar-brand{padding:0 6px}.mp-sidebar-restaurant{display:none}.mp-sidebar-nav{flex-direction:row;overflow-x:auto;padding:4px 0}.mp-sidebar .mp-nav-item{width:auto;flex:none;white-space:nowrap;padding:10px}.mp-sidebar-footer{flex-direction:row;align-items:center;margin-top:0;justify-content:space-between}.mp-sidebar-footer button{padding:8px 12px}.mp-admin-main{padding:16px}.mp-admin-header h1{font-size:25px}}
@media(max-width:500px){.mp-admin-content .mp-compact-order{padding:12px}.mp-admin-header{align-items:flex-start}}

/* Collapsible sidebar order settings; orders remain visible while settings open */
.mp-sidebar-controls{border:1px solid #416a5b;border-radius:11px;margin:0 5px;color:#edf8f1}
.mp-sidebar-controls summary{cursor:pointer;padding:12px 10px;font-size:13px;font-weight:700;list-style-position:inside}
.mp-sidebar-control-inner{display:flex;flex-direction:column;gap:8px;padding:0 10px 12px}
.mp-control-label{font-size:11px;color:#b9d7c7;font-weight:700;margin-top:5px}
.mp-sidebar-controls button{font-size:12px;padding:10px;text-align:left;background:#2a5b4b;border:1px solid #477766;line-height:1.4}
.mp-sidebar-controls button[aria-pressed="false"]{background:#695044}

/* Connection problem dialog - only visible after repeated order polling failures */
.mp-connection-overlay[hidden]{display:none!important}
.mp-connection-overlay{position:fixed;inset:0;background:rgba(14,32,25,.55);z-index:99999;display:flex;align-items:center;justify-content:center;padding:18px}
.mp-connection-panel{width:min(440px,100%);background:#fff;border-radius:18px;padding:28px;text-align:center;box-shadow:0 24px 70px rgba(0,0,0,.2);color:#193429}
.mp-connection-panel h2{margin:10px 0}.mp-connection-panel p{line-height:1.6}.mp-connection-symbol{font-size:36px;color:#b44a27}
.mp-connection-panel button{width:100%;margin:12px 0}.mp-connection-panel small{display:block;color:#65786d;line-height:1.5}

/* Payment settings preview */
.mp-payment-settings{max-width:760px;display:grid;gap:16px}.mp-payment-settings .card{margin:0}.mp-payment-settings form{display:grid;gap:12px}.mp-payment-settings label{display:grid;gap:6px;font-weight:600}.mp-payment-settings input{width:100%;max-width:100%;box-sizing:border-box}.mp-payment-settings button{justify-self:start}.mp-bank-note{font-size:13px;color:#66766d}.mp-bank-qr-preview{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:12px 0}.mp-bank-qr-preview img{width:160px;height:160px;object-fit:contain;background:white;border:1px solid #ddd;border-radius:10px;padding:8px}

/* Customer payment options */
.mp-customer-payments{border:1px solid #dce5df;border-radius:12px;padding:14px;margin:14px 0}.mp-customer-payments label{display:flex;align-items:center;gap:10px;margin:12px 0;font-weight:600}.mp-customer-payments input[type=radio]{width:auto;margin:0}.mp-customer-payments #mp-customer-bank{background:#f6faf7;padding:14px;border-radius:10px;overflow-wrap:anywhere}.mp-customer-payments #mp-customer-bank[hidden]{display:none}.mp-bank-iban{font-family:monospace;overflow-wrap:anywhere}.mp-customer-bank-qr{max-width:190px;max-height:190px;object-fit:contain;background:#fff;border-radius:8px;margin:12px 0}.mp-customer-payments button{margin:6px 8px 6px 0}

/* Bank transfer verification warning */
.mp-bank-warning{display:block;color:#9c2d18;background:#fff1e9;border:1px solid #e5a48f;border-radius:8px;padding:8px;margin:6px 0;font-size:13px;font-weight:800;line-height:1.4}.mp-order-payment{display:block;color:#253e32;margin-top:5px;font-weight:700}

/* MenuPilot bank transfer approval dialog */
.mp-payment-modal-overlay{position:fixed;inset:0;z-index:100100;background:rgba(13,32,26,.65);display:flex;align-items:center;justify-content:center;padding:18px}
.mp-payment-modal{width:min(460px,100%);max-height:90vh;overflow:auto;background:#fff;color:#18372a;border-radius:18px;padding:25px;box-shadow:0 22px 70px #0004}
.mp-payment-modal-icon{font-size:30px;color:#bb5427}.mp-payment-modal h2{margin:8px 0 10px;font-size:23px}.mp-payment-modal p{line-height:1.55}
.mp-payment-modal-info{background:#f2f7f3;border:1px solid #dce7de;border-radius:12px;padding:13px;display:grid;gap:10px}
.mp-payment-modal-info>div{display:flex;justify-content:space-between;gap:14px;align-items:center}.mp-payment-modal-info span{color:#60746a;font-size:13px}.mp-payment-modal-info strong{text-align:right;font-size:14px}
.mp-payment-modal-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:20px;flex-wrap:wrap}.mp-payment-modal-actions button{margin:0}.mp-payment-modal-actions .mp-payment-cancel{background:#e8efea;color:#1c4d39}.mp-payment-modal-error{color:#a51f18;background:#fff1ed;border-radius:8px;padding:10px;font-size:13px}
@media(max-width:480px){.mp-payment-modal{padding:18px}.mp-payment-modal-actions button{flex:1}}

/* Opening hours preview */
.mp-hours-panel{margin-bottom:18px}.mp-hours-actions{display:flex;flex-wrap:wrap;gap:10px;margin:15px 0}.mp-hours-actions button{padding:10px 14px;border-radius:8px;cursor:pointer}.mp-hours-actions button:disabled{opacity:.5;cursor:wait}.mp-hours-scroll{overflow-x:auto}.mp-hours-table{border-collapse:collapse;width:100%;min-width:520px}.mp-hours-table th,.mp-hours-table td{padding:11px 12px;text-align:left;border-bottom:1px solid #dce5df}.mp-hours-table th{font-weight:700}#mp-hours-feedback{min-height:1.5em}
.mp-hours-cell{display:flex;align-items:center;gap:7px;flex-wrap:wrap;min-width:220px}
.mp-hours-cell label{white-space:nowrap;font-size:13px}
.mp-hours-cell input[type=time]{width:100px;max-width:100%;padding:7px 5px;border:1px solid #cbd9d0;border-radius:7px;background:#fff;color:#163c30}
.mp-hours-cell input[type=time]:disabled{opacity:.45}
.mp-hours-save{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:18px}
.mp-hours-save button{background:#17694c;color:white;border:0;border-radius:8px;padding:12px 18px;font-weight:700;cursor:pointer}
.mp-hours-save button:disabled{opacity:.5;cursor:wait}
#mp-hours-save-feedback{font-size:14px}

.mp-sidebar-restaurant{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.mp-state-badge{font-size:12px;font-weight:700;border-radius:999px;padding:3px 9px;background:#e6ece8;color:#385147}
.mp-state-badge.is-open{background:#d7f6e5;color:#0b653b}
.mp-state-badge.is-closed{background:#ffe2dd;color:#9b3127}

/* Opening-hours switches: existing checkbox values and save logic remain unchanged. */
.mp-hours-cell .mp-hours-switch{display:inline-flex;align-items:center;gap:8px;cursor:pointer;position:relative;min-width:106px;user-select:none}
.mp-hours-switch input{position:absolute;opacity:0;width:1px;height:1px;margin:0}
.mp-hours-switch-track{width:48px;height:27px;border-radius:999px;background:#cf3434;display:inline-block;position:relative;flex:none;transition:background .16s ease}
.mp-hours-switch-track::after{content:"";position:absolute;top:3px;left:3px;width:21px;height:21px;background:white;border-radius:50%;box-shadow:0 1px 3px #0003;transition:transform .16s ease}
.mp-hours-switch input:checked + .mp-hours-switch-track{background:#16844b}
.mp-hours-switch input:checked + .mp-hours-switch-track::after{transform:translateX(21px)}
.mp-hours-switch input:focus-visible + .mp-hours-switch-track{outline:3px solid #1969d2;outline-offset:3px}
.mp-hours-switch-text{font-size:12px;font-weight:700}
.mp-hours-switch-on{color:#16844b}.mp-hours-switch-off{color:#bd3030}
.mp-hours-switch input:checked ~ .mp-hours-switch-text .mp-hours-switch-off,.mp-hours-switch input:not(:checked) ~ .mp-hours-switch-text .mp-hours-switch-on{display:none}
@media(prefers-reduced-motion:reduce){.mp-hours-switch-track,.mp-hours-switch-track::after{transition:none}}

.mp-zone-grid{display:grid;gap:10px;margin-top:16px}.mp-zone-row{display:flex;align-items:end;flex-wrap:wrap;gap:12px;padding:12px;border:1px solid #dce4df;border-radius:10px}.mp-zone-row label{flex:1;min-width:180px}.mp-zone-row input[type=number]{width:100%;max-width:180px}

.mp-zone-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.mp-zone-filters select{width:100%;max-width:100%;height:46px}.mp-zone-table-wrap{overflow-x:auto;margin-top:16px}.mp-zone-table{width:100%;border-collapse:collapse}.mp-zone-table th,.mp-zone-table td{padding:12px;text-align:left;border-bottom:1px solid #dce4df}.mp-zone-table th{background:#edf4f0}.mp-zone-table input[type=number]{width:130px;max-width:100%}@media(max-width:650px){.mp-zone-filters{grid-template-columns:1fr}}

.mp-delivery-tabs{display:flex;gap:8px;margin:0 0 16px;flex-wrap:wrap}
.mp-delivery-tab{border:1px solid #cbdcd2;background:#fff;color:#155d45;border-radius:9px;padding:12px 18px;font-weight:700;cursor:pointer}
.mp-delivery-tab.is-active{background:#176b4d;color:#fff}
#mp-delivery-zones-pane[hidden],#mp-delivery-settings-pane[hidden]{display:none!important}
.mp-zone-switch{display:inline-flex;align-items:center;gap:10px;cursor:pointer}
.mp-zone-switch input{position:absolute;opacity:0;width:1px;height:1px}
.mp-zone-track{width:56px;height:30px;border-radius:18px;background:#cc3434;display:inline-flex;align-items:center;padding:3px;transition:background .15s}
.mp-zone-knob{width:24px;height:24px;background:white;border-radius:50%;transition:transform .15s}
.mp-zone-switch input:checked+.mp-zone-track{background:#14834b}
.mp-zone-switch input:checked+.mp-zone-track .mp-zone-knob{transform:translateX(26px)}
.mp-zone-switch input:focus-visible+.mp-zone-track{outline:3px solid #235dff;outline-offset:3px}
.mp-zone-switch input:disabled+.mp-zone-track{opacity:.55}
.mp-zone-state{font-weight:650;min-width:50px}
.mp-zone-hint{display:block;color:#68766d;margin-top:4px;font-size:11px}
.mp-zone-pagination{display:flex;justify-content:flex-end;align-items:center;gap:14px;margin-top:14px}
.mp-zone-pagination button{min-width:42px;font-size:22px;padding:6px 10px}

/* V16 boundary preview */
.mp-zone-map{height:360px;max-width:100%;border:1px solid #dce4df;border-radius:12px;margin:16px 0 6px;z-index:0}
#mp-zone-map-status{font-size:13px;color:#52635b;margin:6px 0 16px}

/* Ring settings: independent of existing delivery fees and neighborhood controls */
.mp-ring-row{display:grid;grid-template-columns:minmax(90px,1fr) repeat(2,minmax(130px,1.4fr)) auto auto auto;align-items:end;gap:12px;padding:14px 0;border-bottom:1px solid #e2e8f0}
.mp-ring-row label{margin:0;font-size:13px}.mp-ring-row input[type=number]{width:100%;box-sizing:border-box}.mp-ring-active{display:flex;align-items:center;gap:6px;white-space:nowrap;padding-bottom:12px}.mp-ring-active input{width:auto!important}
@media(max-width:900px){.mp-ring-row{grid-template-columns:repeat(2,minmax(0,1fr))}.mp-ring-row strong{grid-column:1/-1}}

/* V26: multi-shift opening hours */
.mp-shift-service{margin:18px 0 26px}.mp-shift-service h4{margin:0 0 12px;font-size:18px}.mp-shift-days{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:12px}.mp-shift-day{border:1px solid #dce5df;border-radius:12px;padding:13px;background:#fff}.mp-shift-day-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px}.mp-shift-day button{border:1px solid #c5d8ce;border-radius:7px;padding:7px 9px;background:#edf7f1;color:#155c41;font-weight:650;cursor:pointer}.mp-shift-day button:disabled{opacity:.5;cursor:wait}.mp-shift-row{display:flex;gap:8px;align-items:end;flex-wrap:wrap;border-top:1px solid #e9efeb;padding:10px 0}.mp-shift-row label{display:flex;flex-direction:column;gap:4px;font-size:12px}.mp-shift-row select{border:1px solid #cbd9d0;border-radius:7px;padding:7px 4px;background:#fff;color:#163c30}.mp-shift-row .mp-shift-enabled{flex-direction:row;align-items:center;padding-bottom:8px}.mp-shift-row .mp-shift-delete{background:#fff1f0;color:#a32222;border-color:#f0c8c4}.mp-shift-empty{color:#6b7770;font-size:13px;margin:8px 0}.mp-shift-add{white-space:nowrap}#mp-shift-feedback{min-height:1.5em;font-weight:600}
/* V27: compact weekly overview and Yemeksepeti-style schedule drawer */
.mp-schedule-section{margin:22px 0 28px;max-width:920px}.mp-schedule-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}.mp-schedule-heading h4{font-size:19px;margin:0}.mp-schedule-edit{border:1px solid #cbd9d0;border-radius:24px;background:#fff;color:#164d39;padding:10px 20px;font-weight:700;cursor:pointer}.mp-schedule-list{border:1px solid #e0e8e3;border-radius:14px;overflow:hidden;background:#fff}.mp-schedule-line{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:15px 18px;border-bottom:1px solid #edf0ed;font-size:14px}.mp-schedule-line:last-child{border-bottom:0}.mp-schedule-line strong{text-align:right;font-weight:650}.mp-schedule-overlay[hidden]{display:none!important}.mp-schedule-overlay{position:fixed;inset:0;z-index:100200;display:flex;justify-content:flex-end}.mp-schedule-shade{position:absolute;inset:0;background:rgba(16,29,23,.52)}.mp-schedule-drawer{position:relative;width:min(540px,100vw);height:100%;background:#fff;display:flex;flex-direction:column;box-shadow:-12px 0 50px #0002;color:#162c22}.mp-schedule-drawer>header{display:flex;justify-content:space-between;align-items:center;padding:25px 28px 18px;border-bottom:1px solid #edf0ed}.mp-schedule-drawer h3{margin:0;font-size:23px}.mp-schedule-drawer button{cursor:pointer}.mp-drawer-close{border:0;background:transparent;font-size:30px;color:#283a31}.mp-schedule-editor{overflow:auto;flex:1;padding:0 28px}.mp-edit-day{padding:20px 0;border-bottom:1px solid #e7ece8}.mp-edit-day-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.mp-edit-day-head strong{font-size:16px}.mp-edit-day-switch{display:flex;gap:9px;align-items:center;font-size:13px}.mp-edit-day-switch input{accent-color:#12834e;width:18px;height:18px}.mp-edit-shift{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:10px 0}.mp-edit-shift select{width:92px;min-width:0;padding:10px 6px;border:1px solid #dce3df;border-radius:9px;background:#fff;color:#1b3026}.mp-edit-shift>button{border:1px solid #e1e5e2;background:#fff;border-radius:9px;padding:9px 10px}.mp-edit-enabled{display:flex;gap:4px;align-items:center;font-size:12px}.mp-edit-enabled input{accent-color:#12834e}.mp-edit-add{border:0;background:transparent;color:#ce2254;font-weight:700;padding:12px 0}.mp-edit-add:disabled{opacity:.4;cursor:not-allowed}.mp-schedule-drawer>footer{border-top:1px solid #e7ece8;padding:14px 28px 22px;display:flex;gap:10px;align-items:center;flex-wrap:wrap}.mp-schedule-drawer>footer p{flex-basis:100%;margin:0;color:#b42318;font-size:13px}.mp-schedule-drawer>footer button{padding:12px 15px;border-radius:9px;border:1px solid #dce5df;background:#fff;font-weight:700}.mp-schedule-drawer>footer #mp-schedule-save{background:#17694c;color:#fff;border-color:#17694c;margin-left:auto}.mp-schedule-drawer>footer #mp-schedule-save:disabled{opacity:.6}.mp-drawer-open{overflow:hidden}@media(max-width:560px){.mp-schedule-editor{padding:0 16px}.mp-schedule-drawer>header,.mp-schedule-drawer>footer{padding-left:16px;padding-right:16px}.mp-edit-shift select{width:76px}.mp-edit-enabled{font-size:11px}}

/* V29: compact red/green day status, no per-shift enabled checkbox */
.mp-edit-day-switch.mp-day-status{position:relative;display:inline-flex;align-items:center;justify-content:center;min-width:90px;min-height:34px;padding:6px 12px;border-radius:20px;font-weight:800;font-size:12px;color:#fff;cursor:pointer;user-select:none;transition:background .15s}.mp-day-status.mp-day-on{background:#14834c}.mp-day-status.mp-day-off{background:#c62e37}.mp-day-status input{position:absolute;inset:0;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}.mp-day-status:focus-within{outline:3px solid #92bce9;outline-offset:2px}

/* V30: always-visible red delete trash icon in shift editor */
.mp-edit-shift>button[data-remove]{display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 38px;width:38px;height:38px;padding:7px!important;color:#c52222!important;background:#fff2f2!important;border:1px solid #f1b5b5!important;border-radius:9px;cursor:pointer}
.mp-edit-shift>button[data-remove]:hover{background:#ffe1e1!important;border-color:#d94444!important}
.mp-edit-shift>button[data-remove] svg{display:block;width:20px;height:20px;stroke:#c52222}
/* V31: compact daily editor and adjacent sliding status switch */
.mp-schedule-drawer{width:min(470px,100vw)}
.mp-schedule-drawer>header{padding:17px 20px 13px}
.mp-schedule-drawer h3{font-size:19px}
.mp-schedule-editor{padding:0 20px}
.mp-edit-day{padding:11px 0 12px}
.mp-edit-day-head{justify-content:flex-start;gap:12px;margin-bottom:7px}
.mp-edit-day-head strong{font-size:14px;min-width:76px}
.mp-edit-day-switch.mp-day-status{min-width:53px;width:53px;height:27px;min-height:27px;padding:0;border-radius:20px;justify-content:initial;box-shadow:inset 0 0 0 1px #0001;transition:background .18s}
.mp-day-status.mp-day-on{background:#13874f}.mp-day-status.mp-day-off{background:#d53c42}
.mp-edit-day-switch.mp-day-status::after{content:'';position:absolute;top:3px;left:3px;width:21px;height:21px;border-radius:50%;background:white;box-shadow:0 1px 3px #0004;transition:transform .18s;pointer-events:none}
.mp-edit-day-switch.mp-day-status.mp-day-on::after{transform:translateX(26px)}
.mp-edit-day-switch.mp-day-status span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.mp-edit-shift{gap:6px;flex-wrap:nowrap;margin:5px 0}
.mp-edit-shift select{width:88px;padding:6px 5px;border-radius:7px;font-size:13px}
.mp-edit-shift>button[data-remove]{width:32px;height:32px;flex-basis:32px;padding:5px!important}
.mp-edit-shift>button[data-remove] svg{width:17px;height:17px}
.mp-edit-add{padding:5px 0 2px;font-size:13px}
.mp-schedule-drawer>footer{padding:10px 20px 13px}
@media(max-width:560px){.mp-schedule-editor{padding:0 14px}.mp-schedule-drawer>header,.mp-schedule-drawer>footer{padding-left:14px;padding-right:14px}.mp-edit-shift select{width:83px}}
/* Online payment provider preview; not active until server integration */
.mp-online-payment select{width:100%;max-width:100%;box-sizing:border-box;padding:11px;border:1px solid #cbd5cf;border-radius:8px;background:#fff;color:#172b23}
.mp-online-payment [hidden]{display:none!important}
.mp-online-status{font-size:13px;font-weight:600;color:#815b1b;background:#fff4d8;padding:10px;border-radius:8px}

/* V34 meal-card settings */
.mp-meal-cards{margin-top:20px}.mp-meal-row{display:flex!important;align-items:center;gap:12px;margin:10px 0!important;cursor:pointer}.mp-meal-row input{width:18px;height:18px;flex-shrink:0}.mp-meal-cards #mp-meal-list{padding:4px 0 10px}.mp-meal-cards #mp-meal-status{font-size:13px;min-height:18px}

.mp-provider-row{display:flex;align-items:center;gap:10px;justify-content:space-between;border:1px solid #d9e2dc;border-radius:10px;padding:12px;margin:8px 0;flex-wrap:wrap}.mp-provider-info{flex:1;min-width:180px}.mp-provider-info strong,.mp-provider-info small{display:block}.mp-provider-info small{margin-top:4px;color:#65746d}.mp-provider-row button{padding:8px 10px}.mp-online-payment form{margin-top:18px}.mp-online-payment input{box-sizing:border-box;width:100%;padding:11px;border:1px solid #cbd5cf;border-radius:8px}
/* V39 waiter call: visible only for a valid table QR URL in public menu */
.mp-waiter-bar{position:fixed;right:14px;bottom:16px;z-index:50;max-width:min(290px,calc(100vw - 28px));background:#fff;border:1px solid #dce5df;border-radius:15px;padding:9px;box-shadow:0 8px 28px #12352630;text-align:center}
.mp-waiter-bar button{width:100%;background:#176b4d;color:#fff;border-radius:10px;padding:13px 18px;font-weight:700}
.mp-waiter-bar button:disabled{opacity:.65;cursor:default}
.mp-waiter-bar p{font-size:12px;color:#244638;margin:5px 2px 0}

/* V40 settlement in table order card */
.mp-v40-settlement{border-top:1px solid #d5e4da;margin-top:14px;padding-top:14px;font-size:14px}
.mp-v40-actions{display:flex;align-items:end;flex-wrap:wrap;gap:10px;margin:12px 0}
.mp-v40-actions label{display:flex;flex-direction:column;gap:5px;font-weight:600}
.mp-v40-actions select{min-width:170px;padding:9px;border:1px solid #cbd8d0;border-radius:8px;background:#fff}
.mp-v40-settlement [data-v40-message]{color:#a52b22;overflow-wrap:anywhere}

.mp-v40-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;border-top:1px solid #e5ded8;padding-top:12px;margin-top:12px}
.mp-v40-inline{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.mp-v40-inline[hidden]{display:none}
.mp-v40-inline .mp-v40-balance{font-weight:700;margin-right:4px}
.mp-v40-inline [data-v40-message]{color:#9c392a;font-size:13px;flex-basis:100%}

/* V41 cari accounts */
.mp-v41-modal{max-width:520px}.mp-v41-modal label{display:block;font-weight:600;margin:12px 0}.mp-v41-modal input,.mp-v41-modal select{display:block;width:100%;box-sizing:border-box;margin-top:5px;padding:11px;border:1px solid #c9d8d0;border-radius:9px;background:#fff;color:#173c2e}.mp-v41-error{color:#b42318;min-height:1em}.mp-v41-hint{font-size:13px;color:#52685c}.mp-v41-customer-list{display:grid;gap:10px}.mp-v41-customer{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:12px;border:1px solid #dce5df;border-radius:10px}.mp-v41-customer>div{flex:1;min-width:160px}.mp-v41-customer small{display:block;color:#5b7266;margin-top:4px}.mp-v41-history-table{width:100%;border-collapse:collapse}.mp-v41-history-table th,.mp-v41-history-table td{text-align:left;padding:10px;border-bottom:1px solid #dce5df}

.mp-v41-match{display:block;width:100%;text-align:left;background:#fff;color:#173c2e;border:1px solid #dce5df;border-radius:9px;padding:10px;margin:6px 0;cursor:pointer}.mp-v41-match small{display:block;color:#52685c;margin-top:4px}.mp-v41-match-selected{outline:2px solid #14775a;background:#eff8f2}.mp-v41-modal [data-v41-matches]{max-height:220px;overflow-y:auto}

.mp-v44-report-grid{display:grid;grid-template-columns:repeat(3,minmax(250px,1fr));gap:14px;align-items:stretch;margin-top:18px}
.mp-v44-report-panel{min-width:0;border:1px solid #dce5df;border-radius:14px;padding:16px;background:#fff;min-height:350px}
.mp-v44-report-panel h3{margin:0 0 14px;font-size:17px}
.mp-v44-report-panel table{width:100%;font-size:13px}
.mp-v44-report-panel th,.mp-v44-report-panel td{padding:9px 5px}
.mp-v44-totals{display:flex;flex-direction:column;gap:8px;margin-top:16px;padding-top:12px;border-top:1px solid #e4e9e6;font-size:13px}
@media(max-width:1100px){.mp-v44-report-grid{grid-template-columns:repeat(2,minmax(260px,1fr))}}
@media(max-width:720px){.mp-v44-report-grid{grid-template-columns:1fr}}

.mp-cf-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:16px 0}.mp-cf-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.mp-cf-grid label{display:block;margin:8px 0}.mp-cf-grid input,.mp-cf-grid select{width:100%;box-sizing:border-box;padding:9px}.mp-cf-table-wrap{overflow-x:auto}@media(max-width:850px){.mp-cf-grid,.mp-cf-fields{grid-template-columns:1fr}}

/* V46 phone order workspace */
.mp-v46-shell{display:grid;gap:18px}.mp-v46-head{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}.mp-v46-head h2{margin:0 0 6px}.mp-v46-head p{margin:0}.mp-v46-state{padding:9px 12px;border:1px solid #cddbd1;border-radius:24px;font-size:12px}.mp-v46-layout{display:grid;grid-template-columns:1fr 1fr;gap:16px}.mp-v46-shell .card{padding:20px;min-width:0}.mp-v46-shell label{display:block;margin:10px 0;font-weight:600}.mp-v46-shell input,.mp-v46-shell textarea{display:block;width:100%;margin-top:6px}.mp-v46-search{display:flex;align-items:end;gap:8px}.mp-v46-search input{flex:1;min-width:0}.mp-v46-hint{font-size:13px;color:#536e5c}.mp-v46-match{display:block;width:100%;text-align:left;margin:8px 0;padding:12px;background:#f5faf6;color:#183f2c;border:1px solid #cbded0;border-radius:9px}.mp-v46-match small{display:block;margin-top:5px}.mp-v46-shell #mp-v46-selected{margin:12px 0;font-weight:600}@media(max-width:800px){.mp-v46-layout{grid-template-columns:1fr}.mp-v46-search{flex-wrap:wrap}}

.mp-v47-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;margin:14px 0}.mp-v47-product{display:flex;justify-content:space-between;gap:12px;width:100%;text-align:left;margin-bottom:7px;padding:10px;border:1px solid #dce6df;border-radius:8px;background:#fff;color:#123b2c;cursor:pointer}.mp-v47-line{display:flex;align-items:center;gap:8px;padding:8px 0;border-bottom:1px solid #e7ece9}.mp-v47-line span{flex:1}.mp-v47-line button{padding:4px 10px}.mp-v47-grid textarea{width:100%}@media(max-width:750px){.mp-v47-grid{grid-template-columns:1fr}}

/* V48 - phone-order quick menu overlay */
.mp-v48-modal[hidden],#mp-v47-builder[hidden]{display:none!important}
.mp-v48-modal{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;padding:18px}
.mp-v48-backdrop{position:absolute;inset:0;background:rgba(10,25,21,.65)}
.mp-v48-dialog{position:relative;width:min(1120px,96vw);height:min(790px,94vh);display:flex;flex-direction:column;background:#f7faf8;border-radius:16px;box-shadow:0 25px 90px #0005;overflow:hidden}
.mp-v48-header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 22px;background:#146b50;color:white}
.mp-v48-header h2{margin:0;font-size:21px;color:white}.mp-v48-header p{margin:5px 0 0;font-size:13px;color:#e2f5eb}
.mp-v48-close{font-size:22px;min-width:40px;background:#ffffff2b!important;color:white!important;border:1px solid #ffffff50!important}
.mp-v48-body{overflow:auto;flex:1;min-height:0;padding:18px 22px}
.mp-v48-body .mp-v47-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:18px}
.mp-v48-body .mp-v47-grid>div{min-width:0}.mp-v48-body #mp-v47-products{max-height:490px;overflow:auto}
.mp-v48-footer{padding:12px 22px;display:flex;justify-content:flex-end;gap:10px;background:#fff;border-top:1px solid #dce5df}
.mp-v48-warning{color:#8a5111;font-size:12px;margin-top:12px}
.mp-v48-modal-open{overflow:hidden}
@media(max-width:760px){.mp-v48-modal{padding:4px}.mp-v48-dialog{width:100vw;height:98vh;border-radius:9px}.mp-v48-body .mp-v47-grid{grid-template-columns:1fr}.mp-v48-body{padding:12px}.mp-v48-header{padding:12px}}

.mp-v49-editor{border:2px solid #187054;background:#f8fcfa;border-radius:12px;padding:14px;margin:12px 0}.mp-v49-editor fieldset{border:1px solid #d5e4dc;border-radius:9px;padding:10px;margin:10px 0}.mp-v49-editor fieldset label{display:block;margin:7px 0;font-weight:normal}.mp-v49-editor input[type=checkbox],.mp-v49-editor input[type=radio]{width:auto;margin-right:7px}.mp-v49-actions{display:flex;gap:8px;justify-content:flex-end}.mp-v47-line small{display:block;color:#526b60;margin-top:4px}#mp-v49-error{color:#a43d30}
#mp-v50-map{height:235px;border:1px solid #cdd9d1;border-radius:10px;margin:10px 0;z-index:0} .mp-v50-delivery{margin-top:16px;padding:12px;border:1px solid #dce6df;border-radius:12px} .mp-v50-delivery textarea{width:100%} .mp-v50-delivery h4{margin:0 0 10px}

/* V51 - Address lookup */
.mp-v51-address-search{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:10px 0}.mp-v51-address-search button{background:#146f55;color:white;border:0;border-radius:8px;padding:10px 14px;cursor:pointer}.mp-v51-address-search button:disabled{opacity:.5;cursor:wait}#mp-v51-search-status{font-size:12px;color:#475569}#mp-v51-candidates{display:grid;gap:6px;margin:8px 0}#mp-v51-candidates[hidden]{display:none}.mp-v51-candidate{width:100%;text-align:left;white-space:normal;background:#fff;color:#1e293b;border:1px solid #d1d5db;border-radius:8px;padding:9px;cursor:pointer;font-size:13px}.mp-v51-candidate:hover,.mp-v51-selected{border-color:#147d5e;background:#e9f8f0}

/* V53 - WhatsApp konum talebi */
.mp-v53-share{padding:12px;border:1px solid #b9d8c7;background:#edf8f1;border-radius:10px;margin:12px 0;display:grid;gap:9px}.mp-v53-share>button{justify-self:start;background:#166b50;color:white}.mp-v53-share span{font-size:13px;color:#27523d}.mp-v53-share #mp-v53-link{display:flex;gap:7px;flex-wrap:wrap}.mp-v53-share #mp-v53-link[hidden]{display:none}.mp-v53-share input{flex:1;min-width:160px;font-size:12px}.mp-v53-share #mp-v53-link button{padding:9px 11px}.mp-v53-share button:disabled{opacity:.5}

/* V54 - MenuPilot custom confirmation for phone order */
.mp-v54-confirm-overlay{position:fixed;inset:0;z-index:100500;background:rgba(8,29,22,.67);display:flex;align-items:center;justify-content:center;padding:16px;box-sizing:border-box}
.mp-v54-confirm-card{width:min(490px,100%);max-height:min(90vh,760px);overflow:auto;background:#fff;border-radius:18px;box-shadow:0 28px 85px #0005;color:#19392d}
.mp-v54-confirm-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#146b50;padding:18px 22px;color:white}.mp-v54-confirm-heading h2{margin:0;color:white;font-size:20px}.mp-v54-close{background:#ffffff24;border:1px solid #ffffff60;color:white;border-radius:9px;min-width:38px;height:38px;font-size:26px;cursor:pointer}
.mp-v54-confirm-content{padding:20px 22px 10px}.mp-v54-confirm-content>p:first-child{margin:0 0 17px;line-height:1.55;color:#465f53;font-size:14px}
.mp-v54-summary{margin:0;background:#f4f8f5;border:1px solid #e0e9e2;border-radius:12px;padding:4px 13px}.mp-v54-summary>div{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;padding:11px 0;border-bottom:1px solid #e0e9e2}.mp-v54-summary>div:last-child{border:0}.mp-v54-summary dt{color:#64796e;font-size:13px;flex:0 0 112px}.mp-v54-summary dd{margin:0;font-size:14px;font-weight:650;text-align:right;overflow-wrap:anywhere}
.mp-v54-confirm-note{color:#886019;font-size:12px;margin:13px 0 0}.mp-v54-confirm-actions{padding:17px 22px 22px;display:flex;justify-content:flex-end;gap:10px}.mp-v54-confirm-actions button{border:0;border-radius:9px;padding:12px 18px;font-weight:700;cursor:pointer}.mp-v54-cancel{background:#e9f0eb;color:#245440}.mp-v54-approve{background:#146b50;color:white}
@media(max-width:480px){.mp-v54-confirm-actions button{flex:1}.mp-v54-confirm-heading{padding:14px 16px}.mp-v54-confirm-content{padding:16px}.mp-v54-confirm-actions{padding:14px 16px 18px}}

/* V58 - phone history */
.mp-v58-history{padding:12px;border:1px solid #d7e5dd;border-radius:12px;background:#f4faf6;margin-bottom:14px}
.mp-v58-history h4{margin:0 0 8px}.mp-v58-history strong{display:block;margin:12px 0 6px}
#mp-v58-addresses button{display:block;max-width:100%;white-space:normal;text-align:left;margin:5px 0;padding:7px 10px;font-size:12px}
.mp-v58-order{border-top:1px solid #d6e3da;padding:8px 0}.mp-v58-order p{margin:2px 0 7px;font-weight:600}
.mp-v58-line{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:4px 0;font-size:13px}.mp-v58-line button{padding:5px 9px;font-size:12px}

/* V59 - cancellation confirmation uses existing MenuPilot modal design */
.mp-payment-modal[role="alertdialog"] .mp-payment-modal-icon{font-size:32px}
.mp-v41-history-table tr:has(td:nth-child(2)) td{vertical-align:middle}

/* V59: Cari hareketlerde iptal satırının tamamını belirginleştir. */
.mp-v41-history-table tr.mp-v59-cancelled-movement td { color: #b42318; font-weight: 700; }

/* V59: Tahsilat hareketleri yesil; iptal hareketleri kirmizi kalir. */
.mp-v41-history-table tr.mp-v59-receipt-movement td { color: #147d50; font-weight: 700; }

.mp601-row{display:grid;grid-template-columns:minmax(120px,3fr) minmax(80px,1fr) 100px auto;gap:12px;align-items:end;border-bottom:1px solid #dce5df;padding:8px 0}.mp601-row label{margin:0}.mp601-switch,input[type=checkbox][name=active],input[type=checkbox][name=is_available],input.mp-table-active{appearance:none!important;display:inline-block!important;position:relative!important;width:54px!important;height:28px!important;min-width:54px;padding:0!important;border:0!important;border-radius:20px!important;background:#dc2626!important;cursor:pointer;vertical-align:middle}.mp601-switch:checked,input[type=checkbox][name=active]:checked,input[type=checkbox][name=is_available]:checked,input.mp-table-active:checked{background:#16a34a!important}.mp601-switch:before,input[type=checkbox][name=active]:before,input[type=checkbox][name=is_available]:before,input.mp-table-active:before{content:'';position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:white;transition:transform .15s}.mp601-switch:checked:before,input[type=checkbox][name=active]:checked:before,input[type=checkbox][name=is_available]:checked:before,input.mp-table-active:checked:before{transform:translateX(26px)}.mp601-button-switch{background:#dc2626!important;border-radius:24px!important}.mp601-button-switch[aria-checked=true]{background:#16a34a!important}.mp601-button-switch:before{content:'';display:inline-block;background:white;border-radius:50%;width:18px;height:18px;margin-right:8px;vertical-align:middle}.mp601-button-switch[aria-checked=true]:before{float:right;margin:0 0 0 8px}.mp601-switch:focus-visible,.mp601-button-switch:focus-visible{outline:3px solid #2563eb;outline-offset:3px}@media(max-width:600px){.mp601-row{grid-template-columns:1fr 1fr}.mp601-row label:first-child{grid-column:1/-1}}

/* V60.2 compact option editor */
#option-group-form{max-width:980px}#option-group-form .mp602-settings{display:grid;grid-template-columns:2fr 1.2fr .8fr 1.3fr;gap:12px;align-items:end}#option-group-form .mp602-settings label{margin:0}#option-group-form .mp602-settings input,#option-group-form .mp602-settings select{height:36px;padding:6px 9px;margin:4px 0 0;font-size:14px}#option-group-form h3{margin:16px 0 8px}.mp602-table{max-height: min(52vh,560px);overflow:auto;border:1px solid #dce5df;border-radius:8px;background:white}.mp602-head,#option-group-form .mp601-row{display:grid;grid-template-columns:minmax(100px,1fr) 100px 100px 64px;gap:8px;align-items:center;padding:3px 8px}.mp602-head{position:sticky;top:0;z-index:2;background:#e6efe9;font-size:12px;font-weight:700;min-height:32px}.mp602-head span:nth-child(n+3){text-align:center}#option-group-form .mp601-row{min-height:38px;border-bottom:1px solid #e4eae6}#option-group-form .mp601-row label{margin:0;min-width:0;grid-column:auto}#option-group-form .mp601-row label:nth-child(3){display:flex;justify-content:center}#option-group-form .mp601-name,#option-group-form .mp601-price{height:32px;box-sizing:border-box;padding:4px 8px;margin:0;font-size:14px;width:100%}#option-group-form .mp601-switch{margin:0!important}#option-group-form .mp601-remove{padding:4px 8px;height:30px;font-size:12px;margin:0;background:#b42318} .mp602-tools{display:flex;gap:12px;align-items:flex-start;margin:10px 0}.mp602-tools details{flex:1;min-width:0}.mp602-tools summary{cursor:pointer;padding:8px 0;font-weight:600}.mp602-tools textarea{margin:4px 0}.mp602-actions{display:flex;gap:8px;position:sticky;bottom:0;background:#f1f5f2;padding:8px 0;z-index:3}#mp601-status:empty{display:none}@media(max-width:650px){#option-group-form .mp602-settings{grid-template-columns:1fr 1fr}.mp602-head,#option-group-form .mp601-row{grid-template-columns:minmax(100px,1fr) 65px 65px 42px;gap:4px;padding:3px 4px}.mp602-head{font-size:10px}#option-group-form .mp601-remove{padding:3px}.mp602-tools{flex-wrap:wrap}.mp602-tools details{min-width:160px}}

.mp603-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:12px 0 8px}.mp603-heading h3{margin:0!important}.mp603-heading button{padding:6px 12px;margin:0;font-size:13px}.mp603-grip{display:none!important}.mp603-sorting .mp601-row label:first-child{display:flex;align-items:center;gap:6px}.mp603-sorting .mp603-grip{display:block!important;flex:0 0 28px;padding:0;margin:0;height:30px;background:#e6efe9;color:#166549;font-size:22px;cursor:grab;touch-action:none;user-select:none}.mp603-sorting .mp601-name{min-width:0}.mp603-dragging{background:#d4ebdd!important;outline:2px solid #16834a;outline-offset:-2px}.mp603-dragging .mp603-grip{cursor:grabbing}#mp603-help{font-size:13px;margin:4px 0 8px;color:#475b50}
/* V60.5 floating full-row drag preview */
.mp605-ghost{position:fixed!important;top:0;left:0;z-index:99999;pointer-events:none!important;box-sizing:border-box;display:grid;gap:8px;align-items:center;padding:3px 8px!important;background:#e1f4e7!important;border:1px solid #16834a!important;border-radius:7px;box-shadow:0 8px 24px #123c3450;opacity:.97;margin:0!important;will-change:transform}.mp605-ghost label{margin:0;min-width:0;grid-column:auto!important}.mp605-ghost label:first-child{display:flex;align-items:center;gap:6px}.mp605-ghost label:nth-child(3){display:flex;justify-content:center}.mp605-ghost .mp603-grip{display:block!important;flex:0 0 28px;height:30px;padding:0;margin:0;background:#cce8d5;color:#166549;font-size:22px}.mp605-ghost .mp601-name,.mp605-ghost .mp601-price{height:32px;box-sizing:border-box;padding:4px 8px;margin:0;font-size:14px;width:100%;min-width:0}.mp605-ghost .mp601-switch{margin:0!important}.mp605-ghost .mp601-remove{height:30px;padding:4px 8px;margin:0;font-size:12px;background:#b42318}.mp605-placeholder{background:#dceee2!important;outline:1px dashed #16834a!important;outline-offset:-2px}.mp605-placeholder>*{visibility:hidden}
.mp606-toolbar{display:flex;gap:10px;align-items:center;margin:12px 0;flex-wrap:wrap}.mp606-toolbar input{max-width:300px;margin:0}.mp606-listwrap{max-height:65vh;overflow:auto;border:1px solid #dce5df;border-radius:9px;background:white}.mp606-head,.mp606-row{display:grid;grid-template-columns:minmax(0,1fr) 120px 90px;gap:10px;align-items:center;padding:5px 12px}.mp606-head{position:sticky;top:0;background:#e6efe9;z-index:2;font-size:13px;font-weight:700}.mp606-row{border-top:1px solid #e4eae6;min-height:48px}.mp606-row[hidden]{display:none}.mp606-name{display:flex;align-items:center;min-width:0;gap:6px}.mp606-open{display:flex;align-items:center;gap:10px;background:transparent!important;color:#173b2d!important;text-align:left;padding:0!important;min-width:0}.mp606-open img{width:40px;height:40px;object-fit:cover;border-radius:6px}.mp606-price{margin:0!important;height:34px;padding:4px 8px!important}.mp606-dirty{background:#fff4c2!important}.mp606-grip{display:none!important;touch-action:none;cursor:grab;padding:3px 8px!important;background:#e6efe9!important;color:#166549!important}.mp606-sorting .mp606-grip,.mp606-ghost .mp606-grip{display:block!important}.mp606-ghost{position:fixed;top:0;left:0;z-index:99999;pointer-events:none;background:#e1f4e7;border:1px solid #16834a;border-radius:8px;box-shadow:0 8px 24px #123c3450;box-sizing:border-box}.mp606-backdrop{position:fixed;inset:0;background:#102a2240;z-index:9000}.mp606-panel{position:fixed;right:0;top:0;bottom:0;width:min(480px,100vw);overflow:auto;background:white;z-index:9001;padding:22px;box-sizing:border-box;box-shadow:-8px 0 30px #0002}.mp606-panel h2{margin-top:0}.mp606-panel form{max-width:none}.mp606-panel #mp606-preview{height:160px;background:#edf3ef;display:flex;align-items:center;justify-content:center;border-radius:10px;overflow:hidden}.mp606-panel #mp606-preview img{width:100%;height:100%;object-fit:contain}.mp606-group{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:5px;border-bottom:1px solid #ddd}.mp606-group button,#mp606-picker button{padding:5px 9px;margin:4px}.mp606-delete{background:#b42318!important;margin-top:10px}.mp606-panel details{margin:8px 0}.mp606-panel summary{cursor:pointer}@media(max-width:600px){.mp606-head,.mp606-row{grid-template-columns:minmax(0,1fr) 80px 60px;gap:5px;padding:5px}.mp606-open img{width:30px;height:30px}}

.mp-website-source{display:inline-block;margin-inline-start:8px;padding:3px 7px;border-radius:5px;background:#e0edff;color:#174b86;font-size:11px;font-weight:700;vertical-align:middle;white-space:nowrap;}
