/* One content layout for Hunters, Gatherers, Woodcutters and Fishermen. */
.expedition-shortcut{position:absolute;z-index:45}.expedition-gatherers{left:42px;top:440px}.expedition-hunters{left:42px;top:550px}.expedition-woodcutters{left:730px;top:12px}.expedition-fishermen{left:838px;top:12px}.expedition-shortcut .art-button{width:96px;height:96px;position:relative}.expedition-shortcut .art-button>img{width:96px;height:96px;object-fit:contain}.expedition-shortcut b{position:absolute;right:3px;top:4px;background:#623519;color:#fff0bd;padding:3px 7px;border-radius:50%;font:700 14px Georgia,serif}.expedition-shortcut .art-caption{white-space:nowrap;font:600 13px/1.3 Georgia,serif}
.expedition-panel{border:2px solid #bda56f;border-radius:5px;background:#e7d8ae;color:#352e21;box-shadow:0 15px 50px #000b;padding:0}.expedition-panel::backdrop{background:#0008}.expedition-panel>header{background:linear-gradient(#414a36,#262e22);color:#ead7a5}.expedition-emblem{width:56px;height:56px;object-fit:contain}.expedition-body{flex:1;min-height:0;overflow:auto;padding:12px 20px;display:flex;flex-direction:column;gap:12px;scrollbar-gutter:stable}.expedition-feedback:empty{display:none}.expedition-feedback{padding:5px 10px;background:#fff5cc;font-size:13px}.expedition-overview{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;align-items:start}.expedition-portrait{text-align:center;display:flex;align-items:center;flex-direction:column;gap:5px}.expedition-hero{height:144px;width:100%;object-fit:contain;filter:drop-shadow(0 5px 5px #251d1730)}.expedition-description{margin:0;max-width:440px;font:15px/1.4 Georgia,serif}.expedition-body button{min-height:32px;border:1px solid #9c845a;border-radius:4px;background:#4c583c;color:#fff1c7;padding:6px 12px;font:14px Georgia,serif;cursor:pointer}.expedition-body button:disabled{opacity:.45;cursor:default}.expedition-body button:focus-visible,.expedition-option:focus-within{outline:2px solid #665430;outline-offset:2px}.expedition-auto-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.expedition-body h3{font:600 19px Georgia,serif;margin:0}.expedition-premium{font:14px/1.35 Georgia,serif;margin:7px 0 9px}.expedition-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-width:460px}.expedition-option{min-width:0;height:50px;border:1px solid #b6a07488;border-radius:5px;background:#fff5d566;display:flex;justify-content:space-between;align-items:center;padding:4px 10px;gap:8px;box-sizing:border-box;cursor:pointer}.expedition-option>img{width:64px;height:44px;object-fit:contain}.expedition-option>input{margin:0;width:21px;height:21px;accent-color:#526547;flex-shrink:0}.expedition-operations{border-top:1px solid #ac94635c;padding-top:10px}.expedition-operations>h3{margin-bottom:8px}.expedition-trips{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.expedition-trip{display:grid;grid-template-columns:46px minmax(0,1fr) 100px;grid-template-rows:auto auto;gap:3px 8px;align-items:center;min-height:72px;padding:8px;background:#fff5d559;border:1px solid #b6a07466;border-radius:5px;box-sizing:border-box}.expedition-target{width:44px;height:44px;object-fit:contain;grid-row:1/3}.expedition-trip-details{min-width:0;grid-row:1/3}.expedition-trip strong{font:600 15px Georgia,serif;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.expedition-trip small{display:block;font:12px/1.3 Georgia,serif}.expedition-cargo{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:3px;font-size:12px}.expedition-cargo>span{display:inline-flex;align-items:center;gap:2px}.expedition-cargo img{width:20px;height:20px;object-fit:contain}.expedition-clock{text-align:right;font:12px/1.3 Georgia,serif}.expedition-clock time{display:block;font:600 15px/1.3 Georgia,serif;font-variant-numeric:tabular-nums}.expedition-trip .expedition-instant{grid-column:3;padding:3px 4px;font-size:12px;min-height:27px;display:flex;align-items:center;justify-content:center;gap:3px;white-space:nowrap}.expedition-trip .expedition-instant[hidden]{display:none}.expedition-instant img{width:19px;height:19px;object-fit:contain}.expedition-empty{grid-column:1/-1;margin:0;padding:10px;background:#fff5d566;font-size:15px}.expedition-history{font-size:14px}.expedition-history summary{cursor:pointer}.expedition-history>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 12px}.expedition-history p{margin:5px 0;padding:4px;border-bottom:1px solid #b6a07444}
/* Keep six operations fully visible in the common landscape frame. */
.expedition-body{padding:10px 20px;gap:10px}.expedition-hero{height:112px}.expedition-description{font-size:14px}.expedition-body button{min-height:28px}.expedition-auto-heading h3{font-size:18px}.expedition-premium{font-size:13px;margin:5px 0 7px}.expedition-option{height:44px;padding:3px 9px}.expedition-option>img{height:38px;width:58px}.expedition-options{gap:6px}.expedition-operations{padding-top:8px}.expedition-operations>h3{font-size:18px;margin-bottom:6px}.expedition-trip{min-height:64px;padding:6px;gap:1px 7px;grid-template-columns:40px minmax(0,1fr) 100px}.expedition-target{width:38px;height:38px}.expedition-clock{font-size:11px;line-height:1.1}.expedition-clock time{font-size:14px;line-height:1.1}.expedition-trip .expedition-instant{min-height:22px;font-size:11px;padding:2px}.expedition-instant img{width:16px;height:16px}.expedition-cargo{margin-top:1px}.expedition-trips{gap:6px}
.expedition-requirement{font:13px/1.3 Georgia,serif;color:#784b22;margin:1px 0}.expedition-requirement[hidden]{display:none}
@media(max-height:820px){.expedition-body{padding:8px 16px;gap:8px}.expedition-hero{height:80px}.expedition-description{font-size:13px}.expedition-body button{min-height:24px;padding:4px 9px}.expedition-options{gap:5px}.expedition-option{height:34px;padding:2px 8px}.expedition-option>img{height:30px;width:52px}.expedition-option>input{width:18px;height:18px}.expedition-premium{font-size:12px;margin:4px 0 6px}.expedition-auto-heading h3,.expedition-operations>h3{font-size:17px}.expedition-trip{min-height:56px;padding:4px;grid-template-columns:34px minmax(0,1fr) 94px}.expedition-target{width:32px;height:32px}.expedition-trip strong{font-size:14px}.expedition-trip small{font-size:11px}.expedition-clock{font-size:10px}.expedition-clock time{font-size:12px}.expedition-trip .expedition-instant{min-height:20px;font-size:10px}.expedition-cargo img{width:18px;height:18px}.expedition-history{font-size:12px}.expedition-requirement{font-size:12px}}

/* Scoped research strip; preserves the shared window dimensions. */
.expedition-studies{border-top:1px solid #ac94635c;padding-top:8px}.expedition-studies>h3{margin-bottom:6px}.expedition-study-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.expedition-study{display:grid;grid-template-columns:48px minmax(0,1fr);gap:6px;border:1px solid #b6a07488;border-radius:5px;background:#fff5d559;padding:7px;min-width:0}.expedition-study>img{width:48px;height:58px;object-fit:contain}.expedition-study strong{display:block;font:600 14px/1.2 Georgia,serif}.expedition-study small{display:block;font:11px/1.25 Georgia,serif;margin-top:3px}.expedition-study time{display:block;font:600 12px/1.3 Georgia,serif;font-variant-numeric:tabular-nums}.expedition-study-cost{display:flex;gap:4px 7px;flex-wrap:wrap;margin:4px 0}.expedition-study-cost .ledger-cost{display:inline-flex;gap:2px;align-items:center;font-size:12px}.expedition-study-cost img{width:20px;height:20px;object-fit:contain}.expedition-study-cost .insufficient{color:#a43e2c}.expedition-study-actions{display:flex;align-items:center;gap:5px;min-height:30px}.expedition-study-actions>button{font-size:12px;padding:3px 7px}.expedition-study [data-reason]:empty{display:none}.expedition-study [data-reason]{color:#7a452a}.expedition-study .instant-action{width:38px!important;height:30px!important;min-width:38px!important;min-height:30px!important}.expedition-study .operation-instant{display:none}
@media(max-height:820px){.expedition-study{padding:5px;grid-template-columns:40px minmax(0,1fr);gap:4px}.expedition-study>img{width:40px;height:48px}.expedition-study strong{font-size:12px}.expedition-study small{font-size:10px}.expedition-study-cost img{width:18px;height:18px}.expedition-study-cost .ledger-cost{font-size:11px}.expedition-study-actions>button{font-size:11px}}

/* Four compact active operations across the shared expedition panel. */
.expedition-trips{grid-template-columns:repeat(4,minmax(0,1fr))}
.expedition-trip{grid-template-columns:34px minmax(0,1fr) 70px;gap:2px 5px;min-width:0;padding:5px}
.expedition-target{width:32px;height:32px}
.expedition-trip-details,.expedition-clock{min-width:0}
.expedition-trip small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.expedition-cargo{gap:2px 4px;flex-wrap:nowrap;overflow:hidden}
.expedition-cargo>span{gap:1px;white-space:nowrap}
.expedition-cargo img{width:16px;height:16px}
.expedition-trip .expedition-instant{grid-column:3;font-size:10px;padding:1px;white-space:nowrap}
@media(max-width:1000px){.expedition-trips{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.expedition-trips{grid-template-columns:minmax(0,1fr)}}
