/* Shared compact crew strip: keep current values, plans, work eligibility and warnings. */
.crew-fit .mobile-crew-status{display:none}
.crew-fit.cloth-ui .nui-memos{display:flex;align-items:center;flex-wrap:wrap;gap:2px 14px;padding:5px 10px;margin-bottom:6px}
.crew-fit.cloth-ui .nui-memos>div{gap:3px 8px}
.crew-fit.cloth-ui:has(.camp-hub) .topbar{height:50px;min-height:50px;padding:3px 16px;gap:16px;flex-wrap:nowrap}
.crew-fit.cloth-ui:has(.camp-hub) .brand{font-size:21px;line-height:1.15}
.crew-fit.cloth-ui:has(.camp-hub) .brand small{font-size:11px;line-height:14px;margin-top:0}
.crew-fit.cloth-ui:has(.camp-hub) .weather-summary>summary{min-height:38px;padding:0;line-height:16px}
.crew-fit.cloth-ui:has(.camp-hub) .day-number{font-size:25px}
.crew-fit.cloth-ui:has(.camp-hub) .resourcebar{min-height:40px;padding:3px 12px;gap:6px}
.crew-fit.cloth-ui:has(.camp-hub) .resource{min-height:34px;padding:3px 10px;font-size:13px}
.crew-fit .camp-viewport[data-camp-mode=overview]{overscroll-behavior:auto}
.crew-fit.cloth-ui .companion-card{gap:2px;padding:4px;overflow:auto}
.crew-fit.cloth-ui .order-nui{grid-template-columns:32px minmax(0,1fr);gap:2px 5px;padding:0;min-height:0;height:auto;max-height:none;flex:0 0 auto;overflow:visible}
.crew-fit.cloth-ui .order-nui>.nui{width:32px!important;height:34px!important;grid-row:1;min-width:0}
.crew-fit.cloth-ui .order-nui>span:first-of-type{display:flex;flex-flow:row wrap;align-items:center;gap:1px 5px;min-width:0}
.crew-fit.cloth-ui .order-nui b{font-size:13px;line-height:17px;width:auto}
.crew-fit.cloth-ui .order-nui .activity-badge{margin-left:auto;font-size:11px;line-height:15px}
.crew-fit.cloth-ui .order-nui .operation-badge{font-size:11px;line-height:15px;width:100%;text-align:left}
.crew-fit.cloth-ui .order-work,.crew-fit.cloth-ui .crew-warning,.crew-fit.cloth-ui .worker-state{grid-column:1/-1;max-height:none;overflow:visible;font-size:12px;line-height:16px;margin:0;white-space:normal}
.crew-fit.cloth-ui .crew-vitals{display:grid;grid-template-columns:1fr 1fr;padding:1px 2px;gap:1px 8px;flex:none;line-height:16px}
.crew-fit.cloth-ui .crew-vital{display:grid;grid-template-columns:1fr auto;gap:0 4px;padding:0;background:none;min-width:0;font-size:12px}
.crew-fit.cloth-ui .crew-vital b{font-size:13px;line-height:16px}
.crew-fit.cloth-ui .crew-vital meter{grid-column:1/-1;width:100%;height:5px}
.crew-fit.cloth-ui .crew-vital meter::-webkit-meter-bar{background:#e4e4d5;border:0;border-radius:4px}
.crew-fit.cloth-ui .crew-vital meter::-webkit-meter-optimum-value{background:#718e55}
.crew-fit.cloth-ui .crew-vital[data-stat=wet] meter::-webkit-meter-optimum-value{background:#659bb1}
.crew-fit.cloth-ui .vitals-scale{font-size:11px;line-height:13px}
.crew-fit.cloth-ui .companion-details{font-size:12px;line-height:16px;min-height:26px;padding:3px 2px;margin-top:auto;flex:none;white-space:normal}
.crew-fit.cloth-ui .advance-panel{align-self:center;padding:0;margin:0;border:0}
.crew-fit.cloth-ui .advance-panel>.operation-target{font-size:12px;line-height:17px;margin:4px 0}
.crew-fit.cloth-ui .advance-panel>b,.crew-fit.cloth-ui .advance-panel>small{font-size:11px}
.crew-fit.cloth-ui .advance{font-size:13px;min-height:44px}
@media(min-width:901px){
 .crew-fit.cloth-ui .workspace{grid-template-rows:minmax(0,1fr) 188px}
 .crew-fit.cloth-ui .companion-sidebar{height:188px;min-height:0;max-height:none;grid-template-columns:minmax(0,1fr) 190px;grid-template-rows:minmax(0,1fr);padding:7px;gap:8px;overflow:hidden}
 .crew-fit.cloth-ui .companion-list{display:grid;grid-column:1;grid-row:1;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;min-height:0;max-height:none;overflow:auto;align-content:stretch}
 .crew-fit.cloth-ui.has-guest .companion-list{grid-template-columns:repeat(4,minmax(150px,1fr))}
 .crew-fit.cloth-ui .advance-panel{grid-column:2;grid-row:1}
 .crew-fit.cloth-ui .companion-card{min-width:0;flex-basis:auto}
 .crew-fit.cloth-ui .camp-hub>.section-heading{min-height:36px;margin-bottom:3px}
 .crew-fit.cloth-ui .camp-scene-heading{padding-bottom:5px}
 .crew-fit.cloth-ui .camp-view-controls button,.crew-fit.cloth-ui .camp-hub>.section-heading button{min-height:36px;padding:5px 10px}
}
@media(max-width:900px){
 .crew-fit.cloth-ui .companion-sidebar{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:48px minmax(0,1fr) 38px;height:210px;padding:5px;gap:3px}
 .crew-fit.cloth-ui .companion-list,.crew-fit.cloth-ui.has-guest .companion-list{display:grid;grid-column:1;grid-row:1;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-columns:110px;grid-auto-flow:column;height:48px;max-height:none;overflow-x:auto;overflow-y:hidden;padding:0;gap:6px}
 .crew-fit.cloth-ui.has-guest .companion-list{grid-template-columns:repeat(4,minmax(110px,1fr))}
 .crew-fit.cloth-ui .companion-card{height:48px;padding:2px;display:block}
 .crew-fit.cloth-ui .companion-card .crew-vitals,.crew-fit.cloth-ui .companion-card .companion-details,.crew-fit.cloth-ui .companion-card .order-work,.crew-fit.cloth-ui .companion-card .crew-warning,.crew-fit.cloth-ui .companion-card .worker-state{display:none}
 .crew-fit.cloth-ui .order-nui{height:38px;grid-template-columns:25px minmax(0,1fr)}
 .crew-fit.cloth-ui .order-nui>.nui{width:25px!important;height:30px!important}
 .crew-fit.cloth-ui .order-nui>span:first-of-type{gap:0 2px}
 .crew-fit.cloth-ui .order-nui b{font-size:11px;line-height:13px;width:100%}
 .crew-fit.cloth-ui .order-nui .activity-badge{font-size:10px;line-height:12px;margin-left:0;padding:0 2px}
 .crew-fit.cloth-ui .order-nui .operation-badge{font-size:10px;line-height:12px;width:auto}
 .crew-fit.cloth-ui .mobile-crew-status{display:grid;grid-column:1;grid-row:2;grid-template-columns:1fr auto;gap:2px 6px;padding:2px 6px;background:#f7f4e8;border-radius:6px;overflow:auto;min-height:0;align-content:start}
 .crew-fit.cloth-ui .mobile-crew-status p{grid-column:1/-1;margin:0;font-size:11px;line-height:16px}
 .crew-fit.cloth-ui .mobile-crew-status .crew-vitals{grid-column:1/-1;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
 .crew-fit.cloth-ui .mobile-crew-status .companion-details{grid-column:1/-1;justify-self:end;font-size:11px;min-height:26px;padding:2px}
 .crew-fit.cloth-ui .mobile-crew-status .vitals-scale{display:none}
 .crew-fit.cloth-ui .advance-panel{grid-column:1;grid-row:3;display:flex;align-items:center;width:100%;gap:6px}
 .crew-fit.cloth-ui .advance-panel>b,.crew-fit.cloth-ui .advance-panel>small,.crew-fit.cloth-ui .advance-panel>.operation-target{display:none}
 .crew-fit.cloth-ui .advance-panel .advance{min-height:38px;width:100%;max-width:none;margin:0;font-size:13px;padding:4px}
}
@media(min-width:901px) and (max-height:600px){.crew-fit.map-fit .workspace{grid-template-rows:minmax(340px,1fr) 188px}}
