/* Lords of Conquest v1.8.0 — council worktables. */
.realm-tools{grid-template-columns:repeat(2,minmax(0,1fr))}
.realm-tools #realmHome{grid-column:auto}
.council-launch{width:100%;margin:7px 0;min-height:34px}
#mbox.council-dialog{max-width:1050px}
.council-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0 8px}
.council-tabs .btn{font-size:14px;min-height:37px}
.council-status{min-height:18px;margin:8px 0;color:#34562a;font-size:13px}
.council-status.error{color:#982d22}
.council-notice{padding:9px 12px;border-left:3px solid #a67b2c;background:#ecdbaf;color:#6f4f20;font-size:13px}
.council-goal{display:flex;align-items:center;gap:10px;font-size:13px;margin:10px 0 14px;font-weight:bold;color:#6b4c23}
.council-goal select{max-width:200px}
.council-columns{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:14px;align-items:start}
.council-section{min-width:0;border:1px solid #bda36e;border-radius:4px;padding:13px;background:rgba(255,249,231,.45)}
.council-section h3{margin:0 0 10px;font-size:18px}
.council-field{display:flex;align-items:center;gap:8px;font-size:12px}
.council-field select{flex:1;max-width:320px}
.council-table-wrap{max-width:100%;overflow-x:auto;margin:12px 0}
.trade-draft,.council-stock,.shipment-impact{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums;font-size:13px}
.trade-draft th,.trade-draft td,.council-stock th,.council-stock td,.shipment-impact th,.shipment-impact td{padding:7px 6px;text-align:center;border-bottom:1px solid #cfb98f;vertical-align:middle}
.trade-draft thead th,.council-stock thead th,.shipment-impact thead th{background:#deca9f;color:#654a25;font-size:11px}
.trade-draft th:first-child,.council-stock th:first-child,.shipment-impact th:first-child{text-align:left}
.trade-draft tbody th,.council-stock tbody th,.shipment-impact tbody th{font-weight:normal}
.trade-draft input{width:64px;padding:8px 5px;text-align:center;font-variant-numeric:tabular-nums}
.trade-draft input::-webkit-inner-spin-button{opacity:1}
.trade-draft tbody tr:nth-child(even),.council-stock tbody tr:nth-child(even),.shipment-impact tbody tr:nth-child(even){background:rgba(255,253,242,.3)}
.trade-verdict{padding:8px 10px;border:1px solid #c4b181;border-radius:3px;background:#f4e8c9;font-size:13px;font-weight:bold}
.partner-stock{margin:10px 0;border-top:1px solid #cbb387;padding-top:9px}
.partner-stock summary{cursor:pointer;font-size:12px;color:#6b4c23;line-height:1.5}
.council-positive{color:#345c2b}.council-negative{color:#942f22}
.council-outlook{padding:9px 11px;border-left:3px solid #a87c29;background:#eddfbb;margin:10px 0}
.council-outlook span{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:#795b2e}
.council-outlook b{display:block;margin-top:4px;font-size:13px;line-height:1.5;font-weight:600}
.council-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}
.council-commit{background:linear-gradient(#b8822e,#8a5a18);color:#fff6df;border-color:#5a3a0e}
.council-commit:hover{background:linear-gradient(#cc9238,#9a661c)}
.council-commit:disabled{cursor:not-allowed;opacity:.5}
.council-suggestion{padding:10px;border:1px solid #c2a977;border-radius:3px;background:#f5e8c9;margin:9px 0}
.council-suggestion>b{font-size:14px;color:#5c3e1b}
.council-suggestion p{font-size:12px;margin:6px 0}
.council-suggestion>span{display:block;color:#5d653d;line-height:1.4}
.council-suggestion .btn{margin-top:8px;font-size:12px;width:100%}
.council-empty{border:1px dashed #c3aa78;border-radius:3px;background:rgba(255,253,239,.35);padding:13px;color:#765a34;font-size:13px;line-height:1.5}
.council-market{margin-top:14px}
.market-fields{display:grid;grid-template-columns:1fr 1fr minmax(150px,1.2fr);align-items:end;gap:12px}
.market-fields label,.shipment-fields label{display:flex;flex-direction:column;gap:5px;min-width:0;font-size:12px;font-weight:600;color:#755427}
.market-quota{font-size:12px;line-height:1.5;padding-bottom:6px;color:#71572e}
.market-quote{font-size:15px}
#marketPreview{max-width:650px}
.market-suggestions{display:flex;gap:7px;flex-wrap:wrap;align-items:center;border-top:1px solid #cbb387;padding-top:12px;margin-top:13px}
.market-suggestions .btn{font-size:12px}
.diplomacy-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0}
.diplomacy-house h3{font-size:17px;font-variant:normal;overflow-wrap:anywhere}
.diplomacy-house .council-commit{width:100%;font-size:12px}
.diplomacy-status{padding:8px;background:#ecdbc0;border:1px solid #c3a178;border-radius:3px;font-size:12px;font-weight:bold;color:#81512c}
.diplomacy-status.peace{background:#e2e6c6;border-color:#a6b183;color:#476035}
.shipment-fields{display:grid;grid-template-columns:minmax(90px,.7fr) 1.4fr 1.4fr;gap:12px;margin:14px 0}
.shipment-detail{margin-top:14px}
.shipment-route{display:flex;flex-wrap:wrap;align-items:center;gap:6px;list-style:none;padding:9px 10px;background:#ead9ae;border:1px solid #c5a770;border-radius:4px}
.shipment-route li{font-size:12px;line-height:1.8;color:#59401d}
.shipment-route span{margin-left:5px;color:#8d672c;font-weight:bold}
.shipment-network{padding:9px 11px;background:#f6eacf;border-left:3px solid #9d8249;font-size:13px}
.shipment-impact{table-layout:fixed}
.shipment-impact th:first-child{width:40%}
.shipment-impact td{white-space:nowrap}
@media(max-width:1000px){
  .realm-tools{grid-template-columns:repeat(2,minmax(0,1fr))}
  .council-columns{grid-template-columns:minmax(0,1fr)}
  #tradeSuggestions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .council-suggestion{margin:0}
  .diplomacy-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
  .realm-tools{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}
  .realm-tools .btn{font-size:11px;min-height:40px}
  #top .hbtns #bLoad{font-size:10px}
  #mbox.council-dialog{padding:14px 10px}
  .council-tabs{gap:5px;margin-top:11px}
  .council-tabs .btn{min-width:0;padding:6px 4px;font-size:11px;line-height:1.3}
  .council-status{font-size:12px}
  .council-goal{gap:8px;justify-content:space-between}
  .council-goal select{max-width:120px}
  .council-section{padding:10px}
  .council-section h3{font-size:16px}
  .trade-draft th,.trade-draft td{padding:6px 2px;font-size:11px}
  .trade-draft thead th{font-size:9.5px}
  .trade-draft input{width:48px;padding:7px 2px;font-size:14px;min-height:40px}
  .trade-draft .ico{display:none}
  .council-stock th,.council-stock td,.shipment-impact th,.shipment-impact td{padding:7px 3px;font-size:11px}
  .council-actions .btn{flex:1;min-width:0;font-size:12px}
  #tradeSuggestions{grid-template-columns:minmax(0,1fr)}
  .market-fields{grid-template-columns:1fr 1fr;gap:9px}
  .market-quota{grid-column:1/-1;padding-bottom:0}
  .market-suggestions{align-items:stretch;flex-direction:column}
  .diplomacy-grid{grid-template-columns:minmax(0,1fr)}
  .shipment-fields{grid-template-columns:minmax(0,1fr)}
  .shipment-impact th:first-child{width:37%}
  .shipment-impact thead th{font-size:9.5px}
  .council-launch{min-height:40px}
}
