:root {
	color-scheme: light;
	--paper: #f4f5ed;
	--ink: #20231d;
	--muted: #777b70;
	--line: #dfe2d7;
	--green: #d9f36c;
	--green-dark: #31421e;
	--white: #fffef9;
	--shadow: 0 18px 55px rgba(32, 35, 29, .12);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "DM Sans", sans-serif; }
button, input { font: inherit; }
button { color: inherit; }
.shell { width: min(1440px, 100%); margin: auto; padding: 0 56px; }
.topbar { height: 78px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; color: inherit; text-decoration: none; font: 700 17px "Space Grotesk", sans-serif; }
.brand-mark { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 9px; background: var(--green); color: var(--green-dark); font-size: 18px; transform: rotate(-7deg); }
.topnav { display: flex; align-items: center; gap: 26px; color: var(--muted); font-size: 13px; }
.topnav a { color: inherit; text-decoration: none; }
.topnav a:hover { color: var(--ink); }
.topnav .submit-link { color: var(--ink); font-weight: 700; }
.intro { padding: 61px 0 37px; display: flex; justify-content: space-between; align-items: end; gap: 32px; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 13px; color: var(--muted); font: 500 11px "DM Mono", monospace; text-transform: uppercase; letter-spacing: 0; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #8caf29; box-shadow: 0 0 0 3px #e3edc4; }
h1 { margin: 0; font: 600 clamp(40px, 5.5vw, 70px)/.99 "Space Grotesk", sans-serif; letter-spacing: 0; }
h1 span { color: #8a9f3d; }
.intro-note { max-width: 265px; margin: 0 0 6px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.toolbar { display: flex; align-items: center; gap: 20px; justify-content: space-between; padding: 17px 0 20px; border-top: 1px solid var(--line); }
.filters { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.filter { padding: 9px 13px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: var(--muted); cursor: pointer; font-size: 12px; font-weight: 600; transition: background .18s, color .18s, border-color .18s; }
.filter:hover { color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.filter .count { margin-left: 5px; opacity: .65; font: 11px "DM Mono", monospace; }
.search-wrap { display: flex; align-items: center; width: min(275px, 100%); height: 39px; padding: 0 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); color: var(--muted); }
.search-wrap:focus-within { border-color: #96aa49; box-shadow: 0 0 0 3px rgba(150, 170, 73, .13); }
.search-icon { font-size: 17px; line-height: 1; }
.search-wrap input { min-width: 0; flex: 1; padding: 0 0 0 9px; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 12px; }
.search-wrap input::placeholder { color: #999c92; }
.results-line { display: flex; align-items: center; justify-content: space-between; padding: 0 0 13px; color: var(--muted); font: 11px "DM Mono", monospace; text-transform: uppercase; }
.sort-label { color: #9a9d93; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; padding-bottom: 70px; }
.shortcut-card { min-width: 0; position: relative; padding: 15px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; animation: arrive .35s both; }
.shortcut-card:hover { transform: translateY(-3px); border-color: #c8d09e; box-shadow: 0 10px 25px rgba(32, 35, 29, .07); }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.shortcut-art { display: grid; place-items: center; width: 51px; aspect-ratio: 1; flex: 0 0 auto; border-radius: 13px; font-size: 25px; box-shadow: inset 0 1px rgba(255,255,255,.55); }
.art-green { background: linear-gradient(145deg, #daf275, #b5d944); }
.art-peach { background: linear-gradient(145deg, #ffc09f, #ff8f72); }
.art-blue { background: linear-gradient(145deg, #b7e8e1, #71c8ba); }
.art-yellow { background: linear-gradient(145deg, #ffe29a, #ffbd52); }
.art-lilac { background: linear-gradient(145deg, #ded0ff, #b9a1ed); }
.art-pink { background: linear-gradient(145deg, #ffc6d1, #f28ca5); }
.art-sky { background: linear-gradient(145deg, #c5dcff, #8eb9f5); }
.art-mint { background: linear-gradient(145deg, #c1edc1, #83d394); }
.save-button { display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid transparent; border-radius: 50%; background: transparent; color: #8b8e83; cursor: pointer; font-size: 18px; transition: color .15s, background .15s; }
.save-button:hover { background: #f1f3e9; color: var(--ink); }
.save-button[aria-pressed="true"] { color: #d2604c; }
.card-meta { display: flex; align-items: center; gap: 7px; margin-top: 14px; color: #85897d; font: 10px "DM Mono", monospace; text-transform: uppercase; }
.meta-dot { width: 3px; height: 3px; border-radius: 50%; background: #b5b8ac; }
.shortcut-card h2 { margin: 7px 0 5px; font: 600 18px "Space Grotesk", sans-serif; letter-spacing: 0; }
.shortcut-card p { min-height: 38px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.card-bottom { display: flex; align-items: flex-start; flex-direction: column; gap: 10px; margin-top: 15px; padding-top: 12px; border-top: 1px solid #eef0e8; }
.time-saved { color: #77804f; font: 10px "DM Mono", monospace; }
.card-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; }
.open-recipe { border: 0; padding: 9px 4px; background: none; cursor: pointer; font-size: 11px; font-weight: 700; }
.open-recipe:hover { color: #72852d; }
.add-shortcut { display: inline-flex; justify-content: center; align-items: center; min-height: 34px; padding: 8px 10px; border: 0; border-radius: 6px; background: var(--green); color: var(--ink); text-decoration: none; cursor: pointer; white-space: nowrap; font-size: 11px; font-weight: 700; transition: background .15s, transform .15s; }
.add-shortcut:hover { background: #cbe858; transform: translateY(-1px); }
.empty-state { grid-column: 1 / -1; padding: 70px 20px; text-align: center; color: var(--muted); }
.empty-state strong { display: block; margin-bottom: 7px; color: var(--ink); font: 600 22px "Space Grotesk", sans-serif; }
footer { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0 27px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
footer span:last-child { font-family: "DM Mono", monospace; }
dialog { width: min(480px, calc(100% - 28px)); max-height: min(720px, calc(100% - 32px)); padding: 0; overflow: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--white); color: var(--ink); box-shadow: var(--shadow); }
dialog::backdrop { background: rgba(26, 29, 22, .38); backdrop-filter: blur(3px); }
.dialog-inner { padding: 24px; }
.dialog-head { display: flex; justify-content: space-between; align-items: flex-start; }
.dialog-icon { display: grid; place-items: center; width: 54px; aspect-ratio: 1; border-radius: 14px; font-size: 27px; }
.close-dialog { width: 32px; height: 32px; border: 0; border-radius: 50%; background: #f0f1e9; cursor: pointer; font-size: 18px; }
.dialog-kicker { margin: 22px 0 7px; color: #788448; font: 11px "DM Mono", monospace; text-transform: uppercase; }
dialog h2 { margin: 0; font: 600 30px "Space Grotesk", sans-serif; }
.dialog-description { margin: 8px 0 20px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.steps-title { margin: 0 0 10px; font: 500 11px "DM Mono", monospace; text-transform: uppercase; color: #8b8e83; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.steps li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid #eceee6; font-size: 13px; }
.steps li::before { counter-increment: steps; content: counter(steps, decimal-leading-zero); color: #92a343; font: 11px "DM Mono", monospace; }
.dialog-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 20px; }
.requirements { color: var(--muted); font: 10px "DM Mono", monospace; }
.copy-button { padding: 11px 14px; border: 0; border-radius: 6px; background: var(--green); color: var(--ink); cursor: pointer; font-size: 12px; font-weight: 700; }
.copy-button:hover { background: #cbe858; }
.toast { position: fixed; z-index: 5; bottom: 22px; left: 50%; transform: translate(-50%, 15px); padding: 11px 16px; border-radius: 6px; background: var(--ink); color: white; opacity: 0; pointer-events: none; font-size: 12px; transition: opacity .2s, transform .2s; }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }
@keyframes arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1050px) { .shell { padding: 0 32px; } .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .shell { padding: 0 20px; } .topbar { height: 66px; } .topnav { gap: 14px; } .topnav a:first-child { display: none; } .intro { padding: 43px 0 28px; display: block; } h1 { font-size: clamp(43px, 10vw, 64px); } .intro-note { max-width: 330px; margin-top: 15px; } .toolbar { align-items: flex-start; flex-direction: column-reverse; gap: 12px; } .filters { width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 3px; } .filter { flex: 0 0 auto; } .search-wrap { width: 100%; } .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; } .shortcut-card { padding: 12px; } .shortcut-card h2 { font-size: 16px; } .shortcut-card p { font-size: 11px; } .time-saved { font-size: 9px; } .card-actions { align-items: stretch; flex-direction: column; } .open-recipe { text-align: left; } .add-shortcut { width: 100%; } footer { flex-direction: column; gap: 6px; } }
@media (max-width: 390px) { .gallery { grid-template-columns: 1fr; } .shortcut-card p { min-height: auto; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }