:root{color-scheme:light;--cream:#f6f2ea;--paper:#fffdf8;--ink:#26231e;--muted:#716b61;--line:#e5ded2;--coffee:#4d2d20;--clay:#a95e40;--clay-soft:#f0e0d4;--green:#386847;--shadow:0 18px 55px rgba(67,42,27,.08)}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--cream);color:var(--ink);font:15px/1.5 Arial,Helvetica,sans-serif}
button,input,textarea,select{font:inherit}
button{cursor:pointer}
button:disabled{opacity:.55;cursor:wait}
a{color:inherit;text-decoration:none}
[hidden]{display:none!important}
:focus-visible{outline:3px solid var(--clay);outline-offset:3px}
.skip-link{position:absolute;top:-100px;left:16px;z-index:20;padding:10px 16px;background:var(--coffee);color:white}
.skip-link:focus{top:12px}
.site-header{height:88px;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(20px,5vw,72px);border-bottom:1px solid var(--line);background:rgba(255,253,248,.85)}
.brand{display:inline-flex;align-items:center;gap:12px}
.brand-mark{display:grid;place-items:center;width:41px;height:41px;border:1px solid var(--coffee);border-radius:50%;color:var(--coffee);font:italic 29px Georgia,serif;line-height:1}
.brand-name{font-weight:800;font-size:19px;letter-spacing:.18em;line-height:1.02;color:var(--coffee)}
.brand-name span{display:block;font-size:8px;letter-spacing:.44em;margin-top:4px}
.header-actions{display:flex;align-items:center;gap:25px}
.header-label,.eyebrow{font-size:10px;font-weight:800;letter-spacing:.19em;color:var(--clay)}
.store-link,.text-button{font-size:13px;font-weight:700;color:var(--coffee)}
.store-link span{margin-left:5px}
.text-button,.inline-button{border:0;background:none;padding:5px}
.text-button:hover,.inline-button:hover,.store-link:hover{text-decoration:underline}
h1,h2,h3,p{margin-top:0}
h1,h2,h3{font-family:Georgia,'Times New Roman',serif;font-weight:400;letter-spacing:-.045em}
.login-wrap{min-height:calc(100vh - 88px);display:grid;grid-template-columns:minmax(320px,1fr) minmax(410px,1fr);max-width:1300px;margin:auto;padding:clamp(24px,6vw,78px);gap:clamp(30px,8vw,120px);align-items:center}
.login-art{position:relative;min-height:550px;border-radius:200px 200px 10px 10px;background:linear-gradient(145deg,#735242,#43291e 63%,#2d211b);display:grid;place-items:center;overflow:hidden;box-shadow:var(--shadow)}
.art-circle{position:absolute;width:430px;height:430px;border:1px solid rgba(255,244,227,.28);border-radius:50%;box-shadow:0 0 0 62px rgba(255,244,227,.03),0 0 0 124px rgba(255,244,227,.025)}
.art-cup{position:relative;display:grid;place-items:center;width:255px;height:255px;border-radius:50%;border:21px solid #e3d0b8;background:radial-gradient(circle at 42% 39%,#ba8c67,#67402c 70%);color:#f2e3c8;font:italic 150px/.9 Georgia,serif;box-shadow:12px 20px 18px rgba(24,12,9,.3),inset 0 0 30px rgba(41,22,13,.35)}
.art-caption{position:absolute;bottom:38px;color:#f7ecdc;font:italic 19px Georgia,serif}
.login-card{max-width:470px}
.login-card h1{font-size:clamp(47px,5vw,68px);line-height:1.02;margin:18px 0 19px}
.login-card>p{color:var(--muted);max-width:330px;margin-bottom:35px}
.login-card form{display:grid;gap:10px}
label{font-size:12px;font-weight:750;color:var(--coffee)}
input:not([type=checkbox]),textarea,select{width:100%;border:1px solid #d8cdbf;border-radius:3px;background:var(--paper);padding:12px 14px;color:var(--ink);outline:none}
input:not([type=checkbox]):focus,textarea:focus,select:focus{border-color:var(--clay);box-shadow:0 0 0 3px rgba(169,94,64,.13)}
input::placeholder,textarea::placeholder{color:#9b9287}
.primary-button,.secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:16px;min-height:48px;padding:12px 20px;border-radius:3px;font-size:12px;font-weight:800;letter-spacing:.045em;transition:transform .15s ease,background-color .15s ease}
.primary-button{border:1px solid var(--coffee);background:var(--coffee);color:white}
.primary-button:hover{background:#67402f;transform:translateY(-1px)}
.secondary-button{background:transparent;border:1px solid #b9a99a;color:var(--coffee)}
.secondary-button:hover{background:#eee4d8}
.login-card .primary-button{margin-top:12px;justify-content:space-between}
.login-card small{display:block;margin-top:24px;color:var(--muted);line-height:1.6}
code{font-family:Consolas,monospace;font-size:11px}
.form-error{padding:10px 13px;border-left:3px solid #ab4238;background:#fae9e5;color:#943c32!important;margin-top:14px!important}
.dashboard{max-width:1500px;margin:auto;padding:clamp(24px,4vw,58px) clamp(20px,5vw,72px) 100px}
.dashboard-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:34px}
.dashboard-heading h1{font-size:clamp(48px,5vw,68px);line-height:1;margin:12px 0 8px}
.dashboard-heading p,.section-heading p{color:var(--muted);margin-bottom:0}
.date-label{color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.12em;padding-bottom:5px}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-bottom:37px}
.stat{padding:22px 26px 20px;border:1px solid var(--line);background:var(--paper);box-shadow:var(--shadow)}
.stat>span{display:block;color:var(--muted);font-size:12px;font-weight:700}
.stat strong{display:block;font:400 43px/1.2 Georgia,serif;margin:7px 0;color:var(--coffee)}
.stat small{font-size:11px;color:#948b80}
.workspace-tabs{display:flex;gap:30px;border-bottom:1px solid #d8cfc3;margin-bottom:35px}
.tab{border:0;border-bottom:2px solid transparent;margin-bottom:-1px;background:transparent;color:var(--muted);font-weight:750;padding:0 2px 15px}
.tab:hover,.tab.active{color:var(--coffee)}
.tab.active{border-color:var(--clay)}
.count{display:inline-grid;place-items:center;margin-left:7px;min-width:22px;height:20px;padding:0 5px;border-radius:20px;background:#e9e0d5;font-size:10px}
.section-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px}
.section-heading h2{font-size:38px;line-height:1;margin:9px 0}
.menu-layout{display:grid;grid-template-columns:minmax(320px,470px) minmax(400px,1fr);align-items:start;gap:22px}
.editor-card,.list-card{background:var(--paper);border:1px solid var(--line);box-shadow:var(--shadow)}
.editor-card{display:grid;gap:17px;padding:27px}
.editor-heading{display:flex;align-items:start;justify-content:space-between;margin-bottom:4px}
.editor-heading h3{font-size:28px;margin:6px 0 0}
.inline-button{font-size:12px;font-weight:750;color:var(--clay)}
.field{display:grid;gap:7px;min-width:0}
.field-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.field small{font-size:10px;color:var(--muted)}
textarea{resize:vertical;min-height:85px}
.switches{display:flex;flex-wrap:wrap;gap:13px 23px;padding:5px 0}
.check{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:700;color:var(--ink)}
.check input{accent-color:var(--clay);width:17px;height:17px;margin:0}
.editor-card .primary-button{justify-content:space-between;margin-top:2px}
.list-card{min-width:0}
.list-card-heading{display:flex;justify-content:space-between;align-items:center;padding:23px 26px;border-bottom:1px solid var(--line)}
.list-card-heading h3{font-size:25px;margin:0}
.list-card-heading span{color:var(--muted);font-size:11px}
.product-row{display:grid;grid-template-columns:65px minmax(120px,1fr) auto;gap:17px;align-items:center;padding:17px 24px;border-bottom:1px solid var(--line)}
.product-row:last-child{border-bottom:0}
.product-thumb{width:65px;height:65px;object-fit:cover;background:#e5dacc;border-radius:2px}
.product-copy{min-width:0}
.product-name{display:block;font-weight:750;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.product-meta{display:block;color:var(--muted);font-size:11px;margin-top:4px}
.product-price{font-size:12px;font-weight:800;color:var(--coffee)}
.product-actions{display:flex;gap:13px;justify-content:flex-end;margin-top:6px}
.product-actions button{border:0;background:transparent;padding:0;font-size:11px;font-weight:750;color:var(--clay)}
.product-actions button:hover{text-decoration:underline}
.product-actions .danger{color:#a13c30}
.pill{display:inline-block;padding:2px 7px;background:#e3f0e5;color:var(--green);border-radius:20px;font-size:10px;font-weight:700}
.pill.off{background:#eee8e2;color:#83786e}
.order-list{display:grid;gap:14px}
.order-card{display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:15px 25px;padding:23px 27px;background:var(--paper);border:1px solid var(--line);box-shadow:var(--shadow)}
.order-top{display:flex;flex-wrap:wrap;align-items:center;gap:10px 15px;margin-bottom:7px}
.order-top strong{font-size:14px;letter-spacing:.025em}
.order-time{font-size:11px;color:var(--muted)}
.order-customer{color:var(--coffee);font-size:13px;font-weight:700}
.order-contact,.order-address,.order-items{font-size:11px;color:var(--muted);overflow-wrap:anywhere}
.order-items{margin:13px 0 0;padding-left:16px}
.order-items li{padding:2px 0}
.order-side{text-align:right;display:grid;align-content:start;gap:12px}
.order-side strong{font:400 25px Georgia,serif;color:var(--coffee)}
.order-side label{text-align:left}
.order-side select{font-size:12px;padding:10px}
.empty-state{padding:55px 25px;text-align:center;color:var(--muted);background:var(--paper);border:1px solid var(--line)}
.empty-state strong{display:block;color:var(--coffee);font:400 25px Georgia,serif;margin-bottom:6px}
.notice{position:fixed;right:22px;bottom:22px;z-index:30;max-width:370px;padding:15px 19px;background:var(--coffee);color:white;box-shadow:0 12px 35px rgba(34,23,18,.25);font-size:13px}
.notice.error{background:#8f3b32}
@media(max-width:1050px){.menu-layout{grid-template-columns:1fr}.editor-card{max-width:none}.login-wrap{gap:40px}}
@media(max-width:700px){.site-header{height:70px}.header-label{display:none}.header-actions{gap:14px}.login-wrap{display:block;padding:20px;min-height:calc(100vh - 70px)}.login-art{display:none}.login-card{margin:12vh auto 0;padding:20px}.dashboard{padding:26px 18px 70px}.dashboard-heading{align-items:start}.date-label{display:none}.stats{gap:8px}.stat{padding:14px}.stat strong{font-size:29px}.stat small{display:none}.section-heading h2{font-size:32px}.product-row{grid-template-columns:53px minmax(0,1fr) auto;padding:13px;gap:10px}.product-thumb{width:53px;height:53px}.order-card{grid-template-columns:1fr}.order-side{text-align:left;grid-template-columns:1fr 1fr;align-items:end}.order-side label{grid-column:1/-1}.order-side select{grid-column:1/-1}}
@media(max-width:440px){.brand-name{font-size:15px}.brand-mark{width:35px;height:35px;font-size:24px}.store-link,.text-button{font-size:11px}.header-actions{gap:8px}.field-row{grid-template-columns:1fr}.section-heading{align-items:start;flex-direction:column}.stats{grid-template-columns:repeat(3,1fr)}.stat>span{font-size:10px}.stat strong{font-size:25px}.editor-card{padding:19px}.product-price{font-size:11px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
