/* Visual menu editing: the card is the entry point; fields open from it. */
.menu-visual-actions{display:flex;align-items:center}
@media(max-width:620px){.frn-system .menu-visual-intro{flex-direction:column}.frn-system .menu-visual-actions{display:grid;gap:8px;width:100%}.frn-system .menu-visual-actions #add-item{width:100%;min-height:46px;background:linear-gradient(130deg,#ff912e,#ed6417);color:white;border:0;font-weight:700}.frn-system .menu-visual-actions .menu-visual-modes{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%}.frn-system .menu-visual-actions .menu-visual-modes button{width:100%;min-height:42px}}
.frn-system .menu-visual-intro{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:20px 0 12px}.frn-system .menu-visual-intro h3{font-size:19px;margin:0 0 3px}.frn-system .menu-visual-intro p{font-size:11px;margin:0}.frn-system .menu-visual-modes{display:flex;gap:5px}.frn-system .menu-visual-modes button{font-size:11px;white-space:nowrap}.frn-system .menu-visual-modes button[aria-pressed=true]{background:#fff0e5;border-color:#ffbe90;color:#bc4d08}.frn-system #menu-rows{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;align-items:start}.frn-system #menu-rows>.editor-row{min-width:0;margin:0!important}.frn-system #menu-rows>.editor-row.is-editing{grid-column:1/-1}.frn-system #menu-rows .item-editor{overflow:hidden;padding:0!important;margin:0!important;border:1px solid #dce7f1!important;border-radius:15px!important;box-shadow:0 3px 12px #193c5a08!important}.frn-system .item-editor>summary{display:block!important;padding:0!important;list-style:none;cursor:pointer}.frn-system .item-editor>summary::-webkit-details-marker{display:none}.frn-system .menu-card-visual{position:relative;height:185px;background:#f0f5fb;display:flex;align-items:center;justify-content:center;overflow:hidden}.frn-system .menu-card-visual img{width:100%;height:100%;object-fit:cover;display:block}.frn-system .menu-card-visual.pizza{background:#f8fbff}.frn-system .menu-card-visual.pizza img{object-fit:contain;width:85%;height:88%;filter:drop-shadow(0 7px 5px #15304b25)}.frn-system .menu-card-visual:after{content:'';position:absolute;inset:auto 0 0;height:25%;background:linear-gradient(transparent,#142c4312);pointer-events:none}.frn-system .menu-card-status{position:absolute;left:11px;top:11px;background:#ffffffee;color:#395d77;padding:4px 7px;border-radius:5px;font:600 9px var(--font);z-index:2}.frn-system .menu-card-status.is-hidden{background:#273d52;color:#fff}.frn-system .menu-card-sample{position:absolute;bottom:10px;left:10px;padding:4px 7px;background:#ffffffed;color:#657c92;font:9px var(--font);border:1px solid #dbe5ed;border-radius:4px;z-index:2}.frn-system .menu-card-info{padding:14px;display:grid;grid-template-columns:1fr auto;gap:6px 8px}.frn-system .menu-card-info strong{font:700 15px/1.3 var(--display);color:var(--ink);overflow-wrap:anywhere}.frn-system .menu-card-info .menu-card-price{font:600 13px var(--font);color:#bd4b05;white-space:nowrap}.frn-system .menu-card-category{font:10px var(--font);color:#8192a3}.frn-system .menu-card-edit{font:600 10px var(--font);color:#48708e;justify-self:end}.frn-system .item-editor-body{padding:20px;border-top:1px solid var(--line);min-width:0}.frn-system .item-editor[open]{display:grid;grid-template-columns:minmax(180px,.65fr) minmax(0,1.35fr);align-items:start}.frn-system .item-editor[open]>summary{grid-column:1;position:sticky;top:100px}.frn-system .item-editor[open]>.item-editor-body{grid-column:2;border-left:1px solid var(--line);border-top:0}.frn-system .item-editor[open] .menu-card-visual{height:260px}.frn-system .item-editor[open] .menu-card-info{padding:18px}.frn-system .item-editor[open] .field-grid{grid-template-columns:1fr 1fr}.frn-system .item-editor-body label{font-size:11px}.frn-system .item-editor-body .image-tools{background:#f4f8fc;border-radius:10px;padding:14px}.frn-system .item-editor-body .image-tools img{height:90px;object-fit:contain}.frn-system .menu-empty{grid-column:1/-1;background:white;border:1px dashed #c9d9e8;padding:25px;border-radius:14px;display:flex;gap:24px;align-items:center}.frn-system .menu-empty figure{margin:0;max-width:190px;flex:1}.frn-system .menu-empty img{width:100%;height:150px;object-fit:contain;filter:drop-shadow(0 5px 4px #17334d20)}.frn-system .menu-empty figcaption{font:10px var(--font);color:#7c91a3;text-align:center}.frn-system .menu-empty>div{flex:1}.frn-system .menu-empty h3{font-size:20px}.frn-system .menu-empty p{font-size:12px;margin:10px 0 16px}.frn-system .menu-page-preview{margin:18px 0;background:#edf3fa;border:1px solid #d8e4ef;border-radius:16px;padding:22px}.frn-system .menu-page-preview>header{background:transparent;padding:0 0 15px;color:var(--ink);display:flex;align-items:center;justify-content:space-between}.frn-system .menu-page-preview h3{font-size:18px;margin:0}.frn-system .menu-page-preview>p{font-size:11px;margin:0 0 14px}.frn-system .menu-preview-grid{max-width:510px;margin:auto;display:grid;grid-template-columns:1fr 1fr;gap:16px}.frn-system .menu-preview-card{padding:15px;background:#fff;border:0;border-radius:24px;box-shadow:0 5px 14px #16304b18;display:flex;flex-direction:column;gap:9px;overflow-wrap:anywhere;min-width:0}.frn-system .menu-preview-card img{width:100%;height:180px;object-fit:contain;border-radius:17px;filter:drop-shadow(0 4px 3px #14345015)}.frn-system .menu-preview-card strong{font:600 17px var(--font)}.frn-system .menu-preview-card p{font-size:11px;margin:0}.frn-system .menu-preview-card small{font-size:9px;color:#8192a4}.frn-system .menu-preview-card .preview-price{font:700 20px var(--font);color:#1b2c3c;margin-top:auto}.frn-system .menu-preview-card.is-signature{grid-column:1/-1}.frn-system .menu-preview-card.is-signature img{height:250px}.frn-system .menu-preview-card.is-pizza{grid-column:1/-1;display:grid;grid-template-columns:42% 58%;min-height:290px;padding:20px;gap:12px 0}.frn-system .menu-preview-card.is-pizza>strong{grid-column:1/-1}.frn-system .menu-preview-card.is-pizza img{grid-column:2;grid-row:2;height:215px;filter:drop-shadow(0 6px 5px #0003)}.frn-system .menu-preview-card.is-pizza p{grid-column:1;grid-row:2;align-self:center;padding-right:8px}.frn-system .menu-preview-card.is-pizza .preview-price,.frn-system .menu-preview-card.is-pizza small{grid-column:1/-1}.frn-system .menu-preview-section{grid-column:1/-1;font:700 20px var(--display);margin:12px 0 0}
@media(max-width:1000px){.frn-system #menu-rows{grid-template-columns:repeat(2,minmax(0,1fr))}.frn-system .item-editor[open]{grid-template-columns:1fr}.frn-system .item-editor[open]>summary{position:static;grid-column:1}.frn-system .item-editor[open]>.item-editor-body{grid-column:1;border-left:0;border-top:1px solid var(--line)}.frn-system .item-editor[open]>summary{display:grid!important;grid-template-columns:1fr 1fr;align-items:center}.frn-system .item-editor[open] .menu-card-visual{height:190px}.frn-system .item-editor[open] .menu-card-info{display:flex;flex-direction:column;gap:10px}}
@media(max-width:620px){.frn-system #menu-rows{gap:11px}.frn-system .menu-card-visual{height:145px}.frn-system .menu-card-info{padding:12px 10px;grid-template-columns:1fr;gap:5px}.frn-system .menu-card-info strong{font-size:13px}.frn-system .menu-card-info .menu-card-price{font-size:12px}.frn-system .menu-card-edit{justify-self:start;margin-top:3px}.frn-system .menu-card-sample{font-size:8px;bottom:7px;left:7px}.frn-system .menu-card-status{font-size:8px;left:7px;top:7px}.frn-system .item-editor-body{padding:14px 12px}.frn-system .item-editor[open] .field-grid{grid-template-columns:1fr}.frn-system .item-editor[open] .menu-card-visual{height:160px}.frn-system .menu-visual-intro{align-items:flex-start;gap:8px}.frn-system .menu-visual-intro h3{font-size:17px}.frn-system .menu-visual-modes{flex-direction:column}.frn-system .menu-visual-modes button{font-size:10px;padding:8px 10px}.frn-system .menu-page-preview{padding:13px}.frn-system .menu-preview-grid{gap:11px}.frn-system .menu-preview-card{padding:12px}.frn-system .menu-preview-card img{height:140px}.frn-system .menu-preview-card.is-pizza{padding:15px}.frn-system .menu-preview-card.is-pizza img{height:175px}.frn-system .menu-empty{gap:15px;padding:16px}.frn-system .menu-empty img{height:115px}.frn-system .menu-empty h3{font-size:17px}}
