.home-page .category-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.home-page .category-tile{padding:20px 16px;gap:12px;min-height:116px}.home-page .category-art{width:53px;height:56px;border-radius:17px}.home-page .category-art .icon{width:31px;height:31px}.home-page .category-tile h2{font-size:17px}.home-page .category-tile p{font-size:10px;letter-spacing:.2px}.category-tile.date{background:#f2e8e1}.date .category-art{background:linear-gradient(145deg,#fff8ef,#e2c6bb);color:#b27e6b;transform:rotate(5deg)}.tag.date,.menu-icon.date{color:#ac7f6a;background:#f1e3d7}.memory-card.date .memory-image:after{content:"";position:absolute;top:6px;left:14px;width:50px;height:16px;background:#cfb6a29c;transform:rotate(-17deg);clip-path:polygon(0 5%,100% 0,94% 100%,4% 90%)}.memory-card .date-card-meals{display:flex;align-items:center;gap:6px;color:#9c826b;font-size:10px;margin-top:8px}.date-card-meals .icon{width:13px;height:13px;flex-shrink:0}.date-grid{margin-top:5px}
.date-detail-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:8px 0 26px}.date-detail-heading h1{font-size:34px;letter-spacing:2px;font-weight:500;margin:8px 0 10px;overflow-wrap:anywhere}.date-detail-heading p{display:flex;align-items:center;gap:7px;font-size:12px;color:#a28b76}.date-detail-heading p .icon{width:15px;height:15px}.date-detail-heading small{font-size:9px;margin-left:8px;color:#b4a18b}.date-detail-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);align-items:start;gap:30px}.date-main,.date-aside{min-width:0}.date-cover .photo-gallery{display:block;margin:0}.date-cover .photo-gallery>button{width:100%;aspect-ratio:1.35;max-height:510px;border-radius:20px}.date-journal{margin-top:29px}.date-journal h2{font-size:22px;font-weight:500;letter-spacing:1px;margin:5px 0 19px}.date-journal .paper-note{min-height:130px}.date-aside{display:grid;gap:27px}.date-place-list{display:flex;flex-wrap:wrap;gap:9px}.date-place-list>span{display:inline-flex;align-items:center;gap:6px;font-size:12px;line-height:1.7;border-radius:25px;background:#eeecde;padding:7px 12px;overflow-wrap:anywhere;max-width:100%}.date-place-list .icon{width:14px;height:14px;color:#98a086}.date-food-section>.section-heading{margin-bottom:16px;gap:8px}.date-food-section h2{font-size:20px;font-weight:500;letter-spacing:.5px}.date-food-section .eyebrow{font-size:9px}.date-food-list{display:grid;gap:12px}.date-food-card{display:flex;align-items:center;gap:14px;background:var(--white);border:1px solid var(--line);padding:13px;border-radius:15px;min-width:0}.date-food-card>div:nth-child(2){flex:1;min-width:0}.date-food-card h3{font-size:16px;font-weight:500;margin:5px 0 3px;overflow-wrap:anywhere}.date-food-card p{font-size:10px;color:#aa947e;line-height:1.7;overflow-wrap:anywhere}.date-food-card small{display:block;font-size:10px;color:#91a07a;margin-top:7px}.date-food-card>.icon{width:15px;height:15px;color:#b8a58c}.date-food-photo{height:81px;width:81px;flex-shrink:0;border-radius:11px;overflow:hidden;position:relative;background:#f3eadf;display:grid;place-items:center;color:#bca388}.date-food-photo>img{height:100%;width:100%;object-fit:cover}.date-food-photo .live-badge{font-size:6px;padding:2px 4px;left:4px;bottom:4px;top:auto}.date-food-photo .live-badge .icon{height:8px;width:8px}.date-food-empty{padding:26px 18px;display:flex;align-items:center;gap:12px;color:#a59076;background:#f3ede2;border-radius:14px;font-size:11px;line-height:1.9}.date-food-empty>.icon{height:24px;width:24px;flex-shrink:0}.date-food-hint{font-size:10px;color:#b4a18c;margin:13px 3px 0}.food-date-backlinks{padding:16px 20px;margin:0 0 24px;background:#f4ece2;border:1px solid #ebe0cf;border-radius:14px}.food-date-backlinks>span{display:flex;align-items:center;gap:7px;font-size:11px;color:#a48a72;margin-bottom:9px}.food-date-backlinks>span>.icon{height:16px;width:16px}.food-date-backlinks>div{display:flex;flex-wrap:wrap;gap:9px}.food-date-backlinks a{display:flex;align-items:center;gap:12px;font-size:12px;padding:7px 12px;border-radius:10px;background:#fffcf6;max-width:100%;overflow-wrap:anywhere}.food-date-backlinks small{font-size:9px;color:#b09c83}.food-date-backlinks a>.icon{width:13px;height:13px;margin-left:auto;color:#a3a583}
.date-locations-editor{display:grid;gap:10px}.date-location-chips{display:flex;flex-wrap:wrap;gap:8px}.date-location-chips:empty{display:none}.date-location-chips>span{display:inline-flex;align-items:center;gap:5px;background:#eeeee1;color:#8a9275;border-radius:24px;padding:5px 7px 5px 10px;font-size:11px;max-width:100%;overflow-wrap:anywhere}.date-location-chips>span>.icon{height:13px;width:13px}.date-location-chips button{display:flex;align-items:center;justify-content:center;width:25px;height:25px;border-radius:50%;flex-shrink:0}.date-location-chips button:hover{background:#e4e6d3}.date-location-chips button>.icon{height:12px;width:12px}.date-location-add{display:flex;gap:9px}.date-location-add>input{flex:1;min-width:0}.date-location-add>.button{min-width:65px}.date-meals-editor{padding:20px;background:#f6f0e6;border:1px solid #e9dfcf;border-radius:16px}.date-meals-editor>h3{display:flex;gap:8px;align-items:center;font-size:16px;font-weight:500;margin:0 0 17px}.date-meals-editor>h3>.icon{height:18px;width:18px;color:#ae8c72}.date-linked-meals{display:grid;gap:9px}.date-meal-row{display:flex;align-items:center;gap:9px;padding:12px 10px;background:#fffdf7;border:1px solid #eae0d0;border-radius:11px}.date-meal-text{flex:1;min-width:0}.date-meal-text b{display:block;font-size:12px;font-weight:500;overflow-wrap:anywhere}.date-meal-text small{display:block;color:#ad9980;font-size:9px;margin-top:3px;overflow-wrap:anywhere}.date-meal-row>select{width:87px;flex-shrink:0;padding:7px 9px;font-size:11px;background:#fbf8ef}.date-meal-row>.icon-button{height:30px;width:30px;flex-shrink:0}.date-meal-row>.icon-button>.icon{width:14px;height:14px}.date-meal-add{display:grid;grid-template-columns:minmax(0,1fr) 95px auto;gap:10px;align-items:end;margin-top:16px}.date-meal-add>label{display:grid;gap:7px;font-size:10px;color:#a18b74;min-width:0}.date-meal-add select{font-size:12px;min-width:0;padding:9px 10px;width:100%;text-overflow:ellipsis}.date-meal-add>.button{min-height:39px}.date-new-food{margin:12px 0 5px;font-size:11px}.date-meals-editor>.muted{font-size:10px;line-height:1.8;margin:4px 0 0}
@media(min-width:701px) and (max-width:1050px){.home-page .category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-page .category-tile{min-height:103px;padding:19px}.home-page .category-tile h2{font-size:17px}.date-detail-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px}.date-food-card{gap:10px;padding:11px}.date-food-photo{height:65px;width:65px}.date-food-card h3{font-size:14px}}
@media(max-width:700px){.home-page .category-grid{grid-template-columns:1fr;gap:10px}.home-page .category-tile{min-height:77px;padding:13px 17px;gap:17px}.home-page .category-art{height:49px;width:49px;border-radius:15px}.home-page .category-art .icon{width:29px;height:29px}.home-page .category-tile h2{font-size:16px}.home-page #memories>.section-heading{flex-wrap:wrap;row-gap:11px}.home-page #memories .filter-pills{flex-basis:100%;justify-content:flex-start}.home-page #memories .filter-pills>button{padding:5px 14px}.date-detail-heading{align-items:flex-start;gap:14px;margin-bottom:22px}.date-detail-heading h1{font-size:27px;letter-spacing:1px;margin:7px 0 11px}.date-detail-heading>.button{font-size:10px;padding:8px 12px;min-height:35px;margin-top:18px;gap:6px}.date-detail-heading>.button .icon{width:14px;height:14px}.date-detail-heading p{font-size:11px}.date-detail-heading .eyebrow{font-size:8px;letter-spacing:1.3px}.date-detail-layout{grid-template-columns:1fr;gap:25px}.date-cover .photo-gallery>button{aspect-ratio:1.35;max-height:none;border-radius:17px}.date-journal{margin-top:24px}.date-journal h2{font-size:20px;margin-bottom:17px}.date-aside{gap:24px}.date-aside .aside-paper{padding:22px}.date-place-list>span{font-size:11px;padding:6px 11px}.date-food-section h2{font-size:20px}.date-food-card{padding:13px;gap:13px}.date-food-card h3{font-size:16px}.date-food-photo{height:78px;width:78px}.date-food-card p{font-size:10px}.food-date-backlinks{padding:15px 16px;margin-bottom:23px}.food-date-backlinks a{font-size:11px;width:100%;flex-wrap:wrap;gap:7px}.food-date-backlinks small{font-size:9px}.date-meals-editor{padding:17px 13px;border-radius:13px}.date-meals-editor>h3{font-size:15px}.date-meal-row{gap:6px;padding:10px 8px}.date-meal-row>select{width:74px;font-size:13px;padding:8px 6px}.date-meal-row>.icon-button{width:27px;height:30px}.date-meal-text b{font-size:12px}.date-meal-add{grid-template-columns:minmax(0,1fr) 78px;gap:9px}.date-meal-add>button{grid-column:1/-1;justify-self:start;min-height:35px;padding:7px 17px;font-size:11px}.date-meal-add>label{font-size:10px;line-height:1.7}.date-meal-add select{font-size:14px;padding:10px 8px}.date-location-add{gap:7px}.date-location-add>.button{font-size:11px;min-width:54px;padding:9px 12px}.date-meals-editor>.muted{font-size:9px}.date-new-food{font-size:11px;min-height:35px}.date-location-chips>span{font-size:10px}.date-card-meals{font-size:10px}}
@media(max-width:640px){#mobile-nav{padding-left:8px;padding-right:8px}#mobile-nav>a{min-width:0;flex:1}#mobile-nav .icon{width:21px;height:21px}#mobile-nav>a>span{font-size:9px}.home-page .category-grid .tile-arrow{display:block}.home-page #memories .filter-pills>button{font-size:10px;padding:5px 13px}}
