.app{max-width:900px;margin:0 auto;padding:2rem 1.5rem}.logo{font-family:Cormorant Garamond,Georgia,serif;font-size:2.2rem;font-weight:700;color:#2c2417;letter-spacing:.02em}header{display:flex;justify-content:space-between;align-items:center;margin-bottom:3rem}.header-right{display:flex;align-items:center;gap:1rem}.header-user{font-size:.9rem;color:#8b7355}.btn-primary{background:#c4784a;color:#fff;border:none;border-radius:8px;padding:.6rem 1.25rem;font-size:.95rem;font-family:inherit;font-weight:500;cursor:pointer;transition:background .15s}.btn-primary:hover{background:#a85f35}.btn-primary:disabled{opacity:.5;cursor:default}.btn-primary.full-width{width:100%;padding:.75rem;font-size:1rem;margin-top:.5rem}.btn-ghost{background:none;border:1px solid #E8DDD0;border-radius:8px;padding:.55rem 1rem;font-size:.9rem;font-family:inherit;color:#8b7355;cursor:pointer;transition:background .15s,border-color .15s;text-decoration:none;display:inline-flex;align-items:center}.btn-ghost:hover{background:#f0ebe3;border-color:#c4a882}.btn-danger{background:#b94040;color:#fff;border:none;border-radius:8px;padding:.55rem 1rem;font-size:.9rem;font-family:inherit;cursor:pointer}.btn-danger:hover{background:#8f2f2f}.btn-danger-ghost{background:none;border:1px solid #E8DDD0;border-radius:8px;padding:.55rem 1rem;font-size:.9rem;font-family:inherit;color:#b94040;cursor:pointer}.btn-danger-ghost:hover{background:#fdf0f0;border-color:#b94040}.link-btn{background:none;border:none;color:#c4784a;font-size:inherit;font-family:inherit;cursor:pointer;text-decoration:underline;padding:0}.link-btn:hover{color:#a85f35}.url-section{background:#fff;border-radius:16px;padding:2rem 2.5rem;box-shadow:0 2px 12px #2c24170f;margin-bottom:2.5rem}.input-mode-tabs{display:flex;gap:0;margin-bottom:1.25rem;border-bottom:1px solid #E8DDD0}.mode-tab{background:none;border:none;border-bottom:2px solid transparent;padding:.4rem .9rem;font-size:1.25rem;font-family:inherit;cursor:pointer;margin-bottom:-1px;opacity:.45;transition:opacity .15s,border-color .15s;line-height:1}.mode-tab.active{opacity:1;border-bottom-color:#c4784a}.mode-tab:hover:not(.active){opacity:.7}.url-sub{font-size:.9rem;color:#8b7355;margin-bottom:1.25rem}.url-form{display:flex;gap:.75rem;flex-wrap:wrap}.url-form .btn-primary{white-space:nowrap}@media (max-width: 500px){.url-form{flex-direction:column}.url-form .btn-primary{width:100%}}.image-upload-form{flex-direction:column}.image-slots{display:flex;gap:.75rem;flex-wrap:wrap;margin-bottom:.75rem}.image-slot{width:100px;height:100px;border-radius:10px;overflow:hidden;position:relative;flex-shrink:0}.image-slot.filled img{width:100%;height:100%;object-fit:cover}.remove-image{position:absolute;top:4px;right:4px;background:#0000008c;color:#fff;border:none;border-radius:50%;width:22px;height:22px;font-size:.7rem;cursor:pointer;display:flex;align-items:center;justify-content:center;line-height:1}.image-slot.empty{border:2px dashed #D4C4B0;background:#fdfaf7;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;font-family:inherit;transition:border-color .15s,background .15s;gap:.3rem}.image-slot.empty:hover{border-color:#c4784a;background:#fdf6f0}.slot-icon{font-size:1.5rem;color:#c4784a;line-height:1}.slot-label{font-size:.72rem;color:#8b7355;text-align:center}.url-input{flex:1;padding:.65rem 1rem;border:1px solid #E8DDD0;border-radius:8px;font-size:.95rem;font-family:inherit;color:#2c2417;background:#fdfaf7}.url-input:focus{outline:none;border-color:#c4784a}.loading-row{display:flex;align-items:center;gap:.5rem}.spinner{width:14px;height:14px;border:2px solid rgba(255,255,255,.4);border-top-color:#fff;border-radius:50%;animation:spin .7s linear infinite;display:inline-block}@keyframes spin{to{transform:rotate(360deg)}}.btn-favorite{background:none;border:1px solid #E8DDD0;border-radius:8px;padding:.55rem .75rem;font-size:1.1rem;line-height:1;color:#c4a882;cursor:pointer;transition:color .15s,border-color .15s,background .15s}.btn-favorite:hover{background:#fdf0f0;border-color:#c4784a;color:#c4784a}.btn-favorite.is-favorite{color:#c4784a;border-color:#c4784a}.recipe-section-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem}.filter-tabs{display:flex;gap:.4rem}.filter-tab{background:none;border:1px solid #E8DDD0;border-radius:20px;padding:.3rem .85rem;font-size:.85rem;font-family:inherit;color:#8b7355;cursor:pointer;transition:background .15s,border-color .15s,color .15s}.filter-tab:hover{background:#f0ebe3}.filter-tab.active{background:#c4784a;border-color:#c4784a;color:#fff}.section-label{font-family:Cormorant Garamond,Georgia,serif;font-size:1.4rem;font-weight:600;color:#2c2417;margin-bottom:1rem}.recipe-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1rem}.recipe-card{background:#fff;border:1px solid #E8DDD0;border-radius:12px;overflow:hidden;cursor:pointer;text-align:left;padding:0;transition:box-shadow .15s,transform .15s;font-family:inherit}.recipe-card:hover{box-shadow:0 4px 16px #2c24171a;transform:translateY(-2px)}.card-thumb{position:relative;width:100%;height:100px;background:linear-gradient(135deg,#e8d5c0,#c4a882);display:flex;align-items:center;justify-content:center;font-family:Cormorant Garamond,Georgia,serif;font-size:3rem;color:#fff;font-weight:700;overflow:hidden}.card-thumb-img{width:100%;height:100%;object-fit:cover}.card-fav-badge{position:absolute;top:6px;right:8px;font-size:.85rem;color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.4)}.card-body{padding:1rem 1.1rem}.card-title{font-size:1rem;font-weight:600;color:#2c2417;margin-bottom:.2rem}.card-source{font-size:.78rem;color:#c4784a;margin-bottom:.35rem}.card-meta{font-size:.78rem;color:#8b7355}.empty-state{text-align:center;padding:3rem 1rem}.empty-icon{font-size:2.5rem;margin-bottom:.75rem}.empty-text{color:#8b7355;font-size:.95rem}.auth-container{min-height:100vh;display:flex;align-items:center;justify-content:center;background:#f7f3ee}.auth-box{background:#fff;border-radius:16px;padding:2.5rem 2rem;width:100%;max-width:380px;box-shadow:0 4px 24px #2c241714}.auth-logo{text-align:center;display:block;margin-bottom:.25rem}.auth-subtitle{text-align:center;color:#8b7355;font-size:.9rem;margin-bottom:1.75rem}.auth-box form{display:flex;flex-direction:column;gap:.9rem}.auth-box label{display:flex;flex-direction:column;gap:.35rem;font-size:.875rem;font-weight:500;color:#5a4a35}.auth-box input{padding:.6rem .85rem;border:1px solid #E8DDD0;border-radius:8px;font-size:1rem;font-family:inherit;color:#2c2417;background:#fdfaf7}.auth-box input:focus{outline:none;border-color:#c4784a}.auth-error{color:#b94040;font-size:.82rem}.auth-toggle{text-align:center;font-size:.875rem;color:#8b7355;margin-top:1rem}.preview-page{min-height:100vh;background:#f7f3ee;padding:2rem 1.5rem}.preview-container{max-width:760px;margin:0 auto}.preview-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:2rem;gap:1rem}.source-badge{font-size:.78rem;color:#8b7355;margin-bottom:.5rem}.source-badge a{color:#c4784a;text-decoration:none}.source-badge a:hover{text-decoration:underline}.title-input{font-family:Cormorant Garamond,Georgia,serif;font-size:2rem;font-weight:700;color:#2c2417;border:none;border-bottom:2px solid #E8DDD0;background:transparent;width:100%;padding:.25rem 0;margin-bottom:.5rem}.title-input:focus{outline:none;border-bottom-color:#c4784a}.servings-input{font-size:.875rem;color:#8b7355;border:none;border-bottom:1px solid #E8DDD0;background:transparent;padding:.15rem 0;width:120px}.servings-input:focus{outline:none;border-bottom-color:#c4784a}.preview-actions{display:flex;gap:.75rem;flex-shrink:0}.preview-body{display:flex;flex-direction:column;gap:2rem}.image-edit-area{display:flex;flex-direction:column;gap:.65rem}.image-preview-thumb{position:relative;width:100%;max-height:220px;border-radius:10px;overflow:hidden;background:#f0e8df}.image-preview-thumb img{width:100%;max-height:220px;object-fit:cover;display:block}.remove-image-btn{position:absolute;top:8px;right:8px;background:#0000008c;color:#fff;border:none;border-radius:6px;padding:.3rem .6rem;font-size:.78rem;cursor:pointer}.image-placeholder-edit{width:100%;height:80px;border:2px dashed #D4C4B0;border-radius:10px;display:flex;align-items:center;justify-content:center;color:#b0a090;font-size:.9rem}.image-edit-controls{display:flex;gap:.5rem;flex-wrap:wrap}.btn-ghost.small{padding:.4rem .75rem;font-size:.82rem}.section{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 1px 6px #2c24170d}.section-title{font-family:Cormorant Garamond,Georgia,serif;font-size:1.2rem;font-weight:600;color:#2c2417;margin-bottom:1rem}.ing-section-block{margin-bottom:.75rem}.ing-section-block:last-of-type{margin-bottom:0}.ing-section-header-edit{display:flex;align-items:center;gap:.5rem;margin-bottom:.4rem}.ing-section-name-input{flex:1;font-size:.8rem;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:#8b7355;border:none;border-bottom:1px solid #E8DDD0;background:transparent;padding:.2rem 0;font-family:inherit}.ing-section-name-input:focus{outline:none;border-bottom-color:#c4784a}.ing-section-name-input::placeholder{color:#c4a882;font-weight:400;text-transform:none;letter-spacing:0}.add-section-btn{margin-top:1rem}.ingredient-edit-list,.step-edit-list{list-style:none;display:flex;flex-direction:column}.edit-row{display:flex;align-items:center;gap:.75rem;border-bottom:1px solid #F7F3EE;padding:.1rem 0}.edit-row:last-of-type{border-bottom:none}.ing-amount-input{width:6rem!important;flex-shrink:0!important;flex-grow:0!important;text-align:right;font-weight:600;color:#c4784a;border:none!important;border-bottom:1px solid transparent!important;border-radius:0!important;background:transparent!important;padding:.45rem 0!important;font-size:.95rem!important}.ing-amount-input:focus{outline:none!important;border-bottom-color:#c4784a!important}.ing-amount-input::placeholder{color:#d4b896;font-weight:400}.ing-name-input{flex:1!important;min-width:0!important;border:none!important;border-bottom:1px solid transparent!important;border-radius:0!important;background:transparent!important;padding:.45rem 0!important;font-size:.95rem!important;color:#2c2417!important}.ing-name-input:focus{outline:none!important;border-bottom-color:#c4784a!important}.ing-name-input::placeholder{color:#c4a882}.edit-row textarea,.step-edit-row textarea{flex:1;padding:.45rem .75rem;border:1px solid #E8DDD0;border-radius:6px;font-size:.9rem;font-family:inherit;color:#2c2417;background:#fdfaf7;resize:vertical}.edit-row textarea:focus{outline:none;border-color:#c4784a}.step-edit-row{align-items:flex-start}.step-num{width:24px;height:24px;background:#c4784a;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:600;flex-shrink:0;margin-top:.45rem}.remove-btn{background:none;border:none;color:#c4a882;font-size:1.1rem;cursor:pointer;padding:0 .25rem;flex-shrink:0}.remove-btn:hover{color:#b94040}.add-btn{background:none;border:1px dashed #C4A882;border-radius:6px;color:#8b7355;font-size:.85rem;font-family:inherit;padding:.4rem .75rem;cursor:pointer;margin-top:.5rem;transition:border-color .15s,color .15s}.add-btn:hover{border-color:#c4784a;color:#c4784a}.notes-input{width:100%;padding:.6rem .75rem;border:1px solid #E8DDD0;border-radius:6px;font-size:.9rem;font-family:inherit;color:#2c2417;background:#fdfaf7;resize:vertical}.notes-input:focus{outline:none;border-color:#c4784a}.detail-page{min-height:100vh;background:#f7f3ee;padding:2rem 1.5rem}.detail-container{max-width:760px;margin:0 auto}.detail-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.detail-header-actions{display:flex;gap:.75rem;align-items:center}.back-btn{border:none;padding:0;color:#c4784a}.back-btn:hover{background:none;border:none;color:#a85f35}.detail-title{font-family:Cormorant Garamond,Georgia,serif;font-size:2.5rem;font-weight:700;color:#2c2417;margin-bottom:.35rem;line-height:1.2}.detail-servings{font-size:.9rem;color:#8b7355;margin-bottom:2rem}.detail-servings-row{display:flex;align-items:center;gap:.6rem;font-size:.9rem;color:#8b7355;margin-bottom:2rem}.servings-label{font-weight:500}.servings-adjuster{display:flex;align-items:center;gap:.4rem}.servings-btn{width:22px;height:22px;border:1px solid #E8DDD0;border-radius:4px;background:#fff;color:#c4784a;font-size:1rem;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0;flex-shrink:0}.servings-btn:hover{background:#f0ebe3}.servings-count{min-width:1.5rem;text-align:center;font-weight:600;color:#2c2417}.servings-size{color:#8b7355;font-size:.85rem}.detail-body{display:flex;flex-direction:column;gap:1.5rem}.detail-section{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 1px 6px #2c24170d}.section-hint{font-size:.78rem;color:#c4a882;margin-top:-.6rem;margin-bottom:1rem}.ing-section-row{grid-column:1 / -1;list-style:none}.ing-section-heading{font-size:.8rem;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:#8b7355;margin:1rem 0 .4rem;padding-bottom:.25rem;border-bottom:1px solid #E8DDD0}.ing-section-heading:first-child{margin-top:0}.ingredient-list{list-style:none;display:grid;grid-template-columns:20px max-content 1fr;column-gap:.75rem;padding-bottom:.25rem}.ingredient-item{display:contents}.ingredient-item>span{padding:.75rem 0;border-bottom:1px solid #F7F3EE;cursor:pointer;-webkit-user-select:none;user-select:none;font-size:.95rem;color:#2c2417;transition:color .15s;align-self:baseline}.ingredient-item:last-child>span{border-bottom:none}.ingredient-item.checked>span{color:#b0a090;text-decoration:line-through}.check-box{width:20px;height:20px;padding:0!important;border:2px solid #E8DDD0;border-radius:4px;display:flex;I justify-content: center;font-size:.75rem;color:#c4784a;transition:border-color .15s,background .15s;align-self:center!important}.ingredient-item.checked .check-box{background:#c4784a;border-color:#c4784a;color:#fff}.ing-amount{white-space:nowrap;text-align:right;font-weight:600;color:#c4784a;font-variant-numeric:tabular-nums;padding-right:.25rem}.ingredient-item.checked .ing-amount{color:#b0a090}.ing-name{min-width:0;line-height:1.4}.step-list{list-style:none;display:flex;flex-direction:column;gap:1.25rem}.step-item{display:flex;gap:1rem;align-items:flex-start}.step-number{width:28px;height:28px;background:#f7f3ee;border:2px solid #E8DDD0;color:#c4784a;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.8rem;font-weight:600;flex-shrink:0;margin-top:.1rem}.step-item p{font-size:.95rem;color:#2c2417;line-height:1.6}.step-text-wrap{display:flex;flex-direction:column;gap:.35rem;flex:1}.note-arrow-btn{background:none;border:none;font-size:.88rem;color:#c4784a;cursor:pointer;padding:0;font-family:inherit;font-weight:600;text-align:left;width:fit-content;opacity:.85;transition:opacity .15s}.note-arrow-btn:hover{opacity:1}.step-note-drop{background:#fdf6f0;border-left:3px solid #E8C9A8;border-radius:0 6px 6px 0;padding:.45rem .75rem;font-size:.87rem;color:#5a4a35;line-height:1.5}.ing-note-row{grid-column:1 / -1;list-style:none;background:#fdf6f0;border-left:3px solid #E8C9A8;border-radius:0 6px 6px 0;padding:.4rem .75rem .4rem 2.5rem;font-size:.87rem;color:#5a4a35;line-height:1.5;margin-bottom:.15rem}.step-edit-content{display:flex;flex-direction:column;gap:.4rem;flex:1}.step-edit-btns{display:flex;flex-direction:column;gap:.3rem;align-items:center}.ing-edit-fields{display:flex;gap:.5rem;flex:1}.ing-edit-btns{display:flex;gap:.25rem;align-items:center}.ing-edit-row{flex-wrap:wrap;align-items:flex-start}.add-note-btn{background:none;border:none;font-size:1rem;color:#c4784a;cursor:pointer;opacity:.75;padding:.15rem .25rem;font-family:inherit;font-weight:600;transition:opacity .15s;line-height:1}.add-note-btn:hover{opacity:1}.inline-note-input{display:flex;align-items:center;background:#fdf6f0;border:1px solid #E8C9A8;border-radius:7px;padding:.35rem .6rem}.inline-note-input input{border:none;background:none;font-size:.85rem;font-family:inherit;color:#2c2417;flex:1;outline:none;width:100%}.detail-notes{font-size:.9rem;color:#5a4a35;line-height:1.6}.confirm-text{font-size:.85rem;color:#b94040}*{box-sizing:border-box;margin:0;padding:0}body{font-family:Inter,-apple-system,BlinkMacSystemFont,sans-serif;background:#f7f3ee;color:#2c2417}
