/* Independent high-definition transparent city icon, no paper tile. */
html body.rustic-desktop #accountCityRail #railCityList .rail-city-reference-icon{background:transparent url('/assets/city-gate-hd-v1121.png') center/contain no-repeat!important;width:36px!important;height:40px!important;top:5px!important}
/* Preserve the wood input art without the browser's white focus ring. */
html body.rustic-desktop #cityLower>.panel:last-child #chattext,
html body.rustic-desktop #cityLower>.panel:last-child #chattext:focus,
html body.rustic-desktop #cityLower>.panel:last-child #chattext:focus-visible{outline:none!important;box-shadow:none!important;border:0!important;border-radius:0!important;background-clip:padding-box!important}
/* The bulk action is above, and outside, the bordered construction row. */
html body.rustic-desktop #cityLower :is(#innerInfoDetails,#mapLowerDetail)>.reference-queue-toolbar.reference-queue-instant{position:relative!important;inset:auto!important;display:flex!important;align-items:center!important;gap:6px!important;width:auto!important;height:28px!important;min-height:28px!important;padding:0!important;margin:10px 0 9px 12px!important;border:0!important;background:none!important;box-shadow:none!important;transform:none!important}
html body.rustic-desktop #cityLower #mapLowerDetail>.reference-queue-toolbar.reference-queue-instant{
  align-self:flex-start!important;
  justify-content:flex-start!important;
  flex-shrink:0;
}
html body.rustic-desktop #cityLower :is(#innerInfoDetails,#mapLowerDetail)>.reference-queue-toolbar .tk-voucher-choice{position:static!important;inset:auto!important;margin:0!important;white-space:nowrap!important}
html body.rustic-desktop #cityLower :is(#innerInfoDetails,#mapLowerDetail)>.reference-queue-row,
html body.rustic-desktop #cityLower :is(#innerInfoDetails,#mapLowerDetail)>.reference-queue-row:not(.reference-research-row){grid-template-columns:86px minmax(0,1fr)!important;grid-template-rows:auto!important;min-height:74px!important;row-gap:0!important}
html body.rustic-desktop #cityLower :is(#innerInfoDetails,#mapLowerDetail)>.reference-queue-row>.reference-queue-label{grid-column:1!important;grid-row:1!important;align-self:center!important}
html body.rustic-desktop #cityLower :is(#innerInfoDetails,#mapLowerDetail)>.reference-queue-row>.reference-queue-content,
html body.rustic-desktop #cityLower :is(#innerInfoDetails,#mapLowerDetail)>.reference-queue-row:not(.reference-research-row)>.reference-queue-content{grid-column:2!important;grid-row:1!important;align-self:center!important}
/* Keep tab contents inside the timber frame. */
html body.rustic-desktop #cityLower :is(#innerInfoDetails,#mapLowerDetail,#outerInfoTraining,#outerInfoArmy){padding:14px 16px 12px!important;box-sizing:border-box!important}
/* A label and its complete list always occupy the same grid row. */
html body.rustic-desktop #cityLower :is(#innerInfoDetails,#mapLowerDetail)>.reference-queue-row,
html body.rustic-desktop #cityLower :is(#innerInfoDetails,#mapLowerDetail)>.reference-queue-row:not(.reference-research-row){grid-template-columns:86px minmax(0,1fr)!important;grid-template-rows:auto!important;align-items:center!important;min-height:74px!important}
html body.rustic-desktop #cityLower :is(#innerInfoDetails,#mapLowerDetail)>.reference-queue-row>.reference-queue-label,
html body.rustic-desktop #cityLower :is(#innerInfoDetails,#mapLowerDetail)>.reference-queue-row:not(.reference-research-row)>.reference-queue-label{grid-column:1!important;grid-row:1!important;align-self:center!important;margin:0!important;transform:none!important}
html body.rustic-desktop #cityLower :is(#innerInfoDetails,#mapLowerDetail)>.reference-queue-row>.reference-queue-content,
html body.rustic-desktop #cityLower :is(#innerInfoDetails,#mapLowerDetail)>.reference-queue-row:not(.reference-research-row)>.reference-queue-content{grid-column:2!important;grid-row:1!important;align-self:center!important;min-width:0!important}
html body.rustic-desktop #cityLower>.panel:first-child{overflow:hidden!important}
html body.rustic-desktop #cityLower :is(#cityCatalogInfo,#mapLowerInfo):not([hidden]){display:flex!important;flex-direction:column!important;height:100%!important;min-height:0!important;overflow:hidden!important}
html body.rustic-desktop #cityLower :is(#innerInfoTabs,.map-intel-tabs){flex:0 0 auto!important}
html body.rustic-desktop #cityLower :is(#innerInfoDetails,#mapLowerDetail){flex:1 1 0!important;height:0!important;min-height:0!important;max-height:none!important;overflow-y:auto!important;overflow-x:hidden!important;padding:12px 14px 16px!important;box-sizing:border-box!important}