/* Optional discovery and deliberately kept work. Existing rooms retain their own design. */
.foundation-main{max-width:1080px;margin:auto;padding:clamp(20px,5vw,56px);color:#ebe6dc}
.foundation-main h1{font:clamp(2rem,5vw,3.5rem)/1.12 Georgia,serif;margin:.3em 0}
.foundation-main p{max-width:70ch;line-height:1.65}
.discovery-search{display:flex;gap:14px;flex-wrap:wrap;align-items:end;margin:28px 0}
.discovery-search label{display:grid;gap:8px;flex:1 1 10em;font-size:1rem}
.discovery-search label:first-child{flex:2 1 16em}
.discovery-search input,.discovery-search select{width:100%;min-height:48px;padding:12px;border:1px solid #6f7e92;border-radius:5px;background:#172332;color:#fff;font:inherit}
.foundation-main button,.seed-actions button,.seed-actions a,.seed-keep,.seed-study-link{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 16px;border:1px solid #8492a8;border-radius:5px;background:#213149;color:#fff;font:inherit;text-decoration:none;cursor:pointer}
.discovery-item{padding:25px 0;border-top:1px solid #46576f;break-inside:avoid}
.discovery-item h2{font:1.6rem/1.25 Georgia,serif;margin:10px 0}.discovery-item a{color:#f2debb;text-underline-offset:5px}.discovery-item p{margin:8px 0}.discovery-item small{color:#bfc9d6}.discovery-item .campus-eyebrow{text-transform:capitalize;letter-spacing:.04em;color:#c5d2e2}
#discovery-results{display:grid;grid-template-columns:1fr 1fr;gap:0 36px}
.foundation-main :focus-visible,.seed-actions :focus-visible,.seed-keep:focus-visible,.seed-study-link:focus-visible{outline:3px solid #efd2a0;outline-offset:4px}
.seed-desk{margin:24px auto;padding:24px;max-width:1050px;border:1px solid #6f7788;border-radius:8px;background:#172333;color:#f0e6d6;scroll-margin-top:90px}
.seed-desk h2{font:2rem/1.2 Georgia,serif}.seed-desk p{line-height:1.6}.seed-list{list-style:none;padding:0}.seed-list li{border-top:1px solid #55657a;padding:20px 0}.seed-list h3{font:1.4rem Georgia,serif}.seed-list a{color:#e9d1ab}.seed-actions{display:flex;flex-wrap:wrap;gap:12px}.seed-feedback{overflow-wrap:anywhere}.seed-empty{color:#ccd5e3}
@media(max-width:600px){#discovery-results{grid-template-columns:1fr}.foundation-main{padding:24px 18px}.campus-header{flex-wrap:wrap}.seed-desk{margin:18px 10px;padding:18px}.seed-actions>*{width:100%}}
/* Recipe history remains secondary to continuing a creation. */
.seed-list>li{padding:26px 0}.seed-list h3{margin:0 0 12px}.seed-list h4{font:1.15rem/1.4 Georgia,serif;overflow-wrap:anywhere;margin:12px 0 0}.seed-list details,.seed-transfer{margin-top:20px;border-top:1px solid #536276;padding-top:8px}.seed-desk summary{min-height:48px;padding:12px 0;cursor:pointer;font-weight:600}.seed-desk details button{min-height:46px;border:1px solid #8492a8;border-radius:5px;padding:10px 14px;background:#213149;color:#fff;font:inherit;cursor:pointer}.seed-list ol{padding-left:24px}.seed-list ol li{padding:14px 0}.seed-desk input[type=file]{display:block;max-width:100%;padding:12px 0;color:#fff;font:inherit;min-height:48px}.seed-transfer label{display:block;margin-top:20px}.seed-import-preview{overflow-wrap:anywhere}.seed-capacity{color:#becbdc;font-size:.95rem}.seed-desk :focus-visible{outline:3px solid #efd2a0;outline-offset:3px}.seed-list h3,.seed-list p,.seed-desk summary{overflow-wrap:anywhere}
@media(max-width:600px){.seed-list ol{padding-left:16px}.seed-desk details button{max-width:100%;white-space:normal}}

/* Home: find a creation, continue its latest copy, then inspect its history. */
.home-find{margin:22px 0 10px;padding:16px 0;border-block:1px solid #46576b}
.home-find label{display:block;font-weight:600;margin-bottom:8px}.home-find-row{display:flex;gap:8px;flex-wrap:wrap}
.home-find input{flex:1 1 12rem;min-width:0;max-width:100%;min-height:46px;padding:10px 12px;border:1px solid #8392a7;border-radius:5px;background:#101c29;color:#fff;font:inherit;box-sizing:border-box}
.home-find button{min-height:46px;padding:10px 14px;border:1px solid #8392a7;border-radius:5px;background:#213149;color:#fff;font:inherit;cursor:pointer}
.home-find-help,.home-find-result,.home-version-meta{font-size:.92rem;color:#c8d1dd}.home-find-help{margin:10px 0}.home-find-result{margin:8px 0 0;overflow-wrap:anywhere}
.home-version-mark{font-size:.72rem;letter-spacing:.11em;color:#e5c590;margin:0 0 10px!important}.home-version-meta{margin:8px 0}.home-match-note{padding:10px 12px;border-left:2px solid #d6bd8c;color:#e9ddc8}
.seed-list>li[hidden],.home-find[hidden],.home-find button[hidden],.home-match-note[hidden]{display:none!important}
.seed-list .home-backup{margin-top:14px}.home-backup p{font-size:.95rem}.seed-list>li>p:last-child{font-size:.92rem;color:#c8d1dd}
@media(max-width:600px){.home-find-row input{flex-basis:100%}.home-find-row button{flex:1}.seed-desk{padding:16px}.home-find{margin-top:18px}.home-version-mark{letter-spacing:.07em}}
