*{box-sizing:border-box;margin:0;padding:0}:root{--control-height:44px}body{color:#23303e;background:#eef0ef;min-height:100vh;font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif}.gradient-screen{background:#f0f0f0;width:100%;min-height:100vh}body.modal-open{overflow:hidden}body.subrecipe-ui-open .main-nav{display:none!important}.app{max-width:1400px;margin:0 auto;padding:0 2rem 4rem}input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{appearance:textfield}.app-header{background:#2f5661;border-radius:18px;justify-content:space-between;align-items:center;max-width:1200px;margin:0 auto 2rem;padding:1rem 1.5rem;display:flex;box-shadow:0 6px 28px #2f556033}.app-header h1{color:#f2f2f2;margin:0;font-size:2.5rem;font-weight:700;line-height:1}.app-header .app-logo{vertical-align:middle;width:60px;height:auto;margin-top:0;margin-right:.5rem;display:inline-block}.app-brand{align-items:center;gap:.5rem;display:flex}.app-brand h1{margin-top:4px}.app-title{color:#f2f2f2;text-align:center;margin:0 auto .25rem;font-size:2.6rem;font-weight:700}.app-subtitle{color:#e6f3f6;text-align:center;font-size:1.05rem;font-weight:500}.btn-primary{color:#f2f2f2;background:#2f5661}.btn-primary:hover{color:#f2f2f2;background:#2b4f57;transform:translateY(-2px);box-shadow:0 4px 15px #134b8b1a}.btn-secondary{color:#f2f2f2;background:#466571;border:2px solid #8cbcd24d}.btn-secondary:hover{background:#335c67}.btn-hover{color:#fff;background:#466571}.btn-hover:hover{background:#577685}.btn-danger{color:#f2f2f2;background:#e57373}.btn-danger:hover{background:#f44336}.btn-add{color:#f7fbff;white-space:nowrap;background:#466571;border:1px solid #ffffff26;justify-content:center;align-items:center;gap:8px;padding:10px 18px;display:inline-flex;box-shadow:0 14px 32px #1f4c5e73}.btn-add:hover{color:#fff;background:#577685}.btn-new-recipe{color:#f7fbff;background:#2f5661;border:none;border-radius:20px;align-items:center;gap:8px;padding:10px 18px;display:inline-flex;box-shadow:0 8px 24px #2f55602e}.btn-new-recipe:hover{background:#2b4f57;transform:translateY(-2px)}.close-btn{cursor:pointer;color:#3e2723;z-index:10;background:#fff;border:none;border-radius:50%;justify-content:center;align-items:center;width:50px;height:50px;font-size:1.2rem;transition:all .3s;display:flex;position:absolute;top:1rem;right:1rem;box-shadow:0 4px 12px #3e27230d}.close-btn:hover{box-shadow:0 4px 12px #3e272333}.modal-overlay{z-index:1000;background:#000000b3;justify-content:center;align-items:center;padding:2rem;display:flex;position:fixed;inset:0;overflow-y:auto}.recipe-detail-overlay{background:#eef0ef;justify-content:stretch;align-items:stretch;padding:0}.recipe-form-overlay{background:#eef0ef;justify-content:stretch;align-items:stretch;padding:0;overflow:hidden}.modal-content{background:#4a6a76;border-radius:20px;min-width:60%;max-width:800px;max-height:90vh;position:relative;overflow-y:auto}.recipe-detail-overlay .modal-content.recipe-page-detail{background:#eef0ef;border-radius:0;width:100vw;max-width:none;min-height:100vh;max-height:none}.modal-content .btn,.modal-content .btn-add{width:auto}.nav-confirm-overlay{z-index:10020;background:#000000b8;justify-content:center;align-items:center;padding:1.5rem;display:flex;position:fixed;inset:0}.nav-confirm-modal{background:#fff;border-radius:18px;width:min(560px,100%);padding:1.75rem;box-shadow:0 20px 60px #00000047}.nav-confirm-modal h3{color:#2f5661;margin:0 0 .75rem;font-size:1.25rem}.nav-confirm-modal p{color:#5b6770;margin:0 0 1.25rem}.nav-confirm-actions{flex-wrap:wrap;justify-content:flex-end;gap:.75rem;display:flex}.nav-confirm-actions .btn{min-width:160px}.modal-content .form-actions .btn,.modal-content .form-actions .btn-add{align-self:flex-start!important;width:auto!important;max-width:none!important}.modal-content button,.modal-content input[type=button],.modal-content input[type=submit],.modal-content .btn,.modal-content .btn-add{max-width:none!important;display:inline-flex!important}.loading,.empty-state{text-align:center;color:#f2f2f2;padding:4rem}.empty-state h3{color:#f2f2f2;margin-bottom:1rem}.recipe-rating,.recipe-rating-large{color:#f2f2f2;align-items:center;gap:.35rem;font-weight:600;display:inline-flex}.rating-stars{color:#ffc857;letter-spacing:.1rem}.recipe-rating .rating-stars{font-size:1.6rem}.recipe-rating-large .rating-stars{font-size:1.8rem}.rating-value{color:#f2f2f2;font-size:.95rem}.rating-votes{color:#f2f2f2b3;font-size:.85rem}.rating-empty .rating-stars{color:#ffc85766}.rating-placeholder{color:#f2f2f2a6;font-size:.85rem;font-style:italic}.search-filters-container{background:0 0;border-radius:12px;flex-direction:column;align-items:center;gap:1rem;margin-bottom:1.75rem;padding:1rem 0 1.75rem;display:flex}.search-filters-row{flex-wrap:nowrap;justify-content:flex-start;align-items:flex-start;gap:1rem;width:100%;max-width:1200px;display:flex}.search-filters-row .btn-new-recipe{min-width:110px;height:var(--control-height);justify-content:center;align-items:center;padding:0 16px;display:inline-flex}.search-filters-row .create-right{margin-left:8px}.search-filters-container{margin-bottom:.5rem}.search-bar{width:320px;min-width:240px;max-width:none;height:var(--control-height);color:#2f5661;background:#fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24'><path fill='%232f5661' d='M15.5 14h-.79l-.28-.27A6.471 6.471 0 0016 9.5 6.5 6.5 0 109.5 16a6.471 6.471 0 004.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zM10 15a5 5 0 110-10 5 5 0 010 10z'/></svg>") 12px no-repeat;border:2px solid #2f55601f;border-radius:999px;flex:320px;align-items:center;margin-bottom:0;padding:0 1rem 0 38px;font-size:.98rem;display:inline-flex;box-shadow:0 6px 18px #2f556012}.search-bar:focus{border-color:#335c67;outline:none;box-shadow:0 0 0 3px #3f7dcd1a}.filters-row{flex-wrap:nowrap;flex:none;justify-content:center;align-items:center;gap:.75rem;display:flex}@media (width<=900px){.search-filters-row{flex-direction:column;align-items:stretch;overflow-x:visible}.search-bar{flex:auto;width:100%;min-width:0;max-width:100%}.filters-row{flex-wrap:wrap;justify-content:stretch;width:100%}.filter-group{flex:180px;min-width:0}.filter-select{width:100%;min-width:0}.search-filters-row .btn-new-recipe{width:100%}.search-filters-row .create-right{margin-left:0}}@media (width<=560px){.filters-row{grid-template-columns:1fr;display:grid}.filter-group{width:100%}}.filter-group{flex:none;display:inline-flex}.filter-label{display:none}.filter-select{appearance:none;height:var(--control-height);color:#2f5661;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'><path fill='%232f5661' d='M7 10l5 5 5-5z'/></svg>") right 12px center no-repeat;border:1px solid #2f55602e;border-radius:999px;align-items:center;min-width:130px;padding:0 1.5rem;font-size:.95rem;display:inline-flex;box-shadow:0 6px 18px #2f55600a}.filter-select:focus{border-color:#4a6a76;outline:none;box-shadow:0 8px 20px #2f556014}@media (width<=768px){.app{padding:1rem}.app-title{font-size:2rem}.filters-row{grid-template-columns:1fr}.close-btn{width:32px;height:32px;font-size:1.2rem;position:absolute;top:1rem;right:1rem}}@media (width<=480px){.modal-overlay{padding:.5rem}.close-btn{width:28px;height:28px;font-size:1rem;top:.8rem;right:.8rem}}.recipe-grid{grid-template-columns:repeat(4,minmax(0,1fr));align-items:start;gap:1.25rem;margin-top:2rem;display:grid}.recipe-card-wrapper{padding-top:2.2rem}.recipe-card{cursor:pointer;background:#eef0ef;border:2px solid #4d7283;border-radius:18px;flex-direction:column;min-height:334px;transition:transform .22s,box-shadow .22s;display:flex;position:relative;overflow:visible;box-shadow:0 10px 24px #17293814}.recipe-card-edit-btn{z-index:1;color:#fff;cursor:pointer;letter-spacing:.03em;text-transform:uppercase;background:#254b5a;border:0;border-radius:999px;justify-content:center;align-self:center;align-items:center;width:100%;height:2.4rem;margin-top:.45rem;padding:0 .95rem;font-size:.82rem;font-weight:800;line-height:1;display:inline-flex;position:relative;box-shadow:0 8px 18px #1729382e}.recipe-card-edit-btn:hover{background:#1f3e49;transform:translateY(-1px)}.recipe-card-edit-btn:active{transform:translateY(0)}.recipe-card:hover{transform:translateY(-4px);box-shadow:0 18px 40px #1729381f}.recipe-card-image{background:#edf5fb;border:3px solid #254b5a;border-radius:50%;justify-content:center;align-items:center;width:112px;height:112px;display:flex;position:absolute;top:-36px;left:50%;overflow:hidden;transform:translate(-50%);box-shadow:0 8px 20px #254b5a33}.recipe-card-image img{object-fit:cover;width:100%;height:100%}.recipe-card-content{text-align:center;flex-direction:column;flex:1;align-items:center;gap:.45rem;padding:4.9rem .95rem 1rem;display:flex}.recipe-card-title{color:#2f5661;margin:0;font-size:1.15rem;font-weight:700;line-height:1.15}.recipe-card-description{color:#4f7281;min-height:2.1rem;max-height:2.1rem;margin:0;font-size:.82rem;font-weight:600;line-height:1.3;overflow:hidden}.recipe-card-subtitle{opacity:.95}.recipe-card-badges{justify-content:space-between;align-items:center;gap:.75rem;width:100%;margin-top:.35rem;display:flex}.recipe-tag{height:var(--control-height);color:#325562;background:#fff;border:1px solid #2f566142;border-radius:999px;justify-content:center;align-items:center;padding:0 12px;font-size:.82rem;font-weight:600;display:inline-flex}.recipe-tag--ghost{background:#f8fbfd}.recipe-time,.recipe-servings{min-width:62px;height:var(--control-height);color:#325562;background:#f8fbfd;border:1px solid #2f566142;border-radius:999px;justify-content:center;align-items:center;padding:0 12px;font-size:.8rem;font-weight:600;display:inline-flex}.recipe-rating{justify-content:center;margin-top:auto;padding-top:.5rem;display:flex}.rating-stars{color:#f2b41d;letter-spacing:.18rem;filter:drop-shadow(0 1px #00000014);font-size:1.45rem}.recipe-rating .rating-placeholder,.recipe-rating .rating-votes{display:none}@media (width<=1300px){.recipe-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=980px){.recipe-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.recipe-card-wrapper{padding-top:1.9rem}.recipe-card{min-height:318px}.recipe-card-image{width:96px;height:96px;top:-30px}.recipe-card-content{padding-top:4.2rem}}@media (width<=640px){.recipe-grid{grid-template-columns:1fr;gap:.9rem}.recipe-card-wrapper{padding-top:1.6rem}.recipe-card{border-radius:16px;min-height:300px}.recipe-card-image{width:88px;height:88px;top:-28px}.recipe-card-content{padding-inline:.9rem}.recipe-card-title{font-size:1rem}.recipe-card-description{font-size:.78rem}}.modal-content.recipe-page-detail{box-shadow:none;background:#eef0ef;border-radius:0;width:100vw;max-width:none;min-height:100vh;max-height:none;padding:0;overflow-y:auto}.recipe-page-detail{transform-origin:top;width:75.188%;max-width:30.0752vw;min-height:100vh;box-shadow:none;background:0 0;border-radius:0;margin:0 auto;overflow:visible;transform:scale(1.33)}@media (width<=900px){.recipe-page-detail{width:100%;transform:none}}.recipe-detail-header{text-align:center;flex-direction:column;align-items:center;gap:1.1rem;padding:2.1rem 1rem .6rem;display:flex;position:relative}.recipe-detail-header-actions{z-index:12;align-items:center;gap:.5rem;display:flex;position:absolute;top:.8rem;right:3.6rem}.recipe-detail-header-actions .recipe-tool-btn{color:#2f5661;cursor:pointer;background:0 0;border:1px solid #2f566114;border-radius:8px;justify-content:center;align-items:center;min-width:36px;height:32px;padding:6px 8px;font-weight:700;display:inline-flex}.recipe-detail-header-actions .recipe-tool-btn:hover{background:#2f56610f}.recipe-qr-icon{color:#2f5661;cursor:pointer;z-index:12;background:0 0;border:1px solid #2f566114;border-radius:8px;justify-content:center;align-items:center;min-width:36px;height:32px;padding:6px 8px;font-weight:700;display:inline-flex;position:absolute;top:.9rem;left:1rem}.recipe-qr-icon:hover{background:#2f56610f}.recipe-qr-popover{z-index:1200;background:#fff;border:1px solid #2f56611f;border-radius:10px;flex-direction:column;align-items:center;gap:.5rem;width:220px;padding:.75rem;display:flex;position:absolute;top:3.2rem;left:1rem;box-shadow:0 8px 30px #17293814}.recipe-detail-image{background:#fff;border:8px solid #2f5661;border-radius:40px;width:280px;height:280px;margin:0 auto;overflow:hidden;box-shadow:0 4px 16px #254b5a1f}.recipe-detail-image img{object-fit:cover;width:100%;height:100%}.placeholder-image{color:#f2f2f2;background:linear-gradient(135deg,#335c67,#4f6d7a);justify-content:center;align-items:center;width:100%;height:100%;font-size:4rem;display:flex}.recipe-detail-title-section{text-align:center;width:min(1100px,100% - 2rem);margin:0 auto;position:relative}.recipe-detail-title{color:#2f5661;margin:0;font-size:3.6rem;font-weight:700}.recipe-detail-description{color:#4f7281;margin:.35rem 0 .7rem;font-size:1.9rem;line-height:1.45}.recipe-detail-badges{flex-wrap:wrap;justify-content:center;gap:.5rem;margin-bottom:.5rem;display:flex}.badge-category,.badge-type{background:#fff}.recipe-rating-large{font-size:1.1rem}.recipe-detail-actions{border-bottom:none;flex-wrap:wrap;justify-content:center;gap:.65rem;padding:.65rem 0 .35rem;display:flex}.detail-action-btn{border-radius:999px;min-width:124px;height:2.7rem;padding-inline:1.1rem;box-shadow:0 4px 14px #254b5a1f}.detail-action-btn:disabled{opacity:.7;cursor:not-allowed}.edit-fab{color:#6f8e99;width:1.7rem;height:1.7rem;box-shadow:none;cursor:pointer;background:0 0;border:none;border-radius:50%;font-size:1rem;position:absolute;top:.5rem;right:.5rem}.edit-fab:hover{color:#2f5661;transform:translateY(-1px)}.share-link-section{background:#fff;border:1px solid #2f566129;border-radius:18px;width:min(1100px,100% - 2rem);margin:1.4rem auto 1.8rem;padding:1.8rem}.share-link-section h3{color:#2f5661;margin-bottom:0;font-size:1.4rem}.share-link-topline{justify-content:space-between;align-items:stretch;gap:1rem;margin-bottom:.75rem;display:flex}.share-link-input{color:#335c67;background:#fff;border:2px solid #8cb6d259;border-radius:12px;flex-grow:1;padding:1.45rem 1.05rem;font-family:monospace;font-size:2.2rem}.share-link-input:focus{border-color:#4a6a76;outline:none}.share-link-info{color:#f2f2f2;margin:0;font-size:.9rem;font-style:italic;line-height:1.4}.share-link-grid{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.9rem;display:grid}.share-qr-card{color:#2f5661;background:#fff;border:1px solid #2f566129;border-radius:18px;flex-direction:column;justify-content:center;align-items:center;gap:.6rem;width:300px;padding:1.2rem;text-decoration:none;display:flex}.share-qr-card img{width:260px;height:260px;display:block}.share-qr-card span{text-align:center;font-size:.82rem;font-weight:600}.recipe-detail-times{border-bottom:none;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1.6rem;width:min(1100px,100% - 2rem);margin:0 auto;padding:1.5rem 0 1.8rem;display:grid}.time-info{text-align:center;background:#fff;border:1px solid #2f566129;border-radius:14px;padding:1.6rem;box-shadow:0 4px 14px #13558b14}.time-label{color:#2f5661;margin-bottom:.5rem;font-size:1.25rem;display:block}.time-total{font-weight:700;background:#eef0ef!important}.servings-calculator{text-align:center;border-bottom:none;width:min(1100px,100% - 2rem);margin:0 auto;padding:.9rem 0 1.2rem}.servings-calculator h3{color:#2f5661;margin-bottom:.5rem;font-size:1.4rem}.servings-input{text-align:center;color:#335c67;background:#fff;border:2px solid #2f56612e;border-radius:14px;width:90px;padding:.6rem .9rem;font-size:1.4rem;font-weight:800}.servings-input:focus{border-color:#3f88cd;outline:none;box-shadow:0 0 0 3px #3f7dcd1a}.servings-unit{color:#2f5661;text-align:left;min-width:100px;font-size:1rem;font-weight:500}.servings-display{color:#2f5661;min-width:120px;font-size:1.2rem;font-weight:600}.proportions-info{color:#2f5661;font-style:italic;font-weight:500}.recipe-detail-section{border-bottom:none;width:min(1100px,100% - 2rem);margin:0 auto 1.8rem;padding:0}.recipe-detail-section:last-child{border-bottom:none}.recipe-detail-section h3{color:#2f5661;text-align:center;margin-bottom:.75rem;font-size:1.4rem;font-weight:700}.ingredients-list{gap:1.15rem;list-style:none;display:grid}.ingredient-item{background:#fff;border:1px solid #2f566129;border-radius:18px;align-items:center;gap:1.2rem;padding:1.4rem 1.3rem;display:flex}.ingredient-quantity{color:#2f5661;min-width:200px;font-weight:800}.ingredient-name{color:#2f5661;flex-grow:1}.original-quantity{color:#2f5661;font-size:.8rem;font-style:italic}.steps-list{gap:2.6rem;margin-bottom:3.2rem;list-style:none;display:grid}.step-item{align-items:flex-start;gap:1.8rem;display:flex}.step-number{color:#f2f2f2;background:#2f5661;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:110px;height:110px;font-weight:800;display:flex}.step-text{color:#2f5661;word-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;background:#fff;border-radius:18px;flex-grow:1;align-items:flex-start;min-height:360px;max-height:620px;padding:2.4rem 2.6rem;line-height:1.95;display:flex;overflow-y:auto}.tags-list{flex-wrap:wrap;gap:.5rem;display:flex}.recipe-notes{color:#335c67;background:#fff;border:1px solid #8cc2d24d;border-radius:14px;padding:1rem;line-height:1.6}@media (width<=768px){.recipe-page-detail{width:100%;max-width:none}.recipe-detail-header{gap:.85rem;padding:1.4rem .75rem .5rem}.recipe-detail-title-section{width:calc(100% - 1rem)}.recipe-detail-title{font-size:2rem}.recipe-detail-description{font-size:1rem}.recipe-detail-image{border-width:5px;border-radius:28px;width:150px;height:150px}.recipe-detail-times{grid-template-columns:1fr;gap:.6rem;width:calc(100% - 1rem);padding:.75rem 0}.time-info{padding:.7rem .5rem}.time-label{margin-bottom:.2rem;font-size:.82rem}.time-value{font-size:1.1rem}.time-total{grid-column:auto}.recipe-detail-actions{flex-direction:column;width:calc(100% - 1rem);margin:0 auto}.detail-action-btn{width:100%;min-width:0}.recipe-detail-section{width:calc(100% - 1rem)}.ingredients-list{gap:.75rem}.ingredient-item{border-radius:14px;flex-direction:column;align-items:flex-start;gap:.35rem;padding:.9rem .85rem}.ingredient-quantity{min-width:0;font-size:.86rem}.ingredient-name{font-size:.9rem}.share-link-grid{grid-template-columns:1fr}.share-qr-card{width:100%}}@media (width<=480px){.recipe-page-detail{width:100%}.recipe-detail-header{padding-top:1.1rem}.recipe-detail-title{font-size:1.55rem}.recipe-detail-description{font-size:.92rem}.recipe-detail-image{border-width:4px;border-radius:22px;width:120px;height:120px}.recipe-detail-times{gap:.5rem;padding:.75rem 0}.time-info{border-radius:8px;padding:.5rem .35rem}.time-label{font-size:.65rem}.time-value{font-size:.9rem}.recipe-detail-section h3{margin-bottom:.6rem;font-size:.95rem}.step-item{gap:.75rem}.step-number{width:78px;height:78px;font-size:.9rem}.step-text{border-radius:14px;width:100%;min-height:100px;max-height:800px;padding:.9rem 1rem;font-size:.9rem;line-height:1.55}}.modal-content.recipe-form{box-shadow:none;box-sizing:border-box;-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain;background:#eef0ef;border:none;border-radius:0;flex-direction:column;width:100%;min-width:0;max-width:100%;height:100vh;min-height:100vh;max-height:100vh;padding:0;display:flex;overflow:hidden auto}.recipe-form{width:100%;min-width:0;max-width:none;max-height:100%}.recipe-edit-page{flex-direction:column;align-items:center;width:100%;min-width:0;height:100%;min-height:0;display:flex}.recipe-edit-form{justify-content:center;width:100%;min-width:0;max-width:none;height:100%;min-height:0;display:flex;overflow:hidden visible}.recipe-edit-content{box-sizing:border-box;flex-direction:column;align-items:center;gap:0;width:min(560px,100% - 2rem);min-width:0;max-width:560px;min-height:100%;margin:0 auto;padding:0 0 2rem;display:flex;overflow:hidden visible}.recipe-edit-content,.recipe-form-content,.recipe-edit-times,.recipe-edit-servings,.recipe-edit-section,.recipe-edit-actions,.form-grid,.form-row,.form-section,.recipe-preview{min-width:0}.recipe-edit-content *,.recipe-form-content *{box-sizing:border-box;min-width:0}.recipe-edit-header{box-sizing:border-box;width:100%;padding-bottom:.5rem}.recipe-edit-image{margin-top:.35rem}.recipe-edit-image-actions{flex-wrap:wrap;justify-content:center;gap:.55rem;margin-top:.8rem;display:flex}.recipe-edit-image-input{display:none}.recipe-edit-title-section{box-sizing:border-box;width:100%;margin-top:.25rem}.recipe-edit-title-input{color:#2f5661;text-align:center;background:#fff;border:1px solid #2f566124;border-radius:18px;width:100%;margin:0;padding:.78rem .95rem;font-size:1.7rem;font-weight:700;line-height:1.15;box-shadow:0 10px 22px #1f4c5e0f}.recipe-edit-title-input:focus{border-color:#4f6d7a6b;outline:none;box-shadow:0 0 0 4px #4f6d7a1a}.recipe-edit-description-input{color:#4f7281;text-align:center;resize:vertical;background:#fff;border:1px solid #2f566124;border-radius:16px;width:100%;min-height:62px;margin:.35rem 0 .6rem;padding:.78rem .95rem;font-size:.98rem;line-height:1.5;box-shadow:0 8px 18px #1f4c5e0d}.recipe-edit-description-input:focus{border-color:#4f6d7a6b;outline:none;box-shadow:0 0 0 4px #4f6d7a1a}.recipe-edit-edit-hint{color:#5f7e89;letter-spacing:.01em;background:#ffffffe6;border:1px dashed #4f6d7a47;border-radius:999px;align-self:center;align-items:center;gap:.35rem;margin-top:-.1rem;margin-bottom:.55rem;padding:.38rem .72rem;font-size:.78rem;font-weight:700;transition:opacity .18s,transform .18s;display:inline-flex;box-shadow:0 6px 14px #1f4c5e0d}.recipe-edit-title-section:focus-within .recipe-edit-edit-hint{opacity:0;pointer-events:none;transform:translateY(-4px)}.recipe-edit-meta-grid{box-sizing:border-box;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;width:100%;margin-top:.5rem;display:grid}.recipe-edit-meta-field{text-align:left;flex-direction:column;gap:.35rem;display:flex}.recipe-edit-meta-field span{color:#2f5661;text-transform:uppercase;letter-spacing:.04em;font-size:.78rem;font-weight:700}.recipe-edit-meta-input{background:#fff;border-radius:14px;margin-bottom:0;box-shadow:0 8px 18px #1f4c5e0d}.recipe-edit-times{grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:.6rem;width:min(560px,100%);display:grid}.recipe-edit-time-input{text-align:center;color:#2f5661;background:#fff;border:1px solid #2f566124;border-radius:14px;width:100%;margin:0;padding:.8rem .5rem;font-size:1.45rem;font-weight:700;box-shadow:0 8px 18px #1f4c5e0d}.recipe-edit-time-input:focus{border-color:#4f6d7a6b;outline:none;box-shadow:0 0 0 4px #4f6d7a1a}.recipe-edit-servings{width:min(560px,100%);margin-top:.25rem}.recipe-edit-servings-controls{margin-bottom:.25rem}.recipe-edit-servings-input{margin-bottom:0}.recipe-edit-servings-unit-input{text-align:center;color:#2f5661;background:#fff;border:1px solid #2f56612e;border-radius:10px;width:100%;max-width:320px;margin:0 auto;padding:.65rem .8rem;display:block;box-shadow:0 8px 18px #1f4c5e0d}.recipe-edit-servings-unit-input:focus{border-color:#4f6d7a6b;outline:none;box-shadow:0 0 0 4px #4f6d7a1a}.recipe-edit-section{width:min(560px,100%)}.recipe-edit-ingredients-list{gap:.75rem}.recipe-edit-section .ingredient-item.recipe-edit-ingredient-item{text-align:left;background:#fff;border:1px solid #2f566129;border-radius:16px;grid-template-columns:2fr 1fr .9fr auto;align-items:center;gap:.65rem;min-height:0;padding:.85rem .9rem;display:grid;position:static}@media (width<=1100px){.recipe-edit-content{width:min(100%,100% - 2rem);max-width:none}}@media (width<=760px){.recipe-edit-content{width:min(100%,100% - 1rem)}}@media (width<=900px){.recipe-edit-meta-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.recipe-edit-section .ingredient-item.recipe-edit-ingredient-item{grid-template-columns:1fr 100px 80px auto}}.ingredient-item.recipe-edit-ingredient-item .recipe-edit-ingredient-input{background:#fbfcfc;border-radius:12px;width:100%;margin-bottom:0;box-shadow:inset 0 1px #fffc}.recipe-edit-section .ingredient-item.recipe-edit-ingredient-item .btn-small{flex:none;justify-self:center}.recipe-edit-steps-list{gap:1rem}.recipe-edit-step-item{align-items:flex-start;gap:1rem;display:flex}.recipe-edit-step-box{flex-direction:column;width:100%;min-height:180px;display:flex}.recipe-edit-step-input{resize:vertical;background:#fff;border:1px solid #2f566124;border-radius:16px;width:100%;min-height:120px;margin:0;padding:.95rem 1rem;box-shadow:0 8px 18px #1f4c5e0d}.recipe-edit-step-input:focus{border-color:#4f6d7a6b;outline:none;box-shadow:0 0 0 4px #4f6d7a1a}.recipe-edit-upload-state{color:#6f8e99;align-items:center;font-size:.85rem;font-weight:600;display:inline-flex}.recipe-edit-section .form-group:last-child{margin-bottom:0}.recipe-edit-section .form-input,.recipe-edit-section .form-select,.recipe-edit-section .form-textarea{margin-bottom:.65rem}.recipe-edit-section .form-subrecipe{margin-top:1rem}.recipe-edit-actions{width:min(560px,100% - 2rem);margin:1.4rem auto 0;padding-top:1rem}.form-header{width:min(1200px,100% - 3rem);box-shadow:none;background:0 0;border-bottom:none;flex-shrink:0;justify-content:space-between;align-items:center;margin:1rem auto 0;padding:.25rem 0 .75rem;display:flex}.form-header h2{color:#2f5661;font-size:1.6rem;font-weight:600}.recipe-form-content{color:#2f5661;background:0 0;flex:1;width:min(1200px,100% - 3rem);margin:0 auto;padding:0 0 2rem;overflow-y:visible}.form-grid{grid-template-columns:minmax(260px,420px) 1fr;align-items:start;gap:1.25rem;display:grid}.recipe-preview{background:#fff;border:1px solid #2f566129;border-radius:14px;flex-direction:column;gap:.85rem;padding:1rem;display:flex;box-shadow:0 8px 22px #1f4c5e0f}.preview-image{border:3px solid var(--primary,#2f5661);background:#fff;border-radius:12px;width:100%;height:160px;overflow:hidden}.preview-image img{object-fit:cover;width:100%;height:100%;display:block}.recipe-preview .recipe-title{margin:0;font-size:1.1rem;font-weight:700}.recipe-preview .recipe-description{color:#4f7281;margin:0;font-size:.9rem}.recipe-preview .badge{margin-right:.4rem}.form-section{color:#2f5661;background:#fff;border:1px solid #2f566129;border-radius:22px;margin-bottom:1.75rem;padding:1.25rem;box-shadow:0 4px 14px #13558b14}.form-section:last-of-type{margin-bottom:0}.form-section h3{color:#2f5661;text-align:center;margin-bottom:1rem;font-size:1rem;font-weight:700}.form-group{flex-direction:column;display:flex}.form-group label{color:#2f5661;margin-bottom:.35rem;font-weight:600}.form-input,.form-select,.form-textarea{color:#2f5661;background:#fff;border:1px solid #2f56612e;border-radius:14px;margin-bottom:.9rem;padding:.75rem .9rem;font-size:.95rem;transition:border-color .3s,box-shadow .3s;box-shadow:0 4px 14px #13558b14}.form-input:focus,.form-select:focus,.form-textarea:focus{border-color:#4f6d7ae6;outline:none;box-shadow:0 0 0 3px #4f6d7a26}.form-textarea{resize:vertical;min-height:80px;font-family:inherit;line-height:1.5}.base-calculation-block{background:#fff;border:1px solid #2f566129;border-radius:18px;margin:1rem 0 1.25rem;padding:1rem;box-shadow:0 4px 14px #13558b14}.base-calculation-block label{color:#2f5661;align-items:center;gap:.5rem;margin-bottom:.8rem;font-size:.95rem;font-weight:700;display:flex}.base-input-group{background:#fff;border:1px solid #3f88c54d;border-radius:12px;align-items:center;gap:1rem;margin-bottom:.5rem;padding:.8rem;display:flex;box-shadow:0 4px 14px #13558b14}.base-input-group .base-value{text-align:center;flex:0 0 120px;font-weight:600}.base-input-group .base-unit{flex:1}.form-hint{color:#2f5661;background:#fff;border:1px solid #2f566129;border-radius:10px;margin-top:.5rem;padding:.65rem .85rem;font-size:.9rem;font-style:italic;display:block}.ingredient-row{align-items:flex-start;gap:1rem;margin-bottom:1rem;display:flex}.ingredient-row .form-input{flex:1}.ingredient-row .form-input:first-child{flex:2}.ingredient-row .form-input:nth-child(2),.ingredient-row .form-input:nth-child(3){flex:1}.step-row{align-items:flex-start;gap:1rem;width:100%;margin-bottom:1rem;display:flex}.step-row .step-number{color:#f2f2f2;background:#335c67;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:35px;height:35px;margin-top:.75rem;font-weight:600;display:flex}.step-row .form-textarea{resize:vertical;box-sizing:border-box;flex-grow:1;width:100%;min-height:80px}.step-input-container{flex-grow:1;width:100%;position:relative}.step-input-container .form-textarea{resize:vertical;box-sizing:border-box;width:100%;min-height:80px}.character-counter{color:#666;text-align:right;margin-top:.25rem;font-size:.75rem}.counter-warning{font-weight:600;color:#ff6b35!important}.form-actions{border-top:none;justify-content:center;gap:1rem;padding-top:.5rem;display:flex}.form-subrecipe{background:#fff;border:1px dashed #2f566147;border-radius:18px;margin-top:1.5rem;padding:1rem;box-shadow:0 4px 14px #13558b14}.section-header{justify-content:space-between;align-items:center;margin-bottom:1rem;display:flex}.section-header h3{color:#2f5661;margin:0;font-size:.95rem;font-weight:700}.visibility-compact{align-items:center;gap:.75rem;display:flex}.visibility-compact-label{color:#2f5661;margin:0;font-size:.9rem}.visibility-compact-options{gap:.5rem;display:flex}.visibility-compact-btn{color:#2f5661;cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #2f56612e;border-radius:8px;justify-content:center;align-items:center;min-width:80px;height:32px;padding:0 8px;font-size:11px;font-weight:500;transition:all .2s;display:flex}.visibility-compact-btn:hover{background:#eef6fb;border-color:#2f566152;transform:translateY(-1px)}.visibility-compact-btn.active{color:#fff;background:#254b5a;border-color:#254b5a;box-shadow:0 4px 14px #254b5a29}@media (width<=768px){.modal-content.recipe-form{border-radius:0;width:100%;min-width:0;max-width:100%;height:100vh;max-height:100vh;overflow-y:auto}.recipe-form{max-width:100%;max-height:none;margin:0}.form-header{text-align:left;flex-direction:row;gap:1rem;width:min(100%,100% - 1rem);padding:.25rem 0 .6rem}.form-header h2{margin:0;font-size:1.4rem}.recipe-edit-header{padding-bottom:.35rem}.recipe-edit-image-actions{gap:.45rem}.recipe-edit-title-section{margin-top:.15rem}.recipe-edit-title-input{font-size:1.55rem}.recipe-edit-description-input{font-size:1rem}.recipe-edit-meta-grid{grid-template-columns:1fr;gap:.55rem}.recipe-edit-section,.recipe-edit-times,.recipe-edit-servings,.recipe-edit-actions{width:min(100%,100% - 1rem)}.recipe-edit-step-item{gap:.75rem}.recipe-edit-ingredient-item{grid-template-columns:1fr;padding:.75rem .8rem}.recipe-edit-section .ingredient-item.recipe-edit-ingredient-item{grid-template-columns:1fr;align-items:stretch;gap:.45rem}.recipe-edit-section .ingredient-item.recipe-edit-ingredient-item .recipe-edit-ingredient-input{width:100%}.recipe-edit-section .ingredient-item.recipe-edit-ingredient-item .btn-small{justify-self:start}.recipe-form-content{width:min(100%,100% - 1rem)}.form-section{margin-bottom:1.1rem;padding:.95rem}.form-section h3{margin-bottom:.75rem;font-size:.92rem}.form-row{grid-template-columns:1fr;gap:.8rem;margin-bottom:.8rem}.ingredient-row,.step-row{flex-direction:column;gap:.5rem}.ingredient-row .form-input{flex:none;width:100%}.step-row .step-number{align-self:flex-start;width:30px;height:30px;margin-top:0;font-size:.9rem}.step-row .form-textarea{width:100%;min-height:60px}.base-calculation-block{margin:1rem 0;padding:1rem}.base-input-group{flex-direction:column;align-items:stretch;gap:.5rem}.base-input-group .base-value,.base-input-group .base-unit{flex:none;width:100%}.form-actions{flex-direction:column;gap:.8rem;padding:.5rem 0 0}.form-actions button{width:100%;padding:.8rem;font-size:1rem}.form-actions .btn-add{width:auto;padding:.8rem 1rem;display:inline-flex}.form-input,.form-select,.form-textarea{appearance:none;border-radius:8px;font-size:16px}.image-upload-container{text-align:center}.image-upload-container .btn-add{cursor:pointer;color:#fff!important}.upload-label{padding:1rem;font-size:.9rem;display:block}.image-preview img{max-width:100%;max-height:120px}.section-header{flex-direction:column;align-items:flex-start;gap:1rem}.visibility-compact{justify-content:space-between;align-self:flex-end;width:100%}.visibility-compact-options{flex-wrap:wrap;justify-content:flex-end}.visibility-compact-btn{min-width:70px;height:28px;padding:0 6px;font-size:10px}}@media (width<=480px){.recipe-form{max-height:none}.form-header{padding:.25rem 0 .5rem}.form-header h2{font-size:1.2rem}.recipe-form-content{padding:0 0 1.5rem}.form-section{margin-bottom:1rem;padding-bottom:.95rem}.recipe-edit-title-input{padding:.7rem .85rem;font-size:1.25rem}.recipe-edit-description-input{padding:.7rem .85rem;font-size:.95rem}.recipe-edit-time-input{padding:.7rem .45rem;font-size:1.15rem}.recipe-edit-servings-unit-input{max-width:none}.form-input,.form-select,.form-textarea{padding:.6rem;font-size:16px}.ingredient-row,.step-row{gap:.4rem}.step-row .step-number{width:28px;height:28px;font-size:.8rem}.base-calculation-block{padding:.8rem}.form-actions{margin:0;padding:.5rem 0 0}.form-actions button{padding:.7rem;font-size:.95rem}}.image-upload-container{margin-top:8px}.image-upload-container input[type=file]{display:none}.upload-label{color:#e4e5e7;cursor:pointer;background:#304c58;border-radius:8px;width:20%;padding:10px 16px;font-size:14px;font-weight:500;transition:background-color .2s;display:inline-block}.image-preview{align-items:center;gap:12px;margin-top:12px;display:flex}.remove-image-btn{color:#f2f2f2!important;cursor:pointer!important;background:#f44!important;border:none!important;border-radius:4px!important;padding:6px 12px!important;font-size:12px!important;transition:background-color .2s!important}.remove-image-btn:hover{background:#c00!important}.note-image-uploader{margin-bottom:1rem}.uploader-header{margin-bottom:.8rem}.uploader-header h4{color:#335c67;margin:0;font-size:1rem}.upload-zone{text-align:center;cursor:pointer;background:#f2f2f2;border:2px dashed #165665dc;border-radius:8px;justify-content:center;align-items:center;min-height:120px;padding:2rem;transition:all .3s;display:flex}.upload-zone:hover{background:#f2feff;border-color:#335c67}.upload-zone.dragging{background:#e8f7f9;border-color:#335c67;transform:scale(1.02)}.upload-zone.disabled{opacity:.6;cursor:not-allowed}.upload-content{width:100%}.upload-icon{color:#335c67;margin-bottom:.5rem;font-size:2rem}.upload-zone p{color:#335c67;margin:.5rem 0}.upload-hint{font-size:.9rem;color:#666!important}.upload-status{flex-direction:column;align-items:center;gap:.5rem;display:flex}.upload-spinner{border:3px solid #f3f3f3;border-top-color:#335c67;border-radius:50%;width:24px;height:24px;animation:1s linear infinite spin}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.upload-limit-reached,.uploader-info{text-align:center;color:#335c67;background:#e8f4fd;border:1px solid #8ccad2;border-radius:8px;padding:1rem}.uploader-info p{margin:0;font-size:.9rem}.note-image-thumbnails{margin:1rem 0}.thumbnails-grid{grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:.8rem;margin-top:.8rem;display:grid}.thumbnail-item{aspect-ratio:1;cursor:pointer;background:#f8f8f8;border:2px solid #0000;border-radius:8px;transition:all .3s;animation:.3s thumbnailAppear;position:relative;overflow:hidden}.thumbnail-item:hover{border-color:#8ccad2;transform:scale(1.05)}.thumbnail-image{object-fit:cover;width:100%;height:100%;transition:opacity .3s}.thumbnail-item:hover .thumbnail-image{opacity:.8}.thumbnail-overlay{opacity:0;background:#335c67cc;justify-content:center;align-items:center;transition:opacity .3s;display:flex;position:absolute;inset:0}.thumbnail-item:hover .thumbnail-overlay{opacity:1}.thumbnail-zoom-icon{color:#fff;font-size:1.5rem}.thumbnail-delete-btn{color:#fff;cursor:pointer;opacity:0;z-index:2;background:#ff4444e6;border:none;border-radius:50%;justify-content:center;align-items:center;width:24px;height:24px;font-size:12px;transition:opacity .3s;display:flex;position:absolute;top:4px;right:4px}.thumbnail-item:hover .thumbnail-delete-btn{opacity:1}.thumbnail-delete-btn:hover{background:#f44;transform:scale(1.1)}.mini-delete-confirm{z-index:10000;background:#00000080;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.mini-delete-modal{text-align:center;background:#fff;border-radius:8px;max-width:300px;padding:1.5rem;box-shadow:0 4px 20px #0000004d}.mini-delete-modal p{color:#335c67;margin:0 0 1rem}.mini-delete-actions{justify-content:center;gap:.5rem;display:flex}.notes-images-section{margin-bottom:1rem}@keyframes thumbnailAppear{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@media (width<=768px){.upload-zone{min-height:100px;padding:1.5rem 1rem}.thumbnails-grid{grid-template-columns:repeat(auto-fill,minmax(80px,1fr));gap:.5rem}}@media (width<=480px){.thumbnails-grid{grid-template-columns:repeat(auto-fill,minmax(60px,1fr))}}.image-gallery-overlay{z-index:10000;background:#000000f2;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.image-gallery{outline:none;flex-direction:column;width:100%;height:100%;display:flex}.gallery-header{color:#fff;background:#335c67e6;justify-content:space-between;align-items:center;padding:1rem;display:flex}.gallery-info{align-items:center;gap:1rem;display:flex}.image-counter{background:#fff3;border-radius:20px;padding:.3rem .8rem;font-size:.9rem;font-weight:700}.image-name{opacity:.8;text-overflow:ellipsis;white-space:nowrap;max-width:200px;font-size:.9rem;overflow:hidden}.gallery-actions{gap:.5rem;display:flex}.gallery-btn{color:#fff;cursor:pointer;background:#fff3;border:none;border-radius:50%;justify-content:center;align-items:center;width:40px;height:40px;font-size:1rem;transition:all .3s;display:flex}.gallery-btn:hover{background:#ffffff4d;transform:scale(1.1)}.delete-btn:hover{background:#f44c}.gallery-main{flex:1;justify-content:center;align-items:center;padding:1rem;display:flex;position:relative}.gallery-nav{color:#fff;cursor:pointer;z-index:1;background:#fff3;border:none;border-radius:50%;width:50px;height:50px;font-size:1.5rem;transition:all .3s;position:absolute;top:50%;transform:translateY(-50%)}.gallery-nav:hover{background:#ffffff4d;transform:translateY(-50%)scale(1.1)}.prev-btn{left:2rem}.next-btn{right:2rem}.gallery-image-container{justify-content:center;align-items:center;max-width:90%;max-height:90%;display:flex}.gallery-image{object-fit:contain;border-radius:8px;max-width:100%;max-height:100%;box-shadow:0 4px 20px #00000080}.gallery-thumbnails{background:#335c67e6;max-height:120px;padding:1rem;overflow-y:auto}.thumbnails-container{flex-wrap:wrap;justify-content:center;gap:.5rem;display:flex}.gallery-thumbnails .thumbnail{cursor:pointer;background:0 0;border:2px solid #0000;border-radius:4px;width:60px;height:60px;padding:0;transition:all .3s;overflow:hidden}.gallery-thumbnails .thumbnail:hover{border-color:#ffffff80}.gallery-thumbnails .thumbnail.active{border-color:#fff}.gallery-thumbnails .thumbnail img{object-fit:cover;width:100%;height:100%}.swipe-indicator{color:#fff;opacity:.7;pointer-events:none;background:#000000b3;border-radius:20px;padding:.5rem 1rem;font-size:.8rem;position:absolute;bottom:2rem;left:50%;transform:translate(-50%)}.delete-confirm-overlay{z-index:10001;background:#000c;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.delete-confirm-modal{text-align:center;background:#fff;border-radius:8px;max-width:400px;padding:2rem;box-shadow:0 4px 20px #0000004d}.delete-confirm-modal h3{color:#335c67;margin:0 0 1rem}.delete-confirm-modal p{color:#666;margin:0 0 1.5rem}.delete-confirm-actions{justify-content:center;gap:1rem;display:flex}@media (width<=768px){.gallery-header{padding:.8rem}.image-name{display:none}.gallery-nav{width:40px;height:40px;font-size:1.2rem}.prev-btn{left:1rem}.next-btn{right:1rem}.gallery-thumbnails{max-height:100px;padding:.8rem}.gallery-thumbnails .thumbnail{width:50px;height:50px}.swipe-indicator{display:block}.delete-confirm-modal{margin:1rem;padding:1.5rem}}@media (width<=480px){.gallery-main{padding:.5rem}.gallery-nav{width:35px;height:35px;font-size:1rem}.prev-btn{left:.5rem}.next-btn{right:.5rem}}.notifications-container{z-index:9999;flex-direction:column;gap:10px;max-width:400px;display:flex;position:fixed;bottom:20px;right:20px}.notification{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);cursor:pointer;border-radius:12px;justify-content:space-between;align-items:center;min-height:60px;padding:16px;transition:all .3s;animation:.3s ease-out slideInRight;display:flex;box-shadow:0 4px 20px #00000026}.notification:hover{transform:translate(-5px);box-shadow:0 6px 25px #0003}.notification-success{color:#f2f2f2;background:linear-gradient(135deg,#4caf50,#45a049);border-left:4px solid #2e7d32}.notification-error{color:#f2f2f2;background:linear-gradient(135deg,#f44336,#d32f2f);border-left:4px solid #c62828}.notification-content{flex:1;align-items:center;gap:12px;display:flex}.notification-icon{flex-shrink:0;font-size:20px}.notification-message{font-size:14px;font-weight:500;line-height:1.4}.notification-close{color:#fffc;cursor:pointer;background:0 0;border:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;padding:4px;font-size:20px;font-weight:700;transition:all .2s;display:flex}.notification-close:hover{color:#f2f2f2;background:#fff3}@keyframes slideInRight{0%{opacity:0;transform:translate(100%)}to{opacity:1;transform:translate(0)}}@media (width<=768px){.notifications-container{max-width:none;left:20px;right:20px}.notification{padding:12px}.notification-message{font-size:13px}}.image-cropper-overlay{z-index:1000;box-sizing:border-box;background-color:#000c;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.image-cropper-container{background:#fff;border-radius:12px;width:100%;max-width:500px;max-height:90vh;padding:20px;overflow-y:auto;box-shadow:0 10px 30px #0000004d}.image-cropper-header{text-align:center;margin-bottom:20px}.image-cropper-header h3{color:#333;margin:0 0 8px;font-size:1.2rem}.image-cropper-header p{color:#666;margin:0;font-size:.9rem}.image-cropper-canvas-container{border-radius:8px;justify-content:center;margin-bottom:20px;display:flex;overflow:hidden}.image-cropper-canvas{cursor:move;touch-action:none;border:2px solid #ddd;border-radius:8px;max-width:100%;height:auto}.image-cropper-canvas:active{cursor:grabbing}.image-cropper-controls{justify-content:center;gap:12px;display:flex}.image-cropper-controls button{cursor:pointer;border:none;border-radius:8px;min-width:100px;padding:12px 24px;font-size:1rem;font-weight:500;transition:all .2s}.btn-cancel{color:#666;background-color:#f5f5f5}.btn-cancel:hover{background-color:#e0e0e0}.btn-confirm{color:#fff;background-color:#4caf50}.btn-confirm:hover{background-color:#45a049}.image-cropper-loading{color:#666;flex-direction:column;justify-content:center;align-items:center;padding:40px;display:flex}.loading-spinner{border:4px solid #f3f3f3;border-top-color:#4caf50;border-radius:50%;width:40px;height:40px;margin-bottom:16px;animation:1s linear infinite spin}@media (width<=768px){.image-cropper-overlay{padding:10px}.image-cropper-container{border-radius:8px;max-height:95vh;padding:16px}.image-cropper-header h3{font-size:1.1rem}.image-cropper-header p{font-size:.85rem}.image-cropper-controls{flex-direction:column}.image-cropper-controls button{min-width:auto;padding:14px 20px;font-size:1.1rem}.image-cropper-canvas{border-width:1px}}@media (width<=480px){.image-cropper-overlay{padding:5px}.image-cropper-container{border-radius:6px;padding:12px}.image-cropper-header,.image-cropper-canvas-container{margin-bottom:16px}.image-cropper-controls{gap:8px}.image-cropper-controls button{border-radius:6px;padding:16px 20px;font-size:1.1rem}}@media (pointer:coarse){.image-cropper-canvas{cursor:grab}.image-cropper-controls button{padding:16px 24px;font-size:1.1rem}.image-cropper-canvas{touch-action:manipulation}}.image-cropper-overlay{animation:.3s ease-out fadeIn}.image-cropper-container{animation:.3s ease-out slideIn}@keyframes fadeIn{0%{opacity:0;max-height:0}to{opacity:1;max-height:1000px}}@keyframes slideIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@media (prefers-color-scheme:dark){.image-cropper-container{color:#fff;background:#2a2a2a}.image-cropper-header h3{color:#fff}.image-cropper-header p{color:#ccc}.image-cropper-canvas{border-color:#444}.btn-cancel{color:#ccc;background-color:#444}.btn-cancel:hover{background-color:#555}}.login-container{justify-content:center;align-items:center;min-height:100vh;padding:20px;display:flex;position:relative;overflow:hidden}.login-container:before{content:"";filter:blur(8px);z-index:-1;background-color:#0000;background-image:radial-gradient(circle at 20% 30%,#ffffff1a 0%,#0000 50%),radial-gradient(circle at 80% 70%,#ffffff1a 0%,#0000 50%),radial-gradient(circle at 40% 80%,#ffffff0d 0%,#0000 50%);background-position:0 0;background-repeat:repeat;background-size:auto;background-attachment:scroll;background-origin:padding-box;background-clip:border-box;position:absolute;inset:0}.login-card{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);text-align:center;z-index:1;background:#fffffff2;border:2px solid #2c3e50;border-radius:24px;width:100%;max-width:420px;padding:48px 40px;box-shadow:0 32px 64px #00000026,0 0 0 1px #ffffff0d}.login-header h1{color:#2c3e50;text-shadow:0 2px 4px #0000001a;margin:0 0 16px;font-size:2.8rem;font-weight:700}.login-header p{color:#5a6c7d;margin:0 0 36px;font-size:1.15rem;font-weight:400;line-height:1.5}.login-content{margin:36px 0}.google-login-btn{color:#2c3e50;cursor:pointer;background:linear-gradient(145deg,#fff 0%,#f8f9fa 100%);border:2px solid #e8e8e8;border-radius:16px;justify-content:center;align-items:center;gap:14px;width:100%;padding:18px 24px;font-size:1.15rem;font-weight:600;transition:all .3s cubic-bezier(.4,0,.2,1);display:flex;box-shadow:0 4px 12px #0000000d,0 2px 4px #0000000d}.google-login-btn:hover{background:linear-gradient(145deg,#fff 0%,#f0f4ff 100%);border-color:#2c3e50;transform:translateY(-3px);box-shadow:0 8px 25px #1d349233,0 4px 12px #0000001a}.google-login-btn:active{transform:translateY(-1px);box-shadow:0 4px 15px #2e35a033,0 2px 6px #0000001a}.google-icon{filter:drop-shadow(0 1px 2px #0000001a);width:26px;height:26px}.login-footer p{color:#7a8b9a;opacity:.8;margin:32px 0 0;font-size:.95rem;font-weight:500}.login-card{animation:.6s cubic-bezier(.4,0,.2,1) slideInUp}@keyframes slideInUp{0%{opacity:0;transform:translateY(30px)scale(.95)}to{opacity:1;transform:translateY(0)scale(1)}}@media (width<=480px){.login-container{padding:16px}.login-card{border-radius:20px;padding:36px 24px}.login-header h1{font-size:2.4rem}.login-header p{font-size:1.05rem}}nav.main-nav{z-index:2000;background:#274652;border:1px solid #ffffff14;border-radius:18px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:1rem;width:calc(100% - 2rem);max-width:1440px;margin:.5rem auto 1.25rem;padding:.65rem 1.2rem;display:grid;position:sticky;top:0;overflow:visible;box-shadow:0 8px 24px #2f55602e}.nav-header{justify-content:flex-start;align-items:center;gap:.75rem;display:flex}.nav-menu{display:contents}nav.main-nav.nav-secondary{width:min(100% - 2.5rem,1120px)}.nav-brand{border-radius:16px;justify-self:start;align-items:center;gap:.75rem;padding:.25rem .4rem;display:flex}.nav-menu-toggle{color:#f3fbfe;cursor:pointer;background:#ffffff0f;border:1px solid #ffffff29;border-radius:999px;justify-content:center;align-items:center;width:2.75rem;height:2.75rem;padding:0;transition:background .2s,transform .2s,border-color .2s;display:none}.nav-menu-toggle:hover{background:#ffffff1a;transform:translateY(-1px)}.nav-menu-toggle span{background:currentColor;border-radius:999px;width:1.1rem;height:2px;transition:transform .2s,opacity .2s;display:block;position:absolute}.nav-menu-toggle span:first-child{transform:translateY(-6px)}.nav-menu-toggle span:nth-child(2){transform:translateY(0)}.nav-menu-toggle span:nth-child(3){transform:translateY(6px)}nav.main-nav.nav-open .nav-menu-toggle span:first-child{transform:rotate(45deg)}nav.main-nav.nav-open .nav-menu-toggle span:nth-child(2){opacity:0}nav.main-nav.nav-open .nav-menu-toggle span:nth-child(3){transform:rotate(-45deg)}.nav-backdrop{display:none}.nav-logo{border-radius:12px;width:42px;height:42px}.nav-logo .nav-links a{color:#21414a;opacity:.95;background:#fffffff0;border:1px solid #2f55601f;width:100%;min-height:2.4rem;padding:.45rem .8rem;font-size:.96rem;font-weight:500;box-shadow:0 4px 14px #2f55600a}.nav-logo .nav-links a.active{color:#13363a;background:#fff;font-weight:600}.nav-logo .nav-brand-eyebrow{font-weight:600}.nav-logo{letter-spacing:.02em;font-size:.9rem;font-weight:700}.nav-links{flex:1;justify-content:center;justify-self:center;align-items:center;gap:2rem;display:flex}nav.main-nav a{color:#f3fbfe;border-radius:999px;justify-content:center;align-items:center;padding:.15rem 0;font-size:.98rem;font-weight:600;text-decoration:none;transition:opacity .2s,transform .2s,color .2s;display:inline-flex;position:relative}nav.main-nav a:hover{opacity:.92;transform:translateY(-1px)}nav.main-nav a.active{color:#fff;text-shadow:0 0 1px #ffffff59}.nav-user{justify-self:end;margin-left:auto}.recipe-detail-overlay .recipe-page-detail,.recipe-form-overlay .recipe-edit-page,.shared-recipe-page .recipe-content,.my-subrecipes{padding-top:2rem}@media (width<=768px){nav.main-nav{flex-direction:column;align-items:stretch;gap:.75rem;width:calc(100% - 1rem);margin:.35rem auto 1rem;padding:.75rem .9rem;display:flex}nav.main-nav.nav-secondary{width:calc(100% - 1rem)}.nav-header{justify-content:space-between;width:100%}.nav-brand{justify-content:center}.nav-menu-toggle{z-index:2;flex:none;display:inline-flex;position:relative}.nav-menu{z-index:1;gap:.75rem;width:100%;display:none;position:relative}nav.main-nav.nav-open .nav-menu{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:linear-gradient(#f8fbfcfa,#f0f6f8f7);border:1px solid #2f556014;border-radius:18px;flex-direction:column;padding:.85rem;display:flex;box-shadow:0 18px 40px #2f55601f}nav.main-nav.nav-open .nav-menu,nav.main-nav.nav-open .nav-menu *{color:#21414a!important}.nav-links{grid-template-columns:repeat(3,minmax(0,1fr));justify-content:stretch;gap:.5rem;width:100%;display:grid}.nav-links a{color:#2f5661;background:#ffffffeb;border:1px solid #2f55601f;width:100%;min-height:2.7rem;padding:.6rem .9rem;box-shadow:0 4px 14px #2f55600d}.nav-links a.active{color:#21414a;background:#fff}.nav-user{justify-content:center;align-items:stretch;width:100%;margin-left:0;display:flex}.nav-user .user-profile{width:100%}.nav-user .user-avatar{justify-content:center;width:100%}.nav-user .user-dropdown{width:min(100%,320px);margin-left:auto;margin-right:auto;left:0;right:0}nav.main-nav.nav-open .nav-backdrop{z-index:0;background:#2f556014;border:none;padding:0;display:block;position:fixed;inset:0}}@media (width<=480px){.nav-brand{justify-content:flex-start}.nav-brand-eyebrow{font-size:.85rem}.nav-logo{width:36px;height:36px}.nav-links{grid-template-columns:1fr}.nav-links a{justify-content:flex-start}.nav-menu-toggle{width:2.55rem;height:2.55rem}}.shared-recipe-page{color:#2f5661;--primary:#2f5661;background:#eef0ef;min-height:100vh;font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif}.recipe-content{transform-origin:top;width:71.4286%;max-width:28.5714vw;margin:0 auto;padding:1.5rem 0 2rem;transform:scale(1.4)}@media (width<=900px){.recipe-content{width:100%;transform:none}}.recipe-header{text-align:center;flex-direction:column;align-items:center;gap:.7rem;margin-bottom:1.25rem;display:flex;position:relative}.recipe-header-tools{justify-content:space-between;align-items:center;width:100%;margin-bottom:-.2rem;display:flex;position:relative}.recipe-qr-action{align-items:center;display:inline-flex}.recipe-tool-btn{color:#2d515d;cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;width:3.25rem;height:3.25rem;padding:0;transition:background .2s,color .2s,transform .2s;display:inline-flex}.recipe-tool-btn svg{width:1.45rem;height:1.45rem;display:block}.recipe-tool-btn:hover{color:#2f5661;transform:translateY(-3px)}.recipe-share-btn{color:#2f5661}.recipe-copy-feedback{color:#fff;pointer-events:none;z-index:25;background:#2f5661f0;border-radius:999px;padding:.4rem .7rem;font-size:.75rem;font-weight:700;position:absolute;top:2.1rem;right:0;box-shadow:0 10px 22px #254b5a29}.recipe-qr-popover{z-index:20;background:#fff;border:1px solid #2f566124;border-radius:14px;flex-direction:column;align-items:center;gap:.6rem;width:220px;padding:.8rem;display:flex;position:absolute;top:2.45rem;left:50%;transform:translate(-50%);box-shadow:0 12px 28px #254b5a24}.recipe-qr-popover img{width:180px;height:180px;display:block}.recipe-qr-link{color:#fff;background:#2f5661;border-radius:999px;justify-content:center;align-items:center;width:100%;min-height:2.1rem;padding:.35rem .8rem;font-size:.82rem;font-weight:700;text-decoration:none;display:inline-flex}.recipe-qr-link:hover{filter:brightness(1.05)}.recipe-image{background:#fff;border:4px solid #2f5661;border-radius:24px;width:140px;height:140px;overflow:hidden;box-shadow:0 4px 16px #254b5a1f}.recipe-image img{object-fit:cover;width:100%;height:100%}.recipe-info{width:100%}.recipe-title{color:#2f5661;margin:0;font-size:1.45rem;font-weight:700;line-height:1.15}.recipe-description{color:#4f7281;margin:.35rem 0 .7rem;font-size:.9rem;line-height:1.45}.recipe-badges{flex-wrap:wrap;justify-content:center;gap:.5rem;margin-bottom:.5rem;display:flex}.badge{color:#2f5661;background:#fff;border:1px solid #2f56612e;border-radius:999px;padding:.3rem .75rem;font-size:.72rem;font-weight:600}.badge-category,.badge-type{background:#fff}.recipe-rating{margin:.15rem 0 0;font-size:1rem}.recipe-author{color:#607d86;margin-top:.65rem;font-size:.8rem;font-style:italic}.recipe-times{background:#fff;border:1px solid #2f566166;border-radius:14px;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem;margin:.85rem 0 1rem;padding:.7rem;display:grid}.time-info{text-align:center;box-shadow:none;background:0 0;border-radius:0;flex-direction:column;align-items:center;gap:.15rem;padding:.5rem .25rem;display:flex}.time-icon{color:#6f8e99;font-size:.95rem;line-height:1}.time-label{color:#6f8e99;margin-bottom:0;font-size:.68rem;font-weight:600;display:block}.time-value{color:#2f5661;font-size:.7rem;font-weight:700;display:block}.servings-calculator{text-align:center;box-shadow:none;background:0 0;border-radius:0;margin-bottom:1rem;padding:0}.servings-calculator h3{color:#2f5661;margin-bottom:.4rem;font-size:.95rem;font-weight:700}.servings-controls{justify-content:center;align-items:center;gap:.5rem;margin-bottom:.25rem;display:flex}.servings-controls .btn{color:#fff;background:#2f5661;border:none;border-radius:50%;width:2rem;height:2rem;padding:0;font-size:.8rem;font-weight:700}.servings-display{color:#2f5661;background:#fff;border:1px solid #2f566133;border-radius:15px;min-width:40px;padding:.4rem .55rem;font-size:.95rem;font-weight:700}.servings-number{vertical-align:middle;font-size:.8rem;font-weight:700}.servings-label{vertical-align:middle;font-size:.78rem;font-weight:700}.proportions-info{color:#2f5661;margin-top:.25rem;font-size:.82rem}.recipe-section{margin-bottom:1rem}.recipe-section h3{color:#2f5661;text-align:center;margin-bottom:.8rem;font-size:.95rem;font-weight:700}.ingredients-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.55rem;list-style:none;display:grid}.ingredient-item{text-align:center;background:#fff;border:2px solid #2f56618c;border-radius:999px;flex-direction:column;justify-content:center;align-items:center;gap:.1rem;min-height:3rem;padding:.55rem .4rem .4rem;display:flex;position:relative}.ingredient-thumb{background:#fff;border:2px solid #2f5661;border-radius:50%;width:1.6rem;height:1.6rem;position:absolute;top:-.95rem;left:50%;overflow:hidden;transform:translate(-50%);box-shadow:0 3px 10px #254b5a2e}.ingredient-thumb img{object-fit:cover;width:100%;height:100%}.ingredient-quantity{color:#6f8e99;min-width:0;font-size:.68rem;font-weight:700;line-height:1}.ingredient-name{color:#2f5661;font-size:.78rem;font-weight:700;line-height:1.05}.steps-grid{gap:.7rem;display:grid}.step-card{background:#fff;border:1.5px solid #2f56618c;border-radius:12px;padding:.45rem .6rem .55rem}.step-card-title{color:#2f5661;margin-bottom:.25rem;font-size:.72rem;font-weight:700}.step-card-body{align-items:flex-start;gap:.4rem;display:flex}.step-number{color:#2f5661;background:0 0;border-radius:0;flex-shrink:0;width:auto;height:auto;font-size:.62rem;font-weight:700;display:inline}.step-text{color:#2f5661;background:0 0;border-radius:0;flex-grow:1;width:auto;min-height:0;max-height:none;padding:0;font-size:.72rem;line-height:1.35;overflow:visible}.tags-list{flex-wrap:wrap;justify-content:center;gap:.4rem;display:flex}.tag{color:#2f5661;background:#fff;border:1px solid #2f566159;border-radius:999px;padding:.35rem .75rem;font-size:.75rem;font-weight:600}.recipe-notes{color:#2f5661;background:#fff;border:1px solid #2f566138;border-radius:12px;padding:.8rem;font-size:.8rem;line-height:1.5}.shared-actions{flex-wrap:nowrap;justify-content:center;align-items:stretch;gap:1rem;width:100%;margin:1.8rem auto 0;padding:1.2rem 0 0;display:flex}.shared-actions .btn{cursor:pointer;border-radius:12px;flex:48%;justify-content:center;align-items:center;gap:.6rem;min-width:0;height:46px;padding:.55rem .85rem;font-size:.92rem;font-weight:700;transition:all .18s;display:inline-flex}.shared-action-btn{color:inherit;border-radius:12px;box-shadow:0 10px 28px #1f4c5e1a}.shared-action-btn.btn-primary{box-shadow:0 12px 36px #1f4c5e24}.shared-action-btn.btn-secondary{color:var(--primary);background:#f7fbfb;border:2px solid #2f56611f}.shared-action-btn.btn-secondary:hover{background:#eef6f6}.shared-actions .btn:hover{transform:translateY(-1px);box-shadow:0 4px 14px #13518b1f}.shared-actions .btn:disabled{opacity:.6;cursor:not-allowed;transform:none}@media (width<=768px){.shared-actions{flex-wrap:wrap;gap:.6rem;width:100%;margin:1.4rem auto 0;padding-top:.8rem}.shared-actions .btn{flex:48%;height:42px;padding:.45rem .65rem;font-size:.85rem}}@media (width<=420px){.shared-actions{gap:.5rem;width:100%;margin:1.2rem auto 0}.shared-actions .btn{flex:48%;min-width:0;height:40px;padding:.42rem .6rem;font-size:.8rem}}.shared-footer{text-align:center;color:#6f8e99;padding:1.25rem 1rem 2rem}.shared-footer p{margin:0;font-size:.8rem}.loading,.error-state{text-align:center;color:#2f5661;max-width:600px;margin:0 auto;padding:4rem 2rem}.error-state h2{color:#2f5661;margin-bottom:1rem}.error-state p{margin-bottom:1rem;line-height:1.6}@media (width<=768px){.recipe-content{width:calc(100% - .5rem);max-width:none;padding:.8rem .25rem 1.4rem}.recipe-header{gap:.6rem;margin-bottom:.85rem}.recipe-header-tools{flex-wrap:wrap;gap:.35rem;margin-bottom:0}.recipe-qr-action{flex:auto;justify-content:flex-start;position:relative}.recipe-share-btn{flex:none}.recipe-image{border-width:3px;width:108px;height:108px}.recipe-title{font-size:1.28rem;line-height:1.08}.recipe-description{font-size:.88rem}.recipe-times,.ingredients-grid{grid-template-columns:1fr;gap:.5rem;width:100%}.recipe-times{border-radius:12px;width:100%;padding:.6rem}.time-info{padding:.55rem .35rem}.time-label{font-size:.74rem}.time-value{font-size:.92rem}.ingredient-item{border-radius:14px;width:100%;min-height:0;padding:.7rem .75rem}.ingredient-thumb{width:1.45rem;height:1.45rem;top:-.78rem}.ingredient-quantity{font-size:.76rem}.ingredient-name{font-size:.86rem}.steps-grid{gap:.6rem}.step-card{border-radius:10px;width:100%;padding:.4rem .55rem .5rem}.step-card-title{font-size:.68rem}.step-text{font-size:.78rem;line-height:1.45}.servings-calculator h3,.recipe-section h3{margin-bottom:.65rem;font-size:.92rem}.servings-controls{flex-wrap:wrap;gap:.45rem}.servings-controls .btn{width:2.1rem;height:2.1rem}.shared-actions{flex-direction:column;width:100%}.shared-actions .btn{flex:auto;width:100%}}@media (width<=480px){.recipe-content{width:calc(100% - .25rem);padding-inline:.12rem}.recipe-header-tools{margin-bottom:0}.recipe-qr-popover{width:min(220px,100vw - 1rem)}.recipe-image{width:96px;height:96px}.recipe-title{font-size:1.12rem}.recipe-description{font-size:.84rem}.recipe-times{gap:.4rem;padding:.6rem}.servings-calculator,.recipe-section{width:100%}.time-info{padding:.45rem .3rem}.time-label{font-size:.68rem}.time-value{font-size:.82rem}.ingredient-item{min-height:0}.ingredient-quantity{font-size:.72rem}.ingredient-name{font-size:.82rem}.step-card{padding:.38rem .5rem .46rem}.step-card-title{font-size:.66rem}.step-text{font-size:.74rem}.shared-actions{gap:.45rem}.shared-actions .btn{flex:100%;height:40px;font-size:.8rem}}.my-subrecipes{max-width:1200px;margin:32px auto;padding:0 24px}.my-subrecipes h2{color:#2f5661;letter-spacing:-.02em;margin:0 0 32px;font-size:2.5rem;font-weight:700}.my-subrecipes-list{grid-template-columns:repeat(4,minmax(0,1fr));align-items:start;gap:3rem 1.25rem;margin-top:2rem;display:grid}.subrecipe-card-wrapper{padding-top:1.4rem;animation:.3s ease-out slideIn}.subrecipe-card{cursor:pointer;background:#eef0ef;border:2px solid #4d7283;border-radius:18px;flex-direction:column;min-height:334px;transition:transform .22s,box-shadow .22s;display:flex;position:relative;overflow:visible;box-shadow:0 10px 24px #17293814}.subrecipe-card:hover{transform:translateY(-4px);box-shadow:0 18px 40px #1729381f}.subrecipe-card .thumb{object-fit:cover;background:#edf5fb;border:3px solid #254b5a;border-radius:50%;width:112px;height:112px;transition:transform .4s;position:absolute;top:-36px;left:50%;transform:translate(-50%);box-shadow:0 8px 20px #254b5a33}.subrecipe-card:hover .thumb{transform:translate(-50%)scale(1.05)}.subrecipe-card .thumb.placeholder{background:linear-gradient(135deg,#e1e8ed 0%,#cbd5e0 100%);justify-content:center;align-items:center;display:flex;position:relative}.subrecipe-card .thumb.placeholder:after{content:""}.subrecipe-card .thumb.thumb-default{object-fit:contain;background:#eef0ef;padding:.55rem}.subrecipe-card .meta{text-align:center;flex-direction:column;flex:1;align-items:center;gap:.45rem;padding:4.9rem .95rem 1rem;display:flex}.subrecipe-card .name{color:#2f5661;margin:0;font-size:1.15rem;font-weight:700;line-height:1.15}.subrecipe-card .desc{color:#4f7281;opacity:.95;min-height:2.1rem;max-height:2.1rem;margin:0;font-size:.82rem;font-weight:600;line-height:1.3;overflow:hidden}.subrecipe-card .actions{justify-content:center;gap:8px;width:100%;margin-top:auto;padding-top:.45rem;display:flex}.subrecipe-card-edit-btn{z-index:1;color:#fff;cursor:pointer;letter-spacing:.03em;text-transform:uppercase;background:#254b5a;border:0;border-radius:999px;justify-content:center;align-self:center;align-items:center;width:100%;height:2.4rem;margin-top:.45rem;padding:0 .95rem;font-size:.82rem;font-weight:800;line-height:1;display:inline-flex;position:relative;box-shadow:0 8px 18px #1729382e}.subrecipe-card-edit-btn:hover{background:#1f3e49;transform:translateY(-1px)}.subrecipe-card-edit-btn:active{transform:translateY(0)}.subrecipe-detail-modal{background:#eef0ef;border-radius:20px;width:90%;max-width:800px;max-height:90vh;padding:2rem 0;position:relative;overflow-y:auto}.subrecipe-detail-modal .recipe-detail-header{gap:.7rem;padding:1.25rem 1rem .25rem}.subrecipe-detail-modal .recipe-detail-section{width:min(430px,100% - 2rem);margin:0 auto 1rem;padding:0}.subrecipe-detail-modal .recipe-detail-section h3{color:#2f5661;text-align:center;margin-bottom:1rem;font-size:1.1rem;font-weight:700}.subrecipe-detail-modal .ingredients-list{gap:.55rem;list-style:none;display:grid}.subrecipe-detail-modal .ingredient-item{background:#fff;border:1px solid #2f566129;border-radius:14px;align-items:center;gap:.75rem;padding:.75rem;display:flex}.subrecipe-detail-modal .ingredient-quantity{color:#2f5661;min-width:80px;font-weight:600}.subrecipe-detail-modal .ingredient-name{color:#2f5661;flex-grow:1}.subrecipe-detail-modal .steps-list{gap:1.5rem;margin-bottom:2rem;list-style:none;display:grid}.subrecipe-detail-modal .step-item{align-items:flex-start;gap:1rem;display:flex}.subrecipe-detail-modal .step-number{color:#f2f2f2;background:#2f5661;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:50px;height:50px;font-size:.95rem;font-weight:700;display:flex}.subrecipe-detail-modal .step-text{color:#2f5661;word-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;background:#fff;border:1px solid #2f566129;border-radius:14px;flex-grow:1;padding:1rem 1.25rem;line-height:1.6}.subrecipe-detail-modal .recipe-detail-actions{flex-wrap:wrap;justify-content:center;gap:.75rem;width:min(430px,100% - 2rem);margin:0 auto;padding:1.5rem 0;display:flex}.subrecipe-detail-modal .detail-action-btn{border-radius:999px;min-width:140px;height:2.4rem;padding:0 1rem;font-size:.95rem;font-weight:700;transition:all .2s;box-shadow:0 4px 14px #254b5a1f}.subrecipe-detail-modal .detail-action-btn:hover{transform:translateY(-2px);box-shadow:0 6px 20px #254b5a2e}.subrecipe-detail-modal .detail-action-btn.btn-primary{color:#f2f2f2;background:#2f5661}.subrecipe-detail-modal .detail-action-btn.btn-primary:hover{background:#254b5a}.subrecipe-detail-modal .detail-action-btn.btn-danger{color:#f2f2f2;background:#e57373}.subrecipe-detail-modal .detail-action-btn.btn-danger:hover{background:#e53935}@media (width<=1300px){.my-subrecipes-list{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=980px){.my-subrecipes-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:2.5rem 1rem}.subrecipe-card{min-height:318px}.subrecipe-card-wrapper{padding-top:1.9rem}.subrecipe-card .thumb{width:96px;height:96px;top:-30px}.subrecipe-card .meta{padding-top:4.2rem}}@media (width<=640px){.my-subrecipes-list{grid-template-columns:1fr;gap:2rem .9rem}.subrecipe-card{border-radius:16px;min-height:300px}.subrecipe-card-wrapper{padding-top:1.6rem}.subrecipe-card .thumb{width:88px;height:88px;top:-28px}.subrecipe-card .meta{padding-inline:.9rem}.subrecipe-card .name{font-size:1rem}.subrecipe-card .desc{font-size:.78rem}}.subrecipe-form{color:#2f5661;background:#eef0ef;border:1px solid #2f56610f;border-top:none;border-radius:0 0 12px 12px;padding:24px;box-shadow:0 10px 24px #1729380f}.subrecipe-form-modal{background:0 0;border-radius:14px;width:min(960px,100vw - 2rem);max-height:90vh;padding:0;overflow-y:auto}.subrecipe-form-modal-header{background:#eef0ef;padding:1rem 1.25rem}.subrecipe-form-modal-header h3{color:#2f5661;margin:0;font-size:1.25rem;line-height:1.2}.subrecipe-form-modal-header p{color:#4f7281;margin:.35rem 0 0;font-size:.92rem}.subrecipe-form label{color:#2f5661;letter-spacing:.01em;margin-bottom:8px;font-size:14px;font-weight:600;display:block}.subrecipe-form input[type=text],.subrecipe-form input[type=number],.subrecipe-form input[type=file],.subrecipe-form textarea,.subrecipe-form select{color:#23303e;box-sizing:border-box;background:#f7f9f8;border:1px solid #2f566117;border-radius:12px;width:100%;padding:12px 16px;font-size:15px;transition:all .12s}.subrecipe-form input:focus,.subrecipe-form textarea:focus,.subrecipe-form select:focus{border-color:#4f6d7ae6;outline:none;box-shadow:0 0 0 3px #4f6d7a59}.subrecipe-form .form-group{margin-bottom:20px}.subrecipe-form h4{color:#2f5661;margin:16px 0 12px;font-size:16px;font-weight:700}.subrecipe-form button{color:#f7fbff;cursor:pointer;background:#2f5661;border:none;border-radius:10px;padding:12px 24px;font-size:15px;font-weight:600;transition:all .18s;box-shadow:0 6px 18px #2f55601f}.subrecipe-form button:hover:not([disabled]){background:#335c67;transform:translateY(-2px);box-shadow:0 6px 20px #4f6d7a59}.subrecipe-form button:active:not([disabled]){transform:translateY(0)}.subrecipe-form button[disabled]{opacity:.5;cursor:not-allowed}.ingredient-row,.step-row{background:#ffffff0a;border:1px solid #0000;border-radius:10px;align-items:flex-start;gap:10px;margin-bottom:12px;padding:12px;transition:all .2s;display:flex}.ingredient-row:hover,.step-row:hover{border-color:#e1e8ed}.ingredient-row input{flex:1;min-width:0}.step-row .step-number{color:#f2f2f2;background:#335c67;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;min-width:35px;height:35px;font-size:14px;font-weight:700;display:flex}.step-row .step-input-container{flex:1}.btn{cursor:pointer;border:none;border-radius:10px;align-items:center;gap:6px;padding:10px 18px;font-size:14px;font-weight:600;transition:all .2s;display:inline-flex}.btn-primary{color:#f2f2f2;background:#4f6d7a;box-shadow:0 4px 12px #4f6d7a40}.btn-primary:hover{background:#376470;transform:translateY(-2px);box-shadow:0 6px 20px #4f6d7a59}.btn-secondary{color:#f2f2f2;background:#466571;box-shadow:0 2px 8px #2f566133}.btn-secondary:hover{background:#2a4e58;transform:translateY(-1px)}.btn-danger{color:#f2f2f2;background:#e57373;box-shadow:0 2px 8px #e5737333}.btn-danger:hover{background:#e53935;transform:translateY(-1px)}.btn-small{padding:6px 12px;font-size:13px}.form-subrecipe{color:#2f5661;background:#fff;border:1px dashed #2f56610f;border-radius:12px;margin:20px 0;padding:20px}.form-subrecipe h3{color:#2f5661;align-items:center;gap:8px;margin:0 0 16px;font-size:18px;font-weight:700;display:flex}.select-menu{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.select-menu .form-input,.select-menu .form-select,.select-menu .form-textarea,.select-menu select{margin-bottom:0}.select-menu .form-select{flex:1;min-width:200px;height:50px}.select-menu a{color:#f2f2f2;background-color:#376470;border-radius:10px;padding:10px 12px;font-weight:600;text-decoration:none;transition:all .2s}.select-menu a:hover{background:#2a4e58;text-decoration:none}.subrecipe-block{background:#fff;border:1px solid #2f56610f;border-radius:16px;width:100%;max-width:900px;margin:20px 0;padding:24px;animation:.3s ease-out slideIn;position:relative;overflow:visible;box-shadow:0 10px 28px #1729380f}.my-subrecipes-list .subrecipe-block{margin:0}.step-item-subrecipe{margin-bottom:24px;margin-left:-20px;list-style:none}.step-item-subrecipe .subrecipe-block{margin:0}.subrecipe-block:before{content:"";background:#2f56610f;height:4px;position:absolute;top:0;left:0;right:0}.subrecipe-header{border-bottom:1px solid #2f56610f;align-items:flex-start;gap:16px;margin-bottom:24px;padding-bottom:20px;display:flex}.subrecipe-thumb{border:2px solid #2f56610f;border-radius:14px;width:160px;height:120px}.subrecipe-thumb.placeholder{background:linear-gradient(135deg,#e1e8ed 0%,#cbd5e0 100%);justify-content:center;align-items:center;display:flex;position:relative}.subrecipe-thumb.placeholder:after{content:"Image";color:#23303e;font-size:12px;font-weight:600}.subrecipe-meta{flex:1;min-width:0}.subrecipe-meta strong{color:#2f5661;margin-bottom:10px;font-size:22px;font-weight:700;line-height:1.3;display:block}.subrecipe-actions{margin-top:8px}.subrecipe-body{grid-template-columns:1fr 1fr;gap:32px;margin-top:24px;display:grid}@media (width<=768px){.subrecipe-body{grid-template-columns:1fr}}.subrecipe-ingredients,.subrecipe-instructions{background:#ffffff08;border:1px solid #ffffff0a;border-radius:12px;padding:20px}.subrecipe-body em{color:#335c67;text-transform:uppercase;letter-spacing:.05em;margin-bottom:14px;font-size:15px;font-style:normal;font-weight:700;display:block}.subrecipe-body ul,.subrecipe-body ol{color:#23303e;margin:0;padding-left:20px}.subrecipe-body ul li,.subrecipe-body ol li{margin-bottom:8px;font-size:14px;line-height:1.6}.subrecipe-body ul li::marker{color:#4f6d7a}.subrecipe-body ol li::marker{color:#4f6d7a;font-weight:700}.subrecipe-preview-image{object-fit:cover;border-radius:10px;width:100%;height:200px;box-shadow:0 4px 16px #0000001a}.subrecipe-card,.subrecipe-block{animation:.3s ease-out slideIn}@media (width<=768px){.my-subrecipes{margin:20px auto;padding:0 16px}.my-subrecipes h2{font-size:2rem}.my-subrecipes-list{grid-template-columns:1fr;gap:16px}.subrecipe-header{flex-direction:column}.subrecipe-thumb{width:100%;height:160px}}.form-row{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:15px;margin-bottom:15px;display:grid}.form-group label{color:#2f5661;margin-bottom:5px;font-weight:500;display:block}.form-input[placeholder=Optionnel]{border-style:dashed;border-color:#ccc}.form-input[placeholder=Optionnel]:focus{border-style:solid;border-color:#2196f3}.user-profile{display:inline-block;position:relative}.user-avatar{cursor:pointer;background:#f2f2f2;border-radius:25px;align-items:center;gap:8px;padding:8px 12px;transition:all .12s;display:flex;box-shadow:0 2px 8px #0000001a}.user-avatar:hover{box-shadow:0 4px 12px #00000026}.user-avatar img{object-fit:cover;border-radius:50%;width:32px;height:32px}.user-name{color:#153235;font-size:14px;font-weight:600}.dropdown-arrow{fill:#275567;width:16px;height:16px;transition:transform .12s}.user-profile.open .dropdown-arrow{transform:rotate(180deg)}.user-dropdown{z-index:1000;background:#fff;border:1px solid #2f566114;border-radius:10px;min-width:260px;margin-top:8px;padding:12px;position:absolute;top:100%;right:0;box-shadow:0 8px 24px #1729380f}.user-info{align-items:center;gap:12px;margin-bottom:12px;display:flex}.user-info img{object-fit:cover;border-radius:50%;width:40px;height:40px}.user-full-name{color:#21414a;font-size:13.5px;font-weight:600}.user-email{color:#2f6568;font-size:12.5px}.pseudo-input{box-sizing:border-box;border:1px solid #2f566114;border-radius:6px;width:100%;padding:6px 8px;font-size:14px}.pseudo-input:focus{outline:none;box-shadow:0 0 0 3px #2755670f}.user-dropdown hr{border:none;border-top:1px solid #2f56610f;margin:10px 0}.logout-btn{color:#21414a;cursor:pointer;background:0 0;border:none;border-radius:8px;align-items:center;gap:8px;width:100%;padding:8px 12px;font-size:13.25px;transition:background-color .12s;display:flex}.logout-btn:hover{background-color:#2755670f}.logout-btn svg{fill:currentColor;width:16px;height:16px}.delete-data-btn{color:#c23a33;text-align:left;cursor:pointer;opacity:.9;background:0 0;border:none;border-radius:8px;width:100%;margin-top:6px;padding:6px 12px;font-size:12px;font-weight:500;transition:background .12s;display:block}.delete-data-btn:hover{background-color:#c23a330f}.delete-modal-backdrop{z-index:10000;background:#0006;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.delete-modal{background:#fff;border-radius:8px;width:90%;max-width:400px;padding:1.5rem;box-shadow:0 8px 30px #17293814}.delete-modal-icon{display:none}.delete-modal-title{color:#333;margin-bottom:.5rem;font-size:1.1rem;font-weight:600}.delete-modal-text{color:#666;margin-bottom:1.2rem;font-size:.9rem;line-height:1.4}.delete-modal-actions{justify-content:flex-end;gap:.6rem;display:flex}.modal-btn{cursor:pointer;border:none;border-radius:6px;padding:.5rem 1.2rem;font-size:.9rem;font-weight:500;transition:background .2s}.modal-btn-cancel{color:#333;background:#e5e5e5}.modal-btn-cancel:hover{background:#d5d5d5}.modal-btn-danger{color:#fff;background:#dc3545}.modal-btn-danger:hover{background:#c82333}@media (width<=768px){.user-profile{flex-direction:column;width:100%;display:flex}.user-avatar{justify-content:center;width:100%}.user-dropdown{box-sizing:border-box;color:#21414a;background:linear-gradient(#fff,#f7fbfc);border:1px solid #2f56611a;width:100%;min-width:0;margin-top:.7rem;position:static;box-shadow:0 10px 24px #2f556014}}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:#23303e;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#0000;font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;font-weight:400;line-height:1.5}html,body,#root{min-height:100%}.auth-page{color:#2f5661;background:#f2f2f2;justify-content:center;align-items:center;width:100vw;height:100vh;display:flex}.auth-shell{width:100%}.auth-shell .home-root{color:#153235;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Arial}.auth-shell .banner{background:#fff;border-bottom:1px solid #1532350f;padding:2.25rem 1rem}.auth-shell .banner-inner{justify-content:space-between;align-items:center;gap:1rem;max-width:1100px;margin:0 auto;display:flex}.auth-shell .brand{align-items:center;gap:.75rem;display:flex}.auth-shell .brand img{object-fit:contain;width:56px;height:56px}.auth-shell .brand h1{letter-spacing:-.02em;margin:0;font-size:1.35rem;font-weight:800}.auth-shell .banner-actions{align-items:center;gap:.75rem;display:flex}.auth-shell .btn{cursor:pointer;border:0;border-radius:10rem;padding:.7rem 1rem;font-weight:700;transition:transform .12s,box-shadow .12s}.auth-shell .btn:active{transform:translateY(1px)}.auth-shell .btn-primary{color:#fff;background:#275567;box-shadow:0 8px 20px #27556724}.auth-shell .btn-ghost{color:#275567;background:0 0;border:1px solid #2755671f}.auth-shell .banner-copy{text-align:center;max-width:1100px;margin:0 auto;padding:2rem 1rem 0}.auth-shell .banner-copy h2{color:#0f3a3d;margin:0 0 .6rem;font-size:clamp(1.4rem,3.5vw,2rem);font-weight:800}.auth-shell .banner-copy p{color:#3e6467;margin:0;font-weight:600}.auth-shell .features{grid-template-columns:repeat(3,1fr);gap:1.25rem;max-width:1100px;margin:2.25rem auto;padding:0 1rem;display:grid}.auth-shell .feature{text-align:left;background:0 0;border-radius:6px;padding:.6rem .4rem}.auth-shell .feature h3{color:#153235;margin:0 0 .35rem;font-size:1.05rem}.auth-shell .feature p{color:#4e7778;margin:0;font-weight:500}.auth-shell .showcase{max-width:1100px;margin:2.5rem auto;padding:0 1rem}.auth-shell .showcase h3{margin:0 0 1rem;font-size:1.1rem;font-weight:800}.auth-shell .cards{grid-template-columns:repeat(3,1fr);gap:1rem;display:grid}.auth-shell .card{background:#fff;border-radius:10px;overflow:hidden;box-shadow:0 8px 30px #0616180f}.auth-shell .card-media{background-position:50%;background-size:cover;height:140px}.auth-shell .card-body{padding:.8rem}.auth-shell .card-body h4{margin:0 0 .4rem;font-size:1rem}.auth-shell .card-body p{color:#4e7778;margin:0;font-weight:600}.auth-shell .home-footer{text-align:center;color:#5a7e7f;max-width:1100px;margin:3rem auto;padding:1.2rem}@media (width<=900px){.auth-shell .features,.auth-shell .cards{grid-template-columns:repeat(2,1fr)}}@media (width<=640px){.auth-shell .banner-inner{flex-direction:column;align-items:flex-start}.auth-shell .banner-actions{justify-content:stretch;width:100%}.auth-shell .banner-actions .btn{flex:1}.auth-shell .features,.auth-shell .cards{grid-template-columns:1fr}.auth-shell .banner-copy{padding-top:1rem}}.home-page{color:#153235;background:#eef0ef;flex-direction:column;min-height:100vh;display:flex}.main-content{flex-direction:column;flex:auto;gap:1.5rem;display:flex}.container{max-width:1100px;margin:0 auto;padding:0 1rem}.banner{box-shadow:none;background:#eef0ef;padding:2rem 0}.banner-inner{justify-content:space-between;align-items:center;gap:2rem;display:flex}.banner-content{flex:52%}.banner-media{flex:40%;justify-content:center;display:flex}.banner-placeholder{background:linear-gradient(#eef2f1 0%,#e6e9e7 100%);border:1px solid #1532350a;border-radius:12px;width:100%;max-width:420px;height:220px}.site-logo{width:64px;height:auto;margin-bottom:.75rem;display:block}.site-title{color:#153235;margin:0 0 .5rem;font-size:2rem;font-weight:600}.lead-text{color:#4e7778;margin:0 0 1rem;font-weight:500}.banner-actions{gap:.75rem;margin-top:1rem;display:flex}.btn-google{color:#153235;cursor:pointer;box-shadow:none;background:#fff;border:1px solid #1532350f;border-radius:8px;padding:.7rem 1rem;font-weight:600}.btn-google:hover{opacity:.95;box-shadow:0 6px 20px #1532351a}.how-it-works{margin:2rem auto}.how-it-works h3{color:#153235;margin:0 0 1rem;font-size:1.15rem}.how-steps{gap:1rem;display:flex}.step{background:#fff;border:1px solid #1532350a;border-radius:8px;flex:1;align-items:flex-start;gap:.75rem;padding:.9rem;display:flex}.step strong{color:#275567;font-size:1.1rem}.step h4{margin:0 0 .25rem;font-size:1rem}.step p{color:#4e7778;margin:0;font-weight:500}.sample-cards{grid-template-columns:repeat(3,1fr);gap:.6rem;width:100%;display:grid}.sample-card{height:96px;box-shadow:none;background-position:50%;background-size:cover;border-radius:8px}.placeholder-grid{margin:1.5rem auto 2rem}.home-features{gap:1.25rem;margin:2rem auto;display:flex}.feature-item{background:0 0;flex:1;padding:.5rem 0}.feature-item h3{color:#153235;margin:0 0 .5rem;font-size:1.05rem}.feature-item p{color:#4e7778;margin:0}.home-footer{text-align:center;color:#5a7e7f;margin-top:auto;padding:2rem 0}@media (width<=900px){.banner-inner{flex-direction:column-reverse}.sample-cards{grid-template-columns:repeat(2,1fr)}.home-features,.how-steps{flex-direction:column}}@media (width<=480px){.sample-cards{grid-template-columns:1fr}.site-title{font-size:1.6rem}}.legal-page{color:#222;background:#335c67;justify-content:center;padding:40px 16px;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Arial;display:flex}.legal-container{box-sizing:border-box;background:#223f47;border-radius:12px;width:100%;max-width:980px;padding:28px 32px;box-shadow:0 6px 18px #1e28320f}.legal-header h1{color:#111;margin:0;font-size:1.6rem}.legal-page{color:#f2f2f2;background:linear-gradient(135deg,#335c67,#4f6d7a);justify-content:center;align-items:flex-start;min-height:100vh;padding:48px 16px;font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;display:flex}.legal-container{box-sizing:border-box;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#ffffff0a;border:1px solid #2446530a;border-radius:20px;width:100%;max-width:980px;padding:28px 32px;box-shadow:0 8px 24px #0a141e73}.legal-header{text-align:center;margin-bottom:18px}.legal-header h1{color:#f2f2f2;margin:0;font-size:1.6rem;font-weight:700}.legal-header p{color:#f2f2f2cc;margin:6px 0 0;font-size:.95rem}.legal-content{grid-template-columns:1fr;gap:18px;margin-top:16px;display:grid}.legal-section{background:#1e384e31;border-left:4px solid #26586ec4;border-radius:12px;padding:16px 14px}.legal-section h3{color:#f2f2f2;margin:0 0 8px;font-size:1.05rem}.legal-section p,.legal-section ul{color:#f2f2f2e6;margin:0 0 8px;font-size:.95rem;line-height:1.6}.legal-section ul{padding-left:1.15rem}.legal-section li{margin-bottom:6px}.legal-footer{justify-content:center;align-items:center;gap:12px;margin-top:18px;display:flex}.legal-footer .btn{color:#f2f2f2f2;background:#ffffff0a;border:1px solid #ffffff0f;border-radius:10px;align-items:center;gap:8px;padding:8px 14px;font-size:.95rem;font-weight:600;text-decoration:none;transition:transform .12s,box-shadow .12s,background .12s;display:inline-flex}.legal-footer .btn:hover{background:#ffffff0f;transform:translateY(-2px);box-shadow:0 6px 18px #0a141e73}.legal-footer .btn:active{transform:translateY(0)}@media (width>=900px){.legal-content{grid-template-columns:1fr 1fr}.legal-section{padding:18px 16px}}@media (width<=480px){.legal-container{border-radius:12px;padding:18px}.legal-header h1{font-size:1.25rem}}
