@charset "UTF-8";
:root{--ink:#193e36;--muted:#64736d;--paper:#f5f7f4;--line:#dde5dd;--orange:#df653e;--soft:#e9f0e9;--white:#fff;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans JP","Yu Gothic",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none;font-size:16px}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a,input,textarea,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}a{color:inherit}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid var(--orange);outline-offset:4px}input:focus,textarea:focus{outline:2px solid #458575;outline-offset:1px}button{border:0;background:none;color:inherit}h1,h2,h3,p{margin-top:0}h2{font-size:1.2rem}h3{font-size:1.1rem}button,input{min-height:44px}input,textarea{width:100%;border:1px solid #ccd7cc;border-radius:9px;background:#fff;color:var(--ink);padding:12px 14px;min-width:0}textarea{resize:vertical;line-height:1.75}input::placeholder,textarea::placeholder{color:#77847d}.topbar{height:98px;padding:0 max(28px,calc((100vw - 1160px)/2));background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px}.brand{display:flex;gap:13px;align-items:center;text-decoration:none;font-size:1.15rem;font-weight:700;letter-spacing:.04em}.brand small{display:block;font-size:.65rem;letter-spacing:.16em;font-weight:500;margin-top:4px;color:var(--muted)}.brand-icon{font-family:Georgia,serif;background:var(--ink);color:#fff;border-radius:12px;display:grid;place-content:center;width:47px;height:49px;font-size:32px;position:relative}.brand-icon span{position:absolute;color:#f39b69;right:1px;top:7px}.account-button{font-size:.875rem;border:1px solid var(--line);padding:8px 17px;border-radius:30px;max-width:230px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}main{max-width:1160px;margin:auto;padding:32px 0 24px}.notice{border:1px solid #dcdfcb;background:#fffdf0;padding:12px 17px;border-radius:9px;font-size:.875rem;line-height:1.8;margin-bottom:22px}.notice button{min-height:auto;text-decoration:underline;padding:0 8px;font-weight:700}.heading{display:flex;justify-content:space-between;align-items:center;padding:13px 0 30px;gap:20px}.eyebrow{font-size:.75rem;letter-spacing:.16em;color:#6b8073;font-weight:700;margin-bottom:12px}h1{font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-size:2.35rem;letter-spacing:.035em;font-weight:600;margin-bottom:13px;line-height:1.4}.subtle{color:var(--muted);font-size:.9rem;margin:0}.primary,.secondary,.danger{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:9px;padding:12px 20px;font-weight:600;white-space:nowrap;min-height:47px}.primary{background:var(--ink);color:#fff;box-shadow:0 3px 0 #0d2c2520}.primary:hover{background:#245748}.primary span{font-size:1.35rem;line-height:1}.secondary{background:#eef2ed;border:1px solid var(--line)}.danger{background:#ae3434;color:white}.search-panel{padding:25px 28px 21px;border:1px solid var(--line);border-radius:15px;background:white}.search-caption{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;gap:16px}.search-caption h2{font-size:1rem;margin:0}.search-caption>span{font-size:.8rem;color:var(--muted)}.search-box{display:flex;align-items:center;background:#f4f6f2;border:1px solid #e5e9e0;border-radius:10px;padding:0 16px;gap:12px}.search-box svg{width:21px;height:21px;stroke:var(--ink);fill:none;stroke-width:1.8;flex-shrink:0}.search-box input{background:transparent;border:0;min-height:55px;padding:12px 0}.search-box input:focus{outline:none}.search-box:focus-within{outline:2px solid #458575}.key-hint{font-size:.75rem;white-space:nowrap;padding-left:10px;border-left:1px solid var(--line);color:var(--muted)}.quick-ingredients{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:14px}.quick-ingredients>span{font-size:.8rem;color:var(--muted);margin-right:4px}.quick-ingredients button{font-size:.8rem;min-height:34px;padding:5px 13px;border:1px solid var(--line);border-radius:22px}.quick-ingredients button[aria-pressed=true]{background:var(--ink);color:#fff;border-color:var(--ink)}.active-queries{font-size:.8rem;color:#52695d;margin-top:10px}.active-queries:empty{margin:0}.collection{padding-top:35px}.collection-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:21px;gap:15px}.collection-heading h2{font-size:1.13rem;margin:0;white-space:nowrap}.collection-heading h2 span{display:inline-block;margin-left:10px;font-size:.85rem;background:#e3ece3;color:#465e4c;padding:3px 9px;border-radius:20px}.collection-tools{display:flex;gap:10px;align-items:center}.title-filter input{background:transparent;font-size:.85rem;max-width:200px;min-height:39px;padding:8px 11px}.text-button{font-size:.85rem;text-decoration:underline;text-underline-offset:4px}.recipe-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.recipe-card{background:#fff;border:1px solid var(--line);border-radius:13px;overflow:hidden;transition:transform .18s,box-shadow .18s}.recipe-card:hover{transform:translateY(-3px);box-shadow:0 9px 25px #193e360c}.card-main{text-align:left;width:100%;padding:0;height:100%;display:flex;flex-direction:column}.card-photo{width:100%;height:180px;object-fit:cover}.card-cover{height:135px;background:#e4ece2;position:relative;padding:20px 23px;display:flex;align-items:center;justify-content:space-between;width:100%;overflow:hidden}.recipe-card:nth-child(3n+2) .card-cover{background:#f2eadb}.recipe-card:nth-child(3n+3) .card-cover{background:#e2eaed}.cover-word{font-family:"Yu Mincho",serif;font-size:2.3rem;letter-spacing:.1em;opacity:.75}.cover-num{font-family:Georgia,serif;font-size:4.3rem;color:#193e3620;font-style:italic}.cover-label{position:absolute;bottom:10px;left:23px;font-size:.65rem;letter-spacing:.2em;color:#607361}.card-copy{padding:20px 22px 21px;width:100%;flex:1}.card-source{font-size:.75rem;color:var(--muted);display:flex;justify-content:space-between;gap:10px;margin-bottom:10px}.card-copy h3{font-size:1.1rem;line-height:1.7;margin-bottom:13px}.ingredient-preview{font-size:.8rem;color:var(--muted);line-height:1.9;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:0}.card-note{border-top:1px solid #edf0e9;margin:16px 0 0;padding-top:12px;display:flex;gap:7px;font-size:.8rem;color:#6b6248;line-height:1.7}.card-note span{white-space:nowrap;font-weight:600}.card-note p{margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.empty-state{grid-column:1/-1;border:1px dashed #bbcbbc;border-radius:14px;padding:55px 20px;text-align:center;color:var(--muted);background:#ffffff70}.empty-state h3{color:var(--ink);font-size:1.2rem}.empty-state p{line-height:1.9;font-size:.9rem}.empty-symbol{font-family:Georgia,serif;font-size:3rem;color:#75917c;margin-bottom:10px}footer{display:flex;justify-content:space-between;font-size:.75rem;color:#748276;padding:32px 0 0;margin-top:18px;border-top:1px solid var(--line);gap:15px}dialog{padding:0;border:0;border-radius:17px;width:min(660px,calc(100% - 32px));max-height:90dvh;color:var(--ink);box-shadow:0 24px 90px #102b3650}dialog::backdrop{background:#183b345e;backdrop-filter:blur(3px)}.dialog-top{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:24px 28px 18px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fff;z-index:1}.dialog-top h2{margin:0;font-size:1.3rem}.dialog-top .eyebrow{margin:0 0 5px}.icon-button{font-size:1.8rem;width:44px;height:44px;background:#f3f6f1;border-radius:50%;flex-shrink:0}.dialog-body{padding:24px 28px 30px}.import-section{border-radius:12px;background:#f2f6ef;padding:20px;margin-bottom:26px}.import-section>label{display:block;font-size:.9rem;font-weight:600;margin-bottom:9px}.url-row{display:flex;gap:8px}.url-row .primary{padding:10px 15px}.field-help{font-size:.8rem;color:var(--muted);line-height:1.7;margin:10px 0}.inline-message{font-size:.85rem;line-height:1.8;margin:8px 0;white-space:pre-line}.inline-message:empty{margin:0}.error{color:#b03432}details{font-size:.85rem;margin-top:13px}details summary{cursor:pointer;padding:8px 0}details textarea{margin:10px 0}form label{display:block;margin-bottom:20px;font-size:.9rem;font-weight:600}form label input,form label textarea{margin-top:8px;font-weight:400}.required{font-size:.7rem;font-weight:400;color:#876c5c;margin-left:8px}.memo-label{padding:18px;background:#fff8e7;border-radius:11px}.memo-label textarea{border-color:#dfd4b6}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px;flex-wrap:wrap}#detail-title{font-size:1.65rem;line-height:1.6;margin-bottom:10px}.detail-source{font-size:.85rem;color:var(--muted);display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:26px}.detail-image{width:100%;max-height:260px;object-fit:cover;border-radius:10px;margin-bottom:20px}.detail-section{margin:27px 0}.detail-section h3{font-size:1rem;border-bottom:1px solid var(--line);padding-bottom:12px}.detail-ingredients{list-style:none;padding:0;margin:0}.detail-ingredients li{font-size:.95rem;border-bottom:1px dashed var(--line);padding:11px 2px;line-height:1.75}.detail-steps{list-style:none;padding:0;counter-reset:steps}.detail-steps li{counter-increment:steps;display:flex;gap:15px;margin:19px 0;font-size:.95rem;line-height:1.9;white-space:pre-wrap}.detail-steps li:before{content:counter(steps,decimal-leading-zero);font-family:Georgia,serif;color:#8c9e88;font-size:1.45rem;min-width:25px;line-height:1.3}.detail-memo{background:#fff8e7;border-radius:12px;padding:19px}.detail-memo h3{font-size:1rem;margin-bottom:11px}.detail-memo textarea{background:#fffdf5;border-color:#e5dabe}.detail-memo .form-actions{margin-top:10px}.detail-actions{display:flex;justify-content:space-between;align-items:center;margin-top:25px}.detail-actions .delete-link{color:#a3443b;font-size:.85rem}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;padding:14px 23px;border-radius:12px;z-index:10;font-size:.875rem;max-width:calc(100% - 32px);box-shadow:0 4px 20px #193e3620}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}.account-copy{line-height:1.9;color:var(--muted);font-size:.95rem}.account-email{font-weight:600;overflow-wrap:anywhere}.loading{opacity:.6;pointer-events:none}
@media(max-width:1230px){main{margin:0 30px}.topbar{padding:0 30px}}@media(max-width:850px){.recipe-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.search-caption>span{display:none}h1{font-size:2rem}.brand small{font-size:.6rem}.account-button{max-width:150px}.heading{gap:12px}.heading>.primary{font-size:.9rem}}
@media(max-width:570px){.topbar{height:78px;padding:0 20px}.brand{gap:9px;font-size:.96rem}.brand-icon{height:40px;width:39px;font-size:28px}.brand small{font-size:.53rem}.account-button{font-size:.75rem;padding:7px 10px;max-width:115px;min-height:38px}main{margin:0 20px;padding-top:22px}.notice{font-size:.8rem}.heading{display:block;padding:8px 0 22px}.heading>.primary{width:100%;margin-top:22px}.eyebrow{font-size:.65rem}h1{font-size:1.9rem}.subtle{font-size:.8rem}.search-panel{padding:19px 16px}.search-caption h2{font-size:.9rem}.search-box{padding:0 10px;gap:8px}.search-box input{font-size:.9rem}.key-hint{font-size:.65rem;padding-left:6px}.quick-ingredients{gap:7px}.quick-ingredients>span{width:100%;margin:0 0 3px}.quick-ingredients button{padding:5px 11px}.collection{padding-top:28px}.collection-heading{align-items:flex-start;flex-wrap:wrap;gap:12px}.collection-heading h2{font-size:1.05rem}.collection-tools{width:100%}.title-filter{flex:1}.title-filter input{width:100%;max-width:none}.recipe-grid{grid-template-columns:1fr;gap:17px}.card-cover{height:113px}.card-copy{padding:17px 20px}.card-copy h3{font-size:1.05rem}.card-photo{height:190px}.card-note{margin-top:12px;padding-top:10px}.dialog-top{padding:18px 20px}.dialog-body{padding:20px}.import-section{padding:15px}.dialog-top h2{font-size:1.1rem}dialog{width:100%;max-width:100%;max-height:96dvh;margin:auto 0 0;border-radius:18px 18px 0 0}.form-actions>*{flex:1}.url-row .primary{font-size:.85rem}footer{font-size:.65rem;line-height:1.8}.detail-source{font-size:.8rem}#detail-title{font-size:1.4rem}.toast{bottom:15px;width:max-content}.empty-state{padding:40px 15px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
.install-panel{margin:28px 0 0;padding:18px;border:1px solid var(--line);border-radius:12px;display:flex;align-items:center;gap:16px;flex-wrap:wrap;background:white}.install-panel>div{flex:1;min-width:180px}.install-panel p{font-size:.85rem;color:var(--muted);line-height:1.8;margin:6px 0 0}.install-panel #install-help{width:100%}

.photo-editor{padding:16px;margin-bottom:20px;background:#f4f6f2;border-radius:10px}.photo-editor img{display:block;max-width:100%;max-height:240px;object-fit:contain;margin:12px auto;border-radius:8px}.photo-editor label{margin-bottom:8px}.photo-editor input{font-size:.85rem}#repair-groups{margin-bottom:16px}#repair-groups-button{white-space:normal;width:100%}
