:root{--ink:#1b1716;--muted:#6b6360;--paper:#f8f5ed;--card:#fff;--line:#e5ded1;--yellow:#ffd12c;--red:#e50919;--shadow:0 12px 34px rgba(24,16,12,.07)}
.analytics{margin-top:25px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.stat-card,.analytics-tables>div{background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px;box-shadow:var(--shadow)}.stat-card{display:flex;flex-direction:column;gap:7px}.stat-card strong{font-family:Georgia,serif;font-size:2.5rem}.analytics-tables{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:22px}.analytics-tables h3{margin-bottom:12px}.stats-row{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid var(--line)}.stats-row:last-child{border-bottom:0}@media(max-width:800px){.stats-grid{grid-template-columns:1fr 1fr}.analytics-tables{grid-template-columns:1fr}}
.status-line{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-top:1px solid var(--line);font-size:.9rem}.status-line:first-of-type{margin-top:10px}
*{box-sizing:border-box}html{font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:var(--paper)}body{margin:0}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}input,textarea{border:1px solid #cfc5b6;border-radius:10px;padding:13px 14px;background:#fff;color:var(--ink);width:100%}input:focus,textarea:focus,button:focus-visible{outline:3px solid var(--yellow);outline-offset:2px}label{font-weight:700;display:block;margin:0 0 7px}h1,h2,h3,p{margin-top:0}h1{font-family:Georgia,serif;font-size:clamp(2.5rem,6vw,5rem);line-height:1;letter-spacing:-.04em;margin:12px 0}h2{font-family:Georgia,serif;font-size:1.65rem;margin:0}h3{font-size:1.08rem;margin:0}p{line-height:1.5}.muted,.fineprint{color:var(--muted)}.fineprint{font-size:.85rem;margin:10px 0 0}.eyebrow{font-weight:800;letter-spacing:.16em;text-transform:uppercase;font-size:.75rem}.topbar{height:70px;background:#130f0f;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 max(24px,calc((100vw - 1400px)/2));gap:20px}.brand{display:flex;align-items:baseline;position:relative;white-space:nowrap}.brand-small{font-size:.88rem;margin-right:6px}.brand strong{font-family:Georgia,serif;color:var(--yellow);font-size:2.25rem;letter-spacing:-.08em;line-height:1}.brand-i{letter-spacing:-.11em}.brand-dot{position:absolute;width:13px;height:13px;border-radius:50%;background:var(--red);right:-3px;top:0}.top-label{font-size:.75rem;font-weight:800;letter-spacing:.13em}.guest-layout,.staff-layout{max-width:1440px;margin:0 auto;padding:30px 24px 70px}.guest-layout{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:32px}.intro{grid-column:1/-1;background:#201a18;color:white;border-radius:22px;padding:36px 42px;position:relative;overflow:hidden}.intro:after{content:'';position:absolute;width:190px;height:190px;border-radius:50%;background:var(--red);right:-50px;top:-105px;box-shadow:-100px 115px 0 15px var(--yellow)}.intro p{color:#e1dcd5;max-width:620px;margin:0}.intro>*{position:relative;z-index:1}.section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:2px 0 17px}.section-head span{color:var(--muted);font-weight:700}.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:16px}.product-card,.cart,.panel,.order-card,.product-admin,.admin-row{background:var(--card);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}.product-card{overflow:hidden;display:flex;flex-direction:column}.product-photo{height:150px;background:#eee6d5;display:flex;align-items:center;justify-content:center;color:#a09078;font-size:3rem;font-family:Georgia,serif}.product-photo img{height:100%;width:100%;object-fit:cover}.product-body{padding:18px;display:flex;flex-direction:column;gap:12px;flex:1}.product-body>div:first-child{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.price{white-space:nowrap;font-weight:800}.quantity{display:flex;align-items:center;justify-content:space-between;gap:9px}.quantity button{border:1px solid var(--line);background:white;border-radius:9px;width:40px;height:40px;font-size:1.5rem;line-height:1}.quantity strong{font-size:1.15rem}.cart{padding:23px;align-self:start;position:sticky;top:18px}.cart-items{min-height:90px}.cart-line{display:flex;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid var(--line)}.cart textarea{resize:vertical}.total{display:flex;justify-content:space-between;margin:22px 0;font-size:1.2rem}.primary,.secondary,.subtle{border-radius:10px;border:0;padding:13px 19px;font-weight:800}.primary{background:var(--yellow);color:var(--ink);width:100%}.secondary{background:var(--ink);color:#fff}.subtle{background:transparent;border:1px solid var(--line);color:var(--ink)}.notice{padding:14px 17px;background:#fff4d3;border:1px solid #e6c661;border-radius:10px;margin-bottom:18px}.guest-layout>.notice{grid-column:1/-1}.last-order{margin-top:20px;padding:15px;border-radius:12px;background:#f5f0e5}.last-order strong{display:block;margin-bottom:5px}.staff-heading{display:flex;justify-content:space-between;align-items:start;gap:20px}.staff-heading p{color:var(--muted)}.staff-actions{display:flex;gap:10px;align-items:center;margin:22px 0 28px;flex-wrap:wrap}.orders{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px}.order-card{padding:20px}.order-card.new{border-top:6px solid var(--red)}.order-card.accepted{border-top:6px solid var(--yellow)}.order-card.done{opacity:.7}.order-head{display:flex;justify-content:space-between;gap:10px}.badge{font-size:.75rem;font-weight:800;text-transform:uppercase}.order-items{padding:14px 0;margin:12px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.order-items div{display:flex;justify-content:space-between;gap:10px;margin:5px 0}.order-note{background:#f8f5ed;padding:10px;border-radius:8px;white-space:pre-wrap;overflow-wrap:anywhere}.order-card .primary{margin-top:14px}.product-admin{margin-top:45px;padding:24px}.product-form{display:grid;grid-template-columns:minmax(200px,2fr) minmax(100px,1fr) auto auto auto;gap:12px;align-items:end}.product-form .primary{width:auto}.checkbox{display:flex;gap:7px;align-items:center;margin-bottom:13px;white-space:nowrap}.checkbox input{width:auto}.admin-list{display:grid;gap:10px;margin-top:20px}.admin-row{box-shadow:none;padding:12px;display:flex;align-items:center;gap:14px;flex-wrap:wrap}.admin-row img,.admin-placeholder{width:64px;height:64px;object-fit:cover;border-radius:8px;background:#eee6d5}.admin-row .details{flex:1;min-width:160px}.admin-row .details span{display:block;color:var(--muted);font-size:.85rem;margin-top:4px}.admin-row input[type=file]{width:220px;font-size:.8rem;padding:7px}.login-panel{max-width:450px;margin:40px auto;padding:30px}.login-panel input{margin-bottom:16px}@media(max-width:850px){.guest-layout{grid-template-columns:1fr}.cart{position:static}.product-form{grid-template-columns:1fr 1fr}.product-form .primary{grid-column:1/-1}.intro{padding:28px}.intro:after{opacity:.4}}@media(max-width:520px){.top-label{font-size:.6rem}.guest-layout,.staff-layout{padding:20px 14px 50px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-photo{height:115px}.product-body{padding:12px}.product-body>div:first-child{display:block}.product-body h3{margin-bottom:5px}.product-form{grid-template-columns:1fr}}
.product-photo{height:180px;padding:12px;background:#fff;overflow:hidden}
.product-photo img{display:block;width:100%;height:100%;object-fit:contain;object-position:center}
@media(max-width:520px){.product-photo{height:145px;padding:8px}}
