/* inoMenü 0.8.1 — wizard layout, branch-aware menus, onboarding previews and AI usage guide */

/* Wizard layout: shared by Menu Wizard + Product Wizard */
.fq-wizard-card{width:min(980px,100%);max-width:980px;margin:0 auto;padding:0!important;overflow:hidden;min-height:0!important}
.fq-wizard-steps{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch;border-bottom:1px solid #e7ebf1;background:#fbfcfe;padding:0 22px}
.fq-wizard-steps>span{position:relative;display:flex!important;align-items:center;gap:9px;min-width:0;padding:17px 12px 15px;color:#8a95a5}
.fq-wizard-steps>span:not(:last-child):after{content:"";position:absolute;right:-4px;top:50%;width:8px;height:1px;background:#dce2ea}
.fq-wizard-steps>span>b{width:27px;height:27px;border-radius:9px;border:1px solid #dbe1e9;background:#fff;color:#758093;display:grid;place-items:center;flex:0 0 auto;font-size:11px;line-height:1}
.fq-wizard-steps>span>small{font-size:12px!important;line-height:1.2;font-weight:650;color:inherit;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fq-wizard-steps>span.on{color:#255CFF}.fq-wizard-steps>span.on>b{background:#255CFF;border-color:#255CFF;color:#fff;box-shadow:0 5px 14px rgba(37,92,255,.18)}
.fq-wizard-steps>span.done{color:#43516a}.fq-wizard-steps>span.done>b{background:#eef3ff;border-color:#cad7ff;color:#255CFF}
.fq-wizard-body{padding:28px 32px 30px;min-height:390px}
.fq-wizard-actions{display:flex!important;align-items:center;justify-content:space-between;gap:10px;padding:15px 32px;border-top:1px solid #e9edf2;background:#fbfcfe}
.fq-wizard-actions .fq-btn{min-width:110px;justify-content:center}
.fq-wiz-head{margin-bottom:24px!important}.fq-wiz-head h2{font-size:20px!important;line-height:1.25}.fq-wiz-head p{font-size:12px!important;line-height:1.55!important}
.fq-wizard-body .fq-field>span{font-size:12px!important;margin-bottom:7px}.fq-wizard-body .fq-input,.fq-wizard-body .fq-select,.fq-wizard-body .fq-textarea{font-size:13px!important;min-height:42px}
.fq-wizard-body .fq-textarea{min-height:94px}

/* Real miniature menu previews */
.fq-theme-preview{height:150px;border:1px solid color-mix(in srgb,var(--tp) 22%,#e2e7ef);border-radius:12px;overflow:hidden;background:var(--tb);padding:10px;display:flex;flex-direction:column;gap:8px;pointer-events:none}
.fq-tp-header{height:24px;display:flex;align-items:center;gap:6px}.fq-tp-header i{width:20px;height:20px;border-radius:6px;background:var(--tp)}.fq-tp-header span{height:6px;border-radius:99px;background:color-mix(in srgb,var(--tp) 35%,transparent);width:56px}.fq-tp-header em{margin-left:auto;width:24px;height:8px;border-radius:99px;background:color-mix(in srgb,var(--ta) 45%,transparent)}
.fq-tp-nav{display:flex;gap:4px}.fq-tp-nav i{height:13px;flex:1;border-radius:99px;background:color-mix(in srgb,var(--tp) 12%,#fff);border:1px solid color-mix(in srgb,var(--tp) 17%,#e5e7eb)}.fq-tp-nav i:first-child{background:var(--tp);border-color:var(--tp)}
.fq-tp-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:6px;flex:1}.fq-tp-grid>span{display:grid;grid-template-columns:34px 1fr;grid-template-rows:1fr 8px;gap:5px;padding:5px;border-radius:8px;background:#fff;border:1px solid rgba(15,23,42,.06)}.fq-tp-grid i{grid-row:1/3;width:34px;border-radius:6px;background:color-mix(in srgb,var(--ta) 38%,#e9edf3)}.fq-tp-grid b,.fq-tp-grid em{height:5px;border-radius:99px;background:#d9dee7;display:block}.fq-tp-grid em{width:55%;background:var(--tp)}
.fq-theme-preview.cards{background:#faf8f5}.fq-theme-preview.cards .fq-tp-header{justify-content:center}.fq-theme-preview.cards .fq-tp-header i,.fq-theme-preview.cards .fq-tp-header em{display:none}.fq-theme-preview.cards .fq-tp-header span{width:82px;height:7px;background:#3c342f}.fq-tp-lines{display:flex;flex-direction:column;gap:12px;padding:8px 4px}.fq-tp-lines span{display:grid;grid-template-columns:70px 1fr 32px;align-items:center;gap:6px}.fq-tp-lines i,.fq-tp-lines b{height:5px;border-radius:99px;background:#47413d}.fq-tp-lines span:after{content:"";height:1px;border-top:1px dotted #b8afa5;grid-column:2}.fq-tp-lines b{grid-column:3;grid-row:1;background:#76675b}
.fq-theme-preview.clean{background:#0a0a0a;border-color:#3f3621}.fq-theme-preview.clean .fq-tp-header{justify-content:center}.fq-theme-preview.clean .fq-tp-header i,.fq-theme-preview.clean .fq-tp-header em{display:none}.fq-theme-preview.clean .fq-tp-header span{width:90px;background:#d4af37}.fq-theme-preview.clean .fq-tp-nav i{background:#171717;border-color:#2d2a22}.fq-theme-preview.clean .fq-tp-nav i:first-child{background:#d4af37}.fq-tp-fine{display:flex;flex-direction:column;align-items:center;gap:9px;padding-top:5px}.fq-tp-fine b{width:45%;height:5px;border-radius:99px;background:#d4af37}.fq-tp-fine span{width:72%;height:4px;border-radius:99px;background:#4b4b4b}
.fq-theme-preview.explore{background:#f4f7fb}.fq-tp-categories{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;flex:1}.fq-tp-categories span{display:flex;flex-direction:column;gap:5px;background:#fff;border:1px solid #e2e8f4;border-radius:9px;padding:5px}.fq-tp-categories i{height:58px;border-radius:7px;background:color-mix(in srgb,var(--tp) 18%,#e9edf5)}.fq-tp-categories b{height:5px;border-radius:99px;background:#b9c6dc;width:75%}
.fq-theme-choice-grid>button{position:relative;padding:10px!important}.fq-theme-card-copy{display:flex;flex-direction:column;gap:4px;padding:2px 2px 1px}.fq-theme-selected{position:absolute;right:17px;top:17px;width:24px;height:24px;border-radius:8px;background:#255CFF;color:#fff;display:none!important;place-items:center}.fq-theme-selected .fq-ico{width:14px;height:14px}.fq-theme-choice-grid>button.on .fq-theme-selected,.fq-onboarding-theme-grid>button.on .fq-theme-selected{display:grid!important}

/* Menu ↔ branch association */
.fq-wizard-branch-section{margin-top:24px;padding-top:20px;border-top:1px solid #edf0f4}.fq-wizard-branch-section>div:first-child{margin-bottom:12px}.fq-wizard-branch-section>div:first-child small,.fq-onboarding-theme-title small{display:block;color:#255CFF;font-size:9px;font-weight:800;letter-spacing:.1em;margin-bottom:4px}.fq-wizard-branch-section>div:first-child b,.fq-onboarding-theme-title b{font-size:14px;color:#182033}.fq-wizard-branch-section>div:first-child p,.fq-onboarding-theme-title p{margin:4px 0 0;font-size:11px;color:#7a8697;line-height:1.5}
.fq-branch-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.fq-branch-choice-grid>label{position:relative;display:grid;grid-template-columns:38px minmax(0,1fr) 24px;align-items:center;gap:9px;padding:11px 12px;border:1px solid #e2e7ed;border-radius:12px;background:#fff;cursor:pointer;transition:.16s ease}.fq-branch-choice-grid>label:hover{border-color:#bccbff;background:#fbfcff}.fq-branch-choice-grid>label.on{border-color:#255CFF;background:#f5f7ff;box-shadow:0 0 0 2px rgba(37,92,255,.06)}.fq-branch-choice-grid>label.disabled{opacity:.55;cursor:not-allowed}.fq-branch-choice-grid input{position:absolute;opacity:0;pointer-events:none}.fq-branch-choice-grid>label>span{width:36px;height:36px;border-radius:10px;background:#f1f4f8;color:#758296;display:grid;place-items:center}.fq-branch-choice-grid>label.on>span{background:#e8eeff;color:#255CFF}.fq-branch-choice-grid>label>span .fq-ico{width:17px;height:17px}.fq-branch-choice-grid>label>div{display:flex;min-width:0;flex-direction:column;gap:2px}.fq-branch-choice-grid>label>div b{font-size:12px;color:#172033;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fq-branch-choice-grid>label>div small{font-size:9.5px;color:#8994a4}.fq-branch-choice-grid>label>i{width:21px;height:21px;border-radius:7px;border:1px solid #dce2e9;color:transparent;display:grid;place-items:center}.fq-branch-choice-grid>label.on>i{background:#255CFF;border-color:#255CFF;color:#fff}.fq-branch-choice-grid>label>i .fq-ico{width:12px;height:12px}
.fq-section-lead{font-size:11px;color:#748094;line-height:1.55;margin:-5px 0 14px}.fq-branch-selection-note{display:flex;align-items:center;gap:7px;margin-top:10px;padding:9px 11px;border-radius:9px;background:#f7f9fc;color:#667386;font-size:10px}.fq-branch-selection-note .fq-ico{width:15px;height:15px;color:#255CFF}.fq-branch-empty{display:flex!important;align-items:center!important;gap:12px!important;padding:14px!important}.fq-branch-empty>.fq-ico{width:22px;height:22px;color:#255CFF}.fq-branch-empty>div{display:flex;flex:1;flex-direction:column;gap:3px}.fq-branch-empty b{font-size:12px}.fq-branch-empty small{font-size:10px;color:#7c8797}
.fq-menu-branch-tags{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:8px 0 3px}.fq-menu-branch-label{display:inline-flex;align-items:center;gap:4px;font-size:9px;font-weight:750;color:#8994a5}.fq-menu-branch-label .fq-ico{width:13px;height:13px}.fq-menu-branch-tags em{font-style:normal;font-size:9px;font-weight:650;padding:4px 7px;border-radius:999px;background:#eef3ff;color:#315cce;border:1px solid #dbe5ff}.fq-menu-branch-tags em.global{background:#f3f5f7;color:#6a7687;border-color:#e4e8ed}

/* Branch-aware dashboard */
.fq-dashboard-branchbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px;padding:10px 12px;border:1px solid #e3e8ef;border-radius:12px;background:#fff}.fq-dashboard-branchbar>div{display:flex;align-items:center;gap:9px}.fq-dashboard-branchbar>div>span{width:34px;height:34px;border-radius:10px;background:#eef3ff;color:#255CFF;display:grid;place-items:center}.fq-dashboard-branchbar>div>span .fq-ico{width:17px;height:17px}.fq-dashboard-branchbar>div>div{display:flex;flex-direction:column;gap:1px}.fq-dashboard-branchbar small{font-size:8px;font-weight:800;letter-spacing:.08em;color:#99a3b1}.fq-dashboard-branchbar b{font-size:11.5px;color:#172033}.fq-dashboard-branchbar .fq-select{width:230px;min-height:36px;font-size:11px}
.fq-branch-mini-list{margin:13px 0;padding:10px;border:1px solid #eef1f5;border-radius:10px;background:#fafbfd}.fq-branch-mini-list>small{display:block;font-size:8px;font-weight:800;letter-spacing:.08em;color:#99a3b1;margin-bottom:6px}.fq-branch-mini-list button{width:100%;display:flex;justify-content:space-between;gap:10px;border:0;border-top:1px solid #eef1f5;background:transparent;padding:7px 2px;color:#596579;font:inherit;cursor:pointer}.fq-branch-mini-list button:first-of-type{border-top:0}.fq-branch-mini-list button span{font-size:10px}.fq-branch-mini-list button b{font-size:10px;color:#255CFF}

/* First-use onboarding: real theme previews + product image */
.fq-onboarding-card{width:min(900px,100%)!important}.fq-onboarding-menu-setup{margin-top:18px}.fq-onboarding-theme-title{margin:20px 0 11px;padding-top:18px;border-top:1px solid #edf0f4}.fq-onboarding-theme-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.fq-onboarding-theme-grid>button{position:relative;border:1px solid #e1e6ed;background:#fff;border-radius:14px;padding:9px;text-align:left;cursor:pointer;transition:.16s ease}.fq-onboarding-theme-grid>button:hover{border-color:#b7c7ff}.fq-onboarding-theme-grid>button.on{border-color:#255CFF;box-shadow:0 0 0 2px rgba(37,92,255,.07)}.fq-onboarding-theme-grid>button>div:last-of-type{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 2px 2px}.fq-onboarding-theme-grid>button>div:last-of-type b{font-size:12px;color:#172033}.fq-onboarding-theme-grid>button>div:last-of-type small{font-size:9.5px;color:#8490a1}.fq-onboarding-theme-grid .fq-theme-preview{height:135px}
.fq-onboarding-product-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(210px,.65fr);gap:18px;margin-top:20px;padding-top:20px;border-top:1px solid #edf0f4}.fq-onboarding-product-layout .fq-onboarding-fields{margin:0;padding:0;border:0}.fq-onboarding-product-upload{position:relative;min-height:218px;border:1.5px dashed #cbd4e0;border-radius:14px;background:#fafbfd;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;overflow:hidden;cursor:pointer;text-align:center;color:#778497}.fq-onboarding-product-upload:hover{border-color:#9eb4ff;background:#f7f9ff}.fq-onboarding-product-upload input{position:absolute;inset:0;opacity:0;cursor:pointer}.fq-onboarding-product-upload>span:first-of-type{width:42px;height:42px;border-radius:12px;background:#eef3ff;color:#255CFF;display:grid;place-items:center}.fq-onboarding-product-upload b{font-size:12px;color:#29344a}.fq-onboarding-product-upload small{font-size:9.5px}.fq-onboarding-product-upload.has-image{display:block;border-style:solid}.fq-onboarding-product-upload.has-image img{width:100%;height:218px;object-fit:cover}.fq-onboarding-product-upload.has-image>span{position:absolute;right:8px;bottom:8px;width:auto;height:auto;padding:6px 8px;border-radius:8px;background:rgba(15,23,42,.82);color:#fff;font-size:9px;font-weight:700}

/* AI Menu usage guide */
.fq-ai-howto{margin:0 0 15px;border:1px solid #dce5ff;border-radius:14px;background:#f8faff;overflow:hidden}.fq-ai-howto summary{list-style:none;display:grid;grid-template-columns:38px 1fr 18px;align-items:center;gap:10px;padding:12px 14px;cursor:pointer}.fq-ai-howto summary::-webkit-details-marker{display:none}.fq-ai-howto summary>span{width:36px;height:36px;border-radius:10px;background:#eaf0ff;color:#255CFF;display:grid;place-items:center}.fq-ai-howto summary>span .fq-ico{width:18px;height:18px}.fq-ai-howto summary>div{display:flex;flex-direction:column;gap:2px}.fq-ai-howto summary b{font-size:12.5px;color:#172033}.fq-ai-howto summary small{font-size:10px;color:#798699}.fq-ai-howto summary>.fq-ico{width:15px;height:15px;color:#8b97a8;transform:rotate(-90deg);transition:.16s ease}.fq-ai-howto[open] summary>.fq-ico{transform:rotate(90deg)}.fq-ai-howto-grid{border-top:1px solid #e3eaff;background:#fff;padding:11px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.fq-ai-howto-grid article{display:grid;grid-template-columns:27px 1fr;gap:8px;padding:10px;border:1px solid #e7ebf1;border-radius:11px}.fq-ai-howto-grid article>span{width:25px;height:25px;border-radius:8px;background:#f0f4ff;color:#255CFF;font-size:10px;font-weight:800;display:grid;place-items:center}.fq-ai-howto-grid article b{font-size:11px;color:#172033}.fq-ai-howto-grid article p{margin:3px 0 0;font-size:9.5px;line-height:1.5;color:#758195}.fq-ai-howto-tip{display:flex;gap:6px;padding:0 13px 12px;background:#fff;font-size:9.5px;line-height:1.5;color:#6e7a8c}.fq-ai-howto-tip b{color:#255CFF}

@media(max-width:980px){
 .fq-wizard-card{border-radius:15px!important}.fq-wizard-steps{padding:0 10px}.fq-wizard-steps>span{padding:13px 7px;gap:6px}.fq-wizard-steps>span>b{width:25px;height:25px}.fq-wizard-body{padding:22px 18px 24px}.fq-wizard-actions{padding:13px 18px}.fq-menu-wizard-themes,.fq-onboarding-theme-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.fq-branch-choice-grid{grid-template-columns:1fr 1fr}.fq-dashboard-branchbar{align-items:stretch}.fq-ai-howto-grid{grid-template-columns:1fr}.fq-onboarding-product-layout{grid-template-columns:1fr}.fq-onboarding-product-upload{min-height:190px}.fq-onboarding-product-upload.has-image img{height:210px}
}
@media(max-width:620px){
 .fq-wizard-steps{grid-template-columns:repeat(4,1fr);padding:0 5px}.fq-wizard-steps>span{justify-content:center;padding:11px 2px}.fq-wizard-steps>span>small{display:none}.fq-wizard-steps>span:not(:last-child):after{right:-4px;width:8px}.fq-wizard-body{padding:19px 14px 22px}.fq-wizard-actions{padding:12px 14px}.fq-wizard-actions .fq-btn{min-width:0;flex:1}.fq-menu-wizard-themes,.fq-onboarding-theme-grid{grid-template-columns:1fr!important}.fq-theme-preview{height:145px}.fq-branch-choice-grid{grid-template-columns:1fr}.fq-dashboard-branchbar{flex-direction:column}.fq-dashboard-branchbar .fq-select{width:100%}.fq-onboarding-theme-grid .fq-theme-preview{height:145px}.fq-ai-howto summary{grid-template-columns:34px 1fr 16px;padding:11px}.fq-ai-howto summary>span{width:32px;height:32px}
}
@media(min-width:981px){.fq-menu-wizard-review{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
.fq-field-help{display:block;margin-top:5px;font-size:9px;line-height:1.45;color:#7d8999}
