/* Gilly's Administrator — redesigned. All selectors are ga-prefixed; customer styles are untouched. */
:root{--ga-maroon:#780600;--ga-dark:#3a0806;--ga-red:#b61714;--ga-cream:#fbf5ee;--ga-ink:#2a2220;--ga-line:#eadfd6;--ga-muted:#7a6e69;--ga-card:#fff;--ga-gold:#e4a62c;--ga-shadow:0 1px 2px #4a1a1410,0 8px 24px -12px #4a1a1430;--ga-r: 0px}
body.ga-mode{margin:0;background:var(--ga-cream);color:var(--ga-ink);font-family:'DM Sans',Arial,sans-serif;font-size:14px;-webkit-font-smoothing:antialiased}
.ga-mode #app{min-height:100vh}.ga-mode #app>*:not(.ga-layout):not(.ga-login-page){display:none!important}.ga-mode *{box-sizing:border-box}
.ga-mode h1,.ga-mode h2,.ga-mode h3{text-transform:none;font-family:'DM Sans',Arial,sans-serif;letter-spacing:-.025em;color:var(--ga-ink)}
.ga-mode h1{font-size:clamp(26px,3vw,34px);font-weight:800;margin:0 0 6px}.ga-mode h2{font-size:18px;font-weight:800;margin:0}.ga-mode h3{font-size:14px;font-weight:800;margin:20px 0 10px}
.ga-mode p{margin:0;color:var(--ga-muted);line-height:1.6}.ga-mode a{text-decoration:none;color:inherit}.ga-mode button{cursor:pointer;font-family:inherit}
.ga-mode :is(button,a,input,select):focus-visible{outline:3px solid var(--ga-gold);outline-offset:2px}
.ga-mode .ga-eyebrow{font-size:10px;color:var(--ga-red);letter-spacing:.16em;font-weight:900;margin-bottom:6px}
.ga-layout{display:grid;grid-template-columns:264px minmax(0,1fr);min-height:100vh}
.ga-sidebar{position:sticky;top:0;height:100vh;background:radial-gradient(120% 60% at 0% 0%,#7a1410 0,transparent 60%),linear-gradient(180deg,#5a0b08,var(--ga-dark));color:#fff3e8;display:flex;flex-direction:column;gap:26px;padding:26px 16px;overflow-y:auto}
.ga-brand,.ga-login-brand{display:flex;align-items:center;gap:12px}.ga-brand{padding:0 8px}
.ga-brand-logo{width:56px;height:56px;object-fit:contain;flex:none;background:transparent;border-radius: 0px;padding:0}
.ga-brand-text{display:flex;flex-direction:column;gap:2px;min-width:0}.ga-brand-text b{font:normal 40px/1 'Sacramento',cursive;white-space:nowrap;color:inherit;text-transform:lowercase}.ga-brand-text small{letter-spacing:.02em;font-size:10px;font-weight:700;color:#e8c7b8;white-space:nowrap;text-transform:none}
.ga-nav{display:grid;gap:4px}.ga-nav>a,.ga-nav>button{display:flex;gap:12px;align-items:center;padding:12px 14px;background:transparent;color:#ecd8cc;text-align:left;font-size:13px;font-weight:700;border:0;border-radius: 0px;width:100%;transition:background .15s,color .15s}
.ga-nav svg{width:19px;height:19px;flex:none;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.ga-nav>:hover{background:#ffffff14;color:#fff}.ga-nav>.ga-active{background:var(--ga-cream);color:var(--ga-maroon);box-shadow:0 6px 16px -8px #000a}
.ga-nav>.ga-active:hover{background:var(--ga-cream);color:var(--ga-maroon)}.ga-nav>button{margin-top:6px;border-top:1px solid #ffffff1c;border-radius: 0px;padding-top:16px}
.ga-sidefoot{margin-top:auto;padding:14px 10px 4px;border-top:1px solid #ffffff1c}.ga-sidefoot p{font-size:10px;color:#e0c2b7;margin-top:8px}
.ga-workspace{min-width:0}.ga-topline{position:sticky;top:0;z-index:20;background:#fbf5eecc;backdrop-filter:blur(10px);border-bottom:1px solid var(--ga-line);display:flex;justify-content:space-between;gap:14px;padding:14px 34px;font-size:10px;letter-spacing:.1em;font-weight:800;color:var(--ga-muted);text-transform:uppercase}
.ga-main{max-width:1480px;margin:0 auto;padding:32px 34px 80px}.ga-pagehead{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:22px}.ga-pagehead>div>p:last-child{font-size:13px}
.ga-info{font-size:12px;line-height:1.55;background:#fff8e6;border:1px solid #f1deb0;border-radius: 0px;color:#715334;padding:11px 16px;margin-bottom:22px}.ga-info strong{color:#6e4c23}
.ga-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:24px}
.ga-stat{position:relative;overflow:hidden;border:1px solid var(--ga-line);border-radius: 0px;background:var(--ga-card);box-shadow:var(--ga-shadow);padding:18px 18px 16px 22px;min-width:0;display:flex;flex-direction:column;gap:8px;--c:var(--ga-red)}
.ga-stat::before{content:"";position:absolute;inset:0 auto 0 0;width:5px;background:var(--c)}
.ga-stat>span{font-size:11px;color:var(--ga-muted);font-weight:700;text-transform:uppercase;letter-spacing:.05em}.ga-stat strong{font-size:clamp(24px,2.2vw,32px);font-weight:900;line-height:1.1;color:var(--ga-ink);white-space:nowrap}.ga-stat small{font-size:10px;color:var(--ga-muted)}
.ga-stat[data-k=pending]{--c:#d9a21b}.ga-stat[data-k=confirmed]{--c:#3b78c0}.ga-stat[data-k=preparing]{--c:#e07a1f}.ga-stat[data-k=out-for-delivery]{--c:#7a5cc4}.ga-stat[data-k=delivered]{--c:#2e9461}.ga-stat[data-k=cancelled]{--c:#a53030}
.ga-stats>.ga-stat:is([data-k=total-orders],[data-k=delivered-sales]){background:linear-gradient(135deg,#8a0c07,#5a0b08);border-color:transparent;color:#fff}
.ga-stats>.ga-stat:is([data-k=total-orders],[data-k=delivered-sales])::before{background:var(--ga-gold)}.ga-stats>.ga-stat:is([data-k=total-orders],[data-k=delivered-sales])>*{color:#fff}.ga-stats>.ga-stat:is([data-k=total-orders],[data-k=delivered-sales])>span,.ga-stats>.ga-stat:is([data-k=total-orders],[data-k=delivered-sales])>small{color:#f3d9cc}
.ga-revenue .ga-stat strong{color:var(--ga-maroon)}
.ga-panel{background:var(--ga-card);border:1px solid var(--ga-line);border-radius: 0px;box-shadow:var(--ga-shadow);margin-bottom:24px;overflow:hidden}.ga-panelhead{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:20px 24px;border-bottom:1px solid var(--ga-line)}
.ga-count{background:#f8e6e1;color:var(--ga-maroon);padding:2px 10px;border-radius: 0px;font-size:12px;vertical-align:middle;margin-left:6px}
.ga-table-wrap{overflow-x:auto;max-width:100%}.ga-table{width:100%;border-collapse:collapse;min-width:640px}.ga-table th:first-child,.ga-table td:first-child{padding-left:20px}.ga-table th:last-child,.ga-table td:last-child{padding-right:20px}.ga-table th{text-align:left;background:#fbf7f3;color:var(--ga-muted);font-size:10px;text-transform:uppercase;letter-spacing:.05em;padding:12px 10px;white-space:nowrap}
.ga-table td{border-top:1px solid #f2eae4;padding:13px 10px;font-size:12px;vertical-align:top}.ga-table tbody tr:hover{background:#fdf8f3}.ga-table td b{font-weight:800}.ga-table td small{display:block;font-size:10px;color:var(--ga-muted);margin-top:4px;max-width:250px;overflow-wrap:anywhere}
.ga-table td.ga-empty{color:var(--ga-muted);text-align:center;padding:44px 12px}.ga-ref{color:var(--ga-maroon);font-size:11px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.ga-amount{white-space:nowrap;font-weight:800}
.ga-status{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:800;padding:5px 11px;border-radius: 0px;color:#4d4241;background:#f3efec;white-space:nowrap}.ga-status::before{content:"";width:7px;height:7px;border-radius: 0px;background:currentColor}
.ga-status-pending{background:#fff3d2;color:#8a6212}.ga-status-confirmed{background:#e3eefc;color:#245a96}.ga-status-preparing{background:#ffe9d3;color:#a8530d}.ga-status-out-for-delivery{background:#ece6fb;color:#5a45a5}.ga-status-delivered{background:#dff3e8;color:#1f7a4c}.ga-status-cancelled{background:#f8e1e1;color:#9a2a2a}
.ga-text-btn{border:0;background:#fbeceb;color:var(--ga-maroon)!important;border-radius: 0px;font-size:11px;font-weight:800;padding:6px 11px;white-space:nowrap}.ga-text-btn:hover{background:#f6d9d6;text-decoration:none}
.ga-btn{padding:11px 17px;min-height:42px;border-radius: 0px;font-size:12px;font-weight:800;border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;gap:7px;line-height:1.3;transition:transform .1s,filter .15s}.ga-btn:active{transform:translateY(1px)}
.ga-btn.ga-primary{background:linear-gradient(180deg,#c21d19,#a21310);color:#fff;box-shadow:0 6px 14px -8px #a21310}.ga-btn.ga-outline{border-color:var(--ga-maroon);background:#fff;color:var(--ga-maroon)}.ga-btn.ga-ghost{background:#fff;border-color:var(--ga-line);color:var(--ga-maroon)}.ga-btn:hover{filter:brightness(.95)}
.ga-filters{display:grid;grid-template-columns:minmax(240px,2fr) repeat(3,minmax(130px,1fr));gap:14px;padding:18px 24px;background:#fdfaf7;border-bottom:1px solid var(--ga-line)}
.ga-filters label,.ga-login-body label{font-size:11px;font-weight:800;color:#574c48;display:grid;gap:7px}.ga-filters :is(input,select),.ga-login-body input{background:#fff;border:1px solid #dccfc7;border-radius: 0px;padding:11px 12px;color:var(--ga-ink);min-width:0;width:100%;font:inherit;font-size:13px}
.ga-duo{display:grid;grid-template-columns:1fr 1fr;gap:22px}.ga-duo>.ga-panel{min-width:0}.ga-bar-line{display:grid;grid-template-columns:112px minmax(0,1fr) 35px;align-items:center;gap:14px;margin:18px 24px;font-size:12px}.ga-bar-bg{background:#f6e9e3;height:12px;border-radius: 0px;overflow:hidden}.ga-bar-bg>div{background:linear-gradient(90deg,#b61714,#e0603a);height:100%;border-radius: 0px}.ga-bar-line strong{text-align:right}.ga-muted{color:var(--ga-muted);font-size:12px;margin:14px 24px!important}
.ga-modal-backdrop{position:fixed;z-index:500;inset:0;background:#2011119e;backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center;padding:18px}.ga-modal{background:#fff;width:min(980px,100%);max-height:96vh;display:flex;flex-direction:column;border-radius: 0px;overflow:hidden;box-shadow:0 30px 90px #0007}
.ga-modal-head{padding:22px 30px;background:linear-gradient(135deg,#fbf0e6,#fff);border-bottom:1px solid var(--ga-line);display:flex;justify-content:space-between;gap:15px;align-items:start}.ga-modal-head h2{margin:0 0 6px;font-size:22px;color:var(--ga-maroon)}
.ga-close{border:1px solid #e7ddda;border-radius: 0px;font-size:24px;width:36px;height:36px;background:#fff}.ga-modal-scroll{padding:10px 30px 24px;overflow-y:auto}.ga-modal-scroll .ga-table{min-width:550px}.ga-modal-scroll .ga-muted{margin-left:0!important}
.ga-details-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;padding:14px 0;border-bottom:1px solid var(--ga-line)}.ga-details-grid p{font-size:12px}.ga-modal-scroll h3{color:var(--ga-maroon)}.ga-custom{font:11px/1.5 monospace;max-width:300px;white-space:pre-wrap;overflow-wrap:anywhere;background:#faf6f3;border-radius: 0px;padding:10px}
.ga-modal-footer{padding:14px 30px;border-top:1px solid var(--ga-line);display:flex;gap:10px;justify-content:flex-end;background:#fdfaf7}
.ga-price{border:1px solid var(--ga-line);border-radius: 0px;overflow:hidden}.ga-price>div{padding:11px 15px;display:flex;justify-content:space-between;gap:13px;border-bottom:1px solid var(--ga-line);font-size:12px}.ga-price>div:last-child{border-bottom:0}.ga-price-total{background:#fff1ec;color:var(--ga-maroon);font-weight:800;font-size:15px!important}
.ga-status-actions{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.ga-timeline{list-style:none;margin:10px 0;padding:0 0 0 18px;border-left:2px solid #efd9d3}.ga-timeline li{position:relative;margin-bottom:12px;font-size:12px;padding-left:10px}.ga-timeline li::before{content:"";position:absolute;left:-24px;top:3px;width:10px;height:10px;border-radius: 0px;background:var(--ga-red);border:2px solid #fff}.ga-timeline small{display:block;color:var(--ga-muted);margin-top:3px}
.ga-login-page{position:relative;min-height:100vh;background:radial-gradient(70% 60% at 15% 10%,#9a1510 0,transparent 60%),radial-gradient(60% 50% at 90% 95%,#e4a62c33 0,transparent 60%),linear-gradient(160deg,#5a0b08,#2d0504);display:grid;place-items:center;padding:55px 17px}
.ga-login-panel{width:min(460px,100%);background:var(--ga-cream);border-radius: 0px;overflow:hidden;box-shadow:0 30px 80px #0008}.ga-login-brand{background:linear-gradient(135deg,#8a0c07,#5a0b08);color:#fff;padding:22px 26px}.ga-login-brand .ga-brand-logo{width:58px;height:58px}.ga-login-brand .ga-smallcap{margin-left:auto;color:#f0cfc2;font-size:9px;letter-spacing:.12em;font-weight:800}
.ga-login-body{padding:28px 32px 32px}.ga-login-body>p:not(.ga-eyebrow){margin-bottom:20px}.ga-login-body form{display:grid;gap:18px}.ga-login-back{position:absolute;top:18px;left:22px;color:#fff!important;font-size:13px;font-weight:700}.ga-login-body .ga-full{width:100%}.ga-error{color:#b00000!important;font-size:12px}.ga-note{margin-top:22px;font-size:11px;line-height:1.6;background:#fff8e6;border-radius: 0px;padding:12px;color:#6e5132}.ga-note strong{color:#6e5132}
.ga-print-sheet{display:none}.g-admin-footer-link{font-size:11px;opacity:.8}
.ga-repeat{display:inline-block;margin-left:6px;padding:2px 8px;border-radius: 0px;background:#fbeceb;color:#780600;font-size:10px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;vertical-align:middle}
.ga-acct-wrap{padding:20px 24px}.ga-acct-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px;align-items:end}.ga-acct-form label{display:grid;gap:6px;font-size:12px;font-weight:700;color:#5b4a46}.ga-acct-form :is(input,select){padding:11px 12px;border:1px solid #dccfc7;border-radius: 0px;font:inherit;background:#fff}.ga-acct-form .ga-error{grid-column:1/-1;margin:0}
@media(max-width:1050px){.ga-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.ga-filters{grid-template-columns:1fr 1fr}.ga-duo{grid-template-columns:1fr}}
@media(max-width:860px){.ga-layout{grid-template-columns:1fr}.ga-sidebar{position:static;height:auto;flex-direction:row;align-items:center;padding:12px 16px;gap:10px}.ga-sidefoot{display:none}.ga-brand-logo{width:44px;height:44px}.ga-brand-text b{font-size:34px}
.ga-sidebar .ga-nav{position:fixed;z-index:60;left:0;right:0;bottom:0;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:2px;background:#fff;border-top:1px solid var(--ga-line);padding:6px 6px calc(6px + env(safe-area-inset-bottom,0px));box-shadow:0 -8px 24px -12px #4a1a1450}
.ga-nav>a,.ga-nav>button{flex-direction:column;gap:3px;padding:8px 2px;font-size:9px;text-align:center;justify-content:center;color:var(--ga-muted);border-radius: 0px}.ga-nav>:hover{background:#f7efe9;color:var(--ga-maroon)}.ga-nav>.ga-active,.ga-nav>.ga-active:hover{background:#fbeceb;box-shadow:none}.ga-nav>button{margin:0;border:0;padding-top:8px}.ga-nav>a:not([data-admin-nav]){display:none}
.ga-main{padding:22px 15px 110px}.ga-topline{padding:11px 15px}.ga-pagehead{flex-wrap:wrap}.ga-panelhead,.ga-filters{padding:15px}.ga-stats{gap:10px}.ga-stat{padding:14px 14px 13px 18px}.ga-stat strong{font-size:22px}.ga-details-grid{grid-template-columns:1fr;gap:8px}.ga-modal-scroll,.ga-modal-head,.ga-modal-footer{padding-left:16px;padding-right:16px}}
@media(max-width:390px){.ga-filters{grid-template-columns:1fr}.ga-login-body{padding:22px}.ga-login-brand{padding:16px}.ga-nav>a,.ga-nav>button{font-size:8px}}
@media print{body.ga-mode{background:#fff!important;}body.ga-mode>*:not(.ga-print-sheet){display:none!important;} .ga-print-sheet{display:block!important;padding:10mm 10mm;color:#292121;font:12px Arial,sans-serif;}.ga-print-sheet *{color:inherit!important;background:#fff!important;box-shadow:none!important;}.ga-print-sheet .ga-print-title{display:flex;justify-content:space-between;border-bottom:2px solid #800000;padding-bottom:20px;align-items:center;}.ga-print-sheet .ga-brand-logo{width:75px;}.ga-print-sheet .ga-brand-text b{font-size:40px;color:#800000!important;}.ga-print-sheet h1{font-size:22px;}.ga-print-sheet .ga-table{min-width:0;}.ga-print-sheet .ga-table td,.ga-print-sheet .ga-table th{border:1px solid #ddd;}.ga-print-sheet pre{white-space:pre-wrap;}.ga-print-sheet .ga-price>div{padding:7px 0;}}

/* Selective reference integration: keep the Gilly's palette and operations
   UI, while adopting the redesign's quieter surfaces, rounded navigation,
   and clearer scannability. */
:root { --ga-r:14px; --ga-r-sm:10px; --ga-shadow:0 1px 2px rgba(58,8,6,.06),0 14px 32px -18px rgba(58,8,6,.34); }
.ga-sidebar { padding:28px 14px 18px; gap:28px; }
.ga-brand { padding:0 10px; }
.ga-nav { gap:5px; padding:0 2px; }
.ga-nav>a,.ga-nav>button { border-radius:12px; padding:12px 13px; }
.ga-nav>.ga-active { position:relative; box-shadow:none; }
.ga-nav>.ga-active::after { content:""; position:absolute; right:13px; width:6px; height:6px; border-radius:50%; background:var(--ga-gold); }
.ga-nav>button { border-radius:12px; }
.ga-topline { background:rgba(251,245,238,.88); }
.ga-main { padding-top:36px; }
.ga-stat { border-radius:var(--ga-r); padding:19px 20px 17px 24px; }
.ga-panel { border-radius:var(--ga-r); }
.ga-panelhead { padding:19px 22px; }
.ga-count,.ga-status,.ga-text-btn,.ga-repeat { border-radius:999px; }
.ga-status::before { border-radius:50%; }
.ga-btn { border-radius:999px; min-height:44px; }
.ga-filters :is(input,select),.ga-login-body input,.ga-acct-form :is(input,select) { border-radius:10px; min-height:44px; }
.ga-filters { background:#fffaf6; }
.ga-bar-bg,.ga-bar-bg>div { border-radius:999px; }
.ga-modal,.ga-login-panel { border-radius:18px; }
.ga-close { border-radius:50%; }
.ga-price { border-radius:12px; }
.ga-custom,.ga-note,.ga-info { border-radius:10px; }
.ga-login-panel { box-shadow:0 28px 72px rgba(0,0,0,.34); }
@media(max-width:860px){
  .ga-sidebar .ga-nav { border-radius:18px 18px 0 0; }
  .ga-nav>a,.ga-nav>button { border-radius:10px; }
  .ga-nav>.ga-active::after { display:none; }
  .ga-stat,.ga-panel { border-radius:12px; }
}

/* Transparent admin mascot: no white square, circle, tile or halo behind
   the original PNG. Applies to both the login header and the sidebar. */
.ga-mode .ga-brand-logo,
.ga-mode .ga-login-brand .ga-brand-logo,
.ga-mode .ga-sidebar .ga-brand-logo {
  display: block;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 0px !important;
  box-shadow: none !important;
  outline: 0 !important;
  padding: 0 !important;
  filter: none !important;
  mix-blend-mode: normal;
}
.ga-mode .ga-brand-logo::before,
.ga-mode .ga-brand-logo::after {
  content: none !important;
}


/* Staff Management form layout refinement — forms are predictable, aligned,
   and responsive instead of relying on auto-fit grid cells for submit buttons. */
.ga-mode .ga-account-panel .ga-panelhead { align-items:flex-start; }
.ga-mode .ga-panel-subtitle { margin-top:5px; font-size:12px; font-weight:400; line-height:1.5; }
.ga-mode .ga-acct-wrap { padding:24px 28px 26px; }
.ga-mode .ga-acct-form {
  display:grid;
  gap:22px 20px;
  align-items:start;
  width:100%;
  max-width:960px;
  margin:0;
  min-width:0;
}
.ga-mode .ga-acct-form--changepw { grid-template-columns: repeat(3,minmax(0,1fr)); }
.ga-mode .ga-acct-form--newadmin { grid-template-columns: repeat(2,minmax(0,1fr)); }
.ga-mode .ga-acct-form .ga-field {
  display:flex;
  flex-direction:column;
  gap:7px;
  min-width:0;
  width:100%;
  margin:0;
  color:#473a37;
  font-size:12px;
  font-weight:700;
  line-height:1.4;
}
.ga-mode .ga-field-label { display:block; }
.ga-mode .ga-acct-form .ga-field :is(input,select) {
  display:block;
  width:100%;
  height:46px;
  min-height:46px;
  min-width:0;
  margin:0;
  padding:11px 14px;
  border:1px solid #d7c8bd;
  border-radius: 0px;
  background:#fff;
  color:var(--ga-ink);
  font-family:inherit;
  font-size:13px;
  font-weight:500;
  line-height:1.4;
  box-shadow:none;
  box-sizing:border-box;
}
.ga-mode .ga-acct-form .ga-field input::placeholder { color:#9c8e87; opacity:1; }
.ga-mode .ga-acct-form .ga-field :is(input,select):focus {
  outline:2px solid #c38c60;
  outline-offset:1px;
  border-color:var(--ga-maroon);
}
.ga-mode .ga-field-help { display:block; font-size:11px; font-weight:400; line-height:1.45; color:var(--ga-muted); }
.ga-mode .ga-form-footer {
  grid-column:1 / -1;
  display:flex;
  justify-content:flex-end;
  align-items:center;
  flex-wrap:wrap;
  gap:12px;
  min-width:0;
  padding-top:18px;
  border-top:1px solid var(--ga-line);
}
.ga-mode .ga-form-footer .ga-error {
  flex:1 1 230px;
  margin:0;
  color:#a22621!important;
  line-height:1.5;
}
.ga-mode .ga-form-footer .ga-error:empty { display:none; }
.ga-mode .ga-form-footer .ga-btn { min-width:170px; margin-left:auto; }
.ga-mode .ga-acct-note {
  max-width:960px;
  margin-top:18px;
  border-radius: 0px;
  padding:12px 15px;
  background:#faf5f0;
  border:1px solid #f0e5db;
  color:#72635a;
  font-size:12px;
  line-height:1.6;
}
/* Make the login form inputs/labels consistent with the Staff Management forms. */
.ga-mode .ga-login-body form { gap:16px; }
.ga-mode .ga-login-body .ga-login-field {
  display:flex;
  flex-direction:column;
  align-items:stretch;
  min-width:0;
  gap:7px;
  margin:0;
  font-size:12px;
}
.ga-mode .ga-login-body .ga-login-field input { min-height:46px; margin:0; }
.ga-mode .ga-login-body .ga-error:empty { display:none; }
.ga-mode .ga-login-body form .ga-full { min-height:46px; margin-top:2px; }
.ga-mode .ga-login-brand { min-width:0; }
.ga-mode .ga-login-brand .ga-brand-logo { flex-shrink:0; }
.ga-mode .ga-login-brand .ga-brand-text { min-width:0; }
.ga-mode .ga-login-brand .ga-smallcap { text-align:right; overflow-wrap:normal; }
@media (max-width:1020px) {
  .ga-mode .ga-acct-form--changepw { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:650px) {
  .ga-mode .ga-acct-wrap { padding:18px 16px 20px; }
  .ga-mode .ga-acct-form--changepw,
  .ga-mode .ga-acct-form--newadmin { grid-template-columns:minmax(0,1fr); gap:16px; }
  .ga-mode .ga-form-footer { padding-top:16px; }
  .ga-mode .ga-form-footer .ga-btn { width:100%; margin:0; }
  .ga-mode .ga-form-footer .ga-error { flex-basis:100%; }
  .ga-mode .ga-login-brand .ga-smallcap { display:none; }
}
@media (max-width:390px) {
  .ga-mode .ga-login-brand { padding:16px 20px; }
  .ga-mode .ga-login-body { padding:22px 20px 26px; }
}

/* Accessible show/hide password control, on login and account-management forms. */
.ga-mode .ga-password-wrap{position:relative;display:block;min-width:0;width:100%}
.ga-mode .ga-password-wrap>input{display:block;width:100%;padding-right:90px!important;min-height:46px}
.ga-mode .ga-password-toggle{position:absolute;right:6px;top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;gap:5px;padding:7px 9px;min-width:73px;background:#fff8f3;border:1px solid #ead6c9;border-radius: 0px;font-size:12px;font-weight:800;color:#780600;cursor:pointer;line-height:1.2}
.ga-mode .ga-password-toggle svg{height:16px;width:16px;flex:none}
.ga-mode .ga-password-toggle:hover{background:#f5e6de}
.ga-mode .ga-password-toggle:focus-visible{outline:2px solid #e4a62c;outline-offset:1px}


/* Administrator contrast hardening — prevents the customer stylesheet from
   leaking light-on-dark inherited text colors into white Admin surfaces.
   Keep the sidebar, branded statistic tiles, and primary buttons light on dark. */
.ga-mode .ga-workspace,
.ga-mode .ga-main,
.ga-mode .ga-panel,
.ga-mode .ga-modal,
.ga-mode .ga-login-panel,
.ga-mode .ga-login-body,
.ga-mode .ga-table,
.ga-mode .ga-acct-wrap,
.ga-mode .ga-bar-line {
  color: var(--ga-ink);
}
.ga-mode .ga-bar-line > span,
.ga-mode .ga-bar-line > strong {
  color: #392d2b;
}
.ga-mode .ga-table td,
.ga-mode .ga-details-grid,
.ga-mode .ga-price,
.ga-mode .ga-timeline {
  color: var(--ga-ink);
}
.ga-mode .ga-table td small,
.ga-mode .ga-timeline small {
  color: #6e615c;
}
.ga-mode .ga-panelhead h2,
.ga-mode .ga-panelhead h3,
.ga-mode .ga-modal h2,
.ga-mode .ga-modal h3 {
  color: var(--ga-ink);
}
.ga-mode .ga-modal-head h2,
.ga-mode .ga-modal-scroll h3 {
  color: var(--ga-maroon);
}
/* Contrast exceptions: white text is intentional only on maroon backgrounds. */
.ga-mode .ga-sidebar,
.ga-mode .ga-login-brand { color: #fff3e8; }
.ga-mode .ga-btn.ga-primary { color: #fff; }
.ga-mode .ga-stats > .ga-stat:is([data-k="total-orders"],[data-k="delivered-sales"]) {
  color: #fff;
}
.ga-mode .ga-filters :is(input,select),
.ga-mode .ga-acct-form :is(input,select),
.ga-mode .ga-login-body input {
  color: var(--ga-ink);
  background-color:#fff;
}
.ga-mode .ga-password-toggle { color:var(--ga-maroon); background:#fff8f3; }


/* GILLY'S FLAT-EDGE DESIGN — required for published & local interfaces.
   Applies to cards, forms, controls, modals, tabs, status labels and
   decorative pseudo-elements at every breakpoint. Keep this at the end. */
html,
html *,
html *::before,
html *::after {
  border-radius: 0px !important;
  border-start-start-radius: 0px !important;
  border-start-end-radius: 0px !important;
  border-end-start-radius: 0px !important;
  border-end-end-radius: 0px !important;
}


/* FINAL RESPONSIVE TABLE SYSTEM — no sideways/landscape scroll.
   Wide order tables convert to labelled records before they become cramped.
   Works for orders, customers, staff, reports and order-detail modals. */
@media screen {
  .ga-mode .ga-table-wrap { width:100%; max-width:100%; min-width:0; overflow-x:visible; }
  .ga-mode .ga-panel, .ga-mode .ga-workspace, .ga-mode .ga-main,
  .ga-mode .ga-duo, .ga-mode .ga-modal-scroll { min-width:0; }
  .ga-mode .ga-table { width:100%; min-width:0; max-width:100%; table-layout:fixed; }
  .ga-mode .ga-table th { white-space:normal; overflow-wrap:anywhere; hyphens:auto; line-height:1.4; }
  .ga-mode .ga-table td { white-space:normal; overflow-wrap:anywhere; word-break:normal; }
  .ga-mode .ga-table td .ga-amount, .ga-mode .ga-table .ga-amount { white-space:normal; }
  .ga-mode .ga-modal-scroll .ga-table { min-width:0; }
  .ga-mode .ga-panelhead { flex-wrap:wrap; }
  .ga-mode .ga-filters >label { min-width:0; }
  .ga-mode .ga-filters input, .ga-mode .ga-filters select { max-width:100%; }
}
/* Use a two-column summary at laptop/tablet widths, without hiding data. */
@media screen and (max-width:1450px) {
  .ga-mode .ga-table--wide thead { position:absolute; width:1px; height:1px; padding:0; margin:-1px; border:0; overflow:hidden; white-space:nowrap; clip-path:inset(50%); }
  .ga-mode .ga-table--wide,
  .ga-mode .ga-table--wide tbody { display:block; width:100%; min-width:0; }
  .ga-mode .ga-table--wide tbody tr { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 16px; padding:12px 16px; border-bottom:1px solid var(--ga-line); }
  .ga-mode .ga-table--wide tbody tr:nth-child(even) { background:#fdfaf7; }
  .ga-mode .ga-table--wide tbody td { display:block; width:100%; padding:8px 0!important; border:0; min-width:0; text-align:left; }
  .ga-mode .ga-table--wide tbody td:not([colspan])::before { content:attr(data-label); display:block; margin:0 0 4px; font-size:10px; color:#685751; font-weight:800; text-transform:uppercase; letter-spacing:.045em; }
  .ga-mode .ga-table--wide tbody td[colspan] { grid-column:1/-1; }
  .ga-mode .ga-table--wide .ga-empty { text-align:center; }
}
@media screen and (max-width:1050px) {
  .ga-mode .ga-table--medium thead { position:absolute; width:1px; height:1px; padding:0; margin:-1px; border:0; overflow:hidden; white-space:nowrap; clip-path:inset(50%); }
  .ga-mode .ga-table--medium,
  .ga-mode .ga-table--medium tbody { display:block; width:100%; min-width:0; }
  .ga-mode .ga-table--medium tbody tr { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 16px; padding:12px 16px; border-bottom:1px solid var(--ga-line); }
  .ga-mode .ga-table--medium tbody tr:nth-child(even) { background:#fdfaf7; }
  .ga-mode .ga-table--medium tbody td { display:block; width:100%; padding:8px 0!important; border:0; min-width:0; text-align:left; }
  .ga-mode .ga-table--medium tbody td:not([colspan])::before { content:attr(data-label); display:block; margin:0 0 4px; font-size:10px; color:#685751; font-weight:800; text-transform:uppercase; letter-spacing:.045em; }
  .ga-mode .ga-table--medium tbody td[colspan] { grid-column:1/-1; }
  .ga-mode .ga-table--medium .ga-empty { text-align:center; }
}
@media screen and (max-width:660px) {
  .ga-mode .ga-table--compact thead { position:absolute; width:1px; height:1px; padding:0; margin:-1px; border:0; overflow:hidden; white-space:nowrap; clip-path:inset(50%); }
  .ga-mode .ga-table--compact,
  .ga-mode .ga-table--compact tbody { display:block; width:100%; min-width:0; }
  .ga-mode .ga-table--compact tbody tr { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 12px; padding:12px 16px; border-bottom:1px solid var(--ga-line); }
  .ga-mode .ga-table--compact tbody tr:nth-child(even) { background:#fdfaf7; }
  .ga-mode .ga-table--compact tbody td { display:block; width:100%; padding:8px 0!important; border:0; min-width:0; text-align:left; }
  .ga-mode .ga-table--compact tbody td:not([colspan])::before { content:attr(data-label); display:block; margin:0 0 4px; font-size:10px; color:#685751; font-weight:800; text-transform:uppercase; letter-spacing:.045em; }
  .ga-mode .ga-table--compact tbody td[colspan] { grid-column:1/-1; }
  .ga-mode .ga-table--compact .ga-empty { text-align:center; }
}
@media screen and (max-width:580px) {
  .ga-mode .ga-table tbody tr { grid-template-columns:minmax(0,1fr); }
  .ga-mode .ga-table tbody td[colspan] { grid-column:1; }
  .ga-mode .ga-layout, .ga-mode .ga-workspace, .ga-mode .ga-main { max-width:100%; }
  .ga-mode .ga-pagehead .ga-btn { width:100%; }
  .ga-mode .ga-modal { max-width:100%; }
  .ga-mode .ga-modal-head { gap:8px; }
  .ga-mode .ga-modal-footer { flex-wrap:wrap; }
  .ga-mode .ga-modal-footer .ga-btn { flex:1 1 100%; }
  .ga-mode .ga-topline { flex-wrap:wrap; row-gap:4px; overflow-wrap:anywhere; }
  .ga-mode .ga-panelhead a.ga-text-btn { white-space:normal; }
  .ga-mode .ga-stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .ga-mode .ga-stats .ga-stat strong { font-size:clamp(16px,5vw,22px); white-space:normal; overflow-wrap:anywhere; }
  .ga-mode .ga-bar-line { grid-template-columns:90px minmax(0,1fr) 26px; gap:8px; margin:16px 12px; }
  .ga-mode .ga-login-panel { max-width:100%; }
}
@media screen and (max-width:360px) {
  .ga-mode .ga-stats { grid-template-columns:minmax(0,1fr); }
  .ga-mode .ga-nav svg { width:16px; height:16px; }
  .ga-mode .ga-nav>a, .ga-mode .ga-nav>button { font-size:8px; }
}
@media print {
  /* Printed summaries remain proper tables; record-card styling is screen-only. */
  .ga-print-sheet .ga-table-wrap { overflow:visible!important; }
  .ga-print-sheet .ga-table { width:100%; min-width:0; table-layout:fixed; }
}


/* Staff account recovery and responsive forms. */
.ga-mode .ga-login-actions{display:flex;justify-content:flex-end;margin-top:12px;}
.ga-mode .ga-link-btn{font-size:12px;font-weight:800;color:var(--ga-maroon);text-decoration:underline;text-underline-offset:3px;}
.ga-mode .ga-link-btn:hover{color:var(--ga-red);}
.ga-mode .ga-recovery-panel{width:min(510px,100%);}
.ga-mode .ga-recovery-divider{position:relative;display:flex;justify-content:center;align-items:center;margin:25px 0 16px;font-size:11px;text-transform:uppercase;letter-spacing:.07em;color:#806e65;font-weight:800;}
.ga-mode .ga-recovery-divider::before,.ga-mode .ga-recovery-divider::after{content:'';flex:1;height:1px;background:#decfc7;}
.ga-mode .ga-recovery-divider span{padding:0 12px;}
.ga-mode .ga-recovery-panel .ga-login-body>p{margin-bottom:14px;}
.ga-mode .ga-recovery-panel .ga-login-help{margin:15px 0 0!important;font-size:11px;}
.ga-mode .ga-recovery-management{display:flex;flex-direction:column;align-items:flex-start;gap:15px;}
.ga-mode .ga-recovery-management>p{color:var(--ga-muted);font-size:12px;}
.ga-mode .ga-recovery-reveal{display:flex;flex-direction:column;gap:12px;padding:16px;border:1px solid #e2cfc4;background:#fff9f2;width:100%;color:var(--ga-ink);}
.ga-mode .ga-recovery-reveal>strong{font-size:13px;}
.ga-mode .ga-recovery-reveal .ga-recovery-token{font-size:clamp(12px,2.1vw,17px);letter-spacing:.06em;font-weight:800;word-break:break-word;overflow-wrap:anywhere;color:var(--ga-maroon);background:#fff;border:1px dashed #d3bcb0;padding:14px;}
.ga-mode .ga-recovery-actions{display:flex;flex-wrap:wrap;gap:9px;}
.ga-mode .ga-reset-modal .ga-modal-scroll{padding:24px 26px;}
.ga-mode .ga-reset-form{display:grid;grid-template-columns:minmax(0,1fr);gap:17px;}
.ga-mode .ga-reset-form .ga-form-footer{margin-top:0;}
.ga-mode .ga-reset-form .ga-error:empty{display:none;}
@media(max-width:520px){.ga-mode .ga-recovery-actions,.ga-mode .ga-recovery-actions .ga-btn{width:100%;}.ga-mode .ga-reset-modal .ga-modal-scroll{padding:16px;}}

/* Readable kitchen selections — no internal JSON/code displayed to administrators. */
.ga-ingredient-details{margin-top:9px;padding:9px 10px;border:1px solid #eadcd4;background:#fffcfa;max-width:100%;}
.ga-ingredient-details summary{font-size:12px;font-weight:800;color:#6a221c;cursor:pointer;}
.ga-ingredient-list{margin:8px 0 0;display:grid;gap:6px;font:inherit;color:#322420;}
.ga-ingredient-list .ga-custom-row{display:grid;grid-template-columns:minmax(85px,115px) minmax(0,1fr);gap:8px;border-bottom:1px solid #eee4dc;padding:4px 0;}
.ga-ingredient-list dt{font-size:11px;font-weight:800;color:#705f58;}
.ga-ingredient-list dd{font-size:12px;margin:0;overflow-wrap:anywhere;}
.ga-print-sheet .ga-ingredient-list{display:grid;gap:4px;margin:5px 0;}
.ga-order-status-summary{display:flex;flex-wrap:wrap;gap:14px;align-items:center;padding:13px 18px;background:#fdf9f4;border-bottom:1px solid #edddd2;font-size:12px;color:#47352e;}
.ga-order-status-summary b{font-size:15px;color:#792015;}
.ga-nav-count{margin-left:auto;font-size:11px;line-height:1;padding:4px 6px;background:#e6c28e;color:#532016;font-style:normal;font-weight:900;}
.ga-pending-orders .ga-count{font-weight:800;}
@media(max-width:450px){.ga-ingredient-list .ga-custom-row{grid-template-columns:1fr;gap:2px}.ga-order-status-summary{gap:8px}}
@media print{.ga-ingredient-details{border:0;padding:0}.ga-ingredient-list .ga-custom-row{grid-template-columns:95px minmax(0,1fr)}}


/* Delivery confirmation states */
.ga-status-awaiting-customer-confirmation{background:#e5edf9;color:#264d7f}
.ga-status-delivery-issue{background:#fde7dc;color:#912f20}
.ga-delivery-alert{border-left:4px solid #9b2b20}

/* Administrator confirmation dialogs: question icon and affirmative action bottom right. */
.ga-confirm-overlay { position:fixed; z-index:10020; inset:0; padding:16px; display:flex; align-items:center; justify-content:center; background:rgba(22,8,11,.66); }
.ga-confirm-dialog { width:min(100%,440px); padding:clamp(22px,5vw,34px); background:#fffaf6; border:1px solid #dfc8c0; border-radius:0!important; box-shadow:0 22px 65px #0004; text-align:center; color:#281a1a; }
.ga-confirm-question { display:flex; justify-content:center; color:#770b1b; margin-bottom:16px; }
.ga-confirm-dialog h2 { color:#460c17; font-size:clamp(20px,4vw,25px); margin:0 0 10px; }
.ga-confirm-dialog p { color:#675b58; font-size:14px; line-height:1.6; margin:0; }
.ga-confirm-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; align-items:center; gap:10px; margin-top:28px; }
.ga-confirm-actions button { appearance:none; min-width:120px; padding:12px 18px; border-radius:0!important; font:inherit; font-size:13px; font-weight:800; cursor:pointer; }
.ga-confirm-cancel { color:#650c1b; background:#fffaf6; border:2px solid #650c1b; }
.ga-confirm-accept { color:#fff; background:#650c1b; border:2px solid #650c1b; }
.ga-confirm-cancel:hover { background:#f4e5df; }
.ga-confirm-accept:hover { background:#490713; border-color:#490713; }
.ga-confirm-actions button:focus-visible { outline:3px solid #cf9b50; outline-offset:2px; }
@media(max-width:420px){.ga-confirm-actions{flex-wrap:nowrap}.ga-confirm-actions button{flex:1 1 50%;min-width:0;padding:12px 8px}}

/* Pickup-only fulfillment badges and dashboard colors */
.ga-status-ready-for-pickup {background:#e8ebff;color:#3546a0}
.ga-status-pickup-issue {background:#fde7dc;color:#912f20}
.ga-status-picked-up {background:#dff3e8;color:#1f7a4c}
.ga-stat[data-k=ready-for-pickup]{--c:#536ecb}
.ga-stat[data-k=pickup-issue]{--c:#bb4c2d}
.ga-stat[data-k=picked-up]{--c:#2e9461}

.ga-tax-settings .ga-tax-controls { display:flex; align-items:flex-end; gap:12px; flex-wrap:wrap; }
.ga-tax-settings .ga-tax-controls label { display:block; width:100%; font-weight:700; color:#36181e; }
.ga-tax-settings select { flex:1 1 280px; width:100%; min-width:0; border:1px solid #d6bfc1; background:#fff; color:#3d262b; border-radius:0; padding:12px; font:inherit; }
.ga-tax-settings button { border-radius:0; }
.ga-tax-feedback { margin:10px 0 0; color:#650d1b; }

/* v12 final surface pass. This intentionally supersedes legacy square-corner
   rules while leaving print layouts, form behaviour, and admin actions alone. */
body.ga-mode .ga-nav>a,
body.ga-mode .ga-nav>button { border-radius:12px !important; }
body.ga-mode .ga-stat,
body.ga-mode .ga-panel { border-radius:14px !important; }
body.ga-mode .ga-count,
body.ga-mode .ga-status,
body.ga-mode .ga-text-btn,
body.ga-mode .ga-repeat,
body.ga-mode .ga-btn { border-radius:999px !important; }
body.ga-mode .ga-status::before { border-radius:50% !important; }
body.ga-mode .ga-filters :is(input,select),
body.ga-mode .ga-login-body input,
body.ga-mode .ga-acct-form :is(input,select),
body.ga-mode .ga-tax-settings select { border-radius:10px !important; }
body.ga-mode .ga-bar-bg,
body.ga-mode .ga-bar-bg>div { border-radius:999px !important; }
body.ga-mode .ga-modal,
body.ga-mode .ga-login-panel,
body.ga-mode .ga-confirm-dialog { border-radius:18px !important; }
body.ga-mode .ga-close { border-radius:50% !important; }
body.ga-mode .ga-price { border-radius:12px !important; }
body.ga-mode .ga-custom,
body.ga-mode .ga-note,
body.ga-mode .ga-info,
body.ga-mode .ga-recovery-reveal,
body.ga-mode .ga-recovery-reveal .ga-recovery-token { border-radius:10px !important; }
@media(max-width:860px){
  body.ga-mode .ga-sidebar .ga-nav { border-radius:18px 18px 0 0 !important; }
  body.ga-mode .ga-stat,body.ga-mode .ga-panel { border-radius:12px !important; }
}
