:root{font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,system-ui,sans-serif;color:#24202b;background:#ddd9e5;font-synthesis:none;--paper:#faf8f2;--paper2:#eeeaf4;--ink:#24202b;--purple:#7b3f98;--pink:#d84f91;--blue:#388bd8;--red:#d94c43;--gold:#efb94d;--green:#68a04e;--muted:#5f5867;--line:#292432;--display:"Kaiti SC","STKaiti","KaiTi",serif}*{box-sizing:border-box}button,input,textarea,select{font:inherit}button{border:0;cursor:pointer;color:inherit}body{margin:0;min-width:320px;min-height:100vh;background:#ddd9e5;-webkit-font-smoothing:antialiased}.mobile-prototype{width:min(100vw,390px);height:min(100dvh,844px);margin-inline:auto;overflow:hidden;position:relative}.app-shell{background:var(--paper);box-shadow:0 18px 60px #29243235}.screen{height:844px;position:relative;overflow:hidden;background:var(--paper)}.mascot{object-fit:contain;pointer-events:none;-webkit-user-select:none;user-select:none;position:absolute;z-index:2}.quest-hero{height:190px;position:relative;overflow:hidden;background:#e7e0f0;border-bottom:4px solid var(--line)}.quest-copy{position:absolute;z-index:4;left:18px;top:37px;width:245px}.hero-art{position:absolute;right:0;top:0;width:126px;height:190px;border-left:3px solid var(--line);background:#f4edf8;overflow:hidden}.quest-copy p{margin:0 0 5px;font-size:11px;font-weight:900;color:var(--purple);display:flex;align-items:center;gap:5px}.quest-copy h1{font-family:Ma Shan Zheng;font-size:39px;margin:0;line-height:1;color:var(--ink);text-shadow:2px 2px 0 #fff}.quest-copy span{display:inline-block;margin-top:9px;padding:5px 9px;background:#fff;border:2px solid var(--line);box-shadow:3px 3px 0 var(--line);font-size:11px;font-weight:700}.hero-cat{width:112px;height:160px;right:3px;bottom:0;z-index:3}.role-switch{position:absolute;z-index:5;right:136px;top:9px;background:#fff;border:2px solid var(--line);box-shadow:3px 3px 0 var(--line);border-radius:8px;padding:6px 8px;display:flex;align-items:center;gap:4px;font-size:10px;font-weight:900}.categories{height:50px;margin:-14px 16px 0;position:relative;z-index:6;background:#fff;border:3px solid var(--line);box-shadow:4px 5px 0 var(--line);border-radius:12px;display:grid;grid-template-columns:repeat(3,1fr);overflow:hidden}.categories button{background:transparent;font-weight:900;border-right:2px solid var(--line)}.categories button:last-child{border-right:0}.categories button.active{background:var(--purple);color:#fff}.loot-list{height:535px;padding:17px 16px 100px;overflow:auto;position:relative;z-index:3}.loot-card{height:105px;background:#fff;border:3px solid var(--line);box-shadow:5px 5px 0 var(--line);border-radius:12px;margin-bottom:13px;padding:8px;display:grid;grid-template-columns:87px 1fr auto;gap:10px;align-items:center;position:relative}.loot-card.featured{background:#fff7d9}.loot-card>img{width:87px;height:83px;object-fit:cover;border-radius:8px;border:2px solid var(--line)}.rarity{position:absolute;top:-8px;left:8px;background:var(--gold);border:2px solid var(--line);border-radius:5px;padding:2px 6px;font-size:8px;font-weight:900;z-index:2}.loot-copy h3{font-size:17px;margin:0 0 5px;font-weight:900}.loot-copy p{margin:0;font-size:10px;color:var(--muted);line-height:1.45}.round-btn{width:39px;height:39px;border-radius:8px;background:var(--blue);color:#fff;border:3px solid var(--line);box-shadow:3px 3px 0 var(--line);display:grid;place-items:center}.round-btn.compact{width:35px;height:35px}.round-btn svg{font-size:20px}.quantity{display:flex;align-items:center;background:#fff;border:3px solid var(--line);border-radius:9px;overflow:hidden}.quantity button{width:29px;height:29px;background:#eeeaf4;display:grid;place-items:center}.quantity button.accent{background:var(--pink);color:#fff}.quantity b{min-width:24px;text-align:center;font-size:12px}.quantity.compact button{width:27px;height:27px}.cart-tray{position:absolute;z-index:9;bottom:10px;left:12px;right:12px;height:74px;background:#fff;border:3px solid var(--line);box-shadow:5px 6px 0 var(--line);border-radius:14px;display:flex;align-items:center;padding:8px;gap:8px}.history-link{width:40px;height:53px;border-radius:8px;background:#e9e5ef;border:2px solid var(--line);display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:8px}.history-link svg{font-size:18px}.selected-copy{display:flex;align-items:baseline;gap:3px;white-space:nowrap}.selected-copy small{font-size:9px}.selected-copy b{font-size:21px;color:var(--purple)}.mini-thumbs{display:flex}.mini-thumbs img{width:32px;height:39px;object-fit:cover;border:2px solid var(--line);border-radius:6px;margin-left:-7px}.primary{background:var(--red);color:#fff;border:3px solid var(--line);box-shadow:4px 4px 0 var(--line);border-radius:9px;padding:11px 14px;font-weight:900}.primary:disabled{filter:grayscale(1);opacity:.55}.cart-tray .primary{margin-left:auto;white-space:nowrap;font-size:12px}.detail-screen{background:#f7f5fa}.detail-header{height:119px;padding:32px 17px 14px;display:grid;grid-template-columns:42px 1fr auto;align-items:center;background:#ded6ea;border-bottom:4px solid var(--line);position:relative;z-index:5}.detail-header>button{width:36px;height:36px;background:#fff;border:2px solid var(--line);box-shadow:3px 3px 0 var(--line);border-radius:8px;display:grid;place-items:center}.detail-header small{font-size:10px;color:var(--purple);font-weight:900}.detail-header h2{font-family:Ma Shan Zheng;font-size:31px;margin:0}.detail-header>span{background:var(--gold);border:2px solid var(--line);border-radius:6px;padding:5px 8px;font-size:10px;font-weight:900}.cart-list,.orders-list{height:650px;overflow:auto;padding:18px 16px 105px;position:relative;z-index:3}.cart-list article{background:#fff;border:3px solid var(--line);box-shadow:4px 4px 0 var(--line);border-radius:11px;display:grid;grid-template-columns:66px 1fr auto;gap:10px;align-items:center;padding:8px;margin-bottom:12px}.cart-list article img{width:66px;height:66px;object-fit:cover;border:2px solid var(--line);border-radius:7px}.cart-list h3{margin:0 0 3px;font-size:15px}.cart-list p{margin:0;font-size:9px;color:var(--muted)}.note-box{display:block;background:#fff7d9;border:3px solid var(--line);box-shadow:4px 4px 0 var(--line);border-radius:11px;padding:12px;position:relative}.note-box>span{font-size:12px;font-weight:900}.note-box textarea{width:100%;height:72px;margin-top:7px;background:#fff;border:2px solid var(--line);border-radius:7px;padding:8px;resize:none;outline:none}.note-box small{position:absolute;right:20px;bottom:18px;font-size:9px;color:var(--muted)}.single-action{position:absolute;z-index:7;bottom:0;left:0;right:0;padding:12px 16px 18px;background:#f7f5fa;border-top:3px solid var(--line)}.single-action .primary{width:100%}.orders-list{padding-top:23px}.order-card{background:#fff;border:3px solid var(--line);box-shadow:5px 5px 0 var(--line);border-radius:13px;padding:13px;margin-bottom:15px}.order-status{display:grid;grid-template-columns:41px 1fr auto;align-items:center}.order-status>svg{width:36px;height:36px;padding:7px;background:#cfe8ff;color:#276fae;border:2px solid var(--line);border-radius:7px}.order-status small{font-size:9px;color:var(--purple);font-weight:800}.order-status h3{margin:0;font-size:17px}.order-status time{font-size:10px}.order-dishes{margin-top:10px;border-top:2px dashed #a8a1ae}.order-dishes>div{display:grid;grid-template-columns:39px 1fr auto;gap:9px;align-items:center;padding:7px 0;border-bottom:1px solid #d6d0dc}.order-dishes img{width:39px;height:39px;object-fit:cover;border:2px solid var(--line);border-radius:6px}.order-dishes span,.order-dishes b{font-size:11px}.order-note{font-size:10px;background:#eeeaf4;border:2px solid var(--line);border-radius:7px;padding:7px}.primary.wide{width:100%;margin-top:10px}.empty{text-align:center;padding:125px 0;color:var(--muted)}.empty svg{font-size:48px}.empty h3{margin:8px 0 2px}.empty p{font-size:11px;margin:0}.admin-home{background:#f3f0f7}.admin-hero{height:215px;padding:37px 20px;background:#d9e9f8;border-bottom:4px solid var(--line);position:relative}.admin-hero h1{font-family:Ma Shan Zheng;font-size:38px;line-height:1.05;margin:5px 0}.admin-hero small{font-size:10px;color:#276fae;font-weight:900;letter-spacing:2px}.admin-hero button{position:absolute;right:10px;top:11px;background:#fff;border:2px solid var(--line);box-shadow:3px 3px 0 var(--line);border-radius:7px;padding:6px 8px;font-size:9px;display:flex;align-items:center;gap:4px}.admin-ranger{width:183px;height:145px;right:-17px;top:54px}.admin-home>main{position:relative;z-index:4;margin-top:-19px;padding:0 15px}.new-order-card{width:100%;height:80px;background:var(--purple);color:#fff;border:3px solid var(--line);box-shadow:5px 5px 0 var(--line);border-radius:12px;padding:12px;text-align:left;position:relative}.new-order-card>div{display:flex;align-items:center;gap:6px;font-size:9px}.new-order-card strong{font-size:17px}.new-order-card .arrow-right{position:absolute;right:14px;top:27px;transform:rotate(180deg);font-size:22px}.admin-section{margin-top:13px;background:#fff;border:3px solid var(--line);box-shadow:5px 5px 0 var(--line);border-radius:13px;padding:12px}.admin-section>div{display:flex;align-items:center;justify-content:space-between}.admin-section h2{font-family:Ma Shan Zheng;font-size:25px;margin:0}.admin-section>div button{background:var(--gold);border:2px solid var(--line);box-shadow:2px 2px 0 var(--line);border-radius:6px;padding:6px 8px;font-size:10px;font-weight:900;display:flex;align-items:center;gap:3px}.admin-section article{display:grid;grid-template-columns:50px 1fr auto;gap:9px;align-items:center;padding:8px 0;border-bottom:2px dashed #cbc4d2}.admin-section article:last-child{border-bottom:0}.admin-section article img{width:50px;height:50px;object-fit:cover;border:2px solid var(--line);border-radius:6px}.admin-section h3{font-size:13px;margin:0}.admin-section p{font-size:9px;margin:3px 0 0;color:var(--muted)}.toggle{width:38px;height:23px;border:2px solid var(--line);border-radius:6px;background:#ccc;position:relative}.toggle:after{content:"";position:absolute;width:14px;height:14px;background:#fff;border:2px solid var(--line);top:2px;left:2px}.toggle.on{background:var(--green)}.toggle.on:after{left:18px}.modal-backdrop{position:absolute;z-index:30;top:0;right:0;bottom:0;left:0;background:#24202bc9;display:grid;place-items:end center;padding:15px}.dish-modal{width:100%;background:#faf8f2;border:4px solid var(--line);box-shadow:7px 7px #000;border-radius:15px;padding:18px 15px 16px;position:relative}.dish-modal>small{font-size:9px;color:var(--purple);font-weight:900}.dish-modal h2{font-family:Ma Shan Zheng;font-size:30px;margin:0 0 10px}.modal-close{position:absolute;right:10px;top:10px;width:32px;height:32px;background:var(--red);color:#fff;border:2px solid var(--line);border-radius:6px;display:grid;place-items:center}.modal-cat{width:80px;height:100px;right:42px;top:-62px}.upload-zone{height:112px;background:#eeeaf4;border:3px dashed var(--purple)!important;border-radius:10px;display:flex!important;flex-direction:column;align-items:center;justify-content:center;overflow:hidden;cursor:pointer}.upload-zone>svg{font-size:32px;color:var(--purple)}.upload-zone span{font-size:11px;font-weight:900}.upload-zone em{font-size:8px;color:var(--muted);font-style:normal}.upload-zone img{width:100%;height:100%;object-fit:cover}.upload-zone input{display:none}.dish-modal>label,.form-row label{display:flex;flex-direction:column;gap:4px;font-size:10px;font-weight:900;margin-top:9px}.dish-modal input,.dish-modal select{height:37px;background:#fff;border:2px solid var(--line);border-radius:6px;padding:7px;outline:none}.form-row{display:grid;grid-template-columns:95px 1fr;gap:8px}.form-error{color:var(--red);font-size:10px;font-weight:900;margin:8px 0}.dish-modal .primary{margin-top:11px}.dish-modal .primary:disabled{opacity:.6}@media(max-height:760px){.mobile-prototype,.screen{height:100dvh}.quest-hero{height:165px}.loot-list{height:calc(100dvh - 201px)}.detail-header{height:105px}.cart-list,.orders-list{height:calc(100dvh - 105px)}}.categories{height:50px;margin:-14px 12px 0;display:flex;grid-template-columns:none;overflow-x:auto;scrollbar-width:none}.categories::-webkit-scrollbar{display:none}.categories button{min-width:73px;flex:1;font-size:12px}.menu-catalog{height:535px;display:grid;grid-template-columns:82px 1fr;position:relative;z-index:3}.subcategories{padding:18px 0 100px;background:#eeeaf4;border-right:3px solid var(--line);overflow-y:auto}.subcategories button{width:100%;min-height:48px;padding:8px 5px;background:transparent;font-size:12px;font-weight:800;position:relative}.subcategories button.active{background:#fff;color:var(--purple);font-weight:900}.subcategories button.active:before{content:"";position:absolute;left:0;top:10px;bottom:10px;width:5px;border-radius:0 4px 4px 0;background:var(--purple)}.menu-catalog .loot-list{height:535px;padding:17px 12px 100px}.catalog-heading{height:47px;display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.catalog-heading small{font-size:8px;color:var(--purple);font-weight:900}.catalog-heading h2{font-family:Ma Shan Zheng;font-size:25px;line-height:1;margin:1px 0 0}.catalog-heading>span{background:var(--gold);border:2px solid var(--line);border-radius:6px;padding:3px 6px;font-size:9px;font-weight:900}.menu-catalog .loot-card{min-height:92px;height:auto;grid-template-columns:70px minmax(0,1fr) auto;gap:8px;padding:7px;margin-bottom:12px}.menu-catalog .loot-card>img{width:70px;height:70px}.menu-catalog .loot-copy{min-width:0}.menu-catalog .loot-copy h3{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.menu-catalog .loot-copy p{font-size:8px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.menu-catalog .rarity{font-size:7px;padding:1px 5px}.menu-catalog .round-btn.compact{width:31px;height:31px}.menu-catalog .quantity.compact{flex-direction:column}.menu-catalog .quantity.compact button{width:27px;height:23px}.menu-catalog .quantity.compact button.accent{order:-1}.menu-catalog .quantity.compact b{font-size:10px;line-height:20px}.menu-empty{height:260px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--muted);text-align:center}.menu-empty svg{font-size:38px;color:var(--purple)}.menu-empty b{font-size:12px;margin-top:7px}.menu-empty span{font-size:9px;margin-top:2px}.form-row.category-fields{grid-template-columns:1fr 1fr}@media(max-height:760px){.menu-catalog,.menu-catalog .loot-list{height:calc(100dvh - 201px)}}.menu-catalog.catalog-only,.menu-catalog.catalog-only .loot-list{height:654px}.catalog-only .subcategories{padding-top:14px}.catalog-only .subcategories button{min-height:45px}@media(max-height:760px){.menu-catalog.catalog-only,.menu-catalog.catalog-only .loot-list{height:calc(100dvh - 165px)}}.catalog-only .loot-list{background-color:#faf8f2c2;background-image:url(/assets/menu-cats-background.png);background-size:cover;background-position:center;background-blend-mode:screen}.quest-copy h1,.detail-header h2,.admin-hero h1,.admin-section h2,.dish-modal h2,.catalog-heading h2,.category-modal h2,.login-screen h1{font-family:var(--display)}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--blue);outline-offset:2px}.current-order-card{width:calc(100% - 24px);margin:10px 12px 0;padding:13px 14px;border:2px solid #17171c;border-radius:16px;background:#fff8dc;display:flex;align-items:center;justify-content:space-between;text-align:left;gap:12px;box-shadow:3px 3px #17171c}.current-order-card>span{display:flex;flex-direction:column;gap:3px}.current-order-card svg{width:18px;height:18px}.current-order-card .arrow-right{transform:rotate(180deg);align-self:flex-end}.schedule-box{background:#fff;border:2px solid #17171c;border-radius:16px;padding:14px;display:grid;gap:10px}.schedule-box>b{display:flex;align-items:center;gap:7px}.schedule-box>div{display:flex;gap:8px}.schedule-box button,.admin-filters button,.quick-replies button,.secondary-actions button{min-height:40px;border:2px solid #17171c;border-radius:12px;background:#fff;padding:7px 10px}.schedule-box button.active,.admin-filters button.active{background:#6556d8;color:#fff}.schedule-box input{min-height:44px;border:2px solid #17171c;border-radius:10px;padding:0 10px}.order-timing{display:grid;gap:5px;margin:8px 0}.order-timing span,.latest-message{display:flex;gap:6px;align-items:center;font-size:12px}.order-timing .late{color:#be2f39;font-weight:700}.order-timing svg,.latest-message svg{width:16px;height:16px}.latest-message{background:#f3efff;border-radius:10px;padding:8px}.secondary-actions{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0}.secondary-actions button{display:flex;align-items:center;gap:4px;font-size:12px}.secondary-actions svg{width:16px;height:16px}.order-card.cancelled{opacity:.76;background:#f1f1f1}.order-extras-modal,.edit-order-modal{width:min(92vw,560px);max-height:88vh;overflow:auto;background:#fffaf0;border:3px solid #17171c;border-radius:20px;padding:20px;position:relative}.quick-replies{display:flex;gap:7px;overflow:auto;margin:12px 0}.message-list{display:grid;gap:8px;max-height:220px;overflow:auto}.message-list>div{justify-self:start;max-width:82%;background:#fff;border:2px solid #17171c;border-radius:13px;padding:8px;display:grid;gap:2px}.message-list>div.mine{justify-self:end;background:#e9e5ff}.message-list small{font-size:10px;color:#777}.message-compose{display:flex;gap:8px;margin:12px 0}.message-compose input{flex:1;min-width:0;border:2px solid #17171c;border-radius:12px;padding:0 10px}.shopping-title{display:flex;gap:7px;align-items:center;margin-top:20px}.shopping-list{display:grid;gap:8px}.shopping-list>div{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px dashed #aaa;padding:8px 0}.shopping-list span{display:grid}.shopping-list small{color:#666}.shopping-list select{max-width:108px;min-height:38px;border:2px solid #17171c;border-radius:9px}.shopping-list em{font-style:normal;font-size:12px}.edit-order-row{display:grid;grid-template-columns:52px 1fr auto;align-items:center;gap:9px;margin:8px 0}.edit-order-row img{width:52px;height:52px;object-fit:cover;border:2px solid #17171c;border-radius:10px}.edit-order-modal>label{display:grid;gap:5px;margin-top:12px}.edit-order-modal input,.edit-order-modal textarea{border:2px solid #17171c;border-radius:10px;padding:10px}.edit-order-modal textarea{min-height:72px}.recipe-versions{display:flex;gap:7px;overflow:auto;align-items:center;margin:10px 0}.recipe-versions>span{display:flex;border:2px solid #17171c;border-radius:10px;overflow:hidden;flex:none}.recipe-versions button{border:0;border-right:1px solid #17171c;background:#fff;padding:7px}.recipe-versions button:last-child{border:0;background:#eee9ff}.prep-line{width:100%;border:0;border-bottom:1px dashed #bbb;background:transparent;display:grid;grid-template-columns:28px 1fr auto;align-items:center;text-align:left;padding:10px 0}.prep-line .check-box{width:22px;height:22px;border:2px solid #17171c;border-radius:6px;display:grid;place-items:center}.prep-line.all .check-box{background:#4fc69d}.prep-line.partial .check-box{background:#ffd56a}.global-timers{position:sticky;bottom:0;background:#fff7dc;border-top:3px solid #17171c;padding:10px 12px;z-index:8}.global-timers h3{display:flex;align-items:center;gap:6px;margin:0 0 7px}.global-timers>div{display:flex;align-items:center;gap:7px;margin-top:6px}.global-timers>div>span{display:grid;flex:1}.global-timers button{min-width:40px;min-height:38px;border:2px solid #17171c;border-radius:9px;background:#fff}.global-timers .ringing{background:#ffe0e2;border:2px solid #bd2432;border-radius:11px;padding:8px;animation:timerPulse 1s infinite}.finish-order{width:100%;margin:12px 0}.admin-filters{display:flex;gap:8px;margin:12px 0}.admin-current-order{background:#fff;border:2px solid #17171c;border-radius:14px;margin:10px 0;padding:12px;display:grid}.admin-current-order small{color:#666}@keyframes timerPulse{50%{transform:scale(1.015);box-shadow:0 0 0 4px #ffd0d4}}.catalog-only .loot-list{background-color:#faf8f2d1;background-image:url(/assets/menu-cats-background.webp)}.notice{position:relative;z-index:12;margin:8px 16px;padding:9px 11px;min-height:44px;border:2px solid var(--line);border-radius:9px;background:#fff7d9;display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;font-weight:800}.notice span{display:flex;align-items:center;gap:6px}.notice.error{background:#ffe5e1;color:#8b221c}.notice button{min-width:56px;min-height:34px;border:2px solid var(--line);border-radius:6px;background:#fff;font-weight:900}.menu-screen>.notice{position:absolute;top:190px;left:82px;right:0;margin:7px 10px}.detail-header>button{width:44px;height:44px}.detail-header{grid-template-columns:50px 1fr auto}.modal-close,.round-btn,.round-btn.compact{width:44px;height:44px}.history-link{width:46px;height:56px;font-size:10px}.primary{min-height:48px}.role-switch{min-height:44px;font-size:11px}.menu-catalog .loot-card{min-height:122px;grid-template-columns:72px minmax(0,1fr) 44px}.menu-catalog .loot-card>img{width:72px;height:72px}.menu-catalog .loot-copy h3{font-size:15px}.menu-catalog .loot-copy p{font-size:12px}.menu-catalog .rarity{font-size:10px}.menu-catalog .quantity.compact button{width:44px;height:44px}.menu-catalog .quantity.compact b{font-size:12px;line-height:22px}.menu-catalog .round-btn.compact{width:44px;height:44px}.catalog-heading small,.catalog-heading>span{font-size:11px}.menu-empty span,.cart-list p,.order-status small,.order-dishes span,.order-dishes b,.order-note,.admin-section p{font-size:12px}.note-box textarea{font-size:14px}.note-box small{font-size:11px}.admin-section article{grid-template-columns:52px minmax(0,1fr) auto}.admin-section>div{gap:8px}.admin-actions{display:flex;gap:6px}.admin-actions button{min-height:44px}.dish-actions{display:grid;grid-template-columns:44px 44px;gap:4px;align-items:center}.dish-actions>button:not(.toggle){width:44px;height:44px;border:2px solid var(--line);border-radius:6px;background:#eeeaf4;display:grid;place-items:center}.dish-actions>button:disabled{opacity:.3}.dish-actions .toggle{grid-column:1/3;width:92px;height:32px}.dish-actions .toggle.on:after{left:70px}.order-filter-panel{padding:10px 14px 7px;border-bottom:2px solid var(--line);background:#f7f5fa}.order-status-board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.order-status-board button{min-width:0;min-height:64px;padding:8px;border:2px solid var(--line);border-radius:10px;background:#fff;box-shadow:3px 3px 0 var(--line);display:flex;align-items:center;gap:7px;text-align:left}.order-status-board button>b{font-size:23px;line-height:1}.order-status-board button>span{min-width:0;display:grid;font-size:12px;font-weight:900}.order-status-board button small{font-size:9px;color:var(--muted);white-space:nowrap}.order-status-board button.active{transform:translate(2px,2px);box-shadow:1px 1px 0 var(--line)}.order-status-board button.active.pending{background:#f7c24f}.order-status-board button.active.cooking{background:#a6d8f5}.order-status-board button.active.history{background:#ded6ea}.history-filter,.shopper-order-filters{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:9px}.history-filter button,.shopper-order-filters button{min-height:40px;border:2px solid var(--line);border-radius:8px;background:#fff;font-size:11px;font-weight:900}.history-filter button.active,.shopper-order-filters button.active{background:var(--purple);color:#fff}.shopper-order-filters{grid-template-columns:repeat(2,1fr);margin:0;padding:9px 14px;border-bottom:2px solid var(--line);background:#f7f5fa}.order-result-summary{display:flex;align-items:center;justify-content:space-between;padding:10px 16px 3px}.order-result-summary b{font-size:14px}.order-result-summary span{font-size:11px;color:var(--muted)}.orders-screen .orders-list{height:502px;padding-top:7px}.order-day>h2{margin:4px 2px 10px;font-size:13px;color:var(--muted)}.order-timeline{display:grid;grid-template-columns:repeat(3,1fr);gap:3px;margin:11px 0 4px}.order-timeline span{position:relative;padding-top:9px;text-align:center;font-size:10px;color:#938b9b;border-top:4px solid #d8d2dd}.order-timeline span.reached{color:var(--purple);border-color:var(--purple);font-weight:900}.category-modal{width:100%;max-height:760px;background:var(--paper);border:4px solid var(--line);box-shadow:7px 7px #000;border-radius:15px;padding:20px 15px;position:relative}.category-modal>small{color:var(--purple);font-weight:900}.category-modal h2{font-size:30px;margin:0 0 12px}.category-add{display:grid;grid-template-columns:1fr 1fr auto;gap:6px}.category-add input{width:100%;height:44px;border:2px solid var(--line);border-radius:7px;padding:8px}.category-add button{min-width:68px;border:2px solid var(--line);border-radius:7px;background:var(--gold);font-weight:900}.category-list{max-height:560px;overflow:auto;margin-top:12px}.category-list>div{display:flex;align-items:center;justify-content:space-between;min-height:56px;border-bottom:2px dashed #cbc4d2}.category-list span{display:flex;flex-direction:column}.category-list small{font-size:11px;color:var(--muted)}.login-screen{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:30px}.login-screen .mascot{position:relative;width:180px;height:180px}.login-screen h1{font-size:35px;margin:10px}.login-screen p{font-size:14px;color:var(--muted)}@media(max-height:760px){.orders-screen .orders-list{height:calc(100dvh - 252px)}.menu-catalog .loot-card{min-height:116px}}.quest-copy p,.quest-copy span,.selected-copy small,.detail-header small,.detail-header>span,.order-status time,.empty p,.admin-hero small,.admin-hero button,.new-order-card>div,.admin-section>div button,.dish-modal>small,.upload-zone em,.dish-modal>label,.form-row label,.form-error,.category-list small,.order-timeline span{font-size:12px}.admin-hero button{min-height:44px}.toggle{width:60px;height:44px}.toggle:after{width:18px;height:18px;top:9px;left:5px}.toggle.on:after{left:33px}.dish-actions .toggle{width:92px;height:44px}.dish-actions .toggle.on:after{left:65px}.upload-progress{height:20px;margin-top:7px;border:2px solid var(--line);border-radius:10px;overflow:hidden;position:relative;background:#eeeaf4}.upload-progress span{display:block;height:100%;background:var(--purple);transition:width .15s}.upload-progress b{position:absolute;top:0;right:0;bottom:0;left:0;text-align:center;font-size:11px;line-height:16px;color:#fff;text-shadow:1px 1px #000}.dish-modal input,.dish-modal select{height:44px}.admin-actions{flex-wrap:wrap;justify-content:flex-end}.admin-actions button{display:flex;align-items:center;gap:3px}.dish-recipe-state{display:block;margin-top:4px;font-weight:900}.dish-recipe-state.confirmed{color:#397536}.dish-recipe-state.draft{color:#8a5a00}.dish-recipe-state.missing{color:var(--red)}.recipe-actions{grid-template-columns:44px 44px}.recipe-actions .toggle{grid-column:1/3}.order-dish-link{display:grid!important;grid-template-columns:39px 1fr auto 20px!important;width:100%;text-align:left;background:transparent;border-bottom:1px solid #d6d0dc!important;padding:7px 0!important;align-items:center;gap:9px}.order-dish-link span{display:flex;flex-direction:column}.order-dish-link small{color:var(--purple);font-size:10px}.order-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}.order-actions button{min-height:48px}.cook-button{border:3px solid var(--line);border-radius:9px;background:var(--gold);font-weight:900;display:flex;align-items:center;justify-content:center;gap:4px}.recipe-backdrop{padding:8px}.recipe-modal,.ai-modal{width:100%;max-height:820px;overflow:auto;background:var(--paper);border:4px solid var(--line);box-shadow:7px 7px #000;border-radius:15px;padding:18px 14px;position:relative}.recipe-modal>small,.ai-modal>small{color:var(--purple);font-weight:900}.recipe-modal>h2,.ai-modal>h2{font-family:var(--display);font-size:30px;margin:0 0 8px}.recipe-status{display:inline-block;border:2px solid var(--line);border-radius:7px;padding:5px 8px;font-size:12px;font-weight:900}.recipe-status.confirmed{background:#dff2d3}.recipe-status.draft{background:#fff0bd}.recipe-status.missing{background:#ffd9d4}.recipe-toolbar{display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px;margin:10px 0}.recipe-toolbar button,.recipe-section-title button{min-height:44px;border:2px solid var(--line);border-radius:7px;background:#fff;font-weight:900;display:flex;align-items:center;justify-content:center;gap:3px}.recipe-toolbar .primary{background:var(--red)}.ai-disclaimer{font-size:11px;color:var(--muted);line-height:1.45}.recipe-editor>label,.ai-modal>label{display:flex;flex-direction:column;gap:4px;margin:9px 0;font-size:12px;font-weight:900}.recipe-editor input,.recipe-editor textarea,.recipe-editor select,.ai-modal input{min-height:44px;border:2px solid var(--line);border-radius:7px;background:#fff;padding:8px;outline:none}.recipe-editor textarea{min-height:70px;resize:vertical}.recipe-meta{display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px}.recipe-meta label{font-size:11px;font-weight:900}.recipe-meta input,.recipe-meta select{width:100%}.recipe-section{margin-top:14px;padding-top:10px;border-top:3px dashed #c9c1ce}.recipe-section-title{display:flex;align-items:center;justify-content:space-between}.recipe-section-title h3{margin:0}.recipe-section-title button{padding:0 9px}.amount-row{display:grid;grid-template-columns:1.4fr .75fr .65fr 1fr 44px;gap:5px;margin-top:7px}.amount-row input{width:100%;min-width:0}.amount-row .amount-detail{grid-column:1/5}.amount-row>button{grid-column:5;grid-row:1/3;border:2px solid var(--line);border-radius:7px;background:#f4d8d4}.step-editor{padding:10px;margin-top:8px;background:#fff;border:2px solid var(--line);border-radius:9px}.step-editor header{display:flex;justify-content:space-between;align-items:center}.step-editor header button{min-width:60px;min-height:44px;padding:8px 10px;background:transparent;color:var(--red)}.step-editor>input,.step-editor>textarea{width:100%;margin-top:6px}.step-editor>div{display:grid;grid-template-columns:1fr 1fr;gap:6px}.ai-modal{max-height:690px}.ai-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.ai-actions button{min-height:48px;border:3px solid var(--line);border-radius:9px;font-weight:900}.ai-actions .primary{background:var(--red)}.cooking-screen{background:#f7f5fa}.cooking-tabs{height:58px;display:flex;gap:6px;padding:7px 10px;overflow-x:auto;border-bottom:3px solid var(--line);background:#fff}.cooking-tabs button{min-width:max-content;min-height:44px;padding:0 12px;border:2px solid var(--line);border-radius:8px;background:#fff;font-weight:900}.cooking-tabs button.active{background:var(--purple);color:#fff}.cooking-content{height:667px;overflow:auto;padding:12px 14px 90px}.start-cooking,.prep-card,.dish-recipe-head,.guided-step,.active-timers{background:#fff;border:3px solid var(--line);box-shadow:4px 4px 0 var(--line);border-radius:11px;padding:12px;margin-bottom:13px}.start-cooking{text-align:center}.start-cooking>svg{font-size:42px;color:var(--purple)}.start-cooking h3{margin:5px}.prep-card h3,.active-timers h3{margin:0 0 8px;font-size:18px}.tool-chips{display:flex;flex-wrap:wrap;gap:6px}.tool-chips span{padding:5px 8px;border:2px solid var(--line);border-radius:6px;background:#eeeaf4;font-size:12px}.prep-line,.check-line,.active-timers>div{width:100%;min-height:54px;display:flex;align-items:center;justify-content:space-between;gap:8px;border:0;border-bottom:2px dashed #d1cad6;background:transparent;text-align:left}.prep-line:last-child,.check-line:last-child{border-bottom:0}.prep-line span,.check-line>span:nth-child(2),.active-timers span{display:flex;flex:1;flex-direction:column}.prep-line small,.check-line small,.active-timers small{font-size:11px;color:var(--muted)}.check-box{width:28px;height:28px;flex:none;border:2px solid var(--line);border-radius:6px;display:grid;place-items:center}.check-line.checked{opacity:.65}.check-line.checked .check-box{background:#87b86d}.dish-recipe-head{display:grid;grid-template-columns:76px 1fr;gap:10px;align-items:center}.dish-recipe-head img{width:76px;height:76px;object-fit:cover;border:2px solid var(--line);border-radius:8px}.dish-recipe-head h3{margin:1px 0;font-size:21px}.dish-recipe-head p{margin:0;color:var(--muted);font-size:12px}.guided-step article>small{color:var(--purple);font-weight:900}.guided-step h3{font-size:23px;margin:7px 0}.guided-step p{font-size:15px;line-height:1.65}.step-tip,.step-safety{padding:9px;margin-top:8px;border:2px solid var(--line);border-radius:7px;font-size:12px}.step-tip{background:#fff3c7}.step-safety{background:#ffdcd6;color:#852d24}.timer-start{width:100%;min-height:48px;margin-top:10px;border:3px solid var(--line);border-radius:8px;background:#cfe8ff;font-weight:900}.step-nav{display:grid;grid-template-columns:1fr 1.2fr 1fr;gap:6px;margin-top:12px}.step-nav button{min-height:46px;border:2px solid var(--line);border-radius:7px;font-weight:900}.step-nav button.done{background:#8ab773}.active-timers>div button{width:44px;height:44px;border:2px solid var(--line);border-radius:7px;background:#eeeaf4}.recipe-generating{position:fixed;top:0;right:0;bottom:0;left:0;z-index:30;display:grid;place-items:center;padding:24px;background:#1c18229e;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.generating-card{width:min(320px,100%);display:flex;flex-direction:column;align-items:center;gap:10px;padding:28px 20px;background:var(--paper);border:4px solid var(--line);border-radius:18px;box-shadow:8px 8px #000;text-align:center}.generating-card strong{font-family:var(--display);font-size:24px}.generating-card>span{font-size:13px;color:var(--muted)}.generating-card>small{font-size:11px;color:var(--purple);font-weight:900}.generating-orbit{width:78px;height:78px;display:grid;place-items:center;border:4px solid var(--line);border-radius:50%;background:#ded6ea;animation:recipe-float 1.5s ease-in-out infinite}.generating-orbit svg{width:38px;height:38px;animation:recipe-turn 2.4s linear infinite}.generating-dots{display:flex;gap:8px;height:14px;align-items:center}.generating-dots i{width:10px;height:10px;border:2px solid var(--line);border-radius:50%;background:var(--red);animation:recipe-dot 1.1s ease-in-out infinite}.generating-dots i:nth-child(2){animation-delay:.16s;background:var(--yellow)}.generating-dots i:nth-child(3){animation-delay:.32s;background:var(--blue)}@keyframes recipe-float{0%,to{transform:translateY(0)}50%{transform:translateY(-8px)}}@keyframes recipe-turn{to{transform:rotate(360deg)}}@keyframes recipe-dot{0%,to{transform:translateY(0);opacity:.55}50%{transform:translateY(-6px);opacity:1}}@media(prefers-reduced-motion:reduce){.generating-orbit,.generating-orbit svg,.generating-dots i{animation:none}}
