/* A recipe notebook that is comfortable to read and edit on a phone. */
.recipe-toolbar #import-recipes{background:var(--accent-soft,#fff1bc);font-weight:800;min-height:48px}
.recipe-grid .match{font-size:14px;line-height:1.5;min-height:80px}.recipe-grid .match>strong{display:block;color:var(--ink,#24382b)}.recipe-grid .bar{height:8px;margin:9px 0}.recipe-grid .match>span{font-size:13px;color:var(--muted)}.recipe-grid .card-body>button{font-weight:800;min-height:48px}.recipe-match-note{font-size:13px;line-height:1.6}
dialog.recipe-modal{width:680px;padding:25px;scroll-padding-block:20px}.recipe-modal .modal-head{gap:12px;align-items:flex-start}.recipe-modal .modal-head h2{line-height:1.2;font-family:var(--buddy-font,'DM Sans',sans-serif);font-size:27px;overflow-wrap:anywhere}.recipe-modal .modal-head button{min-width:44px;min-height:44px;flex-shrink:0}.recipe-editor label{font-size:15px;font-weight:800}.recipe-editor input,.recipe-editor textarea{font-size:16px;font-weight:500;line-height:1.6}.recipe-editor textarea{min-height:145px;resize:vertical}.recipe-help{font-size:13px;line-height:1.6;margin:6px 0 15px;color:var(--muted)}.recipe-parse-preview,.recipe-extra{border:2px solid var(--line);border-radius:14px;margin:16px 0;padding:12px 15px;background:var(--card,#fffefa)}.recipe-extra summary,.recipe-parse-preview summary{font-weight:800;cursor:pointer;line-height:1.5}.recipe-extra-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.recipe-preview-label{font-size:12px;text-transform:uppercase;letter-spacing:.07em;font-weight:900;display:block;margin-top:14px}.recipe-parse-preview ul{padding-left:22px;line-height:1.7;font-size:14px}.recipe-warning{background:#fff3d0;color:#664613;border:2px solid #e4bd59;border-radius:14px;padding:13px 15px;font-size:14px;line-height:1.6;margin:12px 0}.recipe-warning ul{padding-left:20px;margin-bottom:0}.recipe-error{color:#9c2929;font-size:14px;font-weight:700;line-height:1.6}.recipe-error:empty{display:none}.recipe-import-progress{font-size:14px;color:var(--ink,#24382b);font-weight:700}.recipe-editor .recipe-review-check{display:flex;align-items:flex-start;gap:12px;font-size:14px;line-height:1.6;border:2px dashed var(--line);border-radius:14px;padding:13px}.recipe-review-check input,.recipe-check-add input{width:23px;min-width:23px;height:23px;margin:0;accent-color:var(--green);cursor:pointer}.recipe-review-actions{display:flex;gap:10px;margin-top:16px}.recipe-review-actions button{font-size:13px;flex:1;min-height:44px}
.recipe-detail-meta{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:0 0 18px;font-size:14px}.recipe-detail-meta>span{background:var(--accent-soft,#f0e8c4);border-radius:999px;padding:8px 12px;font-weight:700}.recipe-detail-meta button{margin-left:auto;font-size:14px;min-height:44px}.recipe-readiness{border:2px solid var(--line);border-radius:17px;background:var(--accent-soft,#fff4cd);padding:17px;margin-bottom:23px}.recipe-readiness>strong{font-size:18px}.recipe-readiness p{font-size:14px;line-height:1.6;margin:7px 0 0;color:var(--ink,#24382b)}.recipe-readiness.ready{background:#e6f4df;border-color:#97b987}.recipe-coverage{margin:24px 0;color:var(--ink,#24382b)}.recipe-coverage h3{display:flex;align-items:center;gap:8px;font-family:var(--buddy-font,'DM Sans',sans-serif);font-size:21px;line-height:1.4}.recipe-coverage h3 small{font-family:inherit;font-size:13px;font-weight:900;border-radius:999px;background:var(--accent-soft,#f0e8c4);padding:3px 8px}.recipe-coverage ul{list-style:none;padding:0;margin:0;border:2px solid var(--line);border-radius:14px;overflow:hidden;background:var(--card,#fffefa)}.recipe-coverage li{padding:14px 15px;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.recipe-coverage li:last-child{border-bottom:0}.recipe-coverage li>strong{font-size:16px;line-height:1.5;display:block}.recipe-coverage li>span{display:block;font-size:14px;line-height:1.6;color:var(--muted);margin-top:3px}.recipe-coverage.need li>span{color:#8c4b23}.recipe-coverage.have li>span{color:#3d672f}.recipe-coverage .recipe-check-add{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.6;margin-top:12px}.recipe-shop-actions{display:flex;flex-direction:column;gap:10px;border-bottom:2px dashed var(--line);padding:0 0 24px}.recipe-shop-actions button{min-height:50px;font-weight:800}.recipe-cook-heading{font-family:var(--buddy-font,'DM Sans',sans-serif);font-size:23px;margin-top:27px}.recipe-directions{white-space:pre-wrap;color:var(--ink,#24382b);font-size:16px;line-height:1.85;overflow-wrap:anywhere}.recipe-bottom-actions{border-top:2px dashed var(--line);padding-top:20px}.recipe-bottom-actions button{flex:1;min-height:46px;font-size:14px}
.recipe-import-dialog{width:640px}.recipe-import-dialog .modal-head{gap:10px}.recipe-import-dialog .modal-head h2{font-family:var(--buddy-font,'DM Sans',sans-serif);font-size:27px;line-height:1.3}.recipe-import-dialog .modal-head button{min-height:44px;min-width:44px}.recipe-import-dialog>p{font-size:15px;line-height:1.6}.recipe-import-option{border-top:2px dashed var(--line);padding:4px 0 15px;margin-top:15px}.recipe-import-option>label{font-size:15px;font-weight:800}.recipe-import-option input,.recipe-import-option textarea{width:100%;font-size:16px}.recipe-import-option textarea{min-height:170px;resize:vertical}.recipe-import-option>.primary{margin-top:12px;width:100%;font-weight:800;min-height:48px}.recipe-url-row{display:flex;gap:8px;align-items:stretch}.recipe-url-row input{min-width:0;flex:1}.recipe-url-row button{flex-shrink:0;font-weight:800}.recipe-import-dialog input[type=file]{padding:14px;background:var(--card,#fffefa);font-size:14px}.recipe-import-dialog input[type=file]::file-selector-button{font:inherit;font-weight:700;border:0;border-radius:8px;padding:10px;margin-right:10px;background:var(--accent-soft,#fff1bc);color:inherit}.recipe-import-dialog button:disabled{opacity:.6;cursor:wait}
@media(max-width:600px){.recipe-toolbar h2{flex-basis:100%;font-size:27px}.recipe-toolbar #search{flex:1;min-width:0;width:40%}.recipe-toolbar #filter{max-width:52%;font-size:14px}.recipe-toolbar #import-recipes,.recipe-toolbar #add{flex:1;font-size:14px;padding:12px 8px}.recipe-modal .modal-head h2{font-size:24px}dialog.recipe-modal,.recipe-import-dialog{padding:19px 17px}.recipe-detail-meta{gap:7px}.recipe-detail-meta>span{font-size:13px;padding:7px 9px}.recipe-detail-meta button{font-size:13px;padding:8px 11px}.recipe-url-row{flex-direction:column}.recipe-url-row button{min-height:46px}.recipe-extra-grid{gap:10px}.recipe-review-actions{flex-wrap:wrap}.recipe-review-actions button{flex-basis:40%}}
