:root{--dark:#442e25;--dark2:#33251f;--peach:#ef7f42;--cream:#fff8f0;--tan:#f3e4d1;--ink:#342a23;--muted:#765e50;--line:#e2d1bd;--white:#fff;--red:#9c4030}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:#f7f1e8;font:15px/1.55 'DM Sans',Arial,sans-serif}button,input,textarea{font:inherit}button{cursor:pointer;touch-action:manipulation}button:disabled{opacity:.55;cursor:wait}.top{background:var(--dark);color:#fff;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:28px max(5vw,20px)}.top small{font-size:10px;letter-spacing:.2em;color:#f8b68b}.top h1{font:500 clamp(28px,4vw,44px)/1.1 'Playfair Display',Georgia,serif;margin:7px 0}.top-link{color:#fff;border:1px solid #b58f74;padding:12px 17px;text-decoration:none;white-space:nowrap;font-size:13px}.top-link:hover{background:#594033}main{max-width:1060px;margin:0 auto;padding:28px 20px 70px}.intro,.panel,.auth-card{background:white;border:1px solid var(--line);box-shadow:0 7px 27px #6241270b}.intro{padding:26px 30px;margin:0 0 20px;background:var(--tan);display:flex;justify-content:space-between;align-items:center;gap:22px}.intro h2,.panel h2,.auth-card h2{font:500 clamp(25px,3.8vw,38px)/1.18 'Playfair Display',Georgia,serif;margin:0 0 10px}.intro p,.panel p,.auth-card p{color:var(--muted)}.intro p{margin:0;max-width:570px}.account{text-align:right;font-size:12px;color:var(--muted)}.account span{display:block;margin-bottom:8px}.panel{margin-bottom:18px;padding:26px 30px}.section-title{display:flex;align-items:flex-start;gap:20px;margin-bottom:25px}.section-title>span{border:1px solid var(--peach);color:#a74d27;border-radius:50%;display:grid;place-items:center;width:40px;height:40px;flex:none;font-weight:700;font-size:12px}.section-title p{margin:0}.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 20px}.fields .wide{grid-column:1/-1}label{font-size:13px;font-weight:700;color:#4c3b31;display:flex;flex-direction:column;gap:6px}input:not([type=checkbox]),textarea{display:block;width:100%;background:var(--cream);color:var(--ink);border:1px solid #d7c2aa;border-radius:5px;min-height:44px;padding:11px 12px;outline-color:var(--peach)}input[type=file]{padding:8px;background:white}textarea{resize:vertical}.check{flex-direction:row;align-items:center;font-weight:500}.check input{accent-color:var(--peach);width:18px;height:18px}button:not(.outline):not(.danger),.link-button{background:var(--peach);color:#2c211b;border:1px solid #dc6b2d;padding:11px 16px;border-radius:4px;font-weight:700}.outline,.danger{background:white;color:var(--dark);border:1px solid #a78c75;padding:10px 14px;border-radius:4px}.danger{border-color:#e4b9b0;color:var(--red)}button:hover{filter:brightness(.97)}.actions{display:flex;gap:10px;flex-wrap:wrap}.feedback{font-size:13px;min-height:1.5em;margin:12px 0 4px!important;color:#316c56!important}.feedback.error,.banner-feedback.error{color:var(--red)!important}.subheading{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);margin-top:18px;padding-top:12px}.subheading h3{font-size:16px}.subheading small{color:var(--muted)}.entries{display:grid;gap:12px}.entry{display:flex;gap:14px;align-items:center;justify-content:space-between;padding:12px;background:var(--cream);border:1px solid var(--line)}.entry img{width:92px;height:88px;object-fit:cover;border-radius:3px;flex:none}.entry-copy{flex:1;min-width:0}.entry h4{margin:0 0 4px;font-size:16px}.entry p{margin:0 0 5px;font-size:13px}.entry small{color:var(--muted)}.entry-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.entry-actions button{font-size:12px;padding:6px 9px}.status{font-size:11px;border-radius:100px;padding:4px 8px;background:#e6e0d5;color:#594b3b;display:inline-block;margin-top:5px}.status.on{background:#d8f2e2;color:#145b34}.status.wait{background:#fff1c8}.tabs{display:flex;gap:8px;margin:15px 0;flex-wrap:wrap}.tabs button{border:1px solid #d9c5b1;background:white;padding:10px 18px;color:var(--dark);border-radius:30px}.tabs button.active{background:var(--dark);color:white;border-color:var(--dark)}.hours-heading,.hours-row{display:grid;grid-template-columns:1fr minmax(100px,1.4fr) minmax(100px,1.4fr);gap:8px;align-items:center}.hours-heading{font-size:12px;color:var(--muted);font-weight:700}.hours-row{padding:7px 0;border-top:1px solid var(--line)}.hours-row .day{font-weight:700;font-size:14px}.hours-row input{min-height:38px;padding:7px 8px}.hours-row label{display:block}.hours-row+button,#hours-form>button{margin-top:15px}.active-schedule{border-top:1px solid var(--line);margin-top:20px;padding-top:10px}.active-schedule p{font-size:14px}.image-preview img{max-height:220px;max-width:100%;object-fit:contain}.gallery-admin-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;margin-top:25px}.gallery-item{border:1px solid var(--line);background:var(--cream);padding:9px;min-width:0}.gallery-item img{width:100%;height:140px;object-fit:cover}.gallery-item h4{font-size:13px;margin:7px 0}.gallery-item .entry-actions{justify-content:flex-start}.gallery-item.off{opacity:.6}.auth-card{max-width:540px;margin:5vh auto;padding:35px}.auth-card form{display:grid;gap:15px;margin-top:22px}.auth-card button{width:100%}.eyebrow{font-size:10px;letter-spacing:.2em;color:#ba643b!important}.loading{text-align:center;padding:7vh;color:var(--muted)}.banner-feedback{background:#ebf6ec;color:#265c34;padding:13px 18px;border:1px solid #b1d7bd;position:sticky;top:0;z-index:5}.end{text-align:center}.link-button{display:inline-block;text-decoration:none;background:var(--dark)!important;color:white!important;border:0}.end p{max-width:600px;margin:0 auto 20px}footer{text-align:center;background:var(--dark2);padding:20px;color:#edd9c4;font-size:12px}
@media(max-width:650px){.top{padding:22px 16px}.top h1{font-size:29px}.top-link{font-size:11px;padding:8px}.intro{padding:22px 18px;display:block}.account{text-align:left;margin-top:15px}.panel{padding:20px 15px}.section-title{gap:10px}.section-title>span{width:35px;height:35px}.fields{grid-template-columns:1fr;gap:13px}.fields .wide{grid-column:1}.hours-heading,.hours-row{grid-template-columns:82px 1fr 1fr;gap:5px}.hours-row .day{font-size:12px}.hours-row input{font-size:12px}.entry{align-items:flex-start;flex-wrap:wrap}.entry-actions{width:100%;justify-content:flex-start}.entry img{width:76px;height:76px}.auth-card{padding:25px 20px}.gallery-admin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery-item .entry-actions button{padding:5px 6px}}

/* Navigazione laterale — palette Il Pane di Marty */
.sidebar[hidden],.sidebar-backdrop[hidden]{display:none!important}
.sidebar{position:fixed;inset:0 auto 0 0;width:274px;height:100vh;height:100dvh;overflow-y:auto;display:flex;flex-direction:column;padding:23px 20px 20px;background:linear-gradient(170deg,#4b3128 0%,#382720 100%);color:#f9ede1;z-index:30;box-shadow:4px 0 24px #23170f20}
.sidebar-brand{display:flex;align-items:center;gap:12px;min-width:0}
.sidebar-brand strong{font:500 22px/1.05 Georgia,serif;display:block;letter-spacing:-.02em;color:#ffb18c}
.sidebar-brand small{display:block;letter-spacing:.16em;font-size:9px;margin-top:7px;color:#e6c6b2}
.sidebar-monogram{height:53px;width:53px;border:1px solid #f3ad80;border-radius:50%;display:grid;place-items:center;flex:none;font:italic 35px Georgia,serif;color:#ffb18c}
.sidebar-rule{border-top:1px solid #dca58640;margin:23px 0 19px}
.sidebar-eyebrow{font-weight:700;letter-spacing:.16em;font-size:10px;color:#dcbbaa;margin:0 10px 12px}
.sidebar-business{display:flex;align-items:center;gap:12px;padding:13px;border:1px solid #c899784d;border-radius:12px;background:#ffffff10}
.sidebar-business-icon{height:42px;width:42px;flex:none;border-radius:12px;background:#ffffff13;display:grid;place-items:center;font-size:23px}
.sidebar-business strong,.sidebar-business small{display:block}
.sidebar-business strong{font-size:14px;color:#fff4eb}
.sidebar-business small{font-size:11px;color:#d8b8a7}
.sidebar-nav-title{margin-top:27px}
.sidebar-links{display:grid;gap:3px}
.sidebar-link{display:flex;align-items:center;gap:13px;padding:12px 13px;min-height:46px;border-radius:8px;text-decoration:none;color:#ebd7ca;font-size:14px;font-weight:500;transition:background .15s,color .15s}
.sidebar-link:hover{background:#ffffff16;color:#fff}
.sidebar-link.current{background:#f4dfc5;color:#432e25;font-weight:700}
.sidebar-link svg{width:19px;height:19px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.sidebar-count{margin-left:auto;border-radius:30px;padding:2px 8px;font-size:11px;background:#e58a56;color:#31241d;font-weight:800}
button.sidebar-action:not(.outline):not(.danger){width:100%;background:transparent;border:0;color:#ebd7ca;border-radius:8px;padding:12px 13px;text-align:left;font-weight:500}
button.sidebar-action:hover{background:#ffffff16!important;color:#fff!important}
.sidebar-signature{margin-top:auto;padding:22px 10px 0;display:flex;gap:12px;align-items:center;border-top:1px solid #dca58640;color:#f5e2cf}
.sidebar-signature-mark{width:35px;height:35px;display:grid;place-items:center;flex:none;border:1px solid #f3ad80;border-radius:8px;font:italic 24px Georgia,serif;color:#ffb18c}
.sidebar-signature small{display:block;font-size:9px;letter-spacing:.1em;color:#ddbdac}
.sidebar-signature strong{display:block;font-size:12px}
.sidebar-close,.menu-toggle{display:none}
.sidebar-backdrop{display:none}
body.admin-ready .top,body.admin-ready footer{margin-left:274px}
body.admin-ready main{margin:0 0 0 274px;max-width:none;width:calc(100% - 274px);padding:30px 34px 70px}
body.admin-ready #dashboard{max-width:1040px;margin:0 auto}
#dashboard-overview,#products-panel,#hours-panel,#closures-panel,#gallery-panel{scroll-margin-top:18px}
.sidebar a:focus-visible,.sidebar button:focus-visible,.menu-toggle:focus-visible{outline:3px solid #f6b28b;outline-offset:3px}
@media(max-width:920px){
  body.admin-ready .top,body.admin-ready footer{margin-left:0}
  body.admin-ready main{margin:0 auto;max-width:1060px;width:auto;padding:25px 18px 70px}
  .sidebar{width:min(335px,86vw);transform:translateX(-103%);transition:transform .24s ease;box-shadow:none;visibility:hidden}
  .sidebar.open{transform:translateX(0);visibility:visible;box-shadow:8px 0 30px #21130f45}
  body button.menu-toggle:not(.outline):not(.danger){display:grid;place-items:center;flex:none;width:43px;height:43px;padding:9px;background:transparent;color:#fff;border:1px solid #ba927d;border-radius:7px}
  .menu-toggle svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
  body button.sidebar-close:not(.outline):not(.danger){display:grid;place-items:center;margin-left:auto;background:transparent;color:#fff;border:0;padding:0;width:34px;height:34px;font-size:29px;font-weight:300}
  .sidebar-backdrop:not(.outline):not(.danger){position:fixed;inset:0;z-index:25;display:block;width:100%;height:100%;padding:0;border:0;border-radius:0;background:#20130cb8;backdrop-filter:blur(2px)}
  .top{justify-content:flex-start;gap:12px}
  .top-heading{min-width:0;flex:1}
  .top-heading small{font-size:9px}
  .top-heading h1{font-size:clamp(23px,5.5vw,30px)}
  .top-link{font-size:11px}
  body.sidebar-open{overflow:hidden}
}
@media(max-width:520px){
  body.admin-ready .top{padding:17px 15px}
  body.admin-ready .top-link{display:none}
  .sidebar{padding:23px 21px 26px}
}
@media(prefers-reduced-motion:reduce){.sidebar{transition:none}}
