.craft-detail-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin-top:20px}.craft-detail-bar .craft-detail-heading{margin:0!important}.craft-detail-bar button,.craft-recipe-drawer-entry button{min-height:36px;border:1px solid #c8dfe9;border-radius:6px;background:#f4faff;color:#197da7;padding:7px 10px;font:inherit;font-size:.7rem;cursor:pointer}.craft-detail-bar+div[hidden]{display:none!important}
.craft-configuration-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px;padding-top:17px;border-top:1px solid var(--line)}.craft-configuration-actions button{flex:1;min-height:43px;border:1px solid #168fc4;border-radius:7px;background:#168fc4;color:#fff;padding:9px 13px;font:inherit;font-size:.82rem;font-weight:700;cursor:pointer}.craft-configuration-actions button[data-register-recipe]{background:#fff;color:#1385b6}.craft-configuration-actions small{width:100%;font-size:.68rem;color:var(--muted);line-height:1.6}.craft-recipe-drawer-entry{display:grid;gap:8px;padding-bottom:18px;margin-bottom:18px;border-bottom:1px solid var(--line)}.tools-nav-recipe{display:block;width:100%;min-height:42px;margin:7px 0;padding:10px 13px;border:1px solid #dce7ef;border-radius:7px;background:#fff;color:#397b9b;text-align:left;font:inherit;font-size:.76rem;cursor:pointer}.tools-nav-recipe:hover{background:#f1f8fd}
body.recipe-library-open{overflow:hidden}.recipe-library-overlay{position:fixed;inset:0;z-index:2000;background:#172a3d80;display:flex;align-items:center;justify-content:center;padding:24px}.recipe-library-overlay[hidden]{display:none}.recipe-library-dialog{width:min(1060px,100%);max-height:calc(100dvh - 48px);background:#fff;border-radius:13px;box-shadow:0 20px 80px #12263f44;display:flex;flex-direction:column;min-width:0;color:#2c4058}.recipe-library-head{display:flex;justify-content:space-between;gap:20px;padding:24px 28px 18px;border-bottom:1px solid #e1e8f0}.recipe-library-head h2{font-size:1.45rem;margin:7px 0}.recipe-library-head p{font-size:.78rem;margin:0;color:#7c8a9d}.recipe-library-head>button{min-width:38px;height:38px;border:1px solid #e0e6ee;border-radius:7px;background:#fff;font-size:1.5rem;color:#78899b;cursor:pointer}.recipe-tabs{display:flex;gap:10px;padding:15px 28px;border-bottom:1px solid #e5edf4}.recipe-tabs>button{padding:10px 18px;border:1px solid #d9e5f0;border-radius:7px;background:#fff;color:#718296;font:inherit;font-size:.8rem;font-weight:700;cursor:pointer}.recipe-tabs>button[aria-selected=true]{background:#e9f7fd;color:#1483b4;border-color:#b9dfef}.recipe-library-scroll{overflow-y:auto;min-height:0;padding:20px 28px 28px;overscroll-behavior:contain}.recipe-library-dialog input,.recipe-library-dialog select{width:100%;min-width:0;min-height:41px;border:1px solid #d5e1ec;border-radius:6px;background:#fff;color:#38516b;padding:8px 10px;font:inherit;font-size:.77rem;box-sizing:border-box}.recipe-library-dialog button:disabled,.recipe-library-dialog fieldset:disabled{opacity:.6}.recipe-library-dialog button:focus-visible,.recipe-library-dialog input:focus-visible,.recipe-library-dialog select:focus-visible,.recipe-library-dialog summary:focus-visible{outline:2px solid #1394c7;outline-offset:3px}.recipe-search-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;padding:18px;border:1px solid #e0e8f1;border-radius:9px;background:#f7fafc;min-width:0;margin:0}.recipe-search-grid label,.recipe-register-form label{display:flex;flex-direction:column;gap:7px;font-size:.72rem;color:#667e95;font-weight:650;min-width:0}.recipe-search-name,.recipe-search-stat{grid-column:span 2}.recipe-filter-actions{display:flex;gap:8px;align-items:end;grid-column:span 2}.recipe-filter-actions button,.recipe-register-form button,.recipe-card footer button,.recipe-empty button,.recipe-pagination button{min-height:39px;border:1px solid #bcd9e9;border-radius:6px;background:#fff;color:#187ea9;padding:8px 12px;font:inherit;font-size:.73rem;font-weight:650;cursor:pointer}.recipe-filter-actions button:first-child,.recipe-register-form button{background:#158dc0;color:#fff;border-color:#158dc0}.recipe-filter-actions button{flex:1}.recipe-help{font-size:.7rem;line-height:1.8;color:#7d8da1;margin:10px 0 15px}.recipe-error,.recipe-message{font-size:.8rem;line-height:1.6;margin:0 0 14px;overflow-wrap:anywhere}.recipe-error{color:#ba4964}.recipe-message{color:#218573}.recipe-error:empty,.recipe-message:empty{display:none}.recipe-list-count{font-size:.79rem;font-weight:700;color:#708197;margin:20px 0 14px}.recipe-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;align-items:start}.recipe-card{border:1px solid #dce6ef;border-radius:10px;padding:18px;min-width:0;background:#fff}.recipe-card>header{display:flex;justify-content:space-between;gap:8px;align-items:start}.recipe-card h3{font-size:1rem;margin:8px 0;overflow-wrap:anywhere;color:#2d6e94}.recipe-card header small{font-size:.65rem;color:#8493a6}.recipe-card header p{font-size:.68rem;line-height:1.6;color:#8191a5;margin:0 0 12px}.recipe-status{font-size:.62rem;padding:3px 7px;border-radius:4px;background:#f1f4f8;color:#8897a7;white-space:nowrap}.recipe-status.public{color:#21866e;background:#eaf7f0}.recipe-card-stats{margin:6px 0 13px;display:grid;gap:6px}.recipe-card-stats>div{display:flex;justify-content:space-between;gap:10px;font-size:.72rem;line-height:1.7}.recipe-card-stats dt{color:#71859c;overflow-wrap:anywhere}.recipe-card-stats dd{margin:0;font-variant-numeric:tabular-nums;white-space:nowrap}.recipe-card details{border-top:1px solid #e7edf4;padding-top:10px;font-size:.72rem;color:#72869c}.recipe-card summary{cursor:pointer;min-height:30px}.recipe-card footer{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.recipe-card footer button.recipe-delete{border-color:#ecd4dc;color:#b35d77}.recipe-slot-grid{list-style:none;margin:8px 0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.recipe-slot-grid li{padding:9px;border:1px solid #e2eaf2;border-radius:6px;background:#f9fbfd;min-width:0}.recipe-slot-grid small{font-size:.61rem;display:block;color:#a0adba}.recipe-slot-grid strong{font-size:.7rem;display:block;line-height:1.5;overflow-wrap:anywhere;margin-top:4px}.recipe-warning{font-size:.69rem;line-height:1.6;color:#a37842;background:#fff8ef;padding:8px 10px;border-radius:6px}.recipe-register-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end;border:1px solid #c9e3f0;background:#f0faff;border-radius:9px;padding:18px;margin-bottom:20px}.recipe-register-form>label{grid-column:1/-1}.recipe-register-form>.recipe-help{grid-column:1/-1;margin:0}.recipe-login-gate,.recipe-empty{padding:25px;background:#f8fbfe;border:1px solid #e0eaf2;border-radius:9px}.recipe-login-gate h3,.recipe-empty h3{font-size:1rem;margin:0 0 12px}.recipe-login-gate p,.recipe-empty p{font-size:.78rem;line-height:1.8;color:#7c8b9f}.recipe-empty{grid-column:1/-1}.recipe-pagination{display:flex;align-items:center;justify-content:center;gap:15px;margin-top:23px;font-size:.76rem;color:#8391a2}.recipe-library-dialog .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@media(max-width:760px){.recipe-library-overlay{padding:9px}.recipe-library-dialog{max-height:calc(100dvh - 18px);border-radius:10px}.recipe-library-head{padding:18px 15px 14px;gap:10px}.recipe-library-head h2{font-size:1.2rem}.recipe-library-head p{font-size:.7rem}.recipe-tabs{padding:12px 15px;gap:8px}.recipe-tabs>button{flex:1;padding:9px 7px;font-size:.73rem}.recipe-library-scroll{padding:16px}.recipe-search-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:13px;gap:12px}.recipe-search-name,.recipe-search-stat{grid-column:1/-1}.recipe-list{grid-template-columns:1fr}.recipe-library-dialog input,.recipe-library-dialog select{font-size:16px}.recipe-register-form{grid-template-columns:1fr;padding:13px}.recipe-register-form>button{width:100%}.recipe-card{padding:14px}.tools-nav-recipe{font-size:.62rem;text-align:center;padding:10px 2px;line-height:1.5}.craft-drawer-toolbar>button[data-open-recipe-backpack],.craft-drawer-toolbar>button[data-open-public-recipes]{min-height:38px}.craft-configuration-actions button{min-width:100px}}
.recipe-search-grid.recipe-search-mine{grid-template-columns:minmax(0,1fr) auto auto;align-items:end}.recipe-search-mine>button{min-height:41px;border:1px solid #c6dbe9;border-radius:6px;background:#fff;color:#2483ab;padding:8px 12px;font:inherit;font-size:.75rem;cursor:pointer}

@media(max-width:760px){.recipe-search-grid.recipe-search-mine{grid-template-columns:repeat(2,minmax(0,1fr))}.recipe-search-mine>label{grid-column:1/-1}}
