:root { --paper:#f6eddd; --white:#fffaf2; --ink:#2f2119; --muted:#745f50; --red:#8f2723; --line:rgba(47,33,25,.2); font-family:Inter,"Noto Sans SC",system-ui,sans-serif; color:var(--ink); background:var(--paper); }
* { box-sizing:border-box; } body { margin:0; } button,input,select,textarea { font:inherit; } button { border:1px solid var(--ink); background:var(--white); border-radius:9px; padding:9px 13px; cursor:pointer; } button.primary, button[type="submit"] { background:var(--red); color:white; border-color:var(--red); } input,select,textarea { width:100%; padding:10px; border:1px solid var(--line); border-radius:8px; background:var(--white); color:var(--ink); } label { display:grid; gap:6px; font-weight:700; color:var(--muted); }
.dashboard-header { min-height:72px; padding:12px max(20px,calc((100% - 1180px)/2)); display:flex; align-items:center; justify-content:space-between; gap:20px; border-bottom:1px solid var(--line); background:var(--white); position:sticky; top:0; z-index:5; } .dashboard-header div { display:grid; text-align:center; } .dashboard-header small { color:var(--muted); } main { width:min(1180px,calc(100% - 32px)); margin:40px auto 100px; } .signin-card { width:min(520px,100%); margin:10vh auto; padding:34px; background:var(--white); border:1px solid var(--line); border-radius:16px; } .signin-card form { display:grid; gap:14px; } .eyebrow { margin:0 0 6px; color:var(--red); font-size:.76rem; font-weight:900; letter-spacing:.15em; text-transform:uppercase; } h1 { font-family:Georgia,serif; font-size:clamp(2rem,5vw,3.6rem); margin:0 0 16px; }
.tabs { display:flex; gap:8px; overflow:auto; padding-bottom:16px; border-bottom:1px solid var(--line); } .tabs button[aria-selected="true"] { background:var(--ink); color:white; } .tab-panel { padding-top:32px; } .tab-panel > header { display:flex; align-items:start; justify-content:space-between; gap:20px; margin-bottom:24px; } .button-row,.inline-form { display:flex; gap:10px; flex-wrap:wrap; } .status { min-height:1.5em; color:var(--red); }
.card-list { display:grid; gap:14px; } .dashboard-card { background:var(--white); border:1px solid var(--line); border-radius:14px; padding:18px; } .dashboard-card header { display:flex; justify-content:space-between; gap:16px; } .dashboard-card h2 { margin:0; font-size:1.15rem; } .dashboard-card p { margin:8px 0; } .dashboard-card small { color:var(--muted); } .card-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; } .card-actions input { width:145px; }
.menu-category-editor { margin-bottom:28px; padding:18px; background:rgba(255,250,242,.58); border:1px solid var(--line); border-radius:14px; } .category-editor-heading { display:flex; align-items:end; gap:10px; margin-bottom:12px; } .category-editor-heading label { flex:1; } .category-editor-actions { display:flex; gap:8px; flex-wrap:wrap; margin:12px 0; } .danger-button { color:var(--red); border-color:var(--red); } .dish-editor { display:grid; grid-template-columns:1.2fr 1fr 110px 100px; gap:10px; align-items:end; padding:12px 0; border-top:1px solid var(--line); } .dish-editor .description { grid-column:1/3; } .dish-editor .photo { grid-column:3/5; } .dish-editor .delete-dish { grid-column:4; justify-self:end; } details { margin-top:30px; } details textarea { margin:12px 0; font-family:ui-monospace,monospace; } .settings-form { display:grid; grid-template-columns:1fr 1fr; gap:16px; } .wide { grid-column:1/-1; } .checkbox { grid-template-columns:auto 1fr; align-items:center; } .checkbox input { width:auto; } .hours-editor { display:grid; gap:8px; margin-top:12px; } .hours-row { display:grid; grid-template-columns:100px 1fr 1fr auto; gap:10px; align-items:end; } .inline-form input { width:min(240px,100%); } .inline-form select { width:210px; }
@media (max-width:760px) { main { margin-top:22px; } .dashboard-header div { display:none; } .tab-panel > header { display:block; } .dish-editor,.settings-form { grid-template-columns:1fr; } .category-editor-heading { align-items:stretch; flex-direction:column; } .dish-editor .description,.dish-editor .photo,.dish-editor .delete-dish,.wide { grid-column:auto; } .dish-editor .delete-dish { justify-self:start; } .hours-row { grid-template-columns:76px 1fr 1fr; } .hours-row .closed { grid-column:2/4; } .inline-form { display:grid; } .inline-form input,.inline-form select { width:100%; } }
