.recipe-book-section{padding:20px;margin:0 0 22px;background:linear-gradient(145deg,#fff,#fff9f1);border-color:#eadfcd}.recipe-book-section h2{font-size:1.16rem;margin:4px 0 7px}.recipe-book-section p{font-size:.84rem;color:#827580}.recipe-book-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:17px}.recipe-book-actions>*{flex:1 1 160px;min-width:0}.recipe-book-backdrop{z-index:250;align-items:center;padding:16px}.recipe-book-modal{width:min(620px,100%);max-width:100%;max-height:calc(100dvh - 32px);overflow:auto;overscroll-behavior:contain;padding:22px;box-sizing:border-box;background:#fff;border-radius:24px;color:#594857;overflow-wrap:anywhere}.recipe-book-modal .section-heading{align-items:flex-start;gap:12px;margin-bottom:18px}.recipe-book-modal h2{font-size:1.3rem;margin:0;min-width:0}.recipe-book-close{flex:none;width:38px;height:38px;font-size:1.6rem}.recipe-book-modal h3{font-size:.94rem;margin:24px 0 8px}.recipe-book-modal input,.recipe-book-modal textarea,.recipe-book-modal select{box-sizing:border-box;width:100%;min-width:0;max-width:100%;font:inherit;font-size:16px;line-height:1.5;border:1px solid #e8dce4;border-radius:12px;background:#fffcfd;color:inherit;padding:11px 12px}.recipe-book-modal>input,.recipe-book-modal>select{margin-bottom:10px}.recipe-book-modal textarea{resize:vertical;min-height:100px}.recipe-book-form{display:grid;gap:16px}.recipe-book-form>label{display:grid;gap:7px;font-size:.85rem;font-weight:600}.recipe-book-form label input,.recipe-book-form label textarea{font-weight:400}.recipe-book-tags{border:1px solid #eadce5;border-radius:12px;padding:12px;font-size:.84rem}.recipe-book-tags summary{cursor:pointer}.recipe-book-tags label{display:flex;align-items:center;gap:10px;margin-top:11px}.recipe-book-tags input[type=checkbox]{width:18px;height:18px;min-height:18px;padding:0;accent-color:#963e75}.recipe-book-tools{display:grid;gap:13px}.recipe-book-filters{display:flex;gap:7px}.recipe-book-filters button{flex:1;padding:9px 6px;font-size:.78rem;white-space:normal}.recipe-book-filters button[aria-pressed=true]{background:#f4dfeb;color:#903d70;border-color:#ddb6ce}.recipe-book-options{display:flex;gap:8px}.recipe-book-options select{flex:1;width:0;font-size:.83rem}.recipe-book-list{display:grid;gap:9px;margin-top:20px}.recipe-book-card{text-align:left;display:grid;gap:5px;width:100%;padding:14px;border:1px solid #eadde4;border-radius:14px;background:#fffcfd;color:inherit;cursor:pointer}.recipe-book-card strong{font-size:.94rem}.recipe-book-card small,.recipe-book-meta{color:#897582;font-size:.76rem;line-height:1.5}.recipe-book-text{white-space:pre-wrap;font-size:.91rem;line-height:1.7;margin:0;color:inherit}.recipe-book-empty{text-align:center;font-size:.85rem;padding:20px 7px;color:#897582}.recipe-book-save{width:100%;margin-top:12px;color:#963e75}.recipe-book-save[aria-pressed=true]{background:#fae8f2;border-color:#ebcbdc}.recipe-book-toast{position:fixed;z-index:350;left:50%;bottom:calc(88px + env(safe-area-inset-bottom));transform:translateX(-50%);max-width:calc(100% - 32px);box-sizing:border-box;padding:13px 18px;border-radius:16px;background:#64384f;color:#fff;font-size:.85rem;box-shadow:0 5px 20px #412a3c22;text-align:center}.recipe-book-open{overflow:hidden}.recipe-book-review{display:grid;gap:9px;margin-top:14px}.recipe-book-review-row{display:flex;gap:7px;min-width:0}.recipe-book-review-row input{flex:2;width:0}.recipe-book-review-row select{flex:1;width:0;font-size:.8rem;padding:10px 6px}
html[data-theme=dark] .recipe-book-section{background:linear-gradient(145deg,#2c222b,#30292a);border-color:#4d3c42}html[data-theme=dark] .recipe-book-modal{background:#291f28;color:#f5edf2}html[data-theme=dark] .recipe-book-modal input,html[data-theme=dark] .recipe-book-modal textarea,html[data-theme=dark] .recipe-book-modal select,html[data-theme=dark] .recipe-book-card{background:#332831;border-color:#59404e;color:#f5edf2}html[data-theme=dark] .recipe-book-tags{border-color:#59404e}html[data-theme=dark] .recipe-book-meta,html[data-theme=dark] .recipe-book-card small,html[data-theme=dark] .recipe-book-empty,html[data-theme=dark] .recipe-book-section p{color:#cfbaca}html[data-theme=dark] .recipe-book-save[aria-pressed=true],html[data-theme=dark] .recipe-book-filters button[aria-pressed=true]{background:#583347;color:#f9d5e9;border-color:#815569}
@media(max-width:540px){.recipe-book-backdrop{padding:10px;align-items:flex-end}.recipe-book-modal{padding:19px 17px;max-height:calc(100dvh - 20px);border-radius:23px 23px 18px 18px;padding-bottom:calc(20px + env(safe-area-inset-bottom))}.recipe-book-modal h2{font-size:1.18rem}.recipe-book-section{padding:17px}.recipe-book-actions>*{flex-basis:100%}}
