/* SPRIG V1 · TREE ATLAS
   Forest green / sun-warmed apricot. Intentionally isolated from v4 theme. */
.atlas-page {max-width:1280px}
.atlas-page .page-head {margin-bottom:22px}
.atlas-page .page-head h1 em {font-weight:400;color:#D68B59}
.atlas-page .page-head p {max-width:670px}
.atlas-shell {margin-top:9px}
.atlas-shell .tree-heading {display:flex;align-items:center;justify-content:space-between;gap:16px;padding:28px 0 24px}
.atlas-shell .tree-heading h3 {font-size:clamp(27px,2.8vw,39px);letter-spacing:-.045em}
.atlas-shell .tree-heading h3 em {color:#d79060}
.atlas-shell .tree-heading p {max-width:650px;line-height:1.65;font-size:13px}
.atlas-demo-ribbon {display:flex;justify-content:space-between;align-items:center;gap:16px;background:linear-gradient(112deg,#173d2e,#24513a);color:#fffbf4;border:1px solid #315745;border-radius:17px;padding:17px 20px;margin-bottom:17px;box-shadow:0 9px 24px #183f2c12}
.atlas-demo-ribbon>div:first-child {display:flex;align-items:center;gap:14px;min-width:0}
.atlas-demo-icon {width:43px;height:43px;min-width:43px;display:grid;place-items:center;background:#fcdfc4;color:#25513b;border-radius:13px}
.atlas-demo-ribbon strong {display:block;font-size:15px;letter-spacing:-.01em}
.atlas-demo-ribbon small {display:block;color:#c6d8ca;font-size:11px;line-height:1.6;margin-top:3px}
.atlas-toggle {appearance:none;border:1px solid #8ea89a;background:#ffffff20;border-radius:999px;display:flex;align-items:center;gap:10px;color:#cde0d1;cursor:pointer;padding:6px 13px 6px 7px;min-width:95px;justify-content:space-between;transition:background .2s,border .2s;color:#fff;font-size:11px;font-weight:800;letter-spacing:.06em}
.atlas-toggle i {height:25px;width:25px;background:white;border-radius:50%;box-shadow:0 2px 6px #0016;transition:transform .25s}
.atlas-toggle.on {background:#edac78;border-color:#ffc899;color:#254536}
.atlas-toggle.on i {transform:translateX(9px)}
.atlas-filter-panel {background:#fffefb;border:1px solid #e4e6dd;border-radius:20px;padding:22px 23px 18px;margin:0 0 17px;box-shadow:0 11px 33px rgba(18,60,38,.035)}
.atlas-panel-head {display:flex;align-items:center;justify-content:space-between;gap:17px;margin-bottom:15px}
.atlas-panel-head h3 {font-size:27px;line-height:1.2;margin:3px 0 7px;color:#1f4534}
.atlas-panel-head p {font-size:11px;color:#778b7e;line-height:1.65;margin:0;max-width:650px}
.atlas-panel-head p strong {color:#345d43}
.atlas-filter-panel .tinycaps {color:#c17c50}
.atlas-presets {display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:17px}
.atlas-pill {display:flex;align-items:center;gap:7px;font-size:11px;font-weight:750;white-space:nowrap;cursor:pointer;color:#365e48;background:#f5f7f1;border:1px solid #e3ebdf;padding:9px 13px;border-radius:999px;transition:background .18s,transform .18s,border-color .18s}
.atlas-pill:hover {background:#edf3e8;transform:translateY(-1px)}
.atlas-pill.is-active {background:#1c4a35;border-color:#1c4a35;color:#fff;box-shadow:0 5px 11px #13432c1f}
.atlas-quick-lenses{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin:-1px 0 15px}
.atlas-quick-lenses>span{font-size:9px;letter-spacing:.13em;color:#af8b71;font-weight:900;margin-right:4px}
.atlas-quick-lenses>button{border:1px solid #f4d7bd;background:#fff5e9;color:#80593d;border-radius:999px;padding:7px 11px;display:flex;align-items:center;gap:6px;cursor:pointer;font-size:10px;font-weight:750;transition:transform .18s,background .18s}
.atlas-quick-lenses>button:hover{background:#ffe6cb;transform:translateY(-2px)}
.atlas-fields {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin-bottom:13px}
.atlas-field {display:flex;flex-direction:column;gap:8px;min-width:0;background:#f7f8f3;border:1px solid #e8ebe3;border-radius:12px;padding:12px 13px;min-height:88px}
.atlas-field>span {font-size:10px;font-weight:800;letter-spacing:.01em;color:#4e6a54}
.atlas-field>span b {background:#fee6d1;color:#98623d;padding:2px 7px;border-radius:6px;font-variant-numeric:tabular-nums}
.atlas-field small {font-size:9px;line-height:1.25;color:#879a88}
.atlas-field select,.atlas-show select {font-size:12px;color:#224d39;width:100%;background:#fff;border:1px solid #dbe5d8;border-radius:8px;min-height:34px;max-width:100%;padding:5px 9px;cursor:pointer}
.atlas-field input[type=range] {width:100%;accent-color:#d58955;cursor:pointer;margin:4px 0 0;height:17px}
.atlas-filter-footer {border-top:1px solid #e9eee7;display:flex;align-items:center;gap:12px;padding-top:15px;flex-wrap:wrap}
.atlas-search {display:flex;align-items:center;gap:9px;border:1px solid #dfe8dd;background:white;border-radius:10px;flex:1;min-width:230px;height:42px;padding:0 12px;color:#6b9176}
.atlas-search input {background:transparent;border:0;outline:0!important;min-width:0;width:100%;font-size:11px;color:#24513a}
.atlas-search input::placeholder {color:#96a69b}
.atlas-show {font-weight:750;font-size:10px;white-space:nowrap;color:#667a68;display:flex;align-items:center;gap:8px}
.atlas-show select {width:auto;min-width:130px}
.atlas-tally {margin-left:auto;display:flex;align-items:center;gap:7px;font-size:11px;color:#788a7b;white-space:nowrap}
.atlas-tally strong {font-size:17px;color:#1b4d32}
.atlas-dot {background:#eaaa74;box-shadow:0 0 0 4px #fceddc;width:7px;height:7px;border-radius:50%}
.atlas-map-toolbar {border-color:#e2e8df;background:#eaf1e9}
.atlas-shell .tree-board {border-color:#e1eadf;background-color:#fcfcf8;background-image:radial-gradient(#ceddd0 1px,transparent 1px);box-shadow:inset 0 4px 24px #31564007;scrollbar-color:#a8bea8 #eef4ec}
.atlas-shell .tree-lines path {stroke:#96b4a4;stroke-width:2.5}
.atlas-shell .tree-lines path.context-line {stroke:#c6d8ca;stroke-dasharray:5 5}
.atlas-shell .tree-lines path.highlight {stroke:#db9c6d;stroke-width:3.2;stroke-dasharray:none}
.atlas-tree-card {isolation:isolate!important;position:absolute;border-color:#cadbca;background:#fffefb;overflow:visible!important;border-radius:15px!important;padding:13px!important;transition:border-color .2s,box-shadow .2s,transform .2s,opacity .2s!important}
.atlas-tree-card:hover {z-index:4;transform:translateY(-3px)!important;box-shadow:0 15px 26px #183f3028!important}
.atlas-tree-card.selected {z-index:5;border-color:#d58b57!important;box-shadow:0 0 0 3px #ffe1c4,0 12px 26px #c3865636!important}
.atlas-tree-card.is-context:not(.selected) {opacity:.57}
.atlas-tree-card.is-context:hover {opacity:1}
.atlas-tree-card.isyou {background:#f2f7ec}
.atlas-tree-card.is-sim {background:#fffdf8}
.atlas-tree-card .map-card-top {gap:12px;min-width:0}
.atlas-tree-card .map-card-top img {width:70px;height:70px;object-fit:cover;border-radius:10px}
.atlas-tree-card .map-card-title {flex:1;min-width:0}
.atlas-tree-card .map-label {color:#af8158;font-size:9px}
.atlas-tree-card .map-card-title strong {font-size:14px;line-height:1.18;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.atlas-tree-card .map-card-bottom {border-top:1px solid #e5ebdf;padding-top:9px;gap:5px}
.atlas-tree-card .map-author-name {font-size:10px}
.atlas-tree-card .map-card-bottom .avatar {height:22px;width:22px;font-size:8px}
.atlas-drift-pill {background:#e8f1e6;color:#356c49;border:1px solid #d8e6d6;padding:5px 7px;font-size:9px;border-radius:999px;white-space:nowrap;font-weight:850;font-variant-numeric:tabular-nums}
.atlas-tree-card.selected .atlas-drift-pill {background:#ffead5;border-color:#f8cba9;color:#99623c}
.atlas-hidden-forks {position:absolute;right:-9px;top:-9px;background:#d99261;color:white;border:2px solid #fff;border-radius:999px;padding:5px 7px;font-size:9px;font-weight:900;box-shadow:0 3px 11px #8a4d2b33}
.atlas-shell .flavor-caption {margin-bottom:16px}
.atlas-shell .tree-detail {margin-top:16px}
.atlas-shell .spotlight-mini-dna {flex-wrap:wrap;display:flex;gap:7px;align-items:center}
.atlas-shell .spotlight-actions {display:flex;flex-wrap:wrap;gap:7px}
.atlas-shell .btn.orange {background:#f9d3b4;color:#5b3928;border-color:#f7bc8f}
.atlas-shell .btn.orange:hover {background:#ffbb87}
.atlas-credited {font-size:10px;background:#fff3e7;padding:8px 10px;border-radius:9px;margin-top:10px;color:#946846}
.atlas-insights {border:1px solid #e5e9df;background:#fffcf7;border-radius:20px;padding:23px;margin-top:25px;box-shadow:0 14px 30px #173f3010}
.atlas-insight-title {display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:17px}
.atlas-insight-title h3 {font-size:30px;line-height:1.1;margin:5px 0;color:#204934}
.atlas-sample-label {font-size:10px;color:#996d4e;background:#fff0e2;border:1px solid #f9dfc8;padding:8px 11px;border-radius:999px;text-align:center}
.atlas-metrics {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px}
.atlas-metrics>div {background:#f2f6ef;border:1px solid #e4ebe1;border-radius:14px;padding:15px 15px 13px;min-width:0;display:flex;flex-direction:column;gap:6px}
.atlas-metrics span {font-size:10px;color:#597460;font-weight:800;letter-spacing:.01em}
.atlas-metrics strong {font-family:var(--serif);font-size:34px;line-height:1;color:#244e38;font-weight:600;font-variant-numeric:tabular-nums}
.atlas-metrics strong em {font-family:inherit;font-size:14px;font-style:normal;color:#91a791}
.atlas-metrics small {font-size:10px;line-height:1.5;color:#87988a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.atlas-analytics-lower {display:grid;grid-template-columns:1.08fr .96fr 1.08fr;gap:12px}
.atlas-chart-box,.atlas-leaders,.atlas-decision {border:1px solid #ebeae2;background:#fff;border-radius:13px;padding:18px;min-width:0}
.atlas-chart-box>strong,.atlas-leaders>strong,.atlas-decision>strong {font-size:13px;color:#234c37;display:block}
.atlas-chart-box>p,.atlas-leaders>p,.atlas-decision>p {font-size:10px;color:#879589;line-height:1.6;margin:4px 0 13px}
.atlas-hist {display:flex;flex-direction:column;gap:9px}
.atlas-hist-row {display:flex;align-items:center;gap:8px;font-variant-numeric:tabular-nums}
.atlas-hist-row span {font-size:9px;width:37px;flex:none;color:#8a988d}
.atlas-hist-rail {flex:1;height:11px;border-radius:4px;background:#f4f5ef;overflow:hidden}
.atlas-hist-rail i {display:block;background:linear-gradient(90deg,#c7d6b9,#e3a475);height:100%;min-width:0;border-radius:4px;transition:width .35s}
.atlas-hist-row b {font-size:9px;width:26px;text-align:right;color:#486951}
.atlas-leaders>button {display:flex;gap:8px;align-items:center;width:100%;padding:7px 3px;color:#335640;border:0;border-bottom:1px solid #eef0ea;background:none;text-align:left;cursor:pointer}
.atlas-leaders>button:hover {background:#f7f8f2}
.atlas-leaders .avatar {width:26px;height:26px;font-size:9px}
.atlas-leaders button>span:nth-last-child(2) {font-size:11px;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;flex:1}
.atlas-leaders button>b {font-size:11px;color:#bd7b4d}
.atlas-rank {font-size:9px;color:#b7c4b7}
.atlas-leaders>small {display:block;font-size:9px;color:#9ea79a;margin-top:10px;line-height:1.5}
.atlas-decision {background:#fdf1e5;border-color:#f6ddc6;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.atlas-burst {width:43px;height:43px;border-radius:14px;background:#eec297;color:#244b38;display:grid;place-items:center;margin-bottom:13px}
.atlas-decision>p {font-size:11px;color:#865f4b;margin:9px 0 15px}
.atlas-decision button {margin-top:auto}
.atlas-collab {margin-top:16px;background:linear-gradient(110deg,#224c37,#163e2d);border-radius:19px;color:#f9f9ef;padding:23px;display:grid;grid-template-columns:.92fr 1.16fr;gap:25px}
.atlas-collab .tinycaps {color:#e9b894}
.atlas-collab h3 {font-size:29px;line-height:1.1;color:#fff9eb;margin:7px 0}
.atlas-collab>div:first-child>p {font-size:11px;line-height:1.7;color:#c6d5c7;max-width:350px}
.atlas-collab>div:first-child>p strong {color:#fff0dc}
.atlas-proposals {background:#fffefa;color:#234d3a;border:1px solid #e7ebe1;border-radius:13px;padding:17px;min-width:0}
.atlas-proposals-head {display:flex;justify-content:space-between;gap:6px;align-items:center;border-bottom:1px solid #e9ece5;padding-bottom:10px;margin-bottom:6px}
.atlas-proposals-head strong {font-size:12px}
.atlas-proposals-head>button {font-size:10px;background:none;border:0;color:#af7656;cursor:pointer;display:flex;gap:4px;align-items:center}
.atlas-proposal {padding:11px 1px;border-bottom:1px solid #ecf0ea;display:flex;justify-content:space-between;gap:10px;align-items:center}
.atlas-proposal:last-child {border-bottom:0}
.atlas-proposal b {font-size:12px;color:#24523a}
.atlas-proposal small {display:block;color:#9b795b;font-size:9px;margin-top:5px}
.atlas-proposal p {font-size:10px;margin:7px 0 0;color:#6b866f}
.atlas-proposal-actions {display:flex;gap:5px;flex-wrap:wrap;flex-shrink:0}
.atlas-no-proposals {padding:20px 3px;color:#8ca08f;font-size:11px;line-height:1.7}
.atlas-modal {width:min(590px,100%);max-width:590px!important}
.atlas-explain-steps {display:grid;gap:10px;margin:23px 0}
.atlas-explain-steps>div {display:flex;align-items:flex-start;gap:13px;background:#f7f8f2;border:1px solid #e6eade;border-radius:12px;padding:12px 14px}
.atlas-explain-steps i {flex:none;background:#f6d4b4;color:#74523b;border-radius:8px;font-size:12px;font-style:normal;font-weight:900;padding:9px 10px}
.atlas-explain-steps strong {font-size:13px;color:#1a4932}
.atlas-explain-steps p {font-size:11px;margin:5px 0 0!important;color:#738677;line-height:1.55}
.atlas-real-note {font-size:11px;line-height:1.65;background:#fff1e4;border-radius:10px;color:#8d6a4f;padding:13px 15px;margin-bottom:16px}
.atlas-real-note strong {color:#77482b}
@media(max-width:1000px){.atlas-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.atlas-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.atlas-analytics-lower{grid-template-columns:1fr 1fr}.atlas-decision{grid-column:1 / -1}.atlas-decision>p{max-width:500px}.atlas-collab{grid-template-columns:1fr}.atlas-collab>div:first-child>p{max-width:none}}
@media(max-width:640px){
 .atlas-page .page-head{margin-bottom:17px}
 .atlas-shell .tree-heading{flex-direction:column;align-items:flex-start;gap:10px}
 .atlas-shell .tree-heading>.btn{align-self:stretch;justify-content:center}
 .atlas-demo-ribbon{padding:13px;gap:9px}.atlas-demo-icon{width:36px;min-width:36px;height:36px}.atlas-demo-ribbon strong{font-size:12px}.atlas-demo-ribbon small{font-size:9px}.atlas-toggle{min-width:69px;gap:5px;padding:4px 8px 4px 5px}.atlas-toggle i{height:21px;width:21px}
 .atlas-filter-panel{padding:17px 13px 14px;border-radius:15px}
 .atlas-panel-head{align-items:flex-start;flex-wrap:wrap}.atlas-panel-head h3{font-size:24px}.atlas-panel-head .btn{margin-left:auto}
 .atlas-presets{gap:6px}.atlas-pill{padding:8px 10px;font-size:10px}
 .atlas-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.atlas-field{padding:10px 9px;min-height:79px}.atlas-field>span{font-size:9px}.atlas-field select{font-size:10px}
 .atlas-filter-footer{gap:9px}.atlas-search{min-width:100%;flex-basis:100%}.atlas-tally{margin-left:0}
 .atlas-map-toolbar{height:auto;min-height:54px;padding:10px;flex-wrap:wrap}.atlas-map-toolbar .map-toolhint{line-height:1.5;max-width:100%;flex-wrap:wrap;font-size:8px}.atlas-map-toolbar .map-controls{margin-left:auto}
 .atlas-shell .tree-board{min-height:330px;max-height:500px}
 .atlas-insights{padding:15px;margin-top:17px}.atlas-insight-title{flex-wrap:wrap}.atlas-insight-title h3{font-size:26px}.atlas-sample-label{font-size:9px}
 .atlas-metrics{gap:7px}.atlas-metrics>div{padding:12px 11px}.atlas-metrics strong{font-size:29px}.atlas-metrics small{font-size:9px}.atlas-analytics-lower{grid-template-columns:1fr}.atlas-decision{grid-column:auto}
 .atlas-collab{padding:16px;gap:14px}.atlas-collab h3{font-size:27px}.atlas-proposals{padding:13px}
}

@media(max-width:640px){.atlas-quick-lenses{align-items:flex-start;gap:6px}.atlas-quick-lenses>span{flex-basis:100%}.atlas-quick-lenses>button{font-size:9px;padding:7px 9px}}
@media(prefers-reduced-motion:reduce){.atlas-quick-lenses>button,.atlas-tree-card,.atlas-hist-rail i{transition:none!important}}

/* Keep the recipe map in view; detailed controls are available when wanted. */
.atlas-essentials {display:flex;align-items:center;gap:10px}
.atlas-essentials .atlas-search {min-width:0;height:44px}
.atlas-essentials>.btn {flex:none;min-height:44px}
.atlas-filter-summary {display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:11px;margin:12px 0;color:#6b8171}
.atlas-filter-summary strong {color:#245038}
.atlas-disclosure {border:1px solid #e0e7db;border-radius:16px;background:#fffefb;margin-top:14px;min-width:0}
.atlas-disclosure>summary {cursor:pointer;font-weight:800;font-size:13px;color:#315b40;padding:16px;min-height:48px;list-style-position:inside;overflow-wrap:anywhere}
.atlas-disclosure>summary>span {font-size:10px;font-weight:500;color:#7c8e7c;margin-left:8px}
.atlas-disclosure>summary:hover {background:#f2f6ed;border-radius:15px}
.atlas-disclosure>summary:focus-visible {outline:3px solid #d99462;outline-offset:3px}
.atlas-disclosure[open]>summary {border-bottom:1px solid #e8ede3}
.atlas-disclosure-body {padding:17px}
.atlas-filter-details {border:0;border-top:1px solid #e7ecdf;border-radius:0;margin-top:4px;background:transparent}
.atlas-filter-details>summary {padding:13px 0;font-size:12px}
.atlas-filter-details>.atlas-disclosure-body {padding:12px 0 0}
.atlas-budget-note {font-size:10px;color:#7e927e;flex:1}
.atlas-insights.atlas-disclosure {padding:0;box-shadow:none}
.atlas-collaboration-details .atlas-collab {margin:0;border-radius:0 0 15px 15px}
.atlas-demo-details .atlas-demo-ribbon {margin:0;border:0;border-radius:0 0 15px 15px;box-shadow:none}
.atlas-paging {display:flex;align-items:center;justify-content:space-between;gap:10px;margin:12px 0;font-size:11px;color:#6c826e}
.atlas-paging .btn {min-height:40px}
.atlas-shell .tree-lines path.collapsed-line {stroke-dasharray:4 5;stroke:#be936e}
.atlas-gap-label {font-size:9px;fill:#8c674b;font-family:var(--sans);paint-order:stroke;stroke:#fcfcf8;stroke-width:4px;stroke-linejoin:round}
.atlas-tree-card .map-label {white-space:normal;font-size:8px;line-height:1.3}
.atlas-shell .tree-board:focus-visible {outline:3px solid #d99462;outline-offset:3px}
@media (max-width:640px) {
 .atlas-essentials {align-items:stretch;flex-wrap:wrap}
 .atlas-essentials .atlas-search {flex-basis:100%}
 .atlas-essentials>.btn {margin-left:auto}
 .atlas-disclosure>summary>span {display:block;margin:5px 0 0 16px;line-height:1.4}
 .atlas-disclosure-body {padding:13px}
 .atlas-filter-summary {align-items:flex-start;line-height:1.5}
 .atlas-paging {font-size:10px;gap:6px}
 .atlas-paging .btn {font-size:10px;padding:9px}
 .atlas-demo-details .atlas-demo-ribbon {flex-wrap:wrap}
}

/* First visit: explain the recipes before explaining the map. */
.page .page-head.explorer-heading {margin-bottom:0}
.explorer-heading p {max-width:760px;font-size:12px;line-height:1.6}
.explorer-views .explorer-view-label {display:flex;flex-direction:column;align-items:flex-start;gap:4px}
.explorer-views .explorer-view-label small {font-size:10px;font-weight:500;line-height:1.35}
.explorer-views+.lab-pick-wrap {margin:17px 0 12px}
.explorer-current {margin:0;padding:10px 0 0;font-size:11px;line-height:1.65;color:#718573}
.explorer-current strong {color:#2d573d}
.atlas-shell .tree-heading {padding:12px 0 10px;margin-bottom:8px}
.atlas-shell .tree-heading h3 {font-size:clamp(25px,2.4vw,33px)}
.atlas-shell .tree-heading p {font-size:11px}
.atlas-reading-guide {margin:0 0 16px;min-width:0}
.atlas-reading-guide>p {font-size:11px;line-height:1.65;margin:0 0 9px;color:#6c826f;max-width:820px}
.atlas-reading-guide>p strong {color:#315c40}
.atlas-example {display:flex;gap:10px;list-style:none;margin:0;padding:0;max-width:950px}
.atlas-example>li {display:flex;align-items:center;gap:10px;flex:1;min-width:0}
.atlas-example>li>svg {flex:none;color:#bd865e}
.atlas-example button {display:flex;flex-direction:column;gap:4px;align-items:flex-start;width:100%;min-width:0;text-align:left;border:1px solid #e4e9dc;background:#f5f8ef;border-radius:11px;padding:9px 11px;color:#31563d;cursor:pointer}
.atlas-example button:hover {background:#ecf3e3;border-color:#bbd2ae}
.atlas-example button:focus-visible {outline:3px solid #d99462;outline-offset:2px}
.atlas-example button small {font-size:9px;color:#7f927c;font-weight:700;line-height:1.35}
.atlas-example button span {font-size:11px;font-weight:700;line-height:1.45;overflow-wrap:anywhere}
@media(max-width:640px) {
 .explorer-views {gap:7px}
 .explorer-views>.btn {flex:1;padding:10px 11px;min-width:0}
 .explorer-views .explorer-view-label small {font-size:9px;text-align:left}
 .explorer-current {font-size:10px}
 .atlas-example {display:block}
 .atlas-example>li {gap:9px;margin-top:5px}
 .atlas-example>li>svg {transform:rotate(90deg);width:13px;margin-left:8px}
 .atlas-example>li:first-child {margin-left:30px}
 .atlas-example button {padding:7px 10px;gap:2px}
 .atlas-example button small {font-size:9px}
 .atlas-example button span {font-size:10px}
 .atlas-shell .tree-heading h3 {font-size:25px}
}
/* A single scrollable row keeps alternate starting recipes within reach without burying the map. */
.explorer-views+.lab-pick-wrap .lab-root-picker {flex-wrap:nowrap;max-height:none;padding-bottom:8px;margin-bottom:0;scrollbar-width:thin}
.atlas-pan-hint {display:flex;align-items:flex-start;gap:7px;font-size:11px;line-height:1.5;color:#687f69;margin:0 0 9px}
.atlas-pan-hint>svg {flex:none;margin-top:2px}
.explorer-recipe-choices {margin-top:7px;font-size:11px;min-width:0}
.explorer-recipe-choices>summary {cursor:pointer;color:#547a54;font-weight:700;min-height:32px;padding:6px 0;list-style-position:inside}
.explorer-recipe-choices>summary:focus-visible {outline:3px solid #d99462;outline-offset:2px;border-radius:5px}
.explorer-recipe-choices[open]>.root-picker {margin-top:8px}
.explorer-sample-note {display:block;font-size:10px;color:#96734e;margin-top:3px}

/* The recipes come first; explanations stay one click away. */
.explorer-topline {display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}
.explorer-topline .explorer-heading h1 {font-size:30px;line-height:1.15;margin:0}
.explorer-topline .explorer-views {margin:0;gap:6px;flex:none}
.explorer-topline .explorer-views .btn {padding:9px 12px;font-size:11px;min-height:38px;gap:6px}
.lab-pick-wrap.explorer-selection {display:flex;align-items:baseline;flex-wrap:wrap;gap:5px 16px;margin:0 0 7px}
.explorer-selection .explorer-current {padding:0;display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 12px;font-size:12px;line-height:1.5;margin:0;flex:1}
.explorer-selection .explorer-current>span {font-size:10px;white-space:nowrap}
.explorer-selection .explorer-recipe-choices {margin:0;flex:none}
.explorer-selection .explorer-recipe-choices>summary {font-size:11px;padding:5px 0;min-height:28px}
.explorer-selection .explorer-recipe-choices[open] {flex-basis:100%}
.explorer-selection .lab-root-picker {flex-wrap:nowrap;max-height:none;margin:5px 0 0;padding:0 0 8px}
.explorer-help {font-size:11px;color:#607b64;margin:0 0 8px}
.explorer-help>summary {cursor:pointer;min-height:28px;padding:4px 0;font-weight:700;list-style-position:inside}
.explorer-help>p {font-size:12px;line-height:1.6;max-width:760px;margin:8px 0}
.explorer-help>.atlas-reading-guide {padding:12px 0 0}
.atlas-compact {margin-top:0}
.atlas-compact .atlas-filter-panel {padding:0;margin:0 0 8px;border:0;border-radius:0;background:transparent;box-shadow:none}
.atlas-compact .atlas-essentials {gap:8px;flex-wrap:nowrap}
.atlas-compact .atlas-essentials .atlas-search {flex:1;flex-basis:auto;min-width:0;height:40px}
.atlas-compact .atlas-essentials>.btn {min-height:40px;font-size:11px;padding:9px 12px}
.atlas-compact .atlas-filter-summary {font-size:10px;line-height:1.4;margin:7px 0 0;align-items:center}
.atlas-compact .atlas-filter-details {margin:5px 0 0;border-top:0}
.atlas-compact .atlas-filter-details>summary {font-size:11px;min-height:28px;padding:5px 0;display:list-item;list-style-position:inside}
.atlas-compact .atlas-filter-details>summary>span {display:inline;margin-left:5px}
.atlas-compact .atlas-pan-hint {margin:0 0 6px;font-size:10px;line-height:1.4}
.atlas-compact .atlas-map-toolbar {min-height:44px;height:auto;padding:7px 10px;gap:8px}
.atlas-compact .atlas-paging {margin:7px 0;font-size:10px}
.atlas-compact .atlas-paging .btn {min-height:32px;padding:6px 10px}
@media(max-width:640px){
 .explorer-topline {align-items:flex-start;flex-direction:column;gap:10px;margin-bottom:12px}
 .explorer-topline .explorer-heading h1 {font-size:28px}
 .explorer-topline .explorer-views {width:100%;flex-wrap:nowrap;gap:7px}
 .explorer-topline .explorer-views>.btn {flex:1;justify-content:center;padding:9px 10px;font-size:11px}
 .lab-pick-wrap.explorer-selection {gap:3px 12px;margin-bottom:3px}
 .explorer-selection .explorer-current {font-size:11px;flex-basis:100%;gap:2px 9px}
 .explorer-selection .explorer-recipe-choices {width:100%}
 .atlas-compact .atlas-essentials>.btn {font-size:10px;padding:9px 10px}
 .atlas-compact .atlas-map-toolbar {flex-wrap:wrap;padding:7px 8px}
 .atlas-compact .atlas-map-toolbar .map-controls {gap:1px}
 .atlas-compact .atlas-map-toolbar .map-toolhint {font-size:8px}
}
.explorer-topline .page-head.explorer-heading {padding:0;background:transparent;border:0;border-radius:0;margin:0}

/* A clear filter entry point without restoring a large pre-map panel. */
.atlas-compact .atlas-filter-details {margin-top:7px}
.atlas-compact .atlas-filter-details > .atlas-filter-toggle {
  display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:10px 14px;
  background:var(--atlas-filter-button-bg,#214e38);color:var(--atlas-filter-button-text,#fffaf1);
  border:1px solid var(--atlas-filter-button-bg,#214e38);border-radius:10px;
  list-style:none;font-size:12px;line-height:1.35;font-weight:750;cursor:pointer;
}
.atlas-filter-toggle::-webkit-details-marker {display:none}
.atlas-compact .atlas-filter-details > .atlas-filter-toggle > span {display:inline-flex;align-items:center;margin:0;color:inherit;font-size:inherit}
.atlas-filter-toggle > svg,.atlas-filter-chevron {flex:none}
.atlas-compact .atlas-filter-details > .atlas-filter-toggle:hover {background:var(--atlas-filter-button-hover,#2a6046)}
.atlas-compact .atlas-filter-details > .atlas-filter-toggle > .atlas-filter-count {
  padding:3px 7px;border-radius:99px;background:var(--atlas-filter-active-bg,#f1bd91);
  color:var(--atlas-filter-active-text,#294433);font-size:10px;font-weight:800;
}
.atlas-filter-chevron {transition:transform .15s ease}
.atlas-filter-details[open] .atlas-filter-chevron {transform:rotate(180deg)}
.atlas-compact .atlas-filter-details[open] > .atlas-disclosure-body {
  margin-top:9px;padding:17px;background:var(--atlas-filter-surface,#fffef9);
  border:1px solid var(--atlas-filter-border,#b7c9ae);border-radius:12px;
  box-shadow:0 5px 16px #25452e0a;
}
.atlas-compact .atlas-filter-details .atlas-field > span,.atlas-compact .atlas-filter-details .atlas-show {
  color:var(--atlas-filter-label,#46634b);font-size:12px;font-weight:700;
}
.atlas-compact .atlas-filter-details :is(select,input[type="range"]) {min-height:44px}
.atlas-compact .atlas-filter-details input[type="range"] {accent-color:var(--atlas-filter-button-bg,#214e38)}
@media(max-width:640px){
 .atlas-compact .atlas-filter-details[open] > .atlas-disclosure-body {padding:14px}
 .atlas-compact .atlas-filter-details > .atlas-filter-toggle {min-height:44px;padding:10px 13px}
}
@media(prefers-reduced-motion:reduce){.atlas-filter-chevron{transition:none}}

/* One view switch, one recipe picker, one compact search/filter row. */
.explorer-topline {flex-wrap:wrap;gap:12px;margin-bottom:14px}
.explorer-topline .explorer-views {display:flex;flex-wrap:wrap;gap:5px}
.explorer-topline .explorer-views>.btn {min-height:44px;font-size:11px;padding:9px 12px}
.explorer-topline .page-title {margin-bottom:0}
.explorer-selection {display:flex;align-items:center;gap:10px;margin:0 0 14px;min-width:0}
.explorer-recipe-picker {display:flex;align-items:center;gap:10px;min-width:0;font-size:11px;font-weight:700;color:#526d55}
.explorer-recipe-picker>span {flex:none}
.explorer-recipe-picker select {min-height:44px;max-width:100%;min-width:0;padding:9px 30px 9px 12px;border:1px solid #bacbb2;border-radius:10px;background:#fafbf5;color:#284b35;font:inherit;font-size:12px;cursor:pointer}
.atlas-compact .atlas-filter-panel {position:relative;--filter-space:116px;margin-bottom:10px}
.atlas-compact .atlas-filter-panel:has(.atlas-filter-count) {--filter-space:146px}
.atlas-compact .atlas-essentials {padding-right:var(--filter-space);min-height:44px}
.atlas-compact .atlas-essentials .atlas-search {height:44px}
.atlas-compact .atlas-essentials>.btn {min-height:44px}
.atlas-compact .atlas-filter-details {margin:0}
.atlas-compact .atlas-filter-details>.atlas-filter-toggle {position:absolute;right:0;top:0;min-height:44px;margin:0;padding:10px 12px;font-size:12px}
.atlas-compact .atlas-filter-details[open]>.atlas-disclosure-body {margin-top:10px}
.atlas-compact .atlas-filter-summary {min-height:22px;font-size:11px;margin:5px 0 0}
.atlas-compact .atlas-pan-hint {display:none}
.atlas-compact .atlas-map-toolbar {margin-top:0}
.atlas-compact .explorer-help {margin:12px 0}
.ingredient-board {border:1px solid #c5d2bd;border-radius:16px;background:#f6f8ef;padding:18px}
.ingredient-view-note {font-size:12px;line-height:1.6;color:#536d56;margin:0 0 16px}
.ingredient-view-note:last-child {margin:18px 0 0}
.ingredient-group+.ingredient-group {margin-top:22px}
.ingredient-group>h2 {font-size:23px;margin:0 0 10px;display:flex;align-items:center;gap:10px}
.ingredient-group>h2>span {font:700 11px var(--sans);color:#546e51;background:#e4ecd9;border-radius:20px;padding:4px 8px}
.ingredient-version-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:10px}
.ingredient-version {display:flex;align-items:flex-start;gap:12px;padding:15px;width:100%;min-width:0;border:1px solid #bfceb5;border-radius:13px;background:#fffef9;color:#284b35;text-align:left;cursor:pointer;transition:border-color .18s ease,box-shadow .18s ease}
.ingredient-version:hover {border-color:#63835b;box-shadow:0 4px 15px #234c3610}
.ingredient-version.selected {border-color:#ac754b;box-shadow:0 0 0 2px #dca3726b}
.ingredient-version.is-context {opacity:.65}
.ingredient-version>img {flex:none;width:56px;height:56px;border-radius:10px;object-fit:cover}
.ingredient-version-copy {display:flex;flex-direction:column;gap:6px;min-width:0;overflow-wrap:anywhere}
.ingredient-version-copy>strong {font:400 21px/1.15 var(--serif)}
.ingredient-version-copy small {font-size:11px;color:#5f755d;line-height:1.5}
.ingredient-change-lines {display:flex;flex-direction:column;gap:4px;font-size:12px;line-height:1.5;color:#425e45}
.ingredient-parent {border-top:1px solid #e0e7d9;padding-top:6px}
.ingredient-change-score {font-size:10px;font-weight:700;color:#596d4f}
.ingredient-empty {font-size:13px;line-height:1.5;color:#5f755d}
@media(max-width:1050px){.explorer-topline {align-items:flex-start;flex-direction:column}}
@media(max-width:640px){
 .explorer-topline .explorer-views {display:grid;grid-template-columns:1fr 1.35fr 1fr;width:100%;gap:5px}
 .explorer-topline .explorer-views>.btn {padding:9px 5px;font-size:10px;gap:4px;white-space:normal;line-height:1.3}
 .explorer-topline .explorer-views>.btn>svg {display:none}
 .explorer-recipe-picker {display:grid;gap:5px;width:100%}
 .explorer-recipe-picker select {width:100%;font-size:12px}
 .explorer-selection {flex-wrap:wrap;margin-bottom:12px}
 .atlas-compact .atlas-essentials>.btn {width:44px;min-width:44px;padding:10px}
 .atlas-compact .atlas-essentials>.btn>span {display:none}
 .atlas-compact .atlas-essentials {gap:6px}
 .atlas-compact .atlas-essentials .atlas-search {padding:0 9px;gap:6px}
 .atlas-compact .atlas-filter-summary {font-size:10px}
 .atlas-compact .atlas-map-toolbar .map-toolhint {font-size:9px}
 .ingredient-board {padding:12px}
 .ingredient-version {padding:12px;gap:10px}
 .ingredient-version>img {width:44px;height:44px}
 .ingredient-version-copy>strong {font-size:20px}
}
@media(prefers-reduced-motion:reduce){.ingredient-version{transition:none}}

/* Folding is a view setting: recipe ancestry and credits stay intact. */
.atlas-map-overview {display:flex;align-items:center;gap:10px 16px;flex-wrap:wrap;min-width:0}
.atlas-generations {display:inline-flex;align-items:center;gap:7px;color:#4d674f;font-size:11px;font-weight:700;text-transform:none;letter-spacing:0}
.atlas-generations select {max-width:190px;min-height:36px;padding:7px 25px 7px 9px;border:1px solid #b9cbb1;border-radius:9px;background:#fbfcf5;color:#31583d;font:inherit;cursor:pointer}
.atlas-compact .atlas-map-toolbar {flex-wrap:wrap;row-gap:8px}
.atlas-compact .atlas-expand-all {font-size:10px;white-space:nowrap;min-height:36px;padding:7px 10px}
.atlas-branch-toggle {position:absolute;z-index:3;display:flex;align-items:center;justify-content:center;gap:4px;width:48px;min-height:44px;padding:7px 3px;border:1px solid #a6bd9c;border-radius:22px;background:#f5f8ed;color:#345b3c;font-size:11px;font-weight:800;box-shadow:0 3px 9px #1b443518;cursor:pointer;transition:background .18s ease,border-color .18s ease}
.atlas-branch-toggle>span:first-child {font-size:18px;line-height:1;font-weight:500}
.atlas-branch-toggle:hover {background:#e0ebd4;border-color:#618154}
.atlas-branch-toggle.is-folded {background:#f4d0ae;border-color:#c39064;color:#583c28}
html[data-theme="dark"] .atlas-generations {color:var(--theme-muted)}
html[data-theme="dark"] .atlas-branch-toggle {background:#34513a;border-color:#7d9a6f;color:#e4eede}
html[data-theme="dark"] .atlas-branch-toggle:hover {background:#425f45;border-color:#a6c997}
html[data-theme="dark"] .atlas-branch-toggle.is-folded {background:#efba91;border-color:#f2cba8;color:#283c2a}
@media(max-width:640px){
 .atlas-map-overview {width:100%;justify-content:space-between;gap:6px}
 .atlas-map-overview .map-toolhint {font-size:8px!important;flex:1;min-width:110px}
 .atlas-generations {font-size:10px;gap:5px}
 .atlas-generations select {max-width:155px;min-height:44px;font-size:10px;padding-left:7px}
 .atlas-compact .atlas-map-toolbar .map-controls {margin-left:auto;flex-wrap:wrap;justify-content:flex-end}
 .atlas-compact .atlas-expand-all {font-size:10px;min-height:44px}
}
@media(prefers-reduced-motion:reduce){.atlas-branch-toggle{transition:none}}
.atlas-filter-count>.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}

/* Every Explorer view occupies the same frame, including its navigation. */
html {scrollbar-gutter:stable}
.workspace>.page:is(.atlas-page,.lab-page) {width:100%;max-width:none;min-width:0}
.workspace>.atlas-page .ingredient-group:not(.ingredient-original) .ingredient-version-grid {grid-template-columns:repeat(auto-fill,minmax(min(100%,290px),1fr))}
html body .page .explorer-views>.btn:hover {transform:none}
html body .page .explorer-views>.btn:active {transform:none!important}
@media(min-width:1151px){
 .workspace>.lab-page .lab-feature-grid {grid-template-columns:minmax(0,1fr) clamp(290px,30%,400px)}
}

/* Map quality is explicit public feedback; edit distance remains in details. */
html body .page .atlas-rating-pill{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;min-width:74px;padding:5px 8px;border:1px solid hsl(var(--rating-hue,70) 30% 66%);border-radius:9px;background:hsl(var(--rating-hue,70) 55% 83%);color:#263d2b;font:800 10px/1.5 var(--sans,system-ui,sans-serif);font-variant-numeric:tabular-nums;white-space:nowrap}
html body .page .atlas-rating-pill.is-unrated{background:#e6e9e5;border-color:#cbd1c9;color:#4d594b;font-weight:700;font-size:9px}
.atlas-tree-card .map-card-bottom>span:first-child{min-width:0;overflow:hidden}
.atlas-tree-card .map-author-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.atlas-compact .atlas-field>span output{display:inline-block;min-width:32px;padding:2px 7px;background:#f1bd91;border:1px solid #c59368;border-radius:6px;color:#294433;font-weight:850;font-variant-numeric:tabular-nums;text-align:center;opacity:1;visibility:visible}
.atlas-map-size{flex:1;min-width:min(100%,320px)}
.atlas-size-heading{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:10px}
.atlas-size-heading strong{font-size:12px;color:var(--ink,#294433)}
.atlas-size-heading>span{font-size:10px;color:var(--theme-muted,#5f755d)}
.atlas-size-controls{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.atlas-size-presets{display:flex;gap:6px}
.atlas-size-presets button{min-width:42px;min-height:44px;padding:7px 9px;border:1px solid var(--theme-line,#c4d1bb);border-radius:10px;background:var(--theme-surface,#fffef8);color:var(--ink,#294433);font:800 11px/1.4 var(--sans);cursor:pointer}
.atlas-size-presets button.active{background:var(--highlight-fill,#f1bd91);border-color:var(--highlight-edge,#b98964);color:var(--highlight-ink,#294433)}
.atlas-custom-size{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--theme-muted,#5f755d)}
.atlas-custom-size input{width:75px;max-width:90px;min-height:44px;border:1px solid var(--theme-line,#c4d1bb);border-radius:10px;padding:8px 10px;background:var(--theme-surface,#fffef8);color:var(--ink,#294433);font:700 12px/1.4 var(--sans)}
.atlas-context-choice{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-height:44px;color:var(--ink,#294433);font-size:12px;font-weight:650;cursor:pointer}
.atlas-context-choice input{width:18px;height:18px;accent-color:#719465;margin:0}
.atlas-context-choice small{width:100%;font-size:10px;font-weight:400;color:var(--theme-muted,#5f755d);padding-left:26px}
.atlas-filter-footer>.atlas-budget-note{flex-basis:100%;line-height:1.6}
.atlas-map-size :is(button,input):focus-visible,.atlas-context-choice input:focus-visible{outline:3px solid var(--highlight-edge,#b98964);outline-offset:3px}
@media(max-width:640px){.atlas-map-size{min-width:100%}.atlas-size-controls{gap:8px}.atlas-size-presets{gap:5px}.atlas-size-presets button{min-width:39px;padding-inline:8px}.atlas-custom-size input{width:68px}.atlas-context-choice{margin-top:6px}}
