:root{--cream:#f7f2e9;--paper:#fffdf9;--brown:#352722;--deep:#281b18;--terra:#a55d3e;--terra-dark:#82412c;--line:#e4dad0;--muted:#7d7069;--good:#21865a;--shadow:0 10px 28px rgba(68,44,29,.08)}*{box-sizing:border-box}body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;background:var(--cream);color:var(--brown)}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #e4a46b;outline-offset:2px}a{color:inherit}button,a{-webkit-tap-highlight-color:transparent}.app-shell{display:grid;grid-template-columns:236px minmax(0,1fr);min-height:100dvh}.sidebar{background:linear-gradient(165deg,#49332b,#251916);color:#fffbf4;padding:24px 16px;display:flex;flex-direction:column;gap:26px}.logo-block{display:flex;align-items:center;gap:11px;padding:8px 9px}.logo-mark{background:#f0e3d2;color:#603923;padding:10px;border-radius:15px;font-size:25px}.logo-block strong{font-size:25px;letter-spacing:1px}.logo-block small{display:block;color:#ebc9ab;letter-spacing:.4px}.nav{display:grid;gap:5px}.nav button{background:transparent;border:0;color:#eee5df;text-align:left;padding:13px;border-radius:11px;font-weight:600}.nav button.active{background:#aa6243;color:white}.nav button:hover{background:#78503e}.side-foot{margin-top:auto;background:rgba(255,255,255,.075);border:1px solid rgba(255,255,255,.13);padding:14px;border-radius:13px;font-size:13px;line-height:1.6}.side-foot b{color:#f5d3ac}.workspace{padding:24px clamp(18px,3.5vw,52px) 66px;max-width:1600px;width:100%;margin:0 auto}.top{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:28px}.top-title small,.eyebrow{text-transform:uppercase;letter-spacing:1.7px;font-size:11px;font-weight:800;color:var(--terra)}.top-title h1{margin:4px 0 0;font-size:clamp(25px,3vw,37px);letter-spacing:-1.2px}.tag{font-size:11px;padding:6px 9px;border-radius:999px;border:1px solid #d9c5b5;background:#fbf1e6;font-weight:750;white-space:nowrap}.tag.green{color:#176d46;background:#e5f5ea;border-color:#bce2c8}.tag.orange{color:#955b20;background:#fff2d9;border-color:#f5d9a0}.notice{background:#fff6e7;border:1px solid #f0d8b8;color:#835321;padding:12px 14px;border-radius:13px;font-size:13px;line-height:1.45;margin-bottom:18px}.card{background:var(--paper);border:1px solid var(--line);border-radius:18px;padding:21px;box-shadow:var(--shadow)}.card h2,.card h3{margin:0 0 9px}.card h2{font-size:20px}.card h3{font-size:17px}.sub{font-size:13px;color:var(--muted);line-height:1.5}.grid{display:grid;gap:17px}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.mt{margin-top:19px}.flex{display:flex;align-items:center;gap:12px}.between{justify-content:space-between}.wrap{flex-wrap:wrap}.btn{background:var(--terra);border:1px solid var(--terra);color:white;font-weight:750;border-radius:11px;padding:11px 16px;display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap}.btn:hover{background:var(--terra-dark)}.btn.out{background:#fffaf4;color:#763e2d;border-color:#d9b9a6}.btn.out:hover{background:#f9ece2}.btn.min{padding:8px 11px;font-size:12px}.btn.danger{background:#fff5f2;color:#982b24;border-color:#e7b7ae}.btn:disabled{background:#dbc4b6;border-color:#dbc4b6}.stat{padding:18px;border:1px solid var(--line);border-radius:15px;background:var(--paper)}.stat strong{display:block;font-size:27px}.stat span{font-size:12px;color:var(--muted)}.link-field{border:1px dashed #c7aa94;border-radius:11px;background:#fbf6f0;padding:10px 12px;word-break:break-all;font-size:13px}.actions{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.action{border:1px solid var(--line);border-radius:14px;background:#fffdf9;padding:18px 10px;display:grid;gap:7px;justify-items:center;color:var(--brown)}.action:hover{border-color:var(--terra);background:#fff6ee}.action .ico{font-size:25px}.action b{font-size:12px}.product-list{display:grid;gap:9px}.product-row{display:flex;align-items:center;gap:13px;border:1px solid var(--line);border-radius:13px;background:white;padding:10px}.food-thumb{width:58px;height:58px;flex:0 0 58px;border-radius:10px;display:grid;place-items:center;background:#f3e3d1;font-size:30px;overflow:hidden}.food-thumb img{width:100%;height:100%;object-fit:cover}.product-row .grow{min-width:0;flex:1}.product-row b{display:block}.product-row small{display:block;color:var(--muted);margin-top:2px}.line{height:1px;background:var(--line);margin:15px 0}.input-group{display:grid;gap:6px;margin:0 0 14px}.input-group label{font-size:12px;font-weight:800;color:#6f5547}.input-group input,.input-group textarea,.input-group select{width:100%;border:1px solid #dacec3;border-radius:10px;background:white;padding:11px 12px;color:#33231d;min-height:42px}.input-group textarea{min-height:75px;resize:vertical}.input-group small{color:var(--muted)}.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.pill-list{display:flex;gap:8px;flex-wrap:wrap}.pill{border:1px solid #d5c6ba;background:#fff;border-radius:999px;padding:8px 13px;font-size:12px;font-weight:700}.pill.selected{background:#a65c3e;color:white;border-color:#a65c3e}.tile{padding:13px;border:1px solid var(--line);border-radius:12px;background:#fff}.tile.selected{border:2px solid var(--terra);background:#fff6f0}.tile b{font-size:13px}.tile small{display:block;font-size:11px;color:var(--muted);margin-top:3px}.chip{display:inline-flex;align-items:center;gap:5px;background:#f6eae0;border-radius:8px;padding:5px 8px;font-size:11px;font-weight:750;color:#80533a}.switch{display:inline-flex;align-items:center;gap:9px;font-size:13px;font-weight:650}.switch input{accent-color:var(--terra);width:17px;height:17px}.footer-actions{display:flex;justify-content:flex-end;gap:9px;flex-wrap:wrap;padding-top:10px}.modal-back{position:fixed;inset:0;background:rgba(24,14,10,.61);z-index:100;display:flex;justify-content:center;align-items:center;padding:18px}.modal{background:#fffcf8;border-radius:20px;padding:23px;width:min(730px,100%);max-height:94dvh;overflow:auto;box-shadow:0 24px 70px #100a08aa}.modal h2{margin:0 0 17px}.close{border:0;background:transparent;font-size:26px}.preview-box{border:1px solid #d6c3b3;border-radius:15px;overflow:hidden;background:#271c19}.screen-tools{display:flex;gap:8px;justify-content:flex-end;margin-bottom:10px}.brand-color{display:flex;align-items:center;gap:11px}.brand-color input[type=color]{width:56px;height:43px;border:0;background:none;padding:0;cursor:pointer}.tv-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.tv-box{border:1px solid var(--line);background:#2f2520;border-radius:13px;padding:8px;color:white;display:grid;gap:5px}.tv-box strong{font-size:12px}.tv-stage{aspect-ratio:16/9;width:100%;min-height:340px;overflow:hidden;position:relative;background:#1e1714;color:white;display:flex;flex-direction:column;padding:2.5% 3% 1.4%;font-family:Arial,sans-serif}.tv-top{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:2%}.tv-top h2{font-size:clamp(24px,3.6vw,55px);margin:0;line-height:1.05;letter-spacing:-1px}.tv-top small{font-size:clamp(10px,1.1vw,17px);letter-spacing:2px}.tv-time{font-size:clamp(13px,1.3vw,20px);color:#f4d7aa}.tv-cards{display:grid;grid-template-columns:1.15fr 1fr;gap:2%;min-height:0;flex:1}.tv-stage.layout-grid4 .tv-cards{grid-template-columns:repeat(2,1fr)}.tv-stage.layout-grid6 .tv-cards{grid-template-columns:repeat(3,1fr)}.tv-card{border-radius:13px;overflow:hidden;display:flex;flex-direction:column;position:relative;min-height:0;background:#4c3329;border:1px solid #ffffff27}.tv-stage.layout-hero .tv-card:first-child{grid-row:span 3}.tv-stage.layout-hero .tv-cards{grid-template-rows:repeat(3,1fr)}.tv-stage.layout-hero .tv-card:not(:first-child){display:grid;grid-template-columns:34% 1fr}.tv-stage.layout-hero .tv-card:not(:first-child) .tv-pic{min-height:0}.tv-pic{background:#a3673b center/cover;flex:1;min-height:0;display:grid;place-items:center;font-size:clamp(27px,4vw,69px)}.tv-pic img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.tv-info{padding:9px 12px;background:#000a;position:relative;display:flex;justify-content:space-between;gap:8px;align-items:center}.tv-info strong{font-size:clamp(12px,1.35vw,22px)}.tv-info .price{color:#ffd18a;white-space:nowrap;font-size:clamp(12px,1.45vw,24px);font-weight:900}.tv-stage.layout-hero .tv-card:first-child .tv-info{padding:18px}.tv-stage.layout-hero .tv-card:first-child .tv-info strong{font-size:clamp(19px,2.7vw,37px)}.tv-bottom{min-height:7%;margin-top:1.2%;display:flex;align-items:center;justify-content:space-between;font-size:clamp(10px,1vw,16px);color:#ebd8bd;gap:12px}.tv-stage.layout-grid4 .tv-cards,.tv-stage.layout-grid6 .tv-cards{grid-template-rows:repeat(2,1fr)}.tv-stage.layout-grid4 .tv-card:nth-child(n+5),.tv-stage.layout-grid6 .tv-card:nth-child(n+7){display:none}.tv-stage.layout-grid4 .tv-info,.tv-stage.layout-grid6 .tv-info{padding:7px 10px}.public-site{min-height:100dvh;background:var(--rest-bg,#faf6ef);color:var(--rest-text,#2b211e)}.public-site button{color:inherit}.public-head{max-width:960px;margin:auto;padding:17px 19px;display:flex;align-items:center;justify-content:space-between;gap:12px}.public-logo{font-size:25px;font-weight:900;letter-spacing:.7px}.public-logo small{display:block;font-size:11px;font-weight:600}.public-cover{height:240px;position:relative;background:linear-gradient(125deg,#6b311d,#331f1a);display:flex;align-items:flex-end;justify-content:center;color:white;text-align:center;padding:29px;overflow:hidden}.public-cover:before{content:'';position:absolute;inset:0;background:linear-gradient(transparent,#0009)}.public-cover.has-image{background-position:center;background-size:cover}.public-cover-inner{z-index:1}.public-cover h1{font-size:clamp(28px,5vw,53px);margin:0 0 6px}.public-cover p{margin:0}.public-main{max-width:880px;margin:auto;padding:18px}.pub-cats{display:flex;gap:8px;overflow-x:auto;padding:4px 0 20px;scrollbar-width:none;position:sticky;top:0;z-index:3;background:var(--rest-bg,#faf6ef)}.pub-cat{background:#fff;border:1px solid #ddd0c7;border-radius:999px;padding:11px 17px;white-space:nowrap;color:#403329!important;font-weight:750}.pub-cat.active{background:var(--rest-primary,#991e1e);color:white!important;border-color:transparent}.pub-list{display:grid;gap:10px}.pub-product{display:flex;gap:13px;background:#fff;border-radius:14px;padding:12px;border:1px solid #e5dcd4;align-items:center}.pub-product .food-thumb{width:80px;height:80px;flex-basis:80px}.pub-product h3{margin:0;font-size:16px}.pub-product p{margin:4px 0;color:#74675f;font-size:12px;line-height:1.4}.pub-product .price{font-size:16px;color:var(--rest-primary,#991e1e);font-weight:850}.pub-product .badges{font-size:11px;color:#73605a}.pub-footer{text-align:center;font-size:12px;color:#8d817d;padding:25px}.pub-footer b{font-weight:700}.mobile-tabbar{display:none}.pub-empty{text-align:center;padding:65px 22px}.pub-link{border:0;background:none;color:inherit;text-decoration:underline}.qr-wrap{display:flex;align-items:center;justify-content:center;border:1px solid var(--line);padding:18px;border-radius:14px;background:white;min-height:205px}.qr-wrap canvas,.qr-wrap img{max-width:100%}.rev{border:1px solid var(--line);background:white;padding:13px;border-radius:11px;display:flex;align-items:center;justify-content:space-between;gap:10px;margin:8px 0}.okdot{background:#d9f4e3;color:#177549;border-radius:8px;padding:5px 8px;font-size:11px}.admin-toolbar{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.allergen{font-size:12px;background:#fff4eb;border-radius:9px;padding:9px 12px;display:inline-flex;align-items:center;gap:6px}.allergen input{accent-color:#a55d3e}.live-toggle{accent-color:#21865a;width:18px;height:18px}.empty{border:1px dashed #c8b6a5;border-radius:13px;text-align:center;padding:25px;color:var(--muted)}.mobile-nav{display:none}.print-only{display:none}@media(max-width:1100px){.actions{grid-template-columns:repeat(2,1fr)}.grid.four{grid-template-columns:repeat(2,1fr)}}@media(max-width:820px){.app-shell{grid-template-columns:1fr}.sidebar{display:none}.workspace{padding:23px 15px 103px}.top{align-items:flex-start}.grid.two,.grid.three,.grid.four{grid-template-columns:1fr}.field-grid{grid-template-columns:1fr}.tv-grid{grid-template-columns:1fr 1fr}.mobile-nav{position:fixed;bottom:0;left:0;right:0;display:flex;background:#31211d;z-index:20;min-height:70px;padding-bottom:env(safe-area-inset-bottom);box-shadow:0 -3px 15px #0002}.mobile-nav button{flex:1;background:none;border:0;color:#e9d5c6;display:grid;gap:2px;justify-items:center;align-content:center;font-weight:700;font-size:11px}.mobile-nav button.active{color:#ffd69d;background:#513227}.mobile-nav span{font-size:20px}.top-title h1{font-size:27px}.tv-stage{min-height:240px}.tv-top h2{font-size:24px}.tv-info strong{font-size:12px}.tv-info .price{font-size:12px}.tv-stage.layout-hero .tv-card:first-child .tv-info strong{font-size:17px}.tv-stage.layout-hero .tv-card:first-child .tv-info{padding:9px}.tv-pic{font-size:35px}.pub-cats{top:0}}@media(max-width:480px){.card{padding:17px}.top{gap:5px}.top-title h1{font-size:25px}.product-row{flex-wrap:wrap}.product-row .grow{width:calc(100% - 85px)}.tv-grid{grid-template-columns:1fr 1fr}.tv-stage{padding:12px;aspect-ratio:16/10;min-height:200px}.tv-top small,.tv-time{font-size:9px}.tv-bottom{font-size:8px}.tv-info{padding:4px 5px;gap:3px}.tv-info strong,.tv-info .price{font-size:10px}.tv-stage.layout-hero .tv-card:first-child .tv-info strong{font-size:12px}.tv-stage.layout-hero .tv-card:first-child .tv-info{padding:5px}.tv-stage.layout-hero .tv-card:not(:first-child) .tv-info{padding:3px}.tv-stage.layout-hero .tv-card:not(:first-child) .tv-info strong{font-size:8px}.tv-stage.layout-hero .tv-card:not(:first-child) .tv-info .price{font-size:8px}.public-cover{height:205px}.pub-product .food-thumb{width:73px;height:73px;flex-basis:73px}.pub-product h3{font-size:14px}.actions{grid-template-columns:repeat(2,1fr)}}@media(min-width:900px){.public-site.is-tv{height:100dvh;overflow:hidden;display:grid;place-items:stretch}.public-site.is-tv .tv-stage{height:100dvh;aspect-ratio:auto;min-height:0}.public-site.is-tv .tv-top h2{font-size:clamp(34px,4vw,78px)}.public-site.is-tv .tv-pic{font-size:clamp(45px,7vw,110px)}.public-site.is-tv .tv-info strong{font-size:clamp(17px,2vw,35px)}.public-site.is-tv .tv-info .price{font-size:clamp(17px,2vw,35px)}.public-site.is-tv .tv-stage.layout-hero .tv-card:first-child .tv-info strong{font-size:clamp(28px,3vw,60px)}}@media print{.sidebar,.mobile-nav,.top,.admin-toolbar,.screen-tools,.btn,.notice{display:none!important}.workspace{padding:0}.card{box-shadow:none}.print-only{display:block}}
/* Menu Smart — Editor persistente v0.5 */
.initial-loading{padding:60px;text-align:center;font-size:18px}.toolbar{display:flex;flex-wrap:wrap;gap:9px;align-items:center}.toolbar .muted{font-size:12px}.status-ok{color:#24794b}.status-err{color:#b83e35}.status-pill{border-radius:20px;padding:5px 11px;background:#ebf6ee;font-size:12px;font-weight:700;color:#2a7045}.status-pill.pending{color:#a1622e;background:#fff0db}.editor-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}.field{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:650}.field input,.field textarea,.field select{border:1px solid #d9cfc4;border-radius:11px;padding:10px 11px;background:white;color:var(--brown);min-height:43px;width:100%}.field textarea{min-height:84px;resize:vertical}.item-card{display:flex;gap:12px;align-items:center;border:1px solid #eee3d7;background:white;border-radius:14px;padding:12px;margin:10px 0}.item-card>div:first-child{flex:1;min-width:0}.item-card p{margin:3px 0 0;font-size:13px;color:#76685d}.mini-preview{width:68px;height:68px;object-fit:cover;border-radius:10px}.item-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.editor-area{min-height:240px}.notice-soft{border:1px solid #e6d5c2;border-radius:13px;background:#fff7ea;padding:14px;font-size:13px;line-height:1.6}.alert-error{background:#fce9e5;border-color:#eda9a0;color:#842e23}.small-button{font-size:12px;min-height:34px;padding:7px 10px}.mode-link{display:inline-flex;align-items:center;gap:6px;font-weight:700;color:#a65437}.allergen-pills{display:flex;flex-wrap:wrap;gap:7px}.allergen-pills label{border:1px solid #ddd1c4;border-radius:30px;padding:7px 10px;font-size:12px;background:#fff;cursor:pointer}.allergen-pills input{margin-right:5px}.preview-box{border:1px solid #dfcfbf;border-radius:18px;padding:20px;background:#fff;min-height:130px}.codebox{font:12px ui-monospace,Consolas,monospace;overflow-wrap:anywhere;background:#f4eee7;border-radius:12px;padding:12px}.app-error{margin-top:15px}.app-shell .sidebar a{color:inherit}.card h2{margin-top:0}.app-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}.app-tabs button{border:1px solid #ded0c2;border-radius:14px;padding:10px 13px;background:#fff;font-weight:650}.app-tabs button.active{background:#aa6243;color:white;border-color:#aa6243}.product-row-s{display:flex;align-items:center;gap:12px;border-bottom:1px solid #f1e8dc;padding:12px 0}.product-row-s .grow{flex:1;min-width:0}.product-row-s small{display:block;color:#8b7768;margin-top:4px}.screen-heading{margin:0 0 15px}.result-msg{padding:10px 13px;border:1px solid #c9e5d4;background:#edf8f0;border-radius:9px;color:#256343;font-size:13px}.result-msg.error{border-color:#efbdb4;background:#fff1ed;color:#a43c32}.mobile-action-panel{display:none}.file-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.app-link{color:#964b35;font-weight:700}.qr-placeholder{font-size:12px;color:#7b6d64}.grid-two{display:grid;grid-template-columns:1fr 1fr;gap:18px}.right{text-align:right}.pill{display:inline-block;background:#f0e9dd;border-radius:100px;font-size:12px;padding:4px 9px;color:#715645}.offline{opacity:.5}.grow{flex:1}.compact{margin:0}.space{margin:17px 0}.danger-text{color:#b53429}
@media(max-width:760px){.app-shell{display:block}.app-shell .sidebar{display:flex;position:relative;min-height:auto;padding:10px 14px;gap:8px}.app-shell .sidebar .logo-block{padding:4px}.app-shell .sidebar nav{display:flex;overflow:auto;gap:5px}.app-shell .sidebar nav button{min-width:max-content}.app-shell .sidebar .side-foot{display:none}.app-shell .workspace{padding:22px 14px 70px}.top{align-items:flex-start;flex-wrap:wrap}.editor-grid{grid-template-columns:1fr}.grid-two{grid-template-columns:1fr}}

.mobile-logout{display:none}
@media(max-width:760px){.mobile-logout{display:inline-flex}.app-shell .sidebar{border-radius:0}.app-shell .sidebar .logo-block{gap:7px}.app-shell .sidebar .logo-block strong{font-size:21px}.app-shell .sidebar nav button{padding:9px 12px;font-size:12px}.app-shell .sidebar nav{scrollbar-width:thin}.app-shell .sidebar{overflow:hidden}}

/* POREM Menu Smart v0.6: visual system matching the approved design direction. */
:root{--cream:#f5efe5;--paper:#fffdf9;--brown:#31221d;--deep:#251713;--terra:#a85432;--terra-dark:#853a23;--line:#e5d9cb;--muted:#77665e;--shadow:0 10px 32px rgba(56,31,17,.07)}
html{scroll-behavior:smooth}body{background:#f6f0e8;font-size:15px}button,input,textarea,select{font:inherit}button{transition:background .18s,border-color .18s,transform .18s}button:hover{transform:translateY(-1px)}.redesigned.app-shell{grid-template-columns:238px minmax(0,1fr);min-height:100vh}.redesigned .sidebar{background:linear-gradient(169deg,#432a21 0%,#33221c 55%,#241815 100%);padding:23px 14px 20px;gap:17px;position:sticky;top:0;height:100vh;overflow:auto}.porem-logo{display:flex;align-items:center;gap:10px;color:#fff;text-align:left}.porem-logo-icon{width:48px;height:49px;display:grid;place-items:center;background:#f2dac5;color:#62341f;border-radius:13px;flex:none}.porem-logo strong{font-size:26px;line-height:1;display:block;letter-spacing:-.9px}.porem-logo small{display:block;color:#eac4a6;font-weight:750;font-size:14px;margin-top:4px}.redesigned .sidebar .porem-logo{padding:9px 6px 15px;border-bottom:1px solid #ffffff25}.aside-caption{font-size:10px;letter-spacing:1.9px;font-weight:850;color:#caad94;padding:4px 11px}.redesigned .sidebar .nav{display:grid;gap:4px}.redesigned .sidebar .nav button{display:flex;align-items:center;gap:11px;width:100%;padding:12px 12px;font-size:13px;text-align:left;font-weight:750;color:#f3e7df;border-radius:10px;border:1px solid transparent;background:transparent}.redesigned .sidebar .nav button.active{background:linear-gradient(120deg,#bd7043,#9c4a29);color:white;border-color:#d3895a}.redesigned .sidebar .nav button:not(.active):hover{background:#ffffff1a}.redesigned .side-foot{margin-top:auto;border:0;background:transparent;padding:0;display:grid;gap:10px}.side-venue{display:flex;align-items:center;gap:9px;border:1px solid #cdb29a7a;background:#ffffff0e;border-radius:12px;padding:12px;color:#f4e3d1}.side-venue b{font-size:13px;color:#fff}.side-venue small{display:block;color:#d9bba3;font-size:11px;line-height:1.3}.side-help,.side-logout{display:flex;gap:8px;align-items:center;padding:10px 12px;border:1px solid #ffffff26;background:#ffffff0e;color:#f5e9df;border-radius:11px;text-align:left;font-size:12px;font-weight:750}.side-logout{background:transparent;color:#d5bdad}.workspace-wrap{min-width:0;width:100%;min-height:100vh}.masthead{min-height:65px;display:flex;align-items:center;gap:22px;padding:13px clamp(20px,3.4vw,52px);background:linear-gradient(115deg,#4a2d20,#815031 85%,#4f3427);color:#fff}.masthead-brand{display:flex;align-items:center;gap:10px;font-size:21px}.masthead-brand em{font-style:normal;color:#ecc79c}.masthead-caption{margin-left:12px;color:#f0ded1;font-size:13px}.masthead-right{display:flex;gap:8px;align-items:center;margin-left:auto;border:1px solid #ffffff57;border-radius:25px;padding:7px 13px;font-size:11px;white-space:nowrap;color:#f4e8df}.redesigned .workspace{max-width:1570px;margin:0 auto;padding:25px clamp(20px,3.6vw,52px) 50px}.redesigned .top{margin-bottom:22px;gap:14px}.redesigned .top-title small{font-size:11px;letter-spacing:1.55px}.redesigned .top-title h1{font-size:clamp(27px,2.45vw,36px);letter-spacing:-.7px;margin-top:3px}.top-controls{display:flex;align-items:center;gap:9px;flex-wrap:wrap;justify-content:flex-end}.state-tags{display:flex;align-items:center;gap:8px}.status-pill{display:inline-flex;align-items:center;justify-content:center;border:1px solid #a8d7b6!important;padding:8px 13px!important;background:#e2f3e7!important;color:#247346!important;font-size:11px;white-space:nowrap}.status-pill.pending{background:#fff1dc!important;border-color:#f2d3a6!important;color:#885a2c!important}.top-controls .btn{min-height:39px;padding:9px 13px}.top-controls .btn svg{flex:none}.redesigned .card{background:linear-gradient(180deg,#fffefa,#fffdfa);border-color:#e4d8cb;box-shadow:0 9px 28px #3f28100c;border-radius:17px;padding:23px}.redesigned .card h2{font-size:21px;line-height:1.2;letter-spacing:-.4px}.redesigned .card h3{font-size:16px}.redesigned .btn{background:var(--terra);border-color:var(--terra);color:#fff;border-radius:10px;font-size:13px;min-height:42px;padding:10px 15px}.redesigned .btn:hover{background:var(--terra-dark);color:#fff}.redesigned .btn.out{background:#fffcf8;color:#88442b;border-color:#d6bca6}.redesigned .btn.out:hover{background:#faeee3;color:#76351f}.redesigned .btn.soft{background:#e7f4e8;color:#247644;border-color:#bcdac2}.redesigned .btn.danger{background:#fff1ec;color:#a5362a;border-color:#dbb8af}.redesigned .btn.min{font-size:12px;min-height:36px;padding:8px 11px}.eyebrow{font-size:10px;font-weight:850;letter-spacing:1.65px;color:#a85432}.redesigned .sub{font-size:12.5px;color:#7d7168;line-height:1.55}.section-topline{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:16px}.section-topline h2{margin:0 0 7px}.section-topline p{margin:0}.section-topline>button{border:1px solid var(--line);border-radius:9px;background:#fff;color:#8b5038;display:grid;place-items:center;padding:7px}.redesigned .stat-card{background:#fffdf9;border:1px solid var(--line);border-radius:13px;box-shadow:var(--shadow);padding:17px;min-width:0}.redesigned .stat-card svg{color:#9e5635}.stat-card strong{display:block;font-size:29px;letter-spacing:-.7px;margin-top:10px}.stat-card span{font-size:12px;color:var(--muted)}.dashboard-welcome{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:23px 30px;background:linear-gradient(105deg,#f9ecdc,#f7f0e5 60%,#e9d3ba);border:1px solid #e3d2bd;border-radius:17px;margin-bottom:17px;overflow:hidden}.dashboard-welcome h2{font-size:clamp(22px,2.3vw,29px);margin:9px 0}.dashboard-welcome p{color:#77695c;font-size:13px;line-height:1.5;margin:0}.welcome-art{display:flex;align-items:center;gap:12px;color:#8f5032;min-width:220px}.welcome-art span{font-size:14px;font-weight:800;font-style:italic}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(285px,.7fr);gap:17px;align-items:start}.dashboard-primary,.dashboard-secondary{display:grid;gap:17px}.menu-highlight-row{display:flex;align-items:center;gap:14px;border:1px solid #e9dfd3;border-radius:13px;background:#fff;padding:11px;min-width:0}.menu-spotlight{height:91px;width:118px;flex:0 0 118px;overflow:hidden;border-radius:11px;background:#f2e1c6;display:grid;place-items:center;color:#955037}.menu-spotlight .food-portrait{height:100%;width:100%;border-radius:0}.menu-summary{flex:1;min-width:0}.menu-summary>strong{display:block;font-size:17px}.menu-summary>small{display:block;color:#8a7665;font-size:12px;margin:5px 0 12px}.menu-copy-link{display:flex;align-items:center;gap:6px;color:#985338;font-size:12px;min-width:0}.menu-copy-link span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.menu-copy-link button{border:0;background:transparent;color:#a05b38;padding:4px;flex:none}.menu-small-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:13px}.menu-small-actions button{display:inline-flex;align-items:center;gap:7px;background:#f9f0e8;color:#77452f;border:1px solid #ecdbcc;border-radius:9px;padding:8px 10px;font-size:12px;font-weight:800}.stats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.quick-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.quick-card{display:flex;align-items:center;flex-direction:column;justify-content:center;gap:7px;text-align:center;min-height:113px;padding:12px 7px;background:#fffcf8;border:1px solid #e5dbce;border-radius:13px;color:#533528}.quick-card:hover{background:#faf0e6;border-color:#cb997c}.quick-card-icon{color:#a85733}.quick-card strong{font-size:12px}.quick-card small{font-size:10px;color:#8c7569}.dashboard-preview{display:flex;flex-direction:column;align-items:center}.dashboard-preview .section-topline{width:100%}.dashboard-preview>.sub{margin:11px 0 0;text-align:center}.publish-hint{display:flex;align-items:flex-start;gap:13px!important;background:linear-gradient(115deg,#fcf6e8,#fffefa)!important}.publish-hint>svg{color:#a05d37;flex:none}.publish-hint p{margin:6px 0 0;color:#796b5c;line-height:1.5;font-size:12px}.phone-frame{width:262px;max-width:100%;min-height:470px;background:#fff;color:#352722;border:8px solid #252223;box-shadow:0 10px 24px #261b1650;overflow:hidden;border-radius:33px;padding-bottom:8px;position:relative}.phone-status{display:flex;align-items:center;justify-content:space-between;padding:7px 17px 5px;font-size:10px;font-weight:900}.phone-menu-brand{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:10px 10px}.phone-menu-brand strong{font-family:Georgia,serif;letter-spacing:.3px;font-size:20px;line-height:1.1}.phone-menu-brand small{font-size:9px;color:#fff9}.phone-cover{display:flex;align-items:center;justify-content:center;flex-direction:column;position:relative;gap:4px;height:120px;background:radial-gradient(circle at 45% 30%,#cf8150,#3a231b 70%);color:#fff;overflow:hidden}.phone-cover img{position:absolute;width:100%;height:100%;inset:0;object-fit:cover}.phone-cover span{z-index:1;font-weight:800;font-size:21px;text-shadow:0 2px 6px #000a;font-family:Georgia,serif}.phone-cover svg{z-index:1;opacity:.55}.phone-cover:has(img)::after{content:'';position:absolute;inset:0;background:linear-gradient(transparent,#22151099)}.phone-cover:has(img)>span{z-index:2}.phone-categories{display:flex;gap:5px;padding:10px 9px;overflow:hidden;white-space:nowrap}.phone-categories span{border:1px solid #eaded2;border-radius:7px;padding:7px 10px;background:#faf6f2;font-size:9px}.phone-categories span.on{background:#9d3829;color:#fff}.phone-items{padding:0 10px;display:grid;gap:7px;min-height:100px}.phone-food{display:flex;align-items:center;gap:7px;border-bottom:1px solid #efe5dc;padding-bottom:6px}.phone-food .food-portrait{width:55px;height:52px;flex:none;border-radius:7px}.phone-food>div:last-child{flex:1;min-width:0}.phone-food b{font-size:10px}.phone-food small{display:block;font-size:8px;line-height:1.4;color:#766a60;max-height:24px;overflow:hidden}.phone-food em{font-size:10px;color:#9e3b27;font-weight:850;font-style:normal}.phone-initial{display:grid;justify-items:center;gap:7px;padding:20px 12px;color:#9f7a63;text-align:center}.phone-initial small{font-size:10px}.phone-bottom{border-top:1px solid #eee2d5;margin:12px 10px 0;padding:8px 0;display:flex;align-items:center;justify-content:space-around;gap:4px;color:#a1482a;font-size:9px;font-weight:800}.food-portrait{height:75px;width:80px;flex:none;display:grid;place-items:center;overflow:hidden;background:linear-gradient(135deg,#ebcd9f,#bb7650);border-radius:11px;font-size:36px}.food-portrait img{width:100%;height:100%;object-fit:cover}.site-footer{font-size:11px;color:#998a7f;text-align:center;margin:27px auto;padding:16px 0;border-top:1px solid #e6d8c8}.site-footer span{margin-left:8px}.redesigned .notice-soft.alert-error{display:flex;align-items:center;gap:9px}.redesigned .result-msg{display:flex;align-items:center;gap:9px}.phone-header,.mobile-control,.mobile-drawer-back{display:none}.setup-layout{display:grid;grid-template-columns:minmax(0,.93fr) minmax(0,1fr);gap:23px;align-items:stretch}.setup-hero{background:linear-gradient(130deg,#38221b,#764531);border-radius:19px;min-height:470px;padding:37px;color:#fff;position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:12px}.setup-hero:before{content:'';position:absolute;right:-160px;top:-180px;width:390px;height:390px;border:55px solid #e5b07924;border-radius:50%}.setup-hero>*{position:relative}.setup-hero-icon{color:#ecc19a}.setup-overline{font-size:11px;font-weight:800;letter-spacing:2px;color:#e6bf9f}.setup-hero h2{font-size:clamp(30px,3vw,43px);letter-spacing:-1.3px;line-height:1.09;margin:0}.setup-hero h2 em{color:#f3c796;font-style:normal}.setup-hero p{color:#f4e1ce;line-height:1.7;max-width:385px}.setup-small{display:flex;align-items:center;gap:7px;font-size:12px;color:#f2ccb2;font-weight:800;margin-top:20px}.redesigned .setup-form{padding:36px}.setup-form h2{font-size:27px!important;margin:10px 0}.setup-form form{display:grid;gap:16px;margin-top:25px}.redesigned .field{font-size:12px;gap:7px;color:#674e3f}.redesigned .field input,.redesigned .field textarea,.redesigned .field select{font-size:14px;border:1px solid #d9cabe;border-radius:9px;padding:12px 13px;min-height:47px}.redesigned .field small{font-size:11px;color:#8b7a6c;font-weight:500}.setup-submit{width:100%;justify-content:center;margin-top:15px;gap:11px}.setup-note{display:flex;align-items:center;gap:8px;margin:21px 0 0;color:#8d7b6f;font-size:11px;line-height:1.4}.categories-stack{display:grid;gap:16px}.category-block{border:1px solid #e7dbcf;background:#fff;border-radius:14px;overflow:hidden}.category-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#fbf4eb;border-bottom:1px solid #eee1d4;padding:12px 15px}.category-heading .category-title{display:flex;align-items:center;gap:10px;color:#9b5030}.category-heading h3{margin:0;font-size:16px;color:#503025}.category-heading small{font-size:11px;color:#9c8170}.category-items{padding:8px 13px}.category-items>.sub{padding:14px}.product-card-row{display:flex;align-items:center;gap:12px;padding:9px 3px;border-bottom:1px solid #f1e8dc}.product-card-row:last-child{border-bottom:0}.product-card-row .product-photo{height:77px;width:88px}.product-card-main{flex:1;min-width:0}.product-card-main b{display:block;font-size:14px}.product-card-main small{display:block;color:#8b786a;font-size:11px;margin:5px 0}.product-indicators{display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:11px;font-weight:850;color:#9c4d2d}.product-indicators .verified-dot{color:#3e8b56;font-weight:700}.product-indicators .warning-dot{color:#a26823;font-weight:700}.product-card-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.menu-editor-empty{display:grid;place-items:center;gap:10px;border:2px dashed #e5cdbc;border-radius:15px;padding:40px;color:#a27052}.menu-editor-empty p{font-weight:700}.improved-product{margin-top:18px}.product-editor-grid{display:grid;grid-template-columns:minmax(190px,.8fr) minmax(220px,1.1fr) minmax(210px,.9fr);gap:17px}.photo-edit-col{display:grid;align-content:start;gap:9px}.photo-edit-preview{border:1px dashed #d5bda7;background:linear-gradient(125deg,#f3dfc7,#e6b88e);border-radius:15px;min-height:235px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#945438;overflow:hidden}.photo-edit-preview img{width:100%;height:235px;object-fit:cover}.photo-edit-preview span{font-size:12px;font-weight:800}.photo-upload-btn{display:flex;align-items:center;justify-content:center;gap:9px;text-align:center;border:1px dashed #bb896d;padding:12px;border-radius:10px;background:#fff9f4;color:#9c5135;font-size:12px;font-weight:850;cursor:pointer}.photo-upload-btn input{display:none}.photo-edit-col>.sub{margin:0}.product-edit-main{display:grid;gap:11px;align-content:start}.variants-panel{padding:15px;border:1px solid #ecdfd0;background:#fdf8f0;border-radius:12px;align-self:start}.variants-panel h3{display:flex;align-items:center;gap:8px;margin:0 0 8px}.variants-panel .field textarea{min-height:137px;font-size:13px;font-family:ui-monospace,SFMono-Regular,monospace;line-height:1.75}.mini-instruction{font-size:11px;color:#857361}.availability-hint{display:flex;align-items:center;gap:8px;border-top:1px solid #ecdfd0;margin-top:14px;padding-top:13px;font-size:11px;font-weight:750;color:#35734b}.allergen-section{margin-top:20px;border:1px solid #e6dbcf;padding:15px;border-radius:13px}.allergen-section h3{display:flex;align-items:center;gap:9px;margin:0}.allergen-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px}.allergen-choice{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:79px;border:1px solid #eadbcf;border-radius:10px;background:#fffcf8;cursor:pointer;text-align:center;padding:8px 3px}.allergen-choice:has(input:checked){border:2px solid #b56139;background:#f8e9dc}.allergen-choice input{position:absolute;top:5px;right:5px;accent-color:#a65c3e}.allergen-choice span{font-size:22px}.allergen-choice small{font-size:9px;line-height:1.1;color:#5b473b}.confirm-allergens{display:flex;align-items:center;gap:9px;margin-top:15px;font-size:12px;font-weight:750;line-height:1.5;color:#684b3f}.confirm-allergens input,.check-visible input{accent-color:#a85839}.product-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-top:16px}.check-visible{display:flex;gap:17px;font-size:12px;font-weight:850}.check-visible label{display:flex;align-items:center;gap:6px}.brand-layout,.tv-editor-grid{display:grid;grid-template-columns:minmax(0,1.06fr) minmax(330px,.94fr);gap:16px;align-items:start}.redesigned .brand-editor h3{margin:14px 0 12px}.brand-editor>form{display:grid;gap:14px}.brand-file-grid{display:flex;align-items:center;gap:14px}.brand-logo-tile{display:grid;place-items:center;gap:6px;border:1px solid #e4d0c0;background:linear-gradient(140deg,#633722,#2a1b15);color:#fff;border-radius:12px;width:145px;height:118px;overflow:hidden;flex:none}.brand-logo-tile img{max-width:100%;max-height:100%;object-fit:contain}.brand-logo-tile small{font-size:11px}.brand-upload-fields{display:grid;gap:7px;flex:1}.brand-upload-fields .photo-upload-btn{justify-content:flex-start}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.divider-line{height:1px;background:#e7dbcd;margin:13px 0}.brand-editor h3,.tv-editor-grid h3{display:flex;align-items:center;gap:8px}.theme-choices{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.theme-choice{display:grid;gap:5px;padding:6px;background:#fffcf8;border:1px solid #e6d5c4;border-radius:11px;font-size:10px;font-weight:850;color:#66493b}.theme-scene{height:70px;border-radius:8px;position:relative;display:grid;place-items:center;color:#fff;overflow:hidden}.theme-scene span{z-index:1;font-size:27px}.theme-scene i{position:absolute;bottom:0;width:100%;height:13px}.color-fields{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}.color-control{display:flex;align-items:center;gap:10px;padding:8px;border:1px solid #e5d8ca;border-radius:9px;background:#fff}.color-control span{font-size:11px;font-weight:850;flex:1}.color-control small{font-size:10px;color:#817266}.color-control input{width:33px;height:33px;padding:1px;border:0;cursor:pointer;background:none}.brand-save,.tv-save{width:100%;justify-content:center;margin-top:10px}.brand-live-preview{display:flex;align-items:center;flex-direction:column;gap:14px}.brand-live-preview .section-topline{width:100%}.brand-live-preview .brand-tv-preview{width:100%;margin-top:12px}.device-switch{display:flex;align-items:center;gap:9px}.device-switch button{display:flex;align-items:center;gap:6px;padding:8px 11px;background:#f7ebe0;border:1px solid #dac2af;border-radius:10px;font-size:12px;color:#8b5032;font-weight:800}.tv-device{width:100%;position:relative;padding:5px;background:#171717;border:6px solid #333;border-radius:10px;box-shadow:0 8px 21px #0003}.tv-content-preview{width:100%;aspect-ratio:16/9;color:#fff;padding:12px;display:flex;flex-direction:column;gap:7px;min-width:0}.tv-brand-preview{display:flex;align-items:center;justify-content:space-between;gap:10px}.tv-brand-preview>div{display:flex;align-items:center;gap:7px}.tv-brand-preview b{display:block;font-family:Georgia,serif;font-size:clamp(15px,1.9vw,24px);white-space:nowrap;line-height:1}.tv-brand-preview small{font-size:clamp(6px,.7vw,10px);display:block;color:#fff8}.tv-brand-preview em{color:#e5ac58;font-family:Georgia,serif;font-size:clamp(8px,1.2vw,15px);white-space:nowrap}.tv-preview-grid{display:grid;grid-template-columns:1.2fr 1fr;grid-template-rows:repeat(3,minmax(0,1fr));gap:5px;min-height:0;flex:1}.tv-preview-grid.grid4{grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(2,minmax(0,1fr))}.tv-preview-grid.grid6{grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(2,minmax(0,1fr))}.tv-mini-card{display:flex;align-items:stretch;min-width:0;background:#ffffff16;border:1px solid #ffffff24;border-radius:5px;overflow:hidden}.tv-mini-card .food-portrait{height:100%;width:39%;border-radius:0;font-size:20px}.tv-mini-card>div:last-child{display:flex;flex:1;min-width:0;flex-direction:column;justify-content:center;gap:3px;padding:5px}.tv-mini-card strong{font-size:clamp(8px,.8vw,14px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tv-mini-card small{font-size:clamp(7px,.78vw,13px);font-weight:850;color:#ffc979}.tv-preview-grid.hero .tv-mini-card:first-child{grid-row:span 3;flex-direction:column}.tv-preview-grid.hero .tv-mini-card:first-child .food-portrait{height:auto;flex:1;width:100%;font-size:60px}.tv-preview-grid.hero .tv-mini-card:first-child>div:last-child{flex:0;padding:9px}.tv-preview-grid.hero .tv-mini-card:first-child strong{font-size:clamp(13px,1.35vw,20px)}.tv-no-items{grid-column:1/-1;grid-row:1/-1;display:grid;place-items:center;text-align:center;color:#f7e2c6;font-size:12px}.tv-no-items p{margin:4px 0}.tv-foot{text-align:right;color:#f1d8ad;font-size:clamp(8px,.85vw,12px)}.tv-base{position:absolute;height:9px;background:linear-gradient(#4a4a4a,#222);width:23%;left:38.5%;bottom:-15px;border-radius:0 0 6px 6px}.tv-preview-card{display:grid;align-content:start;gap:14px}.tv-layout-choices{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.layout-choice{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;padding:10px 7px;background:#fff;border:1px solid #ded1c2;border-radius:12px;cursor:pointer;position:relative}.layout-choice:has(input:checked),.orientation-choice:has(input:checked){border:2px solid #b55f36;background:#fff6ee}.layout-choice input,.orientation-choice input{position:absolute;right:6px;top:6px;accent-color:#a95b37}.layout-choice strong{font-size:11px}.layout-choice small{font-size:9px;color:#77695e}.layout-illustration{height:73px;width:100%;background:#513126;border-radius:6px;display:grid;gap:3px;padding:7px;grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(3,1fr)}.layout-illustration i{background:linear-gradient(145deg,#bd7144,#ffbd79);border-radius:2px}.layout-illustration.hero i:first-child{grid-row:span 3}.layout-illustration.grid4{grid-template-rows:repeat(2,1fr)}.layout-illustration.grid4 i:nth-child(n+5){display:none}.layout-illustration.grid6{grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(2,1fr)}.orientation-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.orientation-choice{border:1px solid #e3d2c0;border-radius:10px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;min-height:102px;position:relative;text-align:center;cursor:pointer}.orientation-choice span{font-size:42px;line-height:1;color:#9d5333}.orientation-choice strong{font-size:12px}.tv-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:center;padding:15px 0}.tv-options .field{grid-row:span 3}.check-line{font-size:12px;display:flex;align-items:center;gap:8px;font-weight:750}.check-line input{accent-color:#a85432}.preview-editor-grid,.versions-layout,.share-layout,.settings-layout{display:grid;grid-template-columns:1.05fr .95fr;gap:16px;align-items:start}.preview-editor-grid .preview-device-card{display:flex;align-items:center;flex-direction:column;gap:14px}.preview-device-card .section-topline{width:100%}.preview-editor-grid section:first-child p{line-height:1.7;color:#76665d}.feature-line{display:flex;align-items:center;gap:11px;border-bottom:1px solid #eee4d8;padding:15px 0;font-size:13px;font-weight:750}.feature-line svg{color:#208d5a}.form-footer{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:22px}.publish-steps{border-left:2px solid #e4cbb8;margin:27px 0 24px 12px;display:grid;gap:19px}.publish-step{display:flex;gap:12px;align-items:center;margin-left:-14px;position:relative}.publish-step>svg{background:#fff;border:1px solid #d9bda5;border-radius:50%;padding:4px;width:28px;height:28px;color:#a45d3b;flex:none}.publish-step.checked>svg{background:#e5f5e7;border-color:#b8e0c2;color:#3f9460}.publish-step>div{flex:1}.publish-step b{display:block;font-size:14px}.publish-step small{display:block;color:#82736b;font-size:12px;margin-top:4px}.publish-step button,.history-row button{border:1px solid #dccabb;border-radius:9px;color:#884b31;background:#fff;padding:7px 10px;font-size:12px;font-weight:800}.publish-actions{display:flex;gap:9px;flex-wrap:wrap}.pause-panel{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:19px;padding:13px;border:1px solid #e7dbc9;background:#fdf6ed;border-radius:10px}.pause-panel b{font-size:13px}.pause-panel p{font-size:11px;color:#8b7c70;margin:3px 0}.history-row{display:flex;align-items:center;gap:10px;border:1px solid #e9dfd5;padding:12px;border-radius:11px;margin-bottom:9px}.history-icon{display:grid;place-items:center;background:#f7ebdf;color:#a35a38;width:39px;height:39px;border-radius:10px}.history-row>div:nth-child(2){flex:1}.history-row strong{display:block;font-size:13px}.history-row small{font-size:11px;color:#8d7b6e}.history-empty{display:grid;place-items:center;gap:8px;padding:40px 10px;color:#997b64;text-align:center}.link-showcase{display:flex;gap:11px;align-items:center;background:#f9f1e7;border:1px solid #e7d7c8;border-radius:12px;padding:15px;margin:20px 0}.link-showcase>span{color:#9f5031}.link-showcase>div{flex:1;min-width:0}.link-showcase small{display:block;font-size:11px;color:#897466}.link-showcase strong{display:block;overflow-wrap:anywhere;font-size:13px}.link-showcase>button{background:#fff;border:1px solid #e2d3c4;border-radius:9px;padding:9px;color:#9f5734}.share-actions{display:flex;gap:9px;flex-wrap:wrap}.share-qr{display:grid;place-items:center;text-align:center;gap:10px}.qr-graphic{width:180px;height:180px;background:#fff;border:1px dashed #c3b19f;border-radius:12px;display:grid;place-items:center;color:#6a5244}.share-qr p{color:#7f6c5f;font-size:13px;line-height:1.6}.setting-line{display:flex;align-items:center;gap:10px;padding:14px 0;border-bottom:1px solid #ecdfd3;color:#9e5435}.setting-line>div{color:#412b20}.setting-line strong{display:block;font-size:13px}.setting-line small{display:block;font-size:12px;color:#8b776a}.phone-header,.mobile-control,.mobile-drawer-back{display:none}
@media(max-width:1180px){.masthead-caption{display:none}.dashboard-grid{grid-template-columns:minmax(0,1.15fr) minmax(270px,.85fr)}.brand-layout,.tv-editor-grid{grid-template-columns:1fr}.brand-live-preview .brand-tv-preview{max-width:680px}.product-editor-grid{grid-template-columns:1fr 1fr}.variants-panel{grid-column:1/-1}.allergen-grid{grid-template-columns:repeat(5,1fr)}}
@media(max-width:860px){.redesigned.app-shell{grid-template-columns:1fr;display:block}.redesigned .sidebar,.masthead{display:none!important}.redesigned .workspace{padding:24px 18px 108px}.phone-header{display:flex;justify-content:space-between;align-items:center;padding:11px 17px;background:linear-gradient(110deg,#3b261e,#553427);color:#fff}.phone-header .porem-logo-icon{width:37px;height:39px;border-radius:9px}.phone-header .porem-logo-icon svg{width:27px;height:27px}.phone-header .porem-logo strong{font-size:21px}.phone-header .porem-logo small{font-size:11px;margin:2px 0}.phone-activity{display:grid;place-items:center;background:#ffffff1a;color:#fff;border:1px solid #ffffff38;border-radius:9px;padding:8px}.redesigned .top{display:flex;flex-wrap:wrap;align-items:center}.top-controls{width:100%;justify-content:flex-start}.dashboard-grid{grid-template-columns:1fr}.dashboard-secondary{grid-template-columns:1fr 1fr;align-items:start}.quick-grid{grid-template-columns:repeat(3,1fr)}.redesigned .sidebar{display:none}.mobile-control{display:flex;position:fixed;inset:auto 0 0;z-index:30;min-height:72px;background:#33211b;color:#f8e8db;box-shadow:0 -4px 18px #22140b3b;padding-bottom:env(safe-area-inset-bottom)}.mobile-control button{display:grid;align-content:center;justify-items:center;gap:4px;flex:1;background:none;color:#ead9cd;border:0;font-size:11px;font-weight:800}.mobile-control button.active{background:#65402f;color:#ffd0a1}.mobile-drawer-back{position:fixed;inset:0;background:#160e0bb8;z-index:42;display:flex;align-items:flex-end}.mobile-drawer{max-height:85dvh;overflow:auto;width:100%;background:#fffaf5;border-radius:22px 22px 0 0;padding:22px 16px 35px;box-shadow:0 -12px 60px #0004;display:grid;gap:7px}.mobile-drawer-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;font-size:19px}.mobile-drawer-heading button{font-size:25px;border:0;background:transparent;padding:5px 12px}.mobile-drawer>button{display:flex;align-items:center;gap:13px;width:100%;text-align:left;padding:13px;border:1px solid #eadfd4;border-radius:11px;background:#fff;color:#4a3024;font-size:13px;font-weight:750}.mobile-drawer>button.active{background:#fae6d6;border-color:#d8a98b;color:#853b24}.dashboard-preview>.phone-frame{max-width:100%}.setup-layout{grid-template-columns:1fr}.setup-hero{min-height:310px}.setup-form{min-height:0}}
@media(max-width:620px){.redesigned .workspace{padding:18px 13px 105px}.redesigned .card{padding:17px;border-radius:14px}.redesigned .top-title h1{font-size:29px}.redesigned .top-title small{font-size:10px}.top-controls .btn{flex:1}.top-controls .btn svg{display:none}.state-tags{width:100%;justify-content:flex-start}.dashboard-welcome{padding:19px 17px}.dashboard-welcome h2{font-size:23px}.dashboard-welcome p{font-size:12px}.welcome-art{display:none}.dashboard-secondary{grid-template-columns:1fr}.dashboard-preview .phone-frame{width:235px;min-height:430px}.stats-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.stat-card{padding:13px 10px}.stat-card strong{font-size:25px}.stat-card span{font-size:10px}.stat-card svg{width:19px}.quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.quick-card{min-height:102px}.menu-highlight-row{gap:9px;padding:8px}.menu-spotlight{width:72px;height:81px;flex-basis:72px}.menu-summary>strong{font-size:14px}.menu-summary>small{font-size:11px}.menu-copy-link span{font-size:11px}.menu-small-actions{gap:7px}.menu-small-actions button{font-size:10px;padding:8px}.section-topline{align-items:flex-start;flex-wrap:wrap}.section-topline>.toolbar{width:100%}.section-topline>.toolbar .btn{flex:1}.product-card-row{flex-wrap:wrap}.product-card-row .product-photo{height:69px;width:72px}.product-card-main{width:calc(100% - 92px)}.product-card-actions{width:100%;justify-content:flex-start}.product-card-actions button{flex:1}.product-editor-grid{grid-template-columns:1fr}.variants-panel{grid-column:auto}.photo-edit-preview{min-height:185px}.photo-edit-preview img{height:185px}.allergen-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.allergen-choice{min-height:83px}.product-footer>.toolbar{width:100%}.product-footer>.toolbar .btn{flex:1}.brand-layout,.tv-editor-grid,.preview-editor-grid,.versions-layout,.share-layout,.settings-layout{grid-template-columns:1fr}.two-fields{grid-template-columns:1fr}.brand-file-grid{flex-wrap:wrap}.brand-logo-tile{width:100%;height:120px}.brand-upload-fields{width:100%;min-width:0}.theme-choices{grid-template-columns:repeat(3,minmax(0,1fr))}.color-fields{grid-template-columns:1fr}.layout-choice strong{font-size:10px}.layout-choice small{font-size:8px}.tv-content-preview{min-height:205px}.tv-brand-preview b{font-size:17px}.tv-brand-preview em{font-size:11px}.tv-mini-card strong{font-size:9px}.tv-mini-card small{font-size:9px}.tv-no-items p{font-size:11px}.share-actions .btn{flex:1}.redesigned .setup-form{padding:22px}.setup-hero{padding:23px;min-height:280px}.setup-hero h2{font-size:32px}.setup-small{font-size:10px}.site-footer span{display:block;margin:5px 0 0}}

.variant-list{display:grid;gap:8px;margin-top:12px}.variant-row{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr) 28px;gap:7px;align-items:end;background:#fff;border:1px solid #eadfd3;border-radius:10px;padding:8px}.variant-row label{display:grid;gap:5px;min-width:0;font-size:10px;color:#7c5b48;font-weight:800}.variant-row input{width:100%;min-width:0;border:1px solid #e1d3c7;border-radius:7px;padding:8px 7px;background:#fffdfa;font-size:12px;color:#3b271c}.variant-row>button{width:27px;height:34px;border:1px solid #e1c9bd;background:#fff5f0;color:#aa4931;border-radius:8px;font-size:19px}.variant-add{display:flex;align-items:center;justify-content:center;gap:6px;border:1px dashed #b98466;background:#fff9f2;color:#9e4d2f;font-size:12px;font-weight:850;padding:9px 11px;border-radius:10px;width:100%;margin:8px 0}.mini-instruction{display:block;font-size:10px;line-height:1.4;margin:5px 0;color:#876f5d}

/* POREM Menu Smart 0.7: image upload confirmations and previews */
.porem-toast{position:fixed;bottom:82px;left:50%;transform:translateX(-50%);z-index:9999;max-width:min(560px,calc(100vw - 32px));min-width:min(320px,calc(100vw - 32px));box-shadow:0 12px 38px #24181340;color:#fff;background:#266b49;border:1px solid #b4e5bf;border-radius:14px;padding:14px 18px;font-size:14px;font-weight:720;line-height:1.45;text-align:left}
.porem-toast.error{background:#a43b2d;border-color:#f1b4aa}
.porem-toast[hidden]{display:none}
.upload-feedback{background:#f0f8f0;color:#28634b;border:1px solid #c7dece;border-radius:10px;padding:10px 12px;line-height:1.5;font-size:12px;font-weight:650;margin:6px 0}
.brand-media-tiles{display:flex;align-items:stretch;gap:10px;flex-wrap:wrap}
.brand-media-tiles .brand-logo-tile{width:120px;height:112px;position:relative;flex-direction:column;padding:8px}
.brand-media-tiles .brand-logo-tile img{max-width:100%;height:77px;object-fit:contain}
.brand-media-tiles .brand-cover-tile{background:#b99c81}
.brand-media-tiles .brand-cover-tile img{width:100%;height:74px;object-fit:cover}
.brand-media-tiles .brand-logo-tile small{position:relative;font-size:10px;line-height:1.15;text-align:center;color:#fff}
.phone-preview-logo{max-width:112px;max-height:52px;object-fit:contain;display:block;margin:0 auto 8px}
.tv-preview-logo{max-width:75px;max-height:42px;object-fit:contain}
@media(max-width:850px){.brand-file-grid{flex-wrap:wrap}.brand-media-tiles{width:100%}.brand-upload-fields{min-width:180px}.porem-toast{bottom:91px}}

/* Previously uploaded images can be safely reassigned in the tenant-owned venue */
.media-library{padding-top:12px;border-top:1px solid #e9dacf;margin-top:10px}
.media-library h3{display:flex;align-items:center;gap:7px;margin:7px 0 4px}
.media-library-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(125px,1fr));gap:10px;margin-top:12px}
.media-library-item{padding:6px;border:1px solid #e7d9c9;border-radius:11px;background:#fff}
.media-library-item img{display:block;width:100%;height:100px;object-fit:cover;border-radius:8px;background:#f1e6d8}
.media-library-actions{display:grid;gap:5px;padding-top:6px}
.media-library-actions button{border:1px solid #d6ae90;border-radius:7px;background:#fff8f1;color:#8b472c;padding:7px 3px;font-size:10px;font-weight:740}
.media-library-empty{padding-top:12px;border-top:1px solid #e9dacf;margin-top:10px}

/* Menu Smart 0.8: QR share and TV product curation */
.qr-graphic.live-qr{background:#fff;min-height:288px;display:flex;justify-content:center;align-items:center;padding:12px;border:1px solid #e8ded3;border-radius:18px;margin-bottom:14px}.qr-graphic.live-qr img{display:block;width:min(100%,280px);height:auto;aspect-ratio:1}.qr-downloads{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:14px}.tv-select-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:12px 0 20px}.tv-product-select{display:flex;align-items:center;gap:9px;min-width:0;border:1px solid #e3d8cc;border-radius:13px;background:#fdfbf6;padding:8px;cursor:pointer}.tv-product-select img{width:40px;height:40px;object-fit:cover;border-radius:7px}.tv-product-select .photo-placeholder{width:40px;height:40px;display:grid;place-items:center}.tv-product-select span{min-width:0;overflow-wrap:anywhere;font-weight:650;font-size:13px}.tv-categories{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:22px}.tv-categories label{border:1px solid #e4dbd0;border-radius:99px;padding:8px 12px;cursor:pointer;font-size:13px}@media(max-width:580px){.tv-select-products{grid-template-columns:1fr}.qr-downloads .btn{width:100%;justify-content:center}}

/* v0.9 — brand contrast, independent TV cover and private fullscreen previews */
.contrast-guidance{margin:17px 0 19px;border-radius:13px;padding:15px 16px;background:#f8f2e7;border:1px solid #e4d5c4;color:#3c3029;line-height:1.6}
.contrast-guidance strong{display:block;margin-bottom:4px;font-size:15px}
.contrast-guidance small{display:block;margin-top:5px;color:#79685e;font-size:12px}
.brand-media-tiles .brand-cover-tile{width:145px;min-width:0}
.draft-preview-backdrop{position:fixed;inset:0;z-index:9999;background:#12100ed9;display:grid;place-items:center;padding:12px;overscroll-behavior:contain}
.draft-preview-panel{width:min(1200px,100%);max-height:calc(100dvh - 24px);display:flex;flex-direction:column;background:#f7f2e9;border-radius:18px;overflow:hidden;box-shadow:0 26px 90px #000a}
.draft-preview-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:13px 18px;background:#fffdf9;border-bottom:1px solid #ddd0c2}
.draft-preview-toolbar b{display:block;font-size:16px;color:#382925}.draft-preview-toolbar small{color:#86573e;font-size:12px}.draft-preview-buttons{display:flex;gap:5px;align-items:center;flex-wrap:wrap}
.draft-preview-buttons button{background:#f4e8db;border:1px solid #e1cabc;padding:9px 12px;border-radius:10px;color:#4e3528;font-weight:700;cursor:pointer;font-size:13px}
.draft-preview-buttons button[aria-current=true]{background:#ae5e3f;color:white}.draft-preview-buttons .draft-close{font-size:24px;background:#4b352c;color:white;line-height:1;padding:8px 12px}
.draft-preview-stage{overflow:auto;padding:18px;flex:1;display:flex;justify-content:center;align-items:flex-start;overscroll-behavior:contain}
.full-phone-canvas{width:min(415px,100%);background:#fff;min-height:550px;border:7px solid #2c2522;border-radius:23px;box-shadow:0 8px 28px #0003;overflow:hidden;flex-shrink:0}
.full-phone-header{color:white;padding:22px;display:flex;align-items:center;flex-direction:column;gap:5px;text-align:center}
.full-phone-header img{width:72px;height:72px;object-fit:contain}.full-phone-header strong{font-size:25px}.full-phone-header small{font-size:13px}
.full-phone-cover{height:170px;position:relative;display:grid;place-items:center;color:white;background:linear-gradient(45deg,#433023,#b47751)}.full-phone-cover img{position:absolute;width:100%;height:100%;object-fit:cover}.full-phone-cover span{position:relative;font:700 26px Georgia,serif;text-shadow:0 2px 6px #000a}
.full-phone-cats{display:flex;gap:8px;padding:12px 13px;overflow-x:auto;white-space:nowrap}.full-phone-cats span{font-size:12px;background:#e8dbca;border-radius:16px;padding:7px 12px}
.full-phone-products{padding:12px;display:grid;gap:12px}.full-phone-product{border:1px solid #ded7cc;border-radius:12px;background:#fff;display:grid;grid-template-columns:105px minmax(0,1fr);gap:11px;padding:9px;color:#332721}.full-phone-product .food-portrait{width:105px;height:105px}.full-phone-product strong{font-size:16px}.full-phone-product p{font-size:12px;margin:5px 0}.full-phone-product small{display:block;font-size:11px;margin-top:5px;line-height:1.4}
.full-tv-canvas{width:min(1100px,100%);color:#201d18}.full-tv-canvas .tv-device{width:100%;box-shadow:0 14px 45px #0006}.full-tv-canvas .tv-content-preview{font-size:19px}.full-tv-canvas .tv-preview-grid{min-height:250px}.preview-explain{color:#655a50;text-align:center;margin:16px auto;font-size:13px;line-height:1.5}
@media(max-width:600px){.draft-preview-stage{padding:8px}.draft-preview-toolbar{padding:11px}.draft-preview-toolbar small{font-size:11px}.draft-preview-buttons button{padding:8px;font-size:12px}.full-phone-product{grid-template-columns:88px minmax(0,1fr)}.full-phone-product .food-portrait{width:88px;height:88px}}

/* v0.9.1 — visible and touch-friendly ordering */
.order-actions{display:flex;align-items:center;flex-wrap:wrap;gap:5px}
.order-actions button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:35px;min-width:35px;padding:7px 9px;border:1px solid #ddcbbd;color:#704c36;border-radius:9px;background:#fffcf8;font-size:13px;font-weight:700;cursor:pointer}
.order-actions button:hover,.order-actions button:focus-visible{background:#f2e3d2;border-color:#ab7957;outline-offset:1px}
.category-heading .order-actions{margin-left:auto}
.product-card-actions .order-actions{margin-bottom:4px}
@media(max-width:640px){.category-heading .order-actions{margin-left:0}.product-card-actions .order-actions{justify-content:flex-start}.product-card-actions{align-items:flex-start}}

/* POREM Menu Smart v0.9.2 — draft, font, link TV */
.draft-resume{background:#fbf0e2;border:1px solid #e8cfb4;border-radius:17px;padding:15px 18px;display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 16px}.draft-resume b{display:block;font-size:14px;color:#483026}.draft-resume small{display:block;font-size:12px;line-height:1.45;color:#7d695c;margin-top:5px}.draft-resume button{border:1px solid #b56b4f;background:white;color:#7d3e2d;font-weight:750;border-radius:10px;padding:11px 14px;display:flex;gap:7px;align-items:center;white-space:nowrap}.font-sample{border:1px solid #e4d6c8;border-radius:14px;padding:16px 18px;background:#fffaf4;color:#3f2922;margin:4px 0 16px}.font-sample strong,.font-sample span{display:block}.font-sample strong{font-size:22px;margin-bottom:5px}.font-sample span{font-size:14px}.font-helper{display:block;font-size:12px;color:#766357;margin-top:7px}.tv-link-panel{border:1px solid #dfc9b9;background:#fbf6f0;padding:16px;border-radius:14px;display:flex;flex-direction:column;gap:9px;margin:14px 0}.tv-link-panel strong{color:#503125}.tv-link-panel code{padding:10px;background:white;border:1px dashed #d8bca7;border-radius:8px;overflow-wrap:anywhere;font-size:12px}.tv-link-panel small{color:#746258;line-height:1.4}.tv-link-panel button{align-self:flex-start}@media(max-width:580px){.draft-resume{align-items:stretch;flex-direction:column}.draft-resume button{justify-content:center;width:100%}}

/* v0.9.3: opzioni brand coerenti con il progetto approvato */
.brand-advanced{border:1px solid #e6d8c9;background:#fffbf7;border-radius:16px;padding:17px;margin:14px 0 18px}.brand-advanced h3{margin:0 0 14px}.brand-two-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.brand-checks{display:flex;flex-wrap:wrap;gap:12px 24px;margin:12px 0 18px}.brand-checks label{display:flex;gap:8px;align-items:center;font-size:13px;font-weight:600;color:#54433c}.brand-checks input{width:18px;height:18px;accent-color:#ad6143}.brand-reset{margin:2px 0 12px}.phone-frame.phone-straight .phone-food,.phone-frame.phone-straight .phone-cover{border-radius:4px!important}.phone-frame.phone-flat .phone-food{box-shadow:none!important}@media(max-width:740px){.brand-two-controls{grid-template-columns:1fr}.brand-checks{flex-direction:column;gap:12px}}

/* v0.9.5 — scelta intestazione ristorante */
.header-mode-settings{padding:16px;border:1px solid #e8d7c7;background:#fcf8f3;border-radius:16px;margin:12px 0}.header-mode-settings h3{margin:0 0 6px}.header-mode-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:13px}.header-mode-card{display:flex;align-items:flex-start;gap:8px;padding:12px 10px;border:1px solid #e1d4c6;border-radius:12px;background:white;cursor:pointer;min-width:0;transition:border-color .15s,background .15s}.header-mode-card:has(input:checked){border:2px solid #ae6041;background:#fbefe6;padding:11px 9px}.header-mode-card input{accent-color:#a45d40;margin:3px 0 0;flex-shrink:0}.header-mode-card-body{display:flex;flex-direction:column;gap:4px}.header-mode-card strong{font-size:13px;color:#40332e}.header-mode-card small{font-size:11px;color:#756458;line-height:1.4}.header-mode-help{margin:12px 0 0}.phone-menu-brand:has(.phone-preview-logo):not(:has(strong)){padding-top:14px;padding-bottom:14px}.phone-menu-brand:has(.phone-preview-logo):not(:has(strong)) .phone-preview-logo{max-height:64px;max-width:175px;object-fit:contain}.tv-brand-preview>div:has(.tv-preview-logo):not(:has(span)) .tv-preview-logo{max-height:52px;max-width:170px;object-fit:contain}.full-phone-header:has(img):not(:has(strong)) img{max-height:94px;max-width:270px;object-fit:contain}@media(max-width:660px){.header-mode-choice-grid{grid-template-columns:1fr}.header-mode-card{padding:12px}.header-mode-card:has(input:checked){padding:11px}}

/* Menu Smart 0.9.6 — Logo protagonista, soltanto nella modalità Solo logo */
.phone-menu-brand.brand-focus{min-height:104px;padding:10px 8px;gap:0;justify-content:center}
.phone-menu-brand.brand-focus .phone-preview-logo{display:block;width:min(90%,236px);max-width:236px;height:auto;max-height:92px;object-fit:contain;margin:0 auto}
.tv-brand-preview.brand-focus>div{min-width:0;flex:1;justify-content:flex-start}
.tv-brand-preview.brand-focus .tv-preview-logo{width:min(65%,215px);height:auto;max-width:215px;max-height:88px;object-fit:contain}
.full-phone-header.brand-focus{padding:12px 13px;min-height:clamp(132px,33vw,184px);display:flex;align-items:center;justify-content:center}
.full-phone-header.brand-focus img{display:block;position:static;width:min(85%,380px);max-width:94%;height:auto;max-height:clamp(114px,26vw,165px);object-fit:contain;margin:0 auto}
@media(max-width:560px){.full-phone-header.brand-focus{min-height:132px;padding:10px 12px}.full-phone-header.brand-focus img{width:88%;max-height:118px}}

/* POREM v0.9.7 — Anteprime fedeli al renderer pubblico */
.draft-preview-stage{min-height:0;align-items:stretch}
.draft-preview-stage .draft-preview-iframe{display:block;border:0;background:#fff;width:100%;height:min(75dvh,850px);min-height:460px;box-shadow:0 10px 30px #0002}
.draft-preview-stage.mobile{align-items:flex-start}
.draft-preview-stage.mobile .draft-preview-iframe{width:min(420px,100%);border:6px solid #302522;border-radius:22px;height:min(76dvh,850px)}
.draft-preview-stage.tv{align-items:stretch}
.draft-preview-stage.tv .draft-preview-iframe{width:100%;height:min(75dvh,820px);border:5px solid #302522;border-radius:12px}
@media(max-width:600px){.draft-preview-backdrop{padding:4px}.draft-preview-panel{max-height:calc(100dvh - 8px)}.draft-preview-stage{padding:8px}.draft-preview-stage .draft-preview-iframe{min-height:380px;height:calc(100dvh - 160px)}.draft-preview-stage.mobile .draft-preview-iframe{width:100%;height:calc(100dvh - 156px)}.draft-preview-stage.tv .draft-preview-iframe{min-height:320px;height:calc(100dvh - 156px)}.draft-preview-toolbar{padding:10px}}

/* POREM Menu Smart v0.9.8 — Informazioni del locale */
.restaurant-details-settings{border:1px solid #e4d4c7;border-radius:16px;padding:16px;background:#fcf8f2;margin:17px 0}
.restaurant-details-settings h3{margin:0 0 7px;color:#4c332a}
.restaurant-details-settings .two-fields{margin-top:14px}

/* POREM v0.9.9 — Pubblicazione consapevole, versioni e backup */
.publish-state-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}
.publish-state-grid>div{border:1px solid #e6d6c7;border-radius:14px;padding:15px;background:#fdf8f1;display:flex;flex-direction:column;gap:6px;min-width:0}
.publish-state-grid small{font-size:10px;font-weight:850;letter-spacing:.09em;color:#8a6552}.publish-state-grid b{font-size:14px;color:#382820;line-height:1.35}.publish-state-grid span{font-size:12px;color:#7e6b61;line-height:1.35}
.publish-steps .publish-step-links{display:flex;flex-wrap:wrap;gap:5px;margin-left:auto}.publish-step-links button{border:1px solid #d6b7a3;border-radius:9px;background:#fff;color:#854f36;padding:8px 10px;font-weight:750;font-size:12px}
.publish-review-alert{background:#fff0ec;border:1px solid #e9bcb4;color:#793c2e;border-radius:11px;padding:12px 15px;margin:16px 0;font-size:13px}
.publish-review-alert ul{margin:8px 0 0;padding-left:19px}.publish-review-alert li+li{margin-top:5px}
.publish-healthy{background:#eef7f0;border:1px solid #c8e1ce;color:#285940;border-radius:11px;padding:12px 15px;margin:15px 0;font-size:13px;font-weight:700}
.porem-modal-backdrop{position:fixed;inset:0;z-index:11000;background:#160f0cbd;display:grid;place-items:center;padding:12px;overscroll-behavior:contain}
.porem-modal-card{background:#fffcf8;border-radius:18px;padding:24px;width:min(560px,100%);max-height:calc(100dvh - 24px);overflow:auto;box-shadow:0 24px 80px #0005}
.porem-modal-card h2{margin:8px 0;font-size:23px}.porem-modal-card p{line-height:1.5}
.publish-modal-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:17px 0}
.publish-modal-stats>div{background:#f8f1e9;border-radius:11px;padding:12px 9px;min-width:0;text-align:center}
.publish-modal-stats small{font-size:10px;color:#7f6859;display:block;margin-bottom:5px}.publish-modal-stats strong{font-size:20px;color:#463028}
.porem-modal-actions{display:flex;justify-content:flex-end;gap:9px;flex-wrap:wrap;margin-top:18px}
@media(max-width:650px){.publish-state-grid{grid-template-columns:1fr}.publish-modal-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.porem-modal-actions .btn{flex:1 1 100%}}


/* POREM Menu Smart v1.1.0 — responsive layout + unified mobile header */
html,body,#root{width:100%;max-width:100%;overflow-x:hidden}
.redesigned,.redesigned .workspace-wrap,.redesigned .workspace,.redesigned .dashboard-grid,.redesigned .dashboard-primary,.redesigned .dashboard-secondary,.redesigned .card{box-sizing:border-box;min-width:0;max-width:100%}
.redesigned .workspace-wrap{overflow-x:clip}
/* The two-column desktop dashboard remains unchanged; narrow grids are overridden only in mobile media queries. */
.redesigned .menu-summary,.redesigned .menu-highlight-row>*{min-width:0}
.redesigned .menu-copy-link{width:100%;min-width:0;max-width:100%;overflow:hidden}
.redesigned .menu-copy-link span{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.redesigned .menu-small-actions{min-width:0;max-width:100%;flex-wrap:wrap}
.redesigned .menu-small-actions button{max-width:100%;min-width:0}
.redesigned .dashboard-preview,.redesigned .dashboard-preview .phone-frame{max-width:100%;min-width:0}
.redesigned .dashboard-preview .phone-frame{flex-shrink:1}
.redesigned .quick-grid,.redesigned .stats-grid{width:100%;min-width:0;max-width:100%}
.redesigned .quick-card,.redesigned .stat-card{box-sizing:border-box;min-width:0;max-width:100%;overflow-wrap:anywhere}
.redesigned .dashboard-welcome{max-width:100%}
.redesigned .section-topline,.redesigned .top,.redesigned .top-title,.redesigned .top-controls,.redesigned .state-tags{min-width:0;max-width:100%}
.redesigned .two-fields,.redesigned .brand-layout,.redesigned .tv-editor-grid,.redesigned .preview-editor-grid,.redesigned .versions-layout,.redesigned .share-layout{min-width:0;max-width:100%}
.redesigned input,.redesigned select,.redesigned textarea{max-width:100%;min-width:0}
.redesigned .codebox,.redesigned code{overflow-wrap:anywhere;word-break:break-word}
.redesigned .menu-summary>strong,.redesigned .menu-summary>small{overflow-wrap:anywhere}
.redesigned .dashboard-preview .phone-frame{width:min(262px,100%)}
@media(max-width:860px){
  .redesigned .workspace-wrap{width:100%;max-width:100vw}
  .redesigned .workspace{width:100%;max-width:100%;padding:18px 14px calc(98px + env(safe-area-inset-bottom))}
  .redesigned .dashboard-grid,.redesigned .dashboard-secondary{grid-template-columns:minmax(0,1fr)}
  .redesigned .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .redesigned .stats-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .redesigned .phone-header{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:62px;width:100%;padding:10px 16px;border-bottom:1px solid #b98b6b4d;background:linear-gradient(105deg,#3c2924 0%,#4b332b 100%);box-shadow:0 4px 15px #31201a12}
  .redesigned .phone-header::after{content:"";position:absolute;inset:auto 0 0;height:2px;background:linear-gradient(90deg,#c8895e 0%,#c8895e66 45%,transparent 100%)}
  .redesigned .phone-header .porem-logo{min-width:0;gap:10px}
  .redesigned .phone-header .porem-logo-icon{width:38px;height:38px;border-radius:11px;background:#f1dfcc;color:#663d2b;box-shadow:inset 0 0 0 1px #fff5ea80}
  .redesigned .phone-header .porem-logo-icon svg{width:25px;height:25px}
  .redesigned .phone-header .porem-logo strong{font-size:19px;line-height:1.06;font-weight:850;letter-spacing:-.45px}
  .redesigned .phone-header .porem-logo small{margin-top:3px;font-size:11px;line-height:1.1;font-weight:650;color:#e8c8b1}
  .redesigned .phone-activity{flex:0 0 42px;display:grid;place-items:center;width:42px;height:42px;border-radius:11px;border:1px solid #dfbd9c59;background:#ffffff12;color:#faf1e7;padding:0}
  .redesigned .phone-activity svg{width:22px;height:22px}
  .redesigned .top{gap:12px;margin-bottom:18px}
  .redesigned .top-title h1{font-size:clamp(25px,7vw,30px)}
  .redesigned .top-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:9px}
  .redesigned .top-controls .state-tags{grid-column:1/-1;display:flex;flex-wrap:wrap}
  .redesigned .top-controls>.btn{width:100%;min-width:0;max-width:100%;padding:11px 7px}
  .redesigned .top-controls>.btn span{white-space:nowrap}
  .redesigned .menu-highlight-row{max-width:100%;min-width:0}
  .redesigned .mobile-control{max-width:100vw}
  .redesigned .mobile-control button{min-width:0}
}
@media(max-width:620px){
  .redesigned .workspace{padding-inline:13px}
  .redesigned .dashboard-primary,.redesigned .dashboard-secondary{grid-template-columns:minmax(0,1fr)}
  .redesigned .stats-grid{gap:7px}
  .redesigned .stat-card{padding:12px 8px}
  .redesigned .stat-card strong{font-size:clamp(20px,6vw,26px)}
  .redesigned .stat-card span{font-size:11px;line-height:1.2;overflow-wrap:anywhere}
  .redesigned .quick-grid{gap:9px}
  .redesigned .quick-card{min-height:112px;padding:13px 8px}
  .redesigned .quick-card strong{font-size:12px}
  .redesigned .quick-card small{font-size:11px;line-height:1.3}
  .redesigned .menu-highlight-row{display:flex;align-items:flex-start;gap:10px}
  .redesigned .menu-spotlight{flex:0 0 73px;width:73px;height:84px}
  .redesigned .menu-summary{width:calc(100% - 83px)}
  .redesigned .menu-small-actions{width:100%;gap:7px}
  .redesigned .menu-small-actions button{flex:1 1 115px;justify-content:center}
  .redesigned .dashboard-preview .phone-frame{width:min(235px,100%)}
  .redesigned .brand-live-preview,.redesigned .brand-tv-preview{max-width:100%;overflow:hidden}
  .redesigned .publish-state-grid{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:360px){
  .redesigned .workspace{padding-inline:10px}
  .redesigned .card{padding:13px}
  .redesigned .quick-card{min-height:103px}
  .redesigned .quick-card small{font-size:10px}
  .redesigned .stats-grid{gap:5px}
  .redesigned .stat-card{padding:10px 6px}
  .redesigned .stat-card span{font-size:10px}
  .redesigned .phone-header{padding-inline:12px}
}

/* POREM Menu Smart: visual identity A */
.redesigned .porem-logo-icon{overflow:hidden;padding:0;background:#f2dac5}
.redesigned .porem-logo-icon img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.redesigned .phone-header .porem-logo-icon img{width:100%;height:100%;object-fit:cover}


/* POREM Menu Smart v1.1.3 — TV editor mobile width fix only */
.redesigned .tv-editor-grid,
.redesigned .tv-editor-grid > .card,
.redesigned .tv-editor-grid form,
.redesigned .tv-editor-grid .tv-preview-card {
  box-sizing:border-box;
  min-width:0;
  max-width:100%;
}
.redesigned .tv-layout-choices {
  grid-template-columns:repeat(3,minmax(0,1fr));
  min-width:0;
  max-width:100%;
}
.redesigned .tv-layout-choices .layout-choice {
  box-sizing:border-box;
  min-width:0;
  width:100%;
  max-width:100%;
  overflow:hidden;
}
.redesigned .tv-layout-choices .layout-illustration {
  box-sizing:border-box;
  min-width:0;
  max-width:100%;
}
.redesigned .tv-select-products,
.redesigned .tv-options,
.redesigned .orientation-grid {
  min-width:0;
  max-width:100%;
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.redesigned .tv-editor-grid .tv-product-select,
.redesigned .tv-editor-grid .orientation-choice,
.redesigned .tv-editor-grid .tv-options > * {
  box-sizing:border-box;
  min-width:0;
  max-width:100%;
}
.redesigned .tv-preview-card .tv-device,
.redesigned .tv-preview-card .tv-content-preview {
  box-sizing:border-box;
  min-width:0;
  width:100%;
  max-width:100%;
}
.redesigned .tv-preview-card .tv-content-preview {
  overflow:hidden;
}
.redesigned .tv-preview-card .tv-brand-preview,
.redesigned .tv-preview-card .tv-brand-preview > div,
.redesigned .tv-preview-card .tv-preview-grid,
.redesigned .tv-preview-card .tv-mini-card {
  min-width:0;
  max-width:100%;
}
.redesigned .tv-preview-card .tv-brand-preview b,
.redesigned .tv-preview-card .tv-mini-card strong {
  overflow:hidden;
  text-overflow:ellipsis;
}
.redesigned .tv-preview-card .tv-link-panel {
  box-sizing:border-box;
  min-width:0;
  width:100%;
  max-width:100%;
}
.redesigned .tv-preview-card .tv-link-panel code {
  display:block;
  box-sizing:border-box;
  min-width:0;
  width:100%;
  max-width:100%;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  word-break:break-all;
}
.redesigned .tv-preview-card .form-footer {
  min-width:0;
  max-width:100%;
}
.redesigned .tv-preview-card .form-footer > * {
  box-sizing:border-box;
  min-width:0;
  max-width:100%;
  overflow-wrap:anywhere;
}
@media(max-width:860px) {
  .redesigned .tv-editor-grid {
    grid-template-columns:minmax(0,1fr);
    width:100%;
  }
}
@media(max-width:580px) {
  .redesigned .tv-select-products {
    grid-template-columns:minmax(0,1fr);
  }
  .redesigned .tv-layout-choices {
    gap:6px;
  }
  .redesigned .tv-layout-choices .layout-choice {
    padding:9px 4px;
  }
  .redesigned .tv-layout-choices .layout-illustration {
    height:60px;
    padding:4px;
    gap:2px;
  }
  .redesigned .tv-preview-card .form-footer > * {
    flex:1 1 100%;
    justify-content:center;
  }
}
@media(max-width:390px) {
  .redesigned .tv-layout-choices {
    gap:4px;
  }
  .redesigned .tv-layout-choices .layout-choice {
    padding:8px 2px;
    gap:4px;
  }
  .redesigned .tv-layout-choices .layout-choice strong {
    font-size:10px;
    line-height:1.18;
  }
  .redesigned .tv-layout-choices .layout-choice small {
    font-size:8px;
    line-height:1.18;
  }
  .redesigned .tv-options {
    grid-template-columns:minmax(0,1fr);
  }
  .redesigned .tv-options .field {
    grid-row:auto;
  }
}


/* POREM Menu Smart v1.1.6 — publication history tucked away */
.redesigned .versions-layout .history-disclosure{
  box-sizing:border-box;
  width:100%;
  min-width:0;
  border:1px solid #e5d5c6;
  border-radius:14px;
  background:#fffdfa;
  overflow:hidden;
  margin:12px 0 0;
}
.redesigned .versions-layout .history-disclosure > summary{
  display:flex;
  align-items:center;
  gap:12px;
  list-style:none;
  cursor:pointer;
  padding:17px 16px;
  color:#3a2820;
  user-select:none;
  min-width:0;
}
.redesigned .versions-layout .history-disclosure > summary::-webkit-details-marker{display:none}
.redesigned .versions-layout .history-disclosure > summary:focus-visible{
  outline:3px solid #a85a36;
  outline-offset:-3px;
}
.redesigned .versions-layout .history-disclosure .history-disclosure-icon{
  display:grid;place-items:center;
  width:38px;height:38px;flex:0 0 38px;
  border-radius:11px;
  background:#f8eadc;
  color:#985438;
}
.redesigned .versions-layout .history-disclosure .history-disclosure-copy{
  display:block;
  flex:1 1 auto;
  min-width:0;
}
.redesigned .versions-layout .history-disclosure .history-disclosure-copy strong{
  display:block;font-size:14px;line-height:1.3;
}
.redesigned .versions-layout .history-disclosure .history-disclosure-copy small{
  display:block;color:#887469;font-size:12px;line-height:1.35;margin-top:3px;
}
.redesigned .versions-layout .history-disclosure .history-count{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:28px;
  padding:4px 7px;
  border-radius:999px;
  background:#f5ebe2;
  color:#855138;
  font-size:12px;
  font-weight:750;
}
.redesigned .versions-layout .history-disclosure .history-chevron{
  display:inline-block;
  margin-left:2px;
  width:9px;height:9px;
  flex:0 0 9px;
  border-right:2px solid #855138;
  border-bottom:2px solid #855138;
  transform:rotate(45deg);
  transition:transform .16s ease;
}
.redesigned .versions-layout .history-disclosure[open] .history-chevron{transform:rotate(225deg)}
.redesigned .versions-layout .history-disclosure[open] > summary{
  border-bottom:1px solid #ebdfd5;
  background:#fcf5ee;
}
.redesigned .versions-layout .history-disclosure-body{
  padding:13px 14px 5px;
  min-width:0;
}
.redesigned .versions-layout .history-disclosure-body .history-row{
  box-sizing:border-box;
  min-width:0;
  max-width:100%;
}
.redesigned .versions-layout .history-disclosure-body .history-row > div:nth-child(2){
  min-width:0;
  overflow-wrap:anywhere;
}
.redesigned .versions-layout .history-disclosure-body .history-row button{
  flex:0 0 auto;
  max-width:100%;
}
@media(max-width:620px){
  .redesigned .versions-layout .history-disclosure > summary{padding:13px 11px;gap:8px}
  .redesigned .versions-layout .history-disclosure-body{padding:10px 9px 3px}
  .redesigned .versions-layout .history-disclosure-body .history-row{
    flex-wrap:wrap;
    gap:8px;
  }
  .redesigned .versions-layout .history-disclosure-body .history-row button{
    margin-left:auto;
    white-space:normal;
  }
  .redesigned .versions-layout .history-disclosure .history-disclosure-copy small{font-size:11px}
}


/* POREM 1.1.9 — same renderer as public mobile menu */
.redesigned .phone-frame.phone-real-frame{box-sizing:border-box;display:flex;flex-direction:column;width:min(376px,100%);max-width:100%;height:722px;min-height:0;padding:0;border:9px solid #272324;border-radius:36px;overflow:hidden;background:white;box-shadow:0 14px 36px #261b163b;margin:18px auto 25px}
.redesigned .phone-real-status{display:flex;flex:0 0 29px;align-items:center;justify-content:space-between;padding:5px 20px 3px;background:white;color:#2c2420;font-size:11px;font-weight:800}
.redesigned iframe.phone-real-iframe{display:block;width:100%;height:100%;min-height:0;flex:1 1 auto;border:0;background:#f9f6f2}
.redesigned .phone-real-bottom{flex:0 0 18px;background:white;display:flex;align-items:center;justify-content:center}
.redesigned .phone-real-bottom:before{content:"";display:block;width:72px;height:4px;border-radius:10px;background:#252525}
.redesigned .phone-preview-sources{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 2px}
.redesigned .phone-preview-sources button{appearance:none;background:#fffdfa;color:#714b3c;border:1px solid #dac8b6;border-radius:11px;padding:10px 17px;font:700 13px system-ui,Arial,sans-serif;cursor:pointer}
.redesigned .phone-preview-sources button[aria-pressed="true"]{background:#a65f3e;border-color:#a65f3e;color:#fff}
.redesigned .phone-preview-sources button:focus-visible{outline:3px solid #6f3a28;outline-offset:3px}
.redesigned .phone-preview-help{font-size:12px;color:#756354;line-height:1.55}
.redesigned .preview-device-card .phone-real-frame{margin:19px auto 25px}
.redesigned .dashboard-preview .phone-frame.phone-real-frame{width:min(376px,100%)}
.redesigned .brand-live-preview .phone-frame.phone-real-frame{width:min(376px,100%)}
@media(max-width:420px){.redesigned .phone-frame.phone-real-frame{height:660px;width:100%;max-width:365px;margin:15px auto 20px;border-width:7px;border-radius:28px}.redesigned .phone-preview-sources button{flex:1 1 auto;padding:10px 11px}}
@media(max-width:350px){.redesigned .phone-frame.phone-real-frame{height:600px}}


/* POREM new smartphone layouts editor */
.redesigned .mobile-layout-settings{margin-top:15px;padding:17px;border:1px solid #e7d6c4;background:#fffaf5;border-radius:16px}
.redesigned .mobile-layout-settings h3{font-size:19px;margin:0 0 9px}
.redesigned .mobile-layout-settings .layout-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:15px 0}
.redesigned .mobile-layout-settings .layout-cards label{cursor:pointer;display:flex;flex-direction:column;gap:6px;min-width:0;align-items:center;padding:13px 5px;border:1px solid #d8c8b9;border-radius:12px;text-align:center;background:#fff}
.redesigned .mobile-layout-settings .layout-cards label:has(input:checked){border:2px solid #a65f3e;background:#fdf0e7}
.redesigned .mobile-layout-settings .layout-cards input{accent-color:#a65f3e;width:17px;height:17px;margin:0}
.redesigned .mobile-layout-settings .layout-cards strong{font-size:12px;overflow-wrap:anywhere}
.redesigned .mobile-layout-settings .layout-cards small{font-size:10px;color:#796456}
.redesigned .mobile-layout-settings .layout-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.redesigned .mobile-layout-settings .field{min-width:0}
.redesigned .mobile-layout-settings .field select{max-width:100%;min-width:0;width:100%;box-sizing:border-box}
.redesigned .mobile-layout-settings button[type=submit]{width:100%;margin-top:15px}
@media(max-width:400px){.redesigned .mobile-layout-settings{padding:12px}.redesigned .mobile-layout-settings .layout-settings-grid{grid-template-columns:minmax(0,1fr)}.redesigned .mobile-layout-settings .layout-cards{gap:5px}.redesigned .mobile-layout-settings .layout-cards label{padding:9px 3px}}


/* TV board preview: same renderer and dimensions as real TV, v126 */
.redesigned .tv-live-device{box-sizing:border-box;width:100%;min-width:0;max-width:100%;padding:5px}
.redesigned .tv-real-viewport{position:relative;width:100%;aspect-ratio:16/9;overflow:hidden;background:#211917}
.redesigned .tv-preview-portrait{width:min(240px,100%)!important;margin-inline:auto}
.redesigned .tv-preview-portrait .tv-real-viewport{aspect-ratio:9/16}
.redesigned iframe.tv-real-iframe{display:block;position:absolute;inset:0 auto auto 0;width:1280px;height:720px;border:0;transform:scale(var(--tv-preview-scale,.28));transform-origin:top left;pointer-events:none;background:#211917}
.redesigned .tv-preview-portrait iframe.tv-real-iframe{width:720px;height:1280px}
.redesigned .tv-preview-sources{display:flex;flex-wrap:wrap;gap:8px}
.redesigned .tv-preview-sources button{border:1px solid #d8c6b5;border-radius:10px;background:#fffaf5;color:#75432c;padding:10px 15px;font:700 13px system-ui;cursor:pointer}
.redesigned .tv-preview-sources button[aria-pressed="true"]{background:#a65f3e;color:white;border-color:#a65f3e}
.redesigned .tv-preview-sources button:disabled{opacity:.45;cursor:not-allowed}
.redesigned .tv-preview-guidance{font-size:12px;color:#77685c;line-height:1.5;margin:3px 0 10px}


/* POREM 1.2.7 fullscreen TV preview preserves TV aspect ratio */
.draft-preview-stage.tv{align-items:flex-start;justify-content:center;overflow:auto}
.draft-preview-stage.tv .tv-full-real-frame{position:relative;box-sizing:border-box;width:min(1080px,100%);max-width:100%;aspect-ratio:16/9;flex:0 1 auto;border:5px solid #302522;border-radius:10px;overflow:hidden;background:#211917;box-shadow:0 10px 30px #0003}
.draft-preview-stage.tv .tv-full-real-frame.tv-full-preview-portrait{width:min(335px,100%);aspect-ratio:9/16}
.draft-preview-stage.tv .tv-full-real-frame iframe.tv-real-iframe.draft-preview-iframe{display:block!important;position:absolute!important;inset:0 auto auto 0;width:1280px!important;height:720px!important;max-width:none!important;min-height:0!important;border:0!important;border-radius:0!important;transform:scale(var(--tv-preview-scale,.5));transform-origin:top left;box-shadow:none!important;background:#211917}
.draft-preview-stage.tv .tv-full-real-frame.tv-full-preview-portrait iframe.tv-real-iframe.draft-preview-iframe{width:720px!important;height:1280px!important}
@media(max-width:600px){.draft-preview-stage.tv{min-height:0;align-items:flex-start}.draft-preview-stage.tv .tv-full-real-frame{border-width:3px;border-radius:7px}}

/* POREM shared category header editing */
.redesigned .category-block .category-header-summary{display:block;color:#856750;font-size:11px;line-height:1.35;margin-top:2px;overflow-wrap:anywhere}
.redesigned .category-block .category-head-button{white-space:normal;text-align:center}
.redesigned .mobile-layout-settings .category-heading-toggle{display:flex;align-items:flex-start;gap:10px;margin:16px 0;padding:13px;border-radius:12px;border:1px solid #dcc7b6;background:#fff8f1;font-size:13px}
.redesigned .mobile-layout-settings .category-heading-toggle input{flex:0 0 auto;width:18px;height:18px;accent-color:#a65f3e}
.redesigned .tv-editor-grid .tv-category-header-toggle{padding:12px;border-radius:12px;background:#fbf2e8;border:1px solid #decbbb}


/* Online ordering destination setting */
.redesigned .restaurant-details-settings .order-url-setting{grid-column:1/-1}
.redesigned .restaurant-details-settings .order-url-setting input{width:100%;max-width:100%}
.redesigned .restaurant-details-settings .order-url-setting small{display:block;color:#786558;font-size:12px;margin-top:6px;line-height:1.4}

/* POREM G6.0 — promo builder */
.promo-builder{grid-column:1/-1;margin:18px 0;padding:18px;border:1px solid #e3d2bc;border-radius:16px;background:#fffaf3}
.promo-builder h3,.promo-builder h4{margin:8px 0 12px}.promo-builder .sub{line-height:1.5}
.promo-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:9px;margin:12px 0 18px}
.promo-options>label,.promo-included{display:flex;align-items:center;gap:9px;border:1px solid #e9d9c9;padding:10px;background:white;border-radius:10px;font-size:13px}
.promo-included label{flex:1;display:flex;align-items:center;gap:8px}
.promo-included input[type=number]{width:65px;padding:7px;border:1px solid #d7c7b7;border-radius:8px}
.promo-row-top{display:flex;flex-wrap:wrap;gap:12px;margin:14px 0;align-items:end}.promo-row-top>.field{min-width:150px;flex:1}
.promo-choice-row{padding:13px;border:1px solid #e6d6c5;border-radius:12px;margin:11px 0;background:white}
.promo-list{display:grid;gap:13px;margin-top:16px}.promo-card{display:flex;align-items:center;gap:14px;border:1px solid #e6d9cc;padding:13px;background:#fff;border-radius:13px}
.promo-thumb{width:86px;height:76px;object-fit:cover;flex:none;border-radius:10px;background:#f6ede2;display:grid;place-items:center;font-size:32px}
.promo-card-content{flex:1;min-width:0}.promo-card-content small{display:block;color:#876b5b;margin-top:4px}.promo-card-content p{margin:5px 0;font-size:12px;color:#77675e}
.promo-buttons{display:flex;gap:7px;flex-wrap:wrap}
@media(max-width:680px){.promo-card{flex-wrap:wrap;align-items:start}.promo-thumb{width:67px;height:67px}.promo-buttons{width:100%}.promo-buttons button{flex:1}}

/* Versioni promo: il prezzo si configura per versione, non nella scheda generica. */
#product-form:has([data-tier-rows]) .variants-panel{display:none}
#product-form:has([data-tier-rows]) .promo-builder{grid-column:1/-1}

/* G6.3 — editor essenziale per le promo a più versioni */
.promo-quick-editor{margin-top:18px}
.promo-quick-identity{display:grid;grid-template-columns:minmax(150px,220px) minmax(0,1fr);gap:18px;padding:16px;background:#fffaf5;border:1px solid #eadbcb;border-radius:16px}
.promo-quick-photo{display:grid;justify-items:start;gap:8px}
.promo-quick-photo>img,.promo-quick-placeholder{width:100%;height:145px;object-fit:cover;border-radius:12px;background:#eee1d4;display:grid;place-items:center;font-size:38px}
.promo-quick-photo .photo-upload-btn{max-width:100%;font-size:13px}
.promo-quick-main{display:grid;align-content:start;gap:12px}.promo-quick-main .field{min-width:0}
.promo-quick-section-head{margin:22px 0 10px}.promo-quick-section-head h3{margin:0 0 5px}
.promo-quick-tier{padding:15px 17px;margin-bottom:12px;border:1px solid #e7d6c5;border-radius:15px;background:#fff}
.promo-quick-tier-head{display:grid;grid-template-columns:minmax(0,2fr) minmax(100px,1fr);gap:12px}
.promo-quick-includes{margin:9px 0 4px;font-weight:650;color:#4a3d31;font-size:13px}
.promo-quick-short{margin:3px 0 12px;color:#7a6a5c;font-size:12px}
.promo-quick-tier details,.promo-quick-advanced{border-top:1px solid #e8ddce;padding-top:10px;margin-top:10px}
.promo-quick-tier summary,.promo-quick-advanced summary{cursor:pointer;color:#95583d;font-weight:650;font-size:13px;list-style-position:inside;line-height:1.5}
.promo-quick-advanced{border:1px solid #e5d8c9;border-radius:13px;padding:14px;margin-top:18px;background:#fffaf4}
.promo-quick-detail-inner{padding:12px 0;display:grid;gap:10px}
.promo-quick-detail-inner textarea{width:100%}
.promo-quick-visibility{display:flex;flex-wrap:wrap;gap:15px;font-size:13px}
.promo-quick-footer{display:flex;gap:12px;align-items:center;justify-content:space-between;padding-top:19px;flex-wrap:wrap}
.promo-quick-footer .sub{max-width:400px}
@media(max-width:650px){.promo-quick-identity{grid-template-columns:1fr}.promo-quick-photo{display:grid;grid-template-columns:112px minmax(0,1fr);align-items:center}.promo-quick-photo>img,.promo-quick-placeholder{width:112px;height:95px;grid-row:span 2}.promo-quick-tier-head{grid-template-columns:minmax(0,1fr) 115px;gap:8px}.promo-quick-footer button{width:100%}}


/* POREM Menu Smart G7.9: grafica condivisa con Food Cost, solo area gestionale */
:root{--cream:#F8F1E7;--paper:#FFFCF8;--brown:#2C2C2B;--deep:#242423;--terra:#C0583F;--terra-dark:#9E432F;--line:#E9DFD4;--muted:#79736D;--shadow:0 5px 18px rgba(46,39,30,.035)}
body{background:#F8F1E7;color:#2C2C2B}
.redesigned .sidebar{background:#2C2C2B;color:#F8F1E7}
.redesigned .sidebar .porem-logo{padding:10px 12px;border:0;border-radius:16px;background:#F8F1E7;min-height:94px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.redesigned .sidebar .porem-logo img{display:block;width:100%;height:auto;max-height:78px;object-fit:contain}
.redesigned .aside-caption{color:#BDB5AA}
.redesigned .sidebar .nav button{color:#EDE8E0;border-radius:13px}
.redesigned .sidebar .nav button.active{background:#F8F1E7;color:#2C2C2B;border-color:#F8F1E7;box-shadow:none}
.redesigned .sidebar .nav button:not(.active):hover{background:#40403E}
.redesigned .side-venue{background:#393938;border-color:#5B5753}
.redesigned .side-venue small{color:#D3C9BD}
.redesigned .side-help,.redesigned .side-logout{border-color:#605B55;color:#F4EEE6}
.redesigned .masthead{background:#FFFCF8;color:#2C2C2B;border-bottom:1px solid #E9DFD4;min-height:85px;gap:24px;padding-block:9px}
.redesigned .masthead .brand-logo{width:205px;height:65px;object-fit:contain;flex-shrink:0}
.redesigned .masthead-app{font-size:13px;font-weight:800;color:#6D645E;letter-spacing:1px;text-transform:uppercase}
.redesigned .masthead-right{display:flex;align-items:center;gap:13px;margin-left:auto;padding:0;border:0;color:#65605A;font-size:12px}
.redesigned .brand-online{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
.redesigned .brand-online::before{content:"";width:8px;height:8px;background:#5B9371;border-radius:50%;flex:none}
.redesigned .brand-exit{border:1px solid #E6DDD2;border-radius:12px;background:#FFFFFF;color:#292826;padding:10px 14px;font-weight:700}
.redesigned .porem-brand-row{display:none}
.redesigned .workspace{background:#F8F1E7}
.redesigned .top-title small{color:#73766C;letter-spacing:2.2px;font-size:11px}
.redesigned .top-title h1{font-size:clamp(34px,3.2vw,45px);font-weight:790;letter-spacing:-1.25px;line-height:1.13;color:#2C2C2B}
.redesigned .btn{background:#C0583F;border-color:#C0583F;border-radius:13px}
.redesigned .btn:hover{background:#A64B35}
.redesigned .btn.out{background:#FFFFFF;color:#5E463A;border-color:#DED2C5}
.redesigned .card{background:#FFFCF8;border:1px solid #E6DDD2;box-shadow:0 5px 18px rgba(48,41,30,.035);border-radius:21px}
.redesigned .card h2{color:#2C2C2B;letter-spacing:-.7px}
.redesigned .stat-card{border-radius:18px;background:#FFFDF9;border-color:#E4DCD2;box-shadow:none}
.redesigned .stat-card:nth-child(2){background:#EBF2ED}
.redesigned .menu-highlight-row,.redesigned .quick-card{border-radius:15px;background:#FFFDF9}
.redesigned .menu-small-actions button{background:#F5EEE5;color:#6A4A3D;border-color:#E8DACC}
.redesigned .dashboard-welcome{position:relative;isolation:isolate;min-height:225px;display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 18px;padding:30px 38px;background:#2C2C2B!important;border:1px solid #353433!important;border-radius:24px;box-shadow:none;overflow:hidden}
.redesigned .dashboard-welcome::before{content:"";position:absolute;z-index:-1;right:-72px;bottom:-130px;width:300px;height:300px;border-radius:50%;border:1px solid #B79F7634;box-shadow:0 0 0 34px #FFFFFF06,0 0 0 35px #B79F761f,0 0 0 70px #FFFFFF04,0 0 0 71px #B79F761a;pointer-events:none}
.redesigned .dashboard-welcome .welcome-copy{position:relative;z-index:1;max-width:680px}
.redesigned .dashboard-welcome .eyebrow{display:flex;align-items:center;gap:8px;color:#C8BCAC;font-size:10px;letter-spacing:2.1px}
.redesigned .dashboard-welcome .eyebrow::before{content:"✦";font-size:12px;color:#C9A885}
.redesigned .dashboard-welcome h2{color:#FFFDF9;font-weight:550;font-size:clamp(28px,3.2vw,42px);line-height:1.15;letter-spacing:-1.1px;margin:14px 0 10px}
.redesigned .dashboard-welcome h2 span{font-size:.76em}
.redesigned .dashboard-welcome h2::after{content:"Ogni ordine, sotto controllo.";display:block;margin-top:5px;color:#E8D0B5;font-family:Georgia,"Times New Roman",serif;font-weight:400;font-style:italic;font-size:clamp(24px,2.8vw,37px);letter-spacing:-.7px}
.redesigned .dashboard-welcome p{color:#E1D9CE;font-size:14px;line-height:1.65;max-width:500px}
.redesigned .dashboard-welcome .welcome-art{min-width:0;color:#8D7B68;opacity:.55}
.redesigned .dashboard-welcome .welcome-art span{display:none}
.redesigned .dashboard-welcome .welcome-cta{display:inline-flex;align-items:center;gap:14px;border:1px solid #938477;background:transparent;color:#F9F1E8;border-radius:13px;text-decoration:none;padding:11px 15px;margin-top:17px;font-size:13px;font-weight:700}
.redesigned .dashboard-welcome .welcome-cta:hover{background:#46413C}
.redesigned .draft-resume{background:#F4EBDF;border:1px solid #E4D4C3;border-radius:19px}
.redesigned .draft-resume b{color:#3B3632}
.redesigned .draft-resume small{color:#79736D}
.redesigned .draft-resume button{color:#64483B;border:1px solid #D2BDB0;border-radius:12px}
.redesigned .porem-home-orders{background:#FFFCF8;border:1px solid #E6DDD2;box-shadow:0 6px 24px rgba(48,41,30,.045);border-radius:22px}
.redesigned .porem-home-orders-title h2{font-weight:800;letter-spacing:-.8px}
.redesigned .porem-home-stats .o-stat{background:#FFFFFF;border:1px solid #E5DBCF;border-radius:15px}
.redesigned .porem-home-stats .o-stat:first-child{background:#F6E9E1}
.redesigned .porem-home-stats .o-stat:nth-child(2){background:#EEF1EA}
.redesigned .porem-home-stats .o-stat b{color:#B3543C}
.redesigned .porem-home-order{background:#FFFFFF;border:1px solid #E9E0D5;border-radius:17px}
.redesigned .o-chip{background:#FFFDF9;border-color:#DED5C9;color:#60483B;border-radius:12px}
.redesigned .o-cta{background:#BF583F;border-color:#BF583F;border-radius:13px;color:#FFFFFF}
.redesigned .mobile-control{background:#2C2C2B;color:#F8F1E7;box-shadow:0 -5px 20px #24242322}
.redesigned .mobile-control button{color:#D7D1C9}
.redesigned .mobile-control button.active{background:#4A423A;color:#FFE2C0}
@media(max-width:860px){
 .redesigned .phone-header{display:flex!important;align-items:center;justify-content:space-between;min-height:61px;padding:10px 18px;background:#2C2C2B!important;color:#F8F1E7;border:0!important;box-shadow:none!important}
 .redesigned .phone-header::after{display:none!important}
 .redesigned .phone-app-title{display:flex;align-items:center;gap:10px;color:#F8F1E7;font-size:15px;font-weight:730}
 .redesigned .phone-app-title img{width:37px;height:37px;border-radius:11px;background:#F8F1E7;padding:3px;object-fit:contain}
 .redesigned .phone-app-title small{display:block;font-size:10px;font-weight:500;color:#C2BAB2;margin-top:2px;letter-spacing:1.4px}
 .redesigned .phone-activity{border:1px solid #6B6964;background:#3B3A38;color:#F8F1E7;border-radius:12px;width:43px;height:42px;flex:none}
 .redesigned .porem-brand-row{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:94px;padding:12px 18px;background:#FFFCF8;border-bottom:1px solid #E9E0D5}
 .redesigned .porem-brand-row img{width:195px;height:auto;max-height:76px;max-width:54%;object-fit:contain}
 .redesigned .brand-row-actions{display:flex;align-items:center;gap:8px;min-width:0}
 .redesigned .brand-row-actions .brand-online{display:flex;align-items:center;gap:6px;color:#817C74;font-size:10px;white-space:nowrap}
 .redesigned .brand-row-actions .brand-exit{font-size:12px;padding:10px 12px;border-radius:12px;white-space:nowrap}
 .redesigned .workspace{padding:23px 16px calc(105px + env(safe-area-inset-bottom))}
 .redesigned .top{margin-bottom:17px}
 .redesigned .top-title h1{font-size:clamp(31px,7.8vw,40px)}
 .redesigned .dashboard-welcome{padding:25px 24px;min-height:220px;border-radius:24px}
 .redesigned .dashboard-welcome h2{font-size:clamp(27px,6.8vw,35px)}
 .redesigned .dashboard-welcome h2::after{font-size:clamp(23px,5.8vw,30px)}
 .redesigned .dashboard-welcome p{font-size:13px}
 .redesigned .dashboard-welcome .welcome-art{display:none}
 .redesigned .card{border-radius:19px}
 .redesigned .porem-home-orders{padding:18px}
 .redesigned .mobile-control{min-height:77px}
}
@media(max-width:430px){
 .redesigned .porem-brand-row{min-height:85px;padding-inline:12px;gap:6px}
 .redesigned .porem-brand-row img{width:175px;max-width:53%}
 .redesigned .brand-row-actions{gap:6px}
 .redesigned .brand-row-actions .brand-online{font-size:9px}
 .redesigned .brand-row-actions .brand-exit{padding:9px;font-size:11px}
 .redesigned .workspace{padding-inline:14px}
 .redesigned .dashboard-welcome{padding:23px 20px}
 .redesigned .dashboard-welcome h2{font-size:26px}
 .redesigned .dashboard-welcome h2::after{font-size:23px;line-height:1.15}
 .redesigned .dashboard-welcome .welcome-cta{margin-top:15px}
 .redesigned .porem-home-orders{padding:15px}
}


/* POREM Menu Smart G7.10 — unica intestazione compatta su smartphone */
.redesigned .brand-app-name{font-size:14px;font-weight:800;line-height:1.15;letter-spacing:-.25px;color:#33302D;white-space:nowrap}
@media(max-width:860px){
 .redesigned .phone-header{display:none!important}
 .redesigned .porem-brand-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;gap:8px;min-height:78px;padding:10px 14px}
 .redesigned .porem-brand-row img{width:clamp(122px,27vw,185px);max-width:none;min-width:0;height:auto;max-height:65px;object-fit:contain;flex:0 1 auto}
 .redesigned .porem-brand-row .brand-app-name{display:block;flex:0 0 auto;margin-left:auto}
 .redesigned .brand-row-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto}
 .redesigned .brand-row-actions .brand-online{font-size:10px}
 .redesigned .brand-row-actions .brand-exit{font-size:12px;padding:9px 11px}
}
@media(max-width:430px){
 .redesigned .porem-brand-row{gap:5px;padding:8px 10px;min-height:73px}
 .redesigned .porem-brand-row img{width:clamp(105px,31vw,136px);max-width:none;flex:0 1 auto}
 .redesigned .porem-brand-row .brand-app-name{font-size:12px;letter-spacing:-.3px}
 .redesigned .brand-row-actions{gap:5px}
 .redesigned .brand-row-actions .brand-online{font-size:9px;gap:4px}
 .redesigned .brand-row-actions .brand-online::before{width:7px;height:7px}
 .redesigned .brand-row-actions .brand-exit{font-size:11px;padding:8px 7px;border-radius:10px}
}
@media(max-width:350px){
 .redesigned .porem-brand-row{gap:4px;padding-inline:7px}
 .redesigned .porem-brand-row img{width:100px}
 .redesigned .porem-brand-row .brand-app-name{font-size:11px}
 .redesigned .brand-row-actions{gap:4px}
 .redesigned .brand-row-actions .brand-online{font-size:8px}
 .redesigned .brand-row-actions .brand-exit{padding:7px 6px;font-size:10px}
}

/* POREM G7.12 — Home operativa essenziale, editor Menù per bozza/pubblicazione */
.redesigned.home-page .top{display:none!important}
.redesigned.home-page .workspace{padding-top:16px}
.redesigned.home-page .dashboard-welcome{min-height:0;padding:26px 30px;margin-bottom:14px}
.redesigned.home-page .dashboard-welcome h2{font-size:clamp(25px,3vw,34px);line-height:1.22}
.redesigned.home-page .dashboard-welcome .welcome-copy{max-width:100%}
.redesigned.home-page .dashboard-welcome .welcome-cta{display:none}
@media(max-width:860px){.redesigned.home-page .workspace{padding-top:14px}.redesigned.home-page .dashboard-welcome{padding:23px 22px;min-height:0;border-radius:23px}.redesigned.home-page .dashboard-welcome h2{font-size:clamp(23px,6vw,29px)}.redesigned.home-page .dashboard-welcome h2::after{font-size:clamp(21px,5.5vw,26px)}}
@media(max-width:430px){.redesigned.home-page .workspace{padding-top:12px}.redesigned.home-page .dashboard-welcome{padding:21px 20px}.redesigned.home-page .dashboard-welcome h2{font-size:25px}}


/* POREM Menu Smart G7.2 - Ordini, dentro il pannello esistente */
.o-top{display:flex;justify-content:space-between;gap:10px;align-items:center;flex-wrap:wrap;margin:12px 0 18px}
.o-top h2{margin:0;color:#34251d}.o-toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.o-chip{border:1px solid #dec5b4;background:#fffaf3;color:#6c4838;border-radius:10px;padding:10px 13px;font-weight:750}
.o-chip.current{background:#a65a3d;color:white;border-color:#a65a3d}
.o-banner{padding:13px 16px;border-radius:13px;background:#f7e8d6;border:1px solid #e1cfbc;color:#674631;font-size:13px;line-height:1.55;margin:12px 0 20px}
.o-banner.is-on{background:#edf7ed;border-color:#b9d6ba;color:#315939}.o-banner.danger{background:#fff0e8;border-color:#eac8b8;color:#893d32}
.o-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin:14px 0 19px}
.o-stat{border:1px solid #e8d7c8;border-radius:14px;background:#fffdf9;padding:15px;color:#49362b}
.o-stat b{display:block;font-size:26px;color:#995238}.o-stat small{color:#826a5c;font-size:12px}
.o-orders-list{display:grid;gap:12px;margin:14px 0}
.o-order-card{background:#fffefa;border:1px solid #e1cbbb;box-shadow:0 7px 17px #4023160c;border-radius:15px;padding:16px}
.o-order-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap}
.o-order-head strong{font-size:17px;color:#34251d}.o-order-head small{display:block;color:#7b6353;font-size:12px;margin-top:3px}
.o-status{display:inline-block;background:#f5e6d3;color:#7c492f;padding:6px 9px;border-radius:8px;font-size:12px;font-weight:800}
.o-status.ready{background:#e3f2e3;color:#2b653d}.o-status.received{background:#fef0cf;color:#805b1e}
.o-status.rejected,.o-status.cancelled{background:#f0e5e3;color:#785454}
.o-lines{display:grid;gap:7px;border-top:1px solid #ebddd0;margin:12px 0;padding-top:12px}
.o-lines b{font-size:13px;color:#463127}.o-lines small{display:block;font-size:12px;color:#806d60;line-height:1.45}
.o-order-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.o-cta{background:#a65a3d;color:#fff;border:0;border-radius:10px;padding:10px 14px;font-weight:800}
.o-secondary{background:#fff6ef;border:1px solid #ddc4b3;color:#653d2b;border-radius:10px;padding:9px 13px;font-weight:750}
.o-simple{background:#fffefa;border:1px solid #ead8c8;border-radius:15px;padding:17px;margin:14px 0}
.o-simple h3{margin:0 0 8px;font-size:18px}.o-hint{color:#806b5d;font-size:12px;line-height:1.5;margin:5px 0 15px}
.o-field{display:inline-flex;flex-direction:column;gap:5px;margin:8px 12px 8px 0;font-size:12px;font-weight:750;color:#594031}
.o-field input,.o-field select{min-width:100px;border:1px solid #dfc9b9;background:#fff;color:#3a2920;border-radius:9px;padding:10px;font-size:14px}
.o-field input[type="checkbox"]{min-width:unset;width:18px;height:18px}
.o-days{display:grid;gap:8px}.o-day{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:10px;border:1px solid #edddd0;border-radius:11px;background:#fffaf6}
.o-day b{min-width:90px;font-size:13px}.o-day input[type="time"]{border:1px solid #dcc9bb;background:#fff;padding:7px;border-radius:8px}
.o-loading{padding:16px;color:#7a6050}.o-error{padding:14px;border:1px solid #d7a99b;background:#fff0e9;border-radius:10px;color:#8d392b;font-size:13px}
@media(max-width:760px){.o-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.o-order-head strong{font-size:15px}.o-field{width:100%}.o-field input,.o-field select{width:100%}.o-top{align-items:flex-start}}


/* G7.4 — Evidentiary status and prominent single-slot exceptions */
.o-exception-panel{overflow:hidden}
.o-exception-date{width:100%;max-width:430px}
.o-exception-date input,.o-exception-date select{width:100%;min-height:46px}
.o-day-state{display:flex;gap:12px;align-items:center;padding:14px 16px;border-radius:12px;margin:8px 0 14px}
.o-day-state.is-open{background:#eff5ec;border:1px solid #bed6b8;color:#355a34}
.o-day-state.is-closed{background:#fdf0e9;border:1px solid #e7c4b2;color:#813f2d}
.o-day-state-symbol{font-size:18px;font-weight:900;display:grid;place-items:center;width:29px;height:29px;flex:0 0 29px;border-radius:50%;background:#fff9f4}
.o-day-state strong{display:block;font-size:15px}
.o-day-state small{display:block;font-size:13px;margin-top:3px;line-height:1.45}
.o-exception-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}
.o-exception-actions button{min-height:42px}
.o-exception-actions button:disabled{opacity:.45;cursor:not-allowed}
.o-link-action{background:transparent;border:0;color:#8a4d32;text-decoration:underline;font-weight:750;padding:10px 0}
@media(max-width:760px){
 .o-exception-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .o-exception-actions .o-link-action{grid-column:1 / -1;text-align:left;padding:11px 0}
 .o-exception-actions .o-cta,.o-exception-actions .o-secondary{padding:12px 6px;white-space:normal;font-size:13px}
}


.o-order-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:12px 0 17px}
.o-filter{border:1px solid #e6d2bf;background:#e8d8c7;border-radius:13px;padding:15px 10px;color:#60392b;font-weight:850;font-size:13px}
.o-filter.selected{background:#5e3324;border-color:#5e3324;color:white}
.o-order-filters .o-filter:nth-child(3),.o-order-filters .o-filter:nth-child(4),.o-order-filters .o-filter:nth-child(5){grid-column:span 2}
.o-order-filters .o-filter:nth-child(5){background:#f7ede3}
.o-order-filters .o-filter:nth-child(5).selected{background:#5e3324;color:#fff}
.o-lines-open{padding:14px;background:#fdf6ec;border-radius:12px;border:1px solid #ead4c5}
.o-day-quick{display:block;padding:12px}
.o-day-core{display:flex;justify-content:space-between;align-items:center;gap:14px}
.o-day-core b{display:block;font-size:15px}
.o-day-core small{display:block;font-size:12px;font-weight:750;margin-top:5px}
.o-day-quick.on{border:2px solid #79ba96;background:#fafffa}
.o-day-quick.off{border:2px solid #e8dbd0;background:#fffcf8}
.o-day-core button{color:white;border:0;border-radius:13px;padding:12px 16px;min-width:87px;min-height:43px;font-weight:850}
.o-close-quick{background:#c44834}.o-open-quick{background:#259c62}
.o-day-hours{font-size:12px;margin-top:10px;color:#795d4e}
.o-day-hours summary{cursor:pointer;text-decoration:underline}
.o-hours-row{display:flex;align-items:flex-end;gap:8px;flex-wrap:wrap;margin-top:10px}
.o-hours-row label{display:flex;flex-direction:column;gap:5px}
.o-slots-quick{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:14px 0 21px}
.o-slot-quick{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:63px;border:2px solid #e8d7c5;border-radius:13px;background:white;color:#684336;gap:4px}
.o-slot-quick b{font-size:17px}.o-slot-quick small{font-size:11px;font-weight:850}
.o-slot-quick.open{border-color:#9acda9;background:#f5fcf5}
.o-slot-quick.closed{border-color:#e7b5a8;background:#fff2ed;color:#9b4234}
.o-slot-quick:disabled{opacity:.65;cursor:not-allowed}
.o-whatsapp-field{width:100%;max-width:420px}
@media (min-width:770px){.o-order-filters{display:flex;flex-wrap:wrap}.o-order-filters .o-filter{flex:1;min-width:128px}.o-slots-quick{grid-template-columns:repeat(4,minmax(0,1fr))}}


#o-print-receipt{display:none}
@media print{
 @page{margin:5mm}
 body>*{display:none}
 body>#o-print-receipt{display:block;position:static;width:75mm;font:12px/1.3 Arial,sans-serif;color:#000;background:#fff}
 #o-print-receipt h2{text-align:center;font-size:16px;border-bottom:1px dashed #777}
 #o-print-receipt p{margin:6px 0;break-inside:avoid}
 #o-print-receipt .o-print-choice{padding-left:10px;font-size:11px}
 #o-print-receipt .o-print-total{font-weight:900;font-size:15px}
}


/* G7.6 — three quiet summary tiles, below quick filters */
.o-grid-compact{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:10px 0 17px}
.o-grid-compact .o-stat{padding:9px 9px 10px;min-height:60px;border-radius:12px;box-shadow:none}
.o-grid-compact .o-stat b{font-size:21px;line-height:1.2;margin-bottom:3px}
.o-grid-compact .o-stat small{font-size:11px;line-height:1.2;display:block;white-space:normal}
.o-order-card .o-order-actions .o-cta{min-height:43px}
@media(max-width:760px){
 .o-grid-compact{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
 .o-grid-compact .o-stat{padding:8px 7px;min-height:58px}
 .o-grid-compact .o-stat b{font-size:20px}
 .o-grid-compact .o-stat small{font-size:10px}
}


/* POREM G7.7 - Comande nella panoramica, priorita' operativa */
.porem-home-orders{margin:0 0 20px;padding:21px}
.porem-home-orders-title{gap:12px;flex-wrap:wrap}
.porem-home-orders-title h2{margin:0}
.porem-home-orders-title .sub{margin:5px 0 0}
.porem-home-stats{grid-template-columns:repeat(3,minmax(0,1fr));margin:12px 0 14px}
.porem-home-stats .o-stat{padding:10px 12px;text-align:center;border-radius:12px}
.porem-home-stats .o-stat b{font-size:24px}
.porem-home-order-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:10px 0 13px}
.porem-home-order-toolbar small{color:#725b4c}
.porem-home-order-toolbar>div{display:flex;gap:6px;flex-wrap:wrap}
.porem-home-order-toolbar .o-chip{padding:7px 9px;font-size:12px}
.porem-home-list{display:grid;gap:10px}
.porem-home-order{border:1px solid #e5d4c4;background:#fffdf9;border-radius:14px;padding:13px;display:grid;gap:8px}
.porem-home-order-head{display:flex;align-items:start;justify-content:space-between;gap:12px}
.porem-home-order-head strong{font-size:15px;color:#392820;display:block}
.porem-home-order-head small{display:block;font-size:12px;color:#7c6759;margin-top:4px}
.porem-home-order-head b{font-size:15px;color:#9f5033;white-space:nowrap}
.porem-home-order p{margin:0;font-size:13px;color:#735e51}
.porem-home-order .porem-home-note{font-weight:750;color:#8e422c}
.porem-home-print{width:100%;min-height:42px}
.porem-home-more{width:100%;margin-top:12px}
.porem-home-empty{padding:18px;text-align:center;color:#796657;background:#fffaf4;border-radius:12px;border:1px dashed #e8d7c8}
.porem-home-foot{font-size:11px;color:#88786c;margin:12px 0 0}
@media(max-width:520px){.porem-home-orders{padding:14px;margin-bottom:13px}.porem-home-stats .o-stat{padding:9px 5px}.porem-home-order-toolbar{align-items:start}.porem-home-order-toolbar>div{width:100%}.porem-home-order-toolbar .o-chip{flex:1}}


.o-archive-tools{background:#fffaf5;border:1px solid #e7d4c3;border-radius:17px;padding:15px;margin:13px 0;display:grid;gap:9px}
.o-archive-tools label{font-size:14px;font-weight:750}.o-archive-tools input{background:#fff;color:#392a22;border:1px solid #d7c2b2;border-radius:11px;min-height:46px;padding:12px;font-size:15px;width:100%}
.o-archive-tools small{font-size:12px;line-height:1.45;color:#816c5f}
.o-archive-wipe,.o-archive-delete{background:#fff6f0;border:1px solid #d7b6a5;color:#a04430;border-radius:11px;min-height:43px;padding:10px 13px;font-size:13px;font-weight:750}
.o-archive-wipe{width:100%;min-height:48px}.o-archive-locked{font-size:12px;line-height:1.4;color:#896e5e}
.o-archive-pages{display:flex;justify-content:space-between;gap:8px;align-items:center;margin:17px 0 24px}.o-archive-pages button{border:1px solid #dec7b4;background:#fff9f3;color:#694b3b;border-radius:10px;padding:10px;font-size:12px;font-weight:700}
.o-archive-pages button:disabled{opacity:.36}.o-archive-pages span{font-size:12px;color:#765d4f;white-space:nowrap}
.o-purge-overlay{position:fixed;inset:0;z-index:2147483645;display:flex;align-items:center;justify-content:center;padding:16px;background:#20140dcb}
.o-purge-panel{width:min(100%,420px);background:#fffcf9;border-radius:22px;padding:21px 19px;box-shadow:0 22px 70px #0004;color:#372920}
.o-purge-panel h2{margin:0 0 11px;font-size:21px}.o-purge-panel p{font-size:14px;color:#745e50;line-height:1.5}.o-purge-panel label{display:block;margin:14px 0 9px;font-size:13px}.o-purge-panel label strong{color:#a3442f}
.o-purge-panel input{background:#fff;color:#3b2b22;border:1px solid #dac1b2;border-radius:11px;width:100%;padding:12px;font-size:16px;min-height:48px}
.o-purge-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:18px}.o-purge-actions button{background:#f8ede2;border:1px solid #dcc7b7;border-radius:10px;min-height:48px;font-size:13px;font-weight:700;padding:9px}
.o-purge-actions [data-purge-submit]:not(:disabled){background:#aa4f36;border-color:#aa4f36;color:#fff}.o-purge-actions [data-purge-submit]:disabled{opacity:.36}
