/* ===== MENU INTELLIGENT — styles ===== */
.app-main.tb-main{background:#FFF9F2;color:#1F2A5A;font-family:'DM Sans',system-ui,sans-serif}
.tb-wrap{max-width:1000px;padding:28px 44px 120px}
.tb-head{margin-bottom:6px}
.tb-eyebrow{font-size:13px;letter-spacing:.12em;text-transform:uppercase;font-weight:700;color:#D9A21B}
.tb-head h1{font-family:'Fraunces',Georgia,serif;font-weight:700;font-size:clamp(30px,5vw,42px);margin:4px 0 6px;color:#1F2A5A}
.tb-head p{margin:0;color:#5F6788}
.tb-tabs{display:flex;gap:8px;overflow-x:auto;padding:14px 0 6px;scrollbar-width:none}
.tb-tabs::-webkit-scrollbar{display:none}
.tb-tab{min-height:44px;padding:0 18px;border-radius:999px;background:#fff;border:1px solid #EADFCF;font-weight:600;font-size:15px;white-space:nowrap;cursor:pointer;color:#1F2A5A;font-family:inherit}
.tb-tab.on{background:#E8604F;border-color:#E8604F;color:#fff}
.tb-tab b{background:#FBD5CC;color:#1F2A5A;border-radius:999px;padding:1px 8px;margin-left:4px;font-size:13px}
.tb-tab.on b{background:#fff;color:#D24A3A}
.tb-stack{display:flex;flex-direction:column;gap:14px;margin-top:10px}
.tb-box{background:#fff;border:1px solid #EADFCF;border-radius:22px;padding:18px}
.tb-box h2,.tb-aisle h2{font-family:'Fraunces',Georgia,serif;font-weight:600;font-size:20px;margin:0 0 10px;color:#1F2A5A}
.tb-chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:8px}
.tb-chip{min-height:44px;padding:0 16px;border-radius:999px;border:1.5px solid #EADFCF;background:#fff;font-weight:600;font-size:15px;cursor:pointer;color:#1F2A5A;font-family:inherit}
.tb-chip.on{background:#E8604F;border-color:#E8604F;color:#fff}
.tb-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.tb-sp{justify-content:space-between;margin-bottom:6px}
.tb-muted{color:#5F6788;font-size:14px}
.tb-step{display:inline-flex;align-items:center;gap:6px;background:#FFF9F2;border:1.5px solid #EADFCF;border-radius:999px;padding:3px}
.tb-step button{width:44px;height:44px;border-radius:50%;background:#fff;border:1px solid #EADFCF;font-size:20px;cursor:pointer;color:#1F2A5A;font-family:inherit}
.tb-step span{min-width:56px;text-align:center;font-weight:700}
.tb-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 22px;border-radius:999px;background:#E8604F;color:#fff;font-weight:700;font-size:16px;border:0;cursor:pointer;font-family:inherit}
.tb-btn:hover{background:#D24A3A}
.tb-btn.tb-ghost{background:#fff;color:#1F2A5A;border:1.5px solid #1F2A5A}
.tb-btn.tb-ghost:hover{background:#FBD5CC}
.tb-wide{width:100%}
.tb-note{margin-top:28px;font-size:13.5px;color:#5F6788;background:#fff;border:1px solid #E8D3A0;border-radius:16px;padding:10px 14px}
.tb-week{background:#fff;border:1px solid #EADFCF;border-radius:24px;padding:20px;display:flex;flex-wrap:wrap;gap:18px;align-items:center;justify-content:space-between;margin-top:14px}
.tb-week>div{flex:1 1 260px}
.tb-big{font-family:'Fraunces',Georgia,serif;font-size:34px;font-weight:600;color:#D24A3A}
.tb-bar{height:12px;border-radius:999px;background:#FBD5CC;overflow:hidden;margin:6px 0}
.tb-bar i{display:block;height:100%;background:#E8604F;border-radius:999px}
.tb-bar.over i{background:#A4261F}
.tb-msg{margin-top:12px;border-radius:16px;padding:12px 16px;font-weight:600;font-size:15px}
.tb-msg.ok{background:#E6F4EC;color:#2F7A55}
.tb-msg.warn{background:#FDECE8;color:#A4261F}
.tb-days{display:flex;flex-direction:column;gap:12px;margin-top:14px}
.tb-day{background:#fff;border:1px solid #EADFCF;border-radius:22px;padding:14px;display:flex;flex-wrap:wrap;gap:12px}
.tb-day-n{flex:0 0 100%;font-family:'Fraunces',Georgia,serif;font-weight:600;font-size:19px;color:#1F2A5A}
.tb-slot{flex:1 1 280px;border:1px dashed #EADFCF;border-radius:18px;padding:10px;display:flex;flex-direction:column;gap:8px;min-width:0}
.tb-slot-l{font-size:12.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#5F6788}
.tb-slot-r{display:flex;gap:12px;align-items:center}
.tb-slot-r>button{background:none;border:0;padding:0;cursor:pointer}
.tb-thumb{width:72px;height:72px;border-radius:14px;object-fit:cover;flex:none;display:block}
.tb-ph{display:flex;align-items:center;justify-content:center;background:#EED7FF;font-size:30px}
.tb-slot-i{min-width:0;display:flex;flex-direction:column;gap:2px}
.tb-slot-t{background:none;border:0;padding:0;font:inherit;font-weight:700;text-align:left;cursor:pointer;color:#1F2A5A;line-height:1.25}
.tb-warn{color:#A4261F;font-weight:600;font-size:14px}
.tb-al{color:#5F6788;font-size:13px}
.tb-slot-a{display:flex;gap:8px;flex-wrap:wrap}
.tb-mini{min-height:44px;padding:0 14px;border-radius:999px;border:1px solid #EADFCF;background:#fff;font-weight:600;font-size:14px;cursor:pointer;color:#1F2A5A;font-family:inherit}
.tb-slot-add{min-height:56px;border-radius:14px;background:#FFF9F2;border:1.5px dashed #E8604F;color:#D24A3A;font-weight:700;cursor:pointer;font-family:inherit;font-size:15px}
.tb-aisle{margin-top:20px}
.tb-it{display:flex;align-items:center;gap:12px;width:100%;text-align:left;min-height:48px;padding:6px 4px;border:0;border-bottom:1px solid #EADFCF;background:none;cursor:pointer;font:inherit;color:#1F2A5A}
.tb-cb{width:26px;height:26px;border-radius:8px;border:2px solid #E8604F;display:flex;align-items:center;justify-content:center;color:#fff;flex:none;background:#fff;font-weight:700}
.tb-cb.on{background:#E8604F}
.tb-it.done span:last-child{text-decoration:line-through;color:#5F6788}
.tb-list{margin:6px 0 0;padding-left:20px;columns:2;column-gap:24px}
.tb-list li{margin-bottom:4px;break-inside:avoid}
.tb-empty{text-align:center;padding:40px 16px;background:#fff;border:1px dashed #EADFCF;border-radius:22px;margin-top:16px;display:flex;flex-direction:column;gap:12px;align-items:center}
.tb-sheet-bg{position:fixed;inset:0;background:rgba(31,42,90,.5);z-index:300;display:flex;align-items:flex-end;justify-content:center}
.tb-sheet{background:#FFF9F2;width:100%;max-width:640px;max-height:86vh;overflow:auto;border-radius:26px 26px 0 0;padding:16px;color:#1F2A5A}
.tb-sheet h2{font-family:'Fraunces',Georgia,serif;font-size:22px;margin:0}
.tb-inp{width:100%;min-height:48px;border:1.5px solid #EADFCF;border-radius:999px;padding:0 18px;margin:10px 0;font-size:16px;font-family:inherit;background:#fff;color:#1F2A5A}
.tb-pi{display:flex;gap:12px;align-items:center;width:100%;text-align:left;padding:8px;border-radius:16px;background:#fff;border:1px solid #EADFCF;margin-top:8px;min-height:64px;cursor:pointer;font:inherit;color:#1F2A5A}
.tb-pi .tb-thumb{width:56px;height:56px}
.tb-pi>span{display:flex;flex-direction:column;min-width:0}
.tb-main button:focus-visible,.tb-main input:focus-visible,.tb-sheet button:focus-visible,.tb-sheet input:focus-visible{outline:3px solid #D9A21B;outline-offset:2px}
@media (max-width:768px){.tb-wrap{padding:76px 16px 120px}.tb-list{columns:1}.tb-btn{width:100%}.tb-week .tb-btn{width:100%}}
