:root{--ink:#192c36;--blue:#173d4b;--muted:#60747b;--paper:#f6f4ef;--line:#d8dfda}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.5 Arial,Helvetica,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.topbar{height:88px;border-bottom:1px solid #dce1da;display:flex;align-items:center;justify-content:space-between;padding:0 max(5vw,24px);background:#fffefa}.brand{display:flex;align-items:center;gap:13px;font:700 25px Georgia,serif;letter-spacing:-.04em;text-decoration:none;white-space:nowrap}.brand em{font-weight:400}.brand-mark{width:43px;height:43px;display:grid;place-items:center;color:#fff;background:var(--blue);border-radius:11px;font:30px Georgia,serif}.button{border:0;border-radius:8px;min-height:43px;padding:9px 17px;font-weight:700;display:inline-flex;gap:8px;align-items:center;justify-content:center}.primary{background:var(--blue);color:white}.primary:hover{background:#26586a}.button:disabled{opacity:.5;cursor:default}.secondary{background:#eef1ed;color:var(--ink)}.secondary:hover{background:#e2e9e5}.content{max-width:1320px;padding:32px 28px 90px;margin:auto}.intro{display:grid;grid-template-columns:minmax(0,1fr) 38%;min-height:248px;background:#e6edeb;border-radius:18px;overflow:hidden}.intro-copy{padding:40px 6%;display:flex;flex-direction:column;justify-content:center}.eyebrow,.section-kicker{font-size:12px;font-weight:800;letter-spacing:.16em;color:#52717a}.intro h1{font:400 clamp(38px,4.5vw,61px)/1.09 Georgia,serif;letter-spacing:-.055em;margin:14px 0 15px}.intro h1 em{color:#a55e37}.intro-copy>p:last-child{color:#49606a;font-size:17px;margin:0}.intro img{width:100%;height:100%;min-height:248px;object-fit:cover}.collection{margin-top:44px}.section-kicker{margin:0}.collection h2{font:400 36px/1.15 Georgia,serif;letter-spacing:-.04em;margin:7px 0 22px}.collection h2 span{font:600 14px Arial,sans-serif;color:#55707a;vertical-align:middle;padding:6px 10px;border-radius:99px;background:#e4eae7;margin-left:9px;letter-spacing:0}.tools{display:flex;gap:22px;align-items:center;flex-wrap:wrap;margin-bottom:24px}.search{width:min(100%,320px);flex:0 0 auto;position:relative;color:#698089}.search-icon{position:absolute;top:1px;left:13px;font:29px Arial,sans-serif;line-height:43px}.search input{height:44px;width:100%;padding:0 12px 0 43px;border:1px solid #d2dbd7;border-radius:8px;background:#fffefa;font-size:15px}.categories{display:flex;gap:7px;flex-wrap:wrap}.category{border:1px solid transparent;background:transparent;border-radius:7px;padding:9px 13px;color:#4d626b;font-size:14px;font-weight:700}.category:hover{background:#e9eeea}.category.active{background:#dfe9e5;color:var(--blue);border-color:#ccdad4}.empty{min-height:275px;border:1px dashed #c7d4ce;background:#fcfbf7;border-radius:14px;display:flex;align-items:center;flex-direction:column;justify-content:center;text-align:center;padding:34px 20px}.empty-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:15px;background:#e5efec;color:#245466;font:34px Arial;margin-bottom:13px}.empty h3{font:400 27px Georgia,serif;margin:3px 0 8px}.empty p{max-width:420px;color:#63757a;margin:0 0 20px}.empty.small{min-height:180px}.empty.small p{margin-bottom:0}.recipe-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.recipe-card{display:flex;flex-direction:column;min-height:223px;padding:22px;border:1px solid #dce2dd;border-radius:13px;background:#fffefa;box-shadow:0 3px 12px #1f363209}.card-top,.card-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px}.recipe-category{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:#5b7480}.card-actions{display:flex;gap:2px}.icon-button{width:32px;height:32px;display:grid;place-items:center;border:0;background:transparent;border-radius:6px;color:#5c7277;font-size:23px;line-height:1}.icon-button:hover{background:#eef2ef;color:var(--blue)}.delete-form{margin:0}.recipe-card h3{font:400 26px/1.18 Georgia,serif;letter-spacing:-.03em;margin:19px 0 8px;overflow-wrap:anywhere}.recipe-note{color:#61747a;margin:0 0 20px;overflow-wrap:anywhere}.card-bottom{margin-top:auto;padding-top:20px;border-top:1px solid #ebeeea;font-size:13px}.card-bottom>span{color:#819096;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.card-bottom a{flex:none;font-weight:700;color:#174757;text-decoration:none}.card-bottom a:hover{text-decoration:underline}.notice{border-radius:8px;padding:13px;margin-bottom:18px}.notice.error{background:#fff3ed;border:1px solid #e9c4ad}.notice.success{background:#e6f1e9;border:1px solid #bcd8c3}dialog{width:min(490px,calc(100% - 30px));max-height:calc(100vh - 30px);overflow:auto;border:1px solid #d5ded7;border-radius:15px;padding:27px;background:#fffefa;color:var(--ink);box-shadow:0 20px 70px #0c283252}dialog::backdrop{background:#0e27378c}.dialog-head{display:flex;justify-content:space-between;gap:12px}.dialog-head h2{font:400 30px Georgia,serif;margin:0 0 5px}.dialog-head p{color:var(--muted);margin:0 0 22px;font-size:14px}.dialog-head .close{flex:none;margin:-8px -9px 0 0}#recipe-form>label{display:block;margin-bottom:17px;font-size:14px;font-weight:700}#recipe-form>label span{color:#75858a;font-weight:400}#recipe-form input:not([type=hidden]),#recipe-form textarea,#recipe-form select{display:block;width:100%;margin-top:7px;background:#fff;border:1px solid #cdd8d2;border-radius:7px;padding:10px 12px;min-height:43px;font-size:15px}#recipe-form textarea{min-height:84px;resize:vertical}.form-actions{display:flex;justify-content:flex-end;gap:10px;padding-top:5px}input:focus-visible,button:focus-visible,textarea:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #4b8796;outline-offset:2px}[hidden]{display:none!important}@media(max-width:900px){.recipe-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tools{align-items:flex-start;flex-direction:column;gap:12px}}@media(max-width:700px){.topbar{height:72px;padding:0 18px}.brand{font-size:21px;gap:9px}.brand-mark{width:36px;height:36px}.header-add{width:40px;min-height:40px;padding:0;font-size:22px}.header-label{display:none}.content{padding:18px 16px 60px}.intro{grid-template-columns:1fr}.intro-copy{padding:29px 25px 25px}.intro h1{font-size:42px}.intro img{min-height:160px;max-height:160px}.collection{margin-top:34px}.collection h2{font-size:31px}.search{width:100%}.categories{flex-wrap:nowrap;width:calc(100vw - 32px);overflow-x:auto;padding-bottom:5px;scrollbar-width:none}.category{flex:none}.recipe-grid{grid-template-columns:1fr}.recipe-card{min-height:195px}}
.nav-actions{display:flex;align-items:center;gap:19px}.nav-actions form{margin:0}.text-link{border:0;background:transparent;padding:5px 0;color:#245466;text-decoration:none;font-size:14px;font-weight:700;white-space:nowrap}.text-link:hover{text-decoration:underline}.auth-page{max-width:640px;margin:50px auto;padding:0 18px 60px}.auth-card{background:#fffefa;border:1px solid var(--line);border-radius:16px;padding:35px;box-shadow:0 8px 28px #1f36320b}.auth-card.wide{max-width:640px}.auth-card h1{font:400 39px Georgia,serif;letter-spacing:-.04em;margin:10px 0}.auth-card h2{font:400 27px Georgia,serif;margin:30px 0 14px}.auth-card>p:not(.section-kicker){color:var(--muted);margin:0 0 24px}.stack-form{display:grid;gap:17px}.stack-form label{font-size:14px;font-weight:700}.stack-form input{display:block;width:100%;margin-top:7px;background:#fff;border:1px solid #cdd8d2;border-radius:7px;padding:10px 12px;min-height:43px;font-size:16px}.stack-form button{justify-self:start}.user-list{padding:0;margin:0;list-style:none}.user-list li{display:flex;justify-content:space-between;gap:15px;padding:14px 0;border-top:1px solid var(--line)}.user-list strong,.user-list small{display:block}.user-list small{color:var(--muted);overflow-wrap:anywhere}.role{font-size:13px;color:#55707a;font-weight:700}.users-heading{margin-top:35px!important}@media(max-width:800px){.nav-actions{gap:10px}.nav-actions .text-link{font-size:13px}}@media(max-width:700px){.nav-actions>a.text-link,.nav-actions form{display:none}.login-link{min-height:40px;padding:7px 12px;font-size:14px}.auth-page{margin:22px auto}.auth-card{padding:24px}.auth-card h1{font-size:34px}}@media(max-width:440px){.brand{font-size:18px}.brand-mark{width:33px;height:33px}.nav-actions .text-link{font-size:12px}.nav-actions{gap:6px}}
.desktop-account{display:flex;align-items:center;gap:19px}.mobile-account{display:none;position:relative}.mobile-account summary{cursor:pointer;font-size:14px;font-weight:700;color:var(--blue);padding:8px}.mobile-menu{position:absolute;z-index:10;right:0;top:100%;min-width:170px;padding:8px;background:#fffefa;border:1px solid var(--line);border-radius:8px;box-shadow:0 12px 24px #162e3329}.mobile-menu a,.mobile-menu button{display:block;width:100%;padding:10px;border:0;background:transparent;color:var(--ink);text-align:left;text-decoration:none;font-size:15px}.mobile-menu a:hover,.mobile-menu button:hover{background:#edf2ee}@media(max-width:800px){.desktop-account{display:none}.mobile-account{display:block}}@media(max-width:700px){.nav-actions form{display:block}}
.collection-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.collection-heading h2{margin-bottom:0}.random-button{border:1px solid #cadbd4;background:#e2ece7;white-space:nowrap}.random-button:hover{background:#d3e4dc}.random-result{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 20px;background:#e6edeb;border:1px solid #c8d8d1;border-radius:9px;padding:12px 17px}.random-result a{color:var(--blue);font-weight:700;white-space:nowrap}.recipe-card.is-picked{border-color:#7b9e93;box-shadow:0 0 0 3px #b6cec346}.recipe-details{margin-top:17px;border-top:1px solid #ebeeea;padding-top:13px}.recipe-details summary{color:#245466;font-weight:700;cursor:pointer;font-size:14px}.recipe-details summary:hover{text-decoration:underline}.recipe-detail-content{padding-top:6px;color:#354b54}.recipe-detail-content h4{font:400 20px Georgia,serif;margin:15px 0 8px}.recipe-detail-content ul,.recipe-detail-content ol{padding-left:22px;margin:0}.recipe-detail-content li{padding:2px 0;overflow-wrap:anywhere}.import-row{display:flex;align-items:center;gap:12px;margin:-6px 0 15px}.import-row .button{font-size:14px;min-height:38px}.import-row span{font-size:13px;color:#526a71;line-height:1.3}@media(max-width:700px){.collection-heading{align-items:flex-start;flex-direction:column}.random-result{align-items:flex-start;flex-direction:column;gap:6px}.import-row{align-items:flex-start;flex-direction:column}}
.source-hint{color:#61747a;font-size:13px;margin:-12px 0 13px}
.random-controls{display:grid;gap:6px}.random-controls label{font-size:14px;font-weight:700;color:#4d626b}.random-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.random-row select{min-height:43px;min-width:150px;padding:9px 28px 9px 11px;background:#fffefa;border:1px solid #cdd8d2;border-radius:8px;color:var(--ink);font-size:14px}.recipe-time{font-size:12px;color:#52717a;background:#e5efec;border-radius:30px;padding:4px 8px;white-space:nowrap}.card-actions{margin-left:auto}@media(max-width:700px){.random-controls{width:100%}.random-row select{flex:1}.random-row .random-button{flex:1}}
.brand-word{font:700 31px/1 Georgia,serif;letter-spacing:-.055em}.brand-dot{color:#a55e37}.brand .brand-word{white-space:nowrap}@media(max-width:700px){.brand-word{font-size:27px}}
.recipe-photo{display:block;width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:8px;margin-bottom:18px;background:#e6edeb}.image-remove{display:flex;align-items:center;gap:8px;font-size:14px;color:#4d626b;margin:-7px 0 13px}.image-remove input{width:18px;height:18px}.image-remove[hidden]{display:none}
[hidden]{display:none!important}.recipe-grid.is-focused{display:flex;justify-content:center}.recipe-grid.is-focused .recipe-card{width:min(100%,760px)}.recipe-tabs{display:flex;gap:7px;margin:15px 0 13px}.recipe-tab{flex:1;border:1px solid #cadbd4;border-radius:8px;background:#f2f5f1;color:#365361;padding:10px;font-weight:700;text-align:center}.recipe-tab.active{background:#173d4b;border-color:#173d4b;color:#fff}.recipe-tab:focus-visible,.recipe-check input:focus-visible,.clear-checks:focus-visible{outline:3px solid #a55e37;outline-offset:2px}.recipe-check{display:flex;align-items:flex-start;gap:10px;cursor:pointer;line-height:1.45;padding:5px 0}.recipe-check input{flex:none;width:19px;height:19px;margin:2px 0 0;accent-color:#276251}.recipe-check input:checked+span{text-decoration:line-through;color:#71827f}.recipe-detail-content li{padding:0}.clear-checks{margin-top:18px;border:0;background:transparent;color:#245466;text-decoration:underline;font-size:13px;font-weight:700;padding:5px 0}
.nav-actions>a.week-link{display:inline-flex}@media(max-width:440px){.nav-actions>a.week-link{font-size:12px}}
