/* App-like discovery tiles. Every primary link opens the creator's original page. */
.directory,.workspace[data-view=search] .directory{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;max-width:none;margin-top:22px;border:0;align-items:stretch}
.entry.page-tile,.workspace[data-view=search] .entry.page-tile{position:relative;display:flex;flex-direction:column;align-items:stretch;min-width:0;margin:0;padding:0;gap:0;border:1px solid #e7eadf;border-radius:20px;background:#fffefb;box-shadow:0 2px 4px #263b1702;overflow:hidden;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.entry.page-tile:hover{transform:translateY(-3px);border-color:#b7c9a7;box-shadow:0 10px 24px #3048240a}
.page-tile .row-link{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:1;min-width:0;min-height:216px;padding:26px 16px 24px;gap:16px;text-align:center;color:inherit;text-decoration:none;border-radius:19px}
.page-tile .row-link:hover{opacity:1}.page-tile .row-link:focus-visible{outline-offset:-4px}
.page-glyph{position:relative;display:grid;place-items:center;width:76px;height:76px;flex-shrink:0;border-radius:22px;background:linear-gradient(145deg,#f2f6e9,#dce8cc);color:#536c3e;border:1px solid #fff;box-shadow:inset 0 1px 0 #ffffffcf,0 4px 9px #33462808;transition:transform .18s ease}
.page-glyph svg{width:34px;height:34px;filter:drop-shadow(0 1px 0 #fff9)}
.glyph-calculator{background:linear-gradient(145deg,#ecf3eb,#d4e1d2);color:#4d6d49}.glyph-music{background:linear-gradient(145deg,#f7ebe5,#edcfbc);color:#9c6246}.glyph-food{background:linear-gradient(145deg,#fff4d6,#ecddaa);color:#9c7c33}.glyph-housing{background:linear-gradient(145deg,#e6f1ed,#cee3dc);color:#447b69}.glyph-language{background:linear-gradient(145deg,#f0edf8,#ddd4ef);color:#7b65a1}.glyph-news{background:linear-gradient(145deg,#edf2f6,#d3e1ea);color:#587d94}
.page-tile:hover .page-glyph{transform:translateY(-2px) rotate(-2deg)}.row-copy{display:block;width:100%;min-width:0}.row-heading{display:flex;flex-direction:column;align-items:center;gap:5px;min-width:0}.page-tile h2{font-size:15px;font-weight:600;line-height:1.45;letter-spacing:-.4px;color:#34412c;margin:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.row-category{display:none}.row-desc{display:block;font-size:11px;line-height:1.65;color:#6e7b61;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-top:5px;max-width:100%}.row-open{position:absolute;right:14px;bottom:11px;font-size:14px;color:#819471;opacity:0;transition:opacity .15s}.page-tile:hover .row-open,.page-tile:focus-within .row-open{opacity:1}
.page-tile .save{position:absolute;top:2px;right:2px;display:grid;place-items:center;width:40px;min-width:40px;height:40px;min-height:40px;align-self:auto;padding:12px;margin:0;border:0;border-radius:12px;background:transparent;color:#9aa78f;opacity:0;box-shadow:none}.page-tile:hover .save,.page-tile:focus-within .save,.page-tile .save.saved{opacity:1}.page-tile .save:hover{background:#edf3e6;color:#4d6b37}.page-tile .save .icon{width:15px;height:15px;margin:0;align-self:center}.page-tile .save.saved{color:#52713d}.page-tile .save.saved .icon{fill:#c6dab0}
.page-tile .entry-controls{display:flex;justify-content:center;gap:18px;margin:0;padding:0 10px 10px;border:0}.page-tile .entry-controls button{font-size:11px;min-height:36px}.page-tile .status-label{font-size:10px;margin-top:2px}
.cover-preview{width:56px;height:56px;margin-top:12px}.cover-preview img{width:56px;height:56px;object-fit:contain}.cover-field label{margin-top:12px}.cover-field .fine:empty{display:none}.directory>.empty{grid-column:1/-1;width:100%}
@media(max-width:900px) and (min-width:601px){.directory,.workspace[data-view=search] .directory{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.directory,.workspace[data-view=search] .directory{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:16px}.entry.page-tile,.workspace[data-view=search] .entry.page-tile{border-radius:15px}.page-tile .row-link{min-height:166px;padding:24px 7px 16px;gap:12px;border-radius:14px}.page-glyph{width:58px;height:58px;border-radius:17px}.page-glyph svg{width:28px;height:28px}.page-tile h2{font-size:12px;letter-spacing:-.5px;line-height:1.4;white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.row-desc{font-size:10px;margin-top:5px;line-height:1.5;white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;min-height:30px;overflow-wrap:anywhere}.page-tile .save{opacity:.65;top:0;right:0;width:36px;min-width:36px;height:36px;min-height:36px;padding:11px}.page-tile .save .icon{width:13px;height:13px}.page-tile .entry-controls{flex-wrap:wrap;gap:2px 10px}.page-tile .entry-controls button{font-size:10px}.row-open{display:none}}
@media(max-width:359px){.directory,.workspace[data-view=search] .directory{gap:7px}.page-tile .row-link{padding-left:5px;padding-right:5px}.page-glyph{width:51px;height:51px;border-radius:15px}.page-tile h2{font-size:11px}.row-desc{font-size:9px}}
@media(hover:none){.page-tile .save{opacity:.65}.entry.page-tile:hover,.page-tile:hover .page-glyph{transform:none;box-shadow:none}}
@media(prefers-reduced-motion:reduce){.entry.page-tile,.page-glyph,.row-open{transition:none}.entry.page-tile:hover,.page-tile:hover .page-glyph{transform:none}}
/* A light launcher, rather than another wall of boxed cards. */
.entry.page-tile,.workspace[data-view=search] .entry.page-tile{border-color:transparent;background:transparent;box-shadow:none;border-radius:18px}.page-tile .row-link{min-height:178px;padding:19px 12px 17px;gap:14px}.entry.page-tile:hover{background:#ffffffb0;border-color:#e2e8d8;box-shadow:0 6px 20px #30482404}.page-glyph{width:72px;height:72px;border-radius:21px}.page-tile .save{top:0;right:0}.directory,.workspace[data-view=search] .directory{gap:14px 18px}.page-tile .row-desc{font-size:11px}
@media(max-width:600px){.directory,.workspace[data-view=search] .directory{gap:7px}.page-tile .row-link{min-height:154px;padding:22px 5px 10px;gap:11px}.page-glyph{width:56px;height:56px;border-radius:17px}.page-tile .row-desc{font-size:10px}.entry.page-tile:hover{background:transparent;border-color:transparent;box-shadow:none}}
