:root { color-scheme: light; --paper:#f0eee7; --ink:#212522; --muted:#767d73; --line:#d4d4cb; --accent:#d7fb45; --display:"Space Grotesk",Arial,sans-serif; --body:"Manrope",Arial,sans-serif; }
* { box-sizing:border-box; }
body { min-height:100vh; margin:0; background:var(--paper); color:var(--ink); font:400 14px/1.55 var(--body); }
a { color:inherit; text-decoration:none; }
button,input,select { font:inherit; }
[hidden] { display:none !important; }
.admin-shell { width:min(980px,calc(100% - 48px)); margin:auto; }
.admin-header { height:82px; display:flex; justify-content:space-between; align-items:center; border-bottom:1px solid var(--line); }
.admin-brand { display:flex; align-items:center; gap:11px; font:700 15px var(--display); }
.admin-brand > span:last-child { display:grid; line-height:1.2; }
.admin-brand small { margin-top:4px; color:var(--muted); font:800 8px var(--body); letter-spacing:.1em; }
.brand-mark { width:23px; height:23px; display:flex; align-items:end; gap:3px; padding:4px; border:1.5px solid var(--ink); transform:rotate(-8deg); }.brand-mark i { flex:1; background:var(--ink); transform:skew(-14deg); }.brand-mark i:nth-child(1){height:8px}.brand-mark i:nth-child(2){height:13px}.brand-mark i:nth-child(3){height:6px}
.back-link { color:#686f65; font-size:10px; font-weight:800; }
.admin-content { max-width:760px; margin:68px auto 90px; }
.eyebrow { margin:0 0 15px; color:#798074; font-size:9px; font-weight:800; letter-spacing:.14em; }
h1,h2 { margin:0; font-family:var(--display); font-weight:600; letter-spacing:-.06em; }
h1 { font-size:clamp(42px,7vw,63px); line-height:1.05; }
.intro { max-width:490px; margin:15px 0 30px; color:#747a71; font-size:12px; line-height:1.7; }
.demo-warning { margin:0 0 13px; padding:13px 15px; border-left:3px solid #9cad3a; background:#e7ebd4; color:#525943; font-size:10px; line-height:1.6; }
.status-card { margin-bottom:22px; padding:15px 17px; border:1px solid var(--line); background:#f8f7f1; color:#666d63; font-size:11px; line-height:1.65; }.status-warning { border-color:#e7c57a; background:#fbf4dc; color:#6b5b2f; }.status-error { border-color:#ddac9f; background:#fae9e3; color:#804a40; }.status-success { border-color:#bacb76; background:#f1f5df; color:#59632e; }
.button { min-height:48px; display:inline-flex; justify-content:center; align-items:center; gap:20px; padding:0 18px; border:0; border-radius:2px; background:var(--ink); color:#fff; font-size:11px; font-weight:800; cursor:pointer; }.button span { font-size:17px; font-weight:500; }.button:hover { background:#3b433a; }.button:disabled { opacity:.6; cursor:wait; }.button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible { outline:3px solid #7e922f; outline-offset:3px; }
.editor { padding:24px; border:1px solid var(--line); background:#f8f7f1; }.editor-heading { display:flex; justify-content:space-between; align-items:end; gap:14px; margin-bottom:18px; }.editor-heading .eyebrow { margin-bottom:4px; }.editor-heading h2 { font-size:24px; }.saved-at { color:#858b80; font-size:9px; text-align:right; }
.product-list { border-top:1px solid #deded5; }.admin-product { display:grid; grid-template-columns:minmax(0,1fr) 130px 170px; gap:14px; align-items:center; padding:13px 0; border-bottom:1px solid #deded5; }.admin-product-name { display:grid; gap:2px; }.admin-product-name strong { font:600 14px var(--display); }.admin-product-name small { color:#858a80; font-size:9px; }.admin-field { display:grid; gap:5px; color:#82877e; font-size:8px; font-weight:800; letter-spacing:.05em; }.admin-field input,.admin-field select,.delivery-fee input { width:100%; min-height:39px; padding:8px 10px; border:1px solid #d5d7cc; border-radius:1px; background:#fffefa; color:var(--ink); font-size:11px; letter-spacing:normal; }
.delivery-fee { max-width:250px; display:grid; gap:6px; margin:19px 0; color:#747a71; font-size:9px; font-weight:800; }.save-button { min-width:210px; background:var(--accent); color:var(--ink); }.save-button:hover { background:#c8ed35; }.save-status { min-height:16px; margin:10px 0 0; color:#667333; font-size:10px; }
.admin-footer { display:flex; justify-content:space-between; gap:15px; padding:16px 0 25px; border-top:1px solid var(--line); color:#858a80; font-size:9px; }.admin-footer a { color:var(--ink); font-weight:800; }
@media(max-width:620px) { .admin-shell{width:calc(100% - 32px)}.admin-header{height:68px}.admin-content{margin:45px auto 60px}.admin-brand{gap:8px;font-size:13px}.back-link{max-width:100px;text-align:right;font-size:9px}.editor{padding:17px}.admin-product{grid-template-columns:minmax(0,1fr) 95px;gap:9px}.admin-field:last-child{grid-column:2}.admin-product-name{grid-row:span 2}.admin-field input,.admin-field select{min-height:38px;padding-inline:7px;font-size:10px}.editor-heading h2{font-size:21px}.saved-at{max-width:100px}.admin-footer{flex-direction:column} }

:root { color-scheme:light; --paper:#fff; --ink:#202226; --muted:#777b81; --line:#e8e9eb; --accent:#e00016; --body:"Manrope",Arial,sans-serif; }
body { background:#fff; color:var(--ink); }
.admin-shell { width:min(1040px,calc(100% - 48px)); }
.admin-header { height:76px; border-color:#eee; }
.admin-brand { gap:10px; font:800 17px var(--body); }
.admin-brand img { width:42px; height:42px; border-radius:50%; object-fit:cover; }
.back-link { color:var(--accent); font-size:12px; }
.admin-content { max-width:900px; margin:44px auto 60px; }
.eyebrow { margin:0 0 9px; color:var(--accent); font-size:10px; letter-spacing:.1em; }
h1,h2 { font-family:var(--body); letter-spacing:-.045em; }
h1 { font-size:clamp(34px,5vw,48px); }
.intro { margin:10px 0 24px; color:#74787e; font-size:13px; }
.status-card { padding:13px 15px; border:1px solid #eee; border-radius:9px; background:#fafafa; font-size:12px; }
.status-warning { border-color:#f2d6a2; background:#fffaf0; color:#775d2f; }
.status-error { border-color:#f1c8cd; background:#fff6f7; color:#9d3944; }
.status-success { border-color:#cce5d2; background:#f5fbf6; color:#467654; }
.login-panel { max-width:480px; margin:18px 0; padding:22px; border:1px solid #e9e9eb; border-radius:12px; background:#fff; }
.login-panel h2 { margin:0 0 18px; font-size:21px; }
.login-form { display:grid; gap:14px; }
.login-form .button { justify-self:start; min-width:150px; }
.login-help { margin:16px 0 0; color:#85898f; font-size:11px; }
.login-help a { color:var(--accent); font-weight:800; }
.setup-form { max-width:480px; }
.editor-toolbar { display:flex; justify-content:space-between; align-items:center; margin:0 0 12px; color:#85898f; font-size:11px; }
.editor { margin-top:18px; padding:0; overflow:hidden; border:1px solid #e9e9eb; border-radius:12px; background:#fff; }
.tabs { display:flex; gap:4px; padding:9px 12px 0; border-bottom:1px solid #eee; background:#fafafa; }
.tab { min-height:41px; padding:0 17px; border:0; border-bottom:2px solid transparent; background:none; color:#73777d; font:700 12px var(--body); cursor:pointer; }
.tab.is-active { border-color:var(--accent); color:var(--accent); }
.tab-panel { padding:22px; }
.panel-heading { display:flex; align-items:end; justify-content:space-between; gap:15px; margin-bottom:10px; }
.panel-heading .eyebrow { margin:0 0 3px; }
.panel-heading h2 { font-size:22px; }
.panel-note { margin:0 0 16px; color:#85898f; font-size:10px; }
.panel-note b { color:#666a70; font-weight:600; }
.button { min-height:42px; display:inline-flex; align-items:center; justify-content:center; gap:10px; padding:0 15px; border:0; border-radius:7px; background:var(--accent); color:#fff; font-size:11px; font-weight:800; cursor:pointer; }
.button:disabled { opacity:.6; cursor:wait; }
.button-outline { border:1px solid #e6cdd0; background:#fff; color:var(--accent); }
.button-outline:hover { background:#fff6f7; }
.product-list { display:grid; gap:12px; margin-bottom:18px; }
.admin-product { display:grid; grid-template-columns:1fr; gap:12px; padding:13px; border:1px solid #ececef; border-radius:10px; background:#fff; }
.admin-product-top { display:grid; grid-template-columns:66px 1fr auto; gap:12px; align-items:center; }
.admin-product-image-button { position:relative; width:66px; height:58px; display:block; padding:0; overflow:hidden; border:0; border-radius:7px; background:#f5f5f5; cursor:pointer; }
.admin-product-image { width:66px; height:58px; border-radius:7px; background:#f5f5f5; object-fit:cover; }
.admin-product-image-button.is-changeable:hover .admin-product-image { filter:brightness(.78); }
.admin-product-image-button.is-dragging { outline:3px solid rgb(224 0 22 / 35%); outline-offset:2px; }
.admin-product-image-button.is-loading { cursor:wait; opacity:.65; }
.admin-photo-change-badge { position:absolute; right:4px; bottom:4px; width:21px; height:21px; display:grid; place-items:center; border-radius:50%; background:var(--accent); color:#fff; font-size:18px; font-weight:600; line-height:1; box-shadow:0 1px 4px #0003; }
.admin-product-image-button:focus-visible { outline:3px solid rgb(224 0 22 / 25%); outline-offset:2px; }
.admin-product-heading { display:grid; gap:3px; min-width:0; }
.admin-product-heading strong { overflow:hidden; font-size:13px; text-overflow:ellipsis; white-space:nowrap; }
.admin-product-heading small { color:#8a8e94; font-size:10px; }
.delete-product { padding:7px 10px; border:0; border-radius:6px; background:#fff2f3; color:#c00012; font:700 10px var(--body); cursor:pointer; }
.admin-product-fields { display:grid; grid-template-columns:1fr 1fr 150px; gap:10px; }
.product-photo-picker { grid-column:1 / -1; }
.product-photo-picker.is-hidden { position:absolute; width:1px; height:1px; overflow:hidden; }
.photo-picker-input { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; clip-path:inset(50%); }
.photo-drop-zone { width:100%; min-height:92px; display:flex; align-items:center; gap:13px; padding:12px; border:1px dashed #e7adb4; border-radius:9px; background:#fffafb; color:#292b2f; text-align:left; cursor:pointer; transition:background .15s,border-color .15s; }
.photo-drop-zone:hover,.photo-drop-zone.is-dragging { border-color:var(--accent); background:#fff2f4; }
.photo-drop-zone:focus-visible { outline:3px solid rgb(224 0 22 / 20%); outline-offset:2px; }
.photo-drop-zone:disabled { opacity:.7; cursor:wait; }
.photo-drop-preview { width:64px; height:64px; flex:0 0 64px; border-radius:7px; background:#f0f0f1; object-fit:cover; }
.photo-drop-copy { display:grid; gap:4px; }
.photo-drop-copy strong { font-size:12px; font-weight:800; }
.photo-drop-copy small { color:#85898f; font-size:10px; }
.photo-drop-plus { width:36px; height:36px; flex:0 0 36px; display:grid; place-items:center; margin-left:auto; border-radius:50%; background:var(--accent); color:#fff; font-size:26px; font-weight:500; line-height:1; }
.admin-field { display:grid; gap:5px; color:#777b81; font-size:9px; font-weight:700; }
.admin-field input,.admin-field select { width:100%; min-height:38px; padding:8px 10px; border:1px solid #dedfe2; border-radius:6px; background:#fff; color:#202226; font:500 11px var(--body); }
.admin-field input:focus,.admin-field select:focus { border-color:var(--accent); outline:2px solid rgb(224 0 22 / 12%); }
.save-button { min-width:180px; }
.save-status { min-height:16px; margin:9px 0 0; color:#6a7b53; font-size:10px; }
.saved-at { display:block; margin:0; padding:0 22px 18px; color:#96999e; font-size:9px; }
.logo-editor { display:flex; align-items:center; gap:22px; margin:22px 0; padding:18px; border:1px solid #eee; border-radius:10px; background:#fcfcfc; }
.logo-preview { width:130px; height:130px; border:1px solid #eee; border-radius:50%; background:#fff; object-fit:cover; }
.logo-fields { display:grid; gap:10px; max-width:390px; }
.logo-fields small { color:#85898f; font-size:10px; }
.admin-footer { border-color:#eee; color:#85898f; font-size:10px; }
.admin-footer a { color:var(--accent); }
.button:focus-visible,.tab:focus-visible,.delete-product:focus-visible,.back-link:focus-visible { outline:3px solid rgb(224 0 22 / 25%); outline-offset:2px; }
@media(max-width:700px) {
  .admin-shell { width:calc(100% - 32px); }
  .admin-content { margin:35px auto 44px; }
  .tab-panel { padding:16px; }
  .admin-product-fields { grid-template-columns:1fr 1fr; }
  .admin-product-fields .admin-field:nth-child(3) { grid-column:auto; }
  .logo-editor { align-items:start; gap:14px; padding:13px; }
  .logo-preview { width:92px; height:92px; flex:none; }
}
@media(max-width:440px) {
  .admin-shell { width:calc(100% - 24px); }
  .admin-header { height:64px; }
  .admin-brand { font-size:14px; }
  .admin-brand img { width:34px; height:34px; }
  .back-link { font-size:10px; }
  .admin-product-fields { grid-template-columns:1fr; }
  .panel-heading h2 { font-size:18px; }
  .panel-heading { align-items:center; }
  .logo-editor { display:grid; }
  .logo-preview { width:84px; height:84px; }
  .admin-footer { flex-direction:column; }
}
