.obt-tool{--obt-border:var(--ob-line,#cbd9c9);--obt-ink:var(--ob-ink,#1a3327);--obt-muted:var(--ob-muted,#52685b);--obt-green:var(--ob-green,#276b49);--obt-paper:var(--ob-paper,#fffdf5);color:var(--obt-ink);min-width:0}
.obt-tool *{box-sizing:border-box}.obt-tool [hidden]{display:none!important}.obt-tool button,.obt-tool input{font:inherit}.obt-tool button,.obt-tool .obt-tabs>a{border:1px solid #acc6ae;border-radius:7px;background:#fffef9;color:var(--obt-green);padding:7px 11px;cursor:pointer;font-size:.84rem;line-height:1.4}.obt-tool button:hover,.obt-tool .obt-tabs>a:hover{background:#edf5e8;border-color:#669870}.obt-tool button:disabled{opacity:.45;cursor:default}.obt-tool button:focus-visible,.obt-tool input:focus-visible,.obt-tool a:focus-visible,.obt-tool summary:focus-visible,.obt-tool canvas:focus-visible{outline:3px solid #35774d;outline-offset:3px}.obt-tool a{color:var(--obt-green)}.obt-tool h1,.obt-tool h2,.obt-tool h3,.obt-tool p{overflow-wrap:anywhere}.obt-tool h1{margin:0 0 12px;font-size:clamp(1.9rem,3.4vw,2.65rem);line-height:1.15}.obt-tool h2{margin:0 0 14px;font-size:1.2rem;line-height:1.3}.obt-tool h3{margin:0 0 9px;font-size:1rem;line-height:1.35}.obt-tool p{margin:0 0 14px}.obt-heading{padding:27px 30px 22px;margin-bottom:20px;border:1px solid var(--obt-border);border-radius:14px;background:linear-gradient(120deg,#fffdf5,#e9f3e3)}.obt-heading>p:last-child{margin-bottom:0;max-width:75ch;color:var(--obt-muted);font-size:.95rem}.obt-panel{min-width:0;padding:20px;border:1px solid var(--obt-border);border-radius:11px;background:var(--obt-paper);margin-bottom:17px}.obt-field{display:grid;gap:6px;margin-bottom:13px;font-size:.78rem;font-weight:750;min-width:0}.obt-field input[type=search]{width:100%;height:40px;padding:0 11px;border:1px solid #a7c1aa;border-radius:7px;background:white;color:var(--obt-ink);font-size:.9rem;font-weight:400}.obt-muted{color:var(--obt-muted);font-size:.8rem}.obt-label{display:block;font-size:.71rem;font-weight:750;letter-spacing:.03em;color:var(--obt-muted);margin-bottom:5px}.obt-empty{padding:17px;border-radius:8px;background:#edf4e8;color:var(--obt-muted);font-size:.88rem}.obt-warning{padding:12px 15px;border:1px solid #d9ba71;background:#fff3d1;color:#6f4618;border-radius:8px;font-size:.84rem}.obt-section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 15px}.obt-section-head h2{margin:0}.obt-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:13px;font-size:.75rem}.obt-tabs{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 18px}.obt-tabs>a{text-decoration:none}.obt-tabs button[aria-pressed=true],.obt-tabs button[aria-selected=true],.obt-tabs>a[aria-current]{background:var(--obt-green);border-color:var(--obt-green);color:white}.obt-icon{display:inline-flex;width:36px;height:36px;object-fit:contain;flex:none;vertical-align:middle}.obt-icon-fallback{align-items:center;justify-content:center;border-radius:7px;background:#e7efe0;border:1px solid #c3d5bb;color:#547649;font-size:.9rem;font-weight:750}.obt-note{margin-top:15px!important}.obt-chips{display:flex;flex-wrap:wrap;gap:6px}.obt-tool .obt-chip{display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:5px 7px;border:1px solid #d1dec8;border-radius:7px;background:#f3f7ed;font-size:.75rem;line-height:1.3;text-align:left}.obt-chip .obt-icon{width:25px;height:25px;font-size:.7rem}.obt-chip b{white-space:nowrap;margin-left:auto}.obt-chip span{overflow-wrap:anywhere}.obt-tool .obt-chip[aria-pressed=true]{background:#d9eccc;border-color:#43865a;color:#164b32}

.obt-tool img.obt-icon{padding:4px;background:#43664a;border-radius:6px}

/* Crafting */
.obt-craft-layout{display:grid;grid-template-columns:minmax(215px,.8fr) minmax(0,1.6fr);align-items:start;gap:18px}.obt-picker{position:sticky;top:80px;padding:15px}.obt-picker>.obt-muted{margin-bottom:8px}.obt-pick-list{max-height:clamp(300px,65vh,650px);overflow:auto;overscroll-behavior:contain;padding:2px 4px 2px 2px}.obt-tool .obt-pick{display:flex;width:100%;align-items:center;gap:9px;text-align:left;margin-bottom:6px;padding:8px;border-color:#d4dfcf;background:#fbfcf5}.obt-pick>span:not(.obt-icon){display:grid;gap:2px;flex:1;min-width:0}.obt-pick strong{font-size:.8rem;font-weight:700}.obt-pick small{color:var(--obt-muted);font-size:.7rem}.obt-pick>b{font-size:1.2rem;font-weight:400}.obt-work{min-width:0}.obt-queue-row{display:flex;align-items:center;flex-wrap:wrap;gap:9px;padding:12px 0;border-top:1px solid var(--obt-border)}.obt-queue-item{display:flex;align-items:center;gap:8px;min-width:115px;flex:1;font-size:.85rem}.obt-quantity{display:flex;align-items:stretch}.obt-tool .obt-quantity button{padding:4px 8px;min-width:30px;border-radius:0}.obt-tool .obt-quantity button:first-child{border-radius:6px 0 0 6px}.obt-tool .obt-quantity button:last-child{border-radius:0 6px 6px 0}.obt-quantity input{width:58px;padding:4px;border:1px solid #acc6ae;border-left:0;border-right:0;border-radius:0;background:white;color:var(--obt-ink);text-align:center;font-size:.86rem;-moz-appearance:textfield}.obt-quantity input::-webkit-inner-spin-button,.obt-quantity input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.obt-tool .obt-text-button{border:0;background:none;padding:5px 0;font-size:.75rem;text-decoration:underline;text-underline-offset:3px}.obt-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:0 0 17px}.obt-stats:empty{display:none}.obt-stats>div{padding:15px 10px;background:#245f43;color:white;border:1px solid #245f43;border-radius:9px;text-align:center}.obt-stats strong{display:block;font-size:1.65rem;line-height:1.2}.obt-stats span{display:block;margin-top:6px;font-size:.71rem;color:#deeddb}.obt-material-list{padding:0;margin:0;list-style:none}.obt-material-list li{display:flex;align-items:center;gap:10px;border-top:1px solid var(--obt-border);padding:10px 0;font-size:.88rem}.obt-material-list li>span{flex:1}.obt-material-list li>strong{font-size:1.05rem}.obt-plan-steps{padding-left:25px;margin:0 0 28px}.obt-plan-steps>li{padding:0 0 16px 6px;margin:0 0 15px;border-bottom:1px solid var(--obt-border)}.obt-plan-steps>li::marker{font-weight:800;color:var(--obt-green)}.obt-step-head{display:flex;align-items:center;gap:9px;font-size:.86rem}.obt-step-head>strong{flex:1}.obt-plan-steps p{font-size:.73rem;color:var(--obt-muted);margin:7px 0 9px}.obt-tree,.obt-tree ul{list-style:none;padding-left:14px;margin:7px 0}.obt-tree{padding-left:0;font-size:.82rem}.obt-tree ul{border-left:1px solid #c2d6b9}.obt-tree summary{cursor:pointer;line-height:1.7}.obt-tree summary>.obt-icon,.obt-tree-label>.obt-icon{width:24px;height:24px;margin-right:6px}.obt-tree summary small,.obt-tree-label small{color:var(--obt-muted);font-size:.7rem}.obt-tree-qty{font-size:.72rem;color:var(--obt-muted)}.obt-tree-label{display:inline-flex;align-items:center;gap:4px;flex-wrap:wrap}

/* Production */
.obt-resource-options{display:flex;align-items:flex-start;flex-wrap:wrap;gap:7px;max-height:245px;overflow:auto;padding:3px}.obt-spotlight{margin-top:18px;border-color:#9db993;background:#f4f8ed}.obt-selected-resource{display:flex;align-items:center;gap:13px;margin-bottom:20px}.obt-selected-resource>.obt-icon{width:58px;height:58px}.obt-selected-resource h2{margin:0}.obt-selected-resource small{color:var(--obt-muted);font-size:.76rem}.obt-chain-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px}.obt-chain-columns>section{min-width:0}.obt-chain-columns h3{color:#497c4d;font-size:.8rem;text-transform:uppercase;letter-spacing:.05em}.obt-chain-card{padding:13px;border:1px solid #c7d9bf;border-radius:9px;background:#fffef8;margin-bottom:9px}.obt-chain-card header{display:flex;align-items:center;gap:8px;font-size:.8rem;margin-bottom:11px}.obt-chain-card header>.obt-icon{width:30px;height:30px}.obt-chain-card header>strong{flex:1}.obt-chain-card p{margin:11px 0 0;font-size:.71rem}.obt-station-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-top:18px}.obt-station{padding:17px;margin:0}.obt-station>header{display:flex;align-items:center;gap:12px;padding-bottom:12px}.obt-station>header .obt-icon{width:44px;height:44px}.obt-station>header h3{margin:0 0 3px}.obt-station>header p{margin:0}.obt-station-recipe{display:grid;grid-template-columns:minmax(0,1fr) 18px minmax(0,1fr);gap:5px;padding:13px 0;border-top:1px solid var(--obt-border)}.obt-recipe-arrow{align-self:center;text-align:center;color:#719468;font-weight:800}

/* Research */
.obt-lane-tabs{margin-top:17px}.obt-lane-tabs button{font-size:.78rem}.obt-stage-grid{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(185px,1fr);gap:12px;overflow:auto;padding:4px 3px 15px;scroll-snap-type:x proximity}.obt-stage{min-width:0;scroll-snap-align:start}.obt-stage h2{margin:0 0 12px;padding:9px 12px;border-radius:7px;background:#dfead5;color:#426437;font-size:.8rem}.obt-tool .obt-research-node{display:flex;align-items:center;flex-direction:column;gap:9px;width:100%;min-height:178px;margin-bottom:10px;padding:17px 12px;background:#fffef7;border:1px solid var(--obt-border);text-align:center}.obt-research-node>.obt-icon{width:48px;height:48px}.obt-research-node>strong{font-size:.83rem;color:var(--obt-ink)}.obt-research-node>span:not(.obt-icon){font-size:.73rem;color:var(--obt-muted);line-height:1.5}.obt-tool .obt-research-node[aria-pressed=true]{border:2px solid var(--obt-green);padding:16px 11px;background:#edf4e4}.obt-badge,.obt-gate{display:inline-block;padding:3px 7px;border-radius:4px;background:#edddb1;color:#72582b;font-size:.7rem}.obt-research-detail{margin-top:18px}.obt-cost-list{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:8px 0}.obt-cost-list li{padding:7px 12px;border:1px solid #c7d9bf;border-radius:7px;background:#f1f6e9;font-size:.84rem}

/* Maps */
.obt-map-index{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.obt-map-card{overflow:hidden;border:1px solid var(--obt-border);border-radius:12px;background:var(--obt-paper);text-decoration:none;box-shadow:0 7px 18px #31523b09}.obt-map-card>img{display:block;width:100%;height:220px;object-fit:cover;background:#283c2b;image-rendering:auto}.obt-map-card>div{padding:19px}.obt-map-card h2{margin-bottom:8px}.obt-map-card p{font-size:.79rem;color:var(--obt-muted)}.obt-map-card strong{font-size:.85rem}.obt-region-tabs{margin-bottom:13px}.obt-map-shell{display:grid;grid-template-columns:215px minmax(0,1fr);overflow:hidden;border:1px solid #a8bca1;border-radius:11px;background:var(--obt-paper)}.obt-map-shell:fullscreen{width:100%;height:100%;border:0;border-radius:0;grid-template-columns:250px minmax(0,1fr)}.obt-map-sidebar{min-width:0;padding:16px 13px;border-right:1px solid var(--obt-border);font-size:.79rem;max-height:740px;overflow:auto;overscroll-behavior:contain}.obt-map-sidebar .obt-field{font-size:.73rem}.obt-map-sidebar .obt-field input[type=search]{font-size:.76rem}.obt-map-sidebar .obt-section-head{margin-top:18px;margin-bottom:9px}.obt-map-sidebar h2{font-size:.84rem}.obt-map-sidebar .obt-actions{margin-top:0;margin-bottom:13px;gap:5px}.obt-map-sidebar .obt-actions button{font-size:.71rem;padding:5px 8px}.obt-map-categories{display:grid;gap:2px}.obt-map-categories label{display:flex;align-items:center;gap:7px;padding:5px 0;cursor:pointer;font-size:.74rem}.obt-map-categories label>span{flex:1}.obt-map-categories label>b{font-size:.69rem;font-weight:500;color:var(--obt-muted)}.obt-map-categories input,.obt-toggle input{accent-color:var(--obt-green);width:15px;height:15px;margin:0;flex:none}.obt-toggle{display:flex;align-items:center;gap:7px;border-top:1px solid var(--obt-border);margin-top:17px;padding-top:16px;font-size:.78rem;cursor:pointer}.obt-map-progress{font-weight:800;font-size:.9rem;margin:8px 0 2px!important}.obt-map-sidebar>small{display:block;color:var(--obt-muted);font-size:.68rem;line-height:1.5}.obt-marker-size{margin-top:20px}.obt-marker-size input{width:100%;accent-color:var(--obt-green);cursor:pointer}.obt-map-main{min-width:0;background:#e7eee0}.obt-map-canvas-wrap{position:relative;isolation:isolate;height:clamp(450px,73vh,740px);overflow:hidden;background:#24392d}.obt-map-canvas-wrap canvas{display:block;width:100%;height:100%;touch-action:none;cursor:grab}.obt-map-toolbar{position:absolute;top:12px;left:12px;display:flex;flex-wrap:wrap;gap:5px;max-width:calc(100% - 24px)}.obt-map-toolbar button{box-shadow:0 2px 9px #0b21152b;border-color:#819674;padding:7px 9px;background:#fffef5f5;font-size:.74rem}.obt-map-toolbar button[data-ob-map-zoom]{font-weight:800;font-size:1rem;min-width:32px;padding:3px 8px}.obt-map-status{position:absolute;bottom:12px;left:12px;padding:4px 9px;max-width:calc(100% - 24px);background:#142f20da;color:white;border-radius:5px;pointer-events:none;font-size:.72rem}.obt-map-popup{position:absolute;right:12px;bottom:42px;width:min(295px,calc(100% - 24px));padding:17px;border:1px solid #94ac7b;border-radius:9px;background:#fffef6;box-shadow:0 8px 28px #16362455;color:var(--obt-ink);max-height:calc(100% - 110px);overflow:auto}.obt-map-popup h3{font-size:.96rem;line-height:1.4;padding-right:17px;margin-top:5px}.obt-map-popup>.obt-icon{margin:0 8px 10px 0}.obt-map-popup>a{font-size:.78rem}.obt-tool .obt-popup-close{position:absolute;right:8px;top:7px;padding:2px 7px;background:none;border:0;font-size:1.1rem}.obt-map-popup .obt-actions{margin-top:10px;gap:6px}.obt-map-popup .obt-actions button{font-size:.71rem;padding:7px 9px}.obt-map-popup small{display:block;margin-top:7px;font-size:.7rem}.obt-map-help{padding:9px 12px;margin:0!important;color:var(--obt-muted);font-size:.7rem}.obt-map-main>.obt-warning{margin:10px}.obt-map-shell:fullscreen .obt-map-sidebar{max-height:100vh}.obt-map-shell:fullscreen .obt-map-main{display:flex;flex-direction:column}.obt-map-shell:fullscreen .obt-map-canvas-wrap{height:auto;flex:1;min-height:0}.obt-map-shell:fullscreen .obt-map-marker-list{display:none}.obt-map-search-results{border-top:1px solid var(--obt-border);margin-top:15px;padding-top:15px}.obt-map-search-results h3{font-size:.76rem}.obt-tool .obt-marker-result{display:flex;align-items:center;gap:8px;width:100%;margin:0 0 6px;padding:8px;text-align:left;border-color:#cfdbca;background:#f9fcf4}.obt-marker-result>.obt-icon{width:27px;height:27px}.obt-marker-result>span:not(.obt-icon){display:grid;gap:3px;min-width:0}.obt-marker-result strong{font-size:.74rem;overflow-wrap:anywhere}.obt-marker-result small{font-size:.65rem;color:var(--obt-muted)}.obt-map-marker-list{padding:8px 12px;font-size:.75rem}.obt-map-marker-list summary{cursor:pointer;color:var(--obt-green);font-weight:700;padding-bottom:8px}.obt-map-marker-list>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;max-height:300px;overflow:auto}.obt-map-marker-list>div>.obt-muted{grid-column:1/-1}

@media(min-width:1250px){.obt-tool[data-ob-tool=map]{margin-right:-10px}.obt-map-shell{grid-template-columns:220px minmax(0,1fr)}}
@media(max-width:1100px){.obt-craft-layout{grid-template-columns:minmax(190px,.7fr) minmax(0,1.3fr);gap:13px}.obt-panel{padding:16px}.obt-map-shell{grid-template-columns:190px minmax(0,1fr)}.obt-station-grid{grid-template-columns:1fr}.obt-chain-columns{gap:12px}.obt-queue-row{gap:7px}.obt-queue-item{flex-basis:100%}}
@media(max-width:700px){.obt-heading{padding:23px 20px}.obt-craft-layout{grid-template-columns:1fr}.obt-picker{position:static}.obt-pick-list{max-height:250px;display:grid;grid-template-columns:1fr 1fr;gap:5px}.obt-tool .obt-pick{margin:0;padding:7px}.obt-pick>.obt-icon{width:29px;height:29px}.obt-pick strong{font-size:.74rem}.obt-pick small{font-size:.65rem}.obt-queue-item{flex-basis:auto}.obt-map-shell{display:flex;flex-direction:column}.obt-map-sidebar{max-height:none;border-right:0;border-bottom:1px solid var(--obt-border);padding:14px}.obt-map-categories{grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 16px}.obt-map-sidebar>.obt-field{margin-bottom:10px}.obt-map-sidebar .obt-section-head{margin-top:8px}.obt-map-sidebar .obt-section-head h2{display:none}.obt-map-sidebar .obt-actions{margin-bottom:8px}.obt-toggle{margin-top:10px;padding-top:12px}.obt-marker-size{margin-top:13px;max-width:220px}.obt-map-canvas-wrap{height:min(70vh,590px);min-height:400px}.obt-map-search-results{max-height:260px;overflow:auto}.obt-map-shell:fullscreen{display:flex}.obt-map-shell:fullscreen .obt-map-sidebar{max-height:31vh;overflow:auto;flex:none}.obt-map-shell:fullscreen .obt-map-main{flex:1;min-height:0}.obt-map-shell:fullscreen .obt-map-canvas-wrap{min-height:0}.obt-map-index{gap:12px}.obt-map-card>img{height:180px}.obt-map-card>div{padding:14px}.obt-map-card h2{font-size:1rem}.obt-map-card p{font-size:.73rem}.obt-chain-columns{grid-template-columns:1fr}.obt-resource-options{max-height:220px}.obt-stage-grid{grid-auto-columns:185px}.obt-tool .obt-region-tabs>a{font-size:.75rem;padding:6px 9px}}
@media(max-width:430px){.obt-map-index{grid-template-columns:1fr}.obt-map-card>img{height:210px}.obt-stats strong{font-size:1.4rem}.obt-stats span{font-size:.65rem}.obt-pick-list{grid-template-columns:1fr}.obt-pick-list .obt-pick{padding:8px}.obt-queue-item{min-width:100%;}.obt-map-marker-list>div{grid-template-columns:1fr}.obt-map-toolbar button{font-size:.65rem}.obt-station-recipe{grid-template-columns:minmax(0,1fr) 12px minmax(0,1fr)}.obt-heading{padding:21px 17px}}
@media(prefers-reduced-motion:reduce){.obt-tool *{scroll-behavior:auto!important}}
.obt-map-coordinate-note{grid-column:1/-1;margin:0 0 4px!important;color:var(--obt-muted);font-size:.7rem}.obt-map-static-list{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;list-style:none;margin:0;padding:0}.obt-map-static-list li{min-width:0;padding:7px 8px;border:1px solid #cfdbca;border-radius:5px;background:#f9fcf4;overflow-wrap:anywhere}.obt-map-static-name{display:block;font-weight:700}.obt-map-static-name a{text-decoration:underline;text-underline-offset:2px}.obt-map-static-meta{display:block;margin-top:3px;color:var(--obt-muted);font-size:.68rem}
@media(max-width:430px){.obt-map-static-list{grid-template-columns:1fr}}
