@charset "UTF-8";
:root{font-family:Arial,Helvetica,sans-serif;color:#171717;background:#f2f2f2;font-synthesis:none;--red:#a91f2b;--gold:#f6d383;--line:#d9d9d9}
*{box-sizing:border-box}
[hidden]{display:none!important}
body{margin:0;font-size:1rem;line-height:1.5}
button,input,select,textarea{font:inherit}
button,a,input,select,textarea,summary{touch-action:manipulation}
a{color:inherit;text-underline-offset:.2em}
button{cursor:pointer}
button:disabled{cursor:wait;opacity:.58}
:focus-visible{outline:3px solid #b16c00;outline-offset:3px}
.skip-link{position:fixed;top:-5rem;left:1rem;background:white;padding:.8rem;z-index:10}
.skip-link:focus{top:1rem}
.editor-header{min-height:106px;background:#111;color:white;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem max(1.25rem,calc((100vw - 1180px)/2))}
.editor-brand{display:block;width:205px;background:white;padding:.45rem .8rem}
.editor-brand img{display:block;width:100%;height:auto}
.header-actions{display:flex;align-items:center;gap:1.25rem;font-size:.9375rem}
.button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:.5rem;border:1px solid transparent;border-radius:5px;padding:.65rem 1.1rem;font-weight:700;font-size:.9375rem;text-decoration:none}
.button-primary{background:var(--red);color:white}
.button-primary:hover{background:#821723}
.button-secondary{background:white;border-color:#999;color:#202020}
.button-secondary:hover{background:#f2f2f2}
.button-quiet{background:transparent;color:white;border-color:#777}
.full-width{width:100%}
.auth-panel{padding:3.5rem 1rem 4rem;min-height:calc(100vh - 160px);display:flex;justify-content:center;align-items:flex-start}
.auth-card{width:100%;max-width:470px;background:white;padding:2.25rem;border-top:5px solid var(--red);box-shadow:0 9px 28px #0000000f}
.eyebrow{font-size:.875rem;font-weight:700;letter-spacing:.1em;color:#6b353b;margin:0 0 .6rem}
h1{font-size:2rem;line-height:1.15;letter-spacing:-.035em;margin:.4rem 0 .8rem}
h2{font-size:1.5rem;line-height:1.2;letter-spacing:-.025em;margin:0 0 .6rem}
h3{font-size:1rem;margin:0 0 .5rem}
p{margin:.5rem 0 1.2rem}
.field{display:flex;flex-direction:column;gap:.4rem;font-weight:700;font-size:.9375rem;margin-bottom:1.1rem}
input,select,textarea{width:100%;min-height:46px;padding:.65rem .75rem;border:1px solid #a6a6a6;border-radius:4px;background:white;color:#111;font-size:1rem;font-weight:400}
textarea{resize:vertical}
input[type=checkbox]{width:20px;min-height:20px;height:20px;accent-color:var(--red)}
.checkbox-field{display:flex;align-items:center;gap:.7rem;margin:1rem 0;font-size:1rem}
.password-field{display:flex}
.password-field input{border-radius:4px 0 0 4px;min-width:0}
.password-field button{font-size:.875rem;border:1px solid #a6a6a6;border-left:0;background:#f4f4f4;border-radius:0 4px 4px 0;padding:0 .8rem;min-width:65px}
.help{font-size:.875rem;line-height:1.5;color:#555;font-weight:400;margin:.35rem 0 1rem}
.form-error{color:#831427;background:#fff0f2;padding:.8rem;border-left:4px solid var(--red);font-size:.9375rem;overflow-wrap:anywhere}
.dashboard{max-width:1180px;margin:0 auto;padding:2rem 1.25rem 3.5rem}
.editor-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1.7rem}
.editor-heading p:last-child{font-size:.9375rem;color:#555;margin-bottom:0}
.preview-tag{font-size:.875rem;border:1px solid #bfbfbf;padding:.4rem .7rem;border-radius:4px;white-space:nowrap;background:#fff}
.editor-nav{display:flex;gap:.35rem;flex-wrap:wrap;border-bottom:1px solid #bbb;margin-bottom:1.5rem;padding-bottom:.8rem}
.editor-nav button{border:1px solid transparent;background:transparent;border-radius:4px;padding:.65rem .8rem;min-height:44px;font-size:.9375rem;font-weight:700}
.editor-nav button[aria-current=page]{background:#111;color:white}
.editor-nav button:not([aria-current]):hover{background:#dedede}
.work-panel{background:white;border:1px solid var(--line);border-radius:6px;padding:1.75rem}
.panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1.25rem}
.panel-heading p{font-size:.9375rem;color:#555;margin-bottom:0}
.notice{border:1px solid #838f82;background:#eef3ed;border-radius:4px;padding:.85rem 1rem;font-size:.9375rem;overflow-wrap:anywhere}
.notice.is-error{background:#fff0f2;color:#831427;border-color:#cb8792}
.content-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:1.5rem}
.content-fields .long-field{grid-column:1/-1}
.form-actions{display:flex;gap:.75rem;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:1.25rem;margin-top:1.25rem}
.content-photo-field{border-bottom:1px solid var(--line);padding-bottom:1.25rem;margin-bottom:1.25rem;min-width:0}
.content-photo-field img{height:160px;width:100%;object-fit:contain;background:#eee;border-radius:4px;margin-bottom:.7rem}
.upload-button{position:relative;overflow:hidden;cursor:pointer}
.upload-button input{position:absolute;inset:0;opacity:0;cursor:pointer;font-size:1rem;min-height:44px}
.list-tools{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr);gap:1rem}
.product-list{border-top:1px solid var(--line)}
.product-list-row{display:grid;grid-template-columns:60px minmax(0,1fr) auto auto;gap:1rem;align-items:center;padding:1rem 0;border-bottom:1px solid var(--line)}
.list-photo{width:60px;height:65px;object-fit:contain;background:#eee;border-radius:3px}
.list-photo-empty{width:60px;height:65px;display:flex;align-items:center;justify-content:center;background:#eee;font-size:.8125rem;color:#666}
.list-item-name{font-weight:700;overflow-wrap:anywhere;line-height:1.3}
.list-item-meta{font-size:.875rem;color:#555;margin:.3rem 0 0}
.hidden-label{display:inline-block;font-size:.875rem;color:#7b1928;margin-left:.5rem}
.list-price{font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}
.list-pagination{display:flex;gap:1rem;align-items:center;justify-content:center;margin-top:1.5rem;font-size:.9375rem}
.empty-list{padding:2rem 1rem;color:#555}
.product-edit-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:2rem}
.photo-editor{border-left:1px solid var(--line);padding-left:2rem}
.photo-editor>img,.empty-photo{width:100%;height:230px;object-fit:contain;background:#eee;border-radius:4px;margin-bottom:1rem}
.empty-photo{display:flex;align-items:center;justify-content:center;color:#666}
.prices-fieldset{border:0;border-top:1px solid var(--line);padding:1.5rem 0 0;margin:1.5rem 0 0;min-width:0}
.prices-fieldset legend{font-weight:700;font-size:1.125rem;padding:.1rem .8rem .1rem 0}
.price-row,.choice-row{display:grid;grid-template-columns:minmax(0,2fr) minmax(120px,1fr) auto;gap:.75rem;align-items:end}
.price-row .field,.choice-row .field{margin-bottom:.7rem}
.row-remove{height:46px;margin-bottom:.7rem;min-width:70px;border:1px solid #bbb;border-radius:4px;background:white;font-size:.875rem}
.deli-choices{border-top:1px solid var(--line);margin-top:1.75rem;padding-top:1.1rem}
.deli-choices summary{cursor:pointer;font-weight:700;font-size:1rem;min-height:44px}
.option-group{margin:1.5rem 0;border-top:1px solid var(--line);padding-top:1rem}
.account-panel{max-width:700px}
.editor-footer{text-align:center;font-size:.875rem;color:#666;padding:1.1rem 1rem 1.5rem}
@media(max-width:760px){
 .editor-header{padding:1rem;min-height:90px}.editor-brand{width:170px}.header-actions{gap:.6rem;font-size:.875rem}
 .header-actions .button{padding:.6rem .75rem}.dashboard{padding:1.5rem 1rem}
 .editor-heading{align-items:flex-start;flex-direction:column}.editor-heading h1{font-size:1.8rem}
 .work-panel{padding:1.25rem}.panel-heading{flex-direction:column}.panel-heading .button{align-self:flex-start}
 .content-fields,.product-edit-grid,.list-tools{grid-template-columns:1fr}
 .content-fields .long-field{grid-column:auto}.photo-editor{border-left:0;border-top:1px solid var(--line);padding:1.25rem 0 0}
 .product-list-row{grid-template-columns:52px minmax(0,1fr) auto;gap:.65rem}.list-photo,.list-photo-empty{width:52px}
 .list-price{grid-column:2;grid-row:2;font-size:.9375rem}.product-list-row>.button{grid-column:3;grid-row:1/3;padding:.55rem .75rem}
 .list-item-meta{font-size:.875rem}.price-row,.choice-row{grid-template-columns:minmax(0,1fr) minmax(95px,.65fr)}
 .row-remove{grid-column:1/-1;justify-self:start;height:38px;min-height:38px;margin-bottom:1rem}
}
@media(max-width:400px){.editor-brand{width:145px}.auth-card{padding:1.5rem}.editor-nav{gap:.1rem}.editor-nav button{padding:.6rem .65rem}}
