/* Player flow: one route summary, then materials and numbered recipes. */
.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}
.workshop{grid-template-columns:280px minmax(0,1fr);max-width:1420px;gap:30px}.workspace{min-width:0}.target-panel{padding-bottom:20px;min-height:112px}.target-panel h2{font-size:34px}.target-id{display:block;color:var(--muted);white-space:nowrap}.back-target{margin:0 0 12px;padding:8px 0;min-height:44px}.planner-status{padding:14px 16px;margin:0 0 18px;background:var(--raised);border-radius:8px;color:var(--teal)}
.settings-disclosure{margin-bottom:24px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}.settings-disclosure>summary{display:flex;gap:20px;align-items:center;justify-content:space-between;padding:16px 18px;cursor:pointer;list-style:none;min-height:70px}.settings-disclosure>summary::-webkit-details-marker{display:none}.settings-disclosure>summary strong{font-size:15px;display:block;font-weight:550}.settings-disclosure>summary #settings-summary{display:block;font-size:13px;color:var(--muted);line-height:1.8;margin-top:4px}.settings-disclosure>summary small{display:block;font-size:12px;color:var(--gold);margin-top:3px}.settings-action{color:var(--teal);font-size:13px;white-space:nowrap}.settings-action:after{content:' +';font-size:18px}.settings-disclosure[open] .settings-action:after{content:' -'}.settings-disclosure .settings{border:0;border-top:1px solid var(--line);border-radius:0;margin:0;background:transparent}.settings-disclosure .settings-title{grid-column:1/-1}.settings-disclosure .settings{grid-template-columns:repeat(3,minmax(0,1fr))}.settings-disclosure .settings-title .eyebrow{display:none}.settings-disclosure .settings-title p{margin:0}.settings input,.recipe-filters select{min-height:44px;font-size:16px}
.plan-heading{margin-bottom:16px}.plan-heading h2{font-size:28px}.plan-heading .eyebrow{font-size:11px}.path-controls{grid-template-columns:170px minmax(0,1fr);padding:14px 18px;gap:18px;margin-bottom:18px}.path-controls select{min-height:44px}.path-controls p{font-size:13px;line-height:1.6}.plan-overview{padding:22px;margin-bottom:24px;background:linear-gradient(135deg,#152c2b,#101f27)}.overview-title{margin-bottom:0;gap:24px;align-items:flex-start}.overview-title h3{font:25px Georgia,serif;margin:8px 0 0;line-height:1.4}.target-chance{max-width:245px;text-align:right;min-width:160px}.target-chance>span{font-size:12px;color:var(--muted);display:block;line-height:1.6}.target-chance>b{font-size:28px;color:var(--teal);display:block;font-weight:550;line-height:1.5}.target-chance>small{font-size:12px;color:var(--muted);line-height:1.6;display:block}.route-workload{font-size:13px;color:var(--muted);margin:15px 0;line-height:1.8}.plan-jumps{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.plan-jumps button{width:auto;margin:0;min-height:44px;font-size:14px}.plan-jumps .text-button{padding:10px 12px}.overview-empty{color:var(--muted);font-size:14px}.plan-overview:has(.overview-empty){padding:16px 18px}.tabs{margin-bottom:18px;gap:26px}.tabs button{min-height:44px;padding-top:8px;font-size:15px}
.total-cost{padding:16px 18px;margin:16px 0;border-color:#365d52;background:#122622}.total-cost h4{font:18px Georgia,serif;margin:7px 0 13px}.total-cost .eyebrow{font-size:10px;letter-spacing:.1em}.cost-headlines{display:grid;grid-template-columns:1.1fr 1fr;gap:22px;align-items:start}.total-expected strong{font-size:27px;line-height:1.35;font-variant-numeric:tabular-nums}.total-expected>span,.minimum-total>span{font-size:13px;line-height:1.6}.minimum-total{margin:0;padding:0;border:0}.minimum-total>b{font-size:22px;line-height:1.5;margin-top:8px;font-variant-numeric:tabular-nums}.cost-breakdown{margin-top:16px;gap:22px}.cost-breakdown b{font-size:15px;font-variant-numeric:tabular-nums}.cost-qualification{color:var(--muted);font-size:12px!important;line-height:1.7;margin-top:12px!important}.cost-details{margin-top:10px;border-top:1px solid #29483e;padding-top:10px}.cost-details summary{font-size:13px;line-height:1.8;color:var(--teal);cursor:pointer;min-height:30px}.total-cost .stats-caption{font-size:12px}.whole-path-rate{font-size:13px!important}.recipe-card .total-cost{padding:14px 16px}.recipe-card .total-cost h4{font-size:18px}.recipe-card .total-expected strong{font-size:23px}
.note{margin-bottom:16px;font-size:14px;line-height:1.7}.book-shopping{margin:16px 0;padding:16px}.book-shopping h4{margin-bottom:10px}.book-list-details{margin-top:10px}.book-list-details>summary{color:var(--teal);font-size:13px;cursor:pointer;min-height:30px;line-height:1.8}.no-books{padding:12px 16px;margin:12px 0}.no-books h4{font-size:14px;margin:0 0 4px}.book-quantity-row span{font-variant-numeric:tabular-nums}.book-quantity-note,.book-subtotals{font-size:12px}.section-label{margin:22px 0 10px}.section-label h3{font:23px Georgia,serif}.section-caption{font-size:14px;margin:0 0 17px;line-height:1.7}.starters-section,#ordered-steps{scroll-margin-top:22px;outline:0}.starters-section:focus-visible,#ordered-steps:focus-visible{outline:2px solid var(--teal);outline-offset:6px}.root-grid{gap:14px;align-items:start}.root-card{padding:16px}.root-title{font-size:16px}.source-detail{font-size:12px}.root-cost{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:12px;padding-top:12px}.root-cost>div+div{margin:0}.root-cost dt{font-size:12px}.root-cost dd{font-size:14px;line-height:1.5;font-variant-numeric:tabular-nums}.quantity{font-variant-numeric:tabular-nums}.source-map-details{font-size:12px}
#ordered-steps{margin-top:28px}.journey{display:grid;gap:0}.step-card{padding:18px 20px}.step-head h4{font-size:17px;line-height:1.6}.ingredient{font-size:14px;padding:8px 10px}.ingredient .slot{font-size:12px;font-weight:600}.ingredient-name{min-height:24px}.step-foot{font-size:12px;line-height:1.7;gap:16px}.step-chance{display:flex;gap:22px;flex-wrap:wrap;margin-top:14px;font-size:13px;color:var(--muted);line-height:1.8}.step-chance b{color:var(--teal);font-weight:550;margin-left:7px;font-variant-numeric:tabular-nums}.step-controls{padding-top:13px;margin-top:13px}.step-estimates,.candidate-estimates{margin-top:12px}.step-estimates>summary,.candidate-estimates>summary,.comparison-details>summary,.path-estimates>summary{font-size:14px;color:var(--teal);cursor:pointer;line-height:1.8;min-height:32px}.path-estimates{margin:24px 0 16px;padding:16px 18px}.path-estimates h3{margin-top:18px;font-size:20px}.comparison-details{border:1px solid var(--line);border-radius:9px;padding:14px 18px;margin:16px 0}.comparison-details .book-comparison{margin:16px 0 0;border:0;padding:0;background:transparent}.recipe-card{padding:20px;margin-bottom:16px}.recipe-title .candidate-tag{white-space:normal;text-align:right}.recipe-card>p{font-size:13px;line-height:1.7}.recipe-card>.quiet-button{min-height:44px;background:#18332f;color:var(--teal);border-color:#365d52}.candidate-estimates .benefit-note{font-size:13px}.empty-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.empty-actions button{margin-top:0!important;min-height:44px}.blocked-state p+p{margin-top:12px}.blocked-state{padding:24px}.recipe-dialog .branch-summary{grid-template-columns:1fr 1fr}.branch-rate-details{margin-top:12px}.branch-rate-details>summary{font-size:13px;color:var(--teal);cursor:pointer;min-height:36px;line-height:1.8}.recipe-dialog .branch-book-summary{font-size:13px}.recipe-dialog .recipe-sort-hint{font-size:12px}.recipe-dialog .recipe-dialog-head h2{font-size:24px}.recipe-dialog .recipe-filters{grid-template-columns:1fr 1fr 1.2fr;gap:12px}.recipe-dialog .recipe-sort-label{grid-column:auto}.recipe-dialog .branch-summary dd{font-size:20px}.recipe-dialog .branch-summary dt{font-size:13px}.recipe-dialog .branch-preview>summary{min-height:40px}.recipe-dialog .ingredient{font-size:14px}.recipe-dialog .recipe-dialog-head{gap:18px}.recipe-dialog .branch-roots{line-height:1.8}
@media(max-width:1200px){.workshop{grid-template-columns:245px minmax(0,1fr);gap:22px;padding:25px}.overview-title{flex-wrap:wrap;gap:12px}.target-chance{text-align:left;max-width:none}.target-chance>b{font-size:24px}.target-chance>small{max-width:380px}.plan-jumps{gap:8px}}
@media(max-width:800px){.workshop{grid-template-columns:minmax(0,1fr);padding:20px 16px 32px;gap:22px}.catalog-head h1{font-size:23px}.catalog .item-list{max-height:145px}.catalog .filters{padding:12px 16px}.catalog .search-box input{font-size:16px}.catalog .item-name{font-size:14px}.workspace{grid-column:1}.target-panel{gap:14px;min-height:105px;flex-wrap:wrap}.target-panel>div:nth-child(2){flex:1;min-width:0}.target-panel h2{font-size:27px;line-height:1.35}.target-id{font-size:12px;padding:0;margin:0 0 0 77px;align-self:auto}.settings-disclosure>summary{padding:14px;gap:12px;align-items:start;flex-wrap:wrap}.settings-action{font-size:13px}.settings-disclosure>summary #settings-summary{font-size:12px}.settings-disclosure{margin-bottom:20px}.settings-disclosure .settings{padding:15px}.settings input,.book-price-grid label{font-size:16px}.book-price-grid label{font-size:13px}.plan-heading h2{font-size:25px}.status-tag{margin-top:24px;max-width:125px}.path-controls{grid-template-columns:1fr;gap:10px;padding:14px;margin-bottom:16px}.path-controls p{font-size:12px}.plan-overview{padding:16px;margin-bottom:18px}.overview-title h3{font-size:23px}.overview-title{gap:14px}.target-chance{width:100%;border-top:1px solid var(--line);padding-top:12px}.target-chance>span{display:inline}.target-chance>b{display:inline;margin-left:10px;font-size:23px}.target-chance>small{font-size:12px;margin-top:4px}.total-cost{padding:14px;margin:14px 0}.cost-headlines{grid-template-columns:1fr;gap:16px}.total-expected strong{font-size:26px}.minimum-total{padding-top:12px;border-top:1px solid #29483e}.minimum-total>b{font-size:21px;margin-top:5px}.cost-breakdown{gap:14px}.cost-breakdown b{font-size:14px}.route-workload{font-size:12px}.plan-jumps{display:grid;grid-template-columns:1fr 1fr;gap:10px}.plan-jumps button{width:100%;font-size:13px;padding:10px 9px}.plan-jumps #best-path{grid-column:1/-1}.tabs{gap:20px}.tabs button{font-size:14px}.root-grid{grid-template-columns:1fr}.section-label h3{font-size:22px}.section-caption{font-size:13px}.root-title{font-size:16px}.root-card{padding:16px}.root-cost{gap:14px}.root-cost dt{font-size:12px}.root-cost dd{font-size:14px}.book-quantity-row{gap:12px;padding:10px 0}.book-quantity-row span small{font-size:12px}.book-quantity-row span{font-size:14px}.step-card{padding:16px 14px}.step-head h4{font-size:16px}.step-foot{font-size:12px}.step-chance{display:grid;gap:6px;font-size:13px}.step-chance span{display:flex;justify-content:space-between;gap:10px}.step-chance b{white-space:nowrap}.step-controls>div{gap:12px}.step-estimates>summary{font-size:13px}.recipe-card{padding:16px}.recipe-dialog .recipe-filters{grid-template-columns:1fr 1fr}.recipe-dialog .recipe-sort-label{grid-column:1/-1}.recipe-dialog .recipe-filters select{font-size:16px}.recipe-dialog .branch-summary{grid-template-columns:1fr;gap:12px}.recipe-dialog .recipe-dialog-head h2{font-size:21px}.recipe-dialog .recipe-sort-hint{font-size:12px}.comparison-details,.path-estimates{padding:14px}.cost-details summary,.book-list-details summary{min-height:36px}.recipe-title .candidate-tag{font-size:12px}.total-cost .stats-caption{font-size:12px}footer{flex-wrap:wrap;font-size:11px;padding:20px 16px}.settings .skill-hint{font-size:12px}}
@media(max-width:360px){.target-panel h2{font-size:24px}.plan-jumps{grid-template-columns:1fr}.tabs{gap:16px}.tabs button{font-size:13px}.total-expected strong{font-size:23px}.cost-breakdown{grid-template-columns:1fr;gap:10px}.root-cost{grid-template-columns:1fr;gap:12px}.recipe-dialog .recipe-filters{grid-template-columns:1fr}.recipe-dialog .recipe-sort-label{grid-column:auto}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.view{animation:none}}

.overview-title .eyebrow{font-size:11px;letter-spacing:.12em}.cost-headlines .minimum-total>span{color:#c4cfc9}
@media(max-width:800px){.target-panel{display:grid;grid-template-columns:60px minmax(0,1fr);gap:0 14px}.target-emblem{grid-column:1;grid-row:1/3;align-self:center}.target-panel>div:nth-child(2){grid-column:2}.target-id{grid-column:2;align-self:start;margin:10px 0 0;font-size:12px}.target-panel h2{font-size:27px}.target-meta{font-size:13px;gap:10px}.target-chance{padding-top:12px}}

.item-code{display:block;font-size:12px;font-weight:400;line-height:1.7;color:var(--muted);margin-top:4px}

.ingredient{min-height:44px}.ingredient-name[data-item]{min-height:44px;display:flex;align-items:center}.ingredient:has(button){padding-top:0;padding-bottom:0}

.overview-search-note{font-size:12px;color:var(--muted);line-height:1.7;margin:0 0 16px}

.candidate-overview{border:1px solid #365d52;background:#122622;border-radius:8px;padding:12px 16px;margin:0 0 16px}.candidate-overview .target-chance{text-align:left;max-width:none;border:0;padding:0;width:auto}.candidate-overview .target-chance>span{display:inline-block;margin-right:15px;font-size:13px}.candidate-overview .target-chance>b{display:inline-block;font-size:24px;margin:0}.candidate-overview .target-chance>small{max-width:none;margin-top:3px}.exact-chance-overview>span{font-size:13px}.target-chance{max-width:300px}.recipe-card .candidate-overview p{margin-top:0}
@media(max-width:800px){.candidate-overview{padding:12px}.candidate-overview .target-chance>span{display:block;margin:0 0 4px}.candidate-overview .target-chance>b{font-size:23px}.target-chance>span{display:block}.target-chance>b{display:block;margin:4px 0}.target-chance{max-width:none}}

.target-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px 16px;margin:0 0 18px}.target-actions button{min-height:44px;flex-shrink:0}.target-actions p{font-size:12px;color:var(--muted);line-height:1.7;flex:1;min-width:180px}.target-actions button[aria-pressed=true]{border-color:var(--gold);color:var(--gold)}.favorites-panel{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:0 8px 10px;padding:10px 12px}.favorites-panel>summary{color:var(--teal);font-size:14px;line-height:1.8;cursor:pointer;min-height:32px}.favorites-panel>summary span{display:inline-block;margin-left:8px;color:var(--gold);font-variant-numeric:tabular-nums}.favorite-storage-note,.favorites-empty{font-size:12px;line-height:1.7;color:var(--muted);margin:8px 0 12px}.favorite-storage-note:empty{display:none}#favorite-list{max-height:230px;overflow:auto;scrollbar-color:#36545a transparent}.favorite-row{display:flex;gap:8px;align-items:center;border-top:1px solid var(--line);padding:8px 0}.favorite-open{flex:1;min-width:0;text-align:left;border:0;background:transparent;padding:6px 0;color:var(--text);min-height:44px}.favorite-open b{display:block;font-size:14px;font-weight:550;line-height:1.5;overflow-wrap:anywhere}.favorite-open small{display:block;font-size:12px;color:var(--muted);line-height:1.7;margin-top:3px}.favorite-open:hover b{color:var(--teal)}.favorite-remove{min-height:44px;font-size:12px;padding:8px}.favorites-empty{margin:8px 0}.catalog:has(.favorites-panel[open]) .item-list{max-height:calc(100dvh - 590px);min-height:120px}
@media(max-width:800px){.target-actions{align-items:start;gap:10px 14px}.target-actions p{flex-basis:100%;font-size:12px}.favorites-panel{padding:10px 8px}.catalog:has(.favorites-panel[open]) .item-list{max-height:145px;min-height:80px}#favorite-list{max-height:190px}.target-actions button{font-size:14px}.favorite-open{min-height:48px}.favorite-remove{font-size:13px}}

.total-cost>.exact-chance-overview{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:3px 20px;width:100%;max-width:none;text-align:left;border:0;border-bottom:1px solid #365d52;padding:0 0 13px;margin:0 0 16px}.total-cost>.exact-chance-overview>span{display:block;font-size:13px;line-height:1.7;color:var(--muted)}.total-cost>.exact-chance-overview>b{display:block;font-size:24px;line-height:1.5;margin:0;text-align:right}.total-cost>.exact-chance-overview>small{grid-column:1/-1;max-width:none;margin:0;font-size:12px;line-height:1.7}.total-cost>.exact-chance-overview.direct-acquisition{grid-template-columns:1fr}.total-cost>.direct-acquisition>b{text-align:left;font-size:20px}
@media(max-width:800px){.total-cost>.exact-chance-overview{gap:4px 14px;padding-bottom:12px}.total-cost>.exact-chance-overview>span{font-size:13px}.total-cost>.exact-chance-overview>b{font-size:23px}.total-cost>.exact-chance-overview>small{font-size:12px}.total-cost>.direct-acquisition>b{font-size:19px}}
