.command-center{background:#f3e6cfee;box-shadow:0 7px 24px #3c251c26;border-radius:6px;overflow:hidden;color:var(--ink,#49321d);padding:4px 0 24px}.command-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 22px 14px;border-top:3px double #9e783f;border-bottom:1px solid #b79a6b;background:linear-gradient(110deg,#fbf2dce8,#e6d1aab8)}.command-heading h1{font:normal 34px Georgia;margin:3px 0 8px}.command-heading p{margin:4px 0;font-size:14px}.command-center button,.command-center input,.command-center select{font:inherit;color:inherit}.command-center button{min-height:36px;padding:7px 12px;border:1px solid #a78756;border-radius:4px;background:linear-gradient(#fff6df,#e2c897);cursor:pointer;font-size:13px}.command-center button:hover:not(:disabled){background:#fff4d4;border-color:#715124}.command-center button:disabled{opacity:.5;cursor:default}.command-center :focus-visible{outline:3px solid #806032;outline-offset:3px}.command-overview{display:flex;align-items:center;flex-wrap:wrap;gap:12px 22px;padding:16px 20px 8px;font-size:14px}.command-overview strong{font:24px Georgia}.command-note{font-size:12px;line-height:1.5;color:#69543b;margin:8px 20px 14px}.command-tabs{display:flex;gap:6px;border-bottom:2px solid #aa8951;margin:18px 0 0;padding:0 12px}.command-tabs button{padding:11px 20px;border-bottom:0;border-radius:5px 5px 0 0}.command-tabs [aria-current]{background:#654824;color:#fff3d7;border-color:#654824}.command-filters{display:flex;flex-wrap:wrap;align-items:end;gap:12px;padding:16px 18px;background:#ebdab766;border-bottom:1px solid #bca176}.command-filters label{display:grid;gap:5px;font-size:12px}.command-filters input,.command-filters select{min-height:36px;padding:6px 9px;border:1px solid #b39564;background:#fff8e8;border-radius:3px;font-size:13px;max-width:230px}.command-rows{border-bottom:1px solid #ae9162}.command-person{display:grid;grid-template-columns:minmax(180px,1.05fr) minmax(155px,1fr) minmax(155px,1fr) 100px minmax(168px,.85fr);gap:12px;padding:17px 18px 10px;background:#fff7e2b8;border-bottom:1px solid #c3aa82}.command-person:nth-child(even),.command-asset:nth-child(even){background:#e9d9b899}.command-identity{display:flex;gap:10px;align-items:center}.command-identity img{width:43px;height:64px;object-fit:cover;object-position:top}.command-identity h2,.command-asset h2,.command-issue h2{font:21px Georgia;margin:0 0 5px}.command-identity span,.command-identity small{display:block;font-size:11px;line-height:1.5}.command-channel{display:flex;flex-direction:column;gap:5px;justify-content:center}.command-channel small,.command-energy small,.command-asset small{font:11px Georgia;color:#765d3e}.command-channel b{font-size:13px;line-height:1.4}.command-channel span{font-size:12px;line-height:1.5;font-variant-numeric:tabular-nums}.command-energy{display:flex;flex-direction:column;gap:7px;justify-content:center}.command-energy b{font-size:15px}.command-energy meter{width:85px;height:10px}.command-actions{display:flex;flex-wrap:wrap;gap:6px;align-content:center}.command-actions button{font-size:12px;padding:6px 9px}.command-actions .command-play{background:transparent;border-style:dashed}.command-attention-line{grid-column:2/-1;display:flex;flex-wrap:wrap;gap:8px 18px;font-size:12px;line-height:1.5}.command-details{grid-column:1/-1;font-size:12px}.command-details summary{cursor:pointer;min-height:32px;padding:8px 0;color:#6d512f}.command-details[open]{padding-bottom:10px}.command-details button{margin-right:7px}.command-details .command-channel{display:inline-flex;min-width:180px;margin:6px 18px 10px 0}.command-asset{display:grid;grid-template-columns:1.4fr 1fr .6fr;align-items:center;gap:22px;padding:20px;background:#fff7e2b8;border-bottom:1px solid #c3aa82}.command-asset p{font-size:13px;line-height:1.6;margin:6px 0}.command-issue{display:grid;grid-template-columns:150px 1fr auto;align-items:center;gap:18px;padding:18px;border-bottom:1px solid #c3aa82;border-left:4px solid #aa8951;background:#fff7e2b8}.command-issue strong{font-size:12px}.command-issue p{font-size:13px;margin:0}.command-issue-blocked{border-left-color:#874b32}.command-issue-info{border-left-color:#918367}.command-pagination{display:flex;justify-content:space-between;align-items:center;margin:15px 18px;font-size:13px}.command-empty{padding:30px;font:17px Georgia}.command-error{padding:12px;border:1px solid #8e543c}.command-back{margin-bottom:12px;min-height:36px}.command-charter{margin-top:22px;border-top:1px solid #b89c70;padding:10px 18px}.command-charter>summary{padding:10px 0;cursor:pointer}.command-charter .roster-grid{display:block;max-width:600px}.command-charter .new-laborer-card{min-height:0}.command-charter .additional-rule{font-size:12px}@media(max-width:1150px){.command-person{grid-template-columns:minmax(165px,1fr) 1fr 1fr 90px}.command-person>.command-actions{grid-column:2/-1}.command-attention-line{grid-column:1/-1}.command-filters{gap:9px}.command-asset{grid-template-columns:1.2fr 1fr}.command-asset>.command-actions{grid-column:1/-1}}

.command-center .command-tabs button[aria-current],.command-center .command-tabs button[aria-current]:hover:not(:disabled){background:#654824;color:#fff3d7;border-color:#654824}

@media(max-width:700px){.command-heading{flex-wrap:wrap;padding:16px}.command-heading>div{order:-1;flex-basis:100%}.command-heading h1{font-size:28px}.command-tabs{flex-wrap:wrap;padding:0 8px}.command-tabs button{padding:10px 12px}.command-filters{padding:12px}.command-filters label{flex:1 1 130px;min-width:0}.command-filters input,.command-filters select{width:100%;max-width:none;box-sizing:border-box}.command-person{grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:14px 12px;gap:10px}.command-identity{grid-column:1/-1}.command-person>.command-actions{grid-column:2;display:grid;grid-template-columns:1fr}.command-energy{grid-column:1;grid-row:3;justify-content:start;padding-top:8px}.command-attention-line,.command-details{grid-column:1/-1}.command-asset{grid-template-columns:minmax(0,1fr);padding:16px;gap:8px}.command-issue{grid-template-columns:minmax(0,1fr);gap:8px;padding:14px}.command-issue button{justify-self:start}.command-pagination{gap:8px;margin:12px}.command-pagination span{text-align:center}.command-note{margin:10px 14px}.command-overview{padding:14px;gap:10px}.command-center h2,.command-center p,.command-channel b{overflow-wrap:anywhere}}
.management-icon{width:24px;height:24px;vertical-align:middle;flex:none;margin-right:8px;color:#775727}.command-holding{padding:20px;background:#fff7e2dd;border-bottom:1px solid #b59b70}.command-holding>header{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid #c9b389;padding-bottom:12px}.command-holding h2{font:22px Georgia;margin:3px 0 8px}.command-holding h3{font:18px Georgia;margin:12px 0}.command-holding h4{font:16px Georgia;margin:8px 0}.command-holding p{font-size:13px;line-height:1.6;margin:4px 0}.command-holding-body{display:grid;grid-template-columns:1fr 1fr;gap:24px}.command-holding-body section>p{padding:7px 0;border-bottom:1px dotted #c6ad84}.command-holding-body p>span{display:block;color:#725434}.command-facility{padding:8px 0}.command-facility button{margin:5px 6px 0 0}.command-plan-strip{border:1px solid #a58752;background:#e8d8b6;padding:12px;margin-top:14px;font-size:13px}.command-plan-strip button{margin-left:10px}.command-issue-category{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.command-issue-category span{font-size:12px}.management-console{box-sizing:border-box;width:min(900px,92vw);max-height:88vh;overflow:auto;border:2px solid #806335;border-radius:5px;padding:22px;background:#f7edd6;color:#322619;box-shadow:0 10px 60px #20150488;font:14px Georgia}.management-console::backdrop{background:#211c16a6}.management-console>header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #ad9267;padding-bottom:12px}.management-console h2{font-size:25px}.management-console h3{font-size:19px}.management-console p{line-height:1.6}.management-console button,.management-console select,.management-console input{font:14px Georgia;min-height:38px;padding:7px 11px;color:#352817;background:#fff9ec;border:1px solid #a58a60;border-radius:3px;box-sizing:border-box}.management-console button{cursor:pointer;background:#e5cf9e}.management-console button:disabled{opacity:.5;cursor:default}.management-console button:focus-visible,.management-console input:focus-visible,.management-console select:focus-visible{outline:3px solid #705529;outline-offset:2px}.management-console label{display:flex;flex-direction:column;gap:6px;margin:9px 0}.management-console .management-check{flex-direction:row;align-items:center;min-height:38px}.management-check input{width:20px;height:20px;min-height:20px;flex:none;margin-right:8px}.management-console fieldset{border:1px solid #bea67b;margin:14px 0;padding:10px}.management-order-section{padding:12px 0;border-bottom:1px solid #c8b18c}.management-order-section>label{max-width:100%}.management-console select{max-width:100%;white-space:normal}.management-console input[type=number]{max-width:160px}.management-console summary{cursor:pointer;padding:12px 0;min-height:38px}.management-plan{background:#e9dab9;border-left:4px solid #8b6930;padding:10px 16px;margin:14px 0}.management-plan li{padding:5px 0}.management-sections{display:flex;gap:20px;margin:20px 0}.management-sections a{color:#6b4b21;padding:10px;border:1px solid #a99068}.management-facility-order{display:grid;grid-template-columns:1.2fr 1.2fr .6fr;gap:12px;align-items:end;border-bottom:1px dotted #b5996d;padding:8px 0}.management-console [data-order-message]{padding:10px;background:#eadcbc}.management-console [role=alert]{border-left:4px solid #8f4430}.management-console [data-plan-preview]{margin:12px 0;line-height:1.6;color:#604722}@media(max-width:700px){.command-holding-body{grid-template-columns:1fr}.command-holding>header{flex-wrap:wrap}.management-console{padding:14px}.management-facility-order{grid-template-columns:1fr}.management-console select{width:100%}}
/* Household orders remain beside their target. */
.management-art{display:inline-block;width:42px;height:42px;object-fit:contain;vertical-align:middle;flex:0 0 auto;margin-right:8px;filter:drop-shadow(0 2px 2px #4d35152b)}.management-art.house-art{width:90px;height:68px}.crop-choice-art{width:72px;height:72px}.command-holding h2,.command-facility h4{display:flex;align-items:center}.command-next{grid-column:1/-1;display:flex;align-items:center;flex-wrap:wrap;gap:8px 18px;padding:10px 12px;border-top:1px solid #bda373;background:#f1e4c955;font-size:12px}.command-next>span{max-width:420px}.command-next>.command-actions{margin-left:auto}.command-property-orders{display:flex;align-items:center;gap:15px;padding:10px 18px;border-block:1px solid #baa071;background:#e4d1a766;font-size:12px}.order-limit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 20px}.order-limits{margin:15px 0;padding:0 12px;background:#ede0c5}.order-wait{border-left:3px solid #94743f;padding:10px;background:#eee0bd}.management-console [data-household-preview]{background:#f4ead3;padding:10px 14px;border-left:3px solid #937344}.management-console [data-crop-preview]{display:flex;align-items:center}.command-field-groups li>.management-art{width:45px;height:45px}.management-console legend .management-art{width:32px;height:32px}@media(max-width:700px){.order-limit-grid{grid-template-columns:1fr}.command-next>.command-actions{margin-left:0}.command-property-orders{flex-wrap:wrap}}
.command-person{grid-template-columns:minmax(180px,1.15fr) minmax(170px,1fr) minmax(170px,1fr) minmax(100px,.6fr);padding:16px 20px;gap:14px;background:#fbf1db;border-bottom:1px solid #c4ab80}
.command-channel .management-icon,.command-energy .management-icon{width:17px;height:17px;margin-right:5px}.command-channel>button{align-self:start;margin-top:3px;min-height:36px}.command-channel.is-running{border-left:3px solid #6a7a55;padding-left:12px;color:#34492f}.command-details{border-top:1px dotted #bea77c;margin-top:3px}.command-details summary{min-height:0;padding:7px 0;font-size:12px}.command-person-blocker{grid-column:1/-1;font-size:12px;margin:0;color:#82492c}.command-order-slot{grid-column:1/-1;min-width:0}.command-order-slot:empty{display:none}.command-result{margin:10px 20px;padding:10px 14px;border-left:3px solid #65794d;background:#e1e8cc;color:#35482a}
.command-farm,.command-stock{min-width:0}.command-holding h3{border-bottom:2px solid #bea477;padding:12px 0 8px}.command-holding h3 small{float:right;font:13px Georgia;margin-top:3px}.command-field-groups{list-style:none;padding:0;margin:8px 0 14px}.command-field-groups li{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:10px 0;border-bottom:1px dotted #c5b08a;font-size:13px}.command-field-groups li div{display:grid;gap:4px}.command-field-groups strong{font-weight:normal;color:#81532f;max-width:52%}.command-field-groups small{color:#786343}.command-field-groups .is-running{color:#49613d}.command-stock-state{display:flex;justify-content:space-between;gap:10px;font-size:13px;padding:8px 0}.command-plan-strip{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.command-plan-strip.is-running{border-left:4px solid #6a7a55}.command-plan-strip.is-paused{border-left:4px solid #9c5836}.command-issue ul{padding-left:17px;margin:7px 0;font-size:13px;line-height:1.6}.command-issue-category{align-self:start;padding-top:3px}.command-issue-category strong{font-size:14px}.command-issue .command-order-slot{grid-column:1/-1}
.management-console.management-inline{display:block;width:100%;max-height:none;overflow:visible;box-shadow:none;border:1px solid #a58853;border-left:4px solid #89642e;margin:12px 0 3px;padding:16px 20px;box-sizing:border-box;background:#efe1bf}.management-inline h2{font-size:21px;margin:12px 0}.management-inline>header{gap:15px}.management-inline [data-order-message]:empty{display:none}.management-inline form{max-width:760px}.management-inline [data-order-preview]{margin:14px 0}.management-inline [type=submit]{background:linear-gradient(#8b6535,#654420);color:#fff7df;border-color:#5b401f;min-width:130px}.order-terms{display:flex;flex-wrap:wrap;gap:10px 24px;font-size:15px}.order-blocker{border-left:3px solid #9a5535;padding:9px 12px;background:#f8ead3}.order-empty{padding:12px;border:1px dotted #a78c5f}.management-inline details.management-plan{padding:2px 12px;margin:5px 0}.management-inline .management-plan h3{margin:6px 0}
.management-context-bar{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:12px 16px;margin-bottom:16px;border:1px solid #b09361;background:#f1e3c6;color:#533c23}.management-context-bar>span{flex:1;min-width:150px;font:14px Georgia}.management-context-bar [data-management-help]{margin-left:auto}.management-context-bar .context-help-button{position:static!important;margin:0!important;transform:none!important}.management-context-bar button{min-height:38px}
@media(max-width:1150px){.command-person{grid-template-columns:minmax(155px,1fr) minmax(150px,1fr) minmax(150px,1fr) 100px}.command-holding-body{gap:16px}}
@media(max-width:700px){.command-person{grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:14px 12px}.command-identity{grid-column:1/-1}.command-energy{grid-column:1/-1;grid-row:auto;flex-direction:row;align-items:center;gap:12px;padding:5px 0}.management-console.management-inline{padding:12px}.command-field-groups li{align-items:start}.command-stock-state{flex-wrap:wrap}.management-inline h2{overflow-wrap:anywhere}.management-context-bar{padding:10px}}
.command-heading-controls{display:flex;align-items:center;gap:10px;flex-shrink:0}.command-heading-controls .contextual-help-button{position:static;margin:0}@media(max-width:700px){.command-heading>.command-heading-controls{order:0;flex-basis:auto}}
.command-construction{grid-column:1/-1;display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;padding:10px 12px;background:#dfc28d55;border-left:3px solid #94713a;font-size:12px}.command-blocked{color:#754629}.command-center-entry{border:1px solid #967340;border-radius:4px;background:linear-gradient(#fff4d7,#d7bb84);color:#503819;font:600 12px Georgia;padding:10px;min-height:40px;cursor:pointer;flex-shrink:0}.command-center-entry:focus-visible{outline:3px solid #806032;outline-offset:3px}@media(max-width:950px){.topbar .command-center-entry{grid-column:1/-1;grid-row:3;justify-self:start}}

/* Narrow header: management and community share a row; inbox controls keep their own full-width row. */
@media(max-width:600px){.game .topbar .command-center-entry{grid-column:1;grid-row:3}.game .topbar .discord-header-link{grid-column:2;grid-row:3;justify-self:end}.game .topbar .header-message-actions{grid-column:1/-1;grid-row:2;justify-self:stretch;margin-left:0;justify-content:space-between}}

/* Playable household command board. The older row rules above remain for
   holdings and compatibility; People is intentionally a dense visual roster. */
.command-state-filters{display:flex;gap:7px;overflow-x:auto;padding:13px 18px 9px;background:#e4d2aa;border-block:1px solid #b69662;scrollbar-width:thin}.command-state-filters button{display:flex;align-items:center;gap:8px;white-space:nowrap;min-height:38px;padding:7px 11px;background:#f7ecd3}.command-state-filters button b{display:grid;place-items:center;min-width:24px;height:24px;border-radius:50%;background:#d5bc8d;font-size:12px}.command-state-filters button[aria-pressed=true]{background:#654824;color:#fff6df;border-color:#50361b}.command-state-filters button[aria-pressed=true] b{background:#fff1d0;color:#54391e}.command-panel-close{display:none!important}
.command-docket{margin:14px 18px 4px;border:1px solid #a88955;background:#ead9b6;box-shadow:inset 0 0 0 3px #f5ead2}.command-docket>header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 13px;border-bottom:1px solid #b99c6d}.command-docket h2{font:20px Georgia;margin:1px 0}.command-docket .kicker{font-size:10px;margin:0}.command-docket>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.command-docket-item{display:grid;grid-template-columns:minmax(0,1fr);gap:5px;padding:10px 12px;border:0;border-right:1px dotted #b69a6b;background:transparent}.command-docket-item:last-child{border-right:0}.command-docket-item .command-issue-category{padding:0}.command-docket-item .management-icon{width:18px;height:18px}.command-docket-item h2{font-size:15px;margin:0}.command-docket-item ul{margin:2px 0;padding-left:16px;font-size:11px;line-height:1.35}.command-docket-item .command-actions{gap:4px}.command-docket-item .command-actions button{min-height:30px;padding:4px 8px;font-size:11px}.command-docket-clear{display:flex;align-items:center;gap:14px;padding:13px}
.command-people-layout{display:grid;grid-template-columns:minmax(0,1fr) 318px;align-items:start;min-width:0;background:#dec99e}.command-roster{display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:9px;padding:12px;min-width:0}.command-person.command-person-tile{position:relative;display:flex;flex-direction:column;gap:6px;min-width:0;padding:8px;background:#f8ecd3;border:1px solid #aa8a57;border-top:4px solid #8a7658;box-shadow:0 2px 5px #39251420;overflow:hidden}.command-person-tile.is-working{border-top-color:#667954}.command-person-tile.is-studying{border-top-color:#606f85}.command-person-tile.is-ready{border-top-color:#a47427;background:#fff1cf}.command-person-tile.is-blocked{border-top-color:#8d4935;background:#f5dfc8}.command-person-tile.is-selected{outline:3px double #583b1d;outline-offset:-4px;box-shadow:0 3px 13px #38220f55}.command-tile-select{display:grid!important;grid-template-columns:52px minmax(0,1fr);grid-template-rows:auto auto;align-items:center;gap:1px 8px!important;width:100%;min-height:58px!important;padding:0!important;border:0!important;background:transparent!important;text-align:left}.command-tile-portrait{grid-row:1/3;position:relative;width:52px;height:62px;overflow:hidden;background:#d5bd91;border:1px solid #8f7045}.command-tile-portrait img{width:100%;height:100%;object-fit:cover;object-position:top}.command-tile-portrait em{position:absolute;inset:auto 0 0;background:#49331fd9;color:#fff3d5;font:normal 7px Georgia;text-align:center;padding:2px}.command-tile-select>strong{align-self:end;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:18px Georgia}.command-tile-select>small{align-self:start;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;color:#6e573b}.command-multi-check{position:absolute;z-index:2;top:5px;right:5px;display:flex;align-items:center;gap:3px;padding:3px 5px;background:#f7ecdde8;border:1px solid #b09264;font-size:9px}.command-multi-check input{width:14px;height:14px;margin:0}.command-state-line{display:flex;align-items:center;justify-content:space-between;gap:5px;min-height:19px}.command-state-badge{display:inline-block;padding:3px 7px;border:1px solid currentColor;border-radius:10px;font:bold 9px Georgia;letter-spacing:.07em;color:#6b5a43}.is-working .command-state-badge{color:#526547}.is-studying .command-state-badge{color:#53647c}.is-ready .command-state-badge{color:#8b5d16}.is-blocked .command-state-badge{color:#8a432f}.command-state-line small{font-size:8px;color:#645039}.command-tile-energy{display:grid;grid-template-columns:18px 25px minmax(25px,1fr) auto;align-items:center;gap:3px;font-size:10px}.command-tile-energy .management-icon{width:15px;height:15px;margin:0}.command-tile-energy meter{width:100%;height:8px}.command-auto{white-space:nowrap;font:bold 8px Georgia;color:#84694a}.command-auto.is-on{color:#49603f}.command-tile-activities{display:grid;gap:4px;min-height:35px}.command-tile-activity{position:relative;display:grid;grid-template-columns:17px minmax(0,1fr);gap:0 4px;padding-bottom:4px;min-width:0}.command-tile-activity .management-icon{grid-row:1/3;width:14px;height:14px;margin:1px 0 0}.command-tile-activity span,.command-tile-activity b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px}.command-tile-activity b{font-weight:normal;color:#6b563b;font-variant-numeric:tabular-nums}.command-tile-activity i,.command-panel-channel i{position:absolute;inset:auto 0 0 21px;height:2px;background:linear-gradient(90deg,#697a55 var(--management-progress,0%),#d5c39f var(--management-progress,0%))}.command-tile-quiet{font:italic 10px Georgia;color:#7a654a;padding:6px 2px}.command-tile-order{display:flex;justify-content:space-between;align-items:center;padding:4px 6px;background:#e4d1a7;font-size:9px}.command-tile-alert{min-height:25px;margin:0;padding:4px 6px;background:#ead0b6;color:#713e2c;font-size:9px;line-height:1.35}.command-person-tile:not(.is-blocked) .command-tile-alert{background:#eadcbf;color:#684e2e}
.command-person-panel{position:sticky;top:10px;min-width:0;margin:12px 12px 12px 0;padding:14px;background:#f7ecd2;border:1px solid #94713e;border-top:5px solid #75552d;box-shadow:0 4px 13px #36230f32}.command-person-panel>header{display:flex;align-items:center;gap:12px;padding-bottom:11px;border-bottom:1px solid #b99d70}.command-person-panel>header img{width:67px;height:86px;object-fit:cover;object-position:top;border:2px double #896b41}.command-person-panel h2{font:26px Georgia;margin:3px 0}.command-person-panel header p{margin:0;font-size:12px}.command-panel-energy{display:flex;align-items:center;gap:9px;padding:10px 0;border-bottom:1px dotted #b9a078}.command-panel-energy .management-icon{width:19px;height:19px;margin:0}.command-panel-energy>div{display:grid;gap:3px;flex:1}.command-panel-energy meter{width:100%;height:9px}.command-panel-channel{position:relative;display:grid;gap:4px;padding:10px 0 12px;border-bottom:1px dotted #baa17a}.command-panel-channel h3,.command-panel-actions h3,.command-panel-orders h3{display:flex;align-items:center;margin:0 0 3px;font:15px Georgia}.command-panel-channel h3 .management-icon{width:17px;height:17px}.command-panel-channel span{font-size:11px;font-variant-numeric:tabular-nums}.command-panel-channel i{inset:auto 0 6px 0;height:3px}.command-panel-blocker{display:grid;gap:3px;margin:10px 0 0;padding:8px 10px;border-left:3px solid #8d4935;background:#eed4b9;font-size:11px}.command-panel-orders{padding:10px 0;border-bottom:1px dotted #baa17a}.command-panel-order{display:grid;gap:3px;padding:6px;background:#eadabd;font-size:10px}.command-panel-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:10px 0}.command-panel-actions h3{grid-column:1/-1}.command-panel-actions button{min-height:34px;padding:5px 7px;font-size:11px}.command-person-panel>footer{display:flex;gap:7px;padding-top:4px}.command-person-panel>footer button{flex:1;font-size:11px}.command-person-panel>.command-order-slot .management-inline{max-height:65vh;overflow:auto;margin-top:10px}
.command-selection-strip{position:sticky;z-index:5;bottom:0;display:flex;align-items:center;gap:9px;padding:10px 16px;background:#4f391f;color:#fff1d2;box-shadow:0 -4px 14px #26190e55}.command-selection-strip span{flex:1;font-size:11px}.command-selection-strip button{min-height:34px;padding:5px 9px}.command-selection-strip button[data-management-clear-selection]{background:transparent;color:#fff1d2}
.bulk-orders{display:grid;gap:14px}.bulk-channel-tabs{display:flex;gap:6px;border-bottom:1px solid #a98b5d;padding-bottom:8px}.bulk-channel-tabs button[aria-pressed=true]{background:#674722;color:#fff5dd}.bulk-order-intro{margin:0!important}.bulk-order-group{min-width:0;border:1px solid #ad9163;background:#f8eed7;padding:12px}.bulk-order-group>header{display:flex;align-items:baseline;justify-content:space-between;gap:10px;border-bottom:1px solid #ccb78f}.bulk-order-group h3{margin:0 0 8px;font-size:17px;letter-spacing:.06em}.bulk-order-group>header span{font-size:12px;color:#6d5434}.bulk-choice-grid{display:flex!important;flex-wrap:wrap;gap:6px!important;border:0!important;padding:8px 0!important;margin:0!important}.bulk-choice-grid legend{font-size:12px;font-weight:bold}.bulk-choice-grid label{margin:0!important}.bulk-choice-grid input{position:absolute;opacity:0;pointer-events:none}.bulk-choice-grid label span{display:block;border:1px solid #a48a5e;background:#eee0bf;padding:7px 10px;cursor:pointer}.bulk-choice-grid input:checked+span{border-color:#5e421f;background:#6c4b24;color:#fff5dd;box-shadow:inset 0 0 0 1px #d5bd85}.bulk-counts{display:flex;gap:18px;font-size:12px;padding:5px 0}.bulk-counts b{color:#315e35}.bulk-counts span{color:#8b392f}.bulk-eligibility{display:flex;flex-wrap:wrap;gap:6px}.bulk-eligibility>span{display:inline-flex;align-items:center;gap:5px;border:1px solid #b9a57f;padding:5px 8px;background:#fff9e9;font-size:12px}.bulk-eligibility .is-eligible b{color:#2f6a39}.bulk-eligibility .is-ineligible b{color:#9a352d}.bulk-eligibility small{color:#7d3c32}.bulk-start-actions{display:flex;gap:8px;margin-top:12px}.bulk-start-actions button{font-weight:bold;letter-spacing:.035em}.management-order-history{margin-top:10px;border-top:1px solid #ad9267}.management-order-history>summary{font-size:12px;font-weight:bold;letter-spacing:.08em}.management-order-history>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.management-order-history .management-plan{margin:0;padding:7px 10px;opacity:.82}.management-plan h3{display:flex;gap:7px;align-items:center}.management-plan-detail{font-size:12px;margin:4px 0}.management-plan li{display:flex;justify-content:space-between;gap:8px}.command-tile-alert{display:flex;gap:5px;align-items:center}.command-tile-alert>b{color:#9a352d}
@media(max-width:1180px){.command-people-layout{grid-template-columns:minmax(0,1fr) 285px}.command-roster{grid-template-columns:repeat(auto-fill,minmax(137px,1fr));gap:7px;padding:9px}.command-person-panel{margin:9px 9px 9px 0}.command-docket>div{grid-template-columns:repeat(2,minmax(0,1fr))}.command-docket-item:nth-child(3){display:none}}
@media(max-width:900px){.command-people-layout{display:flex;flex-direction:column}.command-roster{width:100%;box-sizing:border-box;grid-template-columns:repeat(auto-fill,minmax(142px,1fr))}.command-person-panel:not([aria-label]){display:none}.command-person-panel[aria-label]{position:fixed;z-index:40;inset:auto 10px 10px;max-height:min(72vh,700px);overflow:auto;width:auto;margin:0;box-shadow:0 10px 50px #23180cbf}.command-person-panel>header img{width:58px;height:74px}.command-panel-actions{grid-template-columns:repeat(3,minmax(0,1fr))}.command-panel-close{display:block!important;margin-left:auto;align-self:start;min-width:36px;padding:4px!important;font-size:20px!important}.command-state-filters{flex-wrap:wrap;overflow-x:visible}.command-docket>div{grid-template-columns:1fr}.command-docket-item:nth-child(2){display:none}.command-selection-strip{flex-wrap:wrap}.command-selection-strip span{flex-basis:100%;order:3}}
@media(max-width:600px){.command-docket{margin:10px}.command-docket>header{align-items:start}.command-state-filters{padding-inline:10px}.command-roster{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:7px}.command-person.command-person-tile{padding:6px}.command-tile-select{grid-template-columns:44px minmax(0,1fr)}.command-tile-portrait{width:44px;height:54px}.command-tile-select>strong{font-size:15px}.command-multi-check span{position:absolute;clip:rect(0 0 0 0)}.command-person-panel{margin:7px}.command-panel-actions{grid-template-columns:1fr 1fr}.command-selection-strip button{flex:1 1 130px}.command-selection-strip b{flex:1 1 100%}.bulk-start-actions{display:grid;grid-template-columns:1fr 1fr}.bulk-eligibility>span{flex:1 1 125px}.management-order-history>div{grid-template-columns:1fr}}
@media(max-width:380px){.command-roster{grid-template-columns:1fr}.command-docket>header button{font-size:10px;padding:5px}.command-panel-actions{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.command-center *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
.command-heading-controls{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:7px}.command-center [data-management-reset-orders]{background:transparent;border-color:#8f5b45;color:#6f3828;font-size:11px}.direct-plant-command{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 12px;align-items:end}.direct-plant-command h3,.direct-plant-command>p,.direct-plant-command [data-plan-preview],.direct-plant-command button{grid-column:1/-1}.direct-plant-command label{min-width:0}.direct-plant-command select,.direct-plant-command input{width:100%;max-width:none}.command-panel-order span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.command-plan-strip span{font-variant-numeric:tabular-nums}
@media(max-width:700px){.command-heading-controls{justify-content:flex-start}.direct-plant-command{grid-template-columns:1fr}.direct-plant-command h3,.direct-plant-command>p,.direct-plant-command [data-plan-preview],.direct-plant-command button{grid-column:auto}}
.command-person-panel>footer{display:grid;grid-template-columns:1fr 1fr}.command-person-panel>footer button{flex:none;font-size:10px;padding-inline:5px}
.command-person-tile .command-construction{display:grid;grid-template-columns:16px minmax(0,1fr);gap:1px 4px;padding:4px 5px;font-size:9px}.command-person-tile .command-construction .management-icon{grid-row:1/3;width:14px;height:14px;margin:0}.command-person-tile .command-construction span,.command-person-tile .command-construction b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px}

/* Intent-driven Command Center. One task owns the work surface at a time. */
.command-mode-body{min-width:0}.command-simple-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border-bottom:1px solid #b69764;background:#e7d5b0}.command-simple-summary span{display:flex;align-items:baseline;justify-content:center;gap:7px;padding:13px 8px;border-right:1px dotted #b89b6d;font:11px Georgia;letter-spacing:.04em}.command-simple-summary span:last-child{border-right:0}.command-simple-summary b{font-size:22px;font-weight:normal}.command-simple-summary .is-problem{color:#7d382a;background:#edd1b6}
.command-home{padding:22px}.command-home>h2{margin:0 0 14px;font:22px Georgia;letter-spacing:.08em}.command-mode-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.command-center .command-mode-card{position:relative;display:flex;align-items:center;min-width:0;min-height:112px;padding:16px 18px;text-align:left;border:1px solid #93713f;border-left:5px solid #79552b;background:linear-gradient(135deg,#fff4da,#dbc18f);box-shadow:0 3px 8px #38240f2b}.command-mode-card .management-icon{width:42px;height:42px;margin-right:14px;color:#6f4b23}.command-mode-card span{display:grid;gap:6px;min-width:0}.command-mode-card b{font:21px Georgia;letter-spacing:.05em}.command-mode-card small{font-size:11px;line-height:1.35;color:#644b2f}.command-mode-card em{position:absolute;right:10px;top:9px;display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#8b4130;color:#fff5df;font:bold 11px Georgia}.command-mode-card:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 5px 13px #38240f42}.command-mode-attention{border-left-color:#8b4130!important}.command-mode-farming,.command-mode-livestock{border-left-color:#66754e!important}
.command-home-people{margin-top:22px;border-top:3px double #9c7944;padding-top:14px}.command-home-people>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.command-home-people h2{font:20px Georgia;margin:2px 0}.command-home-people header small{font-size:10px;letter-spacing:.12em}.command-home-people>div{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:7px}.command-center .command-home-person{display:grid;grid-template-columns:40px minmax(0,1fr);grid-template-rows:1fr auto;gap:2px 7px;min-width:0;min-height:70px;padding:6px;text-align:left;background:#f7ead0;border-top:3px solid #887354}.command-home-person img{grid-row:1/3;width:40px;height:54px;object-fit:cover;object-position:top;border:1px solid #967345}.command-home-person span{display:grid;align-self:center;min-width:0}.command-home-person b,.command-home-person small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.command-home-person b{font:14px Georgia}.command-home-person small{font-size:8px}.command-home-person i{font:normal 8px Georgia;color:#6e5638}.command-home-person.is-blocked{border-top-color:#8d4935}.command-home-person.is-ready{border-top-color:#9b671c}.command-home-person.is-working{border-top-color:#667954}.command-home-person.is-studying{border-top-color:#53647c}
.command-intent{padding:18px 20px 24px;min-width:0}.command-intent-title{display:flex;align-items:center;gap:16px;padding-bottom:13px;margin-bottom:14px;border-bottom:3px double #a1814c}.command-intent-title h2{font:27px Georgia;margin:2px 0}.command-intent-title small{font-size:10px;letter-spacing:.13em;color:#775835}.command-intent-title>button{background:transparent;border-style:dashed;white-space:nowrap}.command-status-choices{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:13px}.command-status-choices button[aria-pressed=true]{background:#654824;color:#fff4d7}.command-target-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:8px}.command-target-person{position:relative;display:grid;grid-template-columns:22px 48px minmax(0,1fr);align-items:center;gap:7px;padding:7px;background:#f7ead0;border:1px solid #aa8c5d;border-top:3px solid #8a7658;cursor:pointer;min-width:0}.command-target-person:has(input:checked){outline:3px double #5d421f;background:#fff1cf}.command-target-person input{width:17px;height:17px;margin:0}.command-target-person img{width:48px;height:58px;object-fit:cover;object-position:top;border:1px solid #947246}.command-target-person span{display:grid;gap:2px;min-width:0}.command-target-person b{font:16px Georgia;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.command-target-person small,.command-target-person i{font-size:9px;font-style:normal;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.command-target-person i{color:#6d5336}.command-target-person.is-blocked{border-top-color:#8d4935}.command-target-person.is-ready{border-top-color:#9b671c}.command-intent-next{display:flex;align-items:center;gap:9px;margin-top:14px;padding:11px 13px;background:#4f391f;color:#fff1d2}.command-intent-next b{margin-right:auto}.command-intent-next button{min-width:130px}.command-intent>.command-order-slot>.management-inline{margin-top:15px;background:#ead9b7;border-width:1px 1px 1px 5px}.bulk-command-step{display:flex;align-items:baseline;gap:12px;border-bottom:2px solid #9d7a45;padding-bottom:8px}.bulk-command-step h2{margin:0!important}.bulk-command-step b{margin-left:auto}.bulk-command-step small{font-size:10px;letter-spacing:.1em}
.command-intent-assets{display:grid;gap:13px}.command-intent-card{padding:15px;background:#f8ecd3;border:1px solid #a88a59;box-shadow:0 2px 7px #33210f20}.command-intent-card>header{display:flex;align-items:center;gap:12px;padding-bottom:11px;border-bottom:1px solid #c2a778}.command-intent-card>header>div{flex:1;min-width:0}.command-intent-card h2{font:22px Georgia;margin:0 0 4px}.command-intent-card header small{font-size:11px}.command-asset-numbers{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;margin:12px 0;background:#c2a878}.command-asset-numbers span{display:grid;gap:2px;padding:9px;background:#f5e6c7;text-align:center;font-size:9px}.command-asset-numbers b{font:24px Georgia}.command-asset-numbers .is-ready{background:#eee0b9;color:#6b4b16}.command-primary-actions{display:flex;flex-wrap:wrap;gap:7px}.command-primary-actions button:first-child{background:#654824;color:#fff4d7}.command-routine-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}.command-routine-list>section{display:grid;grid-template-columns:1fr auto;gap:7px;padding:10px;border:1px solid #c1a878;background:#f2e2c2}.command-routine-list h3{grid-column:1/-1;display:flex;align-items:center;margin:0;font:17px Georgia}.command-routine-list span{font-size:11px}.command-routine-list .is-problem{color:#8b392f}.command-routine-list .is-ready{color:#49603f}.command-routine-list .command-actions{grid-column:1/-1}.command-business-card{display:grid;grid-template-columns:45px minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px;background:#f7ead0;border:1px solid #a88a59;border-left:5px solid #66754e}.command-business-card.is-problem{border-left-color:#8b4130}.command-business-card>.management-icon{width:38px;height:38px}.command-business-card h2{font:21px Georgia;margin:0}.command-business-card p{margin:3px 0;font-size:11px}.command-business-card span{font-size:10px;color:#6b5133}.command-business-card.is-problem span{color:#8b392f;font-weight:bold}
.command-task-list{display:grid;gap:8px}.command-task-list .command-issue{grid-template-columns:125px minmax(0,1fr) auto;padding:12px 14px}.command-task-list .command-issue h2{font-size:17px}.command-task-list .command-issue ul{margin:3px 0}.command-task-list .command-order-slot{grid-column:1/-1}.command-utilities{margin:16px 20px 0;border-top:1px dotted #aa8b59;padding-top:9px}.command-utilities summary{display:inline-block;cursor:pointer;font-size:10px;letter-spacing:.1em;color:#76593a}.command-utilities button{margin:8px 6px 0 0;min-height:30px;font-size:10px;background:transparent}.command-people-inspect{padding-inline:12px}.command-people-inspect .command-people-layout{margin-top:0}
@media(max-width:1180px){.command-mode-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.command-home-people>div{grid-template-columns:repeat(5,minmax(0,1fr))}.command-home-person:nth-child(n+6){display:none}.command-routine-list{grid-template-columns:1fr}}
@media(max-width:900px){.command-simple-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.command-simple-summary span:nth-child(4),.command-simple-summary span:nth-child(5){border-top:1px dotted #b89b6d}.command-home{padding:15px}.command-home-people>div{grid-template-columns:repeat(4,minmax(0,1fr))}.command-home-person:nth-child(n+5){display:none}.command-target-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.command-intent-card>header{flex-wrap:wrap}.command-task-list .command-issue{grid-template-columns:105px minmax(0,1fr)}.command-task-list .command-issue>.command-actions{grid-column:2}.command-business-card{grid-template-columns:38px minmax(0,1fr)}.command-business-card>.contextual-link{grid-column:2;justify-self:start}}
@media(max-width:700px){.command-center{border-radius:0}.command-heading{padding:13px}.command-heading h1{font-size:27px}.command-simple-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.command-simple-summary span{padding:9px 5px}.command-simple-summary span:last-child{grid-column:1/-1}.command-home>h2{font-size:18px}.command-mode-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.command-center .command-mode-card{min-height:92px;padding:10px}.command-mode-card .management-icon{width:30px;height:30px;margin-right:8px}.command-mode-card b{font-size:16px}.command-mode-card small{font-size:9px}.command-home-people>div{grid-template-columns:repeat(2,minmax(0,1fr))}.command-home-person:nth-child(n+5){display:none}.command-intent{padding:12px 10px 18px}.command-intent-title{align-items:flex-start}.command-intent-title h2{font-size:22px}.command-target-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.command-target-person{grid-template-columns:18px 40px minmax(0,1fr);padding:5px}.command-target-person img{width:40px;height:50px}.command-target-person b{font-size:14px}.command-intent-next{position:sticky;z-index:5;bottom:0;flex-wrap:wrap}.command-intent-next b{flex:1 1 100%}.command-intent-next button{flex:1;min-width:0}.command-asset-numbers{grid-template-columns:repeat(2,minmax(0,1fr))}.command-routine-list{grid-template-columns:1fr}.command-task-list .command-issue{grid-template-columns:1fr}.command-task-list .command-issue>.command-actions{grid-column:auto}.bulk-command-step{flex-wrap:wrap}.bulk-command-step b{margin-left:0}.command-utilities{margin-inline:10px}}
@media(max-width:420px){.command-mode-card small{display:none}.command-center .command-mode-card{min-height:72px}.command-home-people{margin-top:15px}.command-target-grid{grid-template-columns:1fr}.command-target-person{grid-template-columns:18px 44px minmax(0,1fr)}.command-business-card{grid-template-columns:32px minmax(0,1fr)}}
.command-current-blocker{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px;border-left:4px solid #8b4130;background:#efd6ba;font-size:11px}.command-current-blocker>b{color:#7b3529}.command-current-blocker button{white-space:nowrap}@media(max-width:700px){.command-current-blocker{grid-template-columns:1fr}.command-current-blocker button{justify-self:start}}
